@antchain/riskplus 1.16.36 → 1.16.38

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 CHANGED
@@ -6421,6 +6421,75 @@ export declare class ApplyUmktRtBatchmarketingResponse extends $tea.Model {
6421
6421
  [key: string]: any;
6422
6422
  });
6423
6423
  }
6424
+ export declare class CallbackUmktRobotcallRequest extends $tea.Model {
6425
+ authToken?: string;
6426
+ productInstanceId?: string;
6427
+ customerKey: string;
6428
+ currentCallTimes: number;
6429
+ keyTemplate: string;
6430
+ batchId: string;
6431
+ callType: number;
6432
+ tag?: string;
6433
+ callId: string;
6434
+ taskId: number;
6435
+ templateId?: number;
6436
+ statusCode: number;
6437
+ statusDescription: string;
6438
+ transferStatusCode: string;
6439
+ transferStatus: string;
6440
+ agentId?: number;
6441
+ agentTag?: string;
6442
+ agentExtension?: string;
6443
+ importTime: string;
6444
+ callBeginTime: string;
6445
+ ringTime: number;
6446
+ answerTime?: string;
6447
+ speakingTime: string;
6448
+ speakingDuration: number;
6449
+ hangupTime: string;
6450
+ speakingTurns: number;
6451
+ agentSpeakingTime: string;
6452
+ agentSpeakingDuration: number;
6453
+ intentTag: string;
6454
+ intentDescription: string;
6455
+ individualTag?: string;
6456
+ keywords?: string;
6457
+ hungupType: number;
6458
+ sms: number;
6459
+ chatRecord?: string;
6460
+ chats?: string;
6461
+ addWx?: number;
6462
+ addWxStatus?: string;
6463
+ answerRecall: number;
6464
+ properties?: string;
6465
+ bizProperties?: string;
6466
+ interceptReason?: string;
6467
+ extInfo?: string;
6468
+ static names(): {
6469
+ [key: string]: string;
6470
+ };
6471
+ static types(): {
6472
+ [key: string]: any;
6473
+ };
6474
+ constructor(map?: {
6475
+ [key: string]: any;
6476
+ });
6477
+ }
6478
+ export declare class CallbackUmktRobotcallResponse extends $tea.Model {
6479
+ reqMsgId?: string;
6480
+ resultCode?: string;
6481
+ resultMsg?: string;
6482
+ success?: boolean;
6483
+ static names(): {
6484
+ [key: string]: string;
6485
+ };
6486
+ static types(): {
6487
+ [key: string]: any;
6488
+ };
6489
+ constructor(map?: {
6490
+ [key: string]: any;
6491
+ });
6492
+ }
6424
6493
  export declare class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
6425
6494
  authToken?: string;
6426
6495
  apiCode: string;
