@pagopa/io-react-native-wallet 0.7.3 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (211) hide show
  1. package/README.md +49 -31
  2. package/lib/commonjs/credential/index.js +13 -0
  3. package/lib/commonjs/credential/index.js.map +1 -0
  4. package/lib/commonjs/credential/issuance/01-start-flow.js +2 -0
  5. package/lib/commonjs/credential/issuance/01-start-flow.js.map +1 -0
  6. package/lib/commonjs/credential/issuance/02-evaluate-issuer-trust.js +26 -0
  7. package/lib/commonjs/credential/issuance/02-evaluate-issuer-trust.js.map +1 -0
  8. package/lib/commonjs/credential/issuance/03-start-user-authorization.js +119 -0
  9. package/lib/commonjs/credential/issuance/03-start-user-authorization.js.map +1 -0
  10. package/lib/commonjs/credential/issuance/04-complete-user-authorization.js +6 -0
  11. package/lib/commonjs/credential/issuance/04-complete-user-authorization.js.map +1 -0
  12. package/lib/commonjs/credential/issuance/05-authorize-access.js +63 -0
  13. package/lib/commonjs/credential/issuance/05-authorize-access.js.map +1 -0
  14. package/lib/commonjs/credential/issuance/06-obtain-credential.js +128 -0
  15. package/lib/commonjs/credential/issuance/06-obtain-credential.js.map +1 -0
  16. package/lib/commonjs/credential/issuance/07-confirm-credential.js +6 -0
  17. package/lib/commonjs/credential/issuance/07-confirm-credential.js.map +1 -0
  18. package/lib/commonjs/credential/issuance/const.js +9 -0
  19. package/lib/commonjs/credential/issuance/const.js.map +1 -0
  20. package/lib/commonjs/credential/issuance/index.js +34 -0
  21. package/lib/commonjs/credential/issuance/index.js.map +1 -0
  22. package/lib/commonjs/credential/presentation/01-start-flow.js +55 -0
  23. package/lib/commonjs/credential/presentation/01-start-flow.js.map +1 -0
  24. package/lib/commonjs/credential/presentation/02-evaluate-rp-trust.js +32 -0
  25. package/lib/commonjs/credential/presentation/02-evaluate-rp-trust.js.map +1 -0
  26. package/lib/commonjs/credential/presentation/03-get-request-object.js +68 -0
  27. package/lib/commonjs/credential/presentation/03-get-request-object.js.map +1 -0
  28. package/lib/commonjs/credential/presentation/04-send-authorization-response.js +139 -0
  29. package/lib/commonjs/credential/presentation/04-send-authorization-response.js.map +1 -0
  30. package/lib/commonjs/credential/presentation/index.js +34 -0
  31. package/lib/commonjs/credential/presentation/index.js.map +1 -0
  32. package/lib/commonjs/{rp → credential/presentation}/types.js +17 -34
  33. package/lib/commonjs/credential/presentation/types.js.map +1 -0
  34. package/lib/commonjs/index.js +10 -61
  35. package/lib/commonjs/index.js.map +1 -1
  36. package/lib/commonjs/pid/index.js +1 -3
  37. package/lib/commonjs/pid/index.js.map +1 -1
  38. package/lib/commonjs/sd-jwt/index.js +1 -1
  39. package/lib/commonjs/sd-jwt/index.js.map +1 -1
  40. package/lib/commonjs/sd-jwt/types.js +1 -1
  41. package/lib/commonjs/sd-jwt/types.js.map +1 -1
  42. package/lib/commonjs/trust/chain.js +32 -4
  43. package/lib/commonjs/trust/chain.js.map +1 -1
  44. package/lib/commonjs/trust/index.js +105 -20
  45. package/lib/commonjs/trust/index.js.map +1 -1
  46. package/lib/commonjs/trust/types.js +54 -35
  47. package/lib/commonjs/trust/types.js.map +1 -1
  48. package/lib/commonjs/utils/crypto.js +4 -10
  49. package/lib/commonjs/utils/crypto.js.map +1 -1
  50. package/lib/commonjs/utils/misc.js +23 -0
  51. package/lib/commonjs/utils/misc.js.map +1 -0
  52. package/lib/commonjs/utils/par.js +86 -0
  53. package/lib/commonjs/utils/par.js.map +1 -0
  54. package/lib/module/credential/index.js +4 -0
  55. package/lib/module/credential/index.js.map +1 -0
  56. package/lib/module/credential/issuance/01-start-flow.js +2 -0
  57. package/lib/module/credential/issuance/01-start-flow.js.map +1 -0
  58. package/lib/module/credential/issuance/02-evaluate-issuer-trust.js +19 -0
  59. package/lib/module/credential/issuance/02-evaluate-issuer-trust.js.map +1 -0
  60. package/lib/module/credential/issuance/03-start-user-authorization.js +109 -0
  61. package/lib/module/credential/issuance/03-start-user-authorization.js.map +1 -0
  62. package/lib/module/credential/issuance/04-complete-user-authorization.js +2 -0
  63. package/lib/module/credential/issuance/04-complete-user-authorization.js.map +1 -0
  64. package/lib/module/credential/issuance/05-authorize-access.js +55 -0
  65. package/lib/module/credential/issuance/05-authorize-access.js.map +1 -0
  66. package/lib/module/credential/issuance/06-obtain-credential.js +117 -0
  67. package/lib/module/credential/issuance/06-obtain-credential.js.map +1 -0
  68. package/lib/module/credential/issuance/07-confirm-credential.js +2 -0
  69. package/lib/module/credential/issuance/07-confirm-credential.js.map +1 -0
  70. package/lib/module/credential/issuance/const.js +2 -0
  71. package/lib/module/credential/issuance/const.js.map +1 -0
  72. package/lib/module/credential/issuance/index.js +6 -0
  73. package/lib/module/credential/issuance/index.js.map +1 -0
  74. package/lib/module/credential/presentation/01-start-flow.js +46 -0
  75. package/lib/module/credential/presentation/01-start-flow.js.map +1 -0
  76. package/lib/module/credential/presentation/02-evaluate-rp-trust.js +25 -0
  77. package/lib/module/credential/presentation/02-evaluate-rp-trust.js.map +1 -0
  78. package/lib/module/credential/presentation/03-get-request-object.js +60 -0
  79. package/lib/module/credential/presentation/03-get-request-object.js.map +1 -0
  80. package/lib/module/credential/presentation/04-send-authorization-response.js +128 -0
  81. package/lib/module/credential/presentation/04-send-authorization-response.js.map +1 -0
  82. package/lib/module/credential/presentation/index.js +6 -0
  83. package/lib/module/credential/presentation/index.js.map +1 -0
  84. package/lib/module/credential/presentation/types.js +21 -0
  85. package/lib/module/credential/presentation/types.js.map +1 -0
  86. package/lib/module/index.js +4 -5
  87. package/lib/module/index.js.map +1 -1
  88. package/lib/module/pid/index.js +1 -2
  89. package/lib/module/pid/index.js.map +1 -1
  90. package/lib/module/sd-jwt/index.js +1 -1
  91. package/lib/module/sd-jwt/index.js.map +1 -1
  92. package/lib/module/sd-jwt/types.js +1 -1
  93. package/lib/module/sd-jwt/types.js.map +1 -1
  94. package/lib/module/trust/chain.js +30 -3
  95. package/lib/module/trust/chain.js.map +1 -1
  96. package/lib/module/trust/index.js +99 -16
  97. package/lib/module/trust/index.js.map +1 -1
  98. package/lib/module/trust/types.js +50 -31
  99. package/lib/module/trust/types.js.map +1 -1
  100. package/lib/module/utils/crypto.js +2 -8
  101. package/lib/module/utils/crypto.js.map +1 -1
  102. package/lib/module/utils/misc.js +17 -0
  103. package/lib/module/utils/misc.js.map +1 -0
  104. package/lib/module/utils/par.js +74 -0
  105. package/lib/module/utils/par.js.map +1 -0
  106. package/lib/typescript/credential/index.d.ts +4 -0
  107. package/lib/typescript/credential/index.d.ts.map +1 -0
  108. package/lib/typescript/credential/issuance/01-start-flow.d.ts +11 -0
  109. package/lib/typescript/credential/issuance/01-start-flow.d.ts.map +1 -0
  110. package/lib/typescript/credential/issuance/02-evaluate-issuer-trust.d.ts +18 -0
  111. package/lib/typescript/credential/issuance/02-evaluate-issuer-trust.d.ts.map +1 -0
  112. package/lib/typescript/credential/issuance/03-start-user-authorization.d.ts +31 -0
  113. package/lib/typescript/credential/issuance/03-start-user-authorization.d.ts.map +1 -0
  114. package/lib/typescript/credential/issuance/04-complete-user-authorization.d.ts +16 -0
  115. package/lib/typescript/credential/issuance/04-complete-user-authorization.d.ts.map +1 -0
  116. package/lib/typescript/credential/issuance/05-authorize-access.d.ts +26 -0
  117. package/lib/typescript/credential/issuance/05-authorize-access.d.ts.map +1 -0
  118. package/lib/typescript/credential/issuance/06-obtain-credential.d.ts +32 -0
  119. package/lib/typescript/credential/issuance/06-obtain-credential.d.ts.map +1 -0
  120. package/lib/typescript/credential/issuance/07-confirm-credential.d.ts +11 -0
  121. package/lib/typescript/credential/issuance/07-confirm-credential.d.ts.map +1 -0
  122. package/lib/typescript/credential/issuance/const.d.ts +2 -0
  123. package/lib/typescript/credential/issuance/const.d.ts.map +1 -0
  124. package/lib/typescript/credential/issuance/index.d.ts +10 -0
  125. package/lib/typescript/credential/issuance/index.d.ts.map +1 -0
  126. package/lib/typescript/credential/presentation/01-start-flow.d.ts +20 -0
  127. package/lib/typescript/credential/presentation/01-start-flow.d.ts.map +1 -0
  128. package/lib/typescript/credential/presentation/02-evaluate-rp-trust.d.ts +18 -0
  129. package/lib/typescript/credential/presentation/02-evaluate-rp-trust.d.ts.map +1 -0
  130. package/lib/typescript/credential/presentation/03-get-request-object.d.ts +25 -0
  131. package/lib/typescript/credential/presentation/03-get-request-object.d.ts.map +1 -0
  132. package/lib/typescript/credential/presentation/04-send-authorization-response.d.ts +34 -0
  133. package/lib/typescript/credential/presentation/04-send-authorization-response.d.ts.map +1 -0
  134. package/lib/typescript/credential/presentation/index.d.ts +7 -0
  135. package/lib/typescript/credential/presentation/index.d.ts.map +1 -0
  136. package/lib/typescript/credential/presentation/types.d.ts +49 -0
  137. package/lib/typescript/credential/presentation/types.d.ts.map +1 -0
  138. package/lib/typescript/index.d.ts +4 -5
  139. package/lib/typescript/index.d.ts.map +1 -1
  140. package/lib/typescript/pid/index.d.ts +1 -2
  141. package/lib/typescript/pid/index.d.ts.map +1 -1
  142. package/lib/typescript/sd-jwt/index.d.ts +2 -2
  143. package/lib/typescript/sd-jwt/index.d.ts.map +1 -1
  144. package/lib/typescript/sd-jwt/types.d.ts +5 -5
  145. package/lib/typescript/trust/chain.d.ts +12 -3
  146. package/lib/typescript/trust/chain.d.ts.map +1 -1
  147. package/lib/typescript/trust/index.d.ts +198 -24
  148. package/lib/typescript/trust/index.d.ts.map +1 -1
  149. package/lib/typescript/trust/types.d.ts +1299 -623
  150. package/lib/typescript/trust/types.d.ts.map +1 -1
  151. package/lib/typescript/utils/crypto.d.ts +1 -1
  152. package/lib/typescript/utils/crypto.d.ts.map +1 -1
  153. package/lib/typescript/utils/dpop.d.ts +2 -2
  154. package/lib/typescript/utils/misc.d.ts +8 -0
  155. package/lib/typescript/utils/misc.d.ts.map +1 -0
  156. package/lib/typescript/utils/par.d.ts +68 -0
  157. package/lib/typescript/utils/par.d.ts.map +1 -0
  158. package/package.json +2 -2
  159. package/src/credential/index.ts +4 -0
  160. package/src/credential/issuance/01-start-flow.ts +10 -0
  161. package/src/credential/issuance/02-evaluate-issuer-trust.ts +31 -0
  162. package/src/credential/issuance/03-start-user-authorization.ts +138 -0
  163. package/src/credential/issuance/04-complete-user-authorization.ts +17 -0
  164. package/src/credential/issuance/05-authorize-access.ts +92 -0
  165. package/src/credential/issuance/06-obtain-credential.ts +179 -0
  166. package/src/credential/issuance/07-confirm-credential.ts +14 -0
  167. package/src/credential/issuance/const.ts +2 -0
  168. package/src/credential/issuance/index.ts +32 -0
  169. package/src/credential/presentation/01-start-flow.ts +51 -0
  170. package/src/credential/presentation/02-evaluate-rp-trust.ts +33 -0
  171. package/src/credential/presentation/03-get-request-object.ts +85 -0
  172. package/src/credential/presentation/04-send-authorization-response.ts +168 -0
  173. package/src/credential/presentation/index.ts +26 -0
  174. package/src/credential/presentation/types.ts +27 -0
  175. package/src/index.ts +7 -28
  176. package/src/pid/index.ts +1 -2
  177. package/src/sd-jwt/index.ts +2 -2
  178. package/src/sd-jwt/types.ts +1 -1
  179. package/src/trust/chain.ts +45 -3
  180. package/src/trust/index.ts +136 -19
  181. package/src/trust/types.ts +57 -35
  182. package/src/utils/crypto.ts +2 -8
  183. package/src/utils/misc.ts +23 -0
  184. package/src/utils/par.ts +103 -0
  185. package/lib/commonjs/pid/issuing.js +0 -276
  186. package/lib/commonjs/pid/issuing.js.map +0 -1
  187. package/lib/commonjs/rp/__test__/index.test.js +0 -172
  188. package/lib/commonjs/rp/__test__/index.test.js.map +0 -1
  189. package/lib/commonjs/rp/index.js +0 -239
  190. package/lib/commonjs/rp/index.js.map +0 -1
  191. package/lib/commonjs/rp/types.js.map +0 -1
  192. package/lib/module/pid/issuing.js +0 -266
  193. package/lib/module/pid/issuing.js.map +0 -1
  194. package/lib/module/rp/__test__/index.test.js +0 -168
  195. package/lib/module/rp/__test__/index.test.js.map +0 -1
  196. package/lib/module/rp/index.js +0 -228
  197. package/lib/module/rp/index.js.map +0 -1
  198. package/lib/module/rp/types.js +0 -36
  199. package/lib/module/rp/types.js.map +0 -1
  200. package/lib/typescript/pid/issuing.d.ts +0 -57
  201. package/lib/typescript/pid/issuing.d.ts.map +0 -1
  202. package/lib/typescript/rp/__test__/index.test.d.ts +0 -2
  203. package/lib/typescript/rp/__test__/index.test.d.ts.map +0 -1
  204. package/lib/typescript/rp/index.d.ts +0 -43
  205. package/lib/typescript/rp/index.d.ts.map +0 -1
  206. package/lib/typescript/rp/types.d.ts +0 -122
  207. package/lib/typescript/rp/types.d.ts.map +0 -1
  208. package/src/pid/issuing.ts +0 -405
  209. package/src/rp/__test__/index.test.ts +0 -250
  210. package/src/rp/index.ts +0 -287
  211. package/src/rp/types.ts +0 -42
