@pagopa/io-react-native-wallet 3.0.0 → 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 (409) 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/common/06-verify-and-parse-credential.sdjwt.js +2 -1
  11. package/lib/commonjs/credential/issuance/common/06-verify-and-parse-credential.sdjwt.js.map +1 -1
  12. package/lib/commonjs/credential/issuance/v1.3.3/01-evaluate-issuer-trust.js +2 -0
  13. package/lib/commonjs/credential/issuance/v1.3.3/01-evaluate-issuer-trust.js.map +1 -1
  14. package/lib/commonjs/credential/issuance/v1.3.3/03-complete-user-authorization.js +2 -0
  15. package/lib/commonjs/credential/issuance/v1.3.3/03-complete-user-authorization.js.map +1 -1
  16. package/lib/commonjs/credential/issuance/v1.3.3/05-obtain-credential.js +15 -8
  17. package/lib/commonjs/credential/issuance/v1.3.3/05-obtain-credential.js.map +1 -1
  18. package/lib/commonjs/credential/issuance/v1.3.3/mappers.js +0 -1
  19. package/lib/commonjs/credential/issuance/v1.3.3/mappers.js.map +1 -1
  20. package/lib/commonjs/credential/presentation/api/RelyingPartyConfig.js +2 -2
  21. package/lib/commonjs/credential/presentation/api/RelyingPartyConfig.js.map +1 -1
  22. package/lib/commonjs/credential/presentation/common/utils/sd-jwt.js +2 -1
  23. package/lib/commonjs/credential/presentation/common/utils/sd-jwt.js.map +1 -1
  24. package/lib/commonjs/credential/presentation/v1.0.0/04-verify-request-object.js.map +1 -1
  25. package/lib/commonjs/credential/presentation/v1.3.3/04-verify-request-object.js +4 -2
  26. package/lib/commonjs/credential/presentation/v1.3.3/04-verify-request-object.js.map +1 -1
  27. package/lib/commonjs/credentials-catalogue/api/DigitalCredentialsCatalogue.js +37 -11
  28. package/lib/commonjs/credentials-catalogue/api/DigitalCredentialsCatalogue.js.map +1 -1
  29. package/lib/commonjs/credentials-catalogue/v1.0.0/mappers.js +16 -5
  30. package/lib/commonjs/credentials-catalogue/v1.0.0/mappers.js.map +1 -1
  31. package/lib/commonjs/credentials-catalogue/v1.3.3/mappers.js +4 -2
  32. package/lib/commonjs/credentials-catalogue/v1.3.3/mappers.js.map +1 -1
  33. package/lib/commonjs/credentials-catalogue/v1.3.3/types.js +91 -30
  34. package/lib/commonjs/credentials-catalogue/v1.3.3/types.js.map +1 -1
  35. package/lib/commonjs/credentials-catalogue/v1.3.3/utils.js +4 -4
  36. package/lib/commonjs/credentials-catalogue/v1.3.3/utils.js.map +1 -1
  37. package/lib/commonjs/index.js +3 -1
  38. package/lib/commonjs/index.js.map +1 -1
  39. package/lib/commonjs/sd-jwt/index.js +3 -2
  40. package/lib/commonjs/sd-jwt/index.js.map +1 -1
  41. package/lib/commonjs/sd-jwt/utils.js +2 -1
  42. package/lib/commonjs/sd-jwt/utils.js.map +1 -1
  43. package/lib/commonjs/trust/common/types.js +3 -3
  44. package/lib/commonjs/trust/common/types.js.map +1 -1
  45. package/lib/commonjs/trust/v1.0.0/types.js +6 -8
  46. package/lib/commonjs/trust/v1.0.0/types.js.map +1 -1
  47. package/lib/commonjs/trust/v1.3.3/types.js +1 -3
  48. package/lib/commonjs/trust/v1.3.3/types.js.map +1 -1
  49. package/lib/commonjs/utils/callbacks.js +2 -0
  50. package/lib/commonjs/utils/callbacks.js.map +1 -1
  51. package/lib/commonjs/utils/credentials.js +17 -2
  52. package/lib/commonjs/utils/credentials.js.map +1 -1
  53. package/lib/commonjs/utils/crypto.js +8 -0
  54. package/lib/commonjs/utils/crypto.js.map +1 -1
  55. package/lib/commonjs/utils/dpop.js +1 -1
  56. package/lib/commonjs/utils/dpop.js.map +1 -1
  57. package/lib/commonjs/utils/jwk.js +1 -1
  58. package/lib/commonjs/utils/jwk.js.map +1 -1
  59. package/lib/commonjs/utils/zod.js +1 -1
  60. package/lib/commonjs/utils/zod.js.map +1 -1
  61. package/lib/commonjs/wallet-instance-attestation/README.md +13 -10
  62. package/lib/commonjs/wallet-instance-attestation/api/types.js +9 -4
  63. package/lib/commonjs/wallet-instance-attestation/api/types.js.map +1 -1
  64. package/lib/commonjs/wallet-instance-attestation/v1.0.0/index.js +2 -2
  65. package/lib/commonjs/wallet-instance-attestation/v1.0.0/index.js.map +1 -1
  66. package/lib/commonjs/wallet-instance-attestation/v1.0.0/issuing.js +4 -5
  67. package/lib/commonjs/wallet-instance-attestation/v1.0.0/issuing.js.map +1 -1
  68. package/lib/commonjs/wallet-instance-attestation/v1.0.0/mappers.js +4 -5
  69. package/lib/commonjs/wallet-instance-attestation/v1.0.0/mappers.js.map +1 -1
  70. package/lib/commonjs/wallet-instance-attestation/v1.3.3/index.js +5 -7
  71. package/lib/commonjs/wallet-instance-attestation/v1.3.3/index.js.map +1 -1
  72. package/lib/commonjs/wallet-instance-attestation/v1.3.3/issuing.js +73 -3
  73. package/lib/commonjs/wallet-instance-attestation/v1.3.3/issuing.js.map +1 -1
  74. package/lib/commonjs/wallet-instance-attestation/v1.3.3/mappers.js +26 -0
  75. package/lib/commonjs/wallet-instance-attestation/v1.3.3/mappers.js.map +1 -0
  76. package/lib/commonjs/wallet-instance-attestation/v1.3.3/types.js +13 -24
  77. package/lib/commonjs/wallet-instance-attestation/v1.3.3/types.js.map +1 -1
  78. package/lib/commonjs/wallet-instance-attestation/v1.3.3/utils.js +35 -0
  79. package/lib/commonjs/wallet-instance-attestation/v1.3.3/utils.js.map +1 -0
  80. package/lib/commonjs/wallet-unit-attestation/README.md +73 -0
  81. package/lib/commonjs/wallet-unit-attestation/api/index.js +6 -0
  82. package/lib/commonjs/wallet-unit-attestation/api/index.js.map +1 -0
  83. package/lib/commonjs/wallet-unit-attestation/api/types.js +45 -0
  84. package/lib/commonjs/wallet-unit-attestation/api/types.js.map +1 -0
  85. package/lib/commonjs/wallet-unit-attestation/index.js +20 -0
  86. package/lib/commonjs/wallet-unit-attestation/index.js.map +1 -0
  87. package/lib/commonjs/wallet-unit-attestation/v1.0.0/index.js +11 -0
  88. package/lib/commonjs/wallet-unit-attestation/v1.0.0/index.js.map +1 -0
  89. package/lib/commonjs/wallet-unit-attestation/v1.3.3/index.js +17 -0
  90. package/lib/commonjs/wallet-unit-attestation/v1.3.3/index.js.map +1 -0
  91. package/lib/commonjs/wallet-unit-attestation/v1.3.3/issuing.js +118 -0
  92. package/lib/commonjs/wallet-unit-attestation/v1.3.3/issuing.js.map +1 -0
  93. package/lib/commonjs/wallet-unit-attestation/v1.3.3/mappers.js +13 -0
  94. package/lib/commonjs/wallet-unit-attestation/v1.3.3/mappers.js.map +1 -0
  95. package/lib/commonjs/wallet-unit-attestation/v1.3.3/types.js +23 -0
  96. package/lib/commonjs/wallet-unit-attestation/v1.3.3/types.js.map +1 -0
  97. package/lib/commonjs/wallet-unit-attestation/v1.3.3/utils.js +20 -0
  98. package/lib/commonjs/wallet-unit-attestation/v1.3.3/utils.js.map +1 -0
  99. package/lib/module/api/index.js +3 -0
  100. package/lib/module/api/index.js.map +1 -1
  101. package/lib/module/client/generated/wallet-provider.js +33 -1
  102. package/lib/module/client/generated/wallet-provider.js.map +1 -1
  103. package/lib/module/client/index.js +4 -2
  104. package/lib/module/client/index.js.map +1 -1
  105. package/lib/module/credential/issuance/README.md +2 -0
  106. package/lib/module/credential/issuance/api/IssuerConfig.js +2 -2
  107. package/lib/module/credential/issuance/api/IssuerConfig.js.map +1 -1
  108. package/lib/module/credential/issuance/common/06-verify-and-parse-credential.sdjwt.js +2 -1
  109. package/lib/module/credential/issuance/common/06-verify-and-parse-credential.sdjwt.js.map +1 -1
  110. package/lib/module/credential/issuance/v1.3.3/01-evaluate-issuer-trust.js +2 -0
  111. package/lib/module/credential/issuance/v1.3.3/01-evaluate-issuer-trust.js.map +1 -1
  112. package/lib/module/credential/issuance/v1.3.3/03-complete-user-authorization.js +2 -0
  113. package/lib/module/credential/issuance/v1.3.3/03-complete-user-authorization.js.map +1 -1
  114. package/lib/module/credential/issuance/v1.3.3/05-obtain-credential.js +16 -9
  115. package/lib/module/credential/issuance/v1.3.3/05-obtain-credential.js.map +1 -1
  116. package/lib/module/credential/issuance/v1.3.3/mappers.js +0 -1
  117. package/lib/module/credential/issuance/v1.3.3/mappers.js.map +1 -1
  118. package/lib/module/credential/presentation/api/RelyingPartyConfig.js +1 -1
  119. package/lib/module/credential/presentation/api/RelyingPartyConfig.js.map +1 -1
  120. package/lib/module/credential/presentation/common/utils/sd-jwt.js +2 -1
  121. package/lib/module/credential/presentation/common/utils/sd-jwt.js.map +1 -1
  122. package/lib/module/credential/presentation/v1.0.0/04-verify-request-object.js.map +1 -1
  123. package/lib/module/credential/presentation/v1.3.3/04-verify-request-object.js +4 -2
  124. package/lib/module/credential/presentation/v1.3.3/04-verify-request-object.js.map +1 -1
  125. package/lib/module/credentials-catalogue/api/DigitalCredentialsCatalogue.js +37 -11
  126. package/lib/module/credentials-catalogue/api/DigitalCredentialsCatalogue.js.map +1 -1
  127. package/lib/module/credentials-catalogue/v1.0.0/mappers.js +16 -5
  128. package/lib/module/credentials-catalogue/v1.0.0/mappers.js.map +1 -1
  129. package/lib/module/credentials-catalogue/v1.3.3/mappers.js +4 -2
  130. package/lib/module/credentials-catalogue/v1.3.3/mappers.js.map +1 -1
  131. package/lib/module/credentials-catalogue/v1.3.3/types.js +91 -30
  132. package/lib/module/credentials-catalogue/v1.3.3/types.js.map +1 -1
  133. package/lib/module/credentials-catalogue/v1.3.3/utils.js +4 -4
  134. package/lib/module/credentials-catalogue/v1.3.3/utils.js.map +1 -1
  135. package/lib/module/index.js +2 -1
  136. package/lib/module/index.js.map +1 -1
  137. package/lib/module/sd-jwt/index.js +3 -2
  138. package/lib/module/sd-jwt/index.js.map +1 -1
  139. package/lib/module/sd-jwt/utils.js +2 -1
  140. package/lib/module/sd-jwt/utils.js.map +1 -1
  141. package/lib/module/trust/common/types.js +3 -3
  142. package/lib/module/trust/common/types.js.map +1 -1
  143. package/lib/module/trust/v1.0.0/types.js +5 -7
  144. package/lib/module/trust/v1.0.0/types.js.map +1 -1
  145. package/lib/module/trust/v1.3.3/types.js +1 -3
  146. package/lib/module/trust/v1.3.3/types.js.map +1 -1
  147. package/lib/module/utils/callbacks.js +3 -0
  148. package/lib/module/utils/callbacks.js.map +1 -1
  149. package/lib/module/utils/credentials.js +15 -1
  150. package/lib/module/utils/credentials.js.map +1 -1
  151. package/lib/module/utils/crypto.js +8 -0
  152. package/lib/module/utils/crypto.js.map +1 -1
  153. package/lib/module/utils/dpop.js +1 -1
  154. package/lib/module/utils/dpop.js.map +1 -1
  155. package/lib/module/utils/jwk.js +1 -1
  156. package/lib/module/utils/jwk.js.map +1 -1
  157. package/lib/module/utils/zod.js +1 -1
  158. package/lib/module/utils/zod.js.map +1 -1
  159. package/lib/module/wallet-instance-attestation/README.md +13 -10
  160. package/lib/module/wallet-instance-attestation/api/types.js +7 -2
  161. package/lib/module/wallet-instance-attestation/api/types.js.map +1 -1
  162. package/lib/module/wallet-instance-attestation/v1.0.0/index.js +3 -3
  163. package/lib/module/wallet-instance-attestation/v1.0.0/index.js.map +1 -1
  164. package/lib/module/wallet-instance-attestation/v1.0.0/issuing.js +4 -5
  165. package/lib/module/wallet-instance-attestation/v1.0.0/issuing.js.map +1 -1
  166. package/lib/module/wallet-instance-attestation/v1.0.0/mappers.js +3 -4
  167. package/lib/module/wallet-instance-attestation/v1.0.0/mappers.js.map +1 -1
  168. package/lib/module/wallet-instance-attestation/v1.3.3/index.js +5 -7
  169. package/lib/module/wallet-instance-attestation/v1.3.3/index.js.map +1 -1
  170. package/lib/module/wallet-instance-attestation/v1.3.3/issuing.js +73 -3
  171. package/lib/module/wallet-instance-attestation/v1.3.3/issuing.js.map +1 -1
  172. package/lib/module/wallet-instance-attestation/v1.3.3/mappers.js +19 -0
  173. package/lib/module/wallet-instance-attestation/v1.3.3/mappers.js.map +1 -0
  174. package/lib/module/wallet-instance-attestation/v1.3.3/types.js +10 -21
  175. package/lib/module/wallet-instance-attestation/v1.3.3/types.js.map +1 -1
  176. package/lib/module/wallet-instance-attestation/v1.3.3/utils.js +29 -0
  177. package/lib/module/wallet-instance-attestation/v1.3.3/utils.js.map +1 -0
  178. package/lib/module/wallet-unit-attestation/README.md +73 -0
  179. package/lib/module/wallet-unit-attestation/api/index.js +2 -0
  180. package/lib/module/wallet-unit-attestation/api/index.js.map +1 -0
  181. package/lib/module/wallet-unit-attestation/api/types.js +36 -0
  182. package/lib/module/wallet-unit-attestation/api/types.js.map +1 -0
  183. package/lib/module/wallet-unit-attestation/index.js +3 -0
  184. package/lib/module/wallet-unit-attestation/index.js.map +1 -0
  185. package/lib/module/wallet-unit-attestation/v1.0.0/index.js +4 -0
  186. package/lib/module/wallet-unit-attestation/v1.0.0/index.js.map +1 -0
  187. package/lib/module/wallet-unit-attestation/v1.3.3/index.js +10 -0
  188. package/lib/module/wallet-unit-attestation/v1.3.3/index.js.map +1 -0
  189. package/lib/module/wallet-unit-attestation/v1.3.3/issuing.js +112 -0
  190. package/lib/module/wallet-unit-attestation/v1.3.3/issuing.js.map +1 -0
  191. package/lib/module/wallet-unit-attestation/v1.3.3/mappers.js +6 -0
  192. package/lib/module/wallet-unit-attestation/v1.3.3/mappers.js.map +1 -0
  193. package/lib/module/wallet-unit-attestation/v1.3.3/types.js +14 -0
  194. package/lib/module/wallet-unit-attestation/v1.3.3/types.js.map +1 -0
  195. package/lib/module/wallet-unit-attestation/v1.3.3/utils.js +15 -0
  196. package/lib/module/wallet-unit-attestation/v1.3.3/utils.js.map +1 -0
  197. package/lib/typescript/api/index.d.ts +2 -0
  198. package/lib/typescript/api/index.d.ts.map +1 -1
  199. package/lib/typescript/client/generated/wallet-provider.d.ts +122 -358
  200. package/lib/typescript/client/generated/wallet-provider.d.ts.map +1 -1
  201. package/lib/typescript/client/index.d.ts.map +1 -1
  202. package/lib/typescript/credential/issuance/api/05-obtain-credential.d.ts +2 -0
  203. package/lib/typescript/credential/issuance/api/05-obtain-credential.d.ts.map +1 -1
  204. package/lib/typescript/credential/issuance/api/IssuerConfig.d.ts +21 -357
  205. package/lib/typescript/credential/issuance/api/IssuerConfig.d.ts.map +1 -1
  206. package/lib/typescript/credential/issuance/api/types.d.ts +5 -41
  207. package/lib/typescript/credential/issuance/api/types.d.ts.map +1 -1
  208. package/lib/typescript/credential/issuance/common/02-start-user-authorization.d.ts.map +1 -1
  209. package/lib/typescript/credential/issuance/common/06-verify-and-parse-credential.sdjwt.d.ts.map +1 -1
  210. package/lib/typescript/credential/issuance/common/authorization.d.ts.map +1 -1
  211. package/lib/typescript/credential/issuance/v1.0.0/03-complete-user-authorization.d.ts.map +1 -1
  212. package/lib/typescript/credential/issuance/v1.0.0/05-obtain-credential.d.ts.map +1 -1
  213. package/lib/typescript/credential/issuance/v1.0.0/mappers.d.ts +103 -106
  214. package/lib/typescript/credential/issuance/v1.0.0/mappers.d.ts.map +1 -1
  215. package/lib/typescript/credential/issuance/v1.0.0/types.d.ts +4 -26
  216. package/lib/typescript/credential/issuance/v1.0.0/types.d.ts.map +1 -1
  217. package/lib/typescript/credential/issuance/v1.3.3/01-evaluate-issuer-trust.d.ts.map +1 -1
  218. package/lib/typescript/credential/issuance/v1.3.3/03-complete-user-authorization.d.ts.map +1 -1
  219. package/lib/typescript/credential/issuance/v1.3.3/05-obtain-credential.d.ts.map +1 -1
  220. package/lib/typescript/credential/issuance/v1.3.3/mappers.d.ts +594 -2095
  221. package/lib/typescript/credential/issuance/v1.3.3/mappers.d.ts.map +1 -1
  222. package/lib/typescript/credential/issuance/v1.3.3/types.d.ts +1 -5
  223. package/lib/typescript/credential/issuance/v1.3.3/types.d.ts.map +1 -1
  224. package/lib/typescript/credential/presentation/api/RelyingPartyConfig.d.ts +9 -154
  225. package/lib/typescript/credential/presentation/api/RelyingPartyConfig.d.ts.map +1 -1
  226. package/lib/typescript/credential/presentation/api/types.d.ts +30 -106
  227. package/lib/typescript/credential/presentation/api/types.d.ts.map +1 -1
  228. package/lib/typescript/credential/presentation/common/utils/dcql.d.ts +29 -244
  229. package/lib/typescript/credential/presentation/common/utils/dcql.d.ts.map +1 -1
  230. package/lib/typescript/credential/presentation/common/utils/http.d.ts.map +1 -1
  231. package/lib/typescript/credential/presentation/common/utils/sd-jwt.d.ts.map +1 -1
  232. package/lib/typescript/credential/presentation/common/utils.d.ts.map +1 -1
  233. package/lib/typescript/credential/presentation/v1.0.0/06-send-authorization-response.d.ts.map +1 -1
  234. package/lib/typescript/credential/presentation/v1.0.0/mappers.d.ts +56 -58
  235. package/lib/typescript/credential/presentation/v1.0.0/mappers.d.ts.map +1 -1
  236. package/lib/typescript/credential/presentation/v1.0.0/types.d.ts +13 -52
  237. package/lib/typescript/credential/presentation/v1.0.0/types.d.ts.map +1 -1
  238. package/lib/typescript/credential/presentation/v1.0.0/utils.d.ts.map +1 -1
  239. package/lib/typescript/credential/presentation/v1.0.0/utils.jwks.d.ts.map +1 -1
  240. package/lib/typescript/credential/presentation/v1.3.3/04-verify-request-object.d.ts.map +1 -1
  241. package/lib/typescript/credential/presentation/v1.3.3/mappers.d.ts +133 -525
  242. package/lib/typescript/credential/presentation/v1.3.3/mappers.d.ts.map +1 -1
  243. package/lib/typescript/credential/presentation/v1.3.3/sdkErrorMapper.d.ts.map +1 -1
  244. package/lib/typescript/credential/presentation/v1.3.3/types.d.ts +39 -3672
  245. package/lib/typescript/credential/presentation/v1.3.3/types.d.ts.map +1 -1
  246. package/lib/typescript/credential/presentation/v1.3.3/utils.mdoc.d.ts.map +1 -1
  247. package/lib/typescript/credential/status/v1.0.0/mappers.d.ts +6 -6
  248. package/lib/typescript/credential/status/v1.0.0/types.d.ts +33 -659
  249. package/lib/typescript/credential/status/v1.0.0/types.d.ts.map +1 -1
  250. package/lib/typescript/credentials-catalogue/api/DigitalCredentialsCatalogue.d.ts +111 -525
  251. package/lib/typescript/credentials-catalogue/api/DigitalCredentialsCatalogue.d.ts.map +1 -1
  252. package/lib/typescript/credentials-catalogue/v1.0.0/mappers.d.ts +48 -20
  253. package/lib/typescript/credentials-catalogue/v1.0.0/mappers.d.ts.map +1 -1
  254. package/lib/typescript/credentials-catalogue/v1.0.0/types.d.ts +41 -737
  255. package/lib/typescript/credentials-catalogue/v1.0.0/types.d.ts.map +1 -1
  256. package/lib/typescript/credentials-catalogue/v1.3.3/mappers.d.ts +147 -62
  257. package/lib/typescript/credentials-catalogue/v1.3.3/mappers.d.ts.map +1 -1
  258. package/lib/typescript/credentials-catalogue/v1.3.3/types.d.ts +180 -941
  259. package/lib/typescript/credentials-catalogue/v1.3.3/types.d.ts.map +1 -1
  260. package/lib/typescript/credentials-catalogue/v1.3.3/utils.d.ts +1 -1
  261. package/lib/typescript/credentials-catalogue/v1.3.3/utils.d.ts.map +1 -1
  262. package/lib/typescript/index.d.ts +4 -3
  263. package/lib/typescript/index.d.ts.map +1 -1
  264. package/lib/typescript/mdoc/index.d.ts.map +1 -1
  265. package/lib/typescript/mdoc/utils.d.ts.map +1 -1
  266. package/lib/typescript/sd-jwt/index.d.ts +16 -16
  267. package/lib/typescript/sd-jwt/index.d.ts.map +1 -1
  268. package/lib/typescript/sd-jwt/types.d.ts +33 -492
  269. package/lib/typescript/sd-jwt/types.d.ts.map +1 -1
  270. package/lib/typescript/sd-jwt/utils.d.ts.map +1 -1
  271. package/lib/typescript/trust/api/TrustAnchorConfig.d.ts +12 -201
  272. package/lib/typescript/trust/api/TrustAnchorConfig.d.ts.map +1 -1
  273. package/lib/typescript/trust/common/build-chain.d.ts.map +1 -1
  274. package/lib/typescript/trust/common/types.d.ts +32 -1198
  275. package/lib/typescript/trust/common/types.d.ts.map +1 -1
  276. package/lib/typescript/trust/common/utils.d.ts.map +1 -1
  277. package/lib/typescript/trust/v1.0.0/build-chain.d.ts +1 -53
  278. package/lib/typescript/trust/v1.0.0/build-chain.d.ts.map +1 -1
  279. package/lib/typescript/trust/v1.0.0/entities.d.ts +324 -347
  280. package/lib/typescript/trust/v1.0.0/entities.d.ts.map +1 -1
  281. package/lib/typescript/trust/v1.0.0/mappers.d.ts +31 -35
  282. package/lib/typescript/trust/v1.0.0/mappers.d.ts.map +1 -1
  283. package/lib/typescript/trust/v1.0.0/types.d.ts +678 -12454
  284. package/lib/typescript/trust/v1.0.0/types.d.ts.map +1 -1
  285. package/lib/typescript/trust/v1.0.0/verify-chain.d.ts +4 -56
  286. package/lib/typescript/trust/v1.0.0/verify-chain.d.ts.map +1 -1
  287. package/lib/typescript/trust/v1.3.3/entities.d.ts +43 -47
  288. package/lib/typescript/trust/v1.3.3/entities.d.ts.map +1 -1
  289. package/lib/typescript/trust/v1.3.3/types.d.ts +655 -14339
  290. package/lib/typescript/trust/v1.3.3/types.d.ts.map +1 -1
  291. package/lib/typescript/utils/auth.d.ts +3 -25
  292. package/lib/typescript/utils/auth.d.ts.map +1 -1
  293. package/lib/typescript/utils/callbacks.d.ts.map +1 -1
  294. package/lib/typescript/utils/config.d.ts +3 -3
  295. package/lib/typescript/utils/config.d.ts.map +1 -1
  296. package/lib/typescript/utils/credentials.d.ts +5 -0
  297. package/lib/typescript/utils/credentials.d.ts.map +1 -1
  298. package/lib/typescript/utils/crypto.d.ts +18 -0
  299. package/lib/typescript/utils/crypto.d.ts.map +1 -1
  300. package/lib/typescript/utils/decoder.d.ts.map +1 -1
  301. package/lib/typescript/utils/dpop.d.ts +5 -12
  302. package/lib/typescript/utils/dpop.d.ts.map +1 -1
  303. package/lib/typescript/utils/errors.d.ts.map +1 -1
  304. package/lib/typescript/utils/jwk.d.ts +15 -175
  305. package/lib/typescript/utils/jwk.d.ts.map +1 -1
  306. package/lib/typescript/utils/mappers.d.ts.map +1 -1
  307. package/lib/typescript/utils/misc.d.ts +2 -2
  308. package/lib/typescript/utils/misc.d.ts.map +1 -1
  309. package/lib/typescript/utils/object.d.ts.map +1 -1
  310. package/lib/typescript/utils/par.d.ts +7 -45
  311. package/lib/typescript/utils/par.d.ts.map +1 -1
  312. package/lib/typescript/utils/parser.d.ts.map +1 -1
  313. package/lib/typescript/utils/pop.d.ts +1 -9
  314. package/lib/typescript/utils/pop.d.ts.map +1 -1
  315. package/lib/typescript/utils/string.d.ts.map +1 -1
  316. package/lib/typescript/utils/zod.d.ts +4 -4
  317. package/lib/typescript/utils/zod.d.ts.map +1 -1
  318. package/lib/typescript/wallet-instance-attestation/api/index.d.ts +9 -9
  319. package/lib/typescript/wallet-instance-attestation/api/index.d.ts.map +1 -1
  320. package/lib/typescript/wallet-instance-attestation/api/types.d.ts +19 -174
  321. package/lib/typescript/wallet-instance-attestation/api/types.d.ts.map +1 -1
  322. package/lib/typescript/wallet-instance-attestation/common/types.d.ts +14 -273
  323. package/lib/typescript/wallet-instance-attestation/common/types.d.ts.map +1 -1
  324. package/lib/typescript/wallet-instance-attestation/v1.0.0/issuing.d.ts.map +1 -1
  325. package/lib/typescript/wallet-instance-attestation/v1.0.0/mappers.d.ts +5 -3
  326. package/lib/typescript/wallet-instance-attestation/v1.0.0/mappers.d.ts.map +1 -1
  327. package/lib/typescript/wallet-instance-attestation/v1.0.0/types.d.ts +39 -629
  328. package/lib/typescript/wallet-instance-attestation/v1.0.0/types.d.ts.map +1 -1
  329. package/lib/typescript/wallet-instance-attestation/v1.3.3/index.d.ts.map +1 -1
  330. package/lib/typescript/wallet-instance-attestation/v1.3.3/issuing.d.ts.map +1 -1
  331. package/lib/typescript/wallet-instance-attestation/v1.3.3/mappers.d.ts +90 -0
  332. package/lib/typescript/wallet-instance-attestation/v1.3.3/mappers.d.ts.map +1 -0
  333. package/lib/typescript/wallet-instance-attestation/v1.3.3/types.d.ts +29 -891
  334. package/lib/typescript/wallet-instance-attestation/v1.3.3/types.d.ts.map +1 -1
  335. package/lib/typescript/wallet-instance-attestation/v1.3.3/utils.d.ts +15 -0
  336. package/lib/typescript/wallet-instance-attestation/v1.3.3/utils.d.ts.map +1 -0
  337. package/lib/typescript/wallet-unit-attestation/api/index.d.ts +39 -0
  338. package/lib/typescript/wallet-unit-attestation/api/index.d.ts.map +1 -0
  339. package/lib/typescript/wallet-unit-attestation/api/types.d.ts +67 -0
  340. package/lib/typescript/wallet-unit-attestation/api/types.d.ts.map +1 -0
  341. package/lib/typescript/wallet-unit-attestation/index.d.ts +4 -0
  342. package/lib/typescript/wallet-unit-attestation/index.d.ts.map +1 -0
  343. package/lib/typescript/wallet-unit-attestation/v1.0.0/index.d.ts +3 -0
  344. package/lib/typescript/wallet-unit-attestation/v1.0.0/index.d.ts.map +1 -0
  345. package/lib/typescript/wallet-unit-attestation/v1.3.3/index.d.ts +3 -0
  346. package/lib/typescript/wallet-unit-attestation/v1.3.3/index.d.ts.map +1 -0
  347. package/lib/typescript/wallet-unit-attestation/v1.3.3/issuing.d.ts +3 -0
  348. package/lib/typescript/wallet-unit-attestation/v1.3.3/issuing.d.ts.map +1 -0
  349. package/lib/typescript/wallet-unit-attestation/v1.3.3/mappers.d.ts +107 -0
  350. package/lib/typescript/wallet-unit-attestation/v1.3.3/mappers.d.ts.map +1 -0
  351. package/lib/typescript/wallet-unit-attestation/v1.3.3/types.d.ts +69 -0
  352. package/lib/typescript/wallet-unit-attestation/v1.3.3/types.d.ts.map +1 -0
  353. package/lib/typescript/wallet-unit-attestation/v1.3.3/utils.d.ts +7 -0
  354. package/lib/typescript/wallet-unit-attestation/v1.3.3/utils.d.ts.map +1 -0
  355. package/package.json +8 -8
  356. package/src/api/index.ts +4 -0
  357. package/src/client/generated/wallet-provider.ts +44 -0
  358. package/src/client/index.ts +5 -1
  359. package/src/credential/issuance/README.md +2 -0
  360. package/src/credential/issuance/api/05-obtain-credential.ts +2 -0
  361. package/src/credential/issuance/api/IssuerConfig.ts +4 -2
  362. package/src/credential/issuance/common/06-verify-and-parse-credential.sdjwt.ts +2 -1
  363. package/src/credential/issuance/v1.3.3/01-evaluate-issuer-trust.ts +8 -3
  364. package/src/credential/issuance/v1.3.3/03-complete-user-authorization.ts +2 -0
  365. package/src/credential/issuance/v1.3.3/05-obtain-credential.ts +25 -11
  366. package/src/credential/issuance/v1.3.3/mappers.ts +10 -9
  367. package/src/credential/presentation/api/RelyingPartyConfig.ts +1 -1
  368. package/src/credential/presentation/common/utils/sd-jwt.ts +4 -1
  369. package/src/credential/presentation/v1.0.0/04-verify-request-object.ts +2 -2
  370. package/src/credential/presentation/v1.3.3/04-verify-request-object.ts +4 -2
  371. package/src/credentials-catalogue/api/DigitalCredentialsCatalogue.ts +42 -10
  372. package/src/credentials-catalogue/v1.0.0/mappers.ts +27 -12
  373. package/src/credentials-catalogue/v1.3.3/mappers.ts +10 -4
  374. package/src/credentials-catalogue/v1.3.3/types.ts +102 -29
  375. package/src/credentials-catalogue/v1.3.3/utils.ts +9 -4
  376. package/src/index.ts +11 -2
  377. package/src/sd-jwt/index.ts +8 -3
  378. package/src/sd-jwt/utils.ts +5 -1
  379. package/src/trust/common/types.ts +3 -3
  380. package/src/trust/v1.0.0/types.ts +10 -10
  381. package/src/trust/v1.3.3/types.ts +4 -7
  382. package/src/utils/callbacks.ts +7 -1
  383. package/src/utils/credentials.ts +17 -1
  384. package/src/utils/crypto.ts +18 -0
  385. package/src/utils/dpop.ts +1 -1
  386. package/src/utils/jwk.ts +1 -1
  387. package/src/utils/mappers.ts +2 -2
  388. package/src/utils/zod.ts +5 -1
  389. package/src/wallet-instance-attestation/README.md +13 -10
  390. package/src/wallet-instance-attestation/api/index.ts +20 -13
  391. package/src/wallet-instance-attestation/api/types.ts +16 -4
  392. package/src/wallet-instance-attestation/v1.0.0/index.ts +3 -3
  393. package/src/wallet-instance-attestation/v1.0.0/issuing.ts +7 -9
  394. package/src/wallet-instance-attestation/v1.0.0/mappers.ts +7 -5
  395. package/src/wallet-instance-attestation/v1.3.3/index.ts +5 -7
  396. package/src/wallet-instance-attestation/v1.3.3/issuing.ts +107 -3
  397. package/src/wallet-instance-attestation/v1.3.3/mappers.ts +18 -0
  398. package/src/wallet-instance-attestation/v1.3.3/types.ts +16 -30
  399. package/src/wallet-instance-attestation/v1.3.3/utils.ts +35 -0
  400. package/src/wallet-unit-attestation/README.md +73 -0
  401. package/src/wallet-unit-attestation/api/index.ts +51 -0
  402. package/src/wallet-unit-attestation/api/types.ts +49 -0
  403. package/src/wallet-unit-attestation/index.ts +3 -0
  404. package/src/wallet-unit-attestation/v1.0.0/index.ts +5 -0
  405. package/src/wallet-unit-attestation/v1.3.3/index.ts +11 -0
  406. package/src/wallet-unit-attestation/v1.3.3/issuing.ts +147 -0
  407. package/src/wallet-unit-attestation/v1.3.3/mappers.ts +10 -0
  408. package/src/wallet-unit-attestation/v1.3.3/types.ts +21 -0
  409. package/src/wallet-unit-attestation/v1.3.3/utils.ts +14 -0
