@alicloud/dytnsapi20200217 3.2.0 → 3.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (228) hide show
  1. package/dist/client.d.ts +556 -226
  2. package/dist/client.js +660 -227
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CertNoThreeElementVerificationRequest.d.ts +15 -2
  5. package/dist/models/CertNoThreeElementVerificationRequest.js.map +1 -1
  6. package/dist/models/CertNoThreeElementVerificationResponseBody.d.ts +33 -0
  7. package/dist/models/CertNoThreeElementVerificationResponseBody.js.map +1 -1
  8. package/dist/models/CertNoTwoElementVerificationRequest.d.ts +10 -2
  9. package/dist/models/CertNoTwoElementVerificationRequest.js.map +1 -1
  10. package/dist/models/CertNoTwoElementVerificationResponseBody.d.ts +25 -0
  11. package/dist/models/CertNoTwoElementVerificationResponseBody.js.map +1 -1
  12. package/dist/models/CompanyFourElementsVerificationRequest.d.ts +10 -13
  13. package/dist/models/CompanyFourElementsVerificationRequest.js.map +1 -1
  14. package/dist/models/CompanyFourElementsVerificationResponseBody.d.ts +21 -18
  15. package/dist/models/CompanyFourElementsVerificationResponseBody.js.map +1 -1
  16. package/dist/models/CompanyThreeElementsVerificationRequest.d.ts +7 -8
  17. package/dist/models/CompanyThreeElementsVerificationRequest.js.map +1 -1
  18. package/dist/models/CompanyThreeElementsVerificationResponseBody.d.ts +26 -20
  19. package/dist/models/CompanyThreeElementsVerificationResponseBody.js.map +1 -1
  20. package/dist/models/CompanyTwoElementsVerificationRequest.d.ts +5 -5
  21. package/dist/models/CompanyTwoElementsVerificationResponseBody.d.ts +26 -16
  22. package/dist/models/CompanyTwoElementsVerificationResponseBody.js.map +1 -1
  23. package/dist/models/DeleteContactsRequest.d.ts +2 -0
  24. package/dist/models/DeleteContactsRequest.js.map +1 -1
  25. package/dist/models/DeleteContactsResponseBody.d.ts +17 -0
  26. package/dist/models/DeleteContactsResponseBody.js.map +1 -1
  27. package/dist/models/DescribeEmptyNumberRequest.d.ts +10 -7
  28. package/dist/models/DescribeEmptyNumberRequest.js.map +1 -1
  29. package/dist/models/DescribeEmptyNumberResponseBody.d.ts +16 -12
  30. package/dist/models/DescribeEmptyNumberResponseBody.js.map +1 -1
  31. package/dist/models/DescribePhoneNumberAnalysisAirequest.d.ts +5 -5
  32. package/dist/models/DescribePhoneNumberAnalysisAiresponseBody.d.ts +16 -10
  33. package/dist/models/DescribePhoneNumberAnalysisAiresponseBody.js.map +1 -1
  34. package/dist/models/DescribePhoneNumberAnalysisRequest.d.ts +29 -2
  35. package/dist/models/DescribePhoneNumberAnalysisRequest.js.map +1 -1
  36. package/dist/models/DescribePhoneNumberAnalysisResponseBody.d.ts +36 -1
  37. package/dist/models/DescribePhoneNumberAnalysisResponseBody.js.map +1 -1
  38. package/dist/models/DescribePhoneNumberAnalysisTransparentResponseBody.d.ts +0 -16
  39. package/dist/models/DescribePhoneNumberAnalysisTransparentResponseBody.js.map +1 -1
  40. package/dist/models/DescribePhoneNumberAttributeRequest.d.ts +0 -5
  41. package/dist/models/DescribePhoneNumberAttributeRequest.js.map +1 -1
  42. package/dist/models/DescribePhoneNumberAttributeResponseBody.d.ts +0 -67
  43. package/dist/models/DescribePhoneNumberAttributeResponseBody.js.map +1 -1
  44. package/dist/models/DescribePhoneNumberOnlineTimeRequest.d.ts +13 -14
  45. package/dist/models/DescribePhoneNumberOnlineTimeRequest.js.map +1 -1
  46. package/dist/models/DescribePhoneNumberOnlineTimeResponseBody.d.ts +21 -21
  47. package/dist/models/DescribePhoneNumberOnlineTimeResponseBody.js.map +1 -1
  48. package/dist/models/DescribePhoneNumberOperatorAttributeRequest.d.ts +20 -12
  49. package/dist/models/DescribePhoneNumberOperatorAttributeRequest.js.map +1 -1
  50. package/dist/models/DescribePhoneNumberOperatorAttributeResponseBody.d.ts +30 -22
  51. package/dist/models/DescribePhoneNumberOperatorAttributeResponseBody.js.map +1 -1
  52. package/dist/models/DescribePhoneTwiceTelVerifyRequest.d.ts +18 -14
  53. package/dist/models/DescribePhoneTwiceTelVerifyRequest.js.map +1 -1
  54. package/dist/models/DescribePhoneTwiceTelVerifyResponseBody.d.ts +29 -19
  55. package/dist/models/DescribePhoneTwiceTelVerifyResponseBody.js.map +1 -1
  56. package/dist/models/GetUaidapplyTokenSignRequest.d.ts +35 -0
  57. package/dist/models/GetUaidapplyTokenSignRequest.js.map +1 -1
  58. package/dist/models/GetUaidapplyTokenSignResponseBody.d.ts +33 -0
  59. package/dist/models/GetUaidapplyTokenSignResponseBody.js.map +1 -1
  60. package/dist/models/HistoryThreeElementsVerificationRequest.d.ts +103 -0
  61. package/dist/models/HistoryThreeElementsVerificationRequest.js +70 -0
  62. package/dist/models/HistoryThreeElementsVerificationRequest.js.map +1 -0
  63. package/dist/models/HistoryThreeElementsVerificationResponse.d.ts +19 -0
  64. package/dist/models/HistoryThreeElementsVerificationResponse.js +69 -0
  65. package/dist/models/HistoryThreeElementsVerificationResponse.js.map +1 -0
  66. package/dist/models/HistoryThreeElementsVerificationResponseBody.d.ts +94 -0
  67. package/dist/models/HistoryThreeElementsVerificationResponseBody.js +90 -0
  68. package/dist/models/HistoryThreeElementsVerificationResponseBody.js.map +1 -0
  69. package/dist/models/InvalidPhoneNumberFilterRequest.d.ts +2 -2
  70. package/dist/models/InvalidPhoneNumberFilterResponseBody.d.ts +29 -19
  71. package/dist/models/InvalidPhoneNumberFilterResponseBody.js.map +1 -1
  72. package/dist/models/ListContactsRequest.d.ts +6 -0
  73. package/dist/models/ListContactsRequest.js.map +1 -1
  74. package/dist/models/ListContactsResponseBody.d.ts +60 -0
  75. package/dist/models/ListContactsResponseBody.js.map +1 -1
  76. package/dist/models/PhoneNumberEncryptRequest.d.ts +12 -4
  77. package/dist/models/PhoneNumberEncryptRequest.js.map +1 -1
  78. package/dist/models/PhoneNumberEncryptResponseBody.d.ts +16 -6
  79. package/dist/models/PhoneNumberEncryptResponseBody.js.map +1 -1
  80. package/dist/models/PhoneNumberStatusForAccountRequest.d.ts +20 -10
  81. package/dist/models/PhoneNumberStatusForAccountRequest.js.map +1 -1
  82. package/dist/models/PhoneNumberStatusForAccountResponseBody.d.ts +28 -19
  83. package/dist/models/PhoneNumberStatusForAccountResponseBody.js.map +1 -1
  84. package/dist/models/PhoneNumberStatusForPublicRequest.d.ts +17 -9
  85. package/dist/models/PhoneNumberStatusForPublicRequest.js.map +1 -1
  86. package/dist/models/PhoneNumberStatusForPublicResponseBody.d.ts +32 -22
  87. package/dist/models/PhoneNumberStatusForPublicResponseBody.js.map +1 -1
  88. package/dist/models/PhoneNumberStatusForRealRequest.d.ts +19 -9
  89. package/dist/models/PhoneNumberStatusForRealRequest.js.map +1 -1
  90. package/dist/models/PhoneNumberStatusForRealResponseBody.d.ts +33 -22
  91. package/dist/models/PhoneNumberStatusForRealResponseBody.js.map +1 -1
  92. package/dist/models/PhoneNumberStatusForSmsRequest.d.ts +20 -10
  93. package/dist/models/PhoneNumberStatusForSmsRequest.js.map +1 -1
  94. package/dist/models/PhoneNumberStatusForSmsResponseBody.d.ts +29 -20
  95. package/dist/models/PhoneNumberStatusForSmsResponseBody.js.map +1 -1
  96. package/dist/models/PhoneNumberStatusForVoiceRequest.d.ts +19 -9
  97. package/dist/models/PhoneNumberStatusForVoiceRequest.js.map +1 -1
  98. package/dist/models/PhoneNumberStatusForVoiceResponseBody.d.ts +31 -21
  99. package/dist/models/PhoneNumberStatusForVoiceResponseBody.js.map +1 -1
  100. package/dist/models/QueryAvailableAuthCodeRequest.d.ts +1 -1
  101. package/dist/models/QueryAvailableAuthCodeResponseBody.d.ts +8 -7
  102. package/dist/models/QueryAvailableAuthCodeResponseBody.js.map +1 -1
  103. package/dist/models/QueryPackageTypeInfoRequest.d.ts +1 -1
  104. package/dist/models/QueryPackageTypeInfoResponseBody.d.ts +31 -4
  105. package/dist/models/QueryPackageTypeInfoResponseBody.js.map +1 -1
  106. package/dist/models/QueryTagApplyRuleResponseBody.d.ts +28 -15
  107. package/dist/models/QueryTagApplyRuleResponseBody.js.map +1 -1
  108. package/dist/models/QueryTagInfoBySelectionResponseBody.d.ts +33 -18
  109. package/dist/models/QueryTagInfoBySelectionResponseBody.js.map +1 -1
  110. package/dist/models/QueryTagListPageResponseBody.d.ts +23 -21
  111. package/dist/models/QueryTagListPageResponseBody.js.map +1 -1
  112. package/dist/models/QueryTaskListRequest.d.ts +24 -1
  113. package/dist/models/QueryTaskListRequest.js.map +1 -1
  114. package/dist/models/QueryTaskListResponseBody.d.ts +31 -0
  115. package/dist/models/QueryTaskListResponseBody.js.map +1 -1
  116. package/dist/models/QueryTaskListShrinkRequest.d.ts +24 -1
  117. package/dist/models/QueryTaskListShrinkRequest.js.map +1 -1
  118. package/dist/models/QueryUsageStatisticsByTagIdRequest.d.ts +5 -5
  119. package/dist/models/QueryUsageStatisticsByTagIdResponseBody.d.ts +23 -24
  120. package/dist/models/QueryUsageStatisticsByTagIdResponseBody.js.map +1 -1
  121. package/dist/models/SaveContactsRequest.d.ts +26 -0
  122. package/dist/models/SaveContactsRequest.js.map +1 -1
  123. package/dist/models/SaveContactsResponseBody.d.ts +12 -0
  124. package/dist/models/SaveContactsResponseBody.js.map +1 -1
  125. package/dist/models/ThreeElementsVerificationRequest.d.ts +19 -17
  126. package/dist/models/ThreeElementsVerificationRequest.js.map +1 -1
  127. package/dist/models/ThreeElementsVerificationResponseBody.d.ts +23 -21
  128. package/dist/models/ThreeElementsVerificationResponseBody.js.map +1 -1
  129. package/dist/models/TwoElementsVerificationRequest.d.ts +15 -13
  130. package/dist/models/TwoElementsVerificationRequest.js.map +1 -1
  131. package/dist/models/TwoElementsVerificationResponseBody.d.ts +26 -22
  132. package/dist/models/TwoElementsVerificationResponseBody.js.map +1 -1
  133. package/dist/models/UaidverificationRequest.d.ts +28 -2
  134. package/dist/models/UaidverificationRequest.js.map +1 -1
  135. package/dist/models/UaidverificationResponseBody.d.ts +21 -0
  136. package/dist/models/UaidverificationResponseBody.js.map +1 -1
  137. package/dist/models/UpdateContactsRequest.d.ts +36 -0
  138. package/dist/models/UpdateContactsRequest.js.map +1 -1
  139. package/dist/models/UpdateContactsResponseBody.d.ts +12 -0
  140. package/dist/models/UpdateContactsResponseBody.js.map +1 -1
  141. package/dist/models/VirtualThreeElementsVerificationRequest.d.ts +53 -0
  142. package/dist/models/VirtualThreeElementsVerificationRequest.js +66 -0
  143. package/dist/models/VirtualThreeElementsVerificationRequest.js.map +1 -0
  144. package/dist/models/VirtualThreeElementsVerificationResponse.d.ts +19 -0
  145. package/dist/models/VirtualThreeElementsVerificationResponse.js +69 -0
  146. package/dist/models/VirtualThreeElementsVerificationResponse.js.map +1 -0
  147. package/dist/models/VirtualThreeElementsVerificationResponseBody.d.ts +35 -0
  148. package/dist/models/VirtualThreeElementsVerificationResponseBody.js +88 -0
  149. package/dist/models/VirtualThreeElementsVerificationResponseBody.js.map +1 -0
  150. package/dist/models/model.d.ts +8 -0
  151. package/dist/models/model.js +20 -4
  152. package/dist/models/model.js.map +1 -1
  153. package/package.json +1 -1
  154. package/src/client.ts +676 -227
  155. package/src/models/CertNoThreeElementVerificationRequest.ts +15 -2
  156. package/src/models/CertNoThreeElementVerificationResponseBody.ts +33 -0
  157. package/src/models/CertNoTwoElementVerificationRequest.ts +10 -2
  158. package/src/models/CertNoTwoElementVerificationResponseBody.ts +25 -0
  159. package/src/models/CompanyFourElementsVerificationRequest.ts +10 -13
  160. package/src/models/CompanyFourElementsVerificationResponseBody.ts +21 -18
  161. package/src/models/CompanyThreeElementsVerificationRequest.ts +7 -8
  162. package/src/models/CompanyThreeElementsVerificationResponseBody.ts +26 -20
  163. package/src/models/CompanyTwoElementsVerificationRequest.ts +5 -5
  164. package/src/models/CompanyTwoElementsVerificationResponseBody.ts +26 -16
  165. package/src/models/DeleteContactsRequest.ts +2 -0
  166. package/src/models/DeleteContactsResponseBody.ts +17 -0
  167. package/src/models/DescribeEmptyNumberRequest.ts +10 -7
  168. package/src/models/DescribeEmptyNumberResponseBody.ts +16 -12
  169. package/src/models/DescribePhoneNumberAnalysisAirequest.ts +5 -5
  170. package/src/models/DescribePhoneNumberAnalysisAiresponseBody.ts +16 -10
  171. package/src/models/DescribePhoneNumberAnalysisRequest.ts +29 -2
  172. package/src/models/DescribePhoneNumberAnalysisResponseBody.ts +36 -1
  173. package/src/models/DescribePhoneNumberAnalysisTransparentResponseBody.ts +0 -16
  174. package/src/models/DescribePhoneNumberAttributeRequest.ts +0 -5
  175. package/src/models/DescribePhoneNumberAttributeResponseBody.ts +0 -67
  176. package/src/models/DescribePhoneNumberOnlineTimeRequest.ts +13 -14
  177. package/src/models/DescribePhoneNumberOnlineTimeResponseBody.ts +21 -21
  178. package/src/models/DescribePhoneNumberOperatorAttributeRequest.ts +20 -12
  179. package/src/models/DescribePhoneNumberOperatorAttributeResponseBody.ts +30 -22
  180. package/src/models/DescribePhoneTwiceTelVerifyRequest.ts +19 -15
  181. package/src/models/DescribePhoneTwiceTelVerifyResponseBody.ts +29 -19
  182. package/src/models/GetUaidapplyTokenSignRequest.ts +35 -0
  183. package/src/models/GetUaidapplyTokenSignResponseBody.ts +33 -0
  184. package/src/models/HistoryThreeElementsVerificationRequest.ts +128 -0
  185. package/src/models/HistoryThreeElementsVerificationResponse.ts +40 -0
  186. package/src/models/HistoryThreeElementsVerificationResponseBody.ts +130 -0
  187. package/src/models/InvalidPhoneNumberFilterRequest.ts +2 -2
  188. package/src/models/InvalidPhoneNumberFilterResponseBody.ts +29 -19
  189. package/src/models/ListContactsRequest.ts +6 -0
  190. package/src/models/ListContactsResponseBody.ts +60 -0
  191. package/src/models/PhoneNumberEncryptRequest.ts +12 -4
  192. package/src/models/PhoneNumberEncryptResponseBody.ts +16 -6
  193. package/src/models/PhoneNumberStatusForAccountRequest.ts +20 -10
  194. package/src/models/PhoneNumberStatusForAccountResponseBody.ts +28 -19
  195. package/src/models/PhoneNumberStatusForPublicRequest.ts +17 -9
  196. package/src/models/PhoneNumberStatusForPublicResponseBody.ts +32 -22
  197. package/src/models/PhoneNumberStatusForRealRequest.ts +19 -9
  198. package/src/models/PhoneNumberStatusForRealResponseBody.ts +33 -22
  199. package/src/models/PhoneNumberStatusForSmsRequest.ts +20 -10
  200. package/src/models/PhoneNumberStatusForSmsResponseBody.ts +29 -20
  201. package/src/models/PhoneNumberStatusForVoiceRequest.ts +19 -9
  202. package/src/models/PhoneNumberStatusForVoiceResponseBody.ts +31 -21
  203. package/src/models/QueryAvailableAuthCodeRequest.ts +1 -1
  204. package/src/models/QueryAvailableAuthCodeResponseBody.ts +8 -7
  205. package/src/models/QueryPackageTypeInfoRequest.ts +1 -1
  206. package/src/models/QueryPackageTypeInfoResponseBody.ts +31 -4
  207. package/src/models/QueryTagApplyRuleResponseBody.ts +28 -15
  208. package/src/models/QueryTagInfoBySelectionResponseBody.ts +33 -18
  209. package/src/models/QueryTagListPageResponseBody.ts +23 -21
  210. package/src/models/QueryTaskListRequest.ts +24 -1
  211. package/src/models/QueryTaskListResponseBody.ts +31 -0
  212. package/src/models/QueryTaskListShrinkRequest.ts +24 -1
  213. package/src/models/QueryUsageStatisticsByTagIdRequest.ts +5 -5
  214. package/src/models/QueryUsageStatisticsByTagIdResponseBody.ts +23 -24
  215. package/src/models/SaveContactsRequest.ts +26 -0
  216. package/src/models/SaveContactsResponseBody.ts +12 -0
  217. package/src/models/ThreeElementsVerificationRequest.ts +19 -17
  218. package/src/models/ThreeElementsVerificationResponseBody.ts +23 -21
  219. package/src/models/TwoElementsVerificationRequest.ts +15 -13
  220. package/src/models/TwoElementsVerificationResponseBody.ts +26 -22
  221. package/src/models/UaidverificationRequest.ts +28 -2
  222. package/src/models/UaidverificationResponseBody.ts +21 -0
  223. package/src/models/UpdateContactsRequest.ts +36 -0
  224. package/src/models/UpdateContactsResponseBody.ts +12 -0
  225. package/src/models/VirtualThreeElementsVerificationRequest.ts +74 -0
  226. package/src/models/VirtualThreeElementsVerificationResponse.ts +40 -0
  227. package/src/models/VirtualThreeElementsVerificationResponseBody.ts +69 -0
  228. package/src/models/model.ts +8 -0
