@antchain/riskplus 1.12.19 → 1.13.3

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.js CHANGED
@@ -205,6 +205,25 @@ class DecisionFlow extends $tea.Model {
205
205
  }
206
206
  }
207
207
  exports.DecisionFlow = DecisionFlow;
208
+ // 回流事件记录属性项
209
+ class BackflowEventRecordProperty extends $tea.Model {
210
+ constructor(map) {
211
+ super(map);
212
+ }
213
+ static names() {
214
+ return {
215
+ key: 'key',
216
+ value: 'value',
217
+ };
218
+ }
219
+ static types() {
220
+ return {
221
+ key: 'string',
222
+ value: 'string',
223
+ };
224
+ }
225
+ }
226
+ exports.BackflowEventRecordProperty = BackflowEventRecordProperty;
208
227
  // 营销盾批量查询单条结果
209
228
  class BaseCustomerUmktInfoModel extends $tea.Model {
210
229
  constructor(map) {
@@ -428,6 +447,25 @@ class RuleDetail extends $tea.Model {
428
447
  }
429
448
  }
430
449
  exports.RuleDetail = RuleDetail;
450
+ // 回调通用返回体
451
+ class CommonNotyfyResult extends $tea.Model {
452
+ constructor(map) {
453
+ super(map);
454
+ }
455
+ static names() {
456
+ return {
457
+ requestId: 'request_id',
458
+ bizResponse: 'biz_response',
459
+ };
460
+ }
461
+ static types() {
462
+ return {
463
+ requestId: 'string',
464
+ bizResponse: 'string',
465
+ };
466
+ }
467
+ }
468
+ exports.CommonNotyfyResult = CommonNotyfyResult;
431
469
  // 安全场景参数
432
470
  class SecurityScene extends $tea.Model {
433
471
  constructor(map) {
@@ -684,6 +722,25 @@ class UpdateCustomerRelationResponseData extends $tea.Model {
684
722
  }
685
723
  }
686
724
  exports.UpdateCustomerRelationResponseData = UpdateCustomerRelationResponseData;
725
+ // 回流事件记录
726
+ class BackflowEventRecord extends $tea.Model {
727
+ constructor(map) {
728
+ super(map);
729
+ }
730
+ static names() {
731
+ return {
732
+ groupCode: 'group_code',
733
+ properties: 'properties',
734
+ };
735
+ }
736
+ static types() {
737
+ return {
738
+ groupCode: 'string',
739
+ properties: { 'type': 'array', 'itemType': BackflowEventRecordProperty },
740
+ };
741
+ }
742
+ }
743
+ exports.BackflowEventRecord = BackflowEventRecord;
687
744
  // 风险维度
688
745
  class RtopCompanyRiskFactor extends $tea.Model {
689
746
  constructor(map) {
@@ -1284,6 +1341,31 @@ class StrategyDetails extends $tea.Model {
1284
1341
  }
1285
1342
  }
1286
1343
  exports.StrategyDetails = StrategyDetails;
1344
+ // 支付方式锁定结果
1345
+ class PayMethodLockResult extends $tea.Model {
1346
+ constructor(map) {
1347
+ super(map);
1348
+ }
1349
+ static names() {
1350
+ return {
1351
+ signStatus: 'sign_status',
1352
+ accountId: 'account_id',
1353
+ loginId: 'login_id',
1354
+ payChannel: 'pay_channel',
1355
+ accountName: 'account_name',
1356
+ };
1357
+ }
1358
+ static types() {
1359
+ return {
1360
+ signStatus: 'string',
1361
+ accountId: 'string',
1362
+ loginId: 'string',
1363
+ payChannel: 'string',
1364
+ accountName: 'string',
1365
+ };
1366
+ }
1367
+ }
1368
+ exports.PayMethodLockResult = PayMethodLockResult;
1287
1369
  // 反欺诈风险数据服务决策结果
1288
1370
  class SecurityResultInfos extends $tea.Model {
1289
1371
  constructor(map) {
@@ -1774,6 +1856,27 @@ class RtopCompanyOpinionCount extends $tea.Model {
1774
1856
  }
1775
1857
  }
1776
1858
  exports.RtopCompanyOpinionCount = RtopCompanyOpinionCount;
1859
+ // 商户资金链锁定结果
1860
+ class FundChainLockResult extends $tea.Model {
1861
+ constructor(map) {
1862
+ super(map);
1863
+ }
1864
+ static names() {
1865
+ return {
1866
+ name: 'name',
1867
+ id: 'id',
1868
+ status: 'status',
1869
+ };
1870
+ }
1871
+ static types() {
1872
+ return {
1873
+ name: 'string',
1874
+ id: 'string',
1875
+ status: 'string',
1876
+ };
1877
+ }
1878
+ }
1879
+ exports.FundChainLockResult = FundChainLockResult;
1777
1880
  // 企业地区分布统计
1778
1881
  class RtopRegionalDistribution extends $tea.Model {
1779
1882
  constructor(map) {
@@ -4176,6 +4279,7 @@ class QueryDubbridgeAccountStatusRequest extends $tea.Model {
4176
4279
  productInstanceId: 'product_instance_id',
4177
4280
  customNo: 'custom_no',
4178
4281
  openId: 'open_id',
4282
+ bizType: 'biz_type',
4179
4283
  };
4180
4284
  }
4181
4285
  static types() {
@@ -4184,6 +4288,7 @@ class QueryDubbridgeAccountStatusRequest extends $tea.Model {
4184
4288
  productInstanceId: 'string',
4185
4289
  customNo: 'string',
4186
4290
  openId: 'string',
4291
+ bizType: 'string',
4187
4292
  };
4188
4293
  }
4189
4294
  }
@@ -4198,6 +4303,8 @@ class QueryDubbridgeAccountStatusResponse extends $tea.Model {
4198
4303
  resultCode: 'result_code',
4199
4304
  resultMsg: 'result_msg',
4200
4305
  data: 'data',
4306
+ payMethodLockResult: 'pay_method_lock_result',
4307
+ fundChainLockResult: 'fund_chain_lock_result',
4201
4308
  };
4202
4309
  }
4203
4310
  static types() {
@@ -4206,6 +4313,8 @@ class QueryDubbridgeAccountStatusResponse extends $tea.Model {
4206
4313
  resultCode: 'string',
4207
4314
  resultMsg: 'string',
4208
4315
  data: CustomStatus,
4316
+ payMethodLockResult: PayMethodLockResult,
4317
+ fundChainLockResult: { 'type': 'array', 'itemType': FundChainLockResult },
4209
4318
  };
4210
4319
  }
4211
4320
  }
@@ -5220,6 +5329,52 @@ class QueryDubbridgeBusinessDetailResponse extends $tea.Model {
5220
5329
  }
5221
5330
  }
5222
5331
  exports.QueryDubbridgeBusinessDetailResponse = QueryDubbridgeBusinessDetailResponse;
5332
+ class NotifyDubbridgeCallbackRequest extends $tea.Model {
5333
+ constructor(map) {
5334
+ super(map);
5335
+ }
5336
+ static names() {
5337
+ return {
5338
+ authToken: 'auth_token',
5339
+ productInstanceId: 'product_instance_id',
5340
+ channelCode: 'channel_code',
5341
+ bizParam: 'biz_param',
5342
+ bizType: 'biz_type',
5343
+ };
5344
+ }
5345
+ static types() {
5346
+ return {
5347
+ authToken: 'string',
5348
+ productInstanceId: 'string',
5349
+ channelCode: 'string',
5350
+ bizParam: 'string',
5351
+ bizType: 'string',
5352
+ };
5353
+ }
5354
+ }
5355
+ exports.NotifyDubbridgeCallbackRequest = NotifyDubbridgeCallbackRequest;
5356
+ class NotifyDubbridgeCallbackResponse extends $tea.Model {
5357
+ constructor(map) {
5358
+ super(map);
5359
+ }
5360
+ static names() {
5361
+ return {
5362
+ reqMsgId: 'req_msg_id',
5363
+ resultCode: 'result_code',
5364
+ resultMsg: 'result_msg',
5365
+ data: 'data',
5366
+ };
5367
+ }
5368
+ static types() {
5369
+ return {
5370
+ reqMsgId: 'string',
5371
+ resultCode: 'string',
5372
+ resultMsg: 'string',
5373
+ data: CommonNotyfyResult,
5374
+ };
5375
+ }
5376
+ }
5377
+ exports.NotifyDubbridgeCallbackResponse = NotifyDubbridgeCallbackResponse;
5223
5378
  class VerifyFinserviceZhimaIdentifyRequest extends $tea.Model {
5224
5379
  constructor(map) {
5225
5380
  super(map);
@@ -8452,6 +8607,154 @@ class QueryUmktRtMarketingResponse extends $tea.Model {
8452
8607
  }
8453
8608
  }
8454
8609
  exports.QueryUmktRtMarketingResponse = QueryUmktRtMarketingResponse;
8610
+ class PushUmktBackflowEventRequest extends $tea.Model {
8611
+ constructor(map) {
8612
+ super(map);
8613
+ }
8614
+ static names() {
8615
+ return {
8616
+ authToken: 'auth_token',
8617
+ productInstanceId: 'product_instance_id',
8618
+ eventId: 'event_id',
8619
+ eventRecords: 'event_records',
8620
+ };
8621
+ }
8622
+ static types() {
8623
+ return {
8624
+ authToken: 'string',
8625
+ productInstanceId: 'string',
8626
+ eventId: 'number',
8627
+ eventRecords: { 'type': 'array', 'itemType': BackflowEventRecord },
8628
+ };
8629
+ }
8630
+ }
8631
+ exports.PushUmktBackflowEventRequest = PushUmktBackflowEventRequest;
8632
+ class PushUmktBackflowEventResponse extends $tea.Model {
8633
+ constructor(map) {
8634
+ super(map);
8635
+ }
8636
+ static names() {
8637
+ return {
8638
+ reqMsgId: 'req_msg_id',
8639
+ resultCode: 'result_code',
8640
+ resultMsg: 'result_msg',
8641
+ };
8642
+ }
8643
+ static types() {
8644
+ return {
8645
+ reqMsgId: 'string',
8646
+ resultCode: 'string',
8647
+ resultMsg: 'string',
8648
+ };
8649
+ }
8650
+ }
8651
+ exports.PushUmktBackflowEventResponse = PushUmktBackflowEventResponse;
8652
+ class SendUmktCardsmsBatchRequest extends $tea.Model {
8653
+ constructor(map) {
8654
+ super(map);
8655
+ }
8656
+ static names() {
8657
+ return {
8658
+ authToken: 'auth_token',
8659
+ productInstanceId: 'product_instance_id',
8660
+ cpassAk: 'cpass_ak',
8661
+ industryTag: 'industry_tag',
8662
+ cardTemplateCode: 'card_template_code',
8663
+ cardTemplateParamJson: 'card_template_param_json',
8664
+ phoneNumberJson: 'phone_number_json',
8665
+ signNameJson: 'sign_name_json',
8666
+ smsUpExtendCodeJson: 'sms_up_extend_code_json',
8667
+ };
8668
+ }
8669
+ static types() {
8670
+ return {
8671
+ authToken: 'string',
8672
+ productInstanceId: 'string',
8673
+ cpassAk: 'string',
8674
+ industryTag: 'string',
8675
+ cardTemplateCode: 'string',
8676
+ cardTemplateParamJson: 'string',
8677
+ phoneNumberJson: 'string',
8678
+ signNameJson: 'string',
8679
+ smsUpExtendCodeJson: 'string',
8680
+ };
8681
+ }
8682
+ }
8683
+ exports.SendUmktCardsmsBatchRequest = SendUmktCardsmsBatchRequest;
8684
+ class SendUmktCardsmsBatchResponse extends $tea.Model {
8685
+ constructor(map) {
8686
+ super(map);
8687
+ }
8688
+ static names() {
8689
+ return {
8690
+ reqMsgId: 'req_msg_id',
8691
+ resultCode: 'result_code',
8692
+ resultMsg: 'result_msg',
8693
+ bizCardId: 'biz_card_id',
8694
+ mediaMobiles: 'media_mobiles',
8695
+ notMediaMobiles: 'not_media_mobiles',
8696
+ };
8697
+ }
8698
+ static types() {
8699
+ return {
8700
+ reqMsgId: 'string',
8701
+ resultCode: 'string',
8702
+ resultMsg: 'string',
8703
+ bizCardId: 'string',
8704
+ mediaMobiles: 'string',
8705
+ notMediaMobiles: 'string',
8706
+ };
8707
+ }
8708
+ }
8709
+ exports.SendUmktCardsmsBatchResponse = SendUmktCardsmsBatchResponse;
8710
+ class QueryUmktCardsmsSupportRequest extends $tea.Model {
8711
+ constructor(map) {
8712
+ super(map);
8713
+ }
8714
+ static names() {
8715
+ return {
8716
+ authToken: 'auth_token',
8717
+ productInstanceId: 'product_instance_id',
8718
+ cpassAk: 'cpass_ak',
8719
+ industryTag: 'industry_tag',
8720
+ templateCode: 'template_code',
8721
+ mobiles: 'mobiles',
8722
+ };
8723
+ }
8724
+ static types() {
8725
+ return {
8726
+ authToken: 'string',
8727
+ productInstanceId: 'string',
8728
+ cpassAk: 'string',
8729
+ industryTag: 'string',
8730
+ templateCode: 'string',
8731
+ mobiles: 'string',
8732
+ };
8733
+ }
8734
+ }
8735
+ exports.QueryUmktCardsmsSupportRequest = QueryUmktCardsmsSupportRequest;
8736
+ class QueryUmktCardsmsSupportResponse extends $tea.Model {
8737
+ constructor(map) {
8738
+ super(map);
8739
+ }
8740
+ static names() {
8741
+ return {
8742
+ reqMsgId: 'req_msg_id',
8743
+ resultCode: 'result_code',
8744
+ resultMsg: 'result_msg',
8745
+ datas: 'datas',
8746
+ };
8747
+ }
8748
+ static types() {
8749
+ return {
8750
+ reqMsgId: 'string',
8751
+ resultCode: 'string',
8752
+ resultMsg: 'string',
8753
+ datas: 'string',
8754
+ };
8755
+ }
8756
+ }
8757
+ exports.QueryUmktCardsmsSupportResponse = QueryUmktCardsmsSupportResponse;
8455
8758
  class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
8456
8759
  constructor(map) {
8457
8760
  super(map);
@@ -8596,7 +8899,7 @@ class Client {
8596
8899
  req_msg_id: alipay_util_1.default.getNonce(),
8597
8900
  access_key: this._accessKeyId,
8598
8901
  base_sdk_version: "TeaSDK-2.0",
8599
- sdk_version: "1.12.19",
8902
+ sdk_version: "1.13.3",
8600
8903
  _prod_code: "RISKPLUS",
8601
8904
  _prod_channel: "undefined",
8602
8905
  };
@@ -9655,6 +9958,23 @@ class Client {
9655
9958
  tea_util_1.default.validateModel(request);
9656
9959
  return $tea.cast(await this.doRequest("1.0", "riskplus.dubbridge.business.detail.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDubbridgeBusinessDetailResponse({}));
9657
9960
  }
9961
+ /**
9962
+ * Description: 天枢回调通用接口
9963
+ * Summary: 天枢回调通用接口
9964
+ */
9965
+ async notifyDubbridgeCallback(request) {
9966
+ let runtime = new $Util.RuntimeOptions({});
9967
+ let headers = {};
9968
+ return await this.notifyDubbridgeCallbackEx(request, headers, runtime);
9969
+ }
9970
+ /**
9971
+ * Description: 天枢回调通用接口
9972
+ * Summary: 天枢回调通用接口
9973
+ */
9974
+ async notifyDubbridgeCallbackEx(request, headers, runtime) {
9975
+ tea_util_1.default.validateModel(request);
9976
+ return $tea.cast(await this.doRequest("1.0", "riskplus.dubbridge.callback.notify", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new NotifyDubbridgeCallbackResponse({}));
9977
+ }
9658
9978
  /**
9659
9979
  * Description: 四要素认证首先调用此接口
9660
9980
  * Summary: 芝麻四要素接口
@@ -10783,6 +11103,57 @@ class Client {
10783
11103
  tea_util_1.default.validateModel(request);
10784
11104
  return $tea.cast(await this.doRequest("1.0", "riskplus.umkt.rt.marketing.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryUmktRtMarketingResponse({}));
10785
11105
  }
11106
+ /**
11107
+ * Description: 营销盾业务回流事件推送
11108
+ * Summary: 营销盾回流事件推送
11109
+ */
11110
+ async pushUmktBackflowEvent(request) {
11111
+ let runtime = new $Util.RuntimeOptions({});
11112
+ let headers = {};
11113
+ return await this.pushUmktBackflowEventEx(request, headers, runtime);
11114
+ }
11115
+ /**
11116
+ * Description: 营销盾业务回流事件推送
11117
+ * Summary: 营销盾回流事件推送
11118
+ */
11119
+ async pushUmktBackflowEventEx(request, headers, runtime) {
11120
+ tea_util_1.default.validateModel(request);
11121
+ return $tea.cast(await this.doRequest("1.0", "riskplus.umkt.backflow.event.push", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new PushUmktBackflowEventResponse({}));
11122
+ }
11123
+ /**
11124
+ * Description: 卡片短信批量发送接口
11125
+ * Summary: 卡片短信批量发送接口
11126
+ */
11127
+ async sendUmktCardsmsBatch(request) {
11128
+ let runtime = new $Util.RuntimeOptions({});
11129
+ let headers = {};
11130
+ return await this.sendUmktCardsmsBatchEx(request, headers, runtime);
11131
+ }
11132
+ /**
11133
+ * Description: 卡片短信批量发送接口
11134
+ * Summary: 卡片短信批量发送接口
11135
+ */
11136
+ async sendUmktCardsmsBatchEx(request, headers, runtime) {
11137
+ tea_util_1.default.validateModel(request);
11138
+ return $tea.cast(await this.doRequest("1.0", "riskplus.umkt.cardsms.batch.send", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new SendUmktCardsmsBatchResponse({}));
11139
+ }
11140
+ /**
11141
+ * Description: 卡片短信支持能力查询
11142
+ * Summary: 卡片短信支持能力查询
11143
+ */
11144
+ async queryUmktCardsmsSupport(request) {
11145
+ let runtime = new $Util.RuntimeOptions({});
11146
+ let headers = {};
11147
+ return await this.queryUmktCardsmsSupportEx(request, headers, runtime);
11148
+ }
11149
+ /**
11150
+ * Description: 卡片短信支持能力查询
11151
+ * Summary: 卡片短信支持能力查询
11152
+ */
11153
+ async queryUmktCardsmsSupportEx(request, headers, runtime) {
11154
+ tea_util_1.default.validateModel(request);
11155
+ 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
+ }
10786
11157
  /**
10787
11158
  * Description: 创建HTTP PUT提交的文件上传
10788
11159
  * Summary: 文件上传创建