Skip to content

Commit 530754a

Browse files
committed
Update API CredentialVerifyV2: add request parameters ImageContext.
1 parent 3bb53a5 commit 530754a

File tree

5 files changed

+14
-1
lines changed

5 files changed

+14
-1
lines changed

cloudauth-20190307/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@alicloud/cloudauth20190307",
3-
"version": "3.9.1",
3+
"version": "3.9.2",
44
"description": "",
55
"main": "dist/client.js",
66
"scripts": {

cloudauth-20190307/src/client.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -916,6 +916,10 @@ export default class Client extends OpenApi {
916916
}
917917

918918
let body : {[key: string ]: any} = { };
919+
if (!$dara.isNull(request.imageContext)) {
920+
body["ImageContext"] = request.imageContext;
921+
}
922+
919923
if (!$dara.isNull(request.imageFile)) {
920924
body["ImageFile"] = request.imageFile;
921925
}

cloudauth-20190307/src/models/CredentialVerifyV2advanceRequest.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ export class CredentialVerifyV2AdvanceRequest extends $dara.Model {
2525
* 4****************1
2626
*/
2727
identifyNum?: string;
28+
imageContext?: string;
2829
imageFileObject?: Readable;
2930
/**
3031
* @example
@@ -61,6 +62,7 @@ export class CredentialVerifyV2AdvanceRequest extends $dara.Model {
6162
credName: 'CredName',
6263
credType: 'CredType',
6364
identifyNum: 'IdentifyNum',
65+
imageContext: 'ImageContext',
6466
imageFileObject: 'ImageFile',
6567
imageUrl: 'ImageUrl',
6668
isCheck: 'IsCheck',
@@ -80,6 +82,7 @@ export class CredentialVerifyV2AdvanceRequest extends $dara.Model {
8082
credName: 'string',
8183
credType: 'string',
8284
identifyNum: 'string',
85+
imageContext: 'string',
8386
imageFileObject: 'Readable',
8487
imageUrl: 'string',
8588
isCheck: 'string',

cloudauth-20190307/src/models/CredentialVerifyV2request.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export class CredentialVerifyV2Request extends $dara.Model {
2424
* 4****************1
2525
*/
2626
identifyNum?: string;
27+
imageContext?: string;
2728
imageFile?: string;
2829
/**
2930
* @example
@@ -60,6 +61,7 @@ export class CredentialVerifyV2Request extends $dara.Model {
6061
credName: 'CredName',
6162
credType: 'CredType',
6263
identifyNum: 'IdentifyNum',
64+
imageContext: 'ImageContext',
6365
imageFile: 'ImageFile',
6466
imageUrl: 'ImageUrl',
6567
isCheck: 'IsCheck',
@@ -79,6 +81,7 @@ export class CredentialVerifyV2Request extends $dara.Model {
7981
credName: 'string',
8082
credType: 'string',
8183
identifyNum: 'string',
84+
imageContext: 'string',
8285
imageFile: 'string',
8386
imageUrl: 'string',
8487
isCheck: 'string',

cloudauth-20190307/src/models/CredentialVerifyV2shrinkRequest.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export class CredentialVerifyV2ShrinkRequest extends $dara.Model {
2323
* 4****************1
2424
*/
2525
identifyNum?: string;
26+
imageContext?: string;
2627
imageFile?: string;
2728
/**
2829
* @example
@@ -59,6 +60,7 @@ export class CredentialVerifyV2ShrinkRequest extends $dara.Model {
5960
credName: 'CredName',
6061
credType: 'CredType',
6162
identifyNum: 'IdentifyNum',
63+
imageContext: 'ImageContext',
6264
imageFile: 'ImageFile',
6365
imageUrl: 'ImageUrl',
6466
isCheck: 'IsCheck',
@@ -78,6 +80,7 @@ export class CredentialVerifyV2ShrinkRequest extends $dara.Model {
7880
credName: 'string',
7981
credType: 'string',
8082
identifyNum: 'string',
83+
imageContext: 'string',
8184
imageFile: 'string',
8285
imageUrl: 'string',
8386
isCheck: 'string',

0 commit comments

Comments
 (0)