@antchain/realperson 1.1.4 → 1.8.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 +707 -44
- package/dist/client.js +1148 -142
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +1703 -228
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,56 @@ export declare class Config extends $tea.Model {
|
|
|
28
34
|
[key: string]: any;
|
|
29
35
|
});
|
|
30
36
|
}
|
|
31
|
-
export declare class
|
|
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 {
|
|
32
80
|
authToken?: string;
|
|
33
81
|
productInstanceId?: string;
|
|
34
|
-
|
|
35
|
-
certifyId?: string;
|
|
82
|
+
certifyId: string;
|
|
36
83
|
externParam?: string;
|
|
37
84
|
materialHash?: string;
|
|
38
|
-
outerOrderNo
|
|
39
|
-
sceneId
|
|
85
|
+
outerOrderNo: string;
|
|
86
|
+
sceneId: string;
|
|
40
87
|
static names(): {
|
|
41
88
|
[key: string]: string;
|
|
42
89
|
};
|
|
@@ -47,7 +94,7 @@ export declare class QueryDiRealpersonFacevrfServerRequest extends $tea.Model {
|
|
|
47
94
|
[key: string]: any;
|
|
48
95
|
});
|
|
49
96
|
}
|
|
50
|
-
export declare class
|
|
97
|
+
export declare class QueryFacevrfServerResponse extends $tea.Model {
|
|
51
98
|
reqMsgId?: string;
|
|
52
99
|
resultCode?: string;
|
|
53
100
|
resultMsg?: string;
|
|
@@ -66,25 +113,27 @@ export declare class QueryDiRealpersonFacevrfServerResponse extends $tea.Model {
|
|
|
66
113
|
[key: string]: any;
|
|
67
114
|
});
|
|
68
115
|
}
|
|
69
|
-
export declare class
|
|
116
|
+
export declare class CreateFacevrfServerRequest extends $tea.Model {
|
|
70
117
|
authToken?: string;
|
|
71
118
|
productInstanceId?: string;
|
|
72
|
-
|
|
73
|
-
bizCode?: string;
|
|
119
|
+
bizCode: string;
|
|
74
120
|
callbackUrl?: string;
|
|
75
|
-
certName
|
|
76
|
-
certNo
|
|
77
|
-
|
|
121
|
+
certName: string;
|
|
122
|
+
certNo: string;
|
|
123
|
+
encType?: string;
|
|
124
|
+
certType: string;
|
|
78
125
|
externParam?: string;
|
|
79
126
|
facialPictureRef?: string;
|
|
80
|
-
identityType
|
|
127
|
+
identityType: string;
|
|
81
128
|
metaInfo?: string;
|
|
82
|
-
outerOrderNo
|
|
129
|
+
outerOrderNo: string;
|
|
83
130
|
returnUrl?: string;
|
|
84
|
-
sceneId
|
|
131
|
+
sceneId: string;
|
|
85
132
|
userId?: string;
|
|
86
133
|
userIp?: string;
|
|
87
134
|
userMobile?: string;
|
|
135
|
+
callbackNeedRetry?: boolean;
|
|
136
|
+
model?: string;
|
|
88
137
|
static names(): {
|
|
89
138
|
[key: string]: string;
|
|
90
139
|
};
|
|
@@ -95,7 +144,7 @@ export declare class CreateDiRealpersonFacevrfServerRequest extends $tea.Model {
|
|
|
95
144
|
[key: string]: any;
|
|
96
145
|
});
|
|
97
146
|
}
|
|
98
|
-
export declare class
|
|
147
|
+
export declare class CreateFacevrfServerResponse extends $tea.Model {
|
|
99
148
|
reqMsgId?: string;
|
|
100
149
|
resultCode?: string;
|
|
101
150
|
resultMsg?: string;
|
|
@@ -111,22 +160,22 @@ export declare class CreateDiRealpersonFacevrfServerResponse extends $tea.Model
|
|
|
111
160
|
[key: string]: any;
|
|
112
161
|
});
|
|
113
162
|
}
|
|
114
|
-
export declare class
|
|
163
|
+
export declare class ExecFacevrfServerRequest extends $tea.Model {
|
|
115
164
|
authToken?: string;
|
|
116
165
|
productInstanceId?: string;
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
certType
|
|
166
|
+
certName: string;
|
|
167
|
+
certNo: string;
|
|
168
|
+
encType?: string;
|
|
169
|
+
certType: string;
|
|
121
170
|
externParam?: string;
|
|
122
|
-
facialPictureAuth?: string;
|
|
123
171
|
facialPictureRef?: string;
|
|
124
|
-
identityType
|
|
125
|
-
outerOrderNo
|
|
126
|
-
sceneId
|
|
172
|
+
identityType: string;
|
|
173
|
+
outerOrderNo: string;
|
|
174
|
+
sceneId: string;
|
|
127
175
|
userId?: string;
|
|
128
176
|
userIp?: string;
|
|
129
177
|
userMobile?: string;
|
|
178
|
+
facialPictureAuth: string;
|
|
130
179
|
static names(): {
|
|
131
180
|
[key: string]: string;
|
|
132
181
|
};
|
|
@@ -137,13 +186,14 @@ export declare class ExecDiRealpersonFacevrfServerRequest extends $tea.Model {
|
|
|
137
186
|
[key: string]: any;
|
|
138
187
|
});
|
|
139
188
|
}
|
|
140
|
-
export declare class
|
|
189
|
+
export declare class ExecFacevrfServerResponse extends $tea.Model {
|
|
141
190
|
reqMsgId?: string;
|
|
142
191
|
resultCode?: string;
|
|
143
192
|
resultMsg?: string;
|
|
144
193
|
certifyId?: string;
|
|
145
194
|
passed?: string;
|
|
146
195
|
reason?: string;
|
|
196
|
+
materialInfo?: string;
|
|
147
197
|
static names(): {
|
|
148
198
|
[key: string]: string;
|
|
149
199
|
};
|
|
@@ -154,11 +204,10 @@ export declare class ExecDiRealpersonFacevrfServerResponse extends $tea.Model {
|
|
|
154
204
|
[key: string]: any;
|
|
155
205
|
});
|
|
156
206
|
}
|
|
157
|
-
export declare class
|
|
207
|
+
export declare class GetFacevrfEvidenceRequest extends $tea.Model {
|
|
158
208
|
authToken?: string;
|
|
159
209
|
productInstanceId?: string;
|
|
160
|
-
|
|
161
|
-
certifyId?: string;
|
|
210
|
+
certifyId: string;
|
|
162
211
|
static names(): {
|
|
163
212
|
[key: string]: string;
|
|
164
213
|
};
|
|
@@ -169,15 +218,464 @@ export declare class GetDiRealpersonFacevrfEvidenceRequest extends $tea.Model {
|
|
|
169
218
|
[key: string]: any;
|
|
170
219
|
});
|
|
171
220
|
}
|
|
172
|
-
export declare class
|
|
221
|
+
export declare class GetFacevrfEvidenceResponse extends $tea.Model {
|
|
173
222
|
reqMsgId?: string;
|
|
174
223
|
resultCode?: string;
|
|
175
224
|
resultMsg?: string;
|
|
176
225
|
certifyId?: string;
|
|
177
226
|
onchainId?: string;
|
|
178
227
|
onchainStatus?: string;
|
|
179
|
-
pdfContent?: string;
|
|
180
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 {
|
|
488
|
+
authToken?: string;
|
|
489
|
+
productInstanceId?: 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;
|
|
523
|
+
externParam?: string;
|
|
524
|
+
static names(): {
|
|
525
|
+
[key: string]: string;
|
|
526
|
+
};
|
|
527
|
+
static types(): {
|
|
528
|
+
[key: string]: any;
|
|
529
|
+
};
|
|
530
|
+
constructor(map?: {
|
|
531
|
+
[key: string]: any;
|
|
532
|
+
});
|
|
533
|
+
}
|
|
534
|
+
export declare class DetailFacevrfServerResponse extends $tea.Model {
|
|
535
|
+
reqMsgId?: string;
|
|
536
|
+
resultCode?: string;
|
|
537
|
+
resultMsg?: string;
|
|
538
|
+
state?: string;
|
|
539
|
+
identityInfo?: string;
|
|
540
|
+
externInfo?: string;
|
|
541
|
+
static names(): {
|
|
542
|
+
[key: string]: string;
|
|
543
|
+
};
|
|
544
|
+
static types(): {
|
|
545
|
+
[key: string]: any;
|
|
546
|
+
};
|
|
547
|
+
constructor(map?: {
|
|
548
|
+
[key: string]: any;
|
|
549
|
+
});
|
|
550
|
+
}
|
|
551
|
+
export declare class CheckAnticheatPersonalRequest extends $tea.Model {
|
|
552
|
+
authToken?: string;
|
|
553
|
+
productInstanceId?: string;
|
|
554
|
+
outerOrderNo: string;
|
|
555
|
+
certName?: string;
|
|
556
|
+
certNo: string;
|
|
557
|
+
companyName: string;
|
|
558
|
+
companyNo?: string;
|
|
559
|
+
externParam?: string;
|
|
560
|
+
static names(): {
|
|
561
|
+
[key: string]: string;
|
|
562
|
+
};
|
|
563
|
+
static types(): {
|
|
564
|
+
[key: string]: any;
|
|
565
|
+
};
|
|
566
|
+
constructor(map?: {
|
|
567
|
+
[key: string]: any;
|
|
568
|
+
});
|
|
569
|
+
}
|
|
570
|
+
export declare class CheckAnticheatPersonalResponse extends $tea.Model {
|
|
571
|
+
reqMsgId?: string;
|
|
572
|
+
resultCode?: string;
|
|
573
|
+
resultMsg?: string;
|
|
574
|
+
riskLevel?: string;
|
|
575
|
+
riskLevelDesc?: string;
|
|
576
|
+
externInfo?: string;
|
|
577
|
+
static names(): {
|
|
578
|
+
[key: string]: string;
|
|
579
|
+
};
|
|
580
|
+
static types(): {
|
|
581
|
+
[key: string]: any;
|
|
582
|
+
};
|
|
583
|
+
constructor(map?: {
|
|
584
|
+
[key: string]: any;
|
|
585
|
+
});
|
|
586
|
+
}
|
|
587
|
+
export declare class CheckTwometaHashRequest extends $tea.Model {
|
|
588
|
+
authToken?: string;
|
|
589
|
+
productInstanceId?: 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;
|
|
626
|
+
externParam?: string;
|
|
627
|
+
static names(): {
|
|
628
|
+
[key: string]: string;
|
|
629
|
+
};
|
|
630
|
+
static types(): {
|
|
631
|
+
[key: string]: any;
|
|
632
|
+
};
|
|
633
|
+
constructor(map?: {
|
|
634
|
+
[key: string]: any;
|
|
635
|
+
});
|
|
636
|
+
}
|
|
637
|
+
export declare class QueryThreemetaOnlinetimeResponse extends $tea.Model {
|
|
638
|
+
reqMsgId?: string;
|
|
639
|
+
resultCode?: string;
|
|
640
|
+
resultMsg?: string;
|
|
641
|
+
lengthCode?: string;
|
|
642
|
+
externInfo?: string;
|
|
643
|
+
static names(): {
|
|
644
|
+
[key: string]: string;
|
|
645
|
+
};
|
|
646
|
+
static types(): {
|
|
647
|
+
[key: string]: any;
|
|
648
|
+
};
|
|
649
|
+
constructor(map?: {
|
|
650
|
+
[key: string]: any;
|
|
651
|
+
});
|
|
652
|
+
}
|
|
653
|
+
export declare class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
|
|
654
|
+
authToken?: string;
|
|
655
|
+
apiCode: string;
|
|
656
|
+
fileLabel?: string;
|
|
657
|
+
fileMetadata?: string;
|
|
658
|
+
fileName?: string;
|
|
659
|
+
mimeType?: string;
|
|
660
|
+
apiCluster?: string;
|
|
661
|
+
static names(): {
|
|
662
|
+
[key: string]: string;
|
|
663
|
+
};
|
|
664
|
+
static types(): {
|
|
665
|
+
[key: string]: any;
|
|
666
|
+
};
|
|
667
|
+
constructor(map?: {
|
|
668
|
+
[key: string]: any;
|
|
669
|
+
});
|
|
670
|
+
}
|
|
671
|
+
export declare class CreateAntcloudGatewayxFileUploadResponse extends $tea.Model {
|
|
672
|
+
reqMsgId?: string;
|
|
673
|
+
resultCode?: string;
|
|
674
|
+
resultMsg?: string;
|
|
675
|
+
expiredTime?: string;
|
|
676
|
+
fileId?: string;
|
|
677
|
+
uploadHeaders?: XNameValuePair[];
|
|
678
|
+
uploadUrl?: string;
|
|
181
679
|
static names(): {
|
|
182
680
|
[key: string]: string;
|
|
183
681
|
};
|
|
@@ -204,6 +702,10 @@ export default class Client {
|
|
|
204
702
|
_noProxy: string;
|
|
205
703
|
_maxIdleConns: number;
|
|
206
704
|
_securityToken: string;
|
|
705
|
+
_maxIdleTimeMillis: number;
|
|
706
|
+
_keepAliveDurationMillis: number;
|
|
707
|
+
_maxRequests: number;
|
|
708
|
+
_maxRequestsPerHost: number;
|
|
207
709
|
/**
|
|
208
710
|
* Init client with Config
|
|
209
711
|
* @param config config contains the necessary information to create a client
|
|
@@ -221,52 +723,213 @@ export default class Client {
|
|
|
221
723
|
*/
|
|
222
724
|
doRequest(version: string, action: string, protocol: string, method: string, pathname: string, request: {
|
|
223
725
|
[key: string]: any;
|
|
726
|
+
}, headers: {
|
|
727
|
+
[key: string]: string;
|
|
224
728
|
}, runtime: $Util.RuntimeOptions): Promise<{
|
|
225
729
|
[key: string]: any;
|
|
226
730
|
}>;
|
|
227
|
-
/**
|
|
228
|
-
* Get user agent
|
|
229
|
-
* @return user agent
|
|
230
|
-
*/
|
|
231
|
-
getUserAgent(): string;
|
|
232
731
|
/**
|
|
233
732
|
* Description: 查询认证的结果和相关信息
|
|
234
733
|
* Summary: 认证查询
|
|
235
734
|
*/
|
|
236
|
-
|
|
735
|
+
queryFacevrfServer(request: QueryFacevrfServerRequest): Promise<QueryFacevrfServerResponse>;
|
|
237
736
|
/**
|
|
238
737
|
* Description: 查询认证的结果和相关信息
|
|
239
738
|
* Summary: 认证查询
|
|
240
739
|
*/
|
|
241
|
-
|
|
740
|
+
queryFacevrfServerEx(request: QueryFacevrfServerRequest, headers: {
|
|
741
|
+
[key: string]: string;
|
|
742
|
+
}, runtime: $Util.RuntimeOptions): Promise<QueryFacevrfServerResponse>;
|
|
242
743
|
/**
|
|
243
744
|
* Description: 服务端认证创建,传入认证信息,获取认证ID(和url)
|
|
244
745
|
* Summary: 认证创建
|
|
245
746
|
*/
|
|
246
|
-
|
|
747
|
+
createFacevrfServer(request: CreateFacevrfServerRequest): Promise<CreateFacevrfServerResponse>;
|
|
247
748
|
/**
|
|
248
749
|
* Description: 服务端认证创建,传入认证信息,获取认证ID(和url)
|
|
249
750
|
* Summary: 认证创建
|
|
250
751
|
*/
|
|
251
|
-
|
|
752
|
+
createFacevrfServerEx(request: CreateFacevrfServerRequest, headers: {
|
|
753
|
+
[key: string]: string;
|
|
754
|
+
}, runtime: $Util.RuntimeOptions): Promise<CreateFacevrfServerResponse>;
|
|
252
755
|
/**
|
|
253
756
|
* Description: 纯服务端比对,直接输入待比对的图片,返回比对结果
|
|
254
757
|
* Summary: 纯服务端比对
|
|
255
758
|
*/
|
|
256
|
-
|
|
759
|
+
execFacevrfServer(request: ExecFacevrfServerRequest): Promise<ExecFacevrfServerResponse>;
|
|
257
760
|
/**
|
|
258
761
|
* Description: 纯服务端比对,直接输入待比对的图片,返回比对结果
|
|
259
762
|
* Summary: 纯服务端比对
|
|
260
763
|
*/
|
|
261
|
-
|
|
764
|
+
execFacevrfServerEx(request: ExecFacevrfServerRequest, headers: {
|
|
765
|
+
[key: string]: string;
|
|
766
|
+
}, runtime: $Util.RuntimeOptions): Promise<ExecFacevrfServerResponse>;
|
|
262
767
|
/**
|
|
263
768
|
* Description: 传入某次刷脸的certifyID,获得刷脸存证的pdf文件和司法脸统一证据ID,这两份数据可以在司法链的控制台中进行核验存证是否被记录在区块链上从而证实其真实可信。
|
|
264
769
|
* Summary: 商户获取司法链上刷脸存证和统一证据ID
|
|
265
770
|
*/
|
|
266
|
-
|
|
771
|
+
getFacevrfEvidence(request: GetFacevrfEvidenceRequest): Promise<GetFacevrfEvidenceResponse>;
|
|
267
772
|
/**
|
|
268
773
|
* Description: 传入某次刷脸的certifyID,获得刷脸存证的pdf文件和司法脸统一证据ID,这两份数据可以在司法链的控制台中进行核验存证是否被记录在区块链上从而证实其真实可信。
|
|
269
774
|
* Summary: 商户获取司法链上刷脸存证和统一证据ID
|
|
270
775
|
*/
|
|
271
|
-
|
|
776
|
+
getFacevrfEvidenceEx(request: GetFacevrfEvidenceRequest, headers: {
|
|
777
|
+
[key: string]: string;
|
|
778
|
+
}, runtime: $Util.RuntimeOptions): Promise<GetFacevrfEvidenceResponse>;
|
|
779
|
+
/**
|
|
780
|
+
* Description: 个人二要素认证
|
|
781
|
+
* Summary: 个人二要素认证
|
|
782
|
+
*/
|
|
783
|
+
checkIndividualidTwometa(request: CheckIndividualidTwometaRequest): Promise<CheckIndividualidTwometaResponse>;
|
|
784
|
+
/**
|
|
785
|
+
* Description: 个人二要素认证
|
|
786
|
+
* Summary: 个人二要素认证
|
|
787
|
+
*/
|
|
788
|
+
checkIndividualidTwometaEx(request: CheckIndividualidTwometaRequest, headers: {
|
|
789
|
+
[key: string]: string;
|
|
790
|
+
}, runtime: $Util.RuntimeOptions): Promise<CheckIndividualidTwometaResponse>;
|
|
791
|
+
/**
|
|
792
|
+
* Description: 个人三要素认证
|
|
793
|
+
* Summary: 个人三要素认证
|
|
794
|
+
*/
|
|
795
|
+
checkIndividualidThreemeta(request: CheckIndividualidThreemetaRequest): Promise<CheckIndividualidThreemetaResponse>;
|
|
796
|
+
/**
|
|
797
|
+
* Description: 个人三要素认证
|
|
798
|
+
* Summary: 个人三要素认证
|
|
799
|
+
*/
|
|
800
|
+
checkIndividualidThreemetaEx(request: CheckIndividualidThreemetaRequest, headers: {
|
|
801
|
+
[key: string]: string;
|
|
802
|
+
}, runtime: $Util.RuntimeOptions): Promise<CheckIndividualidThreemetaResponse>;
|
|
803
|
+
/**
|
|
804
|
+
* Description: 个人四要素认证
|
|
805
|
+
* Summary: 个人四要素认证
|
|
806
|
+
*/
|
|
807
|
+
checkIndividualidFourmeta(request: CheckIndividualidFourmetaRequest): Promise<CheckIndividualidFourmetaResponse>;
|
|
808
|
+
/**
|
|
809
|
+
* Description: 个人四要素认证
|
|
810
|
+
* Summary: 个人四要素认证
|
|
811
|
+
*/
|
|
812
|
+
checkIndividualidFourmetaEx(request: CheckIndividualidFourmetaRequest, headers: {
|
|
813
|
+
[key: string]: string;
|
|
814
|
+
}, runtime: $Util.RuntimeOptions): Promise<CheckIndividualidFourmetaResponse>;
|
|
815
|
+
/**
|
|
816
|
+
* Description: 个人三要素认证(场景路由)
|
|
817
|
+
* Summary: 个人三要素认证(场景路由)
|
|
818
|
+
*/
|
|
819
|
+
checkRouteThreemeta(request: CheckRouteThreemetaRequest): Promise<CheckRouteThreemetaResponse>;
|
|
820
|
+
/**
|
|
821
|
+
* Description: 个人三要素认证(场景路由)
|
|
822
|
+
* Summary: 个人三要素认证(场景路由)
|
|
823
|
+
*/
|
|
824
|
+
checkRouteThreemetaEx(request: CheckRouteThreemetaRequest, headers: {
|
|
825
|
+
[key: string]: string;
|
|
826
|
+
}, runtime: $Util.RuntimeOptions): Promise<CheckRouteThreemetaResponse>;
|
|
827
|
+
/**
|
|
828
|
+
* Description: 纯服务端声纹注册
|
|
829
|
+
* Summary: 纯服务端声纹注册
|
|
830
|
+
*/
|
|
831
|
+
createVoiceprintServermode(request: CreateVoiceprintServermodeRequest): Promise<CreateVoiceprintServermodeResponse>;
|
|
832
|
+
/**
|
|
833
|
+
* Description: 纯服务端声纹注册
|
|
834
|
+
* Summary: 纯服务端声纹注册
|
|
835
|
+
*/
|
|
836
|
+
createVoiceprintServermodeEx(request: CreateVoiceprintServermodeRequest, headers: {
|
|
837
|
+
[key: string]: string;
|
|
838
|
+
}, runtime: $Util.RuntimeOptions): Promise<CreateVoiceprintServermodeResponse>;
|
|
839
|
+
/**
|
|
840
|
+
* Description: 纯服务端声纹比对
|
|
841
|
+
* Summary: 纯服务端声纹比对
|
|
842
|
+
*/
|
|
843
|
+
verifyVoiceprintServermode(request: VerifyVoiceprintServermodeRequest): Promise<VerifyVoiceprintServermodeResponse>;
|
|
844
|
+
/**
|
|
845
|
+
* Description: 纯服务端声纹比对
|
|
846
|
+
* Summary: 纯服务端声纹比对
|
|
847
|
+
*/
|
|
848
|
+
verifyVoiceprintServermodeEx(request: VerifyVoiceprintServermodeRequest, headers: {
|
|
849
|
+
[key: string]: string;
|
|
850
|
+
}, runtime: $Util.RuntimeOptions): Promise<VerifyVoiceprintServermodeResponse>;
|
|
851
|
+
/**
|
|
852
|
+
* Description: 个人二要素认证(场景路由)
|
|
853
|
+
* Summary: 个人二要素认证(场景路由)
|
|
854
|
+
*/
|
|
855
|
+
checkRouteTwometa(request: CheckRouteTwometaRequest): Promise<CheckRouteTwometaResponse>;
|
|
856
|
+
/**
|
|
857
|
+
* Description: 个人二要素认证(场景路由)
|
|
858
|
+
* Summary: 个人二要素认证(场景路由)
|
|
859
|
+
*/
|
|
860
|
+
checkRouteTwometaEx(request: CheckRouteTwometaRequest, headers: {
|
|
861
|
+
[key: string]: string;
|
|
862
|
+
}, runtime: $Util.RuntimeOptions): Promise<CheckRouteTwometaResponse>;
|
|
863
|
+
/**
|
|
864
|
+
* Description: 通过移动设备身份临时标识查询该设备相关的设备风险信息的服务
|
|
865
|
+
* Summary: 移动风险设备查询
|
|
866
|
+
*/
|
|
867
|
+
queryMobileRisk(request: QueryMobileRiskRequest): Promise<QueryMobileRiskResponse>;
|
|
868
|
+
/**
|
|
869
|
+
* Description: 通过移动设备身份临时标识查询该设备相关的设备风险信息的服务
|
|
870
|
+
* Summary: 移动风险设备查询
|
|
871
|
+
*/
|
|
872
|
+
queryMobileRiskEx(request: QueryMobileRiskRequest, headers: {
|
|
873
|
+
[key: string]: string;
|
|
874
|
+
}, runtime: $Util.RuntimeOptions): Promise<QueryMobileRiskResponse>;
|
|
875
|
+
/**
|
|
876
|
+
* Description: 通过认证ID查询认证人、认证时间等相关信息,供智科内部使用
|
|
877
|
+
* Summary: 查询认证人、认证时间等相关信息
|
|
878
|
+
*/
|
|
879
|
+
detailFacevrfServer(request: DetailFacevrfServerRequest): Promise<DetailFacevrfServerResponse>;
|
|
880
|
+
/**
|
|
881
|
+
* Description: 通过认证ID查询认证人、认证时间等相关信息,供智科内部使用
|
|
882
|
+
* Summary: 查询认证人、认证时间等相关信息
|
|
883
|
+
*/
|
|
884
|
+
detailFacevrfServerEx(request: DetailFacevrfServerRequest, headers: {
|
|
885
|
+
[key: string]: string;
|
|
886
|
+
}, runtime: $Util.RuntimeOptions): Promise<DetailFacevrfServerResponse>;
|
|
887
|
+
/**
|
|
888
|
+
* Description: 临工场景等场景下,通过主体的社保缴纳情况进行的反欺诈校验
|
|
889
|
+
* Summary: 个人反欺诈风险校验
|
|
890
|
+
*/
|
|
891
|
+
checkAnticheatPersonal(request: CheckAnticheatPersonalRequest): Promise<CheckAnticheatPersonalResponse>;
|
|
892
|
+
/**
|
|
893
|
+
* Description: 临工场景等场景下,通过主体的社保缴纳情况进行的反欺诈校验
|
|
894
|
+
* Summary: 个人反欺诈风险校验
|
|
895
|
+
*/
|
|
896
|
+
checkAnticheatPersonalEx(request: CheckAnticheatPersonalRequest, headers: {
|
|
897
|
+
[key: string]: string;
|
|
898
|
+
}, runtime: $Util.RuntimeOptions): Promise<CheckAnticheatPersonalResponse>;
|
|
899
|
+
/**
|
|
900
|
+
* Description: 二要素支持hash主体信息
|
|
901
|
+
* Summary: 个人二要素核验支持hash的主体信息
|
|
902
|
+
*/
|
|
903
|
+
checkTwometaHash(request: CheckTwometaHashRequest): Promise<CheckTwometaHashResponse>;
|
|
904
|
+
/**
|
|
905
|
+
* Description: 二要素支持hash主体信息
|
|
906
|
+
* Summary: 个人二要素核验支持hash的主体信息
|
|
907
|
+
*/
|
|
908
|
+
checkTwometaHashEx(request: CheckTwometaHashRequest, headers: {
|
|
909
|
+
[key: string]: string;
|
|
910
|
+
}, runtime: $Util.RuntimeOptions): Promise<CheckTwometaHashResponse>;
|
|
911
|
+
/**
|
|
912
|
+
* Description: 对接运营商等数据源查询手机号码的在网时长
|
|
913
|
+
* Summary: 三要素在网时长查询接口
|
|
914
|
+
*/
|
|
915
|
+
queryThreemetaOnlinetime(request: QueryThreemetaOnlinetimeRequest): Promise<QueryThreemetaOnlinetimeResponse>;
|
|
916
|
+
/**
|
|
917
|
+
* Description: 对接运营商等数据源查询手机号码的在网时长
|
|
918
|
+
* Summary: 三要素在网时长查询接口
|
|
919
|
+
*/
|
|
920
|
+
queryThreemetaOnlinetimeEx(request: QueryThreemetaOnlinetimeRequest, headers: {
|
|
921
|
+
[key: string]: string;
|
|
922
|
+
}, runtime: $Util.RuntimeOptions): Promise<QueryThreemetaOnlinetimeResponse>;
|
|
923
|
+
/**
|
|
924
|
+
* Description: 创建HTTP PUT提交的文件上传
|
|
925
|
+
* Summary: 文件上传创建
|
|
926
|
+
*/
|
|
927
|
+
createAntcloudGatewayxFileUpload(request: CreateAntcloudGatewayxFileUploadRequest): Promise<CreateAntcloudGatewayxFileUploadResponse>;
|
|
928
|
+
/**
|
|
929
|
+
* Description: 创建HTTP PUT提交的文件上传
|
|
930
|
+
* Summary: 文件上传创建
|
|
931
|
+
*/
|
|
932
|
+
createAntcloudGatewayxFileUploadEx(request: CreateAntcloudGatewayxFileUploadRequest, headers: {
|
|
933
|
+
[key: string]: string;
|
|
934
|
+
}, runtime: $Util.RuntimeOptions): Promise<CreateAntcloudGatewayxFileUploadResponse>;
|
|
272
935
|
}
|