@rockcarver/frodo-lib 4.10.0-1 → 4.11.0-1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,346 @@
1
+ import { IdObjectSkeletonInterface } from '../api/ApiTypes';
2
+ import { CredentialType, State } from '../shared/State';
3
+ import { JwkRsa } from './JoseOps';
4
+ export type ConnectionProfile = {
5
+ /**
6
+ * Get connection profiles file name
7
+ * @returns {string} connection profiles file name
8
+ */
9
+ getConnectionProfilesPath(): string;
10
+ /**
11
+ * Find connection profiles
12
+ * @param {ConnectionsFileInterface} connectionProfiles connection profile object
13
+ * @param {string} host host url, unique substring, or alias
14
+ * @returns {SecureConnectionProfileInterface[]} Array of connection profiles
15
+ */
16
+ findConnectionProfiles(connectionProfiles: ConnectionsFileInterface, host: string): SecureConnectionProfileInterface[];
17
+ /**
18
+ * Initialize connection profiles
19
+ *
20
+ * This method is called from app.ts and runs before any of the message handlers are registered.
21
+ * Therefore none of the Console message functions will produce any output.
22
+ */
23
+ initConnectionProfiles(): Promise<void>;
24
+ /**
25
+ * Get connection profile by host
26
+ * @param {String} host host tenant, host url, unique substring, or alias
27
+ * @returns {Object} connection profile or null
28
+ */
29
+ getConnectionProfileByHost(host: string): Promise<ConnectionProfileInterface>;
30
+ /**
31
+ * Get connection profile
32
+ * @returns {Object} connection profile or null
33
+ */
34
+ getConnectionProfile(): Promise<ConnectionProfileInterface>;
35
+ /**
36
+ * Load a connection profile into library state
37
+ * @param {string} host AM host URL, unique substring, or alias
38
+ * @returns {Promise<boolean>} A promise resolving to true if successful
39
+ */
40
+ loadConnectionProfileByHost(host: string): Promise<boolean>;
41
+ /**
42
+ * Load a connection profile into library state
43
+ * @returns {Promise<boolean>} A promise resolving to true if successful
44
+ */
45
+ loadConnectionProfile(): Promise<boolean>;
46
+ /**
47
+ * Save connection profile
48
+ * @param {string} host host url for new profiles, unique substring or alias for existing profiles
49
+ * @returns {Promise<boolean>} true if the operation succeeded, false otherwise
50
+ */
51
+ saveConnectionProfile(host: string): Promise<boolean>;
52
+ /**
53
+ * Set an alias for an existing connection profile
54
+ * @param {string} host host url, unique substring, or alias of existing connection profile
55
+ * @param {string} alias alias to be assigned to connection profile
56
+ */
57
+ setConnectionProfileAlias(host: string, alias: string): void;
58
+ /**
59
+ * Set an alias for an existing connection profile
60
+ * @param {string} host host url, unique substring, or alias of existing connection profile
61
+ */
62
+ deleteConnectionProfileAlias(host: string): void;
63
+ /**
64
+ * Delete connection profile
65
+ * @param {string} host host tenant, host url, unique substring, or alias
66
+ */
67
+ deleteConnectionProfile(host: string): void;
68
+ /**
69
+ * Create a new service account using auto-generated parameters
70
+ * @returns {Promise<IdObjectSkeletonInterface>} A promise resolving to a service account object
71
+ */
72
+ addNewServiceAccount(): Promise<IdObjectSkeletonInterface>;
73
+ /**
74
+ * Add a named, independently-addressable service account to a connection
75
+ * profile, alongside its own single primary service account.
76
+ * @param {string} host host tenant, host url, unique substring, or alias
77
+ * @param {string} name unique name for this additional service account, within this profile
78
+ * @param {string} svcacctId service account uuid
79
+ * @param {JwkRsa} svcacctJwk service account JWK
80
+ * @param {string} svcacctScope (optional) granted OAuth2 scope
81
+ */
82
+ addAdditionalServiceAccount(host: string, name: string, svcacctId: string, svcacctJwk: JwkRsa, svcacctScope?: string): Promise<void>;
83
+ /**
84
+ * Remove a named additional service account from a connection profile.
85
+ * @param {string} host host tenant, host url, unique substring, or alias
86
+ * @param {string} name name of the additional service account to remove
87
+ */
88
+ removeAdditionalServiceAccount(host: string, name: string): void;
89
+ /**
90
+ * List the additional service accounts on a connection profile (no secrets).
91
+ * @param {string} host host tenant, host url, unique substring, or alias
92
+ */
93
+ listAdditionalServiceAccounts(host: string): Pick<AdditionalServiceAccountInterface, 'name' | 'svcacctId' | 'svcacctScope'>[];
94
+ /**
95
+ * Get one named additional service account from a connection profile, with its JWK decrypted.
96
+ * @param {string} host host tenant, host url, unique substring, or alias
97
+ * @param {string} name name of the additional service account to get
98
+ */
99
+ getAdditionalServiceAccount(host: string, name: string): Promise<AdditionalServiceAccountInterface>;
100
+ };
101
+ declare const _default: (state: State) => ConnectionProfile;
102
+ export default _default;
103
+ export interface SecureConnectionProfileInterface {
104
+ tenant: string;
105
+ idmHost?: string;
106
+ alias?: string;
107
+ allowInsecureConnection?: boolean;
108
+ deploymentType?: string;
109
+ isIGA?: boolean;
110
+ username?: string | null;
111
+ encodedPassword?: string | null;
112
+ logApiKey?: string | null;
113
+ encodedLogApiSecret?: string | null;
114
+ authenticationService?: string | null;
115
+ authenticationHeaderOverrides?: Record<string, string>;
116
+ configurationHeaderOverrides?: Record<string, string>;
117
+ adminClientId?: string | null;
118
+ adminClientRedirectUri?: string | null;
119
+ svcacctId?: string | null;
120
+ encodedSvcacctJwk?: string | null;
121
+ svcacctName?: string | null;
122
+ svcacctScope?: string | null;
123
+ encodedAmsterPrivateKey?: string | null;
124
+ authMode?: 'noninteractive' | 'interactive';
125
+ browserLoginClientId?: string | null;
126
+ browserLoginScope?: string | null;
127
+ preferredDeviceFlow?: boolean;
128
+ defaultCredential?: CredentialType;
129
+ additionalServiceAccounts?: SecureAdditionalServiceAccountInterface[];
130
+ }
131
+ /**
132
+ * One named, independently-addressable service account on a connection
133
+ * profile, on-disk (encrypted JWK) shape.
134
+ */
135
+ export interface SecureAdditionalServiceAccountInterface {
136
+ name: string;
137
+ svcacctId: string;
138
+ encodedSvcacctJwk: string;
139
+ svcacctScope?: string | null;
140
+ }
141
+ /**
142
+ * One named, independently-addressable service account on a connection
143
+ * profile, decrypted (in-memory) shape.
144
+ */
145
+ export interface AdditionalServiceAccountInterface {
146
+ name: string;
147
+ svcacctId: string;
148
+ svcacctJwk: JwkRsa;
149
+ svcacctScope?: string | null;
150
+ }
151
+ export interface ConnectionProfileInterface {
152
+ tenant: string;
153
+ idmHost?: string;
154
+ alias?: string;
155
+ allowInsecureConnection?: boolean;
156
+ deploymentType?: string;
157
+ isIGA?: boolean;
158
+ username?: string | null;
159
+ password?: string | null;
160
+ logApiKey?: string | null;
161
+ logApiSecret?: string | null;
162
+ authenticationService?: string | null;
163
+ authenticationHeaderOverrides?: Record<string, string>;
164
+ configurationHeaderOverrides?: Record<string, string>;
165
+ adminClientId?: string | null;
166
+ adminClientRedirectUri?: string | null;
167
+ svcacctId?: string | null;
168
+ svcacctJwk?: JwkRsa;
169
+ svcacctName?: string | null;
170
+ svcacctScope?: string | null;
171
+ amsterPrivateKey?: string | null;
172
+ authMode?: 'noninteractive' | 'interactive';
173
+ browserLoginClientId?: string | null;
174
+ browserLoginScope?: string | null;
175
+ preferredDeviceFlow?: boolean;
176
+ defaultCredential?: CredentialType;
177
+ additionalServiceAccounts?: AdditionalServiceAccountInterface[];
178
+ }
179
+ export interface ConnectionsFileInterface {
180
+ [key: string]: SecureConnectionProfileInterface;
181
+ }
182
+ /**
183
+ * Get connection profiles file name
184
+ * @param {State} state library state
185
+ * @returns {String} connection profiles file name
186
+ */
187
+ export declare function getConnectionProfilesPath({ state }: {
188
+ state: State;
189
+ }): string;
190
+ /**
191
+ * Find connection profiles
192
+ * @param {ConnectionsFileInterface} connectionProfiles connection profile object
193
+ * @param {string} host host url, unique substring, or alias
194
+ * @param {State} state library state
195
+ * @returns {SecureConnectionProfileInterface[]} Array of connection profiles
196
+ */
197
+ export declare function findConnectionProfiles({ connectionProfiles, host, state, }: {
198
+ connectionProfiles: ConnectionsFileInterface;
199
+ host: string;
200
+ state: State;
201
+ }): SecureConnectionProfileInterface[];
202
+ /**
203
+ * Initialize connection profiles
204
+ *
205
+ * This method is called from app.ts and runs before any of the message handlers are registered.
206
+ * Therefore none of the Console message functions will produce any output.
207
+ * @param {State} state library state
208
+ */
209
+ export declare function initConnectionProfiles({ state }: {
210
+ state: State;
211
+ }): Promise<void>;
212
+ /**
213
+ * Get connection profile by host
214
+ * @param {string} host host tenant, host url, unique substring, or alias
215
+ * @param {State} state library state
216
+ * @returns {Promise<ConnectionProfileInterface>} connection profile
217
+ */
218
+ export declare function getConnectionProfileByHost({ host, state, }: {
219
+ host: string;
220
+ state: State;
221
+ }): Promise<ConnectionProfileInterface>;
222
+ /**
223
+ * Get connection profile
224
+ * @param {Object} params Params object
225
+ * @param {State} params.state State object
226
+ * @returns {Promise<ConnectionProfileInterface>} A promise resolving to a connection profile or null
227
+ */
228
+ export declare function getConnectionProfile({ state, }: {
229
+ state: State;
230
+ }): Promise<ConnectionProfileInterface>;
231
+ /**
232
+ * Load a connection profile into library state
233
+ * @param {Object} params Params object
234
+ * @param {string} params.host AM host URL, unique substring, or alias
235
+ * @param {State} params.state State object
236
+ * @returns {Promise<boolean>} A promise resolving to true if successful
237
+ */
238
+ export declare function loadConnectionProfileByHost({ host, state, }: {
239
+ host: string;
240
+ state: State;
241
+ }): Promise<boolean>;
242
+ /**
243
+ * Load a connection profile into library state
244
+ * @param {Object} params Params object
245
+ * @param {State} params.state State object
246
+ * @returns {Promise<boolean>} A promise resolving to true if successful
247
+ */
248
+ export declare function loadConnectionProfile({ state, }: {
249
+ state: State;
250
+ }): Promise<boolean>;
251
+ /**
252
+ * Save connection profile
253
+ * @param {string} host host url for new profiles, unique substring or alias for existing profiles
254
+ * @returns {Promise<boolean>} true if the operation succeeded, false otherwise
255
+ */
256
+ export declare function saveConnectionProfile({ host, state, }: {
257
+ host: string;
258
+ state: State;
259
+ }): Promise<boolean>;
260
+ /**
261
+ * Sets alias for existing connection profile
262
+ * @param {string} host host url for new profiles, unique substring or alias for existing profiles
263
+ * @param {string} alias alias to be assigned to connection profile
264
+ * @param {State} state library state
265
+ */
266
+ export declare function setConnectionProfileAlias({ host, alias, state, }: {
267
+ host: string;
268
+ alias: string;
269
+ state: State;
270
+ }): void;
271
+ /**
272
+ * Deletes the alias of an existing connection profile
273
+ * @param {string} host unique substring or alias of an existing profile
274
+ * @param {State} state library state
275
+ */
276
+ export declare function deleteConnectionProfileAlias({ host, state, }: {
277
+ host: string;
278
+ state: State;
279
+ }): void;
280
+ /**
281
+ * Delete connection profile
282
+ * @param {String} host host tenant, host url, unique substring, or alias
283
+ */
284
+ export declare function deleteConnectionProfile({ host, state, }: {
285
+ host: string;
286
+ state: State;
287
+ }): void;
288
+ /**
289
+ * Create a new service account using auto-generated parameters
290
+ * @returns {Promise<IdObjectSkeletonInterface>} A promise resolving to a service account object
291
+ */
292
+ export declare function addNewServiceAccount({ state, }: {
293
+ state: State;
294
+ }): Promise<IdObjectSkeletonInterface>;
295
+ /**
296
+ * Adds a named, independently-addressable service account to a connection
297
+ * profile, alongside (not instead of) the profile's own single primary
298
+ * service account. Built for the MCP HTTP transport's claim-to-credential
299
+ * mapping ("shared mode"): an operator pre-provisions one or more named
300
+ * service accounts with different privilege levels, and a claim in an
301
+ * external caller's token selects which one a session should use, by name.
302
+ *
303
+ * @throws {FrodoError} when `name` is already used by another additional
304
+ * service account on this profile — names must be unique within a profile
305
+ * so they're a reliable, unambiguous addressing key.
306
+ */
307
+ export declare function addAdditionalServiceAccount({ host, name, svcacctId, svcacctJwk, svcacctScope, state, }: {
308
+ host: string;
309
+ name: string;
310
+ svcacctId: string;
311
+ svcacctJwk: JwkRsa;
312
+ svcacctScope?: string;
313
+ state: State;
314
+ }): Promise<void>;
315
+ /**
316
+ * Removes a named additional service account from a connection profile.
317
+ * @throws {FrodoError} when no additional service account with that name exists.
318
+ */
319
+ export declare function removeAdditionalServiceAccount({ host, name, state, }: {
320
+ host: string;
321
+ name: string;
322
+ state: State;
323
+ }): void;
324
+ /**
325
+ * Lists the additional service accounts on a connection profile, without
326
+ * decrypting their JWKs (matching `conn list`'s no-secrets-by-default
327
+ * convention — see {@link getAdditionalServiceAccount} for the decrypted
328
+ * single-entry form).
329
+ */
330
+ export declare function listAdditionalServiceAccounts({ host, state, }: {
331
+ host: string;
332
+ state: State;
333
+ }): Pick<AdditionalServiceAccountInterface, 'name' | 'svcacctId' | 'svcacctScope'>[];
334
+ /**
335
+ * Gets one named additional service account from a connection profile,
336
+ * with its JWK decrypted — used both by `conn service-account describe
337
+ * --show-secrets` and by the MCP HTTP transport's claim-to-credential
338
+ * resolution ("shared mode").
339
+ * @throws {FrodoError} when no additional service account with that name exists.
340
+ */
341
+ export declare function getAdditionalServiceAccount({ host, name, state, }: {
342
+ host: string;
343
+ name: string;
344
+ state: State;
345
+ }): Promise<AdditionalServiceAccountInterface>;
346
+ //# sourceMappingURL=ConnectionProfileOps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConnectionProfileOps.d.ts","sourceRoot":"","sources":["../../src/ops/ConnectionProfileOps.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,yBAAyB,EAAE,MAAM,iBAAiB,CAAC;AAE5D,OAAO,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAkBxD,OAAO,EAA6C,MAAM,EAAE,MAAM,WAAW,CAAC;AAE9E,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;;OAGG;IACH,yBAAyB,IAAI,MAAM,CAAC;IACpC;;;;;OAKG;IACH,sBAAsB,CACpB,kBAAkB,EAAE,wBAAwB,EAC5C,IAAI,EAAE,MAAM,GACX,gCAAgC,EAAE,CAAC;IACtC;;;;;OAKG;IACH,sBAAsB,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IACxC;;;;OAIG;IACH,0BAA0B,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,0BAA0B,CAAC,CAAC;IAC9E;;;OAGG;IACH,oBAAoB,IAAI,OAAO,CAAC,0BAA0B,CAAC,CAAC;IAC5D;;;;OAIG;IACH,2BAA2B,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAC5D;;;OAGG;IACH,qBAAqB,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;IAC1C;;;;OAIG;IACH,qBAAqB,CAAC,IAAI,EAAE,M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ED;;;GAGG;AACH,wBAAgB,8BAA8B,CAAC,EAC7C,IAAI,EACJ,IAAI,EACJ,KAAK,GACN,EAAE;IACD,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,IAAI,CAoBP;AAED;;;;;GAKG;AACH,wBAAgB,6BAA6B,CAAC,EAC5C,IAAI,EACJ,KAAK,GACN,EAAE;IACD,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,IAAI,CACN,iCAAiC,EACjC,MAAM,GAAG,WAAW,GAAG,cAAc,CACtC,EAAE,CAYF;AAED;;;;;;GAMG;AACH,wBAAsB,2BAA2B,CAAC,EAChD,IAAI,EACJ,IAAI,EACJ,KAAK,GACN,EAAE;IACD,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,iCAAiC,CAAC,CAuB7C"}
@@ -0,0 +1,269 @@
1
+ import { IdObjectSkeletonInterface } from '../api/ApiTypes';
2
+ import { State } from '../shared/State';
3
+ import { MappingSkeleton } from './MappingOps';
4
+ import { ExportMetaData } from './OpsTypes';
5
+ export type Connector = {
6
+ /**
7
+ * Connector type key used to build the IDM id: '<type>/<id>'
8
+ */
9
+ CONNECTOR_TYPE: string;
10
+ /**
11
+ * Create an empty connector export template
12
+ * @returns {ConnectorExportInterface} an empty connector export template
13
+ */
14
+ createConnectorExportTemplate(): ConnectorExportInterface;
15
+ /**
16
+ * Get all connectors
17
+ * @returns {Promise<ConnectorSkeleton[]>} a promise that resolves to an array of connector objects
18
+ */
19
+ readConnectors(): Promise<ConnectorSkeleton[]>;
20
+ /**
21
+ * Get connector
22
+ * @param {string} connectorId id/name of the connector without the type prefix
23
+ * @returns {Promise<ConnectorSkeleton>} a promise that resolves an connector object
24
+ */
25
+ readConnector(connectorId: string): Promise<ConnectorSkeleton>;
26
+ /**
27
+ * Create connector
28
+ * @param {string} connectorId id/name of the connector without the type prefix
29
+ * @param {ConnectorSkeleton} connectorData connector object
30
+ * @returns {Promise<ConnectorSkeleton>} a promise that resolves to an connector object
31
+ */
32
+ createConnector(connectorId: string, connectorData: ConnectorSkeleton): Promise<ConnectorSkeleton>;
33
+ /**
34
+ * Update or create connector
35
+ * @param {string} connectorId id/name of the connector without the type prefix
36
+ * @param {ConnectorSkeleton} connectorData connector object
37
+ * @returns {Promise<ConnectorSkeleton>} a promise that resolves to an connector object
38
+ */
39
+ updateConnector(connectorId: string, connectorData: ConnectorSkeleton): Promise<ConnectorSkeleton>;
40
+ /**
41
+ * Delete all connectors
42
+ * @param {boolean} deep deep delete (remove dependencies)
43
+ * @returns {Promise<ConnectorSkeleton[]>} a promise that resolves to an array of connector objects
44
+ */
45
+ deleteConnectors(deep?: boolean): Promise<ConnectorSkeleton[]>;
46
+ /**
47
+ * Delete connector
48
+ * @param {string} connectorId id/name of the connector without the type prefix
49
+ * @param {boolean} deep deep delete (remove dependencies)
50
+ * @returns {Promise<ConnectorSkeleton>} a promise that resolves an connector object
51
+ */
52
+ deleteConnector(connectorId: string, deep?: boolean): Promise<ConnectorSkeleton>;
53
+ /**
54
+ * Export connector
55
+ * @param {string} connectorId id/name of the connector without the type prefix
56
+ * @param {ConnectorExportOptions} options export options
57
+ * @returns {Promise<ConnectorExportInterface>} a promise that resolves to a ConnectorExportInterface object
58
+ */
59
+ exportConnector(connectorId: string, options?: ConnectorExportOptions): Promise<ConnectorExportInterface>;
60
+ /**
61
+ * Export all connectors
62
+ * @returns {Promise<ConnectorExportInterface>} a promise that resolves to a ConnectorExportInterface object
63
+ */
64
+ exportConnectors(): Promise<ConnectorExportInterface>;
65
+ /**
66
+ * Import connector
67
+ * @param {string} connectorId id/name of the connector without the type prefix
68
+ * @param {ConnectorExportInterface} importData import data
69
+ * @param {ConnectorImportOptions} options import options
70
+ * @returns {Promise<ConnectorSkeleton>} a promise resolving to a ConnectorSkeleton object
71
+ */
72
+ importConnector(connectorId: string, importData: ConnectorExportInterface, options?: ConnectorImportOptions): Promise<ConnectorSkeleton>;
73
+ /**
74
+ * Import first connector
75
+ * @param {ConnectorExportInterface} importData import data
76
+ * @param {ConnectorImportOptions} options import options
77
+ * @returns {Promise<ConnectorSkeleton>} a promise resolving to a ConnectorSkeleton object
78
+ */
79
+ importFirstConnector(importData: ConnectorExportInterface, options?: ConnectorImportOptions): Promise<ConnectorSkeleton>;
80
+ /**
81
+ * Import all connectors
82
+ * @param {ConnectorExportInterface} importData import data
83
+ * @param {ConnectorImportOptions} options import options
84
+ * @returns {Promise<ConnectorSkeleton[]>} a promise resolving to an array of ConnectorSkeleton objects
85
+ */
86
+ importConnectors(importData: ConnectorExportInterface, options?: ConnectorImportOptions): Promise<ConnectorSkeleton[]>;
87
+ };
88
+ declare const _default: (state: State) => Connector;
89
+ export default _default;
90
+ /**
91
+ * Connector type key used to build the IDM id: '\<type>/\<id>'
92
+ */
93
+ export declare const CONNECTOR_TYPE = "provisioner.openicf";
94
+ export type ObjectPropertyFlag = 'NOT_CREATABLE' | 'NOT_READABLE' | 'NOT_RETURNED_BY_DEFAULT' | 'NOT_UPDATEABLE';
95
+ export type ObjectPropertyType = 'array' | 'boolean' | 'string';
96
+ export type ObjectPropertyNativeType = 'array' | 'boolean' | 'string' | 'JAVA_TYPE_BIGDECIMAL' | 'JAVA_TYPE_BIGINTEGER' | 'JAVA_TYPE_BYTE' | 'JAVA_TYPE_BYTE_ARRAY' | 'JAVA_TYPE_CHAR' | 'JAVA_TYPE_CHARACTER' | 'JAVA_TYPE_DATE' | 'JAVA_TYPE_DOUBLE' | 'JAVA_TYPE_FILE' | 'JAVA_TYPE_FLOAT' | 'JAVA_TYPE_GUARDEDBYTEARRAY' | 'JAVA_TYPE_GUARDEDSTRING' | 'JAVA_TYPE_INT' | 'JAVA_TYPE_INTEGER' | 'JAVA_TYPE_LONG' | 'JAVA_TYPE_OBJECT' | 'JAVA_TYPE_PRIMITIVE_BOOLEAN' | 'JAVA_TYPE_PRIMITIVE_BYTE' | 'JAVA_TYPE_PRIMITIVE_DOUBLE' | 'JAVA_TYPE_PRIMITIVE_FLOAT' | 'JAVA_TYPE_PRIMITIVE_LONG' | 'JAVA_TYPE_STRING';
97
+ export type ObjectPropertySkeleton = {
98
+ flags?: ObjectPropertyFlag[];
99
+ nativeName: string;
100
+ nativeType: ObjectPropertyNativeType;
101
+ type: ObjectPropertyType;
102
+ runAsUser?: boolean;
103
+ required?: boolean;
104
+ items?: {
105
+ nativeType: ObjectPropertyNativeType;
106
+ type: ObjectPropertyType;
107
+ };
108
+ };
109
+ export type ObjectTypeSkeleton = {
110
+ $schema: string;
111
+ id: string;
112
+ nativeType: string;
113
+ properties: Record<string, ObjectPropertySkeleton>;
114
+ type: 'object';
115
+ };
116
+ export type ConnectorSkeleton = IdObjectSkeletonInterface & {
117
+ configurationProperties: any;
118
+ connectorRef: {
119
+ bundleName: string;
120
+ bundleVersion: string;
121
+ connectorHostRef: string;
122
+ connectorName: string;
123
+ displayName: string;
124
+ systemType: 'provisioner.openicf';
125
+ };
126
+ enabled: boolean;
127
+ objectTypes: Record<string, ObjectTypeSkeleton>;
128
+ };
129
+ /**
130
+ * Connector export options
131
+ */
132
+ export interface ConnectorExportOptions {
133
+ /**
134
+ * Use string arrays to store multi-line text in scripts.
135
+ */
136
+ useStringArrays: boolean;
137
+ /**
138
+ * Include any dependencies (mappings).
139
+ */
140
+ deps: boolean;
141
+ }
142
+ /**
143
+ * Connector import options
144
+ */
145
+ export interface ConnectorImportOptions {
146
+ /**
147
+ * Include any dependencies (mappings).
148
+ */
149
+ deps: boolean;
150
+ }
151
+ export interface ConnectorExportInterface {
152
+ meta?: ExportMetaData;
153
+ connector: Record<string, ConnectorSkeleton>;
154
+ mapping?: Record<string, MappingSkeleton>;
155
+ }
156
+ export declare function createConnectorExportTemplate({ state, }: {
157
+ state: State;
158
+ }): ConnectorExportInterface;
159
+ /**
160
+ * Get all connectors
161
+ * @returns {Promise<ConnectorSkeleton[]>} a promise that resolves to an array of connector objects
162
+ */
163
+ export declare function readConnectors({ state, }: {
164
+ state: State;
165
+ }): Promise<ConnectorSkeleton[]>;
166
+ /**
167
+ * Get connector
168
+ * @param {string} connectorId id/name of the connector without the type prefix
169
+ * @returns {Promise<ConnectorSkeleton>} a promise that resolves an connector object
170
+ */
171
+ export declare function readConnector({ connectorId, state, }: {
172
+ connectorId: string;
173
+ state: State;
174
+ }): Promise<ConnectorSkeleton>;
175
+ /**
176
+ * Create connector
177
+ * @param {string} connectorId id/name of the connector without the type prefix
178
+ * @param {ConnectorSkeleton} connectorData connector object
179
+ * @returns {Promise<ConnectorSkeleton>} a promise that resolves to an connector object
180
+ */
181
+ export declare function createConnector({ connectorId, connectorData, state, }: {
182
+ connectorId: string;
183
+ connectorData: ConnectorSkeleton;
184
+ state: State;
185
+ }): Promise<ConnectorSkeleton>;
186
+ /**
187
+ * Update or create connector
188
+ * @param {string} connectorId id/name of the connector without the type prefix
189
+ * @param {ConnectorSkeleton} connectorData connector object
190
+ * @returns {Promise<ConnectorSkeleton>} a promise that resolves to an connector object
191
+ */
192
+ export declare function updateConnector({ connectorId, connectorData, state, }: {
193
+ connectorId: string;
194
+ connectorData: ConnectorSkeleton;
195
+ state: State;
196
+ }): Promise<ConnectorSkeleton>;
197
+ /**
198
+ * Delete all connectors
199
+ * @param {boolean} deep deep delete (remove dependencies)
200
+ * @returns {Promise<ConnectorSkeleton[]>} a promise that resolves to an array of connector objects
201
+ */
202
+ export declare function deleteConnectors({ deep, state, }: {
203
+ deep?: boolean;
204
+ state: State;
205
+ }): Promise<ConnectorSkeleton[]>;
206
+ /**
207
+ * Delete connector
208
+ * @param {string} connectorId id/name of the connector without the type prefix
209
+ * @param {boolean} deep deep delete (remove dependencies)
210
+ * @returns {Promise<ConnectorSkeleton>} a promise that resolves an connector object
211
+ */
212
+ export declare function deleteConnector({ connectorId, deep, state, }: {
213
+ connectorId: string;
214
+ deep?: boolean;
215
+ state: State;
216
+ }): Promise<ConnectorSkeleton>;
217
+ /**
218
+ * Export connector
219
+ * @param {string} connectorId id/name of the connector without the type prefix
220
+ * @returns {Promise<ConnectorExportInterface>} a promise that resolves to a ConnectorExportInterface object
221
+ */
222
+ export declare function exportConnector({ connectorId, options, state, }: {
223
+ connectorId: string;
224
+ options?: ConnectorExportOptions;
225
+ state: State;
226
+ }): Promise<ConnectorExportInterface>;
227
+ /**
228
+ * Export all connectors
229
+ * @returns {Promise<ConnectorExportInterface>} a promise that resolves to a ConnectorExportInterface object
230
+ */
231
+ export declare function exportConnectors({ state, }: {
232
+ state: State;
233
+ }): Promise<ConnectorExportInterface>;
234
+ /**
235
+ * Import connector
236
+ * @param {string} connectorId id/name of the connector without the type prefix
237
+ * @param {ConnectorExportInterface} importData import data
238
+ * @param {ConnectorImportOptions} options import options
239
+ * @returns {Promise<ConnectorSkeleton>} a promise resolving to a ConnectorSkeleton object
240
+ */
241
+ export declare function importConnector({ connectorId, importData, options, state, }: {
242
+ connectorId: string;
243
+ importData: ConnectorExportInterface;
244
+ options?: ConnectorImportOptions;
245
+ state: State;
246
+ }): Promise<ConnectorSkeleton>;
247
+ /**
248
+ * Import first connector
249
+ * @param {ConnectorExportInterface} importData import data
250
+ * @param {ConnectorImportOptions} options import options
251
+ * @returns {Promise<ConnectorSkeleton>} a promise resolving to a ConnectorSkeleton object
252
+ */
253
+ export declare function importFirstConnector({ importData, options, state, }: {
254
+ importData: ConnectorExportInterface;
255
+ options?: ConnectorImportOptions;
256
+ state: State;
257
+ }): Promise<ConnectorSkeleton>;
258
+ /**
259
+ * Import all connectors
260
+ * @param {ConnectorExportInterface} importData import data
261
+ * @param {ConnectorImportOptions} options import options
262
+ * @returns {Promise<ConnectorSkeleton[]>} a promise resolving to an array of ConnectorSkeleton objects
263
+ */
264
+ export declare function importConnectors({ importData, options, state, }: {
265
+ importData: ConnectorExportInterface;
266
+ options?: ConnectorImportOptions;
267
+ state: State;
268
+ }): Promise<ConnectorSkeleton[]>;
269
+ //# sourceMappingURL=ConnectorOps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConnectorOps.d.ts","sourceRoot":"","sources":["../../src/ops/ConnectorOps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,iBAAiB,CAAC;AAM5D,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAUxC,OAAO,EAEL,eAAe,EAGhB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAE5C,MAAM,MAAM,SAAS,GAAG;IACtB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,6BAA6B,IAAI,wBAAwB,CAAC;IAC1D;;;OAGG;IACH,cAAc,IAAI,OAAO,CAAC,iBAAiB,EAAE,CAAC,CAAC;IAC/C;;;;OAIG;IACH,aAAa,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;IAC/D;;;;;OAKG;IACH,eAAe,CACb,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,iBAAiB,GAC/B,OAAO,CAAC,iBAAiB,CAAC,CAAC;IAC9B;;;;;OAKG;IACH,eAAe,CACb,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,iBAAiB,GAC/B,OAAO,CAAC,iBAAiB,CAAC,CAAC;IAC9B;;;;OAIG;IACH,gBAAgB,CAAC,IAAI,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,iBAAiB,EAAE,CAAC,CAAC;IAC/D;;;;;OAKG;IACH,eAAe,CACb,WAAW,EAAE,MAAM,EACnB,IAAI,CAAC,EAAE,OAAO,GACb,OAAO,CAAC,iBAAiB,CAAC,CAAC;IAC9B;;;;;OAKG;IACH,eAAe,CACb,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,sBAAsB,GAC/B,OAAO,CAAC,wBAAwB,CAAC,CAAC;IAC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