@antchain/riskplus 1.16.25 → 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 +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/dist/client.d.ts
CHANGED
|
@@ -1017,6 +1017,36 @@ export declare class CompanyInfo extends $tea.Model {
|
|
|
1017
1017
|
[key: string]: any;
|
|
1018
1018
|
});
|
|
1019
1019
|
}
|
|
1020
|
+
export declare class AICallbackMessage extends $tea.Model {
|
|
1021
|
+
batchId?: string;
|
|
1022
|
+
tag: string;
|
|
1023
|
+
callId: string;
|
|
1024
|
+
templateId?: number;
|
|
1025
|
+
statusCode: number;
|
|
1026
|
+
statusDescription: string;
|
|
1027
|
+
importTime: string;
|
|
1028
|
+
callBeginTime: string;
|
|
1029
|
+
ringTime: number;
|
|
1030
|
+
answerTime: string;
|
|
1031
|
+
speakingDuration: number;
|
|
1032
|
+
hangupTime: string;
|
|
1033
|
+
speakingTurns: number;
|
|
1034
|
+
intentTag: string;
|
|
1035
|
+
intentDescription: string;
|
|
1036
|
+
individualTag: string;
|
|
1037
|
+
keywords: string;
|
|
1038
|
+
chatRecord?: string;
|
|
1039
|
+
properties: string;
|
|
1040
|
+
static names(): {
|
|
1041
|
+
[key: string]: string;
|
|
1042
|
+
};
|
|
1043
|
+
static types(): {
|
|
1044
|
+
[key: string]: any;
|
|
1045
|
+
};
|
|
1046
|
+
constructor(map?: {
|
|
1047
|
+
[key: string]: any;
|
|
1048
|
+
});
|
|
1049
|
+
}
|
|
1020
1050
|
export declare class EventResultSyncDetail extends $tea.Model {
|
|
1021
1051
|
eventId: string;
|
|
1022
1052
|
planId: string;
|
|
@@ -2461,6 +2491,7 @@ export declare class QueryDubbridgeRouterFundrouterResponse extends $tea.Model {
|
|
|
2461
2491
|
resultCode?: string;
|
|
2462
2492
|
resultMsg?: string;
|
|
2463
2493
|
fundCode?: string;
|
|
2494
|
+
abbreFundName?: string;
|
|
2464
2495
|
static names(): {
|
|
2465
2496
|
[key: string]: string;
|
|
2466
2497
|
};
|
|
@@ -6273,6 +6304,40 @@ export declare class QueryUmktTenantActionplaninfoResponse extends $tea.Model {
|
|
|
6273
6304
|
[key: string]: any;
|
|
6274
6305
|
});
|
|
6275
6306
|
}
|
|
6307
|
+
export declare class QueryUmktRobotcallRequest extends $tea.Model {
|
|
6308
|
+
authToken?: string;
|
|
6309
|
+
productInstanceId?: string;
|
|
6310
|
+
bizId: string;
|
|
6311
|
+
phoneNumber: string;
|
|
6312
|
+
templateType: string;
|
|
6313
|
+
sceneStrategyId: number;
|
|
6314
|
+
static names(): {
|
|
6315
|
+
[key: string]: string;
|
|
6316
|
+
};
|
|
6317
|
+
static types(): {
|
|
6318
|
+
[key: string]: any;
|
|
6319
|
+
};
|
|
6320
|
+
constructor(map?: {
|
|
6321
|
+
[key: string]: any;
|
|
6322
|
+
});
|
|
6323
|
+
}
|
|
6324
|
+
export declare class QueryUmktRobotcallResponse extends $tea.Model {
|
|
6325
|
+
reqMsgId?: string;
|
|
6326
|
+
resultCode?: string;
|
|
6327
|
+
resultMsg?: string;
|
|
6328
|
+
outInfo?: string;
|
|
6329
|
+
customerOutInfo?: string;
|
|
6330
|
+
callInfo?: AICallbackMessage[];
|
|
6331
|
+
static names(): {
|
|
6332
|
+
[key: string]: string;
|
|
6333
|
+
};
|
|
6334
|
+
static types(): {
|
|
6335
|
+
[key: string]: any;
|
|
6336
|
+
};
|
|
6337
|
+
constructor(map?: {
|
|
6338
|
+
[key: string]: any;
|
|
6339
|
+
});
|
|
6340
|
+
}
|
|
6276
6341
|
export declare class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
|
|
6277
6342
|
authToken?: string;
|
|
6278
6343
|
apiCode: string;
|
|
@@ -8021,6 +8086,18 @@ export default class Client {
|
|
|
8021
8086
|
queryUmktTenantActionplaninfoEx(request: QueryUmktTenantActionplaninfoRequest, headers: {
|
|
8022
8087
|
[key: string]: string;
|
|
8023
8088
|
}, runtime: $Util.RuntimeOptions): Promise<QueryUmktTenantActionplaninfoResponse>;
|
|
8089
|
+
/**
|
|
8090
|
+
* Description: 查询ai外呼任务详情
|
|
8091
|
+
* Summary: 查询ai外呼任务详情
|
|
8092
|
+
*/
|
|
8093
|
+
queryUmktRobotcall(request: QueryUmktRobotcallRequest): Promise<QueryUmktRobotcallResponse>;
|
|
8094
|
+
/**
|
|
8095
|
+
* Description: 查询ai外呼任务详情
|
|
8096
|
+
* Summary: 查询ai外呼任务详情
|
|
8097
|
+
*/
|
|
8098
|
+
queryUmktRobotcallEx(request: QueryUmktRobotcallRequest, headers: {
|
|
8099
|
+
[key: string]: string;
|
|
8100
|
+
}, runtime: $Util.RuntimeOptions): Promise<QueryUmktRobotcallResponse>;
|
|
8024
8101
|
/**
|
|
8025
8102
|
* Description: 创建HTTP PUT提交的文件上传
|
|
8026
8103
|
* Summary: 文件上传创建
|
package/dist/client.js
CHANGED
|
@@ -1665,6 +1665,59 @@ class CompanyInfo extends $tea.Model {
|
|
|
1665
1665
|
}
|
|
1666
1666
|
}
|
|
1667
1667
|
exports.CompanyInfo = CompanyInfo;
|
|
1668
|
+
// ai外呼回调详情
|
|
1669
|
+
class AICallbackMessage extends $tea.Model {
|
|
1670
|
+
constructor(map) {
|
|
1671
|
+
super(map);
|
|
1672
|
+
}
|
|
1673
|
+
static names() {
|
|
1674
|
+
return {
|
|
1675
|
+
batchId: 'batch_id',
|
|
1676
|
+
tag: 'tag',
|
|
1677
|
+
callId: 'call_id',
|
|
1678
|
+
templateId: 'template_id',
|
|
1679
|
+
statusCode: 'status_code',
|
|
1680
|
+
statusDescription: 'status_description',
|
|
1681
|
+
importTime: 'import_time',
|
|
1682
|
+
callBeginTime: 'call_begin_time',
|
|
1683
|
+
ringTime: 'ring_time',
|
|
1684
|
+
answerTime: 'answer_time',
|
|
1685
|
+
speakingDuration: 'speaking_duration',
|
|
1686
|
+
hangupTime: 'hangup_time',
|
|
1687
|
+
speakingTurns: 'speaking_turns',
|
|
1688
|
+
intentTag: 'intent_tag',
|
|
1689
|
+
intentDescription: 'intent_description',
|
|
1690
|
+
individualTag: 'individual_tag',
|
|
1691
|
+
keywords: 'keywords',
|
|
1692
|
+
chatRecord: 'chat_record',
|
|
1693
|
+
properties: 'properties',
|
|
1694
|
+
};
|
|
1695
|
+
}
|
|
1696
|
+
static types() {
|
|
1697
|
+
return {
|
|
1698
|
+
batchId: 'string',
|
|
1699
|
+
tag: 'string',
|
|
1700
|
+
callId: 'string',
|
|
1701
|
+
templateId: 'number',
|
|
1702
|
+
statusCode: 'number',
|
|
1703
|
+
statusDescription: 'string',
|
|
1704
|
+
importTime: 'string',
|
|
1705
|
+
callBeginTime: 'string',
|
|
1706
|
+
ringTime: 'number',
|
|
1707
|
+
answerTime: 'string',
|
|
1708
|
+
speakingDuration: 'number',
|
|
1709
|
+
hangupTime: 'string',
|
|
1710
|
+
speakingTurns: 'number',
|
|
1711
|
+
intentTag: 'string',
|
|
1712
|
+
intentDescription: 'string',
|
|
1713
|
+
individualTag: 'string',
|
|
1714
|
+
keywords: 'string',
|
|
1715
|
+
chatRecord: 'string',
|
|
1716
|
+
properties: 'string',
|
|
1717
|
+
};
|
|
1718
|
+
}
|
|
1719
|
+
}
|
|
1720
|
+
exports.AICallbackMessage = AICallbackMessage;
|
|
1668
1721
|
// 营销盾事件信息同步详情
|
|
1669
1722
|
class EventResultSyncDetail extends $tea.Model {
|
|
1670
1723
|
constructor(map) {
|
|
@@ -3899,6 +3952,7 @@ class QueryDubbridgeRouterFundrouterResponse extends $tea.Model {
|
|
|
3899
3952
|
resultCode: 'result_code',
|
|
3900
3953
|
resultMsg: 'result_msg',
|
|
3901
3954
|
fundCode: 'fund_code',
|
|
3955
|
+
abbreFundName: 'abbre_fund_name',
|
|
3902
3956
|
};
|
|
3903
3957
|
}
|
|
3904
3958
|
static types() {
|
|
@@ -3907,6 +3961,7 @@ class QueryDubbridgeRouterFundrouterResponse extends $tea.Model {
|
|
|
3907
3961
|
resultCode: 'string',
|
|
3908
3962
|
resultMsg: 'string',
|
|
3909
3963
|
fundCode: 'string',
|
|
3964
|
+
abbreFundName: 'string',
|
|
3910
3965
|
};
|
|
3911
3966
|
}
|
|
3912
3967
|
}
|
|
@@ -9723,6 +9778,58 @@ class QueryUmktTenantActionplaninfoResponse extends $tea.Model {
|
|
|
9723
9778
|
}
|
|
9724
9779
|
}
|
|
9725
9780
|
exports.QueryUmktTenantActionplaninfoResponse = QueryUmktTenantActionplaninfoResponse;
|
|
9781
|
+
class QueryUmktRobotcallRequest extends $tea.Model {
|
|
9782
|
+
constructor(map) {
|
|
9783
|
+
super(map);
|
|
9784
|
+
}
|
|
9785
|
+
static names() {
|
|
9786
|
+
return {
|
|
9787
|
+
authToken: 'auth_token',
|
|
9788
|
+
productInstanceId: 'product_instance_id',
|
|
9789
|
+
bizId: 'biz_id',
|
|
9790
|
+
phoneNumber: 'phone_number',
|
|
9791
|
+
templateType: 'template_type',
|
|
9792
|
+
sceneStrategyId: 'scene_strategy_id',
|
|
9793
|
+
};
|
|
9794
|
+
}
|
|
9795
|
+
static types() {
|
|
9796
|
+
return {
|
|
9797
|
+
authToken: 'string',
|
|
9798
|
+
productInstanceId: 'string',
|
|
9799
|
+
bizId: 'string',
|
|
9800
|
+
phoneNumber: 'string',
|
|
9801
|
+
templateType: 'string',
|
|
9802
|
+
sceneStrategyId: 'number',
|
|
9803
|
+
};
|
|
9804
|
+
}
|
|
9805
|
+
}
|
|
9806
|
+
exports.QueryUmktRobotcallRequest = QueryUmktRobotcallRequest;
|
|
9807
|
+
class QueryUmktRobotcallResponse extends $tea.Model {
|
|
9808
|
+
constructor(map) {
|
|
9809
|
+
super(map);
|
|
9810
|
+
}
|
|
9811
|
+
static names() {
|
|
9812
|
+
return {
|
|
9813
|
+
reqMsgId: 'req_msg_id',
|
|
9814
|
+
resultCode: 'result_code',
|
|
9815
|
+
resultMsg: 'result_msg',
|
|
9816
|
+
outInfo: 'out_info',
|
|
9817
|
+
customerOutInfo: 'customer_out_info',
|
|
9818
|
+
callInfo: 'call_info',
|
|
9819
|
+
};
|
|
9820
|
+
}
|
|
9821
|
+
static types() {
|
|
9822
|
+
return {
|
|
9823
|
+
reqMsgId: 'string',
|
|
9824
|
+
resultCode: 'string',
|
|
9825
|
+
resultMsg: 'string',
|
|
9826
|
+
outInfo: 'string',
|
|
9827
|
+
customerOutInfo: 'string',
|
|
9828
|
+
callInfo: { 'type': 'array', 'itemType': AICallbackMessage },
|
|
9829
|
+
};
|
|
9830
|
+
}
|
|
9831
|
+
}
|
|
9832
|
+
exports.QueryUmktRobotcallResponse = QueryUmktRobotcallResponse;
|
|
9726
9833
|
class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
|
|
9727
9834
|
constructor(map) {
|
|
9728
9835
|
super(map);
|
|
@@ -9867,7 +9974,7 @@ class Client {
|
|
|
9867
9974
|
req_msg_id: alipay_util_1.default.getNonce(),
|
|
9868
9975
|
access_key: this._accessKeyId,
|
|
9869
9976
|
base_sdk_version: "TeaSDK-2.0",
|
|
9870
|
-
sdk_version: "1.16.
|
|
9977
|
+
sdk_version: "1.16.28",
|
|
9871
9978
|
_prod_code: "RISKPLUS",
|
|
9872
9979
|
_prod_channel: "undefined",
|
|
9873
9980
|
};
|
|
@@ -12364,6 +12471,23 @@ class Client {
|
|
|
12364
12471
|
tea_util_1.default.validateModel(request);
|
|
12365
12472
|
return $tea.cast(await this.doRequest("1.0", "riskplus.umkt.tenant.actionplaninfo.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryUmktTenantActionplaninfoResponse({}));
|
|
12366
12473
|
}
|
|
12474
|
+
/**
|
|
12475
|
+
* Description: 查询ai外呼任务详情
|
|
12476
|
+
* Summary: 查询ai外呼任务详情
|
|
12477
|
+
*/
|
|
12478
|
+
async queryUmktRobotcall(request) {
|
|
12479
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
12480
|
+
let headers = {};
|
|
12481
|
+
return await this.queryUmktRobotcallEx(request, headers, runtime);
|
|
12482
|
+
}
|
|
12483
|
+
/**
|
|
12484
|
+
* Description: 查询ai外呼任务详情
|
|
12485
|
+
* Summary: 查询ai外呼任务详情
|
|
12486
|
+
*/
|
|
12487
|
+
async queryUmktRobotcallEx(request, headers, runtime) {
|
|
12488
|
+
tea_util_1.default.validateModel(request);
|
|
12489
|
+
return $tea.cast(await this.doRequest("1.0", "riskplus.umkt.robotcall.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryUmktRobotcallResponse({}));
|
|
12490
|
+
}
|
|
12367
12491
|
/**
|
|
12368
12492
|
* Description: 创建HTTP PUT提交的文件上传
|
|
12369
12493
|
* Summary: 文件上传创建
|