@antchain/realperson 1.1.4 → 1.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.d.ts CHANGED
@@ -1,4 +1,6 @@
1
+ /// <reference types="node" />
1
2
  import * as $Util from '@alicloud/tea-util';
3
+ import { Readable } from 'stream';
2
4
  import * as $tea from '@alicloud/tea-typescript';
3
5
  /**
4
6
  * Model for initing client
@@ -18,6 +20,10 @@ export declare class Config extends $tea.Model {
18
20
  userAgent?: string;
19
21
  socks5Proxy?: string;
20
22
  socks5NetWork?: string;
23
+ maxIdleTimeMillis?: number;
24
+ keepAliveDurationMillis?: number;
25
+ maxRequests?: number;
26
+ maxRequestsPerHost?: number;
21
27
  static names(): {
22
28
  [key: string]: string;
23
29
  };
@@ -28,15 +34,493 @@ export declare class Config extends $tea.Model {
28
34
  [key: string]: any;
29
35
  });
30
36
  }
31
- export declare class QueryDiRealpersonFacevrfServerRequest extends $tea.Model {
37
+ export declare class AudioMeta extends $tea.Model {
38
+ sampleFreq?: number;
39
+ channelsNum?: number;
40
+ bits?: number;
41
+ channel?: number;
42
+ static names(): {
43
+ [key: string]: string;
44
+ };
45
+ static types(): {
46
+ [key: string]: any;
47
+ };
48
+ constructor(map?: {
49
+ [key: string]: any;
50
+ });
51
+ }
52
+ export declare class Audio extends $tea.Model {
53
+ token?: string;
54
+ rawData?: string;
55
+ audioUrl?: string;
56
+ static names(): {
57
+ [key: string]: string;
58
+ };
59
+ static types(): {
60
+ [key: string]: any;
61
+ };
62
+ constructor(map?: {
63
+ [key: string]: any;
64
+ });
65
+ }
66
+ export declare class XNameValuePair extends $tea.Model {
67
+ name: string;
68
+ value: string;
69
+ static names(): {
70
+ [key: string]: string;
71
+ };
72
+ static types(): {
73
+ [key: string]: any;
74
+ };
75
+ constructor(map?: {
76
+ [key: string]: any;
77
+ });
78
+ }
79
+ export declare class QueryFacevrfServerRequest extends $tea.Model {
80
+ authToken?: string;
81
+ productInstanceId?: string;
82
+ certifyId: string;
83
+ externParam?: string;
84
+ materialHash?: string;
85
+ outerOrderNo: string;
86
+ sceneId: string;
87
+ static names(): {
88
+ [key: string]: string;
89
+ };
90
+ static types(): {
91
+ [key: string]: any;
92
+ };
93
+ constructor(map?: {
94
+ [key: string]: any;
95
+ });
96
+ }
97
+ export declare class QueryFacevrfServerResponse extends $tea.Model {
98
+ reqMsgId?: string;
99
+ resultCode?: string;
100
+ resultMsg?: string;
101
+ identityInfo?: string;
102
+ materialInfo?: string;
103
+ materialMatched?: string;
104
+ passed?: string;
105
+ reason?: string;
106
+ static names(): {
107
+ [key: string]: string;
108
+ };
109
+ static types(): {
110
+ [key: string]: any;
111
+ };
112
+ constructor(map?: {
113
+ [key: string]: any;
114
+ });
115
+ }
116
+ export declare class CreateFacevrfServerRequest extends $tea.Model {
117
+ authToken?: string;
118
+ productInstanceId?: string;
119
+ bizCode: string;
120
+ callbackUrl?: string;
121
+ certName: string;
122
+ certNo: string;
123
+ encType?: string;
124
+ certType: string;
125
+ externParam?: string;
126
+ facialPictureRef?: string;
127
+ identityType: string;
128
+ metaInfo?: string;
129
+ outerOrderNo: string;
130
+ returnUrl?: string;
131
+ sceneId: string;
132
+ userId?: string;
133
+ userIp?: string;
134
+ userMobile?: string;
135
+ callbackNeedRetry?: boolean;
136
+ model?: string;
137
+ static names(): {
138
+ [key: string]: string;
139
+ };
140
+ static types(): {
141
+ [key: string]: any;
142
+ };
143
+ constructor(map?: {
144
+ [key: string]: any;
145
+ });
146
+ }
147
+ export declare class CreateFacevrfServerResponse extends $tea.Model {
148
+ reqMsgId?: string;
149
+ resultCode?: string;
150
+ resultMsg?: string;
151
+ certifyId?: string;
152
+ certifyUrl?: string;
153
+ static names(): {
154
+ [key: string]: string;
155
+ };
156
+ static types(): {
157
+ [key: string]: any;
158
+ };
159
+ constructor(map?: {
160
+ [key: string]: any;
161
+ });
162
+ }
163
+ export declare class ExecFacevrfServerRequest extends $tea.Model {
164
+ authToken?: string;
165
+ productInstanceId?: string;
166
+ certName: string;
167
+ certNo: string;
168
+ encType?: string;
169
+ certType: string;
170
+ externParam?: string;
171
+ facialPictureRef?: string;
172
+ identityType: string;
173
+ outerOrderNo: string;
174
+ sceneId: string;
175
+ userId?: string;
176
+ userIp?: string;
177
+ userMobile?: string;
178
+ facialPictureAuth: string;
179
+ static names(): {
180
+ [key: string]: string;
181
+ };
182
+ static types(): {
183
+ [key: string]: any;
184
+ };
185
+ constructor(map?: {
186
+ [key: string]: any;
187
+ });
188
+ }
189
+ export declare class ExecFacevrfServerResponse extends $tea.Model {
190
+ reqMsgId?: string;
191
+ resultCode?: string;
192
+ resultMsg?: string;
193
+ certifyId?: string;
194
+ passed?: string;
195
+ reason?: string;
196
+ materialInfo?: string;
197
+ static names(): {
198
+ [key: string]: string;
199
+ };
200
+ static types(): {
201
+ [key: string]: any;
202
+ };
203
+ constructor(map?: {
204
+ [key: string]: any;
205
+ });
206
+ }
207
+ export declare class GetFacevrfEvidenceRequest extends $tea.Model {
208
+ authToken?: string;
209
+ productInstanceId?: string;
210
+ certifyId: string;
211
+ static names(): {
212
+ [key: string]: string;
213
+ };
214
+ static types(): {
215
+ [key: string]: any;
216
+ };
217
+ constructor(map?: {
218
+ [key: string]: any;
219
+ });
220
+ }
221
+ export declare class GetFacevrfEvidenceResponse extends $tea.Model {
222
+ reqMsgId?: string;
223
+ resultCode?: string;
224
+ resultMsg?: string;
225
+ certifyId?: string;
226
+ onchainId?: string;
227
+ onchainStatus?: string;
228
+ pdfExpired?: boolean;
229
+ pdfContent?: string;
230
+ static names(): {
231
+ [key: string]: string;
232
+ };
233
+ static types(): {
234
+ [key: string]: any;
235
+ };
236
+ constructor(map?: {
237
+ [key: string]: any;
238
+ });
239
+ }
240
+ export declare class CheckIndividualidTwometaRequest extends $tea.Model {
241
+ authToken?: string;
242
+ productInstanceId?: string;
243
+ outerOrderNo: string;
244
+ certName: string;
245
+ certNo: string;
246
+ externParam?: string;
247
+ scene?: string;
248
+ static names(): {
249
+ [key: string]: string;
250
+ };
251
+ static types(): {
252
+ [key: string]: any;
253
+ };
254
+ constructor(map?: {
255
+ [key: string]: any;
256
+ });
257
+ }
258
+ export declare class CheckIndividualidTwometaResponse extends $tea.Model {
259
+ reqMsgId?: string;
260
+ resultCode?: string;
261
+ resultMsg?: string;
262
+ match?: string;
263
+ externInfo?: string;
264
+ static names(): {
265
+ [key: string]: string;
266
+ };
267
+ static types(): {
268
+ [key: string]: any;
269
+ };
270
+ constructor(map?: {
271
+ [key: string]: any;
272
+ });
273
+ }
274
+ export declare class CheckIndividualidThreemetaRequest extends $tea.Model {
275
+ authToken?: string;
276
+ productInstanceId?: string;
277
+ outerOrderNo: string;
278
+ certName: string;
279
+ certNo: string;
280
+ mobile: string;
281
+ externParam?: string;
282
+ static names(): {
283
+ [key: string]: string;
284
+ };
285
+ static types(): {
286
+ [key: string]: any;
287
+ };
288
+ constructor(map?: {
289
+ [key: string]: any;
290
+ });
291
+ }
292
+ export declare class CheckIndividualidThreemetaResponse extends $tea.Model {
293
+ reqMsgId?: string;
294
+ resultCode?: string;
295
+ resultMsg?: string;
296
+ match?: string;
297
+ externInfo?: string;
298
+ static names(): {
299
+ [key: string]: string;
300
+ };
301
+ static types(): {
302
+ [key: string]: any;
303
+ };
304
+ constructor(map?: {
305
+ [key: string]: any;
306
+ });
307
+ }
308
+ export declare class CheckIndividualidFourmetaRequest extends $tea.Model {
309
+ authToken?: string;
310
+ productInstanceId?: string;
311
+ outerOrderNo: string;
312
+ certName: string;
313
+ certNo: string;
314
+ mobile: string;
315
+ bankCard: string;
316
+ externParam?: string;
317
+ static names(): {
318
+ [key: string]: string;
319
+ };
320
+ static types(): {
321
+ [key: string]: any;
322
+ };
323
+ constructor(map?: {
324
+ [key: string]: any;
325
+ });
326
+ }
327
+ export declare class CheckIndividualidFourmetaResponse extends $tea.Model {
328
+ reqMsgId?: string;
329
+ resultCode?: string;
330
+ resultMsg?: string;
331
+ match?: string;
332
+ externInfo?: string;
333
+ static names(): {
334
+ [key: string]: string;
335
+ };
336
+ static types(): {
337
+ [key: string]: any;
338
+ };
339
+ constructor(map?: {
340
+ [key: string]: any;
341
+ });
342
+ }
343
+ export declare class CheckRouteThreemetaRequest extends $tea.Model {
344
+ authToken?: string;
345
+ productInstanceId?: string;
346
+ outerOrderNo: string;
347
+ certName: string;
348
+ certNo: string;
349
+ mobile: string;
350
+ scene: string;
351
+ externParam?: string;
352
+ static names(): {
353
+ [key: string]: string;
354
+ };
355
+ static types(): {
356
+ [key: string]: any;
357
+ };
358
+ constructor(map?: {
359
+ [key: string]: any;
360
+ });
361
+ }
362
+ export declare class CheckRouteThreemetaResponse extends $tea.Model {
363
+ reqMsgId?: string;
364
+ resultCode?: string;
365
+ resultMsg?: string;
366
+ match?: string;
367
+ externInfo?: string;
368
+ static names(): {
369
+ [key: string]: string;
370
+ };
371
+ static types(): {
372
+ [key: string]: any;
373
+ };
374
+ constructor(map?: {
375
+ [key: string]: any;
376
+ });
377
+ }
378
+ export declare class CreateVoiceprintServermodeRequest extends $tea.Model {
379
+ authToken?: string;
380
+ productInstanceId?: string;
381
+ outerOrderNo: string;
382
+ userId: string;
383
+ fileObject?: Readable;
384
+ fileObjectName?: string;
385
+ fileId?: string;
386
+ audioMeta: AudioMeta;
387
+ audios: Audio[];
388
+ externParam?: string;
389
+ static names(): {
390
+ [key: string]: string;
391
+ };
392
+ static types(): {
393
+ [key: string]: any;
394
+ };
395
+ constructor(map?: {
396
+ [key: string]: any;
397
+ });
398
+ }
399
+ export declare class CreateVoiceprintServermodeResponse extends $tea.Model {
400
+ reqMsgId?: string;
401
+ resultCode?: string;
402
+ resultMsg?: string;
403
+ externInfo?: string;
404
+ resultCodeSub?: string;
405
+ resultMsgSub?: string;
406
+ static names(): {
407
+ [key: string]: string;
408
+ };
409
+ static types(): {
410
+ [key: string]: any;
411
+ };
412
+ constructor(map?: {
413
+ [key: string]: any;
414
+ });
415
+ }
416
+ export declare class VerifyVoiceprintServermodeRequest extends $tea.Model {
417
+ authToken?: string;
418
+ productInstanceId?: string;
419
+ outerOrderNo: string;
420
+ userId: string;
421
+ audioAuth?: string;
422
+ audioUrl?: string;
423
+ audioMeta: AudioMeta;
424
+ externParam?: string;
425
+ static names(): {
426
+ [key: string]: string;
427
+ };
428
+ static types(): {
429
+ [key: string]: any;
430
+ };
431
+ constructor(map?: {
432
+ [key: string]: any;
433
+ });
434
+ }
435
+ export declare class VerifyVoiceprintServermodeResponse extends $tea.Model {
436
+ reqMsgId?: string;
437
+ resultCode?: string;
438
+ resultMsg?: string;
439
+ certifyId?: string;
440
+ externInfo?: string;
441
+ resultCodeSub?: string;
442
+ resultMsgSub?: string;
443
+ static names(): {
444
+ [key: string]: string;
445
+ };
446
+ static types(): {
447
+ [key: string]: any;
448
+ };
449
+ constructor(map?: {
450
+ [key: string]: any;
451
+ });
452
+ }
453
+ export declare class CheckRouteTwometaRequest extends $tea.Model {
454
+ authToken?: string;
455
+ productInstanceId?: string;
456
+ outerOrderNo: string;
457
+ certName: string;
458
+ certNo: string;
459
+ scene: string;
460
+ externParam?: string;
461
+ static names(): {
462
+ [key: string]: string;
463
+ };
464
+ static types(): {
465
+ [key: string]: any;
466
+ };
467
+ constructor(map?: {
468
+ [key: string]: any;
469
+ });
470
+ }
471
+ export declare class CheckRouteTwometaResponse extends $tea.Model {
472
+ reqMsgId?: string;
473
+ resultCode?: string;
474
+ resultMsg?: string;
475
+ match?: string;
476
+ externInfo?: string;
477
+ static names(): {
478
+ [key: string]: string;
479
+ };
480
+ static types(): {
481
+ [key: string]: any;
482
+ };
483
+ constructor(map?: {
484
+ [key: string]: any;
485
+ });
486
+ }
487
+ export declare class QueryMobileRiskRequest extends $tea.Model {
32
488
  authToken?: string;
33
489
  productInstanceId?: string;
34
- regionName?: string;
35
- certifyId?: string;
490
+ outerOrderNo: string;
491
+ apdidToken: string;
492
+ scene?: string;
493
+ static names(): {
494
+ [key: string]: string;
495
+ };
496
+ static types(): {
497
+ [key: string]: any;
498
+ };
499
+ constructor(map?: {
500
+ [key: string]: any;
501
+ });
502
+ }
503
+ export declare class QueryMobileRiskResponse extends $tea.Model {
504
+ reqMsgId?: string;
505
+ resultCode?: string;
506
+ resultMsg?: string;
507
+ deviceInfo?: string;
508
+ riskInfo?: string;
509
+ static names(): {
510
+ [key: string]: string;
511
+ };
512
+ static types(): {
513
+ [key: string]: any;
514
+ };
515
+ constructor(map?: {
516
+ [key: string]: any;
517
+ });
518
+ }
519
+ export declare class DetailFacevrfServerRequest extends $tea.Model {
520
+ authToken?: string;
521
+ productInstanceId?: string;
522
+ certifyId: string;
36
523
  externParam?: string;
37
- materialHash?: string;
38
- outerOrderNo?: string;
39
- sceneId?: string;
40
524
  static names(): {
41
525
  [key: string]: string;
42
526
  };
@@ -47,15 +531,13 @@ export declare class QueryDiRealpersonFacevrfServerRequest extends $tea.Model {
47
531
  [key: string]: any;
48
532
  });
49
533
  }
50
- export declare class QueryDiRealpersonFacevrfServerResponse extends $tea.Model {
534
+ export declare class DetailFacevrfServerResponse extends $tea.Model {
51
535
  reqMsgId?: string;
52
536
  resultCode?: string;
53
537
  resultMsg?: string;
538
+ state?: string;
54
539
  identityInfo?: string;
55
- materialInfo?: string;
56
- materialMatched?: string;
57
- passed?: string;
58
- reason?: string;
540
+ externInfo?: string;
59
541
  static names(): {
60
542
  [key: string]: string;
61
543
  };
@@ -66,25 +548,15 @@ export declare class QueryDiRealpersonFacevrfServerResponse extends $tea.Model {
66
548
  [key: string]: any;
67
549
  });
68
550
  }
69
- export declare class CreateDiRealpersonFacevrfServerRequest extends $tea.Model {
551
+ export declare class CheckAnticheatPersonalRequest extends $tea.Model {
70
552
  authToken?: string;
71
553
  productInstanceId?: string;
72
- regionName?: string;
73
- bizCode?: string;
74
- callbackUrl?: string;
554
+ outerOrderNo: string;
75
555
  certName?: string;
76
- certNo?: string;
77
- certType?: string;
556
+ certNo: string;
557
+ companyName: string;
558
+ companyNo?: string;
78
559
  externParam?: string;
79
- facialPictureRef?: string;
80
- identityType?: string;
81
- metaInfo?: string;
82
- outerOrderNo?: string;
83
- returnUrl?: string;
84
- sceneId?: string;
85
- userId?: string;
86
- userIp?: string;
87
- userMobile?: string;
88
560
  static names(): {
89
561
  [key: string]: string;
90
562
  };
@@ -95,12 +567,13 @@ export declare class CreateDiRealpersonFacevrfServerRequest extends $tea.Model {
95
567
  [key: string]: any;
96
568
  });
97
569
  }
98
- export declare class CreateDiRealpersonFacevrfServerResponse extends $tea.Model {
570
+ export declare class CheckAnticheatPersonalResponse extends $tea.Model {
99
571
  reqMsgId?: string;
100
572
  resultCode?: string;
101
573
  resultMsg?: string;
102
- certifyId?: string;
103
- certifyUrl?: string;
574
+ riskLevel?: string;
575
+ riskLevelDesc?: string;
576
+ externInfo?: string;
104
577
  static names(): {
105
578
  [key: string]: string;
106
579
  };
@@ -111,22 +584,46 @@ export declare class CreateDiRealpersonFacevrfServerResponse extends $tea.Model
111
584
  [key: string]: any;
112
585
  });
113
586
  }
114
- export declare class ExecDiRealpersonFacevrfServerRequest extends $tea.Model {
587
+ export declare class CheckTwometaHashRequest extends $tea.Model {
115
588
  authToken?: string;
116
589
  productInstanceId?: string;
117
- regionName?: string;
118
- certName?: string;
119
- certNo?: string;
120
- certType?: string;
590
+ certNoHash: string;
591
+ certNameHash: string;
592
+ outerOrderId: string;
593
+ hashType: string;
594
+ externInfo?: string;
595
+ static names(): {
596
+ [key: string]: string;
597
+ };
598
+ static types(): {
599
+ [key: string]: any;
600
+ };
601
+ constructor(map?: {
602
+ [key: string]: any;
603
+ });
604
+ }
605
+ export declare class CheckTwometaHashResponse extends $tea.Model {
606
+ reqMsgId?: string;
607
+ resultCode?: string;
608
+ resultMsg?: string;
609
+ static names(): {
610
+ [key: string]: string;
611
+ };
612
+ static types(): {
613
+ [key: string]: any;
614
+ };
615
+ constructor(map?: {
616
+ [key: string]: any;
617
+ });
618
+ }
619
+ export declare class QueryThreemetaOnlinetimeRequest extends $tea.Model {
620
+ authToken?: string;
621
+ productInstanceId?: string;
622
+ outerOrderNo: string;
623
+ certName: string;
624
+ certNo: string;
625
+ phoneNo: string;
121
626
  externParam?: string;
122
- facialPictureAuth?: string;
123
- facialPictureRef?: string;
124
- identityType?: string;
125
- outerOrderNo?: string;
126
- sceneId?: string;
127
- userId?: string;
128
- userIp?: string;
129
- userMobile?: string;
130
627
  static names(): {
131
628
  [key: string]: string;
132
629
  };
@@ -137,13 +634,12 @@ export declare class ExecDiRealpersonFacevrfServerRequest extends $tea.Model {
137
634
  [key: string]: any;
138
635
  });
139
636
  }
140
- export declare class ExecDiRealpersonFacevrfServerResponse extends $tea.Model {
637
+ export declare class QueryThreemetaOnlinetimeResponse extends $tea.Model {
141
638
  reqMsgId?: string;
142
639
  resultCode?: string;
143
640
  resultMsg?: string;
144
- certifyId?: string;
145
- passed?: string;
146
- reason?: string;
641
+ lengthCode?: string;
642
+ externInfo?: string;
147
643
  static names(): {
148
644
  [key: string]: string;
149
645
  };
@@ -154,11 +650,17 @@ export declare class ExecDiRealpersonFacevrfServerResponse extends $tea.Model {
154
650
  [key: string]: any;
155
651
  });
156
652
  }
157
- export declare class GetDiRealpersonFacevrfEvidenceRequest extends $tea.Model {
653
+ export declare class InitFacevrfZimRequest extends $tea.Model {
158
654
  authToken?: string;
159
655
  productInstanceId?: string;
160
- regionName?: string;
161
- certifyId?: string;
656
+ bizData?: string;
657
+ channel?: string;
658
+ merchant?: string;
659
+ metaInfo: string;
660
+ produceNode?: string;
661
+ productName?: string;
662
+ zimId: string;
663
+ zimPrincipal?: string;
162
664
  static names(): {
163
665
  [key: string]: string;
164
666
  };
@@ -169,15 +671,130 @@ export declare class GetDiRealpersonFacevrfEvidenceRequest extends $tea.Model {
169
671
  [key: string]: any;
170
672
  });
171
673
  }
172
- export declare class GetDiRealpersonFacevrfEvidenceResponse extends $tea.Model {
674
+ export declare class InitFacevrfZimResponse extends $tea.Model {
173
675
  reqMsgId?: string;
174
676
  resultCode?: string;
175
677
  resultMsg?: string;
176
- certifyId?: string;
177
- onchainId?: string;
178
- onchainStatus?: string;
179
- pdfContent?: string;
180
- pdfExpired?: boolean;
678
+ extParams?: string;
679
+ message?: string;
680
+ protocol?: string;
681
+ retCode?: string;
682
+ retCodeSub?: string;
683
+ retMessageSub?: string;
684
+ zimId?: string;
685
+ static names(): {
686
+ [key: string]: string;
687
+ };
688
+ static types(): {
689
+ [key: string]: any;
690
+ };
691
+ constructor(map?: {
692
+ [key: string]: any;
693
+ });
694
+ }
695
+ export declare class VerifyFacevrfZimRequest extends $tea.Model {
696
+ authToken?: string;
697
+ productInstanceId?: string;
698
+ externParam?: string;
699
+ zimData: string;
700
+ zimId: string;
701
+ static names(): {
702
+ [key: string]: string;
703
+ };
704
+ static types(): {
705
+ [key: string]: any;
706
+ };
707
+ constructor(map?: {
708
+ [key: string]: any;
709
+ });
710
+ }
711
+ export declare class VerifyFacevrfZimResponse extends $tea.Model {
712
+ reqMsgId?: string;
713
+ resultCode?: string;
714
+ resultMsg?: string;
715
+ extParams?: string;
716
+ hasNext?: string;
717
+ nextProtocol?: string;
718
+ productRetCode?: string;
719
+ retCodeSub?: string;
720
+ retMessageSub?: string;
721
+ validationRetCode?: string;
722
+ static names(): {
723
+ [key: string]: string;
724
+ };
725
+ static types(): {
726
+ [key: string]: any;
727
+ };
728
+ constructor(map?: {
729
+ [key: string]: any;
730
+ });
731
+ }
732
+ export declare class RecognizeDocIndividualcardRequest extends $tea.Model {
733
+ authToken?: string;
734
+ productInstanceId?: string;
735
+ outOrderNo: string;
736
+ cardType: string;
737
+ dataType: string;
738
+ dataContent: string;
739
+ reqEncType?: string;
740
+ respEncType?: string;
741
+ respEncToken?: string;
742
+ externParam?: string;
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 RecognizeDocIndividualcardResponse extends $tea.Model {
754
+ reqMsgId?: string;
755
+ resultCode?: string;
756
+ resultMsg?: string;
757
+ retCode?: string;
758
+ retCodeSub?: string;
759
+ retMessageSub?: string;
760
+ ocrInfo?: string;
761
+ extInfo?: string;
762
+ static names(): {
763
+ [key: string]: string;
764
+ };
765
+ static types(): {
766
+ [key: string]: any;
767
+ };
768
+ constructor(map?: {
769
+ [key: string]: any;
770
+ });
771
+ }
772
+ export declare class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
773
+ authToken?: string;
774
+ apiCode: string;
775
+ fileLabel?: string;
776
+ fileMetadata?: string;
777
+ fileName?: string;
778
+ mimeType?: string;
779
+ apiCluster?: string;
780
+ static names(): {
781
+ [key: string]: string;
782
+ };
783
+ static types(): {
784
+ [key: string]: any;
785
+ };
786
+ constructor(map?: {
787
+ [key: string]: any;
788
+ });
789
+ }
790
+ export declare class CreateAntcloudGatewayxFileUploadResponse extends $tea.Model {
791
+ reqMsgId?: string;
792
+ resultCode?: string;
793
+ resultMsg?: string;
794
+ expiredTime?: string;
795
+ fileId?: string;
796
+ uploadHeaders?: XNameValuePair[];
797
+ uploadUrl?: string;
181
798
  static names(): {
182
799
  [key: string]: string;
183
800
  };
@@ -204,6 +821,10 @@ export default class Client {
204
821
  _noProxy: string;
205
822
  _maxIdleConns: number;
206
823
  _securityToken: string;
824
+ _maxIdleTimeMillis: number;
825
+ _keepAliveDurationMillis: number;
826
+ _maxRequests: number;
827
+ _maxRequestsPerHost: number;
207
828
  /**
208
829
  * Init client with Config
209
830
  * @param config config contains the necessary information to create a client
@@ -221,52 +842,249 @@ export default class Client {
221
842
  */