@@ -2080,6 +2080,7 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2080
2080
  dpop_signing_alg_values_supported: z.ZodArray<z.ZodString, "many">;
2081
2081
  credential_endpoint: z.ZodString;
2082
2082
  credentials_supported: z.ZodArray<z.ZodObject<{
2083
+ id: z.ZodString;
2083
2084
  format: z.ZodLiteral<"vc+sd-jwt">;
2084
2085
  cryptographic_binding_methods_supported: z.ZodArray<z.ZodString, "many">;
2085
2086
  cryptographic_suites_supported: z.ZodArray<z.ZodString, "many">;
@@ -2117,10 +2118,54 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2117
2118
  background_color: string;
2118
2119
  text_color: string;
2119
2120
  }>, "many">;
2121
+ credential_definition: z.ZodObject<{
2122
+ type: z.ZodArray<z.ZodString, "many">;
2123
+ credentialSubject: z.ZodRecord<z.ZodString, z.ZodObject<{
2124
+ mandatory: z.ZodBoolean;
2125
+ display: z.ZodArray<z.ZodObject<{
2126
+ name: z.ZodString;
2127
+ locale: z.ZodString;
2128
+ }, "strip", z.ZodTypeAny, {
2129
+ name: string;
2130
+ locale: string;
2131
+ }, {
2132
+ name: string;
2133
+ locale: string;
2134
+ }>, "many">;
2135
+ }, "strip", z.ZodTypeAny, {
2136
+ mandatory: boolean;
2137
+ display: {
2138
+ name: string;
2139
+ locale: string;
2140
+ }[];
2141
+ }, {
2142
+ mandatory: boolean;
2143
+ display: {
2144
+ name: string;
2145
+ locale: string;
2146
+ }[];
2147
+ }>>;
2148
+ }, "strip", z.ZodTypeAny, {
2149
+ type: string[];
2150
+ credentialSubject: Record<string, {
2151
+ mandatory: boolean;
2152
+ display: {
2153
+ name: string;
2154
+ locale: string;
2155
+ }[];
2156
+ }>;
2157
+ }, {
2158
+ type: string[];
2159
+ credentialSubject: Record<string, {
2160
+ mandatory: boolean;
2161
+ display: {
2162
+ name: string;
2163
+ locale: string;
2164
+ }[];
2165
+ }>;
2166
+ }>;
2120
2167
  }, "strip", z.ZodTypeAny, {
2121
- format: "vc+sd-jwt";
2122
- cryptographic_binding_methods_supported: string[];
2123
- cryptographic_suites_supported: string[];
2168
+ id: string;
2124
2169
  display: {
2125
2170
  name: string;
2126
2171
  locale: string;
@@ -2131,10 +2176,21 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2131
2176
  background_color: string;
2132
2177
  text_color: string;
2133
2178
  }[];
2134
- }, {
2135
2179
  format: "vc+sd-jwt";
2136
2180
  cryptographic_binding_methods_supported: string[];
2137
2181
  cryptographic_suites_supported: string[];
2182
+ credential_definition: {
2183
+ type: string[];
2184
+ credentialSubject: Record<string, {
2185
+ mandatory: boolean;
2186
+ display: {
2187
+ name: string;
2188
+ locale: string;
2189
+ }[];
2190
+ }>;
2191
+ };
2192
+ }, {
2193
+ id: string;
2138
2194
  display: {
2139
2195
  name: string;
2140
2196
  locale: string;
@@ -2145,6 +2201,19 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2145
2201
  background_color: string;
2146
2202
  text_color: string;
2147
2203
  }[];
2204
+ format: "vc+sd-jwt";
2205
+ cryptographic_binding_methods_supported: string[];
2206
+ cryptographic_suites_supported: string[];
2207
+ credential_definition: {
2208
+ type: string[];
2209
+ credentialSubject: Record<string, {
2210
+ mandatory: boolean;
2211
+ display: {
2212
+ name: string;
2213
+ locale: string;
2214
+ }[];
2215
+ }>;
2216
+ };
2148
2217
  }>, "many">;
2149
2218
  jwks: z.ZodObject<{
2150
2219
  keys: z.ZodArray<z.ZodObject<{
@@ -2302,9 +2371,7 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2302
2371
  dpop_signing_alg_values_supported: string[];
2303
2372
  credential_endpoint: string;
2304
2373
  credentials_supported: {
2305
- format: "vc+sd-jwt";
2306
- cryptographic_binding_methods_supported: string[];
2307
- cryptographic_suites_supported: string[];
2374
+ id: string;
2308
2375
  display: {
2309
2376
  name: string;
2310
2377
  locale: string;
@@ -2315,6 +2382,19 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2315
2382
  background_color: string;
2316
2383
  text_color: string;
2317
2384
  }[];
2385
+ format: "vc+sd-jwt";
2386
+ cryptographic_binding_methods_supported: string[];
2387
+ cryptographic_suites_supported: string[];
2388
+ credential_definition: {
2389
+ type: string[];
2390
+ credentialSubject: Record<string, {
2391
+ mandatory: boolean;
2392
+ display: {
2393
+ name: string;
2394
+ locale: string;
2395
+ }[];
2396
+ }>;
2397
+ };
2318
2398
  }[];
2319
2399
  }, {
2320
2400
  jwks: {
@@ -2350,9 +2430,7 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2350
2430
  dpop_signing_alg_values_supported: string[];
2351
2431
  credential_endpoint: string;
2352
2432
  credentials_supported: {
2353
- format: "vc+sd-jwt";
2354
- cryptographic_binding_methods_supported: string[];
2355
- cryptographic_suites_supported: string[];
2433
+ id: string;
2356
2434
  display: {
2357
2435
  name: string;
2358
2436
  locale: string;
@@ -2363,8 +2441,214 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2363
2441
  background_color: string;
2364
2442
  text_color: string;
2365
2443
  }[];
2444
+ format: "vc+sd-jwt";
2445
+ cryptographic_binding_methods_supported: string[];
2446
+ cryptographic_suites_supported: string[];
2447
+ credential_definition: {
2448
+ type: string[];
2449
+ credentialSubject: Record<string, {
2450
+ mandatory: boolean;
2451
+ display: {
2452
+ name: string;
2453
+ locale: string;
2454
+ }[];
2455
+ }>;
2456
+ };
2366
2457
  }[];
2367
2458
  }>;
2459
+ /** Credential Issuers act as Relying Party
2460
+ when they require the presentation of other credentials.
2461
+ This does not apply for PID issuance, which requires CIE authz. */
2462
+ wallet_relying_party: z.ZodOptional<z.ZodObject<{
2463
+ application_type: z.ZodOptional<z.ZodString>;
2464
+ client_id: z.ZodOptional<z.ZodString>;
2465
+ client_name: z.ZodOptional<z.ZodString>;
2466
+ jwks: z.ZodObject<{
2467
+ keys: z.ZodArray<z.ZodObject<{
2468
+ alg: z.ZodOptional<z.ZodString>;
2469
+ crv: z.ZodOptional<z.ZodString>;
2470
+ d: z.ZodOptional<z.ZodString>;
2471
+ dp: z.ZodOptional<z.ZodString>;
2472
+ dq: z.ZodOptional<z.ZodString>;
2473
+ e: z.ZodOptional<z.ZodString>;
2474
+ ext: z.ZodOptional<z.ZodBoolean>;
2475
+ k: z.ZodOptional<z.ZodString>;
2476
+ key_ops: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2477
+ kid: z.ZodOptional<z.ZodString>;
2478
+ kty: z.ZodUnion<[z.ZodLiteral<"RSA">, z.ZodLiteral<"EC">]>;
2479
+ n: z.ZodOptional<z.ZodString>;
2480
+ p: z.ZodOptional<z.ZodString>;
2481
+ q: z.ZodOptional<z.ZodString>;
2482
+ qi: z.ZodOptional<z.ZodString>;
2483
+ use: z.ZodOptional<z.ZodString>;
2484
+ x: z.ZodOptional<z.ZodString>;
2485
+ y: z.ZodOptional<z.ZodString>;
2486
+ x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2487
+ x5t: z.ZodOptional<z.ZodString>;
2488
+ "x5t#S256": z.ZodOptional<z.ZodString>;
2489
+ x5u: z.ZodOptional<z.ZodString>;
2490
+ }, "strip", z.ZodTypeAny, {
2491
+ kty: "RSA" | "EC";
2492
+ alg?: string | undefined;
2493
+ crv?: string | undefined;
2494
+ d?: string | undefined;
2495
+ dp?: string | undefined;
2496
+ dq?: string | undefined;
2497
+ e?: string | undefined;
2498
+ ext?: boolean | undefined;
2499
+ k?: string | undefined;
2500
+ key_ops?: string[] | undefined;
2501
+ kid?: string | undefined;
2502
+ n?: string | undefined;
2503
+ p?: string | undefined;
2504
+ q?: string | undefined;
2505
+ qi?: string | undefined;
2506
+ use?: string | undefined;
2507
+ x?: string | undefined;
2508
+ y?: string | undefined;
2509
+ x5c?: string[] | undefined;
2510
+ x5t?: string | undefined;
2511
+ "x5t#S256"?: string | undefined;
2512
+ x5u?: string | undefined;
2513
+ }, {
2514
+ kty: "RSA" | "EC";
2515
+ alg?: string | undefined;
2516
+ crv?: string | undefined;
2517
+ d?: string | undefined;
2518
+ dp?: string | undefined;
2519
+ dq?: string | undefined;
2520
+ e?: string | undefined;
2521
+ ext?: boolean | undefined;
2522
+ k?: string | undefined;
2523
+ key_ops?: string[] | undefined;
2524
+ kid?: string | undefined;
2525
+ n?: string | undefined;
2526
+ p?: string | undefined;
2527
+ q?: string | undefined;
2528
+ qi?: string | undefined;
2529
+ use?: string | undefined;
2530
+ x?: string | undefined;
2531
+ y?: string | undefined;
2532
+ x5c?: string[] | undefined;
2533
+ x5t?: string | undefined;
2534
+ "x5t#S256"?: string | undefined;
2535
+ x5u?: string | undefined;
2536
+ }>, "many">;
2537
+ }, "strip", z.ZodTypeAny, {
2538
+ keys: {
2539
+ kty: "RSA" | "EC";
2540
+ alg?: string | undefined;
2541
+ crv?: string | undefined;
2542
+ d?: string | undefined;
2543
+ dp?: string | undefined;
2544
+ dq?: string | undefined;
2545
+ e?: string | undefined;
2546
+ ext?: boolean | undefined;
2547
+ k?: string | undefined;
2548
+ key_ops?: string[] | undefined;
2549
+ kid?: string | undefined;
2550
+ n?: string | undefined;
2551
+ p?: string | undefined;
2552
+ q?: string | undefined;
2553
+ qi?: string | undefined;
2554
+ use?: string | undefined;
2555
+ x?: string | undefined;
2556
+ y?: string | undefined;
2557
+ x5c?: string[] | undefined;
2558
+ x5t?: string | undefined;
2559
+ "x5t#S256"?: string | undefined;
2560
+ x5u?: string | undefined;
2561
+ }[];
2562
+ }, {
2563
+ keys: {
2564
+ kty: "RSA" | "EC";
2565
+ alg?: string | undefined;
2566
+ crv?: string | undefined;
2567
+ d?: string | undefined;
2568
+ dp?: string | undefined;
2569
+ dq?: string | undefined;
2570
+ e?: string | undefined;
2571
+ ext?: boolean | undefined;
2572
+ k?: string | undefined;
2573
+ key_ops?: string[] | undefined;
2574
+ kid?: string | undefined;
2575
+ n?: string | undefined;
2576
+ p?: string | undefined;
2577
+ q?: string | undefined;
2578
+ qi?: string | undefined;
2579
+ use?: string | undefined;
2580
+ x?: string | undefined;
2581
+ y?: string | undefined;
2582
+ x5c?: string[] | undefined;
2583
+ x5t?: string | undefined;
2584
+ "x5t#S256"?: string | undefined;
2585
+ x5u?: string | undefined;
2586
+ }[];
2587
+ }>;
2588
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2589
+ }, "strip", z.ZodTypeAny, {
2590
+ jwks: {
2591
+ keys: {
2592
+ kty: "RSA" | "EC";
2593
+ alg?: string | undefined;
2594
+ crv?: string | undefined;
2595
+ d?: string | undefined;
2596
+ dp?: string | undefined;
2597
+ dq?: string | undefined;
2598
+ e?: string | undefined;
2599
+ ext?: boolean | undefined;
2600
+ k?: string | undefined;
2601
+ key_ops?: string[] | undefined;
2602
+ kid?: string | undefined;
2603
+ n?: string | undefined;
2604
+ p?: string | undefined;
2605
+ q?: string | undefined;
2606
+ qi?: string | undefined;
2607
+ use?: string | undefined;
2608
+ x?: string | undefined;
2609
+ y?: string | undefined;
2610
+ x5c?: string[] | undefined;
2611
+ x5t?: string | undefined;
2612
+ "x5t#S256"?: string | undefined;
2613
+ x5u?: string | undefined;
2614
+ }[];
2615
+ };
2616
+ application_type?: string | undefined;
2617
+ client_id?: string | undefined;
2618
+ client_name?: string | undefined;
2619
+ contacts?: string[] | undefined;
2620
+ }, {
2621
+ jwks: {
2622
+ keys: {
2623
+ kty: "RSA" | "EC";
2624
+ alg?: string | undefined;
2625
+ crv?: string | undefined;
2626
+ d?: string | undefined;
2627
+ dp?: string | undefined;
2628
+ dq?: string | undefined;
2629
+ e?: string | undefined;
2630
+ ext?: boolean | undefined;
2631
+ k?: string | undefined;
2632
+ key_ops?: string[] | undefined;
2633
+ kid?: string | undefined;
2634
+ n?: string | undefined;
2635
+ p?: string | undefined;
2636
+ q?: string | undefined;
2637
+ qi?: string | undefined;
2638
+ use?: string | undefined;
2639
+ x?: string | undefined;
2640
+ y?: string | undefined;
2641
+ x5c?: string[] | undefined;
2642
+ x5t?: string | undefined;
2643
+ "x5t#S256"?: string | undefined;
2644
+ x5u?: string | undefined;
2645
+ }[];
2646
+ };
2647
+ application_type?: string | undefined;
2648
+ client_id?: string | undefined;
2649
+ client_name?: string | undefined;
2650
+ contacts?: string[] | undefined;
2651
+ }>>;
2368
2652
  }, "strip", z.ZodTypeAny, {
2369
2653
  openid_credential_issuer: {
2370
2654
  jwks: {
@@ -2400,9 +2684,7 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2400
2684
  dpop_signing_alg_values_supported: string[];
2401
2685
  credential_endpoint: string;
2402
2686
  credentials_supported: {
2403
- format: "vc+sd-jwt";
2404
- cryptographic_binding_methods_supported: string[];
2405
- cryptographic_suites_supported: string[];
2687
+ id: string;
2406
2688
  display: {
2407
2689
  name: string;
2408
2690
  locale: string;
@@ -2413,8 +2695,53 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2413
2695
  background_color: string;
2414
2696
  text_color: string;
2415
2697
  }[];
2698
+ format: "vc+sd-jwt";
2699
+ cryptographic_binding_methods_supported: string[];
2700
+ cryptographic_suites_supported: string[];
2701
+ credential_definition: {
2702
+ type: string[];
2703
+ credentialSubject: Record<string, {
2704
+ mandatory: boolean;
2705
+ display: {
2706
+ name: string;
2707
+ locale: string;
2708
+ }[];
2709
+ }>;
2710
+ };
2416
2711
  }[];
2417
2712
  };
2713
+ wallet_relying_party?: {
2714
+ jwks: {
2715
+ keys: {
2716
+ kty: "RSA" | "EC";
2717
+ alg?: string | undefined;
2718
+ crv?: string | undefined;
2719
+ d?: string | undefined;
2720
+ dp?: string | undefined;
2721
+ dq?: string | undefined;
2722
+ e?: string | undefined;
2723
+ ext?: boolean | undefined;
2724
+ k?: string | undefined;
2725
+ key_ops?: string[] | undefined;
2726
+ kid?: string | undefined;
2727
+ n?: string | undefined;
2728
+ p?: string | undefined;
2729
+ q?: string | undefined;
2730
+ qi?: string | undefined;
2731
+ use?: string | undefined;
2732
+ x?: string | undefined;
2733
+ y?: string | undefined;
2734
+ x5c?: string[] | undefined;
2735
+ x5t?: string | undefined;
2736
+ "x5t#S256"?: string | undefined;
2737
+ x5u?: string | undefined;
2738
+ }[];
2739
+ };
2740
+ application_type?: string | undefined;
2741
+ client_id?: string | undefined;
2742
+ client_name?: string | undefined;
2743
+ contacts?: string[] | undefined;
2744
+ } | undefined;
2418
2745
  }, {
2419
2746
  openid_credential_issuer: {
2420
2747
  jwks: {
@@ -2450,9 +2777,7 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2450
2777
  dpop_signing_alg_values_supported: string[];
2451
2778
  credential_endpoint: string;
2452
2779
  credentials_supported: {
2453
- format: "vc+sd-jwt";
2454
- cryptographic_binding_methods_supported: string[];
2455
- cryptographic_suites_supported: string[];
2780
+ id: string;
2456
2781
  display: {
2457
2782
  name: string;
2458
2783
  locale: string;
@@ -2463,8 +2788,53 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2463
2788
  background_color: string;
2464
2789
  text_color: string;
2465
2790
  }[];
2791
+ format: "vc+sd-jwt";
2792
+ cryptographic_binding_methods_supported: string[];
2793
+ cryptographic_suites_supported: string[];
2794
+ credential_definition: {
2795
+ type: string[];
2796
+ credentialSubject: Record<string, {
2797
+ mandatory: boolean;
2798
+ display: {
2799
+ name: string;
2800
+ locale: string;
2801
+ }[];
2802
+ }>;
2803
+ };
2466
2804
  }[];
2467
2805
  };
2806
+ wallet_relying_party?: {
2807
+ jwks: {
2808
+ keys: {
2809
+ kty: "RSA" | "EC";
2810
+ alg?: string | undefined;
2811
+ crv?: string | undefined;
2812
+ d?: string | undefined;
2813
+ dp?: string | undefined;
2814
+ dq?: string | undefined;
2815
+ e?: string | undefined;
2816
+ ext?: boolean | undefined;
2817
+ k?: string | undefined;
2818
+ key_ops?: string[] | undefined;
2819
+ kid?: string | undefined;
2820
+ n?: string | undefined;
2821
+ p?: string | undefined;
2822
+ q?: string | undefined;
2823
+ qi?: string | undefined;
2824
+ use?: string | undefined;
2825
+ x?: string | undefined;
2826
+ y?: string | undefined;
2827
+ x5c?: string[] | undefined;
2828
+ x5t?: string | undefined;
2829
+ "x5t#S256"?: string | undefined;
2830
+ x5u?: string | undefined;
2831
+ }[];
2832
+ };
2833
+ application_type?: string | undefined;
2834
+ client_id?: string | undefined;
2835
+ client_name?: string | undefined;
2836
+ contacts?: string[] | undefined;
2837
+ } | undefined;
2468
2838
  }>;
2469
2839
  }, "strip", z.ZodTypeAny, {
2470
2840
  jwks: {
@@ -2528,9 +2898,7 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2528
2898
  dpop_signing_alg_values_supported: string[];
2529
2899
  credential_endpoint: string;
2530
2900
  credentials_supported: {
2531
- format: "vc+sd-jwt";
2532
- cryptographic_binding_methods_supported: string[];
2533
- cryptographic_suites_supported: string[];
2901
+ id: string;
2534
2902
  display: {
2535
2903
  name: string;
2536
2904
  locale: string;
@@ -2541,8 +2909,53 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2541
2909
  background_color: string;
2542
2910
  text_color: string;
2543
2911
  }[];
2544
- }[];
2545
- };
2912
+ format: "vc+sd-jwt";
2913
+ cryptographic_binding_methods_supported: string[];
2914
+ cryptographic_suites_supported: string[];
2915
+ credential_definition: {
2916
+ type: string[];
2917
+ credentialSubject: Record<string, {
2918
+ mandatory: boolean;
2919
+ display: {
2920
+ name: string;
2921
+ locale: string;
2922
+ }[];
2923
+ }>;
2924
+ };
2925
+ }[];
2926
+ };
2927
+ wallet_relying_party?: {
2928
+ jwks: {
2929
+ keys: {
2930
+ kty: "RSA" | "EC";
2931
+ alg?: string | undefined;
2932
+ crv?: string | undefined;
2933
+ d?: string | undefined;
2934
+ dp?: string | undefined;
2935
+ dq?: string | undefined;
2936
+ e?: string | undefined;
2937
+ ext?: boolean | undefined;
2938
+ k?: string | undefined;
2939
+ key_ops?: string[] | undefined;
2940
+ kid?: string | undefined;
2941
+ n?: string | undefined;
2942
+ p?: string | undefined;
2943
+ q?: string | undefined;
2944
+ qi?: string | undefined;
2945
+ use?: string | undefined;
2946
+ x?: string | undefined;
2947
+ y?: string | undefined;
2948
+ x5c?: string[] | undefined;
2949
+ x5t?: string | undefined;
2950
+ "x5t#S256"?: string | undefined;
2951
+ x5u?: string | undefined;
2952
+ }[];
2953
+ };
2954
+ application_type?: string | undefined;
2955
+ client_id?: string | undefined;
2956
+ client_name?: string | undefined;
2957
+ contacts?: string[] | undefined;
2958
+ } | undefined;
2546
2959
  };
