Add data connectors API, scope filter, and segment duration params#94
Conversation
- Add new Data Connectors API wrapper exposing list() for configured connectors
- Add scope field ('file' | 'segment') to video_info filter for chat/search
- Add minDuration/maxDuration params to listFileSegments
- Fix camelCase to snake_case mapping for startTimeAfter/endTimeBefore in listFileSegments
- Regenerate clients from updated OpenAPI spec
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
📝 WalkthroughWalkthroughThis pull request integrates a new Data Connectors API into the Cloudglue client. It adds a wrapper class for the data connectors API, exposes new types for data connector schemas, enhances the files API with duration filter parameters, and wires the data connectors API into the main client instance. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~22 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
client.dataConnectors.list()) for listing configured data connectorsscopefield ('file' | 'segment') tovideo_infofilters used in Chat and SearchminDuration/maxDurationquery params tolistFileSegmentsstartTimeAfter/endTimeBeforeinlistFileSegmentsTest plan
npm run buildcompiles without errorsclient.dataConnectors.list()returns configured connectorsscopefieldlistFileSegmentsacceptsminDuration/maxDurationparams🤖 Generated with Claude Code
Summary by CodeRabbit
New Features
Chores