tencentcloud-sdk-nodejs 4.0.479 → 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 +79 -0
- package/SERVICE_CHANGELOG.md +83 -35
- package/package.json +1 -1
- package/products.md +4 -4
- 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/src/services/cfs/v20190719/cfs_client.ts +115 -78
- package/src/services/cfs/v20190719/cfs_models.ts +875 -728
- package/src/services/faceid/v20180301/faceid_client.ts +62 -189
- package/src/services/faceid/v20180301/faceid_models.ts +1543 -2276
- 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/tencentcloud/services/cfs/v20190719/cfs_client.d.ts +19 -7
- package/tencentcloud/services/cfs/v20190719/cfs_client.js +27 -9
- package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +820 -695
- package/tencentcloud/services/faceid/v20180301/faceid_client.d.ts +3 -46
- package/tencentcloud/services/faceid/v20180301/faceid_client.js +3 -66
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +1508 -2139
- package/test/afc.v20200226.test.js +10 -0
- package/test/cfs.v20190719.test.js +36 -6
- package/test/faceid.v20180301.test.js +2 -102
|
@@ -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
|
})
|
|
@@ -68,6 +68,16 @@ it("cfs.v20190719.DescribeCfsPGroups", async function () {
|
|
|
68
68
|
}
|
|
69
69
|
})
|
|
70
70
|
|
|
71
|
+
it("cfs.v20190719.SetUserQuota", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.SetUserQuota({})
|
|
74
|
+
expect(data).to.be.ok
|
|
75
|
+
} catch(error) {
|
|
76
|
+
expect(error.requestId).to.be.ok
|
|
77
|
+
expect(error.code).to.be.ok
|
|
78
|
+
}
|
|
79
|
+
})
|
|
80
|
+
|
|
71
81
|
it("cfs.v20190719.DescribeAutoSnapshotPolicies", async function () {
|
|
72
82
|
try {
|
|
73
83
|
const data = await client.DescribeAutoSnapshotPolicies({})
|
|
@@ -78,9 +88,9 @@ it("cfs.v20190719.DescribeAutoSnapshotPolicies", async function () {
|
|
|
78
88
|
}
|
|
79
89
|
})
|
|
80
90
|
|
|
81
|
-
it("cfs.v20190719.
|
|
91
|
+
it("cfs.v20190719.DescribeMountTargets", async function () {
|
|
82
92
|
try {
|
|
83
|
-
const data = await client.
|
|
93
|
+
const data = await client.DescribeMountTargets({})
|
|
84
94
|
expect(data).to.be.ok
|
|
85
95
|
} catch(error) {
|
|
86
96
|
expect(error.requestId).to.be.ok
|
|
@@ -148,6 +158,16 @@ it("cfs.v20190719.UpdateCfsFileSystemSizeLimit", async function () {
|
|
|
148
158
|
}
|
|
149
159
|
})
|
|
150
160
|
|
|
161
|
+
it("cfs.v20190719.CreateAutoSnapshotPolicy", async function () {
|
|
162
|
+
try {
|
|
163
|
+
const data = await client.CreateAutoSnapshotPolicy({})
|
|
164
|
+
expect(data).to.be.ok
|
|
165
|
+
} catch(error) {
|
|
166
|
+
expect(error.requestId).to.be.ok
|
|
167
|
+
expect(error.code).to.be.ok
|
|
168
|
+
}
|
|
169
|
+
})
|
|
170
|
+
|
|
151
171
|
it("cfs.v20190719.DeleteCfsFileSystem", async function () {
|
|
152
172
|
try {
|
|
153
173
|
const data = await client.DeleteCfsFileSystem({})
|
|
@@ -188,6 +208,16 @@ it("cfs.v20190719.DescribeCfsSnapshotOverview", async function () {
|
|
|
188
208
|
}
|
|
189
209
|
})
|
|
190
210
|
|
|
211
|
+
it("cfs.v20190719.DescribeUserQuota", async function () {
|
|
212
|
+
try {
|
|
213
|
+
const data = await client.DescribeUserQuota({})
|
|
214
|
+
expect(data).to.be.ok
|
|
215
|
+
} catch(error) {
|
|
216
|
+
expect(error.requestId).to.be.ok
|
|
217
|
+
expect(error.code).to.be.ok
|
|
218
|
+
}
|
|
219
|
+
})
|
|
220
|
+
|
|
191
221
|
it("cfs.v20190719.UpdateAutoSnapshotPolicy", async function () {
|
|
192
222
|
try {
|
|
193
223
|
const data = await client.UpdateAutoSnapshotPolicy({})
|
|
@@ -218,9 +248,9 @@ it("cfs.v20190719.DescribeCfsSnapshots", async function () {
|
|
|
218
248
|
}
|
|
219
249
|
})
|
|
220
250
|
|
|
221
|
-
it("cfs.v20190719.
|
|
251
|
+
it("cfs.v20190719.BindAutoSnapshotPolicy", async function () {
|
|
222
252
|
try {
|
|
223
|
-
const data = await client.
|
|
253
|
+
const data = await client.BindAutoSnapshotPolicy({})
|
|
224
254
|
expect(data).to.be.ok
|
|
225
255
|
} catch(error) {
|
|
226
256
|
expect(error.requestId).to.be.ok
|
|
@@ -248,9 +278,9 @@ it("cfs.v20190719.DeleteMountTarget", async function () {
|
|
|
248
278
|
}
|
|
249
279
|
})
|
|
250
280
|
|
|
251
|
-
it("cfs.v20190719.
|
|
281
|
+
it("cfs.v20190719.DeleteUserQuota", async function () {
|
|
252
282
|
try {
|
|
253
|
-
const data = await client.
|
|
283
|
+
const data = await client.DeleteUserQuota({})
|
|
254
284
|
expect(data).to.be.ok
|
|
255
285
|
} catch(error) {
|
|
256
286
|
expect(error.requestId).to.be.ok
|
|
@@ -28,16 +28,6 @@ it("faceid.v20180301.GetLiveCode", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
-
it("faceid.v20180301.VideoLivenessCompare", async function () {
|
|
32
|
-
try {
|
|
33
|
-
const data = await client.VideoLivenessCompare({})
|
|
34
|
-
expect(data).to.be.ok
|
|
35
|
-
} catch(error) {
|
|
36
|
-
expect(error.requestId).to.be.ok
|
|
37
|
-
expect(error.code).to.be.ok
|
|
38
|
-
}
|
|
39
|
-
})
|
|
40
|
-
|
|
41
31
|
it("faceid.v20180301.GetActionSequence", async function () {
|
|
42
32
|
try {
|
|
43
33
|
const data = await client.GetActionSequence({})
|
|
@@ -78,16 +68,6 @@ it("faceid.v20180301.CheckEidTokenStatus", async function () {
|
|
|
78
68
|
}
|
|
79
69
|
})
|
|
80
70
|
|
|
81
|
-
it("faceid.v20180301.CreateUploadUrl", async function () {
|
|
82
|
-
try {
|
|
83
|
-
const data = await client.CreateUploadUrl({})
|
|
84
|
-
expect(data).to.be.ok
|
|
85
|
-
} catch(error) {
|
|
86
|
-
expect(error.requestId).to.be.ok
|
|
87
|
-
expect(error.code).to.be.ok
|
|
88
|
-
}
|
|
89
|
-
})
|
|
90
|
-
|
|
91
71
|
it("faceid.v20180301.BankCard4EVerification", async function () {
|
|
92
72
|
try {
|
|
93
73
|
const data = await client.BankCard4EVerification({})
|
|
@@ -138,16 +118,6 @@ it("faceid.v20180301.CheckPhoneAndName", async function () {
|
|
|
138
118
|
}
|
|
139
119
|
})
|
|
140
120
|
|
|
141
|
-
it("faceid.v20180301.ApplyLivenessToken", async function () {
|
|
142
|
-
try {
|
|
143
|
-
const data = await client.ApplyLivenessToken({})
|
|
144
|
-
expect(data).to.be.ok
|
|
145
|
-
} catch(error) {
|
|
146
|
-
expect(error.requestId).to.be.ok
|
|
147
|
-
expect(error.code).to.be.ok
|
|
148
|
-
}
|
|
149
|
-
})
|
|
150
|
-
|
|
151
121
|
it("faceid.v20180301.BankCardVerification", async function () {
|
|
152
122
|
try {
|
|
153
123
|
const data = await client.BankCardVerification({})
|
|
@@ -158,16 +128,6 @@ it("faceid.v20180301.BankCardVerification", async function () {
|
|
|
158
128
|
}
|
|
159
129
|
})
|
|
160
130
|
|
|
161
|
-
it("faceid.v20180301.ApplySdkVerificationToken", async function () {
|
|
162
|
-
try {
|
|
163
|
-
const data = await client.ApplySdkVerificationToken({})
|
|
164
|
-
expect(data).to.be.ok
|
|
165
|
-
} catch(error) {
|
|
166
|
-
expect(error.requestId).to.be.ok
|
|
167
|
-
expect(error.code).to.be.ok
|
|
168
|
-
}
|
|
169
|
-
})
|
|
170
|
-
|
|
171
131
|
it("faceid.v20180301.LivenessCompare", async function () {
|
|
172
132
|
try {
|
|
173
133
|
const data = await client.LivenessCompare({})
|
|
@@ -178,26 +138,6 @@ it("faceid.v20180301.LivenessCompare", async function () {
|
|
|
178
138
|
}
|
|
179
139
|
})
|
|
180
140
|
|
|
181
|
-
it("faceid.v20180301.GenerateReflectSequence", async function () {
|
|
182
|
-
try {
|
|
183
|
-
const data = await client.GenerateReflectSequence({})
|
|
184
|
-
expect(data).to.be.ok
|
|
185
|
-
} catch(error) {
|
|
186
|
-
expect(error.requestId).to.be.ok
|
|
187
|
-
expect(error.code).to.be.ok
|
|
188
|
-
}
|
|
189
|
-
})
|
|
190
|
-
|
|
191
|
-
it("faceid.v20180301.GetSdkVerificationResult", async function () {
|
|
192
|
-
try {
|
|
193
|
-
const data = await client.GetSdkVerificationResult({})
|
|
194
|
-
expect(data).to.be.ok
|
|
195
|
-
} catch(error) {
|
|
196
|
-
expect(error.requestId).to.be.ok
|
|
197
|
-
expect(error.code).to.be.ok
|
|
198
|
-
}
|
|
199
|
-
})
|
|
200
|
-
|
|
201
141
|
it("faceid.v20180301.GetRealNameAuthToken", async function () {
|
|
202
142
|
try {
|
|
203
143
|
const data = await client.GetRealNameAuthToken({})
|
|
@@ -248,9 +188,9 @@ it("faceid.v20180301.GetEidToken", async function () {
|
|
|
248
188
|
}
|
|
249
189
|
})
|
|
250
190
|
|
|
251
|
-
it("faceid.v20180301.
|
|
191
|
+
it("faceid.v20180301.PhoneVerification", async function () {
|
|
252
192
|
try {
|
|
253
|
-
const data = await client.
|
|
193
|
+
const data = await client.PhoneVerification({})
|
|
254
194
|
expect(data).to.be.ok
|
|
255
195
|
} catch(error) {
|
|
256
196
|
expect(error.requestId).to.be.ok
|
|
@@ -288,16 +228,6 @@ it("faceid.v20180301.MinorsVerification", async function () {
|
|
|
288
228
|
}
|
|
289
229
|
})
|
|
290
230
|
|
|
291
|
-
it("faceid.v20180301.DetectReflectLivenessAndCompare", async function () {
|
|
292
|
-
try {
|
|
293
|
-
const data = await client.DetectReflectLivenessAndCompare({})
|
|
294
|
-
expect(data).to.be.ok
|
|
295
|
-
} catch(error) {
|
|
296
|
-
expect(error.requestId).to.be.ok
|
|
297
|
-
expect(error.code).to.be.ok
|
|
298
|
-
}
|
|
299
|
-
})
|
|
300
|
-
|
|
301
231
|
it("faceid.v20180301.CheckIdNameDate", async function () {
|
|
302
232
|
try {
|
|
303
233
|
const data = await client.CheckIdNameDate({})
|
|
@@ -398,16 +328,6 @@ it("faceid.v20180301.CheckBankCardInformation", async function () {
|
|
|
398
328
|
}
|
|
399
329
|
})
|
|
400
330
|
|
|
401
|
-
it("faceid.v20180301.ApplyWebVerificationToken", async function () {
|
|
402
|
-
try {
|
|
403
|
-
const data = await client.ApplyWebVerificationToken({})
|
|
404
|
-
expect(data).to.be.ok
|
|
405
|
-
} catch(error) {
|
|
406
|
-
expect(error.requestId).to.be.ok
|
|
407
|
-
expect(error.code).to.be.ok
|
|
408
|
-
}
|
|
409
|
-
})
|
|
410
|
-
|
|
411
331
|
it("faceid.v20180301.GetDetectInfo", async function () {
|
|
412
332
|
try {
|
|
413
333
|
const data = await client.GetDetectInfo({})
|
|
@@ -428,16 +348,6 @@ it("faceid.v20180301.BankCard2EVerification", async function () {
|
|
|
428
348
|
}
|
|
429
349
|
})
|
|
430
350
|
|
|
431
|
-
it("faceid.v20180301.PhoneVerification", async function () {
|
|
432
|
-
try {
|
|
433
|
-
const data = await client.PhoneVerification({})
|
|
434
|
-
expect(data).to.be.ok
|
|
435
|
-
} catch(error) {
|
|
436
|
-
expect(error.requestId).to.be.ok
|
|
437
|
-
expect(error.code).to.be.ok
|
|
438
|
-
}
|
|
439
|
-
})
|
|
440
|
-
|
|
441
351
|
it("faceid.v20180301.PhoneVerificationCTCC", async function () {
|
|
442
352
|
try {
|
|
443
353
|
const data = await client.PhoneVerificationCTCC({})
|
|
@@ -458,14 +368,4 @@ it("faceid.v20180301.GetRealNameAuthResult", async function () {
|
|
|
458
368
|
}
|
|
459
369
|
})
|
|
460
370
|
|
|
461
|
-
it("faceid.v20180301.GetLivenessResult", async function () {
|
|
462
|
-
try {
|
|
463
|
-
const data = await client.GetLivenessResult({})
|
|
464
|
-
expect(data).to.be.ok
|
|
465
|
-
} catch(error) {
|
|
466
|
-
expect(error.requestId).to.be.ok
|
|
467
|
-
expect(error.code).to.be.ok
|
|
468
|
-
}
|
|
469
|
-
})
|
|
470
|
-
|
|
471
371
|
})
|