@rockcarver/frodo-lib 4.10.0-1 → 4.11.0-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +6 -3
- package/types/api/AgentApi.d.ts +128 -0
- package/types/api/AgentApi.d.ts.map +1 -0
- package/types/api/AmConfigApi.d.ts +87 -0
- package/types/api/AmConfigApi.d.ts.map +1 -0
- package/types/api/ApiTypes.d.ts +59 -0
- package/types/api/ApiTypes.d.ts.map +1 -0
- package/types/api/AuthenticateApi.d.ts +38 -0
- package/types/api/AuthenticateApi.d.ts.map +1 -0
- package/types/api/AuthenticationSettingsApi.d.ts +31 -0
- package/types/api/AuthenticationSettingsApi.d.ts.map +1 -0
- package/types/api/BaseApi.d.ts +190 -0
- package/types/api/BaseApi.d.ts.map +1 -0
- package/types/api/CirclesOfTrustApi.d.ts +52 -0
- package/types/api/CirclesOfTrustApi.d.ts.map +1 -0
- package/types/api/IdmConfigApi.d.ts +69 -0
- package/types/api/IdmConfigApi.d.ts.map +1 -0
- package/types/api/IdmScriptApi.d.ts +17 -0
- package/types/api/IdmScriptApi.d.ts.map +1 -0
- package/types/api/IdmSystemApi.d.ts +111 -0
- package/types/api/IdmSystemApi.d.ts.map +1 -0
- package/types/api/InternalObjectApi.d.ts +103 -0
- package/types/api/InternalObjectApi.d.ts.map +1 -0
- package/types/api/ManagedObjectApi.d.ts +252 -0
- package/types/api/ManagedObjectApi.d.ts.map +1 -0
- package/types/api/ManagedSystemObjectApi.d.ts +150 -0
- package/types/api/ManagedSystemObjectApi.d.ts.map +1 -0
- package/types/api/NodeApi.d.ts +243 -0
- package/types/api/NodeApi.d.ts.map +1 -0
- package/types/api/OAuth2ClientApi.d.ts +78 -0
- package/types/api/OAuth2ClientApi.d.ts.map +1 -0
- package/types/api/OAuth2OIDCApi.d.ts +121 -0
- package/types/api/OAuth2OIDCApi.d.ts.map +1 -0
- package/types/api/OAuth2ProviderApi.d.ts +176 -0
- package/types/api/OAuth2ProviderApi.d.ts.map +1 -0
- package/types/api/OAuth2TrustedJwtIssuerApi.d.ts +54 -0
- package/types/api/OAuth2TrustedJwtIssuerApi.d.ts.map +1 -0
- package/types/api/PoliciesApi.d.ts +60 -0
- package/types/api/PoliciesApi.d.ts.map +1 -0
- package/types/api/PolicySetApi.d.ts +52 -0
- package/types/api/PolicySetApi.d.ts.map +1 -0
- package/types/api/RawConfigApi.d.ts +75 -0
- package/types/api/RawConfigApi.d.ts.map +1 -0
- package/types/api/RealmApi.d.ts +54 -0
- package/types/api/RealmApi.d.ts.map +1 -0
- package/types/api/ReconApi.d.ts +171 -0
- package/types/api/ReconApi.d.ts.map +1 -0
- package/types/api/ResourceTypesApi.d.ts +63 -0
- package/types/api/ResourceTypesApi.d.ts.map +1 -0
- package/types/api/Saml2Api.d.ts +112 -0
- package/types/api/Saml2Api.d.ts.map +1 -0
- package/types/api/ScriptApi.d.ts +94 -0
- package/types/api/ScriptApi.d.ts.map +1 -0
- package/types/api/ScriptTypeApi.d.ts +103 -0
- package/types/api/ScriptTypeApi.d.ts.map +1 -0
- package/types/api/SecretStoreApi.d.ts +185 -0
- package/types/api/SecretStoreApi.d.ts.map +1 -0
- package/types/api/ServerInfoApi.d.ts +26 -0
- package/types/api/ServerInfoApi.d.ts.map +1 -0
- package/types/api/ServiceApi.d.ts +102 -0
- package/types/api/ServiceApi.d.ts.map +1 -0
- package/types/api/SessionApi.d.ts +23 -0
- package/types/api/SessionApi.d.ts.map +1 -0
- package/types/api/SocialIdentityProvidersApi.d.ts +89 -0
- package/types/api/SocialIdentityProvidersApi.d.ts.map +1 -0
- package/types/api/TreeApi.d.ts +62 -0
- package/types/api/TreeApi.d.ts.map +1 -0
- package/types/api/UserApi.d.ts +159 -0
- package/types/api/UserApi.d.ts.map +1 -0
- package/types/api/classic/ServerApi.d.ts +78 -0
- package/types/api/classic/ServerApi.d.ts.map +1 -0
- package/types/api/classic/SiteApi.d.ts +39 -0
- package/types/api/classic/SiteApi.d.ts.map +1 -0
- package/types/api/cloud/AdminFederationProvidersApi.d.ts +71 -0
- package/types/api/cloud/AdminFederationProvidersApi.d.ts.map +1 -0
- package/types/api/cloud/EnvAIAgentApi.d.ts +9 -0
- package/types/api/cloud/EnvAIAgentApi.d.ts.map +1 -0
- package/types/api/cloud/EnvCSRsApi.d.ts +165 -0
- package/types/api/cloud/EnvCSRsApi.d.ts.map +1 -0
- package/types/api/cloud/EnvCertificatesApi.d.ts +74 -0
- package/types/api/cloud/EnvCertificatesApi.d.ts.map +1 -0
- package/types/api/cloud/EnvContentSecurityPolicyApi.d.ts +87 -0
- package/types/api/cloud/EnvContentSecurityPolicyApi.d.ts.map +1 -0
- package/types/api/cloud/EnvCookieDomainsApi.d.ts +26 -0
- package/types/api/cloud/EnvCookieDomainsApi.d.ts.map +1 -0
- package/types/api/cloud/EnvCustomDomainsApi.d.ts +37 -0
- package/types/api/cloud/EnvCustomDomainsApi.d.ts.map +1 -0
- package/types/api/cloud/EnvDirectConfigurationSessionApi.d.ts +43 -0
- package/types/api/cloud/EnvDirectConfigurationSessionApi.d.ts.map +1 -0
- package/types/api/cloud/EnvFederationEnforcementApi.d.ts +26 -0
- package/types/api/cloud/EnvFederationEnforcementApi.d.ts.map +1 -0
- package/types/api/cloud/EnvInfoApi.d.ts +22 -0
- package/types/api/cloud/EnvInfoApi.d.ts.map +1 -0
- package/types/api/cloud/EnvPromotionApi.d.ts +218 -0
- package/types/api/cloud/EnvPromotionApi.d.ts.map +1 -0
- package/types/api/cloud/EnvReleaseApi.d.ts +16 -0
- package/types/api/cloud/EnvReleaseApi.d.ts.map +1 -0
- package/types/api/cloud/EnvSSOCookieConfigApi.d.ts +35 -0
- package/types/api/cloud/EnvSSOCookieConfigApi.d.ts.map +1 -0
- package/types/api/cloud/EnvServiceAccountScopesApi.d.ts +17 -0
- package/types/api/cloud/EnvServiceAccountScopesApi.d.ts.map +1 -0
- package/types/api/cloud/EsvCountApi.d.ts +13 -0
- package/types/api/cloud/EsvCountApi.d.ts.map +1 -0
- package/types/api/cloud/FeatureApi.d.ts +16 -0
- package/types/api/cloud/FeatureApi.d.ts.map +1 -0
- package/types/api/cloud/IdmFeatureApi.d.ts +65 -0
- package/types/api/cloud/IdmFeatureApi.d.ts.map +1 -0
- package/types/api/cloud/LogApi.d.ts +108 -0
- package/types/api/cloud/LogApi.d.ts.map +1 -0
- package/types/api/cloud/SecretsApi.d.ts +163 -0
- package/types/api/cloud/SecretsApi.d.ts.map +1 -0
- package/types/api/cloud/StartupApi.d.ts +20 -0
- package/types/api/cloud/StartupApi.d.ts.map +1 -0
- package/types/api/cloud/TelemetryApi.d.ts +60 -0
- package/types/api/cloud/TelemetryApi.d.ts.map +1 -0
- package/types/api/cloud/VariablesApi.d.ts +86 -0
- package/types/api/cloud/VariablesApi.d.ts.map +1 -0
- package/types/api/cloud/WSFedApi.d.ts +495 -0
- package/types/api/cloud/WSFedApi.d.ts.map +1 -0
- package/types/api/cloud/iga/IgaCertificationTemplateApi.d.ts +227 -0
- package/types/api/cloud/iga/IgaCertificationTemplateApi.d.ts.map +1 -0
- package/types/api/cloud/iga/IgaEventApi.d.ts +111 -0
- package/types/api/cloud/iga/IgaEventApi.d.ts.map +1 -0
- package/types/api/cloud/iga/IgaGlossaryApi.d.ts +103 -0
- package/types/api/cloud/iga/IgaGlossaryApi.d.ts.map +1 -0
- package/types/api/cloud/iga/IgaRequestFormApi.d.ts +184 -0
- package/types/api/cloud/iga/IgaRequestFormApi.d.ts.map +1 -0
- package/types/api/cloud/iga/IgaRequestTypeApi.d.ts +124 -0
- package/types/api/cloud/iga/IgaRequestTypeApi.d.ts.map +1 -0
- package/types/api/cloud/iga/IgaWorkflowApi.d.ts +208 -0
- package/types/api/cloud/iga/IgaWorkflowApi.d.ts.map +1 -0
- package/types/ext/axios-curlirize/curlirize.d.ts +14 -0
- package/types/ext/axios-curlirize/curlirize.d.ts.map +1 -0
- package/types/ext/axios-curlirize/lib/CurlHelper.d.ts +12 -0
- package/types/ext/axios-curlirize/lib/CurlHelper.d.ts.map +1 -0
- package/types/index.d.ts +11 -0
- package/types/index.d.ts.map +1 -0
- package/types/lib/FrodoLib.d.ts +407 -0
- package/types/lib/FrodoLib.d.ts.map +1 -0
- package/types/lib/Help.d.ts +18 -0
- package/types/lib/Help.d.ts.map +1 -0
- package/types/mcp/CapabilityMetadata.d.ts +48 -0
- package/types/mcp/CapabilityMetadata.d.ts.map +1 -0
- package/types/mcp/CapabilityPolicy.d.ts +22 -0
- package/types/mcp/CapabilityPolicy.d.ts.map +1 -0
- package/types/mcp/CapabilityRegistry.d.ts +62 -0
- package/types/mcp/CapabilityRegistry.d.ts.map +1 -0
- package/types/mcp/CapabilityRouting.d.ts +9 -0
- package/types/mcp/CapabilityRouting.d.ts.map +1 -0
- package/types/mcp/CapabilityTypes.d.ts +371 -0
- package/types/mcp/CapabilityTypes.d.ts.map +1 -0
- package/types/mcp/DiscoveryHydration.d.ts +21 -0
- package/types/mcp/DiscoveryHydration.d.ts.map +1 -0
- package/types/mcp/DocsContext.d.ts +123 -0
- package/types/mcp/DocsContext.d.ts.map +1 -0
- package/types/mcp/McpService.d.ts +94 -0
- package/types/mcp/McpService.d.ts.map +1 -0
- package/types/mcp/ProfileRegistry.d.ts +63 -0
- package/types/mcp/ProfileRegistry.d.ts.map +1 -0
- package/types/mcp/SemanticIdentifiers.d.ts +17 -0
- package/types/mcp/SemanticIdentifiers.d.ts.map +1 -0
- package/types/mcp/SemanticObjectFamilies.d.ts +24 -0
- package/types/mcp/SemanticObjectFamilies.d.ts.map +1 -0
- package/types/mcp/ToolManifest.d.ts +231 -0
- package/types/mcp/ToolManifest.d.ts.map +1 -0
- package/types/mcp/ToolRuntime.d.ts +477 -0
- package/types/mcp/ToolRuntime.d.ts.map +1 -0
- package/types/mcp/index.d.ts +20 -0
- package/types/mcp/index.d.ts.map +1 -0
- package/types/ops/AdminOps.d.ts +85 -0
- package/types/ops/AdminOps.d.ts.map +1 -0
- package/types/ops/AgentOps.d.ts +938 -0
- package/types/ops/AgentOps.d.ts.map +1 -0
- package/types/ops/AmConfigOps.d.ts +96 -0
- package/types/ops/AmConfigOps.d.ts.map +1 -0
- package/types/ops/ApiFactoryOps.d.ts +77 -0
- package/types/ops/ApiFactoryOps.d.ts.map +1 -0
- package/types/ops/ApplicationOps.d.ts +334 -0
- package/types/ops/ApplicationOps.d.ts.map +1 -0
- package/types/ops/AuthenticateOps.d.ts +196 -0
- package/types/ops/AuthenticateOps.d.ts.map +1 -0
- package/types/ops/AuthenticationSettingsOps.d.ts +78 -0
- package/types/ops/AuthenticationSettingsOps.d.ts.map +1 -0
- package/types/ops/BrowserAuthenticateOps.d.ts +188 -0
- package/types/ops/BrowserAuthenticateOps.d.ts.map +1 -0
- package/types/ops/CallbackOps.d.ts +27 -0
- package/types/ops/CallbackOps.d.ts.map +1 -0
- package/types/ops/CallerTrustTierOps.d.ts +103 -0
- package/types/ops/CallerTrustTierOps.d.ts.map +1 -0
- package/types/ops/CirclesOfTrustOps.d.ts +203 -0
- package/types/ops/CirclesOfTrustOps.d.ts.map +1 -0
- package/types/ops/ConfigOps.d.ts +214 -0
- package/types/ops/ConfigOps.d.ts.map +1 -0
- package/types/ops/ConnectionProfileOps.d.ts +346 -0
- package/types/ops/ConnectionProfileOps.d.ts.map +1 -0
- package/types/ops/ConnectorOps.d.ts +269 -0
- package/types/ops/ConnectorOps.d.ts.map +1 -0
- package/types/ops/EmailTemplateOps.d.ts +160 -0
- package/types/ops/EmailTemplateOps.d.ts.map +1 -0
- package/types/ops/FrodoError.d.ts +40 -0
- package/types/ops/FrodoError.d.ts.map +1 -0
- package/types/ops/IdmConfigOps.d.ts +286 -0
- package/types/ops/IdmConfigOps.d.ts.map +1 -0
- package/types/ops/IdmCryptoOps.d.ts +68 -0
- package/types/ops/IdmCryptoOps.d.ts.map +1 -0
- package/types/ops/IdmScriptOps.d.ts +29 -0
- package/types/ops/IdmScriptOps.d.ts.map +1 -0
- package/types/ops/IdmSystemOps.d.ts +198 -0
- package/types/ops/IdmSystemOps.d.ts.map +1 -0
- package/types/ops/IdpOps.d.ts +234 -0
- package/types/ops/IdpOps.d.ts.map +1 -0
- package/types/ops/InfoOps.d.ts +28 -0
- package/types/ops/InfoOps.d.ts.map +1 -0
- package/types/ops/InternalRoleOps.d.ts +232 -0
- package/types/ops/InternalRoleOps.d.ts.map +1 -0
- package/types/ops/JoseOps.d.ts +87 -0
- package/types/ops/JoseOps.d.ts.map +1 -0
- package/types/ops/JourneyOps.d.ts +573 -0
- package/types/ops/JourneyOps.d.ts.map +1 -0
- package/types/ops/ManagedObjectOps.d.ts +393 -0
- package/types/ops/ManagedObjectOps.d.ts.map +1 -0
- package/types/ops/ManagedObjectSchemaOps.d.ts +757 -0
- package/types/ops/ManagedObjectSchemaOps.d.ts.map +1 -0
- package/types/ops/ManagedSystemObjectOps.d.ts +270 -0
- package/types/ops/ManagedSystemObjectOps.d.ts.map +1 -0
- package/types/ops/ManagedSystemObjectSchemaOps.d.ts +42 -0
- package/types/ops/ManagedSystemObjectSchemaOps.d.ts.map +1 -0
- package/types/ops/MappingOps.d.ts +332 -0
- package/types/ops/MappingOps.d.ts.map +1 -0
- package/types/ops/NodeOps.d.ts +627 -0
- package/types/ops/NodeOps.d.ts.map +1 -0
- package/types/ops/OAuth2ClientOps.d.ts +235 -0
- package/types/ops/OAuth2ClientOps.d.ts.map +1 -0
- package/types/ops/OAuth2OidcOps.d.ts +64 -0
- package/types/ops/OAuth2OidcOps.d.ts.map +1 -0
- package/types/ops/OAuth2ProviderOps.d.ts +57 -0
- package/types/ops/OAuth2ProviderOps.d.ts.map +1 -0
- package/types/ops/OAuth2TrustedJwtIssuerOps.d.ts +223 -0
- package/types/ops/OAuth2TrustedJwtIssuerOps.d.ts.map +1 -0
- package/types/ops/OpsTypes.d.ts +12 -0
- package/types/ops/OpsTypes.d.ts.map +1 -0
- package/types/ops/OrganizationOps.d.ts +34 -0
- package/types/ops/OrganizationOps.d.ts.map +1 -0
- package/types/ops/PolicyOps.d.ts +294 -0
- package/types/ops/PolicyOps.d.ts.map +1 -0
- package/types/ops/PolicySetOps.d.ts +195 -0
- package/types/ops/PolicySetOps.d.ts.map +1 -0
- package/types/ops/PrivilegeEscalationOps.d.ts +51 -0
- package/types/ops/PrivilegeEscalationOps.d.ts.map +1 -0
- package/types/ops/RawConfigOps.d.ts +67 -0
- package/types/ops/RawConfigOps.d.ts.map +1 -0
- package/types/ops/RealmOps.d.ts +196 -0
- package/types/ops/RealmOps.d.ts.map +1 -0
- package/types/ops/ReconOps.d.ts +57 -0
- package/types/ops/ReconOps.d.ts.map +1 -0
- package/types/ops/RequiredScopesOps.d.ts +69 -0
- package/types/ops/RequiredScopesOps.d.ts.map +1 -0
- package/types/ops/ResourceTypeOps.d.ts +219 -0
- package/types/ops/ResourceTypeOps.d.ts.map +1 -0
- package/types/ops/Saml2Ops.d.ts +261 -0
- package/types/ops/Saml2Ops.d.ts.map +1 -0
- package/types/ops/ScriptOps.d.ts +426 -0
- package/types/ops/ScriptOps.d.ts.map +1 -0
- package/types/ops/ScriptTypeOps.d.ts +124 -0
- package/types/ops/ScriptTypeOps.d.ts.map +1 -0
- package/types/ops/SecretStoreOps.d.ts +357 -0
- package/types/ops/SecretStoreOps.d.ts.map +1 -0
- package/types/ops/ServiceOps.d.ts +194 -0
- package/types/ops/ServiceOps.d.ts.map +1 -0
- package/types/ops/SessionOps.d.ts +22 -0
- package/types/ops/SessionOps.d.ts.map +1 -0
- package/types/ops/ThemeOps.d.ts +245 -0
- package/types/ops/ThemeOps.d.ts.map +1 -0
- package/types/ops/TokenCacheOps.d.ts +243 -0
- package/types/ops/TokenCacheOps.d.ts.map +1 -0
- package/types/ops/UserOps.d.ts +199 -0
- package/types/ops/UserOps.d.ts.map +1 -0
- package/types/ops/VersionUtils.d.ts +29 -0
- package/types/ops/VersionUtils.d.ts.map +1 -0
- package/types/ops/classic/ServerOps.d.ts +195 -0
- package/types/ops/classic/ServerOps.d.ts.map +1 -0
- package/types/ops/classic/SiteOps.d.ts +117 -0
- package/types/ops/classic/SiteOps.d.ts.map +1 -0
- package/types/ops/cloud/AdminFederationOps.d.ts +165 -0
- package/types/ops/cloud/AdminFederationOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvAIAgentOps.d.ts +18 -0
- package/types/ops/cloud/EnvAIAgentOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvCSRsOps.d.ts +86 -0
- package/types/ops/cloud/EnvCSRsOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvCertificatesOps.d.ts +140 -0
- package/types/ops/cloud/EnvCertificatesOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvContentSecurityPolicyOps.d.ts +101 -0
- package/types/ops/cloud/EnvContentSecurityPolicyOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvCookieDomainsOps.d.ts +36 -0
- package/types/ops/cloud/EnvCookieDomainsOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvCustomDomainsOps.d.ts +53 -0
- package/types/ops/cloud/EnvCustomDomainsOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvDirectConfigurationSessionOps.d.ts +55 -0
- package/types/ops/cloud/EnvDirectConfigurationSessionOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvFederationEnforcementOps.d.ts +58 -0
- package/types/ops/cloud/EnvFederationEnforcementOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvPromotionOps.d.ts +175 -0
- package/types/ops/cloud/EnvPromotionOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvReleaseOps.d.ts +19 -0
- package/types/ops/cloud/EnvReleaseOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvSSOCookieConfigOps.d.ts +50 -0
- package/types/ops/cloud/EnvSSOCookieConfigOps.d.ts.map +1 -0
- package/types/ops/cloud/EnvServiceAccountScopesOps.d.ts +21 -0
- package/types/ops/cloud/EnvServiceAccountScopesOps.d.ts.map +1 -0
- package/types/ops/cloud/EsvCountOps.d.ts +15 -0
- package/types/ops/cloud/EsvCountOps.d.ts.map +1 -0
- package/types/ops/cloud/FeatureOps.d.ts +34 -0
- package/types/ops/cloud/FeatureOps.d.ts.map +1 -0
- package/types/ops/cloud/IdmFeatureOps.d.ts +78 -0
- package/types/ops/cloud/IdmFeatureOps.d.ts.map +1 -0
- package/types/ops/cloud/LogOps.d.ts +271 -0
- package/types/ops/cloud/LogOps.d.ts.map +1 -0
- package/types/ops/cloud/SecretsOps.d.ts +306 -0
- package/types/ops/cloud/SecretsOps.d.ts.map +1 -0
- package/types/ops/cloud/ServiceAccountOps.d.ts +86 -0
- package/types/ops/cloud/ServiceAccountOps.d.ts.map +1 -0
- package/types/ops/cloud/StartupOps.d.ts +62 -0
- package/types/ops/cloud/StartupOps.d.ts.map +1 -0
- package/types/ops/cloud/TelemetryOps.d.ts +109 -0
- package/types/ops/cloud/TelemetryOps.d.ts.map +1 -0
- package/types/ops/cloud/VariablesOps.d.ts +224 -0
- package/types/ops/cloud/VariablesOps.d.ts.map +1 -0
- package/types/ops/cloud/WSFedOps.d.ts +412 -0
- package/types/ops/cloud/WSFedOps.d.ts.map +1 -0
- package/types/ops/cloud/iga/IgaCertificationTemplateOps.d.ts +261 -0
- package/types/ops/cloud/iga/IgaCertificationTemplateOps.d.ts.map +1 -0
- package/types/ops/cloud/iga/IgaEventOps.d.ts +242 -0
- package/types/ops/cloud/iga/IgaEventOps.d.ts.map +1 -0
- package/types/ops/cloud/iga/IgaGlossaryOps.d.ts +241 -0
- package/types/ops/cloud/iga/IgaGlossaryOps.d.ts.map +1 -0
- package/types/ops/cloud/iga/IgaRequestFormOps.d.ts +259 -0
- package/types/ops/cloud/iga/IgaRequestFormOps.d.ts.map +1 -0
- package/types/ops/cloud/iga/IgaRequestTypeOps.d.ts +240 -0
- package/types/ops/cloud/iga/IgaRequestTypeOps.d.ts.map +1 -0
- package/types/ops/cloud/iga/IgaWorkflowOps.d.ts +334 -0
- package/types/ops/cloud/iga/IgaWorkflowOps.d.ts.map +1 -0
- package/types/ops/internal/RelationshipHelpers.d.ts +111 -0
- package/types/ops/internal/RelationshipHelpers.d.ts.map +1 -0
- package/types/shared/Constants.d.ts +100 -0
- package/types/shared/Constants.d.ts.map +1 -0
- package/types/shared/OperationType.d.ts +14 -0
- package/types/shared/OperationType.d.ts.map +1 -0
- package/types/shared/State.d.ts +355 -0
- package/types/shared/State.d.ts.map +1 -0
- package/types/shared/Version.d.ts +16 -0
- package/types/shared/Version.d.ts.map +1 -0
- package/types/test/mocks/ForgeRockApiMockEngine.d.ts +38 -0
- package/types/test/mocks/ForgeRockApiMockEngine.d.ts.map +1 -0
- package/types/test/setup/EmailTemplateSetup.d.ts +8 -0
- package/types/test/setup/EmailTemplateSetup.d.ts.map +1 -0
- package/types/test/setup/IgaCertificationTemplateSetup.d.ts +12 -0
- package/types/test/setup/IgaCertificationTemplateSetup.d.ts.map +1 -0
- package/types/test/setup/IgaEventSetup.d.ts +22 -0
- package/types/test/setup/IgaEventSetup.d.ts.map +1 -0
- package/types/test/setup/IgaGlossarySetup.d.ts +11 -0
- package/types/test/setup/IgaGlossarySetup.d.ts.map +1 -0
- package/types/test/setup/IgaRequestFormSetup.d.ts +42 -0
- package/types/test/setup/IgaRequestFormSetup.d.ts.map +1 -0
- package/types/test/setup/IgaRequestTypeSetup.d.ts +10 -0
- package/types/test/setup/IgaRequestTypeSetup.d.ts.map +1 -0
- package/types/test/setup/IgaWorkflowSetup.d.ts +32 -0
- package/types/test/setup/IgaWorkflowSetup.d.ts.map +1 -0
- package/types/test/setup/JourneySetup.d.ts +18 -0
- package/types/test/setup/JourneySetup.d.ts.map +1 -0
- package/types/test/setup/NodeSetup.d.ts +14 -0
- package/types/test/setup/NodeSetup.d.ts.map +1 -0
- package/types/test/setup/RawConfigSetup.d.ts +2 -0
- package/types/test/setup/RawConfigSetup.d.ts.map +1 -0
- package/types/test/setup/SecretSetup.d.ts +69 -0
- package/types/test/setup/SecretSetup.d.ts.map +1 -0
- package/types/test/setup/StartupSetup.d.ts +2 -0
- package/types/test/setup/StartupSetup.d.ts.map +1 -0
- package/types/test/setup/TelemetrySetup.d.ts +8 -0
- package/types/test/setup/TelemetrySetup.d.ts.map +1 -0
- package/types/test/setup/VariablesSetup.d.ts +27 -0
- package/types/test/setup/VariablesSetup.d.ts.map +1 -0
- package/types/test/utils/TestUtils.d.ts +15 -0
- package/types/test/utils/TestUtils.d.ts.map +1 -0
- package/types/utils/AsyncUtils.d.ts +14 -0
- package/types/utils/AsyncUtils.d.ts.map +1 -0
- package/types/utils/AutoSetupPolly.d.ts +25 -0
- package/types/utils/AutoSetupPolly.d.ts.map +1 -0
- package/types/utils/Base64Utils.d.ts +41 -0
- package/types/utils/Base64Utils.d.ts.map +1 -0
- package/types/utils/ColorTheme.d.ts +40 -0
- package/types/utils/ColorTheme.d.ts.map +1 -0
- package/types/utils/Console.d.ts +110 -0
- package/types/utils/Console.d.ts.map +1 -0
- package/types/utils/CryptoUtils.d.ts +35 -0
- package/types/utils/CryptoUtils.d.ts.map +1 -0
- package/types/utils/DataProtection.d.ts +24 -0
- package/types/utils/DataProtection.d.ts.map +1 -0
- package/types/utils/ExportImportUtils.d.ts +415 -0
- package/types/utils/ExportImportUtils.d.ts.map +1 -0
- package/types/utils/ForgeRockUtils.d.ts +122 -0
- package/types/utils/ForgeRockUtils.d.ts.map +1 -0
- package/types/utils/FrodoNodeHttpAdapter.d.ts +5 -0
- package/types/utils/FrodoNodeHttpAdapter.d.ts.map +1 -0
- package/types/utils/FrodoUtils.d.ts +15 -0
- package/types/utils/FrodoUtils.d.ts.map +1 -0
- package/types/utils/HelpUtils.d.ts +19 -0
- package/types/utils/HelpUtils.d.ts.map +1 -0
- package/types/utils/JsonUtils.d.ts +105 -0
- package/types/utils/JsonUtils.d.ts.map +1 -0
- package/types/utils/JwtUtils.d.ts +19 -0
- package/types/utils/JwtUtils.d.ts.map +1 -0
- package/types/utils/PkceUtils.d.ts +17 -0
- package/types/utils/PkceUtils.d.ts.map +1 -0
- package/types/utils/PollyUtils.d.ts +65 -0
- package/types/utils/PollyUtils.d.ts.map +1 -0
- package/types/utils/ScriptValidationUtils.d.ts +38 -0
- package/types/utils/ScriptValidationUtils.d.ts.map +1 -0
- package/types/utils/SemverUtils.d.ts +61 -0
- package/types/utils/SemverUtils.d.ts.map +1 -0
- package/types/utils/SetupPollyForFrodoLib.d.ts +7 -0
- package/types/utils/SetupPollyForFrodoLib.d.ts.map +1 -0
- package/types/utils/TerminalBackgroundDetection.d.ts +48 -0
- package/types/utils/TerminalBackgroundDetection.d.ts.map +1 -0
- package/types/utils/TerminalContrast.d.ts +44 -0
- package/types/utils/TerminalContrast.d.ts.map +1 -0
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import { State } from '../shared/State';
|
|
2
|
+
import { IdObjectSkeletonInterface, PagedResult, PatchOperationInterface } from './ApiTypes';
|
|
3
|
+
import type { ManagedObjectSchema } from './ManagedObjectApi';
|
|
4
|
+
export declare const DEFAULT_PAGE_SIZE: number;
|
|
5
|
+
export declare const MANAGED_SYSTEM_OBJECT_TYPES: string[];
|
|
6
|
+
/**
|
|
7
|
+
* Get managed system object schema
|
|
8
|
+
* @param {string} type managed system object type, e.g. svcacct or teammember
|
|
9
|
+
* @param {State} state library state
|
|
10
|
+
* @returns {Promise<ManagedObjectSchema>} a promise that resolves to a managed system object schema
|
|
11
|
+
*/
|
|
12
|
+
export declare function getManagedSystemObjectSchema({ type, state, }: {
|
|
13
|
+
type: string;
|
|
14
|
+
state: State;
|
|
15
|
+
}): Promise<ManagedObjectSchema>;
|
|
16
|
+
/**
|
|
17
|
+
* Get managed system object
|
|
18
|
+
* @param {string} type managed system object type, e.g. svcacct or teammember
|
|
19
|
+
* @param {string} id managed system object id
|
|
20
|
+
* @param {string[]} id array of fields to include
|
|
21
|
+
* @param {State} state library state
|
|
22
|
+
* @returns {Promise<IdObjectSkeletonInterface>} a promise that resolves to an ObjectSkeletonInterface
|
|
23
|
+
*/
|
|
24
|
+
export declare function getManagedSystemObject({ type, id, fields, state, }: {
|
|
25
|
+
type: string;
|
|
26
|
+
id: string;
|
|
27
|
+
fields: string[];
|
|
28
|
+
state: State;
|
|
29
|
+
}): Promise<IdObjectSkeletonInterface>;
|
|
30
|
+
/**
|
|
31
|
+
* Create managed system object with server-generated id
|
|
32
|
+
* @param {string} type managed system object type
|
|
33
|
+
* @param {IdObjectSkeletonInterface} moData managed system object data
|
|
34
|
+
* @param {State} state library state
|
|
35
|
+
* @returns {Promise<IdObjectSkeletonInterface>} a promise that resolves to an object containing a managed system object
|
|
36
|
+
*/
|
|
37
|
+
export declare function createManagedSystemObject({ type, moData, state, }: {
|
|
38
|
+
type: string;
|
|
39
|
+
moData: IdObjectSkeletonInterface;
|
|
40
|
+
state: State;
|
|
41
|
+
}): Promise<IdObjectSkeletonInterface>;
|
|
42
|
+
/**
|
|
43
|
+
* Create or update managed system object
|
|
44
|
+
* @param {string} id managed system object id
|
|
45
|
+
* @param {IdObjectSkeletonInterface} moData managed system object
|
|
46
|
+
* @param {boolean} failIfExists fail if exists
|
|
47
|
+
* @param {State} state library state
|
|
48
|
+
* @returns {Promise<IdObjectSkeletonInterface>} a promise that resolves to an object containing a managed system object
|
|
49
|
+
*/
|
|
50
|
+
export declare function putManagedSystemObject({ type, id, moData, failIfExists, state, }: {
|
|
51
|
+
type: string;
|
|
52
|
+
id: string;
|
|
53
|
+
moData: IdObjectSkeletonInterface;
|
|
54
|
+
failIfExists?: boolean;
|
|
55
|
+
state: State;
|
|
56
|
+
}): Promise<IdObjectSkeletonInterface>;
|
|
57
|
+
/**
|
|
58
|
+
* Partially update a managed system object, with an array of operations.
|
|
59
|
+
* @param {string} type managed system object type
|
|
60
|
+
* @param {string} id managed system object id
|
|
61
|
+
* @param {PatchOperationInterface[]} operations array of operations
|
|
62
|
+
* @param {string} rev revision
|
|
63
|
+
* @param {State} state library state
|
|
64
|
+
* @returns {Promise<IdObjectSkeletonInterface>} a promise that resolves to an object containing a managed system object
|
|
65
|
+
*/
|
|
66
|
+
export declare function patchManagedSystemObject({ type, id, operations: operations, rev, state, }: {
|
|
67
|
+
type: string;
|
|
68
|
+
id: string;
|
|
69
|
+
operations: PatchOperationInterface[];
|
|
70
|
+
rev?: string;
|
|
71
|
+
state: State;
|
|
72
|
+
}): Promise<IdObjectSkeletonInterface>;
|
|
73
|
+
/**
|
|
74
|
+
* Query managed system object
|
|
75
|
+
* @param {object} params structured and named parameters
|
|
76
|
+
* @param {string} params.type managed system object type, e.g. svcacct or teammember
|
|
77
|
+
* @param {string} params.filter CREST search filter
|
|
78
|
+
* @param {string[]} params.fields array of fields to include
|
|
79
|
+
* @param {string} params.pageCookie paged results cookie
|
|
80
|
+
* @param {State} params.state library state
|
|
81
|
+
* @returns {Promise<IdObjectSkeletonInterface[]>} a promise that resolves to an array of managed system objects
|
|
82
|
+
*/
|
|
83
|
+
export declare function queryManagedSystemObjects({ type, filter, fields, pageSize, pageCookie, state, }: {
|
|
84
|
+
type: string;
|
|
85
|
+
filter: string;
|
|
86
|
+
fields?: string[];
|
|
87
|
+
pageSize?: number;
|
|
88
|
+
pageCookie?: string;
|
|
89
|
+
state: State;
|
|
90
|
+
}): Promise<PagedResult<IdObjectSkeletonInterface>>;
|
|
91
|
+
/**
|
|
92
|
+
* Query related managed object
|
|
93
|
+
* @param {object} params structured and named parameters
|
|
94
|
+
* @param {string} params.type managed system object type, e.g. alpha_user or user
|
|
95
|
+
* @param {string} params.id managed system object id
|
|
96
|
+
* @param {string} params.relationship relationship name
|
|
97
|
+
* @param {string[]} params.fields array of fields to include
|
|
98
|
+
* @param {string} params.pageCookie paged results cookie
|
|
99
|
+
* @param {State} params.state library state
|
|
100
|
+
* @returns {Promise<IdObjectSkeletonInterface[]>} a promise that resolves to an array of related managed system objects
|
|
101
|
+
*/
|
|
102
|
+
export declare function queryRelatedManagedSystemObjects({ type, id, relationship, fields, pageSize, pageCookie, state, }: {
|
|
103
|
+
type: string;
|
|
104
|
+
id: string;
|
|
105
|
+
relationship: string;
|
|
106
|
+
fields?: string[];
|
|
107
|
+
pageSize?: number;
|
|
108
|
+
pageCookie?: string;
|
|
109
|
+
state: State;
|
|
110
|
+
}): Promise<PagedResult<IdObjectSkeletonInterface>>;
|
|
111
|
+
/**
|
|
112
|
+
* Count managed system objects matching a filter.
|
|
113
|
+
*
|
|
114
|
+
* @param {string} type managed system object type, e.g. svcacct or teammember
|
|
115
|
+
* @param {string} filter CREST search filter
|
|
116
|
+
* @param {State} state library state
|
|
117
|
+
* @returns {Promise<number>} a promise that resolves to an exact total when available
|
|
118
|
+
*/
|
|
119
|
+
export declare function countManagedSystemObjects({ type, filter, state, }: {
|
|
120
|
+
type: string;
|
|
121
|
+
filter?: string;
|
|
122
|
+
state: State;
|
|
123
|
+
}): Promise<number>;
|
|
124
|
+
/**
|
|
125
|
+
* Query managed system objects by type
|
|
126
|
+
* @param {string} type managed system object type
|
|
127
|
+
* @param {string[]} fields fields to retrieve
|
|
128
|
+
* @param {string} pageCookie paged results cookie
|
|
129
|
+
* @returns {Promise<{result: any[]; resultCount: number; pagedResultsCookie: any; totalPagedResultsPolicy: string; totalPagedResults: number; remainingPagedResults: number;}>} a promise that resolves to managed system objects of the desired type
|
|
130
|
+
*/
|
|
131
|
+
export declare function queryAllManagedSystemObjectsByType({ type, fields, pageSize, pageCookie, state, }: {
|
|
132
|
+
type: string;
|
|
133
|
+
fields?: string[];
|
|
134
|
+
pageSize?: number;
|
|
135
|
+
pageCookie?: string;
|
|
136
|
+
state: State;
|
|
137
|
+
}): Promise<PagedResult<IdObjectSkeletonInterface>>;
|
|
138
|
+
/**
|
|
139
|
+
* Delete managed system object
|
|
140
|
+
* @param {string} type managed system object type, e.g. alpha_user or user
|
|
141
|
+
* @param {string} id managed system object id
|
|
142
|
+
* @param {State} state library state
|
|
143
|
+
* @returns {Promise<IdObjectSkeletonInterface>} a promise that resolves to an object containing a managed system object
|
|
144
|
+
*/
|
|
145
|
+
export declare function deleteManagedSystemObject({ type, id, state, }: {
|
|
146
|
+
type: string;
|
|
147
|
+
id: string;
|
|
148
|
+
state: State;
|
|
149
|
+
}): Promise<IdObjectSkeletonInterface>;
|
|
150
|
+
//# sourceMappingURL=ManagedSystemObjectApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ManagedSystemObjectApi.d.ts","sourceRoot":"","sources":["../../src/api/ManagedSystemObjectApi.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAExC,OAAO,EACL,yBAAyB,EACzB,WAAW,EACX,uBAAuB,EACxB,MAAM,YAAY,CAAC;AAEpB,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAU9D,eAAO,MAAM,iBAAiB,EAAE,MAAa,CAAC;AAE9C,eAAO,MAAM,2BAA2B,UAA4B,CAAC;AAErE;;;;;GAKG;AACH,wBAAsB,4BAA4B,CAAC,EACjD,IAAI,EACJ,KAAK,GACN,EAAE;IACD,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAmB/B;AAED;;;;;;;GAOG;AACH,wBAAsB,sBAAsB,CAAC,EAC3C,IAAI,EACJ,EAAE,EACF,MAAc,EACd,KAAK,GACN,EAAE;IACD,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,yBAAyB,CAAC,CAqBrC;AAED;;;;;;GAMG;AACH,wBAAsB,yBAAyB,CAAC,EAC9C,IAAI,EACJ,MAAM,EACN,KAAK,GACN,EAAE;IACD,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,yBAAyB,CAAC;IAClC,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,yBAAyB,CAAC,CAmBrC;AAED;;;;;;;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AAC;IACX,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,WAAW,CAAC,yBAAyB,CAAC,CAAC,CA2BlD;AAED;;;;;;;GAOG;AACH,wBAAsB,yBAAyB,CAAC,EAC9C,IAAI,EACJ,MAAe,EACf,KAAK,GACN,EAAE;IACD,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,MAAM,CAAC,CA+BlB;AAED;;;;;;GAMG;AACH,wBAAsB,kCAAkC,CAAC,EACvD,IAAI,EACJ,MAAW,EACX,QAA4B,EAC5B,UAAsB,EACtB,KAAK,GACN,EAAE;IACD,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,WAAW,CAAC,yBAAyB,CAAC,CAAC,CA0BlD;AAED;;;;;;GAMG;AACH,wBAAsB,yBAAyB,CAAC,EAC9C,IAAI,EACJ,EAAE,EACF,KAAK,GACN,EAAE;IACD,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,yBAAyB,CAAC,CAoBrC"}
|
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
import { State } from '../shared/State';
|
|
2
|
+
import { AmConfigEntityInterface, type IdObjectSkeletonInterface, type NoIdObjectSkeletonInterface, type PagedResult, type QueryResult } from './ApiTypes';
|
|
3
|
+
export interface NodeRefSkeletonInterface {
|
|
4
|
+
connections: Record<string, string>;
|
|
5
|
+
displayName: string;
|
|
6
|
+
nodeType: string;
|
|
7
|
+
x: number;
|
|
8
|
+
y: number;
|
|
9
|
+
}
|
|
10
|
+
export interface StaticNodeRefSkeletonInterface {
|
|
11
|
+
x: number;
|
|
12
|
+
y: number;
|
|
13
|
+
}
|
|
14
|
+
export interface InnerNodeRefSkeletonInterface {
|
|
15
|
+
_id: string;
|
|
16
|
+
displayName: string;
|
|
17
|
+
nodeType: string;
|
|
18
|
+
}
|
|
19
|
+
export type CustomNodeProperty = {
|
|
20
|
+
title: string;
|
|
21
|
+
description: string;
|
|
22
|
+
type: 'NUMBER' | 'STRING' | 'OBJECT' | 'BOOLEAN';
|
|
23
|
+
required: boolean;
|
|
24
|
+
defaultValue?: string | number | boolean | Record<string, string> | string[] | number[];
|
|
25
|
+
multivalued: boolean;
|
|
26
|
+
options?: Record<string, string>;
|
|
27
|
+
};
|
|
28
|
+
export type CustomNodeSkeleton = IdObjectSkeletonInterface & {
|
|
29
|
+
serviceName: string;
|
|
30
|
+
displayName: string;
|
|
31
|
+
description: string;
|
|
32
|
+
outcomes: string[];
|
|
33
|
+
outputs: string[];
|
|
34
|
+
inputs: string[];
|
|
35
|
+
script: string | string[];
|
|
36
|
+
errorOutcome: boolean;
|
|
37
|
+
tags: string[];
|
|
38
|
+
properties: Record<string, CustomNodeProperty>;
|
|
39
|
+
};
|
|
40
|
+
export type NodeSkeleton = AmConfigEntityInterface & {
|
|
41
|
+
nodes?: InnerNodeRefSkeletonInterface[];
|
|
42
|
+
tree?: string;
|
|
43
|
+
identityResource?: string;
|
|
44
|
+
script?: string;
|
|
45
|
+
emailTemplateName?: string;
|
|
46
|
+
filteredProviders?: string[];
|
|
47
|
+
useScript?: boolean;
|
|
48
|
+
useFilterScript?: boolean;
|
|
49
|
+
};
|
|
50
|
+
export type NodeTypeSkeleton = IdObjectSkeletonInterface & {
|
|
51
|
+
name: string;
|
|
52
|
+
collection?: boolean;
|
|
53
|
+
tags?: string[];
|
|
54
|
+
metadata?: {
|
|
55
|
+
tags?: string[];
|
|
56
|
+
[k: string]: string | number | boolean | string[];
|
|
57
|
+
};
|
|
58
|
+
help?: string;
|
|
59
|
+
versions?: string[];
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* Object that is layed out as follows: <realm-path>.<journey-name> = array of nodes where custom node type is used in the journey in the specified realm
|
|
63
|
+
*/
|
|
64
|
+
export type CustomNodeUsage = Record<string, Record<string, string[]>>;
|
|
65
|
+
/**
|
|
66
|
+
* Determine if the current AM version requires the use of the new version-aware node API (>= 8.1.0)
|
|
67
|
+
* @param state State object
|
|
68
|
+
* @returns {boolean} true if the new version-aware node API is required, false otherwise
|
|
69
|
+
*/
|
|
70
|
+
export declare function requireVersion(state: State): boolean;
|
|
71
|
+
/**
|
|
72
|
+
* Get the node version path segment for version-aware node endpoints.
|
|
73
|
+
* @param nodeTypeVersion node type version
|
|
74
|
+
* @param state State object
|
|
75
|
+
* @returns node version path segment or an empty string when versioning is off
|
|
76
|
+
*/
|
|
77
|
+
export declare function getNodeVersionPathSegment({ nodeTypeVersion, state, }: {
|
|
78
|
+
nodeTypeVersion?: string;
|
|
79
|
+
state: State;
|
|
80
|
+
}): string;
|
|
81
|
+
/**
|
|
82
|
+
* Get all node types
|
|
83
|
+
* @returns {Promise<QueryResult<NodeTypeSkeleton>>} a promise that resolves to an array of node type objects
|
|
84
|
+
*/
|
|
85
|
+
export declare function getNodeTypes({ state, }: {
|
|
86
|
+
state: State;
|
|
87
|
+
}): Promise<QueryResult<NodeTypeSkeleton>>;
|
|
88
|
+
/**
|
|
89
|
+
* Get node type
|
|
90
|
+
* @param {string} nodeType node type
|
|
91
|
+
* @param {string} nodeTypeVersion node type version
|
|
92
|
+
* @param {State} state state object
|
|
93
|
+
* @returns {Promise<QueryResult<NodeTypeSkeleton>>} a promise that resolves to an array of node type objects
|
|
94
|
+
*/
|
|
95
|
+
export declare function getNodeType({ nodeType, nodeTypeVersion, state, }: {
|
|
96
|
+
nodeType: string;
|
|
97
|
+
nodeTypeVersion?: string;
|
|
98
|
+
state: State;
|
|
99
|
+
}): Promise<NodeTypeSkeleton>;
|
|
100
|
+
/**
|
|
101
|
+
* Get all nodes
|
|
102
|
+
* @returns {Promise} a promise that resolves to an object containing an array of node objects
|
|
103
|
+
*/
|
|
104
|
+
export declare function getNodes({ state, }: {
|
|
105
|
+
state: State;
|
|
106
|
+
}): Promise<QueryResult<NodeSkeleton>>;
|
|
107
|
+
/**
|
|
108
|
+
* Get all nodes by type
|
|
109
|
+
* @param {string} nodeType node type
|
|
110
|
+
* @returns {Promise<PagedResult<NodeSkeleton>>} a promise that resolves to an object containing an array of node objects of the requested type
|
|
111
|
+
*/
|
|
112
|
+
export declare function getNodesByType({ nodeType, nodeTypeVersion, state, }: {
|
|
113
|
+
nodeType: string;
|
|
114
|
+
nodeTypeVersion?: string;
|
|
115
|
+
state: State;
|
|
116
|
+
}): Promise<PagedResult<NodeSkeleton>>;
|
|
117
|
+
/**
|
|
118
|
+
* Get node by uuid and type
|
|
119
|
+
* @param {string} nodeId node uuid
|
|
120
|
+
* @param {string} nodeType node type
|
|
121
|
+
* @returns {Promise<NodeSkeleton>} a promise that resolves to a node object
|
|
122
|
+
*/
|
|
123
|
+
export declare function getNode({ nodeId, nodeType, nodeTypeVersion, state, }: {
|
|
124
|
+
nodeId: string;
|
|
125
|
+
nodeType: string;
|
|
126
|
+
nodeTypeVersion?: string;
|
|
127
|
+
state: State;
|
|
128
|
+
}): Promise<NodeSkeleton>;
|
|
129
|
+
/**
|
|
130
|
+
* Create node by type
|
|
131
|
+
* @param {string} nodeType node type
|
|
132
|
+
* @param {object} nodeData node object
|
|
133
|
+
* @returns {Promise<NodeSkeleton>} a promise that resolves to a node object
|
|
134
|
+
*/
|
|
135
|
+
export declare function createNode({ nodeType, nodeTypeVersion, nodeData, state, }: {
|
|
136
|
+
nodeType: string;
|
|
137
|
+
nodeTypeVersion?: string;
|
|
138
|
+
nodeData: NodeSkeleton;
|
|
139
|
+
state: State;
|
|
140
|
+
}): Promise<NodeSkeleton>;
|
|
141
|
+
/**
|
|
142
|
+
* Get node schema by type
|
|
143
|
+
* @param {string} nodeType node type
|
|
144
|
+
* @returns {Promise<NodeSkeleton>} a promise that resolves to a node object
|
|
145
|
+
*/
|
|
146
|
+
export declare function getNodeSchema({ nodeType, nodeTypeVersion, state, }: {
|
|
147
|
+
nodeType: string;
|
|
148
|
+
nodeTypeVersion?: string;
|
|
149
|
+
state: State;
|
|
150
|
+
}): Promise<NodeSkeleton>;
|
|
151
|
+
/**
|
|
152
|
+
* Get custom node schema by service name
|
|
153
|
+
* @param {string} serviceName custom node service name (not the '_id' and without the 'designer-' prefix)
|
|
154
|
+
* @returns {Promise<NodeSkeleton>} a promise that resolves to a node object
|
|
155
|
+
*/
|
|
156
|
+
export declare function getCustomNodeSchema({ serviceName, state, }: {
|
|
157
|
+
serviceName: string;
|
|
158
|
+
state: State;
|
|
159
|
+
}): Promise<NodeSkeleton>;
|
|
160
|
+
/**
|
|
161
|
+
* Put node by uuid and type
|
|
162
|
+
* @param {string} nodeId node uuid
|
|
163
|
+
* @param {string} nodeType node type
|
|
164
|
+
* @param {object} nodeData node object
|
|
165
|
+
* @returns {Promise} a promise that resolves to an object containing a node object
|
|
166
|
+
*/
|
|
167
|
+
export declare function putNode({ nodeId, nodeType, nodeTypeVersion, nodeData, state, }: {
|
|
168
|
+
nodeId: string;
|
|
169
|
+
nodeType: string;
|
|
170
|
+
nodeTypeVersion?: string;
|
|
171
|
+
nodeData: NodeSkeleton | NoIdObjectSkeletonInterface;
|
|
172
|
+
state: State;
|
|
173
|
+
}): Promise<any>;
|
|
174
|
+
/**
|
|
175
|
+
* Delete node by uuid and type
|
|
176
|
+
* @param {String} nodeId node uuid
|
|
177
|
+
* @param {String} nodeType node type
|
|
178
|
+
* @param {String} nodeTypeVersion node type version
|
|
179
|
+
* @returns {Promise} a promise that resolves to an object containing a node object
|
|
180
|
+
*/
|
|
181
|
+
export declare function deleteNode({ nodeId, nodeType, nodeTypeVersion, state, }: {
|
|
182
|
+
nodeId: string;
|
|
183
|
+
nodeType: string;
|
|
184
|
+
nodeTypeVersion?: string;
|
|
185
|
+
state: State;
|
|
186
|
+
}): Promise<any>;
|
|
187
|
+
/**
|
|
188
|
+
* Create custom node
|
|
189
|
+
* @param {CustomNodeSkeleton} nodeData custom node object
|
|
190
|
+
* @returns {Promise<CustomNodeSkeleton>} a promise that resolves to an object containing a custom node object
|
|
191
|
+
*/
|
|
192
|
+
export declare function createCustomNode({ nodeData, state, }: {
|
|
193
|
+
nodeData: CustomNodeSkeleton;
|
|
194
|
+
state: State;
|
|
195
|
+
}): Promise<CustomNodeSkeleton>;
|
|
196
|
+
/**
|
|
197
|
+
* Get all custom nodes
|
|
198
|
+
* @returns {Promise} a promise that resolves to an object containing an array of custom node objects
|
|
199
|
+
*/
|
|
200
|
+
export declare function getCustomNodes({ state, }: {
|
|
201
|
+
state: State;
|
|
202
|
+
}): Promise<QueryResult<CustomNodeSkeleton>>;
|
|
203
|
+
/**
|
|
204
|
+
* Get custom node by uuid
|
|
205
|
+
* @param {string} nodeId custom node uuid
|
|
206
|
+
* @returns {Promise<CustomNodeSkeleton>} a promise that resolves to a custom node object
|
|
207
|
+
*/
|
|
208
|
+
export declare function getCustomNode({ nodeId, state, }: {
|
|
209
|
+
nodeId: string;
|
|
210
|
+
state: State;
|
|
211
|
+
}): Promise<CustomNodeSkeleton>;
|
|
212
|
+
/**
|
|
213
|
+
* Put custom node by uuid.
|
|
214
|
+
* NOTE: due to a bug in the current version of AIC (19646.0), you cannot create a custom node using PUT unless you don't include the if-match header,
|
|
215
|
+
* which header is required to make updates to an existing custom node. Use createCustomNode if you want to create a new custom node.
|
|
216
|
+
* @param {string} nodeId custom node uuid
|
|
217
|
+
* @param {CustomNodeSkeleton} nodeData custom node object
|
|
218
|
+
* @returns {Promise<CustomNodeSkeleton>} a promise that resolves to an object containing a custom node object
|
|
219
|
+
*/
|
|
220
|
+
export declare function putCustomNode({ nodeId, nodeData, state, }: {
|
|
221
|
+
nodeId: string;
|
|
222
|
+
nodeData: CustomNodeSkeleton;
|
|
223
|
+
state: State;
|
|
224
|
+
}): Promise<CustomNodeSkeleton>;
|
|
225
|
+
/**
|
|
226
|
+
* Delete custom node by uuid
|
|
227
|
+
* @param {String} nodeId custom node uuid
|
|
228
|
+
* @returns {Promise<CustomNodeSkeleton>} a promise that resolves to an object containing a custom node object
|
|
229
|
+
*/
|
|
230
|
+
export declare function deleteCustomNode({ nodeId, state, }: {
|
|
231
|
+
nodeId: string;
|
|
232
|
+
state: State;
|
|
233
|
+
}): Promise<CustomNodeSkeleton>;
|
|
234
|
+
/**
|
|
235
|
+
* Get custom node usage by uuid
|
|
236
|
+
* @param {String} nodeId custom node uuid
|
|
237
|
+
* @returns {Promise<CustomNodeUsage>} a promise that resolves to an object containing a custom node usage object
|
|
238
|
+
*/
|
|
239
|
+
export declare function getCustomNodeUsage({ nodeId, state, }: {
|
|
240
|
+
nodeId: string;
|
|
241
|
+
state: State;
|
|
242
|
+
}): Promise<CustomNodeUsage>;
|
|
243
|
+
//# sourceMappingURL=NodeApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NodeApi.d.ts","sourceRoot":"","sources":["../../src/api/NodeApi.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAIxC,OAAO,EACL,uBAAuB,EACvB,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,WAAW,EAChB,KAAK,WAAW,EACjB,MAAM,YAAY,CAAC;AAmCpB,MAAM,WAAW,wBAAwB;IACvC,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACpC,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MA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,EAAE;IACD,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAU9B;AAED;;;;;;;GAOG;AACH,wBAAsB,aAAa,CAAC,EAClC,MAAM,EACN,QAAQ,EACR,KAAK,GACN,EAAE;IACD,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAa9B;AAED;;;;GAIG;AACH,wBAAsB,gBAAgB,CAAC,EACrC,MAAM,EACN,KAAK,GACN,EAAE;IACD,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAU9B;AAED;;;;GAIG;AACH,wBAAsB,kBAAkB,CAAC,EACvC,MAAM,EACN,KAAK,GACN,EAAE;IACD,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,eAAe,CAAC,CAc3B"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { State } from '../shared/State';
|
|
2
|
+
import { type AmConfigEntityInterface, type NoIdObjectSkeletonInterface, type PagedResult, type Readable, type Writable } from './ApiTypes';
|
|
3
|
+
export type OAuth2ClientSkeleton = AmConfigEntityInterface & {
|
|
4
|
+
overrideOAuth2ClientConfig?: {
|
|
5
|
+
[k: string]: string | number | boolean | string[] | object | undefined;
|
|
6
|
+
};
|
|
7
|
+
advancedOAuth2ClientConfig?: {
|
|
8
|
+
descriptions: {
|
|
9
|
+
inherited: boolean;
|
|
10
|
+
value: string[];
|
|
11
|
+
};
|
|
12
|
+
grantTypes?: Readable<string[]> | Writable<string[]>;
|
|
13
|
+
isConsentImplied?: Readable<boolean> | Writable<boolean>;
|
|
14
|
+
tokenEndpointAuthMethod?: Readable<string> | Writable<string>;
|
|
15
|
+
responseTypes?: Readable<string[]> | Writable<string[]>;
|
|
16
|
+
[k: string]: string | number | boolean | string[] | object | undefined;
|
|
17
|
+
};
|
|
18
|
+
signEncOAuth2ClientConfig?: {
|
|
19
|
+
jwkSet?: Readable<string> | Writable<string>;
|
|
20
|
+
publicKeyLocation?: Readable<string> | Writable<string>;
|
|
21
|
+
[k: string]: string | number | boolean | string[] | object | undefined;
|
|
22
|
+
};
|
|
23
|
+
coreOpenIDClientConfig?: {
|
|
24
|
+
[k: string]: string | number | boolean | string[] | object | undefined;
|
|
25
|
+
};
|
|
26
|
+
coreOAuth2ClientConfig?: {
|
|
27
|
+
userpassword?: string;
|
|
28
|
+
clientName?: Readable<string[]> | Writable<string[]>;
|
|
29
|
+
clientType?: Readable<string> | Writable<string>;
|
|
30
|
+
accessTokenLifetime?: Readable<number> | Writable<number>;
|
|
31
|
+
scopes?: Readable<string[]> | Writable<string[]>;
|
|
32
|
+
defaultScopes?: {
|
|
33
|
+
value: string[];
|
|
34
|
+
[k: string]: string | number | boolean | string[] | object | undefined;
|
|
35
|
+
};
|
|
36
|
+
[k: string]: string | number | boolean | string[] | object | undefined;
|
|
37
|
+
};
|
|
38
|
+
coreUmaClientConfig?: {
|
|
39
|
+
[k: string]: string | number | boolean | string[] | object | undefined;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Get OAuth2 Clients
|
|
44
|
+
* @returns {Promise<PagedResult>} a promise that resolves to a PagedResults object containing an array of oauth2client objects
|
|
45
|
+
*/
|
|
46
|
+
export declare function getOAuth2Clients({ state, }: {
|
|
47
|
+
state: State;
|
|
48
|
+
}): Promise<PagedResult<OAuth2ClientSkeleton>>;
|
|
49
|
+
/**
|
|
50
|
+
* Get OAuth2 Client
|
|
51
|
+
* @param {string} id client id
|
|
52
|
+
* @returns {Promise<OAuth2ClientSkeleton>} a promise that resolves to an oauth2 client object
|
|
53
|
+
*/
|
|
54
|
+
export declare function getOAuth2Client({ id, state, }: {
|
|
55
|
+
id: string;
|
|
56
|
+
state: State;
|
|
57
|
+
}): Promise<OAuth2ClientSkeleton>;
|
|
58
|
+
/**
|
|
59
|
+
* Put OAuth2 Client
|
|
60
|
+
* @param {string} id client id
|
|
61
|
+
* @param {OAuth2ClientSkeleton} clientData oauth2client object
|
|
62
|
+
* @returns {Promise<OAuth2ClientSkeleton>} a promise that resolves to an oauth2 client object
|
|
63
|
+
*/
|
|
64
|
+
export declare function putOAuth2Client({ id, clientData, state, }: {
|
|
65
|
+
id: string;
|
|
66
|
+
clientData: OAuth2ClientSkeleton | NoIdObjectSkeletonInterface;
|
|
67
|
+
state: State;
|
|
68
|
+
}): Promise<OAuth2ClientSkeleton>;
|
|
69
|
+
/**
|
|
70
|
+
* Delete OAuth2 Client
|
|
71
|
+
* @param {string} id OAuth2 Client
|
|
72
|
+
* @returns {Promise<OAuth2ClientSkeleton>} a promise that resolves to an oauth2client object
|
|
73
|
+
*/
|
|
74
|
+
export declare function deleteOAuth2Client({ id, state, }: {
|
|
75
|
+
id: string;
|
|
76
|
+
state: State;
|
|
77
|
+
}): Promise<OAuth2ClientSkeleton>;
|
|
78
|
+
//# sourceMappingURL=OAuth2ClientApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OAuth2ClientApi.d.ts","sourceRoot":"","sources":["../../src/api/OAuth2ClientApi.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAGxC,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,2BAA2B,EAChC,KAAK,WAAW,EAChB,KAAK,QAAQ,EACb,KAAK,QAAQ,EACd,MAAM,YAAY,CAAC;AAapB,MAAM,MAAM,oBAAoB,GAAG,uBAAuB,GAAG;IAC3D,0BAA0B,CAAC,EAAE;QAC3B,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,EAAE,GAAG,MAAM,GAAG,SAAS,CAAC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M,CAAC;IACX,UAAU,EAAE,oBAAoB,GAAG,2BAA2B,CAAC;IAC/D,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAoBhC;AAED;;;;GAIG;AACH,wBAAsB,kBAAkB,CAAC,EACvC,EAAE,EACF,KAAK,GACN,EAAE;IACD,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAehC"}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
|
+
import { State } from '../shared/State';
|
|
3
|
+
export type AccessTokenResponseType = {
|
|
4
|
+
access_token: string;
|
|
5
|
+
id_token?: string;
|
|
6
|
+
refresh_token?: string;
|
|
7
|
+
scope: string;
|
|
8
|
+
token_type: string;
|
|
9
|
+
expires_in: number;
|
|
10
|
+
/**
|
|
11
|
+
* Present only when an `OAUTH2_ACCESS_TOKEN_MODIFICATION` script on the
|
|
12
|
+
* issuing OAuth2 client embeds a real AM session id via
|
|
13
|
+
* `accessToken.addExtraData('sessionId', session.getTokenID())` — see the
|
|
14
|
+
* plan doc's Phase A/C session-capture-script mechanism.
|
|
15
|
+
*/
|
|
16
|
+
sessionId?: string;
|
|
17
|
+
};
|
|
18
|
+
export type DeviceAuthorizationResponseType = {
|
|
19
|
+
device_code: string;
|
|
20
|
+
user_code: string;
|
|
21
|
+
verification_uri: string;
|
|
22
|
+
verification_uri_complete?: string;
|
|
23
|
+
expires_in: number;
|
|
24
|
+
interval?: number;
|
|
25
|
+
};
|
|
26
|
+
export type TokenInfoResponseType = {
|
|
27
|
+
sub: string;
|
|
28
|
+
cts: string;
|
|
29
|
+
auditTrackingId: string;
|
|
30
|
+
subname: string;
|
|
31
|
+
iss: string;
|
|
32
|
+
tokenName: string;
|
|
33
|
+
token_type: string;
|
|
34
|
+
authGrantId: string;
|
|
35
|
+
access_token: string;
|
|
36
|
+
aud: string;
|
|
37
|
+
nbf: number;
|
|
38
|
+
grant_type: string;
|
|
39
|
+
scope: string[];
|
|
40
|
+
auth_time: number;
|
|
41
|
+
sessionToken?: string;
|
|
42
|
+
realm: string;
|
|
43
|
+
exp: number;
|
|
44
|
+
iat: number;
|
|
45
|
+
expires_in: number;
|
|
46
|
+
jti: string;
|
|
47
|
+
[k: string]: string | number | string[];
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* Perform the authorization step of the authorization code grant flow
|
|
51
|
+
* @param {string} amBaseUrl access management base URL
|
|
52
|
+
* @param {string} data body form data
|
|
53
|
+
* @param {AxiosRequestConfig} config axios request config object
|
|
54
|
+
* @param {State} state library state
|
|
55
|
+
* @returns {Promise} a promise resolving to an object containing the authorization server response object
|
|
56
|
+
*/
|
|
57
|
+
export declare function authorize({ amBaseUrl, data, config, state, }: {
|
|
58
|
+
amBaseUrl: string;
|
|
59
|
+
data: string;
|
|
60
|
+
config: AxiosRequestConfig;
|
|
61
|
+
state: State;
|
|
62
|
+
}): Promise<AxiosResponse<any, any>>;
|
|
63
|
+
/**
|
|
64
|
+
* Perform access token request step of the authorization code grant flow
|
|
65
|
+
* @param {string} amBaseUrl access management base URL
|
|
66
|
+
* @param {string} data body form data
|
|
67
|
+
* @param {AxiosRequestConfig} config config axios request config object
|
|
68
|
+
* @param {State} state library state
|
|
69
|
+
* @returns {Promise<AccessTokenResponseType>} a promise resolving to an object containing the authorization server response object containing the access token
|
|
70
|
+
*/
|
|
71
|
+
export declare function accessToken({ amBaseUrl, postData, config, realm, state, }: {
|
|
72
|
+
amBaseUrl: string;
|
|
73
|
+
postData: any;
|
|
74
|
+
config: AxiosRequestConfig;
|
|
75
|
+
realm?: boolean;
|
|
76
|
+
state: State;
|
|
77
|
+
}): Promise<AccessTokenResponseType>;
|
|
78
|
+
/**
|
|
79
|
+
* Perform the device authorization request step of the device authorization
|
|
80
|
+
* grant flow (RFC 8628)
|
|
81
|
+
* @param {string} amBaseUrl access management base URL
|
|
82
|
+
* @param {string} data body form data
|
|
83
|
+
* @param {AxiosRequestConfig} config axios request config object
|
|
84
|
+
* @param {State} state library state
|
|
85
|
+
* @returns {Promise<DeviceAuthorizationResponseType>} a promise resolving to an object containing the device/user code pair
|
|
86
|
+
*/
|
|
87
|
+
export declare function deviceAuthorizationRequest({ amBaseUrl, data, config, state, }: {
|
|
88
|
+
amBaseUrl: string;
|
|
89
|
+
data: string;
|
|
90
|
+
config: AxiosRequestConfig;
|
|
91
|
+
state: State;
|
|
92
|
+
}): Promise<DeviceAuthorizationResponseType>;
|
|
93
|
+
/**
|
|
94
|
+
* Get token info
|
|
95
|
+
* @param {string} amBaseUrl access management base URL
|
|
96
|
+
* @param {AxiosRequestConfig} config config axios request config object
|
|
97
|
+
* @param {State} state library state
|
|
98
|
+
* @returns
|
|
99
|
+
*/
|
|
100
|
+
export declare function getTokenInfo({ amBaseUrl, config, state, }: {
|
|
101
|
+
amBaseUrl: string;
|
|
102
|
+
config: AxiosRequestConfig;
|
|
103
|
+
state: State;
|
|
104
|
+
}): Promise<TokenInfoResponseType>;
|
|
105
|
+
/**
|
|
106
|
+
* Perform client credentials grant flow
|
|
107
|
+
* @param {string} amBaseUrl access management base URL
|
|
108
|
+
* @param {string} clientId client id
|
|
109
|
+
* @param {string} clientSecret client secret
|
|
110
|
+
* @param {string} scope space-delimited scope list
|
|
111
|
+
* @param {State} state library state
|
|
112
|
+
* @returns {Promise} a promise resolving to an object containing the authorization server response object
|
|
113
|
+
*/
|
|
114
|
+
export declare function clientCredentialsGrant({ amBaseUrl, clientId, clientSecret, scope, state, }: {
|
|
115
|
+
amBaseUrl: string;
|
|
116
|
+
clientId: string;
|
|
117
|
+
clientSecret: string;
|
|
118
|
+
scope: string;
|
|
119
|
+
state: State;
|
|
120
|
+
}): Promise<AccessTokenResponseType>;
|
|
121
|
+
//# sourceMappingURL=OAuth2OIDCApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file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