@alicloud/agentcore20260804 2.6.0 → 3.0.1
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 +577 -119
- package/dist/client.js +729 -123
- package/dist/client.js.map +1 -1
- package/dist/models/CreateIdentityProviderRequest.d.ts +6 -6
- package/dist/models/CreateIdentityProviderResponseBody.d.ts +20 -52
- package/dist/models/CreateIdentityProviderResponseBody.js +0 -8
- package/dist/models/CreateIdentityProviderResponseBody.js.map +1 -1
- package/dist/models/CreateIdentityProviderScimcredentialRequest.d.ts +13 -0
- package/dist/models/CreateIdentityProviderScimcredentialRequest.js +54 -0
- package/dist/models/CreateIdentityProviderScimcredentialRequest.js.map +1 -0
- package/dist/models/CreateIdentityProviderScimcredentialResponse.d.ts +19 -0
- package/dist/models/CreateIdentityProviderScimcredentialResponse.js +69 -0
- package/dist/models/CreateIdentityProviderScimcredentialResponse.js.map +1 -0
- package/dist/models/CreateIdentityProviderScimcredentialResponseBody.d.ts +157 -0
- package/dist/models/CreateIdentityProviderScimcredentialResponseBody.js +146 -0
- package/dist/models/CreateIdentityProviderScimcredentialResponseBody.js.map +1 -0
- package/dist/models/CreateWorkspaceRequest.d.ts +23 -7
- package/dist/models/CreateWorkspaceRequest.js +4 -0
- package/dist/models/CreateWorkspaceRequest.js.map +1 -1
- package/dist/models/CreateWorkspaceResponseBody.d.ts +11 -11
- package/dist/models/CreateWorkspaceShrinkRequest.d.ts +1 -1
- package/dist/models/DeleteIdentityProviderResponseBody.d.ts +15 -47
- package/dist/models/DeleteIdentityProviderResponseBody.js +0 -8
- package/dist/models/DeleteIdentityProviderResponseBody.js.map +1 -1
- package/dist/models/DeleteIdentityProviderScimcredentialRequest.d.ts +13 -0
- package/dist/models/DeleteIdentityProviderScimcredentialRequest.js +54 -0
- package/dist/models/DeleteIdentityProviderScimcredentialRequest.js.map +1 -0
- package/dist/models/DeleteIdentityProviderScimcredentialResponse.d.ts +19 -0
- package/dist/models/DeleteIdentityProviderScimcredentialResponse.js +69 -0
- package/dist/models/DeleteIdentityProviderScimcredentialResponse.js.map +1 -0
- package/dist/models/DeleteIdentityProviderScimcredentialResponseBody.d.ts +50 -0
- package/dist/models/DeleteIdentityProviderScimcredentialResponseBody.js +66 -0
- package/dist/models/DeleteIdentityProviderScimcredentialResponseBody.js.map +1 -0
- package/dist/models/GetIdentityProviderResponseBody.d.ts +23 -55
- package/dist/models/GetIdentityProviderResponseBody.js +0 -8
- package/dist/models/GetIdentityProviderResponseBody.js.map +1 -1
- package/dist/models/GetIdentityProviderScimrequest.d.ts +13 -0
- package/dist/models/GetIdentityProviderScimrequest.js +54 -0
- package/dist/models/GetIdentityProviderScimrequest.js.map +1 -0
- package/dist/models/GetIdentityProviderScimresponse.d.ts +19 -0
- package/dist/models/GetIdentityProviderScimresponse.js +69 -0
- package/dist/models/GetIdentityProviderScimresponse.js.map +1 -0
- package/dist/models/GetIdentityProviderScimresponseBody.d.ts +131 -0
- package/dist/models/GetIdentityProviderScimresponseBody.js +120 -0
- package/dist/models/GetIdentityProviderScimresponseBody.js.map +1 -0
- package/dist/models/GetIdentityProviderServiceProviderRequest.d.ts +23 -0
- package/dist/models/GetIdentityProviderServiceProviderRequest.js +58 -0
- package/dist/models/GetIdentityProviderServiceProviderRequest.js.map +1 -0
- package/dist/models/GetIdentityProviderServiceProviderResponse.d.ts +19 -0
- package/dist/models/GetIdentityProviderServiceProviderResponse.js +69 -0
- package/dist/models/GetIdentityProviderServiceProviderResponse.js.map +1 -0
- package/dist/models/GetIdentityProviderServiceProviderResponseBody.d.ts +99 -0
- package/dist/models/GetIdentityProviderServiceProviderResponseBody.js +96 -0
- package/dist/models/GetIdentityProviderServiceProviderResponseBody.js.map +1 -0
- package/dist/models/ListIdentityProviderDepartmentsRequest.d.ts +2 -2
- package/dist/models/ListIdentityProviderDepartmentsResponseBody.d.ts +9 -9
- package/dist/models/ListIdentityProviderScimcredentialsRequest.d.ts +13 -0
- package/dist/models/ListIdentityProviderScimcredentialsRequest.js +54 -0
- package/dist/models/ListIdentityProviderScimcredentialsRequest.js.map +1 -0
- package/dist/models/ListIdentityProviderScimcredentialsResponse.d.ts +19 -0
- package/dist/models/ListIdentityProviderScimcredentialsResponse.js +69 -0
- package/dist/models/ListIdentityProviderScimcredentialsResponse.js.map +1 -0
- package/dist/models/ListIdentityProviderScimcredentialsResponseBody.d.ts +99 -0
- package/dist/models/ListIdentityProviderScimcredentialsResponseBody.js +96 -0
- package/dist/models/ListIdentityProviderScimcredentialsResponseBody.js.map +1 -0
- package/dist/models/ListIdentityProvidersRequest.d.ts +2 -2
- package/dist/models/ListIdentityProvidersResponseBody.d.ts +25 -69
- package/dist/models/ListIdentityProvidersResponseBody.js +0 -8
- package/dist/models/ListIdentityProvidersResponseBody.js.map +1 -1
- package/dist/models/PrepareIdentityProviderScimrequest.d.ts +13 -0
- package/dist/models/PrepareIdentityProviderScimrequest.js +54 -0
- package/dist/models/PrepareIdentityProviderScimrequest.js.map +1 -0
- package/dist/models/PrepareIdentityProviderScimresponse.d.ts +19 -0
- package/dist/models/PrepareIdentityProviderScimresponse.js +69 -0
- package/dist/models/PrepareIdentityProviderScimresponse.js.map +1 -0
- package/dist/models/PrepareIdentityProviderScimresponseBody.d.ts +157 -0
- package/dist/models/PrepareIdentityProviderScimresponseBody.js +146 -0
- package/dist/models/PrepareIdentityProviderScimresponseBody.js.map +1 -0
- package/dist/models/UpdateIdentityProviderRequest.d.ts +20 -39
- package/dist/models/UpdateIdentityProviderRequest.js +0 -4
- package/dist/models/UpdateIdentityProviderRequest.js.map +1 -1
- package/dist/models/UpdateIdentityProviderResponseBody.d.ts +35 -60
- package/dist/models/UpdateIdentityProviderResponseBody.js +0 -8
- package/dist/models/UpdateIdentityProviderResponseBody.js.map +1 -1
- package/dist/models/UpdateIdentityProviderScimrequest.d.ts +39 -0
- package/dist/models/UpdateIdentityProviderScimrequest.js +80 -0
- package/dist/models/UpdateIdentityProviderScimrequest.js.map +1 -0
- package/dist/models/UpdateIdentityProviderScimresponse.d.ts +19 -0
- package/dist/models/UpdateIdentityProviderScimresponse.js +69 -0
- package/dist/models/UpdateIdentityProviderScimresponse.js.map +1 -0
- package/dist/models/UpdateIdentityProviderScimresponseBody.d.ts +304 -0
- package/dist/models/UpdateIdentityProviderScimresponseBody.js +205 -0
- package/dist/models/UpdateIdentityProviderScimresponseBody.js.map +1 -0
- package/dist/models/UpdateIdentityProviderScimshrinkRequest.d.ts +20 -0
- package/dist/models/UpdateIdentityProviderScimshrinkRequest.js +58 -0
- package/dist/models/UpdateIdentityProviderScimshrinkRequest.js.map +1 -0
- package/dist/models/UpdateIdentityProviderShrinkRequest.d.ts +1 -1
- package/dist/models/VerifyAgentCodePackageOssRamAuthorizationRequest.d.ts +1 -1
- package/dist/models/VerifyAgentCodePackageOssRamAuthorizationResponseBody.d.ts +28 -2
- package/dist/models/VerifyAgentCodePackageOssRamAuthorizationResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +37 -0
- package/dist/models/model.js +100 -25
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +746 -123
- package/src/models/CreateIdentityProviderRequest.ts +6 -6
- package/src/models/CreateIdentityProviderResponseBody.ts +20 -60
- package/src/models/CreateIdentityProviderScimcredentialRequest.ts +24 -0
- package/src/models/CreateIdentityProviderScimcredentialResponse.ts +40 -0
- package/src/models/CreateIdentityProviderScimcredentialResponseBody.ts +231 -0
- package/src/models/CreateWorkspaceRequest.ts +27 -7
- package/src/models/CreateWorkspaceResponseBody.ts +11 -11
- package/src/models/CreateWorkspaceShrinkRequest.ts +1 -1
- package/src/models/DeleteIdentityProviderResponseBody.ts +15 -55
- package/src/models/DeleteIdentityProviderScimcredentialRequest.ts +24 -0
- package/src/models/DeleteIdentityProviderScimcredentialResponse.ts +40 -0
- package/src/models/DeleteIdentityProviderScimcredentialResponseBody.ts +71 -0
- package/src/models/GetIdentityProviderResponseBody.ts +23 -63
- package/src/models/GetIdentityProviderScimrequest.ts +24 -0
- package/src/models/GetIdentityProviderScimresponse.ts +40 -0
- package/src/models/GetIdentityProviderScimresponseBody.ts +188 -0
- package/src/models/GetIdentityProviderServiceProviderRequest.ts +36 -0
- package/src/models/GetIdentityProviderServiceProviderResponse.ts +40 -0
- package/src/models/GetIdentityProviderServiceProviderResponseBody.ts +141 -0
- package/src/models/ListIdentityProviderDepartmentsRequest.ts +2 -2
- package/src/models/ListIdentityProviderDepartmentsResponseBody.ts +9 -9
- package/src/models/ListIdentityProviderScimcredentialsRequest.ts +24 -0
- package/src/models/ListIdentityProviderScimcredentialsResponse.ts +40 -0
- package/src/models/ListIdentityProviderScimcredentialsResponseBody.ts +141 -0
- package/src/models/ListIdentityProvidersRequest.ts +2 -2
- package/src/models/ListIdentityProvidersResponseBody.ts +25 -77
- package/src/models/PrepareIdentityProviderScimrequest.ts +24 -0
- package/src/models/PrepareIdentityProviderScimresponse.ts +40 -0
- package/src/models/PrepareIdentityProviderScimresponseBody.ts +231 -0
- package/src/models/UpdateIdentityProviderRequest.ts +20 -43
- package/src/models/UpdateIdentityProviderResponseBody.ts +35 -68
- package/src/models/UpdateIdentityProviderScimrequest.ts +65 -0
- package/src/models/UpdateIdentityProviderScimresponse.ts +40 -0
- package/src/models/UpdateIdentityProviderScimresponseBody.ts +428 -0
- package/src/models/UpdateIdentityProviderScimshrinkRequest.ts +33 -0
- package/src/models/UpdateIdentityProviderShrinkRequest.ts +1 -1
- package/src/models/VerifyAgentCodePackageOssRamAuthorizationRequest.ts +1 -1
- package/src/models/VerifyAgentCodePackageOssRamAuthorizationResponseBody.ts +28 -2
- package/src/models/model.ts +37 -0
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetIdentityProviderResponseBodyDataConfiguration extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* HTTP-Redirect or HTTP-POST. This parameter is required
|
|
8
|
+
* HTTP-Redirect or HTTP-POST. This parameter is required for manual entry. Queries return the short name.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* HTTP-Redirect
|
|
@@ -13,7 +13,7 @@ export class GetIdentityProviderResponseBodyDataConfiguration extends $dara.Mode
|
|
|
13
13
|
bindingType?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* This parameter is required
|
|
16
|
+
* This parameter is required for manual entry. It must be non-empty and cannot exceed 2,048 characters. Existing configurations do not support replacement. This is different from the local entity ID queried by the SP.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* https://idp.example.com/entity
|
|
@@ -21,23 +21,7 @@ export class GetIdentityProviderResponseBodyDataConfiguration extends $dara.Mode
|
|
|
21
21
|
entityId?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
* @example
|
|
27
|
-
* Disabled
|
|
28
|
-
*/
|
|
29
|
-
jitProvisionStatus?: string;
|
|
30
|
-
/**
|
|
31
|
-
* @remarks
|
|
32
|
-
* The actual switch value, which is Enabled or Disabled.
|
|
33
|
-
*
|
|
34
|
-
* @example
|
|
35
|
-
* Disabled
|
|
36
|
-
*/
|
|
37
|
-
jitUpdateStatus?: string;
|
|
38
|
-
/**
|
|
39
|
-
* @remarks
|
|
40
|
-
* This parameter is required when you manually enter the configuration. It must be an absolute HTTPS URL and cannot contain user credentials or fragments.
|
|
24
|
+
* This parameter is required for manual entry. It must be an absolute HTTPS URL and cannot contain user credentials or fragments.
|
|
41
25
|
*
|
|
42
26
|
* @example
|
|
43
27
|
* https://idp.example.com/sso
|
|
@@ -45,7 +29,7 @@ export class GetIdentityProviderResponseBodyDataConfiguration extends $dara.Mode
|
|
|
45
29
|
loginUrl?: string;
|
|
46
30
|
/**
|
|
47
31
|
* @remarks
|
|
48
|
-
* The actual switch value
|
|
32
|
+
* The actual switch value is Enabled or Disabled. This is not equivalent to the expected loginEnabled value saved by AC.
|
|
49
33
|
*
|
|
50
34
|
* @example
|
|
51
35
|
* Enabled
|
|
@@ -55,8 +39,6 @@ export class GetIdentityProviderResponseBodyDataConfiguration extends $dara.Mode
|
|
|
55
39
|
return {
|
|
56
40
|
bindingType: 'bindingType',
|
|
57
41
|
entityId: 'entityId',
|
|
58
|
-
jitProvisionStatus: 'jitProvisionStatus',
|
|
59
|
-
jitUpdateStatus: 'jitUpdateStatus',
|
|
60
42
|
loginUrl: 'loginUrl',
|
|
61
43
|
ssoStatus: 'ssoStatus',
|
|
62
44
|
};
|
|
@@ -66,8 +48,6 @@ export class GetIdentityProviderResponseBodyDataConfiguration extends $dara.Mode
|
|
|
66
48
|
return {
|
|
67
49
|
bindingType: 'string',
|
|
68
50
|
entityId: 'string',
|
|
69
|
-
jitProvisionStatus: 'string',
|
|
70
|
-
jitUpdateStatus: 'string',
|
|
71
51
|
loginUrl: 'string',
|
|
72
52
|
ssoStatus: 'string',
|
|
73
53
|
};
|
|
@@ -125,7 +105,7 @@ export class GetIdentityProviderResponseBodyDataMetadata extends $dara.Model {
|
|
|
125
105
|
corpId?: string;
|
|
126
106
|
/**
|
|
127
107
|
* @remarks
|
|
128
|
-
* This parameter is required
|
|
108
|
+
* This parameter is required for manual entry. It must be non-empty and cannot exceed 2,048 characters. Existing configurations do not support replacement. This is different from the local entity ID queried by the SP.
|
|
129
109
|
*
|
|
130
110
|
* @example
|
|
131
111
|
* https://idp.example.com/entity
|
|
@@ -133,7 +113,7 @@ export class GetIdentityProviderResponseBodyDataMetadata extends $dara.Model {
|
|
|
133
113
|
entityId?: string;
|
|
134
114
|
/**
|
|
135
115
|
* @remarks
|
|
136
|
-
* This parameter is required
|
|
116
|
+
* This parameter is required for manual entry. It must be an absolute HTTPS URL and cannot contain user credentials or fragments.
|
|
137
117
|
*
|
|
138
118
|
* @example
|
|
139
119
|
* https://idp.example.com/sso
|
|
@@ -175,7 +155,7 @@ export class GetIdentityProviderResponseBodyDataMetadata extends $dara.Model {
|
|
|
175
155
|
export class GetIdentityProviderResponseBodyDataSaml extends $dara.Model {
|
|
176
156
|
/**
|
|
177
157
|
* @remarks
|
|
178
|
-
* HTTP-Redirect or HTTP-POST. This parameter is required
|
|
158
|
+
* HTTP-Redirect or HTTP-POST. This parameter is required for manual entry. Queries return the short name.
|
|
179
159
|
*
|
|
180
160
|
* @example
|
|
181
161
|
* HTTP-Redirect
|
|
@@ -183,7 +163,7 @@ export class GetIdentityProviderResponseBodyDataSaml extends $dara.Model {
|
|
|
183
163
|
bindingType?: string;
|
|
184
164
|
/**
|
|
185
165
|
* @remarks
|
|
186
|
-
* This parameter is required
|
|
166
|
+
* This parameter is required for manual entry. It must be non-empty and cannot exceed 2,048 characters. Existing configurations do not support replacement. This is different from the local entity ID queried by the SP.
|
|
187
167
|
*
|
|
188
168
|
* @example
|
|
189
169
|
* https://idp.example.com/entity
|
|
@@ -191,23 +171,7 @@ export class GetIdentityProviderResponseBodyDataSaml extends $dara.Model {
|
|
|
191
171
|
entityId?: string;
|
|
192
172
|
/**
|
|
193
173
|
* @remarks
|
|
194
|
-
* This parameter
|
|
195
|
-
*
|
|
196
|
-
* @example
|
|
197
|
-
* false
|
|
198
|
-
*/
|
|
199
|
-
jitProvisionEnabled?: boolean;
|
|
200
|
-
/**
|
|
201
|
-
* @remarks
|
|
202
|
-
* This parameter can be set independently. If it is omitted during an update, the existing value is retained. If it is omitted for the first time, the default value is false. A valid SAML configuration is required.
|
|
203
|
-
*
|
|
204
|
-
* @example
|
|
205
|
-
* false
|
|
206
|
-
*/
|
|
207
|
-
jitUpdateEnabled?: boolean;
|
|
208
|
-
/**
|
|
209
|
-
* @remarks
|
|
210
|
-
* This parameter is required when you manually enter the configuration. It must be an absolute HTTPS URL and cannot contain user credentials or fragments.
|
|
174
|
+
* This parameter is required for manual entry. It must be an absolute HTTPS URL and cannot contain user credentials or fragments.
|
|
211
175
|
*
|
|
212
176
|
* @example
|
|
213
177
|
* https://idp.example.com/sso
|
|
@@ -215,7 +179,7 @@ export class GetIdentityProviderResponseBodyDataSaml extends $dara.Model {
|
|
|
215
179
|
loginUrl?: string;
|
|
216
180
|
/**
|
|
217
181
|
* @remarks
|
|
218
|
-
*
|
|
182
|
+
* A non-empty array is required for manual entry. Use PEM X.509 certificate text. The current validity period is verified. A maximum of two certificates are allowed after deduplication.
|
|
219
183
|
*
|
|
220
184
|
* @example
|
|
221
185
|
* ["-----BEGIN CERTIFICATE-----\\\\nMIICwDCCAaigAwIBAgIULlsHLfcADyBax5ZtFlj+YGzZVo0wDQYJKoZIhvcNAQEL\\\\nBQAwGjEYMBYGA1UEAwwPaWRwLmV4YW1wbGUuY29tMB4XDTI2MDEwMTAwMDAwMFoX\\\\nDTM2MDEwMTAwMDAwMFowGjEYMBYGA1UEAwwPaWRwLmV4YW1wbGUuY29tMIIBIjAN\\\\nBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAto0DN0W1CrPRzK9QZ9A1aApb4Lg8\\\\noGlp2c0PbN3LokXe/HzwxCMXx65IDnrenttxzTwp9BgUnUN/3LRzWaOL2UQ/vNYN\\\\nW9LFLkI1T64UPyI7eyi28YlALhb41xkYhEp7rz+MjqifBzVZeTDUxBYtbK2hAhbY\\\\nEL1+udwsXEx0KB7xuQ/rbI2OKeqAEAD1tfYg7T/SM2wrXNYhx+o1HtchM4/0I8Ok\\\\nkk27JQ4y3ofzC5sTySmFF1Y7XcpSd+5WSyazedhkAieo8AB01DkJV6nnKfH8sH0E\\\\nBsnH3FP8FhqCLrIeEkjX9B9OcIRLGjiZqx4u/ryW1QhMldnv+pFfNjWy/wIDAQAB\\\\nMA0GCSqGSIb3DQEBCwUAA4IBAQC1hSQG8AwtGOoX2gKBK4Hi5XBrBreij8WlLTUW\\\\nld0FINQ0Rg84f/27CjDthywj6wgxCesCuOVFhpxQa1UacsP/Gcai1aKABtLWImca\\\\nWECRYK5gDkwhTMFKM9mXA26hH1l4v/UR2iTpEK9H78egC4W7bs2LDTpPryuaNKTq\\\\nP2O0tMbNkAHB8yecz5LxHXnxadL9Egow25g2RClvpifWqDnuS9TSbKkIWLcPLjoc\\\\nJj2K9ILpBwhXiXi/BiSgyYTLiYvVvih9vX4s+hKGZNJc0j92YLiOHDF0XH1oxgdV\\\\njfTmRiedeb2VZJZElptD92z0AqFR7z2d5B+OqpPA2gjuMLV5\\\\n-----END CERTIFICATE-----"]
|
|
@@ -225,8 +189,6 @@ export class GetIdentityProviderResponseBodyDataSaml extends $dara.Model {
|
|
|
225
189
|
return {
|
|
226
190
|
bindingType: 'bindingType',
|
|
227
191
|
entityId: 'entityId',
|
|
228
|
-
jitProvisionEnabled: 'jitProvisionEnabled',
|
|
229
|
-
jitUpdateEnabled: 'jitUpdateEnabled',
|
|
230
192
|
loginUrl: 'loginUrl',
|
|
231
193
|
x509Certificates: 'x509Certificates',
|
|
232
194
|
};
|
|
@@ -236,8 +198,6 @@ export class GetIdentityProviderResponseBodyDataSaml extends $dara.Model {
|
|
|
236
198
|
return {
|
|
237
199
|
bindingType: 'string',
|
|
238
200
|
entityId: 'string',
|
|
239
|
-
jitProvisionEnabled: 'boolean',
|
|
240
|
-
jitUpdateEnabled: 'boolean',
|
|
241
201
|
loginUrl: 'string',
|
|
242
202
|
x509Certificates: { 'type': 'array', 'itemType': 'string' },
|
|
243
203
|
};
|
|
@@ -266,10 +226,10 @@ export class GetIdentityProviderResponseBodyDataSyncScope extends $dara.Model {
|
|
|
266
226
|
departmentIds?: string[];
|
|
267
227
|
/**
|
|
268
228
|
* @remarks
|
|
269
|
-
*
|
|
270
|
-
* - AllAuthorized:
|
|
229
|
+
* Valid values:
|
|
230
|
+
* - AllAuthorized: The full authorization scope, which is limited by the application address book authorization.
|
|
271
231
|
* - SelectedDepartments: The selected departments and all their sub-departments.
|
|
272
|
-
* When
|
|
232
|
+
* When explicitly submitting syncScope, you must provide a valid mode, which is verified by the backend.
|
|
273
233
|
*
|
|
274
234
|
* @example
|
|
275
235
|
* SelectedDepartments
|
|
@@ -304,7 +264,7 @@ export class GetIdentityProviderResponseBodyDataSyncScope extends $dara.Model {
|
|
|
304
264
|
export class GetIdentityProviderResponseBodyData extends $dara.Model {
|
|
305
265
|
/**
|
|
306
266
|
* @remarks
|
|
307
|
-
* The actual SAML configuration is read back on demand only by GetIdentityProvider. SCIM queries and preparations return the actual
|
|
267
|
+
* The actual SAML configuration is read back on demand only by GetIdentityProvider. SCIM queries and preparations return the actual received status and URLs.
|
|
308
268
|
*/
|
|
309
269
|
configuration?: GetIdentityProviderResponseBodyDataConfiguration;
|
|
310
270
|
/**
|
|
@@ -325,7 +285,7 @@ export class GetIdentityProviderResponseBodyData extends $dara.Model {
|
|
|
325
285
|
eventSubscriptionCallbackUrl?: string;
|
|
326
286
|
/**
|
|
327
287
|
* @remarks
|
|
328
|
-
* The external identity provider
|
|
288
|
+
* The type of the external identity provider. Valid values: DingTalk and Feishu.
|
|
329
289
|
*
|
|
330
290
|
* @example
|
|
331
291
|
* DingTalk
|
|
@@ -351,7 +311,7 @@ export class GetIdentityProviderResponseBodyData extends $dara.Model {
|
|
|
351
311
|
metadata?: GetIdentityProviderResponseBodyDataMetadata;
|
|
352
312
|
/**
|
|
353
313
|
* @remarks
|
|
354
|
-
* Only SAML is currently supported. This parameter may not be returned if no valid configuration is saved.
|
|
314
|
+
* Only SAML is currently supported. This parameter may not be returned if no valid configuration is saved. Placeholder initialization with OIDC is not supported.
|
|
355
315
|
*
|
|
356
316
|
* @example
|
|
357
317
|
* SAML
|
|
@@ -365,15 +325,15 @@ export class GetIdentityProviderResponseBodyData extends $dara.Model {
|
|
|
365
325
|
/**
|
|
366
326
|
* @remarks
|
|
367
327
|
* The status. Valid values:
|
|
368
|
-
* - CONFIGURED: The configuration is accepted and
|
|
328
|
+
* - CONFIGURED: The configuration is accepted and waiting for the user pool to be activated.
|
|
369
329
|
* - SYNCING: Organization members are being synchronized.
|
|
370
|
-
* - SYNCED:
|
|
330
|
+
* - SYNCED: The synchronization of organization members is complete.
|
|
371
331
|
* - READY: The binding is in effect.
|
|
372
332
|
* - SYNC_FAILED: The synchronization of organization members failed.
|
|
373
333
|
* - UPDATING: The configuration is being updated.
|
|
374
334
|
* - UPDATE_FAILED: The configuration update failed.
|
|
375
|
-
* - DISCONNECTING: The
|
|
376
|
-
* - DISCONNECT_FAILED: The
|
|
335
|
+
* - DISCONNECTING: The unbinding is in progress.
|
|
336
|
+
* - DISCONNECT_FAILED: The unbinding failed.
|
|
377
337
|
*
|
|
378
338
|
* @example
|
|
379
339
|
* READY
|
|
@@ -381,12 +341,12 @@ export class GetIdentityProviderResponseBodyData extends $dara.Model {
|
|
|
381
341
|
status?: string;
|
|
382
342
|
/**
|
|
383
343
|
* @remarks
|
|
384
|
-
* Specifies whether to enable the synchronization of organization members. After this feature is enabled, organization members
|
|
344
|
+
* Specifies whether to enable the synchronization of organization members. After this feature is enabled, the external identity provider synchronizes organization members as workspace users.
|
|
385
345
|
*/
|
|
386
346
|
syncEnabled?: boolean;
|
|
387
347
|
/**
|
|
388
348
|
* @remarks
|
|
389
|
-
* The synchronization scope definition by department is
|
|
349
|
+
* The synchronization scope definition by department is retained. If this parameter is omitted during creation, the default value AllAuthorized is used. The first vendor synchronization is determined by syncOnBind. If this parameter is omitted or set to null during an update, the original value is retained. Updating and saving the scope does not automatically trigger full synchronization.
|
|
390
350
|
*/
|
|
391
351
|
syncScope?: GetIdentityProviderResponseBodyDataSyncScope;
|
|
392
352
|
/**
|
|
@@ -488,7 +448,7 @@ export class GetIdentityProviderResponseBody extends $dara.Model {
|
|
|
488
448
|
httpStatusCode?: number;
|
|
489
449
|
/**
|
|
490
450
|
* @remarks
|
|
491
|
-
* The response message.
|
|
451
|
+
* The response message. An error description is returned if the request fails.
|
|
492
452
|
*
|
|
493
453
|
* @example
|
|
494
454
|
* success
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetIdentityProviderSCIMRequest extends $dara.Model {
|
|
6
|
+
static names(): { [key: string]: string } {
|
|
7
|
+
return {
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
static types(): { [key: string]: any } {
|
|
12
|
+
return {
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
validate() {
|
|
17
|
+
super.validate();
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
constructor(map?: { [key: string]: any }) {
|
|
21
|
+
super(map);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GetIdentityProviderSCIMResponseBody } from "./GetIdentityProviderScimresponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetIdentityProviderSCIMResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: GetIdentityProviderSCIMResponseBody;
|
|
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: GetIdentityProviderSCIMResponseBody,
|
|
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,188 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetIdentityProviderSCIMResponseBodyDataConfiguration extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The URL configured for the external provisioning system. The presence of a URL does not mean that the external configuration is complete or that AC synchronization is enabled.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* https://example.com/scim/v2
|
|
12
|
+
*/
|
|
13
|
+
baseUrl?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The receiving status of AgentIdentity. Valid values:
|
|
17
|
+
* - Enabled: SCIM receiving is enabled.
|
|
18
|
+
* - Disabled: SCIM receiving is disabled.
|
|
19
|
+
* This is not equivalent to the expected value of syncEnabled for AC.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* Enabled
|
|
23
|
+
*/
|
|
24
|
+
status?: string;
|
|
25
|
+
static names(): { [key: string]: string } {
|
|
26
|
+
return {
|
|
27
|
+
baseUrl: 'baseUrl',
|
|
28
|
+
status: 'status',
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
static types(): { [key: string]: any } {
|
|
33
|
+
return {
|
|
34
|
+
baseUrl: 'string',
|
|
35
|
+
status: 'string',
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
validate() {
|
|
40
|
+
super.validate();
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
constructor(map?: { [key: string]: any }) {
|
|
44
|
+
super(map);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export class GetIdentityProviderSCIMResponseBodyData extends $dara.Model {
|
|
49
|
+
/**
|
|
50
|
+
* @remarks
|
|
51
|
+
* The actual SAML configuration is read back on demand only in GetIdentityProvider. SCIM queries and preparations return the actual receiving status and URL.
|
|
52
|
+
*/
|
|
53
|
+
configuration?: GetIdentityProviderSCIMResponseBodyDataConfiguration;
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* Independent of the SAML logon binding status. Valid values:
|
|
57
|
+
* - PENDING: Waiting to be executed.
|
|
58
|
+
* - RUNNING: Being executed.
|
|
59
|
+
* - PAUSED: Paused.
|
|
60
|
+
* - SUCCESS: Succeeded.
|
|
61
|
+
* - FAILED: Failed.
|
|
62
|
+
* - CANCELED: Canceled.
|
|
63
|
+
* If there are no tasks, null is returned or this parameter is not returned. This parameter only indicates the most recent SCIM switch and the first full import task when it is enabled. It does not indicate credential issuance, external provisioning connection tests, or the health of continuous incremental synchronization. The client polls this operation when the status is PENDING or RUNNING.
|
|
64
|
+
*
|
|
65
|
+
* @example
|
|
66
|
+
* SUCCESS
|
|
67
|
+
*/
|
|
68
|
+
operationStatus?: string;
|
|
69
|
+
/**
|
|
70
|
+
* @remarks
|
|
71
|
+
* UNCONFIGURED:尚未准备完成;WAITING_CONFIGURATION:接收 Enabled、有效 HTTPS URL 和至少一个有效 Token 均已具备,等待外部配置并确认启用;UPDATING:启用或停用任务 PENDING/RUNNING;READY:同步已启用且本次启用任务成功,接收、URL 和 Token 仍可用;DISABLED:停用任务成功,保留配置、凭据和用户;UPDATE_FAILED:操作失败、暂停、取消,或期望启用时配置/凭据不可用。与 SAML/OIDC 状态独立,READY 不证明 Matrix 执行或持续增量链路已验收。
|
|
72
|
+
*
|
|
73
|
+
* @example
|
|
74
|
+
* READY
|
|
75
|
+
*/
|
|
76
|
+
status?: string;
|
|
77
|
+
/**
|
|
78
|
+
* @remarks
|
|
79
|
+
* Specifies whether local synchronization is expected. Do not set this parameter to true during CustomSSO initialization. You can only update this parameter by calling UpdateIdentityProviderSCIM. Determine the result based on operationStatus.
|
|
80
|
+
*/
|
|
81
|
+
syncEnabled?: boolean;
|
|
82
|
+
static names(): { [key: string]: string } {
|
|
83
|
+
return {
|
|
84
|
+
configuration: 'configuration',
|
|
85
|
+
operationStatus: 'operationStatus',
|
|
86
|
+
status: 'status',
|
|
87
|
+
syncEnabled: 'syncEnabled',
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
static types(): { [key: string]: any } {
|
|
92
|
+
return {
|
|
93
|
+
configuration: GetIdentityProviderSCIMResponseBodyDataConfiguration,
|
|
94
|
+
operationStatus: 'string',
|
|
95
|
+
status: 'string',
|
|
96
|
+
syncEnabled: 'boolean',
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
validate() {
|
|
101
|
+
if(this.configuration && typeof (this.configuration as any).validate === 'function') {
|
|
102
|
+
(this.configuration as any).validate();
|
|
103
|
+
}
|
|
104
|
+
super.validate();
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
constructor(map?: { [key: string]: any }) {
|
|
108
|
+
super(map);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export class GetIdentityProviderSCIMResponseBody extends $dara.Model {
|
|
113
|
+
/**
|
|
114
|
+
* @remarks
|
|
115
|
+
* If the request fails, handle the error based on the HTTP status code and the message.
|
|
116
|
+
*
|
|
117
|
+
* @example
|
|
118
|
+
* SUCCESS
|
|
119
|
+
*/
|
|
120
|
+
code?: string;
|
|
121
|
+
/**
|
|
122
|
+
* @remarks
|
|
123
|
+
* The result structure. For details, see the response fields of this operation. The response of an asynchronous write operation indicates that the request is accepted, but does not guarantee that the background task is completed.
|
|
124
|
+
*/
|
|
125
|
+
data?: GetIdentityProviderSCIMResponseBodyData;
|
|
126
|
+
/**
|
|
127
|
+
* @remarks
|
|
128
|
+
* The processing status of the current request. This is not equivalent to the final result of the background task.
|
|
129
|
+
*
|
|
130
|
+
* @example
|
|
131
|
+
* 200
|
|
132
|
+
*/
|
|
133
|
+
httpStatusCode?: number;
|
|
134
|
+
/**
|
|
135
|
+
* @remarks
|
|
136
|
+
* The request acceptance or error message. For the results of an asynchronous task, check the corresponding query operation.
|
|
137
|
+
*
|
|
138
|
+
* @example
|
|
139
|
+
* success
|
|
140
|
+
*/
|
|
141
|
+
message?: string;
|
|
142
|
+
/**
|
|
143
|
+
* @remarks
|
|
144
|
+
* Used to associate the current call with troubleshooting. Retain this parameter when a failure occurs.
|
|
145
|
+
*
|
|
146
|
+
* @example
|
|
147
|
+
* request-example
|
|
148
|
+
*/
|
|
149
|
+
requestId?: string;
|
|
150
|
+
/**
|
|
151
|
+
* @remarks
|
|
152
|
+
* Indicates whether the current request is successful. A value of true indicates that the current request is processed successfully. For asynchronous writes, you still need to continue querying the task results.
|
|
153
|
+
*/
|
|
154
|
+
success?: boolean;
|
|
155
|
+
static names(): { [key: string]: string } {
|
|
156
|
+
return {
|
|
157
|
+
code: 'code',
|
|
158
|
+
data: 'data',
|
|
159
|
+
httpStatusCode: 'httpStatusCode',
|
|
160
|
+
message: 'message',
|
|
161
|
+
requestId: 'requestId',
|
|
162
|
+
success: 'success',
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
static types(): { [key: string]: any } {
|
|
167
|
+
return {
|
|
168
|
+
code: 'string',
|
|
169
|
+
data: GetIdentityProviderSCIMResponseBodyData,
|
|
170
|
+
httpStatusCode: 'number',
|
|
171
|
+
message: 'string',
|
|
172
|
+
requestId: 'string',
|
|
173
|
+
success: 'boolean',
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
validate() {
|
|
178
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
179
|
+
(this.data as any).validate();
|
|
180
|
+
}
|
|
181
|
+
super.validate();
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
constructor(map?: { [key: string]: any }) {
|
|
185
|
+
super(map);
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetIdentityProviderServiceProviderRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* 查询参数必填,仅支持精确值 SAML;响应返回 SAML。
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* SAML
|
|
14
|
+
*/
|
|
15
|
+
protocol?: string;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
protocol: 'protocol',
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
static types(): { [key: string]: any } {
|
|
23
|
+
return {
|
|
24
|
+
protocol: 'string',
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
validate() {
|
|
29
|
+
super.validate();
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
constructor(map?: { [key: string]: any }) {
|
|
33
|
+
super(map);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GetIdentityProviderServiceProviderResponseBody } from "./GetIdentityProviderServiceProviderResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetIdentityProviderServiceProviderResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: GetIdentityProviderServiceProviderResponseBody;
|
|
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: GetIdentityProviderServiceProviderResponseBody,
|
|
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
|
+
|