@alicloud/dytnsapi20200217 2.9.0 → 2.11.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 +266 -4
- package/dist/client.js +287 -4
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +469 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alicloud/dytnsapi20200217",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.11.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/client.js",
|
|
6
6
|
"scripts": {
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@alicloud/tea-typescript": "^1.7.1",
|
|
23
|
-
"@alicloud/tea-util": "^1.4.
|
|
24
|
-
"@alicloud/openapi-client": "^0.4.
|
|
23
|
+
"@alicloud/tea-util": "^1.4.9",
|
|
24
|
+
"@alicloud/openapi-client": "^0.4.12",
|
|
25
25
|
"@alicloud/openapi-util": "^0.3.2",
|
|
26
26
|
"@alicloud/endpoint-util": "^0.0.1"
|
|
27
27
|
},
|
package/src/client.ts
CHANGED
|
@@ -13,7 +13,7 @@ export class CertNoThreeElementVerificationRequest extends $tea.Model {
|
|
|
13
13
|
* This parameter is required.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
|
-
*
|
|
16
|
+
* QASDW@#**
|
|
17
17
|
*/
|
|
18
18
|
authCode?: string;
|
|
19
19
|
/**
|
|
@@ -29,7 +29,7 @@ export class CertNoThreeElementVerificationRequest extends $tea.Model {
|
|
|
29
29
|
* This parameter is required.
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
32
|
-
*
|
|
32
|
+
* 3***************0
|
|
33
33
|
*/
|
|
34
34
|
certNo?: string;
|
|
35
35
|
/**
|
|
@@ -37,7 +37,7 @@ export class CertNoThreeElementVerificationRequest extends $tea.Model {
|
|
|
37
37
|
* This parameter is required.
|
|
38
38
|
*
|
|
39
39
|
* @example
|
|
40
|
-
*
|
|
40
|
+
* iVBOFMKODOFNDFP123DFSMOO...
|
|
41
41
|
*/
|
|
42
42
|
certPicture?: string;
|
|
43
43
|
/**
|
|
@@ -80,10 +80,26 @@ export class CertNoThreeElementVerificationRequest extends $tea.Model {
|
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
export class CertNoThreeElementVerificationResponseBody extends $tea.Model {
|
|
83
|
+
/**
|
|
84
|
+
* @example
|
|
85
|
+
* -
|
|
86
|
+
*/
|
|
83
87
|
accessDeniedDetail?: string;
|
|
88
|
+
/**
|
|
89
|
+
* @example
|
|
90
|
+
* OK
|
|
91
|
+
*/
|
|
84
92
|
code?: string;
|
|
85
93
|
data?: CertNoThreeElementVerificationResponseBodyData;
|
|
94
|
+
/**
|
|
95
|
+
* @example
|
|
96
|
+
* OK
|
|
97
|
+
*/
|
|
86
98
|
message?: string;
|
|
99
|
+
/**
|
|
100
|
+
* @example
|
|
101
|
+
* 68A40250-50CD-034C-B728-0BD******177
|
|
102
|
+
*/
|
|
87
103
|
requestId?: string;
|
|
88
104
|
static names(): { [key: string]: string } {
|
|
89
105
|
return {
|
|
@@ -905,6 +921,129 @@ export class DescribeEmptyNumberResponse extends $tea.Model {
|
|
|
905
921
|
}
|
|
906
922
|
}
|
|
907
923
|
|
|
924
|
+
export class DescribeMobileOperatorAttributeRequest extends $tea.Model {
|
|
925
|
+
/**
|
|
926
|
+
* @remarks
|
|
927
|
+
* This parameter is required.
|
|
928
|
+
*
|
|
929
|
+
* @example
|
|
930
|
+
* 示例值
|
|
931
|
+
*/
|
|
932
|
+
authCode?: string;
|
|
933
|
+
/**
|
|
934
|
+
* @remarks
|
|
935
|
+
* This parameter is required.
|
|
936
|
+
*
|
|
937
|
+
* @example
|
|
938
|
+
* 示例值示例值示例值
|
|
939
|
+
*/
|
|
940
|
+
inputNumber?: string;
|
|
941
|
+
/**
|
|
942
|
+
* @remarks
|
|
943
|
+
* This parameter is required.
|
|
944
|
+
*
|
|
945
|
+
* @example
|
|
946
|
+
* 示例值
|
|
947
|
+
*/
|
|
948
|
+
mask?: string;
|
|
949
|
+
ownerId?: number;
|
|
950
|
+
resourceOwnerAccount?: string;
|
|
951
|
+
resourceOwnerId?: number;
|
|
952
|
+
static names(): { [key: string]: string } {
|
|
953
|
+
return {
|
|
954
|
+
authCode: 'AuthCode',
|
|
955
|
+
inputNumber: 'InputNumber',
|
|
956
|
+
mask: 'Mask',
|
|
957
|
+
ownerId: 'OwnerId',
|
|
958
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
959
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
960
|
+
};
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
static types(): { [key: string]: any } {
|
|
964
|
+
return {
|
|
965
|
+
authCode: 'string',
|
|
966
|
+
inputNumber: 'string',
|
|
967
|
+
mask: 'string',
|
|
968
|
+
ownerId: 'number',
|
|
969
|
+
resourceOwnerAccount: 'string',
|
|
970
|
+
resourceOwnerId: 'number',
|
|
971
|
+
};
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
constructor(map?: { [key: string]: any }) {
|
|
975
|
+
super(map);
|
|
976
|
+
}
|
|
977
|
+
}
|
|
978
|
+
|
|
979
|
+
export class DescribeMobileOperatorAttributeResponseBody extends $tea.Model {
|
|
980
|
+
accessDeniedDetail?: string;
|
|
981
|
+
/**
|
|
982
|
+
* @example
|
|
983
|
+
* 示例值示例值
|
|
984
|
+
*/
|
|
985
|
+
code?: string;
|
|
986
|
+
data?: DescribeMobileOperatorAttributeResponseBodyData;
|
|
987
|
+
/**
|
|
988
|
+
* @example
|
|
989
|
+
* 示例值示例值
|
|
990
|
+
*/
|
|
991
|
+
message?: string;
|
|
992
|
+
/**
|
|
993
|
+
* @example
|
|
994
|
+
* 示例值示例值
|
|
995
|
+
*/
|
|
996
|
+
requestId?: string;
|
|
997
|
+
static names(): { [key: string]: string } {
|
|
998
|
+
return {
|
|
999
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1000
|
+
code: 'Code',
|
|
1001
|
+
data: 'Data',
|
|
1002
|
+
message: 'Message',
|
|
1003
|
+
requestId: 'RequestId',
|
|
1004
|
+
};
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
static types(): { [key: string]: any } {
|
|
1008
|
+
return {
|
|
1009
|
+
accessDeniedDetail: 'string',
|
|
1010
|
+
code: 'string',
|
|
1011
|
+
data: DescribeMobileOperatorAttributeResponseBodyData,
|
|
1012
|
+
message: 'string',
|
|
1013
|
+
requestId: 'string',
|
|
1014
|
+
};
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
constructor(map?: { [key: string]: any }) {
|
|
1018
|
+
super(map);
|
|
1019
|
+
}
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
export class DescribeMobileOperatorAttributeResponse extends $tea.Model {
|
|
1023
|
+
headers?: { [key: string]: string };
|
|
1024
|
+
statusCode?: number;
|
|
1025
|
+
body?: DescribeMobileOperatorAttributeResponseBody;
|
|
1026
|
+
static names(): { [key: string]: string } {
|
|
1027
|
+
return {
|
|
1028
|
+
headers: 'headers',
|
|
1029
|
+
statusCode: 'statusCode',
|
|
1030
|
+
body: 'body',
|
|
1031
|
+
};
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
static types(): { [key: string]: any } {
|
|
1035
|
+
return {
|
|
1036
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1037
|
+
statusCode: 'number',
|
|
1038
|
+
body: DescribeMobileOperatorAttributeResponseBody,
|
|
1039
|
+
};
|
|
1040
|
+
}
|
|
1041
|
+
|
|
1042
|
+
constructor(map?: { [key: string]: any }) {
|
|
1043
|
+
super(map);
|
|
1044
|
+
}
|
|
1045
|
+
}
|
|
1046
|
+
|
|
908
1047
|
export class DescribePhoneNumberAnalysisRequest extends $tea.Model {
|
|
909
1048
|
/**
|
|
910
1049
|
* @remarks
|
|
@@ -972,6 +1111,7 @@ export class DescribePhoneNumberAnalysisRequest extends $tea.Model {
|
|
|
972
1111
|
}
|
|
973
1112
|
|
|
974
1113
|
export class DescribePhoneNumberAnalysisResponseBody extends $tea.Model {
|
|
1114
|
+
accessDeniedDetail?: string;
|
|
975
1115
|
/**
|
|
976
1116
|
* @example
|
|
977
1117
|
* OK
|
|
@@ -990,6 +1130,7 @@ export class DescribePhoneNumberAnalysisResponseBody extends $tea.Model {
|
|
|
990
1130
|
requestId?: string;
|
|
991
1131
|
static names(): { [key: string]: string } {
|
|
992
1132
|
return {
|
|
1133
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
993
1134
|
code: 'Code',
|
|
994
1135
|
data: 'Data',
|
|
995
1136
|
message: 'Message',
|
|
@@ -999,6 +1140,7 @@ export class DescribePhoneNumberAnalysisResponseBody extends $tea.Model {
|
|
|
999
1140
|
|
|
1000
1141
|
static types(): { [key: string]: any } {
|
|
1001
1142
|
return {
|
|
1143
|
+
accessDeniedDetail: 'string',
|
|
1002
1144
|
code: 'string',
|
|
1003
1145
|
data: DescribePhoneNumberAnalysisResponseBodyData,
|
|
1004
1146
|
message: 'string',
|
|
@@ -1192,6 +1334,136 @@ export class DescribePhoneNumberAnalysisAIResponse extends $tea.Model {
|
|
|
1192
1334
|
}
|
|
1193
1335
|
}
|
|
1194
1336
|
|
|
1337
|
+
export class DescribePhoneNumberAnalysisPaiRequest extends $tea.Model {
|
|
1338
|
+
/**
|
|
1339
|
+
* @remarks
|
|
1340
|
+
* This parameter is required.
|
|
1341
|
+
*
|
|
1342
|
+
* @example
|
|
1343
|
+
* 示例值示例值示例值
|
|
1344
|
+
*/
|
|
1345
|
+
authCode?: string;
|
|
1346
|
+
/**
|
|
1347
|
+
* @remarks
|
|
1348
|
+
* This parameter is required.
|
|
1349
|
+
*
|
|
1350
|
+
* @example
|
|
1351
|
+
* 示例值示例值
|
|
1352
|
+
*/
|
|
1353
|
+
inputNumber?: string;
|
|
1354
|
+
/**
|
|
1355
|
+
* @remarks
|
|
1356
|
+
* This parameter is required.
|
|
1357
|
+
*
|
|
1358
|
+
* @example
|
|
1359
|
+
* 示例值示例值
|
|
1360
|
+
*/
|
|
1361
|
+
modelConfig?: string;
|
|
1362
|
+
ownerId?: number;
|
|
1363
|
+
/**
|
|
1364
|
+
* @example
|
|
1365
|
+
* 16
|
|
1366
|
+
*/
|
|
1367
|
+
rate?: number;
|
|
1368
|
+
resourceOwnerAccount?: string;
|
|
1369
|
+
resourceOwnerId?: number;
|
|
1370
|
+
static names(): { [key: string]: string } {
|
|
1371
|
+
return {
|
|
1372
|
+
authCode: 'AuthCode',
|
|
1373
|
+
inputNumber: 'InputNumber',
|
|
1374
|
+
modelConfig: 'ModelConfig',
|
|
1375
|
+
ownerId: 'OwnerId',
|
|
1376
|
+
rate: 'Rate',
|
|
1377
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
1378
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
1379
|
+
};
|
|
1380
|
+
}
|
|
1381
|
+
|
|
1382
|
+
static types(): { [key: string]: any } {
|
|
1383
|
+
return {
|
|
1384
|
+
authCode: 'string',
|
|
1385
|
+
inputNumber: 'string',
|
|
1386
|
+
modelConfig: 'string',
|
|
1387
|
+
ownerId: 'number',
|
|
1388
|
+
rate: 'number',
|
|
1389
|
+
resourceOwnerAccount: 'string',
|
|
1390
|
+
resourceOwnerId: 'number',
|
|
1391
|
+
};
|
|
1392
|
+
}
|
|
1393
|
+
|
|
1394
|
+
constructor(map?: { [key: string]: any }) {
|
|
1395
|
+
super(map);
|
|
1396
|
+
}
|
|
1397
|
+
}
|
|
1398
|
+
|
|
1399
|
+
export class DescribePhoneNumberAnalysisPaiResponseBody extends $tea.Model {
|
|
1400
|
+
accessDeniedDetail?: string;
|
|
1401
|
+
/**
|
|
1402
|
+
* @example
|
|
1403
|
+
* 示例值
|
|
1404
|
+
*/
|
|
1405
|
+
code?: string;
|
|
1406
|
+
data?: string[];
|
|
1407
|
+
/**
|
|
1408
|
+
* @example
|
|
1409
|
+
* 示例值示例值
|
|
1410
|
+
*/
|
|
1411
|
+
message?: string;
|
|
1412
|
+
/**
|
|
1413
|
+
* @example
|
|
1414
|
+
* 示例值示例值示例值
|
|
1415
|
+
*/
|
|
1416
|
+
requestId?: string;
|
|
1417
|
+
static names(): { [key: string]: string } {
|
|
1418
|
+
return {
|
|
1419
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1420
|
+
code: 'Code',
|
|
1421
|
+
data: 'Data',
|
|
1422
|
+
message: 'Message',
|
|
1423
|
+
requestId: 'RequestId',
|
|
1424
|
+
};
|
|
1425
|
+
}
|
|
1426
|
+
|
|
1427
|
+
static types(): { [key: string]: any } {
|
|
1428
|
+
return {
|
|
1429
|
+
accessDeniedDetail: 'string',
|
|
1430
|
+
code: 'string',
|
|
1431
|
+
data: { 'type': 'array', 'itemType': 'string' },
|
|
1432
|
+
message: 'string',
|
|
1433
|
+
requestId: 'string',
|
|
1434
|
+
};
|
|
1435
|
+
}
|
|
1436
|
+
|
|
1437
|
+
constructor(map?: { [key: string]: any }) {
|
|
1438
|
+
super(map);
|
|
1439
|
+
}
|
|
1440
|
+
}
|
|
1441
|
+
|
|
1442
|
+
export class DescribePhoneNumberAnalysisPaiResponse extends $tea.Model {
|
|
1443
|
+
headers?: { [key: string]: string };
|
|
1444
|
+
statusCode?: number;
|
|
1445
|
+
body?: DescribePhoneNumberAnalysisPaiResponseBody;
|
|
1446
|
+
static names(): { [key: string]: string } {
|
|
1447
|
+
return {
|
|
1448
|
+
headers: 'headers',
|
|
1449
|
+
statusCode: 'statusCode',
|
|
1450
|
+
body: 'body',
|
|
1451
|
+
};
|
|
1452
|
+
}
|
|
1453
|
+
|
|
1454
|
+
static types(): { [key: string]: any } {
|
|
1455
|
+
return {
|
|
1456
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1457
|
+
statusCode: 'number',
|
|
1458
|
+
body: DescribePhoneNumberAnalysisPaiResponseBody,
|
|
1459
|
+
};
|
|
1460
|
+
}
|
|
1461
|
+
|
|
1462
|
+
constructor(map?: { [key: string]: any }) {
|
|
1463
|
+
super(map);
|
|
1464
|
+
}
|
|
1465
|
+
}
|
|
1466
|
+
|
|
1195
1467
|
export class DescribePhoneNumberAnalysisTransparentRequest extends $tea.Model {
|
|
1196
1468
|
/**
|
|
1197
1469
|
* @remarks
|
|
@@ -5448,7 +5720,7 @@ export class UAIDVerificationResponse extends $tea.Model {
|
|
|
5448
5720
|
export class CertNoThreeElementVerificationResponseBodyData extends $tea.Model {
|
|
5449
5721
|
/**
|
|
5450
5722
|
* @example
|
|
5451
|
-
*
|
|
5723
|
+
* 1
|
|
5452
5724
|
*/
|
|
5453
5725
|
isConsistent?: string;
|
|
5454
5726
|
static names(): { [key: string]: string } {
|
|
@@ -5818,6 +6090,71 @@ export class DescribeEmptyNumberResponseBodyData extends $tea.Model {
|
|
|
5818
6090
|
}
|
|
5819
6091
|
}
|
|
5820
6092
|
|
|
6093
|
+
export class DescribeMobileOperatorAttributeResponseBodyData extends $tea.Model {
|
|
6094
|
+
/**
|
|
6095
|
+
* @example
|
|
6096
|
+
* 示例值示例值示例值
|
|
6097
|
+
*/
|
|
6098
|
+
basicCarrier?: string;
|
|
6099
|
+
/**
|
|
6100
|
+
* @example
|
|
6101
|
+
* 示例值
|
|
6102
|
+
*/
|
|
6103
|
+
carrier?: string;
|
|
6104
|
+
/**
|
|
6105
|
+
* @example
|
|
6106
|
+
* 示例值示例值
|
|
6107
|
+
*/
|
|
6108
|
+
city?: string;
|
|
6109
|
+
/**
|
|
6110
|
+
* @example
|
|
6111
|
+
* true
|
|
6112
|
+
*/
|
|
6113
|
+
isNumberPortability?: boolean;
|
|
6114
|
+
/**
|
|
6115
|
+
* @example
|
|
6116
|
+
* 示例值示例值
|
|
6117
|
+
*/
|
|
6118
|
+
province?: string;
|
|
6119
|
+
/**
|
|
6120
|
+
* @example
|
|
6121
|
+
* 示例值示例值
|
|
6122
|
+
*/
|
|
6123
|
+
realNumber?: string;
|
|
6124
|
+
/**
|
|
6125
|
+
* @example
|
|
6126
|
+
* 示例值示例值
|
|
6127
|
+
*/
|
|
6128
|
+
segmentCarrier?: string;
|
|
6129
|
+
static names(): { [key: string]: string } {
|
|
6130
|
+
return {
|
|
6131
|
+
basicCarrier: 'BasicCarrier',
|
|
6132
|
+
carrier: 'Carrier',
|
|
6133
|
+
city: 'City',
|
|
6134
|
+
isNumberPortability: 'IsNumberPortability',
|
|
6135
|
+
province: 'Province',
|
|
6136
|
+
realNumber: 'RealNumber',
|
|
6137
|
+
segmentCarrier: 'SegmentCarrier',
|
|
6138
|
+
};
|
|
6139
|
+
}
|
|
6140
|
+
|
|
6141
|
+
static types(): { [key: string]: any } {
|
|
6142
|
+
return {
|
|
6143
|
+
basicCarrier: 'string',
|
|
6144
|
+
carrier: 'string',
|
|
6145
|
+
city: 'string',
|
|
6146
|
+
isNumberPortability: 'boolean',
|
|
6147
|
+
province: 'string',
|
|
6148
|
+
realNumber: 'string',
|
|
6149
|
+
segmentCarrier: 'string',
|
|
6150
|
+
};
|
|
6151
|
+
}
|
|
6152
|
+
|
|
6153
|
+
constructor(map?: { [key: string]: any }) {
|
|
6154
|
+
super(map);
|
|
6155
|
+
}
|
|
6156
|
+
}
|
|
6157
|
+
|
|
5821
6158
|
export class DescribePhoneNumberAnalysisResponseBodyDataList extends $tea.Model {
|
|
5822
6159
|
/**
|
|
5823
6160
|
* @example
|
|
@@ -8078,6 +8415,68 @@ export default class Client extends OpenApi {
|
|
|
8078
8415
|
return await this.describeEmptyNumberWithOptions(request, runtime);
|
|
8079
8416
|
}
|
|
8080
8417
|
|
|
8418
|
+
/**
|
|
8419
|
+
* 号码归属地查询v2
|
|
8420
|
+
*
|
|
8421
|
+
* @param request - DescribeMobileOperatorAttributeRequest
|
|
8422
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8423
|
+
* @returns DescribeMobileOperatorAttributeResponse
|
|
8424
|
+
*/
|
|
8425
|
+
async describeMobileOperatorAttributeWithOptions(request: DescribeMobileOperatorAttributeRequest, runtime: $Util.RuntimeOptions): Promise<DescribeMobileOperatorAttributeResponse> {
|
|
8426
|
+
Util.validateModel(request);
|
|
8427
|
+
let query = { };
|
|
8428
|
+
if (!Util.isUnset(request.authCode)) {
|
|
8429
|
+
query["AuthCode"] = request.authCode;
|
|
8430
|
+
}
|
|
8431
|
+
|
|
8432
|
+
if (!Util.isUnset(request.inputNumber)) {
|
|
8433
|
+
query["InputNumber"] = request.inputNumber;
|
|
8434
|
+
}
|
|
8435
|
+
|
|
8436
|
+
if (!Util.isUnset(request.mask)) {
|
|
8437
|
+
query["Mask"] = request.mask;
|
|
8438
|
+
}
|
|
8439
|
+
|
|
8440
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
8441
|
+
query["OwnerId"] = request.ownerId;
|
|
8442
|
+
}
|
|
8443
|
+
|
|
8444
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
8445
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
8446
|
+
}
|
|
8447
|
+
|
|
8448
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
8449
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
8450
|
+
}
|
|
8451
|
+
|
|
8452
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8453
|
+
query: OpenApiUtil.query(query),
|
|
8454
|
+
});
|
|
8455
|
+
let params = new $OpenApi.Params({
|
|
8456
|
+
action: "DescribeMobileOperatorAttribute",
|
|
8457
|
+
version: "2020-02-17",
|
|
8458
|
+
protocol: "HTTPS",
|
|
8459
|
+
pathname: "/",
|
|
8460
|
+
method: "POST",
|
|
8461
|
+
authType: "AK",
|
|
8462
|
+
style: "RPC",
|
|
8463
|
+
reqBodyType: "formData",
|
|
8464
|
+
bodyType: "json",
|
|
8465
|
+
});
|
|
8466
|
+
return $tea.cast<DescribeMobileOperatorAttributeResponse>(await this.callApi(params, req, runtime), new DescribeMobileOperatorAttributeResponse({}));
|
|
8467
|
+
}
|
|
8468
|
+
|
|
8469
|
+
/**
|
|
8470
|
+
* 号码归属地查询v2
|
|
8471
|
+
*
|
|
8472
|
+
* @param request - DescribeMobileOperatorAttributeRequest
|
|
8473
|
+
* @returns DescribeMobileOperatorAttributeResponse
|
|
8474
|
+
*/
|
|
8475
|
+
async describeMobileOperatorAttribute(request: DescribeMobileOperatorAttributeRequest): Promise<DescribeMobileOperatorAttributeResponse> {
|
|
8476
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
8477
|
+
return await this.describeMobileOperatorAttributeWithOptions(request, runtime);
|
|
8478
|
+
}
|
|
8479
|
+
|
|
8081
8480
|
/**
|
|
8082
8481
|
* 号码分析实时查询蚂蚁
|
|
8083
8482
|
*
|
|
@@ -8220,6 +8619,72 @@ export default class Client extends OpenApi {
|
|
|
8220
8619
|
return await this.describePhoneNumberAnalysisAIWithOptions(request, runtime);
|
|
8221
8620
|
}
|
|
8222
8621
|
|
|
8622
|
+
/**
|
|
8623
|
+
* 号码分析服务pai供应商批量查询接口
|
|
8624
|
+
*
|
|
8625
|
+
* @param request - DescribePhoneNumberAnalysisPaiRequest
|
|
8626
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8627
|
+
* @returns DescribePhoneNumberAnalysisPaiResponse
|
|
8628
|
+
*/
|
|
8629
|
+
async describePhoneNumberAnalysisPaiWithOptions(request: DescribePhoneNumberAnalysisPaiRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneNumberAnalysisPaiResponse> {
|
|
8630
|
+
Util.validateModel(request);
|
|
8631
|
+
let query = { };
|
|
8632
|
+
if (!Util.isUnset(request.authCode)) {
|
|
8633
|
+
query["AuthCode"] = request.authCode;
|
|
8634
|
+
}
|
|
8635
|
+
|
|
8636
|
+
if (!Util.isUnset(request.inputNumber)) {
|
|
8637
|
+
query["InputNumber"] = request.inputNumber;
|
|
8638
|
+
}
|
|
8639
|
+
|
|
8640
|
+
if (!Util.isUnset(request.modelConfig)) {
|
|
8641
|
+
query["ModelConfig"] = request.modelConfig;
|
|
8642
|
+
}
|
|
8643
|
+
|
|
8644
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
8645
|
+
query["OwnerId"] = request.ownerId;
|
|
8646
|
+
}
|
|
8647
|
+
|
|
8648
|
+
if (!Util.isUnset(request.rate)) {
|
|
8649
|
+
query["Rate"] = request.rate;
|
|
8650
|
+
}
|
|
8651
|
+
|
|
8652
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
8653
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
8654
|
+
}
|
|
8655
|
+
|
|
8656
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
8657
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
8658
|
+
}
|
|
8659
|
+
|
|
8660
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8661
|
+
query: OpenApiUtil.query(query),
|
|
8662
|
+
});
|
|
8663
|
+
let params = new $OpenApi.Params({
|
|
8664
|
+
action: "DescribePhoneNumberAnalysisPai",
|
|
8665
|
+
version: "2020-02-17",
|
|
8666
|
+
protocol: "HTTPS",
|
|
8667
|
+
pathname: "/",
|
|
8668
|
+
method: "POST",
|
|
8669
|
+
authType: "AK",
|
|
8670
|
+
style: "RPC",
|
|
8671
|
+
reqBodyType: "formData",
|
|
8672
|
+
bodyType: "json",
|
|
8673
|
+
});
|
|
8674
|
+
return $tea.cast<DescribePhoneNumberAnalysisPaiResponse>(await this.callApi(params, req, runtime), new DescribePhoneNumberAnalysisPaiResponse({}));
|
|
8675
|
+
}
|
|
8676
|
+
|
|
8677
|
+
/**
|
|
8678
|
+
* 号码分析服务pai供应商批量查询接口
|
|
8679
|
+
*
|
|
8680
|
+
* @param request - DescribePhoneNumberAnalysisPaiRequest
|
|
8681
|
+
* @returns DescribePhoneNumberAnalysisPaiResponse
|
|
8682
|
+
*/
|
|
8683
|
+
async describePhoneNumberAnalysisPai(request: DescribePhoneNumberAnalysisPaiRequest): Promise<DescribePhoneNumberAnalysisPaiResponse> {
|
|
8684
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
8685
|
+
return await this.describePhoneNumberAnalysisPaiWithOptions(request, runtime);
|
|
8686
|
+
}
|
|
8687
|
+
|
|
8223
8688
|
/**
|
|
8224
8689
|
* 泛行业人群筛选
|
|
8225
8690
|
*
|