@alicloud/cloudauth20190307 3.13.0 → 3.13.2

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 (31) hide show
  1. package/dist/client.d.ts +10 -18
  2. package/dist/client.js +36 -27
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/DescribeDeviceInfoResponseBody.d.ts +0 -39
  5. package/dist/models/DescribeDeviceInfoResponseBody.js.map +1 -1
  6. package/dist/models/DescribeListAntCloudAuthScenesResponseBody.d.ts +24 -3
  7. package/dist/models/DescribeListAntCloudAuthScenesResponseBody.js.map +1 -1
  8. package/dist/models/DescribeVerifySearchPageListRequest.d.ts +54 -4
  9. package/dist/models/DescribeVerifySearchPageListRequest.js +10 -0
  10. package/dist/models/DescribeVerifySearchPageListRequest.js.map +1 -1
  11. package/dist/models/DescribeVerifySearchPageListResponseBody.d.ts +68 -18
  12. package/dist/models/DescribeVerifySearchPageListResponseBody.js +10 -0
  13. package/dist/models/DescribeVerifySearchPageListResponseBody.js.map +1 -1
  14. package/dist/models/DetectFaceAttributesResponseBody.d.ts +0 -138
  15. package/dist/models/DetectFaceAttributesResponseBody.js.map +1 -1
  16. package/dist/models/MobileRecycledMetaVerifyResponseBody.d.ts +5 -0
  17. package/dist/models/MobileRecycledMetaVerifyResponseBody.js +2 -0
  18. package/dist/models/MobileRecycledMetaVerifyResponseBody.js.map +1 -1
  19. package/dist/models/UpdateAntCloudAuthSceneRequest.d.ts +44 -19
  20. package/dist/models/UpdateAntCloudAuthSceneRequest.js.map +1 -1
  21. package/dist/models/UpdateAntCloudAuthSceneResponseBody.d.ts +1 -1
  22. package/package.json +1 -1
  23. package/src/client.ts +41 -27
  24. package/src/models/DescribeDeviceInfoResponseBody.ts +0 -39
  25. package/src/models/DescribeListAntCloudAuthScenesResponseBody.ts +24 -3
  26. package/src/models/DescribeVerifySearchPageListRequest.ts +64 -4
  27. package/src/models/DescribeVerifySearchPageListResponseBody.ts +78 -18
  28. package/src/models/DetectFaceAttributesResponseBody.ts +0 -138
  29. package/src/models/MobileRecycledMetaVerifyResponseBody.ts +7 -0
  30. package/src/models/UpdateAntCloudAuthSceneRequest.ts +44 -19
  31. package/src/models/UpdateAntCloudAuthSceneResponseBody.ts +1 -1
@@ -13,17 +13,17 @@ export class DescribeVerifySearchPageListResponseBodyItemsExtInfo extends $dara.
13
13
  certName?: string;
14
14
  /**
15
15
  * @remarks
16
- * Face guard label.
16
+ * Facial bodyguard label.
17
17
  *
18
18
  * @example
19
- * -
19
+ * HOOK,ROOT
20
20
  */
21
21
  deviceRisk?: string;
