@pagopa/io-react-native-wallet 2.0.0-next.1 → 2.0.0-next.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (174) hide show
  1. package/lib/commonjs/credential/issuance/02-evaluate-issuer-trust.js +2 -2
  2. package/lib/commonjs/credential/issuance/02-evaluate-issuer-trust.js.map +1 -1
  3. package/lib/commonjs/credential/issuance/03-start-user-authorization.js +38 -24
  4. package/lib/commonjs/credential/issuance/03-start-user-authorization.js.map +1 -1
  5. package/lib/commonjs/credential/issuance/05-authorize-access.js +6 -10
  6. package/lib/commonjs/credential/issuance/05-authorize-access.js.map +1 -1
  7. package/lib/commonjs/credential/issuance/06-obtain-credential.js +43 -11
  8. package/lib/commonjs/credential/issuance/06-obtain-credential.js.map +1 -1
  9. package/lib/commonjs/credential/issuance/07-verify-and-parse-credential.js +51 -48
  10. package/lib/commonjs/credential/issuance/07-verify-and-parse-credential.js.map +1 -1
  11. package/lib/commonjs/credential/issuance/README.md +34 -13
  12. package/lib/commonjs/credential/issuance/const.js +1 -1
  13. package/lib/commonjs/credential/issuance/types.js +16 -10
  14. package/lib/commonjs/credential/issuance/types.js.map +1 -1
  15. package/lib/commonjs/credential/presentation/02-evaluate-rp-trust.js +2 -2
  16. package/lib/commonjs/credential/presentation/02-evaluate-rp-trust.js.map +1 -1
  17. package/lib/commonjs/credential/presentation/05-verify-request-object.js.map +1 -1
  18. package/lib/commonjs/credential/presentation/07-evaluate-dcql-query.js +4 -4
  19. package/lib/commonjs/credential/presentation/07-evaluate-input-descriptor.js +3 -3
  20. package/lib/commonjs/credential/presentation/08-send-authorization-response.js.map +1 -1
  21. package/lib/commonjs/credential/status/README.md +0 -1
  22. package/lib/commonjs/sd-jwt/__test__/index.test.js +11 -15
  23. package/lib/commonjs/sd-jwt/__test__/index.test.js.map +1 -1
  24. package/lib/commonjs/sd-jwt/__test__/types.test.js +5 -2
  25. package/lib/commonjs/sd-jwt/__test__/types.test.js.map +1 -1
  26. package/lib/commonjs/sd-jwt/__test__/utils.test.js +37 -0
  27. package/lib/commonjs/sd-jwt/__test__/utils.test.js.map +1 -0
  28. package/lib/commonjs/sd-jwt/index.js +20 -0
  29. package/lib/commonjs/sd-jwt/index.js.map +1 -1
  30. package/lib/commonjs/sd-jwt/types.js +51 -4
  31. package/lib/commonjs/sd-jwt/types.js.map +1 -1
  32. package/lib/commonjs/sd-jwt/utils.js +64 -0
  33. package/lib/commonjs/sd-jwt/utils.js.map +1 -0
  34. package/lib/commonjs/trust/build-chain.js +252 -0
  35. package/lib/commonjs/trust/build-chain.js.map +1 -0
  36. package/lib/commonjs/trust/index.js +11 -282
  37. package/lib/commonjs/trust/index.js.map +1 -1
  38. package/lib/commonjs/trust/types.js +18 -13
  39. package/lib/commonjs/trust/types.js.map +1 -1
  40. package/lib/commonjs/trust/{chain.js → verify-chain.js} +40 -5
  41. package/lib/commonjs/trust/verify-chain.js.map +1 -0
  42. package/lib/commonjs/utils/errors.js.map +1 -1
  43. package/lib/commonjs/utils/par.js +32 -22
  44. package/lib/commonjs/utils/par.js.map +1 -1
  45. package/lib/commonjs/utils/pop.js +1 -1
  46. package/lib/commonjs/utils/pop.js.map +1 -1
  47. package/lib/commonjs/wallet-instance-attestation/types.js +5 -1
  48. package/lib/commonjs/wallet-instance-attestation/types.js.map +1 -1
  49. package/lib/module/credential/issuance/02-evaluate-issuer-trust.js +1 -1
  50. package/lib/module/credential/issuance/02-evaluate-issuer-trust.js.map +1 -1
  51. package/lib/module/credential/issuance/03-start-user-authorization.js +38 -24
  52. package/lib/module/credential/issuance/03-start-user-authorization.js.map +1 -1
  53. package/lib/module/credential/issuance/05-authorize-access.js +6 -10
  54. package/lib/module/credential/issuance/05-authorize-access.js.map +1 -1
  55. package/lib/module/credential/issuance/06-obtain-credential.js +44 -12
  56. package/lib/module/credential/issuance/06-obtain-credential.js.map +1 -1
  57. package/lib/module/credential/issuance/07-verify-and-parse-credential.js +51 -48
  58. package/lib/module/credential/issuance/07-verify-and-parse-credential.js.map +1 -1
  59. package/lib/module/credential/issuance/README.md +34 -13
  60. package/lib/module/credential/issuance/const.js +1 -1
  61. package/lib/module/credential/issuance/types.js +12 -8
  62. package/lib/module/credential/issuance/types.js.map +1 -1
  63. package/lib/module/credential/presentation/02-evaluate-rp-trust.js +1 -1
  64. package/lib/module/credential/presentation/02-evaluate-rp-trust.js.map +1 -1
  65. package/lib/module/credential/presentation/05-verify-request-object.js.map +1 -1
  66. package/lib/module/credential/presentation/07-evaluate-dcql-query.js +4 -4
  67. package/lib/module/credential/presentation/07-evaluate-input-descriptor.js +3 -3
  68. package/lib/module/credential/presentation/08-send-authorization-response.js +1 -1
  69. package/lib/module/credential/presentation/08-send-authorization-response.js.map +1 -1
  70. package/lib/module/credential/status/README.md +0 -1
  71. package/lib/module/sd-jwt/__test__/index.test.js +11 -16
  72. package/lib/module/sd-jwt/__test__/index.test.js.map +1 -1
  73. package/lib/module/sd-jwt/__test__/types.test.js +5 -2
  74. package/lib/module/sd-jwt/__test__/types.test.js.map +1 -1
  75. package/lib/module/sd-jwt/__test__/utils.test.js +35 -0
  76. package/lib/module/sd-jwt/__test__/utils.test.js.map +1 -0
  77. package/lib/module/sd-jwt/index.js +1 -0
  78. package/lib/module/sd-jwt/index.js.map +1 -1
  79. package/lib/module/sd-jwt/types.js +50 -3
  80. package/lib/module/sd-jwt/types.js.map +1 -1
  81. package/lib/module/sd-jwt/utils.js +57 -0
  82. package/lib/module/sd-jwt/utils.js.map +1 -0
  83. package/lib/module/trust/build-chain.js +235 -0
  84. package/lib/module/trust/build-chain.js.map +1 -0
  85. package/lib/module/trust/index.js +5 -268
  86. package/lib/module/trust/index.js.map +1 -1
  87. package/lib/module/trust/types.js +18 -13
  88. package/lib/module/trust/types.js.map +1 -1
  89. package/lib/module/trust/{chain.js → verify-chain.js} +36 -2
  90. package/lib/module/trust/verify-chain.js.map +1 -0
  91. package/lib/module/utils/errors.js +1 -1
  92. package/lib/module/utils/errors.js.map +1 -1
  93. package/lib/module/utils/par.js +29 -20
  94. package/lib/module/utils/par.js.map +1 -1
  95. package/lib/module/utils/pop.js +1 -1
  96. package/lib/module/utils/pop.js.map +1 -1
  97. package/lib/module/wallet-instance-attestation/types.js +5 -1
  98. package/lib/module/wallet-instance-attestation/types.js.map +1 -1
  99. package/lib/typescript/client/generated/wallet-provider.d.ts +12 -12
  100. package/lib/typescript/credential/issuance/01-start-flow.d.ts +2 -2
  101. package/lib/typescript/credential/issuance/01-start-flow.d.ts.map +1 -1
  102. package/lib/typescript/credential/issuance/02-evaluate-issuer-trust.d.ts.map +1 -1
  103. package/lib/typescript/credential/issuance/03-start-user-authorization.d.ts +7 -6
  104. package/lib/typescript/credential/issuance/03-start-user-authorization.d.ts.map +1 -1
  105. package/lib/typescript/credential/issuance/05-authorize-access.d.ts.map +1 -1
  106. package/lib/typescript/credential/issuance/06-obtain-credential.d.ts +10 -5
  107. package/lib/typescript/credential/issuance/06-obtain-credential.d.ts.map +1 -1
  108. package/lib/typescript/credential/issuance/07-verify-and-parse-credential.d.ts +3 -2
  109. package/lib/typescript/credential/issuance/07-verify-and-parse-credential.d.ts.map +1 -1
  110. package/lib/typescript/credential/issuance/const.d.ts +1 -1
  111. package/lib/typescript/credential/issuance/types.d.ts +46 -26
  112. package/lib/typescript/credential/issuance/types.d.ts.map +1 -1
  113. package/lib/typescript/credential/presentation/02-evaluate-rp-trust.d.ts.map +1 -1
  114. package/lib/typescript/credential/presentation/05-verify-request-object.d.ts +1 -1
  115. package/lib/typescript/credential/presentation/05-verify-request-object.d.ts.map +1 -1
  116. package/lib/typescript/credential/presentation/08-send-authorization-response.d.ts +2 -2
  117. package/lib/typescript/credential/presentation/08-send-authorization-response.d.ts.map +1 -1
  118. package/lib/typescript/credential/presentation/types.d.ts +4 -4
  119. package/lib/typescript/pid/sd-jwt/types.d.ts +7 -7
  120. package/lib/typescript/sd-jwt/__test__/utils.test.d.ts +2 -0
  121. package/lib/typescript/sd-jwt/__test__/utils.test.d.ts.map +1 -0
  122. package/lib/typescript/sd-jwt/index.d.ts +21 -8
  123. package/lib/typescript/sd-jwt/index.d.ts.map +1 -1
  124. package/lib/typescript/sd-jwt/types.d.ts +194 -12
  125. package/lib/typescript/sd-jwt/types.d.ts.map +1 -1
  126. package/lib/typescript/sd-jwt/utils.d.ts +18 -0
  127. package/lib/typescript/sd-jwt/utils.d.ts.map +1 -0
  128. package/lib/typescript/trust/build-chain.d.ts +1300 -0
  129. package/lib/typescript/trust/build-chain.d.ts.map +1 -0
  130. package/lib/typescript/trust/index.d.ts +5 -1301
  131. package/lib/typescript/trust/index.d.ts.map +1 -1
  132. package/lib/typescript/trust/types.d.ts +788 -624
  133. package/lib/typescript/trust/types.d.ts.map +1 -1
  134. package/lib/typescript/trust/{chain.d.ts → verify-chain.d.ts} +17 -1
  135. package/lib/typescript/trust/verify-chain.d.ts.map +1 -0
  136. package/lib/typescript/utils/errors.d.ts +2 -2
  137. package/lib/typescript/utils/errors.d.ts.map +1 -1
  138. package/lib/typescript/utils/par.d.ts +29 -13
  139. package/lib/typescript/utils/par.d.ts.map +1 -1
  140. package/lib/typescript/wallet-instance-attestation/types.d.ts +9 -9
  141. package/lib/typescript/wallet-instance-attestation/types.d.ts.map +1 -1
  142. package/package.json +1 -1
  143. package/src/credential/issuance/01-start-flow.ts +2 -2
  144. package/src/credential/issuance/02-evaluate-issuer-trust.ts +1 -1
  145. package/src/credential/issuance/03-start-user-authorization.ts +57 -38
  146. package/src/credential/issuance/05-authorize-access.ts +5 -11
  147. package/src/credential/issuance/06-obtain-credential.ts +53 -23
  148. package/src/credential/issuance/07-verify-and-parse-credential.ts +54 -62
  149. package/src/credential/issuance/README.md +34 -13
  150. package/src/credential/issuance/const.ts +1 -1
  151. package/src/credential/issuance/types.ts +18 -8
  152. package/src/credential/presentation/02-evaluate-rp-trust.ts +1 -1
  153. package/src/credential/presentation/05-verify-request-object.ts +1 -1
  154. package/src/credential/presentation/07-evaluate-dcql-query.ts +4 -4
  155. package/src/credential/presentation/07-evaluate-input-descriptor.ts +3 -3
  156. package/src/credential/presentation/08-send-authorization-response.ts +4 -4
  157. package/src/credential/status/README.md +0 -1
  158. package/src/sd-jwt/__test__/index.test.ts +8 -29
  159. package/src/sd-jwt/__test__/types.test.ts +6 -2
  160. package/src/sd-jwt/__test__/utils.test.ts +37 -0
  161. package/src/sd-jwt/index.ts +2 -0
  162. package/src/sd-jwt/types.ts +49 -2
  163. package/src/sd-jwt/utils.ts +73 -0
  164. package/src/trust/build-chain.ts +395 -0
  165. package/src/trust/index.ts +5 -442
  166. package/src/trust/types.ts +23 -17
  167. package/src/trust/{chain.ts → verify-chain.ts} +41 -1
  168. package/src/utils/errors.ts +4 -4
  169. package/src/utils/par.ts +37 -21
  170. package/src/utils/pop.ts +1 -1
  171. package/src/wallet-instance-attestation/types.ts +3 -1
  172. package/lib/commonjs/trust/chain.js.map +0 -1
  173. package/lib/module/trust/chain.js.map +0 -1
  174. package/lib/typescript/trust/chain.d.ts.map +0 -1
