@keystrokehq/paradym 0.1.0 → 0.1.3

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 (561) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/activate-certificate.cjs +8 -8
  4. package/dist/actions/activate-certificate.cjs.map +1 -1
  5. package/dist/actions/activate-certificate.d.cts +38 -3
  6. package/dist/actions/activate-certificate.d.cts.map +1 -1
  7. package/dist/actions/activate-certificate.d.mts +38 -3
  8. package/dist/actions/activate-certificate.d.mts.map +1 -1
  9. package/dist/actions/activate-certificate.mjs +8 -8
  10. package/dist/actions/activate-certificate.mjs.map +1 -1
  11. package/dist/actions/archive-anoncreds-credential-template.cjs +2 -2
  12. package/dist/actions/archive-anoncreds-credential-template.cjs.map +1 -1
  13. package/dist/actions/archive-anoncreds-credential-template.d.cts +12 -3
  14. package/dist/actions/archive-anoncreds-credential-template.d.cts.map +1 -1
  15. package/dist/actions/archive-anoncreds-credential-template.d.mts +12 -3
  16. package/dist/actions/archive-anoncreds-credential-template.d.mts.map +1 -1
  17. package/dist/actions/archive-anoncreds-credential-template.mjs +2 -2
  18. package/dist/actions/archive-anoncreds-credential-template.mjs.map +1 -1
  19. package/dist/actions/archive-mdoc-credential-template.cjs +2 -2
  20. package/dist/actions/archive-mdoc-credential-template.cjs.map +1 -1
  21. package/dist/actions/archive-mdoc-credential-template.d.cts +12 -3
  22. package/dist/actions/archive-mdoc-credential-template.d.cts.map +1 -1
  23. package/dist/actions/archive-mdoc-credential-template.d.mts +12 -3
  24. package/dist/actions/archive-mdoc-credential-template.d.mts.map +1 -1
  25. package/dist/actions/archive-mdoc-credential-template.mjs +2 -2
  26. package/dist/actions/archive-mdoc-credential-template.mjs.map +1 -1
  27. package/dist/actions/archive-presentation-template.cjs +2 -2
  28. package/dist/actions/archive-presentation-template.cjs.map +1 -1
  29. package/dist/actions/archive-presentation-template.d.cts +12 -3
  30. package/dist/actions/archive-presentation-template.d.cts.map +1 -1
  31. package/dist/actions/archive-presentation-template.d.mts +12 -3
  32. package/dist/actions/archive-presentation-template.d.mts.map +1 -1
  33. package/dist/actions/archive-presentation-template.mjs +2 -2
  34. package/dist/actions/archive-presentation-template.mjs.map +1 -1
  35. package/dist/actions/archive-sd-jwt-vc-credential-template.cjs +2 -2
  36. package/dist/actions/archive-sd-jwt-vc-credential-template.cjs.map +1 -1
  37. package/dist/actions/archive-sd-jwt-vc-credential-template.d.cts +12 -3
  38. package/dist/actions/archive-sd-jwt-vc-credential-template.d.cts.map +1 -1
  39. package/dist/actions/archive-sd-jwt-vc-credential-template.d.mts +12 -3
  40. package/dist/actions/archive-sd-jwt-vc-credential-template.d.mts.map +1 -1
  41. package/dist/actions/archive-sd-jwt-vc-credential-template.mjs +2 -2
  42. package/dist/actions/archive-sd-jwt-vc-credential-template.mjs.map +1 -1
  43. package/dist/actions/create-anoncreds-credential-template.cjs +12 -12
  44. package/dist/actions/create-anoncreds-credential-template.cjs.map +1 -1
  45. package/dist/actions/create-anoncreds-credential-template.d.cts +32 -3
  46. package/dist/actions/create-anoncreds-credential-template.d.cts.map +1 -1
  47. package/dist/actions/create-anoncreds-credential-template.d.mts +32 -3
  48. package/dist/actions/create-anoncreds-credential-template.d.mts.map +1 -1
  49. package/dist/actions/create-anoncreds-credential-template.mjs +12 -12
  50. package/dist/actions/create-anoncreds-credential-template.mjs.map +1 -1
  51. package/dist/actions/create-certificate.cjs +10 -10
  52. package/dist/actions/create-certificate.cjs.map +1 -1
  53. package/dist/actions/create-certificate.d.cts +44 -3
  54. package/dist/actions/create-certificate.d.cts.map +1 -1
  55. package/dist/actions/create-certificate.d.mts +44 -3
  56. package/dist/actions/create-certificate.d.mts.map +1 -1
  57. package/dist/actions/create-certificate.mjs +10 -10
  58. package/dist/actions/create-certificate.mjs.map +1 -1
  59. package/dist/actions/create-didcomm-connection-invitation.cjs +8 -8
  60. package/dist/actions/create-didcomm-connection-invitation.cjs.map +1 -1
  61. package/dist/actions/create-didcomm-connection-invitation.d.cts +35 -3
  62. package/dist/actions/create-didcomm-connection-invitation.d.cts.map +1 -1
  63. package/dist/actions/create-didcomm-connection-invitation.d.mts +35 -3
  64. package/dist/actions/create-didcomm-connection-invitation.d.mts.map +1 -1
  65. package/dist/actions/create-didcomm-connection-invitation.mjs +8 -8
  66. package/dist/actions/create-didcomm-connection-invitation.mjs.map +1 -1
  67. package/dist/actions/create-didcomm-issuance-offer.cjs +26 -26
  68. package/dist/actions/create-didcomm-issuance-offer.cjs.map +1 -1
  69. package/dist/actions/create-didcomm-issuance-offer.d.cts +67 -3
  70. package/dist/actions/create-didcomm-issuance-offer.d.cts.map +1 -1
  71. package/dist/actions/create-didcomm-issuance-offer.d.mts +67 -3
  72. package/dist/actions/create-didcomm-issuance-offer.d.mts.map +1 -1
  73. package/dist/actions/create-didcomm-issuance-offer.mjs +26 -26
  74. package/dist/actions/create-didcomm-issuance-offer.mjs.map +1 -1
  75. package/dist/actions/create-openid4vc-credential-offer.cjs +18 -18
  76. package/dist/actions/create-openid4vc-credential-offer.cjs.map +1 -1
  77. package/dist/actions/create-openid4vc-credential-offer.d.cts +43 -3
  78. package/dist/actions/create-openid4vc-credential-offer.d.cts.map +1 -1
  79. package/dist/actions/create-openid4vc-credential-offer.d.mts +43 -3
  80. package/dist/actions/create-openid4vc-credential-offer.d.mts.map +1 -1
  81. package/dist/actions/create-openid4vc-credential-offer.mjs +18 -18
  82. package/dist/actions/create-openid4vc-credential-offer.mjs.map +1 -1
  83. package/dist/actions/create-openid4vc-verification-request.cjs +13 -13
  84. package/dist/actions/create-openid4vc-verification-request.cjs.map +1 -1
  85. package/dist/actions/create-openid4vc-verification-request.d.cts +31 -3
  86. package/dist/actions/create-openid4vc-verification-request.d.cts.map +1 -1
  87. package/dist/actions/create-openid4vc-verification-request.d.mts +31 -3
  88. package/dist/actions/create-openid4vc-verification-request.d.mts.map +1 -1
  89. package/dist/actions/create-openid4vc-verification-request.mjs +13 -13
  90. package/dist/actions/create-openid4vc-verification-request.mjs.map +1 -1
  91. package/dist/actions/create-presentation-template.cjs +3 -3
  92. package/dist/actions/create-presentation-template.cjs.map +1 -1
  93. package/dist/actions/create-presentation-template.d.cts +24 -3
  94. package/dist/actions/create-presentation-template.d.cts.map +1 -1
  95. package/dist/actions/create-presentation-template.d.mts +24 -3
  96. package/dist/actions/create-presentation-template.d.mts.map +1 -1
  97. package/dist/actions/create-presentation-template.mjs +3 -3
  98. package/dist/actions/create-presentation-template.mjs.map +1 -1
  99. package/dist/actions/create-project-webhook.cjs +8 -8
  100. package/dist/actions/create-project-webhook.cjs.map +1 -1
  101. package/dist/actions/create-project-webhook.d.cts +22 -3
  102. package/dist/actions/create-project-webhook.d.cts.map +1 -1
  103. package/dist/actions/create-project-webhook.d.mts +22 -3
  104. package/dist/actions/create-project-webhook.d.mts.map +1 -1
  105. package/dist/actions/create-project-webhook.mjs +8 -8
  106. package/dist/actions/create-project-webhook.mjs.map +1 -1
  107. package/dist/actions/create-sd-jwt-vc-credential-template.cjs +15 -15
  108. package/dist/actions/create-sd-jwt-vc-credential-template.cjs.map +1 -1
  109. package/dist/actions/create-sd-jwt-vc-credential-template.d.cts +69 -3
  110. package/dist/actions/create-sd-jwt-vc-credential-template.d.cts.map +1 -1
  111. package/dist/actions/create-sd-jwt-vc-credential-template.d.mts +69 -3
  112. package/dist/actions/create-sd-jwt-vc-credential-template.d.mts.map +1 -1
  113. package/dist/actions/create-sd-jwt-vc-credential-template.mjs +15 -15
  114. package/dist/actions/create-sd-jwt-vc-credential-template.mjs.map +1 -1
  115. package/dist/actions/create-trusted-entity.cjs +11 -11
  116. package/dist/actions/create-trusted-entity.cjs.map +1 -1
  117. package/dist/actions/create-trusted-entity.d.cts +40 -3
  118. package/dist/actions/create-trusted-entity.d.cts.map +1 -1
  119. package/dist/actions/create-trusted-entity.d.mts +40 -3
  120. package/dist/actions/create-trusted-entity.d.mts.map +1 -1
  121. package/dist/actions/create-trusted-entity.mjs +11 -11
  122. package/dist/actions/create-trusted-entity.mjs.map +1 -1
  123. package/dist/actions/deactivate-certificate.cjs +8 -8
  124. package/dist/actions/deactivate-certificate.cjs.map +1 -1
  125. package/dist/actions/deactivate-certificate.d.cts +38 -3
  126. package/dist/actions/deactivate-certificate.d.cts.map +1 -1
  127. package/dist/actions/deactivate-certificate.d.mts +38 -3
  128. package/dist/actions/deactivate-certificate.d.mts.map +1 -1
  129. package/dist/actions/deactivate-certificate.mjs +8 -8
  130. package/dist/actions/deactivate-certificate.mjs.map +1 -1
  131. package/dist/actions/delete-did-comm-connection.cjs +2 -2
  132. package/dist/actions/delete-did-comm-connection.cjs.map +1 -1
  133. package/dist/actions/delete-did-comm-connection.d.cts +12 -3
  134. package/dist/actions/delete-did-comm-connection.d.cts.map +1 -1
  135. package/dist/actions/delete-did-comm-connection.d.mts +12 -3
  136. package/dist/actions/delete-did-comm-connection.d.mts.map +1 -1
  137. package/dist/actions/delete-did-comm-connection.mjs +2 -2
  138. package/dist/actions/delete-did-comm-connection.mjs.map +1 -1
  139. package/dist/actions/delete-didcomm-invitation.cjs +2 -2
  140. package/dist/actions/delete-didcomm-invitation.cjs.map +1 -1
  141. package/dist/actions/delete-didcomm-invitation.d.cts +12 -3
  142. package/dist/actions/delete-didcomm-invitation.d.cts.map +1 -1
  143. package/dist/actions/delete-didcomm-invitation.d.mts +12 -3
  144. package/dist/actions/delete-didcomm-invitation.d.mts.map +1 -1
  145. package/dist/actions/delete-didcomm-invitation.mjs +2 -2
  146. package/dist/actions/delete-didcomm-invitation.mjs.map +1 -1
  147. package/dist/actions/delete-trusted-entity.cjs +2 -2
  148. package/dist/actions/delete-trusted-entity.cjs.map +1 -1
  149. package/dist/actions/delete-trusted-entity.d.cts +12 -3
  150. package/dist/actions/delete-trusted-entity.d.cts.map +1 -1
  151. package/dist/actions/delete-trusted-entity.d.mts +12 -3
  152. package/dist/actions/delete-trusted-entity.d.mts.map +1 -1
  153. package/dist/actions/delete-trusted-entity.mjs +2 -2
  154. package/dist/actions/delete-trusted-entity.mjs.map +1 -1
  155. package/dist/actions/delete-webhook.cjs +2 -2
  156. package/dist/actions/delete-webhook.cjs.map +1 -1
  157. package/dist/actions/delete-webhook.d.cts +12 -3
  158. package/dist/actions/delete-webhook.d.cts.map +1 -1
  159. package/dist/actions/delete-webhook.d.mts +12 -3
  160. package/dist/actions/delete-webhook.d.mts.map +1 -1
  161. package/dist/actions/delete-webhook.mjs +2 -2
  162. package/dist/actions/delete-webhook.mjs.map +1 -1
  163. package/dist/actions/get-anoncreds-credential-template-json-schema.cjs +7 -7
  164. package/dist/actions/get-anoncreds-credential-template-json-schema.cjs.map +1 -1
  165. package/dist/actions/get-anoncreds-credential-template-json-schema.d.cts +18 -3
  166. package/dist/actions/get-anoncreds-credential-template-json-schema.d.cts.map +1 -1
  167. package/dist/actions/get-anoncreds-credential-template-json-schema.d.mts +18 -3
  168. package/dist/actions/get-anoncreds-credential-template-json-schema.d.mts.map +1 -1
  169. package/dist/actions/get-anoncreds-credential-template-json-schema.mjs +7 -7
  170. package/dist/actions/get-anoncreds-credential-template-json-schema.mjs.map +1 -1
  171. package/dist/actions/get-anoncreds-credential-template.cjs +11 -11
  172. package/dist/actions/get-anoncreds-credential-template.cjs.map +1 -1
  173. package/dist/actions/get-anoncreds-credential-template.d.cts +22 -3
  174. package/dist/actions/get-anoncreds-credential-template.d.cts.map +1 -1
  175. package/dist/actions/get-anoncreds-credential-template.d.mts +22 -3
  176. package/dist/actions/get-anoncreds-credential-template.d.mts.map +1 -1
  177. package/dist/actions/get-anoncreds-credential-template.mjs +11 -11
  178. package/dist/actions/get-anoncreds-credential-template.mjs.map +1 -1
  179. package/dist/actions/get-di-ds.cjs +13 -13
  180. package/dist/actions/get-di-ds.cjs.map +1 -1
  181. package/dist/actions/get-di-ds.d.cts +29 -3
  182. package/dist/actions/get-di-ds.d.cts.map +1 -1
  183. package/dist/actions/get-di-ds.d.mts +29 -3
  184. package/dist/actions/get-di-ds.d.mts.map +1 -1
  185. package/dist/actions/get-di-ds.mjs +13 -13
  186. package/dist/actions/get-di-ds.mjs.map +1 -1
  187. package/dist/actions/get-did-comm-connection.cjs +7 -7
  188. package/dist/actions/get-did-comm-connection.cjs.map +1 -1
  189. package/dist/actions/get-did-comm-connection.d.cts +17 -3
  190. package/dist/actions/get-did-comm-connection.d.cts.map +1 -1
  191. package/dist/actions/get-did-comm-connection.d.mts +17 -3
  192. package/dist/actions/get-did-comm-connection.d.mts.map +1 -1
  193. package/dist/actions/get-did-comm-connection.mjs +7 -7
  194. package/dist/actions/get-did-comm-connection.mjs.map +1 -1
  195. package/dist/actions/get-did-comm-connections.cjs +13 -13
  196. package/dist/actions/get-did-comm-connections.cjs.map +1 -1
  197. package/dist/actions/get-did-comm-connections.d.cts +34 -3
  198. package/dist/actions/get-did-comm-connections.d.cts.map +1 -1
  199. package/dist/actions/get-did-comm-connections.d.mts +34 -3
  200. package/dist/actions/get-did-comm-connections.d.mts.map +1 -1
  201. package/dist/actions/get-did-comm-connections.mjs +13 -13
  202. package/dist/actions/get-did-comm-connections.mjs.map +1 -1
  203. package/dist/actions/get-didcomm-invitation.cjs +8 -8
  204. package/dist/actions/get-didcomm-invitation.cjs.map +1 -1
  205. package/dist/actions/get-didcomm-invitation.d.cts +23 -3
  206. package/dist/actions/get-didcomm-invitation.d.cts.map +1 -1
  207. package/dist/actions/get-didcomm-invitation.d.mts +23 -3
  208. package/dist/actions/get-didcomm-invitation.d.mts.map +1 -1
  209. package/dist/actions/get-didcomm-invitation.mjs +8 -8
  210. package/dist/actions/get-didcomm-invitation.mjs.map +1 -1
  211. package/dist/actions/get-didcomm-issuance-session.cjs +13 -13
  212. package/dist/actions/get-didcomm-issuance-session.cjs.map +1 -1
  213. package/dist/actions/get-didcomm-issuance-session.d.cts +45 -3
  214. package/dist/actions/get-didcomm-issuance-session.d.cts.map +1 -1
  215. package/dist/actions/get-didcomm-issuance-session.d.mts +45 -3
  216. package/dist/actions/get-didcomm-issuance-session.d.mts.map +1 -1
  217. package/dist/actions/get-didcomm-issuance-session.mjs +13 -13
  218. package/dist/actions/get-didcomm-issuance-session.mjs.map +1 -1
  219. package/dist/actions/get-mdoc-credential-template-json-schema.cjs +7 -7
  220. package/dist/actions/get-mdoc-credential-template-json-schema.cjs.map +1 -1
  221. package/dist/actions/get-mdoc-credential-template-json-schema.d.cts +18 -3
  222. package/dist/actions/get-mdoc-credential-template-json-schema.d.cts.map +1 -1
  223. package/dist/actions/get-mdoc-credential-template-json-schema.d.mts +18 -3
  224. package/dist/actions/get-mdoc-credential-template-json-schema.d.mts.map +1 -1
  225. package/dist/actions/get-mdoc-credential-template-json-schema.mjs +7 -7
  226. package/dist/actions/get-mdoc-credential-template-json-schema.mjs.map +1 -1
  227. package/dist/actions/get-mdoc-credential-template.cjs +14 -14
  228. package/dist/actions/get-mdoc-credential-template.cjs.map +1 -1
  229. package/dist/actions/get-mdoc-credential-template.d.cts +38 -3
  230. package/dist/actions/get-mdoc-credential-template.d.cts.map +1 -1
  231. package/dist/actions/get-mdoc-credential-template.d.mts +38 -3
  232. package/dist/actions/get-mdoc-credential-template.d.mts.map +1 -1
  233. package/dist/actions/get-mdoc-credential-template.mjs +14 -14
  234. package/dist/actions/get-mdoc-credential-template.mjs.map +1 -1
  235. package/dist/actions/get-openid4vc-issuance-session.cjs +17 -17
  236. package/dist/actions/get-openid4vc-issuance-session.cjs.map +1 -1
  237. package/dist/actions/get-openid4vc-issuance-session.d.cts +36 -3
  238. package/dist/actions/get-openid4vc-issuance-session.d.cts.map +1 -1
  239. package/dist/actions/get-openid4vc-issuance-session.d.mts +36 -3
  240. package/dist/actions/get-openid4vc-issuance-session.d.mts.map +1 -1
  241. package/dist/actions/get-openid4vc-issuance-session.mjs +17 -17
  242. package/dist/actions/get-openid4vc-issuance-session.mjs.map +1 -1
  243. package/dist/actions/get-openid4vc-verification-session.cjs +13 -13
  244. package/dist/actions/get-openid4vc-verification-session.cjs.map +1 -1
  245. package/dist/actions/get-openid4vc-verification-session.d.cts +29 -3
  246. package/dist/actions/get-openid4vc-verification-session.d.cts.map +1 -1
  247. package/dist/actions/get-openid4vc-verification-session.d.mts +29 -3
  248. package/dist/actions/get-openid4vc-verification-session.d.mts.map +1 -1
  249. package/dist/actions/get-openid4vc-verification-session.mjs +13 -13
  250. package/dist/actions/get-openid4vc-verification-session.mjs.map +1 -1
  251. package/dist/actions/get-presentation-template.cjs +11 -11
  252. package/dist/actions/get-presentation-template.cjs.map +1 -1
  253. package/dist/actions/get-presentation-template.d.cts +33 -3
  254. package/dist/actions/get-presentation-template.d.cts.map +1 -1
  255. package/dist/actions/get-presentation-template.d.mts +33 -3
  256. package/dist/actions/get-presentation-template.d.mts.map +1 -1
  257. package/dist/actions/get-presentation-template.mjs +11 -11
  258. package/dist/actions/get-presentation-template.mjs.map +1 -1
  259. package/dist/actions/get-presentation-templates.cjs +6 -6
  260. package/dist/actions/get-presentation-templates.cjs.map +1 -1
  261. package/dist/actions/get-presentation-templates.d.cts +22 -3
  262. package/dist/actions/get-presentation-templates.d.cts.map +1 -1
  263. package/dist/actions/get-presentation-templates.d.mts +22 -3
  264. package/dist/actions/get-presentation-templates.d.mts.map +1 -1
  265. package/dist/actions/get-presentation-templates.mjs +6 -6
  266. package/dist/actions/get-presentation-templates.mjs.map +1 -1
  267. package/dist/actions/get-project-members.cjs +7 -7
  268. package/dist/actions/get-project-members.cjs.map +1 -1
  269. package/dist/actions/get-project-members.d.cts +22 -3
  270. package/dist/actions/get-project-members.d.cts.map +1 -1
  271. package/dist/actions/get-project-members.d.mts +22 -3
  272. package/dist/actions/get-project-members.d.mts.map +1 -1
  273. package/dist/actions/get-project-members.mjs +7 -7
  274. package/dist/actions/get-project-members.mjs.map +1 -1
  275. package/dist/actions/get-project-profile.cjs +9 -9
  276. package/dist/actions/get-project-profile.cjs.map +1 -1
  277. package/dist/actions/get-project-profile.d.cts +22 -3
  278. package/dist/actions/get-project-profile.d.cts.map +1 -1
  279. package/dist/actions/get-project-profile.d.mts +22 -3
  280. package/dist/actions/get-project-profile.d.mts.map +1 -1
  281. package/dist/actions/get-project-profile.mjs +9 -9
  282. package/dist/actions/get-project-profile.mjs.map +1 -1
  283. package/dist/actions/get-project-webhooks.cjs +11 -11
  284. package/dist/actions/get-project-webhooks.cjs.map +1 -1
  285. package/dist/actions/get-project-webhooks.d.cts +25 -3
  286. package/dist/actions/get-project-webhooks.d.cts.map +1 -1
  287. package/dist/actions/get-project-webhooks.d.mts +25 -3
  288. package/dist/actions/get-project-webhooks.d.mts.map +1 -1
  289. package/dist/actions/get-project-webhooks.mjs +11 -11
  290. package/dist/actions/get-project-webhooks.mjs.map +1 -1
  291. package/dist/actions/get-projects.cjs +6 -6
  292. package/dist/actions/get-projects.cjs.map +1 -1
  293. package/dist/actions/get-projects.d.cts +12 -3
  294. package/dist/actions/get-projects.d.cts.map +1 -1
  295. package/dist/actions/get-projects.d.mts +12 -3
  296. package/dist/actions/get-projects.d.mts.map +1 -1
  297. package/dist/actions/get-projects.mjs +6 -6
  298. package/dist/actions/get-projects.mjs.map +1 -1
  299. package/dist/actions/get-sd-jwt-vc-credential-template-json-schema.cjs +7 -7
  300. package/dist/actions/get-sd-jwt-vc-credential-template-json-schema.cjs.map +1 -1
  301. package/dist/actions/get-sd-jwt-vc-credential-template-json-schema.d.cts +18 -3
  302. package/dist/actions/get-sd-jwt-vc-credential-template-json-schema.d.cts.map +1 -1
  303. package/dist/actions/get-sd-jwt-vc-credential-template-json-schema.d.mts +18 -3
  304. package/dist/actions/get-sd-jwt-vc-credential-template-json-schema.d.mts.map +1 -1
  305. package/dist/actions/get-sd-jwt-vc-credential-template-json-schema.mjs +7 -7
  306. package/dist/actions/get-sd-jwt-vc-credential-template-json-schema.mjs.map +1 -1
  307. package/dist/actions/get-sd-jwt-vc-credential-template.cjs +8 -8
  308. package/dist/actions/get-sd-jwt-vc-credential-template.cjs.map +1 -1
  309. package/dist/actions/get-sd-jwt-vc-credential-template.d.cts +25 -3
  310. package/dist/actions/get-sd-jwt-vc-credential-template.d.cts.map +1 -1
  311. package/dist/actions/get-sd-jwt-vc-credential-template.d.mts +25 -3
  312. package/dist/actions/get-sd-jwt-vc-credential-template.d.mts.map +1 -1
  313. package/dist/actions/get-sd-jwt-vc-credential-template.mjs +8 -8
  314. package/dist/actions/get-sd-jwt-vc-credential-template.mjs.map +1 -1
  315. package/dist/actions/get-trusted-entities.cjs +2 -2
  316. package/dist/actions/get-trusted-entities.cjs.map +1 -1
  317. package/dist/actions/get-trusted-entities.d.cts +28 -3
  318. package/dist/actions/get-trusted-entities.d.cts.map +1 -1
  319. package/dist/actions/get-trusted-entities.d.mts +28 -3
  320. package/dist/actions/get-trusted-entities.d.mts.map +1 -1
  321. package/dist/actions/get-trusted-entities.mjs +2 -2
  322. package/dist/actions/get-trusted-entities.mjs.map +1 -1
  323. package/dist/actions/get-trusted-entity.cjs +6 -6
  324. package/dist/actions/get-trusted-entity.cjs.map +1 -1
  325. package/dist/actions/get-trusted-entity.d.cts +22 -3
  326. package/dist/actions/get-trusted-entity.d.cts.map +1 -1
  327. package/dist/actions/get-trusted-entity.d.mts +22 -3
  328. package/dist/actions/get-trusted-entity.d.mts.map +1 -1
  329. package/dist/actions/get-trusted-entity.mjs +6 -6
  330. package/dist/actions/get-trusted-entity.mjs.map +1 -1
  331. package/dist/actions/issue-direct-sd-jwt-vc.cjs +10 -10
  332. package/dist/actions/issue-direct-sd-jwt-vc.cjs.map +1 -1
  333. package/dist/actions/issue-direct-sd-jwt-vc.d.cts +27 -3
  334. package/dist/actions/issue-direct-sd-jwt-vc.d.cts.map +1 -1
  335. package/dist/actions/issue-direct-sd-jwt-vc.d.mts +27 -3
  336. package/dist/actions/issue-direct-sd-jwt-vc.d.mts.map +1 -1
  337. package/dist/actions/issue-direct-sd-jwt-vc.mjs +10 -10
  338. package/dist/actions/issue-direct-sd-jwt-vc.mjs.map +1 -1
  339. package/dist/actions/list-anon-creds-credential-templates.cjs +18 -18
  340. package/dist/actions/list-anon-creds-credential-templates.cjs.map +1 -1
  341. package/dist/actions/list-anon-creds-credential-templates.d.cts +57 -3
  342. package/dist/actions/list-anon-creds-credential-templates.d.cts.map +1 -1
  343. package/dist/actions/list-anon-creds-credential-templates.d.mts +57 -3
  344. package/dist/actions/list-anon-creds-credential-templates.d.mts.map +1 -1
  345. package/dist/actions/list-anon-creds-credential-templates.mjs +18 -18
  346. package/dist/actions/list-anon-creds-credential-templates.mjs.map +1 -1
  347. package/dist/actions/list-certificate-signing-requests.cjs +16 -16
  348. package/dist/actions/list-certificate-signing-requests.cjs.map +1 -1
  349. package/dist/actions/list-certificate-signing-requests.d.cts +67 -3
  350. package/dist/actions/list-certificate-signing-requests.d.cts.map +1 -1
  351. package/dist/actions/list-certificate-signing-requests.d.mts +67 -3
  352. package/dist/actions/list-certificate-signing-requests.d.mts.map +1 -1
  353. package/dist/actions/list-certificate-signing-requests.mjs +16 -16
  354. package/dist/actions/list-certificate-signing-requests.mjs.map +1 -1
  355. package/dist/actions/list-certificates.cjs +17 -17
  356. package/dist/actions/list-certificates.cjs.map +1 -1
  357. package/dist/actions/list-certificates.d.cts +83 -3
  358. package/dist/actions/list-certificates.d.cts.map +1 -1
  359. package/dist/actions/list-certificates.d.mts +83 -3
  360. package/dist/actions/list-certificates.d.mts.map +1 -1
  361. package/dist/actions/list-certificates.mjs +17 -17
  362. package/dist/actions/list-certificates.mjs.map +1 -1
  363. package/dist/actions/list-didcomm-invitations.cjs +5 -5
  364. package/dist/actions/list-didcomm-invitations.cjs.map +1 -1
  365. package/dist/actions/list-didcomm-invitations.d.cts +20 -3
  366. package/dist/actions/list-didcomm-invitations.d.cts.map +1 -1
  367. package/dist/actions/list-didcomm-invitations.d.mts +20 -3
  368. package/dist/actions/list-didcomm-invitations.d.mts.map +1 -1
  369. package/dist/actions/list-didcomm-invitations.mjs +5 -5
  370. package/dist/actions/list-didcomm-invitations.mjs.map +1 -1
  371. package/dist/actions/list-didcomm-issuance-offers.cjs +12 -12
  372. package/dist/actions/list-didcomm-issuance-offers.cjs.map +1 -1
  373. package/dist/actions/list-didcomm-issuance-offers.d.cts +38 -3
  374. package/dist/actions/list-didcomm-issuance-offers.d.cts.map +1 -1
  375. package/dist/actions/list-didcomm-issuance-offers.d.mts +38 -3
  376. package/dist/actions/list-didcomm-issuance-offers.d.mts.map +1 -1
  377. package/dist/actions/list-didcomm-issuance-offers.mjs +12 -12
  378. package/dist/actions/list-didcomm-issuance-offers.mjs.map +1 -1
  379. package/dist/actions/list-didcomm-mediator-connections.cjs +13 -13
  380. package/dist/actions/list-didcomm-mediator-connections.cjs.map +1 -1
  381. package/dist/actions/list-didcomm-mediator-connections.d.cts +57 -3
  382. package/dist/actions/list-didcomm-mediator-connections.d.cts.map +1 -1
  383. package/dist/actions/list-didcomm-mediator-connections.d.mts +57 -3
  384. package/dist/actions/list-didcomm-mediator-connections.d.mts.map +1 -1
  385. package/dist/actions/list-didcomm-mediator-connections.mjs +13 -13
  386. package/dist/actions/list-didcomm-mediator-connections.mjs.map +1 -1
  387. package/dist/actions/list-didcomm-mediators.cjs +14 -14
  388. package/dist/actions/list-didcomm-mediators.cjs.map +1 -1
  389. package/dist/actions/list-didcomm-mediators.d.cts +46 -3
  390. package/dist/actions/list-didcomm-mediators.d.cts.map +1 -1
  391. package/dist/actions/list-didcomm-mediators.d.mts +46 -3
  392. package/dist/actions/list-didcomm-mediators.d.mts.map +1 -1
  393. package/dist/actions/list-didcomm-mediators.mjs +14 -14
  394. package/dist/actions/list-didcomm-mediators.mjs.map +1 -1
  395. package/dist/actions/list-didcomm-verification-requests.cjs +9 -9
  396. package/dist/actions/list-didcomm-verification-requests.cjs.map +1 -1
  397. package/dist/actions/list-didcomm-verification-requests.d.cts +22 -3
  398. package/dist/actions/list-didcomm-verification-requests.d.cts.map +1 -1
  399. package/dist/actions/list-didcomm-verification-requests.d.mts +22 -3
  400. package/dist/actions/list-didcomm-verification-requests.d.mts.map +1 -1
  401. package/dist/actions/list-didcomm-verification-requests.mjs +9 -9
  402. package/dist/actions/list-didcomm-verification-requests.mjs.map +1 -1
  403. package/dist/actions/list-issued-credentials.cjs +10 -10
  404. package/dist/actions/list-issued-credentials.cjs.map +1 -1
  405. package/dist/actions/list-issued-credentials.d.cts +35 -3
  406. package/dist/actions/list-issued-credentials.d.cts.map +1 -1
  407. package/dist/actions/list-issued-credentials.d.mts +35 -3
  408. package/dist/actions/list-issued-credentials.d.mts.map +1 -1
  409. package/dist/actions/list-issued-credentials.mjs +10 -10
  410. package/dist/actions/list-issued-credentials.mjs.map +1 -1
  411. package/dist/actions/list-mdoc-credential-templates.cjs +14 -14
  412. package/dist/actions/list-mdoc-credential-templates.cjs.map +1 -1
  413. package/dist/actions/list-mdoc-credential-templates.d.cts +60 -3
  414. package/dist/actions/list-mdoc-credential-templates.d.cts.map +1 -1
  415. package/dist/actions/list-mdoc-credential-templates.d.mts +60 -3
  416. package/dist/actions/list-mdoc-credential-templates.d.mts.map +1 -1
  417. package/dist/actions/list-mdoc-credential-templates.mjs +14 -14
  418. package/dist/actions/list-mdoc-credential-templates.mjs.map +1 -1
  419. package/dist/actions/list-openid4vc-issuance-sessions.cjs +22 -22
  420. package/dist/actions/list-openid4vc-issuance-sessions.cjs.map +1 -1
  421. package/dist/actions/list-openid4vc-issuance-sessions.d.cts +59 -3
  422. package/dist/actions/list-openid4vc-issuance-sessions.d.cts.map +1 -1
  423. package/dist/actions/list-openid4vc-issuance-sessions.d.mts +59 -3
  424. package/dist/actions/list-openid4vc-issuance-sessions.d.mts.map +1 -1
  425. package/dist/actions/list-openid4vc-issuance-sessions.mjs +22 -22
  426. package/dist/actions/list-openid4vc-issuance-sessions.mjs.map +1 -1
  427. package/dist/actions/list-openid4vc-verification-sessions.cjs +19 -19
  428. package/dist/actions/list-openid4vc-verification-sessions.cjs.map +1 -1
  429. package/dist/actions/list-openid4vc-verification-sessions.d.cts +53 -3
  430. package/dist/actions/list-openid4vc-verification-sessions.d.cts.map +1 -1
  431. package/dist/actions/list-openid4vc-verification-sessions.d.mts +53 -3
  432. package/dist/actions/list-openid4vc-verification-sessions.d.mts.map +1 -1
  433. package/dist/actions/list-openid4vc-verification-sessions.mjs +19 -19
  434. package/dist/actions/list-openid4vc-verification-sessions.mjs.map +1 -1
  435. package/dist/actions/list-sd-jwt-vc-credential-templates.cjs +19 -19
  436. package/dist/actions/list-sd-jwt-vc-credential-templates.cjs.map +1 -1
  437. package/dist/actions/list-sd-jwt-vc-credential-templates.d.cts +67 -3
  438. package/dist/actions/list-sd-jwt-vc-credential-templates.d.cts.map +1 -1
  439. package/dist/actions/list-sd-jwt-vc-credential-templates.d.mts +67 -3
  440. package/dist/actions/list-sd-jwt-vc-credential-templates.d.mts.map +1 -1
  441. package/dist/actions/list-sd-jwt-vc-credential-templates.mjs +19 -19
  442. package/dist/actions/list-sd-jwt-vc-credential-templates.mjs.map +1 -1
  443. package/dist/actions/receive-didcomm-invitation.cjs +9 -9
  444. package/dist/actions/receive-didcomm-invitation.cjs.map +1 -1
  445. package/dist/actions/receive-didcomm-invitation.d.cts +28 -3
  446. package/dist/actions/receive-didcomm-invitation.d.cts.map +1 -1
  447. package/dist/actions/receive-didcomm-invitation.d.mts +28 -3
  448. package/dist/actions/receive-didcomm-invitation.d.mts.map +1 -1
  449. package/dist/actions/receive-didcomm-invitation.mjs +9 -9
  450. package/dist/actions/receive-didcomm-invitation.mjs.map +1 -1
  451. package/dist/actions/revoke-certificate.cjs +11 -11
  452. package/dist/actions/revoke-certificate.cjs.map +1 -1
  453. package/dist/actions/revoke-certificate.d.cts +23 -3
  454. package/dist/actions/revoke-certificate.d.cts.map +1 -1
  455. package/dist/actions/revoke-certificate.d.mts +23 -3
  456. package/dist/actions/revoke-certificate.d.mts.map +1 -1
  457. package/dist/actions/revoke-certificate.mjs +11 -11
  458. package/dist/actions/revoke-certificate.mjs.map +1 -1
  459. package/dist/actions/send-did-comm-custom-message.cjs +4 -4
  460. package/dist/actions/send-did-comm-custom-message.cjs.map +1 -1
  461. package/dist/actions/send-did-comm-custom-message.d.cts +14 -3
  462. package/dist/actions/send-did-comm-custom-message.d.cts.map +1 -1
  463. package/dist/actions/send-did-comm-custom-message.d.mts +14 -3
  464. package/dist/actions/send-did-comm-custom-message.d.mts.map +1 -1
  465. package/dist/actions/send-did-comm-custom-message.mjs +4 -4
  466. package/dist/actions/send-did-comm-custom-message.mjs.map +1 -1
  467. package/dist/actions/send-didcomm-basic-message.cjs +5 -5
  468. package/dist/actions/send-didcomm-basic-message.cjs.map +1 -1
  469. package/dist/actions/send-didcomm-basic-message.d.cts +19 -3
  470. package/dist/actions/send-didcomm-basic-message.d.cts.map +1 -1
  471. package/dist/actions/send-didcomm-basic-message.d.mts +19 -3
  472. package/dist/actions/send-didcomm-basic-message.d.mts.map +1 -1
  473. package/dist/actions/send-didcomm-basic-message.mjs +5 -5
  474. package/dist/actions/send-didcomm-basic-message.mjs.map +1 -1
  475. package/dist/actions/unarchive-anoncreds-credential-template.cjs +2 -2
  476. package/dist/actions/unarchive-anoncreds-credential-template.cjs.map +1 -1
  477. package/dist/actions/unarchive-anoncreds-credential-template.d.cts +12 -3
  478. package/dist/actions/unarchive-anoncreds-credential-template.d.cts.map +1 -1
  479. package/dist/actions/unarchive-anoncreds-credential-template.d.mts +12 -3
  480. package/dist/actions/unarchive-anoncreds-credential-template.d.mts.map +1 -1
  481. package/dist/actions/unarchive-anoncreds-credential-template.mjs +2 -2
  482. package/dist/actions/unarchive-anoncreds-credential-template.mjs.map +1 -1
  483. package/dist/actions/unarchive-mdoc-credential-template.cjs +2 -2
  484. package/dist/actions/unarchive-mdoc-credential-template.cjs.map +1 -1
  485. package/dist/actions/unarchive-mdoc-credential-template.d.cts +12 -3
  486. package/dist/actions/unarchive-mdoc-credential-template.d.cts.map +1 -1
  487. package/dist/actions/unarchive-mdoc-credential-template.d.mts +12 -3
  488. package/dist/actions/unarchive-mdoc-credential-template.d.mts.map +1 -1
  489. package/dist/actions/unarchive-mdoc-credential-template.mjs +2 -2
  490. package/dist/actions/unarchive-mdoc-credential-template.mjs.map +1 -1
  491. package/dist/actions/unarchive-sd-jwt-vc-credential-template.cjs +2 -2
  492. package/dist/actions/unarchive-sd-jwt-vc-credential-template.cjs.map +1 -1
  493. package/dist/actions/unarchive-sd-jwt-vc-credential-template.d.cts +12 -3
  494. package/dist/actions/unarchive-sd-jwt-vc-credential-template.d.cts.map +1 -1
  495. package/dist/actions/unarchive-sd-jwt-vc-credential-template.d.mts +12 -3
  496. package/dist/actions/unarchive-sd-jwt-vc-credential-template.d.mts.map +1 -1
  497. package/dist/actions/unarchive-sd-jwt-vc-credential-template.mjs +2 -2
  498. package/dist/actions/unarchive-sd-jwt-vc-credential-template.mjs.map +1 -1
  499. package/dist/actions/update-did-comm-connection.cjs +7 -7
  500. package/dist/actions/update-did-comm-connection.cjs.map +1 -1
  501. package/dist/actions/update-did-comm-connection.d.cts +19 -3
  502. package/dist/actions/update-did-comm-connection.d.cts.map +1 -1
  503. package/dist/actions/update-did-comm-connection.d.mts +19 -3
  504. package/dist/actions/update-did-comm-connection.d.mts.map +1 -1
  505. package/dist/actions/update-did-comm-connection.mjs +7 -7
  506. package/dist/actions/update-did-comm-connection.mjs.map +1 -1
  507. package/dist/actions/update-mdoc-credential-template.cjs +10 -10
  508. package/dist/actions/update-mdoc-credential-template.cjs.map +1 -1
  509. package/dist/actions/update-mdoc-credential-template.d.cts +67 -3
  510. package/dist/actions/update-mdoc-credential-template.d.cts.map +1 -1
  511. package/dist/actions/update-mdoc-credential-template.d.mts +67 -3
  512. package/dist/actions/update-mdoc-credential-template.d.mts.map +1 -1
  513. package/dist/actions/update-mdoc-credential-template.mjs +10 -10
  514. package/dist/actions/update-mdoc-credential-template.mjs.map +1 -1
  515. package/dist/actions/update-presentation-template.cjs +6 -6
  516. package/dist/actions/update-presentation-template.cjs.map +1 -1
  517. package/dist/actions/update-presentation-template.d.cts +25 -3
  518. package/dist/actions/update-presentation-template.d.cts.map +1 -1
  519. package/dist/actions/update-presentation-template.d.mts +25 -3
  520. package/dist/actions/update-presentation-template.d.mts.map +1 -1
  521. package/dist/actions/update-presentation-template.mjs +6 -6
  522. package/dist/actions/update-presentation-template.mjs.map +1 -1
  523. package/dist/actions/update-project-profile.cjs +9 -9
  524. package/dist/actions/update-project-profile.cjs.map +1 -1
  525. package/dist/actions/update-project-profile.d.cts +52 -3
  526. package/dist/actions/update-project-profile.d.cts.map +1 -1
  527. package/dist/actions/update-project-profile.d.mts +52 -3
  528. package/dist/actions/update-project-profile.d.mts.map +1 -1
  529. package/dist/actions/update-project-profile.mjs +9 -9
  530. package/dist/actions/update-project-profile.mjs.map +1 -1
  531. package/dist/actions/update-project.cjs +7 -7
  532. package/dist/actions/update-project.cjs.map +1 -1
  533. package/dist/actions/update-project.d.cts +24 -3
  534. package/dist/actions/update-project.d.cts.map +1 -1
  535. package/dist/actions/update-project.d.mts +24 -3
  536. package/dist/actions/update-project.d.mts.map +1 -1
  537. package/dist/actions/update-project.mjs +7 -7
  538. package/dist/actions/update-project.mjs.map +1 -1
  539. package/dist/actions/update-sd-jwt-vc-credential-template.cjs +14 -14
  540. package/dist/actions/update-sd-jwt-vc-credential-template.cjs.map +1 -1
  541. package/dist/actions/update-sd-jwt-vc-credential-template.d.cts +87 -3
  542. package/dist/actions/update-sd-jwt-vc-credential-template.d.cts.map +1 -1
  543. package/dist/actions/update-sd-jwt-vc-credential-template.d.mts +87 -3
  544. package/dist/actions/update-sd-jwt-vc-credential-template.d.mts.map +1 -1
  545. package/dist/actions/update-sd-jwt-vc-credential-template.mjs +14 -14
  546. package/dist/actions/update-sd-jwt-vc-credential-template.mjs.map +1 -1
  547. package/dist/actions/update-trusted-entity.cjs +11 -11
  548. package/dist/actions/update-trusted-entity.cjs.map +1 -1
  549. package/dist/actions/update-trusted-entity.d.cts +42 -3
  550. package/dist/actions/update-trusted-entity.d.cts.map +1 -1
  551. package/dist/actions/update-trusted-entity.d.mts +42 -3
  552. package/dist/actions/update-trusted-entity.d.mts.map +1 -1
  553. package/dist/actions/update-trusted-entity.mjs +11 -11
  554. package/dist/actions/update-trusted-entity.mjs.map +1 -1
  555. package/dist/catalog.cjs +7 -1
  556. package/dist/catalog.cjs.map +1 -1
  557. package/dist/catalog.d.cts +8 -0
  558. package/dist/catalog.d.mts +8 -0
  559. package/dist/catalog.mjs +7 -1
  560. package/dist/catalog.mjs.map +1 -1
  561. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"create-didcomm-issuance-offer.mjs","names":[],"sources":["../../src/actions/create-didcomm-issuance-offer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParadymCreateDidcommIssuanceOfferInput: z.ZodTypeAny = z.object({\n goal: z.object({\n code: z.string().describe(\"Machine-readable goal code. Common values: 'issue-vc', 'request-proof', 'create-account', 'p2p-messaging'.\").optional(),\n description: z.string().describe(\"Human-readable description of the issuance goal\"),\n}).describe(\"Goal information included in both the invitation and offer.\").optional(),\n projectId: z.string().describe(\"Paradym project identifier\"),\n credential: z.object({\n attributes: z.object({}).describe(\"Key-value pairs of credential attributes (e.g., {'name': 'John', 'age': 25})\"),\n credentialTemplateId: z.string().describe(\"ID of the credential template to use for issuance\"),\n}).describe(\"Credential configuration including template ID and attributes\"),\n didcommInvitation: z.object({\n did: z.string().describe(\"DID method to use for the invitation. Currently only 'did:web' is supported.\"),\n createConnection: z.boolean().default(false).describe(\"Whether to create a connection as part of the invitation. Defaults to false.\").optional(),\n}).describe(\"Configuration for the DIDComm invitation containing the offer.\").optional(),\n didcommConnectionId: z.string().describe(\"Existing DIDComm connection ID. If provided, didcommInvitation is ignored.\").optional(),\n});\nconst ParadymCreateDidcommIssuanceOffer_ErrorDetailsSchema: z.ZodTypeAny = z.object({\n code: z.number().int().describe(\"Error code\"),\n details: z.array(z.union([z.string(), z.object({})])).describe(\"Additional error details\").nullable().optional(),\n message: z.string().describe(\"Error message\"),\n}).describe(\"Error details if the issuance fails.\");\nconst ParadymCreateDidcommIssuanceOffer_CredentialDetailsSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the credential\"),\n format: z.string().describe(\"Format of the credential\"),\n status: z.string().describe(\"Current status of the credential\"),\n exchange: z.string().describe(\"Exchange protocol used\"),\n revocable: z.boolean().describe(\"Whether the credential can be revoked\"),\n credentialTemplateId: z.string().describe(\"ID of the credential template used\"),\n}).passthrough().describe(\"Credential details in the issuance response.\");\nconst ParadymCreateDidcommIssuanceOffer_DidcommIssuanceSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the issuance\"),\n error: ParadymCreateDidcommIssuanceOffer_ErrorDetailsSchema.nullable().optional(),\n status: z.string().describe(\"Current status of the issuance (offered, completed, failed, expired)\"),\n createdAt: z.string().describe(\"ISO8601 timestamp when the issuance was created\"),\n expiresAt: z.string().describe(\"ISO8601 timestamp when the issuance expires\"),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the issuance was last updated\"),\n credential: ParadymCreateDidcommIssuanceOffer_CredentialDetailsSchema.nullable(),\n didcommConnectionId: z.string().describe(\"DIDComm connection ID if applicable\").nullable().optional(),\n didcommInvitationId: z.string().describe(\"DIDComm invitation ID if applicable\").nullable().optional(),\n}).passthrough().describe(\"DIDComm issuance details in the response.\");\nconst ParadymCreateDidcommIssuanceOffer_DidcommInvitationResponseSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the invitation\"),\n did: z.string().describe(\"The public DID used for the invitation (starts with 'did:web:')\").nullable().optional(),\n status: z.string().describe(\"Current status of the invitation (completed, expired, active)\"),\n reusable: z.boolean().describe(\"Whether the invitation can be reused\"),\n createdAt: z.string().describe(\"ISO8601 timestamp when the invitation was created\"),\n expiresAt: z.string().describe(\"ISO8601 timestamp when the invitation expires\"),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the invitation was last updated\"),\n invitationUri: z.string().describe(\"Direct invitation URI\"),\n invitationQrUri: z.string().describe(\"URI for displaying the invitation as a QR code\"),\n}).describe(\"DIDComm invitation details in the response.\");\nexport const ParadymCreateDidcommIssuanceOfferOutput: z.ZodTypeAny = z.object({\n didcommIssuance: ParadymCreateDidcommIssuanceOffer_DidcommIssuanceSchema.nullable(),\n didcommInvitation: ParadymCreateDidcommIssuanceOffer_DidcommInvitationResponseSchema.nullable().optional(),\n}).describe(\"Response model for creating a DIDComm issuance offer.\");\n\nexport const paradymCreateDidcommIssuanceOffer = action(\"PARADYM_CREATE_DIDCOMM_ISSUANCE_OFFER\", {\n slug: \"paradym-create-didcomm-issuance-offer\",\n name: \"Create DIDComm Issuance Offer\",\n description: \"Tool to create a DIDComm credential issuance offer. Use when you need to offer credentials via DIDComm protocol after obtaining a project ID and credential template.\",\n input: ParadymCreateDidcommIssuanceOfferInput,\n output: ParadymCreateDidcommIssuanceOfferOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAuD,EAAE,OAAO;CAC3E,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;EACjJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CACpF,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAClF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CAC3D,YAAY,EAAE,OAAO;EACrB,YAAY,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8EAA8E;EAChH,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CAC/F,CAAC,CAAC,CAAC,SAAS,+DAA+D;CACzE,mBAAmB,EAAE,OAAO;EAC5B,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;EACvG,kBAAkB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACjJ,CAAC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACrF,qBAAqB,EAAE,OAAO,C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C,SAAS,CAAC,CAAC,SAAS;CACpG,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAM,oEAAkF,EAAE,OAAO;CAC/F,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAC9D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CAC3F,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC;CACrE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CAClF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC9E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACvF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CAC1D,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;AACvF,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAMzD,MAAa,oCAAoC,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVmE,EAAE,OAAO;EAC5E,iBAAiB,wDAAwD,SAAS;EAClF,mBAAmB,kEAAkE,SAAS,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-didcomm-issuance-offer.mjs","names":[],"sources":["../../src/actions/create-didcomm-issuance-offer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParadymCreateDidcommIssuanceOfferInput = z.object({\n goal: z.object({\n code: z.string().describe(\"Machine-readable goal code. Common values: 'issue-vc', 'request-proof', 'create-account', 'p2p-messaging'.\").optional(),\n description: z.string().describe(\"Human-readable description of the issuance goal\"),\n}).describe(\"Goal information included in both the invitation and offer.\").optional(),\n projectId: z.string().describe(\"Paradym project identifier\"),\n credential: z.object({\n attributes: z.record(z.string(), z.unknown()).describe(\"Key-value pairs of credential attributes (e.g., {'name': 'John', 'age': 25})\"),\n credentialTemplateId: z.string().describe(\"ID of the credential template to use for issuance\"),\n}).describe(\"Credential configuration including template ID and attributes\"),\n didcommInvitation: z.object({\n did: z.string().describe(\"DID method to use for the invitation. Currently only 'did:web' is supported.\"),\n createConnection: z.boolean().default(false).describe(\"Whether to create a connection as part of the invitation. Defaults to false.\").optional(),\n}).describe(\"Configuration for the DIDComm invitation containing the offer.\").optional(),\n didcommConnectionId: z.string().describe(\"Existing DIDComm connection ID. If provided, didcommInvitation is ignored.\").optional(),\n});\nconst ParadymCreateDidcommIssuanceOffer_ErrorDetailsSchema = z.object({\n code: z.number().int().describe(\"Error code\").nullable(),\n details: z.array(z.union([z.string(), z.record(z.string(), z.unknown())])).describe(\"Additional error details\").nullable().optional(),\n message: z.string().describe(\"Error message\").nullable(),\n}).passthrough().describe(\"Error details if the issuance fails.\");\nconst ParadymCreateDidcommIssuanceOffer_CredentialDetailsSchema = z.object({\n id: z.string().describe(\"Unique identifier for the credential\").nullable(),\n format: z.string().describe(\"Format of the credential\").nullable(),\n status: z.string().describe(\"Current status of the credential\").nullable(),\n exchange: z.string().describe(\"Exchange protocol used\").nullable(),\n revocable: z.boolean().describe(\"Whether the credential can be revoked\").nullable(),\n credentialTemplateId: z.string().describe(\"ID of the credential template used\").nullable(),\n}).passthrough().describe(\"Credential details in the issuance response.\");\nconst ParadymCreateDidcommIssuanceOffer_DidcommIssuanceSchema = z.object({\n id: z.string().describe(\"Unique identifier for the issuance\").nullable(),\n error: ParadymCreateDidcommIssuanceOffer_ErrorDetailsSchema.nullable().optional(),\n status: z.string().describe(\"Current status of the issuance (offered, completed, failed, expired)\").nullable(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the issuance was created\").nullable(),\n expiresAt: z.string().describe(\"ISO8601 timestamp when the issuance expires\").nullable(),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the issuance was last updated\").nullable(),\n credential: ParadymCreateDidcommIssuanceOffer_CredentialDetailsSchema.nullable(),\n didcommConnectionId: z.string().describe(\"DIDComm connection ID if applicable\").nullable().optional(),\n didcommInvitationId: z.string().describe(\"DIDComm invitation ID if applicable\").nullable().optional(),\n}).passthrough().describe(\"DIDComm issuance details in the response.\");\nconst ParadymCreateDidcommIssuanceOffer_DidcommInvitationResponseSchema = z.object({\n id: z.string().describe(\"Unique identifier for the invitation\").nullable(),\n did: z.string().describe(\"The public DID used for the invitation (starts with 'did:web:')\").nullable().optional(),\n status: z.string().describe(\"Current status of the invitation (completed, expired, active)\").nullable(),\n reusable: z.boolean().describe(\"Whether the invitation can be reused\").nullable(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the invitation was created\").nullable(),\n expiresAt: z.string().describe(\"ISO8601 timestamp when the invitation expires\").nullable(),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the invitation was last updated\").nullable(),\n invitationUri: z.string().describe(\"Direct invitation URI\").nullable(),\n invitationQrUri: z.string().describe(\"URI for displaying the invitation as a QR code\").nullable(),\n}).passthrough().describe(\"DIDComm invitation details in the response.\");\nexport const ParadymCreateDidcommIssuanceOfferOutput = z.object({\n didcommIssuance: ParadymCreateDidcommIssuanceOffer_DidcommIssuanceSchema.nullable(),\n didcommInvitation: ParadymCreateDidcommIssuanceOffer_DidcommInvitationResponseSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for creating a DIDComm issuance offer.\");\n\nexport const paradymCreateDidcommIssuanceOffer = action(\"PARADYM_CREATE_DIDCOMM_ISSUANCE_OFFER\", {\n slug: \"paradym-create-didcomm-issuance-offer\",\n name: \"Create DIDComm Issuance Offer\",\n description: \"Tool to create a DIDComm credential issuance offer. Use when you need to offer credentials via DIDComm protocol after obtaining a project ID and credential template.\",\n input: ParadymCreateDidcommIss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AAC,CAAC,SAAS,2CAA2C;AACrE,MAAM,oEAAoE,EAAE,OAAO;CACjF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACtG,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAChF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC7F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACzF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAClG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACrE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAMvE,MAAa,oCAAoC,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVqD,EAAE,OAAO;EAC9D,iBAAiB,wDAAwD,SAAS;EAClF,mBAAmB,kEAAkE,SAAS,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}
@@ -4,16 +4,16 @@ let zod = require("zod");
4
4
  const ParadymCreateOpenid4vcCredentialOfferInput = zod.z.object({
5
5
  projectId: zod.z.string().describe("The unique identifier of the project in which to create the credential offer"),
6
6
  credentials: zod.z.array(zod.z.object({
7
- attributes: zod.z.object({}).describe("Key-value pairs representing the attributes to include in the credential (e.g., fullName, email, etc.)"),
7
+ attributes: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Key-value pairs representing the attributes to include in the credential (e.g., fullName, email, etc.)"),
8
8
  credentialTemplateId: zod.z.string().describe("The ID of the credential template to use for this credential. Must be an SD-JWT VC or mDoc template.")
9
- }).describe("Represents a credential to be offered.")).describe("List of credentials to offer. Each credential requires a template ID and attributes.")
9
+ }).passthrough().describe("Represents a credential to be offered.")).describe("List of credentials to offer. Each credential requires a template ID and attributes.")
10
10
  }).describe("Request model for creating an OpenID4VC credential offer.");