2547
2960
  }, {
2548
2961
  jwks: {
@@ -2606,9 +3019,7 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2606
3019
  dpop_signing_alg_values_supported: string[];
2607
3020
  credential_endpoint: string;
2608
3021
  credentials_supported: {
2609
- format: "vc+sd-jwt";
2610
- cryptographic_binding_methods_supported: string[];
2611
- cryptographic_suites_supported: string[];
3022
+ id: string;
2612
3023
  display: {
2613
3024
  name: string;
2614
3025
  locale: string;
@@ -2619,8 +3030,53 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2619
3030
  background_color: string;
2620
3031
  text_color: string;
2621
3032
  }[];
3033
+ format: "vc+sd-jwt";
3034
+ cryptographic_binding_methods_supported: string[];
3035
+ cryptographic_suites_supported: string[];
3036
+ credential_definition: {
3037
+ type: string[];
3038
+ credentialSubject: Record<string, {
3039
+ mandatory: boolean;
3040
+ display: {
3041
+ name: string;
3042
+ locale: string;
3043
+ }[];
3044
+ }>;
3045
+ };
2622
3046
  }[];
2623
3047
  };
3048
+ wallet_relying_party?: {
3049
+ jwks: {
3050
+ keys: {
3051
+ kty: "RSA" | "EC";
3052
+ alg?: string | undefined;
3053
+ crv?: string | undefined;
3054
+ d?: string | undefined;
3055
+ dp?: string | undefined;
3056
+ dq?: string | undefined;
3057
+ e?: string | undefined;
3058
+ ext?: boolean | undefined;
3059
+ k?: string | undefined;
3060
+ key_ops?: string[] | undefined;
3061
+ kid?: string | undefined;
3062
+ n?: string | undefined;
3063
+ p?: string | undefined;
3064
+ q?: string | undefined;
3065
+ qi?: string | undefined;
3066
+ use?: string | undefined;
3067
+ x?: string | undefined;
3068
+ y?: string | undefined;
3069
+ x5c?: string[] | undefined;
3070
+ x5t?: string | undefined;
3071
+ "x5t#S256"?: string | undefined;
3072
+ x5u?: string | undefined;
3073
+ }[];
3074
+ };
3075
+ application_type?: string | undefined;
3076
+ client_id?: string | undefined;
3077
+ client_name?: string | undefined;
3078
+ contacts?: string[] | undefined;
3079
+ } | undefined;
2624
3080
  };
2625
3081
  }>;
2626
3082
  }, "strip", z.ZodTypeAny, {
@@ -2686,9 +3142,7 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2686
3142
  dpop_signing_alg_values_supported: string[];
2687
3143
  credential_endpoint: string;
2688
3144
  credentials_supported: {
2689
- format: "vc+sd-jwt";
2690
- cryptographic_binding_methods_supported: string[];
2691
- cryptographic_suites_supported: string[];
3145
+ id: string;
2692
3146
  display: {
2693
3147
  name: string;
2694
3148
  locale: string;
@@ -2699,8 +3153,53 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2699
3153
  background_color: string;
2700
3154
  text_color: string;
2701
3155
  }[];
3156
+ format: "vc+sd-jwt";
3157
+ cryptographic_binding_methods_supported: string[];
3158
+ cryptographic_suites_supported: string[];
3159
+ credential_definition: {
3160
+ type: string[];
3161
+ credentialSubject: Record<string, {
3162
+ mandatory: boolean;
3163
+ display: {
3164
+ name: string;
3165
+ locale: string;
3166
+ }[];
3167
+ }>;
3168
+ };
2702
3169
  }[];
2703
3170
  };
3171
+ wallet_relying_party?: {
3172
+ jwks: {
3173
+ keys: {
3174
+ kty: "RSA" | "EC";
3175
+ alg?: string | undefined;
3176
+ crv?: string | undefined;
3177
+ d?: string | undefined;
3178
+ dp?: string | undefined;
3179
+ dq?: string | undefined;
3180
+ e?: string | undefined;
3181
+ ext?: boolean | undefined;
3182
+ k?: string | undefined;
3183
+ key_ops?: string[] | undefined;
3184
+ kid?: string | undefined;
3185
+ n?: string | undefined;
3186
+ p?: string | undefined;
3187
+ q?: string | undefined;
3188
+ qi?: string | undefined;
3189
+ use?: string | undefined;
3190
+ x?: string | undefined;
3191
+ y?: string | undefined;
3192
+ x5c?: string[] | undefined;
3193
+ x5t?: string | undefined;
3194
+ "x5t#S256"?: string | undefined;
3195
+ x5u?: string | undefined;
3196
+ }[];
3197
+ };
3198
+ application_type?: string | undefined;
3199
+ client_id?: string | undefined;
3200
+ client_name?: string | undefined;
3201
+ contacts?: string[] | undefined;
3202
+ } | undefined;
2704
3203
  };
2705
3204
  };
2706
3205
  }, {
@@ -2766,9 +3265,7 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2766
3265
  dpop_signing_alg_values_supported: string[];
2767
3266
  credential_endpoint: string;
2768
3267
  credentials_supported: {
2769
- format: "vc+sd-jwt";
2770
- cryptographic_binding_methods_supported: string[];
2771
- cryptographic_suites_supported: string[];
3268
+ id: string;
2772
3269
  display: {
2773
3270
  name: string;
2774
3271
  locale: string;
@@ -2779,13 +3276,58 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2779
3276
  background_color: string;
2780
3277
  text_color: string;
2781
3278
  }[];
3279
+ format: "vc+sd-jwt";
3280
+ cryptographic_binding_methods_supported: string[];
3281
+ cryptographic_suites_supported: string[];
3282
+ credential_definition: {
3283
+ type: string[];
3284
+ credentialSubject: Record<string, {
3285
+ mandatory: boolean;
3286
+ display: {
3287
+ name: string;
3288
+ locale: string;
3289
+ }[];
3290
+ }>;
3291
+ };
2782
3292
  }[];
2783
3293
  };
