@tencentcloud/tmeet 1.0.7 → 1.0.9

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 # 上报问题排查反馈到服务器
@@ -258,6 +269,7 @@ tmeet meeting create --subject <主题> --start <开始时间> --end <结束时
258
269
  | `--until-type` | int | — | `0` | 周期结束类型(`--meeting-type=1` 时生效):`0`-按日期结束重复,`1`-按次数结束重复 |
259
270
  | `--until-count` | int | — | `7` | 限定会议次数(`--meeting-type=1` 时生效):每天/每个工作日/每周最大 500,每两周/每月最大 50 |
260
271
  | `--until-date` | string | — | — | 周期结束日期(`--meeting-type=1` 时生效),ISO 8601,如 `2026-03-12T15:00+08:00` |
272
+ | `--invitees` | strings | — | — | 邀请成员的 openid 列表,逗号分隔或重复传参(最多 100 人,例如 `--invitees open_id1,open_id2`) |
261
273
 
262
274
  **示例:**
263
275
 
@@ -279,6 +291,13 @@ tmeet meeting create \
279
291
  --recurring-type 2 \
280
292
  --until-type 1 \
281
293
  --until-count 10
294
+
295
+ # 创建会议并邀请成员
296
+ tmeet meeting create \
297
+ --subject "需求评审" \
298
+ --start "2026-04-10T14:00+08:00" \
299
+ --end "2026-04-10T15:00+08:00" \
300
+ --invitees "open_id1,open_id2,open_id3"
282
301
  ```
283
302
 
284
303
  ---
@@ -329,6 +348,8 @@ tmeet meeting update --meeting-id <会议ID> [选项]
329
348
  | `--until-type` | int | — | `0` | 周期结束类型(`--meeting-type=1` 时生效):`0`-按日期结束重复,`1`-按次数结束重复 |
330
349
  | `--until-count` | int | — | `7` | 限定会议次数(`--meeting-type=1` 时生效):每天/每个工作日/每周最大 500,每两周/每月最大 50 |
331
350
  | `--until-date` | string | — | — | 周期结束日期(`--meeting-type=1` 时生效),ISO 8601,如 `2026-03-12T15:00+08:00` |
351
+ | `--invitees` | strings | — | — | 待变更的邀请成员 openid 列表,逗号分隔或重复传参;与 `--invitees-type` 配合使用 |
352
+ | `--invitees-type` | string | — | — | 邀请变更策略:`replace`-全量替换邀请列表,`add`-新增邀请用户,`remove`-删除邀请用户;当指定 `--invitees` 时必填 |
332
353
 
333
354
  **示例:**
334
355
 
@@ -338,6 +359,24 @@ tmeet meeting update \
338
359
  --subject "新主题" \
339
360
  --start "2026-04-10T15:00+08:00" \
340
361
  --end "2026-04-10T16:00+08:00"
362
+
363
+ # 全量替换邀请列表
364
+ tmeet meeting update \
365
+ --meeting-id "6953553464429888300" \
366
+ --invitees "open_id1,open_id2,open_id3" \
367
+ --invitees-type replace
368
+
369
+ # 新增邀请用户
370
+ tmeet meeting update \
371
+ --meeting-id "6953553464429888300" \
372
+ --invitees "open_id4,open_id5" \
373
+ --invitees-type add
374
+
375
+ # 删除邀请用户
376
+ tmeet meeting update \
377
+ --meeting-id "6953553464429888300" \
378
+ --invitees "open_id1" \
379
+ --invitees-type remove
341
380
  ```
342
381
 
343
382
  ---
@@ -463,6 +502,82 @@ tmeet meeting invitees-list \
463
502
 
464
503
  ---
465
504
 
