@ai-matrx/records 0.76.19 → 0.77.1
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 +18 -0
- package/dist/app-table/index.cjs +81 -0
- package/dist/app-table/index.cjs.map +1 -1
- package/dist/app-table/index.d.cts +7 -7
- package/dist/app-table/index.d.ts +7 -7
- package/dist/app-table/index.js +81 -0
- package/dist/app-table/index.js.map +1 -1
- package/dist/{client-C8G7zUMQ.d.ts → client-BbzLb-sB.d.ts} +53 -5
- package/dist/{client-EaE4ta6p.d.cts → client-BcGGEpNi.d.cts} +53 -5
- package/dist/core/index.cjs +93 -6
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +21 -11
- package/dist/core/index.d.ts +21 -11
- package/dist/core/index.js +93 -6
- package/dist/core/index.js.map +1 -1
- package/dist/data/index.cjs +81 -0
- package/dist/data/index.cjs.map +1 -1
- package/dist/data/index.d.cts +6 -6
- package/dist/data/index.d.ts +6 -6
- package/dist/data/index.js +81 -0
- package/dist/data/index.js.map +1 -1
- package/dist/{declareTable-aoFu32Ca.d.cts → declareTable-COEPJpke.d.cts} +4 -4
- package/dist/{declareTable-3yW8GrJE.d.ts → declareTable-Dxq0Aega.d.ts} +4 -4
- package/dist/{field-DkB6Nods.d.cts → field-BTW7h7Wh.d.cts} +1 -1
- package/dist/{field-cWRPTM3U.d.ts → field-D7I9yck6.d.ts} +1 -1
- package/dist/index.cjs +26 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +26 -6
- package/dist/index.js.map +1 -1
- package/dist/memory/index.cjs +31 -0
- package/dist/memory/index.cjs.map +1 -1
- package/dist/memory/index.d.cts +6 -6
- package/dist/memory/index.d.ts +6 -6
- package/dist/memory/index.js +31 -0
- package/dist/memory/index.js.map +1 -1
- package/dist/{ports-C2_pOWrL.d.ts → ports-CaYEF1dG.d.ts} +1 -1
- package/dist/{ports-C83nhjoM.d.cts → ports-PpvsH1cQ.d.cts} +1 -1
- package/dist/react/index.cjs +93 -6
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +318 -14
- package/dist/react/index.d.ts +318 -14
- package/dist/react/index.js +93 -6
- package/dist/react/index.js.map +1 -1
- package/dist/realtime/index.d.cts +2 -2
- package/dist/realtime/index.d.ts +2 -2
- package/dist/{record-DVtXK-6L.d.cts → record-B7iwye2k.d.cts} +75 -13
- package/dist/{record-DVtXK-6L.d.ts → record-B7iwye2k.d.ts} +75 -13
- package/dist/{subscription-DxtZgyFR.d.ts → subscription-BWaRPLyo.d.ts} +60 -2
- package/dist/{subscription-vpnl6GxJ.d.cts → subscription-Br30ZwIt.d.cts} +60 -2
- package/dist/{table-kind-BtguhnRV.d.cts → table-kind-C5jsmotR.d.ts} +140 -4
- package/dist/{table-kind-DzyRtFNa.d.ts → table-kind-DrVhYZbX.d.cts} +140 -4
- package/dist/templates/index.cjs +14 -0
- package/dist/templates/index.cjs.map +1 -1
- package/dist/templates/index.d.cts +9 -9
- package/dist/templates/index.d.ts +9 -9
- package/dist/templates/index.js +14 -0
- package/dist/templates/index.js.map +1 -1
- package/dist/{types-y8GX3-QC.d.ts → types-DWZ5_3by.d.ts} +2 -2
- package/dist/{types-DWoJFBbr.d.cts → types-DYoWzHwJ.d.cts} +2 -2
- package/dist/{types-DqCWKOYh.d.ts → types-DrJLOqVi.d.ts} +2 -2
- package/dist/{types-X9P-cQd0.d.cts → types-LvxsZ6Zv.d.cts} +2 -2
- package/dist/use-cases/index.cjs.map +1 -1
- package/dist/use-cases/index.d.cts +5 -5
- package/dist/use-cases/index.d.ts +5 -5
- package/dist/use-cases/index.js.map +1 -1
- package/dist/{validate-CEE0ts9g.d.cts → validate-CRdXE73G.d.cts} +1 -1
- package/dist/{validate-d9QMYjBm.d.ts → validate-j0WQoC3C.d.ts} +1 -1
- package/package.json +1 -1
package/dist/react/index.cjs
CHANGED
|
@@ -1375,6 +1375,12 @@ var STORE_DOORS = [
|
|
|
1375
1375
|
{ name: "assert_public_reader_names_a_public_table", args: "p_organization_id uuid, p_table_id uuid, p_door text", returns: "void", security: "definer" },
|
|
1376
1376
|
{ name: "assert_scope_door", args: "p_organization_id uuid, p_door text", returns: "void", security: "definer" },
|
|
1377
1377
|
{ name: "assert_store_door", args: "p_organization_id uuid, p_door text", returns: "void", security: "invoker" },
|
|
1378
|
+
{ name: "automation_archive", args: "p_organization_id uuid, p_automation_id uuid", returns: "jsonb", security: "definer" },
|
|
1379
|
+
{ name: "automation_declare", args: "p_organization_id uuid, p_table_id uuid, p_spec jsonb, p_automation_id uuid DEFAULT NULL::uuid", returns: "jsonb", security: "definer" },
|
|
1380
|
+
{ name: "automation_restore", args: "p_organization_id uuid, p_automation_id uuid", returns: "jsonb", security: "definer" },
|
|
1381
|
+
{ name: "automation_runs", args: "p_automation_id uuid, p_limit integer DEFAULT 50, p_cursor timestamp with time zone DEFAULT NULL::timestamp with time zone, p_organization_id uuid DEFAULT NULL::uuid", returns: "jsonb", security: "definer" },
|
|
1382
|
+
{ name: "automation_set_enabled", args: "p_organization_id uuid, p_automation_id uuid, p_enabled boolean", returns: "jsonb", security: "definer" },
|
|
1383
|
+
{ name: "automations", args: "p_table_id uuid, p_organization_id uuid DEFAULT NULL::uuid, p_include_archived boolean DEFAULT false", returns: "jsonb", security: "definer" },
|
|
1378
1384
|
{ name: "autonumber_backfill", args: "p_organization_id uuid, p_field_id uuid", returns: "jsonb", security: "definer" },
|
|
1379
1385
|
{ name: "barcode_symbologies", args: "", returns: "text[]", security: "invoker" },
|
|
1380
1386
|
{ name: "booking_cancel", args: "p_booking_ref text, p_origin text DEFAULT NULL::text", returns: "TABLE(booking_ref text, record_id uuid, slot_key text, state text, message text)", security: "definer" },
|
|
@@ -1621,13 +1627,18 @@ var STORE_DOORS = [
|
|
|
1621
1627
|
{ name: "form_look_options", args: "p_organization_id uuid, p_presentation jsonb DEFAULT '{}'::jsonb", returns: "jsonb", security: "definer" },
|
|
1622
1628
|
{ name: "form_notify", args: "p_organization_id uuid, p_form_id uuid, p_record_id uuid, p_submission_id uuid", returns: "uuid", security: "invoker" },
|
|
1623
1629
|
{ name: "form_preview_asks", args: "p_organization_id uuid, p_table_id uuid, p_questions jsonb, p_values jsonb", returns: "TABLE(field_key text, asked boolean, decided boolean, said text)", security: "definer" },
|
|
1630
|
+
{ name: "form_preview_route", args: "p_organization_id uuid, p_table_id uuid, p_questions jsonb, p_endings jsonb, p_values jsonb", returns: "jsonb", security: "definer" },
|
|
1624
1631
|
{ name: "form_public", args: "p_form_id uuid", returns: "TABLE(form_id uuid, organization_id uuid, table_id uuid, title text, presentation jsonb, fields jsonb, honeypot_key text, state text, message text)", security: "definer" },
|
|
1625
1632
|
{ name: "form_public_asks", args: "p_form_id uuid, p_values jsonb, p_secret text DEFAULT NULL::text, p_origin text DEFAULT NULL::text", returns: "TABLE(field_key text, asked boolean, decided boolean, said text)", security: "definer" },
|
|
1633
|
+
{ name: "form_public_route", args: "p_form_id uuid, p_values jsonb", returns: "jsonb", security: "definer" },
|
|
1626
1634
|
{ name: "form_redirect_domains", args: "p_organization_id uuid", returns: "text[]", security: "invoker" },
|
|
1627
1635
|
{ name: "form_redirect_refusal", args: "p_organization_id uuid, p_url text", returns: "text", security: "invoker" },
|
|
1628
1636
|
{ name: "form_restore", args: "p_organization_id uuid, p_form_id uuid", returns: "jsonb", security: "definer" },
|
|
1637
|
+
{ name: "form_results", args: "p_organization_id uuid, p_form_id uuid", returns: "jsonb", security: "definer" },
|
|
1629
1638
|
{ name: "form_slug", args: "p_organization_id uuid, p_title text, p_form_id uuid DEFAULT NULL::uuid", returns: "text", security: "invoker" },
|
|
1630
1639
|
{ name: "form_submit", args: "p_form_id uuid, p_origin text, p_payload jsonb, p_bucket text, p_honeypot text DEFAULT NULL::text, p_client_key text DEFAULT NULL::text", returns: "TABLE(submission_id uuid, record_id uuid, state text, message text)", security: "definer" },
|
|
1640
|
+
{ name: "form_theme_options", args: "", returns: "jsonb", security: "invoker" },
|
|
1641
|
+
{ name: "form_visit", args: "p_form_id uuid, p_visit text, p_event text, p_field text DEFAULT NULL::text", returns: "text", security: "definer" },
|
|
1631
1642
|
{ name: "forms", args: "p_organization_id uuid, p_table_id uuid DEFAULT NULL::uuid", returns: "TABLE(form_id uuid, table_id uuid, title text, slug text, published_at timestamp with time zone, closed_at timestamp with time zone, submission_cap integer, responses bigint, in_table bigint, held bigint, rejected bigint, state text, quarantine_rule_id uuid, notify_rule_id uuid, presentation jsonb)", security: "definer" },
|
|
1632
1643
|
{ name: "forms_archived", args: "p_organization_id uuid, p_table_id uuid DEFAULT NULL::uuid, p_limit integer DEFAULT 100", returns: "TABLE(form_id uuid, table_id uuid, table_name text, kind text, title text, slug text, archived_at timestamp with time zone, archived_by uuid, table_archived boolean, can_restore boolean)", security: "definer" },
|
|
1633
1644
|
{ name: "formula_compile_sql", args: "p_organization_id uuid, p_expr jsonb, p_values_sql text", returns: "text", security: "invoker" },
|
|
@@ -1958,6 +1969,7 @@ var STORE_DOORS = [
|
|
|
1958
1969
|
{ name: "rollup_value", args: "p_organization_id uuid, p_record_id uuid, p_field_data jsonb", returns: "jsonb", security: "invoker" },
|
|
1959
1970
|
{ name: "row_actions", args: "p_organization_id uuid, p_table_id uuid", returns: "jsonb", security: "definer" },
|
|
1960
1971
|
{ name: "row_sits_in_a_personal_table", args: "p_type text, p_organization_id uuid, p_id uuid", returns: "boolean", security: "invoker" },
|
|
1972
|
+
{ name: "row_template_bodies", args: "p_organization_id uuid, p_table_id uuid", returns: "TABLE(template_id uuid, body jsonb)", security: "definer" },
|
|
1961
1973
|
{ name: "row_template_declare", args: "p_organization_id uuid, p_table_id uuid, p_spec jsonb", returns: "uuid", security: "definer" },
|
|
1962
1974
|
{ name: "row_templates", args: "p_organization_id uuid, p_table_id uuid", returns: 'TABLE(template_id uuid, name text, table_id uuid, "values" jsonb, created_at timestamp with time zone, updated_at timestamp with time zone)', security: "definer" },
|
|
1963
1975
|
{ name: "rule_applies", args: "p_organization_id uuid, p_rule_id uuid, p_record_id uuid", returns: "jsonb", security: "invoker" },
|
|
@@ -2084,6 +2096,8 @@ var STORE_DOORS = [
|
|
|
2084
2096
|
{ name: "table_stage_field", args: "p_organization_id uuid, p_table_id uuid", returns: "text", security: "definer" },
|
|
2085
2097
|
{ name: "table_storage", args: "p_organization_id uuid, p_table_id uuid", returns: "text", security: "invoker" },
|
|
2086
2098
|
{ name: "table_sync", args: "p_organization_id uuid, p_home_id uuid, p_spec jsonb", returns: "jsonb", security: "definer" },
|
|
2099
|
+
{ name: "table_template_declare", args: "p_org_id uuid, p_name text, p_description text, p_fields jsonb", returns: "uuid", security: "invoker" },
|
|
2100
|
+
{ name: "table_templates", args: "p_org_id uuid", returns: "jsonb", security: "definer" },
|
|
2087
2101
|
{ name: "table_transfer_owner", args: "p_table_id uuid, p_to_person uuid, p_reason text", returns: "jsonb", security: "definer" },
|
|
2088
2102
|
{ name: "table_type_field", args: "p_organization_id uuid, p_table_id uuid", returns: "text", security: "definer" },
|
|
2089
2103
|
{ name: "table_unique_rule_fields", args: "p_organization_id uuid, p_table_id uuid", returns: "jsonb", security: "invoker" },
|
|
@@ -2250,8 +2264,6 @@ var STORE_KNOBS = [
|
|
|
2250
2264
|
{ key: "provenance_retention_days", value: "30", type: "number" },
|
|
2251
2265
|
{ key: "row_action_steps_max", value: "60", type: "integer" },
|
|
2252
2266
|
{ key: "row_actions_max", value: "24", type: "integer" },
|
|
2253
|
-
{ key: "sandbox_expanded_frame_height_px", value: "20000", type: "integer" },
|
|
2254
|
-
{ key: "sandbox_frame_height_px", value: "4000", type: "integer" },
|
|
2255
2267
|
{ key: "sandbox_message_bytes", value: "65536", type: "integer" },
|
|
2256
2268
|
{ key: "sandbox_org_components", value: "true", type: "boolean" },
|
|
2257
2269
|
{ key: "scope_members_admitted", value: "true", type: "boolean" },
|
|
@@ -2274,12 +2286,12 @@ var STORE_REFUSAL_CODES = [
|
|
|
2274
2286
|
{ code: "22004", raised_by: "_entity_change_file,_entity_custom_fields_guard,_io_outbox_claim,_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,assert_scope_door,booking_declare,capture_submit,checklist_declare,context_resolve,context_template_define,context_type_write,dashboard_block_normalize,dashboard_declare,dashboard_window_sql,doc_render_write,doc_sign,doc_signature_write,doc_template_save,enrich_land,enrich_normalize,entity_field_protect_arman_explicitly_approved,entity_row_propose,entity_row_write,external_history_event,external_rows,external_source_declare,external_stub_upsert,external_write_through,external_writes_set,field_history,form_declare,form_look_options,form_submit,home_add,inbox_snooze,io_comment_write,io_import_begin,io_infer_column,io_outbox_drain,io_outbox_release_claimed,io_outbox_subscribe,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_aggregate_as_of,record_delete,record_reparent,record_resolve,record_restore,record_update,record_upsert,record_write,record_write_graph,record_write_graph_superseding,record_write_many,relation_carry,relation_halves_repair,relation_own,row_template_declare,rule_declare,set_table_confidential_arman_explicitly_approved,share_grant,sign_request_create,sign_request_sign,subscription_declare,table_archive,table_archive_deliberately,table_declare,table_duplicate,table_move,table_restore,table_share_outside_grant,table_share_outside_invite,template_declare,value_restore,view_declare,view_designate,view_look_read,view_look_set,whole_value_complete,work_approval_decide,work_approval_request,work_template_declare" },
|
|
2275
2287
|
{ code: "22007", raised_by: "_template_date,agg_parse_moment,dashboard_window_sql" },
|
|
2276
2288
|
{ code: "22012", raised_by: "formula_eval,rule_eval,rule_sql_op" },
|
|
2277
|
-
{ code: "22023", raised_by: "_action_check,_booking_availability,
|
|
2278
|
-
{ code: "23503", raised_by: "_action_check,_booking_availability,_checklist_instantiate,_containment_guard,_ctx_store_value,_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,migrate_purge_hard,pipeline_board,pipeline_declare,pipeline_move,pipeline_read,pipeline_transition_refusal,promote_field,promote_table,read_records_in_view_order,read_records_page,record_applicability,record_reparent,record_write_graph_superseding,relation_carry,relation_own,resolve_first_match,row_template_declare,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_dimensions_set,table_from_example,table_webhook_archive,table_webhook_declare,view_declare,view_designate,view_look_set,view_record_order_set,whole_value_complete,work_set_state,work_take_assignment,work_template_instantiate" },
|
|
2289
|
+
{ code: "22023", raised_by: "_action_check,_automation_fire,_booking_availability,_ctx_reference_value_holds,_ctx_store_scope,_ctx_table_template_field_holds,_ctx_tree_part,_decorations_check,_entity_change_file,_entity_custom_fields_guard,_form_flow_judge,_form_look_judge,_fx_date,_fx_num,_fx_regex,_fx_unit,_fxp_level,_fxp_resolve,_fxp_tokens,_portal_config_judge,_rule_eval_seated,_table_dimensions_check,_take_op_id,_template_bind,_value_envelope,_view_field_key,_view_key_value,_work_shape_guard,_write_via_mark,action_run,actor_word,agent_change_trust,agg_assert_key,agg_calendar,agg_compare_windows,agg_sql,anon_token_issue,booking_declare,containment_parent,context_scope_write,context_scopes,context_template_define,context_type_write,context_values,count_records_archived,dashboard_block_normalize,dashboard_run,dashboard_target_field_assert,dashboard_window_sql,data_home,data_home_changed_by,doc_render_body,doc_render_write,doc_signature_write,drill_resolve,enrich_declare,enrich_land,enrich_normalize,enrich_pin,entity_back_links,entity_fields_across,entity_read_mask,entity_reference_rows,entity_reference_search,entity_reference_words,entity_row_write,entity_value_write,external_history_event,external_source_declare,external_stub_upsert,external_write_through,field_access,field_history,field_update,form_declare,form_draft_save,form_visit,formula_eval,formula_parse,grid_layout_check,hub_changed_by,inbound_domain,inbox_snooze,io_export,io_import_begin,io_import_finish,io_import_plan,io_import_report,io_proposal_accept,list_portals,listed_predicate_sql,member_records_take_over,migrate_merge,migrate_reclass,my_levels,organization_clear,page_size,pick_list_create,pin_agent_cells,pipeline_move,pipeline_move_many,portal_declare,portal_form_submit,provenance_write,publish_bind,query_by_coordinates,query_rollup,query_rollup_sum,read_records_archived,read_records_in_view_order,read_records_keyset,read_records_page,record_aggregate_as_of,record_change_many,record_filter_sql,record_row_controls_set,record_search_sql,record_update,record_upsert,record_write_graph,record_write_graph_superseding,record_write_many,records_search,relation_carry,relation_names_match,row_template_declare,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_archive_deliberately,table_ensure,table_find,table_from_example,table_move,table_row_defaults_set,table_rules,table_share_outside_grant,table_sync,table_template_declare,table_transfer_owner,table_webhook_declare,template_declare,template_from_tables,template_install_claim,template_install_note,template_upgrade,templates,view_declare,view_keys_check,view_look_set,view_record_order_set,visibility_as_of,where_lists_live,where_tables_live,work_approval_request,work_decide_many,work_inbox,work_list,work_slot_hold" },
|
|
2290
|
+
{ code: "23503", raised_by: "_action_check,_automation_fire,_automation_flip,_booking_availability,_checklist_instantiate,_containment_guard,_ctx_store_value,_decorations_check,_display_spec_for,_field_document_for,_field_type_parity_guard,_form_flow_judge,_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,automation_declare,automation_runs,automations,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_results,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,migrate_purge_hard,pipeline_board,pipeline_declare,pipeline_move,pipeline_read,pipeline_transition_refusal,promote_field,promote_table,read_records_in_view_order,read_records_page,record_applicability,record_reparent,record_write_graph_superseding,relation_carry,relation_own,resolve_first_match,row_template_declare,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_dimensions_set,table_from_example,table_webhook_archive,table_webhook_declare,view_declare,view_designate,view_look_set,view_record_order_set,whole_value_complete,work_set_state,work_take_assignment,work_template_instantiate" },
|
|
2279
2291
|
{ code: "23505", raised_by: "_ctx_store_item,_ctx_store_scope,_ctx_store_type,_portal_config_judge,_share_write_person,_unique_rule_holds,doc_sign,doc_signature_write,entity_field_declare,field_declare,field_restore,field_update,form_restore,home_add,inbound_declare,io_proposal_accept,relation_carry,relation_own,relation_restore,sign_request_cancel,sign_request_create,table_share_outside_resend,work_approval_decide,work_slot_hold" },
|
|
2280
|
-
{ code: "23514", raised_by: "_checklist_instantiate,_checklist_step_guard,_containment_guard,
|
|
2292
|
+
{ code: "23514", raised_by: "_checklist_instantiate,_checklist_step_guard,_containment_guard,_ctx_scope_parent_holds,_ctx_store_item,_ctx_table_template_field_holds,_ctx_value_fits_its_scope,_dated_values_guard,_derived_fields,_display_format_check,_display_spec_for,_entity_choice_keys,_entity_custom_fields_guard,_field_choices_save,_field_class_guard,_field_default_fitted,_field_document_for,_field_kind_shape_ok,_field_shape_guard,_field_type_parity_guard,_kind_value_ok,_merge_field_shape_guard,_merge_field_temporal_guard,_promoted_field_cap_guard,_record_rule_uses,_record_source_key_is_record,_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,dashboard_restore,doc_sign,doc_signature_write,doc_template_restore,doc_template_save,entity_field_protect_arman_explicitly_approved,entity_field_retire,entity_field_update,entity_records_find,entity_table,entity_value_write,field_declare,field_restore,field_retire,field_update,field_update_rehoming_choices,form_restore,home_add,io_comment_write,io_import_rows,migrate_merge,migrate_purge_hard,portal_archive,portal_restore,record_restore,record_update_adding_choices,record_upsert,record_write_graph,record_write_graph_superseding,relation_carry,relation_halves_repair,relation_own,relation_restore,rollup_value,row_template_declare,rule_restore,sign_request_create,sign_request_sign,status_groups_keyed,status_groups_of,table_from_example,table_restore,template_upgrade,validate_value_envelope,validate_values,whole_value_complete,work_set_state,work_slots_declare,work_take_assignment,work_template_instantiate" },
|
|
2281
2293
|
{ code: "40001", raised_by: "has_visibility_at,table_move,whole_value_complete" },
|
|
2282
|
-
{ code: "42501", raised_by: "_agent_change_gate,_context_copy_fence,_copy_evaluation_note,_copy_evaluation_reimage,_copy_in_progress_guard,_doc_render_immutable,_doc_signature_immutable,_entity_change_file,_entity_custom_fields_guard,_field_definition_write,_field_write_door,_io_outbox_server_only,_not_a_member_refusal,_portal_config_judge,_portal_principal_here,_read_record_with,_rule_definition_write,_share_write_person,_store_door,_table_dimensions_infer,_table_duplicate_step,_table_shape_guard,_template_call,_value_envelope,_workdoors_approval_guard,agent_change_trust,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_may_know_table,assert_organization_admin,assert_scope_door,assert_store_door,booking_confirm,booking_declare,booking_hold,capture_submit,checklist_run,comment_write,context_item_archive,context_item_restore,context_item_write,context_resolve,context_scope_archive,context_scope_restore,context_scope_write,context_tags_set,context_type_archive,context_type_restore,context_type_write,conversation_scope_bind,conversation_scope_unbind,count_records_archived,dashboard_target_field_assert,doc_sign,enrich_declare,enrich_due,enrich_land,enrich_normalize,entity_field_declare,entity_field_retire,entity_field_update,entity_row_propose,entity_row_write,entity_value_write,external_write_through,field_restore,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,protected_matches,query_visibility_parity,read_record,read_records,read_records_archived,read_records_by_ids,read_records_keyset,read_records_matching,read_records_page,record_delete,record_row_controls,record_table,record_write_graph,relation_halves_disagreements,relation_halves_repair,resolve_context,reverse_links_many,scope_table_provision,share_grant,subscription_mute,subscription_preview,table_archive_deliberately,table_copies_in_progress,table_duplicate,table_duplicate_continue,table_kind_facts,table_move,table_row_defaults_apply,table_row_defaults_set,table_share_outside_accept,table_share_outside_grant,table_share_outside_invite,table_share_outside_resend,table_sync,table_transfer_owner,table_webhook_declare,template_declare,template_install,template_upgrade,templates,view_declare,view_look_set,view_record_order_set,visibility_as_of,where_lists_live,where_tables_live,whole_value_complete,work_approval_decide,work_approval_read,work_approval_request,work_person" },
|
|
2294
|
+
{ code: "42501", raised_by: "_agent_change_gate,_context_copy_fence,_copy_evaluation_note,_copy_evaluation_reimage,_copy_in_progress_guard,_doc_render_immutable,_doc_signature_immutable,_entity_change_file,_entity_custom_fields_guard,_field_definition_write,_field_write_door,_io_outbox_server_only,_not_a_member_refusal,_portal_config_judge,_portal_principal_here,_read_record_with,_rule_definition_write,_share_write_person,_store_door,_table_dimensions_infer,_table_duplicate_step,_table_shape_guard,_template_call,_value_envelope,_workdoors_approval_guard,agent_change_trust,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_may_know_table,assert_organization_admin,assert_scope_door,assert_store_door,booking_confirm,booking_declare,booking_hold,capture_submit,checklist_run,comment_write,context_item_archive,context_item_restore,context_item_write,context_resolve,context_scope_archive,context_scope_restore,context_scope_write,context_tags_set,context_type_archive,context_type_restore,context_type_write,conversation_scope_bind,conversation_scope_unbind,count_records_archived,dashboard_target_field_assert,doc_sign,enrich_declare,enrich_due,enrich_land,enrich_normalize,entity_field_declare,entity_field_retire,entity_field_update,entity_row_propose,entity_row_write,entity_value_write,external_write_through,field_restore,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,protected_matches,query_visibility_parity,read_record,read_records,read_records_archived,read_records_by_ids,read_records_keyset,read_records_matching,read_records_page,record_delete,record_row_controls,record_table,record_write_graph,relation_halves_disagreements,relation_halves_repair,resolve_context,reverse_links_many,scope_table_provision,share_grant,subscription_mute,subscription_preview,table_archive_deliberately,table_copies_in_progress,table_duplicate,table_duplicate_continue,table_kind_facts,table_move,table_row_defaults_apply,table_row_defaults_set,table_share_outside_accept,table_share_outside_grant,table_share_outside_invite,table_share_outside_resend,table_sync,table_templates,table_transfer_owner,table_webhook_declare,template_declare,template_install,template_upgrade,templates,view_declare,view_look_set,view_record_order_set,visibility_as_of,where_lists_live,where_tables_live,whole_value_complete,work_approval_decide,work_approval_read,work_approval_request,work_person" },
|
|
2283
2295
|
{ code: "42703", raised_by: "entity_table,portal_declare" },
|
|
2284
2296
|
{ code: "42883", raised_by: "_template_call" },
|
|
2285
2297
|
{ code: "42P17", raised_by: "_field_reads_what_it_reads,far_value" },
|
|
@@ -2300,6 +2312,7 @@ var ENTITY_TOKENS = [
|
|
|
2300
2312
|
"access_delta_run",
|
|
2301
2313
|
"access_request",
|
|
2302
2314
|
"account_addon",
|
|
2315
|
+
"account_closure",
|
|
2303
2316
|
"acquisition_block",
|
|
2304
2317
|
"activity",
|
|
2305
2318
|
"admin_audit_log",
|
|
@@ -2339,6 +2352,7 @@ var ENTITY_TOKENS = [
|
|
|
2339
2352
|
"ai_usage_hourly_watermark",
|
|
2340
2353
|
"analysis_result",
|
|
2341
2354
|
"anon_form",
|
|
2355
|
+
"anon_form_visit",
|
|
2342
2356
|
"anon_function_birth_grandfather",
|
|
2343
2357
|
"anon_hit",
|
|
2344
2358
|
"anon_inbound",
|
|
@@ -2941,6 +2955,7 @@ var ENTITY_TOKENS = [
|
|
|
2941
2955
|
"oauth_handoff_claim",
|
|
2942
2956
|
"opinion_clusters",
|
|
2943
2957
|
"opinions",
|
|
2958
|
+
"ops_auth_lock_watchdog_log",
|
|
2944
2959
|
"ops_check_item",
|
|
2945
2960
|
"ops_check_run",
|
|
2946
2961
|
"ops_db_host_sample",
|
|
@@ -2983,6 +2998,7 @@ var ENTITY_TOKENS = [
|
|
|
2983
2998
|
"pdf_redaction_audit",
|
|
2984
2999
|
"pdf_redaction_key_escrow",
|
|
2985
3000
|
"permission_grant",
|
|
3001
|
+
"personal_data_column",
|
|
2986
3002
|
"plan_cms_fill_item",
|
|
2987
3003
|
"plan_cms_fill_job",
|
|
2988
3004
|
"plan_entity",
|
|
@@ -3048,6 +3064,10 @@ var ENTITY_TOKENS = [
|
|
|
3048
3064
|
"provision_spec_grandfather",
|
|
3049
3065
|
"provision_vocabulary",
|
|
3050
3066
|
"provlock_recall_visits_all8u5",
|
|
3067
|
+
"public_compat_wrapper",
|
|
3068
|
+
"public_placement_baseline",
|
|
3069
|
+
"public_placement_domain",
|
|
3070
|
+
"public_restore_permit",
|
|
3051
3071
|
"purpose",
|
|
3052
3072
|
"quiz_session",
|
|
3053
3073
|
"rag_ingest_run",
|
|
@@ -3747,6 +3767,10 @@ var DOORS = {
|
|
|
3747
3767
|
* organization wall and the caller's own rung on the Table — never `rule_eval` from a browser.
|
|
3748
3768
|
*/
|
|
3749
3769
|
formPreviewAsks: "form_preview_asks",
|
|
3770
|
+
/** TYPEFORM-DUP: the owner's preview of the whole route — jumps, ending, score (`custom._form_route`). */
|
|
3771
|
+
formPreviewRoute: "form_preview_route",
|
|
3772
|
+
/** TYPEFORM-DUP: views, starts, completions, drop-off and answers per question. */
|
|
3773
|
+
formResults: "form_results",
|
|
3750
3774
|
formLookOptions: "form_look_options",
|
|
3751
3775
|
// PRODUCTS row 14 — "let clients book a 30-minute consult". A booking page IS an
|
|
3752
3776
|
// `anon_form`, so it is opened and closed by `anonPublish` like any other; this is
|
|
@@ -4064,6 +4088,13 @@ var DOORS = {
|
|
|
4064
4088
|
actionDeclare: "action_declare",
|
|
4065
4089
|
rowActions: "row_actions",
|
|
4066
4090
|
actionRun: "action_run",
|
|
4091
|
+
// AUTOMATION-DOOR (2026-10-07) — automations on a table. See ../automation.ts.
|
|
4092
|
+
automationDeclare: "automation_declare",
|
|
4093
|
+
automations: "automations",
|
|
4094
|
+
automationArchive: "automation_archive",
|
|
4095
|
+
automationRestore: "automation_restore",
|
|
4096
|
+
automationSetEnabled: "automation_set_enabled",
|
|
4097
|
+
automationRuns: "automation_runs",
|
|
4067
4098
|
tableWebhookDeclare: "table_webhook_declare",
|
|
4068
4099
|
tableWebhooks: "table_webhooks",
|
|
4069
4100
|
tableWebhookArchive: "table_webhook_archive",
|
|
@@ -5667,6 +5698,20 @@ function createRecordsClient(given) {
|
|
|
5667
5698
|
"formPreviewAsks"
|
|
5668
5699
|
);
|
|
5669
5700
|
},
|
|
5701
|
+
async formPreviewRoute({ table_id, questions, endings, values }) {
|
|
5702
|
+
return callDoor(
|
|
5703
|
+
DOORS.formPreviewRoute,
|
|
5704
|
+
{ p_organization_id: org, p_table_id: table_id, p_questions: questions, p_endings: endings ?? [], p_values: values },
|
|
5705
|
+
"formPreviewRoute"
|
|
5706
|
+
);
|
|
5707
|
+
},
|
|
5708
|
+
async formResults({ form_id }) {
|
|
5709
|
+
return callDoor(
|
|
5710
|
+
DOORS.formResults,
|
|
5711
|
+
{ p_organization_id: org, p_form_id: form_id },
|
|
5712
|
+
"formResults"
|
|
5713
|
+
);
|
|
5714
|
+
},
|
|
5670
5715
|
async formLookOptions(args) {
|
|
5671
5716
|
return callDoor(
|
|
5672
5717
|
DOORS.formLookOptions,
|
|
@@ -7343,6 +7388,48 @@ function createRecordsClient(given) {
|
|
|
7343
7388
|
}
|
|
7344
7389
|
return result;
|
|
7345
7390
|
},
|
|
7391
|
+
async automationDeclare({ table_id, spec, automation_id }) {
|
|
7392
|
+
return callDoor(
|
|
7393
|
+
DOORS.automationDeclare,
|
|
7394
|
+
{ p_organization_id: org, p_table_id: table_id, p_spec: spec, p_automation_id: automation_id ?? null },
|
|
7395
|
+
"automationDeclare"
|
|
7396
|
+
);
|
|
7397
|
+
},
|
|
7398
|
+
async automations({ table_id, include_archived }) {
|
|
7399
|
+
return callDoor(
|
|
7400
|
+
DOORS.automations,
|
|
7401
|
+
{ p_table_id: table_id, p_organization_id: org, p_include_archived: include_archived ?? false },
|
|
7402
|
+
"automations"
|
|
7403
|
+
);
|
|
7404
|
+
},
|
|
7405
|
+
async automationArchive({ automation_id }) {
|
|
7406
|
+
return callDoor(
|
|
7407
|
+
DOORS.automationArchive,
|
|
7408
|
+
{ p_organization_id: org, p_automation_id: automation_id },
|
|
7409
|
+
"automationArchive"
|
|
7410
|
+
);
|
|
7411
|
+
},
|
|
7412
|
+
async automationRestore({ automation_id }) {
|
|
7413
|
+
return callDoor(
|
|
7414
|
+
DOORS.automationRestore,
|
|
7415
|
+
{ p_organization_id: org, p_automation_id: automation_id },
|
|
7416
|
+
"automationRestore"
|
|
7417
|
+
);
|
|
7418
|
+
},
|
|
7419
|
+
async automationSetEnabled({ automation_id, enabled }) {
|
|
7420
|
+
return callDoor(
|
|
7421
|
+
DOORS.automationSetEnabled,
|
|
7422
|
+
{ p_organization_id: org, p_automation_id: automation_id, p_enabled: enabled },
|
|
7423
|
+
"automationSetEnabled"
|
|
7424
|
+
);
|
|
7425
|
+
},
|
|
7426
|
+
async automationRuns({ automation_id, limit, cursor }) {
|
|
7427
|
+
return callDoor(
|
|
7428
|
+
DOORS.automationRuns,
|
|
7429
|
+
{ p_automation_id: automation_id, p_limit: limit ?? 50, p_cursor: cursor ?? null, p_organization_id: org },
|
|
7430
|
+
"automationRuns"
|
|
7431
|
+
);
|
|
7432
|
+
},
|
|
7346
7433
|
async tableWebhookDeclare({ table_id, target_url, events, description }) {
|
|
7347
7434
|
return callDoor(
|
|
7348
7435
|
DOORS.tableWebhookDeclare,
|