@alicloud/agentcore20260804 2.6.0 → 3.0.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 (144) hide show
  1. package/dist/client.d.ts +577 -119
  2. package/dist/client.js +729 -123
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateIdentityProviderRequest.d.ts +6 -6
  5. package/dist/models/CreateIdentityProviderResponseBody.d.ts +20 -52
  6. package/dist/models/CreateIdentityProviderResponseBody.js +0 -8
  7. package/dist/models/CreateIdentityProviderResponseBody.js.map +1 -1
  8. package/dist/models/CreateIdentityProviderScimcredentialRequest.d.ts +13 -0
  9. package/dist/models/CreateIdentityProviderScimcredentialRequest.js +54 -0
  10. package/dist/models/CreateIdentityProviderScimcredentialRequest.js.map +1 -0
  11. package/dist/models/CreateIdentityProviderScimcredentialResponse.d.ts +19 -0
  12. package/dist/models/CreateIdentityProviderScimcredentialResponse.js +69 -0
  13. package/dist/models/CreateIdentityProviderScimcredentialResponse.js.map +1 -0
  14. package/dist/models/CreateIdentityProviderScimcredentialResponseBody.d.ts +157 -0
  15. package/dist/models/CreateIdentityProviderScimcredentialResponseBody.js +146 -0
  16. package/dist/models/CreateIdentityProviderScimcredentialResponseBody.js.map +1 -0
  17. package/dist/models/CreateWorkspaceRequest.d.ts +23 -7
  18. package/dist/models/CreateWorkspaceRequest.js +4 -0
  19. package/dist/models/CreateWorkspaceRequest.js.map +1 -1
  20. package/dist/models/CreateWorkspaceResponseBody.d.ts +11 -11
  21. package/dist/models/CreateWorkspaceShrinkRequest.d.ts +1 -1
  22. package/dist/models/DeleteIdentityProviderResponseBody.d.ts +15 -47
  23. package/dist/models/DeleteIdentityProviderResponseBody.js +0 -8
  24. package/dist/models/DeleteIdentityProviderResponseBody.js.map +1 -1
  25. package/dist/models/DeleteIdentityProviderScimcredentialRequest.d.ts +13 -0
  26. package/dist/models/DeleteIdentityProviderScimcredentialRequest.js +54 -0
  27. package/dist/models/DeleteIdentityProviderScimcredentialRequest.js.map +1 -0
  28. package/dist/models/DeleteIdentityProviderScimcredentialResponse.d.ts +19 -0
  29. package/dist/models/DeleteIdentityProviderScimcredentialResponse.js +69 -0
  30. package/dist/models/DeleteIdentityProviderScimcredentialResponse.js.map +1 -0
  31. package/dist/models/DeleteIdentityProviderScimcredentialResponseBody.d.ts +50 -0
  32. package/dist/models/DeleteIdentityProviderScimcredentialResponseBody.js +66 -0
  33. package/dist/models/DeleteIdentityProviderScimcredentialResponseBody.js.map +1 -0
  34. package/dist/models/GetIdentityProviderResponseBody.d.ts +23 -55
  35. package/dist/models/GetIdentityProviderResponseBody.js +0 -8
  36. package/dist/models/GetIdentityProviderResponseBody.js.map +1 -1
  37. package/dist/models/GetIdentityProviderScimrequest.d.ts +13 -0
  38. package/dist/models/GetIdentityProviderScimrequest.js +54 -0
  39. package/dist/models/GetIdentityProviderScimrequest.js.map +1 -0
  40. package/dist/models/GetIdentityProviderScimresponse.d.ts +19 -0
  41. package/dist/models/GetIdentityProviderScimresponse.js +69 -0
  42. package/dist/models/GetIdentityProviderScimresponse.js.map +1 -0
  43. package/dist/models/GetIdentityProviderScimresponseBody.d.ts +123 -0
  44. package/dist/models/GetIdentityProviderScimresponseBody.js +118 -0
  45. package/dist/models/GetIdentityProviderScimresponseBody.js.map +1 -0
  46. package/dist/models/GetIdentityProviderServiceProviderRequest.d.ts +23 -0
  47. package/dist/models/GetIdentityProviderServiceProviderRequest.js +58 -0
  48. package/dist/models/GetIdentityProviderServiceProviderRequest.js.map +1 -0
  49. package/dist/models/GetIdentityProviderServiceProviderResponse.d.ts +19 -0
  50. package/dist/models/GetIdentityProviderServiceProviderResponse.js +69 -0
  51. package/dist/models/GetIdentityProviderServiceProviderResponse.js.map +1 -0
  52. package/dist/models/GetIdentityProviderServiceProviderResponseBody.d.ts +99 -0
  53. package/dist/models/GetIdentityProviderServiceProviderResponseBody.js +96 -0
  54. package/dist/models/GetIdentityProviderServiceProviderResponseBody.js.map +1 -0
  55. package/dist/models/ListIdentityProviderDepartmentsRequest.d.ts +2 -2
  56. package/dist/models/ListIdentityProviderDepartmentsResponseBody.d.ts +9 -9
  57. package/dist/models/ListIdentityProviderScimcredentialsRequest.d.ts +13 -0
  58. package/dist/models/ListIdentityProviderScimcredentialsRequest.js +54 -0
  59. package/dist/models/ListIdentityProviderScimcredentialsRequest.js.map +1 -0
  60. package/dist/models/ListIdentityProviderScimcredentialsResponse.d.ts +19 -0
  61. package/dist/models/ListIdentityProviderScimcredentialsResponse.js +69 -0
  62. package/dist/models/ListIdentityProviderScimcredentialsResponse.js.map +1 -0
  63. package/dist/models/ListIdentityProviderScimcredentialsResponseBody.d.ts +99 -0
  64. package/dist/models/ListIdentityProviderScimcredentialsResponseBody.js +96 -0
  65. package/dist/models/ListIdentityProviderScimcredentialsResponseBody.js.map +1 -0
  66. package/dist/models/ListIdentityProvidersRequest.d.ts +2 -2
  67. package/dist/models/ListIdentityProvidersResponseBody.d.ts +25 -69
  68. package/dist/models/ListIdentityProvidersResponseBody.js +0 -8
  69. package/dist/models/ListIdentityProvidersResponseBody.js.map +1 -1
  70. package/dist/models/PrepareIdentityProviderScimrequest.d.ts +13 -0
  71. package/dist/models/PrepareIdentityProviderScimrequest.js +54 -0
  72. package/dist/models/PrepareIdentityProviderScimrequest.js.map +1 -0
  73. package/dist/models/PrepareIdentityProviderScimresponse.d.ts +19 -0
  74. package/dist/models/PrepareIdentityProviderScimresponse.js +69 -0
  75. package/dist/models/PrepareIdentityProviderScimresponse.js.map +1 -0
  76. package/dist/models/PrepareIdentityProviderScimresponseBody.d.ts +157 -0
  77. package/dist/models/PrepareIdentityProviderScimresponseBody.js +146 -0
  78. package/dist/models/PrepareIdentityProviderScimresponseBody.js.map +1 -0
  79. package/dist/models/UpdateIdentityProviderRequest.d.ts +20 -39
  80. package/dist/models/UpdateIdentityProviderRequest.js +0 -4
  81. package/dist/models/UpdateIdentityProviderRequest.js.map +1 -1
  82. package/dist/models/UpdateIdentityProviderResponseBody.d.ts +35 -60
  83. package/dist/models/UpdateIdentityProviderResponseBody.js +0 -8
  84. package/dist/models/UpdateIdentityProviderResponseBody.js.map +1 -1
  85. package/dist/models/UpdateIdentityProviderScimrequest.d.ts +39 -0
  86. package/dist/models/UpdateIdentityProviderScimrequest.js +80 -0
  87. package/dist/models/UpdateIdentityProviderScimrequest.js.map +1 -0
  88. package/dist/models/UpdateIdentityProviderScimresponse.d.ts +19 -0
  89. package/dist/models/UpdateIdentityProviderScimresponse.js +69 -0
  90. package/dist/models/UpdateIdentityProviderScimresponse.js.map +1 -0
  91. package/dist/models/UpdateIdentityProviderScimresponseBody.d.ts +288 -0
  92. package/dist/models/UpdateIdentityProviderScimresponseBody.js +201 -0
  93. package/dist/models/UpdateIdentityProviderScimresponseBody.js.map +1 -0
  94. package/dist/models/UpdateIdentityProviderScimshrinkRequest.d.ts +20 -0
  95. package/dist/models/UpdateIdentityProviderScimshrinkRequest.js +58 -0
  96. package/dist/models/UpdateIdentityProviderScimshrinkRequest.js.map +1 -0
  97. package/dist/models/UpdateIdentityProviderShrinkRequest.d.ts +1 -1
  98. package/dist/models/VerifyAgentCodePackageOssRamAuthorizationRequest.d.ts +1 -1
  99. package/dist/models/VerifyAgentCodePackageOssRamAuthorizationResponseBody.d.ts +28 -2
  100. package/dist/models/VerifyAgentCodePackageOssRamAuthorizationResponseBody.js.map +1 -1
  101. package/dist/models/model.d.ts +37 -0
  102. package/dist/models/model.js +100 -25
  103. package/dist/models/model.js.map +1 -1
  104. package/package.json +1 -1
  105. package/src/client.ts +746 -123
  106. package/src/models/CreateIdentityProviderRequest.ts +6 -6
  107. package/src/models/CreateIdentityProviderResponseBody.ts +20 -60
  108. package/src/models/CreateIdentityProviderScimcredentialRequest.ts +24 -0
  109. package/src/models/CreateIdentityProviderScimcredentialResponse.ts +40 -0
  110. package/src/models/CreateIdentityProviderScimcredentialResponseBody.ts +231 -0
  111. package/src/models/CreateWorkspaceRequest.ts +27 -7
  112. package/src/models/CreateWorkspaceResponseBody.ts +11 -11
  113. package/src/models/CreateWorkspaceShrinkRequest.ts +1 -1
  114. package/src/models/DeleteIdentityProviderResponseBody.ts +15 -55
  115. package/src/models/DeleteIdentityProviderScimcredentialRequest.ts +24 -0
  116. package/src/models/DeleteIdentityProviderScimcredentialResponse.ts +40 -0
  117. package/src/models/DeleteIdentityProviderScimcredentialResponseBody.ts +71 -0
  118. package/src/models/GetIdentityProviderResponseBody.ts +23 -63
  119. package/src/models/GetIdentityProviderScimrequest.ts +24 -0
  120. package/src/models/GetIdentityProviderScimresponse.ts +40 -0
  121. package/src/models/GetIdentityProviderScimresponseBody.ts +178 -0
  122. package/src/models/GetIdentityProviderServiceProviderRequest.ts +36 -0
  123. package/src/models/GetIdentityProviderServiceProviderResponse.ts +40 -0
  124. package/src/models/GetIdentityProviderServiceProviderResponseBody.ts +141 -0
  125. package/src/models/ListIdentityProviderDepartmentsRequest.ts +2 -2
  126. package/src/models/ListIdentityProviderDepartmentsResponseBody.ts +9 -9
  127. package/src/models/ListIdentityProviderScimcredentialsRequest.ts +24 -0
  128. package/src/models/ListIdentityProviderScimcredentialsResponse.ts +40 -0
  129. package/src/models/ListIdentityProviderScimcredentialsResponseBody.ts +141 -0
  130. package/src/models/ListIdentityProvidersRequest.ts +2 -2
  131. package/src/models/ListIdentityProvidersResponseBody.ts +25 -77
  132. package/src/models/PrepareIdentityProviderScimrequest.ts +24 -0
  133. package/src/models/PrepareIdentityProviderScimresponse.ts +40 -0
  134. package/src/models/PrepareIdentityProviderScimresponseBody.ts +231 -0
  135. package/src/models/UpdateIdentityProviderRequest.ts +20 -43
  136. package/src/models/UpdateIdentityProviderResponseBody.ts +35 -68
  137. package/src/models/UpdateIdentityProviderScimrequest.ts +65 -0
  138. package/src/models/UpdateIdentityProviderScimresponse.ts +40 -0
  139. package/src/models/UpdateIdentityProviderScimresponseBody.ts +408 -0
  140. package/src/models/UpdateIdentityProviderScimshrinkRequest.ts +33 -0
  141. package/src/models/UpdateIdentityProviderShrinkRequest.ts +1 -1
  142. package/src/models/VerifyAgentCodePackageOssRamAuthorizationRequest.ts +1 -1
  143. package/src/models/VerifyAgentCodePackageOssRamAuthorizationResponseBody.ts +28 -2
  144. 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 Feishu application. This parameter is required when the binding type is Feishu.
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. This parameter is required when the binding type is DingTalk.
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
- * Required. The secret of the external identity provider application. This parameter is used only for writing and is not returned by query APIs.
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 enterprise. This parameter is required when the binding type is 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 data encryption key for event subscription. The value must be the same as the one configured in the external identity provider application. This parameter is used only for writing and is not returned by query APIs.
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 subscription. The value must be the same as the one configured in the external identity provider application. This parameter is used only for writing and is not returned by query APIs.
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 or HTTP-POST. This parameter is required for manual entry. Queries return the short name.
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
- * Required for manual entry. It must be non-empty and up to 2,048 characters in length. Existing configurations do not support replacement. It is different from the local entity ID returned by SP queries.
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
- * 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.
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 input is the XML text of a single IdP EntityDescriptor, with a maximum size of 1 MiB. It cannot be a URL or a file path. It is mutually exclusive with the four manual entry fields.
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
- * Required for manual entry. It must be a non-empty array using PEM X.509 certificate text. The current validity period is validated, and up to 10 certificates are supported.
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
- * When the mode is SelectedDepartments, it must contain at least one non-empty department ID, which should be obtained from ListIdentityProviderDepartments. When the mode is AllAuthorized, pass an empty array or omit this parameter.
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
- * Valid values:
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 workspace users to log on through the external identity provider.
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 new application configuration of the external identity provider. If not specified, the existing configuration remains unchanged.
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. This parameter may not be returned if no valid configuration is saved. OIDC placeholder initialization is not 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
- * The input supports either XML or complete manual entry. Queries return standardized configurations and do not echo the original XML. This parameter can be omitted if it is not configured.
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
- * Specifies whether to enable organization member synchronization. After it is enabled, the external identity provider synchronizes organization members as workspace users.
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
- * Follows the synchronization scope definition by department. If omitted during creation, the default value is AllAuthorized. The first vendor synchronization is determined by syncOnBind. If omitted or set to null during an update, the original value is retained. Updating and saving the scope does not automatically perform full synchronization.
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 request content for updating the external identity provider.
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
- * HTTP-Redirect or HTTP-POST. This parameter is required for manual entry. Queries return the short name.
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
- * Required for manual entry. It must be non-empty and up to 2,048 characters in length. Existing configurations do not support replacement. It is different from the local entity ID returned by SP queries.
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 switch value. Valid values: Enabled and Disabled.
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 switch value. Valid values: Enabled and Disabled. This value is not equivalent to the expected loginEnabled value saved in AC.
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. This parameter is required for manual entry. Queries return the short name.
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
- * Required for manual entry. It must be non-empty and up to 2,048 characters in length. Existing configurations do not support replacement. It is different from the local entity ID returned by SP queries.
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
- * 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.
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
- * Required for manual entry. It must be a non-empty array using PEM X.509 certificate text. The current validity period is validated, and up to 10 certificates are supported.
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
- * When the mode is SelectedDepartments, it must contain at least one non-empty department ID, which should be obtained from ListIdentityProviderDepartments. When the mode is AllAuthorized, pass an empty array or omit this parameter.
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
- * Valid values:
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 is read back on demand only by GetIdentityProvider. SCIM queries and preparations return the actual received status and URL.
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 external identity provider. Valid values: DingTalk and Feishu.
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
- * Specifies whether to allow workspace users to log on through the external identity provider.
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
- * Currently, only SAML is supported. This parameter may not be returned if no valid configuration is saved. OIDC placeholder initialization is not supported.
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 input supports either XML or complete manual entry. Queries return standardized configurations and do not echo the original XML. This parameter can be omitted if it is not configured.
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 binding status. Valid values: CONFIGURED (the configuration is accepted and waiting for the user pool to be activated), SYNCING (synchronizing organization members), SYNCED (organization member synchronization is completed), READY (the binding is in effect), SYNC_FAILED (organization member synchronization failed), UPDATING (updating the configuration), UPDATE_FAILED (configuration update failed), DISCONNECTING (disconnecting), and DISCONNECT_FAILED (disconnection failed).
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
- * Specifies whether to enable organization member synchronization. After it is enabled, the external identity provider synchronizes organization members as workspace users.
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
- * Follows the synchronization scope definition by department. If omitted during creation, the default value is AllAuthorized. The first vendor synchronization is determined by syncOnBind. If omitted or set to null during an update, the original value is retained. Updating and saving the scope does not automatically perform full synchronization.
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 ID.
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 updated external identity provider binding information.
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 when the request fails.
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 ID.
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
+