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

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 (382) 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/RelyingPartyConfig.js +2 -2
  19. package/lib/commonjs/credential/presentation/api/RelyingPartyConfig.js.map +1 -1
  20. package/lib/commonjs/credential/presentation/v1.0.0/04-verify-request-object.js.map +1 -1
  21. package/lib/commonjs/credential/presentation/v1.3.3/04-verify-request-object.js +4 -2
  22. package/lib/commonjs/credential/presentation/v1.3.3/04-verify-request-object.js.map +1 -1
  23. package/lib/commonjs/credentials-catalogue/api/DigitalCredentialsCatalogue.js +37 -11
  24. package/lib/commonjs/credentials-catalogue/api/DigitalCredentialsCatalogue.js.map +1 -1
  25. package/lib/commonjs/credentials-catalogue/v1.0.0/mappers.js +16 -5
  26. package/lib/commonjs/credentials-catalogue/v1.0.0/mappers.js.map +1 -1
  27. package/lib/commonjs/credentials-catalogue/v1.3.3/mappers.js +4 -2
  28. package/lib/commonjs/credentials-catalogue/v1.3.3/mappers.js.map +1 -1
  29. package/lib/commonjs/credentials-catalogue/v1.3.3/types.js +91 -30
  30. package/lib/commonjs/credentials-catalogue/v1.3.3/types.js.map +1 -1
  31. package/lib/commonjs/credentials-catalogue/v1.3.3/utils.js +4 -4
  32. package/lib/commonjs/credentials-catalogue/v1.3.3/utils.js.map +1 -1
  33. package/lib/commonjs/index.js +3 -1
  34. package/lib/commonjs/index.js.map +1 -1
  35. package/lib/commonjs/trust/common/types.js +3 -3
  36. package/lib/commonjs/trust/common/types.js.map +1 -1
  37. package/lib/commonjs/trust/v1.0.0/types.js +6 -8
  38. package/lib/commonjs/trust/v1.0.0/types.js.map +1 -1
  39. package/lib/commonjs/trust/v1.3.3/types.js +1 -3
  40. package/lib/commonjs/trust/v1.3.3/types.js.map +1 -1
  41. package/lib/commonjs/utils/callbacks.js +2 -0
  42. package/lib/commonjs/utils/callbacks.js.map +1 -1
  43. package/lib/commonjs/utils/crypto.js +8 -0
  44. package/lib/commonjs/utils/crypto.js.map +1 -1
  45. package/lib/commonjs/utils/dpop.js +1 -1
  46. package/lib/commonjs/utils/dpop.js.map +1 -1
  47. package/lib/commonjs/utils/jwk.js +1 -1
  48. package/lib/commonjs/utils/jwk.js.map +1 -1
  49. package/lib/commonjs/utils/zod.js +1 -1
  50. package/lib/commonjs/utils/zod.js.map +1 -1
  51. package/lib/commonjs/wallet-instance-attestation/README.md +13 -10
  52. package/lib/commonjs/wallet-instance-attestation/api/types.js +9 -4
  53. package/lib/commonjs/wallet-instance-attestation/api/types.js.map +1 -1
  54. package/lib/commonjs/wallet-instance-attestation/v1.0.0/index.js +2 -2
  55. package/lib/commonjs/wallet-instance-attestation/v1.0.0/index.js.map +1 -1
  56. package/lib/commonjs/wallet-instance-attestation/v1.0.0/issuing.js +4 -5
  57. package/lib/commonjs/wallet-instance-attestation/v1.0.0/issuing.js.map +1 -1
  58. package/lib/commonjs/wallet-instance-attestation/v1.0.0/mappers.js +4 -5
  59. package/lib/commonjs/wallet-instance-attestation/v1.0.0/mappers.js.map +1 -1
  60. package/lib/commonjs/wallet-instance-attestation/v1.3.3/index.js +5 -7
  61. package/lib/commonjs/wallet-instance-attestation/v1.3.3/index.js.map +1 -1
  62. package/lib/commonjs/wallet-instance-attestation/v1.3.3/issuing.js +73 -3
  63. package/lib/commonjs/wallet-instance-attestation/v1.3.3/issuing.js.map +1 -1
  64. package/lib/commonjs/wallet-instance-attestation/v1.3.3/mappers.js +26 -0
  65. package/lib/commonjs/wallet-instance-attestation/v1.3.3/mappers.js.map +1 -0
  66. package/lib/commonjs/wallet-instance-attestation/v1.3.3/types.js +13 -24
  67. package/lib/commonjs/wallet-instance-attestation/v1.3.3/types.js.map +1 -1
  68. package/lib/commonjs/wallet-instance-attestation/v1.3.3/utils.js +35 -0
  69. package/lib/commonjs/wallet-instance-attestation/v1.3.3/utils.js.map +1 -0
  70. package/lib/commonjs/wallet-unit-attestation/README.md +73 -0
  71. package/lib/commonjs/wallet-unit-attestation/api/index.js +6 -0
  72. package/lib/commonjs/wallet-unit-attestation/api/index.js.map +1 -0
  73. package/lib/commonjs/wallet-unit-attestation/api/types.js +45 -0
  74. package/lib/commonjs/wallet-unit-attestation/api/types.js.map +1 -0
  75. package/lib/commonjs/wallet-unit-attestation/index.js +20 -0
  76. package/lib/commonjs/wallet-unit-attestation/index.js.map +1 -0
  77. package/lib/commonjs/wallet-unit-attestation/v1.0.0/index.js +11 -0
  78. package/lib/commonjs/wallet-unit-attestation/v1.0.0/index.js.map +1 -0
  79. package/lib/commonjs/wallet-unit-attestation/v1.3.3/index.js +17 -0
  80. package/lib/commonjs/wallet-unit-attestation/v1.3.3/index.js.map +1 -0
  81. package/lib/commonjs/wallet-unit-attestation/v1.3.3/issuing.js +118 -0
  82. package/lib/commonjs/wallet-unit-attestation/v1.3.3/issuing.js.map +1 -0
  83. package/lib/commonjs/wallet-unit-attestation/v1.3.3/mappers.js +13 -0
  84. package/lib/commonjs/wallet-unit-attestation/v1.3.3/mappers.js.map +1 -0
  85. package/lib/commonjs/wallet-unit-attestation/v1.3.3/types.js +23 -0
  86. package/lib/commonjs/wallet-unit-attestation/v1.3.3/types.js.map +1 -0
  87. package/lib/commonjs/wallet-unit-attestation/v1.3.3/utils.js +20 -0
  88. package/lib/commonjs/wallet-unit-attestation/v1.3.3/utils.js.map +1 -0
  89. package/lib/module/api/index.js +3 -0
  90. package/lib/module/api/index.js.map +1 -1
  91. package/lib/module/client/generated/wallet-provider.js +33 -1
  92. package/lib/module/client/generated/wallet-provider.js.map +1 -1
  93. package/lib/module/client/index.js +4 -2
  94. package/lib/module/client/index.js.map +1 -1
  95. package/lib/module/credential/issuance/README.md +2 -0
  96. package/lib/module/credential/issuance/api/IssuerConfig.js +2 -2
  97. package/lib/module/credential/issuance/api/IssuerConfig.js.map +1 -1
  98. package/lib/module/credential/issuance/v1.3.3/01-evaluate-issuer-trust.js +2 -0
  99. package/lib/module/credential/issuance/v1.3.3/01-evaluate-issuer-trust.js.map +1 -1
  100. package/lib/module/credential/issuance/v1.3.3/03-complete-user-authorization.js +2 -0
  101. package/lib/module/credential/issuance/v1.3.3/03-complete-user-authorization.js.map +1 -1
  102. package/lib/module/credential/issuance/v1.3.3/05-obtain-credential.js +16 -9
  103. package/lib/module/credential/issuance/v1.3.3/05-obtain-credential.js.map +1 -1
  104. package/lib/module/credential/issuance/v1.3.3/mappers.js +0 -1
  105. package/lib/module/credential/issuance/v1.3.3/mappers.js.map +1 -1
  106. package/lib/module/credential/presentation/api/RelyingPartyConfig.js +1 -1
  107. package/lib/module/credential/presentation/api/RelyingPartyConfig.js.map +1 -1
  108. package/lib/module/credential/presentation/v1.0.0/04-verify-request-object.js.map +1 -1
  109. package/lib/module/credential/presentation/v1.3.3/04-verify-request-object.js +4 -2
  110. package/lib/module/credential/presentation/v1.3.3/04-verify-request-object.js.map +1 -1
  111. package/lib/module/credentials-catalogue/api/DigitalCredentialsCatalogue.js +37 -11
  112. package/lib/module/credentials-catalogue/api/DigitalCredentialsCatalogue.js.map +1 -1
  113. package/lib/module/credentials-catalogue/v1.0.0/mappers.js +16 -5
  114. package/lib/module/credentials-catalogue/v1.0.0/mappers.js.map +1 -1
  115. package/lib/module/credentials-catalogue/v1.3.3/mappers.js +4 -2
  116. package/lib/module/credentials-catalogue/v1.3.3/mappers.js.map +1 -1
  117. package/lib/module/credentials-catalogue/v1.3.3/types.js +91 -30
  118. package/lib/module/credentials-catalogue/v1.3.3/types.js.map +1 -1
  119. package/lib/module/credentials-catalogue/v1.3.3/utils.js +4 -4
  120. package/lib/module/credentials-catalogue/v1.3.3/utils.js.map +1 -1
  121. package/lib/module/index.js +2 -1
  122. package/lib/module/index.js.map +1 -1
  123. package/lib/module/trust/common/types.js +3 -3
  124. package/lib/module/trust/common/types.js.map +1 -1
  125. package/lib/module/trust/v1.0.0/types.js +5 -7
  126. package/lib/module/trust/v1.0.0/types.js.map +1 -1
  127. package/lib/module/trust/v1.3.3/types.js +1 -3
  128. package/lib/module/trust/v1.3.3/types.js.map +1 -1
  129. package/lib/module/utils/callbacks.js +3 -0
  130. package/lib/module/utils/callbacks.js.map +1 -1
  131. package/lib/module/utils/crypto.js +8 -0
  132. package/lib/module/utils/crypto.js.map +1 -1
  133. package/lib/module/utils/dpop.js +1 -1
  134. package/lib/module/utils/dpop.js.map +1 -1
  135. package/lib/module/utils/jwk.js +1 -1
  136. package/lib/module/utils/jwk.js.map +1 -1
  137. package/lib/module/utils/zod.js +1 -1
  138. package/lib/module/utils/zod.js.map +1 -1
  139. package/lib/module/wallet-instance-attestation/README.md +13 -10
  140. package/lib/module/wallet-instance-attestation/api/types.js +7 -2
  141. package/lib/module/wallet-instance-attestation/api/types.js.map +1 -1
  142. package/lib/module/wallet-instance-attestation/v1.0.0/index.js +3 -3
  143. package/lib/module/wallet-instance-attestation/v1.0.0/index.js.map +1 -1
  144. package/lib/module/wallet-instance-attestation/v1.0.0/issuing.js +4 -5
  145. package/lib/module/wallet-instance-attestation/v1.0.0/issuing.js.map +1 -1
  146. package/lib/module/wallet-instance-attestation/v1.0.0/mappers.js +3 -4
  147. package/lib/module/wallet-instance-attestation/v1.0.0/mappers.js.map +1 -1
  148. package/lib/module/wallet-instance-attestation/v1.3.3/index.js +5 -7
  149. package/lib/module/wallet-instance-attestation/v1.3.3/index.js.map +1 -1
  150. package/lib/module/wallet-instance-attestation/v1.3.3/issuing.js +73 -3
  151. package/lib/module/wallet-instance-attestation/v1.3.3/issuing.js.map +1 -1
  152. package/lib/module/wallet-instance-attestation/v1.3.3/mappers.js +19 -0
  153. package/lib/module/wallet-instance-attestation/v1.3.3/mappers.js.map +1 -0
  154. package/lib/module/wallet-instance-attestation/v1.3.3/types.js +10 -21
  155. package/lib/module/wallet-instance-attestation/v1.3.3/types.js.map +1 -1
  156. package/lib/module/wallet-instance-attestation/v1.3.3/utils.js +29 -0
  157. package/lib/module/wallet-instance-attestation/v1.3.3/utils.js.map +1 -0
  158. package/lib/module/wallet-unit-attestation/README.md +73 -0
  159. package/lib/module/wallet-unit-attestation/api/index.js +2 -0
  160. package/lib/module/wallet-unit-attestation/api/index.js.map +1 -0
  161. package/lib/module/wallet-unit-attestation/api/types.js +36 -0
  162. package/lib/module/wallet-unit-attestation/api/types.js.map +1 -0
  163. package/lib/module/wallet-unit-attestation/index.js +3 -0
  164. package/lib/module/wallet-unit-attestation/index.js.map +1 -0
  165. package/lib/module/wallet-unit-attestation/v1.0.0/index.js +4 -0
  166. package/lib/module/wallet-unit-attestation/v1.0.0/index.js.map +1 -0
  167. package/lib/module/wallet-unit-attestation/v1.3.3/index.js +10 -0
  168. package/lib/module/wallet-unit-attestation/v1.3.3/index.js.map +1 -0
  169. package/lib/module/wallet-unit-attestation/v1.3.3/issuing.js +112 -0
  170. package/lib/module/wallet-unit-attestation/v1.3.3/issuing.js.map +1 -0
  171. package/lib/module/wallet-unit-attestation/v1.3.3/mappers.js +6 -0
  172. package/lib/module/wallet-unit-attestation/v1.3.3/mappers.js.map +1 -0
  173. package/lib/module/wallet-unit-attestation/v1.3.3/types.js +14 -0
  174. package/lib/module/wallet-unit-attestation/v1.3.3/types.js.map +1 -0
  175. package/lib/module/wallet-unit-attestation/v1.3.3/utils.js +15 -0
  176. package/lib/module/wallet-unit-attestation/v1.3.3/utils.js.map +1 -0
  177. package/lib/typescript/api/index.d.ts +2 -0
  178. package/lib/typescript/api/index.d.ts.map +1 -1
  179. package/lib/typescript/client/generated/wallet-provider.d.ts +122 -358
  180. package/lib/typescript/client/generated/wallet-provider.d.ts.map +1 -1
  181. package/lib/typescript/client/index.d.ts.map +1 -1
  182. package/lib/typescript/credential/issuance/api/05-obtain-credential.d.ts +2 -0
  183. package/lib/typescript/credential/issuance/api/05-obtain-credential.d.ts.map +1 -1
  184. package/lib/typescript/credential/issuance/api/IssuerConfig.d.ts +21 -357
  185. package/lib/typescript/credential/issuance/api/IssuerConfig.d.ts.map +1 -1
  186. package/lib/typescript/credential/issuance/api/types.d.ts +5 -41
  187. package/lib/typescript/credential/issuance/api/types.d.ts.map +1 -1
  188. package/lib/typescript/credential/issuance/common/02-start-user-authorization.d.ts.map +1 -1
  189. package/lib/typescript/credential/issuance/common/authorization.d.ts.map +1 -1
  190. package/lib/typescript/credential/issuance/v1.0.0/03-complete-user-authorization.d.ts.map +1 -1
  191. package/lib/typescript/credential/issuance/v1.0.0/05-obtain-credential.d.ts.map +1 -1
  192. package/lib/typescript/credential/issuance/v1.0.0/mappers.d.ts +103 -106
  193. package/lib/typescript/credential/issuance/v1.0.0/mappers.d.ts.map +1 -1
  194. package/lib/typescript/credential/issuance/v1.0.0/types.d.ts +4 -26
  195. package/lib/typescript/credential/issuance/v1.0.0/types.d.ts.map +1 -1
  196. package/lib/typescript/credential/issuance/v1.3.3/01-evaluate-issuer-trust.d.ts.map +1 -1
  197. package/lib/typescript/credential/issuance/v1.3.3/03-complete-user-authorization.d.ts.map +1 -1
  198. package/lib/typescript/credential/issuance/v1.3.3/05-obtain-credential.d.ts.map +1 -1
  199. package/lib/typescript/credential/issuance/v1.3.3/mappers.d.ts +594 -2095
  200. package/lib/typescript/credential/issuance/v1.3.3/mappers.d.ts.map +1 -1
  201. package/lib/typescript/credential/issuance/v1.3.3/types.d.ts +1 -5
  202. package/lib/typescript/credential/issuance/v1.3.3/types.d.ts.map +1 -1
  203. package/lib/typescript/credential/presentation/api/RelyingPartyConfig.d.ts +9 -154
  204. package/lib/typescript/credential/presentation/api/RelyingPartyConfig.d.ts.map +1 -1
  205. package/lib/typescript/credential/presentation/api/types.d.ts +30 -106
  206. package/lib/typescript/credential/presentation/api/types.d.ts.map +1 -1
  207. package/lib/typescript/credential/presentation/common/utils/dcql.d.ts +29 -244
  208. package/lib/typescript/credential/presentation/common/utils/dcql.d.ts.map +1 -1
  209. package/lib/typescript/credential/presentation/common/utils/http.d.ts.map +1 -1
  210. package/lib/typescript/credential/presentation/common/utils/sd-jwt.d.ts.map +1 -1
  211. package/lib/typescript/credential/presentation/common/utils.d.ts.map +1 -1
  212. package/lib/typescript/credential/presentation/v1.0.0/06-send-authorization-response.d.ts.map +1 -1
  213. package/lib/typescript/credential/presentation/v1.0.0/mappers.d.ts +56 -58
  214. package/lib/typescript/credential/presentation/v1.0.0/mappers.d.ts.map +1 -1
  215. package/lib/typescript/credential/presentation/v1.0.0/types.d.ts +13 -52
  216. package/lib/typescript/credential/presentation/v1.0.0/types.d.ts.map +1 -1
  217. package/lib/typescript/credential/presentation/v1.0.0/utils.d.ts.map +1 -1
  218. package/lib/typescript/credential/presentation/v1.0.0/utils.jwks.d.ts.map +1 -1
  219. package/lib/typescript/credential/presentation/v1.3.3/04-verify-request-object.d.ts.map +1 -1
  220. package/lib/typescript/credential/presentation/v1.3.3/mappers.d.ts +133 -525
  221. package/lib/typescript/credential/presentation/v1.3.3/mappers.d.ts.map +1 -1
  222. package/lib/typescript/credential/presentation/v1.3.3/sdkErrorMapper.d.ts.map +1 -1
  223. package/lib/typescript/credential/presentation/v1.3.3/types.d.ts +39 -3672
  224. package/lib/typescript/credential/presentation/v1.3.3/types.d.ts.map +1 -1
  225. package/lib/typescript/credential/presentation/v1.3.3/utils.mdoc.d.ts.map +1 -1
  226. package/lib/typescript/credential/status/v1.0.0/mappers.d.ts +6 -6
  227. package/lib/typescript/credential/status/v1.0.0/types.d.ts +33 -659
  228. package/lib/typescript/credential/status/v1.0.0/types.d.ts.map +1 -1
  229. package/lib/typescript/credentials-catalogue/api/DigitalCredentialsCatalogue.d.ts +111 -525
  230. package/lib/typescript/credentials-catalogue/api/DigitalCredentialsCatalogue.d.ts.map +1 -1
  231. package/lib/typescript/credentials-catalogue/v1.0.0/mappers.d.ts +48 -20
  232. package/lib/typescript/credentials-catalogue/v1.0.0/mappers.d.ts.map +1 -1
  233. package/lib/typescript/credentials-catalogue/v1.0.0/types.d.ts +41 -737
  234. package/lib/typescript/credentials-catalogue/v1.0.0/types.d.ts.map +1 -1
  235. package/lib/typescript/credentials-catalogue/v1.3.3/mappers.d.ts +147 -62
  236. package/lib/typescript/credentials-catalogue/v1.3.3/mappers.d.ts.map +1 -1
  237. package/lib/typescript/credentials-catalogue/v1.3.3/types.d.ts +180 -941
  238. package/lib/typescript/credentials-catalogue/v1.3.3/types.d.ts.map +1 -1
  239. package/lib/typescript/credentials-catalogue/v1.3.3/utils.d.ts +1 -1
  240. package/lib/typescript/credentials-catalogue/v1.3.3/utils.d.ts.map +1 -1
  241. package/lib/typescript/index.d.ts +4 -3
  242. package/lib/typescript/index.d.ts.map +1 -1
  243. package/lib/typescript/mdoc/index.d.ts.map +1 -1
  244. package/lib/typescript/mdoc/utils.d.ts.map +1 -1
  245. package/lib/typescript/sd-jwt/index.d.ts +15 -15
  246. package/lib/typescript/sd-jwt/index.d.ts.map +1 -1
  247. package/lib/typescript/sd-jwt/types.d.ts +33 -492
  248. package/lib/typescript/sd-jwt/types.d.ts.map +1 -1
  249. package/lib/typescript/sd-jwt/utils.d.ts.map +1 -1
  250. package/lib/typescript/trust/api/TrustAnchorConfig.d.ts +12 -201
  251. package/lib/typescript/trust/api/TrustAnchorConfig.d.ts.map +1 -1
  252. package/lib/typescript/trust/common/build-chain.d.ts.map +1 -1
  253. package/lib/typescript/trust/common/types.d.ts +32 -1198
  254. package/lib/typescript/trust/common/types.d.ts.map +1 -1
  255. package/lib/typescript/trust/common/utils.d.ts.map +1 -1
  256. package/lib/typescript/trust/v1.0.0/build-chain.d.ts +1 -53
  257. package/lib/typescript/trust/v1.0.0/build-chain.d.ts.map +1 -1
  258. package/lib/typescript/trust/v1.0.0/entities.d.ts +324 -347
  259. package/lib/typescript/trust/v1.0.0/entities.d.ts.map +1 -1
  260. package/lib/typescript/trust/v1.0.0/mappers.d.ts +31 -35
  261. package/lib/typescript/trust/v1.0.0/mappers.d.ts.map +1 -1
  262. package/lib/typescript/trust/v1.0.0/types.d.ts +678 -12454
  263. package/lib/typescript/trust/v1.0.0/types.d.ts.map +1 -1
  264. package/lib/typescript/trust/v1.0.0/verify-chain.d.ts +4 -56
  265. package/lib/typescript/trust/v1.0.0/verify-chain.d.ts.map +1 -1
  266. package/lib/typescript/trust/v1.3.3/entities.d.ts +43 -47
  267. package/lib/typescript/trust/v1.3.3/entities.d.ts.map +1 -1
  268. package/lib/typescript/trust/v1.3.3/types.d.ts +655 -14339
  269. package/lib/typescript/trust/v1.3.3/types.d.ts.map +1 -1
  270. package/lib/typescript/utils/auth.d.ts +3 -25
  271. package/lib/typescript/utils/auth.d.ts.map +1 -1
  272. package/lib/typescript/utils/callbacks.d.ts.map +1 -1
  273. package/lib/typescript/utils/config.d.ts +3 -3
  274. package/lib/typescript/utils/config.d.ts.map +1 -1
  275. package/lib/typescript/utils/credentials.d.ts.map +1 -1
  276. package/lib/typescript/utils/crypto.d.ts +18 -0
  277. package/lib/typescript/utils/crypto.d.ts.map +1 -1
  278. package/lib/typescript/utils/decoder.d.ts.map +1 -1
  279. package/lib/typescript/utils/dpop.d.ts +5 -12
  280. package/lib/typescript/utils/dpop.d.ts.map +1 -1
  281. package/lib/typescript/utils/errors.d.ts.map +1 -1
  282. package/lib/typescript/utils/jwk.d.ts +15 -175
  283. package/lib/typescript/utils/jwk.d.ts.map +1 -1
  284. package/lib/typescript/utils/mappers.d.ts.map +1 -1
  285. package/lib/typescript/utils/misc.d.ts +2 -2
  286. package/lib/typescript/utils/misc.d.ts.map +1 -1
  287. package/lib/typescript/utils/object.d.ts.map +1 -1
  288. package/lib/typescript/utils/par.d.ts +7 -45
  289. package/lib/typescript/utils/par.d.ts.map +1 -1
  290. package/lib/typescript/utils/parser.d.ts.map +1 -1
  291. package/lib/typescript/utils/pop.d.ts +1 -9
  292. package/lib/typescript/utils/pop.d.ts.map +1 -1
  293. package/lib/typescript/utils/string.d.ts.map +1 -1
  294. package/lib/typescript/utils/zod.d.ts +4 -4
  295. package/lib/typescript/utils/zod.d.ts.map +1 -1
  296. package/lib/typescript/wallet-instance-attestation/api/index.d.ts +9 -9
  297. package/lib/typescript/wallet-instance-attestation/api/index.d.ts.map +1 -1
  298. package/lib/typescript/wallet-instance-attestation/api/types.d.ts +19 -174
  299. package/lib/typescript/wallet-instance-attestation/api/types.d.ts.map +1 -1
  300. package/lib/typescript/wallet-instance-attestation/common/types.d.ts +14 -273
  301. package/lib/typescript/wallet-instance-attestation/common/types.d.ts.map +1 -1
  302. package/lib/typescript/wallet-instance-attestation/v1.0.0/issuing.d.ts.map +1 -1
  303. package/lib/typescript/wallet-instance-attestation/v1.0.0/mappers.d.ts +5 -3
  304. package/lib/typescript/wallet-instance-attestation/v1.0.0/mappers.d.ts.map +1 -1
  305. package/lib/typescript/wallet-instance-attestation/v1.0.0/types.d.ts +39 -629
  306. package/lib/typescript/wallet-instance-attestation/v1.0.0/types.d.ts.map +1 -1
  307. package/lib/typescript/wallet-instance-attestation/v1.3.3/index.d.ts.map +1 -1
  308. package/lib/typescript/wallet-instance-attestation/v1.3.3/issuing.d.ts.map +1 -1
  309. package/lib/typescript/wallet-instance-attestation/v1.3.3/mappers.d.ts +90 -0
  310. package/lib/typescript/wallet-instance-attestation/v1.3.3/mappers.d.ts.map +1 -0
  311. package/lib/typescript/wallet-instance-attestation/v1.3.3/types.d.ts +29 -891
  312. package/lib/typescript/wallet-instance-attestation/v1.3.3/types.d.ts.map +1 -1
  313. package/lib/typescript/wallet-instance-attestation/v1.3.3/utils.d.ts +15 -0
  314. package/lib/typescript/wallet-instance-attestation/v1.3.3/utils.d.ts.map +1 -0
  315. package/lib/typescript/wallet-unit-attestation/api/index.d.ts +39 -0
  316. package/lib/typescript/wallet-unit-attestation/api/index.d.ts.map +1 -0
  317. package/lib/typescript/wallet-unit-attestation/api/types.d.ts +67 -0
  318. package/lib/typescript/wallet-unit-attestation/api/types.d.ts.map +1 -0
  319. package/lib/typescript/wallet-unit-attestation/index.d.ts +4 -0
  320. package/lib/typescript/wallet-unit-attestation/index.d.ts.map +1 -0
  321. package/lib/typescript/wallet-unit-attestation/v1.0.0/index.d.ts +3 -0
  322. package/lib/typescript/wallet-unit-attestation/v1.0.0/index.d.ts.map +1 -0
  323. package/lib/typescript/wallet-unit-attestation/v1.3.3/index.d.ts +3 -0
  324. package/lib/typescript/wallet-unit-attestation/v1.3.3/index.d.ts.map +1 -0
  325. package/lib/typescript/wallet-unit-attestation/v1.3.3/issuing.d.ts +3 -0
  326. package/lib/typescript/wallet-unit-attestation/v1.3.3/issuing.d.ts.map +1 -0
  327. package/lib/typescript/wallet-unit-attestation/v1.3.3/mappers.d.ts +107 -0
  328. package/lib/typescript/wallet-unit-attestation/v1.3.3/mappers.d.ts.map +1 -0
  329. package/lib/typescript/wallet-unit-attestation/v1.3.3/types.d.ts +69 -0
  330. package/lib/typescript/wallet-unit-attestation/v1.3.3/types.d.ts.map +1 -0
  331. package/lib/typescript/wallet-unit-attestation/v1.3.3/utils.d.ts +7 -0
  332. package/lib/typescript/wallet-unit-attestation/v1.3.3/utils.d.ts.map +1 -0
  333. package/package.json +8 -8
  334. package/src/api/index.ts +4 -0
  335. package/src/client/generated/wallet-provider.ts +44 -0
  336. package/src/client/index.ts +5 -1
  337. package/src/credential/issuance/README.md +2 -0
  338. package/src/credential/issuance/api/05-obtain-credential.ts +2 -0
  339. package/src/credential/issuance/api/IssuerConfig.ts +4 -2
  340. package/src/credential/issuance/v1.3.3/01-evaluate-issuer-trust.ts +8 -3
  341. package/src/credential/issuance/v1.3.3/03-complete-user-authorization.ts +2 -0
  342. package/src/credential/issuance/v1.3.3/05-obtain-credential.ts +25 -11
  343. package/src/credential/issuance/v1.3.3/mappers.ts +10 -9
  344. package/src/credential/presentation/api/RelyingPartyConfig.ts +1 -1
  345. package/src/credential/presentation/v1.0.0/04-verify-request-object.ts +2 -2
  346. package/src/credential/presentation/v1.3.3/04-verify-request-object.ts +4 -2
  347. package/src/credentials-catalogue/api/DigitalCredentialsCatalogue.ts +42 -10
  348. package/src/credentials-catalogue/v1.0.0/mappers.ts +27 -12
  349. package/src/credentials-catalogue/v1.3.3/mappers.ts +10 -4
  350. package/src/credentials-catalogue/v1.3.3/types.ts +102 -29
  351. package/src/credentials-catalogue/v1.3.3/utils.ts +9 -4
  352. package/src/index.ts +11 -2
  353. package/src/trust/common/types.ts +3 -3
  354. package/src/trust/v1.0.0/types.ts +10 -10
  355. package/src/trust/v1.3.3/types.ts +4 -7
  356. package/src/utils/callbacks.ts +7 -1
  357. package/src/utils/crypto.ts +18 -0
  358. package/src/utils/dpop.ts +1 -1
  359. package/src/utils/jwk.ts +1 -1
  360. package/src/utils/mappers.ts +2 -2
  361. package/src/utils/zod.ts +5 -1
  362. package/src/wallet-instance-attestation/README.md +13 -10
  363. package/src/wallet-instance-attestation/api/index.ts +20 -13
  364. package/src/wallet-instance-attestation/api/types.ts +16 -4
  365. package/src/wallet-instance-attestation/v1.0.0/index.ts +3 -3
  366. package/src/wallet-instance-attestation/v1.0.0/issuing.ts +7 -9
  367. package/src/wallet-instance-attestation/v1.0.0/mappers.ts +7 -5
  368. package/src/wallet-instance-attestation/v1.3.3/index.ts +5 -7
  369. package/src/wallet-instance-attestation/v1.3.3/issuing.ts +107 -3
  370. package/src/wallet-instance-attestation/v1.3.3/mappers.ts +18 -0
  371. package/src/wallet-instance-attestation/v1.3.3/types.ts +16 -30
  372. package/src/wallet-instance-attestation/v1.3.3/utils.ts +35 -0
  373. package/src/wallet-unit-attestation/README.md +73 -0
  374. package/src/wallet-unit-attestation/api/index.ts +51 -0
  375. package/src/wallet-unit-attestation/api/types.ts +49 -0
  376. package/src/wallet-unit-attestation/index.ts +3 -0
  377. package/src/wallet-unit-attestation/v1.0.0/index.ts +5 -0
  378. package/src/wallet-unit-attestation/v1.3.3/index.ts +11 -0
  379. package/src/wallet-unit-attestation/v1.3.3/issuing.ts +147 -0
  380. package/src/wallet-unit-attestation/v1.3.3/mappers.ts +10 -0
  381. package/src/wallet-unit-attestation/v1.3.3/types.ts +21 -0
  382. package/src/wallet-unit-attestation/v1.3.3/utils.ts +14 -0
