@antchain/riskplus 1.32.0 → 1.33.1

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
@@ -591,6 +591,63 @@ export class RiskDetail extends $tea.Model {
591
591
  }
592
592
  }
593
593
 
594
+ // 账户明细
595
+ export class FundItemDetail extends $tea.Model {
596
+ // 账户类型,PET-活体、GOODS-商品、POINT_PACKAGE-积分包(储值卡)
597
+ /**
598
+ * @example
599
+ * POINT_PACKAGE
600
+ */
601
+ fundType: string;
602
+ // 可用金额,不含冻结占用,无可用返回0,单位元
603
+ /**
604
+ * @example
605
+ * 199.68
606
+ */
607
+ availableAmount: string;
608
+ // 最高可退金额,涵盖了手续费,无可用返回0,单位元
609
+ /**
610
+ * @example
611
+ * 199.68
612
+ */
613
+ canRefundAmount: string;
614
+ // 冻结金额,无冻结返回0,单位元
615
+ /**
616
+ * @example
617
+ * 199.68
618
+ */
619
+ frozenAmount: string;
620
+ // 账户归属的入驻id
621
+ /**
622
+ * @example
623
+ * xxx
624
+ */
625
+ merchantId: string;
626
+ static names(): { [key: string]: string } {
627
+ return {
628
+ fundType: 'fund_type',
629
+ availableAmount: 'available_amount',
630
+ canRefundAmount: 'can_refund_amount',
631
+ frozenAmount: 'frozen_amount',
632
+ merchantId: 'merchant_id',
633
+ };
634
+ }
635
+
636
+ static types(): { [key: string]: any } {
637
+ return {
638
+ fundType: 'string',
639
+ availableAmount: 'string',
640
+ canRefundAmount: 'string',
641
+ frozenAmount: 'string',
642
+ merchantId: 'string',
643
+ };
644
+ }
645
+
646
+ constructor(map?: { [key: string]: any }) {
647
+ super(map);
648
+ }
649
+ }
650
+
594
651
  // 经营数据
595
652
  export class EcMonthData extends $tea.Model {
596
653
  // 月份格式为YYYYMM
@@ -1712,6 +1769,55 @@ export class AirDomainInfos extends $tea.Model {
1712
1769
  }
1713
1770
  }
1714
1771
 
1772
+ // 商品明细数组
1773
+ export class ProductItem extends $tea.Model {
1774
+ // 订单商品类型,PET-活体、GOODS-商品、POINT_PACKAGE-积分包(积分商品订单专用,区分普通实物商品)、MEMBER-会员订阅
1775
+ /**
1776
+ * @example
1777
+ * PET
1778
+ */
1779
+ productType: string;
1780
+ // 商品名称
1781
+ /**
1782
+ * @example
1783
+ * xxx
1784
+ */
1785
+ productName: string;
1786
+ // 商品金额,单位元,两位小数
1787
+ /**
1788
+ * @example
1789
+ * 99.22
1790
+ */
1791
+ productAmount: string;
1792
+ // 该行商品收款主体
1793
+ /**
1794
+ * @example
1795
+ * xxx
1796
+ */
1797
+ merchantId: string;
1798
+ static names(): { [key: string]: string } {
1799
+ return {
1800
+ productType: 'product_type',
1801
+ productName: 'product_name',
1802
+ productAmount: 'product_amount',
1803
+ merchantId: 'merchant_id',
1804
+ };
1805
+ }
1806
+
1807
+ static types(): { [key: string]: any } {
1808
+ return {
1809
+ productType: 'string',
1810
+ productName: 'string',
1811
+ productAmount: 'string',
1812
+ merchantId: 'string',
1813
+ };
1814
+ }
1815
+
1816
+ constructor(map?: { [key: string]: any }) {
1817
+ super(map);
1818
+ }
1819
+ }
1820
+
1715
1821
  // 反欺诈风险数据服务规则细节信息
1716
1822
  export class RuleDetail extends $tea.Model {
1717
1823
  // 规则细节名称
@@ -7830,6 +7936,51 @@ export class OverdueInfoResponse extends $tea.Model {
7830
7936
  }
7831
7937
  }
7832
7938
 
7939
+ // 用户资金
7940
+ export class UserFundInfo extends $tea.Model {
7941
+ // 业务订单号
7942
+ /**
7943
+ * @example
7944
+ * xxx
7945
+ */
7946
+ bizOrderNo: string;
7947
+ // 关联交易单号
7948
+ /**
7949
+ * @example
7950
+ * xxx
7951
+ */
7952
+ tradeNo: string;
7953
+ // 订单支付金额,单位:元
7954
+ /**
7955
+ * @example
7956
+ * 199.68
7957
+ */
7958
+ amount: string;
7959
+ // 金额明细
7960
+ details: FundItemDetail[];
7961
+ static names(): { [key: string]: string } {
7962
+ return {
7963
+ bizOrderNo: 'biz_order_no',
7964
+ tradeNo: 'trade_no',
7965
+ amount: 'amount',
7966
+ details: 'details',
7967
+ };
7968
+ }
7969
+
7970
+ static types(): { [key: string]: any } {
7971
+ return {
7972
+ bizOrderNo: 'string',
7973
+ tradeNo: 'string',
7974
+ amount: 'string',
7975
+ details: { 'type': 'array', 'itemType': FundItemDetail },
7976
+ };
7977
+ }
7978
+
7979
+ constructor(map?: { [key: string]: any }) {
7980
+ super(map);
7981
+ }
7982
+ }
7983
+
7833
7984
  // 企管盾票税交接决策服务指标
