@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,240 @@
|
|
|
1
|
+
import { RequestTypeSkeleton } from '../../../api/cloud/iga/IgaRequestTypeApi';
|
|
2
|
+
import { State } from '../../../shared/State';
|
|
3
|
+
import { ExportMetaData, ResultCallback } from '../../OpsTypes';
|
|
4
|
+
export type RequestType = {
|
|
5
|
+
/**
|
|
6
|
+
* Create request type
|
|
7
|
+
* @param {RequestTypeSkeleton} typeData the request type object
|
|
8
|
+
* @returns {Promise<RequestTypeSkeleton>} a promise that resolves to a request type object
|
|
9
|
+
*/
|
|
10
|
+
createRequestType(typeData: RequestTypeSkeleton): Promise<RequestTypeSkeleton>;
|
|
11
|
+
/**
|
|
12
|
+
* Read request type
|
|
13
|
+
* @param {string} typeId the request type id
|
|
14
|
+
* @returns {Promise<RequestTypeSkeleton>} a promise that resolves to a request type object
|
|
15
|
+
*/
|
|
16
|
+
readRequestType(typeId: string): Promise<RequestTypeSkeleton>;
|
|
17
|
+
/**
|
|
18
|
+
* Read request type by its display name
|
|
19
|
+
* @param {string} typeName the request type display name
|
|
20
|
+
* @returns {Promise<RequestTypeSkeleton>} a promise that resolves to a request type object
|
|
21
|
+
*/
|
|
22
|
+
readRequestTypeByName(typeName: string): Promise<RequestTypeSkeleton>;
|
|
23
|
+
/**
|
|
24
|
+
* Read all request types
|
|
25
|
+
* @returns {Promise<RequestTypeSkeleton[]>} a promise that resolves to an array of request type objects
|
|
26
|
+
*/
|
|
27
|
+
readRequestTypes(): Promise<RequestTypeSkeleton[]>;
|
|
28
|
+
/**
|
|
29
|
+
* Export request type
|
|
30
|
+
* @param {string} typeId the request type id
|
|
31
|
+
* @param {RequestTypeExportOptions} options export options
|
|
32
|
+
* @returns {Promise<RequestTypeExportInterface>} a promise that resolves to a request type export object
|
|
33
|
+
*/
|
|
34
|
+
exportRequestType(typeId: string, options?: RequestTypeExportOptions): Promise<RequestTypeExportInterface>;
|
|
35
|
+
/**
|
|
36
|
+
* Export request type by its display name
|
|
37
|
+
* @param {string} typeName the request type display name
|
|
38
|
+
* @param {RequestTypeExportOptions} options export options
|
|
39
|
+
* @returns {Promise<RequestTypeExportInterface>} a promise that resolves to a request type export object
|
|
40
|
+
*/
|
|
41
|
+
exportRequestTypeByName(typeName: string, options?: RequestTypeExportOptions): Promise<RequestTypeExportInterface>;
|
|
42
|
+
/**
|
|
43
|
+
* Export all request types
|
|
44
|
+
* @param {RequestTypeExportOptions} options export options
|
|
45
|
+
* @returns {Promise<RequestTypeExportInterface>} a promise that resolves to a request type export object
|
|
46
|
+
*/
|
|
47
|
+
exportRequestTypes(options?: RequestTypeExportOptions): Promise<RequestTypeExportInterface>;
|
|
48
|
+
/**
|
|
49
|
+
* Update request type
|
|
50
|
+
* @param {string} typeId the request type id
|
|
51
|
+
* @param {RequestTypeSkeleton} typeData the request type object
|
|
52
|
+
* @returns {Promise<RequestTypeSkeleton>} a promise that resolves to a request type object
|
|
53
|
+
*/
|
|
54
|
+
updateRequestType(typeId: string, typeData: RequestTypeSkeleton): Promise<RequestTypeSkeleton>;
|
|
55
|
+
/**
|
|
56
|
+
* Import request types
|
|
57
|
+
* @param {string} typeId The request type id. If supplied, only the request type of that id is imported. Takes priority over typeName if they are all provided.
|
|
58
|
+
* @param {string} typeName The request type display name. If supplied, only the request type of that display name is imported.
|
|
59
|
+
* @param {RequestTypeExportInterface} importData request type import data
|
|
60
|
+
* @param {RequestTypeImportOptions} options import options
|
|
61
|
+
* @param {ResultCallback<RequestTypeSkeleton>} resultCallback Optional callback to process individual results
|
|
62
|
+
* @returns {Promise<RequestTypeSkeleton[]>} the imported request types
|
|
63
|
+
*/
|
|
64
|
+
importRequestTypes(importData: RequestTypeExportInterface, typeId?: string, typeName?: string, options?: RequestTypeImportOptions, resultCallback?: ResultCallback<RequestTypeSkeleton>): Promise<RequestTypeSkeleton[]>;
|
|
65
|
+
/**
|
|
66
|
+
* Delete request type
|
|
67
|
+
* @param {string} typeId the request type id
|
|
68
|
+
* @returns {Promise<RequestTypeSkeleton>} a promise that resolves to a request type object
|
|
69
|
+
*/
|
|
70
|
+
deleteRequestType(typeId: string): Promise<RequestTypeSkeleton>;
|
|
71
|
+
/**
|
|
72
|
+
* Delete request type by its display name
|
|
73
|
+
* @param {string} typeName the request type display name
|
|
74
|
+
* @returns {Promise<RequestTypeSkeleton>} a promise that resolves to a request type object
|
|
75
|
+
*/
|
|
76
|
+
deleteRequestTypeByName(typeName: string): Promise<RequestTypeSkeleton>;
|
|
77
|
+
/**
|
|
78
|
+
* Delete request types
|
|
79
|
+
* @param {ResultCallback} resultCallback Optional callback to process individual results
|
|
80
|
+
* @returns {Promise<RequestTypeSkeleton[]>} promise that resolves to an array of request type objects
|
|
81
|
+
*/
|
|
82
|
+
deleteRequestTypes(resultCallback?: ResultCallback<RequestTypeSkeleton>): Promise<RequestTypeSkeleton[]>;
|
|
83
|
+
};
|
|
84
|
+
declare const _default: (state: State) => RequestType;
|
|
85
|
+
export default _default;
|
|
86
|
+
export interface RequestTypeExportInterface {
|
|
87
|
+
meta?: ExportMetaData;
|
|
88
|
+
requestType: Record<string, RequestTypeSkeleton>;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Request type import options
|
|
92
|
+
*/
|
|
93
|
+
export interface RequestTypeImportOptions {
|
|
94
|
+
/**
|
|
95
|
+
* Include only custom request types in import if true.
|
|
96
|
+
* Note that non-custom request type imports will only modify the workflow ID as in the UI.
|
|
97
|
+
*/
|
|
98
|
+
onlyCustom: boolean;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Request type export options
|
|
102
|
+
*/
|
|
103
|
+
export interface RequestTypeExportOptions {
|
|
104
|
+
/**
|
|
105
|
+
* Include only custom request types in export if true
|
|
106
|
+
*/
|
|
107
|
+
onlyCustom: boolean;
|
|
108
|
+
/**
|
|
109
|
+
* Use string arrays to store script code
|
|
110
|
+
*/
|
|
111
|
+
useStringArrays: boolean;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Create an empty request type export template
|
|
115
|
+
* @returns {RequestTypeExportInterface} an empty request type export template
|
|
116
|
+
*/
|
|
117
|
+
export declare function createRequestTypeExportTemplate({ state, }: {
|
|
118
|
+
state: State;
|
|
119
|
+
}): RequestTypeExportInterface;
|
|
120
|
+
/**
|
|
121
|
+
* Create request type
|
|
122
|
+
* @param {RequestTypeSkeleton} typeData the request type object
|
|
123
|
+
* @returns {Promise<RequestTypeSkeleton>} a promise that resolves to a request type object
|
|
124
|
+
*/
|
|
125
|
+
export declare function createRequestType({ typeData, state, }: {
|
|
126
|
+
typeData: RequestTypeSkeleton;
|
|
127
|
+
state: State;
|
|
128
|
+
}): Promise<RequestTypeSkeleton>;
|
|
129
|
+
/**
|
|
130
|
+
* Read request type
|
|
131
|
+
* @param {string} typeId the request type id
|
|
132
|
+
* @returns {Promise<RequestTypeSkeleton>} a promise that resolves to a request type object
|
|
133
|
+
*/
|
|
134
|
+
export declare function readRequestType({ typeId, state, }: {
|
|
135
|
+
typeId: string;
|
|
136
|
+
state: State;
|
|
137
|
+
}): Promise<RequestTypeSkeleton>;
|
|
138
|
+
/**
|
|
139
|
+
* Read request type by its display name
|
|
140
|
+
* @param {string} typeName the request type display name
|
|
141
|
+
* @returns {Promise<RequestTypeSkeleton>} a promise that resolves to a request type object
|
|
142
|
+
*/
|
|
143
|
+
export declare function readRequestTypeByName({ typeName, state, }: {
|
|
144
|
+
typeName: string;
|
|
145
|
+
state: State;
|
|
146
|
+
}): Promise<RequestTypeSkeleton>;
|
|
147
|
+
/**
|
|
148
|
+
* Read all request types
|
|
149
|
+
* @returns {Promise<RequestTypeSkeleton[]>} a promise that resolves to an array of request type objects
|
|
150
|
+
*/
|
|
151
|
+
export declare function readRequestTypes({ state, }: {
|
|
152
|
+
state: State;
|
|
153
|
+
}): Promise<RequestTypeSkeleton[]>;
|
|
154
|
+
/**
|
|
155
|
+
* Export request type
|
|
156
|
+
* @param {string} typeId the request type id
|
|
157
|
+
* @param {RequestTypeExportOptions} options export options
|
|
158
|
+
* @returns {Promise<RequestTypeExportInterface>} a promise that resolves to a request type export object
|
|
159
|
+
*/
|
|
160
|
+
export declare function exportRequestType({ typeId, options, state, }: {
|
|
161
|
+
typeId: string;
|
|
162
|
+
options: RequestTypeExportOptions;
|
|
163
|
+
state: State;
|
|
164
|
+
}): Promise<RequestTypeExportInterface>;
|
|
165
|
+
/**
|
|
166
|
+
* Export request type by its display name
|
|
167
|
+
* @param {string} typeName the request type display name
|
|
168
|
+
* @param {RequestTypeExportOptions} options export options
|
|
169
|
+
* @returns {Promise<RequestTypeExportInterface>} a promise that resolves to a request type export object
|
|
170
|
+
*/
|
|
171
|
+
export declare function exportRequestTypeByName({ typeName, options, state, }: {
|
|
172
|
+
typeName: string;
|
|
173
|
+
options: RequestTypeExportOptions;
|
|
174
|
+
state: State;
|
|
175
|
+
}): Promise<RequestTypeExportInterface>;
|
|
176
|
+
/**
|
|
177
|
+
* Export all request types
|
|
178
|
+
* @param {RequestTypeExportOptions} options export options
|
|
179
|
+
* @returns {Promise<RequestTypeExportInterface>} a promise that resolves to a request type export object
|
|
180
|
+
*/
|
|
181
|
+
export declare function exportRequestTypes({ options, state, }: {
|
|
182
|
+
options?: RequestTypeExportOptions;
|
|
183
|
+
state: State;
|
|
184
|
+
}): Promise<RequestTypeExportInterface>;
|
|
185
|
+
/**
|
|
186
|
+
* Update request type
|
|
187
|
+
* @param {string} typeId the request type id
|
|
188
|
+
* @param {RequestTypeSkeleton} typeData the request type object
|
|
189
|
+
* @returns {Promise<RequestTypeSkeleton>} a promise that resolves to a request type object
|
|
190
|
+
*/
|
|
191
|
+
export declare function updateRequestType({ typeId, typeData, state, }: {
|
|
192
|
+
typeId: string;
|
|
193
|
+
typeData: RequestTypeSkeleton;
|
|
194
|
+
state: State;
|
|
195
|
+
}): Promise<RequestTypeSkeleton>;
|
|
196
|
+
/**
|
|
197
|
+
* Import request types
|
|
198
|
+
* @param {string} typeId The request type id. If supplied, only the request type of that id is imported. Takes priority over typeName if they are all provided.
|
|
199
|
+
* @param {string} typeName The request type display name. If supplied, only the request type of that display name is imported.
|
|
200
|
+
* @param {RequestTypeExportInterface} importData request type import data
|
|
201
|
+
* @param {RequestTypeImportOptions} options import options
|
|
202
|
+
* @param {ResultCallback<RequestTypeSkeleton>} resultCallback Optional callback to process individual results
|
|
203
|
+
* @returns {Promise<RequestTypeSkeleton[]>} the imported request types
|
|
204
|
+
*/
|
|
205
|
+
export declare function importRequestTypes({ typeId, typeName, importData, options, resultCallback, state, }: {
|
|
206
|
+
typeId?: string;
|
|
207
|
+
typeName?: string;
|
|
208
|
+
importData: RequestTypeExportInterface;
|
|
209
|
+
options?: RequestTypeImportOptions;
|
|
210
|
+
resultCallback?: ResultCallback<RequestTypeSkeleton>;
|
|
211
|
+
state: State;
|
|
212
|
+
}): Promise<RequestTypeSkeleton[]>;
|
|
213
|
+
/**
|
|
214
|
+
* Delete request type
|
|
215
|
+
* @param {string} typeId the request type id
|
|
216
|
+
* @returns {Promise<RequestTypeSkeleton>} a promise that resolves to a request type object
|
|
217
|
+
*/
|
|
218
|
+
export declare function deleteRequestType({ typeId, state, }: {
|
|
219
|
+
typeId: string;
|
|
220
|
+
state: State;
|
|
221
|
+
}): Promise<RequestTypeSkeleton>;
|
|
222
|
+
/**
|
|
223
|
+
* Delete request type by its display name
|
|
224
|
+
* @param {string} typeName the request type display name
|
|
225
|
+
* @returns {Promise<RequestTypeSkeleton>} a promise that resolves to a request type object
|
|
226
|
+
*/
|
|
227
|
+
export declare function deleteRequestTypeByName({ typeName, state, }: {
|
|
228
|
+
typeName: string;
|
|
229
|
+
state: State;
|
|
230
|
+
}): Promise<RequestTypeSkeleton>;
|
|
231
|
+
/**
|
|
232
|
+
* Delete request types
|
|
233
|
+
* @param {ResultCallback} resultCallback Optional callback to process individual results
|
|
234
|
+
* @returns {Promise<RequestTypeSkeleton[]>} promise that resolves to an array of request type objects
|
|
235
|
+
*/
|
|
236
|
+
export declare function deleteRequestTypes({ resultCallback, state, }: {
|
|
237
|
+
resultCallback?: ResultCallback<RequestTypeSkeleton>;
|
|
238
|
+
state: State;
|
|
239
|
+
}): Promise<RequestTypeSkeleton[]>;
|
|
240
|
+
//# sourceMappingURL=IgaRequestTypeOps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IgaRequestTypeOps.d.ts","sourceRoot":"","sources":["../../../../src/ops/cloud/iga/IgaRequestTypeOps.ts"],"names":[],"mappings":"AACA,OAAO,EAQL,mBAAmB,EACpB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAa9C,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhE,MAAM,MAAM,WAAW,GAAG;IACxB;;;;OAIG;IACH,iBAAiB,CACf,QAAQ,EAAE,mBAAmB,GAC5B,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAChC;;;;OAIG;IACH,eAAe,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAC9D;;;;OAIG;IACH,qBAAqB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC;IACtE;;;OAGG;IACH,gBAAgB,IAAI,OAAO,CAAC,mBAAmB,EAAE,CAAC,CAA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,CAW/B;AAED;;;;GAIG;AACH,wBAAsB,uBAAuB,CAAC,EAC5C,QAAQ,EACR,KAAK,GACN,EAAE;IACD,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAa/B;AAED;;;;GAIG;AACH,wBAAsB,kBAAkB,CAAC,EACvC,cAAuB,EACvB,KAAK,GACN,EAAE;IACD,cAAc,CAAC,EAAE,cAAc,CAAC,mBAAmB,CAAC,CAAC;IACrD,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,mBAAmB,EAAE,CAAC,CAiBjC"}
|
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
import { EventSkeleton } from '../../../api/cloud/iga/IgaEventApi';
|
|
2
|
+
import { RequestFormSkeleton } from '../../../api/cloud/iga/IgaRequestFormApi';
|
|
3
|
+
import { RequestTypeSkeleton } from '../../../api/cloud/iga/IgaRequestTypeApi';
|
|
4
|
+
import { WorkflowSkeleton } from '../../../api/cloud/iga/IgaWorkflowApi';
|
|
5
|
+
import { VariableSkeleton } from '../../../api/cloud/VariablesApi';
|
|
6
|
+
import { State } from '../../../shared/State';
|
|
7
|
+
import { EmailTemplateSkeleton } from '../../EmailTemplateOps';
|
|
8
|
+
import { ExportMetaData, ResultCallback } from '../../OpsTypes';
|
|
9
|
+
export type Workflow = {
|
|
10
|
+
/**
|
|
11
|
+
* Publish an existing draft workflow
|
|
12
|
+
* @param {string} workflowId the workflow id
|
|
13
|
+
* @returns {Promise<WorkflowSkeleton>} a promise that resolves to the published workflow object
|
|
14
|
+
*/
|
|
15
|
+
publishWorkflow(workflowId: string): Promise<WorkflowSkeleton>;
|
|
16
|
+
/**
|
|
17
|
+
* Read draft workflow
|
|
18
|
+
* @param {string} workflowId the workflow id
|
|
19
|
+
* @returns {Promise<WorkflowSkeleton>} a promise that resolves to a workflow object
|
|
20
|
+
*/
|
|
21
|
+
readDraftWorkflow(workflowId: string): Promise<WorkflowSkeleton>;
|
|
22
|
+
/**
|
|
23
|
+
* Read published workflow
|
|
24
|
+
* @param {string} workflowId the workflow id
|
|
25
|
+
* @returns {Promise<WorkflowSkeleton>} a promise that resolves to a workflow object
|
|
26
|
+
*/
|
|
27
|
+
readPublishedWorkflow(workflowId: string): Promise<WorkflowSkeleton>;
|
|
28
|
+
/**
|
|
29
|
+
* Read workflow group
|
|
30
|
+
* @param {string} workflowId the workflow id
|
|
31
|
+
* @returns {Promise<WorkflowGroup>} a promise that resolves to a grouped workflow object (contains both draft and published versions)
|
|
32
|
+
*/
|
|
33
|
+
readWorkflowGroup(workflowId: string): Promise<WorkflowGroup>;
|
|
34
|
+
/**
|
|
35
|
+
* Read all workflows
|
|
36
|
+
* @returns {Promise<WorkflowSkeleton[]>} a promise that resolves to an array of workflow objects
|
|
37
|
+
*/
|
|
38
|
+
readWorkflows(): Promise<WorkflowSkeleton[]>;
|
|
39
|
+
/**
|
|
40
|
+
* Read all workflow groups
|
|
41
|
+
* @returns {Promise<WorkflowGroup[]>} a promise that resolves to an array of grouped workflow objects (contain both draft and published versions)
|
|
42
|
+
*/
|
|
43
|
+
readWorkflowGroups(): Promise<WorkflowGroup[]>;
|
|
44
|
+
/**
|
|
45
|
+
* Export workflow
|
|
46
|
+
* @param {string} workflowId the workflow id
|
|
47
|
+
* @param {WorkflowExportOptions} options workflow export options
|
|
48
|
+
* @returns {Promise<WorkflowExportInterface>} a promise that resolves to a workflow export object
|
|
49
|
+
*/
|
|
50
|
+
exportWorkflow(workflowId: string, options?: WorkflowExportOptions): Promise<WorkflowExportInterface>;
|
|
51
|
+
/**
|
|
52
|
+
* Export all workflows
|
|
53
|
+
* @param {WorkflowExportOptions} options workflow export options
|
|
54
|
+
* @param {ResultCallback} resultCallback Optional callback to process individual results
|
|
55
|
+
* @returns {Promise<WorkflowExportInterface>} a promise that resolves to a workflow export object
|
|
56
|
+
*/
|
|
57
|
+
exportWorkflows(options?: WorkflowExportOptions, resultCallback?: ResultCallback<WorkflowExportInterface>): Promise<WorkflowExportInterface>;
|
|
58
|
+
/**
|
|
59
|
+
* Update workflow
|
|
60
|
+
* @param {string} workflowId the workflow id
|
|
61
|
+
* @param {WorkflowSkeleton} workflowData the workflow object
|
|
62
|
+
* @returns {Promise<WorkflowSkeleton>} a promise that resolves to a workflow object
|
|
63
|
+
*/
|
|
64
|
+
updateWorkflow(workflowId: string, workflowData: WorkflowSkeleton): Promise<WorkflowSkeleton>;
|
|
65
|
+
/**
|
|
66
|
+
* Import workflows
|
|
67
|
+
* @param {string} workflowId The workflow id. If supplied, only the workflow of that id is imported.
|
|
68
|
+
* @param {WorkflowExportInterface} importData workflow import data
|
|
69
|
+
* @param {WorkflowImportOptions} options workflow import options
|
|
70
|
+
* @param {ResultCallback<WorkflowSkeleton>} resultCallback Optional callback to process individual results
|
|
71
|
+
* @returns {Promise<WorkflowSkeleton[]>} the imported workflows
|
|
72
|
+
*/
|
|
73
|
+
importWorkflows(workflowId: string, importData: WorkflowExportInterface, options?: WorkflowImportOptions, resultCallback?: ResultCallback<WorkflowSkeleton>): Promise<WorkflowSkeleton[]>;
|
|
74
|
+
/**
|
|
75
|
+
* Delete draft workflow
|
|
76
|
+
* @param {string} workflowId the workflow id
|
|
77
|
+
* @param {WorkflowDeleteOptions} options workflow delete options
|
|
78
|
+
* @returns {Promise<WorkflowSkeleton>} a promise that resolves to a workflow object
|
|
79
|
+
*/
|
|
80
|
+
deleteDraftWorkflow(workflowId: string, options?: WorkflowDeleteOptions): Promise<WorkflowSkeleton>;
|
|
81
|
+
/**
|
|
82
|
+
* Delete published workflow
|
|
83
|
+
* @param {string} workflowId the workflow id
|
|
84
|
+
* @param {WorkflowDeleteOptions} options workflow delete options
|
|
85
|
+
* @returns {Promise<WorkflowSkeleton>} a promise that resolves to a workflow object
|
|
86
|
+
*/
|
|
87
|
+
deletePublishedWorkflow(workflowId: string, options?: WorkflowDeleteOptions): Promise<WorkflowSkeleton>;
|
|
88
|
+
/**
|
|
89
|
+
* Delete workflow
|
|
90
|
+
* @param {string} workflowId the workflow id
|
|
91
|
+
* @param {boolean} deleteDraft true to attempt to delete the draft workflow. Default: true
|
|
92
|
+
* @param {boolean} deletePublished true to attempt to delete the published workflow. Default: true
|
|
93
|
+
* @param {WorkflowDeleteOptions} options workflow delete options
|
|
94
|
+
* @param {ResultCallback} resultCallback Optional callback to process individual results
|
|
95
|
+
* @returns {Promise<WorkflowGroup>} a promise that resolves to a workflow group object
|
|
96
|
+
*/
|
|
97
|
+
deleteWorkflow(workflowId: string, deleteDraft?: boolean, deletePublished?: boolean, options?: WorkflowDeleteOptions, resultCallback?: ResultCallback<WorkflowSkeleton>): Promise<WorkflowGroup>;
|
|
98
|
+
/**
|
|
99
|
+
* Delete workflows
|
|
100
|
+
* @param {boolean} deleteDraft true to attempt to delete draft workflows. Default: true
|
|
101
|
+
* @param {boolean} deletePublished true to attempt to delete published workflows. Default: true
|
|
102
|
+
* @param {WorkflowDeleteOptions} options workflow delete options
|
|
103
|
+
* @param {ResultCallback} resultCallback Optional callback to process individual results
|
|
104
|
+
* @returns {Promise<WorkflowSkeleton[]>} promise that resolves to an array of workflow objects
|
|
105
|
+
*/
|
|
106
|
+
deleteWorkflows(deleteDraft?: boolean, deletePublished?: boolean, options?: WorkflowDeleteOptions, resultCallback?: ResultCallback<WorkflowSkeleton>): Promise<WorkflowSkeleton[]>;
|
|
107
|
+
};
|
|
108
|
+
declare const _default: (state: State) => Workflow;
|
|
109
|
+
export default _default;
|
|
110
|
+
export interface WorkflowGroup {
|
|
111
|
+
draft?: null | WorkflowSkeleton;
|
|
112
|
+
published?: null | WorkflowSkeleton;
|
|
113
|
+
}
|
|
114
|
+
export type WorkflowGroups = Record<string, WorkflowGroup>;
|
|
115
|
+
export interface WorkflowExportInterface {
|
|
116
|
+
meta?: ExportMetaData;
|
|
117
|
+
workflow: WorkflowGroups;
|
|
118
|
+
emailTemplate: Record<string, EmailTemplateSkeleton>;
|
|
119
|
+
event: Record<string, EventSkeleton>;
|
|
120
|
+
requestForm: Record<string, RequestFormSkeleton>;
|
|
121
|
+
requestType: Record<string, RequestTypeSkeleton>;
|
|
122
|
+
variable: Record<string, VariableSkeleton>;
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Workflow import options
|
|
126
|
+
*/
|
|
127
|
+
export interface WorkflowImportOptions {
|
|
128
|
+
/**
|
|
129
|
+
* Include any dependencies (email templates).
|
|
130
|
+
*/
|
|
131
|
+
deps: boolean;
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Workflow export options
|
|
135
|
+
*/
|
|
136
|
+
export interface WorkflowExportOptions {
|
|
137
|
+
/**
|
|
138
|
+
* Include any dependencies (email templates, request forms, request types, events).
|
|
139
|
+
*/
|
|
140
|
+
deps: boolean;
|
|
141
|
+
/**
|
|
142
|
+
* Use string arrays to store script code
|
|
143
|
+
*/
|
|
144
|
+
useStringArrays: boolean;
|
|
145
|
+
/**
|
|
146
|
+
* Include x and y coordinate positions of the workflow nodes.
|
|
147
|
+
*/
|
|
148
|
+
coords: boolean;
|
|
149
|
+
/**
|
|
150
|
+
* Export the read only (non-mutable) workflows
|
|
151
|
+
*/
|
|
152
|
+
includeReadOnly: boolean;
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* Workflow delete options
|
|
156
|
+
*/
|
|
157
|
+
export interface WorkflowDeleteOptions {
|
|
158
|
+
/**
|
|
159
|
+
* Force workflow delete even if there are outstanding requests or associated request types with it. Default: false
|
|
160
|
+
*/
|
|
161
|
+
force: boolean;
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* Create an empty workflow export template
|
|
165
|
+
* @returns {WorkflowExportInterface} an empty workflow export template
|
|
166
|
+
*/
|
|
167
|
+
export declare function createWorkflowExportTemplate({ state, }: {
|
|
168
|
+
state: State;
|
|
169
|
+
}): WorkflowExportInterface;
|
|
170
|
+
/**
|
|
171
|
+
* Publish an existing draft workflow
|
|
172
|
+
* @param {string} workflowId the workflow id
|
|
173
|
+
* @returns {Promise<WorkflowSkeleton>} a promise that resolves to the published workflow object
|
|
174
|
+
*/
|
|
175
|
+
export declare function publishWorkflow({ workflowId, state, }: {
|
|
176
|
+
workflowId: string;
|
|
177
|
+
state: State;
|
|
178
|
+
}): Promise<WorkflowSkeleton>;
|
|
179
|
+
/**
|
|
180
|
+
* Read draft workflow
|
|
181
|
+
* @param {string} workflowId the workflow id
|
|
182
|
+
* @returns {Promise<WorkflowSkeleton>} a promise that resolves to a workflow object
|
|
183
|
+
*/
|
|
184
|
+
export declare function readDraftWorkflow({ workflowId, state, }: {
|
|
185
|
+
workflowId: string;
|
|
186
|
+
state: State;
|
|
187
|
+
}): Promise<WorkflowSkeleton>;
|
|
188
|
+
/**
|
|
189
|
+
* Read published workflow
|
|
190
|
+
* @param {string} workflowId the workflow id
|
|
191
|
+
* @returns {Promise<WorkflowSkeleton>} a promise that resolves to a workflow object
|
|
192
|
+
*/
|
|
193
|
+
export declare function readPublishedWorkflow({ workflowId, state, }: {
|
|
194
|
+
workflowId: string;
|
|
195
|
+
state: State;
|
|
196
|
+
}): Promise<WorkflowSkeleton>;
|
|
197
|
+
/**
|
|
198
|
+
* Read workflow group
|
|
199
|
+
* @param {string} workflowId the workflow id
|
|
200
|
+
* @returns {Promise<WorkflowGroup>} a promise that resolves to a grouped workflow object (contains both draft and published versions)
|
|
201
|
+
*/
|
|
202
|
+
export declare function readWorkflowGroup({ workflowId, state, }: {
|
|
203
|
+
workflowId: string;
|
|
204
|
+
state: State;
|
|
205
|
+
}): Promise<WorkflowGroup>;
|
|
206
|
+
/**
|
|
207
|
+
* Read all workflows
|
|
208
|
+
* @returns {Promise<WorkflowSkeleton[]>} a promise that resolves to an array of workflow objects
|
|
209
|
+
*/
|
|
210
|
+
export declare function readWorkflows({ state, }: {
|
|
211
|
+
state: State;
|
|
212
|
+
}): Promise<WorkflowSkeleton[]>;
|
|
213
|
+
/**
|
|
214
|
+
* Read all workflow groups
|
|
215
|
+
* @returns {Promise<WorkflowGroup[]>} a promise that resolves to an array of grouped workflow objects (contain both draft and published versions)
|
|
216
|
+
*/
|
|
217
|
+
export declare function readWorkflowGroups({ state, }: {
|
|
218
|
+
state: State;
|
|
219
|
+
}): Promise<WorkflowGroup[]>;
|
|
220
|
+
/**
|
|
221
|
+
* Export workflow
|
|
222
|
+
* @param {string} workflowId the workflow id
|
|
223
|
+
* @param {WorkflowExportOptions} options workflow export options
|
|
224
|
+
* @returns {Promise<WorkflowExportInterface>} a promise that resolves to a workflow export object
|
|
225
|
+
*/
|
|
226
|
+
export declare function exportWorkflow({ workflowId, options, state, }: {
|
|
227
|
+
workflowId: string;
|
|
228
|
+
options?: WorkflowExportOptions;
|
|
229
|
+
state: State;
|
|
230
|
+
}): Promise<WorkflowExportInterface>;
|
|
231
|
+
/**
|
|
232
|
+
* Export all workflows
|
|
233
|
+
* @param {WorkflowExportOptions} options workflow export options
|
|
234
|
+
* @param {ResultCallback} resultCallback Optional callback to process individual results
|
|
235
|
+
* @returns {Promise<WorkflowExportInterface>} a promise that resolves to a workflow export object
|
|
236
|
+
*/
|
|
237
|
+
export declare function exportWorkflows({ options, resultCallback, state, }: {
|
|
238
|
+
options?: WorkflowExportOptions;
|
|
239
|
+
resultCallback: ResultCallback<WorkflowExportInterface>;
|
|
240
|
+
state: State;
|
|
241
|
+
}): Promise<WorkflowExportInterface>;
|
|
242
|
+
/**
|
|
243
|
+
* Update workflow
|
|
244
|
+
* @param {string} workflowId the workflow id
|
|
245
|
+
* @param {WorkflowSkeleton} workflowData the workflow object
|
|
246
|
+
* @returns {Promise<WorkflowSkeleton>} a promise that resolves to a workflow object
|
|
247
|
+
*/
|
|
248
|
+
export declare function updateWorkflow({ workflowId, workflowData, state, }: {
|
|
249
|
+
workflowId: string;
|
|
250
|
+
workflowData: WorkflowSkeleton;
|
|
251
|
+
state: State;
|
|
252
|
+
}): Promise<WorkflowSkeleton>;
|
|
253
|
+
/**
|
|
254
|
+
* Import workflows
|
|
255
|
+
* @param {string} workflowId The workflow id. If supplied, only the workflow of that id is imported.
|
|
256
|
+
* @param {WorkflowExportInterface} importData workflow import data
|
|
257
|
+
* @param {WorkflowImportOptions} options workflow import options
|
|
258
|
+
* @param {ResultCallback<WorkflowSkeleton>} resultCallback Optional callback to process individual results
|
|
259
|
+
* @returns {Promise<WorkflowSkeleton[]>} the imported workflows
|
|
260
|
+
*/
|
|
261
|
+
export declare function importWorkflows({ workflowId, importData, options, resultCallback, state, }: {
|
|
262
|
+
workflowId?: string;
|
|
263
|
+
importData: WorkflowExportInterface;
|
|
264
|
+
options?: WorkflowImportOptions;
|
|
265
|
+
resultCallback?: ResultCallback<WorkflowSkeleton>;
|
|
266
|
+
state: State;
|
|
267
|
+
}): Promise<WorkflowSkeleton[]>;
|
|
268
|
+
/**
|
|
269
|
+
* Delete draft workflow
|
|
270
|
+
* @param {string} workflowId the workflow id
|
|
271
|
+
* @param {WorkflowDeleteOptions} options workflow delete options
|
|
272
|
+
* @returns {Promise<WorkflowSkeleton>} a promise that resolves to a workflow object
|
|
273
|
+
*/
|
|
274
|
+
export declare function deleteDraftWorkflow({ workflowId, options, state, }: {
|
|
275
|
+
workflowId: string;
|
|
276
|
+
options: WorkflowDeleteOptions;
|
|
277
|
+
state: State;
|
|
278
|
+
}): Promise<WorkflowSkeleton>;
|
|
279
|
+
/**
|
|
280
|
+
* Delete published workflow
|
|
281
|
+
* @param {string} workflowId the workflow id
|
|
282
|
+
* @param {WorkflowDeleteOptions} options workflow delete options
|
|
283
|
+
* @returns {Promise<WorkflowSkeleton>} a promise that resolves to a workflow object
|
|
284
|
+
*/
|
|
285
|
+
export declare function deletePublishedWorkflow({ workflowId, options, state, }: {
|
|
286
|
+
workflowId: string;
|
|
287
|
+
options: WorkflowDeleteOptions;
|
|
288
|
+
state: State;
|
|
289
|
+
}): Promise<WorkflowSkeleton>;
|
|
290
|
+
/**
|
|
291
|
+
* Delete workflow
|
|
292
|
+
* @param {string} workflowId the workflow id
|
|
293
|
+
* @param {boolean} deleteDraft true to attempt to delete the draft workflow. Default: true
|
|
294
|
+
* @param {boolean} deletePublished true to attempt to delete the published workflow. Default: true
|
|
295
|
+
* @param {WorkflowDeleteOptions} options workflow delete options
|
|
296
|
+
* @param {ResultCallback} resultCallback Optional callback to process individual results
|
|
297
|
+
* @returns {Promise<WorkflowGroup>} a promise that resolves to a workflow group object
|
|
298
|
+
*/
|
|
299
|
+
export declare function deleteWorkflow({ workflowId, deleteDraft, deletePublished, options, resultCallback, state, }: {
|
|
300
|
+
workflowId: string;
|
|
301
|
+
deleteDraft?: boolean;
|
|
302
|
+
deletePublished?: boolean;
|
|
303
|
+
options: WorkflowDeleteOptions;
|
|
304
|
+
resultCallback?: ResultCallback<WorkflowSkeleton>;
|
|
305
|
+
state: State;
|
|
306
|
+
}): Promise<WorkflowGroup>;
|
|
307
|
+
/**
|
|
308
|
+
* Delete workflows
|
|
309
|
+
* @param {boolean} deleteDraft true to attempt to delete draft workflows. Default: true
|
|
310
|
+
* @param {boolean} deletePublished true to attempt to delete published workflows. Default: true
|
|
311
|
+
* @param {WorkflowDeleteOptions} options workflow delete options
|
|
312
|
+
* @param {ResultCallback} resultCallback Optional callback to process individual results
|
|
313
|
+
* @returns {Promise<WorkflowSkeleton[]>} promise that resolves to an array of workflow objects
|
|
314
|
+
*/
|
|
315
|
+
export declare function deleteWorkflows({ deleteDraft, deletePublished, options, resultCallback, state, }: {
|
|
316
|
+
deleteDraft?: boolean;
|
|
317
|
+
deletePublished?: boolean;
|
|
318
|
+
options: WorkflowDeleteOptions;
|
|
319
|
+
resultCallback?: ResultCallback<WorkflowSkeleton>;
|
|
320
|
+
state: State;
|
|
321
|
+
}): Promise<WorkflowSkeleton[]>;
|
|
322
|
+
/**
|
|
323
|
+
* Helper that reads workflows (both draft and published) into a grouped object by id. If id is provided, only returns the workflows for the specified id.
|
|
324
|
+
*
|
|
325
|
+
* @param {string} workflowId the workflow id
|
|
326
|
+
* @param {boolean} includeReadOnly get the read only (non-mutable) workflows
|
|
327
|
+
* @returns {Promise<WorkflowExportInterface>} a promise that resolves to a grouped object containing all draft/published workflows per id
|
|
328
|
+
*/
|
|
329
|
+
export declare function readGroupedWorkflows({ workflowId, includeReadOnly, state, }: {
|
|
330
|
+
workflowId?: string;
|
|
331
|
+
includeReadOnly?: boolean;
|
|
332
|
+
state: State;
|
|
333
|
+
}): Promise<WorkflowGroups>;
|
|
334
|
+
//# sourceMappingURL=IgaWorkflowOps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IgaWorkflowOps.d.ts","sourceRoot":"","sources":["../../../../src/ops/cloud/iga/IgaWorkflowOps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAe,MAAM,oCAAoC,CAAC;AAChF,OAAO,EAEL,mBAAmB,EACpB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAEL,mBAAmB,EACpB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAQL,gBAAgB,EACjB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAkB9C,OAAO,EACL,qBAAqB,EAEtB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAYhE,MAAM,MAAM,QAAQ,GAAG;IACrB;;;;OAIG;IACH,eAAe,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAC/D;;;;OAIG;IACH,iBAAiB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;IACjE;;;;OAIG;IACH,qBAAqB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;IACrE;;;;OAIG;IACH,iBAAiB,CAAC,UAAU,EAAE,MAAM,GAAG,OAA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