fix(api): convert room apis

Merged
GG
7mo ago
+1230-715

…ge parameter

Proposed changes (including videos or screenshots)

Issue(s)

Steps to test or reproduce

Further comments

…ge parameter

Summary by CodeRabbit

Release Notes

  • New Features

    • Added optional parameters to several room and team-related API endpoints.
    • Enhanced message attachment schemas with additional fields.
  • Bug Fixes

    • Improved error handling and validation across API endpoints with standardized error responses.
    • Fixed conditional field inclusion in pin and quote attachments to prevent sending undefined values.
  • API Changes

    • Stricter validation on query parameters; some now require array format instead of single values.
    • Updated API request/response schemas for consistency and better type safety.
    • Modified error type identifiers in validation failures.