@alicloud/cloudauth20190307 2.0.0 → 2.0.3

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 CHANGED
@@ -6,12 +6,21 @@ import * as $Util from '@alicloud/tea-util';
6
6
  import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
7
7
  import { Readable } from 'stream';
8
8
  import * as $tea from '@alicloud/tea-typescript';
9
- export declare class CompareFacesRequest extends $tea.Model {
10
- targetImageType?: string;
11
- sourceImageType?: string;
12
- sourceImageValue?: string;
13
- targetImageValue?: string;
14
- bizType?: string;
9
+ export declare class CompareFaceVerifyRequest extends $tea.Model {
10
+ crop?: string;
11
+ outerOrderNo?: string;
12
+ productCode?: string;
13
+ sceneId?: number;
14
+ sourceCertifyId?: string;
15
+ sourceFaceContrastPicture?: string;
16
+ sourceFaceContrastPictureUrl?: string;
17
+ sourceOssBucketName?: string;
18
+ sourceOssObjectName?: string;
19
+ targetCertifyId?: string;
20
+ targetFaceContrastPicture?: string;
21
+ targetFaceContrastPictureUrl?: string;
22
+ targetOssBucketName?: string;
23
+ targetOssObjectName?: string;
15
24
  static names(): {
16
25
  [key: string]: string;
17
26
  };
@@ -22,12 +31,11 @@ export declare class CompareFacesRequest extends $tea.Model {
22
31
  [key: string]: any;
23
32
  });
24
33
  }
25
- export declare class CompareFacesResponseBody extends $tea.Model {
34
+ export declare class CompareFaceVerifyResponseBody extends $tea.Model {
35
+ code?: string;
26
36
  message?: string;
27
37
  requestId?: string;
28
- data?: CompareFacesResponseBodyData;
29
- code?: string;
30
- success?: boolean;
38
+ resultObject?: CompareFaceVerifyResponseBodyResultObject;
31
39
  static names(): {
32
40
  [key: string]: string;
33
41
  };
@@ -38,11 +46,12 @@ export declare class CompareFacesResponseBody extends $tea.Model {
38
46
  [key: string]: any;
39
47
  });
40
48
  }
41
- export declare class CompareFacesResponse extends $tea.Model {
49
+ export declare class CompareFaceVerifyResponse extends $tea.Model {
42
50
  headers: {
43
51
  [key: string]: string;
44
52
  };
45
- body: CompareFacesResponseBody;
53
+ statusCode: number;
54
+ body: CompareFaceVerifyResponseBody;
46
55
  static names(): {
47
56
  [key: string]: string;
48
57
  };
@@ -53,20 +62,11 @@ export declare class CompareFacesResponse extends $tea.Model {
53
62
  [key: string]: any;
54
63
  });
55
64
  }
56
- export declare class CompareFaceVerifyRequest extends $tea.Model {
57
- sceneId?: number;
58
- outerOrderNo?: string;
59
- productCode?: string;
60
- sourceFaceContrastPicture?: string;
61
- sourceFaceContrastPictureUrl?: string;
62
- sourceCertifyId?: string;
63
- sourceOssBucketName?: string;
64
- sourceOssObjectName?: string;
65
- targetFaceContrastPicture?: string;
66
- targetFaceContrastPictureUrl?: string;
67
- targetCertifyId?: string;
68
- targetOssBucketName?: string;
69
- targetOssObjectName?: string;
65
+ export declare class CompareFacesRequest extends $tea.Model {
66
+ sourceImageType?: string;
67
+ sourceImageValue?: string;
68
+ targetImageType?: string;
69
+ targetImageValue?: string;
70
70
  static names(): {
71
71
  [key: string]: string;
72
72
  };
@@ -77,11 +77,12 @@ export declare class CompareFaceVerifyRequest extends $tea.Model {
77
77
  [key: string]: any;
78
78
  });
79
79
  }
80
- export declare class CompareFaceVerifyResponseBody extends $tea.Model {
81
- resultObject?: CompareFaceVerifyResponseBodyResultObject;
80
+ export declare class CompareFacesResponseBody extends $tea.Model {
81
+ code?: string;
82
+ data?: CompareFacesResponseBodyData;
82
83
  message?: string;
83
84
  requestId?: string;
84
- code?: string;
85
+ success?: boolean;
85
86
  static names(): {
86
87
  [key: string]: string;
87
88
  };
@@ -92,11 +93,12 @@ export declare class CompareFaceVerifyResponseBody extends $tea.Model {
92
93
  [key: string]: any;
93
94
  });
94
95
  }
95
- export declare class CompareFaceVerifyResponse extends $tea.Model {
96
+ export declare class CompareFacesResponse extends $tea.Model {
96
97
  headers: {
97
98
  [key: string]: string;
98
99
  };
99
- body: CompareFaceVerifyResponseBody;
100
+ statusCode: number;
101
+ body: CompareFacesResponseBody;
100
102
  static names(): {
101
103
  [key: string]: string;
102
104
  };
@@ -108,23 +110,25 @@ export declare class CompareFaceVerifyResponse extends $tea.Model {
108
110
  });
109
111
  }
110
112
  export declare class ContrastFaceVerifyRequest extends $tea.Model {
111
- sceneId?: number;
112
- outerOrderNo?: string;
113
- productCode?: string;
114
- certType?: string;
115
113
  certName?: string;
116
114
  certNo?: string;
117
- faceContrastPicture?: string;
115
+ certType?: string;
116
+ certifyId?: string;
117
+ crop?: string;
118
118
  deviceToken?: string;
119
- mobile?: string;
120
- ip?: string;
121
- userId?: string;
119
+ encryptType?: string;
120
+ faceContrastFile?: string;
121
+ faceContrastPicture?: string;
122
122
  faceContrastPictureUrl?: string;
123
- certifyId?: string;
123
+ ip?: string;
124
+ mobile?: string;
125
+ model?: string;
124
126
  ossBucketName?: string;
125
127
  ossObjectName?: string;
126
- model?: string;
127
- faceContrastFile?: string;
128
+ outerOrderNo?: string;
129
+ productCode?: string;
130
+ sceneId?: number;
131
+ userId?: string;
128
132
  static names(): {
129
133
  [key: string]: string;
130
134
  };
@@ -137,22 +141,24 @@ export declare class ContrastFaceVerifyRequest extends $tea.Model {
137
141
  }
138
142
  export declare class ContrastFaceVerifyAdvanceRequest extends $tea.Model {
139
143
  faceContrastFileObject: Readable;
140
- sceneId?: number;
141
- outerOrderNo?: string;
142
- productCode?: string;
143
- certType?: string;
144
144
  certName?: string;
145
145
  certNo?: string;
146
- faceContrastPicture?: string;
146
+ certType?: string;
147
+ certifyId?: string;
148
+ crop?: string;
147
149
  deviceToken?: string;
148
- mobile?: string;
149
- ip?: string;
150
- userId?: string;
150
+ encryptType?: string;
151
+ faceContrastPicture?: string;
151
152
  faceContrastPictureUrl?: string;
152
- certifyId?: string;
153
+ ip?: string;
154
+ mobile?: string;
155
+ model?: string;
153
156
  ossBucketName?: string;
154
157
  ossObjectName?: string;
155
- model?: string;
158
+ outerOrderNo?: string;
159
+ productCode?: string;
160
+ sceneId?: number;
161
+ userId?: string;
156
162
  static names(): {
157
163
  [key: string]: string;
158
164
  };
@@ -164,10 +170,10 @@ export declare class ContrastFaceVerifyAdvanceRequest extends $tea.Model {
164
170
  });
165
171
  }
166
172
  export declare class ContrastFaceVerifyResponseBody extends $tea.Model {
167
- resultObject?: ContrastFaceVerifyResponseBodyResultObject;
173
+ code?: string;
168
174
  message?: string;
169
175
  requestId?: string;
170
- code?: string;
176
+ resultObject?: ContrastFaceVerifyResponseBodyResultObject;
171
177
  static names(): {
172
178
  [key: string]: string;
173
179
  };
@@ -182,6 +188,7 @@ export declare class ContrastFaceVerifyResponse extends $tea.Model {
182
188
  headers: {
183
189
  [key: string]: string;
184
190
  };
191
+ statusCode: number;
185
192
  body: ContrastFaceVerifyResponseBody;
186
193
  static names(): {
187
194
  [key: string]: string;
@@ -194,12 +201,10 @@ export declare class ContrastFaceVerifyResponse extends $tea.Model {
194
201
  });
195
202
  }
196
203
  export declare class CreateAuthKeyRequest extends $tea.Model {
197
- sourceIp?: string;
198
- lang?: string;
204
+ authYears?: number;
199
205
  bizType?: string;
200
- userDeviceId?: string;
201
206
  test?: boolean;
202
- authYears?: number;
207
+ userDeviceId?: string;
203
208
  static names(): {
204
209
  [key: string]: string;
205
210
  };
@@ -211,8 +216,8 @@ export declare class CreateAuthKeyRequest extends $tea.Model {
211
216
  });
212
217
  }