11
11
  const ParadymCreateOpenid4vcCredentialOffer_ErrorDetailSchema = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Error detail object.");
12
12
  const ParadymCreateOpenid4vcCredentialOffer_ErrorResponseSchema = zod.z.object({
13
- code: zod.z.number().describe("Error code"),
13
+ code: zod.z.number().describe("Error code").nullable(),
14
14
  details: zod.z.array(ParadymCreateOpenid4vcCredentialOffer_ErrorDetailSchema).describe("Error details").nullable().optional(),
15
- message: zod.z.string().describe("Error message")
16
- }).describe("Error response structure.");
15
+ message: zod.z.string().describe("Error message").nullable()
16
+ }).passthrough().describe("Error response structure.");
17
17
  const ParadymCreateOpenid4vcCredentialOffer_OfferStatusSchema = zod.z.enum([
18
18
  "offered",
19
19
  "completed",
@@ -22,24 +22,24 @@ const ParadymCreateOpenid4vcCredentialOffer_OfferStatusSchema = zod.z.enum([
22
22
  "expired"
23
23
  ]).describe("Status of the credential offer.");
24
24
  const ParadymCreateOpenid4vcCredentialOffer_CredentialResponseItemSchema = zod.z.object({
25
- id: zod.z.string().describe("Unique identifier for the credential"),
26
- format: zod.z.string().describe("The format of the credential"),
27
- status: zod.z.string().describe("Status of the credential"),
28
- exchange: zod.z.string().describe("Exchange protocol identifier"),
29
- revocable: zod.z.boolean().describe("Whether the credential can be revoked after issuance"),
30
- credentialTemplateId: zod.z.string().describe("The credential template ID used for this credential")
31
- }).describe("Represents a credential in the offer response.");
25
+ id: zod.z.string().describe("Unique identifier for the credential").nullable(),
26
+ format: zod.z.string().describe("The format of the credential").nullable(),
27
+ status: zod.z.string().describe("Status of the credential").nullable(),
28
+ exchange: zod.z.string().describe("Exchange protocol identifier").nullable(),
29
+ revocable: zod.z.boolean().describe("Whether the credential can be revoked after issuance").nullable(),
30
+ credentialTemplateId: zod.z.string().describe("The credential template ID used for this credential").nullable()
31
+ }).passthrough().describe("Represents a credential in the offer response.");
32
32
  const ParadymCreateOpenid4vcCredentialOfferOutput = zod.z.object({
33
- id: zod.z.string().describe("Unique identifier for the credential offer"),
33
+ id: zod.z.string().describe("Unique identifier for the credential offer").nullable(),
34
34
  error: ParadymCreateOpenid4vcCredentialOffer_ErrorResponseSchema.nullable().optional(),
35
35
  status: ParadymCreateOpenid4vcCredentialOffer_OfferStatusSchema.nullable(),
36
- offerUri: zod.z.string().describe("URI that can be used to accept the credential offer"),
37
- createdAt: zod.z.string().describe("ISO timestamp when the offer was created"),
36
+ offerUri: zod.z.string().describe("URI that can be used to accept the credential offer").nullable(),
37
+ createdAt: zod.z.string().describe("ISO timestamp when the offer was created").nullable(),
38
38
  expiresAt: zod.z.string().describe("ISO timestamp when the offer expires").nullable().optional(),
39
- updatedAt: zod.z.string().describe("ISO timestamp when the offer was last updated"),
40
- offerQrUri: zod.z.string().describe("QR code URI for the credential offer"),
39
+ updatedAt: zod.z.string().describe("ISO timestamp when the offer was last updated").nullable(),
40
+ offerQrUri: zod.z.string().describe("QR code URI for the credential offer").nullable(),
41
41
  credentials: zod.z.array(ParadymCreateOpenid4vcCredentialOffer_CredentialResponseItemSchema).describe("List of credentials in the offer")
42
- }).describe("Response model for creating an OpenID4VC credential offer.");
42
+ }).passthrough().describe("Response model for creating an OpenID4VC credential offer.");
43
43
  const paradymCreateOpenid4vcCredentialOffer = require_action.action("PARADYM_CREATE_OPENID4VC_CREDENTIAL_OFFER", {
44
44
  slug: "paradym-create-openid4vc-credential-offer",
45
45
  name: "Create OpenID4VC Credential Offer",
@@ -1 +1 @@
1
- {"version":3,"file":"create-openid4vc-credential-offer.cjs","names":["z","action"],"sources":["../../src/actions/create-openid4vc-credential-offer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParadymCreateOpenid4vcCredentialOfferInput: z.ZodTypeAny = z.object({\n projectId: z.string().describe(\"The unique identifier of the project in which to create the credential offer\"),\n credentials: z.array(z.object({\n attributes: z.object({}).describe(\"Key-value pairs representing the attributes to include in the credential (e.g., fullName, email, etc.)\"),\n credentialTemplateId: z.string().describe(\"The ID of the credential template to use for this credential. Must be an SD-JWT VC or mDoc template.\"),\n}).describe(\"Represents a credential to be offered.\")).describe(\"List of credentials to offer. Each credential requires a template ID and attributes.\"),\n}).describe(\"Request model for creating an OpenID4VC credential offer.\");\nconst ParadymCreateOpenid4vcCredentialOffer_ErrorDetailSchema: z.ZodTypeAny = z.record(z.string(), z.unknown()).describe(\"Error detail object.\");\nconst ParadymCreateOpenid4vcCredentialOffer_ErrorResponseSchema: z.ZodTypeAny = z.object({\n code: z.number().describe(\"Error code\"),\n details: z.array(ParadymCreateOpenid4vcCredentialOffer_ErrorDetailSchema).describe(\"Error details\").nullable().optional(),\n message: z.string().describe(\"Error message\"),\n}).describe(\"Error response structure.\");\nconst ParadymCreateOpenid4vcCredentialOffer_OfferStatusSchema: z.ZodTypeAny = z.enum([\"offered\", \"completed\", \"failed\", \"partiallyIssued\", \"expired\"]).describe(\"Status of the credential offer.\");\nconst ParadymCreateOpenid4vcCredentialOffer_CredentialResponseItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the credential\"),\n format: z.string().describe(\"The format of the credential\"),\n status: z.string().describe(\"Status of the credential\"),\n exchange: z.string().describe(\"Exchange protocol identifier\"),\n revocable: z.boolean().describe(\"Whether the credential can be revoked after issuance\"),\n credentialTemplateId: z.string().describe(\"The credential template ID used for this credential\"),\n}).describe(\"Represents a credential in the offer response.\");\nexport const ParadymCreateOpenid4vcCredentialOfferOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the credential offer\"),\n error: ParadymCreateOpenid4vcCredentialOffer_ErrorResponseSchema.nullable().optional(),\n status: ParadymCreateOpenid4vcCredentialOffer_OfferStatusSchema.nullable(),\n offerUri: z.string().describe(\"URI that can be used to accept the credential offer\"),\n createdAt: z.string().describe(\"ISO timestamp when the offer was created\"),\n expiresAt: z.string().describe(\"ISO timestamp when the offer expires\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO timestamp when the offer was last updated\"),\n offerQrUri: z.string().describe(\"QR code URI for the credential offer\"),\n credentials: z.array(ParadymCreateOpenid4vcCredentialOffer_CredentialResponseItemSchema).describe(\"List of credentials in the offer\"),\n}).describe(\"Response model for creating an OpenID4VC credential offer.\");\n\nexport const paradymCreateOpenid4vcCredentialOffer = action(\"PARADYM_CREATE_OPENID4VC_CREDENTIAL_OFFER\", {\n slug: \"paradym-create-openid4vc-credential-offer\",\n name: \"Create OpenID4VC Credential Offer\",\n description: \"Tool to create an OpenID4VC credential offer. Use when you need to issue verifiable credentials using OpenID4VC protocol. Note: Only works with SD-JWT VC and mDoc credential templates.\",\n input: ParadymCreateOpenid4vcCredentialOfferInput,\n output: ParadymCreateOpenid4vcCredentialOfferOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA2DA,IAAAA,EAAE,OAAO;CAC/E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;CAC7G,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC9B,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wGAAwG;EAC1I,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG;CAClJ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,CAAC,SAAS,sFAAsF;AACtJ,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,0DAAwEA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAA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AAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACtE,aAAaA,IAAAA,EAAE,MAAM,kEAAkE,CAAC,CAAC,SAAS,kCAAkC;AACtI,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAExE,MAAa,wCAAwCC,eAAAA,OAAO,6CAA6C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-openid4vc-credential-offer.cjs","names":["z","action"],"sources":["../../src/actions/create-openid4vc-credential-offer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParadymCreateOpenid4vcCredentialOfferInput = z.object({\n projectId: z.string().describe(\"The unique identifier of the project in which to create the credential offer\"),\n credentials: z.array(z.object({\n attributes: z.record(z.string(), z.unknown()).describe(\"Key-value pairs representing the attributes to include in the credential (e.g., fullName, email, etc.)\"),\n credentialTemplateId: z.string().describe(\"The ID of the credential template to use for this credential. Must be an SD-JWT VC or mDoc template.\"),\n}).passthrough().describe(\"Represents a credential to be offered.\")).describe(\"List of credentials to offer. Each credential requires a template ID and attributes.\"),\n}).describe(\"Request model for creating an OpenID4VC credential offer.\");\nconst ParadymCreateOpenid4vcCredentialOffer_ErrorDetailSchema = z.record(z.string(), z.unknown()).describe(\"Error detail object.\");\nconst ParadymCreateOpenid4vcCredentialOffer_ErrorResponseSchema = z.object({\n code: z.number().describe(\"Error code\").nullable(),\n details: z.array(ParadymCreateOpenid4vcCredentialOffer_ErrorDetailSchema).describe(\"Error details\").nullable().optional(),\n message: z.string().describe(\"Error message\").nullable(),\n}).passthrough().describe(\"Error response structure.\");\nconst ParadymCreateOpenid4vcCredentialOffer_OfferStatusSchema = z.enum([\"offered\", \"completed\", \"failed\", \"partiallyIssued\", \"expired\"]).describe(\"Status of the credential offer.\");\nconst ParadymCreateOpenid4vcCredentialOffer_CredentialResponseItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the credential\").nullable(),\n format: z.string().describe(\"The format of the credential\").nullable(),\n status: z.string().describe(\"Status of the credential\").nullable(),\n exchange: z.string().describe(\"Exchange protocol identifier\").nullable(),\n revocable: z.boolean().describe(\"Whether the credential can be revoked after issuance\").nullable(),\n credentialTemplateId: z.string().describe(\"The credential template ID used for this credential\").nullable(),\n}).passthrough().describe(\"Represents a credential in the offer response.\");\nexport const ParadymCreateOpenid4vcCredentialOfferOutput = z.object({\n id: z.string().describe(\"Unique identifier for the credential offer\").nullable(),\n error: ParadymCreateOpenid4vcCredentialOffer_ErrorResponseSchema.nullable().optional(),\n status: ParadymCreateOpenid4vcCredentialOffer_OfferStatusSchema.nullable(),\n offerUri: z.string().describe(\"URI that can be used to accept the credential offer\").nullable(),\n createdAt: z.string().describe(\"ISO timestamp when the offer was created\").nullable(),\n expiresAt: z.string().describe(\"ISO timestamp when the offer expires\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO timestamp when the offer was last updated\").nullable(),\n offerQrUri: z.string().describe(\"QR code URI for the credential offer\").nullable(),\n credentials: z.array(ParadymCreateOpenid4vcCredentialOffer_CredentialResponseItemSchema).describe(\"List of credentials in the offer\"),\n}).passthrough().describe(\"Response model for creating an OpenID4VC credential offer.\");\n\nexport const paradymCreateOpenid4vcCredentialOffer = action(\"PARADYM_CREATE_OPENID4VC_CREDENTIAL_OFFER\", {\n slug: \"paradym-create-openid4vc-credential-offer\",\n name: \"Create OpenID4VC Credential Offer\",\n description: \"Tool to create an OpenID4VC credential offer. Use when you need to issue verifiable credentials using OpenID4VC protocol. Note: Only works with SD-JWT VC and mDoc credential templates.\",\n input: ParadymCreateOpenid4vcCredentialOfferInput,\n output: ParadymCreateOpenid4vcCredentialOfferOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA6CA,IAAAA,E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actions/create-openid4vc-credential-offer.d.ts
4
- declare const ParadymCreateOpenid4vcCredentialOfferInput: z.ZodTypeAny;
5
- declare const ParadymCreateOpenid4vcCredentialOfferOutput: z.ZodTypeAny;
6
- declare const paradymCreateOpenid4vcCredentialOffer: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParadymCreateOpenid4vcCredentialOfferInput: z.ZodObject<{
5
+ projectId: z.ZodString;
6
+ credentials: z.ZodArray<z.ZodObject<{
7
+ attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
+ credentialTemplateId: z.ZodString;
9
+ }, z.core.$loose>>;
10
+ }, z.core.$strip>;
11
+ declare const ParadymCreateOpenid4vcCredentialOfferOutput: z.ZodObject<{
12
+ id: z.ZodNullable<z.ZodString>;
13
+ error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14
+ code: z.ZodNullable<z.ZodNumber>;
15
+ details: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
16
+ message: z.ZodNullable<z.ZodString>;
17
+ }, z.core.$loose>>>;
18
+ status: z.ZodNullable<z.ZodEnum<{
19
+ expired: "expired";
20
+ offered: "offered";
21
+ completed: "completed";
22
+ failed: "failed";
23
+ partiallyIssued: "partiallyIssued";
24
+ }>>;
25
+ offerUri: z.ZodNullable<z.ZodString>;
26
+ createdAt: z.ZodNullable<z.ZodString>;
27
+ expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ updatedAt: z.ZodNullable<z.ZodString>;
29
+ offerQrUri: z.ZodNullable<z.ZodString>;
30
+ credentials: z.ZodArray<z.ZodObject<{
31
+ id: z.ZodNullable<z.ZodString>;
32
+ format: z.ZodNullable<z.ZodString>;
33
+ status: z.ZodNullable<z.ZodString>;
34
+ exchange: z.ZodNullable<z.ZodString>;
35
+ revocable: z.ZodNullable<z.ZodBoolean>;
36
+ credentialTemplateId: z.ZodNullable<z.ZodString>;
37
+ }, z.core.$loose>>;
38
+ }, z.core.$loose>;
39
+ declare const paradymCreateOpenid4vcCredentialOffer: import("@keystrokehq/action").WorkflowActionDefinition<{
40
+ projectId: string;
41
+ credentials: {
42
+ [x: string]: unknown;
43
+ attributes: Record<string, unknown>;
44
+ credentialTemplateId: string;
45
+ }[];
46
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
47
  //#endregion
8
48
  export { paradymCreateOpenid4vcCredentialOffer };
9
49
  //# sourceMappingURL=create-openid4vc-credential-offer.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-openid4vc-credential-offer.d.cts","names":[],"sources":["../../src/actions/create-openid4vc-credential-offer.ts"],"mappings":";;;cAIa,0CAAA,EAA4C,CAAA,CAAE,UAMa;AAAA,cAgB3D,2CAAA,EAA6C,CAAA,CAAE,UAUa;AAAA,cAE5D,qCAAA,gCAAqC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-openid4vc-credential-offer.d.cts","names":[],"sources":["../../src/actions/create-openid4vc-credential-offer.ts"],"mappings":";;;cAIa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;cAsB1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAY3C,qCAAA,gCAAqC,wBAAA;;;;gBAMhD,MAAA"}
@@ -1,9 +1,49 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-openid4vc-credential-offer.d.ts
4
- declare const ParadymCreateOpenid4vcCredentialOfferInput: z.ZodTypeAny;
5
- declare const ParadymCreateOpenid4vcCredentialOfferOutput: z.ZodTypeAny;
6
- declare const paradymCreateOpenid4vcCredentialOffer: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParadymCreateOpenid4vcCredentialOfferInput: z.ZodObject<{
5
+ projectId: z.ZodString;
6
+ credentials: z.ZodArray<z.ZodObject<{
7
+ attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
+ credentialTemplateId: z.ZodString;
9
+ }, z.core.$loose>>;
10
+ }, z.core.$strip>;
11
+ declare const ParadymCreateOpenid4vcCredentialOfferOutput: z.ZodObject<{
12
+ id: z.ZodNullable<z.ZodString>;
13
+ error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14
+ code: z.ZodNullable<z.ZodNumber>;
15
+ details: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
16
+ message: z.ZodNullable<z.ZodString>;
17
+ }, z.core.$loose>>>;
18
+ status: z.ZodNullable<z.ZodEnum<{
19
+ expired: "expired";
20
+ offered: "offered";
21
+ completed: "completed";
22
+ failed: "failed";
23
+ partiallyIssued: "partiallyIssued";
24
+ }>>;
25
+ offerUri: z.ZodNullable<z.ZodString>;
26
+ createdAt: z.ZodNullable<z.ZodString>;
27
+ expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ updatedAt: z.ZodNullable<z.ZodString>;
29
+ offerQrUri: z.ZodNullable<z.ZodString>;
30
+ credentials: z.ZodArray<z.ZodObject<{
31
+ id: z.ZodNullable<z.ZodString>;
32
+ format: z.ZodNullable<z.ZodString>;
33
+ status: z.ZodNullable<z.ZodString>;
34
+ exchange: z.ZodNullable<z.ZodString>;
35
+ revocable: z.ZodNullable<z.ZodBoolean>;
36
+ credentialTemplateId: z.ZodNullable<z.ZodString>;
37
+ }, z.core.$loose>>;
38
+ }, z.core.$loose>;
39
+ declare const paradymCreateOpenid4vcCredentialOffer: import("@keystrokehq/action").WorkflowActionDefinition<{
40
+ projectId: string;
41
+ credentials: {
42
+ [x: string]: unknown;
43
+ attributes: Record<string, unknown>;
44
+ credentialTemplateId: string;
45
+ }[];
46
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
47
  //#endregion
8
48
  export { paradymCreateOpenid4vcCredentialOffer };
9
49
  //# sourceMappingURL=create-openid4vc-credential-offer.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-openid4vc-credential-offer.d.mts","names":[],"sources":["../../src/actions/create-openid4vc-credential-offer.ts"],"mappings":";;;cAIa,0CAAA,EAA4C,CAAA,CAAE,UAMa;AAAA,cAgB3D,2CAAA,EAA6C,CAAA,CAAE,UAUa;AAAA,cAE5D,qCAAA,gCAAqC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-openid4vc-credential-offer.d.mts","names":[],"sources":["../../src/actions/create-openid4vc-credential-offer.ts"],"mappings":";;;cAIa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;cAsB1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAY3C,qCAAA,gCAAqC,wBAAA;;;;gBAMhD,MAAA"}
@@ -4,16 +4,16 @@ import { z } from "zod";
4
4
  const ParadymCreateOpenid4vcCredentialOfferInput = z.object({
5
5
  projectId: z.string().describe("The unique identifier of the project in which to create the credential offer"),
6
6
  credentials: z.array(z.object({
7
- attributes: z.object({}).describe("Key-value pairs representing the attributes to include in the credential (e.g., fullName, email, etc.)"),
7
+ attributes: z.record(z.string(), z.unknown()).describe("Key-value pairs representing the attributes to include in the credential (e.g., fullName, email, etc.)"),
8
8
  credentialTemplateId: z.string().describe("The ID of the credential template to use for this credential. Must be an SD-JWT VC or mDoc template.")
9
- }).describe("Represents a credential to be offered.")).describe("List of credentials to offer. Each credential requires a template ID and attributes.")
9
+ }).passthrough().describe("Represents a credential to be offered.")).describe("List of credentials to offer. Each credential requires a template ID and attributes.")
10
10
  }).describe("Request model for creating an OpenID4VC credential offer.");
11
11
  const ParadymCreateOpenid4vcCredentialOffer_ErrorDetailSchema = z.record(z.string(), z.unknown()).describe("Error detail object.");
12
12
  const ParadymCreateOpenid4vcCredentialOffer_ErrorResponseSchema = z.object({
13
- code: z.number().describe("Error code"),
13
+ code: z.number().describe("Error code").nullable(),
14
14
  details: z.array(ParadymCreateOpenid4vcCredentialOffer_ErrorDetailSchema).describe("Error details").nullable().optional(),
15
- message: z.string().describe("Error message")
16
- }).describe("Error response structure.");
15
+ message: z.string().describe("Error message").nullable()
16
+ }).passthrough().describe("Error response structure.");
17
17
  const ParadymCreateOpenid4vcCredentialOffer_OfferStatusSchema = z.enum([
18
18
  "offered",
19
19
  "completed",
@@ -22,29 +22,29 @@ const ParadymCreateOpenid4vcCredentialOffer_OfferStatusSchema = z.enum([
22
22
  "expired"
23
23
  ]).describe("Status of the credential offer.");
24
24
  const ParadymCreateOpenid4vcCredentialOffer_CredentialResponseItemSchema = z.object({
25
- id: z.string().describe("Unique identifier for the credential"),
26
- format: z.string().describe("The format of the credential"),
27
- status: z.string().describe("Status of the credential"),
28
- exchange: z.string().describe("Exchange protocol identifier"),
29
- revocable: z.boolean().describe("Whether the credential can be revoked after issuance"),
30
- credentialTemplateId: z.string().describe("The credential template ID used for this credential")
31
- }).describe("Represents a credential in the offer response.");
25
+ id: z.string().describe("Unique identifier for the credential").nullable(),
26
+ format: z.string().describe("The format of the credential").nullable(),
27
+ status: z.string().describe("Status of the credential").nullable(),
28
+ exchange: z.string().describe("Exchange protocol identifier").nullable(),
29
+ revocable: z.boolean().describe("Whether the credential can be revoked after issuance").nullable(),
30
+ credentialTemplateId: z.string().describe("The credential template ID used for this credential").nullable()
31
+ }).passthrough().describe("Represents a credential in the offer response.");
32
32
  const paradymCreateOpenid4vcCredentialOffer = action("PARADYM_CREATE_OPENID4VC_CREDENTIAL_OFFER", {
33
33
  slug: "paradym-create-openid4vc-credential-offer",
34
34
  name: "Create OpenID4VC Credential Offer",
35
35
  description: "Tool to create an OpenID4VC credential offer. Use when you need to issue verifiable credentials using OpenID4VC protocol. Note: Only works with SD-JWT VC and mDoc credential templates.",
36
36
  input: ParadymCreateOpenid4vcCredentialOfferInput,
37
37
  output: z.object({
38
- id: z.string().describe("Unique identifier for the credential offer"),
38
+ id: z.string().describe("Unique identifier for the credential offer").nullable(),
39
39
  error: ParadymCreateOpenid4vcCredentialOffer_ErrorResponseSchema.nullable().optional(),
40
40
  status: ParadymCreateOpenid4vcCredentialOffer_OfferStatusSchema.nullable(),
41
- offerUri: z.string().describe("URI that can be used to accept the credential offer"),
42
- createdAt: z.string().describe("ISO timestamp when the offer was created"),
41
+ offerUri: z.string().describe("URI that can be used to accept the credential offer").nullable(),
42
+ createdAt: z.string().describe("ISO timestamp when the offer was created").nullable(),
43
43
  expiresAt: z.string().describe("ISO timestamp when the offer expires").nullable().optional(),
44
- updatedAt: z.string().describe("ISO timestamp when the offer was last updated"),
45
- offerQrUri: z.string().describe("QR code URI for the credential offer"),
44
+ updatedAt: z.string().describe("ISO timestamp when the offer was last updated").nullable(),
45
+ offerQrUri: z.string().describe("QR code URI for the credential offer").nullable(),
46
46
  credentials: z.array(ParadymCreateOpenid4vcCredentialOffer_CredentialResponseItemSchema).describe("List of credentials in the offer")
47
- }).describe("Response model for creating an OpenID4VC credential offer.")
47
+ }).passthrough().describe("Response model for creating an OpenID4VC credential offer.")
48
48
  });
