@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/dist/client.d.ts +648 -0
- package/dist/client.js +950 -0
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +1108 -8
package/dist/client.js
CHANGED
|
@@ -19,6 +19,76 @@ const openapi_client_1 = __importStar(require("@alicloud/openapi-client")), $Ope
|
|
|
19
19
|
const openapi_util_1 = __importDefault(require("@alicloud/openapi-util"));
|
|
20
20
|
const endpoint_util_1 = __importDefault(require("@alicloud/endpoint-util"));
|
|
21
21
|
const $tea = __importStar(require("@alicloud/tea-typescript"));
|
|
22
|
+
class CertNoTwoElementVerificationRequest extends $tea.Model {
|
|
23
|
+
constructor(map) {
|
|
24
|
+
super(map);
|
|
25
|
+
}
|
|
26
|
+
static names() {
|
|
27
|
+
return {
|
|
28
|
+
authCode: 'AuthCode',
|
|
29
|
+
certName: 'CertName',
|
|
30
|
+
certNo: 'CertNo',
|
|
31
|
+
ownerId: 'OwnerId',
|
|
32
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
33
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
static types() {
|
|
37
|
+
return {
|
|
38
|
+
authCode: 'string',
|
|
39
|
+
certName: 'string',
|
|
40
|
+
certNo: 'string',
|
|
41
|
+
ownerId: 'number',
|
|
42
|
+
resourceOwnerAccount: 'string',
|
|
43
|
+
resourceOwnerId: 'number',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.CertNoTwoElementVerificationRequest = CertNoTwoElementVerificationRequest;
|
|
48
|
+
class CertNoTwoElementVerificationResponseBody extends $tea.Model {
|
|
49
|
+
constructor(map) {
|
|
50
|
+
super(map);
|
|
51
|
+
}
|
|
52
|
+
static names() {
|
|
53
|
+
return {
|
|
54
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
55
|
+
code: 'Code',
|
|
56
|
+
data: 'Data',
|
|
57
|
+
message: 'Message',
|
|
58
|
+
requestId: 'RequestId',
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
static types() {
|
|
62
|
+
return {
|
|
63
|
+
accessDeniedDetail: 'string',
|
|
64
|
+
code: 'string',
|
|
65
|
+
data: CertNoTwoElementVerificationResponseBodyData,
|
|
66
|
+
message: 'string',
|
|
67
|
+
requestId: 'string',
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
exports.CertNoTwoElementVerificationResponseBody = CertNoTwoElementVerificationResponseBody;
|
|
72
|
+
class CertNoTwoElementVerificationResponse extends $tea.Model {
|
|
73
|
+
constructor(map) {
|
|
74
|
+
super(map);
|
|
75
|
+
}
|
|
76
|
+
static names() {
|
|
77
|
+
return {
|
|
78
|
+
headers: 'headers',
|
|
79
|
+
statusCode: 'statusCode',
|
|
80
|
+
body: 'body',
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
static types() {
|
|
84
|
+
return {
|
|
85
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
86
|
+
statusCode: 'number',
|
|
87
|
+
body: CertNoTwoElementVerificationResponseBody,
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
exports.CertNoTwoElementVerificationResponse = CertNoTwoElementVerificationResponse;
|
|
22
92
|
class CompanyFourElementsVerificationRequest extends $tea.Model {
|
|
23
93
|
constructor(map) {
|
|
24
94
|
super(map);
|
|
@@ -445,6 +515,78 @@ class DescribePhoneNumberAnalysisAIResponse extends $tea.Model {
|
|
|
445
515
|
}
|
|
446
516
|
}
|
|
447
517
|
exports.DescribePhoneNumberAnalysisAIResponse = DescribePhoneNumberAnalysisAIResponse;
|
|
518
|
+
class DescribePhoneNumberAnalysisTransparentRequest extends $tea.Model {
|
|
519
|
+
constructor(map) {
|
|
520
|
+
super(map);
|
|
521
|
+
}
|
|
522
|
+
static names() {
|
|
523
|
+
return {
|
|
524
|
+
authCode: 'AuthCode',
|
|
525
|
+
inputNumber: 'InputNumber',
|
|
526
|
+
ip: 'Ip',
|
|
527
|
+
numberType: 'NumberType',
|
|
528
|
+
ownerId: 'OwnerId',
|
|
529
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
530
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
531
|
+
};
|
|
532
|
+
}
|
|
533
|
+
static types() {
|
|
534
|
+
return {
|
|
535
|
+
authCode: 'string',
|
|
536
|
+
inputNumber: 'string',
|
|
537
|
+
ip: 'string',
|
|
538
|
+
numberType: 'string',
|
|
539
|
+
ownerId: 'number',
|
|
540
|
+
resourceOwnerAccount: 'string',
|
|
541
|
+
resourceOwnerId: 'number',
|
|
542
|
+
};
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
exports.DescribePhoneNumberAnalysisTransparentRequest = DescribePhoneNumberAnalysisTransparentRequest;
|
|
546
|
+
class DescribePhoneNumberAnalysisTransparentResponseBody extends $tea.Model {
|
|
547
|
+
constructor(map) {
|
|
548
|
+
super(map);
|
|
549
|
+
}
|
|
550
|
+
static names() {
|
|
551
|
+
return {
|
|
552
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
553
|
+
code: 'Code',
|
|
554
|
+
data: 'Data',
|
|
555
|
+
message: 'Message',
|
|
556
|
+
requestId: 'RequestId',
|
|
557
|
+
};
|
|
558
|
+
}
|
|
559
|
+
static types() {
|
|
560
|
+
return {
|
|
561
|
+
accessDeniedDetail: 'string',
|
|
562
|
+
code: 'string',
|
|
563
|
+
data: DescribePhoneNumberAnalysisTransparentResponseBodyData,
|
|
564
|
+
message: 'string',
|
|
565
|
+
requestId: 'string',
|
|
566
|
+
};
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
exports.DescribePhoneNumberAnalysisTransparentResponseBody = DescribePhoneNumberAnalysisTransparentResponseBody;
|
|
570
|
+
class DescribePhoneNumberAnalysisTransparentResponse extends $tea.Model {
|
|
571
|
+
constructor(map) {
|
|
572
|
+
super(map);
|
|
573
|
+
}
|
|
574
|
+
static names() {
|
|
575
|
+
return {
|
|
576
|
+
headers: 'headers',
|
|
577
|
+
statusCode: 'statusCode',
|
|
578
|
+
body: 'body',
|
|
579
|
+
};
|
|
580
|
+
}
|
|
581
|
+
static types() {
|
|
582
|
+
return {
|
|
583
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
584
|
+
statusCode: 'number',
|
|
585
|
+
body: DescribePhoneNumberAnalysisTransparentResponseBody,
|
|
586
|
+
};
|
|
587
|
+
}
|
|
588
|
+
}
|
|
589
|
+
exports.DescribePhoneNumberAnalysisTransparentResponse = DescribePhoneNumberAnalysisTransparentResponse;
|
|
448
590
|
class DescribePhoneNumberAttributeRequest extends $tea.Model {
|
|
449
591
|
constructor(map) {
|
|
450
592
|
super(map);
|
|
@@ -717,6 +859,86 @@ class DescribePhoneTwiceTelVerifyResponse extends $tea.Model {
|
|
|
717
859
|
}
|
|
718
860
|
}
|
|
719
861
|
exports.DescribePhoneTwiceTelVerifyResponse = DescribePhoneTwiceTelVerifyResponse;
|
|
862
|
+
class GetUAIDApplyTokenSignRequest extends $tea.Model {
|
|
863
|
+
constructor(map) {
|
|
864
|
+
super(map);
|
|
865
|
+
}
|
|
866
|
+
static names() {
|
|
867
|
+
return {
|
|
868
|
+
authCode: 'AuthCode',
|
|
869
|
+
carrier: 'Carrier',
|
|
870
|
+
clientType: 'ClientType',
|
|
871
|
+
format: 'Format',
|
|
872
|
+
outId: 'OutId',
|
|
873
|
+
ownerId: 'OwnerId',
|
|
874
|
+
paramKey: 'ParamKey',
|
|
875
|
+
paramStr: 'ParamStr',
|
|
876
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
877
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
878
|
+
time: 'Time',
|
|
879
|
+
};
|
|
880
|
+
}
|
|
881
|
+
static types() {
|
|
882
|
+
return {
|
|
883
|
+
authCode: 'string',
|
|
884
|
+
carrier: 'string',
|
|
885
|
+
clientType: 'string',
|
|
886
|
+
format: 'string',
|
|
887
|
+
outId: 'string',
|
|
888
|
+
ownerId: 'number',
|
|
889
|
+
paramKey: 'string',
|
|
890
|
+
paramStr: 'string',
|
|
891
|
+
resourceOwnerAccount: 'string',
|
|
892
|
+
resourceOwnerId: 'number',
|
|
893
|
+
time: 'string',
|
|
894
|
+
};
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
exports.GetUAIDApplyTokenSignRequest = GetUAIDApplyTokenSignRequest;
|
|
898
|
+
class GetUAIDApplyTokenSignResponseBody extends $tea.Model {
|
|
899
|
+
constructor(map) {
|
|
900
|
+
super(map);
|
|
901
|
+
}
|
|
902
|
+
static names() {
|
|
903
|
+
return {
|
|
904
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
905
|
+
code: 'Code',
|
|
906
|
+
data: 'Data',
|
|
907
|
+
message: 'Message',
|
|
908
|
+
requestId: 'RequestId',
|
|
909
|
+
};
|
|
910
|
+
}
|
|
911
|
+
static types() {
|
|
912
|
+
return {
|
|
913
|
+
accessDeniedDetail: 'string',
|
|
914
|
+
code: 'string',
|
|
915
|
+
data: GetUAIDApplyTokenSignResponseBodyData,
|
|
916
|
+
message: 'string',
|
|
917
|
+
requestId: 'string',
|
|
918
|
+
};
|
|
919
|
+
}
|
|
920
|
+
}
|
|
921
|
+
exports.GetUAIDApplyTokenSignResponseBody = GetUAIDApplyTokenSignResponseBody;
|
|
922
|
+
class GetUAIDApplyTokenSignResponse extends $tea.Model {
|
|
923
|
+
constructor(map) {
|
|
924
|
+
super(map);
|
|
925
|
+
}
|
|
926
|
+
static names() {
|
|
927
|
+
return {
|
|
928
|
+
headers: 'headers',
|
|
929
|
+
statusCode: 'statusCode',
|
|
930
|
+
body: 'body',
|
|
931
|
+
};
|
|
932
|
+
}
|
|
933
|
+
static types() {
|
|
934
|
+
return {
|
|
935
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
936
|
+
statusCode: 'number',
|
|
937
|
+
body: GetUAIDApplyTokenSignResponseBody,
|
|
938
|
+
};
|
|
939
|
+
}
|
|
940
|
+
}
|
|
941
|
+
exports.GetUAIDApplyTokenSignResponse = GetUAIDApplyTokenSignResponse;
|
|
720
942
|
class InvalidPhoneNumberFilterRequest extends $tea.Model {
|
|
721
943
|
constructor(map) {
|
|
722
944
|
super(map);
|
|
@@ -1815,6 +2037,98 @@ class TwoElementsVerificationResponse extends $tea.Model {
|
|
|
1815
2037
|
}
|
|
1816
2038
|
}
|
|
1817
2039
|
exports.TwoElementsVerificationResponse = TwoElementsVerificationResponse;
|
|
2040
|
+
class UAIDVerificationRequest extends $tea.Model {
|
|
2041
|
+
constructor(map) {
|
|
2042
|
+
super(map);
|
|
2043
|
+
}
|
|
2044
|
+
static names() {
|
|
2045
|
+
return {
|
|
2046
|
+
authCode: 'AuthCode',
|
|
2047
|
+
carrier: 'Carrier',
|
|
2048
|
+
ip: 'Ip',
|
|
2049
|
+
outId: 'OutId',
|
|
2050
|
+
ownerId: 'OwnerId',
|
|
2051
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
2052
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
2053
|
+
token: 'Token',
|
|
2054
|
+
userGrantId: 'UserGrantId',
|
|
2055
|
+
};
|
|
2056
|
+
}
|
|
2057
|
+
static types() {
|
|
2058
|
+
return {
|
|
2059
|
+
authCode: 'string',
|
|
2060
|
+
carrier: 'string',
|
|
2061
|
+
ip: 'string',
|
|
2062
|
+
outId: 'string',
|
|
2063
|
+
ownerId: 'number',
|
|
2064
|
+
resourceOwnerAccount: 'string',
|
|
2065
|
+
resourceOwnerId: 'number',
|
|
2066
|
+
token: 'string',
|
|
2067
|
+
userGrantId: 'string',
|
|
2068
|
+
};
|
|
2069
|
+
}
|
|
2070
|
+
}
|
|
2071
|
+
exports.UAIDVerificationRequest = UAIDVerificationRequest;
|
|
2072
|
+
class UAIDVerificationResponseBody extends $tea.Model {
|
|
2073
|
+
constructor(map) {
|
|
2074
|
+
super(map);
|
|
2075
|
+
}
|
|
2076
|
+
static names() {
|
|
2077
|
+
return {
|
|
2078
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
2079
|
+
code: 'Code',
|
|
2080
|
+
data: 'Data',
|
|
2081
|
+
message: 'Message',
|
|
2082
|
+
requestId: 'RequestId',
|
|
2083
|
+
};
|
|
2084
|
+
}
|
|
2085
|
+
static types() {
|
|
2086
|
+
return {
|
|
2087
|
+
accessDeniedDetail: 'string',
|
|
2088
|
+
code: 'string',
|
|
2089
|
+
data: UAIDVerificationResponseBodyData,
|
|
2090
|
+
message: 'string',
|
|
2091
|
+
requestId: 'string',
|
|
2092
|
+
};
|
|
2093
|
+
}
|
|
2094
|
+
}
|
|
2095
|
+
exports.UAIDVerificationResponseBody = UAIDVerificationResponseBody;
|
|
2096
|
+
class UAIDVerificationResponse extends $tea.Model {
|
|
2097
|
+
constructor(map) {
|
|
2098
|
+
super(map);
|
|
2099
|
+
}
|
|
2100
|
+
static names() {
|
|
2101
|
+
return {
|
|
2102
|
+
headers: 'headers',
|
|
2103
|
+
statusCode: 'statusCode',
|
|
2104
|
+
body: 'body',
|
|
2105
|
+
};
|
|
2106
|
+
}
|
|
2107
|
+
static types() {
|
|
2108
|
+
return {
|
|
2109
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2110
|
+
statusCode: 'number',
|
|
2111
|
+
body: UAIDVerificationResponseBody,
|
|
2112
|
+
};
|
|
2113
|
+
}
|
|
2114
|
+
}
|
|
2115
|
+
exports.UAIDVerificationResponse = UAIDVerificationResponse;
|
|
2116
|
+
class CertNoTwoElementVerificationResponseBodyData extends $tea.Model {
|
|
2117
|
+
constructor(map) {
|
|
2118
|
+
super(map);
|
|
2119
|
+
}
|
|
2120
|
+
static names() {
|
|
2121
|
+
return {
|
|
2122
|
+
isConsistent: 'IsConsistent',
|
|
2123
|
+
};
|
|
2124
|
+
}
|
|
2125
|
+
static types() {
|
|
2126
|
+
return {
|
|
2127
|
+
isConsistent: 'string',
|
|
2128
|
+
};
|
|
2129
|
+
}
|
|
2130
|
+
}
|
|
2131
|
+
exports.CertNoTwoElementVerificationResponseBodyData = CertNoTwoElementVerificationResponseBodyData;
|
|
1818
2132
|
class CompanyFourElementsVerificationResponseBodyDataDetailInfo extends $tea.Model {
|
|
1819
2133
|
constructor(map) {
|
|
1820
2134
|
super(map);
|
|
@@ -2005,6 +2319,30 @@ class DescribePhoneNumberAnalysisAIResponseBodyData extends $tea.Model {
|
|
|
2005
2319
|
}
|
|
2006
2320
|
}
|
|
2007
2321
|
exports.DescribePhoneNumberAnalysisAIResponseBodyData = DescribePhoneNumberAnalysisAIResponseBodyData;
|
|
2322
|
+
class DescribePhoneNumberAnalysisTransparentResponseBodyData extends $tea.Model {
|
|
2323
|
+
constructor(map) {
|
|
2324
|
+
super(map);
|
|
2325
|
+
}
|
|
2326
|
+
static names() {
|
|
2327
|
+
return {
|
|
2328
|
+
deviceRisk: 'Device_risk',
|
|
2329
|
+
ipRisk: 'Ip_risk',
|
|
2330
|
+
score1: 'Score1',
|
|
2331
|
+
score2: 'Score2',
|
|
2332
|
+
score3: 'Score3',
|
|
2333
|
+
};
|
|
2334
|
+
}
|
|
2335
|
+
static types() {
|
|
2336
|
+
return {
|
|
2337
|
+
deviceRisk: 'string',
|
|
2338
|
+
ipRisk: 'string',
|
|
2339
|
+
score1: 'string',
|
|
2340
|
+
score2: 'string',
|
|
2341
|
+
score3: 'string',
|
|
2342
|
+
};
|
|
2343
|
+
}
|
|
2344
|
+
}
|
|
2345
|
+
exports.DescribePhoneNumberAnalysisTransparentResponseBodyData = DescribePhoneNumberAnalysisTransparentResponseBodyData;
|
|
2008
2346
|
class DescribePhoneNumberAttributeResponseBodyPhoneNumberAttribute extends $tea.Model {
|
|
2009
2347
|
constructor(map) {
|
|
2010
2348
|
super(map);
|
|
@@ -2093,6 +2431,26 @@ class DescribePhoneTwiceTelVerifyResponseBodyData extends $tea.Model {
|
|
|
2093
2431
|
}
|
|
2094
2432
|
}
|
|
2095
2433
|
exports.DescribePhoneTwiceTelVerifyResponseBodyData = DescribePhoneTwiceTelVerifyResponseBodyData;
|
|
2434
|
+
class GetUAIDApplyTokenSignResponseBodyData extends $tea.Model {
|
|
2435
|
+
constructor(map) {
|
|
2436
|
+
super(map);
|
|
2437
|
+
}
|
|
2438
|
+
static names() {
|
|
2439
|
+
return {
|
|
2440
|
+
carrier: 'Carrier',
|
|
2441
|
+
outId: 'OutId',
|
|
2442
|
+
sign: 'Sign',
|
|
2443
|
+
};
|
|
2444
|
+
}
|
|
2445
|
+
static types() {
|
|
2446
|
+
return {
|
|
2447
|
+
carrier: 'string',
|
|
2448
|
+
outId: 'string',
|
|
2449
|
+
sign: 'string',
|
|
2450
|
+
};
|
|
2451
|
+
}
|
|
2452
|
+
}
|
|
2453
|
+
exports.GetUAIDApplyTokenSignResponseBodyData = GetUAIDApplyTokenSignResponseBodyData;
|
|
2096
2454
|
class InvalidPhoneNumberFilterResponseBodyData extends $tea.Model {
|
|
2097
2455
|
constructor(map) {
|
|
2098
2456
|
super(map);
|
|
@@ -2340,6 +2698,7 @@ class QueryTagInfoBySelectionResponseBodyData extends $tea.Model {
|
|
|
2340
2698
|
static names() {
|
|
2341
2699
|
return {
|
|
2342
2700
|
authCodeList: 'AuthCodeList',
|
|
2701
|
+
complexityType: 'ComplexityType',
|
|
2343
2702
|
demoAddress: 'DemoAddress',
|
|
2344
2703
|
docAddress: 'DocAddress',
|
|
2345
2704
|
enumDefinitionAddress: 'EnumDefinitionAddress',
|
|
@@ -2347,6 +2706,7 @@ class QueryTagInfoBySelectionResponseBodyData extends $tea.Model {
|
|
|
2347
2706
|
industryId: 'IndustryId',
|
|
2348
2707
|
industryName: 'IndustryName',
|
|
2349
2708
|
paramList: 'ParamList',
|
|
2709
|
+
richTextDescription: 'RichTextDescription',
|
|
2350
2710
|
sceneId: 'SceneId',
|
|
2351
2711
|
sceneName: 'SceneName',
|
|
2352
2712
|
tagId: 'TagId',
|
|
@@ -2356,6 +2716,7 @@ class QueryTagInfoBySelectionResponseBodyData extends $tea.Model {
|
|
|
2356
2716
|
static types() {
|
|
2357
2717
|
return {
|
|
2358
2718
|
authCodeList: { 'type': 'array', 'itemType': 'string' },
|
|
2719
|
+
complexityType: 'string',
|
|
2359
2720
|
demoAddress: 'string',
|
|
2360
2721
|
docAddress: 'string',
|
|
2361
2722
|
enumDefinitionAddress: 'string',
|
|
@@ -2363,6 +2724,7 @@ class QueryTagInfoBySelectionResponseBodyData extends $tea.Model {
|
|
|
2363
2724
|
industryId: 'number',
|
|
2364
2725
|
industryName: 'string',
|
|
2365
2726
|
paramList: { 'type': 'array', 'itemType': QueryTagInfoBySelectionResponseBodyDataParamList },
|
|
2727
|
+
richTextDescription: 'string',
|
|
2366
2728
|
sceneId: 'number',
|
|
2367
2729
|
sceneName: 'string',
|
|
2368
2730
|
tagId: 'number',
|
|
@@ -2505,6 +2867,22 @@ class TwoElementsVerificationResponseBodyData extends $tea.Model {
|
|
|
2505
2867
|
}
|
|
2506
2868
|
}
|
|
2507
2869
|
exports.TwoElementsVerificationResponseBodyData = TwoElementsVerificationResponseBodyData;
|
|
2870
|
+
class UAIDVerificationResponseBodyData extends $tea.Model {
|
|
2871
|
+
constructor(map) {
|
|
2872
|
+
super(map);
|
|
2873
|
+
}
|
|
2874
|
+
static names() {
|
|
2875
|
+
return {
|
|
2876
|
+
uaid: 'Uaid',
|
|
2877
|
+
};
|
|
2878
|
+
}
|
|
2879
|
+
static types() {
|
|
2880
|
+
return {
|
|
2881
|
+
uaid: 'string',
|
|
2882
|
+
};
|
|
2883
|
+
}
|
|
2884
|
+
}
|
|
2885
|
+
exports.UAIDVerificationResponseBodyData = UAIDVerificationResponseBodyData;
|
|
2508
2886
|
class Client extends openapi_client_1.default {
|
|
2509
2887
|
constructor(config) {
|
|
2510
2888
|
super(config);
|
|
@@ -2521,6 +2899,56 @@ class Client extends openapi_client_1.default {
|
|
|
2521
2899
|
}
|
|
2522
2900
|
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
2523
2901
|
}
|
|
2902
|
+
async certNoTwoElementVerificationWithOptions(request, runtime) {
|
|
2903
|
+
tea_util_1.default.validateModel(request);
|
|
2904
|
+
let query = {};
|
|
2905
|
+
if (!tea_util_1.default.isUnset(request.authCode)) {
|
|
2906
|
+
query["AuthCode"] = request.authCode;
|
|
2907
|
+
}
|
|
2908
|
+
if (!tea_util_1.default.isUnset(request.certName)) {
|
|
2909
|
+
query["CertName"] = request.certName;
|
|
2910
|
+
}
|
|
2911
|
+
if (!tea_util_1.default.isUnset(request.certNo)) {
|
|
2912
|
+
query["CertNo"] = request.certNo;
|
|
2913
|
+
}
|
|
2914
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
2915
|
+
query["OwnerId"] = request.ownerId;
|
|
2916
|
+
}
|
|
2917
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
2918
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
2919
|
+
}
|
|
2920
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
2921
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
2922
|
+
}
|
|
2923
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
2924
|
+
query: openapi_util_1.default.query(query),
|
|
2925
|
+
});
|
|
2926
|
+
let params = new $OpenApi.Params({
|
|
2927
|
+
action: "CertNoTwoElementVerification",
|
|
2928
|
+
version: "2020-02-17",
|
|
2929
|
+
protocol: "HTTPS",
|
|
2930
|
+
pathname: "/",
|
|
2931
|
+
method: "POST",
|
|
2932
|
+
authType: "AK",
|
|
2933
|
+
style: "RPC",
|
|
2934
|
+
reqBodyType: "formData",
|
|
2935
|
+
bodyType: "json",
|
|
2936
|
+
});
|
|
2937
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CertNoTwoElementVerificationResponse({}));
|
|
2938
|
+
}
|
|
2939
|
+
async certNoTwoElementVerification(request) {
|
|
2940
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
2941
|
+
return await this.certNoTwoElementVerificationWithOptions(request, runtime);
|
|
2942
|
+
}
|
|
2943
|
+
/**
|
|
2944
|
+
* * 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).
|
|
2945
|
+
* * You are charged only if the value of VerifyResult is true or false and the value of ReasonCode is 0, 1, or 2.
|
|
2946
|
+
* * 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.
|
|
2947
|
+
*
|
|
2948
|
+
* @param request CompanyFourElementsVerificationRequest
|
|
2949
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
2950
|
+
* @return CompanyFourElementsVerificationResponse
|
|
2951
|
+
*/
|
|
2524
2952
|
async companyFourElementsVerificationWithOptions(request, runtime) {
|
|
2525
2953
|
tea_util_1.default.validateModel(request);
|
|
2526
2954
|
let query = {};
|
|
@@ -2564,10 +2992,27 @@ class Client extends openapi_client_1.default {
|
|
|
2564
2992
|
});
|
|
2565
2993
|
return $tea.cast(await this.callApi(params, req, runtime), new CompanyFourElementsVerificationResponse({}));
|
|
2566
2994
|
}
|
|
2995
|
+
/**
|
|
2996
|
+
* * 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).
|
|
2997
|
+
* * You are charged only if the value of VerifyResult is true or false and the value of ReasonCode is 0, 1, or 2.
|
|
2998
|
+
* * 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.
|
|
2999
|
+
*
|
|
3000
|
+
* @param request CompanyFourElementsVerificationRequest
|
|
3001
|
+
* @return CompanyFourElementsVerificationResponse
|
|
3002
|
+
*/
|
|
2567
3003
|
async companyFourElementsVerification(request) {
|
|
2568
3004
|
let runtime = new $Util.RuntimeOptions({});
|
|
2569
3005
|
return await this.companyFourElementsVerificationWithOptions(request, runtime);
|
|
2570
3006
|
}
|
|
3007
|
+
/**
|
|
3008
|
+
* * 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).
|
|
3009
|
+
* * You are charged only if the value of VerifyResult is true or false and the value of ReasonCode is 0, 1, or 2.
|
|
3010
|
+
* * 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.
|
|
3011
|
+
*
|
|
3012
|
+
* @param request CompanyThreeElementsVerificationRequest
|
|
3013
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3014
|
+
* @return CompanyThreeElementsVerificationResponse
|
|
3015
|
+
*/
|
|
2571
3016
|
async companyThreeElementsVerificationWithOptions(request, runtime) {
|
|
2572
3017
|
tea_util_1.default.validateModel(request);
|
|
2573
3018
|
let query = {};
|
|
@@ -2608,10 +3053,27 @@ class Client extends openapi_client_1.default {
|
|
|
2608
3053
|
});
|
|
2609
3054
|
return $tea.cast(await this.callApi(params, req, runtime), new CompanyThreeElementsVerificationResponse({}));
|
|
2610
3055
|
}
|
|
3056
|
+
/**
|
|
3057
|
+
* * 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).
|
|
3058
|
+
* * You are charged only if the value of VerifyResult is true or false and the value of ReasonCode is 0, 1, or 2.
|
|
3059
|
+
* * 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.
|
|
3060
|
+
*
|
|
3061
|
+
* @param request CompanyThreeElementsVerificationRequest
|
|
3062
|
+
* @return CompanyThreeElementsVerificationResponse
|
|
3063
|
+
*/
|
|
2611
3064
|
async companyThreeElementsVerification(request) {
|
|
2612
3065
|
let runtime = new $Util.RuntimeOptions({});
|
|
2613
3066
|
return await this.companyThreeElementsVerificationWithOptions(request, runtime);
|
|
2614
3067
|
}
|
|
3068
|
+
/**
|
|
3069
|
+
* * 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).
|
|
3070
|
+
* * You are charged only if the value of VerifyResult is true or false and the value of ReasonCode is 0 or 1.
|
|
3071
|
+
* * 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.
|
|
3072
|
+
*
|
|
3073
|
+
* @param request CompanyTwoElementsVerificationRequest
|
|
3074
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3075
|
+
* @return CompanyTwoElementsVerificationResponse
|
|
3076
|
+
*/
|
|
2615
3077
|
async companyTwoElementsVerificationWithOptions(request, runtime) {
|
|
2616
3078
|
tea_util_1.default.validateModel(request);
|
|
2617
3079
|
let query = {};
|
|
@@ -2649,10 +3111,32 @@ class Client extends openapi_client_1.default {
|
|
|
2649
3111
|
});
|
|
2650
3112
|
return $tea.cast(await this.callApi(params, req, runtime), new CompanyTwoElementsVerificationResponse({}));
|
|
2651
3113
|
}
|
|
3114
|
+
/**
|
|
3115
|
+
* * 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).
|
|
3116
|
+
* * You are charged only if the value of VerifyResult is true or false and the value of ReasonCode is 0 or 1.
|
|
3117
|
+
* * 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.
|
|
3118
|
+
*
|
|
3119
|
+
* @param request CompanyTwoElementsVerificationRequest
|
|
3120
|
+
* @return CompanyTwoElementsVerificationResponse
|
|
3121
|
+
*/
|
|
2652
3122
|
async companyTwoElementsVerification(request) {
|
|
2653
3123
|
let runtime = new $Util.RuntimeOptions({});
|
|
2654
3124
|
return await this.companyTwoElementsVerificationWithOptions(request, runtime);
|
|
2655
3125
|
}
|
|
3126
|
+
/**
|
|
3127
|
+
* * 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.**
|
|
3128
|
+
* * You are charged only if the value of Code is OK and the value of Status is not UNKNOWN.
|
|
3129
|
+
* * 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**.
|
|
3130
|
+
* * 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.
|
|
3131
|
+
* ### [](#qps)QPS limits
|
|
3132
|
+
* 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.
|
|
3133
|
+
* ### [](#)Authorization information
|
|
3134
|
+
* 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~~).
|
|
3135
|
+
*
|
|
3136
|
+
* @param request DescribeEmptyNumberRequest
|
|
3137
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3138
|
+
* @return DescribeEmptyNumberResponse
|
|
3139
|
+
*/
|
|
2656
3140
|
async describeEmptyNumberWithOptions(request, runtime) {
|
|
2657
3141
|
tea_util_1.default.validateModel(request);
|
|
2658
3142
|
let query = {};
|
|
@@ -2690,6 +3174,19 @@ class Client extends openapi_client_1.default {
|
|
|
2690
3174
|
});
|
|
2691
3175
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeEmptyNumberResponse({}));
|
|
2692
3176
|
}
|
|
3177
|
+
/**
|
|
3178
|
+
* * 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.**
|
|
3179
|
+
* * You are charged only if the value of Code is OK and the value of Status is not UNKNOWN.
|
|
3180
|
+
* * 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**.
|
|
3181
|
+
* * 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.
|
|
3182
|
+
* ### [](#qps)QPS limits
|
|
3183
|
+
* 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.
|
|
3184
|
+
* ### [](#)Authorization information
|
|
3185
|
+
* 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~~).
|
|
3186
|
+
*
|
|
3187
|
+
* @param request DescribeEmptyNumberRequest
|
|
3188
|
+
* @return DescribeEmptyNumberResponse
|
|
3189
|
+
*/
|
|
2693
3190
|
async describeEmptyNumber(request) {
|
|
2694
3191
|
let runtime = new $Util.RuntimeOptions({});
|
|
2695
3192
|
return await this.describeEmptyNumberWithOptions(request, runtime);
|
|
@@ -2741,6 +3238,13 @@ class Client extends openapi_client_1.default {
|
|
|
2741
3238
|
let runtime = new $Util.RuntimeOptions({});
|
|
2742
3239
|
return await this.describePhoneNumberAnalysisWithOptions(request, runtime);
|
|
2743
3240
|
}
|
|
3241
|
+
/**
|
|
3242
|
+
* 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.
|
|
3243
|
+
*
|
|
3244
|
+
* @param request DescribePhoneNumberAnalysisAIRequest
|
|
3245
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3246
|
+
* @return DescribePhoneNumberAnalysisAIResponse
|
|
3247
|
+
*/
|
|
2744
3248
|
async describePhoneNumberAnalysisAIWithOptions(request, runtime) {
|
|
2745
3249
|
tea_util_1.default.validateModel(request);
|
|
2746
3250
|
let query = {};
|
|
@@ -2781,10 +3285,72 @@ class Client extends openapi_client_1.default {
|
|
|
2781
3285
|
});
|
|
2782
3286
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePhoneNumberAnalysisAIResponse({}));
|
|
2783
3287
|
}
|
|
3288
|
+
/**
|
|
3289
|
+
* 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.
|
|
3290
|
+
*
|
|
3291
|
+
* @param request DescribePhoneNumberAnalysisAIRequest
|
|
3292
|
+
* @return DescribePhoneNumberAnalysisAIResponse
|
|
3293
|
+
*/
|
|
2784
3294
|
async describePhoneNumberAnalysisAI(request) {
|
|
2785
3295
|
let runtime = new $Util.RuntimeOptions({});
|
|
2786
3296
|
return await this.describePhoneNumberAnalysisAIWithOptions(request, runtime);
|
|
2787
3297
|
}
|
|
3298
|
+
async describePhoneNumberAnalysisTransparentWithOptions(request, runtime) {
|
|
3299
|
+
tea_util_1.default.validateModel(request);
|
|
3300
|
+
let query = {};
|
|
3301
|
+
if (!tea_util_1.default.isUnset(request.authCode)) {
|
|
3302
|
+
query["AuthCode"] = request.authCode;
|
|
3303
|
+
}
|
|
3304
|
+
if (!tea_util_1.default.isUnset(request.inputNumber)) {
|
|
3305
|
+
query["InputNumber"] = request.inputNumber;
|
|
3306
|
+
}
|
|
3307
|
+
if (!tea_util_1.default.isUnset(request.ip)) {
|
|
3308
|
+
query["Ip"] = request.ip;
|
|
3309
|
+
}
|
|
3310
|
+
if (!tea_util_1.default.isUnset(request.numberType)) {
|
|
3311
|
+
query["NumberType"] = request.numberType;
|
|
3312
|
+
}
|
|
3313
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
3314
|
+
query["OwnerId"] = request.ownerId;
|
|
3315
|
+
}
|
|
3316
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
3317
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
3318
|
+
}
|
|
3319
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
3320
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
3321
|
+
}
|
|
3322
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3323
|
+
query: openapi_util_1.default.query(query),
|
|
3324
|
+
});
|
|
3325
|
+
let params = new $OpenApi.Params({
|
|
3326
|
+
action: "DescribePhoneNumberAnalysisTransparent",
|
|
3327
|
+
version: "2020-02-17",
|
|
3328
|
+
protocol: "HTTPS",
|
|
3329
|
+
pathname: "/",
|
|
3330
|
+
method: "POST",
|
|
3331
|
+
authType: "AK",
|
|
3332
|
+
style: "RPC",
|
|
3333
|
+
reqBodyType: "formData",
|
|
3334
|
+
bodyType: "json",
|
|
3335
|
+
});
|
|
3336
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribePhoneNumberAnalysisTransparentResponse({}));
|
|
3337
|
+
}
|
|
3338
|
+
async describePhoneNumberAnalysisTransparent(request) {
|
|
3339
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3340
|
+
return await this.describePhoneNumberAnalysisTransparentWithOptions(request, runtime);
|
|
3341
|
+
}
|
|
3342
|
+
/**
|
|
3343
|
+
* @deprecated : DescribePhoneNumberAttribute is deprecated, please use Dytnsapi::2020-02-17::DescribePhoneNumberOperatorAttribute instead.
|
|
3344
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
3345
|
+
* * 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~~).
|
|
3346
|
+
* ### [](#qps)QPS limits
|
|
3347
|
+
* 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.
|
|
3348
|
+
*
|
|
3349
|
+
* @param request DescribePhoneNumberAttributeRequest
|
|
3350
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3351
|
+
* @return DescribePhoneNumberAttributeResponse
|
|
3352
|
+
*/
|
|
3353
|
+
// Deprecated
|
|
2788
3354
|
async describePhoneNumberAttributeWithOptions(request, runtime) {
|
|
2789
3355
|
tea_util_1.default.validateModel(request);
|
|
2790
3356
|
let query = {};
|
|
@@ -2816,10 +3382,31 @@ class Client extends openapi_client_1.default {
|
|
|
2816
3382
|
});
|
|
2817
3383
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePhoneNumberAttributeResponse({}));
|
|
2818
3384
|
}
|
|
3385
|
+
/**
|
|
3386
|
+
* @deprecated : DescribePhoneNumberAttribute is deprecated, please use Dytnsapi::2020-02-17::DescribePhoneNumberOperatorAttribute instead.
|
|
3387
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
3388
|
+
* * 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~~).
|
|
3389
|
+
* ### [](#qps)QPS limits
|
|
3390
|
+
* 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.
|
|
3391
|
+
*
|
|
3392
|
+
* @param request DescribePhoneNumberAttributeRequest
|
|
3393
|
+
* @return DescribePhoneNumberAttributeResponse
|
|
3394
|
+
*/
|
|
3395
|
+
// Deprecated
|
|
2819
3396
|
async describePhoneNumberAttribute(request) {
|
|
2820
3397
|
let runtime = new $Util.RuntimeOptions({});
|
|
2821
3398
|
return await this.describePhoneNumberAttributeWithOptions(request, runtime);
|
|
2822
3399
|
}
|
|
3400
|
+
/**
|
|
3401
|
+
* * 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.
|
|
3402
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
3403
|
+
* ### [](#qps)QPS limits
|
|
3404
|
+
* 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.
|
|
3405
|
+
*
|
|
3406
|
+
* @param request DescribePhoneNumberOnlineTimeRequest
|
|
3407
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3408
|
+
* @return DescribePhoneNumberOnlineTimeResponse
|
|
3409
|
+
*/
|
|
2823
3410
|
async describePhoneNumberOnlineTimeWithOptions(request, runtime) {
|
|
2824
3411
|
tea_util_1.default.validateModel(request);
|
|
2825
3412
|
let query = {};
|
|
@@ -2860,10 +3447,29 @@ class Client extends openapi_client_1.default {
|
|
|
2860
3447
|
});
|
|
2861
3448
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePhoneNumberOnlineTimeResponse({}));
|
|
2862
3449
|
}
|
|
3450
|
+
/**
|
|
3451
|
+
* * 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.
|
|
3452
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
3453
|
+
* ### [](#qps)QPS limits
|
|
3454
|
+
* 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.
|
|
3455
|
+
*
|
|
3456
|
+
* @param request DescribePhoneNumberOnlineTimeRequest
|
|
3457
|
+
* @return DescribePhoneNumberOnlineTimeResponse
|
|
3458
|
+
*/
|
|
2863
3459
|
async describePhoneNumberOnlineTime(request) {
|
|
2864
3460
|
let runtime = new $Util.RuntimeOptions({});
|
|
2865
3461
|
return await this.describePhoneNumberOnlineTimeWithOptions(request, runtime);
|
|
2866
3462
|
}
|
|
3463
|
+
/**
|
|
3464
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154008~~) of Cell Phone Number Service.
|
|
3465
|
+
* * 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~~).
|
|
3466
|
+
* * 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**.
|
|
3467
|
+
* * 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.
|
|
3468
|
+
*
|
|
3469
|
+
* @param request DescribePhoneNumberOperatorAttributeRequest
|
|
3470
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3471
|
+
* @return DescribePhoneNumberOperatorAttributeResponse
|
|
3472
|
+
*/
|
|
2867
3473
|
async describePhoneNumberOperatorAttributeWithOptions(request, runtime) {
|
|
2868
3474
|
tea_util_1.default.validateModel(request);
|
|
2869
3475
|
let query = {};
|
|
@@ -2901,10 +3507,32 @@ class Client extends openapi_client_1.default {
|
|
|
2901
3507
|
});
|
|
2902
3508
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePhoneNumberOperatorAttributeResponse({}));
|
|
2903
3509
|
}
|
|
3510
|
+
/**
|
|
3511
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154008~~) of Cell Phone Number Service.
|
|
3512
|
+
* * 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~~).
|
|
3513
|
+
* * 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**.
|
|
3514
|
+
* * 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.
|
|
3515
|
+
*
|
|
3516
|
+
* @param request DescribePhoneNumberOperatorAttributeRequest
|
|
3517
|
+
* @return DescribePhoneNumberOperatorAttributeResponse
|
|
3518
|
+
*/
|
|
2904
3519
|
async describePhoneNumberOperatorAttribute(request) {
|
|
2905
3520
|
let runtime = new $Util.RuntimeOptions({});
|
|
2906
3521
|
return await this.describePhoneNumberOperatorAttributeWithOptions(request, runtime);
|
|
2907
3522
|
}
|
|
3523
|
+
/**
|
|
3524
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
3525
|
+
* * You are charged for phone number verifications only if the value of Code is OK and the value of VerifyResult is not 0.
|
|
3526
|
+
* * 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.
|
|
3527
|
+
* ## [](#qps)QPS limits
|
|
3528
|
+
* 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.
|
|
3529
|
+
* ## [](#)Authorization information
|
|
3530
|
+
* 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~~).
|
|
3531
|
+
*
|
|
3532
|
+
* @param request DescribePhoneTwiceTelVerifyRequest
|
|
3533
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3534
|
+
* @return DescribePhoneTwiceTelVerifyResponse
|
|
3535
|
+
*/
|
|
2908
3536
|
async describePhoneTwiceTelVerifyWithOptions(request, runtime) {
|
|
2909
3537
|
tea_util_1.default.validateModel(request);
|
|
2910
3538
|
let query = {};
|
|
@@ -2945,10 +3573,87 @@ class Client extends openapi_client_1.default {
|
|
|
2945
3573
|
});
|
|
2946
3574
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePhoneTwiceTelVerifyResponse({}));
|
|
2947
3575
|
}
|
|
3576
|
+
/**
|
|
3577
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
3578
|
+
* * You are charged for phone number verifications only if the value of Code is OK and the value of VerifyResult is not 0.
|
|
3579
|
+
* * 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.
|
|
3580
|
+
* ## [](#qps)QPS limits
|
|
3581
|
+
* 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.
|
|
3582
|
+
* ## [](#)Authorization information
|
|
3583
|
+
* 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~~).
|
|
3584
|
+
*
|
|
3585
|
+
* @param request DescribePhoneTwiceTelVerifyRequest
|
|
3586
|
+
* @return DescribePhoneTwiceTelVerifyResponse
|
|
3587
|
+
*/
|
|
2948
3588
|
async describePhoneTwiceTelVerify(request) {
|
|
2949
3589
|
let runtime = new $Util.RuntimeOptions({});
|
|
2950
3590
|
return await this.describePhoneTwiceTelVerifyWithOptions(request, runtime);
|
|
2951
3591
|
}
|
|
3592
|
+
async getUAIDApplyTokenSignWithOptions(request, runtime) {
|
|
3593
|
+
tea_util_1.default.validateModel(request);
|
|
3594
|
+
let query = {};
|
|
3595
|
+
if (!tea_util_1.default.isUnset(request.authCode)) {
|
|
3596
|
+
query["AuthCode"] = request.authCode;
|
|
3597
|
+
}
|
|
3598
|
+
if (!tea_util_1.default.isUnset(request.carrier)) {
|
|
3599
|
+
query["Carrier"] = request.carrier;
|
|
3600
|
+
}
|
|
3601
|
+
if (!tea_util_1.default.isUnset(request.clientType)) {
|
|
3602
|
+
query["ClientType"] = request.clientType;
|
|
3603
|
+
}
|
|
3604
|
+
if (!tea_util_1.default.isUnset(request.format)) {
|
|
3605
|
+
query["Format"] = request.format;
|
|
3606
|
+
}
|
|
3607
|
+
if (!tea_util_1.default.isUnset(request.outId)) {
|
|
3608
|
+
query["OutId"] = request.outId;
|
|
3609
|
+
}
|
|
3610
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
3611
|
+
query["OwnerId"] = request.ownerId;
|
|
3612
|
+
}
|
|
3613
|
+
if (!tea_util_1.default.isUnset(request.paramKey)) {
|
|
3614
|
+
query["ParamKey"] = request.paramKey;
|
|
3615
|
+
}
|
|
3616
|
+
if (!tea_util_1.default.isUnset(request.paramStr)) {
|
|
3617
|
+
query["ParamStr"] = request.paramStr;
|
|
3618
|
+
}
|
|
3619
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
3620
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
3621
|
+
}
|
|
3622
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
3623
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
3624
|
+
}
|
|
3625
|
+
if (!tea_util_1.default.isUnset(request.time)) {
|
|
3626
|
+
query["Time"] = request.time;
|
|
3627
|
+
}
|
|
3628
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3629
|
+
query: openapi_util_1.default.query(query),
|
|
3630
|
+
});
|
|
3631
|
+
let params = new $OpenApi.Params({
|
|
3632
|
+
action: "GetUAIDApplyTokenSign",
|
|
3633
|
+
version: "2020-02-17",
|
|
3634
|
+
protocol: "HTTPS",
|
|
3635
|
+
pathname: "/",
|
|
3636
|
+
method: "POST",
|
|
3637
|
+
authType: "AK",
|
|
3638
|
+
style: "RPC",
|
|
3639
|
+
reqBodyType: "formData",
|
|
3640
|
+
bodyType: "json",
|
|
3641
|
+
});
|
|
3642
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetUAIDApplyTokenSignResponse({}));
|
|
3643
|
+
}
|
|
3644
|
+
async getUAIDApplyTokenSign(request) {
|
|
3645
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3646
|
+
return await this.getUAIDApplyTokenSignWithOptions(request, runtime);
|
|
3647
|
+
}
|
|
3648
|
+
/**
|
|
3649
|
+
* 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.
|
|
3650
|
+
* ### [](#qps)QPS limits
|
|
3651
|
+
* 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.
|
|
3652
|
+
*
|
|
3653
|
+
* @param request InvalidPhoneNumberFilterRequest
|
|
3654
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3655
|
+
* @return InvalidPhoneNumberFilterResponse
|
|
3656
|
+
*/
|
|
2952
3657
|
async invalidPhoneNumberFilterWithOptions(request, runtime) {
|
|
2953
3658
|
tea_util_1.default.validateModel(request);
|
|
2954
3659
|
let query = {};
|
|
@@ -2986,6 +3691,14 @@ class Client extends openapi_client_1.default {
|
|
|
2986
3691
|
});
|
|
2987
3692
|
return $tea.cast(await this.callApi(params, req, runtime), new InvalidPhoneNumberFilterResponse({}));
|
|
2988
3693
|
}
|
|
3694
|
+
/**
|
|
3695
|
+
* 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.
|
|
3696
|
+
* ### [](#qps)QPS limits
|
|
3697
|
+
* 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.
|
|
3698
|
+
*
|
|
3699
|
+
* @param request InvalidPhoneNumberFilterRequest
|
|
3700
|
+
* @return InvalidPhoneNumberFilterResponse
|
|
3701
|
+
*/
|
|
2989
3702
|
async invalidPhoneNumberFilter(request) {
|
|
2990
3703
|
let runtime = new $Util.RuntimeOptions({});
|
|
2991
3704
|
return await this.invalidPhoneNumberFilterWithOptions(request, runtime);
|
|
@@ -3031,6 +3744,15 @@ class Client extends openapi_client_1.default {
|
|
|
3031
3744
|
let runtime = new $Util.RuntimeOptions({});
|
|
3032
3745
|
return await this.phoneNumberConvertServiceWithOptions(request, runtime);
|
|
3033
3746
|
}
|
|
3747
|
+
/**
|
|
3748
|
+
* 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.
|
|
3749
|
+
* ### [](#qps)QPS limits
|
|
3750
|
+
* 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.
|
|
3751
|
+
*
|
|
3752
|
+
* @param request PhoneNumberEncryptRequest
|
|
3753
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3754
|
+
* @return PhoneNumberEncryptResponse
|
|
3755
|
+
*/
|
|
3034
3756
|
async phoneNumberEncryptWithOptions(request, runtime) {
|
|
3035
3757
|
tea_util_1.default.validateModel(request);
|
|
3036
3758
|
let query = {};
|
|
@@ -3068,10 +3790,29 @@ class Client extends openapi_client_1.default {
|
|
|
3068
3790
|
});
|
|
3069
3791
|
return $tea.cast(await this.callApi(params, req, runtime), new PhoneNumberEncryptResponse({}));
|
|
3070
3792
|
}
|
|
3793
|
+
/**
|
|
3794
|
+
* 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.
|
|
3795
|
+
* ### [](#qps)QPS limits
|
|
3796
|
+
* 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.
|
|
3797
|
+
*
|
|
3798
|
+
* @param request PhoneNumberEncryptRequest
|
|
3799
|
+
* @return PhoneNumberEncryptResponse
|
|
3800
|
+
*/
|
|
3071
3801
|
async phoneNumberEncrypt(request) {
|
|
3072
3802
|
let runtime = new $Util.RuntimeOptions({});
|
|
3073
3803
|
return await this.phoneNumberEncryptWithOptions(request, runtime);
|
|
3074
3804
|
}
|
|
3805
|
+
/**
|
|
3806
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
3807
|
+
* * 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~~).
|
|
3808
|
+
* * 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.
|
|
3809
|
+
* ### [](#qps)QPS limits
|
|
3810
|
+
* 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.
|
|
3811
|
+
*
|
|
3812
|
+
* @param request PhoneNumberStatusForAccountRequest
|
|
3813
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3814
|
+
* @return PhoneNumberStatusForAccountResponse
|
|
3815
|
+
*/
|
|
3075
3816
|
async phoneNumberStatusForAccountWithOptions(request, runtime) {
|
|
3076
3817
|
tea_util_1.default.validateModel(request);
|
|
3077
3818
|
let query = {};
|
|
@@ -3109,10 +3850,31 @@ class Client extends openapi_client_1.default {
|
|
|
3109
3850
|
});
|
|
3110
3851
|
return $tea.cast(await this.callApi(params, req, runtime), new PhoneNumberStatusForAccountResponse({}));
|
|
3111
3852
|
}
|
|
3853
|
+
/**
|
|
3854
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
3855
|
+
* * 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~~).
|
|
3856
|
+
* * 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.
|
|
3857
|
+
* ### [](#qps)QPS limits
|
|
3858
|
+
* 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.
|
|
3859
|
+
*
|
|
3860
|
+
* @param request PhoneNumberStatusForAccountRequest
|
|
3861
|
+
* @return PhoneNumberStatusForAccountResponse
|
|
3862
|
+
*/
|
|
3112
3863
|
async phoneNumberStatusForAccount(request) {
|
|
3113
3864
|
let runtime = new $Util.RuntimeOptions({});
|
|
3114
3865
|
return await this.phoneNumberStatusForAccountWithOptions(request, runtime);
|
|
3115
3866
|
}
|
|
3867
|
+
/**
|
|
3868
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
3869
|
+
* * 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~~).
|
|
3870
|
+
* * 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.
|
|
3871
|
+
* ### [](#qps)QPS limits
|
|
3872
|
+
* 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.
|
|
3873
|
+
*
|
|
3874
|
+
* @param request PhoneNumberStatusForPublicRequest
|
|
3875
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3876
|
+
* @return PhoneNumberStatusForPublicResponse
|
|
3877
|
+
*/
|
|
3116
3878
|
async phoneNumberStatusForPublicWithOptions(request, runtime) {
|
|
3117
3879
|
tea_util_1.default.validateModel(request);
|
|
3118
3880
|
let query = {};
|
|
@@ -3150,10 +3912,31 @@ class Client extends openapi_client_1.default {
|
|
|
3150
3912
|
});
|
|
3151
3913
|
return $tea.cast(await this.callApi(params, req, runtime), new PhoneNumberStatusForPublicResponse({}));
|
|
3152
3914
|
}
|
|
3915
|
+
/**
|
|
3916
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
3917
|
+
* * 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~~).
|
|
3918
|
+
* * 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.
|
|
3919
|
+
* ### [](#qps)QPS limits
|
|
3920
|
+
* 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.
|
|
3921
|
+
*
|
|
3922
|
+
* @param request PhoneNumberStatusForPublicRequest
|
|
3923
|
+
* @return PhoneNumberStatusForPublicResponse
|
|
3924
|
+
*/
|
|
3153
3925
|
async phoneNumberStatusForPublic(request) {
|
|
3154
3926
|
let runtime = new $Util.RuntimeOptions({});
|
|
3155
3927
|
return await this.phoneNumberStatusForPublicWithOptions(request, runtime);
|
|
3156
3928
|
}
|
|
3929
|
+
/**
|
|
3930
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
3931
|
+
* * 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~~).
|
|
3932
|
+
* * 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.
|
|
3933
|
+
* ### [](#qps)QPS limits
|
|
3934
|
+
* 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.
|
|
3935
|
+
*
|
|
3936
|
+
* @param request PhoneNumberStatusForRealRequest
|
|
3937
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3938
|
+
* @return PhoneNumberStatusForRealResponse
|
|
3939
|
+
*/
|
|
3157
3940
|
async phoneNumberStatusForRealWithOptions(request, runtime) {
|
|
3158
3941
|
tea_util_1.default.validateModel(request);
|
|
3159
3942
|
let query = {};
|
|
@@ -3191,10 +3974,31 @@ class Client extends openapi_client_1.default {
|
|
|
3191
3974
|
});
|
|
3192
3975
|
return $tea.cast(await this.callApi(params, req, runtime), new PhoneNumberStatusForRealResponse({}));
|
|
3193
3976
|
}
|
|
3977
|
+
/**
|
|
3978
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
3979
|
+
* * 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~~).
|
|
3980
|
+
* * 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.
|
|
3981
|
+
* ### [](#qps)QPS limits
|
|
3982
|
+
* 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.
|
|
3983
|
+
*
|
|
3984
|
+
* @param request PhoneNumberStatusForRealRequest
|
|
3985
|
+
* @return PhoneNumberStatusForRealResponse
|
|
3986
|
+
*/
|
|
3194
3987
|
async phoneNumberStatusForReal(request) {
|
|
3195
3988
|
let runtime = new $Util.RuntimeOptions({});
|
|
3196
3989
|
return await this.phoneNumberStatusForRealWithOptions(request, runtime);
|
|
3197
3990
|
}
|
|
3991
|
+
/**
|
|
3992
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
3993
|
+
* * 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~~).
|
|
3994
|
+
* * 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.
|
|
3995
|
+
* ### [](#qps)QPS limits
|
|
3996
|
+
* 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.
|
|
3997
|
+
*
|
|
3998
|
+
* @param request PhoneNumberStatusForSmsRequest
|
|
3999
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4000
|
+
* @return PhoneNumberStatusForSmsResponse
|
|
4001
|
+
*/
|
|
3198
4002
|
async phoneNumberStatusForSmsWithOptions(request, runtime) {
|
|
3199
4003
|
tea_util_1.default.validateModel(request);
|
|
3200
4004
|
let query = {};
|
|
@@ -3232,10 +4036,32 @@ class Client extends openapi_client_1.default {
|
|
|
3232
4036
|
});
|
|
3233
4037
|
return $tea.cast(await this.callApi(params, req, runtime), new PhoneNumberStatusForSmsResponse({}));
|
|
3234
4038
|
}
|
|
4039
|
+
/**
|
|
4040
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
4041
|
+
* * 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~~).
|
|
4042
|
+
* * 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.
|
|
4043
|
+
* ### [](#qps)QPS limits
|
|
4044
|
+
* 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.
|
|
4045
|
+
*
|
|
4046
|
+
* @param request PhoneNumberStatusForSmsRequest
|
|
4047
|
+
* @return PhoneNumberStatusForSmsResponse
|
|
4048
|
+
*/
|
|
3235
4049
|
async phoneNumberStatusForSms(request) {
|
|
3236
4050
|
let runtime = new $Util.RuntimeOptions({});
|
|
3237
4051
|
return await this.phoneNumberStatusForSmsWithOptions(request, runtime);
|
|
3238
4052
|
}
|
|
4053
|
+
/**
|
|
4054
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
4055
|
+
* * You are charged only if the value of Code is OK and the value of IsPrivacyNumber is true or false.
|
|
4056
|
+
* * 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~~).
|
|
4057
|
+
* * 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.
|
|
4058
|
+
* ### [](#qps)QPS limits
|
|
4059
|
+
* 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.
|
|
4060
|
+
*
|
|
4061
|
+
* @param request PhoneNumberStatusForVirtualRequest
|
|
4062
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4063
|
+
* @return PhoneNumberStatusForVirtualResponse
|
|
4064
|
+
*/
|
|
3239
4065
|
async phoneNumberStatusForVirtualWithOptions(request, runtime) {
|
|
3240
4066
|
tea_util_1.default.validateModel(request);
|
|
3241
4067
|
let query = {};
|
|
@@ -3273,10 +4099,32 @@ class Client extends openapi_client_1.default {
|
|
|
3273
4099
|
});
|
|
3274
4100
|
return $tea.cast(await this.callApi(params, req, runtime), new PhoneNumberStatusForVirtualResponse({}));
|
|
3275
4101
|
}
|
|
4102
|
+
/**
|
|
4103
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
4104
|
+
* * You are charged only if the value of Code is OK and the value of IsPrivacyNumber is true or false.
|
|
4105
|
+
* * 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~~).
|
|
4106
|
+
* * 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.
|
|
4107
|
+
* ### [](#qps)QPS limits
|
|
4108
|
+
* 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.
|
|
4109
|
+
*
|
|
4110
|
+
* @param request PhoneNumberStatusForVirtualRequest
|
|
4111
|
+
* @return PhoneNumberStatusForVirtualResponse
|
|
4112
|
+
*/
|
|
3276
4113
|
async phoneNumberStatusForVirtual(request) {
|
|
3277
4114
|
let runtime = new $Util.RuntimeOptions({});
|
|
3278
4115
|
return await this.phoneNumberStatusForVirtualWithOptions(request, runtime);
|
|
3279
4116
|
}
|
|
4117
|
+
/**
|
|
4118
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
4119
|
+
* * 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~~).
|
|
4120
|
+
* * 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.
|
|
4121
|
+
* ### [](#qps)QPS limits
|
|
4122
|
+
* 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.
|
|
4123
|
+
*
|
|
4124
|
+
* @param request PhoneNumberStatusForVoiceRequest
|
|
4125
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4126
|
+
* @return PhoneNumberStatusForVoiceResponse
|
|
4127
|
+
*/
|
|
3280
4128
|
async phoneNumberStatusForVoiceWithOptions(request, runtime) {
|
|
3281
4129
|
tea_util_1.default.validateModel(request);
|
|
3282
4130
|
let query = {};
|
|
@@ -3314,6 +4162,16 @@ class Client extends openapi_client_1.default {
|
|
|
3314
4162
|
});
|
|
3315
4163
|
return $tea.cast(await this.callApi(params, req, runtime), new PhoneNumberStatusForVoiceResponse({}));
|
|
3316
4164
|
}
|
|
4165
|
+
/**
|
|
4166
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
4167
|
+
* * 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~~).
|
|
4168
|
+
* * 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.
|
|
4169
|
+
* ### [](#qps)QPS limits
|
|
4170
|
+
* 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.
|
|
4171
|
+
*
|
|
4172
|
+
* @param request PhoneNumberStatusForVoiceRequest
|
|
4173
|
+
* @return PhoneNumberStatusForVoiceResponse
|
|
4174
|
+
*/
|
|
3317
4175
|
async phoneNumberStatusForVoice(request) {
|
|
3318
4176
|
let runtime = new $Util.RuntimeOptions({});
|
|
3319
4177
|
return await this.phoneNumberStatusForVoiceWithOptions(request, runtime);
|
|
@@ -3514,6 +4372,17 @@ class Client extends openapi_client_1.default {
|
|
|
3514
4372
|
let runtime = new $Util.RuntimeOptions({});
|
|
3515
4373
|
return await this.queryUsageStatisticsByTagIdWithOptions(request, runtime);
|
|
3516
4374
|
}
|
|
4375
|
+
/**
|
|
4376
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
4377
|
+
* * 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.
|
|
4378
|
+
* * You are charged only if the value of Code is OK and the value of IsConsistent is not 2.
|
|
4379
|
+
* ### [](#qps)QPS limits
|
|
4380
|
+
* 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.
|
|
4381
|
+
*
|
|
4382
|
+
* @param request ThreeElementsVerificationRequest
|
|
4383
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4384
|
+
* @return ThreeElementsVerificationResponse
|
|
4385
|
+
*/
|
|
3517
4386
|
async threeElementsVerificationWithOptions(request, runtime) {
|
|
3518
4387
|
tea_util_1.default.validateModel(request);
|
|
3519
4388
|
let query = {};
|
|
@@ -3557,10 +4426,31 @@ class Client extends openapi_client_1.default {
|
|
|
3557
4426
|
});
|
|
3558
4427
|
return $tea.cast(await this.callApi(params, req, runtime), new ThreeElementsVerificationResponse({}));
|
|
3559
4428
|
}
|
|
4429
|
+
/**
|
|
4430
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
4431
|
+
* * 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.
|
|
4432
|
+
* * You are charged only if the value of Code is OK and the value of IsConsistent is not 2.
|
|
4433
|
+
* ### [](#qps)QPS limits
|
|
4434
|
+
* 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.
|
|
4435
|
+
*
|
|
4436
|
+
* @param request ThreeElementsVerificationRequest
|
|
4437
|
+
* @return ThreeElementsVerificationResponse
|
|
4438
|
+
*/
|
|
3560
4439
|
async threeElementsVerification(request) {
|
|
3561
4440
|
let runtime = new $Util.RuntimeOptions({});
|
|
3562
4441
|
return await this.threeElementsVerificationWithOptions(request, runtime);
|
|
3563
4442
|
}
|
|
4443
|
+
/**
|
|
4444
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
4445
|
+
* * 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.
|
|
4446
|
+
* * You are charged only if the value of Code is OK and the value of IsConsistent is not 2.
|
|
4447
|
+
* ### [](#qps)QPS limits
|
|
4448
|
+
* 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.
|
|
4449
|
+
*
|
|
4450
|
+
* @param request TwoElementsVerificationRequest
|
|
4451
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4452
|
+
* @return TwoElementsVerificationResponse
|
|
4453
|
+
*/
|
|
3564
4454
|
async twoElementsVerificationWithOptions(request, runtime) {
|
|
3565
4455
|
tea_util_1.default.validateModel(request);
|
|
3566
4456
|
let query = {};
|
|
@@ -3601,10 +4491,70 @@ class Client extends openapi_client_1.default {
|
|
|
3601
4491
|
});
|
|
3602
4492
|
return $tea.cast(await this.callApi(params, req, runtime), new TwoElementsVerificationResponse({}));
|
|
3603
4493
|
}
|
|
4494
|
+
/**
|
|
4495
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
4496
|
+
* * 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.
|
|
4497
|
+
* * You are charged only if the value of Code is OK and the value of IsConsistent is not 2.
|
|
4498
|
+
* ### [](#qps)QPS limits
|
|
4499
|
+
* 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.
|
|
4500
|
+
*
|
|
4501
|
+
* @param request TwoElementsVerificationRequest
|
|
4502
|
+
* @return TwoElementsVerificationResponse
|
|
4503
|
+
*/
|
|
3604
4504
|
async twoElementsVerification(request) {
|
|
3605
4505
|
let runtime = new $Util.RuntimeOptions({});
|
|
3606
4506
|
return await this.twoElementsVerificationWithOptions(request, runtime);
|
|
3607
4507
|
}
|
|
4508
|
+
async uAIDVerificationWithOptions(request, runtime) {
|
|
4509
|
+
tea_util_1.default.validateModel(request);
|
|
4510
|
+
let query = {};
|
|
4511
|
+
if (!tea_util_1.default.isUnset(request.authCode)) {
|
|
4512
|
+
query["AuthCode"] = request.authCode;
|
|
4513
|
+
}
|
|
4514
|
+
if (!tea_util_1.default.isUnset(request.carrier)) {
|
|
4515
|
+
query["Carrier"] = request.carrier;
|
|
4516
|
+
}
|
|
4517
|
+
if (!tea_util_1.default.isUnset(request.ip)) {
|
|
4518
|
+
query["Ip"] = request.ip;
|
|
4519
|
+
}
|
|
4520
|
+
if (!tea_util_1.default.isUnset(request.outId)) {
|
|
4521
|
+
query["OutId"] = request.outId;
|
|
4522
|
+
}
|
|
4523
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
4524
|
+
query["OwnerId"] = request.ownerId;
|
|
4525
|
+
}
|
|
4526
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
4527
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
4528
|
+
}
|
|
4529
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
4530
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
4531
|
+
}
|
|
4532
|
+
if (!tea_util_1.default.isUnset(request.token)) {
|
|
4533
|
+
query["Token"] = request.token;
|
|
4534
|
+
}
|
|
4535
|
+
if (!tea_util_1.default.isUnset(request.userGrantId)) {
|
|
4536
|
+
query["UserGrantId"] = request.userGrantId;
|
|
4537
|
+
}
|
|
4538
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4539
|
+
query: openapi_util_1.default.query(query),
|
|
4540
|
+
});
|
|
4541
|
+
let params = new $OpenApi.Params({
|
|
4542
|
+
action: "UAIDVerification",
|
|
4543
|
+
version: "2020-02-17",
|
|
4544
|
+
protocol: "HTTPS",
|
|
4545
|
+
pathname: "/",
|
|
4546
|
+
method: "POST",
|
|
4547
|
+
authType: "AK",
|
|
4548
|
+
style: "RPC",
|
|
4549
|
+
reqBodyType: "formData",
|
|
4550
|
+
bodyType: "json",
|
|
4551
|
+
});
|
|
4552
|
+
return $tea.cast(await this.callApi(params, req, runtime), new UAIDVerificationResponse({}));
|
|
4553
|
+
}
|
|
4554
|
+
async uAIDVerification(request) {
|
|
4555
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
4556
|
+
return await this.uAIDVerificationWithOptions(request, runtime);
|
|
4557
|
+
}
|
|
3608
4558
|
}
|
|
3609
4559
|
exports.default = Client;
|
|
3610
4560
|
//# sourceMappingURL=client.js.map
|