@ai-matrx/records 0.58.14 → 0.58.16

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.
@@ -974,11 +974,21 @@ declare const STORE_DOORS: readonly [{
974
974
  readonly args: "p_field jsonb, p_value jsonb";
975
975
  readonly returns: "jsonb";
976
976
  readonly security: "invoker";
977
+ }, {
978
+ readonly name: "choice_render_plan";
979
+ readonly args: "p_organization_id uuid, p_table_id uuid";
980
+ readonly returns: "jsonb";
981
+ readonly security: "invoker";
977
982
  }, {
978
983
  readonly name: "choice_render_value";
979
984
  readonly args: "p_field jsonb, p_value jsonb";
980
985
  readonly returns: "jsonb";
981
986
  readonly security: "invoker";
987
+ }, {
988
+ readonly name: "choice_render_with";
989
+ readonly args: "p_organization_id uuid, p_table_id uuid, p_doc jsonb, p_plan jsonb";
990
+ readonly returns: "jsonb";
991
+ readonly security: "invoker";
982
992
  }, {
983
993
  readonly name: "choice_slug";
984
994
  readonly args: "p_word text";
@@ -1064,11 +1074,6 @@ declare const STORE_DOORS: readonly [{
1064
1074
  readonly args: "p_bindings jsonb";
1065
1075
  readonly returns: "jsonb";
1066
1076
  readonly security: "definer";
1067
- }, {
1068
- readonly name: "context_resolve";
1069
- readonly args: "p_organization_id uuid, p_bindings jsonb, p_scope_slug text DEFAULT 'scopes'::text";
1070
- readonly returns: "jsonb";
1071
- readonly security: "definer";
1072
1077
  }, {
1073
1078
  readonly name: "context_tag_copy";
1074
1079
  readonly args: "p_organization_id uuid";
@@ -1474,11 +1479,21 @@ declare const STORE_DOORS: readonly [{
1474
1479
  readonly args: "p_organization_id uuid, p_table_id uuid, p_doc jsonb";
1475
1480
  readonly returns: "jsonb";
1476
1481
  readonly security: "invoker";
1482
+ }, {
1483
+ readonly name: "entity_reference_render_with";
1484
+ readonly args: "p_organization_id uuid, p_table_id uuid, p_doc jsonb, p_fields jsonb";
1485
+ readonly returns: "jsonb";
1486
+ readonly security: "invoker";
1477
1487
  }, {
1478
1488
  readonly name: "entity_reference_rows";
1479
1489
  readonly args: "p_organization_id uuid, p_token text, p_ids uuid[]";
1480
1490
  readonly returns: "jsonb";
1481
1491
  readonly security: "invoker";
1492
+ }, {
1493
+ readonly name: "entity_reference_target";
1494
+ readonly args: "p_token text";
1495
+ readonly returns: "jsonb";
1496
+ readonly security: "definer";
1482
1497
  }, {
1483
1498
  readonly name: "entity_reference_words";
1484
1499
  readonly args: "p_organization_id uuid, p_refs jsonb";
@@ -2099,6 +2114,11 @@ declare const STORE_DOORS: readonly [{
2099
2114
  readonly args: "";
2100
2115
  readonly returns: "permission_level";
2101
2116
  readonly security: "definer";
2117
+ }, {
2118
+ readonly name: "levels_of";
2119
+ readonly args: "p_user_id uuid, p_ids uuid[]";
2120
+ readonly returns: "jsonb";
2121
+ readonly security: "definer";
2102
2122
  }, {
2103
2123
  readonly name: "levels_raised_by_a_less_specific_rung";
2104
2124
  readonly args: "";
@@ -2144,6 +2164,11 @@ declare const STORE_DOORS: readonly [{
2144
2164
  readonly args: "p_organization_id uuid, p_table_id uuid";
2145
2165
  readonly returns: "boolean";
2146
2166
  readonly security: "definer";
2167
+ }, {
2168
+ readonly name: "member_personal_tables";
2169
+ readonly args: "p_organization_id uuid, p_person uuid";
2170
+ readonly returns: "jsonb";
2171
+ readonly security: "definer";
2147
2172
  }, {
2148
2173
  readonly name: "merge_field_kernel_id";
2149
2174
  readonly args: "";
@@ -2699,6 +2724,16 @@ declare const STORE_DOORS: readonly [{
2699
2724
  readonly args: "p_organization_id uuid, p_record_id uuid, p_action text DEFAULT 'read'::text";
2700
2725
  readonly returns: "jsonb";
2701
2726
  readonly security: "definer";
2727
+ }, {
2728
+ readonly name: "read_mask_at";
2729
+ readonly args: "p_record_id uuid, p_level_given boolean, p_level permission_level, p_action text DEFAULT 'read'::text";
2730
+ readonly returns: "jsonb";
2731
+ readonly security: "definer";
2732
+ }, {
2733
+ readonly name: "read_mask_for";
2734
+ readonly args: "p_user_id uuid, p_organization_id uuid, p_table_id uuid, p_level permission_level, p_action text DEFAULT 'read'::text";
2735
+ readonly returns: "jsonb";
2736
+ readonly security: "definer";
2702
2737
  }, {
2703
2738
  readonly name: "read_paths_outside_the_door";
2704
2739
  readonly args: "";
@@ -2899,6 +2934,11 @@ declare const STORE_DOORS: readonly [{
2899
2934
  readonly args: "p_row custom.record";
2900
2935
  readonly returns: "jsonb";
2901
2936
  readonly security: "invoker";
2937
+ }, {
2938
+ readonly name: "record_values_step";
2939
+ readonly args: "p_row custom.record, p_cache jsonb DEFAULT '{}'::jsonb, OUT o_doc jsonb, OUT o_cache jsonb";
2940
+ readonly returns: "record";
2941
+ readonly security: "invoker";
2902
2942
  }, {
2903
2943
  readonly name: "record_values_versioned";
2904
2944
  readonly args: "p_organization_id uuid, p_record_id uuid";
@@ -3011,7 +3051,7 @@ declare const STORE_DOORS: readonly [{
3011
3051
  readonly security: "definer";
3012
3052
  }, {
3013
3053
  readonly name: "resolve_context";
3014
- readonly args: "p_entity_type text, p_entity_id uuid, p_record_ids uuid[] DEFAULT NULL::uuid[], p_table_ids uuid[] DEFAULT NULL::uuid[]";
3054
+ readonly args: "p_entity_type text, p_entity_id uuid, p_record_ids uuid[] DEFAULT NULL::uuid[], p_table_ids uuid[] DEFAULT NULL::uuid[], p_system_item_refs text[] DEFAULT NULL::text[]";
3015
3055
  readonly returns: "jsonb";
3016
3056
  readonly security: "definer";
3017
3057
  }, {
@@ -3039,6 +3079,11 @@ declare const STORE_DOORS: readonly [{
3039
3079
  readonly args: "p_organization_id uuid, p_table_id uuid";
3040
3080
  readonly returns: "jsonb";
3041
3081
  readonly security: "definer";
3082
+ }, {
3083
+ readonly name: "row_sits_in_a_personal_table";
3084
+ readonly args: "p_type text, p_organization_id uuid, p_id uuid";
3085
+ readonly returns: "boolean";
3086
+ readonly security: "invoker";
3042
3087
  }, {
3043
3088
  readonly name: "rule_applies";
3044
3089
  readonly args: "p_organization_id uuid, p_rule_id uuid, p_record_id uuid";
@@ -3499,6 +3544,11 @@ declare const STORE_DOORS: readonly [{
3499
3544
  readonly args: "p_organization_id uuid, p_home_id uuid, p_spec jsonb";
3500
3545
  readonly returns: "jsonb";
3501
3546
  readonly security: "definer";
3547
+ }, {
3548
+ readonly name: "table_transfer_owner";
3549
+ readonly args: "p_table_id uuid, p_to_person uuid, p_reason text";
3550
+ readonly returns: "jsonb";
3551
+ readonly security: "definer";
3502
3552
  }, {
3503
3553
  readonly name: "table_type_field";
3504
3554
  readonly args: "p_organization_id uuid, p_table_id uuid";
@@ -3644,6 +3694,16 @@ declare const STORE_DOORS: readonly [{
3644
3694
  readonly args: "p_organization_id uuid, p_table_id uuid, p_set jsonb, p_old jsonb DEFAULT '{}'::jsonb";
3645
3695
  readonly returns: "jsonb";
3646
3696
  readonly security: "invoker";
3697
+ }, {
3698
+ readonly name: "view_look_read";
3699
+ readonly args: "p_organization_id uuid, p_table_id uuid";
3700
+ readonly returns: "jsonb";
3701
+ readonly security: "definer";
3702
+ }, {
3703
+ readonly name: "view_look_set";
3704
+ readonly args: "p_organization_id uuid, p_table_id uuid, p_view_id uuid, p_look jsonb";
3705
+ readonly returns: "jsonb";
3706
+ readonly security: "definer";
3647
3707
  }, {
3648
3708
  readonly name: "view_record_order_set";
3649
3709
  readonly args: "p_organization_id uuid, p_view_id uuid, p_record_ids uuid[]";
@@ -4194,7 +4254,7 @@ declare const STORE_KNOBS: readonly [{
4194
4254
  */
4195
4255
  declare const STORE_REFUSAL_CODES: readonly [{
4196
4256
  readonly code: "02000";
4197
- 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";
4257
+ readonly raised_by: "_checklist_instantiate,_portal_config_judge,_portal_invite_payload,_read_record_with,_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,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";
4198
4258
  }, {
4199
4259
  readonly code: "0A000";
4200
4260
  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";
@@ -4203,7 +4263,7 @@ declare const STORE_REFUSAL_CODES: readonly [{
4203
4263
  readonly raised_by: "context_resolve";
4204
4264
  }, {
4205
4265
  readonly code: "22004";
4206
- readonly raised_by: "_entity_custom_fields_guard,_portal_config_judge,_share_write_person,_value_envelope,actor_word,agg_assert_key,agg_compare_windows,agg_sql,anon_capture,anon_token_issue,anon_write,assert_client_may_reach,booking_declare,capture_submit,checklist_declare,context_resolve,context_tag_copy,dashboard_block_normalize,dashboard_declare,dashboard_window_sql,doc_render_write,doc_sign,doc_signature_write,doc_template_save,enrich_land,enrich_normalize,external_history_event,external_rows,external_source_declare,external_stub_upsert,external_write_through,external_writes_set,field_history,form_declare,form_submit,home_add,inbox_snooze,io_comment_write,io_import_begin,io_infer_column,io_outbox_drain,io_restore,migrate_choice_keys,migrate_purge,migrate_purge_hard,migrate_reclass,migrate_split,migrate_undo,organization_clear,organization_contents,pipeline_declare,pipeline_gate_preview,portal_declare,portal_form_submit,portal_invite,portal_principal_bind,provenance_retention_days,provenance_write,query_across_homes,query_by_coordinates,query_rollup,record_delete,record_reparent,record_resolve,record_restore,record_update,record_write,record_write_graph,record_write_many,relation_carry,relation_halves_repair,relation_own,rule_declare,share_grant,sign_request_create,sign_request_sign,subscription_declare,table_archive,table_declare,table_move,table_share_outside_grant,table_share_outside_invite,value_restore,view_declare,view_designate,work_approval_decide,work_approval_request,work_template_declare";
4266
+ readonly raised_by: "_entity_custom_fields_guard,_portal_config_judge,_share_write_person,_value_envelope,actor_word,agg_assert_key,agg_compare_windows,agg_sql,anon_capture,anon_token_issue,anon_write,assert_client_may_reach,booking_declare,capture_submit,checklist_declare,context_resolve,context_tag_copy,dashboard_block_normalize,dashboard_declare,dashboard_window_sql,doc_render_write,doc_sign,doc_signature_write,doc_template_save,enrich_land,enrich_normalize,external_history_event,external_rows,external_source_declare,external_stub_upsert,external_write_through,external_writes_set,field_history,form_declare,form_submit,home_add,inbox_snooze,io_comment_write,io_import_begin,io_infer_column,io_outbox_drain,io_restore,migrate_choice_keys,migrate_purge,migrate_purge_hard,migrate_reclass,migrate_split,migrate_undo,organization_clear,organization_contents,pipeline_declare,pipeline_gate_preview,portal_declare,portal_form_submit,portal_invite,portal_principal_bind,provenance_retention_days,provenance_write,query_across_homes,query_by_coordinates,query_rollup,record_delete,record_reparent,record_resolve,record_restore,record_update,record_write,record_write_graph,record_write_many,relation_carry,relation_halves_repair,relation_own,rule_declare,share_grant,sign_request_create,sign_request_sign,subscription_declare,table_archive,table_declare,table_move,table_share_outside_grant,table_share_outside_invite,value_restore,view_declare,view_designate,view_look_read,view_look_set,work_approval_decide,work_approval_request,work_template_declare";
4207
4267
  }, {
4208
4268
  readonly code: "22007";
4209
4269
  readonly raised_by: "agg_parse_moment,dashboard_window_sql";
@@ -4212,10 +4272,10 @@ declare const STORE_REFUSAL_CODES: readonly [{
4212
4272
  readonly raised_by: "formula_eval,rule_eval,rule_sql_op";
4213
4273
  }, {
4214
4274
  readonly code: "22023";
4215
- readonly raised_by: "_action_check,_booking_availability,_decorations_check,_entity_custom_fields_guard,_fx_date,_fx_num,_fx_unit,_fxp_level,_fxp_resolve,_fxp_tokens,_portal_config_judge,_take_op_id,_value_envelope,_view_field_key,_view_key_value,_work_shape_guard,action_run,actor_word,agg_assert_key,agg_calendar,agg_compare_windows,agg_sql,anon_token_issue,booking_declare,containment_parent,dashboard_block_normalize,dashboard_run,dashboard_target_field_assert,dashboard_window_sql,doc_render_body,doc_render_write,doc_signature_write,enrich_declare,enrich_land,enrich_normalize,enrich_pin,entity_reference_rows,entity_reference_words,entity_value_write,external_history_event,external_source_declare,external_stub_upsert,external_write_through,field_history,field_update,form_declare,form_draft_save,formula_eval,formula_parse,grid_layout_check,hub_changed_by,inbox_snooze,io_export,io_import_begin,io_import_finish,io_import_plan,io_import_report,io_proposal_accept,list_portals,migrate_merge,migrate_reclass,my_levels,organization_clear,page_size,pin_agent_cells,pipeline_move,pipeline_move_many,portal_declare,portal_form_submit,provenance_write,query_by_coordinates,query_rollup,read_records_archived,read_records_in_view_order,record_filter_sql,record_update,record_write_graph,record_write_many,relation_carry,rule_eval,rule_filter_node_sql,rule_members,rule_members_visible,rule_sql_op,scope_table_provision,share_grant,share_lane_set,sign_request_create,sign_request_sign,subscription_declare,table_from_example,table_move,table_rules,table_share_outside_grant,table_sync,table_webhook_declare,view_declare,view_keys_check,view_record_order_set,visibility_as_of,where_tables_live,work_approval_request,work_decide_many,work_inbox,work_list,work_slot_hold";
4275
+ readonly raised_by: "_action_check,_booking_availability,_decorations_check,_entity_custom_fields_guard,_fx_date,_fx_num,_fx_unit,_fxp_level,_fxp_resolve,_fxp_tokens,_portal_config_judge,_take_op_id,_value_envelope,_view_field_key,_view_key_value,_work_shape_guard,action_run,actor_word,agg_assert_key,agg_calendar,agg_compare_windows,agg_sql,anon_token_issue,booking_declare,containment_parent,dashboard_block_normalize,dashboard_run,dashboard_target_field_assert,dashboard_window_sql,doc_render_body,doc_render_write,doc_signature_write,enrich_declare,enrich_land,enrich_normalize,enrich_pin,entity_reference_rows,entity_reference_words,entity_value_write,external_history_event,external_source_declare,external_stub_upsert,external_write_through,field_history,field_update,form_declare,form_draft_save,formula_eval,formula_parse,grid_layout_check,hub_changed_by,inbox_snooze,io_export,io_import_begin,io_import_finish,io_import_plan,io_import_report,io_proposal_accept,list_portals,migrate_merge,migrate_reclass,my_levels,organization_clear,page_size,pin_agent_cells,pipeline_move,pipeline_move_many,portal_declare,portal_form_submit,provenance_write,query_by_coordinates,query_rollup,read_records_archived,read_records_in_view_order,record_filter_sql,record_update,record_write_graph,record_write_many,relation_carry,rule_eval,rule_filter_node_sql,rule_members,rule_members_visible,rule_sql_op,scope_table_provision,share_grant,share_lane_set,sign_request_create,sign_request_sign,subscription_declare,table_from_example,table_move,table_rules,table_share_outside_grant,table_sync,table_transfer_owner,table_webhook_declare,view_declare,view_keys_check,view_look_set,view_record_order_set,visibility_as_of,where_tables_live,work_approval_request,work_decide_many,work_inbox,work_list,work_slot_hold";
4216
4276
  }, {
4217
4277
  readonly code: "23503";
4218
- 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_designate,view_record_order_set,work_set_state,work_take_assignment,work_template_instantiate";
4278
+ 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_designate,view_look_set,view_record_order_set,work_set_state,work_take_assignment,work_template_instantiate";
4219
4279
  }, {
4220
4280
  readonly code: "23505";
4221
4281
  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";
@@ -4227,7 +4287,7 @@ declare const STORE_REFUSAL_CODES: readonly [{
4227
4287
  readonly raised_by: "has_visibility_at,table_move";
4228
4288
  }, {
4229
4289
  readonly code: "42501";
4230
- readonly raised_by: "_context_copy_fence,_doc_render_immutable,_doc_signature_immutable,_field_definition_write,_field_write_door,_portal_config_judge,_portal_principal_here,_rule_definition_write,_store_door,agent_table_claim,agg_fields_readable_assert,anon_capture,anon_inbound_land,anon_publish,anon_token_issue,anon_token_verify,anon_write,assert_client_may_change,assert_client_may_open,assert_client_may_reach,assert_may_know_table,assert_organization_admin,assert_store_door,booking_confirm,booking_declare,booking_hold,capture_submit,checklist_run,comment_write,context_resolve,conversation_scope_bind,conversation_scope_unbind,dashboard_target_field_assert,doc_sign,enrich_declare,enrich_due,enrich_land,enrich_normalize,entity_field_declare,entity_field_retire,entity_field_update,entity_value_write,external_write_through,form_declare,form_draft_save,form_public_asks,form_submit,inbound_mail_land,inbox_clear,inbox_snooze,inbox_unclear,inbox_unsnooze,io_comment_resolve,io_comment_write,io_import_begin,io_import_finish,io_restore,migrate_purge,migrate_purge_hard,migrate_purge_hard_request,migrate_reclass,my_levels,organization_clear,organization_contents,portal_declare,portal_form,portal_form_submit,portal_invitation,portal_invite,portal_invite_accept,portal_principal_bind,promote_table,query_visibility_parity,read_record,read_records,read_records_archived,read_records_by_ids,read_records_matching,record_table,record_write_graph,relation_halves_disagreements,relation_halves_repair,resolve_context,scope_table_provision,share_grant,subscription_mute,subscription_preview,table_move,table_share_outside_accept,table_share_outside_grant,table_share_outside_invite,table_share_outside_resend,table_webhook_declare,visibility_as_of,where_tables_live,work_approval_decide,work_approval_read,work_approval_request,work_person";
4290
+ readonly raised_by: "_context_copy_fence,_doc_render_immutable,_doc_signature_immutable,_field_definition_write,_field_write_door,_portal_config_judge,_portal_principal_here,_read_record_with,_rule_definition_write,_store_door,agent_table_claim,agg_fields_readable_assert,anon_capture,anon_inbound_land,anon_publish,anon_token_issue,anon_token_verify,anon_write,assert_client_may_change,assert_client_may_open,assert_client_may_reach,assert_may_know_table,assert_organization_admin,assert_store_door,booking_confirm,booking_declare,booking_hold,capture_submit,checklist_run,comment_write,context_resolve,conversation_scope_bind,conversation_scope_unbind,dashboard_target_field_assert,doc_sign,enrich_declare,enrich_due,enrich_land,enrich_normalize,entity_field_declare,entity_field_retire,entity_field_update,entity_value_write,external_write_through,form_declare,form_draft_save,form_public_asks,form_submit,inbound_mail_land,inbox_clear,inbox_snooze,inbox_unclear,inbox_unsnooze,io_comment_resolve,io_comment_write,io_import_begin,io_import_finish,io_restore,member_personal_tables,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_transfer_owner,table_webhook_declare,view_declare,view_look_set,view_record_order_set,visibility_as_of,where_tables_live,work_approval_decide,work_approval_read,work_approval_request,work_person";
4231
4291
  }, {
4232
4292
  readonly code: "42703";
4233
4293
  readonly raised_by: "entity_table,portal_declare";
@@ -974,11 +974,21 @@ declare const STORE_DOORS: readonly [{
974
974
  readonly args: "p_field jsonb, p_value jsonb";
975
975
  readonly returns: "jsonb";
976
976
  readonly security: "invoker";
977
+ }, {
978
+ readonly name: "choice_render_plan";
979
+ readonly args: "p_organization_id uuid, p_table_id uuid";
980
+ readonly returns: "jsonb";
981
+ readonly security: "invoker";
977
982
  }, {
978
983
  readonly name: "choice_render_value";
979
984
  readonly args: "p_field jsonb, p_value jsonb";
980
985
  readonly returns: "jsonb";
981
986
  readonly security: "invoker";
987
+ }, {
988
+ readonly name: "choice_render_with";
989
+ readonly args: "p_organization_id uuid, p_table_id uuid, p_doc jsonb, p_plan jsonb";
990
+ readonly returns: "jsonb";
991
+ readonly security: "invoker";
982
992
  }, {
983
993
  readonly name: "choice_slug";
984
994
  readonly args: "p_word text";
@@ -1064,11 +1074,6 @@ declare const STORE_DOORS: readonly [{
1064
1074
  readonly args: "p_bindings jsonb";
1065
1075
  readonly returns: "jsonb";
1066
1076
  readonly security: "definer";
1067
- }, {
1068
- readonly name: "context_resolve";
1069
- readonly args: "p_organization_id uuid, p_bindings jsonb, p_scope_slug text DEFAULT 'scopes'::text";
1070
- readonly returns: "jsonb";
1071
- readonly security: "definer";
1072
1077
  }, {
1073
1078
  readonly name: "context_tag_copy";
1074
1079
  readonly args: "p_organization_id uuid";
@@ -1474,11 +1479,21 @@ declare const STORE_DOORS: readonly [{
1474
1479
  readonly args: "p_organization_id uuid, p_table_id uuid, p_doc jsonb";
1475
1480
  readonly returns: "jsonb";
1476
1481
  readonly security: "invoker";
1482
+ }, {
1483
+ readonly name: "entity_reference_render_with";
1484
+ readonly args: "p_organization_id uuid, p_table_id uuid, p_doc jsonb, p_fields jsonb";
1485
+ readonly returns: "jsonb";
1486
+ readonly security: "invoker";
1477
1487
  }, {
1478
1488
  readonly name: "entity_reference_rows";
1479
1489
  readonly args: "p_organization_id uuid, p_token text, p_ids uuid[]";
1480
1490
  readonly returns: "jsonb";
1481
1491
  readonly security: "invoker";
1492
+ }, {
1493
+ readonly name: "entity_reference_target";
1494
+ readonly args: "p_token text";
1495
+ readonly returns: "jsonb";
1496
+ readonly security: "definer";
1482
1497
  }, {
1483
1498
  readonly name: "entity_reference_words";
1484
1499
  readonly args: "p_organization_id uuid, p_refs jsonb";
@@ -2099,6 +2114,11 @@ declare const STORE_DOORS: readonly [{
2099
2114
  readonly args: "";
2100
2115
  readonly returns: "permission_level";
2101
2116
  readonly security: "definer";
2117
+ }, {
2118
+ readonly name: "levels_of";
2119
+ readonly args: "p_user_id uuid, p_ids uuid[]";
2120
+ readonly returns: "jsonb";
2121
+ readonly security: "definer";
2102
2122
  }, {
2103
2123
  readonly name: "levels_raised_by_a_less_specific_rung";
2104
2124
  readonly args: "";
@@ -2144,6 +2164,11 @@ declare const STORE_DOORS: readonly [{
2144
2164
  readonly args: "p_organization_id uuid, p_table_id uuid";
2145
2165
  readonly returns: "boolean";
2146
2166
  readonly security: "definer";
2167
+ }, {
2168
+ readonly name: "member_personal_tables";
2169
+ readonly args: "p_organization_id uuid, p_person uuid";
2170
+ readonly returns: "jsonb";
2171
+ readonly security: "definer";
2147
2172
  }, {
2148
2173
  readonly name: "merge_field_kernel_id";
2149
2174
  readonly args: "";
@@ -2699,6 +2724,16 @@ declare const STORE_DOORS: readonly [{
2699
2724
  readonly args: "p_organization_id uuid, p_record_id uuid, p_action text DEFAULT 'read'::text";
2700
2725
  readonly returns: "jsonb";
2701
2726
  readonly security: "definer";
2727
+ }, {
2728
+ readonly name: "read_mask_at";
2729
+ readonly args: "p_record_id uuid, p_level_given boolean, p_level permission_level, p_action text DEFAULT 'read'::text";
2730
+ readonly returns: "jsonb";
2731
+ readonly security: "definer";
2732
+ }, {
2733
+ readonly name: "read_mask_for";
2734
+ readonly args: "p_user_id uuid, p_organization_id uuid, p_table_id uuid, p_level permission_level, p_action text DEFAULT 'read'::text";
2735
+ readonly returns: "jsonb";
2736
+ readonly security: "definer";
2702
2737
  }, {
2703
2738
  readonly name: "read_paths_outside_the_door";
2704
2739
  readonly args: "";
@@ -2899,6 +2934,11 @@ declare const STORE_DOORS: readonly [{
2899
2934
  readonly args: "p_row custom.record";
2900
2935
  readonly returns: "jsonb";
2901
2936
  readonly security: "invoker";
2937
+ }, {
2938
+ readonly name: "record_values_step";
2939
+ readonly args: "p_row custom.record, p_cache jsonb DEFAULT '{}'::jsonb, OUT o_doc jsonb, OUT o_cache jsonb";
2940
+ readonly returns: "record";
2941
+ readonly security: "invoker";
2902
2942
  }, {
2903
2943
  readonly name: "record_values_versioned";
2904
2944
  readonly args: "p_organization_id uuid, p_record_id uuid";
@@ -3011,7 +3051,7 @@ declare const STORE_DOORS: readonly [{
3011
3051
  readonly security: "definer";
3012
3052
  }, {
3013
3053
  readonly name: "resolve_context";
3014
- readonly args: "p_entity_type text, p_entity_id uuid, p_record_ids uuid[] DEFAULT NULL::uuid[], p_table_ids uuid[] DEFAULT NULL::uuid[]";
3054
+ readonly args: "p_entity_type text, p_entity_id uuid, p_record_ids uuid[] DEFAULT NULL::uuid[], p_table_ids uuid[] DEFAULT NULL::uuid[], p_system_item_refs text[] DEFAULT NULL::text[]";
3015
3055
  readonly returns: "jsonb";
3016
3056
  readonly security: "definer";
3017
3057
  }, {
@@ -3039,6 +3079,11 @@ declare const STORE_DOORS: readonly [{
3039
3079
  readonly args: "p_organization_id uuid, p_table_id uuid";
3040
3080
  readonly returns: "jsonb";
3041
3081
  readonly security: "definer";
3082
+ }, {
3083
+ readonly name: "row_sits_in_a_personal_table";
3084
+ readonly args: "p_type text, p_organization_id uuid, p_id uuid";
3085
+ readonly returns: "boolean";
3086
+ readonly security: "invoker";
3042
3087
  }, {
3043
3088
  readonly name: "rule_applies";
3044
3089
  readonly args: "p_organization_id uuid, p_rule_id uuid, p_record_id uuid";
@@ -3499,6 +3544,11 @@ declare const STORE_DOORS: readonly [{
3499
3544
  readonly args: "p_organization_id uuid, p_home_id uuid, p_spec jsonb";
3500
3545
  readonly returns: "jsonb";
3501
3546
  readonly security: "definer";
3547
+ }, {
3548
+ readonly name: "table_transfer_owner";
3549
+ readonly args: "p_table_id uuid, p_to_person uuid, p_reason text";
3550
+ readonly returns: "jsonb";
3551
+ readonly security: "definer";
3502
3552
  }, {
3503
3553
  readonly name: "table_type_field";
3504
3554
  readonly args: "p_organization_id uuid, p_table_id uuid";
@@ -3644,6 +3694,16 @@ declare const STORE_DOORS: readonly [{
3644
3694
  readonly args: "p_organization_id uuid, p_table_id uuid, p_set jsonb, p_old jsonb DEFAULT '{}'::jsonb";
3645
3695
  readonly returns: "jsonb";
3646
3696
  readonly security: "invoker";
3697
+ }, {
3698
+ readonly name: "view_look_read";
3699
+ readonly args: "p_organization_id uuid, p_table_id uuid";
3700
+ readonly returns: "jsonb";
3701
+ readonly security: "definer";
3702
+ }, {
3703
+ readonly name: "view_look_set";
3704
+ readonly args: "p_organization_id uuid, p_table_id uuid, p_view_id uuid, p_look jsonb";
3705
+ readonly returns: "jsonb";
3706
+ readonly security: "definer";
3647
3707
  }, {
3648
3708
  readonly name: "view_record_order_set";
3649
3709
  readonly args: "p_organization_id uuid, p_view_id uuid, p_record_ids uuid[]";
@@ -4194,7 +4254,7 @@ declare const STORE_KNOBS: readonly [{
4194
4254
  */
4195
4255
  declare const STORE_REFUSAL_CODES: readonly [{
4196
4256
  readonly code: "02000";
4197
- 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";
4257
+ readonly raised_by: "_checklist_instantiate,_portal_config_judge,_portal_invite_payload,_read_record_with,_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,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";
4198
4258
  }, {
4199
4259
  readonly code: "0A000";
4200
4260
  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";
@@ -4203,7 +4263,7 @@ declare const STORE_REFUSAL_CODES: readonly [{
4203
4263
  readonly raised_by: "context_resolve";
4204
4264
  }, {
4205
4265
  readonly code: "22004";
4206
- readonly raised_by: "_entity_custom_fields_guard,_portal_config_judge,_share_write_person,_value_envelope,actor_word,agg_assert_key,agg_compare_windows,agg_sql,anon_capture,anon_token_issue,anon_write,assert_client_may_reach,booking_declare,capture_submit,checklist_declare,context_resolve,context_tag_copy,dashboard_block_normalize,dashboard_declare,dashboard_window_sql,doc_render_write,doc_sign,doc_signature_write,doc_template_save,enrich_land,enrich_normalize,external_history_event,external_rows,external_source_declare,external_stub_upsert,external_write_through,external_writes_set,field_history,form_declare,form_submit,home_add,inbox_snooze,io_comment_write,io_import_begin,io_infer_column,io_outbox_drain,io_restore,migrate_choice_keys,migrate_purge,migrate_purge_hard,migrate_reclass,migrate_split,migrate_undo,organization_clear,organization_contents,pipeline_declare,pipeline_gate_preview,portal_declare,portal_form_submit,portal_invite,portal_principal_bind,provenance_retention_days,provenance_write,query_across_homes,query_by_coordinates,query_rollup,record_delete,record_reparent,record_resolve,record_restore,record_update,record_write,record_write_graph,record_write_many,relation_carry,relation_halves_repair,relation_own,rule_declare,share_grant,sign_request_create,sign_request_sign,subscription_declare,table_archive,table_declare,table_move,table_share_outside_grant,table_share_outside_invite,value_restore,view_declare,view_designate,work_approval_decide,work_approval_request,work_template_declare";
4266
+ readonly raised_by: "_entity_custom_fields_guard,_portal_config_judge,_share_write_person,_value_envelope,actor_word,agg_assert_key,agg_compare_windows,agg_sql,anon_capture,anon_token_issue,anon_write,assert_client_may_reach,booking_declare,capture_submit,checklist_declare,context_resolve,context_tag_copy,dashboard_block_normalize,dashboard_declare,dashboard_window_sql,doc_render_write,doc_sign,doc_signature_write,doc_template_save,enrich_land,enrich_normalize,external_history_event,external_rows,external_source_declare,external_stub_upsert,external_write_through,external_writes_set,field_history,form_declare,form_submit,home_add,inbox_snooze,io_comment_write,io_import_begin,io_infer_column,io_outbox_drain,io_restore,migrate_choice_keys,migrate_purge,migrate_purge_hard,migrate_reclass,migrate_split,migrate_undo,organization_clear,organization_contents,pipeline_declare,pipeline_gate_preview,portal_declare,portal_form_submit,portal_invite,portal_principal_bind,provenance_retention_days,provenance_write,query_across_homes,query_by_coordinates,query_rollup,record_delete,record_reparent,record_resolve,record_restore,record_update,record_write,record_write_graph,record_write_many,relation_carry,relation_halves_repair,relation_own,rule_declare,share_grant,sign_request_create,sign_request_sign,subscription_declare,table_archive,table_declare,table_move,table_share_outside_grant,table_share_outside_invite,value_restore,view_declare,view_designate,view_look_read,view_look_set,work_approval_decide,work_approval_request,work_template_declare";
4207
4267
  }, {
4208
4268
  readonly code: "22007";
4209
4269
  readonly raised_by: "agg_parse_moment,dashboard_window_sql";
@@ -4212,10 +4272,10 @@ declare const STORE_REFUSAL_CODES: readonly [{
4212
4272
  readonly raised_by: "formula_eval,rule_eval,rule_sql_op";
4213
4273
  }, {
4214
4274
  readonly code: "22023";
4215
- readonly raised_by: "_action_check,_booking_availability,_decorations_check,_entity_custom_fields_guard,_fx_date,_fx_num,_fx_unit,_fxp_level,_fxp_resolve,_fxp_tokens,_portal_config_judge,_take_op_id,_value_envelope,_view_field_key,_view_key_value,_work_shape_guard,action_run,actor_word,agg_assert_key,agg_calendar,agg_compare_windows,agg_sql,anon_token_issue,booking_declare,containment_parent,dashboard_block_normalize,dashboard_run,dashboard_target_field_assert,dashboard_window_sql,doc_render_body,doc_render_write,doc_signature_write,enrich_declare,enrich_land,enrich_normalize,enrich_pin,entity_reference_rows,entity_reference_words,entity_value_write,external_history_event,external_source_declare,external_stub_upsert,external_write_through,field_history,field_update,form_declare,form_draft_save,formula_eval,formula_parse,grid_layout_check,hub_changed_by,inbox_snooze,io_export,io_import_begin,io_import_finish,io_import_plan,io_import_report,io_proposal_accept,list_portals,migrate_merge,migrate_reclass,my_levels,organization_clear,page_size,pin_agent_cells,pipeline_move,pipeline_move_many,portal_declare,portal_form_submit,provenance_write,query_by_coordinates,query_rollup,read_records_archived,read_records_in_view_order,record_filter_sql,record_update,record_write_graph,record_write_many,relation_carry,rule_eval,rule_filter_node_sql,rule_members,rule_members_visible,rule_sql_op,scope_table_provision,share_grant,share_lane_set,sign_request_create,sign_request_sign,subscription_declare,table_from_example,table_move,table_rules,table_share_outside_grant,table_sync,table_webhook_declare,view_declare,view_keys_check,view_record_order_set,visibility_as_of,where_tables_live,work_approval_request,work_decide_many,work_inbox,work_list,work_slot_hold";
4275
+ readonly raised_by: "_action_check,_booking_availability,_decorations_check,_entity_custom_fields_guard,_fx_date,_fx_num,_fx_unit,_fxp_level,_fxp_resolve,_fxp_tokens,_portal_config_judge,_take_op_id,_value_envelope,_view_field_key,_view_key_value,_work_shape_guard,action_run,actor_word,agg_assert_key,agg_calendar,agg_compare_windows,agg_sql,anon_token_issue,booking_declare,containment_parent,dashboard_block_normalize,dashboard_run,dashboard_target_field_assert,dashboard_window_sql,doc_render_body,doc_render_write,doc_signature_write,enrich_declare,enrich_land,enrich_normalize,enrich_pin,entity_reference_rows,entity_reference_words,entity_value_write,external_history_event,external_source_declare,external_stub_upsert,external_write_through,field_history,field_update,form_declare,form_draft_save,formula_eval,formula_parse,grid_layout_check,hub_changed_by,inbox_snooze,io_export,io_import_begin,io_import_finish,io_import_plan,io_import_report,io_proposal_accept,list_portals,migrate_merge,migrate_reclass,my_levels,organization_clear,page_size,pin_agent_cells,pipeline_move,pipeline_move_many,portal_declare,portal_form_submit,provenance_write,query_by_coordinates,query_rollup,read_records_archived,read_records_in_view_order,record_filter_sql,record_update,record_write_graph,record_write_many,relation_carry,rule_eval,rule_filter_node_sql,rule_members,rule_members_visible,rule_sql_op,scope_table_provision,share_grant,share_lane_set,sign_request_create,sign_request_sign,subscription_declare,table_from_example,table_move,table_rules,table_share_outside_grant,table_sync,table_transfer_owner,table_webhook_declare,view_declare,view_keys_check,view_look_set,view_record_order_set,visibility_as_of,where_tables_live,work_approval_request,work_decide_many,work_inbox,work_list,work_slot_hold";
4216
4276
  }, {
4217
4277
  readonly code: "23503";
4218
- 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_designate,view_record_order_set,work_set_state,work_take_assignment,work_template_instantiate";
4278
+ 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_designate,view_look_set,view_record_order_set,work_set_state,work_take_assignment,work_template_instantiate";
4219
4279
  }, {
4220
4280
  readonly code: "23505";
4221
4281
  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";
@@ -4227,7 +4287,7 @@ declare const STORE_REFUSAL_CODES: readonly [{
4227
4287
  readonly raised_by: "has_visibility_at,table_move";
4228
4288
  }, {
4229
4289
  readonly code: "42501";
4230
- readonly raised_by: "_context_copy_fence,_doc_render_immutable,_doc_signature_immutable,_field_definition_write,_field_write_door,_portal_config_judge,_portal_principal_here,_rule_definition_write,_store_door,agent_table_claim,agg_fields_readable_assert,anon_capture,anon_inbound_land,anon_publish,anon_token_issue,anon_token_verify,anon_write,assert_client_may_change,assert_client_may_open,assert_client_may_reach,assert_may_know_table,assert_organization_admin,assert_store_door,booking_confirm,booking_declare,booking_hold,capture_submit,checklist_run,comment_write,context_resolve,conversation_scope_bind,conversation_scope_unbind,dashboard_target_field_assert,doc_sign,enrich_declare,enrich_due,enrich_land,enrich_normalize,entity_field_declare,entity_field_retire,entity_field_update,entity_value_write,external_write_through,form_declare,form_draft_save,form_public_asks,form_submit,inbound_mail_land,inbox_clear,inbox_snooze,inbox_unclear,inbox_unsnooze,io_comment_resolve,io_comment_write,io_import_begin,io_import_finish,io_restore,migrate_purge,migrate_purge_hard,migrate_purge_hard_request,migrate_reclass,my_levels,organization_clear,organization_contents,portal_declare,portal_form,portal_form_submit,portal_invitation,portal_invite,portal_invite_accept,portal_principal_bind,promote_table,query_visibility_parity,read_record,read_records,read_records_archived,read_records_by_ids,read_records_matching,record_table,record_write_graph,relation_halves_disagreements,relation_halves_repair,resolve_context,scope_table_provision,share_grant,subscription_mute,subscription_preview,table_move,table_share_outside_accept,table_share_outside_grant,table_share_outside_invite,table_share_outside_resend,table_webhook_declare,visibility_as_of,where_tables_live,work_approval_decide,work_approval_read,work_approval_request,work_person";
4290
+ readonly raised_by: "_context_copy_fence,_doc_render_immutable,_doc_signature_immutable,_field_definition_write,_field_write_door,_portal_config_judge,_portal_principal_here,_read_record_with,_rule_definition_write,_store_door,agent_table_claim,agg_fields_readable_assert,anon_capture,anon_inbound_land,anon_publish,anon_token_issue,anon_token_verify,anon_write,assert_client_may_change,assert_client_may_open,assert_client_may_reach,assert_may_know_table,assert_organization_admin,assert_store_door,booking_confirm,booking_declare,booking_hold,capture_submit,checklist_run,comment_write,context_resolve,conversation_scope_bind,conversation_scope_unbind,dashboard_target_field_assert,doc_sign,enrich_declare,enrich_due,enrich_land,enrich_normalize,entity_field_declare,entity_field_retire,entity_field_update,entity_value_write,external_write_through,form_declare,form_draft_save,form_public_asks,form_submit,inbound_mail_land,inbox_clear,inbox_snooze,inbox_unclear,inbox_unsnooze,io_comment_resolve,io_comment_write,io_import_begin,io_import_finish,io_restore,member_personal_tables,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_transfer_owner,table_webhook_declare,view_declare,view_look_set,view_record_order_set,visibility_as_of,where_tables_live,work_approval_decide,work_approval_read,work_approval_request,work_person";
4231
4291
  }, {
4232
4292
  readonly code: "42703";
4233
4293
  readonly raised_by: "entity_table,portal_declare";