@rockcarver/frodo-lib 4.10.0 → 4.11.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/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +6 -3
- package/types/api/AgentApi.d.ts +128 -0
- package/types/api/AgentApi.d.ts.map +1 -0
- package/types/api/AmConfigApi.d.ts +87 -0
- package/types/api/AmConfigApi.d.ts.map +1 -0
- package/types/api/ApiTypes.d.ts +59 -0
- package/types/api/ApiTypes.d.ts.map +1 -0
- package/types/api/AuthenticateApi.d.ts +38 -0
- package/types/api/AuthenticateApi.d.ts.map +1 -0
- package/types/api/AuthenticationSettingsApi.d.ts +31 -0
- package/types/api/AuthenticationSettingsApi.d.ts.map +1 -0
- package/types/api/BaseApi.d.ts +190 -0
- package/types/api/BaseApi.d.ts.map +1 -0
- package/types/api/CirclesOfTrustApi.d.ts +52 -0
- package/types/api/CirclesOfTrustApi.d.ts.map +1 -0
- package/types/api/IdmConfigApi.d.ts +69 -0
- package/types/api/IdmConfigApi.d.ts.map +1 -0
- package/types/api/IdmScriptApi.d.ts +17 -0
- package/types/api/IdmScriptApi.d.ts.map +1 -0
- package/types/api/IdmSystemApi.d.ts +111 -0
- package/types/api/IdmSystemApi.d.ts.map +1 -0
- package/types/api/InternalObjectApi.d.ts +103 -0
- package/types/api/InternalObjectApi.d.ts.map +1 -0
- package/types/api/ManagedObjectApi.d.ts +252 -0
- package/types/api/ManagedObjectApi.d.ts.map +1 -0
- package/types/api/ManagedSystemObjectApi.d.ts +150 -0
- package/types/api/ManagedSystemObjectApi.d.ts.map +1 -0
- package/types/api/NodeApi.d.ts +243 -0
- package/types/api/NodeApi.d.ts.map +1 -0
- package/types/api/OAuth2ClientApi.d.ts +78 -0
- package/types/api/OAuth2ClientApi.d.ts.map +1 -0
- package/types/api/OAuth2OIDCApi.d.ts +121 -0
- package/types/api/OAuth2OIDCApi.d.ts.map +1 -0
- package/types/api/OAuth2ProviderApi.d.ts +176 -0
- package/types/api/OAuth2ProviderApi.d.ts.map +1 -0
- package/types/api/OAuth2TrustedJwtIssuerApi.d.ts +54 -0
- package/types/api/OAuth2TrustedJwtIssuerApi.d.ts.map +1 -0
- package/types/api/PoliciesApi.d.ts +60 -0
- package/types/api/PoliciesApi.d.ts.map +1 -0
- package/types/api/PolicySetApi.d.ts +52 -0
- package/types/api/PolicySetApi.d.ts.map +1 -0
- package/types/api/RawConfigApi.d.ts +75 -0
- package/types/api/RawConfigApi.d.ts.map +1 -0
- package/types/api/RealmApi.d.ts +54 -0
- package/types/api/RealmApi.d.ts.map +1 -0
- package/types/api/ReconApi.d.ts +171 -0
- package/types/api/ReconApi.d.ts.map +1 -0
- package/types/api/ResourceTypesApi.d.ts +63 -0
- package/types/api/ResourceTypesApi.d.ts.map +1 -0
- package/types/api/Saml2Api.d.ts +112 -0
- package/types/api/Saml2Api.d.ts.map +1 -0
- package/types/api/ScriptApi.d.ts +94 -0
- package/types/api/ScriptApi.d.ts.map +1 -0
- package/types/api/ScriptTypeApi.d.ts +103 -0
- package/types/api/ScriptTypeApi.d.ts.map +1 -0
- package/types/api/SecretStoreApi.d.ts +185 -0
- package/types/api/SecretStoreApi.d.ts.map +1 -0
- package/types/api/ServerInfoApi.d.ts +26 -0
- package/types/api/ServerInfoApi.d.ts.map +1 -0
- package/types/api/ServiceApi.d.ts +102 -0
- package/types/api/ServiceApi.d.ts.map +1 -0
- package/types/api/SessionApi.d.ts +23 -0
- package/types/api/SessionApi.d.ts.map +1 -0
- package/types/api/SocialIdentityProvidersApi.d.ts +89 -0
- package/types/api/SocialIdentityProvidersApi.d.ts.map +1 -0
- package/types/api/TreeApi.d.ts +62 -0
- package/types/api/TreeApi.d.ts.map +1 -0
- package/types/api/UserApi.d.ts +159 -0
- package/types/api/UserApi.d.ts.map +1 -0
- package/types/api/classic/ServerApi.d.ts +78 -0
- package/types/api/classic/ServerApi.d.ts.map +1 -0
- package/types/api/classic/SiteApi.d.ts +39 -0
- package/types/api/classic/SiteApi.d.ts.map +1 -0
- package/types/api/cloud/AdminFederationProvidersApi.d.ts +71 -0
- package/types/api/cloud/AdminFederationProvidersApi.d.ts.map +1 -0
- package/types/api/cloud/EnvAIAgentApi.d.ts +9 -0
- package/types/api/cloud/EnvAIAgentApi.d.ts.map +1 -0
- package/types/api/cloud/EnvCSRsApi.d.ts +165 -0
- package/types/api/cloud/EnvCSRsApi.d.ts.map +1 -0
- package/types/api/cloud/EnvCertificatesApi.d.ts +74 -0
- package/types/api/cloud/EnvCertificatesApi.d.ts.map +1 -0
- package/types/api/cloud/EnvContentSecurityPolicyApi.d.ts +87 -0
- package/types/api/cloud/EnvContentSecurityPolicyApi.d.ts.map +1 -0
- package/types/api/cloud/EnvCookieDomainsApi.d.ts +26 -0
- package/types/api/cloud/EnvCookieDomainsApi.d.ts.map +1 -0
- package/types/api/cloud/EnvCustomDomainsApi.d.ts +37 -0
- package/types/api/cloud/EnvCustomDomainsApi.d.ts.map +1 -0
- package/types/api/cloud/EnvDirectConfigurationSessionApi.d.ts +43 -0
- package/types/api/cloud/EnvDirectConfigurationSessionApi.d.ts.map +1 -0
- package/types/api/cloud/EnvFederationEnforcementApi.d.ts +26 -0
- package/types/api/cloud/EnvFederationEnforcementApi.d.ts.map +1 -0
- package/types/api/cloud/EnvInfoApi.d.ts +22 -0
- package/types/api/cloud/EnvInfoApi.d.ts.map +1 -0
- package/types/api/cloud/EnvPromotionApi.d.ts +218 -0
- package/types/api/cloud/EnvPromotionApi.d.ts.map +1 -0
- package/types/api/cloud/EnvReleaseApi.d.ts +16 -0
- package/types/api/cloud/EnvReleaseApi.d.ts.map +1 -0
- package/types/api/cloud/EnvSSOCookieConfigApi.d.ts +35 -0
- package/types/api/cloud/EnvSSOCookieConfigApi.d.ts.map +1 -0
- package/types/api/cloud/EnvServiceAccountScopesApi.d.ts +17 -0
- package/types/api/cloud/EnvServiceAccountScopesApi.d.ts.map +1 -0
- package/types/api/cloud/EsvCountApi.d.ts +13 -0
- package/types/api/cloud/EsvCountApi.d.ts.map +1 -0
- package/types/api/cloud/FeatureApi.d.ts +16 -0
- package/types/api/cloud/FeatureApi.d.ts.map +1 -0
- package/types/api/cloud/IdmFeatureApi.d.ts +65 -0
- package/types/api/cloud/IdmFeatureApi.d.ts.map +1 -0
- package/types/api/cloud/LogApi.d.ts +108 -0
- package/types/api/cloud/LogApi.d.ts.map +1 -0
- package/types/api/cloud/SecretsApi.d.ts +163 -0
- package/types/api/cloud/SecretsApi.d.ts.map +1 -0
- package/types/api/cloud/StartupApi.d.ts +20 -0
- package/types/api/cloud/StartupApi.d.ts.map +1 -0
- package/types/api/cloud/TelemetryApi.d.ts +60 -0
- package/types/api/cloud/TelemetryApi.d.ts.map +1 -0
- package/types/api/cloud/VariablesApi.d.ts +86 -0
- package/types/api/cloud/VariablesApi.d.ts.map +1 -0
- package/types/api/cloud/WSFedApi.d.ts +495 -0
- package/types/api/cloud/WSFedApi.d.ts.map +1 -0
- package/types/api/cloud/iga/IgaCertificationTemplateApi.d.ts +227 -0
- package/types/api/cloud/iga/IgaCertificationTemplateApi.d.ts.map +1 -0
- package/types/api/cloud/iga/IgaEventApi.d.ts +111 -0
- package/types/api/cloud/iga/IgaEventApi.d.ts.map +1 -0
- package/types/api/cloud/iga/IgaGlossaryApi.d.ts +103 -0
- package/types/api/cloud/iga/IgaGlossaryApi.d.ts.map +1 -0
- package/types/api/cloud/iga/IgaRequestFormApi.d.ts +184 -0
- package/types/api/cloud/iga/IgaRequestFormApi.d.ts.map +1 -0
- package/types/api/cloud/iga/IgaRequestTypeApi.d.ts +124 -0
- package/types/api/cloud/iga/IgaRequestTypeApi.d.ts.map +1 -0
- package/types/api/cloud/iga/IgaWorkflowApi.d.ts +208 -0
- package/types/api/cloud/iga/IgaWorkflowApi.d.ts.map +1 -0
- package/types/ext/axios-curlirize/curlirize.d.ts +14 -0
- package/types/ext/axios-curlirize/curlirize.d.ts.map +1 -0
- package/types/ext/axios-curlirize/lib/CurlHelper.d.ts +12 -0
- package/types/ext/axios-curlirize/lib/CurlHelper.d.ts.map +1 -0
- package/types/index.d.ts +11 -0
- package/types/index.d.ts.map +1 -0
- package/types/lib/FrodoLib.d.ts +407 -0
- package/types/lib/FrodoLib.d.ts.map +1 -0
- package/types/lib/Help.d.ts +18 -0
- package/types/lib/Help.d.ts.map +1 -0
- package/types/mcp/CapabilityMetadata.d.ts +48 -0
- package/types/mcp/CapabilityMetadata.d.ts.map +1 -0
- package/types/mcp/CapabilityPolicy.d.ts +22 -0
- package/types/mcp/CapabilityPolicy.d.ts.map +1 -0
- package/types/mcp/CapabilityRegistry.d.ts +62 -0
- package/types/mcp/CapabilityRegistry.d.ts.map +1 -0
- package/types/mcp/CapabilityRouting.d.ts +9 -0
- package/types/mcp/CapabilityRouting.d.ts.map +1 -0
- package/types/mcp/CapabilityTypes.d.ts +371 -0
- package/types/mcp/CapabilityTypes.d.ts.map +1 -0
- package/types/mcp/DiscoveryHydration.d.ts +21 -0
- package/types/mcp/DiscoveryHydration.d.ts.map +1 -0
- package/types/mcp/DocsContext.d.ts +123 -0
- package/types/mcp/DocsContext.d.ts.map +1 -0
- package/types/mcp/McpService.d.ts +94 -0
- package/types/mcp/McpService.d.ts.map +1 -0
- package/types/mcp/ProfileRegistry.d.ts +63 -0
- package/types/mcp/ProfileRegistry.d.ts.map +1 -0
- package/types/mcp/SemanticIdentifiers.d.ts +17 -0
- package/types/mcp/SemanticIdentifiers.d.ts.map +1 -0
- package/types/mcp/SemanticObjectFamilies.d.ts +24 -0
- package/types/mcp/SemanticObjectFamilies.d.ts.map +1 -0
- package/types/mcp/ToolManifest.d.ts +231 -0
- package/types/mcp/ToolManifest.d.ts.map +1 -0
- package/types/mcp/ToolRuntime.d.ts +477 -0
- package/types/mcp/ToolRuntime.d.ts.map +1 -0
- package/types/mcp/index.d.ts +20 -0
- package/types/mcp/index.d.ts.map +1 -0
- package/types/ops/AdminOps.d.ts +85 -0
- package/types/ops/AdminOps.d.ts.map +1 -0
- package/types/ops/AgentOps.d.ts +938 -0
- package/types/ops/AgentOps.d.ts.map +1 -0
- package/types/ops/AmConfigOps.d.ts +96 -0
- package/types/ops/AmConfigOps.d.ts.map +1 -0
- package/types/ops/ApiFactoryOps.d.ts +77 -0
- package/types/ops/ApiFactoryOps.d.ts.map +1 -0
- package/types/ops/ApplicationOps.d.ts +334 -0
- package/types/ops/ApplicationOps.d.ts.map +1 -0
- package/types/ops/AuthenticateOps.d.ts +196 -0
- package/types/ops/AuthenticateOps.d.ts.map +1 -0
- package/types/ops/AuthenticationSettingsOps.d.ts +78 -0
- package/types/ops/AuthenticationSettingsOps.d.ts.map +1 -0
- package/types/ops/BrowserAuthenticateOps.d.ts +188 -0
- package/types/ops/BrowserAuthenticateOps.d.ts.map +1 -0
- package/types/ops/CallbackOps.d.ts +27 -0
- package/types/ops/CallbackOps.d.ts.map +1 -0
- package/types/ops/CallerTrustTierOps.d.ts +103 -0
- package/types/ops/CallerTrustTierOps.d.ts.map +1 -0
- package/types/ops/CirclesOfTrustOps.d.ts +203 -0
- package/types/ops/CirclesOfTrustOps.d.ts.map +1 -0
- package/types/ops/ConfigOps.d.ts +214 -0
- package/types/ops/ConfigOps.d.ts.map +1 -0
- package/types/ops/ConnectionProfileOps.d.ts +346 -0
- package/types/ops/ConnectionProfileOps.d.ts.map +1 -0
- package/types/ops/ConnectorOps.d.ts +269 -0
- package/types/ops/ConnectorOps.d.ts.map +1 -0
- package/types/ops/EmailTemplateOps.d.ts +160 -0
- package/types/ops/EmailTemplateOps.d.ts.map +1 -0
- package/types/ops/FrodoError.d.ts +40 -0
- package/types/ops/FrodoError.d.ts.map +1 -0
- package/types/ops/IdmConfigOps.d.ts +286 -0
- package/types/ops/IdmConfigOps.d.ts.map +1 -0
- package/types/ops/IdmCryptoOps.d.ts +68 -0
- package/types/ops/IdmCryptoOps.d.ts.map +1 -0
- package/types/ops/IdmScriptOps.d.ts +29 -0
- package/types/ops/IdmScriptOps.d.ts.map +1 -0
- package/types/ops/IdmSystemOps.d.ts +198 -0
- package/types/ops/IdmSystemOps.d.ts.map +1 -0
- package/types/ops/IdpOps.d.ts +234 -0
- package/types/ops/IdpOps.d.ts.map +1 -0
- package/types/ops/InfoOps.d.ts +28 -0
- package/types/ops/InfoOps.d.ts.map +1 -0
- package/types/ops/InternalRoleOps.d.ts +232 -0
- package/types/ops/InternalRoleOps.d.ts.map +1 -0
- package/types/ops/JoseOps.d.ts +87 -0
- package/types/ops/JoseOps.d.ts.map +1 -0
- package/types/ops/JourneyOps.d.ts +573 -0
- package/types/ops/JourneyOps.d.ts.map +1 -0
- package/types/ops/ManagedObjectOps.d.ts +393 -0
- package/types/ops/ManagedObjectOps.d.ts.map +1 -0
- package/types/ops/ManagedObjectSchemaOps.d.ts +757 -0
- package/types/ops/ManagedObjectSchemaOps.d.ts.map +1 -0
- package/types/ops/ManagedSystemObjectOps.d.ts +270 -0
- package/types/ops/ManagedSystemObjectOps.d.ts.map +1 -0
- package/types/ops/ManagedSystemObjectSchemaOps.d.ts +42 -0
- package/types/ops/ManagedSystemObjectSchemaOps.d.ts.map +1 -0
- package/types/ops/MappingOps.d.ts +332 -0
- package/types/ops/MappingOps.d.ts.map +1 -0
- package/types/ops/NodeOps.d.ts +627 -0
- package/types/ops/NodeOps.d.ts.map +1 -0
- package/types/ops/OAuth2ClientOps.d.ts +235 -0
- package/types/ops/OAuth2ClientOps.d.ts.map +1 -0
- package/types/ops/OAuth2OidcOps.d.ts +64 -0
- package/types/ops/OAuth2OidcOps.d.ts.map +1 -0
- package/types/ops/OAuth2ProviderOps.d.ts +57 -0
- package/types/ops/OAuth2ProviderOps.d.ts.map +1 -0
- package/types/ops/OAuth2TrustedJwtIssuerOps.d.ts +223 -0
- package/types/ops/OAuth2TrustedJwtIssuerOps.d.ts.map +1 -0
- package/types/ops/OpsTypes.d.ts +12 -0
- package/types/ops/OpsTypes.d.ts.map +1 -0
- package/types/ops/OrganizationOps.d.ts +34 -0
- package/types/ops/OrganizationOps.d.ts.map +1 -0
- package/types/ops/PolicyOps.d.ts +294 -0
- package/types/ops/PolicyOps.d.ts.map +1 -0
- package/types/ops/PolicySetOps.d.ts +195 -0
- package/types/ops/PolicySetOps.d.ts.map +1 -0
- package/types/ops/PrivilegeEscalationOps.d.ts +51 -0
- package/types/ops/PrivilegeEscalationOps.d.ts.map +1 -0
- package/types/ops/RawConfigOps.d.ts +67 -0
- package/types/ops/RawConfigOps.d.ts.map +1 -0
- package/types/ops/RealmOps.d.ts +196 -0
- package/types/ops/RealmOps.d.ts.map +1 -0
- package/types/ops/ReconOps.d.ts +57 -0
- package/types/ops/ReconOps.d.ts.map +1 -0
- package/types/ops/RequiredScopesOps.d.ts +69 -0
- package/types/ops/RequiredScopesOps.d.ts.map +1 -0
- package/types/ops/ResourceTypeOps.d.ts +219 -0
- package/types/ops/ResourceTypeOps.d.ts.map +1 -0
- package/types/ops/Saml2Ops.d.ts +261 -0
- package/types/ops/Saml2Ops.d.ts.map +1 -0
- package/types/ops/ScriptOps.d.ts +426 -0
- package/types/ops/ScriptOps.d.ts.map +1 -0
- package/types/ops/ScriptTypeOps.d.ts +124 -0
- package/types/ops/ScriptTypeOps.d.ts.map +1 -0
- package/types/ops/SecretStoreOps.d.ts +357 -0
- package/types/ops/SecretStoreOps.d.ts.map +1 -0
- package/types/ops/ServiceOps.d.ts +194 -0
- package/types/ops/ServiceOps.d.ts.map +1 -0
- package/types/ops/SessionOps.d.ts +22 -0
- package/types/ops/SessionOps.d.ts.map +1 -0
- package/types/ops/ThemeOps.d.ts +245 -0
- package/types/ops/ThemeOps.d.ts.map +1 -0
- package/types/ops/TokenCacheOps.d.ts +243 -0
- package/types/ops/TokenCacheOps.d.ts.map +1 -0
- package/types/ops/UserOps.d.ts +199 -0
- package/types/ops/UserOps.d.ts.map +1 -0
- package/types/ops/VersionUtils.d.ts +29 -0
- package/types/ops/VersionUtils.d.ts.map +1 -0
- package/types/ops/classic/ServerOps.d.ts +195 -0
- package/types/ops/classic/ServerOps.d.ts.map +1 -0
- package/types/ops/classic/SiteOps.d.ts +117 -0
- package/types/ops/classic/SiteOps.d.ts.map +1 -0
- package/types/ops/cloud/AdminFederationOps.d.ts +165 -0
- package/types/ops/cloud/AdminFederationOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvAIAgentOps.d.ts +18 -0
- package/types/ops/cloud/EnvAIAgentOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvCSRsOps.d.ts +86 -0
- package/types/ops/cloud/EnvCSRsOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvCertificatesOps.d.ts +140 -0
- package/types/ops/cloud/EnvCertificatesOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvContentSecurityPolicyOps.d.ts +101 -0
- package/types/ops/cloud/EnvContentSecurityPolicyOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvCookieDomainsOps.d.ts +36 -0
- package/types/ops/cloud/EnvCookieDomainsOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvCustomDomainsOps.d.ts +53 -0
- package/types/ops/cloud/EnvCustomDomainsOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvDirectConfigurationSessionOps.d.ts +55 -0
- package/types/ops/cloud/EnvDirectConfigurationSessionOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvFederationEnforcementOps.d.ts +58 -0
- package/types/ops/cloud/EnvFederationEnforcementOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvPromotionOps.d.ts +175 -0
- package/types/ops/cloud/EnvPromotionOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvReleaseOps.d.ts +19 -0
- package/types/ops/cloud/EnvReleaseOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvSSOCookieConfigOps.d.ts +50 -0
- package/types/ops/cloud/EnvSSOCookieConfigOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvServiceAccountScopesOps.d.ts +21 -0
- package/types/ops/cloud/EnvServiceAccountScopesOps.d.ts.map +1 -0
- package/types/ops/cloud/EsvCountOps.d.ts +15 -0
- package/types/ops/cloud/EsvCountOps.d.ts.map +1 -0
- package/types/ops/cloud/FeatureOps.d.ts +34 -0
- package/types/ops/cloud/FeatureOps.d.ts.map +1 -0
- package/types/ops/cloud/IdmFeatureOps.d.ts +78 -0
- package/types/ops/cloud/IdmFeatureOps.d.ts.map +1 -0
- package/types/ops/cloud/LogOps.d.ts +271 -0
- package/types/ops/cloud/LogOps.d.ts.map +1 -0
- package/types/ops/cloud/SecretsOps.d.ts +306 -0
- package/types/ops/cloud/SecretsOps.d.ts.map +1 -0
- package/types/ops/cloud/ServiceAccountOps.d.ts +86 -0
- package/types/ops/cloud/ServiceAccountOps.d.ts.map +1 -0
- package/types/ops/cloud/StartupOps.d.ts +62 -0
- package/types/ops/cloud/StartupOps.d.ts.map +1 -0
- package/types/ops/cloud/TelemetryOps.d.ts +109 -0
- package/types/ops/cloud/TelemetryOps.d.ts.map +1 -0
- package/types/ops/cloud/VariablesOps.d.ts +224 -0
- package/types/ops/cloud/VariablesOps.d.ts.map +1 -0
- package/types/ops/cloud/WSFedOps.d.ts +412 -0
- package/types/ops/cloud/WSFedOps.d.ts.map +1 -0
- package/types/ops/cloud/iga/IgaCertificationTemplateOps.d.ts +261 -0
- package/types/ops/cloud/iga/IgaCertificationTemplateOps.d.ts.map +1 -0
- package/types/ops/cloud/iga/IgaEventOps.d.ts +242 -0
- package/types/ops/cloud/iga/IgaEventOps.d.ts.map +1 -0
- package/types/ops/cloud/iga/IgaGlossaryOps.d.ts +241 -0
- package/types/ops/cloud/iga/IgaGlossaryOps.d.ts.map +1 -0
- package/types/ops/cloud/iga/IgaRequestFormOps.d.ts +259 -0
- package/types/ops/cloud/iga/IgaRequestFormOps.d.ts.map +1 -0
- package/types/ops/cloud/iga/IgaRequestTypeOps.d.ts +240 -0
- package/types/ops/cloud/iga/IgaRequestTypeOps.d.ts.map +1 -0
- package/types/ops/cloud/iga/IgaWorkflowOps.d.ts +334 -0
- package/types/ops/cloud/iga/IgaWorkflowOps.d.ts.map +1 -0
- package/types/ops/internal/RelationshipHelpers.d.ts +111 -0
- package/types/ops/internal/RelationshipHelpers.d.ts.map +1 -0
- package/types/shared/Constants.d.ts +100 -0
- package/types/shared/Constants.d.ts.map +1 -0
- package/types/shared/OperationType.d.ts +14 -0
- package/types/shared/OperationType.d.ts.map +1 -0
- package/types/shared/State.d.ts +355 -0
- package/types/shared/State.d.ts.map +1 -0
- package/types/shared/Version.d.ts +16 -0
- package/types/shared/Version.d.ts.map +1 -0
- package/types/test/mocks/ForgeRockApiMockEngine.d.ts +38 -0
- package/types/test/mocks/ForgeRockApiMockEngine.d.ts.map +1 -0
- package/types/test/setup/EmailTemplateSetup.d.ts +8 -0
- package/types/test/setup/EmailTemplateSetup.d.ts.map +1 -0
- package/types/test/setup/IgaCertificationTemplateSetup.d.ts +12 -0
- package/types/test/setup/IgaCertificationTemplateSetup.d.ts.map +1 -0
- package/types/test/setup/IgaEventSetup.d.ts +22 -0
- package/types/test/setup/IgaEventSetup.d.ts.map +1 -0
- package/types/test/setup/IgaGlossarySetup.d.ts +11 -0
- package/types/test/setup/IgaGlossarySetup.d.ts.map +1 -0
- package/types/test/setup/IgaRequestFormSetup.d.ts +42 -0
- package/types/test/setup/IgaRequestFormSetup.d.ts.map +1 -0
- package/types/test/setup/IgaRequestTypeSetup.d.ts +10 -0
- package/types/test/setup/IgaRequestTypeSetup.d.ts.map +1 -0
- package/types/test/setup/IgaWorkflowSetup.d.ts +32 -0
- package/types/test/setup/IgaWorkflowSetup.d.ts.map +1 -0
- package/types/test/setup/JourneySetup.d.ts +18 -0
- package/types/test/setup/JourneySetup.d.ts.map +1 -0
- package/types/test/setup/NodeSetup.d.ts +14 -0
- package/types/test/setup/NodeSetup.d.ts.map +1 -0
- package/types/test/setup/RawConfigSetup.d.ts +2 -0
- package/types/test/setup/RawConfigSetup.d.ts.map +1 -0
- package/types/test/setup/SecretSetup.d.ts +69 -0
- package/types/test/setup/SecretSetup.d.ts.map +1 -0
- package/types/test/setup/StartupSetup.d.ts +2 -0
- package/types/test/setup/StartupSetup.d.ts.map +1 -0
- package/types/test/setup/TelemetrySetup.d.ts +8 -0
- package/types/test/setup/TelemetrySetup.d.ts.map +1 -0
- package/types/test/setup/VariablesSetup.d.ts +27 -0
- package/types/test/setup/VariablesSetup.d.ts.map +1 -0
- package/types/test/utils/TestUtils.d.ts +15 -0
- package/types/test/utils/TestUtils.d.ts.map +1 -0
- package/types/utils/AsyncUtils.d.ts +14 -0
- package/types/utils/AsyncUtils.d.ts.map +1 -0
- package/types/utils/AutoSetupPolly.d.ts +25 -0
- package/types/utils/AutoSetupPolly.d.ts.map +1 -0
- package/types/utils/Base64Utils.d.ts +41 -0
- package/types/utils/Base64Utils.d.ts.map +1 -0
- package/types/utils/ColorTheme.d.ts +40 -0
- package/types/utils/ColorTheme.d.ts.map +1 -0
- package/types/utils/Console.d.ts +110 -0
- package/types/utils/Console.d.ts.map +1 -0
- package/types/utils/CryptoUtils.d.ts +35 -0
- package/types/utils/CryptoUtils.d.ts.map +1 -0
- package/types/utils/DataProtection.d.ts +24 -0
- package/types/utils/DataProtection.d.ts.map +1 -0
- package/types/utils/ExportImportUtils.d.ts +415 -0
- package/types/utils/ExportImportUtils.d.ts.map +1 -0
- package/types/utils/ForgeRockUtils.d.ts +122 -0
- package/types/utils/ForgeRockUtils.d.ts.map +1 -0
- package/types/utils/FrodoNodeHttpAdapter.d.ts +5 -0
- package/types/utils/FrodoNodeHttpAdapter.d.ts.map +1 -0
- package/types/utils/FrodoUtils.d.ts +15 -0
- package/types/utils/FrodoUtils.d.ts.map +1 -0
- package/types/utils/HelpUtils.d.ts +19 -0
- package/types/utils/HelpUtils.d.ts.map +1 -0
- package/types/utils/JsonUtils.d.ts +105 -0
- package/types/utils/JsonUtils.d.ts.map +1 -0
- package/types/utils/JwtUtils.d.ts +19 -0
- package/types/utils/JwtUtils.d.ts.map +1 -0
- package/types/utils/PkceUtils.d.ts +17 -0
- package/types/utils/PkceUtils.d.ts.map +1 -0
- package/types/utils/PollyUtils.d.ts +65 -0
- package/types/utils/PollyUtils.d.ts.map +1 -0
- package/types/utils/ScriptValidationUtils.d.ts +38 -0
- package/types/utils/ScriptValidationUtils.d.ts.map +1 -0
- package/types/utils/SemverUtils.d.ts +61 -0
- package/types/utils/SemverUtils.d.ts.map +1 -0
- package/types/utils/SetupPollyForFrodoLib.d.ts +7 -0
- package/types/utils/SetupPollyForFrodoLib.d.ts.map +1 -0
- package/types/utils/TerminalBackgroundDetection.d.ts +48 -0
- package/types/utils/TerminalBackgroundDetection.d.ts.map +1 -0
- package/types/utils/TerminalContrast.d.ts +44 -0
- package/types/utils/TerminalContrast.d.ts.map +1 -0
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { IdObjectSkeletonInterface } from '../../api/ApiTypes';
|
|
2
|
+
import { State } from '../../shared/State';
|
|
3
|
+
/**
|
|
4
|
+
* A single IDM tenant-configuration feature (e.g. `groups`, `aiagent`,
|
|
5
|
+
* `am/2fa/profiles`), distinct from `cloud.feature`'s environment-level
|
|
6
|
+
* entitlement/licensing flags (e.g. `identity-cloud`, `workforce`,
|
|
7
|
+
* `service-accounts`) -- confirmed live to be two entirely separate REST
|
|
8
|
+
* resources sharing similar terminology, not the same one. See
|
|
9
|
+
* `IdmFeatureOps.ts`'s header comment for the full distinction.
|
|
10
|
+
*/
|
|
11
|
+
export interface IdmFeatureInterface extends IdObjectSkeletonInterface {
|
|
12
|
+
installedVersion: string | null;
|
|
13
|
+
availableVersions: string[];
|
|
14
|
+
}
|
|
15
|
+
export interface IdmFeatureActionResult {
|
|
16
|
+
status: number;
|
|
17
|
+
success: boolean;
|
|
18
|
+
message: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Get all IDM tenant-configuration features and their install status.
|
|
22
|
+
* @returns {Promise<{ result: IdmFeatureInterface[] }>} a promise that resolves to an object containing an array of feature objects
|
|
23
|
+
*/
|
|
24
|
+
export declare function getIdmFeatures({ state, }: {
|
|
25
|
+
state: State;
|
|
26
|
+
}): Promise<{
|
|
27
|
+
result: IdmFeatureInterface[];
|
|
28
|
+
}>;
|
|
29
|
+
/**
|
|
30
|
+
* Get a single IDM tenant-configuration feature and its install status.
|
|
31
|
+
* @param {string} featureId feature id, e.g. 'aiagent' or 'am/2fa/profiles'.
|
|
32
|
+
* Ids containing a literal slash work fine here -- confirmed live -- as long
|
|
33
|
+
* as it's sent as a real, unencoded path segment (this function's plain
|
|
34
|
+
* string interpolation already does that correctly); percent-encoding the
|
|
35
|
+
* slash (`%2F` or `%252F`) is what breaks it, so don't "fix" this by adding
|
|
36
|
+
* `encodeURIComponent`.
|
|
37
|
+
* @returns {Promise<IdmFeatureInterface>} a promise that resolves to the feature object
|
|
38
|
+
*/
|
|
39
|
+
export declare function getIdmFeature({ featureId, state, }: {
|
|
40
|
+
featureId: string;
|
|
41
|
+
state: State;
|
|
42
|
+
}): Promise<IdmFeatureInterface>;
|
|
43
|
+
/**
|
|
44
|
+
* Validate whether an IDM tenant-configuration feature is installable,
|
|
45
|
+
* without installing it.
|
|
46
|
+
* @param {string} featureId feature id, e.g. 'aiagent'
|
|
47
|
+
* @returns {Promise<IdmFeatureActionResult>} a promise that resolves to the validation result
|
|
48
|
+
*/
|
|
49
|
+
export declare function validateIdmFeature({ featureId, state, }: {
|
|
50
|
+
featureId: string;
|
|
51
|
+
state: State;
|
|
52
|
+
}): Promise<IdmFeatureActionResult>;
|
|
53
|
+
/**
|
|
54
|
+
* Install an IDM tenant-configuration feature. Irreversible: per Ping's own
|
|
55
|
+
* documentation, uninstalling or disabling a feature once installed requires
|
|
56
|
+
* contacting Ping support and rolling back the tenant -- there is no
|
|
57
|
+
* self-service undo.
|
|
58
|
+
* @param {string} featureId feature id, e.g. 'aiagent'
|
|
59
|
+
* @returns {Promise<IdmFeatureActionResult>} a promise that resolves to the install result
|
|
60
|
+
*/
|
|
61
|
+
export declare function installIdmFeature({ featureId, state, }: {
|
|
62
|
+
featureId: string;
|
|
63
|
+
state: State;
|
|
64
|
+
}): Promise<IdmFeatureActionResult>;
|
|
65
|
+
//# sourceMappingURL=IdmFeatureApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IdmFeatureApi.d.ts","sourceRoot":"","sources":["../../../src/api/cloud/IdmFeatureApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAE/D,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAQ3C;;;;;;;GAOG;AACH,MAAM,WAAW,mBAAoB,SAAQ,yBAAyB;IACpE,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,iBAAiB,EAAE,MAAM,EAAE,CAAC;CAC7B;AAED,MAAM,WAAW,sBAAsB;IACrC,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;;GAGG;AACH,wBAAsB,cAAc,CAAC,EACnC,KAAK,GACN,EAAE;IACD,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC;IAAE,MAAM,EAAE,mBAAmB,EAAE,CAAA;CAAE,CAAC,CAW7C;AAED;;;;;;;;;GASG;AACH,wBAAsB,aAAa,CAAC,EAClC,SAAS,EACT,KAAK,GACN,EAAE;IACD,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAY/B;AAED;;;;;GAKG;AACH,wBAAsB,kBAAkB,CAAC,EACvC,SAAS,EACT,KAAK,GACN,EAAE;IACD,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAalC;AAED;;;;;;;GAOG;AACH,wBAAsB,iBAAiB,CAAC,EACtC,SAAS,EACT,KAAK,GACN,EAAE;IACD,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAalC"}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { State } from '../../shared/State';
|
|
2
|
+
import { type NoIdObjectSkeletonInterface, type PagedResult } from '../ApiTypes';
|
|
3
|
+
export type LogApiKey = {
|
|
4
|
+
name: string;
|
|
5
|
+
api_key_id: string;
|
|
6
|
+
api_key_secret?: string;
|
|
7
|
+
created_at: string;
|
|
8
|
+
};
|
|
9
|
+
export type LogEventPayloadSkeleton = NoIdObjectSkeletonInterface & {
|
|
10
|
+
context: string;
|
|
11
|
+
level: string;
|
|
12
|
+
logger: string;
|
|
13
|
+
mdc: {
|
|
14
|
+
transactionId: string;
|
|
15
|
+
};
|
|
16
|
+
message: string;
|
|
17
|
+
thread: string;
|
|
18
|
+
timestamp: string;
|
|
19
|
+
transactionId: string;
|
|
20
|
+
};
|
|
21
|
+
export type LogEventSkeleton = NoIdObjectSkeletonInterface & {
|
|
22
|
+
payload: string | LogEventPayloadSkeleton;
|
|
23
|
+
timestamp: string;
|
|
24
|
+
type: string;
|
|
25
|
+
source: string;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Get log API key
|
|
29
|
+
* @returns {Promise<PagedResult<LogApiKey>>} a promise resolving to a log api key object
|
|
30
|
+
*/
|
|
31
|
+
export declare function getLogApiKey({ keyId, state, }: {
|
|
32
|
+
keyId: string;
|
|
33
|
+
state: State;
|
|
34
|
+
}): Promise<LogApiKey>;
|
|
35
|
+
/**
|
|
36
|
+
* Get available API keys
|
|
37
|
+
* @returns {Promise<PagedResult<LogApiKey>>} a promise resolving to a paged log api key results object
|
|
38
|
+
*/
|
|
39
|
+
export declare function getLogApiKeys({ state, }: {
|
|
40
|
+
state: State;
|
|
41
|
+
}): Promise<PagedResult<LogApiKey>>;
|
|
42
|
+
/**
|
|
43
|
+
* Get available log sources
|
|
44
|
+
* @returns {Promise<PagedResult<string>>} a promise resolving to a paged string results object
|
|
45
|
+
*/
|
|
46
|
+
export declare function getSources({ state, }: {
|
|
47
|
+
state: State;
|
|
48
|
+
}): Promise<PagedResult<string>>;
|
|
49
|
+
/**
|
|
50
|
+
* Validate log API key
|
|
51
|
+
* @param {string} keyId log api key id
|
|
52
|
+
* @param {string} secret log api secret
|
|
53
|
+
* @returns {Promise<boolean>} a promise resolving to true if the key is valid, false otherwise
|
|
54
|
+
*/
|
|
55
|
+
export declare function isLogApiKeyValid({ keyId, secret, state, }: {
|
|
56
|
+
keyId: string;
|
|
57
|
+
secret: string;
|
|
58
|
+
state: State;
|
|
59
|
+
}): Promise<boolean>;
|
|
60
|
+
/**
|
|
61
|
+
* Create API key
|
|
62
|
+
* @param {keyName: string, state: State} params keyName, state
|
|
63
|
+
* @returns {Promise<LogApiKey>} new API key and secret
|
|
64
|
+
*/
|
|
65
|
+
export declare function createLogApiKey({ keyName, state, }: {
|
|
66
|
+
keyName: string;
|
|
67
|
+
state: State;
|
|
68
|
+
}): Promise<LogApiKey>;
|
|
69
|
+
/**
|
|
70
|
+
* Delete log API key
|
|
71
|
+
* @param {string} keyId key id
|
|
72
|
+
* @returns {Promise<unknown>} a promise that resolves to a log api key object
|
|
73
|
+
*/
|
|
74
|
+
export declare function deleteLogApiKey({ keyId, state, }: {
|
|
75
|
+
keyId: string;
|
|
76
|
+
state: State;
|
|
77
|
+
}): Promise<unknown>;
|
|
78
|
+
/**
|
|
79
|
+
* Tail logs
|
|
80
|
+
* @param {string} source log source(s) to tail
|
|
81
|
+
* @param {string} cookie paged results cookie
|
|
82
|
+
* @returns {Promise<PagedResult<LogEventSkeleton>>} promise resolving to paged log event result
|
|
83
|
+
*/
|
|
84
|
+
export declare function tail({ source, cookie, state, }: {
|
|
85
|
+
source: string;
|
|
86
|
+
cookie: string;
|
|
87
|
+
state: State;
|
|
88
|
+
}): Promise<PagedResult<LogEventSkeleton>>;
|
|
89
|
+
/**
|
|
90
|
+
* Fetch logs
|
|
91
|
+
* @param {string} source log source(s) to tail
|
|
92
|
+
* @param {string} startTs start timestamp
|
|
93
|
+
* @param {string} endTs end timestamp
|
|
94
|
+
* @param {string} cookie paged results cookie
|
|
95
|
+
* @param {string} transactionId transaction id
|
|
96
|
+
* @param {string} queryFilter query filter
|
|
97
|
+
* @returns {Promise<PagedResult<LogEventSkeleton>>} promise resolving to paged log event result
|
|
98
|
+
*/
|
|
99
|
+
export declare function fetch({ source, startTs, endTs, cookie, txid, filter, state, }: {
|
|
100
|
+
source: string;
|
|
101
|
+
startTs: string;
|
|
102
|
+
endTs: string;
|
|
103
|
+
cookie: string;
|
|
104
|
+
txid: string;
|
|
105
|
+
filter: string;
|
|
106
|
+
state: State;
|
|
107
|
+
}): Promise<PagedResult<LogEventSkeleton>>;
|
|
108
|
+
//# sourceMappingURL=LogApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LogApi.d.ts","sourceRoot":"","sources":["../../../src/api/cloud/LogApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAE3C,OAAO,EACL,KAAK,2BAA2B,EAChC,KAAK,WAAW,EACjB,MAAM,aAAa,CAAC;AAUrB,MAAM,MAAM,SAAS,GAAG;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,2BAA2B,GAAG;IAClE,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE;QACH,aAAa,EAAE,MAAM,CAAC;KACvB,CAAC;IACF,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;CACvB,CAA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UnB;AAED;;;;;GAKG;AACH,wBAAsB,IAAI,CAAC,EACzB,MAAM,EACN,MAAM,EACN,KAAK,GACN,EAAE;IACD,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAAC,CAWzC;AAED;;;;;;;;;GASG;AACH,wBAAsB,KAAK,CAAC,EAC1B,MAAM,EACN,OAAO,EACP,KAAK,EACL,MAAM,EACN,IAAI,EACJ,MAAM,EACN,KAAK,GACN,EAAE;IACD,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAAC,CAwBzC"}
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import { State } from '../../shared/State';
|
|
2
|
+
import { IdObjectSkeletonInterface, PagedResult } from '../ApiTypes';
|
|
3
|
+
/**
|
|
4
|
+
* Secret encoding
|
|
5
|
+
*
|
|
6
|
+
* @summary
|
|
7
|
+
* You can use the encoding parameter to set an encoding format when you create an ESV secret.
|
|
8
|
+
* You can only choose an encoding format using the API. The UI currently creates secrets only
|
|
9
|
+
* with the generic encoding format.
|
|
10
|
+
*
|
|
11
|
+
* @see
|
|
12
|
+
* {@link https://backstage.forgerock.com/docs/idcloud/latest/tenants/esvs.html#encoding_format | ForgeRock Documentation}
|
|
13
|
+
*/
|
|
14
|
+
export type SecretEncodingType = 'generic' | 'pem' | 'base64hmac' | 'base64aes';
|
|
15
|
+
/**
|
|
16
|
+
* Secret object skeleton
|
|
17
|
+
*/
|
|
18
|
+
export type SecretSkeleton = IdObjectSkeletonInterface & {
|
|
19
|
+
description: string;
|
|
20
|
+
encoding: SecretEncodingType;
|
|
21
|
+
lastChangedBy?: string;
|
|
22
|
+
lastChangeDate?: string;
|
|
23
|
+
useInPlaceholders: boolean;
|
|
24
|
+
loaded?: boolean;
|
|
25
|
+
loadedVersion?: string;
|
|
26
|
+
activeVersion?: string;
|
|
27
|
+
activeValue?: any;
|
|
28
|
+
};
|
|
29
|
+
export type VersionOfSecretStatus = 'DISABLED' | 'ENABLED' | 'DESTROYED';
|
|
30
|
+
/**
|
|
31
|
+
* Secret version skeleton
|
|
32
|
+
*/
|
|
33
|
+
export type VersionOfSecretSkeleton = IdObjectSkeletonInterface & {
|
|
34
|
+
/**
|
|
35
|
+
* Base64-encoded value. Only used when creating a new version of a secret
|
|
36
|
+
*/
|
|
37
|
+
valueBase64?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Version string. Returned when reading a version of a secret
|
|
40
|
+
*/
|
|
41
|
+
version?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Date string. Returned when reading a version of a secret
|
|
44
|
+
*/
|
|
45
|
+
createDate?: string;
|
|
46
|
+
/**
|
|
47
|
+
* True if loaded, false otherwise. Returned when reading a version of a secret
|
|
48
|
+
*/
|
|
49
|
+
loaded?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Status string. Returned when reading a version of a secret
|
|
52
|
+
*/
|
|
53
|
+
status?: VersionOfSecretStatus;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* Get all secrets
|
|
57
|
+
* @returns {Promise<PagedResult<SecretSkeleton>>} a promise that resolves to an array of secrets
|
|
58
|
+
*/
|
|
59
|
+
export declare function getSecrets({ state, }: {
|
|
60
|
+
state: State;
|
|
61
|
+
}): Promise<PagedResult<SecretSkeleton>>;
|
|
62
|
+
/**
|
|
63
|
+
* Get secret
|
|
64
|
+
* @param secretId secret id/name
|
|
65
|
+
* @returns {Promise<SecretSkeleton>} a promise that resolves to a secret
|
|
66
|
+
*/
|
|
67
|
+
export declare function getSecret({ secretId, state, }: {
|
|
68
|
+
secretId: string;
|
|
69
|
+
state: State;
|
|
70
|
+
}): Promise<SecretSkeleton>;
|
|
71
|
+
/**
|
|
72
|
+
* Create secret
|
|
73
|
+
* @param {string} secretId secret id/name
|
|
74
|
+
* @param {string} value secret value
|
|
75
|
+
* @param {string} description secret description
|
|
76
|
+
* @param {string} encoding secret encoding (only `generic` is supported)
|
|
77
|
+
* @param {boolean} useInPlaceholders flag indicating if the secret can be used in placeholders
|
|
78
|
+
* @returns {Promise<SecretSkeleton>} a promise that resolves to a secret
|
|
79
|
+
*/
|
|
80
|
+
export declare function putSecret({ secretId, value, description, encoding, useInPlaceholders, state, }: {
|
|
81
|
+
secretId: string;
|
|
82
|
+
value: string;
|
|
83
|
+
description: string;
|
|
84
|
+
encoding?: string;
|
|
85
|
+
useInPlaceholders?: boolean;
|
|
86
|
+
state: State;
|
|
87
|
+
}): Promise<SecretSkeleton>;
|
|
88
|
+
/**
|
|
89
|
+
* Set secret description
|
|
90
|
+
* @param {string} secretId secret id/name
|
|
91
|
+
* @param {string} description secret description
|
|
92
|
+
* @returns {Promise<any>} a promise that resolves to an empty string
|
|
93
|
+
*/
|
|
94
|
+
export declare function setSecretDescription({ secretId, description, state, }: {
|
|
95
|
+
secretId: string;
|
|
96
|
+
description: string;
|
|
97
|
+
state: State;
|
|
98
|
+
}): Promise<any>;
|
|
99
|
+
/**
|
|
100
|
+
* Delete secret
|
|
101
|
+
* @param {string} secretId secret id/name
|
|
102
|
+
* @returns {Promise<unknown>} a promise that resolves to a secret object
|
|
103
|
+
*/
|
|
104
|
+
export declare function deleteSecret({ secretId, state, }: {
|
|
105
|
+
secretId: string;
|
|
106
|
+
state: State;
|
|
107
|
+
}): Promise<any>;
|
|
108
|
+
/**
|
|
109
|
+
* Get secret versions
|
|
110
|
+
* @param {string} secretId secret id/name
|
|
111
|
+
* @returns {Promise<VersionOfSecretSkeleton[]>} a promise that resolves to an array of secret versions
|
|
112
|
+
*/
|
|
113
|
+
export declare function getSecretVersions({ secretId, state, }: {
|
|
114
|
+
secretId: string;
|
|
115
|
+
state: State;
|
|
116
|
+
}): Promise<VersionOfSecretSkeleton[]>;
|
|
117
|
+
/**
|
|
118
|
+
* Create new secret version
|
|
119
|
+
* @param {string} secretId secret id/name
|
|
120
|
+
* @param {string} value secret value
|
|
121
|
+
* @returns {Promise<VersionOfSecretSkeleton>} a promise that resolves to a version object
|
|
122
|
+
*/
|
|
123
|
+
export declare function createNewVersionOfSecret({ secretId, value, state, }: {
|
|
124
|
+
secretId: string;
|
|
125
|
+
value: string;
|
|
126
|
+
state: State;
|
|
127
|
+
}): Promise<VersionOfSecretSkeleton>;
|
|
128
|
+
/**
|
|
129
|
+
* Get version of secret
|
|
130
|
+
* @param {string} secretId secret id/name
|
|
131
|
+
* @param {string} version secret version
|
|
132
|
+
* @returns {Promise<VersionOfSecretSkeleton>} a promise that resolves to a version object
|
|
133
|
+
*/
|
|
134
|
+
export declare function getVersionOfSecret({ secretId, version, state, }: {
|
|
135
|
+
secretId: string;
|
|
136
|
+
version: string;
|
|
137
|
+
state: State;
|
|
138
|
+
}): Promise<VersionOfSecretSkeleton>;
|
|
139
|
+
/**
|
|
140
|
+
* Update the status of a version of a secret
|
|
141
|
+
* @param {string} secretId secret id/name
|
|
142
|
+
* @param {string} version secret version
|
|
143
|
+
* @param {VersionOfSecretStatus} status status
|
|
144
|
+
* @returns {Promise<VersionOfSecretSkeleton>} a promise that resolves to a status object
|
|
145
|
+
*/
|
|
146
|
+
export declare function setStatusOfVersionOfSecret({ secretId, version, status, state, }: {
|
|
147
|
+
secretId: string;
|
|
148
|
+
version: string;
|
|
149
|
+
status: VersionOfSecretStatus;
|
|
150
|
+
state: State;
|
|
151
|
+
}): Promise<VersionOfSecretSkeleton>;
|
|
152
|
+
/**
|
|
153
|
+
* Delete version of secret
|
|
154
|
+
* @param {string} secretId secret id/name
|
|
155
|
+
* @param {string} version secret version
|
|
156
|
+
* @returns {Promise<VersionOfSecretSkeleton>} a promise that resolves to a version object
|
|
157
|
+
*/
|
|
158
|
+
export declare function deleteVersionOfSecret({ secretId, version, state, }: {
|
|
159
|
+
secretId: string;
|
|
160
|
+
version: string;
|
|
161
|
+
state: State;
|
|
162
|
+
}): Promise<VersionOfSecretSkeleton>;
|
|
163
|
+
//# sourceMappingURL=SecretsApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SecretsApi.d.ts","sourceRoot":"","sources":["../../../src/api/cloud/SecretsApi.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAE3C,OAAO,EAAE,yBAAyB,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAiBrE;;;;;;;;;;GAUG;AACH,MAAM,MAAM,kBAAkB,GAAG,SAAS,GAAG,KAAK,GAAG,YAAY,GAAG,WAAW,CAAC;AAEhF;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,yBAAyB,GAAG;IACvD,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,GAAG,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,UAAU,GAAG,SAAS,GAAG,WAAW,CAAC;AAEzE;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,yBAAyB,GAAG;IAChE;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,MAAM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ACD,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,uBAAuB,EAAE,CAAC,CAcrC;AAED;;;;;GAKG;AACH,wBAAsB,wBAAwB,CAAC,EAC7C,QAAQ,EACR,KAAK,EACL,KAAK,GACN,EAAE;IACD,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAYnC;AAED;;;;;GAKG;AACH,wBAAsB,kBAAkB,CAAC,EACvC,QAAQ,EACR,OAAO,EACP,KAAK,GACN,EAAE;IACD,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAenC;AAED;;;;;;GAMG;AACH,wBAAsB,0BAA0B,CAAC,EAC/C,QAAQ,EACR,OAAO,EACP,MAAM,EACN,KAAK,GACN,EAAE;IACD,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,qBAAqB,CAAC;IAC9B,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAanC;AAED;;;;;GAKG;AACH,wBAAsB,qBAAqB,CAAC,EAC1C,QAAQ,EACR,OAAO,EACP,KAAK,GACN,EAAE;IACD,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAenC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { State } from '../../shared/State';
|
|
2
|
+
export declare enum RestartStatus {
|
|
3
|
+
restarting = "restarting",
|
|
4
|
+
ready = "ready"
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Get status
|
|
8
|
+
* @returns {Promise<RestartStatus>} a promise that resolves to a string indicating status
|
|
9
|
+
*/
|
|
10
|
+
export declare function getStatus({ state, }: {
|
|
11
|
+
state: State;
|
|
12
|
+
}): Promise<RestartStatus>;
|
|
13
|
+
/**
|
|
14
|
+
* Initiate restart
|
|
15
|
+
* @returns {Promise<string>} a promise that resolves to a string indicating status
|
|
16
|
+
*/
|
|
17
|
+
export declare function initiateRestart({ state, }: {
|
|
18
|
+
state: State;
|
|
19
|
+
}): Promise<RestartStatus>;
|
|
20
|
+
//# sourceMappingURL=StartupApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StartupApi.d.ts","sourceRoot":"","sources":["../../../src/api/cloud/StartupApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAa3C,oBAAY,aAAa;IACvB,UAAU,eAAe;IACzB,KAAK,UAAU;CAChB;AAED;;;GAGG;AACH,wBAAsB,SAAS,CAAC,EAC9B,KAAK,GACN,EAAE;IACD,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,aAAa,CAAC,CAczB;AAED;;;GAGG;AACH,wBAAsB,eAAe,CAAC,EACpC,KAAK,GACN,EAAE;IACD,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,aAAa,CAAC,CAkBzB"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { State } from '../../shared/State';
|
|
2
|
+
export type LogSource = 'am-access' | 'am-activity' | 'am-authentication' | 'am-config' | 'am-core' | 'am-everything' | 'environment-access' | 'idm-access' | 'idm-activity' | 'idm-authentication' | 'idm-config' | 'idm-core' | 'idm-recon' | 'idm-sync' | 'idm-everything' | 'ws-activity' | 'ws-config' | 'ws-core' | 'ws-everything';
|
|
3
|
+
export type OtlpExporterType = 'HTTP' | 'GRPC';
|
|
4
|
+
export type OtlpExporterEncoding = 'JSON' | 'PROTO';
|
|
5
|
+
export type OtlpBasicAuth = {
|
|
6
|
+
username: string;
|
|
7
|
+
password: string;
|
|
8
|
+
};
|
|
9
|
+
export type LogExporterSkeleton = {
|
|
10
|
+
id: string;
|
|
11
|
+
endpoint: string;
|
|
12
|
+
sources: string[];
|
|
13
|
+
};
|
|
14
|
+
export type TelemetryExporterCategory = 'otlp' | 'splunk';
|
|
15
|
+
export type OtlpExporterSkeleton = LogExporterSkeleton & {
|
|
16
|
+
type: OtlpExporterType;
|
|
17
|
+
encoding?: OtlpExporterEncoding;
|
|
18
|
+
headers?: Record<string, string>;
|
|
19
|
+
basicAuth?: OtlpBasicAuth;
|
|
20
|
+
};
|
|
21
|
+
export type SplunkExporterSkeleton = LogExporterSkeleton & {
|
|
22
|
+
index?: string;
|
|
23
|
+
token: string;
|
|
24
|
+
};
|
|
25
|
+
export type TelemetryExporters = {
|
|
26
|
+
otlp: OtlpExporterSkeleton[];
|
|
27
|
+
splunk: SplunkExporterSkeleton[];
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Get telemetry exporters
|
|
31
|
+
* @returns {Promise<TelemetryExporters>} promise resolving to telemetry exporters
|
|
32
|
+
*/
|
|
33
|
+
export declare function getTelemetryExporters({ state, }: {
|
|
34
|
+
state: State;
|
|
35
|
+
}): Promise<TelemetryExporters>;
|
|
36
|
+
/**
|
|
37
|
+
* Create or update an OTLP or Splunk log exporter
|
|
38
|
+
* @param {TelemetryExporterCategory} category exporter category ('otlp' or 'splunk')
|
|
39
|
+
* @param {string} exporterId exporter id
|
|
40
|
+
* @param {LogExporterSkeleton} exporterData exporter config, matching type indicated by category
|
|
41
|
+
* @returns {Promise<LogExporterSkeleton>} promise resolving to the created/updated exporter
|
|
42
|
+
*/
|
|
43
|
+
export declare function putTelemetryExporter({ category, exporterId, exporterData, state, }: {
|
|
44
|
+
category: TelemetryExporterCategory;
|
|
45
|
+
exporterId: string;
|
|
46
|
+
exporterData: LogExporterSkeleton;
|
|
47
|
+
state: State;
|
|
48
|
+
}): Promise<LogExporterSkeleton>;
|
|
49
|
+
/**
|
|
50
|
+
* Delete a telemetry exporter
|
|
51
|
+
* @param {TelemetryExporterCategory} category exporter category ('otlp' or 'splunk')
|
|
52
|
+
* @param {string} exporterId exporter id
|
|
53
|
+
* @returns {Promise<LogExporterSkeleton>} promise resolving when the exporter has been deleted
|
|
54
|
+
*/
|
|
55
|
+
export declare function deleteTelemetryExporter({ category, exporterId, state, }: {
|
|
56
|
+
category: TelemetryExporterCategory;
|
|
57
|
+
exporterId: string;
|
|
58
|
+
state: State;
|
|
59
|
+
}): Promise<LogExporterSkeleton>;
|
|
60
|
+
//# sourceMappingURL=TelemetryApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TelemetryApi.d.ts","sourceRoot":"","sources":["../../../src/api/cloud/TelemetryApi.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAY3C,MAAM,MAAM,SAAS,GACjB,WAAW,GACX,aAAa,GACb,mBAAmB,GACnB,WAAW,GACX,SAAS,GACT,eAAe,GACf,oBAAoB,GACpB,YAAY,GACZ,cAAc,GACd,oBAAoB,GACpB,YAAY,GACZ,UAAU,GACV,WAAW,GACX,UAAU,GACV,gBAAgB,GAChB,aAAa,GACb,WAAW,GACX,SAAS,GACT,eAAe,CAAC;AAEpB,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,MAAM,CAAC;AAE/C,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,OAAO,CAAC;AAEpD,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,yBAAyB,GA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letonInterface, PagedResult } from '../ApiTypes';
|
|
3
|
+
/**
|
|
4
|
+
* Variable types
|
|
5
|
+
*
|
|
6
|
+
* @summary
|
|
7
|
+
* You can use the expressionType parameter to set a type when you create an ESV variable.
|
|
8
|
+
* This lets Identity Cloud correctly transform the value of the ESV
|
|
9
|
+
* to match the configuration property type when substituting it into configuration.
|
|
10
|
+
*
|
|
11
|
+
* The type is set when the ESV is created, and cannot be modified after creation.
|
|
12
|
+
* If you do not specify a type, it will default to string.
|
|
13
|
+
*
|
|
14
|
+
* Before the expressionType parameter was introduced, it was only possible to set types
|
|
15
|
+
* from within configuration, using expression level syntax; for example,
|
|
16
|
+
* {"$int": "&{esv.journey.ldap.port|1389}"}.
|
|
17
|
+
* The expressionType parameter supplements this expression level syntax and allows the
|
|
18
|
+
* ESV type to be identified without inspecting configuration.
|
|
19
|
+
*
|
|
20
|
+
* @see
|
|
21
|
+
* {@link https://backstage.forgerock.com/docs/idcloud/latest/tenants/esvs.html#variable_types | ForgeRock Documentation}
|
|
22
|
+
*/
|
|
23
|
+
export type VariableExpressionType = 'array' | 'base64encodedinlined' | 'bool' | 'int' | 'keyvaluelist' | 'list' | 'number' | 'object' | 'string';
|
|
24
|
+
/**
|
|
25
|
+
* Variable object skeleton
|
|
26
|
+
*/
|
|
27
|
+
export type VariableSkeleton = IdObjectSkeletonInterface & {
|
|
28
|
+
valueBase64?: string;
|
|
29
|
+
value?: string;
|
|
30
|
+
description?: string;
|
|
31
|
+
loaded?: boolean;
|
|
32
|
+
lastChangedBy?: string;
|
|
33
|
+
lastChangeDate?: string;
|
|
34
|
+
expressionType?: VariableExpressionType;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* Get all variables
|
|
38
|
+
* @returns {Promise<PagedResult<VariableSkeleton>>} a promise that resolves to an array of variable objects
|
|
39
|
+
*/
|
|
40
|
+
export declare function getVariables({ state, }: {
|
|
41
|
+
state: State;
|
|
42
|
+
}): Promise<PagedResult<VariableSkeleton>>;
|
|
43
|
+
/**
|
|
44
|
+
* Get variable by id/name
|
|
45
|
+
* @param {string} variableId variable id/name
|
|
46
|
+
* @returns {Promise<VariableSkeleton>} a promise that resolves to a variable object
|
|
47
|
+
*/
|
|
48
|
+
export declare function getVariable({ variableId, state, }: {
|
|
49
|
+
variableId: string;
|
|
50
|
+
state: State;
|
|
51
|
+
}): Promise<VariableSkeleton>;
|
|
52
|
+
/**
|
|
53
|
+
* Create or update variable by id/name
|
|
54
|
+
* @param {string} variableId variable id/name
|
|
55
|
+
* @param {string} valueBase64 base64-encoded variable value
|
|
56
|
+
* @param {string} description variable description
|
|
57
|
+
* @returns {Promise<unknown>} a promise that resolves to a variable object
|
|
58
|
+
*/
|
|
59
|
+
export declare function putVariable({ variableId, valueBase64, description, expressionType, state, }: {
|
|
60
|
+
variableId: string;
|
|
61
|
+
valueBase64: string;
|
|
62
|
+
description?: string;
|
|
63
|
+
expressionType?: VariableExpressionType;
|
|
64
|
+
state: State;
|
|
65
|
+
}): Promise<VariableSkeleton>;
|
|
66
|
+
/**
|
|
67
|
+
* Set variable description
|
|
68
|
+
* @param {string} variableId variable id/name
|
|
69
|
+
* @param {string} description variable description
|
|
70
|
+
* @returns {Promise<any>} a promise that resolves to an empty string.
|
|
71
|
+
*/
|
|
72
|
+
export declare function setVariableDescription({ variableId, description, state, }: {
|
|
73
|
+
variableId: string;
|
|
74
|
+
description: string;
|
|
75
|
+
state: State;
|
|
76
|
+
}): Promise<any>;
|
|
77
|
+
/**
|
|
78
|
+
* Delete variable by id/name
|
|
79
|
+
* @param {string} variableId variable id/name
|
|
80
|
+
* @returns {Promise<VariableSkeleton>} a promise that resolves to a variable object
|
|
81
|
+
*/
|
|
82
|
+
export declare function deleteVariable({ variableId, state, }: {
|
|
83
|
+
variableId: string;
|
|
84
|
+
state: State;
|
|
85
|
+
}): Promise<VariableSkeleton>;
|
|
86
|
+
//# sourceMappingURL=VariablesApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VariablesApi.d.ts","sourceRoot":"","sources":["../../../src/api/cloud/VariablesApi.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAE3C,OAAO,EAAE,yBAAyB,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAcrE;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,MAAM,sBAAsB,GAC9B,OAAO,GACP,sBAAsB,GACtB,MAAM,GACN,KAAK,GACL,cAAc,GACd,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,QAAQ,CAAC;AAEb;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,yBAAyB,GAAG;IACzD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,sBAAsB,CAAC;CACzC,CAAC;AAEF;;;GAGG;AACH,wBAAsB,YAAY,CAAC,EACjC,KAAK,GACN,EAAE;IACD,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAAC,CAazC;AAED;;;;GAIG;AACH,wBAAsB,WAAW,CAAC,EAChC,UAAU,EACV,KAAK,GACN,EAAE;IACD,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAc5B;AAED;;;;;;GAMG;AACH,wBAAsB,WAAW,CAAC,EAChC,UAAU,EACV,WAAW,EACX,WAAW,EACX,cAAyB,EACzB,KAAK,GACN,EAAE;IACD,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IAC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