@antchain/riskplus 1.31.31 → 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/dist/client.d.ts +529 -2
- package/dist/client.js +856 -113
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1125 -6
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
|
// 规则细节名称
|
|
@@ -4871,6 +4920,63 @@ export class RpcommonResp extends $tea.Model {
|
|
|
4871
4920
|
}
|
|
4872
4921
|
}
|
|
4873
4922
|
|
|
4923
|
+
// 补充信息
|
|
4924
|
+
export class ReplenishInfo extends $tea.Model {
|
|
4925
|
+
// 客户姓名
|
|
4926
|
+
/**
|
|
4927
|
+
* @example
|
|
4928
|
+
* 张三
|
|
4929
|
+
*/
|
|
4930
|
+
customName?: string;
|
|
4931
|
+
// 手机号
|
|
4932
|
+
/**
|
|
4933
|
+
* @example
|
|
4934
|
+
* 13800000000
|
|
4935
|
+
*/
|
|
4936
|
+
mobile?: string;
|
|
4937
|
+
// 省份
|
|
4938
|
+
/**
|
|
4939
|
+
* @example
|
|
4940
|
+
* 浙江省
|
|
4941
|
+
*/
|
|
4942
|
+
province?: string;
|
|
4943
|
+
// 城市
|
|
4944
|
+
/**
|
|
4945
|
+
* @example
|
|
4946
|
+
* 杭州市
|
|
4947
|
+
*/
|
|
4948
|
+
city?: string;
|
|
4949
|
+
// 地区名称
|
|
4950
|
+
/**
|
|
4951
|
+
* @example
|
|
4952
|
+
* 滨江区
|
|
4953
|
+
*/
|
|
4954
|
+
area?: string;
|
|
4955
|
+
static names(): { [key: string]: string } {
|
|
4956
|
+
return {
|
|
4957
|
+
customName: 'custom_name',
|
|
4958
|
+
mobile: 'mobile',
|
|
4959
|
+
province: 'province',
|
|
4960
|
+
city: 'city',
|
|
4961
|
+
area: 'area',
|
|
4962
|
+
};
|
|
4963
|
+
}
|
|
4964
|
+
|
|
4965
|
+
static types(): { [key: string]: any } {
|
|
4966
|
+
return {
|
|
4967
|
+
customName: 'string',
|
|
4968
|
+
mobile: 'string',
|
|
4969
|
+
province: 'string',
|
|
4970
|
+
city: 'string',
|
|
4971
|
+
area: 'string',
|
|
4972
|
+
};
|
|
4973
|
+
}
|
|
4974
|
+
|
|
4975
|
+
constructor(map?: { [key: string]: any }) {
|
|
4976
|
+
super(map);
|
|
4977
|
+
}
|
|
4978
|
+
}
|
|
4979
|
+
|
|
4874
4980
|
// 渠道扩展信息
|
|
4875
4981
|
export class PetCashierApplyExtInfo extends $tea.Model {
|
|
4876
4982
|
// 门店名称
|
|
@@ -11463,6 +11569,8 @@ export class ExecFlowRunResponse extends $tea.Model {
|
|
|
11463
11569
|
flowCode?: string;
|
|
11464
11570
|
// 创建完成后的执行状态,固定返回 RUNNING。
|
|
11465
11571
|
status?: string;
|
|
11572
|
+
// 用户须知,用于展示本平台的使用须知。
|
|
11573
|
+
userNotice?: string;
|
|
11466
11574
|
static names(): { [key: string]: string } {
|
|
11467
11575
|
return {
|
|
11468
11576
|
reqMsgId: 'req_msg_id',
|
|
@@ -11471,6 +11579,7 @@ export class ExecFlowRunResponse extends $tea.Model {
|
|
|
11471
11579
|
runNo: 'run_no',
|
|
11472
11580
|
flowCode: 'flow_code',
|
|
11473
11581
|
status: 'status',
|
|
11582
|
+
userNotice: 'user_notice',
|
|
11474
11583
|
};
|
|
11475
11584
|
}
|
|
11476
11585
|
|
|
@@ -11482,6 +11591,7 @@ export class ExecFlowRunResponse extends $tea.Model {
|
|
|
11482
11591
|
runNo: 'string',
|
|
11483
11592
|
flowCode: 'string',
|
|
11484
11593
|
status: 'string',
|
|
11594
|
+
userNotice: 'string',
|
|
11485
11595
|
};
|
|
11486
11596
|
}
|
|
11487
11597
|
|
|
@@ -11532,6 +11642,8 @@ export class QueryFlowRunResponse extends $tea.Model {
|
|
|
11532
11642
|
status?: string;
|
|
11533
11643
|
// Flow 执行产出列表,每个元素为 FlowRunOutput 结构。仅当 status=SUCCESS 时返回产出内容;可包含文本、数字、布尔值、JSON 和文件。FILE 类型的 value 为短期有效的 HTTPS 下载地址。存在多个产出或多个文件时返回多个列表元素;RUNNING 或 FAILED 状态下返回空列表。
|
|
11534
11644
|
outputs?: FlowRunOutput[];
|
|
11645
|
+
// 用户须知,用于展示本平台的使用须知。
|
|
11646
|
+
userNotice?: string;
|
|
11535
11647
|
static names(): { [key: string]: string } {
|
|
11536
11648
|
return {
|
|
11537
11649
|
reqMsgId: 'req_msg_id',
|
|
@@ -11541,6 +11653,7 @@ export class QueryFlowRunResponse extends $tea.Model {
|
|
|
11541
11653
|
flowCode: 'flow_code',
|
|
11542
11654
|
status: 'status',
|
|
11543
11655
|
outputs: 'outputs',
|
|
11656
|
+
userNotice: 'user_notice',
|
|
11544
11657
|
};
|
|
11545
11658
|
}
|
|
11546
11659
|
|
|
@@ -11553,6 +11666,7 @@ export class QueryFlowRunResponse extends $tea.Model {
|
|
|
11553
11666
|
flowCode: 'string',
|
|
11554
11667
|
status: 'string',
|
|
11555
11668
|
outputs: { 'type': 'array', 'itemType': FlowRunOutput },
|
|
11669
|
+
userNotice: 'string',
|
|
11556
11670
|
};
|
|
11557
11671
|
}
|
|
11558
11672
|
|
|
@@ -12017,6 +12131,89 @@ export class QueryBenefithubReportEffectiveResponse extends $tea.Model {
|
|
|
12017
12131
|
}
|
|
12018
12132
|
}
|
|
12019
12133
|
|
|
12134
|
+
export class QueryBenefithubSubscriptionlinkRequest extends $tea.Model {
|
|
12135
|
+
// OAuth模式下的授权token
|
|
12136
|
+
authToken?: string;
|
|
12137
|
+
productInstanceId?: string;
|
|
12138
|
+
// 平台码 注:不同平台的平台码都是固定好的,如果传入的平台码有误会抛出平台码错误的信息
|
|
12139
|
+
platformCode: string;
|
|
12140
|
+
// 用户id
|
|
12141
|
+
userUniqueId: string;
|
|
12142
|
+
// 产品code必填,后续多产品时可以区分
|
|
12143
|
+
productCode?: string;
|
|
12144
|
+
// 渠道、平台方推送的手机号
|
|
12145
|
+
mobile: string;
|
|
12146
|
+
// 场景配置信息字符串,用于透传
|
|
12147
|
+
sceneConfig: string;
|
|
12148
|
+
// 区分流量来源
|
|
12149
|
+
trafficSource?: string;
|
|
12150
|
+
// json字符串包含姓名md5、手机号md5、身份证md5,(非必传,用于后续扩展字段使用)
|
|
12151
|
+
extraInfo?: string;
|
|
12152
|
+
static names(): { [key: string]: string } {
|
|
12153
|
+
return {
|
|
12154
|
+
authToken: 'auth_token',
|
|
12155
|
+
productInstanceId: 'product_instance_id',
|
|
12156
|
+
platformCode: 'platform_code',
|
|
12157
|
+
userUniqueId: 'user_unique_id',
|
|
12158
|
+
productCode: 'product_code',
|
|
12159
|
+
mobile: 'mobile',
|
|
12160
|
+
sceneConfig: 'scene_config',
|
|
12161
|
+
trafficSource: 'traffic_source',
|
|
12162
|
+
extraInfo: 'extra_info',
|
|
12163
|
+
};
|
|
12164
|
+
}
|
|
12165
|
+
|
|
12166
|
+
static types(): { [key: string]: any } {
|
|
12167
|
+
return {
|
|
12168
|
+
authToken: 'string',
|
|
12169
|
+
productInstanceId: 'string',
|
|
12170
|
+
platformCode: 'string',
|
|
12171
|
+
userUniqueId: 'string',
|
|
12172
|
+
productCode: 'string',
|
|
12173
|
+
mobile: 'string',
|
|
12174
|
+
sceneConfig: 'string',
|
|
12175
|
+
trafficSource: 'string',
|
|
12176
|
+
extraInfo: 'string',
|
|
12177
|
+
};
|
|
12178
|
+
}
|
|
12179
|
+
|
|
12180
|
+
constructor(map?: { [key: string]: any }) {
|
|
12181
|
+
super(map);
|
|
12182
|
+
}
|
|
12183
|
+
}
|
|
12184
|
+
|
|
12185
|
+
export class QueryBenefithubSubscriptionlinkResponse extends $tea.Model {
|
|
12186
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
12187
|
+
reqMsgId?: string;
|
|
12188
|
+
// 结果码,一般OK表示调用成功
|
|
12189
|
+
resultCode?: string;
|
|
12190
|
+
// 异常信息的文本描述
|
|
12191
|
+
resultMsg?: string;
|
|
12192
|
+
// h5跳转链接
|
|
12193
|
+
h5Url?: string;
|
|
12194
|
+
static names(): { [key: string]: string } {
|
|
12195
|
+
return {
|
|
12196
|
+
reqMsgId: 'req_msg_id',
|
|
12197
|
+
resultCode: 'result_code',
|
|
12198
|
+
resultMsg: 'result_msg',
|
|
12199
|
+
h5Url: 'h5_url',
|
|
12200
|
+
};
|
|
12201
|
+
}
|
|
12202
|
+
|
|
12203
|
+
static types(): { [key: string]: any } {
|
|
12204
|
+
return {
|
|
12205
|
+
reqMsgId: 'string',
|
|
12206
|
+
resultCode: 'string',
|
|
12207
|
+
resultMsg: 'string',
|
|
12208
|
+
h5Url: 'string',
|
|
12209
|
+
};
|
|
12210
|
+
}
|
|
12211
|
+
|
|
12212
|
+
constructor(map?: { [key: string]: any }) {
|
|
12213
|
+
super(map);
|
|
12214
|
+
}
|
|
12215
|
+
}
|
|
12216
|
+
|
|
12020
12217
|
export class BatchqueryCreditshieldProductInfoRequest extends $tea.Model {
|
|
12021
12218
|
// OAuth模式下的授权token
|
|
12022
12219
|
authToken?: string;
|
|
@@ -22416,14 +22613,16 @@ export class QueryDubbridgePetorderRequest extends $tea.Model {
|
|
|
22416
22613
|
channelCode: string;
|
|
22417
22614
|
// 流量平台
|
|
22418
22615
|
trafficPlatform: string;
|
|
22419
|
-
//
|
|
22420
|
-
storeId
|
|
22616
|
+
// decrepted,请使用 merchant_id
|
|
22617
|
+
storeId?: string;
|
|
22421
22618
|
// 原始订单号
|
|
22422
22619
|
bizOrderNo: string;
|
|
22423
22620
|
// 交易单号
|
|
22424
22621
|
tradeNo: string;
|
|
22425
|
-
//
|
|
22426
|
-
certNo
|
|
22622
|
+
// decrepted
|
|
22623
|
+
certNo?: string;
|
|
22624
|
+
// 正单归属主体,入驻主体 id
|
|
22625
|
+
merchantId?: string;
|
|
22427
22626
|
static names(): { [key: string]: string } {
|
|
22428
22627
|
return {
|
|
22429
22628
|
authToken: 'auth_token',
|
|
@@ -22434,6 +22633,7 @@ export class QueryDubbridgePetorderRequest extends $tea.Model {
|
|
|
22434
22633
|
bizOrderNo: 'biz_order_no',
|
|
22435
22634
|
tradeNo: 'trade_no',
|
|
22436
22635
|
certNo: 'cert_no',
|
|
22636
|
+
merchantId: 'merchant_id',
|
|
22437
22637
|
};
|
|
22438
22638
|
}
|
|
22439
22639
|
|
|
@@ -22447,6 +22647,7 @@ export class QueryDubbridgePetorderRequest extends $tea.Model {
|
|
|
22447
22647
|
bizOrderNo: 'string',
|
|
22448
22648
|
tradeNo: 'string',
|
|
22449
22649
|
certNo: 'string',
|
|
22650
|
+
merchantId: 'string',
|
|
22450
22651
|
};
|
|
22451
22652
|
}
|
|
22452
22653
|
|
|
@@ -22480,7 +22681,7 @@ export class QueryDubbridgePetorderResponse extends $tea.Model {
|
|
|
22480
22681
|
paymentChannelCode?: string;
|
|
22481
22682
|
// 支付机构编码 String
|
|
22482
22683
|
payInstitutionCode?: string;
|
|
22483
|
-
//
|
|
22684
|
+
// 分期期数,只有发生贴息交易时才存在
|
|
22484
22685
|
installNum?: string;
|
|
22485
22686
|
static names(): { [key: string]: string } {
|
|
22486
22687
|
return {
|
|
@@ -22523,6 +22724,735 @@ export class QueryDubbridgePetorderResponse extends $tea.Model {
|
|
|
22523
22724
|
}
|
|
22524
22725
|
}
|
|
22525
22726
|
|
|
22727
|
+
export class SyncDubbridgeCustomRequest extends $tea.Model {
|
|
22728
|
+
// OAuth模式下的授权token
|
|
22729
|
+
authToken?: string;
|
|
22730
|
+
productInstanceId?: string;
|
|
22731
|
+
// 资产方用户唯一标识
|
|
22732
|
+
openId: string;
|
|
22733
|
+
// 补充信息
|
|
22734
|
+
replenishInfo?: ReplenishInfo;
|
|
22735
|
+
// 扩展信息,json格式字符串
|
|
22736
|
+
extInfo?: string;
|
|
22737
|
+
// 资金方编码
|
|
22738
|
+
fundCode?: string;
|
|
22739
|
+
static names(): { [key: string]: string } {
|
|
22740
|
+
return {
|
|
22741
|
+
authToken: 'auth_token',
|
|
22742
|
+
productInstanceId: 'product_instance_id',
|
|
22743
|
+
openId: 'open_id',
|
|
22744
|
+
replenishInfo: 'replenish_info',
|
|
22745
|
+
extInfo: 'ext_info',
|
|
22746
|
+
fundCode: 'fund_code',
|
|
22747
|
+
};
|
|
22748
|
+
}
|
|
22749
|
+
|
|
22750
|
+
static types(): { [key: string]: any } {
|
|
22751
|
+
return {
|
|
22752
|
+
authToken: 'string',
|
|
22753
|
+
productInstanceId: 'string',
|
|
22754
|
+
openId: 'string',
|
|
22755
|
+
replenishInfo: ReplenishInfo,
|
|
22756
|
+
extInfo: 'string',
|
|
22757
|
+
fundCode: 'string',
|
|
22758
|
+
};
|
|
22759
|
+
}
|
|
22760
|
+
|
|
22761
|
+
constructor(map?: { [key: string]: any }) {
|
|
22762
|
+
super(map);
|
|
22763
|
+
}
|
|
22764
|
+
}
|
|
22765
|
+
|
|
22766
|
+
export class SyncDubbridgeCustomResponse extends $tea.Model {
|
|
22767
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
22768
|
+
reqMsgId?: string;
|
|
22769
|
+
// 结果码,一般OK表示调用成功
|
|
22770
|
+
resultCode?: string;
|
|
22771
|
+
// 异常信息的文本描述
|
|
22772
|
+
resultMsg?: string;
|
|
22773
|
+
// 信息同步结果, Y-成功;N-失败
|
|
22774
|
+
syncResult?: string;
|
|
22775
|
+
// 同步失败原因
|
|
22776
|
+
failReason?: string;
|
|
22777
|
+
// 客户号
|
|
22778
|
+
customerNo?: string;
|
|
22779
|
+
static names(): { [key: string]: string } {
|
|
22780
|
+
return {
|
|
22781
|
+
reqMsgId: 'req_msg_id',
|
|
22782
|
+
resultCode: 'result_code',
|
|
22783
|
+
resultMsg: 'result_msg',
|
|
22784
|
+
syncResult: 'sync_result',
|
|
22785
|
+
failReason: 'fail_reason',
|
|
22786
|
+
customerNo: 'customer_no',
|
|
22787
|
+
};
|
|
22788
|
+
}
|
|
22789
|
+
|
|
22790
|
+
static types(): { [key: string]: any } {
|
|
22791
|
+
return {
|
|
22792
|
+
reqMsgId: 'string',
|
|
22793
|
+
resultCode: 'string',
|
|
22794
|
+
resultMsg: 'string',
|
|
22795
|
+
syncResult: 'string',
|
|
22796
|
+
failReason: 'string',
|
|
22797
|
+
customerNo: 'string',
|
|
22798
|
+
};
|
|
22799
|
+
}
|
|
22800
|
+
|
|
22801
|
+
constructor(map?: { [key: string]: any }) {
|
|
22802
|
+
super(map);
|
|
22803
|
+
}
|
|
22804
|
+
}
|
|
22805
|
+
|
|
22806
|
+
export class QueryDubbridgeMerchantriskRequest extends $tea.Model {
|
|
22807
|
+
// OAuth模式下的授权token
|
|
22808
|
+
authToken?: string;
|
|
22809
|
+
productInstanceId?: string;
|
|
22810
|
+
// 申请单号
|
|
22811
|
+
applyNo: string;
|
|
22812
|
+
// 渠道租户
|
|
22813
|
+
channelTenant: string;
|
|
22814
|
+
// 来源类型
|
|
22815
|
+
sourceType?: string;
|
|
22816
|
+
static names(): { [key: string]: string } {
|
|
22817
|
+
return {
|
|
22818
|
+
authToken: 'auth_token',
|
|
22819
|
+
productInstanceId: 'product_instance_id',
|
|
22820
|
+
applyNo: 'apply_no',
|
|
22821
|
+
channelTenant: 'channel_tenant',
|
|
22822
|
+
sourceType: 'source_type',
|
|
22823
|
+
};
|
|
22824
|
+
}
|
|
22825
|
+
|
|
22826
|
+
static types(): { [key: string]: any } {
|
|
22827
|
+
return {
|
|
22828
|
+
authToken: 'string',
|
|
22829
|
+
productInstanceId: 'string',
|
|
22830
|
+
applyNo: 'string',
|
|
22831
|
+
channelTenant: 'string',
|
|
22832
|
+
sourceType: 'string',
|
|
22833
|
+
};
|
|
22834
|
+
}
|
|
22835
|
+
|
|
22836
|
+
constructor(map?: { [key: string]: any }) {
|
|
22837
|
+
super(map);
|
|
22838
|
+
}
|
|
22839
|
+
}
|
|
22840
|
+
|
|
22841
|
+
export class QueryDubbridgeMerchantriskResponse extends $tea.Model {
|
|
22842
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
22843
|
+
reqMsgId?: string;
|
|
22844
|
+
// 结果码,一般OK表示调用成功
|
|
22845
|
+
resultCode?: string;
|
|
22846
|
+
// 异常信息的文本描述
|
|
22847
|
+
resultMsg?: string;
|
|
22848
|
+
// 申请单号
|
|
22849
|
+
applyNo?: string;
|
|
22850
|
+
// 风控状态
|
|
22851
|
+
riskStatus?: string;
|
|
22852
|
+
// 扩展信息
|
|
22853
|
+
extInfo?: string;
|
|
22854
|
+
static names(): { [key: string]: string } {
|
|
22855
|
+
return {
|
|
22856
|
+
reqMsgId: 'req_msg_id',
|
|
22857
|
+
resultCode: 'result_code',
|
|
22858
|
+
resultMsg: 'result_msg',
|
|
22859
|
+
applyNo: 'apply_no',
|
|
22860
|
+
riskStatus: 'risk_status',
|
|
22861
|
+
extInfo: 'ext_info',
|
|
22862
|
+
};
|
|
22863
|
+
}
|
|
22864
|
+
|
|
22865
|
+
static types(): { [key: string]: any } {
|
|
22866
|
+
return {
|
|
22867
|
+
reqMsgId: 'string',
|
|
22868
|
+
resultCode: 'string',
|
|
22869
|
+
resultMsg: 'string',
|
|
22870
|
+
applyNo: 'string',
|
|
22871
|
+
riskStatus: 'string',
|
|
22872
|
+
extInfo: 'string',
|
|
22873
|
+
};
|
|
22874
|
+
}
|
|
22875
|
+
|
|
22876
|
+
constructor(map?: { [key: string]: any }) {
|
|
22877
|
+
super(map);
|
|
22878
|
+
}
|
|
22879
|
+
}
|
|
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
|
+
|
|
22526
23456
|
export class VerifyFinserviceZhimaIdentifyRequest extends $tea.Model {
|
|
22527
23457
|
// OAuth模式下的授权token
|
|
22528
23458
|
authToken?: string;
|
|
@@ -36282,7 +37212,7 @@ export default class Client {
|
|
|
36282
37212
|
req_msg_id: AntchainUtil.getNonce(),
|
|
36283
37213
|
access_key: this._accessKeyId,
|
|
36284
37214
|
base_sdk_version: "TeaSDK-2.0",
|
|
36285
|
-
sdk_version: "1.
|
|
37215
|
+
sdk_version: "1.33.0",
|
|
36286
37216
|
_prod_code: "RISKPLUS",
|
|
36287
37217
|
_prod_channel: "undefined",
|
|
36288
37218
|
};
|
|
@@ -36477,6 +37407,27 @@ export default class Client {
|
|
|
36477
37407
|
return $tea.cast<QueryBenefithubReportEffectiveResponse>(await this.doRequest("1.0", "riskplus.benefithub.report.effective.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryBenefithubReportEffectiveResponse({}));
|
|
36478
37408
|
}
|
|
36479
37409
|
|
|
37410
|
+
/**
|
|
37411
|
+
* @remarks
|
|
37412
|
+
* Description: 风险报告包月订阅页面链接获取接口
|
|
37413
|
+
* Summary: 风险报告包月订阅页面链接获取接口
|
|
37414
|
+
*/
|
|
37415
|
+
async queryBenefithubSubscriptionlink(request: QueryBenefithubSubscriptionlinkRequest): Promise<QueryBenefithubSubscriptionlinkResponse> {
|
|
37416
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
37417
|
+
let headers : {[key: string ]: string} = { };
|
|
37418
|
+
return await this.queryBenefithubSubscriptionlinkEx(request, headers, runtime);
|
|
37419
|
+
}
|
|
37420
|
+
|
|
37421
|
+
/**
|
|
37422
|
+
* @remarks
|
|
37423
|
+
* Description: 风险报告包月订阅页面链接获取接口
|
|
37424
|
+
* Summary: 风险报告包月订阅页面链接获取接口
|
|
37425
|
+
*/
|
|
37426
|
+
async queryBenefithubSubscriptionlinkEx(request: QueryBenefithubSubscriptionlinkRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryBenefithubSubscriptionlinkResponse> {
|
|
37427
|
+
Util.validateModel(request);
|
|
37428
|
+
return $tea.cast<QueryBenefithubSubscriptionlinkResponse>(await this.doRequest("1.0", "riskplus.benefithub.subscriptionlink.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryBenefithubSubscriptionlinkResponse({}));
|
|
37429
|
+
}
|
|
37430
|
+
|
|
36480
37431
|
/**
|
|
36481
37432
|
* @remarks
|
|
36482
37433
|
* Description: 信护盾产品批量查询
|
|
@@ -39082,6 +40033,174 @@ export default class Client {
|
|
|
39082
40033
|
return $tea.cast<QueryDubbridgePetorderResponse>(await this.doRequest("1.0", "riskplus.dubbridge.petorder.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDubbridgePetorderResponse({}));
|
|
39083
40034
|
}
|
|
39084
40035
|
|
|
40036
|
+
/**
|
|
40037
|
+
* @remarks
|
|
40038
|
+
* Description: 用户信息补充并同步至下游资金方
|
|
40039
|
+
* Summary: 用户信息补充并同步至下游资金方
|
|
40040
|
+
*/
|
|
40041
|
+
async syncDubbridgeCustom(request: SyncDubbridgeCustomRequest): Promise<SyncDubbridgeCustomResponse> {
|
|
40042
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
40043
|
+
let headers : {[key: string ]: string} = { };
|
|
40044
|
+
return await this.syncDubbridgeCustomEx(request, headers, runtime);
|
|
40045
|
+
}
|
|
40046
|
+
|
|
40047
|
+
/**
|
|
40048
|
+
* @remarks
|
|
40049
|
+
* Description: 用户信息补充并同步至下游资金方
|
|
40050
|
+
* Summary: 用户信息补充并同步至下游资金方
|
|
40051
|
+
*/
|
|
40052
|
+
async syncDubbridgeCustomEx(request: SyncDubbridgeCustomRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<SyncDubbridgeCustomResponse> {
|
|
40053
|
+
Util.validateModel(request);
|
|
40054
|
+
return $tea.cast<SyncDubbridgeCustomResponse>(await this.doRequest("1.0", "riskplus.dubbridge.custom.sync", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new SyncDubbridgeCustomResponse({}));
|
|
40055
|
+
}
|
|
40056
|
+
|
|
40057
|
+
/**
|
|
40058
|
+
* @remarks
|
|
40059
|
+
* Description: 商户入驻风控结果查询
|
|
40060
|
+
* Summary: 商户入驻风控结果查询
|
|
40061
|
+
*/
|
|
40062
|
+
async queryDubbridgeMerchantrisk(request: QueryDubbridgeMerchantriskRequest): Promise<QueryDubbridgeMerchantriskResponse> {
|
|
40063
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
40064
|
+
let headers : {[key: string ]: string} = { };
|
|
40065
|
+
return await this.queryDubbridgeMerchantriskEx(request, headers, runtime);
|
|
40066
|
+
}
|
|
40067
|
+
|
|
40068
|
+
/**
|
|
40069
|
+
* @remarks
|
|
40070
|
+
* Description: 商户入驻风控结果查询
|
|
40071
|
+
* Summary: 商户入驻风控结果查询
|
|
40072
|
+
*/
|
|
40073
|
+
async queryDubbridgeMerchantriskEx(request: QueryDubbridgeMerchantriskRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryDubbridgeMerchantriskResponse> {
|
|
40074
|
+
Util.validateModel(request);
|
|
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({}));
|
|
40076
|
+
}
|
|
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
|
+
|
|
39085
40204
|
/**
|
|
39086
40205
|
* @remarks
|
|
39087
40206
|
* Description: 四要素认证首先调用此接口
|