@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/dist/client.d.ts CHANGED
@@ -389,6 +389,12 @@ export declare class RepayResult extends $tea.Model {
389
389
  status: string;
390
390
  settleDate: string;
391
391
  tradeDate: string;
392
+ alreadyGuaranteeFee: number;
393
+ alreadyLiquidatedDamages: number;
394
+ restGuaranteeFee: number;
395
+ restLiquidatedDamages: number;
396
+ needGuaranteeFee: number;
397
+ needLiquidatedDamages: number;
392
398
  static names(): {
393
399
  [key: string]: string;
394
400
  };
@@ -446,7 +452,6 @@ export declare class UpdateCustomerRelationResponseData extends $tea.Model {
446
452
  });
447
453
  }
448
454
  export declare class BackflowEventRecord extends $tea.Model {
449
- groupCode: string;
450
455
  properties: BackflowEventRecordProperty[];
451
456
  static names(): {
452
457
  [key: string]: string;
@@ -2977,6 +2982,8 @@ export declare class QueryDubbridgeRepayInfoResponse extends $tea.Model {
2977
2982
  repayStatus?: string;
2978
2983
  failReason?: string;
2979
2984
  applyNo?: string;
2985
+ guaranteeFee?: number;
2986
+ liquidatedDamages?: number;
2980
2987
  static names(): {
2981
2988
  [key: string]: string;
2982
2989
  };
@@ -3075,6 +3082,8 @@ export declare class CountDubbridgeRepayTrialResponse extends $tea.Model {
3075
3082
  realInterest?: number;
3076
3083
  realOverAmt?: number;
3077
3084
  serviceCharge?: number;
3085
+ realGuaranteeFee?: number;
3086
+ realLiquidatedDamages?: number;
3078
3087
  static names(): {
3079
3088
  [key: string]: string;
3080
3089
  };
@@ -3161,6 +3170,7 @@ export declare class ApplyDubbridgeUsecreditRequest extends $tea.Model {
3161
3170
  orderNo: string;
3162
3171
  repayType: string;
3163
3172
  loanWay: string;
3173
+ repayDate: string;
3164
3174
  static names(): {
3165
3175
  [key: string]: string;
3166
3176
  };
@@ -3208,6 +3218,8 @@ export declare class QueryDubbridgeUsecreditStatusResponse extends $tea.Model {
3208
3218
  msg?: string;
3209
3219
  receiptInfo?: ReceiptInfo;
3210
3220
  repayRef?: RepayRef[];
3221
+ disburseContractNo?: string;
3222
+ creditContractNo?: string;
3211
3223
  static names(): {
3212
3224
  [key: string]: string;
3213
3225
  };
@@ -3414,6 +3426,7 @@ export declare class NotifyDubbridgeCallbackRequest extends $tea.Model {
3414
3426
  channelCode: string;
3415
3427
  bizParam: string;
3416
3428
  bizType: string;
3429
+ seqNo: string;
3417
3430
  static names(): {
3418
3431
  [key: string]: string;
3419
3432
  };
@@ -5606,6 +5619,11 @@ export declare class SendUmktCardsmsBatchRequest extends $tea.Model {
5606
5619
  phoneNumberJson: string;
5607
5620
  signNameJson: string;
5608
5621
  smsUpExtendCodeJson?: string;
5622
+ fallbackType?: string;
5623
+ fallbackTemplateCode?: string;
5624
+ fallbackTemplateParamJson?: string;
5625
+ templateCode?: string;
5626
+ templateParamJson?: string;
5609
5627
  static names(): {
5610
5628
  [key: string]: string;
5611
5629
  };
@@ -5623,6 +5641,8 @@ export declare class SendUmktCardsmsBatchResponse extends $tea.Model {
5623
5641
  bizCardId?: string;
5624
5642
  mediaMobiles?: string;
5625
5643
  notMediaMobiles?: string;
5644
+ bizId?: string;
5645
+ bizDigitalId?: string;
5626
5646
  static names(): {
5627
5647
  [key: string]: string;
5628
5648
  };
@@ -5665,6 +5685,76 @@ export declare class QueryUmktCardsmsSupportResponse extends $tea.Model {
5665
5685
  [key: string]: any;
5666
5686
  });
5667
5687
  }
5688
+ export declare class SendUmktTextsmsBatchRequest extends $tea.Model {
5689
+ authToken?: string;
5690
+ productInstanceId?: string;
5691
+ cpassAk?: string;
5692
+ industryTag: string;
5693
+ phoneNumberJson: string;
5694
+ signNameJson: string;
5695
+ templateCode: string;
5696
+ templateParamJson: string;
5697
+ smsUpExtendCodeJson?: string;
5698
+ outId?: string;
5699
+ static names(): {
5700
+ [key: string]: string;
5701
+ };
5702
+ static types(): {
5703
+ [key: string]: any;
5704
+ };
5705
+ constructor(map?: {
5706
+ [key: string]: any;
5707
+ });
5708
+ }
5709
+ export declare class SendUmktTextsmsBatchResponse extends $tea.Model {
5710
+ reqMsgId?: string;
5711
+ resultCode?: string;
5712
+ resultMsg?: string;
5713
+ bizId?: string;
5714
+ static names(): {
5715
+ [key: string]: string;
5716
+ };
5717
+ static types(): {
5718
+ [key: string]: any;
5719
+ };
5720
+ constructor(map?: {
5721
+ [key: string]: any;
5722
+ });
5723
+ }
5724
+ export declare class SendUmktDigitalsmsBatchRequest extends $tea.Model {
5725
+ authToken?: string;
5726
+ productInstanceId?: string;
5727
+ cpassAk?: string;
5728
+ industryTag: string;
5729
+ phoneNumbers: string;
5730
+ templateCode: string;
5731
+ templateParam: string;
5732
+ outId?: string;
5733
+ static names(): {
5734
+ [key: string]: string;
5735
+ };
5736
+ static types(): {
5737
+ [key: string]: any;
5738
+ };
5739
+ constructor(map?: {
5740
+ [key: string]: any;
5741
+ });
5742
+ }
5743
+ export declare class SendUmktDigitalsmsBatchResponse extends $tea.Model {
5744
+ reqMsgId?: string;
5745
+ resultCode?: string;
5746
+ resultMsg?: string;
5747
+ bizId?: string;
5748
+ static names(): {
5749
+ [key: string]: string;
5750
+ };
5751
+ static types(): {
5752
+ [key: string]: any;
5753
+ };
5754
+ constructor(map?: {
5755
+ [key: string]: any;
5756
+ });
5757
+ }
5668
5758
  export declare class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
5669
5759
  authToken?: string;
5670
5760
  apiCode: string;
@@ -7269,6 +7359,30 @@ export default class Client {
7269
7359
  queryUmktCardsmsSupportEx(request: QueryUmktCardsmsSupportRequest, headers: {
7270
7360
  [key: string]: string;
7271
7361
  }, runtime: $Util.RuntimeOptions): Promise<QueryUmktCardsmsSupportResponse>;
7362
+ /**
7363
+ * Description: 文本短信批量发送接口
7364
+ * Summary: 文本短信批量发送接口
7365
+ */
7366
+ sendUmktTextsmsBatch(request: SendUmktTextsmsBatchRequest): Promise<SendUmktTextsmsBatchResponse>;
7367
+ /**
7368
+ * Description: 文本短信批量发送接口
7369
+ * Summary: 文本短信批量发送接口
7370
+ */
7371
+ sendUmktTextsmsBatchEx(request: SendUmktTextsmsBatchRequest, headers: {
7372
+ [key: string]: string;
7373
+ }, runtime: $Util.RuntimeOptions): Promise<SendUmktTextsmsBatchResponse>;
7374
+ /**
7375
+ * Description: 数字短信批量发送接口(单模板)
7376
+ * Summary: 数字短信批量发送接口(单模板)
7377
+ */
7378
+ sendUmktDigitalsmsBatch(request: SendUmktDigitalsmsBatchRequest): Promise<SendUmktDigitalsmsBatchResponse>;
7379
+ /**
7380
+ * Description: 数字短信批量发送接口(单模板)
7381
+ * Summary: 数字短信批量发送接口(单模板)
7382
+ */
7383
+ sendUmktDigitalsmsBatchEx(request: SendUmktDigitalsmsBatchRequest, headers: {
7384
+ [key: string]: string;
7385
+ }, runtime: $Util.RuntimeOptions): Promise<SendUmktDigitalsmsBatchResponse>;
7272
7386
  /**
7273
7387
  * Description: 创建HTTP PUT提交的文件上传
7274
7388
  * Summary: 文件上传创建
package/dist/client.js CHANGED
@@ -620,6 +620,12 @@ class RepayResult extends $tea.Model {
620
620
  status: 'status',
621
621
  settleDate: 'settle_date',
622
622
  tradeDate: 'trade_date',
623
+ alreadyGuaranteeFee: 'already_guarantee_fee',
624
+ alreadyLiquidatedDamages: 'already_liquidated_damages',
625
+ restGuaranteeFee: 'rest_guarantee_fee',
626
+ restLiquidatedDamages: 'rest_liquidated_damages',
627
+ needGuaranteeFee: 'need_guarantee_fee',
628
+ needLiquidatedDamages: 'need_liquidated_damages',
623
629
  };
624
630
  }
625
631
  static types() {
@@ -647,6 +653,12 @@ class RepayResult extends $tea.Model {
647
653
  status: 'string',
648
654
  settleDate: 'string',
649
655
  tradeDate: 'string',
656
+ alreadyGuaranteeFee: 'number',
657
+ alreadyLiquidatedDamages: 'number',
658
+ restGuaranteeFee: 'number',
659
+ restLiquidatedDamages: 'number',
660
+ needGuaranteeFee: 'number',
661
+ needLiquidatedDamages: 'number',
650
662
  };
651
663
  }
652
664
  }
@@ -729,13 +741,11 @@ class BackflowEventRecord extends $tea.Model {
729
741
  }
730
742
  static names() {
731
743
  return {
732
- groupCode: 'group_code',
733
744
  properties: 'properties',
734
745
  };
735
746
  }
736
747
  static types() {
737
748
  return {
738
- groupCode: 'string',
739
749
  properties: { 'type': 'array', 'itemType': BackflowEventRecordProperty },
740
750
  };
741
751
  }
@@ -4663,6 +4673,8 @@ class QueryDubbridgeRepayInfoResponse extends $tea.Model {
4663
4673
  repayStatus: 'repay_status',
4664
4674
  failReason: 'fail_reason',
4665
4675
  applyNo: 'apply_no',
4676
+ guaranteeFee: 'guarantee_fee',
4677
+ liquidatedDamages: 'liquidated_damages',
4666
4678
  };
4667
4679
  }
4668
4680
  static types() {
@@ -4691,6 +4703,8 @@ class QueryDubbridgeRepayInfoResponse extends $tea.Model {
4691
4703
  repayStatus: 'string',
4692
4704
  failReason: 'string',
4693
4705
  applyNo: 'string',
4706
+ guaranteeFee: 'number',
4707
+ liquidatedDamages: 'number',
4694
4708
  };
4695
4709
  }
4696
4710
  }
@@ -4828,6 +4842,8 @@ class CountDubbridgeRepayTrialResponse extends $tea.Model {
4828
4842
  realInterest: 'real_interest',
4829
4843
  realOverAmt: 'real_over_amt',
4830
4844
  serviceCharge: 'service_charge',
4845
+ realGuaranteeFee: 'real_guarantee_fee',
4846
+ realLiquidatedDamages: 'real_liquidated_damages',
4831
4847
  };
4832
4848
  }
4833
4849
  static types() {
@@ -4839,6 +4855,8 @@ class CountDubbridgeRepayTrialResponse extends $tea.Model {
4839
4855
  realInterest: 'number',
4840
4856
  realOverAmt: 'number',
4841
4857
  serviceCharge: 'number',
4858
+ realGuaranteeFee: 'number',
4859
+ realLiquidatedDamages: 'number',
4842
4860
  };
4843
4861
  }
4844
4862
  }
@@ -4958,6 +4976,7 @@ class ApplyDubbridgeUsecreditRequest extends $tea.Model {
4958
4976
  orderNo: 'order_no',
4959
4977
  repayType: 'repay_type',
4960
4978
  loanWay: 'loan_way',
4979
+ repayDate: 'repay_date',
4961
4980
  };
4962
4981
  }
4963
4982
  static types() {
@@ -4971,6 +4990,7 @@ class ApplyDubbridgeUsecreditRequest extends $tea.Model {
4971
4990
  orderNo: 'string',
4972
4991
  repayType: 'string',
4973
4992
  loanWay: 'string',
4993
+ repayDate: 'string',
4974
4994
  };
4975
4995
  }
4976
4996
  }
@@ -5030,6 +5050,8 @@ class QueryDubbridgeUsecreditStatusResponse extends $tea.Model {
5030
5050
  msg: 'msg',
5031
5051
  receiptInfo: 'receipt_info',
5032
5052
  repayRef: 'repay_ref',
5053
+ disburseContractNo: 'disburse_contract_no',
5054
+ creditContractNo: 'credit_contract_no',
5033
5055
  };
5034
5056
  }
5035
5057
  static types() {
@@ -5041,6 +5063,8 @@ class QueryDubbridgeUsecreditStatusResponse extends $tea.Model {
5041
5063
  msg: 'string',
5042
5064
  receiptInfo: ReceiptInfo,
5043
5065
  repayRef: { 'type': 'array', 'itemType': RepayRef },
5066
+ disburseContractNo: 'string',
5067
+ creditContractNo: 'string',
5044
5068
  };
5045
5069
  }
5046
5070
  }
@@ -5340,6 +5364,7 @@ class NotifyDubbridgeCallbackRequest extends $tea.Model {
5340
5364
  channelCode: 'channel_code',
5341
5365
  bizParam: 'biz_param',
5342
5366
  bizType: 'biz_type',
5367
+ seqNo: 'seq_no',
5343
5368
  };
5344
5369
  }
5345
5370
  static types() {
@@ -5349,6 +5374,7 @@ class NotifyDubbridgeCallbackRequest extends $tea.Model {
5349
5374
  channelCode: 'string',
5350
5375
  bizParam: 'string',
5351
5376
  bizType: 'string',
5377
+ seqNo: 'string',
5352
5378
  };
5353
5379
  }
5354
5380
  }
@@ -8664,6 +8690,11 @@ class SendUmktCardsmsBatchRequest extends $tea.Model {
8664
8690
  phoneNumberJson: 'phone_number_json',
8665
8691
  signNameJson: 'sign_name_json',
8666
8692
  smsUpExtendCodeJson: 'sms_up_extend_code_json',
8693
+ fallbackType: 'fallback_type',
8694
+ fallbackTemplateCode: 'fallback_template_code',
8695
+ fallbackTemplateParamJson: 'fallback_template_param_json',
8696
+ templateCode: 'template_code',
8697
+ templateParamJson: 'template_param_json',
8667
8698
  };
8668
8699
  }
8669
8700
  static types() {
@@ -8677,6 +8708,11 @@ class SendUmktCardsmsBatchRequest extends $tea.Model {
8677
8708
  phoneNumberJson: 'string',
8678
8709
  signNameJson: 'string',
8679
8710
  smsUpExtendCodeJson: 'string',
8711
+ fallbackType: 'string',
8712
+ fallbackTemplateCode: 'string',
8713
+ fallbackTemplateParamJson: 'string',
8714
+ templateCode: 'string',
8715
+ templateParamJson: 'string',
8680
8716
  };
8681
8717
  }
8682
8718
  }
@@ -8693,6 +8729,8 @@ class SendUmktCardsmsBatchResponse extends $tea.Model {
8693
8729
  bizCardId: 'biz_card_id',
8694
8730
  mediaMobiles: 'media_mobiles',
8695
8731
  notMediaMobiles: 'not_media_mobiles',
8732
+ bizId: 'biz_id',
8733
+ bizDigitalId: 'biz_digital_id',
8696
8734
  };
8697
8735
  }
8698
8736
  static types() {
@@ -8703,6 +8741,8 @@ class SendUmktCardsmsBatchResponse extends $tea.Model {
8703
8741
  bizCardId: 'string',
8704
8742
  mediaMobiles: 'string',
8705
8743
  notMediaMobiles: 'string',
8744
+ bizId: 'string',
8745
+ bizDigitalId: 'string',
8706
8746
  };
8707
8747
  }
8708
8748
  }
@@ -8755,6 +8795,114 @@ class QueryUmktCardsmsSupportResponse extends $tea.Model {
8755
8795
  }
8756
8796
  }
8757
8797
  exports.QueryUmktCardsmsSupportResponse = QueryUmktCardsmsSupportResponse;
8798
+ class SendUmktTextsmsBatchRequest extends $tea.Model {
8799
+ constructor(map) {
8800
+ super(map);
8801
+ }
8802
+ static names() {
8803
+ return {
8804
+ authToken: 'auth_token',
8805
+ productInstanceId: 'product_instance_id',
8806
+ cpassAk: 'cpass_ak',
8807
+ industryTag: 'industry_tag',
8808
+ phoneNumberJson: 'phone_number_json',
8809
+ signNameJson: 'sign_name_json',
8810
+ templateCode: 'template_code',
8811
+ templateParamJson: 'template_param_json',
8812
+ smsUpExtendCodeJson: 'sms_up_extend_code_json',
8813
+ outId: 'out_id',
8814
+ };
8815
+ }
8816
+ static types() {
8817
+ return {
8818
+ authToken: 'string',
8819
+ productInstanceId: 'string',
8820
+ cpassAk: 'string',
8821
+ industryTag: 'string',
8822
+ phoneNumberJson: 'string',
8823
+ signNameJson: 'string',
8824
+ templateCode: 'string',
8825
+ templateParamJson: 'string',
8826
+ smsUpExtendCodeJson: 'string',
8827
+ outId: 'string',
8828
+ };
8829
+ }
8830
+ }
8831
+ exports.SendUmktTextsmsBatchRequest = SendUmktTextsmsBatchRequest;
8832
+ class SendUmktTextsmsBatchResponse extends $tea.Model {
8833
+ constructor(map) {
8834
+ super(map);
8835
+ }
8836
+ static names() {
8837
+ return {
8838
+ reqMsgId: 'req_msg_id',
8839
+ resultCode: 'result_code',
8840
+ resultMsg: 'result_msg',
8841
+ bizId: 'biz_id',
8842
+ };
8843
+ }
8844
+ static types() {
8845
+ return {
8846
+ reqMsgId: 'string',
8847
+ resultCode: 'string',
8848
+ resultMsg: 'string',
8849
+ bizId: 'string',
8850
+ };
8851
+ }
8852
+ }
8853
+ exports.SendUmktTextsmsBatchResponse = SendUmktTextsmsBatchResponse;
8854
+ class SendUmktDigitalsmsBatchRequest extends $tea.Model {
8855
+ constructor(map) {
8856
+ super(map);
8857
+ }
8858
+ static names() {
8859
+ return {
8860
+ authToken: 'auth_token',
8861
+ productInstanceId: 'product_instance_id',
8862
+ cpassAk: 'cpass_ak',
8863
+ industryTag: 'industry_tag',
8864
+ phoneNumbers: 'phone_numbers',
8865
+ templateCode: 'template_code',
8866
+ templateParam: 'template_param',
8867
+ outId: 'out_id',
8868
+ };
8869
+ }
8870
+ static types() {
8871
+ return {
8872
+ authToken: 'string',
8873
+ productInstanceId: 'string',
8874
+ cpassAk: 'string',
8875
+ industryTag: 'string',
8876
+ phoneNumbers: 'string',
8877
+ templateCode: 'string',
8878
+ templateParam: 'string',
8879
+ outId: 'string',
8880
+ };
8881
+ }
8882
+ }
8883
+ exports.SendUmktDigitalsmsBatchRequest = SendUmktDigitalsmsBatchRequest;
8884
+ class SendUmktDigitalsmsBatchResponse extends $tea.Model {
8885
+ constructor(map) {
8886
+ super(map);
8887
+ }
8888
+ static names() {
8889
+ return {
8890
+ reqMsgId: 'req_msg_id',
8891
+ resultCode: 'result_code',
8892
+ resultMsg: 'result_msg',
8893
+ bizId: 'biz_id',
8894
+ };
8895
+ }
8896
+ static types() {
8897
+ return {
8898
+ reqMsgId: 'string',
8899
+ resultCode: 'string',
8900
+ resultMsg: 'string',
8901
+ bizId: 'string',
8902
+ };
8903
+ }
8904
+ }
8905
+ exports.SendUmktDigitalsmsBatchResponse = SendUmktDigitalsmsBatchResponse;
8758
8906
  class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
8759
8907
  constructor(map) {
8760
8908
  super(map);
@@ -8899,9 +9047,7 @@ class Client {
8899
9047
  req_msg_id: alipay_util_1.default.getNonce(),
8900
9048
  access_key: this._accessKeyId,
8901
9049
  base_sdk_version: "TeaSDK-2.0",
8902
- sdk_version: "1.13.3",
8903
- _prod_code: "RISKPLUS",
8904
- _prod_channel: "undefined",
9050
+ sdk_version: "1.13.7",
8905
9051
  };
8906
9052
  if (!tea_util_1.default.empty(this._securityToken)) {
8907
9053
  request_.query["security_token"] = this._securityToken;
@@ -11154,6 +11300,40 @@ class Client {
11154
11300
  tea_util_1.default.validateModel(request);
11155
11301
  return $tea.cast(await this.doRequest("1.0", "riskplus.umkt.cardsms.support.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryUmktCardsmsSupportResponse({}));
11156
11302
  }
11303
+ /**
11304
+ * Description: 文本短信批量发送接口
11305
+ * Summary: 文本短信批量发送接口
11306
+ */
11307
+ async sendUmktTextsmsBatch(request) {
11308
+ let runtime = new $Util.RuntimeOptions({});
11309
+ let headers = {};
11310
+ return await this.sendUmktTextsmsBatchEx(request, headers, runtime);
11311
+ }
11312
+ /**
11313
+ * Description: 文本短信批量发送接口
11314
+ * Summary: 文本短信批量发送接口
11315
+ */
11316
+ async sendUmktTextsmsBatchEx(request, headers, runtime) {
11317
+ tea_util_1.default.validateModel(request);
11318
+ return $tea.cast(await this.doRequest("1.0", "riskplus.umkt.textsms.batch.send", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new SendUmktTextsmsBatchResponse({}));
11319
+ }
11320
+ /**
11321
+ * Description: 数字短信批量发送接口(单模板)
11322
+ * Summary: 数字短信批量发送接口(单模板)
11323
+ */
11324
+ async sendUmktDigitalsmsBatch(request) {
11325
+ let runtime = new $Util.RuntimeOptions({});
11326
+ let headers = {};
11327
+ return await this.sendUmktDigitalsmsBatchEx(request, headers, runtime);
11328
+ }
11329
+ /**
11330
+ * Description: 数字短信批量发送接口(单模板)
11331
+ * Summary: 数字短信批量发送接口(单模板)
11332
+ */
11333
+ async sendUmktDigitalsmsBatchEx(request, headers, runtime) {
11334
+ tea_util_1.default.validateModel(request);
11335
+ return $tea.cast(await this.doRequest("1.0", "riskplus.umkt.digitalsms.batch.send", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new SendUmktDigitalsmsBatchResponse({}));
11336
+ }
11157
11337
  /**
11158
11338
  * Description: 创建HTTP PUT提交的文件上传
11159
11339
  * Summary: 文件上传创建