@antchain/riskplus 1.16.59 → 1.17.0
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 +63 -2
- package/dist/client.js +97 -5
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +141 -10
package/dist/client.d.ts
CHANGED
|
@@ -1573,6 +1573,20 @@ export declare class CpaasSmsTemplate extends $tea.Model {
|
|
|
1573
1573
|
[key: string]: any;
|
|
1574
1574
|
});
|
|
1575
1575
|
}
|
|
1576
|
+
export declare class VariableDetails extends $tea.Model {
|
|
1577
|
+
variableName: string;
|
|
1578
|
+
variableValue: string;
|
|
1579
|
+
variableType: string;
|
|
1580
|
+
static names(): {
|
|
1581
|
+
[key: string]: string;
|
|
1582
|
+
};
|
|
1583
|
+
static types(): {
|
|
1584
|
+
[key: string]: any;
|
|
1585
|
+
};
|
|
1586
|
+
constructor(map?: {
|
|
1587
|
+
[key: string]: any;
|
|
1588
|
+
});
|
|
1589
|
+
}
|
|
1576
1590
|
export declare class RtopCompanyOpinionDetail extends $tea.Model {
|
|
1577
1591
|
docContent: string;
|
|
1578
1592
|
docId: string;
|
|
@@ -1715,10 +1729,11 @@ export declare class QuerySecurityPolicyResponse extends $tea.Model {
|
|
|
1715
1729
|
securityId?: string;
|
|
1716
1730
|
securityResult?: string;
|
|
1717
1731
|
success: string;
|
|
1718
|
-
templateCode?: string;
|
|
1719
|
-
templateDesc?: string;
|
|
1720
1732
|
verifyId?: string;
|
|
1721
1733
|
verifyUrl?: string;
|
|
1734
|
+
modelDetails?: ModelDetails;
|
|
1735
|
+
variableDetails?: VariableDetails;
|
|
1736
|
+
strategyDetails?: StrategyDetails;
|
|
1722
1737
|
static names(): {
|
|
1723
1738
|
[key: string]: string;
|
|
1724
1739
|
};
|
|
@@ -5754,6 +5769,40 @@ export declare class QuerySnapshotEventResponse extends $tea.Model {
|
|
|
5754
5769
|
[key: string]: any;
|
|
5755
5770
|
});
|
|
5756
5771
|
}
|
|
5772
|
+
export declare class QueryTdisaasSecurityPolicyRequest extends $tea.Model {
|
|
5773
|
+
authToken?: string;
|
|
5774
|
+
productInstanceId?: string;
|
|
5775
|
+
eventInfo: EventInfo;
|
|
5776
|
+
riskType: string;
|
|
5777
|
+
static names(): {
|
|
5778
|
+
[key: string]: string;
|
|
5779
|
+
};
|
|
5780
|
+
static types(): {
|
|
5781
|
+
[key: string]: any;
|
|
5782
|
+
};
|
|
5783
|
+
constructor(map?: {
|
|
5784
|
+
[key: string]: any;
|
|
5785
|
+
});
|
|
5786
|
+
}
|
|
5787
|
+
export declare class QueryTdisaasSecurityPolicyResponse extends $tea.Model {
|
|
5788
|
+
reqMsgId?: string;
|
|
5789
|
+
resultCode?: string;
|
|
5790
|
+
resultMsg?: string;
|
|
5791
|
+
modelDetails?: ModelDetails[];
|
|
5792
|
+
securityId?: string;
|
|
5793
|
+
securityResult?: string;
|
|
5794
|
+
strategyDetails?: StrategyDetails[];
|
|
5795
|
+
dfSceneInfos?: DfSceneInfos[];
|
|
5796
|
+
static names(): {
|
|
5797
|
+
[key: string]: string;
|
|
5798
|
+
};
|
|
5799
|
+
static types(): {
|
|
5800
|
+
[key: string]: any;
|
|
5801
|
+
};
|
|
5802
|
+
constructor(map?: {
|
|
5803
|
+
[key: string]: any;
|
|
5804
|
+
});
|
|
5805
|
+
}
|
|
5757
5806
|
export declare class UploadUmktParamsFileRequest extends $tea.Model {
|
|
5758
5807
|
authToken?: string;
|
|
5759
5808
|
productInstanceId?: string;
|
|
@@ -8427,6 +8476,18 @@ export default class Client {
|
|
|
8427
8476
|
querySnapshotEventEx(request: QuerySnapshotEventRequest, headers: {
|
|
8428
8477
|
[key: string]: string;
|
|
8429
8478
|
}, runtime: $Util.RuntimeOptions): Promise<QuerySnapshotEventResponse>;
|
|
8479
|
+
/**
|
|
8480
|
+
* Description: saas风险咨询,决策流模式
|
|
8481
|
+
* Summary: saas风险咨询
|
|
8482
|
+
*/
|
|
8483
|
+
queryTdisaasSecurityPolicy(request: QueryTdisaasSecurityPolicyRequest): Promise<QueryTdisaasSecurityPolicyResponse>;
|
|
8484
|
+
/**
|
|
8485
|
+
* Description: saas风险咨询,决策流模式
|
|
8486
|
+
* Summary: saas风险咨询
|
|
8487
|
+
*/
|
|
8488
|
+
queryTdisaasSecurityPolicyEx(request: QueryTdisaasSecurityPolicyRequest, headers: {
|
|
8489
|
+
[key: string]: string;
|
|
8490
|
+
}, runtime: $Util.RuntimeOptions): Promise<QueryTdisaasSecurityPolicyResponse>;
|
|
8430
8491
|
/**
|
|
8431
8492
|
* Description: 营销盾批量参数文件上传接口
|
|
8432
8493
|
* Summary: 营销盾参数文件上传
|
package/dist/client.js
CHANGED
|
@@ -2554,6 +2554,27 @@ class CpaasSmsTemplate extends $tea.Model {
|
|
|
2554
2554
|
}
|
|
2555
2555
|
}
|
|
2556
2556
|
exports.CpaasSmsTemplate = CpaasSmsTemplate;
|
|
2557
|
+
// 输出变量列表
|
|
2558
|
+
class VariableDetails extends $tea.Model {
|
|
2559
|
+
constructor(map) {
|
|
2560
|
+
super(map);
|
|
2561
|
+
}
|
|
2562
|
+
static names() {
|
|
2563
|
+
return {
|
|
2564
|
+
variableName: 'variable_name',
|
|
2565
|
+
variableValue: 'variable_value',
|
|
2566
|
+
variableType: 'variable_type',
|
|
2567
|
+
};
|
|
2568
|
+
}
|
|
2569
|
+
static types() {
|
|
2570
|
+
return {
|
|
2571
|
+
variableName: 'string',
|
|
2572
|
+
variableValue: 'string',
|
|
2573
|
+
variableType: 'string',
|
|
2574
|
+
};
|
|
2575
|
+
}
|
|
2576
|
+
}
|
|
2577
|
+
exports.VariableDetails = VariableDetails;
|
|
2557
2578
|
// 舆情的详情
|
|
2558
2579
|
class RtopCompanyOpinionDetail extends $tea.Model {
|
|
2559
2580
|
constructor(map) {
|
|
@@ -2778,10 +2799,11 @@ class QuerySecurityPolicyResponse extends $tea.Model {
|
|
|
2778
2799
|
securityId: 'security_id',
|
|
2779
2800
|
securityResult: 'security_result',
|
|
2780
2801
|
success: 'success',
|
|
2781
|
-
templateCode: 'template_code',
|
|
2782
|
-
templateDesc: 'template_desc',
|
|
2783
2802
|
verifyId: 'verify_id',
|
|
2784
2803
|
verifyUrl: 'verify_url',
|
|
2804
|
+
modelDetails: 'model_details',
|
|
2805
|
+
variableDetails: 'variable_details',
|
|
2806
|
+
strategyDetails: 'strategy_details',
|
|
2785
2807
|
};
|
|
2786
2808
|
}
|
|
2787
2809
|
static types() {
|
|
@@ -2793,10 +2815,11 @@ class QuerySecurityPolicyResponse extends $tea.Model {
|
|
|
2793
2815
|
securityId: 'string',
|
|
2794
2816
|
securityResult: 'string',
|
|
2795
2817
|
success: 'string',
|
|
2796
|
-
templateCode: 'string',
|
|
2797
|
-
templateDesc: 'string',
|
|
2798
2818
|
verifyId: 'string',
|
|
2799
2819
|
verifyUrl: 'string',
|
|
2820
|
+
modelDetails: ModelDetails,
|
|
2821
|
+
variableDetails: VariableDetails,
|
|
2822
|
+
strategyDetails: StrategyDetails,
|
|
2800
2823
|
};
|
|
2801
2824
|
}
|
|
2802
2825
|
}
|
|
@@ -8963,6 +8986,58 @@ class QuerySnapshotEventResponse extends $tea.Model {
|
|
|
8963
8986
|
}
|
|
8964
8987
|
}
|
|
8965
8988
|
exports.QuerySnapshotEventResponse = QuerySnapshotEventResponse;
|
|
8989
|
+
class QueryTdisaasSecurityPolicyRequest extends $tea.Model {
|
|
8990
|
+
constructor(map) {
|
|
8991
|
+
super(map);
|
|
8992
|
+
}
|
|
8993
|
+
static names() {
|
|
8994
|
+
return {
|
|
8995
|
+
authToken: 'auth_token',
|
|
8996
|
+
productInstanceId: 'product_instance_id',
|
|
8997
|
+
eventInfo: 'event_info',
|
|
8998
|
+
riskType: 'risk_type',
|
|
8999
|
+
};
|
|
9000
|
+
}
|
|
9001
|
+
static types() {
|
|
9002
|
+
return {
|
|
9003
|
+
authToken: 'string',
|
|
9004
|
+
productInstanceId: 'string',
|
|
9005
|
+
eventInfo: EventInfo,
|
|
9006
|
+
riskType: 'string',
|
|
9007
|
+
};
|
|
9008
|
+
}
|
|
9009
|
+
}
|
|
9010
|
+
exports.QueryTdisaasSecurityPolicyRequest = QueryTdisaasSecurityPolicyRequest;
|
|
9011
|
+
class QueryTdisaasSecurityPolicyResponse extends $tea.Model {
|
|
9012
|
+
constructor(map) {
|
|
9013
|
+
super(map);
|
|
9014
|
+
}
|
|
9015
|
+
static names() {
|
|
9016
|
+
return {
|
|
9017
|
+
reqMsgId: 'req_msg_id',
|
|
9018
|
+
resultCode: 'result_code',
|
|
9019
|
+
resultMsg: 'result_msg',
|
|
9020
|
+
modelDetails: 'model_details',
|
|
9021
|
+
securityId: 'security_id',
|
|
9022
|
+
securityResult: 'security_result',
|
|
9023
|
+
strategyDetails: 'strategy_details',
|
|
9024
|
+
dfSceneInfos: 'df_scene_infos',
|
|
9025
|
+
};
|
|
9026
|
+
}
|
|
9027
|
+
static types() {
|
|
9028
|
+
return {
|
|
9029
|
+
reqMsgId: 'string',
|
|
9030
|
+
resultCode: 'string',
|
|
9031
|
+
resultMsg: 'string',
|
|
9032
|
+
modelDetails: { 'type': 'array', 'itemType': ModelDetails },
|
|
9033
|
+
securityId: 'string',
|
|
9034
|
+
securityResult: 'string',
|
|
9035
|
+
strategyDetails: { 'type': 'array', 'itemType': StrategyDetails },
|
|
9036
|
+
dfSceneInfos: { 'type': 'array', 'itemType': DfSceneInfos },
|
|
9037
|
+
};
|
|
9038
|
+
}
|
|
9039
|
+
}
|
|
9040
|
+
exports.QueryTdisaasSecurityPolicyResponse = QueryTdisaasSecurityPolicyResponse;
|
|
8966
9041
|
class UploadUmktParamsFileRequest extends $tea.Model {
|
|
8967
9042
|
constructor(map) {
|
|
8968
9043
|
super(map);
|
|
@@ -10893,7 +10968,7 @@ class Client {
|
|
|
10893
10968
|
req_msg_id: alipay_util_1.default.getNonce(),
|
|
10894
10969
|
access_key: this._accessKeyId,
|
|
10895
10970
|
base_sdk_version: "TeaSDK-2.0",
|
|
10896
|
-
sdk_version: "1.
|
|
10971
|
+
sdk_version: "1.17.0",
|
|
10897
10972
|
_prod_code: "RISKPLUS",
|
|
10898
10973
|
_prod_channel: "undefined",
|
|
10899
10974
|
};
|
|
@@ -13031,6 +13106,23 @@ class Client {
|
|
|
13031
13106
|
tea_util_1.default.validateModel(request);
|
|
13032
13107
|
return $tea.cast(await this.doRequest("1.0", "riskplus.snapshot.event.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QuerySnapshotEventResponse({}));
|
|
13033
13108
|
}
|
|
13109
|
+
/**
|
|
13110
|
+
* Description: saas风险咨询,决策流模式
|
|
13111
|
+
* Summary: saas风险咨询
|
|
13112
|
+
*/
|
|
13113
|
+
async queryTdisaasSecurityPolicy(request) {
|
|
13114
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
13115
|
+
let headers = {};
|
|
13116
|
+
return await this.queryTdisaasSecurityPolicyEx(request, headers, runtime);
|
|
13117
|
+
}
|
|
13118
|
+
/**
|
|
13119
|
+
* Description: saas风险咨询,决策流模式
|
|
13120
|
+
* Summary: saas风险咨询
|
|
13121
|
+
*/
|
|
13122
|
+
async queryTdisaasSecurityPolicyEx(request, headers, runtime) {
|
|
13123
|
+
tea_util_1.default.validateModel(request);
|
|
13124
|
+
return $tea.cast(await this.doRequest("1.0", "riskplus.tdisaas.security.policy.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryTdisaasSecurityPolicyResponse({}));
|
|
13125
|
+
}
|
|
13034
13126
|
/**
|
|
13035
13127
|
* Description: 营销盾批量参数文件上传接口
|
|
13036
13128
|
* Summary: 营销盾参数文件上传
|