@ai-matrx/records 0.58.12 → 0.58.14
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.
- package/CHANGELOG.md +23 -0
- package/dist/core/index.cjs +23 -4
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +14 -2
- package/dist/core/index.d.ts +14 -2
- package/dist/core/index.js +23 -4
- package/dist/core/index.js.map +1 -1
- package/dist/index.cjs +13 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +13 -4
- package/dist/index.js.map +1 -1
- package/dist/react/index.cjs +23 -4
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +59 -4
- package/dist/react/index.d.ts +59 -4
- package/dist/react/index.js +23 -4
- package/dist/react/index.js.map +1 -1
- package/dist/{types-BeDeDL6g.d.cts → types-DbILLKcZ.d.cts} +48 -4
- package/dist/{types-BeDeDL6g.d.ts → types-DbILLKcZ.d.ts} +48 -4
- package/dist/use-cases/index.cjs.map +1 -1
- package/dist/use-cases/index.d.cts +2 -2
- package/dist/use-cases/index.d.ts +2 -2
- package/dist/use-cases/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -459,6 +459,16 @@ declare const STORE_DOORS: readonly [{
|
|
|
459
459
|
readonly args: "p_organization_id uuid, p_table_id uuid, p_limit integer DEFAULT 50";
|
|
460
460
|
readonly returns: "jsonb";
|
|
461
461
|
readonly security: "invoker";
|
|
462
|
+
}, {
|
|
463
|
+
readonly name: "agent_context_value";
|
|
464
|
+
readonly args: "p_doc jsonb, p_key text, p_type text, p_organization_id uuid, p_record_id uuid, p_cap bigint";
|
|
465
|
+
readonly returns: "jsonb";
|
|
466
|
+
readonly security: "invoker";
|
|
467
|
+
}, {
|
|
468
|
+
readonly name: "agent_context_value_cap";
|
|
469
|
+
readonly args: "p_organization_id uuid";
|
|
470
|
+
readonly returns: "bigint";
|
|
471
|
+
readonly security: "invoker";
|
|
462
472
|
}, {
|
|
463
473
|
readonly name: "agent_table_claim";
|
|
464
474
|
readonly args: "p_organization uuid, p_table uuid, p_conversation uuid DEFAULT NULL::uuid";
|
|
@@ -1464,6 +1474,11 @@ declare const STORE_DOORS: readonly [{
|
|
|
1464
1474
|
readonly args: "p_organization_id uuid, p_table_id uuid, p_doc jsonb";
|
|
1465
1475
|
readonly returns: "jsonb";
|
|
1466
1476
|
readonly security: "invoker";
|
|
1477
|
+
}, {
|
|
1478
|
+
readonly name: "entity_reference_rows";
|
|
1479
|
+
readonly args: "p_organization_id uuid, p_token text, p_ids uuid[]";
|
|
1480
|
+
readonly returns: "jsonb";
|
|
1481
|
+
readonly security: "invoker";
|
|
1467
1482
|
}, {
|
|
1468
1483
|
readonly name: "entity_reference_words";
|
|
1469
1484
|
readonly args: "p_organization_id uuid, p_refs jsonb";
|
|
@@ -3534,6 +3549,11 @@ declare const STORE_DOORS: readonly [{
|
|
|
3534
3549
|
readonly args: "";
|
|
3535
3550
|
readonly returns: "TABLE(table_id uuid, organization_id uuid, organization text, table_name text, level text, level_label text, shared_at timestamp with time zone, opens boolean, say text)";
|
|
3536
3551
|
readonly security: "definer";
|
|
3552
|
+
}, {
|
|
3553
|
+
readonly name: "text_head_bytes";
|
|
3554
|
+
readonly args: "p_text text, p_bytes bigint";
|
|
3555
|
+
readonly returns: "text";
|
|
3556
|
+
readonly security: "invoker";
|
|
3537
3557
|
}, {
|
|
3538
3558
|
readonly name: "trg_associations_bump_visibility";
|
|
3539
3559
|
readonly args: "";
|
|
@@ -3609,6 +3629,11 @@ declare const STORE_DOORS: readonly [{
|
|
|
3609
3629
|
readonly args: "p_organization_id uuid, p_table_id uuid, p_spec jsonb";
|
|
3610
3630
|
readonly returns: "uuid";
|
|
3611
3631
|
readonly security: "definer";
|
|
3632
|
+
}, {
|
|
3633
|
+
readonly name: "view_designate";
|
|
3634
|
+
readonly args: "p_organization_id uuid, p_table_id uuid, p_view_id uuid, p_layout text DEFAULT NULL::text";
|
|
3635
|
+
readonly returns: "uuid";
|
|
3636
|
+
readonly security: "definer";
|
|
3612
3637
|
}, {
|
|
3613
3638
|
readonly name: "view_keys";
|
|
3614
3639
|
readonly args: "";
|
|
@@ -3674,11 +3699,26 @@ declare const STORE_DOORS: readonly [{
|
|
|
3674
3699
|
readonly args: "p_id uuid";
|
|
3675
3700
|
readonly returns: "jsonb";
|
|
3676
3701
|
readonly security: "definer";
|
|
3702
|
+
}, {
|
|
3703
|
+
readonly name: "where_tables_live";
|
|
3704
|
+
readonly args: "p_table_ids uuid[]";
|
|
3705
|
+
readonly returns: "TABLE(table_id uuid, lives_in text, why text)";
|
|
3706
|
+
readonly security: "definer";
|
|
3707
|
+
}, {
|
|
3708
|
+
readonly name: "whole_value_pointer_of";
|
|
3709
|
+
readonly args: "p_values jsonb, p_sources jsonb, p_key text";
|
|
3710
|
+
readonly returns: "jsonb";
|
|
3711
|
+
readonly security: "invoker";
|
|
3677
3712
|
}, {
|
|
3678
3713
|
readonly name: "widget_kernel_id";
|
|
3679
3714
|
readonly args: "";
|
|
3680
3715
|
readonly returns: "uuid";
|
|
3681
3716
|
readonly security: "invoker";
|
|
3717
|
+
}, {
|
|
3718
|
+
readonly name: "with_whole_value_pointers";
|
|
3719
|
+
readonly args: "p_document jsonb, p_values jsonb, p_sources jsonb, p_visible text[], p_by_id boolean DEFAULT false, p_key_ids jsonb DEFAULT '{}'::jsonb";
|
|
3720
|
+
readonly returns: "jsonb";
|
|
3721
|
+
readonly security: "invoker";
|
|
3682
3722
|
}, {
|
|
3683
3723
|
readonly name: "withheld_marker";
|
|
3684
3724
|
readonly args: "p_mask jsonb, p_key text";
|
|
@@ -3873,6 +3913,10 @@ declare const STORE_KNOBS: readonly [{
|
|
|
3873
3913
|
readonly key: "agent_context_reads_the_copy";
|
|
3874
3914
|
readonly value: "false";
|
|
3875
3915
|
readonly type: "boolean";
|
|
3916
|
+
}, {
|
|
3917
|
+
readonly key: "agent_context_value_cap_bytes";
|
|
3918
|
+
readonly value: "0";
|
|
3919
|
+
readonly type: "integer";
|
|
3876
3920
|
}, {
|
|
3877
3921
|
readonly key: "agent_schema_changes";
|
|
3878
3922
|
readonly value: "\"ask\"";
|
|
@@ -4159,7 +4203,7 @@ declare const STORE_REFUSAL_CODES: readonly [{
|
|
|
4159
4203
|
readonly raised_by: "context_resolve";
|
|
4160
4204
|
}, {
|
|
4161
4205
|
readonly code: "22004";
|
|
4162
|
-
readonly raised_by: "_entity_custom_fields_guard,_portal_config_judge,_share_write_person,_value_envelope,actor_word,agg_assert_key,agg_compare_windows,agg_sql,anon_capture,anon_token_issue,anon_write,assert_client_may_reach,booking_declare,capture_submit,checklist_declare,context_resolve,context_tag_copy,dashboard_block_normalize,dashboard_declare,dashboard_window_sql,doc_render_write,doc_sign,doc_signature_write,doc_template_save,enrich_land,enrich_normalize,external_history_event,external_rows,external_source_declare,external_stub_upsert,external_write_through,external_writes_set,field_history,form_declare,form_submit,home_add,inbox_snooze,io_comment_write,io_import_begin,io_infer_column,io_outbox_drain,io_restore,migrate_choice_keys,migrate_purge,migrate_purge_hard,migrate_reclass,migrate_split,migrate_undo,organization_clear,organization_contents,pipeline_declare,pipeline_gate_preview,portal_declare,portal_form_submit,portal_invite,portal_principal_bind,provenance_retention_days,provenance_write,query_across_homes,query_by_coordinates,query_rollup,record_delete,record_reparent,record_resolve,record_restore,record_update,record_write,record_write_graph,record_write_many,relation_carry,relation_halves_repair,relation_own,rule_declare,share_grant,sign_request_create,sign_request_sign,subscription_declare,table_archive,table_declare,table_move,table_share_outside_grant,table_share_outside_invite,value_restore,view_declare,work_approval_decide,work_approval_request,work_template_declare";
|
|
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";
|
|
4163
4207
|
}, {
|
|
4164
4208
|
readonly code: "22007";
|
|
4165
4209
|
readonly raised_by: "agg_parse_moment,dashboard_window_sql";
|
|
@@ -4168,10 +4212,10 @@ declare const STORE_REFUSAL_CODES: readonly [{
|
|
|
4168
4212
|
readonly raised_by: "formula_eval,rule_eval,rule_sql_op";
|
|
4169
4213
|
}, {
|
|
4170
4214
|
readonly code: "22023";
|
|
4171
|
-
readonly raised_by: "_action_check,_booking_availability,_decorations_check,_entity_custom_fields_guard,_fx_date,_fx_num,_fx_unit,_fxp_level,_fxp_resolve,_fxp_tokens,_portal_config_judge,_take_op_id,_value_envelope,_view_field_key,_view_key_value,_work_shape_guard,action_run,actor_word,agg_assert_key,agg_calendar,agg_compare_windows,agg_sql,anon_token_issue,booking_declare,containment_parent,dashboard_block_normalize,dashboard_run,dashboard_target_field_assert,dashboard_window_sql,doc_render_body,doc_render_write,doc_signature_write,enrich_declare,enrich_land,enrich_normalize,enrich_pin,entity_reference_words,entity_value_write,external_history_event,external_source_declare,external_stub_upsert,external_write_through,field_history,field_update,form_declare,form_draft_save,formula_eval,formula_parse,grid_layout_check,hub_changed_by,inbox_snooze,io_export,io_import_begin,io_import_finish,io_import_plan,io_import_report,io_proposal_accept,list_portals,migrate_merge,migrate_reclass,my_levels,organization_clear,page_size,pin_agent_cells,pipeline_move,pipeline_move_many,portal_declare,portal_form_submit,provenance_write,query_by_coordinates,query_rollup,read_records_archived,read_records_in_view_order,record_filter_sql,record_update,record_write_graph,record_write_many,relation_carry,rule_eval,rule_filter_node_sql,rule_members,rule_members_visible,rule_sql_op,scope_table_provision,share_grant,share_lane_set,sign_request_create,sign_request_sign,subscription_declare,table_from_example,table_move,table_rules,table_share_outside_grant,table_sync,table_webhook_declare,view_declare,view_keys_check,view_record_order_set,visibility_as_of,work_approval_request,work_decide_many,work_inbox,work_list,work_slot_hold";
|
|
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";
|
|
4172
4216
|
}, {
|
|
4173
4217
|
readonly code: "23503";
|
|
4174
|
-
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";
|
|
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";
|
|
4175
4219
|
}, {
|
|
4176
4220
|
readonly code: "23505";
|
|
4177
4221
|
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";
|
|
@@ -4183,7 +4227,7 @@ declare const STORE_REFUSAL_CODES: readonly [{
|
|
|
4183
4227
|
readonly raised_by: "has_visibility_at,table_move";
|
|
4184
4228
|
}, {
|
|
4185
4229
|
readonly code: "42501";
|
|
4186
|
-
readonly raised_by: "_context_copy_fence,_doc_render_immutable,_doc_signature_immutable,_field_definition_write,_field_write_door,_portal_config_judge,_portal_principal_here,_rule_definition_write,_store_door,agent_table_claim,agg_fields_readable_assert,anon_capture,anon_inbound_land,anon_publish,anon_token_issue,anon_token_verify,anon_write,assert_client_may_change,assert_client_may_open,assert_client_may_reach,assert_may_know_table,assert_organization_admin,assert_store_door,booking_confirm,booking_declare,booking_hold,capture_submit,checklist_run,comment_write,context_resolve,conversation_scope_bind,conversation_scope_unbind,dashboard_target_field_assert,doc_sign,enrich_declare,enrich_due,enrich_land,enrich_normalize,entity_field_declare,entity_field_retire,entity_field_update,entity_value_write,external_write_through,form_declare,form_draft_save,form_public_asks,form_submit,inbound_mail_land,inbox_clear,inbox_snooze,inbox_unclear,inbox_unsnooze,io_comment_resolve,io_comment_write,io_import_begin,io_import_finish,io_restore,migrate_purge,migrate_purge_hard,migrate_purge_hard_request,migrate_reclass,my_levels,organization_clear,organization_contents,portal_declare,portal_form,portal_form_submit,portal_invitation,portal_invite,portal_invite_accept,portal_principal_bind,promote_table,query_visibility_parity,read_record,read_records,read_records_archived,read_records_by_ids,read_records_matching,record_table,record_write_graph,relation_halves_disagreements,relation_halves_repair,resolve_context,scope_table_provision,share_grant,subscription_mute,subscription_preview,table_move,table_share_outside_accept,table_share_outside_grant,table_share_outside_invite,table_share_outside_resend,table_webhook_declare,visibility_as_of,work_approval_decide,work_approval_read,work_approval_request,work_person";
|
|
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";
|
|
4187
4231
|
}, {
|
|
4188
4232
|
readonly code: "42703";
|
|
4189
4233
|
readonly raised_by: "entity_table,portal_declare";
|
|
@@ -459,6 +459,16 @@ declare const STORE_DOORS: readonly [{
|
|
|
459
459
|
readonly args: "p_organization_id uuid, p_table_id uuid, p_limit integer DEFAULT 50";
|
|
460
460
|
readonly returns: "jsonb";
|
|
461
461
|
readonly security: "invoker";
|
|
462
|
+
}, {
|
|
463
|
+
readonly name: "agent_context_value";
|
|
464
|
+
readonly args: "p_doc jsonb, p_key text, p_type text, p_organization_id uuid, p_record_id uuid, p_cap bigint";
|
|
465
|
+
readonly returns: "jsonb";
|
|
466
|
+
readonly security: "invoker";
|
|
467
|
+
}, {
|
|
468
|
+
readonly name: "agent_context_value_cap";
|
|
469
|
+
readonly args: "p_organization_id uuid";
|
|
470
|
+
readonly returns: "bigint";
|
|
471
|
+
readonly security: "invoker";
|
|
462
472
|
}, {
|
|
463
473
|
readonly name: "agent_table_claim";
|
|
464
474
|
readonly args: "p_organization uuid, p_table uuid, p_conversation uuid DEFAULT NULL::uuid";
|
|
@@ -1464,6 +1474,11 @@ declare const STORE_DOORS: readonly [{
|
|
|
1464
1474
|
readonly args: "p_organization_id uuid, p_table_id uuid, p_doc jsonb";
|
|
1465
1475
|
readonly returns: "jsonb";
|
|
1466
1476
|
readonly security: "invoker";
|
|
1477
|
+
}, {
|
|
1478
|
+
readonly name: "entity_reference_rows";
|
|
1479
|
+
readonly args: "p_organization_id uuid, p_token text, p_ids uuid[]";
|
|
1480
|
+
readonly returns: "jsonb";
|
|
1481
|
+
readonly security: "invoker";
|
|
1467
1482
|
}, {
|
|
1468
1483
|
readonly name: "entity_reference_words";
|
|
1469
1484
|
readonly args: "p_organization_id uuid, p_refs jsonb";
|
|
@@ -3534,6 +3549,11 @@ declare const STORE_DOORS: readonly [{
|
|
|
3534
3549
|
readonly args: "";
|
|
3535
3550
|
readonly returns: "TABLE(table_id uuid, organization_id uuid, organization text, table_name text, level text, level_label text, shared_at timestamp with time zone, opens boolean, say text)";
|
|
3536
3551
|
readonly security: "definer";
|
|
3552
|
+
}, {
|
|
3553
|
+
readonly name: "text_head_bytes";
|
|
3554
|
+
readonly args: "p_text text, p_bytes bigint";
|
|
3555
|
+
readonly returns: "text";
|
|
3556
|
+
readonly security: "invoker";
|
|
3537
3557
|
}, {
|
|
3538
3558
|
readonly name: "trg_associations_bump_visibility";
|
|
3539
3559
|
readonly args: "";
|
|
@@ -3609,6 +3629,11 @@ declare const STORE_DOORS: readonly [{
|
|
|
3609
3629
|
readonly args: "p_organization_id uuid, p_table_id uuid, p_spec jsonb";
|
|
3610
3630
|
readonly returns: "uuid";
|
|
3611
3631
|
readonly security: "definer";
|
|
3632
|
+
}, {
|
|
3633
|
+
readonly name: "view_designate";
|
|
3634
|
+
readonly args: "p_organization_id uuid, p_table_id uuid, p_view_id uuid, p_layout text DEFAULT NULL::text";
|
|
3635
|
+
readonly returns: "uuid";
|
|
3636
|
+
readonly security: "definer";
|
|
3612
3637
|
}, {
|
|
3613
3638
|
readonly name: "view_keys";
|
|
3614
3639
|
readonly args: "";
|
|
@@ -3674,11 +3699,26 @@ declare const STORE_DOORS: readonly [{
|
|
|
3674
3699
|
readonly args: "p_id uuid";
|
|
3675
3700
|
readonly returns: "jsonb";
|
|
3676
3701
|
readonly security: "definer";
|
|
3702
|
+
}, {
|
|
3703
|
+
readonly name: "where_tables_live";
|
|
3704
|
+
readonly args: "p_table_ids uuid[]";
|
|
3705
|
+
readonly returns: "TABLE(table_id uuid, lives_in text, why text)";
|
|
3706
|
+
readonly security: "definer";
|
|
3707
|
+
}, {
|
|
3708
|
+
readonly name: "whole_value_pointer_of";
|
|
3709
|
+
readonly args: "p_values jsonb, p_sources jsonb, p_key text";
|
|
3710
|
+
readonly returns: "jsonb";
|
|
3711
|
+
readonly security: "invoker";
|
|
3677
3712
|
}, {
|
|
3678
3713
|
readonly name: "widget_kernel_id";
|
|
3679
3714
|
readonly args: "";
|
|
3680
3715
|
readonly returns: "uuid";
|
|
3681
3716
|
readonly security: "invoker";
|
|
3717
|
+
}, {
|
|
3718
|
+
readonly name: "with_whole_value_pointers";
|
|
3719
|
+
readonly args: "p_document jsonb, p_values jsonb, p_sources jsonb, p_visible text[], p_by_id boolean DEFAULT false, p_key_ids jsonb DEFAULT '{}'::jsonb";
|
|
3720
|
+
readonly returns: "jsonb";
|
|
3721
|
+
readonly security: "invoker";
|
|
3682
3722
|
}, {
|
|
3683
3723
|
readonly name: "withheld_marker";
|
|
3684
3724
|
readonly args: "p_mask jsonb, p_key text";
|
|
@@ -3873,6 +3913,10 @@ declare const STORE_KNOBS: readonly [{
|
|
|
3873
3913
|
readonly key: "agent_context_reads_the_copy";
|
|
3874
3914
|
readonly value: "false";
|
|
3875
3915
|
readonly type: "boolean";
|
|
3916
|
+
}, {
|
|
3917
|
+
readonly key: "agent_context_value_cap_bytes";
|
|
3918
|
+
readonly value: "0";
|
|
3919
|
+
readonly type: "integer";
|
|
3876
3920
|
}, {
|
|
3877
3921
|
readonly key: "agent_schema_changes";
|
|
3878
3922
|
readonly value: "\"ask\"";
|
|
@@ -4159,7 +4203,7 @@ declare const STORE_REFUSAL_CODES: readonly [{
|
|
|
4159
4203
|
readonly raised_by: "context_resolve";
|
|
4160
4204
|
}, {
|
|
4161
4205
|
readonly code: "22004";
|
|
4162
|
-
readonly raised_by: "_entity_custom_fields_guard,_portal_config_judge,_share_write_person,_value_envelope,actor_word,agg_assert_key,agg_compare_windows,agg_sql,anon_capture,anon_token_issue,anon_write,assert_client_may_reach,booking_declare,capture_submit,checklist_declare,context_resolve,context_tag_copy,dashboard_block_normalize,dashboard_declare,dashboard_window_sql,doc_render_write,doc_sign,doc_signature_write,doc_template_save,enrich_land,enrich_normalize,external_history_event,external_rows,external_source_declare,external_stub_upsert,external_write_through,external_writes_set,field_history,form_declare,form_submit,home_add,inbox_snooze,io_comment_write,io_import_begin,io_infer_column,io_outbox_drain,io_restore,migrate_choice_keys,migrate_purge,migrate_purge_hard,migrate_reclass,migrate_split,migrate_undo,organization_clear,organization_contents,pipeline_declare,pipeline_gate_preview,portal_declare,portal_form_submit,portal_invite,portal_principal_bind,provenance_retention_days,provenance_write,query_across_homes,query_by_coordinates,query_rollup,record_delete,record_reparent,record_resolve,record_restore,record_update,record_write,record_write_graph,record_write_many,relation_carry,relation_halves_repair,relation_own,rule_declare,share_grant,sign_request_create,sign_request_sign,subscription_declare,table_archive,table_declare,table_move,table_share_outside_grant,table_share_outside_invite,value_restore,view_declare,work_approval_decide,work_approval_request,work_template_declare";
|
|
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";
|
|
4163
4207
|
}, {
|
|
4164
4208
|
readonly code: "22007";
|
|
4165
4209
|
readonly raised_by: "agg_parse_moment,dashboard_window_sql";
|
|
@@ -4168,10 +4212,10 @@ declare const STORE_REFUSAL_CODES: readonly [{
|
|
|
4168
4212
|
readonly raised_by: "formula_eval,rule_eval,rule_sql_op";
|
|
4169
4213
|
}, {
|
|
4170
4214
|
readonly code: "22023";
|
|
4171
|
-
readonly raised_by: "_action_check,_booking_availability,_decorations_check,_entity_custom_fields_guard,_fx_date,_fx_num,_fx_unit,_fxp_level,_fxp_resolve,_fxp_tokens,_portal_config_judge,_take_op_id,_value_envelope,_view_field_key,_view_key_value,_work_shape_guard,action_run,actor_word,agg_assert_key,agg_calendar,agg_compare_windows,agg_sql,anon_token_issue,booking_declare,containment_parent,dashboard_block_normalize,dashboard_run,dashboard_target_field_assert,dashboard_window_sql,doc_render_body,doc_render_write,doc_signature_write,enrich_declare,enrich_land,enrich_normalize,enrich_pin,entity_reference_words,entity_value_write,external_history_event,external_source_declare,external_stub_upsert,external_write_through,field_history,field_update,form_declare,form_draft_save,formula_eval,formula_parse,grid_layout_check,hub_changed_by,inbox_snooze,io_export,io_import_begin,io_import_finish,io_import_plan,io_import_report,io_proposal_accept,list_portals,migrate_merge,migrate_reclass,my_levels,organization_clear,page_size,pin_agent_cells,pipeline_move,pipeline_move_many,portal_declare,portal_form_submit,provenance_write,query_by_coordinates,query_rollup,read_records_archived,read_records_in_view_order,record_filter_sql,record_update,record_write_graph,record_write_many,relation_carry,rule_eval,rule_filter_node_sql,rule_members,rule_members_visible,rule_sql_op,scope_table_provision,share_grant,share_lane_set,sign_request_create,sign_request_sign,subscription_declare,table_from_example,table_move,table_rules,table_share_outside_grant,table_sync,table_webhook_declare,view_declare,view_keys_check,view_record_order_set,visibility_as_of,work_approval_request,work_decide_many,work_inbox,work_list,work_slot_hold";
|
|
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";
|
|
4172
4216
|
}, {
|
|
4173
4217
|
readonly code: "23503";
|
|
4174
|
-
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";
|
|
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";
|
|
4175
4219
|
}, {
|
|
4176
4220
|
readonly code: "23505";
|
|
4177
4221
|
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";
|
|
@@ -4183,7 +4227,7 @@ declare const STORE_REFUSAL_CODES: readonly [{
|
|
|
4183
4227
|
readonly raised_by: "has_visibility_at,table_move";
|
|
4184
4228
|
}, {
|
|
4185
4229
|
readonly code: "42501";
|
|
4186
|
-
readonly raised_by: "_context_copy_fence,_doc_render_immutable,_doc_signature_immutable,_field_definition_write,_field_write_door,_portal_config_judge,_portal_principal_here,_rule_definition_write,_store_door,agent_table_claim,agg_fields_readable_assert,anon_capture,anon_inbound_land,anon_publish,anon_token_issue,anon_token_verify,anon_write,assert_client_may_change,assert_client_may_open,assert_client_may_reach,assert_may_know_table,assert_organization_admin,assert_store_door,booking_confirm,booking_declare,booking_hold,capture_submit,checklist_run,comment_write,context_resolve,conversation_scope_bind,conversation_scope_unbind,dashboard_target_field_assert,doc_sign,enrich_declare,enrich_due,enrich_land,enrich_normalize,entity_field_declare,entity_field_retire,entity_field_update,entity_value_write,external_write_through,form_declare,form_draft_save,form_public_asks,form_submit,inbound_mail_land,inbox_clear,inbox_snooze,inbox_unclear,inbox_unsnooze,io_comment_resolve,io_comment_write,io_import_begin,io_import_finish,io_restore,migrate_purge,migrate_purge_hard,migrate_purge_hard_request,migrate_reclass,my_levels,organization_clear,organization_contents,portal_declare,portal_form,portal_form_submit,portal_invitation,portal_invite,portal_invite_accept,portal_principal_bind,promote_table,query_visibility_parity,read_record,read_records,read_records_archived,read_records_by_ids,read_records_matching,record_table,record_write_graph,relation_halves_disagreements,relation_halves_repair,resolve_context,scope_table_provision,share_grant,subscription_mute,subscription_preview,table_move,table_share_outside_accept,table_share_outside_grant,table_share_outside_invite,table_share_outside_resend,table_webhook_declare,visibility_as_of,work_approval_decide,work_approval_read,work_approval_request,work_person";
|
|
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";
|
|
4187
4231
|
}, {
|
|
4188
4232
|
readonly code: "42703";
|
|
4189
4233
|
readonly raised_by: "entity_table,portal_declare";
|