@pagopa/io-wallet-oid-federation 1.5.6 → 1.5.8

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.
package/dist/index.d.mts CHANGED
@@ -375,6 +375,14 @@ declare const itWalletMetadataV1_3: z.ZodObject<{
375
375
  }, z.core.$strip>>>;
376
376
  }, z.core.$strip>;
377
377
  cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
378
+ issuance_errors_supported: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
379
+ display: z.ZodArray<z.ZodObject<{
380
+ description: z.ZodString;
381
+ locale: z.ZodString;
382
+ title: z.ZodString;
383
+ }, z.core.$strip>>;
384
+ status_code: z.ZodOptional<z.ZodNumber>;
385
+ }, z.core.$strip>>>;
378
386
  proof_types_supported: z.ZodObject<{
379
387
  jwt: z.ZodObject<{
380
388
  key_attestations_required: z.ZodOptional<z.ZodObject<{
@@ -621,6 +629,14 @@ declare const itWalletMetadataV1_4: z.ZodObject<{
621
629
  }, z.core.$strip>>>;
622
630
  }, z.core.$strip>;
623
631
  cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
632
+ issuance_errors_supported: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
633
+ display: z.ZodArray<z.ZodObject<{
634
+ description: z.ZodString;
635
+ locale: z.ZodString;
636
+ title: z.ZodString;
637
+ }, z.core.$strip>>;
638
+ status_code: z.ZodOptional<z.ZodNumber>;
639
+ }, z.core.$strip>>>;
624
640
  proof_types_supported: z.ZodObject<{
625
641
  jwt: z.ZodObject<{
626
642
  key_attestations_required: z.ZodOptional<z.ZodObject<{
@@ -866,6 +882,14 @@ declare const itWalletMetadataSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
866
882
  }, z.core.$strip>>>;
867
883
  }, z.core.$strip>;
868
884
  cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
885
+ issuance_errors_supported: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
886
+ display: z.ZodArray<z.ZodObject<{
887
+ description: z.ZodString;
888
+ locale: z.ZodString;
889
+ title: z.ZodString;
890
+ }, z.core.$strip>>;
891
+ status_code: z.ZodOptional<z.ZodNumber>;
892
+ }, z.core.$strip>>>;
869
893
  proof_types_supported: z.ZodObject<{
870
894
  jwt: z.ZodObject<{
871
895
  key_attestations_required: z.ZodOptional<z.ZodObject<{
@@ -1111,6 +1135,14 @@ declare const itWalletMetadataSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1111
1135
  }, z.core.$strip>>>;
1112
1136
  }, z.core.$strip>;
1113
1137
  cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
1138
+ issuance_errors_supported: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1139
+ display: z.ZodArray<z.ZodObject<{
1140
+ description: z.ZodString;
1141
+ locale: z.ZodString;
1142
+ title: z.ZodString;
1143
+ }, z.core.$strip>>;
1144
+ status_code: z.ZodOptional<z.ZodNumber>;
1145
+ }, z.core.$strip>>>;
1114
1146
  proof_types_supported: z.ZodObject<{
1115
1147
  jwt: z.ZodObject<{
1116
1148
  key_attestations_required: z.ZodOptional<z.ZodObject<{
@@ -1584,6 +1616,14 @@ declare const baseSchema: z.ZodObject<{
1584
1616
  }, z.core.$strip>>>;
1585
1617
  }, z.core.$strip>;
1586
1618
  cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
1619
+ issuance_errors_supported: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1620
+ display: z.ZodArray<z.ZodObject<{
1621
+ description: z.ZodString;
1622
+ locale: z.ZodString;
1623
+ title: z.ZodString;
1624
+ }, z.core.$strip>>;
1625
+ status_code: z.ZodOptional<z.ZodNumber>;
1626
+ }, z.core.$strip>>>;
1587
1627
  proof_types_supported: z.ZodObject<{
1588
1628
  jwt: z.ZodObject<{
1589
1629
  key_attestations_required: z.ZodOptional<z.ZodObject<{
@@ -1829,6 +1869,14 @@ declare const baseSchema: z.ZodObject<{
1829
1869
  }, z.core.$strip>>>;
1830
1870
  }, z.core.$strip>;
1831
1871
  cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
1872
+ issuance_errors_supported: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1873
+ display: z.ZodArray<z.ZodObject<{
1874
+ description: z.ZodString;
1875
+ locale: z.ZodString;
1876
+ title: z.ZodString;
1877
+ }, z.core.$strip>>;
1878
+ status_code: z.ZodOptional<z.ZodNumber>;
1879
+ }, z.core.$strip>>>;
1832
1880
  proof_types_supported: z.ZodObject<{
1833
1881
  jwt: z.ZodObject<{
1834
1882
  key_attestations_required: z.ZodOptional<z.ZodObject<{
@@ -2525,6 +2573,14 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
2525
2573
  };
2526
2574
  schema_id: string;
2527
2575
  scope: string;
2576
+ issuance_errors_supported?: Record<string, {
2577
+ display: {
2578
+ description: string;
2579
+ locale: string;
2580
+ title: string;
2581
+ }[];
2582
+ status_code?: number | undefined;
2583
+ }> | undefined;
2528
2584
  }>;
2529
2585
  credential_endpoint: string;
2530
2586
  credential_issuer: string;
@@ -2767,6 +2823,14 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
2767
2823
  };
2768
2824
  schema_id: string;
2769
2825
  scope: string;
2826
+ issuance_errors_supported?: Record<string, {
2827
+ display: {
2828
+ description: string;
2829
+ locale: string;
2830
+ title: string;
2831
+ }[];
2832
+ status_code?: number | undefined;
2833
+ }> | undefined;
2770
2834
  }>;
2771
2835
  credential_endpoint: string;
2772
2836
  credential_issuer: string;
@@ -3251,6 +3315,14 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
3251
3315
  };
3252
3316
  schema_id: string;
3253
3317
  scope: string;
3318
+ issuance_errors_supported?: Record<string, {
3319
+ display: {
3320
+ description: string;
3321
+ locale: string;
3322
+ title: string;
3323
+ }[];
3324
+ status_code?: number | undefined;
3325
+ }> | undefined;
3254
3326
  }>;
