@pagopa/io-wallet-oid-federation 1.4.2 → 1.5.0

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
@@ -148,7 +148,7 @@ declare const itWalletMetadataV1_0: z.ZodObject<{
148
148
  token_endpoint_auth_signing_alg_values_supported: z.ZodArray<z.ZodString>;
149
149
  }, z.core.$loose>>;
150
150
  openid_credential_issuer: z.ZodOptional<z.ZodObject<{
151
- authorization_servers: z.ZodOptional<z.ZodArray<z.ZodURL>>;
151
+ authorization_servers: z.ZodOptional<z.ZodTuple<[z.ZodURL], z.ZodURL>>;
152
152
  batch_credential_issuance: z.ZodObject<{
153
153
  batch_size: z.ZodNumber;
154
154
  }, z.core.$strip>;
@@ -319,7 +319,7 @@ declare const itWalletMetadataV1_3: z.ZodObject<{
319
319
  token_endpoint_auth_signing_alg_values_supported: z.ZodArray<z.ZodString>;
320
320
  }, z.core.$loose>>;
321
321
  openid_credential_issuer: z.ZodOptional<z.ZodObject<{
322
- authorization_servers: z.ZodOptional<z.ZodArray<z.ZodURL>>;
322
+ authorization_servers: z.ZodOptional<z.ZodTuple<[z.ZodURL], z.ZodURL>>;
323
323
  batch_credential_issuance: z.ZodOptional<z.ZodObject<{
324
324
  batch_size: z.ZodNumber;
325
325
  }, z.core.$strip>>;
@@ -564,7 +564,7 @@ declare const itWalletMetadataSchema: z.ZodUnion<[z.ZodObject<{
564
564
  token_endpoint_auth_signing_alg_values_supported: z.ZodArray<z.ZodString>;
565
565
  }, z.core.$loose>>;
566
566
  openid_credential_issuer: z.ZodOptional<z.ZodObject<{
567
- authorization_servers: z.ZodOptional<z.ZodArray<z.ZodURL>>;
567
+ authorization_servers: z.ZodOptional<z.ZodTuple<[z.ZodURL], z.ZodURL>>;
568
568
  batch_credential_issuance: z.ZodOptional<z.ZodObject<{
569
569
  batch_size: z.ZodNumber;
570
570
  }, z.core.$strip>>;
@@ -806,7 +806,7 @@ declare const itWalletMetadataSchema: z.ZodUnion<[z.ZodObject<{
806
806
  token_endpoint_auth_signing_alg_values_supported: z.ZodArray<z.ZodString>;
807
807
  }, z.core.$loose>>;
808
808
  openid_credential_issuer: z.ZodOptional<z.ZodObject<{
809
- authorization_servers: z.ZodOptional<z.ZodArray<z.ZodURL>>;
809
+ authorization_servers: z.ZodOptional<z.ZodTuple<[z.ZodURL], z.ZodURL>>;
810
810
  batch_credential_issuance: z.ZodObject<{
811
811
  batch_size: z.ZodNumber;
812
812
  }, z.core.$strip>;
@@ -1028,7 +1028,7 @@ declare const baseSchema: z.ZodObject<{
1028
1028
  token_endpoint_auth_signing_alg_values_supported: z.ZodArray<z.ZodString>;
1029
1029
  }, z.core.$loose>>;
1030
1030
  openid_credential_issuer: z.ZodOptional<z.ZodObject<{
1031
- authorization_servers: z.ZodOptional<z.ZodArray<z.ZodURL>>;
1031
+ authorization_servers: z.ZodOptional<z.ZodTuple<[z.ZodURL], z.ZodURL>>;
1032
1032
  batch_credential_issuance: z.ZodOptional<z.ZodObject<{
1033
1033
  batch_size: z.ZodNumber;
1034
1034
  }, z.core.$strip>>;
@@ -1270,7 +1270,7 @@ declare const baseSchema: z.ZodObject<{
1270
1270
  token_endpoint_auth_signing_alg_values_supported: z.ZodArray<z.ZodString>;
1271
1271
  }, z.core.$loose>>;
1272
1272
  openid_credential_issuer: z.ZodOptional<z.ZodObject<{
1273
- authorization_servers: z.ZodOptional<z.ZodArray<z.ZodURL>>;
1273
+ authorization_servers: z.ZodOptional<z.ZodTuple<[z.ZodURL], z.ZodURL>>;
1274
1274
  batch_credential_issuance: z.ZodObject<{
1275
1275
  batch_size: z.ZodNumber;
1276
1276
  }, z.core.$strip>;
@@ -1595,7 +1595,7 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
1595
1595
  status_assertion_endpoint: string;
1596
1596
  status_attestation_endpoint: string;
1597
1597
  trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet")[];
1598
- authorization_servers?: string[] | undefined;
1598
+ authorization_servers?: [string, ...string[]] | undefined;
1599
1599
  } | undefined;
1600
1600
  openid_credential_verifier?: {
1601
1601
  [x: string]: unknown;
@@ -1792,7 +1792,7 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
1792
1792
  }[];
1793
1793
  };
1794
1794
  trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet" | "it_l2+document_proof" | "it_spid")[];
1795
- authorization_servers?: string[] | undefined;
1795
+ authorization_servers?: [string, ...string[]] | undefined;
1796
1796
  batch_credential_issuance?: {
1797
1797
  batch_size: number;
1798
1798
  } | undefined;
@@ -2077,7 +2077,7 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
2077
2077
  status_assertion_endpoint: string;
2078
2078
  status_attestation_endpoint: string;
2079
2079
  trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet")[];
2080
- authorization_servers?: string[] | undefined;
2080
+ authorization_servers?: [string, ...string[]] | undefined;
2081
2081
  } | undefined;
2082
2082
  openid_credential_verifier?: {
2083
2083
  [x: string]: unknown;
@@ -2274,7 +2274,7 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
2274
2274
  }[];
2275
2275
  };
2276
2276
  trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet" | "it_l2+document_proof" | "it_spid")[];
2277
- authorization_servers?: string[] | undefined;
2277
+ authorization_servers?: [string, ...string[]] | undefined;
2278
2278
  batch_credential_issuance?: {
2279
2279
  batch_size: number;
2280
2280
  } | undefined;
@@ -2559,7 +2559,7 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
2559
2559
  status_assertion_endpoint: string;
2560
2560
  status_attestation_endpoint: string;
2561
2561
  trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet")[];
2562
- authorization_servers?: string[] | undefined;
2562
+ authorization_servers?: [string, ...string[]] | undefined;
2563
2563
  } | undefined;
2564
2564
  openid_credential_verifier?: {
2565
2565
  [x: string]: unknown;
@@ -2756,7 +2756,7 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
2756
2756
  }[];
2757
2757
  };
2758
2758
  trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet" | "it_l2+document_proof" | "it_spid")[];
2759
- authorization_servers?: string[] | undefined;
2759
+ authorization_servers?: [string, ...string[]] | undefined;
2760
2760
  batch_credential_issuance?: {
2761
2761
  batch_size: number;
2762
2762
  } | undefined;
@@ -3041,7 +3041,7 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
3041
3041
  status_assertion_endpoint: string;
3042
3042
  status_attestation_endpoint: string;
3043
3043
  trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet")[];
3044
- authorization_servers?: string[] | undefined;
3044
+ authorization_servers?: [string, ...string[]] | undefined;
3045
3045
  } | undefined;
3046
3046
  openid_credential_verifier?: {
3047
3047
  [x: string]: unknown;
@@ -3238,7 +3238,7 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
3238
3238
  }[];
3239
3239
  };