213
218
  export declare class CreateAuthKeyResponseBody extends $tea.Model {
214
- requestId?: string;
215
219
  authKey?: string;
220
+ requestId?: string;
216
221
  static names(): {
217
222
  [key: string]: string;
218
223
  };
@@ -227,6 +232,7 @@ export declare class CreateAuthKeyResponse extends $tea.Model {
227
232
  headers: {
228
233
  [key: string]: string;
229
234
  };
235
+ statusCode: number;
230
236
  body: CreateAuthKeyResponseBody;
231
237
  static names(): {
232
238
  [key: string]: string;
@@ -238,11 +244,13 @@ export declare class CreateAuthKeyResponse extends $tea.Model {
238
244
  [key: string]: any;
239
245
  });
240
246
  }
241
- export declare class CreateFaceConfigRequest extends $tea.Model {
242
- sourceIp?: string;
243
- lang?: string;
244
- bizType?: string;
247
+ export declare class CreateVerifySettingRequest extends $tea.Model {
245
248
  bizName?: string;
249
+ bizType?: string;
250
+ guideStep?: boolean;
251
+ privacyStep?: boolean;
252
+ resultStep?: boolean;
253
+ solution?: string;
246
254
  static names(): {
247
255
  [key: string]: string;
248
256
  };
@@ -253,8 +261,12 @@ export declare class CreateFaceConfigRequest extends $tea.Model {
253
261
  [key: string]: any;
254
262
  });
255
263
  }
256
- export declare class CreateFaceConfigResponseBody extends $tea.Model {
264
+ export declare class CreateVerifySettingResponseBody extends $tea.Model {
265
+ bizName?: string;
266
+ bizType?: string;
257
267
  requestId?: string;
268
+ solution?: string;
269
+ stepList?: string[];
258
270
  static names(): {
259
271
  [key: string]: string;
260
272
  };
@@ -265,11 +277,12 @@ export declare class CreateFaceConfigResponseBody extends $tea.Model {
265
277
  [key: string]: any;
266
278
  });
267
279
  }
268
- export declare class CreateFaceConfigResponse extends $tea.Model {
280
+ export declare class CreateVerifySettingResponse extends $tea.Model {
269
281
  headers: {
270
282
  [key: string]: string;
271
283
  };
272
- body: CreateFaceConfigResponseBody;
284
+ statusCode: number;
285
+ body: CreateVerifySettingResponseBody;
273
286
  static names(): {
274
287
  [key: string]: string;
275
288
  };
@@ -280,11 +293,14 @@ export declare class CreateFaceConfigResponse extends $tea.Model {
280
293
  [key: string]: any;
281
294
  });
282
295
  }
283
- export declare class CreateRPSDKRequest extends $tea.Model {
284
- sourceIp?: string;
285
- lang?: string;
286
- appUrl?: string;
287
- platform?: string;
296
+ export declare class DescribeDeviceInfoRequest extends $tea.Model {
297
+ bizType?: string;
298
+ currentPage?: number;
299
+ deviceId?: string;
300
+ expiredEndDay?: string;
301
+ expiredStartDay?: string;
302
+ pageSize?: number;
303
+ userDeviceId?: string;
288
304
  static names(): {
289
305
  [key: string]: string;
290
306
  };
@@ -295,9 +311,12 @@ export declare class CreateRPSDKRequest extends $tea.Model {
295
311
  [key: string]: any;
296
312
  });
297
313
  }
298
- export declare class CreateRPSDKResponseBody extends $tea.Model {
299
- taskId?: string;
314
+ export declare class DescribeDeviceInfoResponseBody extends $tea.Model {
315
+ currentPage?: number;
316
+ deviceInfoList?: DescribeDeviceInfoResponseBodyDeviceInfoList;
317
+ pageSize?: number;
300
318
  requestId?: string;
319
+ totalCount?: number;
301
320
  static names(): {
302
321
  [key: string]: string;
303
322
  };
@@ -308,11 +327,12 @@ export declare class CreateRPSDKResponseBody extends $tea.Model {
308
327
  [key: string]: any;
309
328
  });
310
329
  }
311
- export declare class CreateRPSDKResponse extends $tea.Model {
330
+ export declare class DescribeDeviceInfoResponse extends $tea.Model {
312
331
  headers: {
313
332
  [key: string]: string;
314
333
  };
315
- body: CreateRPSDKResponseBody;
334
+ statusCode: number;
335
+ body: DescribeDeviceInfoResponseBody;
316
336
  static names(): {
317
337
  [key: string]: string;
318
338
  };
@@ -323,11 +343,10 @@ export declare class CreateRPSDKResponse extends $tea.Model {
323
343
  [key: string]: any;
324
344
  });
325
345
  }
326
- export declare class CreateVerifySDKRequest extends $tea.Model {
327
- sourceIp?: string;
328
- lang?: string;
329
- appUrl?: string;
330
- platform?: string;
346
+ export declare class DescribeFaceVerifyRequest extends $tea.Model {
347
+ certifyId?: string;
348
+ pictureReturnType?: string;
349
+ sceneId?: number;
331
350
  static names(): {
332
351
  [key: string]: string;
333
352
  };
@@ -338,9 +357,11 @@ export declare class CreateVerifySDKRequest extends $tea.Model {
338
357
  [key: string]: any;
339
358
  });
340
359
  }
341
- export declare class CreateVerifySDKResponseBody extends $tea.Model {
342
- taskId?: string;
360
+ export declare class DescribeFaceVerifyResponseBody extends $tea.Model {
361
+ code?: string;
362
+ message?: string;
343
363
  requestId?: string;
364
+ resultObject?: DescribeFaceVerifyResponseBodyResultObject;
344
365
  static names(): {
345
366
  [key: string]: string;
346
367
  };
@@ -351,29 +372,12 @@ export declare class CreateVerifySDKResponseBody extends $tea.Model {
351
372
  [key: string]: any;
352
373
  });
353
374
  }
354
- export declare class CreateVerifySDKResponse extends $tea.Model {
375
+ export declare class DescribeFaceVerifyResponse extends $tea.Model {
355
376
  headers: {
356
377
  [key: string]: string;
357
378
  };
358
- body: CreateVerifySDKResponseBody;
359
- static names(): {
360
- [key: string]: string;
361
- };
362
- static types(): {
363
- [key: string]: any;
364
- };
365
- constructor(map?: {
366
- [key: string]: any;
367
- });
368
- }
369
- export declare class CreateVerifySettingRequest extends $tea.Model {
370
- sourceIp?: string;
371
- bizType?: string;
372
- bizName?: string;
373
- solution?: string;
374
- guideStep?: boolean;
375
- privacyStep?: boolean;
376
- resultStep?: boolean;
379
+ statusCode: number;
380
+ body: DescribeFaceVerifyResponseBody;
377
381
  static names(): {
378
382
  [key: string]: string;
379
383
  };
@@ -384,12 +388,9 @@ export declare class CreateVerifySettingRequest extends $tea.Model {
384
388
  [key: string]: any;
385
389
  });
386
390
  }
387
- export declare class CreateVerifySettingResponseBody extends $tea.Model {
391
+ export declare class DescribeOssUploadTokenResponseBody extends $tea.Model {
392
+ ossUploadToken?: DescribeOssUploadTokenResponseBodyOssUploadToken;
388
393
  requestId?: string;
389
- stepList?: string[];
390
- bizName?: string;
391
- bizType?: string;
392
- solution?: string;
393
394
  static names(): {
394
395
  [key: string]: string;
395
396
  };
@@ -400,11 +401,12 @@ export declare class CreateVerifySettingResponseBody extends $tea.Model {
400
401
  [key: string]: any;
401
402
  });
402
403
  }
403
- export declare class CreateVerifySettingResponse extends $tea.Model {
404
+ export declare class DescribeOssUploadTokenResponse extends $tea.Model {
404
405
  headers: {
405
406
  [key: string]: string;
406
407
  };
407
- body: CreateVerifySettingResponseBody;
408
+ statusCode: number;
409
+ body: DescribeOssUploadTokenResponseBody;
408
410
  static names(): {
409
411
  [key: string]: string;
410
412
  };
@@ -415,13 +417,9 @@ export declare class CreateVerifySettingResponse extends $tea.Model {
415
417
  [key: string]: any;
416
418
  });
417
419
  }
418
- export declare class CreateWhitelistRequest extends $tea.Model {
419
- sourceIp?: string;
420
- lang?: string;
421
- bizType?: string;
420
+ export declare class DescribeVerifyResultRequest extends $tea.Model {
422
421
  bizId?: string;
423
- idCardNum?: string;
424
- validDay?: string;
422
+ bizType?: string;
425
423
  static names(): {
426
424
  [key: string]: string;
427
425
  };
@@ -432,8 +430,13 @@ export declare class CreateWhitelistRequest extends $tea.Model {
432
430
  [key: string]: any;
433
431
  });
434
432
  }
435
- export declare class CreateWhitelistResponseBody extends $tea.Model {
433
+ export declare class DescribeVerifyResultResponseBody extends $tea.Model {
434
+ authorityComparisionScore?: number;
435
+ faceComparisonScore?: number;
436
+ idCardFaceComparisonScore?: number;
437
+ material?: DescribeVerifyResultResponseBodyMaterial;
436
438
  requestId?: string;
439
+ verifyStatus?: number;
437
440
  static names(): {
438
441
  [key: string]: string;
439
442
  };
@@ -444,11 +447,12 @@ export declare class CreateWhitelistResponseBody extends $tea.Model {
444
447
  [key: string]: any;
445
448
  });
446
449
  }
447
- export declare class CreateWhitelistResponse extends $tea.Model {
450
+ export declare class DescribeVerifyResultResponse extends $tea.Model {
448
451
  headers: {
449
452
  [key: string]: string;
450
453
  };
451
- body: CreateWhitelistResponseBody;
454
+ statusCode: number;
455
+ body: DescribeVerifyResultResponseBody;
452
456
  static names(): {
453
457
  [key: string]: string;
454
458
  };
@@ -459,10 +463,8 @@ export declare class CreateWhitelistResponse extends $tea.Model {
459
463
  [key: string]: any;
460
464
  });
461
465
  }
462
- export declare class DeleteWhitelistRequest extends $tea.Model {
463
- sourceIp?: string;
464
- lang?: string;
465
- ids?: string;
466
+ export declare class DescribeVerifySDKRequest extends $tea.Model {
467
+ taskId?: string;
466
468
  static names(): {
467
469
  [key: string]: string;
468
470
  };
@@ -473,8 +475,9 @@ export declare class DeleteWhitelistRequest extends $tea.Model {
473
475
  [key: string]: any;
474
476
  });
475
477
  }
476
- export declare class DeleteWhitelistResponseBody extends $tea.Model {
478
+ export declare class DescribeVerifySDKResponseBody extends $tea.Model {
477
479
  requestId?: string;
480
+ sdkUrl?: string;
478
481
  static names(): {
479
482
  [key: string]: string;
480
483
  };
@@ -485,11 +488,12 @@ export declare class DeleteWhitelistResponseBody extends $tea.Model {
485
488
  [key: string]: any;
486
489
  });
487
490
  }
488
- export declare class DeleteWhitelistResponse extends $tea.Model {
491
+ export declare class DescribeVerifySDKResponse extends $tea.Model {
489
492
  headers: {
490
493
  [key: string]: string;
491
494
  };
492
- body: DeleteWhitelistResponseBody;
495
+ statusCode: number;
496
+ body: DescribeVerifySDKResponseBody;
493
497
  static names(): {
494
498
  [key: string]: string;
495
499
  };
@@ -500,11 +504,22 @@ export declare class DeleteWhitelistResponse extends $tea.Model {
500
504
  [key: string]: any;
501
505
  });
502
506
  }
503
- export declare class DescribeAppInfoRequest extends $tea.Model {
504
- sourceIp?: string;
505
- pageSize?: number;
506
- currentPage?: number;
507
- platform?: string;
507
+ export declare class DescribeVerifyTokenRequest extends $tea.Model {
508
+ bizId?: string;
509
+ bizType?: string;
510
+ callbackSeed?: string;
511
+ callbackUrl?: string;
512
+ faceRetainedImageUrl?: string;
513
+ failedRedirectUrl?: string;
514
+ idCardBackImageUrl?: string;
515
+ idCardFrontImageUrl?: string;
516
+ idCardNumber?: string;
517
+ name?: string;
518
+ passedRedirectUrl?: string;
519
+ userId?: string;
520
+ userIp?: string;
521
+ userPhoneNumber?: string;
522
+ userRegistTime?: number;
508
523
  static names(): {
509
524
  [key: string]: string;
510
525
  };
@@ -515,12 +530,11 @@ export declare class DescribeAppInfoRequest extends $tea.Model {
515
530
  [key: string]: any;
516
531
  });
517
532
  }
518
- export declare class DescribeAppInfoResponseBody extends $tea.Model {
519
- totalCount?: number;
533
+ export declare class DescribeVerifyTokenResponseBody extends $tea.Model {
534
+ ossUploadToken?: DescribeVerifyTokenResponseBodyOssUploadToken;
520
535
  requestId?: string;
521
- pageSize?: number;
522
- currentPage?: number;
523
- appInfoList?: DescribeAppInfoResponseBodyAppInfoList[];
536
+ verifyPageUrl?: string;
537
+ verifyToken?: string;
524
538
  static names(): {
525
539
  [key: string]: string;
526
540
  };
@@ -531,11 +545,12 @@ export declare class DescribeAppInfoResponseBody extends $tea.Model {
531
545
  [key: string]: any;
532
546
  });
533
547
  }
534
- export declare class DescribeAppInfoResponse extends $tea.Model {
548
+ export declare class DescribeVerifyTokenResponse extends $tea.Model {
535
549
  headers: {
536
550
  [key: string]: string;
537
551
  };
538
- body: DescribeAppInfoResponseBody;
552
+ statusCode: number;
553
+ body: DescribeVerifyTokenResponseBody;
539
554
  static names(): {
540
555
  [key: string]: string;
541
556
  };
@@ -546,17 +561,9 @@ export declare class DescribeAppInfoResponse extends $tea.Model {
546
561
  [key: string]: any;
547
562
  });
548
563
  }
549
- export declare class DescribeDeviceInfoRequest extends $tea.Model {
550
- sourceIp?: string;
551
- lang?: string;
552
- totalCount?: number;
553
- pageSize?: number;
554
- currentPage?: number;
555
- deviceId?: string;
564
+ export declare class DetectFaceAttributesRequest extends $tea.Model {
556
565
  bizType?: string;
557
- userDeviceId?: string;
558
- expiredStartDay?: string;
559
- expiredEndDay?: string;
566
+ materialValue?: string;
560
567
  static names(): {
561
568
  [key: string]: string;
562
569
  };
@@ -567,12 +574,12 @@ export declare class DescribeDeviceInfoRequest extends $tea.Model {
567
574
  [key: string]: any;
568
575
  });
569
576
  }
570
- export declare class DescribeDeviceInfoResponseBody extends $tea.Model {
571
- deviceInfoList?: DescribeDeviceInfoResponseBodyDeviceInfoList;
572
- totalCount?: number;
577
+ export declare class DetectFaceAttributesResponseBody extends $tea.Model {
578
+ code?: string;
579
+ data?: DetectFaceAttributesResponseBodyData;
580
+ message?: string;
573
581
  requestId?: string;
574
- pageSize?: number;
575
- currentPage?: number;
582
+ success?: boolean;
576
583
  static names(): {
577
584
  [key: string]: string;
578
585
  };
@@ -583,11 +590,12 @@ export declare class DescribeDeviceInfoResponseBody extends $tea.Model {
583
590
  [key: string]: any;
584
591
  });
585
592
  }
586
- export declare class DescribeDeviceInfoResponse extends $tea.Model {
593
+ export declare class DetectFaceAttributesResponse extends $tea.Model {
587
594
  headers: {
588
595
  [key: string]: string;
589
596
  };
590
- body: DescribeDeviceInfoResponseBody;
597
+ statusCode: number;
598
+ body: DetectFaceAttributesResponseBody;
591
599
  static names(): {
592
600
  [key: string]: string;
593
601
  };
@@ -598,1119 +606,30 @@ export declare class DescribeDeviceInfoResponse extends $tea.Model {
598
606
  [key: string]: any;
599
607
  });
600
608
  }
601
- export declare class DescribeFaceConfigRequest extends $tea.Model {
602
- sourceIp?: string;
603
- lang?: string;
604
- static names(): {
605
- [key: string]: string;
606
- };
607
- static types(): {
608
- [key: string]: any;
609
- };
610
- constructor(map?: {
611
- [key: string]: any;
612
- });
613
- }
614
- export declare class DescribeFaceConfigResponseBody extends $tea.Model {
615
- requestId?: string;
616
- items?: DescribeFaceConfigResponseBodyItems[];
617
- static names(): {
618
- [key: string]: string;
619
- };
620
- static types(): {
621
- [key: string]: any;
622
- };
623
- constructor(map?: {
624
- [key: string]: any;
625
- });
626
- }
627
- export declare class DescribeFaceConfigResponse extends $tea.Model {
628
- headers: {
629
- [key: string]: string;
630
- };
631
- body: DescribeFaceConfigResponseBody;
632
- static names(): {
633
- [key: string]: string;
634
- };
635
- static types(): {
636
- [key: string]: any;
637
- };
638
- constructor(map?: {
639
- [key: string]: any;
640
- });
641
- }
642
- export declare class DescribeFaceUsageRequest extends $tea.Model {
643
- sourceIp?: string;
644
- startDate?: string;
645
- endDate?: string;
646
- static names(): {
647
- [key: string]: string;
648
- };
649
- static types(): {
650
- [key: string]: any;
651
- };
652
- constructor(map?: {
653
- [key: string]: any;
654
- });
655
- }
656
- export declare class DescribeFaceUsageResponseBody extends $tea.Model {
657
- totalCount?: number;
658
- faceUsageList?: DescribeFaceUsageResponseBodyFaceUsageList[];
659
- requestId?: string;
660
- static names(): {
661
- [key: string]: string;
662
- };
663
- static types(): {
664
- [key: string]: any;
665
- };
666
- constructor(map?: {
667
- [key: string]: any;
668
- });
669
- }
670
- export declare class DescribeFaceUsageResponse extends $tea.Model {
671
- headers: {
672
- [key: string]: string;
673
- };
674
- body: DescribeFaceUsageResponseBody;
675
- static names(): {
676
- [key: string]: string;
677
- };
678
- static types(): {
679
- [key: string]: any;
680
- };
681
- constructor(map?: {
682
- [key: string]: any;
683
- });
684
- }
685
- export declare class DescribeFaceVerifyRequest extends $tea.Model {
686
- sceneId?: number;
687
- certifyId?: string;
688
- static names(): {
689
- [key: string]: string;
690
- };
691
- static types(): {
692
- [key: string]: any;
693
- };
694
- constructor(map?: {
695
- [key: string]: any;
696
- });
697
- }
698
- export declare class DescribeFaceVerifyResponseBody extends $tea.Model {
699
- resultObject?: DescribeFaceVerifyResponseBodyResultObject;
700
- message?: string;
701
- requestId?: string;
702
- code?: string;
703
- static names(): {
704
- [key: string]: string;
705
- };
706
- static types(): {
707
- [key: string]: any;
708
- };
709
- constructor(map?: {
710
- [key: string]: any;
711
- });
712
- }
713
- export declare class DescribeFaceVerifyResponse extends $tea.Model {
714
- headers: {
715
- [key: string]: string;
716
- };
717
- body: DescribeFaceVerifyResponseBody;
718
- static names(): {
719
- [key: string]: string;
720
- };
721
- static types(): {
722
- [key: string]: any;
723
- };
724
- constructor(map?: {
725
- [key: string]: any;
726
- });
727
- }
728
- export declare class DescribeOssUploadTokenRequest extends $tea.Model {
729
- sourceIp?: string;
730
- static names(): {
731
- [key: string]: string;
732
- };
733
- static types(): {
734
- [key: string]: any;
735
- };
736
- constructor(map?: {
737
- [key: string]: any;
738
- });
739
- }
740
- export declare class DescribeOssUploadTokenResponseBody extends $tea.Model {
741
- requestId?: string;
742
- ossUploadToken?: DescribeOssUploadTokenResponseBodyOssUploadToken;
743
- static names(): {
744
- [key: string]: string;
745
- };
746
- static types(): {
747
- [key: string]: any;
748
- };
749
- constructor(map?: {
750
- [key: string]: any;
751
- });
752
- }
753
- export declare class DescribeOssUploadTokenResponse extends $tea.Model {
754
- headers: {
755
- [key: string]: string;
756
- };
757
- body: DescribeOssUploadTokenResponseBody;
758
- static names(): {
759
- [key: string]: string;
760
- };
761
- static types(): {
762
- [key: string]: any;
763
- };
764
- constructor(map?: {
765
- [key: string]: any;
766
- });
767
- }
768
- export declare class DescribeRPSDKRequest extends $tea.Model {
769
- sourceIp?: string;
770
- lang?: string;
771
- taskId?: string;
772
- static names(): {
773
- [key: string]: string;
774
- };
775
- static types(): {
776
- [key: string]: any;
777
- };
778
- constructor(map?: {
779
- [key: string]: any;
780
- });
781
- }
782
- export declare class DescribeRPSDKResponseBody extends $tea.Model {
783
- sdkUrl?: string;
784
- requestId?: string;
785
- static names(): {
786
- [key: string]: string;
787
- };
788
- static types(): {
789
- [key: string]: any;
790
- };
791
- constructor(map?: {
792
- [key: string]: any;
793
- });
794
- }
795
- export declare class DescribeRPSDKResponse extends $tea.Model {
796
- headers: {
797
- [key: string]: string;
798
- };
799
- body: DescribeRPSDKResponseBody;
800
- static names(): {
801
- [key: string]: string;
802
- };
803
- static types(): {
804
- [key: string]: any;
805
- };
806
- constructor(map?: {
807
- [key: string]: any;
808
- });
809
- }
810
- export declare class DescribeSdkUrlRequest extends $tea.Model {
811
- sourceIp?: string;
812
- id?: number;
813
- debug?: boolean;
814
- static names(): {
815
- [key: string]: string;
816
- };
817
- static types(): {
818
- [key: string]: any;
819
- };
820
- constructor(map?: {
821
- [key: string]: any;
822
- });
823
- }
824
- export declare class DescribeSdkUrlResponseBody extends $tea.Model {
825
- sdkUrl?: string;
826
- requestId?: string;
827
- static names(): {
828
- [key: string]: string;
829
- };
830
- static types(): {
831
- [key: string]: any;
832
- };
833
- constructor(map?: {
834
- [key: string]: any;
835
- });
836
- }
837
- export declare class DescribeSdkUrlResponse extends $tea.Model {
838
- headers: {
839
- [key: string]: string;
840
- };
841
- body: DescribeSdkUrlResponseBody;
842
- static names(): {
843
- [key: string]: string;
844
- };
845
- static types(): {
846
- [key: string]: any;
847
- };
848
- constructor(map?: {
849
- [key: string]: any;
850
- });
851
- }
852
- export declare class DescribeUpdatePackageResultRequest extends $tea.Model {
853
- sourceIp?: string;
854
- taskId?: string;
855
- static names(): {
856
- [key: string]: string;
857
- };
858
- static types(): {
859
- [key: string]: any;
860
- };
861
- constructor(map?: {
862
- [key: string]: any;
863
- });
864
- }
865
- export declare class DescribeUpdatePackageResultResponseBody extends $tea.Model {
866
- requestId?: string;
867
- appInfo?: DescribeUpdatePackageResultResponseBodyAppInfo;
868
- static names(): {
869
- [key: string]: string;
870
- };
871
- static types(): {
872
- [key: string]: any;
873
- };
874
- constructor(map?: {
875
- [key: string]: any;
876
- });
877
- }
878
- export declare class DescribeUpdatePackageResultResponse extends $tea.Model {
879
- headers: {
880
- [key: string]: string;
881
- };
882
- body: DescribeUpdatePackageResultResponseBody;
883
- static names(): {
884
- [key: string]: string;
885
- };
886
- static types(): {
887
- [key: string]: any;
888
- };
889
- constructor(map?: {
890
- [key: string]: any;
891
- });
892
- }
893
- export declare class DescribeUploadInfoRequest extends $tea.Model {
894
- sourceIp?: string;
895
- biz?: string;
896
- static names(): {
897
- [key: string]: string;
898
- };
899
- static types(): {
900
- [key: string]: any;
901
- };
902
- constructor(map?: {
903
- [key: string]: any;
904
- });
905
- }
906
- export declare class DescribeUploadInfoResponseBody extends $tea.Model {
907
- policy?: string;
908
- expire?: number;
909
- requestId?: string;
910
- accessid?: string;
911
- signature?: string;
912
- host?: string;
913
- folder?: string;
914
- static names(): {
915
- [key: string]: string;
916
- };
917
- static types(): {
918
- [key: string]: any;
919
- };
920
- constructor(map?: {
921
- [key: string]: any;
922
- });
923
- }
924
- export declare class DescribeUploadInfoResponse extends $tea.Model {
925
- headers: {
926
- [key: string]: string;
927
- };
928
- body: DescribeUploadInfoResponseBody;
929
- static names(): {
930
- [key: string]: string;
931
- };
932
- static types(): {
933
- [key: string]: any;
934
- };
935
- constructor(map?: {
936
- [key: string]: any;
937
- });
938
- }
939
- export declare class DescribeUserStatusRequest extends $tea.Model {
940
- sourceIp?: string;
941
- static names(): {
942
- [key: string]: string;
943
- };
944
- static types(): {
945
- [key: string]: any;
946
- };
947
- constructor(map?: {
948
- [key: string]: any;
949
- });
950
- }
951
- export declare class DescribeUserStatusResponseBody extends $tea.Model {
952
- requestId?: string;
953
- enabled?: boolean;
954
- static names(): {
955
- [key: string]: string;
956
- };
957
- static types(): {
958
- [key: string]: any;
959
- };
960
- constructor(map?: {
961
- [key: string]: any;
962
- });
963
- }
964
- export declare class DescribeUserStatusResponse extends $tea.Model {
965
- headers: {
966
- [key: string]: string;
967
- };
968
- body: DescribeUserStatusResponseBody;
969
- static names(): {
970
- [key: string]: string;
971
- };
972
- static types(): {
973
- [key: string]: any;
974
- };
975
- constructor(map?: {
976
- [key: string]: any;
977
- });
978
- }
979
- export declare class DescribeVerifyRecordsRequest extends $tea.Model {
980
- sourceIp?: string;
981
- totalCount?: number;
982
- pageSize?: number;
983
- currentPage?: number;
984
- bizType?: string;
985
- startDate?: string;
986
- endDate?: string;
987
- bizId?: string;
988
- idCardNum?: string;
989
- statusList?: string;
990
- queryId?: string;
991
- static names(): {
992
- [key: string]: string;
993
- };
994
- static types(): {
995
- [key: string]: any;
996
- };
997
- constructor(map?: {
998
- [key: string]: any;
999
- });
1000
- }
1001
- export declare class DescribeVerifyRecordsResponseBody extends $tea.Model {
1002
- totalCount?: number;
1003
- pageSize?: number;
1004
- requestId?: string;
1005
- currentPage?: number;
1006
- queryId?: string;
1007
- recordsList?: DescribeVerifyRecordsResponseBodyRecordsList[];
1008
- static names(): {
1009
- [key: string]: string;
1010
- };
1011
- static types(): {
1012
- [key: string]: any;
1013
- };
1014
- constructor(map?: {
1015
- [key: string]: any;
1016
- });
1017
- }
1018
- export declare class DescribeVerifyRecordsResponse extends $tea.Model {
1019
- headers: {
1020
- [key: string]: string;
1021
- };
1022
- body: DescribeVerifyRecordsResponseBody;
1023
- static names(): {
1024
- [key: string]: string;
1025
- };
1026
- static types(): {
1027
- [key: string]: any;
1028
- };
1029
- constructor(map?: {
1030
- [key: string]: any;
1031
- });
1032
- }
1033
- export declare class DescribeVerifyResultRequest extends $tea.Model {
1034
- bizId?: string;
1035
- bizType?: string;
1036
- static names(): {
1037
- [key: string]: string;
1038
- };
1039
- static types(): {
1040
- [key: string]: any;
1041
- };
1042
- constructor(map?: {
1043
- [key: string]: any;
1044
- });
1045
- }
1046
- export declare class DescribeVerifyResultResponseBody extends $tea.Model {
1047
- verifyStatus?: number;
1048
- requestId?: string;
1049
- material?: DescribeVerifyResultResponseBodyMaterial;
1050
- authorityComparisionScore?: number;
1051
- faceComparisonScore?: number;
1052
- idCardFaceComparisonScore?: number;
1053
- static names(): {
1054
- [key: string]: string;
1055
- };
1056
- static types(): {
1057
- [key: string]: any;
1058
- };
1059
- constructor(map?: {
1060
- [key: string]: any;
1061
- });
1062
- }
1063
- export declare class DescribeVerifyResultResponse extends $tea.Model {
1064
- headers: {
1065
- [key: string]: string;
1066
- };
1067
- body: DescribeVerifyResultResponseBody;
1068
- static names(): {
1069
- [key: string]: string;
1070
- };
1071
- static types(): {
1072
- [key: string]: any;
1073
- };
1074
- constructor(map?: {
1075
- [key: string]: any;
1076
- });
1077
- }
1078
- export declare class DescribeVerifySDKRequest extends $tea.Model {
1079
- sourceIp?: string;
1080
- lang?: string;
1081
- taskId?: string;
1082
- static names(): {
1083
- [key: string]: string;
1084
- };
1085
- static types(): {
1086
- [key: string]: any;
1087
- };
1088
- constructor(map?: {
1089
- [key: string]: any;
1090
- });
1091
- }
1092
- export declare class DescribeVerifySDKResponseBody extends $tea.Model {
1093
- sdkUrl?: string;
1094
- requestId?: string;
1095
- static names(): {
1096
- [key: string]: string;
1097
- };
1098
- static types(): {
1099
- [key: string]: any;
1100
- };
1101
- constructor(map?: {
1102
- [key: string]: any;
1103
- });
1104
- }
1105
- export declare class DescribeVerifySDKResponse extends $tea.Model {
1106
- headers: {
1107
- [key: string]: string;
1108
- };
1109
- body: DescribeVerifySDKResponseBody;
1110
- static names(): {
1111
- [key: string]: string;
1112
- };
1113
- static types(): {
1114
- [key: string]: any;
1115
- };
1116
- constructor(map?: {
1117
- [key: string]: any;
1118
- });
1119
- }
1120
- export declare class DescribeVerifySettingRequest extends $tea.Model {
1121
- sourceIp?: string;
1122
- static names(): {
1123
- [key: string]: string;
1124
- };
1125
- static types(): {
1126
- [key: string]: any;
1127
- };
1128
- constructor(map?: {
1129
- [key: string]: any;
1130
- });
1131
- }
1132
- export declare class DescribeVerifySettingResponseBody extends $tea.Model {
1133
- requestId?: string;
1134
- verifySettingList?: DescribeVerifySettingResponseBodyVerifySettingList[];
1135
- static names(): {
1136
- [key: string]: string;
1137
- };
1138
- static types(): {
1139
- [key: string]: any;
1140
- };
1141
- constructor(map?: {
1142
- [key: string]: any;
1143
- });
1144
- }
1145
- export declare class DescribeVerifySettingResponse extends $tea.Model {
1146
- headers: {
1147
- [key: string]: string;
1148
- };
1149
- body: DescribeVerifySettingResponseBody;
1150
- static names(): {
1151
- [key: string]: string;
1152
- };
1153
- static types(): {
1154
- [key: string]: any;
1155
- };
1156
- constructor(map?: {
1157
- [key: string]: any;
1158
- });
1159
- }
1160
- export declare class DescribeVerifyTokenRequest extends $tea.Model {
1161
- idCardBackImageUrl?: string;
1162
- bizType?: string;
1163
- failedRedirectUrl?: string;
1164
- faceRetainedImageUrl?: string;
1165
- callbackSeed?: string;
1166
- idCardFrontImageUrl?: string;
1167
- userId?: string;
1168
- bizId?: string;
1169
- name?: string;
1170
- idCardNumber?: string;
1171
- passedRedirectUrl?: string;
1172
- callbackUrl?: string;
1173
- userIp?: string;
1174
- userPhoneNumber?: string;
1175
- userRegistTime?: number;
1176
- static names(): {
1177
- [key: string]: string;
1178
- };
1179
- static types(): {
1180
- [key: string]: any;
1181
- };
1182
- constructor(map?: {
1183
- [key: string]: any;
1184
- });
1185
- }
1186
- export declare class DescribeVerifyTokenResponseBody extends $tea.Model {
1187
- verifyPageUrl?: string;
1188
- requestId?: string;
1189
- ossUploadToken?: DescribeVerifyTokenResponseBodyOssUploadToken;
1190
- verifyToken?: string;
1191
- static names(): {
1192
- [key: string]: string;
1193
- };
1194
- static types(): {
1195
- [key: string]: any;
1196
- };
1197
- constructor(map?: {
1198
- [key: string]: any;
1199
- });
1200
- }
1201
- export declare class DescribeVerifyTokenResponse extends $tea.Model {
1202
- headers: {
1203
- [key: string]: string;
1204
- };
1205
- body: DescribeVerifyTokenResponseBody;
1206
- static names(): {
1207
- [key: string]: string;
1208
- };
1209
- static types(): {
1210
- [key: string]: any;
1211
- };
1212
- constructor(map?: {
1213
- [key: string]: any;
1214
- });
1215
- }
1216
- export declare class DescribeVerifyUsageRequest extends $tea.Model {
1217
- sourceIp?: string;
1218
- bizType?: string;
1219
- startDate?: string;
1220
- endDate?: string;
1221
- static names(): {
1222
- [key: string]: string;
1223
- };
1224
- static types(): {
1225
- [key: string]: any;
1226
- };
1227
- constructor(map?: {
1228
- [key: string]: any;
1229
- });
1230
- }
1231
- export declare class DescribeVerifyUsageResponseBody extends $tea.Model {
1232
- totalCount?: number;
1233
- verifyUsageList?: DescribeVerifyUsageResponseBodyVerifyUsageList[];
1234
- requestId?: string;
1235
- static names(): {
1236
- [key: string]: string;
1237
- };
1238
- static types(): {
1239
- [key: string]: any;
1240
- };
1241
- constructor(map?: {
1242
- [key: string]: any;
1243
- });
1244
- }
1245
- export declare class DescribeVerifyUsageResponse extends $tea.Model {
1246
- headers: {
1247
- [key: string]: string;
1248
- };
1249
- body: DescribeVerifyUsageResponseBody;
1250
- static names(): {
1251
- [key: string]: string;
1252
- };
1253
- static types(): {
1254
- [key: string]: any;
1255
- };
1256
- constructor(map?: {
1257
- [key: string]: any;
1258
- });
1259
- }
1260
- export declare class DescribeWhitelistRequest extends $tea.Model {
1261
- sourceIp?: string;
1262
- lang?: string;
1263
- bizType?: string;
1264
- bizId?: string;
1265
- idCardNum?: string;
1266
- validStartDate?: string;
1267
- validEndDate?: string;
1268
- valid?: string;
1269
- pageSize?: number;
1270
- currentPage?: number;
1271
- static names(): {
1272
- [key: string]: string;
1273
- };
1274
- static types(): {
1275
- [key: string]: any;
1276
- };
1277
- constructor(map?: {
1278
- [key: string]: any;
1279
- });
1280
- }
1281
- export declare class DescribeWhitelistResponseBody extends $tea.Model {
1282
- totalCount?: number;
1283
- pageSize?: number;
1284
- requestId?: string;
1285
- currentPage?: number;
1286
- items?: DescribeWhitelistResponseBodyItems[];
1287
- static names(): {
1288
- [key: string]: string;
1289
- };
1290
- static types(): {
1291
- [key: string]: any;
1292
- };
1293
- constructor(map?: {
1294
- [key: string]: any;
1295
- });
1296
- }
1297
- export declare class DescribeWhitelistResponse extends $tea.Model {
1298
- headers: {
1299
- [key: string]: string;
1300
- };
1301
- body: DescribeWhitelistResponseBody;
1302
- static names(): {
1303
- [key: string]: string;
1304
- };
1305
- static types(): {
1306
- [key: string]: any;
1307
- };
1308
- constructor(map?: {
1309
- [key: string]: any;
1310
- });
1311
- }
1312
- export declare class DetectFaceAttributesRequest extends $tea.Model {
1313
- materialValue?: string;
1314
- bizType?: string;
1315
- static names(): {
1316
- [key: string]: string;
1317
- };
1318
- static types(): {
1319
- [key: string]: any;
1320
- };
1321
- constructor(map?: {
1322
- [key: string]: any;
1323
- });
1324
- }
1325
- export declare class DetectFaceAttributesResponseBody extends $tea.Model {
1326
- message?: string;
1327
- requestId?: string;
1328
- data?: DetectFaceAttributesResponseBodyData;
1329
- code?: string;
1330
- success?: boolean;
1331
- static names(): {
1332
- [key: string]: string;
1333
- };
1334
- static types(): {
1335
- [key: string]: any;
1336
- };
1337
- constructor(map?: {
1338
- [key: string]: any;
1339
- });
1340
- }
1341
- export declare class DetectFaceAttributesResponse extends $tea.Model {
1342
- headers: {
1343
- [key: string]: string;
1344
- };
1345
- body: DetectFaceAttributesResponseBody;
1346
- static names(): {
1347
- [key: string]: string;
1348
- };
1349
- static types(): {
1350
- [key: string]: any;
1351
- };
1352
- constructor(map?: {
1353
- [key: string]: any;
1354
- });
1355
- }
1356
- export declare class InitDeviceRequest extends $tea.Model {
1357
- certifyId?: string;
1358
- outerOrderNo?: string;
1359
- channel?: string;
1360
- merchant?: string;
1361
- productName?: string;
1362
- produceNode?: string;
1363
- bizData?: string;
1364
- metaInfo?: string;
1365
- certifyPrincipal?: string;
1366
- appVersion?: string;
1367
- deviceToken?: string;
1368
- uaToken?: string;
1369
- webUmidToken?: string;
1370
- static names(): {
1371
- [key: string]: string;
1372
- };
1373
- static types(): {
1374
- [key: string]: any;
1375
- };
1376
- constructor(map?: {
1377
- [key: string]: any;
1378
- });
1379
- }
1380
- export declare class InitDeviceResponseBody extends $tea.Model {
1381
- resultObject?: InitDeviceResponseBodyResultObject;
1382
- message?: string;
1383
- requestId?: string;
1384
- code?: string;
1385
- static names(): {
1386
- [key: string]: string;
1387
- };
1388
- static types(): {
1389
- [key: string]: any;
1390
- };
1391
- constructor(map?: {
1392
- [key: string]: any;
1393
- });
1394
- }
1395
- export declare class InitDeviceResponse extends $tea.Model {
1396
- headers: {
1397
- [key: string]: string;
1398
- };
1399
- body: InitDeviceResponseBody;
1400
- static names(): {
1401
- [key: string]: string;
1402
- };
1403
- static types(): {
1404
- [key: string]: any;
1405
- };
1406
- constructor(map?: {
1407
- [key: string]: any;
1408
- });
1409
- }
1410
- export declare class InitFaceVerifyRequest extends $tea.Model {
1411
- sceneId?: number;
1412
- outerOrderNo?: string;
1413
- productCode?: string;
1414
- certType?: string;
1415
- certName?: string;
1416
- certNo?: string;
1417
- returnUrl?: string;
1418
- faceContrastPicture?: string;
1419
- metaInfo?: string;
1420
- mobile?: string;
1421
- ip?: string;
1422
- userId?: string;
1423
- faceContrastPictureUrl?: string;
1424
- certifyId?: string;
1425
- ossBucketName?: string;
1426
- ossObjectName?: string;
1427
- model?: string;
1428
- callbackUrl?: string;
1429
- callbackToken?: string;
1430
- static names(): {
1431
- [key: string]: string;
1432
- };
1433
- static types(): {
1434
- [key: string]: any;
1435
- };
1436
- constructor(map?: {
1437
- [key: string]: any;
1438
- });
1439
- }
1440
- export declare class InitFaceVerifyResponseBody extends $tea.Model {
1441
- resultObject?: InitFaceVerifyResponseBodyResultObject;
1442
- message?: string;
1443
- requestId?: string;
1444
- code?: string;
1445
- static names(): {
1446
- [key: string]: string;
1447
- };
1448
- static types(): {
1449
- [key: string]: any;
1450
- };
1451
- constructor(map?: {
1452
- [key: string]: any;
1453
- });
1454
- }
1455
- export declare class InitFaceVerifyResponse extends $tea.Model {
1456
- headers: {
1457
- [key: string]: string;
1458
- };
1459
- body: InitFaceVerifyResponseBody;
1460
- static names(): {
1461
- [key: string]: string;
1462
- };
1463
- static types(): {
1464
- [key: string]: any;
1465
- };
1466
- constructor(map?: {
1467
- [key: string]: any;
1468
- });
1469
- }
1470
- export declare class LivenessFaceVerifyRequest extends $tea.Model {
1471
- sceneId?: number;
1472
- outerOrderNo?: string;
1473
- productCode?: string;
1474
- faceContrastPicture?: string;
1475
- deviceToken?: string;
1476
- mobile?: string;
1477
- ip?: string;
1478
- userId?: string;
1479
- faceContrastPictureUrl?: string;
1480
- certifyId?: string;
1481
- ossBucketName?: string;
1482
- ossObjectName?: string;
1483
- model?: string;
1484
- static names(): {
1485
- [key: string]: string;
1486
- };
1487
- static types(): {
1488
- [key: string]: any;
1489
- };
1490
- constructor(map?: {
1491
- [key: string]: any;
1492
- });
1493
- }
1494
- export declare class LivenessFaceVerifyResponseBody extends $tea.Model {
1495
- resultObject?: LivenessFaceVerifyResponseBodyResultObject;
1496
- message?: string;
1497
- requestId?: string;
1498
- code?: string;
1499
- static names(): {
1500
- [key: string]: string;
1501
- };
1502
- static types(): {
1503
- [key: string]: any;
1504
- };
1505
- constructor(map?: {
1506
- [key: string]: any;
1507
- });
1508
- }
1509
- export declare class LivenessFaceVerifyResponse extends $tea.Model {
1510
- headers: {
1511
- [key: string]: string;
1512
- };
1513
- body: LivenessFaceVerifyResponseBody;
1514
- static names(): {
1515
- [key: string]: string;
1516
- };
1517
- static types(): {
1518
- [key: string]: any;
1519
- };
1520
- constructor(map?: {
1521
- [key: string]: any;
1522
- });
1523
- }
1524
- export declare class ModifyDeviceInfoRequest extends $tea.Model {
1525
- sourceIp?: string;
1526
- lang?: string;
1527
- deviceId?: string;
1528
- userDeviceId?: string;
1529
- bizType?: string;
1530
- duration?: string;
1531
- expiredDay?: string;
1532
- static names(): {
1533
- [key: string]: string;
1534
- };
1535
- static types(): {
1536
- [key: string]: any;
1537
- };
1538
- constructor(map?: {
1539
- [key: string]: any;
1540
- });
1541
- }
1542
- export declare class ModifyDeviceInfoResponseBody extends $tea.Model {
1543
- expiredDay?: string;
1544
- beginDay?: string;
1545
- requestId?: string;
1546
- deviceId?: string;
1547
- bizType?: string;
1548
- userDeviceId?: string;
1549
- static names(): {
1550
- [key: string]: string;
1551
- };
1552
- static types(): {
1553
- [key: string]: any;
1554
- };
1555
- constructor(map?: {
1556
- [key: string]: any;
1557
- });
1558
- }
1559
- export declare class ModifyDeviceInfoResponse extends $tea.Model {
1560
- headers: {
1561
- [key: string]: string;
1562
- };
1563
- body: ModifyDeviceInfoResponseBody;
1564
- static names(): {
1565
- [key: string]: string;
1566
- };
1567
- static types(): {
1568
- [key: string]: any;
1569
- };
1570
- constructor(map?: {
1571
- [key: string]: any;
1572
- });
1573
- }
1574
- export declare class UpdateAppPackageRequest extends $tea.Model {
1575
- sourceIp?: string;
1576
- id?: number;
1577
- packageUrl?: string;
1578
- platform?: string;
1579
- debug?: boolean;
1580
- static names(): {
1581
- [key: string]: string;
1582
- };
1583
- static types(): {
1584
- [key: string]: any;
1585
- };
1586
- constructor(map?: {
1587
- [key: string]: any;
1588
- });
1589
- }
1590
- export declare class UpdateAppPackageResponseBody extends $tea.Model {
1591
- taskId?: string;
1592
- requestId?: string;
1593
- static names(): {
1594
- [key: string]: string;
1595
- };
1596
- static types(): {
1597
- [key: string]: any;
1598
- };
1599
- constructor(map?: {
1600
- [key: string]: any;
1601
- });
1602
- }
1603
- export declare class UpdateAppPackageResponse extends $tea.Model {
1604
- headers: {
1605
- [key: string]: string;
1606
- };
1607
- body: UpdateAppPackageResponseBody;
1608
- static names(): {
1609
- [key: string]: string;
1610
- };
1611
- static types(): {
1612
- [key: string]: any;
1613
- };
1614
- constructor(map?: {
1615
- [key: string]: any;
1616
- });
1617
- }
1618
- export declare class UpdateFaceConfigRequest extends $tea.Model {
1619
- sourceIp?: string;
1620
- lang?: string;
1621
- bizType?: string;
1622
- bizName?: string;
1623
- static names(): {
1624
- [key: string]: string;
1625
- };
1626
- static types(): {
1627
- [key: string]: any;
1628
- };
1629
- constructor(map?: {
1630
- [key: string]: any;
1631
- });
1632
- }
1633
- export declare class UpdateFaceConfigResponseBody extends $tea.Model {
1634
- requestId?: string;
1635
- static names(): {
1636
- [key: string]: string;
1637
- };
1638
- static types(): {
1639
- [key: string]: any;
1640
- };
1641
- constructor(map?: {
1642
- [key: string]: any;
1643
- });
1644
- }
1645
- export declare class UpdateFaceConfigResponse extends $tea.Model {
1646
- headers: {
1647
- [key: string]: string;
1648
- };
1649
- body: UpdateFaceConfigResponseBody;
1650
- static names(): {
1651
- [key: string]: string;
1652
- };
1653
- static types(): {
1654
- [key: string]: any;
1655
- };
1656
- constructor(map?: {
1657
- [key: string]: any;
1658
- });
1659
- }
1660
- export declare class UpdateVerifySettingRequest extends $tea.Model {
1661
- sourceIp?: string;
1662
- bizType?: string;
1663
- bizName?: string;
1664
- solution?: string;
1665
- guideStep?: boolean;
1666
- privacyStep?: boolean;
1667
- resultStep?: boolean;
1668
- static names(): {
1669
- [key: string]: string;
1670
- };
1671
- static types(): {
1672
- [key: string]: any;
1673
- };
1674
- constructor(map?: {
1675
- [key: string]: any;
1676
- });
1677
- }
1678
- export declare class UpdateVerifySettingResponseBody extends $tea.Model {
1679
- requestId?: string;
1680
- stepList?: string[];
1681
- bizName?: string;
1682
- bizType?: string;
1683
- solution?: string;
1684
- static names(): {
1685
- [key: string]: string;
1686
- };
1687
- static types(): {
1688
- [key: string]: any;
1689
- };
1690
- constructor(map?: {
1691
- [key: string]: any;
1692
- });
1693
- }
1694
- export declare class UpdateVerifySettingResponse extends $tea.Model {
1695
- headers: {
1696
- [key: string]: string;
1697
- };
1698
- body: UpdateVerifySettingResponseBody;
1699
- static names(): {
1700
- [key: string]: string;
1701
- };
1702
- static types(): {
1703
- [key: string]: any;
1704
- };
1705
- constructor(map?: {
1706
- [key: string]: any;
1707
- });
1708
- }
1709
- export declare class VerifyDeviceRequest extends $tea.Model {
609
+ export declare class InitFaceVerifyRequest extends $tea.Model {
610
+ authId?: string;
611
+ callbackToken?: string;
612
+ callbackUrl?: string;
613
+ certName?: string;
614
+ certNo?: string;
615
+ certType?: string;
1710
616
  certifyId?: string;
1711
- certifyData?: string;
1712
- appVersion?: string;
1713
- extInfo?: string;
617
+ certifyUrlType?: string;
618
+ crop?: string;
619
+ encryptType?: string;
620
+ faceContrastPicture?: string;
621
+ faceContrastPictureUrl?: string;
622
+ ip?: string;
623
+ metaInfo?: string;
624
+ mobile?: string;
625
+ model?: string;
626
+ ossBucketName?: string;
627
+ ossObjectName?: string;
628
+ outerOrderNo?: string;
629
+ productCode?: string;
630
+ returnUrl?: string;
631
+ sceneId?: number;
632
+ userId?: string;
1714
633
  static names(): {
1715
634
  [key: string]: string;
1716
635
  };
@@ -1721,11 +640,11 @@ export declare class VerifyDeviceRequest extends $tea.Model {
1721
640
  [key: string]: any;
1722
641
  });
1723
642
  }
1724
- export declare class VerifyDeviceResponseBody extends $tea.Model {
1725
- resultObject?: VerifyDeviceResponseBodyResultObject;
643
+ export declare class InitFaceVerifyResponseBody extends $tea.Model {
644
+ code?: string;
1726
645
  message?: string;
1727
646
  requestId?: string;
1728
- code?: string;
647
+ resultObject?: InitFaceVerifyResponseBodyResultObject;
1729
648
  static names(): {
1730
649
  [key: string]: string;
1731
650
  };
@@ -1736,11 +655,12 @@ export declare class VerifyDeviceResponseBody extends $tea.Model {
1736
655
  [key: string]: any;
1737
656
  });
1738
657
  }
1739
- export declare class VerifyDeviceResponse extends $tea.Model {
658
+ export declare class InitFaceVerifyResponse extends $tea.Model {
1740
659
  headers: {
1741
660
  [key: string]: string;
1742
661
  };
1743
- body: VerifyDeviceResponseBody;
662
+ statusCode: number;
663
+ body: InitFaceVerifyResponseBody;
1744
664
  static names(): {
1745
665
  [key: string]: string;
1746
666
  };
@@ -1751,14 +671,20 @@ export declare class VerifyDeviceResponse extends $tea.Model {
1751
671
  [key: string]: any;
1752
672
  });
1753
673
  }
1754
- export declare class VerifyMaterialRequest extends $tea.Model {
1755
- idCardBackImageUrl?: string;
1756
- faceImageUrl?: string;
1757
- bizType?: string;
1758
- bizId?: string;
1759
- name?: string;
1760
- idCardNumber?: string;
1761
- idCardFrontImageUrl?: string;
674
+ export declare class LivenessFaceVerifyRequest extends $tea.Model {
675
+ certifyId?: string;
676
+ crop?: string;
677
+ deviceToken?: string;
678
+ faceContrastPicture?: string;
679
+ faceContrastPictureUrl?: string;
680
+ ip?: string;
681
+ mobile?: string;
682
+ model?: string;
683
+ ossBucketName?: string;
684
+ ossObjectName?: string;
685
+ outerOrderNo?: string;
686
+ productCode?: string;
687
+ sceneId?: number;
1762
688
  userId?: string;
1763
689
  static names(): {
1764
690
  [key: string]: string;
@@ -1770,13 +696,11 @@ export declare class VerifyMaterialRequest extends $tea.Model {
1770
696
  [key: string]: any;
1771
697
  });
1772
698
  }
1773
- export declare class VerifyMaterialResponseBody extends $tea.Model {
1774
- verifyStatus?: number;
699
+ export declare class LivenessFaceVerifyResponseBody extends $tea.Model {
700
+ code?: string;
701
+ message?: string;
1775
702
  requestId?: string;
1776
- material?: VerifyMaterialResponseBodyMaterial;
1777
- authorityComparisionScore?: number;
1778
- verifyToken?: string;
1779
- idCardFaceComparisonScore?: number;
703
+ resultObject?: LivenessFaceVerifyResponseBodyResultObject;
1780
704
  static names(): {
1781
705
  [key: string]: string;
1782
706
  };
@@ -1787,76 +711,12 @@ export declare class VerifyMaterialResponseBody extends $tea.Model {
1787
711
  [key: string]: any;
1788
712
  });
1789
713
  }
1790
- export declare class VerifyMaterialResponse extends $tea.Model {
714
+ export declare class LivenessFaceVerifyResponse extends $tea.Model {
1791
715
  headers: {
1792
716
  [key: string]: string;
1793
- };
1794
- body: VerifyMaterialResponseBody;
1795
- static names(): {
1796
- [key: string]: string;
1797
- };
1798
- static types(): {
1799
- [key: string]: any;
1800
- };
1801
- constructor(map?: {
1802
- [key: string]: any;
1803
- });
1804
- }
1805
- export declare class CompareFacesResponseBodyData extends $tea.Model {
1806
- similarityScore?: number;
1807
- confidenceThresholds?: string;
1808
- static names(): {
1809
- [key: string]: string;
1810
- };
1811
- static types(): {
1812
- [key: string]: any;
1813
- };
1814
- constructor(map?: {
1815
- [key: string]: any;
1816
- });
1817
- }
1818
- export declare class CompareFaceVerifyResponseBodyResultObject extends $tea.Model {
1819
- verifyScore?: number;
1820
- passed?: string;
1821
- static names(): {
1822
- [key: string]: string;
1823
- };
1824
- static types(): {
1825
- [key: string]: any;
1826
- };
1827
- constructor(map?: {
1828
- [key: string]: any;
1829
- });
1830
- }
1831
- export declare class ContrastFaceVerifyResponseBodyResultObject extends $tea.Model {
1832
- materialInfo?: string;
1833
- subCode?: string;
1834
- identityInfo?: string;
1835
- passed?: string;
1836
- static names(): {
1837
- [key: string]: string;
1838
- };
1839
- static types(): {
1840
- [key: string]: any;
1841
- };
1842
- constructor(map?: {
1843
- [key: string]: any;
1844
- });
1845
- }
1846
- export declare class DescribeAppInfoResponseBodyAppInfoListDebugPackageInfo extends $tea.Model {
1847
- version?: string;
1848
- static names(): {
1849
- [key: string]: string;
1850
- };
1851
- static types(): {
1852
- [key: string]: any;
1853
- };
1854
- constructor(map?: {
1855
- [key: string]: any;
1856
- });
1857
- }
1858
- export declare class DescribeAppInfoResponseBodyAppInfoListPackageInfo extends $tea.Model {
1859
- version?: string;
717
+ };
718
+ statusCode: number;
719
+ body: LivenessFaceVerifyResponseBody;
1860
720
  static names(): {
1861
721
  [key: string]: string;
1862
722
  };
@@ -1867,16 +727,12 @@ export declare class DescribeAppInfoResponseBodyAppInfoListPackageInfo extends $
1867
727
  [key: string]: any;
1868
728
  });
1869
729
  }
