@antchain/riskplus 1.26.7 → 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 +58 -2
- package/dist/client.js +93 -4
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +145 -7
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -4404,6 +4404,10 @@ export class StoreInfo extends $tea.Model {
|
|
|
4404
4404
|
// 门店-详细地址,
|
|
4405
4405
|
// 望江路万达广场一层001号
|
|
4406
4406
|
address: string;
|
|
4407
|
+
// 门店-经度
|
|
4408
|
+
longitude?: string;
|
|
4409
|
+
// 门店-纬度
|
|
4410
|
+
latitude?: string;
|
|
4407
4411
|
// 营业执照-开始时间,yyyy-MM-dd
|
|
4408
4412
|
storeStartDate: string;
|
|
4409
4413
|
// 营业执照-结束时间,yyyy-MM-dd,长期上送:9999-12-31
|
|
@@ -4421,6 +4425,8 @@ export class StoreInfo extends $tea.Model {
|
|
|
4421
4425
|
effectiveDate: string;
|
|
4422
4426
|
// 对公-开户行名称
|
|
4423
4427
|
bankName?: string;
|
|
4428
|
+
// 对公-开户行编码
|
|
4429
|
+
bankCode?: string;
|
|
4424
4430
|
// 对公-支行名称
|
|
4425
4431
|
branchName?: string;
|
|
4426
4432
|
// 对公-联行号
|
|
@@ -4437,6 +4443,8 @@ export class StoreInfo extends $tea.Model {
|
|
|
4437
4443
|
payeeBankCard?: string;
|
|
4438
4444
|
// 对私-银行名称
|
|
4439
4445
|
payeeBankName?: string;
|
|
4446
|
+
// 对私-银行编码
|
|
4447
|
+
payeeBankCode?: string;
|
|
4440
4448
|
// 蚂蚁数科入驻账号
|
|
4441
4449
|
loginTenant?: string;
|
|
4442
4450
|
// 入驻时间
|
|
@@ -4461,6 +4469,8 @@ export class StoreInfo extends $tea.Model {
|
|
|
4461
4469
|
district: 'district',
|
|
4462
4470
|
districtCode: 'district_code',
|
|
4463
4471
|
address: 'address',
|
|
4472
|
+
longitude: 'longitude',
|
|
4473
|
+
latitude: 'latitude',
|
|
4464
4474
|
storeStartDate: 'store_start_date',
|
|
4465
4475
|
storeEndDate: 'store_end_date',
|
|
4466
4476
|
storeType: 'store_type',
|
|
@@ -4469,6 +4479,7 @@ export class StoreInfo extends $tea.Model {
|
|
|
4469
4479
|
legalPersonMobile: 'legal_person_mobile',
|
|
4470
4480
|
effectiveDate: 'effective_date',
|
|
4471
4481
|
bankName: 'bank_name',
|
|
4482
|
+
bankCode: 'bank_code',
|
|
4472
4483
|
branchName: 'branch_name',
|
|
4473
4484
|
cnapsCode: 'cnaps_code',
|
|
4474
4485
|
accountName: 'account_name',
|
|
@@ -4477,6 +4488,7 @@ export class StoreInfo extends $tea.Model {
|
|
|
4477
4488
|
bankCity: 'bank_city',
|
|
4478
4489
|
payeeBankCard: 'payee_bank_card',
|
|
4479
4490
|
payeeBankName: 'payee_bank_name',
|
|
4491
|
+
payeeBankCode: 'payee_bank_code',
|
|
4480
4492
|
loginTenant: 'login_tenant',
|
|
4481
4493
|
loginDate: 'login_date',
|
|
4482
4494
|
alipayLogonId: 'alipay_logon_id',
|
|
@@ -4499,6 +4511,8 @@ export class StoreInfo extends $tea.Model {
|
|
|
4499
4511
|
district: 'string',
|
|
4500
4512
|
districtCode: 'string',
|
|
4501
4513
|
address: 'string',
|
|
4514
|
+
longitude: 'string',
|
|
4515
|
+
latitude: 'string',
|
|
4502
4516
|
storeStartDate: 'string',
|
|
4503
4517
|
storeEndDate: 'string',
|
|
4504
4518
|
storeType: 'string',
|
|
@@ -4507,6 +4521,7 @@ export class StoreInfo extends $tea.Model {
|
|
|
4507
4521
|
legalPersonMobile: 'string',
|
|
4508
4522
|
effectiveDate: 'string',
|
|
4509
4523
|
bankName: 'string',
|
|
4524
|
+
bankCode: 'string',
|
|
4510
4525
|
branchName: 'string',
|
|
4511
4526
|
cnapsCode: 'string',
|
|
4512
4527
|
accountName: 'string',
|
|
@@ -4515,6 +4530,7 @@ export class StoreInfo extends $tea.Model {
|
|
|
4515
4530
|
bankCity: 'string',
|
|
4516
4531
|
payeeBankCard: 'string',
|
|
4517
4532
|
payeeBankName: 'string',
|
|
4533
|
+
payeeBankCode: 'string',
|
|
4518
4534
|
loginTenant: 'string',
|
|
4519
4535
|
loginDate: 'string',
|
|
4520
4536
|
alipayLogonId: 'string',
|
|
@@ -5048,6 +5064,12 @@ export class VehicleInfo extends $tea.Model {
|
|
|
5048
5064
|
downPayment?: string;
|
|
5049
5065
|
// pad设备提供
|
|
5050
5066
|
wifiMac?: string;
|
|
5067
|
+
// pad-经度
|
|
5068
|
+
longitude?: string;
|
|
5069
|
+
// pad-纬度
|
|
5070
|
+
latitude?: string;
|
|
5071
|
+
// 车辆类型(摩托车):1-新车、0-二手车
|
|
5072
|
+
vehicleType?: string;
|
|
5051
5073
|
// SN码/中控号(授信后放款前)
|
|
5052
5074
|
sn?: string;
|
|
5053
5075
|
// 车驾号(授信后放款前)
|
|
@@ -5085,6 +5107,9 @@ export class VehicleInfo extends $tea.Model {
|
|
|
5085
5107
|
installmentAmount: 'installment_amount',
|
|
5086
5108
|
downPayment: 'down_payment',
|
|
5087
5109
|
wifiMac: 'wifi_mac',
|
|
5110
|
+
longitude: 'longitude',
|
|
5111
|
+
latitude: 'latitude',
|
|
5112
|
+
vehicleType: 'vehicle_type',
|
|
5088
5113
|
sn: 'sn',
|
|
5089
5114
|
frameNo: 'frame_no',
|
|
5090
5115
|
sku: 'sku',
|
|
@@ -5110,6 +5135,9 @@ export class VehicleInfo extends $tea.Model {
|
|
|
5110
5135
|
installmentAmount: 'string',
|
|
5111
5136
|
downPayment: 'string',
|
|
5112
5137
|
wifiMac: 'string',
|
|
5138
|
+
longitude: 'string',
|
|
5139
|
+
latitude: 'string',
|
|
5140
|
+
vehicleType: 'string',
|
|
5113
5141
|
sn: 'string',
|
|
5114
5142
|
frameNo: 'string',
|
|
5115
5143
|
sku: 'string',
|
|
@@ -12971,17 +12999,20 @@ export class QueryDubbridgeAlipayMerchantRequest extends $tea.Model {
|
|
|
12971
12999
|
productInstanceId?: string;
|
|
12972
13000
|
// request请求单号,每次请求唯一,如uuid
|
|
12973
13001
|
orderNo: string;
|
|
12974
|
-
//
|
|
12975
|
-
|
|
12976
|
-
//
|
|
12977
|
-
|
|
13002
|
+
// 入驻申请单号,store_id二选一
|
|
13003
|
+
orderId?: string;
|
|
13004
|
+
// 门店id,配合traffic_platform使用
|
|
13005
|
+
storeId?: string;
|
|
13006
|
+
// 门店所属子品牌,配合store_id使用
|
|
13007
|
+
trafficPlatform?: string;
|
|
12978
13008
|
static names(): { [key: string]: string } {
|
|
12979
13009
|
return {
|
|
12980
13010
|
authToken: 'auth_token',
|
|
12981
13011
|
productInstanceId: 'product_instance_id',
|
|
12982
13012
|
orderNo: 'order_no',
|
|
12983
|
-
storeId: 'store_id',
|
|
12984
13013
|
orderId: 'order_id',
|
|
13014
|
+
storeId: 'store_id',
|
|
13015
|
+
trafficPlatform: 'traffic_platform',
|
|
12985
13016
|
};
|
|
12986
13017
|
}
|
|
12987
13018
|
|
|
@@ -12990,8 +13021,9 @@ export class QueryDubbridgeAlipayMerchantRequest extends $tea.Model {
|
|
|
12990
13021
|
authToken: 'string',
|
|
12991
13022
|
productInstanceId: 'string',
|
|
12992
13023
|
orderNo: 'string',
|
|
12993
|
-
storeId: 'string',
|
|
12994
13024
|
orderId: 'string',
|
|
13025
|
+
storeId: 'string',
|
|
13026
|
+
trafficPlatform: 'string',
|
|
12995
13027
|
};
|
|
12996
13028
|
}
|
|
12997
13029
|
|
|
@@ -13038,6 +13070,8 @@ export class CreateDubbridgeAlipayTradeRequest extends $tea.Model {
|
|
|
13038
13070
|
productInstanceId?: string;
|
|
13039
13071
|
// request请求单号,每次请求唯一,如uuid
|
|
13040
13072
|
orderNo: string;
|
|
13073
|
+
// 门店所属子品牌
|
|
13074
|
+
trafficPlatform: string;
|
|
13041
13075
|
// 订单归属门店id
|
|
13042
13076
|
storeId: string;
|
|
13043
13077
|
// 订单车辆信息
|
|
@@ -13051,6 +13085,7 @@ export class CreateDubbridgeAlipayTradeRequest extends $tea.Model {
|
|
|
13051
13085
|
authToken: 'auth_token',
|
|
13052
13086
|
productInstanceId: 'product_instance_id',
|
|
13053
13087
|
orderNo: 'order_no',
|
|
13088
|
+
trafficPlatform: 'traffic_platform',
|
|
13054
13089
|
storeId: 'store_id',
|
|
13055
13090
|
vehicleInfo: 'vehicle_info',
|
|
13056
13091
|
timeExpire: 'time_expire',
|
|
@@ -13063,6 +13098,7 @@ export class CreateDubbridgeAlipayTradeRequest extends $tea.Model {
|
|
|
13063
13098
|
authToken: 'string',
|
|
13064
13099
|
productInstanceId: 'string',
|
|
13065
13100
|
orderNo: 'string',
|
|
13101
|
+
trafficPlatform: 'string',
|
|
13066
13102
|
storeId: 'string',
|
|
13067
13103
|
vehicleInfo: VehicleInfo,
|
|
13068
13104
|
timeExpire: 'string',
|
|
@@ -21927,6 +21963,85 @@ export class QueryTdisaasSecurityPolicyResponse extends $tea.Model {
|
|
|
21927
21963
|
}
|
|
21928
21964
|
}
|
|
21929
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
|
+
|
|
21930
22045
|
export class UploadUmktParamsFileRequest extends $tea.Model {
|
|
21931
22046
|
// OAuth模式下的授权token
|
|
21932
22047
|
authToken?: string;
|
|
@@ -24978,6 +25093,8 @@ export class DownloadUmktOfflinedecisionResultRequest extends $tea.Model {
|
|
|
24978
25093
|
resultDate?: string;
|
|
24979
25094
|
// 离线圈客任务id
|
|
24980
25095
|
taskId?: number;
|
|
25096
|
+
// 执行批次,yyyyMMddHHmm格式
|
|
25097
|
+
execBatch?: string;
|
|
24981
25098
|
static names(): { [key: string]: string } {
|
|
24982
25099
|
return {
|
|
24983
25100
|
authToken: 'auth_token',
|
|
@@ -24986,6 +25103,7 @@ export class DownloadUmktOfflinedecisionResultRequest extends $tea.Model {
|
|
|
24986
25103
|
decisionPlanId: 'decision_plan_id',
|
|
24987
25104
|
resultDate: 'result_date',
|
|
24988
25105
|
taskId: 'task_id',
|
|
25106
|
+
execBatch: 'exec_batch',
|
|
24989
25107
|
};
|
|
24990
25108
|
}
|
|
24991
25109
|
|
|
@@ -24997,6 +25115,7 @@ export class DownloadUmktOfflinedecisionResultRequest extends $tea.Model {
|
|
|
24997
25115
|
decisionPlanId: 'number',
|
|
24998
25116
|
resultDate: 'string',
|
|
24999
25117
|
taskId: 'number',
|
|
25118
|
+
execBatch: 'string',
|
|
25000
25119
|
};
|
|
25001
25120
|
}
|
|
25002
25121
|
|
|
@@ -25445,7 +25564,7 @@ export default class Client {
|
|
|
25445
25564
|
req_msg_id: AntchainUtil.getNonce(),
|
|
25446
25565
|
access_key: this._accessKeyId,
|
|
25447
25566
|
base_sdk_version: "TeaSDK-2.0",
|
|
25448
|
-
sdk_version: "1.26.
|
|
25567
|
+
sdk_version: "1.26.9",
|
|
25449
25568
|
_prod_code: "RISKPLUS",
|
|
25450
25569
|
_prod_channel: "undefined",
|
|
25451
25570
|
};
|
|
@@ -29474,6 +29593,25 @@ export default class Client {
|
|
|
29474
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({}));
|
|
29475
29594
|
}
|
|
29476
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
|
+
|
|
29477
29615
|
/**
|
|
29478
29616
|
* Description: 营销盾批量参数文件上传接口
|
|
29479
29617
|
* Summary: 营销盾参数文件上传
|