3255
3327
  credential_endpoint: string;
3256
3328
  credential_issuer: string;
@@ -3493,6 +3565,14 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
3493
3565
  };
3494
3566
  schema_id: string;
3495
3567
  scope: string;
3568
+ issuance_errors_supported?: Record<string, {
3569
+ display: {
3570
+ description: string;
3571
+ locale: string;
3572
+ title: string;
3573
+ }[];
3574
+ status_code?: number | undefined;
3575
+ }> | undefined;
3496
3576
  }>;
3497
3577
  credential_endpoint: string;
3498
3578
  credential_issuer: string;
@@ -3977,6 +4057,14 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
3977
4057
  };
3978
4058
  schema_id: string;
3979
4059
  scope: string;
4060
+ issuance_errors_supported?: Record<string, {
4061
+ display: {
4062
+ description: string;
4063
+ locale: string;
4064
+ title: string;
4065
+ }[];
4066
+ status_code?: number | undefined;
4067
+ }> | undefined;
3980
4068
  }>;
3981
4069
  credential_endpoint: string;
3982
4070
  credential_issuer: string;
@@ -4219,6 +4307,14 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
4219
4307
  };
4220
4308
  schema_id: string;
4221
4309
  scope: string;
4310
+ issuance_errors_supported?: Record<string, {
4311
+ display: {
4312
+ description: string;
4313
+ locale: string;
4314
+ title: string;
4315
+ }[];
4316
+ status_code?: number | undefined;
4317
+ }> | undefined;
4222
4318
  }>;
4223
4319
  credential_endpoint: string;
4224
4320
  credential_issuer: string;
@@ -4703,6 +4799,14 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
4703
4799
  };
4704
4800
  schema_id: string;
4705
4801
  scope: string;
4802
+ issuance_errors_supported?: Record<string, {
4803
+ display: {
4804
+ description: string;
4805
+ locale: string;
4806
+ title: string;
4807
+ }[];
4808
+ status_code?: number | undefined;
4809
+ }> | undefined;
4706
4810
  }>;
4707
4811
  credential_endpoint: string;
4708
4812
  credential_issuer: string;
@@ -4945,6 +5049,14 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
4945
5049
  };
4946
5050
  schema_id: string;
4947
5051
  scope: string;
5052
+ issuance_errors_supported?: Record<string, {
5053
+ display: {
5054
+ description: string;
5055
+ locale: string;
5056
+ title: string;
5057
+ }[];
5058
+ status_code?: number | undefined;
5059
+ }> | undefined;
4948
5060
  }>;
4949
5061
  credential_endpoint: string;
4950
5062
  credential_issuer: string;
@@ -5673,6 +5785,14 @@ declare const SupportedCredentialMetadata: z.ZodIntersection<z.ZodDiscriminatedU
5673
5785
  }, z.core.$strip>>>;
5674
5786
  }, z.core.$strip>;
5675
5787
  cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
