@alicloud/cloudauth20190307 1.0.4 → 1.0.7
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 +395 -2048
- package/dist/client.js +750 -3266
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +1094 -4231
package/dist/client.js
CHANGED
|
@@ -11,2168 +11,102 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
11
11
|
};
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
13
|
// This file is auto-generated, don't edit it
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
*/
|
|
17
14
|
const tea_util_1 = __importStar(require("@alicloud/tea-util")), $Util = tea_util_1;
|
|
18
|
-
const
|
|
19
|
-
const
|
|
20
|
-
const
|
|
21
|
-
const
|
|
22
|
-
const
|
|
23
|
-
const
|
|
24
|
-
const
|
|
25
|
-
const
|
|
26
|
-
|
|
27
|
-
class VerifyMaterialRequest extends $tea.Model {
|
|
28
|
-
constructor(map) {
|
|
29
|
-
super(map);
|
|
30
|
-
}
|
|
31
|
-
static names() {
|
|
32
|
-
return {
|
|
33
|
-
idCardBackImageUrl: 'IdCardBackImageUrl',
|
|
34
|
-
faceImageUrl: 'FaceImageUrl',
|
|
35
|
-
bizType: 'BizType',
|
|
36
|
-
bizId: 'BizId',
|
|
37
|
-
name: 'Name',
|
|
38
|
-
idCardNumber: 'IdCardNumber',
|
|
39
|
-
idCardFrontImageUrl: 'IdCardFrontImageUrl',
|
|
40
|
-
userId: 'UserId',
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
static types() {
|
|
44
|
-
return {
|
|
45
|
-
idCardBackImageUrl: 'string',
|
|
46
|
-
faceImageUrl: 'string',
|
|
47
|
-
bizType: 'string',
|
|
48
|
-
bizId: 'string',
|
|
49
|
-
name: 'string',
|
|
50
|
-
idCardNumber: 'string',
|
|
51
|
-
idCardFrontImageUrl: 'string',
|
|
52
|
-
userId: 'string',
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
exports.VerifyMaterialRequest = VerifyMaterialRequest;
|
|
57
|
-
class VerifyMaterialResponseBody extends $tea.Model {
|
|
58
|
-
constructor(map) {
|
|
59
|
-
super(map);
|
|
60
|
-
}
|
|
61
|
-
static names() {
|
|
62
|
-
return {
|
|
63
|
-
authorityComparisionScore: 'AuthorityComparisionScore',
|
|
64
|
-
verifyStatus: 'VerifyStatus',
|
|
65
|
-
requestId: 'RequestId',
|
|
66
|
-
verifyToken: 'VerifyToken',
|
|
67
|
-
idCardFaceComparisonScore: 'IdCardFaceComparisonScore',
|
|
68
|
-
material: 'Material',
|
|
69
|
-
};
|
|
70
|
-
}
|
|
71
|
-
static types() {
|
|
72
|
-
return {
|
|
73
|
-
authorityComparisionScore: 'number',
|
|
74
|
-
verifyStatus: 'number',
|
|
75
|
-
requestId: 'string',
|
|
76
|
-
verifyToken: 'string',
|
|
77
|
-
idCardFaceComparisonScore: 'number',
|
|
78
|
-
material: VerifyMaterialResponseBodyMaterial,
|
|
79
|
-
};
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
exports.VerifyMaterialResponseBody = VerifyMaterialResponseBody;
|
|
83
|
-
class VerifyMaterialResponse extends $tea.Model {
|
|
84
|
-
constructor(map) {
|
|
85
|
-
super(map);
|
|
86
|
-
}
|
|
87
|
-
static names() {
|
|
88
|
-
return {
|
|
89
|
-
headers: 'headers',
|
|
90
|
-
body: 'body',
|
|
91
|
-
};
|
|
92
|
-
}
|
|
93
|
-
static types() {
|
|
94
|
-
return {
|
|
95
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
96
|
-
body: VerifyMaterialResponseBody,
|
|
97
|
-
};
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
exports.VerifyMaterialResponse = VerifyMaterialResponse;
|
|
101
|
-
class DescribeWhitelistRequest extends $tea.Model {
|
|
102
|
-
constructor(map) {
|
|
103
|
-
super(map);
|
|
104
|
-
}
|
|
105
|
-
static names() {
|
|
106
|
-
return {
|
|
107
|
-
sourceIp: 'SourceIp',
|
|
108
|
-
lang: 'Lang',
|
|
109
|
-
bizType: 'BizType',
|
|
110
|
-
bizId: 'BizId',
|
|
111
|
-
idCardNum: 'IdCardNum',
|
|
112
|
-
validStartDate: 'ValidStartDate',
|
|
113
|
-
validEndDate: 'ValidEndDate',
|
|
114
|
-
valid: 'Valid',
|
|
115
|
-
pageSize: 'PageSize',
|
|
116
|
-
currentPage: 'CurrentPage',
|
|
117
|
-
};
|
|
118
|
-
}
|
|
119
|
-
static types() {
|
|
120
|
-
return {
|
|
121
|
-
sourceIp: 'string',
|
|
122
|
-
lang: 'string',
|
|
123
|
-
bizType: 'string',
|
|
124
|
-
bizId: 'string',
|
|
125
|
-
idCardNum: 'string',
|
|
126
|
-
validStartDate: 'string',
|
|
127
|
-
validEndDate: 'string',
|
|
128
|
-
valid: 'string',
|
|
129
|
-
pageSize: 'number',
|
|
130
|
-
currentPage: 'number',
|
|
131
|
-
};
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
exports.DescribeWhitelistRequest = DescribeWhitelistRequest;
|
|
135
|
-
class DescribeWhitelistResponseBody extends $tea.Model {
|
|
136
|
-
constructor(map) {
|
|
137
|
-
super(map);
|
|
138
|
-
}
|
|
139
|
-
static names() {
|
|
140
|
-
return {
|
|
141
|
-
currentPage: 'CurrentPage',
|
|
142
|
-
pageSize: 'PageSize',
|
|
143
|
-
requestId: 'RequestId',
|
|
144
|
-
totalCount: 'TotalCount',
|
|
145
|
-
items: 'Items',
|
|
146
|
-
};
|
|
147
|
-
}
|
|
148
|
-
static types() {
|
|
149
|
-
return {
|
|
150
|
-
currentPage: 'number',
|
|
151
|
-
pageSize: 'number',
|
|
152
|
-
requestId: 'string',
|
|
153
|
-
totalCount: 'number',
|
|
154
|
-
items: { 'type': 'array', 'itemType': DescribeWhitelistResponseBodyItems },
|
|
155
|
-
};
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
exports.DescribeWhitelistResponseBody = DescribeWhitelistResponseBody;
|
|
159
|
-
class DescribeWhitelistResponse extends $tea.Model {
|
|
160
|
-
constructor(map) {
|
|
161
|
-
super(map);
|
|
162
|
-
}
|
|
163
|
-
static names() {
|
|
164
|
-
return {
|
|
165
|
-
headers: 'headers',
|
|
166
|
-
body: 'body',
|
|
167
|
-
};
|
|
168
|
-
}
|
|
169
|
-
static types() {
|
|
170
|
-
return {
|
|
171
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
172
|
-
body: DescribeWhitelistResponseBody,
|
|
173
|
-
};
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
exports.DescribeWhitelistResponse = DescribeWhitelistResponse;
|
|
177
|
-
class UpdateAppPackageRequest extends $tea.Model {
|
|
178
|
-
constructor(map) {
|
|
179
|
-
super(map);
|
|
180
|
-
}
|
|
181
|
-
static names() {
|
|
182
|
-
return {
|
|
183
|
-
id: 'Id',
|
|
184
|
-
packageUrl: 'PackageUrl',
|
|
185
|
-
platform: 'Platform',
|
|
186
|
-
debug: 'Debug',
|
|
187
|
-
};
|
|
188
|
-
}
|
|
189
|
-
static types() {
|
|
190
|
-
return {
|
|
191
|
-
id: 'number',
|
|
192
|
-
packageUrl: 'string',
|
|
193
|
-
platform: 'string',
|
|
194
|
-
debug: 'boolean',
|
|
195
|
-
};
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
exports.UpdateAppPackageRequest = UpdateAppPackageRequest;
|
|
199
|
-
class UpdateAppPackageResponseBody extends $tea.Model {
|
|
200
|
-
constructor(map) {
|
|
201
|
-
super(map);
|
|
202
|
-
}
|
|
203
|
-
static names() {
|
|
204
|
-
return {
|
|
205
|
-
taskId: 'TaskId',
|
|
206
|
-
requestId: 'RequestId',
|
|
207
|
-
};
|
|
208
|
-
}
|
|
209
|
-
static types() {
|
|
210
|
-
return {
|
|
211
|
-
taskId: 'string',
|
|
212
|
-
requestId: 'string',
|
|
213
|
-
};
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
exports.UpdateAppPackageResponseBody = UpdateAppPackageResponseBody;
|
|
217
|
-
class UpdateAppPackageResponse extends $tea.Model {
|
|
218
|
-
constructor(map) {
|
|
219
|
-
super(map);
|
|
220
|
-
}
|
|
221
|
-
static names() {
|
|
222
|
-
return {
|
|
223
|
-
headers: 'headers',
|
|
224
|
-
body: 'body',
|
|
225
|
-
};
|
|
226
|
-
}
|
|
227
|
-
static types() {
|
|
228
|
-
return {
|
|
229
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
230
|
-
body: UpdateAppPackageResponseBody,
|
|
231
|
-
};
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
exports.UpdateAppPackageResponse = UpdateAppPackageResponse;
|
|
235
|
-
class DescribeVerifyTokenRequest extends $tea.Model {
|
|
236
|
-
constructor(map) {
|
|
237
|
-
super(map);
|
|
238
|
-
}
|
|
239
|
-
static names() {
|
|
240
|
-
return {
|
|
241
|
-
idCardBackImageUrl: 'IdCardBackImageUrl',
|
|
242
|
-
bizType: 'BizType',
|
|
243
|
-
failedRedirectUrl: 'FailedRedirectUrl',
|
|
244
|
-
faceRetainedImageUrl: 'FaceRetainedImageUrl',
|
|
245
|
-
callbackSeed: 'CallbackSeed',
|
|
246
|
-
idCardFrontImageUrl: 'IdCardFrontImageUrl',
|
|
247
|
-
userId: 'UserId',
|
|
248
|
-
bizId: 'BizId',
|
|
249
|
-
name: 'Name',
|
|
250
|
-
idCardNumber: 'IdCardNumber',
|
|
251
|
-
passedRedirectUrl: 'PassedRedirectUrl',
|
|
252
|
-
callbackUrl: 'CallbackUrl',
|
|
253
|
-
userIp: 'UserIp',
|
|
254
|
-
userPhoneNumber: 'UserPhoneNumber',
|
|
255
|
-
userRegistTime: 'UserRegistTime',
|
|
256
|
-
};
|
|
257
|
-
}
|
|
258
|
-
static types() {
|
|
259
|
-
return {
|
|
260
|
-
idCardBackImageUrl: 'string',
|
|
261
|
-
bizType: 'string',
|
|
262
|
-
failedRedirectUrl: 'string',
|
|
263
|
-
faceRetainedImageUrl: 'string',
|
|
264
|
-
callbackSeed: 'string',
|
|
265
|
-
idCardFrontImageUrl: 'string',
|
|
266
|
-
userId: 'string',
|
|
267
|
-
bizId: 'string',
|
|
268
|
-
name: 'string',
|
|
269
|
-
idCardNumber: 'string',
|
|
270
|
-
passedRedirectUrl: 'string',
|
|
271
|
-
callbackUrl: 'string',
|
|
272
|
-
userIp: 'string',
|
|
273
|
-
userPhoneNumber: 'string',
|
|
274
|
-
userRegistTime: 'number',
|
|
275
|
-
};
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
exports.DescribeVerifyTokenRequest = DescribeVerifyTokenRequest;
|
|
279
|
-
class DescribeVerifyTokenResponseBody extends $tea.Model {
|
|
280
|
-
constructor(map) {
|
|
281
|
-
super(map);
|
|
282
|
-
}
|
|
283
|
-
static names() {
|
|
284
|
-
return {
|
|
285
|
-
verifyPageUrl: 'VerifyPageUrl',
|
|
286
|
-
requestId: 'RequestId',
|
|
287
|
-
verifyToken: 'VerifyToken',
|
|
288
|
-
ossUploadToken: 'OssUploadToken',
|
|
289
|
-
};
|
|
290
|
-
}
|
|
291
|
-
static types() {
|
|
292
|
-
return {
|
|
293
|
-
verifyPageUrl: 'string',
|
|
294
|
-
requestId: 'string',
|
|
295
|
-
verifyToken: 'string',
|
|
296
|
-
ossUploadToken: DescribeVerifyTokenResponseBodyOssUploadToken,
|
|
297
|
-
};
|
|
298
|
-
}
|
|
299
|
-
}
|
|
300
|
-
exports.DescribeVerifyTokenResponseBody = DescribeVerifyTokenResponseBody;
|
|
301
|
-
class DescribeVerifyTokenResponse extends $tea.Model {
|
|
302
|
-
constructor(map) {
|
|
303
|
-
super(map);
|
|
304
|
-
}
|
|
305
|
-
static names() {
|
|
306
|
-
return {
|
|
307
|
-
headers: 'headers',
|
|
308
|
-
body: 'body',
|
|
309
|
-
};
|
|
310
|
-
}
|
|
311
|
-
static types() {
|
|
312
|
-
return {
|
|
313
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
314
|
-
body: DescribeVerifyTokenResponseBody,
|
|
315
|
-
};
|
|
316
|
-
}
|
|
317
|
-
}
|
|
318
|
-
exports.DescribeVerifyTokenResponse = DescribeVerifyTokenResponse;
|
|
319
|
-
class DescribeRPSDKRequest extends $tea.Model {
|
|
320
|
-
constructor(map) {
|
|
321
|
-
super(map);
|
|
322
|
-
}
|
|
323
|
-
static names() {
|
|
324
|
-
return {
|
|
325
|
-
sourceIp: 'SourceIp',
|
|
326
|
-
lang: 'Lang',
|
|
327
|
-
taskId: 'TaskId',
|
|
328
|
-
};
|
|
329
|
-
}
|
|
330
|
-
static types() {
|
|
331
|
-
return {
|
|
332
|
-
sourceIp: 'string',
|
|
333
|
-
lang: 'string',
|
|
334
|
-
taskId: 'string',
|
|
335
|
-
};
|
|
336
|
-
}
|
|
337
|
-
}
|
|
338
|
-
exports.DescribeRPSDKRequest = DescribeRPSDKRequest;
|
|
339
|
-
class DescribeRPSDKResponseBody extends $tea.Model {
|
|
340
|
-
constructor(map) {
|
|
341
|
-
super(map);
|
|
342
|
-
}
|
|
343
|
-
static names() {
|
|
344
|
-
return {
|
|
345
|
-
sdkUrl: 'SdkUrl',
|
|
346
|
-
requestId: 'RequestId',
|
|
347
|
-
};
|
|
348
|
-
}
|
|
349
|
-
static types() {
|
|
350
|
-
return {
|
|
351
|
-
sdkUrl: 'string',
|
|
352
|
-
requestId: 'string',
|
|
353
|
-
};
|
|
354
|
-
}
|
|
355
|
-
}
|
|
356
|
-
exports.DescribeRPSDKResponseBody = DescribeRPSDKResponseBody;
|
|
357
|
-
class DescribeRPSDKResponse extends $tea.Model {
|
|
358
|
-
constructor(map) {
|
|
359
|
-
super(map);
|
|
360
|
-
}
|
|
361
|
-
static names() {
|
|
362
|
-
return {
|
|
363
|
-
headers: 'headers',
|
|
364
|
-
body: 'body',
|
|
365
|
-
};
|
|
366
|
-
}
|
|
367
|
-
static types() {
|
|
368
|
-
return {
|
|
369
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
370
|
-
body: DescribeRPSDKResponseBody,
|
|
371
|
-
};
|
|
372
|
-
}
|
|
373
|
-
}
|
|
374
|
-
exports.DescribeRPSDKResponse = DescribeRPSDKResponse;
|
|
375
|
-
class DescribeFaceUsageRequest extends $tea.Model {
|
|
376
|
-
constructor(map) {
|
|
377
|
-
super(map);
|
|
378
|
-
}
|
|
379
|
-
static names() {
|
|
380
|
-
return {
|
|
381
|
-
startDate: 'StartDate',
|
|
382
|
-
endDate: 'EndDate',
|
|
383
|
-
};
|
|
384
|
-
}
|
|
385
|
-
static types() {
|
|
386
|
-
return {
|
|
387
|
-
startDate: 'string',
|
|
388
|
-
endDate: 'string',
|
|
389
|
-
};
|
|
390
|
-
}
|
|
391
|
-
}
|
|
392
|
-
exports.DescribeFaceUsageRequest = DescribeFaceUsageRequest;
|
|
393
|
-
class DescribeFaceUsageResponseBody extends $tea.Model {
|
|
394
|
-
constructor(map) {
|
|
395
|
-
super(map);
|
|
396
|
-
}
|
|
397
|
-
static names() {
|
|
398
|
-
return {
|
|
399
|
-
totalCount: 'TotalCount',
|
|
400
|
-
requestId: 'RequestId',
|
|
401
|
-
faceUsageList: 'FaceUsageList',
|
|
402
|
-
};
|
|
403
|
-
}
|
|
404
|
-
static types() {
|
|
405
|
-
return {
|
|
406
|
-
totalCount: 'number',
|
|
407
|
-
requestId: 'string',
|
|
408
|
-
faceUsageList: { 'type': 'array', 'itemType': DescribeFaceUsageResponseBodyFaceUsageList },
|
|
409
|
-
};
|
|
410
|
-
}
|
|
411
|
-
}
|
|
412
|
-
exports.DescribeFaceUsageResponseBody = DescribeFaceUsageResponseBody;
|
|
413
|
-
class DescribeFaceUsageResponse extends $tea.Model {
|
|
414
|
-
constructor(map) {
|
|
415
|
-
super(map);
|
|
416
|
-
}
|
|
417
|
-
static names() {
|
|
418
|
-
return {
|
|
419
|
-
headers: 'headers',
|
|
420
|
-
body: 'body',
|
|
421
|
-
};
|
|
422
|
-
}
|
|
423
|
-
static types() {
|
|
424
|
-
return {
|
|
425
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
426
|
-
body: DescribeFaceUsageResponseBody,
|
|
427
|
-
};
|
|
428
|
-
}
|
|
429
|
-
}
|
|
430
|
-
exports.DescribeFaceUsageResponse = DescribeFaceUsageResponse;
|
|
431
|
-
class DescribeVerifyUsageRequest extends $tea.Model {
|
|
432
|
-
constructor(map) {
|
|
433
|
-
super(map);
|
|
434
|
-
}
|
|
435
|
-
static names() {
|
|
436
|
-
return {
|
|
437
|
-
bizType: 'BizType',
|
|
438
|
-
startDate: 'StartDate',
|
|
439
|
-
endDate: 'EndDate',
|
|
440
|
-
};
|
|
441
|
-
}
|
|
442
|
-
static types() {
|
|
443
|
-
return {
|
|
444
|
-
bizType: 'string',
|
|
445
|
-
startDate: 'string',
|
|
446
|
-
endDate: 'string',
|
|
447
|
-
};
|
|
448
|
-
}
|
|
449
|
-
}
|
|
450
|
-
exports.DescribeVerifyUsageRequest = DescribeVerifyUsageRequest;
|
|
451
|
-
class DescribeVerifyUsageResponseBody extends $tea.Model {
|
|
452
|
-
constructor(map) {
|
|
453
|
-
super(map);
|
|
454
|
-
}
|
|
455
|
-
static names() {
|
|
456
|
-
return {
|
|
457
|
-
totalCount: 'TotalCount',
|
|
458
|
-
requestId: 'RequestId',
|
|
459
|
-
verifyUsageList: 'VerifyUsageList',
|
|
460
|
-
};
|
|
461
|
-
}
|
|
462
|
-
static types() {
|
|
463
|
-
return {
|
|
464
|
-
totalCount: 'number',
|
|
465
|
-
requestId: 'string',
|
|
466
|
-
verifyUsageList: { 'type': 'array', 'itemType': DescribeVerifyUsageResponseBodyVerifyUsageList },
|
|
467
|
-
};
|
|
468
|
-
}
|
|
469
|
-
}
|
|
470
|
-
exports.DescribeVerifyUsageResponseBody = DescribeVerifyUsageResponseBody;
|
|
471
|
-
class DescribeVerifyUsageResponse extends $tea.Model {
|
|
472
|
-
constructor(map) {
|
|
473
|
-
super(map);
|
|
474
|
-
}
|
|
475
|
-
static names() {
|
|
476
|
-
return {
|
|
477
|
-
headers: 'headers',
|
|
478
|
-
body: 'body',
|
|
479
|
-
};
|
|
480
|
-
}
|
|
481
|
-
static types() {
|
|
482
|
-
return {
|
|
483
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
484
|
-
body: DescribeVerifyUsageResponseBody,
|
|
485
|
-
};
|
|
486
|
-
}
|
|
487
|
-
}
|
|
488
|
-
exports.DescribeVerifyUsageResponse = DescribeVerifyUsageResponse;
|
|
489
|
-
class DescribeUpdatePackageResultRequest extends $tea.Model {
|
|
490
|
-
constructor(map) {
|
|
491
|
-
super(map);
|
|
492
|
-
}
|
|
493
|
-
static names() {
|
|
494
|
-
return {
|
|
495
|
-
taskId: 'TaskId',
|
|
496
|
-
};
|
|
497
|
-
}
|
|
498
|
-
static types() {
|
|
499
|
-
return {
|
|
500
|
-
taskId: 'string',
|
|
501
|
-
};
|
|
502
|
-
}
|
|
503
|
-
}
|
|
504
|
-
exports.DescribeUpdatePackageResultRequest = DescribeUpdatePackageResultRequest;
|
|
505
|
-
class DescribeUpdatePackageResultResponseBody extends $tea.Model {
|
|
506
|
-
constructor(map) {
|
|
507
|
-
super(map);
|
|
508
|
-
}
|
|
509
|
-
static names() {
|
|
510
|
-
return {
|
|
511
|
-
requestId: 'RequestId',
|
|
512
|
-
appInfo: 'AppInfo',
|
|
513
|
-
};
|
|
514
|
-
}
|
|
515
|
-
static types() {
|
|
516
|
-
return {
|
|
517
|
-
requestId: 'string',
|
|
518
|
-
appInfo: DescribeUpdatePackageResultResponseBodyAppInfo,
|
|
519
|
-
};
|
|
520
|
-
}
|
|
521
|
-
}
|
|
522
|
-
exports.DescribeUpdatePackageResultResponseBody = DescribeUpdatePackageResultResponseBody;
|
|
523
|
-
class DescribeUpdatePackageResultResponse extends $tea.Model {
|
|
524
|
-
constructor(map) {
|
|
525
|
-
super(map);
|
|
526
|
-
}
|
|
527
|
-
static names() {
|
|
528
|
-
return {
|
|
529
|
-
headers: 'headers',
|
|
530
|
-
body: 'body',
|
|
531
|
-
};
|
|
532
|
-
}
|
|
533
|
-
static types() {
|
|
534
|
-
return {
|
|
535
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
536
|
-
body: DescribeUpdatePackageResultResponseBody,
|
|
537
|
-
};
|
|
538
|
-
}
|
|
539
|
-
}
|
|
540
|
-
exports.DescribeUpdatePackageResultResponse = DescribeUpdatePackageResultResponse;
|
|
541
|
-
class CreateWhitelistRequest extends $tea.Model {
|
|
542
|
-
constructor(map) {
|
|
543
|
-
super(map);
|
|
544
|
-
}
|
|
545
|
-
static names() {
|
|
546
|
-
return {
|
|
547
|
-
sourceIp: 'SourceIp',
|
|
548
|
-
lang: 'Lang',
|
|
549
|
-
bizType: 'BizType',
|
|
550
|
-
bizId: 'BizId',
|
|
551
|
-
idCardNum: 'IdCardNum',
|
|
552
|
-
validDay: 'ValidDay',
|
|
553
|
-
};
|
|
554
|
-
}
|
|
555
|
-
static types() {
|
|
556
|
-
return {
|
|
557
|
-
sourceIp: 'string',
|
|
558
|
-
lang: 'string',
|
|
559
|
-
bizType: 'string',
|
|
560
|
-
bizId: 'string',
|
|
561
|
-
idCardNum: 'string',
|
|
562
|
-
validDay: 'string',
|
|
563
|
-
};
|
|
564
|
-
}
|
|
565
|
-
}
|
|
566
|
-
exports.CreateWhitelistRequest = CreateWhitelistRequest;
|
|
567
|
-
class CreateWhitelistResponseBody extends $tea.Model {
|
|
568
|
-
constructor(map) {
|
|
569
|
-
super(map);
|
|
570
|
-
}
|
|
571
|
-
static names() {
|
|
572
|
-
return {
|
|
573
|
-
requestId: 'RequestId',
|
|
574
|
-
};
|
|
575
|
-
}
|
|
576
|
-
static types() {
|
|
577
|
-
return {
|
|
578
|
-
requestId: 'string',
|
|
579
|
-
};
|
|
580
|
-
}
|
|
581
|
-
}
|
|
582
|
-
exports.CreateWhitelistResponseBody = CreateWhitelistResponseBody;
|
|
583
|
-
class CreateWhitelistResponse extends $tea.Model {
|
|
584
|
-
constructor(map) {
|
|
585
|
-
super(map);
|
|
586
|
-
}
|
|
587
|
-
static names() {
|
|
588
|
-
return {
|
|
589
|
-
headers: 'headers',
|
|
590
|
-
body: 'body',
|
|
591
|
-
};
|
|
592
|
-
}
|
|
593
|
-
static types() {
|
|
594
|
-
return {
|
|
595
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
596
|
-
body: CreateWhitelistResponseBody,
|
|
597
|
-
};
|
|
598
|
-
}
|
|
599
|
-
}
|
|
600
|
-
exports.CreateWhitelistResponse = CreateWhitelistResponse;
|
|
601
|
-
class DeleteWhitelistRequest extends $tea.Model {
|
|
602
|
-
constructor(map) {
|
|
603
|
-
super(map);
|
|
604
|
-
}
|
|
605
|
-
static names() {
|
|
606
|
-
return {
|
|
607
|
-
sourceIp: 'SourceIp',
|
|
608
|
-
lang: 'Lang',
|
|
609
|
-
ids: 'Ids',
|
|
610
|
-
};
|
|
611
|
-
}
|
|
612
|
-
static types() {
|
|
613
|
-
return {
|
|
614
|
-
sourceIp: 'string',
|
|
615
|
-
lang: 'string',
|
|
616
|
-
ids: 'string',
|
|
617
|
-
};
|
|
618
|
-
}
|
|
619
|
-
}
|
|
620
|
-
exports.DeleteWhitelistRequest = DeleteWhitelistRequest;
|
|
621
|
-
class DeleteWhitelistResponseBody extends $tea.Model {
|
|
622
|
-
constructor(map) {
|
|
623
|
-
super(map);
|
|
624
|
-
}
|
|
625
|
-
static names() {
|
|
626
|
-
return {
|
|
627
|
-
requestId: 'RequestId',
|
|
628
|
-
};
|
|
629
|
-
}
|
|
630
|
-
static types() {
|
|
631
|
-
return {
|
|
632
|
-
requestId: 'string',
|
|
633
|
-
};
|
|
634
|
-
}
|
|
635
|
-
}
|
|
636
|
-
exports.DeleteWhitelistResponseBody = DeleteWhitelistResponseBody;
|
|
637
|
-
class DeleteWhitelistResponse extends $tea.Model {
|
|
638
|
-
constructor(map) {
|
|
639
|
-
super(map);
|
|
640
|
-
}
|
|
641
|
-
static names() {
|
|
642
|
-
return {
|
|
643
|
-
headers: 'headers',
|
|
644
|
-
body: 'body',
|
|
645
|
-
};
|
|
646
|
-
}
|
|
647
|
-
static types() {
|
|
648
|
-
return {
|
|
649
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
650
|
-
body: DeleteWhitelistResponseBody,
|
|
651
|
-
};
|
|
652
|
-
}
|
|
653
|
-
}
|
|
654
|
-
exports.DeleteWhitelistResponse = DeleteWhitelistResponse;
|
|
655
|
-
class CreateAuthKeyRequest extends $tea.Model {
|
|
656
|
-
constructor(map) {
|
|
657
|
-
super(map);
|
|
658
|
-
}
|
|
659
|
-
static names() {
|
|
660
|
-
return {
|
|
661
|
-
bizType: 'BizType',
|
|
662
|
-
userDeviceId: 'UserDeviceId',
|
|
663
|
-
test: 'Test',
|
|
664
|
-
authYears: 'AuthYears',
|
|
665
|
-
};
|
|
666
|
-
}
|
|
667
|
-
static types() {
|
|
668
|
-
return {
|
|
669
|
-
bizType: 'string',
|
|
670
|
-
userDeviceId: 'string',
|
|
671
|
-
test: 'boolean',
|
|
672
|
-
authYears: 'number',
|
|
673
|
-
};
|
|
674
|
-
}
|
|
675
|
-
}
|
|
676
|
-
exports.CreateAuthKeyRequest = CreateAuthKeyRequest;
|
|
677
|
-
class CreateAuthKeyResponseBody extends $tea.Model {
|
|
678
|
-
constructor(map) {
|
|
679
|
-
super(map);
|
|
680
|
-
}
|
|
681
|
-
static names() {
|
|
682
|
-
return {
|
|
683
|
-
authKey: 'AuthKey',
|
|
684
|
-
requestId: 'RequestId',
|
|
685
|
-
};
|
|
686
|
-
}
|
|
687
|
-
static types() {
|
|
688
|
-
return {
|
|
689
|
-
authKey: 'string',
|
|
690
|
-
requestId: 'string',
|
|
691
|
-
};
|
|
692
|
-
}
|
|
693
|
-
}
|
|
694
|
-
exports.CreateAuthKeyResponseBody = CreateAuthKeyResponseBody;
|
|
695
|
-
class CreateAuthKeyResponse extends $tea.Model {
|
|
696
|
-
constructor(map) {
|
|
697
|
-
super(map);
|
|
698
|
-
}
|
|
699
|
-
static names() {
|
|
700
|
-
return {
|
|
701
|
-
headers: 'headers',
|
|
702
|
-
body: 'body',
|
|
703
|
-
};
|
|
704
|
-
}
|
|
705
|
-
static types() {
|
|
706
|
-
return {
|
|
707
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
708
|
-
body: CreateAuthKeyResponseBody,
|
|
709
|
-
};
|
|
710
|
-
}
|
|
711
|
-
}
|
|
712
|
-
exports.CreateAuthKeyResponse = CreateAuthKeyResponse;
|
|
713
|
-
class DescribeUploadInfoRequest extends $tea.Model {
|
|
714
|
-
constructor(map) {
|
|
715
|
-
super(map);
|
|
716
|
-
}
|
|
717
|
-
static names() {
|
|
718
|
-
return {
|
|
719
|
-
biz: 'Biz',
|
|
720
|
-
};
|
|
721
|
-
}
|
|
722
|
-
static types() {
|
|
723
|
-
return {
|
|
724
|
-
biz: 'string',
|
|
725
|
-
};
|
|
726
|
-
}
|
|
727
|
-
}
|
|
728
|
-
exports.DescribeUploadInfoRequest = DescribeUploadInfoRequest;
|
|
729
|
-
class DescribeUploadInfoResponseBody extends $tea.Model {
|
|
730
|
-
constructor(map) {
|
|
731
|
-
super(map);
|
|
732
|
-
}
|
|
733
|
-
static names() {
|
|
734
|
-
return {
|
|
735
|
-
signature: 'Signature',
|
|
736
|
-
host: 'Host',
|
|
737
|
-
requestId: 'RequestId',
|
|
738
|
-
policy: 'Policy',
|
|
739
|
-
accessid: 'Accessid',
|
|
740
|
-
folder: 'Folder',
|
|
741
|
-
expire: 'Expire',
|
|
742
|
-
};
|
|
743
|
-
}
|
|
744
|
-
static types() {
|
|
745
|
-
return {
|
|
746
|
-
signature: 'string',
|
|
747
|
-
host: 'string',
|
|
748
|
-
requestId: 'string',
|
|
749
|
-
policy: 'string',
|
|
750
|
-
accessid: 'string',
|
|
751
|
-
folder: 'string',
|
|
752
|
-
expire: 'number',
|
|
753
|
-
};
|
|
754
|
-
}
|
|
755
|
-
}
|
|
756
|
-
exports.DescribeUploadInfoResponseBody = DescribeUploadInfoResponseBody;
|
|
757
|
-
class DescribeUploadInfoResponse extends $tea.Model {
|
|
758
|
-
constructor(map) {
|
|
759
|
-
super(map);
|
|
760
|
-
}
|
|
761
|
-
static names() {
|
|
762
|
-
return {
|
|
763
|
-
headers: 'headers',
|
|
764
|
-
body: 'body',
|
|
765
|
-
};
|
|
766
|
-
}
|
|
767
|
-
static types() {
|
|
768
|
-
return {
|
|
769
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
770
|
-
body: DescribeUploadInfoResponseBody,
|
|
771
|
-
};
|
|
772
|
-
}
|
|
773
|
-
}
|
|
774
|
-
exports.DescribeUploadInfoResponse = DescribeUploadInfoResponse;
|
|
775
|
-
class DescribeVerifySettingResponseBody extends $tea.Model {
|
|
776
|
-
constructor(map) {
|
|
777
|
-
super(map);
|
|
778
|
-
}
|
|
779
|
-
static names() {
|
|
780
|
-
return {
|
|
781
|
-
requestId: 'RequestId',
|
|
782
|
-
verifySettingList: 'VerifySettingList',
|
|
783
|
-
};
|
|
784
|
-
}
|
|
785
|
-
static types() {
|
|
786
|
-
return {
|
|
787
|
-
requestId: 'string',
|
|
788
|
-
verifySettingList: { 'type': 'array', 'itemType': DescribeVerifySettingResponseBodyVerifySettingList },
|
|
789
|
-
};
|
|
790
|
-
}
|
|
791
|
-
}
|
|
792
|
-
exports.DescribeVerifySettingResponseBody = DescribeVerifySettingResponseBody;
|
|
793
|
-
class DescribeVerifySettingResponse extends $tea.Model {
|
|
794
|
-
constructor(map) {
|
|
795
|
-
super(map);
|
|
796
|
-
}
|
|
797
|
-
static names() {
|
|
798
|
-
return {
|
|
799
|
-
headers: 'headers',
|
|
800
|
-
body: 'body',
|
|
801
|
-
};
|
|
802
|
-
}
|
|
803
|
-
static types() {
|
|
804
|
-
return {
|
|
805
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
806
|
-
body: DescribeVerifySettingResponseBody,
|
|
807
|
-
};
|
|
808
|
-
}
|
|
809
|
-
}
|
|
810
|
-
exports.DescribeVerifySettingResponse = DescribeVerifySettingResponse;
|
|
811
|
-
class DescribeVerifyRecordsRequest extends $tea.Model {
|
|
812
|
-
constructor(map) {
|
|
813
|
-
super(map);
|
|
814
|
-
}
|
|
815
|
-
static names() {
|
|
816
|
-
return {
|
|
817
|
-
totalCount: 'TotalCount',
|
|
818
|
-
pageSize: 'PageSize',
|
|
819
|
-
currentPage: 'CurrentPage',
|
|
820
|
-
bizType: 'BizType',
|
|
821
|
-
startDate: 'StartDate',
|
|
822
|
-
endDate: 'EndDate',
|
|
823
|
-
bizId: 'BizId',
|
|
824
|
-
idCardNum: 'IdCardNum',
|
|
825
|
-
statusList: 'StatusList',
|
|
826
|
-
queryId: 'QueryId',
|
|
827
|
-
};
|
|
828
|
-
}
|
|
829
|
-
static types() {
|
|
830
|
-
return {
|
|
831
|
-
totalCount: 'number',
|
|
832
|
-
pageSize: 'number',
|
|
833
|
-
currentPage: 'number',
|
|
834
|
-
bizType: 'string',
|
|
835
|
-
startDate: 'string',
|
|
836
|
-
endDate: 'string',
|
|
837
|
-
bizId: 'string',
|
|
838
|
-
idCardNum: 'string',
|
|
839
|
-
statusList: 'string',
|
|
840
|
-
queryId: 'string',
|
|
841
|
-
};
|
|
842
|
-
}
|
|
843
|
-
}
|
|
844
|
-
exports.DescribeVerifyRecordsRequest = DescribeVerifyRecordsRequest;
|
|
845
|
-
class DescribeVerifyRecordsResponseBody extends $tea.Model {
|
|
846
|
-
constructor(map) {
|
|
847
|
-
super(map);
|
|
848
|
-
}
|
|
849
|
-
static names() {
|
|
850
|
-
return {
|
|
851
|
-
currentPage: 'CurrentPage',
|
|
852
|
-
pageSize: 'PageSize',
|
|
853
|
-
requestId: 'RequestId',
|
|
854
|
-
totalCount: 'TotalCount',
|
|
855
|
-
queryId: 'QueryId',
|
|
856
|
-
recordsList: 'RecordsList',
|
|
857
|
-
};
|
|
858
|
-
}
|
|
859
|
-
static types() {
|
|
860
|
-
return {
|
|
861
|
-
currentPage: 'number',
|
|
862
|
-
pageSize: 'number',
|
|
863
|
-
requestId: 'string',
|
|
864
|
-
totalCount: 'number',
|
|
865
|
-
queryId: 'string',
|
|
866
|
-
recordsList: { 'type': 'array', 'itemType': DescribeVerifyRecordsResponseBodyRecordsList },
|
|
867
|
-
};
|
|
868
|
-
}
|
|
869
|
-
}
|
|
870
|
-
exports.DescribeVerifyRecordsResponseBody = DescribeVerifyRecordsResponseBody;
|
|
871
|
-
class DescribeVerifyRecordsResponse extends $tea.Model {
|
|
872
|
-
constructor(map) {
|
|
873
|
-
super(map);
|
|
874
|
-
}
|
|
875
|
-
static names() {
|
|
876
|
-
return {
|
|
877
|
-
headers: 'headers',
|
|
878
|
-
body: 'body',
|
|
879
|
-
};
|
|
880
|
-
}
|
|
881
|
-
static types() {
|
|
882
|
-
return {
|
|
883
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
884
|
-
body: DescribeVerifyRecordsResponseBody,
|
|
885
|
-
};
|
|
886
|
-
}
|
|
887
|
-
}
|
|
888
|
-
exports.DescribeVerifyRecordsResponse = DescribeVerifyRecordsResponse;
|
|
889
|
-
class DescribeWhitelistSettingRequest extends $tea.Model {
|
|
890
|
-
constructor(map) {
|
|
891
|
-
super(map);
|
|
892
|
-
}
|
|
893
|
-
static names() {
|
|
894
|
-
return {
|
|
895
|
-
sourceIp: 'SourceIp',
|
|
896
|
-
lang: 'Lang',
|
|
897
|
-
serviceCode: 'ServiceCode',
|
|
898
|
-
sceneId: 'SceneId',
|
|
899
|
-
certifyId: 'CertifyId',
|
|
900
|
-
certNo: 'CertNo',
|
|
901
|
-
validStartDate: 'ValidStartDate',
|
|
902
|
-
validEndDate: 'ValidEndDate',
|
|
903
|
-
status: 'Status',
|
|
904
|
-
pageSize: 'PageSize',
|
|
905
|
-
currentPage: 'CurrentPage',
|
|
906
|
-
};
|
|
907
|
-
}
|
|
908
|
-
static types() {
|
|
909
|
-
return {
|
|
910
|
-
sourceIp: 'string',
|
|
911
|
-
lang: 'string',
|
|
912
|
-
serviceCode: 'string',
|
|
913
|
-
sceneId: 'number',
|
|
914
|
-
certifyId: 'string',
|
|
915
|
-
certNo: 'string',
|
|
916
|
-
validStartDate: 'number',
|
|
917
|
-
validEndDate: 'number',
|
|
918
|
-
status: 'string',
|
|
919
|
-
pageSize: 'number',
|
|
920
|
-
currentPage: 'number',
|
|
921
|
-
};
|
|
922
|
-
}
|
|
923
|
-
}
|
|
924
|
-
exports.DescribeWhitelistSettingRequest = DescribeWhitelistSettingRequest;
|
|
925
|
-
class DescribeWhitelistSettingResponseBody extends $tea.Model {
|
|
926
|
-
constructor(map) {
|
|
927
|
-
super(map);
|
|
928
|
-
}
|
|
929
|
-
static names() {
|
|
930
|
-
return {
|
|
931
|
-
currentPage: 'CurrentPage',
|
|
932
|
-
pageSize: 'PageSize',
|
|
933
|
-
requestId: 'RequestId',
|
|
934
|
-
totalCount: 'TotalCount',
|
|
935
|
-
items: 'Items',
|
|
936
|
-
};
|
|
937
|
-
}
|
|
938
|
-
static types() {
|
|
939
|
-
return {
|
|
940
|
-
currentPage: 'number',
|
|
941
|
-
pageSize: 'number',
|
|
942
|
-
requestId: 'string',
|
|
943
|
-
totalCount: 'number',
|
|
944
|
-
items: { 'type': 'array', 'itemType': DescribeWhitelistSettingResponseBodyItems },
|
|
945
|
-
};
|
|
946
|
-
}
|
|
947
|
-
}
|
|
948
|
-
exports.DescribeWhitelistSettingResponseBody = DescribeWhitelistSettingResponseBody;
|
|
949
|
-
class DescribeWhitelistSettingResponse extends $tea.Model {
|
|
950
|
-
constructor(map) {
|
|
951
|
-
super(map);
|
|
952
|
-
}
|
|
953
|
-
static names() {
|
|
954
|
-
return {
|
|
955
|
-
headers: 'headers',
|
|
956
|
-
body: 'body',
|
|
957
|
-
};
|
|
958
|
-
}
|
|
959
|
-
static types() {
|
|
960
|
-
return {
|
|
961
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
962
|
-
body: DescribeWhitelistSettingResponseBody,
|
|
963
|
-
};
|
|
964
|
-
}
|
|
965
|
-
}
|
|
966
|
-
exports.DescribeWhitelistSettingResponse = DescribeWhitelistSettingResponse;
|
|
967
|
-
class CreateRPSDKRequest extends $tea.Model {
|
|
968
|
-
constructor(map) {
|
|
969
|
-
super(map);
|
|
970
|
-
}
|
|
971
|
-
static names() {
|
|
972
|
-
return {
|
|
973
|
-
sourceIp: 'SourceIp',
|
|
974
|
-
lang: 'Lang',
|
|
975
|
-
appUrl: 'AppUrl',
|
|
976
|
-
platform: 'Platform',
|
|
977
|
-
};
|
|
978
|
-
}
|
|
979
|
-
static types() {
|
|
980
|
-
return {
|
|
981
|
-
sourceIp: 'string',
|
|
982
|
-
lang: 'string',
|
|
983
|
-
appUrl: 'string',
|
|
984
|
-
platform: 'string',
|
|
985
|
-
};
|
|
986
|
-
}
|
|
987
|
-
}
|
|
988
|
-
exports.CreateRPSDKRequest = CreateRPSDKRequest;
|
|
989
|
-
class CreateRPSDKResponseBody extends $tea.Model {
|
|
990
|
-
constructor(map) {
|
|
991
|
-
super(map);
|
|
992
|
-
}
|
|
993
|
-
static names() {
|
|
994
|
-
return {
|
|
995
|
-
taskId: 'TaskId',
|
|
996
|
-
requestId: 'RequestId',
|
|
997
|
-
};
|
|
998
|
-
}
|
|
999
|
-
static types() {
|
|
1000
|
-
return {
|
|
1001
|
-
taskId: 'string',
|
|
1002
|
-
requestId: 'string',
|
|
1003
|
-
};
|
|
1004
|
-
}
|
|
1005
|
-
}
|
|
1006
|
-
exports.CreateRPSDKResponseBody = CreateRPSDKResponseBody;
|
|
1007
|
-
class CreateRPSDKResponse extends $tea.Model {
|
|
1008
|
-
constructor(map) {
|
|
1009
|
-
super(map);
|
|
1010
|
-
}
|
|
1011
|
-
static names() {
|
|
1012
|
-
return {
|
|
1013
|
-
headers: 'headers',
|
|
1014
|
-
body: 'body',
|
|
1015
|
-
};
|
|
1016
|
-
}
|
|
1017
|
-
static types() {
|
|
1018
|
-
return {
|
|
1019
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1020
|
-
body: CreateRPSDKResponseBody,
|
|
1021
|
-
};
|
|
1022
|
-
}
|
|
1023
|
-
}
|
|
1024
|
-
exports.CreateRPSDKResponse = CreateRPSDKResponse;
|
|
1025
|
-
class UpdateFaceConfigRequest extends $tea.Model {
|
|
1026
|
-
constructor(map) {
|
|
1027
|
-
super(map);
|
|
1028
|
-
}
|
|
1029
|
-
static names() {
|
|
1030
|
-
return {
|
|
1031
|
-
sourceIp: 'SourceIp',
|
|
1032
|
-
lang: 'Lang',
|
|
1033
|
-
bizType: 'BizType',
|
|
1034
|
-
bizName: 'BizName',
|
|
1035
|
-
};
|
|
1036
|
-
}
|
|
1037
|
-
static types() {
|
|
1038
|
-
return {
|
|
1039
|
-
sourceIp: 'string',
|
|
1040
|
-
lang: 'string',
|
|
1041
|
-
bizType: 'string',
|
|
1042
|
-
bizName: 'string',
|
|
1043
|
-
};
|
|
1044
|
-
}
|
|
1045
|
-
}
|
|
1046
|
-
exports.UpdateFaceConfigRequest = UpdateFaceConfigRequest;
|
|
1047
|
-
class UpdateFaceConfigResponseBody extends $tea.Model {
|
|
1048
|
-
constructor(map) {
|
|
1049
|
-
super(map);
|
|
1050
|
-
}
|
|
1051
|
-
static names() {
|
|
1052
|
-
return {
|
|
1053
|
-
requestId: 'RequestId',
|
|
1054
|
-
};
|
|
1055
|
-
}
|
|
1056
|
-
static types() {
|
|
1057
|
-
return {
|
|
1058
|
-
requestId: 'string',
|
|
1059
|
-
};
|
|
1060
|
-
}
|
|
1061
|
-
}
|
|
1062
|
-
exports.UpdateFaceConfigResponseBody = UpdateFaceConfigResponseBody;
|
|
1063
|
-
class UpdateFaceConfigResponse extends $tea.Model {
|
|
1064
|
-
constructor(map) {
|
|
1065
|
-
super(map);
|
|
1066
|
-
}
|
|
1067
|
-
static names() {
|
|
1068
|
-
return {
|
|
1069
|
-
headers: 'headers',
|
|
1070
|
-
body: 'body',
|
|
1071
|
-
};
|
|
1072
|
-
}
|
|
1073
|
-
static types() {
|
|
1074
|
-
return {
|
|
1075
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1076
|
-
body: UpdateFaceConfigResponseBody,
|
|
1077
|
-
};
|
|
1078
|
-
}
|
|
1079
|
-
}
|
|
1080
|
-
exports.UpdateFaceConfigResponse = UpdateFaceConfigResponse;
|
|
1081
|
-
class DescribeFaceConfigRequest extends $tea.Model {
|
|
1082
|
-
constructor(map) {
|
|
1083
|
-
super(map);
|
|
1084
|
-
}
|
|
1085
|
-
static names() {
|
|
1086
|
-
return {
|
|
1087
|
-
sourceIp: 'SourceIp',
|
|
1088
|
-
lang: 'Lang',
|
|
1089
|
-
};
|
|
1090
|
-
}
|
|
1091
|
-
static types() {
|
|
1092
|
-
return {
|
|
1093
|
-
sourceIp: 'string',
|
|
1094
|
-
lang: 'string',
|
|
1095
|
-
};
|
|
1096
|
-
}
|
|
1097
|
-
}
|
|
1098
|
-
exports.DescribeFaceConfigRequest = DescribeFaceConfigRequest;
|
|
1099
|
-
class DescribeFaceConfigResponseBody extends $tea.Model {
|
|
1100
|
-
constructor(map) {
|
|
1101
|
-
super(map);
|
|
1102
|
-
}
|
|
1103
|
-
static names() {
|
|
1104
|
-
return {
|
|
1105
|
-
requestId: 'RequestId',
|
|
1106
|
-
items: 'Items',
|
|
1107
|
-
};
|
|
1108
|
-
}
|
|
1109
|
-
static types() {
|
|
1110
|
-
return {
|
|
1111
|
-
requestId: 'string',
|
|
1112
|
-
items: { 'type': 'array', 'itemType': DescribeFaceConfigResponseBodyItems },
|
|
1113
|
-
};
|
|
1114
|
-
}
|
|
1115
|
-
}
|
|
1116
|
-
exports.DescribeFaceConfigResponseBody = DescribeFaceConfigResponseBody;
|
|
1117
|
-
class DescribeFaceConfigResponse extends $tea.Model {
|
|
1118
|
-
constructor(map) {
|
|
1119
|
-
super(map);
|
|
1120
|
-
}
|
|
1121
|
-
static names() {
|
|
1122
|
-
return {
|
|
1123
|
-
headers: 'headers',
|
|
1124
|
-
body: 'body',
|
|
1125
|
-
};
|
|
1126
|
-
}
|
|
1127
|
-
static types() {
|
|
1128
|
-
return {
|
|
1129
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1130
|
-
body: DescribeFaceConfigResponseBody,
|
|
1131
|
-
};
|
|
1132
|
-
}
|
|
1133
|
-
}
|
|
1134
|
-
exports.DescribeFaceConfigResponse = DescribeFaceConfigResponse;
|
|
1135
|
-
class LivenessFaceVerifyRequest extends $tea.Model {
|
|
1136
|
-
constructor(map) {
|
|
1137
|
-
super(map);
|
|
1138
|
-
}
|
|
1139
|
-
static names() {
|
|
1140
|
-
return {
|
|
1141
|
-
sceneId: 'SceneId',
|
|
1142
|
-
outerOrderNo: 'OuterOrderNo',
|
|
1143
|
-
productCode: 'ProductCode',
|
|
1144
|
-
faceContrastPicture: 'FaceContrastPicture',
|
|
1145
|
-
deviceToken: 'DeviceToken',
|
|
1146
|
-
mobile: 'Mobile',
|
|
1147
|
-
ip: 'Ip',
|
|
1148
|
-
userId: 'UserId',
|
|
1149
|
-
faceContrastPictureUrl: 'FaceContrastPictureUrl',
|
|
1150
|
-
certifyId: 'CertifyId',
|
|
1151
|
-
ossBucketName: 'OssBucketName',
|
|
1152
|
-
ossObjectName: 'OssObjectName',
|
|
1153
|
-
model: 'Model',
|
|
1154
|
-
crop: 'Crop',
|
|
1155
|
-
};
|
|
1156
|
-
}
|
|
1157
|
-
static types() {
|
|
1158
|
-
return {
|
|
1159
|
-
sceneId: 'number',
|
|
1160
|
-
outerOrderNo: 'string',
|
|
1161
|
-
productCode: 'string',
|
|
1162
|
-
faceContrastPicture: 'string',
|
|
1163
|
-
deviceToken: 'string',
|
|
1164
|
-
mobile: 'string',
|
|
1165
|
-
ip: 'string',
|
|
1166
|
-
userId: 'string',
|
|
1167
|
-
faceContrastPictureUrl: 'string',
|
|
1168
|
-
certifyId: 'string',
|
|
1169
|
-
ossBucketName: 'string',
|
|
1170
|
-
ossObjectName: 'string',
|
|
1171
|
-
model: 'string',
|
|
1172
|
-
crop: 'string',
|
|
1173
|
-
};
|
|
1174
|
-
}
|
|
1175
|
-
}
|
|
1176
|
-
exports.LivenessFaceVerifyRequest = LivenessFaceVerifyRequest;
|
|
1177
|
-
class LivenessFaceVerifyResponseBody extends $tea.Model {
|
|
1178
|
-
constructor(map) {
|
|
1179
|
-
super(map);
|
|
1180
|
-
}
|
|
1181
|
-
static names() {
|
|
1182
|
-
return {
|
|
1183
|
-
code: 'Code',
|
|
1184
|
-
message: 'Message',
|
|
1185
|
-
requestId: 'RequestId',
|
|
1186
|
-
resultObject: 'ResultObject',
|
|
1187
|
-
};
|
|
1188
|
-
}
|
|
1189
|
-
static types() {
|
|
1190
|
-
return {
|
|
1191
|
-
code: 'string',
|
|
1192
|
-
message: 'string',
|
|
1193
|
-
requestId: 'string',
|
|
1194
|
-
resultObject: LivenessFaceVerifyResponseBodyResultObject,
|
|
1195
|
-
};
|
|
1196
|
-
}
|
|
1197
|
-
}
|
|
1198
|
-
exports.LivenessFaceVerifyResponseBody = LivenessFaceVerifyResponseBody;
|
|
1199
|
-
class LivenessFaceVerifyResponse extends $tea.Model {
|
|
1200
|
-
constructor(map) {
|
|
1201
|
-
super(map);
|
|
1202
|
-
}
|
|
1203
|
-
static names() {
|
|
1204
|
-
return {
|
|
1205
|
-
headers: 'headers',
|
|
1206
|
-
body: 'body',
|
|
1207
|
-
};
|
|
1208
|
-
}
|
|
1209
|
-
static types() {
|
|
1210
|
-
return {
|
|
1211
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1212
|
-
body: LivenessFaceVerifyResponseBody,
|
|
1213
|
-
};
|
|
1214
|
-
}
|
|
1215
|
-
}
|
|
1216
|
-
exports.LivenessFaceVerifyResponse = LivenessFaceVerifyResponse;
|
|
1217
|
-
class DescribeAppInfoRequest extends $tea.Model {
|
|
1218
|
-
constructor(map) {
|
|
1219
|
-
super(map);
|
|
1220
|
-
}
|
|
1221
|
-
static names() {
|
|
1222
|
-
return {
|
|
1223
|
-
pageSize: 'PageSize',
|
|
1224
|
-
currentPage: 'CurrentPage',
|
|
1225
|
-
platform: 'Platform',
|
|
1226
|
-
};
|
|
1227
|
-
}
|
|
1228
|
-
static types() {
|
|
1229
|
-
return {
|
|
1230
|
-
pageSize: 'number',
|
|
1231
|
-
currentPage: 'number',
|
|
1232
|
-
platform: 'string',
|
|
1233
|
-
};
|
|
1234
|
-
}
|
|
1235
|
-
}
|
|
1236
|
-
exports.DescribeAppInfoRequest = DescribeAppInfoRequest;
|
|
1237
|
-
class DescribeAppInfoResponseBody extends $tea.Model {
|
|
1238
|
-
constructor(map) {
|
|
1239
|
-
super(map);
|
|
1240
|
-
}
|
|
1241
|
-
static names() {
|
|
1242
|
-
return {
|
|
1243
|
-
currentPage: 'CurrentPage',
|
|
1244
|
-
requestId: 'RequestId',
|
|
1245
|
-
pageSize: 'PageSize',
|
|
1246
|
-
totalCount: 'TotalCount',
|
|
1247
|
-
appInfoList: 'AppInfoList',
|
|
1248
|
-
};
|
|
1249
|
-
}
|
|
1250
|
-
static types() {
|
|
1251
|
-
return {
|
|
1252
|
-
currentPage: 'number',
|
|
1253
|
-
requestId: 'string',
|
|
1254
|
-
pageSize: 'number',
|
|
1255
|
-
totalCount: 'number',
|
|
1256
|
-
appInfoList: { 'type': 'array', 'itemType': DescribeAppInfoResponseBodyAppInfoList },
|
|
1257
|
-
};
|
|
1258
|
-
}
|
|
1259
|
-
}
|
|
1260
|
-
exports.DescribeAppInfoResponseBody = DescribeAppInfoResponseBody;
|
|
1261
|
-
class DescribeAppInfoResponse extends $tea.Model {
|
|
1262
|
-
constructor(map) {
|
|
1263
|
-
super(map);
|
|
1264
|
-
}
|
|
1265
|
-
static names() {
|
|
1266
|
-
return {
|
|
1267
|
-
headers: 'headers',
|
|
1268
|
-
body: 'body',
|
|
1269
|
-
};
|
|
1270
|
-
}
|
|
1271
|
-
static types() {
|
|
1272
|
-
return {
|
|
1273
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1274
|
-
body: DescribeAppInfoResponseBody,
|
|
1275
|
-
};
|
|
1276
|
-
}
|
|
1277
|
-
}
|
|
1278
|
-
exports.DescribeAppInfoResponse = DescribeAppInfoResponse;
|
|
1279
|
-
class ModifyDeviceInfoRequest extends $tea.Model {
|
|
1280
|
-
constructor(map) {
|
|
1281
|
-
super(map);
|
|
1282
|
-
}
|
|
1283
|
-
static names() {
|
|
1284
|
-
return {
|
|
1285
|
-
deviceId: 'DeviceId',
|
|
1286
|
-
userDeviceId: 'UserDeviceId',
|
|
1287
|
-
bizType: 'BizType',
|
|
1288
|
-
duration: 'Duration',
|
|
1289
|
-
expiredDay: 'ExpiredDay',
|
|
1290
|
-
};
|
|
1291
|
-
}
|
|
1292
|
-
static types() {
|
|
1293
|
-
return {
|
|
1294
|
-
deviceId: 'string',
|
|
1295
|
-
userDeviceId: 'string',
|
|
1296
|
-
bizType: 'string',
|
|
1297
|
-
duration: 'string',
|
|
1298
|
-
expiredDay: 'string',
|
|
1299
|
-
};
|
|
1300
|
-
}
|
|
1301
|
-
}
|
|
1302
|
-
exports.ModifyDeviceInfoRequest = ModifyDeviceInfoRequest;
|
|
1303
|
-
class ModifyDeviceInfoResponseBody extends $tea.Model {
|
|
1304
|
-
constructor(map) {
|
|
1305
|
-
super(map);
|
|
1306
|
-
}
|
|
1307
|
-
static names() {
|
|
1308
|
-
return {
|
|
1309
|
-
requestId: 'RequestId',
|
|
1310
|
-
userDeviceId: 'UserDeviceId',
|
|
1311
|
-
deviceId: 'DeviceId',
|
|
1312
|
-
expiredDay: 'ExpiredDay',
|
|
1313
|
-
beginDay: 'BeginDay',
|
|
1314
|
-
bizType: 'BizType',
|
|
1315
|
-
};
|
|
1316
|
-
}
|
|
1317
|
-
static types() {
|
|
1318
|
-
return {
|
|
1319
|
-
requestId: 'string',
|
|
1320
|
-
userDeviceId: 'string',
|
|
1321
|
-
deviceId: 'string',
|
|
1322
|
-
expiredDay: 'string',
|
|
1323
|
-
beginDay: 'string',
|
|
1324
|
-
bizType: 'string',
|
|
1325
|
-
};
|
|
1326
|
-
}
|
|
1327
|
-
}
|
|
1328
|
-
exports.ModifyDeviceInfoResponseBody = ModifyDeviceInfoResponseBody;
|
|
1329
|
-
class ModifyDeviceInfoResponse extends $tea.Model {
|
|
1330
|
-
constructor(map) {
|
|
1331
|
-
super(map);
|
|
1332
|
-
}
|
|
1333
|
-
static names() {
|
|
1334
|
-
return {
|
|
1335
|
-
headers: 'headers',
|
|
1336
|
-
body: 'body',
|
|
1337
|
-
};
|
|
1338
|
-
}
|
|
1339
|
-
static types() {
|
|
1340
|
-
return {
|
|
1341
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1342
|
-
body: ModifyDeviceInfoResponseBody,
|
|
1343
|
-
};
|
|
1344
|
-
}
|
|
1345
|
-
}
|
|
1346
|
-
exports.ModifyDeviceInfoResponse = ModifyDeviceInfoResponse;
|
|
1347
|
-
class ContrastFaceVerifyRequest extends $tea.Model {
|
|
1348
|
-
constructor(map) {
|
|
1349
|
-
super(map);
|
|
1350
|
-
}
|
|
1351
|
-
static names() {
|
|
1352
|
-
return {
|
|
1353
|
-
sceneId: 'SceneId',
|
|
1354
|
-
outerOrderNo: 'OuterOrderNo',
|
|
1355
|
-
productCode: 'ProductCode',
|
|
1356
|
-
certType: 'CertType',
|
|
1357
|
-
certName: 'CertName',
|
|
1358
|
-
certNo: 'CertNo',
|
|
1359
|
-
faceContrastPicture: 'FaceContrastPicture',
|
|
1360
|
-
deviceToken: 'DeviceToken',
|
|
1361
|
-
mobile: 'Mobile',
|
|
1362
|
-
ip: 'Ip',
|
|
1363
|
-
userId: 'UserId',
|
|
1364
|
-
faceContrastPictureUrl: 'FaceContrastPictureUrl',
|
|
1365
|
-
certifyId: 'CertifyId',
|
|
1366
|
-
ossBucketName: 'OssBucketName',
|
|
1367
|
-
ossObjectName: 'OssObjectName',
|
|
1368
|
-
model: 'Model',
|
|
1369
|
-
faceContrastFile: 'FaceContrastFile',
|
|
1370
|
-
crop: 'Crop',
|
|
1371
|
-
};
|
|
1372
|
-
}
|
|
1373
|
-
static types() {
|
|
1374
|
-
return {
|
|
1375
|
-
sceneId: 'number',
|
|
1376
|
-
outerOrderNo: 'string',
|
|
1377
|
-
productCode: 'string',
|
|
1378
|
-
certType: 'string',
|
|
1379
|
-
certName: 'string',
|
|
1380
|
-
certNo: 'string',
|
|
1381
|
-
faceContrastPicture: 'string',
|
|
1382
|
-
deviceToken: 'string',
|
|
1383
|
-
mobile: 'string',
|
|
1384
|
-
ip: 'string',
|
|
1385
|
-
userId: 'string',
|
|
1386
|
-
faceContrastPictureUrl: 'string',
|
|
1387
|
-
certifyId: 'string',
|
|
1388
|
-
ossBucketName: 'string',
|
|
1389
|
-
ossObjectName: 'string',
|
|
1390
|
-
model: 'string',
|
|
1391
|
-
faceContrastFile: 'string',
|
|
1392
|
-
crop: 'string',
|
|
1393
|
-
};
|
|
1394
|
-
}
|
|
1395
|
-
}
|
|
1396
|
-
exports.ContrastFaceVerifyRequest = ContrastFaceVerifyRequest;
|
|
1397
|
-
class ContrastFaceVerifyAdvanceRequest extends $tea.Model {
|
|
1398
|
-
constructor(map) {
|
|
1399
|
-
super(map);
|
|
1400
|
-
}
|
|
1401
|
-
static names() {
|
|
1402
|
-
return {
|
|
1403
|
-
faceContrastFileObject: 'FaceContrastFileObject',
|
|
1404
|
-
sceneId: 'SceneId',
|
|
1405
|
-
outerOrderNo: 'OuterOrderNo',
|
|
1406
|
-
productCode: 'ProductCode',
|
|
1407
|
-
certType: 'CertType',
|
|
1408
|
-
certName: 'CertName',
|
|
1409
|
-
certNo: 'CertNo',
|
|
1410
|
-
faceContrastPicture: 'FaceContrastPicture',
|
|
1411
|
-
deviceToken: 'DeviceToken',
|
|
1412
|
-
mobile: 'Mobile',
|
|
1413
|
-
ip: 'Ip',
|
|
1414
|
-
userId: 'UserId',
|
|
1415
|
-
faceContrastPictureUrl: 'FaceContrastPictureUrl',
|
|
1416
|
-
certifyId: 'CertifyId',
|
|
1417
|
-
ossBucketName: 'OssBucketName',
|
|
1418
|
-
ossObjectName: 'OssObjectName',
|
|
1419
|
-
model: 'Model',
|
|
1420
|
-
crop: 'Crop',
|
|
1421
|
-
};
|
|
1422
|
-
}
|
|
1423
|
-
static types() {
|
|
1424
|
-
return {
|
|
1425
|
-
faceContrastFileObject: 'Readable',
|
|
1426
|
-
sceneId: 'number',
|
|
1427
|
-
outerOrderNo: 'string',
|
|
1428
|
-
productCode: 'string',
|
|
1429
|
-
certType: 'string',
|
|
1430
|
-
certName: 'string',
|
|
1431
|
-
certNo: 'string',
|
|
1432
|
-
faceContrastPicture: 'string',
|
|
1433
|
-
deviceToken: 'string',
|
|
1434
|
-
mobile: 'string',
|
|
1435
|
-
ip: 'string',
|
|
1436
|
-
userId: 'string',
|
|
1437
|
-
faceContrastPictureUrl: 'string',
|
|
1438
|
-
certifyId: 'string',
|
|
1439
|
-
ossBucketName: 'string',
|
|
1440
|
-
ossObjectName: 'string',
|
|
1441
|
-
model: 'string',
|
|
1442
|
-
crop: 'string',
|
|
1443
|
-
};
|
|
1444
|
-
}
|
|
1445
|
-
}
|
|
1446
|
-
exports.ContrastFaceVerifyAdvanceRequest = ContrastFaceVerifyAdvanceRequest;
|
|
1447
|
-
class ContrastFaceVerifyResponseBody extends $tea.Model {
|
|
1448
|
-
constructor(map) {
|
|
1449
|
-
super(map);
|
|
1450
|
-
}
|
|
1451
|
-
static names() {
|
|
1452
|
-
return {
|
|
1453
|
-
code: 'Code',
|
|
1454
|
-
message: 'Message',
|
|
1455
|
-
requestId: 'RequestId',
|
|
1456
|
-
resultObject: 'ResultObject',
|
|
1457
|
-
};
|
|
1458
|
-
}
|
|
1459
|
-
static types() {
|
|
1460
|
-
return {
|
|
1461
|
-
code: 'string',
|
|
1462
|
-
message: 'string',
|
|
1463
|
-
requestId: 'string',
|
|
1464
|
-
resultObject: ContrastFaceVerifyResponseBodyResultObject,
|
|
1465
|
-
};
|
|
1466
|
-
}
|
|
1467
|
-
}
|
|
1468
|
-
exports.ContrastFaceVerifyResponseBody = ContrastFaceVerifyResponseBody;
|
|
1469
|
-
class ContrastFaceVerifyResponse extends $tea.Model {
|
|
1470
|
-
constructor(map) {
|
|
1471
|
-
super(map);
|
|
1472
|
-
}
|
|
1473
|
-
static names() {
|
|
1474
|
-
return {
|
|
1475
|
-
headers: 'headers',
|
|
1476
|
-
body: 'body',
|
|
1477
|
-
};
|
|
1478
|
-
}
|
|
1479
|
-
static types() {
|
|
1480
|
-
return {
|
|
1481
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1482
|
-
body: ContrastFaceVerifyResponseBody,
|
|
1483
|
-
};
|
|
1484
|
-
}
|
|
1485
|
-
}
|
|
1486
|
-
exports.ContrastFaceVerifyResponse = ContrastFaceVerifyResponse;
|
|
1487
|
-
class VerifyDeviceRequest extends $tea.Model {
|
|
1488
|
-
constructor(map) {
|
|
1489
|
-
super(map);
|
|
1490
|
-
}
|
|
1491
|
-
static names() {
|
|
1492
|
-
return {
|
|
1493
|
-
certifyId: 'CertifyId',
|
|
1494
|
-
certifyData: 'CertifyData',
|
|
1495
|
-
appVersion: 'AppVersion',
|
|
1496
|
-
extInfo: 'ExtInfo',
|
|
1497
|
-
deviceToken: 'DeviceToken',
|
|
1498
|
-
};
|
|
1499
|
-
}
|
|
1500
|
-
static types() {
|
|
1501
|
-
return {
|
|
1502
|
-
certifyId: 'string',
|
|
1503
|
-
certifyData: 'string',
|
|
1504
|
-
appVersion: 'string',
|
|
1505
|
-
extInfo: 'string',
|
|
1506
|
-
deviceToken: 'string',
|
|
1507
|
-
};
|
|
1508
|
-
}
|
|
1509
|
-
}
|
|
1510
|
-
exports.VerifyDeviceRequest = VerifyDeviceRequest;
|
|
1511
|
-
class VerifyDeviceResponseBody extends $tea.Model {
|
|
1512
|
-
constructor(map) {
|
|
1513
|
-
super(map);
|
|
1514
|
-
}
|
|
1515
|
-
static names() {
|
|
1516
|
-
return {
|
|
1517
|
-
code: 'Code',
|
|
1518
|
-
message: 'Message',
|
|
1519
|
-
requestId: 'RequestId',
|
|
1520
|
-
resultObject: 'ResultObject',
|
|
1521
|
-
};
|
|
1522
|
-
}
|
|
1523
|
-
static types() {
|
|
1524
|
-
return {
|
|
1525
|
-
code: 'string',
|
|
1526
|
-
message: 'string',
|
|
1527
|
-
requestId: 'string',
|
|
1528
|
-
resultObject: VerifyDeviceResponseBodyResultObject,
|
|
1529
|
-
};
|
|
1530
|
-
}
|
|
1531
|
-
}
|
|
1532
|
-
exports.VerifyDeviceResponseBody = VerifyDeviceResponseBody;
|
|
1533
|
-
class VerifyDeviceResponse extends $tea.Model {
|
|
1534
|
-
constructor(map) {
|
|
1535
|
-
super(map);
|
|
1536
|
-
}
|
|
1537
|
-
static names() {
|
|
1538
|
-
return {
|
|
1539
|
-
headers: 'headers',
|
|
1540
|
-
body: 'body',
|
|
1541
|
-
};
|
|
1542
|
-
}
|
|
1543
|
-
static types() {
|
|
1544
|
-
return {
|
|
1545
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1546
|
-
body: VerifyDeviceResponseBody,
|
|
1547
|
-
};
|
|
1548
|
-
}
|
|
1549
|
-
}
|
|
1550
|
-
exports.VerifyDeviceResponse = VerifyDeviceResponse;
|
|
1551
|
-
class CompareFaceVerifyRequest extends $tea.Model {
|
|
1552
|
-
constructor(map) {
|
|
1553
|
-
super(map);
|
|
1554
|
-
}
|
|
1555
|
-
static names() {
|
|
1556
|
-
return {
|
|
1557
|
-
sceneId: 'SceneId',
|
|
1558
|
-
outerOrderNo: 'OuterOrderNo',
|
|
1559
|
-
productCode: 'ProductCode',
|
|
1560
|
-
sourceFaceContrastPicture: 'SourceFaceContrastPicture',
|
|
1561
|
-
sourceFaceContrastPictureUrl: 'SourceFaceContrastPictureUrl',
|
|
1562
|
-
sourceCertifyId: 'SourceCertifyId',
|
|
1563
|
-
sourceOssBucketName: 'SourceOssBucketName',
|
|
1564
|
-
sourceOssObjectName: 'SourceOssObjectName',
|
|
1565
|
-
targetFaceContrastPicture: 'TargetFaceContrastPicture',
|
|
1566
|
-
targetFaceContrastPictureUrl: 'TargetFaceContrastPictureUrl',
|
|
1567
|
-
targetCertifyId: 'TargetCertifyId',
|
|
1568
|
-
targetOssBucketName: 'TargetOssBucketName',
|
|
1569
|
-
targetOssObjectName: 'TargetOssObjectName',
|
|
1570
|
-
crop: 'Crop',
|
|
1571
|
-
};
|
|
1572
|
-
}
|
|
1573
|
-
static types() {
|
|
1574
|
-
return {
|
|
1575
|
-
sceneId: 'number',
|
|
1576
|
-
outerOrderNo: 'string',
|
|
1577
|
-
productCode: 'string',
|
|
1578
|
-
sourceFaceContrastPicture: 'string',
|
|
1579
|
-
sourceFaceContrastPictureUrl: 'string',
|
|
1580
|
-
sourceCertifyId: 'string',
|
|
1581
|
-
sourceOssBucketName: 'string',
|
|
1582
|
-
sourceOssObjectName: 'string',
|
|
1583
|
-
targetFaceContrastPicture: 'string',
|
|
1584
|
-
targetFaceContrastPictureUrl: 'string',
|
|
1585
|
-
targetCertifyId: 'string',
|
|
1586
|
-
targetOssBucketName: 'string',
|
|
1587
|
-
targetOssObjectName: 'string',
|
|
1588
|
-
crop: 'string',
|
|
1589
|
-
};
|
|
1590
|
-
}
|
|
1591
|
-
}
|
|
1592
|
-
exports.CompareFaceVerifyRequest = CompareFaceVerifyRequest;
|
|
1593
|
-
class CompareFaceVerifyResponseBody extends $tea.Model {
|
|
1594
|
-
constructor(map) {
|
|
1595
|
-
super(map);
|
|
1596
|
-
}
|
|
1597
|
-
static names() {
|
|
1598
|
-
return {
|
|
1599
|
-
code: 'Code',
|
|
1600
|
-
message: 'Message',
|
|
1601
|
-
requestId: 'RequestId',
|
|
1602
|
-
resultObject: 'ResultObject',
|
|
1603
|
-
};
|
|
1604
|
-
}
|
|
1605
|
-
static types() {
|
|
1606
|
-
return {
|
|
1607
|
-
code: 'string',
|
|
1608
|
-
message: 'string',
|
|
1609
|
-
requestId: 'string',
|
|
1610
|
-
resultObject: CompareFaceVerifyResponseBodyResultObject,
|
|
1611
|
-
};
|
|
1612
|
-
}
|
|
1613
|
-
}
|
|
1614
|
-
exports.CompareFaceVerifyResponseBody = CompareFaceVerifyResponseBody;
|
|
1615
|
-
class CompareFaceVerifyResponse extends $tea.Model {
|
|
1616
|
-
constructor(map) {
|
|
1617
|
-
super(map);
|
|
1618
|
-
}
|
|
1619
|
-
static names() {
|
|
1620
|
-
return {
|
|
1621
|
-
headers: 'headers',
|
|
1622
|
-
body: 'body',
|
|
1623
|
-
};
|
|
1624
|
-
}
|
|
1625
|
-
static types() {
|
|
1626
|
-
return {
|
|
1627
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1628
|
-
body: CompareFaceVerifyResponseBody,
|
|
1629
|
-
};
|
|
1630
|
-
}
|
|
1631
|
-
}
|
|
1632
|
-
exports.CompareFaceVerifyResponse = CompareFaceVerifyResponse;
|
|
1633
|
-
class DescribeVerifySDKRequest extends $tea.Model {
|
|
1634
|
-
constructor(map) {
|
|
1635
|
-
super(map);
|
|
1636
|
-
}
|
|
1637
|
-
static names() {
|
|
1638
|
-
return {
|
|
1639
|
-
taskId: 'TaskId',
|
|
1640
|
-
};
|
|
1641
|
-
}
|
|
1642
|
-
static types() {
|
|
1643
|
-
return {
|
|
1644
|
-
taskId: 'string',
|
|
1645
|
-
};
|
|
1646
|
-
}
|
|
1647
|
-
}
|
|
1648
|
-
exports.DescribeVerifySDKRequest = DescribeVerifySDKRequest;
|
|
1649
|
-
class DescribeVerifySDKResponseBody extends $tea.Model {
|
|
1650
|
-
constructor(map) {
|
|
1651
|
-
super(map);
|
|
1652
|
-
}
|
|
1653
|
-
static names() {
|
|
1654
|
-
return {
|
|
1655
|
-
sdkUrl: 'SdkUrl',
|
|
1656
|
-
requestId: 'RequestId',
|
|
1657
|
-
};
|
|
1658
|
-
}
|
|
1659
|
-
static types() {
|
|
1660
|
-
return {
|
|
1661
|
-
sdkUrl: 'string',
|
|
1662
|
-
requestId: 'string',
|
|
1663
|
-
};
|
|
1664
|
-
}
|
|
1665
|
-
}
|
|
1666
|
-
exports.DescribeVerifySDKResponseBody = DescribeVerifySDKResponseBody;
|
|
1667
|
-
class DescribeVerifySDKResponse extends $tea.Model {
|
|
1668
|
-
constructor(map) {
|
|
1669
|
-
super(map);
|
|
1670
|
-
}
|
|
1671
|
-
static names() {
|
|
1672
|
-
return {
|
|
1673
|
-
headers: 'headers',
|
|
1674
|
-
body: 'body',
|
|
1675
|
-
};
|
|
1676
|
-
}
|
|
1677
|
-
static types() {
|
|
1678
|
-
return {
|
|
1679
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1680
|
-
body: DescribeVerifySDKResponseBody,
|
|
1681
|
-
};
|
|
1682
|
-
}
|
|
1683
|
-
}
|
|
1684
|
-
exports.DescribeVerifySDKResponse = DescribeVerifySDKResponse;
|
|
1685
|
-
class DescribeDeviceInfoRequest extends $tea.Model {
|
|
1686
|
-
constructor(map) {
|
|
1687
|
-
super(map);
|
|
1688
|
-
}
|
|
1689
|
-
static names() {
|
|
1690
|
-
return {
|
|
1691
|
-
pageSize: 'PageSize',
|
|
1692
|
-
currentPage: 'CurrentPage',
|
|
1693
|
-
deviceId: 'DeviceId',
|
|
1694
|
-
bizType: 'BizType',
|
|
1695
|
-
userDeviceId: 'UserDeviceId',
|
|
1696
|
-
expiredStartDay: 'ExpiredStartDay',
|
|
1697
|
-
expiredEndDay: 'ExpiredEndDay',
|
|
1698
|
-
};
|
|
1699
|
-
}
|
|
1700
|
-
static types() {
|
|
1701
|
-
return {
|
|
1702
|
-
pageSize: 'number',
|
|
1703
|
-
currentPage: 'number',
|
|
1704
|
-
deviceId: 'string',
|
|
1705
|
-
bizType: 'string',
|
|
1706
|
-
userDeviceId: 'string',
|
|
1707
|
-
expiredStartDay: 'string',
|
|
1708
|
-
expiredEndDay: 'string',
|
|
1709
|
-
};
|
|
1710
|
-
}
|
|
1711
|
-
}
|
|
1712
|
-
exports.DescribeDeviceInfoRequest = DescribeDeviceInfoRequest;
|
|
1713
|
-
class DescribeDeviceInfoResponseBody extends $tea.Model {
|
|
1714
|
-
constructor(map) {
|
|
1715
|
-
super(map);
|
|
1716
|
-
}
|
|
1717
|
-
static names() {
|
|
1718
|
-
return {
|
|
1719
|
-
currentPage: 'CurrentPage',
|
|
1720
|
-
requestId: 'RequestId',
|
|
1721
|
-
pageSize: 'PageSize',
|
|
1722
|
-
totalCount: 'TotalCount',
|
|
1723
|
-
deviceInfoList: 'DeviceInfoList',
|
|
1724
|
-
};
|
|
1725
|
-
}
|
|
1726
|
-
static types() {
|
|
1727
|
-
return {
|
|
1728
|
-
currentPage: 'number',
|
|
1729
|
-
requestId: 'string',
|
|
1730
|
-
pageSize: 'number',
|
|
1731
|
-
totalCount: 'number',
|
|
1732
|
-
deviceInfoList: DescribeDeviceInfoResponseBodyDeviceInfoList,
|
|
1733
|
-
};
|
|
1734
|
-
}
|
|
1735
|
-
}
|
|
1736
|
-
exports.DescribeDeviceInfoResponseBody = DescribeDeviceInfoResponseBody;
|
|
1737
|
-
class DescribeDeviceInfoResponse extends $tea.Model {
|
|
1738
|
-
constructor(map) {
|
|
1739
|
-
super(map);
|
|
1740
|
-
}
|
|
1741
|
-
static names() {
|
|
1742
|
-
return {
|
|
1743
|
-
headers: 'headers',
|
|
1744
|
-
body: 'body',
|
|
1745
|
-
};
|
|
1746
|
-
}
|
|
1747
|
-
static types() {
|
|
1748
|
-
return {
|
|
1749
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1750
|
-
body: DescribeDeviceInfoResponseBody,
|
|
1751
|
-
};
|
|
1752
|
-
}
|
|
1753
|
-
}
|
|
1754
|
-
exports.DescribeDeviceInfoResponse = DescribeDeviceInfoResponse;
|
|
1755
|
-
class DescribeFaceVerifyRequest extends $tea.Model {
|
|
1756
|
-
constructor(map) {
|
|
1757
|
-
super(map);
|
|
1758
|
-
}
|
|
1759
|
-
static names() {
|
|
1760
|
-
return {
|
|
1761
|
-
sceneId: 'SceneId',
|
|
1762
|
-
certifyId: 'CertifyId',
|
|
1763
|
-
pictureReturnType: 'PictureReturnType',
|
|
1764
|
-
};
|
|
1765
|
-
}
|
|
1766
|
-
static types() {
|
|
1767
|
-
return {
|
|
1768
|
-
sceneId: 'number',
|
|
1769
|
-
certifyId: 'string',
|
|
1770
|
-
pictureReturnType: 'string',
|
|
1771
|
-
};
|
|
1772
|
-
}
|
|
1773
|
-
}
|
|
1774
|
-
exports.DescribeFaceVerifyRequest = DescribeFaceVerifyRequest;
|
|
1775
|
-
class DescribeFaceVerifyResponseBody extends $tea.Model {
|
|
1776
|
-
constructor(map) {
|
|
1777
|
-
super(map);
|
|
1778
|
-
}
|
|
1779
|
-
static names() {
|
|
1780
|
-
return {
|
|
1781
|
-
code: 'Code',
|
|
1782
|
-
message: 'Message',
|
|
1783
|
-
requestId: 'RequestId',
|
|
1784
|
-
resultObject: 'ResultObject',
|
|
1785
|
-
};
|
|
1786
|
-
}
|
|
1787
|
-
static types() {
|
|
1788
|
-
return {
|
|
1789
|
-
code: 'string',
|
|
1790
|
-
message: 'string',
|
|
1791
|
-
requestId: 'string',
|
|
1792
|
-
resultObject: DescribeFaceVerifyResponseBodyResultObject,
|
|
1793
|
-
};
|
|
1794
|
-
}
|
|
1795
|
-
}
|
|
1796
|
-
exports.DescribeFaceVerifyResponseBody = DescribeFaceVerifyResponseBody;
|
|
1797
|
-
class DescribeFaceVerifyResponse extends $tea.Model {
|
|
1798
|
-
constructor(map) {
|
|
1799
|
-
super(map);
|
|
1800
|
-
}
|
|
1801
|
-
static names() {
|
|
1802
|
-
return {
|
|
1803
|
-
headers: 'headers',
|
|
1804
|
-
body: 'body',
|
|
1805
|
-
};
|
|
1806
|
-
}
|
|
1807
|
-
static types() {
|
|
1808
|
-
return {
|
|
1809
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1810
|
-
body: DescribeFaceVerifyResponseBody,
|
|
1811
|
-
};
|
|
1812
|
-
}
|
|
1813
|
-
}
|
|
1814
|
-
exports.DescribeFaceVerifyResponse = DescribeFaceVerifyResponse;
|
|
1815
|
-
class DescribeOssUploadTokenResponseBody extends $tea.Model {
|
|
1816
|
-
constructor(map) {
|
|
1817
|
-
super(map);
|
|
1818
|
-
}
|
|
1819
|
-
static names() {
|
|
1820
|
-
return {
|
|
1821
|
-
requestId: 'RequestId',
|
|
1822
|
-
ossUploadToken: 'OssUploadToken',
|
|
1823
|
-
};
|
|
1824
|
-
}
|
|
1825
|
-
static types() {
|
|
1826
|
-
return {
|
|
1827
|
-
requestId: 'string',
|
|
1828
|
-
ossUploadToken: DescribeOssUploadTokenResponseBodyOssUploadToken,
|
|
1829
|
-
};
|
|
1830
|
-
}
|
|
1831
|
-
}
|
|
1832
|
-
exports.DescribeOssUploadTokenResponseBody = DescribeOssUploadTokenResponseBody;
|
|
1833
|
-
class DescribeOssUploadTokenResponse extends $tea.Model {
|
|
1834
|
-
constructor(map) {
|
|
1835
|
-
super(map);
|
|
1836
|
-
}
|
|
1837
|
-
static names() {
|
|
1838
|
-
return {
|
|
1839
|
-
headers: 'headers',
|
|
1840
|
-
body: 'body',
|
|
1841
|
-
};
|
|
1842
|
-
}
|
|
1843
|
-
static types() {
|
|
1844
|
-
return {
|
|
1845
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1846
|
-
body: DescribeOssUploadTokenResponseBody,
|
|
1847
|
-
};
|
|
1848
|
-
}
|
|
1849
|
-
}
|
|
1850
|
-
exports.DescribeOssUploadTokenResponse = DescribeOssUploadTokenResponse;
|
|
1851
|
-
class DetectFaceAttributesRequest extends $tea.Model {
|
|
1852
|
-
constructor(map) {
|
|
1853
|
-
super(map);
|
|
1854
|
-
}
|
|
1855
|
-
static names() {
|
|
1856
|
-
return {
|
|
1857
|
-
materialValue: 'MaterialValue',
|
|
1858
|
-
bizType: 'BizType',
|
|
1859
|
-
};
|
|
1860
|
-
}
|
|
1861
|
-
static types() {
|
|
1862
|
-
return {
|
|
1863
|
-
materialValue: 'string',
|
|
1864
|
-
bizType: 'string',
|
|
1865
|
-
};
|
|
1866
|
-
}
|
|
1867
|
-
}
|
|
1868
|
-
exports.DetectFaceAttributesRequest = DetectFaceAttributesRequest;
|
|
1869
|
-
class DetectFaceAttributesResponseBody extends $tea.Model {
|
|
1870
|
-
constructor(map) {
|
|
1871
|
-
super(map);
|
|
1872
|
-
}
|
|
1873
|
-
static names() {
|
|
1874
|
-
return {
|
|
1875
|
-
code: 'Code',
|
|
1876
|
-
message: 'Message',
|
|
1877
|
-
requestId: 'RequestId',
|
|
1878
|
-
success: 'Success',
|
|
1879
|
-
data: 'Data',
|
|
1880
|
-
};
|
|
1881
|
-
}
|
|
1882
|
-
static types() {
|
|
1883
|
-
return {
|
|
1884
|
-
code: 'string',
|
|
1885
|
-
message: 'string',
|
|
1886
|
-
requestId: 'string',
|
|
1887
|
-
success: 'boolean',
|
|
1888
|
-
data: DetectFaceAttributesResponseBodyData,
|
|
1889
|
-
};
|
|
1890
|
-
}
|
|
1891
|
-
}
|
|
1892
|
-
exports.DetectFaceAttributesResponseBody = DetectFaceAttributesResponseBody;
|
|
1893
|
-
class DetectFaceAttributesResponse extends $tea.Model {
|
|
1894
|
-
constructor(map) {
|
|
1895
|
-
super(map);
|
|
1896
|
-
}
|
|
1897
|
-
static names() {
|
|
1898
|
-
return {
|
|
1899
|
-
headers: 'headers',
|
|
1900
|
-
body: 'body',
|
|
1901
|
-
};
|
|
1902
|
-
}
|
|
1903
|
-
static types() {
|
|
1904
|
-
return {
|
|
1905
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1906
|
-
body: DetectFaceAttributesResponseBody,
|
|
1907
|
-
};
|
|
1908
|
-
}
|
|
1909
|
-
}
|
|
1910
|
-
exports.DetectFaceAttributesResponse = DetectFaceAttributesResponse;
|
|
1911
|
-
class DescribeSdkUrlRequest extends $tea.Model {
|
|
1912
|
-
constructor(map) {
|
|
1913
|
-
super(map);
|
|
1914
|
-
}
|
|
1915
|
-
static names() {
|
|
1916
|
-
return {
|
|
1917
|
-
id: 'Id',
|
|
1918
|
-
debug: 'Debug',
|
|
1919
|
-
};
|
|
1920
|
-
}
|
|
1921
|
-
static types() {
|
|
1922
|
-
return {
|
|
1923
|
-
id: 'number',
|
|
1924
|
-
debug: 'boolean',
|
|
1925
|
-
};
|
|
1926
|
-
}
|
|
1927
|
-
}
|
|
1928
|
-
exports.DescribeSdkUrlRequest = DescribeSdkUrlRequest;
|
|
1929
|
-
class DescribeSdkUrlResponseBody extends $tea.Model {
|
|
1930
|
-
constructor(map) {
|
|
1931
|
-
super(map);
|
|
1932
|
-
}
|
|
1933
|
-
static names() {
|
|
1934
|
-
return {
|
|
1935
|
-
sdkUrl: 'SdkUrl',
|
|
1936
|
-
requestId: 'RequestId',
|
|
1937
|
-
};
|
|
1938
|
-
}
|
|
1939
|
-
static types() {
|
|
1940
|
-
return {
|
|
1941
|
-
sdkUrl: 'string',
|
|
1942
|
-
requestId: 'string',
|
|
1943
|
-
};
|
|
1944
|
-
}
|
|
1945
|
-
}
|
|
1946
|
-
exports.DescribeSdkUrlResponseBody = DescribeSdkUrlResponseBody;
|
|
1947
|
-
class DescribeSdkUrlResponse extends $tea.Model {
|
|
1948
|
-
constructor(map) {
|
|
1949
|
-
super(map);
|
|
1950
|
-
}
|
|
1951
|
-
static names() {
|
|
1952
|
-
return {
|
|
1953
|
-
headers: 'headers',
|
|
1954
|
-
body: 'body',
|
|
1955
|
-
};
|
|
1956
|
-
}
|
|
1957
|
-
static types() {
|
|
1958
|
-
return {
|
|
1959
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1960
|
-
body: DescribeSdkUrlResponseBody,
|
|
1961
|
-
};
|
|
1962
|
-
}
|
|
1963
|
-
}
|
|
1964
|
-
exports.DescribeSdkUrlResponse = DescribeSdkUrlResponse;
|
|
1965
|
-
class DeleteWhitelistSettingRequest extends $tea.Model {
|
|
1966
|
-
constructor(map) {
|
|
1967
|
-
super(map);
|
|
1968
|
-
}
|
|
1969
|
-
static names() {
|
|
1970
|
-
return {
|
|
1971
|
-
sourceIp: 'SourceIp',
|
|
1972
|
-
lang: 'Lang',
|
|
1973
|
-
serviceCode: 'ServiceCode',
|
|
1974
|
-
ids: 'Ids',
|
|
1975
|
-
};
|
|
1976
|
-
}
|
|
1977
|
-
static types() {
|
|
1978
|
-
return {
|
|
1979
|
-
sourceIp: 'string',
|
|
1980
|
-
lang: 'string',
|
|
1981
|
-
serviceCode: 'string',
|
|
1982
|
-
ids: 'string',
|
|
1983
|
-
};
|
|
1984
|
-
}
|
|
1985
|
-
}
|
|
1986
|
-
exports.DeleteWhitelistSettingRequest = DeleteWhitelistSettingRequest;
|
|
1987
|
-
class DeleteWhitelistSettingResponseBody extends $tea.Model {
|
|
1988
|
-
constructor(map) {
|
|
1989
|
-
super(map);
|
|
1990
|
-
}
|
|
1991
|
-
static names() {
|
|
1992
|
-
return {
|
|
1993
|
-
resultObject: 'ResultObject',
|
|
1994
|
-
requestId: 'RequestId',
|
|
1995
|
-
};
|
|
1996
|
-
}
|
|
1997
|
-
static types() {
|
|
1998
|
-
return {
|
|
1999
|
-
resultObject: 'boolean',
|
|
2000
|
-
requestId: 'string',
|
|
2001
|
-
};
|
|
2002
|
-
}
|
|
2003
|
-
}
|
|
2004
|
-
exports.DeleteWhitelistSettingResponseBody = DeleteWhitelistSettingResponseBody;
|
|
2005
|
-
class DeleteWhitelistSettingResponse extends $tea.Model {
|
|
2006
|
-
constructor(map) {
|
|
2007
|
-
super(map);
|
|
2008
|
-
}
|
|
2009
|
-
static names() {
|
|
2010
|
-
return {
|
|
2011
|
-
headers: 'headers',
|
|
2012
|
-
body: 'body',
|
|
2013
|
-
};
|
|
2014
|
-
}
|
|
2015
|
-
static types() {
|
|
2016
|
-
return {
|
|
2017
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2018
|
-
body: DeleteWhitelistSettingResponseBody,
|
|
2019
|
-
};
|
|
2020
|
-
}
|
|
2021
|
-
}
|
|
2022
|
-
exports.DeleteWhitelistSettingResponse = DeleteWhitelistSettingResponse;
|
|
2023
|
-
class UpdateVerifySettingRequest extends $tea.Model {
|
|
2024
|
-
constructor(map) {
|
|
2025
|
-
super(map);
|
|
2026
|
-
}
|
|
2027
|
-
static names() {
|
|
2028
|
-
return {
|
|
2029
|
-
bizType: 'BizType',
|
|
2030
|
-
bizName: 'BizName',
|
|
2031
|
-
solution: 'Solution',
|
|
2032
|
-
guideStep: 'GuideStep',
|
|
2033
|
-
privacyStep: 'PrivacyStep',
|
|
2034
|
-
resultStep: 'ResultStep',
|
|
2035
|
-
};
|
|
2036
|
-
}
|
|
2037
|
-
static types() {
|
|
2038
|
-
return {
|
|
2039
|
-
bizType: 'string',
|
|
2040
|
-
bizName: 'string',
|
|
2041
|
-
solution: 'string',
|
|
2042
|
-
guideStep: 'boolean',
|
|
2043
|
-
privacyStep: 'boolean',
|
|
2044
|
-
resultStep: 'boolean',
|
|
2045
|
-
};
|
|
2046
|
-
}
|
|
2047
|
-
}
|
|
2048
|
-
exports.UpdateVerifySettingRequest = UpdateVerifySettingRequest;
|
|
2049
|
-
class UpdateVerifySettingResponseBody extends $tea.Model {
|
|
2050
|
-
constructor(map) {
|
|
2051
|
-
super(map);
|
|
2052
|
-
}
|
|
2053
|
-
static names() {
|
|
2054
|
-
return {
|
|
2055
|
-
bizName: 'BizName',
|
|
2056
|
-
requestId: 'RequestId',
|
|
2057
|
-
solution: 'Solution',
|
|
2058
|
-
bizType: 'BizType',
|
|
2059
|
-
stepList: 'StepList',
|
|
2060
|
-
};
|
|
2061
|
-
}
|
|
2062
|
-
static types() {
|
|
2063
|
-
return {
|
|
2064
|
-
bizName: 'string',
|
|
2065
|
-
requestId: 'string',
|
|
2066
|
-
solution: 'string',
|
|
2067
|
-
bizType: 'string',
|
|
2068
|
-
stepList: { 'type': 'array', 'itemType': 'string' },
|
|
2069
|
-
};
|
|
2070
|
-
}
|
|
2071
|
-
}
|
|
2072
|
-
exports.UpdateVerifySettingResponseBody = UpdateVerifySettingResponseBody;
|
|
2073
|
-
class UpdateVerifySettingResponse extends $tea.Model {
|
|
2074
|
-
constructor(map) {
|
|
2075
|
-
super(map);
|
|
2076
|
-
}
|
|
2077
|
-
static names() {
|
|
2078
|
-
return {
|
|
2079
|
-
headers: 'headers',
|
|
2080
|
-
body: 'body',
|
|
2081
|
-
};
|
|
2082
|
-
}
|
|
2083
|
-
static types() {
|
|
2084
|
-
return {
|
|
2085
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2086
|
-
body: UpdateVerifySettingResponseBody,
|
|
2087
|
-
};
|
|
2088
|
-
}
|
|
2089
|
-
}
|
|
2090
|
-
exports.UpdateVerifySettingResponse = UpdateVerifySettingResponse;
|
|
2091
|
-
class DescribeVerifyResultRequest extends $tea.Model {
|
|
15
|
+
const rpc_util_1 = __importDefault(require("@alicloud/rpc-util"));
|
|
16
|
+
const rpc_client_1 = __importStar(require("@alicloud/rpc-client")), $RPC = rpc_client_1;
|
|
17
|
+
const endpoint_util_1 = __importDefault(require("@alicloud/endpoint-util"));
|
|
18
|
+
const oss_client_1 = __importStar(require("@alicloud/oss-client")), $OSS = oss_client_1;
|
|
19
|
+
const openplatform20191219_1 = __importStar(require("@alicloud/openplatform20191219")), $OpenPlatform = openplatform20191219_1;
|
|
20
|
+
const $OSSUtil = __importStar(require("@alicloud/oss-util"));
|
|
21
|
+
const $FileForm = __importStar(require("@alicloud/tea-fileform"));
|
|
22
|
+
const $tea = __importStar(require("@alicloud/tea-typescript"));
|
|
23
|
+
class CompareFaceVerifyRequest extends $tea.Model {
|
|
2092
24
|
constructor(map) {
|
|
2093
25
|
super(map);
|
|
2094
26
|
}
|
|
2095
27
|
static names() {
|
|
2096
28
|
return {
|
|
2097
|
-
|
|
2098
|
-
|
|
29
|
+
crop: 'Crop',
|
|
30
|
+
outerOrderNo: 'OuterOrderNo',
|
|
31
|
+
productCode: 'ProductCode',
|
|
32
|
+
sceneId: 'SceneId',
|
|
33
|
+
sourceCertifyId: 'SourceCertifyId',
|
|
34
|
+
sourceFaceContrastPicture: 'SourceFaceContrastPicture',
|
|
35
|
+
sourceFaceContrastPictureUrl: 'SourceFaceContrastPictureUrl',
|
|
36
|
+
sourceOssBucketName: 'SourceOssBucketName',
|
|
37
|
+
sourceOssObjectName: 'SourceOssObjectName',
|
|
38
|
+
targetCertifyId: 'TargetCertifyId',
|
|
39
|
+
targetFaceContrastPicture: 'TargetFaceContrastPicture',
|
|
40
|
+
targetFaceContrastPictureUrl: 'TargetFaceContrastPictureUrl',
|
|
41
|
+
targetOssBucketName: 'TargetOssBucketName',
|
|
42
|
+
targetOssObjectName: 'TargetOssObjectName',
|
|
2099
43
|
};
|
|
2100
44
|
}
|
|
2101
45
|
static types() {
|
|
2102
46
|
return {
|
|
2103
|
-
|
|
2104
|
-
|
|
47
|
+
crop: 'string',
|
|
48
|
+
outerOrderNo: 'string',
|
|
49
|
+
productCode: 'string',
|
|
50
|
+
sceneId: 'number',
|
|
51
|
+
sourceCertifyId: 'string',
|
|
52
|
+
sourceFaceContrastPicture: 'string',
|
|
53
|
+
sourceFaceContrastPictureUrl: 'string',
|
|
54
|
+
sourceOssBucketName: 'string',
|
|
55
|
+
sourceOssObjectName: 'string',
|
|
56
|
+
targetCertifyId: 'string',
|
|
57
|
+
targetFaceContrastPicture: 'string',
|
|
58
|
+
targetFaceContrastPictureUrl: 'string',
|
|
59
|
+
targetOssBucketName: 'string',
|
|
60
|
+
targetOssObjectName: 'string',
|
|
2105
61
|
};
|
|
2106
62
|
}
|
|
2107
63
|
}
|
|
2108
|
-
exports.
|
|
2109
|
-
class
|
|
64
|
+
exports.CompareFaceVerifyRequest = CompareFaceVerifyRequest;
|
|
65
|
+
class CompareFaceVerifyResponse extends $tea.Model {
|
|
2110
66
|
constructor(map) {
|
|
2111
67
|
super(map);
|
|
2112
68
|
}
|
|
2113
69
|
static names() {
|
|
2114
70
|
return {
|
|
2115
|
-
|
|
2116
|
-
|
|
71
|
+
code: 'Code',
|
|
72
|
+
message: 'Message',
|
|
2117
73
|
requestId: 'RequestId',
|
|
2118
|
-
|
|
2119
|
-
idCardFaceComparisonScore: 'IdCardFaceComparisonScore',
|
|
2120
|
-
material: 'Material',
|
|
74
|
+
resultObject: 'ResultObject',
|
|
2121
75
|
};
|
|
2122
76
|
}
|
|
2123
77
|
static types() {
|
|
2124
78
|
return {
|
|
2125
|
-
|
|
2126
|
-
|
|
79
|
+
code: 'string',
|
|
80
|
+
message: 'string',
|
|
2127
81
|
requestId: 'string',
|
|
2128
|
-
|
|
2129
|
-
idCardFaceComparisonScore: 'number',
|
|
2130
|
-
material: DescribeVerifyResultResponseBodyMaterial,
|
|
2131
|
-
};
|
|
2132
|
-
}
|
|
2133
|
-
}
|
|
2134
|
-
exports.DescribeVerifyResultResponseBody = DescribeVerifyResultResponseBody;
|
|
2135
|
-
class DescribeVerifyResultResponse extends $tea.Model {
|
|
2136
|
-
constructor(map) {
|
|
2137
|
-
super(map);
|
|
2138
|
-
}
|
|
2139
|
-
static names() {
|
|
2140
|
-
return {
|
|
2141
|
-
headers: 'headers',
|
|
2142
|
-
body: 'body',
|
|
2143
|
-
};
|
|
2144
|
-
}
|
|
2145
|
-
static types() {
|
|
2146
|
-
return {
|
|
2147
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2148
|
-
body: DescribeVerifyResultResponseBody,
|
|
82
|
+
resultObject: CompareFaceVerifyResponseResultObject,
|
|
2149
83
|
};
|
|
2150
84
|
}
|
|
2151
85
|
}
|
|
2152
|
-
exports.
|
|
86
|
+
exports.CompareFaceVerifyResponse = CompareFaceVerifyResponse;
|
|
2153
87
|
class CompareFacesRequest extends $tea.Model {
|
|
2154
88
|
constructor(map) {
|
|
2155
89
|
super(map);
|
|
2156
90
|
}
|
|
2157
91
|
static names() {
|
|
2158
92
|
return {
|
|
2159
|
-
targetImageType: 'TargetImageType',
|
|
2160
93
|
sourceImageType: 'SourceImageType',
|
|
2161
94
|
sourceImageValue: 'SourceImageValue',
|
|
95
|
+
targetImageType: 'TargetImageType',
|
|
2162
96
|
targetImageValue: 'TargetImageValue',
|
|
2163
97
|
};
|
|
2164
98
|
}
|
|
2165
99
|
static types() {
|
|
2166
100
|
return {
|
|
2167
|
-
targetImageType: 'string',
|
|
2168
101
|
sourceImageType: 'string',
|
|
2169
102
|
sourceImageValue: 'string',
|
|
103
|
+
targetImageType: 'string',
|
|
2170
104
|
targetImageValue: 'string',
|
|
2171
105
|
};
|
|
2172
106
|
}
|
|
2173
107
|
}
|
|
2174
108
|
exports.CompareFacesRequest = CompareFacesRequest;
|
|
2175
|
-
class
|
|
109
|
+
class CompareFacesResponse extends $tea.Model {
|
|
2176
110
|
constructor(map) {
|
|
2177
111
|
super(map);
|
|
2178
112
|
}
|
|
@@ -2191,180 +125,62 @@ class CompareFacesResponseBody extends $tea.Model {
|
|
|
2191
125
|
message: 'string',
|
|
2192
126
|
requestId: 'string',
|
|
2193
127
|
success: 'boolean',
|
|
2194
|
-
data:
|
|
2195
|
-
};
|
|
2196
|
-
}
|
|
2197
|
-
}
|
|
2198
|
-
exports.CompareFacesResponseBody = CompareFacesResponseBody;
|
|
2199
|
-
class CompareFacesResponse extends $tea.Model {
|
|
2200
|
-
constructor(map) {
|
|
2201
|
-
super(map);
|
|
2202
|
-
}
|
|
2203
|
-
static names() {
|
|
2204
|
-
return {
|
|
2205
|
-
headers: 'headers',
|
|
2206
|
-
body: 'body',
|
|
2207
|
-
};
|
|
2208
|
-
}
|
|
2209
|
-
static types() {
|
|
2210
|
-
return {
|
|
2211
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2212
|
-
body: CompareFacesResponseBody,
|
|
128
|
+
data: CompareFacesResponseData,
|
|
2213
129
|
};
|
|
2214
130
|
}
|
|
2215
131
|
}
|
|
2216
132
|
exports.CompareFacesResponse = CompareFacesResponse;
|
|
2217
|
-
class
|
|
2218
|
-
constructor(map) {
|
|
2219
|
-
super(map);
|
|
2220
|
-
}
|
|
2221
|
-
static names() {
|
|
2222
|
-
return {
|
|
2223
|
-
sourceIp: 'SourceIp',
|
|
2224
|
-
lang: 'Lang',
|
|
2225
|
-
bizType: 'BizType',
|
|
2226
|
-
bizName: 'BizName',
|
|
2227
|
-
};
|
|
2228
|
-
}
|
|
2229
|
-
static types() {
|
|
2230
|
-
return {
|
|
2231
|
-
sourceIp: 'string',
|
|
2232
|
-
lang: 'string',
|
|
2233
|
-
bizType: 'string',
|
|
2234
|
-
bizName: 'string',
|
|
2235
|
-
};
|
|
2236
|
-
}
|
|
2237
|
-
}
|
|
2238
|
-
exports.CreateFaceConfigRequest = CreateFaceConfigRequest;
|
|
2239
|
-
class CreateFaceConfigResponseBody extends $tea.Model {
|
|
2240
|
-
constructor(map) {
|
|
2241
|
-
super(map);
|
|
2242
|
-
}
|
|
2243
|
-
static names() {
|
|
2244
|
-
return {
|
|
2245
|
-
requestId: 'RequestId',
|
|
2246
|
-
};
|
|
2247
|
-
}
|
|
2248
|
-
static types() {
|
|
2249
|
-
return {
|
|
2250
|
-
requestId: 'string',
|
|
2251
|
-
};
|
|
2252
|
-
}
|
|
2253
|
-
}
|
|
2254
|
-
exports.CreateFaceConfigResponseBody = CreateFaceConfigResponseBody;
|
|
2255
|
-
class CreateFaceConfigResponse extends $tea.Model {
|
|
2256
|
-
constructor(map) {
|
|
2257
|
-
super(map);
|
|
2258
|
-
}
|
|
2259
|
-
static names() {
|
|
2260
|
-
return {
|
|
2261
|
-
headers: 'headers',
|
|
2262
|
-
body: 'body',
|
|
2263
|
-
};
|
|
2264
|
-
}
|
|
2265
|
-
static types() {
|
|
2266
|
-
return {
|
|
2267
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2268
|
-
body: CreateFaceConfigResponseBody,
|
|
2269
|
-
};
|
|
2270
|
-
}
|
|
2271
|
-
}
|
|
2272
|
-
exports.CreateFaceConfigResponse = CreateFaceConfigResponse;
|
|
2273
|
-
class CreateVerifySDKRequest extends $tea.Model {
|
|
2274
|
-
constructor(map) {
|
|
2275
|
-
super(map);
|
|
2276
|
-
}
|
|
2277
|
-
static names() {
|
|
2278
|
-
return {
|
|
2279
|
-
appUrl: 'AppUrl',
|
|
2280
|
-
platform: 'Platform',
|
|
2281
|
-
};
|
|
2282
|
-
}
|
|
2283
|
-
static types() {
|
|
2284
|
-
return {
|
|
2285
|
-
appUrl: 'string',
|
|
2286
|
-
platform: 'string',
|
|
2287
|
-
};
|
|
2288
|
-
}
|
|
2289
|
-
}
|
|
2290
|
-
exports.CreateVerifySDKRequest = CreateVerifySDKRequest;
|
|
2291
|
-
class CreateVerifySDKResponseBody extends $tea.Model {
|
|
2292
|
-
constructor(map) {
|
|
2293
|
-
super(map);
|
|
2294
|
-
}
|
|
2295
|
-
static names() {
|
|
2296
|
-
return {
|
|
2297
|
-
taskId: 'TaskId',
|
|
2298
|
-
requestId: 'RequestId',
|
|
2299
|
-
};
|
|
2300
|
-
}
|
|
2301
|
-
static types() {
|
|
2302
|
-
return {
|
|
2303
|
-
taskId: 'string',
|
|
2304
|
-
requestId: 'string',
|
|
2305
|
-
};
|
|
2306
|
-
}
|
|
2307
|
-
}
|
|
2308
|
-
exports.CreateVerifySDKResponseBody = CreateVerifySDKResponseBody;
|
|
2309
|
-
class CreateVerifySDKResponse extends $tea.Model {
|
|
2310
|
-
constructor(map) {
|
|
2311
|
-
super(map);
|
|
2312
|
-
}
|
|
2313
|
-
static names() {
|
|
2314
|
-
return {
|
|
2315
|
-
headers: 'headers',
|
|
2316
|
-
body: 'body',
|
|
2317
|
-
};
|
|
2318
|
-
}
|
|
2319
|
-
static types() {
|
|
2320
|
-
return {
|
|
2321
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2322
|
-
body: CreateVerifySDKResponseBody,
|
|
2323
|
-
};
|
|
2324
|
-
}
|
|
2325
|
-
}
|
|
2326
|
-
exports.CreateVerifySDKResponse = CreateVerifySDKResponse;
|
|
2327
|
-
class InitDeviceRequest extends $tea.Model {
|
|
133
|
+
class ContrastFaceVerifyRequest extends $tea.Model {
|
|
2328
134
|
constructor(map) {
|
|
2329
135
|
super(map);
|
|
2330
136
|
}
|
|
2331
137
|
static names() {
|
|
2332
138
|
return {
|
|
139
|
+
certName: 'CertName',
|
|
140
|
+
certNo: 'CertNo',
|
|
141
|
+
certType: 'CertType',
|
|
2333
142
|
certifyId: 'CertifyId',
|
|
2334
|
-
|
|
2335
|
-
channel: 'Channel',
|
|
2336
|
-
merchant: 'Merchant',
|
|
2337
|
-
productName: 'ProductName',
|
|
2338
|
-
produceNode: 'ProduceNode',
|
|
2339
|
-
bizData: 'BizData',
|
|
2340
|
-
metaInfo: 'MetaInfo',
|
|
2341
|
-
certifyPrincipal: 'CertifyPrincipal',
|
|
2342
|
-
appVersion: 'AppVersion',
|
|
143
|
+
crop: 'Crop',
|
|
2343
144
|
deviceToken: 'DeviceToken',
|
|
2344
|
-
|
|
2345
|
-
|
|
145
|
+
faceContrastFile: 'FaceContrastFile',
|
|
146
|
+
faceContrastPicture: 'FaceContrastPicture',
|
|
147
|
+
faceContrastPictureUrl: 'FaceContrastPictureUrl',
|
|
148
|
+
ip: 'Ip',
|
|
149
|
+
mobile: 'Mobile',
|
|
150
|
+
model: 'Model',
|
|
151
|
+
ossBucketName: 'OssBucketName',
|
|
152
|
+
ossObjectName: 'OssObjectName',
|
|
153
|
+
outerOrderNo: 'OuterOrderNo',
|
|
154
|
+
productCode: 'ProductCode',
|
|
155
|
+
sceneId: 'SceneId',
|
|
156
|
+
userId: 'UserId',
|
|
2346
157
|
};
|
|
2347
158
|
}
|
|
2348
159
|
static types() {
|
|
2349
160
|
return {
|
|
161
|
+
certName: 'string',
|
|
162
|
+
certNo: 'string',
|
|
163
|
+
certType: 'string',
|
|
2350
164
|
certifyId: 'string',
|
|
2351
|
-
|
|
2352
|
-
channel: 'string',
|
|
2353
|
-
merchant: 'string',
|
|
2354
|
-
productName: 'string',
|
|
2355
|
-
produceNode: 'string',
|
|
2356
|
-
bizData: 'string',
|
|
2357
|
-
metaInfo: 'string',
|
|
2358
|
-
certifyPrincipal: 'string',
|
|
2359
|
-
appVersion: 'string',
|
|
165
|
+
crop: 'string',
|
|
2360
166
|
deviceToken: 'string',
|
|
2361
|
-
|
|
2362
|
-
|
|
167
|
+
faceContrastFile: 'string',
|
|
168
|
+
faceContrastPicture: 'string',
|
|
169
|
+
faceContrastPictureUrl: 'string',
|
|
170
|
+
ip: 'string',
|
|
171
|
+
mobile: 'string',
|
|
172
|
+
model: 'string',
|
|
173
|
+
ossBucketName: 'string',
|
|
174
|
+
ossObjectName: 'string',
|
|
175
|
+
outerOrderNo: 'string',
|
|
176
|
+
productCode: 'string',
|
|
177
|
+
sceneId: 'number',
|
|
178
|
+
userId: 'string',
|
|
2363
179
|
};
|
|
2364
180
|
}
|
|
2365
181
|
}
|
|
2366
|
-
exports.
|
|
2367
|
-
class
|
|
182
|
+
exports.ContrastFaceVerifyRequest = ContrastFaceVerifyRequest;
|
|
183
|
+
class ContrastFaceVerifyResponse extends $tea.Model {
|
|
2368
184
|
constructor(map) {
|
|
2369
185
|
super(map);
|
|
2370
186
|
}
|
|
@@ -2381,866 +197,798 @@ class InitDeviceResponseBody extends $tea.Model {
|
|
|
2381
197
|
code: 'string',
|
|
2382
198
|
message: 'string',
|
|
2383
199
|
requestId: 'string',
|
|
2384
|
-
resultObject:
|
|
2385
|
-
};
|
|
2386
|
-
}
|
|
2387
|
-
}
|
|
2388
|
-
exports.InitDeviceResponseBody = InitDeviceResponseBody;
|
|
2389
|
-
class InitDeviceResponse extends $tea.Model {
|
|
2390
|
-
constructor(map) {
|
|
2391
|
-
super(map);
|
|
2392
|
-
}
|
|
2393
|
-
static names() {
|
|
2394
|
-
return {
|
|
2395
|
-
headers: 'headers',
|
|
2396
|
-
body: 'body',
|
|
2397
|
-
};
|
|
2398
|
-
}
|
|
2399
|
-
static types() {
|
|
2400
|
-
return {
|
|
2401
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2402
|
-
body: InitDeviceResponseBody,
|
|
200
|
+
resultObject: ContrastFaceVerifyResponseResultObject,
|
|
2403
201
|
};
|
|
2404
202
|
}
|
|
2405
203
|
}
|
|
2406
|
-
exports.
|
|
2407
|
-
class
|
|
204
|
+
exports.ContrastFaceVerifyResponse = ContrastFaceVerifyResponse;
|
|
205
|
+
class ContrastFaceVerifyAdvanceRequest extends $tea.Model {
|
|
2408
206
|
constructor(map) {
|
|
2409
207
|
super(map);
|
|
2410
208
|
}
|
|
2411
209
|
static names() {
|
|
2412
210
|
return {
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
serviceCode: 'ServiceCode',
|
|
2416
|
-
sceneId: 'SceneId',
|
|
2417
|
-
certifyId: 'CertifyId',
|
|
211
|
+
faceContrastFileObject: 'FaceContrastFileObject',
|
|
212
|
+
certName: 'CertName',
|
|
2418
213
|
certNo: 'CertNo',
|
|
2419
|
-
|
|
214
|
+
certType: 'CertType',
|
|
215
|
+
certifyId: 'CertifyId',
|
|
216
|
+
crop: 'Crop',
|
|
217
|
+
deviceToken: 'DeviceToken',
|
|
218
|
+
faceContrastPicture: 'FaceContrastPicture',
|
|
219
|
+
faceContrastPictureUrl: 'FaceContrastPictureUrl',
|
|
220
|
+
ip: 'Ip',
|
|
221
|
+
mobile: 'Mobile',
|
|
222
|
+
model: 'Model',
|
|
223
|
+
ossBucketName: 'OssBucketName',
|
|
224
|
+
ossObjectName: 'OssObjectName',
|
|
225
|
+
outerOrderNo: 'OuterOrderNo',
|
|
226
|
+
productCode: 'ProductCode',
|
|
227
|
+
sceneId: 'SceneId',
|
|
228
|
+
userId: 'UserId',
|
|
2420
229
|
};
|
|
2421
230
|
}
|
|
2422
231
|
static types() {
|
|
2423
232
|
return {
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
serviceCode: 'string',
|
|
2427
|
-
sceneId: 'number',
|
|
2428
|
-
certifyId: 'string',
|
|
233
|
+
faceContrastFileObject: 'Readable',
|
|
234
|
+
certName: 'string',
|
|
2429
235
|
certNo: 'string',
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
static types() {
|
|
2446
|
-
return {
|
|
2447
|
-
resultObject: 'boolean',
|
|
2448
|
-
requestId: 'string',
|
|
236
|
+
certType: 'string',
|
|
237
|
+
certifyId: 'string',
|
|
238
|
+
crop: 'string',
|
|
239
|
+
deviceToken: 'string',
|
|
240
|
+
faceContrastPicture: 'string',
|
|
241
|
+
faceContrastPictureUrl: 'string',
|
|
242
|
+
ip: 'string',
|
|
243
|
+
mobile: 'string',
|
|
244
|
+
model: 'string',
|
|
245
|
+
ossBucketName: 'string',
|
|
246
|
+
ossObjectName: 'string',
|
|
247
|
+
outerOrderNo: 'string',
|
|
248
|
+
productCode: 'string',
|
|
249
|
+
sceneId: 'number',
|
|
250
|
+
userId: 'string',
|
|
2449
251
|
};
|
|
2450
252
|
}
|
|
2451
253
|
}
|
|
2452
|
-
exports.
|
|
2453
|
-
class
|
|
254
|
+
exports.ContrastFaceVerifyAdvanceRequest = ContrastFaceVerifyAdvanceRequest;
|
|
255
|
+
class CreateAuthKeyRequest extends $tea.Model {
|
|
2454
256
|
constructor(map) {
|
|
2455
257
|
super(map);
|
|
2456
258
|
}
|
|
2457
259
|
static names() {
|
|
2458
260
|
return {
|
|
2459
|
-
|
|
2460
|
-
|
|
261
|
+
authYears: 'AuthYears',
|
|
262
|
+
bizType: 'BizType',
|
|
263
|
+
test: 'Test',
|
|
264
|
+
userDeviceId: 'UserDeviceId',
|
|
2461
265
|
};
|
|
2462
266
|
}
|
|
2463
267
|
static types() {
|
|
2464
268
|
return {
|
|
2465
|
-
|
|
2466
|
-
|
|
269
|
+
authYears: 'number',
|
|
270
|
+
bizType: 'string',
|
|
271
|
+
test: 'boolean',
|
|
272
|
+
userDeviceId: 'string',
|
|
2467
273
|
};
|
|
2468
274
|
}
|
|
2469
275
|
}
|
|
2470
|
-
exports.
|
|
2471
|
-
class
|
|
276
|
+
exports.CreateAuthKeyRequest = CreateAuthKeyRequest;
|
|
277
|
+
class CreateAuthKeyResponse extends $tea.Model {
|
|
2472
278
|
constructor(map) {
|
|
2473
279
|
super(map);
|
|
2474
280
|
}
|
|
2475
281
|
static names() {
|
|
2476
282
|
return {
|
|
2477
|
-
|
|
283
|
+
authKey: 'AuthKey',
|
|
2478
284
|
requestId: 'RequestId',
|
|
2479
285
|
};
|
|
2480
286
|
}
|
|
2481
287
|
static types() {
|
|
2482
288
|
return {
|
|
2483
|
-
|
|
289
|
+
authKey: 'string',
|
|
2484
290
|
requestId: 'string',
|
|
2485
291
|
};
|
|
2486
292
|
}
|
|
2487
293
|
}
|
|
2488
|
-
exports.
|
|
2489
|
-
class DescribeUserStatusResponse extends $tea.Model {
|
|
2490
|
-
constructor(map) {
|
|
2491
|
-
super(map);
|
|
2492
|
-
}
|
|
2493
|
-
static names() {
|
|
2494
|
-
return {
|
|
2495
|
-
headers: 'headers',
|
|
2496
|
-
body: 'body',
|
|
2497
|
-
};
|
|
2498
|
-
}
|
|
2499
|
-
static types() {
|
|
2500
|
-
return {
|
|
2501
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2502
|
-
body: DescribeUserStatusResponseBody,
|
|
2503
|
-
};
|
|
2504
|
-
}
|
|
2505
|
-
}
|
|
2506
|
-
exports.DescribeUserStatusResponse = DescribeUserStatusResponse;
|
|
294
|
+
exports.CreateAuthKeyResponse = CreateAuthKeyResponse;
|
|
2507
295
|
class CreateVerifySettingRequest extends $tea.Model {
|
|
2508
296
|
constructor(map) {
|
|
2509
297
|
super(map);
|
|
2510
298
|
}
|
|
2511
299
|
static names() {
|
|
2512
300
|
return {
|
|
2513
|
-
bizType: 'BizType',
|
|
2514
301
|
bizName: 'BizName',
|
|
2515
|
-
|
|
302
|
+
bizType: 'BizType',
|
|
2516
303
|
guideStep: 'GuideStep',
|
|
2517
304
|
privacyStep: 'PrivacyStep',
|
|
2518
305
|
resultStep: 'ResultStep',
|
|
306
|
+
solution: 'Solution',
|
|
2519
307
|
};
|
|
2520
308
|
}
|
|
2521
309
|
static types() {
|
|
2522
310
|
return {
|
|
2523
|
-
bizType: 'string',
|
|
2524
311
|
bizName: 'string',
|
|
2525
|
-
|
|
312
|
+
bizType: 'string',
|
|
2526
313
|
guideStep: 'boolean',
|
|
2527
314
|
privacyStep: 'boolean',
|
|
2528
315
|
resultStep: 'boolean',
|
|
316
|
+
solution: 'string',
|
|
2529
317
|
};
|
|
2530
318
|
}
|
|
2531
319
|
}
|
|
2532
320
|
exports.CreateVerifySettingRequest = CreateVerifySettingRequest;
|
|
2533
|
-
class
|
|
321
|
+
class CreateVerifySettingResponse extends $tea.Model {
|
|
2534
322
|
constructor(map) {
|
|
2535
323
|
super(map);
|
|
2536
324
|
}
|
|
2537
325
|
static names() {
|
|
2538
326
|
return {
|
|
2539
327
|
bizName: 'BizName',
|
|
328
|
+
bizType: 'BizType',
|
|
2540
329
|
requestId: 'RequestId',
|
|
2541
330
|
solution: 'Solution',
|
|
2542
|
-
bizType: 'BizType',
|
|
2543
331
|
stepList: 'StepList',
|
|
2544
332
|
};
|
|
2545
333
|
}
|
|
2546
334
|
static types() {
|
|
2547
335
|
return {
|
|
2548
336
|
bizName: 'string',
|
|
337
|
+
bizType: 'string',
|
|
2549
338
|
requestId: 'string',
|
|
2550
339
|
solution: 'string',
|
|
2551
|
-
bizType: 'string',
|
|
2552
340
|
stepList: { 'type': 'array', 'itemType': 'string' },
|
|
2553
341
|
};
|
|
2554
342
|
}
|
|
2555
343
|
}
|
|
2556
|
-
exports.CreateVerifySettingResponseBody = CreateVerifySettingResponseBody;
|
|
2557
|
-
class CreateVerifySettingResponse extends $tea.Model {
|
|
2558
|
-
constructor(map) {
|
|
2559
|
-
super(map);
|
|
2560
|
-
}
|
|
2561
|
-
static names() {
|
|
2562
|
-
return {
|
|
2563
|
-
headers: 'headers',
|
|
2564
|
-
body: 'body',
|
|
2565
|
-
};
|
|
2566
|
-
}
|
|
2567
|
-
static types() {
|
|
2568
|
-
return {
|
|
2569
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2570
|
-
body: CreateVerifySettingResponseBody,
|
|
2571
|
-
};
|
|
2572
|
-
}
|
|
2573
|
-
}
|
|
2574
344
|
exports.CreateVerifySettingResponse = CreateVerifySettingResponse;
|
|
2575
|
-
class
|
|
345
|
+
class DescribeDeviceInfoRequest extends $tea.Model {
|
|
2576
346
|
constructor(map) {
|
|
2577
347
|
super(map);
|
|
2578
348
|
}
|
|
2579
349
|
static names() {
|
|
2580
350
|
return {
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
faceContrastPicture: 'FaceContrastPicture',
|
|
2589
|
-
metaInfo: 'MetaInfo',
|
|
2590
|
-
mobile: 'Mobile',
|
|
2591
|
-
ip: 'Ip',
|
|
2592
|
-
userId: 'UserId',
|
|
2593
|
-
faceContrastPictureUrl: 'FaceContrastPictureUrl',
|
|
2594
|
-
certifyId: 'CertifyId',
|
|
2595
|
-
ossBucketName: 'OssBucketName',
|
|
2596
|
-
ossObjectName: 'OssObjectName',
|
|
2597
|
-
model: 'Model',
|
|
2598
|
-
callbackUrl: 'CallbackUrl',
|
|
2599
|
-
callbackToken: 'CallbackToken',
|
|
2600
|
-
crop: 'Crop',
|
|
351
|
+
bizType: 'BizType',
|
|
352
|
+
currentPage: 'CurrentPage',
|
|
353
|
+
deviceId: 'DeviceId',
|
|
354
|
+
expiredEndDay: 'ExpiredEndDay',
|
|
355
|
+
expiredStartDay: 'ExpiredStartDay',
|
|
356
|
+
pageSize: 'PageSize',
|
|
357
|
+
userDeviceId: 'UserDeviceId',
|
|
2601
358
|
};
|
|
2602
359
|
}
|
|
2603
360
|
static types() {
|
|
2604
361
|
return {
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
faceContrastPicture: 'string',
|
|
2613
|
-
metaInfo: 'string',
|
|
2614
|
-
mobile: 'string',
|
|
2615
|
-
ip: 'string',
|
|
2616
|
-
userId: 'string',
|
|
2617
|
-
faceContrastPictureUrl: 'string',
|
|
2618
|
-
certifyId: 'string',
|
|
2619
|
-
ossBucketName: 'string',
|
|
2620
|
-
ossObjectName: 'string',
|
|
2621
|
-
model: 'string',
|
|
2622
|
-
callbackUrl: 'string',
|
|
2623
|
-
callbackToken: 'string',
|
|
2624
|
-
crop: 'string',
|
|
362
|
+
bizType: 'string',
|
|
363
|
+
currentPage: 'number',
|
|
364
|
+
deviceId: 'string',
|
|
365
|
+
expiredEndDay: 'string',
|
|
366
|
+
expiredStartDay: 'string',
|
|
367
|
+
pageSize: 'number',
|
|
368
|
+
userDeviceId: 'string',
|
|
2625
369
|
};
|
|
2626
370
|
}
|
|
2627
371
|
}
|
|
2628
|
-
exports.
|
|
2629
|
-
class
|
|
372
|
+
exports.DescribeDeviceInfoRequest = DescribeDeviceInfoRequest;
|
|
373
|
+
class DescribeDeviceInfoResponse extends $tea.Model {
|
|
2630
374
|
constructor(map) {
|
|
2631
375
|
super(map);
|
|
2632
376
|
}
|
|
2633
377
|
static names() {
|
|
2634
378
|
return {
|
|
2635
|
-
|
|
2636
|
-
|
|
379
|
+
currentPage: 'CurrentPage',
|
|
380
|
+
pageSize: 'PageSize',
|
|
2637
381
|
requestId: 'RequestId',
|
|
2638
|
-
|
|
382
|
+
totalCount: 'TotalCount',
|
|
383
|
+
deviceInfoList: 'DeviceInfoList',
|
|
2639
384
|
};
|
|
2640
385
|
}
|
|
2641
386
|
static types() {
|
|
2642
387
|
return {
|
|
2643
|
-
|
|
2644
|
-
|
|
388
|
+
currentPage: 'number',
|
|
389
|
+
pageSize: 'number',
|
|
2645
390
|
requestId: 'string',
|
|
2646
|
-
|
|
391
|
+
totalCount: 'number',
|
|
392
|
+
deviceInfoList: DescribeDeviceInfoResponseDeviceInfoList,
|
|
2647
393
|
};
|
|
2648
394
|
}
|
|
2649
395
|
}
|
|
2650
|
-
exports.
|
|
2651
|
-
class
|
|
396
|
+
exports.DescribeDeviceInfoResponse = DescribeDeviceInfoResponse;
|
|
397
|
+
class DescribeFaceVerifyRequest extends $tea.Model {
|
|
2652
398
|
constructor(map) {
|
|
2653
399
|
super(map);
|
|
2654
400
|
}
|
|
2655
401
|
static names() {
|
|
2656
402
|
return {
|
|
2657
|
-
|
|
2658
|
-
|
|
403
|
+
certifyId: 'CertifyId',
|
|
404
|
+
pictureReturnType: 'PictureReturnType',
|
|
405
|
+
sceneId: 'SceneId',
|
|
2659
406
|
};
|
|
2660
407
|
}
|
|
2661
408
|
static types() {
|
|
2662
409
|
return {
|
|
2663
|
-
|
|
2664
|
-
|
|
410
|
+
certifyId: 'string',
|
|
411
|
+
pictureReturnType: 'string',
|
|
412
|
+
sceneId: 'number',
|
|
2665
413
|
};
|
|
2666
414
|
}
|
|
2667
415
|
}
|
|
2668
|
-
exports.
|
|
2669
|
-
class
|
|
416
|
+
exports.DescribeFaceVerifyRequest = DescribeFaceVerifyRequest;
|
|
417
|
+
class DescribeFaceVerifyResponse extends $tea.Model {
|
|
2670
418
|
constructor(map) {
|
|
2671
419
|
super(map);
|
|
2672
420
|
}
|
|
2673
421
|
static names() {
|
|
2674
422
|
return {
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
startDate: 'StartDate',
|
|
2680
|
-
backImageUrl: 'BackImageUrl',
|
|
2681
|
-
nationality: 'Nationality',
|
|
2682
|
-
birth: 'Birth',
|
|
2683
|
-
name: 'Name',
|
|
2684
|
-
frontImageUrl: 'FrontImageUrl',
|
|
423
|
+
code: 'Code',
|
|
424
|
+
message: 'Message',
|
|
425
|
+
requestId: 'RequestId',
|
|
426
|
+
resultObject: 'ResultObject',
|
|
2685
427
|
};
|
|
2686
428
|
}
|
|
2687
429
|
static types() {
|
|
2688
430
|
return {
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
startDate: 'string',
|
|
2694
|
-
backImageUrl: 'string',
|
|
2695
|
-
nationality: 'string',
|
|
2696
|
-
birth: 'string',
|
|
2697
|
-
name: 'string',
|
|
2698
|
-
frontImageUrl: 'string',
|
|
431
|
+
code: 'string',
|
|
432
|
+
message: 'string',
|
|
433
|
+
requestId: 'string',
|
|
434
|
+
resultObject: DescribeFaceVerifyResponseResultObject,
|
|
2699
435
|
};
|
|
2700
436
|
}
|
|
2701
437
|
}
|
|
2702
|
-
exports.
|
|
2703
|
-
class
|
|
2704
|
-
constructor(map) {
|
|
2705
|
-
super(map);
|
|
2706
|
-
}
|
|
438
|
+
exports.DescribeFaceVerifyResponse = DescribeFaceVerifyResponse;
|
|
439
|
+
class DescribeOssUploadTokenRequest extends $tea.Model {
|
|
2707
440
|
static names() {
|
|
2708
|
-
return {
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
idCardInfo: 'IdCardInfo',
|
|
2716
|
-
};
|
|
2717
|
-
}
|
|
2718
|
-
static types() {
|
|
2719
|
-
return {
|
|
2720
|
-
idCardNumber: 'string',
|
|
2721
|
-
faceGlobalUrl: 'string',
|
|
2722
|
-
faceImageUrl: 'string',
|
|
2723
|
-
faceMask: 'string',
|
|
2724
|
-
idCardName: 'string',
|
|
2725
|
-
faceQuality: 'string',
|
|
2726
|
-
idCardInfo: VerifyMaterialResponseBodyMaterialIdCardInfo,
|
|
2727
|
-
};
|
|
441
|
+
return {};
|
|
442
|
+
}
|
|
443
|
+
static types() {
|
|
444
|
+
return {};
|
|
445
|
+
}
|
|
446
|
+
constructor(map) {
|
|
447
|
+
super(map);
|
|
2728
448
|
}
|
|
2729
449
|
}
|
|
2730
|
-
exports.
|
|
2731
|
-
class
|
|
450
|
+
exports.DescribeOssUploadTokenRequest = DescribeOssUploadTokenRequest;
|
|
451
|
+
class DescribeOssUploadTokenResponse extends $tea.Model {
|
|
2732
452
|
constructor(map) {
|
|
2733
453
|
super(map);
|
|
2734
454
|
}
|
|
2735
455
|
static names() {
|
|
2736
456
|
return {
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
bizId: 'BizId',
|
|
2740
|
-
startDate: 'StartDate',
|
|
2741
|
-
idCardNum: 'IdCardNum',
|
|
2742
|
-
gmtModified: 'GmtModified',
|
|
2743
|
-
valid: 'Valid',
|
|
2744
|
-
id: 'Id',
|
|
2745
|
-
bizType: 'BizType',
|
|
2746
|
-
uid: 'Uid',
|
|
457
|
+
requestId: 'RequestId',
|
|
458
|
+
ossUploadToken: 'OssUploadToken',
|
|
2747
459
|
};
|
|
2748
460
|
}
|
|
2749
461
|
static types() {
|
|
2750
462
|
return {
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
bizId: 'string',
|
|
2754
|
-
startDate: 'number',
|
|
2755
|
-
idCardNum: 'string',
|
|
2756
|
-
gmtModified: 'number',
|
|
2757
|
-
valid: 'number',
|
|
2758
|
-
id: 'number',
|
|
2759
|
-
bizType: 'string',
|
|
2760
|
-
uid: 'number',
|
|
463
|
+
requestId: 'string',
|
|
464
|
+
ossUploadToken: DescribeOssUploadTokenResponseOssUploadToken,
|
|
2761
465
|
};
|
|
2762
466
|
}
|
|
2763
467
|
}
|
|
2764
|
-
exports.
|
|
2765
|
-
class
|
|
468
|
+
exports.DescribeOssUploadTokenResponse = DescribeOssUploadTokenResponse;
|
|
469
|
+
class DescribeVerifyResultRequest extends $tea.Model {
|
|
2766
470
|
constructor(map) {
|
|
2767
471
|
super(map);
|
|
2768
472
|
}
|
|
2769
473
|
static names() {
|
|
2770
474
|
return {
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
secret: 'Secret',
|
|
2774
|
-
expired: 'Expired',
|
|
2775
|
-
path: 'Path',
|
|
2776
|
-
endPoint: 'EndPoint',
|
|
2777
|
-
bucket: 'Bucket',
|
|
475
|
+
bizId: 'BizId',
|
|
476
|
+
bizType: 'BizType',
|
|
2778
477
|
};
|
|
2779
478
|
}
|
|
2780
479
|
static types() {
|
|
2781
480
|
return {
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
secret: 'string',
|
|
2785
|
-
expired: 'number',
|
|
2786
|
-
path: 'string',
|
|
2787
|
-
endPoint: 'string',
|
|
2788
|
-
bucket: 'string',
|
|
481
|
+
bizId: 'string',
|
|
482
|
+
bizType: 'string',
|
|
2789
483
|
};
|
|
2790
484
|
}
|
|
2791
485
|
}
|
|
2792
|
-
exports.
|
|
2793
|
-
class
|
|
486
|
+
exports.DescribeVerifyResultRequest = DescribeVerifyResultRequest;
|
|
487
|
+
class DescribeVerifyResultResponse extends $tea.Model {
|
|
2794
488
|
constructor(map) {
|
|
2795
489
|
super(map);
|
|
2796
490
|
}
|
|
2797
491
|
static names() {
|
|
2798
492
|
return {
|
|
2799
|
-
|
|
2800
|
-
|
|
493
|
+
authorityComparisionScore: 'AuthorityComparisionScore',
|
|
494
|
+
faceComparisonScore: 'FaceComparisonScore',
|
|
495
|
+
idCardFaceComparisonScore: 'IdCardFaceComparisonScore',
|
|
496
|
+
requestId: 'RequestId',
|
|
497
|
+
verifyStatus: 'VerifyStatus',
|
|
498
|
+
material: 'Material',
|
|
2801
499
|
};
|
|
2802
500
|
}
|
|
2803
501
|
static types() {
|
|
2804
502
|
return {
|
|
2805
|
-
|
|
2806
|
-
|
|
503
|
+
authorityComparisionScore: 'number',
|
|
504
|
+
faceComparisonScore: 'number',
|
|
505
|
+
idCardFaceComparisonScore: 'number',
|
|
506
|
+
requestId: 'string',
|
|
507
|
+
verifyStatus: 'number',
|
|
508
|
+
material: DescribeVerifyResultResponseMaterial,
|
|
2807
509
|
};
|
|
2808
510
|
}
|
|
2809
511
|
}
|
|
2810
|
-
exports.
|
|
2811
|
-
class
|
|
512
|
+
exports.DescribeVerifyResultResponse = DescribeVerifyResultResponse;
|
|
513
|
+
class DescribeVerifySDKRequest extends $tea.Model {
|
|
2812
514
|
constructor(map) {
|
|
2813
515
|
super(map);
|
|
2814
516
|
}
|
|
2815
517
|
static names() {
|
|
2816
518
|
return {
|
|
2817
|
-
|
|
2818
|
-
passCount: 'PassCount',
|
|
2819
|
-
totalCount: 'TotalCount',
|
|
2820
|
-
failCount: 'FailCount',
|
|
2821
|
-
bizType: 'BizType',
|
|
519
|
+
taskId: 'TaskId',
|
|
2822
520
|
};
|
|
2823
521
|
}
|
|
2824
522
|
static types() {
|
|
2825
523
|
return {
|
|
2826
|
-
|
|
2827
|
-
passCount: 'number',
|
|
2828
|
-
totalCount: 'number',
|
|
2829
|
-
failCount: 'number',
|
|
2830
|
-
bizType: 'string',
|
|
524
|
+
taskId: 'string',
|
|
2831
525
|
};
|
|
2832
526
|
}
|
|
2833
527
|
}
|
|
2834
|
-
exports.
|
|
2835
|
-
class
|
|
528
|
+
exports.DescribeVerifySDKRequest = DescribeVerifySDKRequest;
|
|
529
|
+
class DescribeVerifySDKResponse extends $tea.Model {
|
|
2836
530
|
constructor(map) {
|
|
2837
531
|
super(map);
|
|
2838
532
|
}
|
|
2839
533
|
static names() {
|
|
2840
534
|
return {
|
|
2841
|
-
|
|
535
|
+
requestId: 'RequestId',
|
|
536
|
+
sdkUrl: 'SdkUrl',
|
|
2842
537
|
};
|
|
2843
538
|
}
|
|
2844
539
|
static types() {
|
|
2845
540
|
return {
|
|
2846
|
-
|
|
541
|
+
requestId: 'string',
|
|
542
|
+
sdkUrl: 'string',
|
|
2847
543
|
};
|
|
2848
544
|
}
|
|
2849
545
|
}
|
|
2850
|
-
exports.
|
|
2851
|
-
class
|
|
546
|
+
exports.DescribeVerifySDKResponse = DescribeVerifySDKResponse;
|
|
547
|
+
class DescribeVerifyTokenRequest extends $tea.Model {
|
|
2852
548
|
constructor(map) {
|
|
2853
549
|
super(map);
|
|
2854
550
|
}
|
|
2855
551
|
static names() {
|
|
2856
552
|
return {
|
|
2857
|
-
|
|
553
|
+
bizId: 'BizId',
|
|
554
|
+
bizType: 'BizType',
|
|
555
|
+
callbackSeed: 'CallbackSeed',
|
|
556
|
+
callbackUrl: 'CallbackUrl',
|
|
557
|
+
faceRetainedImageUrl: 'FaceRetainedImageUrl',
|
|
558
|
+
failedRedirectUrl: 'FailedRedirectUrl',
|
|
559
|
+
idCardBackImageUrl: 'IdCardBackImageUrl',
|
|
560
|
+
idCardFrontImageUrl: 'IdCardFrontImageUrl',
|
|
561
|
+
idCardNumber: 'IdCardNumber',
|
|
562
|
+
name: 'Name',
|
|
563
|
+
passedRedirectUrl: 'PassedRedirectUrl',
|
|
564
|
+
userId: 'UserId',
|
|
565
|
+
userIp: 'UserIp',
|
|
566
|
+
userPhoneNumber: 'UserPhoneNumber',
|
|
567
|
+
userRegistTime: 'UserRegistTime',
|
|
2858
568
|
};
|
|
2859
569
|
}
|
|
2860
570
|
static types() {
|
|
2861
571
|
return {
|
|
2862
|
-
|
|
572
|
+
bizId: 'string',
|
|
573
|
+
bizType: 'string',
|
|
574
|
+
callbackSeed: 'string',
|
|
575
|
+
callbackUrl: 'string',
|
|
576
|
+
faceRetainedImageUrl: 'string',
|
|
577
|
+
failedRedirectUrl: 'string',
|
|
578
|
+
idCardBackImageUrl: 'string',
|
|
579
|
+
idCardFrontImageUrl: 'string',
|
|
580
|
+
idCardNumber: 'string',
|
|
581
|
+
name: 'string',
|
|
582
|
+
passedRedirectUrl: 'string',
|
|
583
|
+
userId: 'string',
|
|
584
|
+
userIp: 'string',
|
|
585
|
+
userPhoneNumber: 'string',
|
|
586
|
+
userRegistTime: 'number',
|
|
2863
587
|
};
|
|
2864
588
|
}
|
|
2865
589
|
}
|
|
2866
|
-
exports.
|
|
2867
|
-
class
|
|
590
|
+
exports.DescribeVerifyTokenRequest = DescribeVerifyTokenRequest;
|
|
591
|
+
class DescribeVerifyTokenResponse extends $tea.Model {
|
|
2868
592
|
constructor(map) {
|
|
2869
593
|
super(map);
|
|
2870
594
|
}
|
|
2871
595
|
static names() {
|
|
2872
596
|
return {
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
startDate: 'StartDate',
|
|
2878
|
-
name: 'Name',
|
|
2879
|
-
id: 'Id',
|
|
2880
|
-
packageInfo: 'PackageInfo',
|
|
2881
|
-
debugPackageInfo: 'DebugPackageInfo',
|
|
597
|
+
requestId: 'RequestId',
|
|
598
|
+
verifyPageUrl: 'VerifyPageUrl',
|
|
599
|
+
verifyToken: 'VerifyToken',
|
|
600
|
+
ossUploadToken: 'OssUploadToken',
|
|
2882
601
|
};
|
|
2883
602
|
}
|
|
2884
603
|
static types() {
|
|
2885
604
|
return {
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
|
|
2889
|
-
|
|
2890
|
-
startDate: 'string',
|
|
2891
|
-
name: 'string',
|
|
2892
|
-
id: 'number',
|
|
2893
|
-
packageInfo: DescribeUpdatePackageResultResponseBodyAppInfoPackageInfo,
|
|
2894
|
-
debugPackageInfo: DescribeUpdatePackageResultResponseBodyAppInfoDebugPackageInfo,
|
|
605
|
+
requestId: 'string',
|
|
606
|
+
verifyPageUrl: 'string',
|
|
607
|
+
verifyToken: 'string',
|
|
608
|
+
ossUploadToken: DescribeVerifyTokenResponseOssUploadToken,
|
|
2895
609
|
};
|
|
2896
610
|
}
|
|
2897
611
|
}
|
|
2898
|
-
exports.
|
|
2899
|
-
class
|
|
612
|
+
exports.DescribeVerifyTokenResponse = DescribeVerifyTokenResponse;
|
|
613
|
+
class DetectFaceAttributesRequest extends $tea.Model {
|
|
2900
614
|
constructor(map) {
|
|
2901
615
|
super(map);
|
|
2902
616
|
}
|
|
2903
617
|
static names() {
|
|
2904
618
|
return {
|
|
2905
|
-
bizName: 'BizName',
|
|
2906
|
-
solution: 'Solution',
|
|
2907
619
|
bizType: 'BizType',
|
|
2908
|
-
|
|
620
|
+
materialValue: 'MaterialValue',
|
|
2909
621
|
};
|
|
2910
622
|
}
|
|
2911
623
|
static types() {
|
|
2912
624
|
return {
|
|
2913
|
-
bizName: 'string',
|
|
2914
|
-
solution: 'string',
|
|
2915
625
|
bizType: 'string',
|
|
2916
|
-
|
|
626
|
+
materialValue: 'string',
|
|
2917
627
|
};
|
|
2918
628
|
}
|
|
2919
629
|
}
|
|
2920
|
-
exports.
|
|
2921
|
-
class
|
|
630
|
+
exports.DetectFaceAttributesRequest = DetectFaceAttributesRequest;
|
|
631
|
+
class DetectFaceAttributesResponse extends $tea.Model {
|
|
2922
632
|
constructor(map) {
|
|
2923
633
|
super(map);
|
|
2924
634
|
}
|
|
2925
635
|
static names() {
|
|
2926
636
|
return {
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
startDate: 'StartDate',
|
|
2933
|
-
nationality: 'Nationality',
|
|
2934
|
-
backImageUrl: 'BackImageUrl',
|
|
2935
|
-
birth: 'Birth',
|
|
2936
|
-
name: 'Name',
|
|
2937
|
-
frontImageUrl: 'FrontImageUrl',
|
|
637
|
+
code: 'Code',
|
|
638
|
+
message: 'Message',
|
|
639
|
+
requestId: 'RequestId',
|
|
640
|
+
success: 'Success',
|
|
641
|
+
data: 'Data',
|
|
2938
642
|
};
|
|
2939
643
|
}
|
|
2940
644
|
static types() {
|
|
2941
645
|
return {
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
startDate: 'string',
|
|
2948
|
-
nationality: 'string',
|
|
2949
|
-
backImageUrl: 'string',
|
|
2950
|
-
birth: 'string',
|
|
2951
|
-
name: 'string',
|
|
2952
|
-
frontImageUrl: 'string',
|
|
646
|
+
code: 'string',
|
|
647
|
+
message: 'string',
|
|
648
|
+
requestId: 'string',
|
|
649
|
+
success: 'boolean',
|
|
650
|
+
data: DetectFaceAttributesResponseData,
|
|
2953
651
|
};
|
|
2954
652
|
}
|
|
2955
653
|
}
|
|
2956
|
-
exports.
|
|
2957
|
-
class
|
|
654
|
+
exports.DetectFaceAttributesResponse = DetectFaceAttributesResponse;
|
|
655
|
+
class InitFaceVerifyRequest extends $tea.Model {
|
|
2958
656
|
constructor(map) {
|
|
2959
657
|
super(map);
|
|
2960
658
|
}
|
|
2961
659
|
static names() {
|
|
2962
660
|
return {
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
661
|
+
authId: 'AuthId',
|
|
662
|
+
callbackToken: 'CallbackToken',
|
|
663
|
+
callbackUrl: 'CallbackUrl',
|
|
664
|
+
certName: 'CertName',
|
|
665
|
+
certNo: 'CertNo',
|
|
666
|
+
certType: 'CertType',
|
|
667
|
+
certifyId: 'CertifyId',
|
|
668
|
+
certifyUrlType: 'CertifyUrlType',
|
|
669
|
+
crop: 'Crop',
|
|
670
|
+
faceContrastPicture: 'FaceContrastPicture',
|
|
671
|
+
faceContrastPictureUrl: 'FaceContrastPictureUrl',
|
|
672
|
+
ip: 'Ip',
|
|
673
|
+
metaInfo: 'MetaInfo',
|
|
674
|
+
mobile: 'Mobile',
|
|
675
|
+
model: 'Model',
|
|
676
|
+
ossBucketName: 'OssBucketName',
|
|
677
|
+
ossObjectName: 'OssObjectName',
|
|
678
|
+
outerOrderNo: 'OuterOrderNo',
|
|
679
|
+
productCode: 'ProductCode',
|
|
680
|
+
returnUrl: 'ReturnUrl',
|
|
681
|
+
sceneId: 'SceneId',
|
|
682
|
+
userId: 'UserId',
|
|
2967
683
|
};
|
|
2968
684
|
}
|
|
2969
685
|
static types() {
|
|
2970
686
|
return {
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
687
|
+
authId: 'string',
|
|
688
|
+
callbackToken: 'string',
|
|
689
|
+
callbackUrl: 'string',
|
|
690
|
+
certName: 'string',
|
|
691
|
+
certNo: 'string',
|
|
692
|
+
certType: 'string',
|
|
693
|
+
certifyId: 'string',
|
|
694
|
+
certifyUrlType: 'string',
|
|
695
|
+
crop: 'string',
|
|
696
|
+
faceContrastPicture: 'string',
|
|
697
|
+
faceContrastPictureUrl: 'string',
|
|
698
|
+
ip: 'string',
|
|
699
|
+
metaInfo: 'string',
|
|
700
|
+
mobile: 'string',
|
|
701
|
+
model: 'string',
|
|
702
|
+
ossBucketName: 'string',
|
|
703
|
+
ossObjectName: 'string',
|
|
704
|
+
outerOrderNo: 'string',
|
|
705
|
+
productCode: 'string',
|
|
706
|
+
returnUrl: 'string',
|
|
707
|
+
sceneId: 'number',
|
|
708
|
+
userId: 'string',
|
|
2975
709
|
};
|
|
2976
710
|
}
|
|
2977
711
|
}
|
|
2978
|
-
exports.
|
|
2979
|
-
class
|
|
712
|
+
exports.InitFaceVerifyRequest = InitFaceVerifyRequest;
|
|
713
|
+
class InitFaceVerifyResponse extends $tea.Model {
|
|
2980
714
|
constructor(map) {
|
|
2981
715
|
super(map);
|
|
2982
716
|
}
|
|
2983
717
|
static names() {
|
|
2984
718
|
return {
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
verifyId: 'VerifyId',
|
|
2990
|
-
authorityComparisonScore: 'AuthorityComparisonScore',
|
|
2991
|
-
dataStats: 'DataStats',
|
|
2992
|
-
bizType: 'BizType',
|
|
2993
|
-
material: 'Material',
|
|
719
|
+
code: 'Code',
|
|
720
|
+
message: 'Message',
|
|
721
|
+
requestId: 'RequestId',
|
|
722
|
+
resultObject: 'ResultObject',
|
|
2994
723
|
};
|
|
2995
724
|
}
|
|
2996
725
|
static types() {
|
|
2997
726
|
return {
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
verifyId: 'string',
|
|
3003
|
-
authorityComparisonScore: 'number',
|
|
3004
|
-
dataStats: 'string',
|
|
3005
|
-
bizType: 'string',
|
|
3006
|
-
material: DescribeVerifyRecordsResponseBodyRecordsListMaterial,
|
|
727
|
+
code: 'string',
|
|
728
|
+
message: 'string',
|
|
729
|
+
requestId: 'string',
|
|
730
|
+
resultObject: InitFaceVerifyResponseResultObject,
|
|
3007
731
|
};
|
|
3008
732
|
}
|
|
3009
733
|
}
|
|
3010
|
-
exports.
|
|
3011
|
-
class
|
|
734
|
+
exports.InitFaceVerifyResponse = InitFaceVerifyResponse;
|
|
735
|
+
class LivenessFaceVerifyRequest extends $tea.Model {
|
|
3012
736
|
constructor(map) {
|
|
3013
737
|
super(map);
|
|
3014
738
|
}
|
|
3015
739
|
static names() {
|
|
3016
740
|
return {
|
|
3017
|
-
status: 'Status',
|
|
3018
|
-
gmtCreate: 'GmtCreate',
|
|
3019
741
|
certifyId: 'CertifyId',
|
|
3020
|
-
|
|
3021
|
-
|
|
742
|
+
crop: 'Crop',
|
|
743
|
+
deviceToken: 'DeviceToken',
|
|
744
|
+
faceContrastPicture: 'FaceContrastPicture',
|
|
745
|
+
faceContrastPictureUrl: 'FaceContrastPictureUrl',
|
|
746
|
+
ip: 'Ip',
|
|
747
|
+
mobile: 'Mobile',
|
|
748
|
+
model: 'Model',
|
|
749
|
+
ossBucketName: 'OssBucketName',
|
|
750
|
+
ossObjectName: 'OssObjectName',
|
|
751
|
+
outerOrderNo: 'OuterOrderNo',
|
|
752
|
+
productCode: 'ProductCode',
|
|
3022
753
|
sceneId: 'SceneId',
|
|
3023
|
-
|
|
3024
|
-
validEndDate: 'ValidEndDate',
|
|
3025
|
-
id: 'Id',
|
|
754
|
+
userId: 'UserId',
|
|
3026
755
|
};
|
|
3027
756
|
}
|
|
3028
757
|
static types() {
|
|
3029
758
|
return {
|
|
3030
|
-
status: 'string',
|
|
3031
|
-
gmtCreate: 'string',
|
|
3032
759
|
certifyId: 'string',
|
|
3033
|
-
|
|
3034
|
-
|
|
760
|
+
crop: 'string',
|
|
761
|
+
deviceToken: 'string',
|
|
762
|
+
faceContrastPicture: 'string',
|
|
763
|
+
faceContrastPictureUrl: 'string',
|
|
764
|
+
ip: 'string',
|
|
765
|
+
mobile: 'string',
|
|
766
|
+
model: 'string',
|
|
767
|
+
ossBucketName: 'string',
|
|
768
|
+
ossObjectName: 'string',
|
|
769
|
+
outerOrderNo: 'string',
|
|
770
|
+
productCode: 'string',
|
|
3035
771
|
sceneId: 'number',
|
|
3036
|
-
|
|
3037
|
-
validEndDate: 'string',
|
|
3038
|
-
id: 'number',
|
|
772
|
+
userId: 'string',
|
|
3039
773
|
};
|
|
3040
774
|
}
|
|
3041
775
|
}
|
|
3042
|
-
exports.
|
|
3043
|
-
class
|
|
776
|
+
exports.LivenessFaceVerifyRequest = LivenessFaceVerifyRequest;
|
|
777
|
+
class LivenessFaceVerifyResponse extends $tea.Model {
|
|
3044
778
|
constructor(map) {
|
|
3045
779
|
super(map);
|
|
3046
780
|
}
|
|
3047
781
|
static names() {
|
|
3048
782
|
return {
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
783
|
+
code: 'Code',
|
|
784
|
+
message: 'Message',
|
|
785
|
+
requestId: 'RequestId',
|
|
786
|
+
resultObject: 'ResultObject',
|
|
3052
787
|
};
|
|
3053
788
|
}
|
|
3054
789
|
static types() {
|
|
3055
|
-
return {
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
|
|
790
|
+
return {
|
|
791
|
+
code: 'string',
|
|
792
|
+
message: 'string',
|
|
793
|
+
requestId: 'string',
|
|
794
|
+
resultObject: LivenessFaceVerifyResponseResultObject,
|
|
3059
795
|
};
|
|
3060
796
|
}
|
|
3061
797
|
}
|
|
3062
|
-
exports.
|
|
3063
|
-
class
|
|
798
|
+
exports.LivenessFaceVerifyResponse = LivenessFaceVerifyResponse;
|
|
799
|
+
class ModifyDeviceInfoRequest extends $tea.Model {
|
|
3064
800
|
constructor(map) {
|
|
3065
801
|
super(map);
|
|
3066
802
|
}
|
|
3067
803
|
static names() {
|
|
3068
804
|
return {
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
805
|
+
bizType: 'BizType',
|
|
806
|
+
deviceId: 'DeviceId',
|
|
807
|
+
duration: 'Duration',
|
|
808
|
+
expiredDay: 'ExpiredDay',
|
|
809
|
+
userDeviceId: 'UserDeviceId',
|
|
3073
810
|
};
|
|
3074
811
|
}
|
|
3075
812
|
static types() {
|
|
3076
813
|
return {
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
814
|
+
bizType: 'string',
|
|
815
|
+
deviceId: 'string',
|
|
816
|
+
duration: 'string',
|
|
817
|
+
expiredDay: 'string',
|
|
818
|
+
userDeviceId: 'string',
|
|
3081
819
|
};
|
|
3082
820
|
}
|
|
3083
821
|
}
|
|
3084
|
-
exports.
|
|
3085
|
-
class
|
|
822
|
+
exports.ModifyDeviceInfoRequest = ModifyDeviceInfoRequest;
|
|
823
|
+
class ModifyDeviceInfoResponse extends $tea.Model {
|
|
3086
824
|
constructor(map) {
|
|
3087
825
|
super(map);
|
|
3088
826
|
}
|
|
3089
827
|
static names() {
|
|
3090
828
|
return {
|
|
3091
|
-
|
|
829
|
+
beginDay: 'BeginDay',
|
|
830
|
+
bizType: 'BizType',
|
|
831
|
+
deviceId: 'DeviceId',
|
|
832
|
+
expiredDay: 'ExpiredDay',
|
|
833
|
+
requestId: 'RequestId',
|
|
834
|
+
userDeviceId: 'UserDeviceId',
|
|
3092
835
|
};
|
|
3093
836
|
}
|
|
3094
837
|
static types() {
|
|
3095
838
|
return {
|
|
3096
|
-
|
|
839
|
+
beginDay: 'string',
|
|
840
|
+
bizType: 'string',
|
|
841
|
+
deviceId: 'string',
|
|
842
|
+
expiredDay: 'string',
|
|
843
|
+
requestId: 'string',
|
|
844
|
+
userDeviceId: 'string',
|
|
3097
845
|
};
|
|
3098
846
|
}
|
|
3099
847
|
}
|
|
3100
|
-
exports.
|
|
3101
|
-
class
|
|
848
|
+
exports.ModifyDeviceInfoResponse = ModifyDeviceInfoResponse;
|
|
849
|
+
class VerifyMaterialRequest extends $tea.Model {
|
|
3102
850
|
constructor(map) {
|
|
3103
851
|
super(map);
|
|
3104
852
|
}
|
|
3105
853
|
static names() {
|
|
3106
854
|
return {
|
|
3107
|
-
|
|
855
|
+
bizId: 'BizId',
|
|
856
|
+
bizType: 'BizType',
|
|
857
|
+
faceImageUrl: 'FaceImageUrl',
|
|
858
|
+
idCardBackImageUrl: 'IdCardBackImageUrl',
|
|
859
|
+
idCardFrontImageUrl: 'IdCardFrontImageUrl',
|
|
860
|
+
idCardNumber: 'IdCardNumber',
|
|
861
|
+
name: 'Name',
|
|
862
|
+
userId: 'UserId',
|
|
3108
863
|
};
|
|
3109
864
|
}
|
|
3110
865
|
static types() {
|
|
3111
866
|
return {
|
|
3112
|
-
|
|
867
|
+
bizId: 'string',
|
|
868
|
+
bizType: 'string',
|
|
869
|
+
faceImageUrl: 'string',
|
|
870
|
+
idCardBackImageUrl: 'string',
|
|
871
|
+
idCardFrontImageUrl: 'string',
|
|
872
|
+
idCardNumber: 'string',
|
|
873
|
+
name: 'string',
|
|
874
|
+
userId: 'string',
|
|
3113
875
|
};
|
|
3114
876
|
}
|
|
3115
877
|
}
|
|
3116
|
-
exports.
|
|
3117
|
-
class
|
|
878
|
+
exports.VerifyMaterialRequest = VerifyMaterialRequest;
|
|
879
|
+
class VerifyMaterialResponse extends $tea.Model {
|
|
3118
880
|
constructor(map) {
|
|
3119
881
|
super(map);
|
|
3120
882
|
}
|
|
3121
883
|
static names() {
|
|
3122
884
|
return {
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
id: 'Id',
|
|
3130
|
-
packageInfo: 'PackageInfo',
|
|
3131
|
-
debugPackageInfo: 'DebugPackageInfo',
|
|
885
|
+
authorityComparisionScore: 'AuthorityComparisionScore',
|
|
886
|
+
idCardFaceComparisonScore: 'IdCardFaceComparisonScore',
|
|
887
|
+
requestId: 'RequestId',
|
|
888
|
+
verifyStatus: 'VerifyStatus',
|
|
889
|
+
verifyToken: 'VerifyToken',
|
|
890
|
+
material: 'Material',
|
|
3132
891
|
};
|
|
3133
892
|
}
|
|
3134
893
|
static types() {
|
|
3135
894
|
return {
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
id: 'number',
|
|
3143
|
-
packageInfo: DescribeAppInfoResponseBodyAppInfoListPackageInfo,
|
|
3144
|
-
debugPackageInfo: DescribeAppInfoResponseBodyAppInfoListDebugPackageInfo,
|
|
895
|
+
authorityComparisionScore: 'number',
|
|
896
|
+
idCardFaceComparisonScore: 'number',
|
|
897
|
+
requestId: 'string',
|
|
898
|
+
verifyStatus: 'number',
|
|
899
|
+
verifyToken: 'string',
|
|
900
|
+
material: VerifyMaterialResponseMaterial,
|
|
3145
901
|
};
|
|
3146
902
|
}
|
|
3147
903
|
}
|
|
3148
|
-
exports.
|
|
3149
|
-
class
|
|
904
|
+
exports.VerifyMaterialResponse = VerifyMaterialResponse;
|
|
905
|
+
class CompareFaceVerifyResponseResultObject extends $tea.Model {
|
|
3150
906
|
constructor(map) {
|
|
3151
907
|
super(map);
|
|
3152
908
|
}
|
|
3153
909
|
static names() {
|
|
3154
910
|
return {
|
|
3155
911
|
certifyId: 'CertifyId',
|
|
3156
|
-
subCode: 'SubCode',
|
|
3157
|
-
materialInfo: 'MaterialInfo',
|
|
3158
|
-
identityInfo: 'IdentityInfo',
|
|
3159
912
|
passed: 'Passed',
|
|
913
|
+
verifyScore: 'VerifyScore',
|
|
3160
914
|
};
|
|
3161
915
|
}
|
|
3162
916
|
static types() {
|
|
3163
917
|
return {
|
|
3164
918
|
certifyId: 'string',
|
|
3165
|
-
subCode: 'string',
|
|
3166
|
-
materialInfo: 'string',
|
|
3167
|
-
identityInfo: 'string',
|
|
3168
919
|
passed: 'string',
|
|
920
|
+
verifyScore: 'number',
|
|
3169
921
|
};
|
|
3170
922
|
}
|
|
3171
923
|
}
|
|
3172
|
-
exports.
|
|
3173
|
-
class
|
|
924
|
+
exports.CompareFaceVerifyResponseResultObject = CompareFaceVerifyResponseResultObject;
|
|
925
|
+
class CompareFacesResponseData extends $tea.Model {
|
|
3174
926
|
constructor(map) {
|
|
3175
927
|
super(map);
|
|
3176
928
|
}
|
|
3177
929
|
static names() {
|
|
3178
930
|
return {
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
hasNext: 'HasNext',
|
|
3182
|
-
retMessageSub: 'RetMessageSub',
|
|
3183
|
-
extParams: 'ExtParams',
|
|
3184
|
-
validationRetCode: 'ValidationRetCode',
|
|
931
|
+
confidenceThresholds: 'ConfidenceThresholds',
|
|
932
|
+
similarityScore: 'SimilarityScore',
|
|
3185
933
|
};
|
|
3186
934
|
}
|
|
3187
935
|
static types() {
|
|
3188
936
|
return {
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
hasNext: 'string',
|
|
3192
|
-
retMessageSub: 'string',
|
|
3193
|
-
extParams: 'string',
|
|
3194
|
-
validationRetCode: 'string',
|
|
937
|
+
confidenceThresholds: 'string',
|
|
938
|
+
similarityScore: 'number',
|
|
3195
939
|
};
|
|
3196
940
|
}
|
|
3197
941
|
}
|
|
3198
|
-
exports.
|
|
3199
|
-
class
|
|
942
|
+
exports.CompareFacesResponseData = CompareFacesResponseData;
|
|
943
|
+
class ContrastFaceVerifyResponseResultObject extends $tea.Model {
|
|
3200
944
|
constructor(map) {
|
|
3201
945
|
super(map);
|
|
3202
946
|
}
|
|
3203
947
|
static names() {
|
|
3204
948
|
return {
|
|
3205
949
|
certifyId: 'CertifyId',
|
|
3206
|
-
|
|
950
|
+
identityInfo: 'IdentityInfo',
|
|
951
|
+
materialInfo: 'MaterialInfo',
|
|
3207
952
|
passed: 'Passed',
|
|
953
|
+
subCode: 'SubCode',
|
|
3208
954
|
};
|
|
3209
955
|
}
|
|
3210
956
|
static types() {
|
|
3211
957
|
return {
|
|
3212
958
|
certifyId: 'string',
|
|
3213
|
-
|
|
959
|
+
identityInfo: 'string',
|
|
960
|
+
materialInfo: 'string',
|
|
3214
961
|
passed: 'string',
|
|
962
|
+
subCode: 'string',
|
|
3215
963
|
};
|
|
3216
964
|
}
|
|
3217
965
|
}
|
|
3218
|
-
exports.
|
|
3219
|
-
class
|
|
966
|
+
exports.ContrastFaceVerifyResponseResultObject = ContrastFaceVerifyResponseResultObject;
|
|
967
|
+
class DescribeDeviceInfoResponseDeviceInfoListDeviceInfo extends $tea.Model {
|
|
3220
968
|
constructor(map) {
|
|
3221
969
|
super(map);
|
|
3222
970
|
}
|
|
3223
971
|
static names() {
|
|
3224
972
|
return {
|
|
3225
|
-
expiredDay: 'ExpiredDay',
|
|
3226
|
-
userDeviceId: 'UserDeviceId',
|
|
3227
|
-
deviceId: 'DeviceId',
|
|
3228
973
|
beginDay: 'BeginDay',
|
|
3229
974
|
bizType: 'BizType',
|
|
975
|
+
deviceId: 'DeviceId',
|
|
976
|
+
expiredDay: 'ExpiredDay',
|
|
977
|
+
userDeviceId: 'UserDeviceId',
|
|
3230
978
|
};
|
|
3231
979
|
}
|
|
3232
980
|
static types() {
|
|
3233
981
|
return {
|
|
3234
|
-
expiredDay: 'string',
|
|
3235
|
-
userDeviceId: 'string',
|
|
3236
|
-
deviceId: 'string',
|
|
3237
982
|
beginDay: 'string',
|
|
3238
983
|
bizType: 'string',
|
|
984
|
+
deviceId: 'string',
|
|
985
|
+
expiredDay: 'string',
|
|
986
|
+
userDeviceId: 'string',
|
|
3239
987
|
};
|
|
3240
988
|
}
|
|
3241
989
|
}
|
|
3242
|
-
exports.
|
|
3243
|
-
class
|
|
990
|
+
exports.DescribeDeviceInfoResponseDeviceInfoListDeviceInfo = DescribeDeviceInfoResponseDeviceInfoListDeviceInfo;
|
|
991
|
+
class DescribeDeviceInfoResponseDeviceInfoList extends $tea.Model {
|
|
3244
992
|
constructor(map) {
|
|
3245
993
|
super(map);
|
|
3246
994
|
}
|
|
@@ -3251,104 +999,156 @@ class DescribeDeviceInfoResponseBodyDeviceInfoList extends $tea.Model {
|
|
|
3251
999
|
}
|
|
3252
1000
|
static types() {
|
|
3253
1001
|
return {
|
|
3254
|
-
deviceInfo: { 'type': 'array', 'itemType':
|
|
1002
|
+
deviceInfo: { 'type': 'array', 'itemType': DescribeDeviceInfoResponseDeviceInfoListDeviceInfo },
|
|
3255
1003
|
};
|
|
3256
1004
|
}
|
|
3257
1005
|
}
|
|
3258
|
-
exports.
|
|
3259
|
-
class
|
|
1006
|
+
exports.DescribeDeviceInfoResponseDeviceInfoList = DescribeDeviceInfoResponseDeviceInfoList;
|
|
1007
|
+
class DescribeFaceVerifyResponseResultObject extends $tea.Model {
|
|
3260
1008
|
constructor(map) {
|
|
3261
1009
|
super(map);
|
|
3262
1010
|
}
|
|
3263
1011
|
static names() {
|
|
3264
1012
|
return {
|
|
3265
|
-
subCode: 'SubCode',
|
|
3266
|
-
materialInfo: 'MaterialInfo',
|
|
3267
|
-
identityInfo: 'IdentityInfo',
|
|
3268
1013
|
deviceToken: 'DeviceToken',
|
|
1014
|
+
identityInfo: 'IdentityInfo',
|
|
1015
|
+
materialInfo: 'MaterialInfo',
|
|
3269
1016
|
passed: 'Passed',
|
|
1017
|
+
subCode: 'SubCode',
|
|
3270
1018
|
};
|
|
3271
1019
|
}
|
|
3272
1020
|
static types() {
|
|
3273
1021
|
return {
|
|
3274
|
-
subCode: 'string',
|
|
3275
|
-
materialInfo: 'string',
|
|
3276
|
-
identityInfo: 'string',
|
|
3277
1022
|
deviceToken: 'string',
|
|
1023
|
+
identityInfo: 'string',
|
|
1024
|
+
materialInfo: 'string',
|
|
3278
1025
|
passed: 'string',
|
|
1026
|
+
subCode: 'string',
|
|
3279
1027
|
};
|
|
3280
1028
|
}
|
|
3281
1029
|
}
|
|
3282
|
-
exports.
|
|
3283
|
-
class
|
|
1030
|
+
exports.DescribeFaceVerifyResponseResultObject = DescribeFaceVerifyResponseResultObject;
|
|
1031
|
+
class DescribeOssUploadTokenResponseOssUploadToken extends $tea.Model {
|
|
3284
1032
|
constructor(map) {
|
|
3285
1033
|
super(map);
|
|
3286
1034
|
}
|
|
3287
1035
|
static names() {
|
|
3288
1036
|
return {
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
secret: 'Secret',
|
|
1037
|
+
bucket: 'Bucket',
|
|
1038
|
+
endPoint: 'EndPoint',
|
|
3292
1039
|
expired: 'Expired',
|
|
1040
|
+
key: 'Key',
|
|
3293
1041
|
path: 'Path',
|
|
3294
|
-
|
|
3295
|
-
|
|
1042
|
+
secret: 'Secret',
|
|
1043
|
+
token: 'Token',
|
|
3296
1044
|
};
|
|
3297
1045
|
}
|
|
3298
1046
|
static types() {
|
|
3299
1047
|
return {
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
secret: 'string',
|
|
1048
|
+
bucket: 'string',
|
|
1049
|
+
endPoint: 'string',
|
|
3303
1050
|
expired: 'number',
|
|
1051
|
+
key: 'string',
|
|
3304
1052
|
path: 'string',
|
|
3305
|
-
|
|
3306
|
-
|
|
1053
|
+
secret: 'string',
|
|
1054
|
+
token: 'string',
|
|
3307
1055
|
};
|
|
3308
1056
|
}
|
|
3309
1057
|
}
|
|
3310
|
-
exports.
|
|
3311
|
-
class
|
|
1058
|
+
exports.DescribeOssUploadTokenResponseOssUploadToken = DescribeOssUploadTokenResponseOssUploadToken;
|
|
1059
|
+
class DescribeVerifyResultResponseMaterialIdCardInfo extends $tea.Model {
|
|
3312
1060
|
constructor(map) {
|
|
3313
1061
|
super(map);
|
|
3314
1062
|
}
|
|
3315
1063
|
static names() {
|
|
3316
1064
|
return {
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
1065
|
+
address: 'Address',
|
|
1066
|
+
authority: 'Authority',
|
|
1067
|
+
backImageUrl: 'BackImageUrl',
|
|
1068
|
+
birth: 'Birth',
|
|
1069
|
+
endDate: 'EndDate',
|
|
1070
|
+
frontImageUrl: 'FrontImageUrl',
|
|
1071
|
+
name: 'Name',
|
|
1072
|
+
nationality: 'Nationality',
|
|
1073
|
+
number: 'Number',
|
|
1074
|
+
startDate: 'StartDate',
|
|
3321
1075
|
};
|
|
3322
1076
|
}
|
|
3323
1077
|
static types() {
|
|
3324
1078
|
return {
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
|
|
3328
|
-
|
|
1079
|
+
address: 'string',
|
|
1080
|
+
authority: 'string',
|
|
1081
|
+
backImageUrl: 'string',
|
|
1082
|
+
birth: 'string',
|
|
1083
|
+
endDate: 'string',
|
|
1084
|
+
frontImageUrl: 'string',
|
|
1085
|
+
name: 'string',
|
|
1086
|
+
nationality: 'string',
|
|
1087
|
+
number: 'string',
|
|
1088
|
+
startDate: 'string',
|
|
3329
1089
|
};
|
|
3330
1090
|
}
|
|
3331
1091
|
}
|
|
3332
|
-
exports.
|
|
3333
|
-
class
|
|
1092
|
+
exports.DescribeVerifyResultResponseMaterialIdCardInfo = DescribeVerifyResultResponseMaterialIdCardInfo;
|
|
1093
|
+
class DescribeVerifyResultResponseMaterial extends $tea.Model {
|
|
3334
1094
|
constructor(map) {
|
|
3335
1095
|
super(map);
|
|
3336
1096
|
}
|
|
3337
1097
|
static names() {
|
|
3338
1098
|
return {
|
|
3339
|
-
|
|
3340
|
-
|
|
1099
|
+
faceGlobalUrl: 'FaceGlobalUrl',
|
|
1100
|
+
faceImageUrl: 'FaceImageUrl',
|
|
1101
|
+
faceMask: 'FaceMask',
|
|
1102
|
+
faceQuality: 'FaceQuality',
|
|
1103
|
+
idCardName: 'IdCardName',
|
|
1104
|
+
idCardNumber: 'IdCardNumber',
|
|
1105
|
+
idCardInfo: 'IdCardInfo',
|
|
1106
|
+
videoUrls: 'VideoUrls',
|
|
3341
1107
|
};
|
|
3342
1108
|
}
|
|
3343
1109
|
static types() {
|
|
3344
1110
|
return {
|
|
3345
|
-
|
|
3346
|
-
|
|
1111
|
+
faceGlobalUrl: 'string',
|
|
1112
|
+
faceImageUrl: 'string',
|
|
1113
|
+
faceMask: 'boolean',
|
|
1114
|
+
faceQuality: 'string',
|
|
1115
|
+
idCardName: 'string',
|
|
1116
|
+
idCardNumber: 'string',
|
|
1117
|
+
idCardInfo: DescribeVerifyResultResponseMaterialIdCardInfo,
|
|
1118
|
+
videoUrls: { 'type': 'array', 'itemType': 'string' },
|
|
1119
|
+
};
|
|
1120
|
+
}
|
|
1121
|
+
}
|
|
1122
|
+
exports.DescribeVerifyResultResponseMaterial = DescribeVerifyResultResponseMaterial;
|
|
1123
|
+
class DescribeVerifyTokenResponseOssUploadToken extends $tea.Model {
|
|
1124
|
+
constructor(map) {
|
|
1125
|
+
super(map);
|
|
1126
|
+
}
|
|
1127
|
+
static names() {
|
|
1128
|
+
return {
|
|
1129
|
+
bucket: 'Bucket',
|
|
1130
|
+
endPoint: 'EndPoint',
|
|
1131
|
+
expired: 'Expired',
|
|
1132
|
+
key: 'Key',
|
|
1133
|
+
path: 'Path',
|
|
1134
|
+
secret: 'Secret',
|
|
1135
|
+
token: 'Token',
|
|
1136
|
+
};
|
|
1137
|
+
}
|
|
1138
|
+
static types() {
|
|
1139
|
+
return {
|
|
1140
|
+
bucket: 'string',
|
|
1141
|
+
endPoint: 'string',
|
|
1142
|
+
expired: 'number',
|
|
1143
|
+
key: 'string',
|
|
1144
|
+
path: 'string',
|
|
1145
|
+
secret: 'string',
|
|
1146
|
+
token: 'string',
|
|
3347
1147
|
};
|
|
3348
1148
|
}
|
|
3349
1149
|
}
|
|
3350
|
-
exports.
|
|
3351
|
-
class
|
|
1150
|
+
exports.DescribeVerifyTokenResponseOssUploadToken = DescribeVerifyTokenResponseOssUploadToken;
|
|
1151
|
+
class DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfoFaceAttributesHeadpose extends $tea.Model {
|
|
3352
1152
|
constructor(map) {
|
|
3353
1153
|
super(map);
|
|
3354
1154
|
}
|
|
@@ -3367,497 +1167,271 @@ class DetectFaceAttributesResponseBodyDataFaceInfosFaceAttributesDetectInfoFaceA
|
|
|
3367
1167
|
};
|
|
3368
1168
|
}
|
|
3369
1169
|
}
|
|
3370
|
-
exports.
|
|
3371
|
-
class
|
|
1170
|
+
exports.DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfoFaceAttributesHeadpose = DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfoFaceAttributesHeadpose;
|
|
1171
|
+
class DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfoFaceAttributesSmiling extends $tea.Model {
|
|
3372
1172
|
constructor(map) {
|
|
3373
1173
|
super(map);
|
|
3374
1174
|
}
|
|
3375
1175
|
static names() {
|
|
3376
1176
|
return {
|
|
3377
|
-
|
|
1177
|
+
threshold: 'Threshold',
|
|
1178
|
+
value: 'Value',
|
|
1179
|
+
};
|
|
1180
|
+
}
|
|
1181
|
+
static types() {
|
|
1182
|
+
return {
|
|
1183
|
+
threshold: 'number',
|
|
1184
|
+
value: 'number',
|
|
1185
|
+
};
|
|
1186
|
+
}
|
|
1187
|
+
}
|
|
1188
|
+
exports.DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfoFaceAttributesSmiling = DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfoFaceAttributesSmiling;
|
|
1189
|
+
class DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfoFaceAttributes extends $tea.Model {
|
|
1190
|
+
constructor(map) {
|
|
1191
|
+
super(map);
|
|
1192
|
+
}
|
|
1193
|
+
static names() {
|
|
1194
|
+
return {
|
|
1195
|
+
blur: 'Blur',
|
|
3378
1196
|
facequal: 'Facequal',
|
|
3379
|
-
integrity: 'Integrity',
|
|
3380
1197
|
facetype: 'Facetype',
|
|
1198
|
+
glasses: 'Glasses',
|
|
1199
|
+
integrity: 'Integrity',
|
|
3381
1200
|
respirator: 'Respirator',
|
|
3382
|
-
blur: 'Blur',
|
|
3383
|
-
smiling: 'Smiling',
|
|
3384
1201
|
headpose: 'Headpose',
|
|
1202
|
+
smiling: 'Smiling',
|
|
3385
1203
|
};
|
|
3386
1204
|
}
|
|
3387
1205
|
static types() {
|
|
3388
1206
|
return {
|
|
3389
|
-
|
|
1207
|
+
blur: 'number',
|
|
3390
1208
|
facequal: 'number',
|
|
3391
|
-
integrity: 'number',
|
|
3392
1209
|
facetype: 'string',
|
|
1210
|
+
glasses: 'string',
|
|
1211
|
+
integrity: 'number',
|
|
3393
1212
|
respirator: 'string',
|
|
3394
|
-
|
|
3395
|
-
smiling:
|
|
3396
|
-
headpose: DetectFaceAttributesResponseBodyDataFaceInfosFaceAttributesDetectInfoFaceAttributesHeadpose,
|
|
1213
|
+
headpose: DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfoFaceAttributesHeadpose,
|
|
1214
|
+
smiling: DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfoFaceAttributesSmiling,
|
|
3397
1215
|
};
|
|
3398
1216
|
}
|
|
3399
1217
|
}
|
|
3400
|
-
exports.
|
|
3401
|
-
class
|
|
1218
|
+
exports.DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfoFaceAttributes = DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfoFaceAttributes;
|
|
1219
|
+
class DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfoFaceRect extends $tea.Model {
|
|
3402
1220
|
constructor(map) {
|
|
3403
1221
|
super(map);
|
|
3404
1222
|
}
|
|
3405
1223
|
static names() {
|
|
3406
1224
|
return {
|
|
3407
|
-
|
|
3408
|
-
|
|
1225
|
+
height: 'Height',
|
|
1226
|
+
left: 'Left',
|
|
1227
|
+
top: 'Top',
|
|
1228
|
+
width: 'Width',
|
|
3409
1229
|
};
|
|
3410
1230
|
}
|
|
3411
1231
|
static types() {
|
|
3412
1232
|
return {
|
|
3413
|
-
|
|
3414
|
-
|
|
1233
|
+
height: 'number',
|
|
1234
|
+
left: 'number',
|
|
1235
|
+
top: 'number',
|
|
1236
|
+
width: 'number',
|
|
3415
1237
|
};
|
|
3416
1238
|
}
|
|
3417
1239
|
}
|
|
3418
|
-
exports.
|
|
3419
|
-
class
|
|
1240
|
+
exports.DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfoFaceRect = DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfoFaceRect;
|
|
1241
|
+
class DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfo extends $tea.Model {
|
|
3420
1242
|
constructor(map) {
|
|
3421
1243
|
super(map);
|
|
3422
1244
|
}
|
|
3423
1245
|
static names() {
|
|
3424
1246
|
return {
|
|
3425
|
-
|
|
1247
|
+
faceAttributes: 'FaceAttributes',
|
|
1248
|
+
faceRect: 'FaceRect',
|
|
3426
1249
|
};
|
|
3427
1250
|
}
|
|
3428
1251
|
static types() {
|
|
3429
1252
|
return {
|
|
3430
|
-
|
|
1253
|
+
faceAttributes: DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfoFaceAttributes,
|
|
1254
|
+
faceRect: DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfoFaceRect,
|
|
3431
1255
|
};
|
|
3432
1256
|
}
|
|
3433
1257
|
}
|
|
3434
|
-
exports.
|
|
3435
|
-
class
|
|
1258
|
+
exports.DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfo = DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfo;
|
|
1259
|
+
class DetectFaceAttributesResponseDataFaceInfos extends $tea.Model {
|
|
3436
1260
|
constructor(map) {
|
|
3437
1261
|
super(map);
|
|
3438
1262
|
}
|
|
3439
1263
|
static names() {
|
|
3440
1264
|
return {
|
|
3441
|
-
|
|
3442
|
-
imgWidth: 'ImgWidth',
|
|
3443
|
-
faceInfos: 'FaceInfos',
|
|
1265
|
+
faceAttributesDetectInfo: 'FaceAttributesDetectInfo',
|
|
3444
1266
|
};
|
|
3445
1267
|
}
|
|
3446
1268
|
static types() {
|
|
3447
1269
|
return {
|
|
3448
|
-
|
|
3449
|
-
imgWidth: 'number',
|
|
3450
|
-
faceInfos: DetectFaceAttributesResponseBodyDataFaceInfos,
|
|
1270
|
+
faceAttributesDetectInfo: { 'type': 'array', 'itemType': DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfo },
|
|
3451
1271
|
};
|
|
3452
1272
|
}
|
|
3453
1273
|
}
|
|
3454
|
-
exports.
|
|
3455
|
-
class
|
|
1274
|
+
exports.DetectFaceAttributesResponseDataFaceInfos = DetectFaceAttributesResponseDataFaceInfos;
|
|
1275
|
+
class DetectFaceAttributesResponseData extends $tea.Model {
|
|
3456
1276
|
constructor(map) {
|
|
3457
1277
|
super(map);
|
|
3458
1278
|
}
|
|
3459
1279
|
static names() {
|
|
3460
1280
|
return {
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
number: 'Number',
|
|
3465
|
-
startDate: 'StartDate',
|
|
3466
|
-
backImageUrl: 'BackImageUrl',
|
|
3467
|
-
nationality: 'Nationality',
|
|
3468
|
-
birth: 'Birth',
|
|
3469
|
-
name: 'Name',
|
|
3470
|
-
frontImageUrl: 'FrontImageUrl',
|
|
1281
|
+
imgHeight: 'ImgHeight',
|
|
1282
|
+
imgWidth: 'ImgWidth',
|
|
1283
|
+
faceInfos: 'FaceInfos',
|
|
3471
1284
|
};
|
|
3472
1285
|
}
|
|
3473
1286
|
static types() {
|
|
3474
1287
|
return {
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
number: 'string',
|
|
3479
|
-
startDate: 'string',
|
|
3480
|
-
backImageUrl: 'string',
|
|
3481
|
-
nationality: 'string',
|
|
3482
|
-
birth: 'string',
|
|
3483
|
-
name: 'string',
|
|
3484
|
-
frontImageUrl: 'string',
|
|
1288
|
+
imgHeight: 'number',
|
|
1289
|
+
imgWidth: 'number',
|
|
1290
|
+
faceInfos: DetectFaceAttributesResponseDataFaceInfos,
|
|
3485
1291
|
};
|
|
3486
1292
|
}
|
|
3487
1293
|
}
|
|
3488
|
-
exports.
|
|
3489
|
-
class
|
|
1294
|
+
exports.DetectFaceAttributesResponseData = DetectFaceAttributesResponseData;
|
|
1295
|
+
class InitFaceVerifyResponseResultObject extends $tea.Model {
|
|
3490
1296
|
constructor(map) {
|
|
3491
1297
|
super(map);
|
|
3492
1298
|
}
|
|
3493
1299
|
static names() {
|
|
3494
1300
|
return {
|
|
3495
|
-
|
|
3496
|
-
|
|
3497
|
-
faceImageUrl: 'FaceImageUrl',
|
|
3498
|
-
faceMask: 'FaceMask',
|
|
3499
|
-
idCardName: 'IdCardName',
|
|
3500
|
-
faceQuality: 'FaceQuality',
|
|
3501
|
-
videoUrls: 'VideoUrls',
|
|
3502
|
-
idCardInfo: 'IdCardInfo',
|
|
1301
|
+
certifyId: 'CertifyId',
|
|
1302
|
+
certifyUrl: 'CertifyUrl',
|
|
3503
1303
|
};
|
|
3504
1304
|
}
|
|
3505
1305
|
static types() {
|
|
3506
1306
|
return {
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
faceImageUrl: 'string',
|
|
3510
|
-
faceMask: 'boolean',
|
|
3511
|
-
idCardName: 'string',
|
|
3512
|
-
faceQuality: 'string',
|
|
3513
|
-
videoUrls: { 'type': 'array', 'itemType': 'string' },
|
|
3514
|
-
idCardInfo: DescribeVerifyResultResponseBodyMaterialIdCardInfo,
|
|
1307
|
+
certifyId: 'string',
|
|
1308
|
+
certifyUrl: 'string',
|
|
3515
1309
|
};
|
|
3516
1310
|
}
|
|
3517
1311
|
}
|
|
3518
|
-
exports.
|
|
3519
|
-
class
|
|
1312
|
+
exports.InitFaceVerifyResponseResultObject = InitFaceVerifyResponseResultObject;
|
|
1313
|
+
class LivenessFaceVerifyResponseResultObject extends $tea.Model {
|
|
3520
1314
|
constructor(map) {
|
|
3521
1315
|
super(map);
|
|
3522
1316
|
}
|
|
3523
1317
|
static names() {
|
|
3524
1318
|
return {
|
|
3525
|
-
|
|
3526
|
-
|
|
1319
|
+
certifyId: 'CertifyId',
|
|
1320
|
+
materialInfo: 'MaterialInfo',
|
|
1321
|
+
passed: 'Passed',
|
|
1322
|
+
subCode: 'SubCode',
|
|
3527
1323
|
};
|
|
3528
1324
|
}
|
|
3529
1325
|
static types() {
|
|
3530
1326
|
return {
|
|
3531
|
-
|
|
3532
|
-
|
|
1327
|
+
certifyId: 'string',
|
|
1328
|
+
materialInfo: 'string',
|
|
1329
|
+
passed: 'string',
|
|
1330
|
+
subCode: 'string',
|
|
3533
1331
|
};
|
|
3534
1332
|
}
|
|
3535
1333
|
}
|
|
3536
|
-
exports.
|
|
3537
|
-
class
|
|
1334
|
+
exports.LivenessFaceVerifyResponseResultObject = LivenessFaceVerifyResponseResultObject;
|
|
1335
|
+
class VerifyMaterialResponseMaterialIdCardInfo extends $tea.Model {
|
|
3538
1336
|
constructor(map) {
|
|
3539
1337
|
super(map);
|
|
3540
1338
|
}
|
|
3541
1339
|
static names() {
|
|
3542
1340
|
return {
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
fileNamePrefix: 'FileNamePrefix',
|
|
3554
|
-
bucketName: 'BucketName',
|
|
3555
|
-
accessKeySecret: 'AccessKeySecret',
|
|
3556
|
-
retMessageSub: 'RetMessageSub',
|
|
3557
|
-
retCode: 'RetCode',
|
|
1341
|
+
address: 'Address',
|
|
1342
|
+
authority: 'Authority',
|
|
1343
|
+
backImageUrl: 'BackImageUrl',
|
|
1344
|
+
birth: 'Birth',
|
|
1345
|
+
endDate: 'EndDate',
|
|
1346
|
+
frontImageUrl: 'FrontImageUrl',
|
|
1347
|
+
name: 'Name',
|
|
1348
|
+
nationality: 'Nationality',
|
|
1349
|
+
number: 'Number',
|
|
1350
|
+
startDate: 'StartDate',
|
|
3558
1351
|
};
|
|
3559
1352
|
}
|
|
3560
1353
|
static types() {
|
|
3561
1354
|
return {
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
fileNamePrefix: 'string',
|
|
3573
|
-
bucketName: 'string',
|
|
3574
|
-
accessKeySecret: 'string',
|
|
3575
|
-
retMessageSub: 'string',
|
|
3576
|
-
retCode: 'string',
|
|
1355
|
+
address: 'string',
|
|
1356
|
+
authority: 'string',
|
|
1357
|
+
backImageUrl: 'string',
|
|
1358
|
+
birth: 'string',
|
|
1359
|
+
endDate: 'string',
|
|
1360
|
+
frontImageUrl: 'string',
|
|
1361
|
+
name: 'string',
|
|
1362
|
+
nationality: 'string',
|
|
1363
|
+
number: 'string',
|
|
1364
|
+
startDate: 'string',
|
|
3577
1365
|
};
|
|
3578
1366
|
}
|
|
3579
1367
|
}
|
|
3580
|
-
exports.
|
|
3581
|
-
class
|
|
1368
|
+
exports.VerifyMaterialResponseMaterialIdCardInfo = VerifyMaterialResponseMaterialIdCardInfo;
|
|
1369
|
+
class VerifyMaterialResponseMaterial extends $tea.Model {
|
|
3582
1370
|
constructor(map) {
|
|
3583
1371
|
super(map);
|
|
3584
1372
|
}
|
|
3585
1373
|
static names() {
|
|
3586
1374
|
return {
|
|
3587
|
-
|
|
3588
|
-
|
|
1375
|
+
faceGlobalUrl: 'FaceGlobalUrl',
|
|
1376
|
+
faceImageUrl: 'FaceImageUrl',
|
|
1377
|
+
faceMask: 'FaceMask',
|
|
1378
|
+
faceQuality: 'FaceQuality',
|
|
1379
|
+
idCardName: 'IdCardName',
|
|
1380
|
+
idCardNumber: 'IdCardNumber',
|
|
1381
|
+
idCardInfo: 'IdCardInfo',
|
|
3589
1382
|
};
|
|
3590
1383
|
}
|
|
3591
1384
|
static types() {
|
|
3592
1385
|
return {
|
|
3593
|
-
|
|
3594
|
-
|
|
1386
|
+
faceGlobalUrl: 'string',
|
|
1387
|
+
faceImageUrl: 'string',
|
|
1388
|
+
faceMask: 'string',
|
|
1389
|
+
faceQuality: 'string',
|
|
1390
|
+
idCardName: 'string',
|
|
1391
|
+
idCardNumber: 'string',
|
|
1392
|
+
idCardInfo: VerifyMaterialResponseMaterialIdCardInfo,
|
|
3595
1393
|
};
|
|
3596
1394
|
}
|
|
3597
1395
|
}
|
|
3598
|
-
exports.
|
|
3599
|
-
class Client extends
|
|
1396
|
+
exports.VerifyMaterialResponseMaterial = VerifyMaterialResponseMaterial;
|
|
1397
|
+
class Client extends rpc_client_1.default {
|
|
3600
1398
|
constructor(config) {
|
|
3601
1399
|
super(config);
|
|
3602
1400
|
this._endpointRule = "central";
|
|
3603
1401
|
this.checkConfig(config);
|
|
3604
1402
|
this._endpoint = this.getEndpoint("cloudauth", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
3605
1403
|
}
|
|
3606
|
-
|
|
3607
|
-
if (!tea_util_1.default.empty(endpoint)) {
|
|
3608
|
-
return endpoint;
|
|
3609
|
-
}
|
|
3610
|
-
if (!tea_util_1.default.isUnset(endpointMap) && !tea_util_1.default.empty(endpointMap[regionId])) {
|
|
3611
|
-
return endpointMap[regionId];
|
|
3612
|
-
}
|
|
3613
|
-
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
3614
|
-
}
|
|
3615
|
-
async verifyMaterialWithOptions(request, runtime) {
|
|
3616
|
-
tea_util_1.default.validateModel(request);
|
|
3617
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
3618
|
-
body: tea_util_1.default.toMap(request),
|
|
3619
|
-
});
|
|
3620
|
-
return $tea.cast(await this.doRPCRequest("VerifyMaterial", "2019-03-07", "HTTPS", "POST", "AK", "json", req, runtime), new VerifyMaterialResponse({}));
|
|
3621
|
-
}
|
|
3622
|
-
async verifyMaterial(request) {
|
|
3623
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
3624
|
-
return await this.verifyMaterialWithOptions(request, runtime);
|
|
3625
|
-
}
|
|
3626
|
-
async describeWhitelistWithOptions(request, runtime) {
|
|
3627
|
-
tea_util_1.default.validateModel(request);
|
|
3628
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
3629
|
-
body: tea_util_1.default.toMap(request),
|
|
3630
|
-
});
|
|
3631
|
-
return $tea.cast(await this.doRPCRequest("DescribeWhitelist", "2019-03-07", "HTTPS", "POST", "AK", "json", req, runtime), new DescribeWhitelistResponse({}));
|
|
3632
|
-
}
|
|
3633
|
-
async describeWhitelist(request) {
|
|
3634
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
3635
|
-
return await this.describeWhitelistWithOptions(request, runtime);
|
|
3636
|
-
}
|
|
3637
|
-
async updateAppPackageWithOptions(request, runtime) {
|
|
3638
|
-
tea_util_1.default.validateModel(request);
|
|
3639
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
3640
|
-
body: tea_util_1.default.toMap(request),
|
|
3641
|
-
});
|
|
3642
|
-
return $tea.cast(await this.doRPCRequest("UpdateAppPackage", "2019-03-07", "HTTPS", "POST", "AK", "json", req, runtime), new UpdateAppPackageResponse({}));
|
|
3643
|
-
}
|
|
3644
|
-
async updateAppPackage(request) {
|
|
3645
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
3646
|
-
return await this.updateAppPackageWithOptions(request, runtime);
|
|
3647
|
-
}
|
|
3648
|
-
async describeVerifyTokenWithOptions(request, runtime) {
|
|
3649
|
-
tea_util_1.default.validateModel(request);
|
|
3650
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
3651
|
-
body: tea_util_1.default.toMap(request),
|
|
3652
|
-
});
|
|
3653
|
-
return $tea.cast(await this.doRPCRequest("DescribeVerifyToken", "2019-03-07", "HTTPS", "POST", "AK", "json", req, runtime), new DescribeVerifyTokenResponse({}));
|
|
3654
|
-
}
|
|
3655
|
-
async describeVerifyToken(request) {
|
|
3656
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
3657
|
-
return await this.describeVerifyTokenWithOptions(request, runtime);
|
|
3658
|
-
}
|
|
3659
|
-
async describeRPSDKWithOptions(request, runtime) {
|
|
3660
|
-
tea_util_1.default.validateModel(request);
|
|
3661
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
3662
|
-
body: tea_util_1.default.toMap(request),
|
|
3663
|
-
});
|
|
3664
|
-
return $tea.cast(await this.doRPCRequest("DescribeRPSDK", "2019-03-07", "HTTPS", "POST", "AK", "json", req, runtime), new DescribeRPSDKResponse({}));
|
|
3665
|
-
}
|
|
3666
|
-
async describeRPSDK(request) {
|
|
3667
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
3668
|
-
return await this.describeRPSDKWithOptions(request, runtime);
|
|
3669
|
-
}
|
|
3670
|
-
async describeFaceUsageWithOptions(request, runtime) {
|
|
3671
|
-
tea_util_1.default.validateModel(request);
|
|
3672
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
3673
|
-
body: tea_util_1.default.toMap(request),
|
|
3674
|
-
});
|
|
3675
|
-
return $tea.cast(await this.doRPCRequest("DescribeFaceUsage", "2019-03-07", "HTTPS", "POST", "AK", "json", req, runtime), new DescribeFaceUsageResponse({}));
|
|
3676
|
-
}
|
|
3677
|
-
async describeFaceUsage(request) {
|
|
3678
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
3679
|
-
return await this.describeFaceUsageWithOptions(request, runtime);
|
|
3680
|
-
}
|
|
3681
|
-
async describeVerifyUsageWithOptions(request, runtime) {
|
|
3682
|
-
tea_util_1.default.validateModel(request);
|
|
3683
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
3684
|
-
body: tea_util_1.default.toMap(request),
|
|
3685
|
-
});
|
|
3686
|
-
return $tea.cast(await this.doRPCRequest("DescribeVerifyUsage", "2019-03-07", "HTTPS", "POST", "AK", "json", req, runtime), new DescribeVerifyUsageResponse({}));
|
|
3687
|
-
}
|
|
3688
|
-
async describeVerifyUsage(request) {
|
|
3689
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
3690
|
-
return await this.describeVerifyUsageWithOptions(request, runtime);
|
|
3691
|
-
}
|
|
3692
|
-
async describeUpdatePackageResultWithOptions(request, runtime) {
|
|
3693
|
-
tea_util_1.default.validateModel(request);
|
|
3694
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
3695
|
-
body: tea_util_1.default.toMap(request),
|
|
3696
|
-
});
|
|
3697
|
-
return $tea.cast(await this.doRPCRequest("DescribeUpdatePackageResult", "2019-03-07", "HTTPS", "POST", "AK", "json", req, runtime), new DescribeUpdatePackageResultResponse({}));
|
|
3698
|
-
}
|
|
3699
|
-
async describeUpdatePackageResult(request) {
|
|
3700
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
3701
|
-
return await this.describeUpdatePackageResultWithOptions(request, runtime);
|
|
3702
|
-
}
|
|
3703
|
-
async createWhitelistWithOptions(request, runtime) {
|
|
3704
|
-
tea_util_1.default.validateModel(request);
|
|
3705
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
3706
|
-
body: tea_util_1.default.toMap(request),
|
|
3707
|
-
});
|
|
3708
|
-
return $tea.cast(await this.doRPCRequest("CreateWhitelist", "2019-03-07", "HTTPS", "POST", "AK", "json", req, runtime), new CreateWhitelistResponse({}));
|
|
3709
|
-
}
|
|
3710
|
-
async createWhitelist(request) {
|
|
3711
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
3712
|
-
return await this.createWhitelistWithOptions(request, runtime);
|
|
3713
|
-
}
|
|
3714
|
-
async deleteWhitelistWithOptions(request, runtime) {
|
|
3715
|
-
tea_util_1.default.validateModel(request);
|
|
3716
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
3717
|
-
body: tea_util_1.default.toMap(request),
|
|
3718
|
-
});
|
|
3719
|
-
return $tea.cast(await this.doRPCRequest("DeleteWhitelist", "2019-03-07", "HTTPS", "POST", "AK", "json", req, runtime), new DeleteWhitelistResponse({}));
|
|
3720
|
-
}
|
|
3721
|
-
async deleteWhitelist(request) {
|
|
3722
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
3723
|
-
return await this.deleteWhitelistWithOptions(request, runtime);
|
|
3724
|
-
}
|
|
3725
|
-
async createAuthKeyWithOptions(request, runtime) {
|
|
3726
|
-
tea_util_1.default.validateModel(request);
|
|
3727
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
3728
|
-
body: tea_util_1.default.toMap(request),
|
|
3729
|
-
});
|
|
3730
|
-
return $tea.cast(await this.doRPCRequest("CreateAuthKey", "2019-03-07", "HTTPS", "POST", "AK", "json", req, runtime), new CreateAuthKeyResponse({}));
|
|
3731
|
-
}
|
|
3732
|
-
async createAuthKey(request) {
|
|
3733
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
3734
|
-
return await this.createAuthKeyWithOptions(request, runtime);
|
|
3735
|
-
}
|
|
3736
|
-
async describeUploadInfoWithOptions(request, runtime) {
|
|
3737
|
-
tea_util_1.default.validateModel(request);
|
|
3738
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
3739
|
-
body: tea_util_1.default.toMap(request),
|
|
3740
|
-
});
|
|
3741
|
-
return $tea.cast(await this.doRPCRequest("DescribeUploadInfo", "2019-03-07", "HTTPS", "POST", "AK", "json", req, runtime), new DescribeUploadInfoResponse({}));
|
|
3742
|
-
}
|
|
3743
|
-
async describeUploadInfo(request) {
|
|
3744
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
3745
|
-
return await this.describeUploadInfoWithOptions(request, runtime);
|
|
3746
|
-
}
|
|
3747
|
-
async describeVerifySettingWithOptions(runtime) {
|
|
3748
|
-
let req = new $OpenApi.OpenApiRequest({});
|
|
3749
|
-
return $tea.cast(await this.doRPCRequest("DescribeVerifySetting", "2019-03-07", "HTTPS", "POST", "AK", "json", req, runtime), new DescribeVerifySettingResponse({}));
|
|
3750
|
-
}
|
|
3751
|
-
async describeVerifySetting() {
|
|
3752
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
3753
|
-
return await this.describeVerifySettingWithOptions(runtime);
|
|
3754
|
-
}
|
|
3755
|
-
async describeVerifyRecordsWithOptions(request, runtime) {
|
|
3756
|
-
tea_util_1.default.validateModel(request);
|
|
3757
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
3758
|
-
body: tea_util_1.default.toMap(request),
|
|
3759
|
-
});
|
|
3760
|
-
return $tea.cast(await this.doRPCRequest("DescribeVerifyRecords", "2019-03-07", "HTTPS", "POST", "AK", "json", req, runtime), new DescribeVerifyRecordsResponse({}));
|
|
3761
|
-
}
|
|
3762
|
-
async describeVerifyRecords(request) {
|
|
3763
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
3764
|
-
return await this.describeVerifyRecordsWithOptions(request, runtime);
|
|
3765
|
-
}
|
|
3766
|
-
async describeWhitelistSettingWithOptions(request, runtime) {
|
|
3767
|
-
tea_util_1.default.validateModel(request);
|
|
3768
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
3769
|
-
body: tea_util_1.default.toMap(request),
|
|
3770
|
-
});
|
|
3771
|
-
return $tea.cast(await this.doRPCRequest("DescribeWhitelistSetting", "2019-03-07", "HTTPS", "POST", "AK", "json", req, runtime), new DescribeWhitelistSettingResponse({}));
|
|
3772
|
-
}
|
|
3773
|
-
async describeWhitelistSetting(request) {
|
|
3774
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
3775
|
-
return await this.describeWhitelistSettingWithOptions(request, runtime);
|
|
3776
|
-
}
|
|
3777
|
-
async createRPSDKWithOptions(request, runtime) {
|
|
3778
|
-
tea_util_1.default.validateModel(request);
|
|
3779
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
3780
|
-
body: tea_util_1.default.toMap(request),
|
|
3781
|
-
});
|
|
3782
|
-
return $tea.cast(await this.doRPCRequest("CreateRPSDK", "2019-03-07", "HTTPS", "POST", "AK", "json", req, runtime), new CreateRPSDKResponse({}));
|
|
3783
|
-
}
|
|
3784
|
-
async createRPSDK(request) {
|
|
3785
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
3786
|
-
return await this.createRPSDKWithOptions(request, runtime);
|
|
3787
|
-
}
|
|
3788
|
-
async updateFaceConfigWithOptions(request, runtime) {
|
|
3789
|
-
tea_util_1.default.validateModel(request);
|
|
3790
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
3791
|
-
body: tea_util_1.default.toMap(request),
|
|
3792
|
-
});
|
|
3793
|
-
return $tea.cast(await this.doRPCRequest("UpdateFaceConfig", "2019-03-07", "HTTPS", "POST", "AK", "json", req, runtime), new UpdateFaceConfigResponse({}));
|
|
3794
|
-
}
|
|
3795
|
-
async updateFaceConfig(request) {
|
|
3796
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
3797
|
-
return await this.updateFaceConfigWithOptions(request, runtime);
|
|
3798
|
-
}
|
|
3799
|
-
async describeFaceConfigWithOptions(request, runtime) {
|
|
3800
|
-
tea_util_1.default.validateModel(request);
|
|
3801
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
3802
|
-
body: tea_util_1.default.toMap(request),
|
|
3803
|
-
});
|
|
3804
|
-
return $tea.cast(await this.doRPCRequest("DescribeFaceConfig", "2019-03-07", "HTTPS", "POST", "AK", "json", req, runtime), new DescribeFaceConfigResponse({}));
|
|
3805
|
-
}
|
|
3806
|
-
async describeFaceConfig(request) {
|
|
3807
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
3808
|
-
return await this.describeFaceConfigWithOptions(request, runtime);
|
|
3809
|
-
}
|
|
3810
|
-
async livenessFaceVerifyWithOptions(request, runtime) {
|
|
1404
|
+
async compareFaceVerify(request, runtime) {
|
|
3811
1405
|
tea_util_1.default.validateModel(request);
|
|
3812
|
-
|
|
3813
|
-
body: tea_util_1.default.toMap(request),
|
|
3814
|
-
});
|
|
3815
|
-
return $tea.cast(await this.doRPCRequest("LivenessFaceVerify", "2019-03-07", "HTTPS", "POST", "AK", "json", req, runtime), new LivenessFaceVerifyResponse({}));
|
|
3816
|
-
}
|
|
3817
|
-
async livenessFaceVerify(request) {
|
|
3818
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
3819
|
-
return await this.livenessFaceVerifyWithOptions(request, runtime);
|
|
3820
|
-
}
|
|
3821
|
-
async describeAppInfoWithOptions(request, runtime) {
|
|
3822
|
-
tea_util_1.default.validateModel(request);
|
|
3823
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
3824
|
-
body: tea_util_1.default.toMap(request),
|
|
3825
|
-
});
|
|
3826
|
-
return $tea.cast(await this.doRPCRequest("DescribeAppInfo", "2019-03-07", "HTTPS", "POST", "AK", "json", req, runtime), new DescribeAppInfoResponse({}));
|
|
1406
|
+
return $tea.cast(await this.doRequest("CompareFaceVerify", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new CompareFaceVerifyResponse({}));
|
|
3827
1407
|
}
|
|
3828
|
-
async
|
|
1408
|
+
async compareFaceVerifySimply(request) {
|
|
3829
1409
|
let runtime = new $Util.RuntimeOptions({});
|
|
3830
|
-
return await this.
|
|
1410
|
+
return await this.compareFaceVerify(request, runtime);
|
|
3831
1411
|
}
|
|
3832
|
-
async
|
|
1412
|
+
async compareFaces(request, runtime) {
|
|
3833
1413
|
tea_util_1.default.validateModel(request);
|
|
3834
|
-
|
|
3835
|
-
body: tea_util_1.default.toMap(request),
|
|
3836
|
-
});
|
|
3837
|
-
return $tea.cast(await this.doRPCRequest("ModifyDeviceInfo", "2019-03-07", "HTTPS", "POST", "AK", "json", req, runtime), new ModifyDeviceInfoResponse({}));
|
|
1414
|
+
return $tea.cast(await this.doRequest("CompareFaces", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new CompareFacesResponse({}));
|
|
3838
1415
|
}
|
|
3839
|
-
async
|
|
1416
|
+
async compareFacesSimply(request) {
|
|
3840
1417
|
let runtime = new $Util.RuntimeOptions({});
|
|
3841
|
-
return await this.
|
|
1418
|
+
return await this.compareFaces(request, runtime);
|
|
3842
1419
|
}
|
|
3843
|
-
async
|
|
1420
|
+
async contrastFaceVerify(request, runtime) {
|
|
3844
1421
|
tea_util_1.default.validateModel(request);
|
|
3845
|
-
|
|
3846
|
-
body: tea_util_1.default.toMap(request),
|
|
3847
|
-
});
|
|
3848
|
-
return $tea.cast(await this.doRPCRequest("ContrastFaceVerify", "2019-03-07", "HTTPS", "POST", "AK", "json", req, runtime), new ContrastFaceVerifyResponse({}));
|
|
1422
|
+
return $tea.cast(await this.doRequest("ContrastFaceVerify", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new ContrastFaceVerifyResponse({}));
|
|
3849
1423
|
}
|
|
3850
|
-
async
|
|
1424
|
+
async contrastFaceVerifySimply(request) {
|
|
3851
1425
|
let runtime = new $Util.RuntimeOptions({});
|
|
3852
|
-
return await this.
|
|
1426
|
+
return await this.contrastFaceVerify(request, runtime);
|
|
3853
1427
|
}
|
|
3854
1428
|
async contrastFaceVerifyAdvance(request, runtime) {
|
|
3855
1429
|
// Step 0: init client
|
|
3856
1430
|
let accessKeyId = await this._credential.getAccessKeyId();
|
|
3857
1431
|
let accessKeySecret = await this._credential.getAccessKeySecret();
|
|
1432
|
+
let openPlatformEndpoint = this._openPlatformEndpoint;
|
|
3858
1433
|
let securityToken = await this._credential.getSecurityToken();
|
|
3859
1434
|
let credentialType = this._credential.getType();
|
|
3860
|
-
let openPlatformEndpoint = this._openPlatformEndpoint;
|
|
3861
1435
|
if (tea_util_1.default.isUnset(openPlatformEndpoint)) {
|
|
3862
1436
|
openPlatformEndpoint = "openplatform.aliyuncs.com";
|
|
3863
1437
|
}
|
|
@@ -3890,13 +1464,13 @@ class Client extends openapi_client_1.default {
|
|
|
3890
1464
|
let ossHeader = new $OSS.PostObjectRequestHeader({});
|
|
3891
1465
|
let uploadRequest = new $OSS.PostObjectRequest({});
|
|
3892
1466
|
let ossRuntime = new $OSSUtil.RuntimeOptions({});
|
|
3893
|
-
|
|
1467
|
+
rpc_util_1.default.convert(runtime, ossRuntime);
|
|
3894
1468
|
let contrastFaceVerifyReq = new ContrastFaceVerifyRequest({});
|
|
3895
|
-
|
|
1469
|
+
rpc_util_1.default.convert(request, contrastFaceVerifyReq);
|
|
3896
1470
|
if (!tea_util_1.default.isUnset(request.faceContrastFileObject)) {
|
|
3897
1471
|
authResponse = await authClient.authorizeFileUploadWithOptions(authRequest, runtime);
|
|
3898
1472
|
ossConfig.accessKeyId = authResponse.accessKeyId;
|
|
3899
|
-
ossConfig.endpoint =
|
|
1473
|
+
ossConfig.endpoint = rpc_util_1.default.getEndpoint(authResponse.endpoint, authResponse.useAccelerate, this._endpointType);
|
|
3900
1474
|
ossClient = new oss_client_1.default(ossConfig);
|
|
3901
1475
|
fileObj = new $FileForm.FileField({
|
|
3902
1476
|
filename: authResponse.objectKey,
|
|
@@ -3918,211 +1492,121 @@ class Client extends openapi_client_1.default {
|
|
|
3918
1492
|
await ossClient.postObject(uploadRequest, ossRuntime);
|
|
3919
1493
|
contrastFaceVerifyReq.faceContrastFile = `http://${authResponse.bucket}.${authResponse.endpoint}/${authResponse.objectKey}`;
|
|
3920
1494
|
}
|
|
3921
|
-
let contrastFaceVerifyResp = await this.
|
|
1495
|
+
let contrastFaceVerifyResp = await this.contrastFaceVerify(contrastFaceVerifyReq, runtime);
|
|
3922
1496
|
return contrastFaceVerifyResp;
|
|
3923
1497
|
}
|
|
3924
|
-
async
|
|
3925
|
-
tea_util_1.default.validateModel(request);
|
|
3926
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
3927
|
-
body: tea_util_1.default.toMap(request),
|
|
3928
|
-
});
|
|
3929
|
-
return $tea.cast(await this.doRPCRequest("VerifyDevice", "2019-03-07", "HTTPS", "POST", "AK", "json", req, runtime), new VerifyDeviceResponse({}));
|
|
3930
|
-
}
|
|
3931
|
-
async verifyDevice(request) {
|
|
3932
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
3933
|
-
return await this.verifyDeviceWithOptions(request, runtime);
|
|
3934
|
-
}
|
|
3935
|
-
async compareFaceVerifyWithOptions(request, runtime) {
|
|
3936
|
-
tea_util_1.default.validateModel(request);
|
|
3937
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
3938
|
-
body: tea_util_1.default.toMap(request),
|
|
3939
|
-
});
|
|
3940
|
-
return $tea.cast(await this.doRPCRequest("CompareFaceVerify", "2019-03-07", "HTTPS", "POST", "AK", "json", req, runtime), new CompareFaceVerifyResponse({}));
|
|
3941
|
-
}
|
|
3942
|
-
async compareFaceVerify(request) {
|
|
3943
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
3944
|
-
return await this.compareFaceVerifyWithOptions(request, runtime);
|
|
3945
|
-
}
|
|
3946
|
-
async describeVerifySDKWithOptions(request, runtime) {
|
|
3947
|
-
tea_util_1.default.validateModel(request);
|
|
3948
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
3949
|
-
body: tea_util_1.default.toMap(request),
|
|
3950
|
-
});
|
|
3951
|
-
return $tea.cast(await this.doRPCRequest("DescribeVerifySDK", "2019-03-07", "HTTPS", "POST", "AK", "json", req, runtime), new DescribeVerifySDKResponse({}));
|
|
3952
|
-
}
|
|
3953
|
-
async describeVerifySDK(request) {
|
|
3954
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
3955
|
-
return await this.describeVerifySDKWithOptions(request, runtime);
|
|
3956
|
-
}
|
|
3957
|
-
async describeDeviceInfoWithOptions(request, runtime) {
|
|
1498
|
+
async createAuthKey(request, runtime) {
|
|
3958
1499
|
tea_util_1.default.validateModel(request);
|
|
3959
|
-
|
|
3960
|
-
body: tea_util_1.default.toMap(request),
|
|
3961
|
-
});
|
|
3962
|
-
return $tea.cast(await this.doRPCRequest("DescribeDeviceInfo", "2019-03-07", "HTTPS", "POST", "AK", "json", req, runtime), new DescribeDeviceInfoResponse({}));
|
|
1500
|
+
return $tea.cast(await this.doRequest("CreateAuthKey", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new CreateAuthKeyResponse({}));
|
|
3963
1501
|
}
|
|
3964
|
-
async
|
|
1502
|
+
async createAuthKeySimply(request) {
|
|
3965
1503
|
let runtime = new $Util.RuntimeOptions({});
|
|
3966
|
-
return await this.
|
|
1504
|
+
return await this.createAuthKey(request, runtime);
|
|
3967
1505
|
}
|
|
3968
|
-
async
|
|
1506
|
+
async createVerifySetting(request, runtime) {
|
|
3969
1507
|
tea_util_1.default.validateModel(request);
|
|
3970
|
-
|
|
3971
|
-
body: tea_util_1.default.toMap(request),
|
|
3972
|
-
});
|
|
3973
|
-
return $tea.cast(await this.doRPCRequest("DescribeFaceVerify", "2019-03-07", "HTTPS", "POST", "AK", "json", req, runtime), new DescribeFaceVerifyResponse({}));
|
|
3974
|
-
}
|
|
3975
|
-
async describeFaceVerify(request) {
|
|
3976
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
3977
|
-
return await this.describeFaceVerifyWithOptions(request, runtime);
|
|
3978
|
-
}
|
|
3979
|
-
async describeOssUploadTokenWithOptions(runtime) {
|
|
3980
|
-
let req = new $OpenApi.OpenApiRequest({});
|
|
3981
|
-
return $tea.cast(await this.doRPCRequest("DescribeOssUploadToken", "2019-03-07", "HTTPS", "POST", "AK", "json", req, runtime), new DescribeOssUploadTokenResponse({}));
|
|
1508
|
+
return $tea.cast(await this.doRequest("CreateVerifySetting", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new CreateVerifySettingResponse({}));
|
|
3982
1509
|
}
|
|
3983
|
-
async
|
|
1510
|
+
async createVerifySettingSimply(request) {
|
|
3984
1511
|
let runtime = new $Util.RuntimeOptions({});
|
|
3985
|
-
return await this.
|
|
1512
|
+
return await this.createVerifySetting(request, runtime);
|
|
3986
1513
|
}
|
|
3987
|
-
async
|
|
1514
|
+
async describeDeviceInfo(request, runtime) {
|
|
3988
1515
|
tea_util_1.default.validateModel(request);
|
|
3989
|
-
|
|
3990
|
-
body: tea_util_1.default.toMap(request),
|
|
3991
|
-
});
|
|
3992
|
-
return $tea.cast(await this.doRPCRequest("DetectFaceAttributes", "2019-03-07", "HTTPS", "POST", "AK", "json", req, runtime), new DetectFaceAttributesResponse({}));
|
|
1516
|
+
return $tea.cast(await this.doRequest("DescribeDeviceInfo", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DescribeDeviceInfoResponse({}));
|
|
3993
1517
|
}
|
|
3994
|
-
async
|
|
1518
|
+
async describeDeviceInfoSimply(request) {
|
|
3995
1519
|
let runtime = new $Util.RuntimeOptions({});
|
|
3996
|
-
return await this.
|
|
1520
|
+
return await this.describeDeviceInfo(request, runtime);
|
|
3997
1521
|
}
|
|
3998
|
-
async
|
|
1522
|
+
async describeFaceVerify(request, runtime) {
|
|
3999
1523
|
tea_util_1.default.validateModel(request);
|
|
4000
|
-
|
|
4001
|
-
body: tea_util_1.default.toMap(request),
|
|
4002
|
-
});
|
|
4003
|
-
return $tea.cast(await this.doRPCRequest("DescribeSdkUrl", "2019-03-07", "HTTPS", "POST", "AK", "json", req, runtime), new DescribeSdkUrlResponse({}));
|
|
1524
|
+
return $tea.cast(await this.doRequest("DescribeFaceVerify", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DescribeFaceVerifyResponse({}));
|
|
4004
1525
|
}
|
|
4005
|
-
async
|
|
1526
|
+
async describeFaceVerifySimply(request) {
|
|
4006
1527
|
let runtime = new $Util.RuntimeOptions({});
|
|
4007
|
-
return await this.
|
|
1528
|
+
return await this.describeFaceVerify(request, runtime);
|
|
4008
1529
|
}
|
|
4009
|
-
async
|
|
1530
|
+
async describeOssUploadToken(request, runtime) {
|
|
4010
1531
|
tea_util_1.default.validateModel(request);
|
|
4011
|
-
|
|
4012
|
-
body: tea_util_1.default.toMap(request),
|
|
4013
|
-
});
|
|
4014
|
-
return $tea.cast(await this.doRPCRequest("DeleteWhitelistSetting", "2019-03-07", "HTTPS", "POST", "AK", "json", req, runtime), new DeleteWhitelistSettingResponse({}));
|
|
1532
|
+
return $tea.cast(await this.doRequest("DescribeOssUploadToken", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DescribeOssUploadTokenResponse({}));
|
|
4015
1533
|
}
|
|
4016
|
-
async
|
|
1534
|
+
async describeOssUploadTokenSimply(request) {
|
|
4017
1535
|
let runtime = new $Util.RuntimeOptions({});
|
|
4018
|
-
return await this.
|
|
1536
|
+
return await this.describeOssUploadToken(request, runtime);
|
|
4019
1537
|
}
|
|
4020
|
-
async
|
|
1538
|
+
async describeVerifyResult(request, runtime) {
|
|
4021
1539
|
tea_util_1.default.validateModel(request);
|
|
4022
|
-
|
|
4023
|
-
body: tea_util_1.default.toMap(request),
|
|
4024
|
-
});
|
|
4025
|
-
return $tea.cast(await this.doRPCRequest("UpdateVerifySetting", "2019-03-07", "HTTPS", "POST", "AK", "json", req, runtime), new UpdateVerifySettingResponse({}));
|
|
1540
|
+
return $tea.cast(await this.doRequest("DescribeVerifyResult", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DescribeVerifyResultResponse({}));
|
|
4026
1541
|
}
|
|
4027
|
-
async
|
|
1542
|
+
async describeVerifyResultSimply(request) {
|
|
4028
1543
|
let runtime = new $Util.RuntimeOptions({});
|
|
4029
|
-
return await this.
|
|
1544
|
+
return await this.describeVerifyResult(request, runtime);
|
|
4030
1545
|
}
|
|
4031
|
-
async
|
|
1546
|
+
async describeVerifySDK(request, runtime) {
|
|
4032
1547
|
tea_util_1.default.validateModel(request);
|
|
4033
|
-
|
|
4034
|
-
body: tea_util_1.default.toMap(request),
|
|
4035
|
-
});
|
|
4036
|
-
return $tea.cast(await this.doRPCRequest("DescribeVerifyResult", "2019-03-07", "HTTPS", "POST", "AK", "json", req, runtime), new DescribeVerifyResultResponse({}));
|
|
1548
|
+
return $tea.cast(await this.doRequest("DescribeVerifySDK", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DescribeVerifySDKResponse({}));
|
|
4037
1549
|
}
|
|
4038
|
-
async
|
|
1550
|
+
async describeVerifySDKSimply(request) {
|
|
4039
1551
|
let runtime = new $Util.RuntimeOptions({});
|
|
4040
|
-
return await this.
|
|
1552
|
+
return await this.describeVerifySDK(request, runtime);
|
|
4041
1553
|
}
|
|
4042
|
-
async
|
|
1554
|
+
async describeVerifyToken(request, runtime) {
|
|
4043
1555
|
tea_util_1.default.validateModel(request);
|
|
4044
|
-
|
|
4045
|
-
body: tea_util_1.default.toMap(request),
|
|
4046
|
-
});
|
|
4047
|
-
return $tea.cast(await this.doRPCRequest("CompareFaces", "2019-03-07", "HTTPS", "POST", "AK", "json", req, runtime), new CompareFacesResponse({}));
|
|
1556
|
+
return $tea.cast(await this.doRequest("DescribeVerifyToken", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DescribeVerifyTokenResponse({}));
|
|
4048
1557
|
}
|
|
4049
|
-
async
|
|
1558
|
+
async describeVerifyTokenSimply(request) {
|
|
4050
1559
|
let runtime = new $Util.RuntimeOptions({});
|
|
4051
|
-
return await this.
|
|
1560
|
+
return await this.describeVerifyToken(request, runtime);
|
|
4052
1561
|
}
|
|
4053
|
-
async
|
|
1562
|
+
async detectFaceAttributes(request, runtime) {
|
|
4054
1563
|
tea_util_1.default.validateModel(request);
|
|
4055
|
-
|
|
4056
|
-
body: tea_util_1.default.toMap(request),
|
|
4057
|
-
});
|
|
4058
|
-
return $tea.cast(await this.doRPCRequest("CreateFaceConfig", "2019-03-07", "HTTPS", "POST", "AK", "json", req, runtime), new CreateFaceConfigResponse({}));
|
|
1564
|
+
return $tea.cast(await this.doRequest("DetectFaceAttributes", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DetectFaceAttributesResponse({}));
|
|
4059
1565
|
}
|
|
4060
|
-
async
|
|
1566
|
+
async detectFaceAttributesSimply(request) {
|
|
4061
1567
|
let runtime = new $Util.RuntimeOptions({});
|
|
4062
|
-
return await this.
|
|
1568
|
+
return await this.detectFaceAttributes(request, runtime);
|
|
4063
1569
|
}
|
|
4064
|
-
async
|
|
1570
|
+
async initFaceVerify(request, runtime) {
|
|
4065
1571
|
tea_util_1.default.validateModel(request);
|
|
4066
|
-
|
|
4067
|
-
body: tea_util_1.default.toMap(request),
|
|
4068
|
-
});
|
|
4069
|
-
return $tea.cast(await this.doRPCRequest("CreateVerifySDK", "2019-03-07", "HTTPS", "POST", "AK", "json", req, runtime), new CreateVerifySDKResponse({}));
|
|
1572
|
+
return $tea.cast(await this.doRequest("InitFaceVerify", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new InitFaceVerifyResponse({}));
|
|
4070
1573
|
}
|
|
4071
|
-
async
|
|
1574
|
+
async initFaceVerifySimply(request) {
|
|
4072
1575
|
let runtime = new $Util.RuntimeOptions({});
|
|
4073
|
-
return await this.
|
|
1576
|
+
return await this.initFaceVerify(request, runtime);
|
|
4074
1577
|
}
|
|
4075
|
-
async
|
|
1578
|
+
async livenessFaceVerify(request, runtime) {
|
|
4076
1579
|
tea_util_1.default.validateModel(request);
|
|
4077
|
-
|
|
4078
|
-
body: tea_util_1.default.toMap(request),
|
|
4079
|
-
});
|
|
4080
|
-
return $tea.cast(await this.doRPCRequest("InitDevice", "2019-03-07", "HTTPS", "POST", "AK", "json", req, runtime), new InitDeviceResponse({}));
|
|
1580
|
+
return $tea.cast(await this.doRequest("LivenessFaceVerify", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new LivenessFaceVerifyResponse({}));
|
|
4081
1581
|
}
|
|
4082
|
-
async
|
|
1582
|
+
async livenessFaceVerifySimply(request) {
|
|
4083
1583
|
let runtime = new $Util.RuntimeOptions({});
|
|
4084
|
-
return await this.
|
|
1584
|
+
return await this.livenessFaceVerify(request, runtime);
|
|
4085
1585
|
}
|
|
4086
|
-
async
|
|
1586
|
+
async modifyDeviceInfo(request, runtime) {
|
|
4087
1587
|
tea_util_1.default.validateModel(request);
|
|
4088
|
-
|
|
4089
|
-
body: tea_util_1.default.toMap(request),
|
|
4090
|
-
});
|
|
4091
|
-
return $tea.cast(await this.doRPCRequest("CreateWhitelistSetting", "2019-03-07", "HTTPS", "POST", "AK", "json", req, runtime), new CreateWhitelistSettingResponse({}));
|
|
1588
|
+
return $tea.cast(await this.doRequest("ModifyDeviceInfo", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new ModifyDeviceInfoResponse({}));
|
|
4092
1589
|
}
|
|
4093
|
-
async
|
|
1590
|
+
async modifyDeviceInfoSimply(request) {
|
|
4094
1591
|
let runtime = new $Util.RuntimeOptions({});
|
|
4095
|
-
return await this.
|
|
1592
|
+
return await this.modifyDeviceInfo(request, runtime);
|
|
4096
1593
|
}
|
|
4097
|
-
async
|
|
4098
|
-
let req = new $OpenApi.OpenApiRequest({});
|
|
4099
|
-
return $tea.cast(await this.doRPCRequest("DescribeUserStatus", "2019-03-07", "HTTPS", "POST", "AK", "json", req, runtime), new DescribeUserStatusResponse({}));
|
|
4100
|
-
}
|
|
4101
|
-
async describeUserStatus() {
|
|
4102
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
4103
|
-
return await this.describeUserStatusWithOptions(runtime);
|
|
4104
|
-
}
|
|
4105
|
-
async createVerifySettingWithOptions(request, runtime) {
|
|
1594
|
+
async verifyMaterial(request, runtime) {
|
|
4106
1595
|
tea_util_1.default.validateModel(request);
|
|
4107
|
-
|
|
4108
|
-
body: tea_util_1.default.toMap(request),
|
|
4109
|
-
});
|
|
4110
|
-
return $tea.cast(await this.doRPCRequest("CreateVerifySetting", "2019-03-07", "HTTPS", "POST", "AK", "json", req, runtime), new CreateVerifySettingResponse({}));
|
|
1596
|
+
return $tea.cast(await this.doRequest("VerifyMaterial", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new VerifyMaterialResponse({}));
|
|
4111
1597
|
}
|
|
4112
|
-
async
|
|
1598
|
+
async verifyMaterialSimply(request) {
|
|
4113
1599
|
let runtime = new $Util.RuntimeOptions({});
|
|
4114
|
-
return await this.
|
|
1600
|
+
return await this.verifyMaterial(request, runtime);
|
|
4115
1601
|
}
|
|
4116
|
-
|
|
4117
|
-
tea_util_1.default.
|
|
4118
|
-
|
|
4119
|
-
|
|
4120
|
-
|
|
4121
|
-
|
|
4122
|
-
|
|
4123
|
-
|
|
4124
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
4125
|
-
return await this.initFaceVerifyWithOptions(request, runtime);
|
|
1602
|
+
getEndpoint(productId, regionId, endpointRule, network, suffix, endpointMap, endpoint) {
|
|
1603
|
+
if (!tea_util_1.default.empty(endpoint)) {
|
|
1604
|
+
return endpoint;
|
|
1605
|
+
}
|
|
1606
|
+
if (!tea_util_1.default.isUnset(endpointMap) && !tea_util_1.default.empty(endpointMap[regionId])) {
|
|
1607
|
+
return endpointMap[regionId];
|
|
1608
|
+
}
|
|
1609
|
+
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
4126
1610
|
}
|
|
4127
1611
|
}
|
|
4128
1612
|
exports.default = Client;
|