@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,196 @@
|
|
|
1
|
+
import { RealmSkeleton } from '../api/RealmApi';
|
|
2
|
+
import { State } from '../shared/State';
|
|
3
|
+
import { ExportMetaData } from './OpsTypes';
|
|
4
|
+
export type Realm = {
|
|
5
|
+
/**
|
|
6
|
+
* Read all realms
|
|
7
|
+
* @returns {Promise<RealmSkeleton[]>} a promise resolving to an array of realm objects
|
|
8
|
+
*/
|
|
9
|
+
readRealms(): Promise<RealmSkeleton[]>;
|
|
10
|
+
/**
|
|
11
|
+
* Read realm
|
|
12
|
+
* @param {string} realmId realm id
|
|
13
|
+
* @returns {Promise<RealmSkeleton>} a promise resolving to a realm object
|
|
14
|
+
*/
|
|
15
|
+
readRealm(realmId: string): Promise<RealmSkeleton>;
|
|
16
|
+
/**
|
|
17
|
+
* Read realm by name
|
|
18
|
+
* @param {string} realmName realm name
|
|
19
|
+
* @returns {Promise<RealmSkeleton>} a promise resolving to a realm object
|
|
20
|
+
*/
|
|
21
|
+
readRealmByName(realmName: string): Promise<RealmSkeleton>;
|
|
22
|
+
/**
|
|
23
|
+
* Export all realms. The response can be saved to file as is.
|
|
24
|
+
* @returns {Promise<RealmExportInterface>} Promise resolving to a RealmExportInterface object.
|
|
25
|
+
*/
|
|
26
|
+
exportRealms(): Promise<RealmExportInterface>;
|
|
27
|
+
/**
|
|
28
|
+
* Create realm
|
|
29
|
+
* @param {string} realmName realm name
|
|
30
|
+
* @param {RealmSkeleton} realmData realm data
|
|
31
|
+
* @returns {Promise<RealmSkeleton>} a promise resolving to a realm object
|
|
32
|
+
*/
|
|
33
|
+
createRealm(realmName: string, realmData?: RealmSkeleton): Promise<RealmSkeleton>;
|
|
34
|
+
/**
|
|
35
|
+
* Update realm
|
|
36
|
+
* @param {string} realmId realm id
|
|
37
|
+
* @param {RealmSkeleton} realmData realm data
|
|
38
|
+
* @returns {Promise<RealmSkeleton>} a promise resolving to a realm object
|
|
39
|
+
*/
|
|
40
|
+
updateRealm(realmId: string, realmData: RealmSkeleton): Promise<RealmSkeleton>;
|
|
41
|
+
/**
|
|
42
|
+
* Import realms
|
|
43
|
+
* @param {RealmExportInterface} importData realm import data
|
|
44
|
+
* @param {string} realmId Optional realm id. If supplied, only the realm of that id is imported. Takes priority over realmName if both are provided.
|
|
45
|
+
* @param {string} realmName Optional realm name. If supplied, only the realm of that name is imported.
|
|
46
|
+
* @returns {Promise<RealmSkeleton[]>} the imported realms
|
|
47
|
+
*/
|
|
48
|
+
importRealms(importData: RealmExportInterface, realmId?: string, realmName?: string): Promise<RealmSkeleton[]>;
|
|
49
|
+
/**
|
|
50
|
+
* Delete realm
|
|
51
|
+
* @param {string} realmId realm id
|
|
52
|
+
* @returns {Promise<RealmSkeleton>} a promise resolving to a realm object
|
|
53
|
+
*/
|
|
54
|
+
deleteRealm(realmId: string): Promise<RealmSkeleton>;
|
|
55
|
+
/**
|
|
56
|
+
* Delete realm by name
|
|
57
|
+
* @param {string} realmName realm name
|
|
58
|
+
* @returns {Promise<RealmSkeleton>} a promise resolving to a realm object
|
|
59
|
+
*/
|
|
60
|
+
deleteRealmByName(realmName: string): Promise<RealmSkeleton>;
|
|
61
|
+
/**
|
|
62
|
+
* Add custom DNS domain name (realm DNS alias)
|
|
63
|
+
* @param {string} realmName realm name
|
|
64
|
+
* @param {string} domain domain name
|
|
65
|
+
* @returns {Promise<RealmSkeleton>} a promise resolving to a realm object
|
|
66
|
+
*/
|
|
67
|
+
addCustomDomain(realmName: string, domain: string): Promise<RealmSkeleton>;
|
|
68
|
+
/**
|
|
69
|
+
* Remove custom DNS domain name (realm DNS alias)
|
|
70
|
+
* @param {string} realmName realm name
|
|
71
|
+
* @param {string} domain domain name
|
|
72
|
+
* @returns {Promise<RealmSkeleton>} a promise resolving to a realm object
|
|
73
|
+
*/
|
|
74
|
+
removeCustomDomain(realmName: string, domain: string): Promise<RealmSkeleton>;
|
|
75
|
+
};
|
|
76
|
+
declare const _default: (state: State) => Realm;
|
|
77
|
+
export default _default;
|
|
78
|
+
export interface RealmExportInterface {
|
|
79
|
+
meta?: ExportMetaData;
|
|
80
|
+
realm: Record<string, RealmSkeleton>;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Create an empty realm export template
|
|
84
|
+
* @returns {RealmExportInterface} an empty realm export template
|
|
85
|
+
*/
|
|
86
|
+
export declare function createRealmExportTemplate({ state, }: {
|
|
87
|
+
state: State;
|
|
88
|
+
}): RealmExportInterface;
|
|
89
|
+
/**
|
|
90
|
+
* Get all realms
|
|
91
|
+
* @returns {Promise} a promise that resolves to an object containing an array of realm objects
|
|
92
|
+
*/
|
|
93
|
+
export declare function getRealms({ state }: {
|
|
94
|
+
state: State;
|
|
95
|
+
}): Promise<RealmSkeleton[]>;
|
|
96
|
+
/**
|
|
97
|
+
* Export all realms. The response can be saved to file as is.
|
|
98
|
+
* @returns {Promise<RealmExportInterface>} Promise resolving to a RealmExportInterface object.
|
|
99
|
+
*/
|
|
100
|
+
export declare function exportRealms({ state, }: {
|
|
101
|
+
state: State;
|
|
102
|
+
}): Promise<RealmExportInterface>;
|
|
103
|
+
/**
|
|
104
|
+
* Create realm
|
|
105
|
+
* @param {string} realmName realm name
|
|
106
|
+
* @param {RealmSkeleton} realmData realm data
|
|
107
|
+
* @returns {Promise<RealmSkeleton>} a promise resolving to a realm object
|
|
108
|
+
*/
|
|
109
|
+
export declare function createRealm({ realmName, realmData, state, }: {
|
|
110
|
+
realmName: string;
|
|
111
|
+
realmData?: RealmSkeleton;
|
|
112
|
+
state: State;
|
|
113
|
+
}): Promise<RealmSkeleton>;
|
|
114
|
+
/**
|
|
115
|
+
* Update realm
|
|
116
|
+
* @param {string} realmId realm id
|
|
117
|
+
* @param {RealmSkeleton} realmData realm config object
|
|
118
|
+
* @returns {Promise<RealmSkeleton>} a promise that resolves to a realm object
|
|
119
|
+
*/
|
|
120
|
+
export declare function updateRealm({ realmId, realmData, state, }: {
|
|
121
|
+
realmId: string;
|
|
122
|
+
realmData: RealmSkeleton;
|
|
123
|
+
state: State;
|
|
124
|
+
}): Promise<RealmSkeleton>;
|
|
125
|
+
/**
|
|
126
|
+
* Import realms
|
|
127
|
+
* @param {string} realmId Optional realm id. If supplied, only the realm of that id is imported. Takes priority over realmName if both are provided.
|
|
128
|
+
* @param {string} realmName Optional realm name. If supplied, only the realm of that name is imported.
|
|
129
|
+
* @param {RealmExportInterface} importData realm import data
|
|
130
|
+
* @returns {Promise<RealmSkeleton[]>} the imported realms
|
|
131
|
+
*/
|
|
132
|
+
export declare function importRealms({ realmId, realmName, importData, state, }: {
|
|
133
|
+
realmId?: string;
|
|
134
|
+
realmName?: string;
|
|
135
|
+
importData: RealmExportInterface;
|
|
136
|
+
state: State;
|
|
137
|
+
}): Promise<RealmSkeleton[]>;
|
|
138
|
+
/**
|
|
139
|
+
* Get realm
|
|
140
|
+
* @param {String} realmId realm id
|
|
141
|
+
* @returns {Promise<RealmSkeleton>} a promise that resolves to a realm object
|
|
142
|
+
*/
|
|
143
|
+
export declare function getRealm({ realmId, state, }: {
|
|
144
|
+
realmId: string;
|
|
145
|
+
state: State;
|
|
146
|
+
}): Promise<RealmSkeleton>;
|
|
147
|
+
/**
|
|
148
|
+
* Get realm by name
|
|
149
|
+
* @param {string} realmName realm name
|
|
150
|
+
* @returns {Promise<RealmSkeleton>} a promise that resolves to a realm object
|
|
151
|
+
*/
|
|
152
|
+
export declare function getRealmByName({ realmName, state, }: {
|
|
153
|
+
realmName: string;
|
|
154
|
+
state: State;
|
|
155
|
+
}): Promise<RealmSkeleton>;
|
|
156
|
+
/**
|
|
157
|
+
* Delete realm
|
|
158
|
+
* @param {string} realmId realm id
|
|
159
|
+
* @returns {Promise<RealmSkeleton>} a promise that resolves to an object containing a realm object
|
|
160
|
+
*/
|
|
161
|
+
export declare function deleteRealm({ realmId, state, }: {
|
|
162
|
+
realmId: string;
|
|
163
|
+
state: State;
|
|
164
|
+
}): Promise<RealmSkeleton>;
|
|
165
|
+
/**
|
|
166
|
+
* Delete realm by name
|
|
167
|
+
* @param {string} realmName realm name
|
|
168
|
+
* @returns {Promise<RealmSkeleton>} a promise that resolves to a realm object
|
|
169
|
+
*/
|
|
170
|
+
export declare function deleteRealmByName({ realmName, state, }: {
|
|
171
|
+
realmName: string;
|
|
172
|
+
state: State;
|
|
173
|
+
}): Promise<RealmSkeleton>;
|
|
174
|
+
/**
|
|
175
|
+
* Add custom DNS domain name (realm DNS alias)
|
|
176
|
+
* @param {string} realm realm name
|
|
177
|
+
* @param {string} domain domain name
|
|
178
|
+
* @returns {Promise<RealmSkeleton>} a promise that resolves to a realm object
|
|
179
|
+
*/
|
|
180
|
+
export declare function addCustomDomain({ realmName, domain, state, }: {
|
|
181
|
+
realmName: string;
|
|
182
|
+
domain: string;
|
|
183
|
+
state: State;
|
|
184
|
+
}): Promise<RealmSkeleton>;
|
|
185
|
+
/**
|
|
186
|
+
* Remove custom DNS domain name (realm DNS alias)
|
|
187
|
+
* @param {String} realm realm name
|
|
188
|
+
* @param {String} domain domain name
|
|
189
|
+
* @returns {Promise<RealmSkeleton>} a promise that resolves to a realm object
|
|
190
|
+
*/
|
|
191
|
+
export declare function removeCustomDomain({ realmName, domain, state, }: {
|
|
192
|
+
realmName: string;
|
|
193
|
+
domain: string;
|
|
194
|
+
state: State;
|
|
195
|
+
}): Promise<RealmSkeleton>;
|
|
196
|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E;IACD,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,aAAa,CAAC,CAwBzB"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { ReconStatusType, ReconType } from '../api/ReconApi';
|
|
2
|
+
import { State } from '../shared/State';
|
|
3
|
+
export type Recon = {
|
|
4
|
+
/**
|
|
5
|
+
* Read all reconciliation runs
|
|
6
|
+
* @returns {Promise<ReconType[]>} a promise resolving to an array of recon objects
|
|
7
|
+
*/
|
|
8
|
+
readRecons(): Promise<ReconType[]>;
|
|
9
|
+
/**
|
|
10
|
+
* Read recon
|
|
11
|
+
* @param {string} reconId id of the recon
|
|
12
|
+
* @returns {Promise<ReconType>} a promise resolving to a recon object
|
|
13
|
+
*/
|
|
14
|
+
readRecon(reconId: string): Promise<ReconType>;
|
|
15
|
+
/**
|
|
16
|
+
* Start a reconciliation
|
|
17
|
+
* @param {string} mappingName mapping to reconcile
|
|
18
|
+
* @returns {Promise<ReconStatusType>} a promise resolving to a recon status object
|
|
19
|
+
*/
|
|
20
|
+
startRecon(mappingName: string): Promise<ReconStatusType>;
|
|
21
|
+
/**
|
|
22
|
+
* Start a reconciliation by Id
|
|
23
|
+
* @param {string} mappingName mapping to reconcile
|
|
24
|
+
* @param {string} objectId id of object to reconcile
|
|
25
|
+
* @returns {Promise<ReconStatusType>} a promise resolving to a recon status object
|
|
26
|
+
*/
|
|
27
|
+
startReconById(mappingName: string, objectId: string): Promise<ReconStatusType>;
|
|
28
|
+
/**
|
|
29
|
+
* Cancel a reconciliation
|
|
30
|
+
* @param {string} reconId id of the recon to cancel
|
|
31
|
+
* @returns {Promise<ReconStatusType>} a promise resolving to a recon status object
|
|
32
|
+
*/
|
|
33
|
+
cancelRecon(reconId: string): Promise<ReconStatusType>;
|
|
34
|
+
};
|
|
35
|
+
declare const _default: (state: State) => Recon;
|
|
36
|
+
export default _default;
|
|
37
|
+
export declare function readRecons({ state, }: {
|
|
38
|
+
state: State;
|
|
39
|
+
}): Promise<ReconType[]>;
|
|
40
|
+
export declare function readRecon({ reconId, state, }: {
|
|
41
|
+
reconId: string;
|
|
42
|
+
state: State;
|
|
43
|
+
}): Promise<ReconType>;
|
|
44
|
+
export declare function startRecon({ mappingName, state, }: {
|
|
45
|
+
mappingName: string;
|
|
46
|
+
state: State;
|
|
47
|
+
}): Promise<ReconStatusType>;
|
|
48
|
+
export declare function startReconById({ mappingName, objectId, state, }: {
|
|
49
|
+
mappingName: string;
|
|
50
|
+
objectId: string;
|
|
51
|
+
state: State;
|
|
52
|
+
}): Promise<ReconStatusType>;
|
|
53
|
+
export declare function cancelRecon({ reconId, state, }: {
|
|
54
|
+
reconId: string;
|
|
55
|
+
state: State;
|
|
56
|
+
}): Promise<ReconStatusType>;
|
|
57
|
+
//# sourceMappingURL=ReconOps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReconOps.d.ts","sourceRoot":"","sources":["../../src/ops/ReconOps.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,eAAe,EACf,SAAS,EACV,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAExC,MAAM,MAAM,KAAK,GAAG;IAClB;;;OAGG;IACH,UAAU,IAAI,OAAO,CAAC,SAAS,EAAE,CAAC,CAAC;IACnC;;;;OAIG;IACH,SAAS,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC;IAC/C;;;;OAIG;IACH,UAAU,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;IAC1D;;;;;OAKG;IACH,cAAc,CACZ,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,eAAe,CAAC,CAAC;IAC5B;;;;OAIG;IACH,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;CACxD,CAAC;yBAEc,OAAO,KAAK,KAAG,KAAK;AAApC,wBAqBE;AAEF,wBAAsB,UAAU,CAAC,EAC/B,KAAK,GACN,EAAE;IACD,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC,CAEvB;AAED,wBAAsB,SAAS,CAAC,EAC9B,OAAO,EACP,KAAK,GACN,EAAE;IACD,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,SAAS,CAAC,CAErB;AAED,wBAAsB,UAAU,CAAC,EAC/B,WAAW,EACX,KAAK,GACN,EAAE;IACD,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,eAAe,CAAC,CAE3B;AAED,wBAAsB,cAAc,CAAC,EACnC,WAAW,EACX,QAAQ,EACR,KAAK,GACN,EAAE;IACD,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,eAAe,CAAC,CAE3B;AAED,wBAAsB,WAAW,CAAC,EAChC,OAAO,EACP,KAAK,GACN,EAAE;IACD,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,eAAe,CAAC,CAE3B"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { State } from '../shared/State';
|
|
2
|
+
import { FrodoError } from './FrodoError';
|
|
3
|
+
/**
|
|
4
|
+
* Thrown by `assertHasRequiredScope()`/`resolveAvailableScope()` below —
|
|
5
|
+
* both pre-flight checks reachable only through `api/BaseApi.ts`'s
|
|
6
|
+
* `attachCredentialInterceptor()`, which distinguishes this from any other
|
|
7
|
+
* failure to decide whether escalating to a higher-tier credential (see
|
|
8
|
+
* `ops/PrivilegeEscalationOps.ts`) and retrying is worth attempting at all.
|
|
9
|
+
* A plain `FrodoError` here would be indistinguishable from an unrelated
|
|
10
|
+
* failure (a config error, a network error surfacing through the same
|
|
11
|
+
* call path) that retrying with a different credential can't fix.
|
|
12
|
+
*/
|
|
13
|
+
export declare class InsufficientScopeError extends FrodoError {
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Resolves the scope string to actually request for a module's declared
|
|
17
|
+
* required scopes, given the current session's auth mode.
|
|
18
|
+
*
|
|
19
|
+
* @remarks
|
|
20
|
+
* Every non-browser auth mode (password, service-account, Amster) already
|
|
21
|
+
* holds a session cookie or a full-scope bearer token, so the module's
|
|
22
|
+
* required scopes pass straight through unchanged — there is nothing to
|
|
23
|
+
* narrow or gate. Cloud browser-login mode is the one case that matters: its
|
|
24
|
+
* AM-domain calls go through an RFC 8693 exchange (see
|
|
25
|
+
* `BrowserAuthenticateOps.ts`'s `exchangeTokenForScope`) via a Ping-owned
|
|
26
|
+
* client (`AICMCPExchangeClient`) with a hard-coded scope allow-list
|
|
27
|
+
* (`Constants.CLOUD_BROWSER_MODE_AVAILABLE_SCOPES`). A module whose required
|
|
28
|
+
* scope falls outside that allow-list is structurally unreachable via cloud
|
|
29
|
+
* browser-mode, so this throws a clear, actionable error rather than letting
|
|
30
|
+
* the call fail later with an opaque 400/401 from AM.
|
|
31
|
+
*/
|
|
32
|
+
export declare function resolveAvailableScope({ requiredScopes, state, }: {
|
|
33
|
+
requiredScopes: string[];
|
|
34
|
+
state: State;
|
|
35
|
+
}): string;
|
|
36
|
+
/**
|
|
37
|
+
* Local pre-flight gate: throws before a request goes out if the current
|
|
38
|
+
* session's credential does not carry a scope an operation requires,
|
|
39
|
+
* instead of letting AM/IDM reject the call over the wire.
|
|
40
|
+
*
|
|
41
|
+
* @remarks
|
|
42
|
+
* This is called from exactly one place — `api/BaseApi.ts`'s per-request
|
|
43
|
+
* credential resolvers — never from ops-layer code. Required scopes are
|
|
44
|
+
* declared at the api layer (one value per api-layer function, since each
|
|
45
|
+
* one maps 1:1 to a single HTTP verb+path, the same granularity AIC's own
|
|
46
|
+
* scope enforcement operates at) and required (non-optional) on
|
|
47
|
+
* `generateAmApi`/`generateIdmApi`/`generateEnvApi`/etc., so there is no
|
|
48
|
+
* ops-layer call site that could forget to gate a new operation — omitting
|
|
49
|
+
* `requiredScopes` anywhere in that chain is a compile error, not a silent
|
|
50
|
+
* gap. See the `anchor-enforcement-at-wire-layer` design note for why this
|
|
51
|
+
* replaced an earlier, ops-layer-anchored version of this same gate.
|
|
52
|
+
*
|
|
53
|
+
* OAuth2 scope-gated access control (the `fr:` namespace) is a PingOne
|
|
54
|
+
* Advanced Identity Cloud concept, not a universal one — classic has no
|
|
55
|
+
* such scope model at all, and it's unconfirmed whether ForgeOps's IDM
|
|
56
|
+
* shares cloud's (see the `frodo-scopes-are-cloud-only` design note); this
|
|
57
|
+
* check is a no-op for every deployment type except cloud. It's also a
|
|
58
|
+
* no-op whenever the caller has no granted-scope value to check at all
|
|
59
|
+
* (e.g. a plain AM session cookie, which carries no OAuth2 scope concept,
|
|
60
|
+
* or no token yet because login hasn't completed) — callers pass `undefined`
|
|
61
|
+
* for `grantedScope` in exactly those cases rather than this function
|
|
62
|
+
* inferring it.
|
|
63
|
+
*/
|
|
64
|
+
export declare function assertHasRequiredScope({ requiredScopes, grantedScope, state, }: {
|
|
65
|
+
requiredScopes: string[];
|
|
66
|
+
grantedScope: string | undefined;
|
|
67
|
+
state: State;
|
|
68
|
+
}): void;
|
|
69
|
+
//# sourceMappingURL=RequiredScopesOps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RequiredScopesOps.d.ts","sourceRoot":"","sources":["../../src/ops/RequiredScopesOps.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C;;;;;;;;;GASG;AACH,qBAAa,sBAAuB,SAAQ,UAAU;CAAG;AAEzD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,cAAc,EACd,KAAK,GACN,EAAE;IACD,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,MAAM,CAoBT;AAeD;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAgB,sBAAsB,CAAC,EACrC,cAAc,EACd,YAAY,EACZ,KAAK,GACN,EAAE;IACD,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,YAAY,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,IAAI,CAqBP"}
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
import { type ResourceTypeSkeleton } from '../api/ResourceTypesApi';
|
|
2
|
+
import { State } from '../shared/State';
|
|
3
|
+
import { ExportMetaData } from './OpsTypes';
|
|
4
|
+
export type ResourceType = {
|
|
5
|
+
/**
|
|
6
|
+
* Read resource type
|
|
7
|
+
* @param resourceTypeUuid resource type uuid
|
|
8
|
+
* @returns {Promise<ResourceTypeSkeleton>} a promise that resolves to a resource type object
|
|
9
|
+
*/
|
|
10
|
+
readResourceType(resourceTypeUuid: string): Promise<ResourceTypeSkeleton>;
|
|
11
|
+
/**
|
|
12
|
+
* Read all resource types
|
|
13
|
+
* @returns {Promise<ResourceTypeSkeleton[]>} a promise that resolves to an array of resource type objects
|
|
14
|
+
*/
|
|
15
|
+
readResourceTypes(): Promise<ResourceTypeSkeleton[]>;
|
|
16
|
+
/**
|
|
17
|
+
* Read resource type by name
|
|
18
|
+
* @param {string} resourceTypeName resource type name
|
|
19
|
+
* @returns {Promise<ResourceTypeSkeleton>} a promise that resolves to a resource type object
|
|
20
|
+
*/
|
|
21
|
+
readResourceTypeByName(resourceTypeName: string): Promise<ResourceTypeSkeleton>;
|
|
22
|
+
/**
|
|
23
|
+
* Create resource type
|
|
24
|
+
* @param resourceTypeData resource type data
|
|
25
|
+
* @param resourceTypeUuid resource type uuid
|
|
26
|
+
* @returns {Promise<ResourceTypeSkeleton>} a promise that resolves to a resource type object
|
|
27
|
+
*/
|
|
28
|
+
createResourceType(resourceTypeData: ResourceTypeSkeleton, resourceTypeUuid?: string): Promise<ResourceTypeSkeleton>;
|
|
29
|
+
/**
|
|
30
|
+
* Update resource type
|
|
31
|
+
* @param resourceTypeUuid resource type uuid
|
|
32
|
+
* @param {string} resourceTypeData resource type data
|
|
33
|
+
* @returns {Promise<ResourceTypeSkeleton | null>} a promise that resolves to a resource type object, or null if no update was made
|
|
34
|
+
*/
|
|
35
|
+
updateResourceType(resourceTypeUuid: string, resourceTypeData: ResourceTypeSkeleton): Promise<ResourceTypeSkeleton | null>;
|
|
36
|
+
/**
|
|
37
|
+
* Delete resource type
|
|
38
|
+
* @param {string} resourceTypeUuid resource type uuid
|
|
39
|
+
* @returns {Promise<ResourceTypeSkeleton>} Promise resolvig to a resource type object
|
|
40
|
+
*/
|
|
41
|
+
deleteResourceType(resourceTypeUuid: string): Promise<ResourceTypeSkeleton>;
|
|
42
|
+
/**
|
|
43
|
+
* Delete resource type by name
|
|
44
|
+
* @param {string} resourceTypeName resource type name
|
|
45
|
+
* @returns {Promise<ResourceTypeSkeleton>} Promise resolvig to a resource type object
|
|
46
|
+
*/
|
|
47
|
+
deleteResourceTypeByName(resourceTypeName: string): Promise<ResourceTypeSkeleton>;
|
|
48
|
+
/**
|
|
49
|
+
* Export resource type
|
|
50
|
+
* @param {string} resourceTypeUuid resource type uuid
|
|
51
|
+
* @returns {Promise<ResourceTypeExportInterface>} a promise that resolves to an ResourceTypeExportInterface object
|
|
52
|
+
*/
|
|
53
|
+
exportResourceType(resourceTypeUuid: string): Promise<ResourceTypeExportInterface>;
|
|
54
|
+
/**
|
|
55
|
+
* Export resource type by name
|
|
56
|
+
* @param {string} resourceTypeName resource type name
|
|
57
|
+
* @returns {Promise<ResourceTypeExportInterface>} a promise that resolves to an ResourceTypeExportInterface object
|
|
58
|
+
*/
|
|
59
|
+
exportResourceTypeByName(resourceTypeName: string): Promise<ResourceTypeExportInterface>;
|
|
60
|
+
/**
|
|
61
|
+
* Export resource types
|
|
62
|
+
* @returns {Promise<ResourceTypeExportInterface>} a promise that resolves to an ResourceTypeExportInterface object
|
|
63
|
+
*/
|
|
64
|
+
exportResourceTypes(): Promise<ResourceTypeExportInterface>;
|
|
65
|
+
/**
|
|
66
|
+
* Import resource type by uuid
|
|
67
|
+
* @param {string} resourceTypeUuid client uuid
|
|
68
|
+
* @param {ResourceTypeExportInterface} importData import data
|
|
69
|
+
* @returns {Promise<ResourceTypeSkeleton | null>} a promise that resolves to the imported resource type object, or null if no update was made
|
|
70
|
+
*/
|
|
71
|
+
importResourceType(resourceTypeUuid: string, importData: ResourceTypeExportInterface): Promise<ResourceTypeSkeleton | null>;
|
|
72
|
+
/**
|
|
73
|
+
* Import resource type by name
|
|
74
|
+
* @param {string} resourceTypeName client id
|
|
75
|
+
* @param {ResourceTypeExportInterface} importData import data
|
|
76
|
+
* @returns {Promise<ResourceTypeSkeleton | null>} a promise that resolves to the imported resource type object, or null if no update was made
|
|
77
|
+
*/
|
|
78
|
+
importResourceTypeByName(resourceTypeName: string, importData: ResourceTypeExportInterface): Promise<ResourceTypeSkeleton | null>;
|
|
79
|
+
/**
|
|
80
|
+
* Import first resource type
|
|
81
|
+
* @param {ResourceTypeExportInterface} importData import data
|
|
82
|
+
* @returns {Promise<ResourceTypeSkeleton | null>} a promise that resolves to the imported resource type object, or null if no update was made
|
|
83
|
+
*/
|
|
84
|
+
importFirstResourceType(importData: ResourceTypeExportInterface): Promise<ResourceTypeSkeleton | null>;
|
|
85
|
+
/**
|
|
86
|
+
* Import resource types
|
|
87
|
+
* @param {ResourceTypeExportInterface} importData import data
|
|
88
|
+
* @returns {Promise<ResourceTypeSkeleton[]>} a promise that resolves to the imported resource type objects
|
|
89
|
+
*/
|
|
90
|
+
importResourceTypes(importData: ResourceTypeExportInterface): Promise<ResourceTypeSkeleton[]>;
|
|
91
|
+
};
|
|
92
|
+
declare const _default: (state: State) => ResourceType;
|
|
93
|
+
export default _default;
|
|
94
|
+
export interface ResourceTypeExportInterface {
|
|
95
|
+
meta?: ExportMetaData;
|
|
96
|
+
resourcetype: Record<string, ResourceTypeSkeleton>;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Create an empty export template
|
|
100
|
+
* @returns {ResourceTypeExportInterface} an empty export template
|
|
101
|
+
*/
|
|
102
|
+
export declare function createResourceTypeExportTemplate({ state, }: {
|
|
103
|
+
state: State;
|
|
104
|
+
}): ResourceTypeExportInterface;
|
|
105
|
+
export declare function readResourceType({ resourceTypeUuid, state, }: {
|
|
106
|
+
resourceTypeUuid: string;
|
|
107
|
+
state: State;
|
|
108
|
+
}): Promise<any>;
|
|
109
|
+
/**
|
|
110
|
+
* Get all resource types
|
|
111
|
+
* @returns {Promise} a promise that resolves to an array of resource type objects
|
|
112
|
+
*/
|
|
113
|
+
export declare function readResourceTypes({ state, }: {
|
|
114
|
+
state: State;
|
|
115
|
+
}): Promise<ResourceTypeSkeleton[]>;
|
|
116
|
+
/**
|
|
117
|
+
* Get resource type by name
|
|
118
|
+
* @param {string} resourceTypeName resource type name
|
|
119
|
+
* @returns {Promise<ResourceTypeSkeleton>} a promise that resolves to a resource type object
|
|
120
|
+
*/
|
|
121
|
+
export declare function readResourceTypeByName({ resourceTypeName, state, }: {
|
|
122
|
+
resourceTypeName: string;
|
|
123
|
+
state: State;
|
|
124
|
+
}): Promise<ResourceTypeSkeleton>;
|
|
125
|
+
/**
|
|
126
|
+
* Update resource type
|
|
127
|
+
* @param resourceTypeUuid resource type uuid
|
|
128
|
+
* @param {string} resourceTypeData resource type data
|
|
129
|
+
* @returns {Promise<ResourceTypeSkeleton | null>} a promise that resolves to a resource type object, or null if no update was made
|
|
130
|
+
*/
|
|
131
|
+
export declare function updateResourceType({ resourceTypeUuid, resourceTypeData, state, }: {
|
|
132
|
+
resourceTypeUuid: string;
|
|
133
|
+
resourceTypeData: ResourceTypeSkeleton;
|
|
134
|
+
state: State;
|
|
135
|
+
}): Promise<ResourceTypeSkeleton | null>;
|
|
136
|
+
export declare function deleteResourceType({ resourceTypeUuid, state, }: {
|
|
137
|
+
resourceTypeUuid: string;
|
|
138
|
+
state: State;
|
|
139
|
+
}): Promise<any>;
|
|
140
|
+
/**
|
|
141
|
+
* Delete resource type by name
|
|
142
|
+
* @param {string} resourceTypeName resource type name
|
|
143
|
+
* @returns {Promise<ResourceTypeSkeleton>} Promise resolvig to a resource type object
|
|
144
|
+
*/
|
|
145
|
+
export declare function deleteResourceTypeByName({ resourceTypeName, state, }: {
|
|
146
|
+
resourceTypeName: string;
|
|
147
|
+
state: State;
|
|
148
|
+
}): Promise<ResourceTypeSkeleton>;
|
|
149
|
+
/**
|
|
150
|
+
* Export resource type
|
|
151
|
+
* @param {string} resourceTypeUuid resource type uuid
|
|
152
|
+
* @returns {Promise<ResourceTypeExportInterface>} a promise that resolves to an ResourceTypeExportInterface object
|
|
153
|
+
*/
|
|
154
|
+
export declare function exportResourceType({ resourceTypeUuid, state, }: {
|
|
155
|
+
resourceTypeUuid: string;
|
|
156
|
+
state: State;
|
|
157
|
+
}): Promise<ResourceTypeExportInterface>;
|
|
158
|
+
/**
|
|
159
|
+
* Export resource type by name
|
|
160
|
+
* @param {string} resourceTypeName resource type name
|
|
161
|
+
* @returns {Promise<ResourceTypeExportInterface>} a promise that resolves to an ResourceTypeExportInterface object
|
|
162
|
+
*/
|
|
163
|
+
export declare function exportResourceTypeByName({ resourceTypeName, state, }: {
|
|
164
|
+
resourceTypeName: string;
|
|
165
|
+
state: State;
|
|
166
|
+
}): Promise<ResourceTypeExportInterface>;
|
|
167
|
+
/**
|
|
168
|
+
* Export resource types
|
|
169
|
+
* @returns {Promise<ResourceTypeExportInterface>} a promise that resolves to an ResourceTypeExportInterface object
|
|
170
|
+
*/
|
|
171
|
+
export declare function exportResourceTypes({ state, }: {
|
|
172
|
+
state: State;
|
|
173
|
+
}): Promise<ResourceTypeExportInterface>;
|
|
174
|
+
/**
|
|
175
|
+
* Import resource type by uuid
|
|
176
|
+
* @param {string} resourceTypeUuid client uuid
|
|
177
|
+
* @param {ResourceTypeExportInterface} importData import data
|
|
178
|
+
* @returns {Promise<ResourceTypeSkeleton | null>} a promise that resolves to the imported resource type object, or null if no update was made
|
|
179
|
+
*/
|
|
180
|
+
export declare function importResourceType({ resourceTypeUuid, importData, state, }: {
|
|
181
|
+
resourceTypeUuid: string;
|
|
182
|
+
importData: ResourceTypeExportInterface;
|
|
183
|
+
state: State;
|
|
184
|
+
}): Promise<ResourceTypeSkeleton | null>;
|
|
185
|
+
/**
|
|
186
|
+
* Import resource type by name
|
|
187
|
+
* @param {string} resourceTypeName client id
|
|
188
|
+
* @param {ResourceTypeExportInterface} importData import data
|
|
189
|
+
* @returns {Promise<ResourceTypeSkeleton | null>} a promise that resolves to the imported resource type object, or null if no update was made
|
|
190
|
+
*/
|
|
191
|
+
export declare function importResourceTypeByName({ resourceTypeName, importData, state, }: {
|
|
192
|
+
resourceTypeName: string;
|
|
193
|
+
importData: ResourceTypeExportInterface;
|
|
194
|
+
state: State;
|
|
195
|
+
}): Promise<ResourceTypeSkeleton | null>;
|
|
196
|
+
/**
|
|
197
|
+
* Import first resource type
|
|
198
|
+
* @param {ResourceTypeExportInterface} importData import data
|
|
199
|
+
* @returns {Promise<ResourceTypeSkeleton | null>} a promise that resolves to the imported resource type object, or null if no update was made
|
|
200
|
+
*/
|
|
201
|
+
export declare function importFirstResourceType({ importData, state, }: {
|
|
202
|
+
importData: ResourceTypeExportInterface;
|
|
203
|
+
state: State;
|
|
204
|
+
}): Promise<ResourceTypeSkeleton | null>;
|
|
205
|
+
/**
|
|
206
|
+
* Import resource types
|
|
207
|
+
* @param {ResourceTypeExportInterface} importData import data
|
|
208
|
+
* @returns {Promise<ResourceTypeSkeleton[]>} a promise that resolves to the imported resource type objects
|
|
209
|
+
*/
|
|
210
|
+
export declare function importResourceTypes({ importData, state, }: {
|
|
211
|
+
importData: ResourceTypeExportInterface;
|
|
212
|
+
state: State;
|
|
213
|
+
}): Promise<ResourceTypeSkeleton[]>;
|
|
214
|
+
export declare function createResourceType({ resourceTypeData, resourceTypeUuid, state, }: {
|
|
215
|
+
resourceTypeData: ResourceTypeSkeleton;
|
|
216
|
+
resourceTypeUuid?: string;
|
|
217
|
+
state: State;
|
|
218
|
+
}): Promise<ResourceTypeSkeleton>;
|
|
219
|
+
//# sourceMappingURL=ResourceTypeOps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ResourceTypeOps.d.ts","sourceRoot":"","sources":["../../src/ops/ResourceTypeOps.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,oBAAoB,EAC1B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAUxC,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAE5C,MAAM,MAAM,YAAY,GAAG;IACzB;;;;OAIG;IACH,gBAAgB,CAAC,gBAAgB,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;IAC1E;;;OAGG;IACH,iBAAiB,IAAI,OAAO,CAAC,oBAAoB,EAAE,CAAC,CAAC;IACrD;;;;OAIG;IACH,sBAAsB,CACpB,gBAAgB,EAAE,MAAM,GACvB,OAAO,CAAC,oBAAoB,CAAC,CAAC;IACjC;;;;;OAKG;IACH,kBAAkB,CAChB,gBAAgB,EAAE,oBAAoB,EACtC,gBAAgB,CAAC,EAAE,MAAM,GACxB,OAAO,CAAC,oBAAoB,CAAC,CAAC;IACjC;;;;;OAKG;IACH,kBAAkB,CAChB,gBAAgB,EAAE,MAAM,EACxB,gBAAgB,EAAE,oBAAoB,GACrC,OAAO,CAAC,oBAAoB,GAAG,IAAI,CAAC,CAAC;IACxC;;;;OAIG;IACH,kBAAkB,CAAC,gBAAgB,EAAE,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