@alicloud/dytnsapi20200217 2.2.1 → 2.4.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/src/client.ts CHANGED
@@ -8,6 +8,96 @@ import OpenApiUtil from '@alicloud/openapi-util';
8
8
  import EndpointUtil from '@alicloud/endpoint-util';
9
9
  import * as $tea from '@alicloud/tea-typescript';
10
10
 
11
+ export class CertNoTwoElementVerificationRequest extends $tea.Model {
12
+ authCode?: string;
13
+ certName?: string;
14
+ certNo?: string;
15
+ ownerId?: number;
16
+ resourceOwnerAccount?: string;
17
+ resourceOwnerId?: number;
18
+ static names(): { [key: string]: string } {
19
+ return {
20
+ authCode: 'AuthCode',
21
+ certName: 'CertName',
22
+ certNo: 'CertNo',
23
+ ownerId: 'OwnerId',
24
+ resourceOwnerAccount: 'ResourceOwnerAccount',
25
+ resourceOwnerId: 'ResourceOwnerId',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ authCode: 'string',
32
+ certName: 'string',
33
+ certNo: 'string',
34
+ ownerId: 'number',
35
+ resourceOwnerAccount: 'string',
36
+ resourceOwnerId: 'number',
37
+ };
38
+ }
39
+
40
+ constructor(map?: { [key: string]: any }) {
41
+ super(map);
42
+ }
43
+ }
44
+
45
+ export class CertNoTwoElementVerificationResponseBody extends $tea.Model {
46
+ accessDeniedDetail?: string;
47
+ code?: string;
48
+ data?: CertNoTwoElementVerificationResponseBodyData;
49
+ message?: string;
50
+ requestId?: string;
51
+ static names(): { [key: string]: string } {
52
+ return {
53
+ accessDeniedDetail: 'AccessDeniedDetail',
54
+ code: 'Code',
55
+ data: 'Data',
56
+ message: 'Message',
57
+ requestId: 'RequestId',
58
+ };
59
+ }
60
+
61
+ static types(): { [key: string]: any } {
62
+ return {
63
+ accessDeniedDetail: 'string',
64
+ code: 'string',
65
+ data: CertNoTwoElementVerificationResponseBodyData,
66
+ message: 'string',
67
+ requestId: 'string',
68
+ };
69
+ }
70
+
71
+ constructor(map?: { [key: string]: any }) {
72
+ super(map);
73
+ }
74
+ }
75
+
76
+ export class CertNoTwoElementVerificationResponse extends $tea.Model {
77
+ headers: { [key: string]: string };
78
+ statusCode: number;
79
+ body: CertNoTwoElementVerificationResponseBody;
80
+ static names(): { [key: string]: string } {
81
+ return {
82
+ headers: 'headers',
83
+ statusCode: 'statusCode',
84
+ body: 'body',
85
+ };
86
+ }
87
+
88
+ static types(): { [key: string]: any } {
89
+ return {
90
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
91
+ statusCode: 'number',
92
+ body: CertNoTwoElementVerificationResponseBody,
93
+ };
94
+ }
95
+
96
+ constructor(map?: { [key: string]: any }) {
97
+ super(map);
98
+ }
99
+ }
100
+
11
101
  export class CompanyFourElementsVerificationRequest extends $tea.Model {
12
102
  authCode?: string;
13
103
  epCertName?: string;
@@ -557,6 +647,99 @@ export class DescribePhoneNumberAnalysisAIResponse extends $tea.Model {
557
647
  }
558
648
  }
559
649
 
650
+ export class DescribePhoneNumberAnalysisTransparentRequest extends $tea.Model {
651
+ authCode?: string;
652
+ inputNumber?: string;
653
+ ip?: string;
654
+ numberType?: string;
655
+ ownerId?: number;
656
+ resourceOwnerAccount?: string;
657
+ resourceOwnerId?: number;
658
+ static names(): { [key: string]: string } {
659
+ return {
660
+ authCode: 'AuthCode',
661
+ inputNumber: 'InputNumber',
662
+ ip: 'Ip',
663
+ numberType: 'NumberType',
664
+ ownerId: 'OwnerId',
665
+ resourceOwnerAccount: 'ResourceOwnerAccount',
666
+ resourceOwnerId: 'ResourceOwnerId',
667
+ };
668
+ }
669
+
670
+ static types(): { [key: string]: any } {
671
+ return {
672
+ authCode: 'string',
673
+ inputNumber: 'string',
674
+ ip: 'string',
675
+ numberType: 'string',
676
+ ownerId: 'number',
677
+ resourceOwnerAccount: 'string',
678
+ resourceOwnerId: 'number',
679
+ };
680
+ }
681
+
682
+ constructor(map?: { [key: string]: any }) {
683
+ super(map);
684
+ }
685
+ }
686
+
687
+ export class DescribePhoneNumberAnalysisTransparentResponseBody extends $tea.Model {
688
+ accessDeniedDetail?: string;
689
+ code?: string;
690
+ data?: DescribePhoneNumberAnalysisTransparentResponseBodyData;
691
+ message?: string;
692
+ requestId?: string;
693
+ static names(): { [key: string]: string } {
694
+ return {
695
+ accessDeniedDetail: 'AccessDeniedDetail',
696
+ code: 'Code',
697
+ data: 'Data',
698
+ message: 'Message',
699
+ requestId: 'RequestId',
700
+ };
701
+ }
702
+
703
+ static types(): { [key: string]: any } {
704
+ return {
705
+ accessDeniedDetail: 'string',
706
+ code: 'string',
707
+ data: DescribePhoneNumberAnalysisTransparentResponseBodyData,
708
+ message: 'string',
709
+ requestId: 'string',
710
+ };
711
+ }
712
+
713
+ constructor(map?: { [key: string]: any }) {
714
+ super(map);
715
+ }
716
+ }
717
+
718
+ export class DescribePhoneNumberAnalysisTransparentResponse extends $tea.Model {
719
+ headers: { [key: string]: string };
720
+ statusCode: number;
721
+ body: DescribePhoneNumberAnalysisTransparentResponseBody;
722
+ static names(): { [key: string]: string } {
723
+ return {
724
+ headers: 'headers',
725
+ statusCode: 'statusCode',
726
+ body: 'body',
727
+ };
728
+ }
729
+
730
+ static types(): { [key: string]: any } {
731
+ return {
732
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
733
+ statusCode: 'number',
734
+ body: DescribePhoneNumberAnalysisTransparentResponseBody,
735
+ };
736
+ }
737
+
738
+ constructor(map?: { [key: string]: any }) {
739
+ super(map);
740
+ }
741
+ }
742
+
560
743
  export class DescribePhoneNumberAttributeRequest extends $tea.Model {
561
744
  ownerId?: number;
562
745
  phoneNumber?: string;
@@ -905,6 +1088,111 @@ export class DescribePhoneTwiceTelVerifyResponse extends $tea.Model {
905
1088
  }
906
1089
  }
907
1090
 
1091
+ export class GetUAIDApplyTokenSignRequest extends $tea.Model {
1092
+ authCode?: string;
1093
+ carrier?: string;
1094
+ clientType?: string;
1095
+ format?: string;
1096
+ outId?: string;
1097
+ ownerId?: number;
1098
+ paramKey?: string;
1099
+ paramStr?: string;
1100
+ resourceOwnerAccount?: string;
1101
+ resourceOwnerId?: number;
1102
+ time?: string;
1103
+ static names(): { [key: string]: string } {
1104
+ return {
1105
+ authCode: 'AuthCode',
1106
+ carrier: 'Carrier',
1107
+ clientType: 'ClientType',
1108
+ format: 'Format',
1109
+ outId: 'OutId',
1110
+ ownerId: 'OwnerId',
1111
+ paramKey: 'ParamKey',
1112
+ paramStr: 'ParamStr',
1113
+ resourceOwnerAccount: 'ResourceOwnerAccount',
1114
+ resourceOwnerId: 'ResourceOwnerId',
1115
+ time: 'Time',
1116
+ };
1117
+ }
1118
+
1119
+ static types(): { [key: string]: any } {
1120
+ return {
1121
+ authCode: 'string',
1122
+ carrier: 'string',
1123
+ clientType: 'string',
1124
+ format: 'string',
1125
+ outId: 'string',
1126
+ ownerId: 'number',
1127
+ paramKey: 'string',
1128
+ paramStr: 'string',
1129
+ resourceOwnerAccount: 'string',
1130
+ resourceOwnerId: 'number',
1131
+ time: 'string',
1132
+ };
1133
+ }
1134
+
1135
+ constructor(map?: { [key: string]: any }) {
1136
+ super(map);
1137
+ }
1138
+ }
1139
+
1140
+ export class GetUAIDApplyTokenSignResponseBody extends $tea.Model {
1141
+ accessDeniedDetail?: string;
1142
+ code?: string;
1143
+ data?: GetUAIDApplyTokenSignResponseBodyData;
1144
+ message?: string;
1145
+ requestId?: string;
1146
+ static names(): { [key: string]: string } {
1147
+ return {
1148
+ accessDeniedDetail: 'AccessDeniedDetail',
1149
+ code: 'Code',
1150
+ data: 'Data',
1151
+ message: 'Message',
1152
+ requestId: 'RequestId',
1153
+ };
1154
+ }
1155
+
1156
+ static types(): { [key: string]: any } {
1157
+ return {
1158
+ accessDeniedDetail: 'string',
1159
+ code: 'string',
1160
+ data: GetUAIDApplyTokenSignResponseBodyData,
1161
+ message: 'string',
1162
+ requestId: 'string',
1163
+ };
1164
+ }
1165
+
1166
+ constructor(map?: { [key: string]: any }) {
1167
+ super(map);
1168
+ }
1169
+ }
1170
+
1171
+ export class GetUAIDApplyTokenSignResponse extends $tea.Model {
1172
+ headers: { [key: string]: string };
1173
+ statusCode: number;
1174
+ body: GetUAIDApplyTokenSignResponseBody;
1175
+ static names(): { [key: string]: string } {
1176
+ return {
1177
+ headers: 'headers',
1178
+ statusCode: 'statusCode',
1179
+ body: 'body',
1180
+ };
1181
+ }
1182
+
1183
+ static types(): { [key: string]: any } {
1184
+ return {
1185
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1186
+ statusCode: 'number',
1187
+ body: GetUAIDApplyTokenSignResponseBody,
1188
+ };
1189
+ }
1190
+
1191
+ constructor(map?: { [key: string]: any }) {
1192
+ super(map);
1193
+ }
1194
+ }
1195
+
908
1196
  export class InvalidPhoneNumberFilterRequest extends $tea.Model {
909
1197
  authCode?: string;
910
1198
  inputNumber?: string;
@@ -2312,21 +2600,139 @@ export class TwoElementsVerificationResponse extends $tea.Model {
2312
2600
  }
2313
2601
  }
