@antchain/riskplus 1.16.5 → 1.16.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antchain/riskplus",
3
- "version": "1.16.5",
3
+ "version": "1.16.8",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -7971,6 +7971,8 @@ export class ApplyDubbridgeUsecreditRequest extends $tea.Model {
7971
7971
  channelType?: string;
7972
7972
  // 客户类型
7973
7973
  customType?: string;
7974
+ // 风险数据对象(json字符串)
7975
+ riskData?: string;
7974
7976
  static names(): { [key: string]: string } {
7975
7977
  return {
7976
7978
  authToken: 'auth_token',
@@ -7985,6 +7987,7 @@ export class ApplyDubbridgeUsecreditRequest extends $tea.Model {
7985
7987
  repayDate: 'repay_date',
7986
7988
  channelType: 'channel_type',
7987
7989
  customType: 'custom_type',
7990
+ riskData: 'risk_data',
7988
7991
  };
7989
7992
  }
7990
7993
 
@@ -8002,6 +8005,7 @@ export class ApplyDubbridgeUsecreditRequest extends $tea.Model {
8002
8005
  repayDate: 'string',
8003
8006
  channelType: 'string',
8004
8007
  customType: 'string',
8008
+ riskData: 'string',
8005
8009
  };
8006
8010
  }
8007
8011
 
@@ -14232,6 +14236,89 @@ export class BatchqueryUmktRtTopnResponse extends $tea.Model {
14232
14236
  }
14233
14237
  }
14234
14238
 
14239
+ export class QueryUmktRobotcallStatisticinfoRequest extends $tea.Model {
14240
+ // OAuth模式下的授权token
14241
+ authToken?: string;
14242
+ productInstanceId?: string;
14243
+ // 场景策略id
14244
+ sceneStrategyId: number;
14245
+ // 客户透传字段
14246
+ outInfo: string;
14247
+ static names(): { [key: string]: string } {
14248
+ return {
14249
+ authToken: 'auth_token',
14250
+ productInstanceId: 'product_instance_id',
14251
+ sceneStrategyId: 'scene_strategy_id',
14252
+ outInfo: 'out_info',
14253
+ };
14254
+ }
14255
+
14256
+ static types(): { [key: string]: any } {
14257
+ return {
14258
+ authToken: 'string',
14259
+ productInstanceId: 'string',
14260
+ sceneStrategyId: 'number',
14261
+ outInfo: 'string',
14262
+ };
14263
+ }
14264
+
14265
+ constructor(map?: { [key: string]: any }) {
14266
+ super(map);
14267
+ }
14268
+ }
14269
+
14270
+ export class QueryUmktRobotcallStatisticinfoResponse extends $tea.Model {
14271
+ // 请求唯一ID,用于链路跟踪和问题排查
14272
+ reqMsgId?: string;
14273
+ // 结果码,一般OK表示调用成功
14274
+ resultCode?: string;
14275
+ // 异常信息的文本描述
14276
+ resultMsg?: string;
14277
+ // 全量手机号数量
14278
+ totalCount?: number;
14279
+ // 累计拨打次数
14280
+ callCount?: number;
14281
+ // 已经拨打的手机号数量
14282
+ calleeCount?: number;
14283
+ // 已拨打次数中接通的数量
14284
+ connectCount?: number;
14285
+ // 拨打率
14286
+ callRate?: number;
14287
+ // 接通率
14288
+ connectRate?: number;
14289
+ static names(): { [key: string]: string } {
14290
+ return {
14291
+ reqMsgId: 'req_msg_id',
14292
+ resultCode: 'result_code',
14293
+ resultMsg: 'result_msg',
14294
+ totalCount: 'total_count',
14295
+ callCount: 'call_count',
14296
+ calleeCount: 'callee_count',
14297
+ connectCount: 'connect_count',
14298
+ callRate: 'call_rate',
14299
+ connectRate: 'connect_rate',
14300
+ };
14301
+ }
14302
+
14303
+ static types(): { [key: string]: any } {
14304
+ return {
14305
+ reqMsgId: 'string',
14306
+ resultCode: 'string',
14307
+ resultMsg: 'string',
14308
+ totalCount: 'number',
14309
+ callCount: 'number',
14310
+ calleeCount: 'number',
14311
+ connectCount: 'number',
14312
+ callRate: 'number',
14313
+ connectRate: 'number',
14314
+ };
14315
+ }
14316
+
14317
+ constructor(map?: { [key: string]: any }) {
14318
+ super(map);
14319
+ }
14320
+ }
14321
+
14235
14322
  export class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
14236
14323
  // OAuth模式下的授权token
14237
14324
  authToken?: string;
@@ -14433,7 +14520,9 @@ export default class Client {
14433
14520
  req_msg_id: AntchainUtil.getNonce(),
14434
14521
  access_key: this._accessKeyId,
14435
14522
  base_sdk_version: "TeaSDK-2.0",
14436
- sdk_version: "1.16.5",
14523
+ sdk_version: "1.16.8",
14524
+ _prod_code: "RISKPLUS",
14525
+ _prod_channel: "undefined",
14437
14526
  };
14438
14527
  if (!Util.empty(this._securityToken)) {
14439
14528
  request_.query["security_token"] = this._securityToken;
@@ -17052,6 +17141,25 @@ export default class Client {
17052
17141
  return $tea.cast<BatchqueryUmktRtTopnResponse>(await this.doRequest("1.0", "riskplus.umkt.rt.topn.batchquery", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new BatchqueryUmktRtTopnResponse({}));
17053
17142
  }
17054
17143
 
17144
+ /**
17145
+ * Description: 外呼任务统计查询接口
17146
+ * Summary: 外呼任务统计查询接口
17147
+ */
17148
+ async queryUmktRobotcallStatisticinfo(request: QueryUmktRobotcallStatisticinfoRequest): Promise<QueryUmktRobotcallStatisticinfoResponse> {
17149
+ let runtime = new $Util.RuntimeOptions({ });
17150
+ let headers : {[key: string ]: string} = { };
17151
+ return await this.queryUmktRobotcallStatisticinfoEx(request, headers, runtime);
17152
+ }
17153
+
17154
+ /**
17155
+ * Description: 外呼任务统计查询接口
17156
+ * Summary: 外呼任务统计查询接口
17157
+ */
17158
+ async queryUmktRobotcallStatisticinfoEx(request: QueryUmktRobotcallStatisticinfoRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryUmktRobotcallStatisticinfoResponse> {
17159
+ Util.validateModel(request);
17160
+ return $tea.cast<QueryUmktRobotcallStatisticinfoResponse>(await this.doRequest("1.0", "riskplus.umkt.robotcall.statisticinfo.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryUmktRobotcallStatisticinfoResponse({}));
17161
+ }
17162
+
17055
17163
  /**
17056
17164
  * Description: 创建HTTP PUT提交的文件上传
17057
17165
  * Summary: 文件上传创建