@@ -1,72 +1,34 @@
1
1
  import * as z from "zod";
2
2
  declare const AuthenticSource: z.ZodObject<{
3
3
  id: z.ZodString;
4
- organization_name: z.ZodString;
4
+ organization_name: z.ZodOptional<z.ZodString>;
5
+ organization_name_l10n_id: z.ZodOptional<z.ZodString>;
5
6
  organization_code: z.ZodOptional<z.ZodString>;
6
7
  organization_country: z.ZodString;
7
8
  organization_type: z.ZodString;
8
- contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
9
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString>>;
9
10
  homepage_uri: z.ZodOptional<z.ZodString>;
10
11
  logo_uri: z.ZodOptional<z.ZodString>;
11
12
  user_information: z.ZodOptional<z.ZodString>;
12
- }, "strip", z.ZodTypeAny, {
13
- id: string;
14
- organization_name: string;
15
- organization_country: string;
16
- organization_type: string;
17
- homepage_uri?: string | undefined;
18
- logo_uri?: string | undefined;
19
- contacts?: string[] | undefined;
20
- organization_code?: string | undefined;
21
- user_information?: string | undefined;
22
- }, {
23
- id: string;
24
- organization_name: string;
25
- organization_country: string;
26
- organization_type: string;
27
- homepage_uri?: string | undefined;
28
- logo_uri?: string | undefined;
29
- contacts?: string[] | undefined;
30
- organization_code?: string | undefined;
31
- user_information?: string | undefined;
32
- }>;
13
+ }, z.core.$strip>;
33
14
  export type AuthenticSource = z.infer<typeof AuthenticSource>;