49
49
  //#endregion
50
50
  export { paradymCreateOpenid4vcCredentialOffer };
@@ -1 +1 @@
1
- {"version":3,"file":"create-openid4vc-credential-offer.mjs","names":[],"sources":["../../src/actions/create-openid4vc-credential-offer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParadymCreateOpenid4vcCredentialOfferInput: z.ZodTypeAny = z.object({\n projectId: z.string().describe(\"The unique identifier of the project in which to create the credential offer\"),\n credentials: z.array(z.object({\n attributes: z.object({}).describe(\"Key-value pairs representing the attributes to include in the credential (e.g., fullName, email, etc.)\"),\n credentialTemplateId: z.string().describe(\"The ID of the credential template to use for this credential. Must be an SD-JWT VC or mDoc template.\"),\n}).describe(\"Represents a credential to be offered.\")).describe(\"List of credentials to offer. Each credential requires a template ID and attributes.\"),\n}).describe(\"Request model for creating an OpenID4VC credential offer.\");\nconst ParadymCreateOpenid4vcCredentialOffer_ErrorDetailSchema: z.ZodTypeAny = z.record(z.string(), z.unknown()).describe(\"Error detail object.\");\nconst ParadymCreateOpenid4vcCredentialOffer_ErrorResponseSchema: z.ZodTypeAny = z.object({\n code: z.number().describe(\"Error code\"),\n details: z.array(ParadymCreateOpenid4vcCredentialOffer_ErrorDetailSchema).describe(\"Error details\").nullable().optional(),\n message: z.string().describe(\"Error message\"),\n}).describe(\"Error response structure.\");\nconst ParadymCreateOpenid4vcCredentialOffer_OfferStatusSchema: z.ZodTypeAny = z.enum([\"offered\", \"completed\", \"failed\", \"partiallyIssued\", \"expired\"]).describe(\"Status of the credential offer.\");\nconst ParadymCreateOpenid4vcCredentialOffer_CredentialResponseItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the credential\"),\n format: z.string().describe(\"The format of the credential\"),\n status: z.string().describe(\"Status of the credential\"),\n exchange: z.string().describe(\"Exchange protocol identifier\"),\n revocable: z.boolean().describe(\"Whether the credential can be revoked after issuance\"),\n credentialTemplateId: z.string().describe(\"The credential template ID used for this credential\"),\n}).describe(\"Represents a credential in the offer response.\");\nexport const ParadymCreateOpenid4vcCredentialOfferOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the credential offer\"),\n error: ParadymCreateOpenid4vcCredentialOffer_ErrorResponseSchema.nullable().optional(),\n status: ParadymCreateOpenid4vcCredentialOffer_OfferStatusSchema.nullable(),\n offerUri: z.string().describe(\"URI that can be used to accept the credential offer\"),\n createdAt: z.string().describe(\"ISO timestamp when the offer was created\"),\n expiresAt: z.string().describe(\"ISO timestamp when the offer expires\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO timestamp when the offer was last updated\"),\n offerQrUri: z.string().describe(\"QR code URI for the credential offer\"),\n credentials: z.array(ParadymCreateOpenid4vcCredentialOffer_CredentialResponseItemSchema).describe(\"List of credentials in the offer\"),\n}).describe(\"Response model for creating an OpenID4VC credential offer.\");\n\nexport const paradymCreateOpenid4vcCredentialOffer = action(\"PARADYM_CREATE_OPENID4VC_CREDENTIAL_OFFER\", {\n slug: \"paradym-create-openid4vc-credential-offer\",\n name: \"Create OpenID4VC Credential Offer\",\n description: \"Tool to create an OpenID4VC credential offer. Use when you need to issue verifiable credentials using OpenID4VC protocol. Note: Only works with SD-JWT VC and mDoc credential templates.\",\n input: ParadymCreateOpenid4vcCredentialOfferInput,\n output: ParadymCreateOpenid4vcCredentialOfferOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA2D,EAAE,OAAO;CAC/E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;CAC7G,aAAa,EAAE,MAAM,EAAE,OAAO;EAC9B,YAAY,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wGAAwG;EAC1I,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG;CAClJ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,CAAC,SAAS,sFAAsF;AACtJ,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,0DAAwE,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sBAAsB;AAC/I,MAAM,4DAA0E,EAAE,OAAO;CACvF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY;CACtC,SAAS,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;AAC9C,CAAC,CAAC,CAAC,SAAS,2BAA2B;AACvC,MAAM,0DAAwE,EAAE,KAAK;CAAC;CAAW;CAAa;CAAU;CAAmB;AAAS,CAAC,CAAC,CAAC,SAAS,iCAAiC;AACjM,MAAM,qEAAmF,EAAE,OAAO;CAChG,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAC9D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC1D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACtD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC5D,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD;CACtF,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;AACjG,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAa5D,MAAa,wCAAwC,OAAO,6CAA6C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAjBuE,EAAE,OAAO;EAChF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACpE,OAAO,0DAA0D,SAAS,CAAC,CAAC,SAAS;EACrF,QAAQ,wDAAwD,SAAS;EACzE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;EACnF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EACzE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;EACtE,aAAa,EAAE,MAAM,kEAAkE,CAAC,CAAC,SAAS,kCAAkC;CACtI,CAAC,CAAC,CAAC,SAAS,4DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-openid4vc-credential-offer.mjs","names":[],"sources":["../../src/actions/create-openid4vc-credential-offer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParadymCreateOpenid4vcCredentialOfferInput = z.object({\n projectId: z.string().describe(\"The unique identifier of the project in which to create the credential offer\"),\n credentials: z.array(z.object({\n attributes: z.record(z.string(), z.unknown()).describe(\"Key-value pairs representing the attributes to include in the credential (e.g., fullName, email, etc.)\"),\n credentialTemplateId: z.string().describe(\"The ID of the credential template to use for this credential. Must be an SD-JWT VC or mDoc template.\"),\n}).passthrough().describe(\"Represents a credential to be offered.\")).describe(\"List of credentials to offer. Each credential requires a template ID and attributes.\"),\n}).describe(\"Request model for creating an OpenID4VC credential offer.\");\nconst ParadymCreateOpenid4vcCredentialOffer_ErrorDetailSchema = z.record(z.string(), z.unknown()).describe(\"Error detail object.\");\nconst ParadymCreateOpenid4vcCredentialOffer_ErrorResponseSchema = z.object({\n code: z.number().describe(\"Error code\").nullable(),\n details: z.array(ParadymCreateOpenid4vcCredentialOffer_ErrorDetailSchema).describe(\"Error details\").nullable().optional(),\n message: z.string().describe(\"Error message\").nullable(),\n}).passthrough().describe(\"Error response structure.\");\nconst ParadymCreateOpenid4vcCredentialOffer_OfferStatusSchema = z.enum([\"offered\", \"completed\", \"failed\", \"partiallyIssued\", \"expired\"]).describe(\"Status of the credential offer.\");\nconst ParadymCreateOpenid4vcCredentialOffer_CredentialResponseItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the credential\").nullable(),\n format: z.string().describe(\"The format of the credential\").nullable(),\n status: z.string().describe(\"Status of the credential\").nullable(),\n exchange: z.string().describe(\"Exchange protocol identifier\").nullable(),\n revocable: z.boolean().describe(\"Whether the credential can be revoked after issuance\").nullable(),\n credentialTemplateId: z.string().describe(\"The credential template ID used for this credential\").nullable(),\n}).passthrough().describe(\"Represents a credential in the offer response.\");\nexport const ParadymCreateOpenid4vcCredentialOfferOutput = z.object({\n id: z.string().describe(\"Unique identifier for the credential offer\").nullable(),\n error: ParadymCreateOpenid4vcCredentialOffer_ErrorResponseSchema.nullable().optional(),\n status: ParadymCreateOpenid4vcCredentialOffer_OfferStatusSchema.nullable(),\n offerUri: z.string().describe(\"URI that can be used to accept the credential offer\").nullable(),\n createdAt: z.string().describe(\"ISO timestamp when the offer was created\").nullable(),\n expiresAt: z.string().describe(\"ISO timestamp when the offer expires\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO timestamp when the offer was last updated\").nullable(),\n offerQrUri: z.string().describe(\"QR code URI for the credential offer\").nullable(),\n credentials: z.array(ParadymCreateOpenid4vcCredentialOffer_CredentialResponseItemSchema).describe(\"List of credentials in the offer\"),\n}).passthrough().describe(\"Response model for creating an OpenID4VC credential offer.\");\n\nexport const paradymCreateOpenid4vcCredentialOffer = action(\"PARADYM_CREATE_OPENID4VC_CREDENTIAL_OFFER\", {\n slug: \"paradym-create-openid4vc-credential-offer\",\n name: \"Create OpenID4VC Credential Offer\",\n description: \"Tool to create an OpenID4VC credential offer. Use when you need to issue verifiable credentials using OpenID4VC protocol. Note: Only works with SD-JWT VC and mDoc credential templates.\",\n input: ParadymCreateOpenid4vcCredentialOfferInput,\n output: ParadymCreateOpenid4vcCredentialOfferOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA6C,EAAE,OAAO;CACjE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;CAC7G,aAAa,EAAE,MAAM,EAAE,OAAO;EAC9B,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wGAAwG;EAC/J,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG;CAClJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,CAAC,SAAS,sFAAsF;AACpK,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,0DAA0D,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sBAAsB;AACjI,MAAM,4DAA4D,EAAE,OAAO;CACzE,MAAM,EAAE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,0CAA0C,CAAC,CAAC,SAAS;EACpF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACzF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACjF,aAAa,EAAE,MAAM,kEAAkE,CAAC,CAAC,SAAS,kCAAkC;CACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAOhB;AACV,CAAC"}
@@ -7,10 +7,10 @@ const ParadymCreateOpenid4vcVerificationRequestInput = zod.z.object({
7
7
  requireResponseEncryption: zod.z.boolean().describe("Whether to require the presentation response from the wallet to be encrypted. If enabled, the response_mode will be set to 'direct_post.jwt'. If not enabled, the response_mode will be set to 'direct_post'. Defaults to true when OpenID4VC V1 is used, and when a presentation contains mDOCs with the legacy OpenID4VC version.").optional()
8
8
  }).describe("Request model for creating an OpenID4VC verification request.");
9
9
  const ParadymCreateOpenid4vcVerificationRequest_VerificationErrorSchema = zod.z.object({
10
- code: zod.z.number().int().describe("Error code"),
11
- details: zod.z.array(zod.z.object({})).describe("Additional error details"),
12
- message: zod.z.string().describe("Error message")
13
- }).describe("Details of any error encountered during verification.");
10
+ code: zod.z.number().int().describe("Error code").nullable(),
11
+ details: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Additional error details"),
12
+ message: zod.z.string().describe("Error message").nullable()
13
+ }).passthrough().describe("Details of any error encountered during verification.");
14
14
  const ParadymCreateOpenid4vcVerificationRequest_VerificationStatusSchema = zod.z.enum([
15
15
  "failed",
16
16
  "expired",
@@ -18,17 +18,17 @@ const ParadymCreateOpenid4vcVerificationRequest_VerificationStatusSchema = zod.z
18
18
  "verified"
19
19
  ]).describe("Status of the verification request.");
