@antchain/riskplus 1.16.33 → 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
@@ -491,6 +491,20 @@ export declare class RtopCompanyRiskFactor extends $tea.Model {
491
491
  [key: string]: any;
492
492
  });
493
493
  }
494
+ export declare class CustomerDetail extends $tea.Model {
495
+ customerKey: string;
496
+ channelParams: string;
497
+ extInfo: string;
498
+ static names(): {
499
+ [key: string]: string;
500
+ };
501
+ static types(): {
502
+ [key: string]: any;
503
+ };
504
+ constructor(map?: {
505
+ [key: string]: any;
506
+ });
507
+ }
494
508
  export declare class CustomerBankCardInfo extends $tea.Model {
495
509
  bankName: string;
496
510
  bankCode: string;
@@ -3987,6 +4001,7 @@ export declare class QueryRbbGeneralRequest extends $tea.Model {
3987
4001
  extension?: string;
3988
4002
  queryname: string;
3989
4003
  queryparas?: string;
4004
+ virtualCloudTenantCode?: string;
3990
4005
  static names(): {
3991
4006
  [key: string]: string;
3992
4007
  };
@@ -6373,6 +6388,108 @@ export declare class ApplyUmktRealtimemarketingResponse extends $tea.Model {
6373
6388
  [key: string]: any;
6374
6389
  });
6375
6390
  }
6391
+ export declare class ApplyUmktRtBatchmarketingRequest extends $tea.Model {
6392
+ authToken?: string;
6393
+ productInstanceId?: string;
6394
+ sceneStrategyId: number;
6395
+ outSerialNo: string;
6396
+ paramType: string;
6397
+ outInfo: string;
6398
+ customerDetails: CustomerDetail[];
6399
+ static names(): {
6400
+ [key: string]: string;
6401
+ };
6402
+ static types(): {
6403
+ [key: string]: any;
6404
+ };
6405
+ constructor(map?: {
6406
+ [key: string]: any;
6407
+ });
6408
+ }
6409
+ export declare class ApplyUmktRtBatchmarketingResponse extends $tea.Model {
6410
+ reqMsgId?: string;
6411
+ resultCode?: string;
6412
+ resultMsg?: string;
6413
+ bizId?: string;
6414
+ static names(): {
6415
+ [key: string]: string;
6416
+ };
6417
+ static types(): {
6418
+ [key: string]: any;
6419
+ };
6420
+ constructor(map?: {
6421
+ [key: string]: any;
6422
+ });
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
+ }
6376
6493
  export declare class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
6377
6494
  authToken?: string;
6378
6495
  apiCode: string;
