@antchain/riskplus 1.16.57 → 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 +66 -2
- package/dist/client.js +103 -5
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +152 -9
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;
|
|
@@ -6563,6 +6612,7 @@ export declare class CallbackUmktRobotcallRequest extends $tea.Model {
|
|
|
6563
6612
|
tag?: string;
|
|
6564
6613
|
callId: string;
|
|
6565
6614
|
taskId: number;
|
|
6615
|
+
taskName: string;
|
|
6566
6616
|
templateId?: number;
|
|
6567
6617
|
statusCode: number;
|
|
6568
6618
|
statusDescription: string;
|
|
@@ -6669,6 +6719,8 @@ export declare class CallbackUmktSmsReportRequest extends $tea.Model {
|
|
|
6669
6719
|
bizId: string;
|
|
6670
6720
|
bizProperties: string;
|
|
6671
6721
|
smsType?: string;
|
|
6722
|
+
serviceProvider: string;
|
|
6723
|
+
city?: string;
|
|
6672
6724
|
static names(): {
|
|
6673
6725
|
[key: string]: string;
|
|
6674
6726
|
};
|
|
@@ -8424,6 +8476,18 @@ export default class Client {
|
|
|
8424
8476
|
querySnapshotEventEx(request: QuerySnapshotEventRequest, headers: {
|
|
8425
8477
|
[key: string]: string;
|
|
8426
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>;
|
|
8427
8491
|
/**
|
|
8428
8492
|
* Description: 营销盾批量参数文件上传接口
|
|
8429
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);
|
|
@@ -10191,6 +10266,7 @@ class CallbackUmktRobotcallRequest extends $tea.Model {
|
|
|
10191
10266
|
tag: 'tag',
|
|
10192
10267
|
callId: 'call_id',
|
|
10193
10268
|
taskId: 'task_id',
|
|
10269
|
+
taskName: 'task_name',
|
|
10194
10270
|
templateId: 'template_id',
|
|
10195
10271
|
statusCode: 'status_code',
|
|
10196
10272
|
statusDescription: 'status_description',
|
|
@@ -10238,6 +10314,7 @@ class CallbackUmktRobotcallRequest extends $tea.Model {
|
|
|
10238
10314
|
tag: 'string',
|
|
10239
10315
|
callId: 'string',
|
|
10240
10316
|
taskId: 'number',
|
|
10317
|
+
taskName: 'string',
|
|
10241
10318
|
templateId: 'number',
|
|
10242
10319
|
statusCode: 'number',
|
|
10243
10320
|
statusDescription: 'string',
|
|
@@ -10368,6 +10445,8 @@ class CallbackUmktSmsReportRequest extends $tea.Model {
|
|
|
10368
10445
|
bizId: 'biz_id',
|
|
10369
10446
|
bizProperties: 'biz_properties',
|
|
10370
10447
|
smsType: 'sms_type',
|
|
10448
|
+
serviceProvider: 'service_provider',
|
|
10449
|
+
city: 'city',
|
|
10371
10450
|
};
|
|
10372
10451
|
}
|
|
10373
10452
|
static types() {
|
|
@@ -10385,6 +10464,8 @@ class CallbackUmktSmsReportRequest extends $tea.Model {
|
|
|
10385
10464
|
bizId: 'string',
|
|
10386
10465
|
bizProperties: 'string',
|
|
10387
10466
|
smsType: 'string',
|
|
10467
|
+
serviceProvider: 'string',
|
|
10468
|
+
city: 'string',
|
|
10388
10469
|
};
|
|
10389
10470
|
}
|
|
10390
10471
|
}
|
|
@@ -10887,7 +10968,7 @@ class Client {
|
|
|
10887
10968
|
req_msg_id: alipay_util_1.default.getNonce(),
|
|
10888
10969
|
access_key: this._accessKeyId,
|
|
10889
10970
|
base_sdk_version: "TeaSDK-2.0",
|
|
10890
|
-
sdk_version: "1.
|
|
10971
|
+
sdk_version: "1.17.0",
|
|
10891
10972
|
_prod_code: "RISKPLUS",
|
|
10892
10973
|
_prod_channel: "undefined",
|
|
10893
10974
|
};
|
|
@@ -13025,6 +13106,23 @@ class Client {
|
|
|
13025
13106
|
tea_util_1.default.validateModel(request);
|
|
13026
13107
|
return $tea.cast(await this.doRequest("1.0", "riskplus.snapshot.event.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QuerySnapshotEventResponse({}));
|
|
13027
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
|
+
}
|
|
13028
13126
|
/**
|
|
13029
13127
|
* Description: 营销盾批量参数文件上传接口
|
|
13030
13128
|
* Summary: 营销盾参数文件上传
|