@alicloud/cloudauth20190307 3.11.0 → 3.12.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.
Files changed (48) hide show
  1. package/dist/client.d.ts +30 -0
  2. package/dist/client.js +120 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateAntCloudAuthSceneRequest.d.ts +2 -0
  5. package/dist/models/CreateAntCloudAuthSceneRequest.js +4 -0
  6. package/dist/models/CreateAntCloudAuthSceneRequest.js.map +1 -1
  7. package/dist/models/DescribeAuthVerifyRequest.d.ts +29 -0
  8. package/dist/models/DescribeAuthVerifyRequest.js +60 -0
  9. package/dist/models/DescribeAuthVerifyRequest.js.map +1 -0
  10. package/dist/models/DescribeAuthVerifyResponse.d.ts +19 -0
  11. package/dist/models/DescribeAuthVerifyResponse.js +69 -0
  12. package/dist/models/DescribeAuthVerifyResponse.js.map +1 -0
  13. package/dist/models/DescribeAuthVerifyResponseBody.d.ts +59 -0
  14. package/dist/models/DescribeAuthVerifyResponseBody.js +92 -0
  15. package/dist/models/DescribeAuthVerifyResponseBody.js.map +1 -0
  16. package/dist/models/DescribeListAntCloudAuthScenesResponseBody.d.ts +2 -0
  17. package/dist/models/DescribeListAntCloudAuthScenesResponseBody.js +4 -0
  18. package/dist/models/DescribeListAntCloudAuthScenesResponseBody.js.map +1 -1
  19. package/dist/models/InitAuthVerifyRequest.d.ts +90 -0
  20. package/dist/models/InitAuthVerifyRequest.js +76 -0
  21. package/dist/models/InitAuthVerifyRequest.js.map +1 -0
  22. package/dist/models/InitAuthVerifyResponse.d.ts +19 -0
  23. package/dist/models/InitAuthVerifyResponse.js +69 -0
  24. package/dist/models/InitAuthVerifyResponse.js.map +1 -0
  25. package/dist/models/InitAuthVerifyResponseBody.d.ts +46 -0
  26. package/dist/models/InitAuthVerifyResponseBody.js +86 -0
  27. package/dist/models/InitAuthVerifyResponseBody.js.map +1 -0
  28. package/dist/models/InitFaceVerifyRequest.d.ts +10 -0
  29. package/dist/models/InitFaceVerifyRequest.js.map +1 -1
  30. package/dist/models/UpdateAntCloudAuthSceneRequest.d.ts +2 -0
  31. package/dist/models/UpdateAntCloudAuthSceneRequest.js +4 -0
  32. package/dist/models/UpdateAntCloudAuthSceneRequest.js.map +1 -1
  33. package/dist/models/model.d.ts +8 -0
  34. package/dist/models/model.js +25 -9
  35. package/dist/models/model.js.map +1 -1
  36. package/package.json +1 -1
  37. package/src/client.ts +140 -0
  38. package/src/models/CreateAntCloudAuthSceneRequest.ts +6 -0
  39. package/src/models/DescribeAuthVerifyRequest.ts +44 -0
  40. package/src/models/DescribeAuthVerifyResponse.ts +40 -0
  41. package/src/models/DescribeAuthVerifyResponseBody.ts +97 -0
  42. package/src/models/DescribeListAntCloudAuthScenesResponseBody.ts +6 -0
  43. package/src/models/InitAuthVerifyRequest.ts +121 -0
  44. package/src/models/InitAuthVerifyResponse.ts +40 -0
  45. package/src/models/InitAuthVerifyResponseBody.ts +78 -0
  46. package/src/models/InitFaceVerifyRequest.ts +10 -0
  47. package/src/models/UpdateAntCloudAuthSceneRequest.ts +6 -0
  48. package/src/models/model.ts +8 -0
package/src/client.ts CHANGED
@@ -731,6 +731,14 @@ export default class Client extends OpenApi {
731
731
  query["Platform"] = request.platform;
732
732
  }
733
733
 
