@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/dist/client.d.ts
CHANGED
|
@@ -1147,6 +1147,83 @@ export declare class DescribeDeviceInfoResponse extends $tea.Model {
|
|
|
1147
1147
|
[key: string]: any;
|
|
1148
1148
|
});
|
|
1149
1149
|
}
|
|
1150
|
+
export declare class DescribeFaceGuardRiskRequest extends $tea.Model {
|
|
1151
|
+
/**
|
|
1152
|
+
* @example
|
|
1153
|
+
* aba9830f471a4335af4612c8adaa91b0
|
|
1154
|
+
*/
|
|
1155
|
+
bizId?: string;
|
|
1156
|
+
/**
|
|
1157
|
+
* @example
|
|
1158
|
+
* McozS1ZWRcRZStlERcZZo_QOytx5jcgZoZJEoRLOxxxxxxx
|
|
1159
|
+
*/
|
|
1160
|
+
deviceToken?: string;
|
|
1161
|
+
/**
|
|
1162
|
+
* @example
|
|
1163
|
+
* e0c34a77f5ac40a5aa5e6ed20c35xxxx
|
|
1164
|
+
*/
|
|
1165
|
+
outerOrderNo?: string;
|
|
1166
|
+
/**
|
|
1167
|
+
* @example
|
|
1168
|
+
* FACE_GUARD
|
|
1169
|
+
*/
|
|
1170
|
+
productCode?: string;
|
|
1171
|
+
static names(): {
|
|
1172
|
+
[key: string]: string;
|
|
1173
|
+
};
|
|
1174
|
+
static types(): {
|
|
1175
|
+
[key: string]: any;
|
|
1176
|
+
};
|
|
1177
|
+
constructor(map?: {
|
|
1178
|
+
[key: string]: any;
|
|
1179
|
+
});
|
|
1180
|
+
}
|
|
1181
|
+
export declare class DescribeFaceGuardRiskResponseBody extends $tea.Model {
|
|
1182
|
+
/**
|
|
1183
|
+
* @example
|
|
1184
|
+
* 200
|
|
1185
|
+
*/
|
|
1186
|
+
code?: string;
|
|
1187
|
+
/**
|
|
1188
|
+
* @example
|
|
1189
|
+
* success
|
|
1190
|
+
*/
|
|
1191
|
+
message?: string;
|
|
1192
|
+
/**
|
|
1193
|
+
* @remarks
|
|
1194
|
+
* Id of the request
|
|
1195
|
+
*
|
|
1196
|
+
* @example
|
|
1197
|
+
* D6163397-15C5-419C-9ACC-B7C83E0B4C10
|
|
1198
|
+
*/
|
|
1199
|
+
requestId?: string;
|
|
1200
|
+
resultObject?: DescribeFaceGuardRiskResponseBodyResultObject;
|
|
1201
|
+
static names(): {
|
|
1202
|
+
[key: string]: string;
|
|
1203
|
+
};
|
|
1204
|
+
static types(): {
|
|
1205
|
+
[key: string]: any;
|
|
1206
|
+
};
|
|
1207
|
+
constructor(map?: {
|
|
1208
|
+
[key: string]: any;
|
|
1209
|
+
});
|
|
1210
|
+
}
|
|
1211
|
+
export declare class DescribeFaceGuardRiskResponse extends $tea.Model {
|
|
1212
|
+
headers?: {
|
|
1213
|
+
[key: string]: string;
|
|
1214
|
+
};
|
|
1215
|
+
statusCode?: number;
|
|
1216
|
+
body?: DescribeFaceGuardRiskResponseBody;
|
|
1217
|
+
static names(): {
|
|
1218
|
+
[key: string]: string;
|
|
1219
|
+
};
|
|
1220
|
+
static types(): {
|
|
1221
|
+
[key: string]: any;
|
|
1222
|
+
};
|
|
1223
|
+
constructor(map?: {
|
|
1224
|
+
[key: string]: any;
|
|
1225
|
+
});
|
|
1226
|
+
}
|
|
1150
1227
|
export declare class DescribeFaceVerifyRequest extends $tea.Model {
|
|
1151
1228
|
/**
|
|
1152
1229
|
* @example
|
|
@@ -1806,10 +1883,10 @@ export declare class DetectFaceAttributesResponse extends $tea.Model {
|
|
|
1806
1883
|
[key: string]: any;
|
|
1807
1884
|
});
|
|
1808
1885
|
}
|
|
1809
|
-
export declare class
|
|
1886
|
+
export declare class Id2MetaStandardVerifyRequest extends $tea.Model {
|
|
1810
1887
|
/**
|
|
1811
1888
|
* @example
|
|
1812
|
-
*
|
|
1889
|
+
* 4****************1
|
|
1813
1890
|
*/
|
|
1814
1891
|
identifyNum?: string;
|
|
1815
1892
|
/**
|
|
@@ -1828,6 +1905,66 @@ export declare class Id2MetaVerifyRequest extends $tea.Model {
|
|
|
1828
1905
|
[key: string]: any;
|
|
1829
1906
|
});
|
|
1830
1907
|
}
|
|
1908
|
+
export declare class Id2MetaStandardVerifyResponseBody extends $tea.Model {
|
|
1909
|
+
/**
|
|
1910
|
+
* @example
|
|
1911
|
+
* 200
|
|
1912
|
+
*/
|
|
1913
|
+
code?: string;
|
|
1914
|
+
/**
|
|
1915
|
+
* @example
|
|
1916
|
+
* success
|
|
1917
|
+
*/
|
|
1918
|
+
message?: string;
|
|
1919
|
+
/**
|
|
1920
|
+
* @remarks
|
|
1921
|
+
* Id of the request
|
|
1922
|
+
*
|
|
1923
|
+
* @example
|
|
1924
|
+
* D6163397-15C5-419C-9ACC-B7C83E0B4C10
|
|
1925
|
+
*/
|
|
1926
|
+
requestId?: string;
|
|
1927
|
+
resultObject?: Id2MetaStandardVerifyResponseBodyResultObject;
|
|
1928
|
+
static names(): {
|
|
1929
|
+
[key: string]: string;
|
|
1930
|
+
};
|
|
1931
|
+
static types(): {
|
|
1932
|
+
[key: string]: any;
|
|
1933
|
+
};
|
|
1934
|
+
constructor(map?: {
|
|
1935
|
+
[key: string]: any;
|
|
1936
|
+
});
|
|
1937
|
+
}
|
|
1938
|
+
export declare class Id2MetaStandardVerifyResponse extends $tea.Model {
|
|
1939
|
+
headers?: {
|
|
1940
|
+
[key: string]: string;
|
|
1941
|
+
};
|
|
1942
|
+
statusCode?: number;
|
|
1943
|
+
body?: Id2MetaStandardVerifyResponseBody;
|
|
1944
|
+
static names(): {
|
|
1945
|
+
[key: string]: string;
|
|
1946
|
+
};
|
|
1947
|
+
static types(): {
|
|
1948
|
+
[key: string]: any;
|
|
1949
|
+
};
|
|
1950
|
+
constructor(map?: {
|
|
1951
|
+
[key: string]: any;
|
|
1952
|
+
});
|
|
1953
|
+
}
|
|
1954
|
+
export declare class Id2MetaVerifyRequest extends $tea.Model {
|
|
1955
|
+
identifyNum?: string;
|
|
1956
|
+
paramType?: string;
|
|
1957
|
+
userName?: string;
|
|
1958
|
+
static names(): {
|
|
1959
|
+
[key: string]: string;
|
|
1960
|
+
};
|
|
1961
|
+
static types(): {
|
|
1962
|
+
[key: string]: any;
|
|
1963
|
+
};
|
|
1964
|
+
constructor(map?: {
|
|
1965
|
+
[key: string]: any;
|
|
1966
|
+
});
|
|
1967
|
+
}
|
|
1831
1968
|
export declare class Id2MetaVerifyResponseBody extends $tea.Model {
|
|
1832
1969
|
/**
|
|
1833
1970
|
* @example
|
|
@@ -2174,20 +2311,8 @@ export declare class LivenessFaceVerifyResponse extends $tea.Model {
|
|
|
2174
2311
|
});
|
|
2175
2312
|
}
|
|
2176
2313
|
export declare class Mobile3MetaDetailVerifyRequest extends $tea.Model {
|
|
2177
|
-
/**
|
|
2178
|
-
* @example
|
|
2179
|
-
* 520181199902104631
|
|
2180
|
-
*/
|
|
2181
2314
|
identifyNum?: string;
|
|
2182
|
-
/**
|
|
2183
|
-
* @example
|
|
2184
|
-
* 150000xxxx
|
|
2185
|
-
*/
|
|
2186
2315
|
mobile?: string;
|
|
2187
|
-
/**
|
|
2188
|
-
* @example
|
|
2189
|
-
* normal
|
|
2190
|
-
*/
|
|
2191
2316
|
paramType?: string;
|
|
2192
2317
|
userName?: string;
|
|
2193
2318
|
static names(): {
|
|
@@ -2244,20 +2369,8 @@ export declare class Mobile3MetaDetailVerifyResponse extends $tea.Model {
|
|
|
2244
2369
|
});
|
|
2245
2370
|
}
|
|
2246
2371
|
export declare class Mobile3MetaSimpleVerifyRequest extends $tea.Model {
|
|
2247
|
-
/**
|
|
2248
|
-
* @example
|
|
2249
|
-
* 429001********8211
|
|
2250
|
-
*/
|
|
2251
2372
|
identifyNum?: string;
|
|
2252
|
-
/**
|
|
2253
|
-
* @example
|
|
2254
|
-
* 150000****
|
|
2255
|
-
*/
|
|
2256
2373
|
mobile?: string;
|
|
2257
|
-
/**
|
|
2258
|
-
* @example
|
|
2259
|
-
* normal
|
|
2260
|
-
*/
|
|
2261
2374
|
paramType?: string;
|
|
2262
2375
|
userName?: string;
|
|
2263
2376
|
static names(): {
|
|
@@ -2314,15 +2427,7 @@ export declare class Mobile3MetaSimpleVerifyResponse extends $tea.Model {
|
|
|
2314
2427
|
});
|
|
2315
2428
|
}
|
|
2316
2429
|
export declare class MobileDetectRequest extends $tea.Model {
|
|
2317
|
-
/**
|
|
2318
|
-
* @example
|
|
2319
|
-
* 138********,156********
|
|
2320
|
-
*/
|
|
2321
2430
|
mobiles?: string;
|
|
2322
|
-
/**
|
|
2323
|
-
* @example
|
|
2324
|
-
* normal
|
|
2325
|
-
*/
|
|
2326
2431
|
paramType?: string;
|
|
2327
2432
|
static names(): {
|
|
2328
2433
|
[key: string]: string;
|
|
@@ -2378,15 +2483,7 @@ export declare class MobileDetectResponse extends $tea.Model {
|
|
|
2378
2483
|
});
|
|
2379
2484
|
}
|
|
2380
2485
|
export declare class MobileOnlineStatusRequest extends $tea.Model {
|
|
2381
|
-
/**
|
|
2382
|
-
* @example
|
|
2383
|
-
* 130********
|
|
2384
|
-
*/
|
|
2385
2486
|
mobile?: string;
|
|
2386
|
-
/**
|
|
2387
|
-
* @example
|
|
2388
|
-
* normal
|
|
2389
|
-
*/
|
|
2390
2487
|
paramType?: string;
|
|
2391
2488
|
static names(): {
|
|
2392
2489
|
[key: string]: string;
|
|
@@ -2442,15 +2539,7 @@ export declare class MobileOnlineStatusResponse extends $tea.Model {
|
|
|
2442
2539
|
});
|
|
2443
2540
|
}
|
|
2444
2541
|
export declare class MobileOnlineTimeRequest extends $tea.Model {
|
|
2445
|
-
/**
|
|
2446
|
-
* @example
|
|
2447
|
-
* 130********
|
|
2448
|
-
*/
|
|
2449
2542
|
mobile?: string;
|
|
2450
|
-
/**
|
|
2451
|
-
* @example
|
|
2452
|
-
* normal
|
|
2453
|
-
*/
|
|
2454
2543
|
paramType?: string;
|
|
2455
2544
|
static names(): {
|
|
2456
2545
|
[key: string]: string;
|
|
@@ -3567,6 +3656,33 @@ export declare class DescribeDeviceInfoResponseBodyDeviceInfoList extends $tea.M
|
|
|
3567
3656
|
[key: string]: any;
|
|
3568
3657
|
});
|
|
3569
3658
|
}
|
|
3659
|
+
export declare class DescribeFaceGuardRiskResponseBodyResultObject extends $tea.Model {
|
|
3660
|
+
certifyId?: string;
|
|
3661
|
+
/**
|
|
3662
|
+
* @example
|
|
3663
|
+
* {
|
|
3664
|
+
* "code": 200
|
|
3665
|
+
* "badNet":false,
|
|
3666
|
+
* "umid":"74e37355171ab62230063569350d368e",
|
|
3667
|
+
* "fileTags":"basic_root,basic_hook",
|
|
3668
|
+
* "queryCount":1,
|
|
3669
|
+
* "querySessionCount":1,
|
|
3670
|
+
* "queryUmidCount":1
|
|
3671
|
+
* "platform":"Android"
|
|
3672
|
+
* }
|
|
3673
|
+
*/
|
|
3674
|
+
riskExtends?: string;
|
|
3675
|
+
riskTags?: string;
|
|
3676
|
+
static names(): {
|
|
3677
|
+
[key: string]: string;
|
|
3678
|
+
};
|
|
3679
|
+
static types(): {
|
|
3680
|
+
[key: string]: any;
|
|
3681
|
+
};
|
|
3682
|
+
constructor(map?: {
|
|
3683
|
+
[key: string]: any;
|
|
3684
|
+
});
|
|
3685
|
+
}
|
|
3570
3686
|
export declare class DescribeFaceVerifyResponseBodyResultObject extends $tea.Model {
|
|
3571
3687
|
deviceRisk?: string;
|
|
3572
3688
|
/**
|
|
@@ -4029,6 +4145,22 @@ export declare class DetectFaceAttributesResponseBodyData extends $tea.Model {
|
|
|
4029
4145
|
[key: string]: any;
|
|
4030
4146
|
});
|
|
4031
4147
|
}
|
|
4148
|
+
export declare class Id2MetaStandardVerifyResponseBodyResultObject extends $tea.Model {
|
|
4149
|
+
/**
|
|
4150
|
+
* @example
|
|
4151
|
+
* 1
|
|
4152
|
+
*/
|
|
4153
|
+
bizCode?: string;
|
|
4154
|
+
static names(): {
|
|
4155
|
+
[key: string]: string;
|
|
4156
|
+
};
|
|
4157
|
+
static types(): {
|
|
4158
|
+
[key: string]: any;
|
|
4159
|
+
};
|
|
4160
|
+
constructor(map?: {
|
|
4161
|
+
[key: string]: any;
|
|
4162
|
+
});
|
|
4163
|
+
}
|
|
4032
4164
|
export declare class Id2MetaVerifyResponseBodyResultObject extends $tea.Model {
|
|
4033
4165
|
/**
|
|
4034
4166
|
* @example
|
|
@@ -4614,6 +4746,21 @@ export default class Client extends OpenApi {
|
|
|
4614
4746
|
* @returns DescribeDeviceInfoResponse
|
|
4615
4747
|
*/
|
|
4616
4748
|
describeDeviceInfo(request: DescribeDeviceInfoRequest): Promise<DescribeDeviceInfoResponse>;
|
|
4749
|
+
/**
|
|
4750
|
+
* 金融级人脸保镖服务
|
|
4751
|
+
*
|
|
4752
|
+
* @param request - DescribeFaceGuardRiskRequest
|
|
4753
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4754
|
+
* @returns DescribeFaceGuardRiskResponse
|
|
4755
|
+
*/
|
|
4756
|
+
describeFaceGuardRiskWithOptions(request: DescribeFaceGuardRiskRequest, runtime: $Util.RuntimeOptions): Promise<DescribeFaceGuardRiskResponse>;
|
|
4757
|
+
/**
|
|
4758
|
+
* 金融级人脸保镖服务
|
|
4759
|
+
*
|
|
4760
|
+
* @param request - DescribeFaceGuardRiskRequest
|
|
4761
|
+
* @returns DescribeFaceGuardRiskResponse
|
|
4762
|
+
*/
|
|
4763
|
+
describeFaceGuardRisk(request: DescribeFaceGuardRiskRequest): Promise<DescribeFaceGuardRiskResponse>;
|
|
4617
4764
|
/**
|
|
4618
4765
|
* @param request - DescribeFaceVerifyRequest
|
|
4619
4766
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4705,6 +4852,21 @@ export default class Client extends OpenApi {
|
|
|
4705
4852
|
* @returns DetectFaceAttributesResponse
|
|
4706
4853
|
*/
|
|
4707
4854
|
detectFaceAttributes(request: DetectFaceAttributesRequest): Promise<DetectFaceAttributesResponse>;
|
|
4855
|
+
/**
|
|
4856
|
+
* 身份二要素标准版
|
|
4857
|
+
*
|
|
4858
|
+
* @param request - Id2MetaStandardVerifyRequest
|
|
4859
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4860
|
+
* @returns Id2MetaStandardVerifyResponse
|
|
4861
|
+
*/
|
|
4862
|
+
id2MetaStandardVerifyWithOptions(request: Id2MetaStandardVerifyRequest, runtime: $Util.RuntimeOptions): Promise<Id2MetaStandardVerifyResponse>;
|
|
4863
|
+
/**
|
|
4864
|
+
* 身份二要素标准版
|
|
4865
|
+
*
|
|
4866
|
+
* @param request - Id2MetaStandardVerifyRequest
|
|
4867
|
+
* @returns Id2MetaStandardVerifyResponse
|
|
4868
|
+
*/
|
|
4869
|
+
id2MetaStandardVerify(request: Id2MetaStandardVerifyRequest): Promise<Id2MetaStandardVerifyResponse>;
|
|
4708
4870
|
/**
|
|
4709
4871
|
* 身份二要素接口
|
|
4710
4872
|
*
|