@@ -5,27 +5,11 @@ export declare const WalletInstanceAttestationRequestJwt: 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<"wp-war+jwt">;
24
- }, "strip", z.ZodTypeAny, {
25
- typ: "wp-war+jwt";
26
- }, {
27
- typ: "wp-war+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 WalletInstanceAttestationRequestJwt: 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,327 +37,33 @@ export declare const WalletInstanceAttestationRequestJwt: 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
  aud: z.ZodString;
231
50
  nonce: z.ZodString;
232
51
  hardware_signature: z.ZodString;
233
52
  integrity_assertion: z.ZodString;
234
53
  hardware_key_tag: z.ZodString;
235
- }, "strip", z.ZodTypeAny, {
236
- nonce: string;
237
- hardware_key_tag: string;
238
- aud: string;
239
- hardware_signature: string;
240
- integrity_assertion: string;
241
- }, {
242
- nonce: string;
243
- hardware_key_tag: string;
244
- aud: string;
245
- hardware_signature: string;
246
- integrity_assertion: string;
247
- }>>;
248
- }, "strip", z.ZodTypeAny, {
249
- header: {
250
- alg: string;
251
- kid: string;
252
- typ: string;
253
- x5c?: string[] | undefined;
254
- trust_chain?: string[] | undefined;
255
- } & {
256
- typ: "wp-war+jwt";
257
- };
258
- payload: {
259
- iss: string;
260
- iat: number;
261
- exp: number;
262
- cnf: {
263
- jwk: {
264
- kty: "RSA" | "EC";
265
- alg?: string | undefined;
266
- crv?: string | undefined;
267
- d?: string | undefined;
268
- dp?: string | undefined;
269
- dq?: string | undefined;
270
- e?: string | undefined;
271
- ext?: boolean | undefined;
272
- k?: string | undefined;
273
- key_ops?: string[] | undefined;
274
- kid?: string | undefined;
275
- n?: string | undefined;
276
- p?: string | undefined;
277
- q?: string | undefined;
278
- qi?: string | undefined;
279
- use?: string | undefined;
280
- x?: string | undefined;
281
- y?: string | undefined;
282
- x5c?: string[] | undefined;
283
- x5t?: string | undefined;
284
- "x5t#S256"?: string | undefined;
285
- x5u?: string | undefined;
286
- } & {
287
- kid: string;
288
- };
289
- };
290
- } & {
291
- nonce: string;
292
- hardware_key_tag: string;
293
- aud: string;
294
- hardware_signature: string;
295
- integrity_assertion: string;
296
- };
297
- }, {
298
- header: {
299
- alg: string;
300
- kid: string;
301
- typ: string;
302
- x5c?: string[] | undefined;
303
- trust_chain?: string[] | undefined;
304
- } & {
305
- typ: "wp-war+jwt";
306
- };
307
- payload: {
308
- iss: string;
309
- iat: number;
310
- exp: number;
311
- cnf: {
312
- jwk: {
313
- kty: "RSA" | "EC";
314
- alg?: string | undefined;
315
- crv?: string | undefined;
316
- d?: string | undefined;
317
- dp?: string | undefined;
318
- dq?: string | undefined;
319
- e?: string | undefined;
320
- ext?: boolean | undefined;
321
- k?: string | undefined;
322
- key_ops?: string[] | undefined;
323
- kid?: string | undefined;
324
- n?: string | undefined;
325
- p?: string | undefined;
326
- q?: string | undefined;
327
- qi?: string | undefined;
328
- use?: string | undefined;
329
- x?: string | undefined;
330
- y?: string | undefined;
331
- x5c?: string[] | undefined;
332
- x5t?: string | undefined;
333
- "x5t#S256"?: string | undefined;
334
- x5u?: string | undefined;
335
- } & {
336
- kid: string;
337
- };
338
- };
339
- } & {
340
- nonce: string;
341
- hardware_key_tag: string;
342
- aud: string;
343
- hardware_signature: string;
344
- integrity_assertion: string;
345
- };
346
- }>;
54
+ }, z.core.$strip>>;
55
+ }, z.core.$strip>;
347
56
  export type WalletInstanceAttestationJwt = z.infer<typeof WalletInstanceAttestationJwt>;