20
20
  const ParadymCreateOpenid4vcVerificationRequestOutput = zod.z.object({
21
- id: zod.z.string().describe("Unique identifier of the verification request"),
21
+ id: zod.z.string().describe("Unique identifier of the verification request").nullable(),
22
22
  error: ParadymCreateOpenid4vcVerificationRequest_VerificationErrorSchema.nullable().optional(),
23
23
  status: ParadymCreateOpenid4vcVerificationRequest_VerificationStatusSchema.nullable(),
24
- createdAt: zod.z.string().describe("ISO8601 timestamp when the request was created"),
25
- expiresAt: zod.z.string().describe("ISO8601 timestamp when the request expires"),
26
- updatedAt: zod.z.string().describe("ISO8601 timestamp when the request was last updated"),
27
- credentials: zod.z.array(zod.z.object({})).describe("List of credentials involved in the verification"),
28
- presentationTemplateId: zod.z.string().describe("Identifier of the presentation template used"),
29
- authorizationRequestUri: zod.z.string().describe("URI for the authorization request"),
30
- authorizationRequestQrUri: zod.z.string().describe("QR code URI for the authorization request")
31
- }).describe("Response model for creating an OpenID4VC verification request.");
24
+ createdAt: zod.z.string().describe("ISO8601 timestamp when the request was created").nullable(),
25
+ expiresAt: zod.z.string().describe("ISO8601 timestamp when the request expires").nullable(),
26
+ updatedAt: zod.z.string().describe("ISO8601 timestamp when the request was last updated").nullable(),
27
+ credentials: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of credentials involved in the verification"),
28
+ presentationTemplateId: zod.z.string().describe("Identifier of the presentation template used").nullable(),
29
+ authorizationRequestUri: zod.z.string().describe("URI for the authorization request").nullable(),
30
+ authorizationRequestQrUri: zod.z.string().describe("QR code URI for the authorization request").nullable()
31
+ }).passthrough().describe("Response model for creating an OpenID4VC verification request.");
32
32
  const paradymCreateOpenid4vcVerificationRequest = require_action.action("PARADYM_CREATE_OPENID4VC_VERIFICATION_REQUEST", {
33
33
  slug: "paradym-create-openid4vc-verification-request",
34
34
  name: "Create OpenID4VC Verification Request",
@@ -1 +1 @@
1
- {"version":3,"file":"create-openid4vc-verification-request.cjs","names":["z","action"],"sources":["../../src/actions/create-openid4vc-verification-request.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParadymCreateOpenid4vcVerificationRequestInput: z.ZodTypeAny = z.object({\n projectId: z.string().describe(\"Unique identifier of the project\"),\n presentationTemplateId: z.string().describe(\"Unique identifier of the presentation template to use for the verification request\"),\n requireResponseEncryption: z.boolean().describe(\"Whether to require the presentation response from the wallet to be encrypted. If enabled, the response_mode will be set to 'direct_post.jwt'. If not enabled, the response_mode will be set to 'direct_post'. Defaults to true when OpenID4VC V1 is used, and when a presentation contains mDOCs with the legacy OpenID4VC version.\").optional(),\n}).describe(\"Request model for creating an OpenID4VC verification request.\");\nconst ParadymCreateOpenid4vcVerificationRequest_VerificationErrorSchema: z.ZodTypeAny = z.object({\n code: z.number().int().describe(\"Error code\"),\n details: z.array(z.object({})).describe(\"Additional error details\"),\n message: z.string().describe(\"Error message\"),\n}).describe(\"Details of any error encountered during verification.\");\nconst ParadymCreateOpenid4vcVerificationRequest_VerificationStatusSchema: z.ZodTypeAny = z.enum([\"failed\", \"expired\", \"requested\", \"verified\"]).describe(\"Status of the verification request.\");\nexport const ParadymCreateOpenid4vcVerificationRequestOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the verification request\"),\n error: ParadymCreateOpenid4vcVerificationRequest_VerificationErrorSchema.nullable().optional(),\n status: ParadymCreateOpenid4vcVerificationRequest_VerificationStatusSchema.nullable(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the request was created\"),\n expiresAt: z.string().describe(\"ISO8601 timestamp when the request expires\"),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the request was last updated\"),\n credentials: z.array(z.object({})).describe(\"List of credentials involved in the verification\"),\n presentationTemplateId: z.string().describe(\"Identifier of the presentation template used\"),\n authorizationRequestUri: z.string().describe(\"URI for the authorization request\"),\n authorizationRequestQrUri: z.string().describe(\"QR code URI for the authorization request\"),\n}).describe(\"Response model for creating an OpenID4VC verification request.\");\n\nexport const paradymCreateOpenid4vcVerificationRequest = action(\"PARADYM_CREATE_OPENID4VC_VERIFICATION_REQUEST\", {\n slug: \"paradym-create-openid4vc-verification-request\",\n name: \"Create OpenID4VC Verification Request\",\n description: \"Tool to create an OpenID4VC verification request. Use when you need to initiate a credential verification flow with a presentation template.\",\n input: ParadymCreateOpenid4vcVerificationRequestInput,\n output: ParadymCreateOpenid4vcVerificationRequestOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iDAA+DA,IAAAA,EAAE,OAAO;CACnF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CACjE,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF;CAChI,2BAA2BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qUAAqU,CAAC,CAAC,SAAS;AAClY,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,oEAAkFA,IAAAA,EAAE,OAAO;CAC/F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY;CAC5C,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,0BAA0B;CAClE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;AAC9C,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,qEAAmFA,IAAAA,EAAE,KAAK;CAAC;CAAU;CAAW;CAAa;AAAU,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAC9L,MAAa,kDAAgEA,IAAAA,EAAE,OAAO;CACpF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CACvE,OAAO,kEAAkE,SAAS,CAAC,CAAC,SAAS;CAC7F,QAAQ,mEAAmE,SAAS;CACpF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC/E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC3E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CACpF,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,kDAAkD;CAC9F,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC1F,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAChF,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;AAC5F,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAE5E,MAAa,4CAA4CC,eAAAA,OAAO,iDAAiD;CAC/G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-openid4vc-verification-request.cjs","names":["z","action"],"sources":["../../src/actions/create-openid4vc-verification-request.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParadymCreateOpenid4vcVerificationRequestInput = z.object({\n projectId: z.string().describe(\"Unique identifier of the project\"),\n presentationTemplateId: z.string().describe(\"Unique identifier of the presentation template to use for the verification request\"),\n requireResponseEncryption: z.boolean().describe(\"Whether to require the presentation response from the wallet to be encrypted. If enabled, the response_mode will be set to 'direct_post.jwt'. If not enabled, the response_mode will be set to 'direct_post'. Defaults to true when OpenID4VC V1 is used, and when a presentation contains mDOCs with the legacy OpenID4VC version.\").optional(),\n}).describe(\"Request model for creating an OpenID4VC verification request.\");\nconst ParadymCreateOpenid4vcVerificationRequest_VerificationErrorSchema = z.object({\n code: z.number().int().describe(\"Error code\").nullable(),\n details: z.array(z.record(z.string(), z.unknown())).describe(\"Additional error details\"),\n message: z.string().describe(\"Error message\").nullable(),\n}).passthrough().describe(\"Details of any error encountered during verification.\");\nconst ParadymCreateOpenid4vcVerificationRequest_VerificationStatusSchema = z.enum([\"failed\", \"expired\", \"requested\", \"verified\"]).describe(\"Status of the verification request.\");\nexport const ParadymCreateOpenid4vcVerificationRequestOutput = z.object({\n id: z.string().describe(\"Unique identifier of the verification request\").nullable(),\n error: ParadymCreateOpenid4vcVerificationRequest_VerificationErrorSchema.nullable().optional(),\n status: ParadymCreateOpenid4vcVerificationRequest_VerificationStatusSchema.nullable(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the request was created\").nullable(),\n expiresAt: z.string().describe(\"ISO8601 timestamp when the request expires\").nullable(),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the request was last updated\").nullable(),\n credentials: z.array(z.record(z.string(), z.unknown())).describe(\"List of credentials involved in the verification\"),\n presentationTemplateId: z.string().describe(\"Identifier of the presentation template used\").nullable(),\n authorizationRequestUri: z.string().describe(\"URI for the authorization request\").nullable(),\n authorizationRequestQrUri: z.string().describe(\"QR code URI for the authorization request\").nullable(),\n}).passthrough().describe(\"Response model for creating an OpenID4VC verification request.\");\n\nexport const paradymCreateOpenid4vcVerificationRequest = action(\"PARADYM_CREATE_OPENID4VC_VERIFICATION_REQUEST\", {\n slug: \"paradym-create-openid4vc-verification-request\",\n name: \"Create OpenID4VC Verification Request\",\n description: \"Tool to create an OpenID4VC verification request. Use when you need to initiate a credential verification flow with a presentation template.\",\n input: ParadymCreateOpenid4vcVerificationRequestInput,\n output: ParadymCreateOpenid4vcVerificationRequestOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iDAAiDA,IAAAA,EAAE,OAAO;CACrE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CACjE,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF;CAChI,2BAA2BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qUAAqU,CAAC,CAAC,SAAS;AAClY,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,oEAAoEA,IAAAA,EAAE,OAAO;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACvD,SAASA,IAAAA,E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C,eAAAA,OAAO,iDAAiD;CAC/G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,37 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-openid4vc-verification-request.d.ts
4
- declare const ParadymCreateOpenid4vcVerificationRequestInput: z.ZodTypeAny;
5
- declare const ParadymCreateOpenid4vcVerificationRequestOutput: z.ZodTypeAny;
6
- declare const paradymCreateOpenid4vcVerificationRequest: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParadymCreateOpenid4vcVerificationRequestInput: z.ZodObject<{
5
+ projectId: z.ZodString;
6
+ presentationTemplateId: z.ZodString;
7
+ requireResponseEncryption: z.ZodOptional<z.ZodBoolean>;
8
+ }, z.core.$strip>;
9
+ declare const ParadymCreateOpenid4vcVerificationRequestOutput: z.ZodObject<{
10
+ id: z.ZodNullable<z.ZodString>;
11
+ error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
12
+ code: z.ZodNullable<z.ZodNumber>;
13
+ details: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
14
+ message: z.ZodNullable<z.ZodString>;
15
+ }, z.core.$loose>>>;
16
+ status: z.ZodNullable<z.ZodEnum<{
17
+ expired: "expired";
18
+ failed: "failed";
19
+ requested: "requested";
20
+ verified: "verified";
21
+ }>>;
22
+ createdAt: z.ZodNullable<z.ZodString>;
23
+ expiresAt: z.ZodNullable<z.ZodString>;
24
+ updatedAt: z.ZodNullable<z.ZodString>;
25
+ credentials: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
26
+ presentationTemplateId: z.ZodNullable<z.ZodString>;
27
+ authorizationRequestUri: z.ZodNullable<z.ZodString>;
28
+ authorizationRequestQrUri: z.ZodNullable<z.ZodString>;
29
+ }, z.core.$loose>;
30
+ declare const paradymCreateOpenid4vcVerificationRequest: import("@keystrokehq/action").WorkflowActionDefinition<{
31
+ projectId: string;
32
+ presentationTemplateId: string;
33
+ requireResponseEncryption?: boolean | undefined;
34
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
35
  //#endregion
8
36
  export { paradymCreateOpenid4vcVerificationRequest };
9
37
  //# sourceMappingURL=create-openid4vc-verification-request.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-openid4vc-verification-request.d.cts","names":[],"sources":["../../src/actions/create-openid4vc-verification-request.ts"],"mappings":";;;cAIa,8CAAA,EAAgD,CAAA,CAAE,UAIa;AAAA,cAO/D,+CAAA,EAAiD,CAAA,CAAE,UAWa;AAAA,cAEhE,yCAAA,gCAAyC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-openid4vc-verification-request.d.cts","names":[],"sources":["../../src/actions/create-openid4vc-verification-request.ts"],"mappings":";;;cAIa,8CAAA,EAA8C,CAAA,CAAA,SAAA;;;;;cAW9C,+CAAA,EAA+C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAa/C,yCAAA,gCAAyC,wBAAA"}
@@ -1,9 +1,37 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-openid4vc-verification-request.d.ts
4
- declare const ParadymCreateOpenid4vcVerificationRequestInput: z.ZodTypeAny;
5
- declare const ParadymCreateOpenid4vcVerificationRequestOutput: z.ZodTypeAny;
6
- declare const paradymCreateOpenid4vcVerificationRequest: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParadymCreateOpenid4vcVerificationRequestInput: z.ZodObject<{
5
+ projectId: z.ZodString;
6
+ presentationTemplateId: z.ZodString;
7
+ requireResponseEncryption: z.ZodOptional<z.ZodBoolean>;
8
+ }, z.core.$strip>;
9
+ declare const ParadymCreateOpenid4vcVerificationRequestOutput: z.ZodObject<{
10
+ id: z.ZodNullable<z.ZodString>;
11
+ error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
12
+ code: z.ZodNullable<z.ZodNumber>;
13
+ details: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
14
+ message: z.ZodNullable<z.ZodString>;
15
+ }, z.core.$loose>>>;
16
+ status: z.ZodNullable<z.ZodEnum<{
17
+ expired: "expired";
18
+ failed: "failed";
19
+ requested: "requested";
20
+ verified: "verified";
21
+ }>>;
22
+ createdAt: z.ZodNullable<z.ZodString>;
23
+ expiresAt: z.ZodNullable<z.ZodString>;
24
+ updatedAt: z.ZodNullable<z.ZodString>;
25
+ credentials: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
26
+ presentationTemplateId: z.ZodNullable<z.ZodString>;
27
+ authorizationRequestUri: z.ZodNullable<z.ZodString>;
28
+ authorizationRequestQrUri: z.ZodNullable<z.ZodString>;
29
+ }, z.core.$loose>;
30
+ declare const paradymCreateOpenid4vcVerificationRequest: import("@keystrokehq/action").WorkflowActionDefinition<{
31
+ projectId: string;
32
+ presentationTemplateId: string;
33
+ requireResponseEncryption?: boolean | undefined;
34
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
35
  //#endregion
8
36
  export { paradymCreateOpenid4vcVerificationRequest };
9
37
  //# sourceMappingURL=create-openid4vc-verification-request.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-openid4vc-verification-request.d.mts","names":[],"sources":["../../src/actions/create-openid4vc-verification-request.ts"],"mappings":";;;cAIa,8CAAA,EAAgD,CAAA,CAAE,UAIa;AAAA,cAO/D,+CAAA,EAAiD,CAAA,CAAE,UAWa;AAAA,cAEhE,yCAAA,gCAAyC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-openid4vc-verification-request.d.mts","names":[],"sources":["../../src/actions/create-openid4vc-verification-request.ts"],"mappings":";;;cAIa,8CAAA,EAA8C,CAAA,CAAA,SAAA;;;;;cAW9C,+CAAA,EAA+C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAa/C,yCAAA,gCAAyC,wBAAA"}
@@ -7,10 +7,10 @@ const ParadymCreateOpenid4vcVerificationRequestInput = z.object({
7
7
  requireResponseEncryption: z.boolean().describe("Whether to require the presentation response from the wallet to be encrypted. If enabled, the response_mode will be set to 'direct_post.jwt'. If not enabled, the response_mode will be set to 'direct_post'. Defaults to true when OpenID4VC V1 is used, and when a presentation contains mDOCs with the legacy OpenID4VC version.").optional()
8
8
  }).describe("Request model for creating an OpenID4VC verification request.");
9
9
  const ParadymCreateOpenid4vcVerificationRequest_VerificationErrorSchema = z.object({
10
- code: z.number().int().describe("Error code"),
11
- details: z.array(z.object({})).describe("Additional error details"),
12
- message: z.string().describe("Error message")
13
- }).describe("Details of any error encountered during verification.");
10
+ code: z.number().int().describe("Error code").nullable(),
11
+ details: z.array(z.record(z.string(), z.unknown())).describe("Additional error details"),
12
+ message: z.string().describe("Error message").nullable()
13
+ }).passthrough().describe("Details of any error encountered during verification.");
14
14
  const ParadymCreateOpenid4vcVerificationRequest_VerificationStatusSchema = z.enum([
15
15
  "failed",
16
16
  "expired",
@@ -23,17 +23,17 @@ const paradymCreateOpenid4vcVerificationRequest = action("PARADYM_CREATE_OPENID4
23
23
  description: "Tool to create an OpenID4VC verification request. Use when you need to initiate a credential verification flow with a presentation template.",
24
24
  input: ParadymCreateOpenid4vcVerificationRequestInput,
25
25
  output: z.object({
26
- id: z.string().describe("Unique identifier of the verification request"),
26
+ id: z.string().describe("Unique identifier of the verification request").nullable(),
27
27
  error: ParadymCreateOpenid4vcVerificationRequest_VerificationErrorSchema.nullable().optional(),
28
28
  status: ParadymCreateOpenid4vcVerificationRequest_VerificationStatusSchema.nullable(),
29
- createdAt: z.string().describe("ISO8601 timestamp when the request was created"),
30
- expiresAt: z.string().describe("ISO8601 timestamp when the request expires"),
31
- updatedAt: z.string().describe("ISO8601 timestamp when the request was last updated"),
32
- credentials: z.array(z.object({})).describe("List of credentials involved in the verification"),
33
- presentationTemplateId: z.string().describe("Identifier of the presentation template used"),
34
- authorizationRequestUri: z.string().describe("URI for the authorization request"),
35
- authorizationRequestQrUri: z.string().describe("QR code URI for the authorization request")
36
- }).describe("Response model for creating an OpenID4VC verification request.")
29
+ createdAt: z.string().describe("ISO8601 timestamp when the request was created").nullable(),
30
+ expiresAt: z.string().describe("ISO8601 timestamp when the request expires").nullable(),
31
+ updatedAt: z.string().describe("ISO8601 timestamp when the request was last updated").nullable(),
32
+ credentials: z.array(z.record(z.string(), z.unknown())).describe("List of credentials involved in the verification"),
33
+ presentationTemplateId: z.string().describe("Identifier of the presentation template used").nullable(),
34
+ authorizationRequestUri: z.string().describe("URI for the authorization request").nullable(),
35
+ authorizationRequestQrUri: z.string().describe("QR code URI for the authorization request").nullable()
36
+ }).passthrough().describe("Response model for creating an OpenID4VC verification request.")
37
37
  });
38
38
  //#endregion
39
39
  export { paradymCreateOpenid4vcVerificationRequest };
@@ -1 +1 @@
1
- {"version":3,"file":"create-openid4vc-verification-request.mjs","names":[],"sources":["../../src/actions/create-openid4vc-verification-request.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParadymCreateOpenid4vcVerificationRequestInput: z.ZodTypeAny = z.object({\n projectId: z.string().describe(\"Unique identifier of the project\"),\n presentationTemplateId: z.string().describe(\"Unique identifier of the presentation template to use for the verification request\"),\n requireResponseEncryption: z.boolean().describe(\"Whether to require the presentation response from the wallet to be encrypted. If enabled, the response_mode will be set to 'direct_post.jwt'. If not enabled, the response_mode will be set to 'direct_post'. Defaults to true when OpenID4VC V1 is used, and when a presentation contains mDOCs with the legacy OpenID4VC version.\").optional(),\n}).describe(\"Request model for creating an OpenID4VC verification request.\");\nconst ParadymCreateOpenid4vcVerificationRequest_VerificationErrorSchema: z.ZodTypeAny = z.object({\n code: z.number().int().describe(\"Error code\"),\n details: z.array(z.object({})).describe(\"Additional error details\"),\n message: z.string().describe(\"Error message\"),\n}).describe(\"Details of any error encountered during verification.\");\nconst ParadymCreateOpenid4vcVerificationRequest_VerificationStatusSchema: z.ZodTypeAny = z.enum([\"failed\", \"expired\", \"requested\", \"verified\"]).describe(\"Status of the verification request.\");\nexport const ParadymCreateOpenid4vcVerificationRequestOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the verification request\"),\n error: ParadymCreateOpenid4vcVerificationRequest_VerificationErrorSchema.nullable().optional(),\n status: ParadymCreateOpenid4vcVerificationRequest_VerificationStatusSchema.nullable(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the request was created\"),\n expiresAt: z.string().describe(\"ISO8601 timestamp when the request expires\"),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the request was last updated\"),\n credentials: z.array(z.object({})).describe(\"List of credentials involved in the verification\"),\n presentationTemplateId: z.string().describe(\"Identifier of the presentation template used\"),\n authorizationRequestUri: z.string().describe(\"URI for the authorization request\"),\n authorizationRequestQrUri: z.string().describe(\"QR code URI for the authorization request\"),\n}).describe(\"Response model for creating an OpenID4VC verification request.\");\n\nexport const paradymCreateOpenid4vcVerificationRequest = action(\"PARADYM_CREATE_OPENID4VC_VERIFICATION_REQUEST\", {\n slug: \"paradym-create-openid4vc-verification-request\",\n name: \"Create OpenID4VC Verification Request\",\n description: \"Tool to create an OpenID4VC verification request. Use when you need to initiate a credential verification flow with a presentation template.\",\n input: ParadymCreateOpenid4vcVerificationRequestInput,\n output: ParadymCreateOpenid4vcVerificationRequestOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iDAA+D,EAAE,OAAO;CACnF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CACjE,w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.mjs","names":[],"sources":["../../src/actions/create-openid4vc-verification-request.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParadymCreateOpenid4vcVerificationRequestInput = z.object({\n projectId: z.string().describe(\"Unique identifier of the project\"),\n presentationTemplateId: z.string().describe(\"Unique identifier of the presentation template to use for the verification request\"),\n requireResponseEncryption: z.boolean().describe(\"Whether to require the presentation response from the wallet to be encrypted. If enabled, the response_mode will be set to 'direct_post.jwt'. If not enabled, the response_mode will be set to 'direct_post'. Defaults to true when OpenID4VC V1 is used, and when a presentation contains mDOCs with the legacy OpenID4VC version.\").optional(),\n}).describe(\"Request model for creating an OpenID4VC verification request.\");\nconst ParadymCreateOpenid4vcVerificationRequest_VerificationErrorSchema = z.object({\n code: z.number().int().describe(\"Error code\").nullable(),\n details: z.array(z.record(z.string(), z.unknown())).describe(\"Additional error details\"),\n message: z.string().describe(\"Error message\").nullable(),\n}).passthrough().describe(\"Details of any error encountered during verification.\");\nconst ParadymCreateOpenid4vcVerificationRequest_VerificationStatusSchema = z.enum([\"failed\", \"expired\", \"requested\", \"verified\"]).describe(\"Status of the verification request.\");\nexport const ParadymCreateOpenid4vcVerificationRequestOutput = z.object({\n id: z.string().describe(\"Unique identifier of the verification request\").nullable(),\n error: ParadymCreateOpenid4vcVerificationRequest_VerificationErrorSchema.nullable().optional(),\n status: ParadymCreateOpenid4vcVerificationRequest_VerificationStatusSchema.nullable(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the request was created\").nullable(),\n expiresAt: z.string().describe(\"ISO8601 timestamp when the request expires\").nullable(),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the request was last updated\").nullable(),\n credentials: z.array(z.record(z.string(), z.unknown())).describe(\"List of credentials involved in the verification\"),\n presentationTemplateId: z.string().describe(\"Identifier of the presentation template used\").nullable(),\n authorizationRequestUri: z.string().describe(\"URI for the authorization request\").nullable(),\n authorizationRequestQrUri: z.string().describe(\"QR code URI for the authorization request\").nullable(),\n}).passthrough().describe(\"Response model for creating an OpenID4VC verification request.\");\n\nexport const paradymCreateOpenid4vcVerificationRequest = action(\"PARADYM_CREATE_OPENID4VC_VERIFICATION_REQUEST\", {\n slug: \"paradym-create-openid4vc-verification-request\",\n name: \"Create OpenID4VC Verification Request\",\n description: \"Tool to create an OpenID4VC verification request. Use when you need to initiate a credential verification flow with a presentation template.\",\n input: ParadymCreateOpenid4vcVerificationRequestInput,\n output: ParadymCreateOpenid4vcVerificationRequestOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iDAAiD,EAAE,OAAO;CACrE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CACjE,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF;CAChI,2BAA2B,EAAE,QAAQ,CAAC,CAAC,SAAS,qUAAqU,CAAC,CAAC,SAAS;AAClY,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,oEAAoE,EAAE,OAAO;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACvD,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,0BAA0B;CACvF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;AACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AACjF,MAAM,qEAAqE,EAAE,KAAK;CAAC;CAAU;CAAW;CAAa;AAAU,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAchL,MAAa,4CAA4C,OAAO,iDAAiD;CAC/G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlB6D,EAAE,OAAO;EACtE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAClF,OAAO,kEAAkE,SAAS,CAAC,CAAC,SAAS;EAC7F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