@antchain/riskplus 1.32.0 → 1.33.0

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
@@ -1712,6 +1712,55 @@ export class AirDomainInfos extends $tea.Model {
1712
1712
  }
1713
1713
  }
1714
1714
 
1715
+ // 商品明细数组
1716
+ export class ProductItem extends $tea.Model {
1717
+ // 订单商品类型,PET-活体、GOODS-商品、POINT_PACKAGE-积分包(积分商品订单专用,区分普通实物商品)、MEMBER-会员订阅
1718
+ /**
1719
+ * @example
1720
+ * PET
1721
+ */
1722
+ productType: string;
1723
+ // 商品名称
1724
+ /**
1725
+ * @example
1726
+ * xxx
1727
+ */
1728
+ productName: string;
1729
+ // 商品金额,单位元,两位小数
1730
+ /**
1731
+ * @example
1732
+ * 99.22
1733
+ */
1734
+ productAmount: string;
1735
+ // 该行商品收款主体
1736
+ /**
1737
+ * @example
1738
+ * xxx
1739
+ */
1740
+ merchantId: string;
1741
+ static names(): { [key: string]: string } {
1742
+ return {
1743
+ productType: 'product_type',
1744
+ productName: 'product_name',
1745
+ productAmount: 'product_amount',
1746
+ merchantId: 'merchant_id',
1747
+ };
1748
+ }
1749
+
1750
+ static types(): { [key: string]: any } {
1751
+ return {
1752
+ productType: 'string',
1753
+ productName: 'string',
1754
+ productAmount: 'string',
1755
+ merchantId: 'string',
1756
+ };
1757
+ }
1758
+
1759
+ constructor(map?: { [key: string]: any }) {
1760
+ super(map);
1761
+ }
1762
+ }
1763
+
1715
1764
  // 反欺诈风险数据服务规则细节信息