3294
+ wallet_relying_party?: {
3295
+ jwks: {
3296
+ keys: {
3297
+ kty: "RSA" | "EC";
3298
+ alg?: string | undefined;
3299
+ crv?: string | undefined;
3300
+ d?: string | undefined;
3301
+ dp?: string | undefined;
3302
+ dq?: string | undefined;
3303
+ e?: string | undefined;
3304
+ ext?: boolean | undefined;
3305
+ k?: string | undefined;
3306
+ key_ops?: string[] | undefined;
3307
+ kid?: string | undefined;
3308
+ n?: string | undefined;
3309
+ p?: string | undefined;
3310
+ q?: string | undefined;
3311
+ qi?: string | undefined;
3312
+ use?: string | undefined;
3313
+ x?: string | undefined;
3314
+ y?: string | undefined;
3315
+ x5c?: string[] | undefined;
3316
+ x5t?: string | undefined;
3317
+ "x5t#S256"?: string | undefined;
3318
+ x5u?: string | undefined;
3319
+ }[];
3320
+ };
3321
+ application_type?: string | undefined;
3322
+ client_id?: string | undefined;
3323
+ client_name?: string | undefined;
3324
+ contacts?: string[] | undefined;
3325
+ } | undefined;
2784
3326
  };
2785
3327
  };
2786
3328
  }>>;