734
+ if (!$dara.isNull(request.returnPicCount)) {
735
+ query["ReturnPicCount"] = request.returnPicCount;
736
+ }
737
+
738
+ if (!$dara.isNull(request.returnVideoLength)) {
739
+ query["ReturnVideoLength"] = request.returnVideoLength;
740
+ }
741
+
734
742
  if (!$dara.isNull(request.sceneName)) {
735
743
  query["SceneName"] = request.sceneName;
736
744
  }
@@ -2161,6 +2169,52 @@ export default class Client extends OpenApi {
2161
2169
  return await this.describeAntAndCloudAuthUserStatusWithOptions(runtime);
2162
2170
  }
2163
2171
 
2172
+ /**
2173
+ * 获取结果
2174
+ *
2175
+ * @param request - DescribeAuthVerifyRequest
2176
+ * @param runtime - runtime options for this request RuntimeOptions
2177
+ * @returns DescribeAuthVerifyResponse
2178
+ */
2179
+ async describeAuthVerifyWithOptions(request: $_model.DescribeAuthVerifyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeAuthVerifyResponse> {
2180
+ request.validate();
2181
+ let body : {[key: string ]: any} = { };
2182
+ if (!$dara.isNull(request.certifyId)) {
2183
+ body["CertifyId"] = request.certifyId;
2184
+ }
2185
+
2186
+ if (!$dara.isNull(request.sceneId)) {
2187
+ body["SceneId"] = request.sceneId;
2188
+ }
2189
+
2190
+ let req = new $OpenApiUtil.OpenApiRequest({
2191
+ body: OpenApiUtil.parseToMap(body),
2192
+ });
2193
+ let params = new $OpenApiUtil.Params({
2194
+ action: "DescribeAuthVerify",
2195
+ version: "2019-03-07",
2196
+ protocol: "HTTPS",
2197
+ pathname: "/",
2198
+ method: "POST",
2199
+ authType: "AK",
2200
+ style: "RPC",
2201
+ reqBodyType: "formData",
2202
+ bodyType: "json",
2203
+ });
2204
+ return $dara.cast<$_model.DescribeAuthVerifyResponse>(await this.callApi(params, req, runtime), new $_model.DescribeAuthVerifyResponse({}));
2205
+ }
2206
+
2207
+ /**
2208
+ * 获取结果
2209
+ *
2210
+ * @param request - DescribeAuthVerifyRequest
2211
+ * @returns DescribeAuthVerifyResponse
2212
+ */
2213
+ async describeAuthVerify(request: $_model.DescribeAuthVerifyRequest): Promise<$_model.DescribeAuthVerifyResponse> {
2214
+ let runtime = new $dara.RuntimeOptions({ });
2215
+ return await this.describeAuthVerifyWithOptions(request, runtime);
2216
+ }
2217
+
2164
2218
  /**
2165
2219
  * Obtain Authentication Results from Image Element Verification
2166
2220
  *
@@ -4901,6 +4955,84 @@ export default class Client extends OpenApi {
4901
4955
  return id3MetaVerifyWithOCRResp;
4902
4956
  }
4903
4957
 
4958
+ /**
4959
+ * 服务端初始化
4960
+ *
4961
+ * @param request - InitAuthVerifyRequest
4962
+ * @param runtime - runtime options for this request RuntimeOptions
4963
+ * @returns InitAuthVerifyResponse
4964
+ */
4965
+ async initAuthVerifyWithOptions(request: $_model.InitAuthVerifyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.InitAuthVerifyResponse> {
4966
+ request.validate();
4967
+ let body : {[key: string ]: any} = { };
4968
+ if (!$dara.isNull(request.callbackToken)) {
4969
+ body["CallbackToken"] = request.callbackToken;
4970
+ }
4971
+
4972
+ if (!$dara.isNull(request.callbackUrl)) {
4973
+ body["CallbackUrl"] = request.callbackUrl;
4974
+ }
4975
+
4976
+ if (!$dara.isNull(request.cardPageNumber)) {
4977
+ body["CardPageNumber"] = request.cardPageNumber;
4978
+ }
4979
+
4980
+ if (!$dara.isNull(request.cardType)) {
4981
+ body["CardType"] = request.cardType;
4982
+ }
4983
+
4984
+ if (!$dara.isNull(request.docScanMode)) {
4985
+ body["DocScanMode"] = request.docScanMode;
4986
+ }
4987
+
4988
+ if (!$dara.isNull(request.idSpoof)) {
4989
+ body["IdSpoof"] = request.idSpoof;
4990
+ }
4991
+
4992
+ if (!$dara.isNull(request.metaInfo)) {
4993
+ body["MetaInfo"] = request.metaInfo;
4994
+ }
4995
+
4996
+ if (!$dara.isNull(request.outerOrderNo)) {
4997
+ body["OuterOrderNo"] = request.outerOrderNo;
4998
+ }
4999
+
5000
+ if (!$dara.isNull(request.productCode)) {
5001
+ body["ProductCode"] = request.productCode;
5002
+ }
5003
+
5004
+ if (!$dara.isNull(request.sceneId)) {
5005
+ body["SceneId"] = request.sceneId;
5006
+ }
5007
+
5008
+ let req = new $OpenApiUtil.OpenApiRequest({
5009
+ body: OpenApiUtil.parseToMap(body),
5010
+ });
5011
+ let params = new $OpenApiUtil.Params({
5012
+ action: "InitAuthVerify",
5013
+ version: "2019-03-07",
5014
+ protocol: "HTTPS",
5015
+ pathname: "/",
5016
+ method: "POST",
5017
+ authType: "AK",
5018
+ style: "RPC",
5019
+ reqBodyType: "formData",
5020
+ bodyType: "json",
5021
+ });
5022
+ return $dara.cast<$_model.InitAuthVerifyResponse>(await this.callApi(params, req, runtime), new $_model.InitAuthVerifyResponse({}));
5023
+ }
5024
+
5025
+ /**
5026
+ * 服务端初始化
5027
+ *
5028
+ * @param request - InitAuthVerifyRequest
5029
+ * @returns InitAuthVerifyResponse
5030
+ */
5031
+ async initAuthVerify(request: $_model.InitAuthVerifyRequest): Promise<$_model.InitAuthVerifyResponse> {
5032
+ let runtime = new $dara.RuntimeOptions({ });
5033
+ return await this.initAuthVerifyWithOptions(request, runtime);
5034
+ }
5035
+
4904
5036
  /**
4905
5037
  * Initiate an authentication request for image verification
4906
5038
  *
@@ -6622,6 +6754,14 @@ export default class Client extends OpenApi {
6622
6754
  query["Platform"] = request.platform;
6623
6755
  }
6624
6756
 
6757
+ if (!$dara.isNull(request.returnPicCount)) {
6758
+ query["ReturnPicCount"] = request.returnPicCount;
6759
+ }
6760
+
6761
+ if (!$dara.isNull(request.returnVideoLength)) {
6762
+ query["ReturnVideoLength"] = request.returnVideoLength;
6763
+ }
6764
+
6625
6765
  if (!$dara.isNull(request.sceneId)) {
6626
6766
  query["SceneId"] = request.sceneId;
6627
6767
  }
@@ -48,6 +48,8 @@ export class CreateAntCloudAuthSceneRequest extends $dara.Model {
48
48
  * WECHAT
49
49
  */
50
50
  platform?: string;
51
+ returnPicCount?: number;
52
+ returnVideoLength?: number;
51
53
  /**
52
54
  * @remarks
53
55
  * Scene name.
@@ -75,6 +77,8 @@ export class CreateAntCloudAuthSceneRequest extends $dara.Model {
75
77
  checkFileName: 'CheckFileName',
76
78
  miniProgramName: 'MiniProgramName',
77
79
  platform: 'Platform',
80
+ returnPicCount: 'ReturnPicCount',
81
+ returnVideoLength: 'ReturnVideoLength',
78
82
  sceneName: 'SceneName',
79
83
  storeImage: 'StoreImage',
80
84
  };
@@ -87,6 +91,8 @@ export class CreateAntCloudAuthSceneRequest extends $dara.Model {
87
91
  checkFileName: 'string',
88
92
  miniProgramName: 'string',
89
93
  platform: 'string',
94
+ returnPicCount: 'number',
95
+ returnVideoLength: 'number',
90
96
  sceneName: 'string',
91
97
  storeImage: 'string',
92
98
  };
@@ -0,0 +1,44 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeAuthVerifyRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * shsf57a4e0d9981c3bd66dc754f3d3cd
12
+ */
13
+ certifyId?: string;
14
+ /**
15
+ * @remarks
16
+ * This parameter is required.
17
+ *
18
+ * @example
19
+ * 100000****
20
+ */
21
+ sceneId?: number;
22
+ static names(): { [key: string]: string } {
23
+ return {
24
+ certifyId: 'CertifyId',
25
+ sceneId: 'SceneId',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ certifyId: 'string',
32
+ sceneId: 'number',
33
+ };
34
+ }
35
+
36
+ validate() {
37
+ super.validate();
38
+ }
39
+
40
+ constructor(map?: { [key: string]: any }) {
41
+ super(map);
42
+ }
43
+ }
44
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeAuthVerifyResponseBody } from "./DescribeAuthVerifyResponseBody";
4
+
5
+
6
+ export class DescribeAuthVerifyResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribeAuthVerifyResponseBody;
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: DescribeAuthVerifyResponseBody,
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,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
+
@@ -72,6 +72,8 @@ export class DescribeListAntCloudAuthScenesResponseBodyScenes extends $dara.Mode
72
72
  * WECHAT
