@antchain/riskplus 1.26.9 → 1.28.7
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 +289 -0
- package/dist/client.js +435 -2
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +634 -4
package/src/client.ts
CHANGED
|
@@ -4449,11 +4449,11 @@ export class StoreInfo extends $tea.Model {
|
|
|
4449
4449
|
loginTenant?: string;
|
|
4450
4450
|
// 入驻时间
|
|
4451
4451
|
loginDate?: string;
|
|
4452
|
-
//
|
|
4452
|
+
// 结算支付宝账户,交易资金结算的具体支付宝账号,商户入驻时必填
|
|
4453
4453
|
alipayLogonId?: string;
|
|
4454
|
-
// 支付宝openId
|
|
4454
|
+
// 支付宝openId
|
|
4455
4455
|
infoSourceOpenId?: string;
|
|
4456
|
-
//
|
|
4456
|
+
// 签约支付宝账户,商户入驻时必填(接收支付宝下发的签约协议)
|
|
4457
4457
|
bindingAlipayLogonId?: string;
|
|
4458
4458
|
static names(): { [key: string]: string } {
|
|
4459
4459
|
return {
|
|
@@ -4981,6 +4981,43 @@ export class RtopCompanyAlarm extends $tea.Model {
|
|
|
4981
4981
|
}
|
|
4982
4982
|
}
|
|
4983
4983
|
|
|
4984
|
+
// 天枢系统-二级商户交易退款查询结果-分期付
|
|
4985
|
+
export class TradeRefundResult extends $tea.Model {
|
|
4986
|
+
// 退款请求编号
|
|
4987
|
+
requestNo: string;
|
|
4988
|
+
// 退款金额
|
|
4989
|
+
refundAmount: number;
|
|
4990
|
+
// 退款原因
|
|
4991
|
+
refundReason: string;
|
|
4992
|
+
// 退款状态
|
|
4993
|
+
refundStatus: string;
|
|
4994
|
+
// 退款失败原因
|
|
4995
|
+
refundFailReason: string;
|
|
4996
|
+
static names(): { [key: string]: string } {
|
|
4997
|
+
return {
|
|
4998
|
+
requestNo: 'request_no',
|
|
4999
|
+
refundAmount: 'refund_amount',
|
|
5000
|
+
refundReason: 'refund_reason',
|
|
5001
|
+
refundStatus: 'refund_status',
|
|
5002
|
+
refundFailReason: 'refund_fail_reason',
|
|
5003
|
+
};
|
|
5004
|
+
}
|
|
5005
|
+
|
|
5006
|
+
static types(): { [key: string]: any } {
|
|
5007
|
+
return {
|
|
5008
|
+
requestNo: 'string',
|
|
5009
|
+
refundAmount: 'number',
|
|
5010
|
+
refundReason: 'string',
|
|
5011
|
+
refundStatus: 'string',
|
|
5012
|
+
refundFailReason: 'string',
|
|
5013
|
+
};
|
|
5014
|
+
}
|
|
5015
|
+
|
|
5016
|
+
constructor(map?: { [key: string]: any }) {
|
|
5017
|
+
super(map);
|
|
5018
|
+
}
|
|
5019
|
+
}
|
|
5020
|
+
|
|
4984
5021
|
// 企业影响人数性别分布统计
|
|
4985
5022
|
export class RtopGenderDistribution extends $tea.Model {
|
|
4986
5023
|
// 统计值
|
|
@@ -5889,6 +5926,8 @@ export class NotifyBenefithubRiskLoginRequest extends $tea.Model {
|
|
|
5889
5926
|
productCode?: string;
|
|
5890
5927
|
// 场景配置信息字符串,用于透传
|
|
5891
5928
|
sceneConfig?: string;
|
|
5929
|
+
// 区分流量来源
|
|
5930
|
+
trafficSource?: string;
|
|
5892
5931
|
static names(): { [key: string]: string } {
|
|
5893
5932
|
return {
|
|
5894
5933
|
authToken: 'auth_token',
|
|
@@ -5898,6 +5937,7 @@ export class NotifyBenefithubRiskLoginRequest extends $tea.Model {
|
|
|
5898
5937
|
mobile: 'mobile',
|
|
5899
5938
|
productCode: 'product_code',
|
|
5900
5939
|
sceneConfig: 'scene_config',
|
|
5940
|
+
trafficSource: 'traffic_source',
|
|
5901
5941
|
};
|
|
5902
5942
|
}
|
|
5903
5943
|
|
|
@@ -5910,6 +5950,7 @@ export class NotifyBenefithubRiskLoginRequest extends $tea.Model {
|
|
|
5910
5950
|
mobile: 'string',
|
|
5911
5951
|
productCode: 'string',
|
|
5912
5952
|
sceneConfig: 'string',
|
|
5953
|
+
trafficSource: 'string',
|
|
5913
5954
|
};
|
|
5914
5955
|
}
|
|
5915
5956
|
|
|
@@ -13147,6 +13188,397 @@ export class CreateDubbridgeAlipayTradeResponse extends $tea.Model {
|
|
|
13147
13188
|
}
|
|
13148
13189
|
}
|
|
13149
13190
|
|
|
13191
|
+
export class CancelDubbridgeAlipayTradeRequest extends $tea.Model {
|
|
13192
|
+
// OAuth模式下的授权token
|
|
13193
|
+
authToken?: string;
|
|
13194
|
+
productInstanceId?: string;
|
|
13195
|
+
// 订单号
|
|
13196
|
+
bizOrderNo: string;
|
|
13197
|
+
// 导流平台
|
|
13198
|
+
trafficPlatform: string;
|
|
13199
|
+
static names(): { [key: string]: string } {
|
|
13200
|
+
return {
|
|
13201
|
+
authToken: 'auth_token',
|
|
13202
|
+
productInstanceId: 'product_instance_id',
|
|
13203
|
+
bizOrderNo: 'biz_order_no',
|
|
13204
|
+
trafficPlatform: 'traffic_platform',
|
|
13205
|
+
};
|
|
13206
|
+
}
|
|
13207
|
+
|
|
13208
|
+
static types(): { [key: string]: any } {
|
|
13209
|
+
return {
|
|
13210
|
+
authToken: 'string',
|
|
13211
|
+
productInstanceId: 'string',
|
|
13212
|
+
bizOrderNo: 'string',
|
|
13213
|
+
trafficPlatform: 'string',
|
|
13214
|
+
};
|
|
13215
|
+
}
|
|
13216
|
+
|
|
13217
|
+
constructor(map?: { [key: string]: any }) {
|
|
13218
|
+
super(map);
|
|
13219
|
+
}
|
|
13220
|
+
}
|
|
13221
|
+
|
|
13222
|
+
export class CancelDubbridgeAlipayTradeResponse extends $tea.Model {
|
|
13223
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
13224
|
+
reqMsgId?: string;
|
|
13225
|
+
// 结果码,一般OK表示调用成功
|
|
13226
|
+
resultCode?: string;
|
|
13227
|
+
// 异常信息的文本描述
|
|
13228
|
+
resultMsg?: string;
|
|
13229
|
+
// 订单号
|
|
13230
|
+
bizOrderNo?: string;
|
|
13231
|
+
// 订单状态
|
|
13232
|
+
// TRADE_WAIT_PAY(交易待支付)、
|
|
13233
|
+
// TRADE_CANCELED(未付款交易超时关闭)、
|
|
13234
|
+
// TRADE_SUCCESS(交易支付成功)、
|
|
13235
|
+
// TRADE_REFUND_SUCCESS(交易退款成功)
|
|
13236
|
+
//
|
|
13237
|
+
tradeStatus?: string;
|
|
13238
|
+
static names(): { [key: string]: string } {
|
|
13239
|
+
return {
|
|
13240
|
+
reqMsgId: 'req_msg_id',
|
|
13241
|
+
resultCode: 'result_code',
|
|
13242
|
+
resultMsg: 'result_msg',
|
|
13243
|
+
bizOrderNo: 'biz_order_no',
|
|
13244
|
+
tradeStatus: 'trade_status',
|
|
13245
|
+
};
|
|
13246
|
+
}
|
|
13247
|
+
|
|
13248
|
+
static types(): { [key: string]: any } {
|
|
13249
|
+
return {
|
|
13250
|
+
reqMsgId: 'string',
|
|
13251
|
+
resultCode: 'string',
|
|
13252
|
+
resultMsg: 'string',
|
|
13253
|
+
bizOrderNo: 'string',
|
|
13254
|
+
tradeStatus: 'string',
|
|
13255
|
+
};
|
|
13256
|
+
}
|
|
13257
|
+
|
|
13258
|
+
constructor(map?: { [key: string]: any }) {
|
|
13259
|
+
super(map);
|
|
13260
|
+
}
|
|
13261
|
+
}
|
|
13262
|
+
|
|
13263
|
+
export class QueryDubbridgeAlipayTradeRequest extends $tea.Model {
|
|
13264
|
+
// OAuth模式下的授权token
|
|
13265
|
+
authToken?: string;
|
|
13266
|
+
productInstanceId?: string;
|
|
13267
|
+
// 订单号
|
|
13268
|
+
bizOrderNo: string;
|
|
13269
|
+
// 导流平台
|
|
13270
|
+
trafficPlatform: string;
|
|
13271
|
+
static names(): { [key: string]: string } {
|
|
13272
|
+
return {
|
|
13273
|
+
authToken: 'auth_token',
|
|
13274
|
+
productInstanceId: 'product_instance_id',
|
|
13275
|
+
bizOrderNo: 'biz_order_no',
|
|
13276
|
+
trafficPlatform: 'traffic_platform',
|
|
13277
|
+
};
|
|
13278
|
+
}
|
|
13279
|
+
|
|
13280
|
+
static types(): { [key: string]: any } {
|
|
13281
|
+
return {
|
|
13282
|
+
authToken: 'string',
|
|
13283
|
+
productInstanceId: 'string',
|
|
13284
|
+
bizOrderNo: 'string',
|
|
13285
|
+
trafficPlatform: 'string',
|
|
13286
|
+
};
|
|
13287
|
+
}
|
|
13288
|
+
|
|
13289
|
+
constructor(map?: { [key: string]: any }) {
|
|
13290
|
+
super(map);
|
|
13291
|
+
}
|
|
13292
|
+
}
|
|
13293
|
+
|
|
13294
|
+
export class QueryDubbridgeAlipayTradeResponse extends $tea.Model {
|
|
13295
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
13296
|
+
reqMsgId?: string;
|
|
13297
|
+
// 结果码,一般OK表示调用成功
|
|
13298
|
+
resultCode?: string;
|
|
13299
|
+
// 异常信息的文本描述
|
|
13300
|
+
resultMsg?: string;
|
|
13301
|
+
// 订单状态
|
|
13302
|
+
// WAIT_BUYER_PAY(等待买家付款)、
|
|
13303
|
+
// TRADE_CLOSED(未付款交易超时关闭,或支付完成后全额退款)、
|
|
13304
|
+
// TRADE_SUCCESS(交易支付成功)、
|
|
13305
|
+
// TRADE_FINISHED(交易结束,不可退款)
|
|
13306
|
+
tradeStatus?: string;
|
|
13307
|
+
// 支付宝交易号
|
|
13308
|
+
tradeNo?: string;
|
|
13309
|
+
// 买家支付宝账号
|
|
13310
|
+
buyerLogonId?: string;
|
|
13311
|
+
// 支付金额
|
|
13312
|
+
payAmount?: string;
|
|
13313
|
+
// 支付时间
|
|
13314
|
+
payDate?: string;
|
|
13315
|
+
static names(): { [key: string]: string } {
|
|
13316
|
+
return {
|
|
13317
|
+
reqMsgId: 'req_msg_id',
|
|
13318
|
+
resultCode: 'result_code',
|
|
13319
|
+
resultMsg: 'result_msg',
|
|
13320
|
+
tradeStatus: 'trade_status',
|
|
13321
|
+
tradeNo: 'trade_no',
|
|
13322
|
+
buyerLogonId: 'buyer_logon_id',
|
|
13323
|
+
payAmount: 'pay_amount',
|
|
13324
|
+
payDate: 'pay_date',
|
|
13325
|
+
};
|
|
13326
|
+
}
|
|
13327
|
+
|
|
13328
|
+
static types(): { [key: string]: any } {
|
|
13329
|
+
return {
|
|
13330
|
+
reqMsgId: 'string',
|
|
13331
|
+
resultCode: 'string',
|
|
13332
|
+
resultMsg: 'string',
|
|
13333
|
+
tradeStatus: 'string',
|
|
13334
|
+
tradeNo: 'string',
|
|
13335
|
+
buyerLogonId: 'string',
|
|
13336
|
+
payAmount: 'string',
|
|
13337
|
+
payDate: 'string',
|
|
13338
|
+
};
|
|
13339
|
+
}
|
|
13340
|
+
|
|
13341
|
+
constructor(map?: { [key: string]: any }) {
|
|
13342
|
+
super(map);
|
|
13343
|
+
}
|
|
13344
|
+
}
|
|
13345
|
+
|
|
13346
|
+
export class RefundDubbridgeAlipayTradeRequest extends $tea.Model {
|
|
13347
|
+
// OAuth模式下的授权token
|
|
13348
|
+
authToken?: string;
|
|
13349
|
+
productInstanceId?: string;
|
|
13350
|
+
// 请求编号
|
|
13351
|
+
requestNo: string;
|
|
13352
|
+
// 订单号
|
|
13353
|
+
bizOrderNo: string;
|
|
13354
|
+
// 导流平台
|
|
13355
|
+
trafficPlatform: string;
|
|
13356
|
+
// 支付宝交易号
|
|
13357
|
+
tradeNo?: string;
|
|
13358
|
+
// 退款金额
|
|
13359
|
+
refundAmount: string;
|
|
13360
|
+
// 退款原因
|
|
13361
|
+
refundReason?: string;
|
|
13362
|
+
static names(): { [key: string]: string } {
|
|
13363
|
+
return {
|
|
13364
|
+
authToken: 'auth_token',
|
|
13365
|
+
productInstanceId: 'product_instance_id',
|
|
13366
|
+
requestNo: 'request_no',
|
|
13367
|
+
bizOrderNo: 'biz_order_no',
|
|
13368
|
+
trafficPlatform: 'traffic_platform',
|
|
13369
|
+
tradeNo: 'trade_no',
|
|
13370
|
+
refundAmount: 'refund_amount',
|
|
13371
|
+
refundReason: 'refund_reason',
|
|
13372
|
+
};
|
|
13373
|
+
}
|
|
13374
|
+
|
|
13375
|
+
static types(): { [key: string]: any } {
|
|
13376
|
+
return {
|
|
13377
|
+
authToken: 'string',
|
|
13378
|
+
productInstanceId: 'string',
|
|
13379
|
+
requestNo: 'string',
|
|
13380
|
+
bizOrderNo: 'string',
|
|
13381
|
+
trafficPlatform: 'string',
|
|
13382
|
+
tradeNo: 'string',
|
|
13383
|
+
refundAmount: 'string',
|
|
13384
|
+
refundReason: 'string',
|
|
13385
|
+
};
|
|
13386
|
+
}
|
|
13387
|
+
|
|
13388
|
+
constructor(map?: { [key: string]: any }) {
|
|
13389
|
+
super(map);
|
|
13390
|
+
}
|
|
13391
|
+
}
|
|
13392
|
+
|
|
13393
|
+
export class RefundDubbridgeAlipayTradeResponse extends $tea.Model {
|
|
13394
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
13395
|
+
reqMsgId?: string;
|
|
13396
|
+
// 结果码,一般OK表示调用成功
|
|
13397
|
+
resultCode?: string;
|
|
13398
|
+
// 异常信息的文本描述
|
|
13399
|
+
resultMsg?: string;
|
|
13400
|
+
// 订单状态
|
|
13401
|
+
// REFUNDING(交易退款中)、
|
|
13402
|
+
// REFUND_SUCCESS(交易退款成功)、
|
|
13403
|
+
// REFUND_FAIL(交易退款失败)
|
|
13404
|
+
refundStatus?: string;
|
|
13405
|
+
// 退款失败原因
|
|
13406
|
+
refundFailReason?: string;
|
|
13407
|
+
// 退款时间
|
|
13408
|
+
refundDate?: string;
|
|
13409
|
+
static names(): { [key: string]: string } {
|
|
13410
|
+
return {
|
|
13411
|
+
reqMsgId: 'req_msg_id',
|
|
13412
|
+
resultCode: 'result_code',
|
|
13413
|
+
resultMsg: 'result_msg',
|
|
13414
|
+
refundStatus: 'refund_status',
|
|
13415
|
+
refundFailReason: 'refund_fail_reason',
|
|
13416
|
+
refundDate: 'refund_date',
|
|
13417
|
+
};
|
|
13418
|
+
}
|
|
13419
|
+
|
|
13420
|
+
static types(): { [key: string]: any } {
|
|
13421
|
+
return {
|
|
13422
|
+
reqMsgId: 'string',
|
|
13423
|
+
resultCode: 'string',
|
|
13424
|
+
resultMsg: 'string',
|
|
13425
|
+
refundStatus: 'string',
|
|
13426
|
+
refundFailReason: 'string',
|
|
13427
|
+
refundDate: 'string',
|
|
13428
|
+
};
|
|
13429
|
+
}
|
|
13430
|
+
|
|
13431
|
+
constructor(map?: { [key: string]: any }) {
|
|
13432
|
+
super(map);
|
|
13433
|
+
}
|
|
13434
|
+
}
|
|
13435
|
+
|
|
13436
|
+
export class CloseDubbridgeAlipayTradeRequest extends $tea.Model {
|
|
13437
|
+
// OAuth模式下的授权token
|
|
13438
|
+
authToken?: string;
|
|
13439
|
+
productInstanceId?: string;
|
|
13440
|
+
// 资产方购物订单号
|
|
13441
|
+
bizOrderNo: string;
|
|
13442
|
+
// 导流平台
|
|
13443
|
+
trafficPlatform: string;
|
|
13444
|
+
// 操作人id
|
|
13445
|
+
operatorId?: string;
|
|
13446
|
+
static names(): { [key: string]: string } {
|
|
13447
|
+
return {
|
|
13448
|
+
authToken: 'auth_token',
|
|
13449
|
+
productInstanceId: 'product_instance_id',
|
|
13450
|
+
bizOrderNo: 'biz_order_no',
|
|
13451
|
+
trafficPlatform: 'traffic_platform',
|
|
13452
|
+
operatorId: 'operator_id',
|
|
13453
|
+
};
|
|
13454
|
+
}
|
|
13455
|
+
|
|
13456
|
+
static types(): { [key: string]: any } {
|
|
13457
|
+
return {
|
|
13458
|
+
authToken: 'string',
|
|
13459
|
+
productInstanceId: 'string',
|
|
13460
|
+
bizOrderNo: 'string',
|
|
13461
|
+
trafficPlatform: 'string',
|
|
13462
|
+
operatorId: 'string',
|
|
13463
|
+
};
|
|
13464
|
+
}
|
|
13465
|
+
|
|
13466
|
+
constructor(map?: { [key: string]: any }) {
|
|
13467
|
+
super(map);
|
|
13468
|
+
}
|
|
13469
|
+
}
|
|
13470
|
+
|
|
13471
|
+
export class CloseDubbridgeAlipayTradeResponse extends $tea.Model {
|
|
13472
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
13473
|
+
reqMsgId?: string;
|
|
13474
|
+
// 结果码,一般OK表示调用成功
|
|
13475
|
+
resultCode?: string;
|
|
13476
|
+
// 异常信息的文本描述
|
|
13477
|
+
resultMsg?: string;
|
|
13478
|
+
// 订单交易状态
|
|
13479
|
+
tradeStatus?: string;
|
|
13480
|
+
static names(): { [key: string]: string } {
|
|
13481
|
+
return {
|
|
13482
|
+
reqMsgId: 'req_msg_id',
|
|
13483
|
+
resultCode: 'result_code',
|
|
13484
|
+
resultMsg: 'result_msg',
|
|
13485
|
+
tradeStatus: 'trade_status',
|
|
13486
|
+
};
|
|
13487
|
+
}
|
|
13488
|
+
|
|
13489
|
+
static types(): { [key: string]: any } {
|
|
13490
|
+
return {
|
|
13491
|
+
reqMsgId: 'string',
|
|
13492
|
+
resultCode: 'string',
|
|
13493
|
+
resultMsg: 'string',
|
|
13494
|
+
tradeStatus: 'string',
|
|
13495
|
+
};
|
|
13496
|
+
}
|
|
13497
|
+
|
|
13498
|
+
constructor(map?: { [key: string]: any }) {
|
|
13499
|
+
super(map);
|
|
13500
|
+
}
|
|
13501
|
+
}
|
|
13502
|
+
|
|
13503
|
+
export class QueryDubbridgeAlipayRefundRequest extends $tea.Model {
|
|
13504
|
+
// OAuth模式下的授权token
|
|
13505
|
+
authToken?: string;
|
|
13506
|
+
productInstanceId?: string;
|
|
13507
|
+
// 退款请求编号
|
|
13508
|
+
requestNo: string;
|
|
13509
|
+
// 商家订单编号
|
|
13510
|
+
bizOrderNo: string;
|
|
13511
|
+
// 导流平台
|
|
13512
|
+
trafficPlatform: string;
|
|
13513
|
+
// 支付宝交易号
|
|
13514
|
+
tradeNo?: string;
|
|
13515
|
+
static names(): { [key: string]: string } {
|
|
13516
|
+
return {
|
|
13517
|
+
authToken: 'auth_token',
|
|
13518
|
+
productInstanceId: 'product_instance_id',
|
|
13519
|
+
requestNo: 'request_no',
|
|
13520
|
+
bizOrderNo: 'biz_order_no',
|
|
13521
|
+
trafficPlatform: 'traffic_platform',
|
|
13522
|
+
tradeNo: 'trade_no',
|
|
13523
|
+
};
|
|
13524
|
+
}
|
|
13525
|
+
|
|
13526
|
+
static types(): { [key: string]: any } {
|
|
13527
|
+
return {
|
|
13528
|
+
authToken: 'string',
|
|
13529
|
+
productInstanceId: 'string',
|
|
13530
|
+
requestNo: 'string',
|
|
13531
|
+
bizOrderNo: 'string',
|
|
13532
|
+
trafficPlatform: 'string',
|
|
13533
|
+
tradeNo: 'string',
|
|
13534
|
+
};
|
|
13535
|
+
}
|
|
13536
|
+
|
|
13537
|
+
constructor(map?: { [key: string]: any }) {
|
|
13538
|
+
super(map);
|
|
13539
|
+
}
|
|
13540
|
+
}
|
|
13541
|
+
|
|
13542
|
+
export class QueryDubbridgeAlipayRefundResponse extends $tea.Model {
|
|
13543
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
13544
|
+
reqMsgId?: string;
|
|
13545
|
+
// 结果码,一般OK表示调用成功
|
|
13546
|
+
resultCode?: string;
|
|
13547
|
+
// 异常信息的文本描述
|
|
13548
|
+
resultMsg?: string;
|
|
13549
|
+
// 退款状态 REFUNDING(交易退款中)、 REFUND_SUCCESS(交易退款成功)、 REFUND_FAIL(交易退款失败)
|
|
13550
|
+
refundStatus?: string;
|
|
13551
|
+
// 退款失败原因
|
|
13552
|
+
refundFailReason?: string;
|
|
13553
|
+
// 退款时间
|
|
13554
|
+
refundDate?: string;
|
|
13555
|
+
static names(): { [key: string]: string } {
|
|
13556
|
+
return {
|
|
13557
|
+
reqMsgId: 'req_msg_id',
|
|
13558
|
+
resultCode: 'result_code',
|
|
13559
|
+
resultMsg: 'result_msg',
|
|
13560
|
+
refundStatus: 'refund_status',
|
|
13561
|
+
refundFailReason: 'refund_fail_reason',
|
|
13562
|
+
refundDate: 'refund_date',
|
|
13563
|
+
};
|
|
13564
|
+
}
|
|
13565
|
+
|
|
13566
|
+
static types(): { [key: string]: any } {
|
|
13567
|
+
return {
|
|
13568
|
+
reqMsgId: 'string',
|
|
13569
|
+
resultCode: 'string',
|
|
13570
|
+
resultMsg: 'string',
|
|
13571
|
+
refundStatus: 'string',
|
|
13572
|
+
refundFailReason: 'string',
|
|
13573
|
+
refundDate: 'string',
|
|
13574
|
+
};
|
|
13575
|
+
}
|
|
13576
|
+
|
|
13577
|
+
constructor(map?: { [key: string]: any }) {
|
|
13578
|
+
super(map);
|
|
13579
|
+
}
|
|
13580
|
+
}
|
|
13581
|
+
|
|
13150
13582
|
export class VerifyFinserviceZhimaIdentifyRequest extends $tea.Model {
|
|
13151
13583
|
// OAuth模式下的授权token
|
|
13152
13584
|
authToken?: string;
|
|
@@ -22042,6 +22474,90 @@ export class QueryAirsaasSecurityPolicyResponse extends $tea.Model {
|
|
|
22042
22474
|
}
|
|
22043
22475
|
}
|
|
22044
22476
|
|
|
22477
|
+
export class QueryTdisaasairSecurityPolicyRequest extends $tea.Model {
|
|
22478
|
+
// OAuth模式下的授权token
|
|
22479
|
+
authToken?: string;
|
|
22480
|
+
productInstanceId?: string;
|
|
22481
|
+
// 风控事件咨询查询入参
|
|
22482
|
+
eventInfo: EventInfo;
|
|
22483
|
+
// 请求处理方式
|
|
22484
|
+
//
|
|
22485
|
+
riskType: string;
|
|
22486
|
+
static names(): { [key: string]: string } {
|
|
22487
|
+
return {
|
|
22488
|
+
authToken: 'auth_token',
|
|
22489
|
+
productInstanceId: 'product_instance_id',
|
|
22490
|
+
eventInfo: 'event_info',
|
|
22491
|
+
riskType: 'risk_type',
|
|
22492
|
+
};
|
|
22493
|
+
}
|
|
22494
|
+
|
|
22495
|
+
static types(): { [key: string]: any } {
|
|
22496
|
+
return {
|
|
22497
|
+
authToken: 'string',
|
|
22498
|
+
productInstanceId: 'string',
|
|
22499
|
+
eventInfo: EventInfo,
|
|
22500
|
+
riskType: 'string',
|
|
22501
|
+
};
|
|
22502
|
+
}
|
|
22503
|
+
|
|
22504
|
+
constructor(map?: { [key: string]: any }) {
|
|
22505
|
+
super(map);
|
|
22506
|
+
}
|
|
22507
|
+
}
|
|
22508
|
+
|
|
22509
|
+
export class QueryTdisaasairSecurityPolicyResponse extends $tea.Model {
|
|
22510
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
22511
|
+
reqMsgId?: string;
|
|
22512
|
+
// 结果码,一般OK表示调用成功
|
|
22513
|
+
resultCode?: string;
|
|
22514
|
+
// 异常信息的文本描述
|
|
22515
|
+
resultMsg?: string;
|
|
22516
|
+
// 场景分
|
|
22517
|
+
modelDetails?: ModelDetails[];
|
|
22518
|
+
// 安全请求id
|
|
22519
|
+
//
|
|
22520
|
+
securityId?: string;
|
|
22521
|
+
// 策略结果
|
|
22522
|
+
//
|
|
22523
|
+
securityResult?: string;
|
|
22524
|
+
// 策略结果详情
|
|
22525
|
+
//
|
|
22526
|
+
strategyDetails?: StrategyDetails[];
|
|
22527
|
+
// 决策流信息
|
|
22528
|
+
//
|
|
22529
|
+
dfSceneInfos?: DfSceneInfos[];
|
|
22530
|
+
static names(): { [key: string]: string } {
|
|
22531
|
+
return {
|
|
22532
|
+
reqMsgId: 'req_msg_id',
|
|
22533
|
+
resultCode: 'result_code',
|
|
22534
|
+
resultMsg: 'result_msg',
|
|
22535
|
+
modelDetails: 'model_details',
|
|
22536
|
+
securityId: 'security_id',
|
|
22537
|
+
securityResult: 'security_result',
|
|
22538
|
+
strategyDetails: 'strategy_details',
|
|
22539
|
+
dfSceneInfos: 'df_scene_infos',
|
|
22540
|
+
};
|
|
22541
|
+
}
|
|
22542
|
+
|
|
22543
|
+
static types(): { [key: string]: any } {
|
|
22544
|
+
return {
|
|
22545
|
+
reqMsgId: 'string',
|
|
22546
|
+
resultCode: 'string',
|
|
22547
|
+
resultMsg: 'string',
|
|
22548
|
+
modelDetails: { 'type': 'array', 'itemType': ModelDetails },
|
|
22549
|
+
securityId: 'string',
|
|
22550
|
+
securityResult: 'string',
|
|
22551
|
+
strategyDetails: { 'type': 'array', 'itemType': StrategyDetails },
|
|
22552
|
+
dfSceneInfos: { 'type': 'array', 'itemType': DfSceneInfos },
|
|
22553
|
+
};
|
|
22554
|
+
}
|
|
22555
|
+
|
|
22556
|
+
constructor(map?: { [key: string]: any }) {
|
|
22557
|
+
super(map);
|
|
22558
|
+
}
|
|
22559
|
+
}
|
|
22560
|
+
|
|
22045
22561
|
export class UploadUmktParamsFileRequest extends $tea.Model {
|
|
22046
22562
|
// OAuth模式下的授权token
|
|
22047
22563
|
authToken?: string;
|
|
@@ -25564,7 +26080,7 @@ export default class Client {
|
|
|
25564
26080
|
req_msg_id: AntchainUtil.getNonce(),
|
|
25565
26081
|
access_key: this._accessKeyId,
|
|
25566
26082
|
base_sdk_version: "TeaSDK-2.0",
|
|
25567
|
-
sdk_version: "1.
|
|
26083
|
+
sdk_version: "1.28.7",
|
|
25568
26084
|
_prod_code: "RISKPLUS",
|
|
25569
26085
|
_prod_channel: "undefined",
|
|
25570
26086
|
};
|
|
@@ -27306,6 +27822,101 @@ export default class Client {
|
|
|
27306
27822
|
return $tea.cast<CreateDubbridgeAlipayTradeResponse>(await this.doRequest("1.0", "riskplus.dubbridge.alipay.trade.create", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CreateDubbridgeAlipayTradeResponse({}));
|
|
27307
27823
|
}
|
|
27308
27824
|
|
|
27825
|
+
/**
|
|
27826
|
+
* Description: 二级商户交易取消
|
|
27827
|
+
* Summary: 天枢系统-二级商户交易取消-分期付
|
|
27828
|
+
*/
|
|
27829
|
+
async cancelDubbridgeAlipayTrade(request: CancelDubbridgeAlipayTradeRequest): Promise<CancelDubbridgeAlipayTradeResponse> {
|
|
27830
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
27831
|
+
let headers : {[key: string ]: string} = { };
|
|
27832
|
+
return await this.cancelDubbridgeAlipayTradeEx(request, headers, runtime);
|
|
27833
|
+
}
|
|
27834
|
+
|
|
27835
|
+
/**
|
|
27836
|
+
* Description: 二级商户交易取消
|
|
27837
|
+
* Summary: 天枢系统-二级商户交易取消-分期付
|
|
27838
|
+
*/
|
|
27839
|
+
async cancelDubbridgeAlipayTradeEx(request: CancelDubbridgeAlipayTradeRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CancelDubbridgeAlipayTradeResponse> {
|
|
27840
|
+
Util.validateModel(request);
|
|
27841
|
+
return $tea.cast<CancelDubbridgeAlipayTradeResponse>(await this.doRequest("1.0", "riskplus.dubbridge.alipay.trade.cancel", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CancelDubbridgeAlipayTradeResponse({}));
|
|
27842
|
+
}
|
|
27843
|
+
|
|
27844
|
+
/**
|
|
27845
|
+
* Description: 二级商户交易查询
|
|
27846
|
+
* Summary: 天枢系统-二级商户交易查询-分期付
|
|
27847
|
+
*/
|
|
27848
|
+
async queryDubbridgeAlipayTrade(request: QueryDubbridgeAlipayTradeRequest): Promise<QueryDubbridgeAlipayTradeResponse> {
|
|
27849
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
27850
|
+
let headers : {[key: string ]: string} = { };
|
|
27851
|
+
return await this.queryDubbridgeAlipayTradeEx(request, headers, runtime);
|
|
27852
|
+
}
|
|
27853
|
+
|
|
27854
|
+
/**
|
|
27855
|
+
* Description: 二级商户交易查询
|
|
27856
|
+
* Summary: 天枢系统-二级商户交易查询-分期付
|
|
27857
|
+
*/
|
|
27858
|
+
async queryDubbridgeAlipayTradeEx(request: QueryDubbridgeAlipayTradeRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryDubbridgeAlipayTradeResponse> {
|
|
27859
|
+
Util.validateModel(request);
|
|
27860
|
+
return $tea.cast<QueryDubbridgeAlipayTradeResponse>(await this.doRequest("1.0", "riskplus.dubbridge.alipay.trade.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDubbridgeAlipayTradeResponse({}));
|
|
27861
|
+
}
|
|
27862
|
+
|
|
27863
|
+
/**
|
|
27864
|
+
* Description: 天枢系统-二级商户交易退款-分期付
|
|
27865
|
+
* Summary: 天枢系统-二级商户交易退款-分期付
|
|
27866
|
+
*/
|
|
27867
|
+
async refundDubbridgeAlipayTrade(request: RefundDubbridgeAlipayTradeRequest): Promise<RefundDubbridgeAlipayTradeResponse> {
|
|
27868
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
27869
|
+
let headers : {[key: string ]: string} = { };
|
|
27870
|
+
return await this.refundDubbridgeAlipayTradeEx(request, headers, runtime);
|
|
27871
|
+
}
|
|
27872
|
+
|
|
27873
|
+
/**
|
|
27874
|
+
* Description: 天枢系统-二级商户交易退款-分期付
|
|
27875
|
+
* Summary: 天枢系统-二级商户交易退款-分期付
|
|
27876
|
+
*/
|
|
27877
|
+
async refundDubbridgeAlipayTradeEx(request: RefundDubbridgeAlipayTradeRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<RefundDubbridgeAlipayTradeResponse> {
|
|
27878
|
+
Util.validateModel(request);
|
|
27879
|
+
return $tea.cast<RefundDubbridgeAlipayTradeResponse>(await this.doRequest("1.0", "riskplus.dubbridge.alipay.trade.refund", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new RefundDubbridgeAlipayTradeResponse({}));
|
|
27880
|
+
}
|
|
27881
|
+
|
|
27882
|
+
/**
|
|
27883
|
+
* Description: 天枢系统-二级商户交易关闭-分期付
|
|
27884
|
+
* Summary: 天枢系统-二级商户交易关闭-分期付
|
|
27885
|
+
*/
|
|
27886
|
+
async closeDubbridgeAlipayTrade(request: CloseDubbridgeAlipayTradeRequest): Promise<CloseDubbridgeAlipayTradeResponse> {
|
|
27887
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
27888
|
+
let headers : {[key: string ]: string} = { };
|
|
27889
|
+
return await this.closeDubbridgeAlipayTradeEx(request, headers, runtime);
|
|
27890
|
+
}
|
|
27891
|
+
|
|
27892
|
+
/**
|
|
27893
|
+
* Description: 天枢系统-二级商户交易关闭-分期付
|
|
27894
|
+
* Summary: 天枢系统-二级商户交易关闭-分期付
|
|
27895
|
+
*/
|
|
27896
|
+
async closeDubbridgeAlipayTradeEx(request: CloseDubbridgeAlipayTradeRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CloseDubbridgeAlipayTradeResponse> {
|
|
27897
|
+
Util.validateModel(request);
|
|
27898
|
+
return $tea.cast<CloseDubbridgeAlipayTradeResponse>(await this.doRequest("1.0", "riskplus.dubbridge.alipay.trade.close", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CloseDubbridgeAlipayTradeResponse({}));
|
|
27899
|
+
}
|
|
27900
|
+
|
|
27901
|
+
/**
|
|
27902
|
+
* Description: 天枢系统-二级商户交易退款查询-分期付
|
|
27903
|
+
* Summary: 天枢系统-二级商户交易退款查询-分期付
|
|
27904
|
+
*/
|
|
27905
|
+
async queryDubbridgeAlipayRefund(request: QueryDubbridgeAlipayRefundRequest): Promise<QueryDubbridgeAlipayRefundResponse> {
|
|
27906
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
27907
|
+
let headers : {[key: string ]: string} = { };
|
|
27908
|
+
return await this.queryDubbridgeAlipayRefundEx(request, headers, runtime);
|
|
27909
|
+
}
|
|
27910
|
+
|
|
27911
|
+
/**
|
|
27912
|
+
* Description: 天枢系统-二级商户交易退款查询-分期付
|
|
27913
|
+
* Summary: 天枢系统-二级商户交易退款查询-分期付
|
|
27914
|
+
*/
|
|
27915
|
+
async queryDubbridgeAlipayRefundEx(request: QueryDubbridgeAlipayRefundRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryDubbridgeAlipayRefundResponse> {
|
|
27916
|
+
Util.validateModel(request);
|
|
27917
|
+
return $tea.cast<QueryDubbridgeAlipayRefundResponse>(await this.doRequest("1.0", "riskplus.dubbridge.alipay.refund.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDubbridgeAlipayRefundResponse({}));
|
|
27918
|
+
}
|
|
27919
|
+
|
|
27309
27920
|
/**
|
|
27310
27921
|
* Description: 四要素认证首先调用此接口
|
|
27311
27922
|
* Summary: 芝麻四要素接口
|
|
@@ -29612,6 +30223,25 @@ export default class Client {
|
|
|
29612
30223
|
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
30224
|
}
|
|
29614
30225
|
|
|
30226
|
+
/**
|
|
30227
|
+
* Description: saas风险咨询,决策流模式
|
|
30228
|
+
* Summary: saas风险咨询-air引擎
|
|
30229
|
+
*/
|
|
30230
|
+
async queryTdisaasairSecurityPolicy(request: QueryTdisaasairSecurityPolicyRequest): Promise<QueryTdisaasairSecurityPolicyResponse> {
|
|
30231
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
30232
|
+
let headers : {[key: string ]: string} = { };
|
|
30233
|
+
return await this.queryTdisaasairSecurityPolicyEx(request, headers, runtime);
|
|
30234
|
+
}
|
|
30235
|
+
|
|
30236
|
+
/**
|
|
30237
|
+
* Description: saas风险咨询,决策流模式
|
|
30238
|
+
* Summary: saas风险咨询-air引擎
|
|
30239
|
+
*/
|
|
30240
|
+
async queryTdisaasairSecurityPolicyEx(request: QueryTdisaasairSecurityPolicyRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryTdisaasairSecurityPolicyResponse> {
|
|
30241
|
+
Util.validateModel(request);
|
|
30242
|
+
return $tea.cast<QueryTdisaasairSecurityPolicyResponse>(await this.doRequest("1.0", "riskplus.tdisaasair.security.policy.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryTdisaasairSecurityPolicyResponse({}));
|
|
30243
|
+
}
|
|
30244
|
+
|
|
29615
30245
|
/**
|
|
29616
30246
|
* Description: 营销盾批量参数文件上传接口
|
|
29617
30247
|
* Summary: 营销盾参数文件上传
|