@rockcarver/frodo-lib 4.10.0 → 4.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (427) hide show
  1. package/dist/index.js +2 -2
  2. package/dist/index.mjs +2 -2
  3. package/package.json +6 -3
  4. package/types/api/AgentApi.d.ts +128 -0
  5. package/types/api/AgentApi.d.ts.map +1 -0
  6. package/types/api/AmConfigApi.d.ts +87 -0
  7. package/types/api/AmConfigApi.d.ts.map +1 -0
  8. package/types/api/ApiTypes.d.ts +59 -0
  9. package/types/api/ApiTypes.d.ts.map +1 -0
  10. package/types/api/AuthenticateApi.d.ts +38 -0
  11. package/types/api/AuthenticateApi.d.ts.map +1 -0
  12. package/types/api/AuthenticationSettingsApi.d.ts +31 -0
  13. package/types/api/AuthenticationSettingsApi.d.ts.map +1 -0
  14. package/types/api/BaseApi.d.ts +190 -0
  15. package/types/api/BaseApi.d.ts.map +1 -0
  16. package/types/api/CirclesOfTrustApi.d.ts +52 -0
  17. package/types/api/CirclesOfTrustApi.d.ts.map +1 -0
  18. package/types/api/IdmConfigApi.d.ts +69 -0
  19. package/types/api/IdmConfigApi.d.ts.map +1 -0
  20. package/types/api/IdmScriptApi.d.ts +17 -0
  21. package/types/api/IdmScriptApi.d.ts.map +1 -0
  22. package/types/api/IdmSystemApi.d.ts +111 -0
  23. package/types/api/IdmSystemApi.d.ts.map +1 -0
  24. package/types/api/InternalObjectApi.d.ts +103 -0
  25. package/types/api/InternalObjectApi.d.ts.map +1 -0
  26. package/types/api/ManagedObjectApi.d.ts +252 -0
  27. package/types/api/ManagedObjectApi.d.ts.map +1 -0
  28. package/types/api/ManagedSystemObjectApi.d.ts +150 -0
  29. package/types/api/ManagedSystemObjectApi.d.ts.map +1 -0
  30. package/types/api/NodeApi.d.ts +243 -0
  31. package/types/api/NodeApi.d.ts.map +1 -0
  32. package/types/api/OAuth2ClientApi.d.ts +78 -0
  33. package/types/api/OAuth2ClientApi.d.ts.map +1 -0
  34. package/types/api/OAuth2OIDCApi.d.ts +121 -0
  35. package/types/api/OAuth2OIDCApi.d.ts.map +1 -0
  36. package/types/api/OAuth2ProviderApi.d.ts +176 -0
  37. package/types/api/OAuth2ProviderApi.d.ts.map +1 -0
  38. package/types/api/OAuth2TrustedJwtIssuerApi.d.ts +54 -0
  39. package/types/api/OAuth2TrustedJwtIssuerApi.d.ts.map +1 -0
  40. package/types/api/PoliciesApi.d.ts +60 -0
  41. package/types/api/PoliciesApi.d.ts.map +1 -0
  42. package/types/api/PolicySetApi.d.ts +52 -0
  43. package/types/api/PolicySetApi.d.ts.map +1 -0
  44. package/types/api/RawConfigApi.d.ts +75 -0
  45. package/types/api/RawConfigApi.d.ts.map +1 -0
  46. package/types/api/RealmApi.d.ts +54 -0
  47. package/types/api/RealmApi.d.ts.map +1 -0
  48. package/types/api/ReconApi.d.ts +171 -0
  49. package/types/api/ReconApi.d.ts.map +1 -0
  50. package/types/api/ResourceTypesApi.d.ts +63 -0
  51. package/types/api/ResourceTypesApi.d.ts.map +1 -0
  52. package/types/api/Saml2Api.d.ts +112 -0
  53. package/types/api/Saml2Api.d.ts.map +1 -0
  54. package/types/api/ScriptApi.d.ts +94 -0
  55. package/types/api/ScriptApi.d.ts.map +1 -0
  56. package/types/api/ScriptTypeApi.d.ts +103 -0
  57. package/types/api/ScriptTypeApi.d.ts.map +1 -0
  58. package/types/api/SecretStoreApi.d.ts +185 -0
  59. package/types/api/SecretStoreApi.d.ts.map +1 -0
  60. package/types/api/ServerInfoApi.d.ts +26 -0
  61. package/types/api/ServerInfoApi.d.ts.map +1 -0
  62. package/types/api/ServiceApi.d.ts +102 -0
  63. package/types/api/ServiceApi.d.ts.map +1 -0
  64. package/types/api/SessionApi.d.ts +23 -0
  65. package/types/api/SessionApi.d.ts.map +1 -0
  66. package/types/api/SocialIdentityProvidersApi.d.ts +89 -0
  67. package/types/api/SocialIdentityProvidersApi.d.ts.map +1 -0
  68. package/types/api/TreeApi.d.ts +62 -0
  69. package/types/api/TreeApi.d.ts.map +1 -0
  70. package/types/api/UserApi.d.ts +159 -0
  71. package/types/api/UserApi.d.ts.map +1 -0
  72. package/types/api/classic/ServerApi.d.ts +78 -0
  73. package/types/api/classic/ServerApi.d.ts.map +1 -0
  74. package/types/api/classic/SiteApi.d.ts +39 -0
  75. package/types/api/classic/SiteApi.d.ts.map +1 -0
  76. package/types/api/cloud/AdminFederationProvidersApi.d.ts +71 -0
  77. package/types/api/cloud/AdminFederationProvidersApi.d.ts.map +1 -0
  78. package/types/api/cloud/EnvAIAgentApi.d.ts +9 -0
  79. package/types/api/cloud/EnvAIAgentApi.d.ts.map +1 -0
  80. package/types/api/cloud/EnvCSRsApi.d.ts +165 -0
  81. package/types/api/cloud/EnvCSRsApi.d.ts.map +1 -0
  82. package/types/api/cloud/EnvCertificatesApi.d.ts +74 -0
  83. package/types/api/cloud/EnvCertificatesApi.d.ts.map +1 -0
  84. package/types/api/cloud/EnvContentSecurityPolicyApi.d.ts +87 -0
  85. package/types/api/cloud/EnvContentSecurityPolicyApi.d.ts.map +1 -0
  86. package/types/api/cloud/EnvCookieDomainsApi.d.ts +26 -0
  87. package/types/api/cloud/EnvCookieDomainsApi.d.ts.map +1 -0
  88. package/types/api/cloud/EnvCustomDomainsApi.d.ts +37 -0
  89. package/types/api/cloud/EnvCustomDomainsApi.d.ts.map +1 -0
  90. package/types/api/cloud/EnvDirectConfigurationSessionApi.d.ts +43 -0
  91. package/types/api/cloud/EnvDirectConfigurationSessionApi.d.ts.map +1 -0
  92. package/types/api/cloud/EnvFederationEnforcementApi.d.ts +26 -0
  93. package/types/api/cloud/EnvFederationEnforcementApi.d.ts.map +1 -0
  94. package/types/api/cloud/EnvInfoApi.d.ts +22 -0
  95. package/types/api/cloud/EnvInfoApi.d.ts.map +1 -0
  96. package/types/api/cloud/EnvPromotionApi.d.ts +218 -0
  97. package/types/api/cloud/EnvPromotionApi.d.ts.map +1 -0
  98. package/types/api/cloud/EnvReleaseApi.d.ts +16 -0
  99. package/types/api/cloud/EnvReleaseApi.d.ts.map +1 -0
  100. package/types/api/cloud/EnvSSOCookieConfigApi.d.ts +35 -0
  101. package/types/api/cloud/EnvSSOCookieConfigApi.d.ts.map +1 -0
  102. package/types/api/cloud/EnvServiceAccountScopesApi.d.ts +17 -0
  103. package/types/api/cloud/EnvServiceAccountScopesApi.d.ts.map +1 -0
  104. package/types/api/cloud/EsvCountApi.d.ts +13 -0
  105. package/types/api/cloud/EsvCountApi.d.ts.map +1 -0
  106. package/types/api/cloud/FeatureApi.d.ts +16 -0
  107. package/types/api/cloud/FeatureApi.d.ts.map +1 -0
  108. package/types/api/cloud/IdmFeatureApi.d.ts +65 -0
  109. package/types/api/cloud/IdmFeatureApi.d.ts.map +1 -0
  110. package/types/api/cloud/LogApi.d.ts +108 -0
  111. package/types/api/cloud/LogApi.d.ts.map +1 -0
  112. package/types/api/cloud/SecretsApi.d.ts +163 -0
  113. package/types/api/cloud/SecretsApi.d.ts.map +1 -0
  114. package/types/api/cloud/StartupApi.d.ts +20 -0
  115. package/types/api/cloud/StartupApi.d.ts.map +1 -0
  116. package/types/api/cloud/TelemetryApi.d.ts +60 -0
  117. package/types/api/cloud/TelemetryApi.d.ts.map +1 -0
  118. package/types/api/cloud/VariablesApi.d.ts +86 -0
  119. package/types/api/cloud/VariablesApi.d.ts.map +1 -0
  120. package/types/api/cloud/WSFedApi.d.ts +495 -0
  121. package/types/api/cloud/WSFedApi.d.ts.map +1 -0
  122. package/types/api/cloud/iga/IgaCertificationTemplateApi.d.ts +227 -0
  123. package/types/api/cloud/iga/IgaCertificationTemplateApi.d.ts.map +1 -0
  124. package/types/api/cloud/iga/IgaEventApi.d.ts +111 -0
  125. package/types/api/cloud/iga/IgaEventApi.d.ts.map +1 -0
  126. package/types/api/cloud/iga/IgaGlossaryApi.d.ts +103 -0
  127. package/types/api/cloud/iga/IgaGlossaryApi.d.ts.map +1 -0
  128. package/types/api/cloud/iga/IgaRequestFormApi.d.ts +184 -0
  129. package/types/api/cloud/iga/IgaRequestFormApi.d.ts.map +1 -0
  130. package/types/api/cloud/iga/IgaRequestTypeApi.d.ts +124 -0
  131. package/types/api/cloud/iga/IgaRequestTypeApi.d.ts.map +1 -0
  132. package/types/api/cloud/iga/IgaWorkflowApi.d.ts +208 -0
  133. package/types/api/cloud/iga/IgaWorkflowApi.d.ts.map +1 -0
  134. package/types/ext/axios-curlirize/curlirize.d.ts +14 -0
  135. package/types/ext/axios-curlirize/curlirize.d.ts.map +1 -0
  136. package/types/ext/axios-curlirize/lib/CurlHelper.d.ts +12 -0
  137. package/types/ext/axios-curlirize/lib/CurlHelper.d.ts.map +1 -0
  138. package/types/index.d.ts +11 -0
  139. package/types/index.d.ts.map +1 -0
  140. package/types/lib/FrodoLib.d.ts +407 -0
  141. package/types/lib/FrodoLib.d.ts.map +1 -0
  142. package/types/lib/Help.d.ts +18 -0
  143. package/types/lib/Help.d.ts.map +1 -0
  144. package/types/mcp/CapabilityMetadata.d.ts +48 -0
  145. package/types/mcp/CapabilityMetadata.d.ts.map +1 -0
  146. package/types/mcp/CapabilityPolicy.d.ts +22 -0
  147. package/types/mcp/CapabilityPolicy.d.ts.map +1 -0
  148. package/types/mcp/CapabilityRegistry.d.ts +62 -0
  149. package/types/mcp/CapabilityRegistry.d.ts.map +1 -0
  150. package/types/mcp/CapabilityRouting.d.ts +9 -0
  151. package/types/mcp/CapabilityRouting.d.ts.map +1 -0
  152. package/types/mcp/CapabilityTypes.d.ts +371 -0
  153. package/types/mcp/CapabilityTypes.d.ts.map +1 -0
  154. package/types/mcp/DiscoveryHydration.d.ts +21 -0
  155. package/types/mcp/DiscoveryHydration.d.ts.map +1 -0
  156. package/types/mcp/DocsContext.d.ts +123 -0
  157. package/types/mcp/DocsContext.d.ts.map +1 -0
  158. package/types/mcp/McpService.d.ts +94 -0
  159. package/types/mcp/McpService.d.ts.map +1 -0
  160. package/types/mcp/ProfileRegistry.d.ts +63 -0
  161. package/types/mcp/ProfileRegistry.d.ts.map +1 -0
  162. package/types/mcp/SemanticIdentifiers.d.ts +17 -0
  163. package/types/mcp/SemanticIdentifiers.d.ts.map +1 -0
  164. package/types/mcp/SemanticObjectFamilies.d.ts +24 -0
  165. package/types/mcp/SemanticObjectFamilies.d.ts.map +1 -0
  166. package/types/mcp/ToolManifest.d.ts +231 -0
  167. package/types/mcp/ToolManifest.d.ts.map +1 -0
  168. package/types/mcp/ToolRuntime.d.ts +477 -0
  169. package/types/mcp/ToolRuntime.d.ts.map +1 -0
  170. package/types/mcp/index.d.ts +20 -0
  171. package/types/mcp/index.d.ts.map +1 -0
  172. package/types/ops/AdminOps.d.ts +85 -0
  173. package/types/ops/AdminOps.d.ts.map +1 -0
  174. package/types/ops/AgentOps.d.ts +938 -0
  175. package/types/ops/AgentOps.d.ts.map +1 -0
  176. package/types/ops/AmConfigOps.d.ts +96 -0
  177. package/types/ops/AmConfigOps.d.ts.map +1 -0
  178. package/types/ops/ApiFactoryOps.d.ts +77 -0
  179. package/types/ops/ApiFactoryOps.d.ts.map +1 -0
  180. package/types/ops/ApplicationOps.d.ts +334 -0
  181. package/types/ops/ApplicationOps.d.ts.map +1 -0
  182. package/types/ops/AuthenticateOps.d.ts +196 -0
  183. package/types/ops/AuthenticateOps.d.ts.map +1 -0
  184. package/types/ops/AuthenticationSettingsOps.d.ts +78 -0
  185. package/types/ops/AuthenticationSettingsOps.d.ts.map +1 -0
  186. package/types/ops/BrowserAuthenticateOps.d.ts +188 -0
  187. package/types/ops/BrowserAuthenticateOps.d.ts.map +1 -0
  188. package/types/ops/CallbackOps.d.ts +27 -0
  189. package/types/ops/CallbackOps.d.ts.map +1 -0
  190. package/types/ops/CallerTrustTierOps.d.ts +103 -0
  191. package/types/ops/CallerTrustTierOps.d.ts.map +1 -0
  192. package/types/ops/CirclesOfTrustOps.d.ts +203 -0
  193. package/types/ops/CirclesOfTrustOps.d.ts.map +1 -0
  194. package/types/ops/ConfigOps.d.ts +214 -0
  195. package/types/ops/ConfigOps.d.ts.map +1 -0
  196. package/types/ops/ConnectionProfileOps.d.ts +346 -0
  197. package/types/ops/ConnectionProfileOps.d.ts.map +1 -0
  198. package/types/ops/ConnectorOps.d.ts +269 -0
  199. package/types/ops/ConnectorOps.d.ts.map +1 -0
  200. package/types/ops/EmailTemplateOps.d.ts +160 -0
  201. package/types/ops/EmailTemplateOps.d.ts.map +1 -0
  202. package/types/ops/FrodoError.d.ts +40 -0
  203. package/types/ops/FrodoError.d.ts.map +1 -0
  204. package/types/ops/IdmConfigOps.d.ts +286 -0
  205. package/types/ops/IdmConfigOps.d.ts.map +1 -0
  206. package/types/ops/IdmCryptoOps.d.ts +68 -0
  207. package/types/ops/IdmCryptoOps.d.ts.map +1 -0
  208. package/types/ops/IdmScriptOps.d.ts +29 -0
  209. package/types/ops/IdmScriptOps.d.ts.map +1 -0
  210. package/types/ops/IdmSystemOps.d.ts +198 -0
  211. package/types/ops/IdmSystemOps.d.ts.map +1 -0
  212. package/types/ops/IdpOps.d.ts +234 -0
  213. package/types/ops/IdpOps.d.ts.map +1 -0
  214. package/types/ops/InfoOps.d.ts +28 -0
  215. package/types/ops/InfoOps.d.ts.map +1 -0
  216. package/types/ops/InternalRoleOps.d.ts +232 -0
  217. package/types/ops/InternalRoleOps.d.ts.map +1 -0
  218. package/types/ops/JoseOps.d.ts +87 -0
  219. package/types/ops/JoseOps.d.ts.map +1 -0
  220. package/types/ops/JourneyOps.d.ts +573 -0
  221. package/types/ops/JourneyOps.d.ts.map +1 -0
  222. package/types/ops/ManagedObjectOps.d.ts +393 -0
  223. package/types/ops/ManagedObjectOps.d.ts.map +1 -0
  224. package/types/ops/ManagedObjectSchemaOps.d.ts +757 -0
  225. package/types/ops/ManagedObjectSchemaOps.d.ts.map +1 -0
  226. package/types/ops/ManagedSystemObjectOps.d.ts +270 -0
  227. package/types/ops/ManagedSystemObjectOps.d.ts.map +1 -0
  228. package/types/ops/ManagedSystemObjectSchemaOps.d.ts +42 -0
  229. package/types/ops/ManagedSystemObjectSchemaOps.d.ts.map +1 -0
  230. package/types/ops/MappingOps.d.ts +332 -0
  231. package/types/ops/MappingOps.d.ts.map +1 -0
  232. package/types/ops/NodeOps.d.ts +627 -0
  233. package/types/ops/NodeOps.d.ts.map +1 -0
  234. package/types/ops/OAuth2ClientOps.d.ts +235 -0
  235. package/types/ops/OAuth2ClientOps.d.ts.map +1 -0
  236. package/types/ops/OAuth2OidcOps.d.ts +64 -0
  237. package/types/ops/OAuth2OidcOps.d.ts.map +1 -0
  238. package/types/ops/OAuth2ProviderOps.d.ts +57 -0
  239. package/types/ops/OAuth2ProviderOps.d.ts.map +1 -0
  240. package/types/ops/OAuth2TrustedJwtIssuerOps.d.ts +223 -0
  241. package/types/ops/OAuth2TrustedJwtIssuerOps.d.ts.map +1 -0
  242. package/types/ops/OpsTypes.d.ts +12 -0
  243. package/types/ops/OpsTypes.d.ts.map +1 -0
  244. package/types/ops/OrganizationOps.d.ts +34 -0
  245. package/types/ops/OrganizationOps.d.ts.map +1 -0
  246. package/types/ops/PolicyOps.d.ts +294 -0
  247. package/types/ops/PolicyOps.d.ts.map +1 -0
  248. package/types/ops/PolicySetOps.d.ts +195 -0
  249. package/types/ops/PolicySetOps.d.ts.map +1 -0
  250. package/types/ops/PrivilegeEscalationOps.d.ts +51 -0
  251. package/types/ops/PrivilegeEscalationOps.d.ts.map +1 -0
  252. package/types/ops/RawConfigOps.d.ts +67 -0
  253. package/types/ops/RawConfigOps.d.ts.map +1 -0
  254. package/types/ops/RealmOps.d.ts +196 -0
  255. package/types/ops/RealmOps.d.ts.map +1 -0
  256. package/types/ops/ReconOps.d.ts +57 -0
  257. package/types/ops/ReconOps.d.ts.map +1 -0
  258. package/types/ops/RequiredScopesOps.d.ts +69 -0
  259. package/types/ops/RequiredScopesOps.d.ts.map +1 -0
  260. package/types/ops/ResourceTypeOps.d.ts +219 -0
  261. package/types/ops/ResourceTypeOps.d.ts.map +1 -0
  262. package/types/ops/Saml2Ops.d.ts +261 -0
  263. package/types/ops/Saml2Ops.d.ts.map +1 -0
  264. package/types/ops/ScriptOps.d.ts +426 -0
  265. package/types/ops/ScriptOps.d.ts.map +1 -0
  266. package/types/ops/ScriptTypeOps.d.ts +124 -0
  267. package/types/ops/ScriptTypeOps.d.ts.map +1 -0
  268. package/types/ops/SecretStoreOps.d.ts +357 -0
  269. package/types/ops/SecretStoreOps.d.ts.map +1 -0
  270. package/types/ops/ServiceOps.d.ts +194 -0
  271. package/types/ops/ServiceOps.d.ts.map +1 -0
  272. package/types/ops/SessionOps.d.ts +22 -0
  273. package/types/ops/SessionOps.d.ts.map +1 -0
  274. package/types/ops/ThemeOps.d.ts +245 -0
  275. package/types/ops/ThemeOps.d.ts.map +1 -0
  276. package/types/ops/TokenCacheOps.d.ts +243 -0
  277. package/types/ops/TokenCacheOps.d.ts.map +1 -0
  278. package/types/ops/UserOps.d.ts +199 -0
  279. package/types/ops/UserOps.d.ts.map +1 -0
  280. package/types/ops/VersionUtils.d.ts +29 -0
  281. package/types/ops/VersionUtils.d.ts.map +1 -0
  282. package/types/ops/classic/ServerOps.d.ts +195 -0
  283. package/types/ops/classic/ServerOps.d.ts.map +1 -0
  284. package/types/ops/classic/SiteOps.d.ts +117 -0
  285. package/types/ops/classic/SiteOps.d.ts.map +1 -0
  286. package/types/ops/cloud/AdminFederationOps.d.ts +165 -0
  287. package/types/ops/cloud/AdminFederationOps.d.ts.map +1 -0
  288. package/types/ops/cloud/EnvAIAgentOps.d.ts +18 -0
  289. package/types/ops/cloud/EnvAIAgentOps.d.ts.map +1 -0
  290. package/types/ops/cloud/EnvCSRsOps.d.ts +86 -0
  291. package/types/ops/cloud/EnvCSRsOps.d.ts.map +1 -0
  292. package/types/ops/cloud/EnvCertificatesOps.d.ts +140 -0
  293. package/types/ops/cloud/EnvCertificatesOps.d.ts.map +1 -0
  294. package/types/ops/cloud/EnvContentSecurityPolicyOps.d.ts +101 -0
  295. package/types/ops/cloud/EnvContentSecurityPolicyOps.d.ts.map +1 -0
  296. package/types/ops/cloud/EnvCookieDomainsOps.d.ts +36 -0
  297. package/types/ops/cloud/EnvCookieDomainsOps.d.ts.map +1 -0
  298. package/types/ops/cloud/EnvCustomDomainsOps.d.ts +53 -0
  299. package/types/ops/cloud/EnvCustomDomainsOps.d.ts.map +1 -0
  300. package/types/ops/cloud/EnvDirectConfigurationSessionOps.d.ts +55 -0
  301. package/types/ops/cloud/EnvDirectConfigurationSessionOps.d.ts.map +1 -0
  302. package/types/ops/cloud/EnvFederationEnforcementOps.d.ts +58 -0
  303. package/types/ops/cloud/EnvFederationEnforcementOps.d.ts.map +1 -0
  304. package/types/ops/cloud/EnvPromotionOps.d.ts +175 -0
  305. package/types/ops/cloud/EnvPromotionOps.d.ts.map +1 -0
  306. package/types/ops/cloud/EnvReleaseOps.d.ts +19 -0
  307. package/types/ops/cloud/EnvReleaseOps.d.ts.map +1 -0
  308. package/types/ops/cloud/EnvSSOCookieConfigOps.d.ts +50 -0
  309. package/types/ops/cloud/EnvSSOCookieConfigOps.d.ts.map +1 -0
  310. package/types/ops/cloud/EnvServiceAccountScopesOps.d.ts +21 -0
  311. package/types/ops/cloud/EnvServiceAccountScopesOps.d.ts.map +1 -0
  312. package/types/ops/cloud/EsvCountOps.d.ts +15 -0
  313. package/types/ops/cloud/EsvCountOps.d.ts.map +1 -0
  314. package/types/ops/cloud/FeatureOps.d.ts +34 -0
  315. package/types/ops/cloud/FeatureOps.d.ts.map +1 -0
  316. package/types/ops/cloud/IdmFeatureOps.d.ts +78 -0
  317. package/types/ops/cloud/IdmFeatureOps.d.ts.map +1 -0
  318. package/types/ops/cloud/LogOps.d.ts +271 -0
  319. package/types/ops/cloud/LogOps.d.ts.map +1 -0
  320. package/types/ops/cloud/SecretsOps.d.ts +306 -0
  321. package/types/ops/cloud/SecretsOps.d.ts.map +1 -0
  322. package/types/ops/cloud/ServiceAccountOps.d.ts +86 -0
  323. package/types/ops/cloud/ServiceAccountOps.d.ts.map +1 -0
  324. package/types/ops/cloud/StartupOps.d.ts +62 -0
  325. package/types/ops/cloud/StartupOps.d.ts.map +1 -0
  326. package/types/ops/cloud/TelemetryOps.d.ts +109 -0
  327. package/types/ops/cloud/TelemetryOps.d.ts.map +1 -0
  328. package/types/ops/cloud/VariablesOps.d.ts +224 -0
  329. package/types/ops/cloud/VariablesOps.d.ts.map +1 -0
  330. package/types/ops/cloud/WSFedOps.d.ts +412 -0
  331. package/types/ops/cloud/WSFedOps.d.ts.map +1 -0
  332. package/types/ops/cloud/iga/IgaCertificationTemplateOps.d.ts +261 -0
  333. package/types/ops/cloud/iga/IgaCertificationTemplateOps.d.ts.map +1 -0
  334. package/types/ops/cloud/iga/IgaEventOps.d.ts +242 -0
  335. package/types/ops/cloud/iga/IgaEventOps.d.ts.map +1 -0
  336. package/types/ops/cloud/iga/IgaGlossaryOps.d.ts +241 -0
  337. package/types/ops/cloud/iga/IgaGlossaryOps.d.ts.map +1 -0
  338. package/types/ops/cloud/iga/IgaRequestFormOps.d.ts +259 -0
  339. package/types/ops/cloud/iga/IgaRequestFormOps.d.ts.map +1 -0
  340. package/types/ops/cloud/iga/IgaRequestTypeOps.d.ts +240 -0
  341. package/types/ops/cloud/iga/IgaRequestTypeOps.d.ts.map +1 -0
  342. package/types/ops/cloud/iga/IgaWorkflowOps.d.ts +334 -0
  343. package/types/ops/cloud/iga/IgaWorkflowOps.d.ts.map +1 -0
  344. package/types/ops/internal/RelationshipHelpers.d.ts +111 -0
  345. package/types/ops/internal/RelationshipHelpers.d.ts.map +1 -0
  346. package/types/shared/Constants.d.ts +100 -0
  347. package/types/shared/Constants.d.ts.map +1 -0
  348. package/types/shared/OperationType.d.ts +14 -0
  349. package/types/shared/OperationType.d.ts.map +1 -0
  350. package/types/shared/State.d.ts +355 -0
  351. package/types/shared/State.d.ts.map +1 -0
  352. package/types/shared/Version.d.ts +16 -0
  353. package/types/shared/Version.d.ts.map +1 -0
  354. package/types/test/mocks/ForgeRockApiMockEngine.d.ts +38 -0
  355. package/types/test/mocks/ForgeRockApiMockEngine.d.ts.map +1 -0
  356. package/types/test/setup/EmailTemplateSetup.d.ts +8 -0
  357. package/types/test/setup/EmailTemplateSetup.d.ts.map +1 -0
  358. package/types/test/setup/IgaCertificationTemplateSetup.d.ts +12 -0
  359. package/types/test/setup/IgaCertificationTemplateSetup.d.ts.map +1 -0
  360. package/types/test/setup/IgaEventSetup.d.ts +22 -0
  361. package/types/test/setup/IgaEventSetup.d.ts.map +1 -0
  362. package/types/test/setup/IgaGlossarySetup.d.ts +11 -0
  363. package/types/test/setup/IgaGlossarySetup.d.ts.map +1 -0
  364. package/types/test/setup/IgaRequestFormSetup.d.ts +42 -0
  365. package/types/test/setup/IgaRequestFormSetup.d.ts.map +1 -0
  366. package/types/test/setup/IgaRequestTypeSetup.d.ts +10 -0
  367. package/types/test/setup/IgaRequestTypeSetup.d.ts.map +1 -0
  368. package/types/test/setup/IgaWorkflowSetup.d.ts +32 -0
  369. package/types/test/setup/IgaWorkflowSetup.d.ts.map +1 -0
  370. package/types/test/setup/JourneySetup.d.ts +18 -0
  371. package/types/test/setup/JourneySetup.d.ts.map +1 -0
  372. package/types/test/setup/NodeSetup.d.ts +14 -0
  373. package/types/test/setup/NodeSetup.d.ts.map +1 -0
  374. package/types/test/setup/RawConfigSetup.d.ts +2 -0
  375. package/types/test/setup/RawConfigSetup.d.ts.map +1 -0
  376. package/types/test/setup/SecretSetup.d.ts +69 -0
  377. package/types/test/setup/SecretSetup.d.ts.map +1 -0
  378. package/types/test/setup/StartupSetup.d.ts +2 -0
  379. package/types/test/setup/StartupSetup.d.ts.map +1 -0
  380. package/types/test/setup/TelemetrySetup.d.ts +8 -0
  381. package/types/test/setup/TelemetrySetup.d.ts.map +1 -0
  382. package/types/test/setup/VariablesSetup.d.ts +27 -0
  383. package/types/test/setup/VariablesSetup.d.ts.map +1 -0
  384. package/types/test/utils/TestUtils.d.ts +15 -0
  385. package/types/test/utils/TestUtils.d.ts.map +1 -0
  386. package/types/utils/AsyncUtils.d.ts +14 -0
  387. package/types/utils/AsyncUtils.d.ts.map +1 -0
  388. package/types/utils/AutoSetupPolly.d.ts +25 -0
  389. package/types/utils/AutoSetupPolly.d.ts.map +1 -0
  390. package/types/utils/Base64Utils.d.ts +41 -0
  391. package/types/utils/Base64Utils.d.ts.map +1 -0
  392. package/types/utils/ColorTheme.d.ts +40 -0
  393. package/types/utils/ColorTheme.d.ts.map +1 -0
  394. package/types/utils/Console.d.ts +110 -0
  395. package/types/utils/Console.d.ts.map +1 -0
  396. package/types/utils/CryptoUtils.d.ts +35 -0
  397. package/types/utils/CryptoUtils.d.ts.map +1 -0
  398. package/types/utils/DataProtection.d.ts +24 -0
  399. package/types/utils/DataProtection.d.ts.map +1 -0
  400. package/types/utils/ExportImportUtils.d.ts +415 -0
  401. package/types/utils/ExportImportUtils.d.ts.map +1 -0
  402. package/types/utils/ForgeRockUtils.d.ts +122 -0
  403. package/types/utils/ForgeRockUtils.d.ts.map +1 -0
  404. package/types/utils/FrodoNodeHttpAdapter.d.ts +5 -0
  405. package/types/utils/FrodoNodeHttpAdapter.d.ts.map +1 -0
  406. package/types/utils/FrodoUtils.d.ts +15 -0
  407. package/types/utils/FrodoUtils.d.ts.map +1 -0
  408. package/types/utils/HelpUtils.d.ts +19 -0
  409. package/types/utils/HelpUtils.d.ts.map +1 -0
  410. package/types/utils/JsonUtils.d.ts +105 -0
  411. package/types/utils/JsonUtils.d.ts.map +1 -0
  412. package/types/utils/JwtUtils.d.ts +19 -0
  413. package/types/utils/JwtUtils.d.ts.map +1 -0
  414. package/types/utils/PkceUtils.d.ts +17 -0
  415. package/types/utils/PkceUtils.d.ts.map +1 -0
  416. package/types/utils/PollyUtils.d.ts +65 -0
  417. package/types/utils/PollyUtils.d.ts.map +1 -0
  418. package/types/utils/ScriptValidationUtils.d.ts +38 -0
  419. package/types/utils/ScriptValidationUtils.d.ts.map +1 -0
  420. package/types/utils/SemverUtils.d.ts +61 -0
  421. package/types/utils/SemverUtils.d.ts.map +1 -0
  422. package/types/utils/SetupPollyForFrodoLib.d.ts +7 -0
  423. package/types/utils/SetupPollyForFrodoLib.d.ts.map +1 -0
  424. package/types/utils/TerminalBackgroundDetection.d.ts +48 -0
  425. package/types/utils/TerminalBackgroundDetection.d.ts.map +1 -0
  426. package/types/utils/TerminalContrast.d.ts +44 -0
  427. package/types/utils/TerminalContrast.d.ts.map +1 -0