34
15
  export declare const CredentialFormat: z.ZodObject<{
35
16
  configuration_id: z.ZodString;
36
- format: z.ZodEnum<["dc+sd-jwt", "mso_mdoc"]>;
17
+ format: z.ZodEnum<{
18
+ "dc+sd-jwt": "dc+sd-jwt";
19
+ mso_mdoc: "mso_mdoc";
20
+ }>;
37
21
  vct: z.ZodOptional<z.ZodString>;
38
22
  docType: z.ZodOptional<z.ZodString>;
39
23
  schema_uri: z.ZodOptional<z.ZodString>;
40
24
  "schema_uri#integrity": z.ZodOptional<z.ZodString>;
41
- }, "strip", z.ZodTypeAny, {
42
- format: "dc+sd-jwt" | "mso_mdoc";
43
- configuration_id: string;
44
- vct?: string | undefined;
45
- docType?: string | undefined;
46
- schema_uri?: string | undefined;
47
- "schema_uri#integrity"?: string | undefined;
48
- }, {
49
- format: "dc+sd-jwt" | "mso_mdoc";
50
- configuration_id: string;
51
- vct?: string | undefined;
52
- docType?: string | undefined;
53
- schema_uri?: string | undefined;
54
- "schema_uri#integrity"?: string | undefined;
55
- }>;
25
+ }, z.core.$strip>;
56
26
  export type CredentialFormat = z.infer<typeof CredentialFormat>;
