@antchain/riskplus 1.16.36 → 1.16.39

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,74 @@ 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
+ static names(): {
6483
+ [key: string]: string;
6484
+ };
6485
+ static types(): {
6486
+ [key: string]: any;
6487
+ };
6488
+ constructor(map?: {
6489
+ [key: string]: any;
6490
+ });
6491
+ }
6424
6492
  export declare class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
6425
6493
  authToken?: string;
6426
6494
  apiCode: string;
@@ -8205,6 +8273,18 @@ export default class Client {
8205
8273
  applyUmktRtBatchmarketingEx(request: ApplyUmktRtBatchmarketingRequest, headers: {
8206
8274
  [key: string]: string;
8207
8275
  }, runtime: $Util.RuntimeOptions): Promise<ApplyUmktRtBatchmarketingResponse>;
8276
+ /**
8277
+ * Description: 新接入ai外呼服务商的回调接口
8278
+ * Summary: ai外呼回调接口
8279
+ */
8280
+ callbackUmktRobotcall(request: CallbackUmktRobotcallRequest): Promise<CallbackUmktRobotcallResponse>;
8281
+ /**
8282
+ * Description: 新接入ai外呼服务商的回调接口
8283
+ * Summary: ai外呼回调接口
8284
+ */
8285
+ callbackUmktRobotcallEx(request: CallbackUmktRobotcallRequest, headers: {
8286
+ [key: string]: string;
8287
+ }, runtime: $Util.RuntimeOptions): Promise<CallbackUmktRobotcallResponse>;
8208
8288
  /**
8209
8289
  * Description: 创建HTTP PUT提交的文件上传
8210
8290
  * Summary: 文件上传创建
package/dist/client.js CHANGED
@@ -9957,6 +9957,126 @@ 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
+ };
10070
+ }
10071
+ static types() {
10072
+ return {
10073
+ reqMsgId: 'string',
10074
+ resultCode: 'string',
10075
+ resultMsg: 'string',
10076
+ };
10077
+ }
10078
+ }
10079
+ exports.CallbackUmktRobotcallResponse = CallbackUmktRobotcallResponse;
9960
10080
  class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
9961
10081
  constructor(map) {
9962
10082
  super(map);
@@ -10101,7 +10221,7 @@ class Client {
10101
10221
  req_msg_id: alipay_util_1.default.getNonce(),
10102
10222
  access_key: this._accessKeyId,
10103
10223
  base_sdk_version: "TeaSDK-2.0",
10104
- sdk_version: "1.16.36",
10224
+ sdk_version: "1.16.39",
10105
10225
  _prod_code: "RISKPLUS",
10106
10226
  _prod_channel: "undefined",
10107
10227
  };
@@ -12649,6 +12769,23 @@ class Client {
12649
12769
  tea_util_1.default.validateModel(request);
12650
12770
  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
12771
  }
12772
+ /**
12773
+ * Description: 新接入ai外呼服务商的回调接口
12774
+ * Summary: ai外呼回调接口
12775
+ */
12776
+ async callbackUmktRobotcall(request) {
12777
+ let runtime = new $Util.RuntimeOptions({});
12778
+ let headers = {};
12779
+ return await this.callbackUmktRobotcallEx(request, headers, runtime);
12780
+ }
12781
+ /**
12782
+ * Description: 新接入ai外呼服务商的回调接口
12783
+ * Summary: ai外呼回调接口
12784
+ */
12785
+ async callbackUmktRobotcallEx(request, headers, runtime) {
12786
+ tea_util_1.default.validateModel(request);
12787
+ return $tea.cast(await this.doRequest("1.0", "riskplus.umkt.robotcall.callback", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CallbackUmktRobotcallResponse({}));
12788
+ }
12652
12789
  /**
12653
12790
  * Description: 创建HTTP PUT提交的文件上传
12654
12791
  * Summary: 文件上传创建