@rockcarver/frodo-lib 4.10.0-1 → 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,111 @@
|
|
|
1
|
+
import { IdObjectSkeletonInterface, PatchOperationInterface } from '../../api/ApiTypes';
|
|
2
|
+
import { State } from '../../shared/State';
|
|
3
|
+
/**
|
|
4
|
+
* Shared relationship-CRUD implementation for managed objects and managed
|
|
5
|
+
* system objects. Both kinds of objects address relationship targets
|
|
6
|
+
* identically (always under the managed/ collection) and only differ in
|
|
7
|
+
* which read/patch primitive fetches or mutates the underlying object, so
|
|
8
|
+
* that difference is injected as readObject/updateProperties rather than
|
|
9
|
+
* duplicating this logic per object kind.
|
|
10
|
+
*/
|
|
11
|
+
/** A relationship target: the managed object type and id it points to, without any of the underlying _ref plumbing. */
|
|
12
|
+
export type RelationshipTarget = {
|
|
13
|
+
type: string;
|
|
14
|
+
id: string;
|
|
15
|
+
};
|
|
16
|
+
type ReadObjectFn = (args: {
|
|
17
|
+
type: string;
|
|
18
|
+
id: string;
|
|
19
|
+
fields: string[];
|
|
20
|
+
state: State;
|
|
21
|
+
}) => Promise<IdObjectSkeletonInterface>;
|
|
22
|
+
type UpdatePropertiesFn = (args: {
|
|
23
|
+
type: string;
|
|
24
|
+
id: string;
|
|
25
|
+
operations: PatchOperationInterface[];
|
|
26
|
+
rev?: string;
|
|
27
|
+
state: State;
|
|
28
|
+
}) => Promise<IdObjectSkeletonInterface>;
|
|
29
|
+
/**
|
|
30
|
+
* Reads the current value of a relationship field directly off the object —
|
|
31
|
+
* the forward direction (e.g. an alpha_user's own `manager` or `roles`
|
|
32
|
+
* field). For the reverse direction (e.g. an alpha_role's members), use
|
|
33
|
+
* queryRelatedManagedObjects/queryRelatedManagedSystemObjects instead;
|
|
34
|
+
* reverse relationships aren't stored as a field on the object at all, so
|
|
35
|
+
* there's nothing here to read.
|
|
36
|
+
*/
|
|
37
|
+
export declare function readRelationshipImpl({ type, id, field, state, readObject, }: {
|
|
38
|
+
type: string;
|
|
39
|
+
id: string;
|
|
40
|
+
field: string;
|
|
41
|
+
state: State;
|
|
42
|
+
readObject: ReadObjectFn;
|
|
43
|
+
}): Promise<unknown>;
|
|
44
|
+
/**
|
|
45
|
+
* Adds one target to a many-valued relationship field without disturbing
|
|
46
|
+
* any existing members — the safe way to "add a member" (use
|
|
47
|
+
* replaceRelationshipImpl instead only when you actually mean to overwrite
|
|
48
|
+
* the whole field).
|
|
49
|
+
*
|
|
50
|
+
* @remarks
|
|
51
|
+
* Uses the exact request shape captured from AIC's own admin UI performing
|
|
52
|
+
* this action and verified live: field addressed as `/field/-` (JSON
|
|
53
|
+
* Pointer append-to-array syntax, RFC 6902) with a bare (not array-wrapped)
|
|
54
|
+
* { _ref, _refProperties: {} } value — not the field's own resourceCollection
|
|
55
|
+
* fields.
|
|
56
|
+
*/
|
|
57
|
+
export declare function addRelationshipImpl({ type, id, field, target, rev, state, updateProperties, }: {
|
|
58
|
+
type: string;
|
|
59
|
+
id: string;
|
|
60
|
+
field: string;
|
|
61
|
+
target: RelationshipTarget;
|
|
62
|
+
rev?: string;
|
|
63
|
+
state: State;
|
|
64
|
+
updateProperties: UpdatePropertiesFn;
|
|
65
|
+
}): Promise<IdObjectSkeletonInterface>;
|
|
66
|
+
/**
|
|
67
|
+
* Removes one target from a many-valued relationship field without
|
|
68
|
+
* disturbing any other members.
|
|
69
|
+
*
|
|
70
|
+
* @remarks
|
|
71
|
+
* Reads the field's current value first to find the exact stored element,
|
|
72
|
+
* then removes that exact object (not array-wrapped) — the request shape
|
|
73
|
+
* captured directly from AIC's own admin UI performing this action and
|
|
74
|
+
* verified live. Two things this gets exactly right that a naively-built
|
|
75
|
+
* request gets wrong: the value must be the object matching what's
|
|
76
|
+
* actually stored, _refProperties (an internal id/rev IDM itself generates
|
|
77
|
+
* for the relationship, distinct from the referenced object's own id)
|
|
78
|
+
* included — a freshly-built ref without it doesn't match and the request
|
|
79
|
+
* is silently ignored; and unlike "add" (which needs its value array-
|
|
80
|
+
* wrapped), "remove" needs a bare object, not an array containing one.
|
|
81
|
+
* Throws if the target isn't currently a member, rather than silently
|
|
82
|
+
* doing nothing the way a raw PATCH with a non-matching value would.
|
|
83
|
+
*/
|
|
84
|
+
export declare function removeRelationshipImpl({ type, id, field, target, rev, state, readObject, updateProperties, }: {
|
|
85
|
+
type: string;
|
|
86
|
+
id: string;
|
|
87
|
+
field: string;
|
|
88
|
+
target: RelationshipTarget;
|
|
89
|
+
rev?: string;
|
|
90
|
+
state: State;
|
|
91
|
+
readObject: ReadObjectFn;
|
|
92
|
+
updateProperties: UpdatePropertiesFn;
|
|
93
|
+
}): Promise<IdObjectSkeletonInterface>;
|
|
94
|
+
/**
|
|
95
|
+
* Replaces the entire value of a relationship field: a single target (or
|
|
96
|
+
* null to clear it) for a single-valued field like 'manager', or an array
|
|
97
|
+
* of targets for a many-valued field like 'roles' — replacing the whole
|
|
98
|
+
* array, not adding to it. Use addRelationshipImpl/removeRelationshipImpl
|
|
99
|
+
* instead when you only want to change one member of a many-valued field.
|
|
100
|
+
*/
|
|
101
|
+
export declare function replaceRelationshipImpl({ type, id, field, target, rev, state, updateProperties, }: {
|
|
102
|
+
type: string;
|
|
103
|
+
id: string;
|
|
104
|
+
field: string;
|
|
105
|
+
target: RelationshipTarget | RelationshipTarget[] | null;
|
|
106
|
+
rev?: string;
|
|
107
|
+
state: State;
|
|
108
|
+
updateProperties: UpdatePropertiesFn;
|
|
109
|
+
}): Promise<IdObjectSkeletonInterface>;
|
|
110
|
+
export {};
|
|
111
|
+
//# sourceMappingURL=RelationshipHelpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RelationshipHelpers.d.ts","sourceRoot":"","sources":["../../../src/ops/internal/RelationshipHelpers.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAG3C;;;;;;;GAOG;AAEH,uHAAuH;AACvH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,KAAK,YAAY,GAAG,CAAC,IAAI,EAAE;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,KAAK,EAAE,KAAK,CAAC;CACd,KAAK,OAAO,CAAC,yBAAyB,CAAC,CAAC;AAEzC,KAAK,kBAAkB,GAAG,CAAC,IAAI,EAAE;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,uBAAuB,EAAE,CAAC;IACtC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,KAAK,CAAC;CACd,KAAK,OAAO,CAAC,yBAAyB,CAAC,CAAC;AAmDzC;;;;;;;GAOG;AACH,wBAAsB,oBAAoB,CAAC,EACzC,IAAI,EACJ,EAAE,EACF,KAAK,EACL,KAAK,EACL,UAAU,GACX,EAAE;IACD,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,KAAK,CAAC;IACb,UAAU,EAAE,YAAY,CAAC;CAC1B,GAAG,OAAO,CAAC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K,CAAC;IACb,gBAAgB,EAAE,kBAAkB,CAAC;CACtC,GAAG,OAAO,CAAC,yBAAyB,CAAC,CAoBrC"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { GlossaryObjectType } from '../api/cloud/iga/IgaGlossaryApi';
|
|
2
|
+
export type Constants = {
|
|
3
|
+
DEFAULT_REALM_KEY: string;
|
|
4
|
+
CLASSIC_DEPLOYMENT_TYPE_KEY: string;
|
|
5
|
+
CLOUD_DEPLOYMENT_TYPE_KEY: string;
|
|
6
|
+
FORGEOPS_DEPLOYMENT_TYPE_KEY: string;
|
|
7
|
+
DEPLOYMENT_TYPES: string[];
|
|
8
|
+
DEPLOYMENT_TYPE_REALM_MAP: {
|
|
9
|
+
classic: string;
|
|
10
|
+
cloud: string;
|
|
11
|
+
forgeops: string;
|
|
12
|
+
};
|
|
13
|
+
FRODO_METADATA_ID: string;
|
|
14
|
+
FRODO_CONNECTION_PROFILES_PATH_KEY: string;
|
|
15
|
+
FRODO_MASTER_KEY_PATH_KEY: string;
|
|
16
|
+
FRODO_MASTER_KEY_KEY: string;
|
|
17
|
+
GLOSSARY_APPLICATION_OBJECT_TYPE: GlossaryObjectType;
|
|
18
|
+
GLOSSARY_ENTITLEMENT_OBJECT_TYPE: GlossaryObjectType;
|
|
19
|
+
GLOSSARY_ROLE_OBJECT_TYPE: GlossaryObjectType;
|
|
20
|
+
AVAILABLE_SCOPES: Record<string, string>;
|
|
21
|
+
CLOUD_BROWSER_MODE_AVAILABLE_SCOPES: string[];
|
|
22
|
+
TOKEN_FRESHNESS_BUFFER_MS: number;
|
|
23
|
+
RETRY_NOTHING_KEY: string;
|
|
24
|
+
RETRY_EVERYTHING_KEY: string;
|
|
25
|
+
RETRY_NETWORK_KEY: string;
|
|
26
|
+
RETRY_STRATEGIES: string[];
|
|
27
|
+
};
|
|
28
|
+
declare const _default: {
|
|
29
|
+
DEFAULT_REALM_KEY: string;
|
|
30
|
+
CLASSIC_DEPLOYMENT_TYPE_KEY: string;
|
|
31
|
+
CLOUD_DEPLOYMENT_TYPE_KEY: string;
|
|
32
|
+
FORGEOPS_DEPLOYMENT_TYPE_KEY: string;
|
|
33
|
+
DEPLOYMENT_TYPES: string[];
|
|
34
|
+
DEPLOYMENT_TYPE_REALM_MAP: {
|
|
35
|
+
classic: string;
|
|
36
|
+
cloud: string;
|
|
37
|
+
forgeops: string;
|
|
38
|
+
};
|
|
39
|
+
DEFAULT_AMSTER_SERVICE: string;
|
|
40
|
+
DEFAULT_CLASSIC_USERNAME: string;
|
|
41
|
+
FRODO_METADATA_ID: string;
|
|
42
|
+
FRODO_CONNECTION_PROFILES_PATH_KEY: string;
|
|
43
|
+
FRODO_MASTER_KEY_PATH_KEY: string;
|
|
44
|
+
FRODO_MASTER_KEY_KEY: string;
|
|
45
|
+
FRODO_TOKEN_CACHE_PATH_KEY: string;
|
|
46
|
+
GLOSSARY_APPLICATION_OBJECT_TYPE: "/openidm/managed/application";
|
|
47
|
+
GLOSSARY_ENTITLEMENT_OBJECT_TYPE: "/openidm/managed/assignment";
|
|
48
|
+
GLOSSARY_ROLE_OBJECT_TYPE: "/openidm/managed/role";
|
|
49
|
+
AVAILABLE_SCOPES: {
|
|
50
|
+
AMIntrospectRealmTokenScope: string;
|
|
51
|
+
AMIntrospectAllTokens: string;
|
|
52
|
+
AMIntrospectAllTokensAnyRealm: string;
|
|
53
|
+
OpenIdScope: string;
|
|
54
|
+
ProfileScope: string;
|
|
55
|
+
AmFullScope: string;
|
|
56
|
+
AutoAccessFullScope: string;
|
|
57
|
+
AnalyticsFullScope: string;
|
|
58
|
+
DirectConfigurationSessionFullScope: string;
|
|
59
|
+
DirectConfigurationSessionReadScope: string;
|
|
60
|
+
CertificateFullScope: string;
|
|
61
|
+
CertificateReadScope: string;
|
|
62
|
+
ContentSecurityPolicyFullScope: string;
|
|
63
|
+
ContentSecurityPolicyReadScope: string;
|
|
64
|
+
CookieDomainsFullScope: string;
|
|
65
|
+
CookieDomainsReadScope: string;
|
|
66
|
+
CustomDomainFullScope: string;
|
|
67
|
+
CustomDomainReadScope: string;
|
|
68
|
+
DatasetDeletionFullScope: string;
|
|
69
|
+
DatasetDeletionReadScope: string;
|
|
70
|
+
ESVFullScope: string;
|
|
71
|
+
ESVReadScope: string;
|
|
72
|
+
ESVUpdateScope: string;
|
|
73
|
+
ESVRestartScope: string;
|
|
74
|
+
AdminFederationFullScope: string;
|
|
75
|
+
AdminFederationReadScope: string;
|
|
76
|
+
MTLSFullScope: string;
|
|
77
|
+
PromotionScope: string;
|
|
78
|
+
PromotionReadScope: string;
|
|
79
|
+
ProxyConnectFullScope: string;
|
|
80
|
+
ProxyConnectReadScope: string;
|
|
81
|
+
ProxyConnectWriteScope: string;
|
|
82
|
+
ReleaseFullScope: string;
|
|
83
|
+
ReleaseReadScope: string;
|
|
84
|
+
TelemetryFullScope: string;
|
|
85
|
+
TelemetryReadScope: string;
|
|
86
|
+
SSOCookieFullScope: string;
|
|
87
|
+
SSOCookieReadScope: string;
|
|
88
|
+
WSFedAdminScope: string;
|
|
89
|
+
IdmFullScope: string;
|
|
90
|
+
IGAFullScope: string;
|
|
91
|
+
};
|
|
92
|
+
CLOUD_BROWSER_MODE_AVAILABLE_SCOPES: string[];
|
|
93
|
+
TOKEN_FRESHNESS_BUFFER_MS: number;
|
|
94
|
+
RETRY_NOTHING_KEY: string;
|
|
95
|
+
RETRY_EVERYTHING_KEY: string;
|
|
96
|
+
RETRY_NETWORK_KEY: string;
|
|
97
|
+
RETRY_STRATEGIES: string[];
|
|
98
|
+
};
|
|
99
|
+
export default _default;
|
|
100
|
+
//# sourceMappingURL=Constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Constants.d.ts","sourceRoot":"","sources":["../../src/shared/Constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,SAAS,GAAG;IACtB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,2BAA2B,EAAE,MAAM,CAAC;IACpC,yBAAyB,EAAE,MAAM,CAAC;IAClC,4BAA4B,EAAE,MAAM,CAAC;IACrC,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAC3B,yBAAyB,EAAE;QACzB,OAAO,EAAE,MAAM,CAAC;QAChB,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,iBAAiB,EAAE,MAAM,CAAC;IAC1B,kCAAkC,EAAE,MAAM,CAAC;IAC3C,yBAAyB,EAAE,MAAM,CAAC;IAClC,oBAAoB,EAAE,MAAM,CAAC;IAC7B,gCAAgC,EAAE,kBAAkB,CAAC;IACrD,gCAAgC,EAAE,kBAAkB,CAAC;IACrD,yBAAyB,EAAE,kBAAkB,CAAC;IAC9C,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACzC,mCAAmC,EAAE,MAAM,EAAE,CAAC;IAC9C,yBAAyB,EAAE,MAAM,CAAC;IAClC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,gBAAgB,EAAE,MAAM,EAAE,CAAC;CAC5B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyIF,wBAwBE"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Canonical, deployment- and consumer-agnostic classification of what kind
|
|
3
|
+
* of operation a frodo-lib ops-layer function performs.
|
|
4
|
+
*
|
|
5
|
+
* @remarks
|
|
6
|
+
* This lives in `shared/` (core library, no dependency on `mcp/`) precisely
|
|
7
|
+
* so that both ordinary ops modules (e.g. each module's `getRequiredScopes()`
|
|
8
|
+
* — see `ops/RequiredScopesOps.ts`) and the MCP capability layer
|
|
9
|
+
* (`mcp/CapabilityTypes.ts`'s `McpCapabilityOperationType`, which is a type
|
|
10
|
+
* alias of this one) can share one vocabulary. Core library code must never
|
|
11
|
+
* import from `mcp/` — dependencies only ever flow the other way.
|
|
12
|
+
*/
|
|
13
|
+
export type OperationType = 'create' | 'count' | 'read' | 'update' | 'delete' | 'search' | 'list' | 'export' | 'import' | 'special';
|
|
14
|
+
//# sourceMappingURL=OperationType.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OperationType.d.ts","sourceRoot":"","sources":["../../src/shared/OperationType.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,aAAa,GACrB,QAAQ,GACR,OAAO,GACP,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,SAAS,CAAC"}
|
|
@@ -0,0 +1,355 @@
|
|
|
1
|
+
import { IAxiosRetryConfig } from 'axios-retry';
|
|
2
|
+
import { RetryStrategy } from '../api/BaseApi';
|
|
3
|
+
import { FeatureInterface } from '../api/cloud/FeatureApi';
|
|
4
|
+
import { UserSessionMetaType } from '../ops/AuthenticateOps';
|
|
5
|
+
import { CallerTrustTierResolver } from '../ops/CallerTrustTierOps';
|
|
6
|
+
import { JwkRsa } from '../ops/JoseOps';
|
|
7
|
+
import { AccessTokenMetaType } from '../ops/OAuth2OidcOps';
|
|
8
|
+
import { ProgressIndicatorStatusType, ProgressIndicatorType } from '../utils/Console';
|
|
9
|
+
/**
|
|
10
|
+
* A credential to inject into an outgoing AM request, resolved at actual
|
|
11
|
+
* send time (see `api/BaseApi.ts`'s request interceptors) rather than baked
|
|
12
|
+
* in when the axios instance was constructed.
|
|
13
|
+
*/
|
|
14
|
+
export type AmCredentialOverride = {
|
|
15
|
+
header: 'Authorization' | 'Cookie';
|
|
16
|
+
value: string;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* The four credential types Frodo can authenticate a connection with —
|
|
20
|
+
* shared by `activeCredentialSource` (which one is active this session),
|
|
21
|
+
* `preferredCredential` (a profile's persisted preference), and
|
|
22
|
+
* `AuthenticateOps.ts`'s `credentialOverride`/`CredentialOverrideType` (a
|
|
23
|
+
* one-shot per-invocation override) — one vocabulary across all three
|
|
24
|
+
* rather than each redeclaring its own copy of the same four literals.
|
|
25
|
+
*/
|
|
26
|
+
export type CredentialType = 'user' | 'svcacct' | 'amster' | 'browser';
|
|
27
|
+
/**
|
|
28
|
+
* Browser-mode's per-call AM credential source: cloud browser-login mints a
|
|
29
|
+
* fresh, short-lived, mint-and-discard RFC 8693-exchanged token immediately
|
|
30
|
+
* before every AM-domain call (see `ops/BrowserAuthenticateOps.ts`'s
|
|
31
|
+
* `exchangeTokenForScope`) instead of reusing a cached one. Set on `state`
|
|
32
|
+
* by `getTokensInteractive()` so `api/BaseApi.ts` — which must never import
|
|
33
|
+
* from `ops/` — can invoke it without knowing anything about token exchange.
|
|
34
|
+
* Unset for every non-browser auth mode.
|
|
35
|
+
*/
|
|
36
|
+
export type AmCredentialProvider = (requiredScopes?: string[]) => Promise<AmCredentialOverride | null>;
|
|
37
|
+
/**
|
|
38
|
+
* On-demand, de-duplicated "make my cached token(s) fresh again" callback
|
|
39
|
+
* for non-browser auth modes, invoked by `api/BaseApi.ts`'s request
|
|
40
|
+
* interceptors when a cached token is found to be stale at actual send
|
|
41
|
+
* time — not just at the one point in time `getTokens()` originally checked
|
|
42
|
+
* it. Set by `AuthenticateOps.ts` right after a successful login, alongside
|
|
43
|
+
* `scheduleAutoRefresh`'s timer (this is the same underlying mechanism,
|
|
44
|
+
* just invocable on demand instead of only when the timer fires). Browser
|
|
45
|
+
* login mode deliberately leaves this unset — cloud's primary token has no
|
|
46
|
+
* refresh token, so there is no silent way to redo an interactive login;
|
|
47
|
+
* going stale must surface a clear re-authentication error instead.
|
|
48
|
+
*/
|
|
49
|
+
export type TokenRefreshHandler = () => Promise<void>;
|
|
50
|
+
export type State = {
|
|
51
|
+
/**
|
|
52
|
+
* Get a clone of the full state as an object
|
|
53
|
+
* @returns a clone of the state
|
|
54
|
+
*/
|
|
55
|
+
getState(): StateInterface;
|
|
56
|
+
/**
|
|
57
|
+
* Set the AM host base URL
|
|
58
|
+
* @param host Access Management base URL, e.g.: https://cdk.iam.example.com/am. To use a connection profile, just specify a unique substring or alias.
|
|
59
|
+
*/
|
|
60
|
+
setHost(host: string): void;
|
|
61
|
+
/**
|
|
62
|
+
* Get the AM host base URL
|
|
63
|
+
* @returns the AM host base URL
|
|
64
|
+
*/
|
|
65
|
+
getHost(): string;
|
|
66
|
+
/**
|
|
67
|
+
* Set the IDM host base URL
|
|
68
|
+
* @param host Identity Management base URL, e.g.: https://cdk.iam.example.com/openidm. To use a connection profile, just specify a unique substring or alias.
|
|
69
|
+
*/
|
|
70
|
+
setIdmHost(host: string): void;
|
|
71
|
+
/**
|
|
72
|
+
* Get the IDM host base URL
|
|
73
|
+
* @returns the IDM host base URL
|
|
74
|
+
*/
|
|
75
|
+
getIdmHost(): string;
|
|
76
|
+
setAlias(alias: string): void;
|
|
77
|
+
getAlias(): string | undefined;
|
|
78
|
+
setUsername(username: string): void;
|
|
79
|
+
getUsername(): string;
|
|
80
|
+
setPassword(password: string): void;
|
|
81
|
+
getPassword(): string;
|
|
82
|
+
setRealm(realm: string): void;
|
|
83
|
+
getRealm(): string;
|
|
84
|
+
setUseRealmPrefixOnManagedObjects(useRealmPrefixOnManagedObjects: boolean): void;
|
|
85
|
+
getUseRealmPrefixOnManagedObjects(): boolean;
|
|
86
|
+
setDeploymentType(type: string): void;
|
|
87
|
+
getDeploymentType(): string;
|
|
88
|
+
setIsIGA(isIGA: boolean): void;
|
|
89
|
+
getIsIGA(): boolean | undefined;
|
|
90
|
+
setIsPingFed(isPingFed: boolean): void;
|
|
91
|
+
getIsPingFed(): boolean | undefined;
|
|
92
|
+
setAdminClientId(type: string): void;
|
|
93
|
+
getAdminClientId(): string;
|
|
94
|
+
setAdminClientRedirectUri(type: string): void;
|
|
95
|
+
getAdminClientRedirectUri(): string;
|
|
96
|
+
setAllowInsecureConnection(allowInsecureConnection: boolean): void;
|
|
97
|
+
getAllowInsecureConnection(): boolean;
|
|
98
|
+
setCookieName(name: string): void;
|
|
99
|
+
getCookieName(): string;
|
|
100
|
+
setUserSessionTokenMeta(value: UserSessionMetaType): void;
|
|
101
|
+
getCookieValue(): string;
|
|
102
|
+
getUserSessionTokenMeta(): UserSessionMetaType;
|
|
103
|
+
setFeatures(features: FeatureInterface[]): void;
|
|
104
|
+
getFeatures(): FeatureInterface[];
|
|
105
|
+
setAuthenticationHeaderOverrides(overrides: Record<string, string>): void;
|
|
106
|
+
getAuthenticationHeaderOverrides(): Record<string, string>;
|
|
107
|
+
setAuthenticationService(service: string): void;
|
|
108
|
+
getAuthenticationService(): string;
|
|
109
|
+
setConfigurationHeaderOverrides(overrides: Record<string, string>): void;
|
|
110
|
+
getConfigurationHeaderOverrides(): Record<string, string>;
|
|
111
|
+
setServiceAccountId(uuid: string): void;
|
|
112
|
+
getServiceAccountId(): string;
|
|
113
|
+
setServiceAccountJwk(jwk: JwkRsa): void;
|
|
114
|
+
getServiceAccountJwk(): JwkRsa;
|
|
115
|
+
setServiceAccountScope(scope: string): void;
|
|
116
|
+
getServiceAccountScope(): string;
|
|
117
|
+
setAmsterPrivateKey(key: string): void;
|
|
118
|
+
getAmsterPrivateKey(): string;
|
|
119
|
+
setUseBearerTokenForAmApis(useBearerTokenForAmApis: boolean): void;
|
|
120
|
+
getUseBearerTokenForAmApis(): boolean;
|
|
121
|
+
setAuthMode(authMode: 'noninteractive' | 'interactive'): void;
|
|
122
|
+
getAuthMode(): 'noninteractive' | 'interactive';
|
|
123
|
+
/**
|
|
124
|
+
* Explicit, persisted preference for which credential type later implicit
|
|
125
|
+
* commands against this profile should use — `'browser'` included, unlike
|
|
126
|
+
* the deprecated `defaultCredential` accessors below. An `undefined` value
|
|
127
|
+
* means "no preference set," not "none of the above." Never mirrors
|
|
128
|
+
* ambient session state on save; only ever written when the caller
|
|
129
|
+
* explicitly requests it (e.g. via `--preferred-credential`), so an
|
|
130
|
+
* unrelated save never silently overwrites a previously-configured
|
|
131
|
+
* preference — and, when explicitly set, takes priority over a stale
|
|
132
|
+
* legacy `authMode: 'interactive'` a profile may already carry (the fix
|
|
133
|
+
* for there previously being no way to undo that once persisted). Backed
|
|
134
|
+
* by the same underlying storage `defaultCredential` uses below — the two
|
|
135
|
+
* are two typed views onto one value, not two separate fields. See
|
|
136
|
+
* `AuthenticateOps.ts`'s `tryBrowserLogin()`/`getTokens()` for how this is
|
|
137
|
+
* consulted.
|
|
138
|
+
*/
|
|
139
|
+
setPreferredCredential(preferredCredential: CredentialType): void;
|
|
140
|
+
getPreferredCredential(): CredentialType | undefined;
|
|
141
|
+
/**
|
|
142
|
+
* Only meaningful when `preferredCredential === 'browser'`: whether this
|
|
143
|
+
* profile prefers the OAuth2 Device Authorization Grant over the default
|
|
144
|
+
* loopback-redirect flow for its interactive logins, without needing
|
|
145
|
+
* `--device` repeated on every invocation. `undefined` means no
|
|
146
|
+
* preference set (falls back to whatever `--device`/the env var says for
|
|
147
|
+
* that one invocation, exactly like today).
|
|
148
|
+
*/
|
|
149
|
+
setPreferredDeviceFlow(preferredDeviceFlow: boolean): void;
|
|
150
|
+
getPreferredDeviceFlow(): boolean | undefined;
|
|
151
|
+
/**
|
|
152
|
+
* @deprecated since v4.9.0 — use `setPreferredCredential()`/
|
|
153
|
+
* `getPreferredCredential()` instead, which also support `'browser'`.
|
|
154
|
+
* Kept working, unchanged, for external callers still typed against the
|
|
155
|
+
* 3-value union: `getDefaultCredential()` defensively filters out
|
|
156
|
+
* `'browser'` (returning `undefined` instead) so it can never hand back a
|
|
157
|
+
* value outside its own declared type, even though it now shares storage
|
|
158
|
+
* with the wider `preferredCredential`.
|
|
159
|
+
*/
|
|
160
|
+
setDefaultCredential(defaultCredential: 'user' | 'svcacct' | 'amster'): void;
|
|
161
|
+
/** @deprecated since v4.9.0 — use `getPreferredCredential()` instead. */
|
|
162
|
+
getDefaultCredential(): 'user' | 'svcacct' | 'amster' | undefined;
|
|
163
|
+
setTokenRefreshHandler(handler: TokenRefreshHandler | undefined): void;
|
|
164
|
+
getTokenRefreshHandler(): TokenRefreshHandler | undefined;
|
|
165
|
+
setBrowserLoginClientId(clientId: string): void;
|
|
166
|
+
getBrowserLoginClientId(): string;
|
|
167
|
+
setBrowserLoginScope(scope: string): void;
|
|
168
|
+
getBrowserLoginScope(): string;
|
|
169
|
+
setAmBearerTokenAcceptanceProbed(probed: boolean): void;
|
|
170
|
+
getAmBearerTokenAcceptanceProbed(): boolean | undefined;
|
|
171
|
+
setRefreshToken(token: string): void;
|
|
172
|
+
getRefreshToken(): string;
|
|
173
|
+
setIdToken(token: string): void;
|
|
174
|
+
getIdToken(): string;
|
|
175
|
+
setNeedsReauthentication(needsReauthentication: boolean): void;
|
|
176
|
+
getNeedsReauthentication(): boolean;
|
|
177
|
+
setAmCredentialProvider(provider: AmCredentialProvider): void;
|
|
178
|
+
getAmCredentialProvider(): AmCredentialProvider | undefined;
|
|
179
|
+
/** Cached for the life of the session by `determineCallerTrustTier()` (`ops/CallerTrustTierOps.ts`). */
|
|
180
|
+
setCallerTrustTier(tier: 'full-trust' | 'delegated'): void;
|
|
181
|
+
getCallerTrustTier(): 'full-trust' | 'delegated' | undefined;
|
|
182
|
+
/** Extension point letting a customer plug in their own privilege model for browser-login sessions — see `ops/CallerTrustTierOps.ts`. */
|
|
183
|
+
setCallerTrustTierResolver(resolver: CallerTrustTierResolver | undefined): void;
|
|
184
|
+
getCallerTrustTierResolver(): CallerTrustTierResolver | undefined;
|
|
185
|
+
setBearerTokenMeta(token: AccessTokenMetaType): void;
|
|
186
|
+
getBearerToken(): string;
|
|
187
|
+
getBearerTokenMeta(): AccessTokenMetaType;
|
|
188
|
+
/**
|
|
189
|
+
* Which credential type is currently active for this session — set once,
|
|
190
|
+
* wherever `getTokens()`'s non-interactive branches (or a browser login)
|
|
191
|
+
* actually activate a credential. Used by `ops/PrivilegeEscalationOps.ts`
|
|
192
|
+
* to know where on the escalation ladder the current session sits.
|
|
193
|
+
*/
|
|
194
|
+
setActiveCredentialSource(source: CredentialType): void;
|
|
195
|
+
getActiveCredentialSource(): CredentialType | undefined;
|
|
196
|
+
/**
|
|
197
|
+
* Extension point letting `api/BaseApi.ts` trigger a credential-privilege
|
|
198
|
+
* escalation without importing `ops/AuthenticateOps.ts` directly (would be
|
|
199
|
+
* circular — `AuthenticateOps.ts` already depends on `BaseApi.ts`
|
|
200
|
+
* transitively). Installed once by `getTokens()` after the initial
|
|
201
|
+
* credential activates; called by `attachCredentialInterceptor()` when a
|
|
202
|
+
* pre-flight scope check fails. Resolves `true` if a higher-tier
|
|
203
|
+
* credential was found and activated (the failed request should be
|
|
204
|
+
* retried), `false` if there is nothing left to escalate to.
|
|
205
|
+
*/
|
|
206
|
+
setPrivilegeEscalationHandler(handler: (() => Promise<boolean>) | undefined): void;
|
|
207
|
+
getPrivilegeEscalationHandler(): (() => Promise<boolean>) | undefined;
|
|
208
|
+
setPfBearerTokenMeta(token: AccessTokenMetaType): void;
|
|
209
|
+
getPfBearerToken(): string;
|
|
210
|
+
getPfBearerTokenMeta(): AccessTokenMetaType;
|
|
211
|
+
setLogApiKey(key: string): void;
|
|
212
|
+
getLogApiKey(): string;
|
|
213
|
+
setLogApiSecret(secret: string): void;
|
|
214
|
+
getLogApiSecret(): string;
|
|
215
|
+
setAmVersion(version: string): void;
|
|
216
|
+
getAmVersion(): string;
|
|
217
|
+
setIdmVersion(version: string): void;
|
|
218
|
+
getIdmVersion(): string;
|
|
219
|
+
setFrodoVersion(version: string): void;
|
|
220
|
+
getFrodoVersion(): string;
|
|
221
|
+
setConnectionProfilesPath(path: string): void;
|
|
222
|
+
getConnectionProfilesPath(): string;
|
|
223
|
+
setUseTokenCache(useTokenCache: boolean): void;
|
|
224
|
+
getUseTokenCache(): boolean;
|
|
225
|
+
setTokenCachePath(path: string): void;
|
|
226
|
+
getTokenCachePath(): string;
|
|
227
|
+
setMasterKeyPath(path: string): void;
|
|
228
|
+
getMasterKeyPath(): string;
|
|
229
|
+
setOutputFile(file: string): void;
|
|
230
|
+
getOutputFile(): string;
|
|
231
|
+
setDirectory(directory: string): void;
|
|
232
|
+
setEnv(key: string, value: string): void;
|
|
233
|
+
setEnvs(env: Record<string, string>, clear?: boolean): void;
|
|
234
|
+
getEnv(key: string): string | undefined;
|
|
235
|
+
getEnvs(): Record<string, string>;
|
|
236
|
+
getDirectory(): string;
|
|
237
|
+
setForceUpdate(forceUpdate: boolean): void;
|
|
238
|
+
getForceUpdate(): boolean;
|
|
239
|
+
setAutoRefreshTimer(timer: NodeJS.Timeout): void;
|
|
240
|
+
getAutoRefreshTimer(): NodeJS.Timeout;
|
|
241
|
+
setCurlirizeHandler(handler: (message: string) => void): void;
|
|
242
|
+
getCurlirizeHandler(): (message: string) => void;
|
|
243
|
+
setCurlirize(curlirize: boolean): void;
|
|
244
|
+
getCurlirize(): boolean;
|
|
245
|
+
setCreateProgressHandler(handler: (type: ProgressIndicatorType, total?: number, message?: string) => string): void;
|
|
246
|
+
getCreateProgressHandler(): (type: ProgressIndicatorType, total?: number, message?: string) => string;
|
|
247
|
+
setUpdateProgressHandler(handler: (id: string, message: string) => void): void;
|
|
248
|
+
getUpdateProgressHandler(): (id: string, message: string) => void;
|
|
249
|
+
setStopProgressHandler(handler: (id: string, message: string, status?: ProgressIndicatorStatusType) => void): void;
|
|
250
|
+
getStopProgressHandler(): (id: string, message: string, status?: ProgressIndicatorStatusType) => void;
|
|
251
|
+
setPrintHandler(handler: (message: string | object, type?: string, newline?: boolean) => void): void;
|
|
252
|
+
getPrintHandler(): (message: string | object, type?: string, newline?: boolean) => void;
|
|
253
|
+
setErrorHandler(handler: (error: Error, message?: string) => void): void;
|
|
254
|
+
getErrorHandler(): (error: Error, message?: string) => void;
|
|
255
|
+
setVerboseHandler(handler: (message: string | object) => void): void;
|
|
256
|
+
getVerboseHandler(): (message: string | object) => void;
|
|
257
|
+
setVerbose(verbose: boolean): void;
|
|
258
|
+
getVerbose(): boolean;
|
|
259
|
+
setDebugHandler(handler: (message: string | object) => void): void;
|
|
260
|
+
getDebugHandler(): (message: string | object) => void;
|
|
261
|
+
setDebug(debug: boolean): void;
|
|
262
|
+
getDebug(): boolean;
|
|
263
|
+
setColorTheme(theme: 'dark' | 'light'): void;
|
|
264
|
+
getColorTheme(): 'dark' | 'light' | undefined;
|
|
265
|
+
getAxiosRetryConfig(): IAxiosRetryConfig;
|
|
266
|
+
setAxiosRetryConfig(axiosRetryConfig: IAxiosRetryConfig): void;
|
|
267
|
+
setAxiosRetryStrategy(strategy: RetryStrategy): void;
|
|
268
|
+
/**
|
|
269
|
+
* Reset the state to default values
|
|
270
|
+
*/
|
|
271
|
+
reset(): void;
|
|
272
|
+
/**
|
|
273
|
+
* @deprecated since v0.17.0 use `setHost(host: string)` instead
|
|
274
|
+
*/
|
|
275
|
+
setTenant(tenant: string): void;
|
|
276
|
+
/**
|
|
277
|
+
* @deprecated since v0.17.0 use `getHost` instead
|
|
278
|
+
*/
|
|
279
|
+
getTenant(): string;
|
|
280
|
+
};
|
|
281
|
+
declare const _default: (initialState: StateInterface) => State;
|
|
282
|
+
export default _default;
|
|
283
|
+
export interface StateInterface {
|
|
284
|
+
host?: string;
|
|
285
|
+
idmHost?: string;
|
|
286
|
+
alias?: string;
|
|
287
|
+
username?: string;
|
|
288
|
+
password?: string;
|
|
289
|
+
realm?: string;
|
|
290
|
+
useRealmPrefixOnManagedObjects?: boolean;
|
|
291
|
+
deploymentType?: string;
|
|
292
|
+
isIGA?: boolean;
|
|
293
|
+
isPingFed?: boolean;
|
|
294
|
+
adminClientId?: string;
|
|
295
|
+
adminClientRedirectUri?: string;
|
|
296
|
+
allowInsecureConnection?: boolean;
|
|
297
|
+
authenticationHeaderOverrides?: Record<string, string>;
|
|
298
|
+
authenticationService?: string;
|
|
299
|
+
configurationHeaderOverrides?: Record<string, string>;
|
|
300
|
+
cookieName?: string;
|
|
301
|
+
userSessionToken?: UserSessionMetaType;
|
|
302
|
+
features?: FeatureInterface[];
|
|
303
|
+
serviceAccountId?: string;
|
|
304
|
+
serviceAccountJwk?: JwkRsa;
|
|
305
|
+
serviceAccountScope?: string;
|
|
306
|
+
amsterPrivateKey?: string;
|
|
307
|
+
authMode?: 'noninteractive' | 'interactive';
|
|
308
|
+
defaultCredential?: CredentialType;
|
|
309
|
+
preferredDeviceFlow?: boolean;
|
|
310
|
+
activeCredentialSource?: CredentialType;
|
|
311
|
+
privilegeEscalationHandler?: () => Promise<boolean>;
|
|
312
|
+
tokenRefreshHandler?: TokenRefreshHandler;
|
|
313
|
+
amCredentialProvider?: AmCredentialProvider;
|
|
314
|
+
browserLoginClientId?: string;
|
|
315
|
+
browserLoginScope?: string;
|
|
316
|
+
amBearerTokenAcceptanceProbed?: boolean;
|
|
317
|
+
refreshToken?: string;
|
|
318
|
+
idToken?: string;
|
|
319
|
+
needsReauthentication?: boolean;
|
|
320
|
+
callerTrustTier?: 'full-trust' | 'delegated';
|
|
321
|
+
callerTrustTierResolver?: CallerTrustTierResolver;
|
|
322
|
+
useBearerTokenForAmApis?: boolean;
|
|
323
|
+
bearerToken?: AccessTokenMetaType;
|
|
324
|
+
pfBearerToken?: AccessTokenMetaType;
|
|
325
|
+
logApiKey?: string;
|
|
326
|
+
logApiSecret?: string;
|
|
327
|
+
amVersion?: string;
|
|
328
|
+
idmVersion?: string;
|
|
329
|
+
frodoVersion?: string;
|
|
330
|
+
connectionProfilesPath?: string;
|
|
331
|
+
useTokenCache?: boolean;
|
|
332
|
+
tokenCachePath?: string;
|
|
333
|
+
masterKeyPath?: string;
|
|
334
|
+
outputFile?: string;
|
|
335
|
+
directory?: string;
|
|
336
|
+
forceUpdate?: boolean;
|
|
337
|
+
autoRefreshTimer?: NodeJS.Timeout;
|
|
338
|
+
env?: Record<string, string>;
|
|
339
|
+
printHandler?: (message: string | object, type?: string, newline?: boolean) => void;
|
|
340
|
+
errorHandler?: (error: Error, message: string) => void;
|
|
341
|
+
verboseHandler?: (message: string | object) => void;
|
|
342
|
+
verbose?: boolean;
|
|
343
|
+
debugHandler?: (message: string | object) => void;
|
|
344
|
+
debug?: boolean;
|
|
345
|
+
colorTheme?: 'dark' | 'light';
|
|
346
|
+
curlirizeHandler?: (message: string) => void;
|
|
347
|
+
curlirize?: boolean;
|
|
348
|
+
createProgressHandler?: (type: ProgressIndicatorType, total?: number, message?: string) => string;
|
|
349
|
+
updateProgressHandler?: (id: string, message: string) => void;
|
|
350
|
+
stopProgressHandler?: (id: string, message: string, status?: string) => void;
|
|
351
|
+
axiosRetryConfig?: IAxiosRetryConfig;
|
|
352
|
+
}
|
|
353
|
+
export declare const getVerbose: () => boolean;
|
|
354
|
+
export declare const getDebug: () => boolean;
|
|
355
|
+
//# sourceMappingURL=State.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"State.d.ts","sourceRoot":"","sources":["../../src/shared/State.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,iBAAiB,EAElB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAI3D,OAAO,EACL,2BAA2B,EAC3B,qBAAqB,EACtB,MAAM,kBAAkB,CAAC;AAK1B;;;;GAIG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,MAAM,EAAE,eAAe,GAAG,QAAQ,CAAC;IACnC,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,MAAM,cAAc,GA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are const getVersionFromPackage: () => string;
|
|
4
|
+
/**
|
|
5
|
+
* ISO 8601 timestamp of when this frodo-lib bundle was built, substituted as
|
|
6
|
+
* a literal by tsup's `define` at bundle time (see tsup.config.ts). This is
|
|
7
|
+
* the only reliable way to tell whether a running process actually picked up
|
|
8
|
+
* a given source change — a packaging step downstream (e.g. frodo-cli's
|
|
9
|
+
* bundling of frodo-lib, or pkg's binary packaging) can silently produce a
|
|
10
|
+
* stale artifact despite every file on disk looking current. Falls back to
|
|
11
|
+
* an explicit placeholder when running from raw TypeScript source (ts-jest,
|
|
12
|
+
* ts-node) rather than a tsup build, since no bundler ever substitutes the
|
|
13
|
+
* identifier there.
|
|
14
|
+
*/
|
|
15
|
+
export declare const getLibBuildTimestamp: () => string;
|
|
16
|
+
//# sourceMappingURL=Version.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Version.d.ts","sourceRoot":"","sources":["../../src/shared/Version.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,cAAqC,CAAC;AAE/D,eAAO,MAAM,iBAAiB,cAA+C,CAAC;AAE9E,eAAO,MAAM,qBAAqB,cAAoB,CAAC;AAIvD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,oBAAoB,QAAO,MAGe,CAAC"}
|