@pagopa/io-react-native-wallet 3.0.1 → 3.1.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/lib/commonjs/api/index.js +3 -0
- package/lib/commonjs/api/index.js.map +1 -1
- package/lib/commonjs/client/generated/wallet-provider.js +42 -4
- package/lib/commonjs/client/generated/wallet-provider.js.map +1 -1
- package/lib/commonjs/client/index.js +5 -3
- package/lib/commonjs/client/index.js.map +1 -1
- package/lib/commonjs/credential/issuance/README.md +2 -0
- package/lib/commonjs/credential/issuance/api/IssuerConfig.js +2 -2
- package/lib/commonjs/credential/issuance/api/IssuerConfig.js.map +1 -1
- package/lib/commonjs/credential/issuance/v1.3.3/01-evaluate-issuer-trust.js +2 -0
- package/lib/commonjs/credential/issuance/v1.3.3/01-evaluate-issuer-trust.js.map +1 -1
- package/lib/commonjs/credential/issuance/v1.3.3/03-complete-user-authorization.js +2 -0
- package/lib/commonjs/credential/issuance/v1.3.3/03-complete-user-authorization.js.map +1 -1
- package/lib/commonjs/credential/issuance/v1.3.3/05-obtain-credential.js +15 -8
- package/lib/commonjs/credential/issuance/v1.3.3/05-obtain-credential.js.map +1 -1
- package/lib/commonjs/credential/issuance/v1.3.3/mappers.js +0 -1
- package/lib/commonjs/credential/issuance/v1.3.3/mappers.js.map +1 -1
- package/lib/commonjs/credential/presentation/api/RelyingPartyConfig.js +2 -2
- package/lib/commonjs/credential/presentation/api/RelyingPartyConfig.js.map +1 -1
- package/lib/commonjs/credential/presentation/v1.0.0/04-verify-request-object.js.map +1 -1
- package/lib/commonjs/credential/presentation/v1.3.3/04-verify-request-object.js +4 -2
- package/lib/commonjs/credential/presentation/v1.3.3/04-verify-request-object.js.map +1 -1
- package/lib/commonjs/credentials-catalogue/api/DigitalCredentialsCatalogue.js +37 -11
- package/lib/commonjs/credentials-catalogue/api/DigitalCredentialsCatalogue.js.map +1 -1
- package/lib/commonjs/credentials-catalogue/v1.0.0/mappers.js +16 -5
- package/lib/commonjs/credentials-catalogue/v1.0.0/mappers.js.map +1 -1
- package/lib/commonjs/credentials-catalogue/v1.3.3/mappers.js +4 -2
- package/lib/commonjs/credentials-catalogue/v1.3.3/mappers.js.map +1 -1
- package/lib/commonjs/credentials-catalogue/v1.3.3/types.js +91 -30
- package/lib/commonjs/credentials-catalogue/v1.3.3/types.js.map +1 -1
- package/lib/commonjs/credentials-catalogue/v1.3.3/utils.js +4 -4
- package/lib/commonjs/credentials-catalogue/v1.3.3/utils.js.map +1 -1
- package/lib/commonjs/index.js +3 -1
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/trust/common/types.js +3 -3
- package/lib/commonjs/trust/common/types.js.map +1 -1
- package/lib/commonjs/trust/v1.0.0/types.js +6 -8
- package/lib/commonjs/trust/v1.0.0/types.js.map +1 -1
- package/lib/commonjs/trust/v1.3.3/types.js +1 -3
- package/lib/commonjs/trust/v1.3.3/types.js.map +1 -1
- package/lib/commonjs/utils/callbacks.js +2 -0
- package/lib/commonjs/utils/callbacks.js.map +1 -1
- package/lib/commonjs/utils/crypto.js +8 -0
- package/lib/commonjs/utils/crypto.js.map +1 -1
- package/lib/commonjs/utils/dpop.js +1 -1
- package/lib/commonjs/utils/dpop.js.map +1 -1
- package/lib/commonjs/utils/jwk.js +1 -1
- package/lib/commonjs/utils/jwk.js.map +1 -1
- package/lib/commonjs/utils/zod.js +1 -1
- package/lib/commonjs/utils/zod.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/README.md +13 -10
- package/lib/commonjs/wallet-instance-attestation/api/types.js +9 -4
- package/lib/commonjs/wallet-instance-attestation/api/types.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/v1.0.0/index.js +2 -2
- package/lib/commonjs/wallet-instance-attestation/v1.0.0/index.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/v1.0.0/issuing.js +4 -5
- package/lib/commonjs/wallet-instance-attestation/v1.0.0/issuing.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/v1.0.0/mappers.js +4 -5
- package/lib/commonjs/wallet-instance-attestation/v1.0.0/mappers.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/v1.3.3/index.js +5 -7
- package/lib/commonjs/wallet-instance-attestation/v1.3.3/index.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/v1.3.3/issuing.js +73 -3
- package/lib/commonjs/wallet-instance-attestation/v1.3.3/issuing.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/v1.3.3/mappers.js +26 -0
- package/lib/commonjs/wallet-instance-attestation/v1.3.3/mappers.js.map +1 -0
- package/lib/commonjs/wallet-instance-attestation/v1.3.3/types.js +13 -24
- package/lib/commonjs/wallet-instance-attestation/v1.3.3/types.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/v1.3.3/utils.js +35 -0
- package/lib/commonjs/wallet-instance-attestation/v1.3.3/utils.js.map +1 -0
- package/lib/commonjs/wallet-unit-attestation/README.md +73 -0
- package/lib/commonjs/wallet-unit-attestation/api/index.js +6 -0
- package/lib/commonjs/wallet-unit-attestation/api/index.js.map +1 -0
- package/lib/commonjs/wallet-unit-attestation/api/types.js +45 -0
- package/lib/commonjs/wallet-unit-attestation/api/types.js.map +1 -0
- package/lib/commonjs/wallet-unit-attestation/index.js +20 -0
- package/lib/commonjs/wallet-unit-attestation/index.js.map +1 -0
- package/lib/commonjs/wallet-unit-attestation/v1.0.0/index.js +11 -0
- package/lib/commonjs/wallet-unit-attestation/v1.0.0/index.js.map +1 -0
- package/lib/commonjs/wallet-unit-attestation/v1.3.3/index.js +17 -0
- package/lib/commonjs/wallet-unit-attestation/v1.3.3/index.js.map +1 -0
- package/lib/commonjs/wallet-unit-attestation/v1.3.3/issuing.js +118 -0
- package/lib/commonjs/wallet-unit-attestation/v1.3.3/issuing.js.map +1 -0
- package/lib/commonjs/wallet-unit-attestation/v1.3.3/mappers.js +13 -0
- package/lib/commonjs/wallet-unit-attestation/v1.3.3/mappers.js.map +1 -0
- package/lib/commonjs/wallet-unit-attestation/v1.3.3/types.js +23 -0
- package/lib/commonjs/wallet-unit-attestation/v1.3.3/types.js.map +1 -0
- package/lib/commonjs/wallet-unit-attestation/v1.3.3/utils.js +20 -0
- package/lib/commonjs/wallet-unit-attestation/v1.3.3/utils.js.map +1 -0
- package/lib/module/api/index.js +3 -0
- package/lib/module/api/index.js.map +1 -1
- package/lib/module/client/generated/wallet-provider.js +33 -1
- package/lib/module/client/generated/wallet-provider.js.map +1 -1
- package/lib/module/client/index.js +4 -2
- package/lib/module/client/index.js.map +1 -1
- package/lib/module/credential/issuance/README.md +2 -0
- package/lib/module/credential/issuance/api/IssuerConfig.js +2 -2
- package/lib/module/credential/issuance/api/IssuerConfig.js.map +1 -1
- package/lib/module/credential/issuance/v1.3.3/01-evaluate-issuer-trust.js +2 -0
- package/lib/module/credential/issuance/v1.3.3/01-evaluate-issuer-trust.js.map +1 -1
- package/lib/module/credential/issuance/v1.3.3/03-complete-user-authorization.js +2 -0
- package/lib/module/credential/issuance/v1.3.3/03-complete-user-authorization.js.map +1 -1
- package/lib/module/credential/issuance/v1.3.3/05-obtain-credential.js +16 -9
- package/lib/module/credential/issuance/v1.3.3/05-obtain-credential.js.map +1 -1
- package/lib/module/credential/issuance/v1.3.3/mappers.js +0 -1
- package/lib/module/credential/issuance/v1.3.3/mappers.js.map +1 -1
- package/lib/module/credential/presentation/api/RelyingPartyConfig.js +1 -1
- package/lib/module/credential/presentation/api/RelyingPartyConfig.js.map +1 -1
- package/lib/module/credential/presentation/v1.0.0/04-verify-request-object.js.map +1 -1
- package/lib/module/credential/presentation/v1.3.3/04-verify-request-object.js +4 -2
- package/lib/module/credential/presentation/v1.3.3/04-verify-request-object.js.map +1 -1
- package/lib/module/credentials-catalogue/api/DigitalCredentialsCatalogue.js +37 -11
- package/lib/module/credentials-catalogue/api/DigitalCredentialsCatalogue.js.map +1 -1
- package/lib/module/credentials-catalogue/v1.0.0/mappers.js +16 -5
- package/lib/module/credentials-catalogue/v1.0.0/mappers.js.map +1 -1
- package/lib/module/credentials-catalogue/v1.3.3/mappers.js +4 -2
- package/lib/module/credentials-catalogue/v1.3.3/mappers.js.map +1 -1
- package/lib/module/credentials-catalogue/v1.3.3/types.js +91 -30
- package/lib/module/credentials-catalogue/v1.3.3/types.js.map +1 -1
- package/lib/module/credentials-catalogue/v1.3.3/utils.js +4 -4
- package/lib/module/credentials-catalogue/v1.3.3/utils.js.map +1 -1
- package/lib/module/index.js +2 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/trust/common/types.js +3 -3
- package/lib/module/trust/common/types.js.map +1 -1
- package/lib/module/trust/v1.0.0/types.js +5 -7
- package/lib/module/trust/v1.0.0/types.js.map +1 -1
- package/lib/module/trust/v1.3.3/types.js +1 -3
- package/lib/module/trust/v1.3.3/types.js.map +1 -1
- package/lib/module/utils/callbacks.js +3 -0
- package/lib/module/utils/callbacks.js.map +1 -1
- package/lib/module/utils/crypto.js +8 -0
- package/lib/module/utils/crypto.js.map +1 -1
- package/lib/module/utils/dpop.js +1 -1
- package/lib/module/utils/dpop.js.map +1 -1
- package/lib/module/utils/jwk.js +1 -1
- package/lib/module/utils/jwk.js.map +1 -1
- package/lib/module/utils/zod.js +1 -1
- package/lib/module/utils/zod.js.map +1 -1
- package/lib/module/wallet-instance-attestation/README.md +13 -10
- package/lib/module/wallet-instance-attestation/api/types.js +7 -2
- package/lib/module/wallet-instance-attestation/api/types.js.map +1 -1
- package/lib/module/wallet-instance-attestation/v1.0.0/index.js +3 -3
- package/lib/module/wallet-instance-attestation/v1.0.0/index.js.map +1 -1
- package/lib/module/wallet-instance-attestation/v1.0.0/issuing.js +4 -5
- package/lib/module/wallet-instance-attestation/v1.0.0/issuing.js.map +1 -1
- package/lib/module/wallet-instance-attestation/v1.0.0/mappers.js +3 -4
- package/lib/module/wallet-instance-attestation/v1.0.0/mappers.js.map +1 -1
- package/lib/module/wallet-instance-attestation/v1.3.3/index.js +5 -7
- package/lib/module/wallet-instance-attestation/v1.3.3/index.js.map +1 -1
- package/lib/module/wallet-instance-attestation/v1.3.3/issuing.js +73 -3
- package/lib/module/wallet-instance-attestation/v1.3.3/issuing.js.map +1 -1
- package/lib/module/wallet-instance-attestation/v1.3.3/mappers.js +19 -0
- package/lib/module/wallet-instance-attestation/v1.3.3/mappers.js.map +1 -0
- package/lib/module/wallet-instance-attestation/v1.3.3/types.js +10 -21
- package/lib/module/wallet-instance-attestation/v1.3.3/types.js.map +1 -1
- package/lib/module/wallet-instance-attestation/v1.3.3/utils.js +29 -0
- package/lib/module/wallet-instance-attestation/v1.3.3/utils.js.map +1 -0
- package/lib/module/wallet-unit-attestation/README.md +73 -0
- package/lib/module/wallet-unit-attestation/api/index.js +2 -0
- package/lib/module/wallet-unit-attestation/api/index.js.map +1 -0
- package/lib/module/wallet-unit-attestation/api/types.js +36 -0
- package/lib/module/wallet-unit-attestation/api/types.js.map +1 -0
- package/lib/module/wallet-unit-attestation/index.js +3 -0
- package/lib/module/wallet-unit-attestation/index.js.map +1 -0
- package/lib/module/wallet-unit-attestation/v1.0.0/index.js +4 -0
- package/lib/module/wallet-unit-attestation/v1.0.0/index.js.map +1 -0
- package/lib/module/wallet-unit-attestation/v1.3.3/index.js +10 -0
- package/lib/module/wallet-unit-attestation/v1.3.3/index.js.map +1 -0
- package/lib/module/wallet-unit-attestation/v1.3.3/issuing.js +112 -0
- package/lib/module/wallet-unit-attestation/v1.3.3/issuing.js.map +1 -0
- package/lib/module/wallet-unit-attestation/v1.3.3/mappers.js +6 -0
- package/lib/module/wallet-unit-attestation/v1.3.3/mappers.js.map +1 -0
- package/lib/module/wallet-unit-attestation/v1.3.3/types.js +14 -0
- package/lib/module/wallet-unit-attestation/v1.3.3/types.js.map +1 -0
- package/lib/module/wallet-unit-attestation/v1.3.3/utils.js +15 -0
- package/lib/module/wallet-unit-attestation/v1.3.3/utils.js.map +1 -0
- package/lib/typescript/api/index.d.ts +2 -0
- package/lib/typescript/api/index.d.ts.map +1 -1
- package/lib/typescript/client/generated/wallet-provider.d.ts +122 -358
- package/lib/typescript/client/generated/wallet-provider.d.ts.map +1 -1
- package/lib/typescript/client/index.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/api/05-obtain-credential.d.ts +2 -0
- package/lib/typescript/credential/issuance/api/05-obtain-credential.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/api/IssuerConfig.d.ts +21 -357
- package/lib/typescript/credential/issuance/api/IssuerConfig.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/api/types.d.ts +5 -41
- package/lib/typescript/credential/issuance/api/types.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/common/02-start-user-authorization.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/common/authorization.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/v1.0.0/03-complete-user-authorization.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/v1.0.0/05-obtain-credential.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/v1.0.0/mappers.d.ts +103 -106
- package/lib/typescript/credential/issuance/v1.0.0/mappers.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/v1.0.0/types.d.ts +4 -26
- package/lib/typescript/credential/issuance/v1.0.0/types.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/v1.3.3/01-evaluate-issuer-trust.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/v1.3.3/03-complete-user-authorization.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/v1.3.3/05-obtain-credential.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/v1.3.3/mappers.d.ts +594 -2095
- package/lib/typescript/credential/issuance/v1.3.3/mappers.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/v1.3.3/types.d.ts +1 -5
- package/lib/typescript/credential/issuance/v1.3.3/types.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/api/RelyingPartyConfig.d.ts +9 -154
- package/lib/typescript/credential/presentation/api/RelyingPartyConfig.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/api/types.d.ts +30 -106
- package/lib/typescript/credential/presentation/api/types.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/common/utils/dcql.d.ts +29 -244
- package/lib/typescript/credential/presentation/common/utils/dcql.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/common/utils/http.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/common/utils/sd-jwt.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/common/utils.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/v1.0.0/06-send-authorization-response.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/v1.0.0/mappers.d.ts +56 -58
- package/lib/typescript/credential/presentation/v1.0.0/mappers.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/v1.0.0/types.d.ts +13 -52
- package/lib/typescript/credential/presentation/v1.0.0/types.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/v1.0.0/utils.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/v1.0.0/utils.jwks.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/v1.3.3/04-verify-request-object.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/v1.3.3/mappers.d.ts +133 -525
- package/lib/typescript/credential/presentation/v1.3.3/mappers.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/v1.3.3/sdkErrorMapper.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/v1.3.3/types.d.ts +39 -3672
- package/lib/typescript/credential/presentation/v1.3.3/types.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/v1.3.3/utils.mdoc.d.ts.map +1 -1
- package/lib/typescript/credential/status/v1.0.0/mappers.d.ts +6 -6
- package/lib/typescript/credential/status/v1.0.0/types.d.ts +33 -659
- package/lib/typescript/credential/status/v1.0.0/types.d.ts.map +1 -1
- package/lib/typescript/credentials-catalogue/api/DigitalCredentialsCatalogue.d.ts +111 -525
- package/lib/typescript/credentials-catalogue/api/DigitalCredentialsCatalogue.d.ts.map +1 -1
- package/lib/typescript/credentials-catalogue/v1.0.0/mappers.d.ts +48 -20
- package/lib/typescript/credentials-catalogue/v1.0.0/mappers.d.ts.map +1 -1
- package/lib/typescript/credentials-catalogue/v1.0.0/types.d.ts +41 -737
- package/lib/typescript/credentials-catalogue/v1.0.0/types.d.ts.map +1 -1
- package/lib/typescript/credentials-catalogue/v1.3.3/mappers.d.ts +147 -62
- package/lib/typescript/credentials-catalogue/v1.3.3/mappers.d.ts.map +1 -1
- package/lib/typescript/credentials-catalogue/v1.3.3/types.d.ts +180 -941
- package/lib/typescript/credentials-catalogue/v1.3.3/types.d.ts.map +1 -1
- package/lib/typescript/credentials-catalogue/v1.3.3/utils.d.ts +1 -1
- package/lib/typescript/credentials-catalogue/v1.3.3/utils.d.ts.map +1 -1
- package/lib/typescript/index.d.ts +4 -3
- package/lib/typescript/index.d.ts.map +1 -1
- package/lib/typescript/mdoc/index.d.ts.map +1 -1
- package/lib/typescript/mdoc/utils.d.ts.map +1 -1
- package/lib/typescript/sd-jwt/index.d.ts +15 -15
- package/lib/typescript/sd-jwt/index.d.ts.map +1 -1
- package/lib/typescript/sd-jwt/types.d.ts +33 -492
- package/lib/typescript/sd-jwt/types.d.ts.map +1 -1
- package/lib/typescript/sd-jwt/utils.d.ts.map +1 -1
- package/lib/typescript/trust/api/TrustAnchorConfig.d.ts +12 -201
- package/lib/typescript/trust/api/TrustAnchorConfig.d.ts.map +1 -1
- package/lib/typescript/trust/common/build-chain.d.ts.map +1 -1
- package/lib/typescript/trust/common/types.d.ts +32 -1198
- package/lib/typescript/trust/common/types.d.ts.map +1 -1
- package/lib/typescript/trust/common/utils.d.ts.map +1 -1
- package/lib/typescript/trust/v1.0.0/build-chain.d.ts +1 -53
- package/lib/typescript/trust/v1.0.0/build-chain.d.ts.map +1 -1
- package/lib/typescript/trust/v1.0.0/entities.d.ts +324 -347
- package/lib/typescript/trust/v1.0.0/entities.d.ts.map +1 -1
- package/lib/typescript/trust/v1.0.0/mappers.d.ts +31 -35
- package/lib/typescript/trust/v1.0.0/mappers.d.ts.map +1 -1
- package/lib/typescript/trust/v1.0.0/types.d.ts +678 -12454
- package/lib/typescript/trust/v1.0.0/types.d.ts.map +1 -1
- package/lib/typescript/trust/v1.0.0/verify-chain.d.ts +4 -56
- package/lib/typescript/trust/v1.0.0/verify-chain.d.ts.map +1 -1
- package/lib/typescript/trust/v1.3.3/entities.d.ts +43 -47
- package/lib/typescript/trust/v1.3.3/entities.d.ts.map +1 -1
- package/lib/typescript/trust/v1.3.3/types.d.ts +655 -14339
- package/lib/typescript/trust/v1.3.3/types.d.ts.map +1 -1
- package/lib/typescript/utils/auth.d.ts +3 -25
- package/lib/typescript/utils/auth.d.ts.map +1 -1
- package/lib/typescript/utils/callbacks.d.ts.map +1 -1
- package/lib/typescript/utils/config.d.ts +3 -3
- package/lib/typescript/utils/config.d.ts.map +1 -1
- package/lib/typescript/utils/credentials.d.ts.map +1 -1
- package/lib/typescript/utils/crypto.d.ts +18 -0
- package/lib/typescript/utils/crypto.d.ts.map +1 -1
- package/lib/typescript/utils/decoder.d.ts.map +1 -1
- package/lib/typescript/utils/dpop.d.ts +5 -12
- package/lib/typescript/utils/dpop.d.ts.map +1 -1
- package/lib/typescript/utils/errors.d.ts.map +1 -1
- package/lib/typescript/utils/jwk.d.ts +15 -175
- package/lib/typescript/utils/jwk.d.ts.map +1 -1
- package/lib/typescript/utils/mappers.d.ts.map +1 -1
- package/lib/typescript/utils/misc.d.ts +2 -2
- package/lib/typescript/utils/misc.d.ts.map +1 -1
- package/lib/typescript/utils/object.d.ts.map +1 -1
- package/lib/typescript/utils/par.d.ts +7 -45
- package/lib/typescript/utils/par.d.ts.map +1 -1
- package/lib/typescript/utils/parser.d.ts.map +1 -1
- package/lib/typescript/utils/pop.d.ts +1 -9
- package/lib/typescript/utils/pop.d.ts.map +1 -1
- package/lib/typescript/utils/string.d.ts.map +1 -1
- package/lib/typescript/utils/zod.d.ts +4 -4
- package/lib/typescript/utils/zod.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/api/index.d.ts +9 -9
- package/lib/typescript/wallet-instance-attestation/api/index.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/api/types.d.ts +19 -174
- package/lib/typescript/wallet-instance-attestation/api/types.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/common/types.d.ts +14 -273
- package/lib/typescript/wallet-instance-attestation/common/types.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/v1.0.0/issuing.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/v1.0.0/mappers.d.ts +5 -3
- package/lib/typescript/wallet-instance-attestation/v1.0.0/mappers.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/v1.0.0/types.d.ts +39 -629
- package/lib/typescript/wallet-instance-attestation/v1.0.0/types.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/v1.3.3/index.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/v1.3.3/issuing.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/v1.3.3/mappers.d.ts +90 -0
- package/lib/typescript/wallet-instance-attestation/v1.3.3/mappers.d.ts.map +1 -0
- package/lib/typescript/wallet-instance-attestation/v1.3.3/types.d.ts +29 -891
- package/lib/typescript/wallet-instance-attestation/v1.3.3/types.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/v1.3.3/utils.d.ts +15 -0
- package/lib/typescript/wallet-instance-attestation/v1.3.3/utils.d.ts.map +1 -0
- package/lib/typescript/wallet-unit-attestation/api/index.d.ts +39 -0
- package/lib/typescript/wallet-unit-attestation/api/index.d.ts.map +1 -0
- package/lib/typescript/wallet-unit-attestation/api/types.d.ts +67 -0
- package/lib/typescript/wallet-unit-attestation/api/types.d.ts.map +1 -0
- package/lib/typescript/wallet-unit-attestation/index.d.ts +4 -0
- package/lib/typescript/wallet-unit-attestation/index.d.ts.map +1 -0
- package/lib/typescript/wallet-unit-attestation/v1.0.0/index.d.ts +3 -0
- package/lib/typescript/wallet-unit-attestation/v1.0.0/index.d.ts.map +1 -0
- package/lib/typescript/wallet-unit-attestation/v1.3.3/index.d.ts +3 -0
- package/lib/typescript/wallet-unit-attestation/v1.3.3/index.d.ts.map +1 -0
- package/lib/typescript/wallet-unit-attestation/v1.3.3/issuing.d.ts +3 -0
- package/lib/typescript/wallet-unit-attestation/v1.3.3/issuing.d.ts.map +1 -0
- package/lib/typescript/wallet-unit-attestation/v1.3.3/mappers.d.ts +107 -0
- package/lib/typescript/wallet-unit-attestation/v1.3.3/mappers.d.ts.map +1 -0
- package/lib/typescript/wallet-unit-attestation/v1.3.3/types.d.ts +69 -0
- package/lib/typescript/wallet-unit-attestation/v1.3.3/types.d.ts.map +1 -0
- package/lib/typescript/wallet-unit-attestation/v1.3.3/utils.d.ts +7 -0
- package/lib/typescript/wallet-unit-attestation/v1.3.3/utils.d.ts.map +1 -0
- package/package.json +8 -8
- package/src/api/index.ts +4 -0
- package/src/client/generated/wallet-provider.ts +44 -0
- package/src/client/index.ts +5 -1
- package/src/credential/issuance/README.md +2 -0
- package/src/credential/issuance/api/05-obtain-credential.ts +2 -0
- package/src/credential/issuance/api/IssuerConfig.ts +4 -2
- package/src/credential/issuance/v1.3.3/01-evaluate-issuer-trust.ts +8 -3
- package/src/credential/issuance/v1.3.3/03-complete-user-authorization.ts +2 -0
- package/src/credential/issuance/v1.3.3/05-obtain-credential.ts +25 -11
- package/src/credential/issuance/v1.3.3/mappers.ts +10 -9
- package/src/credential/presentation/api/RelyingPartyConfig.ts +1 -1
- package/src/credential/presentation/v1.0.0/04-verify-request-object.ts +2 -2
- package/src/credential/presentation/v1.3.3/04-verify-request-object.ts +4 -2
- package/src/credentials-catalogue/api/DigitalCredentialsCatalogue.ts +42 -10
- package/src/credentials-catalogue/v1.0.0/mappers.ts +27 -12
- package/src/credentials-catalogue/v1.3.3/mappers.ts +10 -4
- package/src/credentials-catalogue/v1.3.3/types.ts +102 -29
- package/src/credentials-catalogue/v1.3.3/utils.ts +9 -4
- package/src/index.ts +11 -2
- package/src/trust/common/types.ts +3 -3
- package/src/trust/v1.0.0/types.ts +10 -10
- package/src/trust/v1.3.3/types.ts +4 -7
- package/src/utils/callbacks.ts +7 -1
- package/src/utils/crypto.ts +18 -0
- package/src/utils/dpop.ts +1 -1
- package/src/utils/jwk.ts +1 -1
- package/src/utils/mappers.ts +2 -2
- package/src/utils/zod.ts +5 -1
- package/src/wallet-instance-attestation/README.md +13 -10
- package/src/wallet-instance-attestation/api/index.ts +20 -13
- package/src/wallet-instance-attestation/api/types.ts +16 -4
- package/src/wallet-instance-attestation/v1.0.0/index.ts +3 -3
- package/src/wallet-instance-attestation/v1.0.0/issuing.ts +7 -9
- package/src/wallet-instance-attestation/v1.0.0/mappers.ts +7 -5
- package/src/wallet-instance-attestation/v1.3.3/index.ts +5 -7
- package/src/wallet-instance-attestation/v1.3.3/issuing.ts +107 -3
- package/src/wallet-instance-attestation/v1.3.3/mappers.ts +18 -0
- package/src/wallet-instance-attestation/v1.3.3/types.ts +16 -30
- package/src/wallet-instance-attestation/v1.3.3/utils.ts +35 -0
- package/src/wallet-unit-attestation/README.md +73 -0
- package/src/wallet-unit-attestation/api/index.ts +51 -0
- package/src/wallet-unit-attestation/api/types.ts +49 -0
- package/src/wallet-unit-attestation/index.ts +3 -0
- package/src/wallet-unit-attestation/v1.0.0/index.ts +5 -0
- package/src/wallet-unit-attestation/v1.3.3/index.ts +11 -0
- package/src/wallet-unit-attestation/v1.3.3/issuing.ts +147 -0
- package/src/wallet-unit-attestation/v1.3.3/mappers.ts +10 -0
- package/src/wallet-unit-attestation/v1.3.3/types.ts +21 -0
- package/src/wallet-unit-attestation/v1.3.3/utils.ts +14 -0
|
@@ -2,562 +2,204 @@ import * as z from "zod";
|
|
|
2
2
|
export declare const AuthenticSource: z.ZodObject<{
|
|
3
3
|
entity_id: z.ZodString;
|
|
4
4
|
organization_info: z.ZodObject<{
|
|
5
|
-
|
|
5
|
+
organization_name_l10n_id: z.ZodString;
|
|
6
6
|
organization_type: z.ZodString;
|
|
7
7
|
organization_country: z.ZodString;
|
|
8
|
+
legal_identifier: z.ZodString;
|
|
9
|
+
homepage_uri: z.ZodString;
|
|
10
|
+
contacts: z.ZodArray<z.ZodString>;
|
|
11
|
+
policy_uri: z.ZodString;
|
|
8
12
|
ipa_code: z.ZodOptional<z.ZodString>;
|
|
9
|
-
|
|
10
|
-
homepage_uri: z.ZodOptional<z.ZodString>;
|
|
13
|
+
tos_uri: z.ZodOptional<z.ZodString>;
|
|
11
14
|
logo_uri: z.ZodOptional<z.ZodString>;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
homepage_uri?: string | undefined;
|
|
18
|
-
policy_uri?: string | undefined;
|
|
19
|
-
logo_uri?: string | undefined;
|
|
20
|
-
contacts?: string[] | undefined;
|
|
21
|
-
ipa_code?: string | undefined;
|
|
22
|
-
}, {
|
|
23
|
-
organization_name: string;
|
|
24
|
-
organization_country: string;
|
|
25
|
-
organization_type: string;
|
|
26
|
-
homepage_uri?: string | undefined;
|
|
27
|
-
policy_uri?: string | undefined;
|
|
28
|
-
logo_uri?: string | undefined;
|
|
29
|
-
contacts?: string[] | undefined;
|
|
30
|
-
ipa_code?: string | undefined;
|
|
31
|
-
}>;
|
|
15
|
+
"logo_uri#integrity": z.ZodOptional<z.ZodString>;
|
|
16
|
+
logo_extended_uri: z.ZodOptional<z.ZodString>;
|
|
17
|
+
"logo_extended_uri#integrity": z.ZodOptional<z.ZodString>;
|
|
18
|
+
dpa_contact: z.ZodOptional<z.ZodString>;
|
|
19
|
+
}, z.core.$strip>;
|
|
32
20
|
data_capabilities: z.ZodArray<z.ZodObject<{
|
|
33
21
|
dataset_id: z.ZodString;
|
|
34
|
-
|
|
35
|
-
intended_purposes: z.ZodArray<z.ZodString, "many">;
|
|
22
|
+
intended_purposes: z.ZodArray<z.ZodString>;
|
|
36
23
|
available_claims: z.ZodArray<z.ZodObject<{
|
|
37
24
|
claim_name: z.ZodString;
|
|
38
25
|
order: z.ZodNumber;
|
|
39
26
|
mandatory: z.ZodBoolean;
|
|
40
|
-
},
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
user_information?: string | undefined;
|
|
60
|
-
}, {
|
|
61
|
-
dataset_id: string;
|
|
62
|
-
domains: string[];
|
|
63
|
-
intended_purposes: string[];
|
|
64
|
-
available_claims: {
|
|
65
|
-
claim_name: string;
|
|
66
|
-
order: number;
|
|
67
|
-
mandatory: boolean;
|
|
68
|
-
}[];
|
|
69
|
-
user_information?: string | undefined;
|
|
70
|
-
}>, "many">;
|
|
71
|
-
}, "strip", z.ZodTypeAny, {
|
|
72
|
-
entity_id: string;
|
|
73
|
-
organization_info: {
|
|
74
|
-
organization_name: string;
|
|
75
|
-
organization_country: string;
|
|
76
|
-
organization_type: string;
|
|
77
|
-
homepage_uri?: string | undefined;
|
|
78
|
-
policy_uri?: string | undefined;
|
|
79
|
-
logo_uri?: string | undefined;
|
|
80
|
-
contacts?: string[] | undefined;
|
|
81
|
-
ipa_code?: string | undefined;
|
|
82
|
-
};
|
|
83
|
-
data_capabilities: {
|
|
84
|
-
dataset_id: string;
|
|
85
|
-
domains: string[];
|
|
86
|
-
intended_purposes: string[];
|
|
87
|
-
available_claims: {
|
|
88
|
-
claim_name: string;
|
|
89
|
-
order: number;
|
|
90
|
-
mandatory: boolean;
|
|
91
|
-
}[];
|
|
92
|
-
user_information?: string | undefined;
|
|
93
|
-
}[];
|
|
94
|
-
}, {
|
|
95
|
-
entity_id: string;
|
|
96
|
-
organization_info: {
|
|
97
|
-
organization_name: string;
|
|
98
|
-
organization_country: string;
|
|
99
|
-
organization_type: string;
|
|
100
|
-
homepage_uri?: string | undefined;
|
|
101
|
-
policy_uri?: string | undefined;
|
|
102
|
-
logo_uri?: string | undefined;
|
|
103
|
-
contacts?: string[] | undefined;
|
|
104
|
-
ipa_code?: string | undefined;
|
|
105
|
-
};
|
|
106
|
-
data_capabilities: {
|
|
107
|
-
dataset_id: string;
|
|
108
|
-
domains: string[];
|
|
109
|
-
intended_purposes: string[];
|
|
110
|
-
available_claims: {
|
|
111
|
-
claim_name: string;
|
|
112
|
-
order: number;
|
|
113
|
-
mandatory: boolean;
|
|
114
|
-
}[];
|
|
115
|
-
user_information?: string | undefined;
|
|
116
|
-
}[];
|
|
117
|
-
}>;
|
|
27
|
+
}, z.core.$strip>>;
|
|
28
|
+
domains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29
|
+
data_origin_l10n_id: z.ZodString;
|
|
30
|
+
integration_endpoint: z.ZodString;
|
|
31
|
+
integration_method: z.ZodString;
|
|
32
|
+
user_information_l10n_id: z.ZodString;
|
|
33
|
+
api_specification: z.ZodOptional<z.ZodString>;
|
|
34
|
+
background_color: z.ZodOptional<z.ZodString>;
|
|
35
|
+
contacts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
36
|
+
data_provision: z.ZodOptional<z.ZodObject<{
|
|
37
|
+
deferred_flow: z.ZodBoolean;
|
|
38
|
+
immediate_flow: z.ZodBoolean;
|
|
39
|
+
}, z.core.$strip>>;
|
|
40
|
+
logo_uri: z.ZodOptional<z.ZodString>;
|
|
41
|
+
"logo_uri#integrity": z.ZodOptional<z.ZodString>;
|
|
42
|
+
service_documentation: z.ZodOptional<z.ZodString>;
|
|
43
|
+
update_frequency: z.ZodOptional<z.ZodString>;
|
|
44
|
+
}, z.core.$strip>>;
|
|
45
|
+
}, z.core.$strip>;
|
|
118
46
|
export type AuthenticSource = z.infer<typeof AuthenticSource>;
|
|
119
47
|
export declare const Schema: z.ZodObject<{
|
|
120
48
|
id: z.ZodString;
|
|
121
49
|
version: z.ZodString;
|
|
122
50
|
credential_type: z.ZodString;
|
|
123
|
-
format: z.ZodEnum<
|
|
51
|
+
format: z.ZodEnum<{
|
|
52
|
+
"dc+sd-jwt": "dc+sd-jwt";
|
|
53
|
+
mso_mdoc: "mso_mdoc";
|
|
54
|
+
}>;
|
|
124
55
|
docType: z.ZodOptional<z.ZodString>;
|
|
125
56
|
vct: z.ZodOptional<z.ZodString>;
|
|
126
57
|
schema_uri: z.ZodString;
|
|
127
58
|
"schema_uri#integrity": z.ZodString;
|
|
128
59
|
description: z.ZodOptional<z.ZodString>;
|
|
129
|
-
},
|
|
130
|
-
id: string;
|
|
131
|
-
format: "dc+sd-jwt" | "mso_mdoc";
|
|
132
|
-
schema_uri: string;
|
|
133
|
-
"schema_uri#integrity": string;
|
|
134
|
-
version: string;
|
|
135
|
-
credential_type: string;
|
|
136
|
-
description?: string | undefined;
|
|
137
|
-
vct?: string | undefined;
|
|
138
|
-
docType?: string | undefined;
|
|
139
|
-
}, {
|
|
140
|
-
id: string;
|
|
141
|
-
format: "dc+sd-jwt" | "mso_mdoc";
|
|
142
|
-
schema_uri: string;
|
|
143
|
-
"schema_uri#integrity": string;
|
|
144
|
-
version: string;
|
|
145
|
-
credential_type: string;
|
|
146
|
-
description?: string | undefined;
|
|
147
|
-
vct?: string | undefined;
|
|
148
|
-
docType?: string | undefined;
|
|
149
|
-
}>;
|
|
60
|
+
}, z.core.$strip>;
|
|
150
61
|
export type Schema = z.infer<typeof Schema>;
|
|
151
62
|
export declare const DigitalCredential: z.ZodObject<{
|
|
152
63
|
version: z.ZodString;
|
|
153
64
|
credential_type: z.ZodString;
|
|
154
|
-
|
|
65
|
+
credential_name_l10n_id: z.ZodString;
|
|
155
66
|
legal_type: z.ZodString;
|
|
156
|
-
|
|
67
|
+
restriction_policy: z.ZodOptional<z.ZodObject<{
|
|
68
|
+
allowed_wallet_ids: z.ZodArray<z.ZodString>;
|
|
69
|
+
allowed_issuer_ids: z.ZodArray<z.ZodString>;
|
|
70
|
+
presentation_flows: z.ZodObject<{
|
|
71
|
+
remote: z.ZodBoolean;
|
|
72
|
+
proximity: z.ZodBoolean;
|
|
73
|
+
}, z.core.$strip>;
|
|
74
|
+
}, z.core.$strip>>;
|
|
157
75
|
validity_info: z.ZodObject<{
|
|
158
76
|
max_validity_days: z.ZodNumber;
|
|
159
|
-
status_methods: z.ZodArray<z.ZodString
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
allowed_states:
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
77
|
+
status_methods: z.ZodArray<z.ZodString>;
|
|
78
|
+
administrative_expiration_user_info: z.ZodOptional<z.ZodObject<{
|
|
79
|
+
title_l10n_id: z.ZodString;
|
|
80
|
+
description_l10n_id: z.ZodString;
|
|
81
|
+
}, z.core.$strip>>;
|
|
82
|
+
allowed_states: z.ZodArray<z.ZodObject<{
|
|
83
|
+
title_l10n_id: z.ZodString;
|
|
84
|
+
description_l10n_id: z.ZodString;
|
|
85
|
+
}, z.core.$catchall<z.ZodString>>>;
|
|
86
|
+
}, z.core.$strip>;
|
|
87
|
+
administrative_expiration_user_info: z.ZodOptional<z.ZodObject<{
|
|
88
|
+
title_l10n_id: z.ZodString;
|
|
89
|
+
description_l10n_id: z.ZodString;
|
|
90
|
+
}, z.core.$strip>>;
|
|
170
91
|
authentication: z.ZodObject<{
|
|
171
92
|
user_auth_required: z.ZodBoolean;
|
|
172
93
|
min_loa: z.ZodString;
|
|
173
|
-
|
|
174
|
-
},
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
}, {
|
|
179
|
-
user_auth_required: boolean;
|
|
180
|
-
min_loa: string;
|
|
181
|
-
supported_eid_schemes: string[];
|
|
182
|
-
}>;
|
|
183
|
-
purposes: z.ZodArray<z.ZodObject<{
|
|
184
|
-
id: z.ZodString;
|
|
185
|
-
description: z.ZodString;
|
|
186
|
-
claims_required: z.ZodArray<z.ZodString, "many">;
|
|
187
|
-
claim_recommended: z.ZodArray<z.ZodString, "many">;
|
|
188
|
-
}, "strip", z.ZodTypeAny, {
|
|
189
|
-
id: string;
|
|
190
|
-
description: string;
|
|
191
|
-
claims_required: string[];
|
|
192
|
-
claim_recommended: string[];
|
|
193
|
-
}, {
|
|
194
|
-
id: string;
|
|
195
|
-
description: string;
|
|
196
|
-
claims_required: string[];
|
|
197
|
-
claim_recommended: string[];
|
|
198
|
-
}>, "many">;
|
|
94
|
+
supported_schemes: z.ZodArray<z.ZodString>;
|
|
95
|
+
}, z.core.$strip>;
|
|
96
|
+
domains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
97
|
+
classes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
98
|
+
purposes: z.ZodArray<z.ZodString>;
|
|
199
99
|
issuers: z.ZodArray<z.ZodObject<{
|
|
200
100
|
id: z.ZodString;
|
|
201
|
-
|
|
101
|
+
organization_name_l10n_id: z.ZodString;
|
|
202
102
|
organization_code: z.ZodString;
|
|
203
103
|
organization_country: z.ZodString;
|
|
204
|
-
|
|
104
|
+
legal_type: z.ZodOptional<z.ZodString>;
|
|
105
|
+
contacts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
205
106
|
homepage_uri: z.ZodOptional<z.ZodString>;
|
|
206
107
|
logo_uri: z.ZodOptional<z.ZodString>;
|
|
207
108
|
policy_uri: z.ZodOptional<z.ZodString>;
|
|
208
109
|
tos_uri: z.ZodOptional<z.ZodString>;
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
homepage_uri?: string | undefined;
|
|
215
|
-
policy_uri?: string | undefined;
|
|
216
|
-
logo_uri?: string | undefined;
|
|
217
|
-
contacts?: string[] | undefined;
|
|
218
|
-
tos_uri?: string | undefined;
|
|
219
|
-
}, {
|
|
220
|
-
id: string;
|
|
221
|
-
organization_name: string;
|
|
222
|
-
organization_code: string;
|
|
223
|
-
organization_country: string;
|
|
224
|
-
homepage_uri?: string | undefined;
|
|
225
|
-
policy_uri?: string | undefined;
|
|
226
|
-
logo_uri?: string | undefined;
|
|
227
|
-
contacts?: string[] | undefined;
|
|
228
|
-
tos_uri?: string | undefined;
|
|
229
|
-
}>, "many">;
|
|
110
|
+
service_documentation: z.ZodOptional<z.ZodString>;
|
|
111
|
+
issuance_flows: z.ZodOptional<z.ZodObject<{
|
|
112
|
+
deferred_flow: z.ZodBoolean;
|
|
113
|
+
}, z.core.$strip>>;
|
|
114
|
+
}, z.core.$strip>>;
|
|
230
115
|
authentic_sources: z.ZodArray<z.ZodObject<{
|
|
231
116
|
id: z.ZodString;
|
|
232
117
|
dataset_id: z.ZodString;
|
|
233
|
-
},
|
|
234
|
-
|
|
235
|
-
dataset_id: string;
|
|
236
|
-
}, {
|
|
237
|
-
id: string;
|
|
238
|
-
dataset_id: string;
|
|
239
|
-
}>, "many">;
|
|
240
|
-
}, "strip", z.ZodTypeAny, {
|
|
241
|
-
description: string;
|
|
242
|
-
version: string;
|
|
243
|
-
credential_type: string;
|
|
244
|
-
legal_type: string;
|
|
245
|
-
validity_info: {
|
|
246
|
-
max_validity_days: number;
|
|
247
|
-
status_methods: string[];
|
|
248
|
-
allowed_states: string[];
|
|
249
|
-
};
|
|
250
|
-
purposes: {
|
|
251
|
-
id: string;
|
|
252
|
-
description: string;
|
|
253
|
-
claims_required: string[];
|
|
254
|
-
claim_recommended: string[];
|
|
255
|
-
}[];
|
|
256
|
-
issuers: {
|
|
257
|
-
id: string;
|
|
258
|
-
organization_name: string;
|
|
259
|
-
organization_code: string;
|
|
260
|
-
organization_country: string;
|
|
261
|
-
homepage_uri?: string | undefined;
|
|
262
|
-
policy_uri?: string | undefined;
|
|
263
|
-
logo_uri?: string | undefined;
|
|
264
|
-
contacts?: string[] | undefined;
|
|
265
|
-
tos_uri?: string | undefined;
|
|
266
|
-
}[];
|
|
267
|
-
authentic_sources: {
|
|
268
|
-
id: string;
|
|
269
|
-
dataset_id: string;
|
|
270
|
-
}[];
|
|
271
|
-
authentication: {
|
|
272
|
-
user_auth_required: boolean;
|
|
273
|
-
min_loa: string;
|
|
274
|
-
supported_eid_schemes: string[];
|
|
275
|
-
};
|
|
276
|
-
credential_name: string;
|
|
277
|
-
}, {
|
|
278
|
-
description: string;
|
|
279
|
-
version: string;
|
|
280
|
-
credential_type: string;
|
|
281
|
-
legal_type: string;
|
|
282
|
-
validity_info: {
|
|
283
|
-
max_validity_days: number;
|
|
284
|
-
status_methods: string[];
|
|
285
|
-
allowed_states: string[];
|
|
286
|
-
};
|
|
287
|
-
purposes: {
|
|
288
|
-
id: string;
|
|
289
|
-
description: string;
|
|
290
|
-
claims_required: string[];
|
|
291
|
-
claim_recommended: string[];
|
|
292
|
-
}[];
|
|
293
|
-
issuers: {
|
|
294
|
-
id: string;
|
|
295
|
-
organization_name: string;
|
|
296
|
-
organization_code: string;
|
|
297
|
-
organization_country: string;
|
|
298
|
-
homepage_uri?: string | undefined;
|
|
299
|
-
policy_uri?: string | undefined;
|
|
300
|
-
logo_uri?: string | undefined;
|
|
301
|
-
contacts?: string[] | undefined;
|
|
302
|
-
tos_uri?: string | undefined;
|
|
303
|
-
}[];
|
|
304
|
-
authentic_sources: {
|
|
305
|
-
id: string;
|
|
306
|
-
dataset_id: string;
|
|
307
|
-
}[];
|
|
308
|
-
authentication: {
|
|
309
|
-
user_auth_required: boolean;
|
|
310
|
-
min_loa: string;
|
|
311
|
-
supported_eid_schemes: string[];
|
|
312
|
-
};
|
|
313
|
-
credential_name: string;
|
|
314
|
-
}>;
|
|
118
|
+
}, z.core.$strip>>;
|
|
119
|
+
}, z.core.$strip>;
|
|
315
120
|
/**
|
|
316
121
|
* Schema registry, available at a dedicated endpoint.
|
|
317
122
|
* @see https://italia.github.io/eid-wallet-it-docs/releases/1.3.3/en/registry.html#schema-registry
|
|
318
123
|
*/
|
|
319
124
|
export declare const SchemaRegistry: z.ZodObject<{
|
|
320
125
|
version: z.ZodString;
|
|
321
|
-
last_modified: z.ZodString
|
|
126
|
+
last_modified: z.ZodOptional<z.ZodString>;
|
|
127
|
+
last_updated: z.ZodOptional<z.ZodString>;
|
|
322
128
|
schemas: z.ZodArray<z.ZodObject<{
|
|
323
129
|
id: z.ZodString;
|
|
324
130
|
version: z.ZodString;
|
|
325
131
|
credential_type: z.ZodString;
|
|
326
|
-
format: z.ZodEnum<
|
|
132
|
+
format: z.ZodEnum<{
|
|
133
|
+
"dc+sd-jwt": "dc+sd-jwt";
|
|
134
|
+
mso_mdoc: "mso_mdoc";
|
|
135
|
+
}>;
|
|
327
136
|
docType: z.ZodOptional<z.ZodString>;
|
|
328
137
|
vct: z.ZodOptional<z.ZodString>;
|
|
329
138
|
schema_uri: z.ZodString;
|
|
330
139
|
"schema_uri#integrity": z.ZodString;
|
|
331
140
|
description: z.ZodOptional<z.ZodString>;
|
|
332
|
-
},
|
|
333
|
-
|
|
334
|
-
format: "dc+sd-jwt" | "mso_mdoc";
|
|
335
|
-
schema_uri: string;
|
|
336
|
-
"schema_uri#integrity": string;
|
|
337
|
-
version: string;
|
|
338
|
-
credential_type: string;
|
|
339
|
-
description?: string | undefined;
|
|
340
|
-
vct?: string | undefined;
|
|
341
|
-
docType?: string | undefined;
|
|
342
|
-
}, {
|
|
343
|
-
id: string;
|
|
344
|
-
format: "dc+sd-jwt" | "mso_mdoc";
|
|
345
|
-
schema_uri: string;
|
|
346
|
-
"schema_uri#integrity": string;
|
|
347
|
-
version: string;
|
|
348
|
-
credential_type: string;
|
|
349
|
-
description?: string | undefined;
|
|
350
|
-
vct?: string | undefined;
|
|
351
|
-
docType?: string | undefined;
|
|
352
|
-
}>, "many">;
|
|
353
|
-
}, "strip", z.ZodTypeAny, {
|
|
354
|
-
version: string;
|
|
355
|
-
last_modified: string;
|
|
356
|
-
schemas: {
|
|
357
|
-
id: string;
|
|
358
|
-
format: "dc+sd-jwt" | "mso_mdoc";
|
|
359
|
-
schema_uri: string;
|
|
360
|
-
"schema_uri#integrity": string;
|
|
361
|
-
version: string;
|
|
362
|
-
credential_type: string;
|
|
363
|
-
description?: string | undefined;
|
|
364
|
-
vct?: string | undefined;
|
|
365
|
-
docType?: string | undefined;
|
|
366
|
-
}[];
|
|
367
|
-
}, {
|
|
368
|
-
version: string;
|
|
369
|
-
last_modified: string;
|
|
370
|
-
schemas: {
|
|
371
|
-
id: string;
|
|
372
|
-
format: "dc+sd-jwt" | "mso_mdoc";
|
|
373
|
-
schema_uri: string;
|
|
374
|
-
"schema_uri#integrity": string;
|
|
375
|
-
version: string;
|
|
376
|
-
credential_type: string;
|
|
377
|
-
description?: string | undefined;
|
|
378
|
-
vct?: string | undefined;
|
|
379
|
-
docType?: string | undefined;
|
|
380
|
-
}[];
|
|
381
|
-
}>;
|
|
141
|
+
}, z.core.$strip>>;
|
|
142
|
+
}, z.core.$strip>;
|
|
382
143
|
export type SchemaRegistry = z.infer<typeof SchemaRegistry>;
|
|
383
144
|
/**
|
|
384
145
|
* Authentic Source registry, available at a dedicated endpoint.
|
|
385
146
|
* @see https://italia.github.io/eid-wallet-it-docs/releases/1.3.3/en/registry.html#authentic-source-registry
|
|
386
147
|
*/
|
|
387
148
|
export declare const AuthenticSourceRegistry: z.ZodObject<{
|
|
149
|
+
id: z.ZodOptional<z.ZodString>;
|
|
388
150
|
version: z.ZodString;
|
|
389
151
|
last_modified: z.ZodString;
|
|
152
|
+
localization: z.ZodOptional<z.ZodObject<{
|
|
153
|
+
available_locales: z.ZodArray<z.ZodString>;
|
|
154
|
+
base_uri: z.ZodString;
|
|
155
|
+
default_locale: z.ZodString;
|
|
156
|
+
version: z.ZodString;
|
|
157
|
+
}, z.core.$strip>>;
|
|
390
158
|
authentic_sources: z.ZodArray<z.ZodObject<{
|
|
391
159
|
entity_id: z.ZodString;
|
|
392
160
|
organization_info: z.ZodObject<{
|
|
393
|
-
|
|
161
|
+
organization_name_l10n_id: z.ZodString;
|
|
394
162
|
organization_type: z.ZodString;
|
|
395
163
|
organization_country: z.ZodString;
|
|
164
|
+
legal_identifier: z.ZodString;
|
|
165
|
+
homepage_uri: z.ZodString;
|
|
166
|
+
contacts: z.ZodArray<z.ZodString>;
|
|
167
|
+
policy_uri: z.ZodString;
|
|
396
168
|
ipa_code: z.ZodOptional<z.ZodString>;
|
|
397
|
-
|
|
398
|
-
homepage_uri: z.ZodOptional<z.ZodString>;
|
|
169
|
+
tos_uri: z.ZodOptional<z.ZodString>;
|
|
399
170
|
logo_uri: z.ZodOptional<z.ZodString>;
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
homepage_uri?: string | undefined;
|
|
406
|
-
policy_uri?: string | undefined;
|
|
407
|
-
logo_uri?: string | undefined;
|
|
408
|
-
contacts?: string[] | undefined;
|
|
409
|
-
ipa_code?: string | undefined;
|
|
410
|
-
}, {
|
|
411
|
-
organization_name: string;
|
|
412
|
-
organization_country: string;
|
|
413
|
-
organization_type: string;
|
|
414
|
-
homepage_uri?: string | undefined;
|
|
415
|
-
policy_uri?: string | undefined;
|
|
416
|
-
logo_uri?: string | undefined;
|
|
417
|
-
contacts?: string[] | undefined;
|
|
418
|
-
ipa_code?: string | undefined;
|
|
419
|
-
}>;
|
|
171
|
+
"logo_uri#integrity": z.ZodOptional<z.ZodString>;
|
|
172
|
+
logo_extended_uri: z.ZodOptional<z.ZodString>;
|
|
173
|
+
"logo_extended_uri#integrity": z.ZodOptional<z.ZodString>;
|
|
174
|
+
dpa_contact: z.ZodOptional<z.ZodString>;
|
|
175
|
+
}, z.core.$strip>;
|
|
420
176
|
data_capabilities: z.ZodArray<z.ZodObject<{
|
|
421
177
|
dataset_id: z.ZodString;
|
|
422
|
-
|
|
423
|
-
intended_purposes: z.ZodArray<z.ZodString, "many">;
|
|
178
|
+
intended_purposes: z.ZodArray<z.ZodString>;
|
|
424
179
|
available_claims: z.ZodArray<z.ZodObject<{
|
|
425
180
|
claim_name: z.ZodString;
|
|
426
181
|
order: z.ZodNumber;
|
|
427
182
|
mandatory: z.ZodBoolean;
|
|
428
|
-
},
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
}, {
|
|
449
|
-
dataset_id: string;
|
|
450
|
-
domains: string[];
|
|
451
|
-
intended_purposes: string[];
|
|
452
|
-
available_claims: {
|
|
453
|
-
claim_name: string;
|
|
454
|
-
order: number;
|
|
455
|
-
mandatory: boolean;
|
|
456
|
-
}[];
|
|
457
|
-
user_information?: string | undefined;
|
|
458
|
-
}>, "many">;
|
|
459
|
-
}, "strip", z.ZodTypeAny, {
|
|
460
|
-
entity_id: string;
|
|
461
|
-
organization_info: {
|
|
462
|
-
organization_name: string;
|
|
463
|
-
organization_country: string;
|
|
464
|
-
organization_type: string;
|
|
465
|
-
homepage_uri?: string | undefined;
|
|
466
|
-
policy_uri?: string | undefined;
|
|
467
|
-
logo_uri?: string | undefined;
|
|
468
|
-
contacts?: string[] | undefined;
|
|
469
|
-
ipa_code?: string | undefined;
|
|
470
|
-
};
|
|
471
|
-
data_capabilities: {
|
|
472
|
-
dataset_id: string;
|
|
473
|
-
domains: string[];
|
|
474
|
-
intended_purposes: string[];
|
|
475
|
-
available_claims: {
|
|
476
|
-
claim_name: string;
|
|
477
|
-
order: number;
|
|
478
|
-
mandatory: boolean;
|
|
479
|
-
}[];
|
|
480
|
-
user_information?: string | undefined;
|
|
481
|
-
}[];
|
|
482
|
-
}, {
|
|
483
|
-
entity_id: string;
|
|
484
|
-
organization_info: {
|
|
485
|
-
organization_name: string;
|
|
486
|
-
organization_country: string;
|
|
487
|
-
organization_type: string;
|
|
488
|
-
homepage_uri?: string | undefined;
|
|
489
|
-
policy_uri?: string | undefined;
|
|
490
|
-
logo_uri?: string | undefined;
|
|
491
|
-
contacts?: string[] | undefined;
|
|
492
|
-
ipa_code?: string | undefined;
|
|
493
|
-
};
|
|
494
|
-
data_capabilities: {
|
|
495
|
-
dataset_id: string;
|
|
496
|
-
domains: string[];
|
|
497
|
-
intended_purposes: string[];
|
|
498
|
-
available_claims: {
|
|
499
|
-
claim_name: string;
|
|
500
|
-
order: number;
|
|
501
|
-
mandatory: boolean;
|
|
502
|
-
}[];
|
|
503
|
-
user_information?: string | undefined;
|
|
504
|
-
}[];
|
|
505
|
-
}>, "many">;
|
|
506
|
-
}, "strip", z.ZodTypeAny, {
|
|
507
|
-
version: string;
|
|
508
|
-
authentic_sources: {
|
|
509
|
-
entity_id: string;
|
|
510
|
-
organization_info: {
|
|
511
|
-
organization_name: string;
|
|
512
|
-
organization_country: string;
|
|
513
|
-
organization_type: string;
|
|
514
|
-
homepage_uri?: string | undefined;
|
|
515
|
-
policy_uri?: string | undefined;
|
|
516
|
-
logo_uri?: string | undefined;
|
|
517
|
-
contacts?: string[] | undefined;
|
|
518
|
-
ipa_code?: string | undefined;
|
|
519
|
-
};
|
|
520
|
-
data_capabilities: {
|
|
521
|
-
dataset_id: string;
|
|
522
|
-
domains: string[];
|
|
523
|
-
intended_purposes: string[];
|
|
524
|
-
available_claims: {
|
|
525
|
-
claim_name: string;
|
|
526
|
-
order: number;
|
|
527
|
-
mandatory: boolean;
|
|
528
|
-
}[];
|
|
529
|
-
user_information?: string | undefined;
|
|
530
|
-
}[];
|
|
531
|
-
}[];
|
|
532
|
-
last_modified: string;
|
|
533
|
-
}, {
|
|
534
|
-
version: string;
|
|
535
|
-
authentic_sources: {
|
|
536
|
-
entity_id: string;
|
|
537
|
-
organization_info: {
|
|
538
|
-
organization_name: string;
|
|
539
|
-
organization_country: string;
|
|
540
|
-
organization_type: string;
|
|
541
|
-
homepage_uri?: string | undefined;
|
|
542
|
-
policy_uri?: string | undefined;
|
|
543
|
-
logo_uri?: string | undefined;
|
|
544
|
-
contacts?: string[] | undefined;
|
|
545
|
-
ipa_code?: string | undefined;
|
|
546
|
-
};
|
|
547
|
-
data_capabilities: {
|
|
548
|
-
dataset_id: string;
|
|
549
|
-
domains: string[];
|
|
550
|
-
intended_purposes: string[];
|
|
551
|
-
available_claims: {
|
|
552
|
-
claim_name: string;
|
|
553
|
-
order: number;
|
|
554
|
-
mandatory: boolean;
|
|
555
|
-
}[];
|
|
556
|
-
user_information?: string | undefined;
|
|
557
|
-
}[];
|
|
558
|
-
}[];
|
|
559
|
-
last_modified: string;
|
|
560
|
-
}>;
|
|
183
|
+
}, z.core.$strip>>;
|
|
184
|
+
domains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
185
|
+
data_origin_l10n_id: z.ZodString;
|
|
186
|
+
integration_endpoint: z.ZodString;
|
|
187
|
+
integration_method: z.ZodString;
|
|
188
|
+
user_information_l10n_id: z.ZodString;
|
|
189
|
+
api_specification: z.ZodOptional<z.ZodString>;
|
|
190
|
+
background_color: z.ZodOptional<z.ZodString>;
|
|
191
|
+
contacts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
192
|
+
data_provision: z.ZodOptional<z.ZodObject<{
|
|
193
|
+
deferred_flow: z.ZodBoolean;
|
|
194
|
+
immediate_flow: z.ZodBoolean;
|
|
195
|
+
}, z.core.$strip>>;
|
|
196
|
+
logo_uri: z.ZodOptional<z.ZodString>;
|
|
197
|
+
"logo_uri#integrity": z.ZodOptional<z.ZodString>;
|
|
198
|
+
service_documentation: z.ZodOptional<z.ZodString>;
|
|
199
|
+
update_frequency: z.ZodOptional<z.ZodString>;
|
|
200
|
+
}, z.core.$strip>>;
|
|
201
|
+
}, z.core.$strip>>;
|
|
202
|
+
}, z.core.$strip>;
|
|
561
203
|
export type AuthenticSourceRegistry = z.infer<typeof AuthenticSourceRegistry>;
|
|
562
204
|
/**
|
|
563
205
|
* The Digital Credentials Catalogue published by the Trust Anchor.
|
|
@@ -568,400 +210,89 @@ export declare const DigitalCredentialsCatalogueJwt: z.ZodObject<{
|
|
|
568
210
|
typ: z.ZodString;
|
|
569
211
|
alg: z.ZodString;
|
|
570
212
|
kid: z.ZodString;
|
|
571
|
-
x5c: z.ZodOptional<z.ZodArray<z.ZodString
|
|
572
|
-
},
|
|
573
|
-
alg: string;
|
|
574
|
-
kid: string;
|
|
575
|
-
typ: string;
|
|
576
|
-
x5c?: string[] | undefined;
|
|
577
|
-
}, {
|
|
578
|
-
alg: string;
|
|
579
|
-
kid: string;
|
|
580
|
-
typ: string;
|
|
581
|
-
x5c?: string[] | undefined;
|
|
582
|
-
}>;
|
|
213
|
+
x5c: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
214
|
+
}, z.core.$strip>;
|
|
583
215
|
payload: z.ZodObject<{
|
|
216
|
+
iss: z.ZodString;
|
|
217
|
+
id: z.ZodString;
|
|
584
218
|
version: z.ZodString;
|
|
585
219
|
last_modified: z.ZodString;
|
|
220
|
+
localization: z.ZodOptional<z.ZodObject<{
|
|
221
|
+
available_locales: z.ZodArray<z.ZodString>;
|
|
222
|
+
base_uri: z.ZodString;
|
|
223
|
+
default_locale: z.ZodString;
|
|
224
|
+
version: z.ZodString;
|
|
225
|
+
}, z.core.$strip>>;
|
|
586
226
|
credentials: z.ZodArray<z.ZodObject<{
|
|
587
227
|
version: z.ZodString;
|
|
588
228
|
credential_type: z.ZodString;
|
|
589
|
-
|
|
229
|
+
credential_name_l10n_id: z.ZodString;
|
|
590
230
|
legal_type: z.ZodString;
|
|
591
|
-
|
|
231
|
+
restriction_policy: z.ZodOptional<z.ZodObject<{
|
|
232
|
+
allowed_wallet_ids: z.ZodArray<z.ZodString>;
|
|
233
|
+
allowed_issuer_ids: z.ZodArray<z.ZodString>;
|
|
234
|
+
presentation_flows: z.ZodObject<{
|
|
235
|
+
remote: z.ZodBoolean;
|
|
236
|
+
proximity: z.ZodBoolean;
|
|
237
|
+
}, z.core.$strip>;
|
|
238
|
+
}, z.core.$strip>>;
|
|
592
239
|
validity_info: z.ZodObject<{
|
|
593
240
|
max_validity_days: z.ZodNumber;
|
|
594
|
-
status_methods: z.ZodArray<z.ZodString
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
allowed_states:
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
241
|
+
status_methods: z.ZodArray<z.ZodString>;
|
|
242
|
+
administrative_expiration_user_info: z.ZodOptional<z.ZodObject<{
|
|
243
|
+
title_l10n_id: z.ZodString;
|
|
244
|
+
description_l10n_id: z.ZodString;
|
|
245
|
+
}, z.core.$strip>>;
|
|
246
|
+
allowed_states: z.ZodArray<z.ZodObject<{
|
|
247
|
+
title_l10n_id: z.ZodString;
|
|
248
|
+
description_l10n_id: z.ZodString;
|
|
249
|
+
}, z.core.$catchall<z.ZodString>>>;
|
|
250
|
+
}, z.core.$strip>;
|
|
251
|
+
administrative_expiration_user_info: z.ZodOptional<z.ZodObject<{
|
|
252
|
+
title_l10n_id: z.ZodString;
|
|
253
|
+
description_l10n_id: z.ZodString;
|
|
254
|
+
}, z.core.$strip>>;
|
|
605
255
|
authentication: z.ZodObject<{
|
|
606
256
|
user_auth_required: z.ZodBoolean;
|
|
607
257
|
min_loa: z.ZodString;
|
|
608
|
-
|
|
609
|
-
},
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
}, {
|
|
614
|
-
user_auth_required: boolean;
|
|
615
|
-
min_loa: string;
|
|
616
|
-
supported_eid_schemes: string[];
|
|
617
|
-
}>;
|
|
618
|
-
purposes: z.ZodArray<z.ZodObject<{
|
|
619
|
-
id: z.ZodString;
|
|
620
|
-
description: z.ZodString;
|
|
621
|
-
claims_required: z.ZodArray<z.ZodString, "many">;
|
|
622
|
-
claim_recommended: z.ZodArray<z.ZodString, "many">;
|
|
623
|
-
}, "strip", z.ZodTypeAny, {
|
|
624
|
-
id: string;
|
|
625
|
-
description: string;
|
|
626
|
-
claims_required: string[];
|
|
627
|
-
claim_recommended: string[];
|
|
628
|
-
}, {
|
|
629
|
-
id: string;
|
|
630
|
-
description: string;
|
|
631
|
-
claims_required: string[];
|
|
632
|
-
claim_recommended: string[];
|
|
633
|
-
}>, "many">;
|
|
258
|
+
supported_schemes: z.ZodArray<z.ZodString>;
|
|
259
|
+
}, z.core.$strip>;
|
|
260
|
+
domains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
261
|
+
classes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
262
|
+
purposes: z.ZodArray<z.ZodString>;
|
|
634
263
|
issuers: z.ZodArray<z.ZodObject<{
|
|
635
264
|
id: z.ZodString;
|
|
636
|
-
|
|
265
|
+
organization_name_l10n_id: z.ZodString;
|
|
637
266
|
organization_code: z.ZodString;
|
|
638
267
|
organization_country: z.ZodString;
|
|
639
|
-
|
|
268
|
+
legal_type: z.ZodOptional<z.ZodString>;
|
|
269
|
+
contacts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
640
270
|
homepage_uri: z.ZodOptional<z.ZodString>;
|
|
641
271
|
logo_uri: z.ZodOptional<z.ZodString>;
|
|
642
272
|
policy_uri: z.ZodOptional<z.ZodString>;
|
|
643
273
|
tos_uri: z.ZodOptional<z.ZodString>;
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
homepage_uri?: string | undefined;
|
|
650
|
-
policy_uri?: string | undefined;
|
|
651
|
-
logo_uri?: string | undefined;
|
|
652
|
-
contacts?: string[] | undefined;
|
|
653
|
-
tos_uri?: string | undefined;
|
|
654
|
-
}, {
|
|
655
|
-
id: string;
|
|
656
|
-
organization_name: string;
|
|
657
|
-
organization_code: string;
|
|
658
|
-
organization_country: string;
|
|
659
|
-
homepage_uri?: string | undefined;
|
|
660
|
-
policy_uri?: string | undefined;
|
|
661
|
-
logo_uri?: string | undefined;
|
|
662
|
-
contacts?: string[] | undefined;
|
|
663
|
-
tos_uri?: string | undefined;
|
|
664
|
-
}>, "many">;
|
|
274
|
+
service_documentation: z.ZodOptional<z.ZodString>;
|
|
275
|
+
issuance_flows: z.ZodOptional<z.ZodObject<{
|
|
276
|
+
deferred_flow: z.ZodBoolean;
|
|
277
|
+
}, z.core.$strip>>;
|
|
278
|
+
}, z.core.$strip>>;
|
|
665
279
|
authentic_sources: z.ZodArray<z.ZodObject<{
|
|
666
280
|
id: z.ZodString;
|
|
667
281
|
dataset_id: z.ZodString;
|
|
668
|
-
},
|
|
669
|
-
|
|
670
|
-
dataset_id: string;
|
|
671
|
-
}, {
|
|
672
|
-
id: string;
|
|
673
|
-
dataset_id: string;
|
|
674
|
-
}>, "many">;
|
|
675
|
-
}, "strip", z.ZodTypeAny, {
|
|
676
|
-
description: string;
|
|
677
|
-
version: string;
|
|
678
|
-
credential_type: string;
|
|
679
|
-
legal_type: string;
|
|
680
|
-
validity_info: {
|
|
681
|
-
max_validity_days: number;
|
|
682
|
-
status_methods: string[];
|
|
683
|
-
allowed_states: string[];
|
|
684
|
-
};
|
|
685
|
-
purposes: {
|
|
686
|
-
id: string;
|
|
687
|
-
description: string;
|
|
688
|
-
claims_required: string[];
|
|
689
|
-
claim_recommended: string[];
|
|
690
|
-
}[];
|
|
691
|
-
issuers: {
|
|
692
|
-
id: string;
|
|
693
|
-
organization_name: string;
|
|
694
|
-
organization_code: string;
|
|
695
|
-
organization_country: string;
|
|
696
|
-
homepage_uri?: string | undefined;
|
|
697
|
-
policy_uri?: string | undefined;
|
|
698
|
-
logo_uri?: string | undefined;
|
|
699
|
-
contacts?: string[] | undefined;
|
|
700
|
-
tos_uri?: string | undefined;
|
|
701
|
-
}[];
|
|
702
|
-
authentic_sources: {
|
|
703
|
-
id: string;
|
|
704
|
-
dataset_id: string;
|
|
705
|
-
}[];
|
|
706
|
-
authentication: {
|
|
707
|
-
user_auth_required: boolean;
|
|
708
|
-
min_loa: string;
|
|
709
|
-
supported_eid_schemes: string[];
|
|
710
|
-
};
|
|
711
|
-
credential_name: string;
|
|
712
|
-
}, {
|
|
713
|
-
description: string;
|
|
714
|
-
version: string;
|
|
715
|
-
credential_type: string;
|
|
716
|
-
legal_type: string;
|
|
717
|
-
validity_info: {
|
|
718
|
-
max_validity_days: number;
|
|
719
|
-
status_methods: string[];
|
|
720
|
-
allowed_states: string[];
|
|
721
|
-
};
|
|
722
|
-
purposes: {
|
|
723
|
-
id: string;
|
|
724
|
-
description: string;
|
|
725
|
-
claims_required: string[];
|
|
726
|
-
claim_recommended: string[];
|
|
727
|
-
}[];
|
|
728
|
-
issuers: {
|
|
729
|
-
id: string;
|
|
730
|
-
organization_name: string;
|
|
731
|
-
organization_code: string;
|
|
732
|
-
organization_country: string;
|
|
733
|
-
homepage_uri?: string | undefined;
|
|
734
|
-
policy_uri?: string | undefined;
|
|
735
|
-
logo_uri?: string | undefined;
|
|
736
|
-
contacts?: string[] | undefined;
|
|
737
|
-
tos_uri?: string | undefined;
|
|
738
|
-
}[];
|
|
739
|
-
authentic_sources: {
|
|
740
|
-
id: string;
|
|
741
|
-
dataset_id: string;
|
|
742
|
-
}[];
|
|
743
|
-
authentication: {
|
|
744
|
-
user_auth_required: boolean;
|
|
745
|
-
min_loa: string;
|
|
746
|
-
supported_eid_schemes: string[];
|
|
747
|
-
};
|
|
748
|
-
credential_name: string;
|
|
749
|
-
}>, "many">;
|
|
282
|
+
}, z.core.$strip>>;
|
|
283
|
+
}, z.core.$strip>>;
|
|
750
284
|
iat: z.ZodNumber;
|
|
751
285
|
exp: z.ZodNumber;
|
|
752
|
-
},
|
|
753
|
-
|
|
754
|
-
exp: number;
|
|
755
|
-
credentials: {
|
|
756
|
-
description: string;
|
|
757
|
-
version: string;
|
|
758
|
-
credential_type: string;
|
|
759
|
-
legal_type: string;
|
|
760
|
-
validity_info: {
|
|
761
|
-
max_validity_days: number;
|
|
762
|
-
status_methods: string[];
|
|
763
|
-
allowed_states: string[];
|
|
764
|
-
};
|
|
765
|
-
purposes: {
|
|
766
|
-
id: string;
|
|
767
|
-
description: string;
|
|
768
|
-
claims_required: string[];
|
|
769
|
-
claim_recommended: string[];
|
|
770
|
-
}[];
|
|
771
|
-
issuers: {
|
|
772
|
-
id: string;
|
|
773
|
-
organization_name: string;
|
|
774
|
-
organization_code: string;
|
|
775
|
-
organization_country: string;
|
|
776
|
-
homepage_uri?: string | undefined;
|
|
777
|
-
policy_uri?: string | undefined;
|
|
778
|
-
logo_uri?: string | undefined;
|
|
779
|
-
contacts?: string[] | undefined;
|
|
780
|
-
tos_uri?: string | undefined;
|
|
781
|
-
}[];
|
|
782
|
-
authentic_sources: {
|
|
783
|
-
id: string;
|
|
784
|
-
dataset_id: string;
|
|
785
|
-
}[];
|
|
786
|
-
authentication: {
|
|
787
|
-
user_auth_required: boolean;
|
|
788
|
-
min_loa: string;
|
|
789
|
-
supported_eid_schemes: string[];
|
|
790
|
-
};
|
|
791
|
-
credential_name: string;
|
|
792
|
-
}[];
|
|
793
|
-
version: string;
|
|
794
|
-
last_modified: string;
|
|
795
|
-
}, {
|
|
796
|
-
iat: number;
|
|
797
|
-
exp: number;
|
|
798
|
-
credentials: {
|
|
799
|
-
description: string;
|
|
800
|
-
version: string;
|
|
801
|
-
credential_type: string;
|
|
802
|
-
legal_type: string;
|
|
803
|
-
validity_info: {
|
|
804
|
-
max_validity_days: number;
|
|
805
|
-
status_methods: string[];
|
|
806
|
-
allowed_states: string[];
|
|
807
|
-
};
|
|
808
|
-
purposes: {
|
|
809
|
-
id: string;
|
|
810
|
-
description: string;
|
|
811
|
-
claims_required: string[];
|
|
812
|
-
claim_recommended: string[];
|
|
813
|
-
}[];
|
|
814
|
-
issuers: {
|
|
815
|
-
id: string;
|
|
816
|
-
organization_name: string;
|
|
817
|
-
organization_code: string;
|
|
818
|
-
organization_country: string;
|
|
819
|
-
homepage_uri?: string | undefined;
|
|
820
|
-
policy_uri?: string | undefined;
|
|
821
|
-
logo_uri?: string | undefined;
|
|
822
|
-
contacts?: string[] | undefined;
|
|
823
|
-
tos_uri?: string | undefined;
|
|
824
|
-
}[];
|
|
825
|
-
authentic_sources: {
|
|
826
|
-
id: string;
|
|
827
|
-
dataset_id: string;
|
|
828
|
-
}[];
|
|
829
|
-
authentication: {
|
|
830
|
-
user_auth_required: boolean;
|
|
831
|
-
min_loa: string;
|
|
832
|
-
supported_eid_schemes: string[];
|
|
833
|
-
};
|
|
834
|
-
credential_name: string;
|
|
835
|
-
}[];
|
|
836
|
-
version: string;
|
|
837
|
-
last_modified: string;
|
|
838
|
-
}>;
|
|
839
|
-
}, "strip", z.ZodTypeAny, {
|
|
840
|
-
header: {
|
|
841
|
-
alg: string;
|
|
842
|
-
kid: string;
|
|
843
|
-
typ: string;
|
|
844
|
-
x5c?: string[] | undefined;
|
|
845
|
-
};
|
|
846
|
-
payload: {
|
|
847
|
-
iat: number;
|
|
848
|
-
exp: number;
|
|
849
|
-
credentials: {
|
|
850
|
-
description: string;
|
|
851
|
-
version: string;
|
|
852
|
-
credential_type: string;
|
|
853
|
-
legal_type: string;
|
|
854
|
-
validity_info: {
|
|
855
|
-
max_validity_days: number;
|
|
856
|
-
status_methods: string[];
|
|
857
|
-
allowed_states: string[];
|
|
858
|
-
};
|
|
859
|
-
purposes: {
|
|
860
|
-
id: string;
|
|
861
|
-
description: string;
|
|
862
|
-
claims_required: string[];
|
|
863
|
-
claim_recommended: string[];
|
|
864
|
-
}[];
|
|
865
|
-
issuers: {
|
|
866
|
-
id: string;
|
|
867
|
-
organization_name: string;
|
|
868
|
-
organization_code: string;
|
|
869
|
-
organization_country: string;
|
|
870
|
-
homepage_uri?: string | undefined;
|
|
871
|
-
policy_uri?: string | undefined;
|
|
872
|
-
logo_uri?: string | undefined;
|
|
873
|
-
contacts?: string[] | undefined;
|
|
874
|
-
tos_uri?: string | undefined;
|
|
875
|
-
}[];
|
|
876
|
-
authentic_sources: {
|
|
877
|
-
id: string;
|
|
878
|
-
dataset_id: string;
|
|
879
|
-
}[];
|
|
880
|
-
authentication: {
|
|
881
|
-
user_auth_required: boolean;
|
|
882
|
-
min_loa: string;
|
|
883
|
-
supported_eid_schemes: string[];
|
|
884
|
-
};
|
|
885
|
-
credential_name: string;
|
|
886
|
-
}[];
|
|
887
|
-
version: string;
|
|
888
|
-
last_modified: string;
|
|
889
|
-
};
|
|
890
|
-
}, {
|
|
891
|
-
header: {
|
|
892
|
-
alg: string;
|
|
893
|
-
kid: string;
|
|
894
|
-
typ: string;
|
|
895
|
-
x5c?: string[] | undefined;
|
|
896
|
-
};
|
|
897
|
-
payload: {
|
|
898
|
-
iat: number;
|
|
899
|
-
exp: number;
|
|
900
|
-
credentials: {
|
|
901
|
-
description: string;
|
|
902
|
-
version: string;
|
|
903
|
-
credential_type: string;
|
|
904
|
-
legal_type: string;
|
|
905
|
-
validity_info: {
|
|
906
|
-
max_validity_days: number;
|
|
907
|
-
status_methods: string[];
|
|
908
|
-
allowed_states: string[];
|
|
909
|
-
};
|
|
910
|
-
purposes: {
|
|
911
|
-
id: string;
|
|
912
|
-
description: string;
|
|
913
|
-
claims_required: string[];
|
|
914
|
-
claim_recommended: string[];
|
|
915
|
-
}[];
|
|
916
|
-
issuers: {
|
|
917
|
-
id: string;
|
|
918
|
-
organization_name: string;
|
|
919
|
-
organization_code: string;
|
|
920
|
-
organization_country: string;
|
|
921
|
-
homepage_uri?: string | undefined;
|
|
922
|
-
policy_uri?: string | undefined;
|
|
923
|
-
logo_uri?: string | undefined;
|
|
924
|
-
contacts?: string[] | undefined;
|
|
925
|
-
tos_uri?: string | undefined;
|
|
926
|
-
}[];
|
|
927
|
-
authentic_sources: {
|
|
928
|
-
id: string;
|
|
929
|
-
dataset_id: string;
|
|
930
|
-
}[];
|
|
931
|
-
authentication: {
|
|
932
|
-
user_auth_required: boolean;
|
|
933
|
-
min_loa: string;
|
|
934
|
-
supported_eid_schemes: string[];
|
|
935
|
-
};
|
|
936
|
-
credential_name: string;
|
|
937
|
-
}[];
|
|
938
|
-
version: string;
|
|
939
|
-
last_modified: string;
|
|
940
|
-
};
|
|
941
|
-
}>;
|
|
286
|
+
}, z.core.$strip>;
|
|
287
|
+
}, z.core.$strip>;
|
|
942
288
|
export type DigitalCredentialsCatalogueJwt = z.infer<typeof DigitalCredentialsCatalogueJwt>;
|
|
943
|
-
/**
|
|
944
|
-
* Registry discovery info, used to discover all the Registry Infrastructure endpoints.
|
|
945
|
-
* This is the entrypoint to build the full catalogue.
|
|
946
|
-
* @see https://italia.github.io/eid-wallet-it-docs/releases/1.3.3/en/registry.html#registry-discovery-endpoint
|
|
947
|
-
*/
|
|
948
289
|
export declare const RegistryDiscoveryJwt: z.ZodObject<{
|
|
949
290
|
header: z.ZodObject<{
|
|
950
291
|
typ: z.ZodString;
|
|
951
292
|
alg: z.ZodString;
|
|
952
293
|
kid: z.ZodString;
|
|
953
|
-
x5c: z.ZodOptional<z.ZodArray<z.ZodString
|
|
954
|
-
},
|
|
955
|
-
alg: string;
|
|
956
|
-
kid: string;
|
|
957
|
-
typ: string;
|
|
958
|
-
x5c?: string[] | undefined;
|
|
959
|
-
}, {
|
|
960
|
-
alg: string;
|
|
961
|
-
kid: string;
|
|
962
|
-
typ: string;
|
|
963
|
-
x5c?: string[] | undefined;
|
|
964
|
-
}>;
|
|
294
|
+
x5c: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
295
|
+
}, z.core.$strip>;
|
|
965
296
|
payload: z.ZodObject<{
|
|
966
297
|
registry_version: z.ZodString;
|
|
967
298
|
last_updated: z.ZodString;
|
|
@@ -971,104 +302,12 @@ export declare const RegistryDiscoveryJwt: z.ZodObject<{
|
|
|
971
302
|
credential_catalog: z.ZodString;
|
|
972
303
|
taxonomy: z.ZodString;
|
|
973
304
|
schema_registry: z.ZodString;
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
},
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
credential_catalog: string;
|
|
982
|
-
taxonomy: string;
|
|
983
|
-
schema_registry: string;
|
|
984
|
-
federation_list: string;
|
|
985
|
-
federation_fetch: string;
|
|
986
|
-
federation_resolve: string;
|
|
987
|
-
federation_trust_mark_status: string;
|
|
988
|
-
}, {
|
|
989
|
-
authentic_sources: string;
|
|
990
|
-
claims_registry: string;
|
|
991
|
-
credential_catalog: string;
|
|
992
|
-
taxonomy: string;
|
|
993
|
-
schema_registry: string;
|
|
994
|
-
federation_list: string;
|
|
995
|
-
federation_fetch: string;
|
|
996
|
-
federation_resolve: string;
|
|
997
|
-
federation_trust_mark_status: string;
|
|
998
|
-
}>;
|
|
999
|
-
}, "strip", z.ZodTypeAny, {
|
|
1000
|
-
registry_version: string;
|
|
1001
|
-
last_updated: string;
|
|
1002
|
-
endpoints: {
|
|
1003
|
-
authentic_sources: string;
|
|
1004
|
-
claims_registry: string;
|
|
1005
|
-
credential_catalog: string;
|
|
1006
|
-
taxonomy: string;
|
|
1007
|
-
schema_registry: string;
|
|
1008
|
-
federation_list: string;
|
|
1009
|
-
federation_fetch: string;
|
|
1010
|
-
federation_resolve: string;
|
|
1011
|
-
federation_trust_mark_status: string;
|
|
1012
|
-
};
|
|
1013
|
-
}, {
|
|
1014
|
-
registry_version: string;
|
|
1015
|
-
last_updated: string;
|
|
1016
|
-
endpoints: {
|
|
1017
|
-
authentic_sources: string;
|
|
1018
|
-
claims_registry: string;
|
|
1019
|
-
credential_catalog: string;
|
|
1020
|
-
taxonomy: string;
|
|
1021
|
-
schema_registry: string;
|
|
1022
|
-
federation_list: string;
|
|
1023
|
-
federation_fetch: string;
|
|
1024
|
-
federation_resolve: string;
|
|
1025
|
-
federation_trust_mark_status: string;
|
|
1026
|
-
};
|
|
1027
|
-
}>;
|
|
1028
|
-
}, "strip", z.ZodTypeAny, {
|
|
1029
|
-
header: {
|
|
1030
|
-
alg: string;
|
|
1031
|
-
kid: string;
|
|
1032
|
-
typ: string;
|
|
1033
|
-
x5c?: string[] | undefined;
|
|
1034
|
-
};
|
|
1035
|
-
payload: {
|
|
1036
|
-
registry_version: string;
|
|
1037
|
-
last_updated: string;
|
|
1038
|
-
endpoints: {
|
|
1039
|
-
authentic_sources: string;
|
|
1040
|
-
claims_registry: string;
|
|
1041
|
-
credential_catalog: string;
|
|
1042
|
-
taxonomy: string;
|
|
1043
|
-
schema_registry: string;
|
|
1044
|
-
federation_list: string;
|
|
1045
|
-
federation_fetch: string;
|
|
1046
|
-
federation_resolve: string;
|
|
1047
|
-
federation_trust_mark_status: string;
|
|
1048
|
-
};
|
|
1049
|
-
};
|
|
1050
|
-
}, {
|
|
1051
|
-
header: {
|
|
1052
|
-
alg: string;
|
|
1053
|
-
kid: string;
|
|
1054
|
-
typ: string;
|
|
1055
|
-
x5c?: string[] | undefined;
|
|
1056
|
-
};
|
|
1057
|
-
payload: {
|
|
1058
|
-
registry_version: string;
|
|
1059
|
-
last_updated: string;
|
|
1060
|
-
endpoints: {
|
|
1061
|
-
authentic_sources: string;
|
|
1062
|
-
claims_registry: string;
|
|
1063
|
-
credential_catalog: string;
|
|
1064
|
-
taxonomy: string;
|
|
1065
|
-
schema_registry: string;
|
|
1066
|
-
federation_list: string;
|
|
1067
|
-
federation_fetch: string;
|
|
1068
|
-
federation_resolve: string;
|
|
1069
|
-
federation_trust_mark_status: string;
|
|
1070
|
-
};
|
|
1071
|
-
};
|
|
1072
|
-
}>;
|
|
305
|
+
federation_list_endpoint: z.ZodString;
|
|
306
|
+
federation_fetch_endpoint: z.ZodString;
|
|
307
|
+
federation_resolve_endpoint: z.ZodString;
|
|
308
|
+
federation_trust_mark_status_endpoint: z.ZodString;
|
|
309
|
+
}, z.core.$strip>;
|
|
310
|
+
}, z.core.$strip>;
|
|
311
|
+
}, z.core.$strip>;
|
|
1073
312
|
export type RegistryDiscoveryJwt = z.infer<typeof RegistryDiscoveryJwt>;
|
|
1074
313
|
//# sourceMappingURL=types.d.ts.map
|