@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
@@ -2,562 +2,204 @@ import * as z from "zod";
2
2
  export declare const AuthenticSource: z.ZodObject<{
3
3
  entity_id: z.ZodString;
4
4
  organization_info: z.ZodObject<{
5
- organization_name: z.ZodString;
5
+ organization_name_l10n_id: z.ZodString;
6
6
  organization_type: z.ZodString;
7
7
  organization_country: z.ZodString;
8
+ legal_identifier: z.ZodString;
9
+ homepage_uri: z.ZodString;
10
+ contacts: z.ZodArray<z.ZodString>;
11
+ policy_uri: z.ZodString;
8
12
  ipa_code: z.ZodOptional<z.ZodString>;
9
- contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10
- homepage_uri: z.ZodOptional<z.ZodString>;
13
+ tos_uri: z.ZodOptional<z.ZodString>;
11
14
  logo_uri: z.ZodOptional<z.ZodString>;
12
- policy_uri: z.ZodOptional<z.ZodString>;
13
- }, "strip", z.ZodTypeAny, {
14
- organization_name: string;
15
- organization_country: string;
16
- organization_type: string;
17
- homepage_uri?: string | undefined;
18
- policy_uri?: string | undefined;
19
- logo_uri?: string | undefined;
20
- contacts?: string[] | undefined;
21
- ipa_code?: string | undefined;
22
- }, {
23
- organization_name: string;
24
- organization_country: string;
25
- organization_type: string;
26
- homepage_uri?: string | undefined;
27
- policy_uri?: string | undefined;
28
- logo_uri?: string | undefined;
29
- contacts?: string[] | undefined;
30
- ipa_code?: string | undefined;
31
- }>;
15
+ "logo_uri#integrity": z.ZodOptional<z.ZodString>;
16
+ logo_extended_uri: z.ZodOptional<z.ZodString>;
17
+ "logo_extended_uri#integrity": z.ZodOptional<z.ZodString>;
18
+ dpa_contact: z.ZodOptional<z.ZodString>;
19
+ }, z.core.$strip>;
32
20
  data_capabilities: z.ZodArray<z.ZodObject<{
33
21
  dataset_id: z.ZodString;
34
- domains: z.ZodArray<z.ZodString, "many">;
35
- intended_purposes: z.ZodArray<z.ZodString, "many">;
22
+ intended_purposes: z.ZodArray<z.ZodString>;
36
23
  available_claims: z.ZodArray<z.ZodObject<{
37
24
  claim_name: z.ZodString;
38
25
  order: z.ZodNumber;
39
26
  mandatory: z.ZodBoolean;
40
- }, "strip", z.ZodTypeAny, {
41
- claim_name: string;
42
- order: number;
43
- mandatory: boolean;
44
- }, {
45
- claim_name: string;
46
- order: number;
47
- mandatory: boolean;
48
- }>, "many">;
49
- user_information: z.ZodOptional<z.ZodString>;
50
- }, "strip", z.ZodTypeAny, {
51
- dataset_id: string;
52
- domains: string[];
53
- intended_purposes: string[];
54
- available_claims: {
55
- claim_name: string;
56
- order: number;
57
- mandatory: boolean;
58
- }[];
59
- user_information?: string | undefined;
60
- }, {
61
- dataset_id: string;
62
- domains: string[];
63
- intended_purposes: string[];
64
- available_claims: {
65
- claim_name: string;
66
- order: number;
67
- mandatory: boolean;
68
- }[];
69
- user_information?: string | undefined;
70
- }>, "many">;
71
- }, "strip", z.ZodTypeAny, {
72
- entity_id: string;
73
- organization_info: {
74
- organization_name: string;
75
- organization_country: string;
76
- organization_type: string;
77
- homepage_uri?: string | undefined;
78
- policy_uri?: string | undefined;
79
- logo_uri?: string | undefined;
80
- contacts?: string[] | undefined;
81
- ipa_code?: string | undefined;
82
- };
83
- data_capabilities: {
84
- dataset_id: string;
85
- domains: string[];
86
- intended_purposes: string[];
87
- available_claims: {
88
- claim_name: string;
89
- order: number;
90
- mandatory: boolean;
91
- }[];
92
- user_information?: string | undefined;
93
- }[];
94
- }, {
95
- entity_id: string;
96
- organization_info: {
97
- organization_name: string;
98
- organization_country: string;
99
- organization_type: string;
100
- homepage_uri?: string | undefined;
101
- policy_uri?: string | undefined;
102
- logo_uri?: string | undefined;
103
- contacts?: string[] | undefined;
104
- ipa_code?: string | undefined;
105
- };
106
- data_capabilities: {
107
- dataset_id: string;
108
- domains: string[];
109
- intended_purposes: string[];
110
- available_claims: {
111
- claim_name: string;
112
- order: number;
113
- mandatory: boolean;
114
- }[];
115
- user_information?: string | undefined;
116
- }[];
117
- }>;
27
+ }, z.core.$strip>>;
28
+ domains: z.ZodOptional<z.ZodArray<z.ZodString>>;
29
+ data_origin_l10n_id: z.ZodString;
30
+ integration_endpoint: z.ZodString;
31
+ integration_method: z.ZodString;
32
+ user_information_l10n_id: z.ZodString;
33
+ api_specification: z.ZodOptional<z.ZodString>;
34
+ background_color: z.ZodOptional<z.ZodString>;
35
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString>>;
36
+ data_provision: z.ZodOptional<z.ZodObject<{
37
+ deferred_flow: z.ZodBoolean;
38
+ immediate_flow: z.ZodBoolean;
39
+ }, z.core.$strip>>;
40
+ logo_uri: z.ZodOptional<z.ZodString>;
41
+ "logo_uri#integrity": z.ZodOptional<z.ZodString>;
42
+ service_documentation: z.ZodOptional<z.ZodString>;
43
+ update_frequency: z.ZodOptional<z.ZodString>;
44
+ }, z.core.$strip>>;
45
+ }, z.core.$strip>;
118
46
  export type AuthenticSource = z.infer<typeof AuthenticSource>;
