@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.
- package/dist/client.d.ts +543 -228
- package/dist/client.js +605 -229
- package/dist/client.js.map +1 -1
- package/dist/models/CertNoThreeElementVerificationRequest.d.ts +15 -2
- package/dist/models/CertNoThreeElementVerificationRequest.js.map +1 -1
- package/dist/models/CertNoThreeElementVerificationResponseBody.d.ts +33 -0
- package/dist/models/CertNoThreeElementVerificationResponseBody.js.map +1 -1
- package/dist/models/CertNoTwoElementVerificationRequest.d.ts +10 -2
- package/dist/models/CertNoTwoElementVerificationRequest.js.map +1 -1
- package/dist/models/CertNoTwoElementVerificationResponseBody.d.ts +25 -0
- package/dist/models/CertNoTwoElementVerificationResponseBody.js.map +1 -1
- package/dist/models/CompanyFourElementsVerificationRequest.d.ts +10 -13
- package/dist/models/CompanyFourElementsVerificationRequest.js.map +1 -1
- package/dist/models/CompanyFourElementsVerificationResponseBody.d.ts +21 -18
- package/dist/models/CompanyFourElementsVerificationResponseBody.js.map +1 -1
- package/dist/models/CompanyThreeElementsVerificationRequest.d.ts +7 -8
- package/dist/models/CompanyThreeElementsVerificationRequest.js.map +1 -1
- package/dist/models/CompanyThreeElementsVerificationResponseBody.d.ts +26 -20
- package/dist/models/CompanyThreeElementsVerificationResponseBody.js.map +1 -1
- package/dist/models/CompanyTwoElementsVerificationRequest.d.ts +5 -5
- package/dist/models/CompanyTwoElementsVerificationResponseBody.d.ts +26 -16
- package/dist/models/CompanyTwoElementsVerificationResponseBody.js.map +1 -1
- package/dist/models/DeleteContactsRequest.d.ts +2 -0
- package/dist/models/DeleteContactsRequest.js.map +1 -1
- package/dist/models/DeleteContactsResponseBody.d.ts +17 -0
- package/dist/models/DeleteContactsResponseBody.js.map +1 -1
- package/dist/models/DescribeEmptyNumberRequest.d.ts +10 -7
- package/dist/models/DescribeEmptyNumberRequest.js.map +1 -1
- package/dist/models/DescribeEmptyNumberResponseBody.d.ts +16 -12
- package/dist/models/DescribeEmptyNumberResponseBody.js.map +1 -1
- package/dist/models/DescribePhoneNumberAnalysisAirequest.d.ts +5 -5
- package/dist/models/DescribePhoneNumberAnalysisAiresponseBody.d.ts +16 -10
- package/dist/models/DescribePhoneNumberAnalysisAiresponseBody.js.map +1 -1
- package/dist/models/DescribePhoneNumberAnalysisRequest.d.ts +29 -2
- package/dist/models/DescribePhoneNumberAnalysisRequest.js.map +1 -1
- package/dist/models/DescribePhoneNumberAnalysisResponseBody.d.ts +36 -1
- package/dist/models/DescribePhoneNumberAnalysisResponseBody.js.map +1 -1
- package/dist/models/DescribePhoneNumberAnalysisTransparentResponseBody.d.ts +0 -16
- package/dist/models/DescribePhoneNumberAnalysisTransparentResponseBody.js.map +1 -1
- package/dist/models/DescribePhoneNumberAttributeRequest.d.ts +0 -5
- package/dist/models/DescribePhoneNumberAttributeRequest.js.map +1 -1
- package/dist/models/DescribePhoneNumberAttributeResponseBody.d.ts +0 -67
- package/dist/models/DescribePhoneNumberAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribePhoneNumberOnlineTimeRequest.d.ts +13 -14
- package/dist/models/DescribePhoneNumberOnlineTimeRequest.js.map +1 -1
- package/dist/models/DescribePhoneNumberOnlineTimeResponseBody.d.ts +21 -21
- package/dist/models/DescribePhoneNumberOnlineTimeResponseBody.js.map +1 -1
- package/dist/models/DescribePhoneNumberOperatorAttributeRequest.d.ts +20 -12
- package/dist/models/DescribePhoneNumberOperatorAttributeRequest.js.map +1 -1
- package/dist/models/DescribePhoneNumberOperatorAttributeResponseBody.d.ts +30 -22
- package/dist/models/DescribePhoneNumberOperatorAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribePhoneTwiceTelVerifyRequest.d.ts +18 -14
- package/dist/models/DescribePhoneTwiceTelVerifyRequest.js.map +1 -1
- package/dist/models/DescribePhoneTwiceTelVerifyResponseBody.d.ts +29 -19
- package/dist/models/DescribePhoneTwiceTelVerifyResponseBody.js.map +1 -1
- package/dist/models/GetUaidapplyTokenSignRequest.d.ts +35 -0
- package/dist/models/GetUaidapplyTokenSignRequest.js.map +1 -1
- package/dist/models/GetUaidapplyTokenSignResponseBody.d.ts +33 -0
- package/dist/models/GetUaidapplyTokenSignResponseBody.js.map +1 -1
- package/dist/models/HistoryThreeElementsVerificationRequest.d.ts +43 -6
- package/dist/models/HistoryThreeElementsVerificationRequest.js.map +1 -1
- package/dist/models/HistoryThreeElementsVerificationResponseBody.d.ts +38 -0
- package/dist/models/HistoryThreeElementsVerificationResponseBody.js.map +1 -1
- package/dist/models/InvalidPhoneNumberFilterRequest.d.ts +2 -2
- package/dist/models/InvalidPhoneNumberFilterResponseBody.d.ts +29 -19
- package/dist/models/InvalidPhoneNumberFilterResponseBody.js.map +1 -1
- package/dist/models/ListContactsRequest.d.ts +6 -0
- package/dist/models/ListContactsRequest.js.map +1 -1
- package/dist/models/ListContactsResponseBody.d.ts +60 -0
- package/dist/models/ListContactsResponseBody.js.map +1 -1
- package/dist/models/PhoneNumberEncryptRequest.d.ts +12 -4
- package/dist/models/PhoneNumberEncryptRequest.js.map +1 -1
- package/dist/models/PhoneNumberEncryptResponseBody.d.ts +16 -6
- package/dist/models/PhoneNumberEncryptResponseBody.js.map +1 -1
- package/dist/models/PhoneNumberStatusForAccountRequest.d.ts +20 -10
- package/dist/models/PhoneNumberStatusForAccountRequest.js.map +1 -1
- package/dist/models/PhoneNumberStatusForAccountResponseBody.d.ts +28 -19
- package/dist/models/PhoneNumberStatusForAccountResponseBody.js.map +1 -1
- package/dist/models/PhoneNumberStatusForPublicRequest.d.ts +17 -9
- package/dist/models/PhoneNumberStatusForPublicRequest.js.map +1 -1
- package/dist/models/PhoneNumberStatusForPublicResponseBody.d.ts +32 -22
- package/dist/models/PhoneNumberStatusForPublicResponseBody.js.map +1 -1
- package/dist/models/PhoneNumberStatusForRealRequest.d.ts +19 -9
- package/dist/models/PhoneNumberStatusForRealRequest.js.map +1 -1
- package/dist/models/PhoneNumberStatusForRealResponseBody.d.ts +33 -22
- package/dist/models/PhoneNumberStatusForRealResponseBody.js.map +1 -1
- package/dist/models/PhoneNumberStatusForSmsRequest.d.ts +20 -10
- package/dist/models/PhoneNumberStatusForSmsRequest.js.map +1 -1
- package/dist/models/PhoneNumberStatusForSmsResponseBody.d.ts +29 -20
- package/dist/models/PhoneNumberStatusForSmsResponseBody.js.map +1 -1
- package/dist/models/PhoneNumberStatusForVoiceRequest.d.ts +19 -9
- package/dist/models/PhoneNumberStatusForVoiceRequest.js.map +1 -1
- package/dist/models/PhoneNumberStatusForVoiceResponseBody.d.ts +31 -21
- package/dist/models/PhoneNumberStatusForVoiceResponseBody.js.map +1 -1
- package/dist/models/QueryAvailableAuthCodeRequest.d.ts +1 -1
- package/dist/models/QueryAvailableAuthCodeResponseBody.d.ts +8 -7
- package/dist/models/QueryAvailableAuthCodeResponseBody.js.map +1 -1
- package/dist/models/QueryPackageTypeInfoRequest.d.ts +1 -1
- package/dist/models/QueryPackageTypeInfoResponseBody.d.ts +31 -4
- package/dist/models/QueryPackageTypeInfoResponseBody.js.map +1 -1
- package/dist/models/QueryTagApplyRuleResponseBody.d.ts +28 -15
- package/dist/models/QueryTagApplyRuleResponseBody.js.map +1 -1
- package/dist/models/QueryTagInfoBySelectionResponseBody.d.ts +33 -18
- package/dist/models/QueryTagInfoBySelectionResponseBody.js.map +1 -1
- package/dist/models/QueryTagListPageResponseBody.d.ts +23 -21
- package/dist/models/QueryTagListPageResponseBody.js.map +1 -1
- package/dist/models/QueryTaskListRequest.d.ts +24 -1
- package/dist/models/QueryTaskListRequest.js.map +1 -1
- package/dist/models/QueryTaskListResponseBody.d.ts +31 -0
- package/dist/models/QueryTaskListResponseBody.js.map +1 -1
- package/dist/models/QueryTaskListShrinkRequest.d.ts +24 -1
- package/dist/models/QueryTaskListShrinkRequest.js.map +1 -1
- package/dist/models/QueryUsageStatisticsByTagIdRequest.d.ts +5 -5
- package/dist/models/QueryUsageStatisticsByTagIdResponseBody.d.ts +23 -24
- package/dist/models/QueryUsageStatisticsByTagIdResponseBody.js.map +1 -1
- package/dist/models/SaveContactsRequest.d.ts +26 -0
- package/dist/models/SaveContactsRequest.js.map +1 -1
- package/dist/models/SaveContactsResponseBody.d.ts +12 -0
- package/dist/models/SaveContactsResponseBody.js.map +1 -1
- package/dist/models/ThreeElementsVerificationRequest.d.ts +19 -17
- package/dist/models/ThreeElementsVerificationRequest.js.map +1 -1
- package/dist/models/ThreeElementsVerificationResponseBody.d.ts +23 -21
- package/dist/models/ThreeElementsVerificationResponseBody.js.map +1 -1
- package/dist/models/TwoElementsVerificationRequest.d.ts +15 -13
- package/dist/models/TwoElementsVerificationRequest.js.map +1 -1
- package/dist/models/TwoElementsVerificationResponseBody.d.ts +26 -22
- package/dist/models/TwoElementsVerificationResponseBody.js.map +1 -1
- package/dist/models/UaidverificationRequest.d.ts +28 -2
- package/dist/models/UaidverificationRequest.js.map +1 -1
- package/dist/models/UaidverificationResponseBody.d.ts +21 -0
- package/dist/models/UaidverificationResponseBody.js.map +1 -1
- package/dist/models/UpdateContactsRequest.d.ts +36 -0
- package/dist/models/UpdateContactsRequest.js.map +1 -1
- package/dist/models/UpdateContactsResponseBody.d.ts +12 -0
- package/dist/models/UpdateContactsResponseBody.js.map +1 -1
- package/dist/models/VirtualThreeElementsVerificationRequest.d.ts +53 -0
- package/dist/models/VirtualThreeElementsVerificationRequest.js +66 -0
- package/dist/models/VirtualThreeElementsVerificationRequest.js.map +1 -0
- package/dist/models/VirtualThreeElementsVerificationResponse.d.ts +19 -0
- package/dist/models/VirtualThreeElementsVerificationResponse.js +69 -0
- package/dist/models/VirtualThreeElementsVerificationResponse.js.map +1 -0
- package/dist/models/VirtualThreeElementsVerificationResponseBody.d.ts +35 -0
- package/dist/models/VirtualThreeElementsVerificationResponseBody.js +88 -0
- package/dist/models/VirtualThreeElementsVerificationResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +12 -4
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +612 -229
- package/src/models/CertNoThreeElementVerificationRequest.ts +15 -2
- package/src/models/CertNoThreeElementVerificationResponseBody.ts +33 -0
- package/src/models/CertNoTwoElementVerificationRequest.ts +10 -2
- package/src/models/CertNoTwoElementVerificationResponseBody.ts +25 -0
- package/src/models/CompanyFourElementsVerificationRequest.ts +10 -13
- package/src/models/CompanyFourElementsVerificationResponseBody.ts +21 -18
- package/src/models/CompanyThreeElementsVerificationRequest.ts +7 -8
- package/src/models/CompanyThreeElementsVerificationResponseBody.ts +26 -20
- package/src/models/CompanyTwoElementsVerificationRequest.ts +5 -5
- package/src/models/CompanyTwoElementsVerificationResponseBody.ts +26 -16
- package/src/models/DeleteContactsRequest.ts +2 -0
- package/src/models/DeleteContactsResponseBody.ts +17 -0
- package/src/models/DescribeEmptyNumberRequest.ts +10 -7
- package/src/models/DescribeEmptyNumberResponseBody.ts +16 -12
- package/src/models/DescribePhoneNumberAnalysisAirequest.ts +5 -5
- package/src/models/DescribePhoneNumberAnalysisAiresponseBody.ts +16 -10
- package/src/models/DescribePhoneNumberAnalysisRequest.ts +29 -2
- package/src/models/DescribePhoneNumberAnalysisResponseBody.ts +36 -1
- package/src/models/DescribePhoneNumberAnalysisTransparentResponseBody.ts +0 -16
- package/src/models/DescribePhoneNumberAttributeRequest.ts +0 -5
- package/src/models/DescribePhoneNumberAttributeResponseBody.ts +0 -67
- package/src/models/DescribePhoneNumberOnlineTimeRequest.ts +13 -14
- package/src/models/DescribePhoneNumberOnlineTimeResponseBody.ts +21 -21
- package/src/models/DescribePhoneNumberOperatorAttributeRequest.ts +20 -12
- package/src/models/DescribePhoneNumberOperatorAttributeResponseBody.ts +30 -22
- package/src/models/DescribePhoneTwiceTelVerifyRequest.ts +19 -15
- package/src/models/DescribePhoneTwiceTelVerifyResponseBody.ts +29 -19
- package/src/models/GetUaidapplyTokenSignRequest.ts +35 -0
- package/src/models/GetUaidapplyTokenSignResponseBody.ts +33 -0
- package/src/models/HistoryThreeElementsVerificationRequest.ts +43 -6
- package/src/models/HistoryThreeElementsVerificationResponseBody.ts +38 -0
- package/src/models/InvalidPhoneNumberFilterRequest.ts +2 -2
- package/src/models/InvalidPhoneNumberFilterResponseBody.ts +29 -19
- package/src/models/ListContactsRequest.ts +6 -0
- package/src/models/ListContactsResponseBody.ts +60 -0
- package/src/models/PhoneNumberEncryptRequest.ts +12 -4
- package/src/models/PhoneNumberEncryptResponseBody.ts +16 -6
- package/src/models/PhoneNumberStatusForAccountRequest.ts +20 -10
- package/src/models/PhoneNumberStatusForAccountResponseBody.ts +28 -19
- package/src/models/PhoneNumberStatusForPublicRequest.ts +17 -9
- package/src/models/PhoneNumberStatusForPublicResponseBody.ts +32 -22
- package/src/models/PhoneNumberStatusForRealRequest.ts +19 -9
- package/src/models/PhoneNumberStatusForRealResponseBody.ts +33 -22
- package/src/models/PhoneNumberStatusForSmsRequest.ts +20 -10
- package/src/models/PhoneNumberStatusForSmsResponseBody.ts +29 -20
- package/src/models/PhoneNumberStatusForVoiceRequest.ts +19 -9
- package/src/models/PhoneNumberStatusForVoiceResponseBody.ts +31 -21
- package/src/models/QueryAvailableAuthCodeRequest.ts +1 -1
- package/src/models/QueryAvailableAuthCodeResponseBody.ts +8 -7
- package/src/models/QueryPackageTypeInfoRequest.ts +1 -1
- package/src/models/QueryPackageTypeInfoResponseBody.ts +31 -4
- package/src/models/QueryTagApplyRuleResponseBody.ts +28 -15
- package/src/models/QueryTagInfoBySelectionResponseBody.ts +33 -18
- package/src/models/QueryTagListPageResponseBody.ts +23 -21
- package/src/models/QueryTaskListRequest.ts +24 -1
- package/src/models/QueryTaskListResponseBody.ts +31 -0
- package/src/models/QueryTaskListShrinkRequest.ts +24 -1
- package/src/models/QueryUsageStatisticsByTagIdRequest.ts +5 -5
- package/src/models/QueryUsageStatisticsByTagIdResponseBody.ts +23 -24
- package/src/models/SaveContactsRequest.ts +26 -0
- package/src/models/SaveContactsResponseBody.ts +12 -0
- package/src/models/ThreeElementsVerificationRequest.ts +19 -17
- package/src/models/ThreeElementsVerificationResponseBody.ts +23 -21
- package/src/models/TwoElementsVerificationRequest.ts +15 -13
- package/src/models/TwoElementsVerificationResponseBody.ts +26 -22
- package/src/models/UaidverificationRequest.ts +28 -2
- package/src/models/UaidverificationResponseBody.ts +21 -0
- package/src/models/UpdateContactsRequest.ts +36 -0
- package/src/models/UpdateContactsResponseBody.ts +12 -0
- package/src/models/VirtualThreeElementsVerificationRequest.ts +74 -0
- package/src/models/VirtualThreeElementsVerificationResponse.ts +40 -0
- package/src/models/VirtualThreeElementsVerificationResponseBody.ts +69 -0
- package/src/models/model.ts +4 -0
|
@@ -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
|
|
8
|
+
* The filtering result.
|
|
9
9
|
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
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
|
|
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
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
*
|
|
83
|
-
*
|
|
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
|
-
*
|
|
101
|
+
* The array of returned data.
|
|
92
102
|
*/
|
|
93
103
|
data?: InvalidPhoneNumberFilterResponseBodyData[];
|
|
94
104
|
/**
|
|
95
105
|
* @remarks
|
|
96
|
-
* The
|
|
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
|
-
* >
|
|
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
|
-
* >
|
|
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.
|
|
32
|
+
* The encryption method of the phone number. Valid value: **NORMAL**.
|
|
33
33
|
*
|
|
34
|
-
*
|
|
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
|
|
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
|
|
70
|
+
* The status code of the request.
|
|
71
|
+
*
|
|
72
|
+
* - The value OK indicates that the request was successful.
|
|
62
73
|
*
|
|
63
|
-
*
|
|
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
|
-
*
|
|
82
|
+
* The array.
|
|
73
83
|
*/
|
|
74
84
|
data?: PhoneNumberEncryptResponseBodyData[];
|
|
75
85
|
/**
|
|
76
86
|
* @remarks
|
|
77
|
-
* The returned
|
|
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
|
-
* >
|
|
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
|
|
20
|
+
* The phone number to query.
|
|
21
21
|
*
|
|
22
|
-
*
|
|
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
|
-
*
|
|
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
|
|
42
|
+
* The encryption method. Valid values:
|
|
43
|
+
*
|
|
44
|
+
* - **NORMAL**: The number is not encrypted.
|
|
45
|
+
*
|
|
46
|
+
* - **MD5**
|
|
47
|
+
*
|
|
48
|
+
* - **SHA256**
|
|
37
49
|
*
|
|
38
|
-
*
|
|
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
|
|
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
|
-
*
|
|
11
|
-
* * **CUCC**: China Unicom
|
|
12
|
-
* * **CTCC**: China Telecom
|
|
10
|
+
* - **CMCC**: China Mobile
|
|
13
11
|
*
|
|
14
|
-
*
|
|
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
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
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
|
|
84
|
+
* The response object.
|
|
76
85
|
*/
|
|
77
86
|
data?: PhoneNumberStatusForAccountResponseBodyData;
|
|
78
87
|
/**
|
|
79
88
|
* @remarks
|
|
80
|
-
* The
|
|
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
|
|
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
|
-
* >
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
|
38
|
+
* The encryption method. Valid values:
|
|
39
|
+
*
|
|
40
|
+
* - **NORMAL**: The phone number is not encrypted.
|
|
41
|
+
*
|
|
42
|
+
* - **MD5**
|
|
43
|
+
*
|
|
44
|
+
* - **SHA256**
|
|
35
45
|
*
|
|
36
|
-
*
|
|
37
|
-
* * **MD5**
|
|
38
|
-
* * **SHA256**
|
|
46
|
+
* - **SM3**
|
|
39
47
|
*
|
|
40
48
|
* This parameter is required.
|
|
41
49
|
*
|
|
@@ -5,15 +5,17 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class PhoneNumberStatusForPublicResponseBodyData extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The basic carrier
|
|
8
|
+
* The basic carrier of the number. If the number has been ported, this parameter returns the current carrier.
|
|
9
9
|
*
|
|
10
10
|
* Valid values:
|
|
11
11
|
*
|
|
12
|
-
*
|
|
13
|
-
* * **CUCC**: China Unicom
|
|
14
|
-
* * **CTCC**: China Telecom
|
|
12
|
+
* - **CMCC**: China Mobile
|
|
15
13
|
*
|
|
16
|
-
*
|
|
14
|
+
* - **CUCC**: China Unicom
|
|
15
|
+
*
|
|
16
|
+
* - **CTCC**: China Telecom
|
|
17
|
+
*
|
|
18
|
+
* - **CBN**: China Broadnet
|
|
17
19
|
*
|
|
18
20
|
* @example
|
|
19
21
|
* CMCC
|
|
@@ -21,17 +23,23 @@ export class PhoneNumberStatusForPublicResponseBodyData extends $dara.Model {
|
|
|
21
23
|
carrier?: string;
|
|
22
24
|
/**
|
|
23
25
|
* @remarks
|
|
24
|
-
* The
|
|
26
|
+
* The status of the queried phone number. Valid values:
|
|
27
|
+
*
|
|
28
|
+
* - **NORMAL**: The number is in service.
|
|
29
|
+
*
|
|
30
|
+
* - **SHUTDOWN**: The service for the number is suspended.
|
|
31
|
+
*
|
|
32
|
+
* - **POWER_OFF**: The phone is powered off.
|
|
25
33
|
*
|
|
26
|
-
*
|
|
27
|
-
* * **SHUTDOWN**: The queried phone number is suspended.
|
|
28
|
-
* * **POWER_OFF**: The phone is powered off.
|
|
29
|
-
* * **NOT_EXIST**: The queried phone number is a nonexistent number.
|
|
30
|
-
* * **SUSPECTED_POWER_OFF**: The phone is suspected to be powered off.
|
|
31
|
-
* * **BUSY**: The queried phone number is busy.
|
|
32
|
-
* * **UNKNOWN**: The queried phone number is unknown.
|
|
34
|
+
* - **NOT_EXIST**: The number is non-existent.
|
|
33
35
|
*
|
|
34
|
-
*
|
|
36
|
+
* - **SUSPECTED_POWER_OFF**: The phone is suspected to be powered off.
|
|
37
|
+
*
|
|
38
|
+
* - **BUSY**: The line is busy.
|
|
39
|
+
*
|
|
40
|
+
* - **UNKNOWN**: The status is unknown.
|
|
41
|
+
*
|
|
42
|
+
* > Due to carrier system adjustments, the `BUSY`, `SUSPECTED_POWER_OFF`, and `POWER_OFF` statuses are not returned for China Telecom numbers. For more information, see the [official announcement](https://help.aliyun.com/document_detail/2489709.html).
|
|
35
43
|
*
|
|
36
44
|
* @example
|
|
37
45
|
* NORMAL
|
|
@@ -63,13 +71,15 @@ export class PhoneNumberStatusForPublicResponseBodyData extends $dara.Model {
|
|
|
63
71
|
export class PhoneNumberStatusForPublicResponseBody extends $dara.Model {
|
|
64
72
|
/**
|
|
65
73
|
* @remarks
|
|
66
|
-
* The
|
|
74
|
+
* The status code of the request. Valid values:
|
|
75
|
+
*
|
|
76
|
+
* - **OK**: The request was successful.
|
|
77
|
+
*
|
|
78
|
+
* - **OperatorLimit**: The query for the phone number is prohibited by the carrier.
|
|
67
79
|
*
|
|
68
|
-
*
|
|
69
|
-
* * **OperatorLimit**: The carrier prohibits the query of the phone number.
|
|
70
|
-
* * **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.
|
|
80
|
+
* - **RequestFrequencyLimit**: Carrier restrictions prohibit frequent queries for the same number in a short period. If this error code is returned, try again later.
|
|
71
81
|
*
|
|
72
|
-
* >
|
|
82
|
+
* > For a list of other error codes, see [API Error Center](https://next.api.aliyun.com/document/Dytnsapi/2020-02-17/errorCode).
|
|
73
83
|
*
|
|
74
84
|
* @example
|
|
75
85
|
* OK
|
|
@@ -77,12 +87,12 @@ export class PhoneNumberStatusForPublicResponseBody extends $dara.Model {
|
|
|
77
87
|
code?: string;
|
|
78
88
|
/**
|
|
79
89
|
* @remarks
|
|
80
|
-
* The
|
|
90
|
+
* The returned data.
|
|
81
91
|
*/
|
|
82
92
|
data?: PhoneNumberStatusForPublicResponseBodyData;
|
|
83
93
|
/**
|
|
84
94
|
* @remarks
|
|
85
|
-
* The
|
|
95
|
+
* The description of the status code.
|
|
86
96
|
*
|
|
87
97
|
* @example
|
|
88
98
|
* OK
|
|
@@ -90,7 +100,7 @@ export class PhoneNumberStatusForPublicResponseBody extends $dara.Model {
|
|
|
90
100
|
message?: string;
|
|
91
101
|
/**
|
|
92
102
|
* @remarks
|
|
93
|
-
* The
|
|
103
|
+
* The ID of the request.
|
|
94
104
|
*
|
|
95
105
|
* @example
|
|
96
106
|
* CC3BB6D2-****-****-9DCE-B38165CE4C47
|
|
@@ -7,7 +7,7 @@ export class PhoneNumberStatusForRealRequest extends $dara.Model {
|
|
|
7
7
|
* @remarks
|
|
8
8
|
* The authorization code.
|
|
9
9
|
*
|
|
10
|
-
* >
|
|
10
|
+
* > On the **My Applications** page in the [Phone Number Intelligence console](https://dytns.console.aliyun.com/analysis/apply), you can find the authorization code for your API calls.
|
|
11
11
|
*
|
|
12
12
|
* This parameter is required.
|
|
13
13
|
*
|
|
@@ -17,13 +17,19 @@ export class PhoneNumberStatusForRealRequest extends $dara.Model {
|
|
|
17
17
|
authCode?: string;
|
|
18
18
|
/**
|
|
19
19
|
* @remarks
|
|
20
|
-
* The phone number to
|
|
20
|
+
* The phone number to query.
|
|
21
21
|
*
|
|
22
|
-
*
|
|
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 specifies an 11-digit mobile phone number.
|
|
25
23
|
*
|
|
26
|
-
*
|
|
24
|
+
* - If `Mask` is set to `MD5`, this parameter specifies a 32-character encrypted string.
|
|
25
|
+
*
|
|
26
|
+
* - If `Mask` is set to `SHA256`, this parameter specifies a 64-character encrypted string.
|
|
27
|
+
*
|
|
28
|
+
* - If `Mask` is set to `SM3`, this parameter specifies a 64-character encrypted string.
|
|
29
|
+
*
|
|
30
|
+
* >Notice:
|
|
31
|
+
*
|
|
32
|
+
* The encrypted string is not case-sensitive.
|
|
27
33
|
*
|
|
28
34
|
* This parameter is required.
|
|
29
35
|
*
|
|
@@ -35,9 +41,13 @@ export class PhoneNumberStatusForRealRequest extends $dara.Model {
|
|
|
35
41
|
* @remarks
|
|
36
42
|
* The encryption method of the phone number. Valid values:
|
|
37
43
|
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
44
|
+
* - **NORMAL**: The number is not encrypted.
|
|
45
|
+
*
|
|
46
|
+
* - **MD5**
|
|
47
|
+
*
|
|
48
|
+
* - **SHA256**
|
|
49
|
+
*
|
|
50
|
+
* - **SM3**
|
|
41
51
|
*
|
|
42
52
|
* This parameter is required.
|
|
43
53
|
*
|