2314
2602
 
2315
- export class CompanyFourElementsVerificationResponseBodyDataDetailInfo extends $tea.Model {
2316
- enterpriseStatus?: string;
2317
- openTime?: string;
2603
+ export class UAIDVerificationRequest extends $tea.Model {
2604
+ authCode?: string;
2605
+ carrier?: string;
2606
+ ip?: string;
2607
+ outId?: string;
2608
+ ownerId?: number;
2609
+ resourceOwnerAccount?: string;
2610
+ resourceOwnerId?: number;
2611
+ token?: string;
2612
+ userGrantId?: string;
2318
2613
  static names(): { [key: string]: string } {
2319
2614
  return {
2320
- enterpriseStatus: 'EnterpriseStatus',
2321
- openTime: 'OpenTime',
2615
+ authCode: 'AuthCode',
2616
+ carrier: 'Carrier',
2617
+ ip: 'Ip',
2618
+ outId: 'OutId',
2619
+ ownerId: 'OwnerId',
2620
+ resourceOwnerAccount: 'ResourceOwnerAccount',
2621
+ resourceOwnerId: 'ResourceOwnerId',
2622
+ token: 'Token',
2623
+ userGrantId: 'UserGrantId',
2322
2624
  };
2323
2625
  }
2324
2626
 
2325
2627
  static types(): { [key: string]: any } {
2326
2628
  return {
2327
- enterpriseStatus: 'string',
2328
- openTime: 'string',
2329
- };
2629
+ authCode: 'string',
2630
+ carrier: 'string',
2631
+ ip: 'string',
2632
+ outId: 'string',
2633
+ ownerId: 'number',
2634
+ resourceOwnerAccount: 'string',
2635
+ resourceOwnerId: 'number',
2636
+ token: 'string',
2637
+ userGrantId: 'string',
2638
+ };
2639
+ }
2640
+
2641
+ constructor(map?: { [key: string]: any }) {
2642
+ super(map);
2643
+ }
2644
+ }
2645
+
2646
+ export class UAIDVerificationResponseBody extends $tea.Model {
2647
+ accessDeniedDetail?: string;
2648
+ code?: string;
2649
+ data?: UAIDVerificationResponseBodyData;
2650
+ message?: string;
2651
+ requestId?: string;
2652
+ static names(): { [key: string]: string } {
2653
+ return {
2654
+ accessDeniedDetail: 'AccessDeniedDetail',
2655
+ code: 'Code',
2656
+ data: 'Data',
2657
+ message: 'Message',
2658
+ requestId: 'RequestId',
2659
+ };
2660
+ }
2661
+
2662
+ static types(): { [key: string]: any } {
2663
+ return {
2664
+ accessDeniedDetail: 'string',
2665
+ code: 'string',
2666
+ data: UAIDVerificationResponseBodyData,
2667
+ message: 'string',
2668
+ requestId: 'string',
2669
+ };
2670
+ }
2671
+
2672
+ constructor(map?: { [key: string]: any }) {
2673
+ super(map);
2674
+ }
2675
+ }
2676
+
2677
+ export class UAIDVerificationResponse extends $tea.Model {
2678
+ headers: { [key: string]: string };
2679
+ statusCode: number;
2680
+ body: UAIDVerificationResponseBody;
2681
+ static names(): { [key: string]: string } {
2682
+ return {
2683
+ headers: 'headers',
2684
+ statusCode: 'statusCode',
2685
+ body: 'body',
2686
+ };
2687
+ }
2688
+
2689
+ static types(): { [key: string]: any } {
2690
+ return {
2691
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2692
+ statusCode: 'number',
2693
+ body: UAIDVerificationResponseBody,
2694
+ };
2695
+ }
2696
+
2697
+ constructor(map?: { [key: string]: any }) {
2698
+ super(map);
2699
+ }
2700
+ }
2701
+
2702
+ export class CertNoTwoElementVerificationResponseBodyData extends $tea.Model {
2703
+ isConsistent?: string;
2704
+ static names(): { [key: string]: string } {
2705
+ return {
2706
+ isConsistent: 'IsConsistent',
2707
+ };
2708
+ }
2709
+
2710
+ static types(): { [key: string]: any } {
2711
+ return {
2712
+ isConsistent: 'string',
2713
+ };
2714
+ }
2715
+
2716
+ constructor(map?: { [key: string]: any }) {
2717
+ super(map);
2718
+ }
2719
+ }
2720
+
2721
+ export class CompanyFourElementsVerificationResponseBodyDataDetailInfo extends $tea.Model {
2722
+ enterpriseStatus?: string;
2723
+ openTime?: string;
2724
+ static names(): { [key: string]: string } {
2725
+ return {
2726
+ enterpriseStatus: 'EnterpriseStatus',
2727
+ openTime: 'OpenTime',
2728
+ };
2729
+ }
2730
+
2731
+ static types(): { [key: string]: any } {
2732
+ return {
2733
+ enterpriseStatus: 'string',
2734
+ openTime: 'string',
2735
+ };
2330
2736
  }
2331
2737
 
2332
2738
  constructor(map?: { [key: string]: any }) {
@@ -2547,6 +2953,37 @@ export class DescribePhoneNumberAnalysisAIResponseBodyData extends $tea.Model {
2547
2953
  }
2548
2954
  }
2549
2955
 
2956
+ export class DescribePhoneNumberAnalysisTransparentResponseBodyData extends $tea.Model {
2957
+ deviceRisk?: string;
2958
+ ipRisk?: string;
2959
+ score1?: string;
2960
+ score2?: string;
2961
+ score3?: string;
2962
+ static names(): { [key: string]: string } {
2963
+ return {
2964
+ deviceRisk: 'Device_risk',
2965
+ ipRisk: 'Ip_risk',
2966
+ score1: 'Score1',
2967
+ score2: 'Score2',
2968
+ score3: 'Score3',
2969
+ };
2970
+ }
2971
+
2972
+ static types(): { [key: string]: any } {
2973
+ return {
2974
+ deviceRisk: 'string',
2975
+ ipRisk: 'string',
2976
+ score1: 'string',
2977
+ score2: 'string',
2978
+ score3: 'string',
2979
+ };
2980
+ }
2981
+
2982
+ constructor(map?: { [key: string]: any }) {
2983
+ super(map);
2984
+ }
2985
+ }
2986
+
2550
2987
  export class DescribePhoneNumberAttributeResponseBodyPhoneNumberAttribute extends $tea.Model {
2551
2988
  basicCarrier?: string;
2552
2989
  carrier?: string;
@@ -2659,6 +3096,31 @@ export class DescribePhoneTwiceTelVerifyResponseBodyData extends $tea.Model {
2659
3096
  }
2660
3097
  }
2661
3098
 
3099
+ export class GetUAIDApplyTokenSignResponseBodyData extends $tea.Model {
3100
+ carrier?: string;
3101
+ outId?: string;
3102
+ sign?: string;
3103
+ static names(): { [key: string]: string } {
3104
+ return {
3105
+ carrier: 'Carrier',
3106
+ outId: 'OutId',
3107
+ sign: 'Sign',
3108
+ };
3109
+ }
3110
+
3111
+ static types(): { [key: string]: any } {
3112
+ return {
3113
+ carrier: 'string',
3114
+ outId: 'string',
3115
+ sign: 'string',
3116
+ };
3117
+ }
3118
+
3119
+ constructor(map?: { [key: string]: any }) {
3120
+ super(map);
3121
+ }
3122
+ }
3123
+
2662
3124
  export class InvalidPhoneNumberFilterResponseBodyData extends $tea.Model {
2663
3125
  code?: string;
2664
3126
  encryptedNumber?: string;
@@ -2961,6 +3423,7 @@ export class QueryTagInfoBySelectionResponseBodyDataParamList extends $tea.Model
2961
3423
 
2962
3424
  export class QueryTagInfoBySelectionResponseBodyData extends $tea.Model {
2963
3425
  authCodeList?: string[];
3426
+ complexityType?: string;
2964
3427
  demoAddress?: string;
2965
3428
  docAddress?: string;
2966
3429
  enumDefinitionAddress?: string;
@@ -2968,6 +3431,7 @@ export class QueryTagInfoBySelectionResponseBodyData extends $tea.Model {
2968
3431
  industryId?: number;
2969
3432
  industryName?: string;
2970
3433
  paramList?: QueryTagInfoBySelectionResponseBodyDataParamList[];
3434
+ richTextDescription?: string;
2971
3435
  sceneId?: number;
2972
3436
  sceneName?: string;
2973
3437
  tagId?: number;
@@ -2975,6 +3439,7 @@ export class QueryTagInfoBySelectionResponseBodyData extends $tea.Model {
2975
3439
  static names(): { [key: string]: string } {
2976
3440
  return {
2977
3441
  authCodeList: 'AuthCodeList',
3442
+ complexityType: 'ComplexityType',
2978
3443
  demoAddress: 'DemoAddress',
2979
3444
  docAddress: 'DocAddress',
2980
3445
  enumDefinitionAddress: 'EnumDefinitionAddress',
@@ -2982,6 +3447,7 @@ export class QueryTagInfoBySelectionResponseBodyData extends $tea.Model {
2982
3447
  industryId: 'IndustryId',
2983
3448
  industryName: 'IndustryName',
2984
3449
  paramList: 'ParamList',
3450
+ richTextDescription: 'RichTextDescription',
2985
3451
  sceneId: 'SceneId',
2986
3452
  sceneName: 'SceneName',
2987
3453
  tagId: 'TagId',
@@ -2992,6 +3458,7 @@ export class QueryTagInfoBySelectionResponseBodyData extends $tea.Model {
2992
3458
  static types(): { [key: string]: any } {
2993
3459
  return {
2994
3460
  authCodeList: { 'type': 'array', 'itemType': 'string' },
3461
+ complexityType: 'string',
2995
3462
  demoAddress: 'string',
2996
3463
  docAddress: 'string',
2997
3464
  enumDefinitionAddress: 'string',
@@ -2999,6 +3466,7 @@ export class QueryTagInfoBySelectionResponseBodyData extends $tea.Model {
2999
3466
  industryId: 'number',
3000
3467
  industryName: 'string',
3001
3468
  paramList: { 'type': 'array', 'itemType': QueryTagInfoBySelectionResponseBodyDataParamList },
3469
+ richTextDescription: 'string',
3002
3470
  sceneId: 'number',
3003
3471
  sceneName: 'string',
3004
3472
  tagId: 'number',
@@ -3187,6 +3655,25 @@ export class TwoElementsVerificationResponseBodyData extends $tea.Model {
3187
3655
  }
3188
3656
  }
3189
3657
 
3658
+ export class UAIDVerificationResponseBodyData extends $tea.Model {
3659
+ uaid?: string;
3660
+ static names(): { [key: string]: string } {
3661
+ return {
3662
+ uaid: 'Uaid',
3663
+ };
3664
+ }
3665
+
3666
+ static types(): { [key: string]: any } {
3667
+ return {
3668
+ uaid: 'string',
3669
+ };
3670
+ }
3671
+
3672
+ constructor(map?: { [key: string]: any }) {
3673
+ super(map);
3674
+ }
3675
+ }
3676
+
3190
3677
 
3191
3678
  export default class Client extends OpenApi {
3192
3679
 
@@ -3210,6 +3697,64 @@ export default class Client extends OpenApi {
3210
3697
  return EndpointUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
3211
3698
  }
3212
3699
 
3700
+ async certNoTwoElementVerificationWithOptions(request: CertNoTwoElementVerificationRequest, runtime: $Util.RuntimeOptions): Promise<CertNoTwoElementVerificationResponse> {
3701
+ Util.validateModel(request);
3702
+ let query = { };
3703
+ if (!Util.isUnset(request.authCode)) {
3704
+ query["AuthCode"] = request.authCode;
3705
+ }
3706
+
3707
+ if (!Util.isUnset(request.certName)) {
3708
+ query["CertName"] = request.certName;
3709
+ }
3710
+
3711
+ if (!Util.isUnset(request.certNo)) {
3712
+ query["CertNo"] = request.certNo;
3713
+ }
3714
+
3715
+ if (!Util.isUnset(request.ownerId)) {
3716
+ query["OwnerId"] = request.ownerId;
3717
+ }
3718
+
3719
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
3720
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
3721
+ }
3722
+
3723
+ if (!Util.isUnset(request.resourceOwnerId)) {
3724
+ query["ResourceOwnerId"] = request.resourceOwnerId;
3725
+ }
3726
+
3727
+ let req = new $OpenApi.OpenApiRequest({
3728
+ query: OpenApiUtil.query(query),
3729
+ });
3730
+ let params = new $OpenApi.Params({
3731
+ action: "CertNoTwoElementVerification",
3732
+ version: "2020-02-17",
3733
+ protocol: "HTTPS",
3734
+ pathname: "/",
3735
+ method: "POST",
3736
+ authType: "AK",
3737
+ style: "RPC",
3738
+ reqBodyType: "formData",
3739
+ bodyType: "json",
3740
+ });
3741
+ return $tea.cast<CertNoTwoElementVerificationResponse>(await this.callApi(params, req, runtime), new CertNoTwoElementVerificationResponse({}));
3742
+ }
3743
+
3744
+ async certNoTwoElementVerification(request: CertNoTwoElementVerificationRequest): Promise<CertNoTwoElementVerificationResponse> {
3745
+ let runtime = new $Util.RuntimeOptions({ });
3746
+ return await this.certNoTwoElementVerificationWithOptions(request, runtime);
3747
+ }
3748
+
3749
+ /**
3750
+ * * Before you call this operation, make sure that you are familiar with the billing of services related to four-element verification for enterprises. For more information, see [Billing](https://help.aliyun.com/document_detail/154751.html?spm=a2c4g.154007.0.0.3edd7eb6E90YT4).
3751
+ * * You are charged only if the value of VerifyResult is true or false and the value of ReasonCode is 0, 1, or 2.
3752
+ * * Before you call this operation, perform the following operations: Log on to the [Cell Phone Number Service console](https://account.aliyun.com/login/login.htm?oauth_callback=https%3A%2F%2Fdytns.console.aliyun.com%2Foverview%3Fspm%3Da2c4g.608385.0.0.79847f8b3awqUC\\&lang=zh). On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
3753
+ *
3754
+ * @param request CompanyFourElementsVerificationRequest
3755
+ * @param runtime runtime options for this request RuntimeOptions
3756
+ * @return CompanyFourElementsVerificationResponse
3757
+ */
3213
3758
  async companyFourElementsVerificationWithOptions(request: CompanyFourElementsVerificationRequest, runtime: $Util.RuntimeOptions): Promise<CompanyFourElementsVerificationResponse> {
3214
3759
  Util.validateModel(request);
3215
3760
  let query = { };
@@ -3262,11 +3807,28 @@ export default class Client extends OpenApi {
3262
3807
  return $tea.cast<CompanyFourElementsVerificationResponse>(await this.callApi(params, req, runtime), new CompanyFourElementsVerificationResponse({}));
3263
3808
  }
3264
3809
 
3810
+ /**
3811
+ * * Before you call this operation, make sure that you are familiar with the billing of services related to four-element verification for enterprises. For more information, see [Billing](https://help.aliyun.com/document_detail/154751.html?spm=a2c4g.154007.0.0.3edd7eb6E90YT4).
3812
+ * * You are charged only if the value of VerifyResult is true or false and the value of ReasonCode is 0, 1, or 2.
3813
+ * * Before you call this operation, perform the following operations: Log on to the [Cell Phone Number Service console](https://account.aliyun.com/login/login.htm?oauth_callback=https%3A%2F%2Fdytns.console.aliyun.com%2Foverview%3Fspm%3Da2c4g.608385.0.0.79847f8b3awqUC\\&lang=zh). On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
3814
+ *
3815
+ * @param request CompanyFourElementsVerificationRequest
3816
+ * @return CompanyFourElementsVerificationResponse
3817
+ */
3265
3818
  async companyFourElementsVerification(request: CompanyFourElementsVerificationRequest): Promise<CompanyFourElementsVerificationResponse> {
3266
3819
  let runtime = new $Util.RuntimeOptions({ });
3267
3820
  return await this.companyFourElementsVerificationWithOptions(request, runtime);
3268
3821
  }
3269
3822
 
3823
+ /**
3824
+ * * Before you call this operation, make sure that you are familiar with the billing of services related to three-element verification for enterprises. For more information, see [Billing](https://help.aliyun.com/document_detail/154751.html?spm=a2c4g.154007.0.0.3edd7eb6E90YT4).
3825
+ * * You are charged only if the value of VerifyResult is true or false and the value of ReasonCode is 0, 1, or 2.
3826
+ * * Before you call this operation, perform the following operations: Log on to the [Cell Phone Number Service console](https://account.aliyun.com/login/login.htm?oauth_callback=https%3A%2F%2Fdytns.console.aliyun.com%2Foverview%3Fspm%3Da2c4g.608385.0.0.79847f8b3awqUC\\&lang=zh). On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
3827
+ *
3828
+ * @param request CompanyThreeElementsVerificationRequest
3829
+ * @param runtime runtime options for this request RuntimeOptions
3830
+ * @return CompanyThreeElementsVerificationResponse
3831
+ */
3270
3832
  async companyThreeElementsVerificationWithOptions(request: CompanyThreeElementsVerificationRequest, runtime: $Util.RuntimeOptions): Promise<CompanyThreeElementsVerificationResponse> {
3271
3833
  Util.validateModel(request);
3272
3834
  let query = { };
@@ -3315,11 +3877,28 @@ export default class Client extends OpenApi {
3315
3877
  return $tea.cast<CompanyThreeElementsVerificationResponse>(await this.callApi(params, req, runtime), new CompanyThreeElementsVerificationResponse({}));
3316
3878
  }
3317
3879
 
3880
+ /**
3881
+ * * Before you call this operation, make sure that you are familiar with the billing of services related to three-element verification for enterprises. For more information, see [Billing](https://help.aliyun.com/document_detail/154751.html?spm=a2c4g.154007.0.0.3edd7eb6E90YT4).
3882
+ * * You are charged only if the value of VerifyResult is true or false and the value of ReasonCode is 0, 1, or 2.
3883
+ * * Before you call this operation, perform the following operations: Log on to the [Cell Phone Number Service console](https://account.aliyun.com/login/login.htm?oauth_callback=https%3A%2F%2Fdytns.console.aliyun.com%2Foverview%3Fspm%3Da2c4g.608385.0.0.79847f8b3awqUC\\&lang=zh). On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
3884
+ *
3885
+ * @param request CompanyThreeElementsVerificationRequest
3886
+ * @return CompanyThreeElementsVerificationResponse
3887
+ */
3318
3888
  async companyThreeElementsVerification(request: CompanyThreeElementsVerificationRequest): Promise<CompanyThreeElementsVerificationResponse> {
3319
3889
  let runtime = new $Util.RuntimeOptions({ });
3320
3890
  return await this.companyThreeElementsVerificationWithOptions(request, runtime);
3321
3891
  }
3322
3892
 
3893
+ /**
3894
+ * * Before you call this operation, make sure that you are familiar with the billing of services related to two-element verification for enterprises. For more information, see [Billing](https://help.aliyun.com/document_detail/154751.html?spm=a2c4g.154007.0.0.3edd7eb6E90YT4).
3895
+ * * You are charged only if the value of VerifyResult is true or false and the value of ReasonCode is 0 or 1.
3896
+ * * Before you call this operation, perform the following operations: Log on to the [Cell Phone Number Service console](https://account.aliyun.com/login/login.htm?oauth_callback=https%3A%2F%2Fdytns.console.aliyun.com%2Foverview%3Fspm%3Da2c4g.608385.0.0.79847f8b3awqUC\\&lang=zh). On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
3897
+ *
3898
+ * @param request CompanyTwoElementsVerificationRequest
3899
+ * @param runtime runtime options for this request RuntimeOptions
3900
+ * @return CompanyTwoElementsVerificationResponse
3901
+ */
3323
3902
  async companyTwoElementsVerificationWithOptions(request: CompanyTwoElementsVerificationRequest, runtime: $Util.RuntimeOptions): Promise<CompanyTwoElementsVerificationResponse> {
3324
3903
  Util.validateModel(request);
3325
3904
  let query = { };
@@ -3364,11 +3943,33 @@ export default class Client extends OpenApi {
3364
3943
  return $tea.cast<CompanyTwoElementsVerificationResponse>(await this.callApi(params, req, runtime), new CompanyTwoElementsVerificationResponse({}));
3365
3944
  }
3366
3945
 
3946
+ /**
3947
+ * * Before you call this operation, make sure that you are familiar with the billing of services related to two-element verification for enterprises. For more information, see [Billing](https://help.aliyun.com/document_detail/154751.html?spm=a2c4g.154007.0.0.3edd7eb6E90YT4).
3948
+ * * You are charged only if the value of VerifyResult is true or false and the value of ReasonCode is 0 or 1.
3949
+ * * Before you call this operation, perform the following operations: Log on to the [Cell Phone Number Service console](https://account.aliyun.com/login/login.htm?oauth_callback=https%3A%2F%2Fdytns.console.aliyun.com%2Foverview%3Fspm%3Da2c4g.608385.0.0.79847f8b3awqUC\\&lang=zh). On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
3950
+ *
3951
+ * @param request CompanyTwoElementsVerificationRequest
3952
+ * @return CompanyTwoElementsVerificationResponse
3953
+ */
3367
3954
  async companyTwoElementsVerification(request: CompanyTwoElementsVerificationRequest): Promise<CompanyTwoElementsVerificationResponse> {
3368
3955
  let runtime = new $Util.RuntimeOptions({ });
3369
3956
  return await this.companyTwoElementsVerificationWithOptions(request, runtime);
3370
3957
  }
3371
3958
 
3959
+ /**
3960
+ * * You can call this operation to verify whether a phone number is a nonexistent number. When you call this operation to verify a number, the system charges you CNY 0.01 per verification based on the number of verifications. **Before you call this operation, make sure that you are familiar with the billing of Cell Phone Number Service.**
3961
+ * * You are charged only if the value of Code is OK and the value of Status is not UNKNOWN.
3962
+ * * The prediction is not strictly accurate because Cell Phone Number Service predicts the nonexistent number probability by using AI algorithms. The accuracy rate of the prediction and the recall rate of empty numbers are about 95%. **Pay attention to this point when you call this operation**.
3963
+ * * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
3964
+ * ### [](#qps)QPS limits
3965
+ * You can call this operation up to 100 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
3966
+ * ### [](#)Authorization information
3967
+ * By default, only Alibaba Cloud accounts can call this operation. RAM users can call this operation only after the RAM users are granted the related permissions. For more information, see [Grant permissions to RAM users](~~154006~~).
3968
+ *
3969
+ * @param request DescribeEmptyNumberRequest
3970
+ * @param runtime runtime options for this request RuntimeOptions
3971
+ * @return DescribeEmptyNumberResponse
3972
+ */
3372
3973
  async describeEmptyNumberWithOptions(request: DescribeEmptyNumberRequest, runtime: $Util.RuntimeOptions): Promise<DescribeEmptyNumberResponse> {
3373
3974
  Util.validateModel(request);
3374
3975
  let query = { };
@@ -3413,6 +4014,19 @@ export default class Client extends OpenApi {
3413
4014
  return $tea.cast<DescribeEmptyNumberResponse>(await this.callApi(params, req, runtime), new DescribeEmptyNumberResponse({}));
3414
4015
  }
3415
4016
 
4017
+ /**
4018
+ * * You can call this operation to verify whether a phone number is a nonexistent number. When you call this operation to verify a number, the system charges you CNY 0.01 per verification based on the number of verifications. **Before you call this operation, make sure that you are familiar with the billing of Cell Phone Number Service.**
4019
+ * * You are charged only if the value of Code is OK and the value of Status is not UNKNOWN.
4020
+ * * The prediction is not strictly accurate because Cell Phone Number Service predicts the nonexistent number probability by using AI algorithms. The accuracy rate of the prediction and the recall rate of empty numbers are about 95%. **Pay attention to this point when you call this operation**.
4021
+ * * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
4022
+ * ### [](#qps)QPS limits
4023
+ * You can call this operation up to 100 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
4024
+ * ### [](#)Authorization information
4025
+ * By default, only Alibaba Cloud accounts can call this operation. RAM users can call this operation only after the RAM users are granted the related permissions. For more information, see [Grant permissions to RAM users](~~154006~~).
4026
+ *
4027
+ * @param request DescribeEmptyNumberRequest
4028
+ * @return DescribeEmptyNumberResponse
4029
+ */
3416
4030
  async describeEmptyNumber(request: DescribeEmptyNumberRequest): Promise<DescribeEmptyNumberResponse> {
3417
4031
  let runtime = new $Util.RuntimeOptions({ });
3418
4032
  return await this.describeEmptyNumberWithOptions(request, runtime);
@@ -3475,6 +4089,13 @@ export default class Client extends OpenApi {
3475
4089
  return await this.describePhoneNumberAnalysisWithOptions(request, runtime);
3476
4090
  }
3477
4091
 
4092
+ /**
4093
+ * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the Labels page, find the label that you want to use, click Activate Now, enter the required information, and then submit your application. After your application is approved, you can use the label. Before you call this operation, make sure that you are familiar with the billing of Cell Phone Number Service.
4094
+ *
4095
+ * @param request DescribePhoneNumberAnalysisAIRequest
4096
+ * @param runtime runtime options for this request RuntimeOptions
4097
+ * @return DescribePhoneNumberAnalysisAIResponse
4098
+ */
3478
4099
  async describePhoneNumberAnalysisAIWithOptions(request: DescribePhoneNumberAnalysisAIRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneNumberAnalysisAIResponse> {
3479
4100
  Util.validateModel(request);
3480
4101
  let query = { };
@@ -3523,11 +4144,82 @@ export default class Client extends OpenApi {
3523
4144
  return $tea.cast<DescribePhoneNumberAnalysisAIResponse>(await this.callApi(params, req, runtime), new DescribePhoneNumberAnalysisAIResponse({}));
3524
4145
  }
3525
4146
 
4147
+ /**
4148
+ * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the Labels page, find the label that you want to use, click Activate Now, enter the required information, and then submit your application. After your application is approved, you can use the label. Before you call this operation, make sure that you are familiar with the billing of Cell Phone Number Service.
4149
+ *
4150
+ * @param request DescribePhoneNumberAnalysisAIRequest
4151
+ * @return DescribePhoneNumberAnalysisAIResponse
4152
+ */
3526
4153
  async describePhoneNumberAnalysisAI(request: DescribePhoneNumberAnalysisAIRequest): Promise<DescribePhoneNumberAnalysisAIResponse> {
3527
4154
  let runtime = new $Util.RuntimeOptions({ });
3528
4155
  return await this.describePhoneNumberAnalysisAIWithOptions(request, runtime);
3529
4156
  }
3530
4157
 
4158
+ async describePhoneNumberAnalysisTransparentWithOptions(request: DescribePhoneNumberAnalysisTransparentRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneNumberAnalysisTransparentResponse> {
4159
+ Util.validateModel(request);
4160
+ let query = { };
4161
+ if (!Util.isUnset(request.authCode)) {
4162
+ query["AuthCode"] = request.authCode;
4163
+ }
4164
+
4165
+ if (!Util.isUnset(request.inputNumber)) {
4166
+ query["InputNumber"] = request.inputNumber;
4167
+ }
4168
+
4169
+ if (!Util.isUnset(request.ip)) {
4170
+ query["Ip"] = request.ip;
4171
+ }
4172
+
4173
+ if (!Util.isUnset(request.numberType)) {
4174
+ query["NumberType"] = request.numberType;
4175
+ }
4176
+
4177
+ if (!Util.isUnset(request.ownerId)) {
4178
+ query["OwnerId"] = request.ownerId;
4179
+ }
4180
+
4181
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
4182
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
4183
+ }
4184
+
4185
+ if (!Util.isUnset(request.resourceOwnerId)) {
4186
+ query["ResourceOwnerId"] = request.resourceOwnerId;
4187
+ }
4188
+
4189
+ let req = new $OpenApi.OpenApiRequest({
4190
+ query: OpenApiUtil.query(query),
4191
+ });
4192
+ let params = new $OpenApi.Params({
4193
+ action: "DescribePhoneNumberAnalysisTransparent",
4194
+ version: "2020-02-17",
4195
+ protocol: "HTTPS",
4196
+ pathname: "/",
4197
+ method: "POST",
4198
+ authType: "AK",
4199
+ style: "RPC",
4200
+ reqBodyType: "formData",
4201
+ bodyType: "json",
4202
+ });
4203
+ return $tea.cast<DescribePhoneNumberAnalysisTransparentResponse>(await this.callApi(params, req, runtime), new DescribePhoneNumberAnalysisTransparentResponse({}));
4204
+ }
4205
+
4206
+ async describePhoneNumberAnalysisTransparent(request: DescribePhoneNumberAnalysisTransparentRequest): Promise<DescribePhoneNumberAnalysisTransparentResponse> {
4207
+ let runtime = new $Util.RuntimeOptions({ });
4208
+ return await this.describePhoneNumberAnalysisTransparentWithOptions(request, runtime);
4209
+ }
4210
+
4211
+ /**
4212
+ * @deprecated : DescribePhoneNumberAttribute is deprecated, please use Dytnsapi::2020-02-17::DescribePhoneNumberOperatorAttribute instead.
4213
+ * * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
4214
+ * * By default, only Alibaba Cloud accounts can call this operation. RAM users can call this operation only after the RAM users are granted the related permissions. For more information, see [Grant permissions to RAM users](~~154006~~).
4215
+ * ### [](#qps)QPS limits
4216
+ * You can call this operation up to 2,000 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
4217
+ *
4218
+ * @param request DescribePhoneNumberAttributeRequest
4219
+ * @param runtime runtime options for this request RuntimeOptions
4220
+ * @return DescribePhoneNumberAttributeResponse
4221
+ */
4222
+ // Deprecated
3531
4223
  async describePhoneNumberAttributeWithOptions(request: DescribePhoneNumberAttributeRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneNumberAttributeResponse> {
3532
4224
  Util.validateModel(request);
3533
4225
  let query = { };
@@ -3564,11 +4256,32 @@ export default class Client extends OpenApi {
3564
4256
  return $tea.cast<DescribePhoneNumberAttributeResponse>(await this.callApi(params, req, runtime), new DescribePhoneNumberAttributeResponse({}));
3565
4257
  }
3566
4258
 
4259
+ /**
4260
+ * @deprecated : DescribePhoneNumberAttribute is deprecated, please use Dytnsapi::2020-02-17::DescribePhoneNumberOperatorAttribute instead.
4261
+ * * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
4262
+ * * By default, only Alibaba Cloud accounts can call this operation. RAM users can call this operation only after the RAM users are granted the related permissions. For more information, see [Grant permissions to RAM users](~~154006~~).
4263
+ * ### [](#qps)QPS limits
4264
+ * You can call this operation up to 2,000 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
4265
+ *
4266
+ * @param request DescribePhoneNumberAttributeRequest
4267
+ * @return DescribePhoneNumberAttributeResponse
4268
+ */
4269
+ // Deprecated
3567
4270
  async describePhoneNumberAttribute(request: DescribePhoneNumberAttributeRequest): Promise<DescribePhoneNumberAttributeResponse> {
3568
4271
  let runtime = new $Util.RuntimeOptions({ });
3569
4272
  return await this.describePhoneNumberAttributeWithOptions(request, runtime);
3570
4273
  }
3571
4274
 
4275
+ /**
4276
+ * * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
4277
+ * * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
4278
+ * ### [](#qps)QPS limits
4279
+ * You can call this operation up to 200 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
4280
+ *
4281
+ * @param request DescribePhoneNumberOnlineTimeRequest
4282
+ * @param runtime runtime options for this request RuntimeOptions
4283
+ * @return DescribePhoneNumberOnlineTimeResponse
4284
+ */
3572
4285
  async describePhoneNumberOnlineTimeWithOptions(request: DescribePhoneNumberOnlineTimeRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneNumberOnlineTimeResponse> {
3573
4286
  Util.validateModel(request);
3574
4287
  let query = { };
@@ -3617,11 +4330,30 @@ export default class Client extends OpenApi {
3617
4330
  return $tea.cast<DescribePhoneNumberOnlineTimeResponse>(await this.callApi(params, req, runtime), new DescribePhoneNumberOnlineTimeResponse({}));
3618
4331
  }
3619
4332
 
4333
+ /**
4334
+ * * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
4335
+ * * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
4336
+ * ### [](#qps)QPS limits
4337
+ * You can call this operation up to 200 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
4338
+ *
4339
+ * @param request DescribePhoneNumberOnlineTimeRequest
4340
+ * @return DescribePhoneNumberOnlineTimeResponse
4341
+ */
3620
4342
  async describePhoneNumberOnlineTime(request: DescribePhoneNumberOnlineTimeRequest): Promise<DescribePhoneNumberOnlineTimeResponse> {
3621
4343
  let runtime = new $Util.RuntimeOptions({ });
3622
4344
  return await this.describePhoneNumberOnlineTimeWithOptions(request, runtime);
3623
4345
  }
3624
4346
 
4347
+ /**
4348
+ * * Before you call this operation, make sure that you are familiar with the [billing](~~154008~~) of Cell Phone Number Service.
4349
+ * * By default, only Alibaba Cloud accounts can call this operation. RAM users can call this operation only after the RAM users are granted the related permissions. For more information, see [Grant permissions to RAM users](~~154006~~).
4350
+ * * You can call this operation to obtain the carrier, registration location, and mobile number portability information about a phone number. You can query phone numbers in **plaintext** and phone numbers that are encrypted by using **MD5** and **SHA256**.
4351
+ * * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
4352
+ *
4353
+ * @param request DescribePhoneNumberOperatorAttributeRequest
4354
+ * @param runtime runtime options for this request RuntimeOptions
4355
+ * @return DescribePhoneNumberOperatorAttributeResponse
4356
+ */
3625
4357
  async describePhoneNumberOperatorAttributeWithOptions(request: DescribePhoneNumberOperatorAttributeRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneNumberOperatorAttributeResponse> {
3626
4358
  Util.validateModel(request);
3627
4359
  let query = { };
@@ -3666,11 +4398,33 @@ export default class Client extends OpenApi {
3666
4398
  return $tea.cast<DescribePhoneNumberOperatorAttributeResponse>(await this.callApi(params, req, runtime), new DescribePhoneNumberOperatorAttributeResponse({}));
3667
4399
  }
3668
4400
 
4401
+ /**
4402
+ * * Before you call this operation, make sure that you are familiar with the [billing](~~154008~~) of Cell Phone Number Service.
4403
+ * * By default, only Alibaba Cloud accounts can call this operation. RAM users can call this operation only after the RAM users are granted the related permissions. For more information, see [Grant permissions to RAM users](~~154006~~).
4404
+ * * You can call this operation to obtain the carrier, registration location, and mobile number portability information about a phone number. You can query phone numbers in **plaintext** and phone numbers that are encrypted by using **MD5** and **SHA256**.
4405
+ * * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
4406
+ *
4407
+ * @param request DescribePhoneNumberOperatorAttributeRequest
4408
+ * @return DescribePhoneNumberOperatorAttributeResponse
4409
+ */
3669
4410
  async describePhoneNumberOperatorAttribute(request: DescribePhoneNumberOperatorAttributeRequest): Promise<DescribePhoneNumberOperatorAttributeResponse> {
3670
4411
  let runtime = new $Util.RuntimeOptions({ });
3671
4412
  return await this.describePhoneNumberOperatorAttributeWithOptions(request, runtime);
3672
4413
  }
3673
4414
 
4415
+ /**
4416
+ * * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
4417
+ * * You are charged for phone number verifications only if the value of Code is OK and the value of VerifyResult is not 0.
4418
+ * * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
4419
+ * ## [](#qps)QPS limits
4420
+ * You can call this operation up to 100 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
4421
+ * ## [](#)Authorization information
4422
+ * By default, only Alibaba Cloud accounts can call this operation. RAM users can call this operation only after the RAM users are granted the related permissions. For more information, see [Grant permissions to RAM users](~~154006~~).
4423
+ *
4424
+ * @param request DescribePhoneTwiceTelVerifyRequest
4425
+ * @param runtime runtime options for this request RuntimeOptions
4426
+ * @return DescribePhoneTwiceTelVerifyResponse
4427
+ */
3674
4428
  async describePhoneTwiceTelVerifyWithOptions(request: DescribePhoneTwiceTelVerifyRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneTwiceTelVerifyResponse> {
3675
4429
  Util.validateModel(request);
3676
4430
  let query = { };
@@ -3719,11 +4473,101 @@ export default class Client extends OpenApi {
3719
4473
  return $tea.cast<DescribePhoneTwiceTelVerifyResponse>(await this.callApi(params, req, runtime), new DescribePhoneTwiceTelVerifyResponse({}));
3720
4474
  }
3721
4475
 
4476
+ /**
4477
+ * * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
4478
+ * * You are charged for phone number verifications only if the value of Code is OK and the value of VerifyResult is not 0.
4479
+ * * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
4480
+ * ## [](#qps)QPS limits
4481
+ * You can call this operation up to 100 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
4482
+ * ## [](#)Authorization information
4483
+ * By default, only Alibaba Cloud accounts can call this operation. RAM users can call this operation only after the RAM users are granted the related permissions. For more information, see [Grant permissions to RAM users](~~154006~~).
4484
+ *
4485
+ * @param request DescribePhoneTwiceTelVerifyRequest
4486
+ * @return DescribePhoneTwiceTelVerifyResponse
4487
+ */
3722
4488
  async describePhoneTwiceTelVerify(request: DescribePhoneTwiceTelVerifyRequest): Promise<DescribePhoneTwiceTelVerifyResponse> {
3723
4489
  let runtime = new $Util.RuntimeOptions({ });
3724
4490
  return await this.describePhoneTwiceTelVerifyWithOptions(request, runtime);
3725
4491
  }
3726
4492
 
4493
+ async getUAIDApplyTokenSignWithOptions(request: GetUAIDApplyTokenSignRequest, runtime: $Util.RuntimeOptions): Promise<GetUAIDApplyTokenSignResponse> {
4494
+ Util.validateModel(request);
4495
+ let query = { };
4496
+ if (!Util.isUnset(request.authCode)) {
4497
+ query["AuthCode"] = request.authCode;
4498
+ }
4499
+
4500
+ if (!Util.isUnset(request.carrier)) {
4501
+ query["Carrier"] = request.carrier;
4502
+ }
4503
+
4504
+ if (!Util.isUnset(request.clientType)) {
4505
+ query["ClientType"] = request.clientType;
4506
+ }
4507
+
4508
+ if (!Util.isUnset(request.format)) {
4509
+ query["Format"] = request.format;
4510
+ }
4511
+
4512
+ if (!Util.isUnset(request.outId)) {
4513
+ query["OutId"] = request.outId;
4514
+ }
4515
+
4516
+ if (!Util.isUnset(request.ownerId)) {
4517
+ query["OwnerId"] = request.ownerId;
4518
+ }
4519
+
4520
+ if (!Util.isUnset(request.paramKey)) {
4521
+ query["ParamKey"] = request.paramKey;
4522
+ }
4523
+
4524
+ if (!Util.isUnset(request.paramStr)) {
4525
+ query["ParamStr"] = request.paramStr;
4526
+ }
4527
+
4528
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
4529
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
4530
+ }
4531
+
4532
+ if (!Util.isUnset(request.resourceOwnerId)) {
4533
+ query["ResourceOwnerId"] = request.resourceOwnerId;
4534
+ }
4535
+
4536
+ if (!Util.isUnset(request.time)) {
4537
+ query["Time"] = request.time;
4538
+ }
4539
+
4540
+ let req = new $OpenApi.OpenApiRequest({
4541
+ query: OpenApiUtil.query(query),
4542
+ });
4543
+ let params = new $OpenApi.Params({
4544
+ action: "GetUAIDApplyTokenSign",
4545
+ version: "2020-02-17",
4546
+ protocol: "HTTPS",
4547
+ pathname: "/",
4548
+ method: "POST",
4549
+ authType: "AK",
4550
+ style: "RPC",
4551
+ reqBodyType: "formData",
4552
+ bodyType: "json",
4553
+ });
4554
+ return $tea.cast<GetUAIDApplyTokenSignResponse>(await this.callApi(params, req, runtime), new GetUAIDApplyTokenSignResponse({}));
4555
+ }
4556
+
4557
+ async getUAIDApplyTokenSign(request: GetUAIDApplyTokenSignRequest): Promise<GetUAIDApplyTokenSignResponse> {
4558
+ let runtime = new $Util.RuntimeOptions({ });
4559
+ return await this.getUAIDApplyTokenSignWithOptions(request, runtime);
4560
+ }
4561
+
4562
+ /**
4563
+ * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
4564
+ * ### [](#qps)QPS limits
4565
+ * You can call this operation up to 1,000 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
4566
+ *
4567
+ * @param request InvalidPhoneNumberFilterRequest
4568
+ * @param runtime runtime options for this request RuntimeOptions
4569
+ * @return InvalidPhoneNumberFilterResponse
4570
+ */
3727
4571
  async invalidPhoneNumberFilterWithOptions(request: InvalidPhoneNumberFilterRequest, runtime: $Util.RuntimeOptions): Promise<InvalidPhoneNumberFilterResponse> {
3728
4572
  Util.validateModel(request);
3729
4573
  let query = { };
@@ -3768,6 +4612,14 @@ export default class Client extends OpenApi {
3768
4612
  return $tea.cast<InvalidPhoneNumberFilterResponse>(await this.callApi(params, req, runtime), new InvalidPhoneNumberFilterResponse({}));
3769
4613
  }
3770
4614
 
4615
+ /**
4616
+ * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
4617
+ * ### [](#qps)QPS limits
4618
+ * You can call this operation up to 1,000 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
4619
+ *
4620
+ * @param request InvalidPhoneNumberFilterRequest
4621
+ * @return InvalidPhoneNumberFilterResponse
4622
+ */
3771
4623
  async invalidPhoneNumberFilter(request: InvalidPhoneNumberFilterRequest): Promise<InvalidPhoneNumberFilterResponse> {
3772
4624
  let runtime = new $Util.RuntimeOptions({ });
3773
4625
  return await this.invalidPhoneNumberFilterWithOptions(request, runtime);
@@ -3822,6 +4674,15 @@ export default class Client extends OpenApi {
3822
4674
  return await this.phoneNumberConvertServiceWithOptions(request, runtime);
3823
4675
  }
3824
4676
 
4677
+ /**
4678
+ * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
4679
+ * ### [](#qps)QPS limits
4680
+ * You can call this operation up to 1,000 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
4681
+ *
4682
+ * @param request PhoneNumberEncryptRequest
4683
+ * @param runtime runtime options for this request RuntimeOptions
4684
+ * @return PhoneNumberEncryptResponse
4685
+ */
3825
4686
  async phoneNumberEncryptWithOptions(request: PhoneNumberEncryptRequest, runtime: $Util.RuntimeOptions): Promise<PhoneNumberEncryptResponse> {
3826
4687
  Util.validateModel(request);
3827
4688
  let query = { };
@@ -3866,11 +4727,30 @@ export default class Client extends OpenApi {
3866
4727
  return $tea.cast<PhoneNumberEncryptResponse>(await this.callApi(params, req, runtime), new PhoneNumberEncryptResponse({}));
3867
4728
  }
3868
4729
 
4730
+ /**
4731
+ * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
4732
+ * ### [](#qps)QPS limits
4733
+ * You can call this operation up to 1,000 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
4734
+ *
4735
+ * @param request PhoneNumberEncryptRequest
4736
+ * @return PhoneNumberEncryptResponse
4737
+ */
3869
4738
  async phoneNumberEncrypt(request: PhoneNumberEncryptRequest): Promise<PhoneNumberEncryptResponse> {
3870
4739
  let runtime = new $Util.RuntimeOptions({ });
3871
4740
  return await this.phoneNumberEncryptWithOptions(request, runtime);
3872
4741
  }
3873
4742
 
4743
+ /**
4744
+ * * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
4745
+ * * By default, only Alibaba Cloud accounts can call this operation. RAM users can call this operation only after the RAM users are granted the related permissions. For more information, see [Grant permissions to RAM users](~~154006~~).
4746
+ * * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
4747
+ * ### [](#qps)QPS limits
4748
+ * You can call this operation up to 300 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
4749
+ *
4750
+ * @param request PhoneNumberStatusForAccountRequest
4751
+ * @param runtime runtime options for this request RuntimeOptions
4752
+ * @return PhoneNumberStatusForAccountResponse
4753
+ */
3874
4754
  async phoneNumberStatusForAccountWithOptions(request: PhoneNumberStatusForAccountRequest, runtime: $Util.RuntimeOptions): Promise<PhoneNumberStatusForAccountResponse> {
3875
4755
  Util.validateModel(request);
3876
4756
  let query = { };
@@ -3915,11 +4795,32 @@ export default class Client extends OpenApi {
3915
4795
  return $tea.cast<PhoneNumberStatusForAccountResponse>(await this.callApi(params, req, runtime), new PhoneNumberStatusForAccountResponse({}));
3916
4796
  }
3917
4797
 
4798
+ /**
4799
+ * * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
4800
+ * * By default, only Alibaba Cloud accounts can call this operation. RAM users can call this operation only after the RAM users are granted the related permissions. For more information, see [Grant permissions to RAM users](~~154006~~).
4801
+ * * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
4802
+ * ### [](#qps)QPS limits
4803
+ * You can call this operation up to 300 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
4804
+ *
4805
+ * @param request PhoneNumberStatusForAccountRequest
4806
+ * @return PhoneNumberStatusForAccountResponse
4807
+ */
3918
4808
  async phoneNumberStatusForAccount(request: PhoneNumberStatusForAccountRequest): Promise<PhoneNumberStatusForAccountResponse> {
3919
4809
  let runtime = new $Util.RuntimeOptions({ });
3920
4810
  return await this.phoneNumberStatusForAccountWithOptions(request, runtime);
3921
4811
  }
3922
4812
 
4813
+ /**
4814
+ * * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
4815
+ * * By default, only Alibaba Cloud accounts can call this operation. RAM users can call this operation only after the RAM users are granted the related permissions. For more information, see [Grant permissions to RAM users](~~154006~~).
4816
+ * * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
4817
+ * ### [](#qps)QPS limits
4818
+ * You can call this operation up to 300 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
4819
+ *
4820
+ * @param request PhoneNumberStatusForPublicRequest
4821
+ * @param runtime runtime options for this request RuntimeOptions
4822
+ * @return PhoneNumberStatusForPublicResponse
4823
+ */
3923
4824
  async phoneNumberStatusForPublicWithOptions(request: PhoneNumberStatusForPublicRequest, runtime: $Util.RuntimeOptions): Promise<PhoneNumberStatusForPublicResponse> {
3924
4825
  Util.validateModel(request);
3925
4826
  let query = { };
@@ -3964,11 +4865,32 @@ export default class Client extends OpenApi {
3964
4865
  return $tea.cast<PhoneNumberStatusForPublicResponse>(await this.callApi(params, req, runtime), new PhoneNumberStatusForPublicResponse({}));
3965
4866
  }
3966
4867
 
4868
+ /**
4869
+ * * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
4870
+ * * By default, only Alibaba Cloud accounts can call this operation. RAM users can call this operation only after the RAM users are granted the related permissions. For more information, see [Grant permissions to RAM users](~~154006~~).
4871
+ * * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
4872
+ * ### [](#qps)QPS limits
4873
+ * You can call this operation up to 300 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
4874
+ *
4875
+ * @param request PhoneNumberStatusForPublicRequest
4876
+ * @return PhoneNumberStatusForPublicResponse
4877
+ */
3967
4878
  async phoneNumberStatusForPublic(request: PhoneNumberStatusForPublicRequest): Promise<PhoneNumberStatusForPublicResponse> {
3968
4879
  let runtime = new $Util.RuntimeOptions({ });
3969
4880
  return await this.phoneNumberStatusForPublicWithOptions(request, runtime);
3970
4881
  }
3971
4882
 
4883
+ /**
4884
+ * * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
4885
+ * * By default, only Alibaba Cloud accounts can call this operation. RAM users can call this operation only after the RAM users are granted the related permissions. For more information, see [Grant permissions to RAM users](~~154006~~).
4886
+ * * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
4887
+ * ### [](#qps)QPS limits
4888
+ * You can call this operation up to 300 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
4889
+ *
4890
+ * @param request PhoneNumberStatusForRealRequest
4891
+ * @param runtime runtime options for this request RuntimeOptions
4892
+ * @return PhoneNumberStatusForRealResponse
4893
+ */
3972
4894
  async phoneNumberStatusForRealWithOptions(request: PhoneNumberStatusForRealRequest, runtime: $Util.RuntimeOptions): Promise<PhoneNumberStatusForRealResponse> {
3973
4895
  Util.validateModel(request);
3974
4896
  let query = { };
@@ -4013,11 +4935,32 @@ export default class Client extends OpenApi {
4013
4935
  return $tea.cast<PhoneNumberStatusForRealResponse>(await this.callApi(params, req, runtime), new PhoneNumberStatusForRealResponse({}));
4014
4936
  }
4015
4937
 
4938
+ /**
4939
+ * * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
4940
+ * * By default, only Alibaba Cloud accounts can call this operation. RAM users can call this operation only after the RAM users are granted the related permissions. For more information, see [Grant permissions to RAM users](~~154006~~).
4941
+ * * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
4942
+ * ### [](#qps)QPS limits
4943
+ * You can call this operation up to 300 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
4944
+ *
4945
+ * @param request PhoneNumberStatusForRealRequest
4946
+ * @return PhoneNumberStatusForRealResponse
4947
+ */
4016
4948
  async phoneNumberStatusForReal(request: PhoneNumberStatusForRealRequest): Promise<PhoneNumberStatusForRealResponse> {
4017
4949
  let runtime = new $Util.RuntimeOptions({ });
4018
4950
  return await this.phoneNumberStatusForRealWithOptions(request, runtime);
4019
4951
  }
4020
4952
 
4953
+ /**
4954
+ * * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
4955
+ * * By default, only Alibaba Cloud accounts can call this operation. RAM users can call this operation only after the RAM users are granted the related permissions. For more information, see [Grant permissions to RAM users](~~154006~~).
4956
+ * * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
4957
+ * ### [](#qps)QPS limits
4958
+ * You can call this operation up to 300 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
4959
+ *
4960
+ * @param request PhoneNumberStatusForSmsRequest
4961
+ * @param runtime runtime options for this request RuntimeOptions
4962
+ * @return PhoneNumberStatusForSmsResponse
4963
+ */
4021
4964
  async phoneNumberStatusForSmsWithOptions(request: PhoneNumberStatusForSmsRequest, runtime: $Util.RuntimeOptions): Promise<PhoneNumberStatusForSmsResponse> {
4022
4965
  Util.validateModel(request);
4023
4966
  let query = { };
@@ -4062,11 +5005,33 @@ export default class Client extends OpenApi {
4062
5005
  return $tea.cast<PhoneNumberStatusForSmsResponse>(await this.callApi(params, req, runtime), new PhoneNumberStatusForSmsResponse({}));
4063
5006
  }
4064
5007
 
5008
+ /**
5009
+ * * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
5010
+ * * By default, only Alibaba Cloud accounts can call this operation. RAM users can call this operation only after the RAM users are granted the related permissions. For more information, see [Grant permissions to RAM users](~~154006~~).
5011
+ * * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
5012
+ * ### [](#qps)QPS limits
5013
+ * You can call this operation up to 300 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
5014
+ *
5015
+ * @param request PhoneNumberStatusForSmsRequest
5016
+ * @return PhoneNumberStatusForSmsResponse
5017
+ */
4065
5018
  async phoneNumberStatusForSms(request: PhoneNumberStatusForSmsRequest): Promise<PhoneNumberStatusForSmsResponse> {
4066
5019
  let runtime = new $Util.RuntimeOptions({ });
4067
5020
  return await this.phoneNumberStatusForSmsWithOptions(request, runtime);
4068
5021
  }
4069
5022
 
5023
+ /**
5024
+ * * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
5025
+ * * You are charged only if the value of Code is OK and the value of IsPrivacyNumber is true or false.
5026
+ * * By default, only Alibaba Cloud accounts can call this operation. RAM users can call this operation only after the RAM users are granted the related permissions. For more information, see [Grant permissions to RAM users](~~154006~~).
5027
+ * * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
5028
+ * ### [](#qps)QPS limits
5029
+ * You can call this operation up to 300 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
5030
+ *
5031
+ * @param request PhoneNumberStatusForVirtualRequest
5032
+ * @param runtime runtime options for this request RuntimeOptions
5033
+ * @return PhoneNumberStatusForVirtualResponse
5034
+ */
4070
5035
  async phoneNumberStatusForVirtualWithOptions(request: PhoneNumberStatusForVirtualRequest, runtime: $Util.RuntimeOptions): Promise<PhoneNumberStatusForVirtualResponse> {
4071
5036
  Util.validateModel(request);
4072
5037
  let query = { };
@@ -4111,11 +5076,33 @@ export default class Client extends OpenApi {
4111
5076
  return $tea.cast<PhoneNumberStatusForVirtualResponse>(await this.callApi(params, req, runtime), new PhoneNumberStatusForVirtualResponse({}));
4112
5077
  }
4113
5078
 
5079
+ /**
5080
+ * * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
5081
+ * * You are charged only if the value of Code is OK and the value of IsPrivacyNumber is true or false.
5082
+ * * By default, only Alibaba Cloud accounts can call this operation. RAM users can call this operation only after the RAM users are granted the related permissions. For more information, see [Grant permissions to RAM users](~~154006~~).
5083
+ * * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
5084
+ * ### [](#qps)QPS limits
5085
+ * You can call this operation up to 300 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
5086
+ *
5087
+ * @param request PhoneNumberStatusForVirtualRequest
5088
+ * @return PhoneNumberStatusForVirtualResponse
5089
+ */
4114
5090
  async phoneNumberStatusForVirtual(request: PhoneNumberStatusForVirtualRequest): Promise<PhoneNumberStatusForVirtualResponse> {
4115
5091
  let runtime = new $Util.RuntimeOptions({ });
4116
5092
  return await this.phoneNumberStatusForVirtualWithOptions(request, runtime);
4117
5093
  }
4118
5094
 
5095
+ /**
5096
+ * * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
5097
+ * * By default, only Alibaba Cloud accounts can call this operation. RAM users can call this operation only after the RAM users are granted the related permissions. For more information, see [Grant permissions to RAM users](~~154006~~).
5098
+ * * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
5099
+ * ### [](#qps)QPS limits
5100
+ * You can call this operation up to 300 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
5101
+ *
5102
+ * @param request PhoneNumberStatusForVoiceRequest
5103
+ * @param runtime runtime options for this request RuntimeOptions
5104
+ * @return PhoneNumberStatusForVoiceResponse
5105
+ */
4119
5106
  async phoneNumberStatusForVoiceWithOptions(request: PhoneNumberStatusForVoiceRequest, runtime: $Util.RuntimeOptions): Promise<PhoneNumberStatusForVoiceResponse> {
4120
5107
  Util.validateModel(request);
4121
5108
  let query = { };
@@ -4160,6 +5147,16 @@ export default class Client extends OpenApi {
4160
5147
  return $tea.cast<PhoneNumberStatusForVoiceResponse>(await this.callApi(params, req, runtime), new PhoneNumberStatusForVoiceResponse({}));
4161
5148
  }
4162
5149
 
5150
+ /**
5151
+ * * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
5152
+ * * By default, only Alibaba Cloud accounts can call this operation. RAM users can call this operation only after the RAM users are granted the related permissions. For more information, see [Grant permissions to RAM users](~~154006~~).
5153
+ * * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
5154
+ * ### [](#qps)QPS limits
5155
+ * You can call this operation up to 300 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
5156
+ *
5157
+ * @param request PhoneNumberStatusForVoiceRequest
5158
+ * @return PhoneNumberStatusForVoiceResponse
5159
+ */
4163
5160
  async phoneNumberStatusForVoice(request: PhoneNumberStatusForVoiceRequest): Promise<PhoneNumberStatusForVoiceResponse> {
4164
5161
  let runtime = new $Util.RuntimeOptions({ });
4165
5162
  return await this.phoneNumberStatusForVoiceWithOptions(request, runtime);
@@ -4398,6 +5395,17 @@ export default class Client extends OpenApi {
4398
5395
  return await this.queryUsageStatisticsByTagIdWithOptions(request, runtime);
4399
5396
  }
4400
5397
 
5398
+ /**
5399
+ * * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
5400
+ * * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
5401
+ * * You are charged only if the value of Code is OK and the value of IsConsistent is not 2.
5402
+ * ### [](#qps)QPS limits
5403
+ * You can call this operation up to 200 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
5404
+ *
5405
+ * @param request ThreeElementsVerificationRequest
5406
+ * @param runtime runtime options for this request RuntimeOptions
5407
+ * @return ThreeElementsVerificationResponse
5408
+ */
4401
5409
  async threeElementsVerificationWithOptions(request: ThreeElementsVerificationRequest, runtime: $Util.RuntimeOptions): Promise<ThreeElementsVerificationResponse> {
4402
5410
  Util.validateModel(request);
4403
5411
  let query = { };
@@ -4450,11 +5458,32 @@ export default class Client extends OpenApi {
4450
5458
  return $tea.cast<ThreeElementsVerificationResponse>(await this.callApi(params, req, runtime), new ThreeElementsVerificationResponse({}));
4451
5459
  }
4452
5460
 
5461
+ /**
5462
+ * * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
5463
+ * * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
5464
+ * * You are charged only if the value of Code is OK and the value of IsConsistent is not 2.
5465
+ * ### [](#qps)QPS limits
5466
+ * You can call this operation up to 200 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
5467
+ *
5468
+ * @param request ThreeElementsVerificationRequest
5469
+ * @return ThreeElementsVerificationResponse
5470
+ */
4453
5471
  async threeElementsVerification(request: ThreeElementsVerificationRequest): Promise<ThreeElementsVerificationResponse> {
4454
5472
  let runtime = new $Util.RuntimeOptions({ });
4455
5473
  return await this.threeElementsVerificationWithOptions(request, runtime);
4456
5474
  }
4457
5475
 
5476
+ /**
5477
+ * * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
5478
+ * * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
5479
+ * * You are charged only if the value of Code is OK and the value of IsConsistent is not 2.
5480
+ * ### [](#qps)QPS limits
5481
+ * You can call this operation up to 200 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
5482
+ *
5483
+ * @param request TwoElementsVerificationRequest
5484
+ * @param runtime runtime options for this request RuntimeOptions
5485
+ * @return TwoElementsVerificationResponse
5486
+ */
4458
5487
  async twoElementsVerificationWithOptions(request: TwoElementsVerificationRequest, runtime: $Util.RuntimeOptions): Promise<TwoElementsVerificationResponse> {
4459
5488
  Util.validateModel(request);
4460
5489
  let query = { };
@@ -4503,9 +5532,80 @@ export default class Client extends OpenApi {
4503
5532
  return $tea.cast<TwoElementsVerificationResponse>(await this.callApi(params, req, runtime), new TwoElementsVerificationResponse({}));
4504
5533
  }
4505
5534
 
5535
+ /**
5536
+ * * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
5537
+ * * Before you call this operation, perform the following operations: Log on to the Cell Phone Number Service console. On the [Labels](https://dytns.console.aliyun.com/analysis/square) page, find the label that you want to use, click **Activate Now**, enter the required information, and then submit your application. After your application is approved, you can use the label.
5538
+ * * You are charged only if the value of Code is OK and the value of IsConsistent is not 2.
5539
+ * ### [](#qps)QPS limits
5540
+ * You can call this operation up to 200 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
5541
+ *
5542
+ * @param request TwoElementsVerificationRequest
5543
+ * @return TwoElementsVerificationResponse
5544
+ */
4506
5545
  async twoElementsVerification(request: TwoElementsVerificationRequest): Promise<TwoElementsVerificationResponse> {
4507
5546
  let runtime = new $Util.RuntimeOptions({ });
4508
5547
  return await this.twoElementsVerificationWithOptions(request, runtime);
4509
5548
  }
4510
5549
 
5550
+ async uAIDVerificationWithOptions(request: UAIDVerificationRequest, runtime: $Util.RuntimeOptions): Promise<UAIDVerificationResponse> {
5551
+ Util.validateModel(request);
5552
+ let query = { };
5553
+ if (!Util.isUnset(request.authCode)) {
5554
+ query["AuthCode"] = request.authCode;
5555
+ }
5556
+
5557
+ if (!Util.isUnset(request.carrier)) {
5558
+ query["Carrier"] = request.carrier;
5559
+ }
5560
+
5561
+ if (!Util.isUnset(request.ip)) {
5562
+ query["Ip"] = request.ip;
5563
+ }
5564
+
5565
+ if (!Util.isUnset(request.outId)) {
5566
+ query["OutId"] = request.outId;
5567
+ }
5568
+
5569
+ if (!Util.isUnset(request.ownerId)) {
5570
+ query["OwnerId"] = request.ownerId;
5571
+ }
5572
+
5573
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
5574
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
5575
+ }
5576
+
5577
+ if (!Util.isUnset(request.resourceOwnerId)) {
5578
+ query["ResourceOwnerId"] = request.resourceOwnerId;
5579
+ }
5580
+
5581
+ if (!Util.isUnset(request.token)) {
5582
+ query["Token"] = request.token;
5583
+ }
5584
+
5585
+ if (!Util.isUnset(request.userGrantId)) {
5586
+ query["UserGrantId"] = request.userGrantId;
5587
+ }
5588
+
5589
+ let req = new $OpenApi.OpenApiRequest({
5590
+ query: OpenApiUtil.query(query),
5591
+ });
5592
+ let params = new $OpenApi.Params({
5593
+ action: "UAIDVerification",
5594
+ version: "2020-02-17",
5595
+ protocol: "HTTPS",
5596
+ pathname: "/",
5597
+ method: "POST",
5598
+ authType: "AK",
5599
+ style: "RPC",
5600
+ reqBodyType: "formData",
5601
+ bodyType: "json",
5602
+ });
5603
+ return $tea.cast<UAIDVerificationResponse>(await this.callApi(params, req, runtime), new UAIDVerificationResponse({}));
5604
+ }
5605
+
5606
+ async uAIDVerification(request: UAIDVerificationRequest): Promise<UAIDVerificationResponse> {
5607
+ let runtime = new $Util.RuntimeOptions({ });
5608
+ return await this.uAIDVerificationWithOptions(request, runtime);
5609
+ }
5610
+
4511
5611
  }