@pagopa/io-react-native-wallet 0.28.0 → 0.28.2

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 (149) hide show
  1. package/lib/commonjs/credential/issuance/03-start-user-authorization.js +3 -0
  2. package/lib/commonjs/credential/issuance/03-start-user-authorization.js.map +1 -1
  3. package/lib/commonjs/credential/issuance/04-complete-user-authorization.js +5 -3
  4. package/lib/commonjs/credential/issuance/04-complete-user-authorization.js.map +1 -1
  5. package/lib/commonjs/credential/presentation/01-start-flow.js +12 -23
  6. package/lib/commonjs/credential/presentation/01-start-flow.js.map +1 -1
  7. package/lib/commonjs/credential/presentation/02-evaluate-rp-trust.js +4 -2
  8. package/lib/commonjs/credential/presentation/02-evaluate-rp-trust.js.map +1 -1
  9. package/lib/commonjs/credential/presentation/03-get-request-object.js +31 -43
  10. package/lib/commonjs/credential/presentation/03-get-request-object.js.map +1 -1
  11. package/lib/commonjs/credential/presentation/04-retrieve-rp-jwks.js +32 -0
  12. package/lib/commonjs/credential/presentation/04-retrieve-rp-jwks.js.map +1 -0
  13. package/lib/commonjs/credential/presentation/05-verify-request-object.js +60 -0
  14. package/lib/commonjs/credential/presentation/05-verify-request-object.js.map +1 -0
  15. package/lib/commonjs/credential/presentation/06-fetch-presentation-definition.js +39 -0
  16. package/lib/commonjs/credential/presentation/06-fetch-presentation-definition.js.map +1 -0
  17. package/lib/commonjs/credential/presentation/07-evaluate-dcql-query.js +134 -0
  18. package/lib/commonjs/credential/presentation/07-evaluate-dcql-query.js.map +1 -0
  19. package/lib/commonjs/credential/presentation/07-evaluate-input-descriptor.js +296 -0
  20. package/lib/commonjs/credential/presentation/07-evaluate-input-descriptor.js.map +1 -0
  21. package/lib/commonjs/credential/presentation/08-send-authorization-response.js +170 -0
  22. package/lib/commonjs/credential/presentation/08-send-authorization-response.js.map +1 -0
  23. package/lib/commonjs/credential/presentation/README.md +88 -2
  24. package/lib/commonjs/credential/presentation/errors.js +68 -1
  25. package/lib/commonjs/credential/presentation/errors.js.map +1 -1
  26. package/lib/commonjs/credential/presentation/index.js +54 -1
  27. package/lib/commonjs/credential/presentation/index.js.map +1 -1
  28. package/lib/commonjs/credential/presentation/types.js +125 -4
  29. package/lib/commonjs/credential/presentation/types.js.map +1 -1
  30. package/lib/commonjs/sd-jwt/index.js +41 -1
  31. package/lib/commonjs/sd-jwt/index.js.map +1 -1
  32. package/lib/commonjs/trust/chain.js.map +1 -1
  33. package/lib/commonjs/trust/types.js +26 -6
  34. package/lib/commonjs/trust/types.js.map +1 -1
  35. package/lib/commonjs/trust/utils.js +5 -0
  36. package/lib/commonjs/trust/utils.js.map +1 -1
  37. package/lib/commonjs/utils/jwk.js +5 -1
  38. package/lib/commonjs/utils/jwk.js.map +1 -1
  39. package/lib/module/credential/issuance/03-start-user-authorization.js +3 -0
  40. package/lib/module/credential/issuance/03-start-user-authorization.js.map +1 -1
  41. package/lib/module/credential/issuance/04-complete-user-authorization.js +5 -3
  42. package/lib/module/credential/issuance/04-complete-user-authorization.js.map +1 -1
  43. package/lib/module/credential/presentation/01-start-flow.js +13 -24
  44. package/lib/module/credential/presentation/01-start-flow.js.map +1 -1
  45. package/lib/module/credential/presentation/02-evaluate-rp-trust.js +4 -2
  46. package/lib/module/credential/presentation/02-evaluate-rp-trust.js.map +1 -1
  47. package/lib/module/credential/presentation/03-get-request-object.js +32 -44
  48. package/lib/module/credential/presentation/03-get-request-object.js.map +1 -1
  49. package/lib/module/credential/presentation/04-retrieve-rp-jwks.js +25 -0
  50. package/lib/module/credential/presentation/04-retrieve-rp-jwks.js.map +1 -0
  51. package/lib/module/credential/presentation/05-verify-request-object.js +53 -0
  52. package/lib/module/credential/presentation/05-verify-request-object.js.map +1 -0
  53. package/lib/module/credential/presentation/06-fetch-presentation-definition.js +32 -0
  54. package/lib/module/credential/presentation/06-fetch-presentation-definition.js.map +1 -0
  55. package/lib/module/credential/presentation/07-evaluate-dcql-query.js +127 -0
  56. package/lib/module/credential/presentation/07-evaluate-dcql-query.js.map +1 -0
  57. package/lib/module/credential/presentation/07-evaluate-input-descriptor.js +285 -0
  58. package/lib/module/credential/presentation/07-evaluate-input-descriptor.js.map +1 -0
  59. package/lib/module/credential/presentation/08-send-authorization-response.js +158 -0
  60. package/lib/module/credential/presentation/08-send-authorization-response.js.map +1 -0
  61. package/lib/module/credential/presentation/README.md +88 -2
  62. package/lib/module/credential/presentation/errors.js +63 -0
  63. package/lib/module/credential/presentation/errors.js.map +1 -1
  64. package/lib/module/credential/presentation/index.js +7 -2
  65. package/lib/module/credential/presentation/index.js.map +1 -1
  66. package/lib/module/credential/presentation/types.js +122 -3
  67. package/lib/module/credential/presentation/types.js.map +1 -1
  68. package/lib/module/sd-jwt/index.js +40 -1
  69. package/lib/module/sd-jwt/index.js.map +1 -1
  70. package/lib/module/trust/chain.js.map +1 -1
  71. package/lib/module/trust/types.js +26 -6
  72. package/lib/module/trust/types.js.map +1 -1
  73. package/lib/module/trust/utils.js +5 -0
  74. package/lib/module/trust/utils.js.map +1 -1
  75. package/lib/module/utils/jwk.js +3 -0
  76. package/lib/module/utils/jwk.js.map +1 -1
  77. package/lib/typescript/credential/issuance/03-start-user-authorization.d.ts.map +1 -1
  78. package/lib/typescript/credential/issuance/04-complete-user-authorization.d.ts +2 -2
  79. package/lib/typescript/credential/issuance/04-complete-user-authorization.d.ts.map +1 -1
  80. package/lib/typescript/credential/presentation/01-start-flow.d.ts +23 -7
  81. package/lib/typescript/credential/presentation/01-start-flow.d.ts.map +1 -1
  82. package/lib/typescript/credential/presentation/02-evaluate-rp-trust.d.ts +1 -0
  83. package/lib/typescript/credential/presentation/02-evaluate-rp-trust.d.ts.map +1 -1
  84. package/lib/typescript/credential/presentation/03-get-request-object.d.ts +7 -11
  85. package/lib/typescript/credential/presentation/03-get-request-object.d.ts.map +1 -1
  86. package/lib/typescript/credential/presentation/04-retrieve-rp-jwks.d.ts +23 -0
  87. package/lib/typescript/credential/presentation/04-retrieve-rp-jwks.d.ts.map +1 -0
  88. package/lib/typescript/credential/presentation/05-verify-request-object.d.ts +20 -0
  89. package/lib/typescript/credential/presentation/05-verify-request-object.d.ts.map +1 -0
  90. package/lib/typescript/credential/presentation/06-fetch-presentation-definition.d.ts +21 -0
  91. package/lib/typescript/credential/presentation/06-fetch-presentation-definition.d.ts.map +1 -0
  92. package/lib/typescript/credential/presentation/07-evaluate-dcql-query.d.ts +28 -0
  93. package/lib/typescript/credential/presentation/07-evaluate-dcql-query.d.ts.map +1 -0
  94. package/lib/typescript/credential/presentation/07-evaluate-input-descriptor.d.ts +93 -0
  95. package/lib/typescript/credential/presentation/07-evaluate-input-descriptor.d.ts.map +1 -0
  96. package/lib/typescript/credential/presentation/08-send-authorization-response.d.ts +70 -0
  97. package/lib/typescript/credential/presentation/08-send-authorization-response.d.ts.map +1 -0
  98. package/lib/typescript/credential/presentation/errors.d.ts +43 -0
  99. package/lib/typescript/credential/presentation/errors.d.ts.map +1 -1
  100. package/lib/typescript/credential/presentation/index.d.ts +8 -3
  101. package/lib/typescript/credential/presentation/index.d.ts.map +1 -1
  102. package/lib/typescript/credential/presentation/types.d.ts +750 -13
  103. package/lib/typescript/credential/presentation/types.d.ts.map +1 -1
  104. package/lib/typescript/sd-jwt/index.d.ts +19 -0
  105. package/lib/typescript/sd-jwt/index.d.ts.map +1 -1
  106. package/lib/typescript/trust/index.d.ts +236 -8
  107. package/lib/typescript/trust/index.d.ts.map +1 -1
  108. package/lib/typescript/trust/types.d.ts +3046 -76
  109. package/lib/typescript/trust/types.d.ts.map +1 -1
  110. package/lib/typescript/trust/utils.d.ts +6 -6
  111. package/lib/typescript/trust/utils.d.ts.map +1 -1
  112. package/lib/typescript/utils/decoder.d.ts +1 -1
  113. package/lib/typescript/utils/decoder.d.ts.map +1 -1
  114. package/lib/typescript/utils/errors.d.ts.map +1 -1
  115. package/lib/typescript/utils/jwk.d.ts +137 -0
  116. package/lib/typescript/utils/jwk.d.ts.map +1 -1
  117. package/lib/typescript/utils/misc.d.ts.map +1 -1
  118. package/lib/typescript/wallet-instance-attestation/types.d.ts +16 -16
  119. package/package.json +15 -11
  120. package/src/credential/issuance/03-start-user-authorization.ts +3 -0
  121. package/src/credential/issuance/04-complete-user-authorization.ts +6 -3
  122. package/src/credential/presentation/01-start-flow.ts +18 -28
  123. package/src/credential/presentation/02-evaluate-rp-trust.ts +3 -2
  124. package/src/credential/presentation/03-get-request-object.ts +36 -60
  125. package/src/credential/presentation/04-retrieve-rp-jwks.ts +34 -0
  126. package/src/credential/presentation/05-verify-request-object.ts +63 -0
  127. package/src/credential/presentation/06-fetch-presentation-definition.ts +48 -0
  128. package/src/credential/presentation/07-evaluate-dcql-query.ts +174 -0
  129. package/src/credential/presentation/07-evaluate-input-descriptor.ts +393 -0
  130. package/src/credential/presentation/08-send-authorization-response.ts +222 -0
  131. package/src/credential/presentation/README.md +88 -2
  132. package/src/credential/presentation/errors.ts +64 -0
  133. package/src/credential/presentation/index.ts +40 -1
  134. package/src/credential/presentation/types.ts +135 -4
  135. package/src/sd-jwt/index.ts +49 -1
  136. package/src/trust/chain.ts +2 -2
  137. package/src/trust/types.ts +25 -5
  138. package/src/trust/utils.ts +6 -3
  139. package/src/utils/decoder.ts +1 -1
  140. package/src/utils/errors.ts +2 -2
  141. package/src/utils/jwk.ts +8 -1
  142. package/src/utils/misc.ts +2 -2
  143. package/lib/commonjs/credential/presentation/04-send-authorization-response.js +0 -138
  144. package/lib/commonjs/credential/presentation/04-send-authorization-response.js.map +0 -1
  145. package/lib/module/credential/presentation/04-send-authorization-response.js +0 -128
  146. package/lib/module/credential/presentation/04-send-authorization-response.js.map +0 -1
  147. package/lib/typescript/credential/presentation/04-send-authorization-response.d.ts +0 -34
  148. package/lib/typescript/credential/presentation/04-send-authorization-response.d.ts.map +0 -1
  149. package/src/credential/presentation/04-send-authorization-response.ts +0 -168
@@ -2388,12 +2388,12 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2388
2388
  }[];
2389
2389
  }>>>;
