@antchain/riskplus 1.26.8 → 1.26.9
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 +50 -2
- package/dist/client.js +77 -4
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +113 -7
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -12999,17 +12999,20 @@ export class QueryDubbridgeAlipayMerchantRequest extends $tea.Model {
|
|
|
12999
12999
|
productInstanceId?: string;
|
|
13000
13000
|
// request请求单号,每次请求唯一,如uuid
|
|
13001
13001
|
orderNo: string;
|
|
13002
|
-
//
|
|
13003
|
-
|
|
13004
|
-
//
|
|
13005
|
-
|
|
13002
|
+
// 入驻申请单号,store_id二选一
|
|
13003
|
+
orderId?: string;
|
|
13004
|
+
// 门店id,配合traffic_platform使用
|
|
13005
|
+
storeId?: string;
|
|
13006
|
+
// 门店所属子品牌,配合store_id使用
|
|
13007
|
+
trafficPlatform?: string;
|
|
13006
13008
|
static names(): { [key: string]: string } {
|
|
13007
13009
|
return {
|
|
13008
13010
|
authToken: 'auth_token',
|
|
13009
13011
|
productInstanceId: 'product_instance_id',
|
|
13010
13012
|
orderNo: 'order_no',
|
|
13011
|
-
storeId: 'store_id',
|
|
13012
13013
|
orderId: 'order_id',
|
|
13014
|
+
storeId: 'store_id',
|
|
13015
|
+
trafficPlatform: 'traffic_platform',
|
|
13013
13016
|
};
|
|
13014
13017
|
}
|
|
13015
13018
|
|
|
@@ -13018,8 +13021,9 @@ export class QueryDubbridgeAlipayMerchantRequest extends $tea.Model {
|
|
|
13018
13021
|
authToken: 'string',
|
|
13019
13022
|
productInstanceId: 'string',
|
|
13020
13023
|
orderNo: 'string',
|
|
13021
|
-
storeId: 'string',
|
|
13022
13024
|
orderId: 'string',
|
|
13025
|
+
storeId: 'string',
|
|
13026
|
+
trafficPlatform: 'string',
|
|
13023
13027
|
};
|
|
13024
13028
|
}
|
|
13025
13029
|
|
|
@@ -13066,6 +13070,8 @@ export class CreateDubbridgeAlipayTradeRequest extends $tea.Model {
|
|
|
13066
13070
|
productInstanceId?: string;
|
|
13067
13071
|
// request请求单号,每次请求唯一,如uuid
|
|
13068
13072
|
orderNo: string;
|
|
13073
|
+
// 门店所属子品牌
|
|
13074
|
+
trafficPlatform: string;
|
|
13069
13075
|
// 订单归属门店id
|
|
13070
13076
|
storeId: string;
|
|
13071
13077
|
// 订单车辆信息
|
|
@@ -13079,6 +13085,7 @@ export class CreateDubbridgeAlipayTradeRequest extends $tea.Model {
|
|
|
13079
13085
|
authToken: 'auth_token',
|
|
13080
13086
|
productInstanceId: 'product_instance_id',
|
|
13081
13087
|
orderNo: 'order_no',
|
|
13088
|
+
trafficPlatform: 'traffic_platform',
|
|
13082
13089
|
storeId: 'store_id',
|
|
13083
13090
|
vehicleInfo: 'vehicle_info',
|
|
13084
13091
|
timeExpire: 'time_expire',
|
|
@@ -13091,6 +13098,7 @@ export class CreateDubbridgeAlipayTradeRequest extends $tea.Model {
|
|
|
13091
13098
|
authToken: 'string',
|
|
13092
13099
|
productInstanceId: 'string',
|
|
13093
13100
|
orderNo: 'string',
|
|
13101
|
+
trafficPlatform: 'string',
|
|
13094
13102
|
storeId: 'string',
|
|
13095
13103
|
vehicleInfo: VehicleInfo,
|
|
13096
13104
|
timeExpire: 'string',
|
|
@@ -21955,6 +21963,85 @@ export class QueryTdisaasSecurityPolicyResponse extends $tea.Model {
|
|
|
21955
21963
|
}
|
|
21956
21964
|
}
|
|
21957
21965
|
|
|
21966
|
+
export class QueryAirsaasSecurityPolicyRequest extends $tea.Model {
|
|
21967
|
+
// OAuth模式下的授权token
|
|
21968
|
+
authToken?: string;
|
|
21969
|
+
productInstanceId?: string;
|
|
21970
|
+
// 风控时间咨询查询入参
|
|
21971
|
+
eventInfo: EventInfo;
|
|
21972
|
+
// 请求处理方式
|
|
21973
|
+
riskType: string;
|
|
21974
|
+
static names(): { [key: string]: string } {
|
|
21975
|
+
return {
|
|
21976
|
+
authToken: 'auth_token',
|
|
21977
|
+
productInstanceId: 'product_instance_id',
|
|
21978
|
+
eventInfo: 'event_info',
|
|
21979
|
+
riskType: 'risk_type',
|
|
21980
|
+
};
|
|
21981
|
+
}
|
|
21982
|
+
|
|
21983
|
+
static types(): { [key: string]: any } {
|
|
21984
|
+
return {
|
|
21985
|
+
authToken: 'string',
|
|
21986
|
+
productInstanceId: 'string',
|
|
21987
|
+
eventInfo: EventInfo,
|
|
21988
|
+
riskType: 'string',
|
|
21989
|
+
};
|
|
21990
|
+
}
|
|
21991
|
+
|
|
21992
|
+
constructor(map?: { [key: string]: any }) {
|
|
21993
|
+
super(map);
|
|
21994
|
+
}
|
|
21995
|
+
}
|
|
21996
|
+
|
|
21997
|
+
export class QueryAirsaasSecurityPolicyResponse extends $tea.Model {
|
|
21998
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
21999
|
+
reqMsgId?: string;
|
|
22000
|
+
// 结果码,一般OK表示调用成功
|
|
22001
|
+
resultCode?: string;
|
|
22002
|
+
// 异常信息的文本描述
|
|
22003
|
+
resultMsg?: string;
|
|
22004
|
+
// 场景分
|
|
22005
|
+
modelDetails?: ModelDetails[];
|
|
22006
|
+
// 安全请求id
|
|
22007
|
+
securityId?: string;
|
|
22008
|
+
// 策略结果
|
|
22009
|
+
securityResult?: string;
|
|
22010
|
+
// 策略结果详情
|
|
22011
|
+
strategyDetails?: StrategyDetails[];
|
|
22012
|
+
// 决策流信息
|
|
22013
|
+
dfSceneInfos?: DfSceneInfos[];
|
|
22014
|
+
static names(): { [key: string]: string } {
|
|
22015
|
+
return {
|
|
22016
|
+
reqMsgId: 'req_msg_id',
|
|
22017
|
+
resultCode: 'result_code',
|
|
22018
|
+
resultMsg: 'result_msg',
|
|
22019
|
+
modelDetails: 'model_details',
|
|
22020
|
+
securityId: 'security_id',
|
|
22021
|
+
securityResult: 'security_result',
|
|
22022
|
+
strategyDetails: 'strategy_details',
|
|
22023
|
+
dfSceneInfos: 'df_scene_infos',
|
|
22024
|
+
};
|
|
22025
|
+
}
|
|
22026
|
+
|
|
22027
|
+
static types(): { [key: string]: any } {
|
|
22028
|
+
return {
|
|
22029
|
+
reqMsgId: 'string',
|
|
22030
|
+
resultCode: 'string',
|
|
22031
|
+
resultMsg: 'string',
|
|
22032
|
+
modelDetails: { 'type': 'array', 'itemType': ModelDetails },
|
|
22033
|
+
securityId: 'string',
|
|
22034
|
+
securityResult: 'string',
|
|
22035
|
+
strategyDetails: { 'type': 'array', 'itemType': StrategyDetails },
|
|
22036
|
+
dfSceneInfos: { 'type': 'array', 'itemType': DfSceneInfos },
|
|
22037
|
+
};
|
|
22038
|
+
}
|
|
22039
|
+
|
|
22040
|
+
constructor(map?: { [key: string]: any }) {
|
|
22041
|
+
super(map);
|
|
22042
|
+
}
|
|
22043
|
+
}
|
|
22044
|
+
|
|
21958
22045
|
export class UploadUmktParamsFileRequest extends $tea.Model {
|
|
21959
22046
|
// OAuth模式下的授权token
|
|
21960
22047
|
authToken?: string;
|
|
@@ -25477,7 +25564,7 @@ export default class Client {
|
|
|
25477
25564
|
req_msg_id: AntchainUtil.getNonce(),
|
|
25478
25565
|
access_key: this._accessKeyId,
|
|
25479
25566
|
base_sdk_version: "TeaSDK-2.0",
|
|
25480
|
-
sdk_version: "1.26.
|
|
25567
|
+
sdk_version: "1.26.9",
|
|
25481
25568
|
_prod_code: "RISKPLUS",
|
|
25482
25569
|
_prod_channel: "undefined",
|
|
25483
25570
|
};
|
|
@@ -29506,6 +29593,25 @@ export default class Client {
|
|
|
29506
29593
|
return $tea.cast<QueryTdisaasSecurityPolicyResponse>(await this.doRequest("1.0", "riskplus.tdisaas.security.policy.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryTdisaasSecurityPolicyResponse({}));
|
|
29507
29594
|
}
|
|
29508
29595
|
|
|
29596
|
+
/**
|
|
29597
|
+
* Description: saas风险咨询(air引擎)
|
|
29598
|
+
* Summary: saas风险咨询(air引擎)
|
|
29599
|
+
*/
|
|
29600
|
+
async queryAirsaasSecurityPolicy(request: QueryAirsaasSecurityPolicyRequest): Promise<QueryAirsaasSecurityPolicyResponse> {
|
|
29601
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
29602
|
+
let headers : {[key: string ]: string} = { };
|
|
29603
|
+
return await this.queryAirsaasSecurityPolicyEx(request, headers, runtime);
|
|
29604
|
+
}
|
|
29605
|
+
|
|
29606
|
+
/**
|
|
29607
|
+
* Description: saas风险咨询(air引擎)
|
|
29608
|
+
* Summary: saas风险咨询(air引擎)
|
|
29609
|
+
*/
|
|
29610
|
+
async queryAirsaasSecurityPolicyEx(request: QueryAirsaasSecurityPolicyRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryAirsaasSecurityPolicyResponse> {
|
|
29611
|
+
Util.validateModel(request);
|
|
29612
|
+
return $tea.cast<QueryAirsaasSecurityPolicyResponse>(await this.doRequest("1.0", "riskplus.airsaas.security.policy.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryAirsaasSecurityPolicyResponse({}));
|
|
29613
|
+
}
|
|
29614
|
+
|
|
29509
29615
|
/**
|
|
29510
29616
|
* Description: 营销盾批量参数文件上传接口
|
|
29511
29617
|
* Summary: 营销盾参数文件上传
|