@pagopa/io-react-native-wallet 0.14.0 → 0.15.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/lib/commonjs/cie/manager.js +4 -4
  2. package/lib/commonjs/cie/manager.js.map +1 -1
  3. package/lib/commonjs/credential/issuance/04-complete-user-authorization.js +142 -21
  4. package/lib/commonjs/credential/issuance/04-complete-user-authorization.js.map +1 -1
  5. package/lib/commonjs/credential/issuance/07-verify-and-parse-credential.js +12 -4
  6. package/lib/commonjs/credential/issuance/07-verify-and-parse-credential.js.map +1 -1
  7. package/lib/commonjs/credential/issuance/index.js +14 -2
  8. package/lib/commonjs/credential/issuance/index.js.map +1 -1
  9. package/lib/commonjs/credential/issuance/types.js +9 -1
  10. package/lib/commonjs/credential/issuance/types.js.map +1 -1
  11. package/lib/commonjs/trust/types.js +5 -3
  12. package/lib/commonjs/trust/types.js.map +1 -1
  13. package/lib/commonjs/utils/decoder.js +28 -19
  14. package/lib/commonjs/utils/decoder.js.map +1 -1
  15. package/lib/module/cie/manager.js +4 -4
  16. package/lib/module/cie/manager.js.map +1 -1
  17. package/lib/module/credential/issuance/04-complete-user-authorization.js +140 -20
  18. package/lib/module/credential/issuance/04-complete-user-authorization.js.map +1 -1
  19. package/lib/module/credential/issuance/07-verify-and-parse-credential.js +12 -4
  20. package/lib/module/credential/issuance/07-verify-and-parse-credential.js.map +1 -1
  21. package/lib/module/credential/issuance/index.js +2 -2
  22. package/lib/module/credential/issuance/index.js.map +1 -1
  23. package/lib/module/credential/issuance/types.js +7 -0
  24. package/lib/module/credential/issuance/types.js.map +1 -1
  25. package/lib/module/trust/types.js +5 -3
  26. package/lib/module/trust/types.js.map +1 -1
  27. package/lib/module/utils/decoder.js +28 -19
  28. package/lib/module/utils/decoder.js.map +1 -1
  29. package/lib/typescript/credential/issuance/04-complete-user-authorization.d.ts +48 -6
  30. package/lib/typescript/credential/issuance/04-complete-user-authorization.d.ts.map +1 -1
  31. package/lib/typescript/credential/issuance/07-verify-and-parse-credential.d.ts +1 -0
  32. package/lib/typescript/credential/issuance/07-verify-and-parse-credential.d.ts.map +1 -1
  33. package/lib/typescript/credential/issuance/index.d.ts +3 -3
  34. package/lib/typescript/credential/issuance/index.d.ts.map +1 -1
  35. package/lib/typescript/credential/issuance/types.d.ts +10 -0
  36. package/lib/typescript/credential/issuance/types.d.ts.map +1 -1
  37. package/lib/typescript/trust/index.d.ts +14 -14
  38. package/lib/typescript/trust/types.d.ts +142 -142
  39. package/lib/typescript/trust/types.d.ts.map +1 -1
  40. package/lib/typescript/utils/decoder.d.ts.map +1 -1
  41. package/package.json +1 -1
  42. package/src/cie/manager.ts +4 -4
  43. package/src/credential/issuance/04-complete-user-authorization.ts +212 -20
  44. package/src/credential/issuance/07-verify-and-parse-credential.ts +14 -6
  45. package/src/credential/issuance/index.ts +10 -2
  46. package/src/credential/issuance/types.ts +7 -0
  47. package/src/trust/types.ts +8 -6
  48. package/src/utils/decoder.ts +28 -19
@@ -2138,7 +2138,7 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2138
2138
  display: z.ZodArray<z.ZodObject<{
2139
2139
  name: z.ZodString;
2140
2140
  locale: z.ZodString;
2141
- logo: z.ZodObject<{
2141
+ logo: z.ZodOptional<z.ZodObject<{
2142
2142
  url: z.ZodString;
2143
2143
  alt_text: z.ZodString;
2144
2144
  }, "strip", z.ZodTypeAny, {
@@ -2147,21 +2147,21 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2147
2147
  }, {
2148
2148
  url: string;
2149
2149
  alt_text: string;
2150
- }>;
2150
+ }>>;
2151
2151
  }, "strip", z.ZodTypeAny, {
2152
2152
  name: string;
2153
2153
  locale: string;
2154
- logo: {
2154
+ logo?: {
2155
2155
  url: string;
2156
2156
  alt_text: string;
2157
- };
2157
+ } | undefined;
2158
2158
  }, {
2159
2159
  name: string;
2160
2160
  locale: string;
2161
- logo: {
2161
+ logo?: {
2162
2162
  url: string;
2163
2163
  alt_text: string;
2164
- };
2164
+ } | undefined;
2165
2165
  }>, "many">;