222
843
  doRequest(version: string, action: string, protocol: string, method: string, pathname: string, request: {
223
844
  [key: string]: any;
845
+ }, headers: {
846
+ [key: string]: string;
224
847
  }, runtime: $Util.RuntimeOptions): Promise<{
225
848
  [key: string]: any;
226
849
  }>;
227
- /**
228
- * Get user agent
229
- * @return user agent
230
- */
231
- getUserAgent(): string;
232
850
  /**
233
851
  * Description: 查询认证的结果和相关信息
234
852
  * Summary: 认证查询
235
853
  */
236
- queryDiRealpersonFacevrfServer(request: QueryDiRealpersonFacevrfServerRequest): Promise<QueryDiRealpersonFacevrfServerResponse>;
854
+ queryFacevrfServer(request: QueryFacevrfServerRequest): Promise<QueryFacevrfServerResponse>;
237
855
  /**
238
856
  * Description: 查询认证的结果和相关信息
239
857
  * Summary: 认证查询
240
858
  */
241
- queryDiRealpersonFacevrfServerEx(request: QueryDiRealpersonFacevrfServerRequest, runtime: $Util.RuntimeOptions): Promise<QueryDiRealpersonFacevrfServerResponse>;
859
+ queryFacevrfServerEx(request: QueryFacevrfServerRequest, headers: {
860
+ [key: string]: string;
861
+ }, runtime: $Util.RuntimeOptions): Promise<QueryFacevrfServerResponse>;
242
862
  /**
243
863
  * Description: 服务端认证创建,传入认证信息,获取认证ID(和url)
244
864
  * Summary: 认证创建
245
865
  */
