@antchain/riskplus 1.12.19 → 1.13.5
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 +270 -0
- package/dist/client.js +414 -3
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +607 -5
package/src/client.ts
CHANGED
|
@@ -268,6 +268,31 @@ export class DecisionFlow extends $tea.Model {
|
|
|
268
268
|
}
|
|
269
269
|
}
|
|
270
270
|
|
|
271
|
+
// 回流事件记录属性项
|
|
272
|
+
export class BackflowEventRecordProperty extends $tea.Model {
|
|
273
|
+
// 属性code
|
|
274
|
+
key: string;
|
|
275
|
+
// 属性value,统一为字符串
|
|
276
|
+
value: string;
|
|
277
|
+
static names(): { [key: string]: string } {
|
|
278
|
+
return {
|
|
279
|
+
key: 'key',
|
|
280
|
+
value: 'value',
|
|
281
|
+
};
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
static types(): { [key: string]: any } {
|
|
285
|
+
return {
|
|
286
|
+
key: 'string',
|
|
287
|
+
value: 'string',
|
|
288
|
+
};
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
constructor(map?: { [key: string]: any }) {
|
|
292
|
+
super(map);
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
|
|
271
296
|
// 营销盾批量查询单条结果
|
|
272
297
|
export class BaseCustomerUmktInfoModel extends $tea.Model {
|
|
273
298
|
// 用户凭证
|
|
@@ -623,6 +648,31 @@ export class RuleDetail extends $tea.Model {
|
|
|
623
648
|
}
|
|
624
649
|
}
|
|
625
650
|
|
|
651
|
+
// 回调通用返回体
|
|
652
|
+
export class CommonNotyfyResult extends $tea.Model {
|
|
653
|
+
// 请求id
|
|
654
|
+
requestId: string;
|
|
655
|
+
// 业务响应Json
|
|
656
|
+
bizResponse: string;
|
|
657
|
+
static names(): { [key: string]: string } {
|
|
658
|
+
return {
|
|
659
|
+
requestId: 'request_id',
|
|
660
|
+
bizResponse: 'biz_response',
|
|
661
|
+
};
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
static types(): { [key: string]: any } {
|
|
665
|
+
return {
|
|
666
|
+
requestId: 'string',
|
|
667
|
+
bizResponse: 'string',
|
|
668
|
+
};
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
constructor(map?: { [key: string]: any }) {
|
|
672
|
+
super(map);
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
|
|
626
676
|
// 安全场景参数
|
|
627
677
|
export class SecurityScene extends $tea.Model {
|
|
628
678
|
// 接入渠道
|
|
@@ -869,6 +919,18 @@ export class RepayResult extends $tea.Model {
|
|
|
869
919
|
settleDate: string;
|
|
870
920
|
// 还款日期
|
|
871
921
|
tradeDate: string;
|
|
922
|
+
// 已还担保费
|
|
923
|
+
alreadyGuaranteeFee: number;
|
|
924
|
+
// 已还违约金
|
|
925
|
+
alreadyLiquidatedDamages: number;
|
|
926
|
+
// 当期剩余担保费
|
|
927
|
+
restGuaranteeFee: number;
|
|
928
|
+
// 当期剩余违约金
|
|
929
|
+
restLiquidatedDamages: number;
|
|
930
|
+
// 应还担保费
|
|
931
|
+
needGuaranteeFee: number;
|
|
932
|
+
// 应还违约金
|
|
933
|
+
needLiquidatedDamages: number;
|
|
872
934
|
static names(): { [key: string]: string } {
|
|
873
935
|
return {
|
|
874
936
|
customNo: 'custom_no',
|
|
@@ -894,6 +956,12 @@ export class RepayResult extends $tea.Model {
|
|
|
894
956
|
status: 'status',
|
|
895
957
|
settleDate: 'settle_date',
|
|
896
958
|
tradeDate: 'trade_date',
|
|
959
|
+
alreadyGuaranteeFee: 'already_guarantee_fee',
|
|
960
|
+
alreadyLiquidatedDamages: 'already_liquidated_damages',
|
|
961
|
+
restGuaranteeFee: 'rest_guarantee_fee',
|
|
962
|
+
restLiquidatedDamages: 'rest_liquidated_damages',
|
|
963
|
+
needGuaranteeFee: 'need_guarantee_fee',
|
|
964
|
+
needLiquidatedDamages: 'need_liquidated_damages',
|
|
897
965
|
};
|
|
898
966
|
}
|
|
899
967
|
|
|
@@ -922,6 +990,12 @@ export class RepayResult extends $tea.Model {
|
|
|
922
990
|
status: 'string',
|
|
923
991
|
settleDate: 'string',
|
|
924
992
|
tradeDate: 'string',
|
|
993
|
+
alreadyGuaranteeFee: 'number',
|
|
994
|
+
alreadyLiquidatedDamages: 'number',
|
|
995
|
+
restGuaranteeFee: 'number',
|
|
996
|
+
restLiquidatedDamages: 'number',
|
|
997
|
+
needGuaranteeFee: 'number',
|
|
998
|
+
needLiquidatedDamages: 'number',
|
|
925
999
|
};
|
|
926
1000
|
}
|
|
927
1001
|
|
|
@@ -1033,6 +1107,31 @@ export class UpdateCustomerRelationResponseData extends $tea.Model {
|
|
|
1033
1107
|
}
|
|
1034
1108
|
}
|
|
1035
1109
|
|
|
1110
|
+
// 回流事件记录
|
|
1111
|
+
export class BackflowEventRecord extends $tea.Model {
|
|
1112
|
+
// 回流事件记录分组,ACTION-触达属性组/SERVICE-业务属性组/CONVERSION-转化属性组
|
|
1113
|
+
groupCode: string;
|
|
1114
|
+
// 回流事件部分分组后的记录list
|
|
1115
|
+
properties: BackflowEventRecordProperty[];
|
|
1116
|
+
static names(): { [key: string]: string } {
|
|
1117
|
+
return {
|
|
1118
|
+
groupCode: 'group_code',
|
|
1119
|
+
properties: 'properties',
|
|
1120
|
+
};
|
|
1121
|
+
}
|
|
1122
|
+
|
|
1123
|
+
static types(): { [key: string]: any } {
|
|
1124
|
+
return {
|
|
1125
|
+
groupCode: 'string',
|
|
1126
|
+
properties: { 'type': 'array', 'itemType': BackflowEventRecordProperty },
|
|
1127
|
+
};
|
|
1128
|
+
}
|
|
1129
|
+
|
|
1130
|
+
constructor(map?: { [key: string]: any }) {
|
|
1131
|
+
super(map);
|
|
1132
|
+
}
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1036
1135
|
// 风险维度
|
|
1037
1136
|
export class RtopCompanyRiskFactor extends $tea.Model {
|
|
1038
1137
|
// 维度名称
|
|
@@ -1977,6 +2076,43 @@ export class StrategyDetails extends $tea.Model {
|
|
|
1977
2076
|
}
|
|
1978
2077
|
}
|
|
1979
2078
|
|
|
2079
|
+
// 支付方式锁定结果
|
|
2080
|
+
export class PayMethodLockResult extends $tea.Model {
|
|
2081
|
+
// 签约结果
|
|
2082
|
+
signStatus: string;
|
|
2083
|
+
// 账号
|
|
2084
|
+
accountId: string;
|
|
2085
|
+
// 登录号
|
|
2086
|
+
loginId: string;
|
|
2087
|
+
// 支付公司
|
|
2088
|
+
payChannel: string;
|
|
2089
|
+
// 绑定账号名称
|
|
2090
|
+
accountName: string;
|
|
2091
|
+
static names(): { [key: string]: string } {
|
|
2092
|
+
return {
|
|
2093
|
+
signStatus: 'sign_status',
|
|
2094
|
+
accountId: 'account_id',
|
|
2095
|
+
loginId: 'login_id',
|
|
2096
|
+
payChannel: 'pay_channel',
|
|
2097
|
+
accountName: 'account_name',
|
|
2098
|
+
};
|
|
2099
|
+
}
|
|
2100
|
+
|
|
2101
|
+
static types(): { [key: string]: any } {
|
|
2102
|
+
return {
|
|
2103
|
+
signStatus: 'string',
|
|
2104
|
+
accountId: 'string',
|
|
2105
|
+
loginId: 'string',
|
|
2106
|
+
payChannel: 'string',
|
|
2107
|
+
accountName: 'string',
|
|
2108
|
+
};
|
|
2109
|
+
}
|
|
2110
|
+
|
|
2111
|
+
constructor(map?: { [key: string]: any }) {
|
|
2112
|
+
super(map);
|
|
2113
|
+
}
|
|
2114
|
+
}
|
|
2115
|
+
|
|
1980
2116
|
// 反欺诈风险数据服务决策结果
|
|
1981
2117
|
export class SecurityResultInfos extends $tea.Model {
|
|
1982
2118
|
// 反欺诈风险数据服务风险建议决策
|
|
@@ -2416,7 +2552,7 @@ export class RpcommonResp extends $tea.Model {
|
|
|
2416
2552
|
export class CompanyItems extends $tea.Model {
|
|
2417
2553
|
// 公司id
|
|
2418
2554
|
companyId: string;
|
|
2419
|
-
//
|
|
2555
|
+
// 公司名称
|
|
2420
2556
|
companyName: string;
|
|
2421
2557
|
// 匹配名称
|
|
2422
2558
|
matchingName: string;
|
|
@@ -2424,7 +2560,7 @@ export class CompanyItems extends $tea.Model {
|
|
|
2424
2560
|
matchingType: string;
|
|
2425
2561
|
// 匹配值
|
|
2426
2562
|
matchingValue: string;
|
|
2427
|
-
//
|
|
2563
|
+
// 社会统一信用代码
|
|
2428
2564
|
ucCode: string;
|
|
2429
2565
|
static names(): { [key: string]: string } {
|
|
2430
2566
|
return {
|
|
@@ -2737,6 +2873,37 @@ export class RtopCompanyOpinionCount extends $tea.Model {
|
|
|
2737
2873
|
}
|
|
2738
2874
|
}
|
|
2739
2875
|
|
|
2876
|
+
// 商户资金链锁定结果
|
|
2877
|
+
export class FundChainLockResult extends $tea.Model {
|
|
2878
|
+
// 店铺名称
|
|
2879
|
+
name: string;
|
|
2880
|
+
// 店铺id
|
|
2881
|
+
id: string;
|
|
2882
|
+
// 0:成功
|
|
2883
|
+
// 1:失败
|
|
2884
|
+
// 2:处理中
|
|
2885
|
+
status: string;
|
|
2886
|
+
static names(): { [key: string]: string } {
|
|
2887
|
+
return {
|
|
2888
|
+
name: 'name',
|
|
2889
|
+
id: 'id',
|
|
2890
|
+
status: 'status',
|
|
2891
|
+
};
|
|
2892
|
+
}
|
|
2893
|
+
|
|
2894
|
+
static types(): { [key: string]: any } {
|
|
2895
|
+
return {
|
|
2896
|
+
name: 'string',
|
|
2897
|
+
id: 'string',
|
|
2898
|
+
status: 'string',
|
|
2899
|
+
};
|
|
2900
|
+
}
|
|
2901
|
+
|
|
2902
|
+
constructor(map?: { [key: string]: any }) {
|
|
2903
|
+
super(map);
|
|
2904
|
+
}
|
|
2905
|
+
}
|
|
2906
|
+
|
|
2740
2907
|
// 企业地区分布统计
|
|
2741
2908
|
export class RtopRegionalDistribution extends $tea.Model {
|
|
2742
2909
|
// 统计值
|
|
@@ -6403,12 +6570,15 @@ export class QueryDubbridgeAccountStatusRequest extends $tea.Model {
|
|
|
6403
6570
|
customNo?: string;
|
|
6404
6571
|
// 资产方用户唯一标识(资产方用户唯一标记二选一)
|
|
6405
6572
|
openId?: string;
|
|
6573
|
+
// 查询业务
|
|
6574
|
+
bizType: string;
|
|
6406
6575
|
static names(): { [key: string]: string } {
|
|
6407
6576
|
return {
|
|
6408
6577
|
authToken: 'auth_token',
|
|
6409
6578
|
productInstanceId: 'product_instance_id',
|
|
6410
6579
|
customNo: 'custom_no',
|
|
6411
6580
|
openId: 'open_id',
|
|
6581
|
+
bizType: 'biz_type',
|
|
6412
6582
|
};
|
|
6413
6583
|
}
|
|
6414
6584
|
|
|
@@ -6418,6 +6588,7 @@ export class QueryDubbridgeAccountStatusRequest extends $tea.Model {
|
|
|
6418
6588
|
productInstanceId: 'string',
|
|
6419
6589
|
customNo: 'string',
|
|
6420
6590
|
openId: 'string',
|
|
6591
|
+
bizType: 'string',
|
|
6421
6592
|
};
|
|
6422
6593
|
}
|
|
6423
6594
|
|
|
@@ -6435,12 +6606,18 @@ export class QueryDubbridgeAccountStatusResponse extends $tea.Model {
|
|
|
6435
6606
|
resultMsg?: string;
|
|
6436
6607
|
// 授信申请状态
|
|
6437
6608
|
data?: CustomStatus;
|
|
6609
|
+
// 支付账户签约结果
|
|
6610
|
+
payMethodLockResult?: PayMethodLockResult;
|
|
6611
|
+
// 支付账户锁定结果
|
|
6612
|
+
fundChainLockResult?: FundChainLockResult[];
|
|
6438
6613
|
static names(): { [key: string]: string } {
|
|
6439
6614
|
return {
|
|
6440
6615
|
reqMsgId: 'req_msg_id',
|
|
6441
6616
|
resultCode: 'result_code',
|
|
6442
6617
|
resultMsg: 'result_msg',
|
|
6443
6618
|
data: 'data',
|
|
6619
|
+
payMethodLockResult: 'pay_method_lock_result',
|
|
6620
|
+
fundChainLockResult: 'fund_chain_lock_result',
|
|
6444
6621
|
};
|
|
6445
6622
|
}
|
|
6446
6623
|
|
|
@@ -6450,6 +6627,8 @@ export class QueryDubbridgeAccountStatusResponse extends $tea.Model {
|
|
|
6450
6627
|
resultCode: 'string',
|
|
6451
6628
|
resultMsg: 'string',
|
|
6452
6629
|
data: CustomStatus,
|
|
6630
|
+
payMethodLockResult: PayMethodLockResult,
|
|
6631
|
+
fundChainLockResult: { 'type': 'array', 'itemType': FundChainLockResult },
|
|
6453
6632
|
};
|
|
6454
6633
|
}
|
|
6455
6634
|
|
|
@@ -6972,6 +7151,10 @@ export class QueryDubbridgeRepayInfoResponse extends $tea.Model {
|
|
|
6972
7151
|
failReason?: string;
|
|
6973
7152
|
// 授信申请编号
|
|
6974
7153
|
applyNo?: string;
|
|
7154
|
+
// 担保费
|
|
7155
|
+
guaranteeFee?: number;
|
|
7156
|
+
// 违约金
|
|
7157
|
+
liquidatedDamages?: number;
|
|
6975
7158
|
static names(): { [key: string]: string } {
|
|
6976
7159
|
return {
|
|
6977
7160
|
reqMsgId: 'req_msg_id',
|
|
@@ -6998,6 +7181,8 @@ export class QueryDubbridgeRepayInfoResponse extends $tea.Model {
|
|
|
6998
7181
|
repayStatus: 'repay_status',
|
|
6999
7182
|
failReason: 'fail_reason',
|
|
7000
7183
|
applyNo: 'apply_no',
|
|
7184
|
+
guaranteeFee: 'guarantee_fee',
|
|
7185
|
+
liquidatedDamages: 'liquidated_damages',
|
|
7001
7186
|
};
|
|
7002
7187
|
}
|
|
7003
7188
|
|
|
@@ -7027,6 +7212,8 @@ export class QueryDubbridgeRepayInfoResponse extends $tea.Model {
|
|
|
7027
7212
|
repayStatus: 'string',
|
|
7028
7213
|
failReason: 'string',
|
|
7029
7214
|
applyNo: 'string',
|
|
7215
|
+
guaranteeFee: 'number',
|
|
7216
|
+
liquidatedDamages: 'number',
|
|
7030
7217
|
};
|
|
7031
7218
|
}
|
|
7032
7219
|
|
|
@@ -7227,6 +7414,10 @@ export class CountDubbridgeRepayTrialResponse extends $tea.Model {
|
|
|
7227
7414
|
realOverAmt?: number;
|
|
7228
7415
|
// 服务费
|
|
7229
7416
|
serviceCharge?: number;
|
|
7417
|
+
// 担保费
|
|
7418
|
+
realGuaranteeFee?: number;
|
|
7419
|
+
// 违约金
|
|
7420
|
+
realLiquidatedDamages?: number;
|
|
7230
7421
|
static names(): { [key: string]: string } {
|
|
7231
7422
|
return {
|
|
7232
7423
|
reqMsgId: 'req_msg_id',
|
|
@@ -7236,6 +7427,8 @@ export class CountDubbridgeRepayTrialResponse extends $tea.Model {
|
|
|
7236
7427
|
realInterest: 'real_interest',
|
|
7237
7428
|
realOverAmt: 'real_over_amt',
|
|
7238
7429
|
serviceCharge: 'service_charge',
|
|
7430
|
+
realGuaranteeFee: 'real_guarantee_fee',
|
|
7431
|
+
realLiquidatedDamages: 'real_liquidated_damages',
|
|
7239
7432
|
};
|
|
7240
7433
|
}
|
|
7241
7434
|
|
|
@@ -7248,6 +7441,8 @@ export class CountDubbridgeRepayTrialResponse extends $tea.Model {
|
|
|
7248
7441
|
realInterest: 'number',
|
|
7249
7442
|
realOverAmt: 'number',
|
|
7250
7443
|
serviceCharge: 'number',
|
|
7444
|
+
realGuaranteeFee: 'number',
|
|
7445
|
+
realLiquidatedDamages: 'number',
|
|
7251
7446
|
};
|
|
7252
7447
|
}
|
|
7253
7448
|
|
|
@@ -7424,6 +7619,8 @@ export class ApplyDubbridgeUsecreditRequest extends $tea.Model {
|
|
|
7424
7619
|
repayType: string;
|
|
7425
7620
|
// 1:手机数码 2:旅游 3:装修 4:教育 5:婚庆 6:租房 7:家具家居 8:健康医疗 9:其他消费 10:家用电器
|
|
7426
7621
|
loanWay: string;
|
|
7622
|
+
// 还款日
|
|
7623
|
+
repayDate: string;
|
|
7427
7624
|
static names(): { [key: string]: string } {
|
|
7428
7625
|
return {
|
|
7429
7626
|
authToken: 'auth_token',
|
|
@@ -7435,6 +7632,7 @@ export class ApplyDubbridgeUsecreditRequest extends $tea.Model {
|
|
|
7435
7632
|
orderNo: 'order_no',
|
|
7436
7633
|
repayType: 'repay_type',
|
|
7437
7634
|
loanWay: 'loan_way',
|
|
7635
|
+
repayDate: 'repay_date',
|
|
7438
7636
|
};
|
|
7439
7637
|
}
|
|
7440
7638
|
|
|
@@ -7449,6 +7647,7 @@ export class ApplyDubbridgeUsecreditRequest extends $tea.Model {
|
|
|
7449
7647
|
orderNo: 'string',
|
|
7450
7648
|
repayType: 'string',
|
|
7451
7649
|
loanWay: 'string',
|
|
7650
|
+
repayDate: 'string',
|
|
7452
7651
|
};
|
|
7453
7652
|
}
|
|
7454
7653
|
|
|
@@ -7531,6 +7730,10 @@ export class QueryDubbridgeUsecreditStatusResponse extends $tea.Model {
|
|
|
7531
7730
|
receiptInfo?: ReceiptInfo;
|
|
7532
7731
|
// 还款计划列表
|
|
7533
7732
|
repayRef?: RepayRef[];
|
|
7733
|
+
// 用信合同编号
|
|
7734
|
+
disburseContractNo?: string;
|
|
7735
|
+
// 授信合同编号
|
|
7736
|
+
creditContractNo?: string;
|
|
7534
7737
|
static names(): { [key: string]: string } {
|
|
7535
7738
|
return {
|
|
7536
7739
|
reqMsgId: 'req_msg_id',
|
|
@@ -7540,6 +7743,8 @@ export class QueryDubbridgeUsecreditStatusResponse extends $tea.Model {
|
|
|
7540
7743
|
msg: 'msg',
|
|
7541
7744
|
receiptInfo: 'receipt_info',
|
|
7542
7745
|
repayRef: 'repay_ref',
|
|
7746
|
+
disburseContractNo: 'disburse_contract_no',
|
|
7747
|
+
creditContractNo: 'credit_contract_no',
|
|
7543
7748
|
};
|
|
7544
7749
|
}
|
|
7545
7750
|
|
|
@@ -7552,6 +7757,8 @@ export class QueryDubbridgeUsecreditStatusResponse extends $tea.Model {
|
|
|
7552
7757
|
msg: 'string',
|
|
7553
7758
|
receiptInfo: ReceiptInfo,
|
|
7554
7759
|
repayRef: { 'type': 'array', 'itemType': RepayRef },
|
|
7760
|
+
disburseContractNo: 'string',
|
|
7761
|
+
creditContractNo: 'string',
|
|
7555
7762
|
};
|
|
7556
7763
|
}
|
|
7557
7764
|
|
|
@@ -7978,6 +8185,78 @@ export class QueryDubbridgeBusinessDetailResponse extends $tea.Model {
|
|
|
7978
8185
|
}
|
|
7979
8186
|
}
|
|
7980
8187
|
|
|
8188
|
+
export class NotifyDubbridgeCallbackRequest extends $tea.Model {
|
|
8189
|
+
// OAuth模式下的授权token
|
|
8190
|
+
authToken?: string;
|
|
8191
|
+
productInstanceId?: string;
|
|
8192
|
+
// 租户id
|
|
8193
|
+
channelCode: string;
|
|
8194
|
+
// json参数
|
|
8195
|
+
bizParam: string;
|
|
8196
|
+
// 回调类型(1授信回调2用信回调)
|
|
8197
|
+
bizType: string;
|
|
8198
|
+
// 对应授信/用信传给三方留存单号
|
|
8199
|
+
seqNo: string;
|
|
8200
|
+
static names(): { [key: string]: string } {
|
|
8201
|
+
return {
|
|
8202
|
+
authToken: 'auth_token',
|
|
8203
|
+
productInstanceId: 'product_instance_id',
|
|
8204
|
+
channelCode: 'channel_code',
|
|
8205
|
+
bizParam: 'biz_param',
|
|
8206
|
+
bizType: 'biz_type',
|
|
8207
|
+
seqNo: 'seq_no',
|
|
8208
|
+
};
|
|
8209
|
+
}
|
|
8210
|
+
|
|
8211
|
+
static types(): { [key: string]: any } {
|
|
8212
|
+
return {
|
|
8213
|
+
authToken: 'string',
|
|
8214
|
+
productInstanceId: 'string',
|
|
8215
|
+
channelCode: 'string',
|
|
8216
|
+
bizParam: 'string',
|
|
8217
|
+
bizType: 'string',
|
|
8218
|
+
seqNo: 'string',
|
|
8219
|
+
};
|
|
8220
|
+
}
|
|
8221
|
+
|
|
8222
|
+
constructor(map?: { [key: string]: any }) {
|
|
8223
|
+
super(map);
|
|
8224
|
+
}
|
|
8225
|
+
}
|
|
8226
|
+
|
|
8227
|
+
export class NotifyDubbridgeCallbackResponse extends $tea.Model {
|
|
8228
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
8229
|
+
reqMsgId?: string;
|
|
8230
|
+
// 结果码,一般OK表示调用成功
|
|
8231
|
+
resultCode?: string;
|
|
8232
|
+
// 异常信息的文本描述
|
|
8233
|
+
resultMsg?: string;
|
|
8234
|
+
//
|
|
8235
|
+
// 处理结果
|
|
8236
|
+
data?: CommonNotyfyResult;
|
|
8237
|
+
static names(): { [key: string]: string } {
|
|
8238
|
+
return {
|
|
8239
|
+
reqMsgId: 'req_msg_id',
|
|
8240
|
+
resultCode: 'result_code',
|
|
8241
|
+
resultMsg: 'result_msg',
|
|
8242
|
+
data: 'data',
|
|
8243
|
+
};
|
|
8244
|
+
}
|
|
8245
|
+
|
|
8246
|
+
static types(): { [key: string]: any } {
|
|
8247
|
+
return {
|
|
8248
|
+
reqMsgId: 'string',
|
|
8249
|
+
resultCode: 'string',
|
|
8250
|
+
resultMsg: 'string',
|
|
8251
|
+
data: CommonNotyfyResult,
|
|
8252
|
+
};
|
|
8253
|
+
}
|
|
8254
|
+
|
|
8255
|
+
constructor(map?: { [key: string]: any }) {
|
|
8256
|
+
super(map);
|
|
8257
|
+
}
|
|
8258
|
+
}
|
|
8259
|
+
|
|
7981
8260
|
export class VerifyFinserviceZhimaIdentifyRequest extends $tea.Model {
|
|
7982
8261
|
// OAuth模式下的授权token
|
|
7983
8262
|
authToken?: string;
|
|
@@ -12847,6 +13126,255 @@ export class QueryUmktRtMarketingResponse extends $tea.Model {
|
|
|
12847
13126
|
}
|
|
12848
13127
|
}
|
|
12849
13128
|
|
|
13129
|
+
export class PushUmktBackflowEventRequest extends $tea.Model {
|
|
13130
|
+
// OAuth模式下的授权token
|
|
13131
|
+
authToken?: string;
|
|
13132
|
+
productInstanceId?: string;
|
|
13133
|
+
// 回流事件id,对应租户回流事件id
|
|
13134
|
+
eventId: number;
|
|
13135
|
+
// 回流事件记录列表
|
|
13136
|
+
eventRecords: BackflowEventRecord[];
|
|
13137
|
+
static names(): { [key: string]: string } {
|
|
13138
|
+
return {
|
|
13139
|
+
authToken: 'auth_token',
|
|
13140
|
+
productInstanceId: 'product_instance_id',
|
|
13141
|
+
eventId: 'event_id',
|
|
13142
|
+
eventRecords: 'event_records',
|
|
13143
|
+
};
|
|
13144
|
+
}
|
|
13145
|
+
|
|
13146
|
+
static types(): { [key: string]: any } {
|
|
13147
|
+
return {
|
|
13148
|
+
authToken: 'string',
|
|
13149
|
+
productInstanceId: 'string',
|
|
13150
|
+
eventId: 'number',
|
|
13151
|
+
eventRecords: { 'type': 'array', 'itemType': BackflowEventRecord },
|
|
13152
|
+
};
|
|
13153
|
+
}
|
|
13154
|
+
|
|
13155
|
+
constructor(map?: { [key: string]: any }) {
|
|
13156
|
+
super(map);
|
|
13157
|
+
}
|
|
13158
|
+
}
|
|
13159
|
+
|
|
13160
|
+
export class PushUmktBackflowEventResponse extends $tea.Model {
|
|
13161
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
13162
|
+
reqMsgId?: string;
|
|
13163
|
+
// 结果码,一般OK表示调用成功
|
|
13164
|
+
resultCode?: string;
|
|
13165
|
+
// 异常信息的文本描述
|
|
13166
|
+
resultMsg?: string;
|
|
13167
|
+
static names(): { [key: string]: string } {
|
|
13168
|
+
return {
|
|
13169
|
+
reqMsgId: 'req_msg_id',
|
|
13170
|
+
resultCode: 'result_code',
|
|
13171
|
+
resultMsg: 'result_msg',
|
|
13172
|
+
};
|
|
13173
|
+
}
|
|
13174
|
+
|
|
13175
|
+
static types(): { [key: string]: any } {
|
|
13176
|
+
return {
|
|
13177
|
+
reqMsgId: 'string',
|
|
13178
|
+
resultCode: 'string',
|
|
13179
|
+
resultMsg: 'string',
|
|
13180
|
+
};
|
|
13181
|
+
}
|
|
13182
|
+
|
|
13183
|
+
constructor(map?: { [key: string]: any }) {
|
|
13184
|
+
super(map);
|
|
13185
|
+
}
|
|
13186
|
+
}
|
|
13187
|
+
|
|
13188
|
+
export class SendUmktCardsmsBatchRequest extends $tea.Model {
|
|
13189
|
+
// OAuth模式下的授权token
|
|
13190
|
+
authToken?: string;
|
|
13191
|
+
productInstanceId?: string;
|
|
13192
|
+
// cpassAccessKey
|
|
13193
|
+
cpassAk?: string;
|
|
13194
|
+
// 行业标签
|
|
13195
|
+
industryTag: string;
|
|
13196
|
+
// 卡片短信模板
|
|
13197
|
+
cardTemplateCode: string;
|
|
13198
|
+
// {}
|
|
13199
|
+
cardTemplateParamJson: string;
|
|
13200
|
+
// ["13455","76898"]
|
|
13201
|
+
phoneNumberJson: string;
|
|
13202
|
+
// ["蚂蚁营销"]
|
|
13203
|
+
signNameJson: string;
|
|
13204
|
+
// 上行短信扩展码
|
|
13205
|
+
smsUpExtendCodeJson?: string;
|
|
13206
|
+
// 回落类型
|
|
13207
|
+
fallbackType?: string;
|
|
13208
|
+
// 回落短信模版
|
|
13209
|
+
fallbackTemplateCode?: string;
|
|
13210
|
+
// 回落短信模版参数
|
|
13211
|
+
fallbackTemplateParamJson?: string;
|
|
13212
|
+
// 卡片短信对应的原始文本短信模板,不传则用默认文本
|
|
13213
|
+
templateCode?: string;
|
|
13214
|
+
// 默认文本对应参数
|
|
13215
|
+
templateParamJson?: string;
|
|
13216
|
+
static names(): { [key: string]: string } {
|
|
13217
|
+
return {
|
|
13218
|
+
authToken: 'auth_token',
|
|
13219
|
+
productInstanceId: 'product_instance_id',
|
|
13220
|
+
cpassAk: 'cpass_ak',
|
|
13221
|
+
industryTag: 'industry_tag',
|
|
13222
|
+
cardTemplateCode: 'card_template_code',
|
|
13223
|
+
cardTemplateParamJson: 'card_template_param_json',
|
|
13224
|
+
phoneNumberJson: 'phone_number_json',
|
|
13225
|
+
signNameJson: 'sign_name_json',
|
|
13226
|
+
smsUpExtendCodeJson: 'sms_up_extend_code_json',
|
|
13227
|
+
fallbackType: 'fallback_type',
|
|
13228
|
+
fallbackTemplateCode: 'fallback_template_code',
|
|
13229
|
+
fallbackTemplateParamJson: 'fallback_template_param_json',
|
|
13230
|
+
templateCode: 'template_code',
|
|
13231
|
+
templateParamJson: 'template_param_json',
|
|
13232
|
+
};
|
|
13233
|
+
}
|
|
13234
|
+
|
|
13235
|
+
static types(): { [key: string]: any } {
|
|
13236
|
+
return {
|
|
13237
|
+
authToken: 'string',
|
|
13238
|
+
productInstanceId: 'string',
|
|
13239
|
+
cpassAk: 'string',
|
|
13240
|
+
industryTag: 'string',
|
|
13241
|
+
cardTemplateCode: 'string',
|
|
13242
|
+
cardTemplateParamJson: 'string',
|
|
13243
|
+
phoneNumberJson: 'string',
|
|
13244
|
+
signNameJson: 'string',
|
|
13245
|
+
smsUpExtendCodeJson: 'string',
|
|
13246
|
+
fallbackType: 'string',
|
|
13247
|
+
fallbackTemplateCode: 'string',
|
|
13248
|
+
fallbackTemplateParamJson: 'string',
|
|
13249
|
+
templateCode: 'string',
|
|
13250
|
+
templateParamJson: 'string',
|
|
13251
|
+
};
|
|
13252
|
+
}
|
|
13253
|
+
|
|
13254
|
+
constructor(map?: { [key: string]: any }) {
|
|
13255
|
+
super(map);
|
|
13256
|
+
}
|
|
13257
|
+
}
|
|
13258
|
+
|
|
13259
|
+
export class SendUmktCardsmsBatchResponse extends $tea.Model {
|
|
13260
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
13261
|
+
reqMsgId?: string;
|
|
13262
|
+
// 结果码,一般OK表示调用成功
|
|
13263
|
+
resultCode?: string;
|
|
13264
|
+
// 异常信息的文本描述
|
|
13265
|
+
resultMsg?: string;
|
|
13266
|
+
// 卡片短信回执id
|
|
13267
|
+
bizCardId?: string;
|
|
13268
|
+
// 支持的手机号
|
|
13269
|
+
mediaMobiles?: string;
|
|
13270
|
+
// 不支持的手机号
|
|
13271
|
+
notMediaMobiles?: string;
|
|
13272
|
+
// 回落文本短信回执id
|
|
13273
|
+
bizId?: string;
|
|
13274
|
+
// 回落数字短信回执id
|
|
13275
|
+
bizDigitalId?: string;
|
|
13276
|
+
static names(): { [key: string]: string } {
|
|
13277
|
+
return {
|
|
13278
|
+
reqMsgId: 'req_msg_id',
|
|
13279
|
+
resultCode: 'result_code',
|
|
13280
|
+
resultMsg: 'result_msg',
|
|
13281
|
+
bizCardId: 'biz_card_id',
|
|
13282
|
+
mediaMobiles: 'media_mobiles',
|
|
13283
|
+
notMediaMobiles: 'not_media_mobiles',
|
|
13284
|
+
bizId: 'biz_id',
|
|
13285
|
+
bizDigitalId: 'biz_digital_id',
|
|
13286
|
+
};
|
|
13287
|
+
}
|
|
13288
|
+
|
|
13289
|
+
static types(): { [key: string]: any } {
|
|
13290
|
+
return {
|
|
13291
|
+
reqMsgId: 'string',
|
|
13292
|
+
resultCode: 'string',
|
|
13293
|
+
resultMsg: 'string',
|
|
13294
|
+
bizCardId: 'string',
|
|
13295
|
+
mediaMobiles: 'string',
|
|
13296
|
+
notMediaMobiles: 'string',
|
|
13297
|
+
bizId: 'string',
|
|
13298
|
+
bizDigitalId: 'string',
|
|
13299
|
+
};
|
|
13300
|
+
}
|
|
13301
|
+
|
|
13302
|
+
constructor(map?: { [key: string]: any }) {
|
|
13303
|
+
super(map);
|
|
13304
|
+
}
|
|
13305
|
+
}
|
|
13306
|
+
|
|
13307
|
+
export class QueryUmktCardsmsSupportRequest extends $tea.Model {
|
|
13308
|
+
// OAuth模式下的授权token
|
|
13309
|
+
authToken?: string;
|
|
13310
|
+
productInstanceId?: string;
|
|
13311
|
+
// cpassAccessKey
|
|
13312
|
+
cpassAk?: string;
|
|
13313
|
+
// 行业标签
|
|
13314
|
+
industryTag: string;
|
|
13315
|
+
// 卡片短信模板
|
|
13316
|
+
templateCode: string;
|
|
13317
|
+
// 手机号
|
|
13318
|
+
mobiles: string;
|
|
13319
|
+
static names(): { [key: string]: string } {
|
|
13320
|
+
return {
|
|
13321
|
+
authToken: 'auth_token',
|
|
13322
|
+
productInstanceId: 'product_instance_id',
|
|
13323
|
+
cpassAk: 'cpass_ak',
|
|
13324
|
+
industryTag: 'industry_tag',
|
|
13325
|
+
templateCode: 'template_code',
|
|
13326
|
+
mobiles: 'mobiles',
|
|
13327
|
+
};
|
|
13328
|
+
}
|
|
13329
|
+
|
|
13330
|
+
static types(): { [key: string]: any } {
|
|
13331
|
+
return {
|
|
13332
|
+
authToken: 'string',
|
|
13333
|
+
productInstanceId: 'string',
|
|
13334
|
+
cpassAk: 'string',
|
|
13335
|
+
industryTag: 'string',
|
|
13336
|
+
templateCode: 'string',
|
|
13337
|
+
mobiles: 'string',
|
|
13338
|
+
};
|
|
13339
|
+
}
|
|
13340
|
+
|
|
13341
|
+
constructor(map?: { [key: string]: any }) {
|
|
13342
|
+
super(map);
|
|
13343
|
+
}
|
|
13344
|
+
}
|
|
13345
|
+
|
|
13346
|
+
export class QueryUmktCardsmsSupportResponse extends $tea.Model {
|
|
13347
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
13348
|
+
reqMsgId?: string;
|
|
13349
|
+
// 结果码,一般OK表示调用成功
|
|
13350
|
+
resultCode?: string;
|
|
13351
|
+
// 异常信息的文本描述
|
|
13352
|
+
resultMsg?: string;
|
|
13353
|
+
// 手机号卡片短信支持信息
|
|
13354
|
+
datas?: string;
|
|
13355
|
+
static names(): { [key: string]: string } {
|
|
13356
|
+
return {
|
|
13357
|
+
reqMsgId: 'req_msg_id',
|
|
13358
|
+
resultCode: 'result_code',
|
|
13359
|
+
resultMsg: 'result_msg',
|
|
13360
|
+
datas: 'datas',
|
|
13361
|
+
};
|
|
13362
|
+
}
|
|
13363
|
+
|
|
13364
|
+
static types(): { [key: string]: any } {
|
|
13365
|
+
return {
|
|
13366
|
+
reqMsgId: 'string',
|
|
13367
|
+
resultCode: 'string',
|
|
13368
|
+
resultMsg: 'string',
|
|
13369
|
+
datas: 'string',
|
|
13370
|
+
};
|
|
13371
|
+
}
|
|
13372
|
+
|
|
13373
|
+
constructor(map?: { [key: string]: any }) {
|
|
13374
|
+
super(map);
|
|
13375
|
+
}
|
|
13376
|
+
}
|
|
13377
|
+
|
|
12850
13378
|
export class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
|
|
12851
13379
|
// OAuth模式下的授权token
|
|
12852
13380
|
authToken?: string;
|
|
@@ -13048,9 +13576,7 @@ export default class Client {
|
|
|
13048
13576
|
req_msg_id: AntchainUtil.getNonce(),
|
|
13049
13577
|
access_key: this._accessKeyId,
|
|
13050
13578
|
base_sdk_version: "TeaSDK-2.0",
|
|
13051
|
-
sdk_version: "1.
|
|
13052
|
-
_prod_code: "RISKPLUS",
|
|
13053
|
-
_prod_channel: "undefined",
|
|
13579
|
+
sdk_version: "1.13.5",
|
|
13054
13580
|
};
|
|
13055
13581
|
if (!Util.empty(this._securityToken)) {
|
|
13056
13582
|
request_.query["security_token"] = this._securityToken;
|
|
@@ -14238,6 +14764,25 @@ export default class Client {
|
|
|
14238
14764
|
return $tea.cast<QueryDubbridgeBusinessDetailResponse>(await this.doRequest("1.0", "riskplus.dubbridge.business.detail.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDubbridgeBusinessDetailResponse({}));
|
|
14239
14765
|
}
|
|
14240
14766
|
|
|
14767
|
+
/**
|
|
14768
|
+
* Description: 天枢回调通用接口
|
|
14769
|
+
* Summary: 天枢回调通用接口
|
|
14770
|
+
*/
|
|
14771
|
+
async notifyDubbridgeCallback(request: NotifyDubbridgeCallbackRequest): Promise<NotifyDubbridgeCallbackResponse> {
|
|
14772
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
14773
|
+
let headers : {[key: string ]: string} = { };
|
|
14774
|
+
return await this.notifyDubbridgeCallbackEx(request, headers, runtime);
|
|
14775
|
+
}
|
|
14776
|
+
|
|
14777
|
+
/**
|
|
14778
|
+
* Description: 天枢回调通用接口
|
|
14779
|
+
* Summary: 天枢回调通用接口
|
|
14780
|
+
*/
|
|
14781
|
+
async notifyDubbridgeCallbackEx(request: NotifyDubbridgeCallbackRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<NotifyDubbridgeCallbackResponse> {
|
|
14782
|
+
Util.validateModel(request);
|
|
14783
|
+
return $tea.cast<NotifyDubbridgeCallbackResponse>(await this.doRequest("1.0", "riskplus.dubbridge.callback.notify", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new NotifyDubbridgeCallbackResponse({}));
|
|
14784
|
+
}
|
|
14785
|
+
|
|
14241
14786
|
/**
|
|
14242
14787
|
* Description: 四要素认证首先调用此接口
|
|
14243
14788
|
* Summary: 芝麻四要素接口
|
|
@@ -15498,6 +16043,63 @@ export default class Client {
|
|
|
15498
16043
|
return $tea.cast<QueryUmktRtMarketingResponse>(await this.doRequest("1.0", "riskplus.umkt.rt.marketing.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryUmktRtMarketingResponse({}));
|
|
15499
16044
|
}
|
|
15500
16045
|
|
|
16046
|
+
/**
|
|
16047
|
+
* Description: 营销盾业务回流事件推送
|
|
16048
|
+
* Summary: 营销盾回流事件推送
|
|
16049
|
+
*/
|
|
16050
|
+
async pushUmktBackflowEvent(request: PushUmktBackflowEventRequest): Promise<PushUmktBackflowEventResponse> {
|
|
16051
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
16052
|
+
let headers : {[key: string ]: string} = { };
|
|
16053
|
+
return await this.pushUmktBackflowEventEx(request, headers, runtime);
|
|
16054
|
+
}
|
|
16055
|
+
|
|
16056
|
+
/**
|
|
16057
|
+
* Description: 营销盾业务回流事件推送
|
|
16058
|
+
* Summary: 营销盾回流事件推送
|
|
16059
|
+
*/
|
|
16060
|
+
async pushUmktBackflowEventEx(request: PushUmktBackflowEventRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PushUmktBackflowEventResponse> {
|
|
16061
|
+
Util.validateModel(request);
|
|
16062
|
+
return $tea.cast<PushUmktBackflowEventResponse>(await this.doRequest("1.0", "riskplus.umkt.backflow.event.push", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new PushUmktBackflowEventResponse({}));
|
|
16063
|
+
}
|
|
16064
|
+
|
|
16065
|
+
/**
|
|
16066
|
+
* Description: 卡片短信批量发送接口
|
|
16067
|
+
* Summary: 卡片短信批量发送接口
|
|
16068
|
+
*/
|
|
16069
|
+
async sendUmktCardsmsBatch(request: SendUmktCardsmsBatchRequest): Promise<SendUmktCardsmsBatchResponse> {
|
|
16070
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
16071
|
+
let headers : {[key: string ]: string} = { };
|
|
16072
|
+
return await this.sendUmktCardsmsBatchEx(request, headers, runtime);
|
|
16073
|
+
}
|
|
16074
|
+
|
|
16075
|
+
/**
|
|
16076
|
+
* Description: 卡片短信批量发送接口
|
|
16077
|
+
* Summary: 卡片短信批量发送接口
|
|
16078
|
+
*/
|
|
16079
|
+
async sendUmktCardsmsBatchEx(request: SendUmktCardsmsBatchRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<SendUmktCardsmsBatchResponse> {
|
|
16080
|
+
Util.validateModel(request);
|
|
16081
|
+
return $tea.cast<SendUmktCardsmsBatchResponse>(await this.doRequest("1.0", "riskplus.umkt.cardsms.batch.send", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new SendUmktCardsmsBatchResponse({}));
|
|
16082
|
+
}
|
|
16083
|
+
|
|
16084
|
+
/**
|
|
16085
|
+
* Description: 卡片短信支持能力查询
|
|
16086
|
+
* Summary: 卡片短信支持能力查询
|
|
16087
|
+
*/
|
|
16088
|
+
async queryUmktCardsmsSupport(request: QueryUmktCardsmsSupportRequest): Promise<QueryUmktCardsmsSupportResponse> {
|
|
16089
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
16090
|
+
let headers : {[key: string ]: string} = { };
|
|
16091
|
+
return await this.queryUmktCardsmsSupportEx(request, headers, runtime);
|
|
16092
|
+
}
|
|
16093
|
+
|
|
16094
|
+
/**
|
|
16095
|
+
* Description: 卡片短信支持能力查询
|
|
16096
|
+
* Summary: 卡片短信支持能力查询
|
|
16097
|
+
*/
|
|
16098
|
+
async queryUmktCardsmsSupportEx(request: QueryUmktCardsmsSupportRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryUmktCardsmsSupportResponse> {
|
|
16099
|
+
Util.validateModel(request);
|
|
16100
|
+
return $tea.cast<QueryUmktCardsmsSupportResponse>(await this.doRequest("1.0", "riskplus.umkt.cardsms.support.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryUmktCardsmsSupportResponse({}));
|
|
16101
|
+
}
|
|
16102
|
+
|
|
15501
16103
|
/**
|
|
15502
16104
|
* Description: 创建HTTP PUT提交的文件上传
|
|
15503
16105
|
* Summary: 文件上传创建
|