119
47
  export declare const Schema: z.ZodObject<{
120
48
  id: z.ZodString;
121
49
  version: z.ZodString;
122
50
  credential_type: z.ZodString;
123
- format: z.ZodEnum<["dc+sd-jwt", "mso_mdoc"]>;
51
+ format: z.ZodEnum<{
52
+ "dc+sd-jwt": "dc+sd-jwt";
53
+ mso_mdoc: "mso_mdoc";
54
+ }>;
124
55
  docType: z.ZodOptional<z.ZodString>;
125
56
  vct: z.ZodOptional<z.ZodString>;
126
57
  schema_uri: z.ZodString;
127
58
  "schema_uri#integrity": z.ZodString;
128
59
  description: z.ZodOptional<z.ZodString>;
129
- }, "strip", z.ZodTypeAny, {
130
- id: string;
131
- format: "dc+sd-jwt" | "mso_mdoc";
132
- schema_uri: string;
133
- "schema_uri#integrity": string;
134
- version: string;
135
- credential_type: string;
136
- description?: string | undefined;
137
- vct?: string | undefined;
138
- docType?: string | undefined;
139
- }, {
140
- id: string;
141
- format: "dc+sd-jwt" | "mso_mdoc";
142
- schema_uri: string;
143
- "schema_uri#integrity": string;
144
- version: string;
145
- credential_type: string;
146
- description?: string | undefined;
147
- vct?: string | undefined;
148
- docType?: string | undefined;
149
- }>;
60
+ }, z.core.$strip>;
150
61
  export type Schema = z.infer<typeof Schema>;