1716
1765
  export class RuleDetail extends $tea.Model {
1717
1766
  // 规则细节名称
@@ -22463,13 +22512,6 @@ export class ApplyDubbridgePetcashierRequest extends $tea.Model {
22463
22512
  enableTransfer?: string;
22464
22513
  // 渠道扩展信息
22465
22514
  extInfo?: PetCashierApplyExtInfo;
22466
- // 1:单活体
22467
- // 2:活体+商城套餐(领宠模式)
22468
- // 3:活体+商城套餐(零售模式)
22469
- // 4:单商品
22470
- // 5:单积分
22471
- // 6:宠秘会员订阅
22472
- productCategory?: string;
22473
22515
  static names(): { [key: string]: string } {
22474
22516
  return {
22475
22517
  authToken: 'auth_token',
@@ -22491,7 +22533,6 @@ export class ApplyDubbridgePetcashierRequest extends $tea.Model {
22491
22533
  returnUrl: 'return_url',
22492
22534
  enableTransfer: 'enable_transfer',
22493
22535
  extInfo: 'ext_info',
22494
- productCategory: 'product_category',
22495
22536
  };
22496
22537
  }
22497
22538
 
@@ -22516,7 +22557,6 @@ export class ApplyDubbridgePetcashierRequest extends $tea.Model {
22516
22557
  returnUrl: 'string',
22517
22558
  enableTransfer: 'string',
22518
22559
  extInfo: PetCashierApplyExtInfo,
22519
- productCategory: 'string',
22520
22560
  };
22521
22561
  }
22522
22562
 
@@ -22573,14 +22613,16 @@ export class QueryDubbridgePetorderRequest extends $tea.Model {
22573
22613
  channelCode: string;
22574
22614
  // 流量平台
22575
22615
  trafficPlatform: string;
22576
- // 门店id
22577
- storeId: string;
22616
+ // decrepted,请使用 merchant_id
22617
+ storeId?: string;
22578
22618
  // 原始订单号
22579
22619
  bizOrderNo: string;
22580
22620
  // 交易单号
22581
22621
  tradeNo: string;
22582
- // 商家社信码
22583
- certNo: string;
22622
+ // decrepted
22623
+ certNo?: string;
22624
+ // 正单归属主体,入驻主体 id
22625
+ merchantId?: string;
22584
22626
  static names(): { [key: string]: string } {
22585
22627
  return {
22586
22628
  authToken: 'auth_token',
@@ -22591,6 +22633,7 @@ export class QueryDubbridgePetorderRequest extends $tea.Model {
22591
22633
  bizOrderNo: 'biz_order_no',
22592
22634
  tradeNo: 'trade_no',
22593
22635
  certNo: 'cert_no',
22636
+ merchantId: 'merchant_id',
22594
22637
  };
22595
22638
  }
22596
22639
 
@@ -22604,6 +22647,7 @@ export class QueryDubbridgePetorderRequest extends $tea.Model {
22604
22647
  bizOrderNo: 'string',
22605
22648
  tradeNo: 'string',
22606
22649
  certNo: 'string',
22650
+ merchantId: 'string',
22607
22651
  };
22608
22652
  }
22609
22653
 
@@ -22637,7 +22681,7 @@ export class QueryDubbridgePetorderResponse extends $tea.Model {
22637
22681
  paymentChannelCode?: string;
22638
22682
  // 支付机构编码 String
22639
22683
  payInstitutionCode?: string;
22640
- // 分期期数
22684
+ // 分期期数,只有发生贴息交易时才存在
22641
22685
  installNum?: string;
22642
22686
  static names(): { [key: string]: string } {
22643
22687
  return {
@@ -22834,6 +22878,581 @@ export class QueryDubbridgeMerchantriskResponse extends $tea.Model {
22834
22878
  }
22835
22879
  }
22836
22880
 
22881
+ export class ApplyDubbridgePetcashierGeneralRequest extends $tea.Model {
22882
+ // OAuth模式下的授权token
22883
+ authToken?: string;
22884
+ productInstanceId?: string;
22885
+ // 渠道编码
22886
+ channelCode: string;
22887
+ // 流量平台
22888
+ trafficPlatform: string;
22889
+ // 买家Id
22890
+ buyerId: string;
22891
+ // 业务订单号
22892
+ bizOrderNo: string;
22893
+ // 订单金额,单位元,两位小数
22894
+ amount: string;
22895
+ // 产品模式:PET_PACKAGE-领宠模式(活体+商城套餐)、PET-单活体、GOODS-单商品、MEMBER-会员订阅
22896
+ productMode: string;
22897
+ // 订单标题
22898
+ subject: string;
22899
+ // 时间戳
22900
+ timestamp: string;
22901
+ // 过期时间
22902
+ expireTime?: string;
22903
+ // 支付场景
22904
+ payScene: string;
22905
+ // 订单归属主体,入驻到平台的id
22906
+ merchantId: string;
22907
+ // 支付机构编码
22908
+ payInstitutionCode: string;
22909
+ // 支付后返回地址
22910
+ returnUrl?: string;
22911
+ // 商品明细数组
22912
+ productList: ProductItem[];
22913
+ // 扩展信息,JSON串
22914
+ extInfo?: string;
22915
+ static names(): { [key: string]: string } {
22916
+ return {
22917
+ authToken: 'auth_token',
22918
+ productInstanceId: 'product_instance_id',
22919
+ channelCode: 'channel_code',
22920
+ trafficPlatform: 'traffic_platform',
22921
+ buyerId: 'buyer_id',
22922
+ bizOrderNo: 'biz_order_no',
22923
+ amount: 'amount',
22924
+ productMode: 'product_mode',
22925
+ subject: 'subject',
22926
+ timestamp: 'timestamp',
22927
+ expireTime: 'expire_time',
22928
+ payScene: 'pay_scene',
22929
+ merchantId: 'merchant_id',
22930
+ payInstitutionCode: 'pay_institution_code',
22931
+ returnUrl: 'return_url',
22932
+ productList: 'product_list',
22933
+ extInfo: 'ext_info',
22934
+ };
22935
+ }
22936
+
22937
+ static types(): { [key: string]: any } {
22938
+ return {
22939
+ authToken: 'string',
22940
+ productInstanceId: 'string',
22941
+ channelCode: 'string',
22942
+ trafficPlatform: 'string',
22943
+ buyerId: 'string',
22944
+ bizOrderNo: 'string',
22945
+ amount: 'string',
22946
+ productMode: 'string',
22947
+ subject: 'string',
22948
+ timestamp: 'string',
22949
+ expireTime: 'string',
22950
+ payScene: 'string',
22951
+ merchantId: 'string',
22952
+ payInstitutionCode: 'string',
22953
+ returnUrl: 'string',
22954
+ productList: { 'type': 'array', 'itemType': ProductItem },
22955
+ extInfo: 'string',
22956
+ };
22957
+ }
22958
+
22959
+ constructor(map?: { [key: string]: any }) {
22960
+ super(map);
22961
+ }
22962
+ }
22963
+
22964
+ export class ApplyDubbridgePetcashierGeneralResponse extends $tea.Model {
22965
+ // 请求唯一ID,用于链路跟踪和问题排查
22966
+ reqMsgId?: string;
22967
+ // 结果码,一般OK表示调用成功
22968
+ resultCode?: string;
22969
+ // 异常信息的文本描述
22970
+ resultMsg?: string;
22971
+ // 跳转url(短链)/小程序场景为支付宝侧单号
22972
+ pageRedirectionData?: string;
22973
+ // 原始跳转url
22974
+ originUrl?: string;
22975
+ // 交易单号
22976
+ tradeNo?: string;
22977
+ static names(): { [key: string]: string } {
22978
+ return {
22979
+ reqMsgId: 'req_msg_id',
22980
+ resultCode: 'result_code',
22981
+ resultMsg: 'result_msg',
22982
+ pageRedirectionData: 'page_redirection_data',
22983
+ originUrl: 'origin_url',
22984
+ tradeNo: 'trade_no',
22985
+ };
22986
+ }
22987
+
22988
+ static types(): { [key: string]: any } {
22989
+ return {
22990
+ reqMsgId: 'string',
22991
+ resultCode: 'string',
22992
+ resultMsg: 'string',
22993
+ pageRedirectionData: 'string',
22994
+ originUrl: 'string',
22995
+ tradeNo: 'string',
22996
+ };
22997
+ }
22998
+
22999
+ constructor(map?: { [key: string]: any }) {
23000
+ super(map);
23001
+ }
23002
+ }
23003
+
23004
+ export class QueryDubbridgePetFundRequest extends $tea.Model {
23005
+ // OAuth模式下的授权token
23006
+ authToken?: string;
23007
+ productInstanceId?: string;
23008
+ // 渠道编码
23009
+ channelCode: string;
23010
+ // 流量平台
23011
+ trafficPlatform: string;
23012
+ // 买家用户id
23013
+ buyerId: string;
23014
+ // 关联交易单号
23015
+ tradeNo: string;
23016
+ // 订单归属主体入驻ID
23017
+ merchantId?: string;
23018
+ static names(): { [key: string]: string } {
23019
+ return {
23020
+ authToken: 'auth_token',
23021
+ productInstanceId: 'product_instance_id',
23022
+ channelCode: 'channel_code',
23023
+ trafficPlatform: 'traffic_platform',
23024
+ buyerId: 'buyer_id',
23025
+ tradeNo: 'trade_no',
23026
+ merchantId: 'merchant_id',
23027
+ };
23028
+ }
23029
+
23030
+ static types(): { [key: string]: any } {
23031
+ return {
23032
+ authToken: 'string',
23033
+ productInstanceId: 'string',
23034
+ channelCode: 'string',
23035
+ trafficPlatform: 'string',
23036
+ buyerId: 'string',
23037
+ tradeNo: 'string',
23038
+ merchantId: 'string',
23039
+ };
23040
+ }
23041
+
23042
+ constructor(map?: { [key: string]: any }) {
23043
+ super(map);
23044
+ }
23045
+ }
23046
+
23047
+ export class QueryDubbridgePetFundResponse extends $tea.Model {
23048
+ // 请求唯一ID,用于链路跟踪和问题排查
23049
+ reqMsgId?: string;
23050
+ // 结果码,一般OK表示调用成功
23051
+ resultCode?: string;
23052
+ // 异常信息的文本描述
23053
+ resultMsg?: string;
23054
+ // 活体可用金额,PET 账户行 available,单位元,两位小数
23055
+ petAvailableAmount?: string;
23056
+ // 商城可用金额,未冻结的可用余额,单位:元
23057
+ mallAvailableAmount?: string;
23058
+ // 商城当前冻结金额,单位:元
23059
+ mallFrozenAmount?: string;
23060
+ static names(): { [key: string]: string } {
23061
+ return {
23062
+ reqMsgId: 'req_msg_id',
23063
+ resultCode: 'result_code',
23064
+ resultMsg: 'result_msg',
23065
+ petAvailableAmount: 'pet_available_amount',
23066
+ mallAvailableAmount: 'mall_available_amount',
23067
+ mallFrozenAmount: 'mall_frozen_amount',
23068
+ };
23069
+ }
23070
+
23071
+ static types(): { [key: string]: any } {
23072
+ return {
23073
+ reqMsgId: 'string',
23074
+ resultCode: 'string',
23075
+ resultMsg: 'string',
23076
+ petAvailableAmount: 'string',
23077
+ mallAvailableAmount: 'string',
23078
+ mallFrozenAmount: 'string',
23079
+ };
23080
+ }
23081
+
23082
+ constructor(map?: { [key: string]: any }) {
23083
+ super(map);
23084
+ }
23085
+ }
23086
+
23087
+ export class CreateDubbridgePetmallorderRequest extends $tea.Model {
23088
+ // OAuth模式下的授权token
23089
+ authToken?: string;
23090
+ productInstanceId?: string;
23091
+ // 渠道编码
23092
+ channelCode: string;
23093
+ // 流量平台
23094
+ trafficPlatform: string;
23095
+ // 买家用户id
23096
+ buyerId: string;
23097
+ // 商户入驻id
23098
+ merchantId?: string;
23099
+ // 商城订单号
23100
+ bizOrderNo: string;
23101
+ // 关联交易单号,储值卡来源 trade_no,储值卡金额只能消耗该 trade_no 下的余额
23102
+ tradeNo: string;
23103
+ // 商品名称
23104
+ goodsName: string;
23105
+ // 商品待结算金额,单位:元
23106
+ settleAmount: string;
23107
+ // 储值卡支付金额,用于冻结/出账/分账的基数,单位元,两位小数
23108
+ pointAmount: string;
23109
+ static names(): { [key: string]: string } {
23110
+ return {
23111
+ authToken: 'auth_token',
23112
+ productInstanceId: 'product_instance_id',
23113
+ channelCode: 'channel_code',
23114
+ trafficPlatform: 'traffic_platform',
23115
+ buyerId: 'buyer_id',
23116
+ merchantId: 'merchant_id',
23117
+ bizOrderNo: 'biz_order_no',
23118
+ tradeNo: 'trade_no',
23119
+ goodsName: 'goods_name',
23120
+ settleAmount: 'settle_amount',
23121
+ pointAmount: 'point_amount',
23122
+ };
23123
+ }
23124
+
23125
+ static types(): { [key: string]: any } {
23126
+ return {
23127
+ authToken: 'string',
23128
+ productInstanceId: 'string',
23129
+ channelCode: 'string',
23130
+ trafficPlatform: 'string',
23131
+ buyerId: 'string',
23132
+ merchantId: 'string',
23133
+ bizOrderNo: 'string',
23134
+ tradeNo: 'string',
23135
+ goodsName: 'string',
23136
+ settleAmount: 'string',
23137
+ pointAmount: 'string',
23138
+ };
23139
+ }
23140
+
23141
+ constructor(map?: { [key: string]: any }) {
23142
+ super(map);
23143
+ }
23144
+ }
23145
+
23146
+ export class CreateDubbridgePetmallorderResponse extends $tea.Model {
23147
+ // 请求唯一ID,用于链路跟踪和问题排查
23148
+ reqMsgId?: string;
23149
+ // 结果码,一般OK表示调用成功
23150
+ resultCode?: string;
23151
+ // 异常信息的文本描述
23152
+ resultMsg?: string;
23153
+ // 商城业务订单号
23154
+ bizOrderNo?: string;
23155
+ // 积分订单创建结果,Y-成功;N-失败
23156
+ createResult?: string;
23157
+ // 失败原因
23158
+ failReason?: string;
23159
+ static names(): { [key: string]: string } {
23160
+ return {
23161
+ reqMsgId: 'req_msg_id',
23162
+ resultCode: 'result_code',
23163
+ resultMsg: 'result_msg',
23164
+ bizOrderNo: 'biz_order_no',
23165
+ createResult: 'create_result',
23166
+ failReason: 'fail_reason',
23167
+ };
23168
+ }
23169
+
23170
+ static types(): { [key: string]: any } {
23171
+ return {
23172
+ reqMsgId: 'string',
23173
+ resultCode: 'string',
23174
+ resultMsg: 'string',
23175
+ bizOrderNo: 'string',
23176
+ createResult: 'string',
23177
+ failReason: 'string',
23178
+ };
23179
+ }
23180
+
23181
+ constructor(map?: { [key: string]: any }) {
23182
+ super(map);
23183
+ }
23184
+ }
23185
+
23186
+ export class UpdateDubbridgePetmallorderRequest extends $tea.Model {
23187
+ // OAuth模式下的授权token
23188
+ authToken?: string;
23189
+ productInstanceId?: string;
23190
+ // 渠道编码
23191
+ channelCode: string;
23192
+ // 流量平台
23193
+ trafficPlatform?: string;
23194
+ // 买家用户id
23195
+ buyerId: string;
23196
+ // 商户入驻id
23197
+ merchantId?: string;
23198
+ // 关联交易单号
23199
+ tradeNo?: string;
23200
+ // 商城业务订单号
23201
+ bizOrderNo: string;
23202
+ // SHIPPED: 已发货
23203
+ // CANCELED: 取消
23204
+ // RECEIVED: 确认收货
23205
+ status: string;
23206
+ static names(): { [key: string]: string } {
23207
+ return {
23208
+ authToken: 'auth_token',
23209
+ productInstanceId: 'product_instance_id',
23210
+ channelCode: 'channel_code',
23211
+ trafficPlatform: 'traffic_platform',
23212
+ buyerId: 'buyer_id',
23213
+ merchantId: 'merchant_id',
23214
+ tradeNo: 'trade_no',
23215
+ bizOrderNo: 'biz_order_no',
23216
+ status: 'status',
23217
+ };
23218
+ }
23219
+
23220
+ static types(): { [key: string]: any } {
23221
+ return {
23222
+ authToken: 'string',
23223
+ productInstanceId: 'string',
23224
+ channelCode: 'string',
23225
+ trafficPlatform: 'string',
23226
+ buyerId: 'string',
23227
+ merchantId: 'string',
23228
+ tradeNo: 'string',
23229
+ bizOrderNo: 'string',
23230
+ status: 'string',
23231
+ };
23232
+ }
23233
+
23234
+ constructor(map?: { [key: string]: any }) {
23235
+ super(map);
23236
+ }
23237
+ }
23238
+
23239
+ export class UpdateDubbridgePetmallorderResponse extends $tea.Model {
23240
+ // 请求唯一ID,用于链路跟踪和问题排查
23241
+ reqMsgId?: string;
23242
+ // 结果码,一般OK表示调用成功
23243
+ resultCode?: string;
23244
+ // 异常信息的文本描述
23245
+ resultMsg?: string;
23246
+ // 商城业务订单号
23247
+ bizOrderNo?: string;
23248
+ // Y-成功
23249
+ // N-失败
23250
+ updateResult?: string;
23251
+ // 失败原因
23252
+ failReason?: string;
23253
+ static names(): { [key: string]: string } {
23254
+ return {
23255
+ reqMsgId: 'req_msg_id',
23256
+ resultCode: 'result_code',
23257
+ resultMsg: 'result_msg',
23258
+ bizOrderNo: 'biz_order_no',
23259
+ updateResult: 'update_result',
23260
+ failReason: 'fail_reason',
23261
+ };
23262
+ }
23263
+
23264
+ static types(): { [key: string]: any } {
23265
+ return {
23266
+ reqMsgId: 'string',
23267
+ resultCode: 'string',
23268
+ resultMsg: 'string',
23269
+ bizOrderNo: 'string',
23270
+ updateResult: 'string',
23271
+ failReason: 'string',
23272
+ };
23273
+ }
23274
+
23275
+ constructor(map?: { [key: string]: any }) {
23276
+ super(map);
23277
+ }
23278
+ }
23279
+
23280
+ export class ApplyDubbridgePetrefundRequest extends $tea.Model {
23281
+ // OAuth模式下的授权token
23282
+ authToken?: string;
23283
+ productInstanceId?: string;
23284
+ // 渠道编码
23285
+ channelCode: string;
23286
+ // 流量平台
23287
+ trafficPlatform?: string;
23288
+ // 退款单号,渠道/商城侧唯一
23289
+ refundNo: string;
23290
+ // 业务订单号
23291
+ bizOrderNo: string;
23292
+ // 关联交易单号
23293
+ tradeNo?: string;
23294
+ // 活体部分退款金额,单位元,两位小数
23295
+ petRefundAmount?: string;
23296
+ // 商城部分退款金额,单位元,两位小数
23297
+ mallRefundAmount?: string;
23298
+ // 退款原因
23299
+ refundReason?: string;
23300
+ static names(): { [key: string]: string } {
23301
+ return {
23302
+ authToken: 'auth_token',
23303
+ productInstanceId: 'product_instance_id',
23304
+ channelCode: 'channel_code',
23305
+ trafficPlatform: 'traffic_platform',
23306
+ refundNo: 'refund_no',
23307
+ bizOrderNo: 'biz_order_no',
23308
+ tradeNo: 'trade_no',
23309
+ petRefundAmount: 'pet_refund_amount',
23310
+ mallRefundAmount: 'mall_refund_amount',
23311
+ refundReason: 'refund_reason',
23312
+ };
23313
+ }
23314
+
23315
+ static types(): { [key: string]: any } {
23316
+ return {
23317
+ authToken: 'string',
23318
+ productInstanceId: 'string',
23319
+ channelCode: 'string',
23320
+ trafficPlatform: 'string',
23321
+ refundNo: 'string',
23322
+ bizOrderNo: 'string',
23323
+ tradeNo: 'string',
23324
+ petRefundAmount: 'string',
23325
+ mallRefundAmount: 'string',
23326
+ refundReason: 'string',
23327
+ };
23328
+ }
23329
+
23330
+ constructor(map?: { [key: string]: any }) {
23331
+ super(map);
23332
+ }
23333
+ }
23334
+
23335
+ export class ApplyDubbridgePetrefundResponse extends $tea.Model {
23336
+ // 请求唯一ID,用于链路跟踪和问题排查
23337
+ reqMsgId?: string;
23338
+ // 结果码,一般OK表示调用成功
23339
+ resultCode?: string;
23340
+ // 异常信息的文本描述
23341
+ resultMsg?: string;
23342
+ // 退款单号
23343
+ refundNo?: string;
23344
+ // 退款申请结果,Y-提交成功,N-提交失败
23345
+ refundStatus?: string;
23346
+ remark?: string;
23347
+ static names(): { [key: string]: string } {
23348
+ return {
23349
+ reqMsgId: 'req_msg_id',
23350
+ resultCode: 'result_code',
23351
+ resultMsg: 'result_msg',
23352
+ refundNo: 'refund_no',
23353
+ refundStatus: 'refund_status',
23354
+ remark: 'remark',
23355
+ };
23356
+ }
23357
+
23358
+ static types(): { [key: string]: any } {
23359
+ return {
23360
+ reqMsgId: 'string',
23361
+ resultCode: 'string',
23362
+ resultMsg: 'string',
23363
+ refundNo: 'string',
23364
+ refundStatus: 'string',
23365
+ remark: 'string',
23366
+ };
23367
+ }
23368
+
23369
+ constructor(map?: { [key: string]: any }) {
23370
+ super(map);
23371
+ }
23372
+ }
23373
+
23374
+ export class QueryDubbridgePetrefundRequest extends $tea.Model {
23375
+ // OAuth模式下的授权token
23376
+ authToken?: string;
23377
+ productInstanceId?: string;
23378
+ // 渠道编码
23379
+ channelCode: string;
23380
+ // 流量平台
23381
+ trafficPlatform?: string;
23382
+ // 退款单号
23383
+ refundNo: string;
23384
+ // 关联交易单号
23385
+ tradeNo?: string;
23386
+ static names(): { [key: string]: string } {
23387
+ return {
23388
+ authToken: 'auth_token',
23389
+ productInstanceId: 'product_instance_id',
23390
+ channelCode: 'channel_code',
23391
+ trafficPlatform: 'traffic_platform',
23392
+ refundNo: 'refund_no',
23393
+ tradeNo: 'trade_no',
23394
+ };
23395
+ }
23396
+
23397
+ static types(): { [key: string]: any } {
23398
+ return {
23399
+ authToken: 'string',
23400
+ productInstanceId: 'string',
23401
+ channelCode: 'string',
23402
+ trafficPlatform: 'string',
23403
+ refundNo: 'string',
23404
+ tradeNo: 'string',
23405
+ };
23406
+ }
23407
+
23408
+ constructor(map?: { [key: string]: any }) {
23409
+ super(map);
23410
+ }
23411
+ }
23412
+
23413
+ export class QueryDubbridgePetrefundResponse extends $tea.Model {
23414
+ // 请求唯一ID,用于链路跟踪和问题排查
23415
+ reqMsgId?: string;
23416
+ // 结果码,一般OK表示调用成功
23417
+ resultCode?: string;
23418
+ // 异常信息的文本描述
23419
+ resultMsg?: string;
23420
+ // 活体部分退款金额,单位:元
23421
+ petRefundAmount?: string;
23422
+ // 商城部分退款金额,单位:元
23423
+ mallRefundAmount?: string;
23424
+ // 退款状态,INIT/PROCESSING/SUCCESS/FAILED
23425
+ refundStatus?: string;
23426
+ remark?: string;
23427
+ static names(): { [key: string]: string } {
23428
+ return {
23429
+ reqMsgId: 'req_msg_id',
23430
+ resultCode: 'result_code',
23431
+ resultMsg: 'result_msg',
23432
+ petRefundAmount: 'pet_refund_amount',
23433
+ mallRefundAmount: 'mall_refund_amount',
23434
+ refundStatus: 'refund_status',
23435
+ remark: 'remark',
23436
+ };
23437
+ }
23438
+
23439
+ static types(): { [key: string]: any } {
23440
+ return {
23441
+ reqMsgId: 'string',
23442
+ resultCode: 'string',
23443
+ resultMsg: 'string',
23444
+ petRefundAmount: 'string',
23445
+ mallRefundAmount: 'string',
23446
+ refundStatus: 'string',
23447
+ remark: 'string',
23448
+ };
23449
+ }
23450
+
23451
+ constructor(map?: { [key: string]: any }) {
23452
+ super(map);
23453
+ }
23454
+ }
23455
+
22837
23456
  export class VerifyFinserviceZhimaIdentifyRequest extends $tea.Model {
22838
23457
  // OAuth模式下的授权token
22839
23458
  authToken?: string;
@@ -36593,7 +37212,7 @@ export default class Client {
36593
37212
  req_msg_id: AntchainUtil.getNonce(),
36594
37213
  access_key: this._accessKeyId,
36595
37214
  base_sdk_version: "TeaSDK-2.0",
36596
- sdk_version: "1.32.0",
37215
+ sdk_version: "1.33.0",
36597
37216
  _prod_code: "RISKPLUS",
36598
37217
  _prod_channel: "undefined",
36599
37218
  };
@@ -39456,6 +40075,132 @@ export default class Client {
39456
40075
  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
40076
  }
39458
40077
 
40078
+ /**
40079
+ * @remarks
40080
+ * Description: 聚合收银台申请
40081
+ * Summary: 聚合收银台申请
40082
+ */
40083
+ async applyDubbridgePetcashierGeneral(request: ApplyDubbridgePetcashierGeneralRequest): Promise<ApplyDubbridgePetcashierGeneralResponse> {
40084
+ let runtime = new $Util.RuntimeOptions({ });
40085
+ let headers : {[key: string ]: string} = { };
40086
+ return await this.applyDubbridgePetcashierGeneralEx(request, headers, runtime);
40087
+ }
40088
+
40089
+ /**
40090
+ * @remarks
40091
+ * Description: 聚合收银台申请
40092
+ * Summary: 聚合收银台申请
40093
+ */
40094
+ async applyDubbridgePetcashierGeneralEx(request: ApplyDubbridgePetcashierGeneralRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ApplyDubbridgePetcashierGeneralResponse> {
40095
+ Util.validateModel(request);
40096
+ 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({}));
40097
+ }
40098
+
40099
+ /**
40100
+ * @remarks
40101
+ * Description: 余额查询
40102
+ * Summary: 余额查询
40103
+ */
40104
+ async queryDubbridgePetFund(request: QueryDubbridgePetFundRequest): Promise<QueryDubbridgePetFundResponse> {
40105
+ let runtime = new $Util.RuntimeOptions({ });
40106
+ let headers : {[key: string ]: string} = { };
40107
+ return await this.queryDubbridgePetFundEx(request, headers, runtime);
40108
+ }
40109
+
40110
+ /**
40111
+ * @remarks
40112
+ * Description: 余额查询
40113
+ * Summary: 余额查询
40114
+ */
40115
+ async queryDubbridgePetFundEx(request: QueryDubbridgePetFundRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryDubbridgePetFundResponse> {
40116
+ Util.validateModel(request);
40117
+ 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({}));
40118
+ }
40119
+
40120
+ /**
40121
+ * @remarks
40122
+ * Description: 商城创建储值卡消费订单(纯储值卡余额支付)
40123
+ * Summary: 商城创建储值卡消费订单(纯储值卡余额支付)
40124
+ */
40125
+ async createDubbridgePetmallorder(request: CreateDubbridgePetmallorderRequest): Promise<CreateDubbridgePetmallorderResponse> {
40126
+ let runtime = new $Util.RuntimeOptions({ });
40127
+ let headers : {[key: string ]: string} = { };
40128
+ return await this.createDubbridgePetmallorderEx(request, headers, runtime);
40129
+ }
40130
+
40131
+ /**
40132
+ * @remarks
40133
+ * Description: 商城创建储值卡消费订单(纯储值卡余额支付)
40134
+ * Summary: 商城创建储值卡消费订单(纯储值卡余额支付)
40135
+ */
40136
+ async createDubbridgePetmallorderEx(request: CreateDubbridgePetmallorderRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateDubbridgePetmallorderResponse> {
40137
+ Util.validateModel(request);
40138
+ return $tea.cast<CreateDubbridgePetmallorderResponse>(await this.doRequest("1.0", "riskplus.dubbridge.petmallorder.create", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CreateDubbridgePetmallorderResponse({}));
40139
+ }
40140
+
40141
+ /**
40142
+ * @remarks
40143
+ * Description: 商城订单状态更新
40144
+ * Summary: 商城订单状态更新
40145
+ */
40146
+ async updateDubbridgePetmallorder(request: UpdateDubbridgePetmallorderRequest): Promise<UpdateDubbridgePetmallorderResponse> {
40147
+ let runtime = new $Util.RuntimeOptions({ });
40148
+ let headers : {[key: string ]: string} = { };
40149
+ return await this.updateDubbridgePetmallorderEx(request, headers, runtime);
40150
+ }
40151
+
40152
+ /**
40153
+ * @remarks
40154
+ * Description: 商城订单状态更新
40155
+ * Summary: 商城订单状态更新
40156
+ */
40157
+ async updateDubbridgePetmallorderEx(request: UpdateDubbridgePetmallorderRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateDubbridgePetmallorderResponse> {
40158
+ Util.validateModel(request);
40159
+ return $tea.cast<UpdateDubbridgePetmallorderResponse>(await this.doRequest("1.0", "riskplus.dubbridge.petmallorder.update", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new UpdateDubbridgePetmallorderResponse({}));
40160
+ }
40161
+
40162
+ /**
40163
+ * @remarks
40164
+ * Description: 退款申请
40165
+ * Summary: 退款申请
40166
+ */
40167
+ async applyDubbridgePetrefund(request: ApplyDubbridgePetrefundRequest): Promise<ApplyDubbridgePetrefundResponse> {
40168
+ let runtime = new $Util.RuntimeOptions({ });
40169
+ let headers : {[key: string ]: string} = { };
40170
+ return await this.applyDubbridgePetrefundEx(request, headers, runtime);
40171
+ }
40172
+
40173
+ /**
40174
+ * @remarks
40175
+ * Description: 退款申请
40176
+ * Summary: 退款申请
40177
+ */
40178
+ async applyDubbridgePetrefundEx(request: ApplyDubbridgePetrefundRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ApplyDubbridgePetrefundResponse> {
40179
+ Util.validateModel(request);
40180
+ return $tea.cast<ApplyDubbridgePetrefundResponse>(await this.doRequest("1.0", "riskplus.dubbridge.petrefund.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyDubbridgePetrefundResponse({}));
40181
+ }
40182
+
40183
+ /**
40184
+ * @remarks
40185
+ * Description: 退款结果查询
40186
+ * Summary: 退款结果查询
40187
+ */
40188
+ async queryDubbridgePetrefund(request: QueryDubbridgePetrefundRequest): Promise<QueryDubbridgePetrefundResponse> {
40189
+ let runtime = new $Util.RuntimeOptions({ });
40190
+ let headers : {[key: string ]: string} = { };
40191
+ return await this.queryDubbridgePetrefundEx(request, headers, runtime);
40192
+ }
40193
+
40194
+ /**
40195
+ * @remarks
40196
+ * Description: 退款结果查询
40197
+ * Summary: 退款结果查询
40198
+ */
40199
+ async queryDubbridgePetrefundEx(request: QueryDubbridgePetrefundRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryDubbridgePetrefundResponse> {
40200
+ Util.validateModel(request);
40201
+ return $tea.cast<QueryDubbridgePetrefundResponse>(await this.doRequest("1.0", "riskplus.dubbridge.petrefund.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDubbridgePetrefundResponse({}));
40202
+ }
40203
+
39459
40204
  /**
39460
40205
  * @remarks
39461
40206
  * Description: 四要素认证首先调用此接口