@@ -0,0 +1,938 @@
1
+ import { type AgentGroupSkeleton, type AgentSkeleton, type AgentType } from '../api/AgentApi';
2
+ import { State } from '../shared/State';
3
+ import { FrodoError } from './FrodoError';
4
+ import { type ExportMetaData } from './OpsTypes';
5
+ export type Agent = {
6
+ /**
7
+ * Read all agent types.
8
+ * @returns {Promise<AgentType[]>} a promise that resolves to an array of agent type strings
9
+ */
10
+ readAgentTypes(): Promise<AgentType[]>;
11
+ /**
12
+ * Read agent by type and id
13
+ * @param {string} agentType agent type (IdentityGatewayAgent, J2EEAgent, WebAgent)
14
+ * @param {string} agentId agent id/name
15
+ * @returns {Promise<AgentSkeleton>} a promise that resolves to an agent object
16
+ */
17
+ readAgentByTypeAndId(agentType: AgentType, agentId: string): Promise<AgentSkeleton>;
18
+ /**
19
+ * Read all agents.
20
+ * @param {boolean} globalConfig true if global agent is the target of the operation, false otherwise. Default: false.
21
+ * @returns {Promise<AgentSkeleton[]>} a promise that resolves to an array of agent objects
22
+ */
23
+ readAgents(globalConfig: boolean): Promise<AgentSkeleton[]>;
24
+ /**
25
+ * Read agent
26
+ * @param {string} agentId agent id/name
27
+ * @param {boolean} globalConfig true if global agent is the target of the operation, false otherwise. Default: false.
28
+ * @returns {Promise<AgentSkeleton>} a promise that resolves to an agent object
29
+ */
30
+ readAgent(agentId: string, globalConfig: boolean): Promise<AgentSkeleton>;
31
+ /**
32
+ * Delete all agents
33
+ */
34
+ deleteAgents(): Promise<void>;
35
+ /**
36
+ * Delete agent
37
+ * @param agentId agent id/name
38
+ */
39
+ deleteAgent(agentId: string): Promise<void>;
40
+ /**
41
+ * Export all agents. The response can be saved to file as is.
42
+ * @param {boolean} globalConfig true if global agent is the target of the operation, false otherwise. Default: false.
43
+ * @returns {Promise<AgentExportInterface>} Promise resolving to an AgentExportInterface object.
44
+ */
45
+ exportAgents(globalConfig: boolean): Promise<AgentExportInterface>;
46
+ /**
47
+ * Export agent. The response can be saved to file as is.
48
+ * @param agentId agent id/name
49
+ * @param {boolean} globalConfig true if global agent is the target of the operation, false otherwise. Default: false.
50
+ * @returns {Promise<AgentExportInterface>} Promise resolving to an AgentExportInterface object.
51
+ */
52
+ exportAgent(agentId: string, globalConfig: boolean): Promise<AgentExportInterface>;
53
+ /**
54
+ * Import agents. The import data is usually read from an agent export file.
55
+ * @param {boolean} globalConfig true if global agent is the target of the operation, false otherwise. Default: false.
56
+ * @param {AgentExportInterface} importData agent import data.
57
+ * @returns {Promise<AgentSkeleton[]>} The agents that were imported.
58
+ */
59
+ importAgents(importData: AgentExportInterface, globalConfig: boolean): Promise<AgentSkeleton[]>;
60
+ /**
61
+ * Import agent. The import data is usually read from an agent export file.
62
+ * @param {string} agentId agent id/name
63
+ * @param {AgentExportInterface} importData agent import data.
64
+ * @param {boolean} globalConfig true if global agent is the target of the operation, false otherwise. Default: false.
65
+ * @returns {Promise<AgentSkeleton>} Promise resolving to an agent object.
66
+ */
67
+ importAgent(agentId: string, importData: AgentExportInterface, globalConfig: boolean): Promise<AgentSkeleton>;
68
+ /**
69
+ * Read identity gateway agents
70
+ * @returns {Promise<AgentSkeleton[]>} a promise that resolves to an array of IdentityGatewayAgent objects
71
+ */
72
+ readIdentityGatewayAgents(): Promise<AgentSkeleton[]>;
73
+ /**
74
+ * Read identity gateway agent
75
+ * @param {string} gatewayId gateway id
76
+ * @returns {Promise<AgentSkeleton>} a promise that resolves to an object containing an IdentityGatewayAgent object
77
+ */
78
+ readIdentityGatewayAgent(gatewayId: string): Promise<AgentSkeleton>;
79
+ /**
80
+ * Create identity gateway agent
81
+ * @param {string} gatewayId gateway id
82
+ * @param {AgentSkeleton} gatewayData IdentityGatewayAgent object
83
+ * @returns {Promise<AgentSkeleton>} a promise that resolves to an object containing an IdentityGatewayAgent object
84
+ */
85
+ createIdentityGatewayAgent(gatewayId: string, gatewayData: AgentSkeleton): Promise<AgentSkeleton>;
86
+ /**
87
+ * Update or create identity gateway agent
88
+ * @param {string} gatewayId gateway id
89
+ * @param {AgentSkeleton} gatewayData IdentityGatewayAgent object
90
+ * @returns {Promise<AgentSkeleton>} a promise that resolves to an object containing an IdentityGatewayAgent object
91
+ */
92
+ updateIdentityGatewayAgent(gatewayId: string, gatewayData: AgentSkeleton): Promise<AgentSkeleton>;
93
+ /**
94
+ * Delete all identity gateway agents
95
+ */
96
+ deleteIdentityGatewayAgents(): Promise<void>;
97
+ /**
98
+ * Delete identity gateway agent
99
+ * @param agentId agent id/name
100
+ */
101
+ deleteIdentityGatewayAgent(agentId: string): Promise<void>;
102
+ /**
103
+ * Export all identity gateway agents. The response can be saved to file as is.
104
+ * @returns {Promise<AgentExportInterface>} Promise resolving to an AgentExportInterface object.
105
+ */
106
+ exportIdentityGatewayAgents(): Promise<AgentExportInterface>;
107
+ /**
108
+ * Export identity gateway agent. The response can be saved to file as is.
109
+ * @param agentId agent id/name
110
+ * @returns {Promise<AgentExportInterface>} Promise resolving to an AgentExportInterface object.
111
+ */
112
+ exportIdentityGatewayAgent(agentId: string): Promise<AgentExportInterface>;
113
+ /**
114
+ * Import identity gateway agents. The import data is usually read from an agent export file.
115
+ * @param {AgentExportInterface} importData agent import data.
116
+ */
117
+ importIdentityGatewayAgents(importData: AgentExportInterface): Promise<void>;
118
+ /**
119
+ * Import identity gateway agent. The import data is usually read from an agent export file.
120
+ * @param {string} agentId agent id/name
121
+ * @param {AgentExportInterface} importData agent import data.
122
+ * @returns {Promise<AgentSkeleton>} Promise resolving to an agent object.
123
+ */
124
+ importIdentityGatewayAgent(agentId: string, importData: AgentExportInterface): Promise<AgentSkeleton>;
125
+ /**
126
+ * Read java agents
127
+ * @returns {Promise<AgentSkeleton[]>} a promise that resolves to an array of J2EEAgent objects
128
+ */
129
+ readJavaAgents(): Promise<AgentSkeleton[]>;
130
+ /**
131
+ * Read java agent
132
+ * @param {string} agentId java agent id
133
+ * @returns {Promise<AgentSkeleton>} a promise that resolves to an object containing an J2EEAgent object
134
+ */
135
+ readJavaAgent(agentId: string): Promise<AgentSkeleton>;
136
+ /**
137
+ * Create java agent
138
+ * @param {string} agentId java agent id
139
+ * @param {AgentSkeleton} agentData java agent object
140
+ * @returns {Promise<AgentSkeleton>} a promise that resolves to an object containing an java agent object
141
+ */
142
+ createJavaAgent(agentId: string, agentData: AgentSkeleton): Promise<AgentSkeleton>;
143
+ /**
144
+ * Update or create java agent
145
+ * @param {string} agentId java agent id
146
+ * @param {AgentSkeleton} agentData java agent object
147
+ * @returns {Promise<AgentSkeleton>} a promise that resolves to an object containing an java agent object
148
+ */
149
+ updateJavaAgent(agentId: string, agentData: AgentSkeleton): Promise<AgentSkeleton>;
150
+ /**
151
+ * Delete all java agents
152
+ */
153
+ deleteJavaAgents(): Promise<void>;
154
+ /**
155
+ * Delete java agent
156
+ * @param agentId agent id/name
157
+ */
158
+ deleteJavaAgent(agentId: string): Promise<void>;
159
+ /**
160
+ * Export all java agents. The response can be saved to file as is.
161
+ * @returns {Promise<AgentExportInterface>} Promise resolving to an AgentExportInterface object.
162
+ */
163
+ exportJavaAgents(): Promise<AgentExportInterface>;
164
+ /**
165
+ * Export java agent. The response can be saved to file as is.
166
+ * @param agentId agent id/name
167
+ * @returns {Promise<AgentExportInterface>} Promise resolving to an AgentExportInterface object.
168
+ */
169
+ exportJavaAgent(agentId: string): Promise<AgentExportInterface>;
170
+ /**
171
+ * Import java agents. The import data is usually read from an agent export file.
172
+ * @param {AgentExportInterface} importData agent import data.
173
+ */
174
+ importJavaAgents(importData: AgentExportInterface): Promise<void>;
175
+ /**
176
+ * Import java agent. The import data is usually read from an agent export file.
177
+ * @param {string} agentId agent id/name
178
+ * @param {AgentExportInterface} importData agent import data.
179
+ * @returns {Promise<AgentSkeleton>} Promise resolving to an agent object.
180
+ */
181
+ importJavaAgent(agentId: string, importData: AgentExportInterface): Promise<AgentSkeleton>;
182
+ /**
183
+ * Read web agents
184
+ * @returns {Promise<AgentSkeleton[]>} a promise that resolves to an array of WebAgent objects
185
+ */
186
+ readWebAgents(): Promise<AgentSkeleton[]>;
187
+ /**
188
+ * Read web agent
189
+ * @param {string} agentId web agent id
190
+ * @returns {Promise<AgentSkeleton>} a promise that resolves to an object containing an WebAgent object
191
+ */
192
+ readWebAgent(agentId: string): Promise<AgentSkeleton>;
193
+ /**
194
+ * Create web agent
195
+ * @param {string} agentId web agent id
196
+ * @param {AgentSkeleton} agentData WebAgent object
197
+ * @returns {Promise<AgentSkeleton>} a promise that resolves to an object containing an WebAgent object
198
+ */
199
+ createWebAgent(agentId: string, agentData: AgentSkeleton): Promise<AgentSkeleton>;
200
+ /**
201
+ * Update or create web agent
202
+ * @param {string} agentId web agent id
203
+ * @param {AgentSkeleton} agentData WebAgent object
204
+ * @returns {Promise<AgentSkeleton>} a promise that resolves to an object containing an WebAgent object
205
+ */
206
+ updateWebAgent(agentId: string, agentData: AgentSkeleton): Promise<AgentSkeleton>;
207
+ /**
208
+ * Delete all web agents
209
+ */
210
+ deleteWebAgents(): Promise<void>;
211
+ /**
212
+ * Delete web agent
213
+ * @param agentId agent id/name
214
+ */
215
+ deleteWebAgent(agentId: string): Promise<void>;
216
+ /**
217
+ * Export all web agents. The response can be saved to file as is.
218
+ * @returns {Promise<AgentExportInterface>} Promise resolving to an AgentExportInterface object.
219
+ */
220
+ exportWebAgents(): Promise<AgentExportInterface>;
221
+ /**
222
+ * Export web agent. The response can be saved to file as is.
223
+ * @param agentId agent id/name
224
+ * @returns {Promise<AgentExportInterface>} Promise resolving to an AgentExportInterface object.
225
+ */
226
+ exportWebAgent(agentId: string): Promise<AgentExportInterface>;
227
+ /**
228
+ * Import web agents. The import data is usually read from an agent export file.
229
+ * @param {AgentExportInterface} importData agent import data.
230
+ */
231
+ importWebAgents(importData: AgentExportInterface): Promise<void>;
232
+ /**
233
+ * Import web agent. The import data is usually read from an agent export file.
234
+ * @param {string} agentId agent id/name
235
+ * @param {AgentExportInterface} importData agent import data.
236
+ * @returns {Promise<AgentSkeleton>} Promise resolving to an agent object.
237
+ */
238
+ importWebAgent(agentId: string, importData: AgentExportInterface): Promise<AgentSkeleton>;
239
+ /**
240
+ * Read AI agents
241
+ * @param {boolean} includeAgentIdentity whether to include related AI agent identity details
242
+ * @returns {Promise<AgentSkeleton[]>} a promise that resolves to an array of AIAgent objects
243
+ */
244
+ readAIAgents(includeAgentIdentity?: boolean): Promise<AgentSkeleton[]>;
245
+ /**
246
+ * Read AI agent
247
+ * @param {string} agentId AI agent id
248
+ * @param {boolean} includeAgentIdentity whether to include related AI agent identity details
249
+ * @returns {Promise<AgentSkeleton>} a promise that resolves to an object containing an AIAgent object
250
+ */
251
+ readAIAgent(agentId: string, includeAgentIdentity?: boolean): Promise<AgentSkeleton>;
252
+ /**
253
+ * Create AI agent
254
+ * @param {string} agentId AI agent id
255
+ * @param {AgentSkeleton} agentData AIAgent object
256
+ * @param {boolean} includeAgentIdentity whether to create related AI agent identity objects
257
+ * @returns {Promise<AgentSkeleton>} a promise that resolves to an object containing an AIAgent object
258
+ */
259
+ createAIAgent(agentId: string, agentData: AgentSkeleton, includeAgentIdentity?: boolean): Promise<AgentSkeleton>;
260
+ /**
261
+ * Update or create AI agent
262
+ * @param {string} agentId AI agent id
263
+ * @param {AgentSkeleton} agentData AIAgent object
264
+ * @param {boolean} includeAgentIdentity whether to update related AI agent identity objects
265
+ * @returns {Promise<AgentSkeleton>} a promise that resolves to an object containing an AIAgent object
266
+ */
267
+ updateAIAgent(agentId: string, agentData: AgentSkeleton, includeAgentIdentity?: boolean): Promise<AgentSkeleton>;
268
+ /**
269
+ * Delete all AI agents and their agent identity and privileges
270
+ */
271
+ deleteAIAgents(): Promise<void>;
272
+ /**
273
+ * Delete AI agent and agent identity and privileges
274
+ * @param {string} agentId agent id/name
275
+ */
276
+ deleteAIAgent(agentId: string): Promise<void>;
277
+ /**
278
+ * Export all AI agents. The response can be saved to file as is.
279
+ * @returns {Promise<AgentExportInterface>} Promise resolving to an AgentExportInterface object.
280
+ */
281
+ exportAIAgents(): Promise<AgentExportInterface>;
282
+ /**
283
+ * Export AI agent. The response can be saved to file as is.
284
+ * @param agentId agent id/name
285
+ * @param {boolean} includeAgentIdentity whether to export related AI agent identity details
286
+ * @returns {Promise<AgentExportInterface>} Promise resolving to an AgentExportInterface object.
287
+ */
288
+ exportAIAgent(agentId: string, includeAgentIdentity?: boolean): Promise<AgentExportInterface>;
289
+ /**
290
+ * Import AI agents. The import data is usually read from an agent export file.
291
+ * @param {AgentExportInterface} importData agent import data.
292
+ * @param {boolean} includeAgentIdentity whether to import related AI agent identity objects
293
+ */
294
+ importAIAgents(importData: AgentExportInterface, includeAgentIdentity?: boolean): Promise<void>;
295
+ /**
296
+ * Import AI agent. The import data is usually read from an agent export file.
297
+ * @param {string} agentId agent id/name
298
+ * @param {AgentExportInterface} importData agent import data.
299
+ * @param {boolean} includeAgentIdentity whether to import related AI agent identity objects
300
+ * @returns {Promise<AgentSkeleton>} Promise resolving to an agent object.
301
+ */
302
+ importAIAgent(agentId: string, importData: AgentExportInterface, includeAgentIdentity?: boolean): Promise<AgentSkeleton>;
303
+ /**
304
+ * Read agent group by id
305
+ * @param {string} groupId Group id
306
+ * @returns {Promise<AgentGroupSkeleton>} a promise that resolves to a agent group object
307
+ */
308
+ readAgentGroup(groupId: string): Promise<AgentGroupSkeleton>;
309
+ /**
310
+ * Read all agent groups.
311
+ * @returns {Promise<AgentGroupSkeleton[]>} a promise that resolves to an array of agent group objects
312
+ */
313
+ readAgentGroups(): Promise<AgentGroupSkeleton[]>;
314
+ /**
315
+ * Export a single agent group by id. The response can be saved to file as is.
316
+ * @param {string} groupId Group id
317
+ * @returns {Promise<AgentGroupExportInterface>} Promise resolving to a AgentGroupExportInterface object.
318
+ */
319
+ exportAgentGroup(groupId: string): Promise<AgentGroupExportInterface>;
320
+ /**
321
+ * Export all agent groups. The response can be saved to file as is.
322
+ * @returns {Promise<AgentGroupExportInterface>} Promise resolving to a AgentGroupExportInterface object.
323
+ */
324
+ exportAgentGroups(): Promise<AgentGroupExportInterface>;
325
+ /**
326
+ * Import agents groups. The import data is usually read from an agent group export file.
327
+ * @param {AgentExportInterface} importData agent import data.
328
+ * @returns {Promise<AgentGroupSkeleton[]>} The agent groups that were imported.
329
+ */
330
+ importAgentGroups(importData: AgentGroupExportInterface): Promise<AgentGroupSkeleton[]>;
331
+ /**
332
+ * Import agent group. The import data is usually read from an agent group export file.
333
+ * @param {string} agentGroupId agent group id/name
334
+ * @param {AgentGroupExportInterface} importData agent group import data.
335
+ * @returns {Promise<AgentGroupSkeleton>} Promise resolving to an agent group object.
336
+ */
337
+ importAgentGroup(agentGroupId: string, importData: AgentGroupExportInterface): Promise<AgentGroupSkeleton>;
338
+ /**
339
+ * Create an empty agent export template
340
+ * @returns {AgentExportInterface} an empty agent export template
341
+ */
342
+ createAgentExportTemplate(): AgentExportInterface;
343
+ /**
344
+ * Create an empty agent group export template
345
+ * @returns {AgentGroupExportInterface} an empty agent export template
346
+ */
347
+ createAgentGroupExportTemplate(): AgentGroupExportInterface;
348
+ };
349
+ declare const _default: (state: State) => Agent;
350
+ export default _default;
351
+ export interface AgentExportInterface {
352
+ meta?: ExportMetaData;
353
+ agent: Record<string, AgentSkeleton>;
354
+ }
355
+ export interface AgentGroupExportInterface {
356
+ meta?: ExportMetaData;
357
+ agentGroup: Record<string, AgentGroupSkeleton>;
358
+ }
359
+ /**
360
+ * Per-privilege outcome of creating and linking an AI agent's privileges,
361
+ * as attached to `createAIAgent`'s result under `_provisioningStatus`.
362
+ */
363
+ export interface AIAgentPrivilegeProvisioningResult {
364
+ privilegeId: string;
365
+ outcome: 'created' | 'reused' | 'error';
366
+ linkedToAgent: boolean;
367
+ linkedToApplication: boolean;
368
+ linkedToSubjectGroups: boolean;
369
+ linkedToSubjects: boolean;
370
+ errors: FrodoError[];
371
+ }
372
+ /**
373
+ * Structured, non-fatal report of the AI agent identity/privilege/owner
374
+ * provisioning steps `createAIAgent` performs after the core agent object
375
+ * itself has been created. None of these steps failing prevents
376
+ * `createAIAgent` from returning the created agent -- inspect this status
377
+ * (attached to the result as `_provisioningStatus`) to find out which, if
378
+ * any, of them didn't complete.
379
+ */
380
+ export interface AIAgentProvisioningStatus {
381
+ agentIdentityId?: string;
382
+ ownersLinked?: boolean;
383
+ privileges: AIAgentPrivilegeProvisioningResult[];
384
+ errors: FrodoError[];
385
+ }
386
+ /**
387
+ * Read all available agent types.
388
+ * @returns {Promise<AgentType[]>} a promise that resolves to an array of agent type items
389
+ */
390
+ export declare function readAgentTypes({ refreshCache, state, }: {
391
+ refreshCache?: boolean;
392
+ state: State;
393
+ }): Promise<AgentType[]>;
394
+ /**
395
+ * Get all agents. Results are sorted alphabetically.
396
+ * @param {boolean} globalConfig true if global agent is the target of the operation, false otherwise. Default: false.
397
+ * @returns {Promise<AgentSkeleton[]>} a promise that resolves to an array of agent objects
398
+ */
399
+ export declare function readAgents({ state, globalConfig, }: {
400
+ state: State;
401
+ globalConfig: boolean;
402
+ }): Promise<AgentSkeleton[]>;
403
+ /**
404
+ * Get agent
405
+ * @param {string} agentId agent id/name
406
+ * @param {boolean} globalConfig true if global agent is the target of the operation, false otherwise. Default: false.
407
+ * @returns {Promise<AgentSkeleton>} a promise that resolves to an agent object
408
+ */
409
+ export declare function readAgent({ agentId, globalConfig, state, }: {
410
+ agentId: string;
411
+ globalConfig: boolean;
412
+ state: State;
413
+ }): Promise<AgentSkeleton>;
414
+ /**
415
+ * Delete all agents
416
+ */
417
+ export declare function deleteAgents({ state }: {
418
+ state: State;
419
+ }): Promise<void>;
420
+ /**
421
+ * Delete agent
422
+ * @param agentId agent id/name
423
+ */
424
+ export declare function deleteAgent({ agentId, state, }: {
425
+ agentId: string;
426
+ state: State;
427
+ }): Promise<void>;
428
+ /**
429
+ * Export all agents. The response can be saved to file as is.
430
+ * @param {boolean} globalConfig true if global agent is the target of the operation, false otherwise. Default: false.
431
+ * @returns {Promise<AgentExportInterface>} Promise resolving to an AgentExportInterface object.
432
+ */
433
+ export declare function exportAgents({ state, globalConfig, }: {
434
+ state: State;
435
+ globalConfig: boolean;
436
+ }): Promise<AgentExportInterface>;
437
+ /**
438
+ * Export agent. The response can be saved to file as is.
439
+ * @param agentId agent id/name
440
+ * @param {boolean} globalConfig true if global agent is the target of the operation, false otherwise. Default: false.
441
+ * @returns {Promise<AgentExportInterface>} Promise resolving to an AgentExportInterface object.
442
+ */
443
+ export declare function exportAgent({ agentId, globalConfig, state, }: {
444
+ agentId: string;
445
+ globalConfig: boolean;
446
+ state: State;
447
+ }): Promise<AgentExportInterface>;
448
+ /**
449
+ * Import agents. The import data is usually read from an agent export file.
450
+ * @param {AgentExportInterface} importData agent import data.
451
+ * @param {boolean} globalConfig true if global agent is the target of the operation, false otherwise. Default: false.
452
+ * @returns {Promise<AgentSkeleton[]>} The agents that were imported.
453
+ */
454
+ export declare function importAgents({ importData, globalConfig, state, }: {
455
+ importData: AgentExportInterface;
456
+ globalConfig: boolean;
457
+ state: State;
458
+ }): Promise<AgentSkeleton[]>;
459
+ /**
460
+ * Import agent. The import data is usually read from an agent export file.
461
+ * @param {string} agentId agent id/name
462
+ * @param {AgentExportInterface} importData agent import data.
463
+ * @param {boolean} globalConfig true if global agent is the target of the operation, false otherwise. Default: false.
464
+ * @returns {Promise<AgentSkeleton>} Promise resolving to an agent object.
465
+ */
466
+ export declare function importAgent({ agentId, importData, globalConfig, state, }: {
467
+ agentId: string;
468
+ importData: AgentExportInterface;
469
+ globalConfig: boolean;
470
+ state: State;
471
+ }): Promise<AgentSkeleton>;
472
+ /**
473
+ * Get agent by type and id
474
+ * @param {AgentType} agentType agent type
475
+ * @param {string} agentId agent id/name
476
+ * @returns {Promise<AgentSkeleton>} a promise that resolves to an agent object
477
+ */
478
+ export declare function readAgentByTypeAndId({ agentType, agentId, state, }: {
479
+ agentType: AgentType;
480
+ agentId: string;
481
+ state: State;
482
+ }): Promise<AgentSkeleton>;
483
+ /**
484
+ * Get identity gateway agents
485
+ * @returns {: Promise<AgentSkeleton[]>} a promise that resolves to an array of IdentityGatewayAgent objects
486
+ */
487
+ export declare function readIdentityGatewayAgents({ state, }: {
488
+ state: State;
489
+ }): Promise<AgentSkeleton[]>;
490
+ /**
491
+ * Get identity gateway agent
492
+ * @param {string} gatewayId gateway id
493
+ * @returns {Promise<AgentSkeleton>} a promise that resolves to an object containing an IdentityGatewayAgent object
494
+ */
495
+ export declare function readIdentityGatewayAgent({ gatewayId, state, }: {
496
+ gatewayId: string;
497
+ state: State;
498
+ }): Promise<AgentSkeleton>;
499
+ /**
500
+ * Create identity gateway agent
501
+ * @param {string} gatewayId gateway id
502
+ * @param {AgentSkeleton} gatewayData IdentityGatewayAgent object
503
+ * @returns {Promise<AgentSkeleton>} a promise that resolves to an object containing an IdentityGatewayAgent object
504
+ */
505
+ export declare function createIdentityGatewayAgent({ gatewayId, gatewayData, state, }: {
506
+ gatewayId: string;
507
+ gatewayData: AgentSkeleton;
508
+ state: State;
509
+ }): Promise<AgentSkeleton>;
510
+ /**
511
+ * Update or create identity gateway agent
512
+ * @param {string} gatewayId gateway id
513
+ * @param {AgentSkeleton} gatewayData IdentityGatewayAgent object
514
+ * @returns {Promise<AgentSkeleton>} a promise that resolves to an object containing an IdentityGatewayAgent object
515
+ */
516
+ export declare function updateIdentityGatewayAgent({ gatewayId, gatewayData, state, }: {
517
+ gatewayId: string;
518
+ gatewayData: AgentSkeleton;
519
+ state: State;
520
+ }): Promise<AgentSkeleton>;
521
+ /**
522
+ * Delete all identity gateway agents
523
+ */
524
+ export declare function deleteIdentityGatewayAgents({ state }: {
525
+ state: State;
526
+ }): Promise<void>;
527
+ /**
528
+ * Delete identity gateway agent
529
+ * @param agentId agent id/name
530
+ */
531
+ export declare function deleteIdentityGatewayAgent({ agentId, state, }: {
532
+ agentId: string;
533
+ state: State;
534
+ }): Promise<void>;
535
+ /**
536
+ * Export all identity gateway agents. The response can be saved to file as is.
537
+ * @returns {Promise<AgentExportInterface>} Promise resolving to an AgentExportInterface object.
538
+ */
539
+ export declare function exportIdentityGatewayAgents({ state, }: {
540
+ state: State;
541
+ }): Promise<AgentExportInterface>;
542
+ /**
543
+ * Export identity gateway agent. The response can be saved to file as is.
544
+ * @param agentId agent id/name
545
+ * @returns {Promise<AgentExportInterface>} Promise resolving to an AgentExportInterface object.
546
+ */
547
+ export declare function exportIdentityGatewayAgent({ agentId, state, }: {
548
+ agentId: string;
549
+ state: State;
550
+ }): Promise<AgentExportInterface>;
551
+ /**
552
+ * Import identity gateway agents. The import data is usually read from an agent export file.
553
+ * @param {AgentExportInterface} importData agent import data.
554
+ */
555
+ export declare function importIdentityGatewayAgents({ importData, state, }: {
556
+ importData: AgentExportInterface;
557
+ state: State;
558
+ }): Promise<void>;
559
+ /**
560
+ * Import identity gateway agent. The import data is usually read from an agent export file.
561
+ * @param {string} agentId agent id/name
562
+ * @param {AgentExportInterface} importData agent import data.
563
+ * @returns {Promise<AgentSkeleton>} Promise resolving to an agent object.
564
+ */
565
+ export declare function importIdentityGatewayAgent({ agentId, importData, state, }: {
566
+ agentId: string;
567
+ importData: AgentExportInterface;
568
+ state: State;
569
+ }): Promise<AgentSkeleton>;
570
+ /**
571
+ * Get java agents
572
+ * @returns {Promise<AgentSkeleton[]>} a promise that resolves to an array of J2EEAgent objects
573
+ */
574
+ export declare function readJavaAgents({ state, }: {
575
+ state: State;
576
+ }): Promise<AgentSkeleton[]>;
577
+ /**
578
+ * Get java agent
579
+ * @param {string} agentId java agent id
580
+ * @returns {Promise} a promise that resolves to an object containing an J2EEAgent object
581
+ */
582
+ export declare function readJavaAgent({ agentId, state, }: {
583
+ agentId: string;
584
+ state: State;
585
+ }): Promise<AgentSkeleton>;
586
+ /**
587
+ * Create java agent
588
+ * @param {string} agentId java agent id
589
+ * @param {Object} agentData java agent object
590
+ * @returns {Promise} a promise that resolves to an object containing an java agent object
591
+ */
592
+ export declare function createJavaAgent({ agentId, agentData, state, }: {
593
+ agentId: string;
594
+ agentData: AgentSkeleton;
595
+ state: State;
596
+ }): Promise<AgentSkeleton>;
597
+ /**
598
+ * Update or create java agent
599
+ * @param {string} agentId java agent id
600
+ * @param {Object} agentData java agent object
601
+ * @returns {Promise} a promise that resolves to an object containing an java agent object
602
+ */
603
+ export declare function updateJavaAgent({ agentId, agentData, state, }: {
604
+ agentId: string;
605
+ agentData: AgentSkeleton;
606
+ state: State;
607
+ }): Promise<AgentSkeleton>;
608
+ /**
609
+ * Delete all java agents
610
+ */
611
+ export declare function deleteJavaAgents({ state }: {
612
+ state: State;
613
+ }): Promise<void>;
614
+ /**
615
+ * Delete java agent
616
+ * @param agentId agent id/name
617
+ */
618
+ export declare function deleteJavaAgent({ agentId, state, }: {
619
+ agentId: string;
620
+ state: State;
621
+ }): Promise<void>;
622
+ /**
623
+ * Export all java agents. The response can be saved to file as is.
624
+ * @returns {Promise<AgentExportInterface>} Promise resolving to an AgentExportInterface object.
625
+ */
626
+ export declare function exportJavaAgents({ state, }: {
627
+ state: State;
628
+ }): Promise<AgentExportInterface>;
629
+ /**
630
+ * Export java agent. The response can be saved to file as is.
631
+ * @param agentId agent id/name
632
+ * @returns {Promise<AgentExportInterface>} Promise resolving to an AgentExportInterface object.
633
+ */
634
+ export declare function exportJavaAgent({ agentId, state, }: {
635
+ agentId: string;
636
+ state: State;
637
+ }): Promise<AgentExportInterface>;
638
+ /**
639
+ * Import java agents. The import data is usually read from an agent export file.
640
+ * @param {AgentExportInterface} importData agent import data.
641
+ */
642
+ export declare function importJavaAgents({ importData, state, }: {
643
+ importData: AgentExportInterface;
644
+ state: State;
645
+ }): Promise<void>;
646
+ /**
647
+ * Import java agent. The import data is usually read from an agent export file.
648
+ * @param {string} agentId agent id/name
649
+ * @param {AgentExportInterface} importData agent import data.
650
+ * @returns {Promise<AgentSkeleton>} Promise resolving to an agent object.
651
+ */
652
+ export declare function importJavaAgent({ agentId, importData, state, }: {
653
+ agentId: string;
654
+ importData: AgentExportInterface;
655
+ state: State;
656
+ }): Promise<AgentSkeleton>;
657
+ /**
658
+ * Get web agents
659
+ * @returns {Promise} a promise that resolves to an array of WebAgent objects
660
+ */
661
+ export declare function readWebAgents({ state }: {
662
+ state: State;
663
+ }): Promise<import("../api/ApiTypes").AmConfigEntityInterface[]>;
664
+ /**
665
+ * Get web agent
666
+ * @param {string} agentId web agent id
667
+ * @returns {Promise} a promise that resolves to an object containing an WebAgent object
668
+ */
669
+ export declare function readWebAgent({ agentId, state, }: {
670
+ agentId: string;
671
+ state: State;
672
+ }): Promise<import("../api/ApiTypes").AmConfigEntityInterface>;
673
+ /**
674
+ * Create web agent
675
+ * @param {string} agentId java agent id
676
+ * @param {Object} agentData java agent object
677
+ * @returns {Promise} a promise that resolves to an object containing an java agent object
678
+ */
679
+ export declare function createWebAgent({ agentId, agentData, state, }: {
680
+ agentId: string;
681
+ agentData: AgentSkeleton;
682
+ state: State;
683
+ }): Promise<AgentSkeleton>;
684
+ /**
685
+ * Update or create web agent
686
+ * @param {string} agentId web agent id
687
+ * @param {Object} agentData WebAgent object
688
+ * @returns {Promise} a promise that resolves to an object containing an WebAgent object
689
+ */
690
+ export declare function updateWebAgent({ agentId, agentData, state, }: {
691
+ agentId: string;
692
+ agentData: AgentSkeleton;
693
+ state: State;
694
+ }): Promise<import("../api/ApiTypes").AmConfigEntityInterface>;
695
+ /**
696
+ * Delete all web agents
697
+ */
698
+ export declare function deleteWebAgents({ state }: {
699
+ state: State;
700
+ }): Promise<void>;
701
+ /**
702
+ * Delete web agent
703
+ * @param agentId agent id/name
704
+ */
705
+ export declare function deleteWebAgent({ agentId, state, }: {
706
+ agentId: string;
707
+ state: State;
708
+ }): Promise<void>;
709
+ /**
710
+ * Export all web agents. The response can be saved to file as is.
711
+ * @returns {Promise<AgentExportInterface>} Promise resolving to an AgentExportInterface object.
712
+ */
713
+ export declare function exportWebAgents({ state, }: {
714
+ state: State;
715
+ }): Promise<AgentExportInterface>;
716
+ /**
717
+ * Export web agent. The response can be saved to file as is.
718
+ * @param agentId agent id/name
719
+ * @returns {Promise<AgentExportInterface>} Promise resolving to an AgentExportInterface object.
720
+ */
721
+ export declare function exportWebAgent({ agentId, state, }: {
722
+ agentId: string;
723
+ state: State;
724
+ }): Promise<AgentExportInterface>;
725
+ /**
726
+ * Import web agents. The import data is usually read from an agent export file.
727
+ * @param {AgentExportInterface} importData agent import data.
728
+ */
729
+ export declare function importWebAgents({ importData, state, }: {
730
+ importData: AgentExportInterface;
731
+ state: State;
732
+ }): Promise<void>;
733
+ /**
734
+ * Import java agent. The import data is usually read from an agent export file.
735
+ * @param {string} agentId agent id/name
736
+ * @param {AgentExportInterface} importData agent import data.
737
+ * @returns {Promise<AgentSkeleton>} Promise resolving to an agent object.
738
+ */
739
+ export declare function importWebAgent({ agentId, importData, state, }: {
740
+ agentId: string;
741
+ importData: AgentExportInterface;
742
+ state: State;
743
+ }): Promise<AgentSkeleton>;
744
+ /**
745
+ * Get AI agents
746
+ * @param {object} params structured and named parameters
747
+ * @param {boolean} [params.includeAgentIdentity=true] whether to also read agent identity and privileges and merge into result (only for cloud/ForgeOps)
748
+ * @param {State} params.state state object
749
+ * @returns {Promise} a promise that resolves to an array of AIAgent objects
750
+ */
751
+ export declare function readAIAgents({ includeAgentIdentity, state, }: {
752
+ includeAgentIdentity?: boolean;
753
+ state: State;
754
+ }): Promise<AgentSkeleton[]>;
755
+ /**
756
+ * Get AI agent
757
+ * @param {object} params structured and named parameters
758
+ * @param {string} params.agentId AI agent id
759
+ * @param {boolean} [params.includeAgentIdentity=true] whether to also read agent identity and privileges and merge into result (only for cloud/ForgeOps)
760
+ * @param {State} params.state state object
761
+ * @returns {Promise} a promise that resolves to an object containing an AIAgent object
762
+ */
763
+ export declare function readAIAgent({ agentId, includeAgentIdentity, state, }: {
764
+ agentId: string;
765
+ includeAgentIdentity?: boolean;
766
+ state: State;
767
+ }): Promise<AgentSkeleton>;
768
+ /**
769
+ * Create AI agent
770
+ * @param {object} params structured and named parameters
771
+ * @param {string} params.agentId AI agent id
772
+ * @param {Object} params.agentData AI agent object
773
+ * @param {boolean} [params.includeAgentIdentity=true] whether to also update agent identity and privileges.
774
+ * @param {State} params.state state object
775
+ * @returns {Promise<AgentSkeleton>} a promise that resolves to an object containing an AI agent object. When
776
+ * `includeAgentIdentity` is true, the result also carries a `_provisioningStatus`
777
+ * ({@link AIAgentProvisioningStatus}) reporting the outcome of the identity/privilege/owner
778
+ * provisioning steps performed after the agent object itself was created. Those steps are
779
+ * best-effort and non-fatal: a failure there is reported in `_provisioningStatus`, not thrown --
780
+ * only a failure to create the core agent object rejects the promise.
781
+ */
782
+ export declare function createAIAgent({ agentId, agentData, includeAgentIdentity, state, }: {
783
+ agentId: string;
784
+ agentData: AgentSkeleton;
785
+ includeAgentIdentity?: boolean;
786
+ state: State;
787
+ }): Promise<AgentSkeleton>;
788
+ /**
789
+ * Update or create AI agent
790
+ * @param {object} params structured and named parameters
791
+ * @param {string} params.agentId AI agent id
792
+ * @param {Object} params.agentData AIAgent object
793
+ * @param {boolean} [params.includeAgentIdentity=true] whether to also read agent identity and privileges and merge into result (only for cloud/ForgeOps)
794
+ * @param {State} params.state state object
795
+ * @returns {Promise} a promise that resolves to an object containing an AIAgent object
796
+ */
797
+ export declare function updateAIAgent({ agentId, agentData, includeAgentIdentity, state, }: {
798
+ agentId: string;
799
+ agentData: AgentSkeleton;
800
+ includeAgentIdentity?: boolean;
801
+ state: State;
802
+ }): Promise<AgentSkeleton>;
803
+ /**
804
+ * Delete all AI agents
805
+ * @param {object} params structured and named parameters
806
+ * @param {State} params.state state object
807
+ */
808
+ export declare function deleteAIAgents({ state }: {
809
+ state: State;
810
+ }): Promise<void>;
811
+ /**
812
+ * Delete AI agent and agent identity and privileges (only for cloud/ForgeOps)
813
+ * @param {object} params structured and named parameters
814
+ * @param {string} params.agentId agent id/name
815
+ * @param {State} params.state state object
816
+ */
817
+ export declare function deleteAIAgent({ agentId, state, }: {
818
+ agentId: string;
819
+ state: State;
820
+ }): Promise<void>;
821
+ /**
822
+ * Export all AI agents. The response can be saved to file as is.
823
+ * @param {object} params structured and named parameters
824
+ * @param {boolean} [params.includeAgentIdentity=true] whether to also read agent identity and privileges and merge into result (only for cloud/ForgeOps)
825
+ * @param {State} params.state state object
826
+ * @returns {Promise<AgentExportInterface>} Promise resolving to an AgentExportInterface object.
827
+ */
828
+ export declare function exportAIAgents({ includeAgentIdentity, state, }: {
829
+ includeAgentIdentity?: boolean;
830
+ state: State;
831
+ }): Promise<AgentExportInterface>;
832
+ /**
833
+ * Export AI agent. The response can be saved to file as is.
834
+ * @param {object} params structured and named parameters
835
+ * @param {string} params.agentId agent id/name
836
+ * @param {boolean} [params.includeAgentIdentity=true] whether to also read agent identity and privileges and merge into result (only for cloud/ForgeOps)
837
+ * @param {State} params.state state object
838
+ * @returns {Promise<AgentExportInterface>} Promise resolving to an AgentExportInterface object.
839
+ */
840
+ export declare function exportAIAgent({ agentId, includeAgentIdentity, state, }: {
841
+ agentId: string;
842
+ includeAgentIdentity?: boolean;
843
+ state: State;
844
+ }): Promise<AgentExportInterface>;
845
+ /**
846
+ * Import AI agents. The import data is usually read from an agent export file.
847
+ * @param {object} params structured and named parameters
848
+ * @param {AgentExportInterface} params.importData agent import data.
849
+ * @param {boolean} [params.includeAgentIdentity=true] whether to also import agent identity and privileges (only for cloud/ForgeOps)
850
+ * @param {State} params.state state object
851
+ */
852
+ export declare function importAIAgents({ importData, includeAgentIdentity, state, }: {
853
+ importData: AgentExportInterface;
854
+ includeAgentIdentity?: boolean;
855
+ state: State;
856
+ }): Promise<void>;
857
+ /**
858
+ * Import AI agent. The import data is usually read from an agent export file.
859
+ * @param {object} params structured and named parameters
860
+ * @param {string} params.agentId agent id/name
861
+ * @param {AgentExportInterface} params.importData agent import data.
862
+ * @param {boolean} [params.includeAgentIdentity=true] whether to also import agent identity and privileges (only for cloud/ForgeOps)
863
+ * @param {State} params.state state object
864
+ * @returns {Promise<AgentSkeleton>} Promise resolving to an agent object.
865
+ */
866
+ export declare function importAIAgent({ agentId, importData, includeAgentIdentity, state, }: {
867
+ agentId: string;
868
+ importData: AgentExportInterface;
869
+ includeAgentIdentity?: boolean;
870
+ state: State;
871
+ }): Promise<AgentSkeleton>;
872
+ /**
873
+ * Read agent group by id
874
+ * @param {string} groupId Agent group id
875
+ * @returns {Promise<AgentGroupSkeleton>} a promise that resolves to a agent group object
876
+ */
877
+ export declare function readAgentGroup({ groupId, state, }: {
878
+ groupId: string;
879
+ state: State;
880
+ }): Promise<AgentGroupSkeleton>;
881
+ /**
882
+ * Read all agent groups.
883
+ * @returns {Promise<AgentGroupSkeleton[]>} a promise that resolves to an array of agent group objects
884
+ */
885
+ export declare function readAgentGroups({ state, }: {
886
+ state: State;
887
+ }): Promise<AgentGroupSkeleton[]>;
888
+ /**
889
+ * Export a single agent group by id. The response can be saved to file as is.
890
+ * @param {string} groupId Agent group id
891
+ * @returns {Promise<AgentGroupExportInterface>} Promise resolving to a AgentGroupExportInterface object.
892
+ */
893
+ export declare function exportAgentGroup({ groupId, state, }: {
894
+ groupId: string;
895
+ state: State;
896
+ }): Promise<AgentGroupExportInterface>;
897
+ /**
898
+ * Export all agent groups. The response can be saved to file as is.
899
+ * @returns {Promise<AgentGroupExportInterface>} Promise resolving to a AgentGroupExportInterface object.
900
+ */
901
+ export declare function exportAgentGroups({ state, }: {
902
+ state: State;
903
+ }): Promise<AgentGroupExportInterface>;
904
+ /**
905
+ * Import agent groups. The import data is usually read from an agent group export file.
906
+ * @param {AgentGroupExportInterface} importData agent group import data.
907
+ * @returns {Promise<AgentGroupSkeleton[]>} The agent groups that were imported.
908
+ */
909
+ export declare function importAgentGroups({ importData, state, }: {
910
+ importData: AgentGroupExportInterface;
911
+ state: State;
912
+ }): Promise<AgentGroupSkeleton[]>;
913
+ /**
914
+ * Import agent group. The import data is usually read from an agent group export file.
915
+ * @param {string} agentGroupId agent group id/name
916
+ * @param {AgentGroupExportInterface} importData agent group import data.
917
+ * @returns {Promise<AgentGroupSkeleton>} Promise resolving to an agent object.
918
+ */
919
+ export declare function importAgentGroup({ agentGroupId, importData, state, }: {
920
+ agentGroupId: string;
921
+ importData: AgentGroupExportInterface;
922
+ state: State;
923
+ }): Promise<AgentGroupSkeleton>;
924
+ /**
925
+ * Create an empty agent export template
926
+ * @returns {AgentExportInterface} an empty agent export template
927
+ */
928
+ export declare function createAgentExportTemplate({ state, }: {
929
+ state: State;
930
+ }): AgentExportInterface;
931
+ /**
932
+ * Create an empty agent export template
933
+ * @returns {AgentGroupExportInterface} an empty agent export template
934
+ */
935
+ export declare function createAgentGroupExportTemplate({ state, }: {
936
+ state: State;
937
+ }): AgentGroupExportInterface;
938
+ //# sourceMappingURL=AgentOps.d.ts.map