File tree Expand file tree Collapse file tree 7 files changed +67
-3
lines changed Expand file tree Collapse file tree 7 files changed +67
-3
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @alicloud/dlfnext20250310" ,
3
- "version" : " 1.1.2 " ,
3
+ "version" : " 1.1.3 " ,
4
4
"description" : " " ,
5
5
"main" : " dist/client.js" ,
6
6
"scripts" : {
Original file line number Diff line number Diff line change @@ -912,6 +912,10 @@ export default class Client extends OpenApi {
912
912
query [ "database" ] = request . database ;
913
913
}
914
914
915
+ if ( ! $dara . isNull ( request . function ) ) {
916
+ query [ "function" ] = request . function ;
917
+ }
918
+
915
919
if ( ! $dara . isNull ( request . maxResults ) ) {
916
920
query [ "maxResults" ] = request . maxResults ;
917
921
}
@@ -932,6 +936,10 @@ export default class Client extends OpenApi {
932
936
query [ "table" ] = request . table ;
933
937
}
934
938
939
+ if ( ! $dara . isNull ( request . view ) ) {
940
+ query [ "view" ] = request . view ;
941
+ }
942
+
935
943
let req = new $OpenApiUtil . OpenApiRequest ( {
936
944
headers : headers ,
937
945
query : OpenApiUtil . query ( query ) ,
Original file line number Diff line number Diff line change 2
2
import * as $dara from '@darabonba/typescript' ;
3
3
4
4
5
- /**
6
- */
7
5
export class DescribeRegionsResponseBodyRegions extends $dara . Model {
8
6
/**
9
7
* @remarks
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ export class ListPermissionsRequest extends $dara.Model {
8
8
* database_name
9
9
*/
10
10
database ?: string ;
11
+ function ?: string ;
11
12
/**
12
13
* @example
13
14
* 1000
@@ -36,25 +37,30 @@ export class ListPermissionsRequest extends $dara.Model {
36
37
* table_name
37
38
*/
38
39
table ?: string ;
40
+ view ?: string ;
39
41
static names ( ) : { [ key : string ] : string } {
40
42
return {
41
43
database : 'database' ,
44
+ function : 'function' ,
42
45
maxResults : 'maxResults' ,
43
46
pageToken : 'pageToken' ,
44
47
principal : 'principal' ,
45
48
resourceType : 'resourceType' ,
46
49
table : 'table' ,
50
+ view : 'view' ,
47
51
} ;
48
52
}
49
53
50
54
static types ( ) : { [ key : string ] : any } {
51
55
return {
52
56
database : 'string' ,
57
+ function : 'string' ,
53
58
maxResults : 'number' ,
54
59
pageToken : 'string' ,
55
60
principal : 'string' ,
56
61
resourceType : 'string' ,
57
62
table : 'string' ,
63
+ view : 'string' ,
58
64
} ;
59
65
}
60
66
Original file line number Diff line number Diff line change 1
1
// This file is auto-generated, don't edit it
2
2
import * as $dara from '@darabonba/typescript' ;
3
+ import { PermissionColumns } from "./PermissionColumns" ;
3
4
4
5
5
6
export class Permission extends $dara . Model {
6
7
access ?: string ;
8
+ columns ?: PermissionColumns ;
7
9
database ?: string ;
10
+ function ?: string ;
8
11
principal ?: string ;
9
12
resourceType ?: string ;
10
13
table ?: string ;
14
+ view ?: string ;
11
15
static names ( ) : { [ key : string ] : string } {
12
16
return {
13
17
access : 'access' ,
18
+ columns : 'columns' ,
14
19
database : 'database' ,
20
+ function : 'function' ,
15
21
principal : 'principal' ,
16
22
resourceType : 'resourceType' ,
17
23
table : 'table' ,
24
+ view : 'view' ,
18
25
} ;
19
26
}
20
27
21
28
static types ( ) : { [ key : string ] : any } {
22
29
return {
23
30
access : 'string' ,
31
+ columns : PermissionColumns ,
24
32
database : 'string' ,
33
+ function : 'string' ,
25
34
principal : 'string' ,
26
35
resourceType : 'string' ,
27
36
table : 'string' ,
37
+ view : 'string' ,
28
38
} ;
29
39
}
30
40
31
41
validate ( ) {
42
+ if ( this . columns && typeof ( this . columns as any ) . validate === 'function' ) {
43
+ ( this . columns as any ) . validate ( ) ;
44
+ }
32
45
super . validate ( ) ;
33
46
}
34
47
Original file line number Diff line number Diff line change
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript' ;
3
+
4
+
5
+ /**
6
+ */
7
+ export class PermissionColumns extends $dara . Model {
8
+ columnNames ?: string [ ] ;
9
+ excludedColumnNames ?: string [ ] ;
10
+ static names ( ) : { [ key : string ] : string } {
11
+ return {
12
+ columnNames : 'columnNames' ,
13
+ excludedColumnNames : 'excludedColumnNames' ,
14
+ } ;
15
+ }
16
+
17
+ static types ( ) : { [ key : string ] : any } {
18
+ return {
19
+ columnNames : { 'type' : 'array' , 'itemType' : 'string' } ,
20
+ excludedColumnNames : { 'type' : 'array' , 'itemType' : 'string' } ,
21
+ } ;
22
+ }
23
+
24
+ validate ( ) {
25
+ if ( Array . isArray ( this . columnNames ) ) {
26
+ $dara . Model . validateArray ( this . columnNames ) ;
27
+ }
28
+ if ( Array . isArray ( this . excludedColumnNames ) ) {
29
+ $dara . Model . validateArray ( this . excludedColumnNames ) ;
30
+ }
31
+ super . validate ( ) ;
32
+ }
33
+
34
+ constructor ( map ?: { [ key : string ] : any } ) {
35
+ super ( map ) ;
36
+ }
37
+ }
38
+
Original file line number Diff line number Diff line change
1
+ export { PermissionColumns } from './PermissionColumns' ;
1
2
export { DescribeRegionsResponseBodyRegions } from './DescribeRegionsResponseBodyRegions' ;
2
3
export { Catalog } from './Catalog' ;
3
4
export { CatalogSummary } from './CatalogSummary' ;
You can’t perform that action at this time.
0 commit comments