@pagopa/io-wallet-oid-federation 1.4.1 → 1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +26 -17
- package/dist/index.d.ts +26 -17
- package/dist/index.js +13 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -324,9 +324,11 @@ declare const itWalletMetadataV1_3: z.ZodObject<{
|
|
|
324
324
|
batch_size: z.ZodNumber;
|
|
325
325
|
}, z.core.$strip>>;
|
|
326
326
|
credential_configurations_supported: z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
327
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
327
328
|
format: z.ZodLiteral<"dc+sd-jwt">;
|
|
328
329
|
vct: z.ZodString;
|
|
329
330
|
}, z.core.$strip>, z.ZodObject<{
|
|
331
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodNumber>;
|
|
330
332
|
doctype: z.ZodString;
|
|
331
333
|
format: z.ZodLiteral<"mso_mdoc">;
|
|
332
334
|
}, z.core.$strip>], "format">, z.ZodObject<{
|
|
@@ -370,7 +372,6 @@ declare const itWalletMetadataV1_3: z.ZodObject<{
|
|
|
370
372
|
}, z.core.$strip>>;
|
|
371
373
|
}, z.core.$strip>>>;
|
|
372
374
|
}, z.core.$strip>;
|
|
373
|
-
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
374
375
|
cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
|
|
375
376
|
proof_types_supported: z.ZodObject<{
|
|
376
377
|
jwt: z.ZodObject<{
|
|
@@ -434,7 +435,7 @@ declare const itWalletMetadataV1_3: z.ZodObject<{
|
|
|
434
435
|
nonce_endpoint: z.ZodOptional<z.ZodURL>;
|
|
435
436
|
notification_endpoint: z.ZodOptional<z.ZodURL>;
|
|
436
437
|
status_list_aggregation_endpoint: z.ZodOptional<z.ZodURL>;
|
|
437
|
-
trust_frameworks_supported: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"eudi_wallet">, z.ZodLiteral<"it_cie">, z.ZodLiteral<"it_wallet">, z.ZodLiteral<"it_l2+document_proof">]>>;
|
|
438
|
+
trust_frameworks_supported: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"eudi_wallet">, z.ZodLiteral<"it_cie">, z.ZodLiteral<"it_wallet">, z.ZodLiteral<"it_l2+document_proof">, z.ZodLiteral<"it_spid">]>>;
|
|
438
439
|
}, z.core.$loose>>;
|
|
439
440
|
openid_credential_verifier: z.ZodOptional<z.ZodObject<{
|
|
440
441
|
application_type: z.ZodLiteral<"web">;
|
|
@@ -568,9 +569,11 @@ declare const itWalletMetadataSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
568
569
|
batch_size: z.ZodNumber;
|
|
569
570
|
}, z.core.$strip>>;
|
|
570
571
|
credential_configurations_supported: z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
572
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
571
573
|
format: z.ZodLiteral<"dc+sd-jwt">;
|
|
572
574
|
vct: z.ZodString;
|
|
573
575
|
}, z.core.$strip>, z.ZodObject<{
|
|
576
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodNumber>;
|
|
574
577
|
doctype: z.ZodString;
|
|
575
578
|
format: z.ZodLiteral<"mso_mdoc">;
|
|
576
579
|
}, z.core.$strip>], "format">, z.ZodObject<{
|
|
@@ -614,7 +617,6 @@ declare const itWalletMetadataSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
614
617
|
}, z.core.$strip>>;
|
|
615
618
|
}, z.core.$strip>>>;
|
|
616
619
|
}, z.core.$strip>;
|
|
617
|
-
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
618
620
|
cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
|
|
619
621
|
proof_types_supported: z.ZodObject<{
|
|
620
622
|
jwt: z.ZodObject<{
|
|
@@ -678,7 +680,7 @@ declare const itWalletMetadataSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
678
680
|
nonce_endpoint: z.ZodOptional<z.ZodURL>;
|
|
679
681
|
notification_endpoint: z.ZodOptional<z.ZodURL>;
|
|
680
682
|
status_list_aggregation_endpoint: z.ZodOptional<z.ZodURL>;
|
|
681
|
-
trust_frameworks_supported: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"eudi_wallet">, z.ZodLiteral<"it_cie">, z.ZodLiteral<"it_wallet">, z.ZodLiteral<"it_l2+document_proof">]>>;
|
|
683
|
+
trust_frameworks_supported: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"eudi_wallet">, z.ZodLiteral<"it_cie">, z.ZodLiteral<"it_wallet">, z.ZodLiteral<"it_l2+document_proof">, z.ZodLiteral<"it_spid">]>>;
|
|
682
684
|
}, z.core.$loose>>;
|
|
683
685
|
openid_credential_verifier: z.ZodOptional<z.ZodObject<{
|
|
684
686
|
application_type: z.ZodLiteral<"web">;
|
|
@@ -1031,9 +1033,11 @@ declare const baseSchema: z.ZodObject<{
|
|
|
1031
1033
|
batch_size: z.ZodNumber;
|
|
1032
1034
|
}, z.core.$strip>>;
|
|
1033
1035
|
credential_configurations_supported: z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1036
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
1034
1037
|
format: z.ZodLiteral<"dc+sd-jwt">;
|
|
1035
1038
|
vct: z.ZodString;
|
|
1036
1039
|
}, z.core.$strip>, z.ZodObject<{
|
|
1040
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodNumber>;
|
|
1037
1041
|
doctype: z.ZodString;
|
|
1038
1042
|
format: z.ZodLiteral<"mso_mdoc">;
|
|
1039
1043
|
}, z.core.$strip>], "format">, z.ZodObject<{
|
|
@@ -1077,7 +1081,6 @@ declare const baseSchema: z.ZodObject<{
|
|
|
1077
1081
|
}, z.core.$strip>>;
|
|
1078
1082
|
}, z.core.$strip>>>;
|
|
1079
1083
|
}, z.core.$strip>;
|
|
1080
|
-
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
1081
1084
|
cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
|
|
1082
1085
|
proof_types_supported: z.ZodObject<{
|
|
1083
1086
|
jwt: z.ZodObject<{
|
|
@@ -1141,7 +1144,7 @@ declare const baseSchema: z.ZodObject<{
|
|
|
1141
1144
|
nonce_endpoint: z.ZodOptional<z.ZodURL>;
|
|
1142
1145
|
notification_endpoint: z.ZodOptional<z.ZodURL>;
|
|
1143
1146
|
status_list_aggregation_endpoint: z.ZodOptional<z.ZodURL>;
|
|
1144
|
-
trust_frameworks_supported: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"eudi_wallet">, z.ZodLiteral<"it_cie">, z.ZodLiteral<"it_wallet">, z.ZodLiteral<"it_l2+document_proof">]>>;
|
|
1147
|
+
trust_frameworks_supported: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"eudi_wallet">, z.ZodLiteral<"it_cie">, z.ZodLiteral<"it_wallet">, z.ZodLiteral<"it_l2+document_proof">, z.ZodLiteral<"it_spid">]>>;
|
|
1145
1148
|
}, z.core.$loose>>;
|
|
1146
1149
|
openid_credential_verifier: z.ZodOptional<z.ZodObject<{
|
|
1147
1150
|
application_type: z.ZodLiteral<"web">;
|
|
@@ -1714,9 +1717,11 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
1714
1717
|
openid_credential_issuer?: {
|
|
1715
1718
|
[x: string]: unknown;
|
|
1716
1719
|
credential_configurations_supported: Record<string, ({
|
|
1720
|
+
credential_signing_alg_values_supported: string[];
|
|
1717
1721
|
format: "dc+sd-jwt";
|
|
1718
1722
|
vct: string;
|
|
1719
1723
|
} | {
|
|
1724
|
+
credential_signing_alg_values_supported: number[];
|
|
1720
1725
|
doctype: string;
|
|
1721
1726
|
format: "mso_mdoc";
|
|
1722
1727
|
}) & {
|
|
@@ -1757,7 +1762,6 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
1757
1762
|
} | undefined;
|
|
1758
1763
|
}[] | undefined;
|
|
1759
1764
|
};
|
|
1760
|
-
credential_signing_alg_values_supported: string[];
|
|
1761
1765
|
cryptographic_binding_methods_supported: string[];
|
|
1762
1766
|
proof_types_supported: {
|
|
1763
1767
|
jwt: {
|
|
@@ -1787,7 +1791,7 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
1787
1791
|
x5u?: string | undefined;
|
|
1788
1792
|
}[];
|
|
1789
1793
|
};
|
|
1790
|
-
trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet" | "it_l2+document_proof")[];
|
|
1794
|
+
trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet" | "it_l2+document_proof" | "it_spid")[];
|
|
1791
1795
|
authorization_servers?: string[] | undefined;
|
|
1792
1796
|
batch_credential_issuance?: {
|
|
1793
1797
|
batch_size: number;
|
|
@@ -2195,9 +2199,11 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
2195
2199
|
openid_credential_issuer?: {
|
|
2196
2200
|
[x: string]: unknown;
|
|
2197
2201
|
credential_configurations_supported: Record<string, ({
|
|
2202
|
+
credential_signing_alg_values_supported: string[];
|
|
2198
2203
|
format: "dc+sd-jwt";
|
|
2199
2204
|
vct: string;
|
|
2200
2205
|
} | {
|
|
2206
|
+
credential_signing_alg_values_supported: number[];
|
|
2201
2207
|
doctype: string;
|
|
2202
2208
|
format: "mso_mdoc";
|
|
2203
2209
|
}) & {
|
|
@@ -2238,7 +2244,6 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
2238
2244
|
} | undefined;
|
|
2239
2245
|
}[] | undefined;
|
|
2240
2246
|
};
|
|
2241
|
-
credential_signing_alg_values_supported: string[];
|
|
2242
2247
|
cryptographic_binding_methods_supported: string[];
|
|
2243
2248
|
proof_types_supported: {
|
|
2244
2249
|
jwt: {
|
|
@@ -2268,7 +2273,7 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
2268
2273
|
x5u?: string | undefined;
|
|
2269
2274
|
}[];
|
|
2270
2275
|
};
|
|
2271
|
-
trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet" | "it_l2+document_proof")[];
|
|
2276
|
+
trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet" | "it_l2+document_proof" | "it_spid")[];
|
|
2272
2277
|
authorization_servers?: string[] | undefined;
|
|
2273
2278
|
batch_credential_issuance?: {
|
|
2274
2279
|
batch_size: number;
|
|
@@ -2676,9 +2681,11 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
2676
2681
|
openid_credential_issuer?: {
|
|
2677
2682
|
[x: string]: unknown;
|
|
2678
2683
|
credential_configurations_supported: Record<string, ({
|
|
2684
|
+
credential_signing_alg_values_supported: string[];
|
|
2679
2685
|
format: "dc+sd-jwt";
|
|
2680
2686
|
vct: string;
|
|
2681
2687
|
} | {
|
|
2688
|
+
credential_signing_alg_values_supported: number[];
|
|
2682
2689
|
doctype: string;
|
|
2683
2690
|
format: "mso_mdoc";
|
|
2684
2691
|
}) & {
|
|
@@ -2719,7 +2726,6 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
2719
2726
|
} | undefined;
|
|
2720
2727
|
}[] | undefined;
|
|
2721
2728
|
};
|
|
2722
|
-
credential_signing_alg_values_supported: string[];
|
|
2723
2729
|
cryptographic_binding_methods_supported: string[];
|
|
2724
2730
|
proof_types_supported: {
|
|
2725
2731
|
jwt: {
|
|
@@ -2749,7 +2755,7 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
2749
2755
|
x5u?: string | undefined;
|
|
2750
2756
|
}[];
|
|
2751
2757
|
};
|
|
2752
|
-
trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet" | "it_l2+document_proof")[];
|
|
2758
|
+
trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet" | "it_l2+document_proof" | "it_spid")[];
|
|
2753
2759
|
authorization_servers?: string[] | undefined;
|
|
2754
2760
|
batch_credential_issuance?: {
|
|
2755
2761
|
batch_size: number;
|
|
@@ -3157,9 +3163,11 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
3157
3163
|
openid_credential_issuer?: {
|
|
3158
3164
|
[x: string]: unknown;
|
|
3159
3165
|
credential_configurations_supported: Record<string, ({
|
|
3166
|
+
credential_signing_alg_values_supported: string[];
|
|
3160
3167
|
format: "dc+sd-jwt";
|
|
3161
3168
|
vct: string;
|
|
3162
3169
|
} | {
|
|
3170
|
+
credential_signing_alg_values_supported: number[];
|
|
3163
3171
|
doctype: string;
|
|
3164
3172
|
format: "mso_mdoc";
|
|
3165
3173
|
}) & {
|
|
@@ -3200,7 +3208,6 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
3200
3208
|
} | undefined;
|
|
3201
3209
|
}[] | undefined;
|
|
3202
3210
|
};
|
|
3203
|
-
credential_signing_alg_values_supported: string[];
|
|
3204
3211
|
cryptographic_binding_methods_supported: string[];
|
|
3205
3212
|
proof_types_supported: {
|
|
3206
3213
|
jwt: {
|
|
@@ -3230,7 +3237,7 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
3230
3237
|
x5u?: string | undefined;
|
|
3231
3238
|
}[];
|
|
3232
3239
|
};
|
|
3233
|
-
trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet" | "it_l2+document_proof")[];
|
|
3240
|
+
trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet" | "it_l2+document_proof" | "it_spid")[];
|
|
3234
3241
|
authorization_servers?: string[] | undefined;
|
|
3235
3242
|
batch_credential_issuance?: {
|
|
3236
3243
|
batch_size: number;
|
|
@@ -3889,9 +3896,11 @@ declare const AuthenticSources: z.ZodObject<{
|
|
|
3889
3896
|
*/
|
|
3890
3897
|
type SupportedCredentialMetadata = z.infer<typeof SupportedCredentialMetadata>;
|
|
3891
3898
|
declare const SupportedCredentialMetadata: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3899
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
3892
3900
|
format: z.ZodLiteral<"dc+sd-jwt">;
|
|
3893
3901
|
vct: z.ZodString;
|
|
3894
3902
|
}, z.core.$strip>, z.ZodObject<{
|
|
3903
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodNumber>;
|
|
3895
3904
|
doctype: z.ZodString;
|
|
3896
3905
|
format: z.ZodLiteral<"mso_mdoc">;
|
|
3897
3906
|
}, z.core.$strip>], "format">, z.ZodObject<{
|
|
@@ -3935,7 +3944,6 @@ declare const SupportedCredentialMetadata: z.ZodIntersection<z.ZodDiscriminatedU
|
|
|
3935
3944
|
}, z.core.$strip>>;
|
|
3936
3945
|
}, z.core.$strip>>>;
|
|
3937
3946
|
}, z.core.$strip>;
|
|
3938
|
-
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
3939
3947
|
cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
|
|
3940
3948
|
proof_types_supported: z.ZodObject<{
|
|
3941
3949
|
jwt: z.ZodObject<{
|
|
@@ -3976,9 +3984,11 @@ declare const itWalletCredentialIssuerMetadata: z.ZodObject<{
|
|
|
3976
3984
|
batch_size: z.ZodNumber;
|
|
3977
3985
|
}, z.core.$strip>>;
|
|
3978
3986
|
credential_configurations_supported: z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3987
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
3979
3988
|
format: z.ZodLiteral<"dc+sd-jwt">;
|
|
3980
3989
|
vct: z.ZodString;
|
|
3981
3990
|
}, z.core.$strip>, z.ZodObject<{
|
|
3991
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodNumber>;
|
|
3982
3992
|
doctype: z.ZodString;
|
|
3983
3993
|
format: z.ZodLiteral<"mso_mdoc">;
|
|
3984
3994
|
}, z.core.$strip>], "format">, z.ZodObject<{
|
|
@@ -4022,7 +4032,6 @@ declare const itWalletCredentialIssuerMetadata: z.ZodObject<{
|
|
|
4022
4032
|
}, z.core.$strip>>;
|
|
4023
4033
|
}, z.core.$strip>>>;
|
|
4024
4034
|
}, z.core.$strip>;
|
|
4025
|
-
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
4026
4035
|
cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
|
|
4027
4036
|
proof_types_supported: z.ZodObject<{
|
|
4028
4037
|
jwt: z.ZodObject<{
|
|
@@ -4086,7 +4095,7 @@ declare const itWalletCredentialIssuerMetadata: z.ZodObject<{
|
|
|
4086
4095
|
nonce_endpoint: z.ZodOptional<z.ZodURL>;
|
|
4087
4096
|
notification_endpoint: z.ZodOptional<z.ZodURL>;
|
|
4088
4097
|
status_list_aggregation_endpoint: z.ZodOptional<z.ZodURL>;
|
|
4089
|
-
trust_frameworks_supported: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"eudi_wallet">, z.ZodLiteral<"it_cie">, z.ZodLiteral<"it_wallet">, z.ZodLiteral<"it_l2+document_proof">]>>;
|
|
4098
|
+
trust_frameworks_supported: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"eudi_wallet">, z.ZodLiteral<"it_cie">, z.ZodLiteral<"it_wallet">, z.ZodLiteral<"it_l2+document_proof">, z.ZodLiteral<"it_spid">]>>;
|
|
4090
4099
|
}, z.core.$loose>;
|
|
4091
4100
|
type ItWalletCredentialIssuerMetadata = z.input<typeof itWalletCredentialIssuerMetadata>;
|
|
4092
4101
|
declare const itWalletCredentialIssuerIdentifier = "openid_credential_issuer";
|
package/dist/index.d.ts
CHANGED
|
@@ -324,9 +324,11 @@ declare const itWalletMetadataV1_3: z.ZodObject<{
|
|
|
324
324
|
batch_size: z.ZodNumber;
|
|
325
325
|
}, z.core.$strip>>;
|
|
326
326
|
credential_configurations_supported: z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
327
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
327
328
|
format: z.ZodLiteral<"dc+sd-jwt">;
|
|
328
329
|
vct: z.ZodString;
|
|
329
330
|
}, z.core.$strip>, z.ZodObject<{
|
|
331
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodNumber>;
|
|
330
332
|
doctype: z.ZodString;
|
|
331
333
|
format: z.ZodLiteral<"mso_mdoc">;
|
|
332
334
|
}, z.core.$strip>], "format">, z.ZodObject<{
|
|
@@ -370,7 +372,6 @@ declare const itWalletMetadataV1_3: z.ZodObject<{
|
|
|
370
372
|
}, z.core.$strip>>;
|
|
371
373
|
}, z.core.$strip>>>;
|
|
372
374
|
}, z.core.$strip>;
|
|
373
|
-
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
374
375
|
cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
|
|
375
376
|
proof_types_supported: z.ZodObject<{
|
|
376
377
|
jwt: z.ZodObject<{
|
|
@@ -434,7 +435,7 @@ declare const itWalletMetadataV1_3: z.ZodObject<{
|
|
|
434
435
|
nonce_endpoint: z.ZodOptional<z.ZodURL>;
|
|
435
436
|
notification_endpoint: z.ZodOptional<z.ZodURL>;
|
|
436
437
|
status_list_aggregation_endpoint: z.ZodOptional<z.ZodURL>;
|
|
437
|
-
trust_frameworks_supported: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"eudi_wallet">, z.ZodLiteral<"it_cie">, z.ZodLiteral<"it_wallet">, z.ZodLiteral<"it_l2+document_proof">]>>;
|
|
438
|
+
trust_frameworks_supported: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"eudi_wallet">, z.ZodLiteral<"it_cie">, z.ZodLiteral<"it_wallet">, z.ZodLiteral<"it_l2+document_proof">, z.ZodLiteral<"it_spid">]>>;
|
|
438
439
|
}, z.core.$loose>>;
|
|
439
440
|
openid_credential_verifier: z.ZodOptional<z.ZodObject<{
|
|
440
441
|
application_type: z.ZodLiteral<"web">;
|
|
@@ -568,9 +569,11 @@ declare const itWalletMetadataSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
568
569
|
batch_size: z.ZodNumber;
|
|
569
570
|
}, z.core.$strip>>;
|
|
570
571
|
credential_configurations_supported: z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
572
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
571
573
|
format: z.ZodLiteral<"dc+sd-jwt">;
|
|
572
574
|
vct: z.ZodString;
|
|
573
575
|
}, z.core.$strip>, z.ZodObject<{
|
|
576
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodNumber>;
|
|
574
577
|
doctype: z.ZodString;
|
|
575
578
|
format: z.ZodLiteral<"mso_mdoc">;
|
|
576
579
|
}, z.core.$strip>], "format">, z.ZodObject<{
|
|
@@ -614,7 +617,6 @@ declare const itWalletMetadataSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
614
617
|
}, z.core.$strip>>;
|
|
615
618
|
}, z.core.$strip>>>;
|
|
616
619
|
}, z.core.$strip>;
|
|
617
|
-
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
618
620
|
cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
|
|
619
621
|
proof_types_supported: z.ZodObject<{
|
|
620
622
|
jwt: z.ZodObject<{
|
|
@@ -678,7 +680,7 @@ declare const itWalletMetadataSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
678
680
|
nonce_endpoint: z.ZodOptional<z.ZodURL>;
|
|
679
681
|
notification_endpoint: z.ZodOptional<z.ZodURL>;
|
|
680
682
|
status_list_aggregation_endpoint: z.ZodOptional<z.ZodURL>;
|
|
681
|
-
trust_frameworks_supported: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"eudi_wallet">, z.ZodLiteral<"it_cie">, z.ZodLiteral<"it_wallet">, z.ZodLiteral<"it_l2+document_proof">]>>;
|
|
683
|
+
trust_frameworks_supported: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"eudi_wallet">, z.ZodLiteral<"it_cie">, z.ZodLiteral<"it_wallet">, z.ZodLiteral<"it_l2+document_proof">, z.ZodLiteral<"it_spid">]>>;
|
|
682
684
|
}, z.core.$loose>>;
|
|
683
685
|
openid_credential_verifier: z.ZodOptional<z.ZodObject<{
|
|
684
686
|
application_type: z.ZodLiteral<"web">;
|
|
@@ -1031,9 +1033,11 @@ declare const baseSchema: z.ZodObject<{
|
|
|
1031
1033
|
batch_size: z.ZodNumber;
|
|
1032
1034
|
}, z.core.$strip>>;
|
|
1033
1035
|
credential_configurations_supported: z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1036
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
1034
1037
|
format: z.ZodLiteral<"dc+sd-jwt">;
|
|
1035
1038
|
vct: z.ZodString;
|
|
1036
1039
|
}, z.core.$strip>, z.ZodObject<{
|
|
1040
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodNumber>;
|
|
1037
1041
|
doctype: z.ZodString;
|
|
1038
1042
|
format: z.ZodLiteral<"mso_mdoc">;
|
|
1039
1043
|
}, z.core.$strip>], "format">, z.ZodObject<{
|
|
@@ -1077,7 +1081,6 @@ declare const baseSchema: z.ZodObject<{
|
|
|
1077
1081
|
}, z.core.$strip>>;
|
|
1078
1082
|
}, z.core.$strip>>>;
|
|
1079
1083
|
}, z.core.$strip>;
|
|
1080
|
-
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
1081
1084
|
cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
|
|
1082
1085
|
proof_types_supported: z.ZodObject<{
|
|
1083
1086
|
jwt: z.ZodObject<{
|
|
@@ -1141,7 +1144,7 @@ declare const baseSchema: z.ZodObject<{
|
|
|
1141
1144
|
nonce_endpoint: z.ZodOptional<z.ZodURL>;
|
|
1142
1145
|
notification_endpoint: z.ZodOptional<z.ZodURL>;
|
|
1143
1146
|
status_list_aggregation_endpoint: z.ZodOptional<z.ZodURL>;
|
|
1144
|
-
trust_frameworks_supported: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"eudi_wallet">, z.ZodLiteral<"it_cie">, z.ZodLiteral<"it_wallet">, z.ZodLiteral<"it_l2+document_proof">]>>;
|
|
1147
|
+
trust_frameworks_supported: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"eudi_wallet">, z.ZodLiteral<"it_cie">, z.ZodLiteral<"it_wallet">, z.ZodLiteral<"it_l2+document_proof">, z.ZodLiteral<"it_spid">]>>;
|
|
1145
1148
|
}, z.core.$loose>>;
|
|
1146
1149
|
openid_credential_verifier: z.ZodOptional<z.ZodObject<{
|
|
1147
1150
|
application_type: z.ZodLiteral<"web">;
|
|
@@ -1714,9 +1717,11 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
1714
1717
|
openid_credential_issuer?: {
|
|
1715
1718
|
[x: string]: unknown;
|
|
1716
1719
|
credential_configurations_supported: Record<string, ({
|
|
1720
|
+
credential_signing_alg_values_supported: string[];
|
|
1717
1721
|
format: "dc+sd-jwt";
|
|
1718
1722
|
vct: string;
|
|
1719
1723
|
} | {
|
|
1724
|
+
credential_signing_alg_values_supported: number[];
|
|
1720
1725
|
doctype: string;
|
|
1721
1726
|
format: "mso_mdoc";
|
|
1722
1727
|
}) & {
|
|
@@ -1757,7 +1762,6 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
1757
1762
|
} | undefined;
|
|
1758
1763
|
}[] | undefined;
|
|
1759
1764
|
};
|
|
1760
|
-
credential_signing_alg_values_supported: string[];
|
|
1761
1765
|
cryptographic_binding_methods_supported: string[];
|
|
1762
1766
|
proof_types_supported: {
|
|
1763
1767
|
jwt: {
|
|
@@ -1787,7 +1791,7 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
1787
1791
|
x5u?: string | undefined;
|
|
1788
1792
|
}[];
|
|
1789
1793
|
};
|
|
1790
|
-
trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet" | "it_l2+document_proof")[];
|
|
1794
|
+
trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet" | "it_l2+document_proof" | "it_spid")[];
|
|
1791
1795
|
authorization_servers?: string[] | undefined;
|
|
1792
1796
|
batch_credential_issuance?: {
|
|
1793
1797
|
batch_size: number;
|
|
@@ -2195,9 +2199,11 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
2195
2199
|
openid_credential_issuer?: {
|
|
2196
2200
|
[x: string]: unknown;
|
|
2197
2201
|
credential_configurations_supported: Record<string, ({
|
|
2202
|
+
credential_signing_alg_values_supported: string[];
|
|
2198
2203
|
format: "dc+sd-jwt";
|
|
2199
2204
|
vct: string;
|
|
2200
2205
|
} | {
|
|
2206
|
+
credential_signing_alg_values_supported: number[];
|
|
2201
2207
|
doctype: string;
|
|
2202
2208
|
format: "mso_mdoc";
|
|
2203
2209
|
}) & {
|
|
@@ -2238,7 +2244,6 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
2238
2244
|
} | undefined;
|
|
2239
2245
|
}[] | undefined;
|
|
2240
2246
|
};
|
|
2241
|
-
credential_signing_alg_values_supported: string[];
|
|
2242
2247
|
cryptographic_binding_methods_supported: string[];
|
|
2243
2248
|
proof_types_supported: {
|
|
2244
2249
|
jwt: {
|
|
@@ -2268,7 +2273,7 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
2268
2273
|
x5u?: string | undefined;
|
|
2269
2274
|
}[];
|
|
2270
2275
|
};
|
|
2271
|
-
trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet" | "it_l2+document_proof")[];
|
|
2276
|
+
trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet" | "it_l2+document_proof" | "it_spid")[];
|
|
2272
2277
|
authorization_servers?: string[] | undefined;
|
|
2273
2278
|
batch_credential_issuance?: {
|
|
2274
2279
|
batch_size: number;
|
|
@@ -2676,9 +2681,11 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
2676
2681
|
openid_credential_issuer?: {
|
|
2677
2682
|
[x: string]: unknown;
|
|
2678
2683
|
credential_configurations_supported: Record<string, ({
|
|
2684
|
+
credential_signing_alg_values_supported: string[];
|
|
2679
2685
|
format: "dc+sd-jwt";
|
|
2680
2686
|
vct: string;
|
|
2681
2687
|
} | {
|
|
2688
|
+
credential_signing_alg_values_supported: number[];
|
|
2682
2689
|
doctype: string;
|
|
2683
2690
|
format: "mso_mdoc";
|
|
2684
2691
|
}) & {
|
|
@@ -2719,7 +2726,6 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
2719
2726
|
} | undefined;
|
|
2720
2727
|
}[] | undefined;
|
|
2721
2728
|
};
|
|
2722
|
-
credential_signing_alg_values_supported: string[];
|
|
2723
2729
|
cryptographic_binding_methods_supported: string[];
|
|
2724
2730
|
proof_types_supported: {
|
|
2725
2731
|
jwt: {
|
|
@@ -2749,7 +2755,7 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
2749
2755
|
x5u?: string | undefined;
|
|
2750
2756
|
}[];
|
|
2751
2757
|
};
|
|
2752
|
-
trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet" | "it_l2+document_proof")[];
|
|
2758
|
+
trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet" | "it_l2+document_proof" | "it_spid")[];
|
|
2753
2759
|
authorization_servers?: string[] | undefined;
|
|
2754
2760
|
batch_credential_issuance?: {
|
|
2755
2761
|
batch_size: number;
|
|
@@ -3157,9 +3163,11 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
3157
3163
|
openid_credential_issuer?: {
|
|
3158
3164
|
[x: string]: unknown;
|
|
3159
3165
|
credential_configurations_supported: Record<string, ({
|
|
3166
|
+
credential_signing_alg_values_supported: string[];
|
|
3160
3167
|
format: "dc+sd-jwt";
|
|
3161
3168
|
vct: string;
|
|
3162
3169
|
} | {
|
|
3170
|
+
credential_signing_alg_values_supported: number[];
|
|
3163
3171
|
doctype: string;
|
|
3164
3172
|
format: "mso_mdoc";
|
|
3165
3173
|
}) & {
|
|
@@ -3200,7 +3208,6 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
3200
3208
|
} | undefined;
|
|
3201
3209
|
}[] | undefined;
|
|
3202
3210
|
};
|
|
3203
|
-
credential_signing_alg_values_supported: string[];
|
|
3204
3211
|
cryptographic_binding_methods_supported: string[];
|
|
3205
3212
|
proof_types_supported: {
|
|
3206
3213
|
jwt: {
|
|
@@ -3230,7 +3237,7 @@ declare const itWalletEntityConfigurationClaimsSchema: z.ZodType<{
|
|
|
3230
3237
|
x5u?: string | undefined;
|
|
3231
3238
|
}[];
|
|
3232
3239
|
};
|
|
3233
|
-
trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet" | "it_l2+document_proof")[];
|
|
3240
|
+
trust_frameworks_supported: ("it_cie" | "it_wallet" | "eudi_wallet" | "it_l2+document_proof" | "it_spid")[];
|
|
3234
3241
|
authorization_servers?: string[] | undefined;
|
|
3235
3242
|
batch_credential_issuance?: {
|
|
3236
3243
|
batch_size: number;
|
|
@@ -3889,9 +3896,11 @@ declare const AuthenticSources: z.ZodObject<{
|
|
|
3889
3896
|
*/
|
|
3890
3897
|
type SupportedCredentialMetadata = z.infer<typeof SupportedCredentialMetadata>;
|
|
3891
3898
|
declare const SupportedCredentialMetadata: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3899
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
3892
3900
|
format: z.ZodLiteral<"dc+sd-jwt">;
|
|
3893
3901
|
vct: z.ZodString;
|
|
3894
3902
|
}, z.core.$strip>, z.ZodObject<{
|
|
3903
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodNumber>;
|
|
3895
3904
|
doctype: z.ZodString;
|
|
3896
3905
|
format: z.ZodLiteral<"mso_mdoc">;
|
|
3897
3906
|
}, z.core.$strip>], "format">, z.ZodObject<{
|
|
@@ -3935,7 +3944,6 @@ declare const SupportedCredentialMetadata: z.ZodIntersection<z.ZodDiscriminatedU
|
|
|
3935
3944
|
}, z.core.$strip>>;
|
|
3936
3945
|
}, z.core.$strip>>>;
|
|
3937
3946
|
}, z.core.$strip>;
|
|
3938
|
-
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
3939
3947
|
cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
|
|
3940
3948
|
proof_types_supported: z.ZodObject<{
|
|
3941
3949
|
jwt: z.ZodObject<{
|
|
@@ -3976,9 +3984,11 @@ declare const itWalletCredentialIssuerMetadata: z.ZodObject<{
|
|
|
3976
3984
|
batch_size: z.ZodNumber;
|
|
3977
3985
|
}, z.core.$strip>>;
|
|
3978
3986
|
credential_configurations_supported: z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3987
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
3979
3988
|
format: z.ZodLiteral<"dc+sd-jwt">;
|
|
3980
3989
|
vct: z.ZodString;
|
|
3981
3990
|
}, z.core.$strip>, z.ZodObject<{
|
|
3991
|
+
credential_signing_alg_values_supported: z.ZodArray<z.ZodNumber>;
|
|
3982
3992
|
doctype: z.ZodString;
|
|
3983
3993
|
format: z.ZodLiteral<"mso_mdoc">;
|
|
3984
3994
|
}, z.core.$strip>], "format">, z.ZodObject<{
|
|
@@ -4022,7 +4032,6 @@ declare const itWalletCredentialIssuerMetadata: z.ZodObject<{
|
|
|
4022
4032
|
}, z.core.$strip>>;
|
|
4023
4033
|
}, z.core.$strip>>>;
|
|
4024
4034
|
}, z.core.$strip>;
|
|
4025
|
-
credential_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
4026
4035
|
cryptographic_binding_methods_supported: z.ZodArray<z.ZodString>;
|
|
4027
4036
|
proof_types_supported: z.ZodObject<{
|
|
4028
4037
|
jwt: z.ZodObject<{
|
|
@@ -4086,7 +4095,7 @@ declare const itWalletCredentialIssuerMetadata: z.ZodObject<{
|
|
|
4086
4095
|
nonce_endpoint: z.ZodOptional<z.ZodURL>;
|
|
4087
4096
|
notification_endpoint: z.ZodOptional<z.ZodURL>;
|
|
4088
4097
|
status_list_aggregation_endpoint: z.ZodOptional<z.ZodURL>;
|
|
4089
|
-
trust_frameworks_supported: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"eudi_wallet">, z.ZodLiteral<"it_cie">, z.ZodLiteral<"it_wallet">, z.ZodLiteral<"it_l2+document_proof">]>>;
|
|
4098
|
+
trust_frameworks_supported: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"eudi_wallet">, z.ZodLiteral<"it_cie">, z.ZodLiteral<"it_wallet">, z.ZodLiteral<"it_l2+document_proof">, z.ZodLiteral<"it_spid">]>>;
|
|
4090
4099
|
}, z.core.$loose>;
|
|
4091
4100
|
type ItWalletCredentialIssuerMetadata = z.input<typeof itWalletCredentialIssuerMetadata>;
|
|
4092
4101
|
declare const itWalletCredentialIssuerIdentifier = "openid_credential_issuer";
|
package/dist/index.js
CHANGED
|
@@ -681,13 +681,20 @@ var AuthenticSources = import_zod19.z.object({
|
|
|
681
681
|
});
|
|
682
682
|
var SupportedCredentialMetadata2 = import_zod19.z.intersection(
|
|
683
683
|
import_zod19.z.discriminatedUnion("format", [
|
|
684
|
-
import_zod19.z.object({
|
|
685
|
-
|
|
684
|
+
import_zod19.z.object({
|
|
685
|
+
credential_signing_alg_values_supported: import_zod19.z.array(import_zod19.z.string()),
|
|
686
|
+
format: import_zod19.z.literal("dc+sd-jwt"),
|
|
687
|
+
vct: import_zod19.z.string()
|
|
688
|
+
}),
|
|
689
|
+
import_zod19.z.object({
|
|
690
|
+
credential_signing_alg_values_supported: import_zod19.z.array(import_zod19.z.number().int()),
|
|
691
|
+
doctype: import_zod19.z.string(),
|
|
692
|
+
format: import_zod19.z.literal("mso_mdoc")
|
|
693
|
+
})
|
|
686
694
|
]),
|
|
687
695
|
import_zod19.z.object({
|
|
688
696
|
authentic_sources: AuthenticSources,
|
|
689
697
|
credential_metadata: CredentialMetadata,
|
|
690
|
-
credential_signing_alg_values_supported: import_zod19.z.array(import_zod19.z.string()),
|
|
691
698
|
cryptographic_binding_methods_supported: import_zod19.z.array(import_zod19.z.string()),
|
|
692
699
|
proof_types_supported: ProofTypesSupported,
|
|
693
700
|
schema_id: import_zod19.z.string(),
|
|
@@ -716,7 +723,9 @@ var itWalletCredentialIssuerMetadata2 = import_zod19.z.looseObject({
|
|
|
716
723
|
import_zod19.z.literal("eudi_wallet"),
|
|
717
724
|
import_zod19.z.literal("it_cie"),
|
|
718
725
|
import_zod19.z.literal("it_wallet"),
|
|
719
|
-
import_zod19.z.literal("it_l2+document_proof")
|
|
726
|
+
import_zod19.z.literal("it_l2+document_proof"),
|
|
727
|
+
/** @deprecated For backward compatibility only, will be removed in future versions. */
|
|
728
|
+
import_zod19.z.literal("it_spid")
|
|
720
729
|
])
|
|
721
730
|
)
|
|
722
731
|
});
|