@pagopa/io-react-native-wallet 3.0.1 → 3.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (505) hide show
  1. package/lib/commonjs/api/index.js +3 -0
  2. package/lib/commonjs/api/index.js.map +1 -1
  3. package/lib/commonjs/client/generated/wallet-provider.js +42 -4
  4. package/lib/commonjs/client/generated/wallet-provider.js.map +1 -1
  5. package/lib/commonjs/client/index.js +5 -3
  6. package/lib/commonjs/client/index.js.map +1 -1
  7. package/lib/commonjs/credential/issuance/README.md +2 -0
  8. package/lib/commonjs/credential/issuance/api/IssuerConfig.js +2 -2
  9. package/lib/commonjs/credential/issuance/api/IssuerConfig.js.map +1 -1
  10. package/lib/commonjs/credential/issuance/v1.3.3/01-evaluate-issuer-trust.js +2 -0
  11. package/lib/commonjs/credential/issuance/v1.3.3/01-evaluate-issuer-trust.js.map +1 -1
  12. package/lib/commonjs/credential/issuance/v1.3.3/03-complete-user-authorization.js +2 -0
  13. package/lib/commonjs/credential/issuance/v1.3.3/03-complete-user-authorization.js.map +1 -1
  14. package/lib/commonjs/credential/issuance/v1.3.3/05-obtain-credential.js +15 -8
  15. package/lib/commonjs/credential/issuance/v1.3.3/05-obtain-credential.js.map +1 -1
  16. package/lib/commonjs/credential/issuance/v1.3.3/mappers.js +0 -1
  17. package/lib/commonjs/credential/issuance/v1.3.3/mappers.js.map +1 -1
  18. package/lib/commonjs/credential/presentation/api/{06-send-authorization-response.js → 04-verify-certificate-chain.js} +1 -1
  19. package/lib/commonjs/credential/presentation/api/04-verify-certificate-chain.js.map +1 -0
  20. package/lib/commonjs/credential/presentation/api/{04-verify-request-object.js → 05-verify-request-object.js} +1 -1
  21. package/lib/commonjs/credential/presentation/api/05-verify-request-object.js.map +1 -0
  22. package/lib/commonjs/credential/presentation/api/{05-evaluate-dcql-query.js → 06-evaluate-dcql-query.js} +1 -1
  23. package/lib/commonjs/credential/presentation/api/06-evaluate-dcql-query.js.map +1 -0
  24. package/lib/commonjs/credential/presentation/api/07-send-authorization-response.js +6 -0
  25. package/lib/commonjs/credential/presentation/api/07-send-authorization-response.js.map +1 -0
  26. package/lib/commonjs/credential/presentation/api/RelyingPartyConfig.js +2 -2
  27. package/lib/commonjs/credential/presentation/api/RelyingPartyConfig.js.map +1 -1
  28. package/lib/commonjs/credential/presentation/api/index.js.map +1 -1
  29. package/lib/commonjs/credential/presentation/v1.0.0/04-verify-certificate-chain.js +12 -0
  30. package/lib/commonjs/credential/presentation/v1.0.0/04-verify-certificate-chain.js.map +1 -0
  31. package/lib/commonjs/credential/presentation/v1.0.0/{04-verify-request-object.js → 05-verify-request-object.js} +1 -1
  32. package/lib/commonjs/credential/presentation/v1.0.0/{04-verify-request-object.js.map → 05-verify-request-object.js.map} +1 -1
  33. package/lib/commonjs/credential/presentation/v1.0.0/{05-evaluate-dcql-query.js → 06-evaluate-dcql-query.js} +1 -1
  34. package/lib/commonjs/credential/presentation/v1.0.0/{05-evaluate-dcql-query.js.map → 06-evaluate-dcql-query.js.map} +1 -1
  35. package/lib/commonjs/credential/presentation/v1.0.0/{06-send-authorization-response.js → 07-send-authorization-response.js} +1 -1
  36. package/lib/commonjs/credential/presentation/v1.0.0/{06-send-authorization-response.js.map → 07-send-authorization-response.js.map} +1 -1
  37. package/lib/commonjs/credential/presentation/v1.0.0/index.js +5 -3
  38. package/lib/commonjs/credential/presentation/v1.0.0/index.js.map +1 -1
  39. package/lib/commonjs/credential/presentation/v1.3.3/04-verify-certificate-chain.js +33 -0
  40. package/lib/commonjs/credential/presentation/v1.3.3/04-verify-certificate-chain.js.map +1 -0
  41. package/lib/commonjs/credential/presentation/v1.3.3/{04-verify-request-object.js → 05-verify-request-object.js} +5 -3
  42. package/lib/commonjs/credential/presentation/v1.3.3/05-verify-request-object.js.map +1 -0
  43. package/lib/commonjs/credential/presentation/v1.3.3/{05-evaluate-dcql-query.js → 06-evaluate-dcql-query.js} +1 -1
  44. package/lib/commonjs/credential/presentation/v1.3.3/{05-evaluate-dcql-query.js.map → 06-evaluate-dcql-query.js.map} +1 -1
  45. package/lib/commonjs/credential/presentation/v1.3.3/{06-send-authorization-response.js → 07-send-authorization-response.js} +1 -1
  46. package/lib/commonjs/credential/presentation/v1.3.3/{06-send-authorization-response.js.map → 07-send-authorization-response.js.map} +1 -1
  47. package/lib/commonjs/credential/presentation/v1.3.3/index.js +5 -3
  48. package/lib/commonjs/credential/presentation/v1.3.3/index.js.map +1 -1
  49. package/lib/commonjs/credentials-catalogue/api/DigitalCredentialsCatalogue.js +53 -13
  50. package/lib/commonjs/credentials-catalogue/api/DigitalCredentialsCatalogue.js.map +1 -1
  51. package/lib/commonjs/credentials-catalogue/v1.0.0/mappers.js +16 -5
  52. package/lib/commonjs/credentials-catalogue/v1.0.0/mappers.js.map +1 -1
  53. package/lib/commonjs/credentials-catalogue/v1.3.3/fetch-translations.js +32 -0
  54. package/lib/commonjs/credentials-catalogue/v1.3.3/fetch-translations.js.map +1 -0
  55. package/lib/commonjs/credentials-catalogue/v1.3.3/index.js +3 -1
  56. package/lib/commonjs/credentials-catalogue/v1.3.3/index.js.map +1 -1
  57. package/lib/commonjs/credentials-catalogue/v1.3.3/mappers.js +6 -2
  58. package/lib/commonjs/credentials-catalogue/v1.3.3/mappers.js.map +1 -1
  59. package/lib/commonjs/credentials-catalogue/v1.3.3/types.js +91 -30
  60. package/lib/commonjs/credentials-catalogue/v1.3.3/types.js.map +1 -1
  61. package/lib/commonjs/credentials-catalogue/v1.3.3/utils.js +36 -5
  62. package/lib/commonjs/credentials-catalogue/v1.3.3/utils.js.map +1 -1
  63. package/lib/commonjs/index.js +3 -1
  64. package/lib/commonjs/index.js.map +1 -1
  65. package/lib/commonjs/trust/common/types.js +3 -3
  66. package/lib/commonjs/trust/common/types.js.map +1 -1
  67. package/lib/commonjs/trust/v1.0.0/types.js +6 -8
  68. package/lib/commonjs/trust/v1.0.0/types.js.map +1 -1
  69. package/lib/commonjs/trust/v1.3.3/types.js +1 -3
  70. package/lib/commonjs/trust/v1.3.3/types.js.map +1 -1
  71. package/lib/commonjs/utils/callbacks.js +2 -0
  72. package/lib/commonjs/utils/callbacks.js.map +1 -1
  73. package/lib/commonjs/utils/crypto.js +8 -0
  74. package/lib/commonjs/utils/crypto.js.map +1 -1
  75. package/lib/commonjs/utils/dpop.js +1 -1
  76. package/lib/commonjs/utils/dpop.js.map +1 -1
  77. package/lib/commonjs/utils/jwk.js +1 -1
  78. package/lib/commonjs/utils/jwk.js.map +1 -1
  79. package/lib/commonjs/utils/zod.js +1 -1
  80. package/lib/commonjs/utils/zod.js.map +1 -1
  81. package/lib/commonjs/wallet-instance-attestation/README.md +13 -10
  82. package/lib/commonjs/wallet-instance-attestation/api/types.js +9 -4
  83. package/lib/commonjs/wallet-instance-attestation/api/types.js.map +1 -1
  84. package/lib/commonjs/wallet-instance-attestation/v1.0.0/index.js +2 -2
  85. package/lib/commonjs/wallet-instance-attestation/v1.0.0/index.js.map +1 -1
  86. package/lib/commonjs/wallet-instance-attestation/v1.0.0/issuing.js +4 -5
  87. package/lib/commonjs/wallet-instance-attestation/v1.0.0/issuing.js.map +1 -1
  88. package/lib/commonjs/wallet-instance-attestation/v1.0.0/mappers.js +4 -5
  89. package/lib/commonjs/wallet-instance-attestation/v1.0.0/mappers.js.map +1 -1
  90. package/lib/commonjs/wallet-instance-attestation/v1.3.3/index.js +5 -7
  91. package/lib/commonjs/wallet-instance-attestation/v1.3.3/index.js.map +1 -1
  92. package/lib/commonjs/wallet-instance-attestation/v1.3.3/issuing.js +73 -3
  93. package/lib/commonjs/wallet-instance-attestation/v1.3.3/issuing.js.map +1 -1
  94. package/lib/commonjs/wallet-instance-attestation/v1.3.3/mappers.js +26 -0
  95. package/lib/commonjs/wallet-instance-attestation/v1.3.3/mappers.js.map +1 -0
  96. package/lib/commonjs/wallet-instance-attestation/v1.3.3/types.js +13 -24
  97. package/lib/commonjs/wallet-instance-attestation/v1.3.3/types.js.map +1 -1
  98. package/lib/commonjs/wallet-instance-attestation/v1.3.3/utils.js +35 -0
  99. package/lib/commonjs/wallet-instance-attestation/v1.3.3/utils.js.map +1 -0
  100. package/lib/commonjs/wallet-unit-attestation/README.md +73 -0
  101. package/lib/commonjs/wallet-unit-attestation/api/index.js +6 -0
  102. package/lib/commonjs/wallet-unit-attestation/api/index.js.map +1 -0
  103. package/lib/commonjs/wallet-unit-attestation/api/types.js +45 -0
  104. package/lib/commonjs/wallet-unit-attestation/api/types.js.map +1 -0
  105. package/lib/commonjs/wallet-unit-attestation/index.js +20 -0
  106. package/lib/commonjs/wallet-unit-attestation/index.js.map +1 -0
  107. package/lib/commonjs/wallet-unit-attestation/v1.0.0/index.js +11 -0
  108. package/lib/commonjs/wallet-unit-attestation/v1.0.0/index.js.map +1 -0
  109. package/lib/commonjs/wallet-unit-attestation/v1.3.3/index.js +17 -0
  110. package/lib/commonjs/wallet-unit-attestation/v1.3.3/index.js.map +1 -0
  111. package/lib/commonjs/wallet-unit-attestation/v1.3.3/issuing.js +118 -0
  112. package/lib/commonjs/wallet-unit-attestation/v1.3.3/issuing.js.map +1 -0
  113. package/lib/commonjs/wallet-unit-attestation/v1.3.3/mappers.js +13 -0
  114. package/lib/commonjs/wallet-unit-attestation/v1.3.3/mappers.js.map +1 -0
  115. package/lib/commonjs/wallet-unit-attestation/v1.3.3/types.js +23 -0
  116. package/lib/commonjs/wallet-unit-attestation/v1.3.3/types.js.map +1 -0
  117. package/lib/commonjs/wallet-unit-attestation/v1.3.3/utils.js +20 -0
  118. package/lib/commonjs/wallet-unit-attestation/v1.3.3/utils.js.map +1 -0
  119. package/lib/module/api/index.js +3 -0
  120. package/lib/module/api/index.js.map +1 -1
  121. package/lib/module/client/generated/wallet-provider.js +33 -1
  122. package/lib/module/client/generated/wallet-provider.js.map +1 -1
  123. package/lib/module/client/index.js +4 -2
  124. package/lib/module/client/index.js.map +1 -1
  125. package/lib/module/credential/issuance/README.md +2 -0
  126. package/lib/module/credential/issuance/api/IssuerConfig.js +2 -2
  127. package/lib/module/credential/issuance/api/IssuerConfig.js.map +1 -1
  128. package/lib/module/credential/issuance/v1.3.3/01-evaluate-issuer-trust.js +2 -0
  129. package/lib/module/credential/issuance/v1.3.3/01-evaluate-issuer-trust.js.map +1 -1
  130. package/lib/module/credential/issuance/v1.3.3/03-complete-user-authorization.js +2 -0
  131. package/lib/module/credential/issuance/v1.3.3/03-complete-user-authorization.js.map +1 -1
  132. package/lib/module/credential/issuance/v1.3.3/05-obtain-credential.js +16 -9
  133. package/lib/module/credential/issuance/v1.3.3/05-obtain-credential.js.map +1 -1
  134. package/lib/module/credential/issuance/v1.3.3/mappers.js +0 -1
  135. package/lib/module/credential/issuance/v1.3.3/mappers.js.map +1 -1
  136. package/lib/module/credential/presentation/api/04-verify-certificate-chain.js +2 -0
  137. package/lib/module/credential/presentation/api/04-verify-certificate-chain.js.map +1 -0
  138. package/lib/module/credential/presentation/api/05-verify-request-object.js +2 -0
  139. package/lib/module/credential/presentation/api/05-verify-request-object.js.map +1 -0
  140. package/lib/module/credential/presentation/api/06-evaluate-dcql-query.js +2 -0
  141. package/lib/module/credential/presentation/api/06-evaluate-dcql-query.js.map +1 -0
  142. package/lib/module/credential/presentation/api/07-send-authorization-response.js +2 -0
  143. package/lib/module/credential/presentation/api/07-send-authorization-response.js.map +1 -0
  144. package/lib/module/credential/presentation/api/RelyingPartyConfig.js +1 -1
  145. package/lib/module/credential/presentation/api/RelyingPartyConfig.js.map +1 -1
  146. package/lib/module/credential/presentation/api/index.js.map +1 -1
  147. package/lib/module/credential/presentation/v1.0.0/04-verify-certificate-chain.js +5 -0
  148. package/lib/module/credential/presentation/v1.0.0/04-verify-certificate-chain.js.map +1 -0
  149. package/lib/module/credential/presentation/v1.0.0/{04-verify-request-object.js → 05-verify-request-object.js} +1 -1
  150. package/lib/module/credential/presentation/v1.0.0/{04-verify-request-object.js.map → 05-verify-request-object.js.map} +1 -1
  151. package/lib/module/credential/presentation/v1.0.0/{05-evaluate-dcql-query.js → 06-evaluate-dcql-query.js} +1 -1
  152. package/lib/module/credential/presentation/v1.0.0/{05-evaluate-dcql-query.js.map → 06-evaluate-dcql-query.js.map} +1 -1
  153. package/lib/module/credential/presentation/v1.0.0/{06-send-authorization-response.js → 07-send-authorization-response.js} +1 -1
  154. package/lib/module/credential/presentation/v1.0.0/{06-send-authorization-response.js.map → 07-send-authorization-response.js.map} +1 -1
  155. package/lib/module/credential/presentation/v1.0.0/index.js +5 -3
  156. package/lib/module/credential/presentation/v1.0.0/index.js.map +1 -1
  157. package/lib/module/credential/presentation/v1.3.3/04-verify-certificate-chain.js +26 -0
  158. package/lib/module/credential/presentation/v1.3.3/04-verify-certificate-chain.js.map +1 -0
  159. package/lib/module/credential/presentation/v1.3.3/{04-verify-request-object.js → 05-verify-request-object.js} +5 -3
  160. package/lib/module/credential/presentation/v1.3.3/05-verify-request-object.js.map +1 -0
  161. package/lib/module/credential/presentation/v1.3.3/{05-evaluate-dcql-query.js → 06-evaluate-dcql-query.js} +1 -1
  162. package/lib/module/credential/presentation/v1.3.3/{05-evaluate-dcql-query.js.map → 06-evaluate-dcql-query.js.map} +1 -1
  163. package/lib/module/credential/presentation/v1.3.3/{06-send-authorization-response.js → 07-send-authorization-response.js} +1 -1
  164. package/lib/module/credential/presentation/v1.3.3/{06-send-authorization-response.js.map → 07-send-authorization-response.js.map} +1 -1
  165. package/lib/module/credential/presentation/v1.3.3/index.js +5 -3
  166. package/lib/module/credential/presentation/v1.3.3/index.js.map +1 -1
  167. package/lib/module/credentials-catalogue/api/DigitalCredentialsCatalogue.js +52 -12
  168. package/lib/module/credentials-catalogue/api/DigitalCredentialsCatalogue.js.map +1 -1
  169. package/lib/module/credentials-catalogue/v1.0.0/mappers.js +16 -5
  170. package/lib/module/credentials-catalogue/v1.0.0/mappers.js.map +1 -1
  171. package/lib/module/credentials-catalogue/v1.3.3/fetch-translations.js +25 -0
  172. package/lib/module/credentials-catalogue/v1.3.3/fetch-translations.js.map +1 -0
  173. package/lib/module/credentials-catalogue/v1.3.3/index.js +3 -1
  174. package/lib/module/credentials-catalogue/v1.3.3/index.js.map +1 -1
  175. package/lib/module/credentials-catalogue/v1.3.3/mappers.js +6 -2
  176. package/lib/module/credentials-catalogue/v1.3.3/mappers.js.map +1 -1
  177. package/lib/module/credentials-catalogue/v1.3.3/types.js +91 -30
  178. package/lib/module/credentials-catalogue/v1.3.3/types.js.map +1 -1
  179. package/lib/module/credentials-catalogue/v1.3.3/utils.js +32 -4
  180. package/lib/module/credentials-catalogue/v1.3.3/utils.js.map +1 -1
  181. package/lib/module/index.js +2 -1
  182. package/lib/module/index.js.map +1 -1
  183. package/lib/module/trust/common/types.js +3 -3
  184. package/lib/module/trust/common/types.js.map +1 -1
  185. package/lib/module/trust/v1.0.0/types.js +5 -7
  186. package/lib/module/trust/v1.0.0/types.js.map +1 -1
  187. package/lib/module/trust/v1.3.3/types.js +1 -3
  188. package/lib/module/trust/v1.3.3/types.js.map +1 -1
  189. package/lib/module/utils/callbacks.js +3 -0
  190. package/lib/module/utils/callbacks.js.map +1 -1
  191. package/lib/module/utils/crypto.js +8 -0
  192. package/lib/module/utils/crypto.js.map +1 -1
  193. package/lib/module/utils/dpop.js +1 -1
  194. package/lib/module/utils/dpop.js.map +1 -1
  195. package/lib/module/utils/jwk.js +1 -1
  196. package/lib/module/utils/jwk.js.map +1 -1
  197. package/lib/module/utils/zod.js +1 -1
  198. package/lib/module/utils/zod.js.map +1 -1
  199. package/lib/module/wallet-instance-attestation/README.md +13 -10
  200. package/lib/module/wallet-instance-attestation/api/types.js +7 -2
  201. package/lib/module/wallet-instance-attestation/api/types.js.map +1 -1
  202. package/lib/module/wallet-instance-attestation/v1.0.0/index.js +3 -3
  203. package/lib/module/wallet-instance-attestation/v1.0.0/index.js.map +1 -1
  204. package/lib/module/wallet-instance-attestation/v1.0.0/issuing.js +4 -5
  205. package/lib/module/wallet-instance-attestation/v1.0.0/issuing.js.map +1 -1
  206. package/lib/module/wallet-instance-attestation/v1.0.0/mappers.js +3 -4
  207. package/lib/module/wallet-instance-attestation/v1.0.0/mappers.js.map +1 -1
  208. package/lib/module/wallet-instance-attestation/v1.3.3/index.js +5 -7
  209. package/lib/module/wallet-instance-attestation/v1.3.3/index.js.map +1 -1
  210. package/lib/module/wallet-instance-attestation/v1.3.3/issuing.js +73 -3
  211. package/lib/module/wallet-instance-attestation/v1.3.3/issuing.js.map +1 -1
  212. package/lib/module/wallet-instance-attestation/v1.3.3/mappers.js +19 -0
  213. package/lib/module/wallet-instance-attestation/v1.3.3/mappers.js.map +1 -0
  214. package/lib/module/wallet-instance-attestation/v1.3.3/types.js +10 -21
  215. package/lib/module/wallet-instance-attestation/v1.3.3/types.js.map +1 -1
  216. package/lib/module/wallet-instance-attestation/v1.3.3/utils.js +29 -0
  217. package/lib/module/wallet-instance-attestation/v1.3.3/utils.js.map +1 -0
  218. package/lib/module/wallet-unit-attestation/README.md +73 -0
  219. package/lib/module/wallet-unit-attestation/api/index.js +2 -0
  220. package/lib/module/wallet-unit-attestation/api/index.js.map +1 -0
  221. package/lib/module/wallet-unit-attestation/api/types.js +36 -0
  222. package/lib/module/wallet-unit-attestation/api/types.js.map +1 -0
  223. package/lib/module/wallet-unit-attestation/index.js +3 -0
  224. package/lib/module/wallet-unit-attestation/index.js.map +1 -0
  225. package/lib/module/wallet-unit-attestation/v1.0.0/index.js +4 -0
  226. package/lib/module/wallet-unit-attestation/v1.0.0/index.js.map +1 -0
  227. package/lib/module/wallet-unit-attestation/v1.3.3/index.js +10 -0
  228. package/lib/module/wallet-unit-attestation/v1.3.3/index.js.map +1 -0
  229. package/lib/module/wallet-unit-attestation/v1.3.3/issuing.js +112 -0
  230. package/lib/module/wallet-unit-attestation/v1.3.3/issuing.js.map +1 -0
  231. package/lib/module/wallet-unit-attestation/v1.3.3/mappers.js +6 -0
  232. package/lib/module/wallet-unit-attestation/v1.3.3/mappers.js.map +1 -0
  233. package/lib/module/wallet-unit-attestation/v1.3.3/types.js +14 -0
  234. package/lib/module/wallet-unit-attestation/v1.3.3/types.js.map +1 -0
  235. package/lib/module/wallet-unit-attestation/v1.3.3/utils.js +15 -0
  236. package/lib/module/wallet-unit-attestation/v1.3.3/utils.js.map +1 -0
  237. package/lib/typescript/api/index.d.ts +2 -0
  238. package/lib/typescript/api/index.d.ts.map +1 -1
  239. package/lib/typescript/client/generated/wallet-provider.d.ts +122 -358
  240. package/lib/typescript/client/generated/wallet-provider.d.ts.map +1 -1
  241. package/lib/typescript/client/index.d.ts.map +1 -1
  242. package/lib/typescript/credential/issuance/api/05-obtain-credential.d.ts +2 -0
  243. package/lib/typescript/credential/issuance/api/05-obtain-credential.d.ts.map +1 -1
  244. package/lib/typescript/credential/issuance/api/IssuerConfig.d.ts +21 -357
  245. package/lib/typescript/credential/issuance/api/IssuerConfig.d.ts.map +1 -1
  246. package/lib/typescript/credential/issuance/api/types.d.ts +5 -41
  247. package/lib/typescript/credential/issuance/api/types.d.ts.map +1 -1
  248. package/lib/typescript/credential/issuance/common/02-start-user-authorization.d.ts.map +1 -1
  249. package/lib/typescript/credential/issuance/common/authorization.d.ts.map +1 -1
  250. package/lib/typescript/credential/issuance/v1.0.0/03-complete-user-authorization.d.ts.map +1 -1
  251. package/lib/typescript/credential/issuance/v1.0.0/05-obtain-credential.d.ts.map +1 -1
  252. package/lib/typescript/credential/issuance/v1.0.0/mappers.d.ts +103 -106
  253. package/lib/typescript/credential/issuance/v1.0.0/mappers.d.ts.map +1 -1
  254. package/lib/typescript/credential/issuance/v1.0.0/types.d.ts +4 -26
  255. package/lib/typescript/credential/issuance/v1.0.0/types.d.ts.map +1 -1
  256. package/lib/typescript/credential/issuance/v1.3.3/01-evaluate-issuer-trust.d.ts.map +1 -1
  257. package/lib/typescript/credential/issuance/v1.3.3/03-complete-user-authorization.d.ts.map +1 -1
  258. package/lib/typescript/credential/issuance/v1.3.3/05-obtain-credential.d.ts.map +1 -1
  259. package/lib/typescript/credential/issuance/v1.3.3/mappers.d.ts +594 -2095
  260. package/lib/typescript/credential/issuance/v1.3.3/mappers.d.ts.map +1 -1
  261. package/lib/typescript/credential/issuance/v1.3.3/types.d.ts +1 -5
  262. package/lib/typescript/credential/issuance/v1.3.3/types.d.ts.map +1 -1
  263. package/lib/typescript/credential/presentation/api/04-verify-certificate-chain.d.ts +17 -0
  264. package/lib/typescript/credential/presentation/api/04-verify-certificate-chain.d.ts.map +1 -0
  265. package/lib/typescript/credential/presentation/api/{04-verify-request-object.d.ts → 05-verify-request-object.d.ts} +1 -1
  266. package/lib/typescript/credential/presentation/api/{04-verify-request-object.d.ts.map → 05-verify-request-object.d.ts.map} +1 -1
  267. package/lib/typescript/credential/presentation/api/{05-evaluate-dcql-query.d.ts → 06-evaluate-dcql-query.d.ts} +1 -1
  268. package/lib/typescript/credential/presentation/api/{05-evaluate-dcql-query.d.ts.map → 06-evaluate-dcql-query.d.ts.map} +1 -1
  269. package/lib/typescript/credential/presentation/api/{06-send-authorization-response.d.ts → 07-send-authorization-response.d.ts} +2 -2
  270. package/lib/typescript/credential/presentation/api/{06-send-authorization-response.d.ts.map → 07-send-authorization-response.d.ts.map} +1 -1
  271. package/lib/typescript/credential/presentation/api/RelyingPartyConfig.d.ts +9 -154
  272. package/lib/typescript/credential/presentation/api/RelyingPartyConfig.d.ts.map +1 -1
  273. package/lib/typescript/credential/presentation/api/index.d.ts +5 -4
  274. package/lib/typescript/credential/presentation/api/index.d.ts.map +1 -1
  275. package/lib/typescript/credential/presentation/api/types.d.ts +30 -106
  276. package/lib/typescript/credential/presentation/api/types.d.ts.map +1 -1
  277. package/lib/typescript/credential/presentation/common/utils/dcql.d.ts +29 -244
  278. package/lib/typescript/credential/presentation/common/utils/dcql.d.ts.map +1 -1
  279. package/lib/typescript/credential/presentation/common/utils/http.d.ts.map +1 -1
  280. package/lib/typescript/credential/presentation/common/utils/sd-jwt.d.ts.map +1 -1
  281. package/lib/typescript/credential/presentation/common/utils.d.ts.map +1 -1
  282. package/lib/typescript/credential/presentation/v1.0.0/04-verify-certificate-chain.d.ts +3 -0
  283. package/lib/typescript/credential/presentation/v1.0.0/04-verify-certificate-chain.d.ts.map +1 -0
  284. package/lib/typescript/credential/presentation/v1.0.0/{04-verify-request-object.d.ts → 05-verify-request-object.d.ts} +1 -1
  285. package/lib/typescript/credential/presentation/v1.0.0/05-verify-request-object.d.ts.map +1 -0
  286. package/lib/typescript/credential/presentation/v1.0.0/{05-evaluate-dcql-query.d.ts → 06-evaluate-dcql-query.d.ts} +1 -1
  287. package/lib/typescript/credential/presentation/v1.0.0/06-evaluate-dcql-query.d.ts.map +1 -0
  288. package/lib/typescript/credential/presentation/v1.0.0/{06-send-authorization-response.d.ts → 07-send-authorization-response.d.ts} +1 -1
  289. package/lib/typescript/credential/presentation/v1.0.0/07-send-authorization-response.d.ts.map +1 -0
  290. package/lib/typescript/credential/presentation/v1.0.0/index.d.ts.map +1 -1
  291. package/lib/typescript/credential/presentation/v1.0.0/mappers.d.ts +56 -58
  292. package/lib/typescript/credential/presentation/v1.0.0/mappers.d.ts.map +1 -1
  293. package/lib/typescript/credential/presentation/v1.0.0/types.d.ts +13 -52
  294. package/lib/typescript/credential/presentation/v1.0.0/types.d.ts.map +1 -1
  295. package/lib/typescript/credential/presentation/v1.0.0/utils.d.ts.map +1 -1
  296. package/lib/typescript/credential/presentation/v1.0.0/utils.jwks.d.ts.map +1 -1
  297. package/lib/typescript/credential/presentation/v1.3.3/04-verify-certificate-chain.d.ts +3 -0
  298. package/lib/typescript/credential/presentation/v1.3.3/04-verify-certificate-chain.d.ts.map +1 -0
  299. package/lib/typescript/credential/presentation/v1.3.3/{04-verify-request-object.d.ts → 05-verify-request-object.d.ts} +1 -1
  300. package/lib/typescript/credential/presentation/v1.3.3/05-verify-request-object.d.ts.map +1 -0
  301. package/lib/typescript/credential/presentation/v1.3.3/{05-evaluate-dcql-query.d.ts → 06-evaluate-dcql-query.d.ts} +1 -1
  302. package/lib/typescript/credential/presentation/v1.3.3/06-evaluate-dcql-query.d.ts.map +1 -0
  303. package/lib/typescript/credential/presentation/v1.3.3/{06-send-authorization-response.d.ts → 07-send-authorization-response.d.ts} +1 -1
  304. package/lib/typescript/credential/presentation/v1.3.3/{06-send-authorization-response.d.ts.map → 07-send-authorization-response.d.ts.map} +1 -1
  305. package/lib/typescript/credential/presentation/v1.3.3/index.d.ts.map +1 -1
  306. package/lib/typescript/credential/presentation/v1.3.3/mappers.d.ts +133 -525
  307. package/lib/typescript/credential/presentation/v1.3.3/mappers.d.ts.map +1 -1
  308. package/lib/typescript/credential/presentation/v1.3.3/sdkErrorMapper.d.ts.map +1 -1
  309. package/lib/typescript/credential/presentation/v1.3.3/types.d.ts +39 -3672
  310. package/lib/typescript/credential/presentation/v1.3.3/types.d.ts.map +1 -1
  311. package/lib/typescript/credential/presentation/v1.3.3/utils.mdoc.d.ts.map +1 -1
  312. package/lib/typescript/credential/status/v1.0.0/mappers.d.ts +6 -6
  313. package/lib/typescript/credential/status/v1.0.0/types.d.ts +33 -659
  314. package/lib/typescript/credential/status/v1.0.0/types.d.ts.map +1 -1
  315. package/lib/typescript/credentials-catalogue/api/DigitalCredentialsCatalogue.d.ts +135 -525
  316. package/lib/typescript/credentials-catalogue/api/DigitalCredentialsCatalogue.d.ts.map +1 -1
  317. package/lib/typescript/credentials-catalogue/api/index.d.ts +22 -2
  318. package/lib/typescript/credentials-catalogue/api/index.d.ts.map +1 -1
  319. package/lib/typescript/credentials-catalogue/v1.0.0/mappers.d.ts +60 -20
  320. package/lib/typescript/credentials-catalogue/v1.0.0/mappers.d.ts.map +1 -1
  321. package/lib/typescript/credentials-catalogue/v1.0.0/types.d.ts +41 -737
  322. package/lib/typescript/credentials-catalogue/v1.0.0/types.d.ts.map +1 -1
  323. package/lib/typescript/credentials-catalogue/v1.3.3/fetch-translations.d.ts +3 -0
  324. package/lib/typescript/credentials-catalogue/v1.3.3/fetch-translations.d.ts.map +1 -0
  325. package/lib/typescript/credentials-catalogue/v1.3.3/index.d.ts.map +1 -1
  326. package/lib/typescript/credentials-catalogue/v1.3.3/mappers.d.ts +159 -62
  327. package/lib/typescript/credentials-catalogue/v1.3.3/mappers.d.ts.map +1 -1
  328. package/lib/typescript/credentials-catalogue/v1.3.3/types.d.ts +180 -941
  329. package/lib/typescript/credentials-catalogue/v1.3.3/types.d.ts.map +1 -1
  330. package/lib/typescript/credentials-catalogue/v1.3.3/utils.d.ts +12 -1
  331. package/lib/typescript/credentials-catalogue/v1.3.3/utils.d.ts.map +1 -1
  332. package/lib/typescript/index.d.ts +4 -3
  333. package/lib/typescript/index.d.ts.map +1 -1
  334. package/lib/typescript/mdoc/index.d.ts.map +1 -1
  335. package/lib/typescript/mdoc/utils.d.ts.map +1 -1
  336. package/lib/typescript/sd-jwt/index.d.ts +15 -15
  337. package/lib/typescript/sd-jwt/index.d.ts.map +1 -1
  338. package/lib/typescript/sd-jwt/types.d.ts +33 -492
  339. package/lib/typescript/sd-jwt/types.d.ts.map +1 -1
  340. package/lib/typescript/sd-jwt/utils.d.ts.map +1 -1
  341. package/lib/typescript/trust/api/TrustAnchorConfig.d.ts +12 -201
  342. package/lib/typescript/trust/api/TrustAnchorConfig.d.ts.map +1 -1
  343. package/lib/typescript/trust/common/build-chain.d.ts.map +1 -1
  344. package/lib/typescript/trust/common/types.d.ts +32 -1198
  345. package/lib/typescript/trust/common/types.d.ts.map +1 -1
  346. package/lib/typescript/trust/common/utils.d.ts.map +1 -1
  347. package/lib/typescript/trust/v1.0.0/build-chain.d.ts +1 -53
  348. package/lib/typescript/trust/v1.0.0/build-chain.d.ts.map +1 -1
  349. package/lib/typescript/trust/v1.0.0/entities.d.ts +324 -347
  350. package/lib/typescript/trust/v1.0.0/entities.d.ts.map +1 -1
  351. package/lib/typescript/trust/v1.0.0/mappers.d.ts +31 -35
  352. package/lib/typescript/trust/v1.0.0/mappers.d.ts.map +1 -1
  353. package/lib/typescript/trust/v1.0.0/types.d.ts +678 -12454
  354. package/lib/typescript/trust/v1.0.0/types.d.ts.map +1 -1
  355. package/lib/typescript/trust/v1.0.0/verify-chain.d.ts +4 -56
  356. package/lib/typescript/trust/v1.0.0/verify-chain.d.ts.map +1 -1
  357. package/lib/typescript/trust/v1.3.3/entities.d.ts +43 -47
  358. package/lib/typescript/trust/v1.3.3/entities.d.ts.map +1 -1
  359. package/lib/typescript/trust/v1.3.3/types.d.ts +655 -14339
  360. package/lib/typescript/trust/v1.3.3/types.d.ts.map +1 -1
  361. package/lib/typescript/utils/auth.d.ts +3 -25
  362. package/lib/typescript/utils/auth.d.ts.map +1 -1
  363. package/lib/typescript/utils/callbacks.d.ts.map +1 -1
  364. package/lib/typescript/utils/config.d.ts +3 -3
  365. package/lib/typescript/utils/config.d.ts.map +1 -1
  366. package/lib/typescript/utils/credentials.d.ts.map +1 -1
  367. package/lib/typescript/utils/crypto.d.ts +18 -0
  368. package/lib/typescript/utils/crypto.d.ts.map +1 -1
  369. package/lib/typescript/utils/decoder.d.ts.map +1 -1
  370. package/lib/typescript/utils/dpop.d.ts +5 -12
  371. package/lib/typescript/utils/dpop.d.ts.map +1 -1
  372. package/lib/typescript/utils/errors.d.ts.map +1 -1
  373. package/lib/typescript/utils/jwk.d.ts +15 -175
  374. package/lib/typescript/utils/jwk.d.ts.map +1 -1
  375. package/lib/typescript/utils/mappers.d.ts.map +1 -1
  376. package/lib/typescript/utils/misc.d.ts +2 -2
  377. package/lib/typescript/utils/misc.d.ts.map +1 -1
  378. package/lib/typescript/utils/object.d.ts.map +1 -1
  379. package/lib/typescript/utils/par.d.ts +7 -45
  380. package/lib/typescript/utils/par.d.ts.map +1 -1
  381. package/lib/typescript/utils/parser.d.ts.map +1 -1
  382. package/lib/typescript/utils/pop.d.ts +1 -9
  383. package/lib/typescript/utils/pop.d.ts.map +1 -1
  384. package/lib/typescript/utils/string.d.ts.map +1 -1
  385. package/lib/typescript/utils/zod.d.ts +4 -4
  386. package/lib/typescript/utils/zod.d.ts.map +1 -1
  387. package/lib/typescript/wallet-instance-attestation/api/index.d.ts +9 -9
  388. package/lib/typescript/wallet-instance-attestation/api/index.d.ts.map +1 -1
  389. package/lib/typescript/wallet-instance-attestation/api/types.d.ts +19 -174
  390. package/lib/typescript/wallet-instance-attestation/api/types.d.ts.map +1 -1
  391. package/lib/typescript/wallet-instance-attestation/common/types.d.ts +14 -273
  392. package/lib/typescript/wallet-instance-attestation/common/types.d.ts.map +1 -1
  393. package/lib/typescript/wallet-instance-attestation/v1.0.0/issuing.d.ts.map +1 -1
  394. package/lib/typescript/wallet-instance-attestation/v1.0.0/mappers.d.ts +5 -3
  395. package/lib/typescript/wallet-instance-attestation/v1.0.0/mappers.d.ts.map +1 -1
  396. package/lib/typescript/wallet-instance-attestation/v1.0.0/types.d.ts +39 -629
  397. package/lib/typescript/wallet-instance-attestation/v1.0.0/types.d.ts.map +1 -1
  398. package/lib/typescript/wallet-instance-attestation/v1.3.3/index.d.ts.map +1 -1
  399. package/lib/typescript/wallet-instance-attestation/v1.3.3/issuing.d.ts.map +1 -1
  400. package/lib/typescript/wallet-instance-attestation/v1.3.3/mappers.d.ts +90 -0
  401. package/lib/typescript/wallet-instance-attestation/v1.3.3/mappers.d.ts.map +1 -0
  402. package/lib/typescript/wallet-instance-attestation/v1.3.3/types.d.ts +29 -891
  403. package/lib/typescript/wallet-instance-attestation/v1.3.3/types.d.ts.map +1 -1
  404. package/lib/typescript/wallet-instance-attestation/v1.3.3/utils.d.ts +15 -0
  405. package/lib/typescript/wallet-instance-attestation/v1.3.3/utils.d.ts.map +1 -0
  406. package/lib/typescript/wallet-unit-attestation/api/index.d.ts +39 -0
  407. package/lib/typescript/wallet-unit-attestation/api/index.d.ts.map +1 -0
  408. package/lib/typescript/wallet-unit-attestation/api/types.d.ts +67 -0
  409. package/lib/typescript/wallet-unit-attestation/api/types.d.ts.map +1 -0
  410. package/lib/typescript/wallet-unit-attestation/index.d.ts +4 -0
  411. package/lib/typescript/wallet-unit-attestation/index.d.ts.map +1 -0
  412. package/lib/typescript/wallet-unit-attestation/v1.0.0/index.d.ts +3 -0
  413. package/lib/typescript/wallet-unit-attestation/v1.0.0/index.d.ts.map +1 -0
  414. package/lib/typescript/wallet-unit-attestation/v1.3.3/index.d.ts +3 -0
  415. package/lib/typescript/wallet-unit-attestation/v1.3.3/index.d.ts.map +1 -0
  416. package/lib/typescript/wallet-unit-attestation/v1.3.3/issuing.d.ts +3 -0
  417. package/lib/typescript/wallet-unit-attestation/v1.3.3/issuing.d.ts.map +1 -0
  418. package/lib/typescript/wallet-unit-attestation/v1.3.3/mappers.d.ts +107 -0
  419. package/lib/typescript/wallet-unit-attestation/v1.3.3/mappers.d.ts.map +1 -0
  420. package/lib/typescript/wallet-unit-attestation/v1.3.3/types.d.ts +69 -0
  421. package/lib/typescript/wallet-unit-attestation/v1.3.3/types.d.ts.map +1 -0
  422. package/lib/typescript/wallet-unit-attestation/v1.3.3/utils.d.ts +7 -0
  423. package/lib/typescript/wallet-unit-attestation/v1.3.3/utils.d.ts.map +1 -0
  424. package/package.json +8 -8
  425. package/src/api/index.ts +4 -0
  426. package/src/client/generated/wallet-provider.ts +44 -0
  427. package/src/client/index.ts +5 -1
  428. package/src/credential/issuance/README.md +2 -0
  429. package/src/credential/issuance/api/05-obtain-credential.ts +2 -0
  430. package/src/credential/issuance/api/IssuerConfig.ts +4 -2
  431. package/src/credential/issuance/v1.3.3/01-evaluate-issuer-trust.ts +8 -3
  432. package/src/credential/issuance/v1.3.3/03-complete-user-authorization.ts +2 -0
  433. package/src/credential/issuance/v1.3.3/05-obtain-credential.ts +25 -11
  434. package/src/credential/issuance/v1.3.3/mappers.ts +10 -9
  435. package/src/credential/presentation/api/04-verify-certificate-chain.ts +20 -0
  436. package/src/credential/presentation/api/{06-send-authorization-response.ts → 07-send-authorization-response.ts} +1 -1
  437. package/src/credential/presentation/api/RelyingPartyConfig.ts +1 -1
  438. package/src/credential/presentation/api/index.ts +5 -3
  439. package/src/credential/presentation/v1.0.0/04-verify-certificate-chain.ts +10 -0
  440. package/src/credential/presentation/v1.0.0/{04-verify-request-object.ts → 05-verify-request-object.ts} +2 -2
  441. package/src/credential/presentation/v1.0.0/{05-evaluate-dcql-query.ts → 06-evaluate-dcql-query.ts} +1 -1
  442. package/src/credential/presentation/v1.0.0/index.ts +5 -3
  443. package/src/credential/presentation/v1.3.3/04-verify-certificate-chain.ts +49 -0
  444. package/src/credential/presentation/v1.3.3/{04-verify-request-object.ts → 05-verify-request-object.ts} +4 -2
  445. package/src/credential/presentation/v1.3.3/{05-evaluate-dcql-query.ts → 06-evaluate-dcql-query.ts} +1 -1
  446. package/src/credential/presentation/v1.3.3/index.ts +5 -3
  447. package/src/credentials-catalogue/api/DigitalCredentialsCatalogue.ts +58 -10
  448. package/src/credentials-catalogue/api/index.ts +36 -2
  449. package/src/credentials-catalogue/v1.0.0/mappers.ts +27 -12
  450. package/src/credentials-catalogue/v1.3.3/fetch-translations.ts +32 -0
  451. package/src/credentials-catalogue/v1.3.3/index.ts +2 -0
  452. package/src/credentials-catalogue/v1.3.3/mappers.ts +12 -4
  453. package/src/credentials-catalogue/v1.3.3/types.ts +102 -29
  454. package/src/credentials-catalogue/v1.3.3/utils.ts +42 -4
  455. package/src/index.ts +11 -2
  456. package/src/trust/common/types.ts +3 -3
  457. package/src/trust/v1.0.0/types.ts +10 -10
  458. package/src/trust/v1.3.3/types.ts +4 -7
  459. package/src/utils/callbacks.ts +7 -1
  460. package/src/utils/crypto.ts +18 -0
  461. package/src/utils/dpop.ts +1 -1
  462. package/src/utils/jwk.ts +1 -1
  463. package/src/utils/mappers.ts +2 -2
  464. package/src/utils/zod.ts +5 -1
  465. package/src/wallet-instance-attestation/README.md +13 -10
  466. package/src/wallet-instance-attestation/api/index.ts +20 -13
  467. package/src/wallet-instance-attestation/api/types.ts +16 -4
  468. package/src/wallet-instance-attestation/v1.0.0/index.ts +3 -3
  469. package/src/wallet-instance-attestation/v1.0.0/issuing.ts +7 -9
  470. package/src/wallet-instance-attestation/v1.0.0/mappers.ts +7 -5
  471. package/src/wallet-instance-attestation/v1.3.3/index.ts +5 -7
  472. package/src/wallet-instance-attestation/v1.3.3/issuing.ts +107 -3
  473. package/src/wallet-instance-attestation/v1.3.3/mappers.ts +18 -0
  474. package/src/wallet-instance-attestation/v1.3.3/types.ts +16 -30
  475. package/src/wallet-instance-attestation/v1.3.3/utils.ts +35 -0
  476. package/src/wallet-unit-attestation/README.md +73 -0
  477. package/src/wallet-unit-attestation/api/index.ts +51 -0
  478. package/src/wallet-unit-attestation/api/types.ts +49 -0
  479. package/src/wallet-unit-attestation/index.ts +3 -0
  480. package/src/wallet-unit-attestation/v1.0.0/index.ts +5 -0
  481. package/src/wallet-unit-attestation/v1.3.3/index.ts +11 -0
  482. package/src/wallet-unit-attestation/v1.3.3/issuing.ts +147 -0
  483. package/src/wallet-unit-attestation/v1.3.3/mappers.ts +10 -0
  484. package/src/wallet-unit-attestation/v1.3.3/types.ts +21 -0
  485. package/src/wallet-unit-attestation/v1.3.3/utils.ts +14 -0
  486. package/lib/commonjs/credential/presentation/api/04-verify-request-object.js.map +0 -1
  487. package/lib/commonjs/credential/presentation/api/05-evaluate-dcql-query.js.map +0 -1
  488. package/lib/commonjs/credential/presentation/api/06-send-authorization-response.js.map +0 -1
  489. package/lib/commonjs/credential/presentation/v1.3.3/04-verify-request-object.js.map +0 -1
  490. package/lib/module/credential/presentation/api/04-verify-request-object.js +0 -2
  491. package/lib/module/credential/presentation/api/04-verify-request-object.js.map +0 -1
  492. package/lib/module/credential/presentation/api/05-evaluate-dcql-query.js +0 -2
  493. package/lib/module/credential/presentation/api/05-evaluate-dcql-query.js.map +0 -1
  494. package/lib/module/credential/presentation/api/06-send-authorization-response.js +0 -2
  495. package/lib/module/credential/presentation/api/06-send-authorization-response.js.map +0 -1
  496. package/lib/module/credential/presentation/v1.3.3/04-verify-request-object.js.map +0 -1
  497. package/lib/typescript/credential/presentation/v1.0.0/04-verify-request-object.d.ts.map +0 -1
  498. package/lib/typescript/credential/presentation/v1.0.0/05-evaluate-dcql-query.d.ts.map +0 -1
  499. package/lib/typescript/credential/presentation/v1.0.0/06-send-authorization-response.d.ts.map +0 -1
  500. package/lib/typescript/credential/presentation/v1.3.3/04-verify-request-object.d.ts.map +0 -1
  501. package/lib/typescript/credential/presentation/v1.3.3/05-evaluate-dcql-query.d.ts.map +0 -1
  502. /package/src/credential/presentation/api/{04-verify-request-object.ts → 05-verify-request-object.ts} +0 -0
  503. /package/src/credential/presentation/api/{05-evaluate-dcql-query.ts → 06-evaluate-dcql-query.ts} +0 -0
  504. /package/src/credential/presentation/v1.0.0/{06-send-authorization-response.ts → 07-send-authorization-response.ts} +0 -0
  505. /package/src/credential/presentation/v1.3.3/{06-send-authorization-response.ts → 07-send-authorization-response.ts} +0 -0
