@rockcarver/frodo-lib 4.10.0 → 4.11.0-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +6 -3
- package/types/api/AgentApi.d.ts +128 -0
- package/types/api/AgentApi.d.ts.map +1 -0
- package/types/api/AmConfigApi.d.ts +87 -0
- package/types/api/AmConfigApi.d.ts.map +1 -0
- package/types/api/ApiTypes.d.ts +59 -0
- package/types/api/ApiTypes.d.ts.map +1 -0
- package/types/api/AuthenticateApi.d.ts +38 -0
- package/types/api/AuthenticateApi.d.ts.map +1 -0
- package/types/api/AuthenticationSettingsApi.d.ts +31 -0
- package/types/api/AuthenticationSettingsApi.d.ts.map +1 -0
- package/types/api/BaseApi.d.ts +190 -0
- package/types/api/BaseApi.d.ts.map +1 -0
- package/types/api/CirclesOfTrustApi.d.ts +52 -0
- package/types/api/CirclesOfTrustApi.d.ts.map +1 -0
- package/types/api/IdmConfigApi.d.ts +69 -0
- package/types/api/IdmConfigApi.d.ts.map +1 -0
- package/types/api/IdmScriptApi.d.ts +17 -0
- package/types/api/IdmScriptApi.d.ts.map +1 -0
- package/types/api/IdmSystemApi.d.ts +111 -0
- package/types/api/IdmSystemApi.d.ts.map +1 -0
- package/types/api/InternalObjectApi.d.ts +103 -0
- package/types/api/InternalObjectApi.d.ts.map +1 -0
- package/types/api/ManagedObjectApi.d.ts +252 -0
- package/types/api/ManagedObjectApi.d.ts.map +1 -0
- package/types/api/ManagedSystemObjectApi.d.ts +150 -0
- package/types/api/ManagedSystemObjectApi.d.ts.map +1 -0
- package/types/api/NodeApi.d.ts +243 -0
- package/types/api/NodeApi.d.ts.map +1 -0
- package/types/api/OAuth2ClientApi.d.ts +78 -0
- package/types/api/OAuth2ClientApi.d.ts.map +1 -0
- package/types/api/OAuth2OIDCApi.d.ts +121 -0
- package/types/api/OAuth2OIDCApi.d.ts.map +1 -0
- package/types/api/OAuth2ProviderApi.d.ts +176 -0
- package/types/api/OAuth2ProviderApi.d.ts.map +1 -0
- package/types/api/OAuth2TrustedJwtIssuerApi.d.ts +54 -0
- package/types/api/OAuth2TrustedJwtIssuerApi.d.ts.map +1 -0
- package/types/api/PoliciesApi.d.ts +60 -0
- package/types/api/PoliciesApi.d.ts.map +1 -0
- package/types/api/PolicySetApi.d.ts +52 -0
- package/types/api/PolicySetApi.d.ts.map +1 -0
- package/types/api/RawConfigApi.d.ts +75 -0
- package/types/api/RawConfigApi.d.ts.map +1 -0
- package/types/api/RealmApi.d.ts +54 -0
- package/types/api/RealmApi.d.ts.map +1 -0
- package/types/api/ReconApi.d.ts +171 -0
- package/types/api/ReconApi.d.ts.map +1 -0
- package/types/api/ResourceTypesApi.d.ts +63 -0
- package/types/api/ResourceTypesApi.d.ts.map +1 -0
- package/types/api/Saml2Api.d.ts +112 -0
- package/types/api/Saml2Api.d.ts.map +1 -0
- package/types/api/ScriptApi.d.ts +94 -0
- package/types/api/ScriptApi.d.ts.map +1 -0
- package/types/api/ScriptTypeApi.d.ts +103 -0
- package/types/api/ScriptTypeApi.d.ts.map +1 -0
- package/types/api/SecretStoreApi.d.ts +185 -0
- package/types/api/SecretStoreApi.d.ts.map +1 -0
- package/types/api/ServerInfoApi.d.ts +26 -0
- package/types/api/ServerInfoApi.d.ts.map +1 -0
- package/types/api/ServiceApi.d.ts +102 -0
- package/types/api/ServiceApi.d.ts.map +1 -0
- package/types/api/SessionApi.d.ts +23 -0
- package/types/api/SessionApi.d.ts.map +1 -0
- package/types/api/SocialIdentityProvidersApi.d.ts +89 -0
- package/types/api/SocialIdentityProvidersApi.d.ts.map +1 -0
- package/types/api/TreeApi.d.ts +62 -0
- package/types/api/TreeApi.d.ts.map +1 -0
- package/types/api/UserApi.d.ts +159 -0
- package/types/api/UserApi.d.ts.map +1 -0
- package/types/api/classic/ServerApi.d.ts +78 -0
- package/types/api/classic/ServerApi.d.ts.map +1 -0
- package/types/api/classic/SiteApi.d.ts +39 -0
- package/types/api/classic/SiteApi.d.ts.map +1 -0
- package/types/api/cloud/AdminFederationProvidersApi.d.ts +71 -0
- package/types/api/cloud/AdminFederationProvidersApi.d.ts.map +1 -0
- package/types/api/cloud/EnvAIAgentApi.d.ts +9 -0
- package/types/api/cloud/EnvAIAgentApi.d.ts.map +1 -0
- package/types/api/cloud/EnvCSRsApi.d.ts +165 -0
- package/types/api/cloud/EnvCSRsApi.d.ts.map +1 -0
- package/types/api/cloud/EnvCertificatesApi.d.ts +74 -0
- package/types/api/cloud/EnvCertificatesApi.d.ts.map +1 -0
- package/types/api/cloud/EnvContentSecurityPolicyApi.d.ts +87 -0
- package/types/api/cloud/EnvContentSecurityPolicyApi.d.ts.map +1 -0
- package/types/api/cloud/EnvCookieDomainsApi.d.ts +26 -0
- package/types/api/cloud/EnvCookieDomainsApi.d.ts.map +1 -0
- package/types/api/cloud/EnvCustomDomainsApi.d.ts +37 -0
- package/types/api/cloud/EnvCustomDomainsApi.d.ts.map +1 -0
- package/types/api/cloud/EnvDirectConfigurationSessionApi.d.ts +43 -0
- package/types/api/cloud/EnvDirectConfigurationSessionApi.d.ts.map +1 -0
- package/types/api/cloud/EnvFederationEnforcementApi.d.ts +26 -0
- package/types/api/cloud/EnvFederationEnforcementApi.d.ts.map +1 -0
- package/types/api/cloud/EnvInfoApi.d.ts +22 -0
- package/types/api/cloud/EnvInfoApi.d.ts.map +1 -0
- package/types/api/cloud/EnvPromotionApi.d.ts +218 -0
- package/types/api/cloud/EnvPromotionApi.d.ts.map +1 -0
- package/types/api/cloud/EnvReleaseApi.d.ts +16 -0
- package/types/api/cloud/EnvReleaseApi.d.ts.map +1 -0
- package/types/api/cloud/EnvSSOCookieConfigApi.d.ts +35 -0
- package/types/api/cloud/EnvSSOCookieConfigApi.d.ts.map +1 -0
- package/types/api/cloud/EnvServiceAccountScopesApi.d.ts +17 -0
- package/types/api/cloud/EnvServiceAccountScopesApi.d.ts.map +1 -0
- package/types/api/cloud/EsvCountApi.d.ts +13 -0
- package/types/api/cloud/EsvCountApi.d.ts.map +1 -0
- package/types/api/cloud/FeatureApi.d.ts +16 -0
- package/types/api/cloud/FeatureApi.d.ts.map +1 -0
- package/types/api/cloud/IdmFeatureApi.d.ts +65 -0
- package/types/api/cloud/IdmFeatureApi.d.ts.map +1 -0
- package/types/api/cloud/LogApi.d.ts +108 -0
- package/types/api/cloud/LogApi.d.ts.map +1 -0
- package/types/api/cloud/SecretsApi.d.ts +163 -0
- package/types/api/cloud/SecretsApi.d.ts.map +1 -0
- package/types/api/cloud/StartupApi.d.ts +20 -0
- package/types/api/cloud/StartupApi.d.ts.map +1 -0
- package/types/api/cloud/TelemetryApi.d.ts +60 -0
- package/types/api/cloud/TelemetryApi.d.ts.map +1 -0
- package/types/api/cloud/VariablesApi.d.ts +86 -0
- package/types/api/cloud/VariablesApi.d.ts.map +1 -0
- package/types/api/cloud/WSFedApi.d.ts +495 -0
- package/types/api/cloud/WSFedApi.d.ts.map +1 -0
- package/types/api/cloud/iga/IgaCertificationTemplateApi.d.ts +227 -0
- package/types/api/cloud/iga/IgaCertificationTemplateApi.d.ts.map +1 -0
- package/types/api/cloud/iga/IgaEventApi.d.ts +111 -0
- package/types/api/cloud/iga/IgaEventApi.d.ts.map +1 -0
- package/types/api/cloud/iga/IgaGlossaryApi.d.ts +103 -0
- package/types/api/cloud/iga/IgaGlossaryApi.d.ts.map +1 -0
- package/types/api/cloud/iga/IgaRequestFormApi.d.ts +184 -0
- package/types/api/cloud/iga/IgaRequestFormApi.d.ts.map +1 -0
- package/types/api/cloud/iga/IgaRequestTypeApi.d.ts +124 -0
- package/types/api/cloud/iga/IgaRequestTypeApi.d.ts.map +1 -0
- package/types/api/cloud/iga/IgaWorkflowApi.d.ts +208 -0
- package/types/api/cloud/iga/IgaWorkflowApi.d.ts.map +1 -0
- package/types/ext/axios-curlirize/curlirize.d.ts +14 -0
- package/types/ext/axios-curlirize/curlirize.d.ts.map +1 -0
- package/types/ext/axios-curlirize/lib/CurlHelper.d.ts +12 -0
- package/types/ext/axios-curlirize/lib/CurlHelper.d.ts.map +1 -0
- package/types/index.d.ts +11 -0
- package/types/index.d.ts.map +1 -0
- package/types/lib/FrodoLib.d.ts +407 -0
- package/types/lib/FrodoLib.d.ts.map +1 -0
- package/types/lib/Help.d.ts +18 -0
- package/types/lib/Help.d.ts.map +1 -0
- package/types/mcp/CapabilityMetadata.d.ts +48 -0
- package/types/mcp/CapabilityMetadata.d.ts.map +1 -0
- package/types/mcp/CapabilityPolicy.d.ts +22 -0
- package/types/mcp/CapabilityPolicy.d.ts.map +1 -0
- package/types/mcp/CapabilityRegistry.d.ts +62 -0
- package/types/mcp/CapabilityRegistry.d.ts.map +1 -0
- package/types/mcp/CapabilityRouting.d.ts +9 -0
- package/types/mcp/CapabilityRouting.d.ts.map +1 -0
- package/types/mcp/CapabilityTypes.d.ts +371 -0
- package/types/mcp/CapabilityTypes.d.ts.map +1 -0
- package/types/mcp/DiscoveryHydration.d.ts +21 -0
- package/types/mcp/DiscoveryHydration.d.ts.map +1 -0
- package/types/mcp/DocsContext.d.ts +123 -0
- package/types/mcp/DocsContext.d.ts.map +1 -0
- package/types/mcp/McpService.d.ts +94 -0
- package/types/mcp/McpService.d.ts.map +1 -0
- package/types/mcp/ProfileRegistry.d.ts +63 -0
- package/types/mcp/ProfileRegistry.d.ts.map +1 -0
- package/types/mcp/SemanticIdentifiers.d.ts +17 -0
- package/types/mcp/SemanticIdentifiers.d.ts.map +1 -0
- package/types/mcp/SemanticObjectFamilies.d.ts +24 -0
- package/types/mcp/SemanticObjectFamilies.d.ts.map +1 -0
- package/types/mcp/ToolManifest.d.ts +231 -0
- package/types/mcp/ToolManifest.d.ts.map +1 -0
- package/types/mcp/ToolRuntime.d.ts +477 -0
- package/types/mcp/ToolRuntime.d.ts.map +1 -0
- package/types/mcp/index.d.ts +20 -0
- package/types/mcp/index.d.ts.map +1 -0
- package/types/ops/AdminOps.d.ts +85 -0
- package/types/ops/AdminOps.d.ts.map +1 -0
- package/types/ops/AgentOps.d.ts +938 -0
- package/types/ops/AgentOps.d.ts.map +1 -0
- package/types/ops/AmConfigOps.d.ts +96 -0
- package/types/ops/AmConfigOps.d.ts.map +1 -0
- package/types/ops/ApiFactoryOps.d.ts +77 -0
- package/types/ops/ApiFactoryOps.d.ts.map +1 -0
- package/types/ops/ApplicationOps.d.ts +334 -0
- package/types/ops/ApplicationOps.d.ts.map +1 -0
- package/types/ops/AuthenticateOps.d.ts +196 -0
- package/types/ops/AuthenticateOps.d.ts.map +1 -0
- package/types/ops/AuthenticationSettingsOps.d.ts +78 -0
- package/types/ops/AuthenticationSettingsOps.d.ts.map +1 -0
- package/types/ops/BrowserAuthenticateOps.d.ts +188 -0
- package/types/ops/BrowserAuthenticateOps.d.ts.map +1 -0
- package/types/ops/CallbackOps.d.ts +27 -0
- package/types/ops/CallbackOps.d.ts.map +1 -0
- package/types/ops/CallerTrustTierOps.d.ts +103 -0
- package/types/ops/CallerTrustTierOps.d.ts.map +1 -0
- package/types/ops/CirclesOfTrustOps.d.ts +203 -0
- package/types/ops/CirclesOfTrustOps.d.ts.map +1 -0
- package/types/ops/ConfigOps.d.ts +214 -0
- package/types/ops/ConfigOps.d.ts.map +1 -0
- package/types/ops/ConnectionProfileOps.d.ts +346 -0
- package/types/ops/ConnectionProfileOps.d.ts.map +1 -0
- package/types/ops/ConnectorOps.d.ts +269 -0
- package/types/ops/ConnectorOps.d.ts.map +1 -0
- package/types/ops/EmailTemplateOps.d.ts +160 -0
- package/types/ops/EmailTemplateOps.d.ts.map +1 -0
- package/types/ops/FrodoError.d.ts +40 -0
- package/types/ops/FrodoError.d.ts.map +1 -0
- package/types/ops/IdmConfigOps.d.ts +286 -0
- package/types/ops/IdmConfigOps.d.ts.map +1 -0
- package/types/ops/IdmCryptoOps.d.ts +68 -0
- package/types/ops/IdmCryptoOps.d.ts.map +1 -0
- package/types/ops/IdmScriptOps.d.ts +29 -0
- package/types/ops/IdmScriptOps.d.ts.map +1 -0
- package/types/ops/IdmSystemOps.d.ts +198 -0
- package/types/ops/IdmSystemOps.d.ts.map +1 -0
- package/types/ops/IdpOps.d.ts +234 -0
- package/types/ops/IdpOps.d.ts.map +1 -0
- package/types/ops/InfoOps.d.ts +28 -0
- package/types/ops/InfoOps.d.ts.map +1 -0
- package/types/ops/InternalRoleOps.d.ts +232 -0
- package/types/ops/InternalRoleOps.d.ts.map +1 -0
- package/types/ops/JoseOps.d.ts +87 -0
- package/types/ops/JoseOps.d.ts.map +1 -0
- package/types/ops/JourneyOps.d.ts +573 -0
- package/types/ops/JourneyOps.d.ts.map +1 -0
- package/types/ops/ManagedObjectOps.d.ts +393 -0
- package/types/ops/ManagedObjectOps.d.ts.map +1 -0
- package/types/ops/ManagedObjectSchemaOps.d.ts +757 -0
- package/types/ops/ManagedObjectSchemaOps.d.ts.map +1 -0
- package/types/ops/ManagedSystemObjectOps.d.ts +270 -0
- package/types/ops/ManagedSystemObjectOps.d.ts.map +1 -0
- package/types/ops/ManagedSystemObjectSchemaOps.d.ts +42 -0
- package/types/ops/ManagedSystemObjectSchemaOps.d.ts.map +1 -0
- package/types/ops/MappingOps.d.ts +332 -0
- package/types/ops/MappingOps.d.ts.map +1 -0
- package/types/ops/NodeOps.d.ts +627 -0
- package/types/ops/NodeOps.d.ts.map +1 -0
- package/types/ops/OAuth2ClientOps.d.ts +235 -0
- package/types/ops/OAuth2ClientOps.d.ts.map +1 -0
- package/types/ops/OAuth2OidcOps.d.ts +64 -0
- package/types/ops/OAuth2OidcOps.d.ts.map +1 -0
- package/types/ops/OAuth2ProviderOps.d.ts +57 -0
- package/types/ops/OAuth2ProviderOps.d.ts.map +1 -0
- package/types/ops/OAuth2TrustedJwtIssuerOps.d.ts +223 -0
- package/types/ops/OAuth2TrustedJwtIssuerOps.d.ts.map +1 -0
- package/types/ops/OpsTypes.d.ts +12 -0
- package/types/ops/OpsTypes.d.ts.map +1 -0
- package/types/ops/OrganizationOps.d.ts +34 -0
- package/types/ops/OrganizationOps.d.ts.map +1 -0
- package/types/ops/PolicyOps.d.ts +294 -0
- package/types/ops/PolicyOps.d.ts.map +1 -0
- package/types/ops/PolicySetOps.d.ts +195 -0
- package/types/ops/PolicySetOps.d.ts.map +1 -0
- package/types/ops/PrivilegeEscalationOps.d.ts +51 -0
- package/types/ops/PrivilegeEscalationOps.d.ts.map +1 -0
- package/types/ops/RawConfigOps.d.ts +67 -0
- package/types/ops/RawConfigOps.d.ts.map +1 -0
- package/types/ops/RealmOps.d.ts +196 -0
- package/types/ops/RealmOps.d.ts.map +1 -0
- package/types/ops/ReconOps.d.ts +57 -0
- package/types/ops/ReconOps.d.ts.map +1 -0
- package/types/ops/RequiredScopesOps.d.ts +69 -0
- package/types/ops/RequiredScopesOps.d.ts.map +1 -0
- package/types/ops/ResourceTypeOps.d.ts +219 -0
- package/types/ops/ResourceTypeOps.d.ts.map +1 -0
- package/types/ops/Saml2Ops.d.ts +261 -0
- package/types/ops/Saml2Ops.d.ts.map +1 -0
- package/types/ops/ScriptOps.d.ts +426 -0
- package/types/ops/ScriptOps.d.ts.map +1 -0
- package/types/ops/ScriptTypeOps.d.ts +124 -0
- package/types/ops/ScriptTypeOps.d.ts.map +1 -0
- package/types/ops/SecretStoreOps.d.ts +357 -0
- package/types/ops/SecretStoreOps.d.ts.map +1 -0
- package/types/ops/ServiceOps.d.ts +194 -0
- package/types/ops/ServiceOps.d.ts.map +1 -0
- package/types/ops/SessionOps.d.ts +22 -0
- package/types/ops/SessionOps.d.ts.map +1 -0
- package/types/ops/ThemeOps.d.ts +245 -0
- package/types/ops/ThemeOps.d.ts.map +1 -0
- package/types/ops/TokenCacheOps.d.ts +243 -0
- package/types/ops/TokenCacheOps.d.ts.map +1 -0
- package/types/ops/UserOps.d.ts +199 -0
- package/types/ops/UserOps.d.ts.map +1 -0
- package/types/ops/VersionUtils.d.ts +29 -0
- package/types/ops/VersionUtils.d.ts.map +1 -0
- package/types/ops/classic/ServerOps.d.ts +195 -0
- package/types/ops/classic/ServerOps.d.ts.map +1 -0
- package/types/ops/classic/SiteOps.d.ts +117 -0
- package/types/ops/classic/SiteOps.d.ts.map +1 -0
- package/types/ops/cloud/AdminFederationOps.d.ts +165 -0
- package/types/ops/cloud/AdminFederationOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvAIAgentOps.d.ts +18 -0
- package/types/ops/cloud/EnvAIAgentOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvCSRsOps.d.ts +86 -0
- package/types/ops/cloud/EnvCSRsOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvCertificatesOps.d.ts +140 -0
- package/types/ops/cloud/EnvCertificatesOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvContentSecurityPolicyOps.d.ts +101 -0
- package/types/ops/cloud/EnvContentSecurityPolicyOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvCookieDomainsOps.d.ts +36 -0
- package/types/ops/cloud/EnvCookieDomainsOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvCustomDomainsOps.d.ts +53 -0
- package/types/ops/cloud/EnvCustomDomainsOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvDirectConfigurationSessionOps.d.ts +55 -0
- package/types/ops/cloud/EnvDirectConfigurationSessionOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvFederationEnforcementOps.d.ts +58 -0
- package/types/ops/cloud/EnvFederationEnforcementOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvPromotionOps.d.ts +175 -0
- package/types/ops/cloud/EnvPromotionOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvReleaseOps.d.ts +19 -0
- package/types/ops/cloud/EnvReleaseOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvSSOCookieConfigOps.d.ts +50 -0
- package/types/ops/cloud/EnvSSOCookieConfigOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvServiceAccountScopesOps.d.ts +21 -0
- package/types/ops/cloud/EnvServiceAccountScopesOps.d.ts.map +1 -0
- package/types/ops/cloud/EsvCountOps.d.ts +15 -0
- package/types/ops/cloud/EsvCountOps.d.ts.map +1 -0
- package/types/ops/cloud/FeatureOps.d.ts +34 -0
- package/types/ops/cloud/FeatureOps.d.ts.map +1 -0
- package/types/ops/cloud/IdmFeatureOps.d.ts +78 -0
- package/types/ops/cloud/IdmFeatureOps.d.ts.map +1 -0
- package/types/ops/cloud/LogOps.d.ts +271 -0
- package/types/ops/cloud/LogOps.d.ts.map +1 -0
- package/types/ops/cloud/SecretsOps.d.ts +306 -0
- package/types/ops/cloud/SecretsOps.d.ts.map +1 -0
- package/types/ops/cloud/ServiceAccountOps.d.ts +86 -0
- package/types/ops/cloud/ServiceAccountOps.d.ts.map +1 -0
- package/types/ops/cloud/StartupOps.d.ts +62 -0
- package/types/ops/cloud/StartupOps.d.ts.map +1 -0
- package/types/ops/cloud/TelemetryOps.d.ts +109 -0
- package/types/ops/cloud/TelemetryOps.d.ts.map +1 -0
- package/types/ops/cloud/VariablesOps.d.ts +224 -0
- package/types/ops/cloud/VariablesOps.d.ts.map +1 -0
- package/types/ops/cloud/WSFedOps.d.ts +412 -0
- package/types/ops/cloud/WSFedOps.d.ts.map +1 -0
- package/types/ops/cloud/iga/IgaCertificationTemplateOps.d.ts +261 -0
- package/types/ops/cloud/iga/IgaCertificationTemplateOps.d.ts.map +1 -0
- package/types/ops/cloud/iga/IgaEventOps.d.ts +242 -0
- package/types/ops/cloud/iga/IgaEventOps.d.ts.map +1 -0
- package/types/ops/cloud/iga/IgaGlossaryOps.d.ts +241 -0
- package/types/ops/cloud/iga/IgaGlossaryOps.d.ts.map +1 -0
- package/types/ops/cloud/iga/IgaRequestFormOps.d.ts +259 -0
- package/types/ops/cloud/iga/IgaRequestFormOps.d.ts.map +1 -0
- package/types/ops/cloud/iga/IgaRequestTypeOps.d.ts +240 -0
- package/types/ops/cloud/iga/IgaRequestTypeOps.d.ts.map +1 -0
- package/types/ops/cloud/iga/IgaWorkflowOps.d.ts +334 -0
- package/types/ops/cloud/iga/IgaWorkflowOps.d.ts.map +1 -0
- package/types/ops/internal/RelationshipHelpers.d.ts +111 -0
- package/types/ops/internal/RelationshipHelpers.d.ts.map +1 -0
- package/types/shared/Constants.d.ts +100 -0
- package/types/shared/Constants.d.ts.map +1 -0
- package/types/shared/OperationType.d.ts +14 -0
- package/types/shared/OperationType.d.ts.map +1 -0
- package/types/shared/State.d.ts +355 -0
- package/types/shared/State.d.ts.map +1 -0
- package/types/shared/Version.d.ts +16 -0
- package/types/shared/Version.d.ts.map +1 -0
- package/types/test/mocks/ForgeRockApiMockEngine.d.ts +38 -0
- package/types/test/mocks/ForgeRockApiMockEngine.d.ts.map +1 -0
- package/types/test/setup/EmailTemplateSetup.d.ts +8 -0
- package/types/test/setup/EmailTemplateSetup.d.ts.map +1 -0
- package/types/test/setup/IgaCertificationTemplateSetup.d.ts +12 -0
- package/types/test/setup/IgaCertificationTemplateSetup.d.ts.map +1 -0
- package/types/test/setup/IgaEventSetup.d.ts +22 -0
- package/types/test/setup/IgaEventSetup.d.ts.map +1 -0
- package/types/test/setup/IgaGlossarySetup.d.ts +11 -0
- package/types/test/setup/IgaGlossarySetup.d.ts.map +1 -0
- package/types/test/setup/IgaRequestFormSetup.d.ts +42 -0
- package/types/test/setup/IgaRequestFormSetup.d.ts.map +1 -0
- package/types/test/setup/IgaRequestTypeSetup.d.ts +10 -0
- package/types/test/setup/IgaRequestTypeSetup.d.ts.map +1 -0
- package/types/test/setup/IgaWorkflowSetup.d.ts +32 -0
- package/types/test/setup/IgaWorkflowSetup.d.ts.map +1 -0
- package/types/test/setup/JourneySetup.d.ts +18 -0
- package/types/test/setup/JourneySetup.d.ts.map +1 -0
- package/types/test/setup/NodeSetup.d.ts +14 -0
- package/types/test/setup/NodeSetup.d.ts.map +1 -0
- package/types/test/setup/RawConfigSetup.d.ts +2 -0
- package/types/test/setup/RawConfigSetup.d.ts.map +1 -0
- package/types/test/setup/SecretSetup.d.ts +69 -0
- package/types/test/setup/SecretSetup.d.ts.map +1 -0
- package/types/test/setup/StartupSetup.d.ts +2 -0
- package/types/test/setup/StartupSetup.d.ts.map +1 -0
- package/types/test/setup/TelemetrySetup.d.ts +8 -0
- package/types/test/setup/TelemetrySetup.d.ts.map +1 -0
- package/types/test/setup/VariablesSetup.d.ts +27 -0
- package/types/test/setup/VariablesSetup.d.ts.map +1 -0
- package/types/test/utils/TestUtils.d.ts +15 -0
- package/types/test/utils/TestUtils.d.ts.map +1 -0
- package/types/utils/AsyncUtils.d.ts +14 -0
- package/types/utils/AsyncUtils.d.ts.map +1 -0
- package/types/utils/AutoSetupPolly.d.ts +25 -0
- package/types/utils/AutoSetupPolly.d.ts.map +1 -0
- package/types/utils/Base64Utils.d.ts +41 -0
- package/types/utils/Base64Utils.d.ts.map +1 -0
- package/types/utils/ColorTheme.d.ts +40 -0
- package/types/utils/ColorTheme.d.ts.map +1 -0
- package/types/utils/Console.d.ts +110 -0
- package/types/utils/Console.d.ts.map +1 -0
- package/types/utils/CryptoUtils.d.ts +35 -0
- package/types/utils/CryptoUtils.d.ts.map +1 -0
- package/types/utils/DataProtection.d.ts +24 -0
- package/types/utils/DataProtection.d.ts.map +1 -0
- package/types/utils/ExportImportUtils.d.ts +415 -0
- package/types/utils/ExportImportUtils.d.ts.map +1 -0
- package/types/utils/ForgeRockUtils.d.ts +122 -0
- package/types/utils/ForgeRockUtils.d.ts.map +1 -0
- package/types/utils/FrodoNodeHttpAdapter.d.ts +5 -0
- package/types/utils/FrodoNodeHttpAdapter.d.ts.map +1 -0
- package/types/utils/FrodoUtils.d.ts +15 -0
- package/types/utils/FrodoUtils.d.ts.map +1 -0
- package/types/utils/HelpUtils.d.ts +19 -0
- package/types/utils/HelpUtils.d.ts.map +1 -0
- package/types/utils/JsonUtils.d.ts +105 -0
- package/types/utils/JsonUtils.d.ts.map +1 -0
- package/types/utils/JwtUtils.d.ts +19 -0
- package/types/utils/JwtUtils.d.ts.map +1 -0
- package/types/utils/PkceUtils.d.ts +17 -0
- package/types/utils/PkceUtils.d.ts.map +1 -0
- package/types/utils/PollyUtils.d.ts +65 -0
- package/types/utils/PollyUtils.d.ts.map +1 -0
- package/types/utils/ScriptValidationUtils.d.ts +38 -0
- package/types/utils/ScriptValidationUtils.d.ts.map +1 -0
- package/types/utils/SemverUtils.d.ts +61 -0
- package/types/utils/SemverUtils.d.ts.map +1 -0
- package/types/utils/SetupPollyForFrodoLib.d.ts +7 -0
- package/types/utils/SetupPollyForFrodoLib.d.ts.map +1 -0
- package/types/utils/TerminalBackgroundDetection.d.ts +48 -0
- package/types/utils/TerminalBackgroundDetection.d.ts.map +1 -0
- package/types/utils/TerminalContrast.d.ts +44 -0
- package/types/utils/TerminalContrast.d.ts.map +1 -0
package/dist/index.js
CHANGED
|
@@ -54565,7 +54565,7 @@ init_ColorTheme();
|
|
|
54565
54565
|
init_CryptoUtils();
|
|
54566
54566
|
init_JsonUtils();
|
|
54567
54567
|
var name = "@rockcarver/frodo-lib";
|
|
54568
|
-
var version$1 = "4.
|
|
54568
|
+
var version$1 = "4.11.0";
|
|
54569
54569
|
//#endregion
|
|
54570
54570
|
//#region src/shared/Version.ts
|
|
54571
54571
|
var getUserAgent, getPackageVersion, getVersionFromPackage, getLibBuildTimestamp;
|
|
@@ -54573,7 +54573,7 @@ var init_Version = __esmMin((() => {
|
|
|
54573
54573
|
getUserAgent = () => `${name}/${version$1}`;
|
|
54574
54574
|
getPackageVersion = () => `v${version$1} [${process.version}]`;
|
|
54575
54575
|
getVersionFromPackage = () => version$1;
|
|
54576
|
-
getLibBuildTimestamp = () => "2026-10-
|
|
54576
|
+
getLibBuildTimestamp = () => "2026-10-04T14:28:30.822Z";
|
|
54577
54577
|
}));
|
|
54578
54578
|
//#endregion
|
|
54579
54579
|
//#region src/shared/State.ts
|
package/dist/index.mjs
CHANGED
|
@@ -54599,7 +54599,7 @@ function stringify(obj) {
|
|
|
54599
54599
|
//#endregion
|
|
54600
54600
|
//#region package.json
|
|
54601
54601
|
var name = "@rockcarver/frodo-lib";
|
|
54602
|
-
var version$1 = "4.
|
|
54602
|
+
var version$1 = "4.11.0";
|
|
54603
54603
|
//#endregion
|
|
54604
54604
|
//#region src/shared/Version.ts
|
|
54605
54605
|
const getUserAgent = () => `${name}/${version$1}`;
|
|
@@ -54616,7 +54616,7 @@ const getVersionFromPackage = () => version$1;
|
|
|
54616
54616
|
* ts-node) rather than a tsup build, since no bundler ever substitutes the
|
|
54617
54617
|
* identifier there.
|
|
54618
54618
|
*/
|
|
54619
|
-
const getLibBuildTimestamp = () => "2026-10-
|
|
54619
|
+
const getLibBuildTimestamp = () => "2026-10-04T14:28:30.822Z";
|
|
54620
54620
|
//#endregion
|
|
54621
54621
|
//#region src/shared/State.ts
|
|
54622
54622
|
var State_default = (initialState) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rockcarver/frodo-lib",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.11.0-1",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -8,11 +8,14 @@
|
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
10
|
"require": "./dist/index.js",
|
|
11
|
-
"import": "./dist/index.mjs"
|
|
12
|
-
|
|
11
|
+
"import": "./dist/index.mjs",
|
|
12
|
+
"types": "./dist/index.d.ts"
|
|
13
|
+
},
|
|
14
|
+
"./types/*": "./types/*"
|
|
13
15
|
},
|
|
14
16
|
"files": [
|
|
15
17
|
"dist",
|
|
18
|
+
"types",
|
|
16
19
|
"scripts/patch-axios-types.cjs",
|
|
17
20
|
"LICENSE",
|
|
18
21
|
"README.md",
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { State } from '../shared/State';
|
|
2
|
+
import { EntityType, PagedResult, QueryResult, type AmConfigEntityInterface } from './ApiTypes';
|
|
3
|
+
export type PolicyAgentType = '2.2_Agent';
|
|
4
|
+
export type GatewayAgentType = 'IdentityGatewayAgent';
|
|
5
|
+
export type JavaAgentType = 'J2EEAgent';
|
|
6
|
+
export type OAuth2ClientType = 'OAuth2Client';
|
|
7
|
+
export type OAuth2ThingType = 'OAuth2Thing';
|
|
8
|
+
export type RemoteConsentAgentType = 'RemoteConsentAgent';
|
|
9
|
+
export type SharedAgentType = 'SharedAgent';
|
|
10
|
+
export type SoapSTSAgentType = 'SoapSTSAgent';
|
|
11
|
+
export type SoftwarePublisherType = 'SoftwarePublisher';
|
|
12
|
+
export type WebAgentType = 'WebAgent';
|
|
13
|
+
export type AIAgentType = 'AIAgent';
|
|
14
|
+
export type AgentType = PolicyAgentType | GatewayAgentType | JavaAgentType | OAuth2ClientType | OAuth2ThingType | RemoteConsentAgentType | SharedAgentType | SoapSTSAgentType | SoftwarePublisherType | WebAgentType | AIAgentType | EntityType;
|
|
15
|
+
export type AgentTypeItem = {
|
|
16
|
+
_id: AgentType;
|
|
17
|
+
name: string;
|
|
18
|
+
collection: boolean;
|
|
19
|
+
};
|
|
20
|
+
export type AgentSkeleton = AmConfigEntityInterface;
|
|
21
|
+
export type AgentGroupSkeleton = AmConfigEntityInterface;
|
|
22
|
+
/**
|
|
23
|
+
* Get agent types
|
|
24
|
+
* @param {object} params structured and named parameters
|
|
25
|
+
* @param {State} params.state the state object
|
|
26
|
+
* @returns {Promise<QueryResult<AgentTypeItem>>} a promise that resolves to an object containing an array of agent types items
|
|
27
|
+
*/
|
|
28
|
+
export declare function getAgentTypes({ state, }: {
|
|
29
|
+
state: State;
|
|
30
|
+
}): Promise<QueryResult<AgentTypeItem>>;
|
|
31
|
+
/**
|
|
32
|
+
* Get agents
|
|
33
|
+
* @param {string} agentType agent type (IdentityGatewayAgent, J2EEAgent, WebAgent, etc.)
|
|
34
|
+
* @returns {Promise<PagedResult<AgentSkeleton>>} a promise that resolves to an object containing an array of agent objects of the specified type
|
|
35
|
+
*/
|
|
36
|
+
export declare function getAgentsByType({ agentType, state, }: {
|
|
37
|
+
agentType: AgentType;
|
|
38
|
+
state: State;
|
|
39
|
+
}): Promise<PagedResult<AgentSkeleton>>;
|
|
40
|
+
/**
|
|
41
|
+
* Get all agents
|
|
42
|
+
* @param {boolean} globalConfig true if the global agents is the target of the operation, false otherwise. default: false
|
|
43
|
+
* @returns {Promise<PagedResult<AgentSkeleton>>} a promise that resolves to an object containing an array of agent objects
|
|
44
|
+
*/
|
|
45
|
+
export declare function getAgents({ state, globalConfig, }: {
|
|
46
|
+
state: State;
|
|
47
|
+
globalConfig?: boolean;
|
|
48
|
+
}): Promise<PagedResult<AgentSkeleton>>;
|
|
49
|
+
/**
|
|
50
|
+
* Find agent by id
|
|
51
|
+
* @param {string} agentId agent id
|
|
52
|
+
* @returns {Promise<AgentSkeleton[]>} a promise that resolves to an array with one or zero agent objects
|
|
53
|
+
*/
|
|
54
|
+
export declare function findAgentById({ agentId, state, }: {
|
|
55
|
+
agentId: string;
|
|
56
|
+
state: State;
|
|
57
|
+
}): Promise<AgentSkeleton[]>;
|
|
58
|
+
/**
|
|
59
|
+
* Find agent by id
|
|
60
|
+
* @param {string} agentType agent type (IdentityGatewayAgent, J2EEAgent, WebAgent, etc.)
|
|
61
|
+
* @param {string} agentId agent id
|
|
62
|
+
* @returns {Promise<AgentSkeleton[]>} a promise that resolves to an array with one or zero agent objects
|
|
63
|
+
*/
|
|
64
|
+
export declare function findAgentByTypeAndId({ agentType, agentId, state, }: {
|
|
65
|
+
agentType: AgentType;
|
|
66
|
+
agentId: string;
|
|
67
|
+
state: State;
|
|
68
|
+
}): Promise<AgentSkeleton[]>;
|
|
69
|
+
/**
|
|
70
|
+
* Get agent
|
|
71
|
+
* @param {string} agentType agent type (IdentityGatewayAgent, J2EEAgent, WebAgent, etc.)
|
|
72
|
+
* @param {string} agentId agent id
|
|
73
|
+
* @param {boolean} globalConfig true if global agent is the target of the operation, false otherwise. Default: false.
|
|
74
|
+
* @returns {Promise<AgentSkeleton>} a promise that resolves to an object containing an agent object of the specified type
|
|
75
|
+
*/
|
|
76
|
+
export declare function getAgentByTypeAndId({ agentType, agentId, globalConfig, state, }: {
|
|
77
|
+
agentType: AgentType;
|
|
78
|
+
agentId: string;
|
|
79
|
+
globalConfig: boolean;
|
|
80
|
+
state: State;
|
|
81
|
+
}): Promise<any>;
|
|
82
|
+
/**
|
|
83
|
+
* Put agent
|
|
84
|
+
* @param {string} agentType agent type (IdentityGatewayAgent, J2EEAgent, WebAgent, etc.)
|
|
85
|
+
* @param {string} agentId agent id
|
|
86
|
+
* @param {AgentSkeleton} agentData agent object
|
|
87
|
+
* @param {boolean} globalConfig true if global agent is the target of the operation, false otherwise. Default: false.
|
|
88
|
+
* @returns {Promise<AgentSkeleton>} a promise that resolves to an object containing an agent object
|
|
89
|
+
*/
|
|
90
|
+
export declare function putAgentByTypeAndId({ agentType, agentId, agentData, globalConfig, state, }: {
|
|
91
|
+
agentType: AgentType;
|
|
92
|
+
agentId: string;
|
|
93
|
+
agentData: AgentSkeleton;
|
|
94
|
+
globalConfig: boolean;
|
|
95
|
+
state: State;
|
|
96
|
+
}): Promise<AgentSkeleton>;
|
|
97
|
+
/**
|
|
98
|
+
* Put agent group
|
|
99
|
+
* @param {string} agentType agent type (IdentityGatewayAgent, J2EEAgent, WebAgent, etc.)
|
|
100
|
+
* @param {string} agentGroupId agent group id
|
|
101
|
+
* @param {AgentGroupSkeleton} agentGroupData agent group object
|
|
102
|
+
* @returns {Promise<AgentGroupSkeleton>} a promise that resolves to an object containing an agent group object
|
|
103
|
+
*/
|
|
104
|
+
export declare function putAgentGroupByTypeAndId({ agentType, agentGroupId, agentGroupData, state, }: {
|
|
105
|
+
agentType: AgentType;
|
|
106
|
+
agentGroupId: string;
|
|
107
|
+
agentGroupData: AgentGroupSkeleton;
|
|
108
|
+
state: State;
|
|
109
|
+
}): Promise<AgentGroupSkeleton>;
|
|
110
|
+
/**
|
|
111
|
+
* Delete agent
|
|
112
|
+
* @param {string} agentType agent type (IdentityGatewayAgent, J2EEAgent, WebAgent, etc.)
|
|
113
|
+
* @param {string} agentId agent id
|
|
114
|
+
* @returns {Promise<AgentSkeleton>} a promise that resolves to an object containing an agent object
|
|
115
|
+
*/
|
|
116
|
+
export declare function deleteAgentByTypeAndId({ agentType, agentId, state, }: {
|
|
117
|
+
agentType: AgentType;
|
|
118
|
+
agentId: string;
|
|
119
|
+
state: State;
|
|
120
|
+
}): Promise<AgentSkeleton>;
|
|
121
|
+
/**
|
|
122
|
+
* Get all agent groups
|
|
123
|
+
* @returns {Promise<PagedResult<AgentGroupSkeleton>>} a promise that resolves to an object containing an array of agent group objects
|
|
124
|
+
*/
|
|
125
|
+
export declare function getAgentGroups({ state, }: {
|
|
126
|
+
state: State;
|
|
127
|
+
}): Promise<PagedResult<AgentGroupSkeleton>>;
|
|
128
|
+
//# sourceMappingURL=AgentApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AgentApi.d.ts","sourceRoot":"","sources":["../../src/api/AgentApi.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAQxC,OAAO,EACL,UAAU,EACV,WAAW,EACX,WAAW,EACX,KAAK,uBAAuB,EAC7B,MAAM,YAAY,CAAC;AA+BpB,MAAM,MAAM,eAAe,GAAG,WAAW,CAAC;AAC1C,MAAM,MAAM,gBAAgB,GAAG,sBAAsB,CAAC;AACtD,MAAM,MAAM,aAAa,GAAG,WAAW,CAAC;AACxC,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC;AAC9C,MAAM,MAAM,eAAe,GAAG,aAAa,CAAC;AAC5C,MAAM,MAAM,sBAAsB,GAAG,oBAAoB,CAAC;AAC1D,MAAM,MAAM,eAAe,GAAG,aAAa,CAAC;AAC5C,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC;AAC9C,MAAM,MAAM,qBAAqB,GAAG,mBAAmB,CAAC;AACxD,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC;AACtC,MAAM,MAAM,WAAW,GAAG,S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,EAAE;IACD,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,WAAW,CAAC,kBAAkB,CAAC,CAAC,CAoB3C"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { State } from '../shared/State';
|
|
2
|
+
import { AmConfigEntityInterface, PagedResult } from './ApiTypes';
|
|
3
|
+
export interface AmConfigEntitiesInterface {
|
|
4
|
+
applicationTypes: AmConfigEntityInterface;
|
|
5
|
+
authenticationChains: AmConfigEntityInterface;
|
|
6
|
+
authenticationModules: AmConfigEntityInterface;
|
|
7
|
+
authenticationTreesConfiguration: AmConfigEntityInterface;
|
|
8
|
+
conditionTypes: AmConfigEntityInterface;
|
|
9
|
+
decisionCombiners: AmConfigEntityInterface;
|
|
10
|
+
secrets: AmConfigEntityInterface;
|
|
11
|
+
serverInformation: AmConfigEntityInterface;
|
|
12
|
+
serverVersion: AmConfigEntityInterface;
|
|
13
|
+
subjectAttributes: AmConfigEntityInterface;
|
|
14
|
+
subjectTypes: AmConfigEntityInterface;
|
|
15
|
+
webhookService: AmConfigEntityInterface;
|
|
16
|
+
wsEntity: AmConfigEntityInterface;
|
|
17
|
+
}
|
|
18
|
+
export type ConfigSkeleton = {
|
|
19
|
+
global: AmConfigEntitiesInterface;
|
|
20
|
+
realm: Record<string, AmConfigEntitiesInterface>;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Contains information about how to get a config entity.
|
|
24
|
+
*/
|
|
25
|
+
export type EntityInfo = {
|
|
26
|
+
realm?: EntitySubInfo;
|
|
27
|
+
global?: EntitySubInfo;
|
|
28
|
+
deployments?: string[];
|
|
29
|
+
queryFilter?: string;
|
|
30
|
+
action?: string;
|
|
31
|
+
readonly?: boolean;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Contains realm or global specific information about how to get a config entity. Settings like deployments, queryFilter, and action will override the values contained in the parent EntityInfo object if they are provided.
|
|
35
|
+
*/
|
|
36
|
+
export type EntitySubInfo = {
|
|
37
|
+
path: string;
|
|
38
|
+
version: string;
|
|
39
|
+
protocol?: string;
|
|
40
|
+
ifMatch?: string;
|
|
41
|
+
importWithId?: boolean;
|
|
42
|
+
deployments?: string[];
|
|
43
|
+
queryFilter?: string;
|
|
44
|
+
action?: string;
|
|
45
|
+
anonymous?: boolean;
|
|
46
|
+
};
|
|
47
|
+
export type ConfigEntitySkeleton = PagedResult<AmConfigEntityInterface> | AmConfigEntityInterface | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* Gets a single am config entity at the given realm and path
|
|
50
|
+
* @param {string} path path to the entity
|
|
51
|
+
* @param {string} version the api resource version
|
|
52
|
+
* @param {string} protocol the api protocol version
|
|
53
|
+
* @param {string} realm realm that the entity is in (or leave undefined to get global entity)
|
|
54
|
+
* @param {string} queryFilter the query filter
|
|
55
|
+
* @param {string} action the action
|
|
56
|
+
* @returns {Promise<ConfigEntitySkeleton>} the config entity data
|
|
57
|
+
*/
|
|
58
|
+
export declare function getConfigEntity({ state, path, version, protocol, realm, queryFilter, action, anonymous, }: {
|
|
59
|
+
state: State;
|
|
60
|
+
path: string;
|
|
61
|
+
version: string;
|
|
62
|
+
protocol?: string;
|
|
63
|
+
realm?: string;
|
|
64
|
+
queryFilter?: string;
|
|
65
|
+
action?: string;
|
|
66
|
+
anonymous?: boolean;
|
|
67
|
+
}): Promise<ConfigEntitySkeleton>;
|
|
68
|
+
/**
|
|
69
|
+
* Puts a single am config entity at the given realm and path
|
|
70
|
+
* @param {ConfigEntitySkeleton} entityData config entity object. If it's not provided, no import is performed.
|
|
71
|
+
* @param {string} path path to the entity
|
|
72
|
+
* @param {string} version the api resource version
|
|
73
|
+
* @param {string} protocol the api protocol version
|
|
74
|
+
* @param {string} ifMatch the if match condition
|
|
75
|
+
* @param {string} realm realm that the entity is in (or leave undefined to get global entity)
|
|
76
|
+
* @returns {Promise<ConfigEntitySkeleton>} the config entity object
|
|
77
|
+
*/
|
|
78
|
+
export declare function putConfigEntity({ state, entityData, path, version, protocol, ifMatch, realm, }: {
|
|
79
|
+
state: State;
|
|
80
|
+
entityData?: ConfigEntitySkeleton;
|
|
81
|
+
path: string;
|
|
82
|
+
version: string;
|
|
83
|
+
protocol?: string;
|
|
84
|
+
ifMatch?: string;
|
|
85
|
+
realm?: string;
|
|
86
|
+
}): Promise<ConfigEntitySkeleton>;
|
|
87
|
+
//# sourceMappingURL=AmConfigApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AmConfigApi.d.ts","sourceRoot":"","sources":["../../src/api/AmConfigApi.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAExC,OAAO,EAAE,uBAAuB,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAGlE,MAAM,WAAW,yBAAyB;IACxC,gBAAgB,EAAE,uBAAuB,CAAC;IAC1C,oBAAoB,EAAE,uBAAuB,CAAC;IAC9C,qBAAqB,EAAE,uBAAuB,CAAC;IAC/C,gCAAgC,EAAE,uBAAuB,CAAC;IAC1D,cAAc,EAAE,uBAAuB,CAAC;IACxC,iBAAiB,EAAE,uBAAuB,CAAC;IAC3C,OAAO,EAAE,uBAAuB,CAAC;IACjC,iBAAiB,EAAE,uBAAuB,CAAC;IAC3C,aAAa,EAAE,uBAAuB,CAAC;IACvC,iBAAiB,EAAE,uBAAuB,CAAC;IAC3C,YAAY,EAAE,uBAAuB,CAAC;IACtC,cAAc,EAAE,uBAAuB,CAAC;IACxC,QAAQ,EAAE,uBAAuB,CAAC;CACnC;AAUD,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,EAAE,yBAAyB,CAAC;IAClC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,yBAAyB,CAAC,CAAC;CAClD,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,WAAW,CAA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AK,CAAC;IACb,UAAU,CAAC,EAAE,oBAAoB,CAAC;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,OAAO,CAAC,oBAAoB,CAAC,CA6BhC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
export interface NoIdObjectSkeletonInterface {
|
|
2
|
+
_rev?: string;
|
|
3
|
+
[k: string]: string | number | boolean | string[] | IdObjectSkeletonInterface | object | undefined;
|
|
4
|
+
}
|
|
5
|
+
export interface IdObjectSkeletonInterface extends NoIdObjectSkeletonInterface {
|
|
6
|
+
_id?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface AmConfigEntityInterface extends IdObjectSkeletonInterface {
|
|
9
|
+
_type?: EntityType;
|
|
10
|
+
}
|
|
11
|
+
export type Readable<Type> = Type;
|
|
12
|
+
export type Writable<Type> = {
|
|
13
|
+
inherited: boolean;
|
|
14
|
+
value?: Type;
|
|
15
|
+
};
|
|
16
|
+
export type QueryResult<Type> = {
|
|
17
|
+
result: Type[];
|
|
18
|
+
};
|
|
19
|
+
export type PagedResult<Type> = {
|
|
20
|
+
result: Type[];
|
|
21
|
+
resultCount: number;
|
|
22
|
+
pagedResultsCookie: string;
|
|
23
|
+
totalPagedResultsPolicy: 'EXACT' | 'NONE';
|
|
24
|
+
totalPagedResults: number;
|
|
25
|
+
remainingPagedResults: number;
|
|
26
|
+
};
|
|
27
|
+
export type SearchResult<Type> = {
|
|
28
|
+
result: Type[];
|
|
29
|
+
resultCount: number;
|
|
30
|
+
totalCount?: number | null;
|
|
31
|
+
totalHits?: number | null;
|
|
32
|
+
searchAfterKey?: string | string[] | null;
|
|
33
|
+
};
|
|
34
|
+
export type EntityType = IdObjectSkeletonInterface & {
|
|
35
|
+
name: string;
|
|
36
|
+
collection: boolean;
|
|
37
|
+
};
|
|
38
|
+
export type SearchTargetOperator = 'AND' | 'EQUALS' | 'CONTAINS' | 'ALL' | 'OR' | 'STARTS_WITH' | 'ENDS_WITH' | 'EXISTS' | 'GTE' | 'GT' | 'LTE' | 'LT' | 'NOT';
|
|
39
|
+
export interface SearchTargetFilterOperation {
|
|
40
|
+
operator: SearchTargetOperator;
|
|
41
|
+
operand: SearchTargetFilterOperation[] | {
|
|
42
|
+
targetName: string;
|
|
43
|
+
targetValue: string | number | boolean;
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
export type Metadata = {
|
|
47
|
+
modifiedDate: string;
|
|
48
|
+
createdDate: string;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* See {@link https://backstage.forgerock.com/docs/idm/7.5/crest/crest-patch.html}.
|
|
52
|
+
*/
|
|
53
|
+
export interface PatchOperationInterface {
|
|
54
|
+
operation: 'add' | 'copy' | 'increment' | 'move' | 'remove' | 'replace' | 'transform';
|
|
55
|
+
field: string;
|
|
56
|
+
value?: any;
|
|
57
|
+
from?: string;
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=ApiTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApiTypes.d.ts","sourceRoot":"","sources":["../../src/api/ApiTypes.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,2BAA2B;IAC1C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,CAAC,CAAC,EAAE,MAAM,GACN,MAAM,GACN,MAAM,GACN,OAAO,GACP,MAAM,EAAE,GACR,yBAAyB,GACzB,MAAM,GACN,SAAS,CAAC;CACf;AAED,MAAM,WAAW,yBAA0B,SAAQ,2BAA2B;IAC5E,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,uBAAwB,SAAQ,yBAAyB;IACxE,KAAK,CAAC,EAAE,UAAU,CAAC;CACpB;AAED,MAAM,MAAM,QAAQ,CAAC,IAAI,IA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,GAAG,MAAM,GAAG,OAAO,CAAC;KACxC,CAAC;CACP;AAED,MAAM,MAAM,QAAQ,GAAG;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,SAAS,EACP,KAAK,GAAG,MAAM,GAAG,WAAW,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,GAAG,WAAW,CAAC;IAC7E,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { Callback } from '../ops/CallbackOps';
|
|
3
|
+
import { State } from '../shared/State';
|
|
4
|
+
export type AuthenticateStep = {
|
|
5
|
+
authId: string;
|
|
6
|
+
callbacks: Callback[];
|
|
7
|
+
template?: string;
|
|
8
|
+
stage?: string;
|
|
9
|
+
header?: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
};
|
|
12
|
+
export type AuthenticateSuccessResponse = {
|
|
13
|
+
tokenId: string;
|
|
14
|
+
successUrl: string;
|
|
15
|
+
realm: string;
|
|
16
|
+
};
|
|
17
|
+
export type AuthenticateErrorResponse = {
|
|
18
|
+
code: string;
|
|
19
|
+
reason: string;
|
|
20
|
+
message: string;
|
|
21
|
+
};
|
|
22
|
+
export type AuthenticateResponse = AuthenticateStep | AuthenticateSuccessResponse | AuthenticateErrorResponse;
|
|
23
|
+
/**
|
|
24
|
+
* Performs an authentication step using the service's authenticate endpoint
|
|
25
|
+
* @param {AuthenticateStep | Record<string, never>} body POST request body
|
|
26
|
+
* @param {AxiosRequestConfig<object>} config request config
|
|
27
|
+
* @param {string} realm realm
|
|
28
|
+
* @param {string} service name of authentication service/journey
|
|
29
|
+
* @returns Promise resolving to the authentication service response
|
|
30
|
+
*/
|
|
31
|
+
export declare function step({ body, config, realm, service, state, }: {
|
|
32
|
+
body?: AuthenticateStep | Record<string, never>;
|
|
33
|
+
config?: AxiosRequestConfig<object>;
|
|
34
|
+
realm?: string;
|
|
35
|
+
service?: string;
|
|
36
|
+
state: State;
|
|
37
|
+
}): Promise<AuthenticateResponse>;
|
|
38
|
+
//# sourceMappingURL=AuthenticateApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthenticateApi.d.ts","sourceRoot":"","sources":["../../src/api/AuthenticateApi.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAYxC,MAAM,MAAM,gBAAgB,GAAG;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG;IACxC,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAC9B,gBAAgB,GAAG,2BAA2B,GAAG,yBAAyB,CAAC;AAE7E;;;;;;;GAOG;AACH,wBAAsB,IAAI,CAAC,EACzB,IAAS,EACT,MAAW,EACX,KAAW,EACX,OAAmB,EACnB,KAAK,GACN,EAAE;IACD,IAAI,CAAC,EAAE,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IAChD,MAAM,CAAC,EAAE,kBAAkB,CAAC,MAAM,CAAC,CAAC;IACpC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAmBhC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { State } from '../shared/State';
|
|
2
|
+
import { type IdObjectSkeletonInterface } from './ApiTypes';
|
|
3
|
+
export type AuthenticationSettingsSkeleton = IdObjectSkeletonInterface & {
|
|
4
|
+
_id: '';
|
|
5
|
+
_type: {
|
|
6
|
+
_id: 'EMPTY';
|
|
7
|
+
name: 'Core';
|
|
8
|
+
collection: false;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Get authentication settings
|
|
13
|
+
* @param {boolean} globalConfig true if global authentication settings are the target of the operation, false otherwise. Default: false.
|
|
14
|
+
* @returns {Promise<AuthenticationSettingsSkeleton>} a promise that resolves to an authentication settings object
|
|
15
|
+
*/
|
|
16
|
+
export declare function getAuthenticationSettings({ state, globalConfig, }: {
|
|
17
|
+
state: State;
|
|
18
|
+
globalConfig: boolean;
|
|
19
|
+
}): Promise<AuthenticationSettingsSkeleton>;
|
|
20
|
+
/**
|
|
21
|
+
* Put authentication settings
|
|
22
|
+
* @param {AuthenticationSettingsSkeleton} settings authentication settings object
|
|
23
|
+
* @param {boolean} globalConfig true if global authentication settings are the target of the operation, false otherwise. Default: false.
|
|
24
|
+
* @returns {Promise<AuthenticationSettingsSkeleton>} a promise that resolves to an authentiction settings object
|
|
25
|
+
*/
|
|
26
|
+
export declare function putAuthenticationSettings({ settings, globalConfig, state, }: {
|
|
27
|
+
settings: AuthenticationSettingsSkeleton;
|
|
28
|
+
globalConfig: boolean;
|
|
29
|
+
state: State;
|
|
30
|
+
}): Promise<AuthenticationSettingsSkeleton>;
|
|
31
|
+
//# sourceMappingURL=AuthenticationSettingsApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthenticationSettingsApi.d.ts","sourceRoot":"","sources":["../../src/api/AuthenticationSettingsApi.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAGxC,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAY5D,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,GAAG;IACvE,GAAG,EAAE,EAAE,CAAC;IACR,KAAK,EAAE;QACL,GAAG,EAAE,OAAO,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,UAAU,EAAE,KAAK,CAAC;KACnB,CAAC;CACH,CAAC;AAEF;;;;GAIG;AACH,wBAAsB,yBAAyB,CAAC,EAC9C,KAAK,EACL,YAAoB,GACrB,EAAE;IACD,KAAK,EAAE,KAAK,CAAC;IACb,YAAY,EAAE,OAAO,CAAC;CACvB,GAAG,OAAO,CAAC,8BAA8B,CAAC,CAuB1C;AAED;;;;;GAKG;AACH,wBAAsB,yBAAyB,CAAC,EAC9C,QAAQ,EACR,YAAoB,EACpB,KAAK,GACN,EAAE;IACD,QAAQ,EAAE,8BAA8B,CAAC;IACzC,YAAY,EAAE,OAAO,CAAC;IACtB,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,8BAA8B,CAAC,CAuB1C"}
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import { AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { State } from '../shared/State';
|
|
3
|
+
export type ResourceConfig = {
|
|
4
|
+
apiVersion?: string;
|
|
5
|
+
};
|
|
6
|
+
export type RetryNothingStrategy = 'nothing';
|
|
7
|
+
export type RetryNetworkStrategy = 'network';
|
|
8
|
+
export type RetryEverythingStrategy = 'everything';
|
|
9
|
+
export type RetryStrategy = RetryNothingStrategy | RetryNetworkStrategy | RetryEverythingStrategy;
|
|
10
|
+
/**
|
|
11
|
+
* Generates an AM Axios API instance specifically for AM configuration endpoints
|
|
12
|
+
* @param {object} params Params object
|
|
13
|
+
* @param {ResourceConfig} params.resource Takes a resource object. example: { apiVersion: 'protocol=2.1,resource=1.0' }
|
|
14
|
+
* @param {AxiosRequestConfig} params.requestOverride Takes an object of AXIOS parameters that can be used to either
|
|
15
|
+
* add on extra information or override default properties https://github.com/axios/axios#request-config
|
|
16
|
+
* @param {string[]} params.requiredScopes OAuth2 scope(s) this specific endpoint requires, For cloud browser-login
|
|
17
|
+
* mode this drives the per-call RFC 8693 token exchange; for every other auth mode it's checked against
|
|
18
|
+
* the current session's already-granted scope (see `ops/RequiredScopesOps.ts`'s `assertHasRequiredScope`),
|
|
19
|
+
* a no-op outside cloud deployments.
|
|
20
|
+
* @param {State} params.state State object
|
|
21
|
+
*
|
|
22
|
+
* @returns {AxiosInstance} Returns a reaady to use Axios instance
|
|
23
|
+
*/
|
|
24
|
+
export declare function generateAmApi({ resource, requestOverride, requiredScopes, anonymous, state, }: {
|
|
25
|
+
resource: ResourceConfig;
|
|
26
|
+
requestOverride?: AxiosRequestConfig;
|
|
27
|
+
requiredScopes: string[];
|
|
28
|
+
anonymous?: boolean;
|
|
29
|
+
state: State;
|
|
30
|
+
}): AxiosInstance;
|
|
31
|
+
/**
|
|
32
|
+
* Generates an AM Axios API instance specifically for authentication endpoints
|
|
33
|
+
* @param {object} params Params object
|
|
34
|
+
* @param {ResourceConfig} params.resource Takes a resource object. example: { apiVersion: 'protocol=2.1,resource=1.0' }
|
|
35
|
+
* @param {AxiosRequestConfig} params.requestOverride Takes an object of AXIOS parameters that can be used to either
|
|
36
|
+
* add on extra information or override default properties https://github.com/axios/axios#request-config
|
|
37
|
+
* @param {State} params.state State object
|
|
38
|
+
*
|
|
39
|
+
* @returns {AxiosInstance} Returns a reaady to use Axios instance
|
|
40
|
+
*/
|
|
41
|
+
export declare function generateAmAuthApi({ resource, requestOverride, anonymous, state, }: {
|
|
42
|
+
resource: ResourceConfig;
|
|
43
|
+
requestOverride?: AxiosRequestConfig;
|
|
44
|
+
anonymous?: boolean;
|
|
45
|
+
state: State;
|
|
46
|
+
}): AxiosInstance;
|
|
47
|
+
/**
|
|
48
|
+
* Generates an OAuth2 Axios API instance
|
|
49
|
+
* @param {object} params Params object
|
|
50
|
+
* @param {ResourceConfig} params.resource Resource config object. Example: { apiVersion: 'protocol=2.1,resource=1.0' }
|
|
51
|
+
* @param {AxiosRequestConfig} params.requestOverride Takes an object of AXIOS parameters that can be used to either
|
|
52
|
+
* add on extra information or override default properties https://github.com/axios/axios#request-config
|
|
53
|
+
* @param {State} params.state State object
|
|
54
|
+
*
|
|
55
|
+
* @returns {AxiosInstance} Returns a reaady to use Axios instance
|
|
56
|
+
*/
|
|
57
|
+
export declare function generateOauth2Api({ resource, requestOverride, authenticate, state, }: {
|
|
58
|
+
resource: ResourceConfig;
|
|
59
|
+
requestOverride?: AxiosRequestConfig;
|
|
60
|
+
authenticate?: boolean;
|
|
61
|
+
state: State;
|
|
62
|
+
}): AxiosInstance;
|
|
63
|
+
/**
|
|
64
|
+
* Generates an IDM Axios API instance
|
|
65
|
+
* @param {object} params Params object
|
|
66
|
+
* @param {AxiosRequestConfig} params.requestOverride Takes an object of AXIOS parameters that can be used to either add
|
|
67
|
+
* on extra information or override default properties https://github.com/axios/axios#request-config
|
|
68
|
+
* @param {string[]} params.requiredScopes OAuth2 scope(s) this specific endpoint requires.
|
|
69
|
+
* Checked against the current session's already-granted scope (a no-op outside cloud deployments).
|
|
70
|
+
* @param {State} params.state State object
|
|
71
|
+
*
|
|
72
|
+
* @returns {AxiosInstance} Returns a reaady to use Axios instance
|
|
73
|
+
*/
|
|
74
|
+
export declare function generateIdmApi({ requestOverride, requiredScopes, state, }: {
|
|
75
|
+
requestOverride?: AxiosRequestConfig;
|
|
76
|
+
requiredScopes: string[];
|
|
77
|
+
state: State;
|
|
78
|
+
}): AxiosInstance;
|
|
79
|
+
/**
|
|
80
|
+
* Generates an IDM Axios API instance. Use this instance for IDM API calls that are related to
|
|
81
|
+
* the Identity Cloud Environment. This will ensure that any environment specific configuration
|
|
82
|
+
* is applied and custom configuration header overrides are not applied.
|
|
83
|
+
* @param {object} params Params object
|
|
84
|
+
* @param {AxiosRequestConfig} params.requestOverride Takes an object of AXIOS parameters that can be used to either add
|
|
85
|
+
* on extra information or override default properties https://github.com/axios/axios#request-config
|
|
86
|
+
* @param {string[]} params.requiredScopes OAuth2 scope(s) this specific endpoint requires.
|
|
87
|
+
* Checked against the current session's already-granted scope (a no-op outside cloud deployments).
|
|
88
|
+
* @param {State} params.state State object
|
|
89
|
+
*
|
|
90
|
+
* @returns {AxiosInstance} Returns a reaady to use Axios instance
|
|
91
|
+
*/
|
|
92
|
+
export declare function generateIdmSystemApi({ requestOverride, requiredScopes, state, }: {
|
|
93
|
+
requestOverride?: AxiosRequestConfig;
|
|
94
|
+
requiredScopes: string[];
|
|
95
|
+
state: State;
|
|
96
|
+
}): AxiosInstance;
|
|
97
|
+
/**
|
|
98
|
+
* Generates a LogKeys API Axios instance
|
|
99
|
+
* @param {object} params Params object
|
|
100
|
+
* @param {AxiosRequestConfig} params.requestOverride Takes an object of AXIOS parameters that can be used to either add
|
|
101
|
+
* on extra information or override default properties https://github.com/axios/axios#request-config
|
|
102
|
+
* @param {State} params.state State object
|
|
103
|
+
*
|
|
104
|
+
* @returns {AxiosInstance} Returns a reaady to use Axios instance
|
|
105
|
+
*/
|
|
106
|
+
export declare function generateLogKeysApi({ requestOverride, state, }: {
|
|
107
|
+
requestOverride?: AxiosRequestConfig;
|
|
108
|
+
state: State;
|
|
109
|
+
}): AxiosInstance;
|
|
110
|
+
/**
|
|
111
|
+
* Generates a Log API Axios instance
|
|
112
|
+
* @param {object} params Params object
|
|
113
|
+
* @param {AxiosRequestConfig} params.requestOverride Takes an object of AXIOS parameters that can be used to either add
|
|
114
|
+
* on extra information or override default properties https://github.com/axios/axios#request-config
|
|
115
|
+
* @param {State} params.state State object
|
|
116
|
+
*
|
|
117
|
+
* @returns {AxiosInstance} Returns a reaady to use Axios instance
|
|
118
|
+
*/
|
|
119
|
+
export declare function generateLogApi({ requestOverride, state, }: {
|
|
120
|
+
requestOverride?: AxiosRequestConfig;
|
|
121
|
+
state: State;
|
|
122
|
+
}): AxiosInstance;
|
|
123
|
+
/**
|
|
124
|
+
* Generates an Axios instance for the Identity Cloud Environment API
|
|
125
|
+
* @param {object} params Params object
|
|
126
|
+
* @param {ResourceConfig} params.resource Resource config object.
|
|
127
|
+
* @param {AxiosRequestConfig} params.requestOverride Takes an object of AXIOS parameters that can be used to either add
|
|
128
|
+
* on extra information or override default properties https://github.com/axios/axios#request-config
|
|
129
|
+
* @param {string[]} params.requiredScopes OAuth2 scope(s) this specific endpoint requires.
|
|
130
|
+
* Checked against the current session's already-granted scope (a no-op outside cloud deployments).
|
|
131
|
+
* @param {State} params.state State object
|
|
132
|
+
*
|
|
133
|
+
* @returns {AxiosInstance} Returns a reaady to use Axios instance
|
|
134
|
+
*/
|
|
135
|
+
export declare function generateEnvApi({ resource, requestOverride, requiredScopes, state, }: {
|
|
136
|
+
resource: ResourceConfig;
|
|
137
|
+
requestOverride?: AxiosRequestConfig;
|
|
138
|
+
requiredScopes: string[];
|
|
139
|
+
state: State;
|
|
140
|
+
}): AxiosInstance;
|
|
141
|
+
/**
|
|
142
|
+
* Generates an Axios instance for the Identity Cloud Governance API
|
|
143
|
+
* @param {object} params Params object
|
|
144
|
+
* @param {ResourceConfig} params.resource Resource config object.
|
|
145
|
+
* @param {AxiosRequestConfig} params.requestOverride Takes an object of AXIOS parameters that can be used to either add
|
|
146
|
+
* on extra information or override default properties https://github.com/axios/axios#request-config
|
|
147
|
+
* @param {string[]} params.requiredScopes OAuth2 scope(s) this specific endpoint requires.
|
|
148
|
+
* Checked against the current session's already-granted scope (a no-op outside cloud deployments).
|
|
149
|
+
* @param {State} params.state State object
|
|
150
|
+
*
|
|
151
|
+
* @returns {AxiosInstance} Returns a reaady to use Axios instance
|
|
152
|
+
*/
|
|
153
|
+
export declare function generateGovernanceApi({ resource, requestOverride, requiredScopes, state, }: {
|
|
154
|
+
resource: ResourceConfig;
|
|
155
|
+
requestOverride?: AxiosRequestConfig;
|
|
156
|
+
requiredScopes: string[];
|
|
157
|
+
state: State;
|
|
158
|
+
}): AxiosInstance;
|
|
159
|
+
/**
|
|
160
|
+
* Generates an Axios instance for the Identity Cloud WS-Fed API
|
|
161
|
+
* @param {object} params Params object
|
|
162
|
+
* @param {ResourceConfig} params.resource Resource config object.
|
|
163
|
+
* @param {AxiosRequestConfig} params.requestOverride Takes an object of AXIOS parameters that can be used to either add
|
|
164
|
+
* on extra information or override default properties https://github.com/axios/axios#request-config
|
|
165
|
+
* @param {string[]} params.requiredScopes OAuth2 scope(s) this specific endpoint requires.
|
|
166
|
+
* Checked against the PingFederate bearer token's already-granted scope (a no-op outside cloud deployments).
|
|
167
|
+
* @param {State} params.state State object
|
|
168
|
+
*
|
|
169
|
+
* @returns {AxiosInstance} Returns a reaady to use Axios instance
|
|
170
|
+
*/
|
|
171
|
+
export declare function generateWSFedApi({ requestOverride, requiredScopes, state, }: {
|
|
172
|
+
requestOverride?: AxiosRequestConfig;
|
|
173
|
+
requiredScopes: string[];
|
|
174
|
+
state: State;
|
|
175
|
+
}): AxiosInstance;
|
|
176
|
+
/**
|
|
177
|
+
* Generates a release (Github or Npm) Axios API instance
|
|
178
|
+
* @param {object} params Params object
|
|
179
|
+
* @param {AxiosRequestConfig} params.requestOverride Takes an object of AXIOS parameters that can be used to either add
|
|
180
|
+
* on extra information or override default properties https://github.com/axios/axios#request-config
|
|
181
|
+
* @param {State} params.state State object
|
|
182
|
+
*
|
|
183
|
+
* @returns {AxiosInstance} Returns a reaady to use Axios instance
|
|
184
|
+
*/
|
|
185
|
+
export declare function generateReleaseApi({ baseUrl, requestOverride, state, }: {
|
|
186
|
+
baseUrl: string;
|
|
187
|
+
requestOverride?: AxiosRequestConfig;
|
|
188
|
+
state: State;
|
|
189
|
+
}): AxiosInstance;
|
|
190
|
+
//# sourceMappingURL=BaseApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseApi.d.ts","sourceRoot":"","sources":["../../src/api/BaseApi.ts"],"names":[],"mappings":"AACA,OAAc,EAEZ,aAAa,EAEb,kBAAkB,EACnB,MAAM,OAAO,CAAC;AAUf,OAAkB,EAAwB,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAMzE,MAAM,MAAM,cAAc,GAAG;IAAE,UAAU,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAErD,MAAM,MAAM,oBAAoB,GAAG,SAAS,CAAC;AAC7C,MAAM,MAAM,oBAAoB,GAAG,SAAS,CAAC;AAC7C,MAAM,MAAM,uBAAuB,GAAG,YAAY,CAAC;AACnD,MAAM,MAAM,aAAa,GACvB,oBAAoB,GAAG,oBAAoB,GAAG,uBAAuB,CAAC;AA8iBxE;;;;;;;;;;;;;GAaG;AACH,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,eAAoB,EACpB,cAAc,EACd,SAAiB,EACjB,KAAK,GACN,EAAE;IACD,QAAQ,EAAE,cAAc,CAAC;IACzB,eAAe,CAAC,EAAE,kBAAkB,CAAC;IACrC,cAAc,EAAE,MAAM,EAAE,CAAC;IAMzB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,aAAa,CAiDhB;AAED;;;;;;;;;GASG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,QAAQ,EACR,eAAoB,EACpB,SAAiB,EACjB,KAAK,GACN,EAAE;IACD,QAAQ,EAAE,cAAc,CAAC;IACzB,eAAe,CAAC,EAAE,kBAAkB,CAAC;IAOrC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,aAAa,CA+ChB;AAED;;;;;;;;;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