@antchain/riskplus 1.16.21 → 1.16.23
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 +109 -25
- package/dist/client.js +163 -41
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +221 -57
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -2031,51 +2031,6 @@ export class RtopCrowdRiskSummaryResp extends $tea.Model {
|
|
|
2031
2031
|
}
|
|
2032
2032
|
}
|
|
2033
2033
|
|
|
2034
|
-
// 营销盾租户触达策略计划信息
|
|
2035
|
-
export class TenantActionTouchPlanInfo extends $tea.Model {
|
|
2036
|
-
// 场景策略id
|
|
2037
|
-
sceneStrategyId: number;
|
|
2038
|
-
// 营销名称
|
|
2039
|
-
sceneStrategyName: string;
|
|
2040
|
-
// 营销状态
|
|
2041
|
-
sceneStrategyStatus: string;
|
|
2042
|
-
// 渠道id
|
|
2043
|
-
actionDriverCode: number;
|
|
2044
|
-
// 渠道类型
|
|
2045
|
-
channelCode: string;
|
|
2046
|
-
// 创建时间
|
|
2047
|
-
gmtCreate: string;
|
|
2048
|
-
// 修改时间
|
|
2049
|
-
gmtModified: string;
|
|
2050
|
-
static names(): { [key: string]: string } {
|
|
2051
|
-
return {
|
|
2052
|
-
sceneStrategyId: 'scene_strategy_id',
|
|
2053
|
-
sceneStrategyName: 'scene_strategy_name',
|
|
2054
|
-
sceneStrategyStatus: 'scene_strategy_status',
|
|
2055
|
-
actionDriverCode: 'action_driver_code',
|
|
2056
|
-
channelCode: 'channel_code',
|
|
2057
|
-
gmtCreate: 'gmt_create',
|
|
2058
|
-
gmtModified: 'gmt_modified',
|
|
2059
|
-
};
|
|
2060
|
-
}
|
|
2061
|
-
|
|
2062
|
-
static types(): { [key: string]: any } {
|
|
2063
|
-
return {
|
|
2064
|
-
sceneStrategyId: 'number',
|
|
2065
|
-
sceneStrategyName: 'string',
|
|
2066
|
-
sceneStrategyStatus: 'string',
|
|
2067
|
-
actionDriverCode: 'number',
|
|
2068
|
-
channelCode: 'string',
|
|
2069
|
-
gmtCreate: 'string',
|
|
2070
|
-
gmtModified: 'string',
|
|
2071
|
-
};
|
|
2072
|
-
}
|
|
2073
|
-
|
|
2074
|
-
constructor(map?: { [key: string]: any }) {
|
|
2075
|
-
super(map);
|
|
2076
|
-
}
|
|
2077
|
-
}
|
|
2078
|
-
|
|
2079
2034
|
// 回执统计结果
|
|
2080
2035
|
export class StatisticResult extends $tea.Model {
|
|
2081
2036
|
// 有效任务总数量
|
|
@@ -3787,6 +3742,51 @@ export class CustomStatus extends $tea.Model {
|
|
|
3787
3742
|
}
|
|
3788
3743
|
}
|
|
3789
3744
|
|
|
3745
|
+
// 营销盾租户触达策略计划信息
|
|
3746
|
+
export class TenantActionPlanInfo extends $tea.Model {
|
|
3747
|
+
// 场景策略id
|
|
3748
|
+
sceneStrategyId: number;
|
|
3749
|
+
// 营销名称
|
|
3750
|
+
sceneStrategyName: string;
|
|
3751
|
+
// 营销状态
|
|
3752
|
+
sceneStrategyStatus: string;
|
|
3753
|
+
// 渠道id
|
|
3754
|
+
actionDriverCode: number;
|
|
3755
|
+
// 渠道类型
|
|
3756
|
+
channelCode: string;
|
|
3757
|
+
// 创建时间
|
|
3758
|
+
gmtCreate: string;
|
|
3759
|
+
// 修改时间
|
|
3760
|
+
gmtModified: string;
|
|
3761
|
+
static names(): { [key: string]: string } {
|
|
3762
|
+
return {
|
|
3763
|
+
sceneStrategyId: 'scene_strategy_id',
|
|
3764
|
+
sceneStrategyName: 'scene_strategy_name',
|
|
3765
|
+
sceneStrategyStatus: 'scene_strategy_status',
|
|
3766
|
+
actionDriverCode: 'action_driver_code',
|
|
3767
|
+
channelCode: 'channel_code',
|
|
3768
|
+
gmtCreate: 'gmt_create',
|
|
3769
|
+
gmtModified: 'gmt_modified',
|
|
3770
|
+
};
|
|
3771
|
+
}
|
|
3772
|
+
|
|
3773
|
+
static types(): { [key: string]: any } {
|
|
3774
|
+
return {
|
|
3775
|
+
sceneStrategyId: 'number',
|
|
3776
|
+
sceneStrategyName: 'string',
|
|
3777
|
+
sceneStrategyStatus: 'string',
|
|
3778
|
+
actionDriverCode: 'number',
|
|
3779
|
+
channelCode: 'string',
|
|
3780
|
+
gmtCreate: 'string',
|
|
3781
|
+
gmtModified: 'string',
|
|
3782
|
+
};
|
|
3783
|
+
}
|
|
3784
|
+
|
|
3785
|
+
constructor(map?: { [key: string]: any }) {
|
|
3786
|
+
super(map);
|
|
3787
|
+
}
|
|
3788
|
+
}
|
|
3789
|
+
|
|
3790
3790
|
// 键值对
|
|
3791
3791
|
export class XNameValuePair extends $tea.Model {
|
|
3792
3792
|
// 键名
|
|
@@ -6256,7 +6256,7 @@ export class VerifyDubbridgeCustomerBankcardRequest extends $tea.Model {
|
|
|
6256
6256
|
// 订单号
|
|
6257
6257
|
orderNo?: string;
|
|
6258
6258
|
// 客户号
|
|
6259
|
-
|
|
6259
|
+
customerNo?: string;
|
|
6260
6260
|
// 绑卡流水
|
|
6261
6261
|
bindSerialNo: string;
|
|
6262
6262
|
// 绑卡验证码
|
|
@@ -6270,7 +6270,7 @@ export class VerifyDubbridgeCustomerBankcardRequest extends $tea.Model {
|
|
|
6270
6270
|
authToken: 'auth_token',
|
|
6271
6271
|
productInstanceId: 'product_instance_id',
|
|
6272
6272
|
orderNo: 'order_no',
|
|
6273
|
-
|
|
6273
|
+
customerNo: 'customer_no',
|
|
6274
6274
|
bindSerialNo: 'bind_serial_no',
|
|
6275
6275
|
bindValidCode: 'bind_valid_code',
|
|
6276
6276
|
bankCardNo: 'bank_card_no',
|
|
@@ -6283,7 +6283,7 @@ export class VerifyDubbridgeCustomerBankcardRequest extends $tea.Model {
|
|
|
6283
6283
|
authToken: 'string',
|
|
6284
6284
|
productInstanceId: 'string',
|
|
6285
6285
|
orderNo: 'string',
|
|
6286
|
-
|
|
6286
|
+
customerNo: 'string',
|
|
6287
6287
|
bindSerialNo: 'string',
|
|
6288
6288
|
bindValidCode: 'string',
|
|
6289
6289
|
bankCardNo: 'string',
|
|
@@ -8693,6 +8693,132 @@ export class QueryDubbridgeCreditPermitResponse extends $tea.Model {
|
|
|
8693
8693
|
}
|
|
8694
8694
|
}
|
|
8695
8695
|
|
|
8696
|
+
export class QueryDubbridgeUserUpgradestatusRequest extends $tea.Model {
|
|
8697
|
+
// OAuth模式下的授权token
|
|
8698
|
+
authToken?: string;
|
|
8699
|
+
productInstanceId?: string;
|
|
8700
|
+
// 资产方用户唯一标识
|
|
8701
|
+
openId?: string;
|
|
8702
|
+
// 天枢客户编号
|
|
8703
|
+
customerNo?: string;
|
|
8704
|
+
static names(): { [key: string]: string } {
|
|
8705
|
+
return {
|
|
8706
|
+
authToken: 'auth_token',
|
|
8707
|
+
productInstanceId: 'product_instance_id',
|
|
8708
|
+
openId: 'open_id',
|
|
8709
|
+
customerNo: 'customer_no',
|
|
8710
|
+
};
|
|
8711
|
+
}
|
|
8712
|
+
|
|
8713
|
+
static types(): { [key: string]: any } {
|
|
8714
|
+
return {
|
|
8715
|
+
authToken: 'string',
|
|
8716
|
+
productInstanceId: 'string',
|
|
8717
|
+
openId: 'string',
|
|
8718
|
+
customerNo: 'string',
|
|
8719
|
+
};
|
|
8720
|
+
}
|
|
8721
|
+
|
|
8722
|
+
constructor(map?: { [key: string]: any }) {
|
|
8723
|
+
super(map);
|
|
8724
|
+
}
|
|
8725
|
+
}
|
|
8726
|
+
|
|
8727
|
+
export class QueryDubbridgeUserUpgradestatusResponse extends $tea.Model {
|
|
8728
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
8729
|
+
reqMsgId?: string;
|
|
8730
|
+
// 结果码,一般OK表示调用成功
|
|
8731
|
+
resultCode?: string;
|
|
8732
|
+
// 异常信息的文本描述
|
|
8733
|
+
resultMsg?: string;
|
|
8734
|
+
// 用户状态:0已升级,1未升级
|
|
8735
|
+
status?: string;
|
|
8736
|
+
static names(): { [key: string]: string } {
|
|
8737
|
+
return {
|
|
8738
|
+
reqMsgId: 'req_msg_id',
|
|
8739
|
+
resultCode: 'result_code',
|
|
8740
|
+
resultMsg: 'result_msg',
|
|
8741
|
+
status: 'status',
|
|
8742
|
+
};
|
|
8743
|
+
}
|
|
8744
|
+
|
|
8745
|
+
static types(): { [key: string]: any } {
|
|
8746
|
+
return {
|
|
8747
|
+
reqMsgId: 'string',
|
|
8748
|
+
resultCode: 'string',
|
|
8749
|
+
resultMsg: 'string',
|
|
8750
|
+
status: 'string',
|
|
8751
|
+
};
|
|
8752
|
+
}
|
|
8753
|
+
|
|
8754
|
+
constructor(map?: { [key: string]: any }) {
|
|
8755
|
+
super(map);
|
|
8756
|
+
}
|
|
8757
|
+
}
|
|
8758
|
+
|
|
8759
|
+
export class QueryDubbridgeLoanUpgradestatusRequest extends $tea.Model {
|
|
8760
|
+
// OAuth模式下的授权token
|
|
8761
|
+
authToken?: string;
|
|
8762
|
+
productInstanceId?: string;
|
|
8763
|
+
// 用信申请订单号(资产方)
|
|
8764
|
+
originalOrderNo?: string;
|
|
8765
|
+
// 借据编号
|
|
8766
|
+
receiptNo?: string;
|
|
8767
|
+
static names(): { [key: string]: string } {
|
|
8768
|
+
return {
|
|
8769
|
+
authToken: 'auth_token',
|
|
8770
|
+
productInstanceId: 'product_instance_id',
|
|
8771
|
+
originalOrderNo: 'original_order_no',
|
|
8772
|
+
receiptNo: 'receipt_no',
|
|
8773
|
+
};
|
|
8774
|
+
}
|
|
8775
|
+
|
|
8776
|
+
static types(): { [key: string]: any } {
|
|
8777
|
+
return {
|
|
8778
|
+
authToken: 'string',
|
|
8779
|
+
productInstanceId: 'string',
|
|
8780
|
+
originalOrderNo: 'string',
|
|
8781
|
+
receiptNo: 'string',
|
|
8782
|
+
};
|
|
8783
|
+
}
|
|
8784
|
+
|
|
8785
|
+
constructor(map?: { [key: string]: any }) {
|
|
8786
|
+
super(map);
|
|
8787
|
+
}
|
|
8788
|
+
}
|
|
8789
|
+
|
|
8790
|
+
export class QueryDubbridgeLoanUpgradestatusResponse extends $tea.Model {
|
|
8791
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
8792
|
+
reqMsgId?: string;
|
|
8793
|
+
// 结果码,一般OK表示调用成功
|
|
8794
|
+
resultCode?: string;
|
|
8795
|
+
// 异常信息的文本描述
|
|
8796
|
+
resultMsg?: string;
|
|
8797
|
+
// 借据状态:0存量,1增量
|
|
8798
|
+
status?: string;
|
|
8799
|
+
static names(): { [key: string]: string } {
|
|
8800
|
+
return {
|
|
8801
|
+
reqMsgId: 'req_msg_id',
|
|
8802
|
+
resultCode: 'result_code',
|
|
8803
|
+
resultMsg: 'result_msg',
|
|
8804
|
+
status: 'status',
|
|
8805
|
+
};
|
|
8806
|
+
}
|
|
8807
|
+
|
|
8808
|
+
static types(): { [key: string]: any } {
|
|
8809
|
+
return {
|
|
8810
|
+
reqMsgId: 'string',
|
|
8811
|
+
resultCode: 'string',
|
|
8812
|
+
resultMsg: 'string',
|
|
8813
|
+
status: 'string',
|
|
8814
|
+
};
|
|
8815
|
+
}
|
|
8816
|
+
|
|
8817
|
+
constructor(map?: { [key: string]: any }) {
|
|
8818
|
+
super(map);
|
|
8819
|
+
}
|
|
8820
|
+
}
|
|
8821
|
+
|
|
8696
8822
|
export class VerifyFinserviceZhimaIdentifyRequest extends $tea.Model {
|
|
8697
8823
|
// OAuth模式下的授权token
|
|
8698
8824
|
authToken?: string;
|
|
@@ -14502,7 +14628,7 @@ export class QueryUmktRobotcallStatisticinfoResponse extends $tea.Model {
|
|
|
14502
14628
|
}
|
|
14503
14629
|
}
|
|
14504
14630
|
|
|
14505
|
-
export class
|
|
14631
|
+
export class QueryUmktTenantActionplaninfoRequest extends $tea.Model {
|
|
14506
14632
|
// OAuth模式下的授权token
|
|
14507
14633
|
authToken?: string;
|
|
14508
14634
|
productInstanceId?: string;
|
|
@@ -14537,7 +14663,7 @@ export class QueryUmktTenantStrategyinfoRequest extends $tea.Model {
|
|
|
14537
14663
|
}
|
|
14538
14664
|
}
|
|
14539
14665
|
|
|
14540
|
-
export class
|
|
14666
|
+
export class QueryUmktTenantActionplaninfoResponse extends $tea.Model {
|
|
14541
14667
|
// 请求唯一ID,用于链路跟踪和问题排查
|
|
14542
14668
|
reqMsgId?: string;
|
|
14543
14669
|
// 结果码,一般OK表示调用成功
|
|
@@ -14545,7 +14671,7 @@ export class QueryUmktTenantStrategyinfoResponse extends $tea.Model {
|
|
|
14545
14671
|
// 异常信息的文本描述
|
|
14546
14672
|
resultMsg?: string;
|
|
14547
14673
|
// 租户策略信息列表
|
|
14548
|
-
queryResult?:
|
|
14674
|
+
queryResult?: TenantActionPlanInfo[];
|
|
14549
14675
|
// 页码
|
|
14550
14676
|
pageNum?: number;
|
|
14551
14677
|
// 页容量
|
|
@@ -14569,7 +14695,7 @@ export class QueryUmktTenantStrategyinfoResponse extends $tea.Model {
|
|
|
14569
14695
|
reqMsgId: 'string',
|
|
14570
14696
|
resultCode: 'string',
|
|
14571
14697
|
resultMsg: 'string',
|
|
14572
|
-
queryResult: { 'type': 'array', 'itemType':
|
|
14698
|
+
queryResult: { 'type': 'array', 'itemType': TenantActionPlanInfo },
|
|
14573
14699
|
pageNum: 'number',
|
|
14574
14700
|
pageSize: 'number',
|
|
14575
14701
|
totalCount: 'number',
|
|
@@ -14782,7 +14908,7 @@ export default class Client {
|
|
|
14782
14908
|
req_msg_id: AntchainUtil.getNonce(),
|
|
14783
14909
|
access_key: this._accessKeyId,
|
|
14784
14910
|
base_sdk_version: "TeaSDK-2.0",
|
|
14785
|
-
sdk_version: "1.16.
|
|
14911
|
+
sdk_version: "1.16.23",
|
|
14786
14912
|
_prod_code: "RISKPLUS",
|
|
14787
14913
|
_prod_channel: "undefined",
|
|
14788
14914
|
};
|
|
@@ -15972,6 +16098,44 @@ export default class Client {
|
|
|
15972
16098
|
return $tea.cast<QueryDubbridgeCreditPermitResponse>(await this.doRequest("1.0", "riskplus.dubbridge.credit.permit.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDubbridgeCreditPermitResponse({}));
|
|
15973
16099
|
}
|
|
15974
16100
|
|
|
16101
|
+
/**
|
|
16102
|
+
* Description: 用户状态判断
|
|
16103
|
+
* Summary: 用户状态判断
|
|
16104
|
+
*/
|
|
16105
|
+
async queryDubbridgeUserUpgradestatus(request: QueryDubbridgeUserUpgradestatusRequest): Promise<QueryDubbridgeUserUpgradestatusResponse> {
|
|
16106
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
16107
|
+
let headers : {[key: string ]: string} = { };
|
|
16108
|
+
return await this.queryDubbridgeUserUpgradestatusEx(request, headers, runtime);
|
|
16109
|
+
}
|
|
16110
|
+
|
|
16111
|
+
/**
|
|
16112
|
+
* Description: 用户状态判断
|
|
16113
|
+
* Summary: 用户状态判断
|
|
16114
|
+
*/
|
|
16115
|
+
async queryDubbridgeUserUpgradestatusEx(request: QueryDubbridgeUserUpgradestatusRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryDubbridgeUserUpgradestatusResponse> {
|
|
16116
|
+
Util.validateModel(request);
|
|
16117
|
+
return $tea.cast<QueryDubbridgeUserUpgradestatusResponse>(await this.doRequest("1.0", "riskplus.dubbridge.user.upgradestatus.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDubbridgeUserUpgradestatusResponse({}));
|
|
16118
|
+
}
|
|
16119
|
+
|
|
16120
|
+
/**
|
|
16121
|
+
* Description: 借据状态判断
|
|
16122
|
+
* Summary: 借据状态判断
|
|
16123
|
+
*/
|
|
16124
|
+
async queryDubbridgeLoanUpgradestatus(request: QueryDubbridgeLoanUpgradestatusRequest): Promise<QueryDubbridgeLoanUpgradestatusResponse> {
|
|
16125
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
16126
|
+
let headers : {[key: string ]: string} = { };
|
|
16127
|
+
return await this.queryDubbridgeLoanUpgradestatusEx(request, headers, runtime);
|
|
16128
|
+
}
|
|
16129
|
+
|
|
16130
|
+
/**
|
|
16131
|
+
* Description: 借据状态判断
|
|
16132
|
+
* Summary: 借据状态判断
|
|
16133
|
+
*/
|
|
16134
|
+
async queryDubbridgeLoanUpgradestatusEx(request: QueryDubbridgeLoanUpgradestatusRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryDubbridgeLoanUpgradestatusResponse> {
|
|
16135
|
+
Util.validateModel(request);
|
|
16136
|
+
return $tea.cast<QueryDubbridgeLoanUpgradestatusResponse>(await this.doRequest("1.0", "riskplus.dubbridge.loan.upgradestatus.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDubbridgeLoanUpgradestatusResponse({}));
|
|
16137
|
+
}
|
|
16138
|
+
|
|
15975
16139
|
/**
|
|
15976
16140
|
* Description: 四要素认证首先调用此接口
|
|
15977
16141
|
* Summary: 芝麻四要素接口
|
|
@@ -17506,19 +17670,19 @@ export default class Client {
|
|
|
17506
17670
|
* Description: 营销盾租户场景信息查询
|
|
17507
17671
|
* Summary: 营销盾租户场景信息查询
|
|
17508
17672
|
*/
|
|
17509
|
-
async
|
|
17673
|
+
async queryUmktTenantActionplaninfo(request: QueryUmktTenantActionplaninfoRequest): Promise<QueryUmktTenantActionplaninfoResponse> {
|
|
17510
17674
|
let runtime = new $Util.RuntimeOptions({ });
|
|
17511
17675
|
let headers : {[key: string ]: string} = { };
|
|
17512
|
-
return await this.
|
|
17676
|
+
return await this.queryUmktTenantActionplaninfoEx(request, headers, runtime);
|
|
17513
17677
|
}
|
|
17514
17678
|
|
|
17515
17679
|
/**
|
|
17516
17680
|
* Description: 营销盾租户场景信息查询
|
|
17517
17681
|
* Summary: 营销盾租户场景信息查询
|
|
17518
17682
|
*/
|
|
17519
|
-
async
|
|
17683
|
+
async queryUmktTenantActionplaninfoEx(request: QueryUmktTenantActionplaninfoRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryUmktTenantActionplaninfoResponse> {
|
|
17520
17684
|
Util.validateModel(request);
|
|
17521
|
-
return $tea.cast<
|
|
17685
|
+
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({}));
|
|
17522
17686
|
}
|
|
17523
17687
|
|
|
17524
17688
|
/**
|