@alicloud/eiam20211201 2.18.1 → 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.
Files changed (107) hide show
  1. package/dist/client.d.ts +121 -10
  2. package/dist/client.js +346 -10
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateTrustedOriginRequest.d.ts +59 -0
  5. package/dist/models/CreateTrustedOriginRequest.js +69 -0
  6. package/dist/models/CreateTrustedOriginRequest.js.map +1 -0
  7. package/dist/models/CreateTrustedOriginResponse.d.ts +19 -0
  8. package/dist/models/CreateTrustedOriginResponse.js +69 -0
  9. package/dist/models/CreateTrustedOriginResponse.js.map +1 -0
  10. package/dist/models/CreateTrustedOriginResponseBody.d.ts +29 -0
  11. package/dist/models/CreateTrustedOriginResponseBody.js +60 -0
  12. package/dist/models/CreateTrustedOriginResponseBody.js.map +1 -0
  13. package/dist/models/DeleteTrustedOriginRequest.d.ts +41 -0
  14. package/dist/models/DeleteTrustedOriginRequest.js +62 -0
  15. package/dist/models/DeleteTrustedOriginRequest.js.map +1 -0
  16. package/dist/models/DeleteTrustedOriginResponse.d.ts +19 -0
  17. package/dist/models/DeleteTrustedOriginResponse.js +69 -0
  18. package/dist/models/DeleteTrustedOriginResponse.js.map +1 -0
  19. package/dist/models/DeleteTrustedOriginResponseBody.d.ts +21 -0
  20. package/dist/models/DeleteTrustedOriginResponseBody.js +58 -0
  21. package/dist/models/DeleteTrustedOriginResponseBody.js.map +1 -0
  22. package/dist/models/DisableTrustedOriginRequest.d.ts +33 -0
  23. package/dist/models/DisableTrustedOriginRequest.js +60 -0
  24. package/dist/models/DisableTrustedOriginRequest.js.map +1 -0
  25. package/dist/models/DisableTrustedOriginResponse.d.ts +19 -0
  26. package/dist/models/DisableTrustedOriginResponse.js +69 -0
  27. package/dist/models/DisableTrustedOriginResponse.js.map +1 -0
  28. package/dist/models/DisableTrustedOriginResponseBody.d.ts +21 -0
  29. package/dist/models/DisableTrustedOriginResponseBody.js +58 -0
  30. package/dist/models/DisableTrustedOriginResponseBody.js.map +1 -0
  31. package/dist/models/EnableTrustedOriginRequest.d.ts +33 -0
  32. package/dist/models/EnableTrustedOriginRequest.js +60 -0
  33. package/dist/models/EnableTrustedOriginRequest.js.map +1 -0
  34. package/dist/models/EnableTrustedOriginResponse.d.ts +19 -0
  35. package/dist/models/EnableTrustedOriginResponse.js +69 -0
  36. package/dist/models/EnableTrustedOriginResponse.js.map +1 -0
  37. package/dist/models/EnableTrustedOriginResponseBody.d.ts +21 -0
  38. package/dist/models/EnableTrustedOriginResponseBody.js +58 -0
  39. package/dist/models/EnableTrustedOriginResponseBody.js.map +1 -0
  40. package/dist/models/GetAuthorizationResourceResponseBody.d.ts +3 -0
  41. package/dist/models/GetAuthorizationResourceResponseBody.js.map +1 -1
  42. package/dist/models/GetInstanceLicenseResponseBody.d.ts +26 -21
  43. package/dist/models/GetInstanceLicenseResponseBody.js +2 -0
  44. package/dist/models/GetInstanceLicenseResponseBody.js.map +1 -1
  45. package/dist/models/GetTrustedOriginRequest.d.ts +33 -0
  46. package/dist/models/GetTrustedOriginRequest.js +60 -0
  47. package/dist/models/GetTrustedOriginRequest.js.map +1 -0
  48. package/dist/models/GetTrustedOriginResponse.d.ts +19 -0
  49. package/dist/models/GetTrustedOriginResponse.js +69 -0
  50. package/dist/models/GetTrustedOriginResponse.js.map +1 -0
  51. package/dist/models/GetTrustedOriginResponseBody.d.ts +103 -0
  52. package/dist/models/GetTrustedOriginResponseBody.js +99 -0
  53. package/dist/models/GetTrustedOriginResponseBody.js.map +1 -0
  54. package/dist/models/ListAuthorizationResourcesRequest.d.ts +4 -4
  55. package/dist/models/ListAuthorizationResourcesResponseBody.d.ts +10 -7
  56. package/dist/models/ListAuthorizationResourcesResponseBody.js.map +1 -1
  57. package/dist/models/ListTrustedOriginsRequest.d.ts +71 -0
  58. package/dist/models/ListTrustedOriginsRequest.js +73 -0
  59. package/dist/models/ListTrustedOriginsRequest.js.map +1 -0
  60. package/dist/models/ListTrustedOriginsResponse.d.ts +19 -0
  61. package/dist/models/ListTrustedOriginsResponse.js +69 -0
  62. package/dist/models/ListTrustedOriginsResponse.js.map +1 -0
  63. package/dist/models/ListTrustedOriginsResponseBody.d.ts +127 -0
  64. package/dist/models/ListTrustedOriginsResponseBody.js +105 -0
  65. package/dist/models/ListTrustedOriginsResponseBody.js.map +1 -0
  66. package/dist/models/RevokeResourceServerScopesFromClientRequest.d.ts +2 -2
  67. package/dist/models/UpdateTrustedOriginRequest.d.ts +57 -0
  68. package/dist/models/UpdateTrustedOriginRequest.js +69 -0
  69. package/dist/models/UpdateTrustedOriginRequest.js.map +1 -0
  70. package/dist/models/UpdateTrustedOriginResponse.d.ts +19 -0
  71. package/dist/models/UpdateTrustedOriginResponse.js +69 -0
  72. package/dist/models/UpdateTrustedOriginResponse.js.map +1 -0
  73. package/dist/models/UpdateTrustedOriginResponseBody.d.ts +21 -0
  74. package/dist/models/UpdateTrustedOriginResponseBody.js +58 -0
  75. package/dist/models/UpdateTrustedOriginResponseBody.js.map +1 -0
  76. package/dist/models/model.d.ts +23 -0
  77. package/dist/models/model.js +74 -27
  78. package/dist/models/model.js.map +1 -1
  79. package/package.json +1 -1
  80. package/src/client.ts +386 -10
  81. package/src/models/CreateTrustedOriginRequest.ts +83 -0
  82. package/src/models/CreateTrustedOriginResponse.ts +40 -0
  83. package/src/models/CreateTrustedOriginResponseBody.ts +44 -0
  84. package/src/models/DeleteTrustedOriginRequest.ts +58 -0
  85. package/src/models/DeleteTrustedOriginResponse.ts +40 -0
  86. package/src/models/DeleteTrustedOriginResponseBody.ts +34 -0
  87. package/src/models/DisableTrustedOriginRequest.ts +48 -0
  88. package/src/models/DisableTrustedOriginResponse.ts +40 -0
  89. package/src/models/DisableTrustedOriginResponseBody.ts +34 -0
  90. package/src/models/EnableTrustedOriginRequest.ts +48 -0
  91. package/src/models/EnableTrustedOriginResponse.ts +40 -0
  92. package/src/models/EnableTrustedOriginResponseBody.ts +34 -0
  93. package/src/models/GetAuthorizationResourceResponseBody.ts +3 -0
  94. package/src/models/GetInstanceLicenseResponseBody.ts +28 -21
  95. package/src/models/GetTrustedOriginRequest.ts +48 -0
  96. package/src/models/GetTrustedOriginResponse.ts +40 -0
  97. package/src/models/GetTrustedOriginResponseBody.ts +148 -0
  98. package/src/models/ListAuthorizationResourcesRequest.ts +4 -4
  99. package/src/models/ListAuthorizationResourcesResponseBody.ts +10 -7
  100. package/src/models/ListTrustedOriginsRequest.ts +99 -0
  101. package/src/models/ListTrustedOriginsResponse.ts +40 -0
  102. package/src/models/ListTrustedOriginsResponseBody.ts +178 -0
  103. package/src/models/RevokeResourceServerScopesFromClientRequest.ts +2 -2
  104. package/src/models/UpdateTrustedOriginRequest.ts +81 -0
  105. package/src/models/UpdateTrustedOriginResponse.ts +40 -0
  106. package/src/models/UpdateTrustedOriginResponseBody.ts +34 -0
  107. package/src/models/model.ts +23 -0