1870
- export declare class DescribeAppInfoResponseBodyAppInfoList extends $tea.Model {
1871
- type?: number;
1872
- endDate?: string;
1873
- packageName?: string;
1874
- debugPackageInfo?: DescribeAppInfoResponseBodyAppInfoListDebugPackageInfo;
1875
- icon?: string;
1876
- startDate?: string;
1877
- packageInfo?: DescribeAppInfoResponseBodyAppInfoListPackageInfo;
1878
- name?: string;
1879
- id?: number;
730
+ export declare class ModifyDeviceInfoRequest extends $tea.Model {
731
+ bizType?: string;
732
+ deviceId?: string;
733
+ duration?: string;
734
+ expiredDay?: string;
735
+ userDeviceId?: string;
1880
736
  static names(): {
1881
737
  [key: string]: string;
1882
738
  };
@@ -1887,12 +743,13 @@ export declare class DescribeAppInfoResponseBodyAppInfoList extends $tea.Model {
1887
743
  [key: string]: any;
1888
744
  });
1889
745
  }
1890
- export declare class DescribeDeviceInfoResponseBodyDeviceInfoListDeviceInfo extends $tea.Model {
1891
- userDeviceId?: string;
1892
- deviceId?: string;
1893
- expiredDay?: string;
746
+ export declare class ModifyDeviceInfoResponseBody extends $tea.Model {
1894
747
  beginDay?: string;
1895
748
  bizType?: string;
749
+ deviceId?: string;
750
+ expiredDay?: string;
751
+ requestId?: string;
752
+ userDeviceId?: string;
1896
753
  static names(): {
1897
754
  [key: string]: string;
1898
755
  };
@@ -1903,8 +760,12 @@ export declare class DescribeDeviceInfoResponseBodyDeviceInfoListDeviceInfo exte
1903
760
  [key: string]: any;
1904
761
  });
