@alicloud/dytnsapi20200217 3.3.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 (222) hide show
  1. package/dist/client.d.ts +543 -228
  2. package/dist/client.js +605 -229
  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 +43 -6
  61. package/dist/models/HistoryThreeElementsVerificationRequest.js.map +1 -1
  62. package/dist/models/HistoryThreeElementsVerificationResponseBody.d.ts +38 -0
  63. package/dist/models/HistoryThreeElementsVerificationResponseBody.js.map +1 -1
  64. package/dist/models/InvalidPhoneNumberFilterRequest.d.ts +2 -2
  65. package/dist/models/InvalidPhoneNumberFilterResponseBody.d.ts +29 -19
  66. package/dist/models/InvalidPhoneNumberFilterResponseBody.js.map +1 -1
  67. package/dist/models/ListContactsRequest.d.ts +6 -0
  68. package/dist/models/ListContactsRequest.js.map +1 -1
  69. package/dist/models/ListContactsResponseBody.d.ts +60 -0
  70. package/dist/models/ListContactsResponseBody.js.map +1 -1
  71. package/dist/models/PhoneNumberEncryptRequest.d.ts +12 -4
  72. package/dist/models/PhoneNumberEncryptRequest.js.map +1 -1
  73. package/dist/models/PhoneNumberEncryptResponseBody.d.ts +16 -6
  74. package/dist/models/PhoneNumberEncryptResponseBody.js.map +1 -1
  75. package/dist/models/PhoneNumberStatusForAccountRequest.d.ts +20 -10
  76. package/dist/models/PhoneNumberStatusForAccountRequest.js.map +1 -1
  77. package/dist/models/PhoneNumberStatusForAccountResponseBody.d.ts +28 -19
  78. package/dist/models/PhoneNumberStatusForAccountResponseBody.js.map +1 -1
  79. package/dist/models/PhoneNumberStatusForPublicRequest.d.ts +17 -9
  80. package/dist/models/PhoneNumberStatusForPublicRequest.js.map +1 -1
  81. package/dist/models/PhoneNumberStatusForPublicResponseBody.d.ts +32 -22
  82. package/dist/models/PhoneNumberStatusForPublicResponseBody.js.map +1 -1
  83. package/dist/models/PhoneNumberStatusForRealRequest.d.ts +19 -9
  84. package/dist/models/PhoneNumberStatusForRealRequest.js.map +1 -1
  85. package/dist/models/PhoneNumberStatusForRealResponseBody.d.ts +33 -22
  86. package/dist/models/PhoneNumberStatusForRealResponseBody.js.map +1 -1
  87. package/dist/models/PhoneNumberStatusForSmsRequest.d.ts +20 -10
  88. package/dist/models/PhoneNumberStatusForSmsRequest.js.map +1 -1
  89. package/dist/models/PhoneNumberStatusForSmsResponseBody.d.ts +29 -20
  90. package/dist/models/PhoneNumberStatusForSmsResponseBody.js.map +1 -1
  91. package/dist/models/PhoneNumberStatusForVoiceRequest.d.ts +19 -9
  92. package/dist/models/PhoneNumberStatusForVoiceRequest.js.map +1 -1
  93. package/dist/models/PhoneNumberStatusForVoiceResponseBody.d.ts +31 -21
  94. package/dist/models/PhoneNumberStatusForVoiceResponseBody.js.map +1 -1
  95. package/dist/models/QueryAvailableAuthCodeRequest.d.ts +1 -1
  96. package/dist/models/QueryAvailableAuthCodeResponseBody.d.ts +8 -7
  97. package/dist/models/QueryAvailableAuthCodeResponseBody.js.map +1 -1
  98. package/dist/models/QueryPackageTypeInfoRequest.d.ts +1 -1
  99. package/dist/models/QueryPackageTypeInfoResponseBody.d.ts +31 -4
  100. package/dist/models/QueryPackageTypeInfoResponseBody.js.map +1 -1
  101. package/dist/models/QueryTagApplyRuleResponseBody.d.ts +28 -15
  102. package/dist/models/QueryTagApplyRuleResponseBody.js.map +1 -1
  103. package/dist/models/QueryTagInfoBySelectionResponseBody.d.ts +33 -18
  104. package/dist/models/QueryTagInfoBySelectionResponseBody.js.map +1 -1
  105. package/dist/models/QueryTagListPageResponseBody.d.ts +23 -21
  106. package/dist/models/QueryTagListPageResponseBody.js.map +1 -1
  107. package/dist/models/QueryTaskListRequest.d.ts +24 -1
  108. package/dist/models/QueryTaskListRequest.js.map +1 -1
  109. package/dist/models/QueryTaskListResponseBody.d.ts +31 -0
  110. package/dist/models/QueryTaskListResponseBody.js.map +1 -1
  111. package/dist/models/QueryTaskListShrinkRequest.d.ts +24 -1
  112. package/dist/models/QueryTaskListShrinkRequest.js.map +1 -1
  113. package/dist/models/QueryUsageStatisticsByTagIdRequest.d.ts +5 -5
  114. package/dist/models/QueryUsageStatisticsByTagIdResponseBody.d.ts +23 -24
  115. package/dist/models/QueryUsageStatisticsByTagIdResponseBody.js.map +1 -1
  116. package/dist/models/SaveContactsRequest.d.ts +26 -0
  117. package/dist/models/SaveContactsRequest.js.map +1 -1
  118. package/dist/models/SaveContactsResponseBody.d.ts +12 -0
  119. package/dist/models/SaveContactsResponseBody.js.map +1 -1
  120. package/dist/models/ThreeElementsVerificationRequest.d.ts +19 -17
  121. package/dist/models/ThreeElementsVerificationRequest.js.map +1 -1
  122. package/dist/models/ThreeElementsVerificationResponseBody.d.ts +23 -21
  123. package/dist/models/ThreeElementsVerificationResponseBody.js.map +1 -1
  124. package/dist/models/TwoElementsVerificationRequest.d.ts +15 -13
  125. package/dist/models/TwoElementsVerificationRequest.js.map +1 -1
  126. package/dist/models/TwoElementsVerificationResponseBody.d.ts +26 -22
  127. package/dist/models/TwoElementsVerificationResponseBody.js.map +1 -1
  128. package/dist/models/UaidverificationRequest.d.ts +28 -2
  129. package/dist/models/UaidverificationRequest.js.map +1 -1
  130. package/dist/models/UaidverificationResponseBody.d.ts +21 -0
  131. package/dist/models/UaidverificationResponseBody.js.map +1 -1
  132. package/dist/models/UpdateContactsRequest.d.ts +36 -0
  133. package/dist/models/UpdateContactsRequest.js.map +1 -1
  134. package/dist/models/UpdateContactsResponseBody.d.ts +12 -0
  135. package/dist/models/UpdateContactsResponseBody.js.map +1 -1
  136. package/dist/models/VirtualThreeElementsVerificationRequest.d.ts +53 -0
  137. package/dist/models/VirtualThreeElementsVerificationRequest.js +66 -0
  138. package/dist/models/VirtualThreeElementsVerificationRequest.js.map +1 -0
  139. package/dist/models/VirtualThreeElementsVerificationResponse.d.ts +19 -0
  140. package/dist/models/VirtualThreeElementsVerificationResponse.js +69 -0
  141. package/dist/models/VirtualThreeElementsVerificationResponse.js.map +1 -0
  142. package/dist/models/VirtualThreeElementsVerificationResponseBody.d.ts +35 -0
  143. package/dist/models/VirtualThreeElementsVerificationResponseBody.js +88 -0
  144. package/dist/models/VirtualThreeElementsVerificationResponseBody.js.map +1 -0
  145. package/dist/models/model.d.ts +4 -0
  146. package/dist/models/model.js +12 -4
  147. package/dist/models/model.js.map +1 -1
  148. package/package.json +1 -1
  149. package/src/client.ts +612 -229
  150. package/src/models/CertNoThreeElementVerificationRequest.ts +15 -2
  151. package/src/models/CertNoThreeElementVerificationResponseBody.ts +33 -0
  152. package/src/models/CertNoTwoElementVerificationRequest.ts +10 -2
  153. package/src/models/CertNoTwoElementVerificationResponseBody.ts +25 -0
  154. package/src/models/CompanyFourElementsVerificationRequest.ts +10 -13
  155. package/src/models/CompanyFourElementsVerificationResponseBody.ts +21 -18
  156. package/src/models/CompanyThreeElementsVerificationRequest.ts +7 -8
  157. package/src/models/CompanyThreeElementsVerificationResponseBody.ts +26 -20
  158. package/src/models/CompanyTwoElementsVerificationRequest.ts +5 -5
  159. package/src/models/CompanyTwoElementsVerificationResponseBody.ts +26 -16
  160. package/src/models/DeleteContactsRequest.ts +2 -0
  161. package/src/models/DeleteContactsResponseBody.ts +17 -0
  162. package/src/models/DescribeEmptyNumberRequest.ts +10 -7
  163. package/src/models/DescribeEmptyNumberResponseBody.ts +16 -12
  164. package/src/models/DescribePhoneNumberAnalysisAirequest.ts +5 -5
  165. package/src/models/DescribePhoneNumberAnalysisAiresponseBody.ts +16 -10
  166. package/src/models/DescribePhoneNumberAnalysisRequest.ts +29 -2
  167. package/src/models/DescribePhoneNumberAnalysisResponseBody.ts +36 -1
  168. package/src/models/DescribePhoneNumberAnalysisTransparentResponseBody.ts +0 -16
  169. package/src/models/DescribePhoneNumberAttributeRequest.ts +0 -5
  170. package/src/models/DescribePhoneNumberAttributeResponseBody.ts +0 -67
  171. package/src/models/DescribePhoneNumberOnlineTimeRequest.ts +13 -14
  172. package/src/models/DescribePhoneNumberOnlineTimeResponseBody.ts +21 -21
  173. package/src/models/DescribePhoneNumberOperatorAttributeRequest.ts +20 -12
  174. package/src/models/DescribePhoneNumberOperatorAttributeResponseBody.ts +30 -22
  175. package/src/models/DescribePhoneTwiceTelVerifyRequest.ts +19 -15
  176. package/src/models/DescribePhoneTwiceTelVerifyResponseBody.ts +29 -19
  177. package/src/models/GetUaidapplyTokenSignRequest.ts +35 -0
  178. package/src/models/GetUaidapplyTokenSignResponseBody.ts +33 -0
  179. package/src/models/HistoryThreeElementsVerificationRequest.ts +43 -6
  180. package/src/models/HistoryThreeElementsVerificationResponseBody.ts +38 -0
  181. package/src/models/InvalidPhoneNumberFilterRequest.ts +2 -2
  182. package/src/models/InvalidPhoneNumberFilterResponseBody.ts +29 -19
  183. package/src/models/ListContactsRequest.ts +6 -0
  184. package/src/models/ListContactsResponseBody.ts +60 -0
  185. package/src/models/PhoneNumberEncryptRequest.ts +12 -4
  186. package/src/models/PhoneNumberEncryptResponseBody.ts +16 -6
  187. package/src/models/PhoneNumberStatusForAccountRequest.ts +20 -10
  188. package/src/models/PhoneNumberStatusForAccountResponseBody.ts +28 -19
  189. package/src/models/PhoneNumberStatusForPublicRequest.ts +17 -9
  190. package/src/models/PhoneNumberStatusForPublicResponseBody.ts +32 -22
  191. package/src/models/PhoneNumberStatusForRealRequest.ts +19 -9
  192. package/src/models/PhoneNumberStatusForRealResponseBody.ts +33 -22
  193. package/src/models/PhoneNumberStatusForSmsRequest.ts +20 -10
  194. package/src/models/PhoneNumberStatusForSmsResponseBody.ts +29 -20
  195. package/src/models/PhoneNumberStatusForVoiceRequest.ts +19 -9
  196. package/src/models/PhoneNumberStatusForVoiceResponseBody.ts +31 -21
  197. package/src/models/QueryAvailableAuthCodeRequest.ts +1 -1
  198. package/src/models/QueryAvailableAuthCodeResponseBody.ts +8 -7
  199. package/src/models/QueryPackageTypeInfoRequest.ts +1 -1
  200. package/src/models/QueryPackageTypeInfoResponseBody.ts +31 -4
  201. package/src/models/QueryTagApplyRuleResponseBody.ts +28 -15
  202. package/src/models/QueryTagInfoBySelectionResponseBody.ts +33 -18
  203. package/src/models/QueryTagListPageResponseBody.ts +23 -21
  204. package/src/models/QueryTaskListRequest.ts +24 -1
  205. package/src/models/QueryTaskListResponseBody.ts +31 -0
  206. package/src/models/QueryTaskListShrinkRequest.ts +24 -1
  207. package/src/models/QueryUsageStatisticsByTagIdRequest.ts +5 -5
  208. package/src/models/QueryUsageStatisticsByTagIdResponseBody.ts +23 -24
  209. package/src/models/SaveContactsRequest.ts +26 -0
  210. package/src/models/SaveContactsResponseBody.ts +12 -0
  211. package/src/models/ThreeElementsVerificationRequest.ts +19 -17
  212. package/src/models/ThreeElementsVerificationResponseBody.ts +23 -21
  213. package/src/models/TwoElementsVerificationRequest.ts +15 -13
  214. package/src/models/TwoElementsVerificationResponseBody.ts +26 -22
  215. package/src/models/UaidverificationRequest.ts +28 -2
  216. package/src/models/UaidverificationResponseBody.ts +21 -0
  217. package/src/models/UpdateContactsRequest.ts +36 -0
  218. package/src/models/UpdateContactsResponseBody.ts +12 -0
  219. package/src/models/VirtualThreeElementsVerificationRequest.ts +74 -0
  220. package/src/models/VirtualThreeElementsVerificationResponse.ts +40 -0
  221. package/src/models/VirtualThreeElementsVerificationResponseBody.ts +69 -0
  222. package/src/models/model.ts +4 -0