505
+ #### `meeting invitees-add` — 添加受邀成员
506
+
507
+ 向已存在的会议中追加受邀成员。受邀成员通过用户 `open_id` 指定,可通过 `contact search` 命令查询获得。
508
+
509
+ ```bash
510
+ tmeet meeting invitees-add --meeting-id <会议ID> --invitees <open_id列表>
511
+ ```
512
+
513
+ | 参数 | 类型 | 必填 | 默认值 | 说明 |
514
+ |------|------|:----:|--------|------|
515
+ | `--meeting-id` | string | ✅ | — | 会议 ID |
516
+ | `--invitees` | strings | ✅ | — | 待添加的受邀成员 `open_id` 列表,支持英文逗号分隔或重复传入该参数,最多 100 个 |
517
+
518
+ **示例:**
519
+
520
+ ```bash
521
+ # 通过英文逗号分隔传入多个 open_id
522
+ tmeet meeting invitees-add \
523
+ --meeting-id "6953553464429888300" \
524
+ --invitees "open_id1,open_id2"
525
+
526
+ # 重复传入 --invitees 参数
527
+ tmeet meeting invitees-add \
528
+ --meeting-id "6953553464429888300" \
529
+ --invitees "open_id1" \
530
+ --invitees "open_id2"
531
+ ```
532
+
533
+ ---
534
+
535
+ #### `meeting invitees-remove` — 移除受邀成员
536
+
537
+ 从已存在的会议中移除指定的受邀成员。
538
+
539
+ ```bash
540
+ tmeet meeting invitees-remove --meeting-id <会议ID> --invitees <open_id列表>
541
+ ```
542
+
543
+ | 参数 | 类型 | 必填 | 默认值 | 说明 |
544
+ |------|------|:----:|--------|------|
545
+ | `--meeting-id` | string | ✅ | — | 会议 ID |
546
+ | `--invitees` | strings | ✅ | — | 待移除的受邀成员 `open_id` 列表,支持英文逗号分隔或重复传入该参数,最多 100 个 |
547
+
548
+ **示例:**
549
+
550
+ ```bash
551
+ tmeet meeting invitees-remove \
552
+ --meeting-id "6953553464429888300" \
553
+ --invitees "open_id1,open_id2"
554
+ ```
555
+
556
+ ---
557
+
558
+ #### `meeting invitees-replace` — 替换受邀成员列表
559
+
560
+ 使用新的成员列表整体替换会议当前的受邀成员列表(未在 `--invitees` 中的成员将被移除)。
561
+
562
+ ```bash
563
+ tmeet meeting invitees-replace --meeting-id <会议ID> --invitees <open_id列表>
564
+ ```
565
+
566
+ | 参数 | 类型 | 必填 | 默认值 | 说明 |
567
+ |------|------|:----:|--------|------|
568
+ | `--meeting-id` | string | ✅ | — | 会议 ID |
569
+ | `--invitees` | strings | ✅ | — | 替换后的受邀成员 `open_id` 列表,支持英文逗号分隔或重复传入该参数,最多 100 个 |
570
+
571
+ **示例:**
572
+
573
+ ```bash
574
+ tmeet meeting invitees-replace \
575
+ --meeting-id "6953553464429888300" \
576
+ --invitees "open_id1,open_id2,open_id3"
577
+ ```
578
+
579
+ ---
580
+
466
581
  ### record — 录制管理
467
582
 
468
583
  #### `record list` — 查询录制列表
@@ -682,6 +797,85 @@ tmeet record permission-apply-commit --meeting-record-id "record_abc123"
682
797
 
683
798
  ---
684
799
 
800
+ ### contact — 通讯录
801
+
802
+ #### `contact search` — 搜索企业通讯录成员
803
+
804
+ 按用户名搜索企业通讯录成员,支持通过职位或部门进一步过滤搜索结果。
805
+
806
+ ```bash
807
+ tmeet contact search --username <用户名> [选项]
808
+ ```
809
+
810
+ | 参数 | 类型 | 必填 | 默认值 | 说明 |
811
+ |------|------|:----:|--------|------|
812
+ | `--username` | string | ✅ | — | 要搜索的用户名 |
813
+ | `--job-title` | string | — | — | 当用户名搜索结果过多时,用于过滤的职位名称 |
814
+ | `--department-name` | string | — | — | 当用户名搜索结果过多时,用于过滤的部门名称 |
815
+
816
+ **示例:**
817
+
818
+ ```bash
819
+ # 按用户名搜索
820
+ tmeet contact search --username "张三"
821
+
822
+ # 用户名 + 职位过滤
823
+ tmeet contact search --username "张三" --job-title "工程师"
824
+
825
+ # 用户名 + 部门过滤
826
+ tmeet contact search --username "张三" --department-name "研发部"
827
+ ```
828
+
829
+ ---
830
+
831
+ #### `contact lookup-by-email` — 通过邮箱反查用户信息
832
+
833
+ 通过邮箱地址反查用户详细信息,支持批量查询多个邮箱。
834
+
835
+ ```bash
836
+ tmeet contact lookup-by-email --emails <邮箱地址列表>
837
+ ```
838
+
839
+ | 参数 | 类型 | 必填 | 默认值 | 说明 |
840
+ |------|------|:----:|--------|------|
841
+ | `--emails` | []string | ✅ | — | 邮箱地址列表,多个邮箱用逗号分隔或重复使用该参数,最多50个<br>例如:--emails user1@example.com,user2@example.com 或 --emails user1@example.com --emails user2@example.com |
842
+
843
+ **示例:**
844
+
845
+ ```bash
846
+ # 查询单个邮箱
847
+ tmeet contact lookup-by-email --emails "user@example.com"
848
+
849
+ # 批量查询多个邮箱
850
+ tmeet contact lookup-by-email --emails "user1@example.com,user2@example.com,user3@example.com"
851
+ ```
852
+
853
+ ---
854
+
855
+ #### `contact lookup-by-phone` — 通过手机号反查用户信息
856
+
857
+ 通过手机号反查用户详细信息,支持批量查询多个手机号。
858
+
859
+ ```bash
860
+ tmeet contact lookup-by-phone --phones <手机号列表>
861
+ ```
862
+
863
+ | 参数 | 类型 | 必填 | 默认值 | 说明 |
864
+ |------|------|:----:|--------|------|
865
+ | `--phones` | []string | ✅ | — | 手机号列表,多个手机号用逗号分隔或重复使用该参数,最多50个<br>例如:--phones 13800138000,13900139000 或 --phones 13800138000 --phones 13900139000 |
866
+
867
+ **示例:**
868
+
869
+ ```bash
870
+ # 查询单个手机号
871
+ tmeet contact lookup-by-phone --phones "13800138000"
872
+
873
+ # 批量查询多个手机号
874
+ tmeet contact lookup-by-phone --phones "13800138000,13900139000,13700137000"
875
+ ```
876
+
877
+ ---
878
+
685
879
  ### report — 参会报告