246
- createDiRealpersonFacevrfServer(request: CreateDiRealpersonFacevrfServerRequest): Promise<CreateDiRealpersonFacevrfServerResponse>;
866
+ createFacevrfServer(request: CreateFacevrfServerRequest): Promise<CreateFacevrfServerResponse>;
247
867
  /**
248
868
  * Description: 服务端认证创建,传入认证信息,获取认证ID(和url)
249
869
  * Summary: 认证创建
250
870
  */
251
- createDiRealpersonFacevrfServerEx(request: CreateDiRealpersonFacevrfServerRequest, runtime: $Util.RuntimeOptions): Promise<CreateDiRealpersonFacevrfServerResponse>;
871
+ createFacevrfServerEx(request: CreateFacevrfServerRequest, headers: {
872
+ [key: string]: string;
873
+ }, runtime: $Util.RuntimeOptions): Promise<CreateFacevrfServerResponse>;
252
874
  /**
253
875
  * Description: 纯服务端比对,直接输入待比对的图片,返回比对结果
254
876
  * Summary: 纯服务端比对
255
877
  */
256
- execDiRealpersonFacevrfServer(request: ExecDiRealpersonFacevrfServerRequest): Promise<ExecDiRealpersonFacevrfServerResponse>;
878
+ execFacevrfServer(request: ExecFacevrfServerRequest): Promise<ExecFacevrfServerResponse>;
257
879
  /**
258
880
  * Description: 纯服务端比对,直接输入待比对的图片,返回比对结果
259
881
  * Summary: 纯服务端比对
260
882
  */
