@tencentcloud/tmeet 1.0.7 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -13,6 +13,7 @@
13
13
  - 📅 **会议管理** — 创建、查询、更新、取消会议,支持周期性会议,管理受邀成员
14
14
  - 🎬 **录制管理** — 查询录制列表、获取下载地址、智能纪要、转写详情与搜索
15
15
  - 📊 **参会报告** — 查询参会人列表、等候室成员记录
16
+ - 👥 **通讯录** — 按用户名/职位/部门检索企业通讯录成员
16
17
  - 🛠️ **问题排查** — 导出本地日志,支持按时间范围过滤,打包为 zip 文件
17
18
  - 🔒 **安全存储** — 凭证使用 AES-256-GCM 加密,明文不落盘
18
19
  - 🖥️ **跨平台** — 支持 macOS、Linux、Windows
@@ -172,7 +173,14 @@ tmeet [--format json|json-pretty] [--compact] [-V]
172
173
  │ ├── get # 获取会议详情
173
174
  │ ├── list # 获取进行中/即将开始的会议列表
174
175
  │ ├── list-ended # 获取已结束的会议列表
175
- └── invitees-list # 获取会议受邀者列表
176
+ ├── invitees-list # 获取会议受邀者列表
177
+ │ ├── invitees-add # 添加会议受邀者
178
+ │ ├── invitees-remove # 移除会议受邀者
179
+ │ └── invitees-replace # 替换会议受邀者列表
180
+ ├── contact
181
+ │ ├── search # 搜索企业通讯录成员
182
+ │ ├── lookup-by-email # 通过邮箱反查用户信息
183
+ │ └── lookup-by-phone # 通过手机号反查用户信息
176
184
  ├── record
177
185
  │ ├── list # 查询录制列表
178
186
  │ ├── address # 获取录制文件下载地址
@@ -185,6 +193,9 @@ tmeet [--format json|json-pretty] [--compact] [-V]
185
193
  ├── report
186
194
  │ ├── participants # 获取参会人列表
187
195
  │ └── waiting-room-log # 获取等候室成员列表
196
+ ├── control
197
+ │ ├── call # 呼叫成员入会(会中邀请呼叫)
198
+ │ └── kick # 将成员踢出会议(会中踢人)
188
199
  └── tshoot
189
200
  ├── log # 导出本地日志(支持按时间范围过滤,可选 --upload 上传至服务器)
190
201
  └── feedback # 上报问题排查反馈到服务器
@@ -463,6 +474,82 @@ tmeet meeting invitees-list \
463
474
 
464
475
  ---
465
476
 
477
+ #### `meeting invitees-add` — 添加受邀成员
478
+
479
+ 向已存在的会议中追加受邀成员。受邀成员通过用户 `open_id` 指定,可通过 `contact search` 命令查询获得。
480
+
481
+ ```bash
482
+ tmeet meeting invitees-add --meeting-id <会议ID> --invitees <open_id列表>
483
+ ```
484
+
485
+ | 参数 | 类型 | 必填 | 默认值 | 说明 |
486
+ |------|------|:----:|--------|------|
487
+ | `--meeting-id` | string | ✅ | — | 会议 ID |
488
+ | `--invitees` | strings | ✅ | — | 待添加的受邀成员 `open_id` 列表,支持英文逗号分隔或重复传入该参数,最多 100 个 |
489
+
490
+ **示例:**
491
+
492
+ ```bash
493
+ # 通过英文逗号分隔传入多个 open_id
494
+ tmeet meeting invitees-add \
495
+ --meeting-id "6953553464429888300" \
496
+ --invitees "open_id1,open_id2"
497
+
498
+ # 重复传入 --invitees 参数
499
+ tmeet meeting invitees-add \
500
+ --meeting-id "6953553464429888300" \
501
+ --invitees "open_id1" \
502
+ --invitees "open_id2"
503
+ ```
504
+
505
+ ---
506
+
507
+ #### `meeting invitees-remove` — 移除受邀成员
508
+
509
+ 从已存在的会议中移除指定的受邀成员。
510
+
511
+ ```bash
512
+ tmeet meeting invitees-remove --meeting-id <会议ID> --invitees <open_id列表>
513
+ ```
514
+
515
+ | 参数 | 类型 | 必填 | 默认值 | 说明 |
516
+ |------|------|:----:|--------|------|
517
+ | `--meeting-id` | string | ✅ | — | 会议 ID |
518
+ | `--invitees` | strings | ✅ | — | 待移除的受邀成员 `open_id` 列表,支持英文逗号分隔或重复传入该参数,最多 100 个 |
519
+
520
+ **示例:**
521
+
522
+ ```bash
523
+ tmeet meeting invitees-remove \
524
+ --meeting-id "6953553464429888300" \
525
+ --invitees "open_id1,open_id2"
526
+ ```
527
+
528
+ ---
529
+
530
+ #### `meeting invitees-replace` — 替换受邀成员列表
531
+
532
+ 使用新的成员列表整体替换会议当前的受邀成员列表(未在 `--invitees` 中的成员将被移除)。
533
+
534
+ ```bash
535
+ tmeet meeting invitees-replace --meeting-id <会议ID> --invitees <open_id列表>
536
+ ```
537
+
538
+ | 参数 | 类型 | 必填 | 默认值 | 说明 |
539
+ |------|------|:----:|--------|------|
540
+ | `--meeting-id` | string | ✅ | — | 会议 ID |
541
+ | `--invitees` | strings | ✅ | — | 替换后的受邀成员 `open_id` 列表,支持英文逗号分隔或重复传入该参数,最多 100 个 |
542
+
543
+ **示例:**
544
+
545
+ ```bash
546
+ tmeet meeting invitees-replace \
547
+ --meeting-id "6953553464429888300" \
548
+ --invitees "open_id1,open_id2,open_id3"
549
+ ```
550
+
551
+ ---
552
+
466
553
  ### record — 录制管理
