@alicloud/dytnsapi20200217 1.0.11 → 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 +314 -0
- package/dist/client.js +633 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +815 -28
package/src/client.ts
CHANGED
|
@@ -782,6 +782,441 @@ export class PhoneNumberEncryptResponse extends $tea.Model {
|
|
|
782
782
|
}
|
|
783
783
|
}
|
|
784
784
|
|
|
785
|
+
export class PhoneNumberStatusForAccountRequest extends $tea.Model {
|
|
786
|
+
authCode?: string;
|
|
787
|
+
inputNumber?: string;
|
|
788
|
+
mask?: string;
|
|
789
|
+
ownerId?: number;
|
|
790
|
+
resourceOwnerAccount?: string;
|
|
791
|
+
resourceOwnerId?: number;
|
|
792
|
+
static names(): { [key: string]: string } {
|
|
793
|
+
return {
|
|
794
|
+
authCode: 'AuthCode',
|
|
795
|
+
inputNumber: 'InputNumber',
|
|
796
|
+
mask: 'Mask',
|
|
797
|
+
ownerId: 'OwnerId',
|
|
798
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
799
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
800
|
+
};
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
static types(): { [key: string]: any } {
|
|
804
|
+
return {
|
|
805
|
+
authCode: 'string',
|
|
806
|
+
inputNumber: 'string',
|
|
807
|
+
mask: 'string',
|
|
808
|
+
ownerId: 'number',
|
|
809
|
+
resourceOwnerAccount: 'string',
|
|
810
|
+
resourceOwnerId: 'number',
|
|
811
|
+
};
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
constructor(map?: { [key: string]: any }) {
|
|
815
|
+
super(map);
|
|
816
|
+
}
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
export class PhoneNumberStatusForAccountResponseBody extends $tea.Model {
|
|
820
|
+
code?: string;
|
|
821
|
+
data?: PhoneNumberStatusForAccountResponseBodyData;
|
|
822
|
+
message?: string;
|
|
823
|
+
requestId?: string;
|
|
824
|
+
static names(): { [key: string]: string } {
|
|
825
|
+
return {
|
|
826
|
+
code: 'Code',
|
|
827
|
+
data: 'Data',
|
|
828
|
+
message: 'Message',
|
|
829
|
+
requestId: 'RequestId',
|
|
830
|
+
};
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
static types(): { [key: string]: any } {
|
|
834
|
+
return {
|
|
835
|
+
code: 'string',
|
|
836
|
+
data: PhoneNumberStatusForAccountResponseBodyData,
|
|
837
|
+
message: 'string',
|
|
838
|
+
requestId: 'string',
|
|
839
|
+
};
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
constructor(map?: { [key: string]: any }) {
|
|
843
|
+
super(map);
|
|
844
|
+
}
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
export class PhoneNumberStatusForAccountResponse extends $tea.Model {
|
|
848
|
+
headers: { [key: string]: string };
|
|
849
|
+
statusCode: number;
|
|
850
|
+
body: PhoneNumberStatusForAccountResponseBody;
|
|
851
|
+
static names(): { [key: string]: string } {
|
|
852
|
+
return {
|
|
853
|
+
headers: 'headers',
|
|
854
|
+
statusCode: 'statusCode',
|
|
855
|
+
body: 'body',
|
|
856
|
+
};
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
static types(): { [key: string]: any } {
|
|
860
|
+
return {
|
|
861
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
862
|
+
statusCode: 'number',
|
|
863
|
+
body: PhoneNumberStatusForAccountResponseBody,
|
|
864
|
+
};
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
constructor(map?: { [key: string]: any }) {
|
|
868
|
+
super(map);
|
|
869
|
+
}
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
export class PhoneNumberStatusForRealRequest extends $tea.Model {
|
|
873
|
+
authCode?: string;
|
|
874
|
+
inputNumber?: string;
|
|
875
|
+
mask?: string;
|
|
876
|
+
ownerId?: number;
|
|
877
|
+
resourceOwnerAccount?: string;
|
|
878
|
+
resourceOwnerId?: number;
|
|
879
|
+
static names(): { [key: string]: string } {
|
|
880
|
+
return {
|
|
881
|
+
authCode: 'AuthCode',
|
|
882
|
+
inputNumber: 'InputNumber',
|
|
883
|
+
mask: 'Mask',
|
|
884
|
+
ownerId: 'OwnerId',
|
|
885
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
886
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
887
|
+
};
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
static types(): { [key: string]: any } {
|
|
891
|
+
return {
|
|
892
|
+
authCode: 'string',
|
|
893
|
+
inputNumber: 'string',
|
|
894
|
+
mask: 'string',
|
|
895
|
+
ownerId: 'number',
|
|
896
|
+
resourceOwnerAccount: 'string',
|
|
897
|
+
resourceOwnerId: 'number',
|
|
898
|
+
};
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
constructor(map?: { [key: string]: any }) {
|
|
902
|
+
super(map);
|
|
903
|
+
}
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
export class PhoneNumberStatusForRealResponseBody extends $tea.Model {
|
|
907
|
+
code?: string;
|
|
908
|
+
data?: PhoneNumberStatusForRealResponseBodyData;
|
|
909
|
+
message?: string;
|
|
910
|
+
requestId?: string;
|
|
911
|
+
static names(): { [key: string]: string } {
|
|
912
|
+
return {
|
|
913
|
+
code: 'Code',
|
|
914
|
+
data: 'Data',
|
|
915
|
+
message: 'Message',
|
|
916
|
+
requestId: 'RequestId',
|
|
917
|
+
};
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
static types(): { [key: string]: any } {
|
|
921
|
+
return {
|
|
922
|
+
code: 'string',
|
|
923
|
+
data: PhoneNumberStatusForRealResponseBodyData,
|
|
924
|
+
message: 'string',
|
|
925
|
+
requestId: 'string',
|
|
926
|
+
};
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
constructor(map?: { [key: string]: any }) {
|
|
930
|
+
super(map);
|
|
931
|
+
}
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
export class PhoneNumberStatusForRealResponse extends $tea.Model {
|
|
935
|
+
headers: { [key: string]: string };
|
|
936
|
+
statusCode: number;
|
|
937
|
+
body: PhoneNumberStatusForRealResponseBody;
|
|
938
|
+
static names(): { [key: string]: string } {
|
|
939
|
+
return {
|
|
940
|
+
headers: 'headers',
|
|
941
|
+
statusCode: 'statusCode',
|
|
942
|
+
body: 'body',
|
|
943
|
+
};
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
static types(): { [key: string]: any } {
|
|
947
|
+
return {
|
|
948
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
949
|
+
statusCode: 'number',
|
|
950
|
+
body: PhoneNumberStatusForRealResponseBody,
|
|
951
|
+
};
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
constructor(map?: { [key: string]: any }) {
|
|
955
|
+
super(map);
|
|
956
|
+
}
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
export class PhoneNumberStatusForSmsRequest extends $tea.Model {
|
|
960
|
+
authCode?: string;
|
|
961
|
+
inputNumber?: string;
|
|
962
|
+
mask?: string;
|
|
963
|
+
ownerId?: number;
|
|
964
|
+
resourceOwnerAccount?: string;
|
|
965
|
+
resourceOwnerId?: number;
|
|
966
|
+
static names(): { [key: string]: string } {
|
|
967
|
+
return {
|
|
968
|
+
authCode: 'AuthCode',
|
|
969
|
+
inputNumber: 'InputNumber',
|
|
970
|
+
mask: 'Mask',
|
|
971
|
+
ownerId: 'OwnerId',
|
|
972
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
973
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
974
|
+
};
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
static types(): { [key: string]: any } {
|
|
978
|
+
return {
|
|
979
|
+
authCode: 'string',
|
|
980
|
+
inputNumber: 'string',
|
|
981
|
+
mask: 'string',
|
|
982
|
+
ownerId: 'number',
|
|
983
|
+
resourceOwnerAccount: 'string',
|
|
984
|
+
resourceOwnerId: 'number',
|
|
985
|
+
};
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
constructor(map?: { [key: string]: any }) {
|
|
989
|
+
super(map);
|
|
990
|
+
}
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
export class PhoneNumberStatusForSmsResponseBody extends $tea.Model {
|
|
994
|
+
code?: string;
|
|
995
|
+
data?: PhoneNumberStatusForSmsResponseBodyData;
|
|
996
|
+
message?: string;
|
|
997
|
+
requestId?: string;
|
|
998
|
+
static names(): { [key: string]: string } {
|
|
999
|
+
return {
|
|
1000
|
+
code: 'Code',
|
|
1001
|
+
data: 'Data',
|
|
1002
|
+
message: 'Message',
|
|
1003
|
+
requestId: 'RequestId',
|
|
1004
|
+
};
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
static types(): { [key: string]: any } {
|
|
1008
|
+
return {
|
|
1009
|
+
code: 'string',
|
|
1010
|
+
data: PhoneNumberStatusForSmsResponseBodyData,
|
|
1011
|
+
message: 'string',
|
|
1012
|
+
requestId: 'string',
|
|
1013
|
+
};
|
|
1014
|
+
}
|
|
1015
|
+
|
|
1016
|
+
constructor(map?: { [key: string]: any }) {
|
|
1017
|
+
super(map);
|
|
1018
|
+
}
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
export class PhoneNumberStatusForSmsResponse extends $tea.Model {
|
|
1022
|
+
headers: { [key: string]: string };
|
|
1023
|
+
statusCode: number;
|
|
1024
|
+
body: PhoneNumberStatusForSmsResponseBody;
|
|
1025
|
+
static names(): { [key: string]: string } {
|
|
1026
|
+
return {
|
|
1027
|
+
headers: 'headers',
|
|
1028
|
+
statusCode: 'statusCode',
|
|
1029
|
+
body: 'body',
|
|
1030
|
+
};
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1033
|
+
static types(): { [key: string]: any } {
|
|
1034
|
+
return {
|
|
1035
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1036
|
+
statusCode: 'number',
|
|
1037
|
+
body: PhoneNumberStatusForSmsResponseBody,
|
|
1038
|
+
};
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
constructor(map?: { [key: string]: any }) {
|
|
1042
|
+
super(map);
|
|
1043
|
+
}
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
export class PhoneNumberStatusForVirtualRequest extends $tea.Model {
|
|
1047
|
+
authCode?: string;
|
|
1048
|
+
inputNumber?: string;
|
|
1049
|
+
mask?: string;
|
|
1050
|
+
ownerId?: number;
|
|
1051
|
+
resourceOwnerAccount?: string;
|
|
1052
|
+
resourceOwnerId?: number;
|
|
1053
|
+
static names(): { [key: string]: string } {
|
|
1054
|
+
return {
|
|
1055
|
+
authCode: 'AuthCode',
|
|
1056
|
+
inputNumber: 'InputNumber',
|
|
1057
|
+
mask: 'Mask',
|
|
1058
|
+
ownerId: 'OwnerId',
|
|
1059
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
1060
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
1061
|
+
};
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
static types(): { [key: string]: any } {
|
|
1065
|
+
return {
|
|
1066
|
+
authCode: 'string',
|
|
1067
|
+
inputNumber: 'string',
|
|
1068
|
+
mask: 'string',
|
|
1069
|
+
ownerId: 'number',
|
|
1070
|
+
resourceOwnerAccount: 'string',
|
|
1071
|
+
resourceOwnerId: 'number',
|
|
1072
|
+
};
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
constructor(map?: { [key: string]: any }) {
|
|
1076
|
+
super(map);
|
|
1077
|
+
}
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
export class PhoneNumberStatusForVirtualResponseBody extends $tea.Model {
|
|
1081
|
+
code?: string;
|
|
1082
|
+
data?: PhoneNumberStatusForVirtualResponseBodyData;
|
|
1083
|
+
message?: string;
|
|
1084
|
+
requestId?: string;
|
|
1085
|
+
static names(): { [key: string]: string } {
|
|
1086
|
+
return {
|
|
1087
|
+
code: 'Code',
|
|
1088
|
+
data: 'Data',
|
|
1089
|
+
message: 'Message',
|
|
1090
|
+
requestId: 'RequestId',
|
|
1091
|
+
};
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
static types(): { [key: string]: any } {
|
|
1095
|
+
return {
|
|
1096
|
+
code: 'string',
|
|
1097
|
+
data: PhoneNumberStatusForVirtualResponseBodyData,
|
|
1098
|
+
message: 'string',
|
|
1099
|
+
requestId: 'string',
|
|
1100
|
+
};
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1103
|
+
constructor(map?: { [key: string]: any }) {
|
|
1104
|
+
super(map);
|
|
1105
|
+
}
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
export class PhoneNumberStatusForVirtualResponse extends $tea.Model {
|
|
1109
|
+
headers: { [key: string]: string };
|
|
1110
|
+
statusCode: number;
|
|
1111
|
+
body: PhoneNumberStatusForVirtualResponseBody;
|
|
1112
|
+
static names(): { [key: string]: string } {
|
|
1113
|
+
return {
|
|
1114
|
+
headers: 'headers',
|
|
1115
|
+
statusCode: 'statusCode',
|
|
1116
|
+
body: 'body',
|
|
1117
|
+
};
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
static types(): { [key: string]: any } {
|
|
1121
|
+
return {
|
|
1122
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1123
|
+
statusCode: 'number',
|
|
1124
|
+
body: PhoneNumberStatusForVirtualResponseBody,
|
|
1125
|
+
};
|
|
1126
|
+
}
|
|
1127
|
+
|
|
1128
|
+
constructor(map?: { [key: string]: any }) {
|
|
1129
|
+
super(map);
|
|
1130
|
+
}
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
export class PhoneNumberStatusForVoiceRequest extends $tea.Model {
|
|
1134
|
+
authCode?: string;
|
|
1135
|
+
inputNumber?: string;
|
|
1136
|
+
mask?: string;
|
|
1137
|
+
ownerId?: number;
|
|
1138
|
+
resourceOwnerAccount?: string;
|
|
1139
|
+
resourceOwnerId?: number;
|
|
1140
|
+
static names(): { [key: string]: string } {
|
|
1141
|
+
return {
|
|
1142
|
+
authCode: 'AuthCode',
|
|
1143
|
+
inputNumber: 'InputNumber',
|
|
1144
|
+
mask: 'Mask',
|
|
1145
|
+
ownerId: 'OwnerId',
|
|
1146
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
1147
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
1148
|
+
};
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
static types(): { [key: string]: any } {
|
|
1152
|
+
return {
|
|
1153
|
+
authCode: 'string',
|
|
1154
|
+
inputNumber: 'string',
|
|
1155
|
+
mask: 'string',
|
|
1156
|
+
ownerId: 'number',
|
|
1157
|
+
resourceOwnerAccount: 'string',
|
|
1158
|
+
resourceOwnerId: 'number',
|
|
1159
|
+
};
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
constructor(map?: { [key: string]: any }) {
|
|
1163
|
+
super(map);
|
|
1164
|
+
}
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
export class PhoneNumberStatusForVoiceResponseBody extends $tea.Model {
|
|
1168
|
+
code?: string;
|
|
1169
|
+
data?: PhoneNumberStatusForVoiceResponseBodyData;
|
|
1170
|
+
message?: string;
|
|
1171
|
+
requestId?: string;
|
|
1172
|
+
static names(): { [key: string]: string } {
|
|
1173
|
+
return {
|
|
1174
|
+
code: 'Code',
|
|
1175
|
+
data: 'Data',
|
|
1176
|
+
message: 'Message',
|
|
1177
|
+
requestId: 'RequestId',
|
|
1178
|
+
};
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
static types(): { [key: string]: any } {
|
|
1182
|
+
return {
|
|
1183
|
+
code: 'string',
|
|
1184
|
+
data: PhoneNumberStatusForVoiceResponseBodyData,
|
|
1185
|
+
message: 'string',
|
|
1186
|
+
requestId: 'string',
|
|
1187
|
+
};
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
constructor(map?: { [key: string]: any }) {
|
|
1191
|
+
super(map);
|
|
1192
|
+
}
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1195
|
+
export class PhoneNumberStatusForVoiceResponse extends $tea.Model {
|
|
1196
|
+
headers: { [key: string]: string };
|
|
1197
|
+
statusCode: number;
|
|
1198
|
+
body: PhoneNumberStatusForVoiceResponseBody;
|
|
1199
|
+
static names(): { [key: string]: string } {
|
|
1200
|
+
return {
|
|
1201
|
+
headers: 'headers',
|
|
1202
|
+
statusCode: 'statusCode',
|
|
1203
|
+
body: 'body',
|
|
1204
|
+
};
|
|
1205
|
+
}
|
|
1206
|
+
|
|
1207
|
+
static types(): { [key: string]: any } {
|
|
1208
|
+
return {
|
|
1209
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1210
|
+
statusCode: 'number',
|
|
1211
|
+
body: PhoneNumberStatusForVoiceResponseBody,
|
|
1212
|
+
};
|
|
1213
|
+
}
|
|
1214
|
+
|
|
1215
|
+
constructor(map?: { [key: string]: any }) {
|
|
1216
|
+
super(map);
|
|
1217
|
+
}
|
|
1218
|
+
}
|
|
1219
|
+
|
|
785
1220
|
export class PvrCallbackFCUResponse extends $tea.Model {
|
|
786
1221
|
headers: { [key: string]: string };
|
|
787
1222
|
statusCode: number;
|
|
@@ -1131,7 +1566,129 @@ export class DescribePhoneNumberResaleResponseBodyTwiceTelVerify extends $tea.Mo
|
|
|
1131
1566
|
static types(): { [key: string]: any } {
|
|
1132
1567
|
return {
|
|
1133
1568
|
carrier: 'string',
|
|
1134
|
-
verifyResult: 'number',
|
|
1569
|
+
verifyResult: 'number',
|
|
1570
|
+
};
|
|
1571
|
+
}
|
|
1572
|
+
|
|
1573
|
+
constructor(map?: { [key: string]: any }) {
|
|
1574
|
+
super(map);
|
|
1575
|
+
}
|
|
1576
|
+
}
|
|
1577
|
+
|
|
1578
|
+
export class DescribePhoneNumberStatusResponseBodyPhoneStatus extends $tea.Model {
|
|
1579
|
+
carrier?: string;
|
|
1580
|
+
serialId?: string;
|
|
1581
|
+
status?: string;
|
|
1582
|
+
static names(): { [key: string]: string } {
|
|
1583
|
+
return {
|
|
1584
|
+
carrier: 'Carrier',
|
|
1585
|
+
serialId: 'SerialId',
|
|
1586
|
+
status: 'Status',
|
|
1587
|
+
};
|
|
1588
|
+
}
|
|
1589
|
+
|
|
1590
|
+
static types(): { [key: string]: any } {
|
|
1591
|
+
return {
|
|
1592
|
+
carrier: 'string',
|
|
1593
|
+
serialId: 'string',
|
|
1594
|
+
status: 'string',
|
|
1595
|
+
};
|
|
1596
|
+
}
|
|
1597
|
+
|
|
1598
|
+
constructor(map?: { [key: string]: any }) {
|
|
1599
|
+
super(map);
|
|
1600
|
+
}
|
|
1601
|
+
}
|
|
1602
|
+
|
|
1603
|
+
export class InvalidPhoneNumberFilterResponseBodyData extends $tea.Model {
|
|
1604
|
+
code?: string;
|
|
1605
|
+
encryptedNumber?: string;
|
|
1606
|
+
expireTime?: string;
|
|
1607
|
+
originalNumber?: string;
|
|
1608
|
+
static names(): { [key: string]: string } {
|
|
1609
|
+
return {
|
|
1610
|
+
code: 'Code',
|
|
1611
|
+
encryptedNumber: 'EncryptedNumber',
|
|
1612
|
+
expireTime: 'ExpireTime',
|
|
1613
|
+
originalNumber: 'OriginalNumber',
|
|
1614
|
+
};
|
|
1615
|
+
}
|
|
1616
|
+
|
|
1617
|
+
static types(): { [key: string]: any } {
|
|
1618
|
+
return {
|
|
1619
|
+
code: 'string',
|
|
1620
|
+
encryptedNumber: 'string',
|
|
1621
|
+
expireTime: 'string',
|
|
1622
|
+
originalNumber: 'string',
|
|
1623
|
+
};
|
|
1624
|
+
}
|
|
1625
|
+
|
|
1626
|
+
constructor(map?: { [key: string]: any }) {
|
|
1627
|
+
super(map);
|
|
1628
|
+
}
|
|
1629
|
+
}
|
|
1630
|
+
|
|
1631
|
+
export class PhoneNumberEncryptResponseBodyData extends $tea.Model {
|
|
1632
|
+
encryptedNumber?: string;
|
|
1633
|
+
expireTime?: string;
|
|
1634
|
+
originalNumber?: string;
|
|
1635
|
+
static names(): { [key: string]: string } {
|
|
1636
|
+
return {
|
|
1637
|
+
encryptedNumber: 'EncryptedNumber',
|
|
1638
|
+
expireTime: 'ExpireTime',
|
|
1639
|
+
originalNumber: 'OriginalNumber',
|
|
1640
|
+
};
|
|
1641
|
+
}
|
|
1642
|
+
|
|
1643
|
+
static types(): { [key: string]: any } {
|
|
1644
|
+
return {
|
|
1645
|
+
encryptedNumber: 'string',
|
|
1646
|
+
expireTime: 'string',
|
|
1647
|
+
originalNumber: 'string',
|
|
1648
|
+
};
|
|
1649
|
+
}
|
|
1650
|
+
|
|
1651
|
+
constructor(map?: { [key: string]: any }) {
|
|
1652
|
+
super(map);
|
|
1653
|
+
}
|
|
1654
|
+
}
|
|
1655
|
+
|
|
1656
|
+
export class PhoneNumberStatusForAccountResponseBodyData extends $tea.Model {
|
|
1657
|
+
carrier?: string;
|
|
1658
|
+
status?: string;
|
|
1659
|
+
static names(): { [key: string]: string } {
|
|
1660
|
+
return {
|
|
1661
|
+
carrier: 'Carrier',
|
|
1662
|
+
status: 'Status',
|
|
1663
|
+
};
|
|
1664
|
+
}
|
|
1665
|
+
|
|
1666
|
+
static types(): { [key: string]: any } {
|
|
1667
|
+
return {
|
|
1668
|
+
carrier: 'string',
|
|
1669
|
+
status: 'string',
|
|
1670
|
+
};
|
|
1671
|
+
}
|
|
1672
|
+
|
|
1673
|
+
constructor(map?: { [key: string]: any }) {
|
|
1674
|
+
super(map);
|
|
1675
|
+
}
|
|
1676
|
+
}
|
|
1677
|
+
|
|
1678
|
+
export class PhoneNumberStatusForRealResponseBodyData extends $tea.Model {
|
|
1679
|
+
carrier?: string;
|
|
1680
|
+
status?: string;
|
|
1681
|
+
static names(): { [key: string]: string } {
|
|
1682
|
+
return {
|
|
1683
|
+
carrier: 'Carrier',
|
|
1684
|
+
status: 'Status',
|
|
1685
|
+
};
|
|
1686
|
+
}
|
|
1687
|
+
|
|
1688
|
+
static types(): { [key: string]: any } {
|
|
1689
|
+
return {
|
|
1690
|
+
carrier: 'string',
|
|
1691
|
+
status: 'string',
|
|
1135
1692
|
};
|
|
1136
1693
|
}
|
|
1137
1694
|
|
|
@@ -1140,14 +1697,12 @@ export class DescribePhoneNumberResaleResponseBodyTwiceTelVerify extends $tea.Mo
|
|
|
1140
1697
|
}
|
|
1141
1698
|
}
|
|
1142
1699
|
|
|
1143
|
-
export class
|
|
1700
|
+
export class PhoneNumberStatusForSmsResponseBodyData extends $tea.Model {
|
|
1144
1701
|
carrier?: string;
|
|
1145
|
-
serialId?: string;
|
|
1146
1702
|
status?: string;
|
|
1147
1703
|
static names(): { [key: string]: string } {
|
|
1148
1704
|
return {
|
|
1149
1705
|
carrier: 'Carrier',
|
|
1150
|
-
serialId: 'SerialId',
|
|
1151
1706
|
status: 'Status',
|
|
1152
1707
|
};
|
|
1153
1708
|
}
|
|
@@ -1155,7 +1710,6 @@ export class DescribePhoneNumberStatusResponseBodyPhoneStatus extends $tea.Model
|
|
|
1155
1710
|
static types(): { [key: string]: any } {
|
|
1156
1711
|
return {
|
|
1157
1712
|
carrier: 'string',
|
|
1158
|
-
serialId: 'string',
|
|
1159
1713
|
status: 'string',
|
|
1160
1714
|
};
|
|
1161
1715
|
}
|
|
@@ -1165,26 +1719,17 @@ export class DescribePhoneNumberStatusResponseBodyPhoneStatus extends $tea.Model
|
|
|
1165
1719
|
}
|
|
1166
1720
|
}
|
|
1167
1721
|
|
|
1168
|
-
export class
|
|
1169
|
-
|
|
1170
|
-
encryptedNumber?: string;
|
|
1171
|
-
expireTime?: string;
|
|
1172
|
-
originalNumber?: string;
|
|
1722
|
+
export class PhoneNumberStatusForVirtualResponseBodyData extends $tea.Model {
|
|
1723
|
+
isPrivacyNumber?: boolean;
|
|
1173
1724
|
static names(): { [key: string]: string } {
|
|
1174
1725
|
return {
|
|
1175
|
-
|
|
1176
|
-
encryptedNumber: 'EncryptedNumber',
|
|
1177
|
-
expireTime: 'ExpireTime',
|
|
1178
|
-
originalNumber: 'OriginalNumber',
|
|
1726
|
+
isPrivacyNumber: 'IsPrivacyNumber',
|
|
1179
1727
|
};
|
|
1180
1728
|
}
|
|
1181
1729
|
|
|
1182
1730
|
static types(): { [key: string]: any } {
|
|
1183
1731
|
return {
|
|
1184
|
-
|
|
1185
|
-
encryptedNumber: 'string',
|
|
1186
|
-
expireTime: 'string',
|
|
1187
|
-
originalNumber: 'string',
|
|
1732
|
+
isPrivacyNumber: 'boolean',
|
|
1188
1733
|
};
|
|
1189
1734
|
}
|
|
1190
1735
|
|
|
@@ -1193,23 +1738,20 @@ export class InvalidPhoneNumberFilterResponseBodyData extends $tea.Model {
|
|
|
1193
1738
|
}
|
|
1194
1739
|
}
|
|
1195
1740
|
|
|
1196
|
-
export class
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
originalNumber?: string;
|
|
1741
|
+
export class PhoneNumberStatusForVoiceResponseBodyData extends $tea.Model {
|
|
1742
|
+
carrier?: string;
|
|
1743
|
+
status?: string;
|
|
1200
1744
|
static names(): { [key: string]: string } {
|
|
1201
1745
|
return {
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
originalNumber: 'OriginalNumber',
|
|
1746
|
+
carrier: 'Carrier',
|
|
1747
|
+
status: 'Status',
|
|
1205
1748
|
};
|
|
1206
1749
|
}
|
|
1207
1750
|
|
|
1208
1751
|
static types(): { [key: string]: any } {
|
|
1209
1752
|
return {
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
originalNumber: 'string',
|
|
1753
|
+
carrier: 'string',
|
|
1754
|
+
status: 'string',
|
|
1213
1755
|
};
|
|
1214
1756
|
}
|
|
1215
1757
|
|
|
@@ -1714,6 +2256,251 @@ export default class Client extends OpenApi {
|
|
|
1714
2256
|
return await this.phoneNumberEncryptWithOptions(request, runtime);
|
|
1715
2257
|
}
|
|
1716
2258
|
|
|
2259
|
+
async phoneNumberStatusForAccountWithOptions(request: PhoneNumberStatusForAccountRequest, runtime: $Util.RuntimeOptions): Promise<PhoneNumberStatusForAccountResponse> {
|
|
2260
|
+
Util.validateModel(request);
|
|
2261
|
+
let query = { };
|
|
2262
|
+
if (!Util.isUnset(request.authCode)) {
|
|
2263
|
+
query["AuthCode"] = request.authCode;
|
|
2264
|
+
}
|
|
2265
|
+
|
|
2266
|
+
if (!Util.isUnset(request.inputNumber)) {
|
|
2267
|
+
query["InputNumber"] = request.inputNumber;
|
|
2268
|
+
}
|
|
2269
|
+
|
|
2270
|
+
if (!Util.isUnset(request.mask)) {
|
|
2271
|
+
query["Mask"] = request.mask;
|
|
2272
|
+
}
|
|
2273
|
+
|
|
2274
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
2275
|
+
query["OwnerId"] = request.ownerId;
|
|
2276
|
+
}
|
|
2277
|
+
|
|
2278
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
2279
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
2280
|
+
}
|
|
2281
|
+
|
|
2282
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
2283
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
2284
|
+
}
|
|
2285
|
+
|
|
2286
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
2287
|
+
query: OpenApiUtil.query(query),
|
|
2288
|
+
});
|
|
2289
|
+
let params = new $OpenApi.Params({
|
|
2290
|
+
action: "PhoneNumberStatusForAccount",
|
|
2291
|
+
version: "2020-02-17",
|
|
2292
|
+
protocol: "HTTPS",
|
|
2293
|
+
pathname: "/",
|
|
2294
|
+
method: "POST",
|
|
2295
|
+
authType: "AK",
|
|
2296
|
+
style: "RPC",
|
|
2297
|
+
reqBodyType: "formData",
|
|
2298
|
+
bodyType: "json",
|
|
2299
|
+
});
|
|
2300
|
+
return $tea.cast<PhoneNumberStatusForAccountResponse>(await this.callApi(params, req, runtime), new PhoneNumberStatusForAccountResponse({}));
|
|
2301
|
+
}
|
|
2302
|
+
|
|
2303
|
+
async phoneNumberStatusForAccount(request: PhoneNumberStatusForAccountRequest): Promise<PhoneNumberStatusForAccountResponse> {
|
|
2304
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
2305
|
+
return await this.phoneNumberStatusForAccountWithOptions(request, runtime);
|
|
2306
|
+
}
|
|
2307
|
+
|
|
2308
|
+
async phoneNumberStatusForRealWithOptions(request: PhoneNumberStatusForRealRequest, runtime: $Util.RuntimeOptions): Promise<PhoneNumberStatusForRealResponse> {
|
|
2309
|
+
Util.validateModel(request);
|
|
2310
|
+
let query = { };
|
|
2311
|
+
if (!Util.isUnset(request.authCode)) {
|
|
2312
|
+
query["AuthCode"] = request.authCode;
|
|
2313
|
+
}
|
|
2314
|
+
|
|
2315
|
+
if (!Util.isUnset(request.inputNumber)) {
|
|
2316
|
+
query["InputNumber"] = request.inputNumber;
|
|
2317
|
+
}
|
|
2318
|
+
|
|
2319
|
+
if (!Util.isUnset(request.mask)) {
|
|
2320
|
+
query["Mask"] = request.mask;
|
|
2321
|
+
}
|
|
2322
|
+
|
|
2323
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
2324
|
+
query["OwnerId"] = request.ownerId;
|
|
2325
|
+
}
|
|
2326
|
+
|
|
2327
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
2328
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
2329
|
+
}
|
|
2330
|
+
|
|
2331
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
2332
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
2333
|
+
}
|
|
2334
|
+
|
|
2335
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
2336
|
+
query: OpenApiUtil.query(query),
|
|
2337
|
+
});
|
|
2338
|
+
let params = new $OpenApi.Params({
|
|
2339
|
+
action: "PhoneNumberStatusForReal",
|
|
2340
|
+
version: "2020-02-17",
|
|
2341
|
+
protocol: "HTTPS",
|
|
2342
|
+
pathname: "/",
|
|
2343
|
+
method: "POST",
|
|
2344
|
+
authType: "AK",
|
|
2345
|
+
style: "RPC",
|
|
2346
|
+
reqBodyType: "formData",
|
|
2347
|
+
bodyType: "json",
|
|
2348
|
+
});
|
|
2349
|
+
return $tea.cast<PhoneNumberStatusForRealResponse>(await this.callApi(params, req, runtime), new PhoneNumberStatusForRealResponse({}));
|
|
2350
|
+
}
|
|
2351
|
+
|
|
2352
|
+
async phoneNumberStatusForReal(request: PhoneNumberStatusForRealRequest): Promise<PhoneNumberStatusForRealResponse> {
|
|
2353
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
2354
|
+
return await this.phoneNumberStatusForRealWithOptions(request, runtime);
|
|
2355
|
+
}
|
|
2356
|
+
|
|
2357
|
+
async phoneNumberStatusForSmsWithOptions(request: PhoneNumberStatusForSmsRequest, runtime: $Util.RuntimeOptions): Promise<PhoneNumberStatusForSmsResponse> {
|
|
2358
|
+
Util.validateModel(request);
|
|
2359
|
+
let query = { };
|
|
2360
|
+
if (!Util.isUnset(request.authCode)) {
|
|
2361
|
+
query["AuthCode"] = request.authCode;
|
|
2362
|
+
}
|
|
2363
|
+
|
|
2364
|
+
if (!Util.isUnset(request.inputNumber)) {
|
|
2365
|
+
query["InputNumber"] = request.inputNumber;
|
|
2366
|
+
}
|
|
2367
|
+
|
|
2368
|
+
if (!Util.isUnset(request.mask)) {
|
|
2369
|
+
query["Mask"] = request.mask;
|
|
2370
|
+
}
|
|
2371
|
+
|
|
2372
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
2373
|
+
query["OwnerId"] = request.ownerId;
|
|
2374
|
+
}
|
|
2375
|
+
|
|
2376
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
2377
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
2378
|
+
}
|
|
2379
|
+
|
|
2380
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
2381
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
2382
|
+
}
|
|
2383
|
+
|
|
2384
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
2385
|
+
query: OpenApiUtil.query(query),
|
|
2386
|
+
});
|
|
2387
|
+
let params = new $OpenApi.Params({
|
|
2388
|
+
action: "PhoneNumberStatusForSms",
|
|
2389
|
+
version: "2020-02-17",
|
|
2390
|
+
protocol: "HTTPS",
|
|
2391
|
+
pathname: "/",
|
|
2392
|
+
method: "POST",
|
|
2393
|
+
authType: "AK",
|
|
2394
|
+
style: "RPC",
|
|
2395
|
+
reqBodyType: "formData",
|
|
2396
|
+
bodyType: "json",
|
|
2397
|
+
});
|
|
2398
|
+
return $tea.cast<PhoneNumberStatusForSmsResponse>(await this.callApi(params, req, runtime), new PhoneNumberStatusForSmsResponse({}));
|
|
2399
|
+
}
|
|
2400
|
+
|
|
2401
|
+
async phoneNumberStatusForSms(request: PhoneNumberStatusForSmsRequest): Promise<PhoneNumberStatusForSmsResponse> {
|
|
2402
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
2403
|
+
return await this.phoneNumberStatusForSmsWithOptions(request, runtime);
|
|
2404
|
+
}
|
|
2405
|
+
|
|
2406
|
+
async phoneNumberStatusForVirtualWithOptions(request: PhoneNumberStatusForVirtualRequest, runtime: $Util.RuntimeOptions): Promise<PhoneNumberStatusForVirtualResponse> {
|
|
2407
|
+
Util.validateModel(request);
|
|
2408
|
+
let query = { };
|
|
2409
|
+
if (!Util.isUnset(request.authCode)) {
|
|
2410
|
+
query["AuthCode"] = request.authCode;
|
|
2411
|
+
}
|
|
2412
|
+
|
|
2413
|
+
if (!Util.isUnset(request.inputNumber)) {
|
|
2414
|
+
query["InputNumber"] = request.inputNumber;
|
|
2415
|
+
}
|
|
2416
|
+
|
|
2417
|
+
if (!Util.isUnset(request.mask)) {
|
|
2418
|
+
query["Mask"] = request.mask;
|
|
2419
|
+
}
|
|
2420
|
+
|
|
2421
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
2422
|
+
query["OwnerId"] = request.ownerId;
|
|
2423
|
+
}
|
|
2424
|
+
|
|
2425
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
2426
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
2427
|
+
}
|
|
2428
|
+
|
|
2429
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
2430
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
2431
|
+
}
|
|
2432
|
+
|
|
2433
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
2434
|
+
query: OpenApiUtil.query(query),
|
|
2435
|
+
});
|
|
2436
|
+
let params = new $OpenApi.Params({
|
|
2437
|
+
action: "PhoneNumberStatusForVirtual",
|
|
2438
|
+
version: "2020-02-17",
|
|
2439
|
+
protocol: "HTTPS",
|
|
2440
|
+
pathname: "/",
|
|
2441
|
+
method: "POST",
|
|
2442
|
+
authType: "AK",
|
|
2443
|
+
style: "RPC",
|
|
2444
|
+
reqBodyType: "formData",
|
|
2445
|
+
bodyType: "json",
|
|
2446
|
+
});
|
|
2447
|
+
return $tea.cast<PhoneNumberStatusForVirtualResponse>(await this.callApi(params, req, runtime), new PhoneNumberStatusForVirtualResponse({}));
|
|
2448
|
+
}
|
|
2449
|
+
|
|
2450
|
+
async phoneNumberStatusForVirtual(request: PhoneNumberStatusForVirtualRequest): Promise<PhoneNumberStatusForVirtualResponse> {
|
|
2451
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
2452
|
+
return await this.phoneNumberStatusForVirtualWithOptions(request, runtime);
|
|
2453
|
+
}
|
|
2454
|
+
|
|
2455
|
+
async phoneNumberStatusForVoiceWithOptions(request: PhoneNumberStatusForVoiceRequest, runtime: $Util.RuntimeOptions): Promise<PhoneNumberStatusForVoiceResponse> {
|
|
2456
|
+
Util.validateModel(request);
|
|
2457
|
+
let query = { };
|
|
2458
|
+
if (!Util.isUnset(request.authCode)) {
|
|
2459
|
+
query["AuthCode"] = request.authCode;
|
|
2460
|
+
}
|
|
2461
|
+
|
|
2462
|
+
if (!Util.isUnset(request.inputNumber)) {
|
|
2463
|
+
query["InputNumber"] = request.inputNumber;
|
|
2464
|
+
}
|
|
2465
|
+
|
|
2466
|
+
if (!Util.isUnset(request.mask)) {
|
|
2467
|
+
query["Mask"] = request.mask;
|
|
2468
|
+
}
|
|
2469
|
+
|
|
2470
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
2471
|
+
query["OwnerId"] = request.ownerId;
|
|
2472
|
+
}
|
|
2473
|
+
|
|
2474
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
2475
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
2476
|
+
}
|
|
2477
|
+
|
|
2478
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
2479
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
2480
|
+
}
|
|
2481
|
+
|
|
2482
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
2483
|
+
query: OpenApiUtil.query(query),
|
|
2484
|
+
});
|
|
2485
|
+
let params = new $OpenApi.Params({
|
|
2486
|
+
action: "PhoneNumberStatusForVoice",
|
|
2487
|
+
version: "2020-02-17",
|
|
2488
|
+
protocol: "HTTPS",
|
|
2489
|
+
pathname: "/",
|
|
2490
|
+
method: "POST",
|
|
2491
|
+
authType: "AK",
|
|
2492
|
+
style: "RPC",
|
|
2493
|
+
reqBodyType: "formData",
|
|
2494
|
+
bodyType: "json",
|
|
2495
|
+
});
|
|
2496
|
+
return $tea.cast<PhoneNumberStatusForVoiceResponse>(await this.callApi(params, req, runtime), new PhoneNumberStatusForVoiceResponse({}));
|
|
2497
|
+
}
|
|
2498
|
+
|
|
2499
|
+
async phoneNumberStatusForVoice(request: PhoneNumberStatusForVoiceRequest): Promise<PhoneNumberStatusForVoiceResponse> {
|
|
2500
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
2501
|
+
return await this.phoneNumberStatusForVoiceWithOptions(request, runtime);
|
|
2502
|
+
}
|
|
2503
|
+
|
|
1717
2504
|
async pvrCallbackFCUWithOptions(runtime: $Util.RuntimeOptions): Promise<PvrCallbackFCUResponse> {
|
|
1718
2505
|
let req = new $OpenApi.OpenApiRequest({ });
|
|
1719
2506
|
let params = new $OpenApi.Params({
|