@@ -4,42 +4,68 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class SaveContactsRequest extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The business type. Set the value to **contact**.
9
+ *
7
10
  * @example
8
11
  * dytns
9
12
  */
10
13
  bizType?: string;
11
14
  /**
15
+ * @remarks
16
+ * The contact email.
17
+ *
12
18
  * @example
13
19
  * 1234@alibaba-inc.com
14
20
  */
15
21
  contactEmail?: string;
16
22
  /**
17
23
  * @remarks
24
+ * The contact name.
25
+ *
18
26
  * This parameter is required.
27
+ *
28
+ * @example
29
+ * 张光宇
19
30
  */
20
31
  contactName?: string;
21
32
  /**
33
+ * @remarks
34
+ * The contact phone number.
35
+ *
22
36
  * @example
23
37
  * 122354532434
24
38
  */
25
39
  contactPhone?: string;
26
40
  /**
41
+ * @remarks
42
+ * Specifies whether to enable email alerts. Valid values:
43
+ *
27
44
  * @example
28
45
  * 0
29
46
  */
30
47
  mailStatus?: number;
31
48
  /**
49
+ * @remarks
50
+ * Specifies whether to enable status warnings. Valid values:
51
+ *
32
52
  * @example
33
53
  * false
34
54
  */
35
55
  openStatusWarning?: boolean;
