@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/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
|
};
|
|
@@ -3268,6 +3299,7 @@ export declare class RepayDubbridgeRepayWithholdRequest extends $tea.Model {
|
|
|
3268
3299
|
repayType: string;
|
|
3269
3300
|
orderNo: string;
|
|
3270
3301
|
validRepayAmount?: string;
|
|
3302
|
+
bankCardNo?: string;
|
|
3271
3303
|
static names(): {
|
|
3272
3304
|
[key: string]: string;
|
|
3273
3305
|
};
|
|
@@ -3338,6 +3370,7 @@ export declare class ApplyDubbridgeUsecreditRequest extends $tea.Model {
|
|
|
3338
3370
|
customType?: string;
|
|
3339
3371
|
riskData?: string;
|
|
3340
3372
|
loanInstCode?: string;
|
|
3373
|
+
bankCardNo?: string;
|
|
3341
3374
|
static names(): {
|
|
3342
3375
|
[key: string]: string;
|
|
3343
3376
|
};
|
|
@@ -3559,6 +3592,10 @@ export declare class QueryDubbridgeRepayResultResponse extends $tea.Model {
|
|
|
3559
3592
|
failReason?: string;
|
|
3560
3593
|
repayInfos?: RepayInfos[];
|
|
3561
3594
|
repayDate?: string;
|
|
3595
|
+
repayAmount?: number;
|
|
3596
|
+
repayPrincipal?: number;
|
|
3597
|
+
repayInterest?: number;
|
|
3598
|
+
repayPunish?: number;
|
|
3562
3599
|
static names(): {
|
|
3563
3600
|
[key: string]: string;
|
|
3564
3601
|
};
|
|
@@ -6267,6 +6304,40 @@ export declare class QueryUmktTenantActionplaninfoResponse extends $tea.Model {
|
|
|
6267
6304
|
[key: string]: any;
|
|
6268
6305
|
});
|
|
6269
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
|
+
}
|
|
6270
6341
|
export declare class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
|
|
6271
6342
|
authToken?: string;
|
|
6272
6343
|
apiCode: string;
|
|
@@ -8015,6 +8086,18 @@ export default class Client {
|
|
|
8015
8086
|
queryUmktTenantActionplaninfoEx(request: QueryUmktTenantActionplaninfoRequest, headers: {
|
|
8016
8087
|
[key: string]: string;
|
|
8017
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>;
|
|
8018
8101
|
/**
|
|
8019
8102
|
* Description: 创建HTTP PUT提交的文件上传
|
|
8020
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
|
}
|
|
@@ -5151,6 +5206,7 @@ class RepayDubbridgeRepayWithholdRequest extends $tea.Model {
|
|
|
5151
5206
|
repayType: 'repay_type',
|
|
5152
5207
|
orderNo: 'order_no',
|
|
5153
5208
|
validRepayAmount: 'valid_repay_amount',
|
|
5209
|
+
bankCardNo: 'bank_card_no',
|
|
5154
5210
|
};
|
|
5155
5211
|
}
|
|
5156
5212
|
static types() {
|
|
@@ -5161,6 +5217,7 @@ class RepayDubbridgeRepayWithholdRequest extends $tea.Model {
|
|
|
5161
5217
|
repayType: 'string',
|
|
5162
5218
|
orderNo: 'string',
|
|
5163
5219
|
validRepayAmount: 'string',
|
|
5220
|
+
bankCardNo: 'string',
|
|
5164
5221
|
};
|
|
5165
5222
|
}
|
|
5166
5223
|
}
|
|
@@ -5251,6 +5308,7 @@ class ApplyDubbridgeUsecreditRequest extends $tea.Model {
|
|
|
5251
5308
|
customType: 'custom_type',
|
|
5252
5309
|
riskData: 'risk_data',
|
|
5253
5310
|
loanInstCode: 'loan_inst_code',
|
|
5311
|
+
bankCardNo: 'bank_card_no',
|
|
5254
5312
|
};
|
|
5255
5313
|
}
|
|
5256
5314
|
static types() {
|
|
@@ -5269,6 +5327,7 @@ class ApplyDubbridgeUsecreditRequest extends $tea.Model {
|
|
|
5269
5327
|
customType: 'string',
|
|
5270
5328
|
riskData: 'string',
|
|
5271
5329
|
loanInstCode: 'string',
|
|
5330
|
+
bankCardNo: 'string',
|
|
5272
5331
|
};
|
|
5273
5332
|
}
|
|
5274
5333
|
}
|
|
@@ -5590,6 +5649,10 @@ class QueryDubbridgeRepayResultResponse extends $tea.Model {
|
|
|
5590
5649
|
failReason: 'fail_reason',
|
|
5591
5650
|
repayInfos: 'repay_infos',
|
|
5592
5651
|
repayDate: 'repay_date',
|
|
5652
|
+
repayAmount: 'repay_amount',
|
|
5653
|
+
repayPrincipal: 'repay_principal',
|
|
5654
|
+
repayInterest: 'repay_interest',
|
|
5655
|
+
repayPunish: 'repay_punish',
|
|
5593
5656
|
};
|
|
5594
5657
|
}
|
|
5595
5658
|
static types() {
|
|
@@ -5607,6 +5670,10 @@ class QueryDubbridgeRepayResultResponse extends $tea.Model {
|
|
|
5607
5670
|
failReason: 'string',
|
|
5608
5671
|
repayInfos: { 'type': 'array', 'itemType': RepayInfos },
|
|
5609
5672
|
repayDate: 'string',
|
|
5673
|
+
repayAmount: 'number',
|
|
5674
|
+
repayPrincipal: 'number',
|
|
5675
|
+
repayInterest: 'number',
|
|
5676
|
+
repayPunish: 'number',
|
|
5610
5677
|
};
|
|
5611
5678
|
}
|
|
5612
5679
|
}
|
|
@@ -9711,6 +9778,58 @@ class QueryUmktTenantActionplaninfoResponse extends $tea.Model {
|
|
|
9711
9778
|
}
|
|
9712
9779
|
}
|
|
9713
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;
|
|
9714
9833
|
class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
|
|
9715
9834
|
constructor(map) {
|
|
9716
9835
|
super(map);
|
|
@@ -9855,7 +9974,7 @@ class Client {
|
|
|
9855
9974
|
req_msg_id: alipay_util_1.default.getNonce(),
|
|
9856
9975
|
access_key: this._accessKeyId,
|
|
9857
9976
|
base_sdk_version: "TeaSDK-2.0",
|
|
9858
|
-
sdk_version: "1.16.
|
|
9977
|
+
sdk_version: "1.16.28",
|
|
9859
9978
|
_prod_code: "RISKPLUS",
|
|
9860
9979
|
_prod_channel: "undefined",
|
|
9861
9980
|
};
|
|
@@ -12352,6 +12471,23 @@ class Client {
|
|
|
12352
12471
|
tea_util_1.default.validateModel(request);
|
|
12353
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({}));
|
|
12354
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
|
+
}
|
|
12355
12491
|
/**
|
|
12356
12492
|
* Description: 创建HTTP PUT提交的文件上传
|
|
12357
12493
|
* Summary: 文件上传创建
|