1905
762
  }
1906
- export declare class DescribeDeviceInfoResponseBodyDeviceInfoList extends $tea.Model {
1907
- deviceInfo?: DescribeDeviceInfoResponseBodyDeviceInfoListDeviceInfo[];
763
+ export declare class ModifyDeviceInfoResponse extends $tea.Model {
764
+ headers: {
765
+ [key: string]: string;
766
+ };
767
+ statusCode: number;
768
+ body: ModifyDeviceInfoResponseBody;
1908
769
  static names(): {
1909
770
  [key: string]: string;
1910
771
  };
@@ -1915,10 +776,15 @@ export declare class DescribeDeviceInfoResponseBodyDeviceInfoList extends $tea.M
1915
776
  [key: string]: any;
1916
777
  });
1917
778
  }
1918
- export declare class DescribeFaceConfigResponseBodyItems extends $tea.Model {
1919
- gmtUpdated?: number;
1920
- bizName?: string;
779
+ export declare class VerifyMaterialRequest extends $tea.Model {
780
+ bizId?: string;
1921
781
  bizType?: string;
782
+ faceImageUrl?: string;
783
+ idCardBackImageUrl?: string;
784
+ idCardFrontImageUrl?: string;
785
+ idCardNumber?: string;
786
+ name?: string;
787
+ userId?: string;
1922
788
  static names(): {
1923
789
  [key: string]: string;
1924
790
  };
@@ -1929,9 +795,13 @@ export declare class DescribeFaceConfigResponseBodyItems extends $tea.Model {
1929
795
  [key: string]: any;
1930
796
  });
1931
797
  }