7834
7985
  export class RdaasTaxDecsionServiceIndicator extends $tea.Model {
7835
7986
  // 决策指标id
@@ -22463,13 +22614,6 @@ export class ApplyDubbridgePetcashierRequest extends $tea.Model {
22463
22614
  enableTransfer?: string;
22464
22615
  // 渠道扩展信息
22465
22616
  extInfo?: PetCashierApplyExtInfo;
22466
- // 1:单活体
22467
- // 2:活体+商城套餐(领宠模式)
22468
- // 3:活体+商城套餐(零售模式)
22469
- // 4:单商品
22470
- // 5:单积分
22471
- // 6:宠秘会员订阅
22472
- productCategory?: string;
22473
22617
  static names(): { [key: string]: string } {
22474
22618
  return {
22475
22619
  authToken: 'auth_token',
@@ -22491,7 +22635,6 @@ export class ApplyDubbridgePetcashierRequest extends $tea.Model {
22491
22635
  returnUrl: 'return_url',
22492
22636
  enableTransfer: 'enable_transfer',
22493
22637
  extInfo: 'ext_info',
22494
- productCategory: 'product_category',
22495
22638
  };
22496
22639
  }
22497
22640
 
@@ -22516,7 +22659,6 @@ export class ApplyDubbridgePetcashierRequest extends $tea.Model {
22516
22659
  returnUrl: 'string',
22517
22660
  enableTransfer: 'string',
22518
22661
  extInfo: PetCashierApplyExtInfo,
22519
- productCategory: 'string',
22520
22662
  };
22521
22663
  }
22522
22664
 
@@ -22573,14 +22715,16 @@ export class QueryDubbridgePetorderRequest extends $tea.Model {
22573
22715
  channelCode: string;
22574
22716
  // 流量平台
22575
22717
  trafficPlatform: string;
22576
- // 门店id
22577
- storeId: string;
22718
+ // decrepted,请使用 merchant_id
22719
+ storeId?: string;
22578
22720
  // 原始订单号
22579
22721
  bizOrderNo: string;
22580
22722
  // 交易单号
22581
22723
  tradeNo: string;
22582
- // 商家社信码
22583
- certNo: string;
22724
+ // decrepted
22725
+ certNo?: string;
22726
+ // 正单归属主体,入驻主体 id
22727
+ merchantId?: string;
22584
22728
  static names(): { [key: string]: string } {
22585
22729
  return {
22586
22730
  authToken: 'auth_token',
@@ -22591,6 +22735,7 @@ export class QueryDubbridgePetorderRequest extends $tea.Model {
22591
22735
  bizOrderNo: 'biz_order_no',
22592
22736
  tradeNo: 'trade_no',
22593
22737
  certNo: 'cert_no',
22738
+ merchantId: 'merchant_id',
22594
22739
  };
22595
22740
  }
22596
22741
 
@@ -22604,6 +22749,7 @@ export class QueryDubbridgePetorderRequest extends $tea.Model {
22604
22749
  bizOrderNo: 'string',
22605
22750
  tradeNo: 'string',
22606
22751
  certNo: 'string',
22752
+ merchantId: 'string',
22607
22753
  };
22608
22754
  }
22609
22755
 
@@ -22637,7 +22783,7 @@ export class QueryDubbridgePetorderResponse extends $tea.Model {
22637
22783
  paymentChannelCode?: string;
22638
22784
  // 支付机构编码 String
22639
22785
  payInstitutionCode?: string;
22640
- // 分期期数
22786
+ // 分期期数,只有发生贴息交易时才存在
22641
22787
  installNum?: string;
22642
22788
  static names(): { [key: string]: string } {
22643
22789
  return {
@@ -22834,6 +22980,680 @@ export class QueryDubbridgeMerchantriskResponse extends $tea.Model {
22834
22980
  }
22835
22981
  }
22836
22982
 
22983
+ export class ApplyDubbridgePetcashierGeneralRequest extends $tea.Model {
22984
+ // OAuth模式下的授权token
22985
+ authToken?: string;
22986
+ productInstanceId?: string;
22987
+ // 渠道编码
22988
+ channelCode: string;
22989
+ // 流量平台
22990
+ trafficPlatform: string;
22991
+ // 买家Id
22992
+ buyerId: string;
22993
+ // 业务订单号
22994
+ bizOrderNo: string;
22995
+ // 订单金额,单位元,两位小数
22996
+ amount: string;
22997
+ // 产品模式:PET_PACKAGE-领宠模式(活体+商城套餐)、PET-单活体、GOODS-单商品、MEMBER-会员订阅
22998
+ productMode: string;
22999
+ // 订单标题
23000
+ subject: string;
23001
+ // 时间戳
23002
+ timestamp: string;
23003
+ // 过期时间
23004
+ expireTime?: string;
23005
+ // 支付场景
23006
+ payScene: string;
23007
+ // 订单归属主体,入驻到平台的id
23008
+ merchantId: string;
23009
+ // 支付机构编码
23010
+ payInstitutionCode: string;
23011
+ // 支付后返回地址
23012
+ returnUrl?: string;
23013
+ // 商品明细数组
23014
+ productList: ProductItem[];
23015
+ // 扩展信息,JSON串
23016
+ extInfo?: string;
23017
+ static names(): { [key: string]: string } {
23018
+ return {
23019
+ authToken: 'auth_token',
23020
+ productInstanceId: 'product_instance_id',
23021
+ channelCode: 'channel_code',
23022
+ trafficPlatform: 'traffic_platform',
23023
+ buyerId: 'buyer_id',
23024
+ bizOrderNo: 'biz_order_no',
23025
+ amount: 'amount',
23026
+ productMode: 'product_mode',
23027
+ subject: 'subject',
23028
+ timestamp: 'timestamp',
23029
+ expireTime: 'expire_time',
23030
+ payScene: 'pay_scene',
23031
+ merchantId: 'merchant_id',
23032
+ payInstitutionCode: 'pay_institution_code',
23033
+ returnUrl: 'return_url',
23034
+ productList: 'product_list',
23035
+ extInfo: 'ext_info',
23036
+ };
23037
+ }
23038
+
23039
+ static types(): { [key: string]: any } {
23040
+ return {
23041
+ authToken: 'string',
23042
+ productInstanceId: 'string',
23043
+ channelCode: 'string',
23044
+ trafficPlatform: 'string',
23045
+ buyerId: 'string',
23046
+ bizOrderNo: 'string',
23047
+ amount: 'string',
23048
+ productMode: 'string',
23049
+ subject: 'string',
23050
+ timestamp: 'string',
23051
+ expireTime: 'string',
23052
+ payScene: 'string',
23053
+ merchantId: 'string',
23054
+ payInstitutionCode: 'string',
23055
+ returnUrl: 'string',
23056
+ productList: { 'type': 'array', 'itemType': ProductItem },
23057
+ extInfo: 'string',
23058
+ };
23059
+ }
23060
+
23061
+ constructor(map?: { [key: string]: any }) {
23062
+ super(map);
23063
+ }
23064
+ }
23065
+
23066
+ export class ApplyDubbridgePetcashierGeneralResponse extends $tea.Model {
23067
+ // 请求唯一ID,用于链路跟踪和问题排查
23068
+ reqMsgId?: string;
23069
+ // 结果码,一般OK表示调用成功
23070
+ resultCode?: string;
23071
+ // 异常信息的文本描述
23072
+ resultMsg?: string;
23073
+ // 跳转url(短链)/小程序场景为支付宝侧单号
23074
+ pageRedirectionData?: string;
23075
+ // 原始跳转url
23076
+ originUrl?: string;
23077
+ // 交易单号
23078
+ tradeNo?: string;
23079
+ static names(): { [key: string]: string } {
23080
+ return {
23081
+ reqMsgId: 'req_msg_id',
23082
+ resultCode: 'result_code',
23083
+ resultMsg: 'result_msg',
23084
+ pageRedirectionData: 'page_redirection_data',
23085
+ originUrl: 'origin_url',
23086
+ tradeNo: 'trade_no',
23087
+ };
23088
+ }
23089
+
23090
+ static types(): { [key: string]: any } {
23091
+ return {
23092
+ reqMsgId: 'string',
23093
+ resultCode: 'string',
23094
+ resultMsg: 'string',
23095
+ pageRedirectionData: 'string',
23096
+ originUrl: 'string',
23097
+ tradeNo: 'string',
23098
+ };
23099
+ }
23100
+
23101
+ constructor(map?: { [key: string]: any }) {
23102
+ super(map);
23103
+ }
23104
+ }
23105
+
23106
+ export class QueryDubbridgePetFundRequest extends $tea.Model {
23107
+ // OAuth模式下的授权token
23108
+ authToken?: string;
23109
+ productInstanceId?: string;
23110
+ // 渠道编码
23111
+ channelCode: string;
23112
+ // 流量平台
23113
+ trafficPlatform: string;
23114
+ // 买家用户id
23115
+ buyerId: string;
23116
+ // 关联交易单号
23117
+ tradeNo?: string;
23118
+ // 订单归属主体入驻ID
23119
+ merchantId?: string;
23120
+ static names(): { [key: string]: string } {
23121
+ return {
23122
+ authToken: 'auth_token',
23123
+ productInstanceId: 'product_instance_id',
23124
+ channelCode: 'channel_code',
23125
+ trafficPlatform: 'traffic_platform',
23126
+ buyerId: 'buyer_id',
23127
+ tradeNo: 'trade_no',
23128
+ merchantId: 'merchant_id',
23129
+ };
23130
+ }
23131
+
23132
+ static types(): { [key: string]: any } {
23133
+ return {
23134
+ authToken: 'string',
23135
+ productInstanceId: 'string',
23136
+ channelCode: 'string',
23137
+ trafficPlatform: 'string',
23138
+ buyerId: 'string',
23139
+ tradeNo: 'string',
23140
+ merchantId: 'string',
23141
+ };
23142
+ }
23143
+
23144
+ constructor(map?: { [key: string]: any }) {
23145
+ super(map);
23146
+ }
23147
+ }
23148
+
23149
+ export class QueryDubbridgePetFundResponse extends $tea.Model {
23150
+ // 请求唯一ID,用于链路跟踪和问题排查
23151
+ reqMsgId?: string;
23152
+ // 结果码,一般OK表示调用成功
23153
+ resultCode?: string;
23154
+ // 异常信息的文本描述
23155
+ resultMsg?: string;
23156
+ // 用户资金信息
23157
+ fundList?: UserFundInfo[];
23158
+ static names(): { [key: string]: string } {
23159
+ return {
23160
+ reqMsgId: 'req_msg_id',
23161
+ resultCode: 'result_code',
23162
+ resultMsg: 'result_msg',
23163
+ fundList: 'fund_list',
23164
+ };
23165
+ }
23166
+
23167
+ static types(): { [key: string]: any } {
23168
+ return {
23169
+ reqMsgId: 'string',
23170
+ resultCode: 'string',
23171
+ resultMsg: 'string',
23172
+ fundList: { 'type': 'array', 'itemType': UserFundInfo },
23173
+ };
23174
+ }
23175
+
23176
+ constructor(map?: { [key: string]: any }) {
23177
+ super(map);
23178
+ }
23179
+ }
23180
+
23181
+ export class CreateDubbridgePetmallorderRequest extends $tea.Model {
23182
+ // OAuth模式下的授权token
23183
+ authToken?: string;
23184
+ productInstanceId?: string;
23185
+ // 渠道编码
23186
+ channelCode: string;
23187
+ // 流量平台
23188
+ trafficPlatform: string;
23189
+ // 买家用户id
23190
+ buyerId: string;
23191
+ // 商户入驻id
23192
+ merchantId?: string;
23193
+ // 商城订单号
23194
+ bizOrderNo: string;
23195
+ // 关联交易单号,储值卡来源 trade_no,储值卡金额只能消耗该 trade_no 下的余额
23196
+ tradeNo: string;
23197
+ // 商品名称
23198
+ goodsName: string;
23199
+ // 商品标价,单位:元
23200
+ settleAmount: string;
23201
+ // 储值卡支付结算金额,用于冻结/出账/分账的基数,单位元,两位小数
23202
+ pointAmount: string;
23203
+ static names(): { [key: string]: string } {
23204
+ return {
23205
+ authToken: 'auth_token',
23206
+ productInstanceId: 'product_instance_id',
23207
+ channelCode: 'channel_code',
23208
+ trafficPlatform: 'traffic_platform',
23209
+ buyerId: 'buyer_id',
23210
+ merchantId: 'merchant_id',
23211
+ bizOrderNo: 'biz_order_no',
23212
+ tradeNo: 'trade_no',
23213
+ goodsName: 'goods_name',
23214
+ settleAmount: 'settle_amount',
23215
+ pointAmount: 'point_amount',
23216
+ };
23217
+ }
23218
+
23219
+ static types(): { [key: string]: any } {
23220
+ return {
23221
+ authToken: 'string',
23222
+ productInstanceId: 'string',
23223
+ channelCode: 'string',
23224
+ trafficPlatform: 'string',
23225
+ buyerId: 'string',
23226
+ merchantId: 'string',
23227
+ bizOrderNo: 'string',
23228
+ tradeNo: 'string',
23229
+ goodsName: 'string',
23230
+ settleAmount: 'string',
23231
+ pointAmount: 'string',
23232
+ };
23233
+ }
23234
+
23235
+ constructor(map?: { [key: string]: any }) {
23236
+ super(map);
23237
+ }
23238
+ }
23239
+
23240
+ export class CreateDubbridgePetmallorderResponse extends $tea.Model {
23241
+ // 请求唯一ID,用于链路跟踪和问题排查
23242
+ reqMsgId?: string;
23243
+ // 结果码,一般OK表示调用成功
23244
+ resultCode?: string;
23245
+ // 异常信息的文本描述
23246
+ resultMsg?: string;
23247
+ // 商城业务订单号
23248
+ bizOrderNo?: string;
23249
+ // 积分订单创建结果,Y-成功;N-失败
23250
+ createResult?: string;
23251
+ // 失败原因
23252
+ failReason?: string;
23253
+ // 商城订单的交易单号
23254
+ ownTradeNo?: string;
23255
+ static names(): { [key: string]: string } {
23256
+ return {
23257
+ reqMsgId: 'req_msg_id',
23258
+ resultCode: 'result_code',
23259
+ resultMsg: 'result_msg',
23260
+ bizOrderNo: 'biz_order_no',
23261
+ createResult: 'create_result',
23262
+ failReason: 'fail_reason',
23263
+ ownTradeNo: 'own_trade_no',
23264
+ };
23265
+ }
23266
+
23267
+ static types(): { [key: string]: any } {
23268
+ return {
23269
+ reqMsgId: 'string',
23270
+ resultCode: 'string',
23271
+ resultMsg: 'string',
23272
+ bizOrderNo: 'string',
23273
+ createResult: 'string',
23274
+ failReason: 'string',
23275
+ ownTradeNo: 'string',
23276
+ };
23277
+ }
23278
+
23279
+ constructor(map?: { [key: string]: any }) {
23280
+ super(map);
23281
+ }
23282
+ }
23283
+
23284
+ export class UpdateDubbridgePetmallorderRequest extends $tea.Model {
23285
+ // OAuth模式下的授权token
23286
+ authToken?: string;
23287
+ productInstanceId?: string;
23288
+ // 渠道编码
23289
+ channelCode: string;
23290
+ // 流量平台
23291
+ trafficPlatform?: string;
23292
+ // 买家用户id
23293
+ buyerId: string;
23294
+ // 商户入驻id
23295
+ merchantId?: string;
23296
+ // 关联交易单号
23297
+ tradeNo?: string;
23298
+ // 商城业务订单号
23299
+ bizOrderNo: string;
23300
+ // SHIPPED: 已发货
23301
+ // CANCELED: 取消
23302
+ // RECEIVED: 确认收货
23303
+ status: string;
23304
+ static names(): { [key: string]: string } {
23305
+ return {
23306
+ authToken: 'auth_token',
23307
+ productInstanceId: 'product_instance_id',
23308
+ channelCode: 'channel_code',
23309
+ trafficPlatform: 'traffic_platform',
23310
+ buyerId: 'buyer_id',
23311
+ merchantId: 'merchant_id',
23312
+ tradeNo: 'trade_no',
23313
+ bizOrderNo: 'biz_order_no',
23314
+ status: 'status',
23315
+ };
23316
+ }
23317
+
23318
+ static types(): { [key: string]: any } {
23319
+ return {
23320
+ authToken: 'string',
23321
+ productInstanceId: 'string',
23322
+ channelCode: 'string',
23323
+ trafficPlatform: 'string',
23324
+ buyerId: 'string',
23325
+ merchantId: 'string',
23326
+ tradeNo: 'string',
23327
+ bizOrderNo: 'string',
23328
+ status: 'string',
23329
+ };
23330
+ }
23331
+
23332
+ constructor(map?: { [key: string]: any }) {
23333
+ super(map);
23334
+ }
23335
+ }
23336
+
23337
+ export class UpdateDubbridgePetmallorderResponse extends $tea.Model {
23338
+ // 请求唯一ID,用于链路跟踪和问题排查
23339
+ reqMsgId?: string;
23340
+ // 结果码,一般OK表示调用成功
23341
+ resultCode?: string;
23342
+ // 异常信息的文本描述
23343
+ resultMsg?: string;
23344
+ // 商城业务订单号
23345
+ bizOrderNo?: string;
23346
+ // Y-成功
23347
+ // N-失败
23348
+ updateResult?: string;
23349
+ // 失败原因
23350
+ failReason?: string;
23351
+ static names(): { [key: string]: string } {
23352
+ return {
23353
+ reqMsgId: 'req_msg_id',
23354
+ resultCode: 'result_code',
23355
+ resultMsg: 'result_msg',
23356
+ bizOrderNo: 'biz_order_no',
23357
+ updateResult: 'update_result',
23358
+ failReason: 'fail_reason',
23359
+ };
23360
+ }
23361
+
23362
+ static types(): { [key: string]: any } {
23363
+ return {
23364
+ reqMsgId: 'string',
23365
+ resultCode: 'string',
23366
+ resultMsg: 'string',
23367
+ bizOrderNo: 'string',
23368
+ updateResult: 'string',
23369
+ failReason: 'string',
23370
+ };
23371
+ }
23372
+
23373
+ constructor(map?: { [key: string]: any }) {
23374
+ super(map);
23375
+ }
23376
+ }
23377
+
23378
+ export class ApplyDubbridgePetrefundRequest extends $tea.Model {
23379
+ // OAuth模式下的授权token
23380
+ authToken?: string;
23381
+ productInstanceId?: string;
23382
+ // 渠道编码
23383
+ channelCode: string;
23384
+ // 流量平台
23385
+ trafficPlatform?: string;
23386
+ // 退款单号,渠道/商城侧唯一
23387
+ refundNo: string;
23388
+ // 业务订单号
23389
+ bizOrderNo: string;
23390
+ // 关联交易单号
23391
+ tradeNo?: string;
23392
+ // 活体部分退款金额,单位元,两位小数
23393
+ petRefundAmount?: string;
23394
+ // 商城部分退款金额,单位元,两位小数
23395
+ mallRefundAmount?: string;
23396
+ // 退款原因
23397
+ refundReason?: string;
23398
+ static names(): { [key: string]: string } {
23399
+ return {
23400
+ authToken: 'auth_token',
23401
+ productInstanceId: 'product_instance_id',
23402
+ channelCode: 'channel_code',
23403
+ trafficPlatform: 'traffic_platform',
23404
+ refundNo: 'refund_no',
23405
+ bizOrderNo: 'biz_order_no',
23406
+ tradeNo: 'trade_no',
23407
+ petRefundAmount: 'pet_refund_amount',
23408
+ mallRefundAmount: 'mall_refund_amount',
23409
+ refundReason: 'refund_reason',
23410
+ };
23411
+ }
23412
+
23413
+ static types(): { [key: string]: any } {
23414
+ return {
23415
+ authToken: 'string',
23416
+ productInstanceId: 'string',
23417
+ channelCode: 'string',
23418
+ trafficPlatform: 'string',
23419
+ refundNo: 'string',
23420
+ bizOrderNo: 'string',
23421
+ tradeNo: 'string',
23422
+ petRefundAmount: 'string',
23423
+ mallRefundAmount: 'string',
23424
+ refundReason: 'string',
23425
+ };
23426
+ }
23427
+
23428
+ constructor(map?: { [key: string]: any }) {
23429
+ super(map);
23430
+ }
23431
+ }
23432
+
23433
+ export class ApplyDubbridgePetrefundResponse extends $tea.Model {
23434
+ // 请求唯一ID,用于链路跟踪和问题排查
23435
+ reqMsgId?: string;
23436
+ // 结果码,一般OK表示调用成功
23437
+ resultCode?: string;
23438
+ // 异常信息的文本描述
23439
+ resultMsg?: string;
23440
+ // 退款单号
23441
+ refundNo?: string;
23442
+ // 退款申请结果,Y-提交成功,N-提交失败
23443
+ refundStatus?: string;
23444
+ remark?: string;
23445
+ // 业务订单号
23446
+ bizOrderNo?: string;
23447
+ static names(): { [key: string]: string } {
23448
+ return {
23449
+ reqMsgId: 'req_msg_id',
23450
+ resultCode: 'result_code',
23451
+ resultMsg: 'result_msg',
23452
+ refundNo: 'refund_no',
23453
+ refundStatus: 'refund_status',
23454
+ remark: 'remark',
23455
+ bizOrderNo: 'biz_order_no',
23456
+ };
23457
+ }
23458
+
23459
+ static types(): { [key: string]: any } {
23460
+ return {
23461
+ reqMsgId: 'string',
23462
+ resultCode: 'string',
23463
+ resultMsg: 'string',
23464
+ refundNo: 'string',
23465
+ refundStatus: 'string',
23466
+ remark: 'string',
23467
+ bizOrderNo: 'string',
23468
+ };
23469
+ }
23470
+
23471
+ constructor(map?: { [key: string]: any }) {
23472
+ super(map);
23473
+ }
23474
+ }
23475
+
23476
+ export class QueryDubbridgePetrefundRequest extends $tea.Model {
23477
+ // OAuth模式下的授权token
23478
+ authToken?: string;
23479
+ productInstanceId?: string;
23480
+ // 渠道编码
23481
+ channelCode: string;
23482
+ // 流量平台
23483
+ trafficPlatform?: string;
23484
+ // 退款单号
23485
+ refundNo: string;
23486
+ // 关联交易单号
23487
+ tradeNo?: string;
23488
+ static names(): { [key: string]: string } {
23489
+ return {
23490
+ authToken: 'auth_token',
23491
+ productInstanceId: 'product_instance_id',
23492
+ channelCode: 'channel_code',
23493
+ trafficPlatform: 'traffic_platform',
23494
+ refundNo: 'refund_no',
23495
+ tradeNo: 'trade_no',
23496
+ };
23497
+ }
23498
+
23499
+ static types(): { [key: string]: any } {
23500
+ return {
23501
+ authToken: 'string',
23502
+ productInstanceId: 'string',
23503
+ channelCode: 'string',
23504
+ trafficPlatform: 'string',
23505
+ refundNo: 'string',
23506
+ tradeNo: 'string',
23507
+ };
23508
+ }
23509
+
23510
+ constructor(map?: { [key: string]: any }) {
23511
+ super(map);
23512
+ }
23513
+ }
23514
+
23515
+ export class QueryDubbridgePetrefundResponse extends $tea.Model {
23516
+ // 请求唯一ID,用于链路跟踪和问题排查
23517
+ reqMsgId?: string;
23518
+ // 结果码,一般OK表示调用成功
23519
+ resultCode?: string;
23520
+ // 异常信息的文本描述
23521
+ resultMsg?: string;
23522
+ // 活体部分退款金额,单位:元
23523
+ petRefundAmount?: string;
23524
+ // 商城部分退款金额,单位:元
23525
+ mallRefundAmount?: string;
23526
+ // 退款状态,INIT/PROCESSING/SUCCESS/FAILED
23527
+ refundStatus?: string;
23528
+ remark?: string;
23529
+ // 业务订单号
23530
+ bizOrderNo?: string;
23531
+ // 退款单号
23532
+ refundNo?: string;
23533
+ static names(): { [key: string]: string } {
23534
+ return {
23535
+ reqMsgId: 'req_msg_id',
23536
+ resultCode: 'result_code',
23537
+ resultMsg: 'result_msg',
23538
+ petRefundAmount: 'pet_refund_amount',
23539
+ mallRefundAmount: 'mall_refund_amount',
23540
+ refundStatus: 'refund_status',
23541
+ remark: 'remark',
23542
+ bizOrderNo: 'biz_order_no',
23543
+ refundNo: 'refund_no',
23544
+ };
23545
+ }
23546
+
23547
+ static types(): { [key: string]: any } {
23548
+ return {
23549
+ reqMsgId: 'string',
23550
+ resultCode: 'string',
23551
+ resultMsg: 'string',
23552
+ petRefundAmount: 'string',
23553
+ mallRefundAmount: 'string',
23554
+ refundStatus: 'string',
23555
+ remark: 'string',
23556
+ bizOrderNo: 'string',
23557
+ refundNo: 'string',
23558
+ };
23559
+ }
23560
+
23561
+ constructor(map?: { [key: string]: any }) {
23562
+ super(map);
23563
+ }
23564
+ }
23565
+
23566
+ export class ApplyDubbridgePetmallorderTransferRequest extends $tea.Model {
23567
+ // OAuth模式下的授权token
23568
+ authToken?: string;
23569
+ productInstanceId?: string;
23570
+ // 渠道编码
23571
+ channelCode: string;
23572
+ // 流量平台
23573
+ trafficPlatform: string;
23574
+ // 买家用户id
23575
+ buyerId: string;
23576
+ // 入驻主体id,业务订单归属
23577
+ merchantId?: string;
23578
+ // 业务订单号
23579
+ bizOrderNo: string;
23580
+ // 交易单号
23581
+ tradeNo?: string;
23582
+ static names(): { [key: string]: string } {
23583
+ return {
23584
+ authToken: 'auth_token',
23585
+ productInstanceId: 'product_instance_id',
23586
+ channelCode: 'channel_code',
23587
+ trafficPlatform: 'traffic_platform',
23588
+ buyerId: 'buyer_id',
23589
+ merchantId: 'merchant_id',
23590
+ bizOrderNo: 'biz_order_no',
23591
+ tradeNo: 'trade_no',
23592
+ };
23593
+ }
23594
+
23595
+ static types(): { [key: string]: any } {
23596
+ return {
23597
+ authToken: 'string',
23598
+ productInstanceId: 'string',
23599
+ channelCode: 'string',
23600
+ trafficPlatform: 'string',
23601
+ buyerId: 'string',
23602
+ merchantId: 'string',
23603
+ bizOrderNo: 'string',
23604
+ tradeNo: 'string',
23605
+ };
23606
+ }
23607
+
23608
+ constructor(map?: { [key: string]: any }) {
23609
+ super(map);
23610
+ }
23611
+ }
23612
+
23613
+ export class ApplyDubbridgePetmallorderTransferResponse extends $tea.Model {
23614
+ // 请求唯一ID,用于链路跟踪和问题排查
23615
+ reqMsgId?: string;
23616
+ // 结果码,一般OK表示调用成功
23617
+ resultCode?: string;
23618
+ // 异常信息的文本描述
23619
+ resultMsg?: string;
23620
+ // 业务订单
23621
+ bizOrderNo?: string;
23622
+ // 受理结果:Y-受理成功、N-受理失败
23623
+ settleResult?: string;
23624
+ // 失败原因
23625
+ failReason?: string;
23626
+ // 分账单号,提交成功时返回
23627
+ transferNo?: string;
23628
+ static names(): { [key: string]: string } {
23629
+ return {
23630
+ reqMsgId: 'req_msg_id',
23631
+ resultCode: 'result_code',
23632
+ resultMsg: 'result_msg',
23633
+ bizOrderNo: 'biz_order_no',
23634
+ settleResult: 'settle_result',
23635
+ failReason: 'fail_reason',
23636
+ transferNo: 'transfer_no',
23637
+ };
23638
+ }
23639
+
23640
+ static types(): { [key: string]: any } {
23641
+ return {
23642
+ reqMsgId: 'string',
23643
+ resultCode: 'string',
23644
+ resultMsg: 'string',
23645
+ bizOrderNo: 'string',
23646
+ settleResult: 'string',
23647
+ failReason: 'string',
23648
+ transferNo: 'string',
23649
+ };
23650
+ }
23651
+
23652
+ constructor(map?: { [key: string]: any }) {
23653
+ super(map);
23654
+ }
23655
+ }
23656
+
22837
23657
  export class VerifyFinserviceZhimaIdentifyRequest extends $tea.Model {
22838
23658
  // OAuth模式下的授权token
22839
23659
  authToken?: string;
@@ -36593,7 +37413,7 @@ export default class Client {
36593
37413
  req_msg_id: AntchainUtil.getNonce(),
36594
37414
  access_key: this._accessKeyId,
36595
37415
  base_sdk_version: "TeaSDK-2.0",
36596
- sdk_version: "1.32.0",
37416
+ sdk_version: "1.33.1",
36597
37417
  _prod_code: "RISKPLUS",
36598
37418
  _prod_channel: "undefined",
36599
37419
  };
@@ -39456,6 +40276,153 @@ export default class Client {
39456
40276
  return $tea.cast<QueryDubbridgeMerchantriskResponse>(await this.doRequest("1.0", "riskplus.dubbridge.merchantrisk.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDubbridgeMerchantriskResponse({}));
39457
40277
  }
39458
40278
 
40279
+ /**
40280
+ * @remarks
40281
+ * Description: 聚合收银台申请
40282
+ * Summary: 聚合收银台申请
40283
+ */
40284
+ async applyDubbridgePetcashierGeneral(request: ApplyDubbridgePetcashierGeneralRequest): Promise<ApplyDubbridgePetcashierGeneralResponse> {
40285
+ let runtime = new $Util.RuntimeOptions({ });
40286
+ let headers : {[key: string ]: string} = { };
40287
+ return await this.applyDubbridgePetcashierGeneralEx(request, headers, runtime);
40288
+ }
40289
+
40290
+ /**
40291
+ * @remarks
40292
+ * Description: 聚合收银台申请
40293
+ * Summary: 聚合收银台申请
40294
+ */
40295
+ async applyDubbridgePetcashierGeneralEx(request: ApplyDubbridgePetcashierGeneralRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ApplyDubbridgePetcashierGeneralResponse> {
40296
+ Util.validateModel(request);
40297
+ return $tea.cast<ApplyDubbridgePetcashierGeneralResponse>(await this.doRequest("1.0", "riskplus.dubbridge.petcashier.general.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyDubbridgePetcashierGeneralResponse({}));
40298
+ }
40299
+
40300
+ /**
40301
+ * @remarks
40302
+ * Description: 余额查询
40303
+ * Summary: 余额查询
40304
+ */
40305
+ async queryDubbridgePetFund(request: QueryDubbridgePetFundRequest): Promise<QueryDubbridgePetFundResponse> {
40306
+ let runtime = new $Util.RuntimeOptions({ });
40307
+ let headers : {[key: string ]: string} = { };
40308
+ return await this.queryDubbridgePetFundEx(request, headers, runtime);
40309
+ }
40310
+
40311
+ /**
40312
+ * @remarks
40313
+ * Description: 余额查询
40314
+ * Summary: 余额查询
40315
+ */
40316
+ async queryDubbridgePetFundEx(request: QueryDubbridgePetFundRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryDubbridgePetFundResponse> {
40317
+ Util.validateModel(request);
40318
+ return $tea.cast<QueryDubbridgePetFundResponse>(await this.doRequest("1.0", "riskplus.dubbridge.pet.fund.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDubbridgePetFundResponse({}));
40319
+ }
40320
+
40321
+ /**
40322
+ * @remarks
40323
+ * Description: 商城创建储值卡消费订单(纯储值卡余额支付)
40324
+ * Summary: 商城创建储值卡消费订单(纯储值卡余额支付)
40325
+ */
40326
+ async createDubbridgePetmallorder(request: CreateDubbridgePetmallorderRequest): Promise<CreateDubbridgePetmallorderResponse> {
40327
+ let runtime = new $Util.RuntimeOptions({ });
40328
+ let headers : {[key: string ]: string} = { };
40329
+ return await this.createDubbridgePetmallorderEx(request, headers, runtime);
40330
+ }
40331
+
40332
+ /**
40333
+ * @remarks
40334
+ * Description: 商城创建储值卡消费订单(纯储值卡余额支付)
40335
+ * Summary: 商城创建储值卡消费订单(纯储值卡余额支付)
40336
+ */
40337
+ async createDubbridgePetmallorderEx(request: CreateDubbridgePetmallorderRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateDubbridgePetmallorderResponse> {
40338
+ Util.validateModel(request);
40339
+ return $tea.cast<CreateDubbridgePetmallorderResponse>(await this.doRequest("1.0", "riskplus.dubbridge.petmallorder.create", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CreateDubbridgePetmallorderResponse({}));
40340
+ }
40341
+
40342
+ /**
40343
+ * @remarks
40344
+ * Description: 商城订单状态更新
40345
+ * Summary: 商城订单状态更新
40346
+ */
40347
+ async updateDubbridgePetmallorder(request: UpdateDubbridgePetmallorderRequest): Promise<UpdateDubbridgePetmallorderResponse> {
40348
+ let runtime = new $Util.RuntimeOptions({ });
40349
+ let headers : {[key: string ]: string} = { };
40350
+ return await this.updateDubbridgePetmallorderEx(request, headers, runtime);
40351
+ }
40352
+
40353
+ /**
40354
+ * @remarks
40355
+ * Description: 商城订单状态更新
40356
+ * Summary: 商城订单状态更新
40357
+ */
40358
+ async updateDubbridgePetmallorderEx(request: UpdateDubbridgePetmallorderRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateDubbridgePetmallorderResponse> {
40359
+ Util.validateModel(request);
40360
+ return $tea.cast<UpdateDubbridgePetmallorderResponse>(await this.doRequest("1.0", "riskplus.dubbridge.petmallorder.update", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new UpdateDubbridgePetmallorderResponse({}));
40361
+ }
40362
+
40363
+ /**
40364
+ * @remarks
40365
+ * Description: 退款申请
40366
+ * Summary: 退款申请
40367
+ */
40368
+ async applyDubbridgePetrefund(request: ApplyDubbridgePetrefundRequest): Promise<ApplyDubbridgePetrefundResponse> {
40369
+ let runtime = new $Util.RuntimeOptions({ });
40370
+ let headers : {[key: string ]: string} = { };
40371
+ return await this.applyDubbridgePetrefundEx(request, headers, runtime);
40372
+ }
40373
+
40374
+ /**
40375
+ * @remarks
40376
+ * Description: 退款申请
40377
+ * Summary: 退款申请
40378
+ */
40379
+ async applyDubbridgePetrefundEx(request: ApplyDubbridgePetrefundRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ApplyDubbridgePetrefundResponse> {
40380
+ Util.validateModel(request);
40381
+ return $tea.cast<ApplyDubbridgePetrefundResponse>(await this.doRequest("1.0", "riskplus.dubbridge.petrefund.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyDubbridgePetrefundResponse({}));
40382
+ }
40383
+
40384
+ /**
40385
+ * @remarks
40386
+ * Description: 退款结果查询
40387
+ * Summary: 退款结果查询
40388
+ */
40389
+ async queryDubbridgePetrefund(request: QueryDubbridgePetrefundRequest): Promise<QueryDubbridgePetrefundResponse> {
40390
+ let runtime = new $Util.RuntimeOptions({ });
40391
+ let headers : {[key: string ]: string} = { };
40392
+ return await this.queryDubbridgePetrefundEx(request, headers, runtime);
40393
+ }
40394
+
40395
+ /**
40396
+ * @remarks
40397
+ * Description: 退款结果查询
40398
+ * Summary: 退款结果查询
40399
+ */
40400
+ async queryDubbridgePetrefundEx(request: QueryDubbridgePetrefundRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryDubbridgePetrefundResponse> {
40401
+ Util.validateModel(request);
40402
+ return $tea.cast<QueryDubbridgePetrefundResponse>(await this.doRequest("1.0", "riskplus.dubbridge.petrefund.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDubbridgePetrefundResponse({}));
40403
+ }
40404
+
40405
+ /**
40406
+ * @remarks
40407
+ * Description: 分账提交,接口支持幂等
40408
+ * Summary: 分账提交,接口支持幂等
40409
+ */
40410
+ async applyDubbridgePetmallorderTransfer(request: ApplyDubbridgePetmallorderTransferRequest): Promise<ApplyDubbridgePetmallorderTransferResponse> {
40411
+ let runtime = new $Util.RuntimeOptions({ });
40412
+ let headers : {[key: string ]: string} = { };
40413
+ return await this.applyDubbridgePetmallorderTransferEx(request, headers, runtime);
40414
+ }
40415
+
40416
+ /**
40417
+ * @remarks
40418
+ * Description: 分账提交,接口支持幂等
40419
+ * Summary: 分账提交,接口支持幂等
40420
+ */
40421
+ async applyDubbridgePetmallorderTransferEx(request: ApplyDubbridgePetmallorderTransferRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ApplyDubbridgePetmallorderTransferResponse> {
40422
+ Util.validateModel(request);
40423
+ return $tea.cast<ApplyDubbridgePetmallorderTransferResponse>(await this.doRequest("1.0", "riskplus.dubbridge.petmallorder.transfer.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyDubbridgePetmallorderTransferResponse({}));
40424
+ }
40425
+
39459
40426
  /**
39460
40427
  * @remarks
39461
40428
  * Description: 四要素认证首先调用此接口