@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 UpdateIdentityProviderRequestBodyMetadata extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The App ID of the
|
|
8
|
+
* The App ID of the Lark application. If this parameter is omitted during an update, the existing value is retained. If explicitly submitted, it must be a non-empty value. The merged configuration for Lark must include this field.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* cli_exampleappid01
|
|
@@ -13,7 +13,7 @@ export class UpdateIdentityProviderRequestBodyMetadata extends $dara.Model {
|
|
|
13
13
|
appId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The AppKey of the DingTalk application.
|
|
16
|
+
* The AppKey of the DingTalk application. If this parameter is omitted during an update, the existing value is retained. If explicitly submitted, it must be a non-empty value. The merged configuration for DingTalk must include this field.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* dingexampleappkey01
|
|
@@ -21,7 +21,7 @@ export class UpdateIdentityProviderRequestBodyMetadata extends $dara.Model {
|
|
|
21
21
|
appKey?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
*
|
|
24
|
+
* The AppSecret of the DingTalk or Lark application. If this parameter is omitted during an update, the existing secret is retained and does not need to be retransmitted each time. If explicitly submitted, it must be a non-empty value, and the merged configuration must include this field. This is sensitive input and is not echoed in queries. The example is a fictitious value.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* example-app-secret
|
|
@@ -29,7 +29,7 @@ export class UpdateIdentityProviderRequestBodyMetadata extends $dara.Model {
|
|
|
29
29
|
appSecret?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The CorpId of the DingTalk
|
|
32
|
+
* The CorpId of the organization to which the DingTalk application belongs. If this parameter is omitted during an update, the existing value is retained. If explicitly submitted, it must be a non-empty value and must match the organization to which the application belongs. The merged configuration for DingTalk must include this field.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* dingexamplecorpid01
|
|
@@ -37,7 +37,7 @@ export class UpdateIdentityProviderRequestBodyMetadata extends $dara.Model {
|
|
|
37
37
|
corpId?: string;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
* The
|
|
40
|
+
* The encryption key for vendor event callbacks, which must be consistent with the vendor application configuration. If this parameter is omitted during an update, the existing value is retained. When incremental synchronization is enabled, the merged configuration must include this field. This is sensitive input and is not echoed in queries.
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* example-encrypt-key
|
|
@@ -45,7 +45,7 @@ export class UpdateIdentityProviderRequestBodyMetadata extends $dara.Model {
|
|
|
45
45
|
encryptKey?: string;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The verification token for event
|
|
48
|
+
* The verification token for vendor event callbacks, which must be consistent with the vendor application configuration. If this parameter is omitted during an update, the existing value is retained. When incremental synchronization is enabled, the merged configuration must include this field. This is sensitive input and is not echoed in queries.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* example-verification-token
|
|
@@ -85,7 +85,7 @@ export class UpdateIdentityProviderRequestBodyMetadata extends $dara.Model {
|
|
|
85
85
|
export class UpdateIdentityProviderRequestBodySaml extends $dara.Model {
|
|
86
86
|
/**
|
|
87
87
|
* @remarks
|
|
88
|
-
* HTTP-Redirect
|
|
88
|
+
* The binding type for manual SAML configuration. HTTP-Redirect and HTTP-POST are supported. This parameter must be submitted together with entityId, loginUrl, and x509Certificates, and cannot be mixed with metadataXml.
|
|
89
89
|
*
|
|
90
90
|
* @example
|
|
91
91
|
* HTTP-Redirect
|
|
@@ -93,7 +93,7 @@ export class UpdateIdentityProviderRequestBodySaml extends $dara.Model {
|
|
|
93
93
|
bindingType?: string;
|
|
94
94
|
/**
|
|
95
95
|
* @remarks
|
|
96
|
-
*
|
|
96
|
+
* The entity ID of the enterprise IdP. This parameter is required for manual configuration. It must be non-empty and up to 2,048 characters, and cannot be changed after saving. It must be submitted together with loginUrl, bindingType, and x509Certificates, and cannot be mixed with metadataXml.
|
|
97
97
|
*
|
|
98
98
|
* @example
|
|
99
99
|
* https://idp.example.com/entity
|
|
@@ -101,23 +101,7 @@ export class UpdateIdentityProviderRequestBodySaml extends $dara.Model {
|
|
|
101
101
|
entityId?: string;
|
|
102
102
|
/**
|
|
103
103
|
* @remarks
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
* @example
|
|
107
|
-
* false
|
|
108
|
-
*/
|
|
109
|
-
jitProvisionEnabled?: boolean;
|
|
110
|
-
/**
|
|
111
|
-
* @remarks
|
|
112
|
-
* Can be set independently. If omitted during an update, the existing value is retained. If omitted for the first time, the default value is false. A valid SAML configuration is required.
|
|
113
|
-
*
|
|
114
|
-
* @example
|
|
115
|
-
* false
|
|
116
|
-
*/
|
|
117
|
-
jitUpdateEnabled?: boolean;
|
|
118
|
-
/**
|
|
119
|
-
* @remarks
|
|
120
|
-
* Required for manual entry. It must be an absolute HTTPS URL without user credentials or fragments.
|
|
104
|
+
* The SSO logon URL of the enterprise IdP. This parameter is required for manual configuration. It must be an absolute HTTPS URL without user credentials and fragments. It must be submitted together with entityId, bindingType, and x509Certificates, and cannot be mixed with metadataXml.
|
|
121
105
|
*
|
|
122
106
|
* @example
|
|
123
107
|
* https://idp.example.com/sso
|
|
@@ -125,7 +109,7 @@ export class UpdateIdentityProviderRequestBodySaml extends $dara.Model {
|
|
|
125
109
|
loginUrl?: string;
|
|
126
110
|
/**
|
|
127
111
|
* @remarks
|
|
128
|
-
* The
|
|
112
|
+
* The original SAML metadata XML text of the enterprise IdP, not a URL or file path. The maximum size is 1 MiB. It must contain a single EntityDescriptor. DTDs and external entities are prohibited. It cannot be mixed with the four manual configuration fields. After saving, queries return the standardized configuration and do not echo the original XML text.
|
|
129
113
|
*
|
|
130
114
|
* @example
|
|
131
115
|
* <EntityDescriptor xmlns="urn:oasis:names:tc:SAML:2.0:metadata" entityID="https://idp.example.com/entity"><IDPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol"><KeyDescriptor use="signing"><KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"><X509Data><X509Certificate>MIICwDCCAaigAwIBAgIULlsHLfcADyBax5ZtFlj+YGzZVo0wDQYJKoZIhvcNAQELBQAwGjEYMBYGA1UEAwwPaWRwLmV4YW1wbGUuY29tMB4XDTI2MDEwMTAwMDAwMFoXDTM2MDEwMTAwMDAwMFowGjEYMBYGA1UEAwwPaWRwLmV4YW1wbGUuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAto0DN0W1CrPRzK9QZ9A1aApb4Lg8oGlp2c0PbN3LokXe/HzwxCMXx65IDnrenttxzTwp9BgUnUN/3LRzWaOL2UQ/vNYNW9LFLkI1T64UPyI7eyi28YlALhb41xkYhEp7rz+MjqifBzVZeTDUxBYtbK2hAhbYEL1+udwsXEx0KB7xuQ/rbI2OKeqAEAD1tfYg7T/SM2wrXNYhx+o1HtchM4/0I8Okkk27JQ4y3ofzC5sTySmFF1Y7XcpSd+5WSyazedhkAieo8AB01DkJV6nnKfH8sH0EBsnH3FP8FhqCLrIeEkjX9B9OcIRLGjiZqx4u/ryW1QhMldnv+pFfNjWy/wIDAQABMA0GCSqGSIb3DQEBCwUAA4IBAQC1hSQG8AwtGOoX2gKBK4Hi5XBrBreij8WlLTUWld0FINQ0Rg84f/27CjDthywj6wgxCesCuOVFhpxQa1UacsP/Gcai1aKABtLWImcaWECRYK5gDkwhTMFKM9mXA26hH1l4v/UR2iTpEK9H78egC4W7bs2LDTpPryuaNKTqP2O0tMbNkAHB8yecz5LxHXnxadL9Egow25g2RClvpifWqDnuS9TSbKkIWLcPLjocJj2K9ILpBwhXiXi/BiSgyYTLiYvVvih9vX4s+hKGZNJc0j92YLiOHDF0XH1oxgdVjfTmRiedeb2VZJZElptD92z0AqFR7z2d5B+OqpPA2gjuMLV5</X509Certificate></X509Data></KeyInfo></KeyDescriptor><SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://idp.example.com/sso"/></IDPSSODescriptor></EntityDescriptor>
|
|
@@ -133,7 +117,7 @@ export class UpdateIdentityProviderRequestBodySaml extends $dara.Model {
|
|
|
133
117
|
metadataXml?: string;
|
|
134
118
|
/**
|
|
135
119
|
* @remarks
|
|
136
|
-
*
|
|
120
|
+
* The list of X.509 signing certificates for the enterprise IdP. For manual configuration, a non-empty list must be provided, with a maximum of 10 certificates. The certificates must be valid. This parameter must be submitted together with entityId, loginUrl, and bindingType, and cannot be mixed with metadataXml.
|
|
137
121
|
*
|
|
138
122
|
* @example
|
|
139
123
|
* ["-----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-----"]
|
|
@@ -143,8 +127,6 @@ export class UpdateIdentityProviderRequestBodySaml extends $dara.Model {
|
|
|
143
127
|
return {
|
|
144
128
|
bindingType: 'bindingType',
|
|
145
129
|
entityId: 'entityId',
|
|
146
|
-
jitProvisionEnabled: 'jitProvisionEnabled',
|
|
147
|
-
jitUpdateEnabled: 'jitUpdateEnabled',
|
|
148
130
|
loginUrl: 'loginUrl',
|
|
149
131
|
metadataXml: 'metadataXml',
|
|
150
132
|
x509Certificates: 'x509Certificates',
|
|
@@ -155,8 +137,6 @@ export class UpdateIdentityProviderRequestBodySaml extends $dara.Model {
|
|
|
155
137
|
return {
|
|
156
138
|
bindingType: 'string',
|
|
157
139
|
entityId: 'string',
|
|
158
|
-
jitProvisionEnabled: 'boolean',
|
|
159
|
-
jitUpdateEnabled: 'boolean',
|
|
160
140
|
loginUrl: 'string',
|
|
161
141
|
metadataXml: 'string',
|
|
162
142
|
x509Certificates: { 'type': 'array', 'itemType': 'string' },
|
|
@@ -178,7 +158,7 @@ export class UpdateIdentityProviderRequestBodySaml extends $dara.Model {
|
|
|
178
158
|
export class UpdateIdentityProviderRequestBodySyncScope extends $dara.Model {
|
|
179
159
|
/**
|
|
180
160
|
* @remarks
|
|
181
|
-
*
|
|
161
|
+
* The list of department IDs in the synchronization scope, obtained from ListIdentityProviderDepartments. In SelectedDepartments mode, at least one non-empty department ID must be provided. In AllAuthorized mode, this parameter should be omitted or an empty array should be passed.
|
|
182
162
|
*
|
|
183
163
|
* @example
|
|
184
164
|
* ["10001"]
|
|
@@ -186,10 +166,7 @@ export class UpdateIdentityProviderRequestBodySyncScope extends $dara.Model {
|
|
|
186
166
|
departmentIds?: string[];
|
|
187
167
|
/**
|
|
188
168
|
* @remarks
|
|
189
|
-
*
|
|
190
|
-
* - AllAuthorized: The full authorization scope, subject to the application address book authorization limits.
|
|
191
|
-
* - SelectedDepartments: The selected departments and all their sub-departments.
|
|
192
|
-
* When explicitly submitting syncScope, you must provide a valid mode, which is validated by the backend.
|
|
169
|
+
* The synchronization scope mode. AllAuthorized: all members within the authorization scope of the application address book. SelectedDepartments: the selected departments and all their sub-departments. A valid mode must be provided when syncScope is explicitly submitted.
|
|
193
170
|
*
|
|
194
171
|
* @example
|
|
195
172
|
* SelectedDepartments
|
|
@@ -224,12 +201,12 @@ export class UpdateIdentityProviderRequestBodySyncScope extends $dara.Model {
|
|
|
224
201
|
export class UpdateIdentityProviderRequestBody extends $dara.Model {
|
|
225
202
|
/**
|
|
226
203
|
* @remarks
|
|
227
|
-
* Specifies whether to allow
|
|
204
|
+
* Specifies whether to allow logon by using this identity provider. If this parameter is omitted or set to null during an update, the original value is retained. For CustomSSO, a valid SAML configuration must exist before logon is enabled. Disabling logon does not delete the saved SAML or SCIM configurations.
|
|
228
205
|
*/
|
|
229
206
|
loginEnabled?: boolean;
|
|
230
207
|
/**
|
|
231
208
|
* @remarks
|
|
232
|
-
* The
|
|
209
|
+
* Applies only to DingTalk and Lark. The application configuration is merged by field. Omitted fields and existing keys retain their original values. Explicitly submitted fields must not be null, empty strings, or blank strings. The merged configuration must meet the complete configuration requirements of the vendor. CustomSSO does not accept this field.
|
|
233
210
|
*
|
|
234
211
|
* @example
|
|
235
212
|
* {"appSecret":"example-app-secret"}
|
|
@@ -237,7 +214,7 @@ export class UpdateIdentityProviderRequestBody extends $dara.Model {
|
|
|
237
214
|
metadata?: UpdateIdentityProviderRequestBodyMetadata;
|
|
238
215
|
/**
|
|
239
216
|
* @remarks
|
|
240
|
-
* Currently, only SAML is supported.
|
|
217
|
+
* The logon protocol, which applies only to CustomSSO. Currently, only SAML is supported. DingTalk and Lark do not accept this field. If submitted with a non-empty saml configuration, this field can be omitted and the server processes it as SAML.
|
|
241
218
|
*
|
|
242
219
|
* @example
|
|
243
220
|
* SAML
|
|
@@ -245,17 +222,17 @@ export class UpdateIdentityProviderRequestBody extends $dara.Model {
|
|
|
245
222
|
protocol?: string;
|
|
246
223
|
/**
|
|
247
224
|
* @remarks
|
|
248
|
-
*
|
|
225
|
+
* Applies only to CustomSSO. You can either provide metadataXml or provide the four complete manual configuration fields. The two methods cannot be mixed. If a valid configuration already exists, you can also modify only the JIT switches. Saving the configuration does not automatically enable logon.
|
|
249
226
|
*/
|
|
250
227
|
saml?: UpdateIdentityProviderRequestBodySaml;
|
|
251
228
|
/**
|
|
252
229
|
* @remarks
|
|
253
|
-
*
|
|
230
|
+
* Applies only to DingTalk and Lark. Controls the incremental synchronization of subsequent address book change events. If this parameter is omitted or set to null during an update, the original value is retained. It does not control the initial synchronization or manual synchronization. When enabled, the merged metadata must include encryptKey and verificationToken. For CustomSSO, use UpdateIdentityProviderSCIM to manage the synchronization switch.
|
|
254
231
|
*/
|
|
255
232
|
syncEnabled?: boolean;
|
|
256
233
|
/**
|
|
257
234
|
* @remarks
|
|
258
|
-
*
|
|
235
|
+
* The address book synchronization scope, which applies only to DingTalk and Lark. If this parameter is omitted or set to null, the current scope is retained. Saving the scope does not automatically trigger a full synchronization. CustomSSO does not accept this field.
|
|
259
236
|
*/
|
|
260
237
|
syncScope?: UpdateIdentityProviderRequestBodySyncScope;
|
|
261
238
|
static names(): { [key: string]: string } {
|
|
@@ -301,7 +278,7 @@ export class UpdateIdentityProviderRequestBody extends $dara.Model {
|
|
|
301
278
|
export class UpdateIdentityProviderRequest extends $dara.Model {
|
|
302
279
|
/**
|
|
303
280
|
* @remarks
|
|
304
|
-
* The
|
|
281
|
+
* The configuration fields to be modified. For DingTalk and Lark, you must submit at least one of loginEnabled, syncEnabled, metadata, and syncScope. For CustomSSO, use protocol, saml, and loginEnabled. You cannot submit vendor metadata, syncEnabled, or syncScope.
|
|
305
282
|
*/
|
|
306
283
|
body?: UpdateIdentityProviderRequestBody;
|
|
307
284
|
static names(): { [key: string]: string } {
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class UpdateIdentityProviderResponseBodyDataConfiguration extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* The actual SAML binding type saved in the upstream, which is HTTP-Redirect or HTTP-POST.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* HTTP-Redirect
|
|
@@ -13,7 +13,7 @@ export class UpdateIdentityProviderResponseBodyDataConfiguration extends $dara.M
|
|
|
13
13
|
bindingType?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
*
|
|
16
|
+
* The actual enterprise IdP entity ID saved in the upstream.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* https://idp.example.com/entity
|
|
@@ -21,23 +21,7 @@ export class UpdateIdentityProviderResponseBodyDataConfiguration extends $dara.M
|
|
|
21
21
|
entityId?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The actual
|
|
25
|
-
*
|
|
26
|
-
* @example
|
|
27
|
-
* Disabled
|
|
28
|
-
*/
|
|
29
|
-
jitProvisionStatus?: string;
|
|
30
|
-
/**
|
|
31
|
-
* @remarks
|
|
32
|
-
* The actual switch value. Valid values: Enabled and Disabled.
|
|
33
|
-
*
|
|
34
|
-
* @example
|
|
35
|
-
* Disabled
|
|
36
|
-
*/
|
|
37
|
-
jitUpdateStatus?: string;
|
|
38
|
-
/**
|
|
39
|
-
* @remarks
|
|
40
|
-
* Required for manual entry. It must be an absolute HTTPS URL without user credentials or fragments.
|
|
24
|
+
* The actual enterprise IdP SSO logon URL saved in the upstream.
|
|
41
25
|
*
|
|
42
26
|
* @example
|
|
43
27
|
* https://idp.example.com/sso
|
|
@@ -45,7 +29,7 @@ export class UpdateIdentityProviderResponseBodyDataConfiguration extends $dara.M
|
|
|
45
29
|
loginUrl?: string;
|
|
46
30
|
/**
|
|
47
31
|
* @remarks
|
|
48
|
-
* The actual
|
|
32
|
+
* The actual SSO logon status in the upstream. Enabled indicates that it is turned on, and Disabled indicates that it is turned off. This should be evaluated separately from the expected value of loginEnabled.
|
|
49
33
|
*
|
|
50
34
|
* @example
|
|
51
35
|
* Enabled
|
|
@@ -55,8 +39,6 @@ export class UpdateIdentityProviderResponseBodyDataConfiguration extends $dara.M
|
|
|
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 UpdateIdentityProviderResponseBodyDataConfiguration extends $dara.M
|
|
|
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
|
};
|
|
@@ -85,7 +65,7 @@ export class UpdateIdentityProviderResponseBodyDataConfiguration extends $dara.M
|
|
|
85
65
|
export class UpdateIdentityProviderResponseBodyDataSaml extends $dara.Model {
|
|
86
66
|
/**
|
|
87
67
|
* @remarks
|
|
88
|
-
* HTTP-Redirect or HTTP-POST.
|
|
68
|
+
* The saved SAML binding type, which is HTTP-Redirect or HTTP-POST.
|
|
89
69
|
*
|
|
90
70
|
* @example
|
|
91
71
|
* HTTP-Redirect
|
|
@@ -93,7 +73,7 @@ export class UpdateIdentityProviderResponseBodyDataSaml extends $dara.Model {
|
|
|
93
73
|
bindingType?: string;
|
|
94
74
|
/**
|
|
95
75
|
* @remarks
|
|
96
|
-
*
|
|
76
|
+
* The saved enterprise IdP entity ID, which is different from the entity ID of the service provider (SP).
|
|
97
77
|
*
|
|
98
78
|
* @example
|
|
99
79
|
* https://idp.example.com/entity
|
|
@@ -101,23 +81,7 @@ export class UpdateIdentityProviderResponseBodyDataSaml extends $dara.Model {
|
|
|
101
81
|
entityId?: string;
|
|
102
82
|
/**
|
|
103
83
|
* @remarks
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
* @example
|
|
107
|
-
* false
|
|
108
|
-
*/
|
|
109
|
-
jitProvisionEnabled?: boolean;
|
|
110
|
-
/**
|
|
111
|
-
* @remarks
|
|
112
|
-
* Can be set independently. If omitted during an update, the existing value is retained. If omitted for the first time, the default value is false. A valid SAML configuration is required.
|
|
113
|
-
*
|
|
114
|
-
* @example
|
|
115
|
-
* false
|
|
116
|
-
*/
|
|
117
|
-
jitUpdateEnabled?: boolean;
|
|
118
|
-
/**
|
|
119
|
-
* @remarks
|
|
120
|
-
* Required for manual entry. It must be an absolute HTTPS URL without user credentials or fragments.
|
|
84
|
+
* The saved enterprise IdP SSO logon URL.
|
|
121
85
|
*
|
|
122
86
|
* @example
|
|
123
87
|
* https://idp.example.com/sso
|
|
@@ -125,7 +89,7 @@ export class UpdateIdentityProviderResponseBodyDataSaml extends $dara.Model {
|
|
|
125
89
|
loginUrl?: string;
|
|
126
90
|
/**
|
|
127
91
|
* @remarks
|
|
128
|
-
*
|
|
92
|
+
* The list of saved enterprise IdP X.509 signing certificates.
|
|
129
93
|
*
|
|
130
94
|
* @example
|
|
131
95
|
* ["-----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-----"]
|
|
@@ -135,8 +99,6 @@ export class UpdateIdentityProviderResponseBodyDataSaml extends $dara.Model {
|
|
|
135
99
|
return {
|
|
136
100
|
bindingType: 'bindingType',
|
|
137
101
|
entityId: 'entityId',
|
|
138
|
-
jitProvisionEnabled: 'jitProvisionEnabled',
|
|
139
|
-
jitUpdateEnabled: 'jitUpdateEnabled',
|
|
140
102
|
loginUrl: 'loginUrl',
|
|
141
103
|
x509Certificates: 'x509Certificates',
|
|
142
104
|
};
|
|
@@ -146,8 +108,6 @@ export class UpdateIdentityProviderResponseBodyDataSaml extends $dara.Model {
|
|
|
146
108
|
return {
|
|
147
109
|
bindingType: 'string',
|
|
148
110
|
entityId: 'string',
|
|
149
|
-
jitProvisionEnabled: 'boolean',
|
|
150
|
-
jitUpdateEnabled: 'boolean',
|
|
151
111
|
loginUrl: 'string',
|
|
152
112
|
x509Certificates: { 'type': 'array', 'itemType': 'string' },
|
|
153
113
|
};
|
|
@@ -168,7 +128,7 @@ export class UpdateIdentityProviderResponseBodyDataSaml extends $dara.Model {
|
|
|
168
128
|
export class UpdateIdentityProviderResponseBodyDataSyncScope extends $dara.Model {
|
|
169
129
|
/**
|
|
170
130
|
* @remarks
|
|
171
|
-
*
|
|
131
|
+
* The list of department IDs in the synchronization scope, obtained from ListIdentityProviderDepartments. In SelectedDepartments mode, at least one non-empty department ID must be provided. In AllAuthorized mode, this parameter should be omitted or an empty array should be passed.
|
|
172
132
|
*
|
|
173
133
|
* @example
|
|
174
134
|
* ["10001"]
|
|
@@ -176,10 +136,7 @@ export class UpdateIdentityProviderResponseBodyDataSyncScope extends $dara.Model
|
|
|
176
136
|
departmentIds?: string[];
|
|
177
137
|
/**
|
|
178
138
|
* @remarks
|
|
179
|
-
*
|
|
180
|
-
* - AllAuthorized: The full authorization scope, subject to the application address book authorization limits.
|
|
181
|
-
* - SelectedDepartments: The selected departments and all their sub-departments.
|
|
182
|
-
* When explicitly submitting syncScope, you must provide a valid mode, which is validated by the backend.
|
|
139
|
+
* The synchronization scope mode. AllAuthorized: all members within the authorization scope of the application address book. SelectedDepartments: the selected departments and all their sub-departments. A valid mode must be provided when syncScope is explicitly submitted.
|
|
183
140
|
*
|
|
184
141
|
* @example
|
|
185
142
|
* SelectedDepartments
|
|
@@ -214,12 +171,12 @@ export class UpdateIdentityProviderResponseBodyDataSyncScope extends $dara.Model
|
|
|
214
171
|
export class UpdateIdentityProviderResponseBodyData extends $dara.Model {
|
|
215
172
|
/**
|
|
216
173
|
* @remarks
|
|
217
|
-
* The actual SAML configuration
|
|
174
|
+
* The actual SAML configuration read back from the upstream. This update operation does not perform the read-back and usually does not return this field. Use GetIdentityProvider to obtain it.
|
|
218
175
|
*/
|
|
219
176
|
configuration?: UpdateIdentityProviderResponseBodyDataConfiguration;
|
|
220
177
|
/**
|
|
221
178
|
* @remarks
|
|
222
|
-
* The type of the
|
|
179
|
+
* The type of the identity provider. DingTalk: DingTalk. Feishu: Lark. CustomSSO: custom enterprise identity provider connected through SAML. The value must be the same as the type of the identity provider bound to the current workspace.
|
|
223
180
|
*
|
|
224
181
|
* @example
|
|
225
182
|
* DingTalk
|
|
@@ -227,12 +184,12 @@ export class UpdateIdentityProviderResponseBodyData extends $dara.Model {
|
|
|
227
184
|
identityProviderType?: string;
|
|
228
185
|
/**
|
|
229
186
|
* @remarks
|
|
230
|
-
*
|
|
187
|
+
* The currently saved expected value of the logon switch, which alone does not prove that the upstream logon configuration has taken effect.
|
|
231
188
|
*/
|
|
232
189
|
loginEnabled?: boolean;
|
|
233
190
|
/**
|
|
234
191
|
* @remarks
|
|
235
|
-
*
|
|
192
|
+
* The currently saved logon protocol for CustomSSO, which is SAML when configured. This field is not returned for DingTalk or Lark.
|
|
236
193
|
*
|
|
237
194
|
* @example
|
|
238
195
|
* SAML
|
|
@@ -240,12 +197,22 @@ export class UpdateIdentityProviderResponseBodyData extends $dara.Model {
|
|
|
240
197
|
protocol?: string;
|
|
241
198
|
/**
|
|
242
199
|
* @remarks
|
|
243
|
-
* The
|
|
200
|
+
* The saved standardized SAML configuration for CustomSSO. The original metadata XML is not echoed. This field is not returned if no valid configuration is saved or if the identity provider is DingTalk or Lark. This value is the locally saved configuration and is not equivalent to the actual upstream configuration.
|
|
244
201
|
*/
|
|
245
202
|
saml?: UpdateIdentityProviderResponseBodyDataSaml;
|
|
246
203
|
/**
|
|
247
204
|
* @remarks
|
|
248
|
-
* The
|
|
205
|
+
* The status of the identity provider resource and logon configuration. Valid values:
|
|
206
|
+
* - CONFIGURED: The configuration is accepted.
|
|
207
|
+
* - UPDATING: The configuration is being updated.
|
|
208
|
+
* - SYNCING: Synchronization is in progress.
|
|
209
|
+
* - SYNCED: The synchronization phase is completed.
|
|
210
|
+
* - READY: The resource is ready.
|
|
211
|
+
* - SYNC_FAILED: Synchronization failed.
|
|
212
|
+
* - UPDATE_FAILED: The update failed.
|
|
213
|
+
* - DISCONNECTING: Unbinding is in progress.
|
|
214
|
+
* - DISCONNECT_FAILED: Unbinding failed.
|
|
215
|
+
* READY alone does not indicate that users have been imported. Query the SCIM operation results for CustomSSO separately.
|
|
249
216
|
*
|
|
250
217
|
* @example
|
|
251
218
|
* READY
|
|
@@ -253,17 +220,17 @@ export class UpdateIdentityProviderResponseBodyData extends $dara.Model {
|
|
|
253
220
|
status?: string;
|
|
254
221
|
/**
|
|
255
222
|
* @remarks
|
|
256
|
-
*
|
|
223
|
+
* The currently saved expected value of the synchronization switch. For DingTalk and Lark, it is used for subsequent address book change events. The SCIM switch for CustomSSO is managed through UpdateIdentityProviderSCIM, and the operation results are queried through GetIdentityProviderSCIM.
|
|
257
224
|
*/
|
|
258
225
|
syncEnabled?: boolean;
|
|
259
226
|
/**
|
|
260
227
|
* @remarks
|
|
261
|
-
*
|
|
228
|
+
* The saved synchronization scope for DingTalk and Lark. The default value for valid historical configurations is AllAuthorized, and this field may not be returned for corrupted historical configurations. This field is not returned for CustomSSO.
|
|
262
229
|
*/
|
|
263
230
|
syncScope?: UpdateIdentityProviderResponseBodyDataSyncScope;
|
|
264
231
|
/**
|
|
265
232
|
* @remarks
|
|
266
|
-
* The workspace
|
|
233
|
+
* The ID of the workspace to which the identity provider belongs.
|
|
267
234
|
*
|
|
268
235
|
* @example
|
|
269
236
|
* ws-123456
|
|
@@ -318,7 +285,7 @@ export class UpdateIdentityProviderResponseBodyData extends $dara.Model {
|
|
|
318
285
|
export class UpdateIdentityProviderResponseBody extends $dara.Model {
|
|
319
286
|
/**
|
|
320
287
|
* @remarks
|
|
321
|
-
* The business status code.
|
|
288
|
+
* The business status code of the API request. SUCCESS indicates that the request is successful, but does not mean that the asynchronous configuration or synchronization task is completed.
|
|
322
289
|
*
|
|
323
290
|
* @example
|
|
324
291
|
* SUCCESS
|
|
@@ -326,12 +293,12 @@ export class UpdateIdentityProviderResponseBody extends $dara.Model {
|
|
|
326
293
|
code?: string;
|
|
327
294
|
/**
|
|
328
295
|
* @remarks
|
|
329
|
-
* The
|
|
296
|
+
* The currently saved identity provider binding information, including the expected configuration and resource status. The actual update may still be executing in the background.
|
|
330
297
|
*/
|
|
331
298
|
data?: UpdateIdentityProviderResponseBodyData;
|
|
332
299
|
/**
|
|
333
300
|
* @remarks
|
|
334
|
-
* The HTTP status code.
|
|
301
|
+
* The HTTP status code of the API request, which does not represent the execution result of the background task.
|
|
335
302
|
*
|
|
336
303
|
* @example
|
|
337
304
|
* 200
|
|
@@ -339,7 +306,7 @@ export class UpdateIdentityProviderResponseBody extends $dara.Model {
|
|
|
339
306
|
httpStatusCode?: number;
|
|
340
307
|
/**
|
|
341
308
|
* @remarks
|
|
342
|
-
* The response message. An error description is returned
|
|
309
|
+
* The response message of the API request. An error description is returned if the request fails.
|
|
343
310
|
*
|
|
344
311
|
* @example
|
|
345
312
|
* success
|
|
@@ -347,7 +314,7 @@ export class UpdateIdentityProviderResponseBody extends $dara.Model {
|
|
|
347
314
|
message?: string;
|
|
348
315
|
/**
|
|
349
316
|
* @remarks
|
|
350
|
-
* The request
|
|
317
|
+
* The unique identifier of the request. Provide this value when you troubleshoot issues.
|
|
351
318
|
*
|
|
352
319
|
* @example
|
|
353
320
|
* request-123456
|
|
@@ -355,7 +322,7 @@ export class UpdateIdentityProviderResponseBody extends $dara.Model {
|
|
|
355
322
|
requestId?: string;
|
|
356
323
|
/**
|
|
357
324
|
* @remarks
|
|
358
|
-
* Indicates whether the request is successful.
|
|
325
|
+
* Indicates whether the API request is successful. To check whether the background configuration has taken effect, query the identity provider status separately.
|
|
359
326
|
*/
|
|
360
327
|
success?: boolean;
|
|
361
328
|
static names(): { [key: string]: string } {
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UpdateIdentityProviderSCIMRequestBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Do not set this parameter to true during CustomSSO initialization. You can only update it later by calling UpdateIdentityProviderSCIM. Determine the result based on operationStatus.
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*/
|
|
12
|
+
syncEnabled?: boolean;
|
|
13
|
+
static names(): { [key: string]: string } {
|
|
14
|
+
return {
|
|
15
|
+
syncEnabled: 'syncEnabled',
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
static types(): { [key: string]: any } {
|
|
20
|
+
return {
|
|
21
|
+
syncEnabled: 'boolean',
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
validate() {
|
|
26
|
+
super.validate();
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
constructor(map?: { [key: string]: any }) {
|
|
30
|
+
super(map);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export class UpdateIdentityProviderSCIMRequest extends $dara.Model {
|
|
35
|
+
/**
|
|
36
|
+
* @remarks
|
|
37
|
+
* Submits business parameters as described in this API. The body parameters of the public API are mapped to the backend wrapper by the gateway. Do not mix them with the backend direct connection body wrapper.
|
|
38
|
+
*
|
|
39
|
+
* This parameter is required.
|
|
40
|
+
*/
|
|
41
|
+
body?: UpdateIdentityProviderSCIMRequestBody;
|
|
42
|
+
static names(): { [key: string]: string } {
|
|
43
|
+
return {
|
|
44
|
+
body: 'body',
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
static types(): { [key: string]: any } {
|
|
49
|
+
return {
|
|
50
|
+
body: UpdateIdentityProviderSCIMRequestBody,
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
validate() {
|
|
55
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
56
|
+
(this.body as any).validate();
|
|
57
|
+
}
|
|
58
|
+
super.validate();
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
constructor(map?: { [key: string]: any }) {
|
|
62
|
+
super(map);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { UpdateIdentityProviderSCIMResponseBody } from "./UpdateIdentityProviderScimresponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class UpdateIdentityProviderSCIMResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: UpdateIdentityProviderSCIMResponseBody;
|
|
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: UpdateIdentityProviderSCIMResponseBody,
|
|
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
|
+
|