2787
- export type WalletProviderEntityConfiguration = z.infer<typeof WalletProviderEntityConfiguration>;
2788
- export declare const WalletProviderEntityConfiguration: z.ZodIntersection<z.ZodObject<{
3329
+ export type RelyingPartyEntityConfiguration = z.infer<typeof RelyingPartyEntityConfiguration>;
3330
+ export declare const RelyingPartyEntityConfiguration: z.ZodIntersection<z.ZodObject<{
2789
3331
  header: z.ZodObject<{
2790
3332
  typ: z.ZodLiteral<"entity-statement+jwt">;
2791
3333
  alg: z.ZodString;
@@ -3594,140 +4136,10 @@ export declare const WalletProviderEntityConfiguration: z.ZodIntersection<z.ZodO
3594
4136
  }>, z.ZodObject<{
3595
4137
  payload: z.ZodObject<{
3596
4138
  metadata: z.ZodObject<{
3597
- wallet_provider: z.ZodObject<{
3598
- token_endpoint: z.ZodString;
3599
- attested_security_context_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3600
- grant_types_supported: z.ZodArray<z.ZodString, "many">;
3601
- token_endpoint_auth_methods_supported: z.ZodArray<z.ZodString, "many">;
3602
- token_endpoint_auth_signing_alg_values_supported: z.ZodArray<z.ZodString, "many">;
3603
- jwks: z.ZodObject<{
3604
- keys: z.ZodArray<z.ZodObject<{
3605
- alg: z.ZodOptional<z.ZodString>;
3606
- crv: z.ZodOptional<z.ZodString>;
3607
- d: z.ZodOptional<z.ZodString>;
3608
- dp: z.ZodOptional<z.ZodString>;
3609
- dq: z.ZodOptional<z.ZodString>;
3610
- e: z.ZodOptional<z.ZodString>;
3611
- ext: z.ZodOptional<z.ZodBoolean>;
3612
- k: z.ZodOptional<z.ZodString>;
3613
- key_ops: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3614
- kid: z.ZodOptional<z.ZodString>;
3615
- kty: z.ZodUnion<[z.ZodLiteral<"RSA">, z.ZodLiteral<"EC">]>;
3616
- n: z.ZodOptional<z.ZodString>;
3617
- p: z.ZodOptional<z.ZodString>;
3618
- q: z.ZodOptional<z.ZodString>;
3619
- qi: z.ZodOptional<z.ZodString>;
3620
- use: z.ZodOptional<z.ZodString>;
3621
- x: z.ZodOptional<z.ZodString>;
3622
- y: z.ZodOptional<z.ZodString>;
3623
- x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3624
- x5t: z.ZodOptional<z.ZodString>;
3625
- "x5t#S256": z.ZodOptional<z.ZodString>;
3626
- x5u: z.ZodOptional<z.ZodString>;
3627
- }, "strip", z.ZodTypeAny, {
3628
- kty: "RSA" | "EC";
3629
- alg?: string | undefined;
3630
- crv?: string | undefined;
3631
- d?: string | undefined;
3632
- dp?: string | undefined;
3633
- dq?: string | undefined;
3634
- e?: string | undefined;
3635
- ext?: boolean | undefined;
3636
- k?: string | undefined;
3637
- key_ops?: string[] | undefined;
3638
- kid?: string | undefined;
3639
- n?: string | undefined;
3640
- p?: string | undefined;
3641
- q?: string | undefined;
3642
- qi?: string | undefined;
3643
- use?: string | undefined;
3644
- x?: string | undefined;
3645
- y?: string | undefined;
3646
- x5c?: string[] | undefined;
3647
- x5t?: string | undefined;
3648
- "x5t#S256"?: string | undefined;
3649
- x5u?: string | undefined;
3650
- }, {
3651
- kty: "RSA" | "EC";
3652
- alg?: string | undefined;
3653
- crv?: string | undefined;
3654
- d?: string | undefined;
3655
- dp?: string | undefined;
3656
- dq?: string | undefined;
3657
- e?: string | undefined;
3658
- ext?: boolean | undefined;
3659
- k?: string | undefined;
3660
- key_ops?: string[] | undefined;
3661
- kid?: string | undefined;
3662
- n?: string | undefined;
3663
- p?: string | undefined;
3664
- q?: string | undefined;
3665
- qi?: string | undefined;
3666
- use?: string | undefined;
3667
- x?: string | undefined;
3668
- y?: string | undefined;
3669
- x5c?: string[] | undefined;
3670
- x5t?: string | undefined;
3671
- "x5t#S256"?: string | undefined;
3672
- x5u?: string | undefined;
3673
- }>, "many">;
3674
- }, "strip", z.ZodTypeAny, {
3675
- keys: {
3676
- kty: "RSA" | "EC";
3677
- alg?: string | undefined;
3678
- crv?: string | undefined;
3679
- d?: string | undefined;
3680
- dp?: string | undefined;
3681
- dq?: string | undefined;
3682
- e?: string | undefined;
3683
- ext?: boolean | undefined;
3684
- k?: string | undefined;
3685
- key_ops?: string[] | undefined;
3686
- kid?: string | undefined;
3687
- n?: string | undefined;
3688
- p?: string | undefined;
3689
- q?: string | undefined;
3690
- qi?: string | undefined;
3691
- use?: string | undefined;
3692
- x?: string | undefined;
3693
- y?: string | undefined;
3694
- x5c?: string[] | undefined;
3695
- x5t?: string | undefined;
3696
- "x5t#S256"?: string | undefined;
3697
- x5u?: string | undefined;
3698
- }[];
3699
- }, {
3700
- keys: {
3701
- kty: "RSA" | "EC";
3702
- alg?: string | undefined;
3703
- crv?: string | undefined;
3704
- d?: string | undefined;
3705
- dp?: string | undefined;
3706
- dq?: string | undefined;
3707
- e?: string | undefined;
3708
- ext?: boolean | undefined;
3709
- k?: string | undefined;
3710
- key_ops?: string[] | undefined;
3711
- kid?: string | undefined;
3712
- n?: string | undefined;
3713
- p?: string | undefined;
3714
- q?: string | undefined;
3715
- qi?: string | undefined;
3716
- use?: string | undefined;
3717
- x?: string | undefined;
3718
- y?: string | undefined;
3719
- x5c?: string[] | undefined;
3720
- x5t?: string | undefined;
3721
- "x5t#S256"?: string | undefined;
3722
- x5u?: string | undefined;
3723
- }[];
3724
- }>;
3725
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3726
- token_endpoint: z.ZodString;
3727
- attested_security_context_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3728
- grant_types_supported: z.ZodArray<z.ZodString, "many">;
3729
- token_endpoint_auth_methods_supported: z.ZodArray<z.ZodString, "many">;
3730
- token_endpoint_auth_signing_alg_values_supported: z.ZodArray<z.ZodString, "many">;
4139
+ wallet_relying_party: z.ZodObject<{
4140
+ application_type: z.ZodOptional<z.ZodString>;
4141
+ client_id: z.ZodOptional<z.ZodString>;
4142
+ client_name: z.ZodOptional<z.ZodString>;
3731
4143
  jwks: z.ZodObject<{
3732
4144
  keys: z.ZodArray<z.ZodObject<{
3733
4145
  alg: z.ZodOptional<z.ZodString>;
@@ -3850,84 +4262,9 @@ export declare const WalletProviderEntityConfiguration: z.ZodIntersection<z.ZodO
3850
4262
  x5u?: string | undefined;
3851
4263
  }[];
3852
4264
  }>;
3853
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3854
- token_endpoint: z.ZodString;
3855
- attested_security_context_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3856
- grant_types_supported: z.ZodArray<z.ZodString, "many">;
3857
- token_endpoint_auth_methods_supported: z.ZodArray<z.ZodString, "many">;
3858
- token_endpoint_auth_signing_alg_values_supported: z.ZodArray<z.ZodString, "many">;
3859
- jwks: z.ZodObject<{
3860
- keys: z.ZodArray<z.ZodObject<{
3861
- alg: z.ZodOptional<z.ZodString>;
3862
- crv: z.ZodOptional<z.ZodString>;
3863
- d: z.ZodOptional<z.ZodString>;
3864
- dp: z.ZodOptional<z.ZodString>;
3865
- dq: z.ZodOptional<z.ZodString>;
3866
- e: z.ZodOptional<z.ZodString>;
3867
- ext: z.ZodOptional<z.ZodBoolean>;
3868
- k: z.ZodOptional<z.ZodString>;
3869
- key_ops: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3870
- kid: z.ZodOptional<z.ZodString>;
3871
- kty: z.ZodUnion<[z.ZodLiteral<"RSA">, z.ZodLiteral<"EC">]>;
3872
- n: z.ZodOptional<z.ZodString>;
3873
- p: z.ZodOptional<z.ZodString>;
3874
- q: z.ZodOptional<z.ZodString>;
3875
- qi: z.ZodOptional<z.ZodString>;
3876
- use: z.ZodOptional<z.ZodString>;
3877
- x: z.ZodOptional<z.ZodString>;
3878
- y: z.ZodOptional<z.ZodString>;
3879
- x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3880
- x5t: z.ZodOptional<z.ZodString>;
3881
- "x5t#S256": z.ZodOptional<z.ZodString>;
3882
- x5u: z.ZodOptional<z.ZodString>;
3883
- }, "strip", z.ZodTypeAny, {
3884
- kty: "RSA" | "EC";
3885
- alg?: string | undefined;
3886
- crv?: string | undefined;
3887
- d?: string | undefined;
3888
- dp?: string | undefined;
3889
- dq?: string | undefined;
3890
- e?: string | undefined;
3891
- ext?: boolean | undefined;
3892
- k?: string | undefined;
3893
- key_ops?: string[] | undefined;
3894
- kid?: string | undefined;
3895
- n?: string | undefined;
3896
- p?: string | undefined;
3897
- q?: string | undefined;
3898
- qi?: string | undefined;
3899
- use?: string | undefined;
3900
- x?: string | undefined;
3901
- y?: string | undefined;
3902
- x5c?: string[] | undefined;
3903
- x5t?: string | undefined;
3904
- "x5t#S256"?: string | undefined;
3905
- x5u?: string | undefined;
3906
- }, {
3907
- kty: "RSA" | "EC";
3908
- alg?: string | undefined;
3909
- crv?: string | undefined;
3910
- d?: string | undefined;
3911
- dp?: string | undefined;
3912
- dq?: string | undefined;
3913
- e?: string | undefined;
3914
- ext?: boolean | undefined;
3915
- k?: string | undefined;
3916
- key_ops?: string[] | undefined;
3917
- kid?: string | undefined;
3918
- n?: string | undefined;
3919
- p?: string | undefined;
3920
- q?: string | undefined;
3921
- qi?: string | undefined;
3922
- use?: string | undefined;
3923
- x?: string | undefined;
3924
- y?: string | undefined;
3925
- x5c?: string[] | undefined;
3926
- x5t?: string | undefined;
3927
- "x5t#S256"?: string | undefined;
3928
- x5u?: string | undefined;
3929
- }>, "many">;
3930
- }, "strip", z.ZodTypeAny, {
4265
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4266
+ }, "strip", z.ZodTypeAny, {
4267
+ jwks: {
3931
4268
  keys: {
3932
4269
  kty: "RSA" | "EC";
3933
4270
  alg?: string | undefined;
@@ -3952,7 +4289,13 @@ export declare const WalletProviderEntityConfiguration: z.ZodIntersection<z.ZodO
3952
4289
  "x5t#S256"?: string | undefined;
3953
4290
  x5u?: string | undefined;
3954
4291
  }[];
3955
- }, {
4292
+ };
4293
+ application_type?: string | undefined;
4294
+ client_id?: string | undefined;
4295
+ client_name?: string | undefined;
4296
+ contacts?: string[] | undefined;
4297
+ }, {
4298
+ jwks: {
3956
4299
  keys: {
3957
4300
  kty: "RSA" | "EC";
3958
4301
  alg?: string | undefined;
@@ -3977,10 +4320,14 @@ export declare const WalletProviderEntityConfiguration: z.ZodIntersection<z.ZodO
3977
4320
  "x5t#S256"?: string | undefined;
3978
4321
  x5u?: string | undefined;
3979
4322
  }[];
3980
- }>;
3981
- }, z.ZodTypeAny, "passthrough">>;
4323
+ };
4324
+ application_type?: string | undefined;
4325
+ client_id?: string | undefined;
4326
+ client_name?: string | undefined;
4327
+ contacts?: string[] | undefined;
4328
+ }>;
3982
4329
  }, "strip", z.ZodTypeAny, {
3983
- wallet_provider: {
4330
+ wallet_relying_party: {
3984
4331
  jwks: {
3985
4332
  keys: {
3986
4333
  kty: "RSA" | "EC";
@@ -4007,16 +4354,13 @@ export declare const WalletProviderEntityConfiguration: z.ZodIntersection<z.ZodO
4007
4354
  x5u?: string | undefined;
4008
4355
  }[];
4009
4356
  };
4010
- token_endpoint: string;
4011
- grant_types_supported: string[];
4012
- token_endpoint_auth_methods_supported: string[];
4013
- token_endpoint_auth_signing_alg_values_supported: string[];
4014
- attested_security_context_values_supported?: string[] | undefined;
4015
- } & {
4016
- [k: string]: unknown;
4357
+ application_type?: string | undefined;
4358
+ client_id?: string | undefined;
4359
+ client_name?: string | undefined;
4360
+ contacts?: string[] | undefined;
4017
4361
  };
4018
4362
  }, {
4019
- wallet_provider: {
4363
+ wallet_relying_party: {
4020
4364
  jwks: {
4021
4365
  keys: {
4022
4366
  kty: "RSA" | "EC";
@@ -4043,18 +4387,15 @@ export declare const WalletProviderEntityConfiguration: z.ZodIntersection<z.ZodO
4043
4387
  x5u?: string | undefined;
4044
4388
  }[];
4045
4389
  };
4046
- token_endpoint: string;
4047
- grant_types_supported: string[];
4048
- token_endpoint_auth_methods_supported: string[];
4049
- token_endpoint_auth_signing_alg_values_supported: string[];
4050
- attested_security_context_values_supported?: string[] | undefined;
4051
- } & {
4052
- [k: string]: unknown;
4390
+ application_type?: string | undefined;
4391
+ client_id?: string | undefined;
4392
+ client_name?: string | undefined;
4393
+ contacts?: string[] | undefined;
4053
4394
  };
4054
4395
  }>;
4055
4396
  }, "strip", z.ZodTypeAny, {
4056
4397
  metadata: {
4057
- wallet_provider: {
4398
+ wallet_relying_party: {
4058
4399
  jwks: {
4059
4400
  keys: {
4060
4401
  kty: "RSA" | "EC";
@@ -4081,18 +4422,15 @@ export declare const WalletProviderEntityConfiguration: z.ZodIntersection<z.ZodO
4081
4422
  x5u?: string | undefined;
4082
4423
  }[];
4083
4424
  };
4084
- token_endpoint: string;
4085
- grant_types_supported: string[];
4086
- token_endpoint_auth_methods_supported: string[];
4087
- token_endpoint_auth_signing_alg_values_supported: string[];
4088
- attested_security_context_values_supported?: string[] | undefined;
4089
- } & {
4090
- [k: string]: unknown;
4425
+ application_type?: string | undefined;
4426
+ client_id?: string | undefined;
4427
+ client_name?: string | undefined;
4428
+ contacts?: string[] | undefined;
4091
4429
  };
4092
4430
  };
4093
4431
  }, {
4094
4432
  metadata: {
4095
- wallet_provider: {
4433
+ wallet_relying_party: {
4096
4434
  jwks: {
4097
4435
  keys: {
4098
4436
  kty: "RSA" | "EC";
@@ -4119,20 +4457,17 @@ export declare const WalletProviderEntityConfiguration: z.ZodIntersection<z.ZodO
4119
4457
  x5u?: string | undefined;
4120
4458
  }[];
4121
4459
  };
4122
- token_endpoint: string;
4123
- grant_types_supported: string[];
4124
- token_endpoint_auth_methods_supported: string[];
4125
- token_endpoint_auth_signing_alg_values_supported: string[];
4126
- attested_security_context_values_supported?: string[] | undefined;
4127
- } & {
4128
- [k: string]: unknown;
4460
+ application_type?: string | undefined;
4461
+ client_id?: string | undefined;
4462
+ client_name?: string | undefined;
4463
+ contacts?: string[] | undefined;
4129
4464
  };
4130
4465
  };
4131
4466
  }>;
4132
4467
  }, "strip", z.ZodTypeAny, {
4133
4468
  payload: {
4134
4469
  metadata: {
4135
- wallet_provider: {
4470
+ wallet_relying_party: {
4136
4471
  jwks: {
4137
4472
  keys: {
4138
4473
  kty: "RSA" | "EC";
@@ -4159,20 +4494,17 @@ export declare const WalletProviderEntityConfiguration: z.ZodIntersection<z.ZodO
4159
4494
  x5u?: string | undefined;
4160
4495
  }[];
4161
4496
  };
4162
- token_endpoint: string;
4163
- grant_types_supported: string[];
4164
- token_endpoint_auth_methods_supported: string[];
4165
- token_endpoint_auth_signing_alg_values_supported: string[];
4166
- attested_security_context_values_supported?: string[] | undefined;
4167
- } & {
4168
- [k: string]: unknown;
4497
+ application_type?: string | undefined;
4498
+ client_id?: string | undefined;
4499
+ client_name?: string | undefined;
4500
+ contacts?: string[] | undefined;
4169
4501
  };
4170
4502
  };
4171
4503
  };
4172
4504
  }, {
4173
4505
  payload: {
4174
4506
  metadata: {
4175
- wallet_provider: {
4507
+ wallet_relying_party: {
4176
4508
  jwks: {
4177
4509
  keys: {
4178
4510
  kty: "RSA" | "EC";
@@ -4199,19 +4531,16 @@ export declare const WalletProviderEntityConfiguration: z.ZodIntersection<z.ZodO
4199
4531
  x5u?: string | undefined;
4200
4532
  }[];
4201
4533
  };
4202
- token_endpoint: string;
4203
- grant_types_supported: string[];
4204
- token_endpoint_auth_methods_supported: string[];
4205
- token_endpoint_auth_signing_alg_values_supported: string[];
4206
- attested_security_context_values_supported?: string[] | undefined;
4207
- } & {
4208
- [k: string]: unknown;
4534
+ application_type?: string | undefined;
4535
+ client_id?: string | undefined;
4536
+ client_name?: string | undefined;
4537
+ contacts?: string[] | undefined;
4209
4538
  };
4210
4539
  };
4211
4540
  };
4212
4541
  }>>;
4213
- export type RelyingPartyEntityConfiguration = z.infer<typeof RelyingPartyEntityConfiguration>;
4214
- export declare const RelyingPartyEntityConfiguration: z.ZodIntersection<z.ZodObject<{
4542
+ export type WalletProviderEntityConfiguration = z.infer<typeof WalletProviderEntityConfiguration>;
4543
+ export declare const WalletProviderEntityConfiguration: z.ZodIntersection<z.ZodObject<{
4215
4544
  header: z.ZodObject<{
4216
4545
  typ: z.ZodLiteral<"entity-statement+jwt">;
4217
4546
  alg: z.ZodString;
@@ -5020,10 +5349,12 @@ export declare const RelyingPartyEntityConfiguration: z.ZodIntersection<z.ZodObj
5020
5349
  }>, z.ZodObject<{
5021
5350
  payload: z.ZodObject<{
5022
5351
  metadata: z.ZodObject<{
5023
- wallet_relying_party: z.ZodObject<{
5024
- application_type: z.ZodOptional<z.ZodString>;
5025
- client_id: z.ZodOptional<z.ZodString>;
5026
- client_name: z.ZodOptional<z.ZodString>;
5352
+ wallet_provider: z.ZodObject<{
5353
+ token_endpoint: z.ZodString;
5354
+ attested_security_context_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5355
+ grant_types_supported: z.ZodArray<z.ZodString, "many">;
5356
+ token_endpoint_auth_methods_supported: z.ZodArray<z.ZodString, "many">;
5357
+ token_endpoint_auth_signing_alg_values_supported: z.ZodArray<z.ZodString, "many">;
5027
5358
  jwks: z.ZodObject<{
5028
5359
  keys: z.ZodArray<z.ZodObject<{
5029
5360
  alg: z.ZodOptional<z.ZodString>;
@@ -5146,11 +5477,12 @@ export declare const RelyingPartyEntityConfiguration: z.ZodIntersection<z.ZodObj
5146
5477
  x5u?: string | undefined;
5147
5478
  }[];
5148
5479
  }>;
5149
- contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5150
5480
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5151
- application_type: z.ZodOptional<z.ZodString>;
5152
- client_id: z.ZodOptional<z.ZodString>;
5153
- client_name: z.ZodOptional<z.ZodString>;
5481
+ token_endpoint: z.ZodString;
5482
+ attested_security_context_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5483
+ grant_types_supported: z.ZodArray<z.ZodString, "many">;
5484
+ token_endpoint_auth_methods_supported: z.ZodArray<z.ZodString, "many">;
5485
+ token_endpoint_auth_signing_alg_values_supported: z.ZodArray<z.ZodString, "many">;
5154
5486
  jwks: z.ZodObject<{
5155
5487
  keys: z.ZodArray<z.ZodObject<{
5156
5488
  alg: z.ZodOptional<z.ZodString>;
@@ -5273,11 +5605,12 @@ export declare const RelyingPartyEntityConfiguration: z.ZodIntersection<z.ZodObj
5273
5605
  x5u?: string | undefined;
5274
5606
  }[];
5275
5607
  }>;
5276
- contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5277
5608
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5278
- application_type: z.ZodOptional<z.ZodString>;
5279
- client_id: z.ZodOptional<z.ZodString>;
5280
- client_name: z.ZodOptional<z.ZodString>;
5609
+ token_endpoint: z.ZodString;
5610
+ attested_security_context_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5611
+ grant_types_supported: z.ZodArray<z.ZodString, "many">;
5612
+ token_endpoint_auth_methods_supported: z.ZodArray<z.ZodString, "many">;
5613
+ token_endpoint_auth_signing_alg_values_supported: z.ZodArray<z.ZodString, "many">;
5281
5614
  jwks: z.ZodObject<{
5282
5615
  keys: z.ZodArray<z.ZodObject<{
5283
5616
  alg: z.ZodOptional<z.ZodString>;
@@ -5400,10 +5733,9 @@ export declare const RelyingPartyEntityConfiguration: z.ZodIntersection<z.ZodObj
5400
5733
  x5u?: string | undefined;
5401
5734
  }[];
5402
5735
  }>;
5403
- contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5404
5736
  }, z.ZodTypeAny, "passthrough">>;
5405
5737
  }, "strip", z.ZodTypeAny, {
5406
- wallet_relying_party: {
5738
+ wallet_provider: {
5407
5739
  jwks: {
5408
5740
  keys: {
5409
5741
  kty: "RSA" | "EC";
@@ -5430,15 +5762,16 @@ export declare const RelyingPartyEntityConfiguration: z.ZodIntersection<z.ZodObj
5430
5762
  x5u?: string | undefined;
5431
5763
  }[];
5432
5764
  };
5433
- application_type?: string | undefined;
5434
- client_id?: string | undefined;
5435
- client_name?: string | undefined;
5436
- contacts?: string[] | undefined;
5765
+ token_endpoint: string;
5766
+ grant_types_supported: string[];
5767
+ token_endpoint_auth_methods_supported: string[];
5768
+ token_endpoint_auth_signing_alg_values_supported: string[];
5769
+ attested_security_context_values_supported?: string[] | undefined;
5437
5770
  } & {
5438
5771
  [k: string]: unknown;
5439
5772
  };
5440
5773
  }, {
5441
- wallet_relying_party: {
5774
+ wallet_provider: {
5442
5775
  jwks: {
5443
5776
  keys: {
5444
5777
  kty: "RSA" | "EC";
@@ -5465,17 +5798,18 @@ export declare const RelyingPartyEntityConfiguration: z.ZodIntersection<z.ZodObj
5465
5798
  x5u?: string | undefined;
5466
5799
  }[];
5467
5800
  };
5468
- application_type?: string | undefined;
5469
- client_id?: string | undefined;
5470
- client_name?: string | undefined;
5471
- contacts?: string[] | undefined;
5801
+ token_endpoint: string;
5802
+ grant_types_supported: string[];
5803
+ token_endpoint_auth_methods_supported: string[];
5804
+ token_endpoint_auth_signing_alg_values_supported: string[];
5805
+ attested_security_context_values_supported?: string[] | undefined;
5472
5806
  } & {
5473
5807
  [k: string]: unknown;
5474
5808
  };
5475
5809
  }>;
5476
5810
  }, "strip", z.ZodTypeAny, {
5477
5811
  metadata: {
5478
- wallet_relying_party: {
5812
+ wallet_provider: {
5479
5813
  jwks: {
5480
5814
  keys: {
5481
5815
  kty: "RSA" | "EC";
@@ -5502,17 +5836,18 @@ export declare const RelyingPartyEntityConfiguration: z.ZodIntersection<z.ZodObj
5502
5836
  x5u?: string | undefined;
5503
5837
  }[];
5504
5838
  };
5505
- application_type?: string | undefined;
5506
- client_id?: string | undefined;
5507
- client_name?: string | undefined;
5508
- contacts?: string[] | undefined;
5839
+ token_endpoint: string;
5840
+ grant_types_supported: string[];
5841
+ token_endpoint_auth_methods_supported: string[];
5842
+ token_endpoint_auth_signing_alg_values_supported: string[];
5843
+ attested_security_context_values_supported?: string[] | undefined;
5509
5844
  } & {
5510
5845
  [k: string]: unknown;
5511
5846
  };
5512
5847
  };
5513
5848
  }, {
5514
5849
  metadata: {
5515
- wallet_relying_party: {
5850
+ wallet_provider: {
5516
5851
  jwks: {
5517
5852
  keys: {
5518
5853
  kty: "RSA" | "EC";
@@ -5539,10 +5874,11 @@ export declare const RelyingPartyEntityConfiguration: z.ZodIntersection<z.ZodObj
5539
5874
  x5u?: string | undefined;
5540
5875
  }[];
5541
5876
  };
5542
- application_type?: string | undefined;
5543
- client_id?: string | undefined;
5544
- client_name?: string | undefined;
5545
- contacts?: string[] | undefined;
5877
+ token_endpoint: string;
5878
+ grant_types_supported: string[];
5879
+ token_endpoint_auth_methods_supported: string[];
5880
+ token_endpoint_auth_signing_alg_values_supported: string[];
5881
+ attested_security_context_values_supported?: string[] | undefined;
5546
5882
  } & {
5547
5883
  [k: string]: unknown;
5548
5884
  };
@@ -5551,7 +5887,7 @@ export declare const RelyingPartyEntityConfiguration: z.ZodIntersection<z.ZodObj
5551
5887
  }, "strip", z.ZodTypeAny, {
5552
5888
  payload: {
5553
5889
  metadata: {
5554
- wallet_relying_party: {
5890
+ wallet_provider: {
5555
5891
  jwks: {
5556
5892
  keys: {
5557
5893
  kty: "RSA" | "EC";
@@ -5578,10 +5914,11 @@ export declare const RelyingPartyEntityConfiguration: z.ZodIntersection<z.ZodObj
5578
5914
  x5u?: string | undefined;
5579
5915
  }[];
5580
5916
  };
5581
- application_type?: string | undefined;
5582
- client_id?: string | undefined;
5583
- client_name?: string | undefined;
5584
- contacts?: string[] | undefined;
5917
+ token_endpoint: string;
5918
+ grant_types_supported: string[];
5919
+ token_endpoint_auth_methods_supported: string[];
5920
+ token_endpoint_auth_signing_alg_values_supported: string[];
5921
+ attested_security_context_values_supported?: string[] | undefined;
5585
5922
  } & {
5586
5923
  [k: string]: unknown;
5587
5924
  };
@@ -5590,7 +5927,7 @@ export declare const RelyingPartyEntityConfiguration: z.ZodIntersection<z.ZodObj
5590
5927
  }, {
5591
5928
  payload: {
5592
5929
  metadata: {
5593
- wallet_relying_party: {
5930
+ wallet_provider: {
5594
5931
  jwks: {
5595
5932
  keys: {
5596
5933
  kty: "RSA" | "EC";
@@ -5617,10 +5954,11 @@ export declare const RelyingPartyEntityConfiguration: z.ZodIntersection<z.ZodObj
5617
5954
  x5u?: string | undefined;
5618
5955
  }[];
5619
5956
  };
5620
- application_type?: string | undefined;
5621
- client_id?: string | undefined;
5622
- client_name?: string | undefined;
5623
- contacts?: string[] | undefined;
5957
+ token_endpoint: string;
5958
+ grant_types_supported: string[];
5959
+ token_endpoint_auth_methods_supported: string[];
5960
+ token_endpoint_auth_signing_alg_values_supported: string[];
5961
+ attested_security_context_values_supported?: string[] | undefined;
5624
5962
  } & {
5625
5963
  [k: string]: unknown;
5626
5964
  };
@@ -7991,6 +8329,7 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
7991
8329
  dpop_signing_alg_values_supported: z.ZodArray<z.ZodString, "many">;
7992
8330
  credential_endpoint: z.ZodString;
7993
8331
  credentials_supported: z.ZodArray<z.ZodObject<{
8332
+ id: z.ZodString;
7994
8333
  format: z.ZodLiteral<"vc+sd-jwt">;
7995
8334
  cryptographic_binding_methods_supported: z.ZodArray<z.ZodString, "many">;
7996
8335
  cryptographic_suites_supported: z.ZodArray<z.ZodString, "many">;
@@ -8028,10 +8367,79 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
8028
8367
  background_color: string;
8029
8368
  text_color: string;
8030
8369
  }>, "many">;
8370
+ credential_definition: z.ZodObject<{
8371
+ type: z.ZodArray<z.ZodString, "many">;
8372
+ credentialSubject: z.ZodRecord<z.ZodString, z.ZodObject<{
8373
+ mandatory: z.ZodBoolean;
8374
+ display: z.ZodArray<z.ZodObject<{
8375
+ name: z.ZodString;
8376
+ locale: z.ZodString;
8377
+ }, "strip", z.ZodTypeAny, {
8378
+ name: string;
8379
+ locale: string;
8380
+ }, {
8381
+ name: string;
8382
+ locale: string;
8383
+ }>, "many">;
8384
+ }, "strip", z.ZodTypeAny, {
8385
+ mandatory: boolean;
8386
+ display: {
8387
+ name: string;
8388
+ locale: string;
8389
+ }[];
8390
+ }, {
8391
+ mandatory: boolean;
8392
+ display: {
8393
+ name: string;
8394
+ locale: string;
8395
+ }[];
8396
+ }>>;
8397
+ }, "strip", z.ZodTypeAny, {
8398
+ type: string[];
8399
+ credentialSubject: Record<string, {
8400
+ mandatory: boolean;
8401
+ display: {
8402
+ name: string;
8403
+ locale: string;
8404
+ }[];
8405
+ }>;
8406
+ }, {
8407
+ type: string[];
8408
+ credentialSubject: Record<string, {
8409
+ mandatory: boolean;
8410
+ display: {
8411
+ name: string;
8412
+ locale: string;
8413
+ }[];
8414
+ }>;
8415
+ }>;
8031
8416
  }, "strip", z.ZodTypeAny, {
8417
+ id: string;
8418
+ display: {
8419
+ name: string;
8420
+ locale: string;
8421
+ logo: {
8422
+ url: string;
8423
+ alt_text: string;
8424
+ };
8425
+ background_color: string;
8426
+ text_color: string;
8427
+ }[];
8032
8428
  format: "vc+sd-jwt";
8033
8429
  cryptographic_binding_methods_supported: string[];
8034
8430
  cryptographic_suites_supported: string[];
8431
+ credential_definition: {
8432
+ type: string[];
8433
+ credentialSubject: Record<string, {
8434
+ mandatory: boolean;
8435
+ display: {
8436
+ name: string;
8437
+ locale: string;
8438
+ }[];
8439
+ }>;
8440
+ };
8441
+ }, {
8442
+ id: string;
8035
8443
  display: {
8036
8444
  name: string;
8037
8445
  locale: string;
@@ -8042,10 +8450,236 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
8042
8450
  background_color: string;
8043
8451
  text_color: string;
8044
8452
  }[];
8453
+ format: "vc+sd-jwt";
8454
+ cryptographic_binding_methods_supported: string[];
8455
+ cryptographic_suites_supported: string[];
8456
+ credential_definition: {
8457
+ type: string[];
8458
+ credentialSubject: Record<string, {
8459
+ mandatory: boolean;
8460
+ display: {
8461
+ name: string;
8462
+ locale: string;
8463
+ }[];
8464
+ }>;
8465
+ };
8466
+ }>, "many">;
8467
+ jwks: z.ZodObject<{
8468
+ keys: z.ZodArray<z.ZodObject<{
8469
+ alg: z.ZodOptional<z.ZodString>;
8470
+ crv: z.ZodOptional<z.ZodString>;
8471
+ d: z.ZodOptional<z.ZodString>;
8472
+ dp: z.ZodOptional<z.ZodString>;
8473
+ dq: z.ZodOptional<z.ZodString>;
8474
+ e: z.ZodOptional<z.ZodString>;
8475
+ ext: z.ZodOptional<z.ZodBoolean>;
8476
+ k: z.ZodOptional<z.ZodString>;
8477
+ key_ops: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8478
+ kid: z.ZodOptional<z.ZodString>;
8479
+ kty: z.ZodUnion<[z.ZodLiteral<"RSA">, z.ZodLiteral<"EC">]>;
8480
+ n: z.ZodOptional<z.ZodString>;
8481
+ p: z.ZodOptional<z.ZodString>;
8482
+ q: z.ZodOptional<z.ZodString>;
8483
+ qi: z.ZodOptional<z.ZodString>;
8484
+ use: z.ZodOptional<z.ZodString>;
8485
+ x: z.ZodOptional<z.ZodString>;
8486
+ y: z.ZodOptional<z.ZodString>;
8487
+ x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8488
+ x5t: z.ZodOptional<z.ZodString>;
8489
+ "x5t#S256": z.ZodOptional<z.ZodString>;
8490
+ x5u: z.ZodOptional<z.ZodString>;
8491
+ }, "strip", z.ZodTypeAny, {
8492
+ kty: "RSA" | "EC";
8493
+ alg?: string | undefined;
8494
+ crv?: string | undefined;
8495
+ d?: string | undefined;
8496
+ dp?: string | undefined;
8497
+ dq?: string | undefined;
8498
+ e?: string | undefined;
8499
+ ext?: boolean | undefined;
8500
+ k?: string | undefined;
8501
+ key_ops?: string[] | undefined;
8502
+ kid?: string | undefined;
8503
+ n?: string | undefined;
8504
+ p?: string | undefined;
8505
+ q?: string | undefined;
8506
+ qi?: string | undefined;
8507
+ use?: string | undefined;
8508
+ x?: string | undefined;
8509
+ y?: string | undefined;
8510
+ x5c?: string[] | undefined;
8511
+ x5t?: string | undefined;
8512
+ "x5t#S256"?: string | undefined;
8513
+ x5u?: string | undefined;
8514
+ }, {
8515
+ kty: "RSA" | "EC";
8516
+ alg?: string | undefined;
8517
+ crv?: string | undefined;
8518
+ d?: string | undefined;
8519
+ dp?: string | undefined;
8520
+ dq?: string | undefined;
8521
+ e?: string | undefined;
8522
+ ext?: boolean | undefined;
8523
+ k?: string | undefined;
8524
+ key_ops?: string[] | undefined;
8525
+ kid?: string | undefined;
8526
+ n?: string | undefined;
8527
+ p?: string | undefined;
8528
+ q?: string | undefined;
8529
+ qi?: string | undefined;
8530
+ use?: string | undefined;
8531
+ x?: string | undefined;
8532
+ y?: string | undefined;
8533
+ x5c?: string[] | undefined;
8534
+ x5t?: string | undefined;
8535
+ "x5t#S256"?: string | undefined;
8536
+ x5u?: string | undefined;
8537
+ }>, "many">;
8538
+ }, "strip", z.ZodTypeAny, {
8539
+ keys: {
8540
+ kty: "RSA" | "EC";
8541
+ alg?: string | undefined;
8542
+ crv?: string | undefined;
8543
+ d?: string | undefined;
8544
+ dp?: string | undefined;
8545
+ dq?: string | undefined;
8546
+ e?: string | undefined;
8547
+ ext?: boolean | undefined;
8548
+ k?: string | undefined;
8549
+ key_ops?: string[] | undefined;
8550
+ kid?: string | undefined;
8551
+ n?: string | undefined;
8552
+ p?: string | undefined;
8553
+ q?: string | undefined;
8554
+ qi?: string | undefined;
8555
+ use?: string | undefined;
8556
+ x?: string | undefined;
8557
+ y?: string | undefined;
8558
+ x5c?: string[] | undefined;
8559
+ x5t?: string | undefined;
8560
+ "x5t#S256"?: string | undefined;
8561
+ x5u?: string | undefined;
8562
+ }[];
8045
8563
  }, {
8564
+ keys: {
8565
+ kty: "RSA" | "EC";
8566
+ alg?: string | undefined;
8567
+ crv?: string | undefined;
8568
+ d?: string | undefined;
8569
+ dp?: string | undefined;
8570
+ dq?: string | undefined;
8571
+ e?: string | undefined;
8572
+ ext?: boolean | undefined;
8573
+ k?: string | undefined;
8574
+ key_ops?: string[] | undefined;
8575
+ kid?: string | undefined;
8576
+ n?: string | undefined;
8577
+ p?: string | undefined;
8578
+ q?: string | undefined;
8579
+ qi?: string | undefined;
8580
+ use?: string | undefined;
8581
+ x?: string | undefined;
8582
+ y?: string | undefined;
8583
+ x5c?: string[] | undefined;
8584
+ x5t?: string | undefined;
8585
+ "x5t#S256"?: string | undefined;
8586
+ x5u?: string | undefined;
8587
+ }[];
8588
+ }>;
8589
+ }, "strip", z.ZodTypeAny, {
8590
+ jwks: {
8591
+ keys: {
8592
+ kty: "RSA" | "EC";
8593
+ alg?: string | undefined;
8594
+ crv?: string | undefined;
8595
+ d?: string | undefined;
8596
+ dp?: string | undefined;
8597
+ dq?: string | undefined;
8598
+ e?: string | undefined;
8599
+ ext?: boolean | undefined;
8600
+ k?: string | undefined;
8601
+ key_ops?: string[] | undefined;
8602
+ kid?: string | undefined;
8603
+ n?: string | undefined;
8604
+ p?: string | undefined;
8605
+ q?: string | undefined;
8606
+ qi?: string | undefined;
8607
+ use?: string | undefined;
8608
+ x?: string | undefined;
8609
+ y?: string | undefined;
8610
+ x5c?: string[] | undefined;
8611
+ x5t?: string | undefined;
8612
+ "x5t#S256"?: string | undefined;
8613
+ x5u?: string | undefined;
8614
+ }[];
8615
+ };
8616
+ credential_issuer: string;
8617
+ authorization_endpoint: string;
8618
+ token_endpoint: string;
8619
+ pushed_authorization_request_endpoint: string;
8620
+ dpop_signing_alg_values_supported: string[];
8621
+ credential_endpoint: string;
8622
+ credentials_supported: {
8623
+ id: string;
8624
+ display: {
8625
+ name: string;
8626
+ locale: string;
8627
+ logo: {
8628
+ url: string;
8629
+ alt_text: string;
8630
+ };
8631
+ background_color: string;
8632
+ text_color: string;
8633
+ }[];
8046
8634
  format: "vc+sd-jwt";
8047
8635
  cryptographic_binding_methods_supported: string[];
8048
8636
  cryptographic_suites_supported: string[];
8637
+ credential_definition: {
8638
+ type: string[];
8639
+ credentialSubject: Record<string, {
8640
+ mandatory: boolean;
8641
+ display: {
8642
+ name: string;
8643
+ locale: string;
8644
+ }[];
8645
+ }>;
8646
+ };
8647
+ }[];
8648
+ }, {
8649
+ jwks: {
8650
+ keys: {
8651
+ kty: "RSA" | "EC";
8652
+ alg?: string | undefined;
8653
+ crv?: string | undefined;
8654
+ d?: string | undefined;
8655
+ dp?: string | undefined;
8656
+ dq?: string | undefined;
8657
+ e?: string | undefined;
8658
+ ext?: boolean | undefined;
8659
+ k?: string | undefined;
8660
+ key_ops?: string[] | undefined;
8661
+ kid?: string | undefined;
8662
+ n?: string | undefined;
8663
+ p?: string | undefined;
8664
+ q?: string | undefined;
8665
+ qi?: string | undefined;
8666
+ use?: string | undefined;
8667
+ x?: string | undefined;
8668
+ y?: string | undefined;
8669
+ x5c?: string[] | undefined;
8670
+ x5t?: string | undefined;
8671
+ "x5t#S256"?: string | undefined;
8672
+ x5u?: string | undefined;
8673
+ }[];
8674
+ };
8675
+ credential_issuer: string;
8676
+ authorization_endpoint: string;
8677
+ token_endpoint: string;
8678
+ pushed_authorization_request_endpoint: string;
8679
+ dpop_signing_alg_values_supported: string[];
8680
+ credential_endpoint: string;
8681
+ credentials_supported: {
8682
+ id: string;
8049
8683
  display: {
8050
8684
  name: string;
8051
8685
  locale: string;
@@ -8056,7 +8690,28 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
8056
8690
  background_color: string;
8057
8691
  text_color: string;
8058
8692
  }[];
8059
- }>, "many">;
8693
+ format: "vc+sd-jwt";
8694
+ cryptographic_binding_methods_supported: string[];
8695
+ cryptographic_suites_supported: string[];
8696
+ credential_definition: {
8697
+ type: string[];
8698
+ credentialSubject: Record<string, {
8699
+ mandatory: boolean;
8700
+ display: {
8701
+ name: string;
8702
+ locale: string;
8703
+ }[];
8704
+ }>;
8705
+ };
8706
+ }[];
8707
+ }>;
8708
+ /** Credential Issuers act as Relying Party
8709
+ when they require the presentation of other credentials.
8710
+ This does not apply for PID issuance, which requires CIE authz. */
8711
+ wallet_relying_party: z.ZodOptional<z.ZodObject<{
8712
+ application_type: z.ZodOptional<z.ZodString>;
8713
+ client_id: z.ZodOptional<z.ZodString>;
8714
+ client_name: z.ZodOptional<z.ZodString>;
8060
8715
  jwks: z.ZodObject<{
8061
8716
  keys: z.ZodArray<z.ZodObject<{
8062
8717
  alg: z.ZodOptional<z.ZodString>;
@@ -8179,6 +8834,7 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
8179
8834
  x5u?: string | undefined;
8180
8835
  }[];
8181
8836
  }>;
8837
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8182
8838
  }, "strip", z.ZodTypeAny, {
8183
8839
  jwks: {
8184
8840
  keys: {
@@ -8206,27 +8862,10 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
8206
8862
  x5u?: string | undefined;
8207
8863
  }[];
8208
8864
  };
8209
- credential_issuer: string;
8210
- authorization_endpoint: string;
8211
- token_endpoint: string;
8212
- pushed_authorization_request_endpoint: string;
8213
- dpop_signing_alg_values_supported: string[];
8214
- credential_endpoint: string;
8215
- credentials_supported: {
8216
- format: "vc+sd-jwt";
8217
- cryptographic_binding_methods_supported: string[];
8218
- cryptographic_suites_supported: string[];
8219
- display: {
8220
- name: string;
8221
- locale: string;
8222
- logo: {
8223
- url: string;
8224
- alt_text: string;
8225
- };
8226
- background_color: string;
8227
- text_color: string;
8228
- }[];
8229
- }[];
8865
+ application_type?: string | undefined;
8866
+ client_id?: string | undefined;
8867
+ client_name?: string | undefined;
8868
+ contacts?: string[] | undefined;
8230
8869
  }, {
8231
8870
  jwks: {
8232
8871
  keys: {
@@ -8254,28 +8893,11 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
8254
8893
  x5u?: string | undefined;
8255
8894
  }[];
8256
8895
  };
8257
- credential_issuer: string;
8258
- authorization_endpoint: string;
8259
- token_endpoint: string;
8260
- pushed_authorization_request_endpoint: string;
8261
- dpop_signing_alg_values_supported: string[];
8262
- credential_endpoint: string;
8263
- credentials_supported: {
8264
- format: "vc+sd-jwt";
8265
- cryptographic_binding_methods_supported: string[];
8266
- cryptographic_suites_supported: string[];
8267
- display: {
8268
- name: string;
8269
- locale: string;
8270
- logo: {
8271
- url: string;
8272
- alt_text: string;
8273
- };
8274
- background_color: string;
8275
- text_color: string;
8276
- }[];
8277
- }[];
8278
- }>;
8896
+ application_type?: string | undefined;
8897
+ client_id?: string | undefined;
8898
+ client_name?: string | undefined;
8899
+ contacts?: string[] | undefined;
8900
+ }>>;
8279
8901
  }, "strip", z.ZodTypeAny, {
8280
8902
  openid_credential_issuer: {
8281
8903
  jwks: {
@@ -8311,9 +8933,7 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
8311
8933
  dpop_signing_alg_values_supported: string[];
8312
8934
  credential_endpoint: string;
8313
8935
  credentials_supported: {
8314
- format: "vc+sd-jwt";
8315
- cryptographic_binding_methods_supported: string[];
8316
- cryptographic_suites_supported: string[];
8936
+ id: string;
8317
8937
  display: {
8318
8938
  name: string;
8319
8939
  locale: string;
@@ -8324,8 +8944,53 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
8324
8944
  background_color: string;
8325
8945
  text_color: string;
8326
8946
  }[];
8947
+ format: "vc+sd-jwt";
8948
+ cryptographic_binding_methods_supported: string[];
8949
+ cryptographic_suites_supported: string[];
8950
+ credential_definition: {
8951
+ type: string[];
8952
+ credentialSubject: Record<string, {
8953
+ mandatory: boolean;
8954
+ display: {
8955
+ name: string;
8956
+ locale: string;
8957
+ }[];
8958
+ }>;
8959
+ };
8327
8960
  }[];
8328
8961
  };
8962
+ wallet_relying_party?: {
8963
+ jwks: {
8964
+ keys: {
8965
+ kty: "RSA" | "EC";
8966
+ alg?: string | undefined;
8967
+ crv?: string | undefined;
8968
+ d?: string | undefined;
8969
+ dp?: string | undefined;
8970
+ dq?: string | undefined;
8971
+ e?: string | undefined;
8972
+ ext?: boolean | undefined;
8973
+ k?: string | undefined;
8974
+ key_ops?: string[] | undefined;
8975
+ kid?: string | undefined;
8976
+ n?: string | undefined;
8977
+ p?: string | undefined;
8978
+ q?: string | undefined;
8979
+ qi?: string | undefined;
8980
+ use?: string | undefined;
8981
+ x?: string | undefined;
8982
+ y?: string | undefined;
8983
+ x5c?: string[] | undefined;
8984
+ x5t?: string | undefined;
8985
+ "x5t#S256"?: string | undefined;
8986
+ x5u?: string | undefined;
8987
+ }[];
8988
+ };
8989
+ application_type?: string | undefined;
8990
+ client_id?: string | undefined;
8991
+ client_name?: string | undefined;
8992
+ contacts?: string[] | undefined;
8993
+ } | undefined;
8329
8994
  }, {
8330
8995
  openid_credential_issuer: {
8331
8996
  jwks: {
@@ -8361,9 +9026,7 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
8361
9026
  dpop_signing_alg_values_supported: string[];
8362
9027
  credential_endpoint: string;
8363
9028
  credentials_supported: {
8364
- format: "vc+sd-jwt";
8365
- cryptographic_binding_methods_supported: string[];
8366
- cryptographic_suites_supported: string[];
9029
+ id: string;
8367
9030
  display: {
8368
9031
  name: string;
8369
9032
  locale: string;
@@ -8374,8 +9037,53 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
8374
9037
  background_color: string;
8375
9038
  text_color: string;
8376
9039
  }[];
9040
+ format: "vc+sd-jwt";
9041
+ cryptographic_binding_methods_supported: string[];
9042
+ cryptographic_suites_supported: string[];
9043
+ credential_definition: {
9044
+ type: string[];
9045
+ credentialSubject: Record<string, {
9046
+ mandatory: boolean;
9047
+ display: {
9048
+ name: string;
9049
+ locale: string;
9050
+ }[];
9051
+ }>;
9052
+ };
8377
9053
  }[];
8378
9054
  };
9055
+ wallet_relying_party?: {
9056
+ jwks: {
9057
+ keys: {
9058
+ kty: "RSA" | "EC";
9059
+ alg?: string | undefined;
9060
+ crv?: string | undefined;
9061
+ d?: string | undefined;
9062
+ dp?: string | undefined;
9063
+ dq?: string | undefined;
9064
+ e?: string | undefined;
9065
+ ext?: boolean | undefined;
9066
+ k?: string | undefined;
9067
+ key_ops?: string[] | undefined;
9068
+ kid?: string | undefined;
9069
+ n?: string | undefined;
9070
+ p?: string | undefined;
9071
+ q?: string | undefined;
9072
+ qi?: string | undefined;
9073
+ use?: string | undefined;
9074
+ x?: string | undefined;
9075
+ y?: string | undefined;
9076
+ x5c?: string[] | undefined;
9077
+ x5t?: string | undefined;
9078
+ "x5t#S256"?: string | undefined;
9079
+ x5u?: string | undefined;
9080
+ }[];
9081
+ };
9082
+ application_type?: string | undefined;
9083
+ client_id?: string | undefined;
9084
+ client_name?: string | undefined;
9085
+ contacts?: string[] | undefined;
9086
+ } | undefined;
8379
9087
  }>;
8380
9088
  }, "strip", z.ZodTypeAny, {
8381
9089
  jwks: {
@@ -8439,9 +9147,7 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
8439
9147
  dpop_signing_alg_values_supported: string[];
8440
9148
  credential_endpoint: string;
8441
9149
  credentials_supported: {
8442
- format: "vc+sd-jwt";
8443
- cryptographic_binding_methods_supported: string[];
8444
- cryptographic_suites_supported: string[];
9150
+ id: string;
8445
9151
  display: {
8446
9152
  name: string;
8447
9153
  locale: string;
@@ -8452,8 +9158,53 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
8452
9158
  background_color: string;
8453
9159
  text_color: string;
8454
9160
  }[];
9161
+ format: "vc+sd-jwt";
9162
+ cryptographic_binding_methods_supported: string[];
9163
+ cryptographic_suites_supported: string[];
9164
+ credential_definition: {
9165
+ type: string[];
9166
+ credentialSubject: Record<string, {
9167
+ mandatory: boolean;
9168
+ display: {
9169
+ name: string;
9170
+ locale: string;
9171
+ }[];
9172
+ }>;
9173
+ };
8455
9174
  }[];
8456
9175
  };
9176
+ wallet_relying_party?: {
9177
+ jwks: {
9178
+ keys: {
9179
+ kty: "RSA" | "EC";
9180
+ alg?: string | undefined;
9181
+ crv?: string | undefined;
9182
+ d?: string | undefined;
9183
+ dp?: string | undefined;
9184
+ dq?: string | undefined;
9185
+ e?: string | undefined;
9186
+ ext?: boolean | undefined;
9187
+ k?: string | undefined;
9188
+ key_ops?: string[] | undefined;
9189
+ kid?: string | undefined;
9190
+ n?: string | undefined;
9191
+ p?: string | undefined;
9192
+ q?: string | undefined;
9193
+ qi?: string | undefined;
9194
+ use?: string | undefined;
9195
+ x?: string | undefined;
9196
+ y?: string | undefined;
9197
+ x5c?: string[] | undefined;
9198
+ x5t?: string | undefined;
9199
+ "x5t#S256"?: string | undefined;
9200
+ x5u?: string | undefined;
9201
+ }[];
9202
+ };
9203
+ application_type?: string | undefined;
9204
+ client_id?: string | undefined;
9205
+ client_name?: string | undefined;
9206
+ contacts?: string[] | undefined;
9207
+ } | undefined;
8457
9208
  };
8458
9209
  }, {
8459
9210
  jwks: {
@@ -8517,9 +9268,7 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
8517
9268
  dpop_signing_alg_values_supported: string[];
8518
9269
  credential_endpoint: string;
8519
9270
  credentials_supported: {
8520
- format: "vc+sd-jwt";
8521
- cryptographic_binding_methods_supported: string[];
8522
- cryptographic_suites_supported: string[];
9271
+ id: string;
8523
9272
  display: {
8524
9273
  name: string;
8525
9274
  locale: string;
@@ -8530,8 +9279,53 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
8530
9279
  background_color: string;
8531
9280
  text_color: string;
8532
9281
  }[];
9282
+ format: "vc+sd-jwt";
9283
+ cryptographic_binding_methods_supported: string[];
9284
+ cryptographic_suites_supported: string[];
9285
+ credential_definition: {
9286
+ type: string[];
9287
+ credentialSubject: Record<string, {
9288
+ mandatory: boolean;
9289
+ display: {
9290
+ name: string;
9291
+ locale: string;
9292
+ }[];
9293
+ }>;
9294
+ };
8533
9295
  }[];
8534
9296
  };
9297
+ wallet_relying_party?: {
9298
+ jwks: {
9299
+ keys: {
9300
+ kty: "RSA" | "EC";
9301
+ alg?: string | undefined;
9302
+ crv?: string | undefined;
9303
+ d?: string | undefined;
9304
+ dp?: string | undefined;
9305
+ dq?: string | undefined;
9306
+ e?: string | undefined;
9307
+ ext?: boolean | undefined;
9308
+ k?: string | undefined;
9309
+ key_ops?: string[] | undefined;
9310
+ kid?: string | undefined;
9311
+ n?: string | undefined;
9312
+ p?: string | undefined;
9313
+ q?: string | undefined;
9314
+ qi?: string | undefined;
9315
+ use?: string | undefined;
9316
+ x?: string | undefined;
9317
+ y?: string | undefined;
9318
+ x5c?: string[] | undefined;
9319
+ x5t?: string | undefined;
9320
+ "x5t#S256"?: string | undefined;
9321
+ x5u?: string | undefined;
9322
+ }[];
9323
+ };
9324
+ application_type?: string | undefined;
9325
+ client_id?: string | undefined;
9326
+ client_name?: string | undefined;
9327
+ contacts?: string[] | undefined;
9328
+ } | undefined;
8535
9329
  };
8536
9330
  }>;
8537
9331
  }, "strip", z.ZodTypeAny, {
@@ -8597,9 +9391,7 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
8597
9391
  dpop_signing_alg_values_supported: string[];
8598
9392
  credential_endpoint: string;
8599
9393
  credentials_supported: {
8600
- format: "vc+sd-jwt";
8601
- cryptographic_binding_methods_supported: string[];
8602
- cryptographic_suites_supported: string[];
9394
+ id: string;
8603
9395
  display: {
8604
9396
  name: string;
8605
9397
  locale: string;
@@ -8610,8 +9402,53 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
8610
9402
  background_color: string;
8611
9403
  text_color: string;
8612
9404
  }[];
9405
+ format: "vc+sd-jwt";
9406
+ cryptographic_binding_methods_supported: string[];
9407
+ cryptographic_suites_supported: string[];
9408
+ credential_definition: {
9409
+ type: string[];
9410
+ credentialSubject: Record<string, {
9411
+ mandatory: boolean;
9412
+ display: {
9413
+ name: string;
9414
+ locale: string;
9415
+ }[];
9416
+ }>;
9417
+ };
8613
9418
  }[];
8614
9419
  };
9420
+ wallet_relying_party?: {
9421
+ jwks: {
9422
+ keys: {
9423
+ kty: "RSA" | "EC";
9424
+ alg?: string | undefined;
9425
+ crv?: string | undefined;
9426
+ d?: string | undefined;
9427
+ dp?: string | undefined;
9428
+ dq?: string | undefined;
9429
+ e?: string | undefined;
9430
+ ext?: boolean | undefined;
9431
+ k?: string | undefined;
9432
+ key_ops?: string[] | undefined;
9433
+ kid?: string | undefined;
9434
+ n?: string | undefined;
9435
+ p?: string | undefined;
9436
+ q?: string | undefined;
9437
+ qi?: string | undefined;
9438
+ use?: string | undefined;
9439
+ x?: string | undefined;
9440
+ y?: string | undefined;
9441
+ x5c?: string[] | undefined;
9442
+ x5t?: string | undefined;
9443
+ "x5t#S256"?: string | undefined;
9444
+ x5u?: string | undefined;
9445
+ }[];
9446
+ };
9447
+ application_type?: string | undefined;
9448
+ client_id?: string | undefined;
9449
+ client_name?: string | undefined;
9450
+ contacts?: string[] | undefined;
9451
+ } | undefined;
8615
9452
  };
8616
9453
  };
8617
9454
  }, {
@@ -8677,9 +9514,7 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
8677
9514
  dpop_signing_alg_values_supported: string[];
8678
9515
  credential_endpoint: string;
8679
9516
  credentials_supported: {
8680
- format: "vc+sd-jwt";
8681
- cryptographic_binding_methods_supported: string[];
8682
- cryptographic_suites_supported: string[];
9517
+ id: string;
8683
9518
  display: {
8684
9519
  name: string;
8685
9520
  locale: string;
@@ -8690,8 +9525,53 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
8690
9525
  background_color: string;
8691
9526
  text_color: string;
8692
9527
  }[];
8693
- }[];
8694
- };
9528
+ format: "vc+sd-jwt";
9529
+ cryptographic_binding_methods_supported: string[];
9530
+ cryptographic_suites_supported: string[];
9531
+ credential_definition: {
9532
+ type: string[];
9533
+ credentialSubject: Record<string, {
9534
+ mandatory: boolean;
9535
+ display: {
9536
+ name: string;
9537
+ locale: string;
9538
+ }[];
9539
+ }>;
9540
+ };
9541
+ }[];
9542
+ };
9543
+ wallet_relying_party?: {
9544
+ jwks: {
9545
+ keys: {
9546
+ kty: "RSA" | "EC";
9547
+ alg?: string | undefined;
9548
+ crv?: string | undefined;
9549
+ d?: string | undefined;
9550
+ dp?: string | undefined;
9551
+ dq?: string | undefined;
9552
+ e?: string | undefined;
9553
+ ext?: boolean | undefined;
9554
+ k?: string | undefined;
9555
+ key_ops?: string[] | undefined;
9556
+ kid?: string | undefined;
9557
+ n?: string | undefined;
9558
+ p?: string | undefined;
9559
+ q?: string | undefined;
9560
+ qi?: string | undefined;
9561
+ use?: string | undefined;
9562
+ x?: string | undefined;
9563
+ y?: string | undefined;
9564
+ x5c?: string[] | undefined;
9565
+ x5t?: string | undefined;
9566
+ "x5t#S256"?: string | undefined;
9567
+ x5u?: string | undefined;
9568
+ }[];
9569
+ };
9570
+ application_type?: string | undefined;
9571
+ client_id?: string | undefined;
9572
+ client_name?: string | undefined;
9573
+ contacts?: string[] | undefined;
9574
+ } | undefined;
8695
9575
  };
8696
9576
  };
8697
9577
  }>>, z.ZodObject<{
@@ -10436,209 +11316,8 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10436
11316
  }[];
10437
11317
  }>;
10438
11318
  contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10439
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
10440
- application_type: z.ZodOptional<z.ZodString>;
10441
- client_id: z.ZodOptional<z.ZodString>;
10442
- client_name: z.ZodOptional<z.ZodString>;
10443
- jwks: z.ZodObject<{
10444
- keys: z.ZodArray<z.ZodObject<{
10445
- alg: z.ZodOptional<z.ZodString>;
10446
- crv: z.ZodOptional<z.ZodString>;
10447
- d: z.ZodOptional<z.ZodString>;
10448
- dp: z.ZodOptional<z.ZodString>;
10449
- dq: z.ZodOptional<z.ZodString>;
10450
- e: z.ZodOptional<z.ZodString>;
10451
- ext: z.ZodOptional<z.ZodBoolean>;
10452
- k: z.ZodOptional<z.ZodString>;
10453
- key_ops: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10454
- kid: z.ZodOptional<z.ZodString>;
10455
- kty: z.ZodUnion<[z.ZodLiteral<"RSA">, z.ZodLiteral<"EC">]>;
10456
- n: z.ZodOptional<z.ZodString>;
10457
- p: z.ZodOptional<z.ZodString>;
10458
- q: z.ZodOptional<z.ZodString>;
10459
- qi: z.ZodOptional<z.ZodString>;
10460
- use: z.ZodOptional<z.ZodString>;
10461
- x: z.ZodOptional<z.ZodString>;
10462
- y: z.ZodOptional<z.ZodString>;
10463
- x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10464
- x5t: z.ZodOptional<z.ZodString>;
10465
- "x5t#S256": z.ZodOptional<z.ZodString>;
10466
- x5u: z.ZodOptional<z.ZodString>;
10467
- }, "strip", z.ZodTypeAny, {
10468
- kty: "RSA" | "EC";
10469
- alg?: string | undefined;
10470
- crv?: string | undefined;
10471
- d?: string | undefined;
10472
- dp?: string | undefined;
10473
- dq?: string | undefined;
10474
- e?: string | undefined;
10475
- ext?: boolean | undefined;
10476
- k?: string | undefined;
10477
- key_ops?: string[] | undefined;
10478
- kid?: string | undefined;
10479
- n?: string | undefined;
10480
- p?: string | undefined;
10481
- q?: string | undefined;
10482
- qi?: string | undefined;
10483
- use?: string | undefined;
10484
- x?: string | undefined;
10485
- y?: string | undefined;
10486
- x5c?: string[] | undefined;
10487
- x5t?: string | undefined;
10488
- "x5t#S256"?: string | undefined;
10489
- x5u?: string | undefined;
10490
- }, {
10491
- kty: "RSA" | "EC";
10492
- alg?: string | undefined;
10493
- crv?: string | undefined;
10494
- d?: string | undefined;
10495
- dp?: string | undefined;
10496
- dq?: string | undefined;
10497
- e?: string | undefined;
10498
- ext?: boolean | undefined;
10499
- k?: string | undefined;
10500
- key_ops?: string[] | undefined;
10501
- kid?: string | undefined;
10502
- n?: string | undefined;
10503
- p?: string | undefined;
10504
- q?: string | undefined;
10505
- qi?: string | undefined;
10506
- use?: string | undefined;
10507
- x?: string | undefined;
10508
- y?: string | undefined;
10509
- x5c?: string[] | undefined;
10510
- x5t?: string | undefined;
10511
- "x5t#S256"?: string | undefined;
10512
- x5u?: string | undefined;
10513
- }>, "many">;
10514
- }, "strip", z.ZodTypeAny, {
10515
- keys: {
10516
- kty: "RSA" | "EC";
10517
- alg?: string | undefined;
10518
- crv?: string | undefined;
10519
- d?: string | undefined;
10520
- dp?: string | undefined;
10521
- dq?: string | undefined;
10522
- e?: string | undefined;
10523
- ext?: boolean | undefined;
10524
- k?: string | undefined;
10525
- key_ops?: string[] | undefined;
10526
- kid?: string | undefined;
10527
- n?: string | undefined;
10528
- p?: string | undefined;
10529
- q?: string | undefined;
10530
- qi?: string | undefined;
10531
- use?: string | undefined;
10532
- x?: string | undefined;
10533
- y?: string | undefined;
10534
- x5c?: string[] | undefined;
10535
- x5t?: string | undefined;
10536
- "x5t#S256"?: string | undefined;
10537
- x5u?: string | undefined;
10538
- }[];
10539
- }, {
10540
- keys: {
10541
- kty: "RSA" | "EC";
10542
- alg?: string | undefined;
10543
- crv?: string | undefined;
10544
- d?: string | undefined;
10545
- dp?: string | undefined;
10546
- dq?: string | undefined;
10547
- e?: string | undefined;
10548
- ext?: boolean | undefined;
10549
- k?: string | undefined;
10550
- key_ops?: string[] | undefined;
10551
- kid?: string | undefined;
10552
- n?: string | undefined;
10553
- p?: string | undefined;
10554
- q?: string | undefined;
10555
- qi?: string | undefined;
10556
- use?: string | undefined;
10557
- x?: string | undefined;
10558
- y?: string | undefined;
10559
- x5c?: string[] | undefined;
10560
- x5t?: string | undefined;
10561
- "x5t#S256"?: string | undefined;
10562
- x5u?: string | undefined;
10563
- }[];
10564
- }>;
10565
- contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10566
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
10567
- application_type: z.ZodOptional<z.ZodString>;
10568
- client_id: z.ZodOptional<z.ZodString>;
10569
- client_name: z.ZodOptional<z.ZodString>;
10570
- jwks: z.ZodObject<{
10571
- keys: z.ZodArray<z.ZodObject<{
10572
- alg: z.ZodOptional<z.ZodString>;
10573
- crv: z.ZodOptional<z.ZodString>;
10574
- d: z.ZodOptional<z.ZodString>;
10575
- dp: z.ZodOptional<z.ZodString>;
10576
- dq: z.ZodOptional<z.ZodString>;
10577
- e: z.ZodOptional<z.ZodString>;
10578
- ext: z.ZodOptional<z.ZodBoolean>;
10579
- k: z.ZodOptional<z.ZodString>;
10580
- key_ops: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10581
- kid: z.ZodOptional<z.ZodString>;
10582
- kty: z.ZodUnion<[z.ZodLiteral<"RSA">, z.ZodLiteral<"EC">]>;
10583
- n: z.ZodOptional<z.ZodString>;
10584
- p: z.ZodOptional<z.ZodString>;
10585
- q: z.ZodOptional<z.ZodString>;
10586
- qi: z.ZodOptional<z.ZodString>;
10587
- use: z.ZodOptional<z.ZodString>;
10588
- x: z.ZodOptional<z.ZodString>;
10589
- y: z.ZodOptional<z.ZodString>;
10590
- x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10591
- x5t: z.ZodOptional<z.ZodString>;
10592
- "x5t#S256": z.ZodOptional<z.ZodString>;
10593
- x5u: z.ZodOptional<z.ZodString>;
10594
- }, "strip", z.ZodTypeAny, {
10595
- kty: "RSA" | "EC";
10596
- alg?: string | undefined;
10597
- crv?: string | undefined;
10598
- d?: string | undefined;
10599
- dp?: string | undefined;
10600
- dq?: string | undefined;
10601
- e?: string | undefined;
10602
- ext?: boolean | undefined;
10603
- k?: string | undefined;
10604
- key_ops?: string[] | undefined;
10605
- kid?: string | undefined;
10606
- n?: string | undefined;
10607
- p?: string | undefined;
10608
- q?: string | undefined;
10609
- qi?: string | undefined;
10610
- use?: string | undefined;
10611
- x?: string | undefined;
10612
- y?: string | undefined;
10613
- x5c?: string[] | undefined;
10614
- x5t?: string | undefined;
10615
- "x5t#S256"?: string | undefined;
10616
- x5u?: string | undefined;
10617
- }, {
10618
- kty: "RSA" | "EC";
10619
- alg?: string | undefined;
10620
- crv?: string | undefined;
10621
- d?: string | undefined;
10622
- dp?: string | undefined;
10623
- dq?: string | undefined;
10624
- e?: string | undefined;
10625
- ext?: boolean | undefined;
10626
- k?: string | undefined;
10627
- key_ops?: string[] | undefined;
10628
- kid?: string | undefined;
10629
- n?: string | undefined;
10630
- p?: string | undefined;
10631
- q?: string | undefined;
10632
- qi?: string | undefined;
10633
- use?: string | undefined;
10634
- x?: string | undefined;
10635
- y?: string | undefined;
10636
- x5c?: string[] | undefined;
10637
- x5t?: string | undefined;
10638
- "x5t#S256"?: string | undefined;
10639
- x5u?: string | undefined;
10640
- }>, "many">;
10641
- }, "strip", z.ZodTypeAny, {
11319
+ }, "strip", z.ZodTypeAny, {
11320
+ jwks: {
10642
11321
  keys: {
10643
11322
  kty: "RSA" | "EC";
10644
11323
  alg?: string | undefined;
@@ -10663,7 +11342,13 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10663
11342
  "x5t#S256"?: string | undefined;
10664
11343
  x5u?: string | undefined;
10665
11344
  }[];
10666
- }, {
11345
+ };
11346
+ application_type?: string | undefined;
11347
+ client_id?: string | undefined;
11348
+ client_name?: string | undefined;
11349
+ contacts?: string[] | undefined;
11350
+ }, {
11351
+ jwks: {
10667
11352
  keys: {
10668
11353
  kty: "RSA" | "EC";
10669
11354
  alg?: string | undefined;
@@ -10688,9 +11373,12 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10688
11373
  "x5t#S256"?: string | undefined;
10689
11374
  x5u?: string | undefined;
10690
11375
  }[];
10691
- }>;
10692
- contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10693
- }, z.ZodTypeAny, "passthrough">>;
11376
+ };
11377
+ application_type?: string | undefined;
11378
+ client_id?: string | undefined;
11379
+ client_name?: string | undefined;
11380
+ contacts?: string[] | undefined;
11381
+ }>;
10694
11382
  }, "strip", z.ZodTypeAny, {
10695
11383
  wallet_relying_party: {
10696
11384
  jwks: {
@@ -10723,8 +11411,6 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10723
11411
  client_id?: string | undefined;
10724
11412
  client_name?: string | undefined;
10725
11413
  contacts?: string[] | undefined;
10726
- } & {
10727
- [k: string]: unknown;
10728
11414
  };
10729
11415
  }, {
10730
11416
  wallet_relying_party: {
@@ -10758,8 +11444,6 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10758
11444
  client_id?: string | undefined;
10759
11445
  client_name?: string | undefined;
10760
11446
  contacts?: string[] | undefined;
10761
- } & {
10762
- [k: string]: unknown;
10763
11447
  };
10764
11448
  }>;
10765
11449
  }, "strip", z.ZodTypeAny, {
@@ -10795,8 +11479,6 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10795
11479
  client_id?: string | undefined;
10796
11480
  client_name?: string | undefined;
10797
11481
  contacts?: string[] | undefined;
10798
- } & {
10799
- [k: string]: unknown;
10800
11482
  };
10801
11483
  };
10802
11484
  }, {
@@ -10832,8 +11514,6 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10832
11514
  client_id?: string | undefined;
10833
11515
  client_name?: string | undefined;
10834
11516
  contacts?: string[] | undefined;
10835
- } & {
10836
- [k: string]: unknown;
10837
11517
  };
10838
11518
  };
10839
11519
  }>;
@@ -10871,8 +11551,6 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10871
11551
  client_id?: string | undefined;
10872
11552
  client_name?: string | undefined;
10873
11553
  contacts?: string[] | undefined;
10874
- } & {
10875
- [k: string]: unknown;
10876
11554
  };
10877
11555
  };
10878
11556
  };
@@ -10910,8 +11588,6 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10910
11588
  client_id?: string | undefined;
10911
11589
  client_name?: string | undefined;
10912
11590
  contacts?: string[] | undefined;
10913
- } & {
10914
- [k: string]: unknown;
10915
11591
  };
10916
11592
  };
10917
11593
  };