@alicloud/cloudauth20190307 2.3.0 → 2.5.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 +403 -0
- package/dist/client.js +1062 -278
- package/dist/client.js.map +1 -1
- package/package.json +4 -4
- package/src/client.ts +1013 -43
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;
|
|
@@ -662,6 +752,102 @@ export class CreateVerifySettingResponse extends $tea.Model {
|
|
|
662
752
|
}
|
|
663
753
|
}
|
|
664
754
|
|
|
755
|
+
export class CredentialVerifyRequest extends $tea.Model {
|
|
756
|
+
certNum?: string;
|
|
757
|
+
credName?: string;
|
|
758
|
+
credType?: string;
|
|
759
|
+
identifyNum?: string;
|
|
760
|
+
imageContext?: string;
|
|
761
|
+
imageUrl?: string;
|
|
762
|
+
isCheck?: string;
|
|
763
|
+
isOCR?: string;
|
|
764
|
+
userName?: string;
|
|
765
|
+
static names(): { [key: string]: string } {
|
|
766
|
+
return {
|
|
767
|
+
certNum: 'CertNum',
|
|
768
|
+
credName: 'CredName',
|
|
769
|
+
credType: 'CredType',
|
|
770
|
+
identifyNum: 'IdentifyNum',
|
|
771
|
+
imageContext: 'ImageContext',
|
|
772
|
+
imageUrl: 'ImageUrl',
|
|
773
|
+
isCheck: 'IsCheck',
|
|
774
|
+
isOCR: 'IsOCR',
|
|
775
|
+
userName: 'UserName',
|
|
776
|
+
};
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
static types(): { [key: string]: any } {
|
|
780
|
+
return {
|
|
781
|
+
certNum: 'string',
|
|
782
|
+
credName: 'string',
|
|
783
|
+
credType: 'string',
|
|
784
|
+
identifyNum: 'string',
|
|
785
|
+
imageContext: 'string',
|
|
786
|
+
imageUrl: 'string',
|
|
787
|
+
isCheck: 'string',
|
|
788
|
+
isOCR: 'string',
|
|
789
|
+
userName: 'string',
|
|
790
|
+
};
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
constructor(map?: { [key: string]: any }) {
|
|
794
|
+
super(map);
|
|
795
|
+
}
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
export class CredentialVerifyResponseBody extends $tea.Model {
|
|
799
|
+
code?: string;
|
|
800
|
+
message?: string;
|
|
801
|
+
requestId?: string;
|
|
802
|
+
resultObject?: CredentialVerifyResponseBodyResultObject;
|
|
803
|
+
static names(): { [key: string]: string } {
|
|
804
|
+
return {
|
|
805
|
+
code: 'Code',
|
|
806
|
+
message: 'Message',
|
|
807
|
+
requestId: 'RequestId',
|
|
808
|
+
resultObject: 'ResultObject',
|
|
809
|
+
};
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
static types(): { [key: string]: any } {
|
|
813
|
+
return {
|
|
814
|
+
code: 'string',
|
|
815
|
+
message: 'string',
|
|
816
|
+
requestId: 'string',
|
|
817
|
+
resultObject: CredentialVerifyResponseBodyResultObject,
|
|
818
|
+
};
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
constructor(map?: { [key: string]: any }) {
|
|
822
|
+
super(map);
|
|
823
|
+
}
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
export class CredentialVerifyResponse extends $tea.Model {
|
|
827
|
+
headers?: { [key: string]: string };
|
|
828
|
+
statusCode?: number;
|
|
829
|
+
body?: CredentialVerifyResponseBody;
|
|
830
|
+
static names(): { [key: string]: string } {
|
|
831
|
+
return {
|
|
832
|
+
headers: 'headers',
|
|
833
|
+
statusCode: 'statusCode',
|
|
834
|
+
body: 'body',
|
|
835
|
+
};
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
static types(): { [key: string]: any } {
|
|
839
|
+
return {
|
|
840
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
841
|
+
statusCode: 'number',
|
|
842
|
+
body: CredentialVerifyResponseBody,
|
|
843
|
+
};
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
constructor(map?: { [key: string]: any }) {
|
|
847
|
+
super(map);
|
|
848
|
+
}
|
|
849
|
+
}
|
|
850
|
+
|
|
665
851
|
export class DescribeDeviceInfoRequest extends $tea.Model {
|
|
666
852
|
bizType?: string;
|
|
667
853
|
currentPage?: number;
|
|
@@ -880,6 +1066,108 @@ export class DescribeOssUploadTokenResponse extends $tea.Model {
|
|
|
880
1066
|
}
|
|
881
1067
|
}
|
|
882
1068
|
|
|
1069
|
+
export class DescribePageFaceVerifyDataRequest extends $tea.Model {
|
|
1070
|
+
currentPage?: number;
|
|
1071
|
+
endDate?: string;
|
|
1072
|
+
pageSize?: number;
|
|
1073
|
+
productCode?: string;
|
|
1074
|
+
sceneId?: number;
|
|
1075
|
+
startDate?: string;
|
|
1076
|
+
static names(): { [key: string]: string } {
|
|
1077
|
+
return {
|
|
1078
|
+
currentPage: 'CurrentPage',
|
|
1079
|
+
endDate: 'EndDate',
|
|
1080
|
+
pageSize: 'PageSize',
|
|
1081
|
+
productCode: 'ProductCode',
|
|
1082
|
+
sceneId: 'SceneId',
|
|
1083
|
+
startDate: 'StartDate',
|
|
1084
|
+
};
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
static types(): { [key: string]: any } {
|
|
1088
|
+
return {
|
|
1089
|
+
currentPage: 'number',
|
|
1090
|
+
endDate: 'string',
|
|
1091
|
+
pageSize: 'number',
|
|
1092
|
+
productCode: 'string',
|
|
1093
|
+
sceneId: 'number',
|
|
1094
|
+
startDate: 'string',
|
|
1095
|
+
};
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1098
|
+
constructor(map?: { [key: string]: any }) {
|
|
1099
|
+
super(map);
|
|
1100
|
+
}
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1103
|
+
export class DescribePageFaceVerifyDataResponseBody extends $tea.Model {
|
|
1104
|
+
code?: string;
|
|
1105
|
+
currentPage?: string;
|
|
1106
|
+
items?: DescribePageFaceVerifyDataResponseBodyItems[];
|
|
1107
|
+
message?: string;
|
|
1108
|
+
pageSize?: string;
|
|
1109
|
+
requestId?: string;
|
|
1110
|
+
success?: string;
|
|
1111
|
+
totalCount?: string;
|
|
1112
|
+
totalPage?: string;
|
|
1113
|
+
static names(): { [key: string]: string } {
|
|
1114
|
+
return {
|
|
1115
|
+
code: 'Code',
|
|
1116
|
+
currentPage: 'CurrentPage',
|
|
1117
|
+
items: 'Items',
|
|
1118
|
+
message: 'Message',
|
|
1119
|
+
pageSize: 'PageSize',
|
|
1120
|
+
requestId: 'RequestId',
|
|
1121
|
+
success: 'Success',
|
|
1122
|
+
totalCount: 'TotalCount',
|
|
1123
|
+
totalPage: 'TotalPage',
|
|
1124
|
+
};
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
static types(): { [key: string]: any } {
|
|
1128
|
+
return {
|
|
1129
|
+
code: 'string',
|
|
1130
|
+
currentPage: 'string',
|
|
1131
|
+
items: { 'type': 'array', 'itemType': DescribePageFaceVerifyDataResponseBodyItems },
|
|
1132
|
+
message: 'string',
|
|
1133
|
+
pageSize: 'string',
|
|
1134
|
+
requestId: 'string',
|
|
1135
|
+
success: 'string',
|
|
1136
|
+
totalCount: 'string',
|
|
1137
|
+
totalPage: 'string',
|
|
1138
|
+
};
|
|
1139
|
+
}
|
|
1140
|
+
|
|
1141
|
+
constructor(map?: { [key: string]: any }) {
|
|
1142
|
+
super(map);
|
|
1143
|
+
}
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
export class DescribePageFaceVerifyDataResponse extends $tea.Model {
|
|
1147
|
+
headers?: { [key: string]: string };
|
|
1148
|
+
statusCode?: number;
|
|
1149
|
+
body?: DescribePageFaceVerifyDataResponseBody;
|
|
1150
|
+
static names(): { [key: string]: string } {
|
|
1151
|
+
return {
|
|
1152
|
+
headers: 'headers',
|
|
1153
|
+
statusCode: 'statusCode',
|
|
1154
|
+
body: 'body',
|
|
1155
|
+
};
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
static types(): { [key: string]: any } {
|
|
1159
|
+
return {
|
|
1160
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1161
|
+
statusCode: 'number',
|
|
1162
|
+
body: DescribePageFaceVerifyDataResponseBody,
|
|
1163
|
+
};
|
|
1164
|
+
}
|
|
1165
|
+
|
|
1166
|
+
constructor(map?: { [key: string]: any }) {
|
|
1167
|
+
super(map);
|
|
1168
|
+
}
|
|
1169
|
+
}
|
|
1170
|
+
|
|
883
1171
|
export class DescribeSmartStatisticsPageListRequest extends $tea.Model {
|
|
884
1172
|
currentPage?: string;
|
|
885
1173
|
endDate?: string;
|
|
@@ -1831,29 +2119,20 @@ export class Mobile3MetaSimpleVerifyResponse extends $tea.Model {
|
|
|
1831
2119
|
}
|
|
1832
2120
|
}
|
|
1833
2121
|
|
|
1834
|
-
export class
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
duration?: string;
|
|
1838
|
-
expiredDay?: string;
|
|
1839
|
-
userDeviceId?: string;
|
|
2122
|
+
export class MobileDetectRequest extends $tea.Model {
|
|
2123
|
+
mobiles?: string;
|
|
2124
|
+
paramType?: string;
|
|
1840
2125
|
static names(): { [key: string]: string } {
|
|
1841
2126
|
return {
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
duration: 'Duration',
|
|
1845
|
-
expiredDay: 'ExpiredDay',
|
|
1846
|
-
userDeviceId: 'UserDeviceId',
|
|
2127
|
+
mobiles: 'Mobiles',
|
|
2128
|
+
paramType: 'ParamType',
|
|
1847
2129
|
};
|
|
1848
2130
|
}
|
|
1849
2131
|
|
|
1850
2132
|
static types(): { [key: string]: any } {
|
|
1851
2133
|
return {
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
duration: 'string',
|
|
1855
|
-
expiredDay: 'string',
|
|
1856
|
-
userDeviceId: 'string',
|
|
2134
|
+
mobiles: 'string',
|
|
2135
|
+
paramType: 'string',
|
|
1857
2136
|
};
|
|
1858
2137
|
}
|
|
1859
2138
|
|
|
@@ -1862,10 +2141,244 @@ export class ModifyDeviceInfoRequest extends $tea.Model {
|
|
|
1862
2141
|
}
|
|
1863
2142
|
}
|
|
1864
2143
|
|
|
1865
|
-
export class
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
2144
|
+
export class MobileDetectResponseBody extends $tea.Model {
|
|
2145
|
+
code?: string;
|
|
2146
|
+
message?: string;
|
|
2147
|
+
requestId?: string;
|
|
2148
|
+
resultObject?: MobileDetectResponseBodyResultObject;
|
|
2149
|
+
static names(): { [key: string]: string } {
|
|
2150
|
+
return {
|
|
2151
|
+
code: 'Code',
|
|
2152
|
+
message: 'Message',
|
|
2153
|
+
requestId: 'RequestId',
|
|
2154
|
+
resultObject: 'ResultObject',
|
|
2155
|
+
};
|
|
2156
|
+
}
|
|
2157
|
+
|
|
2158
|
+
static types(): { [key: string]: any } {
|
|
2159
|
+
return {
|
|
2160
|
+
code: 'string',
|
|
2161
|
+
message: 'string',
|
|
2162
|
+
requestId: 'string',
|
|
2163
|
+
resultObject: MobileDetectResponseBodyResultObject,
|
|
2164
|
+
};
|
|
2165
|
+
}
|
|
2166
|
+
|
|
2167
|
+
constructor(map?: { [key: string]: any }) {
|
|
2168
|
+
super(map);
|
|
2169
|
+
}
|
|
2170
|
+
}
|
|
2171
|
+
|
|
2172
|
+
export class MobileDetectResponse extends $tea.Model {
|
|
2173
|
+
headers?: { [key: string]: string };
|
|
2174
|
+
statusCode?: number;
|
|
2175
|
+
body?: MobileDetectResponseBody;
|
|
2176
|
+
static names(): { [key: string]: string } {
|
|
2177
|
+
return {
|
|
2178
|
+
headers: 'headers',
|
|
2179
|
+
statusCode: 'statusCode',
|
|
2180
|
+
body: 'body',
|
|
2181
|
+
};
|
|
2182
|
+
}
|
|
2183
|
+
|
|
2184
|
+
static types(): { [key: string]: any } {
|
|
2185
|
+
return {
|
|
2186
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2187
|
+
statusCode: 'number',
|
|
2188
|
+
body: MobileDetectResponseBody,
|
|
2189
|
+
};
|
|
2190
|
+
}
|
|
2191
|
+
|
|
2192
|
+
constructor(map?: { [key: string]: any }) {
|
|
2193
|
+
super(map);
|
|
2194
|
+
}
|
|
2195
|
+
}
|
|
2196
|
+
|
|
2197
|
+
export class MobileOnlineStatusRequest extends $tea.Model {
|
|
2198
|
+
mobile?: string;
|
|
2199
|
+
paramType?: string;
|
|
2200
|
+
static names(): { [key: string]: string } {
|
|
2201
|
+
return {
|
|
2202
|
+
mobile: 'Mobile',
|
|
2203
|
+
paramType: 'ParamType',
|
|
2204
|
+
};
|
|
2205
|
+
}
|
|
2206
|
+
|
|
2207
|
+
static types(): { [key: string]: any } {
|
|
2208
|
+
return {
|
|
2209
|
+
mobile: 'string',
|
|
2210
|
+
paramType: 'string',
|
|
2211
|
+
};
|
|
2212
|
+
}
|
|
2213
|
+
|
|
2214
|
+
constructor(map?: { [key: string]: any }) {
|
|
2215
|
+
super(map);
|
|
2216
|
+
}
|
|
2217
|
+
}
|
|
2218
|
+
|
|
2219
|
+
export class MobileOnlineStatusResponseBody extends $tea.Model {
|
|
2220
|
+
code?: string;
|
|
2221
|
+
message?: string;
|
|
2222
|
+
requestId?: string;
|
|
2223
|
+
resultObject?: MobileOnlineStatusResponseBodyResultObject;
|
|
2224
|
+
static names(): { [key: string]: string } {
|
|
2225
|
+
return {
|
|
2226
|
+
code: 'Code',
|
|
2227
|
+
message: 'Message',
|
|
2228
|
+
requestId: 'RequestId',
|
|
2229
|
+
resultObject: 'ResultObject',
|
|
2230
|
+
};
|
|
2231
|
+
}
|
|
2232
|
+
|
|
2233
|
+
static types(): { [key: string]: any } {
|
|
2234
|
+
return {
|
|
2235
|
+
code: 'string',
|
|
2236
|
+
message: 'string',
|
|
2237
|
+
requestId: 'string',
|
|
2238
|
+
resultObject: MobileOnlineStatusResponseBodyResultObject,
|
|
2239
|
+
};
|
|
2240
|
+
}
|
|
2241
|
+
|
|
2242
|
+
constructor(map?: { [key: string]: any }) {
|
|
2243
|
+
super(map);
|
|
2244
|
+
}
|
|
2245
|
+
}
|
|
2246
|
+
|
|
2247
|
+
export class MobileOnlineStatusResponse extends $tea.Model {
|
|
2248
|
+
headers?: { [key: string]: string };
|
|
2249
|
+
statusCode?: number;
|
|
2250
|
+
body?: MobileOnlineStatusResponseBody;
|
|
2251
|
+
static names(): { [key: string]: string } {
|
|
2252
|
+
return {
|
|
2253
|
+
headers: 'headers',
|
|
2254
|
+
statusCode: 'statusCode',
|
|
2255
|
+
body: 'body',
|
|
2256
|
+
};
|
|
2257
|
+
}
|
|
2258
|
+
|
|
2259
|
+
static types(): { [key: string]: any } {
|
|
2260
|
+
return {
|
|
2261
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2262
|
+
statusCode: 'number',
|
|
2263
|
+
body: MobileOnlineStatusResponseBody,
|
|
2264
|
+
};
|
|
2265
|
+
}
|
|
2266
|
+
|
|
2267
|
+
constructor(map?: { [key: string]: any }) {
|
|
2268
|
+
super(map);
|
|
2269
|
+
}
|
|
2270
|
+
}
|
|
2271
|
+
|
|
2272
|
+
export class MobileOnlineTimeRequest extends $tea.Model {
|
|
2273
|
+
mobile?: string;
|
|
2274
|
+
paramType?: string;
|
|
2275
|
+
static names(): { [key: string]: string } {
|
|
2276
|
+
return {
|
|
2277
|
+
mobile: 'Mobile',
|
|
2278
|
+
paramType: 'ParamType',
|
|
2279
|
+
};
|
|
2280
|
+
}
|
|
2281
|
+
|
|
2282
|
+
static types(): { [key: string]: any } {
|
|
2283
|
+
return {
|
|
2284
|
+
mobile: 'string',
|
|
2285
|
+
paramType: 'string',
|
|
2286
|
+
};
|
|
2287
|
+
}
|
|
2288
|
+
|
|
2289
|
+
constructor(map?: { [key: string]: any }) {
|
|
2290
|
+
super(map);
|
|
2291
|
+
}
|
|
2292
|
+
}
|
|
2293
|
+
|
|
2294
|
+
export class MobileOnlineTimeResponseBody extends $tea.Model {
|
|
2295
|
+
code?: string;
|
|
2296
|
+
message?: string;
|
|
2297
|
+
requestId?: string;
|
|
2298
|
+
resultObject?: MobileOnlineTimeResponseBodyResultObject;
|
|
2299
|
+
static names(): { [key: string]: string } {
|
|
2300
|
+
return {
|
|
2301
|
+
code: 'Code',
|
|
2302
|
+
message: 'Message',
|
|
2303
|
+
requestId: 'RequestId',
|
|
2304
|
+
resultObject: 'ResultObject',
|
|
2305
|
+
};
|
|
2306
|
+
}
|
|
2307
|
+
|
|
2308
|
+
static types(): { [key: string]: any } {
|
|
2309
|
+
return {
|
|
2310
|
+
code: 'string',
|
|
2311
|
+
message: 'string',
|
|
2312
|
+
requestId: 'string',
|
|
2313
|
+
resultObject: MobileOnlineTimeResponseBodyResultObject,
|
|
2314
|
+
};
|
|
2315
|
+
}
|
|
2316
|
+
|
|
2317
|
+
constructor(map?: { [key: string]: any }) {
|
|
2318
|
+
super(map);
|
|
2319
|
+
}
|
|
2320
|
+
}
|
|
2321
|
+
|
|
2322
|
+
export class MobileOnlineTimeResponse extends $tea.Model {
|
|
2323
|
+
headers?: { [key: string]: string };
|
|
2324
|
+
statusCode?: number;
|
|
2325
|
+
body?: MobileOnlineTimeResponseBody;
|
|
2326
|
+
static names(): { [key: string]: string } {
|
|
2327
|
+
return {
|
|
2328
|
+
headers: 'headers',
|
|
2329
|
+
statusCode: 'statusCode',
|
|
2330
|
+
body: 'body',
|
|
2331
|
+
};
|
|
2332
|
+
}
|
|
2333
|
+
|
|
2334
|
+
static types(): { [key: string]: any } {
|
|
2335
|
+
return {
|
|
2336
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2337
|
+
statusCode: 'number',
|
|
2338
|
+
body: MobileOnlineTimeResponseBody,
|
|
2339
|
+
};
|
|
2340
|
+
}
|
|
2341
|
+
|
|
2342
|
+
constructor(map?: { [key: string]: any }) {
|
|
2343
|
+
super(map);
|
|
2344
|
+
}
|
|
2345
|
+
}
|
|
2346
|
+
|
|
2347
|
+
export class ModifyDeviceInfoRequest extends $tea.Model {
|
|
2348
|
+
bizType?: string;
|
|
2349
|
+
deviceId?: string;
|
|
2350
|
+
duration?: string;
|
|
2351
|
+
expiredDay?: string;
|
|
2352
|
+
userDeviceId?: string;
|
|
2353
|
+
static names(): { [key: string]: string } {
|
|
2354
|
+
return {
|
|
2355
|
+
bizType: 'BizType',
|
|
2356
|
+
deviceId: 'DeviceId',
|
|
2357
|
+
duration: 'Duration',
|
|
2358
|
+
expiredDay: 'ExpiredDay',
|
|
2359
|
+
userDeviceId: 'UserDeviceId',
|
|
2360
|
+
};
|
|
2361
|
+
}
|
|
2362
|
+
|
|
2363
|
+
static types(): { [key: string]: any } {
|
|
2364
|
+
return {
|
|
2365
|
+
bizType: 'string',
|
|
2366
|
+
deviceId: 'string',
|
|
2367
|
+
duration: 'string',
|
|
2368
|
+
expiredDay: 'string',
|
|
2369
|
+
userDeviceId: 'string',
|
|
2370
|
+
};
|
|
2371
|
+
}
|
|
2372
|
+
|
|
2373
|
+
constructor(map?: { [key: string]: any }) {
|
|
2374
|
+
super(map);
|
|
2375
|
+
}
|
|
2376
|
+
}
|
|
2377
|
+
|
|
2378
|
+
export class ModifyDeviceInfoResponseBody extends $tea.Model {
|
|
2379
|
+
beginDay?: string;
|
|
2380
|
+
bizType?: string;
|
|
2381
|
+
deviceId?: string;
|
|
1869
2382
|
expiredDay?: string;
|
|
1870
2383
|
requestId?: string;
|
|
1871
2384
|
userDeviceId?: string;
|
|
@@ -2045,6 +2558,28 @@ export class AIGCFaceVerifyResponseBodyResultObject extends $tea.Model {
|
|
|
2045
2558
|
}
|
|
2046
2559
|
}
|
|
2047
2560
|
|
|
2561
|
+
export class BankMetaVerifyResponseBodyResultObject extends $tea.Model {
|
|
2562
|
+
bizCode?: string;
|
|
2563
|
+
subCode?: string;
|
|
2564
|
+
static names(): { [key: string]: string } {
|
|
2565
|
+
return {
|
|
2566
|
+
bizCode: 'BizCode',
|
|
2567
|
+
subCode: 'SubCode',
|
|
2568
|
+
};
|
|
2569
|
+
}
|
|
2570
|
+
|
|
2571
|
+
static types(): { [key: string]: any } {
|
|
2572
|
+
return {
|
|
2573
|
+
bizCode: 'string',
|
|
2574
|
+
subCode: 'string',
|
|
2575
|
+
};
|
|
2576
|
+
}
|
|
2577
|
+
|
|
2578
|
+
constructor(map?: { [key: string]: any }) {
|
|
2579
|
+
super(map);
|
|
2580
|
+
}
|
|
2581
|
+
}
|
|
2582
|
+
|
|
2048
2583
|
export class CompareFaceVerifyResponseBodyResultObject extends $tea.Model {
|
|
2049
2584
|
certifyId?: string;
|
|
2050
2585
|
passed?: string;
|
|
@@ -2123,6 +2658,40 @@ export class ContrastFaceVerifyResponseBodyResultObject extends $tea.Model {
|
|
|
2123
2658
|
}
|
|
2124
2659
|
}
|
|
2125
2660
|
|
|
2661
|
+
export class CredentialVerifyResponseBodyResultObject extends $tea.Model {
|
|
2662
|
+
ocrInfo?: string;
|
|
2663
|
+
result?: string;
|
|
2664
|
+
riskScore?: { [key: string]: string };
|
|
2665
|
+
riskTag?: string;
|
|
2666
|
+
verifyDetail?: string;
|
|
2667
|
+
verifyResult?: string;
|
|
2668
|
+
static names(): { [key: string]: string } {
|
|
2669
|
+
return {
|
|
2670
|
+
ocrInfo: 'OcrInfo',
|
|
2671
|
+
result: 'Result',
|
|
2672
|
+
riskScore: 'RiskScore',
|
|
2673
|
+
riskTag: 'RiskTag',
|
|
2674
|
+
verifyDetail: 'VerifyDetail',
|
|
2675
|
+
verifyResult: 'VerifyResult',
|
|
2676
|
+
};
|
|
2677
|
+
}
|
|
2678
|
+
|
|
2679
|
+
static types(): { [key: string]: any } {
|
|
2680
|
+
return {
|
|
2681
|
+
ocrInfo: 'string',
|
|
2682
|
+
result: 'string',
|
|
2683
|
+
riskScore: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2684
|
+
riskTag: 'string',
|
|
2685
|
+
verifyDetail: 'string',
|
|
2686
|
+
verifyResult: 'string',
|
|
2687
|
+
};
|
|
2688
|
+
}
|
|
2689
|
+
|
|
2690
|
+
constructor(map?: { [key: string]: any }) {
|
|
2691
|
+
super(map);
|
|
2692
|
+
}
|
|
2693
|
+
}
|
|
2694
|
+
|
|
2126
2695
|
export class DescribeDeviceInfoResponseBodyDeviceInfoListDeviceInfo extends $tea.Model {
|
|
2127
2696
|
beginDay?: string;
|
|
2128
2697
|
bizType?: string;
|
|
@@ -2250,6 +2819,40 @@ export class DescribeOssUploadTokenResponseBodyOssUploadToken extends $tea.Model
|
|
|
2250
2819
|
}
|
|
2251
2820
|
}
|
|
2252
2821
|
|
|
2822
|
+
export class DescribePageFaceVerifyDataResponseBodyItems extends $tea.Model {
|
|
2823
|
+
date?: string;
|
|
2824
|
+
productCode?: string;
|
|
2825
|
+
sceneId?: string;
|
|
2826
|
+
sceneName?: string;
|
|
2827
|
+
successCount?: string;
|
|
2828
|
+
totalCount?: string;
|
|
2829
|
+
static names(): { [key: string]: string } {
|
|
2830
|
+
return {
|
|
2831
|
+
date: 'Date',
|
|
2832
|
+
productCode: 'ProductCode',
|
|
2833
|
+
sceneId: 'SceneId',
|
|
2834
|
+
sceneName: 'SceneName',
|
|
2835
|
+
successCount: 'SuccessCount',
|
|
2836
|
+
totalCount: 'TotalCount',
|
|
2837
|
+
};
|
|
2838
|
+
}
|
|
2839
|
+
|
|
2840
|
+
static types(): { [key: string]: any } {
|
|
2841
|
+
return {
|
|
2842
|
+
date: 'string',
|
|
2843
|
+
productCode: 'string',
|
|
2844
|
+
sceneId: 'string',
|
|
2845
|
+
sceneName: 'string',
|
|
2846
|
+
successCount: 'string',
|
|
2847
|
+
totalCount: 'string',
|
|
2848
|
+
};
|
|
2849
|
+
}
|
|
2850
|
+
|
|
2851
|
+
constructor(map?: { [key: string]: any }) {
|
|
2852
|
+
super(map);
|
|
2853
|
+
}
|
|
2854
|
+
}
|
|
2855
|
+
|
|
2253
2856
|
export class DescribeSmartStatisticsPageListResponseBodyItems extends $tea.Model {
|
|
2254
2857
|
date?: string;
|
|
2255
2858
|
passRate?: string;
|
|
@@ -2591,17 +3194,114 @@ export class DetectFaceAttributesResponseBodyData extends $tea.Model {
|
|
|
2591
3194
|
}
|
|
2592
3195
|
}
|
|
2593
3196
|
|
|
2594
|
-
export class Id2MetaVerifyResponseBodyResultObject extends $tea.Model {
|
|
3197
|
+
export class Id2MetaVerifyResponseBodyResultObject extends $tea.Model {
|
|
3198
|
+
bizCode?: string;
|
|
3199
|
+
static names(): { [key: string]: string } {
|
|
3200
|
+
return {
|
|
3201
|
+
bizCode: 'BizCode',
|
|
3202
|
+
};
|
|
3203
|
+
}
|
|
3204
|
+
|
|
3205
|
+
static types(): { [key: string]: any } {
|
|
3206
|
+
return {
|
|
3207
|
+
bizCode: 'string',
|
|
3208
|
+
};
|
|
3209
|
+
}
|
|
3210
|
+
|
|
3211
|
+
constructor(map?: { [key: string]: any }) {
|
|
3212
|
+
super(map);
|
|
3213
|
+
}
|
|
3214
|
+
}
|
|
3215
|
+
|
|
3216
|
+
export class InitFaceVerifyResponseBodyResultObject extends $tea.Model {
|
|
3217
|
+
certifyId?: string;
|
|
3218
|
+
certifyUrl?: string;
|
|
3219
|
+
static names(): { [key: string]: string } {
|
|
3220
|
+
return {
|
|
3221
|
+
certifyId: 'CertifyId',
|
|
3222
|
+
certifyUrl: 'CertifyUrl',
|
|
3223
|
+
};
|
|
3224
|
+
}
|
|
3225
|
+
|
|
3226
|
+
static types(): { [key: string]: any } {
|
|
3227
|
+
return {
|
|
3228
|
+
certifyId: 'string',
|
|
3229
|
+
certifyUrl: 'string',
|
|
3230
|
+
};
|
|
3231
|
+
}
|
|
3232
|
+
|
|
3233
|
+
constructor(map?: { [key: string]: any }) {
|
|
3234
|
+
super(map);
|
|
3235
|
+
}
|
|
3236
|
+
}
|
|
3237
|
+
|
|
3238
|
+
export class LivenessFaceVerifyResponseBodyResultObject extends $tea.Model {
|
|
3239
|
+
certifyId?: string;
|
|
3240
|
+
materialInfo?: string;
|
|
3241
|
+
passed?: string;
|
|
3242
|
+
subCode?: string;
|
|
3243
|
+
static names(): { [key: string]: string } {
|
|
3244
|
+
return {
|
|
3245
|
+
certifyId: 'CertifyId',
|
|
3246
|
+
materialInfo: 'MaterialInfo',
|
|
3247
|
+
passed: 'Passed',
|
|
3248
|
+
subCode: 'SubCode',
|
|
3249
|
+
};
|
|
3250
|
+
}
|
|
3251
|
+
|
|
3252
|
+
static types(): { [key: string]: any } {
|
|
3253
|
+
return {
|
|
3254
|
+
certifyId: 'string',
|
|
3255
|
+
materialInfo: 'string',
|
|
3256
|
+
passed: 'string',
|
|
3257
|
+
subCode: 'string',
|
|
3258
|
+
};
|
|
3259
|
+
}
|
|
3260
|
+
|
|
3261
|
+
constructor(map?: { [key: string]: any }) {
|
|
3262
|
+
super(map);
|
|
3263
|
+
}
|
|
3264
|
+
}
|
|
3265
|
+
|
|
3266
|
+
export class Mobile3MetaDetailVerifyResponseBodyResultObject extends $tea.Model {
|
|
3267
|
+
bizCode?: string;
|
|
3268
|
+
ispName?: string;
|
|
3269
|
+
subCode?: string;
|
|
3270
|
+
static names(): { [key: string]: string } {
|
|
3271
|
+
return {
|
|
3272
|
+
bizCode: 'BizCode',
|
|
3273
|
+
ispName: 'IspName',
|
|
3274
|
+
subCode: 'SubCode',
|
|
3275
|
+
};
|
|
3276
|
+
}
|
|
3277
|
+
|
|
3278
|
+
static types(): { [key: string]: any } {
|
|
3279
|
+
return {
|
|
3280
|
+
bizCode: 'string',
|
|
3281
|
+
ispName: 'string',
|
|
3282
|
+
subCode: 'string',
|
|
3283
|
+
};
|
|
3284
|
+
}
|
|
3285
|
+
|
|
3286
|
+
constructor(map?: { [key: string]: any }) {
|
|
3287
|
+
super(map);
|
|
3288
|
+
}
|
|
3289
|
+
}
|
|
3290
|
+
|
|
3291
|
+
export class Mobile3MetaSimpleVerifyResponseBodyResultObject extends $tea.Model {
|
|
2595
3292
|
bizCode?: string;
|
|
3293
|
+
ispName?: string;
|
|
2596
3294
|
static names(): { [key: string]: string } {
|
|
2597
3295
|
return {
|
|
2598
3296
|
bizCode: 'BizCode',
|
|
3297
|
+
ispName: 'IspName',
|
|
2599
3298
|
};
|
|
2600
3299
|
}
|
|
2601
3300
|
|
|
2602
3301
|
static types(): { [key: string]: any } {
|
|
2603
3302
|
return {
|
|
2604
3303
|
bizCode: 'string',
|
|
3304
|
+
ispName: 'string',
|
|
2605
3305
|
};
|
|
2606
3306
|
}
|
|
2607
3307
|
|
|
@@ -2610,20 +3310,29 @@ export class Id2MetaVerifyResponseBodyResultObject extends $tea.Model {
|
|
|
2610
3310
|
}
|
|
2611
3311
|
}
|
|
2612
3312
|
|
|
2613
|
-
export class
|
|
2614
|
-
|
|
2615
|
-
|
|
3313
|
+
export class MobileDetectResponseBodyResultObjectItems extends $tea.Model {
|
|
3314
|
+
area?: string;
|
|
3315
|
+
bizCode?: string;
|
|
3316
|
+
ispName?: string;
|
|
3317
|
+
mobile?: string;
|
|
3318
|
+
subCode?: string;
|
|
2616
3319
|
static names(): { [key: string]: string } {
|
|
2617
3320
|
return {
|
|
2618
|
-
|
|
2619
|
-
|
|
3321
|
+
area: 'Area',
|
|
3322
|
+
bizCode: 'BizCode',
|
|
3323
|
+
ispName: 'IspName',
|
|
3324
|
+
mobile: 'Mobile',
|
|
3325
|
+
subCode: 'SubCode',
|
|
2620
3326
|
};
|
|
2621
3327
|
}
|
|
2622
3328
|
|
|
2623
3329
|
static types(): { [key: string]: any } {
|
|
2624
3330
|
return {
|
|
2625
|
-
|
|
2626
|
-
|
|
3331
|
+
area: 'string',
|
|
3332
|
+
bizCode: 'string',
|
|
3333
|
+
ispName: 'string',
|
|
3334
|
+
mobile: 'string',
|
|
3335
|
+
subCode: 'string',
|
|
2627
3336
|
};
|
|
2628
3337
|
}
|
|
2629
3338
|
|
|
@@ -2632,26 +3341,20 @@ export class InitFaceVerifyResponseBodyResultObject extends $tea.Model {
|
|
|
2632
3341
|
}
|
|
2633
3342
|
}
|
|
2634
3343
|
|
|
2635
|
-
export class
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
passed?: string;
|
|
2639
|
-
subCode?: string;
|
|
3344
|
+
export class MobileDetectResponseBodyResultObject extends $tea.Model {
|
|
3345
|
+
chargeCount?: string;
|
|
3346
|
+
items?: MobileDetectResponseBodyResultObjectItems[];
|
|
2640
3347
|
static names(): { [key: string]: string } {
|
|
2641
3348
|
return {
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
passed: 'Passed',
|
|
2645
|
-
subCode: 'SubCode',
|
|
3349
|
+
chargeCount: 'ChargeCount',
|
|
3350
|
+
items: 'Items',
|
|
2646
3351
|
};
|
|
2647
3352
|
}
|
|
2648
3353
|
|
|
2649
3354
|
static types(): { [key: string]: any } {
|
|
2650
3355
|
return {
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
passed: 'string',
|
|
2654
|
-
subCode: 'string',
|
|
3356
|
+
chargeCount: 'string',
|
|
3357
|
+
items: { 'type': 'array', 'itemType': MobileDetectResponseBodyResultObjectItems },
|
|
2655
3358
|
};
|
|
2656
3359
|
}
|
|
2657
3360
|
|
|
@@ -2660,7 +3363,7 @@ export class LivenessFaceVerifyResponseBodyResultObject extends $tea.Model {
|
|
|
2660
3363
|
}
|
|
2661
3364
|
}
|
|
2662
3365
|
|
|
2663
|
-
export class
|
|
3366
|
+
export class MobileOnlineStatusResponseBodyResultObject extends $tea.Model {
|
|
2664
3367
|
bizCode?: string;
|
|
2665
3368
|
ispName?: string;
|
|
2666
3369
|
subCode?: string;
|
|
@@ -2685,13 +3388,15 @@ export class Mobile3MetaDetailVerifyResponseBodyResultObject extends $tea.Model
|
|
|
2685
3388
|
}
|
|
2686
3389
|
}
|
|
2687
3390
|
|
|
2688
|
-
export class
|
|
3391
|
+
export class MobileOnlineTimeResponseBodyResultObject extends $tea.Model {
|
|
2689
3392
|
bizCode?: string;
|
|
2690
3393
|
ispName?: string;
|
|
3394
|
+
timeCode?: string;
|
|
2691
3395
|
static names(): { [key: string]: string } {
|
|
2692
3396
|
return {
|
|
2693
3397
|
bizCode: 'BizCode',
|
|
2694
3398
|
ispName: 'IspName',
|
|
3399
|
+
timeCode: 'TimeCode',
|
|
2695
3400
|
};
|
|
2696
3401
|
}
|
|
2697
3402
|
|
|
@@ -2699,6 +3404,7 @@ export class Mobile3MetaSimpleVerifyResponseBodyResultObject extends $tea.Model
|
|
|
2699
3404
|
return {
|
|
2700
3405
|
bizCode: 'string',
|
|
2701
3406
|
ispName: 'string',
|
|
3407
|
+
timeCode: 'string',
|
|
2702
3408
|
};
|
|
2703
3409
|
}
|
|
2704
3410
|
|
|
@@ -2868,6 +3574,59 @@ export default class Client extends OpenApi {
|
|
|
2868
3574
|
return await this.aIGCFaceVerifyWithOptions(request, runtime);
|
|
2869
3575
|
}
|
|
2870
3576
|
|
|
3577
|
+
async bankMetaVerifyWithOptions(request: BankMetaVerifyRequest, runtime: $Util.RuntimeOptions): Promise<BankMetaVerifyResponse> {
|
|
3578
|
+
Util.validateModel(request);
|
|
3579
|
+
let query = { };
|
|
3580
|
+
if (!Util.isUnset(request.bankCard)) {
|
|
3581
|
+
query["BankCard"] = request.bankCard;
|
|
3582
|
+
}
|
|
3583
|
+
|
|
3584
|
+
if (!Util.isUnset(request.identifyNum)) {
|
|
3585
|
+
query["IdentifyNum"] = request.identifyNum;
|
|
3586
|
+
}
|
|
3587
|
+
|
|
3588
|
+
if (!Util.isUnset(request.mobile)) {
|
|
3589
|
+
query["Mobile"] = request.mobile;
|
|
3590
|
+
}
|
|
3591
|
+
|
|
3592
|
+
if (!Util.isUnset(request.paramType)) {
|
|
3593
|
+
query["ParamType"] = request.paramType;
|
|
3594
|
+
}
|
|
3595
|
+
|
|
3596
|
+
if (!Util.isUnset(request.productType)) {
|
|
3597
|
+
query["ProductType"] = request.productType;
|
|
3598
|
+
}
|
|
3599
|
+
|
|
3600
|
+
if (!Util.isUnset(request.userName)) {
|
|
3601
|
+
query["UserName"] = request.userName;
|
|
3602
|
+
}
|
|
3603
|
+
|
|
3604
|
+
if (!Util.isUnset(request.verifyMode)) {
|
|
3605
|
+
query["VerifyMode"] = request.verifyMode;
|
|
3606
|
+
}
|
|
3607
|
+
|
|
3608
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3609
|
+
query: OpenApiUtil.query(query),
|
|
3610
|
+
});
|
|
3611
|
+
let params = new $OpenApi.Params({
|
|
3612
|
+
action: "BankMetaVerify",
|
|
3613
|
+
version: "2019-03-07",
|
|
3614
|
+
protocol: "HTTPS",
|
|
3615
|
+
pathname: "/",
|
|
3616
|
+
method: "POST",
|
|
3617
|
+
authType: "AK",
|
|
3618
|
+
style: "RPC",
|
|
3619
|
+
reqBodyType: "formData",
|
|
3620
|
+
bodyType: "json",
|
|
3621
|
+
});
|
|
3622
|
+
return $tea.cast<BankMetaVerifyResponse>(await this.callApi(params, req, runtime), new BankMetaVerifyResponse({}));
|
|
3623
|
+
}
|
|
3624
|
+
|
|
3625
|
+
async bankMetaVerify(request: BankMetaVerifyRequest): Promise<BankMetaVerifyResponse> {
|
|
3626
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
3627
|
+
return await this.bankMetaVerifyWithOptions(request, runtime);
|
|
3628
|
+
}
|
|
3629
|
+
|
|
2871
3630
|
async compareFaceVerifyWithOptions(request: CompareFaceVerifyRequest, runtime: $Util.RuntimeOptions): Promise<CompareFaceVerifyResponse> {
|
|
2872
3631
|
Util.validateModel(request);
|
|
2873
3632
|
let body : {[key: string ]: any} = { };
|
|
@@ -3257,6 +4016,69 @@ export default class Client extends OpenApi {
|
|
|
3257
4016
|
return await this.createVerifySettingWithOptions(request, runtime);
|
|
3258
4017
|
}
|
|
3259
4018
|
|
|
4019
|
+
async credentialVerifyWithOptions(request: CredentialVerifyRequest, runtime: $Util.RuntimeOptions): Promise<CredentialVerifyResponse> {
|
|
4020
|
+
Util.validateModel(request);
|
|
4021
|
+
let query = { };
|
|
4022
|
+
if (!Util.isUnset(request.certNum)) {
|
|
4023
|
+
query["CertNum"] = request.certNum;
|
|
4024
|
+
}
|
|
4025
|
+
|
|
4026
|
+
if (!Util.isUnset(request.credName)) {
|
|
4027
|
+
query["CredName"] = request.credName;
|
|
4028
|
+
}
|
|
4029
|
+
|
|
4030
|
+
if (!Util.isUnset(request.credType)) {
|
|
4031
|
+
query["CredType"] = request.credType;
|
|
4032
|
+
}
|
|
4033
|
+
|
|
4034
|
+
if (!Util.isUnset(request.identifyNum)) {
|
|
4035
|
+
query["IdentifyNum"] = request.identifyNum;
|
|
4036
|
+
}
|
|
4037
|
+
|
|
4038
|
+
if (!Util.isUnset(request.imageUrl)) {
|
|
4039
|
+
query["ImageUrl"] = request.imageUrl;
|
|
4040
|
+
}
|
|
4041
|
+
|
|
4042
|
+
if (!Util.isUnset(request.isCheck)) {
|
|
4043
|
+
query["IsCheck"] = request.isCheck;
|
|
4044
|
+
}
|
|
4045
|
+
|
|
4046
|
+
if (!Util.isUnset(request.isOCR)) {
|
|
4047
|
+
query["IsOCR"] = request.isOCR;
|
|
4048
|
+
}
|
|
4049
|
+
|
|
4050
|
+
if (!Util.isUnset(request.userName)) {
|
|
4051
|
+
query["UserName"] = request.userName;
|
|
4052
|
+
}
|
|
4053
|
+
|
|
4054
|
+
let body : {[key: string ]: any} = { };
|
|
4055
|
+
if (!Util.isUnset(request.imageContext)) {
|
|
4056
|
+
body["ImageContext"] = request.imageContext;
|
|
4057
|
+
}
|
|
4058
|
+
|
|
4059
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4060
|
+
query: OpenApiUtil.query(query),
|
|
4061
|
+
body: OpenApiUtil.parseToMap(body),
|
|
4062
|
+
});
|
|
4063
|
+
let params = new $OpenApi.Params({
|
|
4064
|
+
action: "CredentialVerify",
|
|
4065
|
+
version: "2019-03-07",
|
|
4066
|
+
protocol: "HTTPS",
|
|
4067
|
+
pathname: "/",
|
|
4068
|
+
method: "POST",
|
|
4069
|
+
authType: "AK",
|
|
4070
|
+
style: "RPC",
|
|
4071
|
+
reqBodyType: "formData",
|
|
4072
|
+
bodyType: "json",
|
|
4073
|
+
});
|
|
4074
|
+
return $tea.cast<CredentialVerifyResponse>(await this.callApi(params, req, runtime), new CredentialVerifyResponse({}));
|
|
4075
|
+
}
|
|
4076
|
+
|
|
4077
|
+
async credentialVerify(request: CredentialVerifyRequest): Promise<CredentialVerifyResponse> {
|
|
4078
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4079
|
+
return await this.credentialVerifyWithOptions(request, runtime);
|
|
4080
|
+
}
|
|
4081
|
+
|
|
3260
4082
|
async describeDeviceInfoWithOptions(request: DescribeDeviceInfoRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDeviceInfoResponse> {
|
|
3261
4083
|
Util.validateModel(request);
|
|
3262
4084
|
let query = { };
|
|
@@ -3368,6 +4190,55 @@ export default class Client extends OpenApi {
|
|
|
3368
4190
|
return await this.describeOssUploadTokenWithOptions(runtime);
|
|
3369
4191
|
}
|
|
3370
4192
|
|
|
4193
|
+
async describePageFaceVerifyDataWithOptions(request: DescribePageFaceVerifyDataRequest, runtime: $Util.RuntimeOptions): Promise<DescribePageFaceVerifyDataResponse> {
|
|
4194
|
+
Util.validateModel(request);
|
|
4195
|
+
let query = { };
|
|
4196
|
+
if (!Util.isUnset(request.currentPage)) {
|
|
4197
|
+
query["CurrentPage"] = request.currentPage;
|
|
4198
|
+
}
|
|
4199
|
+
|
|
4200
|
+
if (!Util.isUnset(request.endDate)) {
|
|
4201
|
+
query["EndDate"] = request.endDate;
|
|
4202
|
+
}
|
|
4203
|
+
|
|
4204
|
+
if (!Util.isUnset(request.pageSize)) {
|
|
4205
|
+
query["PageSize"] = request.pageSize;
|
|
4206
|
+
}
|
|
4207
|
+
|
|
4208
|
+
if (!Util.isUnset(request.productCode)) {
|
|
4209
|
+
query["ProductCode"] = request.productCode;
|
|
4210
|
+
}
|
|
4211
|
+
|
|
4212
|
+
if (!Util.isUnset(request.sceneId)) {
|
|
4213
|
+
query["SceneId"] = request.sceneId;
|
|
4214
|
+
}
|
|
4215
|
+
|
|
4216
|
+
if (!Util.isUnset(request.startDate)) {
|
|
4217
|
+
query["StartDate"] = request.startDate;
|
|
4218
|
+
}
|
|
4219
|
+
|
|
4220
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4221
|
+
query: OpenApiUtil.query(query),
|
|
4222
|
+
});
|
|
4223
|
+
let params = new $OpenApi.Params({
|
|
4224
|
+
action: "DescribePageFaceVerifyData",
|
|
4225
|
+
version: "2019-03-07",
|
|
4226
|
+
protocol: "HTTPS",
|
|
4227
|
+
pathname: "/",
|
|
4228
|
+
method: "POST",
|
|
4229
|
+
authType: "AK",
|
|
4230
|
+
style: "RPC",
|
|
4231
|
+
reqBodyType: "formData",
|
|
4232
|
+
bodyType: "json",
|
|
4233
|
+
});
|
|
4234
|
+
return $tea.cast<DescribePageFaceVerifyDataResponse>(await this.callApi(params, req, runtime), new DescribePageFaceVerifyDataResponse({}));
|
|
4235
|
+
}
|
|
4236
|
+
|
|
4237
|
+
async describePageFaceVerifyData(request: DescribePageFaceVerifyDataRequest): Promise<DescribePageFaceVerifyDataResponse> {
|
|
4238
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4239
|
+
return await this.describePageFaceVerifyDataWithOptions(request, runtime);
|
|
4240
|
+
}
|
|
4241
|
+
|
|
3371
4242
|
async describeSmartStatisticsPageListWithOptions(request: DescribeSmartStatisticsPageListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSmartStatisticsPageListResponse> {
|
|
3372
4243
|
Util.validateModel(request);
|
|
3373
4244
|
let query = { };
|
|
@@ -3958,6 +4829,105 @@ export default class Client extends OpenApi {
|
|
|
3958
4829
|
return await this.mobile3MetaSimpleVerifyWithOptions(request, runtime);
|
|
3959
4830
|
}
|
|
3960
4831
|
|
|
4832
|
+
async mobileDetectWithOptions(request: MobileDetectRequest, runtime: $Util.RuntimeOptions): Promise<MobileDetectResponse> {
|
|
4833
|
+
Util.validateModel(request);
|
|
4834
|
+
let query = { };
|
|
4835
|
+
if (!Util.isUnset(request.mobiles)) {
|
|
4836
|
+
query["Mobiles"] = request.mobiles;
|
|
4837
|
+
}
|
|
4838
|
+
|
|
4839
|
+
if (!Util.isUnset(request.paramType)) {
|
|
4840
|
+
query["ParamType"] = request.paramType;
|
|
4841
|
+
}
|
|
4842
|
+
|
|
4843
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4844
|
+
query: OpenApiUtil.query(query),
|
|
4845
|
+
});
|
|
4846
|
+
let params = new $OpenApi.Params({
|
|
4847
|
+
action: "MobileDetect",
|
|
4848
|
+
version: "2019-03-07",
|
|
4849
|
+
protocol: "HTTPS",
|
|
4850
|
+
pathname: "/",
|
|
4851
|
+
method: "POST",
|
|
4852
|
+
authType: "AK",
|
|
4853
|
+
style: "RPC",
|
|
4854
|
+
reqBodyType: "formData",
|
|
4855
|
+
bodyType: "json",
|
|
4856
|
+
});
|
|
4857
|
+
return $tea.cast<MobileDetectResponse>(await this.callApi(params, req, runtime), new MobileDetectResponse({}));
|
|
4858
|
+
}
|
|
4859
|
+
|
|
4860
|
+
async mobileDetect(request: MobileDetectRequest): Promise<MobileDetectResponse> {
|
|
4861
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4862
|
+
return await this.mobileDetectWithOptions(request, runtime);
|
|
4863
|
+
}
|
|
4864
|
+
|
|
4865
|
+
async mobileOnlineStatusWithOptions(request: MobileOnlineStatusRequest, runtime: $Util.RuntimeOptions): Promise<MobileOnlineStatusResponse> {
|
|
4866
|
+
Util.validateModel(request);
|
|
4867
|
+
let query = { };
|
|
4868
|
+
if (!Util.isUnset(request.mobile)) {
|
|
4869
|
+
query["Mobile"] = request.mobile;
|
|
4870
|
+
}
|
|
4871
|
+
|
|
4872
|
+
if (!Util.isUnset(request.paramType)) {
|
|
4873
|
+
query["ParamType"] = request.paramType;
|
|
4874
|
+
}
|
|
4875
|
+
|
|
4876
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4877
|
+
query: OpenApiUtil.query(query),
|
|
4878
|
+
});
|
|
4879
|
+
let params = new $OpenApi.Params({
|
|
4880
|
+
action: "MobileOnlineStatus",
|
|
4881
|
+
version: "2019-03-07",
|
|
4882
|
+
protocol: "HTTPS",
|
|
4883
|
+
pathname: "/",
|
|
4884
|
+
method: "POST",
|
|
4885
|
+
authType: "AK",
|
|
4886
|
+
style: "RPC",
|
|
4887
|
+
reqBodyType: "formData",
|
|
4888
|
+
bodyType: "json",
|
|
4889
|
+
});
|
|
4890
|
+
return $tea.cast<MobileOnlineStatusResponse>(await this.callApi(params, req, runtime), new MobileOnlineStatusResponse({}));
|
|
4891
|
+
}
|
|
4892
|
+
|
|
4893
|
+
async mobileOnlineStatus(request: MobileOnlineStatusRequest): Promise<MobileOnlineStatusResponse> {
|
|
4894
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4895
|
+
return await this.mobileOnlineStatusWithOptions(request, runtime);
|
|
4896
|
+
}
|
|
4897
|
+
|
|
4898
|
+
async mobileOnlineTimeWithOptions(request: MobileOnlineTimeRequest, runtime: $Util.RuntimeOptions): Promise<MobileOnlineTimeResponse> {
|
|
4899
|
+
Util.validateModel(request);
|
|
4900
|
+
let query = { };
|
|
4901
|
+
if (!Util.isUnset(request.mobile)) {
|
|
4902
|
+
query["Mobile"] = request.mobile;
|
|
4903
|
+
}
|
|
4904
|
+
|
|
4905
|
+
if (!Util.isUnset(request.paramType)) {
|
|
4906
|
+
query["ParamType"] = request.paramType;
|
|
4907
|
+
}
|
|
4908
|
+
|
|
4909
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4910
|
+
query: OpenApiUtil.query(query),
|
|
4911
|
+
});
|
|
4912
|
+
let params = new $OpenApi.Params({
|
|
4913
|
+
action: "MobileOnlineTime",
|
|
4914
|
+
version: "2019-03-07",
|
|
4915
|
+
protocol: "HTTPS",
|
|
4916
|
+
pathname: "/",
|
|
4917
|
+
method: "POST",
|
|
4918
|
+
authType: "AK",
|
|
4919
|
+
style: "RPC",
|
|
4920
|
+
reqBodyType: "formData",
|
|
4921
|
+
bodyType: "json",
|
|
4922
|
+
});
|
|
4923
|
+
return $tea.cast<MobileOnlineTimeResponse>(await this.callApi(params, req, runtime), new MobileOnlineTimeResponse({}));
|
|
4924
|
+
}
|
|
4925
|
+
|
|
4926
|
+
async mobileOnlineTime(request: MobileOnlineTimeRequest): Promise<MobileOnlineTimeResponse> {
|
|
4927
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4928
|
+
return await this.mobileOnlineTimeWithOptions(request, runtime);
|
|
4929
|
+
}
|
|
4930
|
+
|
|
3961
4931
|
async modifyDeviceInfoWithOptions(request: ModifyDeviceInfoRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDeviceInfoResponse> {
|
|
3962
4932
|
Util.validateModel(request);
|
|
3963
4933
|
let query = { };
|