@antchain/riskplus 1.24.4 → 1.24.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.24.4",
3
+ "version": "1.24.7",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -3433,6 +3433,10 @@ export class ReceiptInfo extends $tea.Model {
3433
3433
  workflowStatus: string;
3434
3434
  // 借据编号
3435
3435
  receiptNo: string;
3436
+ // 放款状态(0:放款成功 1:放款失败 2:放款异常 3:放款中)
3437
+ loanStatus?: string;
3438
+ // 业务类型 1:现金贷(默认)、2:分期付
3439
+ prodType?: string;
3436
3440
  static names(): { [key: string]: string } {
3437
3441
  return {
3438
3442
  customName: 'custom_name',
@@ -3451,6 +3455,8 @@ export class ReceiptInfo extends $tea.Model {
3451
3455
  alreadyDate: 'already_date',
3452
3456
  workflowStatus: 'workflow_status',
3453
3457
  receiptNo: 'receipt_no',
3458
+ loanStatus: 'loan_status',
3459
+ prodType: 'prod_type',
3454
3460
  };
3455
3461
  }
3456
3462
 
@@ -3472,6 +3478,8 @@ export class ReceiptInfo extends $tea.Model {
3472
3478
  alreadyDate: 'string',
3473
3479
  workflowStatus: 'string',
3474
3480
  receiptNo: 'string',
3481
+ loanStatus: 'string',
3482
+ prodType: 'string',
3475
3483
  };
3476
3484
  }
3477
3485
 
@@ -5823,7 +5831,7 @@ export class BatchqueryCreditshieldProductInfoResponse extends $tea.Model {
5823
5831
  }
5824
5832
  }
5825
5833
 