1932
- export declare class DescribeFaceUsageResponseBodyFaceUsageList extends $tea.Model {
1933
- date?: string;
1934
- totalCount?: number;
798
+ export declare class VerifyMaterialResponseBody extends $tea.Model {
799
+ authorityComparisionScore?: number;
800
+ idCardFaceComparisonScore?: number;
801
+ material?: VerifyMaterialResponseBodyMaterial;
802
+ requestId?: string;
803
+ verifyStatus?: number;
804
+ verifyToken?: string;
1935
805
  static names(): {
1936
806
  [key: string]: string;
1937
807
  };
@@ -1942,12 +812,12 @@ export declare class DescribeFaceUsageResponseBodyFaceUsageList extends $tea.Mod
1942
812
  [key: string]: any;
1943
813
  });
1944
814
  }
1945
- export declare class DescribeFaceVerifyResponseBodyResultObject extends $tea.Model {
1946
- materialInfo?: string;
1947
- subCode?: string;
1948
- identityInfo?: string;
1949
- deviceToken?: string;
1950
- passed?: string;
815
+ export declare class VerifyMaterialResponse extends $tea.Model {
816
+ headers: {
817
+ [key: string]: string;
818
+ };
819
+ statusCode: number;
820
+ body: VerifyMaterialResponseBody;
1951
821
  static names(): {
1952
822
  [key: string]: string;
1953
823
  };
@@ -1958,14 +828,10 @@ export declare class DescribeFaceVerifyResponseBodyResultObject extends $tea.Mod
1958
828
  [key: string]: any;
1959
829
  });