@@ -8145,6 +8262,30 @@ export default class Client {
8145
8262
  applyUmktRealtimemarketingEx(request: ApplyUmktRealtimemarketingRequest, headers: {
8146
8263
  [key: string]: string;
8147
8264
  }, runtime: $Util.RuntimeOptions): Promise<ApplyUmktRealtimemarketingResponse>;
8265
+ /**
8266
+ * Description: 批量实时策略触达
8267
+ * Summary: 批量实时策略触达
8268
+ */
8269
+ applyUmktRtBatchmarketing(request: ApplyUmktRtBatchmarketingRequest): Promise<ApplyUmktRtBatchmarketingResponse>;
8270
+ /**
8271
+ * Description: 批量实时策略触达
8272
+ * Summary: 批量实时策略触达
8273
+ */
8274
+ applyUmktRtBatchmarketingEx(request: ApplyUmktRtBatchmarketingRequest, headers: {
8275
+ [key: string]: string;
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>;
8148
8289
  /**
8149
8290
  * Description: 创建HTTP PUT提交的文件上传
8150
8291
  * Summary: 文件上传创建
package/dist/client.js CHANGED
@@ -793,6 +793,27 @@ class RtopCompanyRiskFactor extends $tea.Model {
793
793
  }
794
794
  }
795
795
  exports.RtopCompanyRiskFactor = RtopCompanyRiskFactor;
796
+ // 用户凭证信息
797
+ class CustomerDetail extends $tea.Model {
798
+ constructor(map) {
799
+ super(map);
800
+ }
801
+ static names() {
802
+ return {
803
+ customerKey: 'customer_key',
804
+ channelParams: 'channel_params',
805
+ extInfo: 'ext_info',
806
+ };
807
+ }
808
+ static types() {
809
+ return {
810
+ customerKey: 'string',
811
+ channelParams: 'string',
812
+ extInfo: 'string',
813
+ };
814
+ }
815
+ }
816
+ exports.CustomerDetail = CustomerDetail;
796
817
  // 用户绑定银行卡列表
797
818
  class CustomerBankCardInfo extends $tea.Model {
798
819
  constructor(map) {
@@ -6247,6 +6268,7 @@ class QueryRbbGeneralRequest extends $tea.Model {
6247
6268
  extension: 'extension',
6248
6269
  queryname: 'queryname',
6249
6270
  queryparas: 'queryparas',
6271
+ virtualCloudTenantCode: 'virtual_cloud_tenant_code',
6250
6272
  };
6251
6273
  }
6252
6274
  static types() {
@@ -6256,6 +6278,7 @@ class QueryRbbGeneralRequest extends $tea.Model {
6256
6278
  extension: 'string',
6257
6279
  queryname: 'string',
6258
6280
  queryparas: 'string',
6281
+ virtualCloudTenantCode: 'string',
6259
6282
  };
6260
6283
  }
6261
6284
  }
@@ -9884,6 +9907,178 @@ class ApplyUmktRealtimemarketingResponse extends $tea.Model {
9884
9907
  }
9885
9908
  }
9886
9909
  exports.ApplyUmktRealtimemarketingResponse = ApplyUmktRealtimemarketingResponse;
9910
+ class ApplyUmktRtBatchmarketingRequest extends $tea.Model {
9911
+ constructor(map) {
9912
+ super(map);
9913
+ }
9914
+ static names() {
9915
+ return {
9916
+ authToken: 'auth_token',
9917
+ productInstanceId: 'product_instance_id',
9918
+ sceneStrategyId: 'scene_strategy_id',
9919
+ outSerialNo: 'out_serial_no',
9920
+ paramType: 'param_type',
9921
+ outInfo: 'out_info',
9922
+ customerDetails: 'customer_details',
9923
+ };
9924
+ }
9925
+ static types() {
9926
+ return {
9927
+ authToken: 'string',
9928
+ productInstanceId: 'string',
9929
+ sceneStrategyId: 'number',
9930
+ outSerialNo: 'string',
9931
+ paramType: 'string',
9932
+ outInfo: 'string',
9933
+ customerDetails: { 'type': 'array', 'itemType': CustomerDetail },
9934
+ };
9935
+ }
9936
+ }
9937
+ exports.ApplyUmktRtBatchmarketingRequest = ApplyUmktRtBatchmarketingRequest;
9938
+ class ApplyUmktRtBatchmarketingResponse extends $tea.Model {
9939
+ constructor(map) {
9940
+ super(map);
9941
+ }
9942
+ static names() {
9943
+ return {
9944
+ reqMsgId: 'req_msg_id',
9945
+ resultCode: 'result_code',
9946
+ resultMsg: 'result_msg',
9947
+ bizId: 'biz_id',
9948
+ };
9949
+ }
9950
+ static types() {
9951
+ return {
9952
+ reqMsgId: 'string',
9953
+ resultCode: 'string',
9954
+ resultMsg: 'string',
9955
+ bizId: 'string',
9956
+ };
9957
+ }
9958
+ }
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;
9887
10082
  class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
9888
10083
  constructor(map) {
9889
10084
  super(map);
@@ -10028,7 +10223,7 @@ class Client {
10028
10223
  req_msg_id: alipay_util_1.default.getNonce(),
10029
10224
  access_key: this._accessKeyId,
10030
10225
  base_sdk_version: "TeaSDK-2.0",
10031
- sdk_version: "1.16.33",
10226
+ sdk_version: "1.16.38",
10032
10227
  _prod_code: "RISKPLUS",
10033
10228
  _prod_channel: "undefined",
10034
10229
  };
@@ -12559,6 +12754,40 @@ class Client {
12559
12754
  tea_util_1.default.validateModel(request);
12560
12755
  return $tea.cast(await this.doRequest("1.0", "riskplus.umkt.realtimemarketing.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyUmktRealtimemarketingResponse({}));
12561
12756
  }
12757
+ /**
12758
+ * Description: 批量实时策略触达
12759
+ * Summary: 批量实时策略触达
12760
+ */
12761
+ async applyUmktRtBatchmarketing(request) {
12762
+ let runtime = new $Util.RuntimeOptions({});
12763
+ let headers = {};
12764
+ return await this.applyUmktRtBatchmarketingEx(request, headers, runtime);
12765
+ }
12766
+ /**
12767
+ * Description: 批量实时策略触达
12768
+ * Summary: 批量实时策略触达
12769
+ */
12770
+ async applyUmktRtBatchmarketingEx(request, headers, runtime) {
12771
+ tea_util_1.default.validateModel(request);
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({}));
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
+ }
12562
12791
  /**
12563
12792
  * Description: 创建HTTP PUT提交的文件上传
12564
12793
  * Summary: 文件上传创建