5826
- export class QueryProductAmcCallbackRequest extends $tea.Model {
5834
+ export class QueryCreditshieldProductCallbackRequest extends $tea.Model {
5827
5835
  // OAuth模式下的授权token
5828
5836
  authToken?: string;
5829
5837
  productInstanceId?: string;
@@ -5856,7 +5864,7 @@ export class QueryProductAmcCallbackRequest extends $tea.Model {
5856
5864
  }
5857
5865
  }
5858
5866
 
5859
- export class QueryProductAmcCallbackResponse extends $tea.Model {
5867
+ export class QueryCreditshieldProductCallbackResponse extends $tea.Model {
5860
5868
  // 请求唯一ID,用于链路跟踪和问题排查
5861
5869
  reqMsgId?: string;
5862
5870
  // 结果码,一般OK表示调用成功
@@ -10497,9 +10505,9 @@ export class QueryDubbridgeUsecreditStatusRequest extends $tea.Model {
10497
10505
  // 1:现金贷(默认)
10498
10506
  // 2:分期付
10499
10507
  prodType?: string;
10500
- // prod_type=1时,用信申请的订单号
10501
- originalOrderNo: string;
10502
- // 资产方购物订单号
10508
+ // 天枢系统用信申请的订单号
10509
+ originalOrderNo?: string;
10510
+ // 购物订单号,如二轮车/摩托车订单号
10503
10511
  bizOrderNo?: string;
10504
10512
  static names(): { [key: string]: string } {
10505
10513
  return {
@@ -14726,16 +14734,12 @@ export class UploadQmpOfflinehostplanRequest extends $tea.Model {
14726
14734
  fileObject?: Readable;
14727
14735
  fileObjectName?: string;
14728
14736
  fileId: string;
14729
- // MOBILE/MOBILE_MD5/OAID/IDFA/IMEI选择其中一种
14737
+ // MOBILE/MOBILE_MD5/OAID/IDFA/IMEI/CAID选择其中一种
14730
14738
  fileTemplate: string;
14731
14739
  // plancode,托管计划编码
14732
14740
  planCode: string;
14733
- // OFFLINE_DECISION/OFFLINE_DECISION_ACTION,默认OFFLINE_DECISION_ACTION
14734
- relationType?: string;
14735
14741
  // properties的header,其他的为ext_info,
14736
14742
  properties?: string;
14737
- // 默认为false
14738
- needToRefactor?: boolean;
14739
14743
  static names(): { [key: string]: string } {
14740
14744
  return {
14741
14745
  authToken: 'auth_token',
@@ -14745,9 +14749,7 @@ export class UploadQmpOfflinehostplanRequest extends $tea.Model {
14745
14749
  fileId: 'file_id',
14746
14750
  fileTemplate: 'file_template',
14747
14751
  planCode: 'plan_code',
14748
- relationType: 'relation_type',
14749
14752
  properties: 'properties',
14750
- needToRefactor: 'need_to_refactor',
14751
14753
  };
14752
14754
  }
14753
14755
 
@@ -14760,9 +14762,7 @@ export class UploadQmpOfflinehostplanRequest extends $tea.Model {
14760
14762
  fileId: 'string',
14761
14763
  fileTemplate: 'string',
14762
14764
  planCode: 'string',
14763
- relationType: 'string',
14764
14765
  properties: 'string',
14765
- needToRefactor: 'boolean',
14766
14766
  };
14767
14767
  }
14768
14768
 
@@ -15436,6 +15436,81 @@ export class UploadRfcAiboundFileResponse extends $tea.Model {
15436
15436
  }
15437
15437
  }
15438
15438
 
15439
+ export class QueryRfcOdpsLindormRequest extends $tea.Model {
15440
+ // OAuth模式下的授权token
15441
+ authToken?: string;
15442
+ productInstanceId?: string;
15443
+ // 服务编码
15444
+ bizCode: string;
15445
+ // 加密后的唯一id
15446
+ keyId: string;
15447
+ // 渠道code
15448
+ channelCode: string;
15449
+ // 授权码
15450
+ authCode?: string;
15451
+ // 加密方式
15452
+ encryptType?: string;
15453
+ static names(): { [key: string]: string } {
15454
+ return {
15455
+ authToken: 'auth_token',
15456
+ productInstanceId: 'product_instance_id',
15457
+ bizCode: 'biz_code',
15458
+ keyId: 'key_id',
15459
+ channelCode: 'channel_code',
15460
+ authCode: 'auth_code',
15461
+ encryptType: 'encrypt_type',
15462
+ };
15463
+ }
15464
+
15465
+ static types(): { [key: string]: any } {
15466
+ return {
15467
+ authToken: 'string',
15468
+ productInstanceId: 'string',
15469
+ bizCode: 'string',
15470
+ keyId: 'string',
15471
+ channelCode: 'string',
15472
+ authCode: 'string',
15473
+ encryptType: 'string',
15474
+ };
15475
+ }
15476
+
15477
+ constructor(map?: { [key: string]: any }) {
15478
+ super(map);
15479
+ }
15480
+ }
15481
+
15482
+ export class QueryRfcOdpsLindormResponse extends $tea.Model {
15483
+ // 请求唯一ID,用于链路跟踪和问题排查
15484
+ reqMsgId?: string;
15485
+ // 结果码,一般OK表示调用成功
15486
+ resultCode?: string;
15487
+ // 异常信息的文本描述
15488
+ resultMsg?: string;
15489
+ // 查询结果
15490
+ jsonRes?: string;
15491
+ static names(): { [key: string]: string } {
15492
+ return {
15493
+ reqMsgId: 'req_msg_id',
15494
+ resultCode: 'result_code',
15495
+ resultMsg: 'result_msg',
15496
+ jsonRes: 'json_res',
15497
+ };
15498
+ }
15499
+
15500
+ static types(): { [key: string]: any } {
15501
+ return {
15502
+ reqMsgId: 'string',
15503
+ resultCode: 'string',
15504
+ resultMsg: 'string',
15505
+ jsonRes: 'string',
15506
+ };
15507
+ }
15508
+
15509
+ constructor(map?: { [key: string]: any }) {
15510
+ super(map);
15511
+ }
15512
+ }
15513
+
15439
15514
  export class QueryRbbGenericInvokeRequest extends $tea.Model {
15440
15515
  // OAuth模式下的授权token
15441
15516
  authToken?: string;
@@ -23513,7 +23588,7 @@ export default class Client {
23513
23588
  req_msg_id: AntchainUtil.getNonce(),
23514
23589
  access_key: this._accessKeyId,
23515
23590
  base_sdk_version: "TeaSDK-2.0",
23516
- sdk_version: "1.24.4",
23591
+ sdk_version: "1.24.7",
23517
23592
  _prod_code: "RISKPLUS",
23518
23593
  _prod_channel: "undefined",
23519
23594
  };
@@ -23622,19 +23697,19 @@ export default class Client {
23622
23697
  * Description: 信护盾amc机构回调通用接口
23623
23698
  * Summary: 信护盾amc机构回调通用接口
23624
23699
  */
23625
- async queryProductAmcCallback(request: QueryProductAmcCallbackRequest): Promise<QueryProductAmcCallbackResponse> {
23700
+ async queryCreditshieldProductCallback(request: QueryCreditshieldProductCallbackRequest): Promise<QueryCreditshieldProductCallbackResponse> {
23626
23701
  let runtime = new $Util.RuntimeOptions({ });
23627
23702
  let headers : {[key: string ]: string} = { };
23628
- return await this.queryProductAmcCallbackEx(request, headers, runtime);
23703
+ return await this.queryCreditshieldProductCallbackEx(request, headers, runtime);
23629
23704
  }
23630
23705
 
23631
23706
  /**
23632
23707
  * Description: 信护盾amc机构回调通用接口
23633
23708
  * Summary: 信护盾amc机构回调通用接口
23634
23709
  */
23635
- async queryProductAmcCallbackEx(request: QueryProductAmcCallbackRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryProductAmcCallbackResponse> {
23710
+ async queryCreditshieldProductCallbackEx(request: QueryCreditshieldProductCallbackRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryCreditshieldProductCallbackResponse> {
23636
23711
  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({}));
23712
+ return $tea.cast<QueryCreditshieldProductCallbackResponse>(await this.doRequest("1.0", "riskplus.creditshield.product.callback.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryCreditshieldProductCallbackResponse({}));
23638
23713
  }
23639
23714
 
23640
23715
  /**
@@ -25737,7 +25812,7 @@ export default class Client {
25737
25812
  }
25738
25813
 
25739
25814
  /**
25740
- * Description: qmp离线托管文件导入
25815
+ * Description: 11
25741
25816
  * Summary: qmp离线托管文件导入
25742
25817
  */
25743
25818
  async uploadQmpOfflinehostplan(request: UploadQmpOfflinehostplanRequest): Promise<UploadQmpOfflinehostplanResponse> {
@@ -25747,7 +25822,7 @@ export default class Client {
25747
25822
  }
25748
25823
 
25749
25824
  /**
25750
- * Description: qmp离线托管文件导入
25825
+ * Description: 11
25751
25826
  * Summary: qmp离线托管文件导入
25752
25827
  */
25753
25828
  async uploadQmpOfflinehostplanEx(request: UploadQmpOfflinehostplanRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UploadQmpOfflinehostplanResponse> {
@@ -25973,6 +26048,25 @@ export default class Client {
25973
26048
  return $tea.cast<UploadRfcAiboundFileResponse>(await this.doRequest("1.0", "riskplus.rfc.aibound.file.upload", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new UploadRfcAiboundFileResponse({}));
25974
26049
  }
25975
26050
 
26051
+ /**
26052
+ * Description: 提供给外部的数据服务接口内容获取
26053
+ * Summary: 提供给外部的数据服务接口内容获取
26054
+ */
26055
+ async queryRfcOdpsLindorm(request: QueryRfcOdpsLindormRequest): Promise<QueryRfcOdpsLindormResponse> {
26056
+ let runtime = new $Util.RuntimeOptions({ });
26057
+ let headers : {[key: string ]: string} = { };
26058
+ return await this.queryRfcOdpsLindormEx(request, headers, runtime);
26059
+ }
26060
+
26061
+ /**
26062
+ * Description: 提供给外部的数据服务接口内容获取
26063
+ * Summary: 提供给外部的数据服务接口内容获取
26064
+ */
26065
+ async queryRfcOdpsLindormEx(request: QueryRfcOdpsLindormRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryRfcOdpsLindormResponse> {
26066
+ Util.validateModel(request);
26067
+ return $tea.cast<QueryRfcOdpsLindormResponse>(await this.doRequest("1.0", "riskplus.rfc.odps.lindorm.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryRfcOdpsLindormResponse({}));
26068
+ }
26069
+
25976
26070
  /**
25977
26071
  * Description: 风险大脑企业版通用查询接口
25978
26072
  * Summary: 【已废弃】