@rockcarver/frodo-lib 4.10.0 → 4.11.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.
- 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,110 @@
|
|
|
1
|
+
import { State } from '../shared/State';
|
|
2
|
+
/**
|
|
3
|
+
* Handles data / messages output. The caller decides and implements how
|
|
4
|
+
* the data and messages are handled, by implementing the handler function
|
|
5
|
+
* on its side. `handler` is optional, and if not included by the caller,
|
|
6
|
+
* the data and messages will be lost.
|
|
7
|
+
*
|
|
8
|
+
* @param {string | unknown} message The string message to return
|
|
9
|
+
* @param {string} [type=text] "text", "info", "warn", "error" or "data". All but
|
|
10
|
+
* type="data" will be written to stderr.
|
|
11
|
+
* @param {boolean} [newline=true] Whether to add a newline at the end of message
|
|
12
|
+
* messages returned
|
|
13
|
+
*/
|
|
14
|
+
export declare function printMessage({ message, type, newline, state, }: {
|
|
15
|
+
message: string | object;
|
|
16
|
+
type?: string;
|
|
17
|
+
newline?: boolean;
|
|
18
|
+
state: State;
|
|
19
|
+
}): void;
|
|
20
|
+
/**
|
|
21
|
+
* Prints an error message from an error object and an optional custom message
|
|
22
|
+
*
|
|
23
|
+
* @param error error object
|
|
24
|
+
*/
|
|
25
|
+
export declare function printError({ error, message, state, }: {
|
|
26
|
+
error: Error;
|
|
27
|
+
message?: string;
|
|
28
|
+
state: State;
|
|
29
|
+
}): void;
|
|
30
|
+
/**
|
|
31
|
+
* Handles verbose output. The caller decides and implements how
|
|
32
|
+
* the messages are handled, by implementing the handler function
|
|
33
|
+
* on its side. Implementing and registering a `handler` is optional.
|
|
34
|
+
*
|
|
35
|
+
* @param {string | unknown} message The verbose output message
|
|
36
|
+
*/
|
|
37
|
+
export declare function verboseMessage({ message, state, }: {
|
|
38
|
+
message: string | object;
|
|
39
|
+
state: State;
|
|
40
|
+
}): void;
|
|
41
|
+
/**
|
|
42
|
+
* Handles debug output. The caller decides and implements how
|
|
43
|
+
* the messages are handled, by implementing the handler function
|
|
44
|
+
* on its side. Implementing and registering a `handler` is optional.
|
|
45
|
+
*
|
|
46
|
+
* @param {string | object} message The debug output message
|
|
47
|
+
*/
|
|
48
|
+
export declare function debugMessage({ message, state, }: {
|
|
49
|
+
message: string | object;
|
|
50
|
+
state: State;
|
|
51
|
+
}): void;
|
|
52
|
+
/**
|
|
53
|
+
* Handles curlirize output. The caller decides and implements how
|
|
54
|
+
* the messages are handled, by implementing the handler function
|
|
55
|
+
* on its side. Implementing and registering a `handler` is optional.
|
|
56
|
+
*
|
|
57
|
+
* @param {string} message The curlirize output message
|
|
58
|
+
*/
|
|
59
|
+
export declare function curlirizeMessage({ message, state, }: {
|
|
60
|
+
message: string;
|
|
61
|
+
state: State;
|
|
62
|
+
}): void;
|
|
63
|
+
export type ProgressIndicatorType = 'determinate' | 'indeterminate';
|
|
64
|
+
/**
|
|
65
|
+
* Calls a callback on client to create a progress indicator.
|
|
66
|
+
* The actual implementation of the indicator is left to the client
|
|
67
|
+
* Two types of indicators are supported:
|
|
68
|
+
* - determinate: should be used when the process completion rate
|
|
69
|
+
* can be detected (example: progress bar showing percentage or count)
|
|
70
|
+
* - indeterminate: used when progress isn’t detectable, or if
|
|
71
|
+
* it’s not necessary to indicate how long an activity will take.
|
|
72
|
+
* (example: spinner showing progress, but not quantifying the progress)
|
|
73
|
+
*
|
|
74
|
+
* Example:
|
|
75
|
+
* [========================================] 100% | 49/49 | Analyzing journey - transactional_auth
|
|
76
|
+
*
|
|
77
|
+
* @param {Number} total The total number of entries to track progress for
|
|
78
|
+
* @param {String} message optional progress bar message
|
|
79
|
+
* @param {String} type optional type of progress indicator. default is 'determinate'
|
|
80
|
+
*
|
|
81
|
+
*/
|
|
82
|
+
export declare function createProgressIndicator({ total, message, type, state, }: {
|
|
83
|
+
total: number;
|
|
84
|
+
message?: string;
|
|
85
|
+
type?: ProgressIndicatorType;
|
|
86
|
+
state: State;
|
|
87
|
+
}): string;
|
|
88
|
+
/**
|
|
89
|
+
* Updates the progress indicator with new data/updated status.
|
|
90
|
+
* @param {string} message optional message to show with the indicator
|
|
91
|
+
*
|
|
92
|
+
*/
|
|
93
|
+
export declare function updateProgressIndicator({ id, message, state, }: {
|
|
94
|
+
id: string;
|
|
95
|
+
message?: string;
|
|
96
|
+
state: State;
|
|
97
|
+
}): void;
|
|
98
|
+
export type ProgressIndicatorStatusType = 'none' | 'success' | 'warn' | 'fail';
|
|
99
|
+
/**
|
|
100
|
+
* Stop and hide the progress indicator
|
|
101
|
+
* @param {string} message optional message to show with the indicator
|
|
102
|
+
* @param {string} status one of 'none', 'success', 'warn', 'fail'
|
|
103
|
+
*/
|
|
104
|
+
export declare function stopProgressIndicator({ id, message, status, state, }: {
|
|
105
|
+
id: string;
|
|
106
|
+
message?: string;
|
|
107
|
+
status?: ProgressIndicatorStatusType;
|
|
108
|
+
state: State;
|
|
109
|
+
}): void;
|
|
110
|
+
//# sourceMappingURL=Console.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Console.d.ts","sourceRoot":"","sources":["../../src/utils/Console.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAExC;;;;;;;;;;;GAWG;AACH,wBAAgB,YAAY,CAAC,EAC3B,OAAO,EACP,IAAa,EACb,OAAc,EACd,KAAK,GACN,EAAE;IACD,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CA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AAC;CACd,QAKA;AAED,MAAM,MAAM,2BAA2B,GAAG,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC;AAE/E;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,EAAE,EACF,OAAc,EACd,MAAe,EACf,KAAK,GACN,EAAE;IACD,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,2BAA2B,CAAC;IACrC,KAAK,EAAE,KAAK,CAAC;CACd,QAKA"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export type FrodoCrypto = {
|
|
2
|
+
/**
|
|
3
|
+
* Parses a private key and returns it as an unencrypted PKCS#8 PEM encoded string
|
|
4
|
+
* Supported private key formats include:
|
|
5
|
+
* - PEM (both PKCS#1 and PKCS#8 variants)
|
|
6
|
+
* - OpenSSH
|
|
7
|
+
* - DNSSEC
|
|
8
|
+
* - JWK
|
|
9
|
+
* @param {string} key The private key
|
|
10
|
+
* @param {string | undefined} passphrase The passphrase for the private key if it is encrypted
|
|
11
|
+
* @param {string | undefined} name The name of the private key (i.e. the name of the file it came from, if applicable); used for error handling
|
|
12
|
+
* @returns {string} The unencrypted PKCS#8 PEM encoded private key
|
|
13
|
+
*/
|
|
14
|
+
convertPrivateKeyToPem(key: string, passphrase?: string, name?: string): string;
|
|
15
|
+
};
|
|
16
|
+
declare const _default: () => FrodoCrypto;
|
|
17
|
+
export default _default;
|
|
18
|
+
/**
|
|
19
|
+
* Parses a private key and returns it as an unencrypted PKCS#8 PEM encoded string
|
|
20
|
+
* Supported private key formats include:
|
|
21
|
+
* - PEM (both PKCS#1 and PKCS#8 variants)
|
|
22
|
+
* - OpenSSH
|
|
23
|
+
* - DNSSEC
|
|
24
|
+
* - JWK
|
|
25
|
+
* @param {string} key The private key
|
|
26
|
+
* @param {string | undefined} passphrase The passphrase for the private key if it is encrypted
|
|
27
|
+
* @param {string | undefined} name The name of the private key (i.e. the name of the file it came from, if applicable); used for error handling
|
|
28
|
+
* @returns {string} The unencrypted PKCS#8 PEM encoded private key
|
|
29
|
+
*/
|
|
30
|
+
export declare function convertPrivateKeyToPem({ key, passphrase, name, }: {
|
|
31
|
+
key: string;
|
|
32
|
+
passphrase?: string;
|
|
33
|
+
name?: string;
|
|
34
|
+
}): string;
|
|
35
|
+
//# sourceMappingURL=CryptoUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CryptoUtils.d.ts","sourceRoot":"","sources":["../../src/utils/CryptoUtils.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,WAAW,GAAG;IACxB;;;;;;;;;;;OAWG;IACH,sBAAsB,CACpB,GAAG,EAAE,MAAM,EACX,UAAU,CAAC,EAAE,MAAM,EACnB,IAAI,CAAC,EAAE,MAAM,GACZ,MAAM,CAAC;CACX,CAAC;8BAEiB,WAAW;AAA9B,wBAUE;AAEF;;;;;;;;;;;GAWG;AACH,wBAAgB,sBAAsB,CAAC,EACrC,GAAG,EACH,UAAU,EACV,IAAI,GACL,EAAE;IACD,GAAG,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,GAAG,MAAM,CAsBT"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { State } from '../shared/State';
|
|
2
|
+
/**
|
|
3
|
+
* Tighten the permissions of the master key file on disk, without deriving
|
|
4
|
+
* or touching a key — for callers that run on every command invocation
|
|
5
|
+
* (e.g. initConnectionProfiles) and want to self-heal a key file left
|
|
6
|
+
* over from an older frodo version, even when this particular command
|
|
7
|
+
* never ends up calling encrypt()/decrypt() (e.g. connection profiles that
|
|
8
|
+
* are already fully migrated, so no secret gets encrypted this run).
|
|
9
|
+
* A no-op if the key comes from FRODO_MASTER_KEY (no file involved) or the
|
|
10
|
+
* file doesn't exist yet (it will be created owner-only on first use).
|
|
11
|
+
* @param {string} pathToMasterKey optional explicit master key path, same as the DataProtection constructor
|
|
12
|
+
*/
|
|
13
|
+
export declare function secureMasterKeyFile(pathToMasterKey?: string): void;
|
|
14
|
+
declare class DataProtection {
|
|
15
|
+
constructor({ pathToMasterKey, sessionKey, state, }: {
|
|
16
|
+
pathToMasterKey?: string;
|
|
17
|
+
sessionKey?: string;
|
|
18
|
+
state: State;
|
|
19
|
+
});
|
|
20
|
+
encrypt(data: any): Promise<any>;
|
|
21
|
+
decrypt(data: any): Promise<any>;
|
|
22
|
+
}
|
|
23
|
+
export default DataProtection;
|
|
24
|
+
//# sourceMappingURL=DataProtection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataProtection.d.ts","sourceRoot":"","sources":["../../src/utils/DataProtection.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAaxC;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CAAC,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CASlE;AAED,cAAM,cAAc;gBACN,EACV,eAA2B,EAC3B,UAAsB,EACtB,KAAK,GACN,EAAE;QACD,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,KAAK,EAAE,KAAK,CAAC;KACd;IAuEK,OAAO,CAAC,IAAI,KAAA;IAQZ,OAAO,CAAC,IAAI,KAAA;CAenB;AACD,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,415 @@
|
|
|
1
|
+
import { Reader } from 'properties-reader';
|
|
2
|
+
import { SearchTargetFilterOperation } from '../api/ApiTypes';
|
|
3
|
+
import { VariableSkeleton } from '../api/cloud/VariablesApi';
|
|
4
|
+
import { EmailTemplateSkeleton } from '../ops/EmailTemplateOps';
|
|
5
|
+
import { FrodoError } from '../ops/FrodoError';
|
|
6
|
+
import { ErrorFilter, ExportMetaData, ResultCallback } from '../ops/OpsTypes';
|
|
7
|
+
import { State } from '../shared/State';
|
|
8
|
+
export type ExportImport = {
|
|
9
|
+
getMetadata(): ExportMetaData;
|
|
10
|
+
titleCase(input: string): string;
|
|
11
|
+
getRealmString(): string;
|
|
12
|
+
convertBase64TextToArray(b64text: string): any[];
|
|
13
|
+
convertBase64UrlTextToArray(b64UTF8Text: string): any[];
|
|
14
|
+
convertTextArrayToBase64(textArray: string[]): string;
|
|
15
|
+
convertTextArrayToBase64Url(textArray: string[]): any;
|
|
16
|
+
validateImport(metadata: any): boolean;
|
|
17
|
+
getTypedFilename(name: string, type: string, suffix?: string): string;
|
|
18
|
+
getWorkingDirectory(mkdirs?: boolean): string;
|
|
19
|
+
getFilePath(fileName: string, mkdirs?: boolean): string;
|
|
20
|
+
readJsonFile(filePath: string | number, resolvePlaceholders?: boolean): object;
|
|
21
|
+
escapePlaceholders(content: object): object;
|
|
22
|
+
unescapePlaceholders(content: string): string;
|
|
23
|
+
/**
|
|
24
|
+
* Save object to file in Frodo export format
|
|
25
|
+
* @param {any} data data object
|
|
26
|
+
* @param {string} identifier key of identifier in the data object
|
|
27
|
+
* @param {string} filename file name
|
|
28
|
+
* @param {boolean} includeMeta true to include metadata, false otherwise. Default: true
|
|
29
|
+
* @param {boolean} keepModifiedProperties true to keep modified properties in the json, otherwise delete them. Default: false
|
|
30
|
+
*/
|
|
31
|
+
saveToFile(type: string, data: object, identifier: string, filename: string, includeMeta?: boolean, keepModifiedProperties?: boolean): void;
|
|
32
|
+
/**
|
|
33
|
+
* Save JSON object to file
|
|
34
|
+
* @param {Object} data data object
|
|
35
|
+
* @param {String} filename file name
|
|
36
|
+
* @param {boolean} includeMeta true to include metadata, false otherwise. Default: true
|
|
37
|
+
* @param {boolean} keepRev keep the _rev key from objects. Default: false
|
|
38
|
+
* @param {boolean} keepModifiedProperties true to keep modified properties in the json, otherwise delete them. Default: false
|
|
39
|
+
* @return {boolean} true if successful, false otherwise
|
|
40
|
+
*/
|
|
41
|
+
saveJsonToFile(data: object, filename: string, includeMeta?: boolean, keepRev?: boolean, keepModifiedProperties?: boolean): boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Save text data to file
|
|
44
|
+
* @param data text data
|
|
45
|
+
* @param filename file name
|
|
46
|
+
* @return true if successful, false otherwise
|
|
47
|
+
*/
|
|
48
|
+
saveTextToFile(data: string, filename: string): boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Append text data to file
|
|
51
|
+
* @param {String} data text data
|
|
52
|
+
* @param {String} filename file name
|
|
53
|
+
*/
|
|
54
|
+
appendTextToFile(data: string, filename: string): void;
|
|
55
|
+
/**
|
|
56
|
+
* Find files by name
|
|
57
|
+
* @param {string} fileName file name to search for
|
|
58
|
+
* @param {boolean} fast return first result and stop search
|
|
59
|
+
* @param {string} path path to directory where to start the search
|
|
60
|
+
* @returns {string[]} array of found file paths relative to starting directory
|
|
61
|
+
*/
|
|
62
|
+
findFilesByName(fileName: string, fast?: boolean, path?: string): string[];
|
|
63
|
+
/**
|
|
64
|
+
* find all (nested) files in a directory
|
|
65
|
+
*
|
|
66
|
+
* @param directory directory to search
|
|
67
|
+
* @returns list of files
|
|
68
|
+
*/
|
|
69
|
+
readFiles(directory: string): Promise<{
|
|
70
|
+
path: string;
|
|
71
|
+
content: string;
|
|
72
|
+
}[]>;
|
|
73
|
+
substituteEnvParams(input: string, reader: Reader): string;
|
|
74
|
+
unSubstituteEnvParams(input: string, reader: Reader): string;
|
|
75
|
+
parseUrl(href: string): any;
|
|
76
|
+
/**
|
|
77
|
+
* Check if a string is a valid URL
|
|
78
|
+
* @param {string} urlString input string to be evaluated
|
|
79
|
+
* @returns {boolean} true if a valid URL, false otherwise
|
|
80
|
+
*/
|
|
81
|
+
isValidUrl(urlString: string): boolean;
|
|
82
|
+
};
|
|
83
|
+
declare const _default: (state: State) => ExportImport;
|
|
84
|
+
export default _default;
|
|
85
|
+
export declare function getMetadata({ state }: {
|
|
86
|
+
state: State;
|
|
87
|
+
}): ExportMetaData;
|
|
88
|
+
export declare function titleCase(input: string): string;
|
|
89
|
+
export declare function getRealmString({ state }: {
|
|
90
|
+
state: State;
|
|
91
|
+
}): string;
|
|
92
|
+
export declare function convertBase64TextToArray(b64text: string): string[];
|
|
93
|
+
export declare function convertBase64UrlTextToArray(b64UTF8Text: string): string[];
|
|
94
|
+
export declare function convertTextArrayToBase64(textArray: string[]): string;
|
|
95
|
+
export declare function convertTextArrayToBase64Url(textArray: string[]): any;
|
|
96
|
+
export declare function validateImport(metadata: any): boolean;
|
|
97
|
+
export declare function getTypedFilename(name: string, type: string, suffix?: string): string;
|
|
98
|
+
export declare function getWorkingDirectory({ mkdirs, state, }: {
|
|
99
|
+
mkdirs: boolean;
|
|
100
|
+
state: State;
|
|
101
|
+
}): string;
|
|
102
|
+
/**
|
|
103
|
+
* Get the file path to a file in the working directory. If working directory does not exist, it will return the fileName as the file path.
|
|
104
|
+
* @param fileName The file name
|
|
105
|
+
* @param mkdirs If directories to working directory don't exist, makes the directories if true, and if false does not make the directories. Default: false
|
|
106
|
+
* @return The file path to the file in the working directory
|
|
107
|
+
*/
|
|
108
|
+
export declare function getFilePath({ fileName, mkdirs, state, }: {
|
|
109
|
+
fileName: string;
|
|
110
|
+
mkdirs: boolean;
|
|
111
|
+
state: State;
|
|
112
|
+
}): string;
|
|
113
|
+
/**
|
|
114
|
+
* Save object to file in Frodo export format
|
|
115
|
+
* @param {any} data data object
|
|
116
|
+
* @param {string} identifier key of identifier in the data object
|
|
117
|
+
* @param {string} filename file name
|
|
118
|
+
* @param {boolean} includeMeta true to include metadata, false otherwise. Default: true
|
|
119
|
+
* @param {boolean} keepModifiedProperties true to keep modified properties in the json, otherwise delete them. Default: false
|
|
120
|
+
*/
|
|
121
|
+
export declare function saveToFile({ type, data, identifier, filename, includeMeta, keepModifiedProperties, state, }: {
|
|
122
|
+
type: string;
|
|
123
|
+
data: object;
|
|
124
|
+
identifier: string;
|
|
125
|
+
filename: string;
|
|
126
|
+
includeMeta?: boolean;
|
|
127
|
+
keepModifiedProperties?: boolean;
|
|
128
|
+
state: State;
|
|
129
|
+
}): void;
|
|
130
|
+
/**
|
|
131
|
+
* Save JSON object to file
|
|
132
|
+
* @param {object} data data object
|
|
133
|
+
* @param {string} filename file name
|
|
134
|
+
* @param {boolean} includeMeta true to include metadata, false otherwise. Default: true
|
|
135
|
+
* @param {boolean} keepRev Keep the _rev key from objects. Default: false
|
|
136
|
+
* @param {boolean} keepModifiedProperties true to keep modified properties in the json, otherwise delete them. Default: false
|
|
137
|
+
* @return {boolean} true if successful, false otherwise
|
|
138
|
+
*/
|
|
139
|
+
export declare function saveJsonToFile({ data, filename, includeMeta, keepRev, keepModifiedProperties, state, }: {
|
|
140
|
+
data: object;
|
|
141
|
+
filename: string;
|
|
142
|
+
includeMeta?: boolean;
|
|
143
|
+
keepRev?: boolean;
|
|
144
|
+
keepModifiedProperties?: boolean;
|
|
145
|
+
state: State;
|
|
146
|
+
}): boolean;
|
|
147
|
+
/**
|
|
148
|
+
* Make sure the directory portion of a file path exists so the file can be
|
|
149
|
+
* created. Best-effort: the caller's own error handling applies if the
|
|
150
|
+
* directory cannot be created (e.g. permission denied).
|
|
151
|
+
* @param {string} filename file name (absolute or relative path)
|
|
152
|
+
*/
|
|
153
|
+
export declare function ensureDirectoryForFile(filename: string): void;
|
|
154
|
+
/**
|
|
155
|
+
* Make sure the directory portion of a file path exists and is only
|
|
156
|
+
* accessible to the owner (0700). Used for directories that hold
|
|
157
|
+
* credentials or other secrets (connection profiles, master key, token
|
|
158
|
+
* cache) so they aren't readable/listable by other local users. `mkdirSync`'s
|
|
159
|
+
* `mode` is subject to the process umask, so the directory is chmod'd
|
|
160
|
+
* afterward as well, which also tightens it up if it already existed with
|
|
161
|
+
* looser permissions from an older frodo version. Best-effort: a chmod
|
|
162
|
+
* failure (e.g. a filesystem that doesn't support Unix permissions) is
|
|
163
|
+
* swallowed, matching ensureDirectoryForFile's best-effort contract.
|
|
164
|
+
* @param {string} filename file name (absolute or relative path)
|
|
165
|
+
*/
|
|
166
|
+
export declare function ensureSecureDirectoryForFile(filename: string): void;
|
|
167
|
+
/**
|
|
168
|
+
* Write a file that holds credentials or other secrets (connection
|
|
169
|
+
* profiles, master key, token cache) with owner-only permissions (0600), so
|
|
170
|
+
* it isn't readable by other local users. Creates the parent directory
|
|
171
|
+
* (also owner-only, see ensureSecureDirectoryForFile) if needed, and
|
|
172
|
+
* chmod's the file after writing so an existing, previously
|
|
173
|
+
* group/world-readable file left over from an older frodo version is
|
|
174
|
+
* tightened up in place rather than only protecting newly created ones.
|
|
175
|
+
* @param {string} filename file name (absolute or relative path)
|
|
176
|
+
* @param {string | NodeJS.ArrayBufferView} data data to write
|
|
177
|
+
*/
|
|
178
|
+
export declare function writeSecureFileSync(filename: string, data: string | NodeJS.ArrayBufferView): void;
|
|
179
|
+
/**
|
|
180
|
+
* Async counterpart to {@link writeSecureFileSync}, for callers already in
|
|
181
|
+
* an async context (e.g. DataProtection's master key bootstrap).
|
|
182
|
+
* @param {string} filename file name (absolute or relative path)
|
|
183
|
+
* @param {string | NodeJS.ArrayBufferView} data data to write
|
|
184
|
+
*/
|
|
185
|
+
export declare function writeSecureFile(filename: string, data: string | NodeJS.ArrayBufferView): Promise<void>;
|
|
186
|
+
/**
|
|
187
|
+
* Tighten the permissions of a credential file (and its containing
|
|
188
|
+
* directory) that already exists and isn't being rewritten on this call
|
|
189
|
+
* path, e.g. the master key or a connection profiles file that's only read,
|
|
190
|
+
* not written, by the current command. Self-heals installs created by an
|
|
191
|
+
* older frodo version that didn't restrict permissions, without requiring
|
|
192
|
+
* the file's content to change. Best-effort and silent: called from hot,
|
|
193
|
+
* read-only paths (every command touches the master key), so a permission
|
|
194
|
+
* error here must never surface as a command failure.
|
|
195
|
+
* @param {string} filename file name (absolute or relative path)
|
|
196
|
+
*/
|
|
197
|
+
export declare function secureExistingFileSync(filename: string): void;
|
|
198
|
+
/**
|
|
199
|
+
* Save text data to file
|
|
200
|
+
* @param data text data
|
|
201
|
+
* @param filename file name
|
|
202
|
+
* @return true if successful, false otherwise
|
|
203
|
+
*/
|
|
204
|
+
export declare function saveTextToFile({ data, filename, state, }: {
|
|
205
|
+
data: string;
|
|
206
|
+
filename: string;
|
|
207
|
+
state: State;
|
|
208
|
+
}): boolean;
|
|
209
|
+
/**
|
|
210
|
+
* Append text data to file
|
|
211
|
+
* @param {string} data text data
|
|
212
|
+
* @param {string} filename file name
|
|
213
|
+
*/
|
|
214
|
+
export declare function appendTextToFile(data: string, filename: string): void;
|
|
215
|
+
/**
|
|
216
|
+
* Find files by name
|
|
217
|
+
* @param {string} fileName file name to search for
|
|
218
|
+
* @param {boolean} fast return first result and stop search
|
|
219
|
+
* @param {string} path path to directory where to start the search
|
|
220
|
+
* @returns {string[]} array of found file paths relative to starting directory
|
|
221
|
+
*/
|
|
222
|
+
export declare function findFilesByName(fileName: string, fast?: boolean, path?: string): string[];
|
|
223
|
+
/**
|
|
224
|
+
* find all (nested) files in a directory
|
|
225
|
+
*
|
|
226
|
+
* @param directory directory to search
|
|
227
|
+
* @returns list of files
|
|
228
|
+
*/
|
|
229
|
+
export declare function readFiles(directory: string): Promise<{
|
|
230
|
+
path: string;
|
|
231
|
+
content: string;
|
|
232
|
+
}[]>;
|
|
233
|
+
/**
|
|
234
|
+
* Reads a JSON file and resolves any environment placeholders.
|
|
235
|
+
* @param {string | number} filePath path or file descriptor to the JSON file
|
|
236
|
+
* @param {boolean} resolvePlaceholders optional boolen to ignore placeholders
|
|
237
|
+
* @returns {object} the parsed JSON with placeholders resolved
|
|
238
|
+
*/
|
|
239
|
+
export declare function readJsonFile({ filePath, resolvePlaceholders, state, }: {
|
|
240
|
+
filePath: string | number;
|
|
241
|
+
resolvePlaceholders?: boolean;
|
|
242
|
+
state: State;
|
|
243
|
+
}): object;
|
|
244
|
+
/**
|
|
245
|
+
* Replace environment placeholders with their resolved values.
|
|
246
|
+
* @param {string} content the raw file content to resolve placeholders in
|
|
247
|
+
* @returns {string} the content with all placeholders resolved and escaped placeholders unescaped
|
|
248
|
+
*/
|
|
249
|
+
export declare function replaceEnvSpecificValues({ content, state, }: {
|
|
250
|
+
content: string;
|
|
251
|
+
state: State;
|
|
252
|
+
}): string;
|
|
253
|
+
/**
|
|
254
|
+
* Escape any placeholders so they are not resolved as environment placeholders
|
|
255
|
+
*
|
|
256
|
+
* @param {object} content the object to escape placeholders in
|
|
257
|
+
* @returns {object} a new object with all `${` sequences escaped
|
|
258
|
+
*/
|
|
259
|
+
export declare function escapePlaceholders(content: object): object;
|
|
260
|
+
/**
|
|
261
|
+
* Unescape any escaped placeholders back to their original form
|
|
262
|
+
|
|
263
|
+
* @param {string} content the raw content to unescape
|
|
264
|
+
* @returns {string} the content with all escaped placeholders restored
|
|
265
|
+
*/
|
|
266
|
+
export declare function unescapePlaceholders(content: string): string;
|
|
267
|
+
export declare function substituteEnvParams(input: string, reader: Reader): string;
|
|
268
|
+
export declare function unSubstituteEnvParams(input: string, reader: Reader): string;
|
|
269
|
+
export declare function parseUrl(href: string): any;
|
|
270
|
+
/**
|
|
271
|
+
* Check if a string is a valid URL
|
|
272
|
+
* @param {string} urlString input string to be evaluated
|
|
273
|
+
* @returns {boolean} true if a valid URL, false otherwise
|
|
274
|
+
*/
|
|
275
|
+
export declare function isValidUrl(urlString: string): boolean;
|
|
276
|
+
/**
|
|
277
|
+
* Performs an export given a function with its parameters with custom error handling that will just print the error if one is thrown and return null.
|
|
278
|
+
* @param func The export function.
|
|
279
|
+
* @param parameters The parameters to call the export function with. By default, it is { state }.
|
|
280
|
+
* @param type The type (plural) of the entities being imported
|
|
281
|
+
* @param {ResultCallback} resultCallback Optional callback to process individual results
|
|
282
|
+
* @param perform Performs and returns the export if true, otherwise returns null. Default: true
|
|
283
|
+
* @returns {Promise<R | null>} Returns the result of the export function, or null if an error is thrown or perform is false
|
|
284
|
+
*/
|
|
285
|
+
export declare function exportWithErrorHandling<P extends {
|
|
286
|
+
state: State;
|
|
287
|
+
}, R>(func: (params: P) => Promise<R>, parameters: P, type: string, resultCallback?: any, perform?: boolean): Promise<R | null>;
|
|
288
|
+
/**
|
|
289
|
+
* Performs an import given a function with its parameters with custom error handling that will just print the error if one is thrown and return null.
|
|
290
|
+
* @param func The import function.
|
|
291
|
+
* @param parameters The parameters to call the import function with. By default, it is { state }.
|
|
292
|
+
* @param id Indicator id for the progress indicator
|
|
293
|
+
* @param type The type (plural) of the entities being imported
|
|
294
|
+
* @param {ResultCallback} resultCallback Optional callback to process individual results
|
|
295
|
+
* @param perform Performs and returns the export if true, otherwise returns null. Default: true
|
|
296
|
+
* @returns {Promise<R | null>} Returns the result of the import function, or null if an error is thrown
|
|
297
|
+
*/
|
|
298
|
+
export declare function importWithErrorHandling<P extends {
|
|
299
|
+
state: State;
|
|
300
|
+
}, R>(func: (params: P) => Promise<R>, parameters: P, id: string, type: string, resultCallback?: any, perform?: boolean): Promise<R | null>;
|
|
301
|
+
/**
|
|
302
|
+
* Helper that calls a function expecting a result, and handles that result in the given result callback if it exists
|
|
303
|
+
* @param {ResultCallback<R> | undefined} resultCallback The result callback
|
|
304
|
+
* @param {string} errorMessage The error message to associate with the error if one occurs
|
|
305
|
+
* @param {(...params: any) => Promise<R | null>} func The function to call to get the result
|
|
306
|
+
* @param {any} parameters The parameters for the function
|
|
307
|
+
* @returns {R | null} The result of calling the function, or null if an error occurs that is handled by the resultCallback
|
|
308
|
+
*/
|
|
309
|
+
export declare function getResult<R>(resultCallback: ResultCallback<R> | undefined, errorMessage: string, func: (...params: any) => Promise<R | null>, ...parameters: any): Promise<R | null>;
|
|
310
|
+
/**
|
|
311
|
+
* Transforms a ResultCallback into another ResultCallback that handles only errors and ignores results.
|
|
312
|
+
* @param resultCallback The result callback function
|
|
313
|
+
* @param errorFilter Filter that returns true when the error should be handled, false otherwise
|
|
314
|
+
* @returns The new result callback function that handles only errors
|
|
315
|
+
*/
|
|
316
|
+
export declare function getErrorCallback<T, R>(resultCallback: ResultCallback<T>, errorFilter?: ErrorFilter): ResultCallback<R>;
|
|
317
|
+
/**
|
|
318
|
+
* Helper that does an API GET search on an IGA endpoint, and returns all results across all pages.
|
|
319
|
+
* @param {string} url The full url string to the endpoint to search on (e.g. 'https://<tenant-host>/iga/governance/requestTypes')
|
|
320
|
+
* @param {number} pageSize Optional pageSize at which to query the results. Smaller page sizes will result in more API requests to get all results.
|
|
321
|
+
* Default is 10000, which seems to be the max amount (any higher and no results will be returned from the API).
|
|
322
|
+
* @param {string} queryFilter Optional filter to use when searching the results. No filter provided will result in returning all results.
|
|
323
|
+
* @param {string[]} fields Optional fields array to specify which fields to return. No fields provided will result in returning all fields.
|
|
324
|
+
* @param {State} state The library state
|
|
325
|
+
* @returns An array of all search results
|
|
326
|
+
*/
|
|
327
|
+
export declare function getApiSearchAll<T>({ url, pageSize, queryFilter, fields, state, }: {
|
|
328
|
+
url: string;
|
|
329
|
+
pageSize?: number;
|
|
330
|
+
queryFilter?: string;
|
|
331
|
+
fields?: string[];
|
|
332
|
+
state: State;
|
|
333
|
+
}): Promise<T[]>;
|
|
334
|
+
/**
|
|
335
|
+
* Helper that does an API POST search on an IGA endpoint, and returns all results across all pages.
|
|
336
|
+
* @param {string} url The full url string to the endpoint to search on (e.g. 'https://<tenant-host>/iga/commons/glossary/schema/search')
|
|
337
|
+
* @param {number} pageSize Optional pageSize at which to query the results. Smaller page sizes will result in more API requests to get all results.
|
|
338
|
+
* Default is 10000, which seems to be the max amount (any higher and no results will be returned from the API).
|
|
339
|
+
* @param {SearchTargetFilterOperation} targetFilter Optional filter to use when searching the results. No filter provided will result in returning all results.
|
|
340
|
+
* @param {State} state The library state
|
|
341
|
+
* @returns An array of all search results
|
|
342
|
+
*/
|
|
343
|
+
export declare function postApiSearchAll<T>({ url, pageSize, targetFilter, state, }: {
|
|
344
|
+
url: string;
|
|
345
|
+
pageSize?: number;
|
|
346
|
+
targetFilter?: SearchTargetFilterOperation;
|
|
347
|
+
state: State;
|
|
348
|
+
}): Promise<T[]>;
|
|
349
|
+
export declare function governanceApiSearchAll<T>({ url, method, pageOffsetStrategy, pageSize, body, queryParamBuilder, state, }: {
|
|
350
|
+
url: string;
|
|
351
|
+
method?: 'GET' | 'POST';
|
|
352
|
+
pageOffsetStrategy?: 'RESULT' | 'PAGE';
|
|
353
|
+
pageSize?: number;
|
|
354
|
+
body?: any;
|
|
355
|
+
queryParamBuilder?: (pageSize: number, offset: number) => string;
|
|
356
|
+
state: any;
|
|
357
|
+
}): Promise<T[]>;
|
|
358
|
+
/**
|
|
359
|
+
* Transforms any script found in the object or its children that is a string into an array
|
|
360
|
+
*
|
|
361
|
+
* @param {any} obj The object to update the scripts for
|
|
362
|
+
*/
|
|
363
|
+
export declare function transformScriptStringsToArrays(obj: any): void;
|
|
364
|
+
/**
|
|
365
|
+
* Transforms any script found in the object or its children that is an array into a string
|
|
366
|
+
*
|
|
367
|
+
* @param {any} obj The object to update the scripts for
|
|
368
|
+
*/
|
|
369
|
+
export declare function transformScriptArraysToStrings(obj: any): void;
|
|
370
|
+
/**
|
|
371
|
+
* Helper to get email template dependencies from an IGA object
|
|
372
|
+
*
|
|
373
|
+
* @param {any} obj The object to get email dependencies from
|
|
374
|
+
* @param {Record<string, VariableSkeleton>} variables The variable object that caches resolved variables
|
|
375
|
+
* @param {FrodoError[]} errors the errors encountered while getting the dependencies
|
|
376
|
+
* @returns {EmailTemplateSkeleton[]} The array of email template dependencies
|
|
377
|
+
*/
|
|
378
|
+
export declare function getIGANotificationEmailTemplateDependencies(obj: any, variables: Record<string, VariableSkeleton>, errors: FrodoError[], state: State): Promise<EmailTemplateSkeleton[]>;
|
|
379
|
+
/**
|
|
380
|
+
* Helper that runs Promise.allSettled() on the promises and returns the lists of fulfilled and rejected promises
|
|
381
|
+
* @param {Promise<T>[]} promises Array of promises to settle.
|
|
382
|
+
* @param {FrodoError[]} errors Array of rejected promise errors.
|
|
383
|
+
* @returns {Promise<T[]>} Array of fulfilled promise values
|
|
384
|
+
*/
|
|
385
|
+
export declare function settlePromises<T>(promises: Promise<T>[], errors?: FrodoError[]): Promise<T[]>;
|
|
386
|
+
/**
|
|
387
|
+
* Helper to iterate through all objects recursively within the given object
|
|
388
|
+
*
|
|
389
|
+
* @param {any} obj the object to iterate through
|
|
390
|
+
* @param {Record<string, any>} objOp the function to run on each object
|
|
391
|
+
*/
|
|
392
|
+
export declare function objectRecurse(obj: any, objOp: (obj: Record<string, any>) => void): void;
|
|
393
|
+
/**
|
|
394
|
+
* Helper that handles updating a remote entity if there have been changes
|
|
395
|
+
* @param {string} type The type of data being updated (used for verbose messaging)
|
|
396
|
+
* @param {() => Promise<T>} updateFn The function that updates the remote entity
|
|
397
|
+
* @param {T} data If state.getForceUpdate() is false and readFn is provided, compares this data with the remote data to determine if update is needed
|
|
398
|
+
* @param {() => Promise<T>} readFn optional function that reads in the remote entity for comparison (if state.getForceUpdate() is false); if not provided, will just attempt to update (and create if createFn is provided)
|
|
399
|
+
* @param {() => Promise<T>} createFn optional function that creates the remote entity if update fails; if not provided, will just throw the update error
|
|
400
|
+
* @param {(e: any) => boolean} notFoundCheck function that checks whether the error thrown during an update is a "not found" error (true if so, false for any other error); defaults to {@link isNotFoundError}, which recognizes a plain HTTP 404 as well as one wrapped inside a `FrodoError` chain. Only a confirmed "not found" falls through to createFn (if provided) -- any other error (a validation failure, a permission error, a network error, ...) is thrown as-is rather than papered over with a create attempt that would itself fail confusingly (e.g. a 409 "already exists" that hides the real cause).
|
|
401
|
+
* @param {string[]} ignoreAttributes attributes to ignore during remote comparison in addition to the usual ones (e.g. _rev, _id) that automatically get ignored
|
|
402
|
+
* @param {State} state The library state
|
|
403
|
+
* @returns {T | null} the updated object, or null if no update was made
|
|
404
|
+
*/
|
|
405
|
+
export declare function updateRemote<T extends object>({ type, updateFn, data, readFn, createFn, notFoundCheck, ignoreAttributes, state, }: {
|
|
406
|
+
type: string;
|
|
407
|
+
updateFn: () => Promise<T>;
|
|
408
|
+
data?: T;
|
|
409
|
+
readFn?: () => Promise<T>;
|
|
410
|
+
createFn?: () => Promise<T>;
|
|
411
|
+
notFoundCheck?: (e: any) => boolean;
|
|
412
|
+
ignoreAttributes?: string[];
|
|
413
|
+
state: State;
|
|
414
|
+
}): Promise<T | null>;
|
|
415
|
+
//# sourceMappingURL=ExportImportUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExportImportUtils.d.ts","sourceRoot":"","sources":["../../src/utils/ExportImportUtils.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE3C,OAAO,EAAgB,2BAA2B,EAAE,MAAM,iBAAiB,CAAC;AAE5E,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAE7D,OAAO,EACL,qBAAqB,EAEtB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,UAAU,EAAmB,MAAM,mBAAmB,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAG9E,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAexC,MAAM,MAAM,YAAY,GAAG;IACzB,WAAW,IAAI,cAAc,CAAC;IAC9B,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACjC,cAAc,IAAI,MAAM,CAAC;IACzB,wBAAwB,CAAC,OAAO,EAAE,MAAM,GAAG,GAAG,EAAE,CAAC;IACjD,2BAA2B,CAAC,WAAW,EAAE,MAAM,GAAG,GAAG,EAAE,CAAC;IACxD,wBAAwB,CAAC,SAAS,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;IACtD,2BAA2B,CAAC,SAAS,EAAE,MAAM,EAAE,GAAG,GAAG,CAAC;IACtD,cAAc,CAAC,QAAQ,EAAE,GAAG,GAAG,OAAO,CAAC;IACvC,gBAAgB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACtE,mBAAmB,CAAC,MAAM,CAAC,EAAE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