@alicloud/dytnsapi20200217 1.0.5 → 1.0.8
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 +251 -3
- package/dist/client.js +515 -9
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +648 -8
package/dist/client.d.ts
CHANGED
|
@@ -39,6 +39,7 @@ export declare class DescribeEmptyNumberDetectResponse extends $tea.Model {
|
|
|
39
39
|
headers: {
|
|
40
40
|
[key: string]: string;
|
|
41
41
|
};
|
|
42
|
+
statusCode: number;
|
|
42
43
|
body: DescribeEmptyNumberDetectResponseBody;
|
|
43
44
|
static names(): {
|
|
44
45
|
[key: string]: string;
|
|
@@ -88,6 +89,7 @@ export declare class DescribePhoneNumberAnalysisResponse extends $tea.Model {
|
|
|
88
89
|
headers: {
|
|
89
90
|
[key: string]: string;
|
|
90
91
|
};
|
|
92
|
+
statusCode: number;
|
|
91
93
|
body: DescribePhoneNumberAnalysisResponseBody;
|
|
92
94
|
static names(): {
|
|
93
95
|
[key: string]: string;
|
|
@@ -133,6 +135,7 @@ export declare class DescribePhoneNumberAttributeResponse extends $tea.Model {
|
|
|
133
135
|
headers: {
|
|
134
136
|
[key: string]: string;
|
|
135
137
|
};
|
|
138
|
+
statusCode: number;
|
|
136
139
|
body: DescribePhoneNumberAttributeResponseBody;
|
|
137
140
|
static names(): {
|
|
138
141
|
[key: string]: string;
|
|
@@ -181,6 +184,7 @@ export declare class DescribePhoneNumberOnlineTimeResponse extends $tea.Model {
|
|
|
181
184
|
headers: {
|
|
182
185
|
[key: string]: string;
|
|
183
186
|
};
|
|
187
|
+
statusCode: number;
|
|
184
188
|
body: DescribePhoneNumberOnlineTimeResponseBody;
|
|
185
189
|
static names(): {
|
|
186
190
|
[key: string]: string;
|
|
@@ -227,6 +231,7 @@ export declare class DescribePhoneNumberResaleResponse extends $tea.Model {
|
|
|
227
231
|
headers: {
|
|
228
232
|
[key: string]: string;
|
|
229
233
|
};
|
|
234
|
+
statusCode: number;
|
|
230
235
|
body: DescribePhoneNumberResaleResponseBody;
|
|
231
236
|
static names(): {
|
|
232
237
|
[key: string]: string;
|
|
@@ -272,6 +277,7 @@ export declare class DescribePhoneNumberStatusResponse extends $tea.Model {
|
|
|
272
277
|
headers: {
|
|
273
278
|
[key: string]: string;
|
|
274
279
|
};
|
|
280
|
+
statusCode: number;
|
|
275
281
|
body: DescribePhoneNumberStatusResponseBody;
|
|
276
282
|
static names(): {
|
|
277
283
|
[key: string]: string;
|
|
@@ -283,10 +289,191 @@ export declare class DescribePhoneNumberStatusResponse extends $tea.Model {
|
|
|
283
289
|
[key: string]: any;
|
|
284
290
|
});
|
|
285
291
|
}
|
|
286
|
-
export declare class
|
|
292
|
+
export declare class InvalidPhoneNumberFilterRequest extends $tea.Model {
|
|
293
|
+
authCode?: string;
|
|
294
|
+
inputNumber?: string;
|
|
295
|
+
mask?: string;
|
|
296
|
+
ownerId?: number;
|
|
297
|
+
resourceOwnerAccount?: string;
|
|
298
|
+
resourceOwnerId?: number;
|
|
299
|
+
static names(): {
|
|
300
|
+
[key: string]: string;
|
|
301
|
+
};
|
|
302
|
+
static types(): {
|
|
303
|
+
[key: string]: any;
|
|
304
|
+
};
|
|
305
|
+
constructor(map?: {
|
|
306
|
+
[key: string]: any;
|
|
307
|
+
});
|
|
308
|
+
}
|
|
309
|
+
export declare class InvalidPhoneNumberFilterResponseBody extends $tea.Model {
|
|
310
|
+
code?: string;
|
|
311
|
+
data?: InvalidPhoneNumberFilterResponseBodyData[];
|
|
312
|
+
message?: string;
|
|
313
|
+
requestId?: string;
|
|
314
|
+
static names(): {
|
|
315
|
+
[key: string]: string;
|
|
316
|
+
};
|
|
317
|
+
static types(): {
|
|
318
|
+
[key: string]: any;
|
|
319
|
+
};
|
|
320
|
+
constructor(map?: {
|
|
321
|
+
[key: string]: any;
|
|
322
|
+
});
|
|
323
|
+
}
|
|
324
|
+
export declare class InvalidPhoneNumberFilterResponse extends $tea.Model {
|
|
325
|
+
headers: {
|
|
326
|
+
[key: string]: string;
|
|
327
|
+
};
|
|
328
|
+
statusCode: number;
|
|
329
|
+
body: InvalidPhoneNumberFilterResponseBody;
|
|
330
|
+
static names(): {
|
|
331
|
+
[key: string]: string;
|
|
332
|
+
};
|
|
333
|
+
static types(): {
|
|
334
|
+
[key: string]: any;
|
|
335
|
+
};
|
|
336
|
+
constructor(map?: {
|
|
337
|
+
[key: string]: any;
|
|
338
|
+
});
|
|
339
|
+
}
|
|
340
|
+
export declare class PhoneNumberEncryptRequest extends $tea.Model {
|
|
341
|
+
authCode?: string;
|
|
342
|
+
inputNumber?: string;
|
|
343
|
+
mask?: string;
|
|
344
|
+
ownerId?: number;
|
|
345
|
+
resourceOwnerAccount?: string;
|
|
346
|
+
resourceOwnerId?: number;
|
|
347
|
+
static names(): {
|
|
348
|
+
[key: string]: string;
|
|
349
|
+
};
|
|
350
|
+
static types(): {
|
|
351
|
+
[key: string]: any;
|
|
352
|
+
};
|
|
353
|
+
constructor(map?: {
|
|
354
|
+
[key: string]: any;
|
|
355
|
+
});
|
|
356
|
+
}
|
|
357
|
+
export declare class PhoneNumberEncryptResponseBody extends $tea.Model {
|
|
358
|
+
code?: string;
|
|
359
|
+
data?: PhoneNumberEncryptResponseBodyData[];
|
|
360
|
+
message?: string;
|
|
361
|
+
requestId?: string;
|
|
362
|
+
static names(): {
|
|
363
|
+
[key: string]: string;
|
|
364
|
+
};
|
|
365
|
+
static types(): {
|
|
366
|
+
[key: string]: any;
|
|
367
|
+
};
|
|
368
|
+
constructor(map?: {
|
|
369
|
+
[key: string]: any;
|
|
370
|
+
});
|
|
371
|
+
}
|
|
372
|
+
export declare class PhoneNumberEncryptResponse extends $tea.Model {
|
|
373
|
+
headers: {
|
|
374
|
+
[key: string]: string;
|
|
375
|
+
};
|
|
376
|
+
statusCode: number;
|
|
377
|
+
body: PhoneNumberEncryptResponseBody;
|
|
378
|
+
static names(): {
|
|
379
|
+
[key: string]: string;
|
|
380
|
+
};
|
|
381
|
+
static types(): {
|
|
382
|
+
[key: string]: any;
|
|
383
|
+
};
|
|
384
|
+
constructor(map?: {
|
|
385
|
+
[key: string]: any;
|
|
386
|
+
});
|
|
387
|
+
}
|
|
388
|
+
export declare class ThreeElementsVerificationRequest extends $tea.Model {
|
|
389
|
+
authCode?: string;
|
|
390
|
+
certCode?: string;
|
|
391
|
+
inputNumber?: string;
|
|
392
|
+
mask?: string;
|
|
393
|
+
name?: string;
|
|
394
|
+
ownerId?: number;
|
|
395
|
+
resourceOwnerAccount?: string;
|
|
396
|
+
resourceOwnerId?: number;
|
|
397
|
+
static names(): {
|
|
398
|
+
[key: string]: string;
|
|
399
|
+
};
|
|
400
|
+
static types(): {
|
|
401
|
+
[key: string]: any;
|
|
402
|
+
};
|
|
403
|
+
constructor(map?: {
|
|
404
|
+
[key: string]: any;
|
|
405
|
+
});
|
|
406
|
+
}
|
|
407
|
+
export declare class ThreeElementsVerificationResponseBody extends $tea.Model {
|
|
408
|
+
code?: string;
|
|
409
|
+
data?: ThreeElementsVerificationResponseBodyData[];
|
|
410
|
+
message?: string;
|
|
411
|
+
requestId?: string;
|
|
412
|
+
static names(): {
|
|
413
|
+
[key: string]: string;
|
|
414
|
+
};
|
|
415
|
+
static types(): {
|
|
416
|
+
[key: string]: any;
|
|
417
|
+
};
|
|
418
|
+
constructor(map?: {
|
|
419
|
+
[key: string]: any;
|
|
420
|
+
});
|
|
421
|
+
}
|
|
422
|
+
export declare class ThreeElementsVerificationResponse extends $tea.Model {
|
|
287
423
|
headers: {
|
|
288
424
|
[key: string]: string;
|
|
289
425
|
};
|
|
426
|
+
statusCode: number;
|
|
427
|
+
body: ThreeElementsVerificationResponseBody;
|
|
428
|
+
static names(): {
|
|
429
|
+
[key: string]: string;
|
|
430
|
+
};
|
|
431
|
+
static types(): {
|
|
432
|
+
[key: string]: any;
|
|
433
|
+
};
|
|
434
|
+
constructor(map?: {
|
|
435
|
+
[key: string]: any;
|
|
436
|
+
});
|
|
437
|
+
}
|
|
438
|
+
export declare class TwoElementsVerificationRequest extends $tea.Model {
|
|
439
|
+
authCode?: string;
|
|
440
|
+
inputNumber?: string;
|
|
441
|
+
mask?: string;
|
|
442
|
+
name?: string;
|
|
443
|
+
ownerId?: number;
|
|
444
|
+
resourceOwnerAccount?: string;
|
|
445
|
+
resourceOwnerId?: number;
|
|
446
|
+
static names(): {
|
|
447
|
+
[key: string]: string;
|
|
448
|
+
};
|
|
449
|
+
static types(): {
|
|
450
|
+
[key: string]: any;
|
|
451
|
+
};
|
|
452
|
+
constructor(map?: {
|
|
453
|
+
[key: string]: any;
|
|
454
|
+
});
|
|
455
|
+
}
|
|
456
|
+
export declare class TwoElementsVerificationResponseBody extends $tea.Model {
|
|
457
|
+
code?: string;
|
|
458
|
+
data?: TwoElementsVerificationResponseBodyData[];
|
|
459
|
+
message?: string;
|
|
460
|
+
requestId?: string;
|
|
461
|
+
static names(): {
|
|
462
|
+
[key: string]: string;
|
|
463
|
+
};
|
|
464
|
+
static types(): {
|
|
465
|
+
[key: string]: any;
|
|
466
|
+
};
|
|
467
|
+
constructor(map?: {
|
|
468
|
+
[key: string]: any;
|
|
469
|
+
});
|
|
470
|
+
}
|
|
471
|
+
export declare class TwoElementsVerificationResponse extends $tea.Model {
|
|
472
|
+
headers: {
|
|
473
|
+
[key: string]: string;
|
|
474
|
+
};
|
|
475
|
+
statusCode: number;
|
|
476
|
+
body: TwoElementsVerificationResponseBody;
|
|
290
477
|
static names(): {
|
|
291
478
|
[key: string]: string;
|
|
292
479
|
};
|
|
@@ -379,6 +566,61 @@ export declare class DescribePhoneNumberStatusResponseBodyPhoneStatus extends $t
|
|
|
379
566
|
[key: string]: any;
|
|
380
567
|
});
|
|
381
568
|
}
|
|
569
|
+
export declare class InvalidPhoneNumberFilterResponseBodyData extends $tea.Model {
|
|
570
|
+
code?: string;
|
|
571
|
+
encryptedNumber?: string;
|
|
572
|
+
expireTime?: string;
|
|
573
|
+
originalNumber?: string;
|
|
574
|
+
static names(): {
|
|
575
|
+
[key: string]: string;
|
|
576
|
+
};
|
|
577
|
+
static types(): {
|
|
578
|
+
[key: string]: any;
|
|
579
|
+
};
|
|
580
|
+
constructor(map?: {
|
|
581
|
+
[key: string]: any;
|
|
582
|
+
});
|
|
583
|
+
}
|
|
584
|
+
export declare class PhoneNumberEncryptResponseBodyData extends $tea.Model {
|
|
585
|
+
encryptedNumber?: string;
|
|
586
|
+
expireTime?: string;
|
|
587
|
+
originalNumber?: string;
|
|
588
|
+
static names(): {
|
|
589
|
+
[key: string]: string;
|
|
590
|
+
};
|
|
591
|
+
static types(): {
|
|
592
|
+
[key: string]: any;
|
|
593
|
+
};
|
|
594
|
+
constructor(map?: {
|
|
595
|
+
[key: string]: any;
|
|
596
|
+
});
|
|
597
|
+
}
|
|
598
|
+
export declare class ThreeElementsVerificationResponseBodyData extends $tea.Model {
|
|
599
|
+
basicCarrier?: string;
|
|
600
|
+
isConsistent?: number;
|
|
601
|
+
static names(): {
|
|
602
|
+
[key: string]: string;
|
|
603
|
+
};
|
|
604
|
+
static types(): {
|
|
605
|
+
[key: string]: any;
|
|
606
|
+
};
|
|
607
|
+
constructor(map?: {
|
|
608
|
+
[key: string]: any;
|
|
609
|
+
});
|
|
610
|
+
}
|
|
611
|
+
export declare class TwoElementsVerificationResponseBodyData extends $tea.Model {
|
|
612
|
+
basicCarrier?: string;
|
|
613
|
+
isConsistent?: number;
|
|
614
|
+
static names(): {
|
|
615
|
+
[key: string]: string;
|
|
616
|
+
};
|
|
617
|
+
static types(): {
|
|
618
|
+
[key: string]: any;
|
|
619
|
+
};
|
|
620
|
+
constructor(map?: {
|
|
621
|
+
[key: string]: any;
|
|
622
|
+
});
|
|
623
|
+
}
|
|
382
624
|
export default class Client extends OpenApi {
|
|
383
625
|
constructor(config: $OpenApi.Config);
|
|
384
626
|
getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
|
|
@@ -396,6 +638,12 @@ export default class Client extends OpenApi {
|
|
|
396
638
|
describePhoneNumberResale(request: DescribePhoneNumberResaleRequest): Promise<DescribePhoneNumberResaleResponse>;
|
|
397
639
|
describePhoneNumberStatusWithOptions(request: DescribePhoneNumberStatusRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneNumberStatusResponse>;
|
|
398
640
|
describePhoneNumberStatus(request: DescribePhoneNumberStatusRequest): Promise<DescribePhoneNumberStatusResponse>;
|
|
399
|
-
|
|
400
|
-
|
|
641
|
+
invalidPhoneNumberFilterWithOptions(request: InvalidPhoneNumberFilterRequest, runtime: $Util.RuntimeOptions): Promise<InvalidPhoneNumberFilterResponse>;
|
|
642
|
+
invalidPhoneNumberFilter(request: InvalidPhoneNumberFilterRequest): Promise<InvalidPhoneNumberFilterResponse>;
|
|
643
|
+
phoneNumberEncryptWithOptions(request: PhoneNumberEncryptRequest, runtime: $Util.RuntimeOptions): Promise<PhoneNumberEncryptResponse>;
|
|
644
|
+
phoneNumberEncrypt(request: PhoneNumberEncryptRequest): Promise<PhoneNumberEncryptResponse>;
|
|
645
|
+
threeElementsVerificationWithOptions(request: ThreeElementsVerificationRequest, runtime: $Util.RuntimeOptions): Promise<ThreeElementsVerificationResponse>;
|
|
646
|
+
threeElementsVerification(request: ThreeElementsVerificationRequest): Promise<ThreeElementsVerificationResponse>;
|
|
647
|
+
twoElementsVerificationWithOptions(request: TwoElementsVerificationRequest, runtime: $Util.RuntimeOptions): Promise<TwoElementsVerificationResponse>;
|
|
648
|
+
twoElementsVerification(request: TwoElementsVerificationRequest): Promise<TwoElementsVerificationResponse>;
|
|
401
649
|
}
|