@@ -8205,6 +8274,18 @@ export default class Client {
8205
8274
  applyUmktRtBatchmarketingEx(request: ApplyUmktRtBatchmarketingRequest, headers: {
8206
8275
  [key: string]: string;
8207
8276
  }, runtime: $Util.RuntimeOptions): Promise<ApplyUmktRtBatchmarketingResponse>;
8277
+ /**
8278
+ * Description: 新接入ai外呼服务商的回调接口
8279
+ * Summary: ai外呼回调接口
8280
+ */
8281
+ callbackUmktRobotcall(request: CallbackUmktRobotcallRequest): Promise<CallbackUmktRobotcallResponse>;
8282
+ /**
8283
+ * Description: 新接入ai外呼服务商的回调接口
8284
+ * Summary: ai外呼回调接口
8285
+ */
8286
+ callbackUmktRobotcallEx(request: CallbackUmktRobotcallRequest, headers: {
8287
+ [key: string]: string;
8288
+ }, runtime: $Util.RuntimeOptions): Promise<CallbackUmktRobotcallResponse>;
8208
8289
  /**
8209
8290
  * Description: 创建HTTP PUT提交的文件上传
8210
8291
  * Summary: 文件上传创建
package/dist/client.js CHANGED
@@ -9957,6 +9957,128 @@ class ApplyUmktRtBatchmarketingResponse extends $tea.Model {
9957
9957
  }
9958
9958
  }
9959
9959
  exports.ApplyUmktRtBatchmarketingResponse = ApplyUmktRtBatchmarketingResponse;
9960
+ class CallbackUmktRobotcallRequest extends $tea.Model {
9961
+ constructor(map) {
9962
+ super(map);
9963
+ }
9964
+ static names() {
9965
+ return {
9966
+ authToken: 'auth_token',
9967
+ productInstanceId: 'product_instance_id',
9968
+ customerKey: 'customer_key',
9969
+ currentCallTimes: 'current_call_times',
9970
+ keyTemplate: 'key_template',
9971
+ batchId: 'batch_id',
9972
+ callType: 'call_type',
9973
+ tag: 'tag',
9974
+ callId: 'call_id',
9975
+ taskId: 'task_id',
9976
+ templateId: 'template_id',
9977
+ statusCode: 'status_code',
9978
+ statusDescription: 'status_description',
9979
+ transferStatusCode: 'transfer_status_code',
9980
+ transferStatus: 'transfer_status',
9981
+ agentId: 'agent_id',
9982
+ agentTag: 'agent_tag',
9983
+ agentExtension: 'agent_extension',
9984
+ importTime: 'import_time',
9985
+ callBeginTime: 'call_begin_time',
9986
+ ringTime: 'ring_time',
9987
+ answerTime: 'answer_time',
9988
+ speakingTime: 'speaking_time',
9989
+ speakingDuration: 'speaking_duration',
9990
+ hangupTime: 'hangup_time',
9991
+ speakingTurns: 'speaking_turns',
9992
+ agentSpeakingTime: 'agent_speaking_time',
9993
+ agentSpeakingDuration: 'agent_speaking_duration',
9994
+ intentTag: 'intent_tag',
9995
+ intentDescription: 'intent_description',
9996
+ individualTag: 'individual_tag',
9997
+ keywords: 'keywords',
9998
+ hungupType: 'hungup_type',
9999
+ sms: 'sms',
10000
+ chatRecord: 'chat_record',
10001
+ chats: 'chats',
10002
+ addWx: 'add_wx',
10003
+ addWxStatus: 'add_wx_status',
10004
+ answerRecall: 'answer_recall',
10005
+ properties: 'properties',
10006
+ bizProperties: 'biz_properties',
10007
+ interceptReason: 'intercept_reason',
10008
+ extInfo: 'ext_info',
10009
+ };
10010
+ }
10011
+ static types() {
10012
+ return {
10013
+ authToken: 'string',
10014
+ productInstanceId: 'string',
10015
+ customerKey: 'string',
10016
+ currentCallTimes: 'number',
10017
+ keyTemplate: 'string',
10018
+ batchId: 'string',
10019
+ callType: 'number',
10020
+ tag: 'string',
10021
+ callId: 'string',
10022
+ taskId: 'number',
10023
+ templateId: 'number',
10024
+ statusCode: 'number',
10025
+ statusDescription: 'string',
10026
+ transferStatusCode: 'string',
10027
+ transferStatus: 'string',
10028
+ agentId: 'number',
10029
+ agentTag: 'string',
10030
+ agentExtension: 'string',
10031
+ importTime: 'string',
10032
+ callBeginTime: 'string',
10033
+ ringTime: 'number',
10034
+ answerTime: 'string',
10035
+ speakingTime: 'string',
10036
+ speakingDuration: 'number',
10037
+ hangupTime: 'string',
10038
+ speakingTurns: 'number',
10039
+ agentSpeakingTime: 'string',
10040
+ agentSpeakingDuration: 'number',
10041
+ intentTag: 'string',
10042
+ intentDescription: 'string',
10043
+ individualTag: 'string',
10044
+ keywords: 'string',
10045
+ hungupType: 'number',
10046
+ sms: 'number',
10047
+ chatRecord: 'string',
10048
+ chats: 'string',
10049
+ addWx: 'number',
10050
+ addWxStatus: 'string',
10051
+ answerRecall: 'number',
10052
+ properties: 'string',
10053
+ bizProperties: 'string',
10054
+ interceptReason: 'string',
10055
+ extInfo: 'string',
10056
+ };
10057
+ }
10058
+ }
10059
+ exports.CallbackUmktRobotcallRequest = CallbackUmktRobotcallRequest;
10060
+ class CallbackUmktRobotcallResponse extends $tea.Model {
10061
+ constructor(map) {
10062
+ super(map);
10063
+ }
10064
+ static names() {
10065
+ return {
10066
+ reqMsgId: 'req_msg_id',
10067
+ resultCode: 'result_code',
10068
+ resultMsg: 'result_msg',
10069
+ success: 'success',
10070
+ };
10071
+ }
10072
+ static types() {
10073
+ return {
10074
+ reqMsgId: 'string',
10075
+ resultCode: 'string',
10076
+ resultMsg: 'string',
10077
+ success: 'boolean',
10078
+ };
10079
+ }
10080
+ }
10081
+ exports.CallbackUmktRobotcallResponse = CallbackUmktRobotcallResponse;
9960
10082
  class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
9961
10083
  constructor(map) {
9962
10084
  super(map);
@@ -10101,7 +10223,7 @@ class Client {
10101
10223
  req_msg_id: alipay_util_1.default.getNonce(),
10102
10224
  access_key: this._accessKeyId,
10103
10225
  base_sdk_version: "TeaSDK-2.0",
10104
- sdk_version: "1.16.36",
10226
+ sdk_version: "1.16.38",
10105
10227
  _prod_code: "RISKPLUS",
10106
10228
  _prod_channel: "undefined",
10107
10229
  };
@@ -12649,6 +12771,23 @@ class Client {
12649
12771
  tea_util_1.default.validateModel(request);
12650
12772
  return $tea.cast(await this.doRequest("1.0", "riskplus.umkt.rt.batchmarketing.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyUmktRtBatchmarketingResponse({}));
12651
12773
  }
12774
+ /**
12775
+ * Description: 新接入ai外呼服务商的回调接口
12776
+ * Summary: ai外呼回调接口
12777
+ */
12778
+ async callbackUmktRobotcall(request) {
12779
+ let runtime = new $Util.RuntimeOptions({});
12780
+ let headers = {};
12781
+ return await this.callbackUmktRobotcallEx(request, headers, runtime);
12782
+ }
12783
+ /**
12784
+ * Description: 新接入ai外呼服务商的回调接口
12785
+ * Summary: ai外呼回调接口
12786
+ */
12787
+ async callbackUmktRobotcallEx(request, headers, runtime) {
12788
+ tea_util_1.default.validateModel(request);
12789
+ return $tea.cast(await this.doRequest("1.0", "riskplus.umkt.robotcall.callback", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CallbackUmktRobotcallResponse({}));
12790
+ }
12652
12791
  /**
12653
12792
  * Description: 创建HTTP PUT提交的文件上传
12654
12793
  * Summary: 文件上传创建