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

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