@ai-matrx/records 0.58.2 → 0.58.6

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.
@@ -104,6 +104,11 @@ declare const DECLARABLE_FIELD_KINDS: readonly [{
104
104
  readonly behavior: "text";
105
105
  readonly parity: true;
106
106
  readonly made_of: "text whose format is email";
107
+ }, {
108
+ readonly kind: "entity_reference";
109
+ readonly behavior: "relation";
110
+ readonly parity: false;
111
+ readonly made_of: "SC-R / P12: a relation whose target mode is any (REL-8), restricted by config.allowed_types to the platform kinds it may name (custom.entity_reference_kinds() — agents, notes, web sites, workbooks, datasets, conversations …); each value is {token, id}, the edge a platform.associations row record → <token>. File and Person stay relations to their kernel Tables";
107
112
  }, {
108
113
  readonly kind: "formula";
109
114
  readonly behavior: "formula";
@@ -467,6 +472,11 @@ declare const STORE_DOORS: readonly [{
467
472
  readonly args: "p_key text";
468
473
  readonly returns: "text";
469
474
  readonly security: "invoker";
475
+ }, {
476
+ readonly name: "agg_bucket_ordinal";
477
+ readonly args: "p_by text, p_window_from timestamp without time zone, p_at timestamp without time zone, p_week_start text";
478
+ readonly returns: "integer";
479
+ readonly security: "invoker";
470
480
  }, {
471
481
  readonly name: "agg_buckets";
472
482
  readonly args: "";
@@ -477,6 +487,21 @@ declare const STORE_DOORS: readonly [{
477
487
  readonly args: "p_cadence text";
478
488
  readonly returns: "text";
479
489
  readonly security: "invoker";
490
+ }, {
491
+ readonly name: "agg_calendar";
492
+ readonly args: "p_organization_id uuid";
493
+ readonly returns: "jsonb";
494
+ readonly security: "invoker";
495
+ }, {
496
+ readonly name: "agg_compare_kinds";
497
+ readonly args: "";
498
+ readonly returns: "text[]";
499
+ readonly security: "invoker";
500
+ }, {
501
+ readonly name: "agg_compare_windows";
502
+ readonly args: "p_organization_id uuid, p_compare jsonb, p_bucket jsonb DEFAULT NULL::jsonb";
503
+ readonly returns: "jsonb";
504
+ readonly security: "invoker";
480
505
  }, {
481
506
  readonly name: "agg_deliver";
482
507
  readonly args: "p_organization_id uuid, p_rule_id uuid, p_record_id uuid, p_channel text, p_recipient_user_id uuid, p_event_key text, p_subject text, p_body text, p_payload jsonb DEFAULT '{}'::jsonb, p_dedupe_suffix text DEFAULT NULL::text";
@@ -487,6 +512,11 @@ declare const STORE_DOORS: readonly [{
487
512
  readonly args: "p_organization_id uuid, p_rule_id uuid, p_subject_id uuid, p_channel text, p_recipient_user_id uuid, p_event_key text, p_subject text, p_body text, p_payload jsonb, p_quiet_hours jsonb, p_link text, p_dedupe_suffix text DEFAULT NULL::text";
488
513
  readonly returns: "uuid";
489
514
  readonly security: "invoker";
515
+ }, {
516
+ readonly name: "agg_delta";
517
+ readonly args: "p_current jsonb, p_prior jsonb";
518
+ readonly returns: "jsonb";
519
+ readonly security: "invoker";
490
520
  }, {
491
521
  readonly name: "agg_digest_assemble";
492
522
  readonly args: "p_organization_id uuid, p_rule_id uuid, p_since timestamp with time zone DEFAULT NULL::timestamp with time zone, p_until timestamp with time zone DEFAULT NULL::timestamp with time zone";
@@ -497,31 +527,76 @@ declare const STORE_DOORS: readonly [{
497
527
  readonly args: "p_cadence text, p_schedule text, p_quiet jsonb, p_after timestamp with time zone";
498
528
  readonly returns: "timestamp with time zone";
499
529
  readonly security: "invoker";
530
+ }, {
531
+ readonly name: "agg_digest_judged_at";
532
+ readonly args: "p_organization_id uuid, p_rule_id uuid";
533
+ readonly returns: "timestamp with time zone";
534
+ readonly security: "invoker";
500
535
  }, {
501
536
  readonly name: "agg_digest_run";
502
537
  readonly args: "p_organization_id uuid, p_rule_id uuid DEFAULT NULL::uuid, p_since timestamp with time zone DEFAULT NULL::timestamp with time zone";
503
538
  readonly returns: "integer";
504
539
  readonly security: "invoker";
540
+ }, {
541
+ readonly name: "agg_digest_run_at";
542
+ readonly args: "p_organization_id uuid, p_rule_id uuid, p_since timestamp with time zone, p_now timestamp with time zone";
543
+ readonly returns: "integer";
544
+ readonly security: "invoker";
505
545
  }, {
506
546
  readonly name: "agg_digest_tick";
507
547
  readonly args: "";
508
548
  readonly returns: "integer";
509
549
  readonly security: "invoker";
550
+ }, {
551
+ readonly name: "agg_digest_tick_at";
552
+ readonly args: "p_now timestamp with time zone, p_organization_id uuid DEFAULT NULL::uuid";
553
+ readonly returns: "integer";
554
+ readonly security: "invoker";
510
555
  }, {
511
556
  readonly name: "agg_explain";
512
557
  readonly args: "p_organization_id uuid, p_table_id uuid, p_group_by jsonb DEFAULT '[]'::jsonb, p_measures jsonb DEFAULT '[]'::jsonb, p_bucket jsonb DEFAULT NULL::jsonb, p_filter jsonb DEFAULT '{}'::jsonb, p_required text DEFAULT 'viewer'::text";
513
558
  readonly returns: "jsonb";
514
559
  readonly security: "definer";
560
+ }, {
561
+ readonly name: "agg_fields_readable_assert";
562
+ readonly args: "p_organization_id uuid, p_table_id uuid, p_keys text[], p_required text DEFAULT 'viewer'::text";
563
+ readonly returns: "void";
564
+ readonly security: "invoker";
515
565
  }, {
516
566
  readonly name: "agg_last_digest_at";
517
567
  readonly args: "p_organization_id uuid, p_rule_id uuid";
518
568
  readonly returns: "timestamp with time zone";
519
569
  readonly security: "invoker";
570
+ }, {
571
+ readonly name: "agg_local_label";
572
+ readonly args: "p_local timestamp without time zone, p_tz text";
573
+ readonly returns: "text";
574
+ readonly security: "invoker";
575
+ }, {
576
+ readonly name: "agg_moment_sql";
577
+ readonly args: "p_key text, p_tz text";
578
+ readonly returns: "text";
579
+ readonly security: "invoker";
520
580
  }, {
521
581
  readonly name: "agg_operations";
522
582
  readonly args: "";
523
583
  readonly returns: "text[]";
524
584
  readonly security: "invoker";
585
+ }, {
586
+ readonly name: "agg_parse_moment";
587
+ readonly args: "p_raw text, p_tz text, p_what text";
588
+ readonly returns: "timestamp with time zone";
589
+ readonly security: "invoker";
590
+ }, {
591
+ readonly name: "agg_period_start";
592
+ readonly args: "p_local timestamp without time zone, p_by text, p_week_start text DEFAULT 'monday'::text";
593
+ readonly returns: "timestamp without time zone";
594
+ readonly security: "invoker";
595
+ }, {
596
+ readonly name: "agg_period_step";
597
+ readonly args: "p_by text";
598
+ readonly returns: "interval";
599
+ readonly security: "invoker";
525
600
  }, {
526
601
  readonly name: "agg_quiet_until";
527
602
  readonly args: "p_quiet jsonb, p_at timestamp with time zone";
@@ -534,7 +609,7 @@ declare const STORE_DOORS: readonly [{
534
609
  readonly security: "invoker";
535
610
  }, {
536
611
  readonly name: "agg_sql";
537
- readonly args: "p_organization_id uuid, p_table_id uuid, p_group_by jsonb DEFAULT '[]'::jsonb, p_measures jsonb DEFAULT '[]'::jsonb, p_bucket jsonb DEFAULT NULL::jsonb, p_filter jsonb DEFAULT '{}'::jsonb, p_limit integer DEFAULT 200, p_required text DEFAULT 'viewer'::text";
612
+ readonly args: "p_organization_id uuid, p_table_id uuid, p_group_by jsonb DEFAULT '[]'::jsonb, p_measures jsonb DEFAULT '[]'::jsonb, p_bucket jsonb DEFAULT NULL::jsonb, p_filter jsonb DEFAULT '{}'::jsonb, p_limit integer DEFAULT 200, p_required text DEFAULT 'viewer'::text, p_window jsonb DEFAULT NULL::jsonb";
538
613
  readonly returns: "text";
539
614
  readonly security: "invoker";
540
615
  }, {
@@ -577,6 +652,11 @@ declare const STORE_DOORS: readonly [{
577
652
  readonly args: "p_definition jsonb, p_state jsonb";
578
653
  readonly returns: "boolean";
579
654
  readonly security: "invoker";
655
+ }, {
656
+ readonly name: "agg_zero";
657
+ readonly args: "p_measures jsonb";
658
+ readonly returns: "jsonb";
659
+ readonly security: "invoker";
580
660
  }, {
581
661
  readonly name: "anon_capture";
582
662
  readonly args: "p_organization_id uuid, p_client_key text, p_table_id uuid, p_payload jsonb, p_device text DEFAULT NULL::text, p_captured_at timestamp with time zone DEFAULT NULL::timestamp with time zone";
@@ -632,6 +712,11 @@ declare const STORE_DOORS: readonly [{
632
712
  readonly args: "p_organization_id uuid, p_table_id uuid, p_record_type text DEFAULT NULL::text";
633
713
  readonly returns: "SETOF custom.record";
634
714
  readonly security: "definer";
715
+ }, {
716
+ readonly name: "archive_event_of";
717
+ readonly args: "p_organization_id uuid, p_record_id uuid";
718
+ readonly returns: "history.migration_log";
719
+ readonly security: "definer";
635
720
  }, {
636
721
  readonly name: "assert_client_may_change";
637
722
  readonly args: "p_organization_id uuid, p_subject_id uuid, p_door text, p_required permission_level DEFAULT 'editor'::permission_level, p_subject_word text DEFAULT 'record'::text";
@@ -957,11 +1042,31 @@ declare const STORE_DOORS: readonly [{
957
1042
  readonly args: "p_data jsonb";
958
1043
  readonly returns: "uuid";
959
1044
  readonly security: "invoker";
1045
+ }, {
1046
+ readonly name: "context_compare_facts";
1047
+ readonly args: "p_user_id uuid, p_record_ids uuid[], p_item_ids uuid[] DEFAULT NULL::uuid[], p_cells jsonb DEFAULT NULL::jsonb";
1048
+ readonly returns: "jsonb";
1049
+ readonly security: "definer";
1050
+ }, {
1051
+ readonly name: "context_policy_rank";
1052
+ readonly args: "p_policy text";
1053
+ readonly returns: "integer";
1054
+ readonly security: "invoker";
1055
+ }, {
1056
+ readonly name: "context_resolve";
1057
+ readonly args: "p_bindings jsonb";
1058
+ readonly returns: "jsonb";
1059
+ readonly security: "definer";
960
1060
  }, {
961
1061
  readonly name: "context_resolve";
962
1062
  readonly args: "p_organization_id uuid, p_bindings jsonb, p_scope_slug text DEFAULT 'scopes'::text";
963
1063
  readonly returns: "jsonb";
964
1064
  readonly security: "definer";
1065
+ }, {
1066
+ readonly name: "context_tag_copy";
1067
+ readonly args: "p_organization_id uuid";
1068
+ readonly returns: "jsonb";
1069
+ readonly security: "definer";
965
1070
  }, {
966
1071
  readonly name: "conversation_scope";
967
1072
  readonly args: "p_organization_id uuid, p_conversation_id uuid";
@@ -1029,7 +1134,7 @@ declare const STORE_DOORS: readonly [{
1029
1134
  readonly security: "invoker";
1030
1135
  }, {
1031
1136
  readonly name: "dashboard_run";
1032
- readonly args: "p_organization_id uuid, p_dashboard_id uuid, p_filter jsonb DEFAULT '{}'::jsonb";
1137
+ readonly args: "p_organization_id uuid, p_dashboard_id uuid, p_filter jsonb DEFAULT '{}'::jsonb, p_compare jsonb DEFAULT NULL::jsonb, p_grain text DEFAULT NULL::text";
1033
1138
  readonly returns: "jsonb";
1034
1139
  readonly security: "definer";
1035
1140
  }, {
@@ -1037,6 +1142,11 @@ declare const STORE_DOORS: readonly [{
1037
1142
  readonly args: "p_organization_id uuid, p_table_id uuid, p_state_key text, p_days integer DEFAULT 14, p_filter jsonb DEFAULT '{}'::jsonb, p_limit integer DEFAULT 50, p_required text DEFAULT 'viewer'::text";
1038
1143
  readonly returns: "TABLE(record_id uuid, title text, state text, last_changed_at timestamp with time zone, days_unchanged numeric, measured_from text)";
1039
1144
  readonly security: "definer";
1145
+ }, {
1146
+ readonly name: "dashboard_target_field_assert";
1147
+ readonly args: "p_organization_id uuid, p_table_id uuid, p_field_key text";
1148
+ readonly returns: "void";
1149
+ readonly security: "invoker";
1040
1150
  }, {
1041
1151
  readonly name: "dashboard_window_sql";
1042
1152
  readonly args: "p_key text, p_window jsonb";
@@ -1342,6 +1452,26 @@ declare const STORE_DOORS: readonly [{
1342
1452
  readonly args: "p_organization_id uuid, p_token text, p_key text, p_value jsonb DEFAULT NULL::jsonb, p_limit integer DEFAULT 50, p_offset integer DEFAULT 0";
1343
1453
  readonly returns: "jsonb";
1344
1454
  readonly security: "invoker";
1455
+ }, {
1456
+ readonly name: "entity_reference_fields";
1457
+ readonly args: "p_organization_id uuid, p_table_id uuid";
1458
+ readonly returns: "jsonb";
1459
+ readonly security: "invoker";
1460
+ }, {
1461
+ readonly name: "entity_reference_kinds";
1462
+ readonly args: "";
1463
+ readonly returns: "TABLE(token text, label text, category text)";
1464
+ readonly security: "definer";
1465
+ }, {
1466
+ readonly name: "entity_reference_render";
1467
+ readonly args: "p_organization_id uuid, p_table_id uuid, p_doc jsonb";
1468
+ readonly returns: "jsonb";
1469
+ readonly security: "invoker";
1470
+ }, {
1471
+ readonly name: "entity_reference_words";
1472
+ readonly args: "p_organization_id uuid, p_refs jsonb";
1473
+ readonly returns: "jsonb";
1474
+ readonly security: "definer";
1345
1475
  }, {
1346
1476
  readonly name: "entity_table";
1347
1477
  readonly args: "p_token text";
@@ -1402,11 +1532,26 @@ declare const STORE_DOORS: readonly [{
1402
1532
  readonly args: "p_organization_id uuid, p_source_id uuid, p_enabled boolean";
1403
1533
  readonly returns: "boolean";
1404
1534
  readonly security: "definer";
1535
+ }, {
1536
+ readonly name: "far_value";
1537
+ readonly args: "p_organization_id uuid, p_record_id uuid, p_key text, p_reader jsonb";
1538
+ readonly returns: "jsonb";
1539
+ readonly security: "invoker";
1405
1540
  }, {
1406
1541
  readonly name: "field_behaviour";
1407
1542
  readonly args: "p_field_data jsonb";
1408
1543
  readonly returns: "text";
1409
1544
  readonly security: "invoker";
1545
+ }, {
1546
+ readonly name: "field_context_policy_floor";
1547
+ readonly args: "p_organization_id uuid, p_field_data jsonb, p_self uuid DEFAULT NULL::uuid";
1548
+ readonly returns: "TABLE(context_policy text, reads jsonb)";
1549
+ readonly security: "definer";
1550
+ }, {
1551
+ readonly name: "field_cycle";
1552
+ readonly args: "p_organization_id uuid, p_field_data jsonb, p_self uuid";
1553
+ readonly returns: "text[]";
1554
+ readonly security: "definer";
1410
1555
  }, {
1411
1556
  readonly name: "field_declare";
1412
1557
  readonly args: "p_organization_id uuid, p_table_id uuid, p_spec jsonb";
@@ -1422,6 +1567,16 @@ declare const STORE_DOORS: readonly [{
1422
1567
  readonly args: "p_organization_id uuid, p_table_id uuid, p_field_key text, p_limit integer DEFAULT 100, p_offset integer DEFAULT 0, p_record_id uuid DEFAULT NULL::uuid";
1423
1568
  readonly returns: "TABLE(record_id uuid, record_title text, version integer, occurred_at timestamp with time zone, operation_label text, actor jsonb, before jsonb, after jsonb)";
1424
1569
  readonly security: "definer";
1570
+ }, {
1571
+ readonly name: "field_input_closure";
1572
+ readonly args: "p_organization_id uuid, p_field_data jsonb, p_self uuid DEFAULT NULL::uuid";
1573
+ readonly returns: "TABLE(input_id uuid, input_key text, input_label text, input_table uuid, sensitivity text, retired boolean, depth integer)";
1574
+ readonly security: "definer";
1575
+ }, {
1576
+ readonly name: "field_inputs_of";
1577
+ readonly args: "p_organization_id uuid, p_field_data jsonb";
1578
+ readonly returns: "TABLE(input_id uuid, input_key text, input_label text, input_table uuid, sensitivity text, retired boolean, how text)";
1579
+ readonly security: "definer";
1425
1580
  }, {
1426
1581
  readonly name: "field_kernel_id";
1427
1582
  readonly args: "";
@@ -1447,6 +1602,11 @@ declare const STORE_DOORS: readonly [{
1447
1602
  readonly args: "p_field_data jsonb";
1448
1603
  readonly returns: "TABLE(kind text, spec jsonb)";
1449
1604
  readonly security: "invoker";
1605
+ }, {
1606
+ readonly name: "field_sensitivity_floor";
1607
+ readonly args: "p_organization_id uuid, p_field_data jsonb, p_self uuid DEFAULT NULL::uuid";
1608
+ readonly returns: "TABLE(sensitivity text, reads jsonb)";
1609
+ readonly security: "definer";
1450
1610
  }, {
1451
1611
  readonly name: "field_update";
1452
1612
  readonly args: "p_organization_id uuid, p_field_id uuid, p_patch jsonb";
@@ -1467,21 +1627,56 @@ declare const STORE_DOORS: readonly [{
1467
1627
  readonly args: "";
1468
1628
  readonly returns: "uuid";
1469
1629
  readonly security: "invoker";
1630
+ }, {
1631
+ readonly name: "filter_is_rule";
1632
+ readonly args: "p_filter jsonb";
1633
+ readonly returns: "boolean";
1634
+ readonly security: "invoker";
1470
1635
  }, {
1471
1636
  readonly name: "form_declare";
1472
1637
  readonly args: "p_organization_id uuid, p_table_id uuid, p_title text, p_questions jsonb, p_presentation jsonb DEFAULT '{}'::jsonb, p_submission_cap integer DEFAULT NULL::integer, p_quarantine_rule_id uuid DEFAULT NULL::uuid, p_notify_rule_id uuid DEFAULT NULL::uuid, p_form_id uuid DEFAULT NULL::uuid, p_slug text DEFAULT NULL::text";
1473
1638
  readonly returns: "uuid";
1474
1639
  readonly security: "definer";
1640
+ }, {
1641
+ readonly name: "form_draft_read";
1642
+ readonly args: "p_form_id uuid, p_secret text";
1643
+ readonly returns: "TABLE(answers jsonb, saved_at timestamp with time zone, expires_at timestamp with time zone, state text, message text)";
1644
+ readonly security: "definer";
1645
+ }, {
1646
+ readonly name: "form_draft_save";
1647
+ readonly args: "p_form_id uuid, p_answers jsonb, p_secret text DEFAULT NULL::text, p_bucket text DEFAULT NULL::text, p_origin text DEFAULT NULL::text";
1648
+ readonly returns: "TABLE(draft_secret text, saved_at timestamp with time zone, expires_at timestamp with time zone, state text, message text)";
1649
+ readonly security: "definer";
1475
1650
  }, {
1476
1651
  readonly name: "form_notify";
1477
1652
  readonly args: "p_organization_id uuid, p_form_id uuid, p_record_id uuid, p_submission_id uuid";
1478
1653
  readonly returns: "uuid";
1479
1654
  readonly security: "invoker";
1655
+ }, {
1656
+ readonly name: "form_preview_asks";
1657
+ readonly args: "p_organization_id uuid, p_table_id uuid, p_questions jsonb, p_values jsonb";
1658
+ readonly returns: "TABLE(field_key text, asked boolean, decided boolean, said text)";
1659
+ readonly security: "definer";
1480
1660
  }, {
1481
1661
  readonly name: "form_public";
1482
1662
  readonly args: "p_form_id uuid";
1483
1663
  readonly returns: "TABLE(form_id uuid, organization_id uuid, table_id uuid, title text, presentation jsonb, fields jsonb, honeypot_key text, state text, message text)";
1484
1664
  readonly security: "definer";
1665
+ }, {
1666
+ readonly name: "form_public_asks";
1667
+ readonly args: "p_form_id uuid, p_values jsonb, p_secret text DEFAULT NULL::text, p_origin text DEFAULT NULL::text";
1668
+ readonly returns: "TABLE(field_key text, asked boolean, decided boolean, said text)";
1669
+ readonly security: "definer";
1670
+ }, {
1671
+ readonly name: "form_redirect_domains";
1672
+ readonly args: "p_organization_id uuid";
1673
+ readonly returns: "text[]";
1674
+ readonly security: "invoker";
1675
+ }, {
1676
+ readonly name: "form_redirect_refusal";
1677
+ readonly args: "p_organization_id uuid, p_url text";
1678
+ readonly returns: "text";
1679
+ readonly security: "invoker";
1485
1680
  }, {
1486
1681
  readonly name: "form_slug";
1487
1682
  readonly args: "p_organization_id uuid, p_title text, p_form_id uuid DEFAULT NULL::uuid";
@@ -1642,6 +1837,36 @@ declare const STORE_DOORS: readonly [{
1642
1837
  readonly args: "p_organization_id uuid, p_inbound_id uuid, p_enabled boolean";
1643
1838
  readonly returns: "jsonb";
1644
1839
  readonly security: "definer";
1840
+ }, {
1841
+ readonly name: "inbox_clear";
1842
+ readonly args: "p_organization_id uuid, p_item_id uuid";
1843
+ readonly returns: "jsonb";
1844
+ readonly security: "definer";
1845
+ }, {
1846
+ readonly name: "inbox_counts";
1847
+ readonly args: "p_organization_id uuid DEFAULT NULL::uuid";
1848
+ readonly returns: "TABLE(organization_id uuid, organization_name text, waiting integer, snoozed integer, cleared integer, overdue integer, oldest_waiting_at timestamp with time zone)";
1849
+ readonly security: "definer";
1850
+ }, {
1851
+ readonly name: "inbox_remind_tick";
1852
+ readonly args: "";
1853
+ readonly returns: "jsonb";
1854
+ readonly security: "invoker";
1855
+ }, {
1856
+ readonly name: "inbox_snooze";
1857
+ readonly args: "p_organization_id uuid, p_item_id uuid, p_until timestamp with time zone";
1858
+ readonly returns: "jsonb";
1859
+ readonly security: "definer";
1860
+ }, {
1861
+ readonly name: "inbox_unclear";
1862
+ readonly args: "p_organization_id uuid, p_item_id uuid";
1863
+ readonly returns: "jsonb";
1864
+ readonly security: "definer";
1865
+ }, {
1866
+ readonly name: "inbox_unsnooze";
1867
+ readonly args: "p_organization_id uuid, p_item_id uuid";
1868
+ readonly returns: "jsonb";
1869
+ readonly security: "definer";
1645
1870
  }, {
1646
1871
  readonly name: "index_payload";
1647
1872
  readonly args: "p_organization_id uuid, p_table_id uuid, p_limit integer DEFAULT 1000";
@@ -2017,6 +2242,11 @@ declare const STORE_DOORS: readonly [{
2017
2242
  readonly args: "p_organization_id uuid";
2018
2243
  readonly returns: "jsonb";
2019
2244
  readonly security: "definer";
2245
+ }, {
2246
+ readonly name: "organization_home_id";
2247
+ readonly args: "p_organization_id uuid";
2248
+ readonly returns: "uuid";
2249
+ readonly security: "invoker";
2020
2250
  }, {
2021
2251
  readonly name: "organization_kernel_id";
2022
2252
  readonly args: "";
@@ -2102,6 +2332,11 @@ declare const STORE_DOORS: readonly [{
2102
2332
  readonly args: "p_organization_id uuid, p_table_id uuid, p_measure text DEFAULT NULL::text";
2103
2333
  readonly returns: "TABLE(stage_key text, stage_label text, stage_position integer, cards bigint, total numeric, wip_limit integer, over_limit boolean)";
2104
2334
  readonly security: "definer";
2335
+ }, {
2336
+ readonly name: "pipeline_board";
2337
+ readonly args: "p_organization_id uuid, p_table_id uuid, p_measure text, p_filter jsonb";
2338
+ readonly returns: "TABLE(stage_key text, stage_label text, stage_position integer, cards bigint, total numeric, wip_limit integer, over_limit boolean)";
2339
+ readonly security: "definer";
2105
2340
  }, {
2106
2341
  readonly name: "pipeline_declare";
2107
2342
  readonly args: "p_organization_id uuid, p_table_id uuid, p_spec jsonb";
@@ -2117,6 +2352,11 @@ declare const STORE_DOORS: readonly [{
2117
2352
  readonly args: "p_organization_id uuid, p_record_id uuid, p_to text, p_also jsonb DEFAULT '{}'::jsonb, p_expected_version integer DEFAULT NULL::integer";
2118
2353
  readonly returns: "jsonb";
2119
2354
  readonly security: "definer";
2355
+ }, {
2356
+ readonly name: "pipeline_move_many";
2357
+ readonly args: "p_organization_id uuid, p_moves jsonb";
2358
+ readonly returns: "jsonb";
2359
+ readonly security: "definer";
2120
2360
  }, {
2121
2361
  readonly name: "pipeline_pending";
2122
2362
  readonly args: "p_organization_id uuid, p_table_id uuid";
@@ -2137,6 +2377,16 @@ declare const STORE_DOORS: readonly [{
2137
2377
  readonly args: "p_organization_id uuid";
2138
2378
  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
2379
  readonly security: "definer";
2380
+ }, {
2381
+ readonly name: "plural_of";
2382
+ readonly args: "p_word text";
2383
+ readonly returns: "text";
2384
+ readonly security: "invoker";
2385
+ }, {
2386
+ readonly name: "portal_accents";
2387
+ readonly args: "";
2388
+ readonly returns: "text[]";
2389
+ readonly security: "invoker";
2140
2390
  }, {
2141
2391
  readonly name: "portal_admits";
2142
2392
  readonly args: "p_organization_id uuid, p_user_id uuid DEFAULT NULL::uuid";
@@ -2154,7 +2404,7 @@ declare const STORE_DOORS: readonly [{
2154
2404
  readonly security: "definer";
2155
2405
  }, {
2156
2406
  readonly name: "portal_declare";
2157
- readonly args: "p_organization_id uuid, p_title text, p_client_table_id uuid, p_tables jsonb, p_portal_id uuid DEFAULT NULL::uuid, p_slug text DEFAULT NULL::text, p_sign_in_method text DEFAULT 'magic_link'::text";
2407
+ readonly args: "p_organization_id uuid, p_title text, p_client_table_id uuid, p_tables jsonb, p_portal_id uuid DEFAULT NULL::uuid, p_slug text DEFAULT NULL::text, p_sign_in_method text DEFAULT 'magic_link'::text, p_config jsonb DEFAULT NULL::jsonb";
2158
2408
  readonly returns: "uuid";
2159
2409
  readonly security: "definer";
2160
2410
  }, {
@@ -2162,6 +2412,16 @@ declare const STORE_DOORS: readonly [{
2162
2412
  readonly args: "p_organization_id uuid, p_table_id uuid";
2163
2413
  readonly returns: "TABLE(field_id uuid, field_key text, field_type text, points_at uuid)";
2164
2414
  readonly security: "definer";
2415
+ }, {
2416
+ readonly name: "portal_form";
2417
+ readonly args: "p_organization_id uuid, p_portal_id uuid, p_form_id uuid";
2418
+ readonly returns: "jsonb";
2419
+ readonly security: "definer";
2420
+ }, {
2421
+ readonly name: "portal_form_submit";
2422
+ readonly args: "p_organization_id uuid, p_portal_id uuid, p_form_id uuid, p_payload jsonb, p_client_key text DEFAULT NULL::text";
2423
+ readonly returns: "jsonb";
2424
+ readonly security: "definer";
2165
2425
  }, {
2166
2426
  readonly name: "portal_invitation";
2167
2427
  readonly args: "p_slug text, p_email text";
@@ -2452,6 +2712,11 @@ declare const STORE_DOORS: readonly [{
2452
2712
  readonly args: "p_organization_id uuid, p_table_id uuid, p_record_ids uuid[], p_by_id boolean DEFAULT false";
2453
2713
  readonly returns: "TABLE(id uuid, document jsonb, level permission_level)";
2454
2714
  readonly security: "definer";
2715
+ }, {
2716
+ readonly name: "read_records_in_view_order";
2717
+ readonly args: "p_organization_id uuid, p_view_id uuid, p_by_id boolean DEFAULT false, p_limit integer DEFAULT 200, p_offset integer DEFAULT 0";
2718
+ readonly returns: "TABLE(id uuid, document jsonb, level permission_level, \"position\" numeric)";
2719
+ readonly security: "definer";
2455
2720
  }, {
2456
2721
  readonly name: "read_records_matching";
2457
2722
  readonly args: "p_organization_id uuid, p_table_id uuid, p_filter jsonb DEFAULT '{}'::jsonb, p_by_id boolean DEFAULT false, p_limit integer DEFAULT 200, p_offset integer DEFAULT 0";
@@ -2464,8 +2729,8 @@ declare const STORE_DOORS: readonly [{
2464
2729
  readonly security: "definer";
2465
2730
  }, {
2466
2731
  readonly name: "record_aggregate";
2467
- readonly args: "p_organization_id uuid, p_table_id uuid, p_group_by jsonb DEFAULT '[]'::jsonb, p_measures jsonb DEFAULT '[]'::jsonb, p_bucket jsonb DEFAULT NULL::jsonb, p_filter jsonb DEFAULT '{}'::jsonb, p_limit integer DEFAULT 200, p_required text DEFAULT 'viewer'::text";
2468
- readonly returns: "TABLE(groups jsonb, measures jsonb, row_count bigint)";
2732
+ readonly args: "p_organization_id uuid, p_table_id uuid, p_group_by jsonb DEFAULT '[]'::jsonb, p_measures jsonb DEFAULT '[]'::jsonb, p_bucket jsonb DEFAULT NULL::jsonb, p_filter jsonb DEFAULT '{}'::jsonb, p_limit integer DEFAULT 200, p_required text DEFAULT 'viewer'::text, p_compare jsonb DEFAULT NULL::jsonb";
2733
+ readonly returns: "TABLE(groups jsonb, measures jsonb, row_count bigint, prior_groups jsonb, prior_measures jsonb, prior_row_count bigint, delta jsonb, compare jsonb)";
2469
2734
  readonly security: "definer";
2470
2735
  }, {
2471
2736
  readonly name: "record_applicability";
@@ -2492,16 +2757,36 @@ declare const STORE_DOORS: readonly [{
2492
2757
  readonly args: "p_id uuid, p_data_class text, p_data jsonb, p_deleted_at timestamp with time zone";
2493
2758
  readonly returns: "TABLE(container_id uuid, item_id uuid, edge_role text)";
2494
2759
  readonly security: "invoker";
2760
+ }, {
2761
+ readonly name: "record_change_actions";
2762
+ readonly args: "p_organization_id uuid, p_table_id uuid";
2763
+ readonly returns: "jsonb";
2764
+ readonly security: "definer";
2495
2765
  }, {
2496
2766
  readonly name: "record_delete";
2497
2767
  readonly args: "p_organization_id uuid, p_record_id uuid";
2498
2768
  readonly returns: "timestamp with time zone";
2499
2769
  readonly security: "definer";
2770
+ }, {
2771
+ readonly name: "record_entity_edges";
2772
+ readonly args: "p_organization_id uuid, p_id uuid, p_table_id uuid, p_data_class text, p_data jsonb, p_deleted_at timestamp with time zone";
2773
+ readonly returns: "TABLE(target_type text, target_id uuid, edge_role text, field_id uuid, ord integer)";
2774
+ readonly security: "invoker";
2500
2775
  }, {
2501
2776
  readonly name: "record_filter_sql";
2502
2777
  readonly args: "p_filter jsonb";
2503
2778
  readonly returns: "text";
2504
2779
  readonly security: "invoker";
2780
+ }, {
2781
+ readonly name: "record_filter_sql";
2782
+ readonly args: "p_organization_id uuid, p_table_id uuid, p_filter jsonb";
2783
+ readonly returns: "text";
2784
+ readonly security: "invoker";
2785
+ }, {
2786
+ readonly name: "record_headers";
2787
+ readonly args: "p_organization_id uuid, p_ids uuid[]";
2788
+ readonly returns: "TABLE(id uuid, table_id uuid, created_at timestamp with time zone, updated_at timestamp with time zone, version integer, deleted_at timestamp with time zone, mine boolean, created_by uuid)";
2789
+ readonly security: "definer";
2505
2790
  }, {
2506
2791
  readonly name: "record_history";
2507
2792
  readonly args: "p_organization_id uuid, p_record_id uuid, p_limit integer DEFAULT 200, p_offset integer DEFAULT 0";
@@ -2572,6 +2857,11 @@ declare const STORE_DOORS: readonly [{
2572
2857
  readonly args: "p_organization_id uuid, p_record_id uuid, p_patch jsonb, p_expected_version integer DEFAULT NULL::integer";
2573
2858
  readonly returns: "integer";
2574
2859
  readonly security: "definer";
2860
+ }, {
2861
+ readonly name: "record_value_one";
2862
+ readonly args: "p_organization_id uuid, p_record_id uuid, p_key text";
2863
+ readonly returns: "jsonb";
2864
+ readonly security: "invoker";
2575
2865
  }, {
2576
2866
  readonly name: "record_values";
2577
2867
  readonly args: "p_organization_id uuid, p_record_id uuid";
@@ -2692,6 +2982,11 @@ declare const STORE_DOORS: readonly [{
2692
2982
  readonly args: "p_container_type text, p_container_id uuid, p_item_type text, p_item_id uuid";
2693
2983
  readonly returns: "bigint";
2694
2984
  readonly security: "definer";
2985
+ }, {
2986
+ readonly name: "resolve_context";
2987
+ readonly args: "p_entity_type text, p_entity_id uuid, p_record_ids uuid[] DEFAULT NULL::uuid[], p_table_ids uuid[] DEFAULT NULL::uuid[]";
2988
+ readonly returns: "jsonb";
2989
+ readonly security: "definer";
2695
2990
  }, {
2696
2991
  readonly name: "resolve_first_match";
2697
2992
  readonly args: "p_organization_id uuid, p_record_id uuid";
@@ -2752,6 +3047,11 @@ declare const STORE_DOORS: readonly [{
2752
3047
  readonly args: "p_organization_id uuid, p_field_id uuid";
2753
3048
  readonly returns: "text";
2754
3049
  readonly security: "invoker";
3050
+ }, {
3051
+ readonly name: "rule_filter_node_sql";
3052
+ readonly args: "p_organization_id uuid, p_table_id uuid, p_node jsonb, p_map jsonb, p_visible text[]";
3053
+ readonly returns: "text";
3054
+ readonly security: "invoker";
2755
3055
  }, {
2756
3056
  readonly name: "rule_kernel_id";
2757
3057
  readonly args: "";
@@ -2762,6 +3062,11 @@ declare const STORE_DOORS: readonly [{
2762
3062
  readonly args: "p_organization_id uuid, p_rule_id uuid";
2763
3063
  readonly returns: "SETOF custom.record";
2764
3064
  readonly security: "invoker";
3065
+ }, {
3066
+ readonly name: "rule_members_visible";
3067
+ readonly args: "p_organization_id uuid, p_rule_id uuid, p_limit integer DEFAULT 200, p_offset integer DEFAULT 0";
3068
+ readonly returns: "TABLE(id uuid, document jsonb, level permission_level)";
3069
+ readonly security: "definer";
2765
3070
  }, {
2766
3071
  readonly name: "rule_membership";
2767
3072
  readonly args: "p_organization_id uuid, p_rule_id uuid, p_record_id uuid";
@@ -2777,6 +3082,11 @@ declare const STORE_DOORS: readonly [{
2777
3082
  readonly args: "p_organization_id uuid, p_rule_id uuid, p_values jsonb, p_context jsonb DEFAULT '{}'::jsonb";
2778
3083
  readonly returns: "jsonb";
2779
3084
  readonly security: "invoker";
3085
+ }, {
3086
+ readonly name: "rule_sql_op";
3087
+ readonly args: "p_op text, p_a jsonb, p_b jsonb DEFAULT NULL::jsonb";
3088
+ readonly returns: "jsonb";
3089
+ readonly security: "invoker";
2780
3090
  }, {
2781
3091
  readonly name: "rule_truth";
2782
3092
  readonly args: "p_answer jsonb";
@@ -2797,6 +3107,21 @@ declare const STORE_DOORS: readonly [{
2797
3107
  readonly args: "p_value text, p_when_there_is_none text";
2798
3108
  readonly returns: "text";
2799
3109
  readonly security: "invoker";
3110
+ }, {
3111
+ readonly name: "scope_member_reaches";
3112
+ readonly args: "p_user_id uuid, p_record_id uuid, p_required permission_level DEFAULT 'viewer'::permission_level";
3113
+ readonly returns: "boolean";
3114
+ readonly security: "invoker";
3115
+ }, {
3116
+ readonly name: "scope_table_provision";
3117
+ readonly args: "p_organization_id uuid, p_item_id uuid, p_scope_id uuid, p_home_id uuid DEFAULT NULL::uuid";
3118
+ readonly returns: "uuid";
3119
+ readonly security: "definer";
3120
+ }, {
3121
+ readonly name: "sensitivity_rank";
3122
+ readonly args: "p_sensitivity text";
3123
+ readonly returns: "integer";
3124
+ readonly security: "invoker";
2800
3125
  }, {
2801
3126
  readonly name: "share_access";
2802
3127
  readonly args: "p_organization_id uuid, p_subject_id uuid";
@@ -3025,7 +3350,7 @@ declare const STORE_DOORS: readonly [{
3025
3350
  }, {
3026
3351
  readonly name: "table_facts";
3027
3352
  readonly args: "p_organization_id uuid";
3028
- readonly returns: "TABLE(table_id uuid, visibility text, mine boolean)";
3353
+ readonly returns: "TABLE(table_id uuid, visibility text, mine boolean, kept_by_the_app boolean, kept_for text, offered_as_context boolean, keeper_group text, keeper_says text, used_in_kind text, used_in_id uuid, used_in_table_id uuid)";
3029
3354
  readonly security: "definer";
3030
3355
  }, {
3031
3356
  readonly name: "table_from_example";
@@ -3037,6 +3362,11 @@ declare const STORE_DOORS: readonly [{
3037
3362
  readonly args: "p_user uuid, p_organization_id uuid, p_table_id uuid";
3038
3363
  readonly returns: "boolean";
3039
3364
  readonly security: "definer";
3365
+ }, {
3366
+ readonly name: "table_home";
3367
+ readonly args: "p_table_id uuid, p_to_organization_id uuid DEFAULT NULL::uuid";
3368
+ readonly returns: "jsonb";
3369
+ readonly security: "definer";
3040
3370
  }, {
3041
3371
  readonly name: "table_is_live";
3042
3372
  readonly args: "p_organization_id uuid, p_table_id uuid";
@@ -3047,11 +3377,31 @@ declare const STORE_DOORS: readonly [{
3047
3377
  readonly args: "p_organization_id uuid, p_table_id uuid";
3048
3378
  readonly returns: "boolean";
3049
3379
  readonly security: "invoker";
3380
+ }, {
3381
+ readonly name: "table_kept_for_derived";
3382
+ readonly args: "p_data jsonb, p_is_kernel boolean, p_is_options boolean";
3383
+ readonly returns: "text";
3384
+ readonly security: "invoker";
3050
3385
  }, {
3051
3386
  readonly name: "table_kernel_id";
3052
3387
  readonly args: "";
3053
3388
  readonly returns: "uuid";
3054
3389
  readonly security: "invoker";
3390
+ }, {
3391
+ readonly name: "table_list_everywhere";
3392
+ readonly args: "p_organization_id uuid";
3393
+ readonly returns: "jsonb";
3394
+ readonly security: "definer";
3395
+ }, {
3396
+ readonly name: "table_move";
3397
+ readonly args: "p_table_id uuid, p_to_organization_id uuid, p_expected_version integer DEFAULT NULL::integer";
3398
+ readonly returns: "jsonb";
3399
+ readonly security: "definer";
3400
+ }, {
3401
+ readonly name: "table_placement";
3402
+ readonly args: "p_organization_id uuid, p_table_id uuid, p_data jsonb, p_is_kernel boolean DEFAULT false";
3403
+ readonly returns: "jsonb";
3404
+ readonly security: "invoker";
3055
3405
  }, {
3056
3406
  readonly name: "table_record_ceiling";
3057
3407
  readonly args: "";
@@ -3062,6 +3412,11 @@ declare const STORE_DOORS: readonly [{
3062
3412
  readonly args: "p_organization_id uuid";
3063
3413
  readonly returns: "integer";
3064
3414
  readonly security: "invoker";
3415
+ }, {
3416
+ readonly name: "table_row_counts";
3417
+ readonly args: "p_organization_id uuid, p_table_ids uuid[]";
3418
+ readonly returns: "TABLE(table_id uuid, visible_rows bigint)";
3419
+ readonly security: "definer";
3065
3420
  }, {
3066
3421
  readonly name: "table_rules";
3067
3422
  readonly args: "p_organization_id uuid, p_table_id uuid, p_use text, p_record_type text DEFAULT NULL::text";
@@ -3082,6 +3437,11 @@ declare const STORE_DOORS: readonly [{
3082
3437
  readonly args: "";
3083
3438
  readonly returns: "TABLE(invitation_id uuid, organization_id uuid, organization text, table_id uuid, table_name text, level text, level_label text, token text, expires_at timestamp with time zone, say text)";
3084
3439
  readonly security: "definer";
3440
+ }, {
3441
+ readonly name: "table_share_outside_grant";
3442
+ readonly args: "p_organization_id uuid, p_table_id uuid, p_person text, p_level permission_level DEFAULT 'viewer'::permission_level";
3443
+ readonly returns: "jsonb";
3444
+ readonly security: "definer";
3085
3445
  }, {
3086
3446
  readonly name: "table_share_outside_invite";
3087
3447
  readonly args: "p_organization_id uuid, p_table_id uuid, p_email text, p_level permission_level DEFAULT 'viewer'::permission_level";
@@ -3107,6 +3467,11 @@ declare const STORE_DOORS: readonly [{
3107
3467
  readonly args: "p_organization_id uuid, p_table_id uuid";
3108
3468
  readonly returns: "text";
3109
3469
  readonly security: "invoker";
3470
+ }, {
3471
+ readonly name: "table_sync";
3472
+ readonly args: "p_organization_id uuid, p_home_id uuid, p_spec jsonb";
3473
+ readonly returns: "jsonb";
3474
+ readonly security: "definer";
3110
3475
  }, {
3111
3476
  readonly name: "table_type_field";
3112
3477
  readonly args: "p_organization_id uuid, p_table_id uuid";
@@ -3167,6 +3532,11 @@ declare const STORE_DOORS: readonly [{
3167
3532
  readonly args: "p_organization_id uuid, p_table_id uuid, p_data jsonb";
3168
3533
  readonly returns: "text[]";
3169
3534
  readonly security: "invoker";
3535
+ }, {
3536
+ readonly name: "unresolved_sources_of";
3537
+ readonly args: "p_sources jsonb, p_visible text[], p_by_id boolean DEFAULT false, p_key_ids jsonb DEFAULT '{}'::jsonb";
3538
+ readonly returns: "jsonb";
3539
+ readonly security: "invoker";
3170
3540
  }, {
3171
3541
  readonly name: "validate_custom_fields";
3172
3542
  readonly args: "p_token text, p_organization_id uuid, p_values jsonb";
@@ -3227,6 +3597,21 @@ declare const STORE_DOORS: readonly [{
3227
3597
  readonly args: "p_organization_id uuid, p_table_id uuid, p_spec jsonb";
3228
3598
  readonly returns: "uuid";
3229
3599
  readonly security: "definer";
3600
+ }, {
3601
+ readonly name: "view_keys";
3602
+ readonly args: "";
3603
+ readonly returns: "TABLE(path text, shape text, layouts text[], writer text, sentence text)";
3604
+ readonly security: "invoker";
3605
+ }, {
3606
+ readonly name: "view_keys_check";
3607
+ readonly args: "p_organization_id uuid, p_table_id uuid, p_set jsonb, p_old jsonb DEFAULT '{}'::jsonb";
3608
+ readonly returns: "jsonb";
3609
+ readonly security: "invoker";
3610
+ }, {
3611
+ readonly name: "view_record_order_set";
3612
+ readonly args: "p_organization_id uuid, p_view_id uuid, p_record_ids uuid[]";
3613
+ readonly returns: "jsonb";
3614
+ readonly security: "definer";
3230
3615
  }, {
3231
3616
  readonly name: "views";
3232
3617
  readonly args: "p_organization_id uuid, p_table_id uuid DEFAULT NULL::uuid";
@@ -3322,6 +3707,11 @@ declare const STORE_DOORS: readonly [{
3322
3707
  readonly args: "p_organization_id uuid, p_subject_id uuid, p_change jsonb, p_note text DEFAULT NULL::text, p_approver_id uuid DEFAULT NULL::uuid, p_origin text DEFAULT 'person'::text, p_conversation_id uuid DEFAULT NULL::uuid";
3323
3708
  readonly returns: "jsonb";
3324
3709
  readonly security: "definer";
3710
+ }, {
3711
+ readonly name: "work_approval_withdrawal";
3712
+ readonly args: "p_organization_id uuid, p_data jsonb";
3713
+ readonly returns: "text";
3714
+ readonly security: "invoker";
3325
3715
  }, {
3326
3716
  readonly name: "work_assign";
3327
3717
  readonly args: "p_organization_id uuid, p_record_id uuid, p_assignee_user_id uuid, p_due_date timestamp with time zone DEFAULT NULL::timestamp with time zone, p_clear_due boolean DEFAULT false";
@@ -3332,6 +3722,11 @@ declare const STORE_DOORS: readonly [{
3332
3722
  readonly args: "p_options_table_id uuid DEFAULT NULL::uuid";
3333
3723
  readonly returns: "TABLE(key text, label text, spec jsonb)";
3334
3724
  readonly security: "invoker";
3725
+ }, {
3726
+ readonly name: "work_decide_many";
3727
+ readonly args: "p_organization_id uuid, p_decisions jsonb";
3728
+ readonly returns: "jsonb";
3729
+ readonly security: "definer";
3335
3730
  }, {
3336
3731
  readonly name: "work_has_assignment";
3337
3732
  readonly args: "p_organization_id uuid, p_table_id uuid";
@@ -3339,8 +3734,8 @@ declare const STORE_DOORS: readonly [{
3339
3734
  readonly security: "definer";
3340
3735
  }, {
3341
3736
  readonly name: "work_inbox";
3342
- readonly args: "p_organization_id uuid, p_limit integer DEFAULT 50, p_offset integer DEFAULT 0, p_include_decided boolean DEFAULT false";
3343
- readonly returns: "TABLE(item_id uuid, kind text, origin text, title text, subject_id uuid, subject_kind text, summary text, state text, due_on timestamp with time zone, due_state text, actionable boolean, requested_by uuid, requested_by_name text, at timestamp with time zone)";
3737
+ readonly args: "p_organization_id uuid, p_limit integer DEFAULT 50, p_offset integer DEFAULT 0, p_include_decided boolean DEFAULT false, p_view text DEFAULT 'inbox'::text";
3738
+ readonly returns: "TABLE(item_id uuid, kind text, origin text, title text, subject_id uuid, subject_kind text, summary text, state text, due_on timestamp with time zone, due_state text, actionable boolean, requested_by uuid, requested_by_name text, at timestamp with time zone, table_id uuid, table_name text, decided_by uuid, decided_by_name text, decided_at timestamp with time zone, outcome text, snoozed_until timestamp with time zone, cleared_at timestamp with time zone, snoozed_count integer, cleared_count integer)";
3344
3739
  readonly security: "definer";
3345
3740
  }, {
3346
3741
  readonly name: "work_instantiation_shape";
@@ -3462,6 +3857,10 @@ declare const STORE_KNOBS: readonly [{
3462
3857
  readonly key: "action_run_records_max";
3463
3858
  readonly value: "5000";
3464
3859
  readonly type: "integer";
3860
+ }, {
3861
+ readonly key: "agent_context_reads_the_copy";
3862
+ readonly value: "false";
3863
+ readonly type: "boolean";
3465
3864
  }, {
3466
3865
  readonly key: "agent_schema_changes";
3467
3866
  readonly value: "\"ask\"";
@@ -3470,6 +3869,10 @@ declare const STORE_KNOBS: readonly [{
3470
3869
  readonly key: "associations_guard";
3471
3870
  readonly value: "true";
3472
3871
  readonly type: "boolean";
3872
+ }, {
3873
+ readonly key: "batch_items_max";
3874
+ readonly value: "500";
3875
+ readonly type: "integer";
3473
3876
  }, {
3474
3877
  readonly key: "code_paths_enabled";
3475
3878
  readonly value: "true";
@@ -3514,6 +3917,10 @@ declare const STORE_KNOBS: readonly [{
3514
3917
  readonly key: "containment_depth_ceiling";
3515
3918
  readonly value: "16";
3516
3919
  readonly type: "integer";
3920
+ }, {
3921
+ readonly key: "context_copy_following";
3922
+ readonly value: "true";
3923
+ readonly type: "boolean";
3517
3924
  }, {
3518
3925
  readonly key: "cross_organization_links";
3519
3926
  readonly value: "false";
@@ -3580,7 +3987,7 @@ declare const STORE_KNOBS: readonly [{
3580
3987
  readonly type: "integer";
3581
3988
  }, {
3582
3989
  readonly key: "external_principal_enabled";
3583
- readonly value: "false";
3990
+ readonly value: "true";
3584
3991
  readonly type: "boolean";
3585
3992
  }, {
3586
3993
  readonly key: "field_index_guard";
@@ -3590,6 +3997,22 @@ declare const STORE_KNOBS: readonly [{
3590
3997
  readonly key: "field_sensitivity_levels";
3591
3998
  readonly value: "{\"edit\": {\"public\": \"editor\", \"internal\": \"editor\", \"restricted\": \"admin\", \"confidential\": \"admin\"}, \"read\": {\"public\": \"viewer\", \"internal\": \"viewer\", \"restricted\": \"admin\", \"confidential\": \"editor\"}}";
3592
3999
  readonly type: "json";
4000
+ }, {
4001
+ readonly key: "form_draft_days";
4002
+ readonly value: "30";
4003
+ readonly type: "integer";
4004
+ }, {
4005
+ readonly key: "form_draft_max_bytes";
4006
+ readonly value: "65536";
4007
+ readonly type: "integer";
4008
+ }, {
4009
+ readonly key: "form_draft_saves_per_hour";
4010
+ readonly value: "240";
4011
+ readonly type: "integer";
4012
+ }, {
4013
+ readonly key: "form_redirect_domains";
4014
+ readonly value: "[]";
4015
+ readonly type: "json";
3593
4016
  }, {
3594
4017
  readonly key: "grid_layout";
3595
4018
  readonly value: "{\"mode\": \"auto\", \"wrap\": false, \"row_height\": \"normal\", \"fit_max_columns\": 8, \"freeze_first_column\": false}";
@@ -3598,6 +4021,10 @@ declare const STORE_KNOBS: readonly [{
3598
4021
  readonly key: "inbound_domain";
3599
4022
  readonly value: "\"inbound.matrxserver.com\"";
3600
4023
  readonly type: "string";
4024
+ }, {
4025
+ readonly key: "inbox_reminder_after_days";
4026
+ readonly value: "3";
4027
+ readonly type: "integer";
3601
4028
  }, {
3602
4029
  readonly key: "member_default_level";
3603
4030
  readonly value: "\"viewer\"";
@@ -3650,6 +4077,10 @@ declare const STORE_KNOBS: readonly [{
3650
4077
  readonly key: "sandbox_org_components";
3651
4078
  readonly value: "true";
3652
4079
  readonly type: "boolean";
4080
+ }, {
4081
+ readonly key: "scope_members_admitted";
4082
+ readonly value: "true";
4083
+ readonly type: "boolean";
3653
4084
  }, {
3654
4085
  readonly key: "signup_provisioning_guard";
3655
4086
  readonly value: "false";
@@ -3666,14 +4097,30 @@ declare const STORE_KNOBS: readonly [{
3666
4097
  readonly key: "table_record_ceiling";
3667
4098
  readonly value: "150000";
3668
4099
  readonly type: "integer";
4100
+ }, {
4101
+ readonly key: "table_sync_rows_max";
4102
+ readonly value: "20000";
4103
+ readonly type: "integer";
3669
4104
  }, {
3670
4105
  readonly key: "table_webhooks_max";
3671
4106
  readonly value: "10";
3672
4107
  readonly type: "integer";
4108
+ }, {
4109
+ readonly key: "time_zone";
4110
+ readonly value: "\"UTC\"";
4111
+ readonly type: "string";
3673
4112
  }, {
3674
4113
  readonly key: "value_max_bytes";
3675
4114
  readonly value: "100000";
3676
4115
  readonly type: "integer";
4116
+ }, {
4117
+ readonly key: "view_record_order_max";
4118
+ readonly value: "20000";
4119
+ readonly type: "integer";
4120
+ }, {
4121
+ readonly key: "week_start";
4122
+ readonly value: "\"monday\"";
4123
+ readonly type: "enum";
3677
4124
  }, {
3678
4125
  readonly key: "world_publish_enabled";
3679
4126
  readonly value: "false";
@@ -3687,55 +4134,64 @@ declare const STORE_KNOBS: readonly [{
3687
4134
  */
3688
4135
  declare const STORE_REFUSAL_CODES: readonly [{
3689
4136
  readonly code: "02000";
3690
- 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";
4137
+ readonly raised_by: "_checklist_instantiate,_portal_config_judge,_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_form,portal_form_submit,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_grant,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";
3691
4138
  }, {
3692
4139
  readonly code: "0A000";
3693
- 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";
4140
+ 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,rule_filter_node_sql,work_assign";
3694
4141
  }, {
3695
4142
  readonly code: "22003";
3696
4143
  readonly raised_by: "context_resolve";
3697
4144
  }, {
3698
4145
  readonly code: "22004";
3699
- 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";
4146
+ readonly raised_by: "_entity_custom_fields_guard,_portal_config_judge,_share_write_person,_value_envelope,actor_word,agg_assert_key,agg_compare_windows,agg_sql,anon_capture,anon_token_issue,anon_write,assert_client_may_reach,booking_declare,capture_submit,checklist_declare,context_resolve,context_tag_copy,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,inbox_snooze,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_form_submit,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_move,table_share_outside_grant,table_share_outside_invite,value_restore,view_declare,work_approval_decide,work_approval_request,work_template_declare";
3700
4147
  }, {
3701
4148
  readonly code: "22007";
3702
- readonly raised_by: "dashboard_window_sql";
4149
+ readonly raised_by: "agg_parse_moment,dashboard_window_sql";
3703
4150
  }, {
3704
4151
  readonly code: "22012";
3705
- readonly raised_by: "formula_eval,rule_eval";
4152
+ readonly raised_by: "formula_eval,rule_eval,rule_sql_op";
3706
4153
  }, {
3707
4154
  readonly code: "22023";
3708
- 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";
4155
+ 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,_portal_config_judge,_take_op_id,_value_envelope,_view_field_key,_view_key_value,_work_shape_guard,action_run,actor_word,agg_assert_key,agg_calendar,agg_compare_windows,agg_sql,anon_token_issue,booking_declare,containment_parent,dashboard_block_normalize,dashboard_run,dashboard_target_field_assert,dashboard_window_sql,doc_render_body,doc_render_write,doc_signature_write,enrich_declare,enrich_land,enrich_normalize,enrich_pin,entity_reference_words,entity_value_write,external_history_event,external_source_declare,external_stub_upsert,external_write_through,field_history,field_update,form_declare,form_draft_save,formula_eval,formula_parse,grid_layout_check,hub_changed_by,inbox_snooze,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,pipeline_move_many,portal_declare,portal_form_submit,provenance_write,query_by_coordinates,query_rollup,read_records_archived,read_records_in_view_order,record_filter_sql,record_update,record_write_graph,record_write_many,relation_carry,rule_eval,rule_filter_node_sql,rule_members,rule_members_visible,rule_sql_op,scope_table_provision,share_grant,share_lane_set,sign_request_create,sign_request_sign,subscription_declare,table_from_example,table_move,table_rules,table_share_outside_grant,table_sync,table_webhook_declare,view_declare,view_keys_check,view_record_order_set,visibility_as_of,work_approval_request,work_decide_many,work_inbox,work_list,work_slot_hold";
3709
4156
  }, {
3710
4157
  readonly code: "23503";
3711
- 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";
4158
+ 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_draft_save,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,read_records_in_view_order,record_applicability,record_reparent,relation_carry,relation_own,resolve_first_match,rule_applies,rule_declare,rule_eval,rule_filter_node_sql,rule_members,rule_members_visible,rule_run,sign_request_create,subscription_mute,subscription_preview,table_decorate,table_from_example,table_webhook_archive,table_webhook_declare,view_declare,view_record_order_set,work_set_state,work_take_assignment,work_template_instantiate";
3712
4159
  }, {
3713
4160
  readonly code: "23505";
3714
- 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";
4161
+ readonly raised_by: "_portal_config_judge,_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";
3715
4162
  }, {
3716
4163
  readonly code: "23514";
3717
- 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";
4164
+ 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_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";
3718
4165
  }, {
3719
4166
  readonly code: "40001";
3720
- readonly raised_by: "has_visibility_at";
4167
+ readonly raised_by: "has_visibility_at,table_move";
3721
4168
  }, {
3722
4169
  readonly code: "42501";
3723
- 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,organization_contents,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";
4170
+ readonly raised_by: "_context_copy_fence,_doc_render_immutable,_doc_signature_immutable,_field_definition_write,_field_write_door,_portal_config_judge,_portal_principal_here,_rule_definition_write,_store_door,agent_table_claim,agg_fields_readable_assert,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,context_resolve,conversation_scope_bind,conversation_scope_unbind,dashboard_target_field_assert,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_draft_save,form_public_asks,form_submit,inbound_mail_land,inbox_clear,inbox_snooze,inbox_unclear,inbox_unsnooze,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,organization_contents,portal_declare,portal_form,portal_form_submit,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,resolve_context,scope_table_provision,share_grant,subscription_mute,subscription_preview,table_move,table_share_outside_accept,table_share_outside_grant,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";
3724
4171
  }, {
3725
4172
  readonly code: "42703";
3726
4173
  readonly raised_by: "entity_table,portal_declare";
4174
+ }, {
4175
+ readonly code: "42P17";
4176
+ readonly raised_by: "_field_reads_what_it_reads,far_value";
3727
4177
  }, {
3728
4178
  readonly code: "53400";
3729
4179
  readonly raised_by: "anon_rate_take,delete_cascade_closure,enrich_due,enrich_land,promote_field";
3730
4180
  }, {
3731
4181
  readonly code: "54000";
3732
- readonly raised_by: "action_run,hub_changed_by,table_decorate,table_from_example,table_webhook_declare";
4182
+ readonly raised_by: "action_run,form_draft_save,hub_changed_by,pipeline_move_many,record_headers,table_decorate,table_from_example,table_row_counts,table_sync,table_webhook_declare,view_record_order_set,work_decide_many";
3733
4183
  }, {
3734
4184
  readonly code: "54001";
3735
4185
  readonly raised_by: "record_delete";
4186
+ }, {
4187
+ readonly code: "55000";
4188
+ readonly raised_by: "inbox_clear,inbox_snooze,table_move,work_approval_decide,work_approval_request";
3736
4189
  }, {
3737
4190
  readonly code: "P0001";
3738
4191
  readonly raised_by: "action_run";
4192
+ }, {
4193
+ readonly code: "P0002";
4194
+ readonly raised_by: "inbox_clear,inbox_snooze";
3739
4195
  }, {
3740
4196
  readonly code: "PT409";
3741
4197
  readonly raised_by: "record_update";
@@ -3744,7 +4200,7 @@ declare const STORE_REFUSAL_CODES: readonly [{
3744
4200
  readonly raised_by: "_record_rule_uses";
3745
4201
  }];
3746
4202
  /** `platform.entity_types` — the registered tokens a Table or relation may name. */
3747
- 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"];
4203
+ 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", "document", "document_version", "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", "message_template_detail", "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_detail", "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", "univer_payload", "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"];
3748
4204
  type StoreRefusalCode = (typeof STORE_REFUSAL_CODES)[number]["code"];
3749
4205
  type StoreDoorName = (typeof STORE_DOORS)[number]["name"];
3750
4206
  type EntityToken = (typeof ENTITY_TOKENS)[number];
@@ -8689,7 +9145,68 @@ interface WorkInboxItem {
8689
9145
  requested_by: Uuid | null;
8690
9146
  requested_by_name: string | null;
8691
9147
  at: Timestamp;
9148
+ /**
9149
+ * The table it is about (lane S5-PRIME): the table itself for a new column, new records or a
9150
+ * template; the record's table for a change to a record; null for a new table (it waits on a
9151
+ * home). An assignment carries its record's table. What an inbox groups by.
9152
+ */
9153
+ table_id?: Uuid | null;
9154
+ table_name?: string | null;
9155
+ /**
9156
+ * A CLOSED ITEM SAYS WHO AND WHEN (lane S5-PRIME). Null while it is waiting. For `withdrawn`
9157
+ * — nobody decided it; the thing it would change was archived — `decided_by` is whoever
9158
+ * archived it (null when the store's own backlog sweep closed it).
9159
+ */
9160
+ decided_by?: Uuid | null;
9161
+ decided_by_name?: string | null;
9162
+ decided_at?: Timestamp | null;
9163
+ /** The store's own sentence: what was applied, what was left alone, or why it was withdrawn. */
9164
+ outcome?: string | null;
9165
+ /**
9166
+ * THIS PERSON'S OWN STATE (lane S5-PRIME-2). Set only in the view that shows it: `snoozed_until`
9167
+ * in the snoozed view, `cleared_at` in the done view. Nobody else's snooze or clear is ever read.
9168
+ */
9169
+ snoozed_until?: Timestamp | null;
9170
+ cleared_at?: Timestamp | null;
9171
+ /** How many of this person's items are snoozed / cleared right now — the same on every row. */
9172
+ snoozed_count?: number;
9173
+ cleared_count?: number;
9174
+ }
9175
+ /**
9176
+ * Which of a person's three inbox views `custom.work_inbox` answers (lane S5-PRIME-2): what is
9177
+ * waiting now, what they snoozed (soonest back first), what they cleared (latest first).
9178
+ */
9179
+ type WorkInboxView = "inbox" | "snoozed" | "done";
9180
+ /** What `custom.inbox_snooze` / `inbox_unsnooze` / `inbox_clear` / `inbox_unclear` answer. */
9181
+ interface InboxStateChange {
9182
+ item_id: Uuid;
9183
+ /** Where the item stands for this person now. */
9184
+ state: "snoozed" | "cleared" | "waiting";
9185
+ /** False when an un-snooze / un-clear found nothing to undo (it says so in `sentence`). */
9186
+ changed?: boolean;
9187
+ snoozed_until?: Timestamp;
9188
+ cleared_at?: Timestamp;
9189
+ /** The store's own sentence, for the person. */
9190
+ sentence: string;
8692
9191
  }
9192
+ /**
9193
+ * One organization's line of `custom.inbox_counts` — what waits on this person there, counted by
9194
+ * the same predicate the inbox lists with. The shell badge's number.
9195
+ */
9196
+ interface InboxCounts {
9197
+ organization_id: Uuid;
9198
+ organization_name: string | null;
9199
+ waiting: number;
9200
+ snoozed: number;
9201
+ cleared: number;
9202
+ overdue: number;
9203
+ oldest_waiting_at: Timestamp | null;
9204
+ }
9205
+ /**
9206
+ * The states an approval moves through. `withdrawn` (lane S5-PRIME) is closed by the store, not
9207
+ * decided by a person: the record or table it would change was archived.
9208
+ */
9209
+ type WorkApprovalState = "pending" | "approved" | "declined" | "withdrawn";
8693
9210
  /** Which of the three lists `custom.work_list` answers. */
8694
9211
  type WorkListFlavour = "mine" | "assigned" | "unassigned";
8695
9212
  /** One row of `custom.work_list`: a record, whose it is, and where it is up to. */
@@ -8764,7 +9281,11 @@ interface WorkDecideManyItem {
8764
9281
  decision: "approve" | "decline";
8765
9282
  note?: string | null;
8766
9283
  }
8767
- type WorkDecideVerdict = "approved" | "declined" | "already_decided" | "no_right" | "refused";
9284
+ /**
9285
+ * `archived` (lane S5-PRIME): the thing it would change is archived, so it cannot be decided; the
9286
+ * sentence names it. A withdrawn approval answers `already_decided` with "That was withdrawn on …".
9287
+ */
9288
+ type WorkDecideVerdict = "approved" | "declined" | "already_decided" | "no_right" | "archived" | "refused";
8768
9289
  interface WorkDecideManyResult {
8769
9290
  index: number;
8770
9291
  item: Uuid;
@@ -10595,7 +11116,41 @@ interface RecordsClient {
10595
11116
  limit?: number;
10596
11117
  offset?: number;
10597
11118
  includeDecided?: boolean;
11119
+ /** Lane S5-PRIME-2: "inbox" (default), "snoozed" or "done" — this person's own views. */
11120
+ view?: WorkInboxView;
10598
11121
  }): Promise<RecordsResult<WorkInboxItem[]>>;
11122
+ /**
11123
+ * SNOOZE ONE ITEM OF MY INBOX UNTIL A TIME (lane S5-PRIME-2, `custom.inbox_snooze`). Only my
11124
+ * inbox changes; the approval or record is never written. A time already past, a snooze past a
11125
+ * year, and a decided item are refused by name.
11126
+ */
11127
+ inboxSnooze(args: {
11128
+ item_id: Uuid;
11129
+ until: Timestamp;
11130
+ }): Promise<RecordsResult<InboxStateChange>>;
11131
+ /** Take my snooze off: it is back in my inbox now. */
11132
+ inboxUnsnooze(args: {
11133
+ item_id: Uuid;
11134
+ }): Promise<RecordsResult<InboxStateChange>>;
11135
+ /**
11136
+ * CLEAR (mark done) ONE ITEM OF MY INBOX. A decision still owed is refused ("This one needs a
11137
+ * decision"). It comes back if somebody else changes it.
11138
+ */
11139
+ inboxClear(args: {
11140
+ item_id: Uuid;
11141
+ }): Promise<RecordsResult<InboxStateChange>>;
11142
+ /** Put a cleared item back in my inbox. */
11143
+ inboxUnclear(args: {
11144
+ item_id: Uuid;
11145
+ }): Promise<RecordsResult<InboxStateChange>>;
11146
+ /**
11147
+ * WHAT WAITS ON ME, COUNTED (`custom.inbox_counts`) — the same predicate the inbox lists with.
11148
+ * `everyOrganization` counts every organization I belong to (the shell badge: what waits on a
11149
+ * person is theirs, not the selected organization's).
11150
+ */
11151
+ inboxCounts(args?: {
11152
+ everyOrganization?: boolean;
11153
+ }): Promise<RecordsResult<InboxCounts[]>>;
10599
11154
  /** "My work", "work I assigned", "waiting on somebody being chosen". */
10600
11155
  workList(args?: {
10601
11156
  flavour?: WorkListFlavour;
@@ -11251,4 +11806,4 @@ declare function useEntityReferenceKinds(): EntityReferenceRead<EntityReferenceK
11251
11806
  /** The words of each reference, read for THIS person (withheld where they may not open it). */
11252
11807
  declare function useEntityReferenceWords(refs: readonly EntityRef[]): EntityReferenceRead<EntityRefWithWords[]>;
11253
11808
 
11254
- export { ABSENCE_REASONS, ACTOR_VOCABULARY, ARCHIVE_LANES, ARCHIVE_LANE_LABEL, ARCHIVE_LANE_MEANS, type AbsenceReason, type ActionRefusal, type ActionRunResult, type Actor, type AggregateBucket, type AggregateCompare, type AggregateCompareKind, type AggregateCompareWindows, type AggregateDelta, 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 DashboardTarget, type DashboardTargetBase, type DashboardTargetOp, type DashboardTargetResult, type DashboardTotals, 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 EntityRef, type EntityRefWithWords, type EntityReferenceKind, type EntityReferenceRead, 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 OutsideShareAnswer, type OverridePolicy, PARITY_FIELD_TYPES, PERMISSION_LEVELS, PER_VALUE_ACCESS_WORDS, PIPELINE_RULE_KINDS, PORTAL_ACCENTS, 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 PipelineMoveMany, type PipelineMoveManyItem, type PipelineMoveManyResult, type PipelineMoveResult, type PipelineMoveVerdict, type PipelineRule, type PipelineRuleKind, type PipelineSpec, type PipelineStage, type PipelineVerdict, type PortalAccent, type PortalArchiveAnswer, type PortalArchiveFilter, type PortalCard, type PortalConfig, type PortalConfigInput, type PortalFooterLink, type PortalFormAnswer, type PortalFormInput, type PortalFormRef, type PortalFormSpec, type PortalInvitation, type PortalPreviewRow, type PortalPrincipal, type PortalRevocation, type PortalStage, type PortalStyle, type PortalStyleInput, 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 RecordHeader, 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 StoreFilter, 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 TableHome, type TableHomeDestination, type TableListEntry, type TableMoved, type TableOrigin, type TablePlacement, type TablePlacementFact, type TableProposal, type TableRowCount, type TableSyncResult, type TableSyncSource, type TableSyncSpec, 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 ViewOrderSet, type WorkApprovalDecision, type WorkApprovalFiled, type WorkApprover, type WorkAssignment, type WorkAssignmentField, type WorkChange, type WorkDecideMany, type WorkDecideManyItem, type WorkDecideManyResult, type WorkDecideVerdict, 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, allowsOtherValues, archivedByLine, archivedWhen, asPermissionLevel, atLeast, bookingPath, choiceSlug, choiceValuesOf, choicesOf, coerceTypedAnswer, coerceTypedAnswers, coercionLabel, emptyArchiveLine, emptyPortalArchiveLine, entityReferenceKinds, entityReferenceKindsOf, entityReferenceWords, entityRefsOf, entityRefsToWrite, err, exampleSpec, exportPageXlsx, fieldKindFor, forgetAllOps, highestLevel, holdsARetiredChoice, indexedDbStore, isArchiveLane, isDecided, isEntityReferenceConfig, isOwnOp, isPortalAccent, isPortalArchiveFilter, isRecordsErr, isRuleFilter, isTheChosen, keptGroups, keptOutOfSight, keptTableHref, looksLikeAnId, mayDrag, measureKey, memoryStore, mintClientKey, mintOpId, moveConsequence, moveInOrder, offeredAsContext, ok, openCaptureQueue, optionKey, optionLabel, parseTableHome, parseTableMoved, portalArchiveConsequence, portalConfirmLine, portalPath, portalTitleTypedBack, publicFormPath, recordChangeTrigger, rememberedOpCount, sameDocument, scopeChip, sheetSyncSpec, stableFilterKey, tableShapeChanged, useEntityFieldMutation, useEntityFieldRights, useEntityFields, useEntityRecord, useEntityReferenceKinds, useEntityReferenceWords, useEntityTable, useFieldMutation, useFields, useMergeField, useMyLevel, useMyLevels, useOptionalRecordsClient, useRecord, useRecordChangeRevision, useRecordMutation, useRecords, useRecordsActor, useRecordsClient, useTable, useTableArchive, useTables, withRowCounts, withTablePlacement };
11809
+ export { ABSENCE_REASONS, ACTOR_VOCABULARY, ARCHIVE_LANES, ARCHIVE_LANE_LABEL, ARCHIVE_LANE_MEANS, type AbsenceReason, type ActionRefusal, type ActionRunResult, type Actor, type AggregateBucket, type AggregateCompare, type AggregateCompareKind, type AggregateCompareWindows, type AggregateDelta, 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 DashboardTarget, type DashboardTargetBase, type DashboardTargetOp, type DashboardTargetResult, type DashboardTotals, 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 EntityRef, type EntityRefWithWords, type EntityReferenceKind, type EntityReferenceRead, 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 InboxCounts, type InboxStateChange, 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 OutsideShareAnswer, type OverridePolicy, PARITY_FIELD_TYPES, PERMISSION_LEVELS, PER_VALUE_ACCESS_WORDS, PIPELINE_RULE_KINDS, PORTAL_ACCENTS, 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 PipelineMoveMany, type PipelineMoveManyItem, type PipelineMoveManyResult, type PipelineMoveResult, type PipelineMoveVerdict, type PipelineRule, type PipelineRuleKind, type PipelineSpec, type PipelineStage, type PipelineVerdict, type PortalAccent, type PortalArchiveAnswer, type PortalArchiveFilter, type PortalCard, type PortalConfig, type PortalConfigInput, type PortalFooterLink, type PortalFormAnswer, type PortalFormInput, type PortalFormRef, type PortalFormSpec, type PortalInvitation, type PortalPreviewRow, type PortalPrincipal, type PortalRevocation, type PortalStage, type PortalStyle, type PortalStyleInput, 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 RecordHeader, 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 StoreFilter, 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 TableHome, type TableHomeDestination, type TableListEntry, type TableMoved, type TableOrigin, type TablePlacement, type TablePlacementFact, type TableProposal, type TableRowCount, type TableSyncResult, type TableSyncSource, type TableSyncSpec, 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 ViewOrderSet, type WorkApprovalDecision, type WorkApprovalFiled, type WorkApprovalState, type WorkApprover, type WorkAssignment, type WorkAssignmentField, type WorkChange, type WorkDecideMany, type WorkDecideManyItem, type WorkDecideManyResult, type WorkDecideVerdict, type WorkDueState, type WorkGraph, type WorkInboxItem, type WorkInboxKind, type WorkInboxView, type WorkInstantiation, type WorkListFlavour, type WorkListItem, type WorkOrigin, type WorkRecordState, type WorkSlotHold, type WorkState, type WorkTemplateNode, type WorkTemplateRelation, type WorkTurn, type WriteConflict, actionRefusals, allowsOtherValues, archivedByLine, archivedWhen, asPermissionLevel, atLeast, bookingPath, choiceSlug, choiceValuesOf, choicesOf, coerceTypedAnswer, coerceTypedAnswers, coercionLabel, emptyArchiveLine, emptyPortalArchiveLine, entityReferenceKinds, entityReferenceKindsOf, entityReferenceWords, entityRefsOf, entityRefsToWrite, err, exampleSpec, exportPageXlsx, fieldKindFor, forgetAllOps, highestLevel, holdsARetiredChoice, indexedDbStore, isArchiveLane, isDecided, isEntityReferenceConfig, isOwnOp, isPortalAccent, isPortalArchiveFilter, isRecordsErr, isRuleFilter, isTheChosen, keptGroups, keptOutOfSight, keptTableHref, looksLikeAnId, mayDrag, measureKey, memoryStore, mintClientKey, mintOpId, moveConsequence, moveInOrder, offeredAsContext, ok, openCaptureQueue, optionKey, optionLabel, parseTableHome, parseTableMoved, portalArchiveConsequence, portalConfirmLine, portalPath, portalTitleTypedBack, publicFormPath, recordChangeTrigger, rememberedOpCount, sameDocument, scopeChip, sheetSyncSpec, stableFilterKey, tableShapeChanged, useEntityFieldMutation, useEntityFieldRights, useEntityFields, useEntityRecord, useEntityReferenceKinds, useEntityReferenceWords, useEntityTable, useFieldMutation, useFields, useMergeField, useMyLevel, useMyLevels, useOptionalRecordsClient, useRecord, useRecordChangeRevision, useRecordMutation, useRecords, useRecordsActor, useRecordsClient, useTable, useTableArchive, useTables, withRowCounts, withTablePlacement };