@alicloud/cloudauth20190307 2.7.0 → 3.0.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/src/client.ts CHANGED
@@ -1157,7 +1157,11 @@ export class CredentialVerifyRequest extends $tea.Model {
1157
1157
  * 1
1158
1158
  */
1159
1159
  isOCR?: string;
1160
+ merchantDetail?: CredentialVerifyRequestMerchantDetail[];
1160
1161
  merchantId?: string;
1162
+ productCode?: string;
1163
+ prompt?: string;
1164
+ promptModel?: string;
1161
1165
  userName?: string;
1162
1166
  static names(): { [key: string]: string } {
1163
1167
  return {
@@ -1169,7 +1173,11 @@ export class CredentialVerifyRequest extends $tea.Model {
1169
1173
  imageUrl: 'ImageUrl',
1170
1174
  isCheck: 'IsCheck',
1171
1175
  isOCR: 'IsOCR',
1176
+ merchantDetail: 'MerchantDetail',
1172
1177
  merchantId: 'MerchantId',
1178
+ productCode: 'ProductCode',
1179
+ prompt: 'Prompt',
1180
+ promptModel: 'PromptModel',
1173
1181
  userName: 'UserName',
1174
1182
  };
1175
1183
  }
@@ -1184,7 +1192,101 @@ export class CredentialVerifyRequest extends $tea.Model {
1184
1192
  imageUrl: 'string',
1185
1193
  isCheck: 'string',
1186
1194
  isOCR: 'string',
1195
+ merchantDetail: { 'type': 'array', 'itemType': CredentialVerifyRequestMerchantDetail },
1187
1196
  merchantId: 'string',
1197
+ productCode: 'string',
1198
+ prompt: 'string',
1199
+ promptModel: 'string',
1200
+ userName: 'string',
1201
+ };
1202
+ }
1203
+
1204
+ constructor(map?: { [key: string]: any }) {
1205
+ super(map);
1206
+ }
1207
+ }
1208
+
1209
+ export class CredentialVerifyShrinkRequest extends $tea.Model {
1210
+ /**
1211
+ * @example
1212
+ * 4601*****
1213
+ */
1214
+ certNum?: string;
1215
+ /**
1216
+ * @example
1217
+ * 0104
1218
+ */
1219
+ credName?: string;
1220
+ /**
1221
+ * @example
1222
+ * 01
1223
+ */
1224
+ credType?: string;
1225
+ /**
1226
+ * @example
1227
+ * 429001********8211
1228
+ */
1229
+ identifyNum?: string;
1230
+ /**
1231
+ * @example
1232
+ * base64
1233
+ */
1234
+ imageContext?: string;
1235
+ /**
1236
+ * @example
1237
+ * http://marry.momocdn.com/avatar/3B/B6/3BB6527E-7467-926E-1048-B43614F20CC420230803_L.jpg
1238
+ */
1239
+ imageUrl?: string;
1240
+ /**
1241
+ * @example
1242
+ * 0
1243
+ */
1244
+ isCheck?: string;
1245
+ /**
1246
+ * @example
1247
+ * 1
1248
+ */
1249
+ isOCR?: string;
1250
+ merchantDetailShrink?: string;
1251
+ merchantId?: string;
1252
+ productCode?: string;
1253
+ prompt?: string;
1254
+ promptModel?: string;
1255
+ userName?: string;
1256
+ static names(): { [key: string]: string } {
1257
+ return {
1258
+ certNum: 'CertNum',
1259
+ credName: 'CredName',
1260
+ credType: 'CredType',
1261
+ identifyNum: 'IdentifyNum',
1262
+ imageContext: 'ImageContext',
1263
+ imageUrl: 'ImageUrl',
1264
+ isCheck: 'IsCheck',
1265
+ isOCR: 'IsOCR',
1266
+ merchantDetailShrink: 'MerchantDetail',
1267
+ merchantId: 'MerchantId',
1268
+ productCode: 'ProductCode',
1269
+ prompt: 'Prompt',
1270
+ promptModel: 'PromptModel',
1271
+ userName: 'UserName',
1272
+ };
1273
+ }
1274
+
1275
+ static types(): { [key: string]: any } {
1276
+ return {
1277
+ certNum: 'string',
1278
+ credName: 'string',
1279
+ credType: 'string',
1280
+ identifyNum: 'string',
1281
+ imageContext: 'string',
1282
+ imageUrl: 'string',
1283
+ isCheck: 'string',
1284
+ isOCR: 'string',
1285
+ merchantDetailShrink: 'string',
1286
+ merchantId: 'string',
1287
+ productCode: 'string',
1288
+ prompt: 'string',
1289
+ promptModel: 'string',
1188
1290
  userName: 'string',
1189
1291
  };
1190
1292
  }
@@ -2807,6 +2909,143 @@ export class InitFaceVerifyResponse extends $tea.Model {
2807
2909
  }
2808
2910
  }
