@alicloud/cloudauth20190307 3.9.4 → 3.10.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 (137) hide show
  1. package/dist/client.d.ts +271 -10
  2. package/dist/client.js +393 -10
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/ContrastFaceVerifyAdvanceRequest.d.ts +93 -0
  5. package/dist/models/ContrastFaceVerifyAdvanceRequest.js.map +1 -1
  6. package/dist/models/ContrastFaceVerifyRequest.d.ts +93 -0
  7. package/dist/models/ContrastFaceVerifyRequest.js.map +1 -1
  8. package/dist/models/ContrastFaceVerifyResponseBody.d.ts +32 -0
  9. package/dist/models/ContrastFaceVerifyResponseBody.js.map +1 -1
  10. package/dist/models/CreateAuthKeyRequest.d.ts +12 -0
  11. package/dist/models/CreateAuthKeyRequest.js.map +1 -1
  12. package/dist/models/CreateAuthKeyResponseBody.d.ts +6 -0
  13. package/dist/models/CreateAuthKeyResponseBody.js.map +1 -1
  14. package/dist/models/CreateVerifySettingRequest.d.ts +18 -0
  15. package/dist/models/CreateVerifySettingRequest.js.map +1 -1
  16. package/dist/models/CreateVerifySettingResponseBody.d.ts +20 -0
  17. package/dist/models/CreateVerifySettingResponseBody.js.map +1 -1
  18. package/dist/models/CredentialVerifyRequest.d.ts +132 -0
  19. package/dist/models/CredentialVerifyRequest.js.map +1 -1
  20. package/dist/models/CredentialVerifyResponseBody.d.ts +103 -0
  21. package/dist/models/CredentialVerifyResponseBody.js.map +1 -1
  22. package/dist/models/CredentialVerifyShrinkRequest.d.ts +116 -0
  23. package/dist/models/CredentialVerifyShrinkRequest.js.map +1 -1
  24. package/dist/models/DescribeCardVerifyRequest.d.ts +3 -0
  25. package/dist/models/DescribeCardVerifyRequest.js.map +1 -1
  26. package/dist/models/DescribeCardVerifyResponseBody.d.ts +52 -0
  27. package/dist/models/DescribeCardVerifyResponseBody.js.map +1 -1
  28. package/dist/models/DescribeDeviceInfoRequest.d.ts +21 -0
  29. package/dist/models/DescribeDeviceInfoRequest.js.map +1 -1
  30. package/dist/models/DescribeDeviceInfoResponseBody.d.ts +31 -0
  31. package/dist/models/DescribeDeviceInfoResponseBody.js.map +1 -1
  32. package/dist/models/DescribeFaceGuardRiskRequest.d.ts +14 -0
  33. package/dist/models/DescribeFaceGuardRiskRequest.js.map +1 -1
  34. package/dist/models/DescribeFaceGuardRiskResponseBody.d.ts +32 -1
  35. package/dist/models/DescribeFaceGuardRiskResponseBody.js.map +1 -1
  36. package/dist/models/DescribeFaceVerifyRequest.d.ts +9 -0
  37. package/dist/models/DescribeFaceVerifyRequest.js.map +1 -1
  38. package/dist/models/DescribeFaceVerifyResponseBody.d.ts +59 -0
  39. package/dist/models/DescribeFaceVerifyResponseBody.js.map +1 -1
  40. package/dist/models/DescribeOssUploadTokenResponseBody.d.ts +28 -0
  41. package/dist/models/DescribeOssUploadTokenResponseBody.js.map +1 -1
  42. package/dist/models/DescribePageFaceVerifyDataRequest.d.ts +18 -0
  43. package/dist/models/DescribePageFaceVerifyDataRequest.js.map +1 -1
  44. package/dist/models/DescribePageFaceVerifyDataResponseBody.d.ts +50 -0
  45. package/dist/models/DescribePageFaceVerifyDataResponseBody.js.map +1 -1
  46. package/dist/models/DescribeSmartStatisticsPageListRequest.d.ts +13 -0
  47. package/dist/models/DescribeSmartStatisticsPageListRequest.js.map +1 -1
  48. package/dist/models/DescribeSmartStatisticsPageListResponseBody.d.ts +44 -0
  49. package/dist/models/DescribeSmartStatisticsPageListResponseBody.js.map +1 -1
  50. package/dist/models/DescribeVerifyResultRequest.d.ts +4 -0
  51. package/dist/models/DescribeVerifyResultRequest.js.map +1 -1
  52. package/dist/models/DescribeVerifyResultResponseBody.d.ts +125 -0
  53. package/dist/models/DescribeVerifyResultResponseBody.js.map +1 -1
  54. package/dist/models/DescribeVerifySdkrequest.d.ts +2 -0
  55. package/dist/models/DescribeVerifySdkrequest.js.map +1 -1
  56. package/dist/models/DescribeVerifySdkresponseBody.d.ts +6 -0
  57. package/dist/models/DescribeVerifySdkresponseBody.js.map +1 -1
  58. package/dist/models/DescribeVerifyTokenRequest.d.ts +49 -0
  59. package/dist/models/DescribeVerifyTokenRequest.js.map +1 -1
  60. package/dist/models/DescribeVerifyTokenResponseBody.d.ts +34 -0
  61. package/dist/models/DescribeVerifyTokenResponseBody.js.map +1 -1
  62. package/dist/models/DetectFaceAttributesRequest.d.ts +5 -0
  63. package/dist/models/DetectFaceAttributesRequest.js.map +1 -1
  64. package/dist/models/DetectFaceAttributesResponseBody.d.ts +100 -0
  65. package/dist/models/DetectFaceAttributesResponseBody.js.map +1 -1
  66. package/dist/models/Id3metaVerifyAdvanceRequest.d.ts +87 -0
  67. package/dist/models/Id3metaVerifyAdvanceRequest.js +67 -0
  68. package/dist/models/Id3metaVerifyAdvanceRequest.js.map +1 -0
  69. package/dist/models/Id3metaVerifyRequest.d.ts +86 -0
  70. package/dist/models/Id3metaVerifyRequest.js +68 -0
  71. package/dist/models/Id3metaVerifyRequest.js.map +1 -0
  72. package/dist/models/Id3metaVerifyResponse.d.ts +19 -0
  73. package/dist/models/Id3metaVerifyResponse.js +69 -0
  74. package/dist/models/Id3metaVerifyResponse.js.map +1 -0
  75. package/dist/models/Id3metaVerifyResponseBody.d.ts +83 -0
  76. package/dist/models/Id3metaVerifyResponseBody.js +88 -0
  77. package/dist/models/Id3metaVerifyResponseBody.js.map +1 -0
  78. package/dist/models/InitFaceVerifyRequest.d.ts +348 -0
  79. package/dist/models/InitFaceVerifyRequest.js +2 -0
  80. package/dist/models/InitFaceVerifyRequest.js.map +1 -1
  81. package/dist/models/InitFaceVerifyResponseBody.d.ts +32 -0
  82. package/dist/models/InitFaceVerifyResponseBody.js.map +1 -1
  83. package/dist/models/LivenessFaceVerifyRequest.d.ts +46 -0
  84. package/dist/models/LivenessFaceVerifyRequest.js.map +1 -1
  85. package/dist/models/LivenessFaceVerifyResponseBody.d.ts +29 -0
  86. package/dist/models/LivenessFaceVerifyResponseBody.js.map +1 -1
  87. package/dist/models/VerifyMaterialRequest.d.ts +24 -0
  88. package/dist/models/VerifyMaterialRequest.js.map +1 -1
  89. package/dist/models/VerifyMaterialResponseBody.d.ts +118 -0
  90. package/dist/models/VerifyMaterialResponseBody.js.map +1 -1
  91. package/dist/models/model.d.ts +5 -0
  92. package/dist/models/model.js +15 -5
  93. package/dist/models/model.js.map +1 -1
  94. package/package.json +1 -1
  95. package/src/client.ts +407 -10
  96. package/src/models/ContrastFaceVerifyAdvanceRequest.ts +93 -0
  97. package/src/models/ContrastFaceVerifyRequest.ts +93 -0
  98. package/src/models/ContrastFaceVerifyResponseBody.ts +32 -0
  99. package/src/models/CreateAuthKeyRequest.ts +12 -0
  100. package/src/models/CreateAuthKeyResponseBody.ts +6 -0
  101. package/src/models/CreateVerifySettingRequest.ts +18 -0
  102. package/src/models/CreateVerifySettingResponseBody.ts +20 -0
  103. package/src/models/CredentialVerifyRequest.ts +132 -0
  104. package/src/models/CredentialVerifyResponseBody.ts +103 -0
  105. package/src/models/CredentialVerifyShrinkRequest.ts +116 -0
  106. package/src/models/DescribeCardVerifyRequest.ts +3 -0
  107. package/src/models/DescribeCardVerifyResponseBody.ts +52 -0
  108. package/src/models/DescribeDeviceInfoRequest.ts +21 -0
  109. package/src/models/DescribeDeviceInfoResponseBody.ts +31 -0
  110. package/src/models/DescribeFaceGuardRiskRequest.ts +14 -0
  111. package/src/models/DescribeFaceGuardRiskResponseBody.ts +32 -1
  112. package/src/models/DescribeFaceVerifyRequest.ts +9 -0
  113. package/src/models/DescribeFaceVerifyResponseBody.ts +59 -0
  114. package/src/models/DescribeOssUploadTokenResponseBody.ts +28 -0
  115. package/src/models/DescribePageFaceVerifyDataRequest.ts +18 -0
  116. package/src/models/DescribePageFaceVerifyDataResponseBody.ts +50 -0
  117. package/src/models/DescribeSmartStatisticsPageListRequest.ts +13 -0
  118. package/src/models/DescribeSmartStatisticsPageListResponseBody.ts +44 -0
  119. package/src/models/DescribeVerifyResultRequest.ts +4 -0
  120. package/src/models/DescribeVerifyResultResponseBody.ts +125 -0
  121. package/src/models/DescribeVerifySdkrequest.ts +2 -0
  122. package/src/models/DescribeVerifySdkresponseBody.ts +6 -0
  123. package/src/models/DescribeVerifyTokenRequest.ts +49 -0
  124. package/src/models/DescribeVerifyTokenResponseBody.ts +34 -0
  125. package/src/models/DetectFaceAttributesRequest.ts +5 -0
  126. package/src/models/DetectFaceAttributesResponseBody.ts +100 -0
  127. package/src/models/Id3metaVerifyAdvanceRequest.ts +110 -0
  128. package/src/models/Id3metaVerifyRequest.ts +109 -0
  129. package/src/models/Id3metaVerifyResponse.ts +40 -0
  130. package/src/models/Id3metaVerifyResponseBody.ts +117 -0
  131. package/src/models/InitFaceVerifyRequest.ts +350 -0
  132. package/src/models/InitFaceVerifyResponseBody.ts +32 -0
  133. package/src/models/LivenessFaceVerifyRequest.ts +46 -0
  134. package/src/models/LivenessFaceVerifyResponseBody.ts +29 -0
  135. package/src/models/VerifyMaterialRequest.ts +24 -0
  136. package/src/models/VerifyMaterialResponseBody.ts +118 -0
  137. package/src/models/model.ts +5 -0