57
27
  export declare const Claim: z.ZodObject<{
58
28
  name: z.ZodString;
59
29
  taxonomy_ref: z.ZodString;
60
30
  display_name: z.ZodString;
61
- }, "strip", z.ZodTypeAny, {
62
- name: string;
63
- taxonomy_ref: string;
64
- display_name: string;
65
- }, {
66
- name: string;
67
- taxonomy_ref: string;
68
- display_name: string;
69
- }>;
31
+ }, z.core.$strip>;
70
32
  /**
71
33
  * Unified shape for a Digital Credential in the catalogue, regardless of IT-Wallet version.
72
34
  * Please note that some of the version-specific properties might be missing in this representation.
@@ -75,539 +37,163 @@ export declare const DigitalCredential: z.ZodObject<{
75
37
  version: z.ZodString;
76
38
  credential_type: z.ZodString;
77
39
  legal_type: z.ZodString;
78
- name: z.ZodString;
79
- description: z.ZodString;
40
+ name: z.ZodOptional<z.ZodString>;
41
+ name_l10n_id: z.ZodOptional<z.ZodString>;
42
+ description: z.ZodOptional<z.ZodString>;
43
+ restriction_policy: z.ZodOptional<z.ZodObject<{
44
+ presentation_flows: z.ZodObject<{
45
+ remote: z.ZodBoolean;
46
+ proximity: z.ZodBoolean;
47
+ }, z.core.$strip>;
48
+ }, z.core.$strip>>;
80
49
  validity_info: z.ZodObject<{
81
50
  max_validity_days: z.ZodNumber;
82
- status_methods: z.ZodArray<z.ZodString, "many">;
83
- allowed_states: z.ZodArray<z.ZodString, "many">;
84
- }, "strip", z.ZodTypeAny, {
85
- max_validity_days: number;
86
- status_methods: string[];
87
- allowed_states: string[];
88
- }, {
89
- max_validity_days: number;
90
- status_methods: string[];
91
- allowed_states: string[];
92
- }>;
93
- purposes: z.ZodArray<z.ZodObject<{
51
+ status_methods: z.ZodArray<z.ZodString>;
52
+ administrative_expiration_user_info: z.ZodOptional<z.ZodObject<{
53
+ title_l10n_id: z.ZodString;
54
+ description_l10n_id: z.ZodString;
55
+ }, z.core.$strip>>;
56
+ allowed_states: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
57
+ title_l10n_id: z.ZodString;
58
+ description_l10n_id: z.ZodString;
59
+ }, z.core.$catchall<z.ZodString>>]>>;
60
+ }, z.core.$strip>;
61
+ administrative_expiration_user_info: z.ZodOptional<z.ZodObject<{
62
+ title_l10n_id: z.ZodString;
63
+ description_l10n_id: z.ZodString;
64
+ }, z.core.$strip>>;
65
+ domains: z.ZodOptional<z.ZodArray<z.ZodString>>;
66
+ classes: z.ZodOptional<z.ZodArray<z.ZodString>>;
67
+ purposes: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
94
68
  id: z.ZodString;
95
- description: z.ZodString;
96
- claims_required: z.ZodArray<z.ZodString, "many">;
97
- claim_recommended: z.ZodArray<z.ZodString, "many">;
98
- }, "strip", z.ZodTypeAny, {
99
- id: string;
100
- description: string;
101
- claims_required: string[];
102
- claim_recommended: string[];
103
- }, {
104
- id: string;
105
- description: string;
106
- claims_required: string[];
107
- claim_recommended: string[];
108
- }>, "many">;
69
+ description: z.ZodOptional<z.ZodString>;
70
+ claims_required: z.ZodOptional<z.ZodArray<z.ZodString>>;
71
+ claim_recommended: z.ZodOptional<z.ZodArray<z.ZodString>>;
72
+ }, z.core.$strip>]>>;
109
73
  issuers: z.ZodArray<z.ZodObject<{
110
74
  id: z.ZodString;
111
- organization_name: z.ZodString;
75
+ organization_name: z.ZodOptional<z.ZodString>;
76
+ organization_name_l10n_id: z.ZodOptional<z.ZodString>;
112
77
  organization_code: z.ZodString;
113
78
  organization_country: z.ZodString;
114
- contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
79
+ legal_type: z.ZodOptional<z.ZodString>;
80
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString>>;
115
81
  homepage_uri: z.ZodOptional<z.ZodString>;
116
82
  logo_uri: z.ZodOptional<z.ZodString>;
117
83
  policy_uri: z.ZodOptional<z.ZodString>;
118
84
  tos_uri: z.ZodOptional<z.ZodString>;
119
- }, "strip", z.ZodTypeAny, {
120
- id: string;
121
- organization_name: string;
122
- organization_code: string;
123
- organization_country: string;
124
- homepage_uri?: string | undefined;
125
- policy_uri?: string | undefined;
126
- logo_uri?: string | undefined;
127
- contacts?: string[] | undefined;
128
- tos_uri?: string | undefined;
129
- }, {
130
- id: string;
131
- organization_name: string;
132
- organization_code: string;
133
- organization_country: string;
134
- homepage_uri?: string | undefined;
135
- policy_uri?: string | undefined;
136
- logo_uri?: string | undefined;
137
- contacts?: string[] | undefined;
138
- tos_uri?: string | undefined;
139
- }>, "many">;
85
+ service_documentation: z.ZodOptional<z.ZodString>;
86
+ issuance_flows: z.ZodOptional<z.ZodObject<{
87
+ deferred_flow: z.ZodBoolean;
88
+ }, z.core.$strip>>;
89
+ }, z.core.$strip>>;
140
90
  authentic_sources: z.ZodArray<z.ZodObject<{
141
91
  id: z.ZodString;
142
- organization_name: z.ZodString;
92
+ organization_name: z.ZodOptional<z.ZodString>;
93
+ organization_name_l10n_id: z.ZodOptional<z.ZodString>;
143
94
  organization_code: z.ZodOptional<z.ZodString>;
144
95
  organization_country: z.ZodString;
145
96
  organization_type: z.ZodString;
146
- contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
97
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString>>;
147
98
  homepage_uri: z.ZodOptional<z.ZodString>;
148
99
  logo_uri: z.ZodOptional<z.ZodString>;
149
100
  user_information: z.ZodOptional<z.ZodString>;
150
- }, "strip", z.ZodTypeAny, {
151
- id: string;
152
- organization_name: string;
153
- organization_country: string;
154
- organization_type: string;
155
- homepage_uri?: string | undefined;
156
- logo_uri?: string | undefined;
157
- contacts?: string[] | undefined;
158
- organization_code?: string | undefined;
159
- user_information?: string | undefined;
160
- }, {
161
- id: string;
162
- organization_name: string;
163
- organization_country: string;
164
- organization_type: string;
165
- homepage_uri?: string | undefined;
166
- logo_uri?: string | undefined;
167
- contacts?: string[] | undefined;
168
- organization_code?: string | undefined;
169
- user_information?: string | undefined;
170
- }>, "many">;
171
- formats: z.ZodArray<z.ZodObject<{
101
+ }, z.core.$strip>>;
102
+ formats: z.ZodOptional<z.ZodArray<z.ZodObject<{
172
103
  configuration_id: z.ZodString;
173
- format: z.ZodEnum<["dc+sd-jwt", "mso_mdoc"]>;
104
+ format: z.ZodEnum<{
105
+ "dc+sd-jwt": "dc+sd-jwt";
106
+ mso_mdoc: "mso_mdoc";
107
+ }>;
174
108
  vct: z.ZodOptional<z.ZodString>;
175
109
  docType: z.ZodOptional<z.ZodString>;
176
110
  schema_uri: z.ZodOptional<z.ZodString>;
177
111
  "schema_uri#integrity": z.ZodOptional<z.ZodString>;
178
- }, "strip", z.ZodTypeAny, {
179
- format: "dc+sd-jwt" | "mso_mdoc";
180
- configuration_id: string;
181
- vct?: string | undefined;
182
- docType?: string | undefined;
183
- schema_uri?: string | undefined;
184
- "schema_uri#integrity"?: string | undefined;
185
- }, {
186
- format: "dc+sd-jwt" | "mso_mdoc";
187
- configuration_id: string;
188
- vct?: string | undefined;
189
- docType?: string | undefined;
190
- schema_uri?: string | undefined;
191
- "schema_uri#integrity"?: string | undefined;
192
- }>, "many">;
193
- }, "strip", z.ZodTypeAny, {
194
- name: string;
195
- description: string;
196
- version: string;
197
- credential_type: string;
198
- legal_type: string;
199
- validity_info: {
200
- max_validity_days: number;
201
- status_methods: string[];
202
- allowed_states: string[];
203
- };
204
- purposes: {
205
- id: string;
206
- description: string;
207
- claims_required: string[];
208
- claim_recommended: string[];
209
- }[];
210
- issuers: {
211
- id: string;
212
- organization_name: string;
213
- organization_code: string;
214
- organization_country: string;
215
- homepage_uri?: string | undefined;
216
- policy_uri?: string | undefined;
217
- logo_uri?: string | undefined;
218
- contacts?: string[] | undefined;
219
- tos_uri?: string | undefined;
220
- }[];
221
- authentic_sources: {
222
- id: string;
223
- organization_name: string;
224
- organization_country: string;
225
- organization_type: string;
226
- homepage_uri?: string | undefined;
227
- logo_uri?: string | undefined;
228
- contacts?: string[] | undefined;
229
- organization_code?: string | undefined;
230
- user_information?: string | undefined;
231
- }[];
232
- formats: {
233
- format: "dc+sd-jwt" | "mso_mdoc";
234
- configuration_id: string;
235
- vct?: string | undefined;
236
- docType?: string | undefined;
237
- schema_uri?: string | undefined;
238
- "schema_uri#integrity"?: string | undefined;
239
- }[];
240
- }, {
241
- name: string;
242
- description: string;
243
- version: string;
244
- credential_type: string;
245
- legal_type: string;
246
- validity_info: {
247
- max_validity_days: number;
248
- status_methods: string[];
249
- allowed_states: string[];
250
- };
251
- purposes: {
252
- id: string;
253
- description: string;
254
- claims_required: string[];
255
- claim_recommended: string[];
256
- }[];
257
- issuers: {
258
- id: string;
259
- organization_name: string;
260
- organization_code: string;
261
- organization_country: string;
262
- homepage_uri?: string | undefined;
263
- policy_uri?: string | undefined;
264
- logo_uri?: string | undefined;
265
- contacts?: string[] | undefined;
266
- tos_uri?: string | undefined;
267
- }[];
268
- authentic_sources: {
269
- id: string;
270
- organization_name: string;
271
- organization_country: string;
272
- organization_type: string;
273
- homepage_uri?: string | undefined;
274
- logo_uri?: string | undefined;
275
- contacts?: string[] | undefined;
276
- organization_code?: string | undefined;
277
- user_information?: string | undefined;
278
- }[];
279
- formats: {
280
- format: "dc+sd-jwt" | "mso_mdoc";
281
- configuration_id: string;
282
- vct?: string | undefined;
283
- docType?: string | undefined;
284
- schema_uri?: string | undefined;
285
- "schema_uri#integrity"?: string | undefined;
286
- }[];
287
- }>;
112
+ }, z.core.$strip>>>;
113
+ }, z.core.$strip>;
288
114
  export declare const DigitalCredentialsCatalogue: z.ZodObject<{
289
115
  taxonomy_uri: z.ZodString;
290
116
  credentials: z.ZodArray<z.ZodObject<{
291
117
  version: z.ZodString;
292
118
  credential_type: z.ZodString;
293
119
  legal_type: z.ZodString;
294
- name: z.ZodString;
295
- description: z.ZodString;
120
+ name: z.ZodOptional<z.ZodString>;
121
+ name_l10n_id: z.ZodOptional<z.ZodString>;
122
+ description: z.ZodOptional<z.ZodString>;
123
+ restriction_policy: z.ZodOptional<z.ZodObject<{
124
+ presentation_flows: z.ZodObject<{
125
+ remote: z.ZodBoolean;
126
+ proximity: z.ZodBoolean;
127
+ }, z.core.$strip>;
128
+ }, z.core.$strip>>;
296
129
  validity_info: z.ZodObject<{
297
130
  max_validity_days: z.ZodNumber;
298
- status_methods: z.ZodArray<z.ZodString, "many">;
299
- allowed_states: z.ZodArray<z.ZodString, "many">;
300
- }, "strip", z.ZodTypeAny, {
301
- max_validity_days: number;
302
- status_methods: string[];
303
- allowed_states: string[];
304
- }, {
305
- max_validity_days: number;
306
- status_methods: string[];
307
- allowed_states: string[];
308
- }>;
309
- purposes: z.ZodArray<z.ZodObject<{
131
+ status_methods: z.ZodArray<z.ZodString>;
132
+ administrative_expiration_user_info: z.ZodOptional<z.ZodObject<{
133
+ title_l10n_id: z.ZodString;
134
+ description_l10n_id: z.ZodString;
135
+ }, z.core.$strip>>;
136
+ allowed_states: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
137
+ title_l10n_id: z.ZodString;
138
+ description_l10n_id: z.ZodString;
139
+ }, z.core.$catchall<z.ZodString>>]>>;
140
+ }, z.core.$strip>;
141
+ administrative_expiration_user_info: z.ZodOptional<z.ZodObject<{
142
+ title_l10n_id: z.ZodString;
143
+ description_l10n_id: z.ZodString;
144
+ }, z.core.$strip>>;
145
+ domains: z.ZodOptional<z.ZodArray<z.ZodString>>;
146
+ classes: z.ZodOptional<z.ZodArray<z.ZodString>>;
147
+ purposes: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
310
148
  id: z.ZodString;
311
- description: z.ZodString;
312
- claims_required: z.ZodArray<z.ZodString, "many">;
313
- claim_recommended: z.ZodArray<z.ZodString, "many">;
314
- }, "strip", z.ZodTypeAny, {
315
- id: string;
316
- description: string;
317
- claims_required: string[];
318
- claim_recommended: string[];
319
- }, {
320
- id: string;
321
- description: string;
322
- claims_required: string[];
323
- claim_recommended: string[];
324
- }>, "many">;
149
+ description: z.ZodOptional<z.ZodString>;
150
+ claims_required: z.ZodOptional<z.ZodArray<z.ZodString>>;
151
+ claim_recommended: z.ZodOptional<z.ZodArray<z.ZodString>>;
152
+ }, z.core.$strip>]>>;
325
153
  issuers: z.ZodArray<z.ZodObject<{
326
154
  id: z.ZodString;
327
- organization_name: z.ZodString;
155
+ organization_name: z.ZodOptional<z.ZodString>;
156
+ organization_name_l10n_id: z.ZodOptional<z.ZodString>;
328
157
  organization_code: z.ZodString;
329
158
  organization_country: z.ZodString;
330
- contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
159
+ legal_type: z.ZodOptional<z.ZodString>;
160
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString>>;
331
161
  homepage_uri: z.ZodOptional<z.ZodString>;
332
162
  logo_uri: z.ZodOptional<z.ZodString>;
333
163
  policy_uri: z.ZodOptional<z.ZodString>;
334
164
  tos_uri: z.ZodOptional<z.ZodString>;
335
- }, "strip", z.ZodTypeAny, {
336
- id: string;
337
- organization_name: string;
338
- organization_code: string;
339
- organization_country: string;
340
- homepage_uri?: string | undefined;
341
- policy_uri?: string | undefined;
342
- logo_uri?: string | undefined;
343
- contacts?: string[] | undefined;
344
- tos_uri?: string | undefined;
345
- }, {
346
- id: string;
347
- organization_name: string;
348
- organization_code: string;
349
- organization_country: string;
350
- homepage_uri?: string | undefined;
351
- policy_uri?: string | undefined;
352
- logo_uri?: string | undefined;
353
- contacts?: string[] | undefined;
354
- tos_uri?: string | undefined;
355
- }>, "many">;
165
+ service_documentation: z.ZodOptional<z.ZodString>;
166
+ issuance_flows: z.ZodOptional<z.ZodObject<{
167
+ deferred_flow: z.ZodBoolean;
168
+ }, z.core.$strip>>;
169
+ }, z.core.$strip>>;
356
170
  authentic_sources: z.ZodArray<z.ZodObject<{
357
171
  id: z.ZodString;
358
- organization_name: z.ZodString;
172
+ organization_name: z.ZodOptional<z.ZodString>;
173
+ organization_name_l10n_id: z.ZodOptional<z.ZodString>;
359
174
  organization_code: z.ZodOptional<z.ZodString>;
360
175
  organization_country: z.ZodString;
361
176
  organization_type: z.ZodString;
362
- contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
177
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString>>;
363
178
  homepage_uri: z.ZodOptional<z.ZodString>;
364
179
  logo_uri: z.ZodOptional<z.ZodString>;
365
180
  user_information: z.ZodOptional<z.ZodString>;
366
- }, "strip", z.ZodTypeAny, {
367
- id: string;
368
- organization_name: string;
369
- organization_country: string;
370
- organization_type: string;
371
- homepage_uri?: string | undefined;
372
- logo_uri?: string | undefined;
373
- contacts?: string[] | undefined;
374
- organization_code?: string | undefined;
375
- user_information?: string | undefined;
376
- }, {
377
- id: string;
378
- organization_name: string;
379
- organization_country: string;
380
- organization_type: string;
381
- homepage_uri?: string | undefined;
382
- logo_uri?: string | undefined;
383
- contacts?: string[] | undefined;
384
- organization_code?: string | undefined;
385
- user_information?: string | undefined;
386
- }>, "many">;
387
- formats: z.ZodArray<z.ZodObject<{
181
+ }, z.core.$strip>>;
182
+ formats: z.ZodOptional<z.ZodArray<z.ZodObject<{
388
183
  configuration_id: z.ZodString;
389
- format: z.ZodEnum<["dc+sd-jwt", "mso_mdoc"]>;
184
+ format: z.ZodEnum<{
185
+ "dc+sd-jwt": "dc+sd-jwt";
186
+ mso_mdoc: "mso_mdoc";
187
+ }>;
390
188
  vct: z.ZodOptional<z.ZodString>;
391
189
  docType: z.ZodOptional<z.ZodString>;
392
190
  schema_uri: z.ZodOptional<z.ZodString>;
393
191
  "schema_uri#integrity": z.ZodOptional<z.ZodString>;
394
- }, "strip", z.ZodTypeAny, {
395
- format: "dc+sd-jwt" | "mso_mdoc";
396
- configuration_id: string;
397
- vct?: string | undefined;
398
- docType?: string | undefined;
399
- schema_uri?: string | undefined;
400
- "schema_uri#integrity"?: string | undefined;
401
- }, {
402
- format: "dc+sd-jwt" | "mso_mdoc";
403
- configuration_id: string;
404
- vct?: string | undefined;
405
- docType?: string | undefined;
406
- schema_uri?: string | undefined;
407
- "schema_uri#integrity"?: string | undefined;
408
- }>, "many">;
409
- }, "strip", z.ZodTypeAny, {
410
- name: string;
411
- description: string;
412
- version: string;
413
- credential_type: string;
414
- legal_type: string;
415
- validity_info: {
416
- max_validity_days: number;
417
- status_methods: string[];
418
- allowed_states: string[];
419
- };
420
- purposes: {
421
- id: string;
422
- description: string;
423
- claims_required: string[];
424
- claim_recommended: string[];
425
- }[];
426
- issuers: {
427
- id: string;
428
- organization_name: string;
429
- organization_code: string;
430
- organization_country: string;
431
- homepage_uri?: string | undefined;
432
- policy_uri?: string | undefined;
433
- logo_uri?: string | undefined;
434
- contacts?: string[] | undefined;
435
- tos_uri?: string | undefined;
436
- }[];
437
- authentic_sources: {
438
- id: string;
439
- organization_name: string;
440
- organization_country: string;
441
- organization_type: string;
442
- homepage_uri?: string | undefined;
443
- logo_uri?: string | undefined;
444
- contacts?: string[] | undefined;
445
- organization_code?: string | undefined;
446
- user_information?: string | undefined;
447
- }[];
448
- formats: {
449
- format: "dc+sd-jwt" | "mso_mdoc";
450
- configuration_id: string;
451
- vct?: string | undefined;
452
- docType?: string | undefined;
453
- schema_uri?: string | undefined;
454
- "schema_uri#integrity"?: string | undefined;
455
- }[];
456
- }, {
457
- name: string;
458
- description: string;
459
- version: string;
460
- credential_type: string;
461
- legal_type: string;
462
- validity_info: {
463
- max_validity_days: number;
464
- status_methods: string[];
465
- allowed_states: string[];
466
- };
467
- purposes: {
468
- id: string;
469
- description: string;
470
- claims_required: string[];
471
- claim_recommended: string[];
472
- }[];
473
- issuers: {
474
- id: string;
475
- organization_name: string;
476
- organization_code: string;
477
- organization_country: string;
478
- homepage_uri?: string | undefined;
479
- policy_uri?: string | undefined;
480
- logo_uri?: string | undefined;
481
- contacts?: string[] | undefined;
482
- tos_uri?: string | undefined;
483
- }[];
484
- authentic_sources: {
485
- id: string;
486
- organization_name: string;
487
- organization_country: string;
488
- organization_type: string;
489
- homepage_uri?: string | undefined;
490
- logo_uri?: string | undefined;
491
- contacts?: string[] | undefined;
492
- organization_code?: string | undefined;
493
- user_information?: string | undefined;
494
- }[];
495
- formats: {
496
- format: "dc+sd-jwt" | "mso_mdoc";
497
- configuration_id: string;
498
- vct?: string | undefined;
499
- docType?: string | undefined;
500
- schema_uri?: string | undefined;
501
- "schema_uri#integrity"?: string | undefined;
502
- }[];
503
- }>, "many">;
192
+ }, z.core.$strip>>>;
193
+ }, z.core.$strip>>;
504
194
  iat: z.ZodNumber;
505
195
  exp: z.ZodNumber;
506
- }, "strip", z.ZodTypeAny, {
507
- iat: number;
508
- exp: number;
509
- credentials: {
510
- name: string;
511
- description: string;
512
- version: string;
513
- credential_type: string;
514
- legal_type: string;
515
- validity_info: {
516
- max_validity_days: number;
517
- status_methods: string[];
518
- allowed_states: string[];
519
- };
520
- purposes: {
521
- id: string;
522
- description: string;
523
- claims_required: string[];
524
- claim_recommended: string[];
525
- }[];
526
- issuers: {
527
- id: string;
528
- organization_name: string;
529
- organization_code: string;
530
- organization_country: string;
531
- homepage_uri?: string | undefined;
532
- policy_uri?: string | undefined;
533
- logo_uri?: string | undefined;
534
- contacts?: string[] | undefined;
535
- tos_uri?: string | undefined;
536
- }[];
537
- authentic_sources: {
538
- id: string;
539
- organization_name: string;
540
- organization_country: string;
541
- organization_type: string;
542
- homepage_uri?: string | undefined;
543
- logo_uri?: string | undefined;
544
- contacts?: string[] | undefined;
545
- organization_code?: string | undefined;
546
- user_information?: string | undefined;
547
- }[];
548
- formats: {
549
- format: "dc+sd-jwt" | "mso_mdoc";
550
- configuration_id: string;
551
- vct?: string | undefined;
552
- docType?: string | undefined;
553
- schema_uri?: string | undefined;
554
- "schema_uri#integrity"?: string | undefined;
555
- }[];
556
- }[];
557
- taxonomy_uri: string;
558
- }, {
559
- iat: number;
560
- exp: number;
561
- credentials: {
562
- name: string;
563
- description: string;
564
- version: string;
565
- credential_type: string;
566
- legal_type: string;
567
- validity_info: {
568
- max_validity_days: number;
569
- status_methods: string[];
570
- allowed_states: string[];
571
- };
572
- purposes: {
573
- id: string;
574
- description: string;
575
- claims_required: string[];
576
- claim_recommended: string[];
577
- }[];
578
- issuers: {
579
- id: string;
580
- organization_name: string;
581
- organization_code: string;
582
- organization_country: string;
583
- homepage_uri?: string | undefined;
584
- policy_uri?: string | undefined;
585
- logo_uri?: string | undefined;
586
- contacts?: string[] | undefined;
587
- tos_uri?: string | undefined;
588
- }[];
589
- authentic_sources: {
590
- id: string;
591
- organization_name: string;
592
- organization_country: string;
593
- organization_type: string;
594
- homepage_uri?: string | undefined;
595
- logo_uri?: string | undefined;
596
- contacts?: string[] | undefined;
597
- organization_code?: string | undefined;
598
- user_information?: string | undefined;
599
- }[];
600
- formats: {
601
- format: "dc+sd-jwt" | "mso_mdoc";
602
- configuration_id: string;
603
- vct?: string | undefined;
604
- docType?: string | undefined;
605
- schema_uri?: string | undefined;
606
- "schema_uri#integrity"?: string | undefined;
607
- }[];
608
- }[];
609
- taxonomy_uri: string;
610
- }>;
196
+ }, z.core.$strip>;
611
197
  export type DigitalCredentialsCatalogue = z.infer<typeof DigitalCredentialsCatalogue>;
612
198
  export {};
613
199
  //# sourceMappingURL=DigitalCredentialsCatalogue.d.ts.map