@@ -1,251 +1,13 @@
1
1
  import { DcqlQuery, DcqlQueryResult } from "dcql";
2
2
  import type { EvaluatedDisclosure, PresentationFrame } from "../../api/types";
3
3
  import type { NotFoundDetail } from "../errors";
4
+ type DcqlMatchSuccess = Extract<DcqlQueryResult.CredentialMatch, {
5
+ success: true;
6
+ }>;
4
7
  /**
5
8
  * Extract only successful matches from the DCQL query result.
6
9
  */
7
- export declare const getDcqlQueryMatches: (result: DcqlQueryResult) => [string, {
8
- success: true;
9
- credential_query_id: string;
10
- valid_credentials: {
11
- success: true;
12
- input_credential_index: number;
13
- trusted_authorities: {
14
- success: true;
15
- valid_trusted_authority?: undefined;
16
- failed_trusted_authorities?: undefined;
17
- } | {
18
- success: true;
19
- valid_trusted_authority: {
20
- success: true;
21
- trusted_authority_index: number;
22
- output: {
23
- type: "aki" | "etsi_tl" | "openid_federation";
24
- value: string;
25
- };
26
- };
27
- failed_trusted_authorities?: {
28
- success: false;
29
- trusted_authority_index: number;
30
- issues: {
31
- [x: string]: unknown;
32
- };
33
- output: unknown;
34
- }[] | undefined;
35
- };
36
- claims: {
37
- success: true;
38
- valid_claims?: {
39
- success: true;
40
- claim_index: number;
41
- claim_id?: string | undefined;
42
- output: {
43
- [x: string]: string | number | boolean | {
44
- [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
45
- } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
46
- } | {
47
- [x: string]: {
48
- [x: string]: unknown;
49
- };
50
- };
51
- }[] | undefined;
52
- failed_claims?: {
53
- success: false;
54
- claim_index: number;
55
- claim_id?: string | undefined;
56
- issues: {
57
- [x: string]: unknown;
58
- };
59
- output: unknown;
60
- }[] | undefined;
61
- valid_claim_sets: {
62
- success: true;
63
- claim_set_index: number | undefined;
64
- valid_claim_indexes?: number[] | undefined;
65
- failed_claim_indexes?: undefined;
66
- output: {
67
- [x: string]: string | number | boolean | {
68
- [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
69
- } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
70
- } | {
71
- [x: string]: {
72
- [x: string]: unknown;
73
- };
74
- };
75
- }[];
76
- failed_claim_sets?: {
77
- success: false;
78
- claim_set_index: number | undefined;
79
- valid_claim_indexes?: number[] | undefined;
80
- failed_claim_indexes: number[];
81
- issues: {
82
- [x: string]: unknown;
83
- };
84
- }[] | undefined;
85
- };
86
- meta: {
87
- success: true;
88
- output: {
89
- cryptographic_holder_binding: boolean;
90
- credential_format: "dc+sd-jwt" | "vc+sd-jwt";
91
- vct: string;
92
- } | {
93
- cryptographic_holder_binding: boolean;
94
- credential_format: "mso_mdoc";
95
- doctype: string;
96
- } | {
97
- type: string[];
98
- cryptographic_holder_binding: boolean;
99
- credential_format: "vc+sd-jwt" | "jwt_vc_json" | "ldp_vc";
100
- };
101
- };
102
- }[];
103
- failed_credentials?: {
104
- success: false;
105
- input_credential_index: number;
106
- trusted_authorities: {
107
- success: true;
108
- valid_trusted_authority?: undefined;
109
- failed_trusted_authorities?: undefined;
110
- } | {
111
- success: true;
112
- valid_trusted_authority: {
113
- success: true;
114
- trusted_authority_index: number;
115
- output: {
116
- type: "aki" | "etsi_tl" | "openid_federation";
117
- value: string;
118
- };
119
- };
120
- failed_trusted_authorities?: {
121
- success: false;
122
- trusted_authority_index: number;
123
- issues: {
124
- [x: string]: unknown;
125
- };
126
- output: unknown;
127
- }[] | undefined;
128
- } | {
129
- success: false;
130
- valid_trusted_authority?: undefined;
131
- failed_trusted_authorities: {
132
- success: false;
133
- trusted_authority_index: number;
134
- issues: {
135
- [x: string]: unknown;
136
- };
137
- output: unknown;
138
- }[];
139
- };
140
- claims: {
141
- success: true;
142
- valid_claims?: {
143
- success: true;
144
- claim_index: number;
145
- claim_id?: string | undefined;
146
- output: {
147
- [x: string]: string | number | boolean | {
148
- [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
149
- } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
150
- } | {
151
- [x: string]: {
152
- [x: string]: unknown;
153
- };
154
- };
155
- }[] | undefined;
156
- failed_claims?: {
157
- success: false;
158
- claim_index: number;
159
- claim_id?: string | undefined;
160
- issues: {
161
- [x: string]: unknown;
162
- };
163
- output: unknown;
164
- }[] | undefined;
165
- valid_claim_sets: {
166
- success: true;
167
- claim_set_index: number | undefined;
168
- valid_claim_indexes?: number[] | undefined;
169
- failed_claim_indexes?: undefined;
170
- output: {
171
- [x: string]: string | number | boolean | {
172
- [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
173
- } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
174
- } | {
175
- [x: string]: {
176
- [x: string]: unknown;
177
- };
178
- };
179
- }[];
180
- failed_claim_sets?: {
181
- success: false;
182
- claim_set_index: number | undefined;
183
- valid_claim_indexes?: number[] | undefined;
184
- failed_claim_indexes: number[];
185
- issues: {
186
- [x: string]: unknown;
187
- };
188
- }[] | undefined;
189
- } | {
190
- success: false;
191
- valid_claims?: {
192
- success: true;
193
- claim_index: number;
194
- claim_id?: string | undefined;
195
- output: {
196
- [x: string]: string | number | boolean | {
197
- [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
198
- } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
199
- } | {
200
- [x: string]: {
201
- [x: string]: unknown;
202
- };
203
- };
204
- }[] | undefined;
205
- failed_claims: {
206
- success: false;
207
- claim_index: number;
208
- claim_id?: string | undefined;
209
- issues: {
210
- [x: string]: unknown;
211
- };
212
- output: unknown;
213
- }[];
214
- valid_claim_sets?: undefined;
215
- failed_claim_sets: {
216
- success: false;
217
- claim_set_index: number | undefined;
218
- valid_claim_indexes?: number[] | undefined;
219
- failed_claim_indexes: number[];
220
- issues: {
221
- [x: string]: unknown;
222
- };
223
- }[];
224
- };
225
- meta: {
226
- success: true;
227
- output: {
228
- cryptographic_holder_binding: boolean;
229
- credential_format: "dc+sd-jwt" | "vc+sd-jwt";
230
- vct: string;
231
- } | {
232
- cryptographic_holder_binding: boolean;
233
- credential_format: "mso_mdoc";
234
- doctype: string;
235
- } | {
236
- type: string[];
237
- cryptographic_holder_binding: boolean;
238
- credential_format: "vc+sd-jwt" | "jwt_vc_json" | "ldp_vc";
239
- };
240
- } | {
241
- success: false;
242
- issues: {
243
- [x: string]: unknown;
244
- };
245
- output: unknown;
246
- };
247
- }[] | undefined;
248
- }][];
10
+ export declare const getDcqlQueryMatches: (result: DcqlQueryResult) => [string, DcqlMatchSuccess][];
249
11
  /**
250
12
  * Extract details related to failed credentials
251
13
  */
@@ -282,12 +44,35 @@ export declare const getValidDcqlClaims: (match: DcqlQueryResult.CredentialMatch
282
44
  claim_id?: string | undefined;
283
45
  output: {
284
46
  [x: string]: string | number | boolean | {
285
- [key: string]: string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
286
- } | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | (string | number | boolean | any | any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
47
+ [key: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
48
+ } | (string | number | boolean | {
49
+ [key: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
50
+ } | (string | number | boolean | {
51
+ [key: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
52
+ } | (string | number | boolean | {
53
+ [key: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
54
+ } | (string | number | boolean | {
55
+ [key: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
56
+ } | (string | number | boolean | {
57
+ [key: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
58
+ } | (string | number | boolean | {
59
+ [key: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null;
60
+ } | (string | number | boolean | {
61
+ [key: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null;
62
+ } | (string | number | boolean | {
63
+ [key: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null;
64
+ } | (string | number | boolean | {
65
+ [key: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null;
66
+ } | (string | number | boolean | {
67
+ [key: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null;
68
+ } | (string | number | boolean | {
69
+ [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
70
+ } | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
287
71
  } | {
288
72
  [x: string]: {
289
73
  [x: string]: unknown;
290
74
  };
291
75
  };
292
76
  }[];
77
+ export {};
293
78
  //# sourceMappingURL=dcql.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dcql.d.ts","sourceRoot":"","sources":["../../../../../../src/credential/presentation/common/utils/dcql.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,SAAS,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AAEnE,OAAO,KAAK,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAG9E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAYhD;;GAEG;AACH,eAAO,MAAM,mBAAmB,WAAY,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAGxB,CAAC;AAUpC;;GAEG;AACH,eAAO,MAAM,+BAA+B,gBAC7B,eAAe,KAC3B,cAAc,EAyChB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,UAC1B,gBAAgB,eAAe,KACrC,mBAAmB,EAGnB,CAAC;AAEJ;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,SAC5B,CAAC,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC,EAAE,SACzB,OAAO,MAAM,EAAE,OAAO,CAAC,KAC7B,iBAyBF,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,iCAAiC,UACrC,gBAAgB,eAAe,iBACvB,SAAS,KACvB,iBAsBF,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,UAAW,gBAAgB,eAAe;;;;;;;;;;;;;GAmBxE,CAAC"}
1
+ {"version":3,"file":"dcql.d.ts","sourceRoot":"","sources":["../../../../../../src/credential/presentation/common/utils/dcql.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,SAAS,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AAEnE,OAAO,KAAK,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAG9E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAEhD,KAAK,gBAAgB,GAAG,OAAO,CAC7B,eAAe,CAAC,eAAe,EAC/B;IAAE,OAAO,EAAE,IAAI,CAAA;CAAE,CAClB,CAAC;AAOF;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAAI,QAAQ,eAAe,KAGpD,CAAC,MAAM,EAAE,gBAAgB,CAAC,EAAE,CAAC;AAUpC;;GAEG;AACH,eAAO,MAAM,+BAA+B,GAC1C,aAAa,eAAe,KAC3B,cAAc,EAyChB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,GACjC,OAAO,eAAe,CAAC,eAAe,KACrC,mBAAmB,EAGnB,CAAC;AAEJ;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,GAClC,MAAM,CAAC,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC,EAAE,EAChC,OAAO,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAC7B,iBAyBF,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,iCAAiC,GAC5C,OAAO,eAAe,CAAC,eAAe,EACtC,eAAe,SAAS,KACvB,iBAsBF,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,GAAI,OAAO,eAAe,CAAC,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmBxE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../../../../../src/credential/presentation/common/utils/http.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAC;AAEzE;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB,kBACf,aAAa,WACnB,8BAA8B,KACtC,QAAQ,MAAM,CAgBhB,CAAC"}
1
+ {"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../../../../../src/credential/presentation/common/utils/http.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAC;AAEzE;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB,GAC9B,eAAe,aAAa,EAC5B,SAAS,8BAA8B,KACtC,OAAO,CAAC,MAAM,CAgBhB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"sd-jwt.d.ts","sourceRoot":"","sources":["../../../../../../src/credential/presentation/common/utils/sd-jwt.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,MAAM,CAAC;AAIlD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAEjD,KAAK,2BAA2B,GAAG,qBAAqB,GAAG;IACzD,mBAAmB,EAAE,eAAe,CAAC;CACtC,CAAC;AA4BF;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,gBACjB,eAAe,EAAE,KAC7B,QAAQ,2BAA2B,EAAE,CAuBvC,CAAC"}
1
+ {"version":3,"file":"sd-jwt.d.ts","sourceRoot":"","sources":["../../../../../../src/credential/presentation/common/utils/sd-jwt.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,MAAM,CAAC;AAIlD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAEjD,KAAK,2BAA2B,GAAG,qBAAqB,GAAG;IACzD,mBAAmB,EAAE,eAAe,CAAC;CACtC,CAAC;AA4BF;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,GAC9B,aAAa,eAAe,EAAE,KAC7B,OAAO,CAAC,2BAA2B,EAAE,CAuBvC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/credential/presentation/common/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAC5C,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,iBAAiB,CAAC;AAEtE;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB,kBACf,aAAa,WACnB,8BAA8B,KACtC,QAAQ,MAAM,CAgBhB,CAAC"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/credential/presentation/common/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAC5C,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,iBAAiB,CAAC;AAEtE;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB,GAC9B,eAAe,aAAa,EAC5B,SAAS,8BAA8B,KACtC,OAAO,CAAC,MAAM,CAgBhB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { type RemotePresentationApi } from "../api";
2
+ export declare const verifyAuthRequestCertificateChain: RemotePresentationApi["verifyAuthRequestCertificateChain"];
3
+ //# sourceMappingURL=04-verify-certificate-chain.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"04-verify-certificate-chain.d.ts","sourceRoot":"","sources":["../../../../../src/credential/presentation/v1.0.0/04-verify-certificate-chain.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,QAAQ,CAAC;AAEpD,eAAO,MAAM,iCAAiC,EAAE,qBAAqB,CAAC,mCAAmC,CAMtG,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import type { RemotePresentationApi } from "../api";
2
2
  export declare const verifyRequestObject: RemotePresentationApi["verifyRequestObject"];
3
- //# sourceMappingURL=04-verify-request-object.d.ts.map
3
+ //# sourceMappingURL=05-verify-request-object.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"05-verify-request-object.d.ts","sourceRoot":"","sources":["../../../../../src/credential/presentation/v1.0.0/05-verify-request-object.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAsB,qBAAqB,EAAE,MAAM,QAAQ,CAAC;AAMxE,eAAO,MAAM,mBAAmB,EAAE,qBAAqB,CAAC,qBAAqB,CAsC1E,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import type { RemotePresentationApi } from "../api";
2
2
  export declare const evaluateDcqlQuery: RemotePresentationApi["evaluateDcqlQuery"];
3
- //# sourceMappingURL=05-evaluate-dcql-query.d.ts.map
3
+ //# sourceMappingURL=06-evaluate-dcql-query.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"06-evaluate-dcql-query.d.ts","sourceRoot":"","sources":["../../../../../src/credential/presentation/v1.0.0/06-evaluate-dcql-query.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAmB,qBAAqB,EAAE,MAAM,QAAQ,CAAC;AAWrE,eAAO,MAAM,iBAAiB,EAAE,qBAAqB,CAAC,mBAAmB,CAkFtE,CAAC"}
@@ -23,4 +23,4 @@ export declare const buildDirectPostJwtBody: (requestObject: RequestObject, rpCo
23
23
  export declare const prepareRemotePresentations: RemotePresentationApi["prepareRemotePresentations"];
24
24
  export declare const sendAuthorizationResponse: RemotePresentationApi["sendAuthorizationResponse"];
25
25
  export declare const sendAuthorizationErrorResponse: RemotePresentationApi["sendAuthorizationErrorResponse"];
26
- //# sourceMappingURL=06-send-authorization-response.d.ts.map
26
+ //# sourceMappingURL=07-send-authorization-response.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"07-send-authorization-response.d.ts","sourceRoot":"","sources":["../../../../../src/credential/presentation/v1.0.0/07-send-authorization-response.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,oBAAoB,CAAC;AAQ9C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,KAAK,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,QAAQ,CAAC;AACxE,OAAO,EAAyB,8BAA8B,EAAE,MAAM,SAAS,CAAC;AAKhF;;;;;;;GAOG;AACH,eAAO,MAAM,wBAAwB,GAAI,WAAW,GAAG,EAAE,KAAG,GAW3D,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB,GACjC,eAAe,aAAa,EAC5B,QAAQ,kBAAkB,EAC1B,SAAS,8BAA8B,KACtC,OAAO,CAAC,MAAM,CAkChB,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,qBAAqB,CAAC,4BAA4B,CAwBxF,CAAC;AAEJ,eAAO,MAAM,yBAAyB,EAAE,qBAAqB,CAAC,2BAA2B,CA+BtF,CAAC;AAEJ,eAAO,MAAM,8BAA8B,EAAE,qBAAqB,CAAC,gCAAgC,CAqBhG,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/credential/presentation/v1.0.0/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,QAAQ,CAAC;AAYpD,eAAO,MAAM,kBAAkB,EAAE,qBAShC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/credential/presentation/v1.0.0/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,QAAQ,CAAC;AAapD,eAAO,MAAM,kBAAkB,EAAE,qBAUhC,CAAC"}
@@ -1,13 +1,35 @@
1
1
  import type { RequestObject } from "../api/types";
2
2
  export declare const mapToRelyingPartyConfig: (input: {
3
3
  header: {
4
+ typ: "entity-statement+jwt";
4
5
  alg: string;
5
6
  kid: string;
6
- typ: "entity-statement+jwt";
7
7
  };
8
8
  payload: {
9
+ [x: string]: unknown;
9
10
  iss: string;
10
11
  sub: string;
12
+ iat: number;
13
+ exp: number;
14
+ metadata: {
15
+ [x: string]: unknown;
16
+ federation_entity: {
17
+ [x: string]: unknown;
18
+ federation_fetch_endpoint?: string | undefined;
19
+ federation_list_endpoint?: string | undefined;
20
+ federation_resolve_endpoint?: string | undefined;
21
+ federation_trust_mark_status_endpoint?: string | undefined;
22
+ federation_trust_mark_list_endpoint?: string | undefined;
23
+ federation_trust_mark_endpoint?: string | undefined;
24
+ federation_historical_keys_endpoint?: string | undefined;
25
+ endpoint_auth_signing_alg_values_supported?: string | undefined;
26
+ organization_name?: string | undefined;
27
+ homepage_uri?: string | undefined;
28
+ policy_uri?: string | undefined;
29
+ logo_uri?: string | undefined;
30
+ contacts?: string[] | undefined;
31
+ };
32
+ };
11
33
  jwks: {
12
34
  keys: {
13
35
  kty: "RSA" | "EC";
@@ -34,76 +56,54 @@ export declare const mapToRelyingPartyConfig: (input: {
34
56
  x5u?: string | undefined;
35
57
  }[];
36
58
  };
37
- iat: number;
38
- exp: number;
39
- metadata: {
40
- federation_entity: {
41
- federation_fetch_endpoint?: string | undefined;
42
- federation_list_endpoint?: string | undefined;
43
- federation_resolve_endpoint?: string | undefined;
44
- federation_trust_mark_status_endpoint?: string | undefined;
45
- federation_trust_mark_list_endpoint?: string | undefined;
46
- federation_trust_mark_endpoint?: string | undefined;
47
- federation_historical_keys_endpoint?: string | undefined;
48
- endpoint_auth_signing_alg_values_supported?: string | undefined;
49
- organization_name?: string | undefined;
50
- homepage_uri?: string | undefined;
51
- policy_uri?: string | undefined;
52
- logo_uri?: string | undefined;
53
- contacts?: string[] | undefined;
54
- } & {
55
- [k: string]: unknown;
56
- };
57
- } & {
58
- [k: string]: unknown;
59
- };
60
59
  authority_hints?: string[] | undefined;
61
- } & {
62
- [k: string]: unknown;
63
60
  };
64
61
  } & {
65
62
  payload: {
66
63
  metadata: {
67
64
  openid_credential_verifier: {
68
65
  jwks: {
69
- keys: import("zod").objectOutputType<{
70
- kty: import("zod").ZodString;
71
- kid: import("zod").ZodString;
72
- use: import("zod").ZodOptional<import("zod").ZodString>;
73
- key_ops: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
74
- alg: import("zod").ZodOptional<import("zod").ZodString>;
75
- x5u: import("zod").ZodOptional<import("zod").ZodString>;
76
- x5c: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
77
- x5t: import("zod").ZodOptional<import("zod").ZodString>;
78
- 'x5t#S256': import("zod").ZodOptional<import("zod").ZodString>;
79
- }, import("zod").ZodTypeAny, "passthrough">[];
66
+ keys: {
67
+ [x: string]: unknown;
68
+ kid: string;
69
+ kty: string;
70
+ alg?: string | undefined;
71
+ key_ops?: string[] | undefined;
72
+ use?: string | undefined;
73
+ x5c?: string[] | undefined;
74
+ x5t?: string | undefined;
75
+ "x5t#S256"?: string | undefined;
76
+ x5u?: string | undefined;
77
+ }[];
80
78
  };
81
- contacts?: string[] | undefined;
82
- client_id?: string | undefined;
83
- authorization_encrypted_response_alg?: string | undefined;
84
- authorization_encrypted_response_enc?: string | undefined;
85
79
  application_type?: string | undefined;
80
+ client_id?: string | undefined;
86
81
  client_name?: string | undefined;
82
+ contacts?: string[] | undefined;
87
83
  request_uris?: string[] | undefined;
88
84
  authorization_signed_response_alg?: string | undefined;
85
+ authorization_encrypted_response_alg?: string | undefined;
86
+ authorization_encrypted_response_enc?: string | undefined;
89
87
  };
90
88
  };
91
89
  };
92
90
  }) => {
93
91
  jwks: {
94
- keys: import("zod").objectOutputType<{
95
- kty: import("zod").ZodString;
96
- kid: import("zod").ZodString;
97
- use: import("zod").ZodOptional<import("zod").ZodString>;
98
- key_ops: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
99
- alg: import("zod").ZodOptional<import("zod").ZodString>;
100
- x5u: import("zod").ZodOptional<import("zod").ZodString>;
101
- x5c: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
102
- x5t: import("zod").ZodOptional<import("zod").ZodString>;
103
- 'x5t#S256': import("zod").ZodOptional<import("zod").ZodString>;
104
- }, import("zod").ZodTypeAny, "passthrough">[];
92
+ keys: {
93
+ [x: string]: unknown;
94
+ kid: string;
95
+ kty: string;
96
+ alg?: string | undefined;
97
+ key_ops?: string[] | undefined;
98
+ use?: string | undefined;
99
+ x5c?: string[] | undefined;
100
+ x5t?: string | undefined;
101
+ "x5t#S256"?: string | undefined;
102
+ x5u?: string | undefined;
103
+ }[];
105
104
  };
106
105
  federation_entity: {
106
+ [x: string]: unknown;
107
107
  federation_fetch_endpoint?: string | undefined;
108
108
  federation_list_endpoint?: string | undefined;
109
109
  federation_resolve_endpoint?: string | undefined;
@@ -117,8 +117,6 @@ export declare const mapToRelyingPartyConfig: (input: {
117
117
  policy_uri?: string | undefined;
118
118
  logo_uri?: string | undefined;
119
119
  contacts?: string[] | undefined;
120
- } & {
121
- [k: string]: unknown;
122
120
  };
123
121
  subject?: string | undefined;
124
122
  authorization_encrypted_response_alg?: string | undefined;
@@ -126,18 +124,18 @@ export declare const mapToRelyingPartyConfig: (input: {
126
124
  encrypted_response_enc_values_supported?: string[] | undefined;
127
125
  };
128
126
  export declare const mapToRequestObject: (input: {
129
- nonce: string;
130
127
  iss: string;
131
128
  iat: number;
132
129
  exp: number;
130
+ state: string;
131
+ nonce: string;
132
+ response_uri: string;
133
133
  response_type: "vp_token";
134
134
  response_mode: "direct_post.jwt";
135
135
  client_id: string;
136
- state: string;
137
- response_uri: string;
138
136
  dcql_query: Record<string, any>;
139
- scope?: string | undefined;
140
137
  request_uri_method?: string | undefined;
138
+ scope?: string | undefined;
141
139
  wallet_nonce?: string | undefined;
142
140
  }) => RequestObject;
143
141
  //# sourceMappingURL=mappers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mappers.d.ts","sourceRoot":"","sources":["../../../../../src/credential/presentation/v1.0.0/mappers.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAGlD,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAclC,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;mBAY5B,CAAC"}
1
+ {"version":3,"file":"mappers.d.ts","sourceRoot":"","sources":["../../../../../src/credential/presentation/v1.0.0/mappers.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAGlD,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAclC,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;mBAY5B,CAAC"}
@@ -14,67 +14,28 @@ export declare const RequestObjectPayload: z.ZodObject<{
14
14
  dcql_query: z.ZodRecord<z.ZodString, z.ZodAny>;
15
15
  scope: z.ZodOptional<z.ZodString>;
16
16
  wallet_nonce: z.ZodOptional<z.ZodString>;
17
- }, "strip", z.ZodTypeAny, {
18
- nonce: string;
19
- iss: string;
20
- iat: number;
21
- exp: number;
22
- response_type: "vp_token";
23
- response_mode: "direct_post.jwt";
24
- client_id: string;
25
- state: string;
26
- response_uri: string;
27
- dcql_query: Record<string, any>;
28
- scope?: string | undefined;
29
- request_uri_method?: string | undefined;
30
- wallet_nonce?: string | undefined;
31
- }, {
32
- nonce: string;
33
- iss: string;
34
- iat: number;
35
- exp: number;
36
- response_type: "vp_token";
37
- response_mode: "direct_post.jwt";
38
- client_id: string;
39
- state: string;
40
- response_uri: string;
41
- dcql_query: Record<string, any>;
42
- scope?: string | undefined;
43
- request_uri_method?: string | undefined;
44
- wallet_nonce?: string | undefined;
45
- }>;
17
+ }, z.core.$strip>;
46
18
  /**
47
19
  * Authorization Response payload sent to the Relying Party.
48
20
  */
49
21
  export type DirectAuthorizationBodyPayload = z.infer<typeof DirectAuthorizationBodyPayload>;
50
- export declare const DirectAuthorizationBodyPayload: z.ZodUnion<[z.ZodObject<{
22
+ export declare const DirectAuthorizationBodyPayload: z.ZodUnion<readonly [z.ZodObject<{
51
23
  vp_token: z.ZodRecord<z.ZodString, z.ZodString>;
52
- }, "strip", z.ZodTypeAny, {
53
- vp_token: Record<string, string>;
54
- }, {
55
- vp_token: Record<string, string>;
56
- }>, z.ZodObject<{
57
- error: z.ZodEnum<["invalid_request_object", "invalid_request_uri", "vp_formats_not_supported", "invalid_request", "access_denied", "invalid_client"]>;
24
+ }, z.core.$strip>, z.ZodObject<{
25
+ error: z.ZodEnum<{
26
+ invalid_request_object: "invalid_request_object";
27
+ invalid_request_uri: "invalid_request_uri";
28
+ vp_formats_not_supported: "vp_formats_not_supported";
29
+ invalid_request: "invalid_request";
30
+ access_denied: "access_denied";
31
+ invalid_client: "invalid_client";
32
+ }>;
58
33
  error_description: z.ZodString;
59
- }, "strip", z.ZodTypeAny, {
60
- error: "invalid_request_object" | "invalid_request_uri" | "vp_formats_not_supported" | "invalid_request" | "access_denied" | "invalid_client";
61
- error_description: string;
62
- }, {
63
- error: "invalid_request_object" | "invalid_request_uri" | "vp_formats_not_supported" | "invalid_request" | "access_denied" | "invalid_client";
64
- error_description: string;
65
- }>]>;
34
+ }, z.core.$strip>]>;
66
35
  export type AuthorizationResponse = z.infer<typeof AuthorizationResponse>;
67
36
  export declare const AuthorizationResponse: z.ZodObject<{
68
37
  status: z.ZodOptional<z.ZodString>;
69
38
  response_code: z.ZodOptional<z.ZodString>;
70
39
  redirect_uri: z.ZodOptional<z.ZodString>;
71
- }, "strip", z.ZodTypeAny, {
72
- status?: string | undefined;
73
- redirect_uri?: string | undefined;
74
- response_code?: string | undefined;
75
- }, {
76
- status?: string | undefined;
77
- redirect_uri?: string | undefined;
78
- response_code?: string | undefined;
79
- }>;
40
+ }, z.core.$strip>;
80
41
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/credential/presentation/v1.0.0/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAIzB,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AACxE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAc/B,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAClD,OAAO,8BAA8B,CACtC,CAAC;AACF,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;IAKzC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAC1E,eAAO,MAAM,qBAAqB;;;;;;;;;;;;EAIhC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/credential/presentation/v1.0.0/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAIzB,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AACxE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;iBAc/B,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAClD,OAAO,8BAA8B,CACtC,CAAC;AACF,eAAO,MAAM,8BAA8B;;;;;;;;;;;;mBAKzC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAC1E,eAAO,MAAM,qBAAqB;;;;iBAIhC,CAAC"}