@alicloud/dytnsapi20200217 1.0.1 → 1.0.2
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 +157 -32
- package/dist/client.js +367 -72
- package/dist/client.js.map +1 -1
- package/package.json +5 -4
- package/src/client.ts +423 -79
package/dist/client.d.ts
CHANGED
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
import * as $Util from '@alicloud/tea-util';
|
|
5
5
|
import OpenApi, * as $OpenApi from '@alicloud/openapi-client';
|
|
6
6
|
import * as $tea from '@alicloud/tea-typescript';
|
|
7
|
-
export declare class
|
|
7
|
+
export declare class DescribeEmptyNumberDetectRequest extends $tea.Model {
|
|
8
|
+
encryptType?: string;
|
|
8
9
|
ownerId?: number;
|
|
10
|
+
phone?: string;
|
|
9
11
|
resourceOwnerAccount?: string;
|
|
10
12
|
resourceOwnerId?: number;
|
|
11
|
-
phoneNumber?: string;
|
|
12
|
-
since?: string;
|
|
13
13
|
static names(): {
|
|
14
14
|
[key: string]: string;
|
|
15
15
|
};
|
|
@@ -20,11 +20,11 @@ export declare class DescribePhoneNumberResaleRequest extends $tea.Model {
|
|
|
20
20
|
[key: string]: any;
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
|
-
export declare class
|
|
23
|
+
export declare class DescribeEmptyNumberDetectResponseBody extends $tea.Model {
|
|
24
|
+
code?: string;
|
|
25
|
+
data?: DescribeEmptyNumberDetectResponseBodyData[];
|
|
24
26
|
message?: string;
|
|
25
27
|
requestId?: string;
|
|
26
|
-
twiceTelVerify?: DescribePhoneNumberResaleResponseBodyTwiceTelVerify;
|
|
27
|
-
code?: string;
|
|
28
28
|
static names(): {
|
|
29
29
|
[key: string]: string;
|
|
30
30
|
};
|
|
@@ -35,11 +35,11 @@ export declare class DescribePhoneNumberResaleResponseBody extends $tea.Model {
|
|
|
35
35
|
[key: string]: any;
|
|
36
36
|
});
|
|
37
37
|
}
|
|
38
|
-
export declare class
|
|
38
|
+
export declare class DescribeEmptyNumberDetectResponse extends $tea.Model {
|
|
39
39
|
headers: {
|
|
40
40
|
[key: string]: string;
|
|
41
41
|
};
|
|
42
|
-
body:
|
|
42
|
+
body: DescribeEmptyNumberDetectResponseBody;
|
|
43
43
|
static names(): {
|
|
44
44
|
[key: string]: string;
|
|
45
45
|
};
|
|
@@ -50,11 +50,15 @@ export declare class DescribePhoneNumberResaleResponse extends $tea.Model {
|
|
|
50
50
|
[key: string]: any;
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
|
-
export declare class
|
|
53
|
+
export declare class DescribePhoneNumberAnalysisRequest extends $tea.Model {
|
|
54
|
+
authCode?: string;
|
|
55
|
+
inputNumber?: string;
|
|
56
|
+
mask?: string;
|
|
57
|
+
numberType?: number;
|
|
54
58
|
ownerId?: number;
|
|
59
|
+
rate?: number;
|
|
55
60
|
resourceOwnerAccount?: string;
|
|
56
61
|
resourceOwnerId?: number;
|
|
57
|
-
phoneNumber?: string;
|
|
58
62
|
static names(): {
|
|
59
63
|
[key: string]: string;
|
|
60
64
|
};
|
|
@@ -65,11 +69,11 @@ export declare class DescribePhoneNumberStatusRequest extends $tea.Model {
|
|
|
65
69
|
[key: string]: any;
|
|
66
70
|
});
|
|
67
71
|
}
|
|
68
|
-
export declare class
|
|
69
|
-
|
|
72
|
+
export declare class DescribePhoneNumberAnalysisResponseBody extends $tea.Model {
|
|
73
|
+
code?: string;
|
|
74
|
+
data?: DescribePhoneNumberAnalysisResponseBodyData[];
|
|
70
75
|
message?: string;
|
|
71
76
|
requestId?: string;
|
|
72
|
-
code?: string;
|
|
73
77
|
static names(): {
|
|
74
78
|
[key: string]: string;
|
|
75
79
|
};
|
|
@@ -80,11 +84,11 @@ export declare class DescribePhoneNumberStatusResponseBody extends $tea.Model {
|
|
|
80
84
|
[key: string]: any;
|
|
81
85
|
});
|
|
82
86
|
}
|
|
83
|
-
export declare class
|
|
87
|
+
export declare class DescribePhoneNumberAnalysisResponse extends $tea.Model {
|
|
84
88
|
headers: {
|
|
85
89
|
[key: string]: string;
|
|
86
90
|
};
|
|
87
|
-
body:
|
|
91
|
+
body: DescribePhoneNumberAnalysisResponseBody;
|
|
88
92
|
static names(): {
|
|
89
93
|
[key: string]: string;
|
|
90
94
|
};
|
|
@@ -95,10 +99,41 @@ export declare class DescribePhoneNumberStatusResponse extends $tea.Model {
|
|
|
95
99
|
[key: string]: any;
|
|
96
100
|
});
|
|
97
101
|
}
|
|
98
|
-
export declare class
|
|
102
|
+
export declare class DescribePhoneNumberAttributeRequest extends $tea.Model {
|
|
103
|
+
ownerId?: number;
|
|
104
|
+
phoneNumber?: string;
|
|
105
|
+
resourceOwnerAccount?: string;
|
|
106
|
+
resourceOwnerId?: number;
|
|
107
|
+
static names(): {
|
|
108
|
+
[key: string]: string;
|
|
109
|
+
};
|
|
110
|
+
static types(): {
|
|
111
|
+
[key: string]: any;
|
|
112
|
+
};
|
|
113
|
+
constructor(map?: {
|
|
114
|
+
[key: string]: any;
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
export declare class DescribePhoneNumberAttributeResponseBody extends $tea.Model {
|
|
118
|
+
code?: string;
|
|
119
|
+
message?: string;
|
|
120
|
+
phoneNumberAttribute?: DescribePhoneNumberAttributeResponseBodyPhoneNumberAttribute;
|
|
121
|
+
requestId?: string;
|
|
122
|
+
static names(): {
|
|
123
|
+
[key: string]: string;
|
|
124
|
+
};
|
|
125
|
+
static types(): {
|
|
126
|
+
[key: string]: any;
|
|
127
|
+
};
|
|
128
|
+
constructor(map?: {
|
|
129
|
+
[key: string]: any;
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
export declare class DescribePhoneNumberAttributeResponse extends $tea.Model {
|
|
99
133
|
headers: {
|
|
100
134
|
[key: string]: string;
|
|
101
135
|
};
|
|
136
|
+
body: DescribePhoneNumberAttributeResponseBody;
|
|
102
137
|
static names(): {
|
|
103
138
|
[key: string]: string;
|
|
104
139
|
};
|
|
@@ -109,11 +144,12 @@ export declare class PvrCallbackFCUResponse extends $tea.Model {
|
|
|
109
144
|
[key: string]: any;
|
|
110
145
|
});
|
|
111
146
|
}
|
|
112
|
-
export declare class
|
|
147
|
+
export declare class DescribePhoneNumberResaleRequest extends $tea.Model {
|
|
113
148
|
ownerId?: number;
|
|
149
|
+
phoneNumber?: string;
|
|
114
150
|
resourceOwnerAccount?: string;
|
|
115
151
|
resourceOwnerId?: number;
|
|
116
|
-
|
|
152
|
+
since?: string;
|
|
117
153
|
static names(): {
|
|
118
154
|
[key: string]: string;
|
|
119
155
|
};
|
|
@@ -124,11 +160,56 @@ export declare class QueryPhoneNumberAttributeRequest extends $tea.Model {
|
|
|
124
160
|
[key: string]: any;
|
|
125
161
|
});
|
|
126
162
|
}
|
|
127
|
-
export declare class
|
|
163
|
+
export declare class DescribePhoneNumberResaleResponseBody extends $tea.Model {
|
|
164
|
+
code?: string;
|
|
128
165
|
message?: string;
|
|
129
166
|
requestId?: string;
|
|
130
|
-
|
|
167
|
+
twiceTelVerify?: DescribePhoneNumberResaleResponseBodyTwiceTelVerify;
|
|
168
|
+
static names(): {
|
|
169
|
+
[key: string]: string;
|
|
170
|
+
};
|
|
171
|
+
static types(): {
|
|
172
|
+
[key: string]: any;
|
|
173
|
+
};
|
|
174
|
+
constructor(map?: {
|
|
175
|
+
[key: string]: any;
|
|
176
|
+
});
|
|
177
|
+
}
|
|
178
|
+
export declare class DescribePhoneNumberResaleResponse extends $tea.Model {
|
|
179
|
+
headers: {
|
|
180
|
+
[key: string]: string;
|
|
181
|
+
};
|
|
182
|
+
body: DescribePhoneNumberResaleResponseBody;
|
|
183
|
+
static names(): {
|
|
184
|
+
[key: string]: string;
|
|
185
|
+
};
|
|
186
|
+
static types(): {
|
|
187
|
+
[key: string]: any;
|
|
188
|
+
};
|
|
189
|
+
constructor(map?: {
|
|
190
|
+
[key: string]: any;
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
export declare class DescribePhoneNumberStatusRequest extends $tea.Model {
|
|
194
|
+
ownerId?: number;
|
|
195
|
+
phoneNumber?: string;
|
|
196
|
+
resourceOwnerAccount?: string;
|
|
197
|
+
resourceOwnerId?: number;
|
|
198
|
+
static names(): {
|
|
199
|
+
[key: string]: string;
|
|
200
|
+
};
|
|
201
|
+
static types(): {
|
|
202
|
+
[key: string]: any;
|
|
203
|
+
};
|
|
204
|
+
constructor(map?: {
|
|
205
|
+
[key: string]: any;
|
|
206
|
+
});
|
|
207
|
+
}
|
|
208
|
+
export declare class DescribePhoneNumberStatusResponseBody extends $tea.Model {
|
|
131
209
|
code?: string;
|
|
210
|
+
message?: string;
|
|
211
|
+
phoneStatus?: DescribePhoneNumberStatusResponseBodyPhoneStatus;
|
|
212
|
+
requestId?: string;
|
|
132
213
|
static names(): {
|
|
133
214
|
[key: string]: string;
|
|
134
215
|
};
|
|
@@ -139,11 +220,11 @@ export declare class QueryPhoneNumberAttributeResponseBody extends $tea.Model {
|
|
|
139
220
|
[key: string]: any;
|
|
140
221
|
});
|
|
141
222
|
}
|
|
142
|
-
export declare class
|
|
223
|
+
export declare class DescribePhoneNumberStatusResponse extends $tea.Model {
|
|
143
224
|
headers: {
|
|
144
225
|
[key: string]: string;
|
|
145
226
|
};
|
|
146
|
-
body:
|
|
227
|
+
body: DescribePhoneNumberStatusResponseBody;
|
|
147
228
|
static names(): {
|
|
148
229
|
[key: string]: string;
|
|
149
230
|
};
|
|
@@ -154,9 +235,10 @@ export declare class QueryPhoneNumberAttributeResponse extends $tea.Model {
|
|
|
154
235
|
[key: string]: any;
|
|
155
236
|
});
|
|
156
237
|
}
|
|
157
|
-
export declare class
|
|
158
|
-
|
|
159
|
-
|
|
238
|
+
export declare class PvrCallbackFCUResponse extends $tea.Model {
|
|
239
|
+
headers: {
|
|
240
|
+
[key: string]: string;
|
|
241
|
+
};
|
|
160
242
|
static names(): {
|
|
161
243
|
[key: string]: string;
|
|
162
244
|
};
|
|
@@ -167,10 +249,9 @@ export declare class DescribePhoneNumberResaleResponseBodyTwiceTelVerify extends
|
|
|
167
249
|
[key: string]: any;
|
|
168
250
|
});
|
|
169
251
|
}
|
|
170
|
-
export declare class
|
|
252
|
+
export declare class DescribeEmptyNumberDetectResponseBodyData extends $tea.Model {
|
|
253
|
+
number?: string;
|
|
171
254
|
status?: string;
|
|
172
|
-
serialId?: string;
|
|
173
|
-
carrier?: string;
|
|
174
255
|
static names(): {
|
|
175
256
|
[key: string]: string;
|
|
176
257
|
};
|
|
@@ -181,12 +262,25 @@ export declare class DescribePhoneNumberStatusResponseBodyPhoneStatus extends $t
|
|
|
181
262
|
[key: string]: any;
|
|
182
263
|
});
|
|
183
264
|
}
|
|
184
|
-
export declare class
|
|
265
|
+
export declare class DescribePhoneNumberAnalysisResponseBodyData extends $tea.Model {
|
|
266
|
+
code?: string;
|
|
267
|
+
number?: string;
|
|
268
|
+
static names(): {
|
|
269
|
+
[key: string]: string;
|
|
270
|
+
};
|
|
271
|
+
static types(): {
|
|
272
|
+
[key: string]: any;
|
|
273
|
+
};
|
|
274
|
+
constructor(map?: {
|
|
275
|
+
[key: string]: any;
|
|
276
|
+
});
|
|
277
|
+
}
|
|
278
|
+
export declare class DescribePhoneNumberAttributeResponseBodyPhoneNumberAttribute extends $tea.Model {
|
|
185
279
|
basicCarrier?: string;
|
|
186
280
|
carrier?: string;
|
|
281
|
+
city?: string;
|
|
187
282
|
isNumberPortability?: boolean;
|
|
188
283
|
numberSegment?: number;
|
|
189
|
-
city?: string;
|
|
190
284
|
province?: string;
|
|
191
285
|
static names(): {
|
|
192
286
|
[key: string]: string;
|
|
@@ -198,17 +292,48 @@ export declare class QueryPhoneNumberAttributeResponseBodyPhoneNumberAttribute e
|
|
|
198
292
|
[key: string]: any;
|
|
199
293
|
});
|
|
200
294
|
}
|
|
295
|
+
export declare class DescribePhoneNumberResaleResponseBodyTwiceTelVerify extends $tea.Model {
|
|
296
|
+
carrier?: string;
|
|
297
|
+
verifyResult?: number;
|
|
298
|
+
static names(): {
|
|
299
|
+
[key: string]: string;
|
|
300
|
+
};
|
|
301
|
+
static types(): {
|
|
302
|
+
[key: string]: any;
|
|
303
|
+
};
|
|
304
|
+
constructor(map?: {
|
|
305
|
+
[key: string]: any;
|
|
306
|
+
});
|
|
307
|
+
}
|
|
308
|
+
export declare class DescribePhoneNumberStatusResponseBodyPhoneStatus extends $tea.Model {
|
|
309
|
+
carrier?: string;
|
|
310
|
+
serialId?: string;
|
|
311
|
+
status?: string;
|
|
312
|
+
static names(): {
|
|
313
|
+
[key: string]: string;
|
|
314
|
+
};
|
|
315
|
+
static types(): {
|
|
316
|
+
[key: string]: any;
|
|
317
|
+
};
|
|
318
|
+
constructor(map?: {
|
|
319
|
+
[key: string]: any;
|
|
320
|
+
});
|
|
321
|
+
}
|
|
201
322
|
export default class Client extends OpenApi {
|
|
202
323
|
constructor(config: $OpenApi.Config);
|
|
203
324
|
getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
|
|
204
325
|
[key: string]: string;
|
|
205
326
|
}, endpoint: string): string;
|
|
327
|
+
describeEmptyNumberDetectWithOptions(request: DescribeEmptyNumberDetectRequest, runtime: $Util.RuntimeOptions): Promise<DescribeEmptyNumberDetectResponse>;
|
|
328
|
+
describeEmptyNumberDetect(request: DescribeEmptyNumberDetectRequest): Promise<DescribeEmptyNumberDetectResponse>;
|
|
329
|
+
describePhoneNumberAnalysisWithOptions(request: DescribePhoneNumberAnalysisRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneNumberAnalysisResponse>;
|
|
330
|
+
describePhoneNumberAnalysis(request: DescribePhoneNumberAnalysisRequest): Promise<DescribePhoneNumberAnalysisResponse>;
|
|
331
|
+
describePhoneNumberAttributeWithOptions(request: DescribePhoneNumberAttributeRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneNumberAttributeResponse>;
|
|
332
|
+
describePhoneNumberAttribute(request: DescribePhoneNumberAttributeRequest): Promise<DescribePhoneNumberAttributeResponse>;
|
|
206
333
|
describePhoneNumberResaleWithOptions(request: DescribePhoneNumberResaleRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneNumberResaleResponse>;
|
|
207
334
|
describePhoneNumberResale(request: DescribePhoneNumberResaleRequest): Promise<DescribePhoneNumberResaleResponse>;
|
|
208
335
|
describePhoneNumberStatusWithOptions(request: DescribePhoneNumberStatusRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneNumberStatusResponse>;
|
|
209
336
|
describePhoneNumberStatus(request: DescribePhoneNumberStatusRequest): Promise<DescribePhoneNumberStatusResponse>;
|
|
210
337
|
pvrCallbackFCUWithOptions(runtime: $Util.RuntimeOptions): Promise<PvrCallbackFCUResponse>;
|
|
211
338
|
pvrCallbackFCU(): Promise<PvrCallbackFCUResponse>;
|
|
212
|
-
queryPhoneNumberAttributeWithOptions(request: QueryPhoneNumberAttributeRequest, runtime: $Util.RuntimeOptions): Promise<QueryPhoneNumberAttributeResponse>;
|
|
213
|
-
queryPhoneNumberAttribute(request: QueryPhoneNumberAttributeRequest): Promise<QueryPhoneNumberAttributeResponse>;
|
|
214
339
|
}
|