@ai-matrx/records 0.58.2 → 0.58.4

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.
@@ -101,6 +101,11 @@ declare const DECLARABLE_FIELD_KINDS: readonly [{
101
101
  readonly behavior: "text";
102
102
  readonly parity: true;
103
103
  readonly made_of: "text whose format is email";
104
+ }, {
105
+ readonly kind: "entity_reference";
106
+ readonly behavior: "relation";
107
+ readonly parity: false;
108
+ 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";
104
109
  }, {
105
110
  readonly kind: "formula";
106
111
  readonly behavior: "formula";
@@ -464,6 +469,11 @@ declare const STORE_DOORS: readonly [{
464
469
  readonly args: "p_key text";
465
470
  readonly returns: "text";
466
471
  readonly security: "invoker";
472
+ }, {
473
+ readonly name: "agg_bucket_ordinal";
474
+ readonly args: "p_by text, p_window_from timestamp without time zone, p_at timestamp without time zone, p_week_start text";
475
+ readonly returns: "integer";
476
+ readonly security: "invoker";
467
477
  }, {
468
478
  readonly name: "agg_buckets";
469
479
  readonly args: "";
@@ -474,6 +484,21 @@ declare const STORE_DOORS: readonly [{
474
484
  readonly args: "p_cadence text";
475
485
  readonly returns: "text";
476
486
  readonly security: "invoker";
487
+ }, {
488
+ readonly name: "agg_calendar";
489
+ readonly args: "p_organization_id uuid";
490
+ readonly returns: "jsonb";
491
+ readonly security: "invoker";
492
+ }, {
493
+ readonly name: "agg_compare_kinds";
494
+ readonly args: "";
495
+ readonly returns: "text[]";
496
+ readonly security: "invoker";
497
+ }, {
498
+ readonly name: "agg_compare_windows";
499
+ readonly args: "p_organization_id uuid, p_compare jsonb, p_bucket jsonb DEFAULT NULL::jsonb";
500
+ readonly returns: "jsonb";
501
+ readonly security: "invoker";
477
502
  }, {
478
503
  readonly name: "agg_deliver";
479
504
  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";
@@ -484,6 +509,11 @@ declare const STORE_DOORS: readonly [{
484
509
  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";
485
510
  readonly returns: "uuid";
486
511
  readonly security: "invoker";
512
+ }, {
513
+ readonly name: "agg_delta";
514
+ readonly args: "p_current jsonb, p_prior jsonb";
515
+ readonly returns: "jsonb";
516
+ readonly security: "invoker";
487
517
  }, {
488
518
  readonly name: "agg_digest_assemble";
489
519
  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";
@@ -494,31 +524,76 @@ declare const STORE_DOORS: readonly [{
494
524
  readonly args: "p_cadence text, p_schedule text, p_quiet jsonb, p_after timestamp with time zone";
495
525
  readonly returns: "timestamp with time zone";
496
526
  readonly security: "invoker";
527
+ }, {
528
+ readonly name: "agg_digest_judged_at";
529
+ readonly args: "p_organization_id uuid, p_rule_id uuid";
530
+ readonly returns: "timestamp with time zone";
531
+ readonly security: "invoker";
497
532
  }, {
498
533
  readonly name: "agg_digest_run";
499
534
  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";
500
535
  readonly returns: "integer";
501
536
  readonly security: "invoker";
537
+ }, {
538
+ readonly name: "agg_digest_run_at";
539
+ readonly args: "p_organization_id uuid, p_rule_id uuid, p_since timestamp with time zone, p_now timestamp with time zone";
540
+ readonly returns: "integer";
541
+ readonly security: "invoker";
502
542
  }, {
503
543
  readonly name: "agg_digest_tick";
504
544
  readonly args: "";
505
545
  readonly returns: "integer";
506
546
  readonly security: "invoker";
547
+ }, {
548
+ readonly name: "agg_digest_tick_at";
549
+ readonly args: "p_now timestamp with time zone, p_organization_id uuid DEFAULT NULL::uuid";
550
+ readonly returns: "integer";
551
+ readonly security: "invoker";
507
552
  }, {
508
553
  readonly name: "agg_explain";
509
554
  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";
510
555
  readonly returns: "jsonb";
511
556
  readonly security: "definer";
557
+ }, {
558
+ readonly name: "agg_fields_readable_assert";
559
+ readonly args: "p_organization_id uuid, p_table_id uuid, p_keys text[], p_required text DEFAULT 'viewer'::text";
560
+ readonly returns: "void";
561
+ readonly security: "invoker";
512
562
  }, {
513
563
  readonly name: "agg_last_digest_at";
514
564
  readonly args: "p_organization_id uuid, p_rule_id uuid";
515
565
  readonly returns: "timestamp with time zone";
516
566
  readonly security: "invoker";
567
+ }, {
568
+ readonly name: "agg_local_label";
569
+ readonly args: "p_local timestamp without time zone, p_tz text";
570
+ readonly returns: "text";
571
+ readonly security: "invoker";
572
+ }, {
573
+ readonly name: "agg_moment_sql";
574
+ readonly args: "p_key text, p_tz text";
575
+ readonly returns: "text";
576
+ readonly security: "invoker";
517
577
  }, {
518
578
  readonly name: "agg_operations";
519
579
  readonly args: "";
520
580
  readonly returns: "text[]";
521
581
  readonly security: "invoker";
582
+ }, {
583
+ readonly name: "agg_parse_moment";
584
+ readonly args: "p_raw text, p_tz text, p_what text";
585
+ readonly returns: "timestamp with time zone";
586
+ readonly security: "invoker";
587
+ }, {
588
+ readonly name: "agg_period_start";
589
+ readonly args: "p_local timestamp without time zone, p_by text, p_week_start text DEFAULT 'monday'::text";
590
+ readonly returns: "timestamp without time zone";
591
+ readonly security: "invoker";
592
+ }, {
593
+ readonly name: "agg_period_step";
594
+ readonly args: "p_by text";
595
+ readonly returns: "interval";
596
+ readonly security: "invoker";
522
597
  }, {
523
598
  readonly name: "agg_quiet_until";
524
599
  readonly args: "p_quiet jsonb, p_at timestamp with time zone";
@@ -531,7 +606,7 @@ declare const STORE_DOORS: readonly [{
531
606
  readonly security: "invoker";
532
607
  }, {
533
608
  readonly name: "agg_sql";
534
- 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";
609
+ 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";
535
610
  readonly returns: "text";
536
611
  readonly security: "invoker";
537
612
  }, {
@@ -574,6 +649,11 @@ declare const STORE_DOORS: readonly [{
574
649
  readonly args: "p_definition jsonb, p_state jsonb";
575
650
  readonly returns: "boolean";
576
651
  readonly security: "invoker";
652
+ }, {
653
+ readonly name: "agg_zero";
654
+ readonly args: "p_measures jsonb";
655
+ readonly returns: "jsonb";
656
+ readonly security: "invoker";
577
657
  }, {
578
658
  readonly name: "anon_capture";
579
659
  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";
@@ -954,6 +1034,16 @@ declare const STORE_DOORS: readonly [{
954
1034
  readonly args: "p_data jsonb";
955
1035
  readonly returns: "uuid";
956
1036
  readonly security: "invoker";
1037
+ }, {
1038
+ readonly name: "context_compare_facts";
1039
+ readonly args: "p_user_id uuid, p_record_ids uuid[], p_item_ids uuid[] DEFAULT NULL::uuid[], p_cells jsonb DEFAULT NULL::jsonb";
1040
+ readonly returns: "jsonb";
1041
+ readonly security: "definer";
1042
+ }, {
1043
+ readonly name: "context_resolve";
1044
+ readonly args: "p_bindings jsonb";
1045
+ readonly returns: "jsonb";
1046
+ readonly security: "definer";
957
1047
  }, {
958
1048
  readonly name: "context_resolve";
959
1049
  readonly args: "p_organization_id uuid, p_bindings jsonb, p_scope_slug text DEFAULT 'scopes'::text";
@@ -1026,7 +1116,7 @@ declare const STORE_DOORS: readonly [{
1026
1116
  readonly security: "invoker";
1027
1117
  }, {
1028
1118
  readonly name: "dashboard_run";
1029
- readonly args: "p_organization_id uuid, p_dashboard_id uuid, p_filter jsonb DEFAULT '{}'::jsonb";
1119
+ 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";
1030
1120
  readonly returns: "jsonb";
1031
1121
  readonly security: "definer";
1032
1122
  }, {
@@ -1034,6 +1124,11 @@ declare const STORE_DOORS: readonly [{
1034
1124
  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";
1035
1125
  readonly returns: "TABLE(record_id uuid, title text, state text, last_changed_at timestamp with time zone, days_unchanged numeric, measured_from text)";
1036
1126
  readonly security: "definer";
1127
+ }, {
1128
+ readonly name: "dashboard_target_field_assert";
1129
+ readonly args: "p_organization_id uuid, p_table_id uuid, p_field_key text";
1130
+ readonly returns: "void";
1131
+ readonly security: "invoker";
1037
1132
  }, {
1038
1133
  readonly name: "dashboard_window_sql";
1039
1134
  readonly args: "p_key text, p_window jsonb";
@@ -1339,6 +1434,26 @@ declare const STORE_DOORS: readonly [{
1339
1434
  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";
1340
1435
  readonly returns: "jsonb";
1341
1436
  readonly security: "invoker";
1437
+ }, {
1438
+ readonly name: "entity_reference_fields";
1439
+ readonly args: "p_organization_id uuid, p_table_id uuid";
1440
+ readonly returns: "jsonb";
1441
+ readonly security: "invoker";
1442
+ }, {
1443
+ readonly name: "entity_reference_kinds";
1444
+ readonly args: "";
1445
+ readonly returns: "TABLE(token text, label text, category text)";
1446
+ readonly security: "definer";
1447
+ }, {
1448
+ readonly name: "entity_reference_render";
1449
+ readonly args: "p_organization_id uuid, p_table_id uuid, p_doc jsonb";
1450
+ readonly returns: "jsonb";
1451
+ readonly security: "invoker";
1452
+ }, {
1453
+ readonly name: "entity_reference_words";
1454
+ readonly args: "p_organization_id uuid, p_refs jsonb";
1455
+ readonly returns: "jsonb";
1456
+ readonly security: "definer";
1342
1457
  }, {
1343
1458
  readonly name: "entity_table";
1344
1459
  readonly args: "p_token text";
@@ -1464,21 +1579,56 @@ declare const STORE_DOORS: readonly [{
1464
1579
  readonly args: "";
1465
1580
  readonly returns: "uuid";
1466
1581
  readonly security: "invoker";
1582
+ }, {
1583
+ readonly name: "filter_is_rule";
1584
+ readonly args: "p_filter jsonb";
1585
+ readonly returns: "boolean";
1586
+ readonly security: "invoker";
1467
1587
  }, {
1468
1588
  readonly name: "form_declare";
1469
1589
  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";
1470
1590
  readonly returns: "uuid";
1471
1591
  readonly security: "definer";
1592
+ }, {
1593
+ readonly name: "form_draft_read";
1594
+ readonly args: "p_form_id uuid, p_secret text";
1595
+ readonly returns: "TABLE(answers jsonb, saved_at timestamp with time zone, expires_at timestamp with time zone, state text, message text)";
1596
+ readonly security: "definer";
1597
+ }, {
1598
+ readonly name: "form_draft_save";
1599
+ 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";
1600
+ readonly returns: "TABLE(draft_secret text, saved_at timestamp with time zone, expires_at timestamp with time zone, state text, message text)";
1601
+ readonly security: "definer";
1472
1602
  }, {
1473
1603
  readonly name: "form_notify";
1474
1604
  readonly args: "p_organization_id uuid, p_form_id uuid, p_record_id uuid, p_submission_id uuid";
1475
1605
  readonly returns: "uuid";
1476
1606
  readonly security: "invoker";
1607
+ }, {
1608
+ readonly name: "form_preview_asks";
1609
+ readonly args: "p_organization_id uuid, p_table_id uuid, p_questions jsonb, p_values jsonb";
1610
+ readonly returns: "TABLE(field_key text, asked boolean, decided boolean, said text)";
1611
+ readonly security: "definer";
1477
1612
  }, {
1478
1613
  readonly name: "form_public";
1479
1614
  readonly args: "p_form_id uuid";
1480
1615
  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)";
1481
1616
  readonly security: "definer";
1617
+ }, {
1618
+ readonly name: "form_public_asks";
1619
+ readonly args: "p_form_id uuid, p_values jsonb, p_secret text DEFAULT NULL::text, p_origin text DEFAULT NULL::text";
1620
+ readonly returns: "TABLE(field_key text, asked boolean, decided boolean, said text)";
1621
+ readonly security: "definer";
1622
+ }, {
1623
+ readonly name: "form_redirect_domains";
1624
+ readonly args: "p_organization_id uuid";
1625
+ readonly returns: "text[]";
1626
+ readonly security: "invoker";
1627
+ }, {
1628
+ readonly name: "form_redirect_refusal";
1629
+ readonly args: "p_organization_id uuid, p_url text";
1630
+ readonly returns: "text";
1631
+ readonly security: "invoker";
1482
1632
  }, {
1483
1633
  readonly name: "form_slug";
1484
1634
  readonly args: "p_organization_id uuid, p_title text, p_form_id uuid DEFAULT NULL::uuid";
@@ -2014,6 +2164,11 @@ declare const STORE_DOORS: readonly [{
2014
2164
  readonly args: "p_organization_id uuid";
2015
2165
  readonly returns: "jsonb";
2016
2166
  readonly security: "definer";
2167
+ }, {
2168
+ readonly name: "organization_home_id";
2169
+ readonly args: "p_organization_id uuid";
2170
+ readonly returns: "uuid";
2171
+ readonly security: "invoker";
2017
2172
  }, {
2018
2173
  readonly name: "organization_kernel_id";
2019
2174
  readonly args: "";
@@ -2099,6 +2254,11 @@ declare const STORE_DOORS: readonly [{
2099
2254
  readonly args: "p_organization_id uuid, p_table_id uuid, p_measure text DEFAULT NULL::text";
2100
2255
  readonly returns: "TABLE(stage_key text, stage_label text, stage_position integer, cards bigint, total numeric, wip_limit integer, over_limit boolean)";
2101
2256
  readonly security: "definer";
2257
+ }, {
2258
+ readonly name: "pipeline_board";
2259
+ readonly args: "p_organization_id uuid, p_table_id uuid, p_measure text, p_filter jsonb";
2260
+ readonly returns: "TABLE(stage_key text, stage_label text, stage_position integer, cards bigint, total numeric, wip_limit integer, over_limit boolean)";
2261
+ readonly security: "definer";
2102
2262
  }, {
2103
2263
  readonly name: "pipeline_declare";
2104
2264
  readonly args: "p_organization_id uuid, p_table_id uuid, p_spec jsonb";
@@ -2114,6 +2274,11 @@ declare const STORE_DOORS: readonly [{
2114
2274
  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";
2115
2275
  readonly returns: "jsonb";
2116
2276
  readonly security: "definer";
2277
+ }, {
2278
+ readonly name: "pipeline_move_many";
2279
+ readonly args: "p_organization_id uuid, p_moves jsonb";
2280
+ readonly returns: "jsonb";
2281
+ readonly security: "definer";
2117
2282
  }, {
2118
2283
  readonly name: "pipeline_pending";
2119
2284
  readonly args: "p_organization_id uuid, p_table_id uuid";
@@ -2134,6 +2299,16 @@ declare const STORE_DOORS: readonly [{
2134
2299
  readonly args: "p_organization_id uuid";
2135
2300
  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)";
2136
2301
  readonly security: "definer";
2302
+ }, {
2303
+ readonly name: "plural_of";
2304
+ readonly args: "p_word text";
2305
+ readonly returns: "text";
2306
+ readonly security: "invoker";
2307
+ }, {
2308
+ readonly name: "portal_accents";
2309
+ readonly args: "";
2310
+ readonly returns: "text[]";
2311
+ readonly security: "invoker";
2137
2312
  }, {
2138
2313
  readonly name: "portal_admits";
2139
2314
  readonly args: "p_organization_id uuid, p_user_id uuid DEFAULT NULL::uuid";
@@ -2151,7 +2326,7 @@ declare const STORE_DOORS: readonly [{
2151
2326
  readonly security: "definer";
2152
2327
  }, {
2153
2328
  readonly name: "portal_declare";
2154
- 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";
2329
+ 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";
2155
2330
  readonly returns: "uuid";
2156
2331
  readonly security: "definer";
2157
2332
  }, {
@@ -2159,6 +2334,16 @@ declare const STORE_DOORS: readonly [{
2159
2334
  readonly args: "p_organization_id uuid, p_table_id uuid";
2160
2335
  readonly returns: "TABLE(field_id uuid, field_key text, field_type text, points_at uuid)";
2161
2336
  readonly security: "definer";
2337
+ }, {
2338
+ readonly name: "portal_form";
2339
+ readonly args: "p_organization_id uuid, p_portal_id uuid, p_form_id uuid";
2340
+ readonly returns: "jsonb";
2341
+ readonly security: "definer";
2342
+ }, {
2343
+ readonly name: "portal_form_submit";
2344
+ readonly args: "p_organization_id uuid, p_portal_id uuid, p_form_id uuid, p_payload jsonb, p_client_key text DEFAULT NULL::text";
2345
+ readonly returns: "jsonb";
2346
+ readonly security: "definer";
2162
2347
  }, {
2163
2348
  readonly name: "portal_invitation";
2164
2349
  readonly args: "p_slug text, p_email text";
@@ -2449,6 +2634,11 @@ declare const STORE_DOORS: readonly [{
2449
2634
  readonly args: "p_organization_id uuid, p_table_id uuid, p_record_ids uuid[], p_by_id boolean DEFAULT false";
2450
2635
  readonly returns: "TABLE(id uuid, document jsonb, level permission_level)";
2451
2636
  readonly security: "definer";
2637
+ }, {
2638
+ readonly name: "read_records_in_view_order";
2639
+ 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";
2640
+ readonly returns: "TABLE(id uuid, document jsonb, level permission_level, \"position\" numeric)";
2641
+ readonly security: "definer";
2452
2642
  }, {
2453
2643
  readonly name: "read_records_matching";
2454
2644
  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";
@@ -2461,8 +2651,8 @@ declare const STORE_DOORS: readonly [{
2461
2651
  readonly security: "definer";
2462
2652
  }, {
2463
2653
  readonly name: "record_aggregate";
2464
- 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";
2465
- readonly returns: "TABLE(groups jsonb, measures jsonb, row_count bigint)";
2654
+ 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";
2655
+ readonly returns: "TABLE(groups jsonb, measures jsonb, row_count bigint, prior_groups jsonb, prior_measures jsonb, prior_row_count bigint, delta jsonb, compare jsonb)";
2466
2656
  readonly security: "definer";
2467
2657
  }, {
2468
2658
  readonly name: "record_applicability";
@@ -2489,16 +2679,36 @@ declare const STORE_DOORS: readonly [{
2489
2679
  readonly args: "p_id uuid, p_data_class text, p_data jsonb, p_deleted_at timestamp with time zone";
2490
2680
  readonly returns: "TABLE(container_id uuid, item_id uuid, edge_role text)";
2491
2681
  readonly security: "invoker";
2682
+ }, {
2683
+ readonly name: "record_change_actions";
2684
+ readonly args: "p_organization_id uuid, p_table_id uuid";
2685
+ readonly returns: "jsonb";
2686
+ readonly security: "definer";
2492
2687
  }, {
2493
2688
  readonly name: "record_delete";
2494
2689
  readonly args: "p_organization_id uuid, p_record_id uuid";
2495
2690
  readonly returns: "timestamp with time zone";
2496
2691
  readonly security: "definer";
2692
+ }, {
2693
+ readonly name: "record_entity_edges";
2694
+ 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";
2695
+ readonly returns: "TABLE(target_type text, target_id uuid, edge_role text, field_id uuid, ord integer)";
2696
+ readonly security: "invoker";
2497
2697
  }, {
2498
2698
  readonly name: "record_filter_sql";
2499
2699
  readonly args: "p_filter jsonb";
2500
2700
  readonly returns: "text";
2501
2701
  readonly security: "invoker";
2702
+ }, {
2703
+ readonly name: "record_filter_sql";
2704
+ readonly args: "p_organization_id uuid, p_table_id uuid, p_filter jsonb";
2705
+ readonly returns: "text";
2706
+ readonly security: "invoker";
2707
+ }, {
2708
+ readonly name: "record_headers";
2709
+ readonly args: "p_organization_id uuid, p_ids uuid[]";
2710
+ 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)";
2711
+ readonly security: "definer";
2502
2712
  }, {
2503
2713
  readonly name: "record_history";
2504
2714
  readonly args: "p_organization_id uuid, p_record_id uuid, p_limit integer DEFAULT 200, p_offset integer DEFAULT 0";
@@ -2689,6 +2899,11 @@ declare const STORE_DOORS: readonly [{
2689
2899
  readonly args: "p_container_type text, p_container_id uuid, p_item_type text, p_item_id uuid";
2690
2900
  readonly returns: "bigint";
2691
2901
  readonly security: "definer";
2902
+ }, {
2903
+ readonly name: "resolve_context";
2904
+ readonly args: "p_entity_type text, p_entity_id uuid, p_record_ids uuid[] DEFAULT NULL::uuid[], p_table_ids uuid[] DEFAULT NULL::uuid[]";
2905
+ readonly returns: "jsonb";
2906
+ readonly security: "definer";
2692
2907
  }, {
2693
2908
  readonly name: "resolve_first_match";
2694
2909
  readonly args: "p_organization_id uuid, p_record_id uuid";
@@ -2749,6 +2964,11 @@ declare const STORE_DOORS: readonly [{
2749
2964
  readonly args: "p_organization_id uuid, p_field_id uuid";
2750
2965
  readonly returns: "text";
2751
2966
  readonly security: "invoker";
2967
+ }, {
2968
+ readonly name: "rule_filter_node_sql";
2969
+ readonly args: "p_organization_id uuid, p_table_id uuid, p_node jsonb, p_map jsonb, p_visible text[]";
2970
+ readonly returns: "text";
2971
+ readonly security: "invoker";
2752
2972
  }, {
2753
2973
  readonly name: "rule_kernel_id";
2754
2974
  readonly args: "";
@@ -2759,6 +2979,11 @@ declare const STORE_DOORS: readonly [{
2759
2979
  readonly args: "p_organization_id uuid, p_rule_id uuid";
2760
2980
  readonly returns: "SETOF custom.record";
2761
2981
  readonly security: "invoker";
2982
+ }, {
2983
+ readonly name: "rule_members_visible";
2984
+ readonly args: "p_organization_id uuid, p_rule_id uuid, p_limit integer DEFAULT 200, p_offset integer DEFAULT 0";
2985
+ readonly returns: "TABLE(id uuid, document jsonb, level permission_level)";
2986
+ readonly security: "definer";
2762
2987
  }, {
2763
2988
  readonly name: "rule_membership";
2764
2989
  readonly args: "p_organization_id uuid, p_rule_id uuid, p_record_id uuid";
@@ -2774,6 +2999,11 @@ declare const STORE_DOORS: readonly [{
2774
2999
  readonly args: "p_organization_id uuid, p_rule_id uuid, p_values jsonb, p_context jsonb DEFAULT '{}'::jsonb";
2775
3000
  readonly returns: "jsonb";
2776
3001
  readonly security: "invoker";
3002
+ }, {
3003
+ readonly name: "rule_sql_op";
3004
+ readonly args: "p_op text, p_a jsonb, p_b jsonb DEFAULT NULL::jsonb";
3005
+ readonly returns: "jsonb";
3006
+ readonly security: "invoker";
2777
3007
  }, {
2778
3008
  readonly name: "rule_truth";
2779
3009
  readonly args: "p_answer jsonb";
@@ -2794,6 +3024,16 @@ declare const STORE_DOORS: readonly [{
2794
3024
  readonly args: "p_value text, p_when_there_is_none text";
2795
3025
  readonly returns: "text";
2796
3026
  readonly security: "invoker";
3027
+ }, {
3028
+ readonly name: "scope_member_reaches";
3029
+ readonly args: "p_user_id uuid, p_record_id uuid, p_required permission_level DEFAULT 'viewer'::permission_level";
3030
+ readonly returns: "boolean";
3031
+ readonly security: "invoker";
3032
+ }, {
3033
+ readonly name: "scope_table_provision";
3034
+ readonly args: "p_organization_id uuid, p_item_id uuid, p_scope_id uuid, p_home_id uuid DEFAULT NULL::uuid";
3035
+ readonly returns: "uuid";
3036
+ readonly security: "definer";
2797
3037
  }, {
2798
3038
  readonly name: "share_access";
2799
3039
  readonly args: "p_organization_id uuid, p_subject_id uuid";
@@ -3022,7 +3262,7 @@ declare const STORE_DOORS: readonly [{
3022
3262
  }, {
3023
3263
  readonly name: "table_facts";
3024
3264
  readonly args: "p_organization_id uuid";
3025
- readonly returns: "TABLE(table_id uuid, visibility text, mine boolean)";
3265
+ 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)";
3026
3266
  readonly security: "definer";
3027
3267
  }, {
3028
3268
  readonly name: "table_from_example";
@@ -3034,6 +3274,11 @@ declare const STORE_DOORS: readonly [{
3034
3274
  readonly args: "p_user uuid, p_organization_id uuid, p_table_id uuid";
3035
3275
  readonly returns: "boolean";
3036
3276
  readonly security: "definer";
3277
+ }, {
3278
+ readonly name: "table_home";
3279
+ readonly args: "p_table_id uuid, p_to_organization_id uuid DEFAULT NULL::uuid";
3280
+ readonly returns: "jsonb";
3281
+ readonly security: "definer";
3037
3282
  }, {
3038
3283
  readonly name: "table_is_live";
3039
3284
  readonly args: "p_organization_id uuid, p_table_id uuid";
@@ -3044,11 +3289,31 @@ declare const STORE_DOORS: readonly [{
3044
3289
  readonly args: "p_organization_id uuid, p_table_id uuid";
3045
3290
  readonly returns: "boolean";
3046
3291
  readonly security: "invoker";
3292
+ }, {
3293
+ readonly name: "table_kept_for_derived";
3294
+ readonly args: "p_data jsonb, p_is_kernel boolean, p_is_options boolean";
3295
+ readonly returns: "text";
3296
+ readonly security: "invoker";
3047
3297
  }, {
3048
3298
  readonly name: "table_kernel_id";
3049
3299
  readonly args: "";
3050
3300
  readonly returns: "uuid";
3051
3301
  readonly security: "invoker";
3302
+ }, {
3303
+ readonly name: "table_list_everywhere";
3304
+ readonly args: "p_organization_id uuid";
3305
+ readonly returns: "jsonb";
3306
+ readonly security: "definer";
3307
+ }, {
3308
+ readonly name: "table_move";
3309
+ readonly args: "p_table_id uuid, p_to_organization_id uuid, p_expected_version integer DEFAULT NULL::integer";
3310
+ readonly returns: "jsonb";
3311
+ readonly security: "definer";
3312
+ }, {
3313
+ readonly name: "table_placement";
3314
+ readonly args: "p_organization_id uuid, p_table_id uuid, p_data jsonb, p_is_kernel boolean DEFAULT false";
3315
+ readonly returns: "jsonb";
3316
+ readonly security: "invoker";
3052
3317
  }, {
3053
3318
  readonly name: "table_record_ceiling";
3054
3319
  readonly args: "";
@@ -3059,6 +3324,11 @@ declare const STORE_DOORS: readonly [{
3059
3324
  readonly args: "p_organization_id uuid";
3060
3325
  readonly returns: "integer";
3061
3326
  readonly security: "invoker";
3327
+ }, {
3328
+ readonly name: "table_row_counts";
3329
+ readonly args: "p_organization_id uuid, p_table_ids uuid[]";
3330
+ readonly returns: "TABLE(table_id uuid, visible_rows bigint)";
3331
+ readonly security: "definer";
3062
3332
  }, {
3063
3333
  readonly name: "table_rules";
3064
3334
  readonly args: "p_organization_id uuid, p_table_id uuid, p_use text, p_record_type text DEFAULT NULL::text";
@@ -3079,6 +3349,11 @@ declare const STORE_DOORS: readonly [{
3079
3349
  readonly args: "";
3080
3350
  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)";
3081
3351
  readonly security: "definer";
3352
+ }, {
3353
+ readonly name: "table_share_outside_grant";
3354
+ readonly args: "p_organization_id uuid, p_table_id uuid, p_person text, p_level permission_level DEFAULT 'viewer'::permission_level";
3355
+ readonly returns: "jsonb";
3356
+ readonly security: "definer";
3082
3357
  }, {
3083
3358
  readonly name: "table_share_outside_invite";
3084
3359
  readonly args: "p_organization_id uuid, p_table_id uuid, p_email text, p_level permission_level DEFAULT 'viewer'::permission_level";
@@ -3104,6 +3379,11 @@ declare const STORE_DOORS: readonly [{
3104
3379
  readonly args: "p_organization_id uuid, p_table_id uuid";
3105
3380
  readonly returns: "text";
3106
3381
  readonly security: "invoker";
3382
+ }, {
3383
+ readonly name: "table_sync";
3384
+ readonly args: "p_organization_id uuid, p_home_id uuid, p_spec jsonb";
3385
+ readonly returns: "jsonb";
3386
+ readonly security: "definer";
3107
3387
  }, {
3108
3388
  readonly name: "table_type_field";
3109
3389
  readonly args: "p_organization_id uuid, p_table_id uuid";
@@ -3164,6 +3444,11 @@ declare const STORE_DOORS: readonly [{
3164
3444
  readonly args: "p_organization_id uuid, p_table_id uuid, p_data jsonb";
3165
3445
  readonly returns: "text[]";
3166
3446
  readonly security: "invoker";
3447
+ }, {
3448
+ readonly name: "unresolved_sources_of";
3449
+ readonly args: "p_sources jsonb, p_visible text[], p_by_id boolean DEFAULT false, p_key_ids jsonb DEFAULT '{}'::jsonb";
3450
+ readonly returns: "jsonb";
3451
+ readonly security: "invoker";
3167
3452
  }, {
3168
3453
  readonly name: "validate_custom_fields";
3169
3454
  readonly args: "p_token text, p_organization_id uuid, p_values jsonb";
@@ -3224,6 +3509,11 @@ declare const STORE_DOORS: readonly [{
3224
3509
  readonly args: "p_organization_id uuid, p_table_id uuid, p_spec jsonb";
3225
3510
  readonly returns: "uuid";
3226
3511
  readonly security: "definer";
3512
+ }, {
3513
+ readonly name: "view_record_order_set";
3514
+ readonly args: "p_organization_id uuid, p_view_id uuid, p_record_ids uuid[]";
3515
+ readonly returns: "jsonb";
3516
+ readonly security: "definer";
3227
3517
  }, {
3228
3518
  readonly name: "views";
3229
3519
  readonly args: "p_organization_id uuid, p_table_id uuid DEFAULT NULL::uuid";
@@ -3319,6 +3609,11 @@ declare const STORE_DOORS: readonly [{
3319
3609
  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";
3320
3610
  readonly returns: "jsonb";
3321
3611
  readonly security: "definer";
3612
+ }, {
3613
+ readonly name: "work_approval_withdrawal";
3614
+ readonly args: "p_organization_id uuid, p_data jsonb";
3615
+ readonly returns: "text";
3616
+ readonly security: "invoker";
3322
3617
  }, {
3323
3618
  readonly name: "work_assign";
3324
3619
  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";
@@ -3329,6 +3624,11 @@ declare const STORE_DOORS: readonly [{
3329
3624
  readonly args: "p_options_table_id uuid DEFAULT NULL::uuid";
3330
3625
  readonly returns: "TABLE(key text, label text, spec jsonb)";
3331
3626
  readonly security: "invoker";
3627
+ }, {
3628
+ readonly name: "work_decide_many";
3629
+ readonly args: "p_organization_id uuid, p_decisions jsonb";
3630
+ readonly returns: "jsonb";
3631
+ readonly security: "definer";
3332
3632
  }, {
3333
3633
  readonly name: "work_has_assignment";
3334
3634
  readonly args: "p_organization_id uuid, p_table_id uuid";
@@ -3337,7 +3637,7 @@ declare const STORE_DOORS: readonly [{
3337
3637
  }, {
3338
3638
  readonly name: "work_inbox";
3339
3639
  readonly args: "p_organization_id uuid, p_limit integer DEFAULT 50, p_offset integer DEFAULT 0, p_include_decided boolean DEFAULT false";
3340
- 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)";
3640
+ 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)";
3341
3641
  readonly security: "definer";
3342
3642
  }, {
3343
3643
  readonly name: "work_instantiation_shape";
@@ -3467,6 +3767,10 @@ declare const STORE_KNOBS: readonly [{
3467
3767
  readonly key: "associations_guard";
3468
3768
  readonly value: "true";
3469
3769
  readonly type: "boolean";
3770
+ }, {
3771
+ readonly key: "batch_items_max";
3772
+ readonly value: "500";
3773
+ readonly type: "integer";
3470
3774
  }, {
3471
3775
  readonly key: "code_paths_enabled";
3472
3776
  readonly value: "true";
@@ -3511,6 +3815,10 @@ declare const STORE_KNOBS: readonly [{
3511
3815
  readonly key: "containment_depth_ceiling";
3512
3816
  readonly value: "16";
3513
3817
  readonly type: "integer";
3818
+ }, {
3819
+ readonly key: "context_copy_following";
3820
+ readonly value: "true";
3821
+ readonly type: "boolean";
3514
3822
  }, {
3515
3823
  readonly key: "cross_organization_links";
3516
3824
  readonly value: "false";
@@ -3577,7 +3885,7 @@ declare const STORE_KNOBS: readonly [{
3577
3885
  readonly type: "integer";
3578
3886
  }, {
3579
3887
  readonly key: "external_principal_enabled";
3580
- readonly value: "false";
3888
+ readonly value: "true";
3581
3889
  readonly type: "boolean";
3582
3890
  }, {
3583
3891
  readonly key: "field_index_guard";
@@ -3587,6 +3895,22 @@ declare const STORE_KNOBS: readonly [{
3587
3895
  readonly key: "field_sensitivity_levels";
3588
3896
  readonly value: "{\"edit\": {\"public\": \"editor\", \"internal\": \"editor\", \"restricted\": \"admin\", \"confidential\": \"admin\"}, \"read\": {\"public\": \"viewer\", \"internal\": \"viewer\", \"restricted\": \"admin\", \"confidential\": \"editor\"}}";
3589
3897
  readonly type: "json";
3898
+ }, {
3899
+ readonly key: "form_draft_days";
3900
+ readonly value: "30";
3901
+ readonly type: "integer";
3902
+ }, {
3903
+ readonly key: "form_draft_max_bytes";
3904
+ readonly value: "65536";
3905
+ readonly type: "integer";
3906
+ }, {
3907
+ readonly key: "form_draft_saves_per_hour";
3908
+ readonly value: "240";
3909
+ readonly type: "integer";
3910
+ }, {
3911
+ readonly key: "form_redirect_domains";
3912
+ readonly value: "[]";
3913
+ readonly type: "json";
3590
3914
  }, {
3591
3915
  readonly key: "grid_layout";
3592
3916
  readonly value: "{\"mode\": \"auto\", \"wrap\": false, \"row_height\": \"normal\", \"fit_max_columns\": 8, \"freeze_first_column\": false}";
@@ -3647,6 +3971,10 @@ declare const STORE_KNOBS: readonly [{
3647
3971
  readonly key: "sandbox_org_components";
3648
3972
  readonly value: "true";
3649
3973
  readonly type: "boolean";
3974
+ }, {
3975
+ readonly key: "scope_members_admitted";
3976
+ readonly value: "true";
3977
+ readonly type: "boolean";
3650
3978
  }, {
3651
3979
  readonly key: "signup_provisioning_guard";
3652
3980
  readonly value: "false";
@@ -3663,14 +3991,30 @@ declare const STORE_KNOBS: readonly [{
3663
3991
  readonly key: "table_record_ceiling";
3664
3992
  readonly value: "150000";
3665
3993
  readonly type: "integer";
3994
+ }, {
3995
+ readonly key: "table_sync_rows_max";
3996
+ readonly value: "20000";
3997
+ readonly type: "integer";
3666
3998
  }, {
3667
3999
  readonly key: "table_webhooks_max";
3668
4000
  readonly value: "10";
3669
4001
  readonly type: "integer";
4002
+ }, {
4003
+ readonly key: "time_zone";
4004
+ readonly value: "\"UTC\"";
4005
+ readonly type: "string";
3670
4006
  }, {
3671
4007
  readonly key: "value_max_bytes";
3672
4008
  readonly value: "100000";
3673
4009
  readonly type: "integer";
4010
+ }, {
4011
+ readonly key: "view_record_order_max";
4012
+ readonly value: "20000";
4013
+ readonly type: "integer";
4014
+ }, {
4015
+ readonly key: "week_start";
4016
+ readonly value: "\"monday\"";
4017
+ readonly type: "enum";
3674
4018
  }, {
3675
4019
  readonly key: "world_publish_enabled";
3676
4020
  readonly value: "false";
@@ -3684,40 +4028,40 @@ declare const STORE_KNOBS: readonly [{
3684
4028
  */
3685
4029
  declare const STORE_REFUSAL_CODES: readonly [{
3686
4030
  readonly code: "02000";
3687
- 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";
4031
+ 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";
3688
4032
  }, {
3689
4033
  readonly code: "0A000";
3690
- 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";
4034
+ 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";
3691
4035
  }, {
3692
4036
  readonly code: "22003";
3693
4037
  readonly raised_by: "context_resolve";
3694
4038
  }, {
3695
4039
  readonly code: "22004";
3696
- 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";
4040
+ 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,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_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";
3697
4041
  }, {
3698
4042
  readonly code: "22007";
3699
- readonly raised_by: "dashboard_window_sql";
4043
+ readonly raised_by: "agg_parse_moment,dashboard_window_sql";
3700
4044
  }, {
3701
4045
  readonly code: "22012";
3702
- readonly raised_by: "formula_eval,rule_eval";
4046
+ readonly raised_by: "formula_eval,rule_eval,rule_sql_op";
3703
4047
  }, {
3704
4048
  readonly code: "22023";
3705
- 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";
4049
+ 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,_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,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_record_order_set,visibility_as_of,work_approval_request,work_decide_many,work_list,work_slot_hold";
3706
4050
  }, {
3707
4051
  readonly code: "23503";
3708
- 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";
4052
+ 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";
3709
4053
  }, {
3710
4054
  readonly code: "23505";
3711
- 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";
4055
+ 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";
3712
4056
  }, {
3713
4057
  readonly code: "23514";
3714
4058
  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";
3715
4059
  }, {
3716
4060
  readonly code: "40001";
3717
- readonly raised_by: "has_visibility_at";
4061
+ readonly raised_by: "has_visibility_at,table_move";
3718
4062
  }, {
3719
4063
  readonly code: "42501";
3720
- 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";
4064
+ 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,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";
3721
4065
  }, {
3722
4066
  readonly code: "42703";
3723
4067
  readonly raised_by: "entity_table,portal_declare";
@@ -3726,10 +4070,13 @@ declare const STORE_REFUSAL_CODES: readonly [{
3726
4070
  readonly raised_by: "anon_rate_take,delete_cascade_closure,enrich_due,enrich_land,promote_field";
3727
4071
  }, {
3728
4072
  readonly code: "54000";
3729
- readonly raised_by: "action_run,hub_changed_by,table_decorate,table_from_example,table_webhook_declare";
4073
+ 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";
3730
4074
  }, {
3731
4075
  readonly code: "54001";
3732
4076
  readonly raised_by: "record_delete";
4077
+ }, {
4078
+ readonly code: "55000";
4079
+ readonly raised_by: "table_move,work_approval_decide,work_approval_request";
3733
4080
  }, {
3734
4081
  readonly code: "P0001";
3735
4082
  readonly raised_by: "action_run";
@@ -3741,7 +4088,7 @@ declare const STORE_REFUSAL_CODES: readonly [{
3741
4088
  readonly raised_by: "_record_rule_uses";
3742
4089
  }];
3743
4090
  /** `platform.entity_types` — the registered tokens a Table or relation may name. */
3744
- 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"];
4091
+ 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"];
3745
4092
  type StoreRefusalCode = (typeof STORE_REFUSAL_CODES)[number]["code"];
3746
4093
  type StoreDoorName = (typeof STORE_DOORS)[number]["name"];
3747
4094
  type EntityToken = (typeof ENTITY_TOKENS)[number];