261
- execDiRealpersonFacevrfServerEx(request: ExecDiRealpersonFacevrfServerRequest, runtime: $Util.RuntimeOptions): Promise<ExecDiRealpersonFacevrfServerResponse>;
883
+ execFacevrfServerEx(request: ExecFacevrfServerRequest, headers: {
884
+ [key: string]: string;
885
+ }, runtime: $Util.RuntimeOptions): Promise<ExecFacevrfServerResponse>;
262
886
  /**
263
887
  * Description: 传入某次刷脸的certifyID,获得刷脸存证的pdf文件和司法脸统一证据ID,这两份数据可以在司法链的控制台中进行核验存证是否被记录在区块链上从而证实其真实可信。
264
888
  * Summary: 商户获取司法链上刷脸存证和统一证据ID
265
889
  */
266
- getDiRealpersonFacevrfEvidence(request: GetDiRealpersonFacevrfEvidenceRequest): Promise<GetDiRealpersonFacevrfEvidenceResponse>;
890
+ getFacevrfEvidence(request: GetFacevrfEvidenceRequest): Promise<GetFacevrfEvidenceResponse>;
267
891
  /**
268
892
  * Description: 传入某次刷脸的certifyID,获得刷脸存证的pdf文件和司法脸统一证据ID,这两份数据可以在司法链的控制台中进行核验存证是否被记录在区块链上从而证实其真实可信。
269
893
  * Summary: 商户获取司法链上刷脸存证和统一证据ID
270
894
  */
