dify/api/models
Yeuoly b0f1e55a87 refactor: remove triggered_by field from webhook triggers and use automatic sync
- Remove triggered_by field from WorkflowWebhookTrigger model
- Replace manual webhook creation/deletion APIs with automatic sync via WebhookService
- Keep only GET API for retrieving webhook information
- Use same webhook ID for both debug and production environments (differentiated by endpoint)
- Add sync_webhook_relationships to automatically manage webhook lifecycle
- Update tests to remove triggered_by references
- Clean up unused imports and fix type checking issues

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-10 17:17:19 +08:00
..
__init__.py feat: add workflow schedule trigger support (#24428) 2025-09-10 13:24:23 +08:00
_workflow_exc.py feat: Persist Variables for Enhanced Debugging Workflow (#20699) 2025-06-24 09:05:29 +08:00
account.py fix(api): fix `DetachedInstanceError` for Account.current_tenant_id (#24789) 2025-08-29 19:12:02 +08:00
api_based_extension.py replace db with sa to get typing support (#23240) 2025-08-02 23:54:23 +08:00
base.py refactor: Use typed SQLAlchemy base model and fix type errors (#19980) 2025-05-21 15:38:03 +08:00
dataset.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
engine.py feat(api): Add image multimodal support for LLMNode (#17372) 2025-04-30 17:28:02 +08:00
enums.py feat/trigger universal entry (#24358) 2025-08-23 20:18:08 +08:00
model.py chore: change the oauth_provider_apps table to uuidV7 (#24792) 2025-08-29 17:54:14 +08:00
provider.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
source.py replace db with sa to get typing support (#23240) 2025-08-02 23:54:23 +08:00
task.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
tools.py [CHORE]: remove redundant-cast (#24807) 2025-09-01 14:05:32 +08:00
trigger.py feat(trigger): plugin trigger workflow 2025-09-03 14:53:27 +08:00
types.py feat(api): Introduce `WorkflowDraftVariable` Model (#19737) 2025-05-19 22:59:56 +08:00
web.py replace db with sa to get typing support (#23240) 2025-08-02 23:54:23 +08:00
workflow.py refactor: remove triggered_by field from webhook triggers and use automatic sync 2025-09-10 17:17:19 +08:00