@alicloud/dytnsapi20200217 2.2.0 → 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.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,100 @@ 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;
1974
+ class CompanyFourElementsVerificationResponseBodyDataDetailInfo extends $tea.Model {
1975
+ constructor(map) {
1976
+ super(map);
1977
+ }
1978
+ static names() {
1979
+ return {
1980
+ enterpriseStatus: 'EnterpriseStatus',
1981
+ openTime: 'OpenTime',
1982
+ };
1983
+ }
1984
+ static types() {
1985
+ return {
1986
+ enterpriseStatus: 'string',
1987
+ openTime: 'string',
1988
+ };
1989
+ }
1990
+ }
1991
+ exports.CompanyFourElementsVerificationResponseBodyDataDetailInfo = CompanyFourElementsVerificationResponseBodyDataDetailInfo;
1818
1992
  class CompanyFourElementsVerificationResponseBodyData extends $tea.Model {
1819
1993
  constructor(map) {
1820
1994
  super(map);
@@ -1822,19 +1996,39 @@ class CompanyFourElementsVerificationResponseBodyData extends $tea.Model {
1822
1996
  static names() {
1823
1997
  return {
1824
1998
  detailInfo: 'DetailInfo',
1999
+ inconsistentData: 'InconsistentData',
1825
2000
  reasonCode: 'ReasonCode',
1826
2001
  verifyResult: 'VerifyResult',
1827
2002
  };
1828
2003
  }
1829
2004
  static types() {
1830
2005
  return {
1831
- detailInfo: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
2006
+ detailInfo: CompanyFourElementsVerificationResponseBodyDataDetailInfo,
2007
+ inconsistentData: { 'type': 'array', 'itemType': 'string' },
1832
2008
  reasonCode: 'number',
1833
2009
  verifyResult: 'string',
1834
2010
  };
1835
2011
  }
1836
2012
  }
1837
2013
  exports.CompanyFourElementsVerificationResponseBodyData = CompanyFourElementsVerificationResponseBodyData;
2014
+ class CompanyThreeElementsVerificationResponseBodyDataDetailInfo extends $tea.Model {
2015
+ constructor(map) {
2016
+ super(map);
2017
+ }
2018
+ static names() {
2019
+ return {
2020
+ enterpriseStatus: 'EnterpriseStatus',
2021
+ openTime: 'OpenTime',
2022
+ };
2023
+ }
2024
+ static types() {
2025
+ return {
2026
+ enterpriseStatus: 'string',
2027
+ openTime: 'string',
2028
+ };
2029
+ }
2030
+ }
2031
+ exports.CompanyThreeElementsVerificationResponseBodyDataDetailInfo = CompanyThreeElementsVerificationResponseBodyDataDetailInfo;
1838
2032
  class CompanyThreeElementsVerificationResponseBodyData extends $tea.Model {
1839
2033
  constructor(map) {
1840
2034
  super(map);
@@ -1842,19 +2036,39 @@ class CompanyThreeElementsVerificationResponseBodyData extends $tea.Model {
1842
2036
  static names() {
1843
2037
  return {
1844
2038
  detailInfo: 'DetailInfo',
2039
+ inconsistentData: 'InconsistentData',
1845
2040
  reasonCode: 'ReasonCode',
1846
2041
  verifyResult: 'VerifyResult',
1847
2042
  };
1848
2043
  }
1849
2044
  static types() {
1850
2045
  return {
1851
- detailInfo: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
2046
+ detailInfo: CompanyThreeElementsVerificationResponseBodyDataDetailInfo,
2047
+ inconsistentData: { 'type': 'array', 'itemType': 'string' },
1852
2048
  reasonCode: 'number',
1853
2049
  verifyResult: 'string',
1854
2050
  };
1855
2051
  }
1856
2052
  }
1857
2053
  exports.CompanyThreeElementsVerificationResponseBodyData = CompanyThreeElementsVerificationResponseBodyData;
2054
+ class CompanyTwoElementsVerificationResponseBodyDataDetailInfo extends $tea.Model {
2055
+ constructor(map) {
2056
+ super(map);
2057
+ }
2058
+ static names() {
2059
+ return {
2060
+ enterpriseStatus: 'EnterpriseStatus',
2061
+ openTime: 'OpenTime',
2062
+ };
2063
+ }
2064
+ static types() {
2065
+ return {
2066
+ enterpriseStatus: 'string',
2067
+ openTime: 'string',
2068
+ };
2069
+ }
2070
+ }
2071
+ exports.CompanyTwoElementsVerificationResponseBodyDataDetailInfo = CompanyTwoElementsVerificationResponseBodyDataDetailInfo;
1858
2072
  class CompanyTwoElementsVerificationResponseBodyData extends $tea.Model {
1859
2073
  constructor(map) {
1860
2074
  super(map);
@@ -1862,13 +2076,15 @@ class CompanyTwoElementsVerificationResponseBodyData extends $tea.Model {
1862
2076
  static names() {
1863
2077
  return {
1864
2078
  detailInfo: 'DetailInfo',
2079
+ inconsistentData: 'InconsistentData',
1865
2080
  reasonCode: 'ReasonCode',
1866
2081
  verifyResult: 'VerifyResult',
1867
2082
  };
1868
2083
  }
1869
2084
  static types() {
1870
2085
  return {
1871
- detailInfo: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
2086
+ detailInfo: CompanyTwoElementsVerificationResponseBodyDataDetailInfo,
2087
+ inconsistentData: { 'type': 'array', 'itemType': 'string' },
1872
2088
  reasonCode: 'string',
1873
2089
  verifyResult: 'string',
1874
2090
  };
@@ -2033,6 +2249,26 @@ class DescribePhoneTwiceTelVerifyResponseBodyData extends $tea.Model {
2033
2249
  }
2034
2250
  }
2035
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;
2036
2272
  class InvalidPhoneNumberFilterResponseBodyData extends $tea.Model {
2037
2273
  constructor(map) {
2038
2274
  super(map);
@@ -2280,6 +2516,7 @@ class QueryTagInfoBySelectionResponseBodyData extends $tea.Model {
2280
2516
  static names() {
2281
2517
  return {
2282
2518
  authCodeList: 'AuthCodeList',
2519
+ complexityType: 'ComplexityType',
2283
2520
  demoAddress: 'DemoAddress',
2284
2521
  docAddress: 'DocAddress',
2285
2522
  enumDefinitionAddress: 'EnumDefinitionAddress',
@@ -2287,6 +2524,7 @@ class QueryTagInfoBySelectionResponseBodyData extends $tea.Model {
2287
2524
  industryId: 'IndustryId',
2288
2525
  industryName: 'IndustryName',
2289
2526
  paramList: 'ParamList',
2527
+ richTextDescription: 'RichTextDescription',
2290
2528
  sceneId: 'SceneId',
2291
2529
  sceneName: 'SceneName',
2292
2530
  tagId: 'TagId',
@@ -2296,6 +2534,7 @@ class QueryTagInfoBySelectionResponseBodyData extends $tea.Model {
2296
2534
  static types() {
2297
2535
  return {
2298
2536
  authCodeList: { 'type': 'array', 'itemType': 'string' },
2537
+ complexityType: 'string',
2299
2538
  demoAddress: 'string',
2300
2539
  docAddress: 'string',
2301
2540
  enumDefinitionAddress: 'string',
@@ -2303,6 +2542,7 @@ class QueryTagInfoBySelectionResponseBodyData extends $tea.Model {
2303
2542
  industryId: 'number',
2304
2543
  industryName: 'string',
2305
2544
  paramList: { 'type': 'array', 'itemType': QueryTagInfoBySelectionResponseBodyDataParamList },
2545
+ richTextDescription: 'string',
2306
2546
  sceneId: 'number',
2307
2547
  sceneName: 'string',
2308
2548
  tagId: 'number',
@@ -2445,6 +2685,22 @@ class TwoElementsVerificationResponseBodyData extends $tea.Model {
2445
2685
  }
2446
2686
  }
2447
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;
2448
2704
  class Client extends openapi_client_1.default {
2449
2705
  constructor(config) {
2450
2706
  super(config);
@@ -2461,6 +2717,15 @@ class Client extends openapi_client_1.default {
2461
2717
  }
2462
2718
  return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
2463
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
+ */
2464
2729
  async companyFourElementsVerificationWithOptions(request, runtime) {
2465
2730
  tea_util_1.default.validateModel(request);
2466
2731
  let query = {};
@@ -2504,10 +2769,27 @@ class Client extends openapi_client_1.default {
2504
2769
  });
2505
2770
  return $tea.cast(await this.callApi(params, req, runtime), new CompanyFourElementsVerificationResponse({}));
2506
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
+ */
2507
2780
  async companyFourElementsVerification(request) {
2508
2781
  let runtime = new $Util.RuntimeOptions({});
2509
2782
  return await this.companyFourElementsVerificationWithOptions(request, runtime);
2510
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
+ */
2511
2793
  async companyThreeElementsVerificationWithOptions(request, runtime) {
2512
2794
  tea_util_1.default.validateModel(request);
2513
2795
  let query = {};
@@ -2548,10 +2830,27 @@ class Client extends openapi_client_1.default {
2548
2830
  });
2549
2831
  return $tea.cast(await this.callApi(params, req, runtime), new CompanyThreeElementsVerificationResponse({}));
2550
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
+ */
2551
2841
  async companyThreeElementsVerification(request) {
2552
2842
  let runtime = new $Util.RuntimeOptions({});
2553
2843
  return await this.companyThreeElementsVerificationWithOptions(request, runtime);
2554
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
+ */
2555
2854
  async companyTwoElementsVerificationWithOptions(request, runtime) {
2556
2855
  tea_util_1.default.validateModel(request);
2557
2856
  let query = {};
@@ -2589,10 +2888,32 @@ class Client extends openapi_client_1.default {
2589
2888
  });
2590
2889
  return $tea.cast(await this.callApi(params, req, runtime), new CompanyTwoElementsVerificationResponse({}));
2591
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
+ */
2592
2899
  async companyTwoElementsVerification(request) {
2593
2900
  let runtime = new $Util.RuntimeOptions({});
2594
2901
  return await this.companyTwoElementsVerificationWithOptions(request, runtime);
2595
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
+ */
2596
2917
  async describeEmptyNumberWithOptions(request, runtime) {
2597
2918
  tea_util_1.default.validateModel(request);
2598
2919
  let query = {};
@@ -2630,6 +2951,19 @@ class Client extends openapi_client_1.default {
2630
2951
  });
2631
2952
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeEmptyNumberResponse({}));
2632
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
+ */
2633
2967
  async describeEmptyNumber(request) {
2634
2968
  let runtime = new $Util.RuntimeOptions({});
2635
2969
  return await this.describeEmptyNumberWithOptions(request, runtime);
@@ -2681,6 +3015,13 @@ class Client extends openapi_client_1.default {
2681
3015
  let runtime = new $Util.RuntimeOptions({});
2682
3016
  return await this.describePhoneNumberAnalysisWithOptions(request, runtime);
2683
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
+ */
2684
3025
  async describePhoneNumberAnalysisAIWithOptions(request, runtime) {
2685
3026
  tea_util_1.default.validateModel(request);
2686
3027
  let query = {};
@@ -2721,10 +3062,28 @@ class Client extends openapi_client_1.default {
2721
3062
  });
2722
3063
  return $tea.cast(await this.callApi(params, req, runtime), new DescribePhoneNumberAnalysisAIResponse({}));
2723
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
+ */
2724
3071
  async describePhoneNumberAnalysisAI(request) {
2725
3072
  let runtime = new $Util.RuntimeOptions({});
2726
3073
  return await this.describePhoneNumberAnalysisAIWithOptions(request, runtime);
2727
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
2728
3087
  async describePhoneNumberAttributeWithOptions(request, runtime) {
2729
3088
  tea_util_1.default.validateModel(request);
2730
3089
  let query = {};
@@ -2756,10 +3115,31 @@ class Client extends openapi_client_1.default {
2756
3115
  });
2757
3116
  return $tea.cast(await this.callApi(params, req, runtime), new DescribePhoneNumberAttributeResponse({}));
2758
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
2759
3129
  async describePhoneNumberAttribute(request) {
2760
3130
  let runtime = new $Util.RuntimeOptions({});
2761
3131
  return await this.describePhoneNumberAttributeWithOptions(request, runtime);
2762
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
+ */
2763
3143
  async describePhoneNumberOnlineTimeWithOptions(request, runtime) {
2764
3144
  tea_util_1.default.validateModel(request);
2765
3145
  let query = {};
@@ -2800,10 +3180,29 @@ class Client extends openapi_client_1.default {
2800
3180
  });
2801
3181
  return $tea.cast(await this.callApi(params, req, runtime), new DescribePhoneNumberOnlineTimeResponse({}));
2802
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
+ */
2803
3192
  async describePhoneNumberOnlineTime(request) {
2804
3193
  let runtime = new $Util.RuntimeOptions({});
2805
3194
  return await this.describePhoneNumberOnlineTimeWithOptions(request, runtime);
2806
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
+ */
2807
3206
  async describePhoneNumberOperatorAttributeWithOptions(request, runtime) {
2808
3207
  tea_util_1.default.validateModel(request);
2809
3208
  let query = {};
@@ -2841,10 +3240,32 @@ class Client extends openapi_client_1.default {
2841
3240
  });
2842
3241
  return $tea.cast(await this.callApi(params, req, runtime), new DescribePhoneNumberOperatorAttributeResponse({}));
2843
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
+ */
2844
3252
  async describePhoneNumberOperatorAttribute(request) {
2845
3253
  let runtime = new $Util.RuntimeOptions({});
2846
3254
  return await this.describePhoneNumberOperatorAttributeWithOptions(request, runtime);
2847
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
+ */
2848
3269
  async describePhoneTwiceTelVerifyWithOptions(request, runtime) {
2849
3270
  tea_util_1.default.validateModel(request);
2850
3271
  let query = {};
@@ -2885,10 +3306,87 @@ class Client extends openapi_client_1.default {
2885
3306
  });
2886
3307
  return $tea.cast(await this.callApi(params, req, runtime), new DescribePhoneTwiceTelVerifyResponse({}));
2887
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
+ */
2888
3321
  async describePhoneTwiceTelVerify(request) {
2889
3322
  let runtime = new $Util.RuntimeOptions({});
2890
3323
  return await this.describePhoneTwiceTelVerifyWithOptions(request, runtime);
2891
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
+ */
2892
3390
  async invalidPhoneNumberFilterWithOptions(request, runtime) {
2893
3391
  tea_util_1.default.validateModel(request);
2894
3392
  let query = {};
@@ -2926,6 +3424,14 @@ class Client extends openapi_client_1.default {
2926
3424
  });
2927
3425
  return $tea.cast(await this.callApi(params, req, runtime), new InvalidPhoneNumberFilterResponse({}));
2928
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
+ */
2929
3435
  async invalidPhoneNumberFilter(request) {
2930
3436
  let runtime = new $Util.RuntimeOptions({});
2931
3437
  return await this.invalidPhoneNumberFilterWithOptions(request, runtime);
@@ -2971,6 +3477,15 @@ class Client extends openapi_client_1.default {
2971
3477
  let runtime = new $Util.RuntimeOptions({});
2972
3478
  return await this.phoneNumberConvertServiceWithOptions(request, runtime);
2973
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
+ */
2974
3489
  async phoneNumberEncryptWithOptions(request, runtime) {
2975
3490
  tea_util_1.default.validateModel(request);
2976
3491
  let query = {};
@@ -3008,10 +3523,29 @@ class Client extends openapi_client_1.default {
3008
3523
  });
3009
3524
  return $tea.cast(await this.callApi(params, req, runtime), new PhoneNumberEncryptResponse({}));
3010
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
+ */
3011
3534
  async phoneNumberEncrypt(request) {
3012
3535
  let runtime = new $Util.RuntimeOptions({});
3013
3536
  return await this.phoneNumberEncryptWithOptions(request, runtime);
3014
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
+ */
3015
3549
  async phoneNumberStatusForAccountWithOptions(request, runtime) {
3016
3550
  tea_util_1.default.validateModel(request);
3017
3551
  let query = {};
@@ -3049,10 +3583,31 @@ class Client extends openapi_client_1.default {
3049
3583
  });
3050
3584
  return $tea.cast(await this.callApi(params, req, runtime), new PhoneNumberStatusForAccountResponse({}));
3051
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
+ */
3052
3596
  async phoneNumberStatusForAccount(request) {
3053
3597
  let runtime = new $Util.RuntimeOptions({});
3054
3598
  return await this.phoneNumberStatusForAccountWithOptions(request, runtime);
3055
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
+ */
3056
3611
  async phoneNumberStatusForPublicWithOptions(request, runtime) {
3057
3612
  tea_util_1.default.validateModel(request);
3058
3613
  let query = {};
@@ -3090,10 +3645,31 @@ class Client extends openapi_client_1.default {
3090
3645
  });
3091
3646
  return $tea.cast(await this.callApi(params, req, runtime), new PhoneNumberStatusForPublicResponse({}));
3092
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
+ */
3093
3658
  async phoneNumberStatusForPublic(request) {
3094
3659
  let runtime = new $Util.RuntimeOptions({});
3095
3660
  return await this.phoneNumberStatusForPublicWithOptions(request, runtime);
3096
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
+ */
3097
3673
  async phoneNumberStatusForRealWithOptions(request, runtime) {
3098
3674
  tea_util_1.default.validateModel(request);
3099
3675
  let query = {};
@@ -3131,10 +3707,31 @@ class Client extends openapi_client_1.default {
3131
3707
  });
3132
3708
  return $tea.cast(await this.callApi(params, req, runtime), new PhoneNumberStatusForRealResponse({}));
3133
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
+ */
3134
3720
  async phoneNumberStatusForReal(request) {
3135
3721
  let runtime = new $Util.RuntimeOptions({});
3136
3722
  return await this.phoneNumberStatusForRealWithOptions(request, runtime);
3137
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
+ */
3138
3735
  async phoneNumberStatusForSmsWithOptions(request, runtime) {
3139
3736
  tea_util_1.default.validateModel(request);
3140
3737
  let query = {};
@@ -3172,10 +3769,32 @@ class Client extends openapi_client_1.default {
3172
3769
  });
3173
3770
  return $tea.cast(await this.callApi(params, req, runtime), new PhoneNumberStatusForSmsResponse({}));
3174
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
+ */
3175
3782
  async phoneNumberStatusForSms(request) {
3176
3783
  let runtime = new $Util.RuntimeOptions({});
3177
3784
  return await this.phoneNumberStatusForSmsWithOptions(request, runtime);
3178
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
+ */
3179
3798
  async phoneNumberStatusForVirtualWithOptions(request, runtime) {
3180
3799
  tea_util_1.default.validateModel(request);
3181
3800
  let query = {};
@@ -3213,10 +3832,32 @@ class Client extends openapi_client_1.default {
3213
3832
  });
3214
3833
  return $tea.cast(await this.callApi(params, req, runtime), new PhoneNumberStatusForVirtualResponse({}));
3215
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
+ */
3216
3846
  async phoneNumberStatusForVirtual(request) {
3217
3847
  let runtime = new $Util.RuntimeOptions({});
3218
3848
  return await this.phoneNumberStatusForVirtualWithOptions(request, runtime);
3219
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
+ */
3220
3861
  async phoneNumberStatusForVoiceWithOptions(request, runtime) {
3221
3862
  tea_util_1.default.validateModel(request);
3222
3863
  let query = {};
@@ -3254,6 +3895,16 @@ class Client extends openapi_client_1.default {
3254
3895
  });
3255
3896
  return $tea.cast(await this.callApi(params, req, runtime), new PhoneNumberStatusForVoiceResponse({}));
3256
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
+ */
3257
3908
  async phoneNumberStatusForVoice(request) {
3258
3909
  let runtime = new $Util.RuntimeOptions({});
3259
3910
  return await this.phoneNumberStatusForVoiceWithOptions(request, runtime);
@@ -3454,6 +4105,17 @@ class Client extends openapi_client_1.default {
3454
4105
  let runtime = new $Util.RuntimeOptions({});
3455
4106
  return await this.queryUsageStatisticsByTagIdWithOptions(request, runtime);
3456
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
+ */
3457
4119
  async threeElementsVerificationWithOptions(request, runtime) {
3458
4120
  tea_util_1.default.validateModel(request);
3459
4121
  let query = {};
@@ -3497,10 +4159,31 @@ class Client extends openapi_client_1.default {
3497
4159
  });
3498
4160
  return $tea.cast(await this.callApi(params, req, runtime), new ThreeElementsVerificationResponse({}));
3499
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
+ */
3500
4172
  async threeElementsVerification(request) {
3501
4173
  let runtime = new $Util.RuntimeOptions({});
3502
4174
  return await this.threeElementsVerificationWithOptions(request, runtime);
3503
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
+ */
3504
4187
  async twoElementsVerificationWithOptions(request, runtime) {
3505
4188
  tea_util_1.default.validateModel(request);
3506
4189
  let query = {};
@@ -3541,10 +4224,70 @@ class Client extends openapi_client_1.default {
3541
4224
  });
3542
4225
  return $tea.cast(await this.callApi(params, req, runtime), new TwoElementsVerificationResponse({}));
3543
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
+ */
3544
4237
  async twoElementsVerification(request) {
3545
4238
  let runtime = new $Util.RuntimeOptions({});
3546
4239
  return await this.twoElementsVerificationWithOptions(request, runtime);
3547
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
+ }
3548
4291
  }
3549
4292
  exports.default = Client;
3550
4293
  //# sourceMappingURL=client.js.map