467
554
 
468
555
  #### `record list` — 查询录制列表
@@ -682,6 +769,85 @@ tmeet record permission-apply-commit --meeting-record-id "record_abc123"
682
769
 
683
770
  ---
684
771
 
772
+ ### contact — 通讯录
773
+
774
+ #### `contact search` — 搜索企业通讯录成员
775
+
776
+ 按用户名搜索企业通讯录成员,支持通过职位或部门进一步过滤搜索结果。
777
+
778
+ ```bash
779
+ tmeet contact search --username <用户名> [选项]
780
+ ```
781
+
782
+ | 参数 | 类型 | 必填 | 默认值 | 说明 |
783
+ |------|------|:----:|--------|------|
784
+ | `--username` | string | ✅ | — | 要搜索的用户名 |
785
+ | `--job-title` | string | — | — | 当用户名搜索结果过多时,用于过滤的职位名称 |
786
+ | `--department-name` | string | — | — | 当用户名搜索结果过多时,用于过滤的部门名称 |
787
+
788
+ **示例:**
789
+
790
+ ```bash
791
+ # 按用户名搜索
792
+ tmeet contact search --username "张三"
793
+
794
+ # 用户名 + 职位过滤
795
+ tmeet contact search --username "张三" --job-title "工程师"
796
+
797
+ # 用户名 + 部门过滤
798
+ tmeet contact search --username "张三" --department-name "研发部"
799
+ ```
800
+
801
+ ---
802
+
803
+ #### `contact lookup-by-email` — 通过邮箱反查用户信息
804
+
805
+ 通过邮箱地址反查用户详细信息,支持批量查询多个邮箱。
806
+
807
+ ```bash
808
+ tmeet contact lookup-by-email --emails <邮箱地址列表>
809
+ ```
810
+
811
+ | 参数 | 类型 | 必填 | 默认值 | 说明 |
812
+ |------|------|:----:|--------|------|
813
+ | `--emails` | []string | ✅ | — | 邮箱地址列表,多个邮箱用逗号分隔或重复使用该参数,最多50个<br>例如:--emails user1@example.com,user2@example.com 或 --emails user1@example.com --emails user2@example.com |
814
+
815
+ **示例:**
816
+
817
+ ```bash
818
+ # 查询单个邮箱
819
+ tmeet contact lookup-by-email --emails "user@example.com"
820
+
821
+ # 批量查询多个邮箱
822
+ tmeet contact lookup-by-email --emails "user1@example.com,user2@example.com,user3@example.com"
823
+ ```
824
+
825
+ ---
826
+
827
+ #### `contact lookup-by-phone` — 通过手机号反查用户信息
828
+
829
+ 通过手机号反查用户详细信息,支持批量查询多个手机号。
830
+
831
+ ```bash
832
+ tmeet contact lookup-by-phone --phones <手机号列表>
833
+ ```
834
+
835
+ | 参数 | 类型 | 必填 | 默认值 | 说明 |
836
+ |------|------|:----:|--------|------|
837
+ | `--phones` | []string | ✅ | — | 手机号列表,多个手机号用逗号分隔或重复使用该参数,最多50个<br>例如:--phones 13800138000,13900139000 或 --phones 13800138000 --phones 13900139000 |
838
+
839
+ **示例:**
840
+
841
+ ```bash
842
+ # 查询单个手机号
843
+ tmeet contact lookup-by-phone --phones "13800138000"
844
+
845
+ # 批量查询多个手机号
846
+ tmeet contact lookup-by-phone --phones "13800138000,13900139000,13700137000"
847
+ ```
848
+
849
+ ---
850
+
685
851
  ### report — 参会报告
