@pagopa/io-wallet-oid-federation 1.4.2 → 1.5.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.
- package/dist/index.d.mts +34 -25
- package/dist/index.d.ts +34 -25
- package/dist/index.js +12 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -148,14 +148,16 @@ 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.
|
|
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>;
|
|
155
155
|
credential_configurations_supported: z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
156
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
156
157
|
format: z.ZodLiteral<"dc+sd-jwt">;
|
|
157
158
|
vct: z.ZodString;
|
|
158
159
|
}, z.core.$strip>, z.ZodObject<{
|
|
160
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodNumber>;
|
|
159
161
|
doctype: z.ZodString;
|
|
160
162
|
format: z.ZodLiteral<"mso_mdoc">;
|
|
161
163
|
}, z.core.$strip>], "format">, z.ZodObject<{
|
|
@@ -166,7 +168,6 @@ declare const itWalletMetadataV1_0: z.ZodObject<{
|
|
|
166
168
|
}, z.core.$strip>>;
|
|
167
169
|
path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>;
|
|
168
170
|
}, z.core.$strip>>;
|
|
169
|
-
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
170
171
|
cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
|
|
171
172
|
display: z.ZodArray<z.ZodObject<{
|
|
172
173
|
locale: z.ZodString;
|
|
@@ -319,7 +320,7 @@ declare const itWalletMetadataV1_3: z.ZodObject<{
|
|
|
319
320
|
token_endpoint_auth_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
320
321
|
}, z.core.$loose>>;
|
|
321
322
|
openid_credential_issuer: z.ZodOptional<z.ZodObject<{
|
|
322
|
-
authorization_servers: z.ZodOptional<z.
|
|
323
|
+
authorization_servers: z.ZodOptional<z.ZodTuple<[z.ZodURL], z.ZodURL>>;
|
|
323
324
|
batch_credential_issuance: z.ZodOptional<z.ZodObject<{
|
|
324
325
|
batch_size: z.ZodNumber;
|
|
325
326
|
}, z.core.$strip>>;
|
|
@@ -564,7 +565,7 @@ declare const itWalletMetadataSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
564
565
|
token_endpoint_auth_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
565
566
|
}, z.core.$loose>>;
|
|
566
567
|
openid_credential_issuer: z.ZodOptional<z.ZodObject<{
|
|
567
|
-
authorization_servers: z.ZodOptional<z.
|
|
568
|
+
authorization_servers: z.ZodOptional<z.ZodTuple<[z.ZodURL], z.ZodURL>>;
|
|
568
569
|
batch_credential_issuance: z.ZodOptional<z.ZodObject<{
|
|
569
570
|
batch_size: z.ZodNumber;
|
|
570
571
|
}, z.core.$strip>>;
|
|
@@ -806,14 +807,16 @@ declare const itWalletMetadataSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
806
807
|
token_endpoint_auth_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
807
808
|
}, z.core.$loose>>;
|
|
808
809
|
openid_credential_issuer: z.ZodOptional<z.ZodObject<{
|
|
809
|
-
authorization_servers: z.ZodOptional<z.
|
|
810
|
+
authorization_servers: z.ZodOptional<z.ZodTuple<[z.ZodURL], z.ZodURL>>;
|
|
810
811
|
batch_credential_issuance: z.ZodObject<{
|
|
811
812
|
batch_size: z.ZodNumber;
|
|
812
813
|
}, z.core.$strip>;
|
|
813
814
|
credential_configurations_supported: z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
815
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
814
816
|
format: z.ZodLiteral<"dc+sd-jwt">;
|
|
815
817
|
vct: z.ZodString;
|
|
816
818
|
}, z.core.$strip>, z.ZodObject<{
|
|
819
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodNumber>;
|
|
817
820
|
doctype: z.ZodString;
|
|
818
821
|
format: z.ZodLiteral<"mso_mdoc">;
|
|
819
822
|
}, z.core.$strip>], "format">, z.ZodObject<{
|
|
@@ -824,7 +827,6 @@ declare const itWalletMetadataSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
824
827
|
}, z.core.$strip>>;
|
|
825
828
|
path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>;
|
|
826
829
|
}, z.core.$strip>>;
|
|
827
|
-
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
828
830
|
cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
|
|
829
831
|
display: z.ZodArray<z.ZodObject<{
|
|
830
832
|
locale: z.ZodString;
|
|
@@ -1028,7 +1030,7 @@ declare const baseSchema: z.ZodObject<{
|
|
|
1028
1030
|
token_endpoint_auth_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
1029
1031
|
}, z.core.$loose>>;
|
|
1030
1032
|
openid_credential_issuer: z.ZodOptional<z.ZodObject<{
|
|
1031
|
-
authorization_servers: z.ZodOptional<z.
|
|
1033
|
+
authorization_servers: z.ZodOptional<z.ZodTuple<[z.ZodURL], z.ZodURL>>;
|
|
1032
1034
|
batch_credential_issuance: z.ZodOptional<z.ZodObject<{
|
|
1033
1035
|
batch_size: z.ZodNumber;
|
|
1034
1036
|
}, z.core.$strip>>;
|
|
@@ -1270,14 +1272,16 @@ declare const baseSchema: z.ZodObject<{
|
|
|
1270
1272
|
token_endpoint_auth_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
1271
1273
|
}, z.core.$loose>>;
|
|
1272
1274
|
openid_credential_issuer: z.ZodOptional<z.ZodObject<{
|
|
1273
|
-
authorization_servers: z.ZodOptional<z.
|
|
1275
|
+
authorization_servers: z.ZodOptional<z.ZodTuple<[z.ZodURL], z.ZodURL>>;
|
|
1274
1276
|
batch_credential_issuance: z.ZodObject<{
|
|
1275
1277
|
batch_size: z.ZodNumber;
|
|
1276
1278
|
}, z.core.$strip>;
|
|
1277
1279
|
credential_configurations_supported: z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1280
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
1278
1281
|
format: z.ZodLiteral<"dc+sd-jwt">;
|
|
1279
1282
|
vct: z.ZodString;
|
|
1280
1283
|
}, z.core.$strip>, z.ZodObject<{
|
|
1284
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodNumber>;
|
|
1281
1285
|
doctype: z.ZodString;
|
|
1282
1286
|
format: z.ZodLiteral<"mso_mdoc">;
|
|
1283
1287
|
}, z.core.$strip>], "format">, z.ZodObject<{
|
|
@@ -1288,7 +1292,6 @@ declare const baseSchema: z.ZodObject<{
|
|
|
1288
1292
|
}, z.core.$strip>>;
|
|
1289
1293
|
path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>;
|
|
1290
1294
|
}, z.core.$strip>>;
|
|
1291
|
-
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
1292
1295
|
cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
|
|
1293
1296
|
display: z.ZodArray<z.ZodObject<{
|
|
1294
1297
|
locale: z.ZodString;
|
|
@@ -1540,9 +1543,11 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
1540
1543
|
batch_size: number;
|
|
1541
1544
|
};
|
|
1542
1545
|
credential_configurations_supported: Record<string, ({
|
|
1546
|
+
credential_signing_alg_values_supported: string[];
|
|
1543
1547
|
format: "dc+sd-jwt";
|
|
1544
1548
|
vct: string;
|
|
1545
1549
|
} | {
|
|
1550
|
+
credential_signing_alg_values_supported: number[];
|
|
1546
1551
|
doctype: string;
|
|
1547
1552
|
format: "mso_mdoc";
|
|
1548
1553
|
}) & {
|
|
@@ -1553,7 +1558,6 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
1553
1558
|
}[];
|
|
1554
1559
|
path: (string | number | null)[];
|
|
1555
1560
|
}[];
|
|
1556
|
-
credential_signing_alg_values_supported: string[];
|
|
1557
1561
|
cryptographic_binding_methods_supported: string[];
|
|
1558
1562
|
display: {
|
|
1559
1563
|
locale: string;
|
|
@@ -1595,7 +1599,7 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
1595
1599
|
status_assertion_endpoint: string;
|
|
1596
1600
|
status_attestation_endpoint: string;
|
|
1597
1601
|
trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet")[];
|
|
1598
|
-
authorization_servers?: string[] | undefined;
|
|
1602
|
+
authorization_servers?: [string, ...string[]] | undefined;
|
|
1599
1603
|
} | undefined;
|
|
1600
1604
|
openid_credential_verifier?: {
|
|
1601
1605
|
[x: string]: unknown;
|
|
@@ -1792,7 +1796,7 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
1792
1796
|
}[];
|
|
1793
1797
|
};
|
|
1794
1798
|
trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet" | "it_l2+document_proof" | "it_spid")[];
|
|
1795
|
-
authorization_servers?: string[] | undefined;
|
|
1799
|
+
authorization_servers?: [string, ...string[]] | undefined;
|
|
1796
1800
|
batch_credential_issuance?: {
|
|
1797
1801
|
batch_size: number;
|
|
1798
1802
|
} | undefined;
|
|
@@ -2022,9 +2026,11 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
2022
2026
|
batch_size: number;
|
|
2023
2027
|
};
|
|
2024
2028
|
credential_configurations_supported: Record<string, ({
|
|
2029
|
+
credential_signing_alg_values_supported: string[];
|
|
2025
2030
|
format: "dc+sd-jwt";
|
|
2026
2031
|
vct: string;
|
|
2027
2032
|
} | {
|
|
2033
|
+
credential_signing_alg_values_supported: number[];
|
|
2028
2034
|
doctype: string;
|
|
2029
2035
|
format: "mso_mdoc";
|
|
2030
2036
|
}) & {
|
|
@@ -2035,7 +2041,6 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
2035
2041
|
}[];
|
|
2036
2042
|
path: (string | number | null)[];
|
|
2037
2043
|
}[];
|
|
2038
|
-
credential_signing_alg_values_supported: string[];
|
|
2039
2044
|
cryptographic_binding_methods_supported: string[];
|
|
2040
2045
|
display: {
|
|
2041
2046
|
locale: string;
|
|
@@ -2077,7 +2082,7 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
2077
2082
|
status_assertion_endpoint: string;
|
|
2078
2083
|
status_attestation_endpoint: string;
|
|
2079
2084
|
trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet")[];
|
|
2080
|
-
authorization_servers?: string[] | undefined;
|
|
2085
|
+
authorization_servers?: [string, ...string[]] | undefined;
|
|
2081
2086
|
} | undefined;
|
|
2082
2087
|
openid_credential_verifier?: {
|
|
2083
2088
|
[x: string]: unknown;
|
|
@@ -2274,7 +2279,7 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
2274
2279
|
}[];
|
|
2275
2280
|
};
|
|
2276
2281
|
trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet" | "it_l2+document_proof" | "it_spid")[];
|
|
2277
|
-
authorization_servers?: string[] | undefined;
|
|
2282
|
+
authorization_servers?: [string, ...string[]] | undefined;
|
|
2278
2283
|
batch_credential_issuance?: {
|
|
2279
2284
|
batch_size: number;
|
|
2280
2285
|
} | undefined;
|
|
@@ -2504,9 +2509,11 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
2504
2509
|
batch_size: number;
|
|
2505
2510
|
};
|
|
2506
2511
|
credential_configurations_supported: Record<string, ({
|
|
2512
|
+
credential_signing_alg_values_supported: string[];
|
|
2507
2513
|
format: "dc+sd-jwt";
|
|
2508
2514
|
vct: string;
|
|
2509
2515
|
} | {
|
|
2516
|
+
credential_signing_alg_values_supported: number[];
|
|
2510
2517
|
doctype: string;
|
|
2511
2518
|
format: "mso_mdoc";
|
|
2512
2519
|
}) & {
|
|
@@ -2517,7 +2524,6 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
2517
2524
|
}[];
|
|
2518
2525
|
path: (string | number | null)[];
|
|
2519
2526
|
}[];
|
|
2520
|
-
credential_signing_alg_values_supported: string[];
|
|
2521
2527
|
cryptographic_binding_methods_supported: string[];
|
|
2522
2528
|
display: {
|
|
2523
2529
|
locale: string;
|
|
@@ -2559,7 +2565,7 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
2559
2565
|
status_assertion_endpoint: string;
|
|
2560
2566
|
status_attestation_endpoint: string;
|
|
2561
2567
|
trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet")[];
|
|
2562
|
-
authorization_servers?: string[] | undefined;
|
|
2568
|
+
authorization_servers?: [string, ...string[]] | undefined;
|
|
2563
2569
|
} | undefined;
|
|
2564
2570
|
openid_credential_verifier?: {
|
|
2565
2571
|
[x: string]: unknown;
|
|
@@ -2756,7 +2762,7 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
2756
2762
|
}[];
|
|
2757
2763
|
};
|
|
2758
2764
|
trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet" | "it_l2+document_proof" | "it_spid")[];
|
|
2759
|
-
authorization_servers?: string[] | undefined;
|
|
2765
|
+
authorization_servers?: [string, ...string[]] | undefined;
|
|
2760
2766
|
batch_credential_issuance?: {
|
|
2761
2767
|
batch_size: number;
|
|
2762
2768
|
} | undefined;
|
|
@@ -2986,9 +2992,11 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
2986
2992
|
batch_size: number;
|
|
2987
2993
|
};
|
|
2988
2994
|
credential_configurations_supported: Record<string, ({
|
|
2995
|
+
credential_signing_alg_values_supported: string[];
|
|
2989
2996
|
format: "dc+sd-jwt";
|
|
2990
2997
|
vct: string;
|
|
2991
2998
|
} | {
|
|
2999
|
+
credential_signing_alg_values_supported: number[];
|
|
2992
3000
|
doctype: string;
|
|
2993
3001
|
format: "mso_mdoc";
|
|
2994
3002
|
}) & {
|
|
@@ -2999,7 +3007,6 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
2999
3007
|
}[];
|
|
3000
3008
|
path: (string | number | null)[];
|
|
3001
3009
|
}[];
|
|
3002
|
-
credential_signing_alg_values_supported: string[];
|
|
3003
3010
|
cryptographic_binding_methods_supported: string[];
|
|
3004
3011
|
display: {
|
|
3005
3012
|
locale: string;
|
|
@@ -3041,7 +3048,7 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
3041
3048
|
status_assertion_endpoint: string;
|
|
3042
3049
|
status_attestation_endpoint: string;
|
|
3043
3050
|
trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet")[];
|
|
3044
|
-
authorization_servers?: string[] | undefined;
|
|
3051
|
+
authorization_servers?: [string, ...string[]] | undefined;
|
|
3045
3052
|
} | undefined;
|
|
3046
3053
|
openid_credential_verifier?: {
|
|
3047
3054
|
[x: string]: unknown;
|
|
@@ -3238,7 +3245,7 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
3238
3245
|
}[];
|
|
3239
3246
|
};
|
|
3240
3247
|
trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet" | "it_l2+document_proof" | "it_spid")[];
|
|
3241
|
-
authorization_servers?: string[] | undefined;
|
|
3248
|
+
authorization_servers?: [string, ...string[]] | undefined;
|
|
3242
3249
|
batch_credential_issuance?: {
|
|
3243
3250
|
batch_size: number;
|
|
3244
3251
|
} | undefined;
|
|
@@ -3646,9 +3653,11 @@ declare const ClaimsMetadata$1: z.ZodObject<{
|
|
|
3646
3653
|
}, z.core.$strip>;
|
|
3647
3654
|
type SupportedCredentialMetadata$1 = z.infer<typeof SupportedCredentialMetadata$1>;
|
|
3648
3655
|
declare const SupportedCredentialMetadata$1: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3656
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
3649
3657
|
format: z.ZodLiteral<"dc+sd-jwt">;
|
|
3650
3658
|
vct: z.ZodString;
|
|
3651
3659
|
}, z.core.$strip>, z.ZodObject<{
|
|
3660
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodNumber>;
|
|
3652
3661
|
doctype: z.ZodString;
|
|
3653
3662
|
format: z.ZodLiteral<"mso_mdoc">;
|
|
3654
3663
|
}, z.core.$strip>], "format">, z.ZodObject<{
|
|
@@ -3659,7 +3668,6 @@ declare const SupportedCredentialMetadata$1: z.ZodIntersection<z.ZodDiscriminate
|
|
|
3659
3668
|
}, z.core.$strip>>;
|
|
3660
3669
|
path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>;
|
|
3661
3670
|
}, z.core.$strip>>;
|
|
3662
|
-
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
3663
3671
|
cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
|
|
3664
3672
|
display: z.ZodArray<z.ZodObject<{
|
|
3665
3673
|
locale: z.ZodString;
|
|
@@ -3673,14 +3681,16 @@ declare const SupportedCredentialMetadata$1: z.ZodIntersection<z.ZodDiscriminate
|
|
|
3673
3681
|
scope: z.ZodString;
|
|
3674
3682
|
}, z.core.$strip>>;
|
|
3675
3683
|
declare const itWalletCredentialIssuerMetadata$1: z.ZodObject<{
|
|
3676
|
-
authorization_servers: z.ZodOptional<z.
|
|
3684
|
+
authorization_servers: z.ZodOptional<z.ZodTuple<[z.ZodURL], z.ZodURL>>;
|
|
3677
3685
|
batch_credential_issuance: z.ZodObject<{
|
|
3678
3686
|
batch_size: z.ZodNumber;
|
|
3679
3687
|
}, z.core.$strip>;
|
|
3680
3688
|
credential_configurations_supported: z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3689
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
3681
3690
|
format: z.ZodLiteral<"dc+sd-jwt">;
|
|
3682
3691
|
vct: z.ZodString;
|
|
3683
3692
|
}, z.core.$strip>, z.ZodObject<{
|
|
3693
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodNumber>;
|
|
3684
3694
|
doctype: z.ZodString;
|
|
3685
3695
|
format: z.ZodLiteral<"mso_mdoc">;
|
|
3686
3696
|
}, z.core.$strip>], "format">, z.ZodObject<{
|
|
@@ -3691,7 +3701,6 @@ declare const itWalletCredentialIssuerMetadata$1: z.ZodObject<{
|
|
|
3691
3701
|
}, z.core.$strip>>;
|
|
3692
3702
|
path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>;
|
|
3693
3703
|
}, z.core.$strip>>;
|
|
3694
|
-
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
3695
3704
|
cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
|
|
3696
3705
|
display: z.ZodArray<z.ZodObject<{
|
|
3697
3706
|
locale: z.ZodString;
|
|
@@ -3979,7 +3988,7 @@ declare const SupportedCredentialMetadata: z.ZodIntersection<z.ZodDiscriminatedU
|
|
|
3979
3988
|
* {@link https://italia.github.io/eid-wallet-it-docs/releases/1.3.0/en/credential-issuer-solution.html#metadata-for-openid-credential-issuer}
|
|
3980
3989
|
*/
|
|
3981
3990
|
declare const itWalletCredentialIssuerMetadata: z.ZodObject<{
|
|
3982
|
-
authorization_servers: z.ZodOptional<z.
|
|
3991
|
+
authorization_servers: z.ZodOptional<z.ZodTuple<[z.ZodURL], z.ZodURL>>;
|
|
3983
3992
|
batch_credential_issuance: z.ZodOptional<z.ZodObject<{
|
|
3984
3993
|
batch_size: z.ZodNumber;
|
|
3985
3994
|
}, z.core.$strip>>;
|
package/dist/index.d.ts
CHANGED
|
@@ -148,14 +148,16 @@ 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.
|
|
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>;
|
|
155
155
|
credential_configurations_supported: z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
156
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
156
157
|
format: z.ZodLiteral<"dc+sd-jwt">;
|
|
157
158
|
vct: z.ZodString;
|
|
158
159
|
}, z.core.$strip>, z.ZodObject<{
|
|
160
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodNumber>;
|
|
159
161
|
doctype: z.ZodString;
|
|
160
162
|
format: z.ZodLiteral<"mso_mdoc">;
|
|
161
163
|
}, z.core.$strip>], "format">, z.ZodObject<{
|
|
@@ -166,7 +168,6 @@ declare const itWalletMetadataV1_0: z.ZodObject<{
|
|
|
166
168
|
}, z.core.$strip>>;
|
|
167
169
|
path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>;
|
|
168
170
|
}, z.core.$strip>>;
|
|
169
|
-
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
170
171
|
cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
|
|
171
172
|
display: z.ZodArray<z.ZodObject<{
|
|
172
173
|
locale: z.ZodString;
|
|
@@ -319,7 +320,7 @@ declare const itWalletMetadataV1_3: z.ZodObject<{
|
|
|
319
320
|
token_endpoint_auth_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
320
321
|
}, z.core.$loose>>;
|
|
321
322
|
openid_credential_issuer: z.ZodOptional<z.ZodObject<{
|
|
322
|
-
authorization_servers: z.ZodOptional<z.
|
|
323
|
+
authorization_servers: z.ZodOptional<z.ZodTuple<[z.ZodURL], z.ZodURL>>;
|
|
323
324
|
batch_credential_issuance: z.ZodOptional<z.ZodObject<{
|
|
324
325
|
batch_size: z.ZodNumber;
|
|
325
326
|
}, z.core.$strip>>;
|
|
@@ -564,7 +565,7 @@ declare const itWalletMetadataSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
564
565
|
token_endpoint_auth_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
565
566
|
}, z.core.$loose>>;
|
|
566
567
|
openid_credential_issuer: z.ZodOptional<z.ZodObject<{
|
|
567
|
-
authorization_servers: z.ZodOptional<z.
|
|
568
|
+
authorization_servers: z.ZodOptional<z.ZodTuple<[z.ZodURL], z.ZodURL>>;
|
|
568
569
|
batch_credential_issuance: z.ZodOptional<z.ZodObject<{
|
|
569
570
|
batch_size: z.ZodNumber;
|
|
570
571
|
}, z.core.$strip>>;
|
|
@@ -806,14 +807,16 @@ declare const itWalletMetadataSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
806
807
|
token_endpoint_auth_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
807
808
|
}, z.core.$loose>>;
|
|
808
809
|
openid_credential_issuer: z.ZodOptional<z.ZodObject<{
|
|
809
|
-
authorization_servers: z.ZodOptional<z.
|
|
810
|
+
authorization_servers: z.ZodOptional<z.ZodTuple<[z.ZodURL], z.ZodURL>>;
|
|
810
811
|
batch_credential_issuance: z.ZodObject<{
|
|
811
812
|
batch_size: z.ZodNumber;
|
|
812
813
|
}, z.core.$strip>;
|
|
813
814
|
credential_configurations_supported: z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
815
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
814
816
|
format: z.ZodLiteral<"dc+sd-jwt">;
|
|
815
817
|
vct: z.ZodString;
|
|
816
818
|
}, z.core.$strip>, z.ZodObject<{
|
|
819
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodNumber>;
|
|
817
820
|
doctype: z.ZodString;
|
|
818
821
|
format: z.ZodLiteral<"mso_mdoc">;
|
|
819
822
|
}, z.core.$strip>], "format">, z.ZodObject<{
|
|
@@ -824,7 +827,6 @@ declare const itWalletMetadataSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
824
827
|
}, z.core.$strip>>;
|
|
825
828
|
path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>;
|
|
826
829
|
}, z.core.$strip>>;
|
|
827
|
-
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
828
830
|
cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
|
|
829
831
|
display: z.ZodArray<z.ZodObject<{
|
|
830
832
|
locale: z.ZodString;
|
|
@@ -1028,7 +1030,7 @@ declare const baseSchema: z.ZodObject<{
|
|
|
1028
1030
|
token_endpoint_auth_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
1029
1031
|
}, z.core.$loose>>;
|
|
1030
1032
|
openid_credential_issuer: z.ZodOptional<z.ZodObject<{
|
|
1031
|
-
authorization_servers: z.ZodOptional<z.
|
|
1033
|
+
authorization_servers: z.ZodOptional<z.ZodTuple<[z.ZodURL], z.ZodURL>>;
|
|
1032
1034
|
batch_credential_issuance: z.ZodOptional<z.ZodObject<{
|
|
1033
1035
|
batch_size: z.ZodNumber;
|
|
1034
1036
|
}, z.core.$strip>>;
|
|
@@ -1270,14 +1272,16 @@ declare const baseSchema: z.ZodObject<{
|
|
|
1270
1272
|
token_endpoint_auth_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
1271
1273
|
}, z.core.$loose>>;
|
|
1272
1274
|
openid_credential_issuer: z.ZodOptional<z.ZodObject<{
|
|
1273
|
-
authorization_servers: z.ZodOptional<z.
|
|
1275
|
+
authorization_servers: z.ZodOptional<z.ZodTuple<[z.ZodURL], z.ZodURL>>;
|
|
1274
1276
|
batch_credential_issuance: z.ZodObject<{
|
|
1275
1277
|
batch_size: z.ZodNumber;
|
|
1276
1278
|
}, z.core.$strip>;
|
|
1277
1279
|
credential_configurations_supported: z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1280
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
1278
1281
|
format: z.ZodLiteral<"dc+sd-jwt">;
|
|
1279
1282
|
vct: z.ZodString;
|
|
1280
1283
|
}, z.core.$strip>, z.ZodObject<{
|
|
1284
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodNumber>;
|
|
1281
1285
|
doctype: z.ZodString;
|
|
1282
1286
|
format: z.ZodLiteral<"mso_mdoc">;
|
|
1283
1287
|
}, z.core.$strip>], "format">, z.ZodObject<{
|
|
@@ -1288,7 +1292,6 @@ declare const baseSchema: z.ZodObject<{
|
|
|
1288
1292
|
}, z.core.$strip>>;
|
|
1289
1293
|
path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>;
|
|
1290
1294
|
}, z.core.$strip>>;
|
|
1291
|
-
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
1292
1295
|
cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
|
|
1293
1296
|
display: z.ZodArray<z.ZodObject<{
|
|
1294
1297
|
locale: z.ZodString;
|
|
@@ -1540,9 +1543,11 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
1540
1543
|
batch_size: number;
|
|
1541
1544
|
};
|
|
1542
1545
|
credential_configurations_supported: Record<string, ({
|
|
1546
|
+
credential_signing_alg_values_supported: string[];
|
|
1543
1547
|
format: "dc+sd-jwt";
|
|
1544
1548
|
vct: string;
|
|
1545
1549
|
} | {
|
|
1550
|
+
credential_signing_alg_values_supported: number[];
|
|
1546
1551
|
doctype: string;
|
|
1547
1552
|
format: "mso_mdoc";
|
|
1548
1553
|
}) & {
|
|
@@ -1553,7 +1558,6 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
1553
1558
|
}[];
|
|
1554
1559
|
path: (string | number | null)[];
|
|
1555
1560
|
}[];
|
|
1556
|
-
credential_signing_alg_values_supported: string[];
|
|
1557
1561
|
cryptographic_binding_methods_supported: string[];
|
|
1558
1562
|
display: {
|
|
1559
1563
|
locale: string;
|
|
@@ -1595,7 +1599,7 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
1595
1599
|
status_assertion_endpoint: string;
|
|
1596
1600
|
status_attestation_endpoint: string;
|
|
1597
1601
|
trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet")[];
|
|
1598
|
-
authorization_servers?: string[] | undefined;
|
|
1602
|
+
authorization_servers?: [string, ...string[]] | undefined;
|
|
1599
1603
|
} | undefined;
|
|
1600
1604
|
openid_credential_verifier?: {
|
|
1601
1605
|
[x: string]: unknown;
|
|
@@ -1792,7 +1796,7 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
1792
1796
|
}[];
|
|
1793
1797
|
};
|
|
1794
1798
|
trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet" | "it_l2+document_proof" | "it_spid")[];
|
|
1795
|
-
authorization_servers?: string[] | undefined;
|
|
1799
|
+
authorization_servers?: [string, ...string[]] | undefined;
|
|
1796
1800
|
batch_credential_issuance?: {
|
|
1797
1801
|
batch_size: number;
|
|
1798
1802
|
} | undefined;
|
|
@@ -2022,9 +2026,11 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
2022
2026
|
batch_size: number;
|
|
2023
2027
|
};
|
|
2024
2028
|
credential_configurations_supported: Record<string, ({
|
|
2029
|
+
credential_signing_alg_values_supported: string[];
|
|
2025
2030
|
format: "dc+sd-jwt";
|
|
2026
2031
|
vct: string;
|
|
2027
2032
|
} | {
|
|
2033
|
+
credential_signing_alg_values_supported: number[];
|
|
2028
2034
|
doctype: string;
|
|
2029
2035
|
format: "mso_mdoc";
|
|
2030
2036
|
}) & {
|
|
@@ -2035,7 +2041,6 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
2035
2041
|
}[];
|
|
2036
2042
|
path: (string | number | null)[];
|
|
2037
2043
|
}[];
|
|
2038
|
-
credential_signing_alg_values_supported: string[];
|
|
2039
2044
|
cryptographic_binding_methods_supported: string[];
|
|
2040
2045
|
display: {
|
|
2041
2046
|
locale: string;
|
|
@@ -2077,7 +2082,7 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
2077
2082
|
status_assertion_endpoint: string;
|
|
2078
2083
|
status_attestation_endpoint: string;
|
|
2079
2084
|
trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet")[];
|
|
2080
|
-
authorization_servers?: string[] | undefined;
|
|
2085
|
+
authorization_servers?: [string, ...string[]] | undefined;
|
|
2081
2086
|
} | undefined;
|
|
2082
2087
|
openid_credential_verifier?: {
|
|
2083
2088
|
[x: string]: unknown;
|
|
@@ -2274,7 +2279,7 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
2274
2279
|
}[];
|
|
2275
2280
|
};
|
|
2276
2281
|
trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet" | "it_l2+document_proof" | "it_spid")[];
|
|
2277
|
-
authorization_servers?: string[] | undefined;
|
|
2282
|
+
authorization_servers?: [string, ...string[]] | undefined;
|
|
2278
2283
|
batch_credential_issuance?: {
|
|
2279
2284
|
batch_size: number;
|
|
2280
2285
|
} | undefined;
|
|
@@ -2504,9 +2509,11 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
2504
2509
|
batch_size: number;
|
|
2505
2510
|
};
|
|
2506
2511
|
credential_configurations_supported: Record<string, ({
|
|
2512
|
+
credential_signing_alg_values_supported: string[];
|
|
2507
2513
|
format: "dc+sd-jwt";
|
|
2508
2514
|
vct: string;
|
|
2509
2515
|
} | {
|
|
2516
|
+
credential_signing_alg_values_supported: number[];
|
|
2510
2517
|
doctype: string;
|
|
2511
2518
|
format: "mso_mdoc";
|
|
2512
2519
|
}) & {
|
|
@@ -2517,7 +2524,6 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
2517
2524
|
}[];
|
|
2518
2525
|
path: (string | number | null)[];
|
|
2519
2526
|
}[];
|
|
2520
|
-
credential_signing_alg_values_supported: string[];
|
|
2521
2527
|
cryptographic_binding_methods_supported: string[];
|
|
2522
2528
|
display: {
|
|
2523
2529
|
locale: string;
|
|
@@ -2559,7 +2565,7 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
2559
2565
|
status_assertion_endpoint: string;
|
|
2560
2566
|
status_attestation_endpoint: string;
|
|
2561
2567
|
trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet")[];
|
|
2562
|
-
authorization_servers?: string[] | undefined;
|
|
2568
|
+
authorization_servers?: [string, ...string[]] | undefined;
|
|
2563
2569
|
} | undefined;
|
|
2564
2570
|
openid_credential_verifier?: {
|
|
2565
2571
|
[x: string]: unknown;
|
|
@@ -2756,7 +2762,7 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
2756
2762
|
}[];
|
|
2757
2763
|
};
|
|
2758
2764
|
trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet" | "it_l2+document_proof" | "it_spid")[];
|
|
2759
|
-
authorization_servers?: string[] | undefined;
|
|
2765
|
+
authorization_servers?: [string, ...string[]] | undefined;
|
|
2760
2766
|
batch_credential_issuance?: {
|
|
2761
2767
|
batch_size: number;
|
|
2762
2768
|
} | undefined;
|
|
@@ -2986,9 +2992,11 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
2986
2992
|
batch_size: number;
|
|
2987
2993
|
};
|
|
2988
2994
|
credential_configurations_supported: Record<string, ({
|
|
2995
|
+
credential_signing_alg_values_supported: string[];
|
|
2989
2996
|
format: "dc+sd-jwt";
|
|
2990
2997
|
vct: string;
|
|
2991
2998
|
} | {
|
|
2999
|
+
credential_signing_alg_values_supported: number[];
|
|
2992
3000
|
doctype: string;
|
|
2993
3001
|
format: "mso_mdoc";
|
|
2994
3002
|
}) & {
|
|
@@ -2999,7 +3007,6 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
2999
3007
|
}[];
|
|
3000
3008
|
path: (string | number | null)[];
|
|
3001
3009
|
}[];
|
|
3002
|
-
credential_signing_alg_values_supported: string[];
|
|
3003
3010
|
cryptographic_binding_methods_supported: string[];
|
|
3004
3011
|
display: {
|
|
3005
3012
|
locale: string;
|
|
@@ -3041,7 +3048,7 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
3041
3048
|
status_assertion_endpoint: string;
|
|
3042
3049
|
status_attestation_endpoint: string;
|
|
3043
3050
|
trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet")[];
|
|
3044
|
-
authorization_servers?: string[] | undefined;
|
|
3051
|
+
authorization_servers?: [string, ...string[]] | undefined;
|
|
3045
3052
|
} | undefined;
|
|
3046
3053
|
openid_credential_verifier?: {
|
|
3047
3054
|
[x: string]: unknown;
|
|
@@ -3238,7 +3245,7 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
3238
3245
|
}[];
|
|
3239
3246
|
};
|
|
3240
3247
|
trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet" | "it_l2+document_proof" | "it_spid")[];
|
|
3241
|
-
authorization_servers?: string[] | undefined;
|
|
3248
|
+
authorization_servers?: [string, ...string[]] | undefined;
|
|
3242
3249
|
batch_credential_issuance?: {
|
|
3243
3250
|
batch_size: number;
|
|
3244
3251
|
} | undefined;
|
|
@@ -3646,9 +3653,11 @@ declare const ClaimsMetadata$1: z.ZodObject<{
|
|
|
3646
3653
|
}, z.core.$strip>;
|
|
3647
3654
|
type SupportedCredentialMetadata$1 = z.infer<typeof SupportedCredentialMetadata$1>;
|
|
3648
3655
|
declare const SupportedCredentialMetadata$1: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3656
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
3649
3657
|
format: z.ZodLiteral<"dc+sd-jwt">;
|
|
3650
3658
|
vct: z.ZodString;
|
|
3651
3659
|
}, z.core.$strip>, z.ZodObject<{
|
|
3660
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodNumber>;
|
|
3652
3661
|
doctype: z.ZodString;
|
|
3653
3662
|
format: z.ZodLiteral<"mso_mdoc">;
|
|
3654
3663
|
}, z.core.$strip>], "format">, z.ZodObject<{
|
|
@@ -3659,7 +3668,6 @@ declare const SupportedCredentialMetadata$1: z.ZodIntersection<z.ZodDiscriminate
|
|
|
3659
3668
|
}, z.core.$strip>>;
|
|
3660
3669
|
path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>;
|
|
3661
3670
|
}, z.core.$strip>>;
|
|
3662
|
-
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
3663
3671
|
cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
|
|
3664
3672
|
display: z.ZodArray<z.ZodObject<{
|
|
3665
3673
|
locale: z.ZodString;
|
|
@@ -3673,14 +3681,16 @@ declare const SupportedCredentialMetadata$1: z.ZodIntersection<z.ZodDiscriminate
|
|
|
3673
3681
|
scope: z.ZodString;
|
|
3674
3682
|
}, z.core.$strip>>;
|
|
3675
3683
|
declare const itWalletCredentialIssuerMetadata$1: z.ZodObject<{
|
|
3676
|
-
authorization_servers: z.ZodOptional<z.
|
|
3684
|
+
authorization_servers: z.ZodOptional<z.ZodTuple<[z.ZodURL], z.ZodURL>>;
|
|
3677
3685
|
batch_credential_issuance: z.ZodObject<{
|
|
3678
3686
|
batch_size: z.ZodNumber;
|
|
3679
3687
|
}, z.core.$strip>;
|
|
3680
3688
|
credential_configurations_supported: z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3689
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
3681
3690
|
format: z.ZodLiteral<"dc+sd-jwt">;
|
|
3682
3691
|
vct: z.ZodString;
|
|
3683
3692
|
}, z.core.$strip>, z.ZodObject<{
|
|
3693
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodNumber>;
|
|
3684
3694
|
doctype: z.ZodString;
|
|
3685
3695
|
format: z.ZodLiteral<"mso_mdoc">;
|
|
3686
3696
|
}, z.core.$strip>], "format">, z.ZodObject<{
|
|
@@ -3691,7 +3701,6 @@ declare const itWalletCredentialIssuerMetadata$1: z.ZodObject<{
|
|
|
3691
3701
|
}, z.core.$strip>>;
|
|
3692
3702
|
path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>;
|
|
3693
3703
|
}, z.core.$strip>>;
|
|
3694
|
-
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
3695
3704
|
cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
|
|
3696
3705
|
display: z.ZodArray<z.ZodObject<{
|
|
3697
3706
|
locale: z.ZodString;
|
|
@@ -3979,7 +3988,7 @@ declare const SupportedCredentialMetadata: z.ZodIntersection<z.ZodDiscriminatedU
|
|
|
3979
3988
|
* {@link https://italia.github.io/eid-wallet-it-docs/releases/1.3.0/en/credential-issuer-solution.html#metadata-for-openid-credential-issuer}
|
|
3980
3989
|
*/
|
|
3981
3990
|
declare const itWalletCredentialIssuerMetadata: z.ZodObject<{
|
|
3982
|
-
authorization_servers: z.ZodOptional<z.
|
|
3991
|
+
authorization_servers: z.ZodOptional<z.ZodTuple<[z.ZodURL], z.ZodURL>>;
|
|
3983
3992
|
batch_credential_issuance: z.ZodOptional<z.ZodObject<{
|
|
3984
3993
|
batch_size: z.ZodNumber;
|
|
3985
3994
|
}, z.core.$strip>>;
|
package/dist/index.js
CHANGED
|
@@ -519,12 +519,19 @@ var ClaimsMetadata = import_zod16.z.object({
|
|
|
519
519
|
});
|
|
520
520
|
var SupportedCredentialMetadata = import_zod16.z.intersection(
|
|
521
521
|
import_zod16.z.discriminatedUnion("format", [
|
|
522
|
-
import_zod16.z.object({
|
|
523
|
-
|
|
522
|
+
import_zod16.z.object({
|
|
523
|
+
credential_signing_alg_values_supported: import_zod16.z.array(import_zod16.z.string()),
|
|
524
|
+
format: import_zod16.z.literal("dc+sd-jwt"),
|
|
525
|
+
vct: import_zod16.z.string()
|
|
526
|
+
}),
|
|
527
|
+
import_zod16.z.object({
|
|
528
|
+
credential_signing_alg_values_supported: import_zod16.z.array(import_zod16.z.number().int()),
|
|
529
|
+
doctype: import_zod16.z.string(),
|
|
530
|
+
format: import_zod16.z.literal("mso_mdoc")
|
|
531
|
+
})
|
|
524
532
|
]),
|
|
525
533
|
import_zod16.z.object({
|
|
526
534
|
claims: import_zod16.z.array(ClaimsMetadata),
|
|
527
|
-
credential_signing_alg_values_supported: import_zod16.z.array(import_zod16.z.string()),
|
|
528
535
|
cryptographic_binding_methods_supported: import_zod16.z.array(import_zod16.z.string()),
|
|
529
536
|
display: import_zod16.z.array(CredentialDisplayMetadata),
|
|
530
537
|
proof_types_supported: import_zod16.z.object({
|
|
@@ -536,7 +543,7 @@ var SupportedCredentialMetadata = import_zod16.z.intersection(
|
|
|
536
543
|
})
|
|
537
544
|
);
|
|
538
545
|
var itWalletCredentialIssuerMetadata = import_zod16.z.looseObject({
|
|
539
|
-
authorization_servers: import_zod16.z.
|
|
546
|
+
authorization_servers: import_zod16.z.tuple([import_zod16.z.url()], import_zod16.z.url()).optional(),
|
|
540
547
|
batch_credential_issuance: import_zod16.z.object({
|
|
541
548
|
batch_size: import_zod16.z.number().int()
|
|
542
549
|
}),
|
|
@@ -702,7 +709,7 @@ var SupportedCredentialMetadata2 = import_zod19.z.intersection(
|
|
|
702
709
|
})
|
|
703
710
|
);
|
|
704
711
|
var itWalletCredentialIssuerMetadata2 = import_zod19.z.looseObject({
|
|
705
|
-
authorization_servers: import_zod19.z.
|
|
712
|
+
authorization_servers: import_zod19.z.tuple([import_zod19.z.url()], import_zod19.z.url()).optional(),
|
|
706
713
|
batch_credential_issuance: import_zod19.z.object({
|
|
707
714
|
batch_size: import_zod19.z.number().int().positive()
|
|
708
715
|
}).optional(),
|