5788
+ issuance_errors_supported: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
5789
+ display: z.ZodArray<z.ZodObject<{
5790
+ description: z.ZodString;
5791
+ locale: z.ZodString;
5792
+ title: z.ZodString;
5793
+ }, z.core.$strip>>;
5794
+ status_code: z.ZodOptional<z.ZodNumber>;
5795
+ }, z.core.$strip>>>;
5676
5796
  proof_types_supported: z.ZodObject<{
5677
5797
  jwt: z.ZodObject<{
5678
5798
  key_attestations_required: z.ZodOptional<z.ZodObject<{
@@ -5761,6 +5881,14 @@ declare const itWalletCredentialIssuerMetadata: z.ZodObject<{
5761
5881
  }, z.core.$strip>>>;
5762
5882
  }, z.core.$strip>;
5763
5883
  cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
5884
+ issuance_errors_supported: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
5885
+ display: z.ZodArray<z.ZodObject<{
5886
+ description: z.ZodString;
5887
+ locale: z.ZodString;
5888
+ title: z.ZodString;
5889
+ }, z.core.$strip>>;
5890
+ status_code: z.ZodOptional<z.ZodNumber>;
5891
+ }, z.core.$strip>>>;
5764
5892
  proof_types_supported: z.ZodObject<{
5765
5893
  jwt: z.ZodObject<{
5766
5894
  key_attestations_required: z.ZodOptional<z.ZodObject<{
package/dist/index.d.ts CHANGED
@@ -375,6 +375,14 @@ declare const itWalletMetadataV1_3: z.ZodObject<{
375
375
  }, z.core.$strip>>>;
376
376
  }, z.core.$strip>;
377
377
  cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
378
+ issuance_errors_supported: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
379
+ display: z.ZodArray<z.ZodObject<{
380
+ description: z.ZodString;
381
+ locale: z.ZodString;
382
+ title: z.ZodString;
383
+ }, z.core.$strip>>;
384
+ status_code: z.ZodOptional<z.ZodNumber>;
385
+ }, z.core.$strip>>>;
378
386
  proof_types_supported: z.ZodObject<{
379
387
  jwt: z.ZodObject<{
380
388
  key_attestations_required: z.ZodOptional<z.ZodObject<{
@@ -621,6 +629,14 @@ declare const itWalletMetadataV1_4: z.ZodObject<{
621
629
  }, z.core.$strip>>>;
622
630
  }, z.core.$strip>;
623
631
  cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
632
+ issuance_errors_supported: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
633
+ display: z.ZodArray<z.ZodObject<{
634
+ description: z.ZodString;
635
+ locale: z.ZodString;
636
+ title: z.ZodString;
637
+ }, z.core.$strip>>;
638
+ status_code: z.ZodOptional<z.ZodNumber>;
639
+ }, z.core.$strip>>>;
624
640
  proof_types_supported: z.ZodObject<{
625
641
  jwt: z.ZodObject<{
626
642
  key_attestations_required: z.ZodOptional<z.ZodObject<{
@@ -866,6 +882,14 @@ declare const itWalletMetadataSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
866
882
  }, z.core.$strip>>>;
867
883
  }, z.core.$strip>;
868
884
  cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
885
+ issuance_errors_supported: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
886
+ display: z.ZodArray<z.ZodObject<{
887
+ description: z.ZodString;
888
+ locale: z.ZodString;
889
+ title: z.ZodString;
890
+ }, z.core.$strip>>;
891
+ status_code: z.ZodOptional<z.ZodNumber>;
892
+ }, z.core.$strip>>>;
869
893
  proof_types_supported: z.ZodObject<{
870
894
  jwt: z.ZodObject<{
871
895
  key_attestations_required: z.ZodOptional<z.ZodObject<{
@@ -1111,6 +1135,14 @@ declare const itWalletMetadataSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1111
1135
  }, z.core.$strip>>>;
1112
1136
  }, z.core.$strip>;
1113
1137
  cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
1138
+ issuance_errors_supported: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1139
+ display: z.ZodArray<z.ZodObject<{
1140
+ description: z.ZodString;
1141
+ locale: z.ZodString;
1142
+ title: z.ZodString;
1143
+ }, z.core.$strip>>;
1144
+ status_code: z.ZodOptional<z.ZodNumber>;
1145
+ }, z.core.$strip>>>;
1114
1146
  proof_types_supported: z.ZodObject<{
1115
1147
  jwt: z.ZodObject<{
1116
1148
  key_attestations_required: z.ZodOptional<z.ZodObject<{
@@ -1584,6 +1616,14 @@ declare const baseSchema: z.ZodObject<{
1584
1616
  }, z.core.$strip>>>;
1585
1617
  }, z.core.$strip>;
1586
1618
  cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
1619
+ issuance_errors_supported: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1620
+ display: z.ZodArray<z.ZodObject<{
1621
+ description: z.ZodString;
1622
+ locale: z.ZodString;
1623
+ title: z.ZodString;
1624
+ }, z.core.$strip>>;
1625
+ status_code: z.ZodOptional<z.ZodNumber>;
1626
+ }, z.core.$strip>>>;
1587
1627
  proof_types_supported: z.ZodObject<{
1588
1628
  jwt: z.ZodObject<{
1589
1629
  key_attestations_required: z.ZodOptional<z.ZodObject<{
@@ -1829,6 +1869,14 @@ declare const baseSchema: z.ZodObject<{
1829
1869
  }, z.core.$strip>>>;
1830
1870
  }, z.core.$strip>;
1831
1871
  cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
1872
+ issuance_errors_supported: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1873
+ display: z.ZodArray<z.ZodObject<{
1874
+ description: z.ZodString;
1875
+ locale: z.ZodString;
1876
+ title: z.ZodString;
1877
+ }, z.core.$strip>>;
1878
+ status_code: z.ZodOptional<z.ZodNumber>;
1879
+ }, z.core.$strip>>>;
1832
1880
  proof_types_supported: z.ZodObject<{
1833
1881
  jwt: z.ZodObject<{
1834
1882
  key_attestations_required: z.ZodOptional<z.ZodObject<{
@@ -2525,6 +2573,14 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
2525
2573
  };
2526
2574
  schema_id: string;
2527
2575
  scope: string;
2576
+ issuance_errors_supported?: Record<string, {
2577
+ display: {
2578
+ description: string;
2579
+ locale: string;
2580
+ title: string;
2581
+ }[];
2582
+ status_code?: number | undefined;
2583
+ }> | undefined;
2528
2584
  }>;
2529
2585
  credential_endpoint: string;
2530
2586
  credential_issuer: string;
@@ -2767,6 +2823,14 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
2767
2823
  };
2768
2824
  schema_id: string;
2769
2825
  scope: string;
2826
+ issuance_errors_supported?: Record<string, {
2827
+ display: {
2828
+ description: string;
2829
+ locale: string;
2830
+ title: string;
2831
+ }[];
2832
+ status_code?: number | undefined;
2833
+ }> | undefined;
2770
2834
  }>;
2771
2835
  credential_endpoint: string;
2772
2836
  credential_issuer: string;
@@ -3251,6 +3315,14 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
3251
3315
  };
3252
3316
  schema_id: string;
3253
3317
  scope: string;
3318
+ issuance_errors_supported?: Record<string, {
3319
+ display: {
3320
+ description: string;
3321
+ locale: string;
3322
+ title: string;
3323
+ }[];
3324
+ status_code?: number | undefined;
3325
+ }> | undefined;
3254
3326
  }>;
3255
3327
  credential_endpoint: string;
3256
3328
  credential_issuer: string;
@@ -3493,6 +3565,14 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
3493
3565
  };
3494
3566
  schema_id: string;
3495
3567
  scope: string;
3568
+ issuance_errors_supported?: Record<string, {
3569
+ display: {
3570
+ description: string;
3571
+ locale: string;
3572
+ title: string;
3573
+ }[];
3574
+ status_code?: number | undefined;
3575
+ }> | undefined;
3496
3576
  }>;
