@alicloud/dytnsapi20200217 2.2.1 → 2.3.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 +517 -0
- package/dist/client.js +683 -0
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +765 -0
package/dist/client.js
CHANGED
|
@@ -717,6 +717,86 @@ class DescribePhoneTwiceTelVerifyResponse extends $tea.Model {
|
|
|
717
717
|
}
|
|
718
718
|
}
|
|
719
719
|
exports.DescribePhoneTwiceTelVerifyResponse = DescribePhoneTwiceTelVerifyResponse;
|
|
720
|
+
class GetUAIDApplyTokenSignRequest extends $tea.Model {
|
|
721
|
+
constructor(map) {
|
|
722
|
+
super(map);
|
|
723
|
+
}
|
|
724
|
+
static names() {
|
|
725
|
+
return {
|
|
726
|
+
authCode: 'AuthCode',
|
|
727
|
+
carrier: 'Carrier',
|
|
728
|
+
clientType: 'ClientType',
|
|
729
|
+
format: 'Format',
|
|
730
|
+
outId: 'OutId',
|
|
731
|
+
ownerId: 'OwnerId',
|
|
732
|
+
paramKey: 'ParamKey',
|
|
733
|
+
paramStr: 'ParamStr',
|
|
734
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
735
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
736
|
+
time: 'Time',
|
|
737
|
+
};
|
|
738
|
+
}
|
|
739
|
+
static types() {
|
|
740
|
+
return {
|
|
741
|
+
authCode: 'string',
|
|
742
|
+
carrier: 'string',
|
|
743
|
+
clientType: 'string',
|
|
744
|
+
format: 'string',
|
|
745
|
+
outId: 'string',
|
|
746
|
+
ownerId: 'number',
|
|
747
|
+
paramKey: 'string',
|
|
748
|
+
paramStr: 'string',
|
|
749
|
+
resourceOwnerAccount: 'string',
|
|
750
|
+
resourceOwnerId: 'number',
|
|
751
|
+
time: 'string',
|
|
752
|
+
};
|
|
753
|
+
}
|
|
754
|
+
}
|
|
755
|
+
exports.GetUAIDApplyTokenSignRequest = GetUAIDApplyTokenSignRequest;
|
|
756
|
+
class GetUAIDApplyTokenSignResponseBody extends $tea.Model {
|
|
757
|
+
constructor(map) {
|
|
758
|
+
super(map);
|
|
759
|
+
}
|
|
760
|
+
static names() {
|
|
761
|
+
return {
|
|
762
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
763
|
+
code: 'Code',
|
|
764
|
+
data: 'Data',
|
|
765
|
+
message: 'Message',
|
|
766
|
+
requestId: 'RequestId',
|
|
767
|
+
};
|
|
768
|
+
}
|
|
769
|
+
static types() {
|
|
770
|
+
return {
|
|
771
|
+
accessDeniedDetail: 'string',
|
|
772
|
+
code: 'string',
|
|
773
|
+
data: GetUAIDApplyTokenSignResponseBodyData,
|
|
774
|
+
message: 'string',
|
|
775
|
+
requestId: 'string',
|
|
776
|
+
};
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
exports.GetUAIDApplyTokenSignResponseBody = GetUAIDApplyTokenSignResponseBody;
|
|
780
|
+
class GetUAIDApplyTokenSignResponse extends $tea.Model {
|
|
781
|
+
constructor(map) {
|
|
782
|
+
super(map);
|
|
783
|
+
}
|
|
784
|
+
static names() {
|
|
785
|
+
return {
|
|
786
|
+
headers: 'headers',
|
|
787
|
+
statusCode: 'statusCode',
|
|
788
|
+
body: 'body',
|
|
789
|
+
};
|
|
790
|
+
}
|
|
791
|
+
static types() {
|
|
792
|
+
return {
|
|
793
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
794
|
+
statusCode: 'number',
|
|
795
|
+
body: GetUAIDApplyTokenSignResponseBody,
|
|
796
|
+
};
|
|
797
|
+
}
|
|
798
|
+
}
|
|
799
|
+
exports.GetUAIDApplyTokenSignResponse = GetUAIDApplyTokenSignResponse;
|
|
720
800
|
class InvalidPhoneNumberFilterRequest extends $tea.Model {
|
|
721
801
|
constructor(map) {
|
|
722
802
|
super(map);
|
|
@@ -1815,6 +1895,82 @@ class TwoElementsVerificationResponse extends $tea.Model {
|
|
|
1815
1895
|
}
|
|
1816
1896
|
}
|
|
1817
1897
|
exports.TwoElementsVerificationResponse = TwoElementsVerificationResponse;
|
|
1898
|
+
class UAIDVerificationRequest extends $tea.Model {
|
|
1899
|
+
constructor(map) {
|
|
1900
|
+
super(map);
|
|
1901
|
+
}
|
|
1902
|
+
static names() {
|
|
1903
|
+
return {
|
|
1904
|
+
authCode: 'AuthCode',
|
|
1905
|
+
carrier: 'Carrier',
|
|
1906
|
+
ip: 'Ip',
|
|
1907
|
+
outId: 'OutId',
|
|
1908
|
+
ownerId: 'OwnerId',
|
|
1909
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
1910
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
1911
|
+
token: 'Token',
|
|
1912
|
+
userGrantId: 'UserGrantId',
|
|
1913
|
+
};
|
|
1914
|
+
}
|
|
1915
|
+
static types() {
|
|
1916
|
+
return {
|
|
1917
|
+
authCode: 'string',
|
|
1918
|
+
carrier: 'string',
|
|
1919
|
+
ip: 'string',
|
|
1920
|
+
outId: 'string',
|
|
1921
|
+
ownerId: 'number',
|
|
1922
|
+
resourceOwnerAccount: 'string',
|
|
1923
|
+
resourceOwnerId: 'number',
|
|
1924
|
+
token: 'string',
|
|
1925
|
+
userGrantId: 'string',
|
|
1926
|
+
};
|
|
1927
|
+
}
|
|
1928
|
+
}
|
|
1929
|
+
exports.UAIDVerificationRequest = UAIDVerificationRequest;
|
|
1930
|
+
class UAIDVerificationResponseBody extends $tea.Model {
|
|
1931
|
+
constructor(map) {
|
|
1932
|
+
super(map);
|
|
1933
|
+
}
|
|
1934
|
+
static names() {
|
|
1935
|
+
return {
|
|
1936
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1937
|
+
code: 'Code',
|
|
1938
|
+
data: 'Data',
|
|
1939
|
+
message: 'Message',
|
|
1940
|
+
requestId: 'RequestId',
|
|
1941
|
+
};
|
|
1942
|
+
}
|
|
1943
|
+
static types() {
|
|
1944
|
+
return {
|
|
1945
|
+
accessDeniedDetail: 'string',
|
|
1946
|
+
code: 'string',
|
|
1947
|
+
data: UAIDVerificationResponseBodyData,
|
|
1948
|
+
message: 'string',
|
|
1949
|
+
requestId: 'string',
|
|
1950
|
+
};
|
|
1951
|
+
}
|
|
1952
|
+
}
|
|
1953
|
+
exports.UAIDVerificationResponseBody = UAIDVerificationResponseBody;
|
|
1954
|
+
class UAIDVerificationResponse extends $tea.Model {
|
|
1955
|
+
constructor(map) {
|
|
1956
|
+
super(map);
|
|
1957
|
+
}
|
|
1958
|
+
static names() {
|
|
1959
|
+
return {
|
|
1960
|
+
headers: 'headers',
|
|
1961
|
+
statusCode: 'statusCode',
|
|
1962
|
+
body: 'body',
|
|
1963
|
+
};
|
|
1964
|
+
}
|
|
1965
|
+
static types() {
|
|
1966
|
+
return {
|
|
1967
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1968
|
+
statusCode: 'number',
|
|
1969
|
+
body: UAIDVerificationResponseBody,
|
|
1970
|
+
};
|
|
1971
|
+
}
|
|
1972
|
+
}
|
|
1973
|
+
exports.UAIDVerificationResponse = UAIDVerificationResponse;
|
|
1818
1974
|
class CompanyFourElementsVerificationResponseBodyDataDetailInfo extends $tea.Model {
|
|
1819
1975
|
constructor(map) {
|
|
1820
1976
|
super(map);
|
|
@@ -2093,6 +2249,26 @@ class DescribePhoneTwiceTelVerifyResponseBodyData extends $tea.Model {
|
|
|
2093
2249
|
}
|
|
2094
2250
|
}
|
|
2095
2251
|
exports.DescribePhoneTwiceTelVerifyResponseBodyData = DescribePhoneTwiceTelVerifyResponseBodyData;
|
|
2252
|
+
class GetUAIDApplyTokenSignResponseBodyData extends $tea.Model {
|
|
2253
|
+
constructor(map) {
|
|
2254
|
+
super(map);
|
|
2255
|
+
}
|
|
2256
|
+
static names() {
|
|
2257
|
+
return {
|
|
2258
|
+
carrier: 'Carrier',
|
|
2259
|
+
outId: 'OutId',
|
|
2260
|
+
sign: 'Sign',
|
|
2261
|
+
};
|
|
2262
|
+
}
|
|
2263
|
+
static types() {
|
|
2264
|
+
return {
|
|
2265
|
+
carrier: 'string',
|
|
2266
|
+
outId: 'string',
|
|
2267
|
+
sign: 'string',
|
|
2268
|
+
};
|
|
2269
|
+
}
|
|
2270
|
+
}
|
|
2271
|
+
exports.GetUAIDApplyTokenSignResponseBodyData = GetUAIDApplyTokenSignResponseBodyData;
|
|
2096
2272
|
class InvalidPhoneNumberFilterResponseBodyData extends $tea.Model {
|
|
2097
2273
|
constructor(map) {
|
|
2098
2274
|
super(map);
|
|
@@ -2340,6 +2516,7 @@ class QueryTagInfoBySelectionResponseBodyData extends $tea.Model {
|
|
|
2340
2516
|
static names() {
|
|
2341
2517
|
return {
|
|
2342
2518
|
authCodeList: 'AuthCodeList',
|
|
2519
|
+
complexityType: 'ComplexityType',
|
|
2343
2520
|
demoAddress: 'DemoAddress',
|
|
2344
2521
|
docAddress: 'DocAddress',
|
|
2345
2522
|
enumDefinitionAddress: 'EnumDefinitionAddress',
|
|
@@ -2347,6 +2524,7 @@ class QueryTagInfoBySelectionResponseBodyData extends $tea.Model {
|
|
|
2347
2524
|
industryId: 'IndustryId',
|
|
2348
2525
|
industryName: 'IndustryName',
|
|
2349
2526
|
paramList: 'ParamList',
|
|
2527
|
+
richTextDescription: 'RichTextDescription',
|
|
2350
2528
|
sceneId: 'SceneId',
|
|
2351
2529
|
sceneName: 'SceneName',
|
|
2352
2530
|
tagId: 'TagId',
|
|
@@ -2356,6 +2534,7 @@ class QueryTagInfoBySelectionResponseBodyData extends $tea.Model {
|
|
|
2356
2534
|
static types() {
|
|
2357
2535
|
return {
|
|
2358
2536
|
authCodeList: { 'type': 'array', 'itemType': 'string' },
|
|
2537
|
+
complexityType: 'string',
|
|
2359
2538
|
demoAddress: 'string',
|
|
2360
2539
|
docAddress: 'string',
|
|
2361
2540
|
enumDefinitionAddress: 'string',
|
|
@@ -2363,6 +2542,7 @@ class QueryTagInfoBySelectionResponseBodyData extends $tea.Model {
|
|
|
2363
2542
|
industryId: 'number',
|
|
2364
2543
|
industryName: 'string',
|
|
2365
2544
|
paramList: { 'type': 'array', 'itemType': QueryTagInfoBySelectionResponseBodyDataParamList },
|
|
2545
|
+
richTextDescription: 'string',
|
|
2366
2546
|
sceneId: 'number',
|
|
2367
2547
|
sceneName: 'string',
|
|
2368
2548
|
tagId: 'number',
|
|
@@ -2505,6 +2685,22 @@ class TwoElementsVerificationResponseBodyData extends $tea.Model {
|
|
|
2505
2685
|
}
|
|
2506
2686
|
}
|
|
2507
2687
|
exports.TwoElementsVerificationResponseBodyData = TwoElementsVerificationResponseBodyData;
|
|
2688
|
+
class UAIDVerificationResponseBodyData extends $tea.Model {
|
|
2689
|
+
constructor(map) {
|
|
2690
|
+
super(map);
|
|
2691
|
+
}
|
|
2692
|
+
static names() {
|
|
2693
|
+
return {
|
|
2694
|
+
uaid: 'Uaid',
|
|
2695
|
+
};
|
|
2696
|
+
}
|
|
2697
|
+
static types() {
|
|
2698
|
+
return {
|
|
2699
|
+
uaid: 'string',
|
|
2700
|
+
};
|
|
2701
|
+
}
|
|
2702
|
+
}
|
|
2703
|
+
exports.UAIDVerificationResponseBodyData = UAIDVerificationResponseBodyData;
|
|
2508
2704
|
class Client extends openapi_client_1.default {
|
|
2509
2705
|
constructor(config) {
|
|
2510
2706
|
super(config);
|
|
@@ -2521,6 +2717,15 @@ class Client extends openapi_client_1.default {
|
|
|
2521
2717
|
}
|
|
2522
2718
|
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
2523
2719
|
}
|
|
2720
|
+
/**
|
|
2721
|
+
* * 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).
|
|
2722
|
+
* * You are charged only if the value of VerifyResult is true or false and the value of ReasonCode is 0, 1, or 2.
|
|
2723
|
+
* * 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.
|
|
2724
|
+
*
|
|
2725
|
+
* @param request CompanyFourElementsVerificationRequest
|
|
2726
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
2727
|
+
* @return CompanyFourElementsVerificationResponse
|
|
2728
|
+
*/
|
|
2524
2729
|
async companyFourElementsVerificationWithOptions(request, runtime) {
|
|
2525
2730
|
tea_util_1.default.validateModel(request);
|
|
2526
2731
|
let query = {};
|
|
@@ -2564,10 +2769,27 @@ class Client extends openapi_client_1.default {
|
|
|
2564
2769
|
});
|
|
2565
2770
|
return $tea.cast(await this.callApi(params, req, runtime), new CompanyFourElementsVerificationResponse({}));
|
|
2566
2771
|
}
|
|
2772
|
+
/**
|
|
2773
|
+
* * 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).
|
|
2774
|
+
* * You are charged only if the value of VerifyResult is true or false and the value of ReasonCode is 0, 1, or 2.
|
|
2775
|
+
* * 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.
|
|
2776
|
+
*
|
|
2777
|
+
* @param request CompanyFourElementsVerificationRequest
|
|
2778
|
+
* @return CompanyFourElementsVerificationResponse
|
|
2779
|
+
*/
|
|
2567
2780
|
async companyFourElementsVerification(request) {
|
|
2568
2781
|
let runtime = new $Util.RuntimeOptions({});
|
|
2569
2782
|
return await this.companyFourElementsVerificationWithOptions(request, runtime);
|
|
2570
2783
|
}
|
|
2784
|
+
/**
|
|
2785
|
+
* * 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).
|
|
2786
|
+
* * You are charged only if the value of VerifyResult is true or false and the value of ReasonCode is 0, 1, or 2.
|
|
2787
|
+
* * 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.
|
|
2788
|
+
*
|
|
2789
|
+
* @param request CompanyThreeElementsVerificationRequest
|
|
2790
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
2791
|
+
* @return CompanyThreeElementsVerificationResponse
|
|
2792
|
+
*/
|
|
2571
2793
|
async companyThreeElementsVerificationWithOptions(request, runtime) {
|
|
2572
2794
|
tea_util_1.default.validateModel(request);
|
|
2573
2795
|
let query = {};
|
|
@@ -2608,10 +2830,27 @@ class Client extends openapi_client_1.default {
|
|
|
2608
2830
|
});
|
|
2609
2831
|
return $tea.cast(await this.callApi(params, req, runtime), new CompanyThreeElementsVerificationResponse({}));
|
|
2610
2832
|
}
|
|
2833
|
+
/**
|
|
2834
|
+
* * 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).
|
|
2835
|
+
* * You are charged only if the value of VerifyResult is true or false and the value of ReasonCode is 0, 1, or 2.
|
|
2836
|
+
* * 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.
|
|
2837
|
+
*
|
|
2838
|
+
* @param request CompanyThreeElementsVerificationRequest
|
|
2839
|
+
* @return CompanyThreeElementsVerificationResponse
|
|
2840
|
+
*/
|
|
2611
2841
|
async companyThreeElementsVerification(request) {
|
|
2612
2842
|
let runtime = new $Util.RuntimeOptions({});
|
|
2613
2843
|
return await this.companyThreeElementsVerificationWithOptions(request, runtime);
|
|
2614
2844
|
}
|
|
2845
|
+
/**
|
|
2846
|
+
* * 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).
|
|
2847
|
+
* * You are charged only if the value of VerifyResult is true or false and the value of ReasonCode is 0 or 1.
|
|
2848
|
+
* * 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.
|
|
2849
|
+
*
|
|
2850
|
+
* @param request CompanyTwoElementsVerificationRequest
|
|
2851
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
2852
|
+
* @return CompanyTwoElementsVerificationResponse
|
|
2853
|
+
*/
|
|
2615
2854
|
async companyTwoElementsVerificationWithOptions(request, runtime) {
|
|
2616
2855
|
tea_util_1.default.validateModel(request);
|
|
2617
2856
|
let query = {};
|
|
@@ -2649,10 +2888,32 @@ class Client extends openapi_client_1.default {
|
|
|
2649
2888
|
});
|
|
2650
2889
|
return $tea.cast(await this.callApi(params, req, runtime), new CompanyTwoElementsVerificationResponse({}));
|
|
2651
2890
|
}
|
|
2891
|
+
/**
|
|
2892
|
+
* * 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).
|
|
2893
|
+
* * You are charged only if the value of VerifyResult is true or false and the value of ReasonCode is 0 or 1.
|
|
2894
|
+
* * 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.
|
|
2895
|
+
*
|
|
2896
|
+
* @param request CompanyTwoElementsVerificationRequest
|
|
2897
|
+
* @return CompanyTwoElementsVerificationResponse
|
|
2898
|
+
*/
|
|
2652
2899
|
async companyTwoElementsVerification(request) {
|
|
2653
2900
|
let runtime = new $Util.RuntimeOptions({});
|
|
2654
2901
|
return await this.companyTwoElementsVerificationWithOptions(request, runtime);
|
|
2655
2902
|
}
|
|
2903
|
+
/**
|
|
2904
|
+
* * 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.**
|
|
2905
|
+
* * You are charged only if the value of Code is OK and the value of Status is not UNKNOWN.
|
|
2906
|
+
* * 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**.
|
|
2907
|
+
* * 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.
|
|
2908
|
+
* ### [](#qps)QPS limits
|
|
2909
|
+
* 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.
|
|
2910
|
+
* ### [](#)Authorization information
|
|
2911
|
+
* 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~~).
|
|
2912
|
+
*
|
|
2913
|
+
* @param request DescribeEmptyNumberRequest
|
|
2914
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
2915
|
+
* @return DescribeEmptyNumberResponse
|
|
2916
|
+
*/
|
|
2656
2917
|
async describeEmptyNumberWithOptions(request, runtime) {
|
|
2657
2918
|
tea_util_1.default.validateModel(request);
|
|
2658
2919
|
let query = {};
|
|
@@ -2690,6 +2951,19 @@ class Client extends openapi_client_1.default {
|
|
|
2690
2951
|
});
|
|
2691
2952
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeEmptyNumberResponse({}));
|
|
2692
2953
|
}
|
|
2954
|
+
/**
|
|
2955
|
+
* * 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.**
|
|
2956
|
+
* * You are charged only if the value of Code is OK and the value of Status is not UNKNOWN.
|
|
2957
|
+
* * 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**.
|
|
2958
|
+
* * 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.
|
|
2959
|
+
* ### [](#qps)QPS limits
|
|
2960
|
+
* 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.
|
|
2961
|
+
* ### [](#)Authorization information
|
|
2962
|
+
* 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~~).
|
|
2963
|
+
*
|
|
2964
|
+
* @param request DescribeEmptyNumberRequest
|
|
2965
|
+
* @return DescribeEmptyNumberResponse
|
|
2966
|
+
*/
|
|
2693
2967
|
async describeEmptyNumber(request) {
|
|
2694
2968
|
let runtime = new $Util.RuntimeOptions({});
|
|
2695
2969
|
return await this.describeEmptyNumberWithOptions(request, runtime);
|
|
@@ -2741,6 +3015,13 @@ class Client extends openapi_client_1.default {
|
|
|
2741
3015
|
let runtime = new $Util.RuntimeOptions({});
|
|
2742
3016
|
return await this.describePhoneNumberAnalysisWithOptions(request, runtime);
|
|
2743
3017
|
}
|
|
3018
|
+
/**
|
|
3019
|
+
* 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.
|
|
3020
|
+
*
|
|
3021
|
+
* @param request DescribePhoneNumberAnalysisAIRequest
|
|
3022
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3023
|
+
* @return DescribePhoneNumberAnalysisAIResponse
|
|
3024
|
+
*/
|
|
2744
3025
|
async describePhoneNumberAnalysisAIWithOptions(request, runtime) {
|
|
2745
3026
|
tea_util_1.default.validateModel(request);
|
|
2746
3027
|
let query = {};
|
|
@@ -2781,10 +3062,28 @@ class Client extends openapi_client_1.default {
|
|
|
2781
3062
|
});
|
|
2782
3063
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePhoneNumberAnalysisAIResponse({}));
|
|
2783
3064
|
}
|
|
3065
|
+
/**
|
|
3066
|
+
* 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.
|
|
3067
|
+
*
|
|
3068
|
+
* @param request DescribePhoneNumberAnalysisAIRequest
|
|
3069
|
+
* @return DescribePhoneNumberAnalysisAIResponse
|
|
3070
|
+
*/
|
|
2784
3071
|
async describePhoneNumberAnalysisAI(request) {
|
|
2785
3072
|
let runtime = new $Util.RuntimeOptions({});
|
|
2786
3073
|
return await this.describePhoneNumberAnalysisAIWithOptions(request, runtime);
|
|
2787
3074
|
}
|
|
3075
|
+
/**
|
|
3076
|
+
* @deprecated : DescribePhoneNumberAttribute is deprecated, please use Dytnsapi::2020-02-17::DescribePhoneNumberOperatorAttribute instead.
|
|
3077
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
3078
|
+
* * 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~~).
|
|
3079
|
+
* ### [](#qps)QPS limits
|
|
3080
|
+
* 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.
|
|
3081
|
+
*
|
|
3082
|
+
* @param request DescribePhoneNumberAttributeRequest
|
|
3083
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3084
|
+
* @return DescribePhoneNumberAttributeResponse
|
|
3085
|
+
*/
|
|
3086
|
+
// Deprecated
|
|
2788
3087
|
async describePhoneNumberAttributeWithOptions(request, runtime) {
|
|
2789
3088
|
tea_util_1.default.validateModel(request);
|
|
2790
3089
|
let query = {};
|
|
@@ -2816,10 +3115,31 @@ class Client extends openapi_client_1.default {
|
|
|
2816
3115
|
});
|
|
2817
3116
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePhoneNumberAttributeResponse({}));
|
|
2818
3117
|
}
|
|
3118
|
+
/**
|
|
3119
|
+
* @deprecated : DescribePhoneNumberAttribute is deprecated, please use Dytnsapi::2020-02-17::DescribePhoneNumberOperatorAttribute instead.
|
|
3120
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
3121
|
+
* * 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~~).
|
|
3122
|
+
* ### [](#qps)QPS limits
|
|
3123
|
+
* 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.
|
|
3124
|
+
*
|
|
3125
|
+
* @param request DescribePhoneNumberAttributeRequest
|
|
3126
|
+
* @return DescribePhoneNumberAttributeResponse
|
|
3127
|
+
*/
|
|
3128
|
+
// Deprecated
|
|
2819
3129
|
async describePhoneNumberAttribute(request) {
|
|
2820
3130
|
let runtime = new $Util.RuntimeOptions({});
|
|
2821
3131
|
return await this.describePhoneNumberAttributeWithOptions(request, runtime);
|
|
2822
3132
|
}
|
|
3133
|
+
/**
|
|
3134
|
+
* * 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.
|
|
3135
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
3136
|
+
* ### [](#qps)QPS limits
|
|
3137
|
+
* 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.
|
|
3138
|
+
*
|
|
3139
|
+
* @param request DescribePhoneNumberOnlineTimeRequest
|
|
3140
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3141
|
+
* @return DescribePhoneNumberOnlineTimeResponse
|
|
3142
|
+
*/
|
|
2823
3143
|
async describePhoneNumberOnlineTimeWithOptions(request, runtime) {
|
|
2824
3144
|
tea_util_1.default.validateModel(request);
|
|
2825
3145
|
let query = {};
|
|
@@ -2860,10 +3180,29 @@ class Client extends openapi_client_1.default {
|
|
|
2860
3180
|
});
|
|
2861
3181
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePhoneNumberOnlineTimeResponse({}));
|
|
2862
3182
|
}
|
|
3183
|
+
/**
|
|
3184
|
+
* * 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.
|
|
3185
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
3186
|
+
* ### [](#qps)QPS limits
|
|
3187
|
+
* 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.
|
|
3188
|
+
*
|
|
3189
|
+
* @param request DescribePhoneNumberOnlineTimeRequest
|
|
3190
|
+
* @return DescribePhoneNumberOnlineTimeResponse
|
|
3191
|
+
*/
|
|
2863
3192
|
async describePhoneNumberOnlineTime(request) {
|
|
2864
3193
|
let runtime = new $Util.RuntimeOptions({});
|
|
2865
3194
|
return await this.describePhoneNumberOnlineTimeWithOptions(request, runtime);
|
|
2866
3195
|
}
|
|
3196
|
+
/**
|
|
3197
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154008~~) of Cell Phone Number Service.
|
|
3198
|
+
* * 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~~).
|
|
3199
|
+
* * 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**.
|
|
3200
|
+
* * 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.
|
|
3201
|
+
*
|
|
3202
|
+
* @param request DescribePhoneNumberOperatorAttributeRequest
|
|
3203
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3204
|
+
* @return DescribePhoneNumberOperatorAttributeResponse
|
|
3205
|
+
*/
|
|
2867
3206
|
async describePhoneNumberOperatorAttributeWithOptions(request, runtime) {
|
|
2868
3207
|
tea_util_1.default.validateModel(request);
|
|
2869
3208
|
let query = {};
|
|
@@ -2901,10 +3240,32 @@ class Client extends openapi_client_1.default {
|
|
|
2901
3240
|
});
|
|
2902
3241
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePhoneNumberOperatorAttributeResponse({}));
|
|
2903
3242
|
}
|
|
3243
|
+
/**
|
|
3244
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154008~~) of Cell Phone Number Service.
|
|
3245
|
+
* * 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~~).
|
|
3246
|
+
* * 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**.
|
|
3247
|
+
* * 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.
|
|
3248
|
+
*
|
|
3249
|
+
* @param request DescribePhoneNumberOperatorAttributeRequest
|
|
3250
|
+
* @return DescribePhoneNumberOperatorAttributeResponse
|
|
3251
|
+
*/
|
|
2904
3252
|
async describePhoneNumberOperatorAttribute(request) {
|
|
2905
3253
|
let runtime = new $Util.RuntimeOptions({});
|
|
2906
3254
|
return await this.describePhoneNumberOperatorAttributeWithOptions(request, runtime);
|
|
2907
3255
|
}
|
|
3256
|
+
/**
|
|
3257
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
3258
|
+
* * You are charged for phone number verifications only if the value of Code is OK and the value of VerifyResult is not 0.
|
|
3259
|
+
* * 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.
|
|
3260
|
+
* ## [](#qps)QPS limits
|
|
3261
|
+
* 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.
|
|
3262
|
+
* ## [](#)Authorization information
|
|
3263
|
+
* 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~~).
|
|
3264
|
+
*
|
|
3265
|
+
* @param request DescribePhoneTwiceTelVerifyRequest
|
|
3266
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3267
|
+
* @return DescribePhoneTwiceTelVerifyResponse
|
|
3268
|
+
*/
|
|
2908
3269
|
async describePhoneTwiceTelVerifyWithOptions(request, runtime) {
|
|
2909
3270
|
tea_util_1.default.validateModel(request);
|
|
2910
3271
|
let query = {};
|
|
@@ -2945,10 +3306,87 @@ class Client extends openapi_client_1.default {
|
|
|
2945
3306
|
});
|
|
2946
3307
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePhoneTwiceTelVerifyResponse({}));
|
|
2947
3308
|
}
|
|
3309
|
+
/**
|
|
3310
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
3311
|
+
* * You are charged for phone number verifications only if the value of Code is OK and the value of VerifyResult is not 0.
|
|
3312
|
+
* * 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.
|
|
3313
|
+
* ## [](#qps)QPS limits
|
|
3314
|
+
* 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.
|
|
3315
|
+
* ## [](#)Authorization information
|
|
3316
|
+
* 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~~).
|
|
3317
|
+
*
|
|
3318
|
+
* @param request DescribePhoneTwiceTelVerifyRequest
|
|
3319
|
+
* @return DescribePhoneTwiceTelVerifyResponse
|
|
3320
|
+
*/
|
|
2948
3321
|
async describePhoneTwiceTelVerify(request) {
|
|
2949
3322
|
let runtime = new $Util.RuntimeOptions({});
|
|
2950
3323
|
return await this.describePhoneTwiceTelVerifyWithOptions(request, runtime);
|
|
2951
3324
|
}
|
|
3325
|
+
async getUAIDApplyTokenSignWithOptions(request, runtime) {
|
|
3326
|
+
tea_util_1.default.validateModel(request);
|
|
3327
|
+
let query = {};
|
|
3328
|
+
if (!tea_util_1.default.isUnset(request.authCode)) {
|
|
3329
|
+
query["AuthCode"] = request.authCode;
|
|
3330
|
+
}
|
|
3331
|
+
if (!tea_util_1.default.isUnset(request.carrier)) {
|
|
3332
|
+
query["Carrier"] = request.carrier;
|
|
3333
|
+
}
|
|
3334
|
+
if (!tea_util_1.default.isUnset(request.clientType)) {
|
|
3335
|
+
query["ClientType"] = request.clientType;
|
|
3336
|
+
}
|
|
3337
|
+
if (!tea_util_1.default.isUnset(request.format)) {
|
|
3338
|
+
query["Format"] = request.format;
|
|
3339
|
+
}
|
|
3340
|
+
if (!tea_util_1.default.isUnset(request.outId)) {
|
|
3341
|
+
query["OutId"] = request.outId;
|
|
3342
|
+
}
|
|
3343
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
3344
|
+
query["OwnerId"] = request.ownerId;
|
|
3345
|
+
}
|
|
3346
|
+
if (!tea_util_1.default.isUnset(request.paramKey)) {
|
|
3347
|
+
query["ParamKey"] = request.paramKey;
|
|
3348
|
+
}
|
|
3349
|
+
if (!tea_util_1.default.isUnset(request.paramStr)) {
|
|
3350
|
+
query["ParamStr"] = request.paramStr;
|
|
3351
|
+
}
|
|
3352
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
3353
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
3354
|
+
}
|
|
3355
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
3356
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
3357
|
+
}
|
|
3358
|
+
if (!tea_util_1.default.isUnset(request.time)) {
|
|
3359
|
+
query["Time"] = request.time;
|
|
3360
|
+
}
|
|
3361
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3362
|
+
query: openapi_util_1.default.query(query),
|
|
3363
|
+
});
|
|
3364
|
+
let params = new $OpenApi.Params({
|
|
3365
|
+
action: "GetUAIDApplyTokenSign",
|
|
3366
|
+
version: "2020-02-17",
|
|
3367
|
+
protocol: "HTTPS",
|
|
3368
|
+
pathname: "/",
|
|
3369
|
+
method: "POST",
|
|
3370
|
+
authType: "AK",
|
|
3371
|
+
style: "RPC",
|
|
3372
|
+
reqBodyType: "formData",
|
|
3373
|
+
bodyType: "json",
|
|
3374
|
+
});
|
|
3375
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetUAIDApplyTokenSignResponse({}));
|
|
3376
|
+
}
|
|
3377
|
+
async getUAIDApplyTokenSign(request) {
|
|
3378
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3379
|
+
return await this.getUAIDApplyTokenSignWithOptions(request, runtime);
|
|
3380
|
+
}
|
|
3381
|
+
/**
|
|
3382
|
+
* 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.
|
|
3383
|
+
* ### [](#qps)QPS limits
|
|
3384
|
+
* 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.
|
|
3385
|
+
*
|
|
3386
|
+
* @param request InvalidPhoneNumberFilterRequest
|
|
3387
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3388
|
+
* @return InvalidPhoneNumberFilterResponse
|
|
3389
|
+
*/
|
|
2952
3390
|
async invalidPhoneNumberFilterWithOptions(request, runtime) {
|
|
2953
3391
|
tea_util_1.default.validateModel(request);
|
|
2954
3392
|
let query = {};
|
|
@@ -2986,6 +3424,14 @@ class Client extends openapi_client_1.default {
|
|
|
2986
3424
|
});
|
|
2987
3425
|
return $tea.cast(await this.callApi(params, req, runtime), new InvalidPhoneNumberFilterResponse({}));
|
|
2988
3426
|
}
|
|
3427
|
+
/**
|
|
3428
|
+
* 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.
|
|
3429
|
+
* ### [](#qps)QPS limits
|
|
3430
|
+
* 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.
|
|
3431
|
+
*
|
|
3432
|
+
* @param request InvalidPhoneNumberFilterRequest
|
|
3433
|
+
* @return InvalidPhoneNumberFilterResponse
|
|
3434
|
+
*/
|
|
2989
3435
|
async invalidPhoneNumberFilter(request) {
|
|
2990
3436
|
let runtime = new $Util.RuntimeOptions({});
|
|
2991
3437
|
return await this.invalidPhoneNumberFilterWithOptions(request, runtime);
|
|
@@ -3031,6 +3477,15 @@ class Client extends openapi_client_1.default {
|
|
|
3031
3477
|
let runtime = new $Util.RuntimeOptions({});
|
|
3032
3478
|
return await this.phoneNumberConvertServiceWithOptions(request, runtime);
|
|
3033
3479
|
}
|
|
3480
|
+
/**
|
|
3481
|
+
* 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.
|
|
3482
|
+
* ### [](#qps)QPS limits
|
|
3483
|
+
* 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.
|
|
3484
|
+
*
|
|
3485
|
+
* @param request PhoneNumberEncryptRequest
|
|
3486
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3487
|
+
* @return PhoneNumberEncryptResponse
|
|
3488
|
+
*/
|
|
3034
3489
|
async phoneNumberEncryptWithOptions(request, runtime) {
|
|
3035
3490
|
tea_util_1.default.validateModel(request);
|
|
3036
3491
|
let query = {};
|
|
@@ -3068,10 +3523,29 @@ class Client extends openapi_client_1.default {
|
|
|
3068
3523
|
});
|
|
3069
3524
|
return $tea.cast(await this.callApi(params, req, runtime), new PhoneNumberEncryptResponse({}));
|
|
3070
3525
|
}
|
|
3526
|
+
/**
|
|
3527
|
+
* 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.
|
|
3528
|
+
* ### [](#qps)QPS limits
|
|
3529
|
+
* 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.
|
|
3530
|
+
*
|
|
3531
|
+
* @param request PhoneNumberEncryptRequest
|
|
3532
|
+
* @return PhoneNumberEncryptResponse
|
|
3533
|
+
*/
|
|
3071
3534
|
async phoneNumberEncrypt(request) {
|
|
3072
3535
|
let runtime = new $Util.RuntimeOptions({});
|
|
3073
3536
|
return await this.phoneNumberEncryptWithOptions(request, runtime);
|
|
3074
3537
|
}
|
|
3538
|
+
/**
|
|
3539
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
3540
|
+
* * 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~~).
|
|
3541
|
+
* * 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.
|
|
3542
|
+
* ### [](#qps)QPS limits
|
|
3543
|
+
* 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.
|
|
3544
|
+
*
|
|
3545
|
+
* @param request PhoneNumberStatusForAccountRequest
|
|
3546
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3547
|
+
* @return PhoneNumberStatusForAccountResponse
|
|
3548
|
+
*/
|
|
3075
3549
|
async phoneNumberStatusForAccountWithOptions(request, runtime) {
|
|
3076
3550
|
tea_util_1.default.validateModel(request);
|
|
3077
3551
|
let query = {};
|
|
@@ -3109,10 +3583,31 @@ class Client extends openapi_client_1.default {
|
|
|
3109
3583
|
});
|
|
3110
3584
|
return $tea.cast(await this.callApi(params, req, runtime), new PhoneNumberStatusForAccountResponse({}));
|
|
3111
3585
|
}
|
|
3586
|
+
/**
|
|
3587
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
3588
|
+
* * 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~~).
|
|
3589
|
+
* * 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.
|
|
3590
|
+
* ### [](#qps)QPS limits
|
|
3591
|
+
* 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.
|
|
3592
|
+
*
|
|
3593
|
+
* @param request PhoneNumberStatusForAccountRequest
|
|
3594
|
+
* @return PhoneNumberStatusForAccountResponse
|
|
3595
|
+
*/
|
|
3112
3596
|
async phoneNumberStatusForAccount(request) {
|
|
3113
3597
|
let runtime = new $Util.RuntimeOptions({});
|
|
3114
3598
|
return await this.phoneNumberStatusForAccountWithOptions(request, runtime);
|
|
3115
3599
|
}
|
|
3600
|
+
/**
|
|
3601
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
3602
|
+
* * 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~~).
|
|
3603
|
+
* * 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.
|
|
3604
|
+
* ### [](#qps)QPS limits
|
|
3605
|
+
* 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.
|
|
3606
|
+
*
|
|
3607
|
+
* @param request PhoneNumberStatusForPublicRequest
|
|
3608
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3609
|
+
* @return PhoneNumberStatusForPublicResponse
|
|
3610
|
+
*/
|
|
3116
3611
|
async phoneNumberStatusForPublicWithOptions(request, runtime) {
|
|
3117
3612
|
tea_util_1.default.validateModel(request);
|
|
3118
3613
|
let query = {};
|
|
@@ -3150,10 +3645,31 @@ class Client extends openapi_client_1.default {
|
|
|
3150
3645
|
});
|
|
3151
3646
|
return $tea.cast(await this.callApi(params, req, runtime), new PhoneNumberStatusForPublicResponse({}));
|
|
3152
3647
|
}
|
|
3648
|
+
/**
|
|
3649
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
3650
|
+
* * 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~~).
|
|
3651
|
+
* * 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.
|
|
3652
|
+
* ### [](#qps)QPS limits
|
|
3653
|
+
* 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.
|
|
3654
|
+
*
|
|
3655
|
+
* @param request PhoneNumberStatusForPublicRequest
|
|
3656
|
+
* @return PhoneNumberStatusForPublicResponse
|
|
3657
|
+
*/
|
|
3153
3658
|
async phoneNumberStatusForPublic(request) {
|
|
3154
3659
|
let runtime = new $Util.RuntimeOptions({});
|
|
3155
3660
|
return await this.phoneNumberStatusForPublicWithOptions(request, runtime);
|
|
3156
3661
|
}
|
|
3662
|
+
/**
|
|
3663
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
3664
|
+
* * 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~~).
|
|
3665
|
+
* * 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.
|
|
3666
|
+
* ### [](#qps)QPS limits
|
|
3667
|
+
* 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.
|
|
3668
|
+
*
|
|
3669
|
+
* @param request PhoneNumberStatusForRealRequest
|
|
3670
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3671
|
+
* @return PhoneNumberStatusForRealResponse
|
|
3672
|
+
*/
|
|
3157
3673
|
async phoneNumberStatusForRealWithOptions(request, runtime) {
|
|
3158
3674
|
tea_util_1.default.validateModel(request);
|
|
3159
3675
|
let query = {};
|
|
@@ -3191,10 +3707,31 @@ class Client extends openapi_client_1.default {
|
|
|
3191
3707
|
});
|
|
3192
3708
|
return $tea.cast(await this.callApi(params, req, runtime), new PhoneNumberStatusForRealResponse({}));
|
|
3193
3709
|
}
|
|
3710
|
+
/**
|
|
3711
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
3712
|
+
* * 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~~).
|
|
3713
|
+
* * 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.
|
|
3714
|
+
* ### [](#qps)QPS limits
|
|
3715
|
+
* 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.
|
|
3716
|
+
*
|
|
3717
|
+
* @param request PhoneNumberStatusForRealRequest
|
|
3718
|
+
* @return PhoneNumberStatusForRealResponse
|
|
3719
|
+
*/
|
|
3194
3720
|
async phoneNumberStatusForReal(request) {
|
|
3195
3721
|
let runtime = new $Util.RuntimeOptions({});
|
|
3196
3722
|
return await this.phoneNumberStatusForRealWithOptions(request, runtime);
|
|
3197
3723
|
}
|
|
3724
|
+
/**
|
|
3725
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
3726
|
+
* * 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~~).
|
|
3727
|
+
* * 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.
|
|
3728
|
+
* ### [](#qps)QPS limits
|
|
3729
|
+
* 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.
|
|
3730
|
+
*
|
|
3731
|
+
* @param request PhoneNumberStatusForSmsRequest
|
|
3732
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3733
|
+
* @return PhoneNumberStatusForSmsResponse
|
|
3734
|
+
*/
|
|
3198
3735
|
async phoneNumberStatusForSmsWithOptions(request, runtime) {
|
|
3199
3736
|
tea_util_1.default.validateModel(request);
|
|
3200
3737
|
let query = {};
|
|
@@ -3232,10 +3769,32 @@ class Client extends openapi_client_1.default {
|
|
|
3232
3769
|
});
|
|
3233
3770
|
return $tea.cast(await this.callApi(params, req, runtime), new PhoneNumberStatusForSmsResponse({}));
|
|
3234
3771
|
}
|
|
3772
|
+
/**
|
|
3773
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
3774
|
+
* * 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~~).
|
|
3775
|
+
* * 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.
|
|
3776
|
+
* ### [](#qps)QPS limits
|
|
3777
|
+
* 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.
|
|
3778
|
+
*
|
|
3779
|
+
* @param request PhoneNumberStatusForSmsRequest
|
|
3780
|
+
* @return PhoneNumberStatusForSmsResponse
|
|
3781
|
+
*/
|
|
3235
3782
|
async phoneNumberStatusForSms(request) {
|
|
3236
3783
|
let runtime = new $Util.RuntimeOptions({});
|
|
3237
3784
|
return await this.phoneNumberStatusForSmsWithOptions(request, runtime);
|
|
3238
3785
|
}
|
|
3786
|
+
/**
|
|
3787
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
3788
|
+
* * You are charged only if the value of Code is OK and the value of IsPrivacyNumber is true or false.
|
|
3789
|
+
* * 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~~).
|
|
3790
|
+
* * 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.
|
|
3791
|
+
* ### [](#qps)QPS limits
|
|
3792
|
+
* 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.
|
|
3793
|
+
*
|
|
3794
|
+
* @param request PhoneNumberStatusForVirtualRequest
|
|
3795
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3796
|
+
* @return PhoneNumberStatusForVirtualResponse
|
|
3797
|
+
*/
|
|
3239
3798
|
async phoneNumberStatusForVirtualWithOptions(request, runtime) {
|
|
3240
3799
|
tea_util_1.default.validateModel(request);
|
|
3241
3800
|
let query = {};
|
|
@@ -3273,10 +3832,32 @@ class Client extends openapi_client_1.default {
|
|
|
3273
3832
|
});
|
|
3274
3833
|
return $tea.cast(await this.callApi(params, req, runtime), new PhoneNumberStatusForVirtualResponse({}));
|
|
3275
3834
|
}
|
|
3835
|
+
/**
|
|
3836
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
3837
|
+
* * You are charged only if the value of Code is OK and the value of IsPrivacyNumber is true or false.
|
|
3838
|
+
* * 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~~).
|
|
3839
|
+
* * 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.
|
|
3840
|
+
* ### [](#qps)QPS limits
|
|
3841
|
+
* 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.
|
|
3842
|
+
*
|
|
3843
|
+
* @param request PhoneNumberStatusForVirtualRequest
|
|
3844
|
+
* @return PhoneNumberStatusForVirtualResponse
|
|
3845
|
+
*/
|
|
3276
3846
|
async phoneNumberStatusForVirtual(request) {
|
|
3277
3847
|
let runtime = new $Util.RuntimeOptions({});
|
|
3278
3848
|
return await this.phoneNumberStatusForVirtualWithOptions(request, runtime);
|
|
3279
3849
|
}
|
|
3850
|
+
/**
|
|
3851
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
3852
|
+
* * 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~~).
|
|
3853
|
+
* * 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.
|
|
3854
|
+
* ### [](#qps)QPS limits
|
|
3855
|
+
* 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.
|
|
3856
|
+
*
|
|
3857
|
+
* @param request PhoneNumberStatusForVoiceRequest
|
|
3858
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3859
|
+
* @return PhoneNumberStatusForVoiceResponse
|
|
3860
|
+
*/
|
|
3280
3861
|
async phoneNumberStatusForVoiceWithOptions(request, runtime) {
|
|
3281
3862
|
tea_util_1.default.validateModel(request);
|
|
3282
3863
|
let query = {};
|
|
@@ -3314,6 +3895,16 @@ class Client extends openapi_client_1.default {
|
|
|
3314
3895
|
});
|
|
3315
3896
|
return $tea.cast(await this.callApi(params, req, runtime), new PhoneNumberStatusForVoiceResponse({}));
|
|
3316
3897
|
}
|
|
3898
|
+
/**
|
|
3899
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
3900
|
+
* * 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~~).
|
|
3901
|
+
* * 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.
|
|
3902
|
+
* ### [](#qps)QPS limits
|
|
3903
|
+
* 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.
|
|
3904
|
+
*
|
|
3905
|
+
* @param request PhoneNumberStatusForVoiceRequest
|
|
3906
|
+
* @return PhoneNumberStatusForVoiceResponse
|
|
3907
|
+
*/
|
|
3317
3908
|
async phoneNumberStatusForVoice(request) {
|
|
3318
3909
|
let runtime = new $Util.RuntimeOptions({});
|
|
3319
3910
|
return await this.phoneNumberStatusForVoiceWithOptions(request, runtime);
|
|
@@ -3514,6 +4105,17 @@ class Client extends openapi_client_1.default {
|
|
|
3514
4105
|
let runtime = new $Util.RuntimeOptions({});
|
|
3515
4106
|
return await this.queryUsageStatisticsByTagIdWithOptions(request, runtime);
|
|
3516
4107
|
}
|
|
4108
|
+
/**
|
|
4109
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
4110
|
+
* * 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.
|
|
4111
|
+
* * You are charged only if the value of Code is OK and the value of IsConsistent is not 2.
|
|
4112
|
+
* ### [](#qps)QPS limits
|
|
4113
|
+
* 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.
|
|
4114
|
+
*
|
|
4115
|
+
* @param request ThreeElementsVerificationRequest
|
|
4116
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4117
|
+
* @return ThreeElementsVerificationResponse
|
|
4118
|
+
*/
|
|
3517
4119
|
async threeElementsVerificationWithOptions(request, runtime) {
|
|
3518
4120
|
tea_util_1.default.validateModel(request);
|
|
3519
4121
|
let query = {};
|
|
@@ -3557,10 +4159,31 @@ class Client extends openapi_client_1.default {
|
|
|
3557
4159
|
});
|
|
3558
4160
|
return $tea.cast(await this.callApi(params, req, runtime), new ThreeElementsVerificationResponse({}));
|
|
3559
4161
|
}
|
|
4162
|
+
/**
|
|
4163
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
4164
|
+
* * 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.
|
|
4165
|
+
* * You are charged only if the value of Code is OK and the value of IsConsistent is not 2.
|
|
4166
|
+
* ### [](#qps)QPS limits
|
|
4167
|
+
* 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.
|
|
4168
|
+
*
|
|
4169
|
+
* @param request ThreeElementsVerificationRequest
|
|
4170
|
+
* @return ThreeElementsVerificationResponse
|
|
4171
|
+
*/
|
|
3560
4172
|
async threeElementsVerification(request) {
|
|
3561
4173
|
let runtime = new $Util.RuntimeOptions({});
|
|
3562
4174
|
return await this.threeElementsVerificationWithOptions(request, runtime);
|
|
3563
4175
|
}
|
|
4176
|
+
/**
|
|
4177
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
4178
|
+
* * 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.
|
|
4179
|
+
* * You are charged only if the value of Code is OK and the value of IsConsistent is not 2.
|
|
4180
|
+
* ### [](#qps)QPS limits
|
|
4181
|
+
* 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.
|
|
4182
|
+
*
|
|
4183
|
+
* @param request TwoElementsVerificationRequest
|
|
4184
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4185
|
+
* @return TwoElementsVerificationResponse
|
|
4186
|
+
*/
|
|
3564
4187
|
async twoElementsVerificationWithOptions(request, runtime) {
|
|
3565
4188
|
tea_util_1.default.validateModel(request);
|
|
3566
4189
|
let query = {};
|
|
@@ -3601,10 +4224,70 @@ class Client extends openapi_client_1.default {
|
|
|
3601
4224
|
});
|
|
3602
4225
|
return $tea.cast(await this.callApi(params, req, runtime), new TwoElementsVerificationResponse({}));
|
|
3603
4226
|
}
|
|
4227
|
+
/**
|
|
4228
|
+
* * Before you call this operation, make sure that you are familiar with the [billing](~~154751~~) of Cell Phone Number Service.
|
|
4229
|
+
* * 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.
|
|
4230
|
+
* * You are charged only if the value of Code is OK and the value of IsConsistent is not 2.
|
|
4231
|
+
* ### [](#qps)QPS limits
|
|
4232
|
+
* 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.
|
|
4233
|
+
*
|
|
4234
|
+
* @param request TwoElementsVerificationRequest
|
|
4235
|
+
* @return TwoElementsVerificationResponse
|
|
4236
|
+
*/
|
|
3604
4237
|
async twoElementsVerification(request) {
|
|
3605
4238
|
let runtime = new $Util.RuntimeOptions({});
|
|
3606
4239
|
return await this.twoElementsVerificationWithOptions(request, runtime);
|
|
3607
4240
|
}
|
|
4241
|
+
async uAIDVerificationWithOptions(request, runtime) {
|
|
4242
|
+
tea_util_1.default.validateModel(request);
|
|
4243
|
+
let query = {};
|
|
4244
|
+
if (!tea_util_1.default.isUnset(request.authCode)) {
|
|
4245
|
+
query["AuthCode"] = request.authCode;
|
|
4246
|
+
}
|
|
4247
|
+
if (!tea_util_1.default.isUnset(request.carrier)) {
|
|
4248
|
+
query["Carrier"] = request.carrier;
|
|
4249
|
+
}
|
|
4250
|
+
if (!tea_util_1.default.isUnset(request.ip)) {
|
|
4251
|
+
query["Ip"] = request.ip;
|
|
4252
|
+
}
|
|
4253
|
+
if (!tea_util_1.default.isUnset(request.outId)) {
|
|
4254
|
+
query["OutId"] = request.outId;
|
|
4255
|
+
}
|
|
4256
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
4257
|
+
query["OwnerId"] = request.ownerId;
|
|
4258
|
+
}
|
|
4259
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
4260
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
4261
|
+
}
|
|
4262
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
4263
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
4264
|
+
}
|
|
4265
|
+
if (!tea_util_1.default.isUnset(request.token)) {
|
|
4266
|
+
query["Token"] = request.token;
|
|
4267
|
+
}
|
|
4268
|
+
if (!tea_util_1.default.isUnset(request.userGrantId)) {
|
|
4269
|
+
query["UserGrantId"] = request.userGrantId;
|
|
4270
|
+
}
|
|
4271
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4272
|
+
query: openapi_util_1.default.query(query),
|
|
4273
|
+
});
|
|
4274
|
+
let params = new $OpenApi.Params({
|
|
4275
|
+
action: "UAIDVerification",
|
|
4276
|
+
version: "2020-02-17",
|
|
4277
|
+
protocol: "HTTPS",
|
|
4278
|
+
pathname: "/",
|
|
4279
|
+
method: "POST",
|
|
4280
|
+
authType: "AK",
|
|
4281
|
+
style: "RPC",
|
|
4282
|
+
reqBodyType: "formData",
|
|
4283
|
+
bodyType: "json",
|
|
4284
|
+
});
|
|
4285
|
+
return $tea.cast(await this.callApi(params, req, runtime), new UAIDVerificationResponse({}));
|
|
4286
|
+
}
|
|
4287
|
+
async uAIDVerification(request) {
|
|
4288
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
4289
|
+
return await this.uAIDVerificationWithOptions(request, runtime);
|
|
4290
|
+
}
|
|
3608
4291
|
}
|
|
3609
4292
|
exports.default = Client;
|
|
3610
4293
|
//# sourceMappingURL=client.js.map
|