1960
830
  }
1961
- export declare class DescribeOssUploadTokenResponseBodyOssUploadToken extends $tea.Model {
1962
- key?: string;
1963
- token?: string;
1964
- secret?: string;
1965
- expired?: number;
1966
- path?: string;
1967
- endPoint?: string;
1968
- bucket?: string;
831
+ export declare class CompareFaceVerifyResponseBodyResultObject extends $tea.Model {
832
+ certifyId?: string;
833
+ passed?: string;
834
+ verifyScore?: number;
1969
835
  static names(): {
1970
836
  [key: string]: string;
1971
837
  };
@@ -1976,8 +842,9 @@ export declare class DescribeOssUploadTokenResponseBodyOssUploadToken extends $t
1976
842
  [key: string]: any;
1977
843
  });
1978
844
  }
1979
- export declare class DescribeUpdatePackageResultResponseBodyAppInfoDebugPackageInfo extends $tea.Model {
1980
- version?: string;
845
+ export declare class CompareFacesResponseBodyData extends $tea.Model {
846
+ confidenceThresholds?: string;
847
+ similarityScore?: number;
1981
848
  static names(): {
1982
849
  [key: string]: string;
1983
850
  };
@@ -1988,8 +855,12 @@ export declare class DescribeUpdatePackageResultResponseBodyAppInfoDebugPackageI
1988
855
  [key: string]: any;
1989
856
  });
1990
857
  }
1991
- export declare class DescribeUpdatePackageResultResponseBodyAppInfoPackageInfo extends $tea.Model {
1992
- version?: string;
858
+ export declare class ContrastFaceVerifyResponseBodyResultObject extends $tea.Model {
859
+ certifyId?: string;
860
+ identityInfo?: string;
861
+ materialInfo?: string;
862
+ passed?: string;
863
+ subCode?: string;
1993
864
  static names(): {
1994
865
  [key: string]: string;
1995
866
  };
@@ -2000,16 +871,12 @@ export declare class DescribeUpdatePackageResultResponseBodyAppInfoPackageInfo e
2000
871
  [key: string]: any;
2001
872
  });
2002
873
  }
2003
- export declare class DescribeUpdatePackageResultResponseBodyAppInfo extends $tea.Model {
2004
- type?: number;
2005
- endDate?: string;
2006
- packageName?: string;
2007
- debugPackageInfo?: DescribeUpdatePackageResultResponseBodyAppInfoDebugPackageInfo;
2008
- icon?: string;
2009
- startDate?: string;
2010
- packageInfo?: DescribeUpdatePackageResultResponseBodyAppInfoPackageInfo;
2011
- name?: string;
2012
- id?: number;
874
+ export declare class DescribeDeviceInfoResponseBodyDeviceInfoListDeviceInfo extends $tea.Model {
875
+ beginDay?: string;
876
+ bizType?: string;
877
+ deviceId?: string;
878
+ expiredDay?: string;
879
+ userDeviceId?: string;
2013
880
  static names(): {
2014
881
  [key: string]: string;
2015
882
  };
@@ -2020,18 +887,8 @@ export declare class DescribeUpdatePackageResultResponseBodyAppInfo extends $tea
2020
887
  [key: string]: any;
2021
888
  });
2022
889
  }
2023
- export declare class DescribeVerifyRecordsResponseBodyRecordsListMaterialIdCardInfo extends $tea.Model {
2024
- endDate?: string;
2025
- sex?: string;
2026
- authority?: string;
2027
- address?: string;
2028
- number?: string;
2029
- startDate?: string;
2030
- nationality?: string;
2031
- backImageUrl?: string;
2032
- birth?: string;
2033
- name?: string;
2034
- frontImageUrl?: string;
890
+ export declare class DescribeDeviceInfoResponseBodyDeviceInfoList extends $tea.Model {
891
+ deviceInfo?: DescribeDeviceInfoResponseBodyDeviceInfoListDeviceInfo[];
2035
892
  static names(): {
2036
893
  [key: string]: string;
2037
894
  };
@@ -2042,11 +899,12 @@ export declare class DescribeVerifyRecordsResponseBodyRecordsListMaterialIdCardI
2042
899
  [key: string]: any;
2043
900
  });
2044
901
  }
