@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.js
CHANGED
|
@@ -291,6 +291,74 @@ class DescribePhoneNumberOnlineTimeResponse extends $tea.Model {
|
|
|
291
291
|
}
|
|
292
292
|
}
|
|
293
293
|
exports.DescribePhoneNumberOnlineTimeResponse = DescribePhoneNumberOnlineTimeResponse;
|
|
294
|
+
class DescribePhoneNumberOperatorAttributeRequest extends $tea.Model {
|
|
295
|
+
constructor(map) {
|
|
296
|
+
super(map);
|
|
297
|
+
}
|
|
298
|
+
static names() {
|
|
299
|
+
return {
|
|
300
|
+
authCode: 'AuthCode',
|
|
301
|
+
inputNumber: 'InputNumber',
|
|
302
|
+
mask: 'Mask',
|
|
303
|
+
ownerId: 'OwnerId',
|
|
304
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
305
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
306
|
+
};
|
|
307
|
+
}
|
|
308
|
+
static types() {
|
|
309
|
+
return {
|
|
310
|
+
authCode: 'string',
|
|
311
|
+
inputNumber: 'string',
|
|
312
|
+
mask: 'string',
|
|
313
|
+
ownerId: 'number',
|
|
314
|
+
resourceOwnerAccount: 'string',
|
|
315
|
+
resourceOwnerId: 'number',
|
|
316
|
+
};
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
exports.DescribePhoneNumberOperatorAttributeRequest = DescribePhoneNumberOperatorAttributeRequest;
|
|
320
|
+
class DescribePhoneNumberOperatorAttributeResponseBody extends $tea.Model {
|
|
321
|
+
constructor(map) {
|
|
322
|
+
super(map);
|
|
323
|
+
}
|
|
324
|
+
static names() {
|
|
325
|
+
return {
|
|
326
|
+
code: 'Code',
|
|
327
|
+
data: 'Data',
|
|
328
|
+
message: 'Message',
|
|
329
|
+
requestId: 'RequestId',
|
|
330
|
+
};
|
|
331
|
+
}
|
|
332
|
+
static types() {
|
|
333
|
+
return {
|
|
334
|
+
code: 'string',
|
|
335
|
+
data: DescribePhoneNumberOperatorAttributeResponseBodyData,
|
|
336
|
+
message: 'string',
|
|
337
|
+
requestId: 'string',
|
|
338
|
+
};
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
exports.DescribePhoneNumberOperatorAttributeResponseBody = DescribePhoneNumberOperatorAttributeResponseBody;
|
|
342
|
+
class DescribePhoneNumberOperatorAttributeResponse extends $tea.Model {
|
|
343
|
+
constructor(map) {
|
|
344
|
+
super(map);
|
|
345
|
+
}
|
|
346
|
+
static names() {
|
|
347
|
+
return {
|
|
348
|
+
headers: 'headers',
|
|
349
|
+
statusCode: 'statusCode',
|
|
350
|
+
body: 'body',
|
|
351
|
+
};
|
|
352
|
+
}
|
|
353
|
+
static types() {
|
|
354
|
+
return {
|
|
355
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
356
|
+
statusCode: 'number',
|
|
357
|
+
body: DescribePhoneNumberOperatorAttributeResponseBody,
|
|
358
|
+
};
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
exports.DescribePhoneNumberOperatorAttributeResponse = DescribePhoneNumberOperatorAttributeResponse;
|
|
294
362
|
class DescribePhoneNumberResaleRequest extends $tea.Model {
|
|
295
363
|
constructor(map) {
|
|
296
364
|
super(map);
|
|
@@ -557,35 +625,15 @@ class PhoneNumberEncryptResponse extends $tea.Model {
|
|
|
557
625
|
}
|
|
558
626
|
}
|
|
559
627
|
exports.PhoneNumberEncryptResponse = PhoneNumberEncryptResponse;
|
|
560
|
-
class
|
|
561
|
-
constructor(map) {
|
|
562
|
-
super(map);
|
|
563
|
-
}
|
|
564
|
-
static names() {
|
|
565
|
-
return {
|
|
566
|
-
headers: 'headers',
|
|
567
|
-
statusCode: 'statusCode',
|
|
568
|
-
};
|
|
569
|
-
}
|
|
570
|
-
static types() {
|
|
571
|
-
return {
|
|
572
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
573
|
-
statusCode: 'number',
|
|
574
|
-
};
|
|
575
|
-
}
|
|
576
|
-
}
|
|
577
|
-
exports.PvrCallbackFCUResponse = PvrCallbackFCUResponse;
|
|
578
|
-
class ThreeElementsVerificationRequest extends $tea.Model {
|
|
628
|
+
class PhoneNumberStatusForAccountRequest extends $tea.Model {
|
|
579
629
|
constructor(map) {
|
|
580
630
|
super(map);
|
|
581
631
|
}
|
|
582
632
|
static names() {
|
|
583
633
|
return {
|
|
584
634
|
authCode: 'AuthCode',
|
|
585
|
-
certCode: 'CertCode',
|
|
586
635
|
inputNumber: 'InputNumber',
|
|
587
636
|
mask: 'Mask',
|
|
588
|
-
name: 'Name',
|
|
589
637
|
ownerId: 'OwnerId',
|
|
590
638
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
591
639
|
resourceOwnerId: 'ResourceOwnerId',
|
|
@@ -594,18 +642,16 @@ class ThreeElementsVerificationRequest extends $tea.Model {
|
|
|
594
642
|
static types() {
|
|
595
643
|
return {
|
|
596
644
|
authCode: 'string',
|
|
597
|
-
certCode: 'string',
|
|
598
645
|
inputNumber: 'string',
|
|
599
646
|
mask: 'string',
|
|
600
|
-
name: 'string',
|
|
601
647
|
ownerId: 'number',
|
|
602
648
|
resourceOwnerAccount: 'string',
|
|
603
649
|
resourceOwnerId: 'number',
|
|
604
650
|
};
|
|
605
651
|
}
|
|
606
652
|
}
|
|
607
|
-
exports.
|
|
608
|
-
class
|
|
653
|
+
exports.PhoneNumberStatusForAccountRequest = PhoneNumberStatusForAccountRequest;
|
|
654
|
+
class PhoneNumberStatusForAccountResponseBody extends $tea.Model {
|
|
609
655
|
constructor(map) {
|
|
610
656
|
super(map);
|
|
611
657
|
}
|
|
@@ -620,14 +666,14 @@ class ThreeElementsVerificationResponseBody extends $tea.Model {
|
|
|
620
666
|
static types() {
|
|
621
667
|
return {
|
|
622
668
|
code: 'string',
|
|
623
|
-
data:
|
|
669
|
+
data: PhoneNumberStatusForAccountResponseBodyData,
|
|
624
670
|
message: 'string',
|
|
625
671
|
requestId: 'string',
|
|
626
672
|
};
|
|
627
673
|
}
|
|
628
674
|
}
|
|
629
|
-
exports.
|
|
630
|
-
class
|
|
675
|
+
exports.PhoneNumberStatusForAccountResponseBody = PhoneNumberStatusForAccountResponseBody;
|
|
676
|
+
class PhoneNumberStatusForAccountResponse extends $tea.Model {
|
|
631
677
|
constructor(map) {
|
|
632
678
|
super(map);
|
|
633
679
|
}
|
|
@@ -642,12 +688,12 @@ class ThreeElementsVerificationResponse extends $tea.Model {
|
|
|
642
688
|
return {
|
|
643
689
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
644
690
|
statusCode: 'number',
|
|
645
|
-
body:
|
|
691
|
+
body: PhoneNumberStatusForAccountResponseBody,
|
|
646
692
|
};
|
|
647
693
|
}
|
|
648
694
|
}
|
|
649
|
-
exports.
|
|
650
|
-
class
|
|
695
|
+
exports.PhoneNumberStatusForAccountResponse = PhoneNumberStatusForAccountResponse;
|
|
696
|
+
class PhoneNumberStatusForRealRequest extends $tea.Model {
|
|
651
697
|
constructor(map) {
|
|
652
698
|
super(map);
|
|
653
699
|
}
|
|
@@ -656,7 +702,6 @@ class TwoElementsVerificationRequest extends $tea.Model {
|
|
|
656
702
|
authCode: 'AuthCode',
|
|
657
703
|
inputNumber: 'InputNumber',
|
|
658
704
|
mask: 'Mask',
|
|
659
|
-
name: 'Name',
|
|
660
705
|
ownerId: 'OwnerId',
|
|
661
706
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
662
707
|
resourceOwnerId: 'ResourceOwnerId',
|
|
@@ -667,15 +712,14 @@ class TwoElementsVerificationRequest extends $tea.Model {
|
|
|
667
712
|
authCode: 'string',
|
|
668
713
|
inputNumber: 'string',
|
|
669
714
|
mask: 'string',
|
|
670
|
-
name: 'string',
|
|
671
715
|
ownerId: 'number',
|
|
672
716
|
resourceOwnerAccount: 'string',
|
|
673
717
|
resourceOwnerId: 'number',
|
|
674
718
|
};
|
|
675
719
|
}
|
|
676
720
|
}
|
|
677
|
-
exports.
|
|
678
|
-
class
|
|
721
|
+
exports.PhoneNumberStatusForRealRequest = PhoneNumberStatusForRealRequest;
|
|
722
|
+
class PhoneNumberStatusForRealResponseBody extends $tea.Model {
|
|
679
723
|
constructor(map) {
|
|
680
724
|
super(map);
|
|
681
725
|
}
|
|
@@ -690,14 +734,14 @@ class TwoElementsVerificationResponseBody extends $tea.Model {
|
|
|
690
734
|
static types() {
|
|
691
735
|
return {
|
|
692
736
|
code: 'string',
|
|
693
|
-
data:
|
|
737
|
+
data: PhoneNumberStatusForRealResponseBodyData,
|
|
694
738
|
message: 'string',
|
|
695
739
|
requestId: 'string',
|
|
696
740
|
};
|
|
697
741
|
}
|
|
698
742
|
}
|
|
699
|
-
exports.
|
|
700
|
-
class
|
|
743
|
+
exports.PhoneNumberStatusForRealResponseBody = PhoneNumberStatusForRealResponseBody;
|
|
744
|
+
class PhoneNumberStatusForRealResponse extends $tea.Model {
|
|
701
745
|
constructor(map) {
|
|
702
746
|
super(map);
|
|
703
747
|
}
|
|
@@ -712,213 +756,691 @@ class TwoElementsVerificationResponse extends $tea.Model {
|
|
|
712
756
|
return {
|
|
713
757
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
714
758
|
statusCode: 'number',
|
|
715
|
-
body:
|
|
759
|
+
body: PhoneNumberStatusForRealResponseBody,
|
|
716
760
|
};
|
|
717
761
|
}
|
|
718
762
|
}
|
|
719
|
-
exports.
|
|
720
|
-
class
|
|
763
|
+
exports.PhoneNumberStatusForRealResponse = PhoneNumberStatusForRealResponse;
|
|
764
|
+
class PhoneNumberStatusForSmsRequest extends $tea.Model {
|
|
721
765
|
constructor(map) {
|
|
722
766
|
super(map);
|
|
723
767
|
}
|
|
724
768
|
static names() {
|
|
725
769
|
return {
|
|
726
|
-
|
|
727
|
-
|
|
770
|
+
authCode: 'AuthCode',
|
|
771
|
+
inputNumber: 'InputNumber',
|
|
772
|
+
mask: 'Mask',
|
|
773
|
+
ownerId: 'OwnerId',
|
|
774
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
775
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
728
776
|
};
|
|
729
777
|
}
|
|
730
778
|
static types() {
|
|
731
779
|
return {
|
|
732
|
-
|
|
733
|
-
|
|
780
|
+
authCode: 'string',
|
|
781
|
+
inputNumber: 'string',
|
|
782
|
+
mask: 'string',
|
|
783
|
+
ownerId: 'number',
|
|
784
|
+
resourceOwnerAccount: 'string',
|
|
785
|
+
resourceOwnerId: 'number',
|
|
734
786
|
};
|
|
735
787
|
}
|
|
736
788
|
}
|
|
737
|
-
exports.
|
|
738
|
-
class
|
|
789
|
+
exports.PhoneNumberStatusForSmsRequest = PhoneNumberStatusForSmsRequest;
|
|
790
|
+
class PhoneNumberStatusForSmsResponseBody extends $tea.Model {
|
|
739
791
|
constructor(map) {
|
|
740
792
|
super(map);
|
|
741
793
|
}
|
|
742
794
|
static names() {
|
|
743
795
|
return {
|
|
744
796
|
code: 'Code',
|
|
745
|
-
|
|
797
|
+
data: 'Data',
|
|
798
|
+
message: 'Message',
|
|
799
|
+
requestId: 'RequestId',
|
|
746
800
|
};
|
|
747
801
|
}
|
|
748
802
|
static types() {
|
|
749
803
|
return {
|
|
750
804
|
code: 'string',
|
|
751
|
-
|
|
805
|
+
data: PhoneNumberStatusForSmsResponseBodyData,
|
|
806
|
+
message: 'string',
|
|
807
|
+
requestId: 'string',
|
|
752
808
|
};
|
|
753
809
|
}
|
|
754
810
|
}
|
|
755
|
-
exports.
|
|
756
|
-
class
|
|
811
|
+
exports.PhoneNumberStatusForSmsResponseBody = PhoneNumberStatusForSmsResponseBody;
|
|
812
|
+
class PhoneNumberStatusForSmsResponse extends $tea.Model {
|
|
757
813
|
constructor(map) {
|
|
758
814
|
super(map);
|
|
759
815
|
}
|
|
760
816
|
static names() {
|
|
761
817
|
return {
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
isNumberPortability: 'IsNumberPortability',
|
|
766
|
-
numberSegment: 'NumberSegment',
|
|
767
|
-
province: 'Province',
|
|
818
|
+
headers: 'headers',
|
|
819
|
+
statusCode: 'statusCode',
|
|
820
|
+
body: 'body',
|
|
768
821
|
};
|
|
769
822
|
}
|
|
770
823
|
static types() {
|
|
771
824
|
return {
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
isNumberPortability: 'boolean',
|
|
776
|
-
numberSegment: 'number',
|
|
777
|
-
province: 'string',
|
|
825
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
826
|
+
statusCode: 'number',
|
|
827
|
+
body: PhoneNumberStatusForSmsResponseBody,
|
|
778
828
|
};
|
|
779
829
|
}
|
|
780
830
|
}
|
|
781
|
-
exports.
|
|
782
|
-
class
|
|
831
|
+
exports.PhoneNumberStatusForSmsResponse = PhoneNumberStatusForSmsResponse;
|
|
832
|
+
class PhoneNumberStatusForVirtualRequest extends $tea.Model {
|
|
783
833
|
constructor(map) {
|
|
784
834
|
super(map);
|
|
785
835
|
}
|
|
786
836
|
static names() {
|
|
787
837
|
return {
|
|
788
|
-
|
|
838
|
+
authCode: 'AuthCode',
|
|
839
|
+
inputNumber: 'InputNumber',
|
|
840
|
+
mask: 'Mask',
|
|
841
|
+
ownerId: 'OwnerId',
|
|
842
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
843
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
789
844
|
};
|
|
790
845
|
}
|
|
791
846
|
static types() {
|
|
792
847
|
return {
|
|
793
|
-
|
|
848
|
+
authCode: 'string',
|
|
849
|
+
inputNumber: 'string',
|
|
850
|
+
mask: 'string',
|
|
851
|
+
ownerId: 'number',
|
|
852
|
+
resourceOwnerAccount: 'string',
|
|
853
|
+
resourceOwnerId: 'number',
|
|
794
854
|
};
|
|
795
855
|
}
|
|
796
856
|
}
|
|
797
|
-
exports.
|
|
798
|
-
class
|
|
857
|
+
exports.PhoneNumberStatusForVirtualRequest = PhoneNumberStatusForVirtualRequest;
|
|
858
|
+
class PhoneNumberStatusForVirtualResponseBody extends $tea.Model {
|
|
799
859
|
constructor(map) {
|
|
800
860
|
super(map);
|
|
801
861
|
}
|
|
802
862
|
static names() {
|
|
803
863
|
return {
|
|
804
|
-
|
|
805
|
-
|
|
864
|
+
code: 'Code',
|
|
865
|
+
data: 'Data',
|
|
866
|
+
message: 'Message',
|
|
867
|
+
requestId: 'RequestId',
|
|
806
868
|
};
|
|
807
869
|
}
|
|
808
870
|
static types() {
|
|
809
871
|
return {
|
|
810
|
-
|
|
811
|
-
|
|
872
|
+
code: 'string',
|
|
873
|
+
data: PhoneNumberStatusForVirtualResponseBodyData,
|
|
874
|
+
message: 'string',
|
|
875
|
+
requestId: 'string',
|
|
812
876
|
};
|
|
813
877
|
}
|
|
814
878
|
}
|
|
815
|
-
exports.
|
|
816
|
-
class
|
|
879
|
+
exports.PhoneNumberStatusForVirtualResponseBody = PhoneNumberStatusForVirtualResponseBody;
|
|
880
|
+
class PhoneNumberStatusForVirtualResponse extends $tea.Model {
|
|
817
881
|
constructor(map) {
|
|
818
882
|
super(map);
|
|
819
883
|
}
|
|
820
884
|
static names() {
|
|
821
885
|
return {
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
886
|
+
headers: 'headers',
|
|
887
|
+
statusCode: 'statusCode',
|
|
888
|
+
body: 'body',
|
|
825
889
|
};
|
|
826
890
|
}
|
|
827
891
|
static types() {
|
|
828
892
|
return {
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
893
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
894
|
+
statusCode: 'number',
|
|
895
|
+
body: PhoneNumberStatusForVirtualResponseBody,
|
|
832
896
|
};
|
|
833
897
|
}
|
|
834
898
|
}
|
|
835
|
-
exports.
|
|
836
|
-
class
|
|
899
|
+
exports.PhoneNumberStatusForVirtualResponse = PhoneNumberStatusForVirtualResponse;
|
|
900
|
+
class PhoneNumberStatusForVoiceRequest extends $tea.Model {
|
|
837
901
|
constructor(map) {
|
|
838
902
|
super(map);
|
|
839
903
|
}
|
|
840
904
|
static names() {
|
|
841
905
|
return {
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
906
|
+
authCode: 'AuthCode',
|
|
907
|
+
inputNumber: 'InputNumber',
|
|
908
|
+
mask: 'Mask',
|
|
909
|
+
ownerId: 'OwnerId',
|
|
910
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
911
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
846
912
|
};
|
|
847
913
|
}
|
|
848
914
|
static types() {
|
|
849
915
|
return {
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
916
|
+
authCode: 'string',
|
|
917
|
+
inputNumber: 'string',
|
|
918
|
+
mask: 'string',
|
|
919
|
+
ownerId: 'number',
|
|
920
|
+
resourceOwnerAccount: 'string',
|
|
921
|
+
resourceOwnerId: 'number',
|
|
854
922
|
};
|
|
855
923
|
}
|
|
856
924
|
}
|
|
857
|
-
exports.
|
|
858
|
-
class
|
|
925
|
+
exports.PhoneNumberStatusForVoiceRequest = PhoneNumberStatusForVoiceRequest;
|
|
926
|
+
class PhoneNumberStatusForVoiceResponseBody extends $tea.Model {
|
|
859
927
|
constructor(map) {
|
|
860
928
|
super(map);
|
|
861
929
|
}
|
|
862
930
|
static names() {
|
|
863
931
|
return {
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
932
|
+
code: 'Code',
|
|
933
|
+
data: 'Data',
|
|
934
|
+
message: 'Message',
|
|
935
|
+
requestId: 'RequestId',
|
|
867
936
|
};
|
|
868
937
|
}
|
|
869
938
|
static types() {
|
|
870
939
|
return {
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
940
|
+
code: 'string',
|
|
941
|
+
data: PhoneNumberStatusForVoiceResponseBodyData,
|
|
942
|
+
message: 'string',
|
|
943
|
+
requestId: 'string',
|
|
874
944
|
};
|
|
875
945
|
}
|
|
876
946
|
}
|
|
877
|
-
exports.
|
|
878
|
-
class
|
|
947
|
+
exports.PhoneNumberStatusForVoiceResponseBody = PhoneNumberStatusForVoiceResponseBody;
|
|
948
|
+
class PhoneNumberStatusForVoiceResponse extends $tea.Model {
|
|
879
949
|
constructor(map) {
|
|
880
950
|
super(map);
|
|
881
951
|
}
|
|
882
952
|
static names() {
|
|
883
953
|
return {
|
|
884
|
-
|
|
885
|
-
|
|
954
|
+
headers: 'headers',
|
|
955
|
+
statusCode: 'statusCode',
|
|
956
|
+
body: 'body',
|
|
886
957
|
};
|
|
887
958
|
}
|
|
888
959
|
static types() {
|
|
889
960
|
return {
|
|
890
|
-
|
|
891
|
-
|
|
961
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
962
|
+
statusCode: 'number',
|
|
963
|
+
body: PhoneNumberStatusForVoiceResponseBody,
|
|
892
964
|
};
|
|
893
965
|
}
|
|
894
966
|
}
|
|
895
|
-
exports.
|
|
896
|
-
class
|
|
967
|
+
exports.PhoneNumberStatusForVoiceResponse = PhoneNumberStatusForVoiceResponse;
|
|
968
|
+
class PvrCallbackFCUResponse extends $tea.Model {
|
|
897
969
|
constructor(map) {
|
|
898
970
|
super(map);
|
|
899
971
|
}
|
|
900
972
|
static names() {
|
|
901
973
|
return {
|
|
902
|
-
|
|
903
|
-
|
|
974
|
+
headers: 'headers',
|
|
975
|
+
statusCode: 'statusCode',
|
|
904
976
|
};
|
|
905
977
|
}
|
|
906
978
|
static types() {
|
|
907
979
|
return {
|
|
908
|
-
|
|
909
|
-
|
|
980
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
981
|
+
statusCode: 'number',
|
|
910
982
|
};
|
|
911
983
|
}
|
|
912
984
|
}
|
|
913
|
-
exports.
|
|
914
|
-
class
|
|
915
|
-
constructor(
|
|
916
|
-
super(
|
|
917
|
-
this._endpointRule = "central";
|
|
918
|
-
this.checkConfig(config);
|
|
919
|
-
this._endpoint = this.getEndpoint("dytnsapi", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
985
|
+
exports.PvrCallbackFCUResponse = PvrCallbackFCUResponse;
|
|
986
|
+
class ThreeElementsVerificationRequest extends $tea.Model {
|
|
987
|
+
constructor(map) {
|
|
988
|
+
super(map);
|
|
920
989
|
}
|
|
921
|
-
|
|
990
|
+
static names() {
|
|
991
|
+
return {
|
|
992
|
+
authCode: 'AuthCode',
|
|
993
|
+
certCode: 'CertCode',
|
|
994
|
+
inputNumber: 'InputNumber',
|
|
995
|
+
mask: 'Mask',
|
|
996
|
+
name: 'Name',
|
|
997
|
+
ownerId: 'OwnerId',
|
|
998
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
999
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
1000
|
+
};
|
|
1001
|
+
}
|
|
1002
|
+
static types() {
|
|
1003
|
+
return {
|
|
1004
|
+
authCode: 'string',
|
|
1005
|
+
certCode: 'string',
|
|
1006
|
+
inputNumber: 'string',
|
|
1007
|
+
mask: 'string',
|
|
1008
|
+
name: 'string',
|
|
1009
|
+
ownerId: 'number',
|
|
1010
|
+
resourceOwnerAccount: 'string',
|
|
1011
|
+
resourceOwnerId: 'number',
|
|
1012
|
+
};
|
|
1013
|
+
}
|
|
1014
|
+
}
|
|
1015
|
+
exports.ThreeElementsVerificationRequest = ThreeElementsVerificationRequest;
|
|
1016
|
+
class ThreeElementsVerificationResponseBody extends $tea.Model {
|
|
1017
|
+
constructor(map) {
|
|
1018
|
+
super(map);
|
|
1019
|
+
}
|
|
1020
|
+
static names() {
|
|
1021
|
+
return {
|
|
1022
|
+
code: 'Code',
|
|
1023
|
+
data: 'Data',
|
|
1024
|
+
message: 'Message',
|
|
1025
|
+
requestId: 'RequestId',
|
|
1026
|
+
};
|
|
1027
|
+
}
|
|
1028
|
+
static types() {
|
|
1029
|
+
return {
|
|
1030
|
+
code: 'string',
|
|
1031
|
+
data: ThreeElementsVerificationResponseBodyData,
|
|
1032
|
+
message: 'string',
|
|
1033
|
+
requestId: 'string',
|
|
1034
|
+
};
|
|
1035
|
+
}
|
|
1036
|
+
}
|
|
1037
|
+
exports.ThreeElementsVerificationResponseBody = ThreeElementsVerificationResponseBody;
|
|
1038
|
+
class ThreeElementsVerificationResponse extends $tea.Model {
|
|
1039
|
+
constructor(map) {
|
|
1040
|
+
super(map);
|
|
1041
|
+
}
|
|
1042
|
+
static names() {
|
|
1043
|
+
return {
|
|
1044
|
+
headers: 'headers',
|
|
1045
|
+
statusCode: 'statusCode',
|
|
1046
|
+
body: 'body',
|
|
1047
|
+
};
|
|
1048
|
+
}
|
|
1049
|
+
static types() {
|
|
1050
|
+
return {
|
|
1051
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1052
|
+
statusCode: 'number',
|
|
1053
|
+
body: ThreeElementsVerificationResponseBody,
|
|
1054
|
+
};
|
|
1055
|
+
}
|
|
1056
|
+
}
|
|
1057
|
+
exports.ThreeElementsVerificationResponse = ThreeElementsVerificationResponse;
|
|
1058
|
+
class TwoElementsVerificationRequest extends $tea.Model {
|
|
1059
|
+
constructor(map) {
|
|
1060
|
+
super(map);
|
|
1061
|
+
}
|
|
1062
|
+
static names() {
|
|
1063
|
+
return {
|
|
1064
|
+
authCode: 'AuthCode',
|
|
1065
|
+
inputNumber: 'InputNumber',
|
|
1066
|
+
mask: 'Mask',
|
|
1067
|
+
name: 'Name',
|
|
1068
|
+
ownerId: 'OwnerId',
|
|
1069
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
1070
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
1071
|
+
};
|
|
1072
|
+
}
|
|
1073
|
+
static types() {
|
|
1074
|
+
return {
|
|
1075
|
+
authCode: 'string',
|
|
1076
|
+
inputNumber: 'string',
|
|
1077
|
+
mask: 'string',
|
|
1078
|
+
name: 'string',
|
|
1079
|
+
ownerId: 'number',
|
|
1080
|
+
resourceOwnerAccount: 'string',
|
|
1081
|
+
resourceOwnerId: 'number',
|
|
1082
|
+
};
|
|
1083
|
+
}
|
|
1084
|
+
}
|
|
1085
|
+
exports.TwoElementsVerificationRequest = TwoElementsVerificationRequest;
|
|
1086
|
+
class TwoElementsVerificationResponseBody extends $tea.Model {
|
|
1087
|
+
constructor(map) {
|
|
1088
|
+
super(map);
|
|
1089
|
+
}
|
|
1090
|
+
static names() {
|
|
1091
|
+
return {
|
|
1092
|
+
code: 'Code',
|
|
1093
|
+
data: 'Data',
|
|
1094
|
+
message: 'Message',
|
|
1095
|
+
requestId: 'RequestId',
|
|
1096
|
+
};
|
|
1097
|
+
}
|
|
1098
|
+
static types() {
|
|
1099
|
+
return {
|
|
1100
|
+
code: 'string',
|
|
1101
|
+
data: TwoElementsVerificationResponseBodyData,
|
|
1102
|
+
message: 'string',
|
|
1103
|
+
requestId: 'string',
|
|
1104
|
+
};
|
|
1105
|
+
}
|
|
1106
|
+
}
|
|
1107
|
+
exports.TwoElementsVerificationResponseBody = TwoElementsVerificationResponseBody;
|
|
1108
|
+
class TwoElementsVerificationResponse extends $tea.Model {
|
|
1109
|
+
constructor(map) {
|
|
1110
|
+
super(map);
|
|
1111
|
+
}
|
|
1112
|
+
static names() {
|
|
1113
|
+
return {
|
|
1114
|
+
headers: 'headers',
|
|
1115
|
+
statusCode: 'statusCode',
|
|
1116
|
+
body: 'body',
|
|
1117
|
+
};
|
|
1118
|
+
}
|
|
1119
|
+
static types() {
|
|
1120
|
+
return {
|
|
1121
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1122
|
+
statusCode: 'number',
|
|
1123
|
+
body: TwoElementsVerificationResponseBody,
|
|
1124
|
+
};
|
|
1125
|
+
}
|
|
1126
|
+
}
|
|
1127
|
+
exports.TwoElementsVerificationResponse = TwoElementsVerificationResponse;
|
|
1128
|
+
class DescribeEmptyNumberDetectResponseBodyData extends $tea.Model {
|
|
1129
|
+
constructor(map) {
|
|
1130
|
+
super(map);
|
|
1131
|
+
}
|
|
1132
|
+
static names() {
|
|
1133
|
+
return {
|
|
1134
|
+
number: 'Number',
|
|
1135
|
+
status: 'Status',
|
|
1136
|
+
};
|
|
1137
|
+
}
|
|
1138
|
+
static types() {
|
|
1139
|
+
return {
|
|
1140
|
+
number: 'string',
|
|
1141
|
+
status: 'string',
|
|
1142
|
+
};
|
|
1143
|
+
}
|
|
1144
|
+
}
|
|
1145
|
+
exports.DescribeEmptyNumberDetectResponseBodyData = DescribeEmptyNumberDetectResponseBodyData;
|
|
1146
|
+
class DescribePhoneNumberAnalysisResponseBodyData extends $tea.Model {
|
|
1147
|
+
constructor(map) {
|
|
1148
|
+
super(map);
|
|
1149
|
+
}
|
|
1150
|
+
static names() {
|
|
1151
|
+
return {
|
|
1152
|
+
code: 'Code',
|
|
1153
|
+
number: 'Number',
|
|
1154
|
+
};
|
|
1155
|
+
}
|
|
1156
|
+
static types() {
|
|
1157
|
+
return {
|
|
1158
|
+
code: 'string',
|
|
1159
|
+
number: 'string',
|
|
1160
|
+
};
|
|
1161
|
+
}
|
|
1162
|
+
}
|
|
1163
|
+
exports.DescribePhoneNumberAnalysisResponseBodyData = DescribePhoneNumberAnalysisResponseBodyData;
|
|
1164
|
+
class DescribePhoneNumberAttributeResponseBodyPhoneNumberAttribute extends $tea.Model {
|
|
1165
|
+
constructor(map) {
|
|
1166
|
+
super(map);
|
|
1167
|
+
}
|
|
1168
|
+
static names() {
|
|
1169
|
+
return {
|
|
1170
|
+
basicCarrier: 'BasicCarrier',
|
|
1171
|
+
carrier: 'Carrier',
|
|
1172
|
+
city: 'City',
|
|
1173
|
+
isNumberPortability: 'IsNumberPortability',
|
|
1174
|
+
numberSegment: 'NumberSegment',
|
|
1175
|
+
province: 'Province',
|
|
1176
|
+
};
|
|
1177
|
+
}
|
|
1178
|
+
static types() {
|
|
1179
|
+
return {
|
|
1180
|
+
basicCarrier: 'string',
|
|
1181
|
+
carrier: 'string',
|
|
1182
|
+
city: 'string',
|
|
1183
|
+
isNumberPortability: 'boolean',
|
|
1184
|
+
numberSegment: 'number',
|
|
1185
|
+
province: 'string',
|
|
1186
|
+
};
|
|
1187
|
+
}
|
|
1188
|
+
}
|
|
1189
|
+
exports.DescribePhoneNumberAttributeResponseBodyPhoneNumberAttribute = DescribePhoneNumberAttributeResponseBodyPhoneNumberAttribute;
|
|
1190
|
+
class DescribePhoneNumberOnlineTimeResponseBodyData extends $tea.Model {
|
|
1191
|
+
constructor(map) {
|
|
1192
|
+
super(map);
|
|
1193
|
+
}
|
|
1194
|
+
static names() {
|
|
1195
|
+
return {
|
|
1196
|
+
verifyResult: 'VerifyResult',
|
|
1197
|
+
};
|
|
1198
|
+
}
|
|
1199
|
+
static types() {
|
|
1200
|
+
return {
|
|
1201
|
+
verifyResult: 'string',
|
|
1202
|
+
};
|
|
1203
|
+
}
|
|
1204
|
+
}
|
|
1205
|
+
exports.DescribePhoneNumberOnlineTimeResponseBodyData = DescribePhoneNumberOnlineTimeResponseBodyData;
|
|
1206
|
+
class DescribePhoneNumberOperatorAttributeResponseBodyData extends $tea.Model {
|
|
1207
|
+
constructor(map) {
|
|
1208
|
+
super(map);
|
|
1209
|
+
}
|
|
1210
|
+
static names() {
|
|
1211
|
+
return {
|
|
1212
|
+
basicCarrier: 'BasicCarrier',
|
|
1213
|
+
carrier: 'Carrier',
|
|
1214
|
+
city: 'City',
|
|
1215
|
+
isNumberPortability: 'IsNumberPortability',
|
|
1216
|
+
numberSegment: 'NumberSegment',
|
|
1217
|
+
province: 'Province',
|
|
1218
|
+
};
|
|
1219
|
+
}
|
|
1220
|
+
static types() {
|
|
1221
|
+
return {
|
|
1222
|
+
basicCarrier: 'string',
|
|
1223
|
+
carrier: 'string',
|
|
1224
|
+
city: 'string',
|
|
1225
|
+
isNumberPortability: 'boolean',
|
|
1226
|
+
numberSegment: 'number',
|
|
1227
|
+
province: 'string',
|
|
1228
|
+
};
|
|
1229
|
+
}
|
|
1230
|
+
}
|
|
1231
|
+
exports.DescribePhoneNumberOperatorAttributeResponseBodyData = DescribePhoneNumberOperatorAttributeResponseBodyData;
|
|
1232
|
+
class DescribePhoneNumberResaleResponseBodyTwiceTelVerify extends $tea.Model {
|
|
1233
|
+
constructor(map) {
|
|
1234
|
+
super(map);
|
|
1235
|
+
}
|
|
1236
|
+
static names() {
|
|
1237
|
+
return {
|
|
1238
|
+
carrier: 'Carrier',
|
|
1239
|
+
verifyResult: 'VerifyResult',
|
|
1240
|
+
};
|
|
1241
|
+
}
|
|
1242
|
+
static types() {
|
|
1243
|
+
return {
|
|
1244
|
+
carrier: 'string',
|
|
1245
|
+
verifyResult: 'number',
|
|
1246
|
+
};
|
|
1247
|
+
}
|
|
1248
|
+
}
|
|
1249
|
+
exports.DescribePhoneNumberResaleResponseBodyTwiceTelVerify = DescribePhoneNumberResaleResponseBodyTwiceTelVerify;
|
|
1250
|
+
class DescribePhoneNumberStatusResponseBodyPhoneStatus extends $tea.Model {
|
|
1251
|
+
constructor(map) {
|
|
1252
|
+
super(map);
|
|
1253
|
+
}
|
|
1254
|
+
static names() {
|
|
1255
|
+
return {
|
|
1256
|
+
carrier: 'Carrier',
|
|
1257
|
+
serialId: 'SerialId',
|
|
1258
|
+
status: 'Status',
|
|
1259
|
+
};
|
|
1260
|
+
}
|
|
1261
|
+
static types() {
|
|
1262
|
+
return {
|
|
1263
|
+
carrier: 'string',
|
|
1264
|
+
serialId: 'string',
|
|
1265
|
+
status: 'string',
|
|
1266
|
+
};
|
|
1267
|
+
}
|
|
1268
|
+
}
|
|
1269
|
+
exports.DescribePhoneNumberStatusResponseBodyPhoneStatus = DescribePhoneNumberStatusResponseBodyPhoneStatus;
|
|
1270
|
+
class InvalidPhoneNumberFilterResponseBodyData extends $tea.Model {
|
|
1271
|
+
constructor(map) {
|
|
1272
|
+
super(map);
|
|
1273
|
+
}
|
|
1274
|
+
static names() {
|
|
1275
|
+
return {
|
|
1276
|
+
code: 'Code',
|
|
1277
|
+
encryptedNumber: 'EncryptedNumber',
|
|
1278
|
+
expireTime: 'ExpireTime',
|
|
1279
|
+
originalNumber: 'OriginalNumber',
|
|
1280
|
+
};
|
|
1281
|
+
}
|
|
1282
|
+
static types() {
|
|
1283
|
+
return {
|
|
1284
|
+
code: 'string',
|
|
1285
|
+
encryptedNumber: 'string',
|
|
1286
|
+
expireTime: 'string',
|
|
1287
|
+
originalNumber: 'string',
|
|
1288
|
+
};
|
|
1289
|
+
}
|
|
1290
|
+
}
|
|
1291
|
+
exports.InvalidPhoneNumberFilterResponseBodyData = InvalidPhoneNumberFilterResponseBodyData;
|
|
1292
|
+
class PhoneNumberEncryptResponseBodyData extends $tea.Model {
|
|
1293
|
+
constructor(map) {
|
|
1294
|
+
super(map);
|
|
1295
|
+
}
|
|
1296
|
+
static names() {
|
|
1297
|
+
return {
|
|
1298
|
+
encryptedNumber: 'EncryptedNumber',
|
|
1299
|
+
expireTime: 'ExpireTime',
|
|
1300
|
+
originalNumber: 'OriginalNumber',
|
|
1301
|
+
};
|
|
1302
|
+
}
|
|
1303
|
+
static types() {
|
|
1304
|
+
return {
|
|
1305
|
+
encryptedNumber: 'string',
|
|
1306
|
+
expireTime: 'string',
|
|
1307
|
+
originalNumber: 'string',
|
|
1308
|
+
};
|
|
1309
|
+
}
|
|
1310
|
+
}
|
|
1311
|
+
exports.PhoneNumberEncryptResponseBodyData = PhoneNumberEncryptResponseBodyData;
|
|
1312
|
+
class PhoneNumberStatusForAccountResponseBodyData extends $tea.Model {
|
|
1313
|
+
constructor(map) {
|
|
1314
|
+
super(map);
|
|
1315
|
+
}
|
|
1316
|
+
static names() {
|
|
1317
|
+
return {
|
|
1318
|
+
carrier: 'Carrier',
|
|
1319
|
+
status: 'Status',
|
|
1320
|
+
};
|
|
1321
|
+
}
|
|
1322
|
+
static types() {
|
|
1323
|
+
return {
|
|
1324
|
+
carrier: 'string',
|
|
1325
|
+
status: 'string',
|
|
1326
|
+
};
|
|
1327
|
+
}
|
|
1328
|
+
}
|
|
1329
|
+
exports.PhoneNumberStatusForAccountResponseBodyData = PhoneNumberStatusForAccountResponseBodyData;
|
|
1330
|
+
class PhoneNumberStatusForRealResponseBodyData extends $tea.Model {
|
|
1331
|
+
constructor(map) {
|
|
1332
|
+
super(map);
|
|
1333
|
+
}
|
|
1334
|
+
static names() {
|
|
1335
|
+
return {
|
|
1336
|
+
carrier: 'Carrier',
|
|
1337
|
+
status: 'Status',
|
|
1338
|
+
};
|
|
1339
|
+
}
|
|
1340
|
+
static types() {
|
|
1341
|
+
return {
|
|
1342
|
+
carrier: 'string',
|
|
1343
|
+
status: 'string',
|
|
1344
|
+
};
|
|
1345
|
+
}
|
|
1346
|
+
}
|
|
1347
|
+
exports.PhoneNumberStatusForRealResponseBodyData = PhoneNumberStatusForRealResponseBodyData;
|
|
1348
|
+
class PhoneNumberStatusForSmsResponseBodyData extends $tea.Model {
|
|
1349
|
+
constructor(map) {
|
|
1350
|
+
super(map);
|
|
1351
|
+
}
|
|
1352
|
+
static names() {
|
|
1353
|
+
return {
|
|
1354
|
+
carrier: 'Carrier',
|
|
1355
|
+
status: 'Status',
|
|
1356
|
+
};
|
|
1357
|
+
}
|
|
1358
|
+
static types() {
|
|
1359
|
+
return {
|
|
1360
|
+
carrier: 'string',
|
|
1361
|
+
status: 'string',
|
|
1362
|
+
};
|
|
1363
|
+
}
|
|
1364
|
+
}
|
|
1365
|
+
exports.PhoneNumberStatusForSmsResponseBodyData = PhoneNumberStatusForSmsResponseBodyData;
|
|
1366
|
+
class PhoneNumberStatusForVirtualResponseBodyData extends $tea.Model {
|
|
1367
|
+
constructor(map) {
|
|
1368
|
+
super(map);
|
|
1369
|
+
}
|
|
1370
|
+
static names() {
|
|
1371
|
+
return {
|
|
1372
|
+
isPrivacyNumber: 'IsPrivacyNumber',
|
|
1373
|
+
};
|
|
1374
|
+
}
|
|
1375
|
+
static types() {
|
|
1376
|
+
return {
|
|
1377
|
+
isPrivacyNumber: 'boolean',
|
|
1378
|
+
};
|
|
1379
|
+
}
|
|
1380
|
+
}
|
|
1381
|
+
exports.PhoneNumberStatusForVirtualResponseBodyData = PhoneNumberStatusForVirtualResponseBodyData;
|
|
1382
|
+
class PhoneNumberStatusForVoiceResponseBodyData extends $tea.Model {
|
|
1383
|
+
constructor(map) {
|
|
1384
|
+
super(map);
|
|
1385
|
+
}
|
|
1386
|
+
static names() {
|
|
1387
|
+
return {
|
|
1388
|
+
carrier: 'Carrier',
|
|
1389
|
+
status: 'Status',
|
|
1390
|
+
};
|
|
1391
|
+
}
|
|
1392
|
+
static types() {
|
|
1393
|
+
return {
|
|
1394
|
+
carrier: 'string',
|
|
1395
|
+
status: 'string',
|
|
1396
|
+
};
|
|
1397
|
+
}
|
|
1398
|
+
}
|
|
1399
|
+
exports.PhoneNumberStatusForVoiceResponseBodyData = PhoneNumberStatusForVoiceResponseBodyData;
|
|
1400
|
+
class ThreeElementsVerificationResponseBodyData extends $tea.Model {
|
|
1401
|
+
constructor(map) {
|
|
1402
|
+
super(map);
|
|
1403
|
+
}
|
|
1404
|
+
static names() {
|
|
1405
|
+
return {
|
|
1406
|
+
basicCarrier: 'BasicCarrier',
|
|
1407
|
+
isConsistent: 'IsConsistent',
|
|
1408
|
+
};
|
|
1409
|
+
}
|
|
1410
|
+
static types() {
|
|
1411
|
+
return {
|
|
1412
|
+
basicCarrier: 'string',
|
|
1413
|
+
isConsistent: 'number',
|
|
1414
|
+
};
|
|
1415
|
+
}
|
|
1416
|
+
}
|
|
1417
|
+
exports.ThreeElementsVerificationResponseBodyData = ThreeElementsVerificationResponseBodyData;
|
|
1418
|
+
class TwoElementsVerificationResponseBodyData extends $tea.Model {
|
|
1419
|
+
constructor(map) {
|
|
1420
|
+
super(map);
|
|
1421
|
+
}
|
|
1422
|
+
static names() {
|
|
1423
|
+
return {
|
|
1424
|
+
basicCarrier: 'BasicCarrier',
|
|
1425
|
+
isConsistent: 'IsConsistent',
|
|
1426
|
+
};
|
|
1427
|
+
}
|
|
1428
|
+
static types() {
|
|
1429
|
+
return {
|
|
1430
|
+
basicCarrier: 'string',
|
|
1431
|
+
isConsistent: 'number',
|
|
1432
|
+
};
|
|
1433
|
+
}
|
|
1434
|
+
}
|
|
1435
|
+
exports.TwoElementsVerificationResponseBodyData = TwoElementsVerificationResponseBodyData;
|
|
1436
|
+
class Client extends openapi_client_1.default {
|
|
1437
|
+
constructor(config) {
|
|
1438
|
+
super(config);
|
|
1439
|
+
this._endpointRule = "central";
|
|
1440
|
+
this.checkConfig(config);
|
|
1441
|
+
this._endpoint = this.getEndpoint("dytnsapi", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
1442
|
+
}
|
|
1443
|
+
getEndpoint(productId, regionId, endpointRule, network, suffix, endpointMap, endpoint) {
|
|
922
1444
|
if (!tea_util_1.default.empty(endpoint)) {
|
|
923
1445
|
return endpoint;
|
|
924
1446
|
}
|
|
@@ -1091,6 +1613,47 @@ class Client extends openapi_client_1.default {
|
|
|
1091
1613
|
let runtime = new $Util.RuntimeOptions({});
|
|
1092
1614
|
return await this.describePhoneNumberOnlineTimeWithOptions(request, runtime);
|
|
1093
1615
|
}
|
|
1616
|
+
async describePhoneNumberOperatorAttributeWithOptions(request, runtime) {
|
|
1617
|
+
tea_util_1.default.validateModel(request);
|
|
1618
|
+
let query = {};
|
|
1619
|
+
if (!tea_util_1.default.isUnset(request.authCode)) {
|
|
1620
|
+
query["AuthCode"] = request.authCode;
|
|
1621
|
+
}
|
|
1622
|
+
if (!tea_util_1.default.isUnset(request.inputNumber)) {
|
|
1623
|
+
query["InputNumber"] = request.inputNumber;
|
|
1624
|
+
}
|
|
1625
|
+
if (!tea_util_1.default.isUnset(request.mask)) {
|
|
1626
|
+
query["Mask"] = request.mask;
|
|
1627
|
+
}
|
|
1628
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
1629
|
+
query["OwnerId"] = request.ownerId;
|
|
1630
|
+
}
|
|
1631
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
1632
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
1633
|
+
}
|
|
1634
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
1635
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
1636
|
+
}
|
|
1637
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
1638
|
+
query: openapi_util_1.default.query(query),
|
|
1639
|
+
});
|
|
1640
|
+
let params = new $OpenApi.Params({
|
|
1641
|
+
action: "DescribePhoneNumberOperatorAttribute",
|
|
1642
|
+
version: "2020-02-17",
|
|
1643
|
+
protocol: "HTTPS",
|
|
1644
|
+
pathname: "/",
|
|
1645
|
+
method: "POST",
|
|
1646
|
+
authType: "AK",
|
|
1647
|
+
style: "RPC",
|
|
1648
|
+
reqBodyType: "formData",
|
|
1649
|
+
bodyType: "json",
|
|
1650
|
+
});
|
|
1651
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribePhoneNumberOperatorAttributeResponse({}));
|
|
1652
|
+
}
|
|
1653
|
+
async describePhoneNumberOperatorAttribute(request) {
|
|
1654
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
1655
|
+
return await this.describePhoneNumberOperatorAttributeWithOptions(request, runtime);
|
|
1656
|
+
}
|
|
1094
1657
|
async describePhoneNumberResaleWithOptions(request, runtime) {
|
|
1095
1658
|
tea_util_1.default.validateModel(request);
|
|
1096
1659
|
let query = {};
|
|
@@ -1246,6 +1809,211 @@ class Client extends openapi_client_1.default {
|
|
|
1246
1809
|
let runtime = new $Util.RuntimeOptions({});
|
|
1247
1810
|
return await this.phoneNumberEncryptWithOptions(request, runtime);
|
|
1248
1811
|
}
|
|
1812
|
+
async phoneNumberStatusForAccountWithOptions(request, runtime) {
|
|
1813
|
+
tea_util_1.default.validateModel(request);
|
|
1814
|
+
let query = {};
|
|
1815
|
+
if (!tea_util_1.default.isUnset(request.authCode)) {
|
|
1816
|
+
query["AuthCode"] = request.authCode;
|
|
1817
|
+
}
|
|
1818
|
+
if (!tea_util_1.default.isUnset(request.inputNumber)) {
|
|
1819
|
+
query["InputNumber"] = request.inputNumber;
|
|
1820
|
+
}
|
|
1821
|
+
if (!tea_util_1.default.isUnset(request.mask)) {
|
|
1822
|
+
query["Mask"] = request.mask;
|
|
1823
|
+
}
|
|
1824
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
1825
|
+
query["OwnerId"] = request.ownerId;
|
|
1826
|
+
}
|
|
1827
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
1828
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
1829
|
+
}
|
|
1830
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
1831
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
1832
|
+
}
|
|
1833
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
1834
|
+
query: openapi_util_1.default.query(query),
|
|
1835
|
+
});
|
|
1836
|
+
let params = new $OpenApi.Params({
|
|
1837
|
+
action: "PhoneNumberStatusForAccount",
|
|
1838
|
+
version: "2020-02-17",
|
|
1839
|
+
protocol: "HTTPS",
|
|
1840
|
+
pathname: "/",
|
|
1841
|
+
method: "POST",
|
|
1842
|
+
authType: "AK",
|
|
1843
|
+
style: "RPC",
|
|
1844
|
+
reqBodyType: "formData",
|
|
1845
|
+
bodyType: "json",
|
|
1846
|
+
});
|
|
1847
|
+
return $tea.cast(await this.callApi(params, req, runtime), new PhoneNumberStatusForAccountResponse({}));
|
|
1848
|
+
}
|
|
1849
|
+
async phoneNumberStatusForAccount(request) {
|
|
1850
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
1851
|
+
return await this.phoneNumberStatusForAccountWithOptions(request, runtime);
|
|
1852
|
+
}
|
|
1853
|
+
async phoneNumberStatusForRealWithOptions(request, runtime) {
|
|
1854
|
+
tea_util_1.default.validateModel(request);
|
|
1855
|
+
let query = {};
|
|
1856
|
+
if (!tea_util_1.default.isUnset(request.authCode)) {
|
|
1857
|
+
query["AuthCode"] = request.authCode;
|
|
1858
|
+
}
|
|
1859
|
+
if (!tea_util_1.default.isUnset(request.inputNumber)) {
|
|
1860
|
+
query["InputNumber"] = request.inputNumber;
|
|
1861
|
+
}
|
|
1862
|
+
if (!tea_util_1.default.isUnset(request.mask)) {
|
|
1863
|
+
query["Mask"] = request.mask;
|
|
1864
|
+
}
|
|
1865
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
1866
|
+
query["OwnerId"] = request.ownerId;
|
|
1867
|
+
}
|
|
1868
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
1869
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
1870
|
+
}
|
|
1871
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
1872
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
1873
|
+
}
|
|
1874
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
1875
|
+
query: openapi_util_1.default.query(query),
|
|
1876
|
+
});
|
|
1877
|
+
let params = new $OpenApi.Params({
|
|
1878
|
+
action: "PhoneNumberStatusForReal",
|
|
1879
|
+
version: "2020-02-17",
|
|
1880
|
+
protocol: "HTTPS",
|
|
1881
|
+
pathname: "/",
|
|
1882
|
+
method: "POST",
|
|
1883
|
+
authType: "AK",
|
|
1884
|
+
style: "RPC",
|
|
1885
|
+
reqBodyType: "formData",
|
|
1886
|
+
bodyType: "json",
|
|
1887
|
+
});
|
|
1888
|
+
return $tea.cast(await this.callApi(params, req, runtime), new PhoneNumberStatusForRealResponse({}));
|
|
1889
|
+
}
|
|
1890
|
+
async phoneNumberStatusForReal(request) {
|
|
1891
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
1892
|
+
return await this.phoneNumberStatusForRealWithOptions(request, runtime);
|
|
1893
|
+
}
|
|
1894
|
+
async phoneNumberStatusForSmsWithOptions(request, runtime) {
|
|
1895
|
+
tea_util_1.default.validateModel(request);
|
|
1896
|
+
let query = {};
|
|
1897
|
+
if (!tea_util_1.default.isUnset(request.authCode)) {
|
|
1898
|
+
query["AuthCode"] = request.authCode;
|
|
1899
|
+
}
|
|
1900
|
+
if (!tea_util_1.default.isUnset(request.inputNumber)) {
|
|
1901
|
+
query["InputNumber"] = request.inputNumber;
|
|
1902
|
+
}
|
|
1903
|
+
if (!tea_util_1.default.isUnset(request.mask)) {
|
|
1904
|
+
query["Mask"] = request.mask;
|
|
1905
|
+
}
|
|
1906
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
1907
|
+
query["OwnerId"] = request.ownerId;
|
|
1908
|
+
}
|
|
1909
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
1910
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
1911
|
+
}
|
|
1912
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
1913
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
1914
|
+
}
|
|
1915
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
1916
|
+
query: openapi_util_1.default.query(query),
|
|
1917
|
+
});
|
|
1918
|
+
let params = new $OpenApi.Params({
|
|
1919
|
+
action: "PhoneNumberStatusForSms",
|
|
1920
|
+
version: "2020-02-17",
|
|
1921
|
+
protocol: "HTTPS",
|
|
1922
|
+
pathname: "/",
|
|
1923
|
+
method: "POST",
|
|
1924
|
+
authType: "AK",
|
|
1925
|
+
style: "RPC",
|
|
1926
|
+
reqBodyType: "formData",
|
|
1927
|
+
bodyType: "json",
|
|
1928
|
+
});
|
|
1929
|
+
return $tea.cast(await this.callApi(params, req, runtime), new PhoneNumberStatusForSmsResponse({}));
|
|
1930
|
+
}
|
|
1931
|
+
async phoneNumberStatusForSms(request) {
|
|
1932
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
1933
|
+
return await this.phoneNumberStatusForSmsWithOptions(request, runtime);
|
|
1934
|
+
}
|
|
1935
|
+
async phoneNumberStatusForVirtualWithOptions(request, runtime) {
|
|
1936
|
+
tea_util_1.default.validateModel(request);
|
|
1937
|
+
let query = {};
|
|
1938
|
+
if (!tea_util_1.default.isUnset(request.authCode)) {
|
|
1939
|
+
query["AuthCode"] = request.authCode;
|
|
1940
|
+
}
|
|
1941
|
+
if (!tea_util_1.default.isUnset(request.inputNumber)) {
|
|
1942
|
+
query["InputNumber"] = request.inputNumber;
|
|
1943
|
+
}
|
|
1944
|
+
if (!tea_util_1.default.isUnset(request.mask)) {
|
|
1945
|
+
query["Mask"] = request.mask;
|
|
1946
|
+
}
|
|
1947
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
1948
|
+
query["OwnerId"] = request.ownerId;
|
|
1949
|
+
}
|
|
1950
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
1951
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
1952
|
+
}
|
|
1953
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
1954
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
1955
|
+
}
|
|
1956
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
1957
|
+
query: openapi_util_1.default.query(query),
|
|
1958
|
+
});
|
|
1959
|
+
let params = new $OpenApi.Params({
|
|
1960
|
+
action: "PhoneNumberStatusForVirtual",
|
|
1961
|
+
version: "2020-02-17",
|
|
1962
|
+
protocol: "HTTPS",
|
|
1963
|
+
pathname: "/",
|
|
1964
|
+
method: "POST",
|
|
1965
|
+
authType: "AK",
|
|
1966
|
+
style: "RPC",
|
|
1967
|
+
reqBodyType: "formData",
|
|
1968
|
+
bodyType: "json",
|
|
1969
|
+
});
|
|
1970
|
+
return $tea.cast(await this.callApi(params, req, runtime), new PhoneNumberStatusForVirtualResponse({}));
|
|
1971
|
+
}
|
|
1972
|
+
async phoneNumberStatusForVirtual(request) {
|
|
1973
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
1974
|
+
return await this.phoneNumberStatusForVirtualWithOptions(request, runtime);
|
|
1975
|
+
}
|
|
1976
|
+
async phoneNumberStatusForVoiceWithOptions(request, runtime) {
|
|
1977
|
+
tea_util_1.default.validateModel(request);
|
|
1978
|
+
let query = {};
|
|
1979
|
+
if (!tea_util_1.default.isUnset(request.authCode)) {
|
|
1980
|
+
query["AuthCode"] = request.authCode;
|
|
1981
|
+
}
|
|
1982
|
+
if (!tea_util_1.default.isUnset(request.inputNumber)) {
|
|
1983
|
+
query["InputNumber"] = request.inputNumber;
|
|
1984
|
+
}
|
|
1985
|
+
if (!tea_util_1.default.isUnset(request.mask)) {
|
|
1986
|
+
query["Mask"] = request.mask;
|
|
1987
|
+
}
|
|
1988
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
1989
|
+
query["OwnerId"] = request.ownerId;
|
|
1990
|
+
}
|
|
1991
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
1992
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
1993
|
+
}
|
|
1994
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
1995
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
1996
|
+
}
|
|
1997
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
1998
|
+
query: openapi_util_1.default.query(query),
|
|
1999
|
+
});
|
|
2000
|
+
let params = new $OpenApi.Params({
|
|
2001
|
+
action: "PhoneNumberStatusForVoice",
|
|
2002
|
+
version: "2020-02-17",
|
|
2003
|
+
protocol: "HTTPS",
|
|
2004
|
+
pathname: "/",
|
|
2005
|
+
method: "POST",
|
|
2006
|
+
authType: "AK",
|
|
2007
|
+
style: "RPC",
|
|
2008
|
+
reqBodyType: "formData",
|
|
2009
|
+
bodyType: "json",
|
|
2010
|
+
});
|
|
2011
|
+
return $tea.cast(await this.callApi(params, req, runtime), new PhoneNumberStatusForVoiceResponse({}));
|
|
2012
|
+
}
|
|
2013
|
+
async phoneNumberStatusForVoice(request) {
|
|
2014
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
2015
|
+
return await this.phoneNumberStatusForVoiceWithOptions(request, runtime);
|
|
2016
|
+
}
|
|
1249
2017
|
async pvrCallbackFCUWithOptions(runtime) {
|
|
1250
2018
|
let req = new $OpenApi.OpenApiRequest({});
|
|
1251
2019
|
let params = new $OpenApi.Params({
|