tencentcloud-sdk-nodejs-ccc 4.0.1030 → 4.0.1038

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-ccc",
3
- "version": "4.0.1030",
3
+ "version": "4.0.1038",
4
4
  "description": "Tencent Cloud API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
@@ -436,8 +436,12 @@ export class Client extends TencentCloudCommon.AbstractClient {
436
436
  }
437
437
 
438
438
  /**
439
- * 创建外呼会话,当前仅支持双呼,即先使用平台号码呼出到坐席手机上,坐席接听后,然后再外呼用户,而且由于运营商频率限制,坐席手机号必须先加白名单,避免频控导致外呼失败。
440
- */
439
+ * 创建外呼会话,当前仅支持双呼,即先使用平台号码呼出到座席手机上,座席接听后,然后再外呼用户,而且由于运营商频率限制,座席手机号必须先加白名单,避免频控导致外呼失败。所以调用此接口前,下述操作均已完成
440
+ 1. UserId 指定的座席已经[绑定手机号](https://cloud.tencent.com/document/product/679/76067#.E6.AD.A5.E9.AA.A42.EF.BC.9A.E5.AE.8C.E5.96.84.E8.B4.A6.E5.8F.B7.E4.BF.A1.E6.81.AF)
441
+ 2. 座席绑定的手机号已经[申请并通过了外呼白名单](https://cloud.tencent.com/document/product/679/76744#.E6.93.8D.E4.BD.9C.E6.AD.A5.E9.AA.A4)
442
+ 3. 当前座席侧只能呼叫其手机,所以 IsForceMobile 字段当前必须为 true
443
+ 4. 被叫不要填当前 UserId 所绑定的手机号,否则会造成占线呼叫失败
444
+ */
441
445
  async CreateCallOutSession(
442
446
  req: CreateCallOutSessionRequest,
443
447
  cb?: (error: string, rep: CreateCallOutSessionResponse) => void
@@ -2470,11 +2470,11 @@ export interface Message {
2470
2470
  /**
2471
2471
  * 消息类型
2472
2472
  */
2473
- Type: string
2473
+ Type?: string
2474
2474
  /**
2475
2475
  * 消息内容
2476
2476
  */
2477
- Content: string
2477
+ Content?: string
2478
2478
  }
2479
2479
 
2480
2480
  /**
@@ -3429,15 +3429,15 @@ export interface MessageBody {
3429
3429
  /**
3430
3430
  * 消息时间戳
3431
3431
  */
3432
- Timestamp: number
3432
+ Timestamp?: number
3433
3433
  /**
3434
3434
  * 发消息的用户ID
3435
3435
  */
3436
- From: string
3436
+ From?: string
3437
3437
  /**
3438
3438
  * 消息列表
3439
3439
  */
3440
- Messages: Array<Message>
3440
+ Messages?: Array<Message>
3441
3441
  }
3442
3442
 
3443
3443
  /**
@@ -4237,7 +4237,7 @@ export interface CreateCallOutSessionRequest {
4237
4237
  */
4238
4238
  SdkAppId: number
4239
4239
  /**
4240
- * 客服用户 ID,一般为客服邮箱
4240
+ * 客服用户 ID,一般为客服邮箱,确保已经绑定了手机号 https://cloud.tencent.com/document/product/679/76067#.E6.AD.A5.E9.AA.A42.EF.BC.9A.E5.AE.8C.E5.96.84.E8.B4.A6.E5.8F.B7.E4.BF.A1.E6.81.AF
4241
4241
  */
4242
4242
  UserId: string
4243
4243
  /**
@@ -4253,7 +4253,7 @@ export interface CreateCallOutSessionRequest {
4253
4253
  */
4254
4254
  Callers?: Array<string>
4255
4255
  /**
4256
- * 是否强制使用手机外呼,当前只支持 true,若为 true 请确保已配置白名单
4256
+ * 是否强制使用手机外呼,当前只支持 true,若为 true 请确保已配置白名单 https://cloud.tencent.com/document/product/679/76744#.E6.93.8D.E4.BD.9C.E6.AD.A5.E9.AA.A4
4257
4257
  */
4258
4258
  IsForceUseMobile?: boolean
4259
4259
  /**
@@ -103,8 +103,12 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
103
103
  */
104
104
  DescribeTelSession(req: DescribeTelSessionRequest, cb?: (error: string, rep: DescribeTelSessionResponse) => void): Promise<DescribeTelSessionResponse>;
105
105
  /**
106
- * 创建外呼会话,当前仅支持双呼,即先使用平台号码呼出到坐席手机上,坐席接听后,然后再外呼用户,而且由于运营商频率限制,坐席手机号必须先加白名单,避免频控导致外呼失败。
107
- */
106
+ * 创建外呼会话,当前仅支持双呼,即先使用平台号码呼出到座席手机上,座席接听后,然后再外呼用户,而且由于运营商频率限制,座席手机号必须先加白名单,避免频控导致外呼失败。所以调用此接口前,下述操作均已完成
107
+ 1. UserId 指定的座席已经[绑定手机号](https://cloud.tencent.com/document/product/679/76067#.E6.AD.A5.E9.AA.A42.EF.BC.9A.E5.AE.8C.E5.96.84.E8.B4.A6.E5.8F.B7.E4.BF.A1.E6.81.AF)
108
+ 2. 座席绑定的手机号已经[申请并通过了外呼白名单](https://cloud.tencent.com/document/product/679/76744#.E6.93.8D.E4.BD.9C.E6.AD.A5.E9.AA.A4)
109
+ 3. 当前座席侧只能呼叫其手机,所以 IsForceMobile 字段当前必须为 true
110
+ 4. 被叫不要填当前 UserId 所绑定的手机号,否则会造成占线呼叫失败
111
+ */
108
112
  CreateCallOutSession(req: CreateCallOutSessionRequest, cb?: (error: string, rep: CreateCallOutSessionResponse) => void): Promise<CreateCallOutSessionResponse>;
109
113
  /**
110
114
  * 查询预测式外呼任务列表
@@ -170,8 +170,12 @@ class Client extends TencentCloudCommon.AbstractClient {
170
170
  return this.request("DescribeTelSession", req, cb);
171
171
  }
172
172
  /**
173
- * 创建外呼会话,当前仅支持双呼,即先使用平台号码呼出到坐席手机上,坐席接听后,然后再外呼用户,而且由于运营商频率限制,坐席手机号必须先加白名单,避免频控导致外呼失败。
174
- */
173
+ * 创建外呼会话,当前仅支持双呼,即先使用平台号码呼出到座席手机上,座席接听后,然后再外呼用户,而且由于运营商频率限制,座席手机号必须先加白名单,避免频控导致外呼失败。所以调用此接口前,下述操作均已完成
174
+ 1. UserId 指定的座席已经[绑定手机号](https://cloud.tencent.com/document/product/679/76067#.E6.AD.A5.E9.AA.A42.EF.BC.9A.E5.AE.8C.E5.96.84.E8.B4.A6.E5.8F.B7.E4.BF.A1.E6.81.AF)
175
+ 2. 座席绑定的手机号已经[申请并通过了外呼白名单](https://cloud.tencent.com/document/product/679/76744#.E6.93.8D.E4.BD.9C.E6.AD.A5.E9.AA.A4)
176
+ 3. 当前座席侧只能呼叫其手机,所以 IsForceMobile 字段当前必须为 true
177
+ 4. 被叫不要填当前 UserId 所绑定的手机号,否则会造成占线呼叫失败
178
+ */
175
179
  async CreateCallOutSession(req, cb) {
176
180
  return this.request("CreateCallOutSession", req, cb);
177
181
  }
@@ -2371,11 +2371,11 @@ export interface Message {
2371
2371
  /**
2372
2372
  * 消息类型
2373
2373
  */
2374
- Type: string;
2374
+ Type?: string;
2375
2375
  /**
2376
2376
  * 消息内容
2377
2377
  */
2378
- Content: string;
2378
+ Content?: string;
2379
2379
  }
2380
2380
  /**
2381
2381
  * AbortPredictiveDialingCampaign返回参数结构体
@@ -3292,15 +3292,15 @@ export interface MessageBody {
3292
3292
  /**
3293
3293
  * 消息时间戳
3294
3294
  */
3295
- Timestamp: number;
3295
+ Timestamp?: number;
3296
3296
  /**
3297
3297
  * 发消息的用户ID
3298
3298
  */
3299
- From: string;
3299
+ From?: string;
3300
3300
  /**
3301
3301
  * 消息列表
3302
3302
  */
3303
- Messages: Array<Message>;
3303
+ Messages?: Array<Message>;
3304
3304
  }
3305
3305
  /**
3306
3306
  * 号码购买信息
@@ -4060,7 +4060,7 @@ export interface CreateCallOutSessionRequest {
4060
4060
  */
4061
4061
  SdkAppId: number;
4062
4062
  /**
4063
- * 客服用户 ID,一般为客服邮箱
4063
+ * 客服用户 ID,一般为客服邮箱,确保已经绑定了手机号 https://cloud.tencent.com/document/product/679/76067#.E6.AD.A5.E9.AA.A42.EF.BC.9A.E5.AE.8C.E5.96.84.E8.B4.A6.E5.8F.B7.E4.BF.A1.E6.81.AF
4064
4064
  */
4065
4065
  UserId: string;
4066
4066
  /**
@@ -4076,7 +4076,7 @@ export interface CreateCallOutSessionRequest {
4076
4076
  */
4077
4077
  Callers?: Array<string>;
4078
4078
  /**
4079
- * 是否强制使用手机外呼,当前只支持 true,若为 true 请确保已配置白名单
4079
+ * 是否强制使用手机外呼,当前只支持 true,若为 true 请确保已配置白名单 https://cloud.tencent.com/document/product/679/76744#.E6.93.8D.E4.BD.9C.E6.AD.A5.E9.AA.A4
4080
4080
  */
4081
4081
  IsForceUseMobile?: boolean;
4082
4082
  /**