@antchain/riskplus 1.13.3 → 1.13.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antchain/riskplus",
3
- "version": "1.13.3",
3
+ "version": "1.13.7",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -919,6 +919,18 @@ export class RepayResult extends $tea.Model {
919
919
  settleDate: string;
920
920
  // 还款日期
921
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;
922
934
  static names(): { [key: string]: string } {
923
935
  return {
924
936
  customNo: 'custom_no',
@@ -944,6 +956,12 @@ export class RepayResult extends $tea.Model {
944
956
  status: 'status',
945
957
  settleDate: 'settle_date',
946
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',
947
965
  };
948
966
  }
949
967
 
@@ -972,6 +990,12 @@ export class RepayResult extends $tea.Model {
972
990
  status: 'string',
973
991
  settleDate: 'string',
974
992
  tradeDate: 'string',
993
+ alreadyGuaranteeFee: 'number',
994
+ alreadyLiquidatedDamages: 'number',
995
+ restGuaranteeFee: 'number',
996
+ restLiquidatedDamages: 'number',
997
+ needGuaranteeFee: 'number',
998
+ needLiquidatedDamages: 'number',
975
999
  };
976
1000
  }
977
1001
 
@@ -1085,20 +1109,16 @@ export class UpdateCustomerRelationResponseData extends $tea.Model {
1085
1109
 
1086
1110
  // 回流事件记录
1087
1111
  export class BackflowEventRecord extends $tea.Model {
1088
- // 回流事件记录分组,ACTION-触达属性组/SERVICE-业务属性组/CONVERSION-转化属性组
1089
- groupCode: string;
1090
1112
  // 回流事件部分分组后的记录list
1091
1113
  properties: BackflowEventRecordProperty[];
1092
1114
  static names(): { [key: string]: string } {
1093
1115
  return {
1094
- groupCode: 'group_code',
1095
1116
  properties: 'properties',
1096
1117
  };
1097
1118
  }
1098
1119
 
1099
1120
  static types(): { [key: string]: any } {
1100
1121
  return {
1101
- groupCode: 'string',
1102
1122
  properties: { 'type': 'array', 'itemType': BackflowEventRecordProperty },
1103
1123
  };
1104
1124
  }
@@ -7127,6 +7147,10 @@ export class QueryDubbridgeRepayInfoResponse extends $tea.Model {
7127
7147
  failReason?: string;
7128
7148
  // 授信申请编号
7129
7149
  applyNo?: string;
7150
+ // 担保费
7151
+ guaranteeFee?: number;
7152
+ // 违约金
7153
+ liquidatedDamages?: number;
7130
7154
  static names(): { [key: string]: string } {
7131
7155
  return {
7132
7156
  reqMsgId: 'req_msg_id',
@@ -7153,6 +7177,8 @@ export class QueryDubbridgeRepayInfoResponse extends $tea.Model {
7153
7177
  repayStatus: 'repay_status',
7154
7178
  failReason: 'fail_reason',
7155
7179
  applyNo: 'apply_no',
7180
+ guaranteeFee: 'guarantee_fee',
7181
+ liquidatedDamages: 'liquidated_damages',
7156
7182
  };
7157
7183
  }
7158
7184
 
@@ -7182,6 +7208,8 @@ export class QueryDubbridgeRepayInfoResponse extends $tea.Model {
7182
7208
  repayStatus: 'string',
7183
7209
  failReason: 'string',
7184
7210
  applyNo: 'string',
7211
+ guaranteeFee: 'number',
7212
+ liquidatedDamages: 'number',
7185
7213
  };
7186
7214
  }
7187
7215
 
@@ -7382,6 +7410,10 @@ export class CountDubbridgeRepayTrialResponse extends $tea.Model {
7382
7410
  realOverAmt?: number;
7383
7411
  // 服务费
7384
7412
  serviceCharge?: number;
7413
+ // 担保费
7414
+ realGuaranteeFee?: number;
7415
+ // 违约金
7416
+ realLiquidatedDamages?: number;
7385
7417
  static names(): { [key: string]: string } {
7386
7418
  return {
7387
7419
  reqMsgId: 'req_msg_id',
@@ -7391,6 +7423,8 @@ export class CountDubbridgeRepayTrialResponse extends $tea.Model {
7391
7423
  realInterest: 'real_interest',
7392
7424
  realOverAmt: 'real_over_amt',
7393
7425
  serviceCharge: 'service_charge',
7426
+ realGuaranteeFee: 'real_guarantee_fee',
7427
+ realLiquidatedDamages: 'real_liquidated_damages',
7394
7428
  };
7395
7429
  }
7396
7430
 
@@ -7403,6 +7437,8 @@ export class CountDubbridgeRepayTrialResponse extends $tea.Model {
7403
7437
  realInterest: 'number',
7404
7438
  realOverAmt: 'number',
7405
7439
  serviceCharge: 'number',
7440
+ realGuaranteeFee: 'number',
7441
+ realLiquidatedDamages: 'number',
7406
7442
  };
7407
7443
  }
7408
7444
 
@@ -7579,6 +7615,8 @@ export class ApplyDubbridgeUsecreditRequest extends $tea.Model {
7579
7615
  repayType: string;
7580
7616
  // 1:手机数码 2:旅游 3:装修 4:教育 5:婚庆 6:租房 7:家具家居 8:健康医疗 9:其他消费 10:家用电器
7581
7617
  loanWay: string;
7618
+ // 还款日
7619
+ repayDate: string;
7582
7620
  static names(): { [key: string]: string } {
7583
7621
  return {
7584
7622
  authToken: 'auth_token',
@@ -7590,6 +7628,7 @@ export class ApplyDubbridgeUsecreditRequest extends $tea.Model {
7590
7628
  orderNo: 'order_no',
7591
7629
  repayType: 'repay_type',
7592
7630
  loanWay: 'loan_way',
7631
+ repayDate: 'repay_date',
7593
7632
  };
7594
7633
  }
7595
7634
 
@@ -7604,6 +7643,7 @@ export class ApplyDubbridgeUsecreditRequest extends $tea.Model {
7604
7643
  orderNo: 'string',
7605
7644
  repayType: 'string',
7606
7645
  loanWay: 'string',
7646
+ repayDate: 'string',
7607
7647
  };
7608
7648
  }
7609
7649
 
@@ -7686,6 +7726,10 @@ export class QueryDubbridgeUsecreditStatusResponse extends $tea.Model {
7686
7726
  receiptInfo?: ReceiptInfo;
7687
7727
  // 还款计划列表
7688
7728
  repayRef?: RepayRef[];
7729
+ // 用信合同编号
7730
+ disburseContractNo?: string;
7731
+ // 授信合同编号
7732
+ creditContractNo?: string;
7689
7733
  static names(): { [key: string]: string } {
7690
7734
  return {
7691
7735
  reqMsgId: 'req_msg_id',
@@ -7695,6 +7739,8 @@ export class QueryDubbridgeUsecreditStatusResponse extends $tea.Model {
7695
7739
  msg: 'msg',
7696
7740
  receiptInfo: 'receipt_info',
7697
7741
  repayRef: 'repay_ref',
7742
+ disburseContractNo: 'disburse_contract_no',
7743
+ creditContractNo: 'credit_contract_no',
7698
7744
  };
7699
7745
  }
7700
7746
 
@@ -7707,6 +7753,8 @@ export class QueryDubbridgeUsecreditStatusResponse extends $tea.Model {
7707
7753
  msg: 'string',
7708
7754
  receiptInfo: ReceiptInfo,
7709
7755
  repayRef: { 'type': 'array', 'itemType': RepayRef },
7756
+ disburseContractNo: 'string',
7757
+ creditContractNo: 'string',
7710
7758
  };
7711
7759
  }
7712
7760
 
@@ -8143,6 +8191,8 @@ export class NotifyDubbridgeCallbackRequest extends $tea.Model {
8143
8191
  bizParam: string;
8144
8192
  // 回调类型(1授信回调2用信回调)
8145
8193
  bizType: string;
8194
+ // 对应授信/用信传给三方留存单号
8195
+ seqNo: string;
8146
8196
  static names(): { [key: string]: string } {
8147
8197
  return {
8148
8198
  authToken: 'auth_token',
@@ -8150,6 +8200,7 @@ export class NotifyDubbridgeCallbackRequest extends $tea.Model {
8150
8200
  channelCode: 'channel_code',
8151
8201
  bizParam: 'biz_param',
8152
8202
  bizType: 'biz_type',
8203
+ seqNo: 'seq_no',
8153
8204
  };
8154
8205
  }
8155
8206
 
@@ -8160,6 +8211,7 @@ export class NotifyDubbridgeCallbackRequest extends $tea.Model {
8160
8211
  channelCode: 'string',
8161
8212
  bizParam: 'string',
8162
8213
  bizType: 'string',
8214
+ seqNo: 'string',
8163
8215
  };
8164
8216
  }
8165
8217
 
@@ -13147,6 +13199,16 @@ export class SendUmktCardsmsBatchRequest extends $tea.Model {
13147
13199
  signNameJson: string;
13148
13200
  // 上行短信扩展码
13149
13201
  smsUpExtendCodeJson?: string;
13202
+ // 回落类型
13203
+ fallbackType?: string;
13204
+ // 回落短信模版
13205
+ fallbackTemplateCode?: string;
13206
+ // 回落短信模版参数
13207
+ fallbackTemplateParamJson?: string;
13208
+ // 卡片短信对应的原始文本短信模板,不传则用默认文本
13209
+ templateCode?: string;
13210
+ // 默认文本对应参数
13211
+ templateParamJson?: string;
13150
13212
  static names(): { [key: string]: string } {
13151
13213
  return {
13152
13214
  authToken: 'auth_token',
@@ -13158,6 +13220,11 @@ export class SendUmktCardsmsBatchRequest extends $tea.Model {
13158
13220
  phoneNumberJson: 'phone_number_json',
13159
13221
  signNameJson: 'sign_name_json',
13160
13222
  smsUpExtendCodeJson: 'sms_up_extend_code_json',
13223
+ fallbackType: 'fallback_type',
13224
+ fallbackTemplateCode: 'fallback_template_code',
13225
+ fallbackTemplateParamJson: 'fallback_template_param_json',
13226
+ templateCode: 'template_code',
13227
+ templateParamJson: 'template_param_json',
13161
13228
  };
13162
13229
  }
13163
13230
 
@@ -13172,6 +13239,11 @@ export class SendUmktCardsmsBatchRequest extends $tea.Model {
13172
13239
  phoneNumberJson: 'string',
13173
13240
  signNameJson: 'string',
13174
13241
  smsUpExtendCodeJson: 'string',
13242
+ fallbackType: 'string',
13243
+ fallbackTemplateCode: 'string',
13244
+ fallbackTemplateParamJson: 'string',
13245
+ templateCode: 'string',
13246
+ templateParamJson: 'string',
13175
13247
  };
13176
13248
  }
13177
13249
 
@@ -13193,6 +13265,10 @@ export class SendUmktCardsmsBatchResponse extends $tea.Model {
13193
13265
  mediaMobiles?: string;
13194
13266
  // 不支持的手机号
13195
13267
  notMediaMobiles?: string;
13268
+ // 回落文本短信回执id
13269
+ bizId?: string;
13270
+ // 回落数字短信回执id
13271
+ bizDigitalId?: string;
13196
13272
  static names(): { [key: string]: string } {
13197
13273
  return {
13198
13274
  reqMsgId: 'req_msg_id',
@@ -13201,6 +13277,8 @@ export class SendUmktCardsmsBatchResponse extends $tea.Model {
13201
13277
  bizCardId: 'biz_card_id',
13202
13278
  mediaMobiles: 'media_mobiles',
13203
13279
  notMediaMobiles: 'not_media_mobiles',
13280
+ bizId: 'biz_id',
13281
+ bizDigitalId: 'biz_digital_id',
13204
13282
  };
13205
13283
  }
13206
13284
 
@@ -13212,6 +13290,8 @@ export class SendUmktCardsmsBatchResponse extends $tea.Model {
13212
13290
  bizCardId: 'string',
13213
13291
  mediaMobiles: 'string',
13214
13292
  notMediaMobiles: 'string',
13293
+ bizId: 'string',
13294
+ bizDigitalId: 'string',
13215
13295
  };
13216
13296
  }
13217
13297
 
@@ -13291,6 +13371,172 @@ export class QueryUmktCardsmsSupportResponse extends $tea.Model {
13291
13371
  }
13292
13372
  }
13293
13373
 
13374
+ export class SendUmktTextsmsBatchRequest extends $tea.Model {
13375
+ // OAuth模式下的授权token
13376
+ authToken?: string;
13377
+ productInstanceId?: string;
13378
+ // cpassAccessKey
13379
+ cpassAk?: string;
13380
+ // 行业标签
13381
+ industryTag: string;
13382
+ // 手机号json
13383
+ phoneNumberJson: string;
13384
+ // 签名信息
13385
+ signNameJson: string;
13386
+ // 文本短信模板code
13387
+ templateCode: string;
13388
+ // 文本短信模板参数
13389
+ templateParamJson: string;
13390
+ // 上行短信扩展码
13391
+ smsUpExtendCodeJson?: string;
13392
+ // 透传字段
13393
+ outId?: string;
13394
+ static names(): { [key: string]: string } {
13395
+ return {
13396
+ authToken: 'auth_token',
13397
+ productInstanceId: 'product_instance_id',
13398
+ cpassAk: 'cpass_ak',
13399
+ industryTag: 'industry_tag',
13400
+ phoneNumberJson: 'phone_number_json',
13401
+ signNameJson: 'sign_name_json',
13402
+ templateCode: 'template_code',
13403
+ templateParamJson: 'template_param_json',
13404
+ smsUpExtendCodeJson: 'sms_up_extend_code_json',
13405
+ outId: 'out_id',
13406
+ };
13407
+ }
13408
+
13409
+ static types(): { [key: string]: any } {
13410
+ return {
13411
+ authToken: 'string',
13412
+ productInstanceId: 'string',
13413
+ cpassAk: 'string',
13414
+ industryTag: 'string',
13415
+ phoneNumberJson: 'string',
13416
+ signNameJson: 'string',
13417
+ templateCode: 'string',
13418
+ templateParamJson: 'string',
13419
+ smsUpExtendCodeJson: 'string',
13420
+ outId: 'string',
13421
+ };
13422
+ }
13423
+
13424
+ constructor(map?: { [key: string]: any }) {
13425
+ super(map);
13426
+ }
13427
+ }
13428
+
13429
+ export class SendUmktTextsmsBatchResponse extends $tea.Model {
13430
+ // 请求唯一ID,用于链路跟踪和问题排查
13431
+ reqMsgId?: string;
13432
+ // 结果码,一般OK表示调用成功
13433
+ resultCode?: string;
13434
+ // 异常信息的文本描述
13435
+ resultMsg?: string;
13436
+ // 回执id
13437
+ bizId?: string;
13438
+ static names(): { [key: string]: string } {
13439
+ return {
13440
+ reqMsgId: 'req_msg_id',
13441
+ resultCode: 'result_code',
13442
+ resultMsg: 'result_msg',
13443
+ bizId: 'biz_id',
13444
+ };
13445
+ }
13446
+
13447
+ static types(): { [key: string]: any } {
13448
+ return {
13449
+ reqMsgId: 'string',
13450
+ resultCode: 'string',
13451
+ resultMsg: 'string',
13452
+ bizId: 'string',
13453
+ };
13454
+ }
13455
+
13456
+ constructor(map?: { [key: string]: any }) {
13457
+ super(map);
13458
+ }
13459
+ }
13460
+
13461
+ export class SendUmktDigitalsmsBatchRequest extends $tea.Model {
13462
+ // OAuth模式下的授权token
13463
+ authToken?: string;
13464
+ productInstanceId?: string;
13465
+ // cpassAccessKey
13466
+ cpassAk?: string;
13467
+ // 行业标签
13468
+ industryTag: string;
13469
+ // 手机号列表以,分隔
13470
+ phoneNumbers: string;
13471
+ // 数字短信模板code
13472
+ templateCode: string;
13473
+ // 短信模板参数
13474
+ templateParam: string;
13475
+ // 透传字段
13476
+ outId?: string;
13477
+ static names(): { [key: string]: string } {
13478
+ return {
13479
+ authToken: 'auth_token',
13480
+ productInstanceId: 'product_instance_id',
13481
+ cpassAk: 'cpass_ak',
13482
+ industryTag: 'industry_tag',
13483
+ phoneNumbers: 'phone_numbers',
13484
+ templateCode: 'template_code',
13485
+ templateParam: 'template_param',
13486
+ outId: 'out_id',
13487
+ };
13488
+ }
13489
+
13490
+ static types(): { [key: string]: any } {
13491
+ return {
13492
+ authToken: 'string',
13493
+ productInstanceId: 'string',
13494
+ cpassAk: 'string',
13495
+ industryTag: 'string',
13496
+ phoneNumbers: 'string',
13497
+ templateCode: 'string',
13498
+ templateParam: 'string',
13499
+ outId: 'string',
13500
+ };
13501
+ }
13502
+
13503
+ constructor(map?: { [key: string]: any }) {
13504
+ super(map);
13505
+ }
13506
+ }
13507
+
13508
+ export class SendUmktDigitalsmsBatchResponse extends $tea.Model {
13509
+ // 请求唯一ID,用于链路跟踪和问题排查
13510
+ reqMsgId?: string;
13511
+ // 结果码,一般OK表示调用成功
13512
+ resultCode?: string;
13513
+ // 异常信息的文本描述
13514
+ resultMsg?: string;
13515
+ // 回执id
13516
+ bizId?: string;
13517
+ static names(): { [key: string]: string } {
13518
+ return {
13519
+ reqMsgId: 'req_msg_id',
13520
+ resultCode: 'result_code',
13521
+ resultMsg: 'result_msg',
13522
+ bizId: 'biz_id',
13523
+ };
13524
+ }
13525
+
13526
+ static types(): { [key: string]: any } {
13527
+ return {
13528
+ reqMsgId: 'string',
13529
+ resultCode: 'string',
13530
+ resultMsg: 'string',
13531
+ bizId: 'string',
13532
+ };
13533
+ }
13534
+
13535
+ constructor(map?: { [key: string]: any }) {
13536
+ super(map);
13537
+ }
13538
+ }
13539
+
13294
13540
  export class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
13295
13541
  // OAuth模式下的授权token
13296
13542
  authToken?: string;
@@ -13492,9 +13738,7 @@ export default class Client {
13492
13738
  req_msg_id: AntchainUtil.getNonce(),
13493
13739
  access_key: this._accessKeyId,
13494
13740
  base_sdk_version: "TeaSDK-2.0",
13495
- sdk_version: "1.13.3",
13496
- _prod_code: "RISKPLUS",
13497
- _prod_channel: "undefined",
13741
+ sdk_version: "1.13.7",
13498
13742
  };
13499
13743
  if (!Util.empty(this._securityToken)) {
13500
13744
  request_.query["security_token"] = this._securityToken;
@@ -16018,6 +16262,44 @@ export default class Client {
16018
16262
  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({}));
16019
16263
  }
16020
16264
 
16265
+ /**
16266
+ * Description: 文本短信批量发送接口
16267
+ * Summary: 文本短信批量发送接口
16268
+ */
16269
+ async sendUmktTextsmsBatch(request: SendUmktTextsmsBatchRequest): Promise<SendUmktTextsmsBatchResponse> {
16270
+ let runtime = new $Util.RuntimeOptions({ });
16271
+ let headers : {[key: string ]: string} = { };
16272
+ return await this.sendUmktTextsmsBatchEx(request, headers, runtime);
16273
+ }
16274
+
16275
+ /**
16276
+ * Description: 文本短信批量发送接口
16277
+ * Summary: 文本短信批量发送接口
16278
+ */
16279
+ async sendUmktTextsmsBatchEx(request: SendUmktTextsmsBatchRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<SendUmktTextsmsBatchResponse> {
16280
+ Util.validateModel(request);
16281
+ return $tea.cast<SendUmktTextsmsBatchResponse>(await this.doRequest("1.0", "riskplus.umkt.textsms.batch.send", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new SendUmktTextsmsBatchResponse({}));
16282
+ }
16283
+
16284
+ /**
16285
+ * Description: 数字短信批量发送接口(单模板)
16286
+ * Summary: 数字短信批量发送接口(单模板)
16287
+ */
16288
+ async sendUmktDigitalsmsBatch(request: SendUmktDigitalsmsBatchRequest): Promise<SendUmktDigitalsmsBatchResponse> {
16289
+ let runtime = new $Util.RuntimeOptions({ });
16290
+ let headers : {[key: string ]: string} = { };
16291
+ return await this.sendUmktDigitalsmsBatchEx(request, headers, runtime);
16292
+ }
16293
+
16294
+ /**
16295
+ * Description: 数字短信批量发送接口(单模板)
16296
+ * Summary: 数字短信批量发送接口(单模板)
16297
+ */
16298
+ async sendUmktDigitalsmsBatchEx(request: SendUmktDigitalsmsBatchRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<SendUmktDigitalsmsBatchResponse> {
16299
+ Util.validateModel(request);
16300
+ return $tea.cast<SendUmktDigitalsmsBatchResponse>(await this.doRequest("1.0", "riskplus.umkt.digitalsms.batch.send", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new SendUmktDigitalsmsBatchResponse({}));
16301
+ }
16302
+
16021
16303
  /**
16022
16304
  * Description: 创建HTTP PUT提交的文件上传
16023
16305
  * Summary: 文件上传创建