@alicloud/dytnsapi20200217 2.10.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/dytnsapi20200217",
3
- "version": "2.10.0",
3
+ "version": "2.11.0",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
@@ -21,7 +21,7 @@
21
21
  "dependencies": {
22
22
  "@alicloud/tea-typescript": "^1.7.1",
23
23
  "@alicloud/tea-util": "^1.4.9",
24
- "@alicloud/openapi-client": "^0.4.11",
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 {
@@ -1095,6 +1111,7 @@ export class DescribePhoneNumberAnalysisRequest extends $tea.Model {
1095
1111
  }
1096
1112
 
1097
1113
  export class DescribePhoneNumberAnalysisResponseBody extends $tea.Model {
1114
+ accessDeniedDetail?: string;
1098
1115
  /**
1099
1116
  * @example
1100
1117
  * OK
@@ -1113,6 +1130,7 @@ export class DescribePhoneNumberAnalysisResponseBody extends $tea.Model {
1113
1130
  requestId?: string;
1114
1131
  static names(): { [key: string]: string } {
1115
1132
  return {
1133
+ accessDeniedDetail: 'AccessDeniedDetail',
1116
1134
  code: 'Code',
1117
1135
  data: 'Data',
1118
1136
  message: 'Message',
@@ -1122,6 +1140,7 @@ export class DescribePhoneNumberAnalysisResponseBody extends $tea.Model {
1122
1140
 
1123
1141
  static types(): { [key: string]: any } {
1124
1142
  return {
1143
+ accessDeniedDetail: 'string',
1125
1144
  code: 'string',
1126
1145
  data: DescribePhoneNumberAnalysisResponseBodyData,
1127
1146
  message: 'string',
@@ -1315,6 +1334,136 @@ export class DescribePhoneNumberAnalysisAIResponse extends $tea.Model {
1315
1334
  }
1316
1335
  }
1317
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
+
1318
1467
  export class DescribePhoneNumberAnalysisTransparentRequest extends $tea.Model {
1319
1468
  /**
1320
1469
  * @remarks
@@ -5571,7 +5720,7 @@ export class UAIDVerificationResponse extends $tea.Model {
5571
5720
  export class CertNoThreeElementVerificationResponseBodyData extends $tea.Model {
5572
5721
  /**
5573
5722
  * @example
5574
- * 示例值示例值
5723
+ * 1
5575
5724
  */
5576
5725
  isConsistent?: string;
5577
5726
  static names(): { [key: string]: string } {
@@ -8470,6 +8619,72 @@ export default class Client extends OpenApi {
8470
8619
  return await this.describePhoneNumberAnalysisAIWithOptions(request, runtime);
8471
8620
  }
8472
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
+
8473
8688
  /**
8474
8689
  * 泛行业人群筛选
8475
8690
  *