73
73
  */
74
74
  platform?: string;
75
+ returnPicCount?: number;
76
+ returnVideoLength?: number;
75
77
  /**
76
78
  * @remarks
77
79
  * Scenario ID.
@@ -124,6 +126,8 @@ export class DescribeListAntCloudAuthScenesResponseBodyScenes extends $dara.Mode
124
126
  miniProgramName: 'MiniProgramName',
125
127
  modifier: 'Modifier',
126
128
  platform: 'Platform',
129
+ returnPicCount: 'ReturnPicCount',
130
+ returnVideoLength: 'ReturnVideoLength',
127
131
  sceneId: 'SceneId',
128
132
  sceneName: 'SceneName',
129
133
  status: 'Status',
@@ -142,6 +146,8 @@ export class DescribeListAntCloudAuthScenesResponseBodyScenes extends $dara.Mode
142
146
  miniProgramName: 'string',
143
147
  modifier: 'string',
144
148
  platform: 'string',
149
+ returnPicCount: 'number',
150
+ returnVideoLength: 'number',
145
151
  sceneId: 'number',
146
152
  sceneName: 'string',
147
153
  status: 'number',
@@ -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
+
@@ -193,6 +193,16 @@ export class InitFaceVerifyRequest extends $dara.Model {
193
193
  * DeviceRisk
194
194
  */