348
57
  export declare const WalletInstanceAttestationJwt: z.ZodObject<{
349
58
  header: z.ZodIntersection<z.ZodObject<{
350
59
  alg: z.ZodString;
351
60
  kid: z.ZodString;
352
61
  typ: z.ZodString;
353
- x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
354
- trust_chain: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
355
- }, "strip", z.ZodTypeAny, {
356
- alg: string;
357
- kid: string;
358
- typ: string;
359
- x5c?: string[] | undefined;
360
- trust_chain?: string[] | undefined;
361
- }, {
362
- alg: string;
363
- kid: string;
364
- typ: string;
365
- x5c?: string[] | undefined;
366
- trust_chain?: string[] | undefined;
367
- }>, z.ZodObject<{
62
+ x5c: z.ZodOptional<z.ZodArray<z.ZodString>>;
63
+ trust_chain: z.ZodOptional<z.ZodArray<z.ZodString>>;
64
+ }, z.core.$strip>, z.ZodObject<{
368
65
  typ: z.ZodLiteral<"oauth-client-attestation+jwt">;
369
- }, "strip", z.ZodTypeAny, {
370
- typ: "oauth-client-attestation+jwt";
371
- }, {
372
- typ: "oauth-client-attestation+jwt";
373
- }>>;
66
+ }, z.core.$strip>>;
374
67
  payload: z.ZodIntersection<z.ZodObject<{
375
68
  iss: z.ZodString;
376
69
  iat: z.ZodNumber;
@@ -385,9 +78,12 @@ export declare const WalletInstanceAttestationJwt: z.ZodObject<{
385
78
  e: z.ZodOptional<z.ZodString>;
386
79
  ext: z.ZodOptional<z.ZodBoolean>;
387
80
  k: z.ZodOptional<z.ZodString>;
388
- key_ops: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
81
+ key_ops: z.ZodOptional<z.ZodArray<z.ZodString>>;
389
82
  kid: z.ZodOptional<z.ZodString>;
390
- kty: z.ZodUnion<[z.ZodLiteral<"RSA">, z.ZodLiteral<"EC">]>;
83
+ kty: z.ZodEnum<{
84
+ RSA: "RSA";
85
+ EC: "EC";
86
+ }>;
391
87
  n: z.ZodOptional<z.ZodString>;
392
88
  p: z.ZodOptional<z.ZodString>;
393
89
  q: z.ZodOptional<z.ZodString>;
@@ -395,316 +91,30 @@ export declare const WalletInstanceAttestationJwt: z.ZodObject<{
395
91
  use: z.ZodOptional<z.ZodString>;
396
92
  x: z.ZodOptional<z.ZodString>;
397
93
  y: z.ZodOptional<z.ZodString>;
398
- x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
94
+ x5c: z.ZodOptional<z.ZodArray<z.ZodString>>;
399
95
  x5t: z.ZodOptional<z.ZodString>;
400
96
  "x5t#S256": z.ZodOptional<z.ZodString>;
401
97
  x5u: z.ZodOptional<z.ZodString>;
402
- }, "strip", z.ZodTypeAny, {
403
- kty: "RSA" | "EC";
404
- alg?: string | undefined;
405
- crv?: string | undefined;
406
- d?: string | undefined;
407
- dp?: string | undefined;
408
- dq?: string | undefined;
409
- e?: string | undefined;
410
- ext?: boolean | undefined;
411
- k?: string | undefined;
412
- key_ops?: string[] | undefined;
413
- kid?: string | undefined;
414
- n?: string | undefined;
415
- p?: string | undefined;
416
- q?: string | undefined;
417
- qi?: string | undefined;
418
- use?: string | undefined;
419
- x?: string | undefined;
420
- y?: string | undefined;
421
- x5c?: string[] | undefined;
422
- x5t?: string | undefined;
423
- "x5t#S256"?: string | undefined;
424
- x5u?: string | undefined;
425
- }, {
426
- kty: "RSA" | "EC";
427
- alg?: string | undefined;
428
- crv?: string | undefined;
429
- d?: string | undefined;
430
- dp?: string | undefined;
431
- dq?: string | undefined;
432
- e?: string | undefined;
433
- ext?: boolean | undefined;
434
- k?: string | undefined;
435
- key_ops?: string[] | undefined;
436
- kid?: string | undefined;
437
- n?: string | undefined;
438
- p?: string | undefined;
439
- q?: string | undefined;
440
- qi?: string | undefined;
441
- use?: string | undefined;
442
- x?: string | undefined;
443
- y?: string | undefined;
444
- x5c?: string[] | undefined;
445
- x5t?: string | undefined;
446
- "x5t#S256"?: string | undefined;
447
- x5u?: string | undefined;
448
- }>, z.ZodObject<{
98
+ }, z.core.$strip>, z.ZodObject<{
449
99
  kid: z.ZodString;
450
- }, "strip", z.ZodTypeAny, {
451
- kid: string;
452
- }, {
453
- kid: string;
454
- }>>;
455
- }, "strip", z.ZodTypeAny, {
456
- jwk: {
457
- kty: "RSA" | "EC";
458
- alg?: string | undefined;
459
- crv?: string | undefined;
460
- d?: string | undefined;
461
- dp?: string | undefined;
462
- dq?: string | undefined;
463
- e?: string | undefined;
464
- ext?: boolean | undefined;
465
- k?: string | undefined;
466
- key_ops?: string[] | undefined;
467
- kid?: string | undefined;
468
- n?: string | undefined;
469
- p?: string | undefined;
470
- q?: string | undefined;
471
- qi?: string | undefined;
472
- use?: string | undefined;
473
- x?: string | undefined;
474
- y?: string | undefined;
475
- x5c?: string[] | undefined;
476
- x5t?: string | undefined;
477
- "x5t#S256"?: string | undefined;
478
- x5u?: string | undefined;
479
- } & {
480
- kid: string;
481
- };
482
- }, {
483
- jwk: {
484
- kty: "RSA" | "EC";
485
- alg?: string | undefined;
486
- crv?: string | undefined;
487
- d?: string | undefined;
488
- dp?: string | undefined;
489
- dq?: string | undefined;
490
- e?: string | undefined;
491
- ext?: boolean | undefined;
492
- k?: string | undefined;
493
- key_ops?: string[] | undefined;
494
- kid?: string | undefined;
495
- n?: string | undefined;
496
- p?: string | undefined;
497
- q?: string | undefined;
498
- qi?: string | undefined;
499
- use?: string | undefined;
500
- x?: string | undefined;
501
- y?: string | undefined;
502
- x5c?: string[] | undefined;
503
- x5t?: string | undefined;
504
- "x5t#S256"?: string | undefined;
505
- x5u?: string | undefined;
506
- } & {
507
- kid: string;
508
- };
509
- }>;
510
- }, "strip", z.ZodTypeAny, {
511
- iss: string;
512
- iat: number;
513
- exp: number;
514
- cnf: {
515
- jwk: {
516
- kty: "RSA" | "EC";
517
- alg?: string | undefined;
518
- crv?: string | undefined;
519
- d?: string | undefined;
520
- dp?: string | undefined;
521
- dq?: string | undefined;
522
- e?: string | undefined;
523
- ext?: boolean | undefined;
524
- k?: string | undefined;
525
- key_ops?: string[] | undefined;
526
- kid?: string | undefined;
527
- n?: string | undefined;
528
- p?: string | undefined;
529
- q?: string | undefined;
530
- qi?: string | undefined;
531
- use?: string | undefined;
532
- x?: string | undefined;
533
- y?: string | undefined;
534
- x5c?: string[] | undefined;
535
- x5t?: string | undefined;
536
- "x5t#S256"?: string | undefined;
537
- x5u?: string | undefined;
538
- } & {
539
- kid: string;
540
- };
541
- };
542
- }, {
543
- iss: string;
544
- iat: number;
545
- exp: number;
546
- cnf: {
547
- jwk: {
548
- kty: "RSA" | "EC";
549
- alg?: string | undefined;
550
- crv?: string | undefined;
551
- d?: string | undefined;
552
- dp?: string | undefined;
553
- dq?: string | undefined;
554
- e?: string | undefined;
555
- ext?: boolean | undefined;
556
- k?: string | undefined;
557
- key_ops?: string[] | undefined;
558
- kid?: string | undefined;
559
- n?: string | undefined;
560
- p?: string | undefined;
561
- q?: string | undefined;
562
- qi?: string | undefined;
563
- use?: string | undefined;
564
- x?: string | undefined;
565
- y?: string | undefined;
566
- x5c?: string[] | undefined;
567
- x5t?: string | undefined;
568
- "x5t#S256"?: string | undefined;
569
- x5u?: string | undefined;
570
- } & {
571
- kid: string;
572
- };
573
- };
574
- }>, z.ZodObject<{
100
+ }, z.core.$strip>>;
101
+ }, z.core.$strip>;
102
+ }, z.core.$strip>, z.ZodObject<{
575
103
  sub: z.ZodString;
576
104
  aal: z.ZodString;
577
105
  wallet_link: z.ZodOptional<z.ZodString>;
578
106
  wallet_name: z.ZodOptional<z.ZodString>;
579
- }, "strip", z.ZodTypeAny, {
580
- sub: string;
581
- aal: string;
582
- wallet_link?: string | undefined;
583
- wallet_name?: string | undefined;
584
- }, {
585
- sub: string;
586
- aal: string;
587
- wallet_link?: string | undefined;
588
- wallet_name?: string | undefined;
589
- }>>;
590
- }, "strip", z.ZodTypeAny, {
591
- header: {
592
- alg: string;
593
- kid: string;
594
- typ: string;
595
- x5c?: string[] | undefined;
596
- trust_chain?: string[] | undefined;
597
- } & {
598
- typ: "oauth-client-attestation+jwt";
599
- };
600
- payload: {
601
- iss: string;
602
- iat: number;
603
- exp: number;
604
- cnf: {
605
- jwk: {
606
- kty: "RSA" | "EC";
607
- alg?: string | undefined;
608
- crv?: string | undefined;
609
- d?: string | undefined;
610
- dp?: string | undefined;
611
- dq?: string | undefined;
612
- e?: string | undefined;
613
- ext?: boolean | undefined;
614
- k?: string | undefined;
615
- key_ops?: string[] | undefined;
616
- kid?: string | undefined;
617
- n?: string | undefined;
618
- p?: string | undefined;
619
- q?: string | undefined;
620
- qi?: string | undefined;
621
- use?: string | undefined;
622
- x?: string | undefined;
623
- y?: string | undefined;
624
- x5c?: string[] | undefined;
625
- x5t?: string | undefined;
626
- "x5t#S256"?: string | undefined;
627
- x5u?: string | undefined;
628
- } & {
629
- kid: string;
630
- };
631
- };
632
- } & {
633
- sub: string;
634
- aal: string;
635
- wallet_link?: string | undefined;
636
- wallet_name?: string | undefined;
637
- };
638
- }, {
639
- header: {
640
- alg: string;
641
- kid: string;
642
- typ: string;
643
- x5c?: string[] | undefined;
644
- trust_chain?: string[] | undefined;
645
- } & {
646
- typ: "oauth-client-attestation+jwt";
647
- };
648
- payload: {
649
- iss: string;
650
- iat: number;
651
- exp: number;
652
- cnf: {
653
- jwk: {
654
- kty: "RSA" | "EC";
655
- alg?: string | undefined;
656
- crv?: string | undefined;
657
- d?: string | undefined;
658
- dp?: string | undefined;
659
- dq?: string | undefined;
660
- e?: string | undefined;
661
- ext?: boolean | undefined;
662
- k?: string | undefined;
663
- key_ops?: string[] | undefined;
664
- kid?: string | undefined;
665
- n?: string | undefined;
666
- p?: string | undefined;
667
- q?: string | undefined;
668
- qi?: string | undefined;
669
- use?: string | undefined;
670
- x?: string | undefined;
671
- y?: string | undefined;
672
- x5c?: string[] | undefined;
673
- x5t?: string | undefined;
674
- "x5t#S256"?: string | undefined;
675
- x5u?: string | undefined;
676
- } & {
677
- kid: string;
678
- };
679
- };
680
- } & {
681
- sub: string;
682
- aal: string;
683
- wallet_link?: string | undefined;
684
- wallet_name?: string | undefined;
685
- };
686
- }>;
107
+ }, z.core.$strip>>;
108
+ }, z.core.$strip>;
687
109
  export type WalletAttestationResponse = z.infer<typeof WalletAttestationResponse>;