@@ -1142,27 +1142,6 @@ export declare const TrustAnchorEntityConfiguration: z.ZodObject<{
1142
1142
  sub: string;
1143
1143
  iat: number;
1144
1144
  exp: number;
1145
- metadata: {
1146
- federation_entity: {
1147
- federation_fetch_endpoint?: string | undefined;
1148
- federation_list_endpoint?: string | undefined;
1149
- federation_resolve_endpoint?: string | undefined;
1150
- federation_trust_mark_status_endpoint?: string | undefined;
1151
- federation_trust_mark_list_endpoint?: string | undefined;
1152
- federation_trust_mark_endpoint?: string | undefined;
1153
- federation_historical_keys_endpoint?: string | undefined;
1154
- endpoint_auth_signing_alg_values_supported?: string | undefined;
1155
- organization_name?: string | undefined;
1156
- homepage_uri?: string | undefined;
1157
- policy_uri?: string | undefined;
1158
- logo_uri?: string | undefined;
1159
- contacts?: string[] | undefined;
1160
- } & {
1161
- [k: string]: unknown;
1162
- };
1163
- } & {
1164
- [k: string]: unknown;
1165
- };
1166
1145
  jwks: {
1167
1146
  keys: {
1168
1147
  kty: "RSA" | "EC";
@@ -1189,21 +1168,6 @@ export declare const TrustAnchorEntityConfiguration: z.ZodObject<{
1189
1168
  x5u?: string | undefined;
1190
1169
  }[];
1191
1170
  };
1192
- authority_hints?: string[] | undefined;
1193
- } & {
1194
- [k: string]: unknown;
1195
- };
1196
- }, {
1197
- header: {
1198
- alg: string;
1199
- kid: string;
1200
- typ: "entity-statement+jwt";
1201
- };
1202
- payload: {
1203
- iss: string;
1204
- sub: string;
1205
- iat: number;
1206
- exp: number;
1207
1171
  metadata: {
1208
1172
  federation_entity: {
1209
1173
  federation_fetch_endpoint?: string | undefined;
@@ -1225,6 +1189,21 @@ export declare const TrustAnchorEntityConfiguration: z.ZodObject<{
1225
1189
  } & {
1226
1190
  [k: string]: unknown;
1227
1191
  };
1192
+ authority_hints?: string[] | undefined;
1193
+ } & {
1194
+ [k: string]: unknown;
1195
+ };
1196
+ }, {
1197
+ header: {
1198
+ alg: string;
1199
+ kid: string;
1200
+ typ: "entity-statement+jwt";
1201
+ };
1202
+ payload: {
1203
+ iss: string;
1204
+ sub: string;
1205
+ iat: number;
1206
+ exp: number;
1228
1207
  jwks: {
1229
1208
  keys: {
1230
1209
  kty: "RSA" | "EC";
@@ -1251,6 +1230,27 @@ export declare const TrustAnchorEntityConfiguration: z.ZodObject<{
1251
1230
  x5u?: string | undefined;
1252
1231
  }[];
1253
1232
  };
1233
+ metadata: {
1234
+ federation_entity: {
1235
+ federation_fetch_endpoint?: string | undefined;
1236
+ federation_list_endpoint?: string | undefined;
1237
+ federation_resolve_endpoint?: string | undefined;
1238
+ federation_trust_mark_status_endpoint?: string | undefined;
1239
+ federation_trust_mark_list_endpoint?: string | undefined;
1240
+ federation_trust_mark_endpoint?: string | undefined;
1241
+ federation_historical_keys_endpoint?: string | undefined;
1242
+ endpoint_auth_signing_alg_values_supported?: string | undefined;
1243
+ organization_name?: string | undefined;
1244
+ homepage_uri?: string | undefined;
1245
+ policy_uri?: string | undefined;
1246
+ logo_uri?: string | undefined;
1247
+ contacts?: string[] | undefined;
1248
+ } & {
1249
+ [k: string]: unknown;
1250
+ };
1251
+ } & {
1252
+ [k: string]: unknown;
1253
+ };
1254
1254
  authority_hints?: string[] | undefined;
1255
1255
  } & {
1256
1256
  [k: string]: unknown;
@@ -2066,27 +2066,6 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2066
2066
  sub: string;
2067
2067
  iat: number;
2068
2068
  exp: number;
2069
- metadata: {
2070
- federation_entity: {
2071
- federation_fetch_endpoint?: string | undefined;
2072
- federation_list_endpoint?: string | undefined;
2073
- federation_resolve_endpoint?: string | undefined;
2074
- federation_trust_mark_status_endpoint?: string | undefined;
2075
- federation_trust_mark_list_endpoint?: string | undefined;
2076
- federation_trust_mark_endpoint?: string | undefined;
2077
- federation_historical_keys_endpoint?: string | undefined;
2078
- endpoint_auth_signing_alg_values_supported?: string | undefined;
2079
- organization_name?: string | undefined;
2080
- homepage_uri?: string | undefined;
2081
- policy_uri?: string | undefined;
2082
- logo_uri?: string | undefined;
2083
- contacts?: string[] | undefined;
2084
- } & {
2085
- [k: string]: unknown;
2086
- };
2087
- } & {
2088
- [k: string]: unknown;
2089
- };
2090
2069
  jwks: {
2091
2070
  keys: {
2092
2071
  kty: "RSA" | "EC";
@@ -2113,21 +2092,6 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2113
2092
  x5u?: string | undefined;
2114
2093
  }[];
2115
2094
  };
2116
- authority_hints?: string[] | undefined;
2117
- } & {
2118
- [k: string]: unknown;
2119
- };
2120
- }, {
2121
- header: {
2122
- alg: string;
2123
- kid: string;
2124
- typ: "entity-statement+jwt";
2125
- };
2126
- payload: {
2127
- iss: string;
2128
- sub: string;
2129
- iat: number;
2130
- exp: number;
2131
2095
  metadata: {
2132
2096
  federation_entity: {
2133
2097
  federation_fetch_endpoint?: string | undefined;
@@ -2149,6 +2113,21 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2149
2113
  } & {
2150
2114
  [k: string]: unknown;
2151
2115
  };
2116
+ authority_hints?: string[] | undefined;
2117
+ } & {
2118
+ [k: string]: unknown;
2119
+ };
2120
+ }, {
2121
+ header: {
2122
+ alg: string;
2123
+ kid: string;
2124
+ typ: "entity-statement+jwt";
2125
+ };
2126
+ payload: {
2127
+ iss: string;
2128
+ sub: string;
2129
+ iat: number;
2130
+ exp: number;
2152
2131
  jwks: {
2153
2132
  keys: {
2154
2133
  kty: "RSA" | "EC";
@@ -2175,6 +2154,27 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2175
2154
  x5u?: string | undefined;
2176
2155
  }[];
2177
2156
  };
2157
+ metadata: {
2158
+ federation_entity: {
2159
+ federation_fetch_endpoint?: string | undefined;
2160
+ federation_list_endpoint?: string | undefined;
2161
+ federation_resolve_endpoint?: string | undefined;
2162
+ federation_trust_mark_status_endpoint?: string | undefined;
2163
+ federation_trust_mark_list_endpoint?: string | undefined;
2164
+ federation_trust_mark_endpoint?: string | undefined;
2165
+ federation_historical_keys_endpoint?: string | undefined;
2166
+ endpoint_auth_signing_alg_values_supported?: string | undefined;
2167
+ organization_name?: string | undefined;
2168
+ homepage_uri?: string | undefined;
2169
+ policy_uri?: string | undefined;
2170
+ logo_uri?: string | undefined;
2171
+ contacts?: string[] | undefined;
2172
+ } & {
2173
+ [k: string]: unknown;
2174
+ };
2175
+ } & {
2176
+ [k: string]: unknown;
2177
+ };
2178
2178
  authority_hints?: string[] | undefined;
2179
2179
  } & {
2180
2180
  [k: string]: unknown;
@@ -2307,7 +2307,8 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2307
2307
  openid_credential_issuer: z.ZodObject<{
2308
2308
  credential_issuer: z.ZodString;
2309
2309
  credential_endpoint: z.ZodString;
2310
- revocation_endpoint: z.ZodString;
2310
+ revocation_endpoint: z.ZodOptional<z.ZodString>;
2311
+ nonce_endpoint: z.ZodString;
2311
2312
  status_attestation_endpoint: z.ZodString;
2312
2313
  display: z.ZodArray<z.ZodObject<{
2313
2314
  name: z.ZodString;
@@ -2319,8 +2320,25 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2319
2320
  name: string;
2320
2321
  locale: string;
2321
2322
  }>, "many">;
2322
- credential_configurations_supported: z.ZodRecord<z.ZodString, z.ZodObject<{
2323
- format: z.ZodUnion<[z.ZodLiteral<"vc+sd-jwt">, z.ZodLiteral<"vc+mdoc-cbor">]>;
2323
+ credential_configurations_supported: z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodDiscriminatedUnion<"format", [z.ZodObject<{
2324
+ format: z.ZodLiteral<"dc+sd-jwt">;
2325
+ vct: z.ZodString;
2326
+ }, "strip", z.ZodTypeAny, {
2327
+ vct: string;
2328
+ format: "dc+sd-jwt";
2329
+ }, {
2330
+ vct: string;
2331
+ format: "dc+sd-jwt";
2332
+ }>, z.ZodObject<{
2333
+ format: z.ZodLiteral<"mso_mdoc">;
2334
+ doctype: z.ZodString;
2335
+ }, "strip", z.ZodTypeAny, {
2336
+ format: "mso_mdoc";
2337
+ doctype: string;
2338
+ }, {
2339
+ format: "mso_mdoc";
2340
+ doctype: string;
2341
+ }>]>, z.ZodObject<{
2324
2342
  scope: z.ZodString;
2325
2343
  display: z.ZodArray<z.ZodObject<{
2326
2344
  name: z.ZodString;
@@ -2332,8 +2350,8 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2332
2350
  name: string;
2333
2351
  locale: string;
2334
2352
  }>, "many">;
2335
- claims: z.ZodRecord<z.ZodString, z.ZodObject<{
2336
- value_type: z.ZodString;
2353
+ claims: z.ZodArray<z.ZodObject<{
2354
+ path: z.ZodArray<z.ZodString, "many">;
2337
2355
  display: z.ZodArray<z.ZodObject<{
2338
2356
  name: z.ZodString;
2339
2357
  locale: z.ZodString;
@@ -2345,18 +2363,18 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2345
2363
  locale: string;
2346
2364
  }>, "many">;
2347
2365
  }, "strip", z.ZodTypeAny, {
2366
+ path: string[];
2348
2367
  display: {
2349
2368
  name: string;
2350
2369
  locale: string;
2351
2370
  }[];
2352
- value_type: string;
2353
2371
  }, {
2372
+ path: string[];
2354
2373
  display: {
2355
2374
  name: string;
2356
2375
  locale: string;
2357
2376
  }[];
2358
- value_type: string;
2359
- }>>;
2377
+ }>, "many">;
2360
2378
  cryptographic_binding_methods_supported: z.ZodArray<z.ZodString, "many">;
2361
2379
  credential_signing_alg_values_supported: z.ZodArray<z.ZodString, "many">;
2362
2380
  authentic_source: z.ZodOptional<z.ZodString>;
@@ -2366,76 +2384,74 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2366
2384
  description: z.ZodString;
2367
2385
  locale: z.ZodString;
2368
2386
  }, "strip", z.ZodTypeAny, {
2369
- title: string;
2370
- locale: string;
2371
2387
  description: string;
2372
- }, {
2373
- title: string;
2374
2388
  locale: string;
2389
+ title: string;
2390
+ }, {
2375
2391
  description: string;
2392
+ locale: string;
2393
+ title: string;
2376
2394
  }>, "many">;
2377
2395
  }, "strip", z.ZodTypeAny, {
2378
2396
  display: {
2379
- title: string;
2380
- locale: string;
2381
2397
  description: string;
2398
+ locale: string;
2399
+ title: string;
2382
2400
  }[];
2383
2401
  }, {
2384
2402
  display: {
2385
- title: string;
2386
- locale: string;
2387
2403
  description: string;
2404
+ locale: string;
2405
+ title: string;
2388
2406
  }[];
2389
2407
  }>>>;
2390
2408
  }, "strip", z.ZodTypeAny, {
2391
- format: "vc+sd-jwt" | "vc+mdoc-cbor";
2409
+ scope: string;
2392
2410
  display: {
2393
2411
  name: string;
2394
2412
  locale: string;
2395
2413
  }[];
2396
- scope: string;
2397
- claims: Record<string, {
2414
+ claims: {
2415
+ path: string[];
2398
2416
  display: {
2399
2417
  name: string;
2400
2418
  locale: string;
2401
2419
  }[];
2402
- value_type: string;
2403
- }>;
2420
+ }[];
2404
2421
  cryptographic_binding_methods_supported: string[];
2405
2422
  credential_signing_alg_values_supported: string[];
2406
2423
  authentic_source?: string | undefined;
2407
2424
  issuance_errors_supported?: Record<string, {
2408
2425
  display: {
2409
- title: string;
2410
- locale: string;
2411
2426
  description: string;
2427
+ locale: string;
2428
+ title: string;
2412
2429
  }[];
2413
2430
  }> | undefined;
2414
2431
  }, {
2415
- format: "vc+sd-jwt" | "vc+mdoc-cbor";
2432
+ scope: string;
2416
2433
  display: {
2417
2434
  name: string;
2418
2435
  locale: string;
2419
2436
  }[];
2420
- scope: string;
2421
- claims: Record<string, {
2437
+ claims: {
2438
+ path: string[];
2422
2439
  display: {
2423
2440
  name: string;
2424
2441
  locale: string;
2425
2442
  }[];
2426
- value_type: string;
2427
- }>;
2443
+ }[];
2428
2444
  cryptographic_binding_methods_supported: string[];
2429
2445
  credential_signing_alg_values_supported: string[];
2430
2446
  authentic_source?: string | undefined;
2431
2447
  issuance_errors_supported?: Record<string, {
2432
2448
  display: {
2433
- title: string;
2434
- locale: string;
2435
2449
  description: string;
2450
+ locale: string;
2451
+ title: string;
2436
2452
  }[];
2437
2453
  }> | undefined;
2438
- }>>;
2454
+ }>>>;
2439
2455
  jwks: z.ZodObject<{
2440
2456
  keys: z.ZodArray<z.ZodObject<{
2441
2457
  alg: z.ZodOptional<z.ZodString>;
@@ -2558,6 +2574,8 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2558
2574
  x5u?: string | undefined;
2559
2575
  }[];
2560
2576
  }>;
2577
+ trust_frameworks_supported: z.ZodArray<z.ZodString, "many">;
2578
+ evidence_supported: z.ZodArray<z.ZodString, "many">;
2561
2579
  }, "strip", z.ZodTypeAny, {
2562
2580
  jwks: {
2563
2581
  keys: {
@@ -2585,39 +2603,47 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2585
2603
  x5u?: string | undefined;
2586
2604
  }[];
2587
2605
  };
2588
- credential_issuer: string;
2589
- credential_endpoint: string;
2590
- revocation_endpoint: string;
2591
- status_attestation_endpoint: string;
2592
2606
  display: {
2593
2607
  name: string;
2594
2608
  locale: string;
2595
2609
  }[];
2596
- credential_configurations_supported: Record<string, {
2597
- format: "vc+sd-jwt" | "vc+mdoc-cbor";
2610
+ credential_issuer: string;
2611
+ credential_endpoint: string;
2612
+ nonce_endpoint: string;
2613
+ status_attestation_endpoint: string;
2614
+ credential_configurations_supported: Record<string, ({
2615
+ vct: string;
2616
+ format: "dc+sd-jwt";
2617
+ } | {
2618
+ format: "mso_mdoc";
2619
+ doctype: string;
2620
+ }) & {
2621
+ scope: string;
2598
2622
  display: {
2599
2623
  name: string;
2600
2624
  locale: string;
2601
2625
  }[];
2602
- scope: string;
2603
- claims: Record<string, {
2626
+ claims: {
2627
+ path: string[];
2604
2628
  display: {
2605
2629
  name: string;
2606
2630
  locale: string;
2607
2631
  }[];
2608
- value_type: string;
2609
- }>;
2632
+ }[];
2610
2633
  cryptographic_binding_methods_supported: string[];
2611
2634
  credential_signing_alg_values_supported: string[];
2612
2635
  authentic_source?: string | undefined;
2613
2636
  issuance_errors_supported?: Record<string, {
2614
2637
  display: {
2615
- title: string;
2616
- locale: string;
2617
2638
  description: string;
2639
+ locale: string;
2640
+ title: string;
2618
2641
  }[];
2619
2642
  }> | undefined;
2620
2643
  }>;
2644
+ trust_frameworks_supported: string[];
2645
+ evidence_supported: string[];
2646
+ revocation_endpoint?: string | undefined;
2621
2647
  }, {
2622
2648
  jwks: {
2623
2649
  keys: {
@@ -2645,39 +2671,47 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2645
2671
  x5u?: string | undefined;
2646
2672
  }[];
2647
2673
  };
2648
- credential_issuer: string;
2649
- credential_endpoint: string;
2650
- revocation_endpoint: string;
2651
- status_attestation_endpoint: string;
2652
2674
  display: {
2653
2675
  name: string;
2654
2676
  locale: string;
2655
2677
  }[];
2656
- credential_configurations_supported: Record<string, {
2657
- format: "vc+sd-jwt" | "vc+mdoc-cbor";
2678
+ credential_issuer: string;
2679
+ credential_endpoint: string;
2680
+ nonce_endpoint: string;
2681
+ status_attestation_endpoint: string;
2682
+ credential_configurations_supported: Record<string, ({
2683
+ vct: string;
2684
+ format: "dc+sd-jwt";
2685
+ } | {
2686
+ format: "mso_mdoc";
2687
+ doctype: string;
2688
+ }) & {
2689
+ scope: string;
2658
2690
  display: {
2659
2691
  name: string;
2660
2692
  locale: string;
2661
2693
  }[];
2662
- scope: string;
2663
- claims: Record<string, {
2694
+ claims: {
2695
+ path: string[];
2664
2696
  display: {
2665
2697
  name: string;
2666
2698
  locale: string;
2667
2699
  }[];
2668
- value_type: string;
2669
- }>;
2700
+ }[];
2670
2701
  cryptographic_binding_methods_supported: string[];
2671
2702
  credential_signing_alg_values_supported: string[];
2672
2703
  authentic_source?: string | undefined;
2673
2704
  issuance_errors_supported?: Record<string, {
2674
2705
  display: {
2675
- title: string;
2676
- locale: string;
2677
2706
  description: string;
2707
+ locale: string;
2708
+ title: string;
2678
2709
  }[];
2679
2710
  }> | undefined;
2680
2711
  }>;
2712
+ trust_frameworks_supported: string[];
2713
+ evidence_supported: string[];
2714
+ revocation_endpoint?: string | undefined;
2681
2715
  }>;
2682
2716
  oauth_authorization_server: z.ZodObject<{
2683
2717
  authorization_endpoint: z.ZodString;
@@ -2816,6 +2850,7 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2816
2850
  token_endpoint_auth_signing_alg_values_supported: z.ZodArray<z.ZodString, "many">;
2817
2851
  request_object_signing_alg_values_supported: z.ZodArray<z.ZodString, "many">;
2818
2852
  }, "strip", z.ZodTypeAny, {
2853
+ request_object_signing_alg_values_supported: string[];
2819
2854
  jwks: {
2820
2855
  keys: {
2821
2856
  kty: "RSA" | "EC";
@@ -2854,8 +2889,8 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2854
2889
  response_modes_supported: string[];
2855
2890
  token_endpoint_auth_methods_supported: string[];
2856
2891
  token_endpoint_auth_signing_alg_values_supported: string[];
2857
- request_object_signing_alg_values_supported: string[];
2858
2892
  }, {
2893
+ request_object_signing_alg_values_supported: string[];
2859
2894
  jwks: {
2860
2895
  keys: {
2861
2896
  kty: "RSA" | "EC";
@@ -2894,7 +2929,6 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2894
2929
  response_modes_supported: string[];
2895
2930
  token_endpoint_auth_methods_supported: string[];
2896
2931
  token_endpoint_auth_signing_alg_values_supported: string[];
2897
- request_object_signing_alg_values_supported: string[];
2898
2932
  }>;
2899
2933
  /**
2900
2934
  * Credential Issuers act as Relying Party when they require the presentation of other credentials.
@@ -3421,41 +3455,50 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3421
3455
  x5u?: string | undefined;
3422
3456
  }[];
3423
3457
  };
3424
- credential_issuer: string;
3425
- credential_endpoint: string;
3426
- revocation_endpoint: string;
3427
- status_attestation_endpoint: string;
3428
3458
  display: {
3429
3459
  name: string;
3430
3460
  locale: string;
3431
3461
  }[];
3432
- credential_configurations_supported: Record<string, {
3433
- format: "vc+sd-jwt" | "vc+mdoc-cbor";
3462
+ credential_issuer: string;
3463
+ credential_endpoint: string;
3464
+ nonce_endpoint: string;
3465
+ status_attestation_endpoint: string;
3466
+ credential_configurations_supported: Record<string, ({
3467
+ vct: string;
3468
+ format: "dc+sd-jwt";
3469
+ } | {
3470
+ format: "mso_mdoc";
3471
+ doctype: string;
3472
+ }) & {
3473
+ scope: string;
3434
3474
  display: {
3435
3475
  name: string;
3436
3476
  locale: string;
3437
3477
  }[];
3438
- scope: string;
3439
- claims: Record<string, {
3478
+ claims: {
3479
+ path: string[];
3440
3480
  display: {
3441
3481
  name: string;
3442
3482
  locale: string;
3443
3483
  }[];
3444
- value_type: string;
3445
- }>;
3484
+ }[];
3446
3485
  cryptographic_binding_methods_supported: string[];
3447
3486
  credential_signing_alg_values_supported: string[];
3448
3487
  authentic_source?: string | undefined;
3449
3488
  issuance_errors_supported?: Record<string, {
3450
3489
  display: {
3451
- title: string;
3452
- locale: string;
3453
3490
  description: string;
3491
+ locale: string;
3492
+ title: string;
3454
3493
  }[];
3455
3494
  }> | undefined;
3456
3495
  }>;
3496
+ trust_frameworks_supported: string[];
3497
+ evidence_supported: string[];
3498
+ revocation_endpoint?: string | undefined;
3457
3499
  };
3458
3500
  oauth_authorization_server: {
3501
+ request_object_signing_alg_values_supported: string[];
3459
3502
  jwks: {
3460
3503
  keys: {
3461
3504
  kty: "RSA" | "EC";
@@ -3494,7 +3537,6 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3494
3537
  response_modes_supported: string[];
3495
3538
  token_endpoint_auth_methods_supported: string[];
3496
3539
  token_endpoint_auth_signing_alg_values_supported: string[];
3497
- request_object_signing_alg_values_supported: string[];
3498
3540
  };
3499
3541
  openid_credential_verifier?: {
3500
3542
  jwks: {
@@ -3597,41 +3639,50 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3597
3639
  x5u?: string | undefined;
3598
3640
  }[];
3599
3641
  };
3600
- credential_issuer: string;
3601
- credential_endpoint: string;
3602
- revocation_endpoint: string;
3603
- status_attestation_endpoint: string;
3604
3642
  display: {
3605
3643
  name: string;
3606
3644
  locale: string;
3607
3645
  }[];
3608
- credential_configurations_supported: Record<string, {
3609
- format: "vc+sd-jwt" | "vc+mdoc-cbor";
3646
+ credential_issuer: string;
3647
+ credential_endpoint: string;
3648
+ nonce_endpoint: string;
3649
+ status_attestation_endpoint: string;
3650
+ credential_configurations_supported: Record<string, ({
3651
+ vct: string;
3652
+ format: "dc+sd-jwt";
3653
+ } | {
3654
+ format: "mso_mdoc";
3655
+ doctype: string;
3656
+ }) & {
3657
+ scope: string;
3610
3658
  display: {
3611
3659
  name: string;
3612
3660
  locale: string;
3613
3661
  }[];
3614
- scope: string;
3615
- claims: Record<string, {
3662
+ claims: {
3663
+ path: string[];
3616
3664
  display: {
3617
3665
  name: string;
3618
3666
  locale: string;
3619
3667
  }[];
3620
- value_type: string;
3621
- }>;
3668
+ }[];
3622
3669
  cryptographic_binding_methods_supported: string[];
3623
3670
  credential_signing_alg_values_supported: string[];
3624
3671
  authentic_source?: string | undefined;
3625
3672
  issuance_errors_supported?: Record<string, {
3626
3673
  display: {
3627
- title: string;
3628
- locale: string;
3629
3674
  description: string;
3675
+ locale: string;
3676
+ title: string;
3630
3677
  }[];
3631
3678
  }> | undefined;
3632
3679
  }>;
3680
+ trust_frameworks_supported: string[];
3681
+ evidence_supported: string[];
3682
+ revocation_endpoint?: string | undefined;
3633
3683
  };
3634
3684
  oauth_authorization_server: {
3685
+ request_object_signing_alg_values_supported: string[];
3635
3686
  jwks: {
3636
3687
  keys: {
3637
3688
  kty: "RSA" | "EC";
@@ -3670,7 +3721,6 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3670
3721
  response_modes_supported: string[];
3671
3722
  token_endpoint_auth_methods_supported: string[];
3672
3723
  token_endpoint_auth_signing_alg_values_supported: string[];
3673
- request_object_signing_alg_values_supported: string[];
3674
3724
  };
3675
3725
  openid_credential_verifier?: {
3676
3726
  jwks: {
@@ -3747,6 +3797,32 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3747
3797
  } | undefined;
3748
3798
  }>;
3749
3799
  }, "strip", z.ZodTypeAny, {
3800
+ jwks: {
3801
+ keys: {
3802
+ kty: "RSA" | "EC";
3803
+ alg?: string | undefined;
3804
+ crv?: string | undefined;
3805
+ d?: string | undefined;
3806
+ dp?: string | undefined;
3807
+ dq?: string | undefined;
3808
+ e?: string | undefined;
3809
+ ext?: boolean | undefined;
3810
+ k?: string | undefined;
3811
+ key_ops?: string[] | undefined;
3812
+ kid?: string | undefined;
3813
+ n?: string | undefined;
3814
+ p?: string | undefined;
3815
+ q?: string | undefined;
3816
+ qi?: string | undefined;
3817
+ use?: string | undefined;
3818
+ x?: string | undefined;
3819
+ y?: string | undefined;
3820
+ x5c?: string[] | undefined;
3821
+ x5t?: string | undefined;
3822
+ "x5t#S256"?: string | undefined;
3823
+ x5u?: string | undefined;
3824
+ }[];
3825
+ };
3750
3826
  metadata: {
3751
3827
  openid_credential_issuer: {
3752
3828
  jwks: {
@@ -3775,41 +3851,50 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3775
3851
  x5u?: string | undefined;
3776
3852
  }[];
3777
3853
  };
3778
- credential_issuer: string;
3779
- credential_endpoint: string;
3780
- revocation_endpoint: string;
3781
- status_attestation_endpoint: string;
3782
3854
  display: {
3783
3855
  name: string;
3784
3856
  locale: string;
3785
3857
  }[];
3786
- credential_configurations_supported: Record<string, {
3787
- format: "vc+sd-jwt" | "vc+mdoc-cbor";
3858
+ credential_issuer: string;
3859
+ credential_endpoint: string;
3860
+ nonce_endpoint: string;
3861
+ status_attestation_endpoint: string;
3862
+ credential_configurations_supported: Record<string, ({
3863
+ vct: string;
3864
+ format: "dc+sd-jwt";
3865
+ } | {
3866
+ format: "mso_mdoc";
3867
+ doctype: string;
3868
+ }) & {
3869
+ scope: string;
3788
3870
  display: {
3789
3871
  name: string;
3790
3872
  locale: string;
3791
3873
  }[];
3792
- scope: string;
3793
- claims: Record<string, {
3874
+ claims: {
3875
+ path: string[];
3794
3876
  display: {
3795
3877
  name: string;
3796
3878
  locale: string;
3797
3879
  }[];
3798
- value_type: string;
3799
- }>;
3880
+ }[];
3800
3881
  cryptographic_binding_methods_supported: string[];
3801
3882
  credential_signing_alg_values_supported: string[];
3802
3883
  authentic_source?: string | undefined;
3803
3884
  issuance_errors_supported?: Record<string, {
3804
3885
  display: {
3805
- title: string;
3806
- locale: string;
3807
3886
  description: string;
3887
+ locale: string;
3888
+ title: string;
3808
3889
  }[];
3809
3890
  }> | undefined;
3810
3891
  }>;
3892
+ trust_frameworks_supported: string[];
3893
+ evidence_supported: string[];
3894
+ revocation_endpoint?: string | undefined;
3811
3895
  };
3812
3896
  oauth_authorization_server: {
3897
+ request_object_signing_alg_values_supported: string[];
3813
3898
  jwks: {
3814
3899
  keys: {
3815
3900
  kty: "RSA" | "EC";
@@ -3848,7 +3933,6 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3848
3933
  response_modes_supported: string[];
3849
3934
  token_endpoint_auth_methods_supported: string[];
3850
3935
  token_endpoint_auth_signing_alg_values_supported: string[];
3851
- request_object_signing_alg_values_supported: string[];
3852
3936
  };
3853
3937
  openid_credential_verifier?: {
3854
3938
  jwks: {
@@ -3924,6 +4008,7 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3924
4008
  authorization_encrypted_response_enc?: string | undefined;
3925
4009
  } | undefined;
3926
4010
  };
4011
+ }, {
3927
4012
  jwks: {
3928
4013
  keys: {
3929
4014
  kty: "RSA" | "EC";
@@ -3950,7 +4035,6 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3950
4035
  x5u?: string | undefined;
3951
4036
  }[];
3952
4037
  };
3953
- }, {
3954
4038
  metadata: {
3955
4039
  openid_credential_issuer: {
3956
4040
  jwks: {
@@ -3979,41 +4063,50 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3979
4063
  x5u?: string | undefined;
3980
4064
  }[];
3981
4065
  };
3982
- credential_issuer: string;
3983
- credential_endpoint: string;
3984
- revocation_endpoint: string;
3985
- status_attestation_endpoint: string;
3986
4066
  display: {
3987
4067
  name: string;
3988
4068
  locale: string;
3989
4069
  }[];
3990
- credential_configurations_supported: Record<string, {
3991
- format: "vc+sd-jwt" | "vc+mdoc-cbor";
4070
+ credential_issuer: string;
4071
+ credential_endpoint: string;
4072
+ nonce_endpoint: string;
4073
+ status_attestation_endpoint: string;
4074
+ credential_configurations_supported: Record<string, ({
4075
+ vct: string;
4076
+ format: "dc+sd-jwt";
4077
+ } | {
4078
+ format: "mso_mdoc";
4079
+ doctype: string;
4080
+ }) & {
4081
+ scope: string;
3992
4082
  display: {
3993
4083
  name: string;
3994
4084
  locale: string;
3995
4085
  }[];
3996
- scope: string;
3997
- claims: Record<string, {
4086
+ claims: {
4087
+ path: string[];
3998
4088
  display: {
3999
4089
  name: string;
4000
4090
  locale: string;
4001
4091
  }[];
4002
- value_type: string;
4003
- }>;
4092
+ }[];
4004
4093
  cryptographic_binding_methods_supported: string[];
4005
4094
  credential_signing_alg_values_supported: string[];
4006
4095
  authentic_source?: string | undefined;
4007
4096
  issuance_errors_supported?: Record<string, {
4008
4097
  display: {
4009
- title: string;
4010
- locale: string;
4011
4098
  description: string;
4099
+ locale: string;
4100
+ title: string;
4012
4101
  }[];
4013
4102
  }> | undefined;
4014
4103
  }>;
4104
+ trust_frameworks_supported: string[];
4105
+ evidence_supported: string[];
4106
+ revocation_endpoint?: string | undefined;
4015
4107
  };
4016
4108
  oauth_authorization_server: {
4109
+ request_object_signing_alg_values_supported: string[];
4017
4110
  jwks: {
4018
4111
  keys: {
4019
4112
  kty: "RSA" | "EC";
@@ -4052,7 +4145,6 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
4052
4145
  response_modes_supported: string[];
4053
4146
  token_endpoint_auth_methods_supported: string[];
4054
4147
  token_endpoint_auth_signing_alg_values_supported: string[];
4055
- request_object_signing_alg_values_supported: string[];
4056
4148
  };
4057
4149
  openid_credential_verifier?: {
4058
4150
  jwks: {
@@ -4128,6 +4220,9 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
4128
4220
  authorization_encrypted_response_enc?: string | undefined;
4129
4221
  } | undefined;
4130
4222
  };
4223
+ }>;
4224
+ }, "strip", z.ZodTypeAny, {
4225
+ payload: {
4131
4226
  jwks: {
4132
4227
  keys: {
4133
4228
  kty: "RSA" | "EC";
@@ -4154,9 +4249,6 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
4154
4249
  x5u?: string | undefined;
4155
4250
  }[];
4156
4251
  };
4157
- }>;
4158
- }, "strip", z.ZodTypeAny, {
4159
- payload: {
4160
4252
  metadata: {
4161
4253
  openid_credential_issuer: {
4162
4254
  jwks: {
@@ -4185,41 +4277,50 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
4185
4277
  x5u?: string | undefined;
4186
4278
  }[];
4187
4279
  };
4188
- credential_issuer: string;
4189
- credential_endpoint: string;
4190
- revocation_endpoint: string;
4191
- status_attestation_endpoint: string;
4192
4280
  display: {
4193
4281
  name: string;
4194
4282
  locale: string;
4195
4283
  }[];
4196
- credential_configurations_supported: Record<string, {
4197
- format: "vc+sd-jwt" | "vc+mdoc-cbor";
4284
+ credential_issuer: string;
4285
+ credential_endpoint: string;
4286
+ nonce_endpoint: string;
4287
+ status_attestation_endpoint: string;
4288
+ credential_configurations_supported: Record<string, ({
4289
+ vct: string;
4290
+ format: "dc+sd-jwt";
4291
+ } | {
4292
+ format: "mso_mdoc";
4293
+ doctype: string;
4294
+ }) & {
4295
+ scope: string;
4198
4296
  display: {
4199
4297
  name: string;
4200
4298
  locale: string;
4201
4299
  }[];
4202
- scope: string;
4203
- claims: Record<string, {
4300
+ claims: {
4301
+ path: string[];
4204
4302
  display: {
4205
4303
  name: string;
4206
4304
  locale: string;
4207
4305
  }[];
4208
- value_type: string;
4209
- }>;
4306
+ }[];
4210
4307
  cryptographic_binding_methods_supported: string[];
4211
4308
  credential_signing_alg_values_supported: string[];
4212
4309
  authentic_source?: string | undefined;
4213
4310
  issuance_errors_supported?: Record<string, {
4214
4311
  display: {
4215
- title: string;
4216
- locale: string;
4217
4312
  description: string;
4313
+ locale: string;
4314
+ title: string;
4218
4315
  }[];
4219
4316
  }> | undefined;
4220
4317
  }>;
4318
+ trust_frameworks_supported: string[];
4319
+ evidence_supported: string[];
4320
+ revocation_endpoint?: string | undefined;
4221
4321
  };
4222
4322
  oauth_authorization_server: {
4323
+ request_object_signing_alg_values_supported: string[];
4223
4324
  jwks: {
4224
4325
  keys: {
4225
4326
  kty: "RSA" | "EC";
@@ -4258,7 +4359,6 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
4258
4359
  response_modes_supported: string[];
4259
4360
  token_endpoint_auth_methods_supported: string[];
4260
4361
  token_endpoint_auth_signing_alg_values_supported: string[];
4261
- request_object_signing_alg_values_supported: string[];
4262
4362
  };
4263
4363
  openid_credential_verifier?: {
4264
4364
  jwks: {
@@ -4334,6 +4434,9 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
4334
4434
  authorization_encrypted_response_enc?: string | undefined;
4335
4435
  } | undefined;
4336
4436
  };
4437
+ };
4438
+ }, {
4439
+ payload: {
4337
4440
  jwks: {
4338
4441
  keys: {
4339
4442
  kty: "RSA" | "EC";
@@ -4360,9 +4463,6 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
4360
4463
  x5u?: string | undefined;
4361
4464
  }[];
4362
4465
  };
4363
- };
4364
- }, {
4365
- payload: {
4366
4466
  metadata: {
4367
4467
  openid_credential_issuer: {
4368
4468
  jwks: {
@@ -4391,41 +4491,50 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
4391
4491
  x5u?: string | undefined;
4392
4492
  }[];
4393
4493
  };
4394
- credential_issuer: string;
4395
- credential_endpoint: string;
4396
- revocation_endpoint: string;
4397
- status_attestation_endpoint: string;
4398
4494
  display: {
4399
4495
  name: string;
4400
4496
  locale: string;
4401
4497
  }[];
4402
- credential_configurations_supported: Record<string, {
4403
- format: "vc+sd-jwt" | "vc+mdoc-cbor";
4498
+ credential_issuer: string;
4499
+ credential_endpoint: string;
4500
+ nonce_endpoint: string;
4501
+ status_attestation_endpoint: string;
4502
+ credential_configurations_supported: Record<string, ({
4503
+ vct: string;
4504
+ format: "dc+sd-jwt";
4505
+ } | {
4506
+ format: "mso_mdoc";
4507
+ doctype: string;
4508
+ }) & {
4509
+ scope: string;
4404
4510
  display: {
4405
4511
  name: string;
4406
4512
  locale: string;
4407
4513
  }[];
4408
- scope: string;
4409
- claims: Record<string, {
4514
+ claims: {
4515
+ path: string[];
4410
4516
  display: {
4411
4517
  name: string;
4412
4518
  locale: string;
4413
4519
  }[];
4414
- value_type: string;
4415
- }>;
4520
+ }[];
4416
4521
  cryptographic_binding_methods_supported: string[];
4417
4522
  credential_signing_alg_values_supported: string[];
4418
4523
  authentic_source?: string | undefined;
4419
4524
  issuance_errors_supported?: Record<string, {
4420
4525
  display: {
4421
- title: string;
4422
- locale: string;
4423
4526
  description: string;
4527
+ locale: string;
4528
+ title: string;
4424
4529
  }[];
4425
4530
  }> | undefined;
4426
4531
  }>;
4532
+ trust_frameworks_supported: string[];
4533
+ evidence_supported: string[];
4534
+ revocation_endpoint?: string | undefined;
4427
4535
  };
4428
4536
  oauth_authorization_server: {
4537
+ request_object_signing_alg_values_supported: string[];
4429
4538
  jwks: {
4430
4539
  keys: {
4431
4540
  kty: "RSA" | "EC";
@@ -4464,7 +4573,6 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
4464
4573
  response_modes_supported: string[];
4465
4574
  token_endpoint_auth_methods_supported: string[];
4466
4575
  token_endpoint_auth_signing_alg_values_supported: string[];
4467
- request_object_signing_alg_values_supported: string[];
4468
4576
  };
4469
4577
  openid_credential_verifier?: {
4470
4578
  jwks: {
@@ -4540,32 +4648,6 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
4540
4648
  authorization_encrypted_response_enc?: string | undefined;
4541
4649
  } | undefined;
4542
4650
  };
4543
- jwks: {
4544
- keys: {
4545
- kty: "RSA" | "EC";
4546
- alg?: string | undefined;
4547
- crv?: string | undefined;
4548
- d?: string | undefined;
4549
- dp?: string | undefined;
4550
- dq?: string | undefined;
4551
- e?: string | undefined;
4552
- ext?: boolean | undefined;
4553
- k?: string | undefined;
4554
- key_ops?: string[] | undefined;
4555
- kid?: string | undefined;
4556
- n?: string | undefined;
4557
- p?: string | undefined;
4558
- q?: string | undefined;
4559
- qi?: string | undefined;
4560
- use?: string | undefined;
4561
- x?: string | undefined;
4562
- y?: string | undefined;
4563
- x5c?: string[] | undefined;
4564
- x5t?: string | undefined;
4565
- "x5t#S256"?: string | undefined;
4566
- x5u?: string | undefined;
4567
- }[];
4568
- };
4569
4651
  };
4570
4652
  }>>;
4571
4653
  export type RelyingPartyEntityConfiguration = z.infer<typeof RelyingPartyEntityConfiguration>;
@@ -5378,27 +5460,6 @@ export declare const RelyingPartyEntityConfiguration: z.ZodIntersection<z.ZodObj
5378
5460
  sub: string;
5379
5461
  iat: number;
5380
5462
  exp: number;
5381
- metadata: {
5382
- federation_entity: {
5383
- federation_fetch_endpoint?: string | undefined;
5384
- federation_list_endpoint?: string | undefined;
5385
- federation_resolve_endpoint?: string | undefined;
5386
- federation_trust_mark_status_endpoint?: string | undefined;
5387
- federation_trust_mark_list_endpoint?: string | undefined;
5388
- federation_trust_mark_endpoint?: string | undefined;
5389
- federation_historical_keys_endpoint?: string | undefined;
5390
- endpoint_auth_signing_alg_values_supported?: string | undefined;
5391
- organization_name?: string | undefined;
5392
- homepage_uri?: string | undefined;
5393
- policy_uri?: string | undefined;
5394
- logo_uri?: string | undefined;
5395
- contacts?: string[] | undefined;
5396
- } & {
5397
- [k: string]: unknown;
5398
- };
5399
- } & {
5400
- [k: string]: unknown;
5401
- };
5402
5463
  jwks: {
5403
5464
  keys: {
5404
5465
  kty: "RSA" | "EC";
@@ -5425,21 +5486,6 @@ export declare const RelyingPartyEntityConfiguration: z.ZodIntersection<z.ZodObj
5425
5486
  x5u?: string | undefined;
5426
5487
  }[];
5427
5488
  };
5428
- authority_hints?: string[] | undefined;
5429
- } & {
5430
- [k: string]: unknown;
5431
- };
5432
- }, {
5433
- header: {
5434
- alg: string;
5435
- kid: string;
5436
- typ: "entity-statement+jwt";
5437
- };
5438
- payload: {
5439
- iss: string;
5440
- sub: string;
5441
- iat: number;
5442
- exp: number;
5443
5489
  metadata: {
5444
5490
  federation_entity: {
5445
5491
  federation_fetch_endpoint?: string | undefined;
@@ -5461,6 +5507,21 @@ export declare const RelyingPartyEntityConfiguration: z.ZodIntersection<z.ZodObj
5461
5507
  } & {
5462
5508
  [k: string]: unknown;
5463
5509
  };
5510
+ authority_hints?: string[] | undefined;
5511
+ } & {
5512
+ [k: string]: unknown;
5513
+ };
5514
+ }, {
5515
+ header: {
5516
+ alg: string;
5517
+ kid: string;
5518
+ typ: "entity-statement+jwt";
5519
+ };
5520
+ payload: {
5521
+ iss: string;
5522
+ sub: string;
5523
+ iat: number;
5524
+ exp: number;
5464
5525
  jwks: {
5465
5526
  keys: {
5466
5527
  kty: "RSA" | "EC";
@@ -5487,6 +5548,27 @@ export declare const RelyingPartyEntityConfiguration: z.ZodIntersection<z.ZodObj
5487
5548
  x5u?: string | undefined;
5488
5549
  }[];
5489
5550
  };
5551
+ metadata: {
5552
+ federation_entity: {
5553
+ federation_fetch_endpoint?: string | undefined;
5554
+ federation_list_endpoint?: string | undefined;
5555
+ federation_resolve_endpoint?: string | undefined;
5556
+ federation_trust_mark_status_endpoint?: string | undefined;
5557
+ federation_trust_mark_list_endpoint?: string | undefined;
5558
+ federation_trust_mark_endpoint?: string | undefined;
5559
+ federation_historical_keys_endpoint?: string | undefined;
5560
+ endpoint_auth_signing_alg_values_supported?: string | undefined;
5561
+ organization_name?: string | undefined;
5562
+ homepage_uri?: string | undefined;
5563
+ policy_uri?: string | undefined;
5564
+ logo_uri?: string | undefined;
5565
+ contacts?: string[] | undefined;
5566
+ } & {
5567
+ [k: string]: unknown;
5568
+ };
5569
+ } & {
5570
+ [k: string]: unknown;
5571
+ };
5490
5572
  authority_hints?: string[] | undefined;
5491
5573
  } & {
5492
5574
  [k: string]: unknown;
@@ -7256,27 +7338,6 @@ export declare const WalletProviderEntityConfiguration: z.ZodIntersection<z.ZodO
7256
7338
  sub: string;
7257
7339
  iat: number;
7258
7340
  exp: number;
7259
- metadata: {
7260
- federation_entity: {
7261
- federation_fetch_endpoint?: string | undefined;
7262
- federation_list_endpoint?: string | undefined;
7263
- federation_resolve_endpoint?: string | undefined;
7264
- federation_trust_mark_status_endpoint?: string | undefined;
7265
- federation_trust_mark_list_endpoint?: string | undefined;
7266
- federation_trust_mark_endpoint?: string | undefined;
7267
- federation_historical_keys_endpoint?: string | undefined;
7268
- endpoint_auth_signing_alg_values_supported?: string | undefined;
7269
- organization_name?: string | undefined;
7270
- homepage_uri?: string | undefined;
7271
- policy_uri?: string | undefined;
7272
- logo_uri?: string | undefined;
7273
- contacts?: string[] | undefined;
7274
- } & {
7275
- [k: string]: unknown;
7276
- };
7277
- } & {
7278
- [k: string]: unknown;
7279
- };
7280
7341
  jwks: {
7281
7342
  keys: {
7282
7343
  kty: "RSA" | "EC";
@@ -7303,21 +7364,6 @@ export declare const WalletProviderEntityConfiguration: z.ZodIntersection<z.ZodO
7303
7364
  x5u?: string | undefined;
7304
7365
  }[];
7305
7366
  };
7306
- authority_hints?: string[] | undefined;
7307
- } & {
7308
- [k: string]: unknown;
7309
- };
7310
- }, {
7311
- header: {
7312
- alg: string;
7313
- kid: string;
7314
- typ: "entity-statement+jwt";
7315
- };
7316
- payload: {
7317
- iss: string;
7318
- sub: string;
7319
- iat: number;
7320
- exp: number;
7321
7367
  metadata: {
7322
7368
  federation_entity: {
7323
7369
  federation_fetch_endpoint?: string | undefined;
@@ -7339,6 +7385,21 @@ export declare const WalletProviderEntityConfiguration: z.ZodIntersection<z.ZodO
7339
7385
  } & {
7340
7386
  [k: string]: unknown;
7341
7387
  };
7388
+ authority_hints?: string[] | undefined;
7389
+ } & {
7390
+ [k: string]: unknown;
7391
+ };
7392
+ }, {
7393
+ header: {
7394
+ alg: string;
7395
+ kid: string;
7396
+ typ: "entity-statement+jwt";
7397
+ };
7398
+ payload: {
7399
+ iss: string;
7400
+ sub: string;
7401
+ iat: number;
7402
+ exp: number;
7342
7403
  jwks: {
7343
7404
  keys: {
7344
7405
  kty: "RSA" | "EC";
@@ -7365,6 +7426,27 @@ export declare const WalletProviderEntityConfiguration: z.ZodIntersection<z.ZodO
7365
7426
  x5u?: string | undefined;
7366
7427
  }[];
7367
7428
  };
7429
+ metadata: {
7430
+ federation_entity: {
7431
+ federation_fetch_endpoint?: string | undefined;
7432
+ federation_list_endpoint?: string | undefined;
7433
+ federation_resolve_endpoint?: string | undefined;
7434
+ federation_trust_mark_status_endpoint?: string | undefined;
7435
+ federation_trust_mark_list_endpoint?: string | undefined;
7436
+ federation_trust_mark_endpoint?: string | undefined;
7437
+ federation_historical_keys_endpoint?: string | undefined;
7438
+ endpoint_auth_signing_alg_values_supported?: string | undefined;
7439
+ organization_name?: string | undefined;
7440
+ homepage_uri?: string | undefined;
7441
+ policy_uri?: string | undefined;
7442
+ logo_uri?: string | undefined;
7443
+ contacts?: string[] | undefined;
7444
+ } & {
7445
+ [k: string]: unknown;
7446
+ };
7447
+ } & {
7448
+ [k: string]: unknown;
7449
+ };
7368
7450
  authority_hints?: string[] | undefined;
7369
7451
  } & {
7370
7452
  [k: string]: unknown;
@@ -8798,27 +8880,6 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
8798
8880
  sub: string;
8799
8881
  iat: number;
8800
8882
  exp: number;
8801
- metadata: {
8802
- federation_entity: {
8803
- federation_fetch_endpoint?: string | undefined;
8804
- federation_list_endpoint?: string | undefined;
8805
- federation_resolve_endpoint?: string | undefined;
8806
- federation_trust_mark_status_endpoint?: string | undefined;
8807
- federation_trust_mark_list_endpoint?: string | undefined;
8808
- federation_trust_mark_endpoint?: string | undefined;
8809
- federation_historical_keys_endpoint?: string | undefined;
8810
- endpoint_auth_signing_alg_values_supported?: string | undefined;
8811
- organization_name?: string | undefined;
8812
- homepage_uri?: string | undefined;
8813
- policy_uri?: string | undefined;
8814
- logo_uri?: string | undefined;
8815
- contacts?: string[] | undefined;
8816
- } & {
8817
- [k: string]: unknown;
8818
- };
8819
- } & {
8820
- [k: string]: unknown;
8821
- };
8822
8883
  jwks: {
8823
8884
  keys: {
8824
8885
  kty: "RSA" | "EC";
@@ -8845,21 +8906,6 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
8845
8906
  x5u?: string | undefined;
8846
8907
  }[];
8847
8908
  };
8848
- authority_hints?: string[] | undefined;
8849
- } & {
8850
- [k: string]: unknown;
8851
- };
8852
- }, {
8853
- header: {
8854
- alg: string;
8855
- kid: string;
8856
- typ: "entity-statement+jwt";
8857
- };
8858
- payload: {
8859
- iss: string;
8860
- sub: string;
8861
- iat: number;
8862
- exp: number;
8863
8909
  metadata: {
8864
8910
  federation_entity: {
8865
8911
  federation_fetch_endpoint?: string | undefined;
@@ -8881,6 +8927,21 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
8881
8927
  } & {
8882
8928
  [k: string]: unknown;
8883
8929
  };
8930
+ authority_hints?: string[] | undefined;
8931
+ } & {
8932
+ [k: string]: unknown;
8933
+ };
8934
+ }, {
8935
+ header: {
8936
+ alg: string;
8937
+ kid: string;
8938
+ typ: "entity-statement+jwt";
8939
+ };
8940
+ payload: {
8941
+ iss: string;
8942
+ sub: string;
8943
+ iat: number;
8944
+ exp: number;
8884
8945
  jwks: {
8885
8946
  keys: {
8886
8947
  kty: "RSA" | "EC";
@@ -8907,6 +8968,27 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
8907
8968
  x5u?: string | undefined;
8908
8969
  }[];
8909
8970
  };
8971
+ metadata: {
8972
+ federation_entity: {
8973
+ federation_fetch_endpoint?: string | undefined;
8974
+ federation_list_endpoint?: string | undefined;
8975
+ federation_resolve_endpoint?: string | undefined;
8976
+ federation_trust_mark_status_endpoint?: string | undefined;
8977
+ federation_trust_mark_list_endpoint?: string | undefined;
8978
+ federation_trust_mark_endpoint?: string | undefined;
8979
+ federation_historical_keys_endpoint?: string | undefined;
8980
+ endpoint_auth_signing_alg_values_supported?: string | undefined;
8981
+ organization_name?: string | undefined;
8982
+ homepage_uri?: string | undefined;
8983
+ policy_uri?: string | undefined;
8984
+ logo_uri?: string | undefined;
8985
+ contacts?: string[] | undefined;
8986
+ } & {
8987
+ [k: string]: unknown;
8988
+ };
8989
+ } & {
8990
+ [k: string]: unknown;
8991
+ };
8910
8992
  authority_hints?: string[] | undefined;
8911
8993
  } & {
8912
8994
  [k: string]: unknown;
@@ -10338,27 +10420,6 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10338
10420
  sub: string;
10339
10421
  iat: number;
10340
10422
  exp: number;
10341
- metadata: {
10342
- federation_entity: {
10343
- federation_fetch_endpoint?: string | undefined;
10344
- federation_list_endpoint?: string | undefined;
10345
- federation_resolve_endpoint?: string | undefined;
10346
- federation_trust_mark_status_endpoint?: string | undefined;
10347
- federation_trust_mark_list_endpoint?: string | undefined;
10348
- federation_trust_mark_endpoint?: string | undefined;
10349
- federation_historical_keys_endpoint?: string | undefined;
10350
- endpoint_auth_signing_alg_values_supported?: string | undefined;
10351
- organization_name?: string | undefined;
10352
- homepage_uri?: string | undefined;
10353
- policy_uri?: string | undefined;
10354
- logo_uri?: string | undefined;
10355
- contacts?: string[] | undefined;
10356
- } & {
10357
- [k: string]: unknown;
10358
- };
10359
- } & {
10360
- [k: string]: unknown;
10361
- };
10362
10423
  jwks: {
10363
10424
  keys: {
10364
10425
  kty: "RSA" | "EC";
@@ -10385,21 +10446,6 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10385
10446
  x5u?: string | undefined;
10386
10447
  }[];
10387
10448
  };
10388
- authority_hints?: string[] | undefined;
10389
- } & {
10390
- [k: string]: unknown;
10391
- };
10392
- }, {
10393
- header: {
10394
- alg: string;
10395
- kid: string;
10396
- typ: "entity-statement+jwt";
10397
- };
10398
- payload: {
10399
- iss: string;
10400
- sub: string;
10401
- iat: number;
10402
- exp: number;
10403
10449
  metadata: {
10404
10450
  federation_entity: {
10405
10451
  federation_fetch_endpoint?: string | undefined;
@@ -10421,6 +10467,21 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10421
10467
  } & {
10422
10468
  [k: string]: unknown;
10423
10469
  };
10470
+ authority_hints?: string[] | undefined;
10471
+ } & {
10472
+ [k: string]: unknown;
10473
+ };
10474
+ }, {
10475
+ header: {
10476
+ alg: string;
10477
+ kid: string;
10478
+ typ: "entity-statement+jwt";
10479
+ };
10480
+ payload: {
10481
+ iss: string;
10482
+ sub: string;
10483
+ iat: number;
10484
+ exp: number;
10424
10485
  jwks: {
10425
10486
  keys: {
10426
10487
  kty: "RSA" | "EC";
@@ -10447,6 +10508,27 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10447
10508
  x5u?: string | undefined;
10448
10509
  }[];
10449
10510
  };
10511
+ metadata: {
10512
+ federation_entity: {
10513
+ federation_fetch_endpoint?: string | undefined;
10514
+ federation_list_endpoint?: string | undefined;
10515
+ federation_resolve_endpoint?: string | undefined;
10516
+ federation_trust_mark_status_endpoint?: string | undefined;
10517
+ federation_trust_mark_list_endpoint?: string | undefined;
10518
+ federation_trust_mark_endpoint?: string | undefined;
10519
+ federation_historical_keys_endpoint?: string | undefined;
10520
+ endpoint_auth_signing_alg_values_supported?: string | undefined;
10521
+ organization_name?: string | undefined;
10522
+ homepage_uri?: string | undefined;
10523
+ policy_uri?: string | undefined;
10524
+ logo_uri?: string | undefined;
10525
+ contacts?: string[] | undefined;
10526
+ } & {
10527
+ [k: string]: unknown;
10528
+ };
10529
+ } & {
10530
+ [k: string]: unknown;
10531
+ };
10450
10532
  authority_hints?: string[] | undefined;
10451
10533
  } & {
10452
10534
  [k: string]: unknown;
@@ -10579,7 +10661,8 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10579
10661
  openid_credential_issuer: z.ZodObject<{
10580
10662
  credential_issuer: z.ZodString;
10581
10663
  credential_endpoint: z.ZodString;
10582
- revocation_endpoint: z.ZodString;
10664
+ revocation_endpoint: z.ZodOptional<z.ZodString>;
10665
+ nonce_endpoint: z.ZodString;
10583
10666
  status_attestation_endpoint: z.ZodString;
10584
10667
  display: z.ZodArray<z.ZodObject<{
10585
10668
  name: z.ZodString;
@@ -10591,8 +10674,25 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10591
10674
  name: string;
10592
10675
  locale: string;
10593
10676
  }>, "many">;
10594
- credential_configurations_supported: z.ZodRecord<z.ZodString, z.ZodObject<{
10595
- format: z.ZodUnion<[z.ZodLiteral<"vc+sd-jwt">, z.ZodLiteral<"vc+mdoc-cbor">]>;
10677
+ credential_configurations_supported: z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodDiscriminatedUnion<"format", [z.ZodObject<{
10678
+ format: z.ZodLiteral<"dc+sd-jwt">;
10679
+ vct: z.ZodString;
10680
+ }, "strip", z.ZodTypeAny, {
10681
+ vct: string;
10682
+ format: "dc+sd-jwt";
10683
+ }, {
10684
+ vct: string;
10685
+ format: "dc+sd-jwt";
10686
+ }>, z.ZodObject<{
10687
+ format: z.ZodLiteral<"mso_mdoc">;
10688
+ doctype: z.ZodString;
10689
+ }, "strip", z.ZodTypeAny, {
10690
+ format: "mso_mdoc";
10691
+ doctype: string;
10692
+ }, {
10693
+ format: "mso_mdoc";
10694
+ doctype: string;
10695
+ }>]>, z.ZodObject<{
10596
10696
  scope: z.ZodString;
10597
10697
  display: z.ZodArray<z.ZodObject<{
10598
10698
  name: z.ZodString;
@@ -10604,8 +10704,8 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10604
10704
  name: string;
10605
10705
  locale: string;
10606
10706
  }>, "many">;
10607
- claims: z.ZodRecord<z.ZodString, z.ZodObject<{
10608
- value_type: z.ZodString;
10707
+ claims: z.ZodArray<z.ZodObject<{
10708
+ path: z.ZodArray<z.ZodString, "many">;
10609
10709
  display: z.ZodArray<z.ZodObject<{
10610
10710
  name: z.ZodString;
10611
10711
  locale: z.ZodString;
@@ -10617,18 +10717,18 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10617
10717
  locale: string;
10618
10718
  }>, "many">;
10619
10719
  }, "strip", z.ZodTypeAny, {
10720
+ path: string[];
10620
10721
  display: {
10621
10722
  name: string;
10622
10723
  locale: string;
10623
10724
  }[];
10624
- value_type: string;
10625
10725
  }, {
10726
+ path: string[];
10626
10727
  display: {
10627
10728
  name: string;
10628
10729
  locale: string;
10629
10730
  }[];
10630
- value_type: string;
10631
- }>>;
10731
+ }>, "many">;
10632
10732
  cryptographic_binding_methods_supported: z.ZodArray<z.ZodString, "many">;
10633
10733
  credential_signing_alg_values_supported: z.ZodArray<z.ZodString, "many">;
10634
10734
  authentic_source: z.ZodOptional<z.ZodString>;
@@ -10638,76 +10738,74 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10638
10738
  description: z.ZodString;
10639
10739
  locale: z.ZodString;
10640
10740
  }, "strip", z.ZodTypeAny, {
10641
- title: string;
10642
- locale: string;
10643
10741
  description: string;
10644
- }, {
10645
- title: string;
10646
10742
  locale: string;
10743
+ title: string;
10744
+ }, {
10647
10745
  description: string;
10746
+ locale: string;
10747
+ title: string;
10648
10748
  }>, "many">;
10649
10749
  }, "strip", z.ZodTypeAny, {
10650
10750
  display: {
10651
- title: string;
10652
- locale: string;
10653
10751
  description: string;
10752
+ locale: string;
10753
+ title: string;
10654
10754
  }[];
10655
10755
  }, {
10656
10756
  display: {
10657
- title: string;
10658
- locale: string;
10659
10757
  description: string;
10758
+ locale: string;
10759
+ title: string;
10660
10760
  }[];
10661
10761
  }>>>;
10662
10762
  }, "strip", z.ZodTypeAny, {
10663
- format: "vc+sd-jwt" | "vc+mdoc-cbor";
10763
+ scope: string;
10664
10764
  display: {
10665
10765
  name: string;
10666
10766
  locale: string;
10667
10767
  }[];
10668
- scope: string;
10669
- claims: Record<string, {
10768
+ claims: {
10769
+ path: string[];
10670
10770
  display: {
10671
10771
  name: string;
10672
10772
  locale: string;
10673
10773
  }[];
10674
- value_type: string;
10675
- }>;
10774
+ }[];
10676
10775
  cryptographic_binding_methods_supported: string[];
10677
10776
  credential_signing_alg_values_supported: string[];
10678
10777
  authentic_source?: string | undefined;
10679
10778
  issuance_errors_supported?: Record<string, {
10680
10779
  display: {
10681
- title: string;
10682
- locale: string;
10683
10780
  description: string;
10781
+ locale: string;
10782
+ title: string;
10684
10783
  }[];
10685
10784
  }> | undefined;
10686
10785
  }, {
10687
- format: "vc+sd-jwt" | "vc+mdoc-cbor";
10786
+ scope: string;
10688
10787
  display: {
10689
10788
  name: string;
10690
10789
  locale: string;
10691
10790
  }[];
10692
- scope: string;
10693
- claims: Record<string, {
10791
+ claims: {
10792
+ path: string[];
10694
10793
  display: {
10695
10794
  name: string;
10696
10795
  locale: string;
10697
10796
  }[];
10698
- value_type: string;
10699
- }>;
10797
+ }[];
10700
10798
  cryptographic_binding_methods_supported: string[];
10701
10799
  credential_signing_alg_values_supported: string[];
10702
10800
  authentic_source?: string | undefined;
10703
10801
  issuance_errors_supported?: Record<string, {
10704
10802
  display: {
10705
- title: string;
10706
- locale: string;
10707
10803
  description: string;
10804
+ locale: string;
10805
+ title: string;
10708
10806
  }[];
10709
10807
  }> | undefined;
10710
- }>>;
10808
+ }>>>;
10711
10809
  jwks: z.ZodObject<{
10712
10810
  keys: z.ZodArray<z.ZodObject<{
10713
10811
  alg: z.ZodOptional<z.ZodString>;
@@ -10830,6 +10928,8 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10830
10928
  x5u?: string | undefined;
10831
10929
  }[];
10832
10930
  }>;
10931
+ trust_frameworks_supported: z.ZodArray<z.ZodString, "many">;
10932
+ evidence_supported: z.ZodArray<z.ZodString, "many">;
10833
10933
  }, "strip", z.ZodTypeAny, {
10834
10934
  jwks: {
10835
10935
  keys: {
@@ -10857,39 +10957,47 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10857
10957
  x5u?: string | undefined;
10858
10958
  }[];
10859
10959
  };
10860
- credential_issuer: string;
10861
- credential_endpoint: string;
10862
- revocation_endpoint: string;
10863
- status_attestation_endpoint: string;
10864
10960
  display: {
10865
10961
  name: string;
10866
10962
  locale: string;
10867
10963
  }[];
10868
- credential_configurations_supported: Record<string, {
10869
- format: "vc+sd-jwt" | "vc+mdoc-cbor";
10964
+ credential_issuer: string;
10965
+ credential_endpoint: string;
10966
+ nonce_endpoint: string;
10967
+ status_attestation_endpoint: string;
10968
+ credential_configurations_supported: Record<string, ({
10969
+ vct: string;
10970
+ format: "dc+sd-jwt";
10971
+ } | {
10972
+ format: "mso_mdoc";
10973
+ doctype: string;
10974
+ }) & {
10975
+ scope: string;
10870
10976
  display: {
10871
10977
  name: string;
10872
10978
  locale: string;
10873
10979
  }[];
10874
- scope: string;
10875
- claims: Record<string, {
10980
+ claims: {
10981
+ path: string[];
10876
10982
  display: {
10877
10983
  name: string;
10878
10984
  locale: string;
10879
10985
  }[];
10880
- value_type: string;
10881
- }>;
10986
+ }[];
10882
10987
  cryptographic_binding_methods_supported: string[];
10883
10988
  credential_signing_alg_values_supported: string[];
10884
10989
  authentic_source?: string | undefined;
10885
10990
  issuance_errors_supported?: Record<string, {
10886
10991
  display: {
10887
- title: string;
10888
- locale: string;
10889
10992
  description: string;
10993
+ locale: string;
10994
+ title: string;
10890
10995
  }[];
10891
10996
  }> | undefined;
10892
10997
  }>;
10998
+ trust_frameworks_supported: string[];
10999
+ evidence_supported: string[];
11000
+ revocation_endpoint?: string | undefined;
10893
11001
  }, {
10894
11002
  jwks: {
10895
11003
  keys: {
@@ -10917,39 +11025,47 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10917
11025
  x5u?: string | undefined;
10918
11026
  }[];
10919
11027
  };
10920
- credential_issuer: string;
10921
- credential_endpoint: string;
10922
- revocation_endpoint: string;
10923
- status_attestation_endpoint: string;
10924
11028
  display: {
10925
11029
  name: string;
10926
11030
  locale: string;
10927
11031
  }[];
10928
- credential_configurations_supported: Record<string, {
10929
- format: "vc+sd-jwt" | "vc+mdoc-cbor";
11032
+ credential_issuer: string;
11033
+ credential_endpoint: string;
11034
+ nonce_endpoint: string;
11035
+ status_attestation_endpoint: string;
11036
+ credential_configurations_supported: Record<string, ({
11037
+ vct: string;
11038
+ format: "dc+sd-jwt";
11039
+ } | {
11040
+ format: "mso_mdoc";
11041
+ doctype: string;
11042
+ }) & {
11043
+ scope: string;
10930
11044
  display: {
10931
11045
  name: string;
10932
11046
  locale: string;
10933
11047
  }[];
10934
- scope: string;
10935
- claims: Record<string, {
11048
+ claims: {
11049
+ path: string[];
10936
11050
  display: {
10937
11051
  name: string;
10938
11052
  locale: string;
10939
11053
  }[];
10940
- value_type: string;
10941
- }>;
11054
+ }[];
10942
11055
  cryptographic_binding_methods_supported: string[];
10943
11056
  credential_signing_alg_values_supported: string[];
10944
11057
  authentic_source?: string | undefined;
10945
11058
  issuance_errors_supported?: Record<string, {
10946
11059
  display: {
10947
- title: string;
10948
- locale: string;
10949
11060
  description: string;
11061
+ locale: string;
11062
+ title: string;
10950
11063
  }[];
10951
11064
  }> | undefined;
10952
11065
  }>;
11066
+ trust_frameworks_supported: string[];
11067
+ evidence_supported: string[];
11068
+ revocation_endpoint?: string | undefined;
10953
11069
  }>;
10954
11070
  oauth_authorization_server: z.ZodObject<{
10955
11071
  authorization_endpoint: z.ZodString;
@@ -11088,6 +11204,7 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
11088
11204
  token_endpoint_auth_signing_alg_values_supported: z.ZodArray<z.ZodString, "many">;
11089
11205
  request_object_signing_alg_values_supported: z.ZodArray<z.ZodString, "many">;
11090
11206
  }, "strip", z.ZodTypeAny, {
11207
+ request_object_signing_alg_values_supported: string[];
11091
11208
  jwks: {
11092
11209
  keys: {
11093
11210
  kty: "RSA" | "EC";
@@ -11126,8 +11243,8 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
11126
11243
  response_modes_supported: string[];
11127
11244
  token_endpoint_auth_methods_supported: string[];
11128
11245
  token_endpoint_auth_signing_alg_values_supported: string[];
11129
- request_object_signing_alg_values_supported: string[];
11130
11246
  }, {
11247
+ request_object_signing_alg_values_supported: string[];
11131
11248
  jwks: {
11132
11249
  keys: {
11133
11250
  kty: "RSA" | "EC";
@@ -11166,7 +11283,6 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
11166
11283
  response_modes_supported: string[];
11167
11284
  token_endpoint_auth_methods_supported: string[];
11168
11285
  token_endpoint_auth_signing_alg_values_supported: string[];
11169
- request_object_signing_alg_values_supported: string[];
11170
11286
  }>;
11171
11287
  /**
11172
11288
  * Credential Issuers act as Relying Party when they require the presentation of other credentials.
@@ -11693,41 +11809,50 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
11693
11809
  x5u?: string | undefined;
11694
11810
  }[];
11695
11811
  };
11696
- credential_issuer: string;
11697
- credential_endpoint: string;
11698
- revocation_endpoint: string;
11699
- status_attestation_endpoint: string;
11700
11812
  display: {
11701
11813
  name: string;
11702
11814
  locale: string;
11703
11815
  }[];
11704
- credential_configurations_supported: Record<string, {
11705
- format: "vc+sd-jwt" | "vc+mdoc-cbor";
11816
+ credential_issuer: string;
11817
+ credential_endpoint: string;
11818
+ nonce_endpoint: string;
11819
+ status_attestation_endpoint: string;
11820
+ credential_configurations_supported: Record<string, ({
11821
+ vct: string;
11822
+ format: "dc+sd-jwt";
11823
+ } | {
11824
+ format: "mso_mdoc";
11825
+ doctype: string;
11826
+ }) & {
11827
+ scope: string;
11706
11828
  display: {
11707
11829
  name: string;
11708
11830
  locale: string;
11709
11831
  }[];
11710
- scope: string;
11711
- claims: Record<string, {
11832
+ claims: {
11833
+ path: string[];
11712
11834
  display: {
11713
11835
  name: string;
11714
11836
  locale: string;
11715
11837
  }[];
11716
- value_type: string;
11717
- }>;
11838
+ }[];
11718
11839
  cryptographic_binding_methods_supported: string[];
11719
11840
  credential_signing_alg_values_supported: string[];
11720
11841
  authentic_source?: string | undefined;
11721
11842
  issuance_errors_supported?: Record<string, {
11722
11843
  display: {
11723
- title: string;
11724
- locale: string;
11725
11844
  description: string;
11845
+ locale: string;
11846
+ title: string;
11726
11847
  }[];
11727
11848
  }> | undefined;
11728
11849
  }>;
11850
+ trust_frameworks_supported: string[];
11851
+ evidence_supported: string[];
11852
+ revocation_endpoint?: string | undefined;
11729
11853
  };
11730
11854
  oauth_authorization_server: {
11855
+ request_object_signing_alg_values_supported: string[];
11731
11856
  jwks: {
11732
11857
  keys: {
11733
11858
  kty: "RSA" | "EC";
@@ -11766,7 +11891,6 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
11766
11891
  response_modes_supported: string[];
11767
11892
  token_endpoint_auth_methods_supported: string[];
11768
11893
  token_endpoint_auth_signing_alg_values_supported: string[];
11769
- request_object_signing_alg_values_supported: string[];
11770
11894
  };
11771
11895
  openid_credential_verifier?: {
11772
11896
  jwks: {
@@ -11869,41 +11993,50 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
11869
11993
  x5u?: string | undefined;
11870
11994
  }[];
11871
11995
  };
11872
- credential_issuer: string;
11873
- credential_endpoint: string;
11874
- revocation_endpoint: string;
11875
- status_attestation_endpoint: string;
11876
11996
  display: {
11877
11997
  name: string;
11878
11998
  locale: string;
11879
11999
  }[];
11880
- credential_configurations_supported: Record<string, {
11881
- format: "vc+sd-jwt" | "vc+mdoc-cbor";
12000
+ credential_issuer: string;
12001
+ credential_endpoint: string;
12002
+ nonce_endpoint: string;
12003
+ status_attestation_endpoint: string;
12004
+ credential_configurations_supported: Record<string, ({
12005
+ vct: string;
12006
+ format: "dc+sd-jwt";
12007
+ } | {
12008
+ format: "mso_mdoc";
12009
+ doctype: string;
12010
+ }) & {
12011
+ scope: string;
11882
12012
  display: {
11883
12013
  name: string;
11884
12014
  locale: string;
11885
12015
  }[];
11886
- scope: string;
11887
- claims: Record<string, {
12016
+ claims: {
12017
+ path: string[];
11888
12018
  display: {
11889
12019
  name: string;
11890
12020
  locale: string;
11891
12021
  }[];
11892
- value_type: string;
11893
- }>;
12022
+ }[];
11894
12023
  cryptographic_binding_methods_supported: string[];
11895
12024
  credential_signing_alg_values_supported: string[];
11896
12025
  authentic_source?: string | undefined;
11897
12026
  issuance_errors_supported?: Record<string, {
11898
12027
  display: {
11899
- title: string;
11900
- locale: string;
11901
12028
  description: string;
12029
+ locale: string;
12030
+ title: string;
11902
12031
  }[];
11903
12032
  }> | undefined;
11904
12033
  }>;
12034
+ trust_frameworks_supported: string[];
12035
+ evidence_supported: string[];
12036
+ revocation_endpoint?: string | undefined;
11905
12037
  };
11906
12038
  oauth_authorization_server: {
12039
+ request_object_signing_alg_values_supported: string[];
11907
12040
  jwks: {
11908
12041
  keys: {
11909
12042
  kty: "RSA" | "EC";
@@ -11942,7 +12075,6 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
11942
12075
  response_modes_supported: string[];
11943
12076
  token_endpoint_auth_methods_supported: string[];
11944
12077
  token_endpoint_auth_signing_alg_values_supported: string[];
11945
- request_object_signing_alg_values_supported: string[];
11946
12078
  };
11947
12079
  openid_credential_verifier?: {
11948
12080
  jwks: {
@@ -12019,6 +12151,32 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
12019
12151
  } | undefined;
12020
12152
  }>;
12021
12153
  }, "strip", z.ZodTypeAny, {
12154
+ jwks: {
12155
+ keys: {
12156
+ kty: "RSA" | "EC";
12157
+ alg?: string | undefined;
12158
+ crv?: string | undefined;
12159
+ d?: string | undefined;
12160
+ dp?: string | undefined;
12161
+ dq?: string | undefined;
12162
+ e?: string | undefined;
12163
+ ext?: boolean | undefined;
12164
+ k?: string | undefined;
12165
+ key_ops?: string[] | undefined;
12166
+ kid?: string | undefined;
12167
+ n?: string | undefined;
12168
+ p?: string | undefined;
12169
+ q?: string | undefined;
12170
+ qi?: string | undefined;
12171
+ use?: string | undefined;
12172
+ x?: string | undefined;
12173
+ y?: string | undefined;
12174
+ x5c?: string[] | undefined;
12175
+ x5t?: string | undefined;
12176
+ "x5t#S256"?: string | undefined;
12177
+ x5u?: string | undefined;
12178
+ }[];
12179
+ };
12022
12180
  metadata: {
12023
12181
  openid_credential_issuer: {
12024
12182
  jwks: {
@@ -12047,41 +12205,50 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
12047
12205
  x5u?: string | undefined;
12048
12206
  }[];
12049
12207
  };
12050
- credential_issuer: string;
12051
- credential_endpoint: string;
12052
- revocation_endpoint: string;
12053
- status_attestation_endpoint: string;
12054
12208
  display: {
12055
12209
  name: string;
12056
12210
  locale: string;
12057
12211
  }[];
12058
- credential_configurations_supported: Record<string, {
12059
- format: "vc+sd-jwt" | "vc+mdoc-cbor";
12212
+ credential_issuer: string;
12213
+ credential_endpoint: string;
12214
+ nonce_endpoint: string;
12215
+ status_attestation_endpoint: string;
12216
+ credential_configurations_supported: Record<string, ({
12217
+ vct: string;
12218
+ format: "dc+sd-jwt";
12219
+ } | {
12220
+ format: "mso_mdoc";
12221
+ doctype: string;
12222
+ }) & {
12223
+ scope: string;
12060
12224
  display: {
12061
12225
  name: string;
12062
12226
  locale: string;
12063
12227
  }[];
12064
- scope: string;
12065
- claims: Record<string, {
12228
+ claims: {
12229
+ path: string[];
12066
12230
  display: {
12067
12231
  name: string;
12068
12232
  locale: string;
12069
12233
  }[];
12070
- value_type: string;
12071
- }>;
12234
+ }[];
12072
12235
  cryptographic_binding_methods_supported: string[];
12073
12236
  credential_signing_alg_values_supported: string[];
12074
12237
  authentic_source?: string | undefined;
12075
12238
  issuance_errors_supported?: Record<string, {
12076
12239
  display: {
12077
- title: string;
12078
- locale: string;
12079
12240
  description: string;
12241
+ locale: string;
12242
+ title: string;
12080
12243
  }[];
12081
12244
  }> | undefined;
12082
12245
  }>;
12246
+ trust_frameworks_supported: string[];
12247
+ evidence_supported: string[];
12248
+ revocation_endpoint?: string | undefined;
12083
12249
  };
12084
12250
  oauth_authorization_server: {
12251
+ request_object_signing_alg_values_supported: string[];
12085
12252
  jwks: {
12086
12253
  keys: {
12087
12254
  kty: "RSA" | "EC";
@@ -12120,7 +12287,6 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
12120
12287
  response_modes_supported: string[];
12121
12288
  token_endpoint_auth_methods_supported: string[];
12122
12289
  token_endpoint_auth_signing_alg_values_supported: string[];
12123
- request_object_signing_alg_values_supported: string[];
12124
12290
  };
12125
12291
  openid_credential_verifier?: {
12126
12292
  jwks: {
@@ -12196,6 +12362,7 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
12196
12362
  authorization_encrypted_response_enc?: string | undefined;
12197
12363
  } | undefined;
12198
12364
  };
12365
+ }, {
12199
12366
  jwks: {
12200
12367
  keys: {
12201
12368
  kty: "RSA" | "EC";
@@ -12222,7 +12389,6 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
12222
12389
  x5u?: string | undefined;
12223
12390
  }[];
12224
12391
  };
12225
- }, {
12226
12392
  metadata: {
12227
12393
  openid_credential_issuer: {
12228
12394
  jwks: {
@@ -12251,41 +12417,50 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
12251
12417
  x5u?: string | undefined;
12252
12418
  }[];
12253
12419
  };
12254
- credential_issuer: string;
12255
- credential_endpoint: string;
12256
- revocation_endpoint: string;
12257
- status_attestation_endpoint: string;
12258
12420
  display: {
12259
12421
  name: string;
12260
12422
  locale: string;
12261
12423
  }[];
12262
- credential_configurations_supported: Record<string, {
12263
- format: "vc+sd-jwt" | "vc+mdoc-cbor";
12424
+ credential_issuer: string;
12425
+ credential_endpoint: string;
12426
+ nonce_endpoint: string;
12427
+ status_attestation_endpoint: string;
12428
+ credential_configurations_supported: Record<string, ({
12429
+ vct: string;
12430
+ format: "dc+sd-jwt";
12431
+ } | {
12432
+ format: "mso_mdoc";
12433
+ doctype: string;
12434
+ }) & {
12435
+ scope: string;
12264
12436
  display: {
12265
12437
  name: string;
12266
12438
  locale: string;
12267
12439
  }[];
12268
- scope: string;
12269
- claims: Record<string, {
12440
+ claims: {
12441
+ path: string[];
12270
12442
  display: {
12271
12443
  name: string;
12272
12444
  locale: string;
12273
12445
  }[];
12274
- value_type: string;
12275
- }>;
12446
+ }[];
12276
12447
  cryptographic_binding_methods_supported: string[];
12277
12448
  credential_signing_alg_values_supported: string[];
12278
12449
  authentic_source?: string | undefined;
12279
12450
  issuance_errors_supported?: Record<string, {
12280
12451
  display: {
12281
- title: string;
12282
- locale: string;
12283
12452
  description: string;
12453
+ locale: string;
12454
+ title: string;
12284
12455
  }[];
12285
12456
  }> | undefined;
12286
12457
  }>;
12458
+ trust_frameworks_supported: string[];
12459
+ evidence_supported: string[];
12460
+ revocation_endpoint?: string | undefined;
12287
12461
  };
12288
12462
  oauth_authorization_server: {
12463
+ request_object_signing_alg_values_supported: string[];
12289
12464
  jwks: {
12290
12465
  keys: {
12291
12466
  kty: "RSA" | "EC";
@@ -12324,7 +12499,6 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
12324
12499
  response_modes_supported: string[];
12325
12500
  token_endpoint_auth_methods_supported: string[];
12326
12501
  token_endpoint_auth_signing_alg_values_supported: string[];
12327
- request_object_signing_alg_values_supported: string[];
12328
12502
  };
12329
12503
  openid_credential_verifier?: {
12330
12504
  jwks: {
@@ -12400,6 +12574,9 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
12400
12574
  authorization_encrypted_response_enc?: string | undefined;
12401
12575
  } | undefined;
12402
12576
  };
12577
+ }>;
12578
+ }, "strip", z.ZodTypeAny, {
12579
+ payload: {
12403
12580
  jwks: {
12404
12581
  keys: {
12405
12582
  kty: "RSA" | "EC";
@@ -12426,9 +12603,6 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
12426
12603
  x5u?: string | undefined;
12427
12604
  }[];
12428
12605
  };
12429
- }>;
12430
- }, "strip", z.ZodTypeAny, {
12431
- payload: {
12432
12606
  metadata: {
12433
12607
  openid_credential_issuer: {
12434
12608
  jwks: {
@@ -12457,41 +12631,50 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
12457
12631
  x5u?: string | undefined;
12458
12632
  }[];
12459
12633
  };
12460
- credential_issuer: string;
12461
- credential_endpoint: string;
12462
- revocation_endpoint: string;
12463
- status_attestation_endpoint: string;
12464
12634
  display: {
12465
12635
  name: string;
12466
12636
  locale: string;
12467
12637
  }[];
12468
- credential_configurations_supported: Record<string, {
12469
- format: "vc+sd-jwt" | "vc+mdoc-cbor";
12638
+ credential_issuer: string;
12639
+ credential_endpoint: string;
12640
+ nonce_endpoint: string;
12641
+ status_attestation_endpoint: string;
12642
+ credential_configurations_supported: Record<string, ({
12643
+ vct: string;
12644
+ format: "dc+sd-jwt";
12645
+ } | {
12646
+ format: "mso_mdoc";
12647
+ doctype: string;
12648
+ }) & {
12649
+ scope: string;
12470
12650
  display: {
12471
12651
  name: string;
12472
12652
  locale: string;
12473
12653
  }[];
12474
- scope: string;
12475
- claims: Record<string, {
12654
+ claims: {
12655
+ path: string[];
12476
12656
  display: {
12477
12657
  name: string;
12478
12658
  locale: string;
12479
12659
  }[];
12480
- value_type: string;
12481
- }>;
12660
+ }[];
12482
12661
  cryptographic_binding_methods_supported: string[];
12483
12662
  credential_signing_alg_values_supported: string[];
12484
12663
  authentic_source?: string | undefined;
12485
12664
  issuance_errors_supported?: Record<string, {
12486
12665
  display: {
12487
- title: string;
12488
- locale: string;
12489
12666
  description: string;
12667
+ locale: string;
12668
+ title: string;
12490
12669
  }[];
12491
12670
  }> | undefined;
12492
12671
  }>;
12672
+ trust_frameworks_supported: string[];
12673
+ evidence_supported: string[];
12674
+ revocation_endpoint?: string | undefined;
12493
12675
  };
12494
12676
  oauth_authorization_server: {
12677
+ request_object_signing_alg_values_supported: string[];
12495
12678
  jwks: {
12496
12679
  keys: {
12497
12680
  kty: "RSA" | "EC";
@@ -12530,7 +12713,6 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
12530
12713
  response_modes_supported: string[];
12531
12714
  token_endpoint_auth_methods_supported: string[];
12532
12715
  token_endpoint_auth_signing_alg_values_supported: string[];
12533
- request_object_signing_alg_values_supported: string[];
12534
12716
  };
12535
12717
  openid_credential_verifier?: {
12536
12718
  jwks: {
@@ -12606,6 +12788,9 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
12606
12788
  authorization_encrypted_response_enc?: string | undefined;
12607
12789
  } | undefined;
12608
12790
  };
12791
+ };
12792
+ }, {
12793
+ payload: {
12609
12794
  jwks: {
12610
12795
  keys: {
12611
12796
  kty: "RSA" | "EC";
@@ -12632,9 +12817,6 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
12632
12817
  x5u?: string | undefined;
12633
12818
  }[];
12634
12819
  };
12635
- };
12636
- }, {
12637
- payload: {
12638
12820
  metadata: {
12639
12821
  openid_credential_issuer: {
12640
12822
  jwks: {
@@ -12663,41 +12845,50 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
12663
12845
  x5u?: string | undefined;
12664
12846
  }[];
12665
12847
  };
12666
- credential_issuer: string;
12667
- credential_endpoint: string;
12668
- revocation_endpoint: string;
12669
- status_attestation_endpoint: string;
12670
12848
  display: {
12671
12849
  name: string;
12672
12850
  locale: string;
12673
12851
  }[];
12674
- credential_configurations_supported: Record<string, {
12675
- format: "vc+sd-jwt" | "vc+mdoc-cbor";
12852
+ credential_issuer: string;
12853
+ credential_endpoint: string;
12854
+ nonce_endpoint: string;
12855
+ status_attestation_endpoint: string;
12856
+ credential_configurations_supported: Record<string, ({
12857
+ vct: string;
12858
+ format: "dc+sd-jwt";
12859
+ } | {
12860
+ format: "mso_mdoc";
12861
+ doctype: string;
12862
+ }) & {
12863
+ scope: string;
12676
12864
  display: {
12677
12865
  name: string;
12678
12866
  locale: string;
12679
12867
  }[];
12680
- scope: string;
12681
- claims: Record<string, {
12868
+ claims: {
12869
+ path: string[];
12682
12870
  display: {
12683
12871
  name: string;
12684
12872
  locale: string;
12685
12873
  }[];
12686
- value_type: string;
12687
- }>;
12874
+ }[];
12688
12875
  cryptographic_binding_methods_supported: string[];
12689
12876
  credential_signing_alg_values_supported: string[];
12690
12877
  authentic_source?: string | undefined;
12691
12878
  issuance_errors_supported?: Record<string, {
12692
12879
  display: {
12693
- title: string;
12694
- locale: string;
12695
12880
  description: string;
12881
+ locale: string;
12882
+ title: string;
12696
12883
  }[];
12697
12884
  }> | undefined;
12698
12885
  }>;
12886
+ trust_frameworks_supported: string[];
12887
+ evidence_supported: string[];
12888
+ revocation_endpoint?: string | undefined;
12699
12889
  };
12700
12890
  oauth_authorization_server: {
12891
+ request_object_signing_alg_values_supported: string[];
12701
12892
  jwks: {
12702
12893
  keys: {
12703
12894
  kty: "RSA" | "EC";
@@ -12736,7 +12927,6 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
12736
12927
  response_modes_supported: string[];
12737
12928
  token_endpoint_auth_methods_supported: string[];
12738
12929
  token_endpoint_auth_signing_alg_values_supported: string[];
12739
- request_object_signing_alg_values_supported: string[];
12740
12930
  };
12741
12931
  openid_credential_verifier?: {
12742
12932
  jwks: {
@@ -12812,32 +13002,6 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
12812
13002
  authorization_encrypted_response_enc?: string | undefined;
12813
13003
  } | undefined;
12814
13004
  };
12815
- jwks: {
12816
- keys: {
12817
- kty: "RSA" | "EC";
12818
- alg?: string | undefined;
12819
- crv?: string | undefined;
12820
- d?: string | undefined;
12821
- dp?: string | undefined;
12822
- dq?: string | undefined;
12823
- e?: string | undefined;
12824
- ext?: boolean | undefined;
12825
- k?: string | undefined;
12826
- key_ops?: string[] | undefined;
12827
- kid?: string | undefined;
12828
- n?: string | undefined;
12829
- p?: string | undefined;
12830
- q?: string | undefined;
12831
- qi?: string | undefined;
12832
- use?: string | undefined;
12833
- x?: string | undefined;
12834
- y?: string | undefined;
12835
- x5c?: string[] | undefined;
12836
- x5t?: string | undefined;
12837
- "x5t#S256"?: string | undefined;
12838
- x5u?: string | undefined;
12839
- }[];
12840
- };
12841
13005
  };
12842
13006
  }>>, z.ZodObject<{
12843
13007
  header: z.ZodObject<{
@@ -13648,27 +13812,6 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
13648
13812
  sub: string;
13649
13813
  iat: number;
13650
13814
  exp: number;
13651
- metadata: {
13652
- federation_entity: {
13653
- federation_fetch_endpoint?: string | undefined;
13654
- federation_list_endpoint?: string | undefined;
13655
- federation_resolve_endpoint?: string | undefined;
13656
- federation_trust_mark_status_endpoint?: string | undefined;
13657
- federation_trust_mark_list_endpoint?: string | undefined;
13658
- federation_trust_mark_endpoint?: string | undefined;
13659
- federation_historical_keys_endpoint?: string | undefined;
13660
- endpoint_auth_signing_alg_values_supported?: string | undefined;
13661
- organization_name?: string | undefined;
13662
- homepage_uri?: string | undefined;
13663
- policy_uri?: string | undefined;
13664
- logo_uri?: string | undefined;
13665
- contacts?: string[] | undefined;
13666
- } & {
13667
- [k: string]: unknown;
13668
- };
13669
- } & {
13670
- [k: string]: unknown;
13671
- };
13672
13815
  jwks: {
13673
13816
  keys: {
13674
13817
  kty: "RSA" | "EC";
@@ -13695,21 +13838,6 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
13695
13838
  x5u?: string | undefined;
13696
13839
  }[];
13697
13840
  };
13698
- authority_hints?: string[] | undefined;
13699
- } & {
13700
- [k: string]: unknown;
13701
- };
13702
- }, {
13703
- header: {
13704
- alg: string;
13705
- kid: string;
13706
- typ: "entity-statement+jwt";
13707
- };
13708
- payload: {
13709
- iss: string;
13710
- sub: string;
13711
- iat: number;
13712
- exp: number;
13713
13841
  metadata: {
13714
13842
  federation_entity: {
13715
13843
  federation_fetch_endpoint?: string | undefined;
@@ -13731,6 +13859,21 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
13731
13859
  } & {
13732
13860
  [k: string]: unknown;
13733
13861
  };
13862
+ authority_hints?: string[] | undefined;
13863
+ } & {
13864
+ [k: string]: unknown;
13865
+ };
13866
+ }, {
13867
+ header: {
13868
+ alg: string;
13869
+ kid: string;
13870
+ typ: "entity-statement+jwt";
13871
+ };
13872
+ payload: {
13873
+ iss: string;
13874
+ sub: string;
13875
+ iat: number;
13876
+ exp: number;
13734
13877
  jwks: {
13735
13878
  keys: {
13736
13879
  kty: "RSA" | "EC";
@@ -13757,6 +13900,27 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
13757
13900
  x5u?: string | undefined;
13758
13901
  }[];
13759
13902
  };
13903
+ metadata: {
13904
+ federation_entity: {
13905
+ federation_fetch_endpoint?: string | undefined;
13906
+ federation_list_endpoint?: string | undefined;
13907
+ federation_resolve_endpoint?: string | undefined;
13908
+ federation_trust_mark_status_endpoint?: string | undefined;
13909
+ federation_trust_mark_list_endpoint?: string | undefined;
13910
+ federation_trust_mark_endpoint?: string | undefined;
13911
+ federation_historical_keys_endpoint?: string | undefined;
13912
+ endpoint_auth_signing_alg_values_supported?: string | undefined;
13913
+ organization_name?: string | undefined;
13914
+ homepage_uri?: string | undefined;
13915
+ policy_uri?: string | undefined;
13916
+ logo_uri?: string | undefined;
13917
+ contacts?: string[] | undefined;
13918
+ } & {
13919
+ [k: string]: unknown;
13920
+ };
13921
+ } & {
13922
+ [k: string]: unknown;
13923
+ };
13760
13924
  authority_hints?: string[] | undefined;
13761
13925
  } & {
13762
13926
  [k: string]: unknown;
@@ -14570,27 +14734,6 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
14570
14734
  sub: string;
14571
14735
  iat: number;
14572
14736
  exp: number;
14573
- metadata: {
14574
- federation_entity: {
14575
- federation_fetch_endpoint?: string | undefined;
14576
- federation_list_endpoint?: string | undefined;
14577
- federation_resolve_endpoint?: string | undefined;
14578
- federation_trust_mark_status_endpoint?: string | undefined;
14579
- federation_trust_mark_list_endpoint?: string | undefined;
14580
- federation_trust_mark_endpoint?: string | undefined;
14581
- federation_historical_keys_endpoint?: string | undefined;
14582
- endpoint_auth_signing_alg_values_supported?: string | undefined;
14583
- organization_name?: string | undefined;
14584
- homepage_uri?: string | undefined;
14585
- policy_uri?: string | undefined;
14586
- logo_uri?: string | undefined;
14587
- contacts?: string[] | undefined;
14588
- } & {
14589
- [k: string]: unknown;
14590
- };
14591
- } & {
14592
- [k: string]: unknown;
14593
- };
14594
14737
  jwks: {
14595
14738
  keys: {
14596
14739
  kty: "RSA" | "EC";
@@ -14617,21 +14760,6 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
14617
14760
  x5u?: string | undefined;
14618
14761
  }[];
14619
14762
  };
14620
- authority_hints?: string[] | undefined;
14621
- } & {
14622
- [k: string]: unknown;
14623
- };
14624
- }, {
14625
- header: {
14626
- alg: string;
14627
- kid: string;
14628
- typ: "entity-statement+jwt";
14629
- };
14630
- payload: {
14631
- iss: string;
14632
- sub: string;
14633
- iat: number;
14634
- exp: number;
14635
14763
  metadata: {
14636
14764
  federation_entity: {
14637
14765
  federation_fetch_endpoint?: string | undefined;
@@ -14653,6 +14781,21 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
14653
14781
  } & {
14654
14782
  [k: string]: unknown;
14655
14783
  };
14784
+ authority_hints?: string[] | undefined;
14785
+ } & {
14786
+ [k: string]: unknown;
14787
+ };
14788
+ }, {
14789
+ header: {
14790
+ alg: string;
14791
+ kid: string;
14792
+ typ: "entity-statement+jwt";
14793
+ };
14794
+ payload: {
14795
+ iss: string;
14796
+ sub: string;
14797
+ iat: number;
14798
+ exp: number;
14656
14799
  jwks: {
14657
14800
  keys: {
14658
14801
  kty: "RSA" | "EC";
@@ -14679,6 +14822,27 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
14679
14822
  x5u?: string | undefined;
14680
14823
  }[];
14681
14824
  };
14825
+ metadata: {
14826
+ federation_entity: {
14827
+ federation_fetch_endpoint?: string | undefined;
14828
+ federation_list_endpoint?: string | undefined;
14829
+ federation_resolve_endpoint?: string | undefined;
14830
+ federation_trust_mark_status_endpoint?: string | undefined;
14831
+ federation_trust_mark_list_endpoint?: string | undefined;
14832
+ federation_trust_mark_endpoint?: string | undefined;
14833
+ federation_historical_keys_endpoint?: string | undefined;
14834
+ endpoint_auth_signing_alg_values_supported?: string | undefined;
14835
+ organization_name?: string | undefined;
14836
+ homepage_uri?: string | undefined;
14837
+ policy_uri?: string | undefined;
14838
+ logo_uri?: string | undefined;
14839
+ contacts?: string[] | undefined;
14840
+ } & {
14841
+ [k: string]: unknown;
14842
+ };
14843
+ } & {
14844
+ [k: string]: unknown;
14845
+ };
14682
14846
  authority_hints?: string[] | undefined;
14683
14847
  } & {
14684
14848
  [k: string]: unknown;