@antchain/realperson 1.15.4 → 1.15.16
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 +188 -0
- package/dist/client.js +304 -7
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +425 -5
package/dist/client.d.ts
CHANGED
|
@@ -366,6 +366,7 @@ export declare class CheckRouteThreemetaResponse extends $tea.Model {
|
|
|
366
366
|
resultCode?: string;
|
|
367
367
|
resultMsg?: string;
|
|
368
368
|
match?: string;
|
|
369
|
+
carrier?: string;
|
|
369
370
|
externInfo?: string;
|
|
370
371
|
static names(): {
|
|
371
372
|
[key: string]: string;
|
|
@@ -1055,6 +1056,7 @@ export declare class CheckCarrierTwometaRequest extends $tea.Model {
|
|
|
1055
1056
|
authToken?: string;
|
|
1056
1057
|
productInstanceId?: string;
|
|
1057
1058
|
outerOrderNo: string;
|
|
1059
|
+
encryptType?: string;
|
|
1058
1060
|
metaMode: string;
|
|
1059
1061
|
mobile: string;
|
|
1060
1062
|
certName?: string;
|
|
@@ -1167,6 +1169,7 @@ export declare class QuerySocialriskDetailRequest extends $tea.Model {
|
|
|
1167
1169
|
certName: string;
|
|
1168
1170
|
certNo: string;
|
|
1169
1171
|
externParam?: string;
|
|
1172
|
+
scene?: string;
|
|
1170
1173
|
static names(): {
|
|
1171
1174
|
[key: string]: string;
|
|
1172
1175
|
};
|
|
@@ -1193,6 +1196,143 @@ export declare class QuerySocialriskDetailResponse extends $tea.Model {
|
|
|
1193
1196
|
[key: string]: any;
|
|
1194
1197
|
});
|
|
1195
1198
|
}
|
|
1199
|
+
export declare class QueryCarrierNetstatusRequest extends $tea.Model {
|
|
1200
|
+
authToken?: string;
|
|
1201
|
+
productInstanceId?: string;
|
|
1202
|
+
outerOrderNo: string;
|
|
1203
|
+
mobile: string;
|
|
1204
|
+
carrier?: string;
|
|
1205
|
+
encryptType?: string;
|
|
1206
|
+
externParam: string;
|
|
1207
|
+
static names(): {
|
|
1208
|
+
[key: string]: string;
|
|
1209
|
+
};
|
|
1210
|
+
static types(): {
|
|
1211
|
+
[key: string]: any;
|
|
1212
|
+
};
|
|
1213
|
+
constructor(map?: {
|
|
1214
|
+
[key: string]: any;
|
|
1215
|
+
});
|
|
1216
|
+
}
|
|
1217
|
+
export declare class QueryCarrierNetstatusResponse extends $tea.Model {
|
|
1218
|
+
reqMsgId?: string;
|
|
1219
|
+
resultCode?: string;
|
|
1220
|
+
resultMsg?: string;
|
|
1221
|
+
telNetworkStatus?: string;
|
|
1222
|
+
carrier?: string;
|
|
1223
|
+
externInfo?: string;
|
|
1224
|
+
static names(): {
|
|
1225
|
+
[key: string]: string;
|
|
1226
|
+
};
|
|
1227
|
+
static types(): {
|
|
1228
|
+
[key: string]: any;
|
|
1229
|
+
};
|
|
1230
|
+
constructor(map?: {
|
|
1231
|
+
[key: string]: any;
|
|
1232
|
+
});
|
|
1233
|
+
}
|
|
1234
|
+
export declare class QuerySocialriskBriefRequest extends $tea.Model {
|
|
1235
|
+
authToken?: string;
|
|
1236
|
+
productInstanceId?: string;
|
|
1237
|
+
outerOrderNo: string;
|
|
1238
|
+
scene?: string;
|
|
1239
|
+
encType: string;
|
|
1240
|
+
certName?: string;
|
|
1241
|
+
certNo: string;
|
|
1242
|
+
externParam?: 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
|
+
}
|
|
1253
|
+
export declare class QuerySocialriskBriefResponse extends $tea.Model {
|
|
1254
|
+
reqMsgId?: string;
|
|
1255
|
+
resultCode?: string;
|
|
1256
|
+
resultMsg?: string;
|
|
1257
|
+
riskInfo?: string;
|
|
1258
|
+
externInfo?: string;
|
|
1259
|
+
static names(): {
|
|
1260
|
+
[key: string]: string;
|
|
1261
|
+
};
|
|
1262
|
+
static types(): {
|
|
1263
|
+
[key: string]: any;
|
|
1264
|
+
};
|
|
1265
|
+
constructor(map?: {
|
|
1266
|
+
[key: string]: any;
|
|
1267
|
+
});
|
|
1268
|
+
}
|
|
1269
|
+
export declare class QuerySocialriskTobriskRequest extends $tea.Model {
|
|
1270
|
+
authToken?: string;
|
|
1271
|
+
productInstanceId?: string;
|
|
1272
|
+
outerOrderNo: string;
|
|
1273
|
+
encType: string;
|
|
1274
|
+
certNo: string;
|
|
1275
|
+
externParam?: string;
|
|
1276
|
+
static names(): {
|
|
1277
|
+
[key: string]: string;
|
|
1278
|
+
};
|
|
1279
|
+
static types(): {
|
|
1280
|
+
[key: string]: any;
|
|
1281
|
+
};
|
|
1282
|
+
constructor(map?: {
|
|
1283
|
+
[key: string]: any;
|
|
1284
|
+
});
|
|
1285
|
+
}
|
|
1286
|
+
export declare class QuerySocialriskTobriskResponse extends $tea.Model {
|
|
1287
|
+
reqMsgId?: string;
|
|
1288
|
+
resultCode?: string;
|
|
1289
|
+
resultMsg?: string;
|
|
1290
|
+
riskInfo?: string;
|
|
1291
|
+
externInfo?: string;
|
|
1292
|
+
static names(): {
|
|
1293
|
+
[key: string]: string;
|
|
1294
|
+
};
|
|
1295
|
+
static types(): {
|
|
1296
|
+
[key: string]: any;
|
|
1297
|
+
};
|
|
1298
|
+
constructor(map?: {
|
|
1299
|
+
[key: string]: any;
|
|
1300
|
+
});
|
|
1301
|
+
}
|
|
1302
|
+
export declare class QueryZolozmetaThreemetamobilereuseRequest extends $tea.Model {
|
|
1303
|
+
authToken?: string;
|
|
1304
|
+
productInstanceId?: string;
|
|
1305
|
+
outerOrderNo: string;
|
|
1306
|
+
mobile: string;
|
|
1307
|
+
date: string;
|
|
1308
|
+
carrier: string;
|
|
1309
|
+
externParam: string;
|
|
1310
|
+
static names(): {
|
|
1311
|
+
[key: string]: string;
|
|
1312
|
+
};
|
|
1313
|
+
static types(): {
|
|
1314
|
+
[key: string]: any;
|
|
1315
|
+
};
|
|
1316
|
+
constructor(map?: {
|
|
1317
|
+
[key: string]: any;
|
|
1318
|
+
});
|
|
1319
|
+
}
|
|
1320
|
+
export declare class QueryZolozmetaThreemetamobilereuseResponse extends $tea.Model {
|
|
1321
|
+
reqMsgId?: string;
|
|
1322
|
+
resultCode?: string;
|
|
1323
|
+
resultMsg?: string;
|
|
1324
|
+
phoneReuse?: string;
|
|
1325
|
+
externInfo?: string;
|
|
1326
|
+
static names(): {
|
|
1327
|
+
[key: string]: string;
|
|
1328
|
+
};
|
|
1329
|
+
static types(): {
|
|
1330
|
+
[key: string]: any;
|
|
1331
|
+
};
|
|
1332
|
+
constructor(map?: {
|
|
1333
|
+
[key: string]: any;
|
|
1334
|
+
});
|
|
1335
|
+
}
|
|
1196
1336
|
export declare class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
|
|
1197
1337
|
authToken?: string;
|
|
1198
1338
|
apiCode: string;
|
|
@@ -1643,6 +1783,54 @@ export default class Client {
|
|
|
1643
1783
|
querySocialriskDetailEx(request: QuerySocialriskDetailRequest, headers: {
|
|
1644
1784
|
[key: string]: string;
|
|
1645
1785
|
}, runtime: $Util.RuntimeOptions): Promise<QuerySocialriskDetailResponse>;
|
|
1786
|
+
/**
|
|
1787
|
+
* Description: 运营商在网状态查询
|
|
1788
|
+
* Summary: 运营商在网状态查询
|
|
1789
|
+
*/
|
|
1790
|
+
queryCarrierNetstatus(request: QueryCarrierNetstatusRequest): Promise<QueryCarrierNetstatusResponse>;
|
|
1791
|
+
/**
|
|
1792
|
+
* Description: 运营商在网状态查询
|
|
1793
|
+
* Summary: 运营商在网状态查询
|
|
1794
|
+
*/
|
|
1795
|
+
queryCarrierNetstatusEx(request: QueryCarrierNetstatusRequest, headers: {
|
|
1796
|
+
[key: string]: string;
|
|
1797
|
+
}, runtime: $Util.RuntimeOptions): Promise<QueryCarrierNetstatusResponse>;
|
|
1798
|
+
/**
|
|
1799
|
+
* Description: 社会安全风险(简版)
|
|
1800
|
+
* Summary: 社会安全风险(简版)
|
|
1801
|
+
*/
|
|
1802
|
+
querySocialriskBrief(request: QuerySocialriskBriefRequest): Promise<QuerySocialriskBriefResponse>;
|
|
1803
|
+
/**
|
|
1804
|
+
* Description: 社会安全风险(简版)
|
|
1805
|
+
* Summary: 社会安全风险(简版)
|
|
1806
|
+
*/
|
|
1807
|
+
querySocialriskBriefEx(request: QuerySocialriskBriefRequest, headers: {
|
|
1808
|
+
[key: string]: string;
|
|
1809
|
+
}, runtime: $Util.RuntimeOptions): Promise<QuerySocialriskBriefResponse>;
|
|
1810
|
+
/**
|
|
1811
|
+
* Description: 社会安全风险(tob风控版)
|
|
1812
|
+
* Summary: 社会安全风险(tob风控版)
|
|
1813
|
+
*/
|
|
1814
|
+
querySocialriskTobrisk(request: QuerySocialriskTobriskRequest): Promise<QuerySocialriskTobriskResponse>;
|
|
1815
|
+
/**
|
|
1816
|
+
* Description: 社会安全风险(tob风控版)
|
|
1817
|
+
* Summary: 社会安全风险(tob风控版)
|
|
1818
|
+
*/
|
|
1819
|
+
querySocialriskTobriskEx(request: QuerySocialriskTobriskRequest, headers: {
|
|
1820
|
+
[key: string]: string;
|
|
1821
|
+
}, runtime: $Util.RuntimeOptions): Promise<QuerySocialriskTobriskResponse>;
|
|
1822
|
+
/**
|
|
1823
|
+
* Description: 个人运营商二次放号
|
|
1824
|
+
* Summary: 个人运营商二次放号-meta版本
|
|
1825
|
+
*/
|
|
1826
|
+
queryZolozmetaThreemetamobilereuse(request: QueryZolozmetaThreemetamobilereuseRequest): Promise<QueryZolozmetaThreemetamobilereuseResponse>;
|
|
1827
|
+
/**
|
|
1828
|
+
* Description: 个人运营商二次放号
|
|
1829
|
+
* Summary: 个人运营商二次放号-meta版本
|
|
1830
|
+
*/
|
|
1831
|
+
queryZolozmetaThreemetamobilereuseEx(request: QueryZolozmetaThreemetamobilereuseRequest, headers: {
|
|
1832
|
+
[key: string]: string;
|
|
1833
|
+
}, runtime: $Util.RuntimeOptions): Promise<QueryZolozmetaThreemetamobilereuseResponse>;
|
|
1646
1834
|
/**
|
|
1647
1835
|
* Description: 创建HTTP PUT提交的文件上传
|
|
1648
1836
|
* Summary: 文件上传创建
|
package/dist/client.js
CHANGED
|
@@ -1,15 +1,28 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var
|
|
3
|
-
|
|
4
|
-
};
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
10
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
11
|
+
}) : function(o, v) {
|
|
12
|
+
o["default"] = v;
|
|
13
|
+
});
|
|
5
14
|
var __importStar = (this && this.__importStar) || function (mod) {
|
|
6
15
|
if (mod && mod.__esModule) return mod;
|
|
7
16
|
var result = {};
|
|
8
|
-
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result
|
|
9
|
-
result
|
|
17
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
18
|
+
__setModuleDefault(result, mod);
|
|
10
19
|
return result;
|
|
11
20
|
};
|
|
21
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
22
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
23
|
+
};
|
|
12
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.CreateAntcloudGatewayxFileUploadResponse = exports.CreateAntcloudGatewayxFileUploadRequest = exports.QueryZolozmetaThreemetamobilereuseResponse = exports.QueryZolozmetaThreemetamobilereuseRequest = exports.QuerySocialriskTobriskResponse = exports.QuerySocialriskTobriskRequest = exports.QuerySocialriskBriefResponse = exports.QuerySocialriskBriefRequest = exports.QueryCarrierNetstatusResponse = exports.QueryCarrierNetstatusRequest = exports.QuerySocialriskDetailResponse = exports.QuerySocialriskDetailRequest = exports.QueryNfcServerResponse = exports.QueryNfcServerRequest = exports.CreateNfcServerResponse = exports.CreateNfcServerRequest = exports.CheckCarrierTwometaResponse = exports.CheckCarrierTwometaRequest = exports.CheckBankcardTwometaResponse = exports.CheckBankcardTwometaRequest = exports.QueryDemoInfoResponse = exports.QueryDemoInfoRequest = exports.QueryEducationInfoResponse = exports.QueryEducationInfoRequest = exports.QueryTscenterDeviceResponse = exports.QueryTscenterDeviceRequest = exports.QueryThreemetaPhonereuseResponse = exports.QueryThreemetaPhonereuseRequest = exports.QueryDeepsecTsbmrqResponse = exports.QueryDeepsecTsbmrqRequest = exports.QueryDeepsecRiskResponse = exports.QueryDeepsecRiskRequest = exports.CheckThreemetaBankcardResponse = exports.CheckThreemetaBankcardRequest = exports.RecognizeDocIndividualcardResponse = exports.RecognizeDocIndividualcardRequest = exports.VerifyFacevrfZimResponse = exports.VerifyFacevrfZimRequest = exports.InitFacevrfZimResponse = exports.InitFacevrfZimRequest = exports.QueryThreemetaOnlinetimeResponse = exports.QueryThreemetaOnlinetimeRequest = exports.CheckTwometaHashResponse = exports.CheckTwometaHashRequest = exports.CheckAnticheatPersonalResponse = exports.CheckAnticheatPersonalRequest = exports.DetailFacevrfServerResponse = exports.DetailFacevrfServerRequest = exports.QueryMobileRiskResponse = exports.QueryMobileRiskRequest = exports.CheckRouteTwometaResponse = exports.CheckRouteTwometaRequest = exports.VerifyVoiceprintServermodeResponse = exports.VerifyVoiceprintServermodeRequest = exports.CreateVoiceprintServermodeResponse = exports.CreateVoiceprintServermodeRequest = exports.CheckRouteThreemetaResponse = exports.CheckRouteThreemetaRequest = exports.CheckIndividualidFourmetaResponse = exports.CheckIndividualidFourmetaRequest = exports.CheckIndividualidThreemetaResponse = exports.CheckIndividualidThreemetaRequest = exports.CheckIndividualidTwometaResponse = exports.CheckIndividualidTwometaRequest = exports.GetFacevrfEvidenceResponse = exports.GetFacevrfEvidenceRequest = exports.ExecFacevrfServerResponse = exports.ExecFacevrfServerRequest = exports.CreateFacevrfServerResponse = exports.CreateFacevrfServerRequest = exports.QueryFacevrfServerResponse = exports.QueryFacevrfServerRequest = exports.XNameValuePair = exports.Audio = exports.AudioMeta = exports.Config = void 0;
|
|
13
26
|
// This file is auto-generated, don't edit it
|
|
14
27
|
const alipay_util_1 = __importDefault(require("@antchain/alipay-util"));
|
|
15
28
|
const tea_util_1 = __importStar(require("@alicloud/tea-util")), $Util = tea_util_1;
|
|
@@ -591,6 +604,7 @@ class CheckRouteThreemetaResponse extends $tea.Model {
|
|
|
591
604
|
resultCode: 'result_code',
|
|
592
605
|
resultMsg: 'result_msg',
|
|
593
606
|
match: 'match',
|
|
607
|
+
carrier: 'carrier',
|
|
594
608
|
externInfo: 'extern_info',
|
|
595
609
|
};
|
|
596
610
|
}
|
|
@@ -600,6 +614,7 @@ class CheckRouteThreemetaResponse extends $tea.Model {
|
|
|
600
614
|
resultCode: 'string',
|
|
601
615
|
resultMsg: 'string',
|
|
602
616
|
match: 'string',
|
|
617
|
+
carrier: 'string',
|
|
603
618
|
externInfo: 'string',
|
|
604
619
|
};
|
|
605
620
|
}
|
|
@@ -1658,6 +1673,7 @@ class CheckCarrierTwometaRequest extends $tea.Model {
|
|
|
1658
1673
|
authToken: 'auth_token',
|
|
1659
1674
|
productInstanceId: 'product_instance_id',
|
|
1660
1675
|
outerOrderNo: 'outer_order_no',
|
|
1676
|
+
encryptType: 'encrypt_type',
|
|
1661
1677
|
metaMode: 'meta_mode',
|
|
1662
1678
|
mobile: 'mobile',
|
|
1663
1679
|
certName: 'cert_name',
|
|
@@ -1671,6 +1687,7 @@ class CheckCarrierTwometaRequest extends $tea.Model {
|
|
|
1671
1687
|
authToken: 'string',
|
|
1672
1688
|
productInstanceId: 'string',
|
|
1673
1689
|
outerOrderNo: 'string',
|
|
1690
|
+
encryptType: 'string',
|
|
1674
1691
|
metaMode: 'string',
|
|
1675
1692
|
mobile: 'string',
|
|
1676
1693
|
certName: 'string',
|
|
@@ -1830,6 +1847,7 @@ class QuerySocialriskDetailRequest extends $tea.Model {
|
|
|
1830
1847
|
certName: 'cert_name',
|
|
1831
1848
|
certNo: 'cert_no',
|
|
1832
1849
|
externParam: 'extern_param',
|
|
1850
|
+
scene: 'scene',
|
|
1833
1851
|
};
|
|
1834
1852
|
}
|
|
1835
1853
|
static types() {
|
|
@@ -1841,6 +1859,7 @@ class QuerySocialriskDetailRequest extends $tea.Model {
|
|
|
1841
1859
|
certName: 'string',
|
|
1842
1860
|
certNo: 'string',
|
|
1843
1861
|
externParam: 'string',
|
|
1862
|
+
scene: 'string',
|
|
1844
1863
|
};
|
|
1845
1864
|
}
|
|
1846
1865
|
}
|
|
@@ -1869,6 +1888,216 @@ class QuerySocialriskDetailResponse extends $tea.Model {
|
|
|
1869
1888
|
}
|
|
1870
1889
|
}
|
|
1871
1890
|
exports.QuerySocialriskDetailResponse = QuerySocialriskDetailResponse;
|
|
1891
|
+
class QueryCarrierNetstatusRequest extends $tea.Model {
|
|
1892
|
+
constructor(map) {
|
|
1893
|
+
super(map);
|
|
1894
|
+
}
|
|
1895
|
+
static names() {
|
|
1896
|
+
return {
|
|
1897
|
+
authToken: 'auth_token',
|
|
1898
|
+
productInstanceId: 'product_instance_id',
|
|
1899
|
+
outerOrderNo: 'outer_order_no',
|
|
1900
|
+
mobile: 'mobile',
|
|
1901
|
+
carrier: 'carrier',
|
|
1902
|
+
encryptType: 'encrypt_type',
|
|
1903
|
+
externParam: 'extern_param',
|
|
1904
|
+
};
|
|
1905
|
+
}
|
|
1906
|
+
static types() {
|
|
1907
|
+
return {
|
|
1908
|
+
authToken: 'string',
|
|
1909
|
+
productInstanceId: 'string',
|
|
1910
|
+
outerOrderNo: 'string',
|
|
1911
|
+
mobile: 'string',
|
|
1912
|
+
carrier: 'string',
|
|
1913
|
+
encryptType: 'string',
|
|
1914
|
+
externParam: 'string',
|
|
1915
|
+
};
|
|
1916
|
+
}
|
|
1917
|
+
}
|
|
1918
|
+
exports.QueryCarrierNetstatusRequest = QueryCarrierNetstatusRequest;
|
|
1919
|
+
class QueryCarrierNetstatusResponse extends $tea.Model {
|
|
1920
|
+
constructor(map) {
|
|
1921
|
+
super(map);
|
|
1922
|
+
}
|
|
1923
|
+
static names() {
|
|
1924
|
+
return {
|
|
1925
|
+
reqMsgId: 'req_msg_id',
|
|
1926
|
+
resultCode: 'result_code',
|
|
1927
|
+
resultMsg: 'result_msg',
|
|
1928
|
+
telNetworkStatus: 'tel_network_status',
|
|
1929
|
+
carrier: 'carrier',
|
|
1930
|
+
externInfo: 'extern_info',
|
|
1931
|
+
};
|
|
1932
|
+
}
|
|
1933
|
+
static types() {
|
|
1934
|
+
return {
|
|
1935
|
+
reqMsgId: 'string',
|
|
1936
|
+
resultCode: 'string',
|
|
1937
|
+
resultMsg: 'string',
|
|
1938
|
+
telNetworkStatus: 'string',
|
|
1939
|
+
carrier: 'string',
|
|
1940
|
+
externInfo: 'string',
|
|
1941
|
+
};
|
|
1942
|
+
}
|
|
1943
|
+
}
|
|
1944
|
+
exports.QueryCarrierNetstatusResponse = QueryCarrierNetstatusResponse;
|
|
1945
|
+
class QuerySocialriskBriefRequest extends $tea.Model {
|
|
1946
|
+
constructor(map) {
|
|
1947
|
+
super(map);
|
|
1948
|
+
}
|
|
1949
|
+
static names() {
|
|
1950
|
+
return {
|
|
1951
|
+
authToken: 'auth_token',
|
|
1952
|
+
productInstanceId: 'product_instance_id',
|
|
1953
|
+
outerOrderNo: 'outer_order_no',
|
|
1954
|
+
scene: 'scene',
|
|
1955
|
+
encType: 'enc_type',
|
|
1956
|
+
certName: 'cert_name',
|
|
1957
|
+
certNo: 'cert_no',
|
|
1958
|
+
externParam: 'extern_param',
|
|
1959
|
+
};
|
|
1960
|
+
}
|
|
1961
|
+
static types() {
|
|
1962
|
+
return {
|
|
1963
|
+
authToken: 'string',
|
|
1964
|
+
productInstanceId: 'string',
|
|
1965
|
+
outerOrderNo: 'string',
|
|
1966
|
+
scene: 'string',
|
|
1967
|
+
encType: 'string',
|
|
1968
|
+
certName: 'string',
|
|
1969
|
+
certNo: 'string',
|
|
1970
|
+
externParam: 'string',
|
|
1971
|
+
};
|
|
1972
|
+
}
|
|
1973
|
+
}
|
|
1974
|
+
exports.QuerySocialriskBriefRequest = QuerySocialriskBriefRequest;
|
|
1975
|
+
class QuerySocialriskBriefResponse extends $tea.Model {
|
|
1976
|
+
constructor(map) {
|
|
1977
|
+
super(map);
|
|
1978
|
+
}
|
|
1979
|
+
static names() {
|
|
1980
|
+
return {
|
|
1981
|
+
reqMsgId: 'req_msg_id',
|
|
1982
|
+
resultCode: 'result_code',
|
|
1983
|
+
resultMsg: 'result_msg',
|
|
1984
|
+
riskInfo: 'risk_info',
|
|
1985
|
+
externInfo: 'extern_info',
|
|
1986
|
+
};
|
|
1987
|
+
}
|
|
1988
|
+
static types() {
|
|
1989
|
+
return {
|
|
1990
|
+
reqMsgId: 'string',
|
|
1991
|
+
resultCode: 'string',
|
|
1992
|
+
resultMsg: 'string',
|
|
1993
|
+
riskInfo: 'string',
|
|
1994
|
+
externInfo: 'string',
|
|
1995
|
+
};
|
|
1996
|
+
}
|
|
1997
|
+
}
|
|
1998
|
+
exports.QuerySocialriskBriefResponse = QuerySocialriskBriefResponse;
|
|
1999
|
+
class QuerySocialriskTobriskRequest extends $tea.Model {
|
|
2000
|
+
constructor(map) {
|
|
2001
|
+
super(map);
|
|
2002
|
+
}
|
|
2003
|
+
static names() {
|
|
2004
|
+
return {
|
|
2005
|
+
authToken: 'auth_token',
|
|
2006
|
+
productInstanceId: 'product_instance_id',
|
|
2007
|
+
outerOrderNo: 'outer_order_no',
|
|
2008
|
+
encType: 'enc_type',
|
|
2009
|
+
certNo: 'cert_no',
|
|
2010
|
+
externParam: 'extern_param',
|
|
2011
|
+
};
|
|
2012
|
+
}
|
|
2013
|
+
static types() {
|
|
2014
|
+
return {
|
|
2015
|
+
authToken: 'string',
|
|
2016
|
+
productInstanceId: 'string',
|
|
2017
|
+
outerOrderNo: 'string',
|
|
2018
|
+
encType: 'string',
|
|
2019
|
+
certNo: 'string',
|
|
2020
|
+
externParam: 'string',
|
|
2021
|
+
};
|
|
2022
|
+
}
|
|
2023
|
+
}
|
|
2024
|
+
exports.QuerySocialriskTobriskRequest = QuerySocialriskTobriskRequest;
|
|
2025
|
+
class QuerySocialriskTobriskResponse extends $tea.Model {
|
|
2026
|
+
constructor(map) {
|
|
2027
|
+
super(map);
|
|
2028
|
+
}
|
|
2029
|
+
static names() {
|
|
2030
|
+
return {
|
|
2031
|
+
reqMsgId: 'req_msg_id',
|
|
2032
|
+
resultCode: 'result_code',
|
|
2033
|
+
resultMsg: 'result_msg',
|
|
2034
|
+
riskInfo: 'risk_info',
|
|
2035
|
+
externInfo: 'extern_info',
|
|
2036
|
+
};
|
|
2037
|
+
}
|
|
2038
|
+
static types() {
|
|
2039
|
+
return {
|
|
2040
|
+
reqMsgId: 'string',
|
|
2041
|
+
resultCode: 'string',
|
|
2042
|
+
resultMsg: 'string',
|
|
2043
|
+
riskInfo: 'string',
|
|
2044
|
+
externInfo: 'string',
|
|
2045
|
+
};
|
|
2046
|
+
}
|
|
2047
|
+
}
|
|
2048
|
+
exports.QuerySocialriskTobriskResponse = QuerySocialriskTobriskResponse;
|
|
2049
|
+
class QueryZolozmetaThreemetamobilereuseRequest extends $tea.Model {
|
|
2050
|
+
constructor(map) {
|
|
2051
|
+
super(map);
|
|
2052
|
+
}
|
|
2053
|
+
static names() {
|
|
2054
|
+
return {
|
|
2055
|
+
authToken: 'auth_token',
|
|
2056
|
+
productInstanceId: 'product_instance_id',
|
|
2057
|
+
outerOrderNo: 'outer_order_no',
|
|
2058
|
+
mobile: 'mobile',
|
|
2059
|
+
date: 'date',
|
|
2060
|
+
carrier: 'carrier',
|
|
2061
|
+
externParam: 'extern_param',
|
|
2062
|
+
};
|
|
2063
|
+
}
|
|
2064
|
+
static types() {
|
|
2065
|
+
return {
|
|
2066
|
+
authToken: 'string',
|
|
2067
|
+
productInstanceId: 'string',
|
|
2068
|
+
outerOrderNo: 'string',
|
|
2069
|
+
mobile: 'string',
|
|
2070
|
+
date: 'string',
|
|
2071
|
+
carrier: 'string',
|
|
2072
|
+
externParam: 'string',
|
|
2073
|
+
};
|
|
2074
|
+
}
|
|
2075
|
+
}
|
|
2076
|
+
exports.QueryZolozmetaThreemetamobilereuseRequest = QueryZolozmetaThreemetamobilereuseRequest;
|
|
2077
|
+
class QueryZolozmetaThreemetamobilereuseResponse extends $tea.Model {
|
|
2078
|
+
constructor(map) {
|
|
2079
|
+
super(map);
|
|
2080
|
+
}
|
|
2081
|
+
static names() {
|
|
2082
|
+
return {
|
|
2083
|
+
reqMsgId: 'req_msg_id',
|
|
2084
|
+
resultCode: 'result_code',
|
|
2085
|
+
resultMsg: 'result_msg',
|
|
2086
|
+
phoneReuse: 'phone_reuse',
|
|
2087
|
+
externInfo: 'extern_info',
|
|
2088
|
+
};
|
|
2089
|
+
}
|
|
2090
|
+
static types() {
|
|
2091
|
+
return {
|
|
2092
|
+
reqMsgId: 'string',
|
|
2093
|
+
resultCode: 'string',
|
|
2094
|
+
resultMsg: 'string',
|
|
2095
|
+
phoneReuse: 'string',
|
|
2096
|
+
externInfo: 'string',
|
|
2097
|
+
};
|
|
2098
|
+
}
|
|
2099
|
+
}
|
|
2100
|
+
exports.QueryZolozmetaThreemetamobilereuseResponse = QueryZolozmetaThreemetamobilereuseResponse;
|
|
1872
2101
|
class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
|
|
1873
2102
|
constructor(map) {
|
|
1874
2103
|
super(map);
|
|
@@ -1931,7 +2160,7 @@ class Client {
|
|
|
1931
2160
|
* @param config config contains the necessary information to create a client
|
|
1932
2161
|
*/
|
|
1933
2162
|
constructor(config) {
|
|
1934
|
-
if (tea_util_1.default.isUnset(
|
|
2163
|
+
if (tea_util_1.default.isUnset(config)) {
|
|
1935
2164
|
throw $tea.newError({
|
|
1936
2165
|
code: "ParameterMissing",
|
|
1937
2166
|
message: "'config' can not be unset",
|
|
@@ -2013,7 +2242,7 @@ class Client {
|
|
|
2013
2242
|
req_msg_id: alipay_util_1.default.getNonce(),
|
|
2014
2243
|
access_key: this._accessKeyId,
|
|
2015
2244
|
base_sdk_version: "TeaSDK-2.0",
|
|
2016
|
-
sdk_version: "1.15.
|
|
2245
|
+
sdk_version: "1.15.16",
|
|
2017
2246
|
_prod_code: "REALPERSON",
|
|
2018
2247
|
_prod_channel: "undefined",
|
|
2019
2248
|
};
|
|
@@ -2596,6 +2825,74 @@ class Client {
|
|
|
2596
2825
|
tea_util_1.default.validateModel(request);
|
|
2597
2826
|
return $tea.cast(await this.doRequest("1.0", "di.realperson.socialrisk.detail.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QuerySocialriskDetailResponse({}));
|
|
2598
2827
|
}
|
|
2828
|
+
/**
|
|
2829
|
+
* Description: 运营商在网状态查询
|
|
2830
|
+
* Summary: 运营商在网状态查询
|
|
2831
|
+
*/
|
|
2832
|
+
async queryCarrierNetstatus(request) {
|
|
2833
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
2834
|
+
let headers = {};
|
|
2835
|
+
return await this.queryCarrierNetstatusEx(request, headers, runtime);
|
|
2836
|
+
}
|
|
2837
|
+
/**
|
|
2838
|
+
* Description: 运营商在网状态查询
|
|
2839
|
+
* Summary: 运营商在网状态查询
|
|
2840
|
+
*/
|
|
2841
|
+
async queryCarrierNetstatusEx(request, headers, runtime) {
|
|
2842
|
+
tea_util_1.default.validateModel(request);
|
|
2843
|
+
return $tea.cast(await this.doRequest("1.0", "di.realperson.carrier.netstatus.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryCarrierNetstatusResponse({}));
|
|
2844
|
+
}
|
|
2845
|
+
/**
|
|
2846
|
+
* Description: 社会安全风险(简版)
|
|
2847
|
+
* Summary: 社会安全风险(简版)
|
|
2848
|
+
*/
|
|
2849
|
+
async querySocialriskBrief(request) {
|
|
2850
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
2851
|
+
let headers = {};
|
|
2852
|
+
return await this.querySocialriskBriefEx(request, headers, runtime);
|
|
2853
|
+
}
|
|
2854
|
+
/**
|
|
2855
|
+
* Description: 社会安全风险(简版)
|
|
2856
|
+
* Summary: 社会安全风险(简版)
|
|
2857
|
+
*/
|
|
2858
|
+
async querySocialriskBriefEx(request, headers, runtime) {
|
|
2859
|
+
tea_util_1.default.validateModel(request);
|
|
2860
|
+
return $tea.cast(await this.doRequest("1.0", "di.realperson.socialrisk.brief.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QuerySocialriskBriefResponse({}));
|
|
2861
|
+
}
|
|
2862
|
+
/**
|
|
2863
|
+
* Description: 社会安全风险(tob风控版)
|
|
2864
|
+
* Summary: 社会安全风险(tob风控版)
|
|
2865
|
+
*/
|
|
2866
|
+
async querySocialriskTobrisk(request) {
|
|
2867
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
2868
|
+
let headers = {};
|
|
2869
|
+
return await this.querySocialriskTobriskEx(request, headers, runtime);
|
|
2870
|
+
}
|
|
2871
|
+
/**
|
|
2872
|
+
* Description: 社会安全风险(tob风控版)
|
|
2873
|
+
* Summary: 社会安全风险(tob风控版)
|
|
2874
|
+
*/
|
|
2875
|
+
async querySocialriskTobriskEx(request, headers, runtime) {
|
|
2876
|
+
tea_util_1.default.validateModel(request);
|
|
2877
|
+
return $tea.cast(await this.doRequest("1.0", "di.realperson.socialrisk.tobrisk.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QuerySocialriskTobriskResponse({}));
|
|
2878
|
+
}
|
|
2879
|
+
/**
|
|
2880
|
+
* Description: 个人运营商二次放号
|
|
2881
|
+
* Summary: 个人运营商二次放号-meta版本
|
|
2882
|
+
*/
|
|
2883
|
+
async queryZolozmetaThreemetamobilereuse(request) {
|
|
2884
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
2885
|
+
let headers = {};
|
|
2886
|
+
return await this.queryZolozmetaThreemetamobilereuseEx(request, headers, runtime);
|
|
2887
|
+
}
|
|
2888
|
+
/**
|
|
2889
|
+
* Description: 个人运营商二次放号
|
|
2890
|
+
* Summary: 个人运营商二次放号-meta版本
|
|
2891
|
+
*/
|
|
2892
|
+
async queryZolozmetaThreemetamobilereuseEx(request, headers, runtime) {
|
|
2893
|
+
tea_util_1.default.validateModel(request);
|
|
2894
|
+
return $tea.cast(await this.doRequest("1.0", "di.realperson.zolozmeta.threemetamobilereuse.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryZolozmetaThreemetamobilereuseResponse({}));
|
|
2895
|
+
}
|
|
2599
2896
|
/**
|
|
2600
2897
|
* Description: 创建HTTP PUT提交的文件上传
|
|
2601
2898
|
* Summary: 文件上传创建
|