@alicloud/cloudauth20190307 3.4.1 → 3.6.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
@@ -191,6 +191,106 @@ export declare class CredentialVerifyResponseBodyResultObject extends $dara.Mode
191
191
  [key: string]: any;
192
192
  });
193
193
  }
194
+ export declare class CredentialVerifyV2RequestMerchantDetail extends $dara.Model {
195
+ /**
196
+ * @example
197
+ * MerchantName
198
+ */
199
+ key?: string;
200
+ /**
201
+ * @example
202
+ * ***
203
+ */
204
+ value?: string;
205
+ static names(): {
206
+ [key: string]: string;
207
+ };
208
+ static types(): {
209
+ [key: string]: any;
210
+ };
211
+ validate(): void;
212
+ constructor(map?: {
213
+ [key: string]: any;
214
+ });
215
+ }
216
+ export declare class CredentialVerifyV2AdvanceRequestMerchantDetail extends $dara.Model {
217
+ /**
218
+ * @example
219
+ * MerchantName
220
+ */
221
+ key?: string;
222
+ /**
223
+ * @example
224
+ * ***
225
+ */
226
+ value?: string;
227
+ static names(): {
228
+ [key: string]: string;
229
+ };
230
+ static types(): {
231
+ [key: string]: any;
232
+ };
233
+ validate(): void;
234
+ constructor(map?: {
235
+ [key: string]: any;
236
+ });
237
+ }
238
+ export declare class CredentialVerifyV2ResponseBodyResultObjectVlResult extends $dara.Model {
239
+ /**
240
+ * @example
241
+ * true
242
+ */
243
+ success?: boolean;
244
+ vlContent?: string;
245
+ static names(): {
246
+ [key: string]: string;
247
+ };
248
+ static types(): {
249
+ [key: string]: any;
250
+ };
251
+ validate(): void;
252
+ constructor(map?: {
253
+ [key: string]: any;
254
+ });
255
+ }
256
+ export declare class CredentialVerifyV2ResponseBodyResultObject extends $dara.Model {
257
+ materialInfo?: string;
258
+ ocrInfo?: string;
259
+ /**
260
+ * @example
261
+ * 1
262
+ */
263
+ result?: string;
264
+ riskScore?: {
265
+ [key: string]: string;
266
+ };
267
+ /**
268
+ * @example
269
+ * PS,SCREEN_PHOTO
270
+ */
271
+ riskTag?: string;
272
+ /**
273
+ * @example
274
+ * **
275
+ */
276
+ verifyDetail?: string;
277
+ /**
278
+ * @example
279
+ * *
280
+ */
281
+ verifyResult?: string;
282
+ vlResult?: CredentialVerifyV2ResponseBodyResultObjectVlResult;
283
+ static names(): {
284
+ [key: string]: string;
285
+ };
286
+ static types(): {
287
+ [key: string]: any;
288
+ };
289
+ validate(): void;
290
+ constructor(map?: {
291
+ [key: string]: any;
292
+ });
293
+ }
194
294
  export declare class DeepfakeDetectResponseBodyResultObject extends $dara.Model {
195
295
  /**
196
296
  * @example
@@ -848,6 +948,24 @@ export declare class Id2MetaVerifyResponseBodyResultObject extends $dara.Model {
848
948
  [key: string]: any;
849
949
  });
850
950
  }
951
+ export declare class Id2MetaVerifyWithOCRResponseBodyResultObject extends $dara.Model {
952
+ /**
953
+ * @example
954
+ * 1
955
+ */
956
+ bizCode?: string;
957
+ cardInfo?: string;
958
+ static names(): {
959
+ [key: string]: string;
960
+ };
961
+ static types(): {
962
+ [key: string]: any;
963
+ };
964
+ validate(): void;
965
+ constructor(map?: {
966
+ [key: string]: any;
967
+ });
968
+ }
851
969
  export declare class InitFaceVerifyResponseBodyResultObject extends $dara.Model {
852
970
  /**
853
971
  * @example
@@ -2266,6 +2384,237 @@ export declare class CredentialVerifyResponse extends $dara.Model {
2266
2384
  [key: string]: any;
2267
2385
  });
2268
2386
  }
2387
+ export declare class CredentialVerifyV2Request extends $dara.Model {
2388
+ /**
2389
+ * @example
2390
+ * 4601*****
2391
+ */
2392
+ certNum?: string;
2393
+ /**
2394
+ * @example
2395
+ * 0104
2396
+ */
2397
+ credName?: string;
2398
+ /**
2399
+ * @example
2400
+ * 01
2401
+ */
2402
+ credType?: string;
2403
+ /**
2404
+ * @example
2405
+ * 4****************1
2406
+ */
2407
+ identifyNum?: string;
2408
+ imageFile?: string;
2409
+ /**
2410
+ * @example
2411
+ * http://marry.momocdn.com/avatar/3B/B6/3BB6527E-7467-926E-1048-B43614F20CC420230803_L.jpg
2412
+ */
2413
+ imageUrl?: string;
2414
+ /**
2415
+ * @example
2416
+ * 0
2417
+ */
2418
+ isCheck?: string;
2419
+ /**
2420
+ * @example
2421
+ * 0
2422
+ */
2423
+ isOcr?: string;
2424
+ merchantDetail?: CredentialVerifyV2RequestMerchantDetail[];
2425
+ merchantId?: string;
2426
+ /**
2427
+ * @example
2428
+ * ANTI_FAKE_CHECK
2429
+ */
2430
+ productCode?: string;
2431
+ prompt?: string;
2432
+ /**
2433
+ * @example
2434
+ * DEFAULT
2435
+ */
2436
+ promptModel?: string;
2437
+ userName?: string;
2438
+ static names(): {
2439
+ [key: string]: string;
2440
+ };
2441
+ static types(): {
2442
+ [key: string]: any;
2443
+ };
2444
+ validate(): void;
2445
+ constructor(map?: {
2446
+ [key: string]: any;
2447
+ });
2448
+ }
2449
+ export declare class CredentialVerifyV2AdvanceRequest extends $dara.Model {
2450
+ /**
2451
+ * @example
2452
+ * 4601*****
2453
+ */
2454
+ certNum?: string;
2455
+ /**
2456
+ * @example
2457
+ * 0104
2458
+ */
2459
+ credName?: string;
2460
+ /**
2461
+ * @example
2462
+ * 01
2463
+ */
2464
+ credType?: string;
2465
+ /**
2466
+ * @example
2467
+ * 4****************1
2468
+ */
2469
+ identifyNum?: string;
2470
+ imageFileObject?: Readable;
2471
+ /**
2472
+ * @example
2473
+ * http://marry.momocdn.com/avatar/3B/B6/3BB6527E-7467-926E-1048-B43614F20CC420230803_L.jpg
2474
+ */
2475
+ imageUrl?: string;
2476
+ /**
2477
+ * @example
2478
+ * 0
2479
+ */
2480
+ isCheck?: string;
2481
+ /**
2482
+ * @example
2483
+ * 0
2484
+ */
2485
+ isOcr?: string;
2486
+ merchantDetail?: CredentialVerifyV2AdvanceRequestMerchantDetail[];
2487
+ merchantId?: string;
2488
+ /**
2489
+ * @example
2490
+ * ANTI_FAKE_CHECK
2491
+ */
2492
+ productCode?: string;
2493
+ prompt?: string;
2494
+ /**
2495
+ * @example
2496
+ * DEFAULT
2497
+ */
2498
+ promptModel?: string;
2499
+ userName?: string;
2500
+ static names(): {
2501
+ [key: string]: string;
2502
+ };
2503
+ static types(): {
2504
+ [key: string]: any;
2505
+ };
2506
+ validate(): void;
2507
+ constructor(map?: {
2508
+ [key: string]: any;
2509
+ });
2510
+ }
2511
+ export declare class CredentialVerifyV2ShrinkRequest extends $dara.Model {
2512
+ /**
2513
+ * @example
2514
+ * 4601*****
2515
+ */
2516
+ certNum?: string;
2517
+ /**
2518
+ * @example
2519
+ * 0104
2520
+ */
2521
+ credName?: string;
2522
+ /**
2523
+ * @example
2524
+ * 01
2525
+ */
2526
+ credType?: string;
2527
+ /**
2528
+ * @example
2529
+ * 4****************1
2530
+ */
2531
+ identifyNum?: string;
2532
+ imageFile?: string;
2533
+ /**
2534
+ * @example
2535
+ * http://marry.momocdn.com/avatar/3B/B6/3BB6527E-7467-926E-1048-B43614F20CC420230803_L.jpg
2536
+ */
2537
+ imageUrl?: string;
2538
+ /**
2539
+ * @example
2540
+ * 0
2541
+ */
2542
+ isCheck?: string;
2543
+ /**
2544
+ * @example
2545
+ * 0
2546
+ */
2547
+ isOcr?: string;
2548
+ merchantDetailShrink?: string;
2549
+ merchantId?: string;
2550
+ /**
2551
+ * @example
2552
+ * ANTI_FAKE_CHECK
2553
+ */
2554
+ productCode?: string;
2555
+ prompt?: string;
2556
+ /**
2557
+ * @example
2558
+ * DEFAULT
2559
+ */
2560
+ promptModel?: string;
2561
+ userName?: string;
2562
+ static names(): {
2563
+ [key: string]: string;
2564
+ };
2565
+ static types(): {
2566
+ [key: string]: any;
2567
+ };
2568
+ validate(): void;
2569
+ constructor(map?: {
2570
+ [key: string]: any;
2571
+ });
2572
+ }
2573
+ export declare class CredentialVerifyV2ResponseBody extends $dara.Model {
2574
+ /**
2575
+ * @example
2576
+ * 200
2577
+ */
2578
+ code?: string;
2579
+ /**
2580
+ * @example
2581
+ * success
2582
+ */
2583
+ message?: string;
2584
+ /**
2585
+ * @example
2586
+ * 04F0F334-1335-436C-A1D7-6C044FE73368
2587
+ */
2588
+ requestId?: string;
2589
+ resultObject?: CredentialVerifyV2ResponseBodyResultObject;
2590
+ static names(): {
2591
+ [key: string]: string;
2592
+ };
2593
+ static types(): {
2594
+ [key: string]: any;
2595
+ };
2596
+ validate(): void;
2597
+ constructor(map?: {
2598
+ [key: string]: any;
2599
+ });
2600
+ }
2601
+ export declare class CredentialVerifyV2Response extends $dara.Model {
2602
+ headers?: {
2603
+ [key: string]: string;
2604
+ };
2605
+ statusCode?: number;
2606
+ body?: CredentialVerifyV2ResponseBody;
2607
+ static names(): {
2608
+ [key: string]: string;
2609
+ };
2610
+ static types(): {
2611
+ [key: string]: any;
2612
+ };
2613
+ validate(): void;
2614
+ constructor(map?: {
2615
+ [key: string]: any;
2616
+ });
2617
+ }
2269
2618
  export declare class DeepfakeDetectRequest extends $dara.Model {
2270
2619
  /**
2271
2620
  * @example
@@ -3487,6 +3836,99 @@ export declare class Id2MetaVerifyResponse extends $dara.Model {
3487
3836
  [key: string]: any;
3488
3837
  });
3489
3838
  }
3839
+ export declare class Id2MetaVerifyWithOCRRequest extends $dara.Model {
3840
+ certFile?: string;
3841
+ certNationalFile?: string;
3842
+ /**
3843
+ * @example
3844
+ * https://www.aliyun.com/cert.jpeg
3845
+ */
3846
+ certNationalUrl?: string;
3847
+ /**
3848
+ * @example
3849
+ * https://www.aliyun.com/cert.jpeg
3850
+ */
3851
+ certUrl?: string;
3852
+ static names(): {
3853
+ [key: string]: string;
3854
+ };
3855
+ static types(): {
3856
+ [key: string]: any;
3857
+ };
3858
+ validate(): void;
3859
+ constructor(map?: {
3860
+ [key: string]: any;
3861
+ });
3862
+ }
3863
+ export declare class Id2MetaVerifyWithOCRAdvanceRequest extends $dara.Model {
3864
+ certFileObject?: Readable;
3865
+ certNationalFileObject?: Readable;
3866
+ /**
3867
+ * @example
3868
+ * https://www.aliyun.com/cert.jpeg
3869
+ */
3870
+ certNationalUrl?: string;
3871
+ /**
3872
+ * @example
3873
+ * https://www.aliyun.com/cert.jpeg
3874
+ */
3875
+ certUrl?: string;
3876
+ static names(): {
3877
+ [key: string]: string;
3878
+ };
3879
+ static types(): {
3880
+ [key: string]: any;
3881
+ };
3882
+ validate(): void;
3883
+ constructor(map?: {
3884
+ [key: string]: any;
3885
+ });
3886
+ }
3887
+ export declare class Id2MetaVerifyWithOCRResponseBody extends $dara.Model {
3888
+ /**
3889
+ * @example
3890
+ * 200
3891
+ */
3892
+ code?: string;
3893
+ /**
3894
+ * @example
3895
+ * success
3896
+ */
3897
+ message?: string;
3898
+ /**
3899
+ * @example
3900
+ * 130A2C10-B9EE-4D84-88E3-5384FF03****
3901
+ */
3902
+ requestId?: string;
3903
+ resultObject?: Id2MetaVerifyWithOCRResponseBodyResultObject;
3904
+ static names(): {
3905
+ [key: string]: string;
3906
+ };
3907
+ static types(): {
3908
+ [key: string]: any;
3909
+ };
3910
+ validate(): void;
3911
+ constructor(map?: {
3912
+ [key: string]: any;
3913
+ });
3914
+ }
3915
+ export declare class Id2MetaVerifyWithOCRResponse extends $dara.Model {
3916
+ headers?: {
3917
+ [key: string]: string;
3918
+ };
3919
+ statusCode?: number;
3920
+ body?: Id2MetaVerifyWithOCRResponseBody;
3921
+ static names(): {
3922
+ [key: string]: string;
3923
+ };
3924
+ static types(): {
3925
+ [key: string]: any;
3926
+ };
3927
+ validate(): void;
3928
+ constructor(map?: {
3929
+ [key: string]: any;
3930
+ });
3931
+ }
3490
3932
  export declare class InitFaceVerifyRequest extends $dara.Model {
3491
3933
  appQualityCheck?: string;
3492
3934
  authId?: string;
@@ -5167,6 +5609,22 @@ export default class Client extends OpenApi {
5167
5609
  * @returns CredentialVerifyResponse
5168
5610
  */
5169
5611
  credentialVerify(request: CredentialVerifyRequest): Promise<CredentialVerifyResponse>;
5612
+ /**
5613
+ * 凭证核验
5614
+ *
5615
+ * @param tmpReq - CredentialVerifyV2Request
5616
+ * @param runtime - runtime options for this request RuntimeOptions
5617
+ * @returns CredentialVerifyV2Response
5618
+ */
5619
+ credentialVerifyV2WithOptions(tmpReq: CredentialVerifyV2Request, runtime: $dara.RuntimeOptions): Promise<CredentialVerifyV2Response>;
5620
+ /**
5621
+ * 凭证核验
5622
+ *
5623
+ * @param request - CredentialVerifyV2Request
5624
+ * @returns CredentialVerifyV2Response
5625
+ */
5626
+ credentialVerifyV2(request: CredentialVerifyV2Request): Promise<CredentialVerifyV2Response>;
5627
+ credentialVerifyV2Advance(request: CredentialVerifyV2AdvanceRequest, runtime: $dara.RuntimeOptions): Promise<CredentialVerifyV2Response>;
5170
5628
  /**
5171
5629
  * 人脸凭证核验服务
5172
5630
  *
@@ -5359,6 +5817,22 @@ export default class Client extends OpenApi {
5359
5817
  * @returns Id2MetaVerifyResponse
5360
5818
  */
5361
5819
  id2MetaVerify(request: Id2MetaVerifyRequest): Promise<Id2MetaVerifyResponse>;
5820
+ /**
5821
+ * 身份二要素图片核验
5822
+ *
5823
+ * @param request - Id2MetaVerifyWithOCRRequest
5824
+ * @param runtime - runtime options for this request RuntimeOptions
5825
+ * @returns Id2MetaVerifyWithOCRResponse
5826
+ */
5827
+ id2MetaVerifyWithOCRWithOptions(request: Id2MetaVerifyWithOCRRequest, runtime: $dara.RuntimeOptions): Promise<Id2MetaVerifyWithOCRResponse>;
5828
+ /**
5829
+ * 身份二要素图片核验
5830
+ *
5831
+ * @param request - Id2MetaVerifyWithOCRRequest
5832
+ * @returns Id2MetaVerifyWithOCRResponse
5833
+ */
5834
+ id2MetaVerifyWithOCR(request: Id2MetaVerifyWithOCRRequest): Promise<Id2MetaVerifyWithOCRResponse>;
5835
+ id2MetaVerifyWithOCRAdvance(request: Id2MetaVerifyWithOCRAdvanceRequest, runtime: $dara.RuntimeOptions): Promise<Id2MetaVerifyWithOCRResponse>;
5362
5836
  /**
5363
5837
  * @param request - InitFaceVerifyRequest
5364
5838
  * @param runtime - runtime options for this request RuntimeOptions