@alicloud/cloudauth20190307 1.0.1 → 1.0.6
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 +800 -670
- package/dist/client.js +1701 -1477
- package/dist/client.js.map +1 -1
- package/package.json +4 -4
- package/src/client.ts +2079 -1786
package/dist/client.js
CHANGED
|
@@ -20,234 +20,296 @@ const openplatform20191219_1 = __importStar(require("@alicloud/openplatform20191
|
|
|
20
20
|
const $OSSUtil = __importStar(require("@alicloud/oss-util"));
|
|
21
21
|
const $FileForm = __importStar(require("@alicloud/tea-fileform"));
|
|
22
22
|
const $tea = __importStar(require("@alicloud/tea-typescript"));
|
|
23
|
-
class
|
|
23
|
+
class CompareFaceVerifyRequest extends $tea.Model {
|
|
24
24
|
constructor(map) {
|
|
25
25
|
super(map);
|
|
26
26
|
}
|
|
27
27
|
static names() {
|
|
28
28
|
return {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
29
|
+
crop: 'Crop',
|
|
30
|
+
outerOrderNo: 'OuterOrderNo',
|
|
31
|
+
productCode: 'ProductCode',
|
|
32
|
+
sceneId: 'SceneId',
|
|
33
|
+
sourceCertifyId: 'SourceCertifyId',
|
|
34
|
+
sourceFaceContrastPicture: 'SourceFaceContrastPicture',
|
|
35
|
+
sourceFaceContrastPictureUrl: 'SourceFaceContrastPictureUrl',
|
|
36
|
+
sourceOssBucketName: 'SourceOssBucketName',
|
|
37
|
+
sourceOssObjectName: 'SourceOssObjectName',
|
|
38
|
+
targetCertifyId: 'TargetCertifyId',
|
|
39
|
+
targetFaceContrastPicture: 'TargetFaceContrastPicture',
|
|
40
|
+
targetFaceContrastPictureUrl: 'TargetFaceContrastPictureUrl',
|
|
41
|
+
targetOssBucketName: 'TargetOssBucketName',
|
|
42
|
+
targetOssObjectName: 'TargetOssObjectName',
|
|
39
43
|
};
|
|
40
44
|
}
|
|
41
45
|
static types() {
|
|
42
46
|
return {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
47
|
+
crop: 'string',
|
|
48
|
+
outerOrderNo: 'string',
|
|
49
|
+
productCode: 'string',
|
|
50
|
+
sceneId: 'number',
|
|
51
|
+
sourceCertifyId: 'string',
|
|
52
|
+
sourceFaceContrastPicture: 'string',
|
|
53
|
+
sourceFaceContrastPictureUrl: 'string',
|
|
54
|
+
sourceOssBucketName: 'string',
|
|
55
|
+
sourceOssObjectName: 'string',
|
|
56
|
+
targetCertifyId: 'string',
|
|
57
|
+
targetFaceContrastPicture: 'string',
|
|
58
|
+
targetFaceContrastPictureUrl: 'string',
|
|
59
|
+
targetOssBucketName: 'string',
|
|
60
|
+
targetOssObjectName: 'string',
|
|
53
61
|
};
|
|
54
62
|
}
|
|
55
63
|
}
|
|
56
|
-
exports.
|
|
57
|
-
class
|
|
64
|
+
exports.CompareFaceVerifyRequest = CompareFaceVerifyRequest;
|
|
65
|
+
class CompareFaceVerifyResponse extends $tea.Model {
|
|
58
66
|
constructor(map) {
|
|
59
67
|
super(map);
|
|
60
68
|
}
|
|
61
69
|
static names() {
|
|
62
70
|
return {
|
|
71
|
+
code: 'Code',
|
|
72
|
+
message: 'Message',
|
|
63
73
|
requestId: 'RequestId',
|
|
64
|
-
|
|
65
|
-
currentPage: 'CurrentPage',
|
|
66
|
-
pageSize: 'PageSize',
|
|
67
|
-
items: 'Items',
|
|
74
|
+
resultObject: 'ResultObject',
|
|
68
75
|
};
|
|
69
76
|
}
|
|
70
77
|
static types() {
|
|
71
78
|
return {
|
|
79
|
+
code: 'string',
|
|
80
|
+
message: 'string',
|
|
72
81
|
requestId: 'string',
|
|
73
|
-
|
|
74
|
-
currentPage: 'number',
|
|
75
|
-
pageSize: 'number',
|
|
76
|
-
items: { 'type': 'array', 'itemType': DescribeWhitelistResponseItems },
|
|
82
|
+
resultObject: CompareFaceVerifyResponseResultObject,
|
|
77
83
|
};
|
|
78
84
|
}
|
|
79
85
|
}
|
|
80
|
-
exports.
|
|
81
|
-
class
|
|
86
|
+
exports.CompareFaceVerifyResponse = CompareFaceVerifyResponse;
|
|
87
|
+
class CompareFacesRequest extends $tea.Model {
|
|
82
88
|
constructor(map) {
|
|
83
89
|
super(map);
|
|
84
90
|
}
|
|
85
91
|
static names() {
|
|
86
92
|
return {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
93
|
+
sourceImageType: 'SourceImageType',
|
|
94
|
+
sourceImageValue: 'SourceImageValue',
|
|
95
|
+
targetImageType: 'TargetImageType',
|
|
96
|
+
targetImageValue: 'TargetImageValue',
|
|
90
97
|
};
|
|
91
98
|
}
|
|
92
99
|
static types() {
|
|
93
100
|
return {
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
101
|
+
sourceImageType: 'string',
|
|
102
|
+
sourceImageValue: 'string',
|
|
103
|
+
targetImageType: 'string',
|
|
104
|
+
targetImageValue: 'string',
|
|
97
105
|
};
|
|
98
106
|
}
|
|
99
107
|
}
|
|
100
|
-
exports.
|
|
101
|
-
class
|
|
108
|
+
exports.CompareFacesRequest = CompareFacesRequest;
|
|
109
|
+
class CompareFacesResponse extends $tea.Model {
|
|
102
110
|
constructor(map) {
|
|
103
111
|
super(map);
|
|
104
112
|
}
|
|
105
113
|
static names() {
|
|
106
114
|
return {
|
|
115
|
+
code: 'Code',
|
|
116
|
+
message: 'Message',
|
|
107
117
|
requestId: 'RequestId',
|
|
118
|
+
success: 'Success',
|
|
119
|
+
data: 'Data',
|
|
108
120
|
};
|
|
109
121
|
}
|
|
110
122
|
static types() {
|
|
111
123
|
return {
|
|
124
|
+
code: 'string',
|
|
125
|
+
message: 'string',
|
|
112
126
|
requestId: 'string',
|
|
127
|
+
success: 'boolean',
|
|
128
|
+
data: CompareFacesResponseData,
|
|
113
129
|
};
|
|
114
130
|
}
|
|
115
131
|
}
|
|
116
|
-
exports.
|
|
117
|
-
class
|
|
132
|
+
exports.CompareFacesResponse = CompareFacesResponse;
|
|
133
|
+
class ContrastFaceVerifyRequest extends $tea.Model {
|
|
118
134
|
constructor(map) {
|
|
119
135
|
super(map);
|
|
120
136
|
}
|
|
121
137
|
static names() {
|
|
122
138
|
return {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
139
|
+
certName: 'CertName',
|
|
140
|
+
certNo: 'CertNo',
|
|
141
|
+
certType: 'CertType',
|
|
142
|
+
certifyId: 'CertifyId',
|
|
143
|
+
crop: 'Crop',
|
|
144
|
+
deviceToken: 'DeviceToken',
|
|
145
|
+
faceContrastFile: 'FaceContrastFile',
|
|
146
|
+
faceContrastPicture: 'FaceContrastPicture',
|
|
147
|
+
faceContrastPictureUrl: 'FaceContrastPictureUrl',
|
|
148
|
+
ip: 'Ip',
|
|
149
|
+
mobile: 'Mobile',
|
|
150
|
+
model: 'Model',
|
|
151
|
+
ossBucketName: 'OssBucketName',
|
|
152
|
+
ossObjectName: 'OssObjectName',
|
|
153
|
+
outerOrderNo: 'OuterOrderNo',
|
|
154
|
+
productCode: 'ProductCode',
|
|
155
|
+
sceneId: 'SceneId',
|
|
156
|
+
userId: 'UserId',
|
|
129
157
|
};
|
|
130
158
|
}
|
|
131
159
|
static types() {
|
|
132
160
|
return {
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
161
|
+
certName: 'string',
|
|
162
|
+
certNo: 'string',
|
|
163
|
+
certType: 'string',
|
|
164
|
+
certifyId: 'string',
|
|
165
|
+
crop: 'string',
|
|
166
|
+
deviceToken: 'string',
|
|
167
|
+
faceContrastFile: 'string',
|
|
168
|
+
faceContrastPicture: 'string',
|
|
169
|
+
faceContrastPictureUrl: 'string',
|
|
170
|
+
ip: 'string',
|
|
171
|
+
mobile: 'string',
|
|
172
|
+
model: 'string',
|
|
173
|
+
ossBucketName: 'string',
|
|
174
|
+
ossObjectName: 'string',
|
|
175
|
+
outerOrderNo: 'string',
|
|
176
|
+
productCode: 'string',
|
|
177
|
+
sceneId: 'number',
|
|
178
|
+
userId: 'string',
|
|
139
179
|
};
|
|
140
180
|
}
|
|
141
181
|
}
|
|
142
|
-
exports.
|
|
143
|
-
class
|
|
182
|
+
exports.ContrastFaceVerifyRequest = ContrastFaceVerifyRequest;
|
|
183
|
+
class ContrastFaceVerifyResponse extends $tea.Model {
|
|
144
184
|
constructor(map) {
|
|
145
185
|
super(map);
|
|
146
186
|
}
|
|
147
187
|
static names() {
|
|
148
188
|
return {
|
|
189
|
+
code: 'Code',
|
|
190
|
+
message: 'Message',
|
|
149
191
|
requestId: 'RequestId',
|
|
192
|
+
resultObject: 'ResultObject',
|
|
150
193
|
};
|
|
151
194
|
}
|
|
152
195
|
static types() {
|
|
153
196
|
return {
|
|
197
|
+
code: 'string',
|
|
198
|
+
message: 'string',
|
|
154
199
|
requestId: 'string',
|
|
200
|
+
resultObject: ContrastFaceVerifyResponseResultObject,
|
|
155
201
|
};
|
|
156
202
|
}
|
|
157
203
|
}
|
|
158
|
-
exports.
|
|
159
|
-
class
|
|
160
|
-
constructor(map) {
|
|
161
|
-
super(map);
|
|
162
|
-
}
|
|
163
|
-
static names() {
|
|
164
|
-
return {
|
|
165
|
-
sourceIp: 'SourceIp',
|
|
166
|
-
lang: 'Lang',
|
|
167
|
-
};
|
|
168
|
-
}
|
|
169
|
-
static types() {
|
|
170
|
-
return {
|
|
171
|
-
sourceIp: 'string',
|
|
172
|
-
lang: 'string',
|
|
173
|
-
};
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
exports.DescribeFaceConfigRequest = DescribeFaceConfigRequest;
|
|
177
|
-
class DescribeFaceConfigResponse extends $tea.Model {
|
|
204
|
+
exports.ContrastFaceVerifyResponse = ContrastFaceVerifyResponse;
|
|
205
|
+
class ContrastFaceVerifyAdvanceRequest extends $tea.Model {
|
|
178
206
|
constructor(map) {
|
|
179
207
|
super(map);
|
|
180
208
|
}
|
|
181
209
|
static names() {
|
|
182
210
|
return {
|
|
183
|
-
|
|
184
|
-
|
|
211
|
+
faceContrastFileObject: 'FaceContrastFileObject',
|
|
212
|
+
certName: 'CertName',
|
|
213
|
+
certNo: 'CertNo',
|
|
214
|
+
certType: 'CertType',
|
|
215
|
+
certifyId: 'CertifyId',
|
|
216
|
+
crop: 'Crop',
|
|
217
|
+
deviceToken: 'DeviceToken',
|
|
218
|
+
faceContrastPicture: 'FaceContrastPicture',
|
|
219
|
+
faceContrastPictureUrl: 'FaceContrastPictureUrl',
|
|
220
|
+
ip: 'Ip',
|
|
221
|
+
mobile: 'Mobile',
|
|
222
|
+
model: 'Model',
|
|
223
|
+
ossBucketName: 'OssBucketName',
|
|
224
|
+
ossObjectName: 'OssObjectName',
|
|
225
|
+
outerOrderNo: 'OuterOrderNo',
|
|
226
|
+
productCode: 'ProductCode',
|
|
227
|
+
sceneId: 'SceneId',
|
|
228
|
+
userId: 'UserId',
|
|
185
229
|
};
|
|
186
230
|
}
|
|
187
231
|
static types() {
|
|
188
232
|
return {
|
|
189
|
-
|
|
190
|
-
|
|
233
|
+
faceContrastFileObject: 'Readable',
|
|
234
|
+
certName: 'string',
|
|
235
|
+
certNo: 'string',
|
|
236
|
+
certType: 'string',
|
|
237
|
+
certifyId: 'string',
|
|
238
|
+
crop: 'string',
|
|
239
|
+
deviceToken: 'string',
|
|
240
|
+
faceContrastPicture: 'string',
|
|
241
|
+
faceContrastPictureUrl: 'string',
|
|
242
|
+
ip: 'string',
|
|
243
|
+
mobile: 'string',
|
|
244
|
+
model: 'string',
|
|
245
|
+
ossBucketName: 'string',
|
|
246
|
+
ossObjectName: 'string',
|
|
247
|
+
outerOrderNo: 'string',
|
|
248
|
+
productCode: 'string',
|
|
249
|
+
sceneId: 'number',
|
|
250
|
+
userId: 'string',
|
|
191
251
|
};
|
|
192
252
|
}
|
|
193
253
|
}
|
|
194
|
-
exports.
|
|
195
|
-
class
|
|
254
|
+
exports.ContrastFaceVerifyAdvanceRequest = ContrastFaceVerifyAdvanceRequest;
|
|
255
|
+
class CreateAuthKeyRequest extends $tea.Model {
|
|
196
256
|
constructor(map) {
|
|
197
257
|
super(map);
|
|
198
258
|
}
|
|
199
259
|
static names() {
|
|
200
260
|
return {
|
|
201
|
-
|
|
202
|
-
lang: 'Lang',
|
|
261
|
+
authYears: 'AuthYears',
|
|
203
262
|
bizType: 'BizType',
|
|
204
|
-
|
|
263
|
+
test: 'Test',
|
|
264
|
+
userDeviceId: 'UserDeviceId',
|
|
205
265
|
};
|
|
206
266
|
}
|
|
207
267
|
static types() {
|
|
208
268
|
return {
|
|
209
|
-
|
|
210
|
-
lang: 'string',
|
|
269
|
+
authYears: 'number',
|
|
211
270
|
bizType: 'string',
|
|
212
|
-
|
|
271
|
+
test: 'boolean',
|
|
272
|
+
userDeviceId: 'string',
|
|
213
273
|
};
|
|
214
274
|
}
|
|
215
275
|
}
|
|
216
|
-
exports.
|
|
217
|
-
class
|
|
276
|
+
exports.CreateAuthKeyRequest = CreateAuthKeyRequest;
|
|
277
|
+
class CreateAuthKeyResponse extends $tea.Model {
|
|
218
278
|
constructor(map) {
|
|
219
279
|
super(map);
|
|
220
280
|
}
|
|
221
281
|
static names() {
|
|
222
282
|
return {
|
|
283
|
+
authKey: 'AuthKey',
|
|
223
284
|
requestId: 'RequestId',
|
|
224
285
|
};
|
|
225
286
|
}
|
|
226
287
|
static types() {
|
|
227
288
|
return {
|
|
289
|
+
authKey: 'string',
|
|
228
290
|
requestId: 'string',
|
|
229
291
|
};
|
|
230
292
|
}
|
|
231
293
|
}
|
|
232
|
-
exports.
|
|
294
|
+
exports.CreateAuthKeyResponse = CreateAuthKeyResponse;
|
|
233
295
|
class CreateFaceConfigRequest extends $tea.Model {
|
|
234
296
|
constructor(map) {
|
|
235
297
|
super(map);
|
|
236
298
|
}
|
|
237
299
|
static names() {
|
|
238
300
|
return {
|
|
239
|
-
sourceIp: 'SourceIp',
|
|
240
|
-
lang: 'Lang',
|
|
241
|
-
bizType: 'BizType',
|
|
242
301
|
bizName: 'BizName',
|
|
302
|
+
bizType: 'BizType',
|
|
303
|
+
lang: 'Lang',
|
|
304
|
+
sourceIp: 'SourceIp',
|
|
243
305
|
};
|
|
244
306
|
}
|
|
245
307
|
static types() {
|
|
246
308
|
return {
|
|
247
|
-
sourceIp: 'string',
|
|
248
|
-
lang: 'string',
|
|
249
|
-
bizType: 'string',
|
|
250
309
|
bizName: 'string',
|
|
310
|
+
bizType: 'string',
|
|
311
|
+
lang: 'string',
|
|
312
|
+
sourceIp: 'string',
|
|
251
313
|
};
|
|
252
314
|
}
|
|
253
315
|
}
|
|
@@ -268,693 +330,595 @@ class CreateFaceConfigResponse extends $tea.Model {
|
|
|
268
330
|
}
|
|
269
331
|
}
|
|
270
332
|
exports.CreateFaceConfigResponse = CreateFaceConfigResponse;
|
|
271
|
-
class
|
|
333
|
+
class CreateRPSDKRequest extends $tea.Model {
|
|
272
334
|
constructor(map) {
|
|
273
335
|
super(map);
|
|
274
336
|
}
|
|
275
337
|
static names() {
|
|
276
338
|
return {
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
deviceToken: 'DeviceToken',
|
|
282
|
-
mobile: 'Mobile',
|
|
283
|
-
ip: 'Ip',
|
|
284
|
-
userId: 'UserId',
|
|
285
|
-
faceContrastPictureUrl: 'FaceContrastPictureUrl',
|
|
286
|
-
certifyId: 'CertifyId',
|
|
287
|
-
ossBucketName: 'OssBucketName',
|
|
288
|
-
ossObjectName: 'OssObjectName',
|
|
289
|
-
model: 'Model',
|
|
339
|
+
appUrl: 'AppUrl',
|
|
340
|
+
lang: 'Lang',
|
|
341
|
+
platform: 'Platform',
|
|
342
|
+
sourceIp: 'SourceIp',
|
|
290
343
|
};
|
|
291
344
|
}
|
|
292
345
|
static types() {
|
|
293
346
|
return {
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
deviceToken: 'string',
|
|
299
|
-
mobile: 'string',
|
|
300
|
-
ip: 'string',
|
|
301
|
-
userId: 'string',
|
|
302
|
-
faceContrastPictureUrl: 'string',
|
|
303
|
-
certifyId: 'string',
|
|
304
|
-
ossBucketName: 'string',
|
|
305
|
-
ossObjectName: 'string',
|
|
306
|
-
model: 'string',
|
|
347
|
+
appUrl: 'string',
|
|
348
|
+
lang: 'string',
|
|
349
|
+
platform: 'string',
|
|
350
|
+
sourceIp: 'string',
|
|
307
351
|
};
|
|
308
352
|
}
|
|
309
353
|
}
|
|
310
|
-
exports.
|
|
311
|
-
class
|
|
354
|
+
exports.CreateRPSDKRequest = CreateRPSDKRequest;
|
|
355
|
+
class CreateRPSDKResponse extends $tea.Model {
|
|
312
356
|
constructor(map) {
|
|
313
357
|
super(map);
|
|
314
358
|
}
|
|
315
359
|
static names() {
|
|
316
360
|
return {
|
|
317
361
|
requestId: 'RequestId',
|
|
318
|
-
|
|
319
|
-
code: 'Code',
|
|
320
|
-
resultObject: 'ResultObject',
|
|
362
|
+
taskId: 'TaskId',
|
|
321
363
|
};
|
|
322
364
|
}
|
|
323
365
|
static types() {
|
|
324
366
|
return {
|
|
325
367
|
requestId: 'string',
|
|
326
|
-
|
|
327
|
-
code: 'string',
|
|
328
|
-
resultObject: LivenessFaceVerifyResponseResultObject,
|
|
368
|
+
taskId: 'string',
|
|
329
369
|
};
|
|
330
370
|
}
|
|
331
371
|
}
|
|
332
|
-
exports.
|
|
333
|
-
class
|
|
372
|
+
exports.CreateRPSDKResponse = CreateRPSDKResponse;
|
|
373
|
+
class CreateVerifySDKRequest extends $tea.Model {
|
|
334
374
|
constructor(map) {
|
|
335
375
|
super(map);
|
|
336
376
|
}
|
|
337
377
|
static names() {
|
|
338
378
|
return {
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
productCode: 'ProductCode',
|
|
342
|
-
sourceFaceContrastPicture: 'SourceFaceContrastPicture',
|
|
343
|
-
sourceFaceContrastPictureUrl: 'SourceFaceContrastPictureUrl',
|
|
344
|
-
sourceCertifyId: 'SourceCertifyId',
|
|
345
|
-
sourceOssBucketName: 'SourceOssBucketName',
|
|
346
|
-
sourceOssObjectName: 'SourceOssObjectName',
|
|
347
|
-
targetFaceContrastPicture: 'TargetFaceContrastPicture',
|
|
348
|
-
targetFaceContrastPictureUrl: 'TargetFaceContrastPictureUrl',
|
|
349
|
-
targetCertifyId: 'TargetCertifyId',
|
|
350
|
-
targetOssBucketName: 'TargetOssBucketName',
|
|
351
|
-
targetOssObjectName: 'TargetOssObjectName',
|
|
379
|
+
appUrl: 'AppUrl',
|
|
380
|
+
platform: 'Platform',
|
|
352
381
|
};
|
|
353
382
|
}
|
|
354
383
|
static types() {
|
|
355
384
|
return {
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
productCode: 'string',
|
|
359
|
-
sourceFaceContrastPicture: 'string',
|
|
360
|
-
sourceFaceContrastPictureUrl: 'string',
|
|
361
|
-
sourceCertifyId: 'string',
|
|
362
|
-
sourceOssBucketName: 'string',
|
|
363
|
-
sourceOssObjectName: 'string',
|
|
364
|
-
targetFaceContrastPicture: 'string',
|
|
365
|
-
targetFaceContrastPictureUrl: 'string',
|
|
366
|
-
targetCertifyId: 'string',
|
|
367
|
-
targetOssBucketName: 'string',
|
|
368
|
-
targetOssObjectName: 'string',
|
|
385
|
+
appUrl: 'string',
|
|
386
|
+
platform: 'string',
|
|
369
387
|
};
|
|
370
388
|
}
|
|
371
389
|
}
|
|
372
|
-
exports.
|
|
373
|
-
class
|
|
390
|
+
exports.CreateVerifySDKRequest = CreateVerifySDKRequest;
|
|
391
|
+
class CreateVerifySDKResponse extends $tea.Model {
|
|
374
392
|
constructor(map) {
|
|
375
393
|
super(map);
|
|
376
394
|
}
|
|
377
395
|
static names() {
|
|
378
396
|
return {
|
|
379
397
|
requestId: 'RequestId',
|
|
380
|
-
|
|
381
|
-
code: 'Code',
|
|
382
|
-
resultObject: 'ResultObject',
|
|
398
|
+
taskId: 'TaskId',
|
|
383
399
|
};
|
|
384
400
|
}
|
|
385
401
|
static types() {
|
|
386
402
|
return {
|
|
387
403
|
requestId: 'string',
|
|
388
|
-
|
|
389
|
-
code: 'string',
|
|
390
|
-
resultObject: CompareFaceVerifyResponseResultObject,
|
|
404
|
+
taskId: 'string',
|
|
391
405
|
};
|
|
392
406
|
}
|
|
393
407
|
}
|
|
394
|
-
exports.
|
|
395
|
-
class
|
|
408
|
+
exports.CreateVerifySDKResponse = CreateVerifySDKResponse;
|
|
409
|
+
class CreateVerifySettingRequest extends $tea.Model {
|
|
396
410
|
constructor(map) {
|
|
397
411
|
super(map);
|
|
398
412
|
}
|
|
399
413
|
static names() {
|
|
400
414
|
return {
|
|
401
|
-
|
|
402
|
-
|
|
415
|
+
bizName: 'BizName',
|
|
416
|
+
bizType: 'BizType',
|
|
417
|
+
guideStep: 'GuideStep',
|
|
418
|
+
privacyStep: 'PrivacyStep',
|
|
419
|
+
resultStep: 'ResultStep',
|
|
420
|
+
solution: 'Solution',
|
|
403
421
|
};
|
|
404
422
|
}
|
|
405
423
|
static types() {
|
|
406
424
|
return {
|
|
407
|
-
|
|
408
|
-
|
|
425
|
+
bizName: 'string',
|
|
426
|
+
bizType: 'string',
|
|
427
|
+
guideStep: 'boolean',
|
|
428
|
+
privacyStep: 'boolean',
|
|
429
|
+
resultStep: 'boolean',
|
|
430
|
+
solution: 'string',
|
|
409
431
|
};
|
|
410
432
|
}
|
|
411
433
|
}
|
|
412
|
-
exports.
|
|
413
|
-
class
|
|
434
|
+
exports.CreateVerifySettingRequest = CreateVerifySettingRequest;
|
|
435
|
+
class CreateVerifySettingResponse extends $tea.Model {
|
|
414
436
|
constructor(map) {
|
|
415
437
|
super(map);
|
|
416
438
|
}
|
|
417
439
|
static names() {
|
|
418
440
|
return {
|
|
441
|
+
bizName: 'BizName',
|
|
442
|
+
bizType: 'BizType',
|
|
419
443
|
requestId: 'RequestId',
|
|
420
|
-
|
|
444
|
+
solution: 'Solution',
|
|
445
|
+
stepList: 'StepList',
|
|
421
446
|
};
|
|
422
447
|
}
|
|
423
448
|
static types() {
|
|
424
449
|
return {
|
|
450
|
+
bizName: 'string',
|
|
451
|
+
bizType: 'string',
|
|
425
452
|
requestId: 'string',
|
|
426
|
-
|
|
453
|
+
solution: 'string',
|
|
454
|
+
stepList: { 'type': 'array', 'itemType': 'string' },
|
|
427
455
|
};
|
|
428
456
|
}
|
|
429
457
|
}
|
|
430
|
-
exports.
|
|
431
|
-
class
|
|
458
|
+
exports.CreateVerifySettingResponse = CreateVerifySettingResponse;
|
|
459
|
+
class CreateWhitelistRequest extends $tea.Model {
|
|
432
460
|
constructor(map) {
|
|
433
461
|
super(map);
|
|
434
462
|
}
|
|
435
463
|
static names() {
|
|
436
464
|
return {
|
|
437
|
-
|
|
465
|
+
bizId: 'BizId',
|
|
466
|
+
bizType: 'BizType',
|
|
467
|
+
idCardNum: 'IdCardNum',
|
|
468
|
+
lang: 'Lang',
|
|
469
|
+
sourceIp: 'SourceIp',
|
|
470
|
+
validDay: 'ValidDay',
|
|
438
471
|
};
|
|
439
472
|
}
|
|
440
473
|
static types() {
|
|
441
474
|
return {
|
|
442
|
-
|
|
475
|
+
bizId: 'string',
|
|
476
|
+
bizType: 'string',
|
|
477
|
+
idCardNum: 'string',
|
|
478
|
+
lang: 'string',
|
|
479
|
+
sourceIp: 'string',
|
|
480
|
+
validDay: 'string',
|
|
443
481
|
};
|
|
444
482
|
}
|
|
445
483
|
}
|
|
446
|
-
exports.
|
|
447
|
-
class
|
|
484
|
+
exports.CreateWhitelistRequest = CreateWhitelistRequest;
|
|
485
|
+
class CreateWhitelistResponse extends $tea.Model {
|
|
448
486
|
constructor(map) {
|
|
449
487
|
super(map);
|
|
450
488
|
}
|
|
451
489
|
static names() {
|
|
452
490
|
return {
|
|
453
491
|
requestId: 'RequestId',
|
|
454
|
-
appInfo: 'AppInfo',
|
|
455
492
|
};
|
|
456
493
|
}
|
|
457
494
|
static types() {
|
|
458
495
|
return {
|
|
459
496
|
requestId: 'string',
|
|
460
|
-
appInfo: DescribeUpdatePackageResultResponseAppInfo,
|
|
461
497
|
};
|
|
462
498
|
}
|
|
463
499
|
}
|
|
464
|
-
exports.
|
|
465
|
-
class
|
|
500
|
+
exports.CreateWhitelistResponse = CreateWhitelistResponse;
|
|
501
|
+
class CreateWhitelistSettingRequest extends $tea.Model {
|
|
466
502
|
constructor(map) {
|
|
467
503
|
super(map);
|
|
468
504
|
}
|
|
469
505
|
static names() {
|
|
470
506
|
return {
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
507
|
+
certNo: 'CertNo',
|
|
508
|
+
certifyId: 'CertifyId',
|
|
509
|
+
lang: 'Lang',
|
|
510
|
+
sceneId: 'SceneId',
|
|
511
|
+
serviceCode: 'ServiceCode',
|
|
512
|
+
sourceIp: 'SourceIp',
|
|
513
|
+
validDay: 'ValidDay',
|
|
475
514
|
};
|
|
476
515
|
}
|
|
477
516
|
static types() {
|
|
478
517
|
return {
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
518
|
+
certNo: 'string',
|
|
519
|
+
certifyId: 'string',
|
|
520
|
+
lang: 'string',
|
|
521
|
+
sceneId: 'number',
|
|
522
|
+
serviceCode: 'string',
|
|
523
|
+
sourceIp: 'string',
|
|
524
|
+
validDay: 'number',
|
|
483
525
|
};
|
|
484
526
|
}
|
|
485
527
|
}
|
|
486
|
-
exports.
|
|
487
|
-
class
|
|
528
|
+
exports.CreateWhitelistSettingRequest = CreateWhitelistSettingRequest;
|
|
529
|
+
class CreateWhitelistSettingResponse extends $tea.Model {
|
|
488
530
|
constructor(map) {
|
|
489
531
|
super(map);
|
|
490
532
|
}
|
|
491
533
|
static names() {
|
|
492
534
|
return {
|
|
493
535
|
requestId: 'RequestId',
|
|
494
|
-
|
|
536
|
+
resultObject: 'ResultObject',
|
|
495
537
|
};
|
|
496
538
|
}
|
|
497
539
|
static types() {
|
|
498
540
|
return {
|
|
499
541
|
requestId: 'string',
|
|
500
|
-
|
|
542
|
+
resultObject: 'boolean',
|
|
501
543
|
};
|
|
502
544
|
}
|
|
503
545
|
}
|
|
504
|
-
exports.
|
|
505
|
-
class
|
|
546
|
+
exports.CreateWhitelistSettingResponse = CreateWhitelistSettingResponse;
|
|
547
|
+
class DeleteWhitelistRequest extends $tea.Model {
|
|
506
548
|
constructor(map) {
|
|
507
549
|
super(map);
|
|
508
550
|
}
|
|
509
551
|
static names() {
|
|
510
552
|
return {
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
553
|
+
ids: 'Ids',
|
|
554
|
+
lang: 'Lang',
|
|
555
|
+
sourceIp: 'SourceIp',
|
|
514
556
|
};
|
|
515
557
|
}
|
|
516
558
|
static types() {
|
|
517
559
|
return {
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
560
|
+
ids: 'string',
|
|
561
|
+
lang: 'string',
|
|
562
|
+
sourceIp: 'string',
|
|
521
563
|
};
|
|
522
564
|
}
|
|
523
565
|
}
|
|
524
|
-
exports.
|
|
525
|
-
class
|
|
566
|
+
exports.DeleteWhitelistRequest = DeleteWhitelistRequest;
|
|
567
|
+
class DeleteWhitelistResponse extends $tea.Model {
|
|
526
568
|
constructor(map) {
|
|
527
569
|
super(map);
|
|
528
570
|
}
|
|
529
571
|
static names() {
|
|
530
572
|
return {
|
|
531
573
|
requestId: 'RequestId',
|
|
532
|
-
pageSize: 'PageSize',
|
|
533
|
-
currentPage: 'CurrentPage',
|
|
534
|
-
totalCount: 'TotalCount',
|
|
535
|
-
appInfoList: 'AppInfoList',
|
|
536
574
|
};
|
|
537
575
|
}
|
|
538
576
|
static types() {
|
|
539
577
|
return {
|
|
540
578
|
requestId: 'string',
|
|
541
|
-
pageSize: 'number',
|
|
542
|
-
currentPage: 'number',
|
|
543
|
-
totalCount: 'number',
|
|
544
|
-
appInfoList: { 'type': 'array', 'itemType': DescribeAppInfoResponseAppInfoList },
|
|
545
579
|
};
|
|
546
580
|
}
|
|
547
581
|
}
|
|
548
|
-
exports.
|
|
549
|
-
class
|
|
582
|
+
exports.DeleteWhitelistResponse = DeleteWhitelistResponse;
|
|
583
|
+
class DeleteWhitelistSettingRequest extends $tea.Model {
|
|
550
584
|
constructor(map) {
|
|
551
585
|
super(map);
|
|
552
586
|
}
|
|
553
587
|
static names() {
|
|
554
588
|
return {
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
certName: 'CertName',
|
|
560
|
-
certNo: 'CertNo',
|
|
561
|
-
faceContrastPicture: 'FaceContrastPicture',
|
|
562
|
-
deviceToken: 'DeviceToken',
|
|
563
|
-
mobile: 'Mobile',
|
|
564
|
-
ip: 'Ip',
|
|
565
|
-
userId: 'UserId',
|
|
566
|
-
faceContrastPictureUrl: 'FaceContrastPictureUrl',
|
|
567
|
-
certifyId: 'CertifyId',
|
|
568
|
-
ossBucketName: 'OssBucketName',
|
|
569
|
-
ossObjectName: 'OssObjectName',
|
|
570
|
-
model: 'Model',
|
|
571
|
-
faceContrastFile: 'FaceContrastFile',
|
|
589
|
+
ids: 'Ids',
|
|
590
|
+
lang: 'Lang',
|
|
591
|
+
serviceCode: 'ServiceCode',
|
|
592
|
+
sourceIp: 'SourceIp',
|
|
572
593
|
};
|
|
573
594
|
}
|
|
574
595
|
static types() {
|
|
575
596
|
return {
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
certName: 'string',
|
|
581
|
-
certNo: 'string',
|
|
582
|
-
faceContrastPicture: 'string',
|
|
583
|
-
deviceToken: 'string',
|
|
584
|
-
mobile: 'string',
|
|
585
|
-
ip: 'string',
|
|
586
|
-
userId: 'string',
|
|
587
|
-
faceContrastPictureUrl: 'string',
|
|
588
|
-
certifyId: 'string',
|
|
589
|
-
ossBucketName: 'string',
|
|
590
|
-
ossObjectName: 'string',
|
|
591
|
-
model: 'string',
|
|
592
|
-
faceContrastFile: 'string',
|
|
597
|
+
ids: 'string',
|
|
598
|
+
lang: 'string',
|
|
599
|
+
serviceCode: 'string',
|
|
600
|
+
sourceIp: 'string',
|
|
593
601
|
};
|
|
594
602
|
}
|
|
595
603
|
}
|
|
596
|
-
exports.
|
|
597
|
-
class
|
|
604
|
+
exports.DeleteWhitelistSettingRequest = DeleteWhitelistSettingRequest;
|
|
605
|
+
class DeleteWhitelistSettingResponse extends $tea.Model {
|
|
598
606
|
constructor(map) {
|
|
599
607
|
super(map);
|
|
600
608
|
}
|
|
601
609
|
static names() {
|
|
602
610
|
return {
|
|
603
611
|
requestId: 'RequestId',
|
|
604
|
-
message: 'Message',
|
|
605
|
-
code: 'Code',
|
|
606
612
|
resultObject: 'ResultObject',
|
|
607
613
|
};
|
|
608
614
|
}
|
|
609
615
|
static types() {
|
|
610
616
|
return {
|
|
611
617
|
requestId: 'string',
|
|
612
|
-
|
|
613
|
-
code: 'string',
|
|
614
|
-
resultObject: ContrastFaceVerifyResponseResultObject,
|
|
618
|
+
resultObject: 'boolean',
|
|
615
619
|
};
|
|
616
620
|
}
|
|
617
621
|
}
|
|
618
|
-
exports.
|
|
619
|
-
class
|
|
622
|
+
exports.DeleteWhitelistSettingResponse = DeleteWhitelistSettingResponse;
|
|
623
|
+
class DescribeAppInfoRequest extends $tea.Model {
|
|
620
624
|
constructor(map) {
|
|
621
625
|
super(map);
|
|
622
626
|
}
|
|
623
627
|
static names() {
|
|
624
628
|
return {
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
productCode: 'ProductCode',
|
|
629
|
-
certType: 'CertType',
|
|
630
|
-
certName: 'CertName',
|
|
631
|
-
certNo: 'CertNo',
|
|
632
|
-
faceContrastPicture: 'FaceContrastPicture',
|
|
633
|
-
deviceToken: 'DeviceToken',
|
|
634
|
-
mobile: 'Mobile',
|
|
635
|
-
ip: 'Ip',
|
|
636
|
-
userId: 'UserId',
|
|
637
|
-
faceContrastPictureUrl: 'FaceContrastPictureUrl',
|
|
638
|
-
certifyId: 'CertifyId',
|
|
639
|
-
ossBucketName: 'OssBucketName',
|
|
640
|
-
ossObjectName: 'OssObjectName',
|
|
641
|
-
model: 'Model',
|
|
629
|
+
currentPage: 'CurrentPage',
|
|
630
|
+
pageSize: 'PageSize',
|
|
631
|
+
platform: 'Platform',
|
|
642
632
|
};
|
|
643
633
|
}
|
|
644
634
|
static types() {
|
|
645
635
|
return {
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
productCode: 'string',
|
|
650
|
-
certType: 'string',
|
|
651
|
-
certName: 'string',
|
|
652
|
-
certNo: 'string',
|
|
653
|
-
faceContrastPicture: 'string',
|
|
654
|
-
deviceToken: 'string',
|
|
655
|
-
mobile: 'string',
|
|
656
|
-
ip: 'string',
|
|
657
|
-
userId: 'string',
|
|
658
|
-
faceContrastPictureUrl: 'string',
|
|
659
|
-
certifyId: 'string',
|
|
660
|
-
ossBucketName: 'string',
|
|
661
|
-
ossObjectName: 'string',
|
|
662
|
-
model: 'string',
|
|
636
|
+
currentPage: 'number',
|
|
637
|
+
pageSize: 'number',
|
|
638
|
+
platform: 'string',
|
|
663
639
|
};
|
|
664
640
|
}
|
|
665
641
|
}
|
|
666
|
-
exports.
|
|
667
|
-
class
|
|
642
|
+
exports.DescribeAppInfoRequest = DescribeAppInfoRequest;
|
|
643
|
+
class DescribeAppInfoResponse extends $tea.Model {
|
|
668
644
|
constructor(map) {
|
|
669
645
|
super(map);
|
|
670
646
|
}
|
|
671
647
|
static names() {
|
|
672
648
|
return {
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
produceNode: 'ProduceNode',
|
|
679
|
-
bizData: 'BizData',
|
|
680
|
-
metaInfo: 'MetaInfo',
|
|
681
|
-
certifyPrincipal: 'CertifyPrincipal',
|
|
682
|
-
appVersion: 'AppVersion',
|
|
683
|
-
deviceToken: 'DeviceToken',
|
|
684
|
-
uaToken: 'UaToken',
|
|
685
|
-
webUmidToken: 'WebUmidToken',
|
|
649
|
+
currentPage: 'CurrentPage',
|
|
650
|
+
pageSize: 'PageSize',
|
|
651
|
+
requestId: 'RequestId',
|
|
652
|
+
totalCount: 'TotalCount',
|
|
653
|
+
appInfoList: 'AppInfoList',
|
|
686
654
|
};
|
|
687
655
|
}
|
|
688
656
|
static types() {
|
|
689
657
|
return {
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
produceNode: 'string',
|
|
696
|
-
bizData: 'string',
|
|
697
|
-
metaInfo: 'string',
|
|
698
|
-
certifyPrincipal: 'string',
|
|
699
|
-
appVersion: 'string',
|
|
700
|
-
deviceToken: 'string',
|
|
701
|
-
uaToken: 'string',
|
|
702
|
-
webUmidToken: 'string',
|
|
658
|
+
currentPage: 'number',
|
|
659
|
+
pageSize: 'number',
|
|
660
|
+
requestId: 'string',
|
|
661
|
+
totalCount: 'number',
|
|
662
|
+
appInfoList: { 'type': 'array', 'itemType': DescribeAppInfoResponseAppInfoList },
|
|
703
663
|
};
|
|
704
664
|
}
|
|
705
665
|
}
|
|
706
|
-
exports.
|
|
707
|
-
class
|
|
666
|
+
exports.DescribeAppInfoResponse = DescribeAppInfoResponse;
|
|
667
|
+
class DescribeDeviceInfoRequest extends $tea.Model {
|
|
668
|
+
constructor(map) {
|
|
669
|
+
super(map);
|
|
670
|
+
}
|
|
671
|
+
static names() {
|
|
672
|
+
return {
|
|
673
|
+
bizType: 'BizType',
|
|
674
|
+
currentPage: 'CurrentPage',
|
|
675
|
+
deviceId: 'DeviceId',
|
|
676
|
+
expiredEndDay: 'ExpiredEndDay',
|
|
677
|
+
expiredStartDay: 'ExpiredStartDay',
|
|
678
|
+
pageSize: 'PageSize',
|
|
679
|
+
userDeviceId: 'UserDeviceId',
|
|
680
|
+
};
|
|
681
|
+
}
|
|
682
|
+
static types() {
|
|
683
|
+
return {
|
|
684
|
+
bizType: 'string',
|
|
685
|
+
currentPage: 'number',
|
|
686
|
+
deviceId: 'string',
|
|
687
|
+
expiredEndDay: 'string',
|
|
688
|
+
expiredStartDay: 'string',
|
|
689
|
+
pageSize: 'number',
|
|
690
|
+
userDeviceId: 'string',
|
|
691
|
+
};
|
|
692
|
+
}
|
|
693
|
+
}
|
|
694
|
+
exports.DescribeDeviceInfoRequest = DescribeDeviceInfoRequest;
|
|
695
|
+
class DescribeDeviceInfoResponse extends $tea.Model {
|
|
708
696
|
constructor(map) {
|
|
709
697
|
super(map);
|
|
710
698
|
}
|
|
711
699
|
static names() {
|
|
712
700
|
return {
|
|
701
|
+
currentPage: 'CurrentPage',
|
|
702
|
+
pageSize: 'PageSize',
|
|
713
703
|
requestId: 'RequestId',
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
resultObject: 'ResultObject',
|
|
704
|
+
totalCount: 'TotalCount',
|
|
705
|
+
deviceInfoList: 'DeviceInfoList',
|
|
717
706
|
};
|
|
718
707
|
}
|
|
719
708
|
static types() {
|
|
720
709
|
return {
|
|
710
|
+
currentPage: 'number',
|
|
711
|
+
pageSize: 'number',
|
|
721
712
|
requestId: 'string',
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
resultObject: InitDeviceResponseResultObject,
|
|
713
|
+
totalCount: 'number',
|
|
714
|
+
deviceInfoList: DescribeDeviceInfoResponseDeviceInfoList,
|
|
725
715
|
};
|
|
726
716
|
}
|
|
727
717
|
}
|
|
728
|
-
exports.
|
|
729
|
-
class
|
|
718
|
+
exports.DescribeDeviceInfoResponse = DescribeDeviceInfoResponse;
|
|
719
|
+
class DescribeFaceConfigRequest extends $tea.Model {
|
|
730
720
|
constructor(map) {
|
|
731
721
|
super(map);
|
|
732
722
|
}
|
|
733
723
|
static names() {
|
|
734
724
|
return {
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
productCode: 'ProductCode',
|
|
738
|
-
certType: 'CertType',
|
|
739
|
-
certName: 'CertName',
|
|
740
|
-
certNo: 'CertNo',
|
|
741
|
-
returnUrl: 'ReturnUrl',
|
|
742
|
-
faceContrastPicture: 'FaceContrastPicture',
|
|
743
|
-
metaInfo: 'MetaInfo',
|
|
744
|
-
mobile: 'Mobile',
|
|
745
|
-
ip: 'Ip',
|
|
746
|
-
userId: 'UserId',
|
|
747
|
-
faceContrastPictureUrl: 'FaceContrastPictureUrl',
|
|
748
|
-
certifyId: 'CertifyId',
|
|
749
|
-
ossBucketName: 'OssBucketName',
|
|
750
|
-
ossObjectName: 'OssObjectName',
|
|
751
|
-
model: 'Model',
|
|
752
|
-
callbackUrl: 'CallbackUrl',
|
|
753
|
-
callbackToken: 'CallbackToken',
|
|
725
|
+
lang: 'Lang',
|
|
726
|
+
sourceIp: 'SourceIp',
|
|
754
727
|
};
|
|
755
728
|
}
|
|
756
729
|
static types() {
|
|
757
730
|
return {
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
productCode: 'string',
|
|
761
|
-
certType: 'string',
|
|
762
|
-
certName: 'string',
|
|
763
|
-
certNo: 'string',
|
|
764
|
-
returnUrl: 'string',
|
|
765
|
-
faceContrastPicture: 'string',
|
|
766
|
-
metaInfo: 'string',
|
|
767
|
-
mobile: 'string',
|
|
768
|
-
ip: 'string',
|
|
769
|
-
userId: 'string',
|
|
770
|
-
faceContrastPictureUrl: 'string',
|
|
771
|
-
certifyId: 'string',
|
|
772
|
-
ossBucketName: 'string',
|
|
773
|
-
ossObjectName: 'string',
|
|
774
|
-
model: 'string',
|
|
775
|
-
callbackUrl: 'string',
|
|
776
|
-
callbackToken: 'string',
|
|
731
|
+
lang: 'string',
|
|
732
|
+
sourceIp: 'string',
|
|
777
733
|
};
|
|
778
734
|
}
|
|
779
735
|
}
|
|
780
|
-
exports.
|
|
781
|
-
class
|
|
736
|
+
exports.DescribeFaceConfigRequest = DescribeFaceConfigRequest;
|
|
737
|
+
class DescribeFaceConfigResponse extends $tea.Model {
|
|
782
738
|
constructor(map) {
|
|
783
739
|
super(map);
|
|
784
740
|
}
|
|
785
741
|
static names() {
|
|
786
742
|
return {
|
|
787
743
|
requestId: 'RequestId',
|
|
788
|
-
|
|
789
|
-
code: 'Code',
|
|
790
|
-
resultObject: 'ResultObject',
|
|
744
|
+
items: 'Items',
|
|
791
745
|
};
|
|
792
746
|
}
|
|
793
747
|
static types() {
|
|
794
748
|
return {
|
|
795
749
|
requestId: 'string',
|
|
796
|
-
|
|
797
|
-
code: 'string',
|
|
798
|
-
resultObject: InitFaceVerifyResponseResultObject,
|
|
750
|
+
items: { 'type': 'array', 'itemType': DescribeFaceConfigResponseItems },
|
|
799
751
|
};
|
|
800
752
|
}
|
|
801
753
|
}
|
|
802
|
-
exports.
|
|
803
|
-
class
|
|
754
|
+
exports.DescribeFaceConfigResponse = DescribeFaceConfigResponse;
|
|
755
|
+
class DescribeFaceUsageRequest extends $tea.Model {
|
|
804
756
|
constructor(map) {
|
|
805
757
|
super(map);
|
|
806
758
|
}
|
|
807
759
|
static names() {
|
|
808
760
|
return {
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
pictureReturnType: 'PictureReturnType',
|
|
761
|
+
endDate: 'EndDate',
|
|
762
|
+
startDate: 'StartDate',
|
|
812
763
|
};
|
|
813
764
|
}
|
|
814
765
|
static types() {
|
|
815
766
|
return {
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
pictureReturnType: 'string',
|
|
767
|
+
endDate: 'string',
|
|
768
|
+
startDate: 'string',
|
|
819
769
|
};
|
|
820
770
|
}
|
|
821
771
|
}
|
|
822
|
-
exports.
|
|
823
|
-
class
|
|
772
|
+
exports.DescribeFaceUsageRequest = DescribeFaceUsageRequest;
|
|
773
|
+
class DescribeFaceUsageResponse extends $tea.Model {
|
|
824
774
|
constructor(map) {
|
|
825
775
|
super(map);
|
|
826
776
|
}
|
|
827
777
|
static names() {
|
|
828
778
|
return {
|
|
829
779
|
requestId: 'RequestId',
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
resultObject: 'ResultObject',
|
|
780
|
+
totalCount: 'TotalCount',
|
|
781
|
+
faceUsageList: 'FaceUsageList',
|
|
833
782
|
};
|
|
834
783
|
}
|
|
835
784
|
static types() {
|
|
836
785
|
return {
|
|
837
786
|
requestId: 'string',
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
resultObject: DescribeFaceVerifyResponseResultObject,
|
|
787
|
+
totalCount: 'number',
|
|
788
|
+
faceUsageList: { 'type': 'array', 'itemType': DescribeFaceUsageResponseFaceUsageList },
|
|
841
789
|
};
|
|
842
790
|
}
|
|
843
791
|
}
|
|
844
|
-
exports.
|
|
845
|
-
class
|
|
792
|
+
exports.DescribeFaceUsageResponse = DescribeFaceUsageResponse;
|
|
793
|
+
class DescribeFaceVerifyRequest extends $tea.Model {
|
|
846
794
|
constructor(map) {
|
|
847
795
|
super(map);
|
|
848
796
|
}
|
|
849
797
|
static names() {
|
|
850
798
|
return {
|
|
851
799
|
certifyId: 'CertifyId',
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
extInfo: 'ExtInfo',
|
|
855
|
-
deviceToken: 'DeviceToken',
|
|
800
|
+
pictureReturnType: 'PictureReturnType',
|
|
801
|
+
sceneId: 'SceneId',
|
|
856
802
|
};
|
|
857
803
|
}
|
|
858
804
|
static types() {
|
|
859
805
|
return {
|
|
860
806
|
certifyId: 'string',
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
extInfo: 'string',
|
|
864
|
-
deviceToken: 'string',
|
|
807
|
+
pictureReturnType: 'string',
|
|
808
|
+
sceneId: 'number',
|
|
865
809
|
};
|
|
866
810
|
}
|
|
867
811
|
}
|
|
868
|
-
exports.
|
|
869
|
-
class
|
|
812
|
+
exports.DescribeFaceVerifyRequest = DescribeFaceVerifyRequest;
|
|
813
|
+
class DescribeFaceVerifyResponse extends $tea.Model {
|
|
870
814
|
constructor(map) {
|
|
871
815
|
super(map);
|
|
872
816
|
}
|
|
873
817
|
static names() {
|
|
874
818
|
return {
|
|
875
|
-
requestId: 'RequestId',
|
|
876
819
|
code: 'Code',
|
|
877
820
|
message: 'Message',
|
|
821
|
+
requestId: 'RequestId',
|
|
878
822
|
resultObject: 'ResultObject',
|
|
879
823
|
};
|
|
880
824
|
}
|
|
881
825
|
static types() {
|
|
882
826
|
return {
|
|
883
|
-
requestId: 'string',
|
|
884
827
|
code: 'string',
|
|
885
828
|
message: 'string',
|
|
886
|
-
|
|
829
|
+
requestId: 'string',
|
|
830
|
+
resultObject: DescribeFaceVerifyResponseResultObject,
|
|
887
831
|
};
|
|
888
832
|
}
|
|
889
833
|
}
|
|
890
|
-
exports.
|
|
891
|
-
class
|
|
834
|
+
exports.DescribeFaceVerifyResponse = DescribeFaceVerifyResponse;
|
|
835
|
+
class DescribeOssUploadTokenRequest extends $tea.Model {
|
|
836
|
+
static names() {
|
|
837
|
+
return {};
|
|
838
|
+
}
|
|
839
|
+
static types() {
|
|
840
|
+
return {};
|
|
841
|
+
}
|
|
842
|
+
constructor(map) {
|
|
843
|
+
super(map);
|
|
844
|
+
}
|
|
845
|
+
}
|
|
846
|
+
exports.DescribeOssUploadTokenRequest = DescribeOssUploadTokenRequest;
|
|
847
|
+
class DescribeOssUploadTokenResponse extends $tea.Model {
|
|
892
848
|
constructor(map) {
|
|
893
849
|
super(map);
|
|
894
850
|
}
|
|
895
851
|
static names() {
|
|
896
852
|
return {
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
bizType: 'BizType',
|
|
900
|
-
duration: 'Duration',
|
|
901
|
-
expiredDay: 'ExpiredDay',
|
|
853
|
+
requestId: 'RequestId',
|
|
854
|
+
ossUploadToken: 'OssUploadToken',
|
|
902
855
|
};
|
|
903
856
|
}
|
|
904
857
|
static types() {
|
|
905
858
|
return {
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
bizType: 'string',
|
|
909
|
-
duration: 'string',
|
|
910
|
-
expiredDay: 'string',
|
|
859
|
+
requestId: 'string',
|
|
860
|
+
ossUploadToken: DescribeOssUploadTokenResponseOssUploadToken,
|
|
911
861
|
};
|
|
912
862
|
}
|
|
913
863
|
}
|
|
914
|
-
exports.
|
|
915
|
-
class
|
|
864
|
+
exports.DescribeOssUploadTokenResponse = DescribeOssUploadTokenResponse;
|
|
865
|
+
class DescribeRPSDKRequest extends $tea.Model {
|
|
866
|
+
constructor(map) {
|
|
867
|
+
super(map);
|
|
868
|
+
}
|
|
869
|
+
static names() {
|
|
870
|
+
return {
|
|
871
|
+
lang: 'Lang',
|
|
872
|
+
sourceIp: 'SourceIp',
|
|
873
|
+
taskId: 'TaskId',
|
|
874
|
+
};
|
|
875
|
+
}
|
|
876
|
+
static types() {
|
|
877
|
+
return {
|
|
878
|
+
lang: 'string',
|
|
879
|
+
sourceIp: 'string',
|
|
880
|
+
taskId: 'string',
|
|
881
|
+
};
|
|
882
|
+
}
|
|
883
|
+
}
|
|
884
|
+
exports.DescribeRPSDKRequest = DescribeRPSDKRequest;
|
|
885
|
+
class DescribeRPSDKResponse extends $tea.Model {
|
|
916
886
|
constructor(map) {
|
|
917
887
|
super(map);
|
|
918
888
|
}
|
|
919
889
|
static names() {
|
|
920
890
|
return {
|
|
921
891
|
requestId: 'RequestId',
|
|
922
|
-
|
|
923
|
-
userDeviceId: 'UserDeviceId',
|
|
924
|
-
bizType: 'BizType',
|
|
925
|
-
beginDay: 'BeginDay',
|
|
926
|
-
expiredDay: 'ExpiredDay',
|
|
892
|
+
sdkUrl: 'SdkUrl',
|
|
927
893
|
};
|
|
928
894
|
}
|
|
929
895
|
static types() {
|
|
930
896
|
return {
|
|
931
897
|
requestId: 'string',
|
|
932
|
-
|
|
933
|
-
userDeviceId: 'string',
|
|
934
|
-
bizType: 'string',
|
|
935
|
-
beginDay: 'string',
|
|
936
|
-
expiredDay: 'string',
|
|
898
|
+
sdkUrl: 'string',
|
|
937
899
|
};
|
|
938
900
|
}
|
|
939
901
|
}
|
|
940
|
-
exports.
|
|
941
|
-
class
|
|
902
|
+
exports.DescribeRPSDKResponse = DescribeRPSDKResponse;
|
|
903
|
+
class DescribeSdkUrlRequest extends $tea.Model {
|
|
942
904
|
constructor(map) {
|
|
943
905
|
super(map);
|
|
944
906
|
}
|
|
945
907
|
static names() {
|
|
946
908
|
return {
|
|
947
|
-
|
|
909
|
+
debug: 'Debug',
|
|
910
|
+
id: 'Id',
|
|
948
911
|
};
|
|
949
912
|
}
|
|
950
913
|
static types() {
|
|
951
914
|
return {
|
|
952
|
-
|
|
915
|
+
debug: 'boolean',
|
|
916
|
+
id: 'number',
|
|
953
917
|
};
|
|
954
918
|
}
|
|
955
919
|
}
|
|
956
|
-
exports.
|
|
957
|
-
class
|
|
920
|
+
exports.DescribeSdkUrlRequest = DescribeSdkUrlRequest;
|
|
921
|
+
class DescribeSdkUrlResponse extends $tea.Model {
|
|
958
922
|
constructor(map) {
|
|
959
923
|
super(map);
|
|
960
924
|
}
|
|
@@ -971,1529 +935,1557 @@ class DescribeVerifySDKResponse extends $tea.Model {
|
|
|
971
935
|
};
|
|
972
936
|
}
|
|
973
937
|
}
|
|
974
|
-
exports.
|
|
975
|
-
class
|
|
938
|
+
exports.DescribeSdkUrlResponse = DescribeSdkUrlResponse;
|
|
939
|
+
class DescribeUpdatePackageResultRequest extends $tea.Model {
|
|
976
940
|
constructor(map) {
|
|
977
941
|
super(map);
|
|
978
942
|
}
|
|
979
943
|
static names() {
|
|
980
944
|
return {
|
|
981
|
-
|
|
982
|
-
currentPage: 'CurrentPage',
|
|
983
|
-
deviceId: 'DeviceId',
|
|
984
|
-
bizType: 'BizType',
|
|
985
|
-
userDeviceId: 'UserDeviceId',
|
|
986
|
-
expiredStartDay: 'ExpiredStartDay',
|
|
987
|
-
expiredEndDay: 'ExpiredEndDay',
|
|
945
|
+
taskId: 'TaskId',
|
|
988
946
|
};
|
|
989
947
|
}
|
|
990
948
|
static types() {
|
|
991
949
|
return {
|
|
992
|
-
|
|
993
|
-
currentPage: 'number',
|
|
994
|
-
deviceId: 'string',
|
|
995
|
-
bizType: 'string',
|
|
996
|
-
userDeviceId: 'string',
|
|
997
|
-
expiredStartDay: 'string',
|
|
998
|
-
expiredEndDay: 'string',
|
|
950
|
+
taskId: 'string',
|
|
999
951
|
};
|
|
1000
952
|
}
|
|
1001
953
|
}
|
|
1002
|
-
exports.
|
|
1003
|
-
class
|
|
954
|
+
exports.DescribeUpdatePackageResultRequest = DescribeUpdatePackageResultRequest;
|
|
955
|
+
class DescribeUpdatePackageResultResponse extends $tea.Model {
|
|
1004
956
|
constructor(map) {
|
|
1005
957
|
super(map);
|
|
1006
958
|
}
|
|
1007
959
|
static names() {
|
|
1008
960
|
return {
|
|
1009
961
|
requestId: 'RequestId',
|
|
1010
|
-
|
|
1011
|
-
currentPage: 'CurrentPage',
|
|
1012
|
-
totalCount: 'TotalCount',
|
|
1013
|
-
deviceInfoList: 'DeviceInfoList',
|
|
962
|
+
appInfo: 'AppInfo',
|
|
1014
963
|
};
|
|
1015
964
|
}
|
|
1016
965
|
static types() {
|
|
1017
966
|
return {
|
|
1018
967
|
requestId: 'string',
|
|
1019
|
-
|
|
1020
|
-
currentPage: 'number',
|
|
1021
|
-
totalCount: 'number',
|
|
1022
|
-
deviceInfoList: DescribeDeviceInfoResponseDeviceInfoList,
|
|
968
|
+
appInfo: DescribeUpdatePackageResultResponseAppInfo,
|
|
1023
969
|
};
|
|
1024
970
|
}
|
|
1025
971
|
}
|
|
1026
|
-
exports.
|
|
1027
|
-
class
|
|
972
|
+
exports.DescribeUpdatePackageResultResponse = DescribeUpdatePackageResultResponse;
|
|
973
|
+
class DescribeUploadInfoRequest extends $tea.Model {
|
|
1028
974
|
constructor(map) {
|
|
1029
975
|
super(map);
|
|
1030
976
|
}
|
|
1031
977
|
static names() {
|
|
1032
978
|
return {
|
|
1033
|
-
|
|
1034
|
-
platform: 'Platform',
|
|
979
|
+
biz: 'Biz',
|
|
1035
980
|
};
|
|
1036
981
|
}
|
|
1037
982
|
static types() {
|
|
1038
983
|
return {
|
|
1039
|
-
|
|
1040
|
-
platform: 'string',
|
|
984
|
+
biz: 'string',
|
|
1041
985
|
};
|
|
1042
986
|
}
|
|
1043
987
|
}
|
|
1044
|
-
exports.
|
|
1045
|
-
class
|
|
988
|
+
exports.DescribeUploadInfoRequest = DescribeUploadInfoRequest;
|
|
989
|
+
class DescribeUploadInfoResponse extends $tea.Model {
|
|
1046
990
|
constructor(map) {
|
|
1047
991
|
super(map);
|
|
1048
992
|
}
|
|
1049
993
|
static names() {
|
|
1050
994
|
return {
|
|
995
|
+
accessid: 'Accessid',
|
|
996
|
+
expire: 'Expire',
|
|
997
|
+
folder: 'Folder',
|
|
998
|
+
host: 'Host',
|
|
999
|
+
policy: 'Policy',
|
|
1051
1000
|
requestId: 'RequestId',
|
|
1052
|
-
|
|
1001
|
+
signature: 'Signature',
|
|
1053
1002
|
};
|
|
1054
1003
|
}
|
|
1055
1004
|
static types() {
|
|
1056
1005
|
return {
|
|
1006
|
+
accessid: 'string',
|
|
1007
|
+
expire: 'number',
|
|
1008
|
+
folder: 'string',
|
|
1009
|
+
host: 'string',
|
|
1010
|
+
policy: 'string',
|
|
1057
1011
|
requestId: 'string',
|
|
1058
|
-
|
|
1012
|
+
signature: 'string',
|
|
1059
1013
|
};
|
|
1060
1014
|
}
|
|
1061
1015
|
}
|
|
1062
|
-
exports.
|
|
1063
|
-
class
|
|
1064
|
-
constructor(map) {
|
|
1065
|
-
super(map);
|
|
1066
|
-
}
|
|
1016
|
+
exports.DescribeUploadInfoResponse = DescribeUploadInfoResponse;
|
|
1017
|
+
class DescribeUserStatusRequest extends $tea.Model {
|
|
1067
1018
|
static names() {
|
|
1068
|
-
return {
|
|
1069
|
-
bizType: 'BizType',
|
|
1070
|
-
userDeviceId: 'UserDeviceId',
|
|
1071
|
-
test: 'Test',
|
|
1072
|
-
authYears: 'AuthYears',
|
|
1073
|
-
};
|
|
1019
|
+
return {};
|
|
1074
1020
|
}
|
|
1075
1021
|
static types() {
|
|
1076
|
-
return {
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
authYears: 'number',
|
|
1081
|
-
};
|
|
1022
|
+
return {};
|
|
1023
|
+
}
|
|
1024
|
+
constructor(map) {
|
|
1025
|
+
super(map);
|
|
1082
1026
|
}
|
|
1083
1027
|
}
|
|
1084
|
-
exports.
|
|
1085
|
-
class
|
|
1028
|
+
exports.DescribeUserStatusRequest = DescribeUserStatusRequest;
|
|
1029
|
+
class DescribeUserStatusResponse extends $tea.Model {
|
|
1086
1030
|
constructor(map) {
|
|
1087
1031
|
super(map);
|
|
1088
1032
|
}
|
|
1089
1033
|
static names() {
|
|
1090
1034
|
return {
|
|
1035
|
+
enabled: 'Enabled',
|
|
1091
1036
|
requestId: 'RequestId',
|
|
1092
|
-
authKey: 'AuthKey',
|
|
1093
1037
|
};
|
|
1094
1038
|
}
|
|
1095
1039
|
static types() {
|
|
1096
1040
|
return {
|
|
1041
|
+
enabled: 'boolean',
|
|
1097
1042
|
requestId: 'string',
|
|
1098
|
-
authKey: 'string',
|
|
1099
1043
|
};
|
|
1100
1044
|
}
|
|
1101
1045
|
}
|
|
1102
|
-
exports.
|
|
1103
|
-
class
|
|
1046
|
+
exports.DescribeUserStatusResponse = DescribeUserStatusResponse;
|
|
1047
|
+
class DescribeVerifyRecordsRequest extends $tea.Model {
|
|
1104
1048
|
constructor(map) {
|
|
1105
1049
|
super(map);
|
|
1106
1050
|
}
|
|
1107
1051
|
static names() {
|
|
1108
1052
|
return {
|
|
1109
|
-
|
|
1053
|
+
bizId: 'BizId',
|
|
1110
1054
|
bizType: 'BizType',
|
|
1055
|
+
currentPage: 'CurrentPage',
|
|
1056
|
+
endDate: 'EndDate',
|
|
1057
|
+
idCardNum: 'IdCardNum',
|
|
1058
|
+
pageSize: 'PageSize',
|
|
1059
|
+
queryId: 'QueryId',
|
|
1060
|
+
startDate: 'StartDate',
|
|
1061
|
+
statusList: 'StatusList',
|
|
1062
|
+
totalCount: 'TotalCount',
|
|
1111
1063
|
};
|
|
1112
1064
|
}
|
|
1113
1065
|
static types() {
|
|
1114
1066
|
return {
|
|
1115
|
-
|
|
1067
|
+
bizId: 'string',
|
|
1116
1068
|
bizType: 'string',
|
|
1069
|
+
currentPage: 'number',
|
|
1070
|
+
endDate: 'string',
|
|
1071
|
+
idCardNum: 'string',
|
|
1072
|
+
pageSize: 'number',
|
|
1073
|
+
queryId: 'string',
|
|
1074
|
+
startDate: 'string',
|
|
1075
|
+
statusList: 'string',
|
|
1076
|
+
totalCount: 'number',
|
|
1117
1077
|
};
|
|
1118
1078
|
}
|
|
1119
1079
|
}
|
|
1120
|
-
exports.
|
|
1121
|
-
class
|
|
1080
|
+
exports.DescribeVerifyRecordsRequest = DescribeVerifyRecordsRequest;
|
|
1081
|
+
class DescribeVerifyRecordsResponse extends $tea.Model {
|
|
1122
1082
|
constructor(map) {
|
|
1123
1083
|
super(map);
|
|
1124
1084
|
}
|
|
1125
1085
|
static names() {
|
|
1126
1086
|
return {
|
|
1087
|
+
currentPage: 'CurrentPage',
|
|
1088
|
+
pageSize: 'PageSize',
|
|
1089
|
+
queryId: 'QueryId',
|
|
1127
1090
|
requestId: 'RequestId',
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
message: 'Message',
|
|
1131
|
-
data: 'Data',
|
|
1091
|
+
totalCount: 'TotalCount',
|
|
1092
|
+
recordsList: 'RecordsList',
|
|
1132
1093
|
};
|
|
1133
1094
|
}
|
|
1134
1095
|
static types() {
|
|
1135
1096
|
return {
|
|
1097
|
+
currentPage: 'number',
|
|
1098
|
+
pageSize: 'number',
|
|
1099
|
+
queryId: 'string',
|
|
1136
1100
|
requestId: 'string',
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
message: 'string',
|
|
1140
|
-
data: DetectFaceAttributesResponseData,
|
|
1101
|
+
totalCount: 'number',
|
|
1102
|
+
recordsList: { 'type': 'array', 'itemType': DescribeVerifyRecordsResponseRecordsList },
|
|
1141
1103
|
};
|
|
1142
1104
|
}
|
|
1143
1105
|
}
|
|
1144
|
-
exports.
|
|
1145
|
-
class
|
|
1106
|
+
exports.DescribeVerifyRecordsResponse = DescribeVerifyRecordsResponse;
|
|
1107
|
+
class DescribeVerifyResultRequest extends $tea.Model {
|
|
1146
1108
|
constructor(map) {
|
|
1147
1109
|
super(map);
|
|
1148
1110
|
}
|
|
1149
1111
|
static names() {
|
|
1150
1112
|
return {
|
|
1151
|
-
|
|
1152
|
-
sourceImageType: 'SourceImageType',
|
|
1153
|
-
sourceImageValue: 'SourceImageValue',
|
|
1154
|
-
targetImageValue: 'TargetImageValue',
|
|
1113
|
+
bizId: 'BizId',
|
|
1155
1114
|
bizType: 'BizType',
|
|
1156
1115
|
};
|
|
1157
1116
|
}
|
|
1158
1117
|
static types() {
|
|
1159
1118
|
return {
|
|
1160
|
-
|
|
1161
|
-
sourceImageType: 'string',
|
|
1162
|
-
sourceImageValue: 'string',
|
|
1163
|
-
targetImageValue: 'string',
|
|
1119
|
+
bizId: 'string',
|
|
1164
1120
|
bizType: 'string',
|
|
1165
1121
|
};
|
|
1166
1122
|
}
|
|
1167
1123
|
}
|
|
1168
|
-
exports.
|
|
1169
|
-
class
|
|
1124
|
+
exports.DescribeVerifyResultRequest = DescribeVerifyResultRequest;
|
|
1125
|
+
class DescribeVerifyResultResponse extends $tea.Model {
|
|
1170
1126
|
constructor(map) {
|
|
1171
1127
|
super(map);
|
|
1172
1128
|
}
|
|
1173
1129
|
static names() {
|
|
1174
1130
|
return {
|
|
1131
|
+
authorityComparisionScore: 'AuthorityComparisionScore',
|
|
1132
|
+
faceComparisonScore: 'FaceComparisonScore',
|
|
1133
|
+
idCardFaceComparisonScore: 'IdCardFaceComparisonScore',
|
|
1175
1134
|
requestId: 'RequestId',
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
message: 'Message',
|
|
1179
|
-
data: 'Data',
|
|
1135
|
+
verifyStatus: 'VerifyStatus',
|
|
1136
|
+
material: 'Material',
|
|
1180
1137
|
};
|
|
1181
1138
|
}
|
|
1182
1139
|
static types() {
|
|
1183
1140
|
return {
|
|
1141
|
+
authorityComparisionScore: 'number',
|
|
1142
|
+
faceComparisonScore: 'number',
|
|
1143
|
+
idCardFaceComparisonScore: 'number',
|
|
1184
1144
|
requestId: 'string',
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
message: 'string',
|
|
1188
|
-
data: CompareFacesResponseData,
|
|
1145
|
+
verifyStatus: 'number',
|
|
1146
|
+
material: DescribeVerifyResultResponseMaterial,
|
|
1189
1147
|
};
|
|
1190
1148
|
}
|
|
1191
1149
|
}
|
|
1192
|
-
exports.
|
|
1193
|
-
class
|
|
1150
|
+
exports.DescribeVerifyResultResponse = DescribeVerifyResultResponse;
|
|
1151
|
+
class DescribeVerifySDKRequest extends $tea.Model {
|
|
1194
1152
|
constructor(map) {
|
|
1195
1153
|
super(map);
|
|
1196
1154
|
}
|
|
1197
1155
|
static names() {
|
|
1198
1156
|
return {
|
|
1199
|
-
|
|
1200
|
-
endDate: 'EndDate',
|
|
1157
|
+
taskId: 'TaskId',
|
|
1201
1158
|
};
|
|
1202
1159
|
}
|
|
1203
1160
|
static types() {
|
|
1204
1161
|
return {
|
|
1205
|
-
|
|
1206
|
-
endDate: 'string',
|
|
1162
|
+
taskId: 'string',
|
|
1207
1163
|
};
|
|
1208
1164
|
}
|
|
1209
1165
|
}
|
|
1210
|
-
exports.
|
|
1211
|
-
class
|
|
1166
|
+
exports.DescribeVerifySDKRequest = DescribeVerifySDKRequest;
|
|
1167
|
+
class DescribeVerifySDKResponse extends $tea.Model {
|
|
1212
1168
|
constructor(map) {
|
|
1213
1169
|
super(map);
|
|
1214
1170
|
}
|
|
1215
1171
|
static names() {
|
|
1216
1172
|
return {
|
|
1217
1173
|
requestId: 'RequestId',
|
|
1218
|
-
|
|
1219
|
-
faceUsageList: 'FaceUsageList',
|
|
1174
|
+
sdkUrl: 'SdkUrl',
|
|
1220
1175
|
};
|
|
1221
1176
|
}
|
|
1222
1177
|
static types() {
|
|
1223
1178
|
return {
|
|
1224
1179
|
requestId: 'string',
|
|
1225
|
-
|
|
1226
|
-
faceUsageList: { 'type': 'array', 'itemType': DescribeFaceUsageResponseFaceUsageList },
|
|
1180
|
+
sdkUrl: 'string',
|
|
1227
1181
|
};
|
|
1228
1182
|
}
|
|
1229
1183
|
}
|
|
1230
|
-
exports.
|
|
1231
|
-
class
|
|
1232
|
-
constructor(map) {
|
|
1233
|
-
super(map);
|
|
1234
|
-
}
|
|
1184
|
+
exports.DescribeVerifySDKResponse = DescribeVerifySDKResponse;
|
|
1185
|
+
class DescribeVerifySettingRequest extends $tea.Model {
|
|
1235
1186
|
static names() {
|
|
1236
|
-
return {
|
|
1237
|
-
totalCount: 'TotalCount',
|
|
1238
|
-
pageSize: 'PageSize',
|
|
1239
|
-
currentPage: 'CurrentPage',
|
|
1240
|
-
bizType: 'BizType',
|
|
1241
|
-
startDate: 'StartDate',
|
|
1242
|
-
endDate: 'EndDate',
|
|
1243
|
-
bizId: 'BizId',
|
|
1244
|
-
idCardNum: 'IdCardNum',
|
|
1245
|
-
statusList: 'StatusList',
|
|
1246
|
-
queryId: 'QueryId',
|
|
1247
|
-
};
|
|
1187
|
+
return {};
|
|
1248
1188
|
}
|
|
1249
1189
|
static types() {
|
|
1250
|
-
return {
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
bizType: 'string',
|
|
1255
|
-
startDate: 'string',
|
|
1256
|
-
endDate: 'string',
|
|
1257
|
-
bizId: 'string',
|
|
1258
|
-
idCardNum: 'string',
|
|
1259
|
-
statusList: 'string',
|
|
1260
|
-
queryId: 'string',
|
|
1261
|
-
};
|
|
1190
|
+
return {};
|
|
1191
|
+
}
|
|
1192
|
+
constructor(map) {
|
|
1193
|
+
super(map);
|
|
1262
1194
|
}
|
|
1263
1195
|
}
|
|
1264
|
-
exports.
|
|
1265
|
-
class
|
|
1196
|
+
exports.DescribeVerifySettingRequest = DescribeVerifySettingRequest;
|
|
1197
|
+
class DescribeVerifySettingResponse extends $tea.Model {
|
|
1266
1198
|
constructor(map) {
|
|
1267
1199
|
super(map);
|
|
1268
1200
|
}
|
|
1269
1201
|
static names() {
|
|
1270
1202
|
return {
|
|
1271
1203
|
requestId: 'RequestId',
|
|
1272
|
-
|
|
1273
|
-
pageSize: 'PageSize',
|
|
1274
|
-
currentPage: 'CurrentPage',
|
|
1275
|
-
queryId: 'QueryId',
|
|
1276
|
-
recordsList: 'RecordsList',
|
|
1204
|
+
verifySettingList: 'VerifySettingList',
|
|
1277
1205
|
};
|
|
1278
1206
|
}
|
|
1279
1207
|
static types() {
|
|
1280
1208
|
return {
|
|
1281
1209
|
requestId: 'string',
|
|
1282
|
-
|
|
1283
|
-
pageSize: 'number',
|
|
1284
|
-
currentPage: 'number',
|
|
1285
|
-
queryId: 'string',
|
|
1286
|
-
recordsList: { 'type': 'array', 'itemType': DescribeVerifyRecordsResponseRecordsList },
|
|
1210
|
+
verifySettingList: { 'type': 'array', 'itemType': DescribeVerifySettingResponseVerifySettingList },
|
|
1287
1211
|
};
|
|
1288
1212
|
}
|
|
1289
1213
|
}
|
|
1290
|
-
exports.
|
|
1291
|
-
class
|
|
1214
|
+
exports.DescribeVerifySettingResponse = DescribeVerifySettingResponse;
|
|
1215
|
+
class DescribeVerifyTokenRequest extends $tea.Model {
|
|
1292
1216
|
constructor(map) {
|
|
1293
1217
|
super(map);
|
|
1294
1218
|
}
|
|
1295
1219
|
static names() {
|
|
1296
1220
|
return {
|
|
1221
|
+
bizId: 'BizId',
|
|
1297
1222
|
bizType: 'BizType',
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1223
|
+
callbackSeed: 'CallbackSeed',
|
|
1224
|
+
callbackUrl: 'CallbackUrl',
|
|
1225
|
+
faceRetainedImageUrl: 'FaceRetainedImageUrl',
|
|
1226
|
+
failedRedirectUrl: 'FailedRedirectUrl',
|
|
1227
|
+
idCardBackImageUrl: 'IdCardBackImageUrl',
|
|
1228
|
+
idCardFrontImageUrl: 'IdCardFrontImageUrl',
|
|
1229
|
+
idCardNumber: 'IdCardNumber',
|
|
1230
|
+
name: 'Name',
|
|
1231
|
+
passedRedirectUrl: 'PassedRedirectUrl',
|
|
1232
|
+
userId: 'UserId',
|
|
1233
|
+
userIp: 'UserIp',
|
|
1234
|
+
userPhoneNumber: 'UserPhoneNumber',
|
|
1235
|
+
userRegistTime: 'UserRegistTime',
|
|
1303
1236
|
};
|
|
1304
1237
|
}
|
|
1305
1238
|
static types() {
|
|
1306
1239
|
return {
|
|
1240
|
+
bizId: 'string',
|
|
1307
1241
|
bizType: 'string',
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1242
|
+
callbackSeed: 'string',
|
|
1243
|
+
callbackUrl: 'string',
|
|
1244
|
+
faceRetainedImageUrl: 'string',
|
|
1245
|
+
failedRedirectUrl: 'string',
|
|
1246
|
+
idCardBackImageUrl: 'string',
|
|
1247
|
+
idCardFrontImageUrl: 'string',
|
|
1248
|
+
idCardNumber: 'string',
|
|
1249
|
+
name: 'string',
|
|
1250
|
+
passedRedirectUrl: 'string',
|
|
1251
|
+
userId: 'string',
|
|
1252
|
+
userIp: 'string',
|
|
1253
|
+
userPhoneNumber: 'string',
|
|
1254
|
+
userRegistTime: 'number',
|
|
1313
1255
|
};
|
|
1314
1256
|
}
|
|
1315
1257
|
}
|
|
1316
|
-
exports.
|
|
1317
|
-
class
|
|
1258
|
+
exports.DescribeVerifyTokenRequest = DescribeVerifyTokenRequest;
|
|
1259
|
+
class DescribeVerifyTokenResponse extends $tea.Model {
|
|
1318
1260
|
constructor(map) {
|
|
1319
1261
|
super(map);
|
|
1320
1262
|
}
|
|
1321
1263
|
static names() {
|
|
1322
1264
|
return {
|
|
1323
1265
|
requestId: 'RequestId',
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
stepList: 'StepList',
|
|
1266
|
+
verifyPageUrl: 'VerifyPageUrl',
|
|
1267
|
+
verifyToken: 'VerifyToken',
|
|
1268
|
+
ossUploadToken: 'OssUploadToken',
|
|
1328
1269
|
};
|
|
1329
1270
|
}
|
|
1330
1271
|
static types() {
|
|
1331
1272
|
return {
|
|
1332
1273
|
requestId: 'string',
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
stepList: { 'type': 'array', 'itemType': 'string' },
|
|
1274
|
+
verifyPageUrl: 'string',
|
|
1275
|
+
verifyToken: 'string',
|
|
1276
|
+
ossUploadToken: DescribeVerifyTokenResponseOssUploadToken,
|
|
1337
1277
|
};
|
|
1338
1278
|
}
|
|
1339
1279
|
}
|
|
1340
|
-
exports.
|
|
1341
|
-
class
|
|
1280
|
+
exports.DescribeVerifyTokenResponse = DescribeVerifyTokenResponse;
|
|
1281
|
+
class DescribeVerifyUsageRequest extends $tea.Model {
|
|
1342
1282
|
constructor(map) {
|
|
1343
1283
|
super(map);
|
|
1344
1284
|
}
|
|
1345
1285
|
static names() {
|
|
1346
1286
|
return {
|
|
1347
1287
|
bizType: 'BizType',
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
guideStep: 'GuideStep',
|
|
1351
|
-
privacyStep: 'PrivacyStep',
|
|
1352
|
-
resultStep: 'ResultStep',
|
|
1288
|
+
endDate: 'EndDate',
|
|
1289
|
+
startDate: 'StartDate',
|
|
1353
1290
|
};
|
|
1354
1291
|
}
|
|
1355
1292
|
static types() {
|
|
1356
1293
|
return {
|
|
1357
1294
|
bizType: 'string',
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
guideStep: 'boolean',
|
|
1361
|
-
privacyStep: 'boolean',
|
|
1362
|
-
resultStep: 'boolean',
|
|
1295
|
+
endDate: 'string',
|
|
1296
|
+
startDate: 'string',
|
|
1363
1297
|
};
|
|
1364
1298
|
}
|
|
1365
1299
|
}
|
|
1366
|
-
exports.
|
|
1367
|
-
class
|
|
1300
|
+
exports.DescribeVerifyUsageRequest = DescribeVerifyUsageRequest;
|
|
1301
|
+
class DescribeVerifyUsageResponse extends $tea.Model {
|
|
1368
1302
|
constructor(map) {
|
|
1369
1303
|
super(map);
|
|
1370
1304
|
}
|
|
1371
1305
|
static names() {
|
|
1372
1306
|
return {
|
|
1373
1307
|
requestId: 'RequestId',
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
solution: 'Solution',
|
|
1377
|
-
stepList: 'StepList',
|
|
1308
|
+
totalCount: 'TotalCount',
|
|
1309
|
+
verifyUsageList: 'VerifyUsageList',
|
|
1378
1310
|
};
|
|
1379
1311
|
}
|
|
1380
1312
|
static types() {
|
|
1381
1313
|
return {
|
|
1382
1314
|
requestId: 'string',
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
solution: 'string',
|
|
1386
|
-
stepList: { 'type': 'array', 'itemType': 'string' },
|
|
1315
|
+
totalCount: 'number',
|
|
1316
|
+
verifyUsageList: { 'type': 'array', 'itemType': DescribeVerifyUsageResponseVerifyUsageList },
|
|
1387
1317
|
};
|
|
1388
1318
|
}
|
|
1389
1319
|
}
|
|
1390
|
-
exports.
|
|
1391
|
-
class
|
|
1320
|
+
exports.DescribeVerifyUsageResponse = DescribeVerifyUsageResponse;
|
|
1321
|
+
class DescribeWhitelistRequest extends $tea.Model {
|
|
1322
|
+
constructor(map) {
|
|
1323
|
+
super(map);
|
|
1324
|
+
}
|
|
1392
1325
|
static names() {
|
|
1393
|
-
return {
|
|
1326
|
+
return {
|
|
1327
|
+
bizId: 'BizId',
|
|
1328
|
+
bizType: 'BizType',
|
|
1329
|
+
currentPage: 'CurrentPage',
|
|
1330
|
+
idCardNum: 'IdCardNum',
|
|
1331
|
+
lang: 'Lang',
|
|
1332
|
+
pageSize: 'PageSize',
|
|
1333
|
+
sourceIp: 'SourceIp',
|
|
1334
|
+
valid: 'Valid',
|
|
1335
|
+
validEndDate: 'ValidEndDate',
|
|
1336
|
+
validStartDate: 'ValidStartDate',
|
|
1337
|
+
};
|
|
1394
1338
|
}
|
|
1395
1339
|
static types() {
|
|
1396
|
-
return {
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1340
|
+
return {
|
|
1341
|
+
bizId: 'string',
|
|
1342
|
+
bizType: 'string',
|
|
1343
|
+
currentPage: 'number',
|
|
1344
|
+
idCardNum: 'string',
|
|
1345
|
+
lang: 'string',
|
|
1346
|
+
pageSize: 'number',
|
|
1347
|
+
sourceIp: 'string',
|
|
1348
|
+
valid: 'string',
|
|
1349
|
+
validEndDate: 'string',
|
|
1350
|
+
validStartDate: 'string',
|
|
1351
|
+
};
|
|
1400
1352
|
}
|
|
1401
1353
|
}
|
|
1402
|
-
exports.
|
|
1403
|
-
class
|
|
1354
|
+
exports.DescribeWhitelistRequest = DescribeWhitelistRequest;
|
|
1355
|
+
class DescribeWhitelistResponse extends $tea.Model {
|
|
1404
1356
|
constructor(map) {
|
|
1405
1357
|
super(map);
|
|
1406
1358
|
}
|
|
1407
1359
|
static names() {
|
|
1408
1360
|
return {
|
|
1361
|
+
currentPage: 'CurrentPage',
|
|
1362
|
+
pageSize: 'PageSize',
|
|
1409
1363
|
requestId: 'RequestId',
|
|
1410
|
-
|
|
1364
|
+
totalCount: 'TotalCount',
|
|
1365
|
+
items: 'Items',
|
|
1411
1366
|
};
|
|
1412
1367
|
}
|
|
1413
1368
|
static types() {
|
|
1414
1369
|
return {
|
|
1370
|
+
currentPage: 'number',
|
|
1371
|
+
pageSize: 'number',
|
|
1415
1372
|
requestId: 'string',
|
|
1416
|
-
|
|
1373
|
+
totalCount: 'number',
|
|
1374
|
+
items: { 'type': 'array', 'itemType': DescribeWhitelistResponseItems },
|
|
1417
1375
|
};
|
|
1418
1376
|
}
|
|
1419
1377
|
}
|
|
1420
|
-
exports.
|
|
1421
|
-
class
|
|
1378
|
+
exports.DescribeWhitelistResponse = DescribeWhitelistResponse;
|
|
1379
|
+
class DescribeWhitelistSettingRequest extends $tea.Model {
|
|
1422
1380
|
constructor(map) {
|
|
1423
1381
|
super(map);
|
|
1424
1382
|
}
|
|
1425
1383
|
static names() {
|
|
1426
1384
|
return {
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1385
|
+
certNo: 'CertNo',
|
|
1386
|
+
certifyId: 'CertifyId',
|
|
1387
|
+
currentPage: 'CurrentPage',
|
|
1388
|
+
lang: 'Lang',
|
|
1389
|
+
pageSize: 'PageSize',
|
|
1390
|
+
sceneId: 'SceneId',
|
|
1391
|
+
serviceCode: 'ServiceCode',
|
|
1392
|
+
sourceIp: 'SourceIp',
|
|
1393
|
+
status: 'Status',
|
|
1394
|
+
validEndDate: 'ValidEndDate',
|
|
1395
|
+
validStartDate: 'ValidStartDate',
|
|
1430
1396
|
};
|
|
1431
1397
|
}
|
|
1432
1398
|
static types() {
|
|
1433
1399
|
return {
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1400
|
+
certNo: 'string',
|
|
1401
|
+
certifyId: 'string',
|
|
1402
|
+
currentPage: 'number',
|
|
1403
|
+
lang: 'string',
|
|
1404
|
+
pageSize: 'number',
|
|
1405
|
+
sceneId: 'number',
|
|
1406
|
+
serviceCode: 'string',
|
|
1407
|
+
sourceIp: 'string',
|
|
1408
|
+
status: 'string',
|
|
1409
|
+
validEndDate: 'number',
|
|
1410
|
+
validStartDate: 'number',
|
|
1437
1411
|
};
|
|
1438
1412
|
}
|
|
1439
1413
|
}
|
|
1440
|
-
exports.
|
|
1441
|
-
class
|
|
1414
|
+
exports.DescribeWhitelistSettingRequest = DescribeWhitelistSettingRequest;
|
|
1415
|
+
class DescribeWhitelistSettingResponse extends $tea.Model {
|
|
1442
1416
|
constructor(map) {
|
|
1443
1417
|
super(map);
|
|
1444
1418
|
}
|
|
1445
1419
|
static names() {
|
|
1446
1420
|
return {
|
|
1421
|
+
currentPage: 'CurrentPage',
|
|
1422
|
+
pageSize: 'PageSize',
|
|
1447
1423
|
requestId: 'RequestId',
|
|
1448
1424
|
totalCount: 'TotalCount',
|
|
1449
|
-
|
|
1425
|
+
items: 'Items',
|
|
1450
1426
|
};
|
|
1451
1427
|
}
|
|
1452
1428
|
static types() {
|
|
1453
1429
|
return {
|
|
1430
|
+
currentPage: 'number',
|
|
1431
|
+
pageSize: 'number',
|
|
1454
1432
|
requestId: 'string',
|
|
1455
1433
|
totalCount: 'number',
|
|
1456
|
-
|
|
1434
|
+
items: { 'type': 'array', 'itemType': DescribeWhitelistSettingResponseItems },
|
|
1457
1435
|
};
|
|
1458
1436
|
}
|
|
1459
1437
|
}
|
|
1460
|
-
exports.
|
|
1461
|
-
class
|
|
1462
|
-
static names() {
|
|
1463
|
-
return {};
|
|
1464
|
-
}
|
|
1465
|
-
static types() {
|
|
1466
|
-
return {};
|
|
1467
|
-
}
|
|
1468
|
-
constructor(map) {
|
|
1469
|
-
super(map);
|
|
1470
|
-
}
|
|
1471
|
-
}
|
|
1472
|
-
exports.DescribeUserStatusRequest = DescribeUserStatusRequest;
|
|
1473
|
-
class DescribeUserStatusResponse extends $tea.Model {
|
|
1438
|
+
exports.DescribeWhitelistSettingResponse = DescribeWhitelistSettingResponse;
|
|
1439
|
+
class DetectFaceAttributesRequest extends $tea.Model {
|
|
1474
1440
|
constructor(map) {
|
|
1475
1441
|
super(map);
|
|
1476
1442
|
}
|
|
1477
1443
|
static names() {
|
|
1478
1444
|
return {
|
|
1479
|
-
|
|
1480
|
-
|
|
1445
|
+
bizType: 'BizType',
|
|
1446
|
+
materialValue: 'MaterialValue',
|
|
1481
1447
|
};
|
|
1482
1448
|
}
|
|
1483
1449
|
static types() {
|
|
1484
1450
|
return {
|
|
1485
|
-
|
|
1486
|
-
|
|
1451
|
+
bizType: 'string',
|
|
1452
|
+
materialValue: 'string',
|
|
1487
1453
|
};
|
|
1488
1454
|
}
|
|
1489
1455
|
}
|
|
1490
|
-
exports.
|
|
1491
|
-
class
|
|
1492
|
-
constructor(map) {
|
|
1493
|
-
super(map);
|
|
1494
|
-
}
|
|
1495
|
-
static names() {
|
|
1496
|
-
return {
|
|
1497
|
-
biz: 'Biz',
|
|
1498
|
-
};
|
|
1499
|
-
}
|
|
1500
|
-
static types() {
|
|
1501
|
-
return {
|
|
1502
|
-
biz: 'string',
|
|
1503
|
-
};
|
|
1504
|
-
}
|
|
1505
|
-
}
|
|
1506
|
-
exports.DescribeUploadInfoRequest = DescribeUploadInfoRequest;
|
|
1507
|
-
class DescribeUploadInfoResponse extends $tea.Model {
|
|
1456
|
+
exports.DetectFaceAttributesRequest = DetectFaceAttributesRequest;
|
|
1457
|
+
class DetectFaceAttributesResponse extends $tea.Model {
|
|
1508
1458
|
constructor(map) {
|
|
1509
1459
|
super(map);
|
|
1510
1460
|
}
|
|
1511
1461
|
static names() {
|
|
1512
1462
|
return {
|
|
1463
|
+
code: 'Code',
|
|
1464
|
+
message: 'Message',
|
|
1513
1465
|
requestId: 'RequestId',
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
signature: 'Signature',
|
|
1517
|
-
folder: 'Folder',
|
|
1518
|
-
host: 'Host',
|
|
1519
|
-
expire: 'Expire',
|
|
1466
|
+
success: 'Success',
|
|
1467
|
+
data: 'Data',
|
|
1520
1468
|
};
|
|
1521
1469
|
}
|
|
1522
1470
|
static types() {
|
|
1523
1471
|
return {
|
|
1472
|
+
code: 'string',
|
|
1473
|
+
message: 'string',
|
|
1524
1474
|
requestId: 'string',
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
signature: 'string',
|
|
1528
|
-
folder: 'string',
|
|
1529
|
-
host: 'string',
|
|
1530
|
-
expire: 'number',
|
|
1475
|
+
success: 'boolean',
|
|
1476
|
+
data: DetectFaceAttributesResponseData,
|
|
1531
1477
|
};
|
|
1532
1478
|
}
|
|
1533
1479
|
}
|
|
1534
|
-
exports.
|
|
1535
|
-
class
|
|
1480
|
+
exports.DetectFaceAttributesResponse = DetectFaceAttributesResponse;
|
|
1481
|
+
class InitDeviceRequest extends $tea.Model {
|
|
1536
1482
|
constructor(map) {
|
|
1537
1483
|
super(map);
|
|
1538
1484
|
}
|
|
1539
1485
|
static names() {
|
|
1540
1486
|
return {
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1487
|
+
appVersion: 'AppVersion',
|
|
1488
|
+
bizData: 'BizData',
|
|
1489
|
+
certifyId: 'CertifyId',
|
|
1490
|
+
certifyPrincipal: 'CertifyPrincipal',
|
|
1491
|
+
channel: 'Channel',
|
|
1492
|
+
deviceToken: 'DeviceToken',
|
|
1493
|
+
merchant: 'Merchant',
|
|
1494
|
+
metaInfo: 'MetaInfo',
|
|
1495
|
+
outerOrderNo: 'OuterOrderNo',
|
|
1496
|
+
produceNode: 'ProduceNode',
|
|
1497
|
+
productName: 'ProductName',
|
|
1498
|
+
uaToken: 'UaToken',
|
|
1499
|
+
webUmidToken: 'WebUmidToken',
|
|
1544
1500
|
};
|
|
1545
1501
|
}
|
|
1546
1502
|
static types() {
|
|
1547
1503
|
return {
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1504
|
+
appVersion: 'string',
|
|
1505
|
+
bizData: 'string',
|
|
1506
|
+
certifyId: 'string',
|
|
1507
|
+
certifyPrincipal: 'string',
|
|
1508
|
+
channel: 'string',
|
|
1509
|
+
deviceToken: 'string',
|
|
1510
|
+
merchant: 'string',
|
|
1511
|
+
metaInfo: 'string',
|
|
1512
|
+
outerOrderNo: 'string',
|
|
1513
|
+
produceNode: 'string',
|
|
1514
|
+
productName: 'string',
|
|
1515
|
+
uaToken: 'string',
|
|
1516
|
+
webUmidToken: 'string',
|
|
1551
1517
|
};
|
|
1552
1518
|
}
|
|
1553
1519
|
}
|
|
1554
|
-
exports.
|
|
1555
|
-
class
|
|
1520
|
+
exports.InitDeviceRequest = InitDeviceRequest;
|
|
1521
|
+
class InitDeviceResponse extends $tea.Model {
|
|
1556
1522
|
constructor(map) {
|
|
1557
1523
|
super(map);
|
|
1558
1524
|
}
|
|
1559
1525
|
static names() {
|
|
1560
1526
|
return {
|
|
1527
|
+
code: 'Code',
|
|
1528
|
+
message: 'Message',
|
|
1561
1529
|
requestId: 'RequestId',
|
|
1562
|
-
|
|
1530
|
+
resultObject: 'ResultObject',
|
|
1563
1531
|
};
|
|
1564
1532
|
}
|
|
1565
1533
|
static types() {
|
|
1566
1534
|
return {
|
|
1535
|
+
code: 'string',
|
|
1536
|
+
message: 'string',
|
|
1567
1537
|
requestId: 'string',
|
|
1568
|
-
|
|
1538
|
+
resultObject: InitDeviceResponseResultObject,
|
|
1569
1539
|
};
|
|
1570
1540
|
}
|
|
1571
1541
|
}
|
|
1572
|
-
exports.
|
|
1573
|
-
class
|
|
1542
|
+
exports.InitDeviceResponse = InitDeviceResponse;
|
|
1543
|
+
class InitFaceVerifyRequest extends $tea.Model {
|
|
1574
1544
|
constructor(map) {
|
|
1575
1545
|
super(map);
|
|
1576
1546
|
}
|
|
1577
1547
|
static names() {
|
|
1578
1548
|
return {
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1549
|
+
callbackToken: 'CallbackToken',
|
|
1550
|
+
callbackUrl: 'CallbackUrl',
|
|
1551
|
+
certName: 'CertName',
|
|
1552
|
+
certNo: 'CertNo',
|
|
1553
|
+
certType: 'CertType',
|
|
1554
|
+
certifyId: 'CertifyId',
|
|
1555
|
+
certifyUrlType: 'CertifyUrlType',
|
|
1556
|
+
crop: 'Crop',
|
|
1557
|
+
faceContrastPicture: 'FaceContrastPicture',
|
|
1558
|
+
faceContrastPictureUrl: 'FaceContrastPictureUrl',
|
|
1559
|
+
ip: 'Ip',
|
|
1560
|
+
metaInfo: 'MetaInfo',
|
|
1561
|
+
mobile: 'Mobile',
|
|
1562
|
+
model: 'Model',
|
|
1563
|
+
ossBucketName: 'OssBucketName',
|
|
1564
|
+
ossObjectName: 'OssObjectName',
|
|
1565
|
+
outerOrderNo: 'OuterOrderNo',
|
|
1566
|
+
productCode: 'ProductCode',
|
|
1567
|
+
returnUrl: 'ReturnUrl',
|
|
1568
|
+
sceneId: 'SceneId',
|
|
1569
|
+
userId: 'UserId',
|
|
1583
1570
|
};
|
|
1584
1571
|
}
|
|
1585
1572
|
static types() {
|
|
1586
1573
|
return {
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1574
|
+
callbackToken: 'string',
|
|
1575
|
+
callbackUrl: 'string',
|
|
1576
|
+
certName: 'string',
|
|
1577
|
+
certNo: 'string',
|
|
1578
|
+
certType: 'string',
|
|
1579
|
+
certifyId: 'string',
|
|
1580
|
+
certifyUrlType: 'string',
|
|
1581
|
+
crop: 'string',
|
|
1582
|
+
faceContrastPicture: 'string',
|
|
1583
|
+
faceContrastPictureUrl: 'string',
|
|
1584
|
+
ip: 'string',
|
|
1585
|
+
metaInfo: 'string',
|
|
1586
|
+
mobile: 'string',
|
|
1587
|
+
model: 'string',
|
|
1588
|
+
ossBucketName: 'string',
|
|
1589
|
+
ossObjectName: 'string',
|
|
1590
|
+
outerOrderNo: 'string',
|
|
1591
|
+
productCode: 'string',
|
|
1592
|
+
returnUrl: 'string',
|
|
1593
|
+
sceneId: 'number',
|
|
1594
|
+
userId: 'string',
|
|
1591
1595
|
};
|
|
1592
1596
|
}
|
|
1593
1597
|
}
|
|
1594
|
-
exports.
|
|
1595
|
-
class
|
|
1598
|
+
exports.InitFaceVerifyRequest = InitFaceVerifyRequest;
|
|
1599
|
+
class InitFaceVerifyResponse extends $tea.Model {
|
|
1596
1600
|
constructor(map) {
|
|
1597
1601
|
super(map);
|
|
1598
1602
|
}
|
|
1599
1603
|
static names() {
|
|
1600
1604
|
return {
|
|
1605
|
+
code: 'Code',
|
|
1606
|
+
message: 'Message',
|
|
1601
1607
|
requestId: 'RequestId',
|
|
1602
|
-
|
|
1608
|
+
resultObject: 'ResultObject',
|
|
1603
1609
|
};
|
|
1604
1610
|
}
|
|
1605
1611
|
static types() {
|
|
1606
1612
|
return {
|
|
1613
|
+
code: 'string',
|
|
1614
|
+
message: 'string',
|
|
1607
1615
|
requestId: 'string',
|
|
1608
|
-
|
|
1616
|
+
resultObject: InitFaceVerifyResponseResultObject,
|
|
1609
1617
|
};
|
|
1610
1618
|
}
|
|
1611
1619
|
}
|
|
1612
|
-
exports.
|
|
1613
|
-
class
|
|
1620
|
+
exports.InitFaceVerifyResponse = InitFaceVerifyResponse;
|
|
1621
|
+
class LivenessFaceVerifyRequest extends $tea.Model {
|
|
1614
1622
|
constructor(map) {
|
|
1615
1623
|
super(map);
|
|
1616
1624
|
}
|
|
1617
1625
|
static names() {
|
|
1618
1626
|
return {
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1627
|
+
certifyId: 'CertifyId',
|
|
1628
|
+
crop: 'Crop',
|
|
1629
|
+
deviceToken: 'DeviceToken',
|
|
1630
|
+
faceContrastPicture: 'FaceContrastPicture',
|
|
1631
|
+
faceContrastPictureUrl: 'FaceContrastPictureUrl',
|
|
1632
|
+
ip: 'Ip',
|
|
1633
|
+
mobile: 'Mobile',
|
|
1634
|
+
model: 'Model',
|
|
1635
|
+
ossBucketName: 'OssBucketName',
|
|
1636
|
+
ossObjectName: 'OssObjectName',
|
|
1637
|
+
outerOrderNo: 'OuterOrderNo',
|
|
1638
|
+
productCode: 'ProductCode',
|
|
1639
|
+
sceneId: 'SceneId',
|
|
1626
1640
|
userId: 'UserId',
|
|
1627
1641
|
};
|
|
1628
1642
|
}
|
|
1629
1643
|
static types() {
|
|
1630
1644
|
return {
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1645
|
+
certifyId: 'string',
|
|
1646
|
+
crop: 'string',
|
|
1647
|
+
deviceToken: 'string',
|
|
1648
|
+
faceContrastPicture: 'string',
|
|
1649
|
+
faceContrastPictureUrl: 'string',
|
|
1650
|
+
ip: 'string',
|
|
1651
|
+
mobile: 'string',
|
|
1652
|
+
model: 'string',
|
|
1653
|
+
ossBucketName: 'string',
|
|
1654
|
+
ossObjectName: 'string',
|
|
1655
|
+
outerOrderNo: 'string',
|
|
1656
|
+
productCode: 'string',
|
|
1657
|
+
sceneId: 'number',
|
|
1638
1658
|
userId: 'string',
|
|
1639
1659
|
};
|
|
1640
1660
|
}
|
|
1641
1661
|
}
|
|
1642
|
-
exports.
|
|
1643
|
-
class
|
|
1662
|
+
exports.LivenessFaceVerifyRequest = LivenessFaceVerifyRequest;
|
|
1663
|
+
class LivenessFaceVerifyResponse extends $tea.Model {
|
|
1644
1664
|
constructor(map) {
|
|
1645
1665
|
super(map);
|
|
1646
1666
|
}
|
|
1647
1667
|
static names() {
|
|
1648
1668
|
return {
|
|
1669
|
+
code: 'Code',
|
|
1670
|
+
message: 'Message',
|
|
1649
1671
|
requestId: 'RequestId',
|
|
1650
|
-
|
|
1651
|
-
verifyStatus: 'VerifyStatus',
|
|
1652
|
-
authorityComparisionScore: 'AuthorityComparisionScore',
|
|
1653
|
-
idCardFaceComparisonScore: 'IdCardFaceComparisonScore',
|
|
1654
|
-
material: 'Material',
|
|
1672
|
+
resultObject: 'ResultObject',
|
|
1655
1673
|
};
|
|
1656
1674
|
}
|
|
1657
1675
|
static types() {
|
|
1658
1676
|
return {
|
|
1677
|
+
code: 'string',
|
|
1678
|
+
message: 'string',
|
|
1659
1679
|
requestId: 'string',
|
|
1660
|
-
|
|
1661
|
-
verifyStatus: 'number',
|
|
1662
|
-
authorityComparisionScore: 'number',
|
|
1663
|
-
idCardFaceComparisonScore: 'number',
|
|
1664
|
-
material: VerifyMaterialResponseMaterial,
|
|
1680
|
+
resultObject: LivenessFaceVerifyResponseResultObject,
|
|
1665
1681
|
};
|
|
1666
1682
|
}
|
|
1667
1683
|
}
|
|
1668
|
-
exports.
|
|
1669
|
-
class
|
|
1684
|
+
exports.LivenessFaceVerifyResponse = LivenessFaceVerifyResponse;
|
|
1685
|
+
class ModifyDeviceInfoRequest extends $tea.Model {
|
|
1670
1686
|
constructor(map) {
|
|
1671
1687
|
super(map);
|
|
1672
1688
|
}
|
|
1673
1689
|
static names() {
|
|
1674
1690
|
return {
|
|
1675
|
-
bizId: 'BizId',
|
|
1676
1691
|
bizType: 'BizType',
|
|
1692
|
+
deviceId: 'DeviceId',
|
|
1693
|
+
duration: 'Duration',
|
|
1694
|
+
expiredDay: 'ExpiredDay',
|
|
1695
|
+
userDeviceId: 'UserDeviceId',
|
|
1677
1696
|
};
|
|
1678
1697
|
}
|
|
1679
1698
|
static types() {
|
|
1680
1699
|
return {
|
|
1681
|
-
bizId: 'string',
|
|
1682
1700
|
bizType: 'string',
|
|
1701
|
+
deviceId: 'string',
|
|
1702
|
+
duration: 'string',
|
|
1703
|
+
expiredDay: 'string',
|
|
1704
|
+
userDeviceId: 'string',
|
|
1683
1705
|
};
|
|
1684
1706
|
}
|
|
1685
1707
|
}
|
|
1686
|
-
exports.
|
|
1687
|
-
class
|
|
1708
|
+
exports.ModifyDeviceInfoRequest = ModifyDeviceInfoRequest;
|
|
1709
|
+
class ModifyDeviceInfoResponse extends $tea.Model {
|
|
1688
1710
|
constructor(map) {
|
|
1689
1711
|
super(map);
|
|
1690
1712
|
}
|
|
1691
1713
|
static names() {
|
|
1692
1714
|
return {
|
|
1715
|
+
beginDay: 'BeginDay',
|
|
1716
|
+
bizType: 'BizType',
|
|
1717
|
+
deviceId: 'DeviceId',
|
|
1718
|
+
expiredDay: 'ExpiredDay',
|
|
1693
1719
|
requestId: 'RequestId',
|
|
1694
|
-
|
|
1695
|
-
authorityComparisionScore: 'AuthorityComparisionScore',
|
|
1696
|
-
faceComparisonScore: 'FaceComparisonScore',
|
|
1697
|
-
idCardFaceComparisonScore: 'IdCardFaceComparisonScore',
|
|
1698
|
-
material: 'Material',
|
|
1720
|
+
userDeviceId: 'UserDeviceId',
|
|
1699
1721
|
};
|
|
1700
1722
|
}
|
|
1701
1723
|
static types() {
|
|
1702
1724
|
return {
|
|
1725
|
+
beginDay: 'string',
|
|
1726
|
+
bizType: 'string',
|
|
1727
|
+
deviceId: 'string',
|
|
1728
|
+
expiredDay: 'string',
|
|
1703
1729
|
requestId: 'string',
|
|
1704
|
-
|
|
1705
|
-
authorityComparisionScore: 'number',
|
|
1706
|
-
faceComparisonScore: 'number',
|
|
1707
|
-
idCardFaceComparisonScore: 'number',
|
|
1708
|
-
material: DescribeVerifyResultResponseMaterial,
|
|
1730
|
+
userDeviceId: 'string',
|
|
1709
1731
|
};
|
|
1710
1732
|
}
|
|
1711
1733
|
}
|
|
1712
|
-
exports.
|
|
1713
|
-
class
|
|
1734
|
+
exports.ModifyDeviceInfoResponse = ModifyDeviceInfoResponse;
|
|
1735
|
+
class UpdateAppPackageRequest extends $tea.Model {
|
|
1736
|
+
constructor(map) {
|
|
1737
|
+
super(map);
|
|
1738
|
+
}
|
|
1714
1739
|
static names() {
|
|
1715
|
-
return {
|
|
1740
|
+
return {
|
|
1741
|
+
debug: 'Debug',
|
|
1742
|
+
id: 'Id',
|
|
1743
|
+
packageUrl: 'PackageUrl',
|
|
1744
|
+
platform: 'Platform',
|
|
1745
|
+
};
|
|
1716
1746
|
}
|
|
1717
1747
|
static types() {
|
|
1718
|
-
return {
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1748
|
+
return {
|
|
1749
|
+
debug: 'boolean',
|
|
1750
|
+
id: 'number',
|
|
1751
|
+
packageUrl: 'string',
|
|
1752
|
+
platform: 'string',
|
|
1753
|
+
};
|
|
1722
1754
|
}
|
|
1723
1755
|
}
|
|
1724
|
-
exports.
|
|
1725
|
-
class
|
|
1756
|
+
exports.UpdateAppPackageRequest = UpdateAppPackageRequest;
|
|
1757
|
+
class UpdateAppPackageResponse extends $tea.Model {
|
|
1726
1758
|
constructor(map) {
|
|
1727
1759
|
super(map);
|
|
1728
1760
|
}
|
|
1729
1761
|
static names() {
|
|
1730
1762
|
return {
|
|
1731
1763
|
requestId: 'RequestId',
|
|
1732
|
-
|
|
1764
|
+
taskId: 'TaskId',
|
|
1733
1765
|
};
|
|
1734
1766
|
}
|
|
1735
1767
|
static types() {
|
|
1736
1768
|
return {
|
|
1737
1769
|
requestId: 'string',
|
|
1738
|
-
|
|
1770
|
+
taskId: 'string',
|
|
1739
1771
|
};
|
|
1740
1772
|
}
|
|
1741
1773
|
}
|
|
1742
|
-
exports.
|
|
1743
|
-
class
|
|
1774
|
+
exports.UpdateAppPackageResponse = UpdateAppPackageResponse;
|
|
1775
|
+
class UpdateFaceConfigRequest extends $tea.Model {
|
|
1744
1776
|
constructor(map) {
|
|
1745
1777
|
super(map);
|
|
1746
1778
|
}
|
|
1747
1779
|
static names() {
|
|
1748
1780
|
return {
|
|
1749
|
-
|
|
1781
|
+
bizName: 'BizName',
|
|
1750
1782
|
bizType: 'BizType',
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
callbackSeed: 'CallbackSeed',
|
|
1754
|
-
idCardFrontImageUrl: 'IdCardFrontImageUrl',
|
|
1755
|
-
userId: 'UserId',
|
|
1756
|
-
bizId: 'BizId',
|
|
1757
|
-
name: 'Name',
|
|
1758
|
-
idCardNumber: 'IdCardNumber',
|
|
1759
|
-
passedRedirectUrl: 'PassedRedirectUrl',
|
|
1760
|
-
callbackUrl: 'CallbackUrl',
|
|
1761
|
-
userIp: 'UserIp',
|
|
1762
|
-
userPhoneNumber: 'UserPhoneNumber',
|
|
1763
|
-
userRegistTime: 'UserRegistTime',
|
|
1783
|
+
lang: 'Lang',
|
|
1784
|
+
sourceIp: 'SourceIp',
|
|
1764
1785
|
};
|
|
1765
1786
|
}
|
|
1766
1787
|
static types() {
|
|
1767
1788
|
return {
|
|
1768
|
-
|
|
1789
|
+
bizName: 'string',
|
|
1769
1790
|
bizType: 'string',
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
callbackSeed: 'string',
|
|
1773
|
-
idCardFrontImageUrl: 'string',
|
|
1774
|
-
userId: 'string',
|
|
1775
|
-
bizId: 'string',
|
|
1776
|
-
name: 'string',
|
|
1777
|
-
idCardNumber: 'string',
|
|
1778
|
-
passedRedirectUrl: 'string',
|
|
1779
|
-
callbackUrl: 'string',
|
|
1780
|
-
userIp: 'string',
|
|
1781
|
-
userPhoneNumber: 'string',
|
|
1782
|
-
userRegistTime: 'number',
|
|
1791
|
+
lang: 'string',
|
|
1792
|
+
sourceIp: 'string',
|
|
1783
1793
|
};
|
|
1784
1794
|
}
|
|
1785
1795
|
}
|
|
1786
|
-
exports.
|
|
1787
|
-
class
|
|
1796
|
+
exports.UpdateFaceConfigRequest = UpdateFaceConfigRequest;
|
|
1797
|
+
class UpdateFaceConfigResponse extends $tea.Model {
|
|
1788
1798
|
constructor(map) {
|
|
1789
1799
|
super(map);
|
|
1790
1800
|
}
|
|
1791
1801
|
static names() {
|
|
1792
1802
|
return {
|
|
1793
1803
|
requestId: 'RequestId',
|
|
1794
|
-
verifyPageUrl: 'VerifyPageUrl',
|
|
1795
|
-
verifyToken: 'VerifyToken',
|
|
1796
|
-
ossUploadToken: 'OssUploadToken',
|
|
1797
1804
|
};
|
|
1798
1805
|
}
|
|
1799
1806
|
static types() {
|
|
1800
1807
|
return {
|
|
1801
1808
|
requestId: 'string',
|
|
1802
|
-
verifyPageUrl: 'string',
|
|
1803
|
-
verifyToken: 'string',
|
|
1804
|
-
ossUploadToken: DescribeVerifyTokenResponseOssUploadToken,
|
|
1805
1809
|
};
|
|
1806
1810
|
}
|
|
1807
1811
|
}
|
|
1808
|
-
exports.
|
|
1809
|
-
class
|
|
1812
|
+
exports.UpdateFaceConfigResponse = UpdateFaceConfigResponse;
|
|
1813
|
+
class UpdateVerifySettingRequest extends $tea.Model {
|
|
1810
1814
|
constructor(map) {
|
|
1811
1815
|
super(map);
|
|
1812
1816
|
}
|
|
1813
1817
|
static names() {
|
|
1814
1818
|
return {
|
|
1815
|
-
|
|
1816
|
-
uid: 'Uid',
|
|
1819
|
+
bizName: 'BizName',
|
|
1817
1820
|
bizType: 'BizType',
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
valid: 'Valid',
|
|
1823
|
-
gmtCreate: 'GmtCreate',
|
|
1824
|
-
gmtModified: 'GmtModified',
|
|
1821
|
+
guideStep: 'GuideStep',
|
|
1822
|
+
privacyStep: 'PrivacyStep',
|
|
1823
|
+
resultStep: 'ResultStep',
|
|
1824
|
+
solution: 'Solution',
|
|
1825
1825
|
};
|
|
1826
1826
|
}
|
|
1827
1827
|
static types() {
|
|
1828
1828
|
return {
|
|
1829
|
-
|
|
1830
|
-
uid: 'number',
|
|
1829
|
+
bizName: 'string',
|
|
1831
1830
|
bizType: 'string',
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
valid: 'number',
|
|
1837
|
-
gmtCreate: 'number',
|
|
1838
|
-
gmtModified: 'number',
|
|
1831
|
+
guideStep: 'boolean',
|
|
1832
|
+
privacyStep: 'boolean',
|
|
1833
|
+
resultStep: 'boolean',
|
|
1834
|
+
solution: 'string',
|
|
1839
1835
|
};
|
|
1840
1836
|
}
|
|
1841
1837
|
}
|
|
1842
|
-
exports.
|
|
1843
|
-
class
|
|
1838
|
+
exports.UpdateVerifySettingRequest = UpdateVerifySettingRequest;
|
|
1839
|
+
class UpdateVerifySettingResponse extends $tea.Model {
|
|
1844
1840
|
constructor(map) {
|
|
1845
1841
|
super(map);
|
|
1846
1842
|
}
|
|
1847
1843
|
static names() {
|
|
1848
1844
|
return {
|
|
1849
|
-
bizType: 'BizType',
|
|
1850
1845
|
bizName: 'BizName',
|
|
1851
|
-
|
|
1846
|
+
bizType: 'BizType',
|
|
1847
|
+
requestId: 'RequestId',
|
|
1848
|
+
solution: 'Solution',
|
|
1849
|
+
stepList: 'StepList',
|
|
1852
1850
|
};
|
|
1853
1851
|
}
|
|
1854
1852
|
static types() {
|
|
1855
1853
|
return {
|
|
1856
|
-
bizType: 'string',
|
|
1857
1854
|
bizName: 'string',
|
|
1858
|
-
|
|
1855
|
+
bizType: 'string',
|
|
1856
|
+
requestId: 'string',
|
|
1857
|
+
solution: 'string',
|
|
1858
|
+
stepList: { 'type': 'array', 'itemType': 'string' },
|
|
1859
1859
|
};
|
|
1860
1860
|
}
|
|
1861
1861
|
}
|
|
1862
|
-
exports.
|
|
1863
|
-
class
|
|
1862
|
+
exports.UpdateVerifySettingResponse = UpdateVerifySettingResponse;
|
|
1863
|
+
class VerifyDeviceRequest extends $tea.Model {
|
|
1864
1864
|
constructor(map) {
|
|
1865
1865
|
super(map);
|
|
1866
1866
|
}
|
|
1867
1867
|
static names() {
|
|
1868
1868
|
return {
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1869
|
+
appVersion: 'AppVersion',
|
|
1870
|
+
certifyData: 'CertifyData',
|
|
1871
|
+
certifyId: 'CertifyId',
|
|
1872
|
+
deviceToken: 'DeviceToken',
|
|
1873
|
+
extInfo: 'ExtInfo',
|
|
1872
1874
|
};
|
|
1873
1875
|
}
|
|
1874
1876
|
static types() {
|
|
1875
1877
|
return {
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1878
|
+
appVersion: 'string',
|
|
1879
|
+
certifyData: 'string',
|
|
1880
|
+
certifyId: 'string',
|
|
1881
|
+
deviceToken: 'string',
|
|
1882
|
+
extInfo: 'string',
|
|
1879
1883
|
};
|
|
1880
1884
|
}
|
|
1881
1885
|
}
|
|
1882
|
-
exports.
|
|
1883
|
-
class
|
|
1886
|
+
exports.VerifyDeviceRequest = VerifyDeviceRequest;
|
|
1887
|
+
class VerifyDeviceResponse extends $tea.Model {
|
|
1884
1888
|
constructor(map) {
|
|
1885
1889
|
super(map);
|
|
1886
1890
|
}
|
|
1887
1891
|
static names() {
|
|
1888
1892
|
return {
|
|
1889
|
-
|
|
1890
|
-
|
|
1893
|
+
code: 'Code',
|
|
1894
|
+
message: 'Message',
|
|
1895
|
+
requestId: 'RequestId',
|
|
1896
|
+
resultObject: 'ResultObject',
|
|
1891
1897
|
};
|
|
1892
1898
|
}
|
|
1893
1899
|
static types() {
|
|
1894
1900
|
return {
|
|
1895
|
-
|
|
1896
|
-
|
|
1901
|
+
code: 'string',
|
|
1902
|
+
message: 'string',
|
|
1903
|
+
requestId: 'string',
|
|
1904
|
+
resultObject: VerifyDeviceResponseResultObject,
|
|
1897
1905
|
};
|
|
1898
1906
|
}
|
|
1899
1907
|
}
|
|
1900
|
-
exports.
|
|
1901
|
-
class
|
|
1908
|
+
exports.VerifyDeviceResponse = VerifyDeviceResponse;
|
|
1909
|
+
class VerifyMaterialRequest extends $tea.Model {
|
|
1902
1910
|
constructor(map) {
|
|
1903
1911
|
super(map);
|
|
1904
1912
|
}
|
|
1905
1913
|
static names() {
|
|
1906
1914
|
return {
|
|
1907
|
-
|
|
1915
|
+
bizId: 'BizId',
|
|
1916
|
+
bizType: 'BizType',
|
|
1917
|
+
faceImageUrl: 'FaceImageUrl',
|
|
1918
|
+
idCardBackImageUrl: 'IdCardBackImageUrl',
|
|
1919
|
+
idCardFrontImageUrl: 'IdCardFrontImageUrl',
|
|
1920
|
+
idCardNumber: 'IdCardNumber',
|
|
1921
|
+
name: 'Name',
|
|
1922
|
+
userId: 'UserId',
|
|
1908
1923
|
};
|
|
1909
1924
|
}
|
|
1910
1925
|
static types() {
|
|
1911
1926
|
return {
|
|
1912
|
-
|
|
1927
|
+
bizId: 'string',
|
|
1928
|
+
bizType: 'string',
|
|
1929
|
+
faceImageUrl: 'string',
|
|
1930
|
+
idCardBackImageUrl: 'string',
|
|
1931
|
+
idCardFrontImageUrl: 'string',
|
|
1932
|
+
idCardNumber: 'string',
|
|
1933
|
+
name: 'string',
|
|
1934
|
+
userId: 'string',
|
|
1913
1935
|
};
|
|
1914
1936
|
}
|
|
1915
1937
|
}
|
|
1916
|
-
exports.
|
|
1917
|
-
class
|
|
1938
|
+
exports.VerifyMaterialRequest = VerifyMaterialRequest;
|
|
1939
|
+
class VerifyMaterialResponse extends $tea.Model {
|
|
1918
1940
|
constructor(map) {
|
|
1919
1941
|
super(map);
|
|
1920
1942
|
}
|
|
1921
1943
|
static names() {
|
|
1922
1944
|
return {
|
|
1923
|
-
|
|
1945
|
+
authorityComparisionScore: 'AuthorityComparisionScore',
|
|
1946
|
+
idCardFaceComparisonScore: 'IdCardFaceComparisonScore',
|
|
1947
|
+
requestId: 'RequestId',
|
|
1948
|
+
verifyStatus: 'VerifyStatus',
|
|
1949
|
+
verifyToken: 'VerifyToken',
|
|
1950
|
+
material: 'Material',
|
|
1924
1951
|
};
|
|
1925
1952
|
}
|
|
1926
1953
|
static types() {
|
|
1927
1954
|
return {
|
|
1928
|
-
|
|
1955
|
+
authorityComparisionScore: 'number',
|
|
1956
|
+
idCardFaceComparisonScore: 'number',
|
|
1957
|
+
requestId: 'string',
|
|
1958
|
+
verifyStatus: 'number',
|
|
1959
|
+
verifyToken: 'string',
|
|
1960
|
+
material: VerifyMaterialResponseMaterial,
|
|
1929
1961
|
};
|
|
1930
1962
|
}
|
|
1931
1963
|
}
|
|
1932
|
-
exports.
|
|
1933
|
-
class
|
|
1964
|
+
exports.VerifyMaterialResponse = VerifyMaterialResponse;
|
|
1965
|
+
class CompareFaceVerifyResponseResultObject extends $tea.Model {
|
|
1934
1966
|
constructor(map) {
|
|
1935
1967
|
super(map);
|
|
1936
1968
|
}
|
|
1937
1969
|
static names() {
|
|
1938
1970
|
return {
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
icon: 'Icon',
|
|
1943
|
-
startDate: 'StartDate',
|
|
1944
|
-
endDate: 'EndDate',
|
|
1945
|
-
type: 'Type',
|
|
1946
|
-
packageInfo: 'PackageInfo',
|
|
1947
|
-
debugPackageInfo: 'DebugPackageInfo',
|
|
1971
|
+
certifyId: 'CertifyId',
|
|
1972
|
+
passed: 'Passed',
|
|
1973
|
+
verifyScore: 'VerifyScore',
|
|
1948
1974
|
};
|
|
1949
1975
|
}
|
|
1950
1976
|
static types() {
|
|
1951
1977
|
return {
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
icon: 'string',
|
|
1956
|
-
startDate: 'string',
|
|
1957
|
-
endDate: 'string',
|
|
1958
|
-
type: 'number',
|
|
1959
|
-
packageInfo: DescribeUpdatePackageResultResponseAppInfoPackageInfo,
|
|
1960
|
-
debugPackageInfo: DescribeUpdatePackageResultResponseAppInfoDebugPackageInfo,
|
|
1978
|
+
certifyId: 'string',
|
|
1979
|
+
passed: 'string',
|
|
1980
|
+
verifyScore: 'number',
|
|
1961
1981
|
};
|
|
1962
1982
|
}
|
|
1963
1983
|
}
|
|
1964
|
-
exports.
|
|
1965
|
-
class
|
|
1984
|
+
exports.CompareFaceVerifyResponseResultObject = CompareFaceVerifyResponseResultObject;
|
|
1985
|
+
class CompareFacesResponseData extends $tea.Model {
|
|
1966
1986
|
constructor(map) {
|
|
1967
1987
|
super(map);
|
|
1968
1988
|
}
|
|
1969
1989
|
static names() {
|
|
1970
1990
|
return {
|
|
1971
|
-
|
|
1991
|
+
confidenceThresholds: 'ConfidenceThresholds',
|
|
1992
|
+
similarityScore: 'SimilarityScore',
|
|
1972
1993
|
};
|
|
1973
1994
|
}
|
|
1974
1995
|
static types() {
|
|
1975
1996
|
return {
|
|
1976
|
-
|
|
1997
|
+
confidenceThresholds: 'string',
|
|
1998
|
+
similarityScore: 'number',
|
|
1977
1999
|
};
|
|
1978
2000
|
}
|
|
1979
2001
|
}
|
|
1980
|
-
exports.
|
|
1981
|
-
class
|
|
2002
|
+
exports.CompareFacesResponseData = CompareFacesResponseData;
|
|
2003
|
+
class ContrastFaceVerifyResponseResultObject extends $tea.Model {
|
|
1982
2004
|
constructor(map) {
|
|
1983
2005
|
super(map);
|
|
1984
2006
|
}
|
|
1985
2007
|
static names() {
|
|
1986
2008
|
return {
|
|
1987
|
-
|
|
2009
|
+
certifyId: 'CertifyId',
|
|
2010
|
+
identityInfo: 'IdentityInfo',
|
|
2011
|
+
materialInfo: 'MaterialInfo',
|
|
2012
|
+
passed: 'Passed',
|
|
2013
|
+
subCode: 'SubCode',
|
|
1988
2014
|
};
|
|
1989
2015
|
}
|
|
1990
2016
|
static types() {
|
|
1991
2017
|
return {
|
|
1992
|
-
|
|
2018
|
+
certifyId: 'string',
|
|
2019
|
+
identityInfo: 'string',
|
|
2020
|
+
materialInfo: 'string',
|
|
2021
|
+
passed: 'string',
|
|
2022
|
+
subCode: 'string',
|
|
1993
2023
|
};
|
|
1994
2024
|
}
|
|
1995
2025
|
}
|
|
1996
|
-
exports.
|
|
1997
|
-
class
|
|
2026
|
+
exports.ContrastFaceVerifyResponseResultObject = ContrastFaceVerifyResponseResultObject;
|
|
2027
|
+
class DescribeAppInfoResponseAppInfoListDebugPackageInfo extends $tea.Model {
|
|
1998
2028
|
constructor(map) {
|
|
1999
2029
|
super(map);
|
|
2000
2030
|
}
|
|
2001
2031
|
static names() {
|
|
2002
2032
|
return {
|
|
2003
|
-
|
|
2004
|
-
name: 'Name',
|
|
2005
|
-
packageName: 'PackageName',
|
|
2006
|
-
icon: 'Icon',
|
|
2007
|
-
startDate: 'StartDate',
|
|
2008
|
-
endDate: 'EndDate',
|
|
2009
|
-
type: 'Type',
|
|
2010
|
-
packageInfo: 'PackageInfo',
|
|
2011
|
-
debugPackageInfo: 'DebugPackageInfo',
|
|
2033
|
+
version: 'Version',
|
|
2012
2034
|
};
|
|
2013
2035
|
}
|
|
2014
2036
|
static types() {
|
|
2015
2037
|
return {
|
|
2016
|
-
|
|
2017
|
-
name: 'string',
|
|
2018
|
-
packageName: 'string',
|
|
2019
|
-
icon: 'string',
|
|
2020
|
-
startDate: 'string',
|
|
2021
|
-
endDate: 'string',
|
|
2022
|
-
type: 'number',
|
|
2023
|
-
packageInfo: DescribeAppInfoResponseAppInfoListPackageInfo,
|
|
2024
|
-
debugPackageInfo: DescribeAppInfoResponseAppInfoListDebugPackageInfo,
|
|
2038
|
+
version: 'string',
|
|
2025
2039
|
};
|
|
2026
2040
|
}
|
|
2027
2041
|
}
|
|
2028
|
-
exports.
|
|
2029
|
-
class
|
|
2042
|
+
exports.DescribeAppInfoResponseAppInfoListDebugPackageInfo = DescribeAppInfoResponseAppInfoListDebugPackageInfo;
|
|
2043
|
+
class DescribeAppInfoResponseAppInfoListPackageInfo extends $tea.Model {
|
|
2030
2044
|
constructor(map) {
|
|
2031
2045
|
super(map);
|
|
2032
2046
|
}
|
|
2033
2047
|
static names() {
|
|
2034
2048
|
return {
|
|
2035
|
-
|
|
2036
|
-
identityInfo: 'IdentityInfo',
|
|
2037
|
-
materialInfo: 'MaterialInfo',
|
|
2038
|
-
subCode: 'SubCode',
|
|
2049
|
+
version: 'Version',
|
|
2039
2050
|
};
|
|
2040
2051
|
}
|
|
2041
2052
|
static types() {
|
|
2042
2053
|
return {
|
|
2043
|
-
|
|
2044
|
-
identityInfo: 'string',
|
|
2045
|
-
materialInfo: 'string',
|
|
2046
|
-
subCode: 'string',
|
|
2054
|
+
version: 'string',
|
|
2047
2055
|
};
|
|
2048
2056
|
}
|
|
2049
2057
|
}
|
|
2050
|
-
exports.
|
|
2051
|
-
class
|
|
2058
|
+
exports.DescribeAppInfoResponseAppInfoListPackageInfo = DescribeAppInfoResponseAppInfoListPackageInfo;
|
|
2059
|
+
class DescribeAppInfoResponseAppInfoList extends $tea.Model {
|
|
2052
2060
|
constructor(map) {
|
|
2053
2061
|
super(map);
|
|
2054
2062
|
}
|
|
2055
2063
|
static names() {
|
|
2056
2064
|
return {
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
accessKeySecret: 'AccessKeySecret',
|
|
2067
|
-
securityToken: 'SecurityToken',
|
|
2068
|
-
bucketName: 'BucketName',
|
|
2069
|
-
fileNamePrefix: 'FileNamePrefix',
|
|
2070
|
-
fileName: 'FileName',
|
|
2071
|
-
presignedUrl: 'PresignedUrl',
|
|
2065
|
+
endDate: 'EndDate',
|
|
2066
|
+
icon: 'Icon',
|
|
2067
|
+
id: 'Id',
|
|
2068
|
+
name: 'Name',
|
|
2069
|
+
packageName: 'PackageName',
|
|
2070
|
+
startDate: 'StartDate',
|
|
2071
|
+
type: 'Type',
|
|
2072
|
+
debugPackageInfo: 'DebugPackageInfo',
|
|
2073
|
+
packageInfo: 'PackageInfo',
|
|
2072
2074
|
};
|
|
2073
2075
|
}
|
|
2074
2076
|
static types() {
|
|
2075
2077
|
return {
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
accessKeySecret: 'string',
|
|
2086
|
-
securityToken: 'string',
|
|
2087
|
-
bucketName: 'string',
|
|
2088
|
-
fileNamePrefix: 'string',
|
|
2089
|
-
fileName: 'string',
|
|
2090
|
-
presignedUrl: 'string',
|
|
2078
|
+
endDate: 'string',
|
|
2079
|
+
icon: 'string',
|
|
2080
|
+
id: 'number',
|
|
2081
|
+
name: 'string',
|
|
2082
|
+
packageName: 'string',
|
|
2083
|
+
startDate: 'string',
|
|
2084
|
+
type: 'number',
|
|
2085
|
+
debugPackageInfo: DescribeAppInfoResponseAppInfoListDebugPackageInfo,
|
|
2086
|
+
packageInfo: DescribeAppInfoResponseAppInfoListPackageInfo,
|
|
2091
2087
|
};
|
|
2092
2088
|
}
|
|
2093
2089
|
}
|
|
2094
|
-
exports.
|
|
2095
|
-
class
|
|
2090
|
+
exports.DescribeAppInfoResponseAppInfoList = DescribeAppInfoResponseAppInfoList;
|
|
2091
|
+
class DescribeDeviceInfoResponseDeviceInfoListDeviceInfo extends $tea.Model {
|
|
2096
2092
|
constructor(map) {
|
|
2097
2093
|
super(map);
|
|
2098
2094
|
}
|
|
2099
2095
|
static names() {
|
|
2100
2096
|
return {
|
|
2101
|
-
|
|
2102
|
-
|
|
2097
|
+
beginDay: 'BeginDay',
|
|
2098
|
+
bizType: 'BizType',
|
|
2099
|
+
deviceId: 'DeviceId',
|
|
2100
|
+
expiredDay: 'ExpiredDay',
|
|
2101
|
+
userDeviceId: 'UserDeviceId',
|
|
2103
2102
|
};
|
|
2104
2103
|
}
|
|
2105
2104
|
static types() {
|
|
2106
2105
|
return {
|
|
2107
|
-
|
|
2108
|
-
|
|
2106
|
+
beginDay: 'string',
|
|
2107
|
+
bizType: 'string',
|
|
2108
|
+
deviceId: 'string',
|
|
2109
|
+
expiredDay: 'string',
|
|
2110
|
+
userDeviceId: 'string',
|
|
2109
2111
|
};
|
|
2110
2112
|
}
|
|
2111
2113
|
}
|
|
2112
|
-
exports.
|
|
2113
|
-
class
|
|
2114
|
+
exports.DescribeDeviceInfoResponseDeviceInfoListDeviceInfo = DescribeDeviceInfoResponseDeviceInfoListDeviceInfo;
|
|
2115
|
+
class DescribeDeviceInfoResponseDeviceInfoList extends $tea.Model {
|
|
2114
2116
|
constructor(map) {
|
|
2115
2117
|
super(map);
|
|
2116
2118
|
}
|
|
2117
2119
|
static names() {
|
|
2118
2120
|
return {
|
|
2119
|
-
|
|
2120
|
-
identityInfo: 'IdentityInfo',
|
|
2121
|
-
materialInfo: 'MaterialInfo',
|
|
2122
|
-
deviceToken: 'DeviceToken',
|
|
2123
|
-
subCode: 'SubCode',
|
|
2121
|
+
deviceInfo: 'DeviceInfo',
|
|
2124
2122
|
};
|
|
2125
2123
|
}
|
|
2126
2124
|
static types() {
|
|
2127
2125
|
return {
|
|
2128
|
-
|
|
2129
|
-
identityInfo: 'string',
|
|
2130
|
-
materialInfo: 'string',
|
|
2131
|
-
deviceToken: 'string',
|
|
2132
|
-
subCode: 'string',
|
|
2126
|
+
deviceInfo: { 'type': 'array', 'itemType': DescribeDeviceInfoResponseDeviceInfoListDeviceInfo },
|
|
2133
2127
|
};
|
|
2134
2128
|
}
|
|
2135
2129
|
}
|
|
2136
|
-
exports.
|
|
2137
|
-
class
|
|
2130
|
+
exports.DescribeDeviceInfoResponseDeviceInfoList = DescribeDeviceInfoResponseDeviceInfoList;
|
|
2131
|
+
class DescribeFaceConfigResponseItems extends $tea.Model {
|
|
2138
2132
|
constructor(map) {
|
|
2139
2133
|
super(map);
|
|
2140
2134
|
}
|
|
2141
2135
|
static names() {
|
|
2142
2136
|
return {
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
retMessageSub: 'RetMessageSub',
|
|
2147
|
-
hasNext: 'HasNext',
|
|
2148
|
-
extParams: 'ExtParams',
|
|
2137
|
+
bizName: 'BizName',
|
|
2138
|
+
bizType: 'BizType',
|
|
2139
|
+
gmtUpdated: 'GmtUpdated',
|
|
2149
2140
|
};
|
|
2150
2141
|
}
|
|
2151
2142
|
static types() {
|
|
2152
2143
|
return {
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
retMessageSub: 'string',
|
|
2157
|
-
hasNext: 'string',
|
|
2158
|
-
extParams: 'string',
|
|
2144
|
+
bizName: 'string',
|
|
2145
|
+
bizType: 'string',
|
|
2146
|
+
gmtUpdated: 'number',
|
|
2159
2147
|
};
|
|
2160
2148
|
}
|
|
2161
2149
|
}
|
|
2162
|
-
exports.
|
|
2163
|
-
class
|
|
2150
|
+
exports.DescribeFaceConfigResponseItems = DescribeFaceConfigResponseItems;
|
|
2151
|
+
class DescribeFaceUsageResponseFaceUsageList extends $tea.Model {
|
|
2164
2152
|
constructor(map) {
|
|
2165
2153
|
super(map);
|
|
2166
2154
|
}
|
|
2167
2155
|
static names() {
|
|
2168
2156
|
return {
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
bizType: 'BizType',
|
|
2172
|
-
beginDay: 'BeginDay',
|
|
2173
|
-
expiredDay: 'ExpiredDay',
|
|
2157
|
+
date: 'Date',
|
|
2158
|
+
totalCount: 'TotalCount',
|
|
2174
2159
|
};
|
|
2175
2160
|
}
|
|
2176
2161
|
static types() {
|
|
2177
2162
|
return {
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
bizType: 'string',
|
|
2181
|
-
beginDay: 'string',
|
|
2182
|
-
expiredDay: 'string',
|
|
2163
|
+
date: 'string',
|
|
2164
|
+
totalCount: 'number',
|
|
2183
2165
|
};
|
|
2184
2166
|
}
|
|
2185
2167
|
}
|
|
2186
|
-
exports.
|
|
2187
|
-
class
|
|
2168
|
+
exports.DescribeFaceUsageResponseFaceUsageList = DescribeFaceUsageResponseFaceUsageList;
|
|
2169
|
+
class DescribeFaceVerifyResponseResultObject extends $tea.Model {
|
|
2188
2170
|
constructor(map) {
|
|
2189
2171
|
super(map);
|
|
2190
2172
|
}
|
|
2191
2173
|
static names() {
|
|
2192
2174
|
return {
|
|
2193
|
-
|
|
2175
|
+
deviceToken: 'DeviceToken',
|
|
2176
|
+
identityInfo: 'IdentityInfo',
|
|
2177
|
+
materialInfo: 'MaterialInfo',
|
|
2178
|
+
passed: 'Passed',
|
|
2179
|
+
subCode: 'SubCode',
|
|
2194
2180
|
};
|
|
2195
2181
|
}
|
|
2196
2182
|
static types() {
|
|
2197
2183
|
return {
|
|
2198
|
-
|
|
2184
|
+
deviceToken: 'string',
|
|
2185
|
+
identityInfo: 'string',
|
|
2186
|
+
materialInfo: 'string',
|
|
2187
|
+
passed: 'string',
|
|
2188
|
+
subCode: 'string',
|
|
2199
2189
|
};
|
|
2200
2190
|
}
|
|
2201
2191
|
}
|
|
2202
|
-
exports.
|
|
2203
|
-
class
|
|
2192
|
+
exports.DescribeFaceVerifyResponseResultObject = DescribeFaceVerifyResponseResultObject;
|
|
2193
|
+
class DescribeOssUploadTokenResponseOssUploadToken extends $tea.Model {
|
|
2204
2194
|
constructor(map) {
|
|
2205
2195
|
super(map);
|
|
2206
2196
|
}
|
|
2207
2197
|
static names() {
|
|
2208
2198
|
return {
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2199
|
+
bucket: 'Bucket',
|
|
2200
|
+
endPoint: 'EndPoint',
|
|
2201
|
+
expired: 'Expired',
|
|
2202
|
+
key: 'Key',
|
|
2203
|
+
path: 'Path',
|
|
2204
|
+
secret: 'Secret',
|
|
2205
|
+
token: 'Token',
|
|
2213
2206
|
};
|
|
2214
2207
|
}
|
|
2215
2208
|
static types() {
|
|
2216
2209
|
return {
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2210
|
+
bucket: 'string',
|
|
2211
|
+
endPoint: 'string',
|
|
2212
|
+
expired: 'number',
|
|
2213
|
+
key: 'string',
|
|
2214
|
+
path: 'string',
|
|
2215
|
+
secret: 'string',
|
|
2216
|
+
token: 'string',
|
|
2221
2217
|
};
|
|
2222
2218
|
}
|
|
2223
2219
|
}
|
|
2224
|
-
exports.
|
|
2225
|
-
class
|
|
2220
|
+
exports.DescribeOssUploadTokenResponseOssUploadToken = DescribeOssUploadTokenResponseOssUploadToken;
|
|
2221
|
+
class DescribeUpdatePackageResultResponseAppInfoDebugPackageInfo extends $tea.Model {
|
|
2226
2222
|
constructor(map) {
|
|
2227
2223
|
super(map);
|
|
2228
2224
|
}
|
|
2229
2225
|
static names() {
|
|
2230
2226
|
return {
|
|
2231
|
-
|
|
2232
|
-
threshold: 'Threshold',
|
|
2227
|
+
version: 'Version',
|
|
2233
2228
|
};
|
|
2234
2229
|
}
|
|
2235
2230
|
static types() {
|
|
2236
2231
|
return {
|
|
2237
|
-
|
|
2238
|
-
threshold: 'number',
|
|
2232
|
+
version: 'string',
|
|
2239
2233
|
};
|
|
2240
2234
|
}
|
|
2241
2235
|
}
|
|
2242
|
-
exports.
|
|
2243
|
-
class
|
|
2236
|
+
exports.DescribeUpdatePackageResultResponseAppInfoDebugPackageInfo = DescribeUpdatePackageResultResponseAppInfoDebugPackageInfo;
|
|
2237
|
+
class DescribeUpdatePackageResultResponseAppInfoPackageInfo extends $tea.Model {
|
|
2244
2238
|
constructor(map) {
|
|
2245
2239
|
super(map);
|
|
2246
2240
|
}
|
|
2247
2241
|
static names() {
|
|
2248
2242
|
return {
|
|
2249
|
-
|
|
2250
|
-
rollAngle: 'RollAngle',
|
|
2251
|
-
yawAngle: 'YawAngle',
|
|
2243
|
+
version: 'Version',
|
|
2252
2244
|
};
|
|
2253
2245
|
}
|
|
2254
2246
|
static types() {
|
|
2255
2247
|
return {
|
|
2256
|
-
|
|
2257
|
-
rollAngle: 'number',
|
|
2258
|
-
yawAngle: 'number',
|
|
2248
|
+
version: 'string',
|
|
2259
2249
|
};
|
|
2260
2250
|
}
|
|
2261
2251
|
}
|
|
2262
|
-
exports.
|
|
2263
|
-
class
|
|
2252
|
+
exports.DescribeUpdatePackageResultResponseAppInfoPackageInfo = DescribeUpdatePackageResultResponseAppInfoPackageInfo;
|
|
2253
|
+
class DescribeUpdatePackageResultResponseAppInfo extends $tea.Model {
|
|
2264
2254
|
constructor(map) {
|
|
2265
2255
|
super(map);
|
|
2266
2256
|
}
|
|
2267
2257
|
static names() {
|
|
2268
2258
|
return {
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2259
|
+
endDate: 'EndDate',
|
|
2260
|
+
icon: 'Icon',
|
|
2261
|
+
id: 'Id',
|
|
2262
|
+
name: 'Name',
|
|
2263
|
+
packageName: 'PackageName',
|
|
2264
|
+
startDate: 'StartDate',
|
|
2265
|
+
type: 'Type',
|
|
2266
|
+
debugPackageInfo: 'DebugPackageInfo',
|
|
2267
|
+
packageInfo: 'PackageInfo',
|
|
2278
2268
|
};
|
|
2279
2269
|
}
|
|
2280
2270
|
static types() {
|
|
2281
2271
|
return {
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
};
|
|
2292
|
-
}
|
|
2293
|
-
}
|
|
2294
|
-
exports.DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfoFaceAttributes = DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfoFaceAttributes;
|
|
2295
|
-
class DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfo extends $tea.Model {
|
|
2296
|
-
constructor(map) {
|
|
2297
|
-
super(map);
|
|
2298
|
-
}
|
|
2299
|
-
static names() {
|
|
2300
|
-
return {
|
|
2301
|
-
faceRect: 'FaceRect',
|
|
2302
|
-
faceAttributes: 'FaceAttributes',
|
|
2303
|
-
};
|
|
2304
|
-
}
|
|
2305
|
-
static types() {
|
|
2306
|
-
return {
|
|
2307
|
-
faceRect: DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfoFaceRect,
|
|
2308
|
-
faceAttributes: DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfoFaceAttributes,
|
|
2309
|
-
};
|
|
2310
|
-
}
|
|
2311
|
-
}
|
|
2312
|
-
exports.DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfo = DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfo;
|
|
2313
|
-
class DetectFaceAttributesResponseDataFaceInfos extends $tea.Model {
|
|
2314
|
-
constructor(map) {
|
|
2315
|
-
super(map);
|
|
2316
|
-
}
|
|
2317
|
-
static names() {
|
|
2318
|
-
return {
|
|
2319
|
-
faceAttributesDetectInfo: 'FaceAttributesDetectInfo',
|
|
2320
|
-
};
|
|
2321
|
-
}
|
|
2322
|
-
static types() {
|
|
2323
|
-
return {
|
|
2324
|
-
faceAttributesDetectInfo: { 'type': 'array', 'itemType': DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfo },
|
|
2272
|
+
endDate: 'string',
|
|
2273
|
+
icon: 'string',
|
|
2274
|
+
id: 'number',
|
|
2275
|
+
name: 'string',
|
|
2276
|
+
packageName: 'string',
|
|
2277
|
+
startDate: 'string',
|
|
2278
|
+
type: 'number',
|
|
2279
|
+
debugPackageInfo: DescribeUpdatePackageResultResponseAppInfoDebugPackageInfo,
|
|
2280
|
+
packageInfo: DescribeUpdatePackageResultResponseAppInfoPackageInfo,
|
|
2325
2281
|
};
|
|
2326
2282
|
}
|
|
2327
2283
|
}
|
|
2328
|
-
exports.
|
|
2329
|
-
class
|
|
2284
|
+
exports.DescribeUpdatePackageResultResponseAppInfo = DescribeUpdatePackageResultResponseAppInfo;
|
|
2285
|
+
class DescribeVerifyRecordsResponseRecordsListMaterialIdCardInfo extends $tea.Model {
|
|
2330
2286
|
constructor(map) {
|
|
2331
2287
|
super(map);
|
|
2332
2288
|
}
|
|
2333
2289
|
static names() {
|
|
2334
2290
|
return {
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2291
|
+
address: 'Address',
|
|
2292
|
+
authority: 'Authority',
|
|
2293
|
+
backImageUrl: 'BackImageUrl',
|
|
2294
|
+
birth: 'Birth',
|
|
2295
|
+
endDate: 'EndDate',
|
|
2296
|
+
frontImageUrl: 'FrontImageUrl',
|
|
2297
|
+
name: 'Name',
|
|
2298
|
+
nationality: 'Nationality',
|
|
2299
|
+
number: 'Number',
|
|
2300
|
+
sex: 'Sex',
|
|
2301
|
+
startDate: 'StartDate',
|
|
2338
2302
|
};
|
|
2339
2303
|
}
|
|
2340
2304
|
static types() {
|
|
2341
2305
|
return {
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2306
|
+
address: 'string',
|
|
2307
|
+
authority: 'string',
|
|
2308
|
+
backImageUrl: 'string',
|
|
2309
|
+
birth: 'string',
|
|
2310
|
+
endDate: 'string',
|
|
2311
|
+
frontImageUrl: 'string',
|
|
2312
|
+
name: 'string',
|
|
2313
|
+
nationality: 'string',
|
|
2314
|
+
number: 'string',
|
|
2315
|
+
sex: 'string',
|
|
2316
|
+
startDate: 'string',
|
|
2345
2317
|
};
|
|
2346
2318
|
}
|
|
2347
2319
|
}
|
|
2348
|
-
exports.
|
|
2349
|
-
class
|
|
2320
|
+
exports.DescribeVerifyRecordsResponseRecordsListMaterialIdCardInfo = DescribeVerifyRecordsResponseRecordsListMaterialIdCardInfo;
|
|
2321
|
+
class DescribeVerifyRecordsResponseRecordsListMaterial extends $tea.Model {
|
|
2350
2322
|
constructor(map) {
|
|
2351
2323
|
super(map);
|
|
2352
2324
|
}
|
|
2353
2325
|
static names() {
|
|
2354
2326
|
return {
|
|
2355
|
-
|
|
2356
|
-
|
|
2327
|
+
faceImageUrl: 'FaceImageUrl',
|
|
2328
|
+
idCardName: 'IdCardName',
|
|
2329
|
+
idCardNumber: 'IdCardNumber',
|
|
2330
|
+
idCardInfo: 'IdCardInfo',
|
|
2357
2331
|
};
|
|
2358
2332
|
}
|
|
2359
2333
|
static types() {
|
|
2360
2334
|
return {
|
|
2361
|
-
|
|
2362
|
-
|
|
2335
|
+
faceImageUrl: 'string',
|
|
2336
|
+
idCardName: 'string',
|
|
2337
|
+
idCardNumber: 'string',
|
|
2338
|
+
idCardInfo: DescribeVerifyRecordsResponseRecordsListMaterialIdCardInfo,
|
|
2363
2339
|
};
|
|
2364
2340
|
}
|
|
2365
2341
|
}
|
|
2366
|
-
exports.
|
|
2367
|
-
class
|
|
2342
|
+
exports.DescribeVerifyRecordsResponseRecordsListMaterial = DescribeVerifyRecordsResponseRecordsListMaterial;
|
|
2343
|
+
class DescribeVerifyRecordsResponseRecordsList extends $tea.Model {
|
|
2368
2344
|
constructor(map) {
|
|
2369
2345
|
super(map);
|
|
2370
2346
|
}
|
|
2371
2347
|
static names() {
|
|
2372
2348
|
return {
|
|
2373
|
-
|
|
2374
|
-
|
|
2349
|
+
authorityComparisonScore: 'AuthorityComparisonScore',
|
|
2350
|
+
bizId: 'BizId',
|
|
2351
|
+
bizType: 'BizType',
|
|
2352
|
+
dataStats: 'DataStats',
|
|
2353
|
+
finishTime: 'FinishTime',
|
|
2354
|
+
idCardFaceComparisonScore: 'IdCardFaceComparisonScore',
|
|
2355
|
+
status: 'Status',
|
|
2356
|
+
verifyId: 'VerifyId',
|
|
2357
|
+
material: 'Material',
|
|
2375
2358
|
};
|
|
2376
2359
|
}
|
|
2377
2360
|
static types() {
|
|
2378
2361
|
return {
|
|
2379
|
-
|
|
2380
|
-
|
|
2362
|
+
authorityComparisonScore: 'number',
|
|
2363
|
+
bizId: 'string',
|
|
2364
|
+
bizType: 'string',
|
|
2365
|
+
dataStats: 'string',
|
|
2366
|
+
finishTime: 'number',
|
|
2367
|
+
idCardFaceComparisonScore: 'number',
|
|
2368
|
+
status: 'number',
|
|
2369
|
+
verifyId: 'string',
|
|
2370
|
+
material: DescribeVerifyRecordsResponseRecordsListMaterial,
|
|
2381
2371
|
};
|
|
2382
2372
|
}
|
|
2383
2373
|
}
|
|
2384
|
-
exports.
|
|
2385
|
-
class
|
|
2374
|
+
exports.DescribeVerifyRecordsResponseRecordsList = DescribeVerifyRecordsResponseRecordsList;
|
|
2375
|
+
class DescribeVerifyResultResponseMaterialIdCardInfo extends $tea.Model {
|
|
2386
2376
|
constructor(map) {
|
|
2387
2377
|
super(map);
|
|
2388
2378
|
}
|
|
2389
2379
|
static names() {
|
|
2390
2380
|
return {
|
|
2391
|
-
frontImageUrl: 'FrontImageUrl',
|
|
2392
|
-
backImageUrl: 'BackImageUrl',
|
|
2393
|
-
name: 'Name',
|
|
2394
|
-
number: 'Number',
|
|
2395
2381
|
address: 'Address',
|
|
2382
|
+
authority: 'Authority',
|
|
2383
|
+
backImageUrl: 'BackImageUrl',
|
|
2396
2384
|
birth: 'Birth',
|
|
2397
|
-
|
|
2385
|
+
endDate: 'EndDate',
|
|
2386
|
+
frontImageUrl: 'FrontImageUrl',
|
|
2387
|
+
name: 'Name',
|
|
2398
2388
|
nationality: 'Nationality',
|
|
2399
|
-
|
|
2389
|
+
number: 'Number',
|
|
2400
2390
|
startDate: 'StartDate',
|
|
2401
|
-
endDate: 'EndDate',
|
|
2402
2391
|
};
|
|
2403
2392
|
}
|
|
2404
2393
|
static types() {
|
|
2405
2394
|
return {
|
|
2406
|
-
frontImageUrl: 'string',
|
|
2407
|
-
backImageUrl: 'string',
|
|
2408
|
-
name: 'string',
|
|
2409
|
-
number: 'string',
|
|
2410
2395
|
address: 'string',
|
|
2396
|
+
authority: 'string',
|
|
2397
|
+
backImageUrl: 'string',
|
|
2411
2398
|
birth: 'string',
|
|
2412
|
-
|
|
2399
|
+
endDate: 'string',
|
|
2400
|
+
frontImageUrl: 'string',
|
|
2401
|
+
name: 'string',
|
|
2413
2402
|
nationality: 'string',
|
|
2414
|
-
|
|
2403
|
+
number: 'string',
|
|
2415
2404
|
startDate: 'string',
|
|
2416
|
-
endDate: 'string',
|
|
2417
2405
|
};
|
|
2418
2406
|
}
|
|
2419
2407
|
}
|
|
2420
|
-
exports.
|
|
2421
|
-
class
|
|
2408
|
+
exports.DescribeVerifyResultResponseMaterialIdCardInfo = DescribeVerifyResultResponseMaterialIdCardInfo;
|
|
2409
|
+
class DescribeVerifyResultResponseMaterial extends $tea.Model {
|
|
2422
2410
|
constructor(map) {
|
|
2423
2411
|
super(map);
|
|
2424
2412
|
}
|
|
2425
2413
|
static names() {
|
|
2426
2414
|
return {
|
|
2415
|
+
faceGlobalUrl: 'FaceGlobalUrl',
|
|
2427
2416
|
faceImageUrl: 'FaceImageUrl',
|
|
2417
|
+
faceMask: 'FaceMask',
|
|
2418
|
+
faceQuality: 'FaceQuality',
|
|
2428
2419
|
idCardName: 'IdCardName',
|
|
2429
2420
|
idCardNumber: 'IdCardNumber',
|
|
2430
2421
|
idCardInfo: 'IdCardInfo',
|
|
2422
|
+
videoUrls: 'VideoUrls',
|
|
2431
2423
|
};
|
|
2432
2424
|
}
|
|
2433
2425
|
static types() {
|
|
2434
2426
|
return {
|
|
2427
|
+
faceGlobalUrl: 'string',
|
|
2435
2428
|
faceImageUrl: 'string',
|
|
2429
|
+
faceMask: 'boolean',
|
|
2430
|
+
faceQuality: 'string',
|
|
2436
2431
|
idCardName: 'string',
|
|
2437
2432
|
idCardNumber: 'string',
|
|
2438
|
-
idCardInfo:
|
|
2433
|
+
idCardInfo: DescribeVerifyResultResponseMaterialIdCardInfo,
|
|
2434
|
+
videoUrls: { 'type': 'array', 'itemType': 'string' },
|
|
2439
2435
|
};
|
|
2440
2436
|
}
|
|
2441
2437
|
}
|
|
2442
|
-
exports.
|
|
2443
|
-
class
|
|
2438
|
+
exports.DescribeVerifyResultResponseMaterial = DescribeVerifyResultResponseMaterial;
|
|
2439
|
+
class DescribeVerifySettingResponseVerifySettingList extends $tea.Model {
|
|
2444
2440
|
constructor(map) {
|
|
2445
2441
|
super(map);
|
|
2446
2442
|
}
|
|
2447
2443
|
static names() {
|
|
2448
2444
|
return {
|
|
2445
|
+
bizName: 'BizName',
|
|
2449
2446
|
bizType: 'BizType',
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
verifyId: 'VerifyId',
|
|
2453
|
-
finishTime: 'FinishTime',
|
|
2454
|
-
status: 'Status',
|
|
2455
|
-
idCardFaceComparisonScore: 'IdCardFaceComparisonScore',
|
|
2456
|
-
authorityComparisonScore: 'AuthorityComparisonScore',
|
|
2457
|
-
material: 'Material',
|
|
2447
|
+
solution: 'Solution',
|
|
2448
|
+
stepList: 'StepList',
|
|
2458
2449
|
};
|
|
2459
2450
|
}
|
|
2460
2451
|
static types() {
|
|
2461
2452
|
return {
|
|
2453
|
+
bizName: 'string',
|
|
2462
2454
|
bizType: 'string',
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
verifyId: 'string',
|
|
2466
|
-
finishTime: 'number',
|
|
2467
|
-
status: 'number',
|
|
2468
|
-
idCardFaceComparisonScore: 'number',
|
|
2469
|
-
authorityComparisonScore: 'number',
|
|
2470
|
-
material: DescribeVerifyRecordsResponseRecordsListMaterial,
|
|
2455
|
+
solution: 'string',
|
|
2456
|
+
stepList: { 'type': 'array', 'itemType': 'string' },
|
|
2471
2457
|
};
|
|
2472
2458
|
}
|
|
2473
2459
|
}
|
|
2474
|
-
exports.
|
|
2475
|
-
class
|
|
2460
|
+
exports.DescribeVerifySettingResponseVerifySettingList = DescribeVerifySettingResponseVerifySettingList;
|
|
2461
|
+
class DescribeVerifyTokenResponseOssUploadToken extends $tea.Model {
|
|
2476
2462
|
constructor(map) {
|
|
2477
2463
|
super(map);
|
|
2478
2464
|
}
|
|
2479
2465
|
static names() {
|
|
2480
2466
|
return {
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2467
|
+
bucket: 'Bucket',
|
|
2468
|
+
endPoint: 'EndPoint',
|
|
2469
|
+
expired: 'Expired',
|
|
2470
|
+
key: 'Key',
|
|
2471
|
+
path: 'Path',
|
|
2472
|
+
secret: 'Secret',
|
|
2473
|
+
token: 'Token',
|
|
2485
2474
|
};
|
|
2486
2475
|
}
|
|
2487
2476
|
static types() {
|
|
2488
2477
|
return {
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2478
|
+
bucket: 'string',
|
|
2479
|
+
endPoint: 'string',
|
|
2480
|
+
expired: 'number',
|
|
2481
|
+
key: 'string',
|
|
2482
|
+
path: 'string',
|
|
2483
|
+
secret: 'string',
|
|
2484
|
+
token: 'string',
|
|
2493
2485
|
};
|
|
2494
2486
|
}
|
|
2495
2487
|
}
|
|
2496
|
-
exports.
|
|
2488
|
+
exports.DescribeVerifyTokenResponseOssUploadToken = DescribeVerifyTokenResponseOssUploadToken;
|
|
2497
2489
|
class DescribeVerifyUsageResponseVerifyUsageList extends $tea.Model {
|
|
2498
2490
|
constructor(map) {
|
|
2499
2491
|
super(map);
|
|
@@ -2502,204 +2494,404 @@ class DescribeVerifyUsageResponseVerifyUsageList extends $tea.Model {
|
|
|
2502
2494
|
return {
|
|
2503
2495
|
bizType: 'BizType',
|
|
2504
2496
|
date: 'Date',
|
|
2505
|
-
totalCount: 'TotalCount',
|
|
2506
|
-
passCount: 'PassCount',
|
|
2507
2497
|
failCount: 'FailCount',
|
|
2498
|
+
passCount: 'PassCount',
|
|
2499
|
+
totalCount: 'TotalCount',
|
|
2508
2500
|
};
|
|
2509
2501
|
}
|
|
2510
2502
|
static types() {
|
|
2511
2503
|
return {
|
|
2512
2504
|
bizType: 'string',
|
|
2513
2505
|
date: 'string',
|
|
2514
|
-
totalCount: 'number',
|
|
2515
|
-
passCount: 'number',
|
|
2516
2506
|
failCount: 'number',
|
|
2507
|
+
passCount: 'number',
|
|
2508
|
+
totalCount: 'number',
|
|
2517
2509
|
};
|
|
2518
2510
|
}
|
|
2519
2511
|
}
|
|
2520
2512
|
exports.DescribeVerifyUsageResponseVerifyUsageList = DescribeVerifyUsageResponseVerifyUsageList;
|
|
2521
|
-
class
|
|
2513
|
+
class DescribeWhitelistResponseItems extends $tea.Model {
|
|
2522
2514
|
constructor(map) {
|
|
2523
2515
|
super(map);
|
|
2524
2516
|
}
|
|
2525
2517
|
static names() {
|
|
2526
2518
|
return {
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
nationality: 'Nationality',
|
|
2519
|
+
bizId: 'BizId',
|
|
2520
|
+
bizType: 'BizType',
|
|
2530
2521
|
endDate: 'EndDate',
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
backImageUrl: 'BackImageUrl',
|
|
2522
|
+
gmtCreate: 'GmtCreate',
|
|
2523
|
+
gmtModified: 'GmtModified',
|
|
2524
|
+
id: 'Id',
|
|
2525
|
+
idCardNum: 'IdCardNum',
|
|
2536
2526
|
startDate: 'StartDate',
|
|
2527
|
+
uid: 'Uid',
|
|
2528
|
+
valid: 'Valid',
|
|
2537
2529
|
};
|
|
2538
2530
|
}
|
|
2539
2531
|
static types() {
|
|
2540
2532
|
return {
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
};
|
|
2552
|
-
}
|
|
2553
|
-
}
|
|
2554
|
-
exports.
|
|
2555
|
-
class
|
|
2556
|
-
constructor(map) {
|
|
2557
|
-
super(map);
|
|
2558
|
-
}
|
|
2559
|
-
static names() {
|
|
2533
|
+
bizId: 'string',
|
|
2534
|
+
bizType: 'string',
|
|
2535
|
+
endDate: 'number',
|
|
2536
|
+
gmtCreate: 'number',
|
|
2537
|
+
gmtModified: 'number',
|
|
2538
|
+
id: 'number',
|
|
2539
|
+
idCardNum: 'string',
|
|
2540
|
+
startDate: 'number',
|
|
2541
|
+
uid: 'number',
|
|
2542
|
+
valid: 'number',
|
|
2543
|
+
};
|
|
2544
|
+
}
|
|
2545
|
+
}
|
|
2546
|
+
exports.DescribeWhitelistResponseItems = DescribeWhitelistResponseItems;
|
|
2547
|
+
class DescribeWhitelistSettingResponseItems extends $tea.Model {
|
|
2548
|
+
constructor(map) {
|
|
2549
|
+
super(map);
|
|
2550
|
+
}
|
|
2551
|
+
static names() {
|
|
2560
2552
|
return {
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2553
|
+
certNo: 'CertNo',
|
|
2554
|
+
certifyId: 'CertifyId',
|
|
2555
|
+
gmtCreate: 'GmtCreate',
|
|
2556
|
+
gmtModified: 'GmtModified',
|
|
2557
|
+
id: 'Id',
|
|
2558
|
+
sceneId: 'SceneId',
|
|
2559
|
+
status: 'Status',
|
|
2560
|
+
validEndDate: 'ValidEndDate',
|
|
2561
|
+
validStartDate: 'ValidStartDate',
|
|
2568
2562
|
};
|
|
2569
2563
|
}
|
|
2570
2564
|
static types() {
|
|
2571
2565
|
return {
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2566
|
+
certNo: 'string',
|
|
2567
|
+
certifyId: 'string',
|
|
2568
|
+
gmtCreate: 'string',
|
|
2569
|
+
gmtModified: 'string',
|
|
2570
|
+
id: 'number',
|
|
2571
|
+
sceneId: 'number',
|
|
2572
|
+
status: 'string',
|
|
2573
|
+
validEndDate: 'string',
|
|
2574
|
+
validStartDate: 'string',
|
|
2579
2575
|
};
|
|
2580
2576
|
}
|
|
2581
2577
|
}
|
|
2582
|
-
exports.
|
|
2583
|
-
class
|
|
2578
|
+
exports.DescribeWhitelistSettingResponseItems = DescribeWhitelistSettingResponseItems;
|
|
2579
|
+
class DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfoFaceAttributesHeadpose extends $tea.Model {
|
|
2584
2580
|
constructor(map) {
|
|
2585
2581
|
super(map);
|
|
2586
2582
|
}
|
|
2587
2583
|
static names() {
|
|
2588
2584
|
return {
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
endDate: 'EndDate',
|
|
2593
|
-
frontImageUrl: 'FrontImageUrl',
|
|
2594
|
-
authority: 'Authority',
|
|
2595
|
-
name: 'Name',
|
|
2596
|
-
birth: 'Birth',
|
|
2597
|
-
backImageUrl: 'BackImageUrl',
|
|
2598
|
-
startDate: 'StartDate',
|
|
2585
|
+
pitchAngle: 'PitchAngle',
|
|
2586
|
+
rollAngle: 'RollAngle',
|
|
2587
|
+
yawAngle: 'YawAngle',
|
|
2599
2588
|
};
|
|
2600
2589
|
}
|
|
2601
2590
|
static types() {
|
|
2602
2591
|
return {
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
endDate: 'string',
|
|
2607
|
-
frontImageUrl: 'string',
|
|
2608
|
-
authority: 'string',
|
|
2609
|
-
name: 'string',
|
|
2610
|
-
birth: 'string',
|
|
2611
|
-
backImageUrl: 'string',
|
|
2612
|
-
startDate: 'string',
|
|
2592
|
+
pitchAngle: 'number',
|
|
2593
|
+
rollAngle: 'number',
|
|
2594
|
+
yawAngle: 'number',
|
|
2613
2595
|
};
|
|
2614
2596
|
}
|
|
2615
2597
|
}
|
|
2616
|
-
exports.
|
|
2617
|
-
class
|
|
2598
|
+
exports.DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfoFaceAttributesHeadpose = DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfoFaceAttributesHeadpose;
|
|
2599
|
+
class DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfoFaceAttributesSmiling extends $tea.Model {
|
|
2618
2600
|
constructor(map) {
|
|
2619
2601
|
super(map);
|
|
2620
2602
|
}
|
|
2621
2603
|
static names() {
|
|
2622
2604
|
return {
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
idCardNumber: 'IdCardNumber',
|
|
2626
|
-
faceQuality: 'FaceQuality',
|
|
2627
|
-
faceGlobalUrl: 'FaceGlobalUrl',
|
|
2628
|
-
faceMask: 'FaceMask',
|
|
2629
|
-
idCardInfo: 'IdCardInfo',
|
|
2630
|
-
videoUrls: 'VideoUrls',
|
|
2605
|
+
threshold: 'Threshold',
|
|
2606
|
+
value: 'Value',
|
|
2631
2607
|
};
|
|
2632
2608
|
}
|
|
2633
2609
|
static types() {
|
|
2634
2610
|
return {
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
idCardNumber: 'string',
|
|
2638
|
-
faceQuality: 'string',
|
|
2639
|
-
faceGlobalUrl: 'string',
|
|
2640
|
-
faceMask: 'boolean',
|
|
2641
|
-
idCardInfo: DescribeVerifyResultResponseMaterialIdCardInfo,
|
|
2642
|
-
videoUrls: { 'type': 'array', 'itemType': 'string' },
|
|
2611
|
+
threshold: 'number',
|
|
2612
|
+
value: 'number',
|
|
2643
2613
|
};
|
|
2644
2614
|
}
|
|
2645
2615
|
}
|
|
2646
|
-
exports.
|
|
2647
|
-
class
|
|
2616
|
+
exports.DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfoFaceAttributesSmiling = DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfoFaceAttributesSmiling;
|
|
2617
|
+
class DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfoFaceAttributes extends $tea.Model {
|
|
2648
2618
|
constructor(map) {
|
|
2649
2619
|
super(map);
|
|
2650
2620
|
}
|
|
2651
2621
|
static names() {
|
|
2652
2622
|
return {
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2623
|
+
blur: 'Blur',
|
|
2624
|
+
facequal: 'Facequal',
|
|
2625
|
+
facetype: 'Facetype',
|
|
2626
|
+
glasses: 'Glasses',
|
|
2627
|
+
integrity: 'Integrity',
|
|
2628
|
+
respirator: 'Respirator',
|
|
2629
|
+
headpose: 'Headpose',
|
|
2630
|
+
smiling: 'Smiling',
|
|
2660
2631
|
};
|
|
2661
2632
|
}
|
|
2662
2633
|
static types() {
|
|
2663
2634
|
return {
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2635
|
+
blur: 'number',
|
|
2636
|
+
facequal: 'number',
|
|
2637
|
+
facetype: 'string',
|
|
2638
|
+
glasses: 'string',
|
|
2639
|
+
integrity: 'number',
|
|
2640
|
+
respirator: 'string',
|
|
2641
|
+
headpose: DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfoFaceAttributesHeadpose,
|
|
2642
|
+
smiling: DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfoFaceAttributesSmiling,
|
|
2671
2643
|
};
|
|
2672
2644
|
}
|
|
2673
2645
|
}
|
|
2674
|
-
exports.
|
|
2675
|
-
class
|
|
2646
|
+
exports.DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfoFaceAttributes = DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfoFaceAttributes;
|
|
2647
|
+
class DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfoFaceRect extends $tea.Model {
|
|
2676
2648
|
constructor(map) {
|
|
2677
2649
|
super(map);
|
|
2678
2650
|
}
|
|
2679
2651
|
static names() {
|
|
2680
2652
|
return {
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
secret: 'Secret',
|
|
2686
|
-
key: 'Key',
|
|
2687
|
-
token: 'Token',
|
|
2653
|
+
height: 'Height',
|
|
2654
|
+
left: 'Left',
|
|
2655
|
+
top: 'Top',
|
|
2656
|
+
width: 'Width',
|
|
2688
2657
|
};
|
|
2689
2658
|
}
|
|
2690
2659
|
static types() {
|
|
2691
2660
|
return {
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
secret: 'string',
|
|
2697
|
-
key: 'string',
|
|
2698
|
-
token: 'string',
|
|
2661
|
+
height: 'number',
|
|
2662
|
+
left: 'number',
|
|
2663
|
+
top: 'number',
|
|
2664
|
+
width: 'number',
|
|
2699
2665
|
};
|
|
2700
2666
|
}
|
|
2701
2667
|
}
|
|
2702
|
-
exports.
|
|
2668
|
+
exports.DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfoFaceRect = DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfoFaceRect;
|
|
2669
|
+
class DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfo extends $tea.Model {
|
|
2670
|
+
constructor(map) {
|
|
2671
|
+
super(map);
|
|
2672
|
+
}
|
|
2673
|
+
static names() {
|
|
2674
|
+
return {
|
|
2675
|
+
faceAttributes: 'FaceAttributes',
|
|
2676
|
+
faceRect: 'FaceRect',
|
|
2677
|
+
};
|
|
2678
|
+
}
|
|
2679
|
+
static types() {
|
|
2680
|
+
return {
|
|
2681
|
+
faceAttributes: DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfoFaceAttributes,
|
|
2682
|
+
faceRect: DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfoFaceRect,
|
|
2683
|
+
};
|
|
2684
|
+
}
|
|
2685
|
+
}
|
|
2686
|
+
exports.DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfo = DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfo;
|
|
2687
|
+
class DetectFaceAttributesResponseDataFaceInfos extends $tea.Model {
|
|
2688
|
+
constructor(map) {
|
|
2689
|
+
super(map);
|
|
2690
|
+
}
|
|
2691
|
+
static names() {
|
|
2692
|
+
return {
|
|
2693
|
+
faceAttributesDetectInfo: 'FaceAttributesDetectInfo',
|
|
2694
|
+
};
|
|
2695
|
+
}
|
|
2696
|
+
static types() {
|
|
2697
|
+
return {
|
|
2698
|
+
faceAttributesDetectInfo: { 'type': 'array', 'itemType': DetectFaceAttributesResponseDataFaceInfosFaceAttributesDetectInfo },
|
|
2699
|
+
};
|
|
2700
|
+
}
|
|
2701
|
+
}
|
|
2702
|
+
exports.DetectFaceAttributesResponseDataFaceInfos = DetectFaceAttributesResponseDataFaceInfos;
|
|
2703
|
+
class DetectFaceAttributesResponseData extends $tea.Model {
|
|
2704
|
+
constructor(map) {
|
|
2705
|
+
super(map);
|
|
2706
|
+
}
|
|
2707
|
+
static names() {
|
|
2708
|
+
return {
|
|
2709
|
+
imgHeight: 'ImgHeight',
|
|
2710
|
+
imgWidth: 'ImgWidth',
|
|
2711
|
+
faceInfos: 'FaceInfos',
|
|
2712
|
+
};
|
|
2713
|
+
}
|
|
2714
|
+
static types() {
|
|
2715
|
+
return {
|
|
2716
|
+
imgHeight: 'number',
|
|
2717
|
+
imgWidth: 'number',
|
|
2718
|
+
faceInfos: DetectFaceAttributesResponseDataFaceInfos,
|
|
2719
|
+
};
|
|
2720
|
+
}
|
|
2721
|
+
}
|
|
2722
|
+
exports.DetectFaceAttributesResponseData = DetectFaceAttributesResponseData;
|
|
2723
|
+
class InitDeviceResponseResultObject extends $tea.Model {
|
|
2724
|
+
constructor(map) {
|
|
2725
|
+
super(map);
|
|
2726
|
+
}
|
|
2727
|
+
static names() {
|
|
2728
|
+
return {
|
|
2729
|
+
accessKeyId: 'AccessKeyId',
|
|
2730
|
+
accessKeySecret: 'AccessKeySecret',
|
|
2731
|
+
bucketName: 'BucketName',
|
|
2732
|
+
certifyId: 'CertifyId',
|
|
2733
|
+
extParams: 'ExtParams',
|
|
2734
|
+
fileName: 'FileName',
|
|
2735
|
+
fileNamePrefix: 'FileNamePrefix',
|
|
2736
|
+
message: 'Message',
|
|
2737
|
+
ossEndPoint: 'OssEndPoint',
|
|
2738
|
+
presignedUrl: 'PresignedUrl',
|
|
2739
|
+
protocol: 'Protocol',
|
|
2740
|
+
retCode: 'RetCode',
|
|
2741
|
+
retCodeSub: 'RetCodeSub',
|
|
2742
|
+
retMessageSub: 'RetMessageSub',
|
|
2743
|
+
securityToken: 'SecurityToken',
|
|
2744
|
+
};
|
|
2745
|
+
}
|
|
2746
|
+
static types() {
|
|
2747
|
+
return {
|
|
2748
|
+
accessKeyId: 'string',
|
|
2749
|
+
accessKeySecret: 'string',
|
|
2750
|
+
bucketName: 'string',
|
|
2751
|
+
certifyId: 'string',
|
|
2752
|
+
extParams: 'string',
|
|
2753
|
+
fileName: 'string',
|
|
2754
|
+
fileNamePrefix: 'string',
|
|
2755
|
+
message: 'string',
|
|
2756
|
+
ossEndPoint: 'string',
|
|
2757
|
+
presignedUrl: 'string',
|
|
2758
|
+
protocol: 'string',
|
|
2759
|
+
retCode: 'string',
|
|
2760
|
+
retCodeSub: 'string',
|
|
2761
|
+
retMessageSub: 'string',
|
|
2762
|
+
securityToken: 'string',
|
|
2763
|
+
};
|
|
2764
|
+
}
|
|
2765
|
+
}
|
|
2766
|
+
exports.InitDeviceResponseResultObject = InitDeviceResponseResultObject;
|
|
2767
|
+
class InitFaceVerifyResponseResultObject extends $tea.Model {
|
|
2768
|
+
constructor(map) {
|
|
2769
|
+
super(map);
|
|
2770
|
+
}
|
|
2771
|
+
static names() {
|
|
2772
|
+
return {
|
|
2773
|
+
certifyId: 'CertifyId',
|
|
2774
|
+
certifyUrl: 'CertifyUrl',
|
|
2775
|
+
};
|
|
2776
|
+
}
|
|
2777
|
+
static types() {
|
|
2778
|
+
return {
|
|
2779
|
+
certifyId: 'string',
|
|
2780
|
+
certifyUrl: 'string',
|
|
2781
|
+
};
|
|
2782
|
+
}
|
|
2783
|
+
}
|
|
2784
|
+
exports.InitFaceVerifyResponseResultObject = InitFaceVerifyResponseResultObject;
|
|
2785
|
+
class LivenessFaceVerifyResponseResultObject extends $tea.Model {
|
|
2786
|
+
constructor(map) {
|
|
2787
|
+
super(map);
|
|
2788
|
+
}
|
|
2789
|
+
static names() {
|
|
2790
|
+
return {
|
|
2791
|
+
certifyId: 'CertifyId',
|
|
2792
|
+
materialInfo: 'MaterialInfo',
|
|
2793
|
+
passed: 'Passed',
|
|
2794
|
+
subCode: 'SubCode',
|
|
2795
|
+
};
|
|
2796
|
+
}
|
|
2797
|
+
static types() {
|
|
2798
|
+
return {
|
|
2799
|
+
certifyId: 'string',
|
|
2800
|
+
materialInfo: 'string',
|
|
2801
|
+
passed: 'string',
|
|
2802
|
+
subCode: 'string',
|
|
2803
|
+
};
|
|
2804
|
+
}
|
|
2805
|
+
}
|
|
2806
|
+
exports.LivenessFaceVerifyResponseResultObject = LivenessFaceVerifyResponseResultObject;
|
|
2807
|
+
class VerifyDeviceResponseResultObject extends $tea.Model {
|
|
2808
|
+
constructor(map) {
|
|
2809
|
+
super(map);
|
|
2810
|
+
}
|
|
2811
|
+
static names() {
|
|
2812
|
+
return {
|
|
2813
|
+
extParams: 'ExtParams',
|
|
2814
|
+
hasNext: 'HasNext',
|
|
2815
|
+
productRetCode: 'ProductRetCode',
|
|
2816
|
+
retCodeSub: 'RetCodeSub',
|
|
2817
|
+
retMessageSub: 'RetMessageSub',
|
|
2818
|
+
validationRetCode: 'ValidationRetCode',
|
|
2819
|
+
};
|
|
2820
|
+
}
|
|
2821
|
+
static types() {
|
|
2822
|
+
return {
|
|
2823
|
+
extParams: 'string',
|
|
2824
|
+
hasNext: 'string',
|
|
2825
|
+
productRetCode: 'string',
|
|
2826
|
+
retCodeSub: 'string',
|
|
2827
|
+
retMessageSub: 'string',
|
|
2828
|
+
validationRetCode: 'string',
|
|
2829
|
+
};
|
|
2830
|
+
}
|
|
2831
|
+
}
|
|
2832
|
+
exports.VerifyDeviceResponseResultObject = VerifyDeviceResponseResultObject;
|
|
2833
|
+
class VerifyMaterialResponseMaterialIdCardInfo extends $tea.Model {
|
|
2834
|
+
constructor(map) {
|
|
2835
|
+
super(map);
|
|
2836
|
+
}
|
|
2837
|
+
static names() {
|
|
2838
|
+
return {
|
|
2839
|
+
address: 'Address',
|
|
2840
|
+
authority: 'Authority',
|
|
2841
|
+
backImageUrl: 'BackImageUrl',
|
|
2842
|
+
birth: 'Birth',
|
|
2843
|
+
endDate: 'EndDate',
|
|
2844
|
+
frontImageUrl: 'FrontImageUrl',
|
|
2845
|
+
name: 'Name',
|
|
2846
|
+
nationality: 'Nationality',
|
|
2847
|
+
number: 'Number',
|
|
2848
|
+
startDate: 'StartDate',
|
|
2849
|
+
};
|
|
2850
|
+
}
|
|
2851
|
+
static types() {
|
|
2852
|
+
return {
|
|
2853
|
+
address: 'string',
|
|
2854
|
+
authority: 'string',
|
|
2855
|
+
backImageUrl: 'string',
|
|
2856
|
+
birth: 'string',
|
|
2857
|
+
endDate: 'string',
|
|
2858
|
+
frontImageUrl: 'string',
|
|
2859
|
+
name: 'string',
|
|
2860
|
+
nationality: 'string',
|
|
2861
|
+
number: 'string',
|
|
2862
|
+
startDate: 'string',
|
|
2863
|
+
};
|
|
2864
|
+
}
|
|
2865
|
+
}
|
|
2866
|
+
exports.VerifyMaterialResponseMaterialIdCardInfo = VerifyMaterialResponseMaterialIdCardInfo;
|
|
2867
|
+
class VerifyMaterialResponseMaterial extends $tea.Model {
|
|
2868
|
+
constructor(map) {
|
|
2869
|
+
super(map);
|
|
2870
|
+
}
|
|
2871
|
+
static names() {
|
|
2872
|
+
return {
|
|
2873
|
+
faceGlobalUrl: 'FaceGlobalUrl',
|
|
2874
|
+
faceImageUrl: 'FaceImageUrl',
|
|
2875
|
+
faceMask: 'FaceMask',
|
|
2876
|
+
faceQuality: 'FaceQuality',
|
|
2877
|
+
idCardName: 'IdCardName',
|
|
2878
|
+
idCardNumber: 'IdCardNumber',
|
|
2879
|
+
idCardInfo: 'IdCardInfo',
|
|
2880
|
+
};
|
|
2881
|
+
}
|
|
2882
|
+
static types() {
|
|
2883
|
+
return {
|
|
2884
|
+
faceGlobalUrl: 'string',
|
|
2885
|
+
faceImageUrl: 'string',
|
|
2886
|
+
faceMask: 'string',
|
|
2887
|
+
faceQuality: 'string',
|
|
2888
|
+
idCardName: 'string',
|
|
2889
|
+
idCardNumber: 'string',
|
|
2890
|
+
idCardInfo: VerifyMaterialResponseMaterialIdCardInfo,
|
|
2891
|
+
};
|
|
2892
|
+
}
|
|
2893
|
+
}
|
|
2894
|
+
exports.VerifyMaterialResponseMaterial = VerifyMaterialResponseMaterial;
|
|
2703
2895
|
class Client extends rpc_client_1.default {
|
|
2704
2896
|
constructor(config) {
|
|
2705
2897
|
super(config);
|
|
@@ -2707,45 +2899,107 @@ class Client extends rpc_client_1.default {
|
|
|
2707
2899
|
this.checkConfig(config);
|
|
2708
2900
|
this._endpoint = this.getEndpoint("cloudauth", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
2709
2901
|
}
|
|
2710
|
-
async
|
|
2902
|
+
async compareFaceVerify(request, runtime) {
|
|
2711
2903
|
tea_util_1.default.validateModel(request);
|
|
2712
|
-
return $tea.cast(await this.doRequest("
|
|
2904
|
+
return $tea.cast(await this.doRequest("CompareFaceVerify", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new CompareFaceVerifyResponse({}));
|
|
2713
2905
|
}
|
|
2714
|
-
async
|
|
2906
|
+
async compareFaceVerifySimply(request) {
|
|
2715
2907
|
let runtime = new $Util.RuntimeOptions({});
|
|
2716
|
-
return await this.
|
|
2908
|
+
return await this.compareFaceVerify(request, runtime);
|
|
2717
2909
|
}
|
|
2718
|
-
async
|
|
2910
|
+
async compareFaces(request, runtime) {
|
|
2719
2911
|
tea_util_1.default.validateModel(request);
|
|
2720
|
-
return $tea.cast(await this.doRequest("
|
|
2912
|
+
return $tea.cast(await this.doRequest("CompareFaces", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new CompareFacesResponse({}));
|
|
2721
2913
|
}
|
|
2722
|
-
async
|
|
2914
|
+
async compareFacesSimply(request) {
|
|
2723
2915
|
let runtime = new $Util.RuntimeOptions({});
|
|
2724
|
-
return await this.
|
|
2916
|
+
return await this.compareFaces(request, runtime);
|
|
2725
2917
|
}
|
|
2726
|
-
async
|
|
2918
|
+
async contrastFaceVerify(request, runtime) {
|
|
2727
2919
|
tea_util_1.default.validateModel(request);
|
|
2728
|
-
return $tea.cast(await this.doRequest("
|
|
2920
|
+
return $tea.cast(await this.doRequest("ContrastFaceVerify", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new ContrastFaceVerifyResponse({}));
|
|
2729
2921
|
}
|
|
2730
|
-
async
|
|
2922
|
+
async contrastFaceVerifySimply(request) {
|
|
2731
2923
|
let runtime = new $Util.RuntimeOptions({});
|
|
2732
|
-
return await this.
|
|
2733
|
-
}
|
|
2734
|
-
async describeFaceConfig(request, runtime) {
|
|
2735
|
-
tea_util_1.default.validateModel(request);
|
|
2736
|
-
return $tea.cast(await this.doRequest("DescribeFaceConfig", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DescribeFaceConfigResponse({}));
|
|
2924
|
+
return await this.contrastFaceVerify(request, runtime);
|
|
2737
2925
|
}
|
|
2738
|
-
async
|
|
2739
|
-
|
|
2740
|
-
|
|
2926
|
+
async contrastFaceVerifyAdvance(request, runtime) {
|
|
2927
|
+
// Step 0: init client
|
|
2928
|
+
let accessKeyId = await this._credential.getAccessKeyId();
|
|
2929
|
+
let accessKeySecret = await this._credential.getAccessKeySecret();
|
|
2930
|
+
let openPlatformEndpoint = this._openPlatformEndpoint;
|
|
2931
|
+
let securityToken = await this._credential.getSecurityToken();
|
|
2932
|
+
let credentialType = this._credential.getType();
|
|
2933
|
+
if (tea_util_1.default.isUnset(openPlatformEndpoint)) {
|
|
2934
|
+
openPlatformEndpoint = "openplatform.aliyuncs.com";
|
|
2935
|
+
}
|
|
2936
|
+
if (tea_util_1.default.isUnset(credentialType)) {
|
|
2937
|
+
credentialType = "access_key";
|
|
2938
|
+
}
|
|
2939
|
+
let authConfig = new $RPC.Config({
|
|
2940
|
+
accessKeyId: accessKeyId,
|
|
2941
|
+
accessKeySecret: accessKeySecret,
|
|
2942
|
+
securityToken: securityToken,
|
|
2943
|
+
type: credentialType,
|
|
2944
|
+
endpoint: openPlatformEndpoint,
|
|
2945
|
+
protocol: this._protocol,
|
|
2946
|
+
regionId: this._regionId,
|
|
2947
|
+
});
|
|
2948
|
+
let authClient = new openplatform20191219_1.default(authConfig);
|
|
2949
|
+
let authRequest = new $OpenPlatform.AuthorizeFileUploadRequest({
|
|
2950
|
+
product: "Cloudauth",
|
|
2951
|
+
regionId: this._regionId,
|
|
2952
|
+
});
|
|
2953
|
+
let authResponse = new $OpenPlatform.AuthorizeFileUploadResponse({});
|
|
2954
|
+
let ossConfig = new $OSS.Config({
|
|
2955
|
+
accessKeySecret: accessKeySecret,
|
|
2956
|
+
type: "access_key",
|
|
2957
|
+
protocol: this._protocol,
|
|
2958
|
+
regionId: this._regionId,
|
|
2959
|
+
});
|
|
2960
|
+
let ossClient = null;
|
|
2961
|
+
let fileObj = new $FileForm.FileField({});
|
|
2962
|
+
let ossHeader = new $OSS.PostObjectRequestHeader({});
|
|
2963
|
+
let uploadRequest = new $OSS.PostObjectRequest({});
|
|
2964
|
+
let ossRuntime = new $OSSUtil.RuntimeOptions({});
|
|
2965
|
+
rpc_util_1.default.convert(runtime, ossRuntime);
|
|
2966
|
+
let contrastFaceVerifyReq = new ContrastFaceVerifyRequest({});
|
|
2967
|
+
rpc_util_1.default.convert(request, contrastFaceVerifyReq);
|
|
2968
|
+
if (!tea_util_1.default.isUnset(request.faceContrastFileObject)) {
|
|
2969
|
+
authResponse = await authClient.authorizeFileUploadWithOptions(authRequest, runtime);
|
|
2970
|
+
ossConfig.accessKeyId = authResponse.accessKeyId;
|
|
2971
|
+
ossConfig.endpoint = rpc_util_1.default.getEndpoint(authResponse.endpoint, authResponse.useAccelerate, this._endpointType);
|
|
2972
|
+
ossClient = new oss_client_1.default(ossConfig);
|
|
2973
|
+
fileObj = new $FileForm.FileField({
|
|
2974
|
+
filename: authResponse.objectKey,
|
|
2975
|
+
content: request.faceContrastFileObject,
|
|
2976
|
+
contentType: "",
|
|
2977
|
+
});
|
|
2978
|
+
ossHeader = new $OSS.PostObjectRequestHeader({
|
|
2979
|
+
accessKeyId: authResponse.accessKeyId,
|
|
2980
|
+
policy: authResponse.encodedPolicy,
|
|
2981
|
+
signature: authResponse.signature,
|
|
2982
|
+
key: authResponse.objectKey,
|
|
2983
|
+
file: fileObj,
|
|
2984
|
+
successActionStatus: "201",
|
|
2985
|
+
});
|
|
2986
|
+
uploadRequest = new $OSS.PostObjectRequest({
|
|
2987
|
+
bucketName: authResponse.bucket,
|
|
2988
|
+
header: ossHeader,
|
|
2989
|
+
});
|
|
2990
|
+
await ossClient.postObject(uploadRequest, ossRuntime);
|
|
2991
|
+
contrastFaceVerifyReq.faceContrastFile = `http://${authResponse.bucket}.${authResponse.endpoint}/${authResponse.objectKey}`;
|
|
2992
|
+
}
|
|
2993
|
+
let contrastFaceVerifyResp = await this.contrastFaceVerify(contrastFaceVerifyReq, runtime);
|
|
2994
|
+
return contrastFaceVerifyResp;
|
|
2741
2995
|
}
|
|
2742
|
-
async
|
|
2996
|
+
async createAuthKey(request, runtime) {
|
|
2743
2997
|
tea_util_1.default.validateModel(request);
|
|
2744
|
-
return $tea.cast(await this.doRequest("
|
|
2998
|
+
return $tea.cast(await this.doRequest("CreateAuthKey", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new CreateAuthKeyResponse({}));
|
|
2745
2999
|
}
|
|
2746
|
-
async
|
|
3000
|
+
async createAuthKeySimply(request) {
|
|
2747
3001
|
let runtime = new $Util.RuntimeOptions({});
|
|
2748
|
-
return await this.
|
|
3002
|
+
return await this.createAuthKey(request, runtime);
|
|
2749
3003
|
}
|
|
2750
3004
|
async createFaceConfig(request, runtime) {
|
|
2751
3005
|
tea_util_1.default.validateModel(request);
|
|
@@ -2755,45 +3009,61 @@ class Client extends rpc_client_1.default {
|
|
|
2755
3009
|
let runtime = new $Util.RuntimeOptions({});
|
|
2756
3010
|
return await this.createFaceConfig(request, runtime);
|
|
2757
3011
|
}
|
|
2758
|
-
async
|
|
3012
|
+
async createRPSDK(request, runtime) {
|
|
2759
3013
|
tea_util_1.default.validateModel(request);
|
|
2760
|
-
return $tea.cast(await this.doRequest("
|
|
3014
|
+
return $tea.cast(await this.doRequest("CreateRPSDK", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new CreateRPSDKResponse({}));
|
|
2761
3015
|
}
|
|
2762
|
-
async
|
|
3016
|
+
async createRPSDKSimply(request) {
|
|
2763
3017
|
let runtime = new $Util.RuntimeOptions({});
|
|
2764
|
-
return await this.
|
|
3018
|
+
return await this.createRPSDK(request, runtime);
|
|
2765
3019
|
}
|
|
2766
|
-
async
|
|
3020
|
+
async createVerifySDK(request, runtime) {
|
|
2767
3021
|
tea_util_1.default.validateModel(request);
|
|
2768
|
-
return $tea.cast(await this.doRequest("
|
|
3022
|
+
return $tea.cast(await this.doRequest("CreateVerifySDK", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new CreateVerifySDKResponse({}));
|
|
2769
3023
|
}
|
|
2770
|
-
async
|
|
3024
|
+
async createVerifySDKSimply(request) {
|
|
2771
3025
|
let runtime = new $Util.RuntimeOptions({});
|
|
2772
|
-
return await this.
|
|
3026
|
+
return await this.createVerifySDK(request, runtime);
|
|
2773
3027
|
}
|
|
2774
|
-
async
|
|
3028
|
+
async createVerifySetting(request, runtime) {
|
|
2775
3029
|
tea_util_1.default.validateModel(request);
|
|
2776
|
-
return $tea.cast(await this.doRequest("
|
|
3030
|
+
return $tea.cast(await this.doRequest("CreateVerifySetting", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new CreateVerifySettingResponse({}));
|
|
2777
3031
|
}
|
|
2778
|
-
async
|
|
3032
|
+
async createVerifySettingSimply(request) {
|
|
2779
3033
|
let runtime = new $Util.RuntimeOptions({});
|
|
2780
|
-
return await this.
|
|
3034
|
+
return await this.createVerifySetting(request, runtime);
|
|
2781
3035
|
}
|
|
2782
|
-
async
|
|
3036
|
+
async createWhitelist(request, runtime) {
|
|
2783
3037
|
tea_util_1.default.validateModel(request);
|
|
2784
|
-
return $tea.cast(await this.doRequest("
|
|
3038
|
+
return $tea.cast(await this.doRequest("CreateWhitelist", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new CreateWhitelistResponse({}));
|
|
2785
3039
|
}
|
|
2786
|
-
async
|
|
3040
|
+
async createWhitelistSimply(request) {
|
|
2787
3041
|
let runtime = new $Util.RuntimeOptions({});
|
|
2788
|
-
return await this.
|
|
3042
|
+
return await this.createWhitelist(request, runtime);
|
|
2789
3043
|
}
|
|
2790
|
-
async
|
|
3044
|
+
async createWhitelistSetting(request, runtime) {
|
|
2791
3045
|
tea_util_1.default.validateModel(request);
|
|
2792
|
-
return $tea.cast(await this.doRequest("
|
|
3046
|
+
return $tea.cast(await this.doRequest("CreateWhitelistSetting", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new CreateWhitelistSettingResponse({}));
|
|
3047
|
+
}
|
|
3048
|
+
async createWhitelistSettingSimply(request) {
|
|
3049
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3050
|
+
return await this.createWhitelistSetting(request, runtime);
|
|
3051
|
+
}
|
|
3052
|
+
async deleteWhitelist(request, runtime) {
|
|
3053
|
+
tea_util_1.default.validateModel(request);
|
|
3054
|
+
return $tea.cast(await this.doRequest("DeleteWhitelist", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DeleteWhitelistResponse({}));
|
|
3055
|
+
}
|
|
3056
|
+
async deleteWhitelistSimply(request) {
|
|
3057
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3058
|
+
return await this.deleteWhitelist(request, runtime);
|
|
3059
|
+
}
|
|
3060
|
+
async deleteWhitelistSetting(request, runtime) {
|
|
3061
|
+
tea_util_1.default.validateModel(request);
|
|
3062
|
+
return $tea.cast(await this.doRequest("DeleteWhitelistSetting", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DeleteWhitelistSettingResponse({}));
|
|
2793
3063
|
}
|
|
2794
|
-
async
|
|
3064
|
+
async deleteWhitelistSettingSimply(request) {
|
|
2795
3065
|
let runtime = new $Util.RuntimeOptions({});
|
|
2796
|
-
return await this.
|
|
3066
|
+
return await this.deleteWhitelistSetting(request, runtime);
|
|
2797
3067
|
}
|
|
2798
3068
|
async describeAppInfo(request, runtime) {
|
|
2799
3069
|
tea_util_1.default.validateModel(request);
|
|
@@ -2803,91 +3073,29 @@ class Client extends rpc_client_1.default {
|
|
|
2803
3073
|
let runtime = new $Util.RuntimeOptions({});
|
|
2804
3074
|
return await this.describeAppInfo(request, runtime);
|
|
2805
3075
|
}
|
|
2806
|
-
async
|
|
3076
|
+
async describeDeviceInfo(request, runtime) {
|
|
2807
3077
|
tea_util_1.default.validateModel(request);
|
|
2808
|
-
return $tea.cast(await this.doRequest("
|
|
3078
|
+
return $tea.cast(await this.doRequest("DescribeDeviceInfo", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DescribeDeviceInfoResponse({}));
|
|
2809
3079
|
}
|
|
2810
|
-
async
|
|
3080
|
+
async describeDeviceInfoSimply(request) {
|
|
2811
3081
|
let runtime = new $Util.RuntimeOptions({});
|
|
2812
|
-
return await this.
|
|
2813
|
-
}
|
|
2814
|
-
async contrastFaceVerifyAdvance(request, runtime) {
|
|
2815
|
-
// Step 0: init client
|
|
2816
|
-
let accessKeyId = await this._credential.getAccessKeyId();
|
|
2817
|
-
let accessKeySecret = await this._credential.getAccessKeySecret();
|
|
2818
|
-
let openPlatformEndpoint = this._openPlatformEndpoint;
|
|
2819
|
-
if (tea_util_1.default.isUnset(openPlatformEndpoint)) {
|
|
2820
|
-
openPlatformEndpoint = "openplatform.aliyuncs.com";
|
|
2821
|
-
}
|
|
2822
|
-
let authConfig = new $RPC.Config({
|
|
2823
|
-
accessKeyId: accessKeyId,
|
|
2824
|
-
accessKeySecret: accessKeySecret,
|
|
2825
|
-
type: "access_key",
|
|
2826
|
-
endpoint: openPlatformEndpoint,
|
|
2827
|
-
protocol: this._protocol,
|
|
2828
|
-
regionId: this._regionId,
|
|
2829
|
-
});
|
|
2830
|
-
let authClient = new openplatform20191219_1.default(authConfig);
|
|
2831
|
-
let authRequest = new $OpenPlatform.AuthorizeFileUploadRequest({
|
|
2832
|
-
product: "Cloudauth",
|
|
2833
|
-
regionId: this._regionId,
|
|
2834
|
-
});
|
|
2835
|
-
let authResponse = new $OpenPlatform.AuthorizeFileUploadResponse({});
|
|
2836
|
-
let ossConfig = new $OSS.Config({
|
|
2837
|
-
accessKeySecret: accessKeySecret,
|
|
2838
|
-
type: "access_key",
|
|
2839
|
-
protocol: this._protocol,
|
|
2840
|
-
regionId: this._regionId,
|
|
2841
|
-
});
|
|
2842
|
-
let ossClient = null;
|
|
2843
|
-
let fileObj = new $FileForm.FileField({});
|
|
2844
|
-
let ossHeader = new $OSS.PostObjectRequestHeader({});
|
|
2845
|
-
let uploadRequest = new $OSS.PostObjectRequest({});
|
|
2846
|
-
let ossRuntime = new $OSSUtil.RuntimeOptions({});
|
|
2847
|
-
rpc_util_1.default.convert(runtime, ossRuntime);
|
|
2848
|
-
let contrastFaceVerifyReq = new ContrastFaceVerifyRequest({});
|
|
2849
|
-
rpc_util_1.default.convert(request, contrastFaceVerifyReq);
|
|
2850
|
-
authResponse = await authClient.authorizeFileUploadWithOptions(authRequest, runtime);
|
|
2851
|
-
ossConfig.accessKeyId = authResponse.accessKeyId;
|
|
2852
|
-
ossConfig.endpoint = rpc_util_1.default.getEndpoint(authResponse.endpoint, authResponse.useAccelerate, this._endpointType);
|
|
2853
|
-
ossClient = new oss_client_1.default(ossConfig);
|
|
2854
|
-
fileObj = new $FileForm.FileField({
|
|
2855
|
-
filename: authResponse.objectKey,
|
|
2856
|
-
content: request.faceContrastFileObject,
|
|
2857
|
-
contentType: "",
|
|
2858
|
-
});
|
|
2859
|
-
ossHeader = new $OSS.PostObjectRequestHeader({
|
|
2860
|
-
accessKeyId: authResponse.accessKeyId,
|
|
2861
|
-
policy: authResponse.encodedPolicy,
|
|
2862
|
-
signature: authResponse.signature,
|
|
2863
|
-
key: authResponse.objectKey,
|
|
2864
|
-
file: fileObj,
|
|
2865
|
-
successActionStatus: "201",
|
|
2866
|
-
});
|
|
2867
|
-
uploadRequest = new $OSS.PostObjectRequest({
|
|
2868
|
-
bucketName: authResponse.bucket,
|
|
2869
|
-
header: ossHeader,
|
|
2870
|
-
});
|
|
2871
|
-
await ossClient.postObject(uploadRequest, ossRuntime);
|
|
2872
|
-
contrastFaceVerifyReq.faceContrastFile = `http://${authResponse.bucket}.${authResponse.endpoint}/${authResponse.objectKey}`;
|
|
2873
|
-
let contrastFaceVerifyResp = await this.contrastFaceVerify(contrastFaceVerifyReq, runtime);
|
|
2874
|
-
return contrastFaceVerifyResp;
|
|
3082
|
+
return await this.describeDeviceInfo(request, runtime);
|
|
2875
3083
|
}
|
|
2876
|
-
async
|
|
3084
|
+
async describeFaceConfig(request, runtime) {
|
|
2877
3085
|
tea_util_1.default.validateModel(request);
|
|
2878
|
-
return $tea.cast(await this.doRequest("
|
|
3086
|
+
return $tea.cast(await this.doRequest("DescribeFaceConfig", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DescribeFaceConfigResponse({}));
|
|
2879
3087
|
}
|
|
2880
|
-
async
|
|
3088
|
+
async describeFaceConfigSimply(request) {
|
|
2881
3089
|
let runtime = new $Util.RuntimeOptions({});
|
|
2882
|
-
return await this.
|
|
3090
|
+
return await this.describeFaceConfig(request, runtime);
|
|
2883
3091
|
}
|
|
2884
|
-
async
|
|
3092
|
+
async describeFaceUsage(request, runtime) {
|
|
2885
3093
|
tea_util_1.default.validateModel(request);
|
|
2886
|
-
return $tea.cast(await this.doRequest("
|
|
3094
|
+
return $tea.cast(await this.doRequest("DescribeFaceUsage", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DescribeFaceUsageResponse({}));
|
|
2887
3095
|
}
|
|
2888
|
-
async
|
|
3096
|
+
async describeFaceUsageSimply(request) {
|
|
2889
3097
|
let runtime = new $Util.RuntimeOptions({});
|
|
2890
|
-
return await this.
|
|
3098
|
+
return await this.describeFaceUsage(request, runtime);
|
|
2891
3099
|
}
|
|
2892
3100
|
async describeFaceVerify(request, runtime) {
|
|
2893
3101
|
tea_util_1.default.validateModel(request);
|
|
@@ -2897,77 +3105,53 @@ class Client extends rpc_client_1.default {
|
|
|
2897
3105
|
let runtime = new $Util.RuntimeOptions({});
|
|
2898
3106
|
return await this.describeFaceVerify(request, runtime);
|
|
2899
3107
|
}
|
|
2900
|
-
async
|
|
2901
|
-
tea_util_1.default.validateModel(request);
|
|
2902
|
-
return $tea.cast(await this.doRequest("VerifyDevice", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new VerifyDeviceResponse({}));
|
|
2903
|
-
}
|
|
2904
|
-
async verifyDeviceSimply(request) {
|
|
2905
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
2906
|
-
return await this.verifyDevice(request, runtime);
|
|
2907
|
-
}
|
|
2908
|
-
async modifyDeviceInfo(request, runtime) {
|
|
2909
|
-
tea_util_1.default.validateModel(request);
|
|
2910
|
-
return $tea.cast(await this.doRequest("ModifyDeviceInfo", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new ModifyDeviceInfoResponse({}));
|
|
2911
|
-
}
|
|
2912
|
-
async modifyDeviceInfoSimply(request) {
|
|
2913
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
2914
|
-
return await this.modifyDeviceInfo(request, runtime);
|
|
2915
|
-
}
|
|
2916
|
-
async describeVerifySDK(request, runtime) {
|
|
2917
|
-
tea_util_1.default.validateModel(request);
|
|
2918
|
-
return $tea.cast(await this.doRequest("DescribeVerifySDK", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DescribeVerifySDKResponse({}));
|
|
2919
|
-
}
|
|
2920
|
-
async describeVerifySDKSimply(request) {
|
|
2921
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
2922
|
-
return await this.describeVerifySDK(request, runtime);
|
|
2923
|
-
}
|
|
2924
|
-
async describeDeviceInfo(request, runtime) {
|
|
3108
|
+
async describeOssUploadToken(request, runtime) {
|
|
2925
3109
|
tea_util_1.default.validateModel(request);
|
|
2926
|
-
return $tea.cast(await this.doRequest("
|
|
3110
|
+
return $tea.cast(await this.doRequest("DescribeOssUploadToken", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DescribeOssUploadTokenResponse({}));
|
|
2927
3111
|
}
|
|
2928
|
-
async
|
|
3112
|
+
async describeOssUploadTokenSimply(request) {
|
|
2929
3113
|
let runtime = new $Util.RuntimeOptions({});
|
|
2930
|
-
return await this.
|
|
3114
|
+
return await this.describeOssUploadToken(request, runtime);
|
|
2931
3115
|
}
|
|
2932
|
-
async
|
|
3116
|
+
async describeRPSDK(request, runtime) {
|
|
2933
3117
|
tea_util_1.default.validateModel(request);
|
|
2934
|
-
return $tea.cast(await this.doRequest("
|
|
3118
|
+
return $tea.cast(await this.doRequest("DescribeRPSDK", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DescribeRPSDKResponse({}));
|
|
2935
3119
|
}
|
|
2936
|
-
async
|
|
3120
|
+
async describeRPSDKSimply(request) {
|
|
2937
3121
|
let runtime = new $Util.RuntimeOptions({});
|
|
2938
|
-
return await this.
|
|
3122
|
+
return await this.describeRPSDK(request, runtime);
|
|
2939
3123
|
}
|
|
2940
|
-
async
|
|
3124
|
+
async describeSdkUrl(request, runtime) {
|
|
2941
3125
|
tea_util_1.default.validateModel(request);
|
|
2942
|
-
return $tea.cast(await this.doRequest("
|
|
3126
|
+
return $tea.cast(await this.doRequest("DescribeSdkUrl", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DescribeSdkUrlResponse({}));
|
|
2943
3127
|
}
|
|
2944
|
-
async
|
|
3128
|
+
async describeSdkUrlSimply(request) {
|
|
2945
3129
|
let runtime = new $Util.RuntimeOptions({});
|
|
2946
|
-
return await this.
|
|
3130
|
+
return await this.describeSdkUrl(request, runtime);
|
|
2947
3131
|
}
|
|
2948
|
-
async
|
|
3132
|
+
async describeUpdatePackageResult(request, runtime) {
|
|
2949
3133
|
tea_util_1.default.validateModel(request);
|
|
2950
|
-
return $tea.cast(await this.doRequest("
|
|
3134
|
+
return $tea.cast(await this.doRequest("DescribeUpdatePackageResult", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DescribeUpdatePackageResultResponse({}));
|
|
2951
3135
|
}
|
|
2952
|
-
async
|
|
3136
|
+
async describeUpdatePackageResultSimply(request) {
|
|
2953
3137
|
let runtime = new $Util.RuntimeOptions({});
|
|
2954
|
-
return await this.
|
|
3138
|
+
return await this.describeUpdatePackageResult(request, runtime);
|
|
2955
3139
|
}
|
|
2956
|
-
async
|
|
3140
|
+
async describeUploadInfo(request, runtime) {
|
|
2957
3141
|
tea_util_1.default.validateModel(request);
|
|
2958
|
-
return $tea.cast(await this.doRequest("
|
|
3142
|
+
return $tea.cast(await this.doRequest("DescribeUploadInfo", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DescribeUploadInfoResponse({}));
|
|
2959
3143
|
}
|
|
2960
|
-
async
|
|
3144
|
+
async describeUploadInfoSimply(request) {
|
|
2961
3145
|
let runtime = new $Util.RuntimeOptions({});
|
|
2962
|
-
return await this.
|
|
3146
|
+
return await this.describeUploadInfo(request, runtime);
|
|
2963
3147
|
}
|
|
2964
|
-
async
|
|
3148
|
+
async describeUserStatus(request, runtime) {
|
|
2965
3149
|
tea_util_1.default.validateModel(request);
|
|
2966
|
-
return $tea.cast(await this.doRequest("
|
|
3150
|
+
return $tea.cast(await this.doRequest("DescribeUserStatus", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DescribeUserStatusResponse({}));
|
|
2967
3151
|
}
|
|
2968
|
-
async
|
|
3152
|
+
async describeUserStatusSimply(request) {
|
|
2969
3153
|
let runtime = new $Util.RuntimeOptions({});
|
|
2970
|
-
return await this.
|
|
3154
|
+
return await this.describeUserStatus(request, runtime);
|
|
2971
3155
|
}
|
|
2972
3156
|
async describeVerifyRecords(request, runtime) {
|
|
2973
3157
|
tea_util_1.default.validateModel(request);
|
|
@@ -2977,21 +3161,21 @@ class Client extends rpc_client_1.default {
|
|
|
2977
3161
|
let runtime = new $Util.RuntimeOptions({});
|
|
2978
3162
|
return await this.describeVerifyRecords(request, runtime);
|
|
2979
3163
|
}
|
|
2980
|
-
async
|
|
3164
|
+
async describeVerifyResult(request, runtime) {
|
|
2981
3165
|
tea_util_1.default.validateModel(request);
|
|
2982
|
-
return $tea.cast(await this.doRequest("
|
|
3166
|
+
return $tea.cast(await this.doRequest("DescribeVerifyResult", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DescribeVerifyResultResponse({}));
|
|
2983
3167
|
}
|
|
2984
|
-
async
|
|
3168
|
+
async describeVerifyResultSimply(request) {
|
|
2985
3169
|
let runtime = new $Util.RuntimeOptions({});
|
|
2986
|
-
return await this.
|
|
3170
|
+
return await this.describeVerifyResult(request, runtime);
|
|
2987
3171
|
}
|
|
2988
|
-
async
|
|
3172
|
+
async describeVerifySDK(request, runtime) {
|
|
2989
3173
|
tea_util_1.default.validateModel(request);
|
|
2990
|
-
return $tea.cast(await this.doRequest("
|
|
3174
|
+
return $tea.cast(await this.doRequest("DescribeVerifySDK", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DescribeVerifySDKResponse({}));
|
|
2991
3175
|
}
|
|
2992
|
-
async
|
|
3176
|
+
async describeVerifySDKSimply(request) {
|
|
2993
3177
|
let runtime = new $Util.RuntimeOptions({});
|
|
2994
|
-
return await this.
|
|
3178
|
+
return await this.describeVerifySDK(request, runtime);
|
|
2995
3179
|
}
|
|
2996
3180
|
async describeVerifySetting(request, runtime) {
|
|
2997
3181
|
tea_util_1.default.validateModel(request);
|
|
@@ -3001,6 +3185,14 @@ class Client extends rpc_client_1.default {
|
|
|
3001
3185
|
let runtime = new $Util.RuntimeOptions({});
|
|
3002
3186
|
return await this.describeVerifySetting(request, runtime);
|
|
3003
3187
|
}
|
|
3188
|
+
async describeVerifyToken(request, runtime) {
|
|
3189
|
+
tea_util_1.default.validateModel(request);
|
|
3190
|
+
return $tea.cast(await this.doRequest("DescribeVerifyToken", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DescribeVerifyTokenResponse({}));
|
|
3191
|
+
}
|
|
3192
|
+
async describeVerifyTokenSimply(request) {
|
|
3193
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3194
|
+
return await this.describeVerifyToken(request, runtime);
|
|
3195
|
+
}
|
|
3004
3196
|
async describeVerifyUsage(request, runtime) {
|
|
3005
3197
|
tea_util_1.default.validateModel(request);
|
|
3006
3198
|
return $tea.cast(await this.doRequest("DescribeVerifyUsage", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DescribeVerifyUsageResponse({}));
|
|
@@ -3009,69 +3201,101 @@ class Client extends rpc_client_1.default {
|
|
|
3009
3201
|
let runtime = new $Util.RuntimeOptions({});
|
|
3010
3202
|
return await this.describeVerifyUsage(request, runtime);
|
|
3011
3203
|
}
|
|
3012
|
-
async
|
|
3204
|
+
async describeWhitelist(request, runtime) {
|
|
3013
3205
|
tea_util_1.default.validateModel(request);
|
|
3014
|
-
return $tea.cast(await this.doRequest("
|
|
3206
|
+
return $tea.cast(await this.doRequest("DescribeWhitelist", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DescribeWhitelistResponse({}));
|
|
3015
3207
|
}
|
|
3016
|
-
async
|
|
3208
|
+
async describeWhitelistSimply(request) {
|
|
3017
3209
|
let runtime = new $Util.RuntimeOptions({});
|
|
3018
|
-
return await this.
|
|
3210
|
+
return await this.describeWhitelist(request, runtime);
|
|
3019
3211
|
}
|
|
3020
|
-
async
|
|
3212
|
+
async describeWhitelistSetting(request, runtime) {
|
|
3021
3213
|
tea_util_1.default.validateModel(request);
|
|
3022
|
-
return $tea.cast(await this.doRequest("
|
|
3214
|
+
return $tea.cast(await this.doRequest("DescribeWhitelistSetting", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DescribeWhitelistSettingResponse({}));
|
|
3023
3215
|
}
|
|
3024
|
-
async
|
|
3216
|
+
async describeWhitelistSettingSimply(request) {
|
|
3025
3217
|
let runtime = new $Util.RuntimeOptions({});
|
|
3026
|
-
return await this.
|
|
3218
|
+
return await this.describeWhitelistSetting(request, runtime);
|
|
3027
3219
|
}
|
|
3028
|
-
async
|
|
3220
|
+
async detectFaceAttributes(request, runtime) {
|
|
3029
3221
|
tea_util_1.default.validateModel(request);
|
|
3030
|
-
return $tea.cast(await this.doRequest("
|
|
3222
|
+
return $tea.cast(await this.doRequest("DetectFaceAttributes", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new DetectFaceAttributesResponse({}));
|
|
3031
3223
|
}
|
|
3032
|
-
async
|
|
3224
|
+
async detectFaceAttributesSimply(request) {
|
|
3033
3225
|
let runtime = new $Util.RuntimeOptions({});
|
|
3034
|
-
return await this.
|
|
3226
|
+
return await this.detectFaceAttributes(request, runtime);
|
|
3035
3227
|
}
|
|
3036
|
-
async
|
|
3228
|
+
async initDevice(request, runtime) {
|
|
3037
3229
|
tea_util_1.default.validateModel(request);
|
|
3038
|
-
return $tea.cast(await this.doRequest("
|
|
3230
|
+
return $tea.cast(await this.doRequest("InitDevice", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new InitDeviceResponse({}));
|
|
3039
3231
|
}
|
|
3040
|
-
async
|
|
3232
|
+
async initDeviceSimply(request) {
|
|
3041
3233
|
let runtime = new $Util.RuntimeOptions({});
|
|
3042
|
-
return await this.
|
|
3234
|
+
return await this.initDevice(request, runtime);
|
|
3043
3235
|
}
|
|
3044
|
-
async
|
|
3236
|
+
async initFaceVerify(request, runtime) {
|
|
3045
3237
|
tea_util_1.default.validateModel(request);
|
|
3046
|
-
return $tea.cast(await this.doRequest("
|
|
3238
|
+
return $tea.cast(await this.doRequest("InitFaceVerify", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new InitFaceVerifyResponse({}));
|
|
3047
3239
|
}
|
|
3048
|
-
async
|
|
3240
|
+
async initFaceVerifySimply(request) {
|
|
3049
3241
|
let runtime = new $Util.RuntimeOptions({});
|
|
3050
|
-
return await this.
|
|
3242
|
+
return await this.initFaceVerify(request, runtime);
|
|
3051
3243
|
}
|
|
3052
|
-
async
|
|
3244
|
+
async livenessFaceVerify(request, runtime) {
|
|
3053
3245
|
tea_util_1.default.validateModel(request);
|
|
3054
|
-
return $tea.cast(await this.doRequest("
|
|
3246
|
+
return $tea.cast(await this.doRequest("LivenessFaceVerify", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new LivenessFaceVerifyResponse({}));
|
|
3055
3247
|
}
|
|
3056
|
-
async
|
|
3248
|
+
async livenessFaceVerifySimply(request) {
|
|
3057
3249
|
let runtime = new $Util.RuntimeOptions({});
|
|
3058
|
-
return await this.
|
|
3250
|
+
return await this.livenessFaceVerify(request, runtime);
|
|
3059
3251
|
}
|
|
3060
|
-
async
|
|
3252
|
+
async modifyDeviceInfo(request, runtime) {
|
|
3061
3253
|
tea_util_1.default.validateModel(request);
|
|
3062
|
-
return $tea.cast(await this.doRequest("
|
|
3254
|
+
return $tea.cast(await this.doRequest("ModifyDeviceInfo", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new ModifyDeviceInfoResponse({}));
|
|
3063
3255
|
}
|
|
3064
|
-
async
|
|
3256
|
+
async modifyDeviceInfoSimply(request) {
|
|
3065
3257
|
let runtime = new $Util.RuntimeOptions({});
|
|
3066
|
-
return await this.
|
|
3258
|
+
return await this.modifyDeviceInfo(request, runtime);
|
|
3067
3259
|
}
|
|
3068
|
-
async
|
|
3260
|
+
async updateAppPackage(request, runtime) {
|
|
3069
3261
|
tea_util_1.default.validateModel(request);
|
|
3070
|
-
return $tea.cast(await this.doRequest("
|
|
3262
|
+
return $tea.cast(await this.doRequest("UpdateAppPackage", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new UpdateAppPackageResponse({}));
|
|
3071
3263
|
}
|
|
3072
|
-
async
|
|
3264
|
+
async updateAppPackageSimply(request) {
|
|
3073
3265
|
let runtime = new $Util.RuntimeOptions({});
|
|
3074
|
-
return await this.
|
|
3266
|
+
return await this.updateAppPackage(request, runtime);
|
|
3267
|
+
}
|
|
3268
|
+
async updateFaceConfig(request, runtime) {
|
|
3269
|
+
tea_util_1.default.validateModel(request);
|
|
3270
|
+
return $tea.cast(await this.doRequest("UpdateFaceConfig", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new UpdateFaceConfigResponse({}));
|
|
3271
|
+
}
|
|
3272
|
+
async updateFaceConfigSimply(request) {
|
|
3273
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3274
|
+
return await this.updateFaceConfig(request, runtime);
|
|
3275
|
+
}
|
|
3276
|
+
async updateVerifySetting(request, runtime) {
|
|
3277
|
+
tea_util_1.default.validateModel(request);
|
|
3278
|
+
return $tea.cast(await this.doRequest("UpdateVerifySetting", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new UpdateVerifySettingResponse({}));
|
|
3279
|
+
}
|
|
3280
|
+
async updateVerifySettingSimply(request) {
|
|
3281
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3282
|
+
return await this.updateVerifySetting(request, runtime);
|
|
3283
|
+
}
|
|
3284
|
+
async verifyDevice(request, runtime) {
|
|
3285
|
+
tea_util_1.default.validateModel(request);
|
|
3286
|
+
return $tea.cast(await this.doRequest("VerifyDevice", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new VerifyDeviceResponse({}));
|
|
3287
|
+
}
|
|
3288
|
+
async verifyDeviceSimply(request) {
|
|
3289
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3290
|
+
return await this.verifyDevice(request, runtime);
|
|
3291
|
+
}
|
|
3292
|
+
async verifyMaterial(request, runtime) {
|
|
3293
|
+
tea_util_1.default.validateModel(request);
|
|
3294
|
+
return $tea.cast(await this.doRequest("VerifyMaterial", "HTTPS", "POST", "2019-03-07", "AK", null, $tea.toMap(request), runtime), new VerifyMaterialResponse({}));
|
|
3295
|
+
}
|
|
3296
|
+
async verifyMaterialSimply(request) {
|
|
3297
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3298
|
+
return await this.verifyMaterial(request, runtime);
|
|
3075
3299
|
}
|
|
3076
3300
|
getEndpoint(productId, regionId, endpointRule, network, suffix, endpointMap, endpoint) {
|
|
3077
3301
|
if (!tea_util_1.default.empty(endpoint)) {
|