2166
2166
  credential_configurations_supported: z.ZodRecord<z.ZodString, z.ZodObject<{
2167
2167
  format: z.ZodUnion<[z.ZodLiteral<"vc+sd-jwt">, z.ZodLiteral<"vc+mdoc-cbor">]>;
@@ -2200,7 +2200,7 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2200
2200
  background_color?: string | undefined;
2201
2201
  text_color?: string | undefined;
2202
2202
  }>, "many">;
2203
- claims: z.ZodRecord<z.ZodString, z.ZodObject<{
2203
+ claims: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2204
2204
  value_type: z.ZodString;
2205
2205
  display: z.ZodArray<z.ZodObject<{
2206
2206
  name: z.ZodString;
@@ -2224,7 +2224,7 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2224
2224
  name: string;
2225
2225
  locale: string;
2226
2226
  }[];
2227
- }>>;
2227
+ }>>>;
2228
2228
  cryptographic_binding_methods_supported: z.ZodArray<z.ZodString, "many">;
2229
2229
  credential_signing_alg_values_supported: z.ZodArray<z.ZodString, "many">;
2230
2230
  }, "strip", z.ZodTypeAny, {
@@ -2240,15 +2240,15 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2240
2240
  }[];
2241
2241
  format: "vc+sd-jwt" | "vc+mdoc-cbor";
2242
2242
  scope: string;
2243
- claims: Record<string, {
2243
+ cryptographic_binding_methods_supported: string[];
2244
+ credential_signing_alg_values_supported: string[];
2245
+ claims?: Record<string, {
2244
2246
  value_type: string;
2245
2247
  display: {
2246
2248
  name: string;
2247
2249
  locale: string;
2248
2250
  }[];
2249
- }>;
2250
- cryptographic_binding_methods_supported: string[];
2251
- credential_signing_alg_values_supported: string[];
2251
+ }> | undefined;
2252
2252
  }, {
2253
2253
  display: {
2254
2254
  name: string;
@@ -2262,15 +2262,15 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2262
2262
  }[];
2263
2263
  format: "vc+sd-jwt" | "vc+mdoc-cbor";
2264
2264
  scope: string;
2265
- claims: Record<string, {
2265
+ cryptographic_binding_methods_supported: string[];
2266
+ credential_signing_alg_values_supported: string[];
2267
+ claims?: Record<string, {
2266
2268
  value_type: string;
2267
2269
  display: {
2268
2270
  name: string;
2269
2271
  locale: string;
2270
2272
  }[];
2271
- }>;
2272
- cryptographic_binding_methods_supported: string[];
2273
- credential_signing_alg_values_supported: string[];
2273
+ }> | undefined;
2274
2274
  }>>;
2275
2275
  jwks: z.ZodObject<{
2276
2276
  keys: z.ZodArray<z.ZodObject<{
@@ -2424,10 +2424,10 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2424
2424
  display: {
2425
2425
  name: string;
2426
2426
  locale: string;
2427
- logo: {
2427
+ logo?: {
2428
2428
  url: string;
2429
2429
  alt_text: string;
2430
- };
2430
+ } | undefined;
2431
2431
  }[];
2432
2432
  credential_issuer: string;
2433
2433
  credential_endpoint: string;
@@ -2446,15 +2446,15 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2446
2446
  }[];
2447
2447
  format: "vc+sd-jwt" | "vc+mdoc-cbor";
2448
2448
  scope: string;
2449
- claims: Record<string, {
2449
+ cryptographic_binding_methods_supported: string[];
2450
+ credential_signing_alg_values_supported: string[];
2451
+ claims?: Record<string, {
2450
2452
  value_type: string;
2451
2453
  display: {
2452
2454
  name: string;
2453
2455
  locale: string;
2454
2456
  }[];
2455
- }>;
2456
- cryptographic_binding_methods_supported: string[];
2457
- credential_signing_alg_values_supported: string[];
2457
+ }> | undefined;
2458
2458
  }>;
