@antchain/riskplus 1.17.0 → 1.17.1

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
@@ -610,6 +610,19 @@ export declare class SecurityDataQueryStruct extends $tea.Model {
610
610
  [key: string]: any;
611
611
  });
612
612
  }
613
+ export declare class SceneInfos extends $tea.Model {
614
+ decision: string;
615
+ sceneCode: string;
616
+ static names(): {
617
+ [key: string]: string;
618
+ };
619
+ static types(): {
620
+ [key: string]: any;
621
+ };
622
+ constructor(map?: {
623
+ [key: string]: any;
624
+ });
625
+ }
613
626
  export declare class ActionPlanDetailInfo extends $tea.Model {
614
627
  sceneStrategyId: number;
615
628
  sceneStrategyName: string;
@@ -1708,9 +1721,10 @@ export declare class XNameValuePair extends $tea.Model {
1708
1721
  export declare class QuerySecurityPolicyRequest extends $tea.Model {
1709
1722
  authToken?: string;
1710
1723
  productInstanceId?: string;
1711
- riskType: string;
1712
- securityScene: SecurityScene;
1713
- serviceContext: ServiceContext;
1724
+ riskType?: string;
1725
+ securityScene?: SecurityScene;
1726
+ serviceContext?: ServiceContext;
1727
+ eventInfo: string;
1714
1728
  static names(): {
1715
1729
  [key: string]: string;
1716
1730
  };
@@ -1725,7 +1739,6 @@ export declare class QuerySecurityPolicyResponse extends $tea.Model {
1725
1739
  reqMsgId?: string;
1726
1740
  resultCode?: string;
1727
1741
  resultMsg?: string;
1728
- level?: number;
1729
1742
  securityId?: string;
1730
1743
  securityResult?: string;
1731
1744
  success: string;
@@ -1734,6 +1747,7 @@ export declare class QuerySecurityPolicyResponse extends $tea.Model {
1734
1747
  modelDetails?: ModelDetails;
1735
1748
  variableDetails?: VariableDetails;
1736
1749
  strategyDetails?: StrategyDetails;
1750
+ sceneInfos?: SceneInfos;
1737
1751
  static names(): {
1738
1752
  [key: string]: string;
1739
1753
  };
@@ -7047,13 +7061,13 @@ export default class Client {
7047
7061
  [key: string]: any;
7048
7062
  }>;
7049
7063
  /**
7050
- * Description: 外部客户业务接入风控+,进行风险识别和风险决策。
7051
- * Summary: 策略咨询服务输出
7064
+ * Description: 风控云风险咨询接口
7065
+ * Summary: 风控云风险咨询接口
7052
7066
  */
7053
7067
  querySecurityPolicy(request: QuerySecurityPolicyRequest): Promise<QuerySecurityPolicyResponse>;
7054
7068
  /**
7055
- * Description: 外部客户业务接入风控+,进行风险识别和风险决策。
7056
- * Summary: 策略咨询服务输出
7069
+ * Description: 风控云风险咨询接口
7070
+ * Summary: 风控云风险咨询接口
7057
7071
  */
7058
7072
  querySecurityPolicyEx(request: QuerySecurityPolicyRequest, headers: {
7059
7073
  [key: string]: string;
package/dist/client.js CHANGED
@@ -975,6 +975,25 @@ class SecurityDataQueryStruct extends $tea.Model {
975
975
  }
976
976
  }
977
977
  exports.SecurityDataQueryStruct = SecurityDataQueryStruct;
978
+ // 场景决策列表
979
+ class SceneInfos extends $tea.Model {
980
+ constructor(map) {
981
+ super(map);
982
+ }
983
+ static names() {
984
+ return {
985
+ decision: 'decision',
986
+ sceneCode: 'scene_code',
987
+ };
988
+ }
989
+ static types() {
990
+ return {
991
+ decision: 'string',
992
+ sceneCode: 'string',
993
+ };
994
+ }
995
+ }
996
+ exports.SceneInfos = SceneInfos;
978
997
  // 触达策略信息
979
998
  class ActionPlanDetailInfo extends $tea.Model {
980
999
  constructor(map) {
@@ -2773,6 +2792,7 @@ class QuerySecurityPolicyRequest extends $tea.Model {
2773
2792
  riskType: 'risk_type',
2774
2793
  securityScene: 'security_scene',
2775
2794
  serviceContext: 'service_context',
2795
+ eventInfo: 'event_info',
2776
2796
  };
2777
2797
  }
2778
2798
  static types() {
@@ -2782,6 +2802,7 @@ class QuerySecurityPolicyRequest extends $tea.Model {
2782
2802
  riskType: 'string',
2783
2803
  securityScene: SecurityScene,
2784
2804
  serviceContext: ServiceContext,
2805
+ eventInfo: 'string',
2785
2806
  };
2786
2807
  }
2787
2808
  }
@@ -2795,7 +2816,6 @@ class QuerySecurityPolicyResponse extends $tea.Model {
2795
2816
  reqMsgId: 'req_msg_id',
2796
2817
  resultCode: 'result_code',
2797
2818
  resultMsg: 'result_msg',
2798
- level: 'level',
2799
2819
  securityId: 'security_id',
2800
2820
  securityResult: 'security_result',
2801
2821
  success: 'success',
@@ -2804,6 +2824,7 @@ class QuerySecurityPolicyResponse extends $tea.Model {
2804
2824
  modelDetails: 'model_details',
2805
2825
  variableDetails: 'variable_details',
2806
2826
  strategyDetails: 'strategy_details',
2827
+ sceneInfos: 'scene_infos',
2807
2828
  };
2808
2829
  }
2809
2830
  static types() {
@@ -2811,7 +2832,6 @@ class QuerySecurityPolicyResponse extends $tea.Model {
2811
2832
  reqMsgId: 'string',
2812
2833
  resultCode: 'string',
2813
2834
  resultMsg: 'string',
2814
- level: 'number',
2815
2835
  securityId: 'string',
2816
2836
  securityResult: 'string',
2817
2837
  success: 'string',
@@ -2820,6 +2840,7 @@ class QuerySecurityPolicyResponse extends $tea.Model {
2820
2840
  modelDetails: ModelDetails,
2821
2841
  variableDetails: VariableDetails,
2822
2842
  strategyDetails: StrategyDetails,
2843
+ sceneInfos: SceneInfos,
2823
2844
  };
2824
2845
  }
2825
2846
  }
@@ -10968,7 +10989,7 @@ class Client {
10968
10989
  req_msg_id: alipay_util_1.default.getNonce(),
10969
10990
  access_key: this._accessKeyId,
10970
10991
  base_sdk_version: "TeaSDK-2.0",
10971
- sdk_version: "1.17.0",
10992
+ sdk_version: "1.17.1",
10972
10993
  _prod_code: "RISKPLUS",
10973
10994
  _prod_channel: "undefined",
10974
10995
  };
@@ -11006,8 +11027,8 @@ class Client {
11006
11027
  throw $tea.newUnretryableError(_lastRequest);
11007
11028
  }
11008
11029
  /**
11009
- * Description: 外部客户业务接入风控+,进行风险识别和风险决策。
11010
- * Summary: 策略咨询服务输出
11030
+ * Description: 风控云风险咨询接口
11031
+ * Summary: 风控云风险咨询接口
11011
11032
  */
11012
11033
  async querySecurityPolicy(request) {
11013
11034
  let runtime = new $Util.RuntimeOptions({});
@@ -11015,8 +11036,8 @@ class Client {
11015
11036
  return await this.querySecurityPolicyEx(request, headers, runtime);
11016
11037
  }
11017
11038
  /**
11018
- * Description: 外部客户业务接入风控+,进行风险识别和风险决策。
11019
- * Summary: 策略咨询服务输出
11039
+ * Description: 风控云风险咨询接口
11040
+ * Summary: 风控云风险咨询接口
11020
11041
  */
11021
11042
  async querySecurityPolicyEx(request, headers, runtime) {
11022
11043
  tea_util_1.default.validateModel(request);