2390
2390
  }, "strip", z.ZodTypeAny, {
2391
+ format: "vc+sd-jwt" | "vc+mdoc-cbor";
2392
+ scope: string;
2391
2393
  display: {
2392
2394
  name: string;
2393
2395
  locale: string;
2394
2396
  }[];
2395
- format: "vc+sd-jwt" | "vc+mdoc-cbor";
2396
- scope: string;
2397
2397
  claims: Record<string, {
2398
2398
  value_type: string;
2399
2399
  display: {
@@ -2412,12 +2412,12 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2412
2412
  }[];
2413
2413
  }> | undefined;
2414
2414
  }, {
2415
+ format: "vc+sd-jwt" | "vc+mdoc-cbor";
2416
+ scope: string;
2415
2417
  display: {
2416
2418
  name: string;
2417
2419
  locale: string;
2418
2420
  }[];
2419
- format: "vc+sd-jwt" | "vc+mdoc-cbor";
2420
- scope: string;
2421
2421
  claims: Record<string, {
2422
2422
  value_type: string;
2423
2423
  display: {
@@ -2594,12 +2594,12 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2594
2594
  revocation_endpoint: string;
2595
2595
  status_attestation_endpoint: string;
2596
2596
  credential_configurations_supported: Record<string, {
2597
+ format: "vc+sd-jwt" | "vc+mdoc-cbor";
2598
+ scope: string;
2597
2599
  display: {
2598
2600
  name: string;
2599
2601
  locale: string;
2600
2602
  }[];
2601
- format: "vc+sd-jwt" | "vc+mdoc-cbor";
2602
- scope: string;
2603
2603
  claims: Record<string, {
2604
2604
  value_type: string;
2605
2605
  display: {
@@ -2654,12 +2654,12 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2654
2654
  revocation_endpoint: string;
2655
2655
  status_attestation_endpoint: string;
2656
2656
  credential_configurations_supported: Record<string, {
2657
+ format: "vc+sd-jwt" | "vc+mdoc-cbor";
2658
+ scope: string;
2657
2659
  display: {
2658
2660
  name: string;
2659
2661
  locale: string;
2660
2662
  }[];
2661
- format: "vc+sd-jwt" | "vc+mdoc-cbor";
2662
- scope: string;
2663
2663
  claims: Record<string, {
2664
2664
  value_type: string;
2665
2665
  display: {
@@ -2816,6 +2816,7 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2816
2816
  token_endpoint_auth_signing_alg_values_supported: z.ZodArray<z.ZodString, "many">;
2817
2817
  request_object_signing_alg_values_supported: z.ZodArray<z.ZodString, "many">;
2818
2818
  }, "strip", z.ZodTypeAny, {
2819
+ request_object_signing_alg_values_supported: string[];
2819
2820
  jwks: {
2820
2821
  keys: {
2821
2822
  kty: "RSA" | "EC";
@@ -2854,8 +2855,8 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2854
2855
  response_modes_supported: string[];
2855
2856
  token_endpoint_auth_methods_supported: string[];
2856
2857
  token_endpoint_auth_signing_alg_values_supported: string[];
2857
- request_object_signing_alg_values_supported: string[];
2858
2858
  }, {
2859
+ request_object_signing_alg_values_supported: string[];
2859
2860
  jwks: {
2860
2861
  keys: {
2861
2862
  kty: "RSA" | "EC";
@@ -2894,11 +2895,508 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2894
2895
  response_modes_supported: string[];
2895
2896
  token_endpoint_auth_methods_supported: string[];
2896
2897
  token_endpoint_auth_signing_alg_values_supported: string[];
2897
- request_object_signing_alg_values_supported: string[];
2898
2898
  }>;
2899
- /** Credential Issuers act as Relying Party
2900
- when they require the presentation of other credentials.
2901
- This does not apply for PID issuance, which requires CIE authz. */
2899
+ /**
2900
+ * Credential Issuers act as Relying Party when they require the presentation of other credentials.
2901
+ * This does not apply for PID issuance, which requires CIE authz.
2902
+ */
2903
+ openid_credential_verifier: z.ZodOptional<z.ZodObject<{
2904
+ application_type: z.ZodOptional<z.ZodString>;
2905
+ client_id: z.ZodOptional<z.ZodString>;
2906
+ client_name: z.ZodOptional<z.ZodString>;
2907
+ jwks: z.ZodObject<{
2908
+ keys: z.ZodArray<z.ZodObject<{
2909
+ alg: z.ZodOptional<z.ZodString>;
2910
+ crv: z.ZodOptional<z.ZodString>;
2911
+ d: z.ZodOptional<z.ZodString>;
2912
+ dp: z.ZodOptional<z.ZodString>;
2913
+ dq: z.ZodOptional<z.ZodString>;
2914
+ e: z.ZodOptional<z.ZodString>;
2915
+ ext: z.ZodOptional<z.ZodBoolean>;
2916
+ k: z.ZodOptional<z.ZodString>;
2917
+ key_ops: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2918
+ kid: z.ZodOptional<z.ZodString>;
2919
+ kty: z.ZodUnion<[z.ZodLiteral<"RSA">, z.ZodLiteral<"EC">]>;
2920
+ n: z.ZodOptional<z.ZodString>;
2921
+ p: z.ZodOptional<z.ZodString>;
2922
+ q: z.ZodOptional<z.ZodString>;
2923
+ qi: z.ZodOptional<z.ZodString>;
2924
+ use: z.ZodOptional<z.ZodString>;
2925
+ x: z.ZodOptional<z.ZodString>;
2926
+ y: z.ZodOptional<z.ZodString>;
2927
+ x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2928
+ x5t: z.ZodOptional<z.ZodString>;
2929
+ "x5t#S256": z.ZodOptional<z.ZodString>;
2930
+ x5u: z.ZodOptional<z.ZodString>;
2931
+ }, "strip", z.ZodTypeAny, {
2932
+ kty: "RSA" | "EC";
2933
+ alg?: string | undefined;
2934
+ crv?: string | undefined;
2935
+ d?: string | undefined;
2936
+ dp?: string | undefined;
2937
+ dq?: string | undefined;
2938
+ e?: string | undefined;
2939
+ ext?: boolean | undefined;
2940
+ k?: string | undefined;
2941
+ key_ops?: string[] | undefined;
2942
+ kid?: string | undefined;
2943
+ n?: string | undefined;
2944
+ p?: string | undefined;
2945
+ q?: string | undefined;
2946
+ qi?: string | undefined;
2947
+ use?: string | undefined;
2948
+ x?: string | undefined;
2949
+ y?: string | undefined;
2950
+ x5c?: string[] | undefined;
2951
+ x5t?: string | undefined;
2952
+ "x5t#S256"?: string | undefined;
2953
+ x5u?: string | undefined;
2954
+ }, {
2955
+ kty: "RSA" | "EC";
2956
+ alg?: string | undefined;
2957
+ crv?: string | undefined;
2958
+ d?: string | undefined;
2959
+ dp?: string | undefined;
2960
+ dq?: string | undefined;
2961
+ e?: string | undefined;
2962
+ ext?: boolean | undefined;
2963
+ k?: string | undefined;
2964
+ key_ops?: string[] | undefined;
2965
+ kid?: string | undefined;
2966
+ n?: string | undefined;
2967
+ p?: string | undefined;
2968
+ q?: string | undefined;
2969
+ qi?: string | undefined;
2970
+ use?: string | undefined;
2971
+ x?: string | undefined;
2972
+ y?: string | undefined;
2973
+ x5c?: string[] | undefined;
2974
+ x5t?: string | undefined;
2975
+ "x5t#S256"?: string | undefined;
2976
+ x5u?: string | undefined;
2977
+ }>, "many">;
2978
+ }, "strip", z.ZodTypeAny, {
2979
+ keys: {
2980
+ kty: "RSA" | "EC";
2981
+ alg?: string | undefined;
2982
+ crv?: string | undefined;
2983
+ d?: string | undefined;
2984
+ dp?: string | undefined;
2985
+ dq?: string | undefined;
2986
+ e?: string | undefined;
2987
+ ext?: boolean | undefined;
2988
+ k?: string | undefined;
2989
+ key_ops?: string[] | undefined;
2990
+ kid?: string | undefined;
2991
+ n?: string | undefined;
2992
+ p?: string | undefined;
2993
+ q?: string | undefined;
2994
+ qi?: string | undefined;
2995
+ use?: string | undefined;
2996
+ x?: string | undefined;
2997
+ y?: string | undefined;
2998
+ x5c?: string[] | undefined;
2999
+ x5t?: string | undefined;
3000
+ "x5t#S256"?: string | undefined;
3001
+ x5u?: string | undefined;
3002
+ }[];
3003
+ }, {
3004
+ keys: {
3005
+ kty: "RSA" | "EC";
3006
+ alg?: string | undefined;
3007
+ crv?: string | undefined;
3008
+ d?: string | undefined;
3009
+ dp?: string | undefined;
3010
+ dq?: string | undefined;
3011
+ e?: string | undefined;
3012
+ ext?: boolean | undefined;
3013
+ k?: string | undefined;
3014
+ key_ops?: string[] | undefined;
3015
+ kid?: string | undefined;
3016
+ n?: string | undefined;
3017
+ p?: string | undefined;
3018
+ q?: string | undefined;
3019
+ qi?: string | undefined;
3020
+ use?: string | undefined;
3021
+ x?: string | undefined;
3022
+ y?: string | undefined;
3023
+ x5c?: string[] | undefined;
3024
+ x5t?: string | undefined;
3025
+ "x5t#S256"?: string | undefined;
3026
+ x5u?: string | undefined;
3027
+ }[];
3028
+ }>;
3029
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3030
+ presentation_definition: z.ZodOptional<z.ZodObject<{
3031
+ id: z.ZodString;
3032
+ name: z.ZodOptional<z.ZodString>;
3033
+ purpose: z.ZodOptional<z.ZodString>;
3034
+ input_descriptors: z.ZodArray<z.ZodObject<{
3035
+ id: z.ZodString;
3036
+ name: z.ZodOptional<z.ZodString>;
3037
+ purpose: z.ZodOptional<z.ZodString>;
3038
+ format: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3039
+ constraints: z.ZodObject<{
3040
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
3041
+ path: z.ZodArray<z.ZodString, "many">;
3042
+ id: z.ZodOptional<z.ZodString>;
3043
+ purpose: z.ZodOptional<z.ZodString>;
3044
+ name: z.ZodOptional<z.ZodString>;
3045
+ filter: z.ZodOptional<z.ZodAny>;
3046
+ optional: z.ZodOptional<z.ZodBoolean>;
3047
+ intent_to_retain: z.ZodOptional<z.ZodBoolean>;
3048
+ }, "strip", z.ZodTypeAny, {
3049
+ path: string[];
3050
+ id?: string | undefined;
3051
+ purpose?: string | undefined;
3052
+ name?: string | undefined;
3053
+ filter?: any;
3054
+ optional?: boolean | undefined;
3055
+ intent_to_retain?: boolean | undefined;
3056
+ }, {
3057
+ path: string[];
3058
+ id?: string | undefined;
3059
+ purpose?: string | undefined;
3060
+ name?: string | undefined;
3061
+ filter?: any;
3062
+ optional?: boolean | undefined;
3063
+ intent_to_retain?: boolean | undefined;
3064
+ }>, "many">>;
3065
+ limit_disclosure: z.ZodOptional<z.ZodEnum<["required", "preferred"]>>;
3066
+ }, "strip", z.ZodTypeAny, {
3067
+ fields?: {
3068
+ path: string[];
3069
+ id?: string | undefined;
3070
+ purpose?: string | undefined;
3071
+ name?: string | undefined;
3072
+ filter?: any;
3073
+ optional?: boolean | undefined;
3074
+ intent_to_retain?: boolean | undefined;
3075
+ }[] | undefined;
3076
+ limit_disclosure?: "required" | "preferred" | undefined;
3077
+ }, {
3078
+ fields?: {
3079
+ path: string[];
3080
+ id?: string | undefined;
3081
+ purpose?: string | undefined;
3082
+ name?: string | undefined;
3083
+ filter?: any;
3084
+ optional?: boolean | undefined;
3085
+ intent_to_retain?: boolean | undefined;
3086
+ }[] | undefined;
3087
+ limit_disclosure?: "required" | "preferred" | undefined;
3088
+ }>;
3089
+ group: z.ZodOptional<z.ZodString>;
3090
+ }, "strip", z.ZodTypeAny, {
3091
+ id: string;
3092
+ constraints: {
3093
+ fields?: {
3094
+ path: string[];
3095
+ id?: string | undefined;
3096
+ purpose?: string | undefined;
3097
+ name?: string | undefined;
3098
+ filter?: any;
3099
+ optional?: boolean | undefined;
3100
+ intent_to_retain?: boolean | undefined;
3101
+ }[] | undefined;
3102
+ limit_disclosure?: "required" | "preferred" | undefined;
3103
+ };
3104
+ name?: string | undefined;
3105
+ purpose?: string | undefined;
3106
+ format?: Record<string, any> | undefined;
3107
+ group?: string | undefined;
3108
+ }, {
3109
+ id: string;
3110
+ constraints: {
3111
+ fields?: {
3112
+ path: string[];
3113
+ id?: string | undefined;
3114
+ purpose?: string | undefined;
3115
+ name?: string | undefined;
3116
+ filter?: any;
3117
+ optional?: boolean | undefined;
3118
+ intent_to_retain?: boolean | undefined;
3119
+ }[] | undefined;
3120
+ limit_disclosure?: "required" | "preferred" | undefined;
3121
+ };
3122
+ name?: string | undefined;
3123
+ purpose?: string | undefined;
3124
+ format?: Record<string, any> | undefined;
3125
+ group?: string | undefined;
3126
+ }>, "many">;
3127
+ submission_requirements: z.ZodOptional<z.ZodArray<z.ZodObject<{
3128
+ name: z.ZodOptional<z.ZodString>;
3129
+ purpose: z.ZodOptional<z.ZodString>;
3130
+ rule: z.ZodString;
3131
+ from: z.ZodOptional<z.ZodString>;
3132
+ from_nested: z.ZodOptional<z.ZodArray<z.ZodObject<{
3133
+ name: z.ZodOptional<z.ZodString>;
3134
+ purpose: z.ZodOptional<z.ZodString>;
3135
+ rule: z.ZodString;
3136
+ from: z.ZodString;
3137
+ }, "strip", z.ZodTypeAny, {
3138
+ rule: string;
3139
+ from: string;
3140
+ name?: string | undefined;
3141
+ purpose?: string | undefined;
3142
+ }, {
3143
+ rule: string;
3144
+ from: string;
3145
+ name?: string | undefined;
3146
+ purpose?: string | undefined;
3147
+ }>, "many">>;
3148
+ count: z.ZodOptional<z.ZodNumber>;
3149
+ }, "strip", z.ZodTypeAny, {
3150
+ rule: string;
3151
+ name?: string | undefined;
3152
+ purpose?: string | undefined;
3153
+ from?: string | undefined;
3154
+ from_nested?: {
3155
+ rule: string;
3156
+ from: string;
3157
+ name?: string | undefined;
3158
+ purpose?: string | undefined;
3159
+ }[] | undefined;
3160
+ count?: number | undefined;
3161
+ }, {
3162
+ rule: string;
3163
+ name?: string | undefined;
3164
+ purpose?: string | undefined;
3165
+ from?: string | undefined;
3166
+ from_nested?: {
3167
+ rule: string;
3168
+ from: string;
3169
+ name?: string | undefined;
3170
+ purpose?: string | undefined;
3171
+ }[] | undefined;
3172
+ count?: number | undefined;
3173
+ }>, "many">>;
3174
+ }, "strip", z.ZodTypeAny, {
3175
+ id: string;
3176
+ input_descriptors: {
3177
+ id: string;
3178
+ constraints: {
3179
+ fields?: {
3180
+ path: string[];
3181
+ id?: string | undefined;
3182
+ purpose?: string | undefined;
3183
+ name?: string | undefined;
3184
+ filter?: any;
3185
+ optional?: boolean | undefined;
3186
+ intent_to_retain?: boolean | undefined;
3187
+ }[] | undefined;
3188
+ limit_disclosure?: "required" | "preferred" | undefined;
3189
+ };
3190
+ name?: string | undefined;
3191
+ purpose?: string | undefined;
3192
+ format?: Record<string, any> | undefined;
3193
+ group?: string | undefined;
3194
+ }[];
3195
+ name?: string | undefined;
3196
+ purpose?: string | undefined;
3197
+ submission_requirements?: {
3198
+ rule: string;
3199
+ name?: string | undefined;
3200
+ purpose?: string | undefined;
3201
+ from?: string | undefined;
3202
+ from_nested?: {
3203
+ rule: string;
3204
+ from: string;
3205
+ name?: string | undefined;
3206
+ purpose?: string | undefined;
3207
+ }[] | undefined;
3208
+ count?: number | undefined;
3209
+ }[] | undefined;
3210
+ }, {
3211
+ id: string;
3212
+ input_descriptors: {
3213
+ id: string;
3214
+ constraints: {
3215
+ fields?: {
3216
+ path: string[];
3217
+ id?: string | undefined;
3218
+ purpose?: string | undefined;
3219
+ name?: string | undefined;
3220
+ filter?: any;
3221
+ optional?: boolean | undefined;
3222
+ intent_to_retain?: boolean | undefined;
3223
+ }[] | undefined;
3224
+ limit_disclosure?: "required" | "preferred" | undefined;
3225
+ };
3226
+ name?: string | undefined;
3227
+ purpose?: string | undefined;
3228
+ format?: Record<string, any> | undefined;
3229
+ group?: string | undefined;
3230
+ }[];
3231
+ name?: string | undefined;
3232
+ purpose?: string | undefined;
3233
+ submission_requirements?: {
3234
+ rule: string;
3235
+ name?: string | undefined;
3236
+ purpose?: string | undefined;
3237
+ from?: string | undefined;
3238
+ from_nested?: {
3239
+ rule: string;
3240
+ from: string;
3241
+ name?: string | undefined;
3242
+ purpose?: string | undefined;
3243
+ }[] | undefined;
3244
+ count?: number | undefined;
3245
+ }[] | undefined;
3246
+ }>>;
3247
+ request_uris: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3248
+ authorization_signed_response_alg: z.ZodOptional<z.ZodString>;
3249
+ authorization_encrypted_response_alg: z.ZodOptional<z.ZodString>;
3250
+ authorization_encrypted_response_enc: z.ZodOptional<z.ZodString>;
3251
+ }, "strip", z.ZodTypeAny, {
3252
+ jwks: {
3253
+ keys: {
3254
+ kty: "RSA" | "EC";
3255
+ alg?: string | undefined;
3256
+ crv?: string | undefined;
3257
+ d?: string | undefined;
3258
+ dp?: string | undefined;
3259
+ dq?: string | undefined;
3260
+ e?: string | undefined;
3261
+ ext?: boolean | undefined;
3262
+ k?: string | undefined;
3263
+ key_ops?: string[] | undefined;
3264
+ kid?: string | undefined;
3265
+ n?: string | undefined;
3266
+ p?: string | undefined;
3267
+ q?: string | undefined;
3268
+ qi?: string | undefined;
3269
+ use?: string | undefined;
3270
+ x?: string | undefined;
3271
+ y?: string | undefined;
3272
+ x5c?: string[] | undefined;
3273
+ x5t?: string | undefined;
3274
+ "x5t#S256"?: string | undefined;
3275
+ x5u?: string | undefined;
3276
+ }[];
3277
+ };
3278
+ application_type?: string | undefined;
3279
+ client_id?: string | undefined;
3280
+ client_name?: string | undefined;
3281
+ contacts?: string[] | undefined;
3282
+ presentation_definition?: {
3283
+ id: string;
3284
+ input_descriptors: {
3285
+ id: string;
3286
+ constraints: {
3287
+ fields?: {
3288
+ path: string[];
3289
+ id?: string | undefined;
3290
+ purpose?: string | undefined;
3291
+ name?: string | undefined;
3292
+ filter?: any;
3293
+ optional?: boolean | undefined;
3294
+ intent_to_retain?: boolean | undefined;
3295
+ }[] | undefined;
3296
+ limit_disclosure?: "required" | "preferred" | undefined;
3297
+ };
3298
+ name?: string | undefined;
3299
+ purpose?: string | undefined;
3300
+ format?: Record<string, any> | undefined;
3301
+ group?: string | undefined;
3302
+ }[];
3303
+ name?: string | undefined;
3304
+ purpose?: string | undefined;
3305
+ submission_requirements?: {
3306
+ rule: string;
3307
+ name?: string | undefined;
3308
+ purpose?: string | undefined;
3309
+ from?: string | undefined;
3310
+ from_nested?: {
3311
+ rule: string;
3312
+ from: string;
3313
+ name?: string | undefined;
3314
+ purpose?: string | undefined;
3315
+ }[] | undefined;
3316
+ count?: number | undefined;
3317
+ }[] | undefined;
3318
+ } | undefined;
3319
+ request_uris?: string[] | undefined;
3320
+ authorization_signed_response_alg?: string | undefined;
3321
+ authorization_encrypted_response_alg?: string | undefined;
3322
+ authorization_encrypted_response_enc?: string | undefined;
3323
+ }, {
3324
+ jwks: {
3325
+ keys: {
3326
+ kty: "RSA" | "EC";
3327
+ alg?: string | undefined;
3328
+ crv?: string | undefined;
3329
+ d?: string | undefined;
3330
+ dp?: string | undefined;
3331
+ dq?: string | undefined;
3332
+ e?: string | undefined;
3333
+ ext?: boolean | undefined;
3334
+ k?: string | undefined;
3335
+ key_ops?: string[] | undefined;
3336
+ kid?: string | undefined;
3337
+ n?: string | undefined;
3338
+ p?: string | undefined;
3339
+ q?: string | undefined;
3340
+ qi?: string | undefined;
3341
+ use?: string | undefined;
3342
+ x?: string | undefined;
3343
+ y?: string | undefined;
3344
+ x5c?: string[] | undefined;
3345
+ x5t?: string | undefined;
3346
+ "x5t#S256"?: string | undefined;
3347
+ x5u?: string | undefined;
3348
+ }[];
3349
+ };
3350
+ application_type?: string | undefined;
3351
+ client_id?: string | undefined;
3352
+ client_name?: string | undefined;
3353
+ contacts?: string[] | undefined;
3354
+ presentation_definition?: {
3355
+ id: string;
3356
+ input_descriptors: {
3357
+ id: string;
3358
+ constraints: {
3359
+ fields?: {
3360
+ path: string[];
3361
+ id?: string | undefined;
3362
+ purpose?: string | undefined;
3363
+ name?: string | undefined;
3364
+ filter?: any;
3365
+ optional?: boolean | undefined;
3366
+ intent_to_retain?: boolean | undefined;
3367
+ }[] | undefined;
3368
+ limit_disclosure?: "required" | "preferred" | undefined;
3369
+ };
3370
+ name?: string | undefined;
3371
+ purpose?: string | undefined;
3372
+ format?: Record<string, any> | undefined;
3373
+ group?: string | undefined;
3374
+ }[];
3375
+ name?: string | undefined;
3376
+ purpose?: string | undefined;
3377
+ submission_requirements?: {
3378
+ rule: string;
3379
+ name?: string | undefined;
3380
+ purpose?: string | undefined;
3381
+ from?: string | undefined;
3382
+ from_nested?: {
3383
+ rule: string;
3384
+ from: string;
3385
+ name?: string | undefined;
3386
+ purpose?: string | undefined;
3387
+ }[] | undefined;
3388
+ count?: number | undefined;
3389
+ }[] | undefined;
3390
+ } | undefined;
3391
+ request_uris?: string[] | undefined;
3392
+ authorization_signed_response_alg?: string | undefined;
3393
+ authorization_encrypted_response_alg?: string | undefined;
3394
+ authorization_encrypted_response_enc?: string | undefined;
3395
+ }>>;
3396
+ /**
3397
+ * @deprecated use `openid_credential_verifier`
3398
+ * TODO [SIW-2111]: remove after migrating to 0.9.x
3399
+ */
2902
3400
  wallet_relying_party: z.ZodOptional<z.ZodObject<{
2903
3401
  application_type: z.ZodOptional<z.ZodString>;
2904
3402
  client_id: z.ZodOptional<z.ZodString>;
@@ -3126,12 +3624,12 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3126
3624
  revocation_endpoint: string;
3127
3625
  status_attestation_endpoint: string;
3128
3626
  credential_configurations_supported: Record<string, {
3627
+ format: "vc+sd-jwt" | "vc+mdoc-cbor";
3628
+ scope: string;
3129
3629
  display: {
3130
3630
  name: string;
3131
3631
  locale: string;
3132
3632
  }[];
3133
- format: "vc+sd-jwt" | "vc+mdoc-cbor";
3134
- scope: string;
3135
3633
  claims: Record<string, {
3136
3634
  value_type: string;
3137
3635
  display: {
@@ -3152,6 +3650,7 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3152
3650
  }>;
3153
3651
  };
3154
3652
  oauth_authorization_server: {
3653
+ request_object_signing_alg_values_supported: string[];
3155
3654
  jwks: {
3156
3655
  keys: {
3157
3656
  kty: "RSA" | "EC";
@@ -3190,8 +3689,80 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3190
3689
  response_modes_supported: string[];
3191
3690
  token_endpoint_auth_methods_supported: string[];
3192
3691
  token_endpoint_auth_signing_alg_values_supported: string[];
3193
- request_object_signing_alg_values_supported: string[];
3194
3692
  };
3693
+ openid_credential_verifier?: {
3694
+ jwks: {
3695
+ keys: {
3696
+ kty: "RSA" | "EC";
3697
+ alg?: string | undefined;
3698
+ crv?: string | undefined;
3699
+ d?: string | undefined;
3700
+ dp?: string | undefined;
3701
+ dq?: string | undefined;
3702
+ e?: string | undefined;
3703
+ ext?: boolean | undefined;
3704
+ k?: string | undefined;
3705
+ key_ops?: string[] | undefined;
3706
+ kid?: string | undefined;
3707
+ n?: string | undefined;
3708
+ p?: string | undefined;
3709
+ q?: string | undefined;
3710
+ qi?: string | undefined;
3711
+ use?: string | undefined;
3712
+ x?: string | undefined;
3713
+ y?: string | undefined;
3714
+ x5c?: string[] | undefined;
3715
+ x5t?: string | undefined;
3716
+ "x5t#S256"?: string | undefined;
3717
+ x5u?: string | undefined;
3718
+ }[];
3719
+ };
3720
+ application_type?: string | undefined;
3721
+ client_id?: string | undefined;
3722
+ client_name?: string | undefined;
3723
+ contacts?: string[] | undefined;
3724
+ presentation_definition?: {
3725
+ id: string;
3726
+ input_descriptors: {
3727
+ id: string;
3728
+ constraints: {
3729
+ fields?: {
3730
+ path: string[];
3731
+ id?: string | undefined;
3732
+ purpose?: string | undefined;
3733
+ name?: string | undefined;
3734
+ filter?: any;
3735
+ optional?: boolean | undefined;
3736
+ intent_to_retain?: boolean | undefined;
3737
+ }[] | undefined;
3738
+ limit_disclosure?: "required" | "preferred" | undefined;
3739
+ };
3740
+ name?: string | undefined;
3741
+ purpose?: string | undefined;
3742
+ format?: Record<string, any> | undefined;
3743
+ group?: string | undefined;
3744
+ }[];
3745
+ name?: string | undefined;
3746
+ purpose?: string | undefined;
3747
+ submission_requirements?: {
3748
+ rule: string;
3749
+ name?: string | undefined;
3750
+ purpose?: string | undefined;
3751
+ from?: string | undefined;
3752
+ from_nested?: {
3753
+ rule: string;
3754
+ from: string;
3755
+ name?: string | undefined;
3756
+ purpose?: string | undefined;
3757
+ }[] | undefined;
3758
+ count?: number | undefined;
3759
+ }[] | undefined;
3760
+ } | undefined;
3761
+ request_uris?: string[] | undefined;
3762
+ authorization_signed_response_alg?: string | undefined;
3763
+ authorization_encrypted_response_alg?: string | undefined;
3764
+ authorization_encrypted_response_enc?: string | undefined;
3765
+ } | undefined;
3195
3766
  wallet_relying_party?: {
3196
3767
  jwks: {
3197
3768
  keys: {
@@ -3261,12 +3832,12 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3261
3832
  revocation_endpoint: string;
3262
3833
  status_attestation_endpoint: string;
3263
3834
  credential_configurations_supported: Record<string, {
3835
+ format: "vc+sd-jwt" | "vc+mdoc-cbor";
3836
+ scope: string;
3264
3837
  display: {
3265
3838
  name: string;
3266
3839
  locale: string;
3267
3840
  }[];
3268
- format: "vc+sd-jwt" | "vc+mdoc-cbor";
3269
- scope: string;
3270
3841
  claims: Record<string, {
3271
3842
  value_type: string;
3272
3843
  display: {
@@ -3287,6 +3858,7 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3287
3858
  }>;
3288
3859
  };
3289
3860
  oauth_authorization_server: {
3861
+ request_object_signing_alg_values_supported: string[];
3290
3862
  jwks: {
3291
3863
  keys: {
3292
3864
  kty: "RSA" | "EC";
@@ -3325,8 +3897,80 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3325
3897
  response_modes_supported: string[];
3326
3898
  token_endpoint_auth_methods_supported: string[];
3327
3899
  token_endpoint_auth_signing_alg_values_supported: string[];
3328
- request_object_signing_alg_values_supported: string[];
3329
3900
  };
3901
+ openid_credential_verifier?: {
3902
+ jwks: {
3903
+ keys: {
3904
+ kty: "RSA" | "EC";
3905
+ alg?: string | undefined;
3906
+ crv?: string | undefined;
3907
+ d?: string | undefined;
3908
+ dp?: string | undefined;
3909
+ dq?: string | undefined;
3910
+ e?: string | undefined;
3911
+ ext?: boolean | undefined;
3912
+ k?: string | undefined;
3913
+ key_ops?: string[] | undefined;
3914
+ kid?: string | undefined;
3915
+ n?: string | undefined;
3916
+ p?: string | undefined;
3917
+ q?: string | undefined;
3918
+ qi?: string | undefined;
3919
+ use?: string | undefined;
3920
+ x?: string | undefined;
3921
+ y?: string | undefined;
3922
+ x5c?: string[] | undefined;
3923
+ x5t?: string | undefined;
3924
+ "x5t#S256"?: string | undefined;
3925
+ x5u?: string | undefined;
3926
+ }[];
3927
+ };
3928
+ application_type?: string | undefined;
3929
+ client_id?: string | undefined;
3930
+ client_name?: string | undefined;
3931
+ contacts?: string[] | undefined;
3932
+ presentation_definition?: {
3933
+ id: string;
3934
+ input_descriptors: {
3935
+ id: string;
3936
+ constraints: {
3937
+ fields?: {
3938
+ path: string[];
3939
+ id?: string | undefined;
3940
+ purpose?: string | undefined;
3941
+ name?: string | undefined;
3942
+ filter?: any;
3943
+ optional?: boolean | undefined;
3944
+ intent_to_retain?: boolean | undefined;
3945
+ }[] | undefined;
3946
+ limit_disclosure?: "required" | "preferred" | undefined;
3947
+ };
3948
+ name?: string | undefined;
3949
+ purpose?: string | undefined;
3950
+ format?: Record<string, any> | undefined;
3951
+ group?: string | undefined;
3952
+ }[];
3953
+ name?: string | undefined;
3954
+ purpose?: string | undefined;
3955
+ submission_requirements?: {
3956
+ rule: string;
3957
+ name?: string | undefined;
3958
+ purpose?: string | undefined;
3959
+ from?: string | undefined;
3960
+ from_nested?: {
3961
+ rule: string;
3962
+ from: string;
3963
+ name?: string | undefined;
3964
+ purpose?: string | undefined;
3965
+ }[] | undefined;
3966
+ count?: number | undefined;
3967
+ }[] | undefined;
3968
+ } | undefined;
3969
+ request_uris?: string[] | undefined;
3970
+ authorization_signed_response_alg?: string | undefined;
3971
+ authorization_encrypted_response_alg?: string | undefined;
3972
+ authorization_encrypted_response_enc?: string | undefined;
3973
+ } | undefined;
3330
3974
  wallet_relying_party?: {
3331
3975
  jwks: {
3332
3976
  keys: {
@@ -3424,12 +4068,12 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3424
4068
  revocation_endpoint: string;
3425
4069
  status_attestation_endpoint: string;
3426
4070
  credential_configurations_supported: Record<string, {
4071
+ format: "vc+sd-jwt" | "vc+mdoc-cbor";
4072
+ scope: string;
3427
4073
  display: {
3428
4074
  name: string;
3429
4075
  locale: string;
3430
4076
  }[];
3431
- format: "vc+sd-jwt" | "vc+mdoc-cbor";
3432
- scope: string;
3433
4077
  claims: Record<string, {
3434
4078
  value_type: string;
3435
4079
  display: {
@@ -3450,6 +4094,7 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3450
4094
  }>;
3451
4095
  };
3452
4096
  oauth_authorization_server: {
4097
+ request_object_signing_alg_values_supported: string[];
3453
4098
  jwks: {
3454
4099
  keys: {
3455
4100
  kty: "RSA" | "EC";
@@ -3488,8 +4133,80 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3488
4133
  response_modes_supported: string[];
3489
4134
  token_endpoint_auth_methods_supported: string[];
3490
4135
  token_endpoint_auth_signing_alg_values_supported: string[];
3491
- request_object_signing_alg_values_supported: string[];
3492
4136
  };
4137
+ openid_credential_verifier?: {
4138
+ jwks: {
4139
+ keys: {
4140
+ kty: "RSA" | "EC";
4141
+ alg?: string | undefined;
4142
+ crv?: string | undefined;
4143
+ d?: string | undefined;
4144
+ dp?: string | undefined;
4145
+ dq?: string | undefined;
4146
+ e?: string | undefined;
4147
+ ext?: boolean | undefined;
4148
+ k?: string | undefined;
4149
+ key_ops?: string[] | undefined;
4150
+ kid?: string | undefined;
4151
+ n?: string | undefined;
4152
+ p?: string | undefined;
4153
+ q?: string | undefined;
4154
+ qi?: string | undefined;
4155
+ use?: string | undefined;
4156
+ x?: string | undefined;
4157
+ y?: string | undefined;
4158
+ x5c?: string[] | undefined;
4159
+ x5t?: string | undefined;
4160
+ "x5t#S256"?: string | undefined;
4161
+ x5u?: string | undefined;
4162
+ }[];
4163
+ };
4164
+ application_type?: string | undefined;
4165
+ client_id?: string | undefined;
4166
+ client_name?: string | undefined;
4167
+ contacts?: string[] | undefined;
4168
+ presentation_definition?: {
4169
+ id: string;
4170
+ input_descriptors: {
4171
+ id: string;
4172
+ constraints: {
4173
+ fields?: {
4174
+ path: string[];
4175
+ id?: string | undefined;
4176
+ purpose?: string | undefined;
4177
+ name?: string | undefined;
4178
+ filter?: any;
4179
+ optional?: boolean | undefined;
4180
+ intent_to_retain?: boolean | undefined;
4181
+ }[] | undefined;
4182
+ limit_disclosure?: "required" | "preferred" | undefined;
4183
+ };
4184
+ name?: string | undefined;
4185
+ purpose?: string | undefined;
4186
+ format?: Record<string, any> | undefined;
4187
+ group?: string | undefined;
4188
+ }[];
4189
+ name?: string | undefined;
4190
+ purpose?: string | undefined;
4191
+ submission_requirements?: {
4192
+ rule: string;
4193
+ name?: string | undefined;
4194
+ purpose?: string | undefined;
4195
+ from?: string | undefined;
4196
+ from_nested?: {
4197
+ rule: string;
4198
+ from: string;
4199
+ name?: string | undefined;
4200
+ purpose?: string | undefined;
4201
+ }[] | undefined;
4202
+ count?: number | undefined;
4203
+ }[] | undefined;
4204
+ } | undefined;
4205
+ request_uris?: string[] | undefined;
4206
+ authorization_signed_response_alg?: string | undefined;
4207
+ authorization_encrypted_response_alg?: string | undefined;
4208
+ authorization_encrypted_response_enc?: string | undefined;
4209
+ } | undefined;
3493
4210
  wallet_relying_party?: {
3494
4211
  jwks: {
3495
4212
  keys: {
@@ -3587,12 +4304,12 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3587
4304
  revocation_endpoint: string;
3588
4305
  status_attestation_endpoint: string;
3589
4306
  credential_configurations_supported: Record<string, {
4307
+ format: "vc+sd-jwt" | "vc+mdoc-cbor";
4308
+ scope: string;
3590
4309
  display: {
3591
4310
  name: string;
3592
4311
  locale: string;
3593
4312
  }[];
3594
- format: "vc+sd-jwt" | "vc+mdoc-cbor";
3595
- scope: string;
3596
4313
  claims: Record<string, {
3597
4314
  value_type: string;
3598
4315
  display: {
@@ -3613,6 +4330,7 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3613
4330
  }>;
3614
4331
  };
3615
4332
  oauth_authorization_server: {
4333
+ request_object_signing_alg_values_supported: string[];
3616
4334
  jwks: {
3617
4335
  keys: {
3618
4336
  kty: "RSA" | "EC";
@@ -3651,8 +4369,80 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3651
4369
  response_modes_supported: string[];
3652
4370
  token_endpoint_auth_methods_supported: string[];
3653
4371
  token_endpoint_auth_signing_alg_values_supported: string[];
3654
- request_object_signing_alg_values_supported: string[];
3655
4372
  };
4373
+ openid_credential_verifier?: {
4374
+ jwks: {
4375
+ keys: {
4376
+ kty: "RSA" | "EC";
4377
+ alg?: string | undefined;
4378
+ crv?: string | undefined;
4379
+ d?: string | undefined;
4380
+ dp?: string | undefined;
4381
+ dq?: string | undefined;
4382
+ e?: string | undefined;
4383
+ ext?: boolean | undefined;
4384
+ k?: string | undefined;
4385
+ key_ops?: string[] | undefined;
4386
+ kid?: string | undefined;
4387
+ n?: string | undefined;
4388
+ p?: string | undefined;
4389
+ q?: string | undefined;
4390
+ qi?: string | undefined;
4391
+ use?: string | undefined;
4392
+ x?: string | undefined;
4393
+ y?: string | undefined;
4394
+ x5c?: string[] | undefined;
4395
+ x5t?: string | undefined;
4396
+ "x5t#S256"?: string | undefined;
4397
+ x5u?: string | undefined;
4398
+ }[];
4399
+ };
4400
+ application_type?: string | undefined;
4401
+ client_id?: string | undefined;
4402
+ client_name?: string | undefined;
4403
+ contacts?: string[] | undefined;
4404
+ presentation_definition?: {
4405
+ id: string;
4406
+ input_descriptors: {
4407
+ id: string;
4408
+ constraints: {
4409
+ fields?: {
4410
+ path: string[];
4411
+ id?: string | undefined;
4412
+ purpose?: string | undefined;
4413
+ name?: string | undefined;
4414
+ filter?: any;
4415
+ optional?: boolean | undefined;
4416
+ intent_to_retain?: boolean | undefined;
4417
+ }[] | undefined;
4418
+ limit_disclosure?: "required" | "preferred" | undefined;
4419
+ };
4420
+ name?: string | undefined;
4421
+ purpose?: string | undefined;
4422
+ format?: Record<string, any> | undefined;
4423
+ group?: string | undefined;
4424
+ }[];
4425
+ name?: string | undefined;
4426
+ purpose?: string | undefined;
4427
+ submission_requirements?: {
4428
+ rule: string;
4429
+ name?: string | undefined;
4430
+ purpose?: string | undefined;
4431
+ from?: string | undefined;
4432
+ from_nested?: {
4433
+ rule: string;
4434
+ from: string;
4435
+ name?: string | undefined;
4436
+ purpose?: string | undefined;
4437
+ }[] | undefined;
4438
+ count?: number | undefined;
4439
+ }[] | undefined;
4440
+ } | undefined;
4441
+ request_uris?: string[] | undefined;
4442
+ authorization_signed_response_alg?: string | undefined;
4443
+ authorization_encrypted_response_alg?: string | undefined;
4444
+ authorization_encrypted_response_enc?: string | undefined;
4445
+ } | undefined;
3656
4446
  wallet_relying_party?: {
3657
4447
  jwks: {
3658
4448
  keys: {
@@ -3752,12 +4542,12 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3752
4542
  revocation_endpoint: string;
3753
4543
  status_attestation_endpoint: string;
3754
4544
  credential_configurations_supported: Record<string, {
4545
+ format: "vc+sd-jwt" | "vc+mdoc-cbor";
4546
+ scope: string;
3755
4547
  display: {
3756
4548
  name: string;
3757
4549
  locale: string;
3758
4550
  }[];
3759
- format: "vc+sd-jwt" | "vc+mdoc-cbor";
3760
- scope: string;
3761
4551
  claims: Record<string, {
3762
4552
  value_type: string;
3763
4553
  display: {
@@ -3778,6 +4568,7 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3778
4568
  }>;
3779
4569
  };
3780
4570
  oauth_authorization_server: {
4571
+ request_object_signing_alg_values_supported: string[];
3781
4572
  jwks: {
3782
4573
  keys: {
3783
4574
  kty: "RSA" | "EC";
@@ -3816,8 +4607,80 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3816
4607
  response_modes_supported: string[];
3817
4608
  token_endpoint_auth_methods_supported: string[];
3818
4609
  token_endpoint_auth_signing_alg_values_supported: string[];
3819
- request_object_signing_alg_values_supported: string[];
3820
4610
  };
4611
+ openid_credential_verifier?: {
4612
+ jwks: {
4613
+ keys: {
4614
+ kty: "RSA" | "EC";
4615
+ alg?: string | undefined;
4616
+ crv?: string | undefined;
4617
+ d?: string | undefined;
4618
+ dp?: string | undefined;
4619
+ dq?: string | undefined;
4620
+ e?: string | undefined;
4621
+ ext?: boolean | undefined;
4622
+ k?: string | undefined;
4623
+ key_ops?: string[] | undefined;
4624
+ kid?: string | undefined;
4625
+ n?: string | undefined;
4626
+ p?: string | undefined;
4627
+ q?: string | undefined;
4628
+ qi?: string | undefined;
4629
+ use?: string | undefined;
4630
+ x?: string | undefined;
4631
+ y?: string | undefined;
4632
+ x5c?: string[] | undefined;
4633
+ x5t?: string | undefined;
4634
+ "x5t#S256"?: string | undefined;
4635
+ x5u?: string | undefined;
4636
+ }[];
4637
+ };
4638
+ application_type?: string | undefined;
4639
+ client_id?: string | undefined;
4640
+ client_name?: string | undefined;
4641
+ contacts?: string[] | undefined;
4642
+ presentation_definition?: {
4643
+ id: string;
4644
+ input_descriptors: {
4645
+ id: string;
4646
+ constraints: {
4647
+ fields?: {
4648
+ path: string[];
4649
+ id?: string | undefined;
4650
+ purpose?: string | undefined;
4651
+ name?: string | undefined;
4652
+ filter?: any;
4653
+ optional?: boolean | undefined;
4654
+ intent_to_retain?: boolean | undefined;
4655
+ }[] | undefined;
4656
+ limit_disclosure?: "required" | "preferred" | undefined;
4657
+ };
4658
+ name?: string | undefined;
4659
+ purpose?: string | undefined;
4660
+ format?: Record<string, any> | undefined;
4661
+ group?: string | undefined;
4662
+ }[];
4663
+ name?: string | undefined;
4664
+ purpose?: string | undefined;
4665
+ submission_requirements?: {
4666
+ rule: string;
4667
+ name?: string | undefined;
4668
+ purpose?: string | undefined;
4669
+ from?: string | undefined;
4670
+ from_nested?: {
4671
+ rule: string;
4672
+ from: string;
4673
+ name?: string | undefined;
4674
+ purpose?: string | undefined;
4675
+ }[] | undefined;
4676
+ count?: number | undefined;
4677
+ }[] | undefined;
4678
+ } | undefined;
4679
+ request_uris?: string[] | undefined;
4680
+ authorization_signed_response_alg?: string | undefined;
4681
+ authorization_encrypted_response_alg?: string | undefined;
4682
+ authorization_encrypted_response_enc?: string | undefined;
4683
+ } | undefined;
3821
4684
  wallet_relying_party?: {
3822
4685
  jwks: {
3823
4686
  keys: {
@@ -3917,12 +4780,12 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3917
4780
  revocation_endpoint: string;
3918
4781
  status_attestation_endpoint: string;
3919
4782
  credential_configurations_supported: Record<string, {
4783
+ format: "vc+sd-jwt" | "vc+mdoc-cbor";
4784
+ scope: string;
3920
4785
  display: {
3921
4786
  name: string;
3922
4787
  locale: string;
3923
4788
  }[];
3924
- format: "vc+sd-jwt" | "vc+mdoc-cbor";
3925
- scope: string;
3926
4789
  claims: Record<string, {
3927
4790
  value_type: string;
3928
4791
  display: {
@@ -3943,6 +4806,7 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3943
4806
  }>;
3944
4807
  };
3945
4808
  oauth_authorization_server: {
4809
+ request_object_signing_alg_values_supported: string[];
3946
4810
  jwks: {
3947
4811
  keys: {
3948
4812
  kty: "RSA" | "EC";
@@ -3981,8 +4845,80 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3981
4845
  response_modes_supported: string[];
3982
4846
  token_endpoint_auth_methods_supported: string[];
3983
4847
  token_endpoint_auth_signing_alg_values_supported: string[];
3984
- request_object_signing_alg_values_supported: string[];
3985
4848
  };
4849
+ openid_credential_verifier?: {
4850
+ jwks: {
4851
+ keys: {
4852
+ kty: "RSA" | "EC";
4853
+ alg?: string | undefined;
4854
+ crv?: string | undefined;
4855
+ d?: string | undefined;
4856
+ dp?: string | undefined;
4857
+ dq?: string | undefined;
4858
+ e?: string | undefined;
4859
+ ext?: boolean | undefined;
4860
+ k?: string | undefined;
4861
+ key_ops?: string[] | undefined;
4862
+ kid?: string | undefined;
4863
+ n?: string | undefined;
4864
+ p?: string | undefined;
4865
+ q?: string | undefined;
4866
+ qi?: string | undefined;
4867
+ use?: string | undefined;
4868
+ x?: string | undefined;
4869
+ y?: string | undefined;
4870
+ x5c?: string[] | undefined;
4871
+ x5t?: string | undefined;
4872
+ "x5t#S256"?: string | undefined;
4873
+ x5u?: string | undefined;
4874
+ }[];
4875
+ };
4876
+ application_type?: string | undefined;
4877
+ client_id?: string | undefined;
4878
+ client_name?: string | undefined;
4879
+ contacts?: string[] | undefined;
4880
+ presentation_definition?: {
4881
+ id: string;
4882
+ input_descriptors: {
4883
+ id: string;
4884
+ constraints: {
4885
+ fields?: {
4886
+ path: string[];
4887
+ id?: string | undefined;
4888
+ purpose?: string | undefined;
4889
+ name?: string | undefined;
4890
+ filter?: any;
4891
+ optional?: boolean | undefined;
4892
+ intent_to_retain?: boolean | undefined;
4893
+ }[] | undefined;
4894
+ limit_disclosure?: "required" | "preferred" | undefined;
4895
+ };
4896
+ name?: string | undefined;
4897
+ purpose?: string | undefined;
4898
+ format?: Record<string, any> | undefined;
4899
+ group?: string | undefined;
4900
+ }[];
4901
+ name?: string | undefined;
4902
+ purpose?: string | undefined;
4903
+ submission_requirements?: {
4904
+ rule: string;
4905
+ name?: string | undefined;
4906
+ purpose?: string | undefined;
4907
+ from?: string | undefined;
4908
+ from_nested?: {
4909
+ rule: string;
4910
+ from: string;
4911
+ name?: string | undefined;
4912
+ purpose?: string | undefined;
4913
+ }[] | undefined;
4914
+ count?: number | undefined;
4915
+ }[] | undefined;
4916
+ } | undefined;
4917
+ request_uris?: string[] | undefined;
4918
+ authorization_signed_response_alg?: string | undefined;
4919
+ authorization_encrypted_response_alg?: string | undefined;
4920
+ authorization_encrypted_response_enc?: string | undefined;
4921
+ } | undefined;
3986
4922
  wallet_relying_party?: {
3987
4923
  jwks: {
3988
4924
  keys: {
@@ -4944,7 +5880,7 @@ export declare const RelyingPartyEntityConfiguration: z.ZodIntersection<z.ZodObj
4944
5880
  }>, z.ZodObject<{
4945
5881
  payload: z.ZodObject<{
4946
5882
  metadata: z.ZodObject<{
4947
- wallet_relying_party: z.ZodObject<{
5883
+ openid_credential_verifier: z.ZodObject<{
4948
5884
  application_type: z.ZodOptional<z.ZodString>;
4949
5885
  client_id: z.ZodOptional<z.ZodString>;
4950
5886
  client_name: z.ZodOptional<z.ZodString>;
@@ -5071,6 +6007,227 @@ export declare const RelyingPartyEntityConfiguration: z.ZodIntersection<z.ZodObj
5071
6007
  }[];
5072
6008
  }>;
5073
6009
  contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6010
+ presentation_definition: z.ZodOptional<z.ZodObject<{
6011
+ id: z.ZodString;
6012
+ name: z.ZodOptional<z.ZodString>;
6013
+ purpose: z.ZodOptional<z.ZodString>;
6014
+ input_descriptors: z.ZodArray<z.ZodObject<{
6015
+ id: z.ZodString;
6016
+ name: z.ZodOptional<z.ZodString>;
6017
+ purpose: z.ZodOptional<z.ZodString>;
6018
+ format: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
6019
+ constraints: z.ZodObject<{
6020
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
6021
+ path: z.ZodArray<z.ZodString, "many">;
6022
+ id: z.ZodOptional<z.ZodString>;
6023
+ purpose: z.ZodOptional<z.ZodString>;
6024
+ name: z.ZodOptional<z.ZodString>;
6025
+ filter: z.ZodOptional<z.ZodAny>;
6026
+ optional: z.ZodOptional<z.ZodBoolean>;
6027
+ intent_to_retain: z.ZodOptional<z.ZodBoolean>;
6028
+ }, "strip", z.ZodTypeAny, {
6029
+ path: string[];
6030
+ id?: string | undefined;
6031
+ purpose?: string | undefined;
6032
+ name?: string | undefined;
6033
+ filter?: any;
6034
+ optional?: boolean | undefined;
6035
+ intent_to_retain?: boolean | undefined;
6036
+ }, {
6037
+ path: string[];
6038
+ id?: string | undefined;
6039
+ purpose?: string | undefined;
6040
+ name?: string | undefined;
6041
+ filter?: any;
6042
+ optional?: boolean | undefined;
6043
+ intent_to_retain?: boolean | undefined;
6044
+ }>, "many">>;
6045
+ limit_disclosure: z.ZodOptional<z.ZodEnum<["required", "preferred"]>>;
6046
+ }, "strip", z.ZodTypeAny, {
6047
+ fields?: {
6048
+ path: string[];
6049
+ id?: string | undefined;
6050
+ purpose?: string | undefined;
6051
+ name?: string | undefined;
6052
+ filter?: any;
6053
+ optional?: boolean | undefined;
6054
+ intent_to_retain?: boolean | undefined;
6055
+ }[] | undefined;
6056
+ limit_disclosure?: "required" | "preferred" | undefined;
6057
+ }, {
6058
+ fields?: {
6059
+ path: string[];
6060
+ id?: string | undefined;
6061
+ purpose?: string | undefined;
6062
+ name?: string | undefined;
6063
+ filter?: any;
6064
+ optional?: boolean | undefined;
6065
+ intent_to_retain?: boolean | undefined;
6066
+ }[] | undefined;
6067
+ limit_disclosure?: "required" | "preferred" | undefined;
6068
+ }>;
6069
+ group: z.ZodOptional<z.ZodString>;
6070
+ }, "strip", z.ZodTypeAny, {
6071
+ id: string;
6072
+ constraints: {
6073
+ fields?: {
6074
+ path: string[];
6075
+ id?: string | undefined;
6076
+ purpose?: string | undefined;
6077
+ name?: string | undefined;
6078
+ filter?: any;
6079
+ optional?: boolean | undefined;
6080
+ intent_to_retain?: boolean | undefined;
6081
+ }[] | undefined;
6082
+ limit_disclosure?: "required" | "preferred" | undefined;
6083
+ };
6084
+ name?: string | undefined;
6085
+ purpose?: string | undefined;
6086
+ format?: Record<string, any> | undefined;
6087
+ group?: string | undefined;
6088
+ }, {
6089
+ id: string;
6090
+ constraints: {
6091
+ fields?: {
6092
+ path: string[];
6093
+ id?: string | undefined;
6094
+ purpose?: string | undefined;
6095
+ name?: string | undefined;
6096
+ filter?: any;
6097
+ optional?: boolean | undefined;
6098
+ intent_to_retain?: boolean | undefined;
6099
+ }[] | undefined;
6100
+ limit_disclosure?: "required" | "preferred" | undefined;
6101
+ };
6102
+ name?: string | undefined;
6103
+ purpose?: string | undefined;
6104
+ format?: Record<string, any> | undefined;
6105
+ group?: string | undefined;
6106
+ }>, "many">;
6107
+ submission_requirements: z.ZodOptional<z.ZodArray<z.ZodObject<{
6108
+ name: z.ZodOptional<z.ZodString>;
6109
+ purpose: z.ZodOptional<z.ZodString>;
6110
+ rule: z.ZodString;
6111
+ from: z.ZodOptional<z.ZodString>;
6112
+ from_nested: z.ZodOptional<z.ZodArray<z.ZodObject<{
6113
+ name: z.ZodOptional<z.ZodString>;
6114
+ purpose: z.ZodOptional<z.ZodString>;
6115
+ rule: z.ZodString;
6116
+ from: z.ZodString;
6117
+ }, "strip", z.ZodTypeAny, {
6118
+ rule: string;
6119
+ from: string;
6120
+ name?: string | undefined;
6121
+ purpose?: string | undefined;
6122
+ }, {
6123
+ rule: string;
6124
+ from: string;
6125
+ name?: string | undefined;
6126
+ purpose?: string | undefined;
6127
+ }>, "many">>;
6128
+ count: z.ZodOptional<z.ZodNumber>;
6129
+ }, "strip", z.ZodTypeAny, {
6130
+ rule: string;
6131
+ name?: string | undefined;
6132
+ purpose?: string | undefined;
6133
+ from?: string | undefined;
6134
+ from_nested?: {
6135
+ rule: string;
6136
+ from: string;
6137
+ name?: string | undefined;
6138
+ purpose?: string | undefined;
6139
+ }[] | undefined;
6140
+ count?: number | undefined;
6141
+ }, {
6142
+ rule: string;
6143
+ name?: string | undefined;
6144
+ purpose?: string | undefined;
6145
+ from?: string | undefined;
6146
+ from_nested?: {
6147
+ rule: string;
6148
+ from: string;
6149
+ name?: string | undefined;
6150
+ purpose?: string | undefined;
6151
+ }[] | undefined;
6152
+ count?: number | undefined;
6153
+ }>, "many">>;
6154
+ }, "strip", z.ZodTypeAny, {
6155
+ id: string;
6156
+ input_descriptors: {
6157
+ id: string;
6158
+ constraints: {
6159
+ fields?: {
6160
+ path: string[];
6161
+ id?: string | undefined;
6162
+ purpose?: string | undefined;
6163
+ name?: string | undefined;
6164
+ filter?: any;
6165
+ optional?: boolean | undefined;
6166
+ intent_to_retain?: boolean | undefined;
6167
+ }[] | undefined;
6168
+ limit_disclosure?: "required" | "preferred" | undefined;
6169
+ };
6170
+ name?: string | undefined;
6171
+ purpose?: string | undefined;
6172
+ format?: Record<string, any> | undefined;
6173
+ group?: string | undefined;
6174
+ }[];
6175
+ name?: string | undefined;
6176
+ purpose?: string | undefined;
6177
+ submission_requirements?: {
6178
+ rule: string;
6179
+ name?: string | undefined;
6180
+ purpose?: string | undefined;
6181
+ from?: string | undefined;
6182
+ from_nested?: {
6183
+ rule: string;
6184
+ from: string;
6185
+ name?: string | undefined;
6186
+ purpose?: string | undefined;
6187
+ }[] | undefined;
6188
+ count?: number | undefined;
6189
+ }[] | undefined;
6190
+ }, {
6191
+ id: string;
6192
+ input_descriptors: {
6193
+ id: string;
6194
+ constraints: {
6195
+ fields?: {
6196
+ path: string[];
6197
+ id?: string | undefined;
6198
+ purpose?: string | undefined;
6199
+ name?: string | undefined;
6200
+ filter?: any;
6201
+ optional?: boolean | undefined;
6202
+ intent_to_retain?: boolean | undefined;
6203
+ }[] | undefined;
6204
+ limit_disclosure?: "required" | "preferred" | undefined;
6205
+ };
6206
+ name?: string | undefined;
6207
+ purpose?: string | undefined;
6208
+ format?: Record<string, any> | undefined;
6209
+ group?: string | undefined;
6210
+ }[];
6211
+ name?: string | undefined;
6212
+ purpose?: string | undefined;
6213
+ submission_requirements?: {
6214
+ rule: string;
6215
+ name?: string | undefined;
6216
+ purpose?: string | undefined;
6217
+ from?: string | undefined;
6218
+ from_nested?: {
6219
+ rule: string;
6220
+ from: string;
6221
+ name?: string | undefined;
6222
+ purpose?: string | undefined;
6223
+ }[] | undefined;
6224
+ count?: number | undefined;
6225
+ }[] | undefined;
6226
+ }>>;
6227
+ request_uris: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6228
+ authorization_signed_response_alg: z.ZodOptional<z.ZodString>;
6229
+ authorization_encrypted_response_alg: z.ZodOptional<z.ZodString>;
6230
+ authorization_encrypted_response_enc: z.ZodOptional<z.ZodString>;
5074
6231
  }, "strip", z.ZodTypeAny, {
5075
6232
  jwks: {
5076
6233
  keys: {
@@ -5102,6 +6259,47 @@ export declare const RelyingPartyEntityConfiguration: z.ZodIntersection<z.ZodObj
5102
6259
  client_id?: string | undefined;
5103
6260
  client_name?: string | undefined;
5104
6261
  contacts?: string[] | undefined;
6262
+ presentation_definition?: {
6263
+ id: string;
6264
+ input_descriptors: {
6265
+ id: string;
6266
+ constraints: {
6267
+ fields?: {
6268
+ path: string[];
6269
+ id?: string | undefined;
6270
+ purpose?: string | undefined;
6271
+ name?: string | undefined;
6272
+ filter?: any;
6273
+ optional?: boolean | undefined;
6274
+ intent_to_retain?: boolean | undefined;
6275
+ }[] | undefined;
6276
+ limit_disclosure?: "required" | "preferred" | undefined;
6277
+ };
6278
+ name?: string | undefined;
6279
+ purpose?: string | undefined;
6280
+ format?: Record<string, any> | undefined;
6281
+ group?: string | undefined;
6282
+ }[];
6283
+ name?: string | undefined;
6284
+ purpose?: string | undefined;
6285
+ submission_requirements?: {
6286
+ rule: string;
6287
+ name?: string | undefined;
6288
+ purpose?: string | undefined;
6289
+ from?: string | undefined;
6290
+ from_nested?: {
6291
+ rule: string;
6292
+ from: string;
6293
+ name?: string | undefined;
6294
+ purpose?: string | undefined;
6295
+ }[] | undefined;
6296
+ count?: number | undefined;
6297
+ }[] | undefined;
6298
+ } | undefined;
6299
+ request_uris?: string[] | undefined;
6300
+ authorization_signed_response_alg?: string | undefined;
6301
+ authorization_encrypted_response_alg?: string | undefined;
6302
+ authorization_encrypted_response_enc?: string | undefined;
5105
6303
  }, {
5106
6304
  jwks: {
5107
6305
  keys: {
@@ -5133,9 +6331,50 @@ export declare const RelyingPartyEntityConfiguration: z.ZodIntersection<z.ZodObj
5133
6331
  client_id?: string | undefined;
5134
6332
  client_name?: string | undefined;
5135
6333
  contacts?: string[] | undefined;
6334
+ presentation_definition?: {
6335
+ id: string;
6336
+ input_descriptors: {
6337
+ id: string;
6338
+ constraints: {
6339
+ fields?: {
6340
+ path: string[];
6341
+ id?: string | undefined;
6342
+ purpose?: string | undefined;
6343
+ name?: string | undefined;
6344
+ filter?: any;
6345
+ optional?: boolean | undefined;
6346
+ intent_to_retain?: boolean | undefined;
6347
+ }[] | undefined;
6348
+ limit_disclosure?: "required" | "preferred" | undefined;
6349
+ };
6350
+ name?: string | undefined;
6351
+ purpose?: string | undefined;
6352
+ format?: Record<string, any> | undefined;
6353
+ group?: string | undefined;
6354
+ }[];
6355
+ name?: string | undefined;
6356
+ purpose?: string | undefined;
6357
+ submission_requirements?: {
6358
+ rule: string;
6359
+ name?: string | undefined;
6360
+ purpose?: string | undefined;
6361
+ from?: string | undefined;
6362
+ from_nested?: {
6363
+ rule: string;
6364
+ from: string;
6365
+ name?: string | undefined;
6366
+ purpose?: string | undefined;
6367
+ }[] | undefined;
6368
+ count?: number | undefined;
6369
+ }[] | undefined;
6370
+ } | undefined;
6371
+ request_uris?: string[] | undefined;
6372
+ authorization_signed_response_alg?: string | undefined;
6373
+ authorization_encrypted_response_alg?: string | undefined;
6374
+ authorization_encrypted_response_enc?: string | undefined;
5136
6375
  }>;
5137
6376
  }, "strip", z.ZodTypeAny, {
5138
- wallet_relying_party: {
6377
+ openid_credential_verifier: {
5139
6378
  jwks: {
5140
6379
  keys: {
5141
6380
  kty: "RSA" | "EC";
@@ -5166,9 +6405,50 @@ export declare const RelyingPartyEntityConfiguration: z.ZodIntersection<z.ZodObj
5166
6405
  client_id?: string | undefined;
5167
6406
  client_name?: string | undefined;
5168
6407
  contacts?: string[] | undefined;
6408
+ presentation_definition?: {
6409
+ id: string;
6410
+ input_descriptors: {
6411
+ id: string;
6412
+ constraints: {
6413
+ fields?: {
6414
+ path: string[];
6415
+ id?: string | undefined;
6416
+ purpose?: string | undefined;
6417
+ name?: string | undefined;
6418
+ filter?: any;
6419
+ optional?: boolean | undefined;
6420
+ intent_to_retain?: boolean | undefined;
6421
+ }[] | undefined;
6422
+ limit_disclosure?: "required" | "preferred" | undefined;
6423
+ };
6424
+ name?: string | undefined;
6425
+ purpose?: string | undefined;
6426
+ format?: Record<string, any> | undefined;
6427
+ group?: string | undefined;
6428
+ }[];
6429
+ name?: string | undefined;
6430
+ purpose?: string | undefined;
6431
+ submission_requirements?: {
6432
+ rule: string;
6433
+ name?: string | undefined;
6434
+ purpose?: string | undefined;
6435
+ from?: string | undefined;
6436
+ from_nested?: {
6437
+ rule: string;
6438
+ from: string;
6439
+ name?: string | undefined;
6440
+ purpose?: string | undefined;
6441
+ }[] | undefined;
6442
+ count?: number | undefined;
6443
+ }[] | undefined;
6444
+ } | undefined;
6445
+ request_uris?: string[] | undefined;
6446
+ authorization_signed_response_alg?: string | undefined;
6447
+ authorization_encrypted_response_alg?: string | undefined;
6448
+ authorization_encrypted_response_enc?: string | undefined;
5169
6449
  };
5170
6450
  }, {
5171
- wallet_relying_party: {
6451
+ openid_credential_verifier: {
5172
6452
  jwks: {
5173
6453
  keys: {
5174
6454
  kty: "RSA" | "EC";
@@ -5199,11 +6479,52 @@ export declare const RelyingPartyEntityConfiguration: z.ZodIntersection<z.ZodObj
5199
6479
  client_id?: string | undefined;
5200
6480
  client_name?: string | undefined;
5201
6481
  contacts?: string[] | undefined;
6482
+ presentation_definition?: {
6483
+ id: string;
6484
+ input_descriptors: {
6485
+ id: string;
6486
+ constraints: {
6487
+ fields?: {
6488
+ path: string[];
6489
+ id?: string | undefined;
6490
+ purpose?: string | undefined;
6491
+ name?: string | undefined;
6492
+ filter?: any;
6493
+ optional?: boolean | undefined;
6494
+ intent_to_retain?: boolean | undefined;
6495
+ }[] | undefined;
6496
+ limit_disclosure?: "required" | "preferred" | undefined;
6497
+ };
6498
+ name?: string | undefined;
6499
+ purpose?: string | undefined;
6500
+ format?: Record<string, any> | undefined;
6501
+ group?: string | undefined;
6502
+ }[];
6503
+ name?: string | undefined;
6504
+ purpose?: string | undefined;
6505
+ submission_requirements?: {
6506
+ rule: string;
6507
+ name?: string | undefined;
6508
+ purpose?: string | undefined;
6509
+ from?: string | undefined;
6510
+ from_nested?: {
6511
+ rule: string;
6512
+ from: string;
6513
+ name?: string | undefined;
6514
+ purpose?: string | undefined;
6515
+ }[] | undefined;
6516
+ count?: number | undefined;
6517
+ }[] | undefined;
6518
+ } | undefined;
6519
+ request_uris?: string[] | undefined;
6520
+ authorization_signed_response_alg?: string | undefined;
6521
+ authorization_encrypted_response_alg?: string | undefined;
6522
+ authorization_encrypted_response_enc?: string | undefined;
5202
6523
  };
5203
6524
  }>;
5204
6525
  }, "strip", z.ZodTypeAny, {
5205
6526
  metadata: {
5206
- wallet_relying_party: {
6527
+ openid_credential_verifier: {
5207
6528
  jwks: {
5208
6529
  keys: {
5209
6530
  kty: "RSA" | "EC";
@@ -5234,11 +6555,52 @@ export declare const RelyingPartyEntityConfiguration: z.ZodIntersection<z.ZodObj
5234
6555
  client_id?: string | undefined;
5235
6556
  client_name?: string | undefined;
5236
6557
  contacts?: string[] | undefined;
6558
+ presentation_definition?: {
6559
+ id: string;
6560
+ input_descriptors: {
6561
+ id: string;
6562
+ constraints: {
6563
+ fields?: {
6564
+ path: string[];
6565
+ id?: string | undefined;
6566
+ purpose?: string | undefined;
6567
+ name?: string | undefined;
6568
+ filter?: any;
6569
+ optional?: boolean | undefined;
6570
+ intent_to_retain?: boolean | undefined;
6571
+ }[] | undefined;
6572
+ limit_disclosure?: "required" | "preferred" | undefined;
6573
+ };
6574
+ name?: string | undefined;
6575
+ purpose?: string | undefined;
6576
+ format?: Record<string, any> | undefined;
6577
+ group?: string | undefined;
6578
+ }[];
6579
+ name?: string | undefined;
6580
+ purpose?: string | undefined;
6581
+ submission_requirements?: {
6582
+ rule: string;
6583
+ name?: string | undefined;
6584
+ purpose?: string | undefined;
6585
+ from?: string | undefined;
6586
+ from_nested?: {
6587
+ rule: string;
6588
+ from: string;
6589
+ name?: string | undefined;
6590
+ purpose?: string | undefined;
6591
+ }[] | undefined;
6592
+ count?: number | undefined;
6593
+ }[] | undefined;
6594
+ } | undefined;
6595
+ request_uris?: string[] | undefined;
6596
+ authorization_signed_response_alg?: string | undefined;
6597
+ authorization_encrypted_response_alg?: string | undefined;
6598
+ authorization_encrypted_response_enc?: string | undefined;
5237
6599
  };
5238
6600
  };
5239
6601
  }, {
5240
6602
  metadata: {
5241
- wallet_relying_party: {
6603
+ openid_credential_verifier: {
5242
6604
  jwks: {
5243
6605
  keys: {
5244
6606
  kty: "RSA" | "EC";
@@ -5269,13 +6631,54 @@ export declare const RelyingPartyEntityConfiguration: z.ZodIntersection<z.ZodObj
5269
6631
  client_id?: string | undefined;
5270
6632
  client_name?: string | undefined;
5271
6633
  contacts?: string[] | undefined;
6634
+ presentation_definition?: {
6635
+ id: string;
6636
+ input_descriptors: {
6637
+ id: string;
6638
+ constraints: {
6639
+ fields?: {
6640
+ path: string[];
6641
+ id?: string | undefined;
6642
+ purpose?: string | undefined;
6643
+ name?: string | undefined;
6644
+ filter?: any;
6645
+ optional?: boolean | undefined;
6646
+ intent_to_retain?: boolean | undefined;
6647
+ }[] | undefined;
6648
+ limit_disclosure?: "required" | "preferred" | undefined;
6649
+ };
6650
+ name?: string | undefined;
6651
+ purpose?: string | undefined;
6652
+ format?: Record<string, any> | undefined;
6653
+ group?: string | undefined;
6654
+ }[];
6655
+ name?: string | undefined;
6656
+ purpose?: string | undefined;
6657
+ submission_requirements?: {
6658
+ rule: string;
6659
+ name?: string | undefined;
6660
+ purpose?: string | undefined;
6661
+ from?: string | undefined;
6662
+ from_nested?: {
6663
+ rule: string;
6664
+ from: string;
6665
+ name?: string | undefined;
6666
+ purpose?: string | undefined;
6667
+ }[] | undefined;
6668
+ count?: number | undefined;
6669
+ }[] | undefined;
6670
+ } | undefined;
6671
+ request_uris?: string[] | undefined;
6672
+ authorization_signed_response_alg?: string | undefined;
6673
+ authorization_encrypted_response_alg?: string | undefined;
6674
+ authorization_encrypted_response_enc?: string | undefined;
5272
6675
  };
5273
6676
  };
5274
6677
  }>;
5275
6678
  }, "strip", z.ZodTypeAny, {
5276
6679
  payload: {
5277
6680
  metadata: {
5278
- wallet_relying_party: {
6681
+ openid_credential_verifier: {
5279
6682
  jwks: {
5280
6683
  keys: {
5281
6684
  kty: "RSA" | "EC";
@@ -5306,13 +6709,54 @@ export declare const RelyingPartyEntityConfiguration: z.ZodIntersection<z.ZodObj
5306
6709
  client_id?: string | undefined;
5307
6710
  client_name?: string | undefined;
5308
6711
  contacts?: string[] | undefined;
6712
+ presentation_definition?: {
6713
+ id: string;
6714
+ input_descriptors: {
6715
+ id: string;
6716
+ constraints: {
6717
+ fields?: {
6718
+ path: string[];
6719
+ id?: string | undefined;
6720
+ purpose?: string | undefined;
6721
+ name?: string | undefined;
6722
+ filter?: any;
6723
+ optional?: boolean | undefined;
6724
+ intent_to_retain?: boolean | undefined;
6725
+ }[] | undefined;
6726
+ limit_disclosure?: "required" | "preferred" | undefined;
6727
+ };
6728
+ name?: string | undefined;
6729
+ purpose?: string | undefined;
6730
+ format?: Record<string, any> | undefined;
6731
+ group?: string | undefined;
6732
+ }[];
6733
+ name?: string | undefined;
6734
+ purpose?: string | undefined;
6735
+ submission_requirements?: {
6736
+ rule: string;
6737
+ name?: string | undefined;
6738
+ purpose?: string | undefined;
6739
+ from?: string | undefined;
6740
+ from_nested?: {
6741
+ rule: string;
6742
+ from: string;
6743
+ name?: string | undefined;
6744
+ purpose?: string | undefined;
6745
+ }[] | undefined;
6746
+ count?: number | undefined;
6747
+ }[] | undefined;
6748
+ } | undefined;
6749
+ request_uris?: string[] | undefined;
6750
+ authorization_signed_response_alg?: string | undefined;
6751
+ authorization_encrypted_response_alg?: string | undefined;
6752
+ authorization_encrypted_response_enc?: string | undefined;
5309
6753
  };
5310
6754
  };
5311
6755
  };
5312
6756
  }, {
5313
6757
  payload: {
5314
6758
  metadata: {
5315
- wallet_relying_party: {
6759
+ openid_credential_verifier: {
5316
6760
  jwks: {
5317
6761
  keys: {
5318
6762
  kty: "RSA" | "EC";
@@ -5343,6 +6787,47 @@ export declare const RelyingPartyEntityConfiguration: z.ZodIntersection<z.ZodObj
5343
6787
  client_id?: string | undefined;
5344
6788
  client_name?: string | undefined;
5345
6789
  contacts?: string[] | undefined;
6790
+ presentation_definition?: {
6791
+ id: string;
6792
+ input_descriptors: {
6793
+ id: string;
6794
+ constraints: {
6795
+ fields?: {
6796
+ path: string[];
6797
+ id?: string | undefined;
6798
+ purpose?: string | undefined;
6799
+ name?: string | undefined;
6800
+ filter?: any;
6801
+ optional?: boolean | undefined;
6802
+ intent_to_retain?: boolean | undefined;
6803
+ }[] | undefined;
6804
+ limit_disclosure?: "required" | "preferred" | undefined;
6805
+ };
6806
+ name?: string | undefined;
6807
+ purpose?: string | undefined;
6808
+ format?: Record<string, any> | undefined;
6809
+ group?: string | undefined;
6810
+ }[];
6811
+ name?: string | undefined;
6812
+ purpose?: string | undefined;
6813
+ submission_requirements?: {
6814
+ rule: string;
6815
+ name?: string | undefined;
6816
+ purpose?: string | undefined;
6817
+ from?: string | undefined;
6818
+ from_nested?: {
6819
+ rule: string;
6820
+ from: string;
6821
+ name?: string | undefined;
6822
+ purpose?: string | undefined;
6823
+ }[] | undefined;
6824
+ count?: number | undefined;
6825
+ }[] | undefined;
6826
+ } | undefined;
6827
+ request_uris?: string[] | undefined;
6828
+ authorization_signed_response_alg?: string | undefined;
6829
+ authorization_encrypted_response_alg?: string | undefined;
6830
+ authorization_encrypted_response_enc?: string | undefined;
5346
6831
  };
5347
6832
  };
5348
6833
  };
@@ -9561,12 +11046,12 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
9561
11046
  }[];
9562
11047
  }>>>;
9563
11048
  }, "strip", z.ZodTypeAny, {
11049
+ format: "vc+sd-jwt" | "vc+mdoc-cbor";
11050
+ scope: string;
9564
11051
  display: {
9565
11052
  name: string;
9566
11053
  locale: string;
9567
11054
  }[];
9568
- format: "vc+sd-jwt" | "vc+mdoc-cbor";
9569
- scope: string;
9570
11055
  claims: Record<string, {
9571
11056
  value_type: string;
9572
11057
  display: {
@@ -9585,12 +11070,12 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
9585
11070
  }[];
9586
11071
  }> | undefined;
9587
11072
  }, {
11073
+ format: "vc+sd-jwt" | "vc+mdoc-cbor";
11074
+ scope: string;
9588
11075
  display: {
9589
11076
  name: string;
9590
11077
  locale: string;
9591
11078
  }[];
9592
- format: "vc+sd-jwt" | "vc+mdoc-cbor";
9593
- scope: string;
9594
11079
  claims: Record<string, {
9595
11080
  value_type: string;
9596
11081
  display: {
@@ -9767,12 +11252,12 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
9767
11252
  revocation_endpoint: string;
9768
11253
  status_attestation_endpoint: string;
9769
11254
  credential_configurations_supported: Record<string, {
11255
+ format: "vc+sd-jwt" | "vc+mdoc-cbor";
11256
+ scope: string;
9770
11257
  display: {
9771
11258
  name: string;
9772
11259
  locale: string;
9773
11260
  }[];
9774
- format: "vc+sd-jwt" | "vc+mdoc-cbor";
9775
- scope: string;
9776
11261
  claims: Record<string, {
9777
11262
  value_type: string;
9778
11263
  display: {
@@ -9827,12 +11312,12 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
9827
11312
  revocation_endpoint: string;
9828
11313
  status_attestation_endpoint: string;
9829
11314
  credential_configurations_supported: Record<string, {
11315
+ format: "vc+sd-jwt" | "vc+mdoc-cbor";
11316
+ scope: string;
9830
11317
  display: {
9831
11318
  name: string;
9832
11319
  locale: string;
9833
11320
  }[];
9834
- format: "vc+sd-jwt" | "vc+mdoc-cbor";
9835
- scope: string;
9836
11321
  claims: Record<string, {
9837
11322
  value_type: string;
9838
11323
  display: {
@@ -9989,6 +11474,7 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
9989
11474
  token_endpoint_auth_signing_alg_values_supported: z.ZodArray<z.ZodString, "many">;
9990
11475
  request_object_signing_alg_values_supported: z.ZodArray<z.ZodString, "many">;
9991
11476
  }, "strip", z.ZodTypeAny, {
11477
+ request_object_signing_alg_values_supported: string[];
9992
11478
  jwks: {
9993
11479
  keys: {
9994
11480
  kty: "RSA" | "EC";
@@ -10027,8 +11513,8 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10027
11513
  response_modes_supported: string[];
10028
11514
  token_endpoint_auth_methods_supported: string[];
10029
11515
  token_endpoint_auth_signing_alg_values_supported: string[];
10030
- request_object_signing_alg_values_supported: string[];
10031
11516
  }, {
11517
+ request_object_signing_alg_values_supported: string[];
10032
11518
  jwks: {
10033
11519
  keys: {
10034
11520
  kty: "RSA" | "EC";
@@ -10067,11 +11553,508 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10067
11553
  response_modes_supported: string[];
10068
11554
  token_endpoint_auth_methods_supported: string[];
10069
11555
  token_endpoint_auth_signing_alg_values_supported: string[];
10070
- request_object_signing_alg_values_supported: string[];
10071
11556
  }>;
10072
- /** Credential Issuers act as Relying Party
10073
- when they require the presentation of other credentials.
10074
- This does not apply for PID issuance, which requires CIE authz. */
11557
+ /**
11558
+ * Credential Issuers act as Relying Party when they require the presentation of other credentials.
11559
+ * This does not apply for PID issuance, which requires CIE authz.
11560
+ */
11561
+ openid_credential_verifier: z.ZodOptional<z.ZodObject<{
11562
+ application_type: z.ZodOptional<z.ZodString>;
11563
+ client_id: z.ZodOptional<z.ZodString>;
11564
+ client_name: z.ZodOptional<z.ZodString>;
11565
+ jwks: z.ZodObject<{
11566
+ keys: z.ZodArray<z.ZodObject<{
11567
+ alg: z.ZodOptional<z.ZodString>;
11568
+ crv: z.ZodOptional<z.ZodString>;
11569
+ d: z.ZodOptional<z.ZodString>;
11570
+ dp: z.ZodOptional<z.ZodString>;
11571
+ dq: z.ZodOptional<z.ZodString>;
11572
+ e: z.ZodOptional<z.ZodString>;
11573
+ ext: z.ZodOptional<z.ZodBoolean>;
11574
+ k: z.ZodOptional<z.ZodString>;
11575
+ key_ops: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
11576
+ kid: z.ZodOptional<z.ZodString>;
11577
+ kty: z.ZodUnion<[z.ZodLiteral<"RSA">, z.ZodLiteral<"EC">]>;
11578
+ n: z.ZodOptional<z.ZodString>;
11579
+ p: z.ZodOptional<z.ZodString>;
11580
+ q: z.ZodOptional<z.ZodString>;
11581
+ qi: z.ZodOptional<z.ZodString>;
11582
+ use: z.ZodOptional<z.ZodString>;
11583
+ x: z.ZodOptional<z.ZodString>;
11584
+ y: z.ZodOptional<z.ZodString>;
11585
+ x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
11586
+ x5t: z.ZodOptional<z.ZodString>;
11587
+ "x5t#S256": z.ZodOptional<z.ZodString>;
11588
+ x5u: z.ZodOptional<z.ZodString>;
11589
+ }, "strip", z.ZodTypeAny, {
11590
+ kty: "RSA" | "EC";
11591
+ alg?: string | undefined;
11592
+ crv?: string | undefined;
11593
+ d?: string | undefined;
11594
+ dp?: string | undefined;
11595
+ dq?: string | undefined;
11596
+ e?: string | undefined;
11597
+ ext?: boolean | undefined;
11598
+ k?: string | undefined;
11599
+ key_ops?: string[] | undefined;
11600
+ kid?: string | undefined;
11601
+ n?: string | undefined;
11602
+ p?: string | undefined;
11603
+ q?: string | undefined;
11604
+ qi?: string | undefined;
11605
+ use?: string | undefined;
11606
+ x?: string | undefined;
11607
+ y?: string | undefined;
11608
+ x5c?: string[] | undefined;
11609
+ x5t?: string | undefined;
11610
+ "x5t#S256"?: string | undefined;
11611
+ x5u?: string | undefined;
11612
+ }, {
11613
+ kty: "RSA" | "EC";
11614
+ alg?: string | undefined;
11615
+ crv?: string | undefined;
11616
+ d?: string | undefined;
11617
+ dp?: string | undefined;
11618
+ dq?: string | undefined;
11619
+ e?: string | undefined;
11620
+ ext?: boolean | undefined;
11621
+ k?: string | undefined;
11622
+ key_ops?: string[] | undefined;
11623
+ kid?: string | undefined;
11624
+ n?: string | undefined;
11625
+ p?: string | undefined;
11626
+ q?: string | undefined;
11627
+ qi?: string | undefined;
11628
+ use?: string | undefined;
11629
+ x?: string | undefined;
11630
+ y?: string | undefined;
11631
+ x5c?: string[] | undefined;
11632
+ x5t?: string | undefined;
11633
+ "x5t#S256"?: string | undefined;
11634
+ x5u?: string | undefined;
11635
+ }>, "many">;
11636
+ }, "strip", z.ZodTypeAny, {
11637
+ keys: {
11638
+ kty: "RSA" | "EC";
11639
+ alg?: string | undefined;
11640
+ crv?: string | undefined;
11641
+ d?: string | undefined;
11642
+ dp?: string | undefined;
11643
+ dq?: string | undefined;
11644
+ e?: string | undefined;
11645
+ ext?: boolean | undefined;
11646
+ k?: string | undefined;
11647
+ key_ops?: string[] | undefined;
11648
+ kid?: string | undefined;
11649
+ n?: string | undefined;
11650
+ p?: string | undefined;
11651
+ q?: string | undefined;
11652
+ qi?: string | undefined;
11653
+ use?: string | undefined;
11654
+ x?: string | undefined;
11655
+ y?: string | undefined;
11656
+ x5c?: string[] | undefined;
11657
+ x5t?: string | undefined;
11658
+ "x5t#S256"?: string | undefined;
11659
+ x5u?: string | undefined;
11660
+ }[];
11661
+ }, {
11662
+ keys: {
11663
+ kty: "RSA" | "EC";
11664
+ alg?: string | undefined;
11665
+ crv?: string | undefined;
11666
+ d?: string | undefined;
11667
+ dp?: string | undefined;
11668
+ dq?: string | undefined;
11669
+ e?: string | undefined;
11670
+ ext?: boolean | undefined;
11671
+ k?: string | undefined;
11672
+ key_ops?: string[] | undefined;
11673
+ kid?: string | undefined;
11674
+ n?: string | undefined;
11675
+ p?: string | undefined;
11676
+ q?: string | undefined;
11677
+ qi?: string | undefined;
11678
+ use?: string | undefined;
11679
+ x?: string | undefined;
11680
+ y?: string | undefined;
11681
+ x5c?: string[] | undefined;
11682
+ x5t?: string | undefined;
11683
+ "x5t#S256"?: string | undefined;
11684
+ x5u?: string | undefined;
11685
+ }[];
11686
+ }>;
11687
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
11688
+ presentation_definition: z.ZodOptional<z.ZodObject<{
11689
+ id: z.ZodString;
11690
+ name: z.ZodOptional<z.ZodString>;
11691
+ purpose: z.ZodOptional<z.ZodString>;
11692
+ input_descriptors: z.ZodArray<z.ZodObject<{
11693
+ id: z.ZodString;
11694
+ name: z.ZodOptional<z.ZodString>;
11695
+ purpose: z.ZodOptional<z.ZodString>;
11696
+ format: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
11697
+ constraints: z.ZodObject<{
11698
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
11699
+ path: z.ZodArray<z.ZodString, "many">;
11700
+ id: z.ZodOptional<z.ZodString>;
11701
+ purpose: z.ZodOptional<z.ZodString>;
11702
+ name: z.ZodOptional<z.ZodString>;
11703
+ filter: z.ZodOptional<z.ZodAny>;
11704
+ optional: z.ZodOptional<z.ZodBoolean>;
11705
+ intent_to_retain: z.ZodOptional<z.ZodBoolean>;
11706
+ }, "strip", z.ZodTypeAny, {
11707
+ path: string[];
11708
+ id?: string | undefined;
11709
+ purpose?: string | undefined;
11710
+ name?: string | undefined;
11711
+ filter?: any;
11712
+ optional?: boolean | undefined;
11713
+ intent_to_retain?: boolean | undefined;
11714
+ }, {
11715
+ path: string[];
11716
+ id?: string | undefined;
11717
+ purpose?: string | undefined;
11718
+ name?: string | undefined;
11719
+ filter?: any;
11720
+ optional?: boolean | undefined;
11721
+ intent_to_retain?: boolean | undefined;
11722
+ }>, "many">>;
11723
+ limit_disclosure: z.ZodOptional<z.ZodEnum<["required", "preferred"]>>;
11724
+ }, "strip", z.ZodTypeAny, {
11725
+ fields?: {
11726
+ path: string[];
11727
+ id?: string | undefined;
11728
+ purpose?: string | undefined;
11729
+ name?: string | undefined;
11730
+ filter?: any;
11731
+ optional?: boolean | undefined;
11732
+ intent_to_retain?: boolean | undefined;
11733
+ }[] | undefined;
11734
+ limit_disclosure?: "required" | "preferred" | undefined;
11735
+ }, {
11736
+ fields?: {
11737
+ path: string[];
11738
+ id?: string | undefined;
11739
+ purpose?: string | undefined;
11740
+ name?: string | undefined;
11741
+ filter?: any;
11742
+ optional?: boolean | undefined;
11743
+ intent_to_retain?: boolean | undefined;
11744
+ }[] | undefined;
11745
+ limit_disclosure?: "required" | "preferred" | undefined;
11746
+ }>;
11747
+ group: z.ZodOptional<z.ZodString>;
11748
+ }, "strip", z.ZodTypeAny, {
11749
+ id: string;
11750
+ constraints: {
11751
+ fields?: {
11752
+ path: string[];
11753
+ id?: string | undefined;
11754
+ purpose?: string | undefined;
11755
+ name?: string | undefined;
11756
+ filter?: any;
11757
+ optional?: boolean | undefined;
11758
+ intent_to_retain?: boolean | undefined;
11759
+ }[] | undefined;
11760
+ limit_disclosure?: "required" | "preferred" | undefined;
11761
+ };
11762
+ name?: string | undefined;
11763
+ purpose?: string | undefined;
11764
+ format?: Record<string, any> | undefined;
11765
+ group?: string | undefined;
11766
+ }, {
11767
+ id: string;
11768
+ constraints: {
11769
+ fields?: {
11770
+ path: string[];
11771
+ id?: string | undefined;
11772
+ purpose?: string | undefined;
11773
+ name?: string | undefined;
11774
+ filter?: any;
11775
+ optional?: boolean | undefined;
11776
+ intent_to_retain?: boolean | undefined;
11777
+ }[] | undefined;
11778
+ limit_disclosure?: "required" | "preferred" | undefined;
11779
+ };
11780
+ name?: string | undefined;
11781
+ purpose?: string | undefined;
11782
+ format?: Record<string, any> | undefined;
11783
+ group?: string | undefined;
11784
+ }>, "many">;
11785
+ submission_requirements: z.ZodOptional<z.ZodArray<z.ZodObject<{
11786
+ name: z.ZodOptional<z.ZodString>;
11787
+ purpose: z.ZodOptional<z.ZodString>;
11788
+ rule: z.ZodString;
11789
+ from: z.ZodOptional<z.ZodString>;
11790
+ from_nested: z.ZodOptional<z.ZodArray<z.ZodObject<{
11791
+ name: z.ZodOptional<z.ZodString>;
11792
+ purpose: z.ZodOptional<z.ZodString>;
11793
+ rule: z.ZodString;
11794
+ from: z.ZodString;
11795
+ }, "strip", z.ZodTypeAny, {
11796
+ rule: string;
11797
+ from: string;
11798
+ name?: string | undefined;
11799
+ purpose?: string | undefined;
11800
+ }, {
11801
+ rule: string;
11802
+ from: string;
11803
+ name?: string | undefined;
11804
+ purpose?: string | undefined;
11805
+ }>, "many">>;
11806
+ count: z.ZodOptional<z.ZodNumber>;
11807
+ }, "strip", z.ZodTypeAny, {
11808
+ rule: string;
11809
+ name?: string | undefined;
11810
+ purpose?: string | undefined;
11811
+ from?: string | undefined;
11812
+ from_nested?: {
11813
+ rule: string;
11814
+ from: string;
11815
+ name?: string | undefined;
11816
+ purpose?: string | undefined;
11817
+ }[] | undefined;
11818
+ count?: number | undefined;
11819
+ }, {
11820
+ rule: string;
11821
+ name?: string | undefined;
11822
+ purpose?: string | undefined;
11823
+ from?: string | undefined;
11824
+ from_nested?: {
11825
+ rule: string;
11826
+ from: string;
11827
+ name?: string | undefined;
11828
+ purpose?: string | undefined;
11829
+ }[] | undefined;
11830
+ count?: number | undefined;
11831
+ }>, "many">>;
11832
+ }, "strip", z.ZodTypeAny, {
11833
+ id: string;
11834
+ input_descriptors: {
11835
+ id: string;
11836
+ constraints: {
11837
+ fields?: {
11838
+ path: string[];
11839
+ id?: string | undefined;
11840
+ purpose?: string | undefined;
11841
+ name?: string | undefined;
11842
+ filter?: any;
11843
+ optional?: boolean | undefined;
11844
+ intent_to_retain?: boolean | undefined;
11845
+ }[] | undefined;
11846
+ limit_disclosure?: "required" | "preferred" | undefined;
11847
+ };
11848
+ name?: string | undefined;
11849
+ purpose?: string | undefined;
11850
+ format?: Record<string, any> | undefined;
11851
+ group?: string | undefined;
11852
+ }[];
11853
+ name?: string | undefined;
11854
+ purpose?: string | undefined;
11855
+ submission_requirements?: {
11856
+ rule: string;
11857
+ name?: string | undefined;
11858
+ purpose?: string | undefined;
11859
+ from?: string | undefined;
11860
+ from_nested?: {
11861
+ rule: string;
11862
+ from: string;
11863
+ name?: string | undefined;
11864
+ purpose?: string | undefined;
11865
+ }[] | undefined;
11866
+ count?: number | undefined;
11867
+ }[] | undefined;
11868
+ }, {
11869
+ id: string;
11870
+ input_descriptors: {
11871
+ id: string;
11872
+ constraints: {
11873
+ fields?: {
11874
+ path: string[];
11875
+ id?: string | undefined;
11876
+ purpose?: string | undefined;
11877
+ name?: string | undefined;
11878
+ filter?: any;
11879
+ optional?: boolean | undefined;
11880
+ intent_to_retain?: boolean | undefined;
11881
+ }[] | undefined;
11882
+ limit_disclosure?: "required" | "preferred" | undefined;
11883
+ };
11884
+ name?: string | undefined;
11885
+ purpose?: string | undefined;
11886
+ format?: Record<string, any> | undefined;
11887
+ group?: string | undefined;
11888
+ }[];
11889
+ name?: string | undefined;
11890
+ purpose?: string | undefined;
11891
+ submission_requirements?: {
11892
+ rule: string;
11893
+ name?: string | undefined;
11894
+ purpose?: string | undefined;
11895
+ from?: string | undefined;
11896
+ from_nested?: {
11897
+ rule: string;
11898
+ from: string;
11899
+ name?: string | undefined;
11900
+ purpose?: string | undefined;
11901
+ }[] | undefined;
11902
+ count?: number | undefined;
11903
+ }[] | undefined;
11904
+ }>>;
11905
+ request_uris: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
11906
+ authorization_signed_response_alg: z.ZodOptional<z.ZodString>;
11907
+ authorization_encrypted_response_alg: z.ZodOptional<z.ZodString>;
11908
+ authorization_encrypted_response_enc: z.ZodOptional<z.ZodString>;
11909
+ }, "strip", z.ZodTypeAny, {
11910
+ jwks: {
11911
+ keys: {
11912
+ kty: "RSA" | "EC";
11913
+ alg?: string | undefined;
11914
+ crv?: string | undefined;
11915
+ d?: string | undefined;
11916
+ dp?: string | undefined;
11917
+ dq?: string | undefined;
11918
+ e?: string | undefined;
11919
+ ext?: boolean | undefined;
11920
+ k?: string | undefined;
11921
+ key_ops?: string[] | undefined;
11922
+ kid?: string | undefined;
11923
+ n?: string | undefined;
11924
+ p?: string | undefined;
11925
+ q?: string | undefined;
11926
+ qi?: string | undefined;
11927
+ use?: string | undefined;
11928
+ x?: string | undefined;
11929
+ y?: string | undefined;
11930
+ x5c?: string[] | undefined;
11931
+ x5t?: string | undefined;
11932
+ "x5t#S256"?: string | undefined;
11933
+ x5u?: string | undefined;
11934
+ }[];
11935
+ };
11936
+ application_type?: string | undefined;
11937
+ client_id?: string | undefined;
11938
+ client_name?: string | undefined;
11939
+ contacts?: string[] | undefined;
11940
+ presentation_definition?: {
11941
+ id: string;
11942
+ input_descriptors: {
11943
+ id: string;
11944
+ constraints: {
11945
+ fields?: {
11946
+ path: string[];
11947
+ id?: string | undefined;
11948
+ purpose?: string | undefined;
11949
+ name?: string | undefined;
11950
+ filter?: any;
11951
+ optional?: boolean | undefined;
11952
+ intent_to_retain?: boolean | undefined;
11953
+ }[] | undefined;
11954
+ limit_disclosure?: "required" | "preferred" | undefined;
11955
+ };
11956
+ name?: string | undefined;
11957
+ purpose?: string | undefined;
11958
+ format?: Record<string, any> | undefined;
11959
+ group?: string | undefined;
11960
+ }[];
11961
+ name?: string | undefined;
11962
+ purpose?: string | undefined;
11963
+ submission_requirements?: {
11964
+ rule: string;
11965
+ name?: string | undefined;
11966
+ purpose?: string | undefined;
11967
+ from?: string | undefined;
11968
+ from_nested?: {
11969
+ rule: string;
11970
+ from: string;
11971
+ name?: string | undefined;
11972
+ purpose?: string | undefined;
11973
+ }[] | undefined;
11974
+ count?: number | undefined;
11975
+ }[] | undefined;
11976
+ } | undefined;
11977
+ request_uris?: string[] | undefined;
11978
+ authorization_signed_response_alg?: string | undefined;
11979
+ authorization_encrypted_response_alg?: string | undefined;
11980
+ authorization_encrypted_response_enc?: string | undefined;
11981
+ }, {
11982
+ jwks: {
11983
+ keys: {
11984
+ kty: "RSA" | "EC";
11985
+ alg?: string | undefined;
11986
+ crv?: string | undefined;
11987
+ d?: string | undefined;
11988
+ dp?: string | undefined;
11989
+ dq?: string | undefined;
11990
+ e?: string | undefined;
11991
+ ext?: boolean | undefined;
11992
+ k?: string | undefined;
11993
+ key_ops?: string[] | undefined;
11994
+ kid?: string | undefined;
11995
+ n?: string | undefined;
11996
+ p?: string | undefined;
11997
+ q?: string | undefined;
11998
+ qi?: string | undefined;
11999
+ use?: string | undefined;
12000
+ x?: string | undefined;
12001
+ y?: string | undefined;
12002
+ x5c?: string[] | undefined;
12003
+ x5t?: string | undefined;
12004
+ "x5t#S256"?: string | undefined;
12005
+ x5u?: string | undefined;
12006
+ }[];
12007
+ };
12008
+ application_type?: string | undefined;
12009
+ client_id?: string | undefined;
12010
+ client_name?: string | undefined;
12011
+ contacts?: string[] | undefined;
12012
+ presentation_definition?: {
12013
+ id: string;
12014
+ input_descriptors: {
12015
+ id: string;
12016
+ constraints: {
12017
+ fields?: {
12018
+ path: string[];
12019
+ id?: string | undefined;
12020
+ purpose?: string | undefined;
12021
+ name?: string | undefined;
12022
+ filter?: any;
12023
+ optional?: boolean | undefined;
12024
+ intent_to_retain?: boolean | undefined;
12025
+ }[] | undefined;
12026
+ limit_disclosure?: "required" | "preferred" | undefined;
12027
+ };
12028
+ name?: string | undefined;
12029
+ purpose?: string | undefined;
12030
+ format?: Record<string, any> | undefined;
12031
+ group?: string | undefined;
12032
+ }[];
12033
+ name?: string | undefined;
12034
+ purpose?: string | undefined;
12035
+ submission_requirements?: {
12036
+ rule: string;
12037
+ name?: string | undefined;
12038
+ purpose?: string | undefined;
12039
+ from?: string | undefined;
12040
+ from_nested?: {
12041
+ rule: string;
12042
+ from: string;
12043
+ name?: string | undefined;
12044
+ purpose?: string | undefined;
12045
+ }[] | undefined;
12046
+ count?: number | undefined;
12047
+ }[] | undefined;
12048
+ } | undefined;
12049
+ request_uris?: string[] | undefined;
12050
+ authorization_signed_response_alg?: string | undefined;
12051
+ authorization_encrypted_response_alg?: string | undefined;
12052
+ authorization_encrypted_response_enc?: string | undefined;
12053
+ }>>;
12054
+ /**
12055
+ * @deprecated use `openid_credential_verifier`
12056
+ * TODO [SIW-2111]: remove after migrating to 0.9.x
12057
+ */
10075
12058
  wallet_relying_party: z.ZodOptional<z.ZodObject<{
10076
12059
  application_type: z.ZodOptional<z.ZodString>;
10077
12060
  client_id: z.ZodOptional<z.ZodString>;
@@ -10299,12 +12282,12 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10299
12282
  revocation_endpoint: string;
10300
12283
  status_attestation_endpoint: string;
10301
12284
  credential_configurations_supported: Record<string, {
12285
+ format: "vc+sd-jwt" | "vc+mdoc-cbor";
12286
+ scope: string;
10302
12287
  display: {
10303
12288
  name: string;
10304
12289
  locale: string;
10305
12290
  }[];
10306
- format: "vc+sd-jwt" | "vc+mdoc-cbor";
10307
- scope: string;
10308
12291
  claims: Record<string, {
10309
12292
  value_type: string;
10310
12293
  display: {
@@ -10325,6 +12308,7 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10325
12308
  }>;
10326
12309
  };
10327
12310
  oauth_authorization_server: {
12311
+ request_object_signing_alg_values_supported: string[];
10328
12312
  jwks: {
10329
12313
  keys: {
10330
12314
  kty: "RSA" | "EC";
@@ -10363,8 +12347,80 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10363
12347
  response_modes_supported: string[];
10364
12348
  token_endpoint_auth_methods_supported: string[];
10365
12349
  token_endpoint_auth_signing_alg_values_supported: string[];
10366
- request_object_signing_alg_values_supported: string[];
10367
12350
  };
12351
+ openid_credential_verifier?: {
12352
+ jwks: {
12353
+ keys: {
12354
+ kty: "RSA" | "EC";
12355
+ alg?: string | undefined;
12356
+ crv?: string | undefined;
12357
+ d?: string | undefined;
12358
+ dp?: string | undefined;
12359
+ dq?: string | undefined;
12360
+ e?: string | undefined;
12361
+ ext?: boolean | undefined;
12362
+ k?: string | undefined;
12363
+ key_ops?: string[] | undefined;
12364
+ kid?: string | undefined;
12365
+ n?: string | undefined;
12366
+ p?: string | undefined;
12367
+ q?: string | undefined;
12368
+ qi?: string | undefined;
12369
+ use?: string | undefined;
12370
+ x?: string | undefined;
12371
+ y?: string | undefined;
12372
+ x5c?: string[] | undefined;
12373
+ x5t?: string | undefined;
12374
+ "x5t#S256"?: string | undefined;
12375
+ x5u?: string | undefined;
12376
+ }[];
12377
+ };
12378
+ application_type?: string | undefined;
12379
+ client_id?: string | undefined;
12380
+ client_name?: string | undefined;
12381
+ contacts?: string[] | undefined;
12382
+ presentation_definition?: {
12383
+ id: string;
12384
+ input_descriptors: {
12385
+ id: string;
12386
+ constraints: {
12387
+ fields?: {
12388
+ path: string[];
12389
+ id?: string | undefined;
12390
+ purpose?: string | undefined;
12391
+ name?: string | undefined;
12392
+ filter?: any;
12393
+ optional?: boolean | undefined;
12394
+ intent_to_retain?: boolean | undefined;
12395
+ }[] | undefined;
12396
+ limit_disclosure?: "required" | "preferred" | undefined;
12397
+ };
12398
+ name?: string | undefined;
12399
+ purpose?: string | undefined;
12400
+ format?: Record<string, any> | undefined;
12401
+ group?: string | undefined;
12402
+ }[];
12403
+ name?: string | undefined;
12404
+ purpose?: string | undefined;
12405
+ submission_requirements?: {
12406
+ rule: string;
12407
+ name?: string | undefined;
12408
+ purpose?: string | undefined;
12409
+ from?: string | undefined;
12410
+ from_nested?: {
12411
+ rule: string;
12412
+ from: string;
12413
+ name?: string | undefined;
12414
+ purpose?: string | undefined;
12415
+ }[] | undefined;
12416
+ count?: number | undefined;
12417
+ }[] | undefined;
12418
+ } | undefined;
12419
+ request_uris?: string[] | undefined;
12420
+ authorization_signed_response_alg?: string | undefined;
12421
+ authorization_encrypted_response_alg?: string | undefined;
12422
+ authorization_encrypted_response_enc?: string | undefined;
12423
+ } | undefined;
10368
12424
  wallet_relying_party?: {
10369
12425
  jwks: {
10370
12426
  keys: {
@@ -10434,12 +12490,12 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10434
12490
  revocation_endpoint: string;
10435
12491
  status_attestation_endpoint: string;
10436
12492
  credential_configurations_supported: Record<string, {
12493
+ format: "vc+sd-jwt" | "vc+mdoc-cbor";
12494
+ scope: string;
10437
12495
  display: {
10438
12496
  name: string;
10439
12497
  locale: string;
10440
12498
  }[];
10441
- format: "vc+sd-jwt" | "vc+mdoc-cbor";
10442
- scope: string;
10443
12499
  claims: Record<string, {
10444
12500
  value_type: string;
10445
12501
  display: {
@@ -10460,6 +12516,7 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10460
12516
  }>;
10461
12517
  };
10462
12518
  oauth_authorization_server: {
12519
+ request_object_signing_alg_values_supported: string[];
10463
12520
  jwks: {
10464
12521
  keys: {
10465
12522
  kty: "RSA" | "EC";
@@ -10498,8 +12555,80 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10498
12555
  response_modes_supported: string[];
10499
12556
  token_endpoint_auth_methods_supported: string[];
10500
12557
  token_endpoint_auth_signing_alg_values_supported: string[];
10501
- request_object_signing_alg_values_supported: string[];
10502
12558
  };
12559
+ openid_credential_verifier?: {
12560
+ jwks: {
12561
+ keys: {
12562
+ kty: "RSA" | "EC";
12563
+ alg?: string | undefined;
12564
+ crv?: string | undefined;
12565
+ d?: string | undefined;
12566
+ dp?: string | undefined;
12567
+ dq?: string | undefined;
12568
+ e?: string | undefined;
12569
+ ext?: boolean | undefined;
12570
+ k?: string | undefined;
12571
+ key_ops?: string[] | undefined;
12572
+ kid?: string | undefined;
12573
+ n?: string | undefined;
12574
+ p?: string | undefined;
12575
+ q?: string | undefined;
12576
+ qi?: string | undefined;
12577
+ use?: string | undefined;
12578
+ x?: string | undefined;
12579
+ y?: string | undefined;
12580
+ x5c?: string[] | undefined;
12581
+ x5t?: string | undefined;
12582
+ "x5t#S256"?: string | undefined;
12583
+ x5u?: string | undefined;
12584
+ }[];
12585
+ };
12586
+ application_type?: string | undefined;
12587
+ client_id?: string | undefined;
12588
+ client_name?: string | undefined;
12589
+ contacts?: string[] | undefined;
12590
+ presentation_definition?: {
12591
+ id: string;
12592
+ input_descriptors: {
12593
+ id: string;
12594
+ constraints: {
12595
+ fields?: {
12596
+ path: string[];
12597
+ id?: string | undefined;
12598
+ purpose?: string | undefined;
12599
+ name?: string | undefined;
12600
+ filter?: any;
12601
+ optional?: boolean | undefined;
12602
+ intent_to_retain?: boolean | undefined;
12603
+ }[] | undefined;
12604
+ limit_disclosure?: "required" | "preferred" | undefined;
12605
+ };
12606
+ name?: string | undefined;
12607
+ purpose?: string | undefined;
12608
+ format?: Record<string, any> | undefined;
12609
+ group?: string | undefined;
12610
+ }[];
12611
+ name?: string | undefined;
12612
+ purpose?: string | undefined;
12613
+ submission_requirements?: {
12614
+ rule: string;
12615
+ name?: string | undefined;
12616
+ purpose?: string | undefined;
12617
+ from?: string | undefined;
12618
+ from_nested?: {
12619
+ rule: string;
12620
+ from: string;
12621
+ name?: string | undefined;
12622
+ purpose?: string | undefined;
12623
+ }[] | undefined;
12624
+ count?: number | undefined;
12625
+ }[] | undefined;
12626
+ } | undefined;
12627
+ request_uris?: string[] | undefined;
12628
+ authorization_signed_response_alg?: string | undefined;
12629
+ authorization_encrypted_response_alg?: string | undefined;
12630
+ authorization_encrypted_response_enc?: string | undefined;
12631
+ } | undefined;
10503
12632
  wallet_relying_party?: {
10504
12633
  jwks: {
10505
12634
  keys: {
@@ -10597,12 +12726,12 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10597
12726
  revocation_endpoint: string;
10598
12727
  status_attestation_endpoint: string;
10599
12728
  credential_configurations_supported: Record<string, {
12729
+ format: "vc+sd-jwt" | "vc+mdoc-cbor";
12730
+ scope: string;
10600
12731
  display: {
10601
12732
  name: string;
10602
12733
  locale: string;
10603
12734
  }[];
10604
- format: "vc+sd-jwt" | "vc+mdoc-cbor";
10605
- scope: string;
10606
12735
  claims: Record<string, {
10607
12736
  value_type: string;
10608
12737
  display: {
@@ -10623,6 +12752,7 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10623
12752
  }>;
10624
12753
  };
10625
12754
  oauth_authorization_server: {
12755
+ request_object_signing_alg_values_supported: string[];
10626
12756
  jwks: {
10627
12757
  keys: {
10628
12758
  kty: "RSA" | "EC";
@@ -10661,8 +12791,80 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10661
12791
  response_modes_supported: string[];
10662
12792
  token_endpoint_auth_methods_supported: string[];
10663
12793
  token_endpoint_auth_signing_alg_values_supported: string[];
10664
- request_object_signing_alg_values_supported: string[];
10665
12794
  };
12795
+ openid_credential_verifier?: {
12796
+ jwks: {
12797
+ keys: {
12798
+ kty: "RSA" | "EC";
12799
+ alg?: string | undefined;
12800
+ crv?: string | undefined;
12801
+ d?: string | undefined;
12802
+ dp?: string | undefined;
12803
+ dq?: string | undefined;
12804
+ e?: string | undefined;
12805
+ ext?: boolean | undefined;
12806
+ k?: string | undefined;
12807
+ key_ops?: string[] | undefined;
12808
+ kid?: string | undefined;
12809
+ n?: string | undefined;
12810
+ p?: string | undefined;
12811
+ q?: string | undefined;
12812
+ qi?: string | undefined;
12813
+ use?: string | undefined;
12814
+ x?: string | undefined;
12815
+ y?: string | undefined;
12816
+ x5c?: string[] | undefined;
12817
+ x5t?: string | undefined;
12818
+ "x5t#S256"?: string | undefined;
12819
+ x5u?: string | undefined;
12820
+ }[];
12821
+ };
12822
+ application_type?: string | undefined;
12823
+ client_id?: string | undefined;
12824
+ client_name?: string | undefined;
12825
+ contacts?: string[] | undefined;
12826
+ presentation_definition?: {
12827
+ id: string;
12828
+ input_descriptors: {
12829
+ id: string;
12830
+ constraints: {
12831
+ fields?: {
12832
+ path: string[];
12833
+ id?: string | undefined;
12834
+ purpose?: string | undefined;
12835
+ name?: string | undefined;
12836
+ filter?: any;
12837
+ optional?: boolean | undefined;
12838
+ intent_to_retain?: boolean | undefined;
12839
+ }[] | undefined;
12840
+ limit_disclosure?: "required" | "preferred" | undefined;
12841
+ };
12842
+ name?: string | undefined;
12843
+ purpose?: string | undefined;
12844
+ format?: Record<string, any> | undefined;
12845
+ group?: string | undefined;
12846
+ }[];
12847
+ name?: string | undefined;
12848
+ purpose?: string | undefined;
12849
+ submission_requirements?: {
12850
+ rule: string;
12851
+ name?: string | undefined;
12852
+ purpose?: string | undefined;
12853
+ from?: string | undefined;
12854
+ from_nested?: {
12855
+ rule: string;
12856
+ from: string;
12857
+ name?: string | undefined;
12858
+ purpose?: string | undefined;
12859
+ }[] | undefined;
12860
+ count?: number | undefined;
12861
+ }[] | undefined;
12862
+ } | undefined;
12863
+ request_uris?: string[] | undefined;
12864
+ authorization_signed_response_alg?: string | undefined;
12865
+ authorization_encrypted_response_alg?: string | undefined;
12866
+ authorization_encrypted_response_enc?: string | undefined;
12867
+ } | undefined;
10666
12868
  wallet_relying_party?: {
10667
12869
  jwks: {
10668
12870
  keys: {
@@ -10760,12 +12962,12 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10760
12962
  revocation_endpoint: string;
10761
12963
  status_attestation_endpoint: string;
10762
12964
  credential_configurations_supported: Record<string, {
12965
+ format: "vc+sd-jwt" | "vc+mdoc-cbor";
12966
+ scope: string;
10763
12967
  display: {
10764
12968
  name: string;
10765
12969
  locale: string;
10766
12970
  }[];
10767
- format: "vc+sd-jwt" | "vc+mdoc-cbor";
10768
- scope: string;
10769
12971
  claims: Record<string, {
10770
12972
  value_type: string;
10771
12973
  display: {
@@ -10786,6 +12988,7 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10786
12988
  }>;
10787
12989
  };
10788
12990
  oauth_authorization_server: {
12991
+ request_object_signing_alg_values_supported: string[];
10789
12992
  jwks: {
10790
12993
  keys: {
10791
12994
  kty: "RSA" | "EC";
@@ -10824,8 +13027,80 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10824
13027
  response_modes_supported: string[];
10825
13028
  token_endpoint_auth_methods_supported: string[];
10826
13029
  token_endpoint_auth_signing_alg_values_supported: string[];
10827
- request_object_signing_alg_values_supported: string[];
10828
13030
  };
13031
+ openid_credential_verifier?: {
13032
+ jwks: {
13033
+ keys: {
13034
+ kty: "RSA" | "EC";
13035
+ alg?: string | undefined;
13036
+ crv?: string | undefined;
13037
+ d?: string | undefined;
13038
+ dp?: string | undefined;
13039
+ dq?: string | undefined;
13040
+ e?: string | undefined;
13041
+ ext?: boolean | undefined;
13042
+ k?: string | undefined;
13043
+ key_ops?: string[] | undefined;
13044
+ kid?: string | undefined;
13045
+ n?: string | undefined;
13046
+ p?: string | undefined;
13047
+ q?: string | undefined;
13048
+ qi?: string | undefined;
13049
+ use?: string | undefined;
13050
+ x?: string | undefined;
13051
+ y?: string | undefined;
13052
+ x5c?: string[] | undefined;
13053
+ x5t?: string | undefined;
13054
+ "x5t#S256"?: string | undefined;
13055
+ x5u?: string | undefined;
13056
+ }[];
13057
+ };
13058
+ application_type?: string | undefined;
13059
+ client_id?: string | undefined;
13060
+ client_name?: string | undefined;
13061
+ contacts?: string[] | undefined;
13062
+ presentation_definition?: {
13063
+ id: string;
13064
+ input_descriptors: {
13065
+ id: string;
13066
+ constraints: {
13067
+ fields?: {
13068
+ path: string[];
13069
+ id?: string | undefined;
13070
+ purpose?: string | undefined;
13071
+ name?: string | undefined;
13072
+ filter?: any;
13073
+ optional?: boolean | undefined;
13074
+ intent_to_retain?: boolean | undefined;
13075
+ }[] | undefined;
13076
+ limit_disclosure?: "required" | "preferred" | undefined;
13077
+ };
13078
+ name?: string | undefined;
13079
+ purpose?: string | undefined;
13080
+ format?: Record<string, any> | undefined;
13081
+ group?: string | undefined;
13082
+ }[];
13083
+ name?: string | undefined;
13084
+ purpose?: string | undefined;
13085
+ submission_requirements?: {
13086
+ rule: string;
13087
+ name?: string | undefined;
13088
+ purpose?: string | undefined;
13089
+ from?: string | undefined;
13090
+ from_nested?: {
13091
+ rule: string;
13092
+ from: string;
13093
+ name?: string | undefined;
13094
+ purpose?: string | undefined;
13095
+ }[] | undefined;
13096
+ count?: number | undefined;
13097
+ }[] | undefined;
13098
+ } | undefined;
13099
+ request_uris?: string[] | undefined;
13100
+ authorization_signed_response_alg?: string | undefined;
13101
+ authorization_encrypted_response_alg?: string | undefined;
13102
+ authorization_encrypted_response_enc?: string | undefined;
13103
+ } | undefined;
10829
13104
  wallet_relying_party?: {
10830
13105
  jwks: {
10831
13106
  keys: {
@@ -10925,12 +13200,12 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10925
13200
  revocation_endpoint: string;
10926
13201
  status_attestation_endpoint: string;
10927
13202
  credential_configurations_supported: Record<string, {
13203
+ format: "vc+sd-jwt" | "vc+mdoc-cbor";
13204
+ scope: string;
10928
13205
  display: {
10929
13206
  name: string;
10930
13207
  locale: string;
10931
13208
  }[];
10932
- format: "vc+sd-jwt" | "vc+mdoc-cbor";
10933
- scope: string;
10934
13209
  claims: Record<string, {
10935
13210
  value_type: string;
10936
13211
  display: {
@@ -10951,6 +13226,7 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10951
13226
  }>;
10952
13227
  };
10953
13228
  oauth_authorization_server: {
13229
+ request_object_signing_alg_values_supported: string[];
10954
13230
  jwks: {
10955
13231
  keys: {
10956
13232
  kty: "RSA" | "EC";
@@ -10989,8 +13265,80 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10989
13265
  response_modes_supported: string[];
10990
13266
  token_endpoint_auth_methods_supported: string[];
10991
13267
  token_endpoint_auth_signing_alg_values_supported: string[];
10992
- request_object_signing_alg_values_supported: string[];
10993
13268
  };
13269
+ openid_credential_verifier?: {
13270
+ jwks: {
13271
+ keys: {
13272
+ kty: "RSA" | "EC";
13273
+ alg?: string | undefined;
13274
+ crv?: string | undefined;
13275
+ d?: string | undefined;
13276
+ dp?: string | undefined;
13277
+ dq?: string | undefined;
13278
+ e?: string | undefined;
13279
+ ext?: boolean | undefined;
13280
+ k?: string | undefined;
13281
+ key_ops?: string[] | undefined;
13282
+ kid?: string | undefined;
13283
+ n?: string | undefined;
13284
+ p?: string | undefined;
13285
+ q?: string | undefined;
13286
+ qi?: string | undefined;
13287
+ use?: string | undefined;
13288
+ x?: string | undefined;
13289
+ y?: string | undefined;
13290
+ x5c?: string[] | undefined;
13291
+ x5t?: string | undefined;
13292
+ "x5t#S256"?: string | undefined;
13293
+ x5u?: string | undefined;
13294
+ }[];
13295
+ };
13296
+ application_type?: string | undefined;
13297
+ client_id?: string | undefined;
13298
+ client_name?: string | undefined;
13299
+ contacts?: string[] | undefined;
13300
+ presentation_definition?: {
13301
+ id: string;
13302
+ input_descriptors: {
13303
+ id: string;
13304
+ constraints: {
13305
+ fields?: {
13306
+ path: string[];
13307
+ id?: string | undefined;
13308
+ purpose?: string | undefined;
13309
+ name?: string | undefined;
13310
+ filter?: any;
13311
+ optional?: boolean | undefined;
13312
+ intent_to_retain?: boolean | undefined;
13313
+ }[] | undefined;
13314
+ limit_disclosure?: "required" | "preferred" | undefined;
13315
+ };
13316
+ name?: string | undefined;
13317
+ purpose?: string | undefined;
13318
+ format?: Record<string, any> | undefined;
13319
+ group?: string | undefined;
13320
+ }[];
13321
+ name?: string | undefined;
13322
+ purpose?: string | undefined;
13323
+ submission_requirements?: {
13324
+ rule: string;
13325
+ name?: string | undefined;
13326
+ purpose?: string | undefined;
13327
+ from?: string | undefined;
13328
+ from_nested?: {
13329
+ rule: string;
13330
+ from: string;
13331
+ name?: string | undefined;
13332
+ purpose?: string | undefined;
13333
+ }[] | undefined;
13334
+ count?: number | undefined;
13335
+ }[] | undefined;
13336
+ } | undefined;
13337
+ request_uris?: string[] | undefined;
13338
+ authorization_signed_response_alg?: string | undefined;
13339
+ authorization_encrypted_response_alg?: string | undefined;
13340
+ authorization_encrypted_response_enc?: string | undefined;
13341
+ } | undefined;
10994
13342
  wallet_relying_party?: {
10995
13343
  jwks: {
10996
13344
  keys: {
@@ -11090,12 +13438,12 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
11090
13438
  revocation_endpoint: string;
11091
13439
  status_attestation_endpoint: string;
11092
13440
  credential_configurations_supported: Record<string, {
13441
+ format: "vc+sd-jwt" | "vc+mdoc-cbor";
13442
+ scope: string;
11093
13443
  display: {
11094
13444
  name: string;
11095
13445
  locale: string;
11096
13446
  }[];
11097
- format: "vc+sd-jwt" | "vc+mdoc-cbor";
11098
- scope: string;
11099
13447
  claims: Record<string, {
11100
13448
  value_type: string;
11101
13449
  display: {
@@ -11116,6 +13464,7 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
11116
13464
  }>;
11117
13465
  };
11118
13466
  oauth_authorization_server: {
13467
+ request_object_signing_alg_values_supported: string[];
11119
13468
  jwks: {
11120
13469
  keys: {
11121
13470
  kty: "RSA" | "EC";
@@ -11154,8 +13503,80 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
11154
13503
  response_modes_supported: string[];
11155
13504
  token_endpoint_auth_methods_supported: string[];
11156
13505
  token_endpoint_auth_signing_alg_values_supported: string[];
11157
- request_object_signing_alg_values_supported: string[];
11158
13506
  };
13507
+ openid_credential_verifier?: {
13508
+ jwks: {
13509
+ keys: {
13510
+ kty: "RSA" | "EC";
13511
+ alg?: string | undefined;
13512
+ crv?: string | undefined;
13513
+ d?: string | undefined;
13514
+ dp?: string | undefined;
13515
+ dq?: string | undefined;
13516
+ e?: string | undefined;
13517
+ ext?: boolean | undefined;
13518
+ k?: string | undefined;
13519
+ key_ops?: string[] | undefined;
13520
+ kid?: string | undefined;
13521
+ n?: string | undefined;
13522
+ p?: string | undefined;
13523
+ q?: string | undefined;
13524
+ qi?: string | undefined;
13525
+ use?: string | undefined;
13526
+ x?: string | undefined;
13527
+ y?: string | undefined;
13528
+ x5c?: string[] | undefined;
13529
+ x5t?: string | undefined;
13530
+ "x5t#S256"?: string | undefined;
13531
+ x5u?: string | undefined;
13532
+ }[];
13533
+ };
13534
+ application_type?: string | undefined;
13535
+ client_id?: string | undefined;
13536
+ client_name?: string | undefined;
13537
+ contacts?: string[] | undefined;
13538
+ presentation_definition?: {
13539
+ id: string;
13540
+ input_descriptors: {
13541
+ id: string;
13542
+ constraints: {
13543
+ fields?: {
13544
+ path: string[];
13545
+ id?: string | undefined;
13546
+ purpose?: string | undefined;
13547
+ name?: string | undefined;
13548
+ filter?: any;
13549
+ optional?: boolean | undefined;
13550
+ intent_to_retain?: boolean | undefined;
13551
+ }[] | undefined;
13552
+ limit_disclosure?: "required" | "preferred" | undefined;
13553
+ };
13554
+ name?: string | undefined;
13555
+ purpose?: string | undefined;
13556
+ format?: Record<string, any> | undefined;
13557
+ group?: string | undefined;
13558
+ }[];
13559
+ name?: string | undefined;
13560
+ purpose?: string | undefined;
13561
+ submission_requirements?: {
13562
+ rule: string;
13563
+ name?: string | undefined;
13564
+ purpose?: string | undefined;
13565
+ from?: string | undefined;
13566
+ from_nested?: {
13567
+ rule: string;
13568
+ from: string;
13569
+ name?: string | undefined;
13570
+ purpose?: string | undefined;
13571
+ }[] | undefined;
13572
+ count?: number | undefined;
13573
+ }[] | undefined;
13574
+ } | undefined;
13575
+ request_uris?: string[] | undefined;
13576
+ authorization_signed_response_alg?: string | undefined;
13577
+ authorization_encrypted_response_alg?: string | undefined;
13578
+ authorization_encrypted_response_enc?: string | undefined;
13579
+ } | undefined;
11159
13580
  wallet_relying_party?: {
11160
13581
  jwks: {
11161
13582
  keys: {
@@ -13037,7 +15458,7 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
13037
15458
  }>, z.ZodObject<{
13038
15459
  payload: z.ZodObject<{
13039
15460
  metadata: z.ZodObject<{
13040
- wallet_relying_party: z.ZodObject<{
15461
+ openid_credential_verifier: z.ZodObject<{
13041
15462
  application_type: z.ZodOptional<z.ZodString>;
13042
15463
  client_id: z.ZodOptional<z.ZodString>;
13043
15464
  client_name: z.ZodOptional<z.ZodString>;
@@ -13164,6 +15585,227 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
13164
15585
  }[];
13165
15586
  }>;
13166
15587
  contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
15588
+ presentation_definition: z.ZodOptional<z.ZodObject<{
15589
+ id: z.ZodString;
15590
+ name: z.ZodOptional<z.ZodString>;
15591
+ purpose: z.ZodOptional<z.ZodString>;
15592
+ input_descriptors: z.ZodArray<z.ZodObject<{
15593
+ id: z.ZodString;
15594
+ name: z.ZodOptional<z.ZodString>;
15595
+ purpose: z.ZodOptional<z.ZodString>;
15596
+ format: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
15597
+ constraints: z.ZodObject<{
15598
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
15599
+ path: z.ZodArray<z.ZodString, "many">;
15600
+ id: z.ZodOptional<z.ZodString>;
15601
+ purpose: z.ZodOptional<z.ZodString>;
15602
+ name: z.ZodOptional<z.ZodString>;
15603
+ filter: z.ZodOptional<z.ZodAny>;
15604
+ optional: z.ZodOptional<z.ZodBoolean>;
15605
+ intent_to_retain: z.ZodOptional<z.ZodBoolean>;
15606
+ }, "strip", z.ZodTypeAny, {
15607
+ path: string[];
15608
+ id?: string | undefined;
15609
+ purpose?: string | undefined;
15610
+ name?: string | undefined;
15611
+ filter?: any;
15612
+ optional?: boolean | undefined;
15613
+ intent_to_retain?: boolean | undefined;
15614
+ }, {
15615
+ path: string[];
15616
+ id?: string | undefined;
15617
+ purpose?: string | undefined;
15618
+ name?: string | undefined;
15619
+ filter?: any;
15620
+ optional?: boolean | undefined;
15621
+ intent_to_retain?: boolean | undefined;
15622
+ }>, "many">>;
15623
+ limit_disclosure: z.ZodOptional<z.ZodEnum<["required", "preferred"]>>;
15624
+ }, "strip", z.ZodTypeAny, {
15625
+ fields?: {
15626
+ path: string[];
15627
+ id?: string | undefined;
15628
+ purpose?: string | undefined;
15629
+ name?: string | undefined;
15630
+ filter?: any;
15631
+ optional?: boolean | undefined;
15632
+ intent_to_retain?: boolean | undefined;
15633
+ }[] | undefined;
15634
+ limit_disclosure?: "required" | "preferred" | undefined;
15635
+ }, {
15636
+ fields?: {
15637
+ path: string[];
15638
+ id?: string | undefined;
15639
+ purpose?: string | undefined;
15640
+ name?: string | undefined;
15641
+ filter?: any;
15642
+ optional?: boolean | undefined;
15643
+ intent_to_retain?: boolean | undefined;
15644
+ }[] | undefined;
15645
+ limit_disclosure?: "required" | "preferred" | undefined;
15646
+ }>;
15647
+ group: z.ZodOptional<z.ZodString>;
15648
+ }, "strip", z.ZodTypeAny, {
15649
+ id: string;
15650
+ constraints: {
15651
+ fields?: {
15652
+ path: string[];
15653
+ id?: string | undefined;
15654
+ purpose?: string | undefined;
15655
+ name?: string | undefined;
15656
+ filter?: any;
15657
+ optional?: boolean | undefined;
15658
+ intent_to_retain?: boolean | undefined;
15659
+ }[] | undefined;
15660
+ limit_disclosure?: "required" | "preferred" | undefined;
15661
+ };
15662
+ name?: string | undefined;
15663
+ purpose?: string | undefined;
15664
+ format?: Record<string, any> | undefined;
15665
+ group?: string | undefined;
15666
+ }, {
15667
+ id: string;
15668
+ constraints: {
15669
+ fields?: {
15670
+ path: string[];
15671
+ id?: string | undefined;
15672
+ purpose?: string | undefined;
15673
+ name?: string | undefined;
15674
+ filter?: any;
15675
+ optional?: boolean | undefined;
15676
+ intent_to_retain?: boolean | undefined;
15677
+ }[] | undefined;
15678
+ limit_disclosure?: "required" | "preferred" | undefined;
15679
+ };
15680
+ name?: string | undefined;
15681
+ purpose?: string | undefined;
15682
+ format?: Record<string, any> | undefined;
15683
+ group?: string | undefined;
15684
+ }>, "many">;
15685
+ submission_requirements: z.ZodOptional<z.ZodArray<z.ZodObject<{
15686
+ name: z.ZodOptional<z.ZodString>;
15687
+ purpose: z.ZodOptional<z.ZodString>;
15688
+ rule: z.ZodString;
15689
+ from: z.ZodOptional<z.ZodString>;
15690
+ from_nested: z.ZodOptional<z.ZodArray<z.ZodObject<{
15691
+ name: z.ZodOptional<z.ZodString>;
15692
+ purpose: z.ZodOptional<z.ZodString>;
15693
+ rule: z.ZodString;
15694
+ from: z.ZodString;
15695
+ }, "strip", z.ZodTypeAny, {
15696
+ rule: string;
15697
+ from: string;
15698
+ name?: string | undefined;
15699
+ purpose?: string | undefined;
15700
+ }, {
15701
+ rule: string;
15702
+ from: string;
15703
+ name?: string | undefined;
15704
+ purpose?: string | undefined;
15705
+ }>, "many">>;
15706
+ count: z.ZodOptional<z.ZodNumber>;
15707
+ }, "strip", z.ZodTypeAny, {
15708
+ rule: string;
15709
+ name?: string | undefined;
15710
+ purpose?: string | undefined;
15711
+ from?: string | undefined;
15712
+ from_nested?: {
15713
+ rule: string;
15714
+ from: string;
15715
+ name?: string | undefined;
15716
+ purpose?: string | undefined;
15717
+ }[] | undefined;
15718
+ count?: number | undefined;
15719
+ }, {
15720
+ rule: string;
15721
+ name?: string | undefined;
15722
+ purpose?: string | undefined;
15723
+ from?: string | undefined;
15724
+ from_nested?: {
15725
+ rule: string;
15726
+ from: string;
15727
+ name?: string | undefined;
15728
+ purpose?: string | undefined;
15729
+ }[] | undefined;
15730
+ count?: number | undefined;
15731
+ }>, "many">>;
15732
+ }, "strip", z.ZodTypeAny, {
15733
+ id: string;
15734
+ input_descriptors: {
15735
+ id: string;
15736
+ constraints: {
15737
+ fields?: {
15738
+ path: string[];
15739
+ id?: string | undefined;
15740
+ purpose?: string | undefined;
15741
+ name?: string | undefined;
15742
+ filter?: any;
15743
+ optional?: boolean | undefined;
15744
+ intent_to_retain?: boolean | undefined;
15745
+ }[] | undefined;
15746
+ limit_disclosure?: "required" | "preferred" | undefined;
15747
+ };
15748
+ name?: string | undefined;
15749
+ purpose?: string | undefined;
15750
+ format?: Record<string, any> | undefined;
15751
+ group?: string | undefined;
15752
+ }[];
15753
+ name?: string | undefined;
15754
+ purpose?: string | undefined;
15755
+ submission_requirements?: {
15756
+ rule: string;
15757
+ name?: string | undefined;
15758
+ purpose?: string | undefined;
15759
+ from?: string | undefined;
15760
+ from_nested?: {
15761
+ rule: string;
15762
+ from: string;
15763
+ name?: string | undefined;
15764
+ purpose?: string | undefined;
15765
+ }[] | undefined;
15766
+ count?: number | undefined;
15767
+ }[] | undefined;
15768
+ }, {
15769
+ id: string;
15770
+ input_descriptors: {
15771
+ id: string;
15772
+ constraints: {
15773
+ fields?: {
15774
+ path: string[];
15775
+ id?: string | undefined;
15776
+ purpose?: string | undefined;
15777
+ name?: string | undefined;
15778
+ filter?: any;
15779
+ optional?: boolean | undefined;
15780
+ intent_to_retain?: boolean | undefined;
15781
+ }[] | undefined;
15782
+ limit_disclosure?: "required" | "preferred" | undefined;
15783
+ };
15784
+ name?: string | undefined;
15785
+ purpose?: string | undefined;
15786
+ format?: Record<string, any> | undefined;
15787
+ group?: string | undefined;
15788
+ }[];
15789
+ name?: string | undefined;
15790
+ purpose?: string | undefined;
15791
+ submission_requirements?: {
15792
+ rule: string;
15793
+ name?: string | undefined;
15794
+ purpose?: string | undefined;
15795
+ from?: string | undefined;
15796
+ from_nested?: {
15797
+ rule: string;
15798
+ from: string;
15799
+ name?: string | undefined;
15800
+ purpose?: string | undefined;
15801
+ }[] | undefined;
15802
+ count?: number | undefined;
15803
+ }[] | undefined;
15804
+ }>>;
15805
+ request_uris: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
15806
+ authorization_signed_response_alg: z.ZodOptional<z.ZodString>;
15807
+ authorization_encrypted_response_alg: z.ZodOptional<z.ZodString>;
15808
+ authorization_encrypted_response_enc: z.ZodOptional<z.ZodString>;
13167
15809
  }, "strip", z.ZodTypeAny, {
13168
15810
  jwks: {
13169
15811
  keys: {
@@ -13195,6 +15837,47 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
13195
15837
  client_id?: string | undefined;
13196
15838
  client_name?: string | undefined;
13197
15839
  contacts?: string[] | undefined;
15840
+ presentation_definition?: {
15841
+ id: string;
15842
+ input_descriptors: {
15843
+ id: string;
15844
+ constraints: {
15845
+ fields?: {
15846
+ path: string[];
15847
+ id?: string | undefined;
15848
+ purpose?: string | undefined;
15849
+ name?: string | undefined;
15850
+ filter?: any;
15851
+ optional?: boolean | undefined;
15852
+ intent_to_retain?: boolean | undefined;
15853
+ }[] | undefined;
15854
+ limit_disclosure?: "required" | "preferred" | undefined;
15855
+ };
15856
+ name?: string | undefined;
15857
+ purpose?: string | undefined;
15858
+ format?: Record<string, any> | undefined;
15859
+ group?: string | undefined;
15860
+ }[];
15861
+ name?: string | undefined;
15862
+ purpose?: string | undefined;
15863
+ submission_requirements?: {
15864
+ rule: string;
15865
+ name?: string | undefined;
15866
+ purpose?: string | undefined;
15867
+ from?: string | undefined;
15868
+ from_nested?: {
15869
+ rule: string;
15870
+ from: string;
15871
+ name?: string | undefined;
15872
+ purpose?: string | undefined;
15873
+ }[] | undefined;
15874
+ count?: number | undefined;
15875
+ }[] | undefined;
15876
+ } | undefined;
15877
+ request_uris?: string[] | undefined;
15878
+ authorization_signed_response_alg?: string | undefined;
15879
+ authorization_encrypted_response_alg?: string | undefined;
15880
+ authorization_encrypted_response_enc?: string | undefined;
13198
15881
  }, {
13199
15882
  jwks: {
13200
15883
  keys: {
@@ -13226,9 +15909,50 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
13226
15909
  client_id?: string | undefined;
13227
15910
  client_name?: string | undefined;
13228
15911
  contacts?: string[] | undefined;
15912
+ presentation_definition?: {
15913
+ id: string;
15914
+ input_descriptors: {
15915
+ id: string;
15916
+ constraints: {
15917
+ fields?: {
15918
+ path: string[];
15919
+ id?: string | undefined;
15920
+ purpose?: string | undefined;
15921
+ name?: string | undefined;
15922
+ filter?: any;
15923
+ optional?: boolean | undefined;
15924
+ intent_to_retain?: boolean | undefined;
15925
+ }[] | undefined;
15926
+ limit_disclosure?: "required" | "preferred" | undefined;
15927
+ };
15928
+ name?: string | undefined;
15929
+ purpose?: string | undefined;
15930
+ format?: Record<string, any> | undefined;
15931
+ group?: string | undefined;
15932
+ }[];
15933
+ name?: string | undefined;
15934
+ purpose?: string | undefined;
15935
+ submission_requirements?: {
15936
+ rule: string;
15937
+ name?: string | undefined;
15938
+ purpose?: string | undefined;
15939
+ from?: string | undefined;
15940
+ from_nested?: {
15941
+ rule: string;
15942
+ from: string;
15943
+ name?: string | undefined;
15944
+ purpose?: string | undefined;
15945
+ }[] | undefined;
15946
+ count?: number | undefined;
15947
+ }[] | undefined;
15948
+ } | undefined;
15949
+ request_uris?: string[] | undefined;
15950
+ authorization_signed_response_alg?: string | undefined;
15951
+ authorization_encrypted_response_alg?: string | undefined;
15952
+ authorization_encrypted_response_enc?: string | undefined;
13229
15953
  }>;
13230
15954
  }, "strip", z.ZodTypeAny, {
13231
- wallet_relying_party: {
15955
+ openid_credential_verifier: {
13232
15956
  jwks: {
13233
15957
  keys: {
13234
15958
  kty: "RSA" | "EC";
@@ -13259,9 +15983,50 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
13259
15983
  client_id?: string | undefined;
13260
15984
  client_name?: string | undefined;
13261
15985
  contacts?: string[] | undefined;
15986
+ presentation_definition?: {
15987
+ id: string;
15988
+ input_descriptors: {
15989
+ id: string;
15990
+ constraints: {
15991
+ fields?: {
15992
+ path: string[];
15993
+ id?: string | undefined;
15994
+ purpose?: string | undefined;
15995
+ name?: string | undefined;
15996
+ filter?: any;
15997
+ optional?: boolean | undefined;
15998
+ intent_to_retain?: boolean | undefined;
15999
+ }[] | undefined;
16000
+ limit_disclosure?: "required" | "preferred" | undefined;
16001
+ };
16002
+ name?: string | undefined;
16003
+ purpose?: string | undefined;
16004
+ format?: Record<string, any> | undefined;
16005
+ group?: string | undefined;
16006
+ }[];
16007
+ name?: string | undefined;
16008
+ purpose?: string | undefined;
16009
+ submission_requirements?: {
16010
+ rule: string;
16011
+ name?: string | undefined;
16012
+ purpose?: string | undefined;
16013
+ from?: string | undefined;
16014
+ from_nested?: {
16015
+ rule: string;
16016
+ from: string;
16017
+ name?: string | undefined;
16018
+ purpose?: string | undefined;
16019
+ }[] | undefined;
16020
+ count?: number | undefined;
16021
+ }[] | undefined;
16022
+ } | undefined;
16023
+ request_uris?: string[] | undefined;
16024
+ authorization_signed_response_alg?: string | undefined;
16025
+ authorization_encrypted_response_alg?: string | undefined;
16026
+ authorization_encrypted_response_enc?: string | undefined;
13262
16027
  };
13263
16028
  }, {
13264
- wallet_relying_party: {
16029
+ openid_credential_verifier: {
13265
16030
  jwks: {
13266
16031
  keys: {
13267
16032
  kty: "RSA" | "EC";
@@ -13292,11 +16057,52 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
13292
16057
  client_id?: string | undefined;
13293
16058
  client_name?: string | undefined;
13294
16059
  contacts?: string[] | undefined;
16060
+ presentation_definition?: {
16061
+ id: string;
16062
+ input_descriptors: {
16063
+ id: string;
16064
+ constraints: {
16065
+ fields?: {
16066
+ path: string[];
16067
+ id?: string | undefined;
16068
+ purpose?: string | undefined;
16069
+ name?: string | undefined;
16070
+ filter?: any;
16071
+ optional?: boolean | undefined;
16072
+ intent_to_retain?: boolean | undefined;
16073
+ }[] | undefined;
16074
+ limit_disclosure?: "required" | "preferred" | undefined;
16075
+ };
16076
+ name?: string | undefined;
16077
+ purpose?: string | undefined;
16078
+ format?: Record<string, any> | undefined;
16079
+ group?: string | undefined;
16080
+ }[];
16081
+ name?: string | undefined;
16082
+ purpose?: string | undefined;
16083
+ submission_requirements?: {
16084
+ rule: string;
16085
+ name?: string | undefined;
16086
+ purpose?: string | undefined;
16087
+ from?: string | undefined;
16088
+ from_nested?: {
16089
+ rule: string;
16090
+ from: string;
16091
+ name?: string | undefined;
16092
+ purpose?: string | undefined;
16093
+ }[] | undefined;
16094
+ count?: number | undefined;
16095
+ }[] | undefined;
16096
+ } | undefined;
16097
+ request_uris?: string[] | undefined;
16098
+ authorization_signed_response_alg?: string | undefined;
16099
+ authorization_encrypted_response_alg?: string | undefined;
16100
+ authorization_encrypted_response_enc?: string | undefined;
13295
16101
  };
13296
16102
  }>;
13297
16103
  }, "strip", z.ZodTypeAny, {
13298
16104
  metadata: {
13299
- wallet_relying_party: {
16105
+ openid_credential_verifier: {
13300
16106
  jwks: {
13301
16107
  keys: {
13302
16108
  kty: "RSA" | "EC";
@@ -13327,11 +16133,52 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
13327
16133
  client_id?: string | undefined;
13328
16134
  client_name?: string | undefined;
13329
16135
  contacts?: string[] | undefined;
16136
+ presentation_definition?: {
16137
+ id: string;
16138
+ input_descriptors: {
16139
+ id: string;
16140
+ constraints: {
16141
+ fields?: {
16142
+ path: string[];
16143
+ id?: string | undefined;
16144
+ purpose?: string | undefined;
16145
+ name?: string | undefined;
16146
+ filter?: any;
16147
+ optional?: boolean | undefined;
16148
+ intent_to_retain?: boolean | undefined;
16149
+ }[] | undefined;
16150
+ limit_disclosure?: "required" | "preferred" | undefined;
16151
+ };
16152
+ name?: string | undefined;
16153
+ purpose?: string | undefined;
16154
+ format?: Record<string, any> | undefined;
16155
+ group?: string | undefined;
16156
+ }[];
16157
+ name?: string | undefined;
16158
+ purpose?: string | undefined;
16159
+ submission_requirements?: {
16160
+ rule: string;
16161
+ name?: string | undefined;
16162
+ purpose?: string | undefined;
16163
+ from?: string | undefined;
16164
+ from_nested?: {
16165
+ rule: string;
16166
+ from: string;
16167
+ name?: string | undefined;
16168
+ purpose?: string | undefined;
16169
+ }[] | undefined;
16170
+ count?: number | undefined;
16171
+ }[] | undefined;
16172
+ } | undefined;
16173
+ request_uris?: string[] | undefined;
16174
+ authorization_signed_response_alg?: string | undefined;
16175
+ authorization_encrypted_response_alg?: string | undefined;
16176
+ authorization_encrypted_response_enc?: string | undefined;
13330
16177
  };
13331
16178
  };
13332
16179
  }, {
13333
16180
  metadata: {
13334
- wallet_relying_party: {
16181
+ openid_credential_verifier: {
13335
16182
  jwks: {
13336
16183
  keys: {
13337
16184
  kty: "RSA" | "EC";
@@ -13362,13 +16209,54 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
13362
16209
  client_id?: string | undefined;
13363
16210
  client_name?: string | undefined;
13364
16211
  contacts?: string[] | undefined;
16212
+ presentation_definition?: {
16213
+ id: string;
16214
+ input_descriptors: {
16215
+ id: string;
16216
+ constraints: {
16217
+ fields?: {
16218
+ path: string[];
16219
+ id?: string | undefined;
16220
+ purpose?: string | undefined;
16221
+ name?: string | undefined;
16222
+ filter?: any;
16223
+ optional?: boolean | undefined;
16224
+ intent_to_retain?: boolean | undefined;
16225
+ }[] | undefined;
16226
+ limit_disclosure?: "required" | "preferred" | undefined;
16227
+ };
16228
+ name?: string | undefined;
16229
+ purpose?: string | undefined;
16230
+ format?: Record<string, any> | undefined;
16231
+ group?: string | undefined;
16232
+ }[];
16233
+ name?: string | undefined;
16234
+ purpose?: string | undefined;
16235
+ submission_requirements?: {
16236
+ rule: string;
16237
+ name?: string | undefined;
16238
+ purpose?: string | undefined;
16239
+ from?: string | undefined;
16240
+ from_nested?: {
16241
+ rule: string;
16242
+ from: string;
16243
+ name?: string | undefined;
16244
+ purpose?: string | undefined;
16245
+ }[] | undefined;
16246
+ count?: number | undefined;
16247
+ }[] | undefined;
16248
+ } | undefined;
16249
+ request_uris?: string[] | undefined;
16250
+ authorization_signed_response_alg?: string | undefined;
16251
+ authorization_encrypted_response_alg?: string | undefined;
16252
+ authorization_encrypted_response_enc?: string | undefined;
13365
16253
  };
13366
16254
  };
13367
16255
  }>;
13368
16256
  }, "strip", z.ZodTypeAny, {
13369
16257
  payload: {
13370
16258
  metadata: {
13371
- wallet_relying_party: {
16259
+ openid_credential_verifier: {
13372
16260
  jwks: {
13373
16261
  keys: {
13374
16262
  kty: "RSA" | "EC";
@@ -13399,13 +16287,54 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
13399
16287
  client_id?: string | undefined;
13400
16288
  client_name?: string | undefined;
13401
16289
  contacts?: string[] | undefined;
16290
+ presentation_definition?: {
16291
+ id: string;
16292
+ input_descriptors: {
16293
+ id: string;
16294
+ constraints: {
16295
+ fields?: {
16296
+ path: string[];
16297
+ id?: string | undefined;
16298
+ purpose?: string | undefined;
16299
+ name?: string | undefined;
16300
+ filter?: any;
16301
+ optional?: boolean | undefined;
16302
+ intent_to_retain?: boolean | undefined;
16303
+ }[] | undefined;
16304
+ limit_disclosure?: "required" | "preferred" | undefined;
16305
+ };
16306
+ name?: string | undefined;
16307
+ purpose?: string | undefined;
16308
+ format?: Record<string, any> | undefined;
16309
+ group?: string | undefined;
16310
+ }[];
16311
+ name?: string | undefined;
16312
+ purpose?: string | undefined;
16313
+ submission_requirements?: {
16314
+ rule: string;
16315
+ name?: string | undefined;
16316
+ purpose?: string | undefined;
16317
+ from?: string | undefined;
16318
+ from_nested?: {
16319
+ rule: string;
16320
+ from: string;
16321
+ name?: string | undefined;
16322
+ purpose?: string | undefined;
16323
+ }[] | undefined;
16324
+ count?: number | undefined;
16325
+ }[] | undefined;
16326
+ } | undefined;
16327
+ request_uris?: string[] | undefined;
16328
+ authorization_signed_response_alg?: string | undefined;
16329
+ authorization_encrypted_response_alg?: string | undefined;
16330
+ authorization_encrypted_response_enc?: string | undefined;
13402
16331
  };
13403
16332
  };
13404
16333
  };
13405
16334
  }, {
13406
16335
  payload: {
13407
16336
  metadata: {
13408
- wallet_relying_party: {
16337
+ openid_credential_verifier: {
13409
16338
  jwks: {
13410
16339
  keys: {
13411
16340
  kty: "RSA" | "EC";
@@ -13436,6 +16365,47 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
13436
16365
  client_id?: string | undefined;
13437
16366
  client_name?: string | undefined;
13438
16367
  contacts?: string[] | undefined;
16368
+ presentation_definition?: {
16369
+ id: string;
16370
+ input_descriptors: {
16371
+ id: string;
16372
+ constraints: {
16373
+ fields?: {
16374
+ path: string[];
16375
+ id?: string | undefined;
16376
+ purpose?: string | undefined;
16377
+ name?: string | undefined;
16378
+ filter?: any;
16379
+ optional?: boolean | undefined;
16380
+ intent_to_retain?: boolean | undefined;
16381
+ }[] | undefined;
16382
+ limit_disclosure?: "required" | "preferred" | undefined;
16383
+ };
16384
+ name?: string | undefined;
16385
+ purpose?: string | undefined;
16386
+ format?: Record<string, any> | undefined;
16387
+ group?: string | undefined;
16388
+ }[];
16389
+ name?: string | undefined;
16390
+ purpose?: string | undefined;
16391
+ submission_requirements?: {
16392
+ rule: string;
16393
+ name?: string | undefined;
16394
+ purpose?: string | undefined;
16395
+ from?: string | undefined;
16396
+ from_nested?: {
16397
+ rule: string;
16398
+ from: string;
16399
+ name?: string | undefined;
16400
+ purpose?: string | undefined;
16401
+ }[] | undefined;
16402
+ count?: number | undefined;
16403
+ }[] | undefined;
16404
+ } | undefined;
16405
+ request_uris?: string[] | undefined;
16406
+ authorization_signed_response_alg?: string | undefined;
16407
+ authorization_encrypted_response_alg?: string | undefined;
16408
+ authorization_encrypted_response_enc?: string | undefined;
13439
16409
  };
13440
16410
  };
13441
16411
  };