151
62
  export declare const DigitalCredential: z.ZodObject<{
152
63
  version: z.ZodString;
153
64
  credential_type: z.ZodString;
154
- credential_name: z.ZodString;
65
+ credential_name_l10n_id: z.ZodString;
155
66
  legal_type: z.ZodString;
156
- description: z.ZodString;
67
+ restriction_policy: z.ZodOptional<z.ZodObject<{
68
+ allowed_wallet_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
69
+ allowed_issuer_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
70
+ presentation_flows: z.ZodObject<{
71
+ remote: z.ZodBoolean;
72
+ proximity: z.ZodBoolean;
73
+ }, z.core.$strip>;
74
+ }, z.core.$strip>>;
157
75
  validity_info: z.ZodObject<{
158
76
  max_validity_days: z.ZodNumber;
159
- status_methods: z.ZodArray<z.ZodString, "many">;
160
- allowed_states: z.ZodArray<z.ZodString, "many">;
161
- }, "strip", z.ZodTypeAny, {
162
- max_validity_days: number;
163
- status_methods: string[];
164
- allowed_states: string[];
165
- }, {
166
- max_validity_days: number;
167
- status_methods: string[];
168
- allowed_states: string[];
169
- }>;
77
+ status_methods: z.ZodArray<z.ZodString>;
78
+ administrative_expiration_user_info: z.ZodOptional<z.ZodObject<{
79
+ title_l10n_id: z.ZodString;
80
+ description_l10n_id: z.ZodString;
81
+ }, z.core.$strip>>;
82
+ allowed_states: z.ZodArray<z.ZodObject<{
83
+ title_l10n_id: z.ZodString;
84
+ description_l10n_id: z.ZodString;
85
+ }, z.core.$catchall<z.ZodString>>>;
86
+ }, z.core.$strip>;
87
+ administrative_expiration_user_info: z.ZodOptional<z.ZodObject<{
88
+ title_l10n_id: z.ZodString;
89
+ description_l10n_id: z.ZodString;
90
+ }, z.core.$strip>>;
170
91
  authentication: z.ZodObject<{
171
92
  user_auth_required: z.ZodBoolean;
172
93
  min_loa: z.ZodString;
173
- supported_eid_schemes: z.ZodArray<z.ZodString, "many">;
174
- }, "strip", z.ZodTypeAny, {
175
- user_auth_required: boolean;
176
- min_loa: string;
177
- supported_eid_schemes: string[];
178
- }, {
179
- user_auth_required: boolean;
180
- min_loa: string;
181
- supported_eid_schemes: string[];
182
- }>;
183
- purposes: z.ZodArray<z.ZodObject<{
184
- id: z.ZodString;
185
- description: z.ZodString;
186
- claims_required: z.ZodArray<z.ZodString, "many">;
187
- claim_recommended: z.ZodArray<z.ZodString, "many">;
188
- }, "strip", z.ZodTypeAny, {
189
- id: string;
190
- description: string;
191
- claims_required: string[];
192
- claim_recommended: string[];
193
- }, {
194
- id: string;
195
- description: string;
196
- claims_required: string[];
197
- claim_recommended: string[];
198
- }>, "many">;
94
+ supported_schemes: z.ZodArray<z.ZodString>;
95
+ }, z.core.$strip>;
96
+ domains: z.ZodOptional<z.ZodArray<z.ZodString>>;
97
+ classes: z.ZodOptional<z.ZodArray<z.ZodString>>;
98
+ purposes: z.ZodArray<z.ZodString>;
199
99
  issuers: z.ZodArray<z.ZodObject<{
200
100
  id: z.ZodString;
201
- organization_name: z.ZodString;
101
+ organization_name_l10n_id: z.ZodString;
202
102
  organization_code: z.ZodString;
203
103
  organization_country: z.ZodString;
204
- contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
104
+ legal_type: z.ZodOptional<z.ZodString>;
105
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString>>;
205
106
  homepage_uri: z.ZodOptional<z.ZodString>;
206
107
  logo_uri: z.ZodOptional<z.ZodString>;
207
108
  policy_uri: z.ZodOptional<z.ZodString>;
208
109
  tos_uri: z.ZodOptional<z.ZodString>;
209
- }, "strip", z.ZodTypeAny, {
210
- id: string;
211
- organization_name: string;
212
- organization_code: string;
213
- organization_country: string;
214
- homepage_uri?: string | undefined;
215
- policy_uri?: string | undefined;
216
- logo_uri?: string | undefined;
217
- contacts?: string[] | undefined;
218
- tos_uri?: string | undefined;
219
- }, {
220
- id: string;
221
- organization_name: string;
222
- organization_code: string;
223
- organization_country: string;
224
- homepage_uri?: string | undefined;
225
- policy_uri?: string | undefined;
226
- logo_uri?: string | undefined;
227
- contacts?: string[] | undefined;
228
- tos_uri?: string | undefined;
229
- }>, "many">;
110
+ service_documentation: z.ZodOptional<z.ZodString>;
111
+ issuance_flows: z.ZodOptional<z.ZodObject<{
112
+ deferred_flow: z.ZodBoolean;
113
+ }, z.core.$strip>>;
114
+ }, z.core.$strip>>;
230
115
  authentic_sources: z.ZodArray<z.ZodObject<{
231
116
  id: z.ZodString;
232
117
  dataset_id: z.ZodString;
233
- }, "strip", z.ZodTypeAny, {
234
- id: string;
235
- dataset_id: string;
236
- }, {
237
- id: string;
238
- dataset_id: string;
239
- }>, "many">;
240
- }, "strip", z.ZodTypeAny, {
241
- description: string;
242
- version: string;
243
- credential_type: string;
244
- legal_type: string;
245
- validity_info: {
246
- max_validity_days: number;
247
- status_methods: string[];
248
- allowed_states: string[];
249
- };
250
- purposes: {
251
- id: string;
252
- description: string;
253
- claims_required: string[];
254
- claim_recommended: string[];
255
- }[];
256
- issuers: {
257
- id: string;
258
- organization_name: string;
259
- organization_code: string;
260
- organization_country: string;
261
- homepage_uri?: string | undefined;
262
- policy_uri?: string | undefined;
263
- logo_uri?: string | undefined;
264
- contacts?: string[] | undefined;
265
- tos_uri?: string | undefined;
266
- }[];
267
- authentic_sources: {
268
- id: string;
269
- dataset_id: string;
270
- }[];
271
- authentication: {
272
- user_auth_required: boolean;
273
- min_loa: string;
274
- supported_eid_schemes: string[];
275
- };
276
- credential_name: string;
277
- }, {
278
- description: string;
279
- version: string;
280
- credential_type: string;
281
- legal_type: string;
282
- validity_info: {
283
- max_validity_days: number;
284
- status_methods: string[];
285
- allowed_states: string[];
286
- };
287
- purposes: {
288
- id: string;
289
- description: string;
290
- claims_required: string[];
291
- claim_recommended: string[];
292
- }[];
293
- issuers: {
294
- id: string;
295
- organization_name: string;
296
- organization_code: string;
297
- organization_country: string;
298
- homepage_uri?: string | undefined;
299
- policy_uri?: string | undefined;
300
- logo_uri?: string | undefined;
301
- contacts?: string[] | undefined;
302
- tos_uri?: string | undefined;
303
- }[];
304
- authentic_sources: {
305
- id: string;
306
- dataset_id: string;
307
- }[];
308
- authentication: {
309
- user_auth_required: boolean;
310
- min_loa: string;
311
- supported_eid_schemes: string[];
312
- };
313
- credential_name: string;
314
- }>;
118
+ }, z.core.$strip>>;
119
+ }, z.core.$strip>;
315
120
  /**
316
121
  * Schema registry, available at a dedicated endpoint.
317
122
  * @see https://italia.github.io/eid-wallet-it-docs/releases/1.3.3/en/registry.html#schema-registry
318
123
  */
319
124
  export declare const SchemaRegistry: z.ZodObject<{
320
125
  version: z.ZodString;
321
- last_modified: z.ZodString;
126
+ last_modified: z.ZodOptional<z.ZodString>;
127
+ last_updated: z.ZodOptional<z.ZodString>;
322
128
  schemas: z.ZodArray<z.ZodObject<{
323
129
  id: z.ZodString;
324
130
  version: z.ZodString;
325
131
  credential_type: z.ZodString;
326
- format: z.ZodEnum<["dc+sd-jwt", "mso_mdoc"]>;
132
+ format: z.ZodEnum<{
133
+ "dc+sd-jwt": "dc+sd-jwt";
134
+ mso_mdoc: "mso_mdoc";
135
+ }>;
327
136
  docType: z.ZodOptional<z.ZodString>;
328
137
  vct: z.ZodOptional<z.ZodString>;
329
138
  schema_uri: z.ZodString;
330
139
  "schema_uri#integrity": z.ZodString;
331
140
  description: z.ZodOptional<z.ZodString>;
332
- }, "strip", z.ZodTypeAny, {
333
- id: string;
334
- format: "dc+sd-jwt" | "mso_mdoc";
335
- schema_uri: string;
336
- "schema_uri#integrity": string;
337
- version: string;
338
- credential_type: string;
339
- description?: string | undefined;
340
- vct?: string | undefined;
341
- docType?: string | undefined;
342
- }, {
343
- id: string;
344
- format: "dc+sd-jwt" | "mso_mdoc";
345
- schema_uri: string;
346
- "schema_uri#integrity": string;
347
- version: string;
348
- credential_type: string;
349
- description?: string | undefined;
350
- vct?: string | undefined;
351
- docType?: string | undefined;
352
- }>, "many">;
353
- }, "strip", z.ZodTypeAny, {
354
- version: string;
355
- last_modified: string;
356
- schemas: {
357
- id: string;
358
- format: "dc+sd-jwt" | "mso_mdoc";
359
- schema_uri: string;
360
- "schema_uri#integrity": string;
361
- version: string;
362
- credential_type: string;
363
- description?: string | undefined;
364
- vct?: string | undefined;
365
- docType?: string | undefined;
366
- }[];
367
- }, {
368
- version: string;
369
- last_modified: string;
370
- schemas: {
371
- id: string;
372
- format: "dc+sd-jwt" | "mso_mdoc";
373
- schema_uri: string;
374
- "schema_uri#integrity": string;
375
- version: string;
376
- credential_type: string;
377
- description?: string | undefined;
378
- vct?: string | undefined;
379
- docType?: string | undefined;
380
- }[];
381
- }>;
141
+ }, z.core.$strip>>;
142
+ }, z.core.$strip>;
382
143
  export type SchemaRegistry = z.infer<typeof SchemaRegistry>;