@@ -4,17 +4,34 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class DeleteContactsResponseBody extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The response code. `OK` indicates a successful request.
9
+ *
7
10
  * @example
8
11
  * OK
9
12
  */
10
13
  code?: string;
14
+ /**
15
+ * @remarks
16
+ * Indicates whether the operation succeeded. Valid values:
17
+ *
18
+ * - true
19
+ *
20
+ * - false
21
+ */
11
22
  data?: boolean;
12
23
  /**
24
+ * @remarks
25
+ * The response message.
26
+ *
13
27
  * @example
14
28
  * OK
15
29
  */
16
30
  message?: string;
17
31
  /**
32
+ * @remarks
33
+ * The request ID.
34
+ *
18
35
  * @example
19
36
  * CC3BB6D2-2FDF-4321-9DCE-B38165CE4C47
20
37
  */
@@ -7,7 +7,7 @@ export class DescribeEmptyNumberRequest extends $dara.Model {
7
7
  * @remarks
8
8
  * The authorization code.
9
9
  *
10
- * > On the **My Applications** page in the [Cell Phone Number Service console](https://dytns.console.aliyun.com/analysis/apply), you can obtain the authorization code (also known as authorization ID).
10
+ * > On the **My Applications** page of the [Cell Phone Number Service console](https://dytns.console.aliyun.com/analysis/apply), obtain the authorization ID, which is the authorization code.
11
11
  *
12
12
  * This parameter is required.
13
13
  *
@@ -17,9 +17,10 @@ export class DescribeEmptyNumberRequest extends $dara.Model {
17
17
  authCode?: string;
18
18
  /**
19
19
  * @remarks
20
- * The phone number to be queried.
20
+ * The phone number to query.
21
21
  *
22
- * > You can query only one phone number a time.
22
+ *
23
+ * > Only single-number queries are supported.
23
24
  *
24
25
  * This parameter is required.
25
26
  *
@@ -29,11 +30,13 @@ export class DescribeEmptyNumberRequest extends $dara.Model {
29
30
  inputNumber?: string;
30
31
  /**
31
32
  * @remarks
32
- * The encryption method of the phone number. Valid values:
33
+ * The encryption method for the phone number. Valid values:
34
+ *
35
+ * - **NORMAL**: no encryption.
36
+ *
37
+ * - **MD5**
33
38
  *
34
- * * **NORMAL**: The phone number is not encrypted.
35
- * * **MD5**
36
- * * **SHA256**
39
+ * - **SHA256**.
37
40
  *
38
41
  * This parameter is required.
39
42
  *
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribeEmptyNumberResponseBodyData extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The specified phone number.
8
+ * 传入的手机号。
9
9
  *
10
10
  * @example
11
11
  * 189****1234
@@ -13,12 +13,15 @@ export class DescribeEmptyNumberResponseBodyData extends $dara.Model {
13
13
  number?: string;
14
14
  /**
15
15
  * @remarks
16
- * The returned status for the queried phone number. Valid values:
16
+ * 检测手机号返回状态。取值:
17
17
  *
18
- * * **EMPTY**: The queried phone number is a nonexistent number.
19
- * * **NORMAL**: The queried phone number is valid.
20
- * * **SUSPECT_EMPTY**: The queried phone number is suspected to be a nonexistent number.
21
- * * **UNKNOWN**: The queried phone number is unknown.
18
+ * - **EMPTY**:空号。
19
+ *
20
+ * - **NORMAL**:正常。
21
+ *
22
+ * - **SUSPECT_EMPTY**:疑似空号。
23
+ *
24
+ * - **UNKNOWN**:未知。
22
25
  *
23
26
  * @example
24
27
  * EMPTY
@@ -50,10 +53,11 @@ export class DescribeEmptyNumberResponseBodyData extends $dara.Model {
50
53
  export class DescribeEmptyNumberResponseBody extends $dara.Model {
51
54
  /**
52
55
  * @remarks
53
- * The HTTP status code. Valid values:
56
+ * 返回状态码。取值:
57
+ *
58
+ * - **OK**:成功。
54
59
  *
55
- * * **OK**: The request is successful.
56
- * * **InvalidPhoneNumber.Check**: The phone number is invalid.
60
+ * - **InvalidPhoneNumber.Check**:手机号非法。
57
61
  *
58
62
  * @example
59
63
  * OK
@@ -61,12 +65,12 @@ export class DescribeEmptyNumberResponseBody extends $dara.Model {
61
65
  code?: string;
62
66
  /**
63
67
  * @remarks
64
- * The response parameters.
68
+ * 返回结果。
65
69
  */
66
70
  data?: DescribeEmptyNumberResponseBodyData;
67
71
  /**
68
72
  * @remarks
69
- * The returned message.
73
+ * 状态码的描述。
70
74
  *
71
75
  * @example
72
76
  * OK
@@ -74,7 +78,7 @@ export class DescribeEmptyNumberResponseBody extends $dara.Model {
74
78
  message?: string;
75
79
  /**
76
80
  * @remarks
77
- * The unique request ID. It is a common parameter and can be used to troubleshoot issues.
81
+ * 公共参数,每个请求返回的ID都是唯一的,可用于排查和定位问题。
78
82
  *
79
83
  * @example
80
84
  * CC3BB6D2-2FDF-4321-9DCE-B38165CE4C47
@@ -7,7 +7,7 @@ export class DescribePhoneNumberAnalysisAIRequest extends $dara.Model {
7
7
  * @remarks
8
8
  * The authorization code.
9
9
  *
10
- * > 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 obtain an authorization code.
10
+ * > In **Cell Phone Number Service** -> [**Tag Square**](https://dytns.console.aliyun.com/analysis/square), select a tag and submit a usage application. After the application is approved, you will receive the authorization code.
11
11
  *
12
12
  * This parameter is required.
13
13
  *
@@ -17,7 +17,7 @@ export class DescribePhoneNumberAnalysisAIRequest extends $dara.Model {
17
17
  authCode?: string;
18
18
  /**
19
19
  * @remarks
20
- * The phone number to be queried.
20
+ * The phone number to query.
21
21
  *
22
22
  * This parameter is required.
23
23
  *
@@ -27,7 +27,7 @@ export class DescribePhoneNumberAnalysisAIRequest extends $dara.Model {
27
27
  inputNumber?: string;
28
28
  /**
29
29
  * @remarks
30
- * The model parameter configuration. This field is required by some labels.
30
+ * The model parameter configuration (required by some tag capabilities).
31
31
  *
32
32
  * @example
33
33
  * {"trainingJobId": "17**********48"}
@@ -36,9 +36,9 @@ export class DescribePhoneNumberAnalysisAIRequest extends $dara.Model {
36
36
  ownerId?: number;
37
37
  /**
38
38
  * @remarks
39
- * The score threshold for the phone number. Valid values: **0 to 100**.
39
+ * The phone number score threshold. Valid values: **0 to 100**.
40
40
  *
41
- * > The system provided by Alibaba Cloud determines whether to accept the specified score threshold. When the system does not accept the specified score threshold, the value of this field is invalid.
41
+ * > Whether to accept the specified score threshold is determined by the server. When the specified score threshold is not accepted, the data entered in this field is invalid.
42
42
  *
43
43
  * @example
44
44
  * 96
@@ -5,11 +5,11 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribePhoneNumberAnalysisAIResponseBodyData extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The returned code.
8
+ * The returned result code.
9
9
  *
10
- * * YES: The specified phone number is valid.
11
- * * NO: The specified phone number is invalid.
12
- * * UNKNOWN: The specified phone number is unknown
10
+ * - YES: valid
11
+ * - NO: invalid
12
+ * - UNKNOWN: unknown
13
13
  *
14
14
  * @example
15
15
  * YES
@@ -17,7 +17,7 @@ export class DescribePhoneNumberAnalysisAIResponseBodyData extends $dara.Model {
17
17
  code?: string;
18
18
  /**
19
19
  * @remarks
20
- * The specified phone number.
20
+ * The phone number that was passed in.
21
21
  *
22
22
  * @example
23
23
  * 187****5620
@@ -47,12 +47,18 @@ export class DescribePhoneNumberAnalysisAIResponseBodyData extends $dara.Model {
47
47
  }
48
48
 
49
49
  export class DescribePhoneNumberAnalysisAIResponseBody extends $dara.Model {
50
- accessDeniedDetail?: string;
51
50
  /**
52
51
  * @remarks
53
- * The response code. Valid values:
52
+ * The details about the access denial.
54
53
  *
55
- * * OK: The request is successful.
54
+ * @example
55
+ * -
56
+ */
57
+ accessDeniedDetail?: string;
58
+ /**
59
+ * @remarks
60
+ * The request status code. Valid values:
61
+ * - OK: success
56
62
  *
57
63
  * @example
58
64
  * OK
@@ -60,12 +66,12 @@ export class DescribePhoneNumberAnalysisAIResponseBody extends $dara.Model {
60
66
  code?: string;
61
67
  /**
62
68
  * @remarks
63
- * The response parameters.
69
+ * The returned result.
64
70
  */
65
71
  data?: DescribePhoneNumberAnalysisAIResponseBodyData;
66
72
  /**
67
73
  * @remarks
68
- * The returned message.
74
+ * The description of the returned status code.
69
75
  *
70
76
  * @example
71
77
  * OK
@@ -5,6 +5,10 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribePhoneNumberAnalysisRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
+ * The authorization code.
9
+ *
10
+ * > Log on to the [Phone Number Service console](https://dytns.console.aliyun.com/analysis/apply), go to the **My Applications** page, and obtain the authorization ID, which is the authorization code.
11
+ *
8
12
  * This parameter is required.
9
13
  *
10
14
  * @example
@@ -13,24 +17,47 @@ export class DescribePhoneNumberAnalysisRequest extends $dara.Model {
13
17
  authCode?: string;
14
18
  /**
15
19
  * @remarks
20
+ * The phone number to be queried.
21
+ *
16
22
  * This parameter is required.
17
23
  *
18
24
  * @example
19
- * 1310000****
25
+ * 187****5620
20
26
  */
21
27
  inputNumber?: string;
22
28
  /**
29
+ * @remarks
30
+ * The encryption method of the phone number. Valid values:
31
+ *
32
+ * - **NORMAL**: no encryption
33
+ *
34
+ * - **MD5**
35
+ *
36
+ * - **SHA256**
37
+ *
23
38
  * @example
24
- * MD5
39
+ * NORMAL
25
40
  */
26
41
  mask?: string;
27
42
  /**
43
+ * @remarks
44
+ * The type of the phone number. Valid values:
45
+ *
46
+ * - **0**: mobile phone number
47
+ *
48
+ * - **1**: mobile IMEI number
49
+ *
28
50
  * @example
29
51
  * 0
30
52
  */
31
53
  numberType?: number;
32
54
  ownerId?: number;
33
55
  /**
56
+ * @remarks
57
+ * The score threshold of the phone number. Valid values: **0 to 100**.
58
+ *
59
+ * >Notice: Whether the specified score threshold is accepted is determined by the server. When the specified score threshold is not accepted, the data entered in this field is invalid.
60
+ *
34
61
  * @example
35
62
  * 10
36
63
  */
@@ -4,13 +4,22 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class DescribePhoneNumberAnalysisResponseBodyDataList extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The result code returned.
9
+ * - YES: valid
10
+ * - NO: invalid
11
+ * - UNKNOWN: unknown
12
+ *
7
13
  * @example
8
14
  * NO
9
15
  */
10
16
  code?: string;
11
17
  /**
18
+ * @remarks
19
+ * The mobile phone number that is passed in.
20
+ *
12
21
  * @example
13
- * 18752785620
22
+ * 187****5620
14
23
  */
15
24
  number?: string;
16
25
  static names(): { [key: string]: string } {
@@ -37,6 +46,10 @@ export class DescribePhoneNumberAnalysisResponseBodyDataList extends $dara.Model
37
46
  }
38
47
 
39
48
  export class DescribePhoneNumberAnalysisResponseBodyData extends $dara.Model {
49
+ /**
50
+ * @remarks
51
+ * The data list.
52
+ */
40
53
  list?: DescribePhoneNumberAnalysisResponseBodyDataList[];
41
54
  static names(): { [key: string]: string } {
42
55
  return {
@@ -63,19 +76,41 @@ export class DescribePhoneNumberAnalysisResponseBodyData extends $dara.Model {
63
76
  }
64
77
 
65
78
  export class DescribePhoneNumberAnalysisResponseBody extends $dara.Model {
79
+ /**
80
+ * @remarks
81
+ * The details about the access denial. This parameter is returned only if RAM verification fails.
82
+ *
83
+ * @example
84
+ * -
85
+ */
66
86
  accessDeniedDetail?: string;
67
87
  /**
88
+ * @remarks
89
+ * The request status code. Valid values:
90
+ *
91
+ * **OK**: The request was successful.
92
+ *
68
93
  * @example
69
94
  * OK
70
95
  */
71
96
  code?: string;
97
+ /**
98
+ * @remarks
99
+ * The information about the phone number analysis result.
100
+ */
72
101
  data?: DescribePhoneNumberAnalysisResponseBodyData;
73
102
  /**
103
+ * @remarks
104
+ * The description of the phone number status.
105
+ *
74
106
  * @example
75
107
  * OK
76
108
  */
77
109
  message?: string;
78
110
  /**
111
+ * @remarks
112
+ * The request ID.
113
+ *
79
114
  * @example
80
115
  * CC3BB6D2-2FDF-4321-9DCE-B38165CE4C47
81
116
  */
@@ -58,26 +58,10 @@ export class DescribePhoneNumberAnalysisTransparentResponseBodyData extends $dar
58
58
  }
59
59
 
60
60
  export class DescribePhoneNumberAnalysisTransparentResponseBody extends $dara.Model {
61
- /**
62
- * @example
63
- * -
64
- */
65
61
  accessDeniedDetail?: string;
66
- /**
67
- * @example
68
- * OK
69
- */
70
62
  code?: string;
71
63
  data?: DescribePhoneNumberAnalysisTransparentResponseBodyData;
72
- /**
73
- * @example
74
- * OK
75
- */
76
64
  message?: string;
77
- /**
78
- * @example
79
- * CC3BB6D2-2FDF-4321-9DCE-B38165CE4C47
80
- */
81
65
  requestId?: string;
82
66
  static names(): { [key: string]: string } {
83
67
  return {
@@ -6,12 +6,7 @@ export class DescribePhoneNumberAttributeRequest extends $dara.Model {
6
6
  ownerId?: number;
7
7
  /**
8
8
  * @remarks
9
- * The phone number that you want to query.
10
- *
11
9
  * This parameter is required.
12
- *
13
- * @example
14
- * 1390000****
15
10
  */
16
11
  phoneNumber?: string;
17
12
  resourceOwnerAccount?: string;
@@ -3,48 +3,11 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DescribePhoneNumberAttributeResponseBodyPhoneNumberAttribute extends $dara.Model {
6
- /**
7
- * @remarks
8
- * The basic carrier. Valid values:
9
- *
10
- * * **China Mobile**
11
- * * **China Unicom**
12
- * * **China Telecom**
13
- */
14
6
  basicCarrier?: string;
15
- /**
16
- * @remarks
17
- * The actual carrier, including the virtual network operator (VNO). If the phone number involves mobile number portability, the value of this parameter is the carrier after mobile number portability.
18
- */
19
7
  carrier?: string;
20
- /**
21
- * @remarks
22
- * The city where the phone number is registered.
23
- */
24
8
  city?: string;
25
- /**
26
- * @remarks
27
- * Indicates whether the phone number involves mobile number portability. Valid values:
28
- *
29
- * * **true**
30
- * * **false**
31
- *
32
- * @example
33
- * false
34
- */
35
9
  isNumberPortability?: boolean;
36
- /**
37
- * @remarks
38
- * The number segment to which the phone number belongs.
39
- *
40
- * @example
41
- * 139
42
- */
43
10
  numberSegment?: number;
44
- /**
45
- * @remarks
46
- * The province where the phone number is registered.
47
- */
48
11
  province?: string;
49
12
  static names(): { [key: string]: string } {
50
13
  return {
@@ -78,39 +41,9 @@ export class DescribePhoneNumberAttributeResponseBodyPhoneNumberAttribute extend
78
41
  }
79
42
 
80
43
  export class DescribePhoneNumberAttributeResponseBody extends $dara.Model {
81
- /**
82
- * @remarks
83
- * The response code. Valid values:
84
- *
85
- * * **OK**: The request is successful.
86
- * * **InvalidParameter**: The specified phone number is invalid or the parameter format is invalid.
87
- * * **PhoneNumberNotfound**: No attribute information can be found for the specified phone number.
88
- * * **isp.UNKNOWN**: An unknown exception occurred.
89
- *
90
- * @example
91
- * OK
92
- */
93
44
  code?: string;
94
- /**
95
- * @remarks
96
- * The returned message.
97
- *
98
- * @example
99
- * OK
100
- */
101
45
  message?: string;
102
- /**
103
- * @remarks
104
- * The attribute information about the phone number.
105
- */
106
46
  phoneNumberAttribute?: DescribePhoneNumberAttributeResponseBodyPhoneNumberAttribute;
107
- /**
108
- * @remarks
109
- * The request ID.
110
- *
111
- * @example
112
- * CC3BB6D2-2FDF-4321-9DCE-B38165CE4C47
113
- */
114
47
  requestId?: string;
115
48
  static names(): { [key: string]: string } {
116
49
  return {
@@ -6,8 +6,7 @@ export class DescribePhoneNumberOnlineTimeRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
8
  * The authorization code.
9
- *
10
- * > On the **My Applications** page in the [Cell Phone Number Service console](https://dytns.console.aliyun.com/analysis/apply), you can obtain the authorization code (also known as authorization ID).
9
+ * > Log on to the [Cell Phone Number Service console](https://dytns.console.aliyun.com/analysis/apply), go to the **My Applications** page, and obtain the authorization ID, which is the authorization code.
11
10
  *
12
11
  * This parameter is required.
13
12
  *
@@ -17,13 +16,13 @@ export class DescribePhoneNumberOnlineTimeRequest extends $dara.Model {
17
16
  authCode?: string;
18
17
  /**
19
18
  * @remarks
20
- * The carrier. Valid values:
19
+ * The external carrier. Valid values:
21
20
  *
22
- * * **MOBILE**: China Mobile
23
- * * **UNICOM**: China Unicom
24
- * * **TELECOM**: China Telecom
21
+ * - **MOBILE**: China Mobile.
22
+ * - **UNICOM**: China Unicom.
23
+ * - **TELECOM**: China Telecom.
25
24
  *
26
- * > Alibaba Cloud automatically determines the carrier based on the carrier who assigns the phone number. Therefore, the value of this field does not affect the query result.
25
+ * >Notice: This parameter is optional. Alibaba Cloud automatically determines the carrier type based on the phone number. The value of this field has no impact on the query result.
27
26
  *
28
27
  * @example
29
28
  * UNICOM
@@ -33,11 +32,11 @@ export class DescribePhoneNumberOnlineTimeRequest extends $dara.Model {
33
32
  * @remarks
34
33
  * The phone number to be queried.
35
34
  *
36
- * * If the value of Mask is NORMAL, specify an 11-digit phone number in plaintext.
37
- * * If the value of Mask is MD5, specify a 32-bit string that is encrypted by using MD5.
38
- * * If the value of Mask is SHA256, specify a 64-bit string that is encrypted by using SHA256.
35
+ * - If Mask is set to NORMAL, this field is an 11-digit phone number.
36
+ * - If Mask is set to MD5, this field is a 32-character encrypted string.
37
+ * - If Mask is set to SHA256, this field is a 64-character encrypted string.
39
38
  *
40
- * > Letters in the encrypted strings are not case-sensitive.
39
+ * >Notice: Letters in the encrypted string are case-insensitive.
41
40
  *
42
41
  * This parameter is required.
43
42
  *
@@ -49,9 +48,9 @@ export class DescribePhoneNumberOnlineTimeRequest extends $dara.Model {
49
48
  * @remarks
50
49
  * The encryption method of the phone number. Valid values:
51
50
  *
52
- * * **NORMAL**: The phone number is not encrypted.
53
- * * **MD5**
54
- * * **SHA256**
51
+ * - **NORMAL**: no encryption
52
+ * - **MD5**
53
+ * - **SHA256**
55
54
  *
56
55
  * This parameter is required.
57
56
  *
@@ -5,12 +5,11 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribePhoneNumberOnlineTimeResponseBodyData extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The carrier code. Valid values:
9
- *
10
- * * **CMCC**: China Mobile
11
- * * **CUCC**: China Unicom
12
- * * **CTCC**: China Telecom
13
- * * **CBN**: China Broadnet
8
+ * The carrier SMS status code. Valid values:
9
+ * - **CMCC**: China Mobile
10
+ * - **CUCC**: China Unicom
11
+ * - **CTCC**: China Telecom
12
+ * - **CBN**: China Broadnet
14
13
  *
15
14
  * @example
16
15
  * CMCC
@@ -18,15 +17,15 @@ export class DescribePhoneNumberOnlineTimeResponseBodyData extends $dara.Model {
18
17
  carrierCode?: string;
19
18
  /**
20
19
  * @remarks
21
- * The enumerated value of the usage period of a phone number. Valid values:
20
+ * The enumeration value of the network registration duration. Valid values:
22
21
  *
23
- * * **-1**: No usage period information is available for the phone number.
24
- * * **0**: The phone number status is abnormal. For example, the phone number is a nonexistent number.
25
- * * **1** :[0-3) months.
26
- * * **2** :[3-6] months.
27
- * * **3** :(6-12] months.
28
- * * **4** :(12-24] months.
29
- * * **5** :(24,+) months.
22
+ * - **-1**: No duration was found.
23
+ * - **0**: Abnormal phone status, for example, a non-existent number.
24
+ * - **1**: [0-3) months.
25
+ * - **2**: [3-6) months.
26
+ * - **3**: [6-12) months.
27
+ * - **4**: [12-24) months.
28
+ * - **5**: [24,+∞) months.
30
29
  *
31
30
  * @example
32
31
  * 1
@@ -58,13 +57,14 @@ export class DescribePhoneNumberOnlineTimeResponseBodyData extends $dara.Model {
58
57
  export class DescribePhoneNumberOnlineTimeResponseBody extends $dara.Model {
59
58
  /**
60
59
  * @remarks
61
- * The response code. Valid values:
60
+ * The request status code. Valid values:
62
61
  *
63
- * * **OK**: The request is successful.
64
- * * **PortabilityNumberNotSupported**: The phone number that is involved in mobile number portability is not supported.
65
- * * **RequestFrequencyLimit**: Repeated queries for the same phone number at a high frequency within a short period of time are prohibited due to restrictions that are set by carriers. If this error code is returned, please try again later.
62
+ * - **OK**: The request was successful.
63
+ * - **PortabilityNumberNotSupported**: The mobile number portability number is not supported.
64
+ * - **RequestFrequencyLimit**: Due to carrier restrictions, frequent repeated queries on the same number within a short period are prohibited. If this error code is returned, try again later.
66
65
  *
67
- * > You are charged if the value of Code is OK and the value of VerifyResult is not -1. For more information, see [Pricing](https://help.aliyun.com/document_detail/154751.html).
66
+ * > Charges are incurred when Code is OK and VerifyResult is not -1. For billing details, see [Cell Phone Number Service Pricing](https://help.aliyun.com/document_detail/154751.html).
67
+ * >
68
68
  *
69
69
  * @example
70
70
  * OK
@@ -72,12 +72,12 @@ export class DescribePhoneNumberOnlineTimeResponseBody extends $dara.Model {
72
72
  code?: string;
73
73
  /**
74
74
  * @remarks
75
- * The response parameters.
75
+ * The returned data.
76
76
  */
77
77
  data?: DescribePhoneNumberOnlineTimeResponseBodyData;
78
78
  /**
79
79
  * @remarks
80
- * The returned message.
80
+ * The description of the number status code.
81
81
  *
82
82
  * @example
83
83
  * OK