@alicloud/cloudauth20190307 3.11.1 → 3.12.1
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 +30 -0
- package/dist/client.js +108 -0
- package/dist/client.js.map +1 -1
- package/dist/models/DescribeAuthVerifyRequest.d.ts +29 -0
- package/dist/models/DescribeAuthVerifyRequest.js +60 -0
- package/dist/models/DescribeAuthVerifyRequest.js.map +1 -0
- package/dist/models/DescribeAuthVerifyResponse.d.ts +19 -0
- package/dist/models/DescribeAuthVerifyResponse.js +69 -0
- package/dist/models/DescribeAuthVerifyResponse.js.map +1 -0
- package/dist/models/DescribeAuthVerifyResponseBody.d.ts +59 -0
- package/dist/models/DescribeAuthVerifyResponseBody.js +92 -0
- package/dist/models/DescribeAuthVerifyResponseBody.js.map +1 -0
- package/dist/models/InitAuthVerifyRequest.d.ts +90 -0
- package/dist/models/InitAuthVerifyRequest.js +76 -0
- package/dist/models/InitAuthVerifyRequest.js.map +1 -0
- package/dist/models/InitAuthVerifyResponse.d.ts +19 -0
- package/dist/models/InitAuthVerifyResponse.js +69 -0
- package/dist/models/InitAuthVerifyResponse.js.map +1 -0
- package/dist/models/InitAuthVerifyResponseBody.d.ts +46 -0
- package/dist/models/InitAuthVerifyResponseBody.js +86 -0
- package/dist/models/InitAuthVerifyResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +8 -0
- package/dist/models/model.js +25 -9
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +124 -0
- package/src/models/DescribeAuthVerifyRequest.ts +44 -0
- package/src/models/DescribeAuthVerifyResponse.ts +40 -0
- package/src/models/DescribeAuthVerifyResponseBody.ts +97 -0
- package/src/models/InitAuthVerifyRequest.ts +121 -0
- package/src/models/InitAuthVerifyResponse.ts +40 -0
- package/src/models/InitAuthVerifyResponseBody.ts +78 -0
- package/src/models/model.ts +8 -0
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeAuthVerifyResponseBodyResult extends $dara.Model {
|
|
6
|
+
materialInfo?: string;
|
|
7
|
+
/**
|
|
8
|
+
* @example
|
|
9
|
+
* spoofRiskResult:Y
|
|
10
|
+
* spoofType:SCREEN_REMARK
|
|
11
|
+
*/
|
|
12
|
+
spoofBackInfo?: string;
|
|
13
|
+
/**
|
|
14
|
+
* @example
|
|
15
|
+
* spoofRiskResult:Y
|
|
16
|
+
* spoofType:SCREEN_REMARK
|
|
17
|
+
*/
|
|
18
|
+
spoofInfo?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @example
|
|
21
|
+
* 200
|
|
22
|
+
*/
|
|
23
|
+
subCode?: string;
|
|
24
|
+
static names(): { [key: string]: string } {
|
|
25
|
+
return {
|
|
26
|
+
materialInfo: 'MaterialInfo',
|
|
27
|
+
spoofBackInfo: 'SpoofBackInfo',
|
|
28
|
+
spoofInfo: 'SpoofInfo',
|
|
29
|
+
subCode: 'SubCode',
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
static types(): { [key: string]: any } {
|
|
34
|
+
return {
|
|
35
|
+
materialInfo: 'string',
|
|
36
|
+
spoofBackInfo: 'string',
|
|
37
|
+
spoofInfo: 'string',
|
|
38
|
+
subCode: 'string',
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
validate() {
|
|
43
|
+
super.validate();
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
constructor(map?: { [key: string]: any }) {
|
|
47
|
+
super(map);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export class DescribeAuthVerifyResponseBody extends $dara.Model {
|
|
52
|
+
/**
|
|
53
|
+
* @example
|
|
54
|
+
* Success
|
|
55
|
+
*/
|
|
56
|
+
code?: string;
|
|
57
|
+
/**
|
|
58
|
+
* @example
|
|
59
|
+
* success
|
|
60
|
+
*/
|
|
61
|
+
message?: string;
|
|
62
|
+
/**
|
|
63
|
+
* @example
|
|
64
|
+
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
65
|
+
*/
|
|
66
|
+
requestId?: string;
|
|
67
|
+
result?: DescribeAuthVerifyResponseBodyResult;
|
|
68
|
+
static names(): { [key: string]: string } {
|
|
69
|
+
return {
|
|
70
|
+
code: 'Code',
|
|
71
|
+
message: 'Message',
|
|
72
|
+
requestId: 'RequestId',
|
|
73
|
+
result: 'Result',
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
static types(): { [key: string]: any } {
|
|
78
|
+
return {
|
|
79
|
+
code: 'string',
|
|
80
|
+
message: 'string',
|
|
81
|
+
requestId: 'string',
|
|
82
|
+
result: DescribeAuthVerifyResponseBodyResult,
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
validate() {
|
|
87
|
+
if(this.result && typeof (this.result as any).validate === 'function') {
|
|
88
|
+
(this.result as any).validate();
|
|
89
|
+
}
|
|
90
|
+
super.validate();
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
constructor(map?: { [key: string]: any }) {
|
|
94
|
+
super(map);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class InitAuthVerifyRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* NMjvQanQgplBSaEI0sL86WnQplB
|
|
9
|
+
*/
|
|
10
|
+
callbackToken?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* https://www.aliyun.com?callbackToken=100000****&certifyId=shaxxxx&subCode=200
|
|
14
|
+
*/
|
|
15
|
+
callbackUrl?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* This parameter is required.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* 1
|
|
22
|
+
*/
|
|
23
|
+
cardPageNumber?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* This parameter is required.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* IDENTITY_CARD
|
|
30
|
+
*/
|
|
31
|
+
cardType?: string;
|
|
32
|
+
/**
|
|
33
|
+
* @example
|
|
34
|
+
* shoot
|
|
35
|
+
*/
|
|
36
|
+
docScanMode?: string;
|
|
37
|
+
/**
|
|
38
|
+
* @example
|
|
39
|
+
* Y
|
|
40
|
+
*/
|
|
41
|
+
idSpoof?: string;
|
|
42
|
+
/**
|
|
43
|
+
* @remarks
|
|
44
|
+
* This parameter is required.
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* {
|
|
48
|
+
* "zimVer": "3.0.0",
|
|
49
|
+
* "appVersion": "1",
|
|
50
|
+
* "bioMetaInfo": "4.1.0:1150****,0",
|
|
51
|
+
* "appName": "com.aliyun.antcloudauth",
|
|
52
|
+
* "deviceType": "ios",
|
|
53
|
+
* "osVersion": "iOS 10.3.2",
|
|
54
|
+
* "apdidToken": "",
|
|
55
|
+
* "deviceModel": "iPhone9,1"
|
|
56
|
+
* }
|
|
57
|
+
*/
|
|
58
|
+
metaInfo?: string;
|
|
59
|
+
/**
|
|
60
|
+
* @remarks
|
|
61
|
+
* This parameter is required.
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* e0c34a77f5ac40a5aa5e6ed20c******
|
|
65
|
+
*/
|
|
66
|
+
outerOrderNo?: string;
|
|
67
|
+
/**
|
|
68
|
+
* @remarks
|
|
69
|
+
* This parameter is required.
|
|
70
|
+
*
|
|
71
|
+
* @example
|
|
72
|
+
* ID_OCR
|
|
73
|
+
*/
|
|
74
|
+
productCode?: string;
|
|
75
|
+
/**
|
|
76
|
+
* @remarks
|
|
77
|
+
* This parameter is required.
|
|
78
|
+
*
|
|
79
|
+
* @example
|
|
80
|
+
* 1000002996
|
|
81
|
+
*/
|
|
82
|
+
sceneId?: number;
|
|
83
|
+
static names(): { [key: string]: string } {
|
|
84
|
+
return {
|
|
85
|
+
callbackToken: 'CallbackToken',
|
|
86
|
+
callbackUrl: 'CallbackUrl',
|
|
87
|
+
cardPageNumber: 'CardPageNumber',
|
|
88
|
+
cardType: 'CardType',
|
|
89
|
+
docScanMode: 'DocScanMode',
|
|
90
|
+
idSpoof: 'IdSpoof',
|
|
91
|
+
metaInfo: 'MetaInfo',
|
|
92
|
+
outerOrderNo: 'OuterOrderNo',
|
|
93
|
+
productCode: 'ProductCode',
|
|
94
|
+
sceneId: 'SceneId',
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
static types(): { [key: string]: any } {
|
|
99
|
+
return {
|
|
100
|
+
callbackToken: 'string',
|
|
101
|
+
callbackUrl: 'string',
|
|
102
|
+
cardPageNumber: 'string',
|
|
103
|
+
cardType: 'string',
|
|
104
|
+
docScanMode: 'string',
|
|
105
|
+
idSpoof: 'string',
|
|
106
|
+
metaInfo: 'string',
|
|
107
|
+
outerOrderNo: 'string',
|
|
108
|
+
productCode: 'string',
|
|
109
|
+
sceneId: 'number',
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
validate() {
|
|
114
|
+
super.validate();
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
constructor(map?: { [key: string]: any }) {
|
|
118
|
+
super(map);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { InitAuthVerifyResponseBody } from "./InitAuthVerifyResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class InitAuthVerifyResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: InitAuthVerifyResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: InitAuthVerifyResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class InitAuthVerifyResponseBodyResult extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* shif9d1a185b8dde7cd07bf0943a448b
|
|
9
|
+
*/
|
|
10
|
+
certifyId?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
certifyId: 'CertifyId',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
certifyId: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export class InitAuthVerifyResponseBody extends $dara.Model {
|
|
33
|
+
/**
|
|
34
|
+
* @example
|
|
35
|
+
* Success
|
|
36
|
+
*/
|
|
37
|
+
code?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @example
|
|
40
|
+
* success
|
|
41
|
+
*/
|
|
42
|
+
message?: string;
|
|
43
|
+
/**
|
|
44
|
+
* @example
|
|
45
|
+
* B506328A-D84B-4750-82C7-6A207C585CF1
|
|
46
|
+
*/
|
|
47
|
+
requestId?: string;
|
|
48
|
+
result?: InitAuthVerifyResponseBodyResult;
|
|
49
|
+
static names(): { [key: string]: string } {
|
|
50
|
+
return {
|
|
51
|
+
code: 'Code',
|
|
52
|
+
message: 'Message',
|
|
53
|
+
requestId: 'RequestId',
|
|
54
|
+
result: 'Result',
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
static types(): { [key: string]: any } {
|
|
59
|
+
return {
|
|
60
|
+
code: 'string',
|
|
61
|
+
message: 'string',
|
|
62
|
+
requestId: 'string',
|
|
63
|
+
result: InitAuthVerifyResponseBodyResult,
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
validate() {
|
|
68
|
+
if(this.result && typeof (this.result as any).validate === 'function') {
|
|
69
|
+
(this.result as any).validate();
|
|
70
|
+
}
|
|
71
|
+
super.validate();
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
constructor(map?: { [key: string]: any }) {
|
|
75
|
+
super(map);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -13,6 +13,7 @@ export { CredentialVerifyV2ResponseBodyResultObjectVlResult } from './Credential
|
|
|
13
13
|
export { CredentialVerifyV2ResponseBodyResultObject } from './CredentialVerifyV2responseBody';
|
|
14
14
|
export { DeepfakeDetectResponseBodyResultObject } from './DeepfakeDetectResponseBody';
|
|
15
15
|
export { DeleteFaceVerifyResultResponseBodyResultObject } from './DeleteFaceVerifyResultResponseBody';
|
|
16
|
+
export { DescribeAuthVerifyResponseBodyResult } from './DescribeAuthVerifyResponseBody';
|
|
16
17
|
export { DescribeCardVerifyResponseBodyResultObject } from './DescribeCardVerifyResponseBody';
|
|
17
18
|
export { DescribeCloudauthstSceneListResponseBodyItems } from './DescribeCloudauthstSceneListResponseBody';
|
|
18
19
|
export { DescribeDeviceInfoResponseBodyDeviceInfoListDeviceInfo } from './DescribeDeviceInfoResponseBody';
|
|
@@ -71,6 +72,7 @@ export { Id2MetaVerifyResponseBodyResultObject } from './Id2metaVerifyResponseBo
|
|
|
71
72
|
export { Id2MetaVerifyWithOCRResponseBodyResultObject } from './Id2metaVerifyWithOcrresponseBody';
|
|
72
73
|
export { Id3MetaVerifyResponseBodyResultObject } from './Id3metaVerifyResponseBody';
|
|
73
74
|
export { Id3MetaVerifyWithOCRResponseBodyResultObject } from './Id3metaVerifyWithOcrresponseBody';
|
|
75
|
+
export { InitAuthVerifyResponseBodyResult } from './InitAuthVerifyResponseBody';
|
|
74
76
|
export { InitCardVerifyResponseBodyResultObject } from './InitCardVerifyResponseBody';
|
|
75
77
|
export { InitFaceVerifyResponseBodyResultObject } from './InitFaceVerifyResponseBody';
|
|
76
78
|
export { LivenessFaceVerifyResponseBodyResultObject } from './LivenessFaceVerifyResponseBody';
|
|
@@ -181,6 +183,9 @@ export { DeleteWhitelistSettingResponseBody } from './DeleteWhitelistSettingResp
|
|
|
181
183
|
export { DeleteWhitelistSettingResponse } from './DeleteWhitelistSettingResponse';
|
|
182
184
|
export { DescribeAntAndCloudAuthUserStatusResponseBody } from './DescribeAntAndCloudAuthUserStatusResponseBody';
|
|
183
185
|
export { DescribeAntAndCloudAuthUserStatusResponse } from './DescribeAntAndCloudAuthUserStatusResponse';
|
|
186
|
+
export { DescribeAuthVerifyRequest } from './DescribeAuthVerifyRequest';
|
|
187
|
+
export { DescribeAuthVerifyResponseBody } from './DescribeAuthVerifyResponseBody';
|
|
188
|
+
export { DescribeAuthVerifyResponse } from './DescribeAuthVerifyResponse';
|
|
184
189
|
export { DescribeCardVerifyRequest } from './DescribeCardVerifyRequest';
|
|
185
190
|
export { DescribeCardVerifyResponseBody } from './DescribeCardVerifyResponseBody';
|
|
186
191
|
export { DescribeCardVerifyResponse } from './DescribeCardVerifyResponse';
|
|
@@ -298,6 +303,9 @@ export { Id3MetaVerifyWithOCRRequest } from './Id3metaVerifyWithOcrrequest';
|
|
|
298
303
|
export { Id3MetaVerifyWithOCRAdvanceRequest } from './Id3metaVerifyWithOcradvanceRequest';
|
|
299
304
|
export { Id3MetaVerifyWithOCRResponseBody } from './Id3metaVerifyWithOcrresponseBody';
|
|
300
305
|
export { Id3MetaVerifyWithOCRResponse } from './Id3metaVerifyWithOcrresponse';
|
|
306
|
+
export { InitAuthVerifyRequest } from './InitAuthVerifyRequest';
|
|
307
|
+
export { InitAuthVerifyResponseBody } from './InitAuthVerifyResponseBody';
|
|
308
|
+
export { InitAuthVerifyResponse } from './InitAuthVerifyResponse';
|
|
301
309
|
export { InitCardVerifyRequest } from './InitCardVerifyRequest';
|
|
302
310
|
export { InitCardVerifyResponseBody } from './InitCardVerifyResponseBody';
|
|
303
311
|
export { InitCardVerifyResponse } from './InitCardVerifyResponse';
|