@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,31 +1,15 @@
1
1
  import * as z from "zod";
2
- export type WalletAppAttestationJwt = z.infer<typeof WalletAppAttestationJwt>;
3
- export declare const WalletAppAttestationJwt: z.ZodObject<{
2
+ export type WalletInstanceAttestationJwt = z.infer<typeof WalletInstanceAttestationJwt>;
3
+ export declare const WalletInstanceAttestationJwt: z.ZodObject<{
4
4
  header: z.ZodIntersection<z.ZodObject<{
5
5
  alg: z.ZodString;
6
6
  kid: z.ZodString;
7
7
  typ: z.ZodString;
8
- x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
9
- trust_chain: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10
- }, "strip", z.ZodTypeAny, {
11
- alg: string;
12
- kid: string;
13
- typ: string;
14
- x5c?: string[] | undefined;
15
- trust_chain?: string[] | undefined;
16
- }, {
17
- alg: string;
18
- kid: string;
19
- typ: string;
20
- x5c?: string[] | undefined;
21
- trust_chain?: string[] | undefined;
22
- }>, z.ZodObject<{
8
+ x5c: z.ZodOptional<z.ZodArray<z.ZodString>>;
9
+ trust_chain: z.ZodOptional<z.ZodArray<z.ZodString>>;
10
+ }, z.core.$strip>, z.ZodObject<{
23
11
  typ: z.ZodLiteral<"oauth-client-attestation+jwt">;
24
- }, "strip", z.ZodTypeAny, {
25
- typ: "oauth-client-attestation+jwt";
26
- }, {
27
- typ: "oauth-client-attestation+jwt";
28
- }>>;
12
+ }, z.core.$strip>>;
29
13
  payload: z.ZodIntersection<z.ZodObject<{
30
14
  iss: z.ZodString;
31
15
  iat: z.ZodNumber;
@@ -40,9 +24,12 @@ export declare const WalletAppAttestationJwt: z.ZodObject<{
40
24
  e: z.ZodOptional<z.ZodString>;
41
25
  ext: z.ZodOptional<z.ZodBoolean>;
42
26
  k: z.ZodOptional<z.ZodString>;
43
- key_ops: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
27
+ key_ops: z.ZodOptional<z.ZodArray<z.ZodString>>;
44
28
  kid: z.ZodOptional<z.ZodString>;
45
- kty: z.ZodUnion<[z.ZodLiteral<"RSA">, z.ZodLiteral<"EC">]>;
29
+ kty: z.ZodEnum<{
30
+ RSA: "RSA";
31
+ EC: "EC";
32
+ }>;
46
33
  n: z.ZodOptional<z.ZodString>;
47
34
  p: z.ZodOptional<z.ZodString>;
48
35
  q: z.ZodOptional<z.ZodString>;
@@ -50,876 +37,27 @@ export declare const WalletAppAttestationJwt: z.ZodObject<{
50
37
  use: z.ZodOptional<z.ZodString>;
51
38
  x: z.ZodOptional<z.ZodString>;
52
39
  y: z.ZodOptional<z.ZodString>;
53
- x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
40
+ x5c: z.ZodOptional<z.ZodArray<z.ZodString>>;
54
41
  x5t: z.ZodOptional<z.ZodString>;
55
42
  "x5t#S256": z.ZodOptional<z.ZodString>;
56
43
  x5u: z.ZodOptional<z.ZodString>;
57
- }, "strip", z.ZodTypeAny, {
58
- kty: "RSA" | "EC";
59
- alg?: string | undefined;
60
- crv?: string | undefined;
61
- d?: string | undefined;
62
- dp?: string | undefined;
63
- dq?: string | undefined;
64
- e?: string | undefined;
65
- ext?: boolean | undefined;
66
- k?: string | undefined;
67
- key_ops?: string[] | undefined;
68
- kid?: string | undefined;
69
- n?: string | undefined;
70
- p?: string | undefined;
71
- q?: string | undefined;
72
- qi?: string | undefined;
73
- use?: string | undefined;
74
- x?: string | undefined;
75
- y?: string | undefined;
76
- x5c?: string[] | undefined;
77
- x5t?: string | undefined;
78
- "x5t#S256"?: string | undefined;
79
- x5u?: string | undefined;
80
- }, {
81
- kty: "RSA" | "EC";
82
- alg?: string | undefined;
83
- crv?: string | undefined;
84
- d?: string | undefined;
85
- dp?: string | undefined;
86
- dq?: string | undefined;
87
- e?: string | undefined;
88
- ext?: boolean | undefined;
89
- k?: string | undefined;
90
- key_ops?: string[] | undefined;
91
- kid?: string | undefined;
92
- n?: string | undefined;
93
- p?: string | undefined;
94
- q?: string | undefined;
95
- qi?: string | undefined;
96
- use?: string | undefined;
97
- x?: string | undefined;
98
- y?: string | undefined;
99
- x5c?: string[] | undefined;
100
- x5t?: string | undefined;
101
- "x5t#S256"?: string | undefined;
102
- x5u?: string | undefined;
103
- }>, z.ZodObject<{
44
+ }, z.core.$strip>, z.ZodObject<{
104
45
  kid: z.ZodString;
105
- }, "strip", z.ZodTypeAny, {
106
- kid: string;
107
- }, {
108
- kid: string;
109
- }>>;
110
- }, "strip", z.ZodTypeAny, {
111
- jwk: {
112
- kty: "RSA" | "EC";
113
- alg?: string | undefined;
114
- crv?: string | undefined;
115
- d?: string | undefined;
116
- dp?: string | undefined;
117
- dq?: string | undefined;
118
- e?: string | undefined;
119
- ext?: boolean | undefined;
120
- k?: string | undefined;
121
- key_ops?: string[] | undefined;
122
- kid?: string | undefined;
123
- n?: string | undefined;
124
- p?: string | undefined;
125
- q?: string | undefined;
126
- qi?: string | undefined;
127
- use?: string | undefined;
128
- x?: string | undefined;
129
- y?: string | undefined;
130
- x5c?: string[] | undefined;
131
- x5t?: string | undefined;
132
- "x5t#S256"?: string | undefined;
133
- x5u?: string | undefined;
134
- } & {
135
- kid: string;
136
- };
137
- }, {
138
- jwk: {
139
- kty: "RSA" | "EC";
140
- alg?: string | undefined;
141
- crv?: string | undefined;
142
- d?: string | undefined;
143
- dp?: string | undefined;
144
- dq?: string | undefined;
145
- e?: string | undefined;
146
- ext?: boolean | undefined;
147
- k?: string | undefined;
148
- key_ops?: string[] | undefined;
149
- kid?: string | undefined;
150
- n?: string | undefined;
151
- p?: string | undefined;
152
- q?: string | undefined;
153
- qi?: string | undefined;
154
- use?: string | undefined;
155
- x?: string | undefined;
156
- y?: string | undefined;
157
- x5c?: string[] | undefined;
158
- x5t?: string | undefined;
159
- "x5t#S256"?: string | undefined;
160
- x5u?: string | undefined;
161
- } & {
162
- kid: string;
163
- };
164
- }>;
165
- }, "strip", z.ZodTypeAny, {
166
- iss: string;
167
- iat: number;
168
- exp: number;
169
- cnf: {
170
- jwk: {
171
- kty: "RSA" | "EC";
172
- alg?: string | undefined;
173
- crv?: string | undefined;
174
- d?: string | undefined;
175
- dp?: string | undefined;
176
- dq?: string | undefined;
177
- e?: string | undefined;
178
- ext?: boolean | undefined;
179
- k?: string | undefined;
180
- key_ops?: string[] | undefined;
181
- kid?: string | undefined;
182
- n?: string | undefined;
183
- p?: string | undefined;
184
- q?: string | undefined;
185
- qi?: string | undefined;
186
- use?: string | undefined;
187
- x?: string | undefined;
188
- y?: string | undefined;
189
- x5c?: string[] | undefined;
190
- x5t?: string | undefined;
191
- "x5t#S256"?: string | undefined;
192
- x5u?: string | undefined;
193
- } & {
194
- kid: string;
195
- };
196
- };
197
- }, {
198
- iss: string;
199
- iat: number;
200
- exp: number;
201
- cnf: {
202
- jwk: {
203
- kty: "RSA" | "EC";
204
- alg?: string | undefined;
205
- crv?: string | undefined;
206
- d?: string | undefined;
207
- dp?: string | undefined;
208
- dq?: string | undefined;
209
- e?: string | undefined;
210
- ext?: boolean | undefined;
211
- k?: string | undefined;
212
- key_ops?: string[] | undefined;
213
- kid?: string | undefined;
214
- n?: string | undefined;
215
- p?: string | undefined;
216
- q?: string | undefined;
217
- qi?: string | undefined;
218
- use?: string | undefined;
219
- x?: string | undefined;
220
- y?: string | undefined;
221
- x5c?: string[] | undefined;
222
- x5t?: string | undefined;
223
- "x5t#S256"?: string | undefined;
224
- x5u?: string | undefined;
225
- } & {
226
- kid: string;
227
- };
228
- };
229
- }>, z.ZodObject<{
46
+ }, z.core.$strip>>;
47
+ }, z.core.$strip>;
48
+ }, z.core.$strip>, z.ZodObject<{
230
49
  sub: z.ZodString;
231
- wallet_link: z.ZodOptional<z.ZodString>;
232
- wallet_name: z.ZodOptional<z.ZodString>;
233
- status: z.ZodOptional<z.ZodObject<{
234
- status_list: z.ZodObject<{
235
- idx: z.ZodNumber;
236
- uri: z.ZodString;
237
- }, "strip", z.ZodTypeAny, {
238
- idx: number;
239
- uri: string;
240
- }, {
241
- idx: number;
242
- uri: string;
243
- }>;
244
- }, "strip", z.ZodTypeAny, {
245
- status_list: {
246
- idx: number;
247
- uri: string;
248
- };
249
- }, {
250
- status_list: {
251
- idx: number;
252
- uri: string;
253
- };
254
- }>>;
255
- }, "strip", z.ZodTypeAny, {
256
- sub: string;
257
- status?: {
258
- status_list: {
259
- idx: number;
260
- uri: string;
261
- };
262
- } | undefined;
263
- wallet_link?: string | undefined;
264
- wallet_name?: string | undefined;
265
- }, {
266
- sub: string;
267
- status?: {
268
- status_list: {
269
- idx: number;
270
- uri: string;
271
- };
272
- } | undefined;
273
- wallet_link?: string | undefined;
274
- wallet_name?: string | undefined;
275
- }>>;
276
- }, "strip", z.ZodTypeAny, {
277
- header: {
278
- alg: string;
279
- kid: string;
280
- typ: string;
281
- x5c?: string[] | undefined;
282
- trust_chain?: string[] | undefined;
283
- } & {
284
- typ: "oauth-client-attestation+jwt";
285
- };
286
- payload: {
287
- iss: string;
288
- iat: number;
289
- exp: number;
290
- cnf: {
291
- jwk: {
292
- kty: "RSA" | "EC";
293
- alg?: string | undefined;
294
- crv?: string | undefined;
295
- d?: string | undefined;
296
- dp?: string | undefined;
297
- dq?: string | undefined;
298
- e?: string | undefined;
299
- ext?: boolean | undefined;
300
- k?: string | undefined;
301
- key_ops?: string[] | undefined;
302
- kid?: string | undefined;
303
- n?: string | undefined;
304
- p?: string | undefined;
305
- q?: string | undefined;
306
- qi?: string | undefined;
307
- use?: string | undefined;
308
- x?: string | undefined;
309
- y?: string | undefined;
310
- x5c?: string[] | undefined;
311
- x5t?: string | undefined;
312
- "x5t#S256"?: string | undefined;
313
- x5u?: string | undefined;
314
- } & {
315
- kid: string;
316
- };
317
- };
318
- } & {
319
- sub: string;
320
- status?: {
321
- status_list: {
322
- idx: number;
323
- uri: string;
324
- };
325
- } | undefined;
326
- wallet_link?: string | undefined;
327
- wallet_name?: string | undefined;
328
- };
329
- }, {
330
- header: {
331
- alg: string;
332
- kid: string;
333
- typ: string;
334
- x5c?: string[] | undefined;
335
- trust_chain?: string[] | undefined;
336
- } & {
337
- typ: "oauth-client-attestation+jwt";
338
- };
339
- payload: {
340
- iss: string;
341
- iat: number;
342
- exp: number;
343
- cnf: {
344
- jwk: {
345
- kty: "RSA" | "EC";
346
- alg?: string | undefined;
347
- crv?: string | undefined;
348
- d?: string | undefined;
349
- dp?: string | undefined;
350
- dq?: string | undefined;
351
- e?: string | undefined;
352
- ext?: boolean | undefined;
353
- k?: string | undefined;
354
- key_ops?: string[] | undefined;
355
- kid?: string | undefined;
356
- n?: string | undefined;
357
- p?: string | undefined;
358
- q?: string | undefined;
359
- qi?: string | undefined;
360
- use?: string | undefined;
361
- x?: string | undefined;
362
- y?: string | undefined;
363
- x5c?: string[] | undefined;
364
- x5t?: string | undefined;
365
- "x5t#S256"?: string | undefined;
366
- x5u?: string | undefined;
367
- } & {
368
- kid: string;
369
- };
370
- };
371
- } & {
372
- sub: string;
373
- status?: {
374
- status_list: {
375
- idx: number;
376
- uri: string;
377
- };
378
- } | undefined;
379
- wallet_link?: string | undefined;
380
- wallet_name?: string | undefined;
381
- };
382
- }>;
383
- export type WalletUnitAttestationJwt = z.infer<typeof WalletUnitAttestationJwt>;
384
- export declare const WalletUnitAttestationJwt: z.ZodObject<{
385
- header: z.ZodIntersection<z.ZodObject<{
386
- alg: z.ZodString;
387
- kid: z.ZodString;
388
- typ: z.ZodString;
389
- x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
390
- trust_chain: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
391
- }, "strip", z.ZodTypeAny, {
392
- alg: string;
393
- kid: string;
394
- typ: string;
395
- x5c?: string[] | undefined;
396
- trust_chain?: string[] | undefined;
397
- }, {
398
- alg: string;
399
- kid: string;
400
- typ: string;
401
- x5c?: string[] | undefined;
402
- trust_chain?: string[] | undefined;
403
- }>, z.ZodObject<{
404
- typ: z.ZodLiteral<"key-attestation+jwt">;
405
- }, "strip", z.ZodTypeAny, {
406
- typ: "key-attestation+jwt";
407
- }, {
408
- typ: "key-attestation+jwt";
409
- }>>;
410
- payload: z.ZodIntersection<z.ZodObject<{
411
- iss: z.ZodString;
412
- iat: z.ZodNumber;
413
- exp: z.ZodNumber;
414
- cnf: z.ZodObject<{
415
- jwk: z.ZodIntersection<z.ZodObject<{
416
- alg: z.ZodOptional<z.ZodString>;
417
- crv: z.ZodOptional<z.ZodString>;
418
- d: z.ZodOptional<z.ZodString>;
419
- dp: z.ZodOptional<z.ZodString>;
420
- dq: z.ZodOptional<z.ZodString>;
421
- e: z.ZodOptional<z.ZodString>;
422
- ext: z.ZodOptional<z.ZodBoolean>;
423
- k: z.ZodOptional<z.ZodString>;
424
- key_ops: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
425
- kid: z.ZodOptional<z.ZodString>;
426
- kty: z.ZodUnion<[z.ZodLiteral<"RSA">, z.ZodLiteral<"EC">]>;
427
- n: z.ZodOptional<z.ZodString>;
428
- p: z.ZodOptional<z.ZodString>;
429
- q: z.ZodOptional<z.ZodString>;
430
- qi: z.ZodOptional<z.ZodString>;
431
- use: z.ZodOptional<z.ZodString>;
432
- x: z.ZodOptional<z.ZodString>;
433
- y: z.ZodOptional<z.ZodString>;
434
- x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
435
- x5t: z.ZodOptional<z.ZodString>;
436
- "x5t#S256": z.ZodOptional<z.ZodString>;
437
- x5u: z.ZodOptional<z.ZodString>;
438
- }, "strip", z.ZodTypeAny, {
439
- kty: "RSA" | "EC";
440
- alg?: string | undefined;
441
- crv?: string | undefined;
442
- d?: string | undefined;
443
- dp?: string | undefined;
444
- dq?: string | undefined;
445
- e?: string | undefined;
446
- ext?: boolean | undefined;
447
- k?: string | undefined;
448
- key_ops?: string[] | undefined;
449
- kid?: string | undefined;
450
- n?: string | undefined;
451
- p?: string | undefined;
452
- q?: string | undefined;
453
- qi?: string | undefined;
454
- use?: string | undefined;
455
- x?: string | undefined;
456
- y?: string | undefined;
457
- x5c?: string[] | undefined;
458
- x5t?: string | undefined;
459
- "x5t#S256"?: string | undefined;
460
- x5u?: string | undefined;
461
- }, {
462
- kty: "RSA" | "EC";
463
- alg?: string | undefined;
464
- crv?: string | undefined;
465
- d?: string | undefined;
466
- dp?: string | undefined;
467
- dq?: string | undefined;
468
- e?: string | undefined;
469
- ext?: boolean | undefined;
470
- k?: string | undefined;
471
- key_ops?: string[] | undefined;
472
- kid?: string | undefined;
473
- n?: string | undefined;
474
- p?: string | undefined;
475
- q?: string | undefined;
476
- qi?: string | undefined;
477
- use?: string | undefined;
478
- x?: string | undefined;
479
- y?: string | undefined;
480
- x5c?: string[] | undefined;
481
- x5t?: string | undefined;
482
- "x5t#S256"?: string | undefined;
483
- x5u?: string | undefined;
484
- }>, z.ZodObject<{
485
- kid: z.ZodString;
486
- }, "strip", z.ZodTypeAny, {
487
- kid: string;
488
- }, {
489
- kid: string;
490
- }>>;
491
- }, "strip", z.ZodTypeAny, {
492
- jwk: {
493
- kty: "RSA" | "EC";
494
- alg?: string | undefined;
495
- crv?: string | undefined;
496
- d?: string | undefined;
497
- dp?: string | undefined;
498
- dq?: string | undefined;
499
- e?: string | undefined;
500
- ext?: boolean | undefined;
501
- k?: string | undefined;
502
- key_ops?: string[] | undefined;
503
- kid?: string | undefined;
504
- n?: string | undefined;
505
- p?: string | undefined;
506
- q?: string | undefined;
507
- qi?: string | undefined;
508
- use?: string | undefined;
509
- x?: string | undefined;
510
- y?: string | undefined;
511
- x5c?: string[] | undefined;
512
- x5t?: string | undefined;
513
- "x5t#S256"?: string | undefined;
514
- x5u?: string | undefined;
515
- } & {
516
- kid: string;
517
- };
518
- }, {
519
- jwk: {
520
- kty: "RSA" | "EC";
521
- alg?: string | undefined;
522
- crv?: string | undefined;
523
- d?: string | undefined;
524
- dp?: string | undefined;
525
- dq?: string | undefined;
526
- e?: string | undefined;
527
- ext?: boolean | undefined;
528
- k?: string | undefined;
529
- key_ops?: string[] | undefined;
530
- kid?: string | undefined;
531
- n?: string | undefined;
532
- p?: string | undefined;
533
- q?: string | undefined;
534
- qi?: string | undefined;
535
- use?: string | undefined;
536
- x?: string | undefined;
537
- y?: string | undefined;
538
- x5c?: string[] | undefined;
539
- x5t?: string | undefined;
540
- "x5t#S256"?: string | undefined;
541
- x5u?: string | undefined;
542
- } & {
543
- kid: string;
544
- };
545
- }>;
546
- }, "strip", z.ZodTypeAny, {
547
- iss: string;
548
- iat: number;
549
- exp: number;
550
- cnf: {
551
- jwk: {
552
- kty: "RSA" | "EC";
553
- alg?: string | undefined;
554
- crv?: string | undefined;
555
- d?: string | undefined;
556
- dp?: string | undefined;
557
- dq?: string | undefined;
558
- e?: string | undefined;
559
- ext?: boolean | undefined;
560
- k?: string | undefined;
561
- key_ops?: string[] | undefined;
562
- kid?: string | undefined;
563
- n?: string | undefined;
564
- p?: string | undefined;
565
- q?: string | undefined;
566
- qi?: string | undefined;
567
- use?: string | undefined;
568
- x?: string | undefined;
569
- y?: string | undefined;
570
- x5c?: string[] | undefined;
571
- x5t?: string | undefined;
572
- "x5t#S256"?: string | undefined;
573
- x5u?: string | undefined;
574
- } & {
575
- kid: string;
576
- };
577
- };
578
- }, {
579
- iss: string;
580
- iat: number;
581
- exp: number;
582
- cnf: {
583
- jwk: {
584
- kty: "RSA" | "EC";
585
- alg?: string | undefined;
586
- crv?: string | undefined;
587
- d?: string | undefined;
588
- dp?: string | undefined;
589
- dq?: string | undefined;
590
- e?: string | undefined;
591
- ext?: boolean | undefined;
592
- k?: string | undefined;
593
- key_ops?: string[] | undefined;
594
- kid?: string | undefined;
595
- n?: string | undefined;
596
- p?: string | undefined;
597
- q?: string | undefined;
598
- qi?: string | undefined;
599
- use?: string | undefined;
600
- x?: string | undefined;
601
- y?: string | undefined;
602
- x5c?: string[] | undefined;
603
- x5t?: string | undefined;
604
- "x5t#S256"?: string | undefined;
605
- x5u?: string | undefined;
606
- } & {
607
- kid: string;
608
- };
609
- };
610
- }>, z.ZodObject<{
611
- attested_keys: z.ZodArray<z.ZodObject<{
612
- alg: z.ZodOptional<z.ZodString>;
613
- crv: z.ZodOptional<z.ZodString>;
614
- d: z.ZodOptional<z.ZodString>;
615
- dp: z.ZodOptional<z.ZodString>;
616
- dq: z.ZodOptional<z.ZodString>;
617
- e: z.ZodOptional<z.ZodString>;
618
- ext: z.ZodOptional<z.ZodBoolean>;
619
- k: z.ZodOptional<z.ZodString>;
620
- key_ops: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
621
- kid: z.ZodOptional<z.ZodString>;
622
- kty: z.ZodUnion<[z.ZodLiteral<"RSA">, z.ZodLiteral<"EC">]>;
623
- n: z.ZodOptional<z.ZodString>;
624
- p: z.ZodOptional<z.ZodString>;
625
- q: z.ZodOptional<z.ZodString>;
626
- qi: z.ZodOptional<z.ZodString>;
627
- use: z.ZodOptional<z.ZodString>;
628
- x: z.ZodOptional<z.ZodString>;
629
- y: z.ZodOptional<z.ZodString>;
630
- x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
631
- x5t: z.ZodOptional<z.ZodString>;
632
- "x5t#S256": z.ZodOptional<z.ZodString>;
633
- x5u: z.ZodOptional<z.ZodString>;
634
- }, "strip", z.ZodTypeAny, {
635
- kty: "RSA" | "EC";
636
- alg?: string | undefined;
637
- crv?: string | undefined;
638
- d?: string | undefined;
639
- dp?: string | undefined;
640
- dq?: string | undefined;
641
- e?: string | undefined;
642
- ext?: boolean | undefined;
643
- k?: string | undefined;
644
- key_ops?: string[] | undefined;
645
- kid?: string | undefined;
646
- n?: string | undefined;
647
- p?: string | undefined;
648
- q?: string | undefined;
649
- qi?: string | undefined;
650
- use?: string | undefined;
651
- x?: string | undefined;
652
- y?: string | undefined;
653
- x5c?: string[] | undefined;
654
- x5t?: string | undefined;
655
- "x5t#S256"?: string | undefined;
656
- x5u?: string | undefined;
657
- }, {
658
- kty: "RSA" | "EC";
659
- alg?: string | undefined;
660
- crv?: string | undefined;
661
- d?: string | undefined;
662
- dp?: string | undefined;
663
- dq?: string | undefined;
664
- e?: string | undefined;
665
- ext?: boolean | undefined;
666
- k?: string | undefined;
667
- key_ops?: string[] | undefined;
668
- kid?: string | undefined;
669
- n?: string | undefined;
670
- p?: string | undefined;
671
- q?: string | undefined;
672
- qi?: string | undefined;
673
- use?: string | undefined;
674
- x?: string | undefined;
675
- y?: string | undefined;
676
- x5c?: string[] | undefined;
677
- x5t?: string | undefined;
678
- "x5t#S256"?: string | undefined;
679
- x5u?: string | undefined;
680
- }>, "many">;
681
- user_authentication: z.ZodArray<z.ZodString, "many">;
682
- key_storage: z.ZodArray<z.ZodString, "many">;
683
- status: z.ZodObject<{
684
- status_list: z.ZodObject<{
685
- idx: z.ZodNumber;
686
- uri: z.ZodString;
687
- }, "strip", z.ZodTypeAny, {
688
- idx: number;
689
- uri: string;
690
- }, {
691
- idx: number;
692
- uri: string;
693
- }>;
694
- }, "strip", z.ZodTypeAny, {
695
- status_list: {
696
- idx: number;
697
- uri: string;
698
- };
699
- }, {
700
- status_list: {
701
- idx: number;
702
- uri: string;
703
- };
704
- }>;
705
- }, "strip", z.ZodTypeAny, {
706
- status: {
707
- status_list: {
708
- idx: number;
709
- uri: string;
710
- };
711
- };
712
- attested_keys: {
713
- kty: "RSA" | "EC";
714
- alg?: string | undefined;
715
- crv?: string | undefined;
716
- d?: string | undefined;
717
- dp?: string | undefined;
718
- dq?: string | undefined;
719
- e?: string | undefined;
720
- ext?: boolean | undefined;
721
- k?: string | undefined;
722
- key_ops?: string[] | undefined;
723
- kid?: string | undefined;
724
- n?: string | undefined;
725
- p?: string | undefined;
726
- q?: string | undefined;
727
- qi?: string | undefined;
728
- use?: string | undefined;
729
- x?: string | undefined;
730
- y?: string | undefined;
731
- x5c?: string[] | undefined;
732
- x5t?: string | undefined;
733
- "x5t#S256"?: string | undefined;
734
- x5u?: string | undefined;
735
- }[];
736
- user_authentication: string[];
737
- key_storage: string[];
738
- }, {
739
- status: {
740
- status_list: {
741
- idx: number;
742
- uri: string;
743
- };
744
- };
745
- attested_keys: {
746
- kty: "RSA" | "EC";
747
- alg?: string | undefined;
748
- crv?: string | undefined;
749
- d?: string | undefined;
750
- dp?: string | undefined;
751
- dq?: string | undefined;
752
- e?: string | undefined;
753
- ext?: boolean | undefined;
754
- k?: string | undefined;
755
- key_ops?: string[] | undefined;
756
- kid?: string | undefined;
757
- n?: string | undefined;
758
- p?: string | undefined;
759
- q?: string | undefined;
760
- qi?: string | undefined;
761
- use?: string | undefined;
762
- x?: string | undefined;
763
- y?: string | undefined;
764
- x5c?: string[] | undefined;
765
- x5t?: string | undefined;
766
- "x5t#S256"?: string | undefined;
767
- x5u?: string | undefined;
768
- }[];
769
- user_authentication: string[];
770
- key_storage: string[];
771
- }>>;
772
- }, "strip", z.ZodTypeAny, {
773
- header: {
774
- alg: string;
775
- kid: string;
776
- typ: string;
777
- x5c?: string[] | undefined;
778
- trust_chain?: string[] | undefined;
779
- } & {
780
- typ: "key-attestation+jwt";
781
- };
782
- payload: {
783
- iss: string;
784
- iat: number;
785
- exp: number;
786
- cnf: {
787
- jwk: {
788
- kty: "RSA" | "EC";
789
- alg?: string | undefined;
790
- crv?: string | undefined;
791
- d?: string | undefined;
792
- dp?: string | undefined;
793
- dq?: string | undefined;
794
- e?: string | undefined;
795
- ext?: boolean | undefined;
796
- k?: string | undefined;
797
- key_ops?: string[] | undefined;
798
- kid?: string | undefined;
799
- n?: string | undefined;
800
- p?: string | undefined;
801
- q?: string | undefined;
802
- qi?: string | undefined;
803
- use?: string | undefined;
804
- x?: string | undefined;
805
- y?: string | undefined;
806
- x5c?: string[] | undefined;
807
- x5t?: string | undefined;
808
- "x5t#S256"?: string | undefined;
809
- x5u?: string | undefined;
810
- } & {
811
- kid: string;
812
- };
813
- };
814
- } & {
815
- status: {
816
- status_list: {
817
- idx: number;
818
- uri: string;
819
- };
820
- };
821
- attested_keys: {
822
- kty: "RSA" | "EC";
823
- alg?: string | undefined;
824
- crv?: string | undefined;
825
- d?: string | undefined;
826
- dp?: string | undefined;
827
- dq?: string | undefined;
828
- e?: string | undefined;
829
- ext?: boolean | undefined;
830
- k?: string | undefined;
831
- key_ops?: string[] | undefined;
832
- kid?: string | undefined;
833
- n?: string | undefined;
834
- p?: string | undefined;
835
- q?: string | undefined;
836
- qi?: string | undefined;
837
- use?: string | undefined;
838
- x?: string | undefined;
839
- y?: string | undefined;
840
- x5c?: string[] | undefined;
841
- x5t?: string | undefined;
842
- "x5t#S256"?: string | undefined;
843
- x5u?: string | undefined;
844
- }[];
845
- user_authentication: string[];
846
- key_storage: string[];
847
- };
848
- }, {
849
- header: {
850
- alg: string;
851
- kid: string;
852
- typ: string;
853
- x5c?: string[] | undefined;
854
- trust_chain?: string[] | undefined;
855
- } & {
856
- typ: "key-attestation+jwt";
857
- };
858
- payload: {
859
- iss: string;
860
- iat: number;
861
- exp: number;
862
- cnf: {
863
- jwk: {
864
- kty: "RSA" | "EC";
865
- alg?: string | undefined;
866
- crv?: string | undefined;
867
- d?: string | undefined;
868
- dp?: string | undefined;
869
- dq?: string | undefined;
870
- e?: string | undefined;
871
- ext?: boolean | undefined;
872
- k?: string | undefined;
873
- key_ops?: string[] | undefined;
874
- kid?: string | undefined;
875
- n?: string | undefined;
876
- p?: string | undefined;
877
- q?: string | undefined;
878
- qi?: string | undefined;
879
- use?: string | undefined;
880
- x?: string | undefined;
881
- y?: string | undefined;
882
- x5c?: string[] | undefined;
883
- x5t?: string | undefined;
884
- "x5t#S256"?: string | undefined;
885
- x5u?: string | undefined;
886
- } & {
887
- kid: string;
888
- };
889
- };
890
- } & {
891
- status: {
892
- status_list: {
893
- idx: number;
894
- uri: string;
895
- };
896
- };
897
- attested_keys: {
898
- kty: "RSA" | "EC";
899
- alg?: string | undefined;
900
- crv?: string | undefined;
901
- d?: string | undefined;
902
- dp?: string | undefined;
903
- dq?: string | undefined;
904
- e?: string | undefined;
905
- ext?: boolean | undefined;
906
- k?: string | undefined;
907
- key_ops?: string[] | undefined;
908
- kid?: string | undefined;
909
- n?: string | undefined;
910
- p?: string | undefined;
911
- q?: string | undefined;
912
- qi?: string | undefined;
913
- use?: string | undefined;
914
- x?: string | undefined;
915
- y?: string | undefined;
916
- x5c?: string[] | undefined;
917
- x5t?: string | undefined;
918
- "x5t#S256"?: string | undefined;
919
- x5u?: string | undefined;
920
- }[];
921
- user_authentication: string[];
922
- key_storage: string[];
923
- };
924
- }>;
50
+ eudi_wallet_info: z.ZodObject<{
51
+ general_info: z.ZodObject<{
52
+ wallet_provider_name: z.ZodString;
53
+ wallet_solution_id: z.ZodString;
54
+ wallet_solution_version: z.ZodString;
55
+ }, z.core.$strip>;
56
+ }, z.core.$strip>;
57
+ }, z.core.$strip>>;
58
+ }, z.core.$strip>;
59
+ export type WalletInstanceAttestationResponse = z.infer<typeof WalletInstanceAttestationResponse>;
60
+ export declare const WalletInstanceAttestationResponse: z.ZodObject<{
61
+ wallet_instance_attestation: z.ZodString;
62
+ }, z.core.$strip>;
925
63
  //# sourceMappingURL=types.d.ts.map