@@ -0,0 +1,148 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetTrustedOriginResponseBodyTrustedOrigin 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 name of the trusted origin.
43
+ *
44
+ * @example
45
+ * Qoder Production Console
46
+ */
47
+ trustOriginName?: string;
48
+ /**
49
+ * @remarks
50
+ * The ID of the trusted origin.
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 GetTrustedOriginResponseBody extends $dara.Model {
110
+ /**
111
+ * @remarks
112
+ * The request ID.
113
+ *
114
+ * @example
115
+ * 0441BD79-example
116
+ */
117
+ requestId?: string;
118
+ /**
119
+ * @remarks
120
+ * The trusted origin.
121
+ */
122
+ trustedOrigin?: GetTrustedOriginResponseBodyTrustedOrigin;
123
+ static names(): { [key: string]: string } {
124
+ return {
125
+ requestId: 'RequestId',
126
+ trustedOrigin: 'TrustedOrigin',
127
+ };
128
+ }
129
+
130
+ static types(): { [key: string]: any } {
131
+ return {
132
+ requestId: 'string',
133
+ trustedOrigin: GetTrustedOriginResponseBodyTrustedOrigin,
134
+ };
135
+ }
136
+
137
+ validate() {
138
+ if(this.trustedOrigin && typeof (this.trustedOrigin as any).validate === 'function') {
139
+ (this.trustedOrigin as any).validate();
140
+ }
141
+ super.validate();
142
+ }
143
+
144
+ constructor(map?: { [key: string]: any }) {
145
+ super(map);
146
+ }
147
+ }
148
+
@@ -5,11 +5,11 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ListAuthorizationResourcesRequestFilter extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The name of the filter field. Valid values:
8
+ * The filter field name. Valid values:
9
9
  *
10
- * - AuthorizationResourceEntityType: the type of the resource entity associated with the authorization resource.
10
+ * - AuthorizationResourceEntityType: the resource entity type associated with the authorization resource
11
11
  *
12
- * - AuthorizationResourceEntityId: the ID of the resource entity associated with the authorization resource.
12
+ * - AuthorizationResourceEntityId: the resource entity ID associated with the authorization resource
13
13
  *
14
14
  * @example
15
15
  * AuthorizationResourceEntityId
@@ -86,7 +86,7 @@ export class ListAuthorizationResourcesRequest extends $dara.Model {
86
86
  maxResults?: number;
87
87
  /**
88
88
  * @remarks
89
- * The token that identifies the start position of the next page.
89
+ * The pagination token that marks the starting position of the next page.
90
90
  *
91
91
  * - If this parameter is not specified, the query starts from the first page.
92
92
  *
@@ -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 ID of the resource entity associated with the authorization resource.
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 type of the resource entity associated with the authorization resource. Valid values:
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
- * 1787023451494
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
- * 1787023451494
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 entries per page in a paged query. This parameter is used for paging.
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 client application.
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 scope permission IDs under the ResourceServer.
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
+