@antchain/riskplus 1.25.4 → 1.26.3
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 +94 -3
- package/dist/client.js +142 -6
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +202 -9
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -5705,6 +5705,8 @@ export class NotifyBenefithubRiskLoginRequest extends $tea.Model {
|
|
|
5705
5705
|
mobile: string;
|
|
5706
5706
|
// 产品code必填,后续多产品时可以区分
|
|
5707
5707
|
productCode?: string;
|
|
5708
|
+
// 场景配置信息字符串,用于透传
|
|
5709
|
+
sceneConfig?: string;
|
|
5708
5710
|
static names(): { [key: string]: string } {
|
|
5709
5711
|
return {
|
|
5710
5712
|
authToken: 'auth_token',
|
|
@@ -5713,6 +5715,7 @@ export class NotifyBenefithubRiskLoginRequest extends $tea.Model {
|
|
|
5713
5715
|
userUniqueId: 'user_unique_id',
|
|
5714
5716
|
mobile: 'mobile',
|
|
5715
5717
|
productCode: 'product_code',
|
|
5718
|
+
sceneConfig: 'scene_config',
|
|
5716
5719
|
};
|
|
5717
5720
|
}
|
|
5718
5721
|
|
|
@@ -5724,6 +5727,7 @@ export class NotifyBenefithubRiskLoginRequest extends $tea.Model {
|
|
|
5724
5727
|
userUniqueId: 'string',
|
|
5725
5728
|
mobile: 'string',
|
|
5726
5729
|
productCode: 'string',
|
|
5730
|
+
sceneConfig: 'string',
|
|
5727
5731
|
};
|
|
5728
5732
|
}
|
|
5729
5733
|
|
|
@@ -5900,6 +5904,74 @@ export class QueryCreditshieldProductCallbackResponse extends $tea.Model {
|
|
|
5900
5904
|
}
|
|
5901
5905
|
}
|
|
5902
5906
|
|
|
5907
|
+
export class QueryCreditshieldProductIvrfcRequest extends $tea.Model {
|
|
5908
|
+
// OAuth模式下的授权token
|
|
5909
|
+
authToken?: string;
|
|
5910
|
+
productInstanceId?: string;
|
|
5911
|
+
// 1.信息查询 2.债务人判断
|
|
5912
|
+
queryCode: string;
|
|
5913
|
+
// 查询信息Map集合
|
|
5914
|
+
queryInfos?: QueryInfo[];
|
|
5915
|
+
static names(): { [key: string]: string } {
|
|
5916
|
+
return {
|
|
5917
|
+
authToken: 'auth_token',
|
|
5918
|
+
productInstanceId: 'product_instance_id',
|
|
5919
|
+
queryCode: 'query_code',
|
|
5920
|
+
queryInfos: 'query_infos',
|
|
5921
|
+
};
|
|
5922
|
+
}
|
|
5923
|
+
|
|
5924
|
+
static types(): { [key: string]: any } {
|
|
5925
|
+
return {
|
|
5926
|
+
authToken: 'string',
|
|
5927
|
+
productInstanceId: 'string',
|
|
5928
|
+
queryCode: 'string',
|
|
5929
|
+
queryInfos: { 'type': 'array', 'itemType': QueryInfo },
|
|
5930
|
+
};
|
|
5931
|
+
}
|
|
5932
|
+
|
|
5933
|
+
constructor(map?: { [key: string]: any }) {
|
|
5934
|
+
super(map);
|
|
5935
|
+
}
|
|
5936
|
+
}
|
|
5937
|
+
|
|
5938
|
+
export class QueryCreditshieldProductIvrfcResponse extends $tea.Model {
|
|
5939
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
5940
|
+
reqMsgId?: string;
|
|
5941
|
+
// 结果码,一般OK表示调用成功
|
|
5942
|
+
resultCode?: string;
|
|
5943
|
+
// 异常信息的文本描述
|
|
5944
|
+
resultMsg?: string;
|
|
5945
|
+
//
|
|
5946
|
+
// 接口请求是否成功
|
|
5947
|
+
success?: boolean;
|
|
5948
|
+
// 查询结果
|
|
5949
|
+
queryResult?: string;
|
|
5950
|
+
static names(): { [key: string]: string } {
|
|
5951
|
+
return {
|
|
5952
|
+
reqMsgId: 'req_msg_id',
|
|
5953
|
+
resultCode: 'result_code',
|
|
5954
|
+
resultMsg: 'result_msg',
|
|
5955
|
+
success: 'success',
|
|
5956
|
+
queryResult: 'query_result',
|
|
5957
|
+
};
|
|
5958
|
+
}
|
|
5959
|
+
|
|
5960
|
+
static types(): { [key: string]: any } {
|
|
5961
|
+
return {
|
|
5962
|
+
reqMsgId: 'string',
|
|
5963
|
+
resultCode: 'string',
|
|
5964
|
+
resultMsg: 'string',
|
|
5965
|
+
success: 'boolean',
|
|
5966
|
+
queryResult: 'string',
|
|
5967
|
+
};
|
|
5968
|
+
}
|
|
5969
|
+
|
|
5970
|
+
constructor(map?: { [key: string]: any }) {
|
|
5971
|
+
super(map);
|
|
5972
|
+
}
|
|
5973
|
+
}
|
|
5974
|
+
|
|
5903
5975
|
export class QuerySecurityPolicyRequest extends $tea.Model {
|
|
5904
5976
|
// OAuth模式下的授权token
|
|
5905
5977
|
authToken?: string;
|
|
@@ -11853,10 +11925,12 @@ export class QueryDubbridgeInstallmentCreditamtRequest extends $tea.Model {
|
|
|
11853
11925
|
mobile: string;
|
|
11854
11926
|
// 项目编号
|
|
11855
11927
|
projectCode: string;
|
|
11856
|
-
//
|
|
11857
|
-
|
|
11928
|
+
// 资产方购物订单号,如二轮车/摩托车订单号
|
|
11929
|
+
bizOrderNo?: string;
|
|
11858
11930
|
// 身份证号
|
|
11859
11931
|
cardNo?: string;
|
|
11932
|
+
// 交易金额,单位:元,如199.88(用于筛选额度充足的机构)
|
|
11933
|
+
tradeAmount?: string;
|
|
11860
11934
|
// 客户姓名
|
|
11861
11935
|
customerName?: string;
|
|
11862
11936
|
// 导流平台
|
|
@@ -11878,8 +11952,9 @@ export class QueryDubbridgeInstallmentCreditamtRequest extends $tea.Model {
|
|
|
11878
11952
|
openId: 'open_id',
|
|
11879
11953
|
mobile: 'mobile',
|
|
11880
11954
|
projectCode: 'project_code',
|
|
11881
|
-
|
|
11955
|
+
bizOrderNo: 'biz_order_no',
|
|
11882
11956
|
cardNo: 'card_no',
|
|
11957
|
+
tradeAmount: 'trade_amount',
|
|
11883
11958
|
customerName: 'customer_name',
|
|
11884
11959
|
trafficPlatform: 'traffic_platform',
|
|
11885
11960
|
trafficSourceName: 'traffic_source_name',
|
|
@@ -11898,8 +11973,9 @@ export class QueryDubbridgeInstallmentCreditamtRequest extends $tea.Model {
|
|
|
11898
11973
|
openId: 'string',
|
|
11899
11974
|
mobile: 'string',
|
|
11900
11975
|
projectCode: 'string',
|
|
11901
|
-
|
|
11976
|
+
bizOrderNo: 'string',
|
|
11902
11977
|
cardNo: 'string',
|
|
11978
|
+
tradeAmount: 'string',
|
|
11903
11979
|
customerName: 'string',
|
|
11904
11980
|
trafficPlatform: 'string',
|
|
11905
11981
|
trafficSourceName: 'string',
|
|
@@ -14779,7 +14855,7 @@ export class UploadQmpOfflinehostplanResponse extends $tea.Model {
|
|
|
14779
14855
|
// 异常信息的文本描述
|
|
14780
14856
|
resultMsg?: string;
|
|
14781
14857
|
// 导入id,可以用该id来查询分层结果
|
|
14782
|
-
importId?:
|
|
14858
|
+
importId?: number;
|
|
14783
14859
|
static names(): { [key: string]: string } {
|
|
14784
14860
|
return {
|
|
14785
14861
|
reqMsgId: 'req_msg_id',
|
|
@@ -14794,7 +14870,7 @@ export class UploadQmpOfflinehostplanResponse extends $tea.Model {
|
|
|
14794
14870
|
reqMsgId: 'string',
|
|
14795
14871
|
resultCode: 'string',
|
|
14796
14872
|
resultMsg: 'string',
|
|
14797
|
-
importId: '
|
|
14873
|
+
importId: 'number',
|
|
14798
14874
|
};
|
|
14799
14875
|
}
|
|
14800
14876
|
|
|
@@ -14808,7 +14884,7 @@ export class QueryQmpOfflinehostplanDecisionresultRequest extends $tea.Model {
|
|
|
14808
14884
|
authToken?: string;
|
|
14809
14885
|
productInstanceId?: string;
|
|
14810
14886
|
// 文件上传时返回的导入id
|
|
14811
|
-
importId:
|
|
14887
|
+
importId: number;
|
|
14812
14888
|
static names(): { [key: string]: string } {
|
|
14813
14889
|
return {
|
|
14814
14890
|
authToken: 'auth_token',
|
|
@@ -14821,7 +14897,7 @@ export class QueryQmpOfflinehostplanDecisionresultRequest extends $tea.Model {
|
|
|
14821
14897
|
return {
|
|
14822
14898
|
authToken: 'string',
|
|
14823
14899
|
productInstanceId: 'string',
|
|
14824
|
-
importId: '
|
|
14900
|
+
importId: 'number',
|
|
14825
14901
|
};
|
|
14826
14902
|
}
|
|
14827
14903
|
|
|
@@ -14847,6 +14923,10 @@ export class QueryQmpOfflinehostplanDecisionresultResponse extends $tea.Model {
|
|
|
14847
14923
|
decisionNum?: number;
|
|
14848
14924
|
// 分层结果的oss文件路径
|
|
14849
14925
|
fileUrl?: string;
|
|
14926
|
+
// 触达确认状态.Y/N,已确认,未确认,当前计划无触达则为空
|
|
14927
|
+
actionConfirmStatus?: string;
|
|
14928
|
+
// 触达时间
|
|
14929
|
+
actionTime?: string;
|
|
14850
14930
|
static names(): { [key: string]: string } {
|
|
14851
14931
|
return {
|
|
14852
14932
|
reqMsgId: 'req_msg_id',
|
|
@@ -14857,6 +14937,8 @@ export class QueryQmpOfflinehostplanDecisionresultResponse extends $tea.Model {
|
|
|
14857
14937
|
totalNum: 'total_num',
|
|
14858
14938
|
decisionNum: 'decision_num',
|
|
14859
14939
|
fileUrl: 'file_url',
|
|
14940
|
+
actionConfirmStatus: 'action_confirm_status',
|
|
14941
|
+
actionTime: 'action_time',
|
|
14860
14942
|
};
|
|
14861
14943
|
}
|
|
14862
14944
|
|
|
@@ -14870,6 +14952,8 @@ export class QueryQmpOfflinehostplanDecisionresultResponse extends $tea.Model {
|
|
|
14870
14952
|
totalNum: 'number',
|
|
14871
14953
|
decisionNum: 'number',
|
|
14872
14954
|
fileUrl: 'string',
|
|
14955
|
+
actionConfirmStatus: 'string',
|
|
14956
|
+
actionTime: 'string',
|
|
14873
14957
|
};
|
|
14874
14958
|
}
|
|
14875
14959
|
|
|
@@ -24304,6 +24388,77 @@ export class UploadUmktOfflineImportrecordResponse extends $tea.Model {
|
|
|
24304
24388
|
}
|
|
24305
24389
|
}
|
|
24306
24390
|
|
|
24391
|
+
export class DownloadUmktOfflineCampaignRequest extends $tea.Model {
|
|
24392
|
+
// OAuth模式下的授权token
|
|
24393
|
+
authToken?: string;
|
|
24394
|
+
productInstanceId?: string;
|
|
24395
|
+
// 圈投计划id
|
|
24396
|
+
campaignId: number;
|
|
24397
|
+
// 节点id
|
|
24398
|
+
nodeId: string;
|
|
24399
|
+
// 关联圈客计划id
|
|
24400
|
+
decisionPlanId: number;
|
|
24401
|
+
// 任务id
|
|
24402
|
+
taskId: string;
|
|
24403
|
+
static names(): { [key: string]: string } {
|
|
24404
|
+
return {
|
|
24405
|
+
authToken: 'auth_token',
|
|
24406
|
+
productInstanceId: 'product_instance_id',
|
|
24407
|
+
campaignId: 'campaign_id',
|
|
24408
|
+
nodeId: 'node_id',
|
|
24409
|
+
decisionPlanId: 'decision_plan_id',
|
|
24410
|
+
taskId: 'task_id',
|
|
24411
|
+
};
|
|
24412
|
+
}
|
|
24413
|
+
|
|
24414
|
+
static types(): { [key: string]: any } {
|
|
24415
|
+
return {
|
|
24416
|
+
authToken: 'string',
|
|
24417
|
+
productInstanceId: 'string',
|
|
24418
|
+
campaignId: 'number',
|
|
24419
|
+
nodeId: 'string',
|
|
24420
|
+
decisionPlanId: 'number',
|
|
24421
|
+
taskId: 'string',
|
|
24422
|
+
};
|
|
24423
|
+
}
|
|
24424
|
+
|
|
24425
|
+
constructor(map?: { [key: string]: any }) {
|
|
24426
|
+
super(map);
|
|
24427
|
+
}
|
|
24428
|
+
}
|
|
24429
|
+
|
|
24430
|
+
export class DownloadUmktOfflineCampaignResponse extends $tea.Model {
|
|
24431
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
24432
|
+
reqMsgId?: string;
|
|
24433
|
+
// 结果码,一般OK表示调用成功
|
|
24434
|
+
resultCode?: string;
|
|
24435
|
+
// 异常信息的文本描述
|
|
24436
|
+
resultMsg?: string;
|
|
24437
|
+
// 文件链接url
|
|
24438
|
+
fileUrl?: string;
|
|
24439
|
+
static names(): { [key: string]: string } {
|
|
24440
|
+
return {
|
|
24441
|
+
reqMsgId: 'req_msg_id',
|
|
24442
|
+
resultCode: 'result_code',
|
|
24443
|
+
resultMsg: 'result_msg',
|
|
24444
|
+
fileUrl: 'file_url',
|
|
24445
|
+
};
|
|
24446
|
+
}
|
|
24447
|
+
|
|
24448
|
+
static types(): { [key: string]: any } {
|
|
24449
|
+
return {
|
|
24450
|
+
reqMsgId: 'string',
|
|
24451
|
+
resultCode: 'string',
|
|
24452
|
+
resultMsg: 'string',
|
|
24453
|
+
fileUrl: 'string',
|
|
24454
|
+
};
|
|
24455
|
+
}
|
|
24456
|
+
|
|
24457
|
+
constructor(map?: { [key: string]: any }) {
|
|
24458
|
+
super(map);
|
|
24459
|
+
}
|
|
24460
|
+
}
|
|
24461
|
+
|
|
24307
24462
|
export class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
|
|
24308
24463
|
// OAuth模式下的授权token
|
|
24309
24464
|
authToken?: string;
|
|
@@ -24505,7 +24660,7 @@ export default class Client {
|
|
|
24505
24660
|
req_msg_id: AntchainUtil.getNonce(),
|
|
24506
24661
|
access_key: this._accessKeyId,
|
|
24507
24662
|
base_sdk_version: "TeaSDK-2.0",
|
|
24508
|
-
sdk_version: "1.
|
|
24663
|
+
sdk_version: "1.26.3",
|
|
24509
24664
|
_prod_code: "RISKPLUS",
|
|
24510
24665
|
_prod_channel: "undefined",
|
|
24511
24666
|
};
|
|
@@ -24629,6 +24784,25 @@ export default class Client {
|
|
|
24629
24784
|
return $tea.cast<QueryCreditshieldProductCallbackResponse>(await this.doRequest("1.0", "riskplus.creditshield.product.callback.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryCreditshieldProductCallbackResponse({}));
|
|
24630
24785
|
}
|
|
24631
24786
|
|
|
24787
|
+
/**
|
|
24788
|
+
* Description: ivr函数计算调用
|
|
24789
|
+
* Summary: ivr函数计算调用
|
|
24790
|
+
*/
|
|
24791
|
+
async queryCreditshieldProductIvrfc(request: QueryCreditshieldProductIvrfcRequest): Promise<QueryCreditshieldProductIvrfcResponse> {
|
|
24792
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
24793
|
+
let headers : {[key: string ]: string} = { };
|
|
24794
|
+
return await this.queryCreditshieldProductIvrfcEx(request, headers, runtime);
|
|
24795
|
+
}
|
|
24796
|
+
|
|
24797
|
+
/**
|
|
24798
|
+
* Description: ivr函数计算调用
|
|
24799
|
+
* Summary: ivr函数计算调用
|
|
24800
|
+
*/
|
|
24801
|
+
async queryCreditshieldProductIvrfcEx(request: QueryCreditshieldProductIvrfcRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryCreditshieldProductIvrfcResponse> {
|
|
24802
|
+
Util.validateModel(request);
|
|
24803
|
+
return $tea.cast<QueryCreditshieldProductIvrfcResponse>(await this.doRequest("1.0", "riskplus.creditshield.product.ivrfc.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryCreditshieldProductIvrfcResponse({}));
|
|
24804
|
+
}
|
|
24805
|
+
|
|
24632
24806
|
/**
|
|
24633
24807
|
* Description: 风控云风险咨询接口
|
|
24634
24808
|
* Summary: 风控云风险咨询接口
|
|
@@ -29229,6 +29403,25 @@ export default class Client {
|
|
|
29229
29403
|
return $tea.cast<UploadUmktOfflineImportrecordResponse>(await this.doRequest("1.0", "riskplus.umkt.offline.importrecord.upload", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new UploadUmktOfflineImportrecordResponse({}));
|
|
29230
29404
|
}
|
|
29231
29405
|
|
|
29406
|
+
/**
|
|
29407
|
+
* Description: 圈投一体圈客结果文件url获取
|
|
29408
|
+
* Summary: 圈投一体圈客结果文件url获取
|
|
29409
|
+
*/
|
|
29410
|
+
async downloadUmktOfflineCampaign(request: DownloadUmktOfflineCampaignRequest): Promise<DownloadUmktOfflineCampaignResponse> {
|
|
29411
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
29412
|
+
let headers : {[key: string ]: string} = { };
|
|
29413
|
+
return await this.downloadUmktOfflineCampaignEx(request, headers, runtime);
|
|
29414
|
+
}
|
|
29415
|
+
|
|
29416
|
+
/**
|
|
29417
|
+
* Description: 圈投一体圈客结果文件url获取
|
|
29418
|
+
* Summary: 圈投一体圈客结果文件url获取
|
|
29419
|
+
*/
|
|
29420
|
+
async downloadUmktOfflineCampaignEx(request: DownloadUmktOfflineCampaignRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DownloadUmktOfflineCampaignResponse> {
|
|
29421
|
+
Util.validateModel(request);
|
|
29422
|
+
return $tea.cast<DownloadUmktOfflineCampaignResponse>(await this.doRequest("1.0", "riskplus.umkt.offline.campaign.download", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new DownloadUmktOfflineCampaignResponse({}));
|
|
29423
|
+
}
|
|
29424
|
+
|
|
29232
29425
|
/**
|
|
29233
29426
|
* Description: 创建HTTP PUT提交的文件上传
|
|
29234
29427
|
* Summary: 文件上传创建
|