688
110
  export declare const WalletAttestationResponse: z.ZodObject<{
689
111
  wallet_attestations: z.ZodArray<z.ZodObject<{
690
112
  wallet_attestation: z.ZodString;
691
- format: z.ZodEnum<["jwt", "dc+sd-jwt", "mso_mdoc"]>;
692
- }, "strip", z.ZodTypeAny, {
693
- format: "jwt" | "dc+sd-jwt" | "mso_mdoc";
694
- wallet_attestation: string;
695
- }, {
696
- format: "jwt" | "dc+sd-jwt" | "mso_mdoc";
697
- wallet_attestation: string;
698
- }>, "many">;
699
- }, "strip", z.ZodTypeAny, {
700
- wallet_attestations: {
701
- format: "jwt" | "dc+sd-jwt" | "mso_mdoc";
702
- wallet_attestation: string;
703
- }[];
704
- }, {
705
- wallet_attestations: {
706
- format: "jwt" | "dc+sd-jwt" | "mso_mdoc";
707
- wallet_attestation: string;
708
- }[];
709
- }>;
113
+ format: z.ZodEnum<{
114
+ jwt: "jwt";
115
+ "dc+sd-jwt": "dc+sd-jwt";
116
+ mso_mdoc: "mso_mdoc";
117
+ }>;
118
+ }, z.core.$strip>>;
119
+ }, z.core.$strip>;
710
120
  //# sourceMappingURL=types.d.ts.map