@antchain/riskplus 1.25.5 → 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 +92 -2
- package/dist/client.js +138 -4
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +194 -5
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;
|
|
@@ -14783,7 +14855,7 @@ export class UploadQmpOfflinehostplanResponse extends $tea.Model {
|
|
|
14783
14855
|
// 异常信息的文本描述
|
|
14784
14856
|
resultMsg?: string;
|
|
14785
14857
|
// 导入id,可以用该id来查询分层结果
|
|
14786
|
-
importId?:
|
|
14858
|
+
importId?: number;
|
|
14787
14859
|
static names(): { [key: string]: string } {
|
|
14788
14860
|
return {
|
|
14789
14861
|
reqMsgId: 'req_msg_id',
|
|
@@ -14798,7 +14870,7 @@ export class UploadQmpOfflinehostplanResponse extends $tea.Model {
|
|
|
14798
14870
|
reqMsgId: 'string',
|
|
14799
14871
|
resultCode: 'string',
|
|
14800
14872
|
resultMsg: 'string',
|
|
14801
|
-
importId: '
|
|
14873
|
+
importId: 'number',
|
|
14802
14874
|
};
|
|
14803
14875
|
}
|
|
14804
14876
|
|
|
@@ -14812,7 +14884,7 @@ export class QueryQmpOfflinehostplanDecisionresultRequest extends $tea.Model {
|
|
|
14812
14884
|
authToken?: string;
|
|
14813
14885
|
productInstanceId?: string;
|
|
14814
14886
|
// 文件上传时返回的导入id
|
|
14815
|
-
importId:
|
|
14887
|
+
importId: number;
|
|
14816
14888
|
static names(): { [key: string]: string } {
|
|
14817
14889
|
return {
|
|
14818
14890
|
authToken: 'auth_token',
|
|
@@ -14825,7 +14897,7 @@ export class QueryQmpOfflinehostplanDecisionresultRequest extends $tea.Model {
|
|
|
14825
14897
|
return {
|
|
14826
14898
|
authToken: 'string',
|
|
14827
14899
|
productInstanceId: 'string',
|
|
14828
|
-
importId: '
|
|
14900
|
+
importId: 'number',
|
|
14829
14901
|
};
|
|
14830
14902
|
}
|
|
14831
14903
|
|
|
@@ -14851,6 +14923,10 @@ export class QueryQmpOfflinehostplanDecisionresultResponse extends $tea.Model {
|
|
|
14851
14923
|
decisionNum?: number;
|
|
14852
14924
|
// 分层结果的oss文件路径
|
|
14853
14925
|
fileUrl?: string;
|
|
14926
|
+
// 触达确认状态.Y/N,已确认,未确认,当前计划无触达则为空
|
|
14927
|
+
actionConfirmStatus?: string;
|
|
14928
|
+
// 触达时间
|
|
14929
|
+
actionTime?: string;
|
|
14854
14930
|
static names(): { [key: string]: string } {
|
|
14855
14931
|
return {
|
|
14856
14932
|
reqMsgId: 'req_msg_id',
|
|
@@ -14861,6 +14937,8 @@ export class QueryQmpOfflinehostplanDecisionresultResponse extends $tea.Model {
|
|
|
14861
14937
|
totalNum: 'total_num',
|
|
14862
14938
|
decisionNum: 'decision_num',
|
|
14863
14939
|
fileUrl: 'file_url',
|
|
14940
|
+
actionConfirmStatus: 'action_confirm_status',
|
|
14941
|
+
actionTime: 'action_time',
|
|
14864
14942
|
};
|
|
14865
14943
|
}
|
|
14866
14944
|
|
|
@@ -14874,6 +14952,8 @@ export class QueryQmpOfflinehostplanDecisionresultResponse extends $tea.Model {
|
|
|
14874
14952
|
totalNum: 'number',
|
|
14875
14953
|
decisionNum: 'number',
|
|
14876
14954
|
fileUrl: 'string',
|
|
14955
|
+
actionConfirmStatus: 'string',
|
|
14956
|
+
actionTime: 'string',
|
|
14877
14957
|
};
|
|
14878
14958
|
}
|
|
14879
14959
|
|
|
@@ -24308,6 +24388,77 @@ export class UploadUmktOfflineImportrecordResponse extends $tea.Model {
|
|
|
24308
24388
|
}
|
|
24309
24389
|
}
|
|
24310
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
|
+
|
|
24311
24462
|
export class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
|
|
24312
24463
|
// OAuth模式下的授权token
|
|
24313
24464
|
authToken?: string;
|
|
@@ -24509,7 +24660,7 @@ export default class Client {
|
|
|
24509
24660
|
req_msg_id: AntchainUtil.getNonce(),
|
|
24510
24661
|
access_key: this._accessKeyId,
|
|
24511
24662
|
base_sdk_version: "TeaSDK-2.0",
|
|
24512
|
-
sdk_version: "1.
|
|
24663
|
+
sdk_version: "1.26.3",
|
|
24513
24664
|
_prod_code: "RISKPLUS",
|
|
24514
24665
|
_prod_channel: "undefined",
|
|
24515
24666
|
};
|
|
@@ -24633,6 +24784,25 @@ export default class Client {
|
|
|
24633
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({}));
|
|
24634
24785
|
}
|
|
24635
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
|
+
|
|
24636
24806
|
/**
|
|
24637
24807
|
* Description: 风控云风险咨询接口
|
|
24638
24808
|
* Summary: 风控云风险咨询接口
|
|
@@ -29233,6 +29403,25 @@ export default class Client {
|
|
|
29233
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({}));
|
|
29234
29404
|
}
|
|
29235
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
|
+
|
|
29236
29425
|
/**
|
|
29237
29426
|
* Description: 创建HTTP PUT提交的文件上传
|
|
29238
29427
|
* Summary: 文件上传创建
|