@@ -4,32 +4,57 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class DescribeSmartStatisticsPageListResponseBodyItems extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * Date. Format: <i>month/day</i>
9
+ *
7
10
  * @example
8
11
  * 11/8
9
12
  */
10
13
  date?: string;
11
14
  /**
15
+ * @remarks
16
+ * Pass rate.
17
+ *
12
18
  * @example
13
19
  * 25
14
20
  */
15
21
  passRate?: string;
16
22
  /**
23
+ * @remarks
24
+ * Product solution Code, please refer to the Enhanced Real Person Help Documentation.
25
+ *
17
26
  * @example
18
27
  * SMART_VERIFY
19
28
  */
20
29
  productCode?: string;
21
30
  /**
31
+ * @remarks
32
+ * Scene ID.
33
+ *
22
34
  * @example
23
35
  * 20**40
24
36
  */
25
37
  sceneId?: number;
38
+ /**
39
+ * @remarks
40
+ * Scene name.
41
+ *
42
+ * @example
43
+ * ****实名认证
44
+ */
26
45
  sceneName?: string;
27
46
  /**
47
+ * @remarks
48
+ * Number of successful calls.
49
+ *
28
50
  * @example
29
51
  * 1
30
52
  */
31
53
  successCount?: number;
32
54
  /**
55
+ * @remarks
56
+ * Total count.
57
+ *
33
58
  * @example
34
59
  * 4
35
60
  */