2809
2911
 
2912
+ export class InsertWhiteListSettingRequest extends $tea.Model {
2913
+ /**
2914
+ * @example
2915
+ * 330103xxxxxxxxxxxx
2916
+ */
2917
+ certNo?: string;
2918
+ /**
2919
+ * @example
2920
+ * shsf57a4e0d9981c3bd66dc754f3d3cd
2921
+ */
2922
+ certifyId?: string;
2923
+ /**
2924
+ * @example
2925
+ * xxxxxx
2926
+ */
2927
+ remark?: string;
2928
+ /**
2929
+ * @example
2930
+ * 100000xxxx
2931
+ */
2932
+ sceneId?: number;
2933
+ /**
2934
+ * @example
2935
+ * antcloudauth
2936
+ */
2937
+ serviceCode?: string;
2938
+ /**
2939
+ * @example
2940
+ * 30
2941
+ */
2942
+ validDay?: number;
2943
+ static names(): { [key: string]: string } {
2944
+ return {
2945
+ certNo: 'CertNo',
2946
+ certifyId: 'CertifyId',
2947
+ remark: 'Remark',
2948
+ sceneId: 'SceneId',
2949
+ serviceCode: 'ServiceCode',
2950
+ validDay: 'ValidDay',
2951
+ };
2952
+ }
2953
+
2954
+ static types(): { [key: string]: any } {
2955
+ return {
2956
+ certNo: 'string',
2957
+ certifyId: 'string',
2958
+ remark: 'string',
2959
+ sceneId: 'number',
2960
+ serviceCode: 'string',
2961
+ validDay: 'number',
2962
+ };
2963
+ }
2964
+
2965
+ constructor(map?: { [key: string]: any }) {
2966
+ super(map);
2967
+ }
2968
+ }
2969
+
2970
+ export class InsertWhiteListSettingResponseBody extends $tea.Model {
2971
+ /**
2972
+ * @example
2973
+ * 200
2974
+ */
2975
+ code?: string;
2976
+ /**
2977
+ * @example
2978
+ * success
2979
+ */
2980
+ message?: string;
2981
+ /**
2982
+ * @remarks
2983
+ * Id of the request
2984
+ *
2985
+ * @example
2986
+ * 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
2987
+ */
2988
+ requestId?: string;
2989
+ /**
2990
+ * @example
2991
+ * true
2992
+ */
2993
+ resultObject?: boolean;
2994
+ /**
2995
+ * @example
2996
+ * true
2997
+ */
2998
+ success?: boolean;
2999
+ static names(): { [key: string]: string } {
3000
+ return {
3001
+ code: 'Code',
3002
+ message: 'Message',
3003
+ requestId: 'RequestId',
3004
+ resultObject: 'ResultObject',
3005
+ success: 'Success',
3006
+ };
3007
+ }
3008
+
3009
+ static types(): { [key: string]: any } {
3010
+ return {
3011
+ code: 'string',
3012
+ message: 'string',
3013
+ requestId: 'string',
3014
+ resultObject: 'boolean',
3015
+ success: 'boolean',
3016
+ };
3017
+ }
3018
+
3019
+ constructor(map?: { [key: string]: any }) {
3020
+ super(map);
3021
+ }
3022
+ }
3023
+
3024
+ export class InsertWhiteListSettingResponse extends $tea.Model {
3025
+ headers?: { [key: string]: string };
3026
+ statusCode?: number;
3027
+ body?: InsertWhiteListSettingResponseBody;
3028
+ static names(): { [key: string]: string } {
3029
+ return {
3030
+ headers: 'headers',
3031
+ statusCode: 'statusCode',
3032
+ body: 'body',
3033
+ };
3034
+ }
3035
+
3036
+ static types(): { [key: string]: any } {
3037
+ return {
3038
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3039
+ statusCode: 'number',
3040
+ body: InsertWhiteListSettingResponseBody,
3041
+ };
3042
+ }
3043
+
3044
+ constructor(map?: { [key: string]: any }) {
3045
+ super(map);
3046
+ }
3047
+ }
3048
+
2810
3049
  export class LivenessFaceVerifyRequest extends $tea.Model {
2811
3050
  certifyId?: string;
2812
3051
  crop?: string;
@@ -3516,7 +3755,320 @@ export class ModifyDeviceInfoResponseBody extends $tea.Model {
3516
3755
  deviceId: 'string',
3517
3756
  expiredDay: 'string',
3518
3757
  requestId: 'string',
3519
- userDeviceId: 'string',
3758
+ userDeviceId: 'string',
3759
+ };
3760
+ }
3761
+
3762
+ constructor(map?: { [key: string]: any }) {
3763
+ super(map);
3764
+ }
3765
+ }
3766
+
3767
+ export class ModifyDeviceInfoResponse extends $tea.Model {
3768
+ headers?: { [key: string]: string };
3769
+ statusCode?: number;
3770
+ body?: ModifyDeviceInfoResponseBody;
3771
+ static names(): { [key: string]: string } {
3772
+ return {
3773
+ headers: 'headers',
3774
+ statusCode: 'statusCode',
3775
+ body: 'body',
3776
+ };
3777
+ }
3778
+
3779
+ static types(): { [key: string]: any } {
3780
+ return {
3781
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3782
+ statusCode: 'number',
3783
+ body: ModifyDeviceInfoResponseBody,
3784
+ };
3785
+ }
3786
+
3787
+ constructor(map?: { [key: string]: any }) {
3788
+ super(map);
3789
+ }
3790
+ }
3791
+
3792
+ export class PageQueryWhiteListSettingRequest extends $tea.Model {
3793
+ /**
3794
+ * @example
3795
+ * 330103xxxxxxxxxxxx
3796
+ */
3797
+ certNo?: string;
3798
+ /**
3799
+ * @example
3800
+ * sha75b4e19a1ddda059b920757b0e12b
3801
+ */
3802
+ certifyId?: string;
3803
+ /**
3804
+ * @example
3805
+ * 1
3806
+ */
3807
+ currentPage?: number;
3808
+ /**
3809
+ * @example
3810
+ * 10
3811
+ */
3812
+ pageSize?: number;
3813
+ /**
3814
+ * @example
3815
+ * 1000000xxx
3816
+ */
3817
+ sceneId?: number;
3818
+ /**
3819
+ * @example
3820
+ * antcloudauth
3821
+ */
3822
+ serviceCode?: string;
3823
+ /**
3824
+ * @example
3825
+ * VALID
3826
+ */
3827
+ status?: string;
3828
+ /**
3829
+ * @example
3830
+ * 1725379200000
3831
+ */
3832
+ validEndDate?: string;
3833
+ /**
3834
+ * @example
3835
+ * 1725120000000
3836
+ */
3837
+ validStartDate?: string;
3838
+ static names(): { [key: string]: string } {
3839
+ return {
3840
+ certNo: 'CertNo',
3841
+ certifyId: 'CertifyId',
3842
+ currentPage: 'CurrentPage',
3843
+ pageSize: 'PageSize',
3844
+ sceneId: 'SceneId',
3845
+ serviceCode: 'ServiceCode',
3846
+ status: 'Status',
3847
+ validEndDate: 'ValidEndDate',
3848
+ validStartDate: 'ValidStartDate',
3849
+ };
3850
+ }
3851
+
3852
+ static types(): { [key: string]: any } {
3853
+ return {
3854
+ certNo: 'string',
3855
+ certifyId: 'string',
3856
+ currentPage: 'number',
3857
+ pageSize: 'number',
3858
+ sceneId: 'number',
3859
+ serviceCode: 'string',
3860
+ status: 'string',
3861
+ validEndDate: 'string',
3862
+ validStartDate: 'string',
3863
+ };
3864
+ }
3865
+
3866
+ constructor(map?: { [key: string]: any }) {
3867
+ super(map);
3868
+ }
3869
+ }
3870
+
3871
+ export class PageQueryWhiteListSettingResponseBody extends $tea.Model {
3872
+ /**
3873
+ * @example
3874
+ * 200
3875
+ */
3876
+ code?: string;
3877
+ /**
3878
+ * @example
3879
+ * 1
3880
+ */
3881
+ currentPage?: number;
3882
+ /**
3883
+ * @example
3884
+ * success
3885
+ */
3886
+ message?: string;
3887
+ /**
3888
+ * @example
3889
+ * 10
3890
+ */
3891
+ pageSize?: number;
3892
+ /**
3893
+ * @remarks
3894
+ * Id of the request
3895
+ *
3896
+ * @example
3897
+ * 5A6229C0-E156-48E4-B6EC-0F528BDF60D2
3898
+ */
3899
+ requestId?: string;
3900
+ resultObject?: PageQueryWhiteListSettingResponseBodyResultObject[];
3901
+ /**
3902
+ * @example
3903
+ * true
3904
+ */
3905
+ success?: boolean;
3906
+ /**
3907
+ * @example
3908
+ * 28
3909
+ */
3910
+ totalItem?: number;
3911
+ /**
3912
+ * @example
3913
+ * 3
3914
+ */
3915
+ totalPage?: number;
3916
+ static names(): { [key: string]: string } {
3917
+ return {
3918
+ code: 'Code',
3919
+ currentPage: 'CurrentPage',
3920
+ message: 'Message',
3921
+ pageSize: 'PageSize',
3922
+ requestId: 'RequestId',
3923
+ resultObject: 'ResultObject',
3924
+ success: 'Success',
3925
+ totalItem: 'TotalItem',
3926
+ totalPage: 'TotalPage',
3927
+ };
3928
+ }
3929
+
3930
+ static types(): { [key: string]: any } {
3931
+ return {
3932
+ code: 'string',
3933
+ currentPage: 'number',
3934
+ message: 'string',
3935
+ pageSize: 'number',
3936
+ requestId: 'string',
3937
+ resultObject: { 'type': 'array', 'itemType': PageQueryWhiteListSettingResponseBodyResultObject },
3938
+ success: 'boolean',
3939
+ totalItem: 'number',
3940
+ totalPage: 'number',
3941
+ };
3942
+ }
3943
+
3944
+ constructor(map?: { [key: string]: any }) {
3945
+ super(map);
3946
+ }
3947
+ }
3948
+
3949
+ export class PageQueryWhiteListSettingResponse extends $tea.Model {
3950
+ headers?: { [key: string]: string };
3951
+ statusCode?: number;
3952
+ body?: PageQueryWhiteListSettingResponseBody;
3953
+ static names(): { [key: string]: string } {
3954
+ return {
3955
+ headers: 'headers',
3956
+ statusCode: 'statusCode',
3957
+ body: 'body',
3958
+ };
3959
+ }
3960
+
3961
+ static types(): { [key: string]: any } {
3962
+ return {
3963
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3964
+ statusCode: 'number',
3965
+ body: PageQueryWhiteListSettingResponseBody,
3966
+ };
3967
+ }
3968
+
3969
+ constructor(map?: { [key: string]: any }) {
3970
+ super(map);
3971
+ }
3972
+ }
3973
+
3974
+ export class RemoveWhiteListSettingRequest extends $tea.Model {
3975
+ ids?: number[];
3976
+ /**
3977
+ * @example
3978
+ * antcloudauth
3979
+ */
3980
+ serviceCode?: string;
3981
+ static names(): { [key: string]: string } {
3982
+ return {
3983
+ ids: 'Ids',
3984
+ serviceCode: 'ServiceCode',
3985
+ };
3986
+ }
3987
+
3988
+ static types(): { [key: string]: any } {
3989
+ return {
3990
+ ids: { 'type': 'array', 'itemType': 'number' },
3991
+ serviceCode: 'string',
3992
+ };
3993
+ }
3994
+
3995
+ constructor(map?: { [key: string]: any }) {
3996
+ super(map);
3997
+ }
3998
+ }
3999
+
4000
+ export class RemoveWhiteListSettingShrinkRequest extends $tea.Model {
4001
+ idsShrink?: string;
4002
+ /**
4003
+ * @example
4004
+ * antcloudauth
4005
+ */
4006
+ serviceCode?: string;
4007
+ static names(): { [key: string]: string } {
4008
+ return {
4009
+ idsShrink: 'Ids',
4010
+ serviceCode: 'ServiceCode',
4011
+ };
4012
+ }
4013
+
4014
+ static types(): { [key: string]: any } {
4015
+ return {
4016
+ idsShrink: 'string',
4017
+ serviceCode: 'string',
4018
+ };
4019
+ }
4020
+
4021
+ constructor(map?: { [key: string]: any }) {
4022
+ super(map);
4023
+ }
4024
+ }
4025
+
4026
+ export class RemoveWhiteListSettingResponseBody extends $tea.Model {
4027
+ /**
4028
+ * @example
4029
+ * 200
4030
+ */
4031
+ code?: string;
4032
+ /**
4033
+ * @example
4034
+ * success
4035
+ */
4036
+ message?: string;
4037
+ /**
4038
+ * @remarks
4039
+ * Id of the request
4040
+ *
4041
+ * @example
4042
+ * 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
4043
+ */
4044
+ requestId?: string;
4045
+ /**
4046
+ * @example
4047
+ * true
4048
+ */
4049
+ resultObject?: boolean;
4050
+ /**
4051
+ * @example
4052
+ * true
4053
+ */
4054
+ success?: boolean;
4055
+ static names(): { [key: string]: string } {
4056
+ return {
4057
+ code: 'Code',
4058
+ message: 'Message',
4059
+ requestId: 'RequestId',
4060
+ resultObject: 'ResultObject',
4061
+ success: 'Success',
4062
+ };
4063
+ }
4064
+
4065
+ static types(): { [key: string]: any } {
4066
+ return {
4067
+ code: 'string',
4068
+ message: 'string',
4069
+ requestId: 'string',
4070
+ resultObject: 'boolean',
4071
+ success: 'boolean',
3520
4072
  };
3521
4073
  }
3522
4074
 
@@ -3525,10 +4077,10 @@ export class ModifyDeviceInfoResponseBody extends $tea.Model {
3525
4077
  }
3526
4078
  }
