@antchain/riskplus 1.16.6 → 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/dist/client.d.ts +47 -0
- package/dist/client.js +72 -1
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +103 -1
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -14236,6 +14236,89 @@ export class BatchqueryUmktRtTopnResponse extends $tea.Model {
|
|
|
14236
14236
|
}
|
|
14237
14237
|
}
|
|
14238
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
|
+
|
|
14239
14322
|
export class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
|
|
14240
14323
|
// OAuth模式下的授权token
|
|
14241
14324
|
authToken?: string;
|
|
@@ -14437,7 +14520,7 @@ export default class Client {
|
|
|
14437
14520
|
req_msg_id: AntchainUtil.getNonce(),
|
|
14438
14521
|
access_key: this._accessKeyId,
|
|
14439
14522
|
base_sdk_version: "TeaSDK-2.0",
|
|
14440
|
-
sdk_version: "1.16.
|
|
14523
|
+
sdk_version: "1.16.8",
|
|
14441
14524
|
_prod_code: "RISKPLUS",
|
|
14442
14525
|
_prod_channel: "undefined",
|
|
14443
14526
|
};
|
|
@@ -17058,6 +17141,25 @@ export default class Client {
|
|
|
17058
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({}));
|
|
17059
17142
|
}
|
|
17060
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
|
+
|
|
17061
17163
|
/**
|
|
17062
17164
|
* Description: 创建HTTP PUT提交的文件上传
|
|
17063
17165
|
* Summary: 文件上传创建
|