3497
3577
  credential_endpoint: string;
3498
3578
  credential_issuer: string;
@@ -3977,6 +4057,14 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
3977
4057
  };
3978
4058
  schema_id: string;
3979
4059
  scope: string;
4060
+ issuance_errors_supported?: Record<string, {
4061
+ display: {
4062
+ description: string;
4063
+ locale: string;
4064
+ title: string;
4065
+ }[];
4066
+ status_code?: number | undefined;
4067
+ }> | undefined;
3980
4068
  }>;
3981
4069
  credential_endpoint: string;
3982
4070
  credential_issuer: string;
@@ -4219,6 +4307,14 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
4219
4307
  };
4220
4308
  schema_id: string;
4221
4309
  scope: string;
4310
+ issuance_errors_supported?: Record<string, {
4311
+ display: {
4312
+ description: string;
4313
+ locale: string;
4314
+ title: string;
4315
+ }[];
4316
+ status_code?: number | undefined;
4317
+ }> | undefined;
4222
4318
  }>;
4223
4319
  credential_endpoint: string;
4224
4320
  credential_issuer: string;
@@ -4703,6 +4799,14 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
4703
4799
  };
4704
4800
  schema_id: string;
4705
4801
  scope: string;
4802
+ issuance_errors_supported?: Record<string, {
4803
+ display: {
4804
+ description: string;
4805
+ locale: string;
4806
+ title: string;
4807
+ }[];
4808
+ status_code?: number | undefined;
4809
+ }> | undefined;
4706
4810
  }>;