3240
3240
  trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet" | "it_l2+document_proof" | "it_spid")[];
3241
- authorization_servers?: string[] | undefined;
3241
+ authorization_servers?: [string, ...string[]] | undefined;
3242
3242
  batch_credential_issuance?: {
3243
3243
  batch_size: number;
3244
3244
  } | undefined;
@@ -3673,7 +3673,7 @@ declare const SupportedCredentialMetadata$1: z.ZodIntersection<z.ZodDiscriminate
3673
3673
  scope: z.ZodString;
3674
3674
  }, z.core.$strip>>;
3675
3675
  declare const itWalletCredentialIssuerMetadata$1: z.ZodObject<{
3676
- authorization_servers: z.ZodOptional<z.ZodArray<z.ZodURL>>;
3676
+ authorization_servers: z.ZodOptional<z.ZodTuple<[z.ZodURL], z.ZodURL>>;
3677
3677
  batch_credential_issuance: z.ZodObject<{
3678
3678
  batch_size: z.ZodNumber;
3679
3679
  }, z.core.$strip>;
@@ -3979,7 +3979,7 @@ declare const SupportedCredentialMetadata: z.ZodIntersection<z.ZodDiscriminatedU
3979
3979
  * {@link https://italia.github.io/eid-wallet-it-docs/releases/1.3.0/en/credential-issuer-solution.html#metadata-for-openid-credential-issuer}
3980
3980
  */
3981
3981
  declare const itWalletCredentialIssuerMetadata: z.ZodObject<{
3982
- authorization_servers: z.ZodOptional<z.ZodArray<z.ZodURL>>;
3982
+ authorization_servers: z.ZodOptional<z.ZodTuple<[z.ZodURL], z.ZodURL>>;
3983
3983
  batch_credential_issuance: z.ZodOptional<z.ZodObject<{
3984
3984
  batch_size: z.ZodNumber;
3985
3985
  }, z.core.$strip>>;
package/dist/index.d.ts CHANGED
@@ -148,7 +148,7 @@ declare const itWalletMetadataV1_0: z.ZodObject<{
148
148
  token_endpoint_auth_signing_alg_values_supported: z.ZodArray<z.ZodString>;
149
149
  }, z.core.$loose>>;
150
150
  openid_credential_issuer: z.ZodOptional<z.ZodObject<{
151
- authorization_servers: z.ZodOptional<z.ZodArray<z.ZodURL>>;
151
+ authorization_servers: z.ZodOptional<z.ZodTuple<[z.ZodURL], z.ZodURL>>;
152
152
  batch_credential_issuance: z.ZodObject<{
153
153
  batch_size: z.ZodNumber;
154
154
  }, z.core.$strip>;
@@ -319,7 +319,7 @@ declare const itWalletMetadataV1_3: z.ZodObject<{
319
319
  token_endpoint_auth_signing_alg_values_supported: z.ZodArray<z.ZodString>;
320
320
  }, z.core.$loose>>;
321
321
  openid_credential_issuer: z.ZodOptional<z.ZodObject<{
322
- authorization_servers: z.ZodOptional<z.ZodArray<z.ZodURL>>;
322
+ authorization_servers: z.ZodOptional<z.ZodTuple<[z.ZodURL], z.ZodURL>>;
323
323
  batch_credential_issuance: z.ZodOptional<z.ZodObject<{
324
324
  batch_size: z.ZodNumber;
325
325
  }, z.core.$strip>>;
@@ -564,7 +564,7 @@ declare const itWalletMetadataSchema: z.ZodUnion<[z.ZodObject<{
564
564
  token_endpoint_auth_signing_alg_values_supported: z.ZodArray<z.ZodString>;
565
565
  }, z.core.$loose>>;
566
566
  openid_credential_issuer: z.ZodOptional<z.ZodObject<{
567
- authorization_servers: z.ZodOptional<z.ZodArray<z.ZodURL>>;
567
+ authorization_servers: z.ZodOptional<z.ZodTuple<[z.ZodURL], z.ZodURL>>;
568
568
  batch_credential_issuance: z.ZodOptional<z.ZodObject<{
569
569
  batch_size: z.ZodNumber;
570
570
  }, z.core.$strip>>;
@@ -806,7 +806,7 @@ declare const itWalletMetadataSchema: z.ZodUnion<[z.ZodObject<{
806
806
  token_endpoint_auth_signing_alg_values_supported: z.ZodArray<z.ZodString>;
807
807
  }, z.core.$loose>>;
808
808
  openid_credential_issuer: z.ZodOptional<z.ZodObject<{
809
- authorization_servers: z.ZodOptional<z.ZodArray<z.ZodURL>>;
809
+ authorization_servers: z.ZodOptional<z.ZodTuple<[z.ZodURL], z.ZodURL>>;
810
810
  batch_credential_issuance: z.ZodObject<{
811
811
  batch_size: z.ZodNumber;
812
812
  }, z.core.$strip>;
@@ -1028,7 +1028,7 @@ declare const baseSchema: z.ZodObject<{
1028
1028
  token_endpoint_auth_signing_alg_values_supported: z.ZodArray<z.ZodString>;
1029
1029
  }, z.core.$loose>>;
1030
1030
  openid_credential_issuer: z.ZodOptional<z.ZodObject<{
1031
- authorization_servers: z.ZodOptional<z.ZodArray<z.ZodURL>>;
1031
+ authorization_servers: z.ZodOptional<z.ZodTuple<[z.ZodURL], z.ZodURL>>;
1032
1032
  batch_credential_issuance: z.ZodOptional<z.ZodObject<{
1033
1033
  batch_size: z.ZodNumber;
1034
1034
  }, z.core.$strip>>;
@@ -1270,7 +1270,7 @@ declare const baseSchema: z.ZodObject<{
1270
1270
  token_endpoint_auth_signing_alg_values_supported: z.ZodArray<z.ZodString>;
1271
1271
  }, z.core.$loose>>;
1272
1272
  openid_credential_issuer: z.ZodOptional<z.ZodObject<{
1273
- authorization_servers: z.ZodOptional<z.ZodArray<z.ZodURL>>;
1273
+ authorization_servers: z.ZodOptional<z.ZodTuple<[z.ZodURL], z.ZodURL>>;
1274
1274
  batch_credential_issuance: z.ZodObject<{
1275
1275
  batch_size: z.ZodNumber;
1276
1276
  }, z.core.$strip>;
@@ -1595,7 +1595,7 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
1595
1595
  status_assertion_endpoint: string;
1596
1596
  status_attestation_endpoint: string;
1597
1597
  trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet")[];
1598
- authorization_servers?: string[] | undefined;
1598
+ authorization_servers?: [string, ...string[]] | undefined;
1599
1599
  } | undefined;
1600
1600
  openid_credential_verifier?: {
1601
1601
  [x: string]: unknown;
@@ -1792,7 +1792,7 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
1792
1792
  }[];
1793
1793
  };
1794
1794
  trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet" | "it_l2+document_proof" | "it_spid")[];
1795
- authorization_servers?: string[] | undefined;
1795
+ authorization_servers?: [string, ...string[]] | undefined;
1796
1796
  batch_credential_issuance?: {
1797
1797
  batch_size: number;
1798
1798
  } | undefined;
@@ -2077,7 +2077,7 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
2077
2077
  status_assertion_endpoint: string;
2078
2078
  status_attestation_endpoint: string;
2079
2079
  trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet")[];
2080
- authorization_servers?: string[] | undefined;
2080
+ authorization_servers?: [string, ...string[]] | undefined;
2081
2081
  } | undefined;
2082
2082
  openid_credential_verifier?: {
2083
2083
  [x: string]: unknown;
@@ -2274,7 +2274,7 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
2274
2274
  }[];
2275
2275
  };
2276
2276
  trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet" | "it_l2+document_proof" | "it_spid")[];
2277
- authorization_servers?: string[] | undefined;
2277
+ authorization_servers?: [string, ...string[]] | undefined;
2278
2278
  batch_credential_issuance?: {
2279
2279
  batch_size: number;
2280
2280
  } | undefined;
@@ -2559,7 +2559,7 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
2559
2559
  status_assertion_endpoint: string;
2560
2560
  status_attestation_endpoint: string;
2561
2561
  trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet")[];
2562
- authorization_servers?: string[] | undefined;
2562
+ authorization_servers?: [string, ...string[]] | undefined;
2563
2563
  } | undefined;
2564
2564
  openid_credential_verifier?: {
2565
2565
  [x: string]: unknown;
@@ -2756,7 +2756,7 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
2756
2756
  }[];
2757
2757
  };
2758
2758
  trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet" | "it_l2+document_proof" | "it_spid")[];
2759
- authorization_servers?: string[] | undefined;
2759
+ authorization_servers?: [string, ...string[]] | undefined;
2760
2760
  batch_credential_issuance?: {
2761
2761
  batch_size: number;
2762
2762
  } | undefined;
@@ -3041,7 +3041,7 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
3041
3041
  status_assertion_endpoint: string;
3042
3042
  status_attestation_endpoint: string;
3043
3043
  trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet")[];
3044
- authorization_servers?: string[] | undefined;
3044
+ authorization_servers?: [string, ...string[]] | undefined;
3045
3045
  } | undefined;
3046
3046
  openid_credential_verifier?: {
3047
3047
  [x: string]: unknown;
@@ -3238,7 +3238,7 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
3238
3238
  }[];
3239
3239
  };
3240
3240
  trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet" | "it_l2+document_proof" | "it_spid")[];
3241
- authorization_servers?: string[] | undefined;
3241
+ authorization_servers?: [string, ...string[]] | undefined;
3242
3242
  batch_credential_issuance?: {
3243
3243
  batch_size: number;
3244
3244
  } | undefined;
@@ -3673,7 +3673,7 @@ declare const SupportedCredentialMetadata$1: z.ZodIntersection<z.ZodDiscriminate
3673
3673
  scope: z.ZodString;
3674
3674
  }, z.core.$strip>>;
3675
3675
  declare const itWalletCredentialIssuerMetadata$1: z.ZodObject<{
3676
- authorization_servers: z.ZodOptional<z.ZodArray<z.ZodURL>>;
3676
+ authorization_servers: z.ZodOptional<z.ZodTuple<[z.ZodURL], z.ZodURL>>;
3677
3677
  batch_credential_issuance: z.ZodObject<{
3678
3678
  batch_size: z.ZodNumber;
3679
3679
  }, z.core.$strip>;
@@ -3979,7 +3979,7 @@ declare const SupportedCredentialMetadata: z.ZodIntersection<z.ZodDiscriminatedU
3979
3979
  * {@link https://italia.github.io/eid-wallet-it-docs/releases/1.3.0/en/credential-issuer-solution.html#metadata-for-openid-credential-issuer}
3980
3980
  */
3981
3981
  declare const itWalletCredentialIssuerMetadata: z.ZodObject<{
3982
- authorization_servers: z.ZodOptional<z.ZodArray<z.ZodURL>>;
3982
+ authorization_servers: z.ZodOptional<z.ZodTuple<[z.ZodURL], z.ZodURL>>;
3983
3983
  batch_credential_issuance: z.ZodOptional<z.ZodObject<{
3984
3984
  batch_size: z.ZodNumber;
3985
3985
  }, z.core.$strip>>;
package/dist/index.js CHANGED
@@ -536,7 +536,7 @@ var SupportedCredentialMetadata = import_zod16.z.intersection(
536
536
  })
537
537
  );
538
538
  var itWalletCredentialIssuerMetadata = import_zod16.z.looseObject({
539
- authorization_servers: import_zod16.z.array(import_zod16.z.url()).optional(),
539
+ authorization_servers: import_zod16.z.tuple([import_zod16.z.url()], import_zod16.z.url()).optional(),
540
540
  batch_credential_issuance: import_zod16.z.object({
541
541
  batch_size: import_zod16.z.number().int()
542
542
  }),
@@ -702,7 +702,7 @@ var SupportedCredentialMetadata2 = import_zod19.z.intersection(
702
702
  })
703
703
  );
704
704
  var itWalletCredentialIssuerMetadata2 = import_zod19.z.looseObject({
705
- authorization_servers: import_zod19.z.array(import_zod19.z.url()).optional(),
705
+ authorization_servers: import_zod19.z.tuple([import_zod19.z.url()], import_zod19.z.url()).optional(),
706
706
  batch_credential_issuance: import_zod19.z.object({
707
707
  batch_size: import_zod19.z.number().int().positive()
708
708
  }).optional(),