@alicloud/cloudauth20190307 2.0.8 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +182 -0
- package/dist/client.js +346 -0
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +425 -0
package/dist/client.d.ts
CHANGED
|
@@ -606,6 +606,51 @@ export declare class DetectFaceAttributesResponse extends $tea.Model {
|
|
|
606
606
|
[key: string]: any;
|
|
607
607
|
});
|
|
608
608
|
}
|
|
609
|
+
export declare class Id2MetaVerifyRequest extends $tea.Model {
|
|
610
|
+
identifyNum?: string;
|
|
611
|
+
paramType?: string;
|
|
612
|
+
userName?: string;
|
|
613
|
+
static names(): {
|
|
614
|
+
[key: string]: string;
|
|
615
|
+
};
|
|
616
|
+
static types(): {
|
|
617
|
+
[key: string]: any;
|
|
618
|
+
};
|
|
619
|
+
constructor(map?: {
|
|
620
|
+
[key: string]: any;
|
|
621
|
+
});
|
|
622
|
+
}
|
|
623
|
+
export declare class Id2MetaVerifyResponseBody extends $tea.Model {
|
|
624
|
+
code?: string;
|
|
625
|
+
message?: string;
|
|
626
|
+
requestId?: string;
|
|
627
|
+
resultObject?: Id2MetaVerifyResponseBodyResultObject;
|
|
628
|
+
static names(): {
|
|
629
|
+
[key: string]: string;
|
|
630
|
+
};
|
|
631
|
+
static types(): {
|
|
632
|
+
[key: string]: any;
|
|
633
|
+
};
|
|
634
|
+
constructor(map?: {
|
|
635
|
+
[key: string]: any;
|
|
636
|
+
});
|
|
637
|
+
}
|
|
638
|
+
export declare class Id2MetaVerifyResponse extends $tea.Model {
|
|
639
|
+
headers: {
|
|
640
|
+
[key: string]: string;
|
|
641
|
+
};
|
|
642
|
+
statusCode: number;
|
|
643
|
+
body: Id2MetaVerifyResponseBody;
|
|
644
|
+
static names(): {
|
|
645
|
+
[key: string]: string;
|
|
646
|
+
};
|
|
647
|
+
static types(): {
|
|
648
|
+
[key: string]: any;
|
|
649
|
+
};
|
|
650
|
+
constructor(map?: {
|
|
651
|
+
[key: string]: any;
|
|
652
|
+
});
|
|
653
|
+
}
|
|
609
654
|
export declare class InitFaceVerifyRequest extends $tea.Model {
|
|
610
655
|
authId?: string;
|
|
611
656
|
birthday?: string;
|
|
@@ -735,6 +780,98 @@ export declare class LivenessFaceVerifyResponse extends $tea.Model {
|
|
|
735
780
|
[key: string]: any;
|
|
736
781
|
});
|
|
737
782
|
}
|
|
783
|
+
export declare class Mobile3MetaDetailVerifyRequest extends $tea.Model {
|
|
784
|
+
identifyNum?: string;
|
|
785
|
+
mobile?: string;
|
|
786
|
+
paramType?: string;
|
|
787
|
+
userName?: string;
|
|
788
|
+
static names(): {
|
|
789
|
+
[key: string]: string;
|
|
790
|
+
};
|
|
791
|
+
static types(): {
|
|
792
|
+
[key: string]: any;
|
|
793
|
+
};
|
|
794
|
+
constructor(map?: {
|
|
795
|
+
[key: string]: any;
|
|
796
|
+
});
|
|
797
|
+
}
|
|
798
|
+
export declare class Mobile3MetaDetailVerifyResponseBody extends $tea.Model {
|
|
799
|
+
code?: string;
|
|
800
|
+
message?: string;
|
|
801
|
+
requestId?: string;
|
|
802
|
+
resultObject?: Mobile3MetaDetailVerifyResponseBodyResultObject;
|
|
803
|
+
static names(): {
|
|
804
|
+
[key: string]: string;
|
|
805
|
+
};
|
|
806
|
+
static types(): {
|
|
807
|
+
[key: string]: any;
|
|
808
|
+
};
|
|
809
|
+
constructor(map?: {
|
|
810
|
+
[key: string]: any;
|
|
811
|
+
});
|
|
812
|
+
}
|
|
813
|
+
export declare class Mobile3MetaDetailVerifyResponse extends $tea.Model {
|
|
814
|
+
headers: {
|
|
815
|
+
[key: string]: string;
|
|
816
|
+
};
|
|
817
|
+
statusCode: number;
|
|
818
|
+
body: Mobile3MetaDetailVerifyResponseBody;
|
|
819
|
+
static names(): {
|
|
820
|
+
[key: string]: string;
|
|
821
|
+
};
|
|
822
|
+
static types(): {
|
|
823
|
+
[key: string]: any;
|
|
824
|
+
};
|
|
825
|
+
constructor(map?: {
|
|
826
|
+
[key: string]: any;
|
|
827
|
+
});
|
|
828
|
+
}
|
|
829
|
+
export declare class Mobile3MetaSimpleVerifyRequest extends $tea.Model {
|
|
830
|
+
identifyNum?: string;
|
|
831
|
+
mobile?: string;
|
|
832
|
+
paramType?: string;
|
|
833
|
+
userName?: string;
|
|
834
|
+
static names(): {
|
|
835
|
+
[key: string]: string;
|
|
836
|
+
};
|
|
837
|
+
static types(): {
|
|
838
|
+
[key: string]: any;
|
|
839
|
+
};
|
|
840
|
+
constructor(map?: {
|
|
841
|
+
[key: string]: any;
|
|
842
|
+
});
|
|
843
|
+
}
|
|
844
|
+
export declare class Mobile3MetaSimpleVerifyResponseBody extends $tea.Model {
|
|
845
|
+
code?: string;
|
|
846
|
+
message?: string;
|
|
847
|
+
requestId?: string;
|
|
848
|
+
resultObject?: Mobile3MetaSimpleVerifyResponseBodyResultObject;
|
|
849
|
+
static names(): {
|
|
850
|
+
[key: string]: string;
|
|
851
|
+
};
|
|
852
|
+
static types(): {
|
|
853
|
+
[key: string]: any;
|
|
854
|
+
};
|
|
855
|
+
constructor(map?: {
|
|
856
|
+
[key: string]: any;
|
|
857
|
+
});
|
|
858
|
+
}
|
|
859
|
+
export declare class Mobile3MetaSimpleVerifyResponse extends $tea.Model {
|
|
860
|
+
headers: {
|
|
861
|
+
[key: string]: string;
|
|
862
|
+
};
|
|
863
|
+
statusCode: number;
|
|
864
|
+
body: Mobile3MetaSimpleVerifyResponseBody;
|
|
865
|
+
static names(): {
|
|
866
|
+
[key: string]: string;
|
|
867
|
+
};
|
|
868
|
+
static types(): {
|
|
869
|
+
[key: string]: any;
|
|
870
|
+
};
|
|
871
|
+
constructor(map?: {
|
|
872
|
+
[key: string]: any;
|
|
873
|
+
});
|
|
874
|
+
}
|
|
738
875
|
export declare class ModifyDeviceInfoRequest extends $tea.Model {
|
|
739
876
|
bizType?: string;
|
|
740
877
|
deviceId?: string;
|
|
@@ -1101,6 +1238,18 @@ export declare class DetectFaceAttributesResponseBodyData extends $tea.Model {
|
|
|
1101
1238
|
[key: string]: any;
|
|
1102
1239
|
});
|
|
1103
1240
|
}
|
|
1241
|
+
export declare class Id2MetaVerifyResponseBodyResultObject extends $tea.Model {
|
|
1242
|
+
bizCode?: string;
|
|
1243
|
+
static names(): {
|
|
1244
|
+
[key: string]: string;
|
|
1245
|
+
};
|
|
1246
|
+
static types(): {
|
|
1247
|
+
[key: string]: any;
|
|
1248
|
+
};
|
|
1249
|
+
constructor(map?: {
|
|
1250
|
+
[key: string]: any;
|
|
1251
|
+
});
|
|
1252
|
+
}
|
|
1104
1253
|
export declare class InitFaceVerifyResponseBodyResultObject extends $tea.Model {
|
|
1105
1254
|
certifyId?: string;
|
|
1106
1255
|
certifyUrl?: string;
|
|
@@ -1129,6 +1278,33 @@ export declare class LivenessFaceVerifyResponseBodyResultObject extends $tea.Mod
|
|
|
1129
1278
|
[key: string]: any;
|
|
1130
1279
|
});
|
|
1131
1280
|
}
|
|
1281
|
+
export declare class Mobile3MetaDetailVerifyResponseBodyResultObject extends $tea.Model {
|
|
1282
|
+
bizCode?: string;
|
|
1283
|
+
ispName?: string;
|
|
1284
|
+
subCode?: string;
|
|
1285
|
+
static names(): {
|
|
1286
|
+
[key: string]: string;
|
|
1287
|
+
};
|
|
1288
|
+
static types(): {
|
|
1289
|
+
[key: string]: any;
|
|
1290
|
+
};
|
|
1291
|
+
constructor(map?: {
|
|
1292
|
+
[key: string]: any;
|
|
1293
|
+
});
|
|
1294
|
+
}
|
|
1295
|
+
export declare class Mobile3MetaSimpleVerifyResponseBodyResultObject extends $tea.Model {
|
|
1296
|
+
bizCode?: string;
|
|
1297
|
+
ispName?: string;
|
|
1298
|
+
static names(): {
|
|
1299
|
+
[key: string]: string;
|
|
1300
|
+
};
|
|
1301
|
+
static types(): {
|
|
1302
|
+
[key: string]: any;
|
|
1303
|
+
};
|
|
1304
|
+
constructor(map?: {
|
|
1305
|
+
[key: string]: any;
|
|
1306
|
+
});
|
|
1307
|
+
}
|
|
1132
1308
|
export declare class VerifyMaterialResponseBodyMaterialIdCardInfo extends $tea.Model {
|
|
1133
1309
|
address?: string;
|
|
1134
1310
|
authority?: string;
|
|
@@ -1198,10 +1374,16 @@ export default class Client extends OpenApi {
|
|
|
1198
1374
|
describeVerifyToken(request: DescribeVerifyTokenRequest): Promise<DescribeVerifyTokenResponse>;
|
|
1199
1375
|
detectFaceAttributesWithOptions(request: DetectFaceAttributesRequest, runtime: $Util.RuntimeOptions): Promise<DetectFaceAttributesResponse>;
|
|
1200
1376
|
detectFaceAttributes(request: DetectFaceAttributesRequest): Promise<DetectFaceAttributesResponse>;
|
|
1377
|
+
id2MetaVerifyWithOptions(request: Id2MetaVerifyRequest, runtime: $Util.RuntimeOptions): Promise<Id2MetaVerifyResponse>;
|
|
1378
|
+
id2MetaVerify(request: Id2MetaVerifyRequest): Promise<Id2MetaVerifyResponse>;
|
|
1201
1379
|
initFaceVerifyWithOptions(request: InitFaceVerifyRequest, runtime: $Util.RuntimeOptions): Promise<InitFaceVerifyResponse>;
|
|
1202
1380
|
initFaceVerify(request: InitFaceVerifyRequest): Promise<InitFaceVerifyResponse>;
|
|
1203
1381
|
livenessFaceVerifyWithOptions(request: LivenessFaceVerifyRequest, runtime: $Util.RuntimeOptions): Promise<LivenessFaceVerifyResponse>;
|
|
1204
1382
|
livenessFaceVerify(request: LivenessFaceVerifyRequest): Promise<LivenessFaceVerifyResponse>;
|
|
1383
|
+
mobile3MetaDetailVerifyWithOptions(request: Mobile3MetaDetailVerifyRequest, runtime: $Util.RuntimeOptions): Promise<Mobile3MetaDetailVerifyResponse>;
|
|
1384
|
+
mobile3MetaDetailVerify(request: Mobile3MetaDetailVerifyRequest): Promise<Mobile3MetaDetailVerifyResponse>;
|
|
1385
|
+
mobile3MetaSimpleVerifyWithOptions(request: Mobile3MetaSimpleVerifyRequest, runtime: $Util.RuntimeOptions): Promise<Mobile3MetaSimpleVerifyResponse>;
|
|
1386
|
+
mobile3MetaSimpleVerify(request: Mobile3MetaSimpleVerifyRequest): Promise<Mobile3MetaSimpleVerifyResponse>;
|
|
1205
1387
|
modifyDeviceInfoWithOptions(request: ModifyDeviceInfoRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDeviceInfoResponse>;
|
|
1206
1388
|
modifyDeviceInfo(request: ModifyDeviceInfoRequest): Promise<ModifyDeviceInfoResponse>;
|
|
1207
1389
|
verifyMaterialWithOptions(request: VerifyMaterialRequest, runtime: $Util.RuntimeOptions): Promise<VerifyMaterialResponse>;
|
package/dist/client.js
CHANGED
|
@@ -887,6 +887,68 @@ class DetectFaceAttributesResponse extends $tea.Model {
|
|
|
887
887
|
}
|
|
888
888
|
}
|
|
889
889
|
exports.DetectFaceAttributesResponse = DetectFaceAttributesResponse;
|
|
890
|
+
class Id2MetaVerifyRequest extends $tea.Model {
|
|
891
|
+
constructor(map) {
|
|
892
|
+
super(map);
|
|
893
|
+
}
|
|
894
|
+
static names() {
|
|
895
|
+
return {
|
|
896
|
+
identifyNum: 'IdentifyNum',
|
|
897
|
+
paramType: 'ParamType',
|
|
898
|
+
userName: 'UserName',
|
|
899
|
+
};
|
|
900
|
+
}
|
|
901
|
+
static types() {
|
|
902
|
+
return {
|
|
903
|
+
identifyNum: 'string',
|
|
904
|
+
paramType: 'string',
|
|
905
|
+
userName: 'string',
|
|
906
|
+
};
|
|
907
|
+
}
|
|
908
|
+
}
|
|
909
|
+
exports.Id2MetaVerifyRequest = Id2MetaVerifyRequest;
|
|
910
|
+
class Id2MetaVerifyResponseBody extends $tea.Model {
|
|
911
|
+
constructor(map) {
|
|
912
|
+
super(map);
|
|
913
|
+
}
|
|
914
|
+
static names() {
|
|
915
|
+
return {
|
|
916
|
+
code: 'Code',
|
|
917
|
+
message: 'Message',
|
|
918
|
+
requestId: 'RequestId',
|
|
919
|
+
resultObject: 'ResultObject',
|
|
920
|
+
};
|
|
921
|
+
}
|
|
922
|
+
static types() {
|
|
923
|
+
return {
|
|
924
|
+
code: 'string',
|
|
925
|
+
message: 'string',
|
|
926
|
+
requestId: 'string',
|
|
927
|
+
resultObject: Id2MetaVerifyResponseBodyResultObject,
|
|
928
|
+
};
|
|
929
|
+
}
|
|
930
|
+
}
|
|
931
|
+
exports.Id2MetaVerifyResponseBody = Id2MetaVerifyResponseBody;
|
|
932
|
+
class Id2MetaVerifyResponse extends $tea.Model {
|
|
933
|
+
constructor(map) {
|
|
934
|
+
super(map);
|
|
935
|
+
}
|
|
936
|
+
static names() {
|
|
937
|
+
return {
|
|
938
|
+
headers: 'headers',
|
|
939
|
+
statusCode: 'statusCode',
|
|
940
|
+
body: 'body',
|
|
941
|
+
};
|
|
942
|
+
}
|
|
943
|
+
static types() {
|
|
944
|
+
return {
|
|
945
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
946
|
+
statusCode: 'number',
|
|
947
|
+
body: Id2MetaVerifyResponseBody,
|
|
948
|
+
};
|
|
949
|
+
}
|
|
950
|
+
}
|
|
951
|
+
exports.Id2MetaVerifyResponse = Id2MetaVerifyResponse;
|
|
890
952
|
class InitFaceVerifyRequest extends $tea.Model {
|
|
891
953
|
constructor(map) {
|
|
892
954
|
super(map);
|
|
@@ -1089,6 +1151,134 @@ class LivenessFaceVerifyResponse extends $tea.Model {
|
|
|
1089
1151
|
}
|
|
1090
1152
|
}
|
|
1091
1153
|
exports.LivenessFaceVerifyResponse = LivenessFaceVerifyResponse;
|
|
1154
|
+
class Mobile3MetaDetailVerifyRequest extends $tea.Model {
|
|
1155
|
+
constructor(map) {
|
|
1156
|
+
super(map);
|
|
1157
|
+
}
|
|
1158
|
+
static names() {
|
|
1159
|
+
return {
|
|
1160
|
+
identifyNum: 'IdentifyNum',
|
|
1161
|
+
mobile: 'Mobile',
|
|
1162
|
+
paramType: 'ParamType',
|
|
1163
|
+
userName: 'UserName',
|
|
1164
|
+
};
|
|
1165
|
+
}
|
|
1166
|
+
static types() {
|
|
1167
|
+
return {
|
|
1168
|
+
identifyNum: 'string',
|
|
1169
|
+
mobile: 'string',
|
|
1170
|
+
paramType: 'string',
|
|
1171
|
+
userName: 'string',
|
|
1172
|
+
};
|
|
1173
|
+
}
|
|
1174
|
+
}
|
|
1175
|
+
exports.Mobile3MetaDetailVerifyRequest = Mobile3MetaDetailVerifyRequest;
|
|
1176
|
+
class Mobile3MetaDetailVerifyResponseBody extends $tea.Model {
|
|
1177
|
+
constructor(map) {
|
|
1178
|
+
super(map);
|
|
1179
|
+
}
|
|
1180
|
+
static names() {
|
|
1181
|
+
return {
|
|
1182
|
+
code: 'Code',
|
|
1183
|
+
message: 'Message',
|
|
1184
|
+
requestId: 'RequestId',
|
|
1185
|
+
resultObject: 'ResultObject',
|
|
1186
|
+
};
|
|
1187
|
+
}
|
|
1188
|
+
static types() {
|
|
1189
|
+
return {
|
|
1190
|
+
code: 'string',
|
|
1191
|
+
message: 'string',
|
|
1192
|
+
requestId: 'string',
|
|
1193
|
+
resultObject: Mobile3MetaDetailVerifyResponseBodyResultObject,
|
|
1194
|
+
};
|
|
1195
|
+
}
|
|
1196
|
+
}
|
|
1197
|
+
exports.Mobile3MetaDetailVerifyResponseBody = Mobile3MetaDetailVerifyResponseBody;
|
|
1198
|
+
class Mobile3MetaDetailVerifyResponse extends $tea.Model {
|
|
1199
|
+
constructor(map) {
|
|
1200
|
+
super(map);
|
|
1201
|
+
}
|
|
1202
|
+
static names() {
|
|
1203
|
+
return {
|
|
1204
|
+
headers: 'headers',
|
|
1205
|
+
statusCode: 'statusCode',
|
|
1206
|
+
body: 'body',
|
|
1207
|
+
};
|
|
1208
|
+
}
|
|
1209
|
+
static types() {
|
|
1210
|
+
return {
|
|
1211
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1212
|
+
statusCode: 'number',
|
|
1213
|
+
body: Mobile3MetaDetailVerifyResponseBody,
|
|
1214
|
+
};
|
|
1215
|
+
}
|
|
1216
|
+
}
|
|
1217
|
+
exports.Mobile3MetaDetailVerifyResponse = Mobile3MetaDetailVerifyResponse;
|
|
1218
|
+
class Mobile3MetaSimpleVerifyRequest extends $tea.Model {
|
|
1219
|
+
constructor(map) {
|
|
1220
|
+
super(map);
|
|
1221
|
+
}
|
|
1222
|
+
static names() {
|
|
1223
|
+
return {
|
|
1224
|
+
identifyNum: 'IdentifyNum',
|
|
1225
|
+
mobile: 'Mobile',
|
|
1226
|
+
paramType: 'ParamType',
|
|
1227
|
+
userName: 'UserName',
|
|
1228
|
+
};
|
|
1229
|
+
}
|
|
1230
|
+
static types() {
|
|
1231
|
+
return {
|
|
1232
|
+
identifyNum: 'string',
|
|
1233
|
+
mobile: 'string',
|
|
1234
|
+
paramType: 'string',
|
|
1235
|
+
userName: 'string',
|
|
1236
|
+
};
|
|
1237
|
+
}
|
|
1238
|
+
}
|
|
1239
|
+
exports.Mobile3MetaSimpleVerifyRequest = Mobile3MetaSimpleVerifyRequest;
|
|
1240
|
+
class Mobile3MetaSimpleVerifyResponseBody extends $tea.Model {
|
|
1241
|
+
constructor(map) {
|
|
1242
|
+
super(map);
|
|
1243
|
+
}
|
|
1244
|
+
static names() {
|
|
1245
|
+
return {
|
|
1246
|
+
code: 'Code',
|
|
1247
|
+
message: 'Message',
|
|
1248
|
+
requestId: 'RequestId',
|
|
1249
|
+
resultObject: 'ResultObject',
|
|
1250
|
+
};
|
|
1251
|
+
}
|
|
1252
|
+
static types() {
|
|
1253
|
+
return {
|
|
1254
|
+
code: 'string',
|
|
1255
|
+
message: 'string',
|
|
1256
|
+
requestId: 'string',
|
|
1257
|
+
resultObject: Mobile3MetaSimpleVerifyResponseBodyResultObject,
|
|
1258
|
+
};
|
|
1259
|
+
}
|
|
1260
|
+
}
|
|
1261
|
+
exports.Mobile3MetaSimpleVerifyResponseBody = Mobile3MetaSimpleVerifyResponseBody;
|
|
1262
|
+
class Mobile3MetaSimpleVerifyResponse extends $tea.Model {
|
|
1263
|
+
constructor(map) {
|
|
1264
|
+
super(map);
|
|
1265
|
+
}
|
|
1266
|
+
static names() {
|
|
1267
|
+
return {
|
|
1268
|
+
headers: 'headers',
|
|
1269
|
+
statusCode: 'statusCode',
|
|
1270
|
+
body: 'body',
|
|
1271
|
+
};
|
|
1272
|
+
}
|
|
1273
|
+
static types() {
|
|
1274
|
+
return {
|
|
1275
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1276
|
+
statusCode: 'number',
|
|
1277
|
+
body: Mobile3MetaSimpleVerifyResponseBody,
|
|
1278
|
+
};
|
|
1279
|
+
}
|
|
1280
|
+
}
|
|
1281
|
+
exports.Mobile3MetaSimpleVerifyResponse = Mobile3MetaSimpleVerifyResponse;
|
|
1092
1282
|
class ModifyDeviceInfoRequest extends $tea.Model {
|
|
1093
1283
|
constructor(map) {
|
|
1094
1284
|
super(map);
|
|
@@ -1629,6 +1819,22 @@ class DetectFaceAttributesResponseBodyData extends $tea.Model {
|
|
|
1629
1819
|
}
|
|
1630
1820
|
}
|
|
1631
1821
|
exports.DetectFaceAttributesResponseBodyData = DetectFaceAttributesResponseBodyData;
|
|
1822
|
+
class Id2MetaVerifyResponseBodyResultObject extends $tea.Model {
|
|
1823
|
+
constructor(map) {
|
|
1824
|
+
super(map);
|
|
1825
|
+
}
|
|
1826
|
+
static names() {
|
|
1827
|
+
return {
|
|
1828
|
+
bizCode: 'BizCode',
|
|
1829
|
+
};
|
|
1830
|
+
}
|
|
1831
|
+
static types() {
|
|
1832
|
+
return {
|
|
1833
|
+
bizCode: 'string',
|
|
1834
|
+
};
|
|
1835
|
+
}
|
|
1836
|
+
}
|
|
1837
|
+
exports.Id2MetaVerifyResponseBodyResultObject = Id2MetaVerifyResponseBodyResultObject;
|
|
1632
1838
|
class InitFaceVerifyResponseBodyResultObject extends $tea.Model {
|
|
1633
1839
|
constructor(map) {
|
|
1634
1840
|
super(map);
|
|
@@ -1669,6 +1875,44 @@ class LivenessFaceVerifyResponseBodyResultObject extends $tea.Model {
|
|
|
1669
1875
|
}
|
|
1670
1876
|
}
|
|
1671
1877
|
exports.LivenessFaceVerifyResponseBodyResultObject = LivenessFaceVerifyResponseBodyResultObject;
|
|
1878
|
+
class Mobile3MetaDetailVerifyResponseBodyResultObject extends $tea.Model {
|
|
1879
|
+
constructor(map) {
|
|
1880
|
+
super(map);
|
|
1881
|
+
}
|
|
1882
|
+
static names() {
|
|
1883
|
+
return {
|
|
1884
|
+
bizCode: 'BizCode',
|
|
1885
|
+
ispName: 'IspName',
|
|
1886
|
+
subCode: 'SubCode',
|
|
1887
|
+
};
|
|
1888
|
+
}
|
|
1889
|
+
static types() {
|
|
1890
|
+
return {
|
|
1891
|
+
bizCode: 'string',
|
|
1892
|
+
ispName: 'string',
|
|
1893
|
+
subCode: 'string',
|
|
1894
|
+
};
|
|
1895
|
+
}
|
|
1896
|
+
}
|
|
1897
|
+
exports.Mobile3MetaDetailVerifyResponseBodyResultObject = Mobile3MetaDetailVerifyResponseBodyResultObject;
|
|
1898
|
+
class Mobile3MetaSimpleVerifyResponseBodyResultObject extends $tea.Model {
|
|
1899
|
+
constructor(map) {
|
|
1900
|
+
super(map);
|
|
1901
|
+
}
|
|
1902
|
+
static names() {
|
|
1903
|
+
return {
|
|
1904
|
+
bizCode: 'BizCode',
|
|
1905
|
+
ispName: 'IspName',
|
|
1906
|
+
};
|
|
1907
|
+
}
|
|
1908
|
+
static types() {
|
|
1909
|
+
return {
|
|
1910
|
+
bizCode: 'string',
|
|
1911
|
+
ispName: 'string',
|
|
1912
|
+
};
|
|
1913
|
+
}
|
|
1914
|
+
}
|
|
1915
|
+
exports.Mobile3MetaSimpleVerifyResponseBodyResultObject = Mobile3MetaSimpleVerifyResponseBodyResultObject;
|
|
1672
1916
|
class VerifyMaterialResponseBodyMaterialIdCardInfo extends $tea.Model {
|
|
1673
1917
|
constructor(map) {
|
|
1674
1918
|
super(map);
|
|
@@ -2322,6 +2566,38 @@ class Client extends openapi_client_1.default {
|
|
|
2322
2566
|
let runtime = new $Util.RuntimeOptions({});
|
|
2323
2567
|
return await this.detectFaceAttributesWithOptions(request, runtime);
|
|
2324
2568
|
}
|
|
2569
|
+
async id2MetaVerifyWithOptions(request, runtime) {
|
|
2570
|
+
tea_util_1.default.validateModel(request);
|
|
2571
|
+
let query = {};
|
|
2572
|
+
if (!tea_util_1.default.isUnset(request.identifyNum)) {
|
|
2573
|
+
query["IdentifyNum"] = request.identifyNum;
|
|
2574
|
+
}
|
|
2575
|
+
if (!tea_util_1.default.isUnset(request.paramType)) {
|
|
2576
|
+
query["ParamType"] = request.paramType;
|
|
2577
|
+
}
|
|
2578
|
+
if (!tea_util_1.default.isUnset(request.userName)) {
|
|
2579
|
+
query["UserName"] = request.userName;
|
|
2580
|
+
}
|
|
2581
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
2582
|
+
query: openapi_util_1.default.query(query),
|
|
2583
|
+
});
|
|
2584
|
+
let params = new $OpenApi.Params({
|
|
2585
|
+
action: "Id2MetaVerify",
|
|
2586
|
+
version: "2019-03-07",
|
|
2587
|
+
protocol: "HTTPS",
|
|
2588
|
+
pathname: "/",
|
|
2589
|
+
method: "POST",
|
|
2590
|
+
authType: "AK",
|
|
2591
|
+
style: "RPC",
|
|
2592
|
+
reqBodyType: "formData",
|
|
2593
|
+
bodyType: "json",
|
|
2594
|
+
});
|
|
2595
|
+
return $tea.cast(await this.callApi(params, req, runtime), new Id2MetaVerifyResponse({}));
|
|
2596
|
+
}
|
|
2597
|
+
async id2MetaVerify(request) {
|
|
2598
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
2599
|
+
return await this.id2MetaVerifyWithOptions(request, runtime);
|
|
2600
|
+
}
|
|
2325
2601
|
async initFaceVerifyWithOptions(request, runtime) {
|
|
2326
2602
|
tea_util_1.default.validateModel(request);
|
|
2327
2603
|
let query = {};
|
|
@@ -2507,6 +2783,76 @@ class Client extends openapi_client_1.default {
|
|
|
2507
2783
|
let runtime = new $Util.RuntimeOptions({});
|
|
2508
2784
|
return await this.livenessFaceVerifyWithOptions(request, runtime);
|
|
2509
2785
|
}
|
|
2786
|
+
async mobile3MetaDetailVerifyWithOptions(request, runtime) {
|
|
2787
|
+
tea_util_1.default.validateModel(request);
|
|
2788
|
+
let query = {};
|
|
2789
|
+
if (!tea_util_1.default.isUnset(request.identifyNum)) {
|
|
2790
|
+
query["IdentifyNum"] = request.identifyNum;
|
|
2791
|
+
}
|
|
2792
|
+
if (!tea_util_1.default.isUnset(request.mobile)) {
|
|
2793
|
+
query["Mobile"] = request.mobile;
|
|
2794
|
+
}
|
|
2795
|
+
if (!tea_util_1.default.isUnset(request.paramType)) {
|
|
2796
|
+
query["ParamType"] = request.paramType;
|
|
2797
|
+
}
|
|
2798
|
+
if (!tea_util_1.default.isUnset(request.userName)) {
|
|
2799
|
+
query["UserName"] = request.userName;
|
|
2800
|
+
}
|
|
2801
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
2802
|
+
query: openapi_util_1.default.query(query),
|
|
2803
|
+
});
|
|
2804
|
+
let params = new $OpenApi.Params({
|
|
2805
|
+
action: "Mobile3MetaDetailVerify",
|
|
2806
|
+
version: "2019-03-07",
|
|
2807
|
+
protocol: "HTTPS",
|
|
2808
|
+
pathname: "/",
|
|
2809
|
+
method: "POST",
|
|
2810
|
+
authType: "AK",
|
|
2811
|
+
style: "RPC",
|
|
2812
|
+
reqBodyType: "formData",
|
|
2813
|
+
bodyType: "json",
|
|
2814
|
+
});
|
|
2815
|
+
return $tea.cast(await this.callApi(params, req, runtime), new Mobile3MetaDetailVerifyResponse({}));
|
|
2816
|
+
}
|
|
2817
|
+
async mobile3MetaDetailVerify(request) {
|
|
2818
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
2819
|
+
return await this.mobile3MetaDetailVerifyWithOptions(request, runtime);
|
|
2820
|
+
}
|
|
2821
|
+
async mobile3MetaSimpleVerifyWithOptions(request, runtime) {
|
|
2822
|
+
tea_util_1.default.validateModel(request);
|
|
2823
|
+
let query = {};
|
|
2824
|
+
if (!tea_util_1.default.isUnset(request.identifyNum)) {
|
|
2825
|
+
query["IdentifyNum"] = request.identifyNum;
|
|
2826
|
+
}
|
|
2827
|
+
if (!tea_util_1.default.isUnset(request.mobile)) {
|
|
2828
|
+
query["Mobile"] = request.mobile;
|
|
2829
|
+
}
|
|
2830
|
+
if (!tea_util_1.default.isUnset(request.paramType)) {
|
|
2831
|
+
query["ParamType"] = request.paramType;
|
|
2832
|
+
}
|
|
2833
|
+
if (!tea_util_1.default.isUnset(request.userName)) {
|
|
2834
|
+
query["UserName"] = request.userName;
|
|
2835
|
+
}
|
|
2836
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
2837
|
+
query: openapi_util_1.default.query(query),
|
|
2838
|
+
});
|
|
2839
|
+
let params = new $OpenApi.Params({
|
|
2840
|
+
action: "Mobile3MetaSimpleVerify",
|
|
2841
|
+
version: "2019-03-07",
|
|
2842
|
+
protocol: "HTTPS",
|
|
2843
|
+
pathname: "/",
|
|
2844
|
+
method: "POST",
|
|
2845
|
+
authType: "AK",
|
|
2846
|
+
style: "RPC",
|
|
2847
|
+
reqBodyType: "formData",
|
|
2848
|
+
bodyType: "json",
|
|
2849
|
+
});
|
|
2850
|
+
return $tea.cast(await this.callApi(params, req, runtime), new Mobile3MetaSimpleVerifyResponse({}));
|
|
2851
|
+
}
|
|
2852
|
+
async mobile3MetaSimpleVerify(request) {
|
|
2853
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
2854
|
+
return await this.mobile3MetaSimpleVerifyWithOptions(request, runtime);
|
|
2855
|
+
}
|
|
2510
2856
|
async modifyDeviceInfoWithOptions(request, runtime) {
|
|
2511
2857
|
tea_util_1.default.validateModel(request);
|
|
2512
2858
|
let query = {};
|