686
852
 
687
853
  #### `report participants` — 查询参会人列表
@@ -744,6 +910,82 @@ tmeet report waiting-room-log \
744
910
 
745
911
  ---
746
912
 
913
+ ### control — 会中控制
914
+
915
+ 会中控制相关命令,用于在会议进行中对参会成员执行呼叫、踢出等管理操作。受邀成员通过用户 `open_id` 指定,可通过 `contact search` 命令查询获得。
916
+
917
+ #### `control call` — 呼叫成员入会
918
+
919
+ 会中邀请呼叫,向指定成员发起入会呼叫。
920
+
921
+ ```bash
922
+ tmeet control call --meeting-id <会议ID> --users <open_id列表>
923
+ ```
924
+
925
+ | 参数 | 类型 | 必填 | 默认值 | 说明 |
926
+ |------|------|:----:|--------|------|
927
+ | `--meeting-id` | string | ✅ | — | 会议 ID |
928
+ | `--users` | strings | ✅ | — | 待呼叫的成员 `open_id` 列表,支持英文逗号分隔或重复传入该参数,最多 20 个 |
929
+
930
+ **示例:**
931
+
932
+ ```bash
933
+ # 通过英文逗号分隔传入多个 open_id
934
+ tmeet control call \
935
+ --meeting-id "6953553464429888300" \
936
+ --users "open_id1,open_id2"
937
+
938
+ # 重复传入 --users 参数
939
+ tmeet control call \
940
+ --meeting-id "6953553464429888300" \
941
+ --users "open_id1" \
942
+ --users "open_id2"
943
+ ```
944
+
945
+ ---
946
+
947
+ #### `control kick` — 踢出会议成员
948
+
949
+ 会中踢人,将指定成员从会议中踢出。
950
+
951
+ ```bash
952
+ tmeet control kick --meeting-id <会议ID> [--users <open_id列表>] [--sip-users <ms_open_id列表>] [--pstn-users <ms_open_id列表>] [--allow-rejoin]
953
+ ```
954
+
955
+ | 参数 | 类型 | 必填 | 默认值 | 说明 |
956
+ |------|------|:----:|--------|------|
957
+ | `--meeting-id` | string | ✅ | — | 会议 ID |
958
+ | `--users` | strings | 三选一 | — | 待踢出的普通成员 `open_id` 列表(不包含 Sip/Pstn 设备),支持英文逗号分隔或重复传入该参数 |
959
+ | `--sip-users` | strings | 三选一 | — | 待踢出的 Sip 设备 `ms_open_id` 列表,支持英文逗号分隔或重复传入该参数 |
960
+ | `--pstn-users` | strings | 三选一 | — | 待踢出的 Pstn 设备 `ms_open_id` 列表,支持英文逗号分隔或重复传入该参数 |
961
+ | `--allow-rejoin` | bool | ❌ | `false` | 被踢出的成员是否允许重新加入会议;不传则默认 `false`(不允许重新入会) |
962
+
963
+ > `--users` / `--sip-users` / `--pstn-users` **三者至少必填一种**,且**三者总数合计最多 20 个**。
964
+
965
+ **示例:**
966
+
967
+ ```bash
968
+ # 踢出普通成员
969
+ tmeet control kick \
970
+ --meeting-id "6953553464429888300" \
971
+ --users "open_id1,open_id2"
972
+
973
+ # 同时踢出普通成员、Sip 设备、Pstn 设备(三者合计不超过 20)
974
+ tmeet control kick \
975
+ --meeting-id "6953553464429888300" \
976
+ --users "open_id1" \
977
+ --sip-users "ms_open_id_sip1" \
978
+ --pstn-users "ms_open_id_pstn1"
979
+
980
+ # 允许被踢成员重新入会
981
+ tmeet control kick \
982
+ --meeting-id "6953553464429888300" \
983
+ --allow-rejoin \
984
+ --users "open_id1,open_id2"
985
+ ```
986
+
987
+ ---
988
+
747
989
  ### tshoot — 问题排查
748
990
 
749
991
  #### `tshoot log` — 导出本地日志
@@ -859,4 +1101,4 @@ tmeet tshoot feedback \
859
1101
 
860
1102
  ## 许可证
861
1103
 
862
- 本项目基于 [MIT License](LICENSE) 开源。
1104
+ 本项目基于 [MIT License](LICENSE) 开源。
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tencentcloud/tmeet",
3
- "version": "v1.0.7",
3
+ "version": "v1.0.8",
4
4
  "description": "腾讯会议 CLI 工具",
5
5
  "bin": {
6
6
  "tmeet": "./scripts/tmeet.js"