21d30a08957caa059195b4a58952251100485cd0
Instead of defining fields inline per flow, the admin now defines them once on the endpoint (direction=upload). The bot reads body_fields from company_endpoints at runtime, so the same endpoint can be reused by multiple collect_and_post flows without duplicating field config. DB: ALTER TABLE company_endpoints ADD COLUMN body_fields TEXT DEFAULT NULL Changes: - NormalBot: falls back to endpoint.body_fields when flow.fields is empty - DashboardController: endpoint rows show a body_fields section for upload endpoints (key / label / prompt per field, add/remove rows) - companyEndpointSave: reads + validates body_fields JSON and persists it Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Description
No description provided
3.9 MiB
Languages
PHP
87.8%
HTML
10.6%
CSS
1.5%
JavaScript
0.1%