3527
4079
 
3528
- export class ModifyDeviceInfoResponse extends $tea.Model {
4080
+ export class RemoveWhiteListSettingResponse extends $tea.Model {
3529
4081
  headers?: { [key: string]: string };
3530
4082
  statusCode?: number;
3531
- body?: ModifyDeviceInfoResponseBody;
4083
+ body?: RemoveWhiteListSettingResponseBody;
3532
4084
  static names(): { [key: string]: string } {
3533
4085
  return {
3534
4086
  headers: 'headers',
@@ -3541,7 +4093,7 @@ export class ModifyDeviceInfoResponse extends $tea.Model {
3541
4093
  return {
3542
4094
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3543
4095
  statusCode: 'number',
3544
- body: ModifyDeviceInfoResponseBody,
4096
+ body: RemoveWhiteListSettingResponseBody,
3545
4097
  };
3546
4098
  }
3547
4099
 
@@ -4420,6 +4972,50 @@ export class ContrastFaceVerifyResponseBodyResultObject extends $tea.Model {
4420
4972
  }
4421
4973
  }
4422
4974
 
4975
+ export class CredentialVerifyRequestMerchantDetail extends $tea.Model {
4976
+ key?: string;
4977
+ value?: string;
4978
+ static names(): { [key: string]: string } {
4979
+ return {
4980
+ key: 'Key',
4981
+ value: 'Value',
4982
+ };
4983
+ }
4984
+
4985
+ static types(): { [key: string]: any } {
4986
+ return {
4987
+ key: 'string',
4988
+ value: 'string',
4989
+ };
4990
+ }
4991
+
4992
+ constructor(map?: { [key: string]: any }) {
4993
+ super(map);
4994
+ }
4995
+ }
4996
+
4997
+ export class CredentialVerifyResponseBodyResultObjectVlResult extends $tea.Model {
4998
+ success?: boolean;
4999
+ vlContent?: string;
5000
+ static names(): { [key: string]: string } {
5001
+ return {
5002
+ success: 'Success',
5003
+ vlContent: 'VlContent',
5004
+ };
5005
+ }
5006
+
5007
+ static types(): { [key: string]: any } {
5008
+ return {
5009
+ success: 'boolean',
5010
+ vlContent: 'string',
5011
+ };
5012
+ }
5013
+
5014
+ constructor(map?: { [key: string]: any }) {
5015
+ super(map);
5016
+ }
5017
+ }
5018
+
4423
5019
  export class CredentialVerifyResponseBodyResultObject extends $tea.Model {
4424
5020
  materialInfo?: string;
4425
5021
  ocrInfo?: string;
@@ -4444,6 +5040,7 @@ export class CredentialVerifyResponseBodyResultObject extends $tea.Model {
4444
5040
  * *
4445
5041
  */
4446
5042
  verifyResult?: string;
5043
+ vlResult?: CredentialVerifyResponseBodyResultObjectVlResult;
4447
5044
  static names(): { [key: string]: string } {
4448
5045
  return {
4449
5046
  materialInfo: 'MaterialInfo',
@@ -4453,6 +5050,7 @@ export class CredentialVerifyResponseBodyResultObject extends $tea.Model {
4453
5050
  riskTag: 'RiskTag',
4454
5051
  verifyDetail: 'VerifyDetail',
4455
5052
  verifyResult: 'VerifyResult',
5053
+ vlResult: 'VlResult',
4456
5054
  };
4457
5055
  }
4458
5056
 
@@ -4465,6 +5063,7 @@ export class CredentialVerifyResponseBodyResultObject extends $tea.Model {
4465
5063
  riskTag: 'string',
4466
5064
  verifyDetail: 'string',
4467
5065
  verifyResult: 'string',
5066
+ vlResult: CredentialVerifyResponseBodyResultObjectVlResult,
4468
5067
  };
4469
5068
  }
4470
5069
 
@@ -5551,6 +6150,99 @@ export class MobileOnlineTimeResponseBodyResultObject extends $tea.Model {
5551
6150
  }
5552
6151
  }
5553
6152
 
6153
+ export class PageQueryWhiteListSettingResponseBodyResultObject extends $tea.Model {
6154
+ /**
6155
+ * @example
6156
+ * 330103xxxxxxxxxxxx
6157
+ */
6158
+ certNo?: string;
6159
+ /**
6160
+ * @example
6161
+ * sha43d9cabd52d370d9f4cca9468f71e
6162
+ */
6163
+ certifyId?: string;
6164
+ /**
6165
+ * @example
6166
+ * 2024-08-30 14:00:00
6167
+ */
6168
+ gmtCreate?: string;
6169
+ /**
6170
+ * @example
6171
+ * 2024-08-30 14:00:00
6172
+ */
6173
+ gmtModified?: string;
6174
+ /**
6175
+ * @example
6176
+ * 234822
6177
+ */
6178
+ id?: number;
6179
+ /**
6180
+ * @example
6181
+ * test
6182
+ */
6183
+ remark?: string;
6184
+ /**
6185
+ * @example
6186
+ * 1000000332
6187
+ */
6188
+ sceneId?: number;
6189
+ /**
6190
+ * @example
6191
+ * antcloudauth
6192
+ */
6193
+ serviceCode?: string;
6194
+ /**
6195
+ * @example
6196
+ * VALID
6197
+ */
6198
+ status?: string;
6199
+ /**
6200
+ * @example
6201
+ * 2024-09-02 13:57:51
6202
+ */
6203
+ validEndDate?: string;
6204
+ /**
6205
+ * @example
6206
+ * 2024-08-30 13:57:51
6207
+ */
6208
+ validStartDate?: string;
6209
+ static names(): { [key: string]: string } {
6210
+ return {
6211
+ certNo: 'CertNo',
6212
+ certifyId: 'CertifyId',
6213
+ gmtCreate: 'GmtCreate',
6214
+ gmtModified: 'GmtModified',
6215
+ id: 'Id',
6216
+ remark: 'Remark',
6217
+ sceneId: 'SceneId',
6218
+ serviceCode: 'ServiceCode',
6219
+ status: 'Status',
6220
+ validEndDate: 'ValidEndDate',
6221
+ validStartDate: 'ValidStartDate',
6222
+ };
6223
+ }
6224
+
6225
+ static types(): { [key: string]: any } {
6226
+ return {
6227
+ certNo: 'string',
6228
+ certifyId: 'string',
6229
+ gmtCreate: 'string',
6230
+ gmtModified: 'string',
6231
+ id: 'number',
6232
+ remark: 'string',
6233
+ sceneId: 'number',
6234
+ serviceCode: 'string',
6235
+ status: 'string',
6236
+ validEndDate: 'string',
6237
+ validStartDate: 'string',
6238
+ };
6239
+ }
6240
+
6241
+ constructor(map?: { [key: string]: any }) {
6242
+ super(map);
6243
+ }
6244
+ }
6245
+
5554
6246
  export class Vehicle5ItemQueryResponseBodyResultObject extends $tea.Model {
5555
6247
  /**
5556
6248
  * @example
@@ -6413,12 +7105,18 @@ export default class Client extends OpenApi {
6413
7105
  /**
6414
7106
  * 凭证核验
6415
7107
  *
6416
- * @param request - CredentialVerifyRequest
7108
+ * @param tmpReq - CredentialVerifyRequest
6417
7109
  * @param runtime - runtime options for this request RuntimeOptions
6418
7110
  * @returns CredentialVerifyResponse
6419
7111
  */
6420
- async credentialVerifyWithOptions(request: CredentialVerifyRequest, runtime: $Util.RuntimeOptions): Promise<CredentialVerifyResponse> {
6421
- Util.validateModel(request);
7112
+ async credentialVerifyWithOptions(tmpReq: CredentialVerifyRequest, runtime: $Util.RuntimeOptions): Promise<CredentialVerifyResponse> {
7113
+ Util.validateModel(tmpReq);
7114
+ let request = new CredentialVerifyShrinkRequest({ });
7115
+ OpenApiUtil.convert(tmpReq, request);
7116
+ if (!Util.isUnset(tmpReq.merchantDetail)) {
7117
+ request.merchantDetailShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.merchantDetail, "MerchantDetail", "json");
7118
+ }
7119
+
6422
7120
  let query = { };
6423
7121
  if (!Util.isUnset(request.certNum)) {
6424
7122
  query["CertNum"] = request.certNum;
@@ -6448,10 +7146,26 @@ export default class Client extends OpenApi {
6448
7146
  query["IsOCR"] = request.isOCR;
6449
7147
  }
6450
7148
 
7149
+ if (!Util.isUnset(request.merchantDetailShrink)) {
7150
+ query["MerchantDetail"] = request.merchantDetailShrink;
7151
+ }
7152
+
6451
7153
  if (!Util.isUnset(request.merchantId)) {
6452
7154
  query["MerchantId"] = request.merchantId;
6453
7155
  }
6454
7156
 
7157
+ if (!Util.isUnset(request.productCode)) {
7158
+ query["ProductCode"] = request.productCode;
7159
+ }
7160
+
7161
+ if (!Util.isUnset(request.prompt)) {
7162
+ query["Prompt"] = request.prompt;
7163
+ }
7164
+
7165
+ if (!Util.isUnset(request.promptModel)) {
7166
+ query["PromptModel"] = request.promptModel;
7167
+ }
7168
+
6455
7169
  if (!Util.isUnset(request.userName)) {
6456
7170
  query["UserName"] = request.userName;
6457
7171
  }
@@ -7249,6 +7963,68 @@ export default class Client extends OpenApi {
7249
7963
  return await this.initFaceVerifyWithOptions(request, runtime);
7250
7964
  }
7251
7965
 
7966
+ /**
7967
+ * 新增实人白名单
7968
+ *
7969
+ * @param request - InsertWhiteListSettingRequest
7970
+ * @param runtime - runtime options for this request RuntimeOptions
7971
+ * @returns InsertWhiteListSettingResponse
7972
+ */
7973
+ async insertWhiteListSettingWithOptions(request: InsertWhiteListSettingRequest, runtime: $Util.RuntimeOptions): Promise<InsertWhiteListSettingResponse> {
7974
+ Util.validateModel(request);
7975
+ let query = { };
7976
+ if (!Util.isUnset(request.certNo)) {
7977
+ query["CertNo"] = request.certNo;
7978
+ }
7979
+
7980
+ if (!Util.isUnset(request.certifyId)) {
7981
+ query["CertifyId"] = request.certifyId;
7982
+ }
7983
+
7984
+ if (!Util.isUnset(request.remark)) {
7985
+ query["Remark"] = request.remark;
7986
+ }
7987
+
7988
+ if (!Util.isUnset(request.sceneId)) {
7989
+ query["SceneId"] = request.sceneId;
7990
+ }
7991
+
7992
+ if (!Util.isUnset(request.serviceCode)) {
7993
+ query["ServiceCode"] = request.serviceCode;
7994
+ }
7995
+
7996
+ if (!Util.isUnset(request.validDay)) {
7997
+ query["ValidDay"] = request.validDay;
7998
+ }
7999
+
8000
+ let req = new $OpenApi.OpenApiRequest({
8001
+ query: OpenApiUtil.query(query),
8002
+ });
8003
+ let params = new $OpenApi.Params({
8004
+ action: "InsertWhiteListSetting",
8005
+ version: "2019-03-07",
8006
+ protocol: "HTTPS",
8007
+ pathname: "/",
8008
+ method: "POST",
8009
+ authType: "AK",
8010
+ style: "RPC",
8011
+ reqBodyType: "formData",
8012
+ bodyType: "json",
8013
+ });
8014
+ return $tea.cast<InsertWhiteListSettingResponse>(await this.callApi(params, req, runtime), new InsertWhiteListSettingResponse({}));
8015
+ }
8016
+
8017
+ /**
8018
+ * 新增实人白名单
8019
+ *
8020
+ * @param request - InsertWhiteListSettingRequest
8021
+ * @returns InsertWhiteListSettingResponse
8022
+ */
8023
+ async insertWhiteListSetting(request: InsertWhiteListSettingRequest): Promise<InsertWhiteListSettingResponse> {
8024
+ let runtime = new $Util.RuntimeOptions({ });
8025
+ return await this.insertWhiteListSettingWithOptions(request, runtime);
8026
+ }
8027
+
7252
8028
  /**
7253
8029
  * @param request - LivenessFaceVerifyRequest
7254
8030
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7641,6 +8417,132 @@ export default class Client extends OpenApi {
7641
8417
  return await this.modifyDeviceInfoWithOptions(request, runtime);
7642
8418
  }
7643
8419
 
8420
+ /**
8421
+ * 分页查询实人白名单配置
8422
+ *
8423
+ * @param request - PageQueryWhiteListSettingRequest
8424
+ * @param runtime - runtime options for this request RuntimeOptions
8425
+ * @returns PageQueryWhiteListSettingResponse
8426
+ */
8427
+ async pageQueryWhiteListSettingWithOptions(request: PageQueryWhiteListSettingRequest, runtime: $Util.RuntimeOptions): Promise<PageQueryWhiteListSettingResponse> {
8428
+ Util.validateModel(request);
8429
+ let query = { };
8430
+ if (!Util.isUnset(request.certNo)) {
8431
+ query["CertNo"] = request.certNo;
8432
+ }
8433
+
8434
+ if (!Util.isUnset(request.certifyId)) {
8435
+ query["CertifyId"] = request.certifyId;
8436
+ }
8437
+
8438
+ if (!Util.isUnset(request.currentPage)) {
8439
+ query["CurrentPage"] = request.currentPage;
8440
+ }
8441
+
8442
+ if (!Util.isUnset(request.pageSize)) {
8443
+ query["PageSize"] = request.pageSize;
8444
+ }
8445
+
8446
+ if (!Util.isUnset(request.sceneId)) {
8447
+ query["SceneId"] = request.sceneId;
8448
+ }
8449
+
8450
+ if (!Util.isUnset(request.serviceCode)) {
8451
+ query["ServiceCode"] = request.serviceCode;
8452
+ }
8453
+
8454
+ if (!Util.isUnset(request.status)) {
8455
+ query["Status"] = request.status;
8456
+ }
8457
+
8458
+ if (!Util.isUnset(request.validEndDate)) {
8459
+ query["ValidEndDate"] = request.validEndDate;
8460
+ }
8461
+
8462
+ if (!Util.isUnset(request.validStartDate)) {
8463
+ query["ValidStartDate"] = request.validStartDate;
8464
+ }
8465
+
8466
+ let req = new $OpenApi.OpenApiRequest({
8467
+ query: OpenApiUtil.query(query),
8468
+ });
8469
+ let params = new $OpenApi.Params({
8470
+ action: "PageQueryWhiteListSetting",
8471
+ version: "2019-03-07",
8472
+ protocol: "HTTPS",
8473
+ pathname: "/",
8474
+ method: "POST",
8475
+ authType: "AK",
8476
+ style: "RPC",
8477
+ reqBodyType: "formData",
8478
+ bodyType: "json",
8479
+ });
8480
+ return $tea.cast<PageQueryWhiteListSettingResponse>(await this.callApi(params, req, runtime), new PageQueryWhiteListSettingResponse({}));
8481
+ }
8482
+
8483
+ /**
8484
+ * 分页查询实人白名单配置
8485
+ *
8486
+ * @param request - PageQueryWhiteListSettingRequest
8487
+ * @returns PageQueryWhiteListSettingResponse
8488
+ */
8489
+ async pageQueryWhiteListSetting(request: PageQueryWhiteListSettingRequest): Promise<PageQueryWhiteListSettingResponse> {
8490
+ let runtime = new $Util.RuntimeOptions({ });
8491
+ return await this.pageQueryWhiteListSettingWithOptions(request, runtime);
8492
+ }
8493
+
8494
+ /**
8495
+ * 删除实人白名单
8496
+ *
8497
+ * @param tmpReq - RemoveWhiteListSettingRequest
8498
+ * @param runtime - runtime options for this request RuntimeOptions
8499
+ * @returns RemoveWhiteListSettingResponse
8500
+ */
8501
+ async removeWhiteListSettingWithOptions(tmpReq: RemoveWhiteListSettingRequest, runtime: $Util.RuntimeOptions): Promise<RemoveWhiteListSettingResponse> {
8502
+ Util.validateModel(tmpReq);
8503
+ let request = new RemoveWhiteListSettingShrinkRequest({ });
8504
+ OpenApiUtil.convert(tmpReq, request);
8505
+ if (!Util.isUnset(tmpReq.ids)) {
8506
+ request.idsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.ids, "Ids", "json");
8507
+ }
8508
+
8509
+ let query = { };
8510
+ if (!Util.isUnset(request.idsShrink)) {
8511
+ query["Ids"] = request.idsShrink;
8512
+ }
8513
+
8514
+ if (!Util.isUnset(request.serviceCode)) {
8515
+ query["ServiceCode"] = request.serviceCode;
8516
+ }
8517
+
8518
+ let req = new $OpenApi.OpenApiRequest({
8519
+ query: OpenApiUtil.query(query),
8520
+ });
8521
+ let params = new $OpenApi.Params({
8522
+ action: "RemoveWhiteListSetting",
8523
+ version: "2019-03-07",
8524
+ protocol: "HTTPS",
8525
+ pathname: "/",
8526
+ method: "POST",
8527
+ authType: "AK",
8528
+ style: "RPC",
8529
+ reqBodyType: "formData",
8530
+ bodyType: "json",
8531
+ });
8532
+ return $tea.cast<RemoveWhiteListSettingResponse>(await this.callApi(params, req, runtime), new RemoveWhiteListSettingResponse({}));
8533
+ }
8534
+
8535
+ /**
8536
+ * 删除实人白名单
8537
+ *
8538
+ * @param request - RemoveWhiteListSettingRequest
8539
+ * @returns RemoveWhiteListSettingResponse
8540
+ */
8541
+ async removeWhiteListSetting(request: RemoveWhiteListSettingRequest): Promise<RemoveWhiteListSettingResponse> {
8542
+ let runtime = new $Util.RuntimeOptions({ });
8543
+ return await this.removeWhiteListSettingWithOptions(request, runtime);
8544
+ }
8545
+
7644
8546
  /**
7645
8547
  * 车五项信息识别
7646
8548
  *