195
195
  faceGuardOutput?: string;
196
+ /**
197
+ * @remarks
198
+ * H5 Downgrade Confirmation Button Switch:
199
+ *
200
+ * - **Y**: Enabled (On)
201
+ * - **N (default)**: Disabled (Off)
202
+ *
203
+ * @example
204
+ * Y
205
+ */
196
206
  h5DegradeConfirmBtn?: string;
197
207
  /**
198
208
  * @remarks
@@ -49,6 +49,8 @@ export class UpdateAntCloudAuthSceneRequest extends $dara.Model {
49
49
  * IOS
50
50
  */
51
51
  platform?: string;
52
+ returnPicCount?: number;
53
+ returnVideoLength?: number;
52
54
  /**
53
55
  * @remarks
54
56
  * Scenario ID.
@@ -92,6 +94,8 @@ export class UpdateAntCloudAuthSceneRequest extends $dara.Model {
92
94
  checkFileName: 'CheckFileName',
93
95
  miniProgramName: 'MiniProgramName',
94
96
  platform: 'Platform',
97
+ returnPicCount: 'ReturnPicCount',
98
+ returnVideoLength: 'ReturnVideoLength',
95
99
  sceneId: 'SceneId',
96
100
  sceneName: 'SceneName',
97
101
  status: 'Status',
@@ -106,6 +110,8 @@ export class UpdateAntCloudAuthSceneRequest extends $dara.Model {
106
110
  checkFileName: 'string',
107
111
  miniProgramName: 'string',
108
112
  platform: 'string',
113
+ returnPicCount: 'number',
114
+ returnVideoLength: 'number',
109
115
  sceneId: 'number',
110
116
  sceneName: 'string',
111
117
  status: 'number',