@alicloud/dytnsapi20200217 1.0.4 → 1.0.7
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/LICENSE +13 -0
- package/README.md +25 -0
- package/dist/client.d.ts +189 -0
- package/dist/client.js +462 -26
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +582 -26
package/LICENSE
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
Copyright (c) 2009-present, Alibaba Cloud All rights reserved.
|
|
2
|
+
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License.
|
|
5
|
+
You may obtain a copy of the License at
|
|
6
|
+
|
|
7
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
|
|
9
|
+
Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
See the License for the specific language governing permissions and
|
|
13
|
+
limitations under the License.
|
package/README.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
English | [简体中文](README-CN.md)
|
|
2
|
+

|
|
3
|
+
|
|
4
|
+
# Alibaba Cloud Dytnsapi SDK for NodeJS
|
|
5
|
+
|
|
6
|
+
## Installation
|
|
7
|
+
If you use `npm` to manage your dependence, you can use the following command:
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
npm install @alicloud/dytnsapi20200217 -S
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Issues
|
|
14
|
+
[Opening an Issue](https://github.com/aliyun/alibabacloud-typescript-sdk/issues/new), Issues not conforming to the guidelines may be closed immediately.
|
|
15
|
+
|
|
16
|
+
## Usage
|
|
17
|
+
[Usage Document](https://github.com/aliyun/alibabacloud-typescript-sdk/blob/master/docs/Usage-EN.md#quick-examples)
|
|
18
|
+
|
|
19
|
+
## References
|
|
20
|
+
* [Latest Release](https://github.com/aliyun/alibabacloud-typescript-sdk/)
|
|
21
|
+
|
|
22
|
+
## License
|
|
23
|
+
[Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0)
|
|
24
|
+
|
|
25
|
+
Copyright (c) 2009-present, Alibaba Cloud All rights reserved.
|
package/dist/client.d.ts
CHANGED
|
@@ -144,6 +144,54 @@ export declare class DescribePhoneNumberAttributeResponse extends $tea.Model {
|
|
|
144
144
|
[key: string]: any;
|
|
145
145
|
});
|
|
146
146
|
}
|
|
147
|
+
export declare class DescribePhoneNumberOnlineTimeRequest extends $tea.Model {
|
|
148
|
+
authCode?: string;
|
|
149
|
+
carrier?: string;
|
|
150
|
+
inputNumber?: string;
|
|
151
|
+
mask?: string;
|
|
152
|
+
ownerId?: number;
|
|
153
|
+
resourceOwnerAccount?: string;
|
|
154
|
+
resourceOwnerId?: number;
|
|
155
|
+
static names(): {
|
|
156
|
+
[key: string]: string;
|
|
157
|
+
};
|
|
158
|
+
static types(): {
|
|
159
|
+
[key: string]: any;
|
|
160
|
+
};
|
|
161
|
+
constructor(map?: {
|
|
162
|
+
[key: string]: any;
|
|
163
|
+
});
|
|
164
|
+
}
|
|
165
|
+
export declare class DescribePhoneNumberOnlineTimeResponseBody extends $tea.Model {
|
|
166
|
+
code?: string;
|
|
167
|
+
data?: DescribePhoneNumberOnlineTimeResponseBodyData;
|
|
168
|
+
message?: string;
|
|
169
|
+
requestId?: string;
|
|
170
|
+
static names(): {
|
|
171
|
+
[key: string]: string;
|
|
172
|
+
};
|
|
173
|
+
static types(): {
|
|
174
|
+
[key: string]: any;
|
|
175
|
+
};
|
|
176
|
+
constructor(map?: {
|
|
177
|
+
[key: string]: any;
|
|
178
|
+
});
|
|
179
|
+
}
|
|
180
|
+
export declare class DescribePhoneNumberOnlineTimeResponse extends $tea.Model {
|
|
181
|
+
headers: {
|
|
182
|
+
[key: string]: string;
|
|
183
|
+
};
|
|
184
|
+
body: DescribePhoneNumberOnlineTimeResponseBody;
|
|
185
|
+
static names(): {
|
|
186
|
+
[key: string]: string;
|
|
187
|
+
};
|
|
188
|
+
static types(): {
|
|
189
|
+
[key: string]: any;
|
|
190
|
+
};
|
|
191
|
+
constructor(map?: {
|
|
192
|
+
[key: string]: any;
|
|
193
|
+
});
|
|
194
|
+
}
|
|
147
195
|
export declare class DescribePhoneNumberResaleRequest extends $tea.Model {
|
|
148
196
|
ownerId?: number;
|
|
149
197
|
phoneNumber?: string;
|
|
@@ -235,6 +283,100 @@ export declare class DescribePhoneNumberStatusResponse extends $tea.Model {
|
|
|
235
283
|
[key: string]: any;
|
|
236
284
|
});
|
|
237
285
|
}
|
|
286
|
+
export declare class InvalidPhoneNumberFilterRequest extends $tea.Model {
|
|
287
|
+
authCode?: string;
|
|
288
|
+
inputNumber?: string;
|
|
289
|
+
mask?: string;
|
|
290
|
+
ownerId?: number;
|
|
291
|
+
resourceOwnerAccount?: string;
|
|
292
|
+
resourceOwnerId?: number;
|
|
293
|
+
static names(): {
|
|
294
|
+
[key: string]: string;
|
|
295
|
+
};
|
|
296
|
+
static types(): {
|
|
297
|
+
[key: string]: any;
|
|
298
|
+
};
|
|
299
|
+
constructor(map?: {
|
|
300
|
+
[key: string]: any;
|
|
301
|
+
});
|
|
302
|
+
}
|
|
303
|
+
export declare class InvalidPhoneNumberFilterResponseBody extends $tea.Model {
|
|
304
|
+
code?: string;
|
|
305
|
+
data?: InvalidPhoneNumberFilterResponseBodyData[];
|
|
306
|
+
message?: string;
|
|
307
|
+
requestId?: string;
|
|
308
|
+
static names(): {
|
|
309
|
+
[key: string]: string;
|
|
310
|
+
};
|
|
311
|
+
static types(): {
|
|
312
|
+
[key: string]: any;
|
|
313
|
+
};
|
|
314
|
+
constructor(map?: {
|
|
315
|
+
[key: string]: any;
|
|
316
|
+
});
|
|
317
|
+
}
|
|
318
|
+
export declare class InvalidPhoneNumberFilterResponse extends $tea.Model {
|
|
319
|
+
headers: {
|
|
320
|
+
[key: string]: string;
|
|
321
|
+
};
|
|
322
|
+
body: InvalidPhoneNumberFilterResponseBody;
|
|
323
|
+
static names(): {
|
|
324
|
+
[key: string]: string;
|
|
325
|
+
};
|
|
326
|
+
static types(): {
|
|
327
|
+
[key: string]: any;
|
|
328
|
+
};
|
|
329
|
+
constructor(map?: {
|
|
330
|
+
[key: string]: any;
|
|
331
|
+
});
|
|
332
|
+
}
|
|
333
|
+
export declare class PhoneNumberEncryptRequest extends $tea.Model {
|
|
334
|
+
authCode?: string;
|
|
335
|
+
inputNumber?: string;
|
|
336
|
+
mask?: string;
|
|
337
|
+
ownerId?: number;
|
|
338
|
+
resourceOwnerAccount?: string;
|
|
339
|
+
resourceOwnerId?: number;
|
|
340
|
+
static names(): {
|
|
341
|
+
[key: string]: string;
|
|
342
|
+
};
|
|
343
|
+
static types(): {
|
|
344
|
+
[key: string]: any;
|
|
345
|
+
};
|
|
346
|
+
constructor(map?: {
|
|
347
|
+
[key: string]: any;
|
|
348
|
+
});
|
|
349
|
+
}
|
|
350
|
+
export declare class PhoneNumberEncryptResponseBody extends $tea.Model {
|
|
351
|
+
code?: string;
|
|
352
|
+
data?: PhoneNumberEncryptResponseBodyData[];
|
|
353
|
+
message?: string;
|
|
354
|
+
requestId?: string;
|
|
355
|
+
static names(): {
|
|
356
|
+
[key: string]: string;
|
|
357
|
+
};
|
|
358
|
+
static types(): {
|
|
359
|
+
[key: string]: any;
|
|
360
|
+
};
|
|
361
|
+
constructor(map?: {
|
|
362
|
+
[key: string]: any;
|
|
363
|
+
});
|
|
364
|
+
}
|
|
365
|
+
export declare class PhoneNumberEncryptResponse extends $tea.Model {
|
|
366
|
+
headers: {
|
|
367
|
+
[key: string]: string;
|
|
368
|
+
};
|
|
369
|
+
body: PhoneNumberEncryptResponseBody;
|
|
370
|
+
static names(): {
|
|
371
|
+
[key: string]: string;
|
|
372
|
+
};
|
|
373
|
+
static types(): {
|
|
374
|
+
[key: string]: any;
|
|
375
|
+
};
|
|
376
|
+
constructor(map?: {
|
|
377
|
+
[key: string]: any;
|
|
378
|
+
});
|
|
379
|
+
}
|
|
238
380
|
export declare class PvrCallbackFCUResponse extends $tea.Model {
|
|
239
381
|
headers: {
|
|
240
382
|
[key: string]: string;
|
|
@@ -292,6 +434,18 @@ export declare class DescribePhoneNumberAttributeResponseBodyPhoneNumberAttribut
|
|
|
292
434
|
[key: string]: any;
|
|
293
435
|
});
|
|
294
436
|
}
|
|
437
|
+
export declare class DescribePhoneNumberOnlineTimeResponseBodyData extends $tea.Model {
|
|
438
|
+
verifyResult?: string;
|
|
439
|
+
static names(): {
|
|
440
|
+
[key: string]: string;
|
|
441
|
+
};
|
|
442
|
+
static types(): {
|
|
443
|
+
[key: string]: any;
|
|
444
|
+
};
|
|
445
|
+
constructor(map?: {
|
|
446
|
+
[key: string]: any;
|
|
447
|
+
});
|
|
448
|
+
}
|
|
295
449
|
export declare class DescribePhoneNumberResaleResponseBodyTwiceTelVerify extends $tea.Model {
|
|
296
450
|
carrier?: string;
|
|
297
451
|
verifyResult?: number;
|
|
@@ -319,6 +473,35 @@ export declare class DescribePhoneNumberStatusResponseBodyPhoneStatus extends $t
|
|
|
319
473
|
[key: string]: any;
|
|
320
474
|
});
|
|
321
475
|
}
|
|
476
|
+
export declare class InvalidPhoneNumberFilterResponseBodyData extends $tea.Model {
|
|
477
|
+
code?: string;
|
|
478
|
+
encryptedNumber?: string;
|
|
479
|
+
expireTime?: string;
|
|
480
|
+
originalNumber?: string;
|
|
481
|
+
static names(): {
|
|
482
|
+
[key: string]: string;
|
|
483
|
+
};
|
|
484
|
+
static types(): {
|
|
485
|
+
[key: string]: any;
|
|
486
|
+
};
|
|
487
|
+
constructor(map?: {
|
|
488
|
+
[key: string]: any;
|
|
489
|
+
});
|
|
490
|
+
}
|
|
491
|
+
export declare class PhoneNumberEncryptResponseBodyData extends $tea.Model {
|
|
492
|
+
encryptedNumber?: string;
|
|
493
|
+
expireTime?: string;
|
|
494
|
+
originalNumber?: string;
|
|
495
|
+
static names(): {
|
|
496
|
+
[key: string]: string;
|
|
497
|
+
};
|
|
498
|
+
static types(): {
|
|
499
|
+
[key: string]: any;
|
|
500
|
+
};
|
|
501
|
+
constructor(map?: {
|
|
502
|
+
[key: string]: any;
|
|
503
|
+
});
|
|
504
|
+
}
|
|
322
505
|
export default class Client extends OpenApi {
|
|
323
506
|
constructor(config: $OpenApi.Config);
|
|
324
507
|
getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
|
|
@@ -330,10 +513,16 @@ export default class Client extends OpenApi {
|
|
|
330
513
|
describePhoneNumberAnalysis(request: DescribePhoneNumberAnalysisRequest): Promise<DescribePhoneNumberAnalysisResponse>;
|
|
331
514
|
describePhoneNumberAttributeWithOptions(request: DescribePhoneNumberAttributeRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneNumberAttributeResponse>;
|
|
332
515
|
describePhoneNumberAttribute(request: DescribePhoneNumberAttributeRequest): Promise<DescribePhoneNumberAttributeResponse>;
|
|
516
|
+
describePhoneNumberOnlineTimeWithOptions(request: DescribePhoneNumberOnlineTimeRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneNumberOnlineTimeResponse>;
|
|
517
|
+
describePhoneNumberOnlineTime(request: DescribePhoneNumberOnlineTimeRequest): Promise<DescribePhoneNumberOnlineTimeResponse>;
|
|
333
518
|
describePhoneNumberResaleWithOptions(request: DescribePhoneNumberResaleRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneNumberResaleResponse>;
|
|
334
519
|
describePhoneNumberResale(request: DescribePhoneNumberResaleRequest): Promise<DescribePhoneNumberResaleResponse>;
|
|
335
520
|
describePhoneNumberStatusWithOptions(request: DescribePhoneNumberStatusRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneNumberStatusResponse>;
|
|
336
521
|
describePhoneNumberStatus(request: DescribePhoneNumberStatusRequest): Promise<DescribePhoneNumberStatusResponse>;
|
|
522
|
+
invalidPhoneNumberFilterWithOptions(request: InvalidPhoneNumberFilterRequest, runtime: $Util.RuntimeOptions): Promise<InvalidPhoneNumberFilterResponse>;
|
|
523
|
+
invalidPhoneNumberFilter(request: InvalidPhoneNumberFilterRequest): Promise<InvalidPhoneNumberFilterResponse>;
|
|
524
|
+
phoneNumberEncryptWithOptions(request: PhoneNumberEncryptRequest, runtime: $Util.RuntimeOptions): Promise<PhoneNumberEncryptResponse>;
|
|
525
|
+
phoneNumberEncrypt(request: PhoneNumberEncryptRequest): Promise<PhoneNumberEncryptResponse>;
|
|
337
526
|
pvrCallbackFCUWithOptions(runtime: $Util.RuntimeOptions): Promise<PvrCallbackFCUResponse>;
|
|
338
527
|
pvrCallbackFCU(): Promise<PvrCallbackFCUResponse>;
|
|
339
528
|
}
|