2045
- export declare class DescribeVerifyRecordsResponseBodyRecordsListMaterial extends $tea.Model {
2046
- idCardNumber?: string;
2047
- faceImageUrl?: string;
2048
- idCardName?: string;
2049
- idCardInfo?: DescribeVerifyRecordsResponseBodyRecordsListMaterialIdCardInfo;
902
+ export declare class DescribeFaceVerifyResponseBodyResultObject extends $tea.Model {
903
+ deviceToken?: string;
904
+ identityInfo?: string;
905
+ materialInfo?: string;
906
+ passed?: string;
907
+ subCode?: string;
2050
908
  static names(): {
2051
909
  [key: string]: string;
2052
910
  };
@@ -2057,16 +915,14 @@ export declare class DescribeVerifyRecordsResponseBodyRecordsListMaterial extend
2057
915
  [key: string]: any;
2058
916
  });
2059
917
  }
2060
- export declare class DescribeVerifyRecordsResponseBodyRecordsList extends $tea.Model {
2061
- status?: number;
2062
- finishTime?: number;
2063
- material?: DescribeVerifyRecordsResponseBodyRecordsListMaterial;
2064
- idCardFaceComparisonScore?: number;
2065
- bizId?: string;
2066
- verifyId?: string;
2067
- authorityComparisonScore?: number;
2068
- dataStats?: string;
2069
- bizType?: string;
918
+ export declare class DescribeOssUploadTokenResponseBodyOssUploadToken extends $tea.Model {
919
+ bucket?: string;
920
+ endPoint?: string;
921
+ expired?: number;
922
+ key?: string;
923
+ path?: string;
924
+ secret?: string;
925
+ token?: string;
2070
926
  static names(): {
2071
927
  [key: string]: string;
2072
928
  };
@@ -2078,16 +934,16 @@ export declare class DescribeVerifyRecordsResponseBodyRecordsList extends $tea.M
2078
934
  });
2079
935
  }
2080
936
  export declare class DescribeVerifyResultResponseBodyMaterialIdCardInfo extends $tea.Model {
2081
- endDate?: string;
2082
- authority?: string;
2083
937
  address?: string;
2084
- number?: string;
2085
- startDate?: string;
938
+ authority?: string;
2086
939
  backImageUrl?: string;
2087
- nationality?: string;
2088
940
  birth?: string;
2089
- name?: string;
941
+ endDate?: string;
2090
942
  frontImageUrl?: string;
943
+ name?: string;
944
+ nationality?: string;
945
+ number?: string;
946
+ startDate?: string;
2091
947
  static names(): {
2092
948
  [key: string]: string;
2093
949
  };
@@ -2099,29 +955,14 @@ export declare class DescribeVerifyResultResponseBodyMaterialIdCardInfo extends
2099
955
  });
2100
956
  }
2101
957
  export declare class DescribeVerifyResultResponseBodyMaterial extends $tea.Model {
2102
- idCardNumber?: string;
2103
958
  faceGlobalUrl?: string;
2104
959
  faceImageUrl?: string;
2105
960
  faceMask?: boolean;
961
+ faceQuality?: string;
962
+ idCardInfo?: DescribeVerifyResultResponseBodyMaterialIdCardInfo;
2106
963
  idCardName?: string;
964
+ idCardNumber?: string;
2107
965
  videoUrls?: string[];
2108
- idCardInfo?: DescribeVerifyResultResponseBodyMaterialIdCardInfo;
2109
- faceQuality?: string;
2110
- static names(): {
2111
- [key: string]: string;
2112
- };
2113
- static types(): {
2114
- [key: string]: any;
2115
- };
2116
- constructor(map?: {
2117
- [key: string]: any;
2118
- });
2119
- }
2120
- export declare class DescribeVerifySettingResponseBodyVerifySettingList extends $tea.Model {
2121
- stepList?: string[];
2122
- bizName?: string;
2123
- solution?: string;
2124
- bizType?: string;
2125
966
  static names(): {
2126
967
  [key: string]: string;
2127
968
  };
@@ -2133,29 +974,13 @@ export declare class DescribeVerifySettingResponseBodyVerifySettingList extends
2133
974
  });
2134
975
  }
2135
976
  export declare class DescribeVerifyTokenResponseBodyOssUploadToken extends $tea.Model {
2136
- key?: string;
2137
- token?: string;
2138
- secret?: string;
977
+ bucket?: string;
978
+ endPoint?: string;
2139
979
  expired?: number;
980
+ key?: string;
2140
981
  path?: string;
2141
- endPoint?: string;
2142
- bucket?: string;
2143
- static names(): {
2144
- [key: string]: string;
2145
- };
2146
- static types(): {
2147
- [key: string]: any;
2148
- };
2149
- constructor(map?: {
2150
- [key: string]: any;
2151
- });
2152
- }
2153
- export declare class DescribeVerifyUsageResponseBodyVerifyUsageList extends $tea.Model {
2154
- passCount?: number;
2155
- failCount?: number;
2156
- date?: string;
2157
- totalCount?: number;
2158
- bizType?: string;
982
+ secret?: string;
983
+ token?: string;
2159
984
  static names(): {
2160
985
  [key: string]: string;
2161
986
  };
@@ -2166,17 +991,10 @@ export declare class DescribeVerifyUsageResponseBodyVerifyUsageList extends $tea
2166
991
  [key: string]: any;
2167
992
  });
2168
993
  }
2169
- export declare class DescribeWhitelistResponseBodyItems extends $tea.Model {
2170
- endDate?: number;
2171
- gmtCreate?: number;
2172
- bizId?: string;
2173
- startDate?: number;
2174
- idCardNum?: string;
2175
- gmtModified?: number;
2176
- valid?: number;
2177
- id?: number;
2178
- bizType?: string;
2179
- uid?: number;
994
+ export declare class DetectFaceAttributesResponseBodyDataFaceInfosFaceAttributesDetectInfoFaceAttributesHeadpose extends $tea.Model {
995
+ pitchAngle?: number;
996
+ rollAngle?: number;
997
+ yawAngle?: number;
2180
998
  static names(): {
2181
999
  [key: string]: string;
2182
1000
  };
@@ -2188,22 +1006,8 @@ export declare class DescribeWhitelistResponseBodyItems extends $tea.Model {
2188
1006
  });
2189
1007
  }
2190
1008
  export declare class DetectFaceAttributesResponseBodyDataFaceInfosFaceAttributesDetectInfoFaceAttributesSmiling extends $tea.Model {
2191
- value?: number;
2192
1009
  threshold?: number;
2193
- static names(): {
2194
- [key: string]: string;
2195
- };
2196
- static types(): {
2197
- [key: string]: any;
2198
- };
2199
- constructor(map?: {
2200
- [key: string]: any;
2201
- });
2202
- }
2203
- export declare class DetectFaceAttributesResponseBodyDataFaceInfosFaceAttributesDetectInfoFaceAttributesHeadpose extends $tea.Model {
2204
- pitchAngle?: number;
2205
- rollAngle?: number;
2206
- yawAngle?: number;
1010
+ value?: number;
2207
1011
  static names(): {
2208
1012
  [key: string]: string;
2209
1013
  };
@@ -2215,14 +1019,14 @@ export declare class DetectFaceAttributesResponseBodyDataFaceInfosFaceAttributes
2215
1019
  });
2216
1020
  }
2217
1021
  export declare class DetectFaceAttributesResponseBodyDataFaceInfosFaceAttributesDetectInfoFaceAttributes extends $tea.Model {
2218
- glasses?: string;
1022
+ blur?: number;
2219
1023
  facequal?: number;
2220
- integrity?: number;
2221
- smiling?: DetectFaceAttributesResponseBodyDataFaceInfosFaceAttributesDetectInfoFaceAttributesSmiling;
2222
1024
  facetype?: string;
2223
- respirator?: string;
1025
+ glasses?: string;
2224
1026
  headpose?: DetectFaceAttributesResponseBodyDataFaceInfosFaceAttributesDetectInfoFaceAttributesHeadpose;
2225
- blur?: number;
1027
+ integrity?: number;
1028
+ respirator?: string;
1029
+ smiling?: DetectFaceAttributesResponseBodyDataFaceInfosFaceAttributesDetectInfoFaceAttributesSmiling;
2226
1030
  static names(): {
2227
1031
  [key: string]: string;
2228
1032
  };
@@ -2234,10 +1038,10 @@ export declare class DetectFaceAttributesResponseBodyDataFaceInfosFaceAttributes
2234
1038
  });
2235
1039
  }
2236
1040
  export declare class DetectFaceAttributesResponseBodyDataFaceInfosFaceAttributesDetectInfoFaceRect extends $tea.Model {
2237
- top?: number;
2238
- width?: number;
2239
1041
  height?: number;
2240
1042
  left?: number;
1043
+ top?: number;
1044
+ width?: number;
2241
1045
  static names(): {
2242
1046
  [key: string]: string;
2243
1047
  };
@@ -2274,35 +1078,9 @@ export declare class DetectFaceAttributesResponseBodyDataFaceInfos extends $tea.
2274
1078
  });
2275
1079
  }
2276
1080
  export declare class DetectFaceAttributesResponseBodyData extends $tea.Model {
1081
+ faceInfos?: DetectFaceAttributesResponseBodyDataFaceInfos;
2277
1082
  imgHeight?: number;
2278
1083
  imgWidth?: number;
2279
- faceInfos?: DetectFaceAttributesResponseBodyDataFaceInfos;
2280
- static names(): {
2281
- [key: string]: string;
2282
- };
2283
- static types(): {
2284
- [key: string]: any;
2285
- };
2286
- constructor(map?: {
2287
- [key: string]: any;
2288
- });
2289
- }
2290
- export declare class InitDeviceResponseBodyResultObject extends $tea.Model {
2291
- ossEndPoint?: string;
2292
- retCodeSub?: string;
2293
- protocol?: string;
2294
- message?: string;
2295
- extParams?: string;
2296
- certifyId?: string;
2297
- fileName?: string;
2298
- accessKeyId?: string;
2299
- presignedUrl?: string;
2300
- securityToken?: string;
2301
- bucketName?: string;
2302
- fileNamePrefix?: string;
2303
- accessKeySecret?: string;
2304
- retMessageSub?: string;
2305
- retCode?: string;
2306
1084
  static names(): {
2307
1085
  [key: string]: string;
2308
1086
  };
@@ -2327,26 +1105,10 @@ export declare class InitFaceVerifyResponseBodyResultObject extends $tea.Model {
2327
1105
  });
2328
1106
  }
2329
1107
  export declare class LivenessFaceVerifyResponseBodyResultObject extends $tea.Model {
1108
+ certifyId?: string;
2330
1109
  materialInfo?: string;
2331
- subCode?: string;
2332
1110
  passed?: string;
2333
- static names(): {
2334
- [key: string]: string;
2335
- };
2336
- static types(): {
2337
- [key: string]: any;
2338
- };
2339
- constructor(map?: {
2340
- [key: string]: any;
2341
- });
2342
- }
2343
- export declare class VerifyDeviceResponseBodyResultObject extends $tea.Model {
2344
- retCodeSub?: string;
2345
- productRetCode?: string;
2346
- hasNext?: string;
2347
- retMessageSub?: string;
2348
- extParams?: string;
2349
- validationRetCode?: string;
1111
+ subCode?: string;
2350
1112
  static names(): {
2351
1113
  [key: string]: string;
2352
1114
  };
@@ -2358,16 +1120,16 @@ export declare class VerifyDeviceResponseBodyResultObject extends $tea.Model {
2358
1120
  });
2359
1121
  }
2360
1122
  export declare class VerifyMaterialResponseBodyMaterialIdCardInfo extends $tea.Model {
2361
- endDate?: string;
2362
- authority?: string;
2363
1123
  address?: string;
2364
- number?: string;
2365
- startDate?: string;
1124
+ authority?: string;
2366
1125
  backImageUrl?: string;
2367
- nationality?: string;
2368
1126
  birth?: string;
2369
- name?: string;
1127
+ endDate?: string;
2370
1128
  frontImageUrl?: string;
1129
+ name?: string;
1130
+ nationality?: string;
1131
+ number?: string;
1132
+ startDate?: string;
2371
1133
  static names(): {
2372
1134
  [key: string]: string;
2373
1135
  };
@@ -2379,13 +1141,13 @@ export declare class VerifyMaterialResponseBodyMaterialIdCardInfo extends $tea.M
2379
1141
  });
2380
1142
  }