2459
2459
  }, {
2460
2460
  jwks: {
@@ -2486,10 +2486,10 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2486
2486
  display: {
2487
2487
  name: string;
2488
2488
  locale: string;
2489
- logo: {
2489
+ logo?: {
2490
2490
  url: string;
2491
2491
  alt_text: string;
2492
- };
2492
+ } | undefined;
2493
2493
  }[];
2494
2494
  credential_issuer: string;
2495
2495
  credential_endpoint: string;
@@ -2508,15 +2508,15 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2508
2508
  }[];
2509
2509
  format: "vc+sd-jwt" | "vc+mdoc-cbor";
2510
2510
  scope: string;
2511
- claims: Record<string, {
2511
+ cryptographic_binding_methods_supported: string[];
2512
+ credential_signing_alg_values_supported: string[];
2513
+ claims?: Record<string, {
2512
2514
  value_type: string;
2513
2515
  display: {
2514
2516
  name: string;
2515
2517
  locale: string;
2516
2518
  }[];
2517
- }>;
2518
- cryptographic_binding_methods_supported: string[];
2519
- credential_signing_alg_values_supported: string[];
2519
+ }> | undefined;
2520
2520
  }>;
2521
2521
  }>;
2522
2522
  oauth_authorization_server: z.ZodObject<{
@@ -2760,7 +2760,7 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2760
2760
  /** Credential Issuers act as Relying Party
2761
2761
  when they require the presentation of other credentials.
2762
2762
  This does not apply for PID issuance, which requires CIE authz. */
2763
- openid_relying_party: z.ZodOptional<z.ZodObject<{
2763
+ wallet_relying_party: z.ZodOptional<z.ZodObject<{
2764
2764
  application_type: z.ZodOptional<z.ZodString>;
2765
2765
  client_id: z.ZodOptional<z.ZodString>;
2766
2766
  client_name: z.ZodOptional<z.ZodString>;
@@ -2981,10 +2981,10 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
2981
2981
  display: {
2982
2982
  name: string;
2983
2983
  locale: string;
2984
- logo: {
2984
+ logo?: {
2985
2985
  url: string;
2986
2986
  alt_text: string;
2987
- };
2987
+ } | undefined;
2988
2988
  }[];
2989
2989
  credential_issuer: string;
2990
2990
  credential_endpoint: string;
@@ -3003,15 +3003,15 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3003
3003
  }[];
3004
3004
  format: "vc+sd-jwt" | "vc+mdoc-cbor";
3005
3005
  scope: string;
3006
- claims: Record<string, {
3006
+ cryptographic_binding_methods_supported: string[];
3007
+ credential_signing_alg_values_supported: string[];
3008
+ claims?: Record<string, {
3007
3009
  value_type: string;
3008
3010
  display: {
3009
3011
  name: string;
3010
3012
  locale: string;
3011
3013
  }[];
3012
- }>;
3013
- cryptographic_binding_methods_supported: string[];
3014
- credential_signing_alg_values_supported: string[];
3014
+ }> | undefined;
3015
3015
  }>;
3016
3016
  };
3017
3017
  oauth_authorization_server: {
@@ -3062,7 +3062,7 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3062
3062
  response_types_supported?: string[] | undefined;
3063
3063
  subject_types_supported?: string[] | undefined;
3064
3064
  };