@@ -69,27 +94,46 @@ export class DescribeSmartStatisticsPageListResponseBodyItems extends $dara.Mode
69
94
 
70
95
  export class DescribeSmartStatisticsPageListResponseBody extends $dara.Model {
71
96
  /**
97
+ * @remarks
98
+ * Current page number.
99
+ *
72
100
  * @example
73
101
  * 1
74
102
  */
75
103
  currentPage?: number;
104
+ /**
105
+ * @remarks
106
+ * Returned data list.
107
+ */
76
108
  items?: DescribeSmartStatisticsPageListResponseBodyItems[];
77
109
  /**
110
+ * @remarks
111
+ * Number of items displayed per page.
112
+ *
78
113
  * @example
79
114
  * 10
80
115
  */
81
116
  pageSize?: number;
82
117
  /**
118
+ * @remarks
119
+ * ID of this request.
120
+ *
83
121
  * @example
84
122
  * 96943***4E39F805
85
123
  */
86
124
  requestId?: string;
87
125
  /**
126
+ * @remarks
127
+ * Total count.
128
+ *
88
129
  * @example
89
130
  * 29
90
131
  */
91
132
  totalCount?: number;
92
133
  /**
134
+ * @remarks
135
+ * Total number of pages.
136
+ *
93
137
  * @example
94
138
  * 3
95
139
  */
@@ -5,6 +5,8 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribeVerifyResultRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
+ * Authentication ID. A unique ID that identifies an authentication task, not exceeding 64 characters. For a single authentication task, the system supports an unlimited number of submissions until the final authentication is successful and the task is completed. > You need to use a different BizId for each new authentication task.
9
+ *
8
10
  * This parameter is required.
9
11
  *
10
12
  * @example
@@ -13,6 +15,8 @@ export class DescribeVerifyResultRequest extends $dara.Model {
13
15
  bizId?: string;
14
16
  /**
15
17
  * @remarks
18
+ * Business scenario identifier for real-person authentication service
19
+ *
16
20
  * This parameter is required.
17
21
  *
18
22
  * @example
@@ -3,36 +3,84 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DescribeVerifyResultResponseBodyMaterialIdCardInfo extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * Address.
9
+ *
10
+ * @example
11
+ * 浙江省杭州市余杭区文一西路969号
12
+ */
6
13
  address?: string;
14
+ /**
15
+ * @remarks
16
+ * Issuing authority.
17
+ *
18
+ * @example
19
+ * 杭州市公安局
20
+ */
7
21
  authority?: string;
8
22
  /**
23
+ * @remarks
24
+ * HTTP/HTTPS link to the image of the back side (national emblem side) of the ID card. The link is valid for 5 minutes, and it is recommended to store it for business use to avoid any impact.
25
+ * > If the HTTP/HTTPS link to the front-facing portrait image expires, you can call DescribeVerifyResult again to get the link.
26
+ *
9
27
  * @example
10
28
  * http://image-demo.img-cn-hangzhou.aliyuncs.com/example3.jpg
11
29
  */
12
30
  backImageUrl?: string;
13
31
  /**
32
+ * @remarks
33
+ * Date of birth.
34
+ *
14
35
  * @example
15
36
  * 19900101
16
37
  */
17
38
  birth?: string;
18
39
  /**
40
+ * @remarks
41
+ * The end date of the document\\"s validity period. Format: yyyymmdd.
42
+ *
19
43
  * @example
20
44
  * 20201101
21
45
  */
22
46
  endDate?: string;
23
47
  /**
48
+ * @remarks
49
+ * HTTP/HTTPS link to the image of the front side (portrait side) of the ID card. The link is valid for 5 minutes, and it is recommended to store it for business use to avoid any impact.
50
+ * > If the HTTP/HTTPS link to the front-facing portrait image expires, you can call DescribeVerifyResult again to get the link.
51
+ *
24
52
  * @example
25
53
  * http://image-demo.img-cn-hangzhou.aliyuncs.com/example2.jpg
26
54
  */
27
55
  frontImageUrl?: string;
56
+ /**
57
+ * @remarks
58
+ * Name.
59
+ *
60
+ * @example
61
+ * 张三
62
+ */
28
63
  name?: string;
64
+ /**
65
+ * @remarks
66
+ * Nationality.
67
+ *
68
+ * @example
69
+ * 汉
70
+ */
29
71
  nationality?: string;
30
72
  /**
73
+ * @remarks
74
+ * ID card number.
75
+ *
31
76
  * @example
32
77
  * 02343218901123****
33
78
  */
34
79
  number?: string;
35
80
  /**
81
+ * @remarks
82
+ * Start date of the document\\"s validity. Format: yyyymmdd.
83
+ *
36
84
  * @example
37
85
  * 20201101
38
86
  */
@@ -78,32 +126,72 @@ export class DescribeVerifyResultResponseBodyMaterialIdCardInfo extends $dara.Mo
78
126
 
79
127
  export class DescribeVerifyResultResponseBodyMaterial extends $dara.Model {
80
128
  /**
129
+ * @remarks
130
+ * The global camera image captured by the real-person authentication SDK.
131
+ *
132
+ * > This parameter will only take effect after configuration. If you need to use this parameter, please submit a [ticket](https://selfservice.console.aliyun.com/ticket/category/cloudauth/today) to contact us.
133
+ *
81
134
  * @example
82
135
  * http://image-demo.img-cn-hangzhou.aliyuncs.com/face-global-example.jpg
83
136
  */
84
137
  faceGlobalUrl?: string;
85
138
  /**
139
+ * @remarks
140
+ * The HTTP or HTTPS link to the frontal face image. The link is valid for 5 minutes, and it is recommended to store it elsewhere to avoid any impact on usage.
141
+ * > If the HTTP or HTTPS link to the frontal face image expires, you can call [DescribeVerifyResult](https://help.aliyun.com/document_detail/154606.html) again to get the link.
142
+ *
86
143
  * @example
87
144
  * http://image-demo.img-cn-hangzhou.aliyuncs.com/face-image-example.jpg
88
145
  */
89
146
  faceImageUrl?: string;
90
147
  /**
148
+ * @remarks
149
+ * Whether the face is wearing a mask. Values:
150
+ * - **true**: Wearing a mask
151
+ * - **false**: Not wearing a mask
152
+ *
91
153
  * @example
92
154
  * false
93
155
  */
94
156
  faceMask?: boolean;
95
157
  /**
158
+ * @remarks
159
+ * The quality of the frontal face image. Values:
160
+ * - **UNQUALIFIED**: Poor quality
161
+ * - **LOW**: Low
162
+ * - **NORMAL**: Normal
163
+ * - **HIGH**: High
164
+ *
96
165
  * @example
97
166
  * NORMAL
98
167
  */
99
168
  faceQuality?: string;
169
+ /**
170
+ * @remarks
171
+ * OCR results of the ID card information.
172
+ * > If there is no front and back information of the ID card during the authentication process, the real-person authentication service will not return the OCR results of the ID card. Even if there is front and back information of the ID card during the authentication process, the real-person authentication service does not guarantee to return all the information on the ID card. Due to issues with ID card photography, the OCR may fail to recognize some information, resulting in incomplete OCR information. It is recommended that your business does not strongly rely on the ID card OCR information.
173
+ */
100
174
  idCardInfo?: DescribeVerifyResultResponseBodyMaterialIdCardInfo;
175
+ /**
176
+ * @remarks
177
+ * Name.
178
+ *
179
+ * @example
180
+ * 张三
181
+ */
101
182
  idCardName?: string;
102
183
  /**
184
+ * @remarks
185
+ * ID number.
186
+ *
103
187
  * @example
104
188
  * 02343218901123****
105
189
  */
106
190
  idCardNumber?: string;
191
+ /**
192
+ * @remarks
193
+ * The URL addresses of the recorded videos returned by the historical RPH5BioOnly solution.
194
+ */
107
195
  videoUrls?: string[];
108
196
  static names(): { [key: string]: string } {
109
197
  return {
@@ -148,27 +236,64 @@ export class DescribeVerifyResultResponseBodyMaterial extends $dara.Model {
148
236
 
149
237
  export class DescribeVerifyResultResponseBody extends $dara.Model {
150
238
  /**
239
+ * @remarks
240
+ * The comparison score between the face photo submitted during the authentication process and the authoritative data, with a value range of **0** to **100**.
241
+ * Confidence threshold references:
242
+ * - When the false acceptance rate is 0.001%, the corresponding threshold is 95. - When the false acceptance rate is 0.01%, the corresponding threshold is 90. - When the false acceptance rate is 0.1%, the corresponding threshold is 80. - When the false acceptance rate is 1%, the corresponding threshold is 60.
243
+ * > This field only indicates the comparison result between the face and the authoritative data, for your reference only. It is generally not recommended to use this value alone as the standard for whether the authentication passes. For a comprehensive authentication result, please refer to the **VerifyStatus** field. The **VerifyStatus** result integrates the comparison of the face with the authoritative data and various other strategies, which can enhance security levels.
244
+ *
151
245
  * @example
152
246
  * 97
153
247
  */
154
248
  authorityComparisionScore?: number;
155
249
  /**
250
+ * @remarks
251
+ * The comparison score between the face photo submitted during the authentication process and the face in the retained face image. The value range is **0**~**100**.
252
+ *
253
+ * Confidence threshold reference:
254
+ *
255
+ * - When the false recognition rate is 0.001%, the corresponding threshold is 95.
256
+ * - When the false recognition rate is 0.01%, the corresponding threshold is 90.
257
+ * - When the false recognition rate is 0.1%, the corresponding threshold is 80.
258
+ * - When the false recognition rate is 1%, the corresponding threshold is 60.
259
+ *
156
260
  * @example
157
261
  * 97
158
262
  */
159
263
  faceComparisonScore?: number;
160
264
  /**
265
+ * @remarks
266
+ * The comparison score between the face photo submitted during the authentication process and the face on the ID card\\"s face side. The value range is **0**~**100**.
267
+ *
268
+ * Confidence threshold reference:
269
+ *
270
+ * - When the false recognition rate is 0.001%, the corresponding threshold is 95.
271
+ * - When the false recognition rate is 0.01%, the corresponding threshold is 90.
272
+ * - When the false recognition rate is 0.1%, the corresponding threshold is 80.
273
+ * - When the false recognition rate is 1%, the corresponding threshold is 60.
274
+ *
161
275
  * @example
162
276
  * 97
163
277
  */
164
278
  idCardFaceComparisonScore?: number;
279
+ /**
280
+ * @remarks
281
+ * Authentication materials.
282
+ */
165
283
  material?: DescribeVerifyResultResponseBodyMaterial;
166
284
  /**
285
+ * @remarks
286
+ * The ID of this request.
287
+ *
167
288
  * @example
168
289
  * 04F0F334-1335-436C-A1D7-6C044FE73368
169
290
  */
170
291
  requestId?: string;
171
292
  /**
293
+ * @remarks
294
+ * Authentication status, values:
295
+ * - **-1**: Not authenticated - **1**: Authentication passed - **2** to **n**: Authentication failed for various reasons. For detailed descriptions, see the authentication status explanation.
296
+ *
172
297
  * @example
173
298
  * 1
174
299
  */
@@ -5,6 +5,8 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribeVerifySDKRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
+ * The task ID for generating the SDK.
9
+ *
8
10
  * This parameter is required.
9
11
  *
10
12
  * @example
@@ -4,11 +4,17 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class DescribeVerifySDKResponseBody extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The ID of this request.
9
+ *
7
10
  * @example
8
11
  * 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
9
12
  */
10
13
  requestId?: string;
11
14
  /**
15
+ * @remarks
16
+ * The SDK download URL. When not empty, it indicates that the generation is complete.
17
+ *
12
18
  * @example
13
19
  * https://www.xxx.com
14
20
  */
@@ -5,6 +5,10 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribeVerifyTokenRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
+ * Verification ID. A unique ID that identifies a verification task, not exceeding 64 characters. For a single verification task, the system supports unlimited submissions until the final verification is passed and the task is completed.
9
+ *
10
+ * > Different BizIds are required for different verification tasks.
11
+ *
8
12
  * This parameter is required.
9
13
  *
10
14
  * @example
@@ -13,6 +17,8 @@ export class DescribeVerifyTokenRequest extends $dara.Model {
13
17
  bizId?: string;
14
18
  /**
15
19
  * @remarks
20
+ * Identifier for the business scenario using the real person authentication service. Please refer to [Business Settings](https://help.aliyun.com/document_detail/127885.html) and complete the creation in the console first.
21
+ *
16
22
  * This parameter is required.
17
23
  *
18
24
  * @example
@@ -20,62 +26,105 @@ export class DescribeVerifyTokenRequest extends $dara.Model {
20
26
  */
21
27
  bizType?: string;
22
28
  /**
29
+ * @remarks
30
+ * Callback seed.
31
+ *
23
32
  * @example
24
33
  * -
25
34
  */
26
35
  callbackSeed?: string;
27
36
  /**
37
+ * @remarks
38
+ * Callback URL.
39
+ *
28
40
  * @example
29
41
  * -
30
42
  */
31
43
  callbackUrl?: string;
32
44
  /**
45
+ * @remarks
46
+ * HTTP or HTTPS link to the retained portrait photo.
47
+ *
33
48
  * @example
34
49
  * http%3A%2F%2Fjiangsu.china.com.cn%2Fuploadfile%2F2015%2F0114%2F1421221304095989.jpg
35
50
  */
36
51
  faceRetainedImageUrl?: string;
37
52
  /**
53
+ * @remarks
54
+ * Redirect URL for failed verification.
55
+ *
38
56
  * @example
39
57
  * -
40
58
  */
41
59
  failedRedirectUrl?: string;
42
60
  /**
61
+ * @remarks
62
+ * HTTP or HTTPS link to the national emblem side of the ID card image.
63
+ *
43
64
  * @example
44
65
  * http%3A%2F%2Fjiangsu.china.com.cn%2Fuploadfile%2F2015%2F0114%2F1421221304095989.jpg
45
66
  */
46
67
  idCardBackImageUrl?: string;
47
68
  /**
69
+ * @remarks
70
+ * HTTP or HTTPS link to the portrait side of the ID card image.
71
+ *
48
72
  * @example
49
73
  * http%3A%2F%2Fjiangsu.china.com.cn%2Fuploadfile%2F2015%2F0114%2F1421221304095989.jpg
50
74
  */
51
75
  idCardFrontImageUrl?: string;
52
76
  /**
77
+ * @remarks
78
+ * ID card number.
79
+ *
53
80
  * @example
54
81
  * 330100xxxxxxxxxxxx
55
82
  */
56
83
  idCardNumber?: string;
84
+ /**
85
+ * @remarks
86
+ * Name.
87
+ *
88
+ * @example
89
+ * 张三
90
+ */
57
91
  name?: string;
58
92
  /**
93
+ * @remarks
94
+ * Redirect URL upon successful verification.
95
+ *
59
96
  * @example
60
97
  * -
61
98
  */
62
99
  passedRedirectUrl?: string;
63
100
  /**
101
+ * @remarks
102
+ * ID of the end user, such as the account ID of the end user.
103
+ *
64
104
  * @example
65
105
  * user111
66
106
  */
67
107
  userId?: string;
68
108
  /**
109
+ * @remarks
110
+ * User IP.
111
+ *
69
112
  * @example
70
113
  * 192.168.***.***
71
114
  */
72
115
  userIp?: string;
73
116
  /**
117
+ * @remarks
118
+ * User phone number.
119
+ *
74
120
  * @example
75
121
  * 187********
76
122
  */
77
123
  userPhoneNumber?: string;
78
124
  /**
125
+ * @remarks
126
+ * User registration time. Expressed in timestamp format, unit: milliseconds.
127
+ *
79
128
  * @example
80
129
  * 1577808000000
81
130
  */
@@ -4,36 +4,57 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class DescribeVerifyTokenResponseBodyOssUploadToken extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * OSS file storage bucket.
9
+ *
7
10
  * @example
8
11
  * cloudauth-zhangjiakou-external
9
12
  */
10
13
  bucket?: string;
11
14
  /**
15
+ * @remarks
16
+ * Access endpoint.
17
+ *
12
18
  * @example
13
19
  * https://oss-cn-zhangjiakou.aliyuncs.com
14
20
  */
15
21
  endPoint?: string;
16
22
  /**
23
+ * @remarks
24
+ * Expiration time. Expressed in timestamp format, unit: milliseconds.
25
+ *
17
26
  * @example
18
27
  * 1582636610000
19
28
  */
20
29
  expired?: number;
21
30
  /**
31
+ * @remarks
32
+ * The key required for file upload.
33
+ *
22
34
  * @example
23
35
  * STS.NU8rUBj****
24
36
  */
25
37
  key?: string;
26
38
  /**
39
+ * @remarks
40
+ * File storage path.
41
+ *
27
42
  * @example
28
43
  * prod/RdNLC@Ox2n-1s7NMt
29
44
  */
30
45
  path?: string;
31
46
  /**
47
+ * @remarks
48
+ * The secret required for file upload.
49
+ *
32
50
  * @example
33
51
  * FwmnyoqT8dHj7nJLuM67T****
34
52
  */
35
53
  secret?: string;
36
54
  /**
55
+ * @remarks
56
+ * The token required for file upload.
57
+ *
37
58
  * @example
38
59
  * uWia500nTS5knZaDzq4/KqpvhcLnO****
39
60
  */
@@ -72,18 +93,31 @@ export class DescribeVerifyTokenResponseBodyOssUploadToken extends $dara.Model {
72
93
  }
73
94
 
74
95
  export class DescribeVerifyTokenResponseBody extends $dara.Model {
96
+ /**
97
+ * @remarks
98
+ * OSS upload token information.
99
+ */
75
100
  ossUploadToken?: DescribeVerifyTokenResponseBodyOssUploadToken;
76
101
  /**
102
+ * @remarks
103
+ * The ID of this request.
104
+ *
77
105
  * @example
78
106
  * 04F0F334-1335-436C-A1D7-6C044FE73368
79
107
  */
80
108
  requestId?: string;
81
109
  /**
110
+ * @remarks
111
+ * The entry link for the original H5 verification scheme, which has been discontinued and no longer supports new integrations. If you need to integrate an H5 verification scheme, it is recommended to use the [PC or mobile H5 web integration solution](https://help.aliyun.com/document_detail/173779.html) of financial-grade real-person authentication.
112
+ *
82
113
  * @example
83
114
  * http%3A%2F%2Fjiangsu.china.com.cn%2Fuploadfile%2F2015%2F0114%2F1421221304095989.jpg
84
115
  */
85
116
  verifyPageUrl?: string;
86
117
  /**
118
+ * @remarks
119
+ * The token for this verification, used to link various interfaces in the verification request, valid for 30 minutes.
120
+ *
87
121
  * @example
88
122
  * c302c0797679457685410ee51a5ba375
89
123
  */
@@ -4,12 +4,17 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class DetectFaceAttributesRequest extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * Identifier for the business scenario using real-person authentication services.
9
+ *
7
10
  * @example
8
11
  * RPBasicTest
9
12
  */
10
13
  bizType?: string;
11
14
  /**
12
15
  * @remarks
16
+ * The photo to be detected, see the instructions for uploading image addresses for format description. A maximum of 5 faces can be detected in a single image.
17
+ *
13
18
  * This parameter is required.
14
19
  *
15
20
  * @example