22
22
  /**
23
23
  * @remarks
24
- * Whether it is a face attack:
25
- * - **T**: Yes
26
- * - **F**: No
24
+ * 是否是人脸攻击:
25
+ * - **T**:是
26
+ * - **F**:否
27
27
  *
28
28
  * @example
29
29
  * T
@@ -31,7 +31,7 @@ export class DescribeVerifySearchPageListResponseBodyItemsExtInfo extends $dara.
31
31
  faceAttack?: string;
32
32
  /**
33
33
  * @remarks
34
- * Face attack score, with a range of 0~1. A value closer to 1 indicates a higher likelihood of an attack.
34
+ * Face attack score, ranging from 0 to 1, with values closer to 1 indicating a higher likelihood of an attack.
35
35
  *
36
36
  * @example
37
37
  * 0.0000445161
@@ -39,7 +39,7 @@ export class DescribeVerifySearchPageListResponseBodyItemsExtInfo extends $dara.
39
39
  faceAttackScore?: number;
40
40
  /**
41
41
  * @remarks
42
- * Whether the face is occluded, T if yes, F otherwise.
42
+ * Whether the face is occluded. T if occluded, otherwise F.
43
43
  *
44
44
  * @example
45
45
  * T
@@ -55,7 +55,7 @@ export class DescribeVerifySearchPageListResponseBodyItemsExtInfo extends $dara.
55
55
  idCardVerifyScore?: number;
56
56
  /**
57
57
  * @remarks
58
- * The OSS bucket for the photo.
58
+ * Photo OSS bucket.
59
59
  *
60
60
  * @example
61
61
  * cn-shanghai-aliyun-cloudauth-XXX
@@ -79,7 +79,7 @@ export class DescribeVerifySearchPageListResponseBodyItemsExtInfo extends $dara.
79
79
  ossIdNationalEmblemObjectName?: string;
80
80
  /**
81
81
  * @remarks
82
- * The name of the stored object.
82
+ * Storage object name.
83
83
  *
84
84
  * @example
85
85
  * verify/XXXXX1251634779/sha6a0a0cab01288c7aa8ac3f45220eb_0_normal.jpeg
@@ -103,12 +103,12 @@ export class DescribeVerifySearchPageListResponseBodyItemsExtInfo extends $dara.
103
103
  verifyScore?: number;
104
104
  /**
105
105
  * @remarks
106
- * List of ASR texts.
106
+ * ASR text list.
107
107
  */
108
108
  asrTexts?: string[];
109
109
  /**
110
110
  * @remarks
111
- * List of OSS file names for screen recording files.
111
+ * Screen recording file OSS name list.
112
112
  *
113
113
  * @example
114
114
  * -
@@ -116,7 +116,7 @@ export class DescribeVerifySearchPageListResponseBodyItemsExtInfo extends $dara.
116
116
  screenVideoObjectNames?: string[];
117
117
  /**
118
118
  * @remarks
119
- * List of OSS file names for audio files.
119
+ * Audio file OSS name list.
120
120
  *
121
121
  * @example
122
122
  * -
@@ -183,7 +183,7 @@ export class DescribeVerifySearchPageListResponseBodyItemsExtInfo extends $dara.
183
183
  export class DescribeVerifySearchPageListResponseBodyItems extends $dara.Model {
184
184
  /**
185
185
  * @remarks
186
- * Desensitized ID number.
186
+ * Desensitized ID card number.
187
187
  *
188
188
  * @example
189
189
  * 3****************2
@@ -191,7 +191,7 @@ export class DescribeVerifySearchPageListResponseBodyItems extends $dara.Model {
191
191
  certNo?: string;
192
192
  /**
193
193
  * @remarks
194
- * Certification ID.
194
+ * Authentication ID.
195
195
  *
196
196
  * @example
197
197
  * shad861465f2aaeeb805b519e1a93ab2
@@ -204,7 +204,7 @@ export class DescribeVerifySearchPageListResponseBodyItems extends $dara.Model {
204
204
  extInfo?: DescribeVerifySearchPageListResponseBodyItemsExtInfo;
205
205
  /**
206
206
  * @remarks
207
- * Verification time of this authentication.
207
+ * Verification time for this authentication.
208
208
  *
209
209
  * @example
210
210
  * 2025-10-14 15:40:13
@@ -228,7 +228,7 @@ export class DescribeVerifySearchPageListResponseBodyItems extends $dara.Model {
228
228
  outerOrderNo?: string;
229
229
  /**
230
230
  * @remarks
231
- * Whether the certification passed. Values:
231
+ * Whether the authentication passed. Values:
232
232
  * - **T**: Passed.
233
233
  * - **F**: Not passed.
234
234
  *
@@ -244,6 +244,56 @@ export class DescribeVerifySearchPageListResponseBodyItems extends $dara.Model {
244
244
  * ID_PRO
245
245
  */
246
246
  productCode?: string;
