@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/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;
|
|
@@ -621,6 +666,7 @@ export declare class InitFaceVerifyRequest extends $tea.Model {
|
|
|
621
666
|
encryptType?: string;
|
|
622
667
|
faceContrastPicture?: string;
|
|
623
668
|
faceContrastPictureUrl?: string;
|
|
669
|
+
faceGuardOutput?: string;
|
|
624
670
|
ip?: string;
|
|
625
671
|
metaInfo?: string;
|
|
626
672
|
mobile?: string;
|
|
@@ -735,6 +781,98 @@ export declare class LivenessFaceVerifyResponse extends $tea.Model {
|
|
|
735
781
|
[key: string]: any;
|
|
736
782
|
});
|
|
737
783
|
}
|
|
784
|
+
export declare class Mobile3MetaDetailVerifyRequest extends $tea.Model {
|
|
785
|
+
identifyNum?: string;
|
|
786
|
+
mobile?: string;
|
|
787
|
+
paramType?: string;
|
|
788
|
+
userName?: string;
|
|
789
|
+
static names(): {
|
|
790
|
+
[key: string]: string;
|
|
791
|
+
};
|
|
792
|
+
static types(): {
|
|
793
|
+
[key: string]: any;
|
|
794
|
+
};
|
|
795
|
+
constructor(map?: {
|
|
796
|
+
[key: string]: any;
|
|
797
|
+
});
|
|
798
|
+
}
|
|
799
|
+
export declare class Mobile3MetaDetailVerifyResponseBody extends $tea.Model {
|
|
800
|
+
code?: string;
|
|
801
|
+
message?: string;
|
|
802
|
+
requestId?: string;
|
|
803
|
+
resultObject?: Mobile3MetaDetailVerifyResponseBodyResultObject;
|
|
804
|
+
static names(): {
|
|
805
|
+
[key: string]: string;
|
|
806
|
+
};
|
|
807
|
+
static types(): {
|
|
808
|
+
[key: string]: any;
|
|
809
|
+
};
|
|
810
|
+
constructor(map?: {
|
|
811
|
+
[key: string]: any;
|
|
812
|
+
});
|
|
813
|
+
}
|
|
814
|
+
export declare class Mobile3MetaDetailVerifyResponse extends $tea.Model {
|
|
815
|
+
headers: {
|
|
816
|
+
[key: string]: string;
|
|
817
|
+
};
|
|
818
|
+
statusCode: number;
|
|
819
|
+
body: Mobile3MetaDetailVerifyResponseBody;
|
|
820
|
+
static names(): {
|
|
821
|
+
[key: string]: string;
|
|
822
|
+
};
|
|
823
|
+
static types(): {
|
|
824
|
+
[key: string]: any;
|
|
825
|
+
};
|
|
826
|
+
constructor(map?: {
|
|
827
|
+
[key: string]: any;
|
|
828
|
+
});
|
|
829
|
+
}
|
|
830
|
+
export declare class Mobile3MetaSimpleVerifyRequest extends $tea.Model {
|
|
831
|
+
identifyNum?: string;
|
|
832
|
+
mobile?: string;
|
|
833
|
+
paramType?: string;
|
|
834
|
+
userName?: string;
|
|
835
|
+
static names(): {
|
|
836
|
+
[key: string]: string;
|
|
837
|
+
};
|
|
838
|
+
static types(): {
|
|
839
|
+
[key: string]: any;
|
|
840
|
+
};
|
|
841
|
+
constructor(map?: {
|
|
842
|
+
[key: string]: any;
|
|
843
|
+
});
|
|
844
|
+
}
|
|
845
|
+
export declare class Mobile3MetaSimpleVerifyResponseBody extends $tea.Model {
|
|
846
|
+
code?: string;
|
|
847
|
+
message?: string;
|
|
848
|
+
requestId?: string;
|
|
849
|
+
resultObject?: Mobile3MetaSimpleVerifyResponseBodyResultObject;
|
|
850
|
+
static names(): {
|
|
851
|
+
[key: string]: string;
|
|
852
|
+
};
|
|
853
|
+
static types(): {
|
|
854
|
+
[key: string]: any;
|
|
855
|
+
};
|
|
856
|
+
constructor(map?: {
|
|
857
|
+
[key: string]: any;
|
|
858
|
+
});
|
|
859
|
+
}
|
|
860
|
+
export declare class Mobile3MetaSimpleVerifyResponse extends $tea.Model {
|
|
861
|
+
headers: {
|
|
862
|
+
[key: string]: string;
|
|
863
|
+
};
|
|
864
|
+
statusCode: number;
|
|
865
|
+
body: Mobile3MetaSimpleVerifyResponseBody;
|
|
866
|
+
static names(): {
|
|
867
|
+
[key: string]: string;
|
|
868
|
+
};
|
|
869
|
+
static types(): {
|
|
870
|
+
[key: string]: any;
|
|
871
|
+
};
|
|
872
|
+
constructor(map?: {
|
|
873
|
+
[key: string]: any;
|
|
874
|
+
});
|
|
875
|
+
}
|
|
738
876
|
export declare class ModifyDeviceInfoRequest extends $tea.Model {
|
|
739
877
|
bizType?: string;
|
|
740
878
|
deviceId?: string;
|
|
@@ -1101,6 +1239,18 @@ export declare class DetectFaceAttributesResponseBodyData extends $tea.Model {
|
|
|
1101
1239
|
[key: string]: any;
|
|
1102
1240
|
});
|
|
1103
1241
|
}
|
|
1242
|
+
export declare class Id2MetaVerifyResponseBodyResultObject extends $tea.Model {
|
|
1243
|
+
bizCode?: string;
|
|
1244
|
+
static names(): {
|
|
1245
|
+
[key: string]: string;
|
|
1246
|
+
};
|
|
1247
|
+
static types(): {
|
|
1248
|
+
[key: string]: any;
|
|
1249
|
+
};
|
|
1250
|
+
constructor(map?: {
|
|
1251
|
+
[key: string]: any;
|
|
1252
|
+
});
|
|
1253
|
+
}
|
|
1104
1254
|
export declare class InitFaceVerifyResponseBodyResultObject extends $tea.Model {
|
|
1105
1255
|
certifyId?: string;
|
|
1106
1256
|
certifyUrl?: string;
|
|
@@ -1129,6 +1279,33 @@ export declare class LivenessFaceVerifyResponseBodyResultObject extends $tea.Mod
|
|
|
1129
1279
|
[key: string]: any;
|
|
1130
1280
|
});
|
|
1131
1281
|
}
|
|
1282
|
+
export declare class Mobile3MetaDetailVerifyResponseBodyResultObject extends $tea.Model {
|
|
1283
|
+
bizCode?: string;
|
|
1284
|
+
ispName?: string;
|
|
1285
|
+
subCode?: string;
|
|
1286
|
+
static names(): {
|
|
1287
|
+
[key: string]: string;
|
|
1288
|
+
};
|
|
1289
|
+
static types(): {
|
|
1290
|
+
[key: string]: any;
|
|
1291
|
+
};
|
|
1292
|
+
constructor(map?: {
|
|
1293
|
+
[key: string]: any;
|
|
1294
|
+
});
|
|
1295
|
+
}
|
|
1296
|
+
export declare class Mobile3MetaSimpleVerifyResponseBodyResultObject extends $tea.Model {
|
|
1297
|
+
bizCode?: string;
|
|
1298
|
+
ispName?: string;
|
|
1299
|
+
static names(): {
|
|
1300
|
+
[key: string]: string;
|
|
1301
|
+
};
|
|
1302
|
+
static types(): {
|
|
1303
|
+
[key: string]: any;
|
|
1304
|
+
};
|
|
1305
|
+
constructor(map?: {
|
|
1306
|
+
[key: string]: any;
|
|
1307
|
+
});
|
|
1308
|
+
}
|
|
1132
1309
|
export declare class VerifyMaterialResponseBodyMaterialIdCardInfo extends $tea.Model {
|
|
1133
1310
|
address?: string;
|
|
1134
1311
|
authority?: string;
|
|
@@ -1198,10 +1375,16 @@ export default class Client extends OpenApi {
|
|
|
1198
1375
|
describeVerifyToken(request: DescribeVerifyTokenRequest): Promise<DescribeVerifyTokenResponse>;
|
|
1199
1376
|
detectFaceAttributesWithOptions(request: DetectFaceAttributesRequest, runtime: $Util.RuntimeOptions): Promise<DetectFaceAttributesResponse>;
|
|
1200
1377
|
detectFaceAttributes(request: DetectFaceAttributesRequest): Promise<DetectFaceAttributesResponse>;
|
|
1378
|
+
id2MetaVerifyWithOptions(request: Id2MetaVerifyRequest, runtime: $Util.RuntimeOptions): Promise<Id2MetaVerifyResponse>;
|
|
1379
|
+
id2MetaVerify(request: Id2MetaVerifyRequest): Promise<Id2MetaVerifyResponse>;
|
|
1201
1380
|
initFaceVerifyWithOptions(request: InitFaceVerifyRequest, runtime: $Util.RuntimeOptions): Promise<InitFaceVerifyResponse>;
|
|
1202
1381
|
initFaceVerify(request: InitFaceVerifyRequest): Promise<InitFaceVerifyResponse>;
|
|
1203
1382
|
livenessFaceVerifyWithOptions(request: LivenessFaceVerifyRequest, runtime: $Util.RuntimeOptions): Promise<LivenessFaceVerifyResponse>;
|
|
1204
1383
|
livenessFaceVerify(request: LivenessFaceVerifyRequest): Promise<LivenessFaceVerifyResponse>;
|
|
1384
|
+
mobile3MetaDetailVerifyWithOptions(request: Mobile3MetaDetailVerifyRequest, runtime: $Util.RuntimeOptions): Promise<Mobile3MetaDetailVerifyResponse>;
|
|
1385
|
+
mobile3MetaDetailVerify(request: Mobile3MetaDetailVerifyRequest): Promise<Mobile3MetaDetailVerifyResponse>;
|
|
1386
|
+
mobile3MetaSimpleVerifyWithOptions(request: Mobile3MetaSimpleVerifyRequest, runtime: $Util.RuntimeOptions): Promise<Mobile3MetaSimpleVerifyResponse>;
|
|
1387
|
+
mobile3MetaSimpleVerify(request: Mobile3MetaSimpleVerifyRequest): Promise<Mobile3MetaSimpleVerifyResponse>;
|
|
1205
1388
|
modifyDeviceInfoWithOptions(request: ModifyDeviceInfoRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDeviceInfoResponse>;
|
|
1206
1389
|
modifyDeviceInfo(request: ModifyDeviceInfoRequest): Promise<ModifyDeviceInfoResponse>;
|
|
1207
1390
|
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);
|
|
@@ -907,6 +969,7 @@ class InitFaceVerifyRequest extends $tea.Model {
|
|
|
907
969
|
encryptType: 'EncryptType',
|
|
908
970
|
faceContrastPicture: 'FaceContrastPicture',
|
|
909
971
|
faceContrastPictureUrl: 'FaceContrastPictureUrl',
|
|
972
|
+
faceGuardOutput: 'FaceGuardOutput',
|
|
910
973
|
ip: 'Ip',
|
|
911
974
|
metaInfo: 'MetaInfo',
|
|
912
975
|
mobile: 'Mobile',
|
|
@@ -942,6 +1005,7 @@ class InitFaceVerifyRequest extends $tea.Model {
|
|
|
942
1005
|
encryptType: 'string',
|
|
943
1006
|
faceContrastPicture: 'string',
|
|
944
1007
|
faceContrastPictureUrl: 'string',
|
|
1008
|
+
faceGuardOutput: 'string',
|
|
945
1009
|
ip: 'string',
|
|
946
1010
|
metaInfo: 'string',
|
|
947
1011
|
mobile: 'string',
|
|
@@ -1089,6 +1153,134 @@ class LivenessFaceVerifyResponse extends $tea.Model {
|
|
|
1089
1153
|
}
|
|
1090
1154
|
}
|
|
1091
1155
|
exports.LivenessFaceVerifyResponse = LivenessFaceVerifyResponse;
|
|
1156
|
+
class Mobile3MetaDetailVerifyRequest extends $tea.Model {
|
|
1157
|
+
constructor(map) {
|
|
1158
|
+
super(map);
|
|
1159
|
+
}
|
|
1160
|
+
static names() {
|
|
1161
|
+
return {
|
|
1162
|
+
identifyNum: 'IdentifyNum',
|
|
1163
|
+
mobile: 'Mobile',
|
|
1164
|
+
paramType: 'ParamType',
|
|
1165
|
+
userName: 'UserName',
|
|
1166
|
+
};
|
|
1167
|
+
}
|
|
1168
|
+
static types() {
|
|
1169
|
+
return {
|
|
1170
|
+
identifyNum: 'string',
|
|
1171
|
+
mobile: 'string',
|
|
1172
|
+
paramType: 'string',
|
|
1173
|
+
userName: 'string',
|
|
1174
|
+
};
|
|
1175
|
+
}
|
|
1176
|
+
}
|
|
1177
|
+
exports.Mobile3MetaDetailVerifyRequest = Mobile3MetaDetailVerifyRequest;
|
|
1178
|
+
class Mobile3MetaDetailVerifyResponseBody extends $tea.Model {
|
|
1179
|
+
constructor(map) {
|
|
1180
|
+
super(map);
|
|
1181
|
+
}
|
|
1182
|
+
static names() {
|
|
1183
|
+
return {
|
|
1184
|
+
code: 'Code',
|
|
1185
|
+
message: 'Message',
|
|
1186
|
+
requestId: 'RequestId',
|
|
1187
|
+
resultObject: 'ResultObject',
|
|
1188
|
+
};
|
|
1189
|
+
}
|
|
1190
|
+
static types() {
|
|
1191
|
+
return {
|
|
1192
|
+
code: 'string',
|
|
1193
|
+
message: 'string',
|
|
1194
|
+
requestId: 'string',
|
|
1195
|
+
resultObject: Mobile3MetaDetailVerifyResponseBodyResultObject,
|
|
1196
|
+
};
|
|
1197
|
+
}
|
|
1198
|
+
}
|
|
1199
|
+
exports.Mobile3MetaDetailVerifyResponseBody = Mobile3MetaDetailVerifyResponseBody;
|
|
1200
|
+
class Mobile3MetaDetailVerifyResponse extends $tea.Model {
|
|
1201
|
+
constructor(map) {
|
|
1202
|
+
super(map);
|
|
1203
|
+
}
|
|
1204
|
+
static names() {
|
|
1205
|
+
return {
|
|
1206
|
+
headers: 'headers',
|
|
1207
|
+
statusCode: 'statusCode',
|
|
1208
|
+
body: 'body',
|
|
1209
|
+
};
|
|
1210
|
+
}
|
|
1211
|
+
static types() {
|
|
1212
|
+
return {
|
|
1213
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1214
|
+
statusCode: 'number',
|
|
1215
|
+
body: Mobile3MetaDetailVerifyResponseBody,
|
|
1216
|
+
};
|
|
1217
|
+
}
|
|
1218
|
+
}
|
|
1219
|
+
exports.Mobile3MetaDetailVerifyResponse = Mobile3MetaDetailVerifyResponse;
|
|
1220
|
+
class Mobile3MetaSimpleVerifyRequest extends $tea.Model {
|
|
1221
|
+
constructor(map) {
|
|
1222
|
+
super(map);
|
|
1223
|
+
}
|
|
1224
|
+
static names() {
|
|
1225
|
+
return {
|
|
1226
|
+
identifyNum: 'IdentifyNum',
|
|
1227
|
+
mobile: 'Mobile',
|
|
1228
|
+
paramType: 'ParamType',
|
|
1229
|
+
userName: 'UserName',
|
|
1230
|
+
};
|
|
1231
|
+
}
|
|
1232
|
+
static types() {
|
|
1233
|
+
return {
|
|
1234
|
+
identifyNum: 'string',
|
|
1235
|
+
mobile: 'string',
|
|
1236
|
+
paramType: 'string',
|
|
1237
|
+
userName: 'string',
|
|
1238
|
+
};
|
|
1239
|
+
}
|
|
1240
|
+
}
|
|
1241
|
+
exports.Mobile3MetaSimpleVerifyRequest = Mobile3MetaSimpleVerifyRequest;
|
|
1242
|
+
class Mobile3MetaSimpleVerifyResponseBody extends $tea.Model {
|
|
1243
|
+
constructor(map) {
|
|
1244
|
+
super(map);
|
|
1245
|
+
}
|
|
1246
|
+
static names() {
|
|
1247
|
+
return {
|
|
1248
|
+
code: 'Code',
|
|
1249
|
+
message: 'Message',
|
|
1250
|
+
requestId: 'RequestId',
|
|
1251
|
+
resultObject: 'ResultObject',
|
|
1252
|
+
};
|
|
1253
|
+
}
|
|
1254
|
+
static types() {
|
|
1255
|
+
return {
|
|
1256
|
+
code: 'string',
|
|
1257
|
+
message: 'string',
|
|
1258
|
+
requestId: 'string',
|
|
1259
|
+
resultObject: Mobile3MetaSimpleVerifyResponseBodyResultObject,
|
|
1260
|
+
};
|
|
1261
|
+
}
|
|
1262
|
+
}
|
|
1263
|
+
exports.Mobile3MetaSimpleVerifyResponseBody = Mobile3MetaSimpleVerifyResponseBody;
|
|
1264
|
+
class Mobile3MetaSimpleVerifyResponse extends $tea.Model {
|
|
1265
|
+
constructor(map) {
|
|
1266
|
+
super(map);
|
|
1267
|
+
}
|
|
1268
|
+
static names() {
|
|
1269
|
+
return {
|
|
1270
|
+
headers: 'headers',
|
|
1271
|
+
statusCode: 'statusCode',
|
|
1272
|
+
body: 'body',
|
|
1273
|
+
};
|
|
1274
|
+
}
|
|
1275
|
+
static types() {
|
|
1276
|
+
return {
|
|
1277
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1278
|
+
statusCode: 'number',
|
|
1279
|
+
body: Mobile3MetaSimpleVerifyResponseBody,
|
|
1280
|
+
};
|
|
1281
|
+
}
|
|
1282
|
+
}
|
|
1283
|
+
exports.Mobile3MetaSimpleVerifyResponse = Mobile3MetaSimpleVerifyResponse;
|
|
1092
1284
|
class ModifyDeviceInfoRequest extends $tea.Model {
|
|
1093
1285
|
constructor(map) {
|
|
1094
1286
|
super(map);
|
|
@@ -1629,6 +1821,22 @@ class DetectFaceAttributesResponseBodyData extends $tea.Model {
|
|
|
1629
1821
|
}
|
|
1630
1822
|
}
|
|
1631
1823
|
exports.DetectFaceAttributesResponseBodyData = DetectFaceAttributesResponseBodyData;
|
|
1824
|
+
class Id2MetaVerifyResponseBodyResultObject extends $tea.Model {
|
|
1825
|
+
constructor(map) {
|
|
1826
|
+
super(map);
|
|
1827
|
+
}
|
|
1828
|
+
static names() {
|
|
1829
|
+
return {
|
|
1830
|
+
bizCode: 'BizCode',
|
|
1831
|
+
};
|
|
1832
|
+
}
|
|
1833
|
+
static types() {
|
|
1834
|
+
return {
|
|
1835
|
+
bizCode: 'string',
|
|
1836
|
+
};
|
|
1837
|
+
}
|
|
1838
|
+
}
|
|
1839
|
+
exports.Id2MetaVerifyResponseBodyResultObject = Id2MetaVerifyResponseBodyResultObject;
|
|
1632
1840
|
class InitFaceVerifyResponseBodyResultObject extends $tea.Model {
|
|
1633
1841
|
constructor(map) {
|
|
1634
1842
|
super(map);
|
|
@@ -1669,6 +1877,44 @@ class LivenessFaceVerifyResponseBodyResultObject extends $tea.Model {
|
|
|
1669
1877
|
}
|
|
1670
1878
|
}
|
|
1671
1879
|
exports.LivenessFaceVerifyResponseBodyResultObject = LivenessFaceVerifyResponseBodyResultObject;
|
|
1880
|
+
class Mobile3MetaDetailVerifyResponseBodyResultObject extends $tea.Model {
|
|
1881
|
+
constructor(map) {
|
|
1882
|
+
super(map);
|
|
1883
|
+
}
|
|
1884
|
+
static names() {
|
|
1885
|
+
return {
|
|
1886
|
+
bizCode: 'BizCode',
|
|
1887
|
+
ispName: 'IspName',
|
|
1888
|
+
subCode: 'SubCode',
|
|
1889
|
+
};
|
|
1890
|
+
}
|
|
1891
|
+
static types() {
|
|
1892
|
+
return {
|
|
1893
|
+
bizCode: 'string',
|
|
1894
|
+
ispName: 'string',
|
|
1895
|
+
subCode: 'string',
|
|
1896
|
+
};
|
|
1897
|
+
}
|
|
1898
|
+
}
|
|
1899
|
+
exports.Mobile3MetaDetailVerifyResponseBodyResultObject = Mobile3MetaDetailVerifyResponseBodyResultObject;
|
|
1900
|
+
class Mobile3MetaSimpleVerifyResponseBodyResultObject extends $tea.Model {
|
|
1901
|
+
constructor(map) {
|
|
1902
|
+
super(map);
|
|
1903
|
+
}
|
|
1904
|
+
static names() {
|
|
1905
|
+
return {
|
|
1906
|
+
bizCode: 'BizCode',
|
|
1907
|
+
ispName: 'IspName',
|
|
1908
|
+
};
|
|
1909
|
+
}
|
|
1910
|
+
static types() {
|
|
1911
|
+
return {
|
|
1912
|
+
bizCode: 'string',
|
|
1913
|
+
ispName: 'string',
|
|
1914
|
+
};
|
|
1915
|
+
}
|
|
1916
|
+
}
|
|
1917
|
+
exports.Mobile3MetaSimpleVerifyResponseBodyResultObject = Mobile3MetaSimpleVerifyResponseBodyResultObject;
|
|
1672
1918
|
class VerifyMaterialResponseBodyMaterialIdCardInfo extends $tea.Model {
|
|
1673
1919
|
constructor(map) {
|
|
1674
1920
|
super(map);
|
|
@@ -2322,6 +2568,38 @@ class Client extends openapi_client_1.default {
|
|
|
2322
2568
|
let runtime = new $Util.RuntimeOptions({});
|
|
2323
2569
|
return await this.detectFaceAttributesWithOptions(request, runtime);
|
|
2324
2570
|
}
|
|
2571
|
+
async id2MetaVerifyWithOptions(request, runtime) {
|
|
2572
|
+
tea_util_1.default.validateModel(request);
|
|
2573
|
+
let query = {};
|
|
2574
|
+
if (!tea_util_1.default.isUnset(request.identifyNum)) {
|
|
2575
|
+
query["IdentifyNum"] = request.identifyNum;
|
|
2576
|
+
}
|
|
2577
|
+
if (!tea_util_1.default.isUnset(request.paramType)) {
|
|
2578
|
+
query["ParamType"] = request.paramType;
|
|
2579
|
+
}
|
|
2580
|
+
if (!tea_util_1.default.isUnset(request.userName)) {
|
|
2581
|
+
query["UserName"] = request.userName;
|
|
2582
|
+
}
|
|
2583
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
2584
|
+
query: openapi_util_1.default.query(query),
|
|
2585
|
+
});
|
|
2586
|
+
let params = new $OpenApi.Params({
|
|
2587
|
+
action: "Id2MetaVerify",
|
|
2588
|
+
version: "2019-03-07",
|
|
2589
|
+
protocol: "HTTPS",
|
|
2590
|
+
pathname: "/",
|
|
2591
|
+
method: "POST",
|
|
2592
|
+
authType: "AK",
|
|
2593
|
+
style: "RPC",
|
|
2594
|
+
reqBodyType: "formData",
|
|
2595
|
+
bodyType: "json",
|
|
2596
|
+
});
|
|
2597
|
+
return $tea.cast(await this.callApi(params, req, runtime), new Id2MetaVerifyResponse({}));
|
|
2598
|
+
}
|
|
2599
|
+
async id2MetaVerify(request) {
|
|
2600
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
2601
|
+
return await this.id2MetaVerifyWithOptions(request, runtime);
|
|
2602
|
+
}
|
|
2325
2603
|
async initFaceVerifyWithOptions(request, runtime) {
|
|
2326
2604
|
tea_util_1.default.validateModel(request);
|
|
2327
2605
|
let query = {};
|
|
@@ -2358,6 +2636,9 @@ class Client extends openapi_client_1.default {
|
|
|
2358
2636
|
if (!tea_util_1.default.isUnset(request.faceContrastPictureUrl)) {
|
|
2359
2637
|
query["FaceContrastPictureUrl"] = request.faceContrastPictureUrl;
|
|
2360
2638
|
}
|
|
2639
|
+
if (!tea_util_1.default.isUnset(request.faceGuardOutput)) {
|
|
2640
|
+
query["FaceGuardOutput"] = request.faceGuardOutput;
|
|
2641
|
+
}
|
|
2361
2642
|
if (!tea_util_1.default.isUnset(request.ip)) {
|
|
2362
2643
|
query["Ip"] = request.ip;
|
|
2363
2644
|
}
|
|
@@ -2507,6 +2788,76 @@ class Client extends openapi_client_1.default {
|
|
|
2507
2788
|
let runtime = new $Util.RuntimeOptions({});
|
|
2508
2789
|
return await this.livenessFaceVerifyWithOptions(request, runtime);
|
|
2509
2790
|
}
|
|
2791
|
+
async mobile3MetaDetailVerifyWithOptions(request, runtime) {
|
|
2792
|
+
tea_util_1.default.validateModel(request);
|
|
2793
|
+
let query = {};
|
|
2794
|
+
if (!tea_util_1.default.isUnset(request.identifyNum)) {
|
|
2795
|
+
query["IdentifyNum"] = request.identifyNum;
|
|
2796
|
+
}
|
|
2797
|
+
if (!tea_util_1.default.isUnset(request.mobile)) {
|
|
2798
|
+
query["Mobile"] = request.mobile;
|
|
2799
|
+
}
|
|
2800
|
+
if (!tea_util_1.default.isUnset(request.paramType)) {
|
|
2801
|
+
query["ParamType"] = request.paramType;
|
|
2802
|
+
}
|
|
2803
|
+
if (!tea_util_1.default.isUnset(request.userName)) {
|
|
2804
|
+
query["UserName"] = request.userName;
|
|
2805
|
+
}
|
|
2806
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
2807
|
+
query: openapi_util_1.default.query(query),
|
|
2808
|
+
});
|
|
2809
|
+
let params = new $OpenApi.Params({
|
|
2810
|
+
action: "Mobile3MetaDetailVerify",
|
|
2811
|
+
version: "2019-03-07",
|
|
2812
|
+
protocol: "HTTPS",
|
|
2813
|
+
pathname: "/",
|
|
2814
|
+
method: "POST",
|
|
2815
|
+
authType: "AK",
|
|
2816
|
+
style: "RPC",
|
|
2817
|
+
reqBodyType: "formData",
|
|
2818
|
+
bodyType: "json",
|
|
2819
|
+
});
|
|
2820
|
+
return $tea.cast(await this.callApi(params, req, runtime), new Mobile3MetaDetailVerifyResponse({}));
|
|
2821
|
+
}
|
|
2822
|
+
async mobile3MetaDetailVerify(request) {
|
|
2823
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
2824
|
+
return await this.mobile3MetaDetailVerifyWithOptions(request, runtime);
|
|
2825
|
+
}
|
|
2826
|
+
async mobile3MetaSimpleVerifyWithOptions(request, runtime) {
|
|
2827
|
+
tea_util_1.default.validateModel(request);
|
|
2828
|
+
let query = {};
|
|
2829
|
+
if (!tea_util_1.default.isUnset(request.identifyNum)) {
|
|
2830
|
+
query["IdentifyNum"] = request.identifyNum;
|
|
2831
|
+
}
|
|
2832
|
+
if (!tea_util_1.default.isUnset(request.mobile)) {
|
|
2833
|
+
query["Mobile"] = request.mobile;
|
|
2834
|
+
}
|
|
2835
|
+
if (!tea_util_1.default.isUnset(request.paramType)) {
|
|
2836
|
+
query["ParamType"] = request.paramType;
|
|
2837
|
+
}
|
|
2838
|
+
if (!tea_util_1.default.isUnset(request.userName)) {
|
|
2839
|
+
query["UserName"] = request.userName;
|
|
2840
|
+
}
|
|
2841
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
2842
|
+
query: openapi_util_1.default.query(query),
|
|
2843
|
+
});
|
|
2844
|
+
let params = new $OpenApi.Params({
|
|
2845
|
+
action: "Mobile3MetaSimpleVerify",
|
|
2846
|
+
version: "2019-03-07",
|
|
2847
|
+
protocol: "HTTPS",
|
|
2848
|
+
pathname: "/",
|
|
2849
|
+
method: "POST",
|
|
2850
|
+
authType: "AK",
|
|
2851
|
+
style: "RPC",
|
|
2852
|
+
reqBodyType: "formData",
|
|
2853
|
+
bodyType: "json",
|
|
2854
|
+
});
|
|
2855
|
+
return $tea.cast(await this.callApi(params, req, runtime), new Mobile3MetaSimpleVerifyResponse({}));
|
|
2856
|
+
}
|
|
2857
|
+
async mobile3MetaSimpleVerify(request) {
|
|
2858
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
2859
|
+
return await this.mobile3MetaSimpleVerifyWithOptions(request, runtime);
|
|
2860
|
+
}
|
|
2510
2861
|
async modifyDeviceInfoWithOptions(request, runtime) {
|
|
2511
2862
|
tea_util_1.default.validateModel(request);
|
|
2512
2863
|
let query = {};
|