@alicloud/cloudauth20190307 2.3.0 → 2.4.0
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 +331 -0
- package/dist/client.js +945 -313
- package/dist/client.js.map +1 -1
- package/package.json +4 -4
- package/src/client.ts +848 -71
package/src/client.ts
CHANGED
|
@@ -103,6 +103,96 @@ export class AIGCFaceVerifyResponse extends $tea.Model {
|
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
+
export class BankMetaVerifyRequest extends $tea.Model {
|
|
107
|
+
bankCard?: string;
|
|
108
|
+
identifyNum?: string;
|
|
109
|
+
mobile?: string;
|
|
110
|
+
paramType?: string;
|
|
111
|
+
productType?: string;
|
|
112
|
+
userName?: string;
|
|
113
|
+
verifyMode?: string;
|
|
114
|
+
static names(): { [key: string]: string } {
|
|
115
|
+
return {
|
|
116
|
+
bankCard: 'BankCard',
|
|
117
|
+
identifyNum: 'IdentifyNum',
|
|
118
|
+
mobile: 'Mobile',
|
|
119
|
+
paramType: 'ParamType',
|
|
120
|
+
productType: 'ProductType',
|
|
121
|
+
userName: 'UserName',
|
|
122
|
+
verifyMode: 'VerifyMode',
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
static types(): { [key: string]: any } {
|
|
127
|
+
return {
|
|
128
|
+
bankCard: 'string',
|
|
129
|
+
identifyNum: 'string',
|
|
130
|
+
mobile: 'string',
|
|
131
|
+
paramType: 'string',
|
|
132
|
+
productType: 'string',
|
|
133
|
+
userName: 'string',
|
|
134
|
+
verifyMode: 'string',
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
constructor(map?: { [key: string]: any }) {
|
|
139
|
+
super(map);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export class BankMetaVerifyResponseBody extends $tea.Model {
|
|
144
|
+
code?: string;
|
|
145
|
+
message?: string;
|
|
146
|
+
requestId?: string;
|
|
147
|
+
resultObject?: BankMetaVerifyResponseBodyResultObject;
|
|
148
|
+
static names(): { [key: string]: string } {
|
|
149
|
+
return {
|
|
150
|
+
code: 'Code',
|
|
151
|
+
message: 'Message',
|
|
152
|
+
requestId: 'RequestId',
|
|
153
|
+
resultObject: 'ResultObject',
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
static types(): { [key: string]: any } {
|
|
158
|
+
return {
|
|
159
|
+
code: 'string',
|
|
160
|
+
message: 'string',
|
|
161
|
+
requestId: 'string',
|
|
162
|
+
resultObject: BankMetaVerifyResponseBodyResultObject,
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
constructor(map?: { [key: string]: any }) {
|
|
167
|
+
super(map);
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
export class BankMetaVerifyResponse extends $tea.Model {
|
|
172
|
+
headers?: { [key: string]: string };
|
|
173
|
+
statusCode?: number;
|
|
174
|
+
body?: BankMetaVerifyResponseBody;
|
|
175
|
+
static names(): { [key: string]: string } {
|
|
176
|
+
return {
|
|
177
|
+
headers: 'headers',
|
|
178
|
+
statusCode: 'statusCode',
|
|
179
|
+
body: 'body',
|
|
180
|
+
};
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
static types(): { [key: string]: any } {
|
|
184
|
+
return {
|
|
185
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
186
|
+
statusCode: 'number',
|
|
187
|
+
body: BankMetaVerifyResponseBody,
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
constructor(map?: { [key: string]: any }) {
|
|
192
|
+
super(map);
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
|
|
106
196
|
export class CompareFaceVerifyRequest extends $tea.Model {
|
|
107
197
|
crop?: string;
|
|
108
198
|
outerOrderNo?: string;
|
|
@@ -880,6 +970,108 @@ export class DescribeOssUploadTokenResponse extends $tea.Model {
|
|
|
880
970
|
}
|
|
881
971
|
}
|
|
882
972
|
|
|
973
|
+
export class DescribePageFaceVerifyDataRequest extends $tea.Model {
|
|
974
|
+
currentPage?: number;
|
|
975
|
+
endDate?: string;
|
|
976
|
+
pageSize?: number;
|
|
977
|
+
productCode?: string;
|
|
978
|
+
sceneId?: number;
|
|
979
|
+
startDate?: string;
|
|
980
|
+
static names(): { [key: string]: string } {
|
|
981
|
+
return {
|
|
982
|
+
currentPage: 'CurrentPage',
|
|
983
|
+
endDate: 'EndDate',
|
|
984
|
+
pageSize: 'PageSize',
|
|
985
|
+
productCode: 'ProductCode',
|
|
986
|
+
sceneId: 'SceneId',
|
|
987
|
+
startDate: 'StartDate',
|
|
988
|
+
};
|
|
989
|
+
}
|
|
990
|
+
|
|
991
|
+
static types(): { [key: string]: any } {
|
|
992
|
+
return {
|
|
993
|
+
currentPage: 'number',
|
|
994
|
+
endDate: 'string',
|
|
995
|
+
pageSize: 'number',
|
|
996
|
+
productCode: 'string',
|
|
997
|
+
sceneId: 'number',
|
|
998
|
+
startDate: 'string',
|
|
999
|
+
};
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
constructor(map?: { [key: string]: any }) {
|
|
1003
|
+
super(map);
|
|
1004
|
+
}
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
export class DescribePageFaceVerifyDataResponseBody extends $tea.Model {
|
|
1008
|
+
code?: string;
|
|
1009
|
+
currentPage?: string;
|
|
1010
|
+
items?: DescribePageFaceVerifyDataResponseBodyItems[];
|
|
1011
|
+
message?: string;
|
|
1012
|
+
pageSize?: string;
|
|
1013
|
+
requestId?: string;
|
|
1014
|
+
success?: string;
|
|
1015
|
+
totalCount?: string;
|
|
1016
|
+
totalPage?: string;
|
|
1017
|
+
static names(): { [key: string]: string } {
|
|
1018
|
+
return {
|
|
1019
|
+
code: 'Code',
|
|
1020
|
+
currentPage: 'CurrentPage',
|
|
1021
|
+
items: 'Items',
|
|
1022
|
+
message: 'Message',
|
|
1023
|
+
pageSize: 'PageSize',
|
|
1024
|
+
requestId: 'RequestId',
|
|
1025
|
+
success: 'Success',
|
|
1026
|
+
totalCount: 'TotalCount',
|
|
1027
|
+
totalPage: 'TotalPage',
|
|
1028
|
+
};
|
|
1029
|
+
}
|
|
1030
|
+
|
|
1031
|
+
static types(): { [key: string]: any } {
|
|
1032
|
+
return {
|
|
1033
|
+
code: 'string',
|
|
1034
|
+
currentPage: 'string',
|
|
1035
|
+
items: { 'type': 'array', 'itemType': DescribePageFaceVerifyDataResponseBodyItems },
|
|
1036
|
+
message: 'string',
|
|
1037
|
+
pageSize: 'string',
|
|
1038
|
+
requestId: 'string',
|
|
1039
|
+
success: 'string',
|
|
1040
|
+
totalCount: 'string',
|
|
1041
|
+
totalPage: 'string',
|
|
1042
|
+
};
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
constructor(map?: { [key: string]: any }) {
|
|
1046
|
+
super(map);
|
|
1047
|
+
}
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
export class DescribePageFaceVerifyDataResponse extends $tea.Model {
|
|
1051
|
+
headers?: { [key: string]: string };
|
|
1052
|
+
statusCode?: number;
|
|
1053
|
+
body?: DescribePageFaceVerifyDataResponseBody;
|
|
1054
|
+
static names(): { [key: string]: string } {
|
|
1055
|
+
return {
|
|
1056
|
+
headers: 'headers',
|
|
1057
|
+
statusCode: 'statusCode',
|
|
1058
|
+
body: 'body',
|
|
1059
|
+
};
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
static types(): { [key: string]: any } {
|
|
1063
|
+
return {
|
|
1064
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1065
|
+
statusCode: 'number',
|
|
1066
|
+
body: DescribePageFaceVerifyDataResponseBody,
|
|
1067
|
+
};
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1070
|
+
constructor(map?: { [key: string]: any }) {
|
|
1071
|
+
super(map);
|
|
1072
|
+
}
|
|
1073
|
+
}
|
|
1074
|
+
|
|
883
1075
|
export class DescribeSmartStatisticsPageListRequest extends $tea.Model {
|
|
884
1076
|
currentPage?: string;
|
|
885
1077
|
endDate?: string;
|
|
@@ -1831,29 +2023,20 @@ export class Mobile3MetaSimpleVerifyResponse extends $tea.Model {
|
|
|
1831
2023
|
}
|
|
1832
2024
|
}
|
|
1833
2025
|
|
|
1834
|
-
export class
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
duration?: string;
|
|
1838
|
-
expiredDay?: string;
|
|
1839
|
-
userDeviceId?: string;
|
|
2026
|
+
export class MobileDetectRequest extends $tea.Model {
|
|
2027
|
+
mobiles?: string;
|
|
2028
|
+
paramType?: string;
|
|
1840
2029
|
static names(): { [key: string]: string } {
|
|
1841
2030
|
return {
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
duration: 'Duration',
|
|
1845
|
-
expiredDay: 'ExpiredDay',
|
|
1846
|
-
userDeviceId: 'UserDeviceId',
|
|
2031
|
+
mobiles: 'Mobiles',
|
|
2032
|
+
paramType: 'ParamType',
|
|
1847
2033
|
};
|
|
1848
2034
|
}
|
|
1849
2035
|
|
|
1850
2036
|
static types(): { [key: string]: any } {
|
|
1851
2037
|
return {
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
duration: 'string',
|
|
1855
|
-
expiredDay: 'string',
|
|
1856
|
-
userDeviceId: 'string',
|
|
2038
|
+
mobiles: 'string',
|
|
2039
|
+
paramType: 'string',
|
|
1857
2040
|
};
|
|
1858
2041
|
}
|
|
1859
2042
|
|
|
@@ -1862,32 +2045,26 @@ export class ModifyDeviceInfoRequest extends $tea.Model {
|
|
|
1862
2045
|
}
|
|
1863
2046
|
}
|
|
1864
2047
|
|
|
1865
|
-
export class
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
deviceId?: string;
|
|
1869
|
-
expiredDay?: string;
|
|
2048
|
+
export class MobileDetectResponseBody extends $tea.Model {
|
|
2049
|
+
code?: string;
|
|
2050
|
+
message?: string;
|
|
1870
2051
|
requestId?: string;
|
|
1871
|
-
|
|
2052
|
+
resultObject?: MobileDetectResponseBodyResultObject;
|
|
1872
2053
|
static names(): { [key: string]: string } {
|
|
1873
2054
|
return {
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
deviceId: 'DeviceId',
|
|
1877
|
-
expiredDay: 'ExpiredDay',
|
|
2055
|
+
code: 'Code',
|
|
2056
|
+
message: 'Message',
|
|
1878
2057
|
requestId: 'RequestId',
|
|
1879
|
-
|
|
2058
|
+
resultObject: 'ResultObject',
|
|
1880
2059
|
};
|
|
1881
2060
|
}
|
|
1882
2061
|
|
|
1883
2062
|
static types(): { [key: string]: any } {
|
|
1884
2063
|
return {
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
deviceId: 'string',
|
|
1888
|
-
expiredDay: 'string',
|
|
2064
|
+
code: 'string',
|
|
2065
|
+
message: 'string',
|
|
1889
2066
|
requestId: 'string',
|
|
1890
|
-
|
|
2067
|
+
resultObject: MobileDetectResponseBodyResultObject,
|
|
1891
2068
|
};
|
|
1892
2069
|
}
|
|
1893
2070
|
|
|
@@ -1896,10 +2073,10 @@ export class ModifyDeviceInfoResponseBody extends $tea.Model {
|
|
|
1896
2073
|
}
|
|
1897
2074
|
}
|
|
1898
2075
|
|
|
1899
|
-
export class
|
|
2076
|
+
export class MobileDetectResponse extends $tea.Model {
|
|
1900
2077
|
headers?: { [key: string]: string };
|
|
1901
2078
|
statusCode?: number;
|
|
1902
|
-
body?:
|
|
2079
|
+
body?: MobileDetectResponseBody;
|
|
1903
2080
|
static names(): { [key: string]: string } {
|
|
1904
2081
|
return {
|
|
1905
2082
|
headers: 'headers',
|
|
@@ -1912,7 +2089,7 @@ export class ModifyDeviceInfoResponse extends $tea.Model {
|
|
|
1912
2089
|
return {
|
|
1913
2090
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1914
2091
|
statusCode: 'number',
|
|
1915
|
-
body:
|
|
2092
|
+
body: MobileDetectResponseBody,
|
|
1916
2093
|
};
|
|
1917
2094
|
}
|
|
1918
2095
|
|
|
@@ -1921,38 +2098,20 @@ export class ModifyDeviceInfoResponse extends $tea.Model {
|
|
|
1921
2098
|
}
|
|
1922
2099
|
}
|
|
1923
2100
|
|
|
1924
|
-
export class
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
faceImageUrl?: string;
|
|
1928
|
-
idCardBackImageUrl?: string;
|
|
1929
|
-
idCardFrontImageUrl?: string;
|
|
1930
|
-
idCardNumber?: string;
|
|
1931
|
-
name?: string;
|
|
1932
|
-
userId?: string;
|
|
2101
|
+
export class MobileOnlineStatusRequest extends $tea.Model {
|
|
2102
|
+
mobile?: string;
|
|
2103
|
+
paramType?: string;
|
|
1933
2104
|
static names(): { [key: string]: string } {
|
|
1934
2105
|
return {
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
faceImageUrl: 'FaceImageUrl',
|
|
1938
|
-
idCardBackImageUrl: 'IdCardBackImageUrl',
|
|
1939
|
-
idCardFrontImageUrl: 'IdCardFrontImageUrl',
|
|
1940
|
-
idCardNumber: 'IdCardNumber',
|
|
1941
|
-
name: 'Name',
|
|
1942
|
-
userId: 'UserId',
|
|
2106
|
+
mobile: 'Mobile',
|
|
2107
|
+
paramType: 'ParamType',
|
|
1943
2108
|
};
|
|
1944
2109
|
}
|
|
1945
2110
|
|
|
1946
2111
|
static types(): { [key: string]: any } {
|
|
1947
2112
|
return {
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
faceImageUrl: 'string',
|
|
1951
|
-
idCardBackImageUrl: 'string',
|
|
1952
|
-
idCardFrontImageUrl: 'string',
|
|
1953
|
-
idCardNumber: 'string',
|
|
1954
|
-
name: 'string',
|
|
1955
|
-
userId: 'string',
|
|
2113
|
+
mobile: 'string',
|
|
2114
|
+
paramType: 'string',
|
|
1956
2115
|
};
|
|
1957
2116
|
}
|
|
1958
2117
|
|
|
@@ -1961,21 +2120,279 @@ export class VerifyMaterialRequest extends $tea.Model {
|
|
|
1961
2120
|
}
|
|
1962
2121
|
}
|
|
1963
2122
|
|
|
1964
|
-
export class
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
material?: VerifyMaterialResponseBodyMaterial;
|
|
2123
|
+
export class MobileOnlineStatusResponseBody extends $tea.Model {
|
|
2124
|
+
code?: string;
|
|
2125
|
+
message?: string;
|
|
1968
2126
|
requestId?: string;
|
|
1969
|
-
|
|
1970
|
-
verifyToken?: string;
|
|
2127
|
+
resultObject?: MobileOnlineStatusResponseBodyResultObject;
|
|
1971
2128
|
static names(): { [key: string]: string } {
|
|
1972
2129
|
return {
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
material: 'Material',
|
|
2130
|
+
code: 'Code',
|
|
2131
|
+
message: 'Message',
|
|
1976
2132
|
requestId: 'RequestId',
|
|
1977
|
-
|
|
1978
|
-
|
|
2133
|
+
resultObject: 'ResultObject',
|
|
2134
|
+
};
|
|
2135
|
+
}
|
|
2136
|
+
|
|
2137
|
+
static types(): { [key: string]: any } {
|
|
2138
|
+
return {
|
|
2139
|
+
code: 'string',
|
|
2140
|
+
message: 'string',
|
|
2141
|
+
requestId: 'string',
|
|
2142
|
+
resultObject: MobileOnlineStatusResponseBodyResultObject,
|
|
2143
|
+
};
|
|
2144
|
+
}
|
|
2145
|
+
|
|
2146
|
+
constructor(map?: { [key: string]: any }) {
|
|
2147
|
+
super(map);
|
|
2148
|
+
}
|
|
2149
|
+
}
|
|
2150
|
+
|
|
2151
|
+
export class MobileOnlineStatusResponse extends $tea.Model {
|
|
2152
|
+
headers?: { [key: string]: string };
|
|
2153
|
+
statusCode?: number;
|
|
2154
|
+
body?: MobileOnlineStatusResponseBody;
|
|
2155
|
+
static names(): { [key: string]: string } {
|
|
2156
|
+
return {
|
|
2157
|
+
headers: 'headers',
|
|
2158
|
+
statusCode: 'statusCode',
|
|
2159
|
+
body: 'body',
|
|
2160
|
+
};
|
|
2161
|
+
}
|
|
2162
|
+
|
|
2163
|
+
static types(): { [key: string]: any } {
|
|
2164
|
+
return {
|
|
2165
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2166
|
+
statusCode: 'number',
|
|
2167
|
+
body: MobileOnlineStatusResponseBody,
|
|
2168
|
+
};
|
|
2169
|
+
}
|
|
2170
|
+
|
|
2171
|
+
constructor(map?: { [key: string]: any }) {
|
|
2172
|
+
super(map);
|
|
2173
|
+
}
|
|
2174
|
+
}
|
|
2175
|
+
|
|
2176
|
+
export class MobileOnlineTimeRequest extends $tea.Model {
|
|
2177
|
+
mobile?: string;
|
|
2178
|
+
paramType?: string;
|
|
2179
|
+
static names(): { [key: string]: string } {
|
|
2180
|
+
return {
|
|
2181
|
+
mobile: 'Mobile',
|
|
2182
|
+
paramType: 'ParamType',
|
|
2183
|
+
};
|
|
2184
|
+
}
|
|
2185
|
+
|
|
2186
|
+
static types(): { [key: string]: any } {
|
|
2187
|
+
return {
|
|
2188
|
+
mobile: 'string',
|
|
2189
|
+
paramType: 'string',
|
|
2190
|
+
};
|
|
2191
|
+
}
|
|
2192
|
+
|
|
2193
|
+
constructor(map?: { [key: string]: any }) {
|
|
2194
|
+
super(map);
|
|
2195
|
+
}
|
|
2196
|
+
}
|
|
2197
|
+
|
|
2198
|
+
export class MobileOnlineTimeResponseBody extends $tea.Model {
|
|
2199
|
+
code?: string;
|
|
2200
|
+
message?: string;
|
|
2201
|
+
requestId?: string;
|
|
2202
|
+
resultObject?: MobileOnlineTimeResponseBodyResultObject;
|
|
2203
|
+
static names(): { [key: string]: string } {
|
|
2204
|
+
return {
|
|
2205
|
+
code: 'Code',
|
|
2206
|
+
message: 'Message',
|
|
2207
|
+
requestId: 'RequestId',
|
|
2208
|
+
resultObject: 'ResultObject',
|
|
2209
|
+
};
|
|
2210
|
+
}
|
|
2211
|
+
|
|
2212
|
+
static types(): { [key: string]: any } {
|
|
2213
|
+
return {
|
|
2214
|
+
code: 'string',
|
|
2215
|
+
message: 'string',
|
|
2216
|
+
requestId: 'string',
|
|
2217
|
+
resultObject: MobileOnlineTimeResponseBodyResultObject,
|
|
2218
|
+
};
|
|
2219
|
+
}
|
|
2220
|
+
|
|
2221
|
+
constructor(map?: { [key: string]: any }) {
|
|
2222
|
+
super(map);
|
|
2223
|
+
}
|
|
2224
|
+
}
|
|
2225
|
+
|
|
2226
|
+
export class MobileOnlineTimeResponse extends $tea.Model {
|
|
2227
|
+
headers?: { [key: string]: string };
|
|
2228
|
+
statusCode?: number;
|
|
2229
|
+
body?: MobileOnlineTimeResponseBody;
|
|
2230
|
+
static names(): { [key: string]: string } {
|
|
2231
|
+
return {
|
|
2232
|
+
headers: 'headers',
|
|
2233
|
+
statusCode: 'statusCode',
|
|
2234
|
+
body: 'body',
|
|
2235
|
+
};
|
|
2236
|
+
}
|
|
2237
|
+
|
|
2238
|
+
static types(): { [key: string]: any } {
|
|
2239
|
+
return {
|
|
2240
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2241
|
+
statusCode: 'number',
|
|
2242
|
+
body: MobileOnlineTimeResponseBody,
|
|
2243
|
+
};
|
|
2244
|
+
}
|
|
2245
|
+
|
|
2246
|
+
constructor(map?: { [key: string]: any }) {
|
|
2247
|
+
super(map);
|
|
2248
|
+
}
|
|
2249
|
+
}
|
|
2250
|
+
|
|
2251
|
+
export class ModifyDeviceInfoRequest extends $tea.Model {
|
|
2252
|
+
bizType?: string;
|
|
2253
|
+
deviceId?: string;
|
|
2254
|
+
duration?: string;
|
|
2255
|
+
expiredDay?: string;
|
|
2256
|
+
userDeviceId?: string;
|
|
2257
|
+
static names(): { [key: string]: string } {
|
|
2258
|
+
return {
|
|
2259
|
+
bizType: 'BizType',
|
|
2260
|
+
deviceId: 'DeviceId',
|
|
2261
|
+
duration: 'Duration',
|
|
2262
|
+
expiredDay: 'ExpiredDay',
|
|
2263
|
+
userDeviceId: 'UserDeviceId',
|
|
2264
|
+
};
|
|
2265
|
+
}
|
|
2266
|
+
|
|
2267
|
+
static types(): { [key: string]: any } {
|
|
2268
|
+
return {
|
|
2269
|
+
bizType: 'string',
|
|
2270
|
+
deviceId: 'string',
|
|
2271
|
+
duration: 'string',
|
|
2272
|
+
expiredDay: 'string',
|
|
2273
|
+
userDeviceId: 'string',
|
|
2274
|
+
};
|
|
2275
|
+
}
|
|
2276
|
+
|
|
2277
|
+
constructor(map?: { [key: string]: any }) {
|
|
2278
|
+
super(map);
|
|
2279
|
+
}
|
|
2280
|
+
}
|
|
2281
|
+
|
|
2282
|
+
export class ModifyDeviceInfoResponseBody extends $tea.Model {
|
|
2283
|
+
beginDay?: string;
|
|
2284
|
+
bizType?: string;
|
|
2285
|
+
deviceId?: string;
|
|
2286
|
+
expiredDay?: string;
|
|
2287
|
+
requestId?: string;
|
|
2288
|
+
userDeviceId?: string;
|
|
2289
|
+
static names(): { [key: string]: string } {
|
|
2290
|
+
return {
|
|
2291
|
+
beginDay: 'BeginDay',
|
|
2292
|
+
bizType: 'BizType',
|
|
2293
|
+
deviceId: 'DeviceId',
|
|
2294
|
+
expiredDay: 'ExpiredDay',
|
|
2295
|
+
requestId: 'RequestId',
|
|
2296
|
+
userDeviceId: 'UserDeviceId',
|
|
2297
|
+
};
|
|
2298
|
+
}
|
|
2299
|
+
|
|
2300
|
+
static types(): { [key: string]: any } {
|
|
2301
|
+
return {
|
|
2302
|
+
beginDay: 'string',
|
|
2303
|
+
bizType: 'string',
|
|
2304
|
+
deviceId: 'string',
|
|
2305
|
+
expiredDay: 'string',
|
|
2306
|
+
requestId: 'string',
|
|
2307
|
+
userDeviceId: 'string',
|
|
2308
|
+
};
|
|
2309
|
+
}
|
|
2310
|
+
|
|
2311
|
+
constructor(map?: { [key: string]: any }) {
|
|
2312
|
+
super(map);
|
|
2313
|
+
}
|
|
2314
|
+
}
|
|
2315
|
+
|
|
2316
|
+
export class ModifyDeviceInfoResponse extends $tea.Model {
|
|
2317
|
+
headers?: { [key: string]: string };
|
|
2318
|
+
statusCode?: number;
|
|
2319
|
+
body?: ModifyDeviceInfoResponseBody;
|
|
2320
|
+
static names(): { [key: string]: string } {
|
|
2321
|
+
return {
|
|
2322
|
+
headers: 'headers',
|
|
2323
|
+
statusCode: 'statusCode',
|
|
2324
|
+
body: 'body',
|
|
2325
|
+
};
|
|
2326
|
+
}
|
|
2327
|
+
|
|
2328
|
+
static types(): { [key: string]: any } {
|
|
2329
|
+
return {
|
|
2330
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2331
|
+
statusCode: 'number',
|
|
2332
|
+
body: ModifyDeviceInfoResponseBody,
|
|
2333
|
+
};
|
|
2334
|
+
}
|
|
2335
|
+
|
|
2336
|
+
constructor(map?: { [key: string]: any }) {
|
|
2337
|
+
super(map);
|
|
2338
|
+
}
|
|
2339
|
+
}
|
|
2340
|
+
|
|
2341
|
+
export class VerifyMaterialRequest extends $tea.Model {
|
|
2342
|
+
bizId?: string;
|
|
2343
|
+
bizType?: string;
|
|
2344
|
+
faceImageUrl?: string;
|
|
2345
|
+
idCardBackImageUrl?: string;
|
|
2346
|
+
idCardFrontImageUrl?: string;
|
|
2347
|
+
idCardNumber?: string;
|
|
2348
|
+
name?: string;
|
|
2349
|
+
userId?: string;
|
|
2350
|
+
static names(): { [key: string]: string } {
|
|
2351
|
+
return {
|
|
2352
|
+
bizId: 'BizId',
|
|
2353
|
+
bizType: 'BizType',
|
|
2354
|
+
faceImageUrl: 'FaceImageUrl',
|
|
2355
|
+
idCardBackImageUrl: 'IdCardBackImageUrl',
|
|
2356
|
+
idCardFrontImageUrl: 'IdCardFrontImageUrl',
|
|
2357
|
+
idCardNumber: 'IdCardNumber',
|
|
2358
|
+
name: 'Name',
|
|
2359
|
+
userId: 'UserId',
|
|
2360
|
+
};
|
|
2361
|
+
}
|
|
2362
|
+
|
|
2363
|
+
static types(): { [key: string]: any } {
|
|
2364
|
+
return {
|
|
2365
|
+
bizId: 'string',
|
|
2366
|
+
bizType: 'string',
|
|
2367
|
+
faceImageUrl: 'string',
|
|
2368
|
+
idCardBackImageUrl: 'string',
|
|
2369
|
+
idCardFrontImageUrl: 'string',
|
|
2370
|
+
idCardNumber: 'string',
|
|
2371
|
+
name: 'string',
|
|
2372
|
+
userId: 'string',
|
|
2373
|
+
};
|
|
2374
|
+
}
|
|
2375
|
+
|
|
2376
|
+
constructor(map?: { [key: string]: any }) {
|
|
2377
|
+
super(map);
|
|
2378
|
+
}
|
|
2379
|
+
}
|
|
2380
|
+
|
|
2381
|
+
export class VerifyMaterialResponseBody extends $tea.Model {
|
|
2382
|
+
authorityComparisionScore?: number;
|
|
2383
|
+
idCardFaceComparisonScore?: number;
|
|
2384
|
+
material?: VerifyMaterialResponseBodyMaterial;
|
|
2385
|
+
requestId?: string;
|
|
2386
|
+
verifyStatus?: number;
|
|
2387
|
+
verifyToken?: string;
|
|
2388
|
+
static names(): { [key: string]: string } {
|
|
2389
|
+
return {
|
|
2390
|
+
authorityComparisionScore: 'AuthorityComparisionScore',
|
|
2391
|
+
idCardFaceComparisonScore: 'IdCardFaceComparisonScore',
|
|
2392
|
+
material: 'Material',
|
|
2393
|
+
requestId: 'RequestId',
|
|
2394
|
+
verifyStatus: 'VerifyStatus',
|
|
2395
|
+
verifyToken: 'VerifyToken',
|
|
1979
2396
|
};
|
|
1980
2397
|
}
|
|
1981
2398
|
|
|
@@ -2045,6 +2462,28 @@ export class AIGCFaceVerifyResponseBodyResultObject extends $tea.Model {
|
|
|
2045
2462
|
}
|
|
2046
2463
|
}
|
|
2047
2464
|
|
|
2465
|
+
export class BankMetaVerifyResponseBodyResultObject extends $tea.Model {
|
|
2466
|
+
bizCode?: string;
|
|
2467
|
+
subCode?: string;
|
|
2468
|
+
static names(): { [key: string]: string } {
|
|
2469
|
+
return {
|
|
2470
|
+
bizCode: 'BizCode',
|
|
2471
|
+
subCode: 'SubCode',
|
|
2472
|
+
};
|
|
2473
|
+
}
|
|
2474
|
+
|
|
2475
|
+
static types(): { [key: string]: any } {
|
|
2476
|
+
return {
|
|
2477
|
+
bizCode: 'string',
|
|
2478
|
+
subCode: 'string',
|
|
2479
|
+
};
|
|
2480
|
+
}
|
|
2481
|
+
|
|
2482
|
+
constructor(map?: { [key: string]: any }) {
|
|
2483
|
+
super(map);
|
|
2484
|
+
}
|
|
2485
|
+
}
|
|
2486
|
+
|
|
2048
2487
|
export class CompareFaceVerifyResponseBodyResultObject extends $tea.Model {
|
|
2049
2488
|
certifyId?: string;
|
|
2050
2489
|
passed?: string;
|
|
@@ -2250,6 +2689,40 @@ export class DescribeOssUploadTokenResponseBodyOssUploadToken extends $tea.Model
|
|
|
2250
2689
|
}
|
|
2251
2690
|
}
|
|
2252
2691
|
|
|
2692
|
+
export class DescribePageFaceVerifyDataResponseBodyItems extends $tea.Model {
|
|
2693
|
+
date?: string;
|
|
2694
|
+
productCode?: string;
|
|
2695
|
+
sceneId?: string;
|
|
2696
|
+
sceneName?: string;
|
|
2697
|
+
successCount?: string;
|
|
2698
|
+
totalCount?: string;
|
|
2699
|
+
static names(): { [key: string]: string } {
|
|
2700
|
+
return {
|
|
2701
|
+
date: 'Date',
|
|
2702
|
+
productCode: 'ProductCode',
|
|
2703
|
+
sceneId: 'SceneId',
|
|
2704
|
+
sceneName: 'SceneName',
|
|
2705
|
+
successCount: 'SuccessCount',
|
|
2706
|
+
totalCount: 'TotalCount',
|
|
2707
|
+
};
|
|
2708
|
+
}
|
|
2709
|
+
|
|
2710
|
+
static types(): { [key: string]: any } {
|
|
2711
|
+
return {
|
|
2712
|
+
date: 'string',
|
|
2713
|
+
productCode: 'string',
|
|
2714
|
+
sceneId: 'string',
|
|
2715
|
+
sceneName: 'string',
|
|
2716
|
+
successCount: 'string',
|
|
2717
|
+
totalCount: 'string',
|
|
2718
|
+
};
|
|
2719
|
+
}
|
|
2720
|
+
|
|
2721
|
+
constructor(map?: { [key: string]: any }) {
|
|
2722
|
+
super(map);
|
|
2723
|
+
}
|
|
2724
|
+
}
|
|
2725
|
+
|
|
2253
2726
|
export class DescribeSmartStatisticsPageListResponseBodyItems extends $tea.Model {
|
|
2254
2727
|
date?: string;
|
|
2255
2728
|
passRate?: string;
|
|
@@ -2707,6 +3180,109 @@ export class Mobile3MetaSimpleVerifyResponseBodyResultObject extends $tea.Model
|
|
|
2707
3180
|
}
|
|
2708
3181
|
}
|
|
2709
3182
|
|
|
3183
|
+
export class MobileDetectResponseBodyResultObjectItems extends $tea.Model {
|
|
3184
|
+
area?: string;
|
|
3185
|
+
bizCode?: string;
|
|
3186
|
+
ispName?: string;
|
|
3187
|
+
mobile?: string;
|
|
3188
|
+
subCode?: string;
|
|
3189
|
+
static names(): { [key: string]: string } {
|
|
3190
|
+
return {
|
|
3191
|
+
area: 'Area',
|
|
3192
|
+
bizCode: 'BizCode',
|
|
3193
|
+
ispName: 'IspName',
|
|
3194
|
+
mobile: 'Mobile',
|
|
3195
|
+
subCode: 'SubCode',
|
|
3196
|
+
};
|
|
3197
|
+
}
|
|
3198
|
+
|
|
3199
|
+
static types(): { [key: string]: any } {
|
|
3200
|
+
return {
|
|
3201
|
+
area: 'string',
|
|
3202
|
+
bizCode: 'string',
|
|
3203
|
+
ispName: 'string',
|
|
3204
|
+
mobile: 'string',
|
|
3205
|
+
subCode: 'string',
|
|
3206
|
+
};
|
|
3207
|
+
}
|
|
3208
|
+
|
|
3209
|
+
constructor(map?: { [key: string]: any }) {
|
|
3210
|
+
super(map);
|
|
3211
|
+
}
|
|
3212
|
+
}
|
|
3213
|
+
|
|
3214
|
+
export class MobileDetectResponseBodyResultObject extends $tea.Model {
|
|
3215
|
+
chargeCount?: string;
|
|
3216
|
+
items?: MobileDetectResponseBodyResultObjectItems[];
|
|
3217
|
+
static names(): { [key: string]: string } {
|
|
3218
|
+
return {
|
|
3219
|
+
chargeCount: 'ChargeCount',
|
|
3220
|
+
items: 'Items',
|
|
3221
|
+
};
|
|
3222
|
+
}
|
|
3223
|
+
|
|
3224
|
+
static types(): { [key: string]: any } {
|
|
3225
|
+
return {
|
|
3226
|
+
chargeCount: 'string',
|
|
3227
|
+
items: { 'type': 'array', 'itemType': MobileDetectResponseBodyResultObjectItems },
|
|
3228
|
+
};
|
|
3229
|
+
}
|
|
3230
|
+
|
|
3231
|
+
constructor(map?: { [key: string]: any }) {
|
|
3232
|
+
super(map);
|
|
3233
|
+
}
|
|
3234
|
+
}
|
|
3235
|
+
|
|
3236
|
+
export class MobileOnlineStatusResponseBodyResultObject extends $tea.Model {
|
|
3237
|
+
bizCode?: string;
|
|
3238
|
+
ispName?: string;
|
|
3239
|
+
subCode?: string;
|
|
3240
|
+
static names(): { [key: string]: string } {
|
|
3241
|
+
return {
|
|
3242
|
+
bizCode: 'BizCode',
|
|
3243
|
+
ispName: 'IspName',
|
|
3244
|
+
subCode: 'SubCode',
|
|
3245
|
+
};
|
|
3246
|
+
}
|
|
3247
|
+
|
|
3248
|
+
static types(): { [key: string]: any } {
|
|
3249
|
+
return {
|
|
3250
|
+
bizCode: 'string',
|
|
3251
|
+
ispName: 'string',
|
|
3252
|
+
subCode: 'string',
|
|
3253
|
+
};
|
|
3254
|
+
}
|
|
3255
|
+
|
|
3256
|
+
constructor(map?: { [key: string]: any }) {
|
|
3257
|
+
super(map);
|
|
3258
|
+
}
|
|
3259
|
+
}
|
|
3260
|
+
|
|
3261
|
+
export class MobileOnlineTimeResponseBodyResultObject extends $tea.Model {
|
|
3262
|
+
bizCode?: string;
|
|
3263
|
+
ispName?: string;
|
|
3264
|
+
timeCode?: string;
|
|
3265
|
+
static names(): { [key: string]: string } {
|
|
3266
|
+
return {
|
|
3267
|
+
bizCode: 'BizCode',
|
|
3268
|
+
ispName: 'IspName',
|
|
3269
|
+
timeCode: 'TimeCode',
|
|
3270
|
+
};
|
|
3271
|
+
}
|
|
3272
|
+
|
|
3273
|
+
static types(): { [key: string]: any } {
|
|
3274
|
+
return {
|
|
3275
|
+
bizCode: 'string',
|
|
3276
|
+
ispName: 'string',
|
|
3277
|
+
timeCode: 'string',
|
|
3278
|
+
};
|
|
3279
|
+
}
|
|
3280
|
+
|
|
3281
|
+
constructor(map?: { [key: string]: any }) {
|
|
3282
|
+
super(map);
|
|
3283
|
+
}
|
|
3284
|
+
}
|
|
3285
|
+
|
|
2710
3286
|
export class VerifyMaterialResponseBodyMaterialIdCardInfo extends $tea.Model {
|
|
2711
3287
|
address?: string;
|
|
2712
3288
|
authority?: string;
|
|
@@ -2868,6 +3444,59 @@ export default class Client extends OpenApi {
|
|
|
2868
3444
|
return await this.aIGCFaceVerifyWithOptions(request, runtime);
|
|
2869
3445
|
}
|
|
2870
3446
|
|
|
3447
|
+
async bankMetaVerifyWithOptions(request: BankMetaVerifyRequest, runtime: $Util.RuntimeOptions): Promise<BankMetaVerifyResponse> {
|
|
3448
|
+
Util.validateModel(request);
|
|
3449
|
+
let query = { };
|
|
3450
|
+
if (!Util.isUnset(request.bankCard)) {
|
|
3451
|
+
query["BankCard"] = request.bankCard;
|
|
3452
|
+
}
|
|
3453
|
+
|
|
3454
|
+
if (!Util.isUnset(request.identifyNum)) {
|
|
3455
|
+
query["IdentifyNum"] = request.identifyNum;
|
|
3456
|
+
}
|
|
3457
|
+
|
|
3458
|
+
if (!Util.isUnset(request.mobile)) {
|
|
3459
|
+
query["Mobile"] = request.mobile;
|
|
3460
|
+
}
|
|
3461
|
+
|
|
3462
|
+
if (!Util.isUnset(request.paramType)) {
|
|
3463
|
+
query["ParamType"] = request.paramType;
|
|
3464
|
+
}
|
|
3465
|
+
|
|
3466
|
+
if (!Util.isUnset(request.productType)) {
|
|
3467
|
+
query["ProductType"] = request.productType;
|
|
3468
|
+
}
|
|
3469
|
+
|
|
3470
|
+
if (!Util.isUnset(request.userName)) {
|
|
3471
|
+
query["UserName"] = request.userName;
|
|
3472
|
+
}
|
|
3473
|
+
|
|
3474
|
+
if (!Util.isUnset(request.verifyMode)) {
|
|
3475
|
+
query["VerifyMode"] = request.verifyMode;
|
|
3476
|
+
}
|
|
3477
|
+
|
|
3478
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3479
|
+
query: OpenApiUtil.query(query),
|
|
3480
|
+
});
|
|
3481
|
+
let params = new $OpenApi.Params({
|
|
3482
|
+
action: "BankMetaVerify",
|
|
3483
|
+
version: "2019-03-07",
|
|
3484
|
+
protocol: "HTTPS",
|
|
3485
|
+
pathname: "/",
|
|
3486
|
+
method: "POST",
|
|
3487
|
+
authType: "AK",
|
|
3488
|
+
style: "RPC",
|
|
3489
|
+
reqBodyType: "formData",
|
|
3490
|
+
bodyType: "json",
|
|
3491
|
+
});
|
|
3492
|
+
return $tea.cast<BankMetaVerifyResponse>(await this.callApi(params, req, runtime), new BankMetaVerifyResponse({}));
|
|
3493
|
+
}
|
|
3494
|
+
|
|
3495
|
+
async bankMetaVerify(request: BankMetaVerifyRequest): Promise<BankMetaVerifyResponse> {
|
|
3496
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
3497
|
+
return await this.bankMetaVerifyWithOptions(request, runtime);
|
|
3498
|
+
}
|
|
3499
|
+
|
|
2871
3500
|
async compareFaceVerifyWithOptions(request: CompareFaceVerifyRequest, runtime: $Util.RuntimeOptions): Promise<CompareFaceVerifyResponse> {
|
|
2872
3501
|
Util.validateModel(request);
|
|
2873
3502
|
let body : {[key: string ]: any} = { };
|
|
@@ -3368,6 +3997,55 @@ export default class Client extends OpenApi {
|
|
|
3368
3997
|
return await this.describeOssUploadTokenWithOptions(runtime);
|
|
3369
3998
|
}
|
|
3370
3999
|
|
|
4000
|
+
async describePageFaceVerifyDataWithOptions(request: DescribePageFaceVerifyDataRequest, runtime: $Util.RuntimeOptions): Promise<DescribePageFaceVerifyDataResponse> {
|
|
4001
|
+
Util.validateModel(request);
|
|
4002
|
+
let query = { };
|
|
4003
|
+
if (!Util.isUnset(request.currentPage)) {
|
|
4004
|
+
query["CurrentPage"] = request.currentPage;
|
|
4005
|
+
}
|
|
4006
|
+
|
|
4007
|
+
if (!Util.isUnset(request.endDate)) {
|
|
4008
|
+
query["EndDate"] = request.endDate;
|
|
4009
|
+
}
|
|
4010
|
+
|
|
4011
|
+
if (!Util.isUnset(request.pageSize)) {
|
|
4012
|
+
query["PageSize"] = request.pageSize;
|
|
4013
|
+
}
|
|
4014
|
+
|
|
4015
|
+
if (!Util.isUnset(request.productCode)) {
|
|
4016
|
+
query["ProductCode"] = request.productCode;
|
|
4017
|
+
}
|
|
4018
|
+
|
|
4019
|
+
if (!Util.isUnset(request.sceneId)) {
|
|
4020
|
+
query["SceneId"] = request.sceneId;
|
|
4021
|
+
}
|
|
4022
|
+
|
|
4023
|
+
if (!Util.isUnset(request.startDate)) {
|
|
4024
|
+
query["StartDate"] = request.startDate;
|
|
4025
|
+
}
|
|
4026
|
+
|
|
4027
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4028
|
+
query: OpenApiUtil.query(query),
|
|
4029
|
+
});
|
|
4030
|
+
let params = new $OpenApi.Params({
|
|
4031
|
+
action: "DescribePageFaceVerifyData",
|
|
4032
|
+
version: "2019-03-07",
|
|
4033
|
+
protocol: "HTTPS",
|
|
4034
|
+
pathname: "/",
|
|
4035
|
+
method: "POST",
|
|
4036
|
+
authType: "AK",
|
|
4037
|
+
style: "RPC",
|
|
4038
|
+
reqBodyType: "formData",
|
|
4039
|
+
bodyType: "json",
|
|
4040
|
+
});
|
|
4041
|
+
return $tea.cast<DescribePageFaceVerifyDataResponse>(await this.callApi(params, req, runtime), new DescribePageFaceVerifyDataResponse({}));
|
|
4042
|
+
}
|
|
4043
|
+
|
|
4044
|
+
async describePageFaceVerifyData(request: DescribePageFaceVerifyDataRequest): Promise<DescribePageFaceVerifyDataResponse> {
|
|
4045
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4046
|
+
return await this.describePageFaceVerifyDataWithOptions(request, runtime);
|
|
4047
|
+
}
|
|
4048
|
+
|
|
3371
4049
|
async describeSmartStatisticsPageListWithOptions(request: DescribeSmartStatisticsPageListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSmartStatisticsPageListResponse> {
|
|
3372
4050
|
Util.validateModel(request);
|
|
3373
4051
|
let query = { };
|
|
@@ -3958,6 +4636,105 @@ export default class Client extends OpenApi {
|
|
|
3958
4636
|
return await this.mobile3MetaSimpleVerifyWithOptions(request, runtime);
|
|
3959
4637
|
}
|
|
3960
4638
|
|
|
4639
|
+
async mobileDetectWithOptions(request: MobileDetectRequest, runtime: $Util.RuntimeOptions): Promise<MobileDetectResponse> {
|
|
4640
|
+
Util.validateModel(request);
|
|
4641
|
+
let query = { };
|
|
4642
|
+
if (!Util.isUnset(request.mobiles)) {
|
|
4643
|
+
query["Mobiles"] = request.mobiles;
|
|
4644
|
+
}
|
|
4645
|
+
|
|
4646
|
+
if (!Util.isUnset(request.paramType)) {
|
|
4647
|
+
query["ParamType"] = request.paramType;
|
|
4648
|
+
}
|
|
4649
|
+
|
|
4650
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4651
|
+
query: OpenApiUtil.query(query),
|
|
4652
|
+
});
|
|
4653
|
+
let params = new $OpenApi.Params({
|
|
4654
|
+
action: "MobileDetect",
|
|
4655
|
+
version: "2019-03-07",
|
|
4656
|
+
protocol: "HTTPS",
|
|
4657
|
+
pathname: "/",
|
|
4658
|
+
method: "POST",
|
|
4659
|
+
authType: "AK",
|
|
4660
|
+
style: "RPC",
|
|
4661
|
+
reqBodyType: "formData",
|
|
4662
|
+
bodyType: "json",
|
|
4663
|
+
});
|
|
4664
|
+
return $tea.cast<MobileDetectResponse>(await this.callApi(params, req, runtime), new MobileDetectResponse({}));
|
|
4665
|
+
}
|
|
4666
|
+
|
|
4667
|
+
async mobileDetect(request: MobileDetectRequest): Promise<MobileDetectResponse> {
|
|
4668
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4669
|
+
return await this.mobileDetectWithOptions(request, runtime);
|
|
4670
|
+
}
|
|
4671
|
+
|
|
4672
|
+
async mobileOnlineStatusWithOptions(request: MobileOnlineStatusRequest, runtime: $Util.RuntimeOptions): Promise<MobileOnlineStatusResponse> {
|
|
4673
|
+
Util.validateModel(request);
|
|
4674
|
+
let query = { };
|
|
4675
|
+
if (!Util.isUnset(request.mobile)) {
|
|
4676
|
+
query["Mobile"] = request.mobile;
|
|
4677
|
+
}
|
|
4678
|
+
|
|
4679
|
+
if (!Util.isUnset(request.paramType)) {
|
|
4680
|
+
query["ParamType"] = request.paramType;
|
|
4681
|
+
}
|
|
4682
|
+
|
|
4683
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4684
|
+
query: OpenApiUtil.query(query),
|
|
4685
|
+
});
|
|
4686
|
+
let params = new $OpenApi.Params({
|
|
4687
|
+
action: "MobileOnlineStatus",
|
|
4688
|
+
version: "2019-03-07",
|
|
4689
|
+
protocol: "HTTPS",
|
|
4690
|
+
pathname: "/",
|
|
4691
|
+
method: "POST",
|
|
4692
|
+
authType: "AK",
|
|
4693
|
+
style: "RPC",
|
|
4694
|
+
reqBodyType: "formData",
|
|
4695
|
+
bodyType: "json",
|
|
4696
|
+
});
|
|
4697
|
+
return $tea.cast<MobileOnlineStatusResponse>(await this.callApi(params, req, runtime), new MobileOnlineStatusResponse({}));
|
|
4698
|
+
}
|
|
4699
|
+
|
|
4700
|
+
async mobileOnlineStatus(request: MobileOnlineStatusRequest): Promise<MobileOnlineStatusResponse> {
|
|
4701
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4702
|
+
return await this.mobileOnlineStatusWithOptions(request, runtime);
|
|
4703
|
+
}
|
|
4704
|
+
|
|
4705
|
+
async mobileOnlineTimeWithOptions(request: MobileOnlineTimeRequest, runtime: $Util.RuntimeOptions): Promise<MobileOnlineTimeResponse> {
|
|
4706
|
+
Util.validateModel(request);
|
|
4707
|
+
let query = { };
|
|
4708
|
+
if (!Util.isUnset(request.mobile)) {
|
|
4709
|
+
query["Mobile"] = request.mobile;
|
|
4710
|
+
}
|
|
4711
|
+
|
|
4712
|
+
if (!Util.isUnset(request.paramType)) {
|
|
4713
|
+
query["ParamType"] = request.paramType;
|
|
4714
|
+
}
|
|
4715
|
+
|
|
4716
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4717
|
+
query: OpenApiUtil.query(query),
|
|
4718
|
+
});
|
|
4719
|
+
let params = new $OpenApi.Params({
|
|
4720
|
+
action: "MobileOnlineTime",
|
|
4721
|
+
version: "2019-03-07",
|
|
4722
|
+
protocol: "HTTPS",
|
|
4723
|
+
pathname: "/",
|
|
4724
|
+
method: "POST",
|
|
4725
|
+
authType: "AK",
|
|
4726
|
+
style: "RPC",
|
|
4727
|
+
reqBodyType: "formData",
|
|
4728
|
+
bodyType: "json",
|
|
4729
|
+
});
|
|
4730
|
+
return $tea.cast<MobileOnlineTimeResponse>(await this.callApi(params, req, runtime), new MobileOnlineTimeResponse({}));
|
|
4731
|
+
}
|
|
4732
|
+
|
|
4733
|
+
async mobileOnlineTime(request: MobileOnlineTimeRequest): Promise<MobileOnlineTimeResponse> {
|
|
4734
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4735
|
+
return await this.mobileOnlineTimeWithOptions(request, runtime);
|
|
4736
|
+
}
|
|
4737
|
+
|
|
3961
4738
|
async modifyDeviceInfoWithOptions(request: ModifyDeviceInfoRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDeviceInfoResponse> {
|
|
3962
4739
|
Util.validateModel(request);
|
|
3963
4740
|
let query = { };
|