@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
|
@@ -0,0 +1,357 @@
|
|
|
1
|
+
import { SecretStoreMappingSkeleton, SecretStoreSchemaSkeleton, SecretStoreSkeleton } from '../api/SecretStoreApi';
|
|
2
|
+
import { State } from '../shared/State';
|
|
3
|
+
import { ExportMetaData, ResultCallback } from './OpsTypes';
|
|
4
|
+
export type SecretStore = {
|
|
5
|
+
/**
|
|
6
|
+
* Create an empty secret store export template
|
|
7
|
+
* @returns {SecretStoreExportInterface} an empty secret store export template
|
|
8
|
+
*/
|
|
9
|
+
createSecretStoreExportTemplate(): SecretStoreExportInterface;
|
|
10
|
+
/**
|
|
11
|
+
* Create secret store mapping. Will throw if type is not defined and multiple secret stores with the same id are found.
|
|
12
|
+
* @param {string} secretStoreId Secret store id
|
|
13
|
+
* @param {string | undefined} secretStoreTypeId Secret store type id (optional)
|
|
14
|
+
* @param {SecretStoreMappingSkeleton} secretStoreMappingData The secret store mapping data,
|
|
15
|
+
* @param {boolean} globalConfig true if the secret store is global, false otherwise. Default: false.
|
|
16
|
+
* @returns {Promise<SecretStoreMappingSkeleton>} a promise that resolves to a secret store mapping object of the mapping created
|
|
17
|
+
*/
|
|
18
|
+
createSecretStoreMapping(secretStoreId: string, secretStoreTypeId: string | undefined, secretStoreMappingData: SecretStoreMappingSkeleton, globalConfig: boolean): Promise<SecretStoreMappingSkeleton>;
|
|
19
|
+
/**
|
|
20
|
+
* Read secret store by id. Will throw if type is not defined and multiple secret stores with the same id are found.
|
|
21
|
+
* @param {string} secretStoreId Secret store id
|
|
22
|
+
* @param {string | undefined} secretStoreTypeId Secret store type id (optional)
|
|
23
|
+
* @param {boolean} globalConfig true if global secret store is the target of the operation, false otherwise. Default: false.
|
|
24
|
+
* @returns {Promise<SecretStoreSkeleton>} a promise that resolves to a secret store object
|
|
25
|
+
*/
|
|
26
|
+
readSecretStore(secretStoreId: string, secretStoreTypeId: string | undefined, globalConfig: boolean): Promise<SecretStoreSkeleton>;
|
|
27
|
+
/**
|
|
28
|
+
* Read secret store schema
|
|
29
|
+
* @param {string} secretStoreTypeId Secret store type id
|
|
30
|
+
* @param {boolean} globalConfig true if the secret store is global, false otherwise. Default: false.
|
|
31
|
+
* @returns {Promise<SecretStoreSchemaSkeleton>} a promise that resolves to a secret store schema object
|
|
32
|
+
*/
|
|
33
|
+
readSecretStoreSchema(secretStoreTypeId: string, globalConfig: boolean): Promise<SecretStoreSchemaSkeleton>;
|
|
34
|
+
/**
|
|
35
|
+
* Read all secret stores.
|
|
36
|
+
* @param {boolean} globalConfig true if global secret stores are the target of the operation, false otherwise. Default: false.
|
|
37
|
+
* @returns {Promise<SecretStoreSkeleton[]>} a promise that resolves to an array of secret store objects
|
|
38
|
+
*/
|
|
39
|
+
readSecretStores(globalConfig: boolean): Promise<SecretStoreSkeleton[]>;
|
|
40
|
+
/**
|
|
41
|
+
* Read secret store mapping. Will throw if type is not defined and multiple secret stores with the same id are found.
|
|
42
|
+
* @param {string} secretStoreId Secret store id
|
|
43
|
+
* @param {string | undefined} secretStoreTypeId Secret store type id (optional)
|
|
44
|
+
* @param {string} secretId Secret store mapping label
|
|
45
|
+
* @param {boolean} globalConfig true if the secret store is global, false otherwise. Default: false.
|
|
46
|
+
* @returns {Promise<SecretStoreMappingSkeleton>} a promise that resolves to an array of secret store mapping objects
|
|
47
|
+
*/
|
|
48
|
+
readSecretStoreMapping(secretStoreId: string, secretStoreTypeId: string | undefined, secretId: string, globalConfig: boolean): Promise<SecretStoreMappingSkeleton>;
|
|
49
|
+
/**
|
|
50
|
+
* Read secret store mappings. Will throw if type is not defined and multiple secret stores with the same id are found.
|
|
51
|
+
* @param {string} secretStoreId Secret store id
|
|
52
|
+
* @param {string | undefined} secretStoreTypeId Secret store type id (optional)
|
|
53
|
+
* @param {boolean} globalConfig true if the secret store is global, false otherwise. Default: false.
|
|
54
|
+
* @returns {Promise<SecretStoreMappingSkeleton[]>} a promise that resolves to an array of secret store mapping objects
|
|
55
|
+
*/
|
|
56
|
+
readSecretStoreMappings(secretStoreId: string, secretStoreTypeId: string | undefined, globalConfig: boolean): Promise<SecretStoreMappingSkeleton[]>;
|
|
57
|
+
/**
|
|
58
|
+
* Export a single secret store by id. The response can be saved to file as is. Will throw if type is not defined and multiple secret stores with the same id are found.
|
|
59
|
+
* @param {string} secretStoreId Secret store id
|
|
60
|
+
* @param {string | undefined} secretStoreTypeId Secret store type id (optional)
|
|
61
|
+
* @param {boolean} globalConfig true if global secret store is the target of the operation, false otherwise. Default: false.
|
|
62
|
+
* @returns {Promise<SecretStoreExportInterface>} Promise resolving to a SecretStoreExportInterface object.
|
|
63
|
+
*/
|
|
64
|
+
exportSecretStore(secretStoreId: string, secretStoreTypeId: string | undefined, globalConfig: boolean): Promise<SecretStoreExportInterface>;
|
|
65
|
+
/**
|
|
66
|
+
* Export all secret stores. The response can be saved to file as is.
|
|
67
|
+
* @param {boolean} globalConfig true if global secret stores are the target of the operation, false otherwise. Default: false.
|
|
68
|
+
* @param {ResultCallback} resultCallback Optional callback to process individual results
|
|
69
|
+
* @returns {Promise<SecretStoreExportInterface>} Promise resolving to a SecretStoreExportInterface object.
|
|
70
|
+
*/
|
|
71
|
+
exportSecretStores(globalConfig: boolean, resultCallback?: ResultCallback<SecretStoreSkeleton>): Promise<SecretStoreExportInterface>;
|
|
72
|
+
/**
|
|
73
|
+
* Update secret store
|
|
74
|
+
* @param {SecretStoreSkeleton} secretStoreData secret store to import
|
|
75
|
+
* @param {boolean} globalConfig true if the secret store is global, false otherwise. Default: false.
|
|
76
|
+
* @returns {Promise<SecretStoreSkeleton>} a promise that resolves to a secret store object
|
|
77
|
+
*/
|
|
78
|
+
updateSecretStore(secretStoreData: SecretStoreSkeleton, globalConfig: boolean): Promise<SecretStoreSkeleton>;
|
|
79
|
+
/**
|
|
80
|
+
* Update secret store mapping. Will throw if type is not defined and multiple secret stores with the same id are found.
|
|
81
|
+
* @param {string} secretStoreId Secret store id
|
|
82
|
+
* @param {string | undefined} secretStoreTypeId Secret store type id (optional)
|
|
83
|
+
* @param {SecretStoreMappingSkeleton} secretStoreMappingData secret store mapping to import
|
|
84
|
+
* @param {boolean} globalConfig true if the secret store mapping is global, false otherwise. Default: false.
|
|
85
|
+
* @returns {Promise<SecretStoreMappingSkeleton>} a promise that resolves to a secret store mapping object
|
|
86
|
+
*/
|
|
87
|
+
updateSecretStoreMapping(secretStoreId: string, secretStoreTypeId: string | undefined, secretStoreMappingData: SecretStoreMappingSkeleton, globalConfig: boolean): Promise<SecretStoreMappingSkeleton>;
|
|
88
|
+
/**
|
|
89
|
+
* Import secret stores and mappings
|
|
90
|
+
* @param {SecretStoreExportInterface} importData secret store import data
|
|
91
|
+
* @param {boolean} globalConfig true if the secret store mapping is global, false otherwise. Default: false.
|
|
92
|
+
* @param {string} secretStoreId optional secret store id. If supplied, only the secret store of that id is imported.
|
|
93
|
+
* @param {string} secretStoreTypeId optional secret store type id
|
|
94
|
+
* @param {ResultCallback} resultCallback Optional callback to process individual results
|
|
95
|
+
* @returns {Promise<SecretStoreExportSkeleton[]>} the imported secret stores and mappings
|
|
96
|
+
*/
|
|
97
|
+
importSecretStores(importData: SecretStoreExportInterface, globalConfig: boolean, secretStoreId?: string, secretStoreTypeId?: string, resultCallback?: ResultCallback<SecretStoreSkeleton>): Promise<SecretStoreExportSkeleton[]>;
|
|
98
|
+
/**
|
|
99
|
+
* Delete secret store by id
|
|
100
|
+
* @param {string} secretStoreId Secret store id
|
|
101
|
+
* @param {string | undefined} secretStoreTypeId Secret store type id (optional)
|
|
102
|
+
* @param {boolean} globalConfig true if the secret store mapping is global, false otherwise. Default: false.
|
|
103
|
+
* @returns {Promise<SecretStoreSkeleton>} a promise that resolves to a secret store object
|
|
104
|
+
*/
|
|
105
|
+
deleteSecretStore(secretStoreId: string, secretStoreTypeId: string | undefined, globalConfig: boolean): Promise<SecretStoreSkeleton>;
|
|
106
|
+
/**
|
|
107
|
+
* Delete all secret stores
|
|
108
|
+
* @param {boolean} globalConfig true if the secret store mappings are global, false otherwise. Default: false.
|
|
109
|
+
* @param {ResultCallback} resultCallback Optional callback to process individual results
|
|
110
|
+
* @returns {Promise<SecretStoreSkeleton[]>} a promise that resolves to an array of secret store objects
|
|
111
|
+
*/
|
|
112
|
+
deleteSecretStores(globalConfig: boolean, resultCallback?: ResultCallback<SecretStoreSkeleton>): Promise<SecretStoreSkeleton[]>;
|
|
113
|
+
/**
|
|
114
|
+
* Delete secret store mapping
|
|
115
|
+
* @param {string} secretStoreId Secret store id
|
|
116
|
+
* @param {string | undefined} secretStoreTypeId Secret store type id (optional)
|
|
117
|
+
* @param {string} secretId Secret store mapping label
|
|
118
|
+
* @param {boolean} globalConfig true if the secret store mapping is global, false otherwise. Default: false.
|
|
119
|
+
* @returns {Promise<SecretStoreMappingSkeleton>} a promise that resolves to a secret store mapping object
|
|
120
|
+
*/
|
|
121
|
+
deleteSecretStoreMapping(secretStoreId: string, secretStoreTypeId: string | undefined, secretId: string, globalConfig: boolean): Promise<SecretStoreMappingSkeleton>;
|
|
122
|
+
/**
|
|
123
|
+
* Delete secret store mappings
|
|
124
|
+
* @param {string} secretStoreId Secret store id
|
|
125
|
+
* @param {string | undefined} secretStoreTypeId Secret store type id (optional)
|
|
126
|
+
* @param {boolean} globalConfig true if the secret store mapping is global, false otherwise. Default: false.
|
|
127
|
+
* @param {ResultCallback} resultCallback Optional callback to process individual results
|
|
128
|
+
* @returns {Promise<SecretStoreMappingSkeleton[]>} a promise that resolves to a secret store mapping object
|
|
129
|
+
*/
|
|
130
|
+
deleteSecretStoreMappings(secretStoreId: string, secretStoreTypeId: string | undefined, globalConfig: boolean, resultCallback?: ResultCallback<SecretStoreMappingSkeleton>): Promise<SecretStoreMappingSkeleton[]>;
|
|
131
|
+
/**
|
|
132
|
+
* Function that returns true if the given secret store type can have mappings, false otherwise
|
|
133
|
+
* @param secretStoreTypeId The secret store type
|
|
134
|
+
* @returns true if the given secret store type can have mappings, false otherwise
|
|
135
|
+
*/
|
|
136
|
+
canSecretStoreHaveMappings(secretStoreTypeId: string): boolean;
|
|
137
|
+
};
|
|
138
|
+
declare const _default: (state: State) => SecretStore;
|
|
139
|
+
export default _default;
|
|
140
|
+
export declare const SECRET_STORES_WITH_NO_MAPPINGS: string[];
|
|
141
|
+
export type SecretStoreExportSkeleton = SecretStoreSkeleton & {
|
|
142
|
+
mappings?: SecretStoreMappingSkeleton[];
|
|
143
|
+
};
|
|
144
|
+
export interface SecretStoreExportInterface {
|
|
145
|
+
meta?: ExportMetaData;
|
|
146
|
+
secretstore: Record<string, SecretStoreExportSkeleton>;
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* Create an empty secret store export template
|
|
150
|
+
* @returns {SecretStoreExportInterface} an empty secret store export template
|
|
151
|
+
*/
|
|
152
|
+
export declare function createSecretStoreExportTemplate({ state, }: {
|
|
153
|
+
state: State;
|
|
154
|
+
}): SecretStoreExportInterface;
|
|
155
|
+
/**
|
|
156
|
+
* Create secret store mapping. Will throw if type is not defined and multiple secret stores with the same id are found.
|
|
157
|
+
* @param {string} secretStoreId Secret store id
|
|
158
|
+
* @param {string | undefined} secretStoreTypeId Secret store type id (optional)
|
|
159
|
+
* @param {SecretStoreMappingSkeleton} secretStoreMappingData The secret store mapping data,
|
|
160
|
+
* @param {boolean} globalConfig true if the secret store is global, false otherwise. Default: false.
|
|
161
|
+
* @returns {Promise<SecretStoreMappingSkeleton>} a promise that resolves to a secret store mapping object of the mapping created
|
|
162
|
+
*/
|
|
163
|
+
export declare function createSecretStoreMapping({ secretStoreId, secretStoreTypeId, secretStoreMappingData, globalConfig, state, }: {
|
|
164
|
+
secretStoreId: string;
|
|
165
|
+
secretStoreTypeId: string | undefined;
|
|
166
|
+
secretStoreMappingData: SecretStoreMappingSkeleton;
|
|
167
|
+
globalConfig: boolean;
|
|
168
|
+
state: State;
|
|
169
|
+
}): Promise<SecretStoreMappingSkeleton>;
|
|
170
|
+
/**
|
|
171
|
+
* Read secret store by id. Will throw if type is not defined and multiple secret stores with the same id are found.
|
|
172
|
+
* @param {string} secretStoreId Secret store id
|
|
173
|
+
* @param {string | undefined} secretStoreTypeId Secret store type id (optional)
|
|
174
|
+
* @param {boolean} globalConfig true if global secret store is the target of the operation, false otherwise. Default: false.
|
|
175
|
+
* @returns {Promise<SecretStoreSkeleton>} a promise that resolves to a secret store object
|
|
176
|
+
*/
|
|
177
|
+
export declare function readSecretStore({ secretStoreId, secretStoreTypeId, globalConfig, state, }: {
|
|
178
|
+
secretStoreId: string;
|
|
179
|
+
secretStoreTypeId: string | undefined;
|
|
180
|
+
globalConfig: boolean;
|
|
181
|
+
state: State;
|
|
182
|
+
}): Promise<SecretStoreSkeleton>;
|
|
183
|
+
/**
|
|
184
|
+
* Read secret store schema
|
|
185
|
+
* @param {string} secretStoreTypeId Secret store type id
|
|
186
|
+
* @param {boolean} globalConfig true if the secret store is global, false otherwise. Default: false.
|
|
187
|
+
* @returns {Promise<SecretStoreSchemaSkeleton>} a promise that resolves to a secret store schema object
|
|
188
|
+
*/
|
|
189
|
+
export declare function readSecretStoreSchema({ secretStoreTypeId, globalConfig, state, }: {
|
|
190
|
+
secretStoreTypeId: string;
|
|
191
|
+
globalConfig: boolean;
|
|
192
|
+
state: State;
|
|
193
|
+
}): Promise<SecretStoreSchemaSkeleton>;
|
|
194
|
+
/**
|
|
195
|
+
* Read all secret stores.
|
|
196
|
+
* @param {boolean} globalConfig true if global secret stores are the target of the operation, false otherwise. Default: false.
|
|
197
|
+
* @returns {Promise<SecretStoreSkeleton[]>} a promise that resolves to an array of secret store objects
|
|
198
|
+
*/
|
|
199
|
+
export declare function readSecretStores({ globalConfig, state, }: {
|
|
200
|
+
globalConfig: boolean;
|
|
201
|
+
state: State;
|
|
202
|
+
}): Promise<SecretStoreSkeleton[]>;
|
|
203
|
+
/**
|
|
204
|
+
* Read secret store mapping. Will throw if type is not defined and multiple secret stores with the same id are found.
|
|
205
|
+
* @param {string} secretStoreId Secret store id
|
|
206
|
+
* @param {string | undefined} secretStoreTypeId Secret store type id (optional)
|
|
207
|
+
* @param {string} secretId Secret store mapping label
|
|
208
|
+
* @param {boolean} globalConfig true if the secret store is global, false otherwise. Default: false.
|
|
209
|
+
* @returns {Promise<SecretStoreMappingSkeleton>} a promise that resolves to an array of secret store mapping objects
|
|
210
|
+
*/
|
|
211
|
+
export declare function readSecretStoreMapping({ secretStoreId, secretStoreTypeId, secretId, globalConfig, state, }: {
|
|
212
|
+
secretStoreId: string;
|
|
213
|
+
secretStoreTypeId: string | undefined;
|
|
214
|
+
secretId: string;
|
|
215
|
+
globalConfig: boolean;
|
|
216
|
+
state: State;
|
|
217
|
+
}): Promise<SecretStoreMappingSkeleton>;
|
|
218
|
+
/**
|
|
219
|
+
* Read secret store mappings. Will throw if type is not defined and multiple secret stores with the same id are found.
|
|
220
|
+
* @param {string} secretStoreId Secret store id
|
|
221
|
+
* @param {string | undefined} secretStoreTypeId Secret store type id (optional)
|
|
222
|
+
* @param {boolean} globalConfig true if the secret store is global, false otherwise. Default: false.
|
|
223
|
+
* @returns {Promise<SecretStoreMappingSkeleton[]>} a promise that resolves to an array of secret store mapping objects
|
|
224
|
+
*/
|
|
225
|
+
export declare function readSecretStoreMappings({ secretStoreId, secretStoreTypeId, globalConfig, state, }: {
|
|
226
|
+
secretStoreId: string;
|
|
227
|
+
secretStoreTypeId: string | undefined;
|
|
228
|
+
globalConfig: boolean;
|
|
229
|
+
state: State;
|
|
230
|
+
}): Promise<SecretStoreMappingSkeleton[]>;
|
|
231
|
+
/**
|
|
232
|
+
* Export a single secret store by id. The response can be saved to file as is. Will throw if type is not defined and multiple secret stores with the same id are found.
|
|
233
|
+
* @param {string} secretStoreId Secret store id
|
|
234
|
+
* @param {string | undefined} secretStoreTypeId Secret store type id (optional)
|
|
235
|
+
* @param {boolean} globalConfig true if global secret store is the target of the operation, false otherwise. Default: false.
|
|
236
|
+
* @returns {Promise<SecretStoreExportInterface>} Promise resolving to a SecretStoreExportInterface object.
|
|
237
|
+
*/
|
|
238
|
+
export declare function exportSecretStore({ secretStoreId, secretStoreTypeId, globalConfig, state, }: {
|
|
239
|
+
secretStoreId: string;
|
|
240
|
+
secretStoreTypeId: string | undefined;
|
|
241
|
+
globalConfig: boolean;
|
|
242
|
+
state: State;
|
|
243
|
+
}): Promise<SecretStoreExportInterface>;
|
|
244
|
+
/**
|
|
245
|
+
* Export all secret stores. The response can be saved to file as is.
|
|
246
|
+
* @param {boolean} globalConfig true if global secret stores are the target of the operation, false otherwise. Default: false.
|
|
247
|
+
* @returns {Promise<SecretStoreExportInterface>} Promise resolving to a SecretStoreExportInterface object.
|
|
248
|
+
*/
|
|
249
|
+
export declare function exportSecretStores({ globalConfig, resultCallback, state, }: {
|
|
250
|
+
globalConfig: boolean;
|
|
251
|
+
resultCallback?: ResultCallback<SecretStoreSkeleton>;
|
|
252
|
+
state: State;
|
|
253
|
+
}): Promise<SecretStoreExportInterface>;
|
|
254
|
+
/**
|
|
255
|
+
* Update secret store
|
|
256
|
+
* @param {SecretStoreSkeleton} secretStoreData secret store to import
|
|
257
|
+
* @param {boolean} globalConfig true if the secret store is global, false otherwise. Default: false.
|
|
258
|
+
* @returns {Promise<SecretStoreSkeleton>} a promise that resolves to a secret store object
|
|
259
|
+
*/
|
|
260
|
+
export declare function updateSecretStore({ secretStoreData, globalConfig, state, }: {
|
|
261
|
+
secretStoreData: SecretStoreSkeleton;
|
|
262
|
+
globalConfig: boolean;
|
|
263
|
+
state: State;
|
|
264
|
+
}): Promise<SecretStoreSkeleton>;
|
|
265
|
+
/**
|
|
266
|
+
* Update secret store mapping. Will throw if type is not defined and multiple secret stores with the same id are found.
|
|
267
|
+
* @param {string} secretStoreId Secret store id
|
|
268
|
+
* @param {string | undefined} secretStoreTypeId Secret store type id (optional)
|
|
269
|
+
* @param {SecretStoreMappingSkeleton} secretStoreMappingData secret store mapping to import
|
|
270
|
+
* @param {boolean} globalConfig true if the secret store mapping is global, false otherwise. Default: false.
|
|
271
|
+
* @returns {Promise<SecretStoreMappingSkeleton>} a promise that resolves to a secret store mapping object
|
|
272
|
+
*/
|
|
273
|
+
export declare function updateSecretStoreMapping({ secretStoreId, secretStoreTypeId, secretStoreMappingData, globalConfig, state, }: {
|
|
274
|
+
secretStoreId: string;
|
|
275
|
+
secretStoreTypeId: string | undefined;
|
|
276
|
+
secretStoreMappingData: SecretStoreMappingSkeleton;
|
|
277
|
+
globalConfig: boolean;
|
|
278
|
+
state: State;
|
|
279
|
+
}): Promise<SecretStoreMappingSkeleton>;
|
|
280
|
+
/**
|
|
281
|
+
* Import secret stores and mappings
|
|
282
|
+
* @param {SecretStoreExportInterface} importData secret store import data
|
|
283
|
+
* @param {boolean} globalConfig true if the secret store mapping is global, false otherwise. Default: false.
|
|
284
|
+
* @param {string} secretStoreId optional secret store id. If supplied, only the secret store of that id is imported.
|
|
285
|
+
* @param {string} secretStoreTypeId optional secret store type id
|
|
286
|
+
* @param {ResultCallback} resultCallback Optional callback to process individual results
|
|
287
|
+
* @returns {Promise<SecretStoreExportSkeleton[]>} the imported secret stores and mappings
|
|
288
|
+
*/
|
|
289
|
+
export declare function importSecretStores({ importData, globalConfig, secretStoreId, secretStoreTypeId, resultCallback, state, }: {
|
|
290
|
+
importData: SecretStoreExportInterface;
|
|
291
|
+
globalConfig: boolean;
|
|
292
|
+
secretStoreId?: string;
|
|
293
|
+
secretStoreTypeId?: string;
|
|
294
|
+
resultCallback?: ResultCallback<SecretStoreSkeleton>;
|
|
295
|
+
state: State;
|
|
296
|
+
}): Promise<SecretStoreExportSkeleton[]>;
|
|
297
|
+
/**
|
|
298
|
+
* Delete secret store by id
|
|
299
|
+
* @param {string} secretStoreId Secret store id
|
|
300
|
+
* @param {string | undefined} secretStoreTypeId Secret store type id (optional)
|
|
301
|
+
* @param {boolean} globalConfig true if the secret store mapping is global, false otherwise. Default: false.
|
|
302
|
+
* @returns {Promise<SecretStoreSkeleton>} a promise that resolves to a secret store object
|
|
303
|
+
*/
|
|
304
|
+
export declare function deleteSecretStore({ secretStoreId, secretStoreTypeId, globalConfig, state, }: {
|
|
305
|
+
secretStoreId: string;
|
|
306
|
+
secretStoreTypeId: string | undefined;
|
|
307
|
+
globalConfig: boolean;
|
|
308
|
+
state: State;
|
|
309
|
+
}): Promise<SecretStoreSkeleton>;
|
|
310
|
+
/**
|
|
311
|
+
* Delete all secret stores
|
|
312
|
+
* @param {boolean} globalConfig true if the secret store mappings are global, false otherwise. Default: false.
|
|
313
|
+
* @param {ResultCallback} resultCallback Optional callback to process individual results
|
|
314
|
+
* @returns {Promise<SecretStoreSkeleton[]>} a promise that resolves to an array of secret store objects
|
|
315
|
+
*/
|
|
316
|
+
export declare function deleteSecretStores({ globalConfig, resultCallback, state, }: {
|
|
317
|
+
globalConfig: boolean;
|
|
318
|
+
resultCallback?: ResultCallback<SecretStoreSkeleton>;
|
|
319
|
+
state: State;
|
|
320
|
+
}): Promise<SecretStoreSkeleton[]>;
|
|
321
|
+
/**
|
|
322
|
+
* Delete secret store mapping
|
|
323
|
+
* @param {string} secretStoreId Secret store id
|
|
324
|
+
* @param {string | undefined} secretStoreTypeId Secret store type id (optional)
|
|
325
|
+
* @param {string} secretId Secret store mapping label
|
|
326
|
+
* @param {boolean} globalConfig true if the secret store mapping is global, false otherwise. Default: false.
|
|
327
|
+
* @returns {Promise<SecretStoreMappingSkeleton>} a promise that resolves to a secret store mapping object
|
|
328
|
+
*/
|
|
329
|
+
export declare function deleteSecretStoreMapping({ secretStoreId, secretStoreTypeId, secretId, globalConfig, state, }: {
|
|
330
|
+
secretStoreId: string;
|
|
331
|
+
secretStoreTypeId: string | undefined;
|
|
332
|
+
secretId: string;
|
|
333
|
+
globalConfig: boolean;
|
|
334
|
+
state: State;
|
|
335
|
+
}): Promise<SecretStoreMappingSkeleton>;
|
|
336
|
+
/**
|
|
337
|
+
* Delete secret store mappings
|
|
338
|
+
* @param {string} secretStoreId Secret store id
|
|
339
|
+
* @param {string | undefined} secretStoreTypeId Secret store type id (optional)
|
|
340
|
+
* @param {boolean} globalConfig true if the secret store mapping is global, false otherwise. Default: false.
|
|
341
|
+
* @param {ResultCallback} resultCallback Optional callback to process individual results
|
|
342
|
+
* @returns {Promise<SecretStoreMappingSkeleton[]>} a promise that resolves to a secret store mapping object
|
|
343
|
+
*/
|
|
344
|
+
export declare function deleteSecretStoreMappings({ secretStoreId, secretStoreTypeId, globalConfig, resultCallback, state, }: {
|
|
345
|
+
secretStoreId: string;
|
|
346
|
+
secretStoreTypeId: string | undefined;
|
|
347
|
+
globalConfig: boolean;
|
|
348
|
+
resultCallback?: ResultCallback<SecretStoreMappingSkeleton>;
|
|
349
|
+
state: State;
|
|
350
|
+
}): Promise<SecretStoreMappingSkeleton[]>;
|
|
351
|
+
/**
|
|
352
|
+
* Function that returns true if the given secret store type can have mappings, false otherwise
|
|
353
|
+
* @param secretStoreTypeId The secret store type
|
|
354
|
+
* @returns true if the given secret store type can have mappings, false otherwise
|
|
355
|
+
*/
|
|
356
|
+
export declare function canSecretStoreHaveMappings(secretStoreTypeId: string): boolean;
|
|
357
|
+
//# sourceMappingURL=SecretStoreOps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SecretStoreOps.d.ts","sourceRoot":"","sources":["../../src/ops/SecretStoreOps.ts"],"names":[],"mappings":"AAAA,OAAO,EAWL,0BAA0B,EAC1B,yBAAyB,EACzB,mBAAmB,EACpB,MAAM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AAiB,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,YAAY,EAAE,OAAO,CAAC;IACtB,cAAc,CAAC,EAAE,cAAc,CAAC,0BAA0B,CAAC,CAAC;IAC5D,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,0BAA0B,EAAE,CAAC,CA0CxC;AAED;;;;GAIG;AACH,wBAAgB,0BAA0B,CAAC,iBAAiB,EAAE,MAAM,GAAG,OAAO,CAE7E"}
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
import { type AmServiceSkeleton, type FullService } from '../api/ServiceApi';
|
|
2
|
+
import { State } from '../shared/State';
|
|
3
|
+
import { type ExportMetaData } from './OpsTypes';
|
|
4
|
+
export type Service = {
|
|
5
|
+
createServiceExportTemplate(): ServiceExportInterface;
|
|
6
|
+
/**
|
|
7
|
+
* Get list of services
|
|
8
|
+
* @param {boolean} globalConfig true if the list of global services is requested, false otherwise. Default: false.
|
|
9
|
+
*/
|
|
10
|
+
getListOfServices(globalConfig?: boolean): Promise<import('../api/ServiceApi').AmServiceSkeleton[]>;
|
|
11
|
+
/**
|
|
12
|
+
* Get all services including their descendents.
|
|
13
|
+
* @param {boolean} globalConfig true if the global service is the target of the operation, false otherwise. Default: false.
|
|
14
|
+
* @returns Promise resolving to an array of services with their descendants
|
|
15
|
+
*/
|
|
16
|
+
getFullServices(globalConfig?: boolean): Promise<FullService[]>;
|
|
17
|
+
/**
|
|
18
|
+
* Deletes the specified service
|
|
19
|
+
* @param {string} serviceId The service to delete
|
|
20
|
+
* @param {boolean} globalConfig true if the global service is the target of the operation, false otherwise. Default: false.
|
|
21
|
+
*/
|
|
22
|
+
deleteFullService(serviceId: string, globalConfig?: boolean): Promise<AmServiceSkeleton>;
|
|
23
|
+
/**
|
|
24
|
+
* Deletes all services
|
|
25
|
+
* @param {boolean} globalConfig true if the global service is the target of the operation, false otherwise. Default: false.
|
|
26
|
+
*/
|
|
27
|
+
deleteFullServices(globalConfig?: boolean): Promise<AmServiceSkeleton[]>;
|
|
28
|
+
/**
|
|
29
|
+
* Export service. The response can be saved to file as is.
|
|
30
|
+
* @param serviceId service id/name
|
|
31
|
+
* @param {boolean} globalConfig true if the global service is the target of the operation, false otherwise. Default: false.
|
|
32
|
+
* @returns {Promise<ServiceExportInterface>} Promise resolving to a ServiceExportInterface object.
|
|
33
|
+
*/
|
|
34
|
+
exportService(serviceId: string, globalConfig?: boolean): Promise<ServiceExportInterface>;
|
|
35
|
+
/**
|
|
36
|
+
* Export all services
|
|
37
|
+
* @param {boolean} globalConfig true if the global service is the target of the operation, false otherwise. Default: false.
|
|
38
|
+
*/
|
|
39
|
+
exportServices(globalConfig?: boolean): Promise<ServiceExportInterface>;
|
|
40
|
+
/**
|
|
41
|
+
* Imports a single service using a reference to the service and a file to read the data from. Optionally clean (remove) an existing service first
|
|
42
|
+
* @param {string} serviceId The service id/name to add
|
|
43
|
+
* @param {ServiceExportInterface} importData The service configuration export data to import
|
|
44
|
+
* @param {ServiceImportOptions} options Import options
|
|
45
|
+
* @returns {Promise<AmServiceSkeleton>} A promise resolving to a service object
|
|
46
|
+
*/
|
|
47
|
+
importService(serviceId: string, importData: ServiceExportInterface, options: ServiceImportOptions): Promise<AmServiceSkeleton>;
|
|
48
|
+
/**
|
|
49
|
+
* Imports multiple services from the same file. Optionally clean (remove) existing services first
|
|
50
|
+
* @param {ServiceExportInterface} importData The service configuration export data to import
|
|
51
|
+
* @param {ServiceImportOptions} options Import options
|
|
52
|
+
* @returns {Promise<AmServiceSkeleton[]>} A promise resolving to an array of service objects
|
|
53
|
+
*/
|
|
54
|
+
importServices(importData: ServiceExportInterface, options: ServiceImportOptions): Promise<AmServiceSkeleton[]>;
|
|
55
|
+
};
|
|
56
|
+
declare const _default: (state: State) => Service;
|
|
57
|
+
export default _default;
|
|
58
|
+
export interface ServiceExportInterface {
|
|
59
|
+
meta?: ExportMetaData;
|
|
60
|
+
service: Record<string, AmServiceSkeleton>;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Service import options
|
|
64
|
+
*/
|
|
65
|
+
export interface ServiceImportOptions {
|
|
66
|
+
/**
|
|
67
|
+
* Indicates whether to remove previously existing services of the same id before importing
|
|
68
|
+
*/
|
|
69
|
+
clean: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Indicates whether to import service(s) as global services
|
|
72
|
+
*/
|
|
73
|
+
global: boolean;
|
|
74
|
+
/**
|
|
75
|
+
* Indicates whether to import service(s) to the current realm
|
|
76
|
+
*/
|
|
77
|
+
realm: boolean;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Create an empty service export template
|
|
81
|
+
* @returns {SingleTreeExportInterface} an empty service export template
|
|
82
|
+
*/
|
|
83
|
+
export declare function createServiceExportTemplate({ state, }: {
|
|
84
|
+
state: State;
|
|
85
|
+
}): ServiceExportInterface;
|
|
86
|
+
/**
|
|
87
|
+
* Get list of services
|
|
88
|
+
* @param {boolean} globalConfig true if the list of global services is requested, false otherwise. Default: false.
|
|
89
|
+
*/
|
|
90
|
+
export declare function getListOfServices({ globalConfig, state, }: {
|
|
91
|
+
globalConfig: boolean;
|
|
92
|
+
state: State;
|
|
93
|
+
}): Promise<AmServiceSkeleton[]>;
|
|
94
|
+
/**
|
|
95
|
+
* Get all services including their descendents.
|
|
96
|
+
* @param {boolean} globalConfig true if the global service is the target of the operation, false otherwise. Default: false.
|
|
97
|
+
* @returns Promise resolving to an array of services with their descendants
|
|
98
|
+
*/
|
|
99
|
+
export declare function getFullServices({ globalConfig, state, }: {
|
|
100
|
+
globalConfig: boolean;
|
|
101
|
+
state: State;
|
|
102
|
+
}): Promise<FullService[]>;
|
|
103
|
+
/**
|
|
104
|
+
* Saves a service including descendents
|
|
105
|
+
* @param {string} serviceId the service id / name
|
|
106
|
+
* @param {FullService} fullServiceData service object including descendants
|
|
107
|
+
* @param {boolean} globalConfig true if the global service is the target of the operation, false otherwise. Default: false.
|
|
108
|
+
* @returns promise resolving to a service object
|
|
109
|
+
*/
|
|
110
|
+
export declare function putFullService({ serviceId, fullServiceData, clean, globalConfig, state, }: {
|
|
111
|
+
serviceId: string;
|
|
112
|
+
fullServiceData: FullService;
|
|
113
|
+
clean: boolean;
|
|
114
|
+
globalConfig: boolean;
|
|
115
|
+
state: State;
|
|
116
|
+
}): Promise<AmServiceSkeleton>;
|
|
117
|
+
/**
|
|
118
|
+
* Saves multiple services using the serviceEntries which contain both id and data with descendants
|
|
119
|
+
* @param {[string, FullService][]} serviceEntries The services to add
|
|
120
|
+
* @param {boolean} clean Indicates whether to remove possible existing services first
|
|
121
|
+
* @param {boolean} globalConfig true if the global service is the target of the operation, false otherwise. Default: false.
|
|
122
|
+
* @param {boolean} realmConfig true if the current realm service is the target of the operation, false otherwise. Default: false.
|
|
123
|
+
* @returns {Promise<AmService[]>} promise resolving to an array of service objects
|
|
124
|
+
*/
|
|
125
|
+
export declare function putFullServices({ serviceEntries, clean, globalConfig, realmConfig, state, }: {
|
|
126
|
+
serviceEntries: [string, FullService][];
|
|
127
|
+
clean: boolean;
|
|
128
|
+
globalConfig: boolean;
|
|
129
|
+
realmConfig: boolean;
|
|
130
|
+
state: State;
|
|
131
|
+
}): Promise<AmServiceSkeleton[]>;
|
|
132
|
+
/**
|
|
133
|
+
* Deletes the specified service
|
|
134
|
+
* @param {string} serviceId The service to delete
|
|
135
|
+
* @param {boolean} globalConfig true if the global service is the target of the operation, false otherwise. Default: false.
|
|
136
|
+
*/
|
|
137
|
+
export declare function deleteFullService({ serviceId, globalConfig, state, }: {
|
|
138
|
+
serviceId: string;
|
|
139
|
+
globalConfig: boolean;
|
|
140
|
+
state: State;
|
|
141
|
+
}): Promise<AmServiceSkeleton>;
|
|
142
|
+
/**
|
|
143
|
+
* Deletes all services
|
|
144
|
+
* @param {boolean} globalConfig true if the global service is the target of the operation, false otherwise. Default: false.
|
|
145
|
+
* @return {Promise<AmServiceSkeleton[]>} a promise resolving to an array of deleted service objects
|
|
146
|
+
*/
|
|
147
|
+
export declare function deleteFullServices({ globalConfig, state, }: {
|
|
148
|
+
globalConfig: boolean;
|
|
149
|
+
state: State;
|
|
150
|
+
}): Promise<AmServiceSkeleton[]>;
|
|
151
|
+
/**
|
|
152
|
+
* Export service. The response can be saved to file as is.
|
|
153
|
+
* @param serviceId service id/name
|
|
154
|
+
* @param {boolean} globalConfig true if the global service is the target of the operation, false otherwise. Default: false.
|
|
155
|
+
* @returns {Promise<ServiceExportInterface>} Promise resolving to a ServiceExportInterface object.
|
|
156
|
+
*/
|
|
157
|
+
export declare function exportService({ serviceId, globalConfig, state, }: {
|
|
158
|
+
serviceId: string;
|
|
159
|
+
globalConfig: boolean;
|
|
160
|
+
state: State;
|
|
161
|
+
}): Promise<ServiceExportInterface>;
|
|
162
|
+
/**
|
|
163
|
+
* Export all services
|
|
164
|
+
* @param {boolean} globalConfig true if the global service is the target of the operation, false otherwise. Default: false.
|
|
165
|
+
*/
|
|
166
|
+
export declare function exportServices({ globalConfig, state, }: {
|
|
167
|
+
globalConfig: boolean;
|
|
168
|
+
state: State;
|
|
169
|
+
}): Promise<ServiceExportInterface>;
|
|
170
|
+
/**
|
|
171
|
+
* Imports a single service using a reference to the service and a file to read the data from. Optionally clean (remove) an existing service first
|
|
172
|
+
* @param {string} serviceId The service id/name to add
|
|
173
|
+
* @param {ServiceExportInterface} importData The service configuration export data to import
|
|
174
|
+
* @param {ServiceImportOptions} options Import options
|
|
175
|
+
* @returns {Promise<AmServiceSkeleton>} A promise resolving to a service object
|
|
176
|
+
*/
|
|
177
|
+
export declare function importService({ serviceId, importData, options, state, }: {
|
|
178
|
+
serviceId: string;
|
|
179
|
+
importData: ServiceExportInterface;
|
|
180
|
+
options: ServiceImportOptions;
|
|
181
|
+
state: State;
|
|
182
|
+
}): Promise<AmServiceSkeleton>;
|
|
183
|
+
/**
|
|
184
|
+
* Imports multiple services from the same file. Optionally clean (remove) existing services first
|
|
185
|
+
* @param {ServiceExportInterface} importData The service configuration export data to import
|
|
186
|
+
* @param {ServiceImportOptions} options Import options
|
|
187
|
+
* @returns {Promise<AmServiceSkeleton[]>} A promise resolving to an array of service objects
|
|
188
|
+
*/
|
|
189
|
+
export declare function importServices({ importData, options, state, }: {
|
|
190
|
+
importData: ServiceExportInterface;
|
|
191
|
+
options: ServiceImportOptions;
|
|
192
|
+
state: State;
|
|
193
|
+
}): Promise<AmServiceSkeleton[]>;
|
|
194
|
+
//# sourceMappingURL=ServiceOps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ServiceOps.d.ts","sourceRoot":"","sources":["../../src/ops/ServiceOps.ts"],"names":[],"mappings":"AAAA,OAAO,EAQL,KAAK,iBAAiB,EACtB,KAAK,WAAW,EACjB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAYxC,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,YAAY,CAAC;AAEjD,MAAM,MAAM,OAAO,GAAG;IACpB,2BAA2B,IAAI,sBAAsB,CAAC;IACtD;;;OAGG;IACH,iBAAiB,CACf,YAAY,CAAC,EAAE,OAAO,GACrB,OAAO,CAAC,OAAO,mBAAmB,EAAE,iBAAiB,EAAE,CAAC,CAAC;IAC5D;;;;OAIG;IACH,eAAe,CAAC,YAAY,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC,CAAC;IAChE;;;;OAIG;IACH,iBAAiB,CACf,SAAS,EAAE,MAAM,EACjB,YAAY,CAAC,EAAE,OAAO,GACrB,OAAO,CAAC,iBAAiB,CAAC,CAAC;IAC9B;;;OAGG;IACH,kBAAkB,CAAC,YAAY,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,iBAAiB,EAAE,CAAC,CAAC;IACzE;;;;;OAKG;IACH,aAAa,CACX,SAAS,EAAE,MAAM,EACjB,YAAY,CAAC,EAAE,OAAO,GACrB,OAAO,CAAC,sBAAsB,CAAC,CAAC;IACnC;;;OAGG;IACH,cAAc,CAAC,YAAY,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Ac,CAAC,EACnC,YAAoB,EACpB,KAAK,GACN,EAAE;IACD,YAAY,EAAE,OAAO,CAAC;IACtB,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,sBAAsB,CAAC,CA8ClC;AAED;;;;;;GAMG;AACH,wBAAsB,aAAa,CAAC,EAClC,SAAS,EACT,UAAU,EACV,OAIC,EACD,KAAK,GACN,EAAE;IACD,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,sBAAsB,CAAC;IACnC,OAAO,EAAE,oBAAoB,CAAC;IAC9B,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,iBAAiB,CAAC,CA0C7B;AAED;;;;;GAKG;AACH,wBAAsB,cAAc,CAAC,EACnC,UAAU,EACV,OAIC,EACD,KAAK,GACN,EAAE;IACD,UAAU,EAAE,sBAAsB,CAAC;IACnC,OAAO,EAAE,oBAAoB,CAAC;IAC9B,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,iBAAiB,EAAE,CAAC,CAkB/B"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type SessionInfoType } from '../api/SessionApi';
|
|
2
|
+
import { State } from '../shared/State';
|
|
3
|
+
export type Session = {
|
|
4
|
+
/**
|
|
5
|
+
* Get session info
|
|
6
|
+
* @param {string} tokenId session token
|
|
7
|
+
* @returns {Promise<SessionInfoType>} a promise resolving to a session info object
|
|
8
|
+
*/
|
|
9
|
+
getSessionInfo(tokenId: string): Promise<SessionInfoType>;
|
|
10
|
+
};
|
|
11
|
+
declare const _default: (state: State) => Session;
|
|
12
|
+
export default _default;
|
|
13
|
+
/**
|
|
14
|
+
* Get session info
|
|
15
|
+
* @param {string} tokenId session token
|
|
16
|
+
* @returns {Promise<SessionInfoType>} a promise resolving to a session info object
|
|
17
|
+
*/
|
|
18
|
+
export declare function getSessionInfo({ tokenId, state, }: {
|
|
19
|
+
tokenId: string;
|
|
20
|
+
state: State;
|
|
21
|
+
}): Promise<SessionInfoType>;
|
|
22
|
+
//# sourceMappingURL=SessionOps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SessionOps.d.ts","sourceRoot":"","sources":["../../src/ops/SessionOps.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,eAAe,EACrB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAGxC,MAAM,MAAM,OAAO,GAAG;IACpB;;;;OAIG;IACH,cAAc,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;CAC3D,CAAC;yBAEc,OAAO,KAAK,KAAG,OAAO;AAAtC,wBAME;AAEF;;;;GAIG;AACH,wBAAsB,cAAc,CAAC,EACnC,OAAO,EACP,KAAK,GACN,EAAE;IACD,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,eAAe,CAAC,CAM3B"}
|