271
- getDiRealpersonFacevrfEvidenceEx(request: GetDiRealpersonFacevrfEvidenceRequest, runtime: $Util.RuntimeOptions): Promise<GetDiRealpersonFacevrfEvidenceResponse>;
895
+ getFacevrfEvidenceEx(request: GetFacevrfEvidenceRequest, headers: {
896
+ [key: string]: string;
897
+ }, runtime: $Util.RuntimeOptions): Promise<GetFacevrfEvidenceResponse>;
898
+ /**
899
+ * Description: 个人二要素认证
900
+ * Summary: 个人二要素认证
901
+ */
902
+ checkIndividualidTwometa(request: CheckIndividualidTwometaRequest): Promise<CheckIndividualidTwometaResponse>;
903
+ /**
904
+ * Description: 个人二要素认证
905
+ * Summary: 个人二要素认证
906
+ */
907
+ checkIndividualidTwometaEx(request: CheckIndividualidTwometaRequest, headers: {
908
+ [key: string]: string;
909
+ }, runtime: $Util.RuntimeOptions): Promise<CheckIndividualidTwometaResponse>;
910
+ /**
911
+ * Description: 个人三要素认证
912
+ * Summary: 个人三要素认证
913
+ */
914
+ checkIndividualidThreemeta(request: CheckIndividualidThreemetaRequest): Promise<CheckIndividualidThreemetaResponse>;
915
+ /**
916
+ * Description: 个人三要素认证
917
+ * Summary: 个人三要素认证
918
+ */
919
+ checkIndividualidThreemetaEx(request: CheckIndividualidThreemetaRequest, headers: {
920
+ [key: string]: string;
921
+ }, runtime: $Util.RuntimeOptions): Promise<CheckIndividualidThreemetaResponse>;
922
+ /**
923
+ * Description: 个人四要素认证
924
+ * Summary: 个人四要素认证
925
+ */
926
+ checkIndividualidFourmeta(request: CheckIndividualidFourmetaRequest): Promise<CheckIndividualidFourmetaResponse>;
927
+ /**
928
+ * Description: 个人四要素认证
929
+ * Summary: 个人四要素认证
930
+ */
931
+ checkIndividualidFourmetaEx(request: CheckIndividualidFourmetaRequest, headers: {
932
+ [key: string]: string;
933
+ }, runtime: $Util.RuntimeOptions): Promise<CheckIndividualidFourmetaResponse>;
934
+ /**
935
+ * Description: 个人三要素认证(场景路由)
936
+ * Summary: 个人三要素认证(场景路由)
937
+ */
938
+ checkRouteThreemeta(request: CheckRouteThreemetaRequest): Promise<CheckRouteThreemetaResponse>;
939
+ /**
940
+ * Description: 个人三要素认证(场景路由)
941
+ * Summary: 个人三要素认证(场景路由)
942
+ */
943
+ checkRouteThreemetaEx(request: CheckRouteThreemetaRequest, headers: {
944
+ [key: string]: string;
945
+ }, runtime: $Util.RuntimeOptions): Promise<CheckRouteThreemetaResponse>;
946
+ /**
947
+ * Description: 纯服务端声纹注册
948
+ * Summary: 纯服务端声纹注册
949
+ */
950
+ createVoiceprintServermode(request: CreateVoiceprintServermodeRequest): Promise<CreateVoiceprintServermodeResponse>;
951
+ /**
952
+ * Description: 纯服务端声纹注册
953
+ * Summary: 纯服务端声纹注册
954
+ */
955
+ createVoiceprintServermodeEx(request: CreateVoiceprintServermodeRequest, headers: {
956
+ [key: string]: string;
957
+ }, runtime: $Util.RuntimeOptions): Promise<CreateVoiceprintServermodeResponse>;
958
+ /**
959
+ * Description: 纯服务端声纹比对
960
+ * Summary: 纯服务端声纹比对
961
+ */
962
+ verifyVoiceprintServermode(request: VerifyVoiceprintServermodeRequest): Promise<VerifyVoiceprintServermodeResponse>;
963
+ /**
964
+ * Description: 纯服务端声纹比对
965
+ * Summary: 纯服务端声纹比对
966
+ */
967
+ verifyVoiceprintServermodeEx(request: VerifyVoiceprintServermodeRequest, headers: {
968
+ [key: string]: string;
969
+ }, runtime: $Util.RuntimeOptions): Promise<VerifyVoiceprintServermodeResponse>;
970
+ /**
971
+ * Description: 个人二要素认证(场景路由)
972
+ * Summary: 个人二要素认证(场景路由)
973
+ */
974
+ checkRouteTwometa(request: CheckRouteTwometaRequest): Promise<CheckRouteTwometaResponse>;
975
+ /**
976
+ * Description: 个人二要素认证(场景路由)
977
+ * Summary: 个人二要素认证(场景路由)
978
+ */
979
+ checkRouteTwometaEx(request: CheckRouteTwometaRequest, headers: {
980
+ [key: string]: string;
981
+ }, runtime: $Util.RuntimeOptions): Promise<CheckRouteTwometaResponse>;
982
+ /**
983
+ * Description: 通过移动设备身份临时标识查询该设备相关的设备风险信息的服务
984
+ * Summary: 移动风险设备查询
985
+ */
986
+ queryMobileRisk(request: QueryMobileRiskRequest): Promise<QueryMobileRiskResponse>;
987
+ /**
988
+ * Description: 通过移动设备身份临时标识查询该设备相关的设备风险信息的服务
989
+ * Summary: 移动风险设备查询
990
+ */
991
+ queryMobileRiskEx(request: QueryMobileRiskRequest, headers: {
992
+ [key: string]: string;
993
+ }, runtime: $Util.RuntimeOptions): Promise<QueryMobileRiskResponse>;
994
+ /**
995
+ * Description: 通过认证ID查询认证人、认证时间等相关信息,供智科内部使用
996
+ * Summary: 查询认证人、认证时间等相关信息
997
+ */
998
+ detailFacevrfServer(request: DetailFacevrfServerRequest): Promise<DetailFacevrfServerResponse>;
999
+ /**
1000
+ * Description: 通过认证ID查询认证人、认证时间等相关信息,供智科内部使用
1001
+ * Summary: 查询认证人、认证时间等相关信息
1002
+ */
1003
+ detailFacevrfServerEx(request: DetailFacevrfServerRequest, headers: {
1004
+ [key: string]: string;
1005
+ }, runtime: $Util.RuntimeOptions): Promise<DetailFacevrfServerResponse>;
1006
+ /**
1007
+ * Description: 临工场景等场景下,通过主体的社保缴纳情况进行的反欺诈校验
1008
+ * Summary: 个人反欺诈风险校验
1009
+ */
1010
+ checkAnticheatPersonal(request: CheckAnticheatPersonalRequest): Promise<CheckAnticheatPersonalResponse>;
1011
+ /**
1012
+ * Description: 临工场景等场景下,通过主体的社保缴纳情况进行的反欺诈校验
1013
+ * Summary: 个人反欺诈风险校验
1014
+ */
1015
+ checkAnticheatPersonalEx(request: CheckAnticheatPersonalRequest, headers: {
1016
+ [key: string]: string;
1017
+ }, runtime: $Util.RuntimeOptions): Promise<CheckAnticheatPersonalResponse>;
1018
+ /**
1019
+ * Description: 二要素支持hash主体信息
1020
+ * Summary: 个人二要素核验支持hash的主体信息
1021
+ */
1022
+ checkTwometaHash(request: CheckTwometaHashRequest): Promise<CheckTwometaHashResponse>;
1023
+ /**
1024
+ * Description: 二要素支持hash主体信息
1025
+ * Summary: 个人二要素核验支持hash的主体信息
1026
+ */
1027
+ checkTwometaHashEx(request: CheckTwometaHashRequest, headers: {
1028
+ [key: string]: string;
1029
+ }, runtime: $Util.RuntimeOptions): Promise<CheckTwometaHashResponse>;
1030
+ /**
1031
+ * Description: 对接运营商等数据源查询手机号码的在网时长
1032
+ * Summary: 三要素在网时长查询接口
1033
+ */
1034
+ queryThreemetaOnlinetime(request: QueryThreemetaOnlinetimeRequest): Promise<QueryThreemetaOnlinetimeResponse>;
1035
+ /**
1036
+ * Description: 对接运营商等数据源查询手机号码的在网时长
1037
+ * Summary: 三要素在网时长查询接口
1038
+ */
1039
+ queryThreemetaOnlinetimeEx(request: QueryThreemetaOnlinetimeRequest, headers: {
1040
+ [key: string]: string;
1041
+ }, runtime: $Util.RuntimeOptions): Promise<QueryThreemetaOnlinetimeResponse>;
1042
+ /**
1043
+ * Description: 客户端初始化认证(OEM专用)
1044
+ * Summary: 客户端初始化认证(OEM专用)
1045
+ */
1046
+ initFacevrfZim(request: InitFacevrfZimRequest): Promise<InitFacevrfZimResponse>;
1047
+ /**
1048
+ * Description: 客户端初始化认证(OEM专用)
1049
+ * Summary: 客户端初始化认证(OEM专用)
1050
+ */
1051
+ initFacevrfZimEx(request: InitFacevrfZimRequest, headers: {
1052
+ [key: string]: string;
1053
+ }, runtime: $Util.RuntimeOptions): Promise<InitFacevrfZimResponse>;
1054
+ /**
1055
+ * Description: 客户端人脸验证(OEM专用)
1056
+ * Summary: 客户端人脸验证(OEM专用)
1057
+ */
1058
+ verifyFacevrfZim(request: VerifyFacevrfZimRequest): Promise<VerifyFacevrfZimResponse>;
1059
+ /**
1060
+ * Description: 客户端人脸验证(OEM专用)
1061
+ * Summary: 客户端人脸验证(OEM专用)
1062
+ */
1063
+ verifyFacevrfZimEx(request: VerifyFacevrfZimRequest, headers: {
1064
+ [key: string]: string;
1065
+ }, runtime: $Util.RuntimeOptions): Promise<VerifyFacevrfZimResponse>;
1066
+ /**
1067
+ * Description: 卡证OCR
1068
+ * Summary: 卡证OCR
1069
+ */
1070
+ recognizeDocIndividualcard(request: RecognizeDocIndividualcardRequest): Promise<RecognizeDocIndividualcardResponse>;
1071
+ /**
1072
+ * Description: 卡证OCR
1073
+ * Summary: 卡证OCR
1074
+ */
1075
+ recognizeDocIndividualcardEx(request: RecognizeDocIndividualcardRequest, headers: {
1076
+ [key: string]: string;
1077
+ }, runtime: $Util.RuntimeOptions): Promise<RecognizeDocIndividualcardResponse>;
1078
+ /**
1079
+ * Description: 创建HTTP PUT提交的文件上传
1080
+ * Summary: 文件上传创建
1081
+ */
1082
+ createAntcloudGatewayxFileUpload(request: CreateAntcloudGatewayxFileUploadRequest): Promise<CreateAntcloudGatewayxFileUploadResponse>;
1083
+ /**
1084
+ * Description: 创建HTTP PUT提交的文件上传
1085
+ * Summary: 文件上传创建
1086
+ */
1087
+ createAntcloudGatewayxFileUploadEx(request: CreateAntcloudGatewayxFileUploadRequest, headers: {
1088
+ [key: string]: string;
1089
+ }, runtime: $Util.RuntimeOptions): Promise<CreateAntcloudGatewayxFileUploadResponse>;
272
1090
  }