@antchain/riskplus 1.24.2 → 1.24.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antchain/riskplus",
3
- "version": "1.24.2",
3
+ "version": "1.24.3",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -851,19 +851,15 @@ export class RuleDetail extends $tea.Model {
851
851
  export class Additional extends $tea.Model {
852
852
  // 骑手标识;1-骑手
853
853
  deliveryman?: string;
854
- // 关键词
855
- keyWord?: string;
856
854
  static names(): { [key: string]: string } {
857
855
  return {
858
856
  deliveryman: 'deliveryman',
859
- keyWord: 'key_word',
860
857
  };
861
858
  }
862
859
 
863
860
  static types(): { [key: string]: any } {
864
861
  return {
865
862
  deliveryman: 'string',
866
- keyWord: 'string',
867
863
  };
868
864
  }
869
865
 
@@ -3164,12 +3160,15 @@ export class SupplementFile extends $tea.Model {
3164
3160
  // 材料url
3165
3161
  fileUrl: string;
3166
3162
  // 材料名称/描述
3167
- fileDesc: string;
3163
+ fileDesc?: string;
3164
+ // 材料后缀,如png/jpg/jpeg
3165
+ fileSuffix?: string;
3168
3166
  static names(): { [key: string]: string } {
3169
3167
  return {
3170
3168
  fileType: 'file_type',
3171
3169
  fileUrl: 'file_url',
3172
3170
  fileDesc: 'file_desc',
3171
+ fileSuffix: 'file_suffix',
3173
3172
  };
3174
3173
  }
3175
3174
 
@@ -3178,6 +3177,7 @@ export class SupplementFile extends $tea.Model {
3178
3177
  fileType: 'string',
3179
3178
  fileUrl: 'string',
3180
3179
  fileDesc: 'string',
3180
+ fileSuffix: 'string',
3181
3181
  };
3182
3182
  }
3183
3183
 
@@ -4245,41 +4245,119 @@ export class DefinInnerChannelNotifyResult extends $tea.Model {
4245
4245
 
4246
4246
  // 门店信息
4247
4247
  export class StoreInfo extends $tea.Model {
4248
+ // 品牌
4249
+ storeBrand: string;
4248
4250
  // 门店ID
4249
4251
  storeId: string;
4250
- // 蚂蚁数科入驻账号
4251
- loginTenant: string;
4252
- // 收款账号
4253
- payeeBankCard: string;
4254
- // 收款人
4255
- payeeName: string;
4256
4252
  // 门店名称
4257
4253
  storeName: string;
4258
- // 销售ID
4259
- salesman?: string;
4260
- // 销售设备编号
4261
- device?: string;
4254
+ // 统一社会信用代码
4255
+ usci: string;
4256
+ // 门店-省,浙江省
4257
+ province: string;
4258
+ // 门店-市,杭州市
4259
+ city: string;
4260
+ // 门店-区,滨江区
4261
+ district: string;
4262
+ // 门店-详细地址,
4263
+ // 望江路万达广场一层001号
4264
+ address: string;
4265
+ // 营业执照-开始时间,yyyy-MM-dd
4266
+ storeStartDate: string;
4267
+ // 营业执照-结束时间,yyyy-MM-dd,长期上送:9999-12-31
4268
+ storeEndDate: string;
4269
+ // 门店类型,
4270
+ // 个体、企业、其他
4271
+ storeType: string;
4272
+ // 法人-姓名
4273
+ legalPersonName: string;
4274
+ // 法人-身份证号
4275
+ legalPersonIdCard: string;
4276
+ // 法人-手机号
4277
+ legalPersonMobile: string;
4278
+ // 法人-身份证有效期,,身份证反面格式:如yyyy.MM.dd-长期
4279
+ effectiveDate: string;
4280
+ // 对公-开户行名称
4281
+ bankName?: string;
4282
+ // 对公-支行名称
4283
+ branchName?: string;
4284
+ // 对公-联行号
4285
+ cnapsCode?: string;
4286
+ // 对公-银行账户名称
4287
+ accountName?: string;
4288
+ // 对公-银行账户号
4289
+ accountNumber?: string;
4290
+ // 对公-开户行所在省,浙江
4291
+ bankProvince?: string;
4292
+ // 对公-开户行所在市,杭州
4293
+ bankCity?: string;
4294
+ // 对私-银行卡号
4295
+ payeeBankCard?: string;
4296
+ // 对私-银行名称
4297
+ payeeBankName?: string;
4298
+ // 蚂蚁数科入驻账号
4299
+ loginTenant?: string;
4300
+ // 入驻时间
4301
+ loginDate?: string;
4262
4302
  static names(): { [key: string]: string } {
4263
4303
  return {
4304
+ storeBrand: 'store_brand',
4264
4305
  storeId: 'store_id',
4265
- loginTenant: 'login_tenant',
4266
- payeeBankCard: 'payee_bank_card',
4267
- payeeName: 'payee_name',
4268
4306
  storeName: 'store_name',
4269
- salesman: 'salesman',
4270
- device: 'device',
4307
+ usci: 'usci',
4308
+ province: 'province',
4309
+ city: 'city',
4310
+ district: 'district',
4311
+ address: 'address',
4312
+ storeStartDate: 'store_start_date',
4313
+ storeEndDate: 'store_end_date',
4314
+ storeType: 'store_type',
4315
+ legalPersonName: 'legal_person_name',
4316
+ legalPersonIdCard: 'legal_person_id_card',
4317
+ legalPersonMobile: 'legal_person_mobile',
4318
+ effectiveDate: 'effective_date',
4319
+ bankName: 'bank_name',
4320
+ branchName: 'branch_name',
4321
+ cnapsCode: 'cnaps_code',
4322
+ accountName: 'account_name',
4323
+ accountNumber: 'account_number',
4324
+ bankProvince: 'bank_province',
4325
+ bankCity: 'bank_city',
4326
+ payeeBankCard: 'payee_bank_card',
4327
+ payeeBankName: 'payee_bank_name',
4328
+ loginTenant: 'login_tenant',
4329
+ loginDate: 'login_date',
4271
4330
  };
4272
4331
  }
4273
4332
 
4274
4333
  static types(): { [key: string]: any } {
4275
4334
  return {
4335
+ storeBrand: 'string',
4276
4336
  storeId: 'string',
4277
- loginTenant: 'string',
4278
- payeeBankCard: 'string',
4279
- payeeName: 'string',
4280
4337
  storeName: 'string',
4281
- salesman: 'string',
4282
- device: 'string',
4338
+ usci: 'string',
4339
+ province: 'string',
4340
+ city: 'string',
4341
+ district: 'string',
4342
+ address: 'string',
4343
+ storeStartDate: 'string',
4344
+ storeEndDate: 'string',
4345
+ storeType: 'string',
4346
+ legalPersonName: 'string',
4347
+ legalPersonIdCard: 'string',
4348
+ legalPersonMobile: 'string',
4349
+ effectiveDate: 'string',
4350
+ bankName: 'string',
4351
+ branchName: 'string',
4352
+ cnapsCode: 'string',
4353
+ accountName: 'string',
4354
+ accountNumber: 'string',
4355
+ bankProvince: 'string',
4356
+ bankCity: 'string',
4357
+ payeeBankCard: 'string',
4358
+ payeeBankName: 'string',
4359
+ loginTenant: 'string',
4360
+ loginDate: 'string',
4283
4361
  };
4284
4362
  }
4285
4363
 
@@ -4799,55 +4877,67 @@ export class CustomRelationStatus extends $tea.Model {
4799
4877
  // 订单车辆信息
4800
4878
  export class VehicleInfo extends $tea.Model {
4801
4879
  // 流量方购物订单号
4802
- bizOrderNo?: string;
4880
+ bizOrderNo: string;
4803
4881
  // 订单[分期]金额,单位:元
4804
- tradeAmount?: string;
4882
+ tradeAmount: string;
4883
+ // 订单分期金额,单位:元
4884
+ installmentAmount?: string;
4805
4885
  // 首付金额,单位:元
4806
4886
  downPayment?: string;
4807
- // 新车指导价,单位:元
4808
- guidePrice?: string;
4809
- // 售价,单位:元
4810
- sellingPrice?: string;
4811
- // 车驾号/SN码,车辆唯一标识
4887
+ // pad设备提供
4888
+ wifiMac?: string;
4889
+ // SN码/中控号(授信后放款前)
4812
4890
  sn?: string;
4891
+ // 车驾号(授信后放款前)
4892
+ frameNo?: string;
4813
4893
  // SKU ID
4814
- sku?: string;
4894
+ sku: string;
4895
+ // 颜色
4896
+ color?: string;
4897
+ // 车型关键词
4898
+ modelKeyword?: string;
4899
+ // 续航里程
4900
+ range?: string;
4901
+ // 新车指导价,单位:元
4902
+ guidePrice: string;
4903
+ // 售价,单位:元
4904
+ sellingPrice: string;
4815
4905
  // 品牌
4816
4906
  brand?: string;
4817
4907
  // 车型
4818
4908
  model?: string;
4819
4909
  // 年款,yyyy
4820
4910
  modelYear?: string;
4821
- // 颜色
4822
- color?: string;
4823
- // 续航里程
4824
- range?: string;
4825
- // 配件信息
4826
- parts?: string;
4827
4911
  // 公里数,Odometer
4828
4912
  odo?: string;
4829
4913
  // 首次上牌时间
4830
4914
  firstRegDate?: string;
4831
4915
  // 过户次数,Ownership Transfer Records
4832
4916
  otr?: string;
4917
+ // 配件信息
4918
+ parts?: string;
4833
4919
  static names(): { [key: string]: string } {
4834
4920
  return {
4835
4921
  bizOrderNo: 'biz_order_no',
4836
4922
  tradeAmount: 'trade_amount',
4923
+ installmentAmount: 'installment_amount',
4837
4924
  downPayment: 'down_payment',
4838
- guidePrice: 'guide_price',
4839
- sellingPrice: 'selling_price',
4925
+ wifiMac: 'wifi_mac',
4840
4926
  sn: 'sn',
4927
+ frameNo: 'frame_no',
4841
4928
  sku: 'sku',
4929
+ color: 'color',
4930
+ modelKeyword: 'model_keyword',
4931
+ range: 'range',
4932
+ guidePrice: 'guide_price',
4933
+ sellingPrice: 'selling_price',
4842
4934
  brand: 'brand',
4843
4935
  model: 'model',
4844
4936
  modelYear: 'model_year',
4845
- color: 'color',
4846
- range: 'range',
4847
- parts: 'parts',
4848
4937
  odo: 'odo',
4849
4938
  firstRegDate: 'first_reg_date',
4850
4939
  otr: 'otr',
4940
+ parts: 'parts',
4851
4941
  };
4852
4942
  }
4853
4943
 
@@ -4855,20 +4945,24 @@ export class VehicleInfo extends $tea.Model {
4855
4945
  return {
4856
4946
  bizOrderNo: 'string',
4857
4947
  tradeAmount: 'string',
4948
+ installmentAmount: 'string',
4858
4949
  downPayment: 'string',
4859
- guidePrice: 'string',
4860
- sellingPrice: 'string',
4950
+ wifiMac: 'string',
4861
4951
  sn: 'string',
4952
+ frameNo: 'string',
4862
4953
  sku: 'string',
4954
+ color: 'string',
4955
+ modelKeyword: 'string',
4956
+ range: 'string',
4957
+ guidePrice: 'string',
4958
+ sellingPrice: 'string',
4863
4959
  brand: 'string',
4864
4960
  model: 'string',
4865
4961
  modelYear: 'string',
4866
- color: 'string',
4867
- range: 'string',
4868
- parts: 'string',
4869
4962
  odo: 'string',
4870
4963
  firstRegDate: 'string',
4871
4964
  otr: 'string',
4965
+ parts: 'string',
4872
4966
  };
4873
4967
  }
4874
4968
 
@@ -5601,6 +5695,8 @@ export class NotifyBenefithubRiskLoginRequest extends $tea.Model {
5601
5695
  userUniqueId: string;
5602
5696
  // 渠道、平台方推送的手机号
5603
5697
  mobile: string;
5698
+ // 产品code必填,后续多产品时可以区分
5699
+ productCode?: string;
5604
5700
  static names(): { [key: string]: string } {
5605
5701
  return {
5606
5702
  authToken: 'auth_token',
@@ -5608,6 +5704,7 @@ export class NotifyBenefithubRiskLoginRequest extends $tea.Model {
5608
5704
  platformCode: 'platform_code',
5609
5705
  userUniqueId: 'user_unique_id',
5610
5706
  mobile: 'mobile',
5707
+ productCode: 'product_code',
5611
5708
  };
5612
5709
  }
5613
5710
 
@@ -5618,6 +5715,7 @@ export class NotifyBenefithubRiskLoginRequest extends $tea.Model {
5618
5715
  platformCode: 'string',
5619
5716
  userUniqueId: 'string',
5620
5717
  mobile: 'string',
5718
+ productCode: 'string',
5621
5719
  };
5622
5720
  }
5623
5721
 
@@ -5633,11 +5731,14 @@ export class NotifyBenefithubRiskLoginResponse extends $tea.Model {
5633
5731
  resultCode?: string;
5634
5732
  // 异常信息的文本描述
5635
5733
  resultMsg?: string;
5734
+ // h5跳转链接
5735
+ h5Url?: string;
5636
5736
  static names(): { [key: string]: string } {
5637
5737
  return {
5638
5738
  reqMsgId: 'req_msg_id',
5639
5739
  resultCode: 'result_code',
5640
5740
  resultMsg: 'result_msg',
5741
+ h5Url: 'h5_url',
5641
5742
  };
5642
5743
  }
5643
5744
 
@@ -5646,6 +5747,7 @@ export class NotifyBenefithubRiskLoginResponse extends $tea.Model {
5646
5747
  reqMsgId: 'string',
5647
5748
  resultCode: 'string',
5648
5749
  resultMsg: 'string',
5750
+ h5Url: 'string',
5649
5751
  };
5650
5752
  }
5651
5753
 
@@ -5721,6 +5823,75 @@ export class BatchqueryCreditshieldProductInfoResponse extends $tea.Model {
5721
5823
  }
5722
5824
  }
5723
5825
 
5826
+ export class QueryProductAmcCallbackRequest extends $tea.Model {
5827
+ // OAuth模式下的授权token
5828
+ authToken?: string;
5829
+ productInstanceId?: string;
5830
+ // 查询编码
5831
+ // 1.支付宝交易流水查询
5832
+ // 2.审批回调
5833
+ queryCode: string;
5834
+ // 查询信息集合
5835
+ queryInfos?: QueryInfo[];
5836
+ static names(): { [key: string]: string } {
5837
+ return {
5838
+ authToken: 'auth_token',
5839
+ productInstanceId: 'product_instance_id',
5840
+ queryCode: 'query_code',
5841
+ queryInfos: 'query_infos',
5842
+ };
5843
+ }
5844
+
5845
+ static types(): { [key: string]: any } {
5846
+ return {
5847
+ authToken: 'string',
5848
+ productInstanceId: 'string',
5849
+ queryCode: 'string',
5850
+ queryInfos: { 'type': 'array', 'itemType': QueryInfo },
5851
+ };
5852
+ }
5853
+
5854
+ constructor(map?: { [key: string]: any }) {
5855
+ super(map);
5856
+ }
5857
+ }
5858
+
5859
+ export class QueryProductAmcCallbackResponse extends $tea.Model {
5860
+ // 请求唯一ID,用于链路跟踪和问题排查
5861
+ reqMsgId?: string;
5862
+ // 结果码,一般OK表示调用成功
5863
+ resultCode?: string;
5864
+ // 异常信息的文本描述
5865
+ resultMsg?: string;
5866
+ // 接口请求是否成功
5867
+ success?: boolean;
5868
+ // 查询结果
5869
+ queryResults?: QueryResult[];
5870
+ static names(): { [key: string]: string } {
5871
+ return {
5872
+ reqMsgId: 'req_msg_id',
5873
+ resultCode: 'result_code',
5874
+ resultMsg: 'result_msg',
5875
+ success: 'success',
5876
+ queryResults: 'query_results',
5877
+ };
5878
+ }
5879
+
5880
+ static types(): { [key: string]: any } {
5881
+ return {
5882
+ reqMsgId: 'string',
5883
+ resultCode: 'string',
5884
+ resultMsg: 'string',
5885
+ success: 'boolean',
5886
+ queryResults: { 'type': 'array', 'itemType': QueryResult },
5887
+ };
5888
+ }
5889
+
5890
+ constructor(map?: { [key: string]: any }) {
5891
+ super(map);
5892
+ }
5893
+ }
5894
+
5724
5895
  export class QuerySecurityPolicyRequest extends $tea.Model {
5725
5896
  // OAuth模式下的授权token
5726
5897
  authToken?: string;
@@ -11675,7 +11846,7 @@ export class QueryDubbridgeInstallmentCreditamtRequest extends $tea.Model {
11675
11846
  // 项目编号
11676
11847
  projectCode: string;
11677
11848
  // 交易金额,单位:元,如199.88(用于筛选额度充足的机构)
11678
- tradeAmount: string;
11849
+ tradeAmount?: string;
11679
11850
  // 身份证号
11680
11851
  cardNo?: string;
11681
11852
  // 客户姓名
@@ -11902,7 +12073,7 @@ export class PushDubbridgeInstallmentSupplementRequest extends $tea.Model {
11902
12073
  // 资产方购物订单号,如二轮车/摩托车订单号
11903
12074
  bizOrderNo: string;
11904
12075
  // 材料场景:2-支用前、3-支用后
11905
- fileScene: string;
12076
+ fileScene?: string;
11906
12077
  // 材料列表
11907
12078
  fileList?: SupplementFile[];
11908
12079
  // 门店信息
@@ -23342,7 +23513,7 @@ export default class Client {
23342
23513
  req_msg_id: AntchainUtil.getNonce(),
23343
23514
  access_key: this._accessKeyId,
23344
23515
  base_sdk_version: "TeaSDK-2.0",
23345
- sdk_version: "1.24.2",
23516
+ sdk_version: "1.24.3",
23346
23517
  _prod_code: "RISKPLUS",
23347
23518
  _prod_channel: "undefined",
23348
23519
  };
@@ -23447,6 +23618,25 @@ export default class Client {
23447
23618
  return $tea.cast<BatchqueryCreditshieldProductInfoResponse>(await this.doRequest("1.0", "riskplus.creditshield.product.info.batchquery", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new BatchqueryCreditshieldProductInfoResponse({}));
23448
23619
  }
23449
23620
 
23621
+ /**
23622
+ * Description: 信护盾amc机构回调通用接口
23623
+ * Summary: 信护盾amc机构回调通用接口
23624
+ */
23625
+ async queryProductAmcCallback(request: QueryProductAmcCallbackRequest): Promise<QueryProductAmcCallbackResponse> {
23626
+ let runtime = new $Util.RuntimeOptions({ });
23627
+ let headers : {[key: string ]: string} = { };
23628
+ return await this.queryProductAmcCallbackEx(request, headers, runtime);
23629
+ }
23630
+
23631
+ /**
23632
+ * Description: 信护盾amc机构回调通用接口
23633
+ * Summary: 信护盾amc机构回调通用接口
23634
+ */
23635
+ async queryProductAmcCallbackEx(request: QueryProductAmcCallbackRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryProductAmcCallbackResponse> {
23636
+ Util.validateModel(request);
23637
+ return $tea.cast<QueryProductAmcCallbackResponse>(await this.doRequest("1.0", "riskplus.product.amc.callback.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryProductAmcCallbackResponse({}));
23638
+ }
23639
+
23450
23640
  /**
23451
23641
  * Description: 风控云风险咨询接口
23452
23642
  * Summary: 风控云风险咨询接口