@antchain/riskplus 1.16.24 → 1.16.28
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 +83 -0
- package/dist/client.js +137 -1
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +220 -1
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -2597,6 +2597,99 @@ export class CompanyInfo extends $tea.Model {
|
|
|
2597
2597
|
}
|
|
2598
2598
|
}
|
|
2599
2599
|
|
|
2600
|
+
// ai外呼回调详情
|
|
2601
|
+
export class AICallbackMessage extends $tea.Model {
|
|
2602
|
+
// 批次号
|
|
2603
|
+
batchId?: string;
|
|
2604
|
+
// 用户标签
|
|
2605
|
+
tag: string;
|
|
2606
|
+
// 外呼id
|
|
2607
|
+
callId: string;
|
|
2608
|
+
// 外呼的话术模板Id
|
|
2609
|
+
templateId?: number;
|
|
2610
|
+
// 外呼状态编码
|
|
2611
|
+
statusCode: number;
|
|
2612
|
+
// 外呼状态描述
|
|
2613
|
+
statusDescription: string;
|
|
2614
|
+
// 导入时间
|
|
2615
|
+
importTime: string;
|
|
2616
|
+
// 开始通话时间
|
|
2617
|
+
callBeginTime: string;
|
|
2618
|
+
// 振铃时长, 单位毫秒
|
|
2619
|
+
ringTime: number;
|
|
2620
|
+
// 接通时间
|
|
2621
|
+
answerTime: string;
|
|
2622
|
+
// AI通话时长,单位s
|
|
2623
|
+
speakingDuration: number;
|
|
2624
|
+
// 挂断时间
|
|
2625
|
+
hangupTime: string;
|
|
2626
|
+
// 对话轮次
|
|
2627
|
+
speakingTurns: number;
|
|
2628
|
+
// 意向标签
|
|
2629
|
+
intentTag: string;
|
|
2630
|
+
// 意向说明
|
|
2631
|
+
intentDescription: string;
|
|
2632
|
+
// 个性标签
|
|
2633
|
+
individualTag: string;
|
|
2634
|
+
// 回复关键词
|
|
2635
|
+
keywords: string;
|
|
2636
|
+
// 对话录音
|
|
2637
|
+
chatRecord?: string;
|
|
2638
|
+
// 参数值
|
|
2639
|
+
properties: string;
|
|
2640
|
+
static names(): { [key: string]: string } {
|
|
2641
|
+
return {
|
|
2642
|
+
batchId: 'batch_id',
|
|
2643
|
+
tag: 'tag',
|
|
2644
|
+
callId: 'call_id',
|
|
2645
|
+
templateId: 'template_id',
|
|
2646
|
+
statusCode: 'status_code',
|
|
2647
|
+
statusDescription: 'status_description',
|
|
2648
|
+
importTime: 'import_time',
|
|
2649
|
+
callBeginTime: 'call_begin_time',
|
|
2650
|
+
ringTime: 'ring_time',
|
|
2651
|
+
answerTime: 'answer_time',
|
|
2652
|
+
speakingDuration: 'speaking_duration',
|
|
2653
|
+
hangupTime: 'hangup_time',
|
|
2654
|
+
speakingTurns: 'speaking_turns',
|
|
2655
|
+
intentTag: 'intent_tag',
|
|
2656
|
+
intentDescription: 'intent_description',
|
|
2657
|
+
individualTag: 'individual_tag',
|
|
2658
|
+
keywords: 'keywords',
|
|
2659
|
+
chatRecord: 'chat_record',
|
|
2660
|
+
properties: 'properties',
|
|
2661
|
+
};
|
|
2662
|
+
}
|
|
2663
|
+
|
|
2664
|
+
static types(): { [key: string]: any } {
|
|
2665
|
+
return {
|
|
2666
|
+
batchId: 'string',
|
|
2667
|
+
tag: 'string',
|
|
2668
|
+
callId: 'string',
|
|
2669
|
+
templateId: 'number',
|
|
2670
|
+
statusCode: 'number',
|
|
2671
|
+
statusDescription: 'string',
|
|
2672
|
+
importTime: 'string',
|
|
2673
|
+
callBeginTime: 'string',
|
|
2674
|
+
ringTime: 'number',
|
|
2675
|
+
answerTime: 'string',
|
|
2676
|
+
speakingDuration: 'number',
|
|
2677
|
+
hangupTime: 'string',
|
|
2678
|
+
speakingTurns: 'number',
|
|
2679
|
+
intentTag: 'string',
|
|
2680
|
+
intentDescription: 'string',
|
|
2681
|
+
individualTag: 'string',
|
|
2682
|
+
keywords: 'string',
|
|
2683
|
+
chatRecord: 'string',
|
|
2684
|
+
properties: 'string',
|
|
2685
|
+
};
|
|
2686
|
+
}
|
|
2687
|
+
|
|
2688
|
+
constructor(map?: { [key: string]: any }) {
|
|
2689
|
+
super(map);
|
|
2690
|
+
}
|
|
2691
|
+
}
|
|
2692
|
+
|
|
2600
2693
|
// 营销盾事件信息同步详情
|
|
2601
2694
|
export class EventResultSyncDetail extends $tea.Model {
|
|
2602
2695
|
// 事件唯一id(单个租户全局唯一)
|
|
@@ -5972,12 +6065,15 @@ export class QueryDubbridgeRouterFundrouterResponse extends $tea.Model {
|
|
|
5972
6065
|
resultMsg?: string;
|
|
5973
6066
|
// 资金方代码
|
|
5974
6067
|
fundCode?: string;
|
|
6068
|
+
// 资金方简称
|
|
6069
|
+
abbreFundName?: string;
|
|
5975
6070
|
static names(): { [key: string]: string } {
|
|
5976
6071
|
return {
|
|
5977
6072
|
reqMsgId: 'req_msg_id',
|
|
5978
6073
|
resultCode: 'result_code',
|
|
5979
6074
|
resultMsg: 'result_msg',
|
|
5980
6075
|
fundCode: 'fund_code',
|
|
6076
|
+
abbreFundName: 'abbre_fund_name',
|
|
5981
6077
|
};
|
|
5982
6078
|
}
|
|
5983
6079
|
|
|
@@ -5987,6 +6083,7 @@ export class QueryDubbridgeRouterFundrouterResponse extends $tea.Model {
|
|
|
5987
6083
|
resultCode: 'string',
|
|
5988
6084
|
resultMsg: 'string',
|
|
5989
6085
|
fundCode: 'string',
|
|
6086
|
+
abbreFundName: 'string',
|
|
5990
6087
|
};
|
|
5991
6088
|
}
|
|
5992
6089
|
|
|
@@ -7911,6 +8008,8 @@ export class RepayDubbridgeRepayWithholdRequest extends $tea.Model {
|
|
|
7911
8008
|
orderNo: string;
|
|
7912
8009
|
// 校验还款金额
|
|
7913
8010
|
validRepayAmount?: string;
|
|
8011
|
+
// 银行卡号
|
|
8012
|
+
bankCardNo?: string;
|
|
7914
8013
|
static names(): { [key: string]: string } {
|
|
7915
8014
|
return {
|
|
7916
8015
|
authToken: 'auth_token',
|
|
@@ -7919,6 +8018,7 @@ export class RepayDubbridgeRepayWithholdRequest extends $tea.Model {
|
|
|
7919
8018
|
repayType: 'repay_type',
|
|
7920
8019
|
orderNo: 'order_no',
|
|
7921
8020
|
validRepayAmount: 'valid_repay_amount',
|
|
8021
|
+
bankCardNo: 'bank_card_no',
|
|
7922
8022
|
};
|
|
7923
8023
|
}
|
|
7924
8024
|
|
|
@@ -7930,6 +8030,7 @@ export class RepayDubbridgeRepayWithholdRequest extends $tea.Model {
|
|
|
7930
8030
|
repayType: 'string',
|
|
7931
8031
|
orderNo: 'string',
|
|
7932
8032
|
validRepayAmount: 'string',
|
|
8033
|
+
bankCardNo: 'string',
|
|
7933
8034
|
};
|
|
7934
8035
|
}
|
|
7935
8036
|
|
|
@@ -8061,6 +8162,8 @@ export class ApplyDubbridgeUsecreditRequest extends $tea.Model {
|
|
|
8061
8162
|
riskData?: string;
|
|
8062
8163
|
// 资金源编码
|
|
8063
8164
|
loanInstCode?: string;
|
|
8165
|
+
// 银行卡号
|
|
8166
|
+
bankCardNo?: string;
|
|
8064
8167
|
static names(): { [key: string]: string } {
|
|
8065
8168
|
return {
|
|
8066
8169
|
authToken: 'auth_token',
|
|
@@ -8077,6 +8180,7 @@ export class ApplyDubbridgeUsecreditRequest extends $tea.Model {
|
|
|
8077
8180
|
customType: 'custom_type',
|
|
8078
8181
|
riskData: 'risk_data',
|
|
8079
8182
|
loanInstCode: 'loan_inst_code',
|
|
8183
|
+
bankCardNo: 'bank_card_no',
|
|
8080
8184
|
};
|
|
8081
8185
|
}
|
|
8082
8186
|
|
|
@@ -8096,6 +8200,7 @@ export class ApplyDubbridgeUsecreditRequest extends $tea.Model {
|
|
|
8096
8200
|
customType: 'string',
|
|
8097
8201
|
riskData: 'string',
|
|
8098
8202
|
loanInstCode: 'string',
|
|
8203
|
+
bankCardNo: 'string',
|
|
8099
8204
|
};
|
|
8100
8205
|
}
|
|
8101
8206
|
|
|
@@ -8587,6 +8692,14 @@ export class QueryDubbridgeRepayResultResponse extends $tea.Model {
|
|
|
8587
8692
|
repayInfos?: RepayInfos[];
|
|
8588
8693
|
// 还款日期
|
|
8589
8694
|
repayDate?: string;
|
|
8695
|
+
// 实还总额
|
|
8696
|
+
repayAmount?: number;
|
|
8697
|
+
// 实还总本金
|
|
8698
|
+
repayPrincipal?: number;
|
|
8699
|
+
// 实还总利息
|
|
8700
|
+
repayInterest?: number;
|
|
8701
|
+
// 实收总罚息
|
|
8702
|
+
repayPunish?: number;
|
|
8590
8703
|
static names(): { [key: string]: string } {
|
|
8591
8704
|
return {
|
|
8592
8705
|
reqMsgId: 'req_msg_id',
|
|
@@ -8602,6 +8715,10 @@ export class QueryDubbridgeRepayResultResponse extends $tea.Model {
|
|
|
8602
8715
|
failReason: 'fail_reason',
|
|
8603
8716
|
repayInfos: 'repay_infos',
|
|
8604
8717
|
repayDate: 'repay_date',
|
|
8718
|
+
repayAmount: 'repay_amount',
|
|
8719
|
+
repayPrincipal: 'repay_principal',
|
|
8720
|
+
repayInterest: 'repay_interest',
|
|
8721
|
+
repayPunish: 'repay_punish',
|
|
8605
8722
|
};
|
|
8606
8723
|
}
|
|
8607
8724
|
|
|
@@ -8620,6 +8737,10 @@ export class QueryDubbridgeRepayResultResponse extends $tea.Model {
|
|
|
8620
8737
|
failReason: 'string',
|
|
8621
8738
|
repayInfos: { 'type': 'array', 'itemType': RepayInfos },
|
|
8622
8739
|
repayDate: 'string',
|
|
8740
|
+
repayAmount: 'number',
|
|
8741
|
+
repayPrincipal: 'number',
|
|
8742
|
+
repayInterest: 'number',
|
|
8743
|
+
repayPunish: 'number',
|
|
8623
8744
|
};
|
|
8624
8745
|
}
|
|
8625
8746
|
|
|
@@ -14807,6 +14928,85 @@ export class QueryUmktTenantActionplaninfoResponse extends $tea.Model {
|
|
|
14807
14928
|
}
|
|
14808
14929
|
}
|
|
14809
14930
|
|
|
14931
|
+
export class QueryUmktRobotcallRequest extends $tea.Model {
|
|
14932
|
+
// OAuth模式下的授权token
|
|
14933
|
+
authToken?: string;
|
|
14934
|
+
productInstanceId?: string;
|
|
14935
|
+
// 批次号
|
|
14936
|
+
bizId: string;
|
|
14937
|
+
// 手机号
|
|
14938
|
+
phoneNumber: string;
|
|
14939
|
+
// 手机号类型
|
|
14940
|
+
templateType: string;
|
|
14941
|
+
// 场景策略id
|
|
14942
|
+
sceneStrategyId: number;
|
|
14943
|
+
static names(): { [key: string]: string } {
|
|
14944
|
+
return {
|
|
14945
|
+
authToken: 'auth_token',
|
|
14946
|
+
productInstanceId: 'product_instance_id',
|
|
14947
|
+
bizId: 'biz_id',
|
|
14948
|
+
phoneNumber: 'phone_number',
|
|
14949
|
+
templateType: 'template_type',
|
|
14950
|
+
sceneStrategyId: 'scene_strategy_id',
|
|
14951
|
+
};
|
|
14952
|
+
}
|
|
14953
|
+
|
|
14954
|
+
static types(): { [key: string]: any } {
|
|
14955
|
+
return {
|
|
14956
|
+
authToken: 'string',
|
|
14957
|
+
productInstanceId: 'string',
|
|
14958
|
+
bizId: 'string',
|
|
14959
|
+
phoneNumber: 'string',
|
|
14960
|
+
templateType: 'string',
|
|
14961
|
+
sceneStrategyId: 'number',
|
|
14962
|
+
};
|
|
14963
|
+
}
|
|
14964
|
+
|
|
14965
|
+
constructor(map?: { [key: string]: any }) {
|
|
14966
|
+
super(map);
|
|
14967
|
+
}
|
|
14968
|
+
}
|
|
14969
|
+
|
|
14970
|
+
export class QueryUmktRobotcallResponse extends $tea.Model {
|
|
14971
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
14972
|
+
reqMsgId?: string;
|
|
14973
|
+
// 结果码,一般OK表示调用成功
|
|
14974
|
+
resultCode?: string;
|
|
14975
|
+
// 异常信息的文本描述
|
|
14976
|
+
resultMsg?: string;
|
|
14977
|
+
// 请求时的透传字段
|
|
14978
|
+
outInfo?: string;
|
|
14979
|
+
// 请求时每个手机号的透传字段
|
|
14980
|
+
customerOutInfo?: string;
|
|
14981
|
+
// 外呼记录列表
|
|
14982
|
+
callInfo?: AICallbackMessage[];
|
|
14983
|
+
static names(): { [key: string]: string } {
|
|
14984
|
+
return {
|
|
14985
|
+
reqMsgId: 'req_msg_id',
|
|
14986
|
+
resultCode: 'result_code',
|
|
14987
|
+
resultMsg: 'result_msg',
|
|
14988
|
+
outInfo: 'out_info',
|
|
14989
|
+
customerOutInfo: 'customer_out_info',
|
|
14990
|
+
callInfo: 'call_info',
|
|
14991
|
+
};
|
|
14992
|
+
}
|
|
14993
|
+
|
|
14994
|
+
static types(): { [key: string]: any } {
|
|
14995
|
+
return {
|
|
14996
|
+
reqMsgId: 'string',
|
|
14997
|
+
resultCode: 'string',
|
|
14998
|
+
resultMsg: 'string',
|
|
14999
|
+
outInfo: 'string',
|
|
15000
|
+
customerOutInfo: 'string',
|
|
15001
|
+
callInfo: { 'type': 'array', 'itemType': AICallbackMessage },
|
|
15002
|
+
};
|
|
15003
|
+
}
|
|
15004
|
+
|
|
15005
|
+
constructor(map?: { [key: string]: any }) {
|
|
15006
|
+
super(map);
|
|
15007
|
+
}
|
|
15008
|
+
}
|
|
15009
|
+
|
|
14810
15010
|
export class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
|
|
14811
15011
|
// OAuth模式下的授权token
|
|
14812
15012
|
authToken?: string;
|
|
@@ -15008,7 +15208,7 @@ export default class Client {
|
|
|
15008
15208
|
req_msg_id: AntchainUtil.getNonce(),
|
|
15009
15209
|
access_key: this._accessKeyId,
|
|
15010
15210
|
base_sdk_version: "TeaSDK-2.0",
|
|
15011
|
-
sdk_version: "1.16.
|
|
15211
|
+
sdk_version: "1.16.28",
|
|
15012
15212
|
_prod_code: "RISKPLUS",
|
|
15013
15213
|
_prod_channel: "undefined",
|
|
15014
15214
|
};
|
|
@@ -17804,6 +18004,25 @@ export default class Client {
|
|
|
17804
18004
|
return $tea.cast<QueryUmktTenantActionplaninfoResponse>(await this.doRequest("1.0", "riskplus.umkt.tenant.actionplaninfo.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryUmktTenantActionplaninfoResponse({}));
|
|
17805
18005
|
}
|
|
17806
18006
|
|
|
18007
|
+
/**
|
|
18008
|
+
* Description: 查询ai外呼任务详情
|
|
18009
|
+
* Summary: 查询ai外呼任务详情
|
|
18010
|
+
*/
|
|
18011
|
+
async queryUmktRobotcall(request: QueryUmktRobotcallRequest): Promise<QueryUmktRobotcallResponse> {
|
|
18012
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
18013
|
+
let headers : {[key: string ]: string} = { };
|
|
18014
|
+
return await this.queryUmktRobotcallEx(request, headers, runtime);
|
|
18015
|
+
}
|
|
18016
|
+
|
|
18017
|
+
/**
|
|
18018
|
+
* Description: 查询ai外呼任务详情
|
|
18019
|
+
* Summary: 查询ai外呼任务详情
|
|
18020
|
+
*/
|
|
18021
|
+
async queryUmktRobotcallEx(request: QueryUmktRobotcallRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryUmktRobotcallResponse> {
|
|
18022
|
+
Util.validateModel(request);
|
|
18023
|
+
return $tea.cast<QueryUmktRobotcallResponse>(await this.doRequest("1.0", "riskplus.umkt.robotcall.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryUmktRobotcallResponse({}));
|
|
18024
|
+
}
|
|
18025
|
+
|
|
17807
18026
|
/**
|
|
17808
18027
|
* Description: 创建HTTP PUT提交的文件上传
|
|
17809
18028
|
* Summary: 文件上传创建
|