2381
1143
  export declare class VerifyMaterialResponseBodyMaterial extends $tea.Model {
2382
- idCardNumber?: string;
2383
1144
  faceGlobalUrl?: string;
2384
1145
  faceImageUrl?: string;
2385
1146
  faceMask?: string;
2386
- idCardName?: string;
2387
- idCardInfo?: VerifyMaterialResponseBodyMaterialIdCardInfo;
2388
1147
  faceQuality?: string;
1148
+ idCardInfo?: VerifyMaterialResponseBodyMaterialIdCardInfo;
1149
+ idCardName?: string;
1150
+ idCardNumber?: string;
2389
1151
  static names(): {
2390
1152
  [key: string]: string;
2391
1153
  };
@@ -2401,81 +1163,37 @@ export default class Client extends OpenApi {
2401
1163
  getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
2402
1164
  [key: string]: string;
2403
1165
  }, endpoint: string): string;
2404
- compareFacesWithOptions(request: CompareFacesRequest, runtime: $Util.RuntimeOptions): Promise<CompareFacesResponse>;
2405
- compareFaces(request: CompareFacesRequest): Promise<CompareFacesResponse>;
2406
1166
  compareFaceVerifyWithOptions(request: CompareFaceVerifyRequest, runtime: $Util.RuntimeOptions): Promise<CompareFaceVerifyResponse>;
2407
1167
  compareFaceVerify(request: CompareFaceVerifyRequest): Promise<CompareFaceVerifyResponse>;
1168
+ compareFacesWithOptions(request: CompareFacesRequest, runtime: $Util.RuntimeOptions): Promise<CompareFacesResponse>;
1169
+ compareFaces(request: CompareFacesRequest): Promise<CompareFacesResponse>;
2408
1170
  contrastFaceVerifyWithOptions(request: ContrastFaceVerifyRequest, runtime: $Util.RuntimeOptions): Promise<ContrastFaceVerifyResponse>;
2409
1171
  contrastFaceVerify(request: ContrastFaceVerifyRequest): Promise<ContrastFaceVerifyResponse>;
2410
1172
  contrastFaceVerifyAdvance(request: ContrastFaceVerifyAdvanceRequest, runtime: $Util.RuntimeOptions): Promise<ContrastFaceVerifyResponse>;
2411
1173
  createAuthKeyWithOptions(request: CreateAuthKeyRequest, runtime: $Util.RuntimeOptions): Promise<CreateAuthKeyResponse>;
2412
1174
  createAuthKey(request: CreateAuthKeyRequest): Promise<CreateAuthKeyResponse>;
2413
- createFaceConfigWithOptions(request: CreateFaceConfigRequest, runtime: $Util.RuntimeOptions): Promise<CreateFaceConfigResponse>;
2414
- createFaceConfig(request: CreateFaceConfigRequest): Promise<CreateFaceConfigResponse>;
2415
- createRPSDKWithOptions(request: CreateRPSDKRequest, runtime: $Util.RuntimeOptions): Promise<CreateRPSDKResponse>;
2416
- createRPSDK(request: CreateRPSDKRequest): Promise<CreateRPSDKResponse>;
2417
- createVerifySDKWithOptions(request: CreateVerifySDKRequest, runtime: $Util.RuntimeOptions): Promise<CreateVerifySDKResponse>;
2418
- createVerifySDK(request: CreateVerifySDKRequest): Promise<CreateVerifySDKResponse>;
2419
1175
  createVerifySettingWithOptions(request: CreateVerifySettingRequest, runtime: $Util.RuntimeOptions): Promise<CreateVerifySettingResponse>;
2420
1176
  createVerifySetting(request: CreateVerifySettingRequest): Promise<CreateVerifySettingResponse>;
2421
- createWhitelistWithOptions(request: CreateWhitelistRequest, runtime: $Util.RuntimeOptions): Promise<CreateWhitelistResponse>;
2422
- createWhitelist(request: CreateWhitelistRequest): Promise<CreateWhitelistResponse>;
2423
- deleteWhitelistWithOptions(request: DeleteWhitelistRequest, runtime: $Util.RuntimeOptions): Promise<DeleteWhitelistResponse>;
2424
- deleteWhitelist(request: DeleteWhitelistRequest): Promise<DeleteWhitelistResponse>;
2425
- describeAppInfoWithOptions(request: DescribeAppInfoRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAppInfoResponse>;
2426
- describeAppInfo(request: DescribeAppInfoRequest): Promise<DescribeAppInfoResponse>;
2427
1177
  describeDeviceInfoWithOptions(request: DescribeDeviceInfoRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDeviceInfoResponse>;
2428
1178
  describeDeviceInfo(request: DescribeDeviceInfoRequest): Promise<DescribeDeviceInfoResponse>;
2429
- describeFaceConfigWithOptions(request: DescribeFaceConfigRequest, runtime: $Util.RuntimeOptions): Promise<DescribeFaceConfigResponse>;
2430
- describeFaceConfig(request: DescribeFaceConfigRequest): Promise<DescribeFaceConfigResponse>;
2431
- describeFaceUsageWithOptions(request: DescribeFaceUsageRequest, runtime: $Util.RuntimeOptions): Promise<DescribeFaceUsageResponse>;
2432
- describeFaceUsage(request: DescribeFaceUsageRequest): Promise<DescribeFaceUsageResponse>;
2433
1179
  describeFaceVerifyWithOptions(request: DescribeFaceVerifyRequest, runtime: $Util.RuntimeOptions): Promise<DescribeFaceVerifyResponse>;
2434
1180
  describeFaceVerify(request: DescribeFaceVerifyRequest): Promise<DescribeFaceVerifyResponse>;
2435
- describeOssUploadTokenWithOptions(request: DescribeOssUploadTokenRequest, runtime: $Util.RuntimeOptions): Promise<DescribeOssUploadTokenResponse>;
2436
- describeOssUploadToken(request: DescribeOssUploadTokenRequest): Promise<DescribeOssUploadTokenResponse>;
2437
- describeRPSDKWithOptions(request: DescribeRPSDKRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRPSDKResponse>;
2438
- describeRPSDK(request: DescribeRPSDKRequest): Promise<DescribeRPSDKResponse>;
2439
- describeSdkUrlWithOptions(request: DescribeSdkUrlRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSdkUrlResponse>;
2440
- describeSdkUrl(request: DescribeSdkUrlRequest): Promise<DescribeSdkUrlResponse>;
2441
- describeUpdatePackageResultWithOptions(request: DescribeUpdatePackageResultRequest, runtime: $Util.RuntimeOptions): Promise<DescribeUpdatePackageResultResponse>;
2442
- describeUpdatePackageResult(request: DescribeUpdatePackageResultRequest): Promise<DescribeUpdatePackageResultResponse>;
2443
- describeUploadInfoWithOptions(request: DescribeUploadInfoRequest, runtime: $Util.RuntimeOptions): Promise<DescribeUploadInfoResponse>;
2444
- describeUploadInfo(request: DescribeUploadInfoRequest): Promise<DescribeUploadInfoResponse>;
2445
- describeUserStatusWithOptions(request: DescribeUserStatusRequest, runtime: $Util.RuntimeOptions): Promise<DescribeUserStatusResponse>;
2446
- describeUserStatus(request: DescribeUserStatusRequest): Promise<DescribeUserStatusResponse>;
2447
- describeVerifyRecordsWithOptions(request: DescribeVerifyRecordsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeVerifyRecordsResponse>;
2448
- describeVerifyRecords(request: DescribeVerifyRecordsRequest): Promise<DescribeVerifyRecordsResponse>;
1181
+ describeOssUploadTokenWithOptions(runtime: $Util.RuntimeOptions): Promise<DescribeOssUploadTokenResponse>;
1182
+ describeOssUploadToken(): Promise<DescribeOssUploadTokenResponse>;
2449
1183
  describeVerifyResultWithOptions(request: DescribeVerifyResultRequest, runtime: $Util.RuntimeOptions): Promise<DescribeVerifyResultResponse>;
2450
1184
  describeVerifyResult(request: DescribeVerifyResultRequest): Promise<DescribeVerifyResultResponse>;
2451
1185
  describeVerifySDKWithOptions(request: DescribeVerifySDKRequest, runtime: $Util.RuntimeOptions): Promise<DescribeVerifySDKResponse>;
2452
1186
  describeVerifySDK(request: DescribeVerifySDKRequest): Promise<DescribeVerifySDKResponse>;
2453
- describeVerifySettingWithOptions(request: DescribeVerifySettingRequest, runtime: $Util.RuntimeOptions): Promise<DescribeVerifySettingResponse>;
2454
- describeVerifySetting(request: DescribeVerifySettingRequest): Promise<DescribeVerifySettingResponse>;
2455
1187
  describeVerifyTokenWithOptions(request: DescribeVerifyTokenRequest, runtime: $Util.RuntimeOptions): Promise<DescribeVerifyTokenResponse>;
2456
1188
  describeVerifyToken(request: DescribeVerifyTokenRequest): Promise<DescribeVerifyTokenResponse>;
2457
- describeVerifyUsageWithOptions(request: DescribeVerifyUsageRequest, runtime: $Util.RuntimeOptions): Promise<DescribeVerifyUsageResponse>;
2458
- describeVerifyUsage(request: DescribeVerifyUsageRequest): Promise<DescribeVerifyUsageResponse>;
2459
- describeWhitelistWithOptions(request: DescribeWhitelistRequest, runtime: $Util.RuntimeOptions): Promise<DescribeWhitelistResponse>;
2460
- describeWhitelist(request: DescribeWhitelistRequest): Promise<DescribeWhitelistResponse>;
2461
1189
  detectFaceAttributesWithOptions(request: DetectFaceAttributesRequest, runtime: $Util.RuntimeOptions): Promise<DetectFaceAttributesResponse>;
2462
1190
  detectFaceAttributes(request: DetectFaceAttributesRequest): Promise<DetectFaceAttributesResponse>;
2463
- initDeviceWithOptions(request: InitDeviceRequest, runtime: $Util.RuntimeOptions): Promise<InitDeviceResponse>;
2464
- initDevice(request: InitDeviceRequest): Promise<InitDeviceResponse>;
2465
1191
  initFaceVerifyWithOptions(request: InitFaceVerifyRequest, runtime: $Util.RuntimeOptions): Promise<InitFaceVerifyResponse>;
2466
1192
  initFaceVerify(request: InitFaceVerifyRequest): Promise<InitFaceVerifyResponse>;
2467
1193
  livenessFaceVerifyWithOptions(request: LivenessFaceVerifyRequest, runtime: $Util.RuntimeOptions): Promise<LivenessFaceVerifyResponse>;
2468
1194
  livenessFaceVerify(request: LivenessFaceVerifyRequest): Promise<LivenessFaceVerifyResponse>;
2469
1195
  modifyDeviceInfoWithOptions(request: ModifyDeviceInfoRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDeviceInfoResponse>;
2470
1196
  modifyDeviceInfo(request: ModifyDeviceInfoRequest): Promise<ModifyDeviceInfoResponse>;
2471
- updateAppPackageWithOptions(request: UpdateAppPackageRequest, runtime: $Util.RuntimeOptions): Promise<UpdateAppPackageResponse>;
2472
- updateAppPackage(request: UpdateAppPackageRequest): Promise<UpdateAppPackageResponse>;
2473
- updateFaceConfigWithOptions(request: UpdateFaceConfigRequest, runtime: $Util.RuntimeOptions): Promise<UpdateFaceConfigResponse>;
2474
- updateFaceConfig(request: UpdateFaceConfigRequest): Promise<UpdateFaceConfigResponse>;
2475
- updateVerifySettingWithOptions(request: UpdateVerifySettingRequest, runtime: $Util.RuntimeOptions): Promise<UpdateVerifySettingResponse>;
2476
- updateVerifySetting(request: UpdateVerifySettingRequest): Promise<UpdateVerifySettingResponse>;
2477
- verifyDeviceWithOptions(request: VerifyDeviceRequest, runtime: $Util.RuntimeOptions): Promise<VerifyDeviceResponse>;
2478
- verifyDevice(request: VerifyDeviceRequest): Promise<VerifyDeviceResponse>;
2479
1197
  verifyMaterialWithOptions(request: VerifyMaterialRequest, runtime: $Util.RuntimeOptions): Promise<VerifyMaterialResponse>;
2480
1198
  verifyMaterial(request: VerifyMaterialRequest): Promise<VerifyMaterialResponse>;
2481
1199
  }