@alicloud/cloudauth20190307 2.0.8 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +183 -0
- package/dist/client.js +351 -0
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +432 -0
package/src/client.ts
CHANGED
|
@@ -1129,6 +1129,84 @@ export class DetectFaceAttributesResponse extends $tea.Model {
|
|
|
1129
1129
|
}
|
|
1130
1130
|
}
|
|
1131
1131
|
|
|
1132
|
+
export class Id2MetaVerifyRequest extends $tea.Model {
|
|
1133
|
+
identifyNum?: string;
|
|
1134
|
+
paramType?: string;
|
|
1135
|
+
userName?: string;
|
|
1136
|
+
static names(): { [key: string]: string } {
|
|
1137
|
+
return {
|
|
1138
|
+
identifyNum: 'IdentifyNum',
|
|
1139
|
+
paramType: 'ParamType',
|
|
1140
|
+
userName: 'UserName',
|
|
1141
|
+
};
|
|
1142
|
+
}
|
|
1143
|
+
|
|
1144
|
+
static types(): { [key: string]: any } {
|
|
1145
|
+
return {
|
|
1146
|
+
identifyNum: 'string',
|
|
1147
|
+
paramType: 'string',
|
|
1148
|
+
userName: 'string',
|
|
1149
|
+
};
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
constructor(map?: { [key: string]: any }) {
|
|
1153
|
+
super(map);
|
|
1154
|
+
}
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1157
|
+
export class Id2MetaVerifyResponseBody extends $tea.Model {
|
|
1158
|
+
code?: string;
|
|
1159
|
+
message?: string;
|
|
1160
|
+
requestId?: string;
|
|
1161
|
+
resultObject?: Id2MetaVerifyResponseBodyResultObject;
|
|
1162
|
+
static names(): { [key: string]: string } {
|
|
1163
|
+
return {
|
|
1164
|
+
code: 'Code',
|
|
1165
|
+
message: 'Message',
|
|
1166
|
+
requestId: 'RequestId',
|
|
1167
|
+
resultObject: 'ResultObject',
|
|
1168
|
+
};
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1171
|
+
static types(): { [key: string]: any } {
|
|
1172
|
+
return {
|
|
1173
|
+
code: 'string',
|
|
1174
|
+
message: 'string',
|
|
1175
|
+
requestId: 'string',
|
|
1176
|
+
resultObject: Id2MetaVerifyResponseBodyResultObject,
|
|
1177
|
+
};
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
constructor(map?: { [key: string]: any }) {
|
|
1181
|
+
super(map);
|
|
1182
|
+
}
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1185
|
+
export class Id2MetaVerifyResponse extends $tea.Model {
|
|
1186
|
+
headers: { [key: string]: string };
|
|
1187
|
+
statusCode: number;
|
|
1188
|
+
body: Id2MetaVerifyResponseBody;
|
|
1189
|
+
static names(): { [key: string]: string } {
|
|
1190
|
+
return {
|
|
1191
|
+
headers: 'headers',
|
|
1192
|
+
statusCode: 'statusCode',
|
|
1193
|
+
body: 'body',
|
|
1194
|
+
};
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1197
|
+
static types(): { [key: string]: any } {
|
|
1198
|
+
return {
|
|
1199
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1200
|
+
statusCode: 'number',
|
|
1201
|
+
body: Id2MetaVerifyResponseBody,
|
|
1202
|
+
};
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
constructor(map?: { [key: string]: any }) {
|
|
1206
|
+
super(map);
|
|
1207
|
+
}
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1132
1210
|
export class InitFaceVerifyRequest extends $tea.Model {
|
|
1133
1211
|
authId?: string;
|
|
1134
1212
|
birthday?: string;
|
|
@@ -1144,6 +1222,7 @@ export class InitFaceVerifyRequest extends $tea.Model {
|
|
|
1144
1222
|
encryptType?: string;
|
|
1145
1223
|
faceContrastPicture?: string;
|
|
1146
1224
|
faceContrastPictureUrl?: string;
|
|
1225
|
+
faceGuardOutput?: string;
|
|
1147
1226
|
ip?: string;
|
|
1148
1227
|
metaInfo?: string;
|
|
1149
1228
|
mobile?: string;
|
|
@@ -1177,6 +1256,7 @@ export class InitFaceVerifyRequest extends $tea.Model {
|
|
|
1177
1256
|
encryptType: 'EncryptType',
|
|
1178
1257
|
faceContrastPicture: 'FaceContrastPicture',
|
|
1179
1258
|
faceContrastPictureUrl: 'FaceContrastPictureUrl',
|
|
1259
|
+
faceGuardOutput: 'FaceGuardOutput',
|
|
1180
1260
|
ip: 'Ip',
|
|
1181
1261
|
metaInfo: 'MetaInfo',
|
|
1182
1262
|
mobile: 'Mobile',
|
|
@@ -1213,6 +1293,7 @@ export class InitFaceVerifyRequest extends $tea.Model {
|
|
|
1213
1293
|
encryptType: 'string',
|
|
1214
1294
|
faceContrastPicture: 'string',
|
|
1215
1295
|
faceContrastPictureUrl: 'string',
|
|
1296
|
+
faceGuardOutput: 'string',
|
|
1216
1297
|
ip: 'string',
|
|
1217
1298
|
metaInfo: 'string',
|
|
1218
1299
|
mobile: 'string',
|
|
@@ -1402,6 +1483,168 @@ export class LivenessFaceVerifyResponse extends $tea.Model {
|
|
|
1402
1483
|
}
|
|
1403
1484
|
}
|
|
1404
1485
|
|
|
1486
|
+
export class Mobile3MetaDetailVerifyRequest extends $tea.Model {
|
|
1487
|
+
identifyNum?: string;
|
|
1488
|
+
mobile?: string;
|
|
1489
|
+
paramType?: string;
|
|
1490
|
+
userName?: string;
|
|
1491
|
+
static names(): { [key: string]: string } {
|
|
1492
|
+
return {
|
|
1493
|
+
identifyNum: 'IdentifyNum',
|
|
1494
|
+
mobile: 'Mobile',
|
|
1495
|
+
paramType: 'ParamType',
|
|
1496
|
+
userName: 'UserName',
|
|
1497
|
+
};
|
|
1498
|
+
}
|
|
1499
|
+
|
|
1500
|
+
static types(): { [key: string]: any } {
|
|
1501
|
+
return {
|
|
1502
|
+
identifyNum: 'string',
|
|
1503
|
+
mobile: 'string',
|
|
1504
|
+
paramType: 'string',
|
|
1505
|
+
userName: 'string',
|
|
1506
|
+
};
|
|
1507
|
+
}
|
|
1508
|
+
|
|
1509
|
+
constructor(map?: { [key: string]: any }) {
|
|
1510
|
+
super(map);
|
|
1511
|
+
}
|
|
1512
|
+
}
|
|
1513
|
+
|
|
1514
|
+
export class Mobile3MetaDetailVerifyResponseBody extends $tea.Model {
|
|
1515
|
+
code?: string;
|
|
1516
|
+
message?: string;
|
|
1517
|
+
requestId?: string;
|
|
1518
|
+
resultObject?: Mobile3MetaDetailVerifyResponseBodyResultObject;
|
|
1519
|
+
static names(): { [key: string]: string } {
|
|
1520
|
+
return {
|
|
1521
|
+
code: 'Code',
|
|
1522
|
+
message: 'Message',
|
|
1523
|
+
requestId: 'RequestId',
|
|
1524
|
+
resultObject: 'ResultObject',
|
|
1525
|
+
};
|
|
1526
|
+
}
|
|
1527
|
+
|
|
1528
|
+
static types(): { [key: string]: any } {
|
|
1529
|
+
return {
|
|
1530
|
+
code: 'string',
|
|
1531
|
+
message: 'string',
|
|
1532
|
+
requestId: 'string',
|
|
1533
|
+
resultObject: Mobile3MetaDetailVerifyResponseBodyResultObject,
|
|
1534
|
+
};
|
|
1535
|
+
}
|
|
1536
|
+
|
|
1537
|
+
constructor(map?: { [key: string]: any }) {
|
|
1538
|
+
super(map);
|
|
1539
|
+
}
|
|
1540
|
+
}
|
|
1541
|
+
|
|
1542
|
+
export class Mobile3MetaDetailVerifyResponse extends $tea.Model {
|
|
1543
|
+
headers: { [key: string]: string };
|
|
1544
|
+
statusCode: number;
|
|
1545
|
+
body: Mobile3MetaDetailVerifyResponseBody;
|
|
1546
|
+
static names(): { [key: string]: string } {
|
|
1547
|
+
return {
|
|
1548
|
+
headers: 'headers',
|
|
1549
|
+
statusCode: 'statusCode',
|
|
1550
|
+
body: 'body',
|
|
1551
|
+
};
|
|
1552
|
+
}
|
|
1553
|
+
|
|
1554
|
+
static types(): { [key: string]: any } {
|
|
1555
|
+
return {
|
|
1556
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1557
|
+
statusCode: 'number',
|
|
1558
|
+
body: Mobile3MetaDetailVerifyResponseBody,
|
|
1559
|
+
};
|
|
1560
|
+
}
|
|
1561
|
+
|
|
1562
|
+
constructor(map?: { [key: string]: any }) {
|
|
1563
|
+
super(map);
|
|
1564
|
+
}
|
|
1565
|
+
}
|
|
1566
|
+
|
|
1567
|
+
export class Mobile3MetaSimpleVerifyRequest extends $tea.Model {
|
|
1568
|
+
identifyNum?: string;
|
|
1569
|
+
mobile?: string;
|
|
1570
|
+
paramType?: string;
|
|
1571
|
+
userName?: string;
|
|
1572
|
+
static names(): { [key: string]: string } {
|
|
1573
|
+
return {
|
|
1574
|
+
identifyNum: 'IdentifyNum',
|
|
1575
|
+
mobile: 'Mobile',
|
|
1576
|
+
paramType: 'ParamType',
|
|
1577
|
+
userName: 'UserName',
|
|
1578
|
+
};
|
|
1579
|
+
}
|
|
1580
|
+
|
|
1581
|
+
static types(): { [key: string]: any } {
|
|
1582
|
+
return {
|
|
1583
|
+
identifyNum: 'string',
|
|
1584
|
+
mobile: 'string',
|
|
1585
|
+
paramType: 'string',
|
|
1586
|
+
userName: 'string',
|
|
1587
|
+
};
|
|
1588
|
+
}
|
|
1589
|
+
|
|
1590
|
+
constructor(map?: { [key: string]: any }) {
|
|
1591
|
+
super(map);
|
|
1592
|
+
}
|
|
1593
|
+
}
|
|
1594
|
+
|
|
1595
|
+
export class Mobile3MetaSimpleVerifyResponseBody extends $tea.Model {
|
|
1596
|
+
code?: string;
|
|
1597
|
+
message?: string;
|
|
1598
|
+
requestId?: string;
|
|
1599
|
+
resultObject?: Mobile3MetaSimpleVerifyResponseBodyResultObject;
|
|
1600
|
+
static names(): { [key: string]: string } {
|
|
1601
|
+
return {
|
|
1602
|
+
code: 'Code',
|
|
1603
|
+
message: 'Message',
|
|
1604
|
+
requestId: 'RequestId',
|
|
1605
|
+
resultObject: 'ResultObject',
|
|
1606
|
+
};
|
|
1607
|
+
}
|
|
1608
|
+
|
|
1609
|
+
static types(): { [key: string]: any } {
|
|
1610
|
+
return {
|
|
1611
|
+
code: 'string',
|
|
1612
|
+
message: 'string',
|
|
1613
|
+
requestId: 'string',
|
|
1614
|
+
resultObject: Mobile3MetaSimpleVerifyResponseBodyResultObject,
|
|
1615
|
+
};
|
|
1616
|
+
}
|
|
1617
|
+
|
|
1618
|
+
constructor(map?: { [key: string]: any }) {
|
|
1619
|
+
super(map);
|
|
1620
|
+
}
|
|
1621
|
+
}
|
|
1622
|
+
|
|
1623
|
+
export class Mobile3MetaSimpleVerifyResponse extends $tea.Model {
|
|
1624
|
+
headers: { [key: string]: string };
|
|
1625
|
+
statusCode: number;
|
|
1626
|
+
body: Mobile3MetaSimpleVerifyResponseBody;
|
|
1627
|
+
static names(): { [key: string]: string } {
|
|
1628
|
+
return {
|
|
1629
|
+
headers: 'headers',
|
|
1630
|
+
statusCode: 'statusCode',
|
|
1631
|
+
body: 'body',
|
|
1632
|
+
};
|
|
1633
|
+
}
|
|
1634
|
+
|
|
1635
|
+
static types(): { [key: string]: any } {
|
|
1636
|
+
return {
|
|
1637
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1638
|
+
statusCode: 'number',
|
|
1639
|
+
body: Mobile3MetaSimpleVerifyResponseBody,
|
|
1640
|
+
};
|
|
1641
|
+
}
|
|
1642
|
+
|
|
1643
|
+
constructor(map?: { [key: string]: any }) {
|
|
1644
|
+
super(map);
|
|
1645
|
+
}
|
|
1646
|
+
}
|
|
1647
|
+
|
|
1405
1648
|
export class ModifyDeviceInfoRequest extends $tea.Model {
|
|
1406
1649
|
bizType?: string;
|
|
1407
1650
|
deviceId?: string;
|
|
@@ -2097,6 +2340,25 @@ export class DetectFaceAttributesResponseBodyData extends $tea.Model {
|
|
|
2097
2340
|
}
|
|
2098
2341
|
}
|
|
2099
2342
|
|
|
2343
|
+
export class Id2MetaVerifyResponseBodyResultObject extends $tea.Model {
|
|
2344
|
+
bizCode?: string;
|
|
2345
|
+
static names(): { [key: string]: string } {
|
|
2346
|
+
return {
|
|
2347
|
+
bizCode: 'BizCode',
|
|
2348
|
+
};
|
|
2349
|
+
}
|
|
2350
|
+
|
|
2351
|
+
static types(): { [key: string]: any } {
|
|
2352
|
+
return {
|
|
2353
|
+
bizCode: 'string',
|
|
2354
|
+
};
|
|
2355
|
+
}
|
|
2356
|
+
|
|
2357
|
+
constructor(map?: { [key: string]: any }) {
|
|
2358
|
+
super(map);
|
|
2359
|
+
}
|
|
2360
|
+
}
|
|
2361
|
+
|
|
2100
2362
|
export class InitFaceVerifyResponseBodyResultObject extends $tea.Model {
|
|
2101
2363
|
certifyId?: string;
|
|
2102
2364
|
certifyUrl?: string;
|
|
@@ -2147,6 +2409,53 @@ export class LivenessFaceVerifyResponseBodyResultObject extends $tea.Model {
|
|
|
2147
2409
|
}
|
|
2148
2410
|
}
|
|
2149
2411
|
|
|
2412
|
+
export class Mobile3MetaDetailVerifyResponseBodyResultObject extends $tea.Model {
|
|
2413
|
+
bizCode?: string;
|
|
2414
|
+
ispName?: string;
|
|
2415
|
+
subCode?: string;
|
|
2416
|
+
static names(): { [key: string]: string } {
|
|
2417
|
+
return {
|
|
2418
|
+
bizCode: 'BizCode',
|
|
2419
|
+
ispName: 'IspName',
|
|
2420
|
+
subCode: 'SubCode',
|
|
2421
|
+
};
|
|
2422
|
+
}
|
|
2423
|
+
|
|
2424
|
+
static types(): { [key: string]: any } {
|
|
2425
|
+
return {
|
|
2426
|
+
bizCode: 'string',
|
|
2427
|
+
ispName: 'string',
|
|
2428
|
+
subCode: 'string',
|
|
2429
|
+
};
|
|
2430
|
+
}
|
|
2431
|
+
|
|
2432
|
+
constructor(map?: { [key: string]: any }) {
|
|
2433
|
+
super(map);
|
|
2434
|
+
}
|
|
2435
|
+
}
|
|
2436
|
+
|
|
2437
|
+
export class Mobile3MetaSimpleVerifyResponseBodyResultObject extends $tea.Model {
|
|
2438
|
+
bizCode?: string;
|
|
2439
|
+
ispName?: string;
|
|
2440
|
+
static names(): { [key: string]: string } {
|
|
2441
|
+
return {
|
|
2442
|
+
bizCode: 'BizCode',
|
|
2443
|
+
ispName: 'IspName',
|
|
2444
|
+
};
|
|
2445
|
+
}
|
|
2446
|
+
|
|
2447
|
+
static types(): { [key: string]: any } {
|
|
2448
|
+
return {
|
|
2449
|
+
bizCode: 'string',
|
|
2450
|
+
ispName: 'string',
|
|
2451
|
+
};
|
|
2452
|
+
}
|
|
2453
|
+
|
|
2454
|
+
constructor(map?: { [key: string]: any }) {
|
|
2455
|
+
super(map);
|
|
2456
|
+
}
|
|
2457
|
+
}
|
|
2458
|
+
|
|
2150
2459
|
export class VerifyMaterialResponseBodyMaterialIdCardInfo extends $tea.Model {
|
|
2151
2460
|
address?: string;
|
|
2152
2461
|
authority?: string;
|
|
@@ -2933,6 +3242,43 @@ export default class Client extends OpenApi {
|
|
|
2933
3242
|
return await this.detectFaceAttributesWithOptions(request, runtime);
|
|
2934
3243
|
}
|
|
2935
3244
|
|
|
3245
|
+
async id2MetaVerifyWithOptions(request: Id2MetaVerifyRequest, runtime: $Util.RuntimeOptions): Promise<Id2MetaVerifyResponse> {
|
|
3246
|
+
Util.validateModel(request);
|
|
3247
|
+
let query = { };
|
|
3248
|
+
if (!Util.isUnset(request.identifyNum)) {
|
|
3249
|
+
query["IdentifyNum"] = request.identifyNum;
|
|
3250
|
+
}
|
|
3251
|
+
|
|
3252
|
+
if (!Util.isUnset(request.paramType)) {
|
|
3253
|
+
query["ParamType"] = request.paramType;
|
|
3254
|
+
}
|
|
3255
|
+
|
|
3256
|
+
if (!Util.isUnset(request.userName)) {
|
|
3257
|
+
query["UserName"] = request.userName;
|
|
3258
|
+
}
|
|
3259
|
+
|
|
3260
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3261
|
+
query: OpenApiUtil.query(query),
|
|
3262
|
+
});
|
|
3263
|
+
let params = new $OpenApi.Params({
|
|
3264
|
+
action: "Id2MetaVerify",
|
|
3265
|
+
version: "2019-03-07",
|
|
3266
|
+
protocol: "HTTPS",
|
|
3267
|
+
pathname: "/",
|
|
3268
|
+
method: "POST",
|
|
3269
|
+
authType: "AK",
|
|
3270
|
+
style: "RPC",
|
|
3271
|
+
reqBodyType: "formData",
|
|
3272
|
+
bodyType: "json",
|
|
3273
|
+
});
|
|
3274
|
+
return $tea.cast<Id2MetaVerifyResponse>(await this.callApi(params, req, runtime), new Id2MetaVerifyResponse({}));
|
|
3275
|
+
}
|
|
3276
|
+
|
|
3277
|
+
async id2MetaVerify(request: Id2MetaVerifyRequest): Promise<Id2MetaVerifyResponse> {
|
|
3278
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
3279
|
+
return await this.id2MetaVerifyWithOptions(request, runtime);
|
|
3280
|
+
}
|
|
3281
|
+
|
|
2936
3282
|
async initFaceVerifyWithOptions(request: InitFaceVerifyRequest, runtime: $Util.RuntimeOptions): Promise<InitFaceVerifyResponse> {
|
|
2937
3283
|
Util.validateModel(request);
|
|
2938
3284
|
let query = { };
|
|
@@ -2980,6 +3326,10 @@ export default class Client extends OpenApi {
|
|
|
2980
3326
|
query["FaceContrastPictureUrl"] = request.faceContrastPictureUrl;
|
|
2981
3327
|
}
|
|
2982
3328
|
|
|
3329
|
+
if (!Util.isUnset(request.faceGuardOutput)) {
|
|
3330
|
+
query["FaceGuardOutput"] = request.faceGuardOutput;
|
|
3331
|
+
}
|
|
3332
|
+
|
|
2983
3333
|
if (!Util.isUnset(request.ip)) {
|
|
2984
3334
|
query["Ip"] = request.ip;
|
|
2985
3335
|
}
|
|
@@ -3167,6 +3517,88 @@ export default class Client extends OpenApi {
|
|
|
3167
3517
|
return await this.livenessFaceVerifyWithOptions(request, runtime);
|
|
3168
3518
|
}
|
|
3169
3519
|
|
|
3520
|
+
async mobile3MetaDetailVerifyWithOptions(request: Mobile3MetaDetailVerifyRequest, runtime: $Util.RuntimeOptions): Promise<Mobile3MetaDetailVerifyResponse> {
|
|
3521
|
+
Util.validateModel(request);
|
|
3522
|
+
let query = { };
|
|
3523
|
+
if (!Util.isUnset(request.identifyNum)) {
|
|
3524
|
+
query["IdentifyNum"] = request.identifyNum;
|
|
3525
|
+
}
|
|
3526
|
+
|
|
3527
|
+
if (!Util.isUnset(request.mobile)) {
|
|
3528
|
+
query["Mobile"] = request.mobile;
|
|
3529
|
+
}
|
|
3530
|
+
|
|
3531
|
+
if (!Util.isUnset(request.paramType)) {
|
|
3532
|
+
query["ParamType"] = request.paramType;
|
|
3533
|
+
}
|
|
3534
|
+
|
|
3535
|
+
if (!Util.isUnset(request.userName)) {
|
|
3536
|
+
query["UserName"] = request.userName;
|
|
3537
|
+
}
|
|
3538
|
+
|
|
3539
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3540
|
+
query: OpenApiUtil.query(query),
|
|
3541
|
+
});
|
|
3542
|
+
let params = new $OpenApi.Params({
|
|
3543
|
+
action: "Mobile3MetaDetailVerify",
|
|
3544
|
+
version: "2019-03-07",
|
|
3545
|
+
protocol: "HTTPS",
|
|
3546
|
+
pathname: "/",
|
|
3547
|
+
method: "POST",
|
|
3548
|
+
authType: "AK",
|
|
3549
|
+
style: "RPC",
|
|
3550
|
+
reqBodyType: "formData",
|
|
3551
|
+
bodyType: "json",
|
|
3552
|
+
});
|
|
3553
|
+
return $tea.cast<Mobile3MetaDetailVerifyResponse>(await this.callApi(params, req, runtime), new Mobile3MetaDetailVerifyResponse({}));
|
|
3554
|
+
}
|
|
3555
|
+
|
|
3556
|
+
async mobile3MetaDetailVerify(request: Mobile3MetaDetailVerifyRequest): Promise<Mobile3MetaDetailVerifyResponse> {
|
|
3557
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
3558
|
+
return await this.mobile3MetaDetailVerifyWithOptions(request, runtime);
|
|
3559
|
+
}
|
|
3560
|
+
|
|
3561
|
+
async mobile3MetaSimpleVerifyWithOptions(request: Mobile3MetaSimpleVerifyRequest, runtime: $Util.RuntimeOptions): Promise<Mobile3MetaSimpleVerifyResponse> {
|
|
3562
|
+
Util.validateModel(request);
|
|
3563
|
+
let query = { };
|
|
3564
|
+
if (!Util.isUnset(request.identifyNum)) {
|
|
3565
|
+
query["IdentifyNum"] = request.identifyNum;
|
|
3566
|
+
}
|
|
3567
|
+
|
|
3568
|
+
if (!Util.isUnset(request.mobile)) {
|
|
3569
|
+
query["Mobile"] = request.mobile;
|
|
3570
|
+
}
|
|
3571
|
+
|
|
3572
|
+
if (!Util.isUnset(request.paramType)) {
|
|
3573
|
+
query["ParamType"] = request.paramType;
|
|
3574
|
+
}
|
|
3575
|
+
|
|
3576
|
+
if (!Util.isUnset(request.userName)) {
|
|
3577
|
+
query["UserName"] = request.userName;
|
|
3578
|
+
}
|
|
3579
|
+
|
|
3580
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3581
|
+
query: OpenApiUtil.query(query),
|
|
3582
|
+
});
|
|
3583
|
+
let params = new $OpenApi.Params({
|
|
3584
|
+
action: "Mobile3MetaSimpleVerify",
|
|
3585
|
+
version: "2019-03-07",
|
|
3586
|
+
protocol: "HTTPS",
|
|
3587
|
+
pathname: "/",
|
|
3588
|
+
method: "POST",
|
|
3589
|
+
authType: "AK",
|
|
3590
|
+
style: "RPC",
|
|
3591
|
+
reqBodyType: "formData",
|
|
3592
|
+
bodyType: "json",
|
|
3593
|
+
});
|
|
3594
|
+
return $tea.cast<Mobile3MetaSimpleVerifyResponse>(await this.callApi(params, req, runtime), new Mobile3MetaSimpleVerifyResponse({}));
|
|
3595
|
+
}
|
|
3596
|
+
|
|
3597
|
+
async mobile3MetaSimpleVerify(request: Mobile3MetaSimpleVerifyRequest): Promise<Mobile3MetaSimpleVerifyResponse> {
|
|
3598
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
3599
|
+
return await this.mobile3MetaSimpleVerifyWithOptions(request, runtime);
|
|
3600
|
+
}
|
|
3601
|
+
|
|
3170
3602
|
async modifyDeviceInfoWithOptions(request: ModifyDeviceInfoRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDeviceInfoResponse> {
|
|
3171
3603
|
Util.validateModel(request);
|
|
3172
3604
|
let query = { };
|