@alicloud/dytnsapi20200217 1.0.0 → 1.0.4
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 +171 -30
- package/dist/client.js +381 -67
- package/dist/client.js.map +1 -1
- package/package.json +5 -4
- package/src/client.ts +441 -73
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,11 +99,57 @@ 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 {
|
|
99
103
|
ownerId?: number;
|
|
104
|
+
phoneNumber?: string;
|
|
100
105
|
resourceOwnerAccount?: string;
|
|
101
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 {
|
|
133
|
+
headers: {
|
|
134
|
+
[key: string]: string;
|
|
135
|
+
};
|
|
136
|
+
body: DescribePhoneNumberAttributeResponseBody;
|
|
137
|
+
static names(): {
|
|
138
|
+
[key: string]: string;
|
|
139
|
+
};
|
|
140
|
+
static types(): {
|
|
141
|
+
[key: string]: any;
|
|
142
|
+
};
|
|
143
|
+
constructor(map?: {
|
|
144
|
+
[key: string]: any;
|
|
145
|
+
});
|
|
146
|
+
}
|
|
147
|
+
export declare class DescribePhoneNumberResaleRequest extends $tea.Model {
|
|
148
|
+
ownerId?: number;
|
|
102
149
|
phoneNumber?: string;
|
|
150
|
+
resourceOwnerAccount?: string;
|
|
151
|
+
resourceOwnerId?: number;
|
|
152
|
+
since?: string;
|
|
103
153
|
static names(): {
|
|
104
154
|
[key: string]: string;
|
|
105
155
|
};
|
|
@@ -110,11 +160,56 @@ export declare class QueryPhoneNumberAttributeRequest extends $tea.Model {
|
|
|
110
160
|
[key: string]: any;
|
|
111
161
|
});
|
|
112
162
|
}
|
|
113
|
-
export declare class
|
|
163
|
+
export declare class DescribePhoneNumberResaleResponseBody extends $tea.Model {
|
|
164
|
+
code?: string;
|
|
114
165
|
message?: string;
|
|
115
166
|
requestId?: string;
|
|
116
|
-
|
|
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 {
|
|
117
209
|
code?: string;
|
|
210
|
+
message?: string;
|
|
211
|
+
phoneStatus?: DescribePhoneNumberStatusResponseBodyPhoneStatus;
|
|
212
|
+
requestId?: string;
|
|
118
213
|
static names(): {
|
|
119
214
|
[key: string]: string;
|
|
120
215
|
};
|
|
@@ -125,11 +220,11 @@ export declare class QueryPhoneNumberAttributeResponseBody extends $tea.Model {
|
|
|
125
220
|
[key: string]: any;
|
|
126
221
|
});
|
|
127
222
|
}
|
|
128
|
-
export declare class
|
|
223
|
+
export declare class DescribePhoneNumberStatusResponse extends $tea.Model {
|
|
129
224
|
headers: {
|
|
130
225
|
[key: string]: string;
|
|
131
226
|
};
|
|
132
|
-
body:
|
|
227
|
+
body: DescribePhoneNumberStatusResponseBody;
|
|
133
228
|
static names(): {
|
|
134
229
|
[key: string]: string;
|
|
135
230
|
};
|
|
@@ -140,9 +235,10 @@ export declare class QueryPhoneNumberAttributeResponse extends $tea.Model {
|
|
|
140
235
|
[key: string]: any;
|
|
141
236
|
});
|
|
142
237
|
}
|
|
143
|
-
export declare class
|
|
144
|
-
|
|
145
|
-
|
|
238
|
+
export declare class PvrCallbackFCUResponse extends $tea.Model {
|
|
239
|
+
headers: {
|
|
240
|
+
[key: string]: string;
|
|
241
|
+
};
|
|
146
242
|
static names(): {
|
|
147
243
|
[key: string]: string;
|
|
148
244
|
};
|
|
@@ -153,10 +249,9 @@ export declare class DescribePhoneNumberResaleResponseBodyTwiceTelVerify extends
|
|
|
153
249
|
[key: string]: any;
|
|
154
250
|
});
|
|
155
251
|
}
|
|
156
|
-
export declare class
|
|
252
|
+
export declare class DescribeEmptyNumberDetectResponseBodyData extends $tea.Model {
|
|
253
|
+
number?: string;
|
|
157
254
|
status?: string;
|
|
158
|
-
serialId?: string;
|
|
159
|
-
carrier?: string;
|
|
160
255
|
static names(): {
|
|
161
256
|
[key: string]: string;
|
|
162
257
|
};
|
|
@@ -167,12 +262,25 @@ export declare class DescribePhoneNumberStatusResponseBodyPhoneStatus extends $t
|
|
|
167
262
|
[key: string]: any;
|
|
168
263
|
});
|
|
169
264
|
}
|
|
170
|
-
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 {
|
|
171
279
|
basicCarrier?: string;
|
|
172
280
|
carrier?: string;
|
|
281
|
+
city?: string;
|
|
173
282
|
isNumberPortability?: boolean;
|
|
174
283
|
numberSegment?: number;
|
|
175
|
-
city?: string;
|
|
176
284
|
province?: string;
|
|
177
285
|
static names(): {
|
|
178
286
|
[key: string]: string;
|
|
@@ -184,15 +292,48 @@ export declare class QueryPhoneNumberAttributeResponseBodyPhoneNumberAttribute e
|
|
|
184
292
|
[key: string]: any;
|
|
185
293
|
});
|
|
186
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
|
+
}
|
|
187
322
|
export default class Client extends OpenApi {
|
|
188
323
|
constructor(config: $OpenApi.Config);
|
|
189
324
|
getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
|
|
190
325
|
[key: string]: string;
|
|
191
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>;
|
|
192
333
|
describePhoneNumberResaleWithOptions(request: DescribePhoneNumberResaleRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneNumberResaleResponse>;
|
|
193
334
|
describePhoneNumberResale(request: DescribePhoneNumberResaleRequest): Promise<DescribePhoneNumberResaleResponse>;
|
|
194
335
|
describePhoneNumberStatusWithOptions(request: DescribePhoneNumberStatusRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneNumberStatusResponse>;
|
|
195
336
|
describePhoneNumberStatus(request: DescribePhoneNumberStatusRequest): Promise<DescribePhoneNumberStatusResponse>;
|
|
196
|
-
|
|
197
|
-
|
|
337
|
+
pvrCallbackFCUWithOptions(runtime: $Util.RuntimeOptions): Promise<PvrCallbackFCUResponse>;
|
|
338
|
+
pvrCallbackFCU(): Promise<PvrCallbackFCUResponse>;
|
|
198
339
|
}
|