@alicloud/dytnsapi20200217 1.0.9 → 1.0.12
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 +383 -2
- package/dist/client.js +887 -119
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +1204 -247
package/dist/client.d.ts
CHANGED
|
@@ -196,6 +196,54 @@ export declare class DescribePhoneNumberOnlineTimeResponse extends $tea.Model {
|
|
|
196
196
|
[key: string]: any;
|
|
197
197
|
});
|
|
198
198
|
}
|
|
199
|
+
export declare class DescribePhoneNumberOperatorAttributeRequest extends $tea.Model {
|
|
200
|
+
authCode?: string;
|
|
201
|
+
inputNumber?: string;
|
|
202
|
+
mask?: string;
|
|
203
|
+
ownerId?: number;
|
|
204
|
+
resourceOwnerAccount?: string;
|
|
205
|
+
resourceOwnerId?: number;
|
|
206
|
+
static names(): {
|
|
207
|
+
[key: string]: string;
|
|
208
|
+
};
|
|
209
|
+
static types(): {
|
|
210
|
+
[key: string]: any;
|
|
211
|
+
};
|
|
212
|
+
constructor(map?: {
|
|
213
|
+
[key: string]: any;
|
|
214
|
+
});
|
|
215
|
+
}
|
|
216
|
+
export declare class DescribePhoneNumberOperatorAttributeResponseBody extends $tea.Model {
|
|
217
|
+
code?: string;
|
|
218
|
+
data?: DescribePhoneNumberOperatorAttributeResponseBodyData;
|
|
219
|
+
message?: string;
|
|
220
|
+
requestId?: string;
|
|
221
|
+
static names(): {
|
|
222
|
+
[key: string]: string;
|
|
223
|
+
};
|
|
224
|
+
static types(): {
|
|
225
|
+
[key: string]: any;
|
|
226
|
+
};
|
|
227
|
+
constructor(map?: {
|
|
228
|
+
[key: string]: any;
|
|
229
|
+
});
|
|
230
|
+
}
|
|
231
|
+
export declare class DescribePhoneNumberOperatorAttributeResponse extends $tea.Model {
|
|
232
|
+
headers: {
|
|
233
|
+
[key: string]: string;
|
|
234
|
+
};
|
|
235
|
+
statusCode: number;
|
|
236
|
+
body: DescribePhoneNumberOperatorAttributeResponseBody;
|
|
237
|
+
static names(): {
|
|
238
|
+
[key: string]: string;
|
|
239
|
+
};
|
|
240
|
+
static types(): {
|
|
241
|
+
[key: string]: any;
|
|
242
|
+
};
|
|
243
|
+
constructor(map?: {
|
|
244
|
+
[key: string]: any;
|
|
245
|
+
});
|
|
246
|
+
}
|
|
199
247
|
export declare class DescribePhoneNumberResaleRequest extends $tea.Model {
|
|
200
248
|
ownerId?: number;
|
|
201
249
|
phoneNumber?: string;
|
|
@@ -385,6 +433,246 @@ export declare class PhoneNumberEncryptResponse extends $tea.Model {
|
|
|
385
433
|
[key: string]: any;
|
|
386
434
|
});
|
|
387
435
|
}
|
|
436
|
+
export declare class PhoneNumberStatusForAccountRequest extends $tea.Model {
|
|
437
|
+
authCode?: string;
|
|
438
|
+
inputNumber?: string;
|
|
439
|
+
mask?: string;
|
|
440
|
+
ownerId?: number;
|
|
441
|
+
resourceOwnerAccount?: string;
|
|
442
|
+
resourceOwnerId?: number;
|
|
443
|
+
static names(): {
|
|
444
|
+
[key: string]: string;
|
|
445
|
+
};
|
|
446
|
+
static types(): {
|
|
447
|
+
[key: string]: any;
|
|
448
|
+
};
|
|
449
|
+
constructor(map?: {
|
|
450
|
+
[key: string]: any;
|
|
451
|
+
});
|
|
452
|
+
}
|
|
453
|
+
export declare class PhoneNumberStatusForAccountResponseBody extends $tea.Model {
|
|
454
|
+
code?: string;
|
|
455
|
+
data?: PhoneNumberStatusForAccountResponseBodyData;
|
|
456
|
+
message?: string;
|
|
457
|
+
requestId?: string;
|
|
458
|
+
static names(): {
|
|
459
|
+
[key: string]: string;
|
|
460
|
+
};
|
|
461
|
+
static types(): {
|
|
462
|
+
[key: string]: any;
|
|
463
|
+
};
|
|
464
|
+
constructor(map?: {
|
|
465
|
+
[key: string]: any;
|
|
466
|
+
});
|
|
467
|
+
}
|
|
468
|
+
export declare class PhoneNumberStatusForAccountResponse extends $tea.Model {
|
|
469
|
+
headers: {
|
|
470
|
+
[key: string]: string;
|
|
471
|
+
};
|
|
472
|
+
statusCode: number;
|
|
473
|
+
body: PhoneNumberStatusForAccountResponseBody;
|
|
474
|
+
static names(): {
|
|
475
|
+
[key: string]: string;
|
|
476
|
+
};
|
|
477
|
+
static types(): {
|
|
478
|
+
[key: string]: any;
|
|
479
|
+
};
|
|
480
|
+
constructor(map?: {
|
|
481
|
+
[key: string]: any;
|
|
482
|
+
});
|
|
483
|
+
}
|
|
484
|
+
export declare class PhoneNumberStatusForRealRequest extends $tea.Model {
|
|
485
|
+
authCode?: string;
|
|
486
|
+
inputNumber?: string;
|
|
487
|
+
mask?: string;
|
|
488
|
+
ownerId?: number;
|
|
489
|
+
resourceOwnerAccount?: string;
|
|
490
|
+
resourceOwnerId?: number;
|
|
491
|
+
static names(): {
|
|
492
|
+
[key: string]: string;
|
|
493
|
+
};
|
|
494
|
+
static types(): {
|
|
495
|
+
[key: string]: any;
|
|
496
|
+
};
|
|
497
|
+
constructor(map?: {
|
|
498
|
+
[key: string]: any;
|
|
499
|
+
});
|
|
500
|
+
}
|
|
501
|
+
export declare class PhoneNumberStatusForRealResponseBody extends $tea.Model {
|
|
502
|
+
code?: string;
|
|
503
|
+
data?: PhoneNumberStatusForRealResponseBodyData;
|
|
504
|
+
message?: string;
|
|
505
|
+
requestId?: string;
|
|
506
|
+
static names(): {
|
|
507
|
+
[key: string]: string;
|
|
508
|
+
};
|
|
509
|
+
static types(): {
|
|
510
|
+
[key: string]: any;
|
|
511
|
+
};
|
|
512
|
+
constructor(map?: {
|
|
513
|
+
[key: string]: any;
|
|
514
|
+
});
|
|
515
|
+
}
|
|
516
|
+
export declare class PhoneNumberStatusForRealResponse extends $tea.Model {
|
|
517
|
+
headers: {
|
|
518
|
+
[key: string]: string;
|
|
519
|
+
};
|
|
520
|
+
statusCode: number;
|
|
521
|
+
body: PhoneNumberStatusForRealResponseBody;
|
|
522
|
+
static names(): {
|
|
523
|
+
[key: string]: string;
|
|
524
|
+
};
|
|
525
|
+
static types(): {
|
|
526
|
+
[key: string]: any;
|
|
527
|
+
};
|
|
528
|
+
constructor(map?: {
|
|
529
|
+
[key: string]: any;
|
|
530
|
+
});
|
|
531
|
+
}
|
|
532
|
+
export declare class PhoneNumberStatusForSmsRequest extends $tea.Model {
|
|
533
|
+
authCode?: string;
|
|
534
|
+
inputNumber?: string;
|
|
535
|
+
mask?: string;
|
|
536
|
+
ownerId?: number;
|
|
537
|
+
resourceOwnerAccount?: string;
|
|
538
|
+
resourceOwnerId?: number;
|
|
539
|
+
static names(): {
|
|
540
|
+
[key: string]: string;
|
|
541
|
+
};
|
|
542
|
+
static types(): {
|
|
543
|
+
[key: string]: any;
|
|
544
|
+
};
|
|
545
|
+
constructor(map?: {
|
|
546
|
+
[key: string]: any;
|
|
547
|
+
});
|
|
548
|
+
}
|
|
549
|
+
export declare class PhoneNumberStatusForSmsResponseBody extends $tea.Model {
|
|
550
|
+
code?: string;
|
|
551
|
+
data?: PhoneNumberStatusForSmsResponseBodyData;
|
|
552
|
+
message?: string;
|
|
553
|
+
requestId?: string;
|
|
554
|
+
static names(): {
|
|
555
|
+
[key: string]: string;
|
|
556
|
+
};
|
|
557
|
+
static types(): {
|
|
558
|
+
[key: string]: any;
|
|
559
|
+
};
|
|
560
|
+
constructor(map?: {
|
|
561
|
+
[key: string]: any;
|
|
562
|
+
});
|
|
563
|
+
}
|
|
564
|
+
export declare class PhoneNumberStatusForSmsResponse extends $tea.Model {
|
|
565
|
+
headers: {
|
|
566
|
+
[key: string]: string;
|
|
567
|
+
};
|
|
568
|
+
statusCode: number;
|
|
569
|
+
body: PhoneNumberStatusForSmsResponseBody;
|
|
570
|
+
static names(): {
|
|
571
|
+
[key: string]: string;
|
|
572
|
+
};
|
|
573
|
+
static types(): {
|
|
574
|
+
[key: string]: any;
|
|
575
|
+
};
|
|
576
|
+
constructor(map?: {
|
|
577
|
+
[key: string]: any;
|
|
578
|
+
});
|
|
579
|
+
}
|
|
580
|
+
export declare class PhoneNumberStatusForVirtualRequest extends $tea.Model {
|
|
581
|
+
authCode?: string;
|
|
582
|
+
inputNumber?: string;
|
|
583
|
+
mask?: string;
|
|
584
|
+
ownerId?: number;
|
|
585
|
+
resourceOwnerAccount?: string;
|
|
586
|
+
resourceOwnerId?: number;
|
|
587
|
+
static names(): {
|
|
588
|
+
[key: string]: string;
|
|
589
|
+
};
|
|
590
|
+
static types(): {
|
|
591
|
+
[key: string]: any;
|
|
592
|
+
};
|
|
593
|
+
constructor(map?: {
|
|
594
|
+
[key: string]: any;
|
|
595
|
+
});
|
|
596
|
+
}
|
|
597
|
+
export declare class PhoneNumberStatusForVirtualResponseBody extends $tea.Model {
|
|
598
|
+
code?: string;
|
|
599
|
+
data?: PhoneNumberStatusForVirtualResponseBodyData;
|
|
600
|
+
message?: string;
|
|
601
|
+
requestId?: string;
|
|
602
|
+
static names(): {
|
|
603
|
+
[key: string]: string;
|
|
604
|
+
};
|
|
605
|
+
static types(): {
|
|
606
|
+
[key: string]: any;
|
|
607
|
+
};
|
|
608
|
+
constructor(map?: {
|
|
609
|
+
[key: string]: any;
|
|
610
|
+
});
|
|
611
|
+
}
|
|
612
|
+
export declare class PhoneNumberStatusForVirtualResponse extends $tea.Model {
|
|
613
|
+
headers: {
|
|
614
|
+
[key: string]: string;
|
|
615
|
+
};
|
|
616
|
+
statusCode: number;
|
|
617
|
+
body: PhoneNumberStatusForVirtualResponseBody;
|
|
618
|
+
static names(): {
|
|
619
|
+
[key: string]: string;
|
|
620
|
+
};
|
|
621
|
+
static types(): {
|
|
622
|
+
[key: string]: any;
|
|
623
|
+
};
|
|
624
|
+
constructor(map?: {
|
|
625
|
+
[key: string]: any;
|
|
626
|
+
});
|
|
627
|
+
}
|
|
628
|
+
export declare class PhoneNumberStatusForVoiceRequest extends $tea.Model {
|
|
629
|
+
authCode?: string;
|
|
630
|
+
inputNumber?: string;
|
|
631
|
+
mask?: string;
|
|
632
|
+
ownerId?: number;
|
|
633
|
+
resourceOwnerAccount?: string;
|
|
634
|
+
resourceOwnerId?: number;
|
|
635
|
+
static names(): {
|
|
636
|
+
[key: string]: string;
|
|
637
|
+
};
|
|
638
|
+
static types(): {
|
|
639
|
+
[key: string]: any;
|
|
640
|
+
};
|
|
641
|
+
constructor(map?: {
|
|
642
|
+
[key: string]: any;
|
|
643
|
+
});
|
|
644
|
+
}
|
|
645
|
+
export declare class PhoneNumberStatusForVoiceResponseBody extends $tea.Model {
|
|
646
|
+
code?: string;
|
|
647
|
+
data?: PhoneNumberStatusForVoiceResponseBodyData;
|
|
648
|
+
message?: string;
|
|
649
|
+
requestId?: string;
|
|
650
|
+
static names(): {
|
|
651
|
+
[key: string]: string;
|
|
652
|
+
};
|
|
653
|
+
static types(): {
|
|
654
|
+
[key: string]: any;
|
|
655
|
+
};
|
|
656
|
+
constructor(map?: {
|
|
657
|
+
[key: string]: any;
|
|
658
|
+
});
|
|
659
|
+
}
|
|
660
|
+
export declare class PhoneNumberStatusForVoiceResponse extends $tea.Model {
|
|
661
|
+
headers: {
|
|
662
|
+
[key: string]: string;
|
|
663
|
+
};
|
|
664
|
+
statusCode: number;
|
|
665
|
+
body: PhoneNumberStatusForVoiceResponseBody;
|
|
666
|
+
static names(): {
|
|
667
|
+
[key: string]: string;
|
|
668
|
+
};
|
|
669
|
+
static types(): {
|
|
670
|
+
[key: string]: any;
|
|
671
|
+
};
|
|
672
|
+
constructor(map?: {
|
|
673
|
+
[key: string]: any;
|
|
674
|
+
});
|
|
675
|
+
}
|
|
388
676
|
export declare class PvrCallbackFCUResponse extends $tea.Model {
|
|
389
677
|
headers: {
|
|
390
678
|
[key: string]: string;
|
|
@@ -421,7 +709,7 @@ export declare class ThreeElementsVerificationRequest extends $tea.Model {
|
|
|
421
709
|
}
|
|
422
710
|
export declare class ThreeElementsVerificationResponseBody extends $tea.Model {
|
|
423
711
|
code?: string;
|
|
424
|
-
data?: ThreeElementsVerificationResponseBodyData
|
|
712
|
+
data?: ThreeElementsVerificationResponseBodyData;
|
|
425
713
|
message?: string;
|
|
426
714
|
requestId?: string;
|
|
427
715
|
static names(): {
|
|
@@ -470,7 +758,7 @@ export declare class TwoElementsVerificationRequest extends $tea.Model {
|
|
|
470
758
|
}
|
|
471
759
|
export declare class TwoElementsVerificationResponseBody extends $tea.Model {
|
|
472
760
|
code?: string;
|
|
473
|
-
data?: TwoElementsVerificationResponseBodyData
|
|
761
|
+
data?: TwoElementsVerificationResponseBodyData;
|
|
474
762
|
message?: string;
|
|
475
763
|
requestId?: string;
|
|
476
764
|
static names(): {
|
|
@@ -554,6 +842,23 @@ export declare class DescribePhoneNumberOnlineTimeResponseBodyData extends $tea.
|
|
|
554
842
|
[key: string]: any;
|
|
555
843
|
});
|
|
556
844
|
}
|
|
845
|
+
export declare class DescribePhoneNumberOperatorAttributeResponseBodyData extends $tea.Model {
|
|
846
|
+
basicCarrier?: string;
|
|
847
|
+
carrier?: string;
|
|
848
|
+
city?: string;
|
|
849
|
+
isNumberPortability?: boolean;
|
|
850
|
+
numberSegment?: number;
|
|
851
|
+
province?: string;
|
|
852
|
+
static names(): {
|
|
853
|
+
[key: string]: string;
|
|
854
|
+
};
|
|
855
|
+
static types(): {
|
|
856
|
+
[key: string]: any;
|
|
857
|
+
};
|
|
858
|
+
constructor(map?: {
|
|
859
|
+
[key: string]: any;
|
|
860
|
+
});
|
|
861
|
+
}
|
|
557
862
|
export declare class DescribePhoneNumberResaleResponseBodyTwiceTelVerify extends $tea.Model {
|
|
558
863
|
carrier?: string;
|
|
559
864
|
verifyResult?: number;
|
|
@@ -610,6 +915,70 @@ export declare class PhoneNumberEncryptResponseBodyData extends $tea.Model {
|
|
|
610
915
|
[key: string]: any;
|
|
611
916
|
});
|
|
612
917
|
}
|
|
918
|
+
export declare class PhoneNumberStatusForAccountResponseBodyData extends $tea.Model {
|
|
919
|
+
carrier?: string;
|
|
920
|
+
status?: string;
|
|
921
|
+
static names(): {
|
|
922
|
+
[key: string]: string;
|
|
923
|
+
};
|
|
924
|
+
static types(): {
|
|
925
|
+
[key: string]: any;
|
|
926
|
+
};
|
|
927
|
+
constructor(map?: {
|
|
928
|
+
[key: string]: any;
|
|
929
|
+
});
|
|
930
|
+
}
|
|
931
|
+
export declare class PhoneNumberStatusForRealResponseBodyData extends $tea.Model {
|
|
932
|
+
carrier?: string;
|
|
933
|
+
status?: string;
|
|
934
|
+
static names(): {
|
|
935
|
+
[key: string]: string;
|
|
936
|
+
};
|
|
937
|
+
static types(): {
|
|
938
|
+
[key: string]: any;
|
|
939
|
+
};
|
|
940
|
+
constructor(map?: {
|
|
941
|
+
[key: string]: any;
|
|
942
|
+
});
|
|
943
|
+
}
|
|
944
|
+
export declare class PhoneNumberStatusForSmsResponseBodyData extends $tea.Model {
|
|
945
|
+
carrier?: string;
|
|
946
|
+
status?: string;
|
|
947
|
+
static names(): {
|
|
948
|
+
[key: string]: string;
|
|
949
|
+
};
|
|
950
|
+
static types(): {
|
|
951
|
+
[key: string]: any;
|
|
952
|
+
};
|
|
953
|
+
constructor(map?: {
|
|
954
|
+
[key: string]: any;
|
|
955
|
+
});
|
|
956
|
+
}
|
|
957
|
+
export declare class PhoneNumberStatusForVirtualResponseBodyData extends $tea.Model {
|
|
958
|
+
isPrivacyNumber?: boolean;
|
|
959
|
+
static names(): {
|
|
960
|
+
[key: string]: string;
|
|
961
|
+
};
|
|
962
|
+
static types(): {
|
|
963
|
+
[key: string]: any;
|
|
964
|
+
};
|
|
965
|
+
constructor(map?: {
|
|
966
|
+
[key: string]: any;
|
|
967
|
+
});
|
|
968
|
+
}
|
|
969
|
+
export declare class PhoneNumberStatusForVoiceResponseBodyData extends $tea.Model {
|
|
970
|
+
carrier?: string;
|
|
971
|
+
status?: string;
|
|
972
|
+
static names(): {
|
|
973
|
+
[key: string]: string;
|
|
974
|
+
};
|
|
975
|
+
static types(): {
|
|
976
|
+
[key: string]: any;
|
|
977
|
+
};
|
|
978
|
+
constructor(map?: {
|
|
979
|
+
[key: string]: any;
|
|
980
|
+
});
|
|
981
|
+
}
|
|
613
982
|
export declare class ThreeElementsVerificationResponseBodyData extends $tea.Model {
|
|
614
983
|
basicCarrier?: string;
|
|
615
984
|
isConsistent?: number;
|
|
@@ -649,6 +1018,8 @@ export default class Client extends OpenApi {
|
|
|
649
1018
|
describePhoneNumberAttribute(request: DescribePhoneNumberAttributeRequest): Promise<DescribePhoneNumberAttributeResponse>;
|
|
650
1019
|
describePhoneNumberOnlineTimeWithOptions(request: DescribePhoneNumberOnlineTimeRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneNumberOnlineTimeResponse>;
|
|
651
1020
|
describePhoneNumberOnlineTime(request: DescribePhoneNumberOnlineTimeRequest): Promise<DescribePhoneNumberOnlineTimeResponse>;
|
|
1021
|
+
describePhoneNumberOperatorAttributeWithOptions(request: DescribePhoneNumberOperatorAttributeRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneNumberOperatorAttributeResponse>;
|
|
1022
|
+
describePhoneNumberOperatorAttribute(request: DescribePhoneNumberOperatorAttributeRequest): Promise<DescribePhoneNumberOperatorAttributeResponse>;
|
|
652
1023
|
describePhoneNumberResaleWithOptions(request: DescribePhoneNumberResaleRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneNumberResaleResponse>;
|
|
653
1024
|
describePhoneNumberResale(request: DescribePhoneNumberResaleRequest): Promise<DescribePhoneNumberResaleResponse>;
|
|
654
1025
|
describePhoneNumberStatusWithOptions(request: DescribePhoneNumberStatusRequest, runtime: $Util.RuntimeOptions): Promise<DescribePhoneNumberStatusResponse>;
|
|
@@ -657,6 +1028,16 @@ export default class Client extends OpenApi {
|
|
|
657
1028
|
invalidPhoneNumberFilter(request: InvalidPhoneNumberFilterRequest): Promise<InvalidPhoneNumberFilterResponse>;
|
|
658
1029
|
phoneNumberEncryptWithOptions(request: PhoneNumberEncryptRequest, runtime: $Util.RuntimeOptions): Promise<PhoneNumberEncryptResponse>;
|
|
659
1030
|
phoneNumberEncrypt(request: PhoneNumberEncryptRequest): Promise<PhoneNumberEncryptResponse>;
|
|
1031
|
+
phoneNumberStatusForAccountWithOptions(request: PhoneNumberStatusForAccountRequest, runtime: $Util.RuntimeOptions): Promise<PhoneNumberStatusForAccountResponse>;
|
|
1032
|
+
phoneNumberStatusForAccount(request: PhoneNumberStatusForAccountRequest): Promise<PhoneNumberStatusForAccountResponse>;
|
|
1033
|
+
phoneNumberStatusForRealWithOptions(request: PhoneNumberStatusForRealRequest, runtime: $Util.RuntimeOptions): Promise<PhoneNumberStatusForRealResponse>;
|
|
1034
|
+
phoneNumberStatusForReal(request: PhoneNumberStatusForRealRequest): Promise<PhoneNumberStatusForRealResponse>;
|
|
1035
|
+
phoneNumberStatusForSmsWithOptions(request: PhoneNumberStatusForSmsRequest, runtime: $Util.RuntimeOptions): Promise<PhoneNumberStatusForSmsResponse>;
|
|
1036
|
+
phoneNumberStatusForSms(request: PhoneNumberStatusForSmsRequest): Promise<PhoneNumberStatusForSmsResponse>;
|
|
1037
|
+
phoneNumberStatusForVirtualWithOptions(request: PhoneNumberStatusForVirtualRequest, runtime: $Util.RuntimeOptions): Promise<PhoneNumberStatusForVirtualResponse>;
|
|
1038
|
+
phoneNumberStatusForVirtual(request: PhoneNumberStatusForVirtualRequest): Promise<PhoneNumberStatusForVirtualResponse>;
|
|
1039
|
+
phoneNumberStatusForVoiceWithOptions(request: PhoneNumberStatusForVoiceRequest, runtime: $Util.RuntimeOptions): Promise<PhoneNumberStatusForVoiceResponse>;
|
|
1040
|
+
phoneNumberStatusForVoice(request: PhoneNumberStatusForVoiceRequest): Promise<PhoneNumberStatusForVoiceResponse>;
|
|
660
1041
|
pvrCallbackFCUWithOptions(runtime: $Util.RuntimeOptions): Promise<PvrCallbackFCUResponse>;
|
|
661
1042
|
pvrCallbackFCU(): Promise<PvrCallbackFCUResponse>;
|
|
662
1043
|
threeElementsVerificationWithOptions(request: ThreeElementsVerificationRequest, runtime: $Util.RuntimeOptions): Promise<ThreeElementsVerificationResponse>;
|