@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Id3metaVerifyAdvanceRequest.js","sourceRoot":"","sources":["../../src/models/Id3metaVerifyAdvanceRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,6DAA+C;AAG/C,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"Id3metaVerifyAdvanceRequest.js","sourceRoot":"","sources":["../../src/models/Id3metaVerifyAdvanceRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,6DAA+C;AAG/C,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;IA8E1D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,cAAc,EAAE,UAAU;YAC1B,WAAW,EAAE,aAAa;YAC1B,OAAO,EAAE,SAAS;YAClB,WAAW,EAAE,aAAa;YAC1B,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,cAAc,EAAE,UAAU;YAC1B,WAAW,EAAE,QAAQ;YACrB,OAAO,EAAE,QAAQ;YACjB,WAAW,EAAE,QAAQ;YACrB,SAAS,EAAE,QAAQ;YACnB,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA7GD,kEA6GC"}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { Readable } from 'stream';
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
export declare class Id3MetaVerifyPROAdvanceRequest extends $dara.Model {
|
|
4
|
+
/**
|
|
5
|
+
* @remarks
|
|
6
|
+
* Specifies whether to allow cropping of the facial photo. By default, cropping is not allowed. Valid values:
|
|
7
|
+
* - **T**: Cropping is allowed.
|
|
8
|
+
* - **F**: Cropping is not allowed.
|
|
9
|
+
* > If the requested image is not captured by a standard liveness detection SDK, allow cropping of the facial photo.
|
|
10
|
+
* After this feature is enabled, the requested image is first cropped and corrected for the face, and then the request is sent to the service.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* T
|
|
14
|
+
*/
|
|
15
|
+
crop?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* Specifies whether to allow fallback to a non-public security source. Valid values:
|
|
19
|
+
*
|
|
20
|
+
* - **N** (default): Disabled.
|
|
21
|
+
* - **Y**: Enabled.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* Y
|
|
25
|
+
*/
|
|
26
|
+
enableFallback?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* The input stream of the facial photo.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* For the specific integration method, refer to the file upload Advance API configuration
|
|
33
|
+
*/
|
|
34
|
+
faceFileObject?: Readable;
|
|
35
|
+
/**
|
|
36
|
+
* @remarks
|
|
37
|
+
* The Base64-encoded photo. If you use this method to submit the facial photo, check the photo size and do not submit an excessively large photo.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* /9j/4AAQSkZJRgABAQAASxxxxxxx
|
|
41
|
+
*/
|
|
42
|
+
facePicture?: string;
|
|
43
|
+
/**
|
|
44
|
+
* @remarks
|
|
45
|
+
* The URL of the facial photo. The URL must be a publicly accessible HTTP or HTTPS link.
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* https://cn-shanghai-aliyun-cloudauth-xxxxxx.oss-cn-shanghai.aliyuncs.com/verify/xxxxx/xxxxx.jpeg
|
|
49
|
+
*/
|
|
50
|
+
faceUrl?: string;
|
|
51
|
+
/**
|
|
52
|
+
* @remarks
|
|
53
|
+
* The ID card number.
|
|
54
|
+
*
|
|
55
|
+
* - If **paramType** is set to normal: Enter the ID card number in plaintext.
|
|
56
|
+
*
|
|
57
|
+
* - If **paramType** is set to sm2: Enter the encrypted ID card number.
|
|
58
|
+
*
|
|
59
|
+
*
|
|
60
|
+
* > Due to authoritative source limitations, only second-generation resident ID card numbers are supported.
|
|
61
|
+
*
|
|
62
|
+
* @example
|
|
63
|
+
* Plaintext: 429001********8211
|
|
64
|
+
*
|
|
65
|
+
* Ciphertext: MHsCIEPDt1ycBNSVgA2yKsMnvWGheiI+STWqJLmYWlZnklhnAiEAwq1bk5YVepHwqfMsd9ErlK71OrdXx8E+wfqbzyFCwoMEIM1QdrFeekvQh6fwK7sVXAsNePiNm7Eulqm/zahRosbKBBKgtyhm3SopJ3tO/wALKXQQW+g=
|
|
66
|
+
*/
|
|
67
|
+
identifyNum?: string;
|
|
68
|
+
/**
|
|
69
|
+
* @remarks
|
|
70
|
+
* Specifies whether to enable liveness detection. Valid values:
|
|
71
|
+
*
|
|
72
|
+
* - **N** (default): Liveness detection is disabled.
|
|
73
|
+
* - **Y**: Liveness detection is enabled.
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* Y
|
|
77
|
+
*/
|
|
78
|
+
livenessCheck?: string;
|
|
79
|
+
/**
|
|
80
|
+
* @remarks
|
|
81
|
+
* The encryption method. Valid values:
|
|
82
|
+
*
|
|
83
|
+
* - **normal**: Plaintext without encryption.
|
|
84
|
+
*
|
|
85
|
+
* - **sm2**: SM2 encryption.
|
|
86
|
+
*
|
|
87
|
+
* @example
|
|
88
|
+
* normal
|
|
89
|
+
*/
|
|
90
|
+
paramType?: string;
|
|
91
|
+
/**
|
|
92
|
+
* @remarks
|
|
93
|
+
* The name.
|
|
94
|
+
*
|
|
95
|
+
* - If **paramType** is set to normal: Enter the name in plaintext.
|
|
96
|
+
*
|
|
97
|
+
* - If **paramType** is set to sm2: Enter the encrypted name.
|
|
98
|
+
*
|
|
99
|
+
* @example
|
|
100
|
+
* Plaintext: Zhang San
|
|
101
|
+
*
|
|
102
|
+
* Ciphertext: MG8CIQCxI0wNYbc0c2BRL+7+tSethTXfQC391ZFnszRRcvRZ9AIgekQYhgDtxaDuoRD4bde/5fnFdlUp4YoxlEnIFLLm2mQEILkctuy6Rw6lfAUxBtkpPoPVCJAeD5al/RX8JFUvTACEBAYAgLJjBe0=
|
|
103
|
+
*/
|
|
104
|
+
userName?: string;
|
|
105
|
+
static names(): {
|
|
106
|
+
[key: string]: string;
|
|
107
|
+
};
|
|
108
|
+
static types(): {
|
|
109
|
+
[key: string]: any;
|
|
110
|
+
};
|
|
111
|
+
validate(): void;
|
|
112
|
+
constructor(map?: {
|
|
113
|
+
[key: string]: any;
|
|
114
|
+
});
|
|
115
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.Id3MetaVerifyPROAdvanceRequest = void 0;
|
|
37
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
38
|
+
class Id3MetaVerifyPROAdvanceRequest extends $dara.Model {
|
|
39
|
+
static names() {
|
|
40
|
+
return {
|
|
41
|
+
crop: 'Crop',
|
|
42
|
+
enableFallback: 'EnableFallback',
|
|
43
|
+
faceFileObject: 'FaceFile',
|
|
44
|
+
facePicture: 'FacePicture',
|
|
45
|
+
faceUrl: 'FaceUrl',
|
|
46
|
+
identifyNum: 'IdentifyNum',
|
|
47
|
+
livenessCheck: 'LivenessCheck',
|
|
48
|
+
paramType: 'ParamType',
|
|
49
|
+
userName: 'UserName',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
static types() {
|
|
53
|
+
return {
|
|
54
|
+
crop: 'string',
|
|
55
|
+
enableFallback: 'string',
|
|
56
|
+
faceFileObject: 'Readable',
|
|
57
|
+
facePicture: 'string',
|
|
58
|
+
faceUrl: 'string',
|
|
59
|
+
identifyNum: 'string',
|
|
60
|
+
livenessCheck: 'string',
|
|
61
|
+
paramType: 'string',
|
|
62
|
+
userName: 'string',
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
validate() {
|
|
66
|
+
super.validate();
|
|
67
|
+
}
|
|
68
|
+
constructor(map) {
|
|
69
|
+
super(map);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
exports.Id3MetaVerifyPROAdvanceRequest = Id3MetaVerifyPROAdvanceRequest;
|
|
73
|
+
//# sourceMappingURL=Id3metaVerifyProadvanceRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Id3metaVerifyProadvanceRequest.js","sourceRoot":"","sources":["../../src/models/Id3metaVerifyProadvanceRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,6DAA+C;AAG/C,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IAsG7D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,cAAc,EAAE,gBAAgB;YAChC,cAAc,EAAE,UAAU;YAC1B,WAAW,EAAE,aAAa;YAC1B,OAAO,EAAE,SAAS;YAClB,WAAW,EAAE,aAAa;YAC1B,aAAa,EAAE,eAAe;YAC9B,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,cAAc,EAAE,QAAQ;YACxB,cAAc,EAAE,UAAU;YAC1B,WAAW,EAAE,QAAQ;YACrB,OAAO,EAAE,QAAQ;YACjB,WAAW,EAAE,QAAQ;YACrB,aAAa,EAAE,QAAQ;YACvB,SAAS,EAAE,QAAQ;YACnB,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAzID,wEAyIC"}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class Id3MetaVerifyPRORequest extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* Specifies whether to allow cropping of the facial photo. By default, cropping is not allowed. Valid values:
|
|
6
|
+
* - **T**: Cropping is allowed.
|
|
7
|
+
* - **F**: Cropping is not allowed.
|
|
8
|
+
* > If the requested image is not captured by a standard liveness detection SDK, allow cropping of the facial photo.
|
|
9
|
+
* After this feature is enabled, the requested image is first cropped and corrected for the face, and then the request is sent to the service.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* T
|
|
13
|
+
*/
|
|
14
|
+
crop?: string;
|
|
15
|
+
/**
|
|
16
|
+
* @remarks
|
|
17
|
+
* Specifies whether to allow fallback to a non-public security source. Valid values:
|
|
18
|
+
*
|
|
19
|
+
* - **N** (default): Disabled.
|
|
20
|
+
* - **Y**: Enabled.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* Y
|
|
24
|
+
*/
|
|
25
|
+
enableFallback?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @remarks
|
|
28
|
+
* The input stream of the facial photo.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* For the specific integration method, refer to the file upload Advance API configuration
|
|
32
|
+
*/
|
|
33
|
+
faceFile?: string;
|
|
34
|
+
/**
|
|
35
|
+
* @remarks
|
|
36
|
+
* The Base64-encoded photo. If you use this method to submit the facial photo, check the photo size and do not submit an excessively large photo.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* /9j/4AAQSkZJRgABAQAASxxxxxxx
|
|
40
|
+
*/
|
|
41
|
+
facePicture?: string;
|
|
42
|
+
/**
|
|
43
|
+
* @remarks
|
|
44
|
+
* The URL of the facial photo. The URL must be a publicly accessible HTTP or HTTPS link.
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* https://cn-shanghai-aliyun-cloudauth-xxxxxx.oss-cn-shanghai.aliyuncs.com/verify/xxxxx/xxxxx.jpeg
|
|
48
|
+
*/
|
|
49
|
+
faceUrl?: string;
|
|
50
|
+
/**
|
|
51
|
+
* @remarks
|
|
52
|
+
* The ID card number.
|
|
53
|
+
*
|
|
54
|
+
* - If **paramType** is set to normal: Enter the ID card number in plaintext.
|
|
55
|
+
*
|
|
56
|
+
* - If **paramType** is set to sm2: Enter the encrypted ID card number.
|
|
57
|
+
*
|
|
58
|
+
*
|
|
59
|
+
* > Due to authoritative source limitations, only second-generation resident ID card numbers are supported.
|
|
60
|
+
*
|
|
61
|
+
* @example
|
|
62
|
+
* Plaintext: 429001********8211
|
|
63
|
+
*
|
|
64
|
+
* Ciphertext: MHsCIEPDt1ycBNSVgA2yKsMnvWGheiI+STWqJLmYWlZnklhnAiEAwq1bk5YVepHwqfMsd9ErlK71OrdXx8E+wfqbzyFCwoMEIM1QdrFeekvQh6fwK7sVXAsNePiNm7Eulqm/zahRosbKBBKgtyhm3SopJ3tO/wALKXQQW+g=
|
|
65
|
+
*/
|
|
66
|
+
identifyNum?: string;
|
|
67
|
+
/**
|
|
68
|
+
* @remarks
|
|
69
|
+
* Specifies whether to enable liveness detection. Valid values:
|
|
70
|
+
*
|
|
71
|
+
* - **N** (default): Liveness detection is disabled.
|
|
72
|
+
* - **Y**: Liveness detection is enabled.
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* Y
|
|
76
|
+
*/
|
|
77
|
+
livenessCheck?: string;
|
|
78
|
+
/**
|
|
79
|
+
* @remarks
|
|
80
|
+
* The encryption method. Valid values:
|
|
81
|
+
*
|
|
82
|
+
* - **normal**: Plaintext without encryption.
|
|
83
|
+
*
|
|
84
|
+
* - **sm2**: SM2 encryption.
|
|
85
|
+
*
|
|
86
|
+
* @example
|
|
87
|
+
* normal
|
|
88
|
+
*/
|
|
89
|
+
paramType?: string;
|
|
90
|
+
/**
|
|
91
|
+
* @remarks
|
|
92
|
+
* The name.
|
|
93
|
+
*
|
|
94
|
+
* - If **paramType** is set to normal: Enter the name in plaintext.
|
|
95
|
+
*
|
|
96
|
+
* - If **paramType** is set to sm2: Enter the encrypted name.
|
|
97
|
+
*
|
|
98
|
+
* @example
|
|
99
|
+
* Plaintext: Zhang San
|
|
100
|
+
*
|
|
101
|
+
* Ciphertext: MG8CIQCxI0wNYbc0c2BRL+7+tSethTXfQC391ZFnszRRcvRZ9AIgekQYhgDtxaDuoRD4bde/5fnFdlUp4YoxlEnIFLLm2mQEILkctuy6Rw6lfAUxBtkpPoPVCJAeD5al/RX8JFUvTACEBAYAgLJjBe0=
|
|
102
|
+
*/
|
|
103
|
+
userName?: string;
|
|
104
|
+
static names(): {
|
|
105
|
+
[key: string]: string;
|
|
106
|
+
};
|
|
107
|
+
static types(): {
|
|
108
|
+
[key: string]: any;
|
|
109
|
+
};
|
|
110
|
+
validate(): void;
|
|
111
|
+
constructor(map?: {
|
|
112
|
+
[key: string]: any;
|
|
113
|
+
});
|
|
114
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.Id3MetaVerifyPRORequest = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class Id3MetaVerifyPRORequest extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
crop: 'Crop',
|
|
43
|
+
enableFallback: 'EnableFallback',
|
|
44
|
+
faceFile: 'FaceFile',
|
|
45
|
+
facePicture: 'FacePicture',
|
|
46
|
+
faceUrl: 'FaceUrl',
|
|
47
|
+
identifyNum: 'IdentifyNum',
|
|
48
|
+
livenessCheck: 'LivenessCheck',
|
|
49
|
+
paramType: 'ParamType',
|
|
50
|
+
userName: 'UserName',
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
static types() {
|
|
54
|
+
return {
|
|
55
|
+
crop: 'string',
|
|
56
|
+
enableFallback: 'string',
|
|
57
|
+
faceFile: 'string',
|
|
58
|
+
facePicture: 'string',
|
|
59
|
+
faceUrl: 'string',
|
|
60
|
+
identifyNum: 'string',
|
|
61
|
+
livenessCheck: 'string',
|
|
62
|
+
paramType: 'string',
|
|
63
|
+
userName: 'string',
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
validate() {
|
|
67
|
+
super.validate();
|
|
68
|
+
}
|
|
69
|
+
constructor(map) {
|
|
70
|
+
super(map);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
exports.Id3MetaVerifyPRORequest = Id3MetaVerifyPRORequest;
|
|
74
|
+
//# sourceMappingURL=Id3metaVerifyProrequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Id3metaVerifyProrequest.js","sourceRoot":"","sources":["../../src/models/Id3metaVerifyProrequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,uBAAwB,SAAQ,KAAK,CAAC,KAAK;IAsGtD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,cAAc,EAAE,gBAAgB;YAChC,QAAQ,EAAE,UAAU;YACpB,WAAW,EAAE,aAAa;YAC1B,OAAO,EAAE,SAAS;YAClB,WAAW,EAAE,aAAa;YAC1B,aAAa,EAAE,eAAe;YAC9B,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,cAAc,EAAE,QAAQ;YACxB,QAAQ,EAAE,QAAQ;YAClB,WAAW,EAAE,QAAQ;YACrB,OAAO,EAAE,QAAQ;YACjB,WAAW,EAAE,QAAQ;YACrB,aAAa,EAAE,QAAQ;YACvB,SAAS,EAAE,QAAQ;YACnB,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAzID,0DAyIC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
import { Id3MetaVerifyPROResponseBody } from "./Id3metaVerifyProresponseBody";
|
|
3
|
+
export declare class Id3MetaVerifyPROResponse extends $dara.Model {
|
|
4
|
+
headers?: {
|
|
5
|
+
[key: string]: string;
|
|
6
|
+
};
|
|
7
|
+
statusCode?: number;
|
|
8
|
+
body?: Id3MetaVerifyPROResponseBody;
|
|
9
|
+
static names(): {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
};
|
|
12
|
+
static types(): {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
};
|
|
15
|
+
validate(): void;
|
|
16
|
+
constructor(map?: {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
});
|
|
19
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.Id3MetaVerifyPROResponse = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
const Id3metaVerifyProresponseBody_1 = require("./Id3metaVerifyProresponseBody");
|
|
40
|
+
class Id3MetaVerifyPROResponse extends $dara.Model {
|
|
41
|
+
static names() {
|
|
42
|
+
return {
|
|
43
|
+
headers: 'headers',
|
|
44
|
+
statusCode: 'statusCode',
|
|
45
|
+
body: 'body',
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
static types() {
|
|
49
|
+
return {
|
|
50
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
51
|
+
statusCode: 'number',
|
|
52
|
+
body: Id3metaVerifyProresponseBody_1.Id3MetaVerifyPROResponseBody,
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
validate() {
|
|
56
|
+
if (this.headers) {
|
|
57
|
+
$dara.Model.validateMap(this.headers);
|
|
58
|
+
}
|
|
59
|
+
if (this.body && typeof this.body.validate === 'function') {
|
|
60
|
+
this.body.validate();
|
|
61
|
+
}
|
|
62
|
+
super.validate();
|
|
63
|
+
}
|
|
64
|
+
constructor(map) {
|
|
65
|
+
super(map);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
exports.Id3MetaVerifyPROResponse = Id3MetaVerifyPROResponse;
|
|
69
|
+
//# sourceMappingURL=Id3metaVerifyProresponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Id3metaVerifyProresponse.js","sourceRoot":"","sources":["../../src/models/Id3metaVerifyProresponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,iFAA8E;AAG9E,MAAa,wBAAyB,SAAQ,KAAK,CAAC,KAAK;IAIvD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,2DAA4B;SACnC,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,4DAiCC"}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class Id3MetaVerifyPROResponseBodyResultObject extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The authoritative source verification result. Valid values:
|
|
6
|
+
*
|
|
7
|
+
* - **1**: Verification is consistent (billable).
|
|
8
|
+
* - **2**: Verification is inconsistent (billable).
|
|
9
|
+
* - **3**: No record found (not billable).
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* 1
|
|
13
|
+
*/
|
|
14
|
+
bizCode?: string;
|
|
15
|
+
/**
|
|
16
|
+
* @remarks
|
|
17
|
+
* - **verifyScore**: The face comparison score. Value range: 0 to 1000. A higher score indicates a higher probability of the same face. A score >= 700.0 confirms the same person.
|
|
18
|
+
*
|
|
19
|
+
* - **faceAttack**: Returned when liveness detection is enabled (does not participate in the verification result decision).
|
|
20
|
+
*
|
|
21
|
+
* - **invokeChannel**: The identifier of the actual invocation channel. 1: authoritative source. 0: comprehensive source.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* {
|
|
25
|
+
* "verifyScore": 810.28,
|
|
26
|
+
* "faceAttack":"N",
|
|
27
|
+
* "invokeChannel": 1
|
|
28
|
+
* }
|
|
29
|
+
*/
|
|
30
|
+
faceDetail?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @remarks
|
|
33
|
+
* Indicates whether the whitelist is hit: **Y**.
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* Y
|
|
37
|
+
*/
|
|
38
|
+
hitWhitelist?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @remarks
|
|
41
|
+
* The authoritative source verification details. Valid values:
|
|
42
|
+
*
|
|
43
|
+
* - **101**: Authentication passed.
|
|
44
|
+
*
|
|
45
|
+
* - **201**: Authentication failed. The name does not match the ID card number.
|
|
46
|
+
*
|
|
47
|
+
* - **202**: Authentication failed. Suspected to be the person.
|
|
48
|
+
*
|
|
49
|
+
* - **203**: Authentication failed. No photo in the database.
|
|
50
|
+
*
|
|
51
|
+
* - **204**: Authentication failed. Not the same person.
|
|
52
|
+
*
|
|
53
|
+
* - **205**: Authentication failed. Modeling of the image to be compared failed.
|
|
54
|
+
*
|
|
55
|
+
* - **206**: Authentication failed. The image format is incorrect.
|
|
56
|
+
*
|
|
57
|
+
* - **207**: Authentication failed. The uploaded image is too small. Upload the image again.
|
|
58
|
+
*
|
|
59
|
+
* - **208**: Authentication failed. The quality of the uploaded portrait photo is poor. Upload the photo again.
|
|
60
|
+
*
|
|
61
|
+
* - **301**: No record found. The ID number does not exist in the database.
|
|
62
|
+
*
|
|
63
|
+
* - **302**: No record found. Verification is not possible.
|
|
64
|
+
*
|
|
65
|
+
* @example
|
|
66
|
+
* 101
|
|
67
|
+
*/
|
|
68
|
+
subCode?: string;
|
|
69
|
+
static names(): {
|
|
70
|
+
[key: string]: string;
|
|
71
|
+
};
|
|
72
|
+
static types(): {
|
|
73
|
+
[key: string]: any;
|
|
74
|
+
};
|
|
75
|
+
validate(): void;
|
|
76
|
+
constructor(map?: {
|
|
77
|
+
[key: string]: any;
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
export declare class Id3MetaVerifyPROResponseBody extends $dara.Model {
|
|
81
|
+
/**
|
|
82
|
+
* @remarks
|
|
83
|
+
* The response code. **200** indicates that the API call is successful.
|
|
84
|
+
*
|
|
85
|
+
* @example
|
|
86
|
+
* 200
|
|
87
|
+
*/
|
|
88
|
+
code?: string;
|
|
89
|
+
/**
|
|
90
|
+
* @remarks
|
|
91
|
+
* The response message of the API call.
|
|
92
|
+
* >Notice: This parameter only indicates whether the API call is abnormal.
|
|
93
|
+
*
|
|
94
|
+
* @example
|
|
95
|
+
* success
|
|
96
|
+
*/
|
|
97
|
+
message?: string;
|
|
98
|
+
/**
|
|
99
|
+
* @remarks
|
|
100
|
+
* The request ID.
|
|
101
|
+
*
|
|
102
|
+
* @example
|
|
103
|
+
* 2FA2C773-47DB-4156-B1EE-5B047321A939
|
|
104
|
+
*/
|
|
105
|
+
requestId?: string;
|
|
106
|
+
/**
|
|
107
|
+
* @remarks
|
|
108
|
+
* The returned result.
|
|
109
|
+
*/
|
|
110
|
+
resultObject?: Id3MetaVerifyPROResponseBodyResultObject;
|
|
111
|
+
static names(): {
|
|
112
|
+
[key: string]: string;
|
|
113
|
+
};
|
|
114
|
+
static types(): {
|
|
115
|
+
[key: string]: any;
|
|
116
|
+
};
|
|
117
|
+
validate(): void;
|
|
118
|
+
constructor(map?: {
|
|
119
|
+
[key: string]: any;
|
|
120
|
+
});
|
|
121
|
+
}
|