@antchain/riskplus 1.16.25 → 1.16.29
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 +77 -0
- package/dist/client.js +125 -1
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +196 -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
|
|
|
@@ -14831,6 +14928,85 @@ export class QueryUmktTenantActionplaninfoResponse extends $tea.Model {
|
|
|
14831
14928
|
}
|
|
14832
14929
|
}
|
|
14833
14930
|
|
|
14931
|
+
export class QueryUmktRobotcallDetailRequest 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 QueryUmktRobotcallDetailResponse 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
|
+
|
|
14834
15010
|
export class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
|
|
14835
15011
|
// OAuth模式下的授权token
|
|
14836
15012
|
authToken?: string;
|
|
@@ -15032,7 +15208,7 @@ export default class Client {
|
|
|
15032
15208
|
req_msg_id: AntchainUtil.getNonce(),
|
|
15033
15209
|
access_key: this._accessKeyId,
|
|
15034
15210
|
base_sdk_version: "TeaSDK-2.0",
|
|
15035
|
-
sdk_version: "1.16.
|
|
15211
|
+
sdk_version: "1.16.29",
|
|
15036
15212
|
_prod_code: "RISKPLUS",
|
|
15037
15213
|
_prod_channel: "undefined",
|
|
15038
15214
|
};
|
|
@@ -17828,6 +18004,25 @@ export default class Client {
|
|
|
17828
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({}));
|
|
17829
18005
|
}
|
|
17830
18006
|
|
|
18007
|
+
/**
|
|
18008
|
+
* Description: 查询ai外呼任务详情
|
|
18009
|
+
* Summary: 查询ai外呼任务详情
|
|
18010
|
+
*/
|
|
18011
|
+
async queryUmktRobotcallDetail(request: QueryUmktRobotcallDetailRequest): Promise<QueryUmktRobotcallDetailResponse> {
|
|
18012
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
18013
|
+
let headers : {[key: string ]: string} = { };
|
|
18014
|
+
return await this.queryUmktRobotcallDetailEx(request, headers, runtime);
|
|
18015
|
+
}
|
|
18016
|
+
|
|
18017
|
+
/**
|
|
18018
|
+
* Description: 查询ai外呼任务详情
|
|
18019
|
+
* Summary: 查询ai外呼任务详情
|
|
18020
|
+
*/
|
|
18021
|
+
async queryUmktRobotcallDetailEx(request: QueryUmktRobotcallDetailRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryUmktRobotcallDetailResponse> {
|
|
18022
|
+
Util.validateModel(request);
|
|
18023
|
+
return $tea.cast<QueryUmktRobotcallDetailResponse>(await this.doRequest("1.0", "riskplus.umkt.robotcall.detail.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryUmktRobotcallDetailResponse({}));
|
|
18024
|
+
}
|
|
18025
|
+
|
|
17831
18026
|
/**
|
|
17832
18027
|
* Description: 创建HTTP PUT提交的文件上传
|
|
17833
18028
|
* Summary: 文件上传创建
|