hazo_collab_forms 3.1.6 → 5.0.0
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/CHANGE_LOG.md +207 -0
- package/README.md +3 -0
- package/dist/components/clarification/clarification_item_body.d.ts +19 -1
- package/dist/components/clarification/clarification_item_body.d.ts.map +1 -1
- package/dist/components/clarification/clarification_item_body.js +114 -6
- package/dist/components/clarification/clarification_item_body.js.map +1 -1
- package/dist/components/clarification/clarification_thread.js +1 -1
- package/dist/components/clarification/clarification_thread.js.map +1 -1
- package/dist/components/clarification/index.d.ts +2 -0
- package/dist/components/clarification/index.d.ts.map +1 -1
- package/dist/components/clarification/index.js +1 -0
- package/dist/components/clarification/index.js.map +1 -1
- package/dist/components/clarification/resolution_status_strip.d.ts +18 -0
- package/dist/components/clarification/resolution_status_strip.d.ts.map +1 -0
- package/dist/components/clarification/resolution_status_strip.js +20 -0
- package/dist/components/clarification/resolution_status_strip.js.map +1 -0
- package/dist/components/hazo_fb_form/context.d.ts +1 -1
- package/dist/components/hazo_fb_form/context.d.ts.map +1 -1
- package/dist/components/hazo_fb_form/hazo_fb_form.d.ts.map +1 -1
- package/dist/components/hazo_fb_form/hazo_fb_form.js +330 -113
- package/dist/components/hazo_fb_form/hazo_fb_form.js.map +1 -1
- package/dist/components/hazo_fb_form/hooks/use_fb_form_state.d.ts +3 -3
- package/dist/components/hazo_fb_form/hooks/use_fb_form_state.d.ts.map +1 -1
- package/dist/components/hazo_fb_form/hooks/use_fb_form_state.js +340 -61
- package/dist/components/hazo_fb_form/hooks/use_fb_form_state.js.map +1 -1
- package/dist/components/hazo_fb_form/hooks/use_llm_run.d.ts +3 -1
- package/dist/components/hazo_fb_form/hooks/use_llm_run.d.ts.map +1 -1
- package/dist/components/hazo_fb_form/hooks/use_llm_run.js +89 -11
- package/dist/components/hazo_fb_form/hooks/use_llm_run.js.map +1 -1
- package/dist/components/hazo_fb_form/shared/agent_stepper.js +1 -1
- package/dist/components/hazo_fb_form/shared/agent_stepper.js.map +1 -1
- package/dist/components/hazo_fb_form/shared/file_status_accordion.d.ts +9 -0
- package/dist/components/hazo_fb_form/shared/file_status_accordion.d.ts.map +1 -0
- package/dist/components/hazo_fb_form/shared/file_status_accordion.js +39 -0
- package/dist/components/hazo_fb_form/shared/file_status_accordion.js.map +1 -0
- package/dist/components/hazo_fb_form/shared/format.d.ts.map +1 -1
- package/dist/components/hazo_fb_form/shared/format.js +8 -3
- package/dist/components/hazo_fb_form/shared/format.js.map +1 -1
- package/dist/components/hazo_fb_form/shared/send_back_item_card.d.ts +7 -1
- package/dist/components/hazo_fb_form/shared/send_back_item_card.d.ts.map +1 -1
- package/dist/components/hazo_fb_form/shared/send_back_item_card.js +6 -3
- package/dist/components/hazo_fb_form/shared/send_back_item_card.js.map +1 -1
- package/dist/components/hazo_fb_form/types.d.ts +3 -1
- package/dist/components/hazo_fb_form/types.d.ts.map +1 -1
- package/dist/components/hazo_fb_form/views/back_office_view.js +1 -1
- package/dist/components/hazo_fb_form/views/back_office_view.js.map +1 -1
- package/dist/components/hazo_fb_form/views/clarifications_view.js +2 -2
- package/dist/components/hazo_fb_form/views/clarifications_view.js.map +1 -1
- package/dist/components/hazo_fb_form/views/front_office_view.d.ts.map +1 -1
- package/dist/components/hazo_fb_form/views/front_office_view.js +62 -41
- package/dist/components/hazo_fb_form/views/front_office_view.js.map +1 -1
- package/dist/components/hazo_fb_form/views/interim_view.js +3 -3
- package/dist/components/hazo_fb_form/views/interim_view.js.map +1 -1
- package/dist/components/hazo_fb_form/views/review_queue_view.d.ts.map +1 -1
- package/dist/components/hazo_fb_form/views/review_queue_view.js +22 -9
- package/dist/components/hazo_fb_form/views/review_queue_view.js.map +1 -1
- package/dist/components/hazo_validation_rule_editor/components/rule_editor.d.ts.map +1 -1
- package/dist/components/hazo_validation_rule_editor/components/rule_editor.js +32 -3
- package/dist/components/hazo_validation_rule_editor/components/rule_editor.js.map +1 -1
- package/dist/components/hazo_validation_rule_editor/components/variable_chain_input.d.ts +20 -0
- package/dist/components/hazo_validation_rule_editor/components/variable_chain_input.d.ts.map +1 -0
- package/dist/components/hazo_validation_rule_editor/components/variable_chain_input.js +34 -0
- package/dist/components/hazo_validation_rule_editor/components/variable_chain_input.js.map +1 -0
- package/dist/components/hazo_validation_rule_editor/context.d.ts +3 -2
- package/dist/components/hazo_validation_rule_editor/context.d.ts.map +1 -1
- package/dist/components/hazo_validation_rule_editor/context.js +15 -3
- package/dist/components/hazo_validation_rule_editor/context.js.map +1 -1
- package/dist/components/hazo_validation_rule_editor/types.d.ts +7 -1
- package/dist/components/hazo_validation_rule_editor/types.d.ts.map +1 -1
- package/dist/components/hazo_validation_rule_editor/validation_rule_editor.d.ts +1 -1
- package/dist/components/hazo_validation_rule_editor/validation_rule_editor.d.ts.map +1 -1
- package/dist/components/hazo_validation_rule_editor/validation_rule_editor.js +2 -2
- package/dist/components/hazo_validation_rule_editor/validation_rule_editor.js.map +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +2 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/shared/document_type_editor.d.ts +31 -0
- package/dist/components/shared/document_type_editor.d.ts.map +1 -0
- package/dist/components/shared/document_type_editor.js +60 -0
- package/dist/components/shared/document_type_editor.js.map +1 -0
- package/dist/components/shared/file_bar/file_bar.d.ts +7 -1
- package/dist/components/shared/file_bar/file_bar.d.ts.map +1 -1
- package/dist/components/shared/file_bar/file_bar.js +5 -3
- package/dist/components/shared/file_bar/file_bar.js.map +1 -1
- package/dist/components/shared/file_bar/file_bar_validation_dialog.js +4 -4
- package/dist/components/shared/file_bar/file_bar_validation_dialog.js.map +1 -1
- package/dist/components/shared/file_status_icon.d.ts +23 -0
- package/dist/components/shared/file_status_icon.d.ts.map +1 -0
- package/dist/components/shared/file_status_icon.js +38 -0
- package/dist/components/shared/file_status_icon.js.map +1 -0
- package/dist/components/shared/json_data_panel/json_data_panel.d.ts +1 -1
- package/dist/components/shared/json_data_panel/json_data_panel.d.ts.map +1 -1
- package/dist/components/shared/json_data_panel/json_data_panel.js +27 -2
- package/dist/components/shared/json_data_panel/json_data_panel.js.map +1 -1
- package/dist/components/shared/rule_result_card.d.ts.map +1 -1
- package/dist/components/shared/rule_result_card.js +5 -4
- package/dist/components/shared/rule_result_card.js.map +1 -1
- package/dist/components/thread_form/components/add_question_dialog.d.ts +12 -0
- package/dist/components/thread_form/components/add_question_dialog.d.ts.map +1 -0
- package/dist/components/thread_form/components/add_question_dialog.js +36 -0
- package/dist/components/thread_form/components/add_question_dialog.js.map +1 -0
- package/dist/components/thread_form/components/agent_compose_dialog.d.ts +30 -0
- package/dist/components/thread_form/components/agent_compose_dialog.d.ts.map +1 -0
- package/dist/components/thread_form/components/agent_compose_dialog.js +45 -0
- package/dist/components/thread_form/components/agent_compose_dialog.js.map +1 -0
- package/dist/components/thread_form/components/clarification.d.ts +14 -0
- package/dist/components/thread_form/components/clarification.d.ts.map +1 -0
- package/dist/components/thread_form/components/clarification.js +12 -0
- package/dist/components/thread_form/components/clarification.js.map +1 -0
- package/dist/components/thread_form/components/collected_data_view.d.ts +15 -0
- package/dist/components/thread_form/components/collected_data_view.d.ts.map +1 -0
- package/dist/components/thread_form/components/collected_data_view.js +121 -0
- package/dist/components/thread_form/components/collected_data_view.js.map +1 -0
- package/dist/components/thread_form/components/coverage_card.d.ts +11 -0
- package/dist/components/thread_form/components/coverage_card.d.ts.map +1 -0
- package/dist/components/thread_form/components/coverage_card.js +60 -0
- package/dist/components/thread_form/components/coverage_card.js.map +1 -0
- package/dist/components/thread_form/components/file_bar.d.ts +93 -0
- package/dist/components/thread_form/components/file_bar.d.ts.map +1 -0
- package/dist/components/thread_form/components/file_bar.js +251 -0
- package/dist/components/thread_form/components/file_bar.js.map +1 -0
- package/dist/components/thread_form/components/file_info_dialog.d.ts +15 -0
- package/dist/components/thread_form/components/file_info_dialog.d.ts.map +1 -0
- package/dist/components/thread_form/components/file_info_dialog.js +64 -0
- package/dist/components/thread_form/components/file_info_dialog.js.map +1 -0
- package/dist/components/thread_form/components/issue_group_tree.d.ts +20 -0
- package/dist/components/thread_form/components/issue_group_tree.d.ts.map +1 -0
- package/dist/components/thread_form/components/issue_group_tree.js +164 -0
- package/dist/components/thread_form/components/issue_group_tree.js.map +1 -0
- package/dist/components/thread_form/components/pdf_side_panel.d.ts +20 -0
- package/dist/components/thread_form/components/pdf_side_panel.d.ts.map +1 -0
- package/dist/components/thread_form/components/pdf_side_panel.js +63 -0
- package/dist/components/thread_form/components/pdf_side_panel.js.map +1 -0
- package/dist/components/thread_form/components/rule_decision_row.d.ts +31 -0
- package/dist/components/thread_form/components/rule_decision_row.d.ts.map +1 -0
- package/dist/components/thread_form/components/rule_decision_row.js +20 -0
- package/dist/components/thread_form/components/rule_decision_row.js.map +1 -0
- package/dist/components/thread_form/components/send_back_message.d.ts +32 -0
- package/dist/components/thread_form/components/send_back_message.d.ts.map +1 -0
- package/dist/components/thread_form/components/send_back_message.js +82 -0
- package/dist/components/thread_form/components/send_back_message.js.map +1 -0
- package/dist/components/thread_form/components/shared.d.ts +54 -0
- package/dist/components/thread_form/components/shared.d.ts.map +1 -0
- package/dist/components/thread_form/components/shared.js +136 -0
- package/dist/components/thread_form/components/shared.js.map +1 -0
- package/dist/components/thread_form/components/task_card.d.ts +90 -0
- package/dist/components/thread_form/components/task_card.d.ts.map +1 -0
- package/dist/components/thread_form/components/task_card.js +63 -0
- package/dist/components/thread_form/components/task_card.js.map +1 -0
- package/dist/components/thread_form/components/text_doc_check.d.ts +15 -0
- package/dist/components/thread_form/components/text_doc_check.d.ts.map +1 -0
- package/dist/components/thread_form/components/text_doc_check.js +16 -0
- package/dist/components/thread_form/components/text_doc_check.js.map +1 -0
- package/dist/components/thread_form/components/text_extraction.d.ts +14 -0
- package/dist/components/thread_form/components/text_extraction.d.ts.map +1 -0
- package/dist/components/thread_form/components/text_extraction.js +16 -0
- package/dist/components/thread_form/components/text_extraction.js.map +1 -0
- package/dist/components/thread_form/components/thread_composer.d.ts +15 -0
- package/dist/components/thread_form/components/thread_composer.d.ts.map +1 -0
- package/dist/components/thread_form/components/thread_composer.js +93 -0
- package/dist/components/thread_form/components/thread_composer.js.map +1 -0
- package/dist/components/thread_form/components/thread_timeline.d.ts +65 -0
- package/dist/components/thread_form/components/thread_timeline.d.ts.map +1 -0
- package/dist/components/thread_form/components/thread_timeline.js +225 -0
- package/dist/components/thread_form/components/thread_timeline.js.map +1 -0
- package/dist/components/thread_form/hooks/use_file_pipeline.d.ts +126 -0
- package/dist/components/thread_form/hooks/use_file_pipeline.d.ts.map +1 -0
- package/dist/components/thread_form/hooks/use_file_pipeline.js +760 -0
- package/dist/components/thread_form/hooks/use_file_pipeline.js.map +1 -0
- package/dist/components/thread_form/hooks/use_thread_form.d.ts +36 -0
- package/dist/components/thread_form/hooks/use_thread_form.d.ts.map +1 -0
- package/dist/components/thread_form/hooks/use_thread_form.js +126 -0
- package/dist/components/thread_form/hooks/use_thread_form.js.map +1 -0
- package/dist/components/thread_form/index.d.ts +33 -0
- package/dist/components/thread_form/index.d.ts.map +1 -0
- package/dist/components/thread_form/index.js +30 -0
- package/dist/components/thread_form/index.js.map +1 -0
- package/dist/components/thread_form/sample_data.d.ts +8 -0
- package/dist/components/thread_form/sample_data.d.ts.map +1 -0
- package/dist/components/thread_form/sample_data.js +658 -0
- package/dist/components/thread_form/sample_data.js.map +1 -0
- package/dist/components/thread_form/thread_form.d.ts +7 -0
- package/dist/components/thread_form/thread_form.d.ts.map +1 -0
- package/dist/components/thread_form/thread_form.js +1385 -0
- package/dist/components/thread_form/thread_form.js.map +1 -0
- package/dist/components/thread_form/types.d.ts +402 -0
- package/dist/components/thread_form/types.d.ts.map +1 -0
- package/dist/components/thread_form/types.js +23 -0
- package/dist/components/thread_form/types.js.map +1 -0
- package/dist/components/thread_form/utils/file_decision_state.d.ts +22 -0
- package/dist/components/thread_form/utils/file_decision_state.d.ts.map +1 -0
- package/dist/components/thread_form/utils/file_decision_state.js +37 -0
- package/dist/components/thread_form/utils/file_decision_state.js.map +1 -0
- package/dist/components/thread_form/utils/merge_send_back.d.ts +13 -0
- package/dist/components/thread_form/utils/merge_send_back.d.ts.map +1 -0
- package/dist/components/thread_form/utils/merge_send_back.js +23 -0
- package/dist/components/thread_form/utils/merge_send_back.js.map +1 -0
- package/dist/lib/autofill_handler.d.ts.map +1 -1
- package/dist/lib/autofill_handler.js +5 -44
- package/dist/lib/autofill_handler.js.map +1 -1
- package/dist/lib/classification_handler.d.ts +105 -0
- package/dist/lib/classification_handler.d.ts.map +1 -0
- package/dist/lib/classification_handler.js +342 -0
- package/dist/lib/classification_handler.js.map +1 -0
- package/dist/lib/content_gate_handler.d.ts +37 -0
- package/dist/lib/content_gate_handler.d.ts.map +1 -0
- package/dist/lib/content_gate_handler.js +126 -0
- package/dist/lib/content_gate_handler.js.map +1 -0
- package/dist/lib/index.d.ts +10 -0
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/index.js +5 -0
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/periodic_coverage_runner.d.ts +24 -0
- package/dist/lib/periodic_coverage_runner.d.ts.map +1 -0
- package/dist/lib/periodic_coverage_runner.js +121 -0
- package/dist/lib/periodic_coverage_runner.js.map +1 -0
- package/dist/lib/resolution_handler.d.ts +150 -0
- package/dist/lib/resolution_handler.d.ts.map +1 -0
- package/dist/lib/resolution_handler.js +597 -0
- package/dist/lib/resolution_handler.js.map +1 -0
- package/dist/lib/resolve_variable.d.ts +25 -0
- package/dist/lib/resolve_variable.d.ts.map +1 -0
- package/dist/lib/resolve_variable.js +77 -0
- package/dist/lib/resolve_variable.js.map +1 -0
- package/dist/lib/validation_handler.d.ts +27 -3
- package/dist/lib/validation_handler.d.ts.map +1 -1
- package/dist/lib/validation_handler.js +338 -288
- package/dist/lib/validation_handler.js.map +1 -1
- package/dist/types/clarification.d.ts +54 -0
- package/dist/types/clarification.d.ts.map +1 -1
- package/dist/types/fb_form_data.d.ts +273 -123
- package/dist/types/fb_form_data.d.ts.map +1 -1
- package/dist/types/fb_form_data.js +44 -58
- package/dist/types/fb_form_data.js.map +1 -1
- package/dist/types/fb_form_data_v1.d.ts +250 -0
- package/dist/types/fb_form_data_v1.d.ts.map +1 -0
- package/dist/types/fb_form_data_v1.js +117 -0
- package/dist/types/fb_form_data_v1.js.map +1 -0
- package/dist/types/fb_form_instance.d.ts +1 -1
- package/dist/types/fb_form_instance.d.ts.map +1 -1
- package/dist/types/index.d.ts +5 -3
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +2 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/validation.d.ts +134 -12
- package/dist/types/validation.d.ts.map +1 -1
- package/dist/utils/expectation_extractor.d.ts +31 -0
- package/dist/utils/expectation_extractor.d.ts.map +1 -0
- package/dist/utils/expectation_extractor.js +142 -0
- package/dist/utils/expectation_extractor.js.map +1 -0
- package/dist/utils/fb_data_adapter.d.ts +7 -2
- package/dist/utils/fb_data_adapter.d.ts.map +1 -1
- package/dist/utils/fb_data_adapter.js +58 -7
- package/dist/utils/fb_data_adapter.js.map +1 -1
- package/dist/utils/fb_data_adapter_v2.d.ts +17 -0
- package/dist/utils/fb_data_adapter_v2.d.ts.map +1 -0
- package/dist/utils/fb_data_adapter_v2.js +483 -0
- package/dist/utils/fb_data_adapter_v2.js.map +1 -0
- package/dist/utils/fb_data_helpers.d.ts +1 -1
- package/dist/utils/fb_data_helpers.d.ts.map +1 -1
- package/dist/utils/fb_data_mutations.d.ts +1 -1
- package/dist/utils/fb_data_mutations.d.ts.map +1 -1
- package/dist/utils/fb_data_mutations_v2.d.ts +46 -0
- package/dist/utils/fb_data_mutations_v2.d.ts.map +1 -0
- package/dist/utils/fb_data_mutations_v2.js +341 -0
- package/dist/utils/fb_data_mutations_v2.js.map +1 -0
- package/dist/utils/fb_data_queries.d.ts +81 -0
- package/dist/utils/fb_data_queries.d.ts.map +1 -0
- package/dist/utils/fb_data_queries.js +354 -0
- package/dist/utils/fb_data_queries.js.map +1 -0
- package/dist/utils/index.d.ts +4 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +6 -0
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/issue_bucketing.d.ts +36 -0
- package/dist/utils/issue_bucketing.d.ts.map +1 -0
- package/dist/utils/issue_bucketing.js +107 -0
- package/dist/utils/issue_bucketing.js.map +1 -0
- package/dist/utils/validation_result.d.ts +32 -0
- package/dist/utils/validation_result.d.ts.map +1 -0
- package/dist/utils/validation_result.js +55 -0
- package/dist/utils/validation_result.js.map +1 -0
- package/package.json +16 -4
|
@@ -1,25 +1,30 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Hierarchical data model for FB Form instances.
|
|
2
|
+
* Hierarchical data model v2 for FB Form instances.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
4
|
+
* Single source of truth for all form data across instances. The structure is
|
|
5
|
+
* flattened compared to v1 — validations and clarifications are direct arrays
|
|
6
|
+
* on each entry rather than nested inside activities[].
|
|
7
7
|
*
|
|
8
8
|
* data[]
|
|
9
|
-
* ├── question
|
|
10
|
-
*
|
|
11
|
-
* │
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
9
|
+
* ├── question (tagged with form_instance)
|
|
10
|
+
* ├── client_data[]
|
|
11
|
+
* │ └── client_input → processed_data[] (LLM-split items)
|
|
12
|
+
* ├── validations[] (flat, each with processed_data_ref)
|
|
13
|
+
* └── clarifications[] (flat, each with thread[], review, response_data[])
|
|
14
|
+
*
|
|
15
|
+
* Key design principles:
|
|
16
|
+
* - Instance-independent: one data[] spans all form instances
|
|
17
|
+
* - Thread captures full conversation history across instances
|
|
18
|
+
* - Review decisions are direct properties, not buried in activities
|
|
19
|
+
* - Clarifications reference processed_data via IDs, not nesting
|
|
20
|
+
* - response_data links to thread entries via thread_ref + thread_index
|
|
17
21
|
*
|
|
18
22
|
* ID notation:
|
|
19
|
-
* ie_N
|
|
20
|
-
* pd_N.M
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
+
* ie_N — input element (sequential)
|
|
24
|
+
* pd_N.M — processed data (ie prefix + sequential suffix)
|
|
25
|
+
* val_N — validation (sequential within entry)
|
|
26
|
+
* clr_* — clarification (real IDs, not synthetic)
|
|
27
|
+
* th_N — thread entry (sequential within clarification)
|
|
23
28
|
*/
|
|
24
29
|
/** The root data structure holding all form data entries across instances */
|
|
25
30
|
export interface FbFormData {
|
|
@@ -27,40 +32,55 @@ export interface FbFormData {
|
|
|
27
32
|
}
|
|
28
33
|
/**
|
|
29
34
|
* A single entry in the data[] array.
|
|
30
|
-
*
|
|
35
|
+
* Represents a question posed to the client with all associated data:
|
|
36
|
+
* inputs, processed data, validations, and clarifications.
|
|
31
37
|
*/
|
|
32
38
|
export interface FbDataEntry {
|
|
33
|
-
/**
|
|
39
|
+
/** Question metadata — what was asked of the client */
|
|
34
40
|
question?: FbQuestion;
|
|
35
|
-
/**
|
|
36
|
-
clarification?: FbClarificationBlock;
|
|
37
|
-
/** Client inputs for this entry (when it's a root question, not a clarification) */
|
|
41
|
+
/** Client inputs for this question */
|
|
38
42
|
client_data?: FbClientDataItem[];
|
|
43
|
+
/** All validations across all processed_data in this entry (flat, with processed_data_ref) */
|
|
44
|
+
validations?: FbEntryValidation[];
|
|
45
|
+
/** All clarifications raised for this entry (flat, each with thread and review state) */
|
|
46
|
+
clarifications?: FbEntryClarification[];
|
|
47
|
+
/** Autofill runs for files in this entry — tracks which files have been processed and their results */
|
|
48
|
+
autofill_runs?: FbAutofillRun[];
|
|
49
|
+
}
|
|
50
|
+
/** Record of an autofill execution for a specific file+group combination */
|
|
51
|
+
export interface FbAutofillRun {
|
|
52
|
+
/** hazo_files file ID that was processed */
|
|
53
|
+
file_id: string;
|
|
54
|
+
/** Display filename */
|
|
55
|
+
file_name: string;
|
|
56
|
+
/** Back-office group ID that received the extracted data */
|
|
57
|
+
group_id: string;
|
|
58
|
+
/** Outcome of the extraction */
|
|
59
|
+
status: 'success' | 'error' | 'empty';
|
|
60
|
+
/** Number of fields populated (0 for error/empty) */
|
|
61
|
+
fields_populated: number;
|
|
62
|
+
/** ISO 8601 timestamp of the run */
|
|
63
|
+
time: string;
|
|
64
|
+
/** Form instance number when the run occurred */
|
|
65
|
+
form_instance: number;
|
|
66
|
+
/** Error message (when status is 'error') */
|
|
67
|
+
error?: string;
|
|
39
68
|
}
|
|
40
69
|
/** A question posed to the client — either a data request or a clarification */
|
|
41
70
|
export interface FbQuestion {
|
|
42
|
-
/** Activity that spawned this question (null for root questions from form config) */
|
|
71
|
+
/** Activity/source that spawned this question (null for root questions from form config) */
|
|
43
72
|
source_id: string | null;
|
|
44
|
-
/** Unique field ID for this question (e.g. 'q1_income'
|
|
73
|
+
/** Unique field ID for this question (e.g. 'q1_income') */
|
|
45
74
|
question_field_id: string;
|
|
46
75
|
/** Type of question */
|
|
47
76
|
question_type: 'data_request' | 'clarification';
|
|
48
|
-
/** Which form round/instance this
|
|
77
|
+
/** Which form round/instance this question was first asked in (1, 2, 3, ...) */
|
|
49
78
|
form_instance: number;
|
|
50
79
|
/** UI component to render (e.g. 'HazoCollabFormFileTextbox', 'HazoCollabFormRFIbox') */
|
|
51
80
|
component_type: string;
|
|
52
81
|
/** Human-readable question text shown to the client */
|
|
53
82
|
description: string;
|
|
54
83
|
}
|
|
55
|
-
/** A clarification question with its RFI details and client responses */
|
|
56
|
-
export interface FbClarificationBlock {
|
|
57
|
-
/** The question metadata */
|
|
58
|
-
question: FbQuestion;
|
|
59
|
-
/** Request for Information details */
|
|
60
|
-
rfi: FbRfi;
|
|
61
|
-
/** Client responses to this clarification */
|
|
62
|
-
client_data?: FbClientDataItem[];
|
|
63
|
-
}
|
|
64
84
|
/** A single client input element */
|
|
65
85
|
export interface FbClientDataItem {
|
|
66
86
|
/** Unique input element ID (ie_N notation) */
|
|
@@ -85,12 +105,12 @@ export interface FbClientInput {
|
|
|
85
105
|
/** LLM-processed data derived from this input */
|
|
86
106
|
processed_data?: FbProcessedData[];
|
|
87
107
|
}
|
|
88
|
-
/** A single item produced by LLM processing (text splitting or
|
|
108
|
+
/** A single item produced by LLM processing (text splitting or file classification) */
|
|
89
109
|
export interface FbProcessedData {
|
|
90
110
|
/** Unique ID (pd_N.M notation — prefix from input_elt_id, suffix sequential) */
|
|
91
111
|
processed_data_id: string;
|
|
92
112
|
/** Type of processed content */
|
|
93
|
-
processed_data_type: 'text' | 'file' | null;
|
|
113
|
+
processed_data_type: 'text' | 'file' | 'structured' | null;
|
|
94
114
|
/** Extracted/split text content */
|
|
95
115
|
processed_data_text?: string;
|
|
96
116
|
/** File reference for file-type processed data */
|
|
@@ -101,103 +121,231 @@ export interface FbProcessedData {
|
|
|
101
121
|
processed_data_category?: string[] | null;
|
|
102
122
|
/** Nature/document type (e.g. 'Bank Statement', 'Payslip') */
|
|
103
123
|
processed_data_nature?: string[] | null;
|
|
104
|
-
/** Lifecycle activities on this processed data item */
|
|
105
|
-
activities?: FbActivity[] | null;
|
|
106
|
-
}
|
|
107
|
-
/** Activity types in the data lifecycle */
|
|
108
|
-
export type FbActivityType = 'validation' | 'client_question' | 'review_client_input' | 'send_back_to_client' | 'complete' | 'autofill';
|
|
109
|
-
/** Where an activity takes place */
|
|
110
|
-
export type FbActivityLocation = 'client_facing' | 'back_office';
|
|
111
|
-
/** Metadata for an activity */
|
|
112
|
-
export interface FbActivityInfo {
|
|
113
|
-
/** Unique activity number (act_N.M.S notation) */
|
|
114
|
-
activity_no: string;
|
|
115
|
-
/** Type of activity */
|
|
116
|
-
activity_type: FbActivityType;
|
|
117
|
-
/** Where this activity occurs */
|
|
118
|
-
activity_location: FbActivityLocation;
|
|
119
|
-
/** ISO 8601 timestamp with timezone (e.g. "2026-04-08T15:10:00.000+10:00") */
|
|
120
|
-
activity_time?: string;
|
|
121
|
-
/** User ID of the actor who performed this activity */
|
|
122
|
-
activity_user?: string;
|
|
123
|
-
}
|
|
124
|
-
/** A single lifecycle activity on a processed data item */
|
|
125
|
-
export interface FbActivity {
|
|
126
|
-
/** Activity metadata */
|
|
127
|
-
activity_info: FbActivityInfo;
|
|
128
|
-
/** Validation results (when activity_type is 'validation') */
|
|
129
|
-
validations?: FbValidation[];
|
|
130
|
-
/** Clarification/RFI block (when activity_type is 'client_question') */
|
|
131
|
-
clarification?: FbClarificationBlock;
|
|
132
|
-
/** Agent review decision (when activity_type is 'review_client_input') */
|
|
133
|
-
review_decision?: 'accept' | 'send_back';
|
|
134
|
-
/** Agent's review comment / feedback (when activity_type is 'review_client_input') */
|
|
135
|
-
review_comment?: string;
|
|
136
|
-
/** Draft RFI for send-back (when activity_type is 'send_back_to_client') */
|
|
137
|
-
rfi_draft?: FbRfiDraft;
|
|
138
|
-
/** Autofill extraction results (when activity_type is 'autofill') */
|
|
139
|
-
autofill_result?: FbAutofillResult;
|
|
140
124
|
}
|
|
141
|
-
/**
|
|
142
|
-
export
|
|
143
|
-
/**
|
|
144
|
-
export interface FbValidation {
|
|
145
|
-
/** Unique validation ID (val_N.M.S.V notation) */
|
|
125
|
+
/** A validation result attached to a specific processed_data item */
|
|
126
|
+
export interface FbEntryValidation {
|
|
127
|
+
/** Unique validation ID */
|
|
146
128
|
validation_id: string;
|
|
147
|
-
/**
|
|
148
|
-
|
|
129
|
+
/** Which processed_data item this validation applies to (null for group-level missing-file issues) */
|
|
130
|
+
processed_data_ref: string | null;
|
|
131
|
+
/** What rule was checked (e.g. 'date_check', 'name_check', 'support_check') */
|
|
132
|
+
rule_key: string;
|
|
149
133
|
/** What triggered this validation */
|
|
150
|
-
|
|
151
|
-
/** Human-readable description of what was validated */
|
|
152
|
-
validation_details: string;
|
|
134
|
+
trigger: 'client_facing' | 'back_office';
|
|
153
135
|
/** Result */
|
|
154
|
-
|
|
136
|
+
status: FbValidationStatus;
|
|
137
|
+
/** Human-readable description of what was validated */
|
|
138
|
+
details: string;
|
|
139
|
+
}
|
|
140
|
+
/** Status of a validation check */
|
|
141
|
+
export type FbValidationStatus = 'passed' | 'failed';
|
|
142
|
+
/** Lifecycle status of a clarification */
|
|
143
|
+
export type FbClarificationStatus = 'pending' | 'responded' | 'accepted' | 'sent_back' | 'resolved';
|
|
144
|
+
/** A clarification raised for a processed_data item, with full conversation history */
|
|
145
|
+
export interface FbEntryClarification {
|
|
146
|
+
/** Unique clarification ID (real ID, not synthetic) */
|
|
147
|
+
clarification_id: string;
|
|
148
|
+
/** Which processed_data item this clarification relates to */
|
|
149
|
+
processed_data_ref: string;
|
|
150
|
+
/** Which validation triggered this clarification (null if manually created) */
|
|
151
|
+
validation_ref: string | null;
|
|
152
|
+
/** The issue description shown to the client (group summary when child_issues is set) */
|
|
153
|
+
issue: string;
|
|
154
|
+
/** Current lifecycle status */
|
|
155
|
+
status: FbClarificationStatus;
|
|
156
|
+
/** Available response options for the client */
|
|
157
|
+
response_options: FbRfiResponseOption[];
|
|
158
|
+
/** Chronological conversation thread spanning all form instances */
|
|
159
|
+
thread: FbThreadEntry[];
|
|
160
|
+
/** Latest agent review snapshot (null when awaiting review) */
|
|
161
|
+
review: FbClarificationReview | null;
|
|
162
|
+
/** Processed data from client responses (files, text) linked to thread entries */
|
|
163
|
+
response_data: FbResponseData[];
|
|
164
|
+
/** Structured expectation derived from the originating validation issue. */
|
|
165
|
+
expectation?: import('./clarification.js').ClarificationExpectation;
|
|
166
|
+
/**
|
|
167
|
+
* When this clarification represents a bulk group (one rule firing produced many
|
|
168
|
+
* issues that were sent back as one), child_issues lists the underlying issues.
|
|
169
|
+
* Absent for single-issue clarifications.
|
|
170
|
+
*/
|
|
171
|
+
child_issues?: FbChildIssue[];
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* Underlying issue covered by a grouped FbEntryClarification.
|
|
175
|
+
* Carries the fields needed to re-render the issue list in the spawned send-back
|
|
176
|
+
* task without re-running validation.
|
|
177
|
+
*/
|
|
178
|
+
export interface FbChildIssue {
|
|
179
|
+
/** Original ValidationIssue.issue_id — stable across re-runs */
|
|
180
|
+
issue_id: string;
|
|
181
|
+
issue_description: string;
|
|
182
|
+
/** ISO date for time-bucket rendering */
|
|
183
|
+
date?: string;
|
|
184
|
+
/** Category for category-bucket rendering */
|
|
185
|
+
kind?: 'file_issue' | 'missing_file';
|
|
186
|
+
/** Monetary amount referenced */
|
|
187
|
+
amount?: string;
|
|
188
|
+
}
|
|
189
|
+
/** Role of a thread participant */
|
|
190
|
+
export type FbThreadRole = 'system' | 'client' | 'agent';
|
|
191
|
+
/** Action taken in a thread entry */
|
|
192
|
+
export type FbThreadAction = 'issue_found' | 'responded' | 'reviewed';
|
|
193
|
+
/** A single entry in a clarification's conversation thread */
|
|
194
|
+
export interface FbThreadEntry {
|
|
195
|
+
/** Unique thread entry ID within this clarification (th_1, th_2, ...) */
|
|
196
|
+
thread_id: string;
|
|
197
|
+
/** Which form instance this entry was created in */
|
|
198
|
+
form_instance: number;
|
|
199
|
+
/** Who created this entry */
|
|
200
|
+
role: FbThreadRole;
|
|
201
|
+
/** What action was taken */
|
|
202
|
+
action: FbThreadAction;
|
|
203
|
+
/** ISO 8601 timestamp */
|
|
204
|
+
time: string;
|
|
205
|
+
/** Issue description (when action='issue_found') */
|
|
206
|
+
message?: string;
|
|
207
|
+
/** Selected response option code */
|
|
208
|
+
choice?: string;
|
|
209
|
+
/** Client's free-text comment */
|
|
210
|
+
comment?: string;
|
|
211
|
+
/** Files attached by the client */
|
|
212
|
+
files?: FbFileRef[];
|
|
213
|
+
/** Agent's review decision */
|
|
214
|
+
decision?: 'accept' | 'send_back';
|
|
215
|
+
/** Agent's feedback/comment to client */
|
|
216
|
+
feedback?: string;
|
|
217
|
+
/** Agent user identifier */
|
|
218
|
+
user?: string;
|
|
219
|
+
/** Agent user display name */
|
|
220
|
+
user_name?: string;
|
|
221
|
+
/** Aggregate-level check result for this response (sum_match, etc.). */
|
|
222
|
+
resolution_check?: ResolutionCheck;
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* Aggregate validation outcome for a clarification response, computed at send time.
|
|
226
|
+
* Stored on the FbThreadEntry that recorded the response so each round has its own check.
|
|
227
|
+
*/
|
|
228
|
+
export interface ResolutionCheck {
|
|
229
|
+
/** Whether the deterministic check passed (math + date range). */
|
|
230
|
+
passed: boolean;
|
|
231
|
+
/** sum_actual − sum_expected (negative means short, positive means over). */
|
|
232
|
+
delta: number;
|
|
233
|
+
/** Sum of extracted totals across response files. */
|
|
234
|
+
sum_actual: number;
|
|
235
|
+
/** Expected total from the clarification's expectation. */
|
|
236
|
+
sum_expected: number;
|
|
237
|
+
/** Per-file LLM commentary keyed by file_id. May be empty if commentary failed. */
|
|
238
|
+
file_notes: Record<string, string>;
|
|
239
|
+
/** Per-file LLM relevance verdict keyed by file_id. */
|
|
240
|
+
file_relevance?: Record<string, ResolutionRelevance>;
|
|
241
|
+
/** Plain-English summary of the verdict (kept for back-compat / fallback rendering). */
|
|
242
|
+
summary: string;
|
|
243
|
+
/** Structured detail items for bullet rendering — preferred over `summary` when present. */
|
|
244
|
+
details?: ResolutionDetail[];
|
|
245
|
+
/** ISO 8601 timestamp the check ran. */
|
|
246
|
+
ran_at: string;
|
|
247
|
+
}
|
|
248
|
+
/** Per-file relevance verdict carried inside a ResolutionCheck. */
|
|
249
|
+
export interface ResolutionRelevance {
|
|
250
|
+
verdict: 'matches' | 'mismatch' | 'unclear' | 'off_topic';
|
|
251
|
+
reason: string;
|
|
155
252
|
}
|
|
156
|
-
/**
|
|
157
|
-
export
|
|
158
|
-
/**
|
|
159
|
-
|
|
160
|
-
/**
|
|
253
|
+
/** A single bullet shown in the Resolution Status panel. */
|
|
254
|
+
export interface ResolutionDetail {
|
|
255
|
+
/** Category — drives icon/colour in the renderer. */
|
|
256
|
+
kind: 'sum' | 'off_topic' | 'mismatch' | 'unclear' | 'date_violation' | 'missing_total' | 'success';
|
|
257
|
+
/** Visual severity. 'success' = green tick, 'warning' = amber, 'info' = neutral. */
|
|
258
|
+
severity: 'success' | 'warning' | 'info';
|
|
259
|
+
/** Bullet text (client-facing). */
|
|
260
|
+
message: string;
|
|
261
|
+
/** File this bullet relates to (when applicable). */
|
|
262
|
+
file_id?: string;
|
|
263
|
+
file_name?: string;
|
|
264
|
+
}
|
|
265
|
+
/** Latest agent review decision for a clarification */
|
|
266
|
+
export interface FbClarificationReview {
|
|
267
|
+
/** The decision */
|
|
268
|
+
decision: 'accept' | 'send_back';
|
|
269
|
+
/** Which thread entry this review responds to (the client response being reviewed) */
|
|
270
|
+
thread_ref: string;
|
|
271
|
+
/** Agent's feedback message to the client */
|
|
272
|
+
feedback?: string;
|
|
273
|
+
/** Agent user identifier */
|
|
274
|
+
user?: string;
|
|
275
|
+
/** Agent user display name */
|
|
276
|
+
user_name?: string;
|
|
277
|
+
/** ISO 8601 timestamp of the review */
|
|
278
|
+
time?: string;
|
|
279
|
+
}
|
|
280
|
+
/** Processed data produced from a client's response to a clarification */
|
|
281
|
+
export interface FbResponseData {
|
|
282
|
+
/** Links to the thread entry that triggered this response */
|
|
283
|
+
thread_ref: string;
|
|
284
|
+
/** Index of the thread entry (for readability) */
|
|
285
|
+
thread_index: number;
|
|
286
|
+
/** Which form instance the response was submitted in */
|
|
287
|
+
form_instance: number;
|
|
288
|
+
/** Processed data items from the response (files uploaded, text provided) */
|
|
289
|
+
processed_data: FbResponseProcessedData[];
|
|
290
|
+
}
|
|
291
|
+
/** A processed data item from a client response, with inline validations */
|
|
292
|
+
export interface FbResponseProcessedData {
|
|
293
|
+
/** Unique processed data ID */
|
|
294
|
+
processed_data_id: string;
|
|
295
|
+
/** Type of processed content */
|
|
296
|
+
processed_data_type: 'text' | 'file' | null;
|
|
297
|
+
/** Text content */
|
|
298
|
+
processed_data_text?: string;
|
|
299
|
+
/** File reference */
|
|
300
|
+
processed_data_files?: FbFileRef;
|
|
301
|
+
/** Classification tags */
|
|
302
|
+
tags?: string[] | null;
|
|
303
|
+
/** Category classification */
|
|
304
|
+
processed_data_category?: string[] | null;
|
|
305
|
+
/** Nature/document type */
|
|
306
|
+
processed_data_nature?: string[] | null;
|
|
307
|
+
/** Validations run on this response data (inline, not entry-level) */
|
|
308
|
+
validations?: FbEntryValidation[];
|
|
309
|
+
/** Structured fields pulled by autofill extraction (used by sum_match resolver). */
|
|
310
|
+
extracted_fields?: ExtractedResponseFields;
|
|
311
|
+
}
|
|
312
|
+
/**
|
|
313
|
+
* Structured fields extracted from a response file by the classification LLM.
|
|
314
|
+
*
|
|
315
|
+
* Growing set: new evidence fields land here without touching consumers. The
|
|
316
|
+
* classification prompt and the resolver agree on this shape, so adding a
|
|
317
|
+
* field is two edits — the prompt's example output and this interface.
|
|
318
|
+
*/
|
|
319
|
+
export interface ExtractedResponseFields {
|
|
320
|
+
/** Total monetary amount in major units (e.g. 234.50). */
|
|
321
|
+
total?: number;
|
|
322
|
+
/** ISO date (YYYY-MM-DD) of the document. */
|
|
323
|
+
date?: string;
|
|
324
|
+
/** Vendor / supplier name. */
|
|
325
|
+
vendor?: string;
|
|
326
|
+
/**
|
|
327
|
+
* Property address mentioned in the document, when applicable. Used by the
|
|
328
|
+
* relevance check to verify a receipt belongs to the property the
|
|
329
|
+
* clarification was raised about. Free-form — fuzzy-matched against the
|
|
330
|
+
* expectation by the LLM commentary step.
|
|
331
|
+
*/
|
|
332
|
+
property_address?: string;
|
|
333
|
+
/** Original raw extraction payload, for debugging or future fields. */
|
|
334
|
+
raw?: Record<string, unknown>;
|
|
335
|
+
}
|
|
336
|
+
/** A response option presented to the client in a clarification */
|
|
161
337
|
export interface FbRfiResponseOption {
|
|
162
338
|
/** Machine-readable option code */
|
|
163
|
-
|
|
339
|
+
code: string;
|
|
164
340
|
/** Human-readable option text */
|
|
165
|
-
|
|
341
|
+
label: string;
|
|
166
342
|
/** Whether this option allows file uploads */
|
|
167
|
-
accept_files
|
|
343
|
+
accept_files?: boolean;
|
|
168
344
|
/** Whether this option allows a text comment */
|
|
169
345
|
accept_comment?: boolean;
|
|
170
346
|
/** Whether the comment is mandatory when this option is selected */
|
|
171
347
|
accept_comment_mandatory?: boolean;
|
|
172
348
|
}
|
|
173
|
-
/** Request for Information details */
|
|
174
|
-
export interface FbRfi {
|
|
175
|
-
/** Reference to the validation that triggered this RFI (null if not validation-driven) */
|
|
176
|
-
validation_id_ref: string | null;
|
|
177
|
-
/** Why this RFI was issued */
|
|
178
|
-
rfi_reason: FbRfiReason;
|
|
179
|
-
/** The original issue description (e.g. validation failure details) */
|
|
180
|
-
rfi_issue: string;
|
|
181
|
-
/** Current status */
|
|
182
|
-
rfi_status: FbRfiStatus;
|
|
183
|
-
/** Reviewer's comment/feedback when sending back (e.g. "recheck please") */
|
|
184
|
-
rfi_comment?: string;
|
|
185
|
-
/** Available response options for the client */
|
|
186
|
-
rfi_response_options: FbRfiResponseOption[];
|
|
187
|
-
}
|
|
188
|
-
/** Draft RFI prepared by an agent for send-back to client */
|
|
189
|
-
export interface FbRfiDraft {
|
|
190
|
-
/** Why this RFI draft was created */
|
|
191
|
-
rfi_reason: FbRfiReason;
|
|
192
|
-
/** The original issue description */
|
|
193
|
-
rfi_issue: string;
|
|
194
|
-
/** Current status */
|
|
195
|
-
rfi_status: FbRfiStatus;
|
|
196
|
-
/** Reviewer's comment/feedback when sending back */
|
|
197
|
-
rfi_comment?: string;
|
|
198
|
-
/** Available response options for the client */
|
|
199
|
-
rfi_response_options: FbRfiResponseOption[];
|
|
200
|
-
}
|
|
201
349
|
/** Result of an autofill extraction for a single file+group */
|
|
202
350
|
export interface FbAutofillResult {
|
|
203
351
|
/** hazo_files file ID that was processed */
|
|
@@ -227,7 +375,7 @@ export interface FbAutofillFieldDetail {
|
|
|
227
375
|
field_id: string;
|
|
228
376
|
/** Human-readable field label */
|
|
229
377
|
field_label: string;
|
|
230
|
-
/** Summary of the extracted value
|
|
378
|
+
/** Summary of the extracted value */
|
|
231
379
|
value_summary: string;
|
|
232
380
|
}
|
|
233
381
|
/** Reference to a file in hazo_files */
|
|
@@ -243,8 +391,10 @@ export interface FbFileRef {
|
|
|
243
391
|
export declare function next_ie_id(data: FbDataEntry[]): string;
|
|
244
392
|
/** Generate the next processed data ID (pd_N.M) for a given input element number */
|
|
245
393
|
export declare function next_pd_id(ie_num: number, existing_pds: FbProcessedData[]): string;
|
|
246
|
-
/** Generate the next
|
|
247
|
-
export declare function
|
|
248
|
-
/** Generate the next
|
|
249
|
-
export declare function
|
|
394
|
+
/** Generate the next validation ID (val_N) within an entry */
|
|
395
|
+
export declare function next_val_id(existing_validations: FbEntryValidation[]): string;
|
|
396
|
+
/** Generate the next thread ID (th_N) within a clarification */
|
|
397
|
+
export declare function next_thread_id(existing_thread: FbThreadEntry[]): string;
|
|
398
|
+
export type { FbDataEntry as FbDataEntryV1, FbActivity as FbActivityV1, FbActivityInfo as FbActivityInfoV1, FbActivityType as FbActivityTypeV1, FbActivityLocation as FbActivityLocationV1, FbClarificationBlock as FbClarificationBlockV1, FbRfi as FbRfiV1, FbRfiDraft as FbRfiDraftV1, FbRfiStatus as FbRfiStatusV1, FbRfiReason as FbRfiReasonV1, FbValidation as FbValidationV1, FbRfiResponseOption as FbRfiResponseOptionV1, FbProcessedData as FbProcessedDataV1, FbClientDataItem as FbClientDataItemV1, FbClientInput as FbClientInputV1, FbQuestion as FbQuestionV1, } from './fb_form_data_v1.js';
|
|
399
|
+
export { next_act_id, next_val_id as next_val_id_v1, next_ie_id as next_ie_id_v1, next_pd_id as next_pd_id_v1, } from './fb_form_data_v1.js';
|
|
250
400
|
//# sourceMappingURL=fb_form_data.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fb_form_data.d.ts","sourceRoot":"","sources":["../../src/types/fb_form_data.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"fb_form_data.d.ts","sourceRoot":"","sources":["../../src/types/fb_form_data.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAMH,6EAA6E;AAC7E,MAAM,WAAW,U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