36
56
  /**
57
+ * @remarks
58
+ * Specifies whether to enable attribution warnings. Valid values:
59
+ *
37
60
  * @example
38
61
  * true
39
62
  */
40
63
  opentAttributionWarning?: boolean;
41
64
  ownerId?: number;
42
65
  /**
66
+ * @remarks
67
+ * Specifies whether to enable phone alerts. Valid values:
68
+ *
43
69
  * @example
44
70
  * 0
45
71
  */
@@ -4,21 +4,33 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class SaveContactsResponseBody extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The status code. A value of `OK` indicates that the request was successful. For more information about other error codes, see the [error code list](https://help.aliyun.com/document_detail/109196.html).
9
+ *
7
10
  * @example
8
11
  * OK
9
12
  */
10
13
  code?: string;
11
14
  /**
15
+ * @remarks
16
+ * The data returned by the operation.
17
+ *
12
18
  * @example
13
19
  * 1
14
20
  */
15
21
  data?: string;
16
22
  /**
23
+ * @remarks
24
+ * The response message.
25
+ *
17
26
  * @example
18
27
  * OK
19
28
  */
20
29
  message?: string;
21
30
  /**
31
+ * @remarks
32
+ * The request ID.
33
+ *
22
34
  * @example
23
35
  * 29E058D7-4B28-55EE-BE3B-61D5AE488A9E
24
36
  */
@@ -7,7 +7,7 @@ export class ThreeElementsVerificationRequest 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), the authorization ID is the authorization code.
11
11
  *
