@alicloud/cloudauth20190307 3.3.0 → 3.4.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 +332 -0
- package/dist/client.js +415 -10
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +600 -13
package/src/client.ts
CHANGED
|
@@ -2772,6 +2772,121 @@ export class DetectFaceAttributesResponse extends $tea.Model {
|
|
|
2772
2772
|
}
|
|
2773
2773
|
}
|
|
2774
2774
|
|
|
2775
|
+
export class Id2MetaPeriodVerifyRequest extends $tea.Model {
|
|
2776
|
+
/**
|
|
2777
|
+
* @example
|
|
2778
|
+
* 4****************1
|
|
2779
|
+
*/
|
|
2780
|
+
identifyNum?: string;
|
|
2781
|
+
/**
|
|
2782
|
+
* @example
|
|
2783
|
+
* normal
|
|
2784
|
+
*/
|
|
2785
|
+
paramType?: string;
|
|
2786
|
+
userName?: string;
|
|
2787
|
+
/**
|
|
2788
|
+
* @example
|
|
2789
|
+
* 20301001
|
|
2790
|
+
*/
|
|
2791
|
+
validityEndDate?: string;
|
|
2792
|
+
/**
|
|
2793
|
+
* @example
|
|
2794
|
+
* 20201001
|
|
2795
|
+
*/
|
|
2796
|
+
validityStartDate?: string;
|
|
2797
|
+
static names(): { [key: string]: string } {
|
|
2798
|
+
return {
|
|
2799
|
+
identifyNum: 'IdentifyNum',
|
|
2800
|
+
paramType: 'ParamType',
|
|
2801
|
+
userName: 'UserName',
|
|
2802
|
+
validityEndDate: 'ValidityEndDate',
|
|
2803
|
+
validityStartDate: 'ValidityStartDate',
|
|
2804
|
+
};
|
|
2805
|
+
}
|
|
2806
|
+
|
|
2807
|
+
static types(): { [key: string]: any } {
|
|
2808
|
+
return {
|
|
2809
|
+
identifyNum: 'string',
|
|
2810
|
+
paramType: 'string',
|
|
2811
|
+
userName: 'string',
|
|
2812
|
+
validityEndDate: 'string',
|
|
2813
|
+
validityStartDate: 'string',
|
|
2814
|
+
};
|
|
2815
|
+
}
|
|
2816
|
+
|
|
2817
|
+
constructor(map?: { [key: string]: any }) {
|
|
2818
|
+
super(map);
|
|
2819
|
+
}
|
|
2820
|
+
}
|
|
2821
|
+
|
|
2822
|
+
export class Id2MetaPeriodVerifyResponseBody extends $tea.Model {
|
|
2823
|
+
/**
|
|
2824
|
+
* @example
|
|
2825
|
+
* 200
|
|
2826
|
+
*/
|
|
2827
|
+
code?: string;
|
|
2828
|
+
/**
|
|
2829
|
+
* @example
|
|
2830
|
+
* success
|
|
2831
|
+
*/
|
|
2832
|
+
message?: string;
|
|
2833
|
+
/**
|
|
2834
|
+
* @remarks
|
|
2835
|
+
* Id of the request
|
|
2836
|
+
*
|
|
2837
|
+
* @example
|
|
2838
|
+
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
2839
|
+
*/
|
|
2840
|
+
requestId?: string;
|
|
2841
|
+
resultObject?: Id2MetaPeriodVerifyResponseBodyResultObject;
|
|
2842
|
+
static names(): { [key: string]: string } {
|
|
2843
|
+
return {
|
|
2844
|
+
code: 'Code',
|
|
2845
|
+
message: 'Message',
|
|
2846
|
+
requestId: 'RequestId',
|
|
2847
|
+
resultObject: 'ResultObject',
|
|
2848
|
+
};
|
|
2849
|
+
}
|
|
2850
|
+
|
|
2851
|
+
static types(): { [key: string]: any } {
|
|
2852
|
+
return {
|
|
2853
|
+
code: 'string',
|
|
2854
|
+
message: 'string',
|
|
2855
|
+
requestId: 'string',
|
|
2856
|
+
resultObject: Id2MetaPeriodVerifyResponseBodyResultObject,
|
|
2857
|
+
};
|
|
2858
|
+
}
|
|
2859
|
+
|
|
2860
|
+
constructor(map?: { [key: string]: any }) {
|
|
2861
|
+
super(map);
|
|
2862
|
+
}
|
|
2863
|
+
}
|
|
2864
|
+
|
|
2865
|
+
export class Id2MetaPeriodVerifyResponse extends $tea.Model {
|
|
2866
|
+
headers?: { [key: string]: string };
|
|
2867
|
+
statusCode?: number;
|
|
2868
|
+
body?: Id2MetaPeriodVerifyResponseBody;
|
|
2869
|
+
static names(): { [key: string]: string } {
|
|
2870
|
+
return {
|
|
2871
|
+
headers: 'headers',
|
|
2872
|
+
statusCode: 'statusCode',
|
|
2873
|
+
body: 'body',
|
|
2874
|
+
};
|
|
2875
|
+
}
|
|
2876
|
+
|
|
2877
|
+
static types(): { [key: string]: any } {
|
|
2878
|
+
return {
|
|
2879
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2880
|
+
statusCode: 'number',
|
|
2881
|
+
body: Id2MetaPeriodVerifyResponseBody,
|
|
2882
|
+
};
|
|
2883
|
+
}
|
|
2884
|
+
|
|
2885
|
+
constructor(map?: { [key: string]: any }) {
|
|
2886
|
+
super(map);
|
|
2887
|
+
}
|
|
2888
|
+
}
|
|
2889
|
+
|
|
2775
2890
|
export class Id2MetaStandardVerifyRequest extends $tea.Model {
|
|
2776
2891
|
/**
|
|
2777
2892
|
* @example
|
|
@@ -3411,7 +3526,208 @@ export class LivenessFaceVerifyResponseBody extends $tea.Model {
|
|
|
3411
3526
|
code?: string;
|
|
3412
3527
|
message?: string;
|
|
3413
3528
|
requestId?: string;
|
|
3414
|
-
resultObject?: LivenessFaceVerifyResponseBodyResultObject;
|
|
3529
|
+
resultObject?: LivenessFaceVerifyResponseBodyResultObject;
|
|
3530
|
+
static names(): { [key: string]: string } {
|
|
3531
|
+
return {
|
|
3532
|
+
code: 'Code',
|
|
3533
|
+
message: 'Message',
|
|
3534
|
+
requestId: 'RequestId',
|
|
3535
|
+
resultObject: 'ResultObject',
|
|
3536
|
+
};
|
|
3537
|
+
}
|
|
3538
|
+
|
|
3539
|
+
static types(): { [key: string]: any } {
|
|
3540
|
+
return {
|
|
3541
|
+
code: 'string',
|
|
3542
|
+
message: 'string',
|
|
3543
|
+
requestId: 'string',
|
|
3544
|
+
resultObject: LivenessFaceVerifyResponseBodyResultObject,
|
|
3545
|
+
};
|
|
3546
|
+
}
|
|
3547
|
+
|
|
3548
|
+
constructor(map?: { [key: string]: any }) {
|
|
3549
|
+
super(map);
|
|
3550
|
+
}
|
|
3551
|
+
}
|
|
3552
|
+
|
|
3553
|
+
export class LivenessFaceVerifyResponse extends $tea.Model {
|
|
3554
|
+
headers?: { [key: string]: string };
|
|
3555
|
+
statusCode?: number;
|
|
3556
|
+
body?: LivenessFaceVerifyResponseBody;
|
|
3557
|
+
static names(): { [key: string]: string } {
|
|
3558
|
+
return {
|
|
3559
|
+
headers: 'headers',
|
|
3560
|
+
statusCode: 'statusCode',
|
|
3561
|
+
body: 'body',
|
|
3562
|
+
};
|
|
3563
|
+
}
|
|
3564
|
+
|
|
3565
|
+
static types(): { [key: string]: any } {
|
|
3566
|
+
return {
|
|
3567
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3568
|
+
statusCode: 'number',
|
|
3569
|
+
body: LivenessFaceVerifyResponseBody,
|
|
3570
|
+
};
|
|
3571
|
+
}
|
|
3572
|
+
|
|
3573
|
+
constructor(map?: { [key: string]: any }) {
|
|
3574
|
+
super(map);
|
|
3575
|
+
}
|
|
3576
|
+
}
|
|
3577
|
+
|
|
3578
|
+
export class Mobile3MetaDetailStandardVerifyRequest extends $tea.Model {
|
|
3579
|
+
/**
|
|
3580
|
+
* @example
|
|
3581
|
+
* 429001********8211
|
|
3582
|
+
*/
|
|
3583
|
+
identifyNum?: string;
|
|
3584
|
+
/**
|
|
3585
|
+
* @example
|
|
3586
|
+
* 138********
|
|
3587
|
+
*/
|
|
3588
|
+
mobile?: string;
|
|
3589
|
+
/**
|
|
3590
|
+
* @example
|
|
3591
|
+
* normal
|
|
3592
|
+
*/
|
|
3593
|
+
paramType?: string;
|
|
3594
|
+
userName?: string;
|
|
3595
|
+
static names(): { [key: string]: string } {
|
|
3596
|
+
return {
|
|
3597
|
+
identifyNum: 'IdentifyNum',
|
|
3598
|
+
mobile: 'Mobile',
|
|
3599
|
+
paramType: 'ParamType',
|
|
3600
|
+
userName: 'UserName',
|
|
3601
|
+
};
|
|
3602
|
+
}
|
|
3603
|
+
|
|
3604
|
+
static types(): { [key: string]: any } {
|
|
3605
|
+
return {
|
|
3606
|
+
identifyNum: 'string',
|
|
3607
|
+
mobile: 'string',
|
|
3608
|
+
paramType: 'string',
|
|
3609
|
+
userName: 'string',
|
|
3610
|
+
};
|
|
3611
|
+
}
|
|
3612
|
+
|
|
3613
|
+
constructor(map?: { [key: string]: any }) {
|
|
3614
|
+
super(map);
|
|
3615
|
+
}
|
|
3616
|
+
}
|
|
3617
|
+
|
|
3618
|
+
export class Mobile3MetaDetailStandardVerifyResponseBody extends $tea.Model {
|
|
3619
|
+
/**
|
|
3620
|
+
* @example
|
|
3621
|
+
* 200
|
|
3622
|
+
*/
|
|
3623
|
+
code?: string;
|
|
3624
|
+
/**
|
|
3625
|
+
* @example
|
|
3626
|
+
* success
|
|
3627
|
+
*/
|
|
3628
|
+
message?: string;
|
|
3629
|
+
/**
|
|
3630
|
+
* @remarks
|
|
3631
|
+
* Id of the request
|
|
3632
|
+
*
|
|
3633
|
+
* @example
|
|
3634
|
+
* 8FC3D6AC-9FED-4311-8DA7-C4BF47D9F260
|
|
3635
|
+
*/
|
|
3636
|
+
requestId?: string;
|
|
3637
|
+
resultObject?: Mobile3MetaDetailStandardVerifyResponseBodyResultObject;
|
|
3638
|
+
static names(): { [key: string]: string } {
|
|
3639
|
+
return {
|
|
3640
|
+
code: 'Code',
|
|
3641
|
+
message: 'Message',
|
|
3642
|
+
requestId: 'RequestId',
|
|
3643
|
+
resultObject: 'ResultObject',
|
|
3644
|
+
};
|
|
3645
|
+
}
|
|
3646
|
+
|
|
3647
|
+
static types(): { [key: string]: any } {
|
|
3648
|
+
return {
|
|
3649
|
+
code: 'string',
|
|
3650
|
+
message: 'string',
|
|
3651
|
+
requestId: 'string',
|
|
3652
|
+
resultObject: Mobile3MetaDetailStandardVerifyResponseBodyResultObject,
|
|
3653
|
+
};
|
|
3654
|
+
}
|
|
3655
|
+
|
|
3656
|
+
constructor(map?: { [key: string]: any }) {
|
|
3657
|
+
super(map);
|
|
3658
|
+
}
|
|
3659
|
+
}
|
|
3660
|
+
|
|
3661
|
+
export class Mobile3MetaDetailStandardVerifyResponse extends $tea.Model {
|
|
3662
|
+
headers?: { [key: string]: string };
|
|
3663
|
+
statusCode?: number;
|
|
3664
|
+
body?: Mobile3MetaDetailStandardVerifyResponseBody;
|
|
3665
|
+
static names(): { [key: string]: string } {
|
|
3666
|
+
return {
|
|
3667
|
+
headers: 'headers',
|
|
3668
|
+
statusCode: 'statusCode',
|
|
3669
|
+
body: 'body',
|
|
3670
|
+
};
|
|
3671
|
+
}
|
|
3672
|
+
|
|
3673
|
+
static types(): { [key: string]: any } {
|
|
3674
|
+
return {
|
|
3675
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3676
|
+
statusCode: 'number',
|
|
3677
|
+
body: Mobile3MetaDetailStandardVerifyResponseBody,
|
|
3678
|
+
};
|
|
3679
|
+
}
|
|
3680
|
+
|
|
3681
|
+
constructor(map?: { [key: string]: any }) {
|
|
3682
|
+
super(map);
|
|
3683
|
+
}
|
|
3684
|
+
}
|
|
3685
|
+
|
|
3686
|
+
export class Mobile3MetaDetailVerifyRequest extends $tea.Model {
|
|
3687
|
+
identifyNum?: string;
|
|
3688
|
+
mobile?: string;
|
|
3689
|
+
paramType?: string;
|
|
3690
|
+
userName?: string;
|
|
3691
|
+
static names(): { [key: string]: string } {
|
|
3692
|
+
return {
|
|
3693
|
+
identifyNum: 'IdentifyNum',
|
|
3694
|
+
mobile: 'Mobile',
|
|
3695
|
+
paramType: 'ParamType',
|
|
3696
|
+
userName: 'UserName',
|
|
3697
|
+
};
|
|
3698
|
+
}
|
|
3699
|
+
|
|
3700
|
+
static types(): { [key: string]: any } {
|
|
3701
|
+
return {
|
|
3702
|
+
identifyNum: 'string',
|
|
3703
|
+
mobile: 'string',
|
|
3704
|
+
paramType: 'string',
|
|
3705
|
+
userName: 'string',
|
|
3706
|
+
};
|
|
3707
|
+
}
|
|
3708
|
+
|
|
3709
|
+
constructor(map?: { [key: string]: any }) {
|
|
3710
|
+
super(map);
|
|
3711
|
+
}
|
|
3712
|
+
}
|
|
3713
|
+
|
|
3714
|
+
export class Mobile3MetaDetailVerifyResponseBody extends $tea.Model {
|
|
3715
|
+
/**
|
|
3716
|
+
* @example
|
|
3717
|
+
* 200
|
|
3718
|
+
*/
|
|
3719
|
+
code?: string;
|
|
3720
|
+
/**
|
|
3721
|
+
* @example
|
|
3722
|
+
* success
|
|
3723
|
+
*/
|
|
3724
|
+
message?: string;
|
|
3725
|
+
/**
|
|
3726
|
+
* @example
|
|
3727
|
+
* 5A6229C0-E156-48E4-B6EC-0F528BDF60D2
|
|
3728
|
+
*/
|
|
3729
|
+
requestId?: string;
|
|
3730
|
+
resultObject?: Mobile3MetaDetailVerifyResponseBodyResultObject;
|
|
3415
3731
|
static names(): { [key: string]: string } {
|
|
3416
3732
|
return {
|
|
3417
3733
|
code: 'Code',
|
|
@@ -3426,7 +3742,7 @@ export class LivenessFaceVerifyResponseBody extends $tea.Model {
|
|
|
3426
3742
|
code: 'string',
|
|
3427
3743
|
message: 'string',
|
|
3428
3744
|
requestId: 'string',
|
|
3429
|
-
resultObject:
|
|
3745
|
+
resultObject: Mobile3MetaDetailVerifyResponseBodyResultObject,
|
|
3430
3746
|
};
|
|
3431
3747
|
}
|
|
3432
3748
|
|
|
@@ -3435,10 +3751,10 @@ export class LivenessFaceVerifyResponseBody extends $tea.Model {
|
|
|
3435
3751
|
}
|
|
3436
3752
|
}
|
|
3437
3753
|
|
|
3438
|
-
export class
|
|
3754
|
+
export class Mobile3MetaDetailVerifyResponse extends $tea.Model {
|
|
3439
3755
|
headers?: { [key: string]: string };
|
|
3440
3756
|
statusCode?: number;
|
|
3441
|
-
body?:
|
|
3757
|
+
body?: Mobile3MetaDetailVerifyResponseBody;
|
|
3442
3758
|
static names(): { [key: string]: string } {
|
|
3443
3759
|
return {
|
|
3444
3760
|
headers: 'headers',
|
|
@@ -3451,7 +3767,7 @@ export class LivenessFaceVerifyResponse extends $tea.Model {
|
|
|
3451
3767
|
return {
|
|
3452
3768
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3453
3769
|
statusCode: 'number',
|
|
3454
|
-
body:
|
|
3770
|
+
body: Mobile3MetaDetailVerifyResponseBody,
|
|
3455
3771
|
};
|
|
3456
3772
|
}
|
|
3457
3773
|
|
|
@@ -3460,9 +3776,21 @@ export class LivenessFaceVerifyResponse extends $tea.Model {
|
|
|
3460
3776
|
}
|
|
3461
3777
|
}
|
|
3462
3778
|
|
|
3463
|
-
export class
|
|
3779
|
+
export class Mobile3MetaSimpleStandardVerifyRequest extends $tea.Model {
|
|
3780
|
+
/**
|
|
3781
|
+
* @example
|
|
3782
|
+
* 429001********8211
|
|
3783
|
+
*/
|
|
3464
3784
|
identifyNum?: string;
|
|
3785
|
+
/**
|
|
3786
|
+
* @example
|
|
3787
|
+
* 130********
|
|
3788
|
+
*/
|
|
3465
3789
|
mobile?: string;
|
|
3790
|
+
/**
|
|
3791
|
+
* @example
|
|
3792
|
+
* normal
|
|
3793
|
+
*/
|
|
3466
3794
|
paramType?: string;
|
|
3467
3795
|
userName?: string;
|
|
3468
3796
|
static names(): { [key: string]: string } {
|
|
@@ -3488,7 +3816,7 @@ export class Mobile3MetaDetailVerifyRequest extends $tea.Model {
|
|
|
3488
3816
|
}
|
|
3489
3817
|
}
|
|
3490
3818
|
|
|
3491
|
-
export class
|
|
3819
|
+
export class Mobile3MetaSimpleStandardVerifyResponseBody extends $tea.Model {
|
|
3492
3820
|
/**
|
|
3493
3821
|
* @example
|
|
3494
3822
|
* 200
|
|
@@ -3500,11 +3828,14 @@ export class Mobile3MetaDetailVerifyResponseBody extends $tea.Model {
|
|
|
3500
3828
|
*/
|
|
3501
3829
|
message?: string;
|
|
3502
3830
|
/**
|
|
3831
|
+
* @remarks
|
|
3832
|
+
* Id of the request
|
|
3833
|
+
*
|
|
3503
3834
|
* @example
|
|
3504
|
-
*
|
|
3835
|
+
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
3505
3836
|
*/
|
|
3506
3837
|
requestId?: string;
|
|
3507
|
-
resultObject?:
|
|
3838
|
+
resultObject?: Mobile3MetaSimpleStandardVerifyResponseBodyResultObject;
|
|
3508
3839
|
static names(): { [key: string]: string } {
|
|
3509
3840
|
return {
|
|
3510
3841
|
code: 'Code',
|
|
@@ -3519,7 +3850,7 @@ export class Mobile3MetaDetailVerifyResponseBody extends $tea.Model {
|
|
|
3519
3850
|
code: 'string',
|
|
3520
3851
|
message: 'string',
|
|
3521
3852
|
requestId: 'string',
|
|
3522
|
-
resultObject:
|
|
3853
|
+
resultObject: Mobile3MetaSimpleStandardVerifyResponseBodyResultObject,
|
|
3523
3854
|
};
|
|
3524
3855
|
}
|
|
3525
3856
|
|
|
@@ -3528,10 +3859,10 @@ export class Mobile3MetaDetailVerifyResponseBody extends $tea.Model {
|
|
|
3528
3859
|
}
|
|
3529
3860
|
}
|
|
3530
3861
|
|
|
3531
|
-
export class
|
|
3862
|
+
export class Mobile3MetaSimpleStandardVerifyResponse extends $tea.Model {
|
|
3532
3863
|
headers?: { [key: string]: string };
|
|
3533
3864
|
statusCode?: number;
|
|
3534
|
-
body?:
|
|
3865
|
+
body?: Mobile3MetaSimpleStandardVerifyResponseBody;
|
|
3535
3866
|
static names(): { [key: string]: string } {
|
|
3536
3867
|
return {
|
|
3537
3868
|
headers: 'headers',
|
|
@@ -3544,7 +3875,7 @@ export class Mobile3MetaDetailVerifyResponse extends $tea.Model {
|
|
|
3544
3875
|
return {
|
|
3545
3876
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3546
3877
|
statusCode: 'number',
|
|
3547
|
-
body:
|
|
3878
|
+
body: Mobile3MetaSimpleStandardVerifyResponseBody,
|
|
3548
3879
|
};
|
|
3549
3880
|
}
|
|
3550
3881
|
|
|
@@ -6189,6 +6520,29 @@ export class DetectFaceAttributesResponseBodyData extends $tea.Model {
|
|
|
6189
6520
|
}
|
|
6190
6521
|
}
|
|
6191
6522
|
|
|
6523
|
+
export class Id2MetaPeriodVerifyResponseBodyResultObject extends $tea.Model {
|
|
6524
|
+
/**
|
|
6525
|
+
* @example
|
|
6526
|
+
* 1
|
|
6527
|
+
*/
|
|
6528
|
+
bizCode?: string;
|
|
6529
|
+
static names(): { [key: string]: string } {
|
|
6530
|
+
return {
|
|
6531
|
+
bizCode: 'BizCode',
|
|
6532
|
+
};
|
|
6533
|
+
}
|
|
6534
|
+
|
|
6535
|
+
static types(): { [key: string]: any } {
|
|
6536
|
+
return {
|
|
6537
|
+
bizCode: 'string',
|
|
6538
|
+
};
|
|
6539
|
+
}
|
|
6540
|
+
|
|
6541
|
+
constructor(map?: { [key: string]: any }) {
|
|
6542
|
+
super(map);
|
|
6543
|
+
}
|
|
6544
|
+
}
|
|
6545
|
+
|
|
6192
6546
|
export class Id2MetaStandardVerifyResponseBodyResultObject extends $tea.Model {
|
|
6193
6547
|
/**
|
|
6194
6548
|
* @example
|
|
@@ -6289,6 +6643,43 @@ export class LivenessFaceVerifyResponseBodyResultObject extends $tea.Model {
|
|
|
6289
6643
|
}
|
|
6290
6644
|
}
|
|
6291
6645
|
|
|
6646
|
+
export class Mobile3MetaDetailStandardVerifyResponseBodyResultObject extends $tea.Model {
|
|
6647
|
+
/**
|
|
6648
|
+
* @example
|
|
6649
|
+
* 1
|
|
6650
|
+
*/
|
|
6651
|
+
bizCode?: string;
|
|
6652
|
+
/**
|
|
6653
|
+
* @example
|
|
6654
|
+
* CMCC
|
|
6655
|
+
*/
|
|
6656
|
+
ispName?: string;
|
|
6657
|
+
/**
|
|
6658
|
+
* @example
|
|
6659
|
+
* 101
|
|
6660
|
+
*/
|
|
6661
|
+
subCode?: string;
|
|
6662
|
+
static names(): { [key: string]: string } {
|
|
6663
|
+
return {
|
|
6664
|
+
bizCode: 'BizCode',
|
|
6665
|
+
ispName: 'IspName',
|
|
6666
|
+
subCode: 'SubCode',
|
|
6667
|
+
};
|
|
6668
|
+
}
|
|
6669
|
+
|
|
6670
|
+
static types(): { [key: string]: any } {
|
|
6671
|
+
return {
|
|
6672
|
+
bizCode: 'string',
|
|
6673
|
+
ispName: 'string',
|
|
6674
|
+
subCode: 'string',
|
|
6675
|
+
};
|
|
6676
|
+
}
|
|
6677
|
+
|
|
6678
|
+
constructor(map?: { [key: string]: any }) {
|
|
6679
|
+
super(map);
|
|
6680
|
+
}
|
|
6681
|
+
}
|
|
6682
|
+
|
|
6292
6683
|
export class Mobile3MetaDetailVerifyResponseBodyResultObject extends $tea.Model {
|
|
6293
6684
|
/**
|
|
6294
6685
|
* @example
|
|
@@ -6326,6 +6717,36 @@ export class Mobile3MetaDetailVerifyResponseBodyResultObject extends $tea.Model
|
|
|
6326
6717
|
}
|
|
6327
6718
|
}
|
|
6328
6719
|
|
|
6720
|
+
export class Mobile3MetaSimpleStandardVerifyResponseBodyResultObject extends $tea.Model {
|
|
6721
|
+
/**
|
|
6722
|
+
* @example
|
|
6723
|
+
* 1
|
|
6724
|
+
*/
|
|
6725
|
+
bizCode?: string;
|
|
6726
|
+
/**
|
|
6727
|
+
* @example
|
|
6728
|
+
* CMCC
|
|
6729
|
+
*/
|
|
6730
|
+
ispName?: string;
|
|
6731
|
+
static names(): { [key: string]: string } {
|
|
6732
|
+
return {
|
|
6733
|
+
bizCode: 'BizCode',
|
|
6734
|
+
ispName: 'IspName',
|
|
6735
|
+
};
|
|
6736
|
+
}
|
|
6737
|
+
|
|
6738
|
+
static types(): { [key: string]: any } {
|
|
6739
|
+
return {
|
|
6740
|
+
bizCode: 'string',
|
|
6741
|
+
ispName: 'string',
|
|
6742
|
+
};
|
|
6743
|
+
}
|
|
6744
|
+
|
|
6745
|
+
constructor(map?: { [key: string]: any }) {
|
|
6746
|
+
super(map);
|
|
6747
|
+
}
|
|
6748
|
+
}
|
|
6749
|
+
|
|
6329
6750
|
export class Mobile3MetaSimpleVerifyResponseBodyResultObject extends $tea.Model {
|
|
6330
6751
|
/**
|
|
6331
6752
|
* @example
|
|
@@ -8186,6 +8607,64 @@ export default class Client extends OpenApi {
|
|
|
8186
8607
|
return await this.detectFaceAttributesWithOptions(request, runtime);
|
|
8187
8608
|
}
|
|
8188
8609
|
|
|
8610
|
+
/**
|
|
8611
|
+
* 二要素有效期核验接口
|
|
8612
|
+
*
|
|
8613
|
+
* @param request - Id2MetaPeriodVerifyRequest
|
|
8614
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8615
|
+
* @returns Id2MetaPeriodVerifyResponse
|
|
8616
|
+
*/
|
|
8617
|
+
async id2MetaPeriodVerifyWithOptions(request: Id2MetaPeriodVerifyRequest, runtime: $Util.RuntimeOptions): Promise<Id2MetaPeriodVerifyResponse> {
|
|
8618
|
+
Util.validateModel(request);
|
|
8619
|
+
let body : {[key: string ]: any} = { };
|
|
8620
|
+
if (!Util.isUnset(request.identifyNum)) {
|
|
8621
|
+
body["IdentifyNum"] = request.identifyNum;
|
|
8622
|
+
}
|
|
8623
|
+
|
|
8624
|
+
if (!Util.isUnset(request.paramType)) {
|
|
8625
|
+
body["ParamType"] = request.paramType;
|
|
8626
|
+
}
|
|
8627
|
+
|
|
8628
|
+
if (!Util.isUnset(request.userName)) {
|
|
8629
|
+
body["UserName"] = request.userName;
|
|
8630
|
+
}
|
|
8631
|
+
|
|
8632
|
+
if (!Util.isUnset(request.validityEndDate)) {
|
|
8633
|
+
body["ValidityEndDate"] = request.validityEndDate;
|
|
8634
|
+
}
|
|
8635
|
+
|
|
8636
|
+
if (!Util.isUnset(request.validityStartDate)) {
|
|
8637
|
+
body["ValidityStartDate"] = request.validityStartDate;
|
|
8638
|
+
}
|
|
8639
|
+
|
|
8640
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8641
|
+
body: OpenApiUtil.parseToMap(body),
|
|
8642
|
+
});
|
|
8643
|
+
let params = new $OpenApi.Params({
|
|
8644
|
+
action: "Id2MetaPeriodVerify",
|
|
8645
|
+
version: "2019-03-07",
|
|
8646
|
+
protocol: "HTTPS",
|
|
8647
|
+
pathname: "/",
|
|
8648
|
+
method: "POST",
|
|
8649
|
+
authType: "AK",
|
|
8650
|
+
style: "RPC",
|
|
8651
|
+
reqBodyType: "formData",
|
|
8652
|
+
bodyType: "json",
|
|
8653
|
+
});
|
|
8654
|
+
return $tea.cast<Id2MetaPeriodVerifyResponse>(await this.callApi(params, req, runtime), new Id2MetaPeriodVerifyResponse({}));
|
|
8655
|
+
}
|
|
8656
|
+
|
|
8657
|
+
/**
|
|
8658
|
+
* 二要素有效期核验接口
|
|
8659
|
+
*
|
|
8660
|
+
* @param request - Id2MetaPeriodVerifyRequest
|
|
8661
|
+
* @returns Id2MetaPeriodVerifyResponse
|
|
8662
|
+
*/
|
|
8663
|
+
async id2MetaPeriodVerify(request: Id2MetaPeriodVerifyRequest): Promise<Id2MetaPeriodVerifyResponse> {
|
|
8664
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
8665
|
+
return await this.id2MetaPeriodVerifyWithOptions(request, runtime);
|
|
8666
|
+
}
|
|
8667
|
+
|
|
8189
8668
|
/**
|
|
8190
8669
|
* 身份二要素标准版
|
|
8191
8670
|
*
|
|
@@ -8620,6 +9099,60 @@ export default class Client extends OpenApi {
|
|
|
8620
9099
|
return await this.livenessFaceVerifyWithOptions(request, runtime);
|
|
8621
9100
|
}
|
|
8622
9101
|
|
|
9102
|
+
/**
|
|
9103
|
+
* 手机号三要素详版_标准版
|
|
9104
|
+
*
|
|
9105
|
+
* @param request - Mobile3MetaDetailStandardVerifyRequest
|
|
9106
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9107
|
+
* @returns Mobile3MetaDetailStandardVerifyResponse
|
|
9108
|
+
*/
|
|
9109
|
+
async mobile3MetaDetailStandardVerifyWithOptions(request: Mobile3MetaDetailStandardVerifyRequest, runtime: $Util.RuntimeOptions): Promise<Mobile3MetaDetailStandardVerifyResponse> {
|
|
9110
|
+
Util.validateModel(request);
|
|
9111
|
+
let body : {[key: string ]: any} = { };
|
|
9112
|
+
if (!Util.isUnset(request.identifyNum)) {
|
|
9113
|
+
body["IdentifyNum"] = request.identifyNum;
|
|
9114
|
+
}
|
|
9115
|
+
|
|
9116
|
+
if (!Util.isUnset(request.mobile)) {
|
|
9117
|
+
body["Mobile"] = request.mobile;
|
|
9118
|
+
}
|
|
9119
|
+
|
|
9120
|
+
if (!Util.isUnset(request.paramType)) {
|
|
9121
|
+
body["ParamType"] = request.paramType;
|
|
9122
|
+
}
|
|
9123
|
+
|
|
9124
|
+
if (!Util.isUnset(request.userName)) {
|
|
9125
|
+
body["UserName"] = request.userName;
|
|
9126
|
+
}
|
|
9127
|
+
|
|
9128
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
9129
|
+
body: OpenApiUtil.parseToMap(body),
|
|
9130
|
+
});
|
|
9131
|
+
let params = new $OpenApi.Params({
|
|
9132
|
+
action: "Mobile3MetaDetailStandardVerify",
|
|
9133
|
+
version: "2019-03-07",
|
|
9134
|
+
protocol: "HTTPS",
|
|
9135
|
+
pathname: "/",
|
|
9136
|
+
method: "POST",
|
|
9137
|
+
authType: "AK",
|
|
9138
|
+
style: "RPC",
|
|
9139
|
+
reqBodyType: "formData",
|
|
9140
|
+
bodyType: "json",
|
|
9141
|
+
});
|
|
9142
|
+
return $tea.cast<Mobile3MetaDetailStandardVerifyResponse>(await this.callApi(params, req, runtime), new Mobile3MetaDetailStandardVerifyResponse({}));
|
|
9143
|
+
}
|
|
9144
|
+
|
|
9145
|
+
/**
|
|
9146
|
+
* 手机号三要素详版_标准版
|
|
9147
|
+
*
|
|
9148
|
+
* @param request - Mobile3MetaDetailStandardVerifyRequest
|
|
9149
|
+
* @returns Mobile3MetaDetailStandardVerifyResponse
|
|
9150
|
+
*/
|
|
9151
|
+
async mobile3MetaDetailStandardVerify(request: Mobile3MetaDetailStandardVerifyRequest): Promise<Mobile3MetaDetailStandardVerifyResponse> {
|
|
9152
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
9153
|
+
return await this.mobile3MetaDetailStandardVerifyWithOptions(request, runtime);
|
|
9154
|
+
}
|
|
9155
|
+
|
|
8623
9156
|
/**
|
|
8624
9157
|
* 手机三要素详版接口
|
|
8625
9158
|
*
|
|
@@ -8674,6 +9207,60 @@ export default class Client extends OpenApi {
|
|
|
8674
9207
|
return await this.mobile3MetaDetailVerifyWithOptions(request, runtime);
|
|
8675
9208
|
}
|
|
8676
9209
|
|
|
9210
|
+
/**
|
|
9211
|
+
* 手机号三要素简版_标准版
|
|
9212
|
+
*
|
|
9213
|
+
* @param request - Mobile3MetaSimpleStandardVerifyRequest
|
|
9214
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9215
|
+
* @returns Mobile3MetaSimpleStandardVerifyResponse
|
|
9216
|
+
*/
|
|
9217
|
+
async mobile3MetaSimpleStandardVerifyWithOptions(request: Mobile3MetaSimpleStandardVerifyRequest, runtime: $Util.RuntimeOptions): Promise<Mobile3MetaSimpleStandardVerifyResponse> {
|
|
9218
|
+
Util.validateModel(request);
|
|
9219
|
+
let body : {[key: string ]: any} = { };
|
|
9220
|
+
if (!Util.isUnset(request.identifyNum)) {
|
|
9221
|
+
body["IdentifyNum"] = request.identifyNum;
|
|
9222
|
+
}
|
|
9223
|
+
|
|
9224
|
+
if (!Util.isUnset(request.mobile)) {
|
|
9225
|
+
body["Mobile"] = request.mobile;
|
|
9226
|
+
}
|
|
9227
|
+
|
|
9228
|
+
if (!Util.isUnset(request.paramType)) {
|
|
9229
|
+
body["ParamType"] = request.paramType;
|
|
9230
|
+
}
|
|
9231
|
+
|
|
9232
|
+
if (!Util.isUnset(request.userName)) {
|
|
9233
|
+
body["UserName"] = request.userName;
|
|
9234
|
+
}
|
|
9235
|
+
|
|
9236
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
9237
|
+
body: OpenApiUtil.parseToMap(body),
|
|
9238
|
+
});
|
|
9239
|
+
let params = new $OpenApi.Params({
|
|
9240
|
+
action: "Mobile3MetaSimpleStandardVerify",
|
|
9241
|
+
version: "2019-03-07",
|
|
9242
|
+
protocol: "HTTPS",
|
|
9243
|
+
pathname: "/",
|
|
9244
|
+
method: "POST",
|
|
9245
|
+
authType: "AK",
|
|
9246
|
+
style: "RPC",
|
|
9247
|
+
reqBodyType: "formData",
|
|
9248
|
+
bodyType: "json",
|
|
9249
|
+
});
|
|
9250
|
+
return $tea.cast<Mobile3MetaSimpleStandardVerifyResponse>(await this.callApi(params, req, runtime), new Mobile3MetaSimpleStandardVerifyResponse({}));
|
|
9251
|
+
}
|
|
9252
|
+
|
|
9253
|
+
/**
|
|
9254
|
+
* 手机号三要素简版_标准版
|
|
9255
|
+
*
|
|
9256
|
+
* @param request - Mobile3MetaSimpleStandardVerifyRequest
|
|
9257
|
+
* @returns Mobile3MetaSimpleStandardVerifyResponse
|
|
9258
|
+
*/
|
|
9259
|
+
async mobile3MetaSimpleStandardVerify(request: Mobile3MetaSimpleStandardVerifyRequest): Promise<Mobile3MetaSimpleStandardVerifyResponse> {
|
|
9260
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
9261
|
+
return await this.mobile3MetaSimpleStandardVerifyWithOptions(request, runtime);
|
|
9262
|
+
}
|
|
9263
|
+
|
|
8677
9264
|
/**
|
|
8678
9265
|
* 手机号三要素简版接口
|
|
8679
9266
|
*
|