@antchain/riskplus 1.16.22 → 1.16.23

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.16.22",
3
+ "version": "1.16.23",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -6256,7 +6256,7 @@ export class VerifyDubbridgeCustomerBankcardRequest extends $tea.Model {
6256
6256
  // 订单号
6257
6257
  orderNo?: string;
6258
6258
  // 客户号
6259
- customNo?: string;
6259
+ customerNo?: string;
6260
6260
  // 绑卡流水
6261
6261
  bindSerialNo: string;
6262
6262
  // 绑卡验证码
@@ -6270,7 +6270,7 @@ export class VerifyDubbridgeCustomerBankcardRequest extends $tea.Model {
6270
6270
  authToken: 'auth_token',
6271
6271
  productInstanceId: 'product_instance_id',
6272
6272
  orderNo: 'order_no',
6273
- customNo: 'custom_no',
6273
+ customerNo: 'customer_no',
6274
6274
  bindSerialNo: 'bind_serial_no',
6275
6275
  bindValidCode: 'bind_valid_code',
6276
6276
  bankCardNo: 'bank_card_no',
@@ -6283,7 +6283,7 @@ export class VerifyDubbridgeCustomerBankcardRequest extends $tea.Model {
6283
6283
  authToken: 'string',
6284
6284
  productInstanceId: 'string',
6285
6285
  orderNo: 'string',
6286
- customNo: 'string',
6286
+ customerNo: 'string',
6287
6287
  bindSerialNo: 'string',
6288
6288
  bindValidCode: 'string',
6289
6289
  bankCardNo: 'string',
@@ -8693,6 +8693,132 @@ export class QueryDubbridgeCreditPermitResponse extends $tea.Model {
8693
8693
  }
8694
8694
  }
8695
8695
 
8696
+ export class QueryDubbridgeUserUpgradestatusRequest extends $tea.Model {
8697
+ // OAuth模式下的授权token
8698
+ authToken?: string;
8699
+ productInstanceId?: string;
8700
+ // 资产方用户唯一标识
8701
+ openId?: string;
8702
+ // 天枢客户编号
8703
+ customerNo?: string;
8704
+ static names(): { [key: string]: string } {
8705
+ return {
8706
+ authToken: 'auth_token',
8707
+ productInstanceId: 'product_instance_id',
8708
+ openId: 'open_id',
8709
+ customerNo: 'customer_no',
8710
+ };
8711
+ }
8712
+
8713
+ static types(): { [key: string]: any } {
8714
+ return {
8715
+ authToken: 'string',
8716
+ productInstanceId: 'string',
8717
+ openId: 'string',
8718
+ customerNo: 'string',
8719
+ };
8720
+ }
8721
+
8722
+ constructor(map?: { [key: string]: any }) {
8723
+ super(map);
8724
+ }
8725
+ }
8726
+
8727
+ export class QueryDubbridgeUserUpgradestatusResponse extends $tea.Model {
8728
+ // 请求唯一ID,用于链路跟踪和问题排查
8729
+ reqMsgId?: string;
8730
+ // 结果码,一般OK表示调用成功
8731
+ resultCode?: string;
8732
+ // 异常信息的文本描述
8733
+ resultMsg?: string;
8734
+ // 用户状态:0已升级,1未升级
8735
+ status?: string;
8736
+ static names(): { [key: string]: string } {
8737
+ return {
8738
+ reqMsgId: 'req_msg_id',
8739
+ resultCode: 'result_code',
8740
+ resultMsg: 'result_msg',
8741
+ status: 'status',
8742
+ };
8743
+ }
8744
+
8745
+ static types(): { [key: string]: any } {
8746
+ return {
8747
+ reqMsgId: 'string',
8748
+ resultCode: 'string',
8749
+ resultMsg: 'string',
8750
+ status: 'string',
8751
+ };
8752
+ }
8753
+
8754
+ constructor(map?: { [key: string]: any }) {
8755
+ super(map);
8756
+ }
8757
+ }
8758
+
8759
+ export class QueryDubbridgeLoanUpgradestatusRequest extends $tea.Model {
8760
+ // OAuth模式下的授权token
8761
+ authToken?: string;
8762
+ productInstanceId?: string;
8763
+ // 用信申请订单号(资产方)
8764
+ originalOrderNo?: string;
8765
+ // 借据编号
8766
+ receiptNo?: string;
8767
+ static names(): { [key: string]: string } {
8768
+ return {
8769
+ authToken: 'auth_token',
8770
+ productInstanceId: 'product_instance_id',
8771
+ originalOrderNo: 'original_order_no',
8772
+ receiptNo: 'receipt_no',
8773
+ };
8774
+ }
8775
+
8776
+ static types(): { [key: string]: any } {
8777
+ return {
8778
+ authToken: 'string',
8779
+ productInstanceId: 'string',
8780
+ originalOrderNo: 'string',
8781
+ receiptNo: 'string',
8782
+ };
8783
+ }
8784
+
8785
+ constructor(map?: { [key: string]: any }) {
8786
+ super(map);
8787
+ }
8788
+ }
8789
+
8790
+ export class QueryDubbridgeLoanUpgradestatusResponse extends $tea.Model {
8791
+ // 请求唯一ID,用于链路跟踪和问题排查
8792
+ reqMsgId?: string;
8793
+ // 结果码,一般OK表示调用成功
8794
+ resultCode?: string;
8795
+ // 异常信息的文本描述
8796
+ resultMsg?: string;
8797
+ // 借据状态:0存量,1增量
8798
+ status?: string;
8799
+ static names(): { [key: string]: string } {
8800
+ return {
8801
+ reqMsgId: 'req_msg_id',
8802
+ resultCode: 'result_code',
8803
+ resultMsg: 'result_msg',
8804
+ status: 'status',
8805
+ };
8806
+ }
8807
+
8808
+ static types(): { [key: string]: any } {
8809
+ return {
8810
+ reqMsgId: 'string',
8811
+ resultCode: 'string',
8812
+ resultMsg: 'string',
8813
+ status: 'string',
8814
+ };
8815
+ }
8816
+
8817
+ constructor(map?: { [key: string]: any }) {
8818
+ super(map);
8819
+ }
8820
+ }
8821
+
8696
8822
  export class VerifyFinserviceZhimaIdentifyRequest extends $tea.Model {
8697
8823
  // OAuth模式下的授权token
8698
8824
  authToken?: string;
@@ -14782,7 +14908,7 @@ export default class Client {
14782
14908
  req_msg_id: AntchainUtil.getNonce(),
14783
14909
  access_key: this._accessKeyId,
14784
14910
  base_sdk_version: "TeaSDK-2.0",
14785
- sdk_version: "1.16.22",
14911
+ sdk_version: "1.16.23",
14786
14912
  _prod_code: "RISKPLUS",
14787
14913
  _prod_channel: "undefined",
14788
14914
  };
@@ -15972,6 +16098,44 @@ export default class Client {
15972
16098
  return $tea.cast<QueryDubbridgeCreditPermitResponse>(await this.doRequest("1.0", "riskplus.dubbridge.credit.permit.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDubbridgeCreditPermitResponse({}));
15973
16099
  }
15974
16100
 
16101
+ /**
16102
+ * Description: 用户状态判断
16103
+ * Summary: 用户状态判断
16104
+ */
16105
+ async queryDubbridgeUserUpgradestatus(request: QueryDubbridgeUserUpgradestatusRequest): Promise<QueryDubbridgeUserUpgradestatusResponse> {
16106
+ let runtime = new $Util.RuntimeOptions({ });
16107
+ let headers : {[key: string ]: string} = { };
16108
+ return await this.queryDubbridgeUserUpgradestatusEx(request, headers, runtime);
16109
+ }
16110
+
16111
+ /**
16112
+ * Description: 用户状态判断
16113
+ * Summary: 用户状态判断
16114
+ */
16115
+ async queryDubbridgeUserUpgradestatusEx(request: QueryDubbridgeUserUpgradestatusRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryDubbridgeUserUpgradestatusResponse> {
16116
+ Util.validateModel(request);
16117
+ return $tea.cast<QueryDubbridgeUserUpgradestatusResponse>(await this.doRequest("1.0", "riskplus.dubbridge.user.upgradestatus.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDubbridgeUserUpgradestatusResponse({}));
16118
+ }
16119
+
16120
+ /**
16121
+ * Description: 借据状态判断
16122
+ * Summary: 借据状态判断
16123
+ */
16124
+ async queryDubbridgeLoanUpgradestatus(request: QueryDubbridgeLoanUpgradestatusRequest): Promise<QueryDubbridgeLoanUpgradestatusResponse> {
16125
+ let runtime = new $Util.RuntimeOptions({ });
16126
+ let headers : {[key: string ]: string} = { };
16127
+ return await this.queryDubbridgeLoanUpgradestatusEx(request, headers, runtime);
16128
+ }
16129
+
16130
+ /**
16131
+ * Description: 借据状态判断
16132
+ * Summary: 借据状态判断
16133
+ */
16134
+ async queryDubbridgeLoanUpgradestatusEx(request: QueryDubbridgeLoanUpgradestatusRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryDubbridgeLoanUpgradestatusResponse> {
16135
+ Util.validateModel(request);
16136
+ return $tea.cast<QueryDubbridgeLoanUpgradestatusResponse>(await this.doRequest("1.0", "riskplus.dubbridge.loan.upgradestatus.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDubbridgeLoanUpgradestatusResponse({}));
16137
+ }
16138
+
15975
16139
  /**
15976
16140
  * Description: 四要素认证首先调用此接口
15977
16141
  * Summary: 芝麻四要素接口