mirror of
https://github.com/larksuite/cli.git
synced 2026-09-14 18:42:53 +08:00
9b845a5b8b
Add --meeting-owner-id to the +create shortcut so bot (tenant-access-token) callers can set the VC meeting owner via vchat.meeting_settings.owner_id without dropping to the raw API. buildEventData now builds vchat as a nested map, keeping the default vc_type: vc and injecting meeting_settings.owner_id only when the flag is set; dry-run reflects it automatically. Validate the flag with typed errs errors: reject dangerous chars, require a non-bare ou_ user open_id, and enforce bot-only effectiveness (--as bot). Cover the behavior with buildEventData unit tests plus command-boundary tests (dry-run owner_id assertion and typed Validate errors for bare ou_, non-ou_ ids, and non-bot identity), and document the flag and the raw-API default-value gap in the calendar create reference.