MPT-19029 Add helpdesk chat links API services and tests#237
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (8)
🚧 Files skipped from review as they are similar to previous changes (2)
📝 WalkthroughWalkthroughIntroduces ChatLinks API client support for the Helpdesk service. Adds ChatLink model, configuration, and synchronous and asynchronous service implementations. Extends ChatsService with links() methods for accessing chat link resources. Includes comprehensive unit and end-to-end test coverage. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 📝 Coding Plan
Comment |
|



Summary
GET/POST /public/v1/helpdesk/chats/{chat_id}/linksPUT/DELETE /public/v1/helpdesk/chats/{chat_id}/links/{id}chat_linksservices and wire nested accessors viachats.links(chat_id)Testing
uv run pytest tests/unit/resources/helpdesk/test_chat_links.py tests/unit/resources/helpdesk/test_chats.pymake checkCloses MPT-19029
Changes
ChatLinkmodel andChatLinksServiceConfigfor helpdesk chat links API endpoint/public/v1/helpdesk/chats/{chat_id}/linksChatLinksServiceandAsyncChatLinksServicewith full CRUD operations (Create, Update, Delete, Collection)links(chat_id: str)accessor methods toChatsServiceandAsyncChatsServicefor nested access to chat link resources