@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
@@ -0,0 +1,130 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class HistoryThreeElementsVerificationResponseBodyData extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The consistency of the verification result. Valid values:
9
+ *
10
+ * - `0`: No record found.
11
+ *
12
+ * - `1`: The phone number, ID number, and name match the carrier\\"s records.
13
+ *
14
+ * - `2`: The phone number and ID number match the carrier\\"s records, but the name does not.
15
+ *
16
+ * - `3`: The phone number and name match the carrier\\"s records, but the ID number does not.
17
+ *
18
+ * - `4`: The phone number matches the carrier\\"s records, but the name and ID number do not.
19
+ *
20
+ * @example
21
+ * 72
22
+ */
23
+ isConsistent?: number;
24
+ /**
25
+ * @remarks
26
+ * The carrier to which the request was routed.
27
+ *
28
+ * @example
29
+ * CMCC
30
+ */
31
+ requestCarrier?: string;
32
+ static names(): { [key: string]: string } {
33
+ return {
34
+ isConsistent: 'IsConsistent',
35
+ requestCarrier: 'RequestCarrier',
36
+ };
37
+ }
38
+
39
+ static types(): { [key: string]: any } {
40
+ return {
41
+ isConsistent: 'number',
42
+ requestCarrier: 'string',
43
+ };
44
+ }
45
+
46
+ validate() {
47
+ super.validate();
48
+ }
49
+
50
+ constructor(map?: { [key: string]: any }) {
51
+ super(map);
52
+ }
53
+ }
54
+
55
+ export class HistoryThreeElementsVerificationResponseBody extends $dara.Model {
56
+ /**
57
+ * @remarks
58
+ * Details about why access is denied.
59
+ *
60
+ * > This parameter is returned only when RAM authentication fails.
61
+ *
62
+ * @example
63
+ * -
64
+ */
65
+ accessDeniedDetail?: string;
66
+ /**
67
+ * @remarks
68
+ * The status code of the request.
69
+ *
70
+ * - A value of `OK` indicates the request was successful.
71
+ *
72
+ * - For other values, see the Error Codes section.
73
+ *
74
+ * @example
75
+ * OK
76
+ */
77
+ code?: string;
78
+ /**
79
+ * @remarks
80
+ * The query results.
81
+ */
82
+ data?: HistoryThreeElementsVerificationResponseBodyData;
83
+ /**
84
+ * @remarks
85
+ * The description of the status code.
86
+ *
87
+ * @example
88
+ * OK
89
+ */
90
+ message?: string;
91
+ /**
92
+ * @remarks
93
+ * The request ID.
94
+ *
95
+ * @example
96
+ * CC3BB6D2-2FDF-4321-9DCE-B38165CE4C47
97
+ */
98
+ requestId?: string;
99
+ static names(): { [key: string]: string } {
100
+ return {
101
+ accessDeniedDetail: 'AccessDeniedDetail',
102
+ code: 'Code',
103
+ data: 'Data',
104
+ message: 'Message',
105
+ requestId: 'RequestId',
106
+ };
107
+ }
108
+
109
+ static types(): { [key: string]: any } {
110
+ return {
111
+ accessDeniedDetail: 'string',
112
+ code: 'string',
113
+ data: HistoryThreeElementsVerificationResponseBodyData,
114
+ message: 'string',
115
+ requestId: 'string',
116
+ };
117
+ }
118
+
119
+ validate() {
120
+ if(this.data && typeof (this.data as any).validate === 'function') {
121
+ (this.data as any).validate();
122
+ }
123
+ super.validate();
124
+ }
125
+
126
+ constructor(map?: { [key: string]: any }) {
127
+ super(map);
128
+ }
129
+ }
130
+
@@ -7,7 +7,7 @@ export class InvalidPhoneNumberFilterRequest 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
+ * > Log on to the [Cell Phone Number Service console](https://dytns.console.aliyun.com/analysis/apply). On the **My Applications** page, obtain the authorization ID, which serves as the authorization code.
11
11
  *
12
12
  * This parameter is required.
13
13
  *
@@ -29,7 +29,7 @@ export class InvalidPhoneNumberFilterRequest extends $dara.Model {
29
29
  * @remarks
30
30
  * The encryption method of the phone number.
31
31
  *
32
- * > Only the NORMAL encryption method is supported.
32
+ * >Notice: Only the NORMAL encryption method is supported.
33
33
  *
34
34
  * This parameter is required.
35
35
  *
@@ -5,10 +5,11 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class InvalidPhoneNumberFilterResponseBodyData extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The returned filter results.
8
+ * The filtering result.
9
9
  *
10
- * * **YES**: the valid phone number. The mappings are returned.
11
- * * **NO**: the invalid phone number. No mappings are returned.
10
+ * - **YES**: A valid phone number. The mapping relationship is returned.
11
+ *
12
+ * - **NO**: An invalid phone number. The mapping relationship is not returned.
12
13
  *
13
14
  * @example
14
15
  * YES
@@ -24,7 +25,7 @@ export class InvalidPhoneNumberFilterResponseBodyData extends $dara.Model {
24
25
  encryptedNumber?: string;
25
26
  /**
26
27
  * @remarks
27
- * The time when the phone number expires.
28
+ * The expiration time of the phone number.
28
29
  *
29
30
  * @example
30
31
  * 2022-05-27 16:05:23
@@ -68,19 +69,28 @@ export class InvalidPhoneNumberFilterResponseBodyData extends $dara.Model {
68
69
  export class InvalidPhoneNumberFilterResponseBody extends $dara.Model {
69
70
  /**
70
71
  * @remarks
71
- * The response code. Valid values:
72
- *
73
- * * **OK**: The request is successful.
74
- * * **MobileNumberIllegal**: The phone number is invalid.
75
- * * **EncyrptTypeIllegal**: The encryption type is invalid.
76
- * * **MobileNumberTypeNotMatch**: The phone number does not match the encryption type.
77
- * * **CarrierIllegal**: The carrier type is invalid.
78
- * * **AuthCodeNotExist**: The authorization code does not exist.
79
- * * **PortabilityNumberNotSupported**: Mobile number portability is not supported.
80
- * * **Unknown**: An unknown exception occurred.
81
- * * **AuthCodeAndApiNotMatch**: A system exception occurred.
82
- * * **AuthCodeAndApiNotMatch**: The authorization code does not match the API operation.
83
- * * **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.
72
+ * The status code of the request. Valid values:
73
+ *
74
+ * - **OK**: The request is successful.
75
+ *
76
+ * - **MobileNumberIllegal**: The mobile number is invalid.
77
+ *
78
+ * - **EncyrptTypeIllegal**: The encryption type is invalid.
79
+ *
80
+ * - **MobileNumberTypeNotMatch**: The mobile number does not match the encryption type.
81
+ *
82
+ * - **CarrierIllegal**: The carrier type is invalid.
83
+ *
84
+ * - **AuthCodeNotExist**: The authorization code does not exist.
85
+ *
86
+ * - **PortabilityNumberNotSupported**: Mobile number portability is not supported.
87
+ *
88
+ * - **Unknown**: An unknown exception occurred.
89
+ *
90
+ * - **AuthCodeAndApiNotMatch**: A system exception occurred.
91
+ *
92
+ * - **AuthCodeAndApiNotMatch**: The AuthCode does not match the API operation.
93
+ * - **RequestFrequencyLimit**: Due to carrier restrictions, repeated high-frequency queries against the same phone number within a short period of time are prohibited. If this error code is returned, try again later.
84
94
  *
85
95
  * @example
86
96
  * OK
@@ -88,12 +98,12 @@ export class InvalidPhoneNumberFilterResponseBody extends $dara.Model {
88
98
  code?: string;
89
99
  /**
90
100
  * @remarks
91
- * Details about the returned entries.
101
+ * The array of returned data.
92
102
  */
93
103
  data?: InvalidPhoneNumberFilterResponseBodyData[];
94
104
  /**
95
105
  * @remarks
96
- * The returned message.
106
+ * The description of the status code.
97
107
  *
98
108
  * @example
99
109
  * OK
@@ -4,11 +4,17 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class ListContactsRequest extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The business type. Set the value to `dytns`.
9
+ *
7
10
  * @example
8
11
  * dytns
9
12
  */
10
13
  bizType?: string;
11
14
  /**
15
+ * @remarks
16
+ * The contact ID.
17
+ *
12
18
  * @example
13
19
  * 1298647
14
20
  */
@@ -4,42 +4,89 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class ListContactsResponseBodyData extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The contact email.
9
+ *
7
10
  * @example
8
11
  * xxxx @alibaba-inc.com
9
12
  */
10
13
  contactEmail?: string;
11
14
  /**
15
+ * @remarks
16
+ * The contact ID.
17
+ *
12
18
  * @example
13
19
  * 0
14
20
  */
15
21
  contactId?: number;
22
+ /**
23
+ * @remarks
24
+ * The contact name.
25
+ *
26
+ * @example
27
+ * 黄勇
28
+ */
16
29
  contactName?: string;
17
30
  /**
31
+ * @remarks
32
+ * The contact mobile number.
33
+ *
18
34
  * @example
19
35
  * 19211111111
20
36
  */
21
37
  contactPhone?: string;
22
38
  /**
39
+ * @remarks
40
+ * The email status.
41
+ *
42
+ * - 1: Normal
43
+ *
44
+ * - 0: Abnormal
45
+ *
23
46
  * @example
24
47
  * 1
25
48
  */
26
49
  mailStatus?: number;
27
50
  /**
51
+ * @remarks
52
+ * The calling number.
53
+ *
28
54
  * @example
29
55
  * 0
30
56
  */
31
57
  main?: number;
32
58
  /**
59
+ * @remarks
60
+ * Specifies whether the number status warning is enabled.
61
+ *
62
+ * - **true**: Enabled.
63
+ *
64
+ * - **false**: Disabled.
65
+ *
33
66
  * @example
34
67
  * true
35
68
  */
36
69
  openStatusWarning?: boolean;
37
70
  /**
71
+ * @remarks
72
+ * Specifies whether the number attribution query warning is enabled.
73
+ *
74
+ * - **true**: Enabled.
75
+ *
76
+ * - **false**: Disabled.
77
+ *
38
78
  * @example
39
79
  * true
40
80
  */
41
81
  opentAttributionWarning?: boolean;
42
82
  /**
83
+ * @remarks
84
+ * The number status.
85
+ *
86
+ * - 1: Normal
87
+ *
88
+ * - 0: Abnormal
89
+ *
43
90
  * @example
44
91
  * 1
45
92
  */
@@ -83,17 +130,30 @@ export class ListContactsResponseBodyData extends $dara.Model {
83
130
 
84
131
  export class ListContactsResponseBody extends $dara.Model {
85
132
  /**
133
+ * @remarks
134
+ * The status code. `OK` indicates a successful request.
135
+ *
86
136
  * @example
87
137
  * OK
88
138
  */
89
139
  code?: string;
140
+ /**
141
+ * @remarks
142
+ * An array of contact information objects.
143
+ */
90
144
  data?: ListContactsResponseBodyData[];
91
145
  /**
146
+ * @remarks
147
+ * The response message.
148
+ *
92
149
  * @example
93
150
  * OK
94
151
  */
95
152
  message?: string;
96
153
  /**
154
+ * @remarks
155
+ * The request ID.
156
+ *
97
157
  * @example
98
158
  * CC3BB6D2-2FDF-4321-9DCE-B38165CE4C47
99
159
  */
@@ -7,7 +7,7 @@ export class PhoneNumberEncryptRequest 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,7 +19,7 @@ export class PhoneNumberEncryptRequest extends $dara.Model {
19
19
  * @remarks
20
20
  * The phone number to be queried.
21
21
  *
22
- * > You can query only one phone number at a time.
22
+ * > Currently, only single phone number queries are supported.
23
23
  *
24
24
  * This parameter is required.
25
25
  *
@@ -29,9 +29,10 @@ export class PhoneNumberEncryptRequest extends $dara.Model {
29
29
  inputNumber?: string;
30
30
  /**
31
31
  * @remarks
32
- * The encryption method of the phone number. Set the value to **NORMAL**.
32
+ * The encryption method of the phone number. Valid value: **NORMAL**.
33
33
  *
34
- * > Only the NORMAL encryption method is supported.
34
+ *
35
+ * >Notice: Currently, only the NORMAL encryption method is supported.
35
36
  *
36
37
  * This parameter is required.
37
38
  *
@@ -39,6 +40,13 @@ export class PhoneNumberEncryptRequest extends $dara.Model {
39
40
  * NORMAL
40
41
  */
41
42
  mask?: string;
43
+ /**
44
+ * @remarks
45
+ * The user-defined outId. This parameter is optional. The format is not limited, and the length must be less than or equal to 64 characters.
46
+ *
47
+ * @example
48
+ * 213e367117422635749191493eea68
49
+ */
42
50
  outId?: string;
43
51
  ownerId?: number;
44
52
  resourceOwnerAccount?: string;
@@ -13,7 +13,7 @@ export class PhoneNumberEncryptResponseBodyData extends $dara.Model {
13
13
  encryptedNumber?: string;
14
14
  /**
15
15
  * @remarks
16
- * The time when the phone number expires.
16
+ * The expiration time of the phone number.
17
17
  *
18
18
  * @example
19
19
  * 2022-05-27 16:05:23
@@ -27,6 +27,15 @@ export class PhoneNumberEncryptResponseBodyData extends $dara.Model {
27
27
  * 1390000****
28
28
  */
29
29
  originalNumber?: string;
30
+ /**
31
+ * @remarks
32
+ * The custom ID reserved for the caller when the request was initiated. This ID is eventually returned to the caller.
33
+ *
34
+ * The value is of the string type. The maximum length is 64 characters.
35
+ *
36
+ * @example
37
+ * 215044c917374256269257695e9d22
38
+ */
30
39
  outId?: string;
31
40
  static names(): { [key: string]: string } {
32
41
  return {
@@ -58,10 +67,11 @@ export class PhoneNumberEncryptResponseBodyData extends $dara.Model {
58
67
  export class PhoneNumberEncryptResponseBody extends $dara.Model {
59
68
  /**
60
69
  * @remarks
61
- * The response code.
70
+ * The status code of the request.
71
+ *
72
+ * - The value OK indicates that the request was successful.
62
73
  *
63
- * * The value OK indicates that the request was successful.
64
- * * Other values indicate that the request failed. For more information, see [Error codes](https://help.aliyun.com/document_detail/109196.html).
74
+ * - For information about other error codes, see [Error codes](https://help.aliyun.com/document_detail/109196.html).
65
75
  *
66
76
  * @example
67
77
  * OK
@@ -69,12 +79,12 @@ export class PhoneNumberEncryptResponseBody extends $dara.Model {
69
79
  code?: string;
70
80
  /**
71
81
  * @remarks
72
- * Details about the returned entries.
82
+ * The array.
73
83
  */
74
84
  data?: PhoneNumberEncryptResponseBodyData[];
75
85
  /**
76
86
  * @remarks
77
- * The returned message.
87
+ * The description of the returned status code.
78
88
  *
79
89
  * @example
80
90
  * OK
@@ -7,7 +7,7 @@ export class PhoneNumberStatusForAccountRequest 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 in the [Phone Number Intelligence console](https://dytns.console.aliyun.com/analysis/apply), obtain the authorization ID. This ID is the authorization code.
11
11
  *
12
12
  * This parameter is required.
13
13
  *
@@ -17,13 +17,19 @@ export class PhoneNumberStatusForAccountRequest 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
- * * If the value of Mask is NORMAL, specify an 11-digit phone number in plaintext.
23
- * * If the value of Mask is MD5, specify a 32-bit string that is encrypted by using MD5.
24
- * * If the value of Mask is SHA256, specify a 64-bit string that is encrypted by using SHA256.
22
+ * - If `Mask` is set to `NORMAL`, this parameter is an 11-digit mobile phone number.
25
23
  *
26
- * > Letters in the encrypted strings are not case-sensitive.
24
+ * - If `Mask` is set to `MD5`, this parameter is a 32-character hashed string.
25
+ *
26
+ * - If `Mask` is set to `SHA256`, this parameter is a 64-character hashed string.
27
+ *
28
+ * - If `Mask` is set to `SM3`, this parameter is a 64-character hashed string.
29
+ *
30
+ * >Notice:
31
+ *
32
+ * The letters in the hashed string are case-insensitive.
27
33
  *
28
34
  * This parameter is required.
29
35
  *
@@ -33,11 +39,15 @@ export class PhoneNumberStatusForAccountRequest extends $dara.Model {
33
39
  inputNumber?: string;
34
40
  /**
35
41
  * @remarks
36
- * The encryption method of the phone number. Valid values:
42
+ * The encryption method. Valid values:
43
+ *
44
+ * - **NORMAL**: The number is not encrypted.
45
+ *
46
+ * - **MD5**
47
+ *
48
+ * - **SHA256**
37
49
  *
38
- * * **NORMAL**: The phone number is not encrypted.
39
- * * **MD5**
40
- * * **SHA256**
50
+ * - **SM3**
41
51
  *
42
52
  * This parameter is required.
43
53
  *
@@ -5,13 +5,15 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class PhoneNumberStatusForAccountResponseBodyData extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The basic carrier who assings the phone number. If the queried phone number involves mobile number portability, the carrier after mobile number portability is returned. Valid values:
8
+ * The number\\"s current carrier. If the number has been ported to a new carrier through mobile number portability, the new carrier is returned. Valid values:
9
9
  *
10
- * * **CMCC**: China Mobile
11
- * * **CUCC**: China Unicom
12
- * * **CTCC**: China Telecom
10
+ * - **CMCC**: China Mobile
13
11
  *
14
- * > You are not allowed to query the phone numbers assigned by China Broadnet.
12
+ * - **CUCC**: China Unicom
13
+ *
14
+ * - **CTCC**: China Telecom
15
+ *
16
+ * > Queries for China Broadnet numbers are not supported.
15
17
  *
16
18
  * @example
17
19
  * CMCC
@@ -19,16 +21,21 @@ export class PhoneNumberStatusForAccountResponseBodyData extends $dara.Model {
19
21
  carrier?: string;
20
22
  /**
21
23
  * @remarks
22
- * The returned status for the queried phone number. Valid values:
24
+ * The status of the phone number. Valid values:
25
+ *
26
+ * - **NORMAL**: The number is active.
27
+ *
28
+ * - **SHUTDOWN**: The number is suspended or temporarily out of service.
29
+ *
30
+ * - **POWER_OFF**: The phone is powered off.
23
31
  *
24
- * * **NORMAL**: The queried phone number is valid.
25
- * * **SHUTDOWN**: The queried phone number is suspended.
26
- * * **POWER_OFF**: The queried phone number cannot be connected.
27
- * * **NOT_EXIST**: The queried phone number is a nonexistent number.
28
- * * **DEFECT**: The queried phone number is invalid.
29
- * * **UNKNOWN**: The queried phone number is unknown.
32
+ * - **NOT_EXIST**: The number is non-existent.
30
33
  *
31
- * > Due to system adjustment of the carrier, the BUSY and POWER_OFF states cannot be returned for the numbers assigned by China Telecom. [For more information, see the official announcements](https://help.aliyun.com/document_detail/2489709.html).
34
+ * - **DEFECT**: The number is invalid.
35
+ *
36
+ * - **UNKNOWN**: The status is unknown.
37
+ *
38
+ * > Due to adjustments in the carrier\\"s system, China Telecom numbers do not return the `busy` and `powered off` statuses. For more information, [see the official announcement](https://help.aliyun.com/document_detail/2489709.html).
32
39
  *
33
40
  * @example
34
41
  * NORMAL
@@ -62,9 +69,11 @@ export class PhoneNumberStatusForAccountResponseBody extends $dara.Model {
62
69
  * @remarks
63
70
  * The response code. Valid values:
64
71
  *
65
- * * **OK**: The request is successful.
66
- * * **OperatorLimit**: The carrier prohibits the query of the phone number.
67
- * * **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.
72
+ * - **OK**: The request was successful.
73
+ *
74
+ * - **OperatorLimit**: The query is prohibited by the carrier.
75
+ *
76
+ * - **RequestFrequencyLimit**: Carriers restrict frequent queries for the same number within a short period. If you receive this error code, try again later.
68
77
  *
69
78
  * @example
70
79
  * OK
@@ -72,12 +81,12 @@ export class PhoneNumberStatusForAccountResponseBody extends $dara.Model {
72
81
  code?: string;
73
82
  /**
74
83
  * @remarks
75
- * The response parameters.
84
+ * The response object.
76
85
  */
77
86
  data?: PhoneNumberStatusForAccountResponseBodyData;
78
87
  /**
79
88
  * @remarks
80
- * The returned message.
89
+ * The description of the status code.
81
90
  *
82
91
  * @example
83
92
  * OK
@@ -85,7 +94,7 @@ export class PhoneNumberStatusForAccountResponseBody extends $dara.Model {
85
94
  message?: string;
86
95
  /**
87
96
  * @remarks
88
- * The unique request ID. It is a common parameter and can be used to troubleshoot issues.
97
+ * The ID of the request. This ID is unique to each request and can be used for troubleshooting.
89
98
  *
90
99
  * @example
91
100
  * CC3BB6D2-2FDF-4321-9DCE-B38165CE4C47
@@ -7,7 +7,7 @@ export class PhoneNumberStatusForPublicRequest 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 ID.
10
+ * > On the **My Applications** page of the [Phone Number Intelligence console](https://dytns.console.aliyun.com/analysis/apply), you can obtain the authorization ID and use it as the authorization code.
11
11
  *
12
12
  * This parameter is required.
13
13
  *
@@ -19,11 +19,15 @@ export class PhoneNumberStatusForPublicRequest extends $dara.Model {
19
19
  * @remarks
20
20
  * The phone number to be queried.
21
21
  *
22
- * * If the value of Mask is NORMAL, the value of this field is an 11-digit phone number.
23
- * * If the value of Mask is MD5, the value of this field is a 32-bit encrypted string.
24
- * * If the value of Mask is SHA256, the value of this field is a 64-bit encrypted string.
22
+ * - If `Mask` is set to `NORMAL`, this parameter must be an 11-digit mobile phone number.
25
23
  *
26
- * > Letters in the encrypted strings are not case-sensitive.
24
+ * - If `Mask` is set to `MD5`, this parameter must be a 32-character encrypted string.
25
+ *
26
+ * - If `Mask` is set to `SHA256`, this parameter must be a 64-character encrypted string.
27
+ *
28
+ * - If `Mask` is set to `SM3`, this parameter must be a 64-character encrypted string.
29
+ *
30
+ * > The encrypted strings are case-insensitive.
27
31
  *
28
32
  * @example
29
33
  * 139****1234
@@ -31,11 +35,15 @@ export class PhoneNumberStatusForPublicRequest extends $dara.Model {
31
35
  inputNumber?: string;
32
36
  /**
33
37
  * @remarks
34
- * The encryption method of the phone number. Valid values:
38
+ * The encryption method. Valid values:
39
+ *
40
+ * - **NORMAL**: The phone number is not encrypted.
41
+ *
42
+ * - **MD5**
43
+ *
44
+ * - **SHA256**
35
45
  *
36
- * * **NORMAL**: The phone number is not encrypted.
37
- * * **MD5**
38
- * * **SHA256**
46
+ * - **SM3**
39
47
  *
40
48
  * This parameter is required.
41
49
  *