@alicloud/cloudauth20190307 3.1.0 → 3.3.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 +212 -50
- package/dist/client.js +288 -33
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +401 -79
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -1708,6 +1708,118 @@ export class DescribeDeviceInfoResponse extends $tea.Model {
|
|
|
1708
1708
|
}
|
|
1709
1709
|
}
|
|
1710
1710
|
|
|
1711
|
+
export class DescribeFaceGuardRiskRequest extends $tea.Model {
|
|
1712
|
+
/**
|
|
1713
|
+
* @example
|
|
1714
|
+
* aba9830f471a4335af4612c8adaa91b0
|
|
1715
|
+
*/
|
|
1716
|
+
bizId?: string;
|
|
1717
|
+
/**
|
|
1718
|
+
* @example
|
|
1719
|
+
* McozS1ZWRcRZStlERcZZo_QOytx5jcgZoZJEoRLOxxxxxxx
|
|
1720
|
+
*/
|
|
1721
|
+
deviceToken?: string;
|
|
1722
|
+
/**
|
|
1723
|
+
* @example
|
|
1724
|
+
* e0c34a77f5ac40a5aa5e6ed20c35xxxx
|
|
1725
|
+
*/
|
|
1726
|
+
outerOrderNo?: string;
|
|
1727
|
+
/**
|
|
1728
|
+
* @example
|
|
1729
|
+
* FACE_GUARD
|
|
1730
|
+
*/
|
|
1731
|
+
productCode?: string;
|
|
1732
|
+
static names(): { [key: string]: string } {
|
|
1733
|
+
return {
|
|
1734
|
+
bizId: 'BizId',
|
|
1735
|
+
deviceToken: 'DeviceToken',
|
|
1736
|
+
outerOrderNo: 'OuterOrderNo',
|
|
1737
|
+
productCode: 'ProductCode',
|
|
1738
|
+
};
|
|
1739
|
+
}
|
|
1740
|
+
|
|
1741
|
+
static types(): { [key: string]: any } {
|
|
1742
|
+
return {
|
|
1743
|
+
bizId: 'string',
|
|
1744
|
+
deviceToken: 'string',
|
|
1745
|
+
outerOrderNo: 'string',
|
|
1746
|
+
productCode: 'string',
|
|
1747
|
+
};
|
|
1748
|
+
}
|
|
1749
|
+
|
|
1750
|
+
constructor(map?: { [key: string]: any }) {
|
|
1751
|
+
super(map);
|
|
1752
|
+
}
|
|
1753
|
+
}
|
|
1754
|
+
|
|
1755
|
+
export class DescribeFaceGuardRiskResponseBody extends $tea.Model {
|
|
1756
|
+
/**
|
|
1757
|
+
* @example
|
|
1758
|
+
* 200
|
|
1759
|
+
*/
|
|
1760
|
+
code?: string;
|
|
1761
|
+
/**
|
|
1762
|
+
* @example
|
|
1763
|
+
* success
|
|
1764
|
+
*/
|
|
1765
|
+
message?: string;
|
|
1766
|
+
/**
|
|
1767
|
+
* @remarks
|
|
1768
|
+
* Id of the request
|
|
1769
|
+
*
|
|
1770
|
+
* @example
|
|
1771
|
+
* D6163397-15C5-419C-9ACC-B7C83E0B4C10
|
|
1772
|
+
*/
|
|
1773
|
+
requestId?: string;
|
|
1774
|
+
resultObject?: DescribeFaceGuardRiskResponseBodyResultObject;
|
|
1775
|
+
static names(): { [key: string]: string } {
|
|
1776
|
+
return {
|
|
1777
|
+
code: 'Code',
|
|
1778
|
+
message: 'Message',
|
|
1779
|
+
requestId: 'RequestId',
|
|
1780
|
+
resultObject: 'ResultObject',
|
|
1781
|
+
};
|
|
1782
|
+
}
|
|
1783
|
+
|
|
1784
|
+
static types(): { [key: string]: any } {
|
|
1785
|
+
return {
|
|
1786
|
+
code: 'string',
|
|
1787
|
+
message: 'string',
|
|
1788
|
+
requestId: 'string',
|
|
1789
|
+
resultObject: DescribeFaceGuardRiskResponseBodyResultObject,
|
|
1790
|
+
};
|
|
1791
|
+
}
|
|
1792
|
+
|
|
1793
|
+
constructor(map?: { [key: string]: any }) {
|
|
1794
|
+
super(map);
|
|
1795
|
+
}
|
|
1796
|
+
}
|
|
1797
|
+
|
|
1798
|
+
export class DescribeFaceGuardRiskResponse extends $tea.Model {
|
|
1799
|
+
headers?: { [key: string]: string };
|
|
1800
|
+
statusCode?: number;
|
|
1801
|
+
body?: DescribeFaceGuardRiskResponseBody;
|
|
1802
|
+
static names(): { [key: string]: string } {
|
|
1803
|
+
return {
|
|
1804
|
+
headers: 'headers',
|
|
1805
|
+
statusCode: 'statusCode',
|
|
1806
|
+
body: 'body',
|
|
1807
|
+
};
|
|
1808
|
+
}
|
|
1809
|
+
|
|
1810
|
+
static types(): { [key: string]: any } {
|
|
1811
|
+
return {
|
|
1812
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1813
|
+
statusCode: 'number',
|
|
1814
|
+
body: DescribeFaceGuardRiskResponseBody,
|
|
1815
|
+
};
|
|
1816
|
+
}
|
|
1817
|
+
|
|
1818
|
+
constructor(map?: { [key: string]: any }) {
|
|
1819
|
+
super(map);
|
|
1820
|
+
}
|
|
1821
|
+
}
|
|
1822
|
+
|
|
1711
1823
|
export class DescribeFaceVerifyRequest extends $tea.Model {
|
|
1712
1824
|
/**
|
|
1713
1825
|
* @example
|
|
@@ -2660,10 +2772,10 @@ export class DetectFaceAttributesResponse extends $tea.Model {
|
|
|
2660
2772
|
}
|
|
2661
2773
|
}
|
|
2662
2774
|
|
|
2663
|
-
export class
|
|
2775
|
+
export class Id2MetaStandardVerifyRequest extends $tea.Model {
|
|
2664
2776
|
/**
|
|
2665
2777
|
* @example
|
|
2666
|
-
*
|
|
2778
|
+
* 4****************1
|
|
2667
2779
|
*/
|
|
2668
2780
|
identifyNum?: string;
|
|
2669
2781
|
/**
|
|
@@ -2693,6 +2805,99 @@ export class Id2MetaVerifyRequest extends $tea.Model {
|
|
|
2693
2805
|
}
|
|
2694
2806
|
}
|
|
2695
2807
|
|
|
2808
|
+
export class Id2MetaStandardVerifyResponseBody extends $tea.Model {
|
|
2809
|
+
/**
|
|
2810
|
+
* @example
|
|
2811
|
+
* 200
|
|
2812
|
+
*/
|
|
2813
|
+
code?: string;
|
|
2814
|
+
/**
|
|
2815
|
+
* @example
|
|
2816
|
+
* success
|
|
2817
|
+
*/
|
|
2818
|
+
message?: string;
|
|
2819
|
+
/**
|
|
2820
|
+
* @remarks
|
|
2821
|
+
* Id of the request
|
|
2822
|
+
*
|
|
2823
|
+
* @example
|
|
2824
|
+
* D6163397-15C5-419C-9ACC-B7C83E0B4C10
|
|
2825
|
+
*/
|
|
2826
|
+
requestId?: string;
|
|
2827
|
+
resultObject?: Id2MetaStandardVerifyResponseBodyResultObject;
|
|
2828
|
+
static names(): { [key: string]: string } {
|
|
2829
|
+
return {
|
|
2830
|
+
code: 'Code',
|
|
2831
|
+
message: 'Message',
|
|
2832
|
+
requestId: 'RequestId',
|
|
2833
|
+
resultObject: 'ResultObject',
|
|
2834
|
+
};
|
|
2835
|
+
}
|
|
2836
|
+
|
|
2837
|
+
static types(): { [key: string]: any } {
|
|
2838
|
+
return {
|
|
2839
|
+
code: 'string',
|
|
2840
|
+
message: 'string',
|
|
2841
|
+
requestId: 'string',
|
|
2842
|
+
resultObject: Id2MetaStandardVerifyResponseBodyResultObject,
|
|
2843
|
+
};
|
|
2844
|
+
}
|
|
2845
|
+
|
|
2846
|
+
constructor(map?: { [key: string]: any }) {
|
|
2847
|
+
super(map);
|
|
2848
|
+
}
|
|
2849
|
+
}
|
|
2850
|
+
|
|
2851
|
+
export class Id2MetaStandardVerifyResponse extends $tea.Model {
|
|
2852
|
+
headers?: { [key: string]: string };
|
|
2853
|
+
statusCode?: number;
|
|
2854
|
+
body?: Id2MetaStandardVerifyResponseBody;
|
|
2855
|
+
static names(): { [key: string]: string } {
|
|
2856
|
+
return {
|
|
2857
|
+
headers: 'headers',
|
|
2858
|
+
statusCode: 'statusCode',
|
|
2859
|
+
body: 'body',
|
|
2860
|
+
};
|
|
2861
|
+
}
|
|
2862
|
+
|
|
2863
|
+
static types(): { [key: string]: any } {
|
|
2864
|
+
return {
|
|
2865
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2866
|
+
statusCode: 'number',
|
|
2867
|
+
body: Id2MetaStandardVerifyResponseBody,
|
|
2868
|
+
};
|
|
2869
|
+
}
|
|
2870
|
+
|
|
2871
|
+
constructor(map?: { [key: string]: any }) {
|
|
2872
|
+
super(map);
|
|
2873
|
+
}
|
|
2874
|
+
}
|
|
2875
|
+
|
|
2876
|
+
export class Id2MetaVerifyRequest extends $tea.Model {
|
|
2877
|
+
identifyNum?: string;
|
|
2878
|
+
paramType?: string;
|
|
2879
|
+
userName?: string;
|
|
2880
|
+
static names(): { [key: string]: string } {
|
|
2881
|
+
return {
|
|
2882
|
+
identifyNum: 'IdentifyNum',
|
|
2883
|
+
paramType: 'ParamType',
|
|
2884
|
+
userName: 'UserName',
|
|
2885
|
+
};
|
|
2886
|
+
}
|
|
2887
|
+
|
|
2888
|
+
static types(): { [key: string]: any } {
|
|
2889
|
+
return {
|
|
2890
|
+
identifyNum: 'string',
|
|
2891
|
+
paramType: 'string',
|
|
2892
|
+
userName: 'string',
|
|
2893
|
+
};
|
|
2894
|
+
}
|
|
2895
|
+
|
|
2896
|
+
constructor(map?: { [key: string]: any }) {
|
|
2897
|
+
super(map);
|
|
2898
|
+
}
|
|
2899
|
+
}
|
|
2900
|
+
|
|
2696
2901
|
export class Id2MetaVerifyResponseBody extends $tea.Model {
|
|
2697
2902
|
/**
|
|
2698
2903
|
* @example
|
|
@@ -3256,20 +3461,8 @@ export class LivenessFaceVerifyResponse extends $tea.Model {
|
|
|
3256
3461
|
}
|
|
3257
3462
|
|
|
3258
3463
|
export class Mobile3MetaDetailVerifyRequest extends $tea.Model {
|
|
3259
|
-
/**
|
|
3260
|
-
* @example
|
|
3261
|
-
* 520181199902104631
|
|
3262
|
-
*/
|
|
3263
3464
|
identifyNum?: string;
|
|
3264
|
-
/**
|
|
3265
|
-
* @example
|
|
3266
|
-
* 150000xxxx
|
|
3267
|
-
*/
|
|
3268
3465
|
mobile?: string;
|
|
3269
|
-
/**
|
|
3270
|
-
* @example
|
|
3271
|
-
* normal
|
|
3272
|
-
*/
|
|
3273
3466
|
paramType?: string;
|
|
3274
3467
|
userName?: string;
|
|
3275
3468
|
static names(): { [key: string]: string } {
|
|
@@ -3361,20 +3554,8 @@ export class Mobile3MetaDetailVerifyResponse extends $tea.Model {
|
|
|
3361
3554
|
}
|
|
3362
3555
|
|
|
3363
3556
|
export class Mobile3MetaSimpleVerifyRequest extends $tea.Model {
|
|
3364
|
-
/**
|
|
3365
|
-
* @example
|
|
3366
|
-
* 429001********8211
|
|
3367
|
-
*/
|
|
3368
3557
|
identifyNum?: string;
|
|
3369
|
-
/**
|
|
3370
|
-
* @example
|
|
3371
|
-
* 150000****
|
|
3372
|
-
*/
|
|
3373
3558
|
mobile?: string;
|
|
3374
|
-
/**
|
|
3375
|
-
* @example
|
|
3376
|
-
* normal
|
|
3377
|
-
*/
|
|
3378
3559
|
paramType?: string;
|
|
3379
3560
|
userName?: string;
|
|
3380
3561
|
static names(): { [key: string]: string } {
|
|
@@ -3466,15 +3647,7 @@ export class Mobile3MetaSimpleVerifyResponse extends $tea.Model {
|
|
|
3466
3647
|
}
|
|
3467
3648
|
|
|
3468
3649
|
export class MobileDetectRequest extends $tea.Model {
|
|
3469
|
-
/**
|
|
3470
|
-
* @example
|
|
3471
|
-
* 138********,156********
|
|
3472
|
-
*/
|
|
3473
3650
|
mobiles?: string;
|
|
3474
|
-
/**
|
|
3475
|
-
* @example
|
|
3476
|
-
* normal
|
|
3477
|
-
*/
|
|
3478
3651
|
paramType?: string;
|
|
3479
3652
|
static names(): { [key: string]: string } {
|
|
3480
3653
|
return {
|
|
@@ -3561,15 +3734,7 @@ export class MobileDetectResponse extends $tea.Model {
|
|
|
3561
3734
|
}
|
|
3562
3735
|
|
|
3563
3736
|
export class MobileOnlineStatusRequest extends $tea.Model {
|
|
3564
|
-
/**
|
|
3565
|
-
* @example
|
|
3566
|
-
* 130********
|
|
3567
|
-
*/
|
|
3568
3737
|
mobile?: string;
|
|
3569
|
-
/**
|
|
3570
|
-
* @example
|
|
3571
|
-
* normal
|
|
3572
|
-
*/
|
|
3573
3738
|
paramType?: string;
|
|
3574
3739
|
static names(): { [key: string]: string } {
|
|
3575
3740
|
return {
|
|
@@ -3656,15 +3821,7 @@ export class MobileOnlineStatusResponse extends $tea.Model {
|
|
|
3656
3821
|
}
|
|
3657
3822
|
|
|
3658
3823
|
export class MobileOnlineTimeRequest extends $tea.Model {
|
|
3659
|
-
/**
|
|
3660
|
-
* @example
|
|
3661
|
-
* 130********
|
|
3662
|
-
*/
|
|
3663
3824
|
mobile?: string;
|
|
3664
|
-
/**
|
|
3665
|
-
* @example
|
|
3666
|
-
* normal
|
|
3667
|
-
*/
|
|
3668
3825
|
paramType?: string;
|
|
3669
3826
|
static names(): { [key: string]: string } {
|
|
3670
3827
|
return {
|
|
@@ -5310,6 +5467,44 @@ export class DescribeDeviceInfoResponseBodyDeviceInfoList extends $tea.Model {
|
|
|
5310
5467
|
}
|
|
5311
5468
|
}
|
|
5312
5469
|
|
|
5470
|
+
export class DescribeFaceGuardRiskResponseBodyResultObject extends $tea.Model {
|
|
5471
|
+
certifyId?: string;
|
|
5472
|
+
/**
|
|
5473
|
+
* @example
|
|
5474
|
+
* {
|
|
5475
|
+
* "code": 200
|
|
5476
|
+
* "badNet":false,
|
|
5477
|
+
* "umid":"74e37355171ab62230063569350d368e",
|
|
5478
|
+
* "fileTags":"basic_root,basic_hook",
|
|
5479
|
+
* "queryCount":1,
|
|
5480
|
+
* "querySessionCount":1,
|
|
5481
|
+
* "queryUmidCount":1
|
|
5482
|
+
* "platform":"Android"
|
|
5483
|
+
* }
|
|
5484
|
+
*/
|
|
5485
|
+
riskExtends?: string;
|
|
5486
|
+
riskTags?: string;
|
|
5487
|
+
static names(): { [key: string]: string } {
|
|
5488
|
+
return {
|
|
5489
|
+
certifyId: 'CertifyId',
|
|
5490
|
+
riskExtends: 'RiskExtends',
|
|
5491
|
+
riskTags: 'RiskTags',
|
|
5492
|
+
};
|
|
5493
|
+
}
|
|
5494
|
+
|
|
5495
|
+
static types(): { [key: string]: any } {
|
|
5496
|
+
return {
|
|
5497
|
+
certifyId: 'string',
|
|
5498
|
+
riskExtends: 'string',
|
|
5499
|
+
riskTags: 'string',
|
|
5500
|
+
};
|
|
5501
|
+
}
|
|
5502
|
+
|
|
5503
|
+
constructor(map?: { [key: string]: any }) {
|
|
5504
|
+
super(map);
|
|
5505
|
+
}
|
|
5506
|
+
}
|
|
5507
|
+
|
|
5313
5508
|
export class DescribeFaceVerifyResponseBodyResultObject extends $tea.Model {
|
|
5314
5509
|
deviceRisk?: string;
|
|
5315
5510
|
/**
|
|
@@ -5994,6 +6189,29 @@ export class DetectFaceAttributesResponseBodyData extends $tea.Model {
|
|
|
5994
6189
|
}
|
|
5995
6190
|
}
|
|
5996
6191
|
|
|
6192
|
+
export class Id2MetaStandardVerifyResponseBodyResultObject extends $tea.Model {
|
|
6193
|
+
/**
|
|
6194
|
+
* @example
|
|
6195
|
+
* 1
|
|
6196
|
+
*/
|
|
6197
|
+
bizCode?: string;
|
|
6198
|
+
static names(): { [key: string]: string } {
|
|
6199
|
+
return {
|
|
6200
|
+
bizCode: 'BizCode',
|
|
6201
|
+
};
|
|
6202
|
+
}
|
|
6203
|
+
|
|
6204
|
+
static types(): { [key: string]: any } {
|
|
6205
|
+
return {
|
|
6206
|
+
bizCode: 'string',
|
|
6207
|
+
};
|
|
6208
|
+
}
|
|
6209
|
+
|
|
6210
|
+
constructor(map?: { [key: string]: any }) {
|
|
6211
|
+
super(map);
|
|
6212
|
+
}
|
|
6213
|
+
}
|
|
6214
|
+
|
|
5997
6215
|
export class Id2MetaVerifyResponseBodyResultObject extends $tea.Model {
|
|
5998
6216
|
/**
|
|
5999
6217
|
* @example
|
|
@@ -7503,6 +7721,60 @@ export default class Client extends OpenApi {
|
|
|
7503
7721
|
return await this.describeDeviceInfoWithOptions(request, runtime);
|
|
7504
7722
|
}
|
|
7505
7723
|
|
|
7724
|
+
/**
|
|
7725
|
+
* 金融级人脸保镖服务
|
|
7726
|
+
*
|
|
7727
|
+
* @param request - DescribeFaceGuardRiskRequest
|
|
7728
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7729
|
+
* @returns DescribeFaceGuardRiskResponse
|
|
7730
|
+
*/
|
|
7731
|
+
async describeFaceGuardRiskWithOptions(request: DescribeFaceGuardRiskRequest, runtime: $Util.RuntimeOptions): Promise<DescribeFaceGuardRiskResponse> {
|
|
7732
|
+
Util.validateModel(request);
|
|
7733
|
+
let query = { };
|
|
7734
|
+
if (!Util.isUnset(request.bizId)) {
|
|
7735
|
+
query["BizId"] = request.bizId;
|
|
7736
|
+
}
|
|
7737
|
+
|
|
7738
|
+
if (!Util.isUnset(request.deviceToken)) {
|
|
7739
|
+
query["DeviceToken"] = request.deviceToken;
|
|
7740
|
+
}
|
|
7741
|
+
|
|
7742
|
+
if (!Util.isUnset(request.outerOrderNo)) {
|
|
7743
|
+
query["OuterOrderNo"] = request.outerOrderNo;
|
|
7744
|
+
}
|
|
7745
|
+
|
|
7746
|
+
if (!Util.isUnset(request.productCode)) {
|
|
7747
|
+
query["ProductCode"] = request.productCode;
|
|
7748
|
+
}
|
|
7749
|
+
|
|
7750
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7751
|
+
query: OpenApiUtil.query(query),
|
|
7752
|
+
});
|
|
7753
|
+
let params = new $OpenApi.Params({
|
|
7754
|
+
action: "DescribeFaceGuardRisk",
|
|
7755
|
+
version: "2019-03-07",
|
|
7756
|
+
protocol: "HTTPS",
|
|
7757
|
+
pathname: "/",
|
|
7758
|
+
method: "POST",
|
|
7759
|
+
authType: "AK",
|
|
7760
|
+
style: "RPC",
|
|
7761
|
+
reqBodyType: "formData",
|
|
7762
|
+
bodyType: "json",
|
|
7763
|
+
});
|
|
7764
|
+
return $tea.cast<DescribeFaceGuardRiskResponse>(await this.callApi(params, req, runtime), new DescribeFaceGuardRiskResponse({}));
|
|
7765
|
+
}
|
|
7766
|
+
|
|
7767
|
+
/**
|
|
7768
|
+
* 金融级人脸保镖服务
|
|
7769
|
+
*
|
|
7770
|
+
* @param request - DescribeFaceGuardRiskRequest
|
|
7771
|
+
* @returns DescribeFaceGuardRiskResponse
|
|
7772
|
+
*/
|
|
7773
|
+
async describeFaceGuardRisk(request: DescribeFaceGuardRiskRequest): Promise<DescribeFaceGuardRiskResponse> {
|
|
7774
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
7775
|
+
return await this.describeFaceGuardRiskWithOptions(request, runtime);
|
|
7776
|
+
}
|
|
7777
|
+
|
|
7506
7778
|
/**
|
|
7507
7779
|
* @param request - DescribeFaceVerifyRequest
|
|
7508
7780
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7914,6 +8186,56 @@ export default class Client extends OpenApi {
|
|
|
7914
8186
|
return await this.detectFaceAttributesWithOptions(request, runtime);
|
|
7915
8187
|
}
|
|
7916
8188
|
|
|
8189
|
+
/**
|
|
8190
|
+
* 身份二要素标准版
|
|
8191
|
+
*
|
|
8192
|
+
* @param request - Id2MetaStandardVerifyRequest
|
|
8193
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8194
|
+
* @returns Id2MetaStandardVerifyResponse
|
|
8195
|
+
*/
|
|
8196
|
+
async id2MetaStandardVerifyWithOptions(request: Id2MetaStandardVerifyRequest, runtime: $Util.RuntimeOptions): Promise<Id2MetaStandardVerifyResponse> {
|
|
8197
|
+
Util.validateModel(request);
|
|
8198
|
+
let body : {[key: string ]: any} = { };
|
|
8199
|
+
if (!Util.isUnset(request.identifyNum)) {
|
|
8200
|
+
body["IdentifyNum"] = request.identifyNum;
|
|
8201
|
+
}
|
|
8202
|
+
|
|
8203
|
+
if (!Util.isUnset(request.paramType)) {
|
|
8204
|
+
body["ParamType"] = request.paramType;
|
|
8205
|
+
}
|
|
8206
|
+
|
|
8207
|
+
if (!Util.isUnset(request.userName)) {
|
|
8208
|
+
body["UserName"] = request.userName;
|
|
8209
|
+
}
|
|
8210
|
+
|
|
8211
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8212
|
+
body: OpenApiUtil.parseToMap(body),
|
|
8213
|
+
});
|
|
8214
|
+
let params = new $OpenApi.Params({
|
|
8215
|
+
action: "Id2MetaStandardVerify",
|
|
8216
|
+
version: "2019-03-07",
|
|
8217
|
+
protocol: "HTTPS",
|
|
8218
|
+
pathname: "/",
|
|
8219
|
+
method: "POST",
|
|
8220
|
+
authType: "AK",
|
|
8221
|
+
style: "RPC",
|
|
8222
|
+
reqBodyType: "formData",
|
|
8223
|
+
bodyType: "json",
|
|
8224
|
+
});
|
|
8225
|
+
return $tea.cast<Id2MetaStandardVerifyResponse>(await this.callApi(params, req, runtime), new Id2MetaStandardVerifyResponse({}));
|
|
8226
|
+
}
|
|
8227
|
+
|
|
8228
|
+
/**
|
|
8229
|
+
* 身份二要素标准版
|
|
8230
|
+
*
|
|
8231
|
+
* @param request - Id2MetaStandardVerifyRequest
|
|
8232
|
+
* @returns Id2MetaStandardVerifyResponse
|
|
8233
|
+
*/
|
|
8234
|
+
async id2MetaStandardVerify(request: Id2MetaStandardVerifyRequest): Promise<Id2MetaStandardVerifyResponse> {
|
|
8235
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
8236
|
+
return await this.id2MetaStandardVerifyWithOptions(request, runtime);
|
|
8237
|
+
}
|
|
8238
|
+
|
|
7917
8239
|
/**
|
|
7918
8240
|
* 身份二要素接口
|
|
7919
8241
|
*
|
|
@@ -7923,21 +8245,21 @@ export default class Client extends OpenApi {
|
|
|
7923
8245
|
*/
|
|
7924
8246
|
async id2MetaVerifyWithOptions(request: Id2MetaVerifyRequest, runtime: $Util.RuntimeOptions): Promise<Id2MetaVerifyResponse> {
|
|
7925
8247
|
Util.validateModel(request);
|
|
7926
|
-
let
|
|
8248
|
+
let body : {[key: string ]: any} = { };
|
|
7927
8249
|
if (!Util.isUnset(request.identifyNum)) {
|
|
7928
|
-
|
|
8250
|
+
body["IdentifyNum"] = request.identifyNum;
|
|
7929
8251
|
}
|
|
7930
8252
|
|
|
7931
8253
|
if (!Util.isUnset(request.paramType)) {
|
|
7932
|
-
|
|
8254
|
+
body["ParamType"] = request.paramType;
|
|
7933
8255
|
}
|
|
7934
8256
|
|
|
7935
8257
|
if (!Util.isUnset(request.userName)) {
|
|
7936
|
-
|
|
8258
|
+
body["UserName"] = request.userName;
|
|
7937
8259
|
}
|
|
7938
8260
|
|
|
7939
8261
|
let req = new $OpenApi.OpenApiRequest({
|
|
7940
|
-
|
|
8262
|
+
body: OpenApiUtil.parseToMap(body),
|
|
7941
8263
|
});
|
|
7942
8264
|
let params = new $OpenApi.Params({
|
|
7943
8265
|
action: "Id2MetaVerify",
|
|
@@ -8307,25 +8629,25 @@ export default class Client extends OpenApi {
|
|
|
8307
8629
|
*/
|
|
8308
8630
|
async mobile3MetaDetailVerifyWithOptions(request: Mobile3MetaDetailVerifyRequest, runtime: $Util.RuntimeOptions): Promise<Mobile3MetaDetailVerifyResponse> {
|
|
8309
8631
|
Util.validateModel(request);
|
|
8310
|
-
let
|
|
8632
|
+
let body : {[key: string ]: any} = { };
|
|
8311
8633
|
if (!Util.isUnset(request.identifyNum)) {
|
|
8312
|
-
|
|
8634
|
+
body["IdentifyNum"] = request.identifyNum;
|
|
8313
8635
|
}
|
|
8314
8636
|
|
|
8315
8637
|
if (!Util.isUnset(request.mobile)) {
|
|
8316
|
-
|
|
8638
|
+
body["Mobile"] = request.mobile;
|
|
8317
8639
|
}
|
|
8318
8640
|
|
|
8319
8641
|
if (!Util.isUnset(request.paramType)) {
|
|
8320
|
-
|
|
8642
|
+
body["ParamType"] = request.paramType;
|
|
8321
8643
|
}
|
|
8322
8644
|
|
|
8323
8645
|
if (!Util.isUnset(request.userName)) {
|
|
8324
|
-
|
|
8646
|
+
body["UserName"] = request.userName;
|
|
8325
8647
|
}
|
|
8326
8648
|
|
|
8327
8649
|
let req = new $OpenApi.OpenApiRequest({
|
|
8328
|
-
|
|
8650
|
+
body: OpenApiUtil.parseToMap(body),
|
|
8329
8651
|
});
|
|
8330
8652
|
let params = new $OpenApi.Params({
|
|
8331
8653
|
action: "Mobile3MetaDetailVerify",
|
|
@@ -8361,25 +8683,25 @@ export default class Client extends OpenApi {
|
|
|
8361
8683
|
*/
|
|
8362
8684
|
async mobile3MetaSimpleVerifyWithOptions(request: Mobile3MetaSimpleVerifyRequest, runtime: $Util.RuntimeOptions): Promise<Mobile3MetaSimpleVerifyResponse> {
|
|
8363
8685
|
Util.validateModel(request);
|
|
8364
|
-
let
|
|
8686
|
+
let body : {[key: string ]: any} = { };
|
|
8365
8687
|
if (!Util.isUnset(request.identifyNum)) {
|
|
8366
|
-
|
|
8688
|
+
body["IdentifyNum"] = request.identifyNum;
|
|
8367
8689
|
}
|
|
8368
8690
|
|
|
8369
8691
|
if (!Util.isUnset(request.mobile)) {
|
|
8370
|
-
|
|
8692
|
+
body["Mobile"] = request.mobile;
|
|
8371
8693
|
}
|
|
8372
8694
|
|
|
8373
8695
|
if (!Util.isUnset(request.paramType)) {
|
|
8374
|
-
|
|
8696
|
+
body["ParamType"] = request.paramType;
|
|
8375
8697
|
}
|
|
8376
8698
|
|
|
8377
8699
|
if (!Util.isUnset(request.userName)) {
|
|
8378
|
-
|
|
8700
|
+
body["UserName"] = request.userName;
|
|
8379
8701
|
}
|
|
8380
8702
|
|
|
8381
8703
|
let req = new $OpenApi.OpenApiRequest({
|
|
8382
|
-
|
|
8704
|
+
body: OpenApiUtil.parseToMap(body),
|
|
8383
8705
|
});
|
|
8384
8706
|
let params = new $OpenApi.Params({
|
|
8385
8707
|
action: "Mobile3MetaSimpleVerify",
|
|
@@ -8415,17 +8737,17 @@ export default class Client extends OpenApi {
|
|
|
8415
8737
|
*/
|
|
8416
8738
|
async mobileDetectWithOptions(request: MobileDetectRequest, runtime: $Util.RuntimeOptions): Promise<MobileDetectResponse> {
|
|
8417
8739
|
Util.validateModel(request);
|
|
8418
|
-
let
|
|
8740
|
+
let body : {[key: string ]: any} = { };
|
|
8419
8741
|
if (!Util.isUnset(request.mobiles)) {
|
|
8420
|
-
|
|
8742
|
+
body["Mobiles"] = request.mobiles;
|
|
8421
8743
|
}
|
|
8422
8744
|
|
|
8423
8745
|
if (!Util.isUnset(request.paramType)) {
|
|
8424
|
-
|
|
8746
|
+
body["ParamType"] = request.paramType;
|
|
8425
8747
|
}
|
|
8426
8748
|
|
|
8427
8749
|
let req = new $OpenApi.OpenApiRequest({
|
|
8428
|
-
|
|
8750
|
+
body: OpenApiUtil.parseToMap(body),
|
|
8429
8751
|
});
|
|
8430
8752
|
let params = new $OpenApi.Params({
|
|
8431
8753
|
action: "MobileDetect",
|
|
@@ -8461,17 +8783,17 @@ export default class Client extends OpenApi {
|
|
|
8461
8783
|
*/
|
|
8462
8784
|
async mobileOnlineStatusWithOptions(request: MobileOnlineStatusRequest, runtime: $Util.RuntimeOptions): Promise<MobileOnlineStatusResponse> {
|
|
8463
8785
|
Util.validateModel(request);
|
|
8464
|
-
let
|
|
8786
|
+
let body : {[key: string ]: any} = { };
|
|
8465
8787
|
if (!Util.isUnset(request.mobile)) {
|
|
8466
|
-
|
|
8788
|
+
body["Mobile"] = request.mobile;
|
|
8467
8789
|
}
|
|
8468
8790
|
|
|
8469
8791
|
if (!Util.isUnset(request.paramType)) {
|
|
8470
|
-
|
|
8792
|
+
body["ParamType"] = request.paramType;
|
|
8471
8793
|
}
|
|
8472
8794
|
|
|
8473
8795
|
let req = new $OpenApi.OpenApiRequest({
|
|
8474
|
-
|
|
8796
|
+
body: OpenApiUtil.parseToMap(body),
|
|
8475
8797
|
});
|
|
8476
8798
|
let params = new $OpenApi.Params({
|
|
8477
8799
|
action: "MobileOnlineStatus",
|
|
@@ -8507,17 +8829,17 @@ export default class Client extends OpenApi {
|
|
|
8507
8829
|
*/
|
|
8508
8830
|
async mobileOnlineTimeWithOptions(request: MobileOnlineTimeRequest, runtime: $Util.RuntimeOptions): Promise<MobileOnlineTimeResponse> {
|
|
8509
8831
|
Util.validateModel(request);
|
|
8510
|
-
let
|
|
8832
|
+
let body : {[key: string ]: any} = { };
|
|
8511
8833
|
if (!Util.isUnset(request.mobile)) {
|
|
8512
|
-
|
|
8834
|
+
body["Mobile"] = request.mobile;
|
|
8513
8835
|
}
|
|
8514
8836
|
|
|
8515
8837
|
if (!Util.isUnset(request.paramType)) {
|
|
8516
|
-
|
|
8838
|
+
body["ParamType"] = request.paramType;
|
|
8517
8839
|
}
|
|
8518
8840
|
|
|
8519
8841
|
let req = new $OpenApi.OpenApiRequest({
|
|
8520
|
-
|
|
8842
|
+
body: OpenApiUtil.parseToMap(body),
|
|
8521
8843
|
});
|
|
8522
8844
|
let params = new $OpenApi.Params({
|
|
8523
8845
|
action: "MobileOnlineTime",
|