@alicloud/eiam20211201 2.18.2 → 2.19.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 +117 -6
- package/dist/client.js +342 -6
- package/dist/client.js.map +1 -1
- package/dist/models/CreateTrustedOriginRequest.d.ts +59 -0
- package/dist/models/CreateTrustedOriginRequest.js +69 -0
- package/dist/models/CreateTrustedOriginRequest.js.map +1 -0
- package/dist/models/CreateTrustedOriginResponse.d.ts +19 -0
- package/dist/models/CreateTrustedOriginResponse.js +69 -0
- package/dist/models/CreateTrustedOriginResponse.js.map +1 -0
- package/dist/models/CreateTrustedOriginResponseBody.d.ts +29 -0
- package/dist/models/CreateTrustedOriginResponseBody.js +60 -0
- package/dist/models/CreateTrustedOriginResponseBody.js.map +1 -0
- package/dist/models/DeleteTrustedOriginRequest.d.ts +41 -0
- package/dist/models/DeleteTrustedOriginRequest.js +62 -0
- package/dist/models/DeleteTrustedOriginRequest.js.map +1 -0
- package/dist/models/DeleteTrustedOriginResponse.d.ts +19 -0
- package/dist/models/DeleteTrustedOriginResponse.js +69 -0
- package/dist/models/DeleteTrustedOriginResponse.js.map +1 -0
- package/dist/models/DeleteTrustedOriginResponseBody.d.ts +21 -0
- package/dist/models/DeleteTrustedOriginResponseBody.js +58 -0
- package/dist/models/DeleteTrustedOriginResponseBody.js.map +1 -0
- package/dist/models/DisableTrustedOriginRequest.d.ts +33 -0
- package/dist/models/DisableTrustedOriginRequest.js +60 -0
- package/dist/models/DisableTrustedOriginRequest.js.map +1 -0
- package/dist/models/DisableTrustedOriginResponse.d.ts +19 -0
- package/dist/models/DisableTrustedOriginResponse.js +69 -0
- package/dist/models/DisableTrustedOriginResponse.js.map +1 -0
- package/dist/models/DisableTrustedOriginResponseBody.d.ts +21 -0
- package/dist/models/DisableTrustedOriginResponseBody.js +58 -0
- package/dist/models/DisableTrustedOriginResponseBody.js.map +1 -0
- package/dist/models/EnableTrustedOriginRequest.d.ts +33 -0
- package/dist/models/EnableTrustedOriginRequest.js +60 -0
- package/dist/models/EnableTrustedOriginRequest.js.map +1 -0
- package/dist/models/EnableTrustedOriginResponse.d.ts +19 -0
- package/dist/models/EnableTrustedOriginResponse.js +69 -0
- package/dist/models/EnableTrustedOriginResponse.js.map +1 -0
- package/dist/models/EnableTrustedOriginResponseBody.d.ts +21 -0
- package/dist/models/EnableTrustedOriginResponseBody.js +58 -0
- package/dist/models/EnableTrustedOriginResponseBody.js.map +1 -0
- package/dist/models/GetAuthorizationResourceResponseBody.d.ts +3 -0
- package/dist/models/GetAuthorizationResourceResponseBody.js.map +1 -1
- package/dist/models/GetTrustedOriginRequest.d.ts +33 -0
- package/dist/models/GetTrustedOriginRequest.js +60 -0
- package/dist/models/GetTrustedOriginRequest.js.map +1 -0
- package/dist/models/GetTrustedOriginResponse.d.ts +19 -0
- package/dist/models/GetTrustedOriginResponse.js +69 -0
- package/dist/models/GetTrustedOriginResponse.js.map +1 -0
- package/dist/models/GetTrustedOriginResponseBody.d.ts +103 -0
- package/dist/models/GetTrustedOriginResponseBody.js +99 -0
- package/dist/models/GetTrustedOriginResponseBody.js.map +1 -0
- package/dist/models/ListAuthorizationResourcesRequest.d.ts +4 -4
- package/dist/models/ListAuthorizationResourcesResponseBody.d.ts +10 -7
- package/dist/models/ListAuthorizationResourcesResponseBody.js.map +1 -1
- package/dist/models/ListTrustedOriginsRequest.d.ts +71 -0
- package/dist/models/ListTrustedOriginsRequest.js +73 -0
- package/dist/models/ListTrustedOriginsRequest.js.map +1 -0
- package/dist/models/ListTrustedOriginsResponse.d.ts +19 -0
- package/dist/models/ListTrustedOriginsResponse.js +69 -0
- package/dist/models/ListTrustedOriginsResponse.js.map +1 -0
- package/dist/models/ListTrustedOriginsResponseBody.d.ts +127 -0
- package/dist/models/ListTrustedOriginsResponseBody.js +105 -0
- package/dist/models/ListTrustedOriginsResponseBody.js.map +1 -0
- package/dist/models/RevokeResourceServerScopesFromClientRequest.d.ts +2 -2
- package/dist/models/UpdateTrustedOriginRequest.d.ts +57 -0
- package/dist/models/UpdateTrustedOriginRequest.js +69 -0
- package/dist/models/UpdateTrustedOriginRequest.js.map +1 -0
- package/dist/models/UpdateTrustedOriginResponse.d.ts +19 -0
- package/dist/models/UpdateTrustedOriginResponse.js +69 -0
- package/dist/models/UpdateTrustedOriginResponse.js.map +1 -0
- package/dist/models/UpdateTrustedOriginResponseBody.d.ts +21 -0
- package/dist/models/UpdateTrustedOriginResponseBody.js +58 -0
- package/dist/models/UpdateTrustedOriginResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +23 -0
- package/dist/models/model.js +74 -27
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +382 -6
- package/src/models/CreateTrustedOriginRequest.ts +83 -0
- package/src/models/CreateTrustedOriginResponse.ts +40 -0
- package/src/models/CreateTrustedOriginResponseBody.ts +44 -0
- package/src/models/DeleteTrustedOriginRequest.ts +58 -0
- package/src/models/DeleteTrustedOriginResponse.ts +40 -0
- package/src/models/DeleteTrustedOriginResponseBody.ts +34 -0
- package/src/models/DisableTrustedOriginRequest.ts +48 -0
- package/src/models/DisableTrustedOriginResponse.ts +40 -0
- package/src/models/DisableTrustedOriginResponseBody.ts +34 -0
- package/src/models/EnableTrustedOriginRequest.ts +48 -0
- package/src/models/EnableTrustedOriginResponse.ts +40 -0
- package/src/models/EnableTrustedOriginResponseBody.ts +34 -0
- package/src/models/GetAuthorizationResourceResponseBody.ts +3 -0
- package/src/models/GetTrustedOriginRequest.ts +48 -0
- package/src/models/GetTrustedOriginResponse.ts +40 -0
- package/src/models/GetTrustedOriginResponseBody.ts +148 -0
- package/src/models/ListAuthorizationResourcesRequest.ts +4 -4
- package/src/models/ListAuthorizationResourcesResponseBody.ts +10 -7
- package/src/models/ListTrustedOriginsRequest.ts +99 -0
- package/src/models/ListTrustedOriginsResponse.ts +40 -0
- package/src/models/ListTrustedOriginsResponseBody.ts +178 -0
- package/src/models/RevokeResourceServerScopesFromClientRequest.ts +2 -2
- package/src/models/UpdateTrustedOriginRequest.ts +81 -0
- package/src/models/UpdateTrustedOriginResponse.ts +40 -0
- package/src/models/UpdateTrustedOriginResponseBody.ts +34 -0
- package/src/models/model.ts +23 -0
|
@@ -6,6 +6,9 @@ export class ListAuthorizationResourcesResponseBodyAuthorizationResourcesConditi
|
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
8
|
* Specifies whether same-name identity accounts are supported.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* true
|
|
9
12
|
*/
|
|
10
13
|
allowSameNameIdentity?: boolean;
|
|
11
14
|
static names(): { [key: string]: string } {
|
|
@@ -62,7 +65,7 @@ export class ListAuthorizationResourcesResponseBodyAuthorizationResourcesConditi
|
|
|
62
65
|
export class ListAuthorizationResourcesResponseBodyAuthorizationResources extends $dara.Model {
|
|
63
66
|
/**
|
|
64
67
|
* @remarks
|
|
65
|
-
* The
|
|
68
|
+
* The resource entity ID associated with the authorization resource.
|
|
66
69
|
*
|
|
67
70
|
* @example
|
|
68
71
|
* carole_01kmek49aqxxxx
|
|
@@ -70,8 +73,8 @@ export class ListAuthorizationResourcesResponseBodyAuthorizationResources extend
|
|
|
70
73
|
authorizationResourceEntityId?: string;
|
|
71
74
|
/**
|
|
72
75
|
* @remarks
|
|
73
|
-
* The
|
|
74
|
-
* - cloud_account_role: cloud role
|
|
76
|
+
* The resource entity type associated with the authorization resource. Valid values:
|
|
77
|
+
* - cloud_account_role: cloud role
|
|
75
78
|
*
|
|
76
79
|
* @example
|
|
77
80
|
* cloud_account_role
|
|
@@ -111,7 +114,7 @@ export class ListAuthorizationResourcesResponseBodyAuthorizationResources extend
|
|
|
111
114
|
* The creation time.
|
|
112
115
|
*
|
|
113
116
|
* @example
|
|
114
|
-
*
|
|
117
|
+
* 1768789292000
|
|
115
118
|
*/
|
|
116
119
|
createTime?: number;
|
|
117
120
|
/**
|
|
@@ -127,7 +130,7 @@ export class ListAuthorizationResourcesResponseBodyAuthorizationResources extend
|
|
|
127
130
|
* The update time.
|
|
128
131
|
*
|
|
129
132
|
* @example
|
|
130
|
-
*
|
|
133
|
+
* 1768789292000
|
|
131
134
|
*/
|
|
132
135
|
updateTime?: number;
|
|
133
136
|
static names(): { [key: string]: string } {
|
|
@@ -178,7 +181,7 @@ export class ListAuthorizationResourcesResponseBody extends $dara.Model {
|
|
|
178
181
|
authorizationResources?: ListAuthorizationResourcesResponseBodyAuthorizationResources[];
|
|
179
182
|
/**
|
|
180
183
|
* @remarks
|
|
181
|
-
* The number of
|
|
184
|
+
* The number of rows per page in a paging query.
|
|
182
185
|
*
|
|
183
186
|
* @example
|
|
184
187
|
* 20
|
|
@@ -186,7 +189,7 @@ export class ListAuthorizationResourcesResponseBody extends $dara.Model {
|
|
|
186
189
|
maxResults?: number;
|
|
187
190
|
/**
|
|
188
191
|
* @remarks
|
|
189
|
-
* The token returned for the next page query.
|
|
192
|
+
* The pagination token returned by this call, used for the next page query.
|
|
190
193
|
*
|
|
191
194
|
* @example
|
|
192
195
|
* NTxxxexample
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListTrustedOriginsRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The ID of the IDaaS EIAM instance.
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* idaas_example
|
|
14
|
+
*/
|
|
15
|
+
instanceId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The number of entries per page. Default value: 20. Maximum value: 100. If you set this parameter to 0, the default value is used.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* 20
|
|
22
|
+
*/
|
|
23
|
+
maxResults?: number;
|
|
24
|
+
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* The NextToken returned by the previous call.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* NT_example
|
|
30
|
+
*/
|
|
31
|
+
nextToken?: string;
|
|
32
|
+
/**
|
|
33
|
+
* @remarks
|
|
34
|
+
* Filters by the exact normalized origin.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* https://console.qoder.com
|
|
38
|
+
*/
|
|
39
|
+
origin?: string;
|
|
40
|
+
/**
|
|
41
|
+
* @remarks
|
|
42
|
+
* Filters by exact status. Valid values: Enabled or Disabled.
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* Enabled
|
|
46
|
+
*/
|
|
47
|
+
status?: string;
|
|
48
|
+
/**
|
|
49
|
+
* @remarks
|
|
50
|
+
* Filters by exact name.
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* Qoder Production Console
|
|
54
|
+
*/
|
|
55
|
+
trustOriginName?: string;
|
|
56
|
+
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* Filters by exact trusted origin scene. You can specify at most one value.
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* iframe_embed
|
|
62
|
+
*/
|
|
63
|
+
trustedOriginScene?: string[];
|
|
64
|
+
static names(): { [key: string]: string } {
|
|
65
|
+
return {
|
|
66
|
+
instanceId: 'InstanceId',
|
|
67
|
+
maxResults: 'MaxResults',
|
|
68
|
+
nextToken: 'NextToken',
|
|
69
|
+
origin: 'Origin',
|
|
70
|
+
status: 'Status',
|
|
71
|
+
trustOriginName: 'TrustOriginName',
|
|
72
|
+
trustedOriginScene: 'TrustedOriginScene',
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
static types(): { [key: string]: any } {
|
|
77
|
+
return {
|
|
78
|
+
instanceId: 'string',
|
|
79
|
+
maxResults: 'number',
|
|
80
|
+
nextToken: 'string',
|
|
81
|
+
origin: 'string',
|
|
82
|
+
status: 'string',
|
|
83
|
+
trustOriginName: 'string',
|
|
84
|
+
trustedOriginScene: { 'type': 'array', 'itemType': 'string' },
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
validate() {
|
|
89
|
+
if(Array.isArray(this.trustedOriginScene)) {
|
|
90
|
+
$dara.Model.validateArray(this.trustedOriginScene);
|
|
91
|
+
}
|
|
92
|
+
super.validate();
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
constructor(map?: { [key: string]: any }) {
|
|
96
|
+
super(map);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListTrustedOriginsResponseBody } from "./ListTrustedOriginsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListTrustedOriginsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ListTrustedOriginsResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: ListTrustedOriginsResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListTrustedOriginsResponseBodyTrustedOrigins extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The creation time.
|
|
9
|
+
*
|
|
10
|
+
* Use the UTC time format: yyyy-MM-ddTHH:mmZ
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* 2026-08-20T08:00:00Z
|
|
14
|
+
*/
|
|
15
|
+
createTime?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The instance ID.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* idaas_example
|
|
22
|
+
*/
|
|
23
|
+
instanceId?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* The browser origin.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* https://console.qoder.com
|
|
30
|
+
*/
|
|
31
|
+
origin?: string;
|
|
32
|
+
/**
|
|
33
|
+
* @remarks
|
|
34
|
+
* The status.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* Enabled
|
|
38
|
+
*/
|
|
39
|
+
status?: string;
|
|
40
|
+
/**
|
|
41
|
+
* @remarks
|
|
42
|
+
* The trusted origin name.
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* Qoder Production Console
|
|
46
|
+
*/
|
|
47
|
+
trustOriginName?: string;
|
|
48
|
+
/**
|
|
49
|
+
* @remarks
|
|
50
|
+
* The trusted origin ID.
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* to_example
|
|
54
|
+
*/
|
|
55
|
+
trustedOriginId?: string;
|
|
56
|
+
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* The trusted origin scene.
|
|
59
|
+
*/
|
|
60
|
+
trustedOriginScene?: string[];
|
|
61
|
+
/**
|
|
62
|
+
* @remarks
|
|
63
|
+
* The update time.
|
|
64
|
+
*
|
|
65
|
+
* Use the UTC time format: yyyy-MM-ddTHH:mmZ
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* 2026-08-20T08:00:00Z
|
|
69
|
+
*/
|
|
70
|
+
updateTime?: string;
|
|
71
|
+
static names(): { [key: string]: string } {
|
|
72
|
+
return {
|
|
73
|
+
createTime: 'CreateTime',
|
|
74
|
+
instanceId: 'InstanceId',
|
|
75
|
+
origin: 'Origin',
|
|
76
|
+
status: 'Status',
|
|
77
|
+
trustOriginName: 'TrustOriginName',
|
|
78
|
+
trustedOriginId: 'TrustedOriginId',
|
|
79
|
+
trustedOriginScene: 'TrustedOriginScene',
|
|
80
|
+
updateTime: 'UpdateTime',
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
static types(): { [key: string]: any } {
|
|
85
|
+
return {
|
|
86
|
+
createTime: 'string',
|
|
87
|
+
instanceId: 'string',
|
|
88
|
+
origin: 'string',
|
|
89
|
+
status: 'string',
|
|
90
|
+
trustOriginName: 'string',
|
|
91
|
+
trustedOriginId: 'string',
|
|
92
|
+
trustedOriginScene: { 'type': 'array', 'itemType': 'string' },
|
|
93
|
+
updateTime: 'string',
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
validate() {
|
|
98
|
+
if(Array.isArray(this.trustedOriginScene)) {
|
|
99
|
+
$dara.Model.validateArray(this.trustedOriginScene);
|
|
100
|
+
}
|
|
101
|
+
super.validate();
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
constructor(map?: { [key: string]: any }) {
|
|
105
|
+
super(map);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export class ListTrustedOriginsResponseBody extends $dara.Model {
|
|
110
|
+
/**
|
|
111
|
+
* @remarks
|
|
112
|
+
* The number of entries per page that takes effect for this request.
|
|
113
|
+
*
|
|
114
|
+
* @example
|
|
115
|
+
* 20
|
|
116
|
+
*/
|
|
117
|
+
maxResults?: number;
|
|
118
|
+
/**
|
|
119
|
+
* @remarks
|
|
120
|
+
* The token for the next page query.
|
|
121
|
+
*
|
|
122
|
+
* @example
|
|
123
|
+
* NT_example
|
|
124
|
+
*/
|
|
125
|
+
nextToken?: string;
|
|
126
|
+
/**
|
|
127
|
+
* @remarks
|
|
128
|
+
* The request ID.
|
|
129
|
+
*
|
|
130
|
+
* @example
|
|
131
|
+
* 0441BD79-example
|
|
132
|
+
*/
|
|
133
|
+
requestId?: string;
|
|
134
|
+
/**
|
|
135
|
+
* @remarks
|
|
136
|
+
* The total number of entries.
|
|
137
|
+
*
|
|
138
|
+
* @example
|
|
139
|
+
* 2
|
|
140
|
+
*/
|
|
141
|
+
totalCount?: number;
|
|
142
|
+
/**
|
|
143
|
+
* @remarks
|
|
144
|
+
* The list of trusted origins.
|
|
145
|
+
*/
|
|
146
|
+
trustedOrigins?: ListTrustedOriginsResponseBodyTrustedOrigins[];
|
|
147
|
+
static names(): { [key: string]: string } {
|
|
148
|
+
return {
|
|
149
|
+
maxResults: 'MaxResults',
|
|
150
|
+
nextToken: 'NextToken',
|
|
151
|
+
requestId: 'RequestId',
|
|
152
|
+
totalCount: 'TotalCount',
|
|
153
|
+
trustedOrigins: 'TrustedOrigins',
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
static types(): { [key: string]: any } {
|
|
158
|
+
return {
|
|
159
|
+
maxResults: 'number',
|
|
160
|
+
nextToken: 'string',
|
|
161
|
+
requestId: 'string',
|
|
162
|
+
totalCount: 'number',
|
|
163
|
+
trustedOrigins: { 'type': 'array', 'itemType': ListTrustedOriginsResponseBodyTrustedOrigins },
|
|
164
|
+
};
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
validate() {
|
|
168
|
+
if(Array.isArray(this.trustedOrigins)) {
|
|
169
|
+
$dara.Model.validateArray(this.trustedOrigins);
|
|
170
|
+
}
|
|
171
|
+
super.validate();
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
constructor(map?: { [key: string]: any }) {
|
|
175
|
+
super(map);
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class RevokeResourceServerScopesFromClientRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The unique identifier of the
|
|
8
|
+
* The unique identifier of the Client application.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*
|
|
@@ -35,7 +35,7 @@ export class RevokeResourceServerScopesFromClientRequest extends $dara.Model {
|
|
|
35
35
|
resourceServerApplicationId?: string;
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The list of
|
|
38
|
+
* The list of Scope permission IDs under the ResourceServer.
|
|
39
39
|
*
|
|
40
40
|
* This parameter is required.
|
|
41
41
|
*
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UpdateTrustedOriginRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* client-token-example
|
|
12
|
+
*/
|
|
13
|
+
clientToken?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The ID of the IDaaS EIAM instance.
|
|
17
|
+
*
|
|
18
|
+
* This parameter is required.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* idaas_example
|
|
22
|
+
*/
|
|
23
|
+
instanceId?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* If this parameter is not specified, the trusted origin name is not modified.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* Qoder Production Console
|
|
30
|
+
*/
|
|
31
|
+
trustOriginName?: string;
|
|
32
|
+
/**
|
|
33
|
+
* @remarks
|
|
34
|
+
* The ID of the trusted origin.
|
|
35
|
+
*
|
|
36
|
+
* This parameter is required.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* to_example
|
|
40
|
+
*/
|
|
41
|
+
trustedOriginId?: string;
|
|
42
|
+
/**
|
|
43
|
+
* @remarks
|
|
44
|
+
* When specified, the existing values are entirely replaced. Only iframe_embed and cors are supported.
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* iframe_embed
|
|
48
|
+
*/
|
|
49
|
+
trustedOriginScene?: string[];
|
|
50
|
+
static names(): { [key: string]: string } {
|
|
51
|
+
return {
|
|
52
|
+
clientToken: 'ClientToken',
|
|
53
|
+
instanceId: 'InstanceId',
|
|
54
|
+
trustOriginName: 'TrustOriginName',
|
|
55
|
+
trustedOriginId: 'TrustedOriginId',
|
|
56
|
+
trustedOriginScene: 'TrustedOriginScene',
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
static types(): { [key: string]: any } {
|
|
61
|
+
return {
|
|
62
|
+
clientToken: 'string',
|
|
63
|
+
instanceId: 'string',
|
|
64
|
+
trustOriginName: 'string',
|
|
65
|
+
trustedOriginId: 'string',
|
|
66
|
+
trustedOriginScene: { 'type': 'array', 'itemType': 'string' },
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
validate() {
|
|
71
|
+
if(Array.isArray(this.trustedOriginScene)) {
|
|
72
|
+
$dara.Model.validateArray(this.trustedOriginScene);
|
|
73
|
+
}
|
|
74
|
+
super.validate();
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
constructor(map?: { [key: string]: any }) {
|
|
78
|
+
super(map);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { UpdateTrustedOriginResponseBody } from "./UpdateTrustedOriginResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class UpdateTrustedOriginResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: UpdateTrustedOriginResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: UpdateTrustedOriginResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UpdateTrustedOriginResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The request ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 0441BD79-example
|
|
12
|
+
*/
|
|
13
|
+
requestId?: string;
|
|
14
|
+
static names(): { [key: string]: string } {
|
|
15
|
+
return {
|
|
16
|
+
requestId: 'RequestId',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
requestId: 'string',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
super.validate();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
constructor(map?: { [key: string]: any }) {
|
|
31
|
+
super(map);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -236,6 +236,7 @@ export { GetSynchronizationJobResponseBodySynchronizationJobResultUserStatistics
|
|
|
236
236
|
export { GetSynchronizationJobResponseBodySynchronizationJobResultUserStatistics } from './GetSynchronizationJobResponseBody';
|
|
237
237
|
export { GetSynchronizationJobResponseBodySynchronizationJobResult } from './GetSynchronizationJobResponseBody';
|
|
238
238
|
export { GetSynchronizationJobResponseBodySynchronizationJob } from './GetSynchronizationJobResponseBody';
|
|
239
|
+
export { GetTrustedOriginResponseBodyTrustedOrigin } from './GetTrustedOriginResponseBody';
|
|
239
240
|
export { GetUserResponseBodyUserCustomFields } from './GetUserResponseBody';
|
|
240
241
|
export { GetUserResponseBodyUserGroups } from './GetUserResponseBody';
|
|
241
242
|
export { GetUserResponseBodyUserOrganizationalUnits } from './GetUserResponseBody';
|
|
@@ -414,6 +415,7 @@ export { ListSynchronizationJobsResponseBodySynchronizationJobsResultUserStatist
|
|
|
414
415
|
export { ListSynchronizationJobsResponseBodySynchronizationJobsResultUserStatistics } from './ListSynchronizationJobsResponseBody';
|
|
415
416
|
export { ListSynchronizationJobsResponseBodySynchronizationJobsResult } from './ListSynchronizationJobsResponseBody';
|
|
416
417
|
export { ListSynchronizationJobsResponseBodySynchronizationJobs } from './ListSynchronizationJobsResponseBody';
|
|
418
|
+
export { ListTrustedOriginsResponseBodyTrustedOrigins } from './ListTrustedOriginsResponseBody';
|
|
417
419
|
export { ListUserAuthnSourceMappingsResponseBodyUserAuthnSourceMappings } from './ListUserAuthnSourceMappingsResponseBody';
|
|
418
420
|
export { ListUsersResponseBodyUsers } from './ListUsersResponseBody';
|
|
419
421
|
export { ListUsersForApplicationResponseBodyUsersApplicationRoles } from './ListUsersForApplicationResponseBody';
|
|
@@ -641,6 +643,9 @@ export { CreateOrganizationalUnitResponse } from './CreateOrganizationalUnitResp
|
|
|
641
643
|
export { CreateResourceServerScopeRequest } from './CreateResourceServerScopeRequest';
|
|
642
644
|
export { CreateResourceServerScopeResponseBody } from './CreateResourceServerScopeResponseBody';
|
|
643
645
|
export { CreateResourceServerScopeResponse } from './CreateResourceServerScopeResponse';
|
|
646
|
+
export { CreateTrustedOriginRequest } from './CreateTrustedOriginRequest';
|
|
647
|
+
export { CreateTrustedOriginResponseBody } from './CreateTrustedOriginResponseBody';
|
|
648
|
+
export { CreateTrustedOriginResponse } from './CreateTrustedOriginResponse';
|
|
644
649
|
export { CreateUserRequest } from './CreateUserRequest';
|
|
645
650
|
export { CreateUserResponseBody } from './CreateUserResponseBody';
|
|
646
651
|
export { CreateUserResponse } from './CreateUserResponse';
|
|
@@ -725,6 +730,9 @@ export { DeleteOrganizationalUnitChildrenResponse } from './DeleteOrganizational
|
|
|
725
730
|
export { DeleteResourceServerScopeRequest } from './DeleteResourceServerScopeRequest';
|
|
726
731
|
export { DeleteResourceServerScopeResponseBody } from './DeleteResourceServerScopeResponseBody';
|
|
727
732
|
export { DeleteResourceServerScopeResponse } from './DeleteResourceServerScopeResponse';
|
|
733
|
+
export { DeleteTrustedOriginRequest } from './DeleteTrustedOriginRequest';
|
|
734
|
+
export { DeleteTrustedOriginResponseBody } from './DeleteTrustedOriginResponseBody';
|
|
735
|
+
export { DeleteTrustedOriginResponse } from './DeleteTrustedOriginResponse';
|
|
728
736
|
export { DeleteUserRequest } from './DeleteUserRequest';
|
|
729
737
|
export { DeleteUserResponseBody } from './DeleteUserResponseBody';
|
|
730
738
|
export { DeleteUserResponse } from './DeleteUserResponse';
|
|
@@ -812,6 +820,9 @@ export { DisableInternalAuthenticationSourceResponse } from './DisableInternalAu
|
|
|
812
820
|
export { DisableResourceServerCustomSubjectRequest } from './DisableResourceServerCustomSubjectRequest';
|
|
813
821
|
export { DisableResourceServerCustomSubjectResponseBody } from './DisableResourceServerCustomSubjectResponseBody';
|
|
814
822
|
export { DisableResourceServerCustomSubjectResponse } from './DisableResourceServerCustomSubjectResponse';
|
|
823
|
+
export { DisableTrustedOriginRequest } from './DisableTrustedOriginRequest';
|
|
824
|
+
export { DisableTrustedOriginResponseBody } from './DisableTrustedOriginResponseBody';
|
|
825
|
+
export { DisableTrustedOriginResponse } from './DisableTrustedOriginResponse';
|
|
815
826
|
export { DisableUserRequest } from './DisableUserRequest';
|
|
816
827
|
export { DisableUserResponseBody } from './DisableUserResponseBody';
|
|
817
828
|
export { DisableUserResponse } from './DisableUserResponse';
|
|
@@ -893,6 +904,9 @@ export { EnableInternalAuthenticationSourceResponse } from './EnableInternalAuth
|
|
|
893
904
|
export { EnableResourceServerCustomSubjectRequest } from './EnableResourceServerCustomSubjectRequest';
|
|
894
905
|
export { EnableResourceServerCustomSubjectResponseBody } from './EnableResourceServerCustomSubjectResponseBody';
|
|
895
906
|
export { EnableResourceServerCustomSubjectResponse } from './EnableResourceServerCustomSubjectResponse';
|
|
907
|
+
export { EnableTrustedOriginRequest } from './EnableTrustedOriginRequest';
|
|
908
|
+
export { EnableTrustedOriginResponseBody } from './EnableTrustedOriginResponseBody';
|
|
909
|
+
export { EnableTrustedOriginResponse } from './EnableTrustedOriginResponse';
|
|
896
910
|
export { EnableUserRequest } from './EnableUserRequest';
|
|
897
911
|
export { EnableUserResponseBody } from './EnableUserResponseBody';
|
|
898
912
|
export { EnableUserResponse } from './EnableUserResponse';
|
|
@@ -1070,6 +1084,9 @@ export { GetServiceQuotaResponse } from './GetServiceQuotaResponse';
|
|
|
1070
1084
|
export { GetSynchronizationJobRequest } from './GetSynchronizationJobRequest';
|
|
1071
1085
|
export { GetSynchronizationJobResponseBody } from './GetSynchronizationJobResponseBody';
|
|
1072
1086
|
export { GetSynchronizationJobResponse } from './GetSynchronizationJobResponse';
|
|
1087
|
+
export { GetTrustedOriginRequest } from './GetTrustedOriginRequest';
|
|
1088
|
+
export { GetTrustedOriginResponseBody } from './GetTrustedOriginResponseBody';
|
|
1089
|
+
export { GetTrustedOriginResponse } from './GetTrustedOriginResponse';
|
|
1073
1090
|
export { GetUserRequest } from './GetUserRequest';
|
|
1074
1091
|
export { GetUserResponseBody } from './GetUserResponseBody';
|
|
1075
1092
|
export { GetUserResponse } from './GetUserResponse';
|
|
@@ -1253,6 +1270,9 @@ export { ListResourceServersForUserResponse } from './ListResourceServersForUser
|
|
|
1253
1270
|
export { ListSynchronizationJobsRequest } from './ListSynchronizationJobsRequest';
|
|
1254
1271
|
export { ListSynchronizationJobsResponseBody } from './ListSynchronizationJobsResponseBody';
|
|
1255
1272
|
export { ListSynchronizationJobsResponse } from './ListSynchronizationJobsResponse';
|
|
1273
|
+
export { ListTrustedOriginsRequest } from './ListTrustedOriginsRequest';
|
|
1274
|
+
export { ListTrustedOriginsResponseBody } from './ListTrustedOriginsResponseBody';
|
|
1275
|
+
export { ListTrustedOriginsResponse } from './ListTrustedOriginsResponse';
|
|
1256
1276
|
export { ListUserAuthnSourceMappingsRequest } from './ListUserAuthnSourceMappingsRequest';
|
|
1257
1277
|
export { ListUserAuthnSourceMappingsResponseBody } from './ListUserAuthnSourceMappingsResponseBody';
|
|
1258
1278
|
export { ListUserAuthnSourceMappingsResponse } from './ListUserAuthnSourceMappingsResponse';
|
|
@@ -1538,6 +1558,9 @@ export { UpdateOrganizationalUnitParentIdResponse } from './UpdateOrganizational
|
|
|
1538
1558
|
export { UpdateResourceServerScopeRequest } from './UpdateResourceServerScopeRequest';
|
|
1539
1559
|
export { UpdateResourceServerScopeResponseBody } from './UpdateResourceServerScopeResponseBody';
|
|
1540
1560
|
export { UpdateResourceServerScopeResponse } from './UpdateResourceServerScopeResponse';
|
|
1561
|
+
export { UpdateTrustedOriginRequest } from './UpdateTrustedOriginRequest';
|
|
1562
|
+
export { UpdateTrustedOriginResponseBody } from './UpdateTrustedOriginResponseBody';
|
|
1563
|
+
export { UpdateTrustedOriginResponse } from './UpdateTrustedOriginResponse';
|
|
1541
1564
|
export { UpdateUserRequest } from './UpdateUserRequest';
|
|
1542
1565
|
export { UpdateUserResponseBody } from './UpdateUserResponseBody';
|
|
1543
1566
|
export { UpdateUserResponse } from './UpdateUserResponse';
|