4707
4811
  credential_endpoint: string;
4708
4812
  credential_issuer: string;
@@ -4945,6 +5049,14 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
4945
5049
  };
4946
5050
  schema_id: string;
4947
5051
  scope: string;
5052
+ issuance_errors_supported?: Record<string, {
5053
+ display: {
5054
+ description: string;
5055
+ locale: string;
5056
+ title: string;
5057
+ }[];
5058
+ status_code?: number | undefined;
5059
+ }> | undefined;
4948
5060
  }>;
4949
5061
  credential_endpoint: string;
4950
5062
  credential_issuer: string;
@@ -5673,6 +5785,14 @@ declare const SupportedCredentialMetadata: z.ZodIntersection<z.ZodDiscriminatedU
5673
5785
  }, z.core.$strip>>>;
5674
5786
  }, z.core.$strip>;
5675
5787
  cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
5788
+ issuance_errors_supported: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
5789
+ display: z.ZodArray<z.ZodObject<{
5790
+ description: z.ZodString;
5791
+ locale: z.ZodString;
5792
+ title: z.ZodString;
5793
+ }, z.core.$strip>>;
5794
+ status_code: z.ZodOptional<z.ZodNumber>;
5795
+ }, z.core.$strip>>>;
5676
5796
  proof_types_supported: z.ZodObject<{
5677
5797
  jwt: z.ZodObject<{
5678
5798
  key_attestations_required: z.ZodOptional<z.ZodObject<{
@@ -5761,6 +5881,14 @@ declare const itWalletCredentialIssuerMetadata: z.ZodObject<{
5761
5881
  }, z.core.$strip>>>;
5762
5882
  }, z.core.$strip>;
5763
5883
  cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
5884
+ issuance_errors_supported: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
5885
+ display: z.ZodArray<z.ZodObject<{
5886
+ description: z.ZodString;
5887
+ locale: z.ZodString;
5888
+ title: z.ZodString;
5889
+ }, z.core.$strip>>;
5890
+ status_code: z.ZodOptional<z.ZodNumber>;
5891
+ }, z.core.$strip>>>;
5764
5892
  proof_types_supported: z.ZodObject<{
5765
5893
  jwt: z.ZodObject<{
5766
5894
  key_attestations_required: z.ZodOptional<z.ZodObject<{
package/dist/index.js CHANGED
@@ -688,6 +688,16 @@ var AuthenticSources = import_zod19.z.object({
688
688
  dataset_id: import_zod19.z.string(),
689
689
  entity_id: import_zod19.z.string()
690
690
  });
691
+ var LegacyIssuanceErrorSupported = import_zod19.z.object({
692
+ display: import_zod19.z.array(
693
+ import_zod19.z.object({
694
+ description: import_zod19.z.string(),
695
+ locale: import_zod19.z.string(),
696
+ title: import_zod19.z.string()
697
+ })
698
+ ),
699
+ status_code: import_zod19.z.number().optional()
700
+ });
691
701
  var SupportedCredentialMetadata2 = import_zod19.z.intersection(
692
702
  import_zod19.z.discriminatedUnion("format", [
693
703
  import_zod19.z.object({
@@ -705,6 +715,13 @@ var SupportedCredentialMetadata2 = import_zod19.z.intersection(
705
715
  authentic_sources: AuthenticSources,
706
716
  credential_metadata: CredentialMetadata,
707
717
  cryptographic_binding_methods_supported: import_zod19.z.array(import_zod19.z.string()),
718
+ /**
719
+ * @deprecated Use `error_description` in the Issuer response: https://italia.github.io/eid-wallet-it-docs/releases/1.3.3/en/credential-issuer-endpoint.html#credential-response
720
+ *
721
+ * Map of errors that can occur during credential issuance. Retained from the legacy
722
+ * specifications while waiting for full compliance with the new error specifications.
723
+ */
724
+ issuance_errors_supported: import_zod19.z.record(import_zod19.z.string(), LegacyIssuanceErrorSupported).optional(),
708
725
  proof_types_supported: ProofTypesSupported,
709
726
  schema_id: import_zod19.z.string(),
710
727
  scope: import_zod19.z.string()