3065
- openid_relying_party?: {
3065
+ wallet_relying_party?: {
3066
3066
  jwks: {
3067
3067
  keys: {
3068
3068
  kty: "RSA" | "EC";
@@ -3125,10 +3125,10 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3125
3125
  display: {
3126
3126
  name: string;
3127
3127
  locale: string;
3128
- logo: {
3128
+ logo?: {
3129
3129
  url: string;
3130
3130
  alt_text: string;
3131
- };
3131
+ } | undefined;
3132
3132
  }[];
3133
3133
  credential_issuer: string;
3134
3134
  credential_endpoint: string;
@@ -3147,15 +3147,15 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3147
3147
  }[];
3148
3148
  format: "vc+sd-jwt" | "vc+mdoc-cbor";
3149
3149
  scope: string;
3150
- claims: Record<string, {
3150
+ cryptographic_binding_methods_supported: string[];
3151
+ credential_signing_alg_values_supported: string[];
3152
+ claims?: Record<string, {
3151
3153
  value_type: string;
3152
3154
  display: {
3153
3155
  name: string;
3154
3156
  locale: string;
3155
3157
  }[];
3156
- }>;
3157
- cryptographic_binding_methods_supported: string[];
3158
- credential_signing_alg_values_supported: string[];
3158
+ }> | undefined;
3159
3159
  }>;
3160
3160
  };
3161
3161
  oauth_authorization_server: {
@@ -3206,7 +3206,7 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3206
3206
  response_types_supported?: string[] | undefined;
3207
3207
  subject_types_supported?: string[] | undefined;
3208
3208
  };
3209
- openid_relying_party?: {
3209
+ wallet_relying_party?: {
3210
3210
  jwks: {
3211
3211
  keys: {
3212
3212
  kty: "RSA" | "EC";
@@ -3297,10 +3297,10 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3297
3297
  display: {
3298
3298
  name: string;
3299
3299
  locale: string;
3300
- logo: {
3300
+ logo?: {
3301
3301
  url: string;
3302
3302
  alt_text: string;
3303
- };
3303
+ } | undefined;
3304
3304
  }[];
3305
3305
  credential_issuer: string;
3306
3306
  credential_endpoint: string;
@@ -3319,15 +3319,15 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3319
3319
  }[];
3320
3320
  format: "vc+sd-jwt" | "vc+mdoc-cbor";
3321
3321
  scope: string;
3322
- claims: Record<string, {
3322
+ cryptographic_binding_methods_supported: string[];
3323
+ credential_signing_alg_values_supported: string[];
3324
+ claims?: Record<string, {
3323
3325
  value_type: string;
3324
3326
  display: {
3325
3327
  name: string;
3326
3328
  locale: string;
3327
3329
  }[];
3328
- }>;
3329
- cryptographic_binding_methods_supported: string[];
3330
- credential_signing_alg_values_supported: string[];
3330
+ }> | undefined;
3331
3331
  }>;
3332
3332
  };
3333
3333
  oauth_authorization_server: {
@@ -3378,7 +3378,7 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3378
3378
  response_types_supported?: string[] | undefined;
3379
3379
  subject_types_supported?: string[] | undefined;
3380
3380
  };
3381
- openid_relying_party?: {
3381
+ wallet_relying_party?: {
3382
3382
  jwks: {
3383
3383
  keys: {
3384
3384
  kty: "RSA" | "EC";
@@ -3469,10 +3469,10 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3469
3469
  display: {
3470
3470
  name: string;
3471
3471
  locale: string;
3472
- logo: {
3472
+ logo?: {
3473
3473
  url: string;
3474
3474
  alt_text: string;
3475
- };
3475
+ } | undefined;
3476
3476
  }[];
3477
3477
  credential_issuer: string;
3478
3478
  credential_endpoint: string;
@@ -3491,15 +3491,15 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3491
3491
  }[];
3492
3492
  format: "vc+sd-jwt" | "vc+mdoc-cbor";
3493
3493
  scope: string;
3494
- claims: Record<string, {
3494
+ cryptographic_binding_methods_supported: string[];
3495
+ credential_signing_alg_values_supported: string[];
3496
+ claims?: Record<string, {
3495
3497
  value_type: string;
3496
3498
  display: {
3497
3499
  name: string;
3498
3500
  locale: string;
3499
3501
  }[];
3500
- }>;
3501
- cryptographic_binding_methods_supported: string[];
3502
- credential_signing_alg_values_supported: string[];
3502
+ }> | undefined;
3503
3503
  }>;
3504
3504
  };
3505
3505
  oauth_authorization_server: {
@@ -3550,7 +3550,7 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3550
3550
  response_types_supported?: string[] | undefined;
3551
3551
  subject_types_supported?: string[] | undefined;
3552
3552
  };
3553
- openid_relying_party?: {
3553
+ wallet_relying_party?: {
3554
3554
  jwks: {
3555
3555
  keys: {
3556
3556
  kty: "RSA" | "EC";
@@ -3643,10 +3643,10 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3643
3643
  display: {
3644
3644
  name: string;
3645
3645
  locale: string;
3646
- logo: {
3646
+ logo?: {
3647
3647
  url: string;
3648
3648
  alt_text: string;
3649
- };
3649
+ } | undefined;
3650
3650
  }[];
3651
3651
  credential_issuer: string;
3652
3652
  credential_endpoint: string;
@@ -3665,15 +3665,15 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3665
3665
  }[];
3666
3666
  format: "vc+sd-jwt" | "vc+mdoc-cbor";
3667
3667
  scope: string;
3668
- claims: Record<string, {
3668
+ cryptographic_binding_methods_supported: string[];
3669
+ credential_signing_alg_values_supported: string[];
3670
+ claims?: Record<string, {
3669
3671
  value_type: string;
3670
3672
  display: {
3671
3673
  name: string;
3672
3674
  locale: string;
3673
3675
  }[];
3674
- }>;
3675
- cryptographic_binding_methods_supported: string[];
3676
- credential_signing_alg_values_supported: string[];
3676
+ }> | undefined;
3677
3677
  }>;
3678
3678
  };
3679
3679
  oauth_authorization_server: {
@@ -3724,7 +3724,7 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3724
3724
  response_types_supported?: string[] | undefined;
3725
3725
  subject_types_supported?: string[] | undefined;
3726
3726
  };
3727
- openid_relying_party?: {
3727
+ wallet_relying_party?: {
3728
3728
  jwks: {
3729
3729
  keys: {
3730
3730
  kty: "RSA" | "EC";
@@ -3817,10 +3817,10 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3817
3817
  display: {
3818
3818
  name: string;
3819
3819
  locale: string;
3820
- logo: {
3820
+ logo?: {
3821
3821
  url: string;
3822
3822
  alt_text: string;
3823
- };
3823
+ } | undefined;
3824
3824
  }[];
3825
3825
  credential_issuer: string;
3826
3826
  credential_endpoint: string;
@@ -3839,15 +3839,15 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3839
3839
  }[];
3840
3840
  format: "vc+sd-jwt" | "vc+mdoc-cbor";
3841
3841
  scope: string;
3842
- claims: Record<string, {
3842
+ cryptographic_binding_methods_supported: string[];
3843
+ credential_signing_alg_values_supported: string[];
3844
+ claims?: Record<string, {
3843
3845
  value_type: string;
3844
3846
  display: {
3845
3847
  name: string;
3846
3848
  locale: string;
3847
3849
  }[];
3848
- }>;
3849
- cryptographic_binding_methods_supported: string[];
3850
- credential_signing_alg_values_supported: string[];
3850
+ }> | undefined;
3851
3851
  }>;
3852
3852
  };
3853
3853
  oauth_authorization_server: {
@@ -3898,7 +3898,7 @@ export declare const CredentialIssuerEntityConfiguration: z.ZodIntersection<z.Zo
3898
3898
  response_types_supported?: string[] | undefined;
3899
3899
  subject_types_supported?: string[] | undefined;
3900
3900
  };
3901
- openid_relying_party?: {
3901
+ wallet_relying_party?: {
3902
3902
  jwks: {
3903
3903
  keys: {
3904
3904
  kty: "RSA" | "EC";
@@ -9052,7 +9052,7 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
9052
9052
  display: z.ZodArray<z.ZodObject<{
9053
9053
  name: z.ZodString;
9054
9054
  locale: z.ZodString;
9055
- logo: z.ZodObject<{
9055
+ logo: z.ZodOptional<z.ZodObject<{
9056
9056
  url: z.ZodString;
9057
9057
  alt_text: z.ZodString;
9058
9058
  }, "strip", z.ZodTypeAny, {
@@ -9061,21 +9061,21 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
9061
9061
  }, {
9062
9062
  url: string;
9063
9063
  alt_text: string;
9064
- }>;
9064
+ }>>;
9065
9065
  }, "strip", z.ZodTypeAny, {
9066
9066
  name: string;
9067
9067
  locale: string;
9068
- logo: {
9068
+ logo?: {
9069
9069
  url: string;
9070
9070
  alt_text: string;
9071
- };
9071
+ } | undefined;
9072
9072
  }, {
9073
9073
  name: string;
9074
9074
  locale: string;
9075
- logo: {
9075
+ logo?: {
9076
9076
  url: string;
9077
9077
  alt_text: string;
9078
- };
9078
+ } | undefined;
9079
9079
  }>, "many">;
9080
9080
  credential_configurations_supported: z.ZodRecord<z.ZodString, z.ZodObject<{
9081
9081
  format: z.ZodUnion<[z.ZodLiteral<"vc+sd-jwt">, z.ZodLiteral<"vc+mdoc-cbor">]>;
@@ -9114,7 +9114,7 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
9114
9114
  background_color?: string | undefined;
9115
9115
  text_color?: string | undefined;
9116
9116
  }>, "many">;
9117
- claims: z.ZodRecord<z.ZodString, z.ZodObject<{
9117
+ claims: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
9118
9118
  value_type: z.ZodString;
9119
9119
  display: z.ZodArray<z.ZodObject<{
9120
9120
  name: z.ZodString;
@@ -9138,7 +9138,7 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
9138
9138
  name: string;
9139
9139
  locale: string;
9140
9140
  }[];
9141
- }>>;
9141
+ }>>>;
9142
9142
  cryptographic_binding_methods_supported: z.ZodArray<z.ZodString, "many">;
9143
9143
  credential_signing_alg_values_supported: z.ZodArray<z.ZodString, "many">;
9144
9144
  }, "strip", z.ZodTypeAny, {
@@ -9154,15 +9154,15 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
9154
9154
  }[];
9155
9155
  format: "vc+sd-jwt" | "vc+mdoc-cbor";
9156
9156
  scope: string;
9157
- claims: Record<string, {
9157
+ cryptographic_binding_methods_supported: string[];
9158
+ credential_signing_alg_values_supported: string[];
9159
+ claims?: Record<string, {
9158
9160
  value_type: string;
9159
9161
  display: {
9160
9162
  name: string;
9161
9163
  locale: string;
9162
9164
  }[];
9163
- }>;
9164
- cryptographic_binding_methods_supported: string[];
9165
- credential_signing_alg_values_supported: string[];
9165
+ }> | undefined;
9166
9166
  }, {
9167
9167
  display: {
9168
9168
  name: string;
@@ -9176,15 +9176,15 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
9176
9176
  }[];
9177
9177
  format: "vc+sd-jwt" | "vc+mdoc-cbor";
9178
9178
  scope: string;
9179
- claims: Record<string, {
9179
+ cryptographic_binding_methods_supported: string[];
9180
+ credential_signing_alg_values_supported: string[];
9181
+ claims?: Record<string, {
9180
9182
  value_type: string;
9181
9183
  display: {
9182
9184
  name: string;
9183
9185
  locale: string;
9184
9186
  }[];
9185
- }>;
9186
- cryptographic_binding_methods_supported: string[];
9187
- credential_signing_alg_values_supported: string[];
9187
+ }> | undefined;
9188
9188
  }>>;
9189
9189
  jwks: z.ZodObject<{
9190
9190
  keys: z.ZodArray<z.ZodObject<{
@@ -9338,10 +9338,10 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
9338
9338
  display: {
9339
9339
  name: string;
9340
9340
  locale: string;
9341
- logo: {
9341
+ logo?: {
9342
9342
  url: string;
9343
9343
  alt_text: string;
9344
- };
9344
+ } | undefined;
9345
9345
  }[];
9346
9346
  credential_issuer: string;
9347
9347
  credential_endpoint: string;
@@ -9360,15 +9360,15 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
9360
9360
  }[];
9361
9361
  format: "vc+sd-jwt" | "vc+mdoc-cbor";
9362
9362
  scope: string;
9363
- claims: Record<string, {
9363
+ cryptographic_binding_methods_supported: string[];
9364
+ credential_signing_alg_values_supported: string[];
9365
+ claims?: Record<string, {
9364
9366
  value_type: string;
9365
9367
  display: {
9366
9368
  name: string;
9367
9369
  locale: string;
9368
9370
  }[];
9369
- }>;
9370
- cryptographic_binding_methods_supported: string[];
9371
- credential_signing_alg_values_supported: string[];
9371
+ }> | undefined;
9372
9372
  }>;
9373
9373
  }, {
9374
9374
  jwks: {
@@ -9400,10 +9400,10 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
9400
9400
  display: {
9401
9401
  name: string;
9402
9402
  locale: string;
9403
- logo: {
9403
+ logo?: {
9404
9404
  url: string;
9405
9405
  alt_text: string;
9406
- };
9406
+ } | undefined;
9407
9407
  }[];
9408
9408
  credential_issuer: string;
9409
9409
  credential_endpoint: string;
@@ -9422,15 +9422,15 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
9422
9422
  }[];
9423
9423
  format: "vc+sd-jwt" | "vc+mdoc-cbor";
9424
9424
  scope: string;
9425
- claims: Record<string, {
9425
+ cryptographic_binding_methods_supported: string[];
9426
+ credential_signing_alg_values_supported: string[];
9427
+ claims?: Record<string, {
9426
9428
  value_type: string;
9427
9429
  display: {
9428
9430
  name: string;
9429
9431
  locale: string;
9430
9432
  }[];
9431
- }>;
9432
- cryptographic_binding_methods_supported: string[];
9433
- credential_signing_alg_values_supported: string[];
9433
+ }> | undefined;
9434
9434
  }>;
9435
9435
  }>;
9436
9436
  oauth_authorization_server: z.ZodObject<{
@@ -9674,7 +9674,7 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
9674
9674
  /** Credential Issuers act as Relying Party
9675
9675
  when they require the presentation of other credentials.
9676
9676
  This does not apply for PID issuance, which requires CIE authz. */
9677
- openid_relying_party: z.ZodOptional<z.ZodObject<{
9677
+ wallet_relying_party: z.ZodOptional<z.ZodObject<{
9678
9678
  application_type: z.ZodOptional<z.ZodString>;
9679
9679
  client_id: z.ZodOptional<z.ZodString>;
9680
9680
  client_name: z.ZodOptional<z.ZodString>;
@@ -9895,10 +9895,10 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
9895
9895
  display: {
9896
9896
  name: string;
9897
9897
  locale: string;
9898
- logo: {
9898
+ logo?: {
9899
9899
  url: string;
9900
9900
  alt_text: string;
9901
- };
9901
+ } | undefined;
9902
9902
  }[];
9903
9903
  credential_issuer: string;
9904
9904
  credential_endpoint: string;
@@ -9917,15 +9917,15 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
9917
9917
  }[];
9918
9918
  format: "vc+sd-jwt" | "vc+mdoc-cbor";
9919
9919
  scope: string;
9920
- claims: Record<string, {
9920
+ cryptographic_binding_methods_supported: string[];
9921
+ credential_signing_alg_values_supported: string[];
9922
+ claims?: Record<string, {
9921
9923
  value_type: string;
9922
9924
  display: {
9923
9925
  name: string;
9924
9926
  locale: string;
9925
9927
  }[];
9926
- }>;
9927
- cryptographic_binding_methods_supported: string[];
9928
- credential_signing_alg_values_supported: string[];
9928
+ }> | undefined;
9929
9929
  }>;
9930
9930
  };
9931
9931
  oauth_authorization_server: {
@@ -9976,7 +9976,7 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
9976
9976
  response_types_supported?: string[] | undefined;
9977
9977
  subject_types_supported?: string[] | undefined;
9978
9978
  };
9979
- openid_relying_party?: {
9979
+ wallet_relying_party?: {
9980
9980
  jwks: {
9981
9981
  keys: {
9982
9982
  kty: "RSA" | "EC";
@@ -10039,10 +10039,10 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10039
10039
  display: {
10040
10040
  name: string;
10041
10041
  locale: string;
10042
- logo: {
10042
+ logo?: {
10043
10043
  url: string;
10044
10044
  alt_text: string;
10045
- };
10045
+ } | undefined;
10046
10046
  }[];
10047
10047
  credential_issuer: string;
10048
10048
  credential_endpoint: string;
@@ -10061,15 +10061,15 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10061
10061
  }[];
10062
10062
  format: "vc+sd-jwt" | "vc+mdoc-cbor";
10063
10063
  scope: string;
10064
- claims: Record<string, {
10064
+ cryptographic_binding_methods_supported: string[];
10065
+ credential_signing_alg_values_supported: string[];
10066
+ claims?: Record<string, {
10065
10067
  value_type: string;
10066
10068
  display: {
10067
10069
  name: string;
10068
10070
  locale: string;
10069
10071
  }[];
10070
- }>;
10071
- cryptographic_binding_methods_supported: string[];
10072
- credential_signing_alg_values_supported: string[];
10072
+ }> | undefined;
10073
10073
  }>;
10074
10074
  };
10075
10075
  oauth_authorization_server: {
@@ -10120,7 +10120,7 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10120
10120
  response_types_supported?: string[] | undefined;
10121
10121
  subject_types_supported?: string[] | undefined;
10122
10122
  };
10123
- openid_relying_party?: {
10123
+ wallet_relying_party?: {
10124
10124
  jwks: {
10125
10125
  keys: {
10126
10126
  kty: "RSA" | "EC";
@@ -10211,10 +10211,10 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10211
10211
  display: {
10212
10212
  name: string;
10213
10213
  locale: string;
10214
- logo: {
10214
+ logo?: {
10215
10215
  url: string;
10216
10216
  alt_text: string;
10217
- };
10217
+ } | undefined;
10218
10218
  }[];
10219
10219
  credential_issuer: string;
10220
10220
  credential_endpoint: string;
@@ -10233,15 +10233,15 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10233
10233
  }[];
10234
10234
  format: "vc+sd-jwt" | "vc+mdoc-cbor";
10235
10235
  scope: string;
10236
- claims: Record<string, {
10236
+ cryptographic_binding_methods_supported: string[];
10237
+ credential_signing_alg_values_supported: string[];
10238
+ claims?: Record<string, {
10237
10239
  value_type: string;
10238
10240
  display: {
10239
10241
  name: string;
10240
10242
  locale: string;
10241
10243
  }[];
10242
- }>;
10243
- cryptographic_binding_methods_supported: string[];
10244
- credential_signing_alg_values_supported: string[];
10244
+ }> | undefined;
10245
10245
  }>;
10246
10246
  };
10247
10247
  oauth_authorization_server: {
@@ -10292,7 +10292,7 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10292
10292
  response_types_supported?: string[] | undefined;
10293
10293
  subject_types_supported?: string[] | undefined;
10294
10294
  };
10295
- openid_relying_party?: {
10295
+ wallet_relying_party?: {
10296
10296
  jwks: {
10297
10297
  keys: {
10298
10298
  kty: "RSA" | "EC";
@@ -10383,10 +10383,10 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10383
10383
  display: {
10384
10384
  name: string;
10385
10385
  locale: string;
10386
- logo: {
10386
+ logo?: {
10387
10387
  url: string;
10388
10388
  alt_text: string;
10389
- };
10389
+ } | undefined;
10390
10390
  }[];
10391
10391
  credential_issuer: string;
10392
10392
  credential_endpoint: string;
@@ -10405,15 +10405,15 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10405
10405
  }[];
10406
10406
  format: "vc+sd-jwt" | "vc+mdoc-cbor";
10407
10407
  scope: string;
10408
- claims: Record<string, {
10408
+ cryptographic_binding_methods_supported: string[];
10409
+ credential_signing_alg_values_supported: string[];
10410
+ claims?: Record<string, {
10409
10411
  value_type: string;
10410
10412
  display: {
10411
10413
  name: string;
10412
10414
  locale: string;
10413
10415
  }[];
10414
- }>;
10415
- cryptographic_binding_methods_supported: string[];
10416
- credential_signing_alg_values_supported: string[];
10416
+ }> | undefined;
10417
10417
  }>;
10418
10418
  };
10419
10419
  oauth_authorization_server: {
@@ -10464,7 +10464,7 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10464
10464
  response_types_supported?: string[] | undefined;
10465
10465
  subject_types_supported?: string[] | undefined;
10466
10466
  };
10467
- openid_relying_party?: {
10467
+ wallet_relying_party?: {
10468
10468
  jwks: {
10469
10469
  keys: {
10470
10470
  kty: "RSA" | "EC";
@@ -10557,10 +10557,10 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10557
10557
  display: {
10558
10558
  name: string;
10559
10559
  locale: string;
10560
- logo: {
10560
+ logo?: {
10561
10561
  url: string;
10562
10562
  alt_text: string;
10563
- };
10563
+ } | undefined;
10564
10564
  }[];
10565
10565
  credential_issuer: string;
10566
10566
  credential_endpoint: string;
@@ -10579,15 +10579,15 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10579
10579
  }[];
10580
10580
  format: "vc+sd-jwt" | "vc+mdoc-cbor";
10581
10581
  scope: string;
10582
- claims: Record<string, {
10582
+ cryptographic_binding_methods_supported: string[];
10583
+ credential_signing_alg_values_supported: string[];
10584
+ claims?: Record<string, {
10583
10585
  value_type: string;
10584
10586
  display: {
10585
10587
  name: string;
10586
10588
  locale: string;
10587
10589
  }[];
10588
- }>;
10589
- cryptographic_binding_methods_supported: string[];
10590
- credential_signing_alg_values_supported: string[];
10590
+ }> | undefined;
10591
10591
  }>;
10592
10592
  };
10593
10593
  oauth_authorization_server: {
@@ -10638,7 +10638,7 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10638
10638
  response_types_supported?: string[] | undefined;
10639
10639
  subject_types_supported?: string[] | undefined;
10640
10640
  };
10641
- openid_relying_party?: {
10641
+ wallet_relying_party?: {
10642
10642
  jwks: {
10643
10643
  keys: {
10644
10644
  kty: "RSA" | "EC";
@@ -10731,10 +10731,10 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10731
10731
  display: {
10732
10732
  name: string;
10733
10733
  locale: string;
10734
- logo: {
10734
+ logo?: {
10735
10735
  url: string;
10736
10736
  alt_text: string;
10737
- };
10737
+ } | undefined;
10738
10738
  }[];
10739
10739
  credential_issuer: string;
10740
10740
  credential_endpoint: string;
@@ -10753,15 +10753,15 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10753
10753
  }[];
10754
10754
  format: "vc+sd-jwt" | "vc+mdoc-cbor";
10755
10755
  scope: string;
10756
- claims: Record<string, {
10756
+ cryptographic_binding_methods_supported: string[];
10757
+ credential_signing_alg_values_supported: string[];
10758
+ claims?: Record<string, {
10757
10759
  value_type: string;
10758
10760
  display: {
10759
10761
  name: string;
10760
10762
  locale: string;
10761
10763
  }[];
10762
- }>;
10763
- cryptographic_binding_methods_supported: string[];
10764
- credential_signing_alg_values_supported: string[];
10764
+ }> | undefined;
10765
10765
  }>;
10766
10766
  };
10767
10767
  oauth_authorization_server: {
@@ -10812,7 +10812,7 @@ export declare const EntityConfiguration: z.ZodUnion<[z.ZodIntersection<z.ZodObj
10812
10812
  response_types_supported?: string[] | undefined;
10813
10813
  subject_types_supported?: string[] | undefined;
10814
10814
  };
10815
- openid_relying_party?: {
10815
+ wallet_relying_party?: {
10816
10816
  jwks: {
10817
10817
  keys: {
10818
10818
  kty: "RSA" | "EC";