@alicloud/cloudauth20190307 3.13.4 → 3.14.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 +88 -66
- package/dist/client.js +243 -90
- package/dist/client.js.map +1 -1
- package/dist/models/AigcfaceVerifyRequest.d.ts +2 -2
- package/dist/models/AigcfaceVerifyResponseBody.d.ts +3 -3
- package/dist/models/CreateAntCloudAuthSceneRequest.d.ts +42 -10
- package/dist/models/CreateAntCloudAuthSceneRequest.js +8 -0
- package/dist/models/CreateAntCloudAuthSceneRequest.js.map +1 -1
- package/dist/models/CreateWhitelistSettingRequest.d.ts +4 -1
- package/dist/models/CreateWhitelistSettingRequest.js.map +1 -1
- package/dist/models/CreateWhitelistSettingResponseBody.d.ts +1 -1
- package/dist/models/DescribeFaceVerifyRequest.d.ts +1 -1
- package/dist/models/DescribeFaceVerifyResponseBody.d.ts +13 -5
- package/dist/models/DescribeFaceVerifyResponseBody.js +2 -0
- package/dist/models/DescribeFaceVerifyResponseBody.js.map +1 -1
- package/dist/models/DescribeInfoCheckExportRecordRequest.d.ts +14 -14
- package/dist/models/DescribeInfoCheckExportRecordResponseBody.d.ts +22 -22
- package/dist/models/DescribeListAntCloudAuthScenesRequest.d.ts +1 -1
- package/dist/models/DescribeListAntCloudAuthScenesResponseBody.d.ts +47 -15
- package/dist/models/DescribeListAntCloudAuthScenesResponseBody.js +8 -0
- package/dist/models/DescribeListAntCloudAuthScenesResponseBody.js.map +1 -1
- package/dist/models/DescribeListFaceVerifyInfosRequest.d.ts +1 -0
- package/dist/models/DescribeListFaceVerifyInfosRequest.js.map +1 -1
- package/dist/models/DescribeListFaceVerifyInfosResponseBody.d.ts +3 -2
- package/dist/models/DescribeListFaceVerifyInfosResponseBody.js.map +1 -1
- package/dist/models/DescribeMetaSearchPageListRequest.d.ts +22 -22
- package/dist/models/DescribeMetaSearchPageListResponseBody.d.ts +77 -77
- package/dist/models/DescribeMetaStatisticsListRequest.d.ts +3 -3
- package/dist/models/DescribeMetaStatisticsListResponseBody.d.ts +10 -10
- package/dist/models/DescribeMetaStatisticsPageListRequest.d.ts +19 -19
- package/dist/models/DescribeMetaStatisticsPageListResponseBody.d.ts +34 -34
- package/dist/models/DescribePageFaceVerifyDataRequest.d.ts +2 -2
- package/dist/models/DescribePageFaceVerifyDataResponseBody.d.ts +3 -3
- package/dist/models/DescribeVerifyDeviceRiskStatisticsRequest.d.ts +4 -4
- package/dist/models/DescribeVerifyDeviceRiskStatisticsResponseBody.d.ts +2 -2
- package/dist/models/DescribeVerifyFailStatisticsRequest.d.ts +9 -9
- package/dist/models/DescribeVerifyFailStatisticsResponseBody.d.ts +3 -3
- package/dist/models/DescribeVerifyPersonasDeviceModelStatisticsRequest.d.ts +2 -2
- package/dist/models/DescribeVerifyPersonasDeviceModelStatisticsResponseBody.d.ts +2 -2
- package/dist/models/DescribeVerifyPersonasOsStatisticsRequest.d.ts +2 -2
- package/dist/models/DescribeVerifyPersonasOsStatisticsResponseBody.d.ts +3 -3
- package/dist/models/DescribeVerifyPersonasProvinceStatisticsRequest.d.ts +2 -2
- package/dist/models/DescribeVerifyPersonasProvinceStatisticsResponseBody.d.ts +1 -1
- package/dist/models/DescribeVerifyPersonasSexStatisticsRequest.d.ts +2 -2
- package/dist/models/DescribeVerifyPersonasSexStatisticsResponseBody.d.ts +15 -15
- package/dist/models/DescribeVerifySearchPageListRequest.d.ts +24 -24
- package/dist/models/DescribeVerifySearchPageListResponseBody.d.ts +29 -29
- package/dist/models/DescribeVerifyStatisticsRequest.d.ts +4 -4
- package/dist/models/DescribeVerifyStatisticsResponseBody.d.ts +17 -17
- package/dist/models/DescribeWhitelistSettingRequest.d.ts +8 -5
- package/dist/models/DescribeWhitelistSettingRequest.js.map +1 -1
- package/dist/models/DescribeWhitelistSettingResponseBody.d.ts +6 -3
- package/dist/models/DescribeWhitelistSettingResponseBody.js.map +1 -1
- package/dist/models/Id3metaVerifyAdvanceRequest.d.ts +19 -16
- package/dist/models/Id3metaVerifyAdvanceRequest.js.map +1 -1
- package/dist/models/Id3metaVerifyProadvanceRequest.d.ts +115 -0
- package/dist/models/Id3metaVerifyProadvanceRequest.js +73 -0
- package/dist/models/Id3metaVerifyProadvanceRequest.js.map +1 -0
- package/dist/models/Id3metaVerifyProrequest.d.ts +114 -0
- package/dist/models/Id3metaVerifyProrequest.js +74 -0
- package/dist/models/Id3metaVerifyProrequest.js.map +1 -0
- package/dist/models/Id3metaVerifyProresponse.d.ts +19 -0
- package/dist/models/Id3metaVerifyProresponse.js +69 -0
- package/dist/models/Id3metaVerifyProresponse.js.map +1 -0
- package/dist/models/Id3metaVerifyProresponseBody.d.ts +121 -0
- package/dist/models/Id3metaVerifyProresponseBody.js +92 -0
- package/dist/models/Id3metaVerifyProresponseBody.js.map +1 -0
- package/dist/models/Id3metaVerifyRequest.d.ts +19 -16
- package/dist/models/Id3metaVerifyRequest.js.map +1 -1
- package/dist/models/Id3metaVerifyResponseBody.d.ts +33 -8
- package/dist/models/Id3metaVerifyResponseBody.js.map +1 -1
- package/dist/models/Id3metaVerifyWithOcradvanceRequest.d.ts +4 -4
- package/dist/models/Id3metaVerifyWithOcrrequest.d.ts +4 -4
- package/dist/models/Id3metaVerifyWithOcrresponseBody.d.ts +8 -8
- package/dist/models/InitFaceVerifyRequest.d.ts +68 -65
- package/dist/models/InitFaceVerifyRequest.js.map +1 -1
- package/dist/models/InitFaceVerifyResponseBody.d.ts +5 -7
- package/dist/models/InitFaceVerifyResponseBody.js.map +1 -1
- package/dist/models/PageQueryWhiteListSettingRequest.d.ts +3 -3
- package/dist/models/PageQueryWhiteListSettingResponseBody.d.ts +4 -4
- package/dist/models/QueryVerifyFlowPackageRequest.d.ts +2 -2
- package/dist/models/QueryVerifyFlowPackageResponseBody.d.ts +8 -8
- package/dist/models/QueryVerifyInvokeSatisticRequest.d.ts +7 -7
- package/dist/models/QueryVerifyInvokeSatisticResponseBody.d.ts +3 -3
- package/dist/models/UpdateAntCloudAuthSceneRequest.d.ts +41 -9
- package/dist/models/UpdateAntCloudAuthSceneRequest.js +8 -0
- package/dist/models/UpdateAntCloudAuthSceneRequest.js.map +1 -1
- package/dist/models/model.d.ts +5 -0
- package/dist/models/model.js +18 -8
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +267 -90
- package/src/models/AigcfaceVerifyRequest.ts +2 -2
- package/src/models/AigcfaceVerifyResponseBody.ts +3 -3
- package/src/models/CreateAntCloudAuthSceneRequest.ts +50 -10
- package/src/models/CreateWhitelistSettingRequest.ts +4 -1
- package/src/models/CreateWhitelistSettingResponseBody.ts +1 -1
- package/src/models/DescribeFaceVerifyRequest.ts +1 -1
- package/src/models/DescribeFaceVerifyResponseBody.ts +15 -5
- package/src/models/DescribeInfoCheckExportRecordRequest.ts +14 -14
- package/src/models/DescribeInfoCheckExportRecordResponseBody.ts +22 -22
- package/src/models/DescribeListAntCloudAuthScenesRequest.ts +1 -1
- package/src/models/DescribeListAntCloudAuthScenesResponseBody.ts +55 -15
- package/src/models/DescribeListFaceVerifyInfosRequest.ts +1 -0
- package/src/models/DescribeListFaceVerifyInfosResponseBody.ts +3 -2
- package/src/models/DescribeMetaSearchPageListRequest.ts +22 -22
- package/src/models/DescribeMetaSearchPageListResponseBody.ts +77 -77
- package/src/models/DescribeMetaStatisticsListRequest.ts +3 -3
- package/src/models/DescribeMetaStatisticsListResponseBody.ts +10 -10
- package/src/models/DescribeMetaStatisticsPageListRequest.ts +19 -19
- package/src/models/DescribeMetaStatisticsPageListResponseBody.ts +34 -34
- package/src/models/DescribePageFaceVerifyDataRequest.ts +2 -2
- package/src/models/DescribePageFaceVerifyDataResponseBody.ts +3 -3
- package/src/models/DescribeVerifyDeviceRiskStatisticsRequest.ts +4 -4
- package/src/models/DescribeVerifyDeviceRiskStatisticsResponseBody.ts +2 -2
- package/src/models/DescribeVerifyFailStatisticsRequest.ts +9 -9
- package/src/models/DescribeVerifyFailStatisticsResponseBody.ts +3 -3
- package/src/models/DescribeVerifyPersonasDeviceModelStatisticsRequest.ts +2 -2
- package/src/models/DescribeVerifyPersonasDeviceModelStatisticsResponseBody.ts +2 -2
- package/src/models/DescribeVerifyPersonasOsStatisticsRequest.ts +2 -2
- package/src/models/DescribeVerifyPersonasOsStatisticsResponseBody.ts +3 -3
- package/src/models/DescribeVerifyPersonasProvinceStatisticsRequest.ts +2 -2
- package/src/models/DescribeVerifyPersonasProvinceStatisticsResponseBody.ts +1 -1
- package/src/models/DescribeVerifyPersonasSexStatisticsRequest.ts +2 -2
- package/src/models/DescribeVerifyPersonasSexStatisticsResponseBody.ts +15 -15
- package/src/models/DescribeVerifySearchPageListRequest.ts +24 -24
- package/src/models/DescribeVerifySearchPageListResponseBody.ts +29 -29
- package/src/models/DescribeVerifyStatisticsRequest.ts +4 -4
- package/src/models/DescribeVerifyStatisticsResponseBody.ts +17 -17
- package/src/models/DescribeWhitelistSettingRequest.ts +8 -5
- package/src/models/DescribeWhitelistSettingResponseBody.ts +6 -3
- package/src/models/Id3metaVerifyAdvanceRequest.ts +19 -16
- package/src/models/Id3metaVerifyProadvanceRequest.ts +144 -0
- package/src/models/Id3metaVerifyProrequest.ts +143 -0
- package/src/models/Id3metaVerifyProresponse.ts +40 -0
- package/src/models/Id3metaVerifyProresponseBody.ts +159 -0
- package/src/models/Id3metaVerifyRequest.ts +19 -16
- package/src/models/Id3metaVerifyResponseBody.ts +33 -8
- package/src/models/Id3metaVerifyWithOcradvanceRequest.ts +4 -4
- package/src/models/Id3metaVerifyWithOcrrequest.ts +4 -4
- package/src/models/Id3metaVerifyWithOcrresponseBody.ts +8 -8
- package/src/models/InitFaceVerifyRequest.ts +68 -65
- package/src/models/InitFaceVerifyResponseBody.ts +5 -7
- package/src/models/PageQueryWhiteListSettingRequest.ts +3 -3
- package/src/models/PageQueryWhiteListSettingResponseBody.ts +4 -4
- package/src/models/QueryVerifyFlowPackageRequest.ts +2 -2
- package/src/models/QueryVerifyFlowPackageResponseBody.ts +8 -8
- package/src/models/QueryVerifyInvokeSatisticRequest.ts +7 -7
- package/src/models/QueryVerifyInvokeSatisticResponseBody.ts +3 -3
- package/src/models/UpdateAntCloudAuthSceneRequest.ts +49 -9
- package/src/models/model.ts +5 -0
package/dist/client.js
CHANGED
|
@@ -45,32 +45,9 @@ __exportStar(require("./models/model"), exports);
|
|
|
45
45
|
class Client extends openapi_core_1.default {
|
|
46
46
|
constructor(config) {
|
|
47
47
|
super(config);
|
|
48
|
-
this._endpointRule = "
|
|
48
|
+
this._endpointRule = "central";
|
|
49
49
|
this._endpointMap = {
|
|
50
|
-
'us-west-1': "cloudauth.aliyuncs.com",
|
|
51
|
-
'us-east-1': "cloudauth.aliyuncs.com",
|
|
52
|
-
'me-east-1': "cloudauth.aliyuncs.com",
|
|
53
|
-
'eu-west-1': "cloudauth.aliyuncs.com",
|
|
54
|
-
'eu-central-1': "cloudauth.aliyuncs.com",
|
|
55
|
-
'cn-zhangjiakou': "cloudauth.aliyuncs.com",
|
|
56
|
-
'cn-shenzhen-finance-1': "cloudauth.aliyuncs.com",
|
|
57
|
-
'cn-shenzhen': "cloudauth.aliyuncs.com",
|
|
58
|
-
'cn-shanghai-finance-1': "cloudauth.aliyuncs.com",
|
|
59
|
-
'cn-shanghai': "cloudauth.aliyuncs.com",
|
|
60
|
-
'cn-qingdao': "cloudauth.cn-qingdao.aliyuncs.com",
|
|
61
|
-
'cn-north-2-gov-1': "cloudauth.aliyuncs.com",
|
|
62
|
-
'cn-huhehaote': "cloudauth.aliyuncs.com",
|
|
63
|
-
'cn-hongkong': "cloudauth.aliyuncs.com",
|
|
64
|
-
'cn-hangzhou-finance': "cloudauth.aliyuncs.com",
|
|
65
|
-
'cn-hangzhou': "cloudauth.aliyuncs.com",
|
|
66
|
-
'cn-chengdu': "cloudauth.aliyuncs.com",
|
|
67
50
|
'cn-beijing': "cloudauth.cn-beijing.aliyuncs.com",
|
|
68
|
-
'ap-southeast-5': "cloudauth.aliyuncs.com",
|
|
69
|
-
'ap-southeast-3': "cloudauth.aliyuncs.com",
|
|
70
|
-
'ap-southeast-2': "cloudauth.aliyuncs.com",
|
|
71
|
-
'ap-southeast-1': "cloudauth.aliyuncs.com",
|
|
72
|
-
'ap-south-1': "cloudauth.aliyuncs.com",
|
|
73
|
-
'ap-northeast-1': "cloudauth.aliyuncs.com",
|
|
74
51
|
};
|
|
75
52
|
this.checkConfig(config);
|
|
76
53
|
this._endpoint = this.getEndpoint("cloudauth", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
@@ -704,6 +681,15 @@ class Client extends openapi_core_1.default {
|
|
|
704
681
|
if (!$dara.isNull(request.checkFileName)) {
|
|
705
682
|
query["CheckFileName"] = request.checkFileName;
|
|
706
683
|
}
|
|
684
|
+
if (!$dara.isNull(request.degradeAppScheme)) {
|
|
685
|
+
query["DegradeAppScheme"] = request.degradeAppScheme;
|
|
686
|
+
}
|
|
687
|
+
if (!$dara.isNull(request.degradeSubCodes)) {
|
|
688
|
+
query["DegradeSubCodes"] = request.degradeSubCodes;
|
|
689
|
+
}
|
|
690
|
+
if (!$dara.isNull(request.degradeType)) {
|
|
691
|
+
query["DegradeType"] = request.degradeType;
|
|
692
|
+
}
|
|
707
693
|
if (!$dara.isNull(request.deviceRiskPlus)) {
|
|
708
694
|
query["DeviceRiskPlus"] = request.deviceRiskPlus;
|
|
709
695
|
}
|
|
@@ -725,6 +711,9 @@ class Client extends openapi_core_1.default {
|
|
|
725
711
|
if (!$dara.isNull(request.storeImage)) {
|
|
726
712
|
query["StoreImage"] = request.storeImage;
|
|
727
713
|
}
|
|
714
|
+
if (!$dara.isNull(request.useDegrade)) {
|
|
715
|
+
query["UseDegrade"] = request.useDegrade;
|
|
716
|
+
}
|
|
728
717
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
729
718
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
730
719
|
});
|
|
@@ -980,7 +969,7 @@ class Client extends openapi_core_1.default {
|
|
|
980
969
|
return await this.createVerifySettingWithOptions(request, runtime);
|
|
981
970
|
}
|
|
982
971
|
/**
|
|
983
|
-
* Creates
|
|
972
|
+
* Creates a whitelist for ID Verification.
|
|
984
973
|
*
|
|
985
974
|
* @remarks
|
|
986
975
|
* Request method: Only HTTPS POST requests are supported.
|
|
@@ -1036,7 +1025,7 @@ class Client extends openapi_core_1.default {
|
|
|
1036
1025
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateWhitelistSettingResponse({}));
|
|
1037
1026
|
}
|
|
1038
1027
|
/**
|
|
1039
|
-
* Creates
|
|
1028
|
+
* Creates a whitelist for ID Verification.
|
|
1040
1029
|
*
|
|
1041
1030
|
* @remarks
|
|
1042
1031
|
* Request method: Only HTTPS POST requests are supported.
|
|
@@ -2267,7 +2256,7 @@ class Client extends openapi_core_1.default {
|
|
|
2267
2256
|
return await this.describeFaceGuardRiskWithOptions(request, runtime);
|
|
2268
2257
|
}
|
|
2269
2258
|
/**
|
|
2270
|
-
*
|
|
2259
|
+
* Retrieves the verification status and verification materials after the China-based mobile client receives a callback.
|
|
2271
2260
|
*
|
|
2272
2261
|
* @remarks
|
|
2273
2262
|
* - Service endpoint: cloudauth.aliyuncs.com.
|
|
@@ -2306,7 +2295,7 @@ class Client extends openapi_core_1.default {
|
|
|
2306
2295
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeFaceVerifyResponse({}));
|
|
2307
2296
|
}
|
|
2308
2297
|
/**
|
|
2309
|
-
*
|
|
2298
|
+
* Retrieves the verification status and verification materials after the China-based mobile client receives a callback.
|
|
2310
2299
|
*
|
|
2311
2300
|
* @remarks
|
|
2312
2301
|
* - Service endpoint: cloudauth.aliyuncs.com.
|
|
@@ -2320,10 +2309,10 @@ class Client extends openapi_core_1.default {
|
|
|
2320
2309
|
return await this.describeFaceVerifyWithOptions(request, runtime);
|
|
2321
2310
|
}
|
|
2322
2311
|
/**
|
|
2323
|
-
* Queries information verification
|
|
2312
|
+
* Queries export tasks for information verification in a paged manner.
|
|
2324
2313
|
*
|
|
2325
2314
|
* @remarks
|
|
2326
|
-
* Request method: Supports sending requests by using
|
|
2315
|
+
* Request method: Supports sending requests by using HTTPS POST and GET methods.
|
|
2327
2316
|
*
|
|
2328
2317
|
* @param request - DescribeInfoCheckExportRecordRequest
|
|
2329
2318
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2364,10 +2353,10 @@ class Client extends openapi_core_1.default {
|
|
|
2364
2353
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeInfoCheckExportRecordResponse({}));
|
|
2365
2354
|
}
|
|
2366
2355
|
/**
|
|
2367
|
-
* Queries information verification
|
|
2356
|
+
* Queries export tasks for information verification in a paged manner.
|
|
2368
2357
|
*
|
|
2369
2358
|
* @remarks
|
|
2370
|
-
* Request method: Supports sending requests by using
|
|
2359
|
+
* Request method: Supports sending requests by using HTTPS POST and GET methods.
|
|
2371
2360
|
*
|
|
2372
2361
|
* @param request - DescribeInfoCheckExportRecordRequest
|
|
2373
2362
|
* @returns DescribeInfoCheckExportRecordResponse
|
|
@@ -2377,10 +2366,10 @@ class Client extends openapi_core_1.default {
|
|
|
2377
2366
|
return await this.describeInfoCheckExportRecordWithOptions(request, runtime);
|
|
2378
2367
|
}
|
|
2379
2368
|
/**
|
|
2380
|
-
* Queries
|
|
2369
|
+
* Queries the list of financial-grade authentication scenarios.
|
|
2381
2370
|
*
|
|
2382
2371
|
* @remarks
|
|
2383
|
-
* Request method: Supports HTTPS POST and GET methods.
|
|
2372
|
+
* Request method: Supports sending requests by using HTTPS POST and GET methods.
|
|
2384
2373
|
* > The authorization key is valid for 30 minutes and cannot be reused. Obtain a new key before each activation.
|
|
2385
2374
|
*
|
|
2386
2375
|
* @param request - DescribeListAntCloudAuthScenesRequest
|
|
@@ -2410,10 +2399,10 @@ class Client extends openapi_core_1.default {
|
|
|
2410
2399
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeListAntCloudAuthScenesResponse({}));
|
|
2411
2400
|
}
|
|
2412
2401
|
/**
|
|
2413
|
-
* Queries
|
|
2402
|
+
* Queries the list of financial-grade authentication scenarios.
|
|
2414
2403
|
*
|
|
2415
2404
|
* @remarks
|
|
2416
|
-
* Request method: Supports HTTPS POST and GET methods.
|
|
2405
|
+
* Request method: Supports sending requests by using HTTPS POST and GET methods.
|
|
2417
2406
|
* > The authorization key is valid for 30 minutes and cannot be reused. Obtain a new key before each activation.
|
|
2418
2407
|
*
|
|
2419
2408
|
* @param request - DescribeListAntCloudAuthScenesRequest
|
|
@@ -2548,7 +2537,7 @@ class Client extends openapi_core_1.default {
|
|
|
2548
2537
|
* Queries information verification details by paging.
|
|
2549
2538
|
*
|
|
2550
2539
|
* @remarks
|
|
2551
|
-
* - Service
|
|
2540
|
+
* - Service address: cloudauth.aliyuncs.com.
|
|
2552
2541
|
* - Request method: HTTPS POST and GET.
|
|
2553
2542
|
*
|
|
2554
2543
|
* @param request - DescribeMetaSearchPageListRequest
|
|
@@ -2620,7 +2609,7 @@ class Client extends openapi_core_1.default {
|
|
|
2620
2609
|
* Queries information verification details by paging.
|
|
2621
2610
|
*
|
|
2622
2611
|
* @remarks
|
|
2623
|
-
* - Service
|
|
2612
|
+
* - Service address: cloudauth.aliyuncs.com.
|
|
2624
2613
|
* - Request method: HTTPS POST and GET.
|
|
2625
2614
|
*
|
|
2626
2615
|
* @param request - DescribeMetaSearchPageListRequest
|
|
@@ -2631,10 +2620,10 @@ class Client extends openapi_core_1.default {
|
|
|
2631
2620
|
return await this.describeMetaSearchPageListWithOptions(request, runtime);
|
|
2632
2621
|
}
|
|
2633
2622
|
/**
|
|
2634
|
-
* Queries statistics information for information verification
|
|
2623
|
+
* Queries statistics information for information verification authentication.
|
|
2635
2624
|
*
|
|
2636
2625
|
* @remarks
|
|
2637
|
-
* - Request method: HTTPS POST and GET methods
|
|
2626
|
+
* - Request method: Supports sending requests by using HTTPS POST and GET methods.
|
|
2638
2627
|
* - Service address: cloudauth.aliyuncs.com.
|
|
2639
2628
|
*
|
|
2640
2629
|
* @param request - DescribeMetaStatisticsListRequest
|
|
@@ -2670,10 +2659,10 @@ class Client extends openapi_core_1.default {
|
|
|
2670
2659
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeMetaStatisticsListResponse({}));
|
|
2671
2660
|
}
|
|
2672
2661
|
/**
|
|
2673
|
-
* Queries statistics information for information verification
|
|
2662
|
+
* Queries statistics information for information verification authentication.
|
|
2674
2663
|
*
|
|
2675
2664
|
* @remarks
|
|
2676
|
-
* - Request method: HTTPS POST and GET methods
|
|
2665
|
+
* - Request method: Supports sending requests by using HTTPS POST and GET methods.
|
|
2677
2666
|
* - Service address: cloudauth.aliyuncs.com.
|
|
2678
2667
|
*
|
|
2679
2668
|
* @param request - DescribeMetaStatisticsListRequest
|
|
@@ -2684,10 +2673,10 @@ class Client extends openapi_core_1.default {
|
|
|
2684
2673
|
return await this.describeMetaStatisticsListWithOptions(request, runtime);
|
|
2685
2674
|
}
|
|
2686
2675
|
/**
|
|
2687
|
-
* Queries information verification
|
|
2676
|
+
* Queries information verification data by paging.
|
|
2688
2677
|
*
|
|
2689
2678
|
* @remarks
|
|
2690
|
-
* - Request method:
|
|
2679
|
+
* - Request method: HTTPS POST and GET methods are supported.
|
|
2691
2680
|
* - Service address: cloudauth.aliyuncs.com.
|
|
2692
2681
|
*
|
|
2693
2682
|
* @param request - DescribeMetaStatisticsPageListRequest
|
|
@@ -2729,10 +2718,10 @@ class Client extends openapi_core_1.default {
|
|
|
2729
2718
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeMetaStatisticsPageListResponse({}));
|
|
2730
2719
|
}
|
|
2731
2720
|
/**
|
|
2732
|
-
* Queries information verification
|
|
2721
|
+
* Queries information verification data by paging.
|
|
2733
2722
|
*
|
|
2734
2723
|
* @remarks
|
|
2735
|
-
* - Request method:
|
|
2724
|
+
* - Request method: HTTPS POST and GET methods are supported.
|
|
2736
2725
|
* - Service address: cloudauth.aliyuncs.com.
|
|
2737
2726
|
*
|
|
2738
2727
|
* @param request - DescribeMetaStatisticsPageListRequest
|
|
@@ -2869,7 +2858,7 @@ class Client extends openapi_core_1.default {
|
|
|
2869
2858
|
return await this.describeOssUploadTokenWithOptions(runtime);
|
|
2870
2859
|
}
|
|
2871
2860
|
/**
|
|
2872
|
-
* Queries financial-grade ID Verification
|
|
2861
|
+
* Queries the paging statistics of financial-grade ID Verification invocations.
|
|
2873
2862
|
*
|
|
2874
2863
|
* @param request - DescribePageFaceVerifyDataRequest
|
|
2875
2864
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2913,7 +2902,7 @@ class Client extends openapi_core_1.default {
|
|
|
2913
2902
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribePageFaceVerifyDataResponse({}));
|
|
2914
2903
|
}
|
|
2915
2904
|
/**
|
|
2916
|
-
* Queries financial-grade ID Verification
|
|
2905
|
+
* Queries the paging statistics of financial-grade ID Verification invocations.
|
|
2917
2906
|
*
|
|
2918
2907
|
* @param request - DescribePageFaceVerifyDataRequest
|
|
2919
2908
|
* @returns DescribePageFaceVerifyDataResponse
|
|
@@ -3050,7 +3039,7 @@ class Client extends openapi_core_1.default {
|
|
|
3050
3039
|
* Retrieves statistics of verification devices.
|
|
3051
3040
|
*
|
|
3052
3041
|
* @remarks
|
|
3053
|
-
* - Service
|
|
3042
|
+
* - Service address: cloudauth.aliyuncs.com.
|
|
3054
3043
|
* - Request method: HTTPS POST and GET.
|
|
3055
3044
|
*
|
|
3056
3045
|
* @param request - DescribeVerifyDeviceRiskStatisticsRequest
|
|
@@ -3095,7 +3084,7 @@ class Client extends openapi_core_1.default {
|
|
|
3095
3084
|
* Retrieves statistics of verification devices.
|
|
3096
3085
|
*
|
|
3097
3086
|
* @remarks
|
|
3098
|
-
* - Service
|
|
3087
|
+
* - Service address: cloudauth.aliyuncs.com.
|
|
3099
3088
|
* - Request method: HTTPS POST and GET.
|
|
3100
3089
|
*
|
|
3101
3090
|
* @param request - DescribeVerifyDeviceRiskStatisticsRequest
|
|
@@ -3227,10 +3216,10 @@ class Client extends openapi_core_1.default {
|
|
|
3227
3216
|
return await this.describeVerifyPersonasDeviceModelStatisticsWithOptions(request, runtime);
|
|
3228
3217
|
}
|
|
3229
3218
|
/**
|
|
3230
|
-
* Queries the distribution data of
|
|
3219
|
+
* Queries the distribution data of authenticated devices.
|
|
3231
3220
|
*
|
|
3232
3221
|
* @remarks
|
|
3233
|
-
* - Service
|
|
3222
|
+
* - Service address: cloudauth.aliyuncs.com.
|
|
3234
3223
|
* - Request method: HTTPS POST and GET.
|
|
3235
3224
|
*
|
|
3236
3225
|
* @param request - DescribeVerifyPersonasOsStatisticsRequest
|
|
@@ -3269,10 +3258,10 @@ class Client extends openapi_core_1.default {
|
|
|
3269
3258
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeVerifyPersonasOsStatisticsResponse({}));
|
|
3270
3259
|
}
|
|
3271
3260
|
/**
|
|
3272
|
-
* Queries the distribution data of
|
|
3261
|
+
* Queries the distribution data of authenticated devices.
|
|
3273
3262
|
*
|
|
3274
3263
|
* @remarks
|
|
3275
|
-
* - Service
|
|
3264
|
+
* - Service address: cloudauth.aliyuncs.com.
|
|
3276
3265
|
* - Request method: HTTPS POST and GET.
|
|
3277
3266
|
*
|
|
3278
3267
|
* @param request - DescribeVerifyPersonasOsStatisticsRequest
|
|
@@ -3283,10 +3272,10 @@ class Client extends openapi_core_1.default {
|
|
|
3283
3272
|
return await this.describeVerifyPersonasOsStatisticsWithOptions(request, runtime);
|
|
3284
3273
|
}
|
|
3285
3274
|
/**
|
|
3286
|
-
* Queries authentication statistics by province
|
|
3275
|
+
* Queries authentication statistics by province where individuals are located.
|
|
3287
3276
|
*
|
|
3288
3277
|
* @remarks
|
|
3289
|
-
* - Service
|
|
3278
|
+
* - Service address: cloudauth.aliyuncs.com.
|
|
3290
3279
|
* - Request method: HTTPS POST and GET.
|
|
3291
3280
|
*
|
|
3292
3281
|
* @param request - DescribeVerifyPersonasProvinceStatisticsRequest
|
|
@@ -3325,10 +3314,10 @@ class Client extends openapi_core_1.default {
|
|
|
3325
3314
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeVerifyPersonasProvinceStatisticsResponse({}));
|
|
3326
3315
|
}
|
|
3327
3316
|
/**
|
|
3328
|
-
* Queries authentication statistics by province
|
|
3317
|
+
* Queries authentication statistics by province where individuals are located.
|
|
3329
3318
|
*
|
|
3330
3319
|
* @remarks
|
|
3331
|
-
* - Service
|
|
3320
|
+
* - Service address: cloudauth.aliyuncs.com.
|
|
3332
3321
|
* - Request method: HTTPS POST and GET.
|
|
3333
3322
|
*
|
|
3334
3323
|
* @param request - DescribeVerifyPersonasProvinceStatisticsRequest
|
|
@@ -3342,7 +3331,7 @@ class Client extends openapi_core_1.default {
|
|
|
3342
3331
|
* Queries ID Verification statistics by gender.
|
|
3343
3332
|
*
|
|
3344
3333
|
* @remarks
|
|
3345
|
-
* - Service
|
|
3334
|
+
* - Service address: cloudauth.aliyuncs.com.
|
|
3346
3335
|
* - Request method: HTTPS POST and GET.
|
|
3347
3336
|
*
|
|
3348
3337
|
* @param request - DescribeVerifyPersonasSexStatisticsRequest
|
|
@@ -3384,7 +3373,7 @@ class Client extends openapi_core_1.default {
|
|
|
3384
3373
|
* Queries ID Verification statistics by gender.
|
|
3385
3374
|
*
|
|
3386
3375
|
* @remarks
|
|
3387
|
-
* - Service
|
|
3376
|
+
* - Service address: cloudauth.aliyuncs.com.
|
|
3388
3377
|
* - Request method: HTTPS POST and GET.
|
|
3389
3378
|
*
|
|
3390
3379
|
* @param request - DescribeVerifyPersonasSexStatisticsRequest
|
|
@@ -3498,11 +3487,11 @@ class Client extends openapi_core_1.default {
|
|
|
3498
3487
|
return await this.describeVerifySDKWithOptions(request, runtime);
|
|
3499
3488
|
}
|
|
3500
3489
|
/**
|
|
3501
|
-
*
|
|
3490
|
+
* Queries the details of authentication records with paging and conditional query.
|
|
3502
3491
|
*
|
|
3503
3492
|
* @remarks
|
|
3504
3493
|
* - Service endpoint: cloudauth.aliyuncs.com.
|
|
3505
|
-
* - Request
|
|
3494
|
+
* - Request method: HTTPS POST and GET.
|
|
3506
3495
|
*
|
|
3507
3496
|
* @param request - DescribeVerifySearchPageListRequest
|
|
3508
3497
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3594,11 +3583,11 @@ class Client extends openapi_core_1.default {
|
|
|
3594
3583
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeVerifySearchPageListResponse({}));
|
|
3595
3584
|
}
|
|
3596
3585
|
/**
|
|
3597
|
-
*
|
|
3586
|
+
* Queries the details of authentication records with paging and conditional query.
|
|
3598
3587
|
*
|
|
3599
3588
|
* @remarks
|
|
3600
3589
|
* - Service endpoint: cloudauth.aliyuncs.com.
|
|
3601
|
-
* - Request
|
|
3590
|
+
* - Request method: HTTPS POST and GET.
|
|
3602
3591
|
*
|
|
3603
3592
|
* @param request - DescribeVerifySearchPageListRequest
|
|
3604
3593
|
* @returns DescribeVerifySearchPageListResponse
|
|
@@ -3772,7 +3761,7 @@ class Client extends openapi_core_1.default {
|
|
|
3772
3761
|
return await this.describeVerifyTokenWithOptions(request, runtime);
|
|
3773
3762
|
}
|
|
3774
3763
|
/**
|
|
3775
|
-
* Queries the whitelist of a scenario.
|
|
3764
|
+
* Queries the whitelist of a specified scenario.
|
|
3776
3765
|
*
|
|
3777
3766
|
* @remarks
|
|
3778
3767
|
* Request method: Only HTTPS POST requests are supported.
|
|
@@ -3837,7 +3826,7 @@ class Client extends openapi_core_1.default {
|
|
|
3837
3826
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeWhitelistSettingResponse({}));
|
|
3838
3827
|
}
|
|
3839
3828
|
/**
|
|
3840
|
-
* Queries the whitelist of a scenario.
|
|
3829
|
+
* Queries the whitelist of a specified scenario.
|
|
3841
3830
|
*
|
|
3842
3831
|
* @remarks
|
|
3843
3832
|
* Request method: Only HTTPS POST requests are supported.
|
|
@@ -4422,10 +4411,162 @@ class Client extends openapi_core_1.default {
|
|
|
4422
4411
|
return id3MetaVerifyResp;
|
|
4423
4412
|
}
|
|
4424
4413
|
/**
|
|
4425
|
-
*
|
|
4414
|
+
* Three-factor verification (premium edition).
|
|
4415
|
+
*
|
|
4416
|
+
* @remarks
|
|
4417
|
+
* Verifies the authenticity and consistency of a name, ID card number, and facial photo against an authoritative source.
|
|
4418
|
+
*
|
|
4419
|
+
* @param request - Id3MetaVerifyPRORequest
|
|
4420
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4421
|
+
* @returns Id3MetaVerifyPROResponse
|
|
4422
|
+
*/
|
|
4423
|
+
async id3MetaVerifyPROWithOptions(request, runtime) {
|
|
4424
|
+
request.validate();
|
|
4425
|
+
let query = {};
|
|
4426
|
+
if (!$dara.isNull(request.enableFallback)) {
|
|
4427
|
+
query["EnableFallback"] = request.enableFallback;
|
|
4428
|
+
}
|
|
4429
|
+
let body = {};
|
|
4430
|
+
if (!$dara.isNull(request.crop)) {
|
|
4431
|
+
body["Crop"] = request.crop;
|
|
4432
|
+
}
|
|
4433
|
+
if (!$dara.isNull(request.faceFile)) {
|
|
4434
|
+
body["FaceFile"] = request.faceFile;
|
|
4435
|
+
}
|
|
4436
|
+
if (!$dara.isNull(request.facePicture)) {
|
|
4437
|
+
body["FacePicture"] = request.facePicture;
|
|
4438
|
+
}
|
|
4439
|
+
if (!$dara.isNull(request.faceUrl)) {
|
|
4440
|
+
body["FaceUrl"] = request.faceUrl;
|
|
4441
|
+
}
|
|
4442
|
+
if (!$dara.isNull(request.identifyNum)) {
|
|
4443
|
+
body["IdentifyNum"] = request.identifyNum;
|
|
4444
|
+
}
|
|
4445
|
+
if (!$dara.isNull(request.livenessCheck)) {
|
|
4446
|
+
body["LivenessCheck"] = request.livenessCheck;
|
|
4447
|
+
}
|
|
4448
|
+
if (!$dara.isNull(request.paramType)) {
|
|
4449
|
+
body["ParamType"] = request.paramType;
|
|
4450
|
+
}
|
|
4451
|
+
if (!$dara.isNull(request.userName)) {
|
|
4452
|
+
body["UserName"] = request.userName;
|
|
4453
|
+
}
|
|
4454
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4455
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4456
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
4457
|
+
});
|
|
4458
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4459
|
+
action: "Id3MetaVerifyPRO",
|
|
4460
|
+
version: "2019-03-07",
|
|
4461
|
+
protocol: "HTTPS",
|
|
4462
|
+
pathname: "/",
|
|
4463
|
+
method: "POST",
|
|
4464
|
+
authType: "AK",
|
|
4465
|
+
style: "RPC",
|
|
4466
|
+
reqBodyType: "formData",
|
|
4467
|
+
bodyType: "json",
|
|
4468
|
+
});
|
|
4469
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.Id3MetaVerifyPROResponse({}));
|
|
4470
|
+
}
|
|
4471
|
+
/**
|
|
4472
|
+
* Three-factor verification (premium edition).
|
|
4426
4473
|
*
|
|
4427
4474
|
* @remarks
|
|
4428
|
-
*
|
|
4475
|
+
* Verifies the authenticity and consistency of a name, ID card number, and facial photo against an authoritative source.
|
|
4476
|
+
*
|
|
4477
|
+
* @param request - Id3MetaVerifyPRORequest
|
|
4478
|
+
* @returns Id3MetaVerifyPROResponse
|
|
4479
|
+
*/
|
|
4480
|
+
async id3MetaVerifyPRO(request) {
|
|
4481
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
4482
|
+
return await this.id3MetaVerifyPROWithOptions(request, runtime);
|
|
4483
|
+
}
|
|
4484
|
+
async id3MetaVerifyPROAdvance(request, runtime) {
|
|
4485
|
+
// Step 0: init client
|
|
4486
|
+
if ($dara.isNull(this._credential)) {
|
|
4487
|
+
throw new $OpenApi.ClientError({
|
|
4488
|
+
code: "InvalidCredentials",
|
|
4489
|
+
message: "Please set up the credentials correctly. If you are setting them through environment variables, please ensure that ALIBABA_CLOUD_ACCESS_KEY_ID and ALIBABA_CLOUD_ACCESS_KEY_SECRET are set correctly. See https://help.aliyun.com/zh/sdk/developer-reference/configure-the-alibaba-cloud-accesskey-environment-variable-on-linux-macos-and-windows-systems for more details.",
|
|
4490
|
+
});
|
|
4491
|
+
}
|
|
4492
|
+
let credentialModel = await this._credential.getCredential();
|
|
4493
|
+
let accessKeyId = credentialModel.accessKeyId;
|
|
4494
|
+
let accessKeySecret = credentialModel.accessKeySecret;
|
|
4495
|
+
let securityToken = credentialModel.securityToken;
|
|
4496
|
+
let credentialType = credentialModel.type;
|
|
4497
|
+
let openPlatformEndpoint = this._openPlatformEndpoint;
|
|
4498
|
+
if ($dara.isNull(openPlatformEndpoint) || openPlatformEndpoint == "") {
|
|
4499
|
+
openPlatformEndpoint = "openplatform.aliyuncs.com";
|
|
4500
|
+
}
|
|
4501
|
+
if ($dara.isNull(credentialType)) {
|
|
4502
|
+
credentialType = "access_key";
|
|
4503
|
+
}
|
|
4504
|
+
let authConfig = new openapi_core_2.$OpenApiUtil.Config({
|
|
4505
|
+
accessKeyId: accessKeyId,
|
|
4506
|
+
accessKeySecret: accessKeySecret,
|
|
4507
|
+
securityToken: securityToken,
|
|
4508
|
+
type: credentialType,
|
|
4509
|
+
endpoint: openPlatformEndpoint,
|
|
4510
|
+
protocol: this._protocol,
|
|
4511
|
+
regionId: this._regionId,
|
|
4512
|
+
});
|
|
4513
|
+
let authClient = new openapi_core_1.default(authConfig);
|
|
4514
|
+
let authRequest = {
|
|
4515
|
+
Product: "Cloudauth",
|
|
4516
|
+
RegionId: this._regionId,
|
|
4517
|
+
};
|
|
4518
|
+
let authReq = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4519
|
+
query: openapi_core_2.OpenApiUtil.query(authRequest),
|
|
4520
|
+
});
|
|
4521
|
+
let authParams = new openapi_core_2.$OpenApiUtil.Params({
|
|
4522
|
+
action: "AuthorizeFileUpload",
|
|
4523
|
+
version: "2019-12-19",
|
|
4524
|
+
protocol: "HTTPS",
|
|
4525
|
+
pathname: "/",
|
|
4526
|
+
method: "GET",
|
|
4527
|
+
authType: "AK",
|
|
4528
|
+
style: "RPC",
|
|
4529
|
+
reqBodyType: "formData",
|
|
4530
|
+
bodyType: "json",
|
|
4531
|
+
});
|
|
4532
|
+
let authResponse = {};
|
|
4533
|
+
let fileObj = new $dara.FileField({});
|
|
4534
|
+
let ossHeader = {};
|
|
4535
|
+
let tmpBody = {};
|
|
4536
|
+
let useAccelerate = false;
|
|
4537
|
+
let authResponseBody = {};
|
|
4538
|
+
let id3MetaVerifyPROReq = new $_model.Id3MetaVerifyPRORequest({});
|
|
4539
|
+
openapi_core_2.OpenApiUtil.convert(request, id3MetaVerifyPROReq);
|
|
4540
|
+
if (!$dara.isNull(request.faceFileObject)) {
|
|
4541
|
+
authResponse = await authClient.callApi(authParams, authReq, runtime);
|
|
4542
|
+
tmpBody = authResponse["body"];
|
|
4543
|
+
useAccelerate = Boolean(tmpBody["UseAccelerate"]);
|
|
4544
|
+
authResponseBody = openapi_core_2.OpenApiUtil.stringifyMapValue(tmpBody);
|
|
4545
|
+
fileObj = new $dara.FileField({
|
|
4546
|
+
filename: authResponseBody["ObjectKey"],
|
|
4547
|
+
content: request.faceFileObject,
|
|
4548
|
+
contentType: "",
|
|
4549
|
+
});
|
|
4550
|
+
ossHeader = {
|
|
4551
|
+
host: openapi_core_2.OpenApiUtil.getEndpoint(authResponseBody["Endpoint"], useAccelerate, this._endpointType),
|
|
4552
|
+
OSSAccessKeyId: authResponseBody["AccessKeyId"],
|
|
4553
|
+
policy: authResponseBody["EncodedPolicy"],
|
|
4554
|
+
Signature: authResponseBody["Signature"],
|
|
4555
|
+
key: authResponseBody["ObjectKey"],
|
|
4556
|
+
file: fileObj,
|
|
4557
|
+
success_action_status: "201",
|
|
4558
|
+
};
|
|
4559
|
+
await this._postOSSObject(authResponseBody["Bucket"], ossHeader, runtime);
|
|
4560
|
+
id3MetaVerifyPROReq.faceFile = `http://${authResponseBody["Bucket"]}.${authResponseBody["Endpoint"]}/${authResponseBody["ObjectKey"]}`;
|
|
4561
|
+
}
|
|
4562
|
+
let id3MetaVerifyPROResp = await this.id3MetaVerifyPROWithOptions(id3MetaVerifyPROReq, runtime);
|
|
4563
|
+
return id3MetaVerifyPROResp;
|
|
4564
|
+
}
|
|
4565
|
+
/**
|
|
4566
|
+
* Verifies the authenticity and consistency of facial recognition three-factor elements by accepting front and back images of an ID card, extracting the name, ID number, and facial photo through OCR, and checking them against an authoritative source.
|
|
4567
|
+
*
|
|
4568
|
+
* @remarks
|
|
4569
|
+
* Accepts front and back images of an ID card and returns the verification result of the facial recognition three-factor elements from an authoritative data source.
|
|
4429
4570
|
*
|
|
4430
4571
|
* @param request - Id3MetaVerifyWithOCRRequest
|
|
4431
4572
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4463,10 +4604,10 @@ class Client extends openapi_core_1.default {
|
|
|
4463
4604
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.Id3MetaVerifyWithOCRResponse({}));
|
|
4464
4605
|
}
|
|
4465
4606
|
/**
|
|
4466
|
-
*
|
|
4607
|
+
* Verifies the authenticity and consistency of facial recognition three-factor elements by accepting front and back images of an ID card, extracting the name, ID number, and facial photo through OCR, and checking them against an authoritative source.
|
|
4467
4608
|
*
|
|
4468
4609
|
* @remarks
|
|
4469
|
-
*
|
|
4610
|
+
* Accepts front and back images of an ID card and returns the verification result of the facial recognition three-factor elements from an authoritative data source.
|
|
4470
4611
|
*
|
|
4471
4612
|
* @param request - Id3MetaVerifyWithOCRRequest
|
|
4472
4613
|
* @returns Id3MetaVerifyWithOCRResponse
|
|
@@ -4717,7 +4858,7 @@ class Client extends openapi_core_1.default {
|
|
|
4717
4858
|
return await this.initCardVerifyWithOptions(request, runtime);
|
|
4718
4859
|
}
|
|
4719
4860
|
/**
|
|
4720
|
-
* Obtains a CertifyId before each authentication to
|
|
4861
|
+
* Obtains a CertifyId before each authentication session, which is used to correlate the various API operations in the authentication request.
|
|
4721
4862
|
*
|
|
4722
4863
|
* @remarks
|
|
4723
4864
|
* - Service endpoint: cloudauth.aliyuncs.com
|
|
@@ -4725,11 +4866,11 @@ class Client extends openapi_core_1.default {
|
|
|
4725
4866
|
* - This operation uses different parameters for different product plans. For more information, refer to the [official documentation](https://www.alibabacloud.com/help/en/id-verification/financial-grade-id-verification/product-overview/introduction/).
|
|
4726
4867
|
* #### Image format requirements
|
|
4727
4868
|
* When performing ID Verification, submit images that meet all of the following conditions:
|
|
4728
|
-
* - A recent photo with a complete, clear, and unobstructed face,
|
|
4729
|
-
* -
|
|
4730
|
-
* - Resolution must not exceed 1920×1080
|
|
4869
|
+
* - A recent photo with a complete, clear, and unobstructed face, natural expression, and facing the camera directly.
|
|
4870
|
+
* - Clear photo with normal exposure. The face must not be too dark, too bright, or have glare, and the angle must not deviate significantly.
|
|
4871
|
+
* - Resolution must not exceed 1920×1080, must be at least 640×480. We recommend scaling the short edge to 720 pixels with a compression ratio greater than 0.9.
|
|
4731
4872
|
* - Photo size: < 1 MB.
|
|
4732
|
-
* - Photos rotated 90, 180, and 270 degrees are supported. For
|
|
4873
|
+
* - Photos rotated 90, 180, and 270 degrees are supported. For multiple faces, the largest face is selected.
|
|
4733
4874
|
*
|
|
4734
4875
|
* @param request - InitFaceVerifyRequest
|
|
4735
4876
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4877,7 +5018,7 @@ class Client extends openapi_core_1.default {
|
|
|
4877
5018
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.InitFaceVerifyResponse({}));
|
|
4878
5019
|
}
|
|
4879
5020
|
/**
|
|
4880
|
-
* Obtains a CertifyId before each authentication to
|
|
5021
|
+
* Obtains a CertifyId before each authentication session, which is used to correlate the various API operations in the authentication request.
|
|
4881
5022
|
*
|
|
4882
5023
|
* @remarks
|
|
4883
5024
|
* - Service endpoint: cloudauth.aliyuncs.com
|
|
@@ -4885,11 +5026,11 @@ class Client extends openapi_core_1.default {
|
|
|
4885
5026
|
* - This operation uses different parameters for different product plans. For more information, refer to the [official documentation](https://www.alibabacloud.com/help/en/id-verification/financial-grade-id-verification/product-overview/introduction/).
|
|
4886
5027
|
* #### Image format requirements
|
|
4887
5028
|
* When performing ID Verification, submit images that meet all of the following conditions:
|
|
4888
|
-
* - A recent photo with a complete, clear, and unobstructed face,
|
|
4889
|
-
* -
|
|
4890
|
-
* - Resolution must not exceed 1920×1080
|
|
5029
|
+
* - A recent photo with a complete, clear, and unobstructed face, natural expression, and facing the camera directly.
|
|
5030
|
+
* - Clear photo with normal exposure. The face must not be too dark, too bright, or have glare, and the angle must not deviate significantly.
|
|
5031
|
+
* - Resolution must not exceed 1920×1080, must be at least 640×480. We recommend scaling the short edge to 720 pixels with a compression ratio greater than 0.9.
|
|
4891
5032
|
* - Photo size: < 1 MB.
|
|
4892
|
-
* - Photos rotated 90, 180, and 270 degrees are supported. For
|
|
5033
|
+
* - Photos rotated 90, 180, and 270 degrees are supported. For multiple faces, the largest face is selected.
|
|
4893
5034
|
*
|
|
4894
5035
|
* @param request - InitFaceVerifyRequest
|
|
4895
5036
|
* @returns InitFaceVerifyResponse
|
|
@@ -5718,7 +5859,7 @@ class Client extends openapi_core_1.default {
|
|
|
5718
5859
|
return await this.modifyDeviceInfoWithOptions(request, runtime);
|
|
5719
5860
|
}
|
|
5720
5861
|
/**
|
|
5721
|
-
* Queries ID Verification whitelist configurations by
|
|
5862
|
+
* Queries ID Verification whitelist configurations by paging.
|
|
5722
5863
|
*
|
|
5723
5864
|
* @param request - PageQueryWhiteListSettingRequest
|
|
5724
5865
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5771,7 +5912,7 @@ class Client extends openapi_core_1.default {
|
|
|
5771
5912
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.PageQueryWhiteListSettingResponse({}));
|
|
5772
5913
|
}
|
|
5773
5914
|
/**
|
|
5774
|
-
* Queries ID Verification whitelist configurations by
|
|
5915
|
+
* Queries ID Verification whitelist configurations by paging.
|
|
5775
5916
|
*
|
|
5776
5917
|
* @param request - PageQueryWhiteListSettingRequest
|
|
5777
5918
|
* @returns PageQueryWhiteListSettingResponse
|
|
@@ -6037,7 +6178,7 @@ class Client extends openapi_core_1.default {
|
|
|
6037
6178
|
* @remarks
|
|
6038
6179
|
* - Service endpoint: cloudauth.aliyuncs.com
|
|
6039
6180
|
* - Request method: HTTPS POST and GET.
|
|
6040
|
-
* - This operation uses different parameters for different product plans. For more information,
|
|
6181
|
+
* - This operation uses different parameters for different product plans. For more information, refer to the [official documentation](https://www.alibabacloud.com/help/en/id-verification/financial-grade-id-verification/product-overview/introduction/).
|
|
6041
6182
|
*
|
|
6042
6183
|
* @param request - QueryVerifyFlowPackageRequest
|
|
6043
6184
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6071,7 +6212,7 @@ class Client extends openapi_core_1.default {
|
|
|
6071
6212
|
* @remarks
|
|
6072
6213
|
* - Service endpoint: cloudauth.aliyuncs.com
|
|
6073
6214
|
* - Request method: HTTPS POST and GET.
|
|
6074
|
-
* - This operation uses different parameters for different product plans. For more information,
|
|
6215
|
+
* - This operation uses different parameters for different product plans. For more information, refer to the [official documentation](https://www.alibabacloud.com/help/en/id-verification/financial-grade-id-verification/product-overview/introduction/).
|
|
6075
6216
|
*
|
|
6076
6217
|
* @param request - QueryVerifyFlowPackageRequest
|
|
6077
6218
|
* @returns QueryVerifyFlowPackageResponse
|
|
@@ -6086,7 +6227,7 @@ class Client extends openapi_core_1.default {
|
|
|
6086
6227
|
* @remarks
|
|
6087
6228
|
* - Request endpoint: cloudauth.aliyuncs.com
|
|
6088
6229
|
* - Request method: HTTPS POST and GET.
|
|
6089
|
-
* > ID Verification
|
|
6230
|
+
* > ID Verification products use CertifyId to calculate call volume. To facilitate reconciliation, retain the CertifyId field in your system.
|
|
6090
6231
|
*
|
|
6091
6232
|
* @param request - QueryVerifyInvokeSatisticRequest
|
|
6092
6233
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6141,7 +6282,7 @@ class Client extends openapi_core_1.default {
|
|
|
6141
6282
|
* @remarks
|
|
6142
6283
|
* - Request endpoint: cloudauth.aliyuncs.com
|
|
6143
6284
|
* - Request method: HTTPS POST and GET.
|
|
6144
|
-
* > ID Verification
|
|
6285
|
+
* > ID Verification products use CertifyId to calculate call volume. To facilitate reconciliation, retain the CertifyId field in your system.
|
|
6145
6286
|
*
|
|
6146
6287
|
* @param request - QueryVerifyInvokeSatisticRequest
|
|
6147
6288
|
* @returns QueryVerifyInvokeSatisticResponse
|
|
@@ -6198,10 +6339,10 @@ class Client extends openapi_core_1.default {
|
|
|
6198
6339
|
return await this.removeWhiteListSettingWithOptions(request, runtime);
|
|
6199
6340
|
}
|
|
6200
6341
|
/**
|
|
6201
|
-
* Updates a China Finance Certification
|
|
6342
|
+
* Updates a China Finance Certification scenario.
|
|
6202
6343
|
*
|
|
6203
6344
|
* @remarks
|
|
6204
|
-
* Updates the information of a China Finance Certification
|
|
6345
|
+
* Updates the information of a China Finance Certification scenario based on the scenario ID.
|
|
6205
6346
|
* - Service endpoint: cloudauth.aliyuncs.com.
|
|
6206
6347
|
* - Request method: HTTPS POST.
|
|
6207
6348
|
*
|
|
@@ -6221,6 +6362,15 @@ class Client extends openapi_core_1.default {
|
|
|
6221
6362
|
if (!$dara.isNull(request.checkFileName)) {
|
|
6222
6363
|
query["CheckFileName"] = request.checkFileName;
|
|
6223
6364
|
}
|
|
6365
|
+
if (!$dara.isNull(request.degradeAppScheme)) {
|
|
6366
|
+
query["DegradeAppScheme"] = request.degradeAppScheme;
|
|
6367
|
+
}
|
|
6368
|
+
if (!$dara.isNull(request.degradeSubCodes)) {
|
|
6369
|
+
query["DegradeSubCodes"] = request.degradeSubCodes;
|
|
6370
|
+
}
|
|
6371
|
+
if (!$dara.isNull(request.degradeType)) {
|
|
6372
|
+
query["DegradeType"] = request.degradeType;
|
|
6373
|
+
}
|
|
6224
6374
|
if (!$dara.isNull(request.deviceRiskPlus)) {
|
|
6225
6375
|
query["DeviceRiskPlus"] = request.deviceRiskPlus;
|
|
6226
6376
|
}
|
|
@@ -6248,6 +6398,9 @@ class Client extends openapi_core_1.default {
|
|
|
6248
6398
|
if (!$dara.isNull(request.storeImage)) {
|
|
6249
6399
|
query["StoreImage"] = request.storeImage;
|
|
6250
6400
|
}
|
|
6401
|
+
if (!$dara.isNull(request.useDegrade)) {
|
|
6402
|
+
query["UseDegrade"] = request.useDegrade;
|
|
6403
|
+
}
|
|
6251
6404
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6252
6405
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
6253
6406
|
});
|
|
@@ -6265,10 +6418,10 @@ class Client extends openapi_core_1.default {
|
|
|
6265
6418
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateAntCloudAuthSceneResponse({}));
|
|
6266
6419
|
}
|
|
6267
6420
|
/**
|
|
6268
|
-
* Updates a China Finance Certification
|
|
6421
|
+
* Updates a China Finance Certification scenario.
|
|
6269
6422
|
*
|
|
6270
6423
|
* @remarks
|
|
6271
|
-
* Updates the information of a China Finance Certification
|
|
6424
|
+
* Updates the information of a China Finance Certification scenario based on the scenario ID.
|
|
6272
6425
|
* - Service endpoint: cloudauth.aliyuncs.com.
|
|
6273
6426
|
* - Request method: HTTPS POST.
|
|
6274
6427
|
*
|