@antchain/riskplus 1.23.10 → 1.24.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 +269 -7
- package/dist/client.js +449 -16
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +688 -35
package/src/client.ts
CHANGED
|
@@ -313,6 +313,63 @@ export class BackflowEventRecordProperty extends $tea.Model {
|
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
+
// 月供
|
|
317
|
+
export class TermDetail extends $tea.Model {
|
|
318
|
+
// 期数
|
|
319
|
+
term: string;
|
|
320
|
+
// 期供金额
|
|
321
|
+
termAmount: number;
|
|
322
|
+
// 当期本金
|
|
323
|
+
termPrincipal: number;
|
|
324
|
+
// 当期利息(分期产生的利息/手续费)
|
|
325
|
+
termFee: number;
|
|
326
|
+
// 应还款日期
|
|
327
|
+
settleDate: string;
|
|
328
|
+
// 罚息
|
|
329
|
+
penalty?: number;
|
|
330
|
+
// 担保费
|
|
331
|
+
guaranteeFee?: number;
|
|
332
|
+
// 违约金
|
|
333
|
+
liquidatedDamages?: number;
|
|
334
|
+
// 服务费
|
|
335
|
+
serverFee?: number;
|
|
336
|
+
// 减免金额
|
|
337
|
+
deductAmount?: number;
|
|
338
|
+
static names(): { [key: string]: string } {
|
|
339
|
+
return {
|
|
340
|
+
term: 'term',
|
|
341
|
+
termAmount: 'term_amount',
|
|
342
|
+
termPrincipal: 'term_principal',
|
|
343
|
+
termFee: 'term_fee',
|
|
344
|
+
settleDate: 'settle_date',
|
|
345
|
+
penalty: 'penalty',
|
|
346
|
+
guaranteeFee: 'guarantee_fee',
|
|
347
|
+
liquidatedDamages: 'liquidated_damages',
|
|
348
|
+
serverFee: 'server_fee',
|
|
349
|
+
deductAmount: 'deduct_amount',
|
|
350
|
+
};
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
static types(): { [key: string]: any } {
|
|
354
|
+
return {
|
|
355
|
+
term: 'string',
|
|
356
|
+
termAmount: 'number',
|
|
357
|
+
termPrincipal: 'number',
|
|
358
|
+
termFee: 'number',
|
|
359
|
+
settleDate: 'string',
|
|
360
|
+
penalty: 'number',
|
|
361
|
+
guaranteeFee: 'number',
|
|
362
|
+
liquidatedDamages: 'number',
|
|
363
|
+
serverFee: 'number',
|
|
364
|
+
deductAmount: 'number',
|
|
365
|
+
};
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
constructor(map?: { [key: string]: any }) {
|
|
369
|
+
super(map);
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
|
|
316
373
|
// 营销盾批量查询单条结果
|
|
317
374
|
export class BaseCustomerUmktInfoModel extends $tea.Model {
|
|
318
375
|
// 用户凭证
|
|
@@ -790,6 +847,31 @@ export class RuleDetail extends $tea.Model {
|
|
|
790
847
|
}
|
|
791
848
|
}
|
|
792
849
|
|
|
850
|
+
// 补充信息
|
|
851
|
+
export class Additional extends $tea.Model {
|
|
852
|
+
// 骑手标识;1-骑手
|
|
853
|
+
deliveryman?: string;
|
|
854
|
+
// 关键词
|
|
855
|
+
keyWord?: string;
|
|
856
|
+
static names(): { [key: string]: string } {
|
|
857
|
+
return {
|
|
858
|
+
deliveryman: 'deliveryman',
|
|
859
|
+
keyWord: 'key_word',
|
|
860
|
+
};
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
static types(): { [key: string]: any } {
|
|
864
|
+
return {
|
|
865
|
+
deliveryman: 'string',
|
|
866
|
+
keyWord: 'string',
|
|
867
|
+
};
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
constructor(map?: { [key: string]: any }) {
|
|
871
|
+
super(map);
|
|
872
|
+
}
|
|
873
|
+
}
|
|
874
|
+
|
|
793
875
|
// 天枢系统专用RepayResult结构体
|
|
794
876
|
export class RepayResult extends $tea.Model {
|
|
795
877
|
// 客户编码
|
|
@@ -3071,6 +3153,39 @@ export class RiskStormLabelResp extends $tea.Model {
|
|
|
3071
3153
|
}
|
|
3072
3154
|
}
|
|
3073
3155
|
|
|
3156
|
+
// 补充材料
|
|
3157
|
+
export class SupplementFile extends $tea.Model {
|
|
3158
|
+
// 材料类型:
|
|
3159
|
+
// 301-行驶证正本
|
|
3160
|
+
// 302-行驶证副本
|
|
3161
|
+
// 303-车辆产证(摩托车二手车)
|
|
3162
|
+
//
|
|
3163
|
+
fileType: string;
|
|
3164
|
+
// 材料url
|
|
3165
|
+
fileUrl: string;
|
|
3166
|
+
// 材料名称/描述
|
|
3167
|
+
fileDesc: string;
|
|
3168
|
+
static names(): { [key: string]: string } {
|
|
3169
|
+
return {
|
|
3170
|
+
fileType: 'file_type',
|
|
3171
|
+
fileUrl: 'file_url',
|
|
3172
|
+
fileDesc: 'file_desc',
|
|
3173
|
+
};
|
|
3174
|
+
}
|
|
3175
|
+
|
|
3176
|
+
static types(): { [key: string]: any } {
|
|
3177
|
+
return {
|
|
3178
|
+
fileType: 'string',
|
|
3179
|
+
fileUrl: 'string',
|
|
3180
|
+
fileDesc: 'string',
|
|
3181
|
+
};
|
|
3182
|
+
}
|
|
3183
|
+
|
|
3184
|
+
constructor(map?: { [key: string]: any }) {
|
|
3185
|
+
super(map);
|
|
3186
|
+
}
|
|
3187
|
+
}
|
|
3188
|
+
|
|
3074
3189
|
// 芝麻四要素认证接口
|
|
3075
3190
|
export class ZhimaIdentifyResp extends $tea.Model {
|
|
3076
3191
|
// 唯一ID,接口正常的话有此字段
|
|
@@ -3778,6 +3893,75 @@ export class CustomerBankCardInfo extends $tea.Model {
|
|
|
3778
3893
|
}
|
|
3779
3894
|
}
|
|
3780
3895
|
|
|
3896
|
+
// 期数费用
|
|
3897
|
+
export class InstallmentTrial extends $tea.Model {
|
|
3898
|
+
// 总期数
|
|
3899
|
+
totalPeriod: string;
|
|
3900
|
+
// 分期应还总金额
|
|
3901
|
+
totalAmount: number;
|
|
3902
|
+
// 总利息(分期产生的利息/手续费)
|
|
3903
|
+
totalFee: number;
|
|
3904
|
+
// 期费率,精确到小数点后四位0.1250,表示年利率为12.5%
|
|
3905
|
+
feeRate: number;
|
|
3906
|
+
// 年利率,精确到小数点后四位0.1250,表示年利率为12.5%
|
|
3907
|
+
yearRate: number;
|
|
3908
|
+
// 月供列表
|
|
3909
|
+
termDetailList: TermDetail[];
|
|
3910
|
+
// 是否最优标识
|
|
3911
|
+
optimal?: boolean;
|
|
3912
|
+
// 总罚息
|
|
3913
|
+
totalPenalty?: number;
|
|
3914
|
+
// 总担保费
|
|
3915
|
+
totalGuaranteeFee?: number;
|
|
3916
|
+
// 总违约金
|
|
3917
|
+
totalLiquidatedDamages?: number;
|
|
3918
|
+
// 总服务费
|
|
3919
|
+
totalServerFee?: number;
|
|
3920
|
+
// 费率折扣,0.95:九五折;0:免息;1/null:不打折
|
|
3921
|
+
discount?: number;
|
|
3922
|
+
// 总减免金额
|
|
3923
|
+
totalDeductAmount?: number;
|
|
3924
|
+
static names(): { [key: string]: string } {
|
|
3925
|
+
return {
|
|
3926
|
+
totalPeriod: 'total_period',
|
|
3927
|
+
totalAmount: 'total_amount',
|
|
3928
|
+
totalFee: 'total_fee',
|
|
3929
|
+
feeRate: 'fee_rate',
|
|
3930
|
+
yearRate: 'year_rate',
|
|
3931
|
+
termDetailList: 'term_detail_list',
|
|
3932
|
+
optimal: 'optimal',
|
|
3933
|
+
totalPenalty: 'total_penalty',
|
|
3934
|
+
totalGuaranteeFee: 'total_guarantee_fee',
|
|
3935
|
+
totalLiquidatedDamages: 'total_liquidated_damages',
|
|
3936
|
+
totalServerFee: 'total_server_fee',
|
|
3937
|
+
discount: 'discount',
|
|
3938
|
+
totalDeductAmount: 'total_deduct_amount',
|
|
3939
|
+
};
|
|
3940
|
+
}
|
|
3941
|
+
|
|
3942
|
+
static types(): { [key: string]: any } {
|
|
3943
|
+
return {
|
|
3944
|
+
totalPeriod: 'string',
|
|
3945
|
+
totalAmount: 'number',
|
|
3946
|
+
totalFee: 'number',
|
|
3947
|
+
feeRate: 'number',
|
|
3948
|
+
yearRate: 'number',
|
|
3949
|
+
termDetailList: { 'type': 'array', 'itemType': TermDetail },
|
|
3950
|
+
optimal: 'boolean',
|
|
3951
|
+
totalPenalty: 'number',
|
|
3952
|
+
totalGuaranteeFee: 'number',
|
|
3953
|
+
totalLiquidatedDamages: 'number',
|
|
3954
|
+
totalServerFee: 'number',
|
|
3955
|
+
discount: 'number',
|
|
3956
|
+
totalDeductAmount: 'number',
|
|
3957
|
+
};
|
|
3958
|
+
}
|
|
3959
|
+
|
|
3960
|
+
constructor(map?: { [key: string]: any }) {
|
|
3961
|
+
super(map);
|
|
3962
|
+
}
|
|
3963
|
+
}
|
|
3964
|
+
|
|
3781
3965
|
// 营销盾离线圈客执行批次信息
|
|
3782
3966
|
export class UmktOfflineDecisionTaskExecBatchInfo extends $tea.Model {
|
|
3783
3967
|
// 执行批次
|
|
@@ -4059,6 +4243,51 @@ export class DefinInnerChannelNotifyResult extends $tea.Model {
|
|
|
4059
4243
|
}
|
|
4060
4244
|
}
|
|
4061
4245
|
|
|
4246
|
+
// 门店信息
|
|
4247
|
+
export class StoreInfo extends $tea.Model {
|
|
4248
|
+
// 门店ID
|
|
4249
|
+
storeId: string;
|
|
4250
|
+
// 蚂蚁数科入驻账号
|
|
4251
|
+
loginTenant: string;
|
|
4252
|
+
// 收款账号
|
|
4253
|
+
payeeBankCard: string;
|
|
4254
|
+
// 收款人
|
|
4255
|
+
payeeName: string;
|
|
4256
|
+
// 门店名称
|
|
4257
|
+
storeName: string;
|
|
4258
|
+
// 销售ID
|
|
4259
|
+
salesman?: string;
|
|
4260
|
+
// 销售设备编号
|
|
4261
|
+
device?: string;
|
|
4262
|
+
static names(): { [key: string]: string } {
|
|
4263
|
+
return {
|
|
4264
|
+
storeId: 'store_id',
|
|
4265
|
+
loginTenant: 'login_tenant',
|
|
4266
|
+
payeeBankCard: 'payee_bank_card',
|
|
4267
|
+
payeeName: 'payee_name',
|
|
4268
|
+
storeName: 'store_name',
|
|
4269
|
+
salesman: 'salesman',
|
|
4270
|
+
device: 'device',
|
|
4271
|
+
};
|
|
4272
|
+
}
|
|
4273
|
+
|
|
4274
|
+
static types(): { [key: string]: any } {
|
|
4275
|
+
return {
|
|
4276
|
+
storeId: 'string',
|
|
4277
|
+
loginTenant: 'string',
|
|
4278
|
+
payeeBankCard: 'string',
|
|
4279
|
+
payeeName: 'string',
|
|
4280
|
+
storeName: 'string',
|
|
4281
|
+
salesman: 'string',
|
|
4282
|
+
device: 'string',
|
|
4283
|
+
};
|
|
4284
|
+
}
|
|
4285
|
+
|
|
4286
|
+
constructor(map?: { [key: string]: any }) {
|
|
4287
|
+
super(map);
|
|
4288
|
+
}
|
|
4289
|
+
}
|
|
4290
|
+
|
|
4062
4291
|
// 批量决策单主体查询结果
|
|
4063
4292
|
export class BatchQueryResult extends $tea.Model {
|
|
4064
4293
|
// 查询主体
|
|
@@ -4567,6 +4796,87 @@ export class CustomRelationStatus extends $tea.Model {
|
|
|
4567
4796
|
}
|
|
4568
4797
|
}
|
|
4569
4798
|
|
|
4799
|
+
// 订单车辆信息
|
|
4800
|
+
export class VehicleInfo extends $tea.Model {
|
|
4801
|
+
// 流量方购物订单号
|
|
4802
|
+
bizOrderNo?: string;
|
|
4803
|
+
// 订单[分期]金额,单位:元
|
|
4804
|
+
tradeAmount?: string;
|
|
4805
|
+
// 首付金额,单位:元
|
|
4806
|
+
downPayment?: string;
|
|
4807
|
+
// 新车指导价,单位:元
|
|
4808
|
+
guidePrice?: string;
|
|
4809
|
+
// 售价,单位:元
|
|
4810
|
+
sellingPrice?: string;
|
|
4811
|
+
// 车驾号/SN码,车辆唯一标识
|
|
4812
|
+
sn?: string;
|
|
4813
|
+
// SKU ID
|
|
4814
|
+
sku?: string;
|
|
4815
|
+
// 品牌
|
|
4816
|
+
brand?: string;
|
|
4817
|
+
// 车型
|
|
4818
|
+
model?: string;
|
|
4819
|
+
// 年款,yyyy
|
|
4820
|
+
modelYear?: string;
|
|
4821
|
+
// 颜色
|
|
4822
|
+
color?: string;
|
|
4823
|
+
// 续航里程
|
|
4824
|
+
range?: string;
|
|
4825
|
+
// 配件信息
|
|
4826
|
+
parts?: string;
|
|
4827
|
+
// 公里数,Odometer
|
|
4828
|
+
odo?: string;
|
|
4829
|
+
// 首次上牌时间
|
|
4830
|
+
firstRegDate?: string;
|
|
4831
|
+
// 过户次数,Ownership Transfer Records
|
|
4832
|
+
otr?: string;
|
|
4833
|
+
static names(): { [key: string]: string } {
|
|
4834
|
+
return {
|
|
4835
|
+
bizOrderNo: 'biz_order_no',
|
|
4836
|
+
tradeAmount: 'trade_amount',
|
|
4837
|
+
downPayment: 'down_payment',
|
|
4838
|
+
guidePrice: 'guide_price',
|
|
4839
|
+
sellingPrice: 'selling_price',
|
|
4840
|
+
sn: 'sn',
|
|
4841
|
+
sku: 'sku',
|
|
4842
|
+
brand: 'brand',
|
|
4843
|
+
model: 'model',
|
|
4844
|
+
modelYear: 'model_year',
|
|
4845
|
+
color: 'color',
|
|
4846
|
+
range: 'range',
|
|
4847
|
+
parts: 'parts',
|
|
4848
|
+
odo: 'odo',
|
|
4849
|
+
firstRegDate: 'first_reg_date',
|
|
4850
|
+
otr: 'otr',
|
|
4851
|
+
};
|
|
4852
|
+
}
|
|
4853
|
+
|
|
4854
|
+
static types(): { [key: string]: any } {
|
|
4855
|
+
return {
|
|
4856
|
+
bizOrderNo: 'string',
|
|
4857
|
+
tradeAmount: 'string',
|
|
4858
|
+
downPayment: 'string',
|
|
4859
|
+
guidePrice: 'string',
|
|
4860
|
+
sellingPrice: 'string',
|
|
4861
|
+
sn: 'string',
|
|
4862
|
+
sku: 'string',
|
|
4863
|
+
brand: 'string',
|
|
4864
|
+
model: 'string',
|
|
4865
|
+
modelYear: 'string',
|
|
4866
|
+
color: 'string',
|
|
4867
|
+
range: 'string',
|
|
4868
|
+
parts: 'string',
|
|
4869
|
+
odo: 'string',
|
|
4870
|
+
firstRegDate: 'string',
|
|
4871
|
+
otr: 'string',
|
|
4872
|
+
};
|
|
4873
|
+
}
|
|
4874
|
+
|
|
4875
|
+
constructor(map?: { [key: string]: any }) {
|
|
4876
|
+
super(map);
|
|
4877
|
+
}
|
|
4878
|
+
}
|
|
4879
|
+
|
|
4570
4880
|
// 企管盾票税决策服务
|
|
4571
4881
|
export class RdaasTaxDecsionService extends $tea.Model {
|
|
4572
4882
|
// 决策服务id
|
|
@@ -7545,21 +7855,41 @@ export class QueryDubbridgeRouterFundrouterRequest extends $tea.Model {
|
|
|
7545
7855
|
// OAuth模式下的授权token
|
|
7546
7856
|
authToken?: string;
|
|
7547
7857
|
productInstanceId?: string;
|
|
7858
|
+
// 订单号
|
|
7859
|
+
orderNo?: string;
|
|
7548
7860
|
// 1:现金贷(默认)
|
|
7549
7861
|
// 2:分期付
|
|
7550
7862
|
prodType?: string;
|
|
7551
|
-
//
|
|
7552
|
-
|
|
7863
|
+
// 资产方用户唯一标识
|
|
7864
|
+
openId?: string;
|
|
7553
7865
|
// 手机号
|
|
7554
7866
|
mobile?: string;
|
|
7867
|
+
// 资产方购物订单号,如二轮车/摩托车订单号;购物场景时传递
|
|
7868
|
+
bizOrderNo?: string;
|
|
7869
|
+
// 身份证号
|
|
7870
|
+
cardNo?: string;
|
|
7555
7871
|
// 姓名
|
|
7556
7872
|
customName?: string;
|
|
7557
|
-
//
|
|
7558
|
-
|
|
7873
|
+
// 默认:0
|
|
7874
|
+
// 0:明文
|
|
7875
|
+
// 1:md5
|
|
7876
|
+
mobileType?: string;
|
|
7877
|
+
// 默认:0
|
|
7878
|
+
// 0:明文
|
|
7879
|
+
// 1:md5
|
|
7880
|
+
cardNoType?: string;
|
|
7881
|
+
// 默认:0
|
|
7882
|
+
// 0:明文
|
|
7883
|
+
// 1:md5
|
|
7884
|
+
customNameType?: string;
|
|
7559
7885
|
// 渠道类型
|
|
7560
7886
|
channelType?: string;
|
|
7561
7887
|
// 客户类型
|
|
7562
7888
|
customType?: string;
|
|
7889
|
+
// 合作方产品编号
|
|
7890
|
+
prodNo?: string;
|
|
7891
|
+
// 授信过期的资金方编码
|
|
7892
|
+
expiredPlatformNo?: string;
|
|
7563
7893
|
// 导流平台
|
|
7564
7894
|
trafficPlatform?: string;
|
|
7565
7895
|
// 流量名称
|
|
@@ -7570,49 +7900,35 @@ export class QueryDubbridgeRouterFundrouterRequest extends $tea.Model {
|
|
|
7570
7900
|
trafficMktId?: string;
|
|
7571
7901
|
// 预留
|
|
7572
7902
|
clickId?: string;
|
|
7573
|
-
// 订单号
|
|
7574
|
-
orderNo?: string;
|
|
7575
7903
|
// 风险字段
|
|
7576
7904
|
riskData?: string;
|
|
7577
7905
|
// 扩展字段
|
|
7578
7906
|
extInfo?: string;
|
|
7579
|
-
// 默认:0
|
|
7580
|
-
// 0:明文
|
|
7581
|
-
// 1:md5
|
|
7582
|
-
mobileType?: string;
|
|
7583
|
-
// 默认:0
|
|
7584
|
-
// 0:明文
|
|
7585
|
-
// 1:md5
|
|
7586
|
-
cardNoType?: string;
|
|
7587
|
-
// 默认:0
|
|
7588
|
-
// 0:明文
|
|
7589
|
-
// 1:md5
|
|
7590
|
-
customNameType?: string;
|
|
7591
|
-
// 资产方用户唯一标识
|
|
7592
|
-
openId?: string;
|
|
7593
7907
|
static names(): { [key: string]: string } {
|
|
7594
7908
|
return {
|
|
7595
7909
|
authToken: 'auth_token',
|
|
7596
7910
|
productInstanceId: 'product_instance_id',
|
|
7911
|
+
orderNo: 'order_no',
|
|
7597
7912
|
prodType: 'prod_type',
|
|
7598
|
-
|
|
7913
|
+
openId: 'open_id',
|
|
7599
7914
|
mobile: 'mobile',
|
|
7915
|
+
bizOrderNo: 'biz_order_no',
|
|
7916
|
+
cardNo: 'card_no',
|
|
7600
7917
|
customName: 'custom_name',
|
|
7601
|
-
|
|
7918
|
+
mobileType: 'mobile_type',
|
|
7919
|
+
cardNoType: 'card_no_type',
|
|
7920
|
+
customNameType: 'custom_name_type',
|
|
7602
7921
|
channelType: 'channel_type',
|
|
7603
7922
|
customType: 'custom_type',
|
|
7923
|
+
prodNo: 'prod_no',
|
|
7924
|
+
expiredPlatformNo: 'expired_platform_no',
|
|
7604
7925
|
trafficPlatform: 'traffic_platform',
|
|
7605
7926
|
trafficSourceName: 'traffic_source_name',
|
|
7606
7927
|
trafficAdId: 'traffic_ad_id',
|
|
7607
7928
|
trafficMktId: 'traffic_mkt_id',
|
|
7608
7929
|
clickId: 'click_id',
|
|
7609
|
-
orderNo: 'order_no',
|
|
7610
7930
|
riskData: 'risk_data',
|
|
7611
7931
|
extInfo: 'ext_info',
|
|
7612
|
-
mobileType: 'mobile_type',
|
|
7613
|
-
cardNoType: 'card_no_type',
|
|
7614
|
-
customNameType: 'custom_name_type',
|
|
7615
|
-
openId: 'open_id',
|
|
7616
7932
|
};
|
|
7617
7933
|
}
|
|
7618
7934
|
|
|
@@ -7620,25 +7936,27 @@ export class QueryDubbridgeRouterFundrouterRequest extends $tea.Model {
|
|
|
7620
7936
|
return {
|
|
7621
7937
|
authToken: 'string',
|
|
7622
7938
|
productInstanceId: 'string',
|
|
7939
|
+
orderNo: 'string',
|
|
7623
7940
|
prodType: 'string',
|
|
7624
|
-
|
|
7941
|
+
openId: 'string',
|
|
7625
7942
|
mobile: 'string',
|
|
7943
|
+
bizOrderNo: 'string',
|
|
7944
|
+
cardNo: 'string',
|
|
7626
7945
|
customName: 'string',
|
|
7627
|
-
|
|
7946
|
+
mobileType: 'string',
|
|
7947
|
+
cardNoType: 'string',
|
|
7948
|
+
customNameType: 'string',
|
|
7628
7949
|
channelType: 'string',
|
|
7629
7950
|
customType: 'string',
|
|
7951
|
+
prodNo: 'string',
|
|
7952
|
+
expiredPlatformNo: 'string',
|
|
7630
7953
|
trafficPlatform: 'string',
|
|
7631
7954
|
trafficSourceName: 'string',
|
|
7632
7955
|
trafficAdId: 'string',
|
|
7633
7956
|
trafficMktId: 'string',
|
|
7634
7957
|
clickId: 'string',
|
|
7635
|
-
orderNo: 'string',
|
|
7636
7958
|
riskData: 'string',
|
|
7637
7959
|
extInfo: 'string',
|
|
7638
|
-
mobileType: 'string',
|
|
7639
|
-
cardNoType: 'string',
|
|
7640
|
-
customNameType: 'string',
|
|
7641
|
-
openId: 'string',
|
|
7642
7960
|
};
|
|
7643
7961
|
}
|
|
7644
7962
|
|
|
@@ -11431,6 +11749,189 @@ export class CancelDubbridgeInstallmentOrderResponse extends $tea.Model {
|
|
|
11431
11749
|
}
|
|
11432
11750
|
}
|
|
11433
11751
|
|
|
11752
|
+
export class PushDubbridgeInstallmentSupplementRequest extends $tea.Model {
|
|
11753
|
+
// OAuth模式下的授权token
|
|
11754
|
+
authToken?: string;
|
|
11755
|
+
productInstanceId?: string;
|
|
11756
|
+
// 订单号:request请求单号,每次请求唯一,如uuid
|
|
11757
|
+
orderNo: string;
|
|
11758
|
+
// 业务类型:1-现金贷;2-分期付
|
|
11759
|
+
//
|
|
11760
|
+
prodType: string;
|
|
11761
|
+
// 资产方用户唯一标识
|
|
11762
|
+
openId: string;
|
|
11763
|
+
// 资产方购物订单号,如二轮车/摩托车订单号
|
|
11764
|
+
bizOrderNo: string;
|
|
11765
|
+
// 材料场景:2-支用前、3-支用后
|
|
11766
|
+
fileScene: string;
|
|
11767
|
+
// 材料列表
|
|
11768
|
+
fileList?: SupplementFile[];
|
|
11769
|
+
// 门店信息
|
|
11770
|
+
storeInfo?: StoreInfo;
|
|
11771
|
+
// 订单车辆信息
|
|
11772
|
+
vehicleInfo?: VehicleInfo;
|
|
11773
|
+
// 补充信息
|
|
11774
|
+
additional?: Additional;
|
|
11775
|
+
static names(): { [key: string]: string } {
|
|
11776
|
+
return {
|
|
11777
|
+
authToken: 'auth_token',
|
|
11778
|
+
productInstanceId: 'product_instance_id',
|
|
11779
|
+
orderNo: 'order_no',
|
|
11780
|
+
prodType: 'prod_type',
|
|
11781
|
+
openId: 'open_id',
|
|
11782
|
+
bizOrderNo: 'biz_order_no',
|
|
11783
|
+
fileScene: 'file_scene',
|
|
11784
|
+
fileList: 'file_list',
|
|
11785
|
+
storeInfo: 'store_info',
|
|
11786
|
+
vehicleInfo: 'vehicle_info',
|
|
11787
|
+
additional: 'additional',
|
|
11788
|
+
};
|
|
11789
|
+
}
|
|
11790
|
+
|
|
11791
|
+
static types(): { [key: string]: any } {
|
|
11792
|
+
return {
|
|
11793
|
+
authToken: 'string',
|
|
11794
|
+
productInstanceId: 'string',
|
|
11795
|
+
orderNo: 'string',
|
|
11796
|
+
prodType: 'string',
|
|
11797
|
+
openId: 'string',
|
|
11798
|
+
bizOrderNo: 'string',
|
|
11799
|
+
fileScene: 'string',
|
|
11800
|
+
fileList: { 'type': 'array', 'itemType': SupplementFile },
|
|
11801
|
+
storeInfo: StoreInfo,
|
|
11802
|
+
vehicleInfo: VehicleInfo,
|
|
11803
|
+
additional: Additional,
|
|
11804
|
+
};
|
|
11805
|
+
}
|
|
11806
|
+
|
|
11807
|
+
constructor(map?: { [key: string]: any }) {
|
|
11808
|
+
super(map);
|
|
11809
|
+
}
|
|
11810
|
+
}
|
|
11811
|
+
|
|
11812
|
+
export class PushDubbridgeInstallmentSupplementResponse extends $tea.Model {
|
|
11813
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
11814
|
+
reqMsgId?: string;
|
|
11815
|
+
// 结果码,一般OK表示调用成功
|
|
11816
|
+
resultCode?: string;
|
|
11817
|
+
// 异常信息的文本描述
|
|
11818
|
+
resultMsg?: string;
|
|
11819
|
+
static names(): { [key: string]: string } {
|
|
11820
|
+
return {
|
|
11821
|
+
reqMsgId: 'req_msg_id',
|
|
11822
|
+
resultCode: 'result_code',
|
|
11823
|
+
resultMsg: 'result_msg',
|
|
11824
|
+
};
|
|
11825
|
+
}
|
|
11826
|
+
|
|
11827
|
+
static types(): { [key: string]: any } {
|
|
11828
|
+
return {
|
|
11829
|
+
reqMsgId: 'string',
|
|
11830
|
+
resultCode: 'string',
|
|
11831
|
+
resultMsg: 'string',
|
|
11832
|
+
};
|
|
11833
|
+
}
|
|
11834
|
+
|
|
11835
|
+
constructor(map?: { [key: string]: any }) {
|
|
11836
|
+
super(map);
|
|
11837
|
+
}
|
|
11838
|
+
}
|
|
11839
|
+
|
|
11840
|
+
export class QueryDubbridgeInstallmentTrialRequest extends $tea.Model {
|
|
11841
|
+
// OAuth模式下的授权token
|
|
11842
|
+
authToken?: string;
|
|
11843
|
+
productInstanceId?: string;
|
|
11844
|
+
// 订单号
|
|
11845
|
+
orderNo: string;
|
|
11846
|
+
// 业务类型,1:现金贷;2:分期付
|
|
11847
|
+
prodType: string;
|
|
11848
|
+
// 资产方购物订单号
|
|
11849
|
+
bizOrderNo: string;
|
|
11850
|
+
// 天枢客户号
|
|
11851
|
+
customerNo?: string;
|
|
11852
|
+
// 资产方用户唯一标识
|
|
11853
|
+
openId: string;
|
|
11854
|
+
// 资金方编码
|
|
11855
|
+
fundCode: string;
|
|
11856
|
+
// 订单交易金额
|
|
11857
|
+
tradeAmount: string;
|
|
11858
|
+
// 优惠券id
|
|
11859
|
+
couponId?: string;
|
|
11860
|
+
static names(): { [key: string]: string } {
|
|
11861
|
+
return {
|
|
11862
|
+
authToken: 'auth_token',
|
|
11863
|
+
productInstanceId: 'product_instance_id',
|
|
11864
|
+
orderNo: 'order_no',
|
|
11865
|
+
prodType: 'prod_type',
|
|
11866
|
+
bizOrderNo: 'biz_order_no',
|
|
11867
|
+
customerNo: 'customer_no',
|
|
11868
|
+
openId: 'open_id',
|
|
11869
|
+
fundCode: 'fund_code',
|
|
11870
|
+
tradeAmount: 'trade_amount',
|
|
11871
|
+
couponId: 'coupon_id',
|
|
11872
|
+
};
|
|
11873
|
+
}
|
|
11874
|
+
|
|
11875
|
+
static types(): { [key: string]: any } {
|
|
11876
|
+
return {
|
|
11877
|
+
authToken: 'string',
|
|
11878
|
+
productInstanceId: 'string',
|
|
11879
|
+
orderNo: 'string',
|
|
11880
|
+
prodType: 'string',
|
|
11881
|
+
bizOrderNo: 'string',
|
|
11882
|
+
customerNo: 'string',
|
|
11883
|
+
openId: 'string',
|
|
11884
|
+
fundCode: 'string',
|
|
11885
|
+
tradeAmount: 'string',
|
|
11886
|
+
couponId: 'string',
|
|
11887
|
+
};
|
|
11888
|
+
}
|
|
11889
|
+
|
|
11890
|
+
constructor(map?: { [key: string]: any }) {
|
|
11891
|
+
super(map);
|
|
11892
|
+
}
|
|
11893
|
+
}
|
|
11894
|
+
|
|
11895
|
+
export class QueryDubbridgeInstallmentTrialResponse extends $tea.Model {
|
|
11896
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
11897
|
+
reqMsgId?: string;
|
|
11898
|
+
// 结果码,一般OK表示调用成功
|
|
11899
|
+
resultCode?: string;
|
|
11900
|
+
// 异常信息的文本描述
|
|
11901
|
+
resultMsg?: string;
|
|
11902
|
+
// 授信额度
|
|
11903
|
+
creditAmount?: string;
|
|
11904
|
+
// 可用额度
|
|
11905
|
+
restAmount?: string;
|
|
11906
|
+
// 期数费用列表
|
|
11907
|
+
installmentList?: InstallmentTrial[];
|
|
11908
|
+
static names(): { [key: string]: string } {
|
|
11909
|
+
return {
|
|
11910
|
+
reqMsgId: 'req_msg_id',
|
|
11911
|
+
resultCode: 'result_code',
|
|
11912
|
+
resultMsg: 'result_msg',
|
|
11913
|
+
creditAmount: 'credit_amount',
|
|
11914
|
+
restAmount: 'rest_amount',
|
|
11915
|
+
installmentList: 'installment_list',
|
|
11916
|
+
};
|
|
11917
|
+
}
|
|
11918
|
+
|
|
11919
|
+
static types(): { [key: string]: any } {
|
|
11920
|
+
return {
|
|
11921
|
+
reqMsgId: 'string',
|
|
11922
|
+
resultCode: 'string',
|
|
11923
|
+
resultMsg: 'string',
|
|
11924
|
+
creditAmount: 'string',
|
|
11925
|
+
restAmount: 'string',
|
|
11926
|
+
installmentList: { 'type': 'array', 'itemType': InstallmentTrial },
|
|
11927
|
+
};
|
|
11928
|
+
}
|
|
11929
|
+
|
|
11930
|
+
constructor(map?: { [key: string]: any }) {
|
|
11931
|
+
super(map);
|
|
11932
|
+
}
|
|
11933
|
+
}
|
|
11934
|
+
|
|
11434
11935
|
export class VerifyFinserviceZhimaIdentifyRequest extends $tea.Model {
|
|
11435
11936
|
// OAuth模式下的授权token
|
|
11436
11937
|
authToken?: string;
|
|
@@ -14471,6 +14972,79 @@ export class ReceiveRfcParamsFileResponse extends $tea.Model {
|
|
|
14471
14972
|
}
|
|
14472
14973
|
}
|
|
14473
14974
|
|
|
14975
|
+
export class UploadRfcAiboundFileRequest extends $tea.Model {
|
|
14976
|
+
// OAuth模式下的授权token
|
|
14977
|
+
authToken?: string;
|
|
14978
|
+
productInstanceId?: string;
|
|
14979
|
+
// 文件ID
|
|
14980
|
+
fileObject?: Readable;
|
|
14981
|
+
fileObjectName?: string;
|
|
14982
|
+
fileId: string;
|
|
14983
|
+
// 参数,jsonString
|
|
14984
|
+
params: string;
|
|
14985
|
+
// 外呼为 AI_BOUND
|
|
14986
|
+
type: string;
|
|
14987
|
+
static names(): { [key: string]: string } {
|
|
14988
|
+
return {
|
|
14989
|
+
authToken: 'auth_token',
|
|
14990
|
+
productInstanceId: 'product_instance_id',
|
|
14991
|
+
fileObject: 'fileObject',
|
|
14992
|
+
fileObjectName: 'fileObjectName',
|
|
14993
|
+
fileId: 'file_id',
|
|
14994
|
+
params: 'params',
|
|
14995
|
+
type: 'type',
|
|
14996
|
+
};
|
|
14997
|
+
}
|
|
14998
|
+
|
|
14999
|
+
static types(): { [key: string]: any } {
|
|
15000
|
+
return {
|
|
15001
|
+
authToken: 'string',
|
|
15002
|
+
productInstanceId: 'string',
|
|
15003
|
+
fileObject: 'Readable',
|
|
15004
|
+
fileObjectName: 'string',
|
|
15005
|
+
fileId: 'string',
|
|
15006
|
+
params: 'string',
|
|
15007
|
+
type: 'string',
|
|
15008
|
+
};
|
|
15009
|
+
}
|
|
15010
|
+
|
|
15011
|
+
constructor(map?: { [key: string]: any }) {
|
|
15012
|
+
super(map);
|
|
15013
|
+
}
|
|
15014
|
+
}
|
|
15015
|
+
|
|
15016
|
+
export class UploadRfcAiboundFileResponse extends $tea.Model {
|
|
15017
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
15018
|
+
reqMsgId?: string;
|
|
15019
|
+
// 结果码,一般OK表示调用成功
|
|
15020
|
+
resultCode?: string;
|
|
15021
|
+
// 异常信息的文本描述
|
|
15022
|
+
resultMsg?: string;
|
|
15023
|
+
// 文件上传响应参数
|
|
15024
|
+
content?: string;
|
|
15025
|
+
static names(): { [key: string]: string } {
|
|
15026
|
+
return {
|
|
15027
|
+
reqMsgId: 'req_msg_id',
|
|
15028
|
+
resultCode: 'result_code',
|
|
15029
|
+
resultMsg: 'result_msg',
|
|
15030
|
+
content: 'content',
|
|
15031
|
+
};
|
|
15032
|
+
}
|
|
15033
|
+
|
|
15034
|
+
static types(): { [key: string]: any } {
|
|
15035
|
+
return {
|
|
15036
|
+
reqMsgId: 'string',
|
|
15037
|
+
resultCode: 'string',
|
|
15038
|
+
resultMsg: 'string',
|
|
15039
|
+
content: 'string',
|
|
15040
|
+
};
|
|
15041
|
+
}
|
|
15042
|
+
|
|
15043
|
+
constructor(map?: { [key: string]: any }) {
|
|
15044
|
+
super(map);
|
|
15045
|
+
}
|
|
15046
|
+
}
|
|
15047
|
+
|
|
14474
15048
|
export class QueryRbbGenericInvokeRequest extends $tea.Model {
|
|
14475
15049
|
// OAuth模式下的授权token
|
|
14476
15050
|
authToken?: string;
|
|
@@ -22548,7 +23122,7 @@ export default class Client {
|
|
|
22548
23122
|
req_msg_id: AntchainUtil.getNonce(),
|
|
22549
23123
|
access_key: this._accessKeyId,
|
|
22550
23124
|
base_sdk_version: "TeaSDK-2.0",
|
|
22551
|
-
sdk_version: "1.
|
|
23125
|
+
sdk_version: "1.24.0",
|
|
22552
23126
|
_prod_code: "RISKPLUS",
|
|
22553
23127
|
_prod_channel: "undefined",
|
|
22554
23128
|
};
|
|
@@ -24043,6 +24617,44 @@ export default class Client {
|
|
|
24043
24617
|
return $tea.cast<CancelDubbridgeInstallmentOrderResponse>(await this.doRequest("1.0", "riskplus.dubbridge.installment.order.cancel", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CancelDubbridgeInstallmentOrderResponse({}));
|
|
24044
24618
|
}
|
|
24045
24619
|
|
|
24620
|
+
/**
|
|
24621
|
+
* Description: 天枢系统支用后补充材料推送-分期付
|
|
24622
|
+
* Summary: 天枢系统支用后补充材料推送-分期付
|
|
24623
|
+
*/
|
|
24624
|
+
async pushDubbridgeInstallmentSupplement(request: PushDubbridgeInstallmentSupplementRequest): Promise<PushDubbridgeInstallmentSupplementResponse> {
|
|
24625
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
24626
|
+
let headers : {[key: string ]: string} = { };
|
|
24627
|
+
return await this.pushDubbridgeInstallmentSupplementEx(request, headers, runtime);
|
|
24628
|
+
}
|
|
24629
|
+
|
|
24630
|
+
/**
|
|
24631
|
+
* Description: 天枢系统支用后补充材料推送-分期付
|
|
24632
|
+
* Summary: 天枢系统支用后补充材料推送-分期付
|
|
24633
|
+
*/
|
|
24634
|
+
async pushDubbridgeInstallmentSupplementEx(request: PushDubbridgeInstallmentSupplementRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PushDubbridgeInstallmentSupplementResponse> {
|
|
24635
|
+
Util.validateModel(request);
|
|
24636
|
+
return $tea.cast<PushDubbridgeInstallmentSupplementResponse>(await this.doRequest("1.0", "riskplus.dubbridge.installment.supplement.push", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new PushDubbridgeInstallmentSupplementResponse({}));
|
|
24637
|
+
}
|
|
24638
|
+
|
|
24639
|
+
/**
|
|
24640
|
+
* Description: 天枢系统分期试算
|
|
24641
|
+
* Summary: 天枢系统分期试算
|
|
24642
|
+
*/
|
|
24643
|
+
async queryDubbridgeInstallmentTrial(request: QueryDubbridgeInstallmentTrialRequest): Promise<QueryDubbridgeInstallmentTrialResponse> {
|
|
24644
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
24645
|
+
let headers : {[key: string ]: string} = { };
|
|
24646
|
+
return await this.queryDubbridgeInstallmentTrialEx(request, headers, runtime);
|
|
24647
|
+
}
|
|
24648
|
+
|
|
24649
|
+
/**
|
|
24650
|
+
* Description: 天枢系统分期试算
|
|
24651
|
+
* Summary: 天枢系统分期试算
|
|
24652
|
+
*/
|
|
24653
|
+
async queryDubbridgeInstallmentTrialEx(request: QueryDubbridgeInstallmentTrialRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryDubbridgeInstallmentTrialResponse> {
|
|
24654
|
+
Util.validateModel(request);
|
|
24655
|
+
return $tea.cast<QueryDubbridgeInstallmentTrialResponse>(await this.doRequest("1.0", "riskplus.dubbridge.installment.trial.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDubbridgeInstallmentTrialResponse({}));
|
|
24656
|
+
}
|
|
24657
|
+
|
|
24046
24658
|
/**
|
|
24047
24659
|
* Description: 四要素认证首先调用此接口
|
|
24048
24660
|
* Summary: 芝麻四要素接口
|
|
@@ -24831,6 +25443,47 @@ export default class Client {
|
|
|
24831
25443
|
return $tea.cast<ReceiveRfcParamsFileResponse>(await this.doRequest("1.0", "riskplus.rfc.params.file.receive", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ReceiveRfcParamsFileResponse({}));
|
|
24832
25444
|
}
|
|
24833
25445
|
|
|
25446
|
+
/**
|
|
25447
|
+
* Description: rfc外呼名单文件上传接口
|
|
25448
|
+
* Summary: rfc外呼名单上传接口
|
|
25449
|
+
*/
|
|
25450
|
+
async uploadRfcAiboundFile(request: UploadRfcAiboundFileRequest): Promise<UploadRfcAiboundFileResponse> {
|
|
25451
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
25452
|
+
let headers : {[key: string ]: string} = { };
|
|
25453
|
+
return await this.uploadRfcAiboundFileEx(request, headers, runtime);
|
|
25454
|
+
}
|
|
25455
|
+
|
|
25456
|
+
/**
|
|
25457
|
+
* Description: rfc外呼名单文件上传接口
|
|
25458
|
+
* Summary: rfc外呼名单上传接口
|
|
25459
|
+
*/
|
|
25460
|
+
async uploadRfcAiboundFileEx(request: UploadRfcAiboundFileRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UploadRfcAiboundFileResponse> {
|
|
25461
|
+
if (!Util.isUnset(request.fileObject)) {
|
|
25462
|
+
let uploadReq = new CreateAntcloudGatewayxFileUploadRequest({
|
|
25463
|
+
authToken: request.authToken,
|
|
25464
|
+
apiCode: "riskplus.rfc.aibound.file.upload",
|
|
25465
|
+
fileName: request.fileObjectName,
|
|
25466
|
+
});
|
|
25467
|
+
let uploadResp = await this.createAntcloudGatewayxFileUploadEx(uploadReq, headers, runtime);
|
|
25468
|
+
if (!AntchainUtil.isSuccess(uploadResp.resultCode, "ok")) {
|
|
25469
|
+
let uploadRfcAiboundFileResponse = new UploadRfcAiboundFileResponse({
|
|
25470
|
+
reqMsgId: uploadResp.reqMsgId,
|
|
25471
|
+
resultCode: uploadResp.resultCode,
|
|
25472
|
+
resultMsg: uploadResp.resultMsg,
|
|
25473
|
+
});
|
|
25474
|
+
return uploadRfcAiboundFileResponse;
|
|
25475
|
+
}
|
|
25476
|
+
|
|
25477
|
+
let uploadHeaders = AntchainUtil.parseUploadHeaders(uploadResp.uploadHeaders);
|
|
25478
|
+
await AntchainUtil.putObject(request.fileObject, uploadHeaders, uploadResp.uploadUrl);
|
|
25479
|
+
request.fileId = uploadResp.fileId;
|
|
25480
|
+
request.fileObject = null;
|
|
25481
|
+
}
|
|
25482
|
+
|
|
25483
|
+
Util.validateModel(request);
|
|
25484
|
+
return $tea.cast<UploadRfcAiboundFileResponse>(await this.doRequest("1.0", "riskplus.rfc.aibound.file.upload", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new UploadRfcAiboundFileResponse({}));
|
|
25485
|
+
}
|
|
25486
|
+
|
|
24834
25487
|
/**
|
|
24835
25488
|
* Description: 风险大脑企业版通用查询接口
|
|
24836
25489
|
* Summary: 【已废弃】
|