tencentcloud-sdk-nodejs 4.0.480 → 4.0.481
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/CHANGELOG.md +23 -0
- package/SERVICE_CHANGELOG.md +27 -43
- package/package.json +1 -1
- package/products.md +1 -1
- package/src/common/sdk_version.ts +1 -1
- package/src/services/afc/v20200226/afc_client.ts +14 -0
- package/src/services/afc/v20200226/afc_models.ts +69 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/afc/v20200226/afc_client.d.ts +5 -1
- package/tencentcloud/services/afc/v20200226/afc_client.js +6 -0
- package/tencentcloud/services/afc/v20200226/afc_models.d.ts +60 -0
- package/test/afc.v20200226.test.js +10 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,26 @@
|
|
|
1
|
+
# Release 4.0.481
|
|
2
|
+
|
|
3
|
+
## 定制建模(afc) 版本:2020-02-26
|
|
4
|
+
|
|
5
|
+
### 第 3 次发布
|
|
6
|
+
|
|
7
|
+
发布时间:2022-11-14 06:09:18
|
|
8
|
+
|
|
9
|
+
本次发布包含了以下内容:
|
|
10
|
+
|
|
11
|
+
改善已有的文档。
|
|
12
|
+
|
|
13
|
+
新增接口:
|
|
14
|
+
|
|
15
|
+
* [TransportGeneralInterface](https://cloud.tencent.com/document/api/1029/82738)
|
|
16
|
+
|
|
17
|
+
新增数据结构:
|
|
18
|
+
|
|
19
|
+
* [TransportGeneralInterfaceInput](https://cloud.tencent.com/document/api/1029/44018#TransportGeneralInterfaceInput)
|
|
20
|
+
* [TransportGeneralInterfaceOutput](https://cloud.tencent.com/document/api/1029/44018#TransportGeneralInterfaceOutput)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
1
24
|
# Release 4.0.480
|
|
2
25
|
|
|
3
26
|
## 文件存储(cfs) 版本:2019-07-19
|
package/SERVICE_CHANGELOG.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# 本版本更新包含以下内容:
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## 定制建模(afc) 版本:2020-02-26
|
|
4
4
|
|
|
5
|
-
### 第
|
|
5
|
+
### 第 3 次发布
|
|
6
6
|
|
|
7
|
-
发布时间:2022-11-
|
|
7
|
+
发布时间:2022-11-14 06:09:18
|
|
8
8
|
|
|
9
9
|
本次发布包含了以下内容:
|
|
10
10
|
|
|
@@ -12,45 +12,12 @@
|
|
|
12
12
|
|
|
13
13
|
新增接口:
|
|
14
14
|
|
|
15
|
-
* [
|
|
16
|
-
* [DescribeUserQuota](https://cloud.tencent.com/document/api/582/82654)
|
|
17
|
-
* [SetUserQuota](https://cloud.tencent.com/document/api/582/82653)
|
|
15
|
+
* [TransportGeneralInterface](https://cloud.tencent.com/document/api/1029/82738)
|
|
18
16
|
|
|
19
17
|
新增数据结构:
|
|
20
18
|
|
|
21
|
-
* [
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
## 人脸核身(faceid) 版本:2018-03-01
|
|
26
|
-
|
|
27
|
-
### 第 49 次发布
|
|
28
|
-
|
|
29
|
-
发布时间:2022-11-11 06:30:28
|
|
30
|
-
|
|
31
|
-
本次发布包含了以下内容:
|
|
32
|
-
|
|
33
|
-
改善已有的文档。
|
|
34
|
-
|
|
35
|
-
<font color="#dd0000">**删除接口**:</font>
|
|
36
|
-
|
|
37
|
-
* ApplyLivenessToken
|
|
38
|
-
* ApplySdkVerificationToken
|
|
39
|
-
* ApplyWebVerificationToken
|
|
40
|
-
* CreateUploadUrl
|
|
41
|
-
* DetectReflectLivenessAndCompare
|
|
42
|
-
* GenerateReflectSequence
|
|
43
|
-
* GetLivenessResult
|
|
44
|
-
* GetSdkVerificationResult
|
|
45
|
-
* GetWebVerificationResult
|
|
46
|
-
* VideoLivenessCompare
|
|
47
|
-
|
|
48
|
-
<font color="#dd0000">**删除数据结构**:</font>
|
|
49
|
-
|
|
50
|
-
* CardVerifyResult
|
|
51
|
-
* CompareResult
|
|
52
|
-
* FileInfo
|
|
53
|
-
* VerificationDetail
|
|
19
|
+
* [TransportGeneralInterfaceInput](https://cloud.tencent.com/document/api/1029/44018#TransportGeneralInterfaceInput)
|
|
20
|
+
* [TransportGeneralInterfaceOutput](https://cloud.tencent.com/document/api/1029/44018#TransportGeneralInterfaceOutput)
|
|
54
21
|
|
|
55
22
|
|
|
56
23
|
|
|
@@ -573,6 +540,23 @@
|
|
|
573
540
|
|
|
574
541
|
## 定制建模(afc) 版本:2020-02-26
|
|
575
542
|
|
|
543
|
+
### 第 3 次发布
|
|
544
|
+
|
|
545
|
+
发布时间:2022-11-14 06:09:18
|
|
546
|
+
|
|
547
|
+
本次发布包含了以下内容:
|
|
548
|
+
|
|
549
|
+
改善已有的文档。
|
|
550
|
+
|
|
551
|
+
新增接口:
|
|
552
|
+
|
|
553
|
+
* [[TransportGeneralInterface](https://cloud.tencent.com/document/api/1029/82738)](https://cloud.tencent.com/document/api/#/#)
|
|
554
|
+
|
|
555
|
+
新增数据结构:
|
|
556
|
+
|
|
557
|
+
* [[TransportGeneralInterfaceInput](https://cloud.tencent.com/document/api/1029/44018#TransportGeneralInterfaceInput)](https://cloud.tencent.com/document/api/1029/44018#[TransportGeneralInterfaceInput](https://cloud.tencent.com/document/api/1029/44018#TransportGeneralInterfaceInput))
|
|
558
|
+
* [[TransportGeneralInterfaceOutput](https://cloud.tencent.com/document/api/1029/44018#TransportGeneralInterfaceOutput)](https://cloud.tencent.com/document/api/1029/44018#[TransportGeneralInterfaceOutput](https://cloud.tencent.com/document/api/1029/44018#TransportGeneralInterfaceOutput))
|
|
559
|
+
|
|
576
560
|
### 第 2 次发布
|
|
577
561
|
|
|
578
562
|
发布时间:2021-11-18 08:02:17
|
|
@@ -16867,13 +16851,13 @@
|
|
|
16867
16851
|
|
|
16868
16852
|
新增接口:
|
|
16869
16853
|
|
|
16870
|
-
* [
|
|
16871
|
-
* [
|
|
16872
|
-
* [
|
|
16854
|
+
* [DeleteUserQuota](https://cloud.tencent.com/document/api/582/82655)
|
|
16855
|
+
* [DescribeUserQuota](https://cloud.tencent.com/document/api/582/82654)
|
|
16856
|
+
* [SetUserQuota](https://cloud.tencent.com/document/api/582/82653)
|
|
16873
16857
|
|
|
16874
16858
|
新增数据结构:
|
|
16875
16859
|
|
|
16876
|
-
* [
|
|
16860
|
+
* [UserQuota](https://cloud.tencent.com/document/api/582/38175#UserQuota)
|
|
16877
16861
|
|
|
16878
16862
|
### 第 11 次发布
|
|
16879
16863
|
|
package/package.json
CHANGED
package/products.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
| acp | [应用合规平台](https://cloud.tencent.com/document/product/1553) | 2022-09-19 11:21:50 |
|
|
6
6
|
| advisor | [云顾问](https://cloud.tencent.com/document/product/1264) | 2022-06-08 06:03:05 |
|
|
7
7
|
| af | [借贷反欺诈](https://cloud.tencent.com/document/product/668) | 2022-05-23 06:01:54 |
|
|
8
|
-
| afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2022-
|
|
8
|
+
| afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2022-11-14 06:09:18 |
|
|
9
9
|
| ame | [正版曲库直通车](https://cloud.tencent.com/document/product/1155) | 2022-04-15 06:01:25 |
|
|
10
10
|
| ams | [音频内容安全](https://cloud.tencent.com/document/product/1219) | 2022-10-31 06:07:18 |
|
|
11
11
|
| antiddos | [T-Sec-DDoS防护(Anti-DDoS)](https://cloud.tencent.com/document/product/1021) | 2022-11-09 06:08:09 |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const sdkVersion = "4.0.
|
|
1
|
+
export const sdkVersion = "4.0.481"
|
|
@@ -19,10 +19,14 @@ import { AbstractClient } from "../../../common/abstract_client"
|
|
|
19
19
|
import { ClientConfig } from "../../../common/interface"
|
|
20
20
|
import {
|
|
21
21
|
OtherModelScores,
|
|
22
|
+
TransportGeneralInterfaceInput,
|
|
23
|
+
TransportGeneralInterfaceOutput,
|
|
22
24
|
QueryAntiFraudVipResponse,
|
|
23
25
|
RiskDetail,
|
|
26
|
+
TransportGeneralInterfaceRequest,
|
|
24
27
|
SimpleKindRiskDetail,
|
|
25
28
|
GetAntiFraudVipResponse,
|
|
29
|
+
TransportGeneralInterfaceResponse,
|
|
26
30
|
AntiFraudVipCryptoFilter,
|
|
27
31
|
AntiFraudVipFilter,
|
|
28
32
|
QueryAntiFraudVipRequest,
|
|
@@ -60,4 +64,14 @@ export class Client extends AbstractClient {
|
|
|
60
64
|
): Promise<GetAntiFraudVipResponse> {
|
|
61
65
|
return this.request("GetAntiFraudVip", req, cb)
|
|
62
66
|
}
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* 天御信鸽取数平台接口
|
|
70
|
+
*/
|
|
71
|
+
async TransportGeneralInterface(
|
|
72
|
+
req: TransportGeneralInterfaceRequest,
|
|
73
|
+
cb?: (error: string, rep: TransportGeneralInterfaceResponse) => void
|
|
74
|
+
): Promise<TransportGeneralInterfaceResponse> {
|
|
75
|
+
return this.request("TransportGeneralInterface", req, cb)
|
|
76
|
+
}
|
|
63
77
|
}
|
|
@@ -30,6 +30,49 @@ export interface OtherModelScores {
|
|
|
30
30
|
ModelScore: string
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
+
/**
|
|
34
|
+
* 天御信鸽取数平台接口入参
|
|
35
|
+
*/
|
|
36
|
+
export interface TransportGeneralInterfaceInput {
|
|
37
|
+
/**
|
|
38
|
+
* 公证处请求接口名
|
|
39
|
+
*/
|
|
40
|
+
InterfaceName?: string
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* 公证处业务详情二层入参
|
|
44
|
+
*/
|
|
45
|
+
NotarizationInput?: string
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* 业务二层详情入参的哈希签名
|
|
49
|
+
*/
|
|
50
|
+
NotarizationSign?: string
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* 天御信鸽取数平台接口出参
|
|
55
|
+
*/
|
|
56
|
+
export interface TransportGeneralInterfaceOutput {
|
|
57
|
+
/**
|
|
58
|
+
* 错误码
|
|
59
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
60
|
+
*/
|
|
61
|
+
Code: string
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* 回包信息
|
|
65
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
66
|
+
*/
|
|
67
|
+
Message: string
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* 公证处业务回包
|
|
71
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
72
|
+
*/
|
|
73
|
+
NotarizationData: string
|
|
74
|
+
}
|
|
75
|
+
|
|
33
76
|
/**
|
|
34
77
|
* QueryAntiFraudVip返回参数结构体
|
|
35
78
|
*/
|
|
@@ -77,6 +120,16 @@ export interface RiskDetail {
|
|
|
77
120
|
RiskCode: number
|
|
78
121
|
}
|
|
79
122
|
|
|
123
|
+
/**
|
|
124
|
+
* TransportGeneralInterface请求参数结构体
|
|
125
|
+
*/
|
|
126
|
+
export interface TransportGeneralInterfaceRequest {
|
|
127
|
+
/**
|
|
128
|
+
* 业务入参
|
|
129
|
+
*/
|
|
130
|
+
BusinessSecurityData?: TransportGeneralInterfaceInput
|
|
131
|
+
}
|
|
132
|
+
|
|
80
133
|
/**
|
|
81
134
|
* 扩展字段,对风险类型的说明
|
|
82
135
|
*/
|
|
@@ -109,6 +162,22 @@ export interface GetAntiFraudVipResponse {
|
|
|
109
162
|
RequestId?: string
|
|
110
163
|
}
|
|
111
164
|
|
|
165
|
+
/**
|
|
166
|
+
* TransportGeneralInterface返回参数结构体
|
|
167
|
+
*/
|
|
168
|
+
export interface TransportGeneralInterfaceResponse {
|
|
169
|
+
/**
|
|
170
|
+
* 业务出参
|
|
171
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
172
|
+
*/
|
|
173
|
+
Data: TransportGeneralInterfaceOutput
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
177
|
+
*/
|
|
178
|
+
RequestId?: string
|
|
179
|
+
}
|
|
180
|
+
|
|
112
181
|
/**
|
|
113
182
|
* AntiFraudVipCryptoFilter– 业务入参
|
|
114
183
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.0.
|
|
1
|
+
export declare const sdkVersion = "4.0.481";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { QueryAntiFraudVipResponse, GetAntiFraudVipResponse, QueryAntiFraudVipRequest, GetAntiFraudVipRequest } from "./afc_models";
|
|
3
|
+
import { QueryAntiFraudVipResponse, TransportGeneralInterfaceRequest, GetAntiFraudVipResponse, TransportGeneralInterfaceResponse, QueryAntiFraudVipRequest, GetAntiFraudVipRequest } from "./afc_models";
|
|
4
4
|
/**
|
|
5
5
|
* afc client
|
|
6
6
|
* @class
|
|
@@ -17,4 +17,8 @@ export declare class Client extends AbstractClient {
|
|
|
17
17
|
* 反欺诈VIP评分接口
|
|
18
18
|
*/
|
|
19
19
|
GetAntiFraudVip(req: GetAntiFraudVipRequest, cb?: (error: string, rep: GetAntiFraudVipResponse) => void): Promise<GetAntiFraudVipResponse>;
|
|
20
|
+
/**
|
|
21
|
+
* 天御信鸽取数平台接口
|
|
22
|
+
*/
|
|
23
|
+
TransportGeneralInterface(req: TransportGeneralInterfaceRequest, cb?: (error: string, rep: TransportGeneralInterfaceResponse) => void): Promise<TransportGeneralInterfaceResponse>;
|
|
20
24
|
}
|
|
@@ -41,5 +41,11 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
41
41
|
async GetAntiFraudVip(req, cb) {
|
|
42
42
|
return this.request("GetAntiFraudVip", req, cb);
|
|
43
43
|
}
|
|
44
|
+
/**
|
|
45
|
+
* 天御信鸽取数平台接口
|
|
46
|
+
*/
|
|
47
|
+
async TransportGeneralInterface(req, cb) {
|
|
48
|
+
return this.request("TransportGeneralInterface", req, cb);
|
|
49
|
+
}
|
|
44
50
|
}
|
|
45
51
|
exports.Client = Client;
|
|
@@ -11,6 +11,43 @@ export interface OtherModelScores {
|
|
|
11
11
|
*/
|
|
12
12
|
ModelScore: string;
|
|
13
13
|
}
|
|
14
|
+
/**
|
|
15
|
+
* 天御信鸽取数平台接口入参
|
|
16
|
+
*/
|
|
17
|
+
export interface TransportGeneralInterfaceInput {
|
|
18
|
+
/**
|
|
19
|
+
* 公证处请求接口名
|
|
20
|
+
*/
|
|
21
|
+
InterfaceName?: string;
|
|
22
|
+
/**
|
|
23
|
+
* 公证处业务详情二层入参
|
|
24
|
+
*/
|
|
25
|
+
NotarizationInput?: string;
|
|
26
|
+
/**
|
|
27
|
+
* 业务二层详情入参的哈希签名
|
|
28
|
+
*/
|
|
29
|
+
NotarizationSign?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* 天御信鸽取数平台接口出参
|
|
33
|
+
*/
|
|
34
|
+
export interface TransportGeneralInterfaceOutput {
|
|
35
|
+
/**
|
|
36
|
+
* 错误码
|
|
37
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
38
|
+
*/
|
|
39
|
+
Code: string;
|
|
40
|
+
/**
|
|
41
|
+
* 回包信息
|
|
42
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
43
|
+
*/
|
|
44
|
+
Message: string;
|
|
45
|
+
/**
|
|
46
|
+
* 公证处业务回包
|
|
47
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
48
|
+
*/
|
|
49
|
+
NotarizationData: string;
|
|
50
|
+
}
|
|
14
51
|
/**
|
|
15
52
|
* QueryAntiFraudVip返回参数结构体
|
|
16
53
|
*/
|
|
@@ -51,6 +88,15 @@ export interface RiskDetail {
|
|
|
51
88
|
*/
|
|
52
89
|
RiskCode: number;
|
|
53
90
|
}
|
|
91
|
+
/**
|
|
92
|
+
* TransportGeneralInterface请求参数结构体
|
|
93
|
+
*/
|
|
94
|
+
export interface TransportGeneralInterfaceRequest {
|
|
95
|
+
/**
|
|
96
|
+
* 业务入参
|
|
97
|
+
*/
|
|
98
|
+
BusinessSecurityData?: TransportGeneralInterfaceInput;
|
|
99
|
+
}
|
|
54
100
|
/**
|
|
55
101
|
* 扩展字段,对风险类型的说明
|
|
56
102
|
*/
|
|
@@ -79,6 +125,20 @@ export interface GetAntiFraudVipResponse {
|
|
|
79
125
|
*/
|
|
80
126
|
RequestId?: string;
|
|
81
127
|
}
|
|
128
|
+
/**
|
|
129
|
+
* TransportGeneralInterface返回参数结构体
|
|
130
|
+
*/
|
|
131
|
+
export interface TransportGeneralInterfaceResponse {
|
|
132
|
+
/**
|
|
133
|
+
* 业务出参
|
|
134
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
135
|
+
*/
|
|
136
|
+
Data: TransportGeneralInterfaceOutput;
|
|
137
|
+
/**
|
|
138
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
139
|
+
*/
|
|
140
|
+
RequestId?: string;
|
|
141
|
+
}
|
|
82
142
|
/**
|
|
83
143
|
* AntiFraudVipCryptoFilter– 业务入参
|
|
84
144
|
*/
|
|
@@ -38,4 +38,14 @@ it("afc.v20200226.GetAntiFraudVip", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
+
it("afc.v20200226.TransportGeneralInterface", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.TransportGeneralInterface({})
|
|
44
|
+
expect(data).to.be.ok
|
|
45
|
+
} catch(error) {
|
|
46
|
+
expect(error.requestId).to.be.ok
|
|
47
|
+
expect(error.code).to.be.ok
|
|
48
|
+
}
|
|
49
|
+
})
|
|
50
|
+
|
|
41
51
|
})
|