@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,232 @@
1
+ import { type IdObjectSkeletonInterface } from '../api/ApiTypes';
2
+ import { State } from '../shared/State';
3
+ import { type ExportMetaData } from './OpsTypes';
4
+ export type InternalRole = {
5
+ /**
6
+ * Create an empty internal role export template
7
+ * @returns {InternalRoleExportInterface} an empty internal role export template
8
+ */
9
+ createInternalRoleExportTemplate(): InternalRoleExportInterface;
10
+ /**
11
+ * Create internal role
12
+ * @param {InternalRoleSkeleton} roleData internal role data
13
+ * @returns {Promise<InternalRoleSkeleton>} a promise that resolves to an internal role object
14
+ */
15
+ createInternalRole(roleData: InternalRoleSkeleton): Promise<InternalRoleSkeleton>;
16
+ /**
17
+ * Read internal role
18
+ * @param {string} roleId internal role uuid
19
+ * @returns {Promise<InternalRoleSkeleton>} a promise that resolves to an internal role object
20
+ */
21
+ readInternalRole(roleId: string): Promise<InternalRoleSkeleton>;
22
+ /**
23
+ * Read internal role by name
24
+ * @param {string} roleName internal role name
25
+ * @returns {Promise<InternalRoleSkeleton>} a promise that resolves to an internal role object
26
+ */
27
+ readInternalRoleByName(roleName: string): Promise<InternalRoleSkeleton>;
28
+ /**
29
+ * Read all internal roles. Results are sorted aphabetically.
30
+ * @returns {Promise<InternalRoleSkeleton[]>} a promise that resolves to an array of internal role objects
31
+ */
32
+ readInternalRoles(): Promise<InternalRoleSkeleton[]>;
33
+ /**
34
+ * Update internal role
35
+ * @param {string} roleId internal role uuid
36
+ * @param {InternalRoleSkeleton} roleData internal role data
37
+ * @returns {Promise<InternalRoleSkeleton>} a promise that resolves to an internal role object
38
+ */
39
+ updateInternalRole(roleId: string, roleData: InternalRoleSkeleton): Promise<InternalRoleSkeleton>;
40
+ /**
41
+ * Delete internal role
42
+ * @param {string} roleId internal role uuid
43
+ * @returns {Promise<InternalRoleSkeleton>} a promise that resolves to an internal role object
44
+ */
45
+ deleteInternalRole(roleId: string): Promise<InternalRoleSkeleton>;
46
+ /**
47
+ * Delete internal role by name
48
+ * @param {string} roleName internal role name
49
+ * @returns {Promise<InternalRoleSkeleton>} a promise that resolves to an internal role object
50
+ */
51
+ deleteInternalRoleByName(roleName: string): Promise<InternalRoleSkeleton>;
52
+ /**
53
+ * Delete all internal roles
54
+ * @returns {Promise<InternalRoleSkeleton[]>} a promise that resolves to an array of internal role objects
55
+ */
56
+ deleteInternalRoles(): Promise<InternalRoleSkeleton[]>;
57
+ /**
58
+ * Query internal roles
59
+ * @param {string} filter CREST search filter
60
+ * @param {string[]} fields array of fields to return
61
+ */
62
+ queryInternalRoles(filter: string, fields?: string[]): Promise<InternalRoleSkeleton[]>;
63
+ /**
64
+ * Export internal role. The response can be saved to file as is.
65
+ * @param {string} roleId internal role uuid
66
+ * @returns {Promise<InternalRoleExportInterface} Promise resolving to an InternalRoleExportInterface object.
67
+ */
68
+ exportInternalRole(roleId: string): Promise<InternalRoleExportInterface>;
69
+ /**
70
+ * Export internal role by name. The response can be saved to file as is.
71
+ * @param {string} roleName internal role name
72
+ * @returns {Promise<InternalRoleExportInterface} Promise resolving to an InternalRoleExportInterface object.
73
+ */
74
+ exportInternalRoleByName(roleName: string): Promise<InternalRoleExportInterface>;
75
+ /**
76
+ * Export all internal roles. The response can be saved to file as is.
77
+ * @returns {Promise<InternalRoleExportInterface>} Promise resolving to an InternalRoleExportInterface object.
78
+ */
79
+ exportInternalRoles(): Promise<InternalRoleExportInterface>;
80
+ /**
81
+ * Import internal role. The import data is usually read from an internal role export file.
82
+ * @param {string} roleId internal role uuid
83
+ * @param {InternalRoleExportInterface} importData internal role import data.
84
+ * @returns {Promise<InternalRoleSkeleton>} Promise resolving to an internal role object.
85
+ */
86
+ importInternalRole(roleId: string, importData: InternalRoleExportInterface): Promise<InternalRoleSkeleton>;
87
+ /**
88
+ * Import internal role by name. The import data is usually read from an internal role export file.
89
+ * @param {string} roleName internal role name
90
+ * @param {InternalRoleExportInterface} importData internal role import data.
91
+ * @returns {Promise<InternalRoleSkeleton>} Promise resolving to an internal role object.
92
+ */
93
+ importInternalRoleByName(roleName: string, importData: InternalRoleExportInterface): Promise<InternalRoleSkeleton>;
94
+ /**
95
+ * Import first internal role. The import data is usually read from an internal role export file.
96
+ * @param {InternalRoleExportInterface} importData internal role import data.
97
+ */
98
+ importFirstInternalRole(importData: InternalRoleExportInterface): Promise<InternalRoleSkeleton[]>;
99
+ /**
100
+ * Import internal roles. The import data is usually read from an internal role export file.
101
+ * @param {InternalRoleExportInterface} importData internal role import data.
102
+ */
103
+ importInternalRoles(importData: InternalRoleExportInterface): Promise<InternalRoleSkeleton[]>;
104
+ };
105
+ declare const _default: (state: State) => InternalRole;
106
+ export default _default;
107
+ export type InternalRoleSkeleton = IdObjectSkeletonInterface & {
108
+ condition: string;
109
+ description: string;
110
+ name: string;
111
+ privileges: {
112
+ accessFlags: {
113
+ attribute: string;
114
+ readOnly: boolean;
115
+ }[];
116
+ actions: string[];
117
+ filter: string;
118
+ name: string;
119
+ path: string;
120
+ permissions: string[];
121
+ }[];
122
+ temporalConstraints: {
123
+ duration: string;
124
+ }[];
125
+ };
126
+ /**
127
+ * Export format for internal roles
128
+ */
129
+ export interface InternalRoleExportInterface {
130
+ /**
131
+ * Metadata
132
+ */
133
+ meta?: ExportMetaData;
134
+ /**
135
+ * Internal roles
136
+ */
137
+ internalRole: Record<string, InternalRoleSkeleton>;
138
+ }
139
+ export declare function createInternalRoleExportTemplate({ state, }: {
140
+ state: State;
141
+ }): InternalRoleExportInterface;
142
+ export declare function createInternalRole({ roleData, state, }: {
143
+ roleData: InternalRoleSkeleton;
144
+ state: State;
145
+ }): Promise<InternalRoleSkeleton>;
146
+ export declare function readInternalRole({ roleId, fields, state, }: {
147
+ roleId: string;
148
+ fields?: string[];
149
+ state: State;
150
+ }): Promise<InternalRoleSkeleton>;
151
+ export declare function readInternalRoleByName({ roleName, fields, state, }: {
152
+ roleName: string;
153
+ fields?: string[];
154
+ state: State;
155
+ }): Promise<InternalRoleSkeleton>;
156
+ export declare function readInternalRoles({ fields, state, }: {
157
+ fields?: string[];
158
+ state: State;
159
+ }): Promise<InternalRoleSkeleton[]>;
160
+ export declare function updateInternalRole({ roleId, roleData, state, }: {
161
+ roleId: string;
162
+ roleData: InternalRoleSkeleton;
163
+ state: State;
164
+ }): Promise<InternalRoleSkeleton>;
165
+ export declare function deleteInternalRole({ roleId, state, }: {
166
+ roleId: string;
167
+ state: State;
168
+ }): Promise<InternalRoleSkeleton>;
169
+ export declare function deleteInternalRoleByName({ roleName, state, }: {
170
+ roleName: string;
171
+ state: State;
172
+ }): Promise<InternalRoleSkeleton>;
173
+ export declare function deleteInternalRoles({ state, }: {
174
+ state: State;
175
+ }): Promise<InternalRoleSkeleton[]>;
176
+ export declare function queryInternalRoles({ filter, fields, state, }: {
177
+ filter: string;
178
+ fields?: string[];
179
+ state: State;
180
+ }): Promise<InternalRoleSkeleton[]>;
181
+ export declare function exportInternalRole({ roleId, state, }: {
182
+ roleId: string;
183
+ state: State;
184
+ }): Promise<InternalRoleExportInterface>;
185
+ export declare function exportInternalRoleByName({ roleName, state, }: {
186
+ roleName: string;
187
+ state: State;
188
+ }): Promise<InternalRoleExportInterface>;
189
+ export declare function exportInternalRoles({ state, }: {
190
+ state: State;
191
+ }): Promise<InternalRoleExportInterface>;
192
+ /**
193
+ * Import internal role
194
+ * @param {string} clientId client id
195
+ * @param {InternalRoleExportInterface} importData import data
196
+ * @returns {Promise<InternalRoleSkeleton>} a promise resolving to an oauth2 client
197
+ */
198
+ export declare function importInternalRole({ roleId, importData, state, }: {
199
+ roleId: string;
200
+ importData: InternalRoleExportInterface;
201
+ state: State;
202
+ }): Promise<InternalRoleSkeleton>;
203
+ /**
204
+ * Import internal role
205
+ * @param {string} clientId client id
206
+ * @param {InternalRoleExportInterface} importData import data
207
+ * @returns {Promise<InternalRoleSkeleton>} a promise resolving to an oauth2 client
208
+ */
209
+ export declare function importInternalRoleByName({ roleName: roleName, importData, state, }: {
210
+ roleName: string;
211
+ importData: InternalRoleExportInterface;
212
+ state: State;
213
+ }): Promise<InternalRoleSkeleton>;
214
+ /**
215
+ * Import first internal role
216
+ * @param {InternalRoleExportInterface} importData import data
217
+ * @returns {Promise<InternalRoleSkeleton[]>} a promise resolving to an array of oauth2 clients
218
+ */
219
+ export declare function importFirstInternalRole({ importData, state, }: {
220
+ importData: InternalRoleExportInterface;
221
+ state: State;
222
+ }): Promise<InternalRoleSkeleton>;
223
+ /**
224
+ * Import internal roles
225
+ * @param {InternalRoleExportInterface} importData import data
226
+ * @returns {Promise<InternalRoleSkeleton[]>} a promise resolving to an array of oauth2 clients
227
+ */
228
+ export declare function importInternalRoles({ importData, state, }: {
229
+ importData: InternalRoleExportInterface;
230
+ state: State;
231
+ }): Promise<InternalRoleSkeleton[]>;
232
+ //# sourceMappingURL=InternalRoleOps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InternalRoleOps.d.ts","sourceRoot":"","sources":["../../src/ops/InternalRoleOps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,iBAAiB,CAAC;AASjE,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AASxC,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,YAAY,CAAC;AAYjD,MAAM,MAAM,YAAY,GAAG;IACzB;;;OAGG;IACH,gCAAgC,IAAI,2BAA2B,CAAC;IAChE;;;;OAIG;IACH,kBAAkB,CAChB,QAAQ,EAAE,oBAAoB,GAC7B,OAAO,CAAC,oBAAoB,CAAC,CAAC;IACjC;;;;OAIG;IACH,gBAAgB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;IA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B,CAAC;IACxC,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAqChC;AAED;;;;GAIG;AACH,wBAAsB,mBAAmB,CAAC,EACxC,UAAU,EACV,KAAK,GACN,EAAE;IACD,UAAU,EAAE,2BAA2B,CAAC;IACxC,KAAK,EAAE,KAAK,CAAC;CACd,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC,CA+BlC"}
@@ -0,0 +1,87 @@
1
+ import { State } from '../shared/State';
2
+ export type Jose = {
3
+ createJwkRsa(): Promise<JwkRsa>;
4
+ getJwkRsaPublic(jwkJson: JwkRsa): Promise<JwkRsaPublic>;
5
+ createJwks(...keys: JwkInterface[]): JwksInterface;
6
+ createSignedJwtToken(payload: string | object, jwkJson: JwkRsa): Promise<any>;
7
+ verifySignedJwtToken(jwt: string, jwkJson: JwkRsaPublic): Promise<any>;
8
+ /**
9
+ * Verifies a JWT's signature against an arbitrary JWKS document (e.g. a
10
+ * third-party OIDC provider's published key set) and returns its decoded
11
+ * payload. Pure signature verification only — issuer, audience, and
12
+ * expiry are the caller's responsibility.
13
+ */
14
+ verifyJwtAgainstJwks(jwt: string, jwks: ExternalJwksDocument): Promise<Record<string, unknown>>;
15
+ };
16
+ declare const _default: (_state: State) => {
17
+ createJwkRsa(): Promise<JwkRsa>;
18
+ getJwkRsaPublic(jwkJson: JwkRsa): Promise<JwkRsaPublic>;
19
+ createJwks(...keys: JwkInterface[]): JwksInterface;
20
+ createSignedJwtToken(payload: string | object, jwkJson: JwkRsa): Promise<string>;
21
+ verifySignedJwtToken(jwt: string, jwkJson: JwkRsaPublic): Promise<{
22
+ payload: Buffer<ArrayBuffer>;
23
+ key: CryptoKey | Uint8Array<ArrayBufferLike>;
24
+ header: import("jose").JWTHeaderParameters;
25
+ }>;
26
+ verifyJwtAgainstJwks(jwt: string, jwks: ExternalJwksDocument): Promise<Record<string, unknown>>;
27
+ };
28
+ export default _default;
29
+ export interface JwkInterface {
30
+ kty: string;
31
+ use?: string;
32
+ key_ops?: string[];
33
+ alg: string;
34
+ kid?: string;
35
+ x5u?: string;
36
+ x5c?: string;
37
+ x5t?: string;
38
+ 'x5t#S256'?: string;
39
+ }
40
+ export type JwkRsa = JwkInterface & {
41
+ d: string;
42
+ dp: string;
43
+ dq: string;
44
+ e: string;
45
+ n: string;
46
+ p: string;
47
+ q: string;
48
+ qi: string;
49
+ };
50
+ export type JwkRsaPublic = JwkInterface & {
51
+ e: string;
52
+ n: string;
53
+ };
54
+ export interface JwksInterface {
55
+ keys: JwkInterface[];
56
+ }
57
+ /**
58
+ * A JWKS document as published by an arbitrary third-party OIDC provider,
59
+ * consumed (not created) by frodo — deliberately looser than
60
+ * {@link JwksInterface}/{@link JwkInterface}, which model keys frodo itself
61
+ * creates and can guarantee the shape of (e.g. always carrying `alg`).
62
+ * A real external IDP's JWKS entries commonly omit fields like `alg`
63
+ * while still being perfectly valid, verifiable keys.
64
+ */
65
+ export interface ExternalJwksDocument {
66
+ keys: Record<string, unknown>[];
67
+ }
68
+ export declare function createJwkRsa(): Promise<JwkRsa>;
69
+ export declare function getJwkRsaPublic(jwkJson: JwkRsa): Promise<JwkRsaPublic>;
70
+ export declare function createJwks(...keys: JwkInterface[]): JwksInterface;
71
+ export declare function createSignedJwtToken(payload: string | object, jwkJson: JwkRsa | CryptoKey | Uint8Array, header?: object): Promise<string>;
72
+ export declare function verifySignedJwtToken(jwt: string, jwkJson: JwkRsaPublic): Promise<{
73
+ payload: Buffer<ArrayBuffer>;
74
+ key: CryptoKey | Uint8Array<ArrayBufferLike>;
75
+ header: import("jose").JWTHeaderParameters;
76
+ }>;
77
+ /**
78
+ * Verifies a JWT's signature against an arbitrary JWKS document (e.g. a
79
+ * third-party OIDC provider's published key set — the keystore selects the
80
+ * right key by the token's own `kid` header) and returns its decoded payload.
81
+ * Pure signature verification only — issuer, audience, and expiry are the
82
+ * caller's responsibility.
83
+ * @throws if the signature does not verify against any key in the JWKS,
84
+ * or the payload is not valid JSON.
85
+ */
86
+ export declare function verifyJwtAgainstJwks(jwt: string, jwks: ExternalJwksDocument): Promise<Record<string, unknown>>;
87
+ //# sourceMappingURL=JoseOps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"JoseOps.d.ts","sourceRoot":"","sources":["../../src/ops/JoseOps.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAExC,MAAM,MAAM,IAAI,GAAG;IACjB,YAAY,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAChC,eAAe,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;IACxD,UAAU,CAAC,GAAG,IAAI,EAAE,YAAY,EAAE,GAAG,aAAa,CAAC;IACnD,oBAAoB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IAC9E,oBAAoB,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IACvE;;;;;OAKG;IACH,oBAAoB,CAClB,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,oBAAoB,GACzB,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;CACrC,CAAC;yBAGc,QAAQ,KAAK;oBAEH,OAAO,CAAC,MAAM,CAAC;6BAIN,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC;wBAIzC,YAAY,EAAE,GAAG,aAAa;kCAId,MAAM,GAAG,MAAM,WAAW,MAAM;8BAIpC,MAAM,WAAW,YAAY;;;;;8BAKtD,MAAM,QACL,oBAAoB,GACzB,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;;AAzBvC,wBA6BE;AAEF,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE,MAAM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