@alicloud/eiam20211201 2.15.10 → 2.16.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 +15 -0
- package/dist/client.js +69 -0
- package/dist/client.js.map +1 -1
- package/dist/models/ListInstancesRequest.d.ts +1 -0
- package/dist/models/ListInstancesRequest.js +2 -0
- package/dist/models/ListInstancesRequest.js.map +1 -1
- package/dist/models/ListResourceServerScopesRequest.d.ts +81 -0
- package/dist/models/ListResourceServerScopesRequest.js +79 -0
- package/dist/models/ListResourceServerScopesRequest.js.map +1 -0
- package/dist/models/ListResourceServerScopesResponse.d.ts +19 -0
- package/dist/models/ListResourceServerScopesResponse.js +69 -0
- package/dist/models/ListResourceServerScopesResponse.js.map +1 -0
- package/dist/models/ListResourceServerScopesResponseBody.d.ts +107 -0
- package/dist/models/ListResourceServerScopesResponseBody.js +102 -0
- package/dist/models/ListResourceServerScopesResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +32 -24
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +82 -0
- package/src/models/ListInstancesRequest.ts +3 -0
- package/src/models/ListResourceServerScopesRequest.ts +115 -0
- package/src/models/ListResourceServerScopesResponse.ts +40 -0
- package/src/models/ListResourceServerScopesResponseBody.ts +155 -0
- package/src/models/model.ts +4 -0
|
@@ -39,6 +39,7 @@ const $dara = __importStar(require("@darabonba/typescript"));
|
|
|
39
39
|
class ListInstancesRequest extends $dara.Model {
|
|
40
40
|
static names() {
|
|
41
41
|
return {
|
|
42
|
+
edition: 'Edition',
|
|
42
43
|
instanceIds: 'InstanceIds',
|
|
43
44
|
pageNumber: 'PageNumber',
|
|
44
45
|
pageSize: 'PageSize',
|
|
@@ -47,6 +48,7 @@ class ListInstancesRequest extends $dara.Model {
|
|
|
47
48
|
}
|
|
48
49
|
static types() {
|
|
49
50
|
return {
|
|
51
|
+
edition: 'string',
|
|
50
52
|
instanceIds: { 'type': 'array', 'itemType': 'string' },
|
|
51
53
|
pageNumber: 'number',
|
|
52
54
|
pageSize: 'number',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListInstancesRequest.js","sourceRoot":"","sources":["../../src/models/ListInstancesRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oBAAqB,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ListInstancesRequest.js","sourceRoot":"","sources":["../../src/models/ListInstancesRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oBAAqB,SAAQ,KAAK,CAAC,KAAK;IAkCnD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,WAAW,EAAE,aAAa;YAC1B,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,WAAW,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YACtD,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC;YACnC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAC9C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAhED,oDAgEC"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class ListResourceServerScopesRequest extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* IDaaS的应用资源ID。
|
|
6
|
+
*
|
|
7
|
+
* This parameter is required.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* app_mkv7rgt4d7i4u7zqtzev2mxxxx
|
|
11
|
+
*/
|
|
12
|
+
applicationId?: string;
|
|
13
|
+
/**
|
|
14
|
+
* @example
|
|
15
|
+
* authorize_required
|
|
16
|
+
*/
|
|
17
|
+
authorizationType?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @remarks
|
|
20
|
+
* IDaaS EIAM实例的ID。
|
|
21
|
+
*
|
|
22
|
+
* This parameter is required.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* idaas_ue2jvisn35ea5lmthk267xxxxx
|
|
26
|
+
*/
|
|
27
|
+
instanceId?: string;
|
|
28
|
+
/**
|
|
29
|
+
* @remarks
|
|
30
|
+
* 分页查询时每页行数。默认值为20,最大值为100。
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* 20
|
|
34
|
+
*/
|
|
35
|
+
maxResults?: number;
|
|
36
|
+
/**
|
|
37
|
+
* @remarks
|
|
38
|
+
* 查询凭证(Token),取值为上一次API调用返回的NextToken参数值。
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* NTxxxxxexample
|
|
42
|
+
*/
|
|
43
|
+
nextToken?: string;
|
|
44
|
+
/**
|
|
45
|
+
* @example
|
|
46
|
+
* PTxxxxxexample
|
|
47
|
+
*/
|
|
48
|
+
previousToken?: string;
|
|
49
|
+
resourceServerScopeIds?: string[];
|
|
50
|
+
/**
|
|
51
|
+
* @remarks
|
|
52
|
+
* 权限名称
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* 读取全部用户
|
|
56
|
+
*/
|
|
57
|
+
resourceServerScopeName?: string;
|
|
58
|
+
/**
|
|
59
|
+
* @example
|
|
60
|
+
* urn:alibaba:idaas:resourceserver:scope:delegated
|
|
61
|
+
*/
|
|
62
|
+
resourceServerScopeType?: string;
|
|
63
|
+
/**
|
|
64
|
+
* @remarks
|
|
65
|
+
* 权限值,大小写不敏感,格式(${ResourceType}:${ResourceOption}:${ResourceRestrict})
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* User:Write:ALL
|
|
69
|
+
*/
|
|
70
|
+
resourceServerScopeValue?: string;
|
|
71
|
+
static names(): {
|
|
72
|
+
[key: string]: string;
|
|
73
|
+
};
|
|
74
|
+
static types(): {
|
|
75
|
+
[key: string]: any;
|
|
76
|
+
};
|
|
77
|
+
validate(): void;
|
|
78
|
+
constructor(map?: {
|
|
79
|
+
[key: string]: any;
|
|
80
|
+
});
|
|
81
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.ListResourceServerScopesRequest = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class ListResourceServerScopesRequest extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
applicationId: 'ApplicationId',
|
|
43
|
+
authorizationType: 'AuthorizationType',
|
|
44
|
+
instanceId: 'InstanceId',
|
|
45
|
+
maxResults: 'MaxResults',
|
|
46
|
+
nextToken: 'NextToken',
|
|
47
|
+
previousToken: 'PreviousToken',
|
|
48
|
+
resourceServerScopeIds: 'ResourceServerScopeIds',
|
|
49
|
+
resourceServerScopeName: 'ResourceServerScopeName',
|
|
50
|
+
resourceServerScopeType: 'ResourceServerScopeType',
|
|
51
|
+
resourceServerScopeValue: 'ResourceServerScopeValue',
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
static types() {
|
|
55
|
+
return {
|
|
56
|
+
applicationId: 'string',
|
|
57
|
+
authorizationType: 'string',
|
|
58
|
+
instanceId: 'string',
|
|
59
|
+
maxResults: 'number',
|
|
60
|
+
nextToken: 'string',
|
|
61
|
+
previousToken: 'string',
|
|
62
|
+
resourceServerScopeIds: { 'type': 'array', 'itemType': 'string' },
|
|
63
|
+
resourceServerScopeName: 'string',
|
|
64
|
+
resourceServerScopeType: 'string',
|
|
65
|
+
resourceServerScopeValue: 'string',
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
validate() {
|
|
69
|
+
if (Array.isArray(this.resourceServerScopeIds)) {
|
|
70
|
+
$dara.Model.validateArray(this.resourceServerScopeIds);
|
|
71
|
+
}
|
|
72
|
+
super.validate();
|
|
73
|
+
}
|
|
74
|
+
constructor(map) {
|
|
75
|
+
super(map);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
exports.ListResourceServerScopesRequest = ListResourceServerScopesRequest;
|
|
79
|
+
//# sourceMappingURL=ListResourceServerScopesRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListResourceServerScopesRequest.js","sourceRoot":"","sources":["../../src/models/ListResourceServerScopesRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAqE9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,eAAe;YAC9B,iBAAiB,EAAE,mBAAmB;YACtC,UAAU,EAAE,YAAY;YACxB,UAAU,EAAE,YAAY;YACxB,SAAS,EAAE,WAAW;YACtB,aAAa,EAAE,eAAe;YAC9B,sBAAsB,EAAE,wBAAwB;YAChD,uBAAuB,EAAE,yBAAyB;YAClD,uBAAuB,EAAE,yBAAyB;YAClD,wBAAwB,EAAE,0BAA0B;SACrD,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,QAAQ;YACvB,iBAAiB,EAAE,QAAQ;YAC3B,UAAU,EAAE,QAAQ;YACpB,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;YACnB,aAAa,EAAE,QAAQ;YACvB,sBAAsB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YACjE,uBAAuB,EAAE,QAAQ;YACjC,uBAAuB,EAAE,QAAQ;YACjC,wBAAwB,EAAE,QAAQ;SACnC,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,sBAAsB,CAAC,EAAE,CAAC;YAC9C,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC;QACzD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA7GD,0EA6GC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
import { ListResourceServerScopesResponseBody } from "./ListResourceServerScopesResponseBody";
|
|
3
|
+
export declare class ListResourceServerScopesResponse extends $dara.Model {
|
|
4
|
+
headers?: {
|
|
5
|
+
[key: string]: string;
|
|
6
|
+
};
|
|
7
|
+
statusCode?: number;
|
|
8
|
+
body?: ListResourceServerScopesResponseBody;
|
|
9
|
+
static names(): {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
};
|
|
12
|
+
static types(): {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
};
|
|
15
|
+
validate(): void;
|
|
16
|
+
constructor(map?: {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
});
|
|
19
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.ListResourceServerScopesResponse = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
const ListResourceServerScopesResponseBody_1 = require("./ListResourceServerScopesResponseBody");
|
|
40
|
+
class ListResourceServerScopesResponse extends $dara.Model {
|
|
41
|
+
static names() {
|
|
42
|
+
return {
|
|
43
|
+
headers: 'headers',
|
|
44
|
+
statusCode: 'statusCode',
|
|
45
|
+
body: 'body',
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
static types() {
|
|
49
|
+
return {
|
|
50
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
51
|
+
statusCode: 'number',
|
|
52
|
+
body: ListResourceServerScopesResponseBody_1.ListResourceServerScopesResponseBody,
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
validate() {
|
|
56
|
+
if (this.headers) {
|
|
57
|
+
$dara.Model.validateMap(this.headers);
|
|
58
|
+
}
|
|
59
|
+
if (this.body && typeof this.body.validate === 'function') {
|
|
60
|
+
this.body.validate();
|
|
61
|
+
}
|
|
62
|
+
super.validate();
|
|
63
|
+
}
|
|
64
|
+
constructor(map) {
|
|
65
|
+
super(map);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
exports.ListResourceServerScopesResponse = ListResourceServerScopesResponse;
|
|
69
|
+
//# sourceMappingURL=ListResourceServerScopesResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListResourceServerScopesResponse.js","sourceRoot":"","sources":["../../src/models/ListResourceServerScopesResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,iGAA8F;AAG9F,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IAI/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,2EAAoC;SAC3C,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,4EAiCC"}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class ListResourceServerScopesResponseBodyResourceServerScopes extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* IDaaS EIAM 应用Id
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* app_xxxxxxxxxxx
|
|
9
|
+
*/
|
|
10
|
+
applicationId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* authorize_required
|
|
14
|
+
*/
|
|
15
|
+
authorizationType?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* IDaaS EIAM 实例Id
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* idaas_xxxxxxxxxxx
|
|
22
|
+
*/
|
|
23
|
+
instanceId?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* IDaaS EIAM ResourceServer下权限Id
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* rss_xxxxxxxxxxx
|
|
30
|
+
*/
|
|
31
|
+
resourceServerScopeId?: string;
|
|
32
|
+
/**
|
|
33
|
+
* @remarks
|
|
34
|
+
* IDaaS EIAM ResourceServer下权限名称
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* 读取全部用户
|
|
38
|
+
*/
|
|
39
|
+
resourceServerScopeName?: string;
|
|
40
|
+
/**
|
|
41
|
+
* @remarks
|
|
42
|
+
* IDaaS EIAM ResourceServer下权限类型
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* urn:alibaba:idaas:resourceserver:scope:delegated
|
|
46
|
+
*/
|
|
47
|
+
resourceServerScopeType?: string;
|
|
48
|
+
/**
|
|
49
|
+
* @remarks
|
|
50
|
+
* IDaaS EIAM ResourceServer下权限值
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* User:Write:ALL
|
|
54
|
+
*/
|
|
55
|
+
resourceServerScopeValue?: string;
|
|
56
|
+
static names(): {
|
|
57
|
+
[key: string]: string;
|
|
58
|
+
};
|
|
59
|
+
static types(): {
|
|
60
|
+
[key: string]: any;
|
|
61
|
+
};
|
|
62
|
+
validate(): void;
|
|
63
|
+
constructor(map?: {
|
|
64
|
+
[key: string]: any;
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
export declare class ListResourceServerScopesResponseBody extends $dara.Model {
|
|
68
|
+
/**
|
|
69
|
+
* @example
|
|
70
|
+
* 20
|
|
71
|
+
*/
|
|
72
|
+
maxResults?: number;
|
|
73
|
+
/**
|
|
74
|
+
* @remarks
|
|
75
|
+
* 本次调用返回的查询凭证(Token)值,用于下一次翻页查询。
|
|
76
|
+
*
|
|
77
|
+
* @example
|
|
78
|
+
* NTxxxexample
|
|
79
|
+
*/
|
|
80
|
+
nextToken?: string;
|
|
81
|
+
/**
|
|
82
|
+
* @example
|
|
83
|
+
* PTxxxexample
|
|
84
|
+
*/
|
|
85
|
+
previousToken?: string;
|
|
86
|
+
/**
|
|
87
|
+
* @example
|
|
88
|
+
* 0441BD79-92F3-53AA-8657-F8CE4A2B912A
|
|
89
|
+
*/
|
|
90
|
+
requestId?: string;
|
|
91
|
+
resourceServerScopes?: ListResourceServerScopesResponseBodyResourceServerScopes[];
|
|
92
|
+
/**
|
|
93
|
+
* @example
|
|
94
|
+
* 100
|
|
95
|
+
*/
|
|
96
|
+
totalCount?: number;
|
|
97
|
+
static names(): {
|
|
98
|
+
[key: string]: string;
|
|
99
|
+
};
|
|
100
|
+
static types(): {
|
|
101
|
+
[key: string]: any;
|
|
102
|
+
};
|
|
103
|
+
validate(): void;
|
|
104
|
+
constructor(map?: {
|
|
105
|
+
[key: string]: any;
|
|
106
|
+
});
|
|
107
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.ListResourceServerScopesResponseBody = exports.ListResourceServerScopesResponseBodyResourceServerScopes = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class ListResourceServerScopesResponseBodyResourceServerScopes extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
applicationId: 'ApplicationId',
|
|
43
|
+
authorizationType: 'AuthorizationType',
|
|
44
|
+
instanceId: 'InstanceId',
|
|
45
|
+
resourceServerScopeId: 'ResourceServerScopeId',
|
|
46
|
+
resourceServerScopeName: 'ResourceServerScopeName',
|
|
47
|
+
resourceServerScopeType: 'ResourceServerScopeType',
|
|
48
|
+
resourceServerScopeValue: 'ResourceServerScopeValue',
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
static types() {
|
|
52
|
+
return {
|
|
53
|
+
applicationId: 'string',
|
|
54
|
+
authorizationType: 'string',
|
|
55
|
+
instanceId: 'string',
|
|
56
|
+
resourceServerScopeId: 'string',
|
|
57
|
+
resourceServerScopeName: 'string',
|
|
58
|
+
resourceServerScopeType: 'string',
|
|
59
|
+
resourceServerScopeValue: 'string',
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
validate() {
|
|
63
|
+
super.validate();
|
|
64
|
+
}
|
|
65
|
+
constructor(map) {
|
|
66
|
+
super(map);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
exports.ListResourceServerScopesResponseBodyResourceServerScopes = ListResourceServerScopesResponseBodyResourceServerScopes;
|
|
70
|
+
class ListResourceServerScopesResponseBody extends $dara.Model {
|
|
71
|
+
static names() {
|
|
72
|
+
return {
|
|
73
|
+
maxResults: 'MaxResults',
|
|
74
|
+
nextToken: 'NextToken',
|
|
75
|
+
previousToken: 'PreviousToken',
|
|
76
|
+
requestId: 'RequestId',
|
|
77
|
+
resourceServerScopes: 'ResourceServerScopes',
|
|
78
|
+
totalCount: 'TotalCount',
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
static types() {
|
|
82
|
+
return {
|
|
83
|
+
maxResults: 'number',
|
|
84
|
+
nextToken: 'string',
|
|
85
|
+
previousToken: 'string',
|
|
86
|
+
requestId: 'string',
|
|
87
|
+
resourceServerScopes: { 'type': 'array', 'itemType': ListResourceServerScopesResponseBodyResourceServerScopes },
|
|
88
|
+
totalCount: 'number',
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
validate() {
|
|
92
|
+
if (Array.isArray(this.resourceServerScopes)) {
|
|
93
|
+
$dara.Model.validateArray(this.resourceServerScopes);
|
|
94
|
+
}
|
|
95
|
+
super.validate();
|
|
96
|
+
}
|
|
97
|
+
constructor(map) {
|
|
98
|
+
super(map);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
exports.ListResourceServerScopesResponseBody = ListResourceServerScopesResponseBody;
|
|
102
|
+
//# sourceMappingURL=ListResourceServerScopesResponseBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListResourceServerScopesResponseBody.js","sourceRoot":"","sources":["../../src/models/ListResourceServerScopesResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wDAAyD,SAAQ,KAAK,CAAC,KAAK;IAsDvF,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,eAAe;YAC9B,iBAAiB,EAAE,mBAAmB;YACtC,UAAU,EAAE,YAAY;YACxB,qBAAqB,EAAE,uBAAuB;YAC9C,uBAAuB,EAAE,yBAAyB;YAClD,uBAAuB,EAAE,yBAAyB;YAClD,wBAAwB,EAAE,0BAA0B;SACrD,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,QAAQ;YACvB,iBAAiB,EAAE,QAAQ;YAC3B,UAAU,EAAE,QAAQ;YACpB,qBAAqB,EAAE,QAAQ;YAC/B,uBAAuB,EAAE,QAAQ;YACjC,uBAAuB,EAAE,QAAQ;YACjC,wBAAwB,EAAE,QAAQ;SACnC,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AArFD,4HAqFC;AAED,MAAa,oCAAqC,SAAQ,KAAK,CAAC,KAAK;IA8BnE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,SAAS,EAAE,WAAW;YACtB,aAAa,EAAE,eAAe;YAC9B,SAAS,EAAE,WAAW;YACtB,oBAAoB,EAAE,sBAAsB;YAC5C,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;YACnB,aAAa,EAAE,QAAQ;YACvB,SAAS,EAAE,QAAQ;YACnB,oBAAoB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,wDAAwD,EAAE;YAC/G,UAAU,EAAE,QAAQ;SACrB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,CAAC,EAAE,CAAC;YAC5C,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC;QACvD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA9DD,oFA8DC"}
|
package/dist/models/model.d.ts
CHANGED
|
@@ -339,6 +339,7 @@ export { ListOrganizationalUnitsForResourceServerRequestFilter } from './ListOrg
|
|
|
339
339
|
export { ListOrganizationalUnitsForResourceServerResponseBodyOrganizationalUnitsResourceServerScopes } from './ListOrganizationalUnitsForResourceServerResponseBody';
|
|
340
340
|
export { ListOrganizationalUnitsForResourceServerResponseBodyOrganizationalUnits } from './ListOrganizationalUnitsForResourceServerResponseBody';
|
|
341
341
|
export { ListRegionsResponseBodyRegions } from './ListRegionsResponseBody';
|
|
342
|
+
export { ListResourceServerScopesResponseBodyResourceServerScopes } from './ListResourceServerScopesResponseBody';
|
|
342
343
|
export { ListResourceServersForUserRequestFilter } from './ListResourceServersForUserRequest';
|
|
343
344
|
export { ListResourceServersForUserResponseBodyResourceServersResourceServerScopes } from './ListResourceServersForUserResponseBody';
|
|
344
345
|
export { ListResourceServersForUserResponseBodyResourceServers } from './ListResourceServersForUserResponseBody';
|
|
@@ -1189,6 +1190,9 @@ export { ListOrganizationalUnitsForResourceServerResponseBody } from './ListOrga
|
|
|
1189
1190
|
export { ListOrganizationalUnitsForResourceServerResponse } from './ListOrganizationalUnitsForResourceServerResponse';
|
|
1190
1191
|
export { ListRegionsResponseBody } from './ListRegionsResponseBody';
|
|
1191
1192
|
export { ListRegionsResponse } from './ListRegionsResponse';
|
|
1193
|
+
export { ListResourceServerScopesRequest } from './ListResourceServerScopesRequest';
|
|
1194
|
+
export { ListResourceServerScopesResponseBody } from './ListResourceServerScopesResponseBody';
|
|
1195
|
+
export { ListResourceServerScopesResponse } from './ListResourceServerScopesResponse';
|
|
1192
1196
|
export { ListResourceServersForUserRequest } from './ListResourceServersForUserRequest';
|
|
1193
1197
|
export { ListResourceServersForUserResponseBody } from './ListResourceServersForUserResponseBody';
|
|
1194
1198
|
export { ListResourceServersForUserResponse } from './ListResourceServersForUserResponse';
|