383
144
  /**
384
145
  * Authentic Source registry, available at a dedicated endpoint.
385
146
  * @see https://italia.github.io/eid-wallet-it-docs/releases/1.3.3/en/registry.html#authentic-source-registry
386
147
  */
387
148
  export declare const AuthenticSourceRegistry: z.ZodObject<{
149
+ id: z.ZodOptional<z.ZodString>;
388
150
  version: z.ZodString;
389
151
  last_modified: z.ZodString;
152
+ localization: z.ZodOptional<z.ZodObject<{
153
+ available_locales: z.ZodArray<z.ZodString>;
154
+ base_uri: z.ZodString;
155
+ default_locale: z.ZodString;
156
+ version: z.ZodString;
157
+ }, z.core.$strip>>;
390
158
  authentic_sources: z.ZodArray<z.ZodObject<{
391
159
  entity_id: z.ZodString;
392
160
  organization_info: z.ZodObject<{
393
- organization_name: z.ZodString;
161
+ organization_name_l10n_id: z.ZodString;
394
162
  organization_type: z.ZodString;
395
163
  organization_country: z.ZodString;
164
+ legal_identifier: z.ZodString;
165
+ homepage_uri: z.ZodString;
166
+ contacts: z.ZodArray<z.ZodString>;
167
+ policy_uri: z.ZodString;
396
168
  ipa_code: z.ZodOptional<z.ZodString>;
397
- contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
398
- homepage_uri: z.ZodOptional<z.ZodString>;
169
+ tos_uri: z.ZodOptional<z.ZodString>;
399
170
  logo_uri: z.ZodOptional<z.ZodString>;
400
- policy_uri: z.ZodOptional<z.ZodString>;
401
- }, "strip", z.ZodTypeAny, {
402
- organization_name: string;
403
- organization_country: string;
404
- organization_type: string;
405
- homepage_uri?: string | undefined;
406
- policy_uri?: string | undefined;
407
- logo_uri?: string | undefined;
408
- contacts?: string[] | undefined;
409
- ipa_code?: string | undefined;
410
- }, {
411
- organization_name: string;
412
- organization_country: string;
413
- organization_type: string;
414
- homepage_uri?: string | undefined;
415
- policy_uri?: string | undefined;
416
- logo_uri?: string | undefined;
417
- contacts?: string[] | undefined;
418
- ipa_code?: string | undefined;
419
- }>;
171
+ "logo_uri#integrity": z.ZodOptional<z.ZodString>;
172
+ logo_extended_uri: z.ZodOptional<z.ZodString>;
173
+ "logo_extended_uri#integrity": z.ZodOptional<z.ZodString>;
174
+ dpa_contact: z.ZodOptional<z.ZodString>;
175
+ }, z.core.$strip>;
420
176
  data_capabilities: z.ZodArray<z.ZodObject<{
421
177
  dataset_id: z.ZodString;
422
- domains: z.ZodArray<z.ZodString, "many">;
423
- intended_purposes: z.ZodArray<z.ZodString, "many">;
178
+ intended_purposes: z.ZodArray<z.ZodString>;
424
179
  available_claims: z.ZodArray<z.ZodObject<{
425
180
  claim_name: z.ZodString;
426
181
  order: z.ZodNumber;
427
182
  mandatory: z.ZodBoolean;
428
- }, "strip", z.ZodTypeAny, {
429
- claim_name: string;
430
- order: number;
431
- mandatory: boolean;
432
- }, {
433
- claim_name: string;
434
- order: number;
435
- mandatory: boolean;
436
- }>, "many">;
437
- user_information: z.ZodOptional<z.ZodString>;
438
- }, "strip", z.ZodTypeAny, {
439
- dataset_id: string;
440
- domains: string[];
441
- intended_purposes: string[];
442
- available_claims: {
443
- claim_name: string;
444
- order: number;
445
- mandatory: boolean;
446
- }[];
447
- user_information?: string | undefined;
448
- }, {
449
- dataset_id: string;
450
- domains: string[];
451
- intended_purposes: string[];
452
- available_claims: {
453
- claim_name: string;
454
- order: number;
455
- mandatory: boolean;
456
- }[];
457
- user_information?: string | undefined;
458
- }>, "many">;
459
- }, "strip", z.ZodTypeAny, {
460
- entity_id: string;
461
- organization_info: {
462
- organization_name: string;
463
- organization_country: string;
464
- organization_type: string;
465
- homepage_uri?: string | undefined;
466
- policy_uri?: string | undefined;
467
- logo_uri?: string | undefined;
468
- contacts?: string[] | undefined;
469
- ipa_code?: string | undefined;
470
- };
471
- data_capabilities: {
472
- dataset_id: string;
473
- domains: string[];
474
- intended_purposes: string[];
475
- available_claims: {
476
- claim_name: string;
477
- order: number;
478
- mandatory: boolean;
479
- }[];
480
- user_information?: string | undefined;
481
- }[];
482
- }, {
483
- entity_id: string;
484
- organization_info: {
485
- organization_name: string;
486
- organization_country: string;
487
- organization_type: string;
488
- homepage_uri?: string | undefined;
489
- policy_uri?: string | undefined;
490
- logo_uri?: string | undefined;
491
- contacts?: string[] | undefined;
492
- ipa_code?: string | undefined;
493
- };
494
- data_capabilities: {
495
- dataset_id: string;
496
- domains: string[];
497
- intended_purposes: string[];
498
- available_claims: {
499
- claim_name: string;
500
- order: number;
501
- mandatory: boolean;
502
- }[];
503
- user_information?: string | undefined;
504
- }[];
505
- }>, "many">;
506
- }, "strip", z.ZodTypeAny, {
507
- version: string;
508
- authentic_sources: {
509
- entity_id: string;
510
- organization_info: {
511
- organization_name: string;
512
- organization_country: string;
513
- organization_type: string;
514
- homepage_uri?: string | undefined;
515
- policy_uri?: string | undefined;
516
- logo_uri?: string | undefined;
517
- contacts?: string[] | undefined;
518
- ipa_code?: string | undefined;
519
- };
520
- data_capabilities: {
521
- dataset_id: string;
522
- domains: string[];
523
- intended_purposes: string[];
524
- available_claims: {
525
- claim_name: string;
526
- order: number;
527
- mandatory: boolean;
528
- }[];
529
- user_information?: string | undefined;
530
- }[];
531
- }[];
532
- last_modified: string;
533
- }, {
534
- version: string;
535
- authentic_sources: {
536
- entity_id: string;
537
- organization_info: {
538
- organization_name: string;
539
- organization_country: string;
540
- organization_type: string;
541
- homepage_uri?: string | undefined;
542
- policy_uri?: string | undefined;
543
- logo_uri?: string | undefined;
544
- contacts?: string[] | undefined;
545
- ipa_code?: string | undefined;
546
- };
547
- data_capabilities: {
548
- dataset_id: string;
549
- domains: string[];
550
- intended_purposes: string[];
551
- available_claims: {
552
- claim_name: string;
553
- order: number;
554
- mandatory: boolean;
555
- }[];
556
- user_information?: string | undefined;
557
- }[];
558
- }[];
559
- last_modified: string;
560
- }>;
183
+ }, z.core.$strip>>;
184
+ domains: z.ZodOptional<z.ZodArray<z.ZodString>>;
185
+ data_origin_l10n_id: z.ZodString;
186
+ integration_endpoint: z.ZodString;
187
+ integration_method: z.ZodString;
188
+ user_information_l10n_id: z.ZodString;
189
+ api_specification: z.ZodOptional<z.ZodString>;
190
+ background_color: z.ZodOptional<z.ZodString>;
191
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString>>;
192
+ data_provision: z.ZodOptional<z.ZodObject<{
193
+ deferred_flow: z.ZodBoolean;
194
+ immediate_flow: z.ZodBoolean;
195
+ }, z.core.$strip>>;
196
+ logo_uri: z.ZodOptional<z.ZodString>;
197
+ "logo_uri#integrity": z.ZodOptional<z.ZodString>;
198
+ service_documentation: z.ZodOptional<z.ZodString>;
199
+ update_frequency: z.ZodOptional<z.ZodString>;
200
+ }, z.core.$strip>>;
201
+ }, z.core.$strip>>;
202
+ }, z.core.$strip>;
561
203
  export type AuthenticSourceRegistry = z.infer<typeof AuthenticSourceRegistry>;