12
12
  * This parameter is required.
13
13
  *
@@ -19,11 +19,11 @@ export class ThreeElementsVerificationRequest extends $dara.Model {
19
19
  * @remarks
20
20
  * The ID card number to be verified.
21
21
  *
22
- * * If the value of Mask is NORMAL, specify a value in plaintext for this field.
23
- * * If the value of Mask is MD5, specify a MD5-encrypted value for this field.
24
- * * If the value of Mask is SHA256, specify a SHA256-encrypted value for this field.
22
+ * - If Mask is set to NORMAL, this field is in plaintext.
23
+ * - If Mask is set to MD5, encrypt this field by using MD5.
24
+ * - If Mask is set to SHA256, encrypt this field by using SHA256.
25
25
  *
26
- * > Letters in the encrypted strings are not case-sensitive.
26
+ * >Notice: Letters in the encrypted string are case-insensitive.
27
27
  *
28
28
  * This parameter is required.
29
29
  *
@@ -35,11 +35,11 @@ export class ThreeElementsVerificationRequest extends $dara.Model {
35
35
  * @remarks
36
36
  * The phone number to be verified.
37
37
  *
38
- * * If the value of Mask is NORMAL, specify a value in plaintext for this field.
39
- * * If the value of Mask is MD5, specify a MD5-encrypted value for this field.
40
- * * If the value of Mask is SHA256, specify a SHA256-encrypted value for this field.
38
+ * - If Mask is set to NORMAL, this field is in plaintext.
39
+ * - If Mask is set to MD5, encrypt this field by using MD5.
40
+ * - If Mask is set to SHA256, encrypt this field by using SHA256.
41
41
  *
42
- * > Letters in the encrypted strings are not case-sensitive.
42
+ * >Notice: Letters in the encrypted string are case-insensitive.
43
43
  *
44
44
  * This parameter is required.
45
45
  *
@@ -51,9 +51,11 @@ export class ThreeElementsVerificationRequest extends $dara.Model {
51
51
  * @remarks
52
52
  * The encryption method. Valid values:
53
53
  *
54
- * * **NORMAL**: The phone number is not encrypted.
55
- * * **MD5**
56
- * * **SHA256**
54
+ * - **NORMAL**: No encryption.
55
+ *
56
+ * - **MD5**
57
+ *
58
+ * - **SHA256**
57
59
  *
58
60
  * This parameter is required.
59
61
  *
@@ -65,16 +67,16 @@ export class ThreeElementsVerificationRequest extends $dara.Model {
65
67
  * @remarks
66
68
  * The name to be verified.
67
69
  *
68
- * * If the value of Mask is NORMAL, specify a value in plaintext for this field.
69
- * * If the value of Mask is MD5, specify a MD5-encrypted value for this field.
70
- * * If the value of Mask is SHA256, specify a SHA256-encrypted value for this field.
70
+ * - If Mask is set to NORMAL, this field is in plaintext.
71
+ * - If Mask is set to MD5, encrypt this field by using MD5.
72
+ * - If Mask is set to SHA256, encrypt this field by using SHA256.
71
73
  *
72
- * > Letters in the encrypted strings are not case-sensitive.
74
+ * >Notice: Letters in the encrypted string are case-insensitive.
73
75
  *
74
76
  * This parameter is required.
75
77
  *
76
78
  * @example
77
- * Aliyun
79
+ * 阿里云
78
80
  */
79
81
  name?: string;
80
82
  ownerId?: number;
@@ -7,29 +7,31 @@ export class ThreeElementsVerificationResponseBodyData extends $dara.Model {
7
7
  * @remarks
8
8
  * The basic carrier. Valid values:
9
9
  *
10
- * * **China Mobile**
11
- * * **China Unicom**
12
- * * **China Telecom**
10
+ * - **China Mobile**.
11
+ *
12
+ * - **China Unicom**.
13
+ *
14
+ * - **China Telecom**.
13
15
  *
14
16
  * @example
15
- * China Mobile
17
+ * 中国移动
16
18
  */
17
19
  basicCarrier?: string;
18
20
  /**
19
21
  * @remarks
20
- * Indicates whether the specified name, phone number, and ID card number belong to the same user. Valid values:
21
- *
22
- * * **1**: The specified name, phone number, and ID card number belong to the same user.
23
- * * **0**: The specified name, phone number, and ID card number do not belong to the same user.
24
- * * **2**: The specified name, phone number, and ID card number cannot be found.
22
+ * Indicates whether the verification results are consistent. Returned values:
25
23
  *
26
- * **Note** The phone number registration data of a user is usually updated one or three days after registration. The registration data can be queried only after the update. The following table shows the verification results under different phone number states.
24
+ * - **1**: Consistent
25
+ * - **0**: Inconsistent
26
+ * - **2**: Not found
27
+ * >The data update timeliness varies by carrier and city, and is typically between T+1 and T+3.
28
+ * The verification results for mobile phone numbers of different carriers in different states are as follows:
27
29
  *
28
- * |Carrier/Phone number state|Out-of-service|Nonexistent|Canceled|
29
- * |---|---|---|---|
30
- * |China Mobile|Verifications can be carried out normally.|The specified name, phone number, and ID card number cannot be found.|The specified name, phone number, and ID card number cannot be found.|
31
- * |China Unicom|Verifications can be carried out normally.|The specified name, phone number, and ID card number do not belong to the same user.|The specified name, phone number, and ID card number do not belong to the same user.|
32
- * |China Telecom|Verifications can be carried out normally.|The specified name, phone number, and ID card number cannot be found.|The specified name, phone number, and ID card number cannot be found.|
30
+ * |Carrier/Mobile Phone Number Status|Suspended|Empty Number|Deregistered|
31
+ * |--|--|--|--|
32
+ * |China Mobile|Normal verification|Not found|Not found|
33
+ * |China Unicom|Normal verification|Inconsistent|Inconsistent|
34
+ * |China Telecom|Normal verification|Not found|Not found|
33
35
  *
34
36
  * @example
35
37
  * 1
@@ -61,11 +63,11 @@ export class ThreeElementsVerificationResponseBodyData extends $dara.Model {
61
63
  export class ThreeElementsVerificationResponseBody extends $dara.Model {
62
64
  /**
63
65
  * @remarks
64
- * The response code.
66
+ * The request status code.
65
67
  *
66
- * * **OK**: The request is successful.
67
- * * For more information, see Error codes in this documentation.
68
- * * **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.
68
+ * - **OK**: The request was successful.
69
+ * - For other error codes, see the error code table in this chapter.
70
+ * - **RequestFrequencyLimit**: Due to carrier restrictions, repeated high-frequency queries on the same number within a short period are prohibited. If this error code is returned, try again later.
69
71
  *
70
72
  * @example
71
73
  * OK
@@ -73,12 +75,12 @@ export class ThreeElementsVerificationResponseBody extends $dara.Model {
73
75
  code?: string;
74
76
  /**
75
77
  * @remarks
76
- * The response parameters.
78
+ * The data returned.
77
79
  */
78
80
  data?: ThreeElementsVerificationResponseBodyData;
79
81
  /**
80
82
  * @remarks
81
- * The returned message.
83
+ * The description of the status code.
82
84
  *
83
85
  * @example
84
86
  * OK
@@ -7,7 +7,7 @@ export class TwoElementsVerificationRequest 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
  *
@@ -19,11 +19,11 @@ export class TwoElementsVerificationRequest extends $dara.Model {
19
19
  * @remarks
20
20
  * The phone number to be verified.
21
21
  *
22
- * * If the value of Mask is NORMAL, specify a value in plaintext for this field.
23
- * * If the value of Mask is MD5, specify a MD5-encrypted value for this field.
24
- * * If the value of Mask is SHA256, specify a SHA256-encrypted value for this field.
22
+ * - If Mask is set to NORMAL, this field is in plaintext.
23
+ * - If Mask is set to MD5, encrypt this field with MD5.
24
+ * - If Mask is set to SHA256, encrypt this field with SHA256.
25
25
  *
26
- * > Letters in the encrypted strings are not case-sensitive.
26
+ * >Notice: Letters in the encrypted string are not case-sensitive.
27
27
  *
28
28
  * This parameter is required.
29
29
  *
@@ -35,9 +35,11 @@ export class TwoElementsVerificationRequest extends $dara.Model {
35
35
  * @remarks
36
36
  * The encryption method. Valid values:
37
37
  *
38
- * * **NORMAL**: plaintext
39
- * * **MD5**
40
- * * **SHA256**
38
+ * - **NORMAL**: No encryption.
39
+ *
40
+ * - **MD5**
41
+ *
42
+ * - **SHA256**
41
43
  *
42
44
  * This parameter is required.
43
45
  *
@@ -49,16 +51,16 @@ export class TwoElementsVerificationRequest extends $dara.Model {
49
51
  * @remarks
50
52
  * The name to be verified.
51
53
  *
52
- * * If the value of Mask is NORMAL, specify a value in plaintext for this field.
53
- * * If the value of Mask is MD5, specify a MD5-encrypted value for this field.
54
- * * If the value of Mask is SHA256, specify a SHA256-encrypted value for this field.
54
+ * - If Mask is set to NORMAL, this field is in plaintext.
55
+ * - If Mask is set to MD5, encrypt this field with MD5.
56
+ * - If Mask is set to SHA256, encrypt this field with SHA256.
55
57
  *
56
- * > Letters in the encrypted strings are not case-sensitive.
58
+ * >Notice: Letters in the encrypted string are not case-sensitive.
57
59
  *
58
60
  * This parameter is required.
59
61
  *
60
62
  * @example
61
- * Aliyun
63
+ * 阿里云
62
64
  */
63
65
  name?: string;
64
66
  ownerId?: number;
@@ -5,35 +5,38 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class TwoElementsVerificationResponseBodyData extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The basic carriers. Valid values:
8
+ * The basic operator. Valid values:
9
9
  *
10
- * * **China Mobile**
11
- * * **China Unicom**
12
- * * **China Telecom**
10
+ * - **China Mobile**.
13
11
  *
14
- * > You are not allowed to verify numbers assigned by China Broadnet.
12
+ * - **China Unicom**.
13
+ *
14
+ * - **China Telecom**.
15
+ *
16
+ * >Notice: China Broadcasting Network numbers are not currently supported.
15
17
  *
16
18
  * @example
17
- * China Mobile
19
+ * 中国移动
18
20
  */
19
21
  basicCarrier?: string;
20
22
  /**
21
23
  * @remarks
22
- * Indicates whether the specified name and phone number belong to the same user. Valid values:
24
+ * Indicates whether the verification result is consistent. Returns:
23
25
  *
24
- * * **1**: The specified name and phone number belong to the same user.
26
+ * - **1**: Consistent.
25
27
  *
26
- * * **0**: The specified name and phone number do not belong to the same user.
28
+ * - **0**: Inconsistent.
27
29
  *
28
- * * **2**: The specified name and phone number cannot be found.
30
+ * - **2**: Not found.
29
31
  *
30
- * The phone number registration data of a user is usually updated one or three days after registration. The registration data can be queried only after the update. The following table shows the verification results under different phone number states.
32
+ * The data update timeliness for different operators and cities is typically T+1 to T+3.
33
+ * The verification results for different operator phone numbers in different states are as follows:
31
34
  *
32
- * |Carrier/Phone number state|Out-of-service|Nonexistent|Canceled|
33
- * |---|---|---|---|
34
- * |China Mobile|Verifications can be carried out normally.|The specified name and phone number cannot be found.|The specified name and phone number cannot be found.|
35
- * |China Unicom|Verifications can be carried out normally.|The specified name and phone number do not belong to the same user.|The specified name and phone number do not belong to the same user.|
36
- * |China Telecom|Verifications can be carried out normally.|The specified name and phone number cannot be found.|The specified name and phone number cannot be found.|
35
+ * |Operator/Phone Number Status|Suspended|Empty Number|Cancelled|
36
+ * |--|--|--|--|
37
+ * |China Mobile|Normal verification|Not found|Not found|
38
+ * |China Unicom|Normal verification|Inconsistent|Inconsistent|
39
+ * |China Telecom|Normal verification|Not found|Not found|
37
40
  *
38
41
  * @example
39
42
  * 1
@@ -65,11 +68,12 @@ export class TwoElementsVerificationResponseBodyData extends $dara.Model {
65
68
  export class TwoElementsVerificationResponseBody extends $dara.Model {
66
69
  /**
67
70
  * @remarks
68
- * The response code. Valid values:
71
+ * The request status code.
72
+ *
73
+ * - **OK**: The request was successful.
69
74
  *
70
- * * **OK**: The request is successful.
71
- * * For more information, see Error codes in this documentation.
72
- * * **RequestFrequencyLimit**: Repeated queries for the same phone number or name 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.
75
+ * - For other error codes, see the error code table in this chapter.
76
+ * - **RequestFrequencyLimit**: Due to operator restrictions, repeated high-frequency queries against the same number or name in a short period are prohibited. If this error code is returned, try again later.
73
77
  *
74
78
  * @example
75
79
  * OK
@@ -77,12 +81,12 @@ export class TwoElementsVerificationResponseBody extends $dara.Model {
77
81
  code?: string;
78
82
  /**
79
83
  * @remarks
80
- * The response parameters.
84
+ * The structure.
81
85
  */
82
86
  data?: TwoElementsVerificationResponseBodyData;
83
87
  /**
84
88
  * @remarks
85
- * The returned message.
89
+ * The description of the status code.
86
90
  *
87
91
  * @example
88
92
  * OK
@@ -5,6 +5,10 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UAIDVerificationRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
+ * The authorization code.
9
+ *
10
+ * > In **Cell Phone Number Service** -> [**Tag Marketplace**](https://dytns.console.aliyun.com/analysis/square), select a tag and submit a usage application. After the application is approved, you will obtain this authorization code.
11
+ *
8
12
  * This parameter is required.
9
13
  *
10
14
  * @example
@@ -13,6 +17,11 @@ export class UAIDVerificationRequest extends $dara.Model {
13
17
  authCode?: string;
14
18
  /**
15
19
  * @remarks
20
+ * The carrier of the user. Valid values:
21
+ * - **CM**: China Mobile.
22
+ * - **CU**: China Unicom.
23
+ * - **CT**: China Telecom.
24
+ *
16
25
  * This parameter is required.
17
26
  *
18
27
  * @example
@@ -20,25 +29,37 @@ export class UAIDVerificationRequest extends $dara.Model {
20
29
  */
21
30
  carrier?: string;
22
31
  /**
32
+ * @remarks
33
+ * The public IP address. This parameter is required when the carrier is China Unicom (CU). Both IPv4 and IPv6 addresses are supported.
34
+ *
23
35
  * @example
24
- * 示例值
36
+ * 2408:8440:308:29dc:ed00:c4ec:475c:25a4
25
37
  */
26
38
  ip?: string;
27
39
  /**
40
+ * @remarks
41
+ * The external serial number.
42
+ *
28
43
  * @example
29
44
  * b8b5b3a*******0b9893484fdf412c99
30
45
  */
31
46
  outId?: string;
32
47
  ownerId?: number;
33
48
  /**
49
+ * @remarks
50
+ * The province ID. This parameter is optional when the carrier is China Unicom (CU). The value must be the same as the value of the province field in the response returned when the token is obtained.
51
+ *
34
52
  * @example
35
- * 示例值示例值
53
+ * 1
36
54
  */
37
55
  province?: string;
38
56
  resourceOwnerAccount?: string;
39
57
  resourceOwnerId?: number;
40
58
  /**
41
59
  * @remarks
60
+ * The carrier authorization token.
61
+ * > For information about how to obtain the authorization token and its signature, see the GetUAIDApplyTokenSign API documentation.
62
+ *
42
63
  * This parameter is required.
43
64
  *
44
65
  * @example
@@ -46,6 +67,11 @@ export class UAIDVerificationRequest extends $dara.Model {
46
67
  */
47
68
  token?: string;
48
69
  /**
70
+ * @remarks
71
+ * The user authorization code, which indicates that the user has granted authorization. The value must be a unique random number that does not exceed 128 characters in length.
72
+ *
73
+ * <warning>When you integrate the service, we recommend that you include UAID-related content in the privacy policy of your product.</warning>
74
+ *
49
75
  * @example
50
76
  * Md****a3Em
51
77
  */
@@ -4,6 +4,9 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class UAIDVerificationResponseBodyData extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The obtained UAID value.
9
+ *
7
10
  * @example
8
11
  * B1E0C1********9F757AF52A035
9
12
  */
@@ -31,22 +34,40 @@ export class UAIDVerificationResponseBodyData extends $dara.Model {
31
34
 
32
35
  export class UAIDVerificationResponseBody extends $dara.Model {
33
36
  /**
37
+ * @remarks
38
+ * The details about the access denial.
39
+ *
34
40
  * @example
35
41
  * -
36
42
  */
37
43
  accessDeniedDetail?: string;
38
44
  /**
45
+ * @remarks
46
+ * The request status code. Valid values:
47
+ *
48
+ * - **OK**: The request is successful.
49
+ *
39
50
  * @example
40
51
  * OK
41
52
  */
42
53
  code?: string;
54
+ /**
55
+ * @remarks
56
+ * The returned result.
57
+ */
43
58
  data?: UAIDVerificationResponseBodyData;
44
59
  /**
60
+ * @remarks
61
+ * The description of the status code.
62
+ *
45
63
  * @example
46
64
  * OK
47
65
  */
48
66
  message?: string;
49
67
  /**
68
+ * @remarks
69
+ * The request ID.
70
+ *
50
71
  * @example
51
72
  * 68A40250-50CD-034C-B728-0BD******177
52
73
  */
@@ -4,12 +4,17 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class UpdateContactsRequest extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The email address of the contact.
9
+ *
7
10
  * @example
8
11
  * XXXX@alibaba-inc.com
9
12
  */
10
13
  contactEmail?: string;
11
14
  /**
12
15
  * @remarks
16
+ * The ID of the contact to update. You can retrieve the ID by calling the ListContacts operation.
17
+ *
13
18
  * This parameter is required.
14
19
  *
15
20
  * @example
@@ -17,32 +22,63 @@ export class UpdateContactsRequest extends $dara.Model {
17
22
  */
18
23
  contactId?: number;
19
24
  /**
25
+ * @remarks
26
+ * The name of the contact.
27
+ *
20
28
  * @example
21
29
  * XXX
22
30
  */
23
31
  contactName?: string;
24
32
  /**
33
+ * @remarks
34
+ * The mobile phone number of the contact.
35
+ *
25
36
  * @example
26
37
  * 192XXXXXXXX
27
38
  */
28
39
  contactPhone?: string;
29
40
  /**
41
+ * @remarks
42
+ * Enables or disables email alerts. Valid values:
43
+ *
44
+ * - 0: disabled.
45
+ *
46
+ * - 1: enabled.
47
+ *
30
48
  * @example
31
49
  * 1
32
50
  */
33
51
  mailStatus?: number;
34
52
  /**
53
+ * @remarks
54
+ * Enables or disables alerts for number status.
55
+ * Valid values:
56
+ *
57
+ * - **true**: enabled.
58
+ *
59
+ * - **false**: disabled.
60
+ *
35
61
  * @example
36
62
  * false
37
63
  */
38
64
  openStatusWarning?: boolean;
39
65
  /**
66
+ * @remarks
67
+ * Enables or disables alerts for number attribution queries. Valid values: -**true**: enabled. -**false**: disabled.
68
+ *
40
69
  * @example
41
70
  * true
42
71
  */
43
72
  opentAttributionWarning?: boolean;
44
73
  ownerId?: number;
45
74
  /**
75
+ * @remarks
76
+ * Enables or disables phone call alerts. Valid values:
77
+ *
78
+ * - 0: disabled.
79
+ *
80
+ * - 1: enabled.
81
+ *
46
82
  * @example
47
83
  * 1
48
84
  */
@@ -4,21 +4,33 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class UpdateContactsResponseBody extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The request status code. The value `OK` indicates a successful request. For more information about other error codes, see [Error codes](https://help.aliyun.com/document_detail/109196.html).
9
+ *
7
10
  * @example
8
11
  * OK
9
12
  */
10
13
  code?: string;
11
14
  /**
15
+ * @remarks
16
+ * Indicates whether the operation was successful. A value of **true** indicates success, and a value of **false** indicates failure.
17
+ *
12
18
  * @example
13
19
  * false
14
20
  */
15
21
  data?: boolean;
16
22
  /**
23
+ * @remarks
24
+ * The description of the status code.
25
+ *
17
26
  * @example
18
27
  * OK
19
28
  */
20
29
  message?: string;
21
30
  /**
31
+ * @remarks
32
+ * The request ID.
33
+ *
22
34
  * @example
23
35
  * 68A40250-50CD-034C-B728-0BD******177
24
36
  */