@antchain/riskplus 1.26.9 → 1.29.2

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/src/client.ts CHANGED
@@ -1760,6 +1760,43 @@ export class RuntimeResult extends $tea.Model {
1760
1760
  }
1761
1761
  }
1762
1762
 
1763
+ // qmp分层信息
1764
+ export class DecisionInfo extends $tea.Model {
1765
+ // 状态
1766
+ status: string;
1767
+ // 计划配置ID
1768
+ offlineDecisionPlanId: number;
1769
+ // 总数量
1770
+ totalNum: number;
1771
+ // 分层结果数
1772
+ decisionNum: number;
1773
+ // 文件路径
1774
+ fileUrl: string;
1775
+ static names(): { [key: string]: string } {
1776
+ return {
1777
+ status: 'status',
1778
+ offlineDecisionPlanId: 'offline_decision_plan_id',
1779
+ totalNum: 'total_num',
1780
+ decisionNum: 'decision_num',
1781
+ fileUrl: 'file_url',
1782
+ };
1783
+ }
1784
+
1785
+ static types(): { [key: string]: any } {
1786
+ return {
1787
+ status: 'string',
1788
+ offlineDecisionPlanId: 'number',
1789
+ totalNum: 'number',
1790
+ decisionNum: 'number',
1791
+ fileUrl: 'string',
1792
+ };
1793
+ }
1794
+
1795
+ constructor(map?: { [key: string]: any }) {
1796
+ super(map);
1797
+ }
1798
+ }
1799
+
1763
1800
  // 监测企业的特征信息