247
+ /**
248
+ * @remarks
249
+ * Business scenario risk:
250
+ * - **0**: No risk
251
+ * - **1**: Risk present
252
+ *
253
+ * @example
254
+ * 1
255
+ */
256
+ riskBizScenario?: number;
257
+ /**
258
+ * @remarks
259
+ * Device risk:
260
+ * - **0**: No risk
261
+ * - **1**: Risk present
262
+ *
263
+ * @example
264
+ * 1
265
+ */
266
+ riskDevice?: number;
267
+ /**
268
+ * @remarks
269
+ * DeviceToken risk:
270
+ * - **0**: No risk
271
+ * - **1**: Risk present
272
+ *
273
+ * @example
274
+ * 0
275
+ */
276
+ riskDeviceToken?: number;
277
+ /**
278
+ * @remarks
279
+ * General risk:
280
+ * - **0**: No risk
281
+ * - **1**: Risk present
282
+ *
283
+ * @example
284
+ * 1
285
+ */
286
+ riskGeneric?: number;
287
+ /**
288
+ * @remarks
289
+ * Large model mining risk:
290
+ * - **0**: No risk
291
+ * - **1**: Risk present
292
+ *
293
+ * @example
294
+ * 1
295
+ */
296
+ riskModelMining?: number;
247
297
  /**
248
298
  * @remarks
249
299
  * Whether it is root (pass 1 if selected, otherwise do not pass; corresponds to identity label risk type).
@@ -286,7 +336,7 @@ export class DescribeVerifySearchPageListResponseBodyItems extends $dara.Model {
286
336
  userId?: string;
287
337
  /**
288
338
  * @remarks
289
- * Whether it is a virtual adaptation (pass 1 if selected, otherwise do not pass; corresponds to behavior label risk type).
339
+ * Whether it is virtual adaptation (pass 1 if selected, otherwise do not pass; corresponds to behavior label risk type).
290
340
  *
291
341
  * @example
292
342
  * 1
@@ -302,6 +352,11 @@ export class DescribeVerifySearchPageListResponseBodyItems extends $dara.Model {
302
352
  outerOrderNo: 'OuterOrderNo',
303
353
  passed: 'Passed',
304
354
  productCode: 'ProductCode',
355
+ riskBizScenario: 'RiskBizScenario',
356
+ riskDevice: 'RiskDevice',
357
+ riskDeviceToken: 'RiskDeviceToken',
358
+ riskGeneric: 'RiskGeneric',
359
+ riskModelMining: 'RiskModelMining',
305
360
  root: 'Root',
306
361
  sceneId: 'SceneId',
307
362
  simulator: 'Simulator',
@@ -321,6 +376,11 @@ export class DescribeVerifySearchPageListResponseBodyItems extends $dara.Model {
321
376
  outerOrderNo: 'string',
322
377
  passed: 'string',
323
378
  productCode: 'string',
379
+ riskBizScenario: 'number',
380
+ riskDevice: 'number',
381
+ riskDeviceToken: 'number',
382
+ riskGeneric: 'number',
383
+ riskModelMining: 'number',
324
384
  root: 'number',
325
385
  sceneId: 'number',
326
386
  simulator: 'number',
@@ -366,7 +426,7 @@ export class DescribeVerifySearchPageListResponseBody extends $dara.Model {
366
426
  pageSize?: number;
367
427
  /**
368
428
  * @remarks
369
- * ID of this request.
429
+ * ID of the current request.
370
430
  *
371
431
  * @example
372
432
  * 47D87BC1-D956-573A-8A15-A9007A76F56C
@@ -3,29 +3,8 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DetectFaceAttributesResponseBodyDataFaceInfosFaceAttributesDetectInfoFaceAttributesHeadpose extends $dara.Model {
6
- /**
7
- * @remarks
8
- * Pitch angle, in degrees.
9
- *
10
- * @example
11
- * -1.5683923959732056
12
- */
13
6
  pitchAngle?: number;
14
- /**
15
- * @remarks
16
- * Roll angle, in degrees.
17
- *
18
- * @example
19
- * 7.163370132446289
20
- */
21
7
  rollAngle?: number;