562
204
  /**
563
205
  * The Digital Credentials Catalogue published by the Trust Anchor.
@@ -568,400 +210,89 @@ export declare const DigitalCredentialsCatalogueJwt: z.ZodObject<{
568
210
  typ: z.ZodString;
569
211
  alg: z.ZodString;
570
212
  kid: z.ZodString;
571
- x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
572
- }, "strip", z.ZodTypeAny, {
573
- alg: string;
574
- kid: string;
575
- typ: string;
576
- x5c?: string[] | undefined;
577
- }, {
578
- alg: string;
579
- kid: string;
580
- typ: string;
581
- x5c?: string[] | undefined;
582
- }>;
213
+ x5c: z.ZodOptional<z.ZodArray<z.ZodString>>;
214
+ }, z.core.$strip>;
583
215
  payload: z.ZodObject<{
216
+ iss: z.ZodString;
217
+ id: z.ZodString;
584
218
  version: z.ZodString;
585
219
  last_modified: z.ZodString;
220
+ localization: z.ZodOptional<z.ZodObject<{
221
+ available_locales: z.ZodArray<z.ZodString>;
222
+ base_uri: z.ZodString;
223
+ default_locale: z.ZodString;
224
+ version: z.ZodString;
225
+ }, z.core.$strip>>;
586
226
  credentials: z.ZodArray<z.ZodObject<{
587
227
  version: z.ZodString;
588
228
  credential_type: z.ZodString;
589
- credential_name: z.ZodString;
229
+ credential_name_l10n_id: z.ZodString;
590
230
  legal_type: z.ZodString;
591
- description: z.ZodString;
231
+ restriction_policy: z.ZodOptional<z.ZodObject<{
232
+ allowed_wallet_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
233
+ allowed_issuer_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
234
+ presentation_flows: z.ZodObject<{
235
+ remote: z.ZodBoolean;
236
+ proximity: z.ZodBoolean;
237
+ }, z.core.$strip>;
238
+ }, z.core.$strip>>;
592
239
  validity_info: z.ZodObject<{
593
240
  max_validity_days: z.ZodNumber;
594
- status_methods: z.ZodArray<z.ZodString, "many">;
595
- allowed_states: z.ZodArray<z.ZodString, "many">;
596
- }, "strip", z.ZodTypeAny, {
597
- max_validity_days: number;
598
- status_methods: string[];
599
- allowed_states: string[];
600
- }, {
601
- max_validity_days: number;
602
- status_methods: string[];
603
- allowed_states: string[];
604
- }>;
241
+ status_methods: z.ZodArray<z.ZodString>;
242
+ administrative_expiration_user_info: z.ZodOptional<z.ZodObject<{
243
+ title_l10n_id: z.ZodString;
244
+ description_l10n_id: z.ZodString;
245
+ }, z.core.$strip>>;
246
+ allowed_states: z.ZodArray<z.ZodObject<{
247
+ title_l10n_id: z.ZodString;
248
+ description_l10n_id: z.ZodString;
249
+ }, z.core.$catchall<z.ZodString>>>;
250
+ }, z.core.$strip>;
251
+ administrative_expiration_user_info: z.ZodOptional<z.ZodObject<{
252
+ title_l10n_id: z.ZodString;
253
+ description_l10n_id: z.ZodString;
254
+ }, z.core.$strip>>;
605
255
  authentication: z.ZodObject<{
606
256
  user_auth_required: z.ZodBoolean;
607
257
  min_loa: z.ZodString;
608
- supported_eid_schemes: z.ZodArray<z.ZodString, "many">;
609
- }, "strip", z.ZodTypeAny, {
610
- user_auth_required: boolean;
611
- min_loa: string;
612
- supported_eid_schemes: string[];
613
- }, {
614
- user_auth_required: boolean;
615
- min_loa: string;
616
- supported_eid_schemes: string[];
617
- }>;
618
- purposes: z.ZodArray<z.ZodObject<{
619
- id: z.ZodString;
620
- description: z.ZodString;
621
- claims_required: z.ZodArray<z.ZodString, "many">;
622
- claim_recommended: z.ZodArray<z.ZodString, "many">;
623
- }, "strip", z.ZodTypeAny, {
624
- id: string;
625
- description: string;
626
- claims_required: string[];
627
- claim_recommended: string[];
628
- }, {
629
- id: string;
630
- description: string;
631
- claims_required: string[];
632
- claim_recommended: string[];
633
- }>, "many">;
258
+ supported_schemes: z.ZodArray<z.ZodString>;
259
+ }, z.core.$strip>;
260
+ domains: z.ZodOptional<z.ZodArray<z.ZodString>>;
261
+ classes: z.ZodOptional<z.ZodArray<z.ZodString>>;
262
+ purposes: z.ZodArray<z.ZodString>;
634
263
  issuers: z.ZodArray<z.ZodObject<{
635
264
  id: z.ZodString;
636
- organization_name: z.ZodString;
265
+ organization_name_l10n_id: z.ZodString;
637
266
  organization_code: z.ZodString;
638
267
  organization_country: z.ZodString;
639
- contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
268
+ legal_type: z.ZodOptional<z.ZodString>;
269
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString>>;
640
270
  homepage_uri: z.ZodOptional<z.ZodString>;
641
271
  logo_uri: z.ZodOptional<z.ZodString>;
642
272
  policy_uri: z.ZodOptional<z.ZodString>;
643
273
  tos_uri: z.ZodOptional<z.ZodString>;
644
- }, "strip", z.ZodTypeAny, {
645
- id: string;
646
- organization_name: string;
647
- organization_code: string;
648
- organization_country: string;
649
- homepage_uri?: string | undefined;
650
- policy_uri?: string | undefined;
651
- logo_uri?: string | undefined;
652
- contacts?: string[] | undefined;
653
- tos_uri?: string | undefined;
654
- }, {
655
- id: string;
656
- organization_name: string;
657
- organization_code: string;
658
- organization_country: string;
659
- homepage_uri?: string | undefined;
660
- policy_uri?: string | undefined;
661
- logo_uri?: string | undefined;
662
- contacts?: string[] | undefined;
663
- tos_uri?: string | undefined;
664
- }>, "many">;
274
+ service_documentation: z.ZodOptional<z.ZodString>;
275
+ issuance_flows: z.ZodOptional<z.ZodObject<{
276
+ deferred_flow: z.ZodBoolean;
277
+ }, z.core.$strip>>;
278
+ }, z.core.$strip>>;
665
279
  authentic_sources: z.ZodArray<z.ZodObject<{
666
280
  id: z.ZodString;
667
281
  dataset_id: z.ZodString;
668
- }, "strip", z.ZodTypeAny, {
669
- id: string;
670
- dataset_id: string;
671
- }, {
672
- id: string;
673
- dataset_id: string;
674
- }>, "many">;
675
- }, "strip", z.ZodTypeAny, {
676
- description: string;
677
- version: string;
678
- credential_type: string;
679
- legal_type: string;
680
- validity_info: {
681
- max_validity_days: number;
682
- status_methods: string[];
683
- allowed_states: string[];
684
- };
685
- purposes: {
686
- id: string;
687
- description: string;
688
- claims_required: string[];
689
- claim_recommended: string[];
690
- }[];
691
- issuers: {
692
- id: string;
693
- organization_name: string;
694
- organization_code: string;
695
- organization_country: string;
696
- homepage_uri?: string | undefined;
697
- policy_uri?: string | undefined;
698
- logo_uri?: string | undefined;
699
- contacts?: string[] | undefined;
700
- tos_uri?: string | undefined;
701
- }[];
702
- authentic_sources: {
703
- id: string;
704
- dataset_id: string;
705
- }[];
706
- authentication: {
707
- user_auth_required: boolean;
708
- min_loa: string;
709
- supported_eid_schemes: string[];
710
- };
711
- credential_name: string;
712
- }, {
713
- description: string;
714
- version: string;
715
- credential_type: string;
716
- legal_type: string;
717
- validity_info: {
718
- max_validity_days: number;
719
- status_methods: string[];
720
- allowed_states: string[];
721
- };
722
- purposes: {
723
- id: string;
724
- description: string;
725
- claims_required: string[];
726
- claim_recommended: string[];
727
- }[];
728
- issuers: {
729
- id: string;
730
- organization_name: string;
731
- organization_code: string;
732
- organization_country: string;
733
- homepage_uri?: string | undefined;
734
- policy_uri?: string | undefined;
735
- logo_uri?: string | undefined;
736
- contacts?: string[] | undefined;
737
- tos_uri?: string | undefined;
738
- }[];
739
- authentic_sources: {
740
- id: string;
741
- dataset_id: string;
742
- }[];
743
- authentication: {
744
- user_auth_required: boolean;
745
- min_loa: string;
746
- supported_eid_schemes: string[];
747
- };
748
- credential_name: string;
749
- }>, "many">;
282
+ }, z.core.$strip>>;
283
+ }, z.core.$strip>>;
750
284
  iat: z.ZodNumber;
751
285
  exp: z.ZodNumber;
752
- }, "strip", z.ZodTypeAny, {
753
- iat: number;
754
- exp: number;
755
- credentials: {
756
- description: string;
757
- version: string;
758
- credential_type: string;
759
- legal_type: string;
760
- validity_info: {
761
- max_validity_days: number;
762
- status_methods: string[];
763
- allowed_states: string[];
764
- };
765
- purposes: {
766
- id: string;
767
- description: string;
768
- claims_required: string[];
769
- claim_recommended: string[];
770
- }[];
771
- issuers: {
772
- id: string;
773
- organization_name: string;
774
- organization_code: string;
775
- organization_country: string;
776
- homepage_uri?: string | undefined;
777
- policy_uri?: string | undefined;
778
- logo_uri?: string | undefined;
779
- contacts?: string[] | undefined;
780
- tos_uri?: string | undefined;
781
- }[];
782
- authentic_sources: {
783
- id: string;
784
- dataset_id: string;
785
- }[];
786
- authentication: {
787
- user_auth_required: boolean;
788
- min_loa: string;
789
- supported_eid_schemes: string[];
790
- };
791
- credential_name: string;
792
- }[];
793
- version: string;
794
- last_modified: string;
795
- }, {
796
- iat: number;
797
- exp: number;
798
- credentials: {
799
- description: string;
800
- version: string;
801
- credential_type: string;
802
- legal_type: string;
803
- validity_info: {
804
- max_validity_days: number;
805
- status_methods: string[];
806
- allowed_states: string[];
807
- };
808
- purposes: {
809
- id: string;
810
- description: string;
811
- claims_required: string[];
812
- claim_recommended: string[];
813
- }[];
814
- issuers: {
815
- id: string;
816
- organization_name: string;
817
- organization_code: string;
818
- organization_country: string;
819
- homepage_uri?: string | undefined;
820
- policy_uri?: string | undefined;
821
- logo_uri?: string | undefined;
822
- contacts?: string[] | undefined;
823
- tos_uri?: string | undefined;
824
- }[];
825
- authentic_sources: {
826
- id: string;
827
- dataset_id: string;
828
- }[];
829
- authentication: {
830
- user_auth_required: boolean;
831
- min_loa: string;
832
- supported_eid_schemes: string[];
833
- };
834
- credential_name: string;
835
- }[];
836
- version: string;
837
- last_modified: string;
838
- }>;
839
- }, "strip", z.ZodTypeAny, {
840
- header: {
841
- alg: string;
842
- kid: string;
843
- typ: string;
844
- x5c?: string[] | undefined;
845
- };
846
- payload: {
847
- iat: number;
848
- exp: number;
849
- credentials: {
850
- description: string;
851
- version: string;
852
- credential_type: string;
853
- legal_type: string;
854
- validity_info: {
855
- max_validity_days: number;
856
- status_methods: string[];
857
- allowed_states: string[];
858
- };
859
- purposes: {
860
- id: string;
861
- description: string;
862
- claims_required: string[];
863
- claim_recommended: string[];
864
- }[];
865
- issuers: {
866
- id: string;
867
- organization_name: string;
868
- organization_code: string;
869
- organization_country: string;
870
- homepage_uri?: string | undefined;
871
- policy_uri?: string | undefined;
872
- logo_uri?: string | undefined;
873
- contacts?: string[] | undefined;
874
- tos_uri?: string | undefined;
875
- }[];
876
- authentic_sources: {
877
- id: string;
878
- dataset_id: string;
879
- }[];
880
- authentication: {
881
- user_auth_required: boolean;
882
- min_loa: string;
883
- supported_eid_schemes: string[];
884
- };
885
- credential_name: string;
886
- }[];
887
- version: string;
888
- last_modified: string;
889
- };
890
- }, {
891
- header: {
892
- alg: string;
893
- kid: string;
894
- typ: string;
895
- x5c?: string[] | undefined;
896
- };
897
- payload: {
898
- iat: number;
899
- exp: number;
900
- credentials: {
901
- description: string;
902
- version: string;
903
- credential_type: string;
904
- legal_type: string;
905
- validity_info: {
906
- max_validity_days: number;
907
- status_methods: string[];
908
- allowed_states: string[];
909
- };
910
- purposes: {
911
- id: string;
912
- description: string;
913
- claims_required: string[];
914
- claim_recommended: string[];
915
- }[];
916
- issuers: {
917
- id: string;
918
- organization_name: string;
919
- organization_code: string;
920
- organization_country: string;
921
- homepage_uri?: string | undefined;
922
- policy_uri?: string | undefined;
923
- logo_uri?: string | undefined;
924
- contacts?: string[] | undefined;
925
- tos_uri?: string | undefined;
926
- }[];
927
- authentic_sources: {
928
- id: string;
929
- dataset_id: string;
930
- }[];
931
- authentication: {
932
- user_auth_required: boolean;
933
- min_loa: string;
934
- supported_eid_schemes: string[];
935
- };
936
- credential_name: string;
937
- }[];
938
- version: string;
939
- last_modified: string;
940
- };
941
- }>;
286
+ }, z.core.$strip>;
287
+ }, z.core.$strip>;
942
288
  export type DigitalCredentialsCatalogueJwt = z.infer<typeof DigitalCredentialsCatalogueJwt>;
943
- /**
944
- * Registry discovery info, used to discover all the Registry Infrastructure endpoints.
945
- * This is the entrypoint to build the full catalogue.
946
- * @see https://italia.github.io/eid-wallet-it-docs/releases/1.3.3/en/registry.html#registry-discovery-endpoint
947
- */
948
289
  export declare const RegistryDiscoveryJwt: z.ZodObject<{
949
290
  header: z.ZodObject<{
950
291
  typ: z.ZodString;
951
292
  alg: z.ZodString;
952
293
  kid: z.ZodString;
953
- x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
954
- }, "strip", z.ZodTypeAny, {
955
- alg: string;
956
- kid: string;
957
- typ: string;
958
- x5c?: string[] | undefined;
959
- }, {
960
- alg: string;
961
- kid: string;
962
- typ: string;
963
- x5c?: string[] | undefined;
964
- }>;
294
+ x5c: z.ZodOptional<z.ZodArray<z.ZodString>>;
295
+ }, z.core.$strip>;
965
296
  payload: z.ZodObject<{
966
297
  registry_version: z.ZodString;
967
298
  last_updated: z.ZodString;
@@ -971,104 +302,12 @@ export declare const RegistryDiscoveryJwt: z.ZodObject<{
971
302
  credential_catalog: z.ZodString;
972
303
  taxonomy: z.ZodString;
973
304
  schema_registry: z.ZodString;
974
- federation_list: z.ZodString;
975
- federation_fetch: z.ZodString;
976
- federation_resolve: z.ZodString;
977
- federation_trust_mark_status: z.ZodString;
978
- }, "strip", z.ZodTypeAny, {
979
- authentic_sources: string;
980
- claims_registry: string;
981
- credential_catalog: string;
982
- taxonomy: string;
983
- schema_registry: string;
984
- federation_list: string;
985
- federation_fetch: string;
986
- federation_resolve: string;
987
- federation_trust_mark_status: string;
988
- }, {
989
- authentic_sources: string;
990
- claims_registry: string;
991
- credential_catalog: string;
992
- taxonomy: string;
993
- schema_registry: string;
994
- federation_list: string;
995
- federation_fetch: string;
996
- federation_resolve: string;
997
- federation_trust_mark_status: string;
998
- }>;
999
- }, "strip", z.ZodTypeAny, {
1000
- registry_version: string;
1001
- last_updated: string;
1002
- endpoints: {
1003
- authentic_sources: string;
1004
- claims_registry: string;
1005
- credential_catalog: string;
1006
- taxonomy: string;
1007
- schema_registry: string;
1008
- federation_list: string;
1009
- federation_fetch: string;
1010
- federation_resolve: string;
1011
- federation_trust_mark_status: string;
1012
- };
1013
- }, {
1014
- registry_version: string;
1015
- last_updated: string;
1016
- endpoints: {
1017
- authentic_sources: string;
1018
- claims_registry: string;
1019
- credential_catalog: string;
1020
- taxonomy: string;
1021
- schema_registry: string;
1022
- federation_list: string;
1023
- federation_fetch: string;
1024
- federation_resolve: string;
1025
- federation_trust_mark_status: string;
1026
- };
1027
- }>;
1028
- }, "strip", z.ZodTypeAny, {
1029
- header: {
1030
- alg: string;
1031
- kid: string;
1032
- typ: string;
1033
- x5c?: string[] | undefined;
1034
- };
1035
- payload: {
1036
- registry_version: string;
1037
- last_updated: string;
1038
- endpoints: {
1039
- authentic_sources: string;
1040
- claims_registry: string;
1041
- credential_catalog: string;
1042
- taxonomy: string;
1043
- schema_registry: string;
1044
- federation_list: string;
1045
- federation_fetch: string;
1046
- federation_resolve: string;
1047
- federation_trust_mark_status: string;
1048
- };
1049
- };
1050
- }, {
1051
- header: {
1052
- alg: string;
1053
- kid: string;
1054
- typ: string;
1055
- x5c?: string[] | undefined;
1056
- };
1057
- payload: {
1058
- registry_version: string;
1059
- last_updated: string;
1060
- endpoints: {
1061
- authentic_sources: string;
1062
- claims_registry: string;
1063
- credential_catalog: string;
1064
- taxonomy: string;
1065
- schema_registry: string;
1066
- federation_list: string;
1067
- federation_fetch: string;
1068
- federation_resolve: string;
1069
- federation_trust_mark_status: string;
1070
- };
1071
- };
1072
- }>;
305
+ federation_list_endpoint: z.ZodString;
306
+ federation_fetch_endpoint: z.ZodString;
307
+ federation_resolve_endpoint: z.ZodString;
308
+ federation_trust_mark_status_endpoint: z.ZodString;
309
+ }, z.core.$strip>;
310
+ }, z.core.$strip>;
311
+ }, z.core.$strip>;
1073
312
  export type RegistryDiscoveryJwt = z.infer<typeof RegistryDiscoveryJwt>;
1074
313
  //# sourceMappingURL=types.d.ts.map