1764
1801
  export class RtopMonitorCompanyFeature extends $tea.Model {
1765
1802
  // 特征的描述
@@ -4449,11 +4486,11 @@ export class StoreInfo extends $tea.Model {
4449
4486
  loginTenant?: string;
4450
4487
  // 入驻时间
4451
4488
  loginDate?: string;
4452
- // 结算支付宝账户,交易资金结算的具体支付宝账号,商户入驻时需填写
4489
+ // 结算支付宝账户,交易资金结算的具体支付宝账号,商户入驻时必填
4453
4490
  alipayLogonId?: string;
4454
- // 支付宝openId,商户入驻时(非必填)
4491
+ // 支付宝openId
4455
4492
  infoSourceOpenId?: string;
4456
- // 签约支付宝账户,商户入驻时(非必填)
4493
+ // 签约支付宝账户,商户入驻时必填(接收支付宝下发的签约协议)
4457
4494
  bindingAlipayLogonId?: string;
4458
4495
  static names(): { [key: string]: string } {
4459
4496
  return {
@@ -4981,6 +5018,43 @@ export class RtopCompanyAlarm extends $tea.Model {
4981
5018
  }
4982
5019
  }
4983
5020
 
5021
+ // 天枢系统-二级商户交易退款查询结果-分期付
5022
+ export class TradeRefundResult extends $tea.Model {
5023
+ // 退款请求编号
5024
+ requestNo: string;
5025
+ // 退款金额
5026
+ refundAmount: number;
5027
+ // 退款原因
5028
+ refundReason: string;
5029
+ // 退款状态
5030
+ refundStatus: string;
5031
+ // 退款失败原因
5032
+ refundFailReason: string;
5033
+ static names(): { [key: string]: string } {
5034
+ return {
5035
+ requestNo: 'request_no',
5036
+ refundAmount: 'refund_amount',
5037
+ refundReason: 'refund_reason',
5038
+ refundStatus: 'refund_status',
5039
+ refundFailReason: 'refund_fail_reason',
5040
+ };
5041
+ }
5042
+
5043
+ static types(): { [key: string]: any } {
5044
+ return {
5045
+ requestNo: 'string',
5046
+ refundAmount: 'number',
5047
+ refundReason: 'string',
5048
+ refundStatus: 'string',
5049
+ refundFailReason: 'string',
5050
+ };
5051
+ }
5052
+
5053
+ constructor(map?: { [key: string]: any }) {
5054
+ super(map);
5055
+ }
5056
+ }
5057
+
4984
5058
  // 企业影响人数性别分布统计
4985
5059
  export class RtopGenderDistribution extends $tea.Model {
4986
5060
  // 统计值
@@ -5889,6 +5963,8 @@ export class NotifyBenefithubRiskLoginRequest extends $tea.Model {
5889
5963
  productCode?: string;
5890
5964
  // 场景配置信息字符串,用于透传
5891
5965
  sceneConfig?: string;
5966
+ // 区分流量来源
5967
+ trafficSource?: string;
5892
5968
  static names(): { [key: string]: string } {
5893
5969
  return {
5894
5970
  authToken: 'auth_token',
@@ -5898,6 +5974,7 @@ export class NotifyBenefithubRiskLoginRequest extends $tea.Model {
5898
5974
  mobile: 'mobile',
5899
5975
  productCode: 'product_code',
5900
5976
  sceneConfig: 'scene_config',
5977
+ trafficSource: 'traffic_source',
5901
5978
  };
5902
5979
  }
5903
5980
 
@@ -5910,6 +5987,7 @@ export class NotifyBenefithubRiskLoginRequest extends $tea.Model {
5910
5987
  mobile: 'string',
5911
5988
  productCode: 'string',
5912
5989
  sceneConfig: 'string',
5990
+ trafficSource: 'string',
5913
5991
  };
5914
5992
  }
5915
5993
 
@@ -12536,6 +12614,9 @@ export class QueryDubbridgeInstallmentCreditamtResponse extends $tea.Model {
12536
12614
  abbreFundName?: string;
12537
12615
  // 1:现金贷、2:分期付
12538
12616
  prodType?: string;
12617
+ // Y- 可用
12618
+ // N- 不可用
12619
+ installmentStatus?: string;
12539
12620
  static names(): { [key: string]: string } {
12540
12621
  return {
12541
12622
  reqMsgId: 'req_msg_id',
@@ -12551,6 +12632,7 @@ export class QueryDubbridgeInstallmentCreditamtResponse extends $tea.Model {
12551
12632
  fundCode: 'fund_code',
12552
12633
  abbreFundName: 'abbre_fund_name',
12553
12634
  prodType: 'prod_type',
12635
+ installmentStatus: 'installment_status',
12554
12636
  };
12555
12637
  }
12556
12638
 
@@ -12569,6 +12651,7 @@ export class QueryDubbridgeInstallmentCreditamtResponse extends $tea.Model {
12569
12651
  fundCode: 'string',
12570
12652
  abbreFundName: 'string',
12571
12653
  prodType: 'string',
12654
+ installmentStatus: 'string',
12572
12655
  };
12573
12656
  }
12574
12657
 
@@ -12858,9 +12941,9 @@ export class UploadDubbridgeAlipayImageRequest extends $tea.Model {
12858
12941
  // 20: 门头照
12859
12942
  // 21: 内景照
12860
12943
  imageCategory: string;
12861
- // 文件base64字符串,最大10M;(建议)
12944
+ // 文件base64字符串,最大10M
12862
12945
  imageContent?: string;
12863
- // 图片文件路径
12946
+ // 图片文件路径,(建议),http、https为前缀
12864
12947
  imagePath?: string;
12865
12948
  // 图片格式,
12866
12949
  // 支持格式:bmp、jpg、jpeg、png、gif
@@ -13032,21 +13115,416 @@ export class QueryDubbridgeAlipayMerchantRequest extends $tea.Model {
13032
13115
  }
13033
13116
  }
13034
13117
 
13035
- export class QueryDubbridgeAlipayMerchantResponse extends $tea.Model {
13118
+ export class QueryDubbridgeAlipayMerchantResponse extends $tea.Model {
13119
+ // 请求唯一ID,用于链路跟踪和问题排查
13120
+ reqMsgId?: string;
13121
+ // 结果码,一般OK表示调用成功
13122
+ resultCode?: string;
13123
+ // 异常信息的文本描述
13124
+ resultMsg?: string;
13125
+ // 入驻结果信息
13126
+ subMerchantOrder?: SubMerchantOrder;
13127
+ static names(): { [key: string]: string } {
13128
+ return {
13129
+ reqMsgId: 'req_msg_id',
13130
+ resultCode: 'result_code',
13131
+ resultMsg: 'result_msg',
13132
+ subMerchantOrder: 'sub_merchant_order',
13133
+ };
13134
+ }
13135
+
13136
+ static types(): { [key: string]: any } {
13137
+ return {
13138
+ reqMsgId: 'string',
13139
+ resultCode: 'string',
13140
+ resultMsg: 'string',
13141
+ subMerchantOrder: SubMerchantOrder,
13142
+ };
13143
+ }
13144
+
13145
+ constructor(map?: { [key: string]: any }) {
13146
+ super(map);
13147
+ }
13148
+ }
13149
+
13150
+ export class CreateDubbridgeAlipayTradeRequest extends $tea.Model {
13151
+ // OAuth模式下的授权token
13152
+ authToken?: string;
13153
+ productInstanceId?: string;
13154
+ // request请求单号,每次请求唯一,如uuid
13155
+ orderNo: string;
13156
+ // 门店所属子品牌
13157
+ trafficPlatform: string;
13158
+ // 订单归属门店id
13159
+ storeId: string;
13160
+ // 订单车辆信息
13161
+ vehicleInfo: VehicleInfo;
13162
+ // 订单绝对超时时间 yyyy-MM-dd HH:mm:ss,支付宝结算生成订单二维码时传值(非必填,优先于 timeout_express)
13163
+ timeExpire?: string;
13164
+ // 订单相对超时时间,从预下单请求时间开始计算,该笔订单允许的最晚付款时间,逾期将关闭交易(非必填)
13165
+ timeoutExpress?: string;
13166
+ static names(): { [key: string]: string } {
13167
+ return {
13168
+ authToken: 'auth_token',
13169
+ productInstanceId: 'product_instance_id',
13170
+ orderNo: 'order_no',
13171
+ trafficPlatform: 'traffic_platform',
13172
+ storeId: 'store_id',
13173
+ vehicleInfo: 'vehicle_info',
13174
+ timeExpire: 'time_expire',
13175
+ timeoutExpress: 'timeout_express',
13176
+ };
13177
+ }
13178
+
13179
+ static types(): { [key: string]: any } {
13180
+ return {
13181
+ authToken: 'string',
13182
+ productInstanceId: 'string',
13183
+ orderNo: 'string',
13184
+ trafficPlatform: 'string',
13185
+ storeId: 'string',
13186
+ vehicleInfo: VehicleInfo,
13187
+ timeExpire: 'string',
13188
+ timeoutExpress: 'string',
13189
+ };
13190
+ }
13191
+
13192
+ constructor(map?: { [key: string]: any }) {
13193
+ super(map);
13194
+ }
13195
+ }
13196
+
13197
+ export class CreateDubbridgeAlipayTradeResponse extends $tea.Model {
13198
+ // 请求唯一ID,用于链路跟踪和问题排查
13199
+ reqMsgId?: string;
13200
+ // 结果码,一般OK表示调用成功
13201
+ resultCode?: string;
13202
+ // 异常信息的文本描述
13203
+ resultMsg?: string;
13204
+ // 资产方购物订单号
13205
+ bizOrderNo?: string;
13206
+ // 订单二维码码串,支付宝预下单生成的二维码码串,有效时间2小时
13207
+ qrCode?: string;
13208
+ static names(): { [key: string]: string } {
13209
+ return {
13210
+ reqMsgId: 'req_msg_id',
13211
+ resultCode: 'result_code',
13212
+ resultMsg: 'result_msg',
13213
+ bizOrderNo: 'biz_order_no',
13214
+ qrCode: 'qr_code',
13215
+ };
13216
+ }
13217
+
13218
+ static types(): { [key: string]: any } {
13219
+ return {
13220
+ reqMsgId: 'string',
13221
+ resultCode: 'string',
13222
+ resultMsg: 'string',
13223
+ bizOrderNo: 'string',
13224
+ qrCode: 'string',
13225
+ };
13226
+ }
13227
+
13228
+ constructor(map?: { [key: string]: any }) {
13229
+ super(map);
13230
+ }
13231
+ }
13232
+
13233
+ export class CancelDubbridgeAlipayTradeRequest extends $tea.Model {
13234
+ // OAuth模式下的授权token
13235
+ authToken?: string;
13236
+ productInstanceId?: string;
13237
+ // 订单号
13238
+ bizOrderNo: string;
13239
+ // 导流平台
13240
+ trafficPlatform: string;
13241
+ static names(): { [key: string]: string } {
13242
+ return {
13243
+ authToken: 'auth_token',
13244
+ productInstanceId: 'product_instance_id',
13245
+ bizOrderNo: 'biz_order_no',
13246
+ trafficPlatform: 'traffic_platform',
13247
+ };
13248
+ }
13249
+
13250
+ static types(): { [key: string]: any } {
13251
+ return {
13252
+ authToken: 'string',
13253
+ productInstanceId: 'string',
13254
+ bizOrderNo: 'string',
13255
+ trafficPlatform: 'string',
13256
+ };
13257
+ }
13258
+
13259
+ constructor(map?: { [key: string]: any }) {
13260
+ super(map);
13261
+ }
13262
+ }
13263
+
13264
+ export class CancelDubbridgeAlipayTradeResponse extends $tea.Model {
13265
+ // 请求唯一ID,用于链路跟踪和问题排查
13266
+ reqMsgId?: string;
13267
+ // 结果码,一般OK表示调用成功
13268
+ resultCode?: string;
13269
+ // 异常信息的文本描述
13270
+ resultMsg?: string;
13271
+ // 订单号
13272
+ bizOrderNo?: string;
13273
+ // 订单状态
13274
+ // TRADE_WAIT_PAY(交易待支付)、
13275
+ // TRADE_CANCELED(未付款交易超时关闭)、
13276
+ // TRADE_SUCCESS(交易支付成功)、
13277
+ // TRADE_REFUND_SUCCESS(交易退款成功)
13278
+ //
13279
+ tradeStatus?: string;
13280
+ static names(): { [key: string]: string } {
13281
+ return {
13282
+ reqMsgId: 'req_msg_id',
13283
+ resultCode: 'result_code',
13284
+ resultMsg: 'result_msg',
13285
+ bizOrderNo: 'biz_order_no',
13286
+ tradeStatus: 'trade_status',
13287
+ };
13288
+ }
13289
+
13290
+ static types(): { [key: string]: any } {
13291
+ return {
13292
+ reqMsgId: 'string',
13293
+ resultCode: 'string',
13294
+ resultMsg: 'string',
13295
+ bizOrderNo: 'string',
13296
+ tradeStatus: 'string',
13297
+ };
13298
+ }
13299
+
13300
+ constructor(map?: { [key: string]: any }) {
13301
+ super(map);
13302
+ }
13303
+ }
13304
+
13305
+ export class QueryDubbridgeAlipayTradeRequest extends $tea.Model {
13306
+ // OAuth模式下的授权token
13307
+ authToken?: string;
13308
+ productInstanceId?: string;
13309
+ // 订单号
13310
+ bizOrderNo: string;
13311
+ // 导流平台
13312
+ trafficPlatform: string;
13313
+ static names(): { [key: string]: string } {
13314
+ return {
13315
+ authToken: 'auth_token',
13316
+ productInstanceId: 'product_instance_id',
13317
+ bizOrderNo: 'biz_order_no',
13318
+ trafficPlatform: 'traffic_platform',
13319
+ };
13320
+ }
13321
+
13322
+ static types(): { [key: string]: any } {
13323
+ return {
13324
+ authToken: 'string',
13325
+ productInstanceId: 'string',
13326
+ bizOrderNo: 'string',
13327
+ trafficPlatform: 'string',
13328
+ };
13329
+ }
13330
+
13331
+ constructor(map?: { [key: string]: any }) {
13332
+ super(map);
13333
+ }
13334
+ }
13335
+
13336
+ export class QueryDubbridgeAlipayTradeResponse extends $tea.Model {
13337
+ // 请求唯一ID,用于链路跟踪和问题排查
13338
+ reqMsgId?: string;
13339
+ // 结果码,一般OK表示调用成功
13340
+ resultCode?: string;
13341
+ // 异常信息的文本描述
13342
+ resultMsg?: string;
13343
+ // 订单状态
13344
+ // WAIT_BUYER_PAY(等待买家付款)、
13345
+ // TRADE_CLOSED(未付款交易超时关闭,或支付完成后全额退款)、
13346
+ // TRADE_SUCCESS(交易支付成功)、
13347
+ // TRADE_FINISHED(交易结束,不可退款)
13348
+ tradeStatus?: string;
13349
+ // 支付宝交易号
13350
+ tradeNo?: string;
13351
+ // 买家支付宝账号
13352
+ buyerLogonId?: string;
13353
+ // 支付金额
13354
+ payAmount?: string;
13355
+ // 支付时间
13356
+ payDate?: string;
13357
+ static names(): { [key: string]: string } {
13358
+ return {
13359
+ reqMsgId: 'req_msg_id',
13360
+ resultCode: 'result_code',
13361
+ resultMsg: 'result_msg',
13362
+ tradeStatus: 'trade_status',
13363
+ tradeNo: 'trade_no',
13364
+ buyerLogonId: 'buyer_logon_id',
13365
+ payAmount: 'pay_amount',
13366
+ payDate: 'pay_date',
13367
+ };
13368
+ }
13369
+
13370
+ static types(): { [key: string]: any } {
13371
+ return {
13372
+ reqMsgId: 'string',
13373
+ resultCode: 'string',
13374
+ resultMsg: 'string',
13375
+ tradeStatus: 'string',
13376
+ tradeNo: 'string',
13377
+ buyerLogonId: 'string',
13378
+ payAmount: 'string',
13379
+ payDate: 'string',
13380
+ };
13381
+ }
13382
+
13383
+ constructor(map?: { [key: string]: any }) {
13384
+ super(map);
13385
+ }
13386
+ }
13387
+
13388
+ export class RefundDubbridgeAlipayTradeRequest extends $tea.Model {
13389
+ // OAuth模式下的授权token
13390
+ authToken?: string;
13391
+ productInstanceId?: string;
13392
+ // 请求编号
13393
+ requestNo: string;
13394
+ // 订单号
13395
+ bizOrderNo: string;
13396
+ // 导流平台
13397
+ trafficPlatform: string;
13398
+ // 支付宝交易号
13399
+ tradeNo?: string;
13400
+ // 退款金额
13401
+ refundAmount: string;
13402
+ // 退款原因
13403
+ refundReason?: string;
13404
+ static names(): { [key: string]: string } {
13405
+ return {
13406
+ authToken: 'auth_token',
13407
+ productInstanceId: 'product_instance_id',
13408
+ requestNo: 'request_no',
13409
+ bizOrderNo: 'biz_order_no',
13410
+ trafficPlatform: 'traffic_platform',
13411
+ tradeNo: 'trade_no',
13412
+ refundAmount: 'refund_amount',
13413
+ refundReason: 'refund_reason',
13414
+ };
13415
+ }
13416
+
13417
+ static types(): { [key: string]: any } {
13418
+ return {
13419
+ authToken: 'string',
13420
+ productInstanceId: 'string',
13421
+ requestNo: 'string',
13422
+ bizOrderNo: 'string',
13423
+ trafficPlatform: 'string',
13424
+ tradeNo: 'string',
13425
+ refundAmount: 'string',
13426
+ refundReason: 'string',
13427
+ };
13428
+ }
13429
+
13430
+ constructor(map?: { [key: string]: any }) {
13431
+ super(map);
13432
+ }
13433
+ }
13434
+
13435
+ export class RefundDubbridgeAlipayTradeResponse extends $tea.Model {
13436
+ // 请求唯一ID,用于链路跟踪和问题排查
13437
+ reqMsgId?: string;
13438
+ // 结果码,一般OK表示调用成功
13439
+ resultCode?: string;
13440
+ // 异常信息的文本描述
13441
+ resultMsg?: string;
13442
+ // 订单状态
13443
+ // REFUNDING(交易退款中)、
13444
+ // REFUND_SUCCESS(交易退款成功)、
13445
+ // REFUND_FAIL(交易退款失败)
13446
+ refundStatus?: string;
13447
+ // 退款失败原因
13448
+ refundFailReason?: string;
13449
+ // 退款时间
13450
+ refundDate?: string;
13451
+ static names(): { [key: string]: string } {
13452
+ return {
13453
+ reqMsgId: 'req_msg_id',
13454
+ resultCode: 'result_code',
13455
+ resultMsg: 'result_msg',
13456
+ refundStatus: 'refund_status',
13457
+ refundFailReason: 'refund_fail_reason',
13458
+ refundDate: 'refund_date',
13459
+ };
13460
+ }
13461
+
13462
+ static types(): { [key: string]: any } {
13463
+ return {
13464
+ reqMsgId: 'string',
13465
+ resultCode: 'string',
13466
+ resultMsg: 'string',
13467
+ refundStatus: 'string',
13468
+ refundFailReason: 'string',
13469
+ refundDate: 'string',
13470
+ };
13471
+ }
13472
+
13473
+ constructor(map?: { [key: string]: any }) {
13474
+ super(map);
13475
+ }
13476
+ }
13477
+
13478
+ export class CloseDubbridgeAlipayTradeRequest extends $tea.Model {
13479
+ // OAuth模式下的授权token
13480
+ authToken?: string;
13481
+ productInstanceId?: string;
13482
+ // 资产方购物订单号
13483
+ bizOrderNo: string;
13484
+ // 导流平台
13485
+ trafficPlatform: string;
13486
+ // 操作人id
13487
+ operatorId?: string;
13488
+ static names(): { [key: string]: string } {
13489
+ return {
13490
+ authToken: 'auth_token',
13491
+ productInstanceId: 'product_instance_id',
13492
+ bizOrderNo: 'biz_order_no',
13493
+ trafficPlatform: 'traffic_platform',
13494
+ operatorId: 'operator_id',
13495
+ };
13496
+ }
13497
+
13498
+ static types(): { [key: string]: any } {
13499
+ return {
13500
+ authToken: 'string',
13501
+ productInstanceId: 'string',
13502
+ bizOrderNo: 'string',
13503
+ trafficPlatform: 'string',
13504
+ operatorId: 'string',
13505
+ };
13506
+ }
13507
+
13508
+ constructor(map?: { [key: string]: any }) {
13509
+ super(map);
13510
+ }
13511
+ }
13512
+
13513
+ export class CloseDubbridgeAlipayTradeResponse extends $tea.Model {
13036
13514
  // 请求唯一ID,用于链路跟踪和问题排查
13037
13515
  reqMsgId?: string;
13038
13516
  // 结果码,一般OK表示调用成功
13039
13517
  resultCode?: string;
13040
13518
  // 异常信息的文本描述
13041
13519
  resultMsg?: string;
13042
- // 入驻结果信息
13043
- subMerchantOrder?: SubMerchantOrder;
13520
+ // 订单交易状态
13521
+ tradeStatus?: string;
13044
13522
  static names(): { [key: string]: string } {
13045
13523
  return {
13046
13524
  reqMsgId: 'req_msg_id',
13047
13525
  resultCode: 'result_code',
13048
13526
  resultMsg: 'result_msg',
13049
- subMerchantOrder: 'sub_merchant_order',
13527
+ tradeStatus: 'trade_status',
13050
13528
  };
13051
13529
  }
13052
13530
 
@@ -13055,7 +13533,7 @@ export class QueryDubbridgeAlipayMerchantResponse extends $tea.Model {
13055
13533
  reqMsgId: 'string',
13056
13534
  resultCode: 'string',
13057
13535
  resultMsg: 'string',
13058
- subMerchantOrder: SubMerchantOrder,
13536
+ tradeStatus: 'string',
13059
13537
  };
13060
13538
  }
13061
13539
 
@@ -13064,32 +13542,26 @@ export class QueryDubbridgeAlipayMerchantResponse extends $tea.Model {
13064
13542
  }
13065
13543
  }
13066
13544
 
13067
- export class CreateDubbridgeAlipayTradeRequest extends $tea.Model {
13545
+ export class QueryDubbridgeAlipayRefundRequest extends $tea.Model {
13068
13546
  // OAuth模式下的授权token
13069
13547
  authToken?: string;
13070
13548
  productInstanceId?: string;
13071
- // request请求单号,每次请求唯一,如uuid
13072
- orderNo: string;
13073
- // 门店所属子品牌
13549
+ // 退款请求编号
13550
+ requestNo: string;
13551
+ // 商家订单编号
13552
+ bizOrderNo: string;
13553
+ // 导流平台
13074
13554
  trafficPlatform: string;
13075
- // 订单归属门店id
13076
- storeId: string;
13077
- // 订单车辆信息
13078
- vehicleInfo: VehicleInfo;
13079
- // 订单绝对超时时间 yyyy-MM-dd HH:mm:ss,支付宝结算生成订单二维码时传值(非必填,优先于 timeout_express)
13080
- timeExpire?: string;
13081
- // 订单相对超时时间,从预下单请求时间开始计算,该笔订单允许的最晚付款时间,逾期将关闭交易(非必填)
13082
- timeoutExpress?: string;
13555
+ // 支付宝交易号
13556
+ tradeNo?: string;
13083
13557
  static names(): { [key: string]: string } {
13084
13558
  return {
13085
13559
  authToken: 'auth_token',
13086
13560
  productInstanceId: 'product_instance_id',
13087
- orderNo: 'order_no',
13561
+ requestNo: 'request_no',
13562
+ bizOrderNo: 'biz_order_no',
13088
13563
  trafficPlatform: 'traffic_platform',
13089
- storeId: 'store_id',
13090
- vehicleInfo: 'vehicle_info',
13091
- timeExpire: 'time_expire',
13092
- timeoutExpress: 'timeout_express',
13564
+ tradeNo: 'trade_no',
13093
13565
  };
13094
13566
  }
13095
13567
 
@@ -13097,12 +13569,10 @@ export class CreateDubbridgeAlipayTradeRequest extends $tea.Model {
13097
13569
  return {
13098
13570
  authToken: 'string',
13099
13571
  productInstanceId: 'string',
13100
- orderNo: 'string',
13572
+ requestNo: 'string',
13573
+ bizOrderNo: 'string',
13101
13574
  trafficPlatform: 'string',
13102
- storeId: 'string',
13103
- vehicleInfo: VehicleInfo,
13104
- timeExpire: 'string',
13105
- timeoutExpress: 'string',
13575
+ tradeNo: 'string',
13106
13576
  };
13107
13577
  }
13108
13578
 
@@ -13111,24 +13581,27 @@ export class CreateDubbridgeAlipayTradeRequest extends $tea.Model {
13111
13581
  }
13112
13582
  }
13113
13583
 
13114
- export class CreateDubbridgeAlipayTradeResponse extends $tea.Model {
13584
+ export class QueryDubbridgeAlipayRefundResponse extends $tea.Model {
13115
13585
  // 请求唯一ID,用于链路跟踪和问题排查
13116
13586
  reqMsgId?: string;
13117
13587
  // 结果码,一般OK表示调用成功
13118
13588
  resultCode?: string;
13119
13589
  // 异常信息的文本描述
13120
13590
  resultMsg?: string;
13121
- // 资产方购物订单号
13122
- bizOrderNo?: string;
13123
- // 订单二维码码串,支付宝预下单生成的二维码码串,有效时间2小时
13124
- qrCode?: string;
13591
+ // 退款状态 REFUNDING(交易退款中)、 REFUND_SUCCESS(交易退款成功)、 REFUND_FAIL(交易退款失败)
13592
+ refundStatus?: string;
13593
+ // 退款失败原因
13594
+ refundFailReason?: string;
13595
+ // 退款时间
13596
+ refundDate?: string;
13125
13597
  static names(): { [key: string]: string } {
13126
13598
  return {
13127
13599
  reqMsgId: 'req_msg_id',
13128
13600
  resultCode: 'result_code',
13129
13601
  resultMsg: 'result_msg',
13130
- bizOrderNo: 'biz_order_no',
13131
- qrCode: 'qr_code',
13602
+ refundStatus: 'refund_status',
13603
+ refundFailReason: 'refund_fail_reason',
13604
+ refundDate: 'refund_date',
13132
13605
  };
13133
13606
  }
13134
13607
 
@@ -13137,8 +13610,9 @@ export class CreateDubbridgeAlipayTradeResponse extends $tea.Model {
13137
13610
  reqMsgId: 'string',
13138
13611
  resultCode: 'string',
13139
13612
  resultMsg: 'string',
13140
- bizOrderNo: 'string',
13141
- qrCode: 'string',
13613
+ refundStatus: 'string',
13614
+ refundFailReason: 'string',
13615
+ refundDate: 'string',
13142
13616
  };
13143
13617
  }
13144
13618
 
@@ -15677,12 +16151,15 @@ export class UploadQmpOfflinehostplanResponse extends $tea.Model {
15677
16151
  resultMsg?: string;
15678
16152
  // 导入id,可以用该id来查询分层结果
15679
16153
  importId?: number;
16154
+ // 任务id
16155
+ taskUuid?: string;
15680
16156
  static names(): { [key: string]: string } {
15681
16157
  return {
15682
16158
  reqMsgId: 'req_msg_id',
15683
16159
  resultCode: 'result_code',
15684
16160
  resultMsg: 'result_msg',
15685
16161
  importId: 'import_id',
16162
+ taskUuid: 'task_uuid',
15686
16163
  };
15687
16164
  }
15688
16165
 
@@ -15692,6 +16169,7 @@ export class UploadQmpOfflinehostplanResponse extends $tea.Model {
15692
16169
  resultCode: 'string',
15693
16170
  resultMsg: 'string',
15694
16171
  importId: 'number',
16172
+ taskUuid: 'string',
15695
16173
  };
15696
16174
  }
15697
16175
 
@@ -15783,6 +16261,69 @@ export class QueryQmpOfflinehostplanDecisionresultResponse extends $tea.Model {
15783
16261
  }
15784
16262
  }
15785
16263
 
16264
+ export class QueryQmpOfflinehostplanDecisionresultsRequest extends $tea.Model {
16265
+ // OAuth模式下的授权token
16266
+ authToken?: string;
16267
+ productInstanceId?: string;
16268
+ // 任务串联任务id
16269
+ taskUuid: string;
16270
+ static names(): { [key: string]: string } {
16271
+ return {
16272
+ authToken: 'auth_token',
16273
+ productInstanceId: 'product_instance_id',
16274
+ taskUuid: 'task_uuid',
16275
+ };
16276
+ }
16277
+
16278
+ static types(): { [key: string]: any } {
16279
+ return {
16280
+ authToken: 'string',
16281
+ productInstanceId: 'string',
16282
+ taskUuid: 'string',
16283
+ };
16284
+ }
16285
+
16286
+ constructor(map?: { [key: string]: any }) {
16287
+ super(map);
16288
+ }
16289
+ }
16290
+
16291
+ export class QueryQmpOfflinehostplanDecisionresultsResponse extends $tea.Model {
16292
+ // 请求唯一ID,用于链路跟踪和问题排查
16293
+ reqMsgId?: string;
16294
+ // 结果码,一般OK表示调用成功
16295
+ resultCode?: string;
16296
+ // 异常信息的文本描述
16297
+ resultMsg?: string;
16298
+ // 托管计划编码
16299
+ planCode?: string;
16300
+ // 分层结果信息
16301
+ decisionInfo?: DecisionInfo[];
16302
+ static names(): { [key: string]: string } {
16303
+ return {
16304
+ reqMsgId: 'req_msg_id',
16305
+ resultCode: 'result_code',
16306
+ resultMsg: 'result_msg',
16307
+ planCode: 'plan_code',
16308
+ decisionInfo: 'decision_info',
16309
+ };
16310
+ }
16311
+
16312
+ static types(): { [key: string]: any } {
16313
+ return {
16314
+ reqMsgId: 'string',
16315
+ resultCode: 'string',
16316
+ resultMsg: 'string',
16317
+ planCode: 'string',
16318
+ decisionInfo: { 'type': 'array', 'itemType': DecisionInfo },
16319
+ };
16320
+ }
16321
+
16322
+ constructor(map?: { [key: string]: any }) {
16323
+ super(map);
16324
+ }
16325
+ }
16326
+
15786
16327
  export class SyncRdaasTaxAuthinfoRequest extends $tea.Model {
15787
16328
  // OAuth模式下的授权token
15788
16329
  authToken?: string;
@@ -22042,6 +22583,90 @@ export class QueryAirsaasSecurityPolicyResponse extends $tea.Model {
22042
22583
  }
22043
22584
  }
22044
22585
 
22586
+ export class QueryTdisaasairSecurityPolicyRequest extends $tea.Model {
22587
+ // OAuth模式下的授权token
22588
+ authToken?: string;
22589
+ productInstanceId?: string;
22590
+ // 风控事件咨询查询入参
22591
+ eventInfo: EventInfo;
22592
+ // 请求处理方式
22593
+ //
22594
+ riskType: string;
22595
+ static names(): { [key: string]: string } {
22596
+ return {
22597
+ authToken: 'auth_token',
22598
+ productInstanceId: 'product_instance_id',
22599
+ eventInfo: 'event_info',
22600
+ riskType: 'risk_type',
22601
+ };
22602
+ }
22603
+
22604
+ static types(): { [key: string]: any } {
22605
+ return {
22606
+ authToken: 'string',
22607
+ productInstanceId: 'string',
22608
+ eventInfo: EventInfo,
22609
+ riskType: 'string',
22610
+ };
22611
+ }
22612
+
22613
+ constructor(map?: { [key: string]: any }) {
22614
+ super(map);
22615
+ }
22616
+ }
22617
+
22618
+ export class QueryTdisaasairSecurityPolicyResponse extends $tea.Model {
22619
+ // 请求唯一ID,用于链路跟踪和问题排查
22620
+ reqMsgId?: string;
22621
+ // 结果码,一般OK表示调用成功
22622
+ resultCode?: string;
22623
+ // 异常信息的文本描述
22624
+ resultMsg?: string;
22625
+ // 场景分
22626
+ modelDetails?: ModelDetails[];
22627
+ // 安全请求id
22628
+ //
22629
+ securityId?: string;
22630
+ // 策略结果
22631
+ //
22632
+ securityResult?: string;
22633
+ // 策略结果详情
22634
+ //
22635
+ strategyDetails?: StrategyDetails[];
22636
+ // 决策流信息
22637
+ //
22638
+ dfSceneInfos?: DfSceneInfos[];
22639
+ static names(): { [key: string]: string } {
22640
+ return {
22641
+ reqMsgId: 'req_msg_id',
22642
+ resultCode: 'result_code',
22643
+ resultMsg: 'result_msg',
22644
+ modelDetails: 'model_details',
22645
+ securityId: 'security_id',
22646
+ securityResult: 'security_result',
22647
+ strategyDetails: 'strategy_details',
22648
+ dfSceneInfos: 'df_scene_infos',
22649
+ };
22650
+ }
22651
+
22652
+ static types(): { [key: string]: any } {
22653
+ return {
22654
+ reqMsgId: 'string',
22655
+ resultCode: 'string',
22656
+ resultMsg: 'string',
22657
+ modelDetails: { 'type': 'array', 'itemType': ModelDetails },
22658
+ securityId: 'string',
22659
+ securityResult: 'string',
22660
+ strategyDetails: { 'type': 'array', 'itemType': StrategyDetails },
22661
+ dfSceneInfos: { 'type': 'array', 'itemType': DfSceneInfos },
22662
+ };
22663
+ }
22664
+
22665
+ constructor(map?: { [key: string]: any }) {
22666
+ super(map);
22667
+ }
22668
+ }
22669
+
22045
22670
  export class UploadUmktParamsFileRequest extends $tea.Model {
22046
22671
  // OAuth模式下的授权token
22047
22672
  authToken?: string;
@@ -25564,7 +26189,7 @@ export default class Client {
25564
26189
  req_msg_id: AntchainUtil.getNonce(),
25565
26190
  access_key: this._accessKeyId,
25566
26191
  base_sdk_version: "TeaSDK-2.0",
25567
- sdk_version: "1.26.9",
26192
+ sdk_version: "1.29.2",
25568
26193
  _prod_code: "RISKPLUS",
25569
26194
  _prod_channel: "undefined",
25570
26195
  };
@@ -27306,6 +27931,101 @@ export default class Client {
27306
27931
  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
27932
  }
27308
27933
 
27934
+ /**
27935
+ * Description: 二级商户交易取消
27936
+ * Summary: 天枢系统-二级商户交易取消-分期付
27937
+ */
27938
+ async cancelDubbridgeAlipayTrade(request: CancelDubbridgeAlipayTradeRequest): Promise<CancelDubbridgeAlipayTradeResponse> {
27939
+ let runtime = new $Util.RuntimeOptions({ });
27940
+ let headers : {[key: string ]: string} = { };
27941
+ return await this.cancelDubbridgeAlipayTradeEx(request, headers, runtime);
27942
+ }
27943
+
27944
+ /**
27945
+ * Description: 二级商户交易取消
27946
+ * Summary: 天枢系统-二级商户交易取消-分期付
27947
+ */
27948
+ async cancelDubbridgeAlipayTradeEx(request: CancelDubbridgeAlipayTradeRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CancelDubbridgeAlipayTradeResponse> {
27949
+ Util.validateModel(request);
27950
+ 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({}));
27951
+ }
27952
+
27953
+ /**
27954
+ * Description: 二级商户交易查询
27955
+ * Summary: 天枢系统-二级商户交易查询-分期付
27956
+ */
27957
+ async queryDubbridgeAlipayTrade(request: QueryDubbridgeAlipayTradeRequest): Promise<QueryDubbridgeAlipayTradeResponse> {
27958
+ let runtime = new $Util.RuntimeOptions({ });
27959
+ let headers : {[key: string ]: string} = { };
27960
+ return await this.queryDubbridgeAlipayTradeEx(request, headers, runtime);
27961
+ }
27962
+
27963
+ /**
27964
+ * Description: 二级商户交易查询
27965
+ * Summary: 天枢系统-二级商户交易查询-分期付
27966
+ */
27967
+ async queryDubbridgeAlipayTradeEx(request: QueryDubbridgeAlipayTradeRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryDubbridgeAlipayTradeResponse> {
27968
+ Util.validateModel(request);
27969
+ 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({}));
27970
+ }
27971
+
27972
+ /**
27973
+ * Description: 天枢系统-二级商户交易退款-分期付
27974
+ * Summary: 天枢系统-二级商户交易退款-分期付
27975
+ */
27976
+ async refundDubbridgeAlipayTrade(request: RefundDubbridgeAlipayTradeRequest): Promise<RefundDubbridgeAlipayTradeResponse> {
27977
+ let runtime = new $Util.RuntimeOptions({ });
27978
+ let headers : {[key: string ]: string} = { };
27979
+ return await this.refundDubbridgeAlipayTradeEx(request, headers, runtime);
27980
+ }
27981
+
27982
+ /**
27983
+ * Description: 天枢系统-二级商户交易退款-分期付
27984
+ * Summary: 天枢系统-二级商户交易退款-分期付
27985
+ */
27986
+ async refundDubbridgeAlipayTradeEx(request: RefundDubbridgeAlipayTradeRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<RefundDubbridgeAlipayTradeResponse> {
27987
+ Util.validateModel(request);
27988
+ 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({}));
27989
+ }
27990
+
27991
+ /**
27992
+ * Description: 天枢系统-二级商户交易关闭-分期付
27993
+ * Summary: 天枢系统-二级商户交易关闭-分期付
27994
+ */
27995
+ async closeDubbridgeAlipayTrade(request: CloseDubbridgeAlipayTradeRequest): Promise<CloseDubbridgeAlipayTradeResponse> {
27996
+ let runtime = new $Util.RuntimeOptions({ });
27997
+ let headers : {[key: string ]: string} = { };
27998
+ return await this.closeDubbridgeAlipayTradeEx(request, headers, runtime);
27999
+ }
28000
+
28001
+ /**
28002
+ * Description: 天枢系统-二级商户交易关闭-分期付
28003
+ * Summary: 天枢系统-二级商户交易关闭-分期付
28004
+ */
28005
+ async closeDubbridgeAlipayTradeEx(request: CloseDubbridgeAlipayTradeRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CloseDubbridgeAlipayTradeResponse> {
28006
+ Util.validateModel(request);
28007
+ 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({}));
28008
+ }
28009
+
28010
+ /**
28011
+ * Description: 天枢系统-二级商户交易退款查询-分期付
28012
+ * Summary: 天枢系统-二级商户交易退款查询-分期付
28013
+ */
28014
+ async queryDubbridgeAlipayRefund(request: QueryDubbridgeAlipayRefundRequest): Promise<QueryDubbridgeAlipayRefundResponse> {
28015
+ let runtime = new $Util.RuntimeOptions({ });
28016
+ let headers : {[key: string ]: string} = { };
28017
+ return await this.queryDubbridgeAlipayRefundEx(request, headers, runtime);
28018
+ }
28019
+
28020
+ /**
28021
+ * Description: 天枢系统-二级商户交易退款查询-分期付
28022
+ * Summary: 天枢系统-二级商户交易退款查询-分期付
28023
+ */
28024
+ async queryDubbridgeAlipayRefundEx(request: QueryDubbridgeAlipayRefundRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryDubbridgeAlipayRefundResponse> {
28025
+ Util.validateModel(request);
28026
+ 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({}));
28027
+ }
28028
+
27309
28029
  /**
27310
28030
  * Description: 四要素认证首先调用此接口
27311
28031
  * Summary: 芝麻四要素接口
@@ -27999,6 +28719,25 @@ export default class Client {
27999
28719
  return $tea.cast<QueryQmpOfflinehostplanDecisionresultResponse>(await this.doRequest("1.0", "riskplus.qmp.offlinehostplan.decisionresult.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryQmpOfflinehostplanDecisionresultResponse({}));
28000
28720
  }
28001
28721
 
28722
+ /**
28723
+ * Description: qmp分层结果查询v2
28724
+ * Summary: qmp分层结果查询v2
28725
+ */
28726
+ async queryQmpOfflinehostplanDecisionresults(request: QueryQmpOfflinehostplanDecisionresultsRequest): Promise<QueryQmpOfflinehostplanDecisionresultsResponse> {
28727
+ let runtime = new $Util.RuntimeOptions({ });
28728
+ let headers : {[key: string ]: string} = { };
28729
+ return await this.queryQmpOfflinehostplanDecisionresultsEx(request, headers, runtime);
28730
+ }
28731
+
28732
+ /**
28733
+ * Description: qmp分层结果查询v2
28734
+ * Summary: qmp分层结果查询v2
28735
+ */
28736
+ async queryQmpOfflinehostplanDecisionresultsEx(request: QueryQmpOfflinehostplanDecisionresultsRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryQmpOfflinehostplanDecisionresultsResponse> {
28737
+ Util.validateModel(request);
28738
+ return $tea.cast<QueryQmpOfflinehostplanDecisionresultsResponse>(await this.doRequest("1.0", "riskplus.qmp.offlinehostplan.decisionresults.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryQmpOfflinehostplanDecisionresultsResponse({}));
28739
+ }
28740
+
28002
28741
  /**
28003
28742
  * Description: 企管盾票税交接授权信息表的同步
28004
28743
  * Summary: 企管盾票税交接授权信息表的同步
@@ -29612,6 +30351,25 @@ export default class Client {
29612
30351
  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
30352
  }
29614
30353
 
30354
+ /**
30355
+ * Description: saas风险咨询,决策流模式
30356
+ * Summary: saas风险咨询-air引擎
30357
+ */
30358
+ async queryTdisaasairSecurityPolicy(request: QueryTdisaasairSecurityPolicyRequest): Promise<QueryTdisaasairSecurityPolicyResponse> {
30359
+ let runtime = new $Util.RuntimeOptions({ });
30360
+ let headers : {[key: string ]: string} = { };
30361
+ return await this.queryTdisaasairSecurityPolicyEx(request, headers, runtime);
30362
+ }
30363
+
30364
+ /**
30365
+ * Description: saas风险咨询,决策流模式
30366
+ * Summary: saas风险咨询-air引擎
30367
+ */
30368
+ async queryTdisaasairSecurityPolicyEx(request: QueryTdisaasairSecurityPolicyRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryTdisaasairSecurityPolicyResponse> {
30369
+ Util.validateModel(request);
30370
+ 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({}));
30371
+ }
30372
+
29615
30373
  /**
29616
30374
  * Description: 营销盾批量参数文件上传接口
29617
30375
  * Summary: 营销盾参数文件上传