22
- /**
23
- * @remarks
24
- * Yaw angle, in degrees.
25
- *
26
- * @example
27
- * -6.925303936004639
28
- */
29
8
  yawAngle?: number;
30
9
  static names(): { [key: string]: string } {
31
10
  return {
@@ -53,21 +32,7 @@ export class DetectFaceAttributesResponseBodyDataFaceInfosFaceAttributesDetectIn
53
32
  }
54
33
 
55
34
  export class DetectFaceAttributesResponseBodyDataFaceInfosFaceAttributesDetectInfoFaceAttributesSmiling extends $dara.Model {
56
- /**
57
- * @remarks
58
- * Smile threshold.
59
- *
60
- * @example
61
- * 95
62
- */
63
35
  threshold?: number;
64
- /**
65
- * @remarks
66
- * Smile score.
67
- *
68
- * @example
69
- * 97
70
- */
71
36
  value?: number;
72
37
  static names(): { [key: string]: string } {
73
38
  return {
@@ -93,76 +58,13 @@ export class DetectFaceAttributesResponseBodyDataFaceInfosFaceAttributesDetectIn
93
58
  }
94
59
 
95
60
  export class DetectFaceAttributesResponseBodyDataFaceInfosFaceAttributesDetectInfoFaceAttributes extends $dara.Model {
96
- /**
97
- * @remarks
98
- * Face blur level, with higher values indicating more blurriness. Typically, a value ≥2.0 is considered quite blurry. It is recommended to adjust based on actual business data testing.
99
- *
100
- * @example
101
- * 0.1419367790222168
102
- */
103
61
  blur?: number;
104
- /**
105
- * @remarks
106
- * A score ranging from 0 to 100. The higher the score, the better the quality. It is recommended to consider a score of 50 or above as acceptable quality.
107
- *
108
- * @example
109
- * 60
110
- */
111
62
  facequal?: number;
112
- /**
113
- * @remarks
114
- * Whether it is a human face. Values:
115
- *
116
- * - **None**: Not a human face
117
- * - **Face**: Human face
118
- * - **Profile**: Profile (head turned left or right by more than 30°)
119
- *
120
- * > If no face is detected, the `faceInfos` in the response will be empty; here, `None` means that a face was detected but is considered to be a cartoon, pet, etc.
121
- *
122
- * @example
123
- * Face
124
- */
125
63
  facetype?: string;
126
- /**
127
- * @remarks
128
- * Whether wearing glasses. Values:
129
- *
130
- * - **None**: Not wearing glasses
131
- * - **Wear**: Wearing regular glasses
132
- * - **Sunglass**: Wearing sunglasses
133
- *
134
- * @example
135
- * None
136
- */
137
64
  glasses?: string;
138
- /**
139
- * @remarks
140
- * Face pose.
141
- */
142
65
  headpose?: DetectFaceAttributesResponseBodyDataFaceInfosFaceAttributesDetectInfoFaceAttributesHeadpose;
143
- /**
144
- * @remarks
145
- * A score ranging from 0 to 100. The higher the score, the more complete the face. It is recommended to consider a score of 70 or above as acceptable completeness.
146
- *
147
- * @example
148
- * 70
149
- */
150
66
  integrity?: number;
151
- /**
152
- * @remarks
153
- * Whether wearing a mask. Values:
154
- *
155
- * - Wear: Wearing a mask.
156
- * - None: Not wearing a mask.
157
- *
158
- * @example
159
- * Wear
160
- */
161
67
  respirator?: string;
162
- /**
163
- * @remarks
164
- * Whether smiling.
165
- */
166
68
  smiling?: DetectFaceAttributesResponseBodyDataFaceInfosFaceAttributesDetectInfoFaceAttributesSmiling;
167
69
  static names(): { [key: string]: string } {
168
70
  return {
@@ -206,37 +108,9 @@ export class DetectFaceAttributesResponseBodyDataFaceInfosFaceAttributesDetectIn
206
108
  }
207
109
 
208
110
  export class DetectFaceAttributesResponseBodyDataFaceInfosFaceAttributesDetectInfoFaceRect extends $dara.Model {
209
- /**
210
- * @remarks
211
- * Height of the face rectangle.
212
- *
213
- * @example
214
- * 473
215
- */
216
111
  height?: number;
217
- /**
218
- * @remarks
219
- * Distance from the top-left corner of the face rectangle to the left edge of the original image, in pixels.
220
- *
221
- * @example
222
- * 354
223
- */
224
112
  left?: number;
225
- /**
226
- * @remarks
227
- * Distance from the top-left corner of the face rectangle to the top edge of the original image, in pixels.
228
- *
229
- * @example
230
- * 453
231
- */
232
113
  top?: number;
233
- /**
234
- * @remarks
235
- * Width of the face rectangle.
236
- *
237
- * @example
238
- * 473
239
- */
240
114
  width?: number;
241
115
  static names(): { [key: string]: string } {
242
116
  return {
@@ -266,15 +140,7 @@ export class DetectFaceAttributesResponseBodyDataFaceInfosFaceAttributesDetectIn
266
140
  }
267
141
 
268
142
  export class DetectFaceAttributesResponseBodyDataFaceInfosFaceAttributesDetectInfo extends $dara.Model {
269
- /**
270
- * @remarks
271
- * Face attributes.
272
- */
273
143
  faceAttributes?: DetectFaceAttributesResponseBodyDataFaceInfosFaceAttributesDetectInfoFaceAttributes;
274
- /**
275
- * @remarks
276
- * Position of the face in the original image.
277
- */
278
144
  faceRect?: DetectFaceAttributesResponseBodyDataFaceInfosFaceAttributesDetectInfoFaceRect;
279
145
  static names(): { [key: string]: string } {
280
146
  return {
@@ -332,10 +198,6 @@ export class DetectFaceAttributesResponseBodyDataFaceInfos extends $dara.Model {
332
198
  }
333
199
 
334
200
  export class DetectFaceAttributesResponseBodyData extends $dara.Model {
335
- /**
336
- * @remarks
337
- * Face detection results.
338
- */
339
201
  faceInfos?: DetectFaceAttributesResponseBodyDataFaceInfos;
340
202
  /**
341
203
  * @remarks
@@ -8,6 +8,11 @@ export class MobileRecycledMetaVerifyResponseBodyResultObject extends $dara.Mode
8
8
  * 1
9
9
  */
10
10
  bizCode?: string;
11
+ /**
12
+ * @example
13
+ * CMCC
14
+ */
15
+ ispName?: string;
11
16
  /**
12
17
  * @example
13
18
  * 101
@@ -16,6 +21,7 @@ export class MobileRecycledMetaVerifyResponseBodyResultObject extends $dara.Mode
16
21
  static names(): { [key: string]: string } {
17
22
  return {
18
23
  bizCode: 'BizCode',
24
+ ispName: 'IspName',
19
25
  subCode: 'SubCode',
20
26
  };
21
27
  }
@@ -23,6 +29,7 @@ export class MobileRecycledMetaVerifyResponseBodyResultObject extends $dara.Mode
23
29
  static types(): { [key: string]: any } {
24
30
  return {
25
31
  bizCode: 'string',
32
+ ispName: 'string',
26
33
  subCode: 'string',
27
34
  };
28
35
  }
@@ -5,10 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UpdateAntCloudAuthSceneRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * Whether to enable binding to a mini program:
9
- * - **Y**: Enable
10
- * - **N (default)**: Do not enable
11
- * >Notice: If enabling the binding of a mini program, please ensure all parameters for the mini program are passed.
8
+ * Update Ant Blockchain Transaction Scenario
12
9
  *
13
10
  * @example
14
11
  * Y
@@ -16,7 +13,10 @@ export class UpdateAntCloudAuthSceneRequest extends $dara.Model {
16
13
  bindMiniProgram?: string;
17
14
  /**
18
15
  * @remarks
19
- * Content of the uploaded verification file.
16
+ * Whether to enable binding with a mini program:
17
+ * - **Y**: Enable
18
+ * - **N (default)**: Disable
19
+ * >Notice: If you enable binding with a mini program, please ensure that all parameters for the mini program are passed.
20
20
  *
21
21
  * @example
22
22
  * 774c4aab45981ff4a86cde9255a11xxx
@@ -24,37 +24,60 @@ export class UpdateAntCloudAuthSceneRequest extends $dara.Model {
24
24
  checkFileBody?: string;
25
25
  /**
26
26
  * @remarks
27
- * Name of the uploaded verification file.
27
+ * Scenario name.
28
28
  *
29
29
  * @example
30
- * 测试.txt
30
+ * Whether to enable storing the authentication files generated during the authentication process to the user\\"s OSS:
31
+ * - **Y**: Enable
32
+ * - **N (default)**: Disable
31
33
  */
32
34
  checkFileName?: string;
35
+ /**
36
+ * @remarks
37
+ * Name of the uploaded verification file.
38
+ *
39
+ * @example
40
+ * Y
41
+ */
33
42
  deviceRiskPlus?: string;
34
43
  /**
35
44
  * @remarks
36
- * Mini program name.
45
+ * System-defined parameter. Value: **UpdateAntCloudAuthScene**.
37
46
  *
38
47
  * @example
39
- * 测试APP
48
+ * Scenario ID.
40
49
  */
41
50
  miniProgramName?: string;
42
51
  /**
43
52
  * @remarks
44
- * Binding mini program platform:
45
- * - **WECHAT**: WeChat
46
- * - **ALIPAY**: Alipay
47
- * - **TIKTOK**: TikTok
53
+ * Currently meaningless, can be omitted.
48
54
  *
49
55
  * @example
50
56
  * IOS
51
57
  */
52
58
  platform?: string;
59
+ /**
60
+ * @remarks
61
+ * Mini program name.
62
+ *
63
+ * @example
64
+ * 1
65
+ */
53
66
  returnPicCount?: number;
67
+ /**
68
+ * @remarks
69
+ * Platform for binding the mini program:
70
+ * - **WECHAT**: WeChat
71
+ * - **ALIPAY**: Alipay
72
+ * - **TIKTOK**: TikTok
73
+ *
74
+ * @example
75
+ * 2
76
+ */
54
77
  returnVideoLength?: number;
55
78
  /**
56
79
  * @remarks
57
- * Scenario ID.
80
+ * Update Financial-Level Authentication Scenario
58
81
  *
59
82
  * This parameter is required.
60
83
  *
@@ -64,7 +87,9 @@ export class UpdateAntCloudAuthSceneRequest extends $dara.Model {
64
87
  sceneId?: number;
65
88
  /**
66
89
  * @remarks
67
- * Scenario name.
90
+ * Update the information of a financial-level authentication scenario based on the scenario ID.
91
+ * - Service address: cloudauth.aliyuncs.com.
92
+ * - Request method: HTTPS POST.
68
93
  *
69
94
  * @example
70
95
  * test
@@ -72,7 +97,7 @@ export class UpdateAntCloudAuthSceneRequest extends $dara.Model {
72
97
  sceneName?: string;
73
98
  /**
74
99
  * @remarks
75
- * Currently meaningless, can be omitted.
100
+ * Update Ant Blockchain Transaction Scenario
76
101
  *
77
102
  * @example
78
103
  * -
@@ -80,9 +105,9 @@ export class UpdateAntCloudAuthSceneRequest extends $dara.Model {
80
105
  status?: number;
81
106
  /**
82
107
  * @remarks
83
- * Whether to enable delivering the authentication files generated during the authentication process to the user\\"s OSS:
84
- * - **Y**: Enable
85
- * - **N (default)**: Disable
108
+ * Update the information of a financial-level authentication scenario based on the scenario ID.
109
+ * - Service address: cloudauth.aliyuncs.com.
110
+ * - Request method: HTTPS POST.
86
111
  *
87
112
  * @example
88
113
  * Y
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UpdateAntCloudAuthSceneResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * ID of this request.
8
+ * Content of the uploaded verification file.
9
9
  *
10
10
  * @example
11
11
  * A07D5838-2BE0-5D2E-B864-D05ADAA5EDE3