686
880
 
687
881
  #### `report participants` — 查询参会人列表
@@ -744,6 +938,82 @@ tmeet report waiting-room-log \
744
938
 
745
939
  ---
746
940
 
941
+ ### control — 会中控制
942
+
943
+ 会中控制相关命令,用于在会议进行中对参会成员执行呼叫、踢出等管理操作。受邀成员通过用户 `open_id` 指定,可通过 `contact search` 命令查询获得。
944
+
945
+ #### `control call` — 呼叫成员入会
946
+
947
+ 会中邀请呼叫,向指定成员发起入会呼叫。
948
+
949
+ ```bash
950
+ tmeet control call --meeting-id <会议ID> --users <open_id列表>
951
+ ```
952
+
953
+ | 参数 | 类型 | 必填 | 默认值 | 说明 |
954
+ |------|------|:----:|--------|------|
955
+ | `--meeting-id` | string | ✅ | — | 会议 ID |
956
+ | `--users` | strings | ✅ | — | 待呼叫的成员 `open_id` 列表,支持英文逗号分隔或重复传入该参数,最多 20 个 |
957
+
958
+ **示例:**
959
+
960
+ ```bash
961
+ # 通过英文逗号分隔传入多个 open_id
962
+ tmeet control call \
963
+ --meeting-id "6953553464429888300" \
964
+ --users "open_id1,open_id2"
965
+
966
+ # 重复传入 --users 参数
967
+ tmeet control call \
968
+ --meeting-id "6953553464429888300" \
969
+ --users "open_id1" \
970
+ --users "open_id2"
971
+ ```
972
+
973
+ ---
974
+
975
+ #### `control kick` — 踢出会议成员
976
+
977
+ 会中踢人,将指定成员从会议中踢出。
978
+
979
+ ```bash
980
+ tmeet control kick --meeting-id <会议ID> [--users <open_id列表>] [--sip-users <ms_open_id列表>] [--pstn-users <ms_open_id列表>] [--allow-rejoin]
981
+ ```
982
+
983
+ | 参数 | 类型 | 必填 | 默认值 | 说明 |
984
+ |------|------|:----:|--------|------|
985
+ | `--meeting-id` | string | ✅ | — | 会议 ID |
986
+ | `--users` | strings | 三选一 | — | 待踢出的普通成员 `open_id` 列表(不包含 Sip/Pstn 设备),支持英文逗号分隔或重复传入该参数 |
987
+ | `--sip-users` | strings | 三选一 | — | 待踢出的 Sip 设备 `ms_open_id` 列表,支持英文逗号分隔或重复传入该参数 |
988
+ | `--pstn-users` | strings | 三选一 | — | 待踢出的 Pstn 设备 `ms_open_id` 列表,支持英文逗号分隔或重复传入该参数 |
989
+ | `--allow-rejoin` | bool | ❌ | `false` | 被踢出的成员是否允许重新加入会议;不传则默认 `false`(不允许重新入会) |
990
+
991
+ > `--users` / `--sip-users` / `--pstn-users` **三者至少必填一种**,且**三者总数合计最多 20 个**。
992
+
993
+ **示例:**
994
+
995
+ ```bash
996
+ # 踢出普通成员
997
+ tmeet control kick \
998
+ --meeting-id "6953553464429888300" \
999
+ --users "open_id1,open_id2"
1000
+
1001
+ # 同时踢出普通成员、Sip 设备、Pstn 设备(三者合计不超过 20)
1002
+ tmeet control kick \
1003
+ --meeting-id "6953553464429888300" \
1004
+ --users "open_id1" \
1005
+ --sip-users "ms_open_id_sip1" \
1006
+ --pstn-users "ms_open_id_pstn1"
1007
+
1008
+ # 允许被踢成员重新入会
1009
+ tmeet control kick \
1010
+ --meeting-id "6953553464429888300" \
1011
+ --allow-rejoin \
1012
+ --users "open_id1,open_id2"
1013
+ ```
1014
+
1015
+ ---
1016
+
747
1017
  ### tshoot — 问题排查
748
1018
 
749
1019
  #### `tshoot log` — 导出本地日志
@@ -859,4 +1129,4 @@ tmeet tshoot feedback \
859
1129
 
860
1130
  ## 许可证
861
1131
 
862
- 本项目基于 [MIT License](LICENSE) 开源。
1132
+ 本项目基于 [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.9",
4
4
  "description": "腾讯会议 CLI 工具",
5
5
  "bin": {
6
6
  "tmeet": "./scripts/tmeet.js"