@antchain/riskplus 1.33.1 → 1.33.4
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 +343 -4
- package/dist/client.js +296 -8
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +613 -10
package/src/client.ts
CHANGED
|
@@ -469,6 +469,63 @@ export class SecurityScene extends $tea.Model {
|
|
|
469
469
|
}
|
|
470
470
|
}
|
|
471
471
|
|
|
472
|
+
// 还款计划
|
|
473
|
+
export class RepayPlan extends $tea.Model {
|
|
474
|
+
// 期次号,还款期次序号
|
|
475
|
+
/**
|
|
476
|
+
* @example
|
|
477
|
+
* 2023343380112
|
|
478
|
+
*/
|
|
479
|
+
termNo: string;
|
|
480
|
+
// 本期开始时间,格式:yyyy-MM-dd
|
|
481
|
+
/**
|
|
482
|
+
* @example
|
|
483
|
+
* 2000-01-01
|
|
484
|
+
*/
|
|
485
|
+
termStart?: string;
|
|
486
|
+
// 本期结束时间,格式:yyyy-MM-dd
|
|
487
|
+
/**
|
|
488
|
+
* @example
|
|
489
|
+
* 1999-01-01
|
|
490
|
+
*/
|
|
491
|
+
termEnd: string;
|
|
492
|
+
// 本期本金,单位:元,2 位小数
|
|
493
|
+
/**
|
|
494
|
+
* @example
|
|
495
|
+
* 1000.00
|
|
496
|
+
*/
|
|
497
|
+
termPrin: string;
|
|
498
|
+
// 本期利息,单位:元,2 位小数
|
|
499
|
+
/**
|
|
500
|
+
* @example
|
|
501
|
+
* 1000.00
|
|
502
|
+
*/
|
|
503
|
+
termInt: string;
|
|
504
|
+
static names(): { [key: string]: string } {
|
|
505
|
+
return {
|
|
506
|
+
termNo: 'term_no',
|
|
507
|
+
termStart: 'term_start',
|
|
508
|
+
termEnd: 'term_end',
|
|
509
|
+
termPrin: 'term_prin',
|
|
510
|
+
termInt: 'term_int',
|
|
511
|
+
};
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
static types(): { [key: string]: any } {
|
|
515
|
+
return {
|
|
516
|
+
termNo: 'string',
|
|
517
|
+
termStart: 'string',
|
|
518
|
+
termEnd: 'string',
|
|
519
|
+
termPrin: 'string',
|
|
520
|
+
termInt: 'string',
|
|
521
|
+
};
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
constructor(map?: { [key: string]: any }) {
|
|
525
|
+
super(map);
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
|
|
472
529
|
// 天枢系统Contact结构体
|
|
473
530
|
export class Contact extends $tea.Model {
|
|
474
531
|
// 联系人类型
|
|
@@ -623,6 +680,12 @@ export class FundItemDetail extends $tea.Model {
|
|
|
623
680
|
* xxx
|
|
624
681
|
*/
|
|
625
682
|
merchantId: string;
|
|
683
|
+
// 原支付金额
|
|
684
|
+
/**
|
|
685
|
+
* @example
|
|
686
|
+
* 199.68
|
|
687
|
+
*/
|
|
688
|
+
originalAmount: string;
|
|
626
689
|
static names(): { [key: string]: string } {
|
|
627
690
|
return {
|
|
628
691
|
fundType: 'fund_type',
|
|
@@ -630,6 +693,7 @@ export class FundItemDetail extends $tea.Model {
|
|
|
630
693
|
canRefundAmount: 'can_refund_amount',
|
|
631
694
|
frozenAmount: 'frozen_amount',
|
|
632
695
|
merchantId: 'merchant_id',
|
|
696
|
+
originalAmount: 'original_amount',
|
|
633
697
|
};
|
|
634
698
|
}
|
|
635
699
|
|
|
@@ -640,6 +704,7 @@ export class FundItemDetail extends $tea.Model {
|
|
|
640
704
|
canRefundAmount: 'string',
|
|
641
705
|
frozenAmount: 'string',
|
|
642
706
|
merchantId: 'string',
|
|
707
|
+
originalAmount: 'string',
|
|
643
708
|
};
|
|
644
709
|
}
|
|
645
710
|
|
|
@@ -4234,6 +4299,39 @@ export class StrategyDetails extends $tea.Model {
|
|
|
4234
4299
|
}
|
|
4235
4300
|
}
|
|
4236
4301
|
|
|
4302
|
+
// 回跳平台方地址
|
|
4303
|
+
export class PlatJumpUrl extends $tea.Model {
|
|
4304
|
+
// 确认跳转URL,确认后回跳平台地址
|
|
4305
|
+
/**
|
|
4306
|
+
* @example
|
|
4307
|
+
* http://platform.com/confirm/ca
|
|
4308
|
+
*/
|
|
4309
|
+
confirmUrl: string;
|
|
4310
|
+
// 取消跳转URL,取消后回跳平台地址,失效也是这个链接
|
|
4311
|
+
/**
|
|
4312
|
+
* @example
|
|
4313
|
+
* http://platform.com/confirm/ca
|
|
4314
|
+
*/
|
|
4315
|
+
cancelUrl: string;
|
|
4316
|
+
static names(): { [key: string]: string } {
|
|
4317
|
+
return {
|
|
4318
|
+
confirmUrl: 'confirm_url',
|
|
4319
|
+
cancelUrl: 'cancel_url',
|
|
4320
|
+
};
|
|
4321
|
+
}
|
|
4322
|
+
|
|
4323
|
+
static types(): { [key: string]: any } {
|
|
4324
|
+
return {
|
|
4325
|
+
confirmUrl: 'string',
|
|
4326
|
+
cancelUrl: 'string',
|
|
4327
|
+
};
|
|
4328
|
+
}
|
|
4329
|
+
|
|
4330
|
+
constructor(map?: { [key: string]: any }) {
|
|
4331
|
+
super(map);
|
|
4332
|
+
}
|
|
4333
|
+
}
|
|
4334
|
+
|
|
4237
4335
|
// 反欺诈风险数据服务决策结果
|
|
4238
4336
|
export class SecurityResultInfos extends $tea.Model {
|
|
4239
4337
|
// 反欺诈风险数据服务风险建议决策
|
|
@@ -7388,6 +7486,270 @@ export class CustomerBankCardInfo extends $tea.Model {
|
|
|
7388
7486
|
}
|
|
7389
7487
|
}
|
|
7390
7488
|
|
|
7489
|
+
// 借款确认信息
|
|
7490
|
+
export class LoanConfirmInfo extends $tea.Model {
|
|
7491
|
+
// 借款本金
|
|
7492
|
+
/**
|
|
7493
|
+
* @example
|
|
7494
|
+
* 1000.00
|
|
7495
|
+
*/
|
|
7496
|
+
loanPrin: string;
|
|
7497
|
+
// 还款方式
|
|
7498
|
+
/**
|
|
7499
|
+
* @example
|
|
7500
|
+
* 1
|
|
7501
|
+
*/
|
|
7502
|
+
repayType: string;
|
|
7503
|
+
// 实际年化利率,单位:%,2
|
|
7504
|
+
// 位小数
|
|
7505
|
+
/**
|
|
7506
|
+
* @example
|
|
7507
|
+
* 15.00
|
|
7508
|
+
*/
|
|
7509
|
+
actualRate: string;
|
|
7510
|
+
// 优惠前年化利率,单位:%,2
|
|
7511
|
+
// 位小数
|
|
7512
|
+
/**
|
|
7513
|
+
* @example
|
|
7514
|
+
* 15.00
|
|
7515
|
+
*/
|
|
7516
|
+
preDiscRate?: string;
|
|
7517
|
+
// 借款期数
|
|
7518
|
+
/**
|
|
7519
|
+
* @example
|
|
7520
|
+
* 12
|
|
7521
|
+
*/
|
|
7522
|
+
loanTerm: string;
|
|
7523
|
+
// 借款总利息,单位:元,
|
|
7524
|
+
// 2 位小数
|
|
7525
|
+
/**
|
|
7526
|
+
* @example
|
|
7527
|
+
* 213.00
|
|
7528
|
+
*/
|
|
7529
|
+
totalInt?: string;
|
|
7530
|
+
// 借款起始日,整笔借据的
|
|
7531
|
+
// 开始时间 格
|
|
7532
|
+
// 式:yyyy-
|
|
7533
|
+
// MM-dd
|
|
7534
|
+
/**
|
|
7535
|
+
* @example
|
|
7536
|
+
* 1999-01-01
|
|
7537
|
+
*/
|
|
7538
|
+
startDate: string;
|
|
7539
|
+
// 借款到期日,格式:yyyy-MM-dd
|
|
7540
|
+
/**
|
|
7541
|
+
* @example
|
|
7542
|
+
* 2000-01-01
|
|
7543
|
+
*/
|
|
7544
|
+
expireDate: string;
|
|
7545
|
+
// 借款总天数,单位:天,不传expire_date时上送
|
|
7546
|
+
/**
|
|
7547
|
+
* @example
|
|
7548
|
+
* 120
|
|
7549
|
+
*/
|
|
7550
|
+
totalDays?: string;
|
|
7551
|
+
// 还款计划列表
|
|
7552
|
+
/**
|
|
7553
|
+
* @example
|
|
7554
|
+
* undefined
|
|
7555
|
+
*/
|
|
7556
|
+
repayPlans: RepayPlan[];
|
|
7557
|
+
// 客户姓名
|
|
7558
|
+
/**
|
|
7559
|
+
* @example
|
|
7560
|
+
* 张三
|
|
7561
|
+
*/
|
|
7562
|
+
custName: string;
|
|
7563
|
+
// 身份证号
|
|
7564
|
+
/**
|
|
7565
|
+
* @example
|
|
7566
|
+
* 101101200101011234
|
|
7567
|
+
*/
|
|
7568
|
+
certNo: string;
|
|
7569
|
+
// 联系电话
|
|
7570
|
+
/**
|
|
7571
|
+
* @example
|
|
7572
|
+
* 18612341234
|
|
7573
|
+
*/
|
|
7574
|
+
mobile: string;
|
|
7575
|
+
// 居住地址
|
|
7576
|
+
/**
|
|
7577
|
+
* @example
|
|
7578
|
+
* XX省XX市XX区
|
|
7579
|
+
*/
|
|
7580
|
+
homeAddr: string;
|
|
7581
|
+
// 银行卡号
|
|
7582
|
+
/**
|
|
7583
|
+
* @example
|
|
7584
|
+
* 8888888888888888888
|
|
7585
|
+
*/
|
|
7586
|
+
bankCardNo: string;
|
|
7587
|
+
// 开户行
|
|
7588
|
+
/**
|
|
7589
|
+
* @example
|
|
7590
|
+
* 中国工商银行
|
|
7591
|
+
*/
|
|
7592
|
+
bankName: string;
|
|
7593
|
+
// 银行编码
|
|
7594
|
+
/**
|
|
7595
|
+
* @example
|
|
7596
|
+
* ICBC
|
|
7597
|
+
*/
|
|
7598
|
+
bankCode?: string;
|
|
7599
|
+
// 户籍所在地
|
|
7600
|
+
/**
|
|
7601
|
+
* @example
|
|
7602
|
+
* XX省XX市XX区
|
|
7603
|
+
*/
|
|
7604
|
+
certAddr?: string;
|
|
7605
|
+
// 常用地址
|
|
7606
|
+
/**
|
|
7607
|
+
* @example
|
|
7608
|
+
* XX省XX市XX区
|
|
7609
|
+
*/
|
|
7610
|
+
commAddr?: string;
|
|
7611
|
+
// 优惠前还款计划,有优惠时必填
|
|
7612
|
+
/**
|
|
7613
|
+
* @example
|
|
7614
|
+
* undefined
|
|
7615
|
+
*/
|
|
7616
|
+
discPlans?: RepayPlan[];
|
|
7617
|
+
// 优惠信息,优惠活动说明
|
|
7618
|
+
/**
|
|
7619
|
+
* @example
|
|
7620
|
+
* 首笔利率 8 折
|
|
7621
|
+
*/
|
|
7622
|
+
discInfo?: string;
|
|
7623
|
+
// 逾期罚息利率,单位 %,2位小数
|
|
7624
|
+
/**
|
|
7625
|
+
* @example
|
|
7626
|
+
* 15.33
|
|
7627
|
+
*/
|
|
7628
|
+
overdueRate?: string;
|
|
7629
|
+
// 挪用罚息利率,单位 %,2位小数
|
|
7630
|
+
/**
|
|
7631
|
+
* @example
|
|
7632
|
+
* 15.00
|
|
7633
|
+
*/
|
|
7634
|
+
misuseRate?: string;
|
|
7635
|
+
// lpr利率,固定一年期,
|
|
7636
|
+
// 单位%
|
|
7637
|
+
/**
|
|
7638
|
+
* @example
|
|
7639
|
+
* 3.50
|
|
7640
|
+
*/
|
|
7641
|
+
lpr?: string;
|
|
7642
|
+
// lpr发布时间,格式:yyyy-MM-dd
|
|
7643
|
+
/**
|
|
7644
|
+
* @example
|
|
7645
|
+
* 1999-01-01
|
|
7646
|
+
*/
|
|
7647
|
+
lprDay?: string;
|
|
7648
|
+
// 上浮基点,100bp=1%
|
|
7649
|
+
/**
|
|
7650
|
+
* @example
|
|
7651
|
+
* 1500
|
|
7652
|
+
*/
|
|
7653
|
+
bp?: string;
|
|
7654
|
+
// 手续费利率,增信服务费年利率,单位 %
|
|
7655
|
+
/**
|
|
7656
|
+
* @example
|
|
7657
|
+
* 3.12
|
|
7658
|
+
*/
|
|
7659
|
+
feeRate?: string;
|
|
7660
|
+
// 固收利率,固守年利率,单位 %
|
|
7661
|
+
/**
|
|
7662
|
+
* @example
|
|
7663
|
+
* 3.12
|
|
7664
|
+
*/
|
|
7665
|
+
fixRate?: string;
|
|
7666
|
+
// 固收主体,默认:浙江宁银消费金融股份有限公司
|
|
7667
|
+
/**
|
|
7668
|
+
* @example
|
|
7669
|
+
* 浙江宁 银消费金融 股份有限公 司
|
|
7670
|
+
*/
|
|
7671
|
+
fixCompany?: string;
|
|
7672
|
+
// 融担公司主体,若有多家融担公司,以逗号分隔
|
|
7673
|
+
/**
|
|
7674
|
+
* @example
|
|
7675
|
+
* 融担公司1,融担公司2
|
|
7676
|
+
*/
|
|
7677
|
+
feeCompany?: string;
|
|
7678
|
+
static names(): { [key: string]: string } {
|
|
7679
|
+
return {
|
|
7680
|
+
loanPrin: 'loan_prin',
|
|
7681
|
+
repayType: 'repay_type',
|
|
7682
|
+
actualRate: 'actual_rate',
|
|
7683
|
+
preDiscRate: 'pre_disc_rate',
|
|
7684
|
+
loanTerm: 'loan_term',
|
|
7685
|
+
totalInt: 'total_int',
|
|
7686
|
+
startDate: 'start_date',
|
|
7687
|
+
expireDate: 'expire_date',
|
|
7688
|
+
totalDays: 'total_days',
|
|
7689
|
+
repayPlans: 'repay_plans',
|
|
7690
|
+
custName: 'cust_name',
|
|
7691
|
+
certNo: 'cert_no',
|
|
7692
|
+
mobile: 'mobile',
|
|
7693
|
+
homeAddr: 'home_addr',
|
|
7694
|
+
bankCardNo: 'bank_card_no',
|
|
7695
|
+
bankName: 'bank_name',
|
|
7696
|
+
bankCode: 'bank_code',
|
|
7697
|
+
certAddr: 'cert_addr',
|
|
7698
|
+
commAddr: 'comm_addr',
|
|
7699
|
+
discPlans: 'disc_plans',
|
|
7700
|
+
discInfo: 'disc_info',
|
|
7701
|
+
overdueRate: 'overdue_rate',
|
|
7702
|
+
misuseRate: 'misuse_rate',
|
|
7703
|
+
lpr: 'lpr',
|
|
7704
|
+
lprDay: 'lpr_day',
|
|
7705
|
+
bp: 'bp',
|
|
7706
|
+
feeRate: 'fee_rate',
|
|
7707
|
+
fixRate: 'fix_rate',
|
|
7708
|
+
fixCompany: 'fix_company',
|
|
7709
|
+
feeCompany: 'fee_company',
|
|
7710
|
+
};
|
|
7711
|
+
}
|
|
7712
|
+
|
|
7713
|
+
static types(): { [key: string]: any } {
|
|
7714
|
+
return {
|
|
7715
|
+
loanPrin: 'string',
|
|
7716
|
+
repayType: 'string',
|
|
7717
|
+
actualRate: 'string',
|
|
7718
|
+
preDiscRate: 'string',
|
|
7719
|
+
loanTerm: 'string',
|
|
7720
|
+
totalInt: 'string',
|
|
7721
|
+
startDate: 'string',
|
|
7722
|
+
expireDate: 'string',
|
|
7723
|
+
totalDays: 'string',
|
|
7724
|
+
repayPlans: { 'type': 'array', 'itemType': RepayPlan },
|
|
7725
|
+
custName: 'string',
|
|
7726
|
+
certNo: 'string',
|
|
7727
|
+
mobile: 'string',
|
|
7728
|
+
homeAddr: 'string',
|
|
7729
|
+
bankCardNo: 'string',
|
|
7730
|
+
bankName: 'string',
|
|
7731
|
+
bankCode: 'string',
|
|
7732
|
+
certAddr: 'string',
|
|
7733
|
+
commAddr: 'string',
|
|
7734
|
+
discPlans: { 'type': 'array', 'itemType': RepayPlan },
|
|
7735
|
+
discInfo: 'string',
|
|
7736
|
+
overdueRate: 'string',
|
|
7737
|
+
misuseRate: 'string',
|
|
7738
|
+
lpr: 'string',
|
|
7739
|
+
lprDay: 'string',
|
|
7740
|
+
bp: 'string',
|
|
7741
|
+
feeRate: 'string',
|
|
7742
|
+
fixRate: 'string',
|
|
7743
|
+
fixCompany: 'string',
|
|
7744
|
+
feeCompany: 'string',
|
|
7745
|
+
};
|
|
7746
|
+
}
|
|
7747
|
+
|
|
7748
|
+
constructor(map?: { [key: string]: any }) {
|
|
7749
|
+
super(map);
|
|
7750
|
+
}
|
|
7751
|
+
}
|
|
7752
|
+
|
|
7391
7753
|
// 期数费用
|
|
7392
7754
|
export class InstallmentTrial extends $tea.Model {
|
|
7393
7755
|
// 总期数
|
|
@@ -11082,6 +11444,31 @@ export class Item extends $tea.Model {
|
|
|
11082
11444
|
}
|
|
11083
11445
|
}
|
|
11084
11446
|
|
|
11447
|
+
// 借款确认页客户确认信息
|
|
11448
|
+
export class CustCheckInfo extends $tea.Model {
|
|
11449
|
+
// 签约结果,01 - 处理中,02 - 成功,03 失败(当超过链接有效期却还未收到前端给出的跳端成功结果后,会将此次跳端结果设置为失败)
|
|
11450
|
+
/**
|
|
11451
|
+
* @example
|
|
11452
|
+
* 01
|
|
11453
|
+
*/
|
|
11454
|
+
signResult: string;
|
|
11455
|
+
static names(): { [key: string]: string } {
|
|
11456
|
+
return {
|
|
11457
|
+
signResult: 'sign_result',
|
|
11458
|
+
};
|
|
11459
|
+
}
|
|
11460
|
+
|
|
11461
|
+
static types(): { [key: string]: any } {
|
|
11462
|
+
return {
|
|
11463
|
+
signResult: 'string',
|
|
11464
|
+
};
|
|
11465
|
+
}
|
|
11466
|
+
|
|
11467
|
+
constructor(map?: { [key: string]: any }) {
|
|
11468
|
+
super(map);
|
|
11469
|
+
}
|
|
11470
|
+
}
|
|
11471
|
+
|
|
11085
11472
|
// 用户分层信息
|
|
11086
11473
|
export class UserClassifyInfo extends $tea.Model {
|
|
11087
11474
|
// 版本号
|
|
@@ -14953,6 +15340,8 @@ export class QueryDubbridgeRouterFundrouterRequest extends $tea.Model {
|
|
|
14953
15340
|
riskData?: string;
|
|
14954
15341
|
// 扩展字段
|
|
14955
15342
|
extInfo?: string;
|
|
15343
|
+
// 商户入驻id
|
|
15344
|
+
merchantExternalId?: string;
|
|
14956
15345
|
static names(): { [key: string]: string } {
|
|
14957
15346
|
return {
|
|
14958
15347
|
authToken: 'auth_token',
|
|
@@ -14978,6 +15367,7 @@ export class QueryDubbridgeRouterFundrouterRequest extends $tea.Model {
|
|
|
14978
15367
|
clickId: 'click_id',
|
|
14979
15368
|
riskData: 'risk_data',
|
|
14980
15369
|
extInfo: 'ext_info',
|
|
15370
|
+
merchantExternalId: 'merchant_external_id',
|
|
14981
15371
|
};
|
|
14982
15372
|
}
|
|
14983
15373
|
|
|
@@ -15006,6 +15396,7 @@ export class QueryDubbridgeRouterFundrouterRequest extends $tea.Model {
|
|
|
15006
15396
|
clickId: 'string',
|
|
15007
15397
|
riskData: 'string',
|
|
15008
15398
|
extInfo: 'string',
|
|
15399
|
+
merchantExternalId: 'string',
|
|
15009
15400
|
};
|
|
15010
15401
|
}
|
|
15011
15402
|
|
|
@@ -15100,6 +15491,8 @@ export class ApplyDubbridgeCreditRequest extends $tea.Model {
|
|
|
15100
15491
|
bizOrderNo?: string;
|
|
15101
15492
|
// 业务类型
|
|
15102
15493
|
prodType?: string;
|
|
15494
|
+
// 商户入驻id
|
|
15495
|
+
merchantExternalId?: string;
|
|
15103
15496
|
static names(): { [key: string]: string } {
|
|
15104
15497
|
return {
|
|
15105
15498
|
authToken: 'auth_token',
|
|
@@ -15123,6 +15516,7 @@ export class ApplyDubbridgeCreditRequest extends $tea.Model {
|
|
|
15123
15516
|
fundCode: 'fund_code',
|
|
15124
15517
|
bizOrderNo: 'biz_order_no',
|
|
15125
15518
|
prodType: 'prod_type',
|
|
15519
|
+
merchantExternalId: 'merchant_external_id',
|
|
15126
15520
|
};
|
|
15127
15521
|
}
|
|
15128
15522
|
|
|
@@ -15149,6 +15543,7 @@ export class ApplyDubbridgeCreditRequest extends $tea.Model {
|
|
|
15149
15543
|
fundCode: 'string',
|
|
15150
15544
|
bizOrderNo: 'string',
|
|
15151
15545
|
prodType: 'string',
|
|
15546
|
+
merchantExternalId: 'string',
|
|
15152
15547
|
};
|
|
15153
15548
|
}
|
|
15154
15549
|
|
|
@@ -17250,6 +17645,8 @@ export class ApplyDubbridgeUsecreditRequest extends $tea.Model {
|
|
|
17250
17645
|
trafficPlatform?: string;
|
|
17251
17646
|
// 业务方订单号
|
|
17252
17647
|
bizOrderNo?: string;
|
|
17648
|
+
// 商户入驻id
|
|
17649
|
+
merchantExternalId?: string;
|
|
17253
17650
|
static names(): { [key: string]: string } {
|
|
17254
17651
|
return {
|
|
17255
17652
|
authToken: 'auth_token',
|
|
@@ -17271,6 +17668,7 @@ export class ApplyDubbridgeUsecreditRequest extends $tea.Model {
|
|
|
17271
17668
|
couponId: 'coupon_id',
|
|
17272
17669
|
trafficPlatform: 'traffic_platform',
|
|
17273
17670
|
bizOrderNo: 'biz_order_no',
|
|
17671
|
+
merchantExternalId: 'merchant_external_id',
|
|
17274
17672
|
};
|
|
17275
17673
|
}
|
|
17276
17674
|
|
|
@@ -17295,6 +17693,7 @@ export class ApplyDubbridgeUsecreditRequest extends $tea.Model {
|
|
|
17295
17693
|
couponId: 'string',
|
|
17296
17694
|
trafficPlatform: 'string',
|
|
17297
17695
|
bizOrderNo: 'string',
|
|
17696
|
+
merchantExternalId: 'string',
|
|
17298
17697
|
};
|
|
17299
17698
|
}
|
|
17300
17699
|
|
|
@@ -23197,7 +23596,7 @@ export class CreateDubbridgePetmallorderRequest extends $tea.Model {
|
|
|
23197
23596
|
// 商品名称
|
|
23198
23597
|
goodsName: string;
|
|
23199
23598
|
// 商品标价,单位:元
|
|
23200
|
-
|
|
23599
|
+
productAmount: string;
|
|
23201
23600
|
// 储值卡支付结算金额,用于冻结/出账/分账的基数,单位元,两位小数
|
|
23202
23601
|
pointAmount: string;
|
|
23203
23602
|
static names(): { [key: string]: string } {
|
|
@@ -23211,7 +23610,7 @@ export class CreateDubbridgePetmallorderRequest extends $tea.Model {
|
|
|
23211
23610
|
bizOrderNo: 'biz_order_no',
|
|
23212
23611
|
tradeNo: 'trade_no',
|
|
23213
23612
|
goodsName: 'goods_name',
|
|
23214
|
-
|
|
23613
|
+
productAmount: 'product_amount',
|
|
23215
23614
|
pointAmount: 'point_amount',
|
|
23216
23615
|
};
|
|
23217
23616
|
}
|
|
@@ -23227,7 +23626,7 @@ export class CreateDubbridgePetmallorderRequest extends $tea.Model {
|
|
|
23227
23626
|
bizOrderNo: 'string',
|
|
23228
23627
|
tradeNo: 'string',
|
|
23229
23628
|
goodsName: 'string',
|
|
23230
|
-
|
|
23629
|
+
productAmount: 'string',
|
|
23231
23630
|
pointAmount: 'string',
|
|
23232
23631
|
};
|
|
23233
23632
|
}
|
|
@@ -23623,8 +24022,6 @@ export class ApplyDubbridgePetmallorderTransferResponse extends $tea.Model {
|
|
|
23623
24022
|
settleResult?: string;
|
|
23624
24023
|
// 失败原因
|
|
23625
24024
|
failReason?: string;
|
|
23626
|
-
// 分账单号,提交成功时返回
|
|
23627
|
-
transferNo?: string;
|
|
23628
24025
|
static names(): { [key: string]: string } {
|
|
23629
24026
|
return {
|
|
23630
24027
|
reqMsgId: 'req_msg_id',
|
|
@@ -23633,7 +24030,6 @@ export class ApplyDubbridgePetmallorderTransferResponse extends $tea.Model {
|
|
|
23633
24030
|
bizOrderNo: 'biz_order_no',
|
|
23634
24031
|
settleResult: 'settle_result',
|
|
23635
24032
|
failReason: 'fail_reason',
|
|
23636
|
-
transferNo: 'transfer_no',
|
|
23637
24033
|
};
|
|
23638
24034
|
}
|
|
23639
24035
|
|
|
@@ -23645,7 +24041,172 @@ export class ApplyDubbridgePetmallorderTransferResponse extends $tea.Model {
|
|
|
23645
24041
|
bizOrderNo: 'string',
|
|
23646
24042
|
settleResult: 'string',
|
|
23647
24043
|
failReason: 'string',
|
|
23648
|
-
|
|
24044
|
+
};
|
|
24045
|
+
}
|
|
24046
|
+
|
|
24047
|
+
constructor(map?: { [key: string]: any }) {
|
|
24048
|
+
super(map);
|
|
24049
|
+
}
|
|
24050
|
+
}
|
|
24051
|
+
|
|
24052
|
+
export class GetDubbridgeJumpurlRequest extends $tea.Model {
|
|
24053
|
+
// OAuth模式下的授权token
|
|
24054
|
+
authToken?: string;
|
|
24055
|
+
productInstanceId?: string;
|
|
24056
|
+
// 请求唯一id
|
|
24057
|
+
orderNo: string;
|
|
24058
|
+
// 授信流水号
|
|
24059
|
+
creditNo?: string;
|
|
24060
|
+
// 支用流水号
|
|
24061
|
+
loanNo?: string;
|
|
24062
|
+
// 跳端申请流水号
|
|
24063
|
+
jumpNo: string;
|
|
24064
|
+
// 借款确认信息
|
|
24065
|
+
loanConfirmInfo: LoanConfirmInfo;
|
|
24066
|
+
// 回跳平台方地址
|
|
24067
|
+
platJumpUrl: PlatJumpUrl;
|
|
24068
|
+
// 合作方渠道标示,用于区分产品
|
|
24069
|
+
channelId: string;
|
|
24070
|
+
// 拓展信息,json格式字符串
|
|
24071
|
+
extInfo?: string;
|
|
24072
|
+
static names(): { [key: string]: string } {
|
|
24073
|
+
return {
|
|
24074
|
+
authToken: 'auth_token',
|
|
24075
|
+
productInstanceId: 'product_instance_id',
|
|
24076
|
+
orderNo: 'order_no',
|
|
24077
|
+
creditNo: 'credit_no',
|
|
24078
|
+
loanNo: 'loan_no',
|
|
24079
|
+
jumpNo: 'jump_no',
|
|
24080
|
+
loanConfirmInfo: 'loan_confirm_info',
|
|
24081
|
+
platJumpUrl: 'plat_jump_url',
|
|
24082
|
+
channelId: 'channel_id',
|
|
24083
|
+
extInfo: 'ext_info',
|
|
24084
|
+
};
|
|
24085
|
+
}
|
|
24086
|
+
|
|
24087
|
+
static types(): { [key: string]: any } {
|
|
24088
|
+
return {
|
|
24089
|
+
authToken: 'string',
|
|
24090
|
+
productInstanceId: 'string',
|
|
24091
|
+
orderNo: 'string',
|
|
24092
|
+
creditNo: 'string',
|
|
24093
|
+
loanNo: 'string',
|
|
24094
|
+
jumpNo: 'string',
|
|
24095
|
+
loanConfirmInfo: LoanConfirmInfo,
|
|
24096
|
+
platJumpUrl: PlatJumpUrl,
|
|
24097
|
+
channelId: 'string',
|
|
24098
|
+
extInfo: 'string',
|
|
24099
|
+
};
|
|
24100
|
+
}
|
|
24101
|
+
|
|
24102
|
+
constructor(map?: { [key: string]: any }) {
|
|
24103
|
+
super(map);
|
|
24104
|
+
}
|
|
24105
|
+
}
|
|
24106
|
+
|
|
24107
|
+
export class GetDubbridgeJumpurlResponse extends $tea.Model {
|
|
24108
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
24109
|
+
reqMsgId?: string;
|
|
24110
|
+
// 结果码,一般OK表示调用成功
|
|
24111
|
+
resultCode?: string;
|
|
24112
|
+
// 异常信息的文本描述
|
|
24113
|
+
resultMsg?: string;
|
|
24114
|
+
// 跳转URL,请求成功返回
|
|
24115
|
+
url?: string;
|
|
24116
|
+
static names(): { [key: string]: string } {
|
|
24117
|
+
return {
|
|
24118
|
+
reqMsgId: 'req_msg_id',
|
|
24119
|
+
resultCode: 'result_code',
|
|
24120
|
+
resultMsg: 'result_msg',
|
|
24121
|
+
url: 'url',
|
|
24122
|
+
};
|
|
24123
|
+
}
|
|
24124
|
+
|
|
24125
|
+
static types(): { [key: string]: any } {
|
|
24126
|
+
return {
|
|
24127
|
+
reqMsgId: 'string',
|
|
24128
|
+
resultCode: 'string',
|
|
24129
|
+
resultMsg: 'string',
|
|
24130
|
+
url: 'string',
|
|
24131
|
+
};
|
|
24132
|
+
}
|
|
24133
|
+
|
|
24134
|
+
constructor(map?: { [key: string]: any }) {
|
|
24135
|
+
super(map);
|
|
24136
|
+
}
|
|
24137
|
+
}
|
|
24138
|
+
|
|
24139
|
+
export class QueryDubbridgeJumpresultRequest extends $tea.Model {
|
|
24140
|
+
// OAuth模式下的授权token
|
|
24141
|
+
authToken?: string;
|
|
24142
|
+
productInstanceId?: string;
|
|
24143
|
+
// 请求唯一id
|
|
24144
|
+
orderNo: string;
|
|
24145
|
+
// 跳端申请唯一流水号,一个流水号对应一个URL
|
|
24146
|
+
jumpNo: string;
|
|
24147
|
+
// 合作方渠道标示,用于区分产品
|
|
24148
|
+
channelId: string;
|
|
24149
|
+
// 拓展信息,json格式字符串
|
|
24150
|
+
extInfo?: string;
|
|
24151
|
+
static names(): { [key: string]: string } {
|
|
24152
|
+
return {
|
|
24153
|
+
authToken: 'auth_token',
|
|
24154
|
+
productInstanceId: 'product_instance_id',
|
|
24155
|
+
orderNo: 'order_no',
|
|
24156
|
+
jumpNo: 'jump_no',
|
|
24157
|
+
channelId: 'channel_id',
|
|
24158
|
+
extInfo: 'ext_info',
|
|
24159
|
+
};
|
|
24160
|
+
}
|
|
24161
|
+
|
|
24162
|
+
static types(): { [key: string]: any } {
|
|
24163
|
+
return {
|
|
24164
|
+
authToken: 'string',
|
|
24165
|
+
productInstanceId: 'string',
|
|
24166
|
+
orderNo: 'string',
|
|
24167
|
+
jumpNo: 'string',
|
|
24168
|
+
channelId: 'string',
|
|
24169
|
+
extInfo: 'string',
|
|
24170
|
+
};
|
|
24171
|
+
}
|
|
24172
|
+
|
|
24173
|
+
constructor(map?: { [key: string]: any }) {
|
|
24174
|
+
super(map);
|
|
24175
|
+
}
|
|
24176
|
+
}
|
|
24177
|
+
|
|
24178
|
+
export class QueryDubbridgeJumpresultResponse extends $tea.Model {
|
|
24179
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
24180
|
+
reqMsgId?: string;
|
|
24181
|
+
// 结果码,一般OK表示调用成功
|
|
24182
|
+
resultCode?: string;
|
|
24183
|
+
// 异常信息的文本描述
|
|
24184
|
+
resultMsg?: string;
|
|
24185
|
+
// 跳端申请唯一流水号
|
|
24186
|
+
jumpNo?: string;
|
|
24187
|
+
// 借款确认页URL
|
|
24188
|
+
pageUrl?: string;
|
|
24189
|
+
// 借款确认页客户确认信息
|
|
24190
|
+
custCheckInfo?: CustCheckInfo;
|
|
24191
|
+
static names(): { [key: string]: string } {
|
|
24192
|
+
return {
|
|
24193
|
+
reqMsgId: 'req_msg_id',
|
|
24194
|
+
resultCode: 'result_code',
|
|
24195
|
+
resultMsg: 'result_msg',
|
|
24196
|
+
jumpNo: 'jump_no',
|
|
24197
|
+
pageUrl: 'page_url',
|
|
24198
|
+
custCheckInfo: 'cust_check_info',
|
|
24199
|
+
};
|
|
24200
|
+
}
|
|
24201
|
+
|
|
24202
|
+
static types(): { [key: string]: any } {
|
|
24203
|
+
return {
|
|
24204
|
+
reqMsgId: 'string',
|
|
24205
|
+
resultCode: 'string',
|
|
24206
|
+
resultMsg: 'string',
|
|
24207
|
+
jumpNo: 'string',
|
|
24208
|
+
pageUrl: 'string',
|
|
24209
|
+
custCheckInfo: CustCheckInfo,
|
|
23649
24210
|
};
|
|
23650
24211
|
}
|
|
23651
24212
|
|
|
@@ -37413,7 +37974,7 @@ export default class Client {
|
|
|
37413
37974
|
req_msg_id: AntchainUtil.getNonce(),
|
|
37414
37975
|
access_key: this._accessKeyId,
|
|
37415
37976
|
base_sdk_version: "TeaSDK-2.0",
|
|
37416
|
-
sdk_version: "1.33.
|
|
37977
|
+
sdk_version: "1.33.4",
|
|
37417
37978
|
_prod_code: "RISKPLUS",
|
|
37418
37979
|
_prod_channel: "undefined",
|
|
37419
37980
|
};
|
|
@@ -38325,7 +38886,7 @@ export default class Client {
|
|
|
38325
38886
|
/**
|
|
38326
38887
|
* @remarks
|
|
38327
38888
|
* Description: 资金路由接口,获取资金方编号
|
|
38328
|
-
* Summary:
|
|
38889
|
+
* Summary: 资金路由接口,获取资金方编号
|
|
38329
38890
|
*/
|
|
38330
38891
|
async queryDubbridgeRouterFundrouter(request: QueryDubbridgeRouterFundrouterRequest): Promise<QueryDubbridgeRouterFundrouterResponse> {
|
|
38331
38892
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -38336,7 +38897,7 @@ export default class Client {
|
|
|
38336
38897
|
/**
|
|
38337
38898
|
* @remarks
|
|
38338
38899
|
* Description: 资金路由接口,获取资金方编号
|
|
38339
|
-
* Summary:
|
|
38900
|
+
* Summary: 资金路由接口,获取资金方编号
|
|
38340
38901
|
*/
|
|
38341
38902
|
async queryDubbridgeRouterFundrouterEx(request: QueryDubbridgeRouterFundrouterRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryDubbridgeRouterFundrouterResponse> {
|
|
38342
38903
|
Util.validateModel(request);
|
|
@@ -40423,6 +40984,48 @@ export default class Client {
|
|
|
40423
40984
|
return $tea.cast<ApplyDubbridgePetmallorderTransferResponse>(await this.doRequest("1.0", "riskplus.dubbridge.petmallorder.transfer.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyDubbridgePetmallorderTransferResponse({}));
|
|
40424
40985
|
}
|
|
40425
40986
|
|
|
40987
|
+
/**
|
|
40988
|
+
* @remarks
|
|
40989
|
+
* Description: 跳端地址获取
|
|
40990
|
+
* Summary: 跳端地址获取
|
|
40991
|
+
*/
|
|
40992
|
+
async getDubbridgeJumpurl(request: GetDubbridgeJumpurlRequest): Promise<GetDubbridgeJumpurlResponse> {
|
|
40993
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
40994
|
+
let headers : {[key: string ]: string} = { };
|
|
40995
|
+
return await this.getDubbridgeJumpurlEx(request, headers, runtime);
|
|
40996
|
+
}
|
|
40997
|
+
|
|
40998
|
+
/**
|
|
40999
|
+
* @remarks
|
|
41000
|
+
* Description: 跳端地址获取
|
|
41001
|
+
* Summary: 跳端地址获取
|
|
41002
|
+
*/
|
|
41003
|
+
async getDubbridgeJumpurlEx(request: GetDubbridgeJumpurlRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetDubbridgeJumpurlResponse> {
|
|
41004
|
+
Util.validateModel(request);
|
|
41005
|
+
return $tea.cast<GetDubbridgeJumpurlResponse>(await this.doRequest("1.0", "riskplus.dubbridge.jumpurl.get", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new GetDubbridgeJumpurlResponse({}));
|
|
41006
|
+
}
|
|
41007
|
+
|
|
41008
|
+
/**
|
|
41009
|
+
* @remarks
|
|
41010
|
+
* Description: 跳端结果查询
|
|
41011
|
+
* Summary: 跳端结果查询
|
|
41012
|
+
*/
|
|
41013
|
+
async queryDubbridgeJumpresult(request: QueryDubbridgeJumpresultRequest): Promise<QueryDubbridgeJumpresultResponse> {
|
|
41014
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
41015
|
+
let headers : {[key: string ]: string} = { };
|
|
41016
|
+
return await this.queryDubbridgeJumpresultEx(request, headers, runtime);
|
|
41017
|
+
}
|
|
41018
|
+
|
|
41019
|
+
/**
|
|
41020
|
+
* @remarks
|
|
41021
|
+
* Description: 跳端结果查询
|
|
41022
|
+
* Summary: 跳端结果查询
|
|
41023
|
+
*/
|
|
41024
|
+
async queryDubbridgeJumpresultEx(request: QueryDubbridgeJumpresultRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryDubbridgeJumpresultResponse> {
|
|
41025
|
+
Util.validateModel(request);
|
|
41026
|
+
return $tea.cast<QueryDubbridgeJumpresultResponse>(await this.doRequest("1.0", "riskplus.dubbridge.jumpresult.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDubbridgeJumpresultResponse({}));
|
|
41027
|
+
}
|
|
41028
|
+
|
|
40426
41029
|
/**
|
|
40427
41030
|
* @remarks
|
|
40428
41031
|
* Description: 四要素认证首先调用此接口
|