@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mappers.d.ts","sourceRoot":"","sources":["../../../../../src/credential/issuance/v1.3.3/mappers.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,0BAA0B,CAAC;AAI7E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAk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6C,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAf/h5N,CAAC;AAEF,eAAO,MAAM,kBAAkB,wDAY5B,CAAC"}
|
|
@@ -2,9 +2,5 @@ import * as z from "zod";
|
|
|
2
2
|
export type NonceResponse = z.infer<typeof NonceResponse>;
|
|
3
3
|
export declare const NonceResponse: z.ZodObject<{
|
|
4
4
|
c_nonce: z.ZodString;
|
|
5
|
-
},
|
|
6
|
-
c_nonce: string;
|
|
7
|
-
}, {
|
|
8
|
-
c_nonce: string;
|
|
9
|
-
}>;
|
|
5
|
+
}, z.core.$strip>;
|
|
10
6
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/credential/issuance/v1.3.3/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAC1D,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/credential/issuance/v1.3.3/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAC1D,eAAO,MAAM,aAAa;;iBAExB,CAAC"}
|
|
@@ -7,61 +7,17 @@ export declare const RelyingPartyConfig: z.ZodObject<{
|
|
|
7
7
|
subject: z.ZodOptional<z.ZodString>;
|
|
8
8
|
jwks: z.ZodObject<{
|
|
9
9
|
keys: z.ZodArray<z.ZodObject<{
|
|
10
|
-
kty: z.ZodString;
|
|
11
|
-
kid: z.ZodString;
|
|
12
|
-
use: z.ZodOptional<z.ZodString>;
|
|
13
|
-
key_ops: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
14
10
|
alg: z.ZodOptional<z.ZodString>;
|
|
15
|
-
|
|
16
|
-
x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17
|
-
x5t: z.ZodOptional<z.ZodString>;
|
|
18
|
-
'x5t#S256': z.ZodOptional<z.ZodString>;
|
|
19
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
20
|
-
kty: z.ZodString;
|
|
11
|
+
key_ops: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
21
12
|
kid: z.ZodString;
|
|
22
|
-
use: z.ZodOptional<z.ZodString>;
|
|
23
|
-
key_ops: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
24
|
-
alg: z.ZodOptional<z.ZodString>;
|
|
25
|
-
x5u: z.ZodOptional<z.ZodString>;
|
|
26
|
-
x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
27
|
-
x5t: z.ZodOptional<z.ZodString>;
|
|
28
|
-
'x5t#S256': z.ZodOptional<z.ZodString>;
|
|
29
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
30
|
-
kty: z.ZodString;
|
|
31
|
-
kid: z.ZodString;
|
|
32
|
-
use: z.ZodOptional<z.ZodString>;
|
|
33
|
-
key_ops: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
34
|
-
alg: z.ZodOptional<z.ZodString>;
|
|
35
|
-
x5u: z.ZodOptional<z.ZodString>;
|
|
36
|
-
x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
37
|
-
x5t: z.ZodOptional<z.ZodString>;
|
|
38
|
-
'x5t#S256': z.ZodOptional<z.ZodString>;
|
|
39
|
-
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
40
|
-
}, "strip", z.ZodTypeAny, {
|
|
41
|
-
keys: z.objectOutputType<{
|
|
42
13
|
kty: z.ZodString;
|
|
43
|
-
kid: z.ZodString;
|
|
44
14
|
use: z.ZodOptional<z.ZodString>;
|
|
45
|
-
|
|
46
|
-
alg: z.ZodOptional<z.ZodString>;
|
|
47
|
-
x5u: z.ZodOptional<z.ZodString>;
|
|
48
|
-
x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
15
|
+
x5c: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
49
16
|
x5t: z.ZodOptional<z.ZodString>;
|
|
50
|
-
|
|
51
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
52
|
-
}, {
|
|
53
|
-
keys: z.objectInputType<{
|
|
54
|
-
kty: z.ZodString;
|
|
55
|
-
kid: z.ZodString;
|
|
56
|
-
use: z.ZodOptional<z.ZodString>;
|
|
57
|
-
key_ops: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
58
|
-
alg: z.ZodOptional<z.ZodString>;
|
|
17
|
+
"x5t#S256": z.ZodOptional<z.ZodString>;
|
|
59
18
|
x5u: z.ZodOptional<z.ZodString>;
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
'x5t#S256': z.ZodOptional<z.ZodString>;
|
|
63
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
64
|
-
}>;
|
|
19
|
+
}, z.core.$loose>>;
|
|
20
|
+
}, z.core.$strip>;
|
|
65
21
|
federation_entity: z.ZodObject<{
|
|
66
22
|
federation_fetch_endpoint: z.ZodOptional<z.ZodString>;
|
|
67
23
|
federation_list_endpoint: z.ZodOptional<z.ZodString>;
|
|
@@ -75,111 +31,10 @@ export declare const RelyingPartyConfig: z.ZodObject<{
|
|
|
75
31
|
homepage_uri: z.ZodOptional<z.ZodString>;
|
|
76
32
|
policy_uri: z.ZodOptional<z.ZodString>;
|
|
77
33
|
logo_uri: z.ZodOptional<z.ZodString>;
|
|
78
|
-
contacts: z.ZodOptional<z.ZodArray<z.ZodString
|
|
79
|
-
},
|
|
80
|
-
federation_fetch_endpoint: z.ZodOptional<z.ZodString>;
|
|
81
|
-
federation_list_endpoint: z.ZodOptional<z.ZodString>;
|
|
82
|
-
federation_resolve_endpoint: z.ZodOptional<z.ZodString>;
|
|
83
|
-
federation_trust_mark_status_endpoint: z.ZodOptional<z.ZodString>;
|
|
84
|
-
federation_trust_mark_list_endpoint: z.ZodOptional<z.ZodString>;
|
|
85
|
-
federation_trust_mark_endpoint: z.ZodOptional<z.ZodString>;
|
|
86
|
-
federation_historical_keys_endpoint: z.ZodOptional<z.ZodString>;
|
|
87
|
-
endpoint_auth_signing_alg_values_supported: z.ZodOptional<z.ZodString>;
|
|
88
|
-
organization_name: z.ZodOptional<z.ZodString>;
|
|
89
|
-
homepage_uri: z.ZodOptional<z.ZodString>;
|
|
90
|
-
policy_uri: z.ZodOptional<z.ZodString>;
|
|
91
|
-
logo_uri: z.ZodOptional<z.ZodString>;
|
|
92
|
-
contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
93
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
94
|
-
federation_fetch_endpoint: z.ZodOptional<z.ZodString>;
|
|
95
|
-
federation_list_endpoint: z.ZodOptional<z.ZodString>;
|
|
96
|
-
federation_resolve_endpoint: z.ZodOptional<z.ZodString>;
|
|
97
|
-
federation_trust_mark_status_endpoint: z.ZodOptional<z.ZodString>;
|
|
98
|
-
federation_trust_mark_list_endpoint: z.ZodOptional<z.ZodString>;
|
|
99
|
-
federation_trust_mark_endpoint: z.ZodOptional<z.ZodString>;
|
|
100
|
-
federation_historical_keys_endpoint: z.ZodOptional<z.ZodString>;
|
|
101
|
-
endpoint_auth_signing_alg_values_supported: z.ZodOptional<z.ZodString>;
|
|
102
|
-
organization_name: z.ZodOptional<z.ZodString>;
|
|
103
|
-
homepage_uri: z.ZodOptional<z.ZodString>;
|
|
104
|
-
policy_uri: z.ZodOptional<z.ZodString>;
|
|
105
|
-
logo_uri: z.ZodOptional<z.ZodString>;
|
|
106
|
-
contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
107
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
108
|
-
/** @deprecated JARM legacy (v1.0 only) */
|
|
34
|
+
contacts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
35
|
+
}, z.core.$loose>;
|
|
109
36
|
authorization_encrypted_response_alg: z.ZodOptional<z.ZodString>;
|
|
110
|
-
/** @deprecated JARM legacy (v1.0 only) */
|
|
111
37
|
authorization_encrypted_response_enc: z.ZodOptional<z.ZodString>;
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
}, "strip", z.ZodTypeAny, {
|
|
115
|
-
jwks: {
|
|
116
|
-
keys: z.objectOutputType<{
|
|
117
|
-
kty: z.ZodString;
|
|
118
|
-
kid: z.ZodString;
|
|
119
|
-
use: z.ZodOptional<z.ZodString>;
|
|
120
|
-
key_ops: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
121
|
-
alg: z.ZodOptional<z.ZodString>;
|
|
122
|
-
x5u: z.ZodOptional<z.ZodString>;
|
|
123
|
-
x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
124
|
-
x5t: z.ZodOptional<z.ZodString>;
|
|
125
|
-
'x5t#S256': z.ZodOptional<z.ZodString>;
|
|
126
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
127
|
-
};
|
|
128
|
-
federation_entity: {
|
|
129
|
-
federation_fetch_endpoint?: string | undefined;
|
|
130
|
-
federation_list_endpoint?: string | undefined;
|
|
131
|
-
federation_resolve_endpoint?: string | undefined;
|
|
132
|
-
federation_trust_mark_status_endpoint?: string | undefined;
|
|
133
|
-
federation_trust_mark_list_endpoint?: string | undefined;
|
|
134
|
-
federation_trust_mark_endpoint?: string | undefined;
|
|
135
|
-
federation_historical_keys_endpoint?: string | undefined;
|
|
136
|
-
endpoint_auth_signing_alg_values_supported?: string | undefined;
|
|
137
|
-
organization_name?: string | undefined;
|
|
138
|
-
homepage_uri?: string | undefined;
|
|
139
|
-
policy_uri?: string | undefined;
|
|
140
|
-
logo_uri?: string | undefined;
|
|
141
|
-
contacts?: string[] | undefined;
|
|
142
|
-
} & {
|
|
143
|
-
[k: string]: unknown;
|
|
144
|
-
};
|
|
145
|
-
subject?: string | undefined;
|
|
146
|
-
authorization_encrypted_response_alg?: string | undefined;
|
|
147
|
-
authorization_encrypted_response_enc?: string | undefined;
|
|
148
|
-
encrypted_response_enc_values_supported?: string[] | undefined;
|
|
149
|
-
}, {
|
|
150
|
-
jwks: {
|
|
151
|
-
keys: z.objectInputType<{
|
|
152
|
-
kty: z.ZodString;
|
|
153
|
-
kid: z.ZodString;
|
|
154
|
-
use: z.ZodOptional<z.ZodString>;
|
|
155
|
-
key_ops: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
156
|
-
alg: z.ZodOptional<z.ZodString>;
|
|
157
|
-
x5u: z.ZodOptional<z.ZodString>;
|
|
158
|
-
x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
159
|
-
x5t: z.ZodOptional<z.ZodString>;
|
|
160
|
-
'x5t#S256': z.ZodOptional<z.ZodString>;
|
|
161
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
162
|
-
};
|
|
163
|
-
federation_entity: {
|
|
164
|
-
federation_fetch_endpoint?: string | undefined;
|
|
165
|
-
federation_list_endpoint?: string | undefined;
|
|
166
|
-
federation_resolve_endpoint?: string | undefined;
|
|
167
|
-
federation_trust_mark_status_endpoint?: string | undefined;
|
|
168
|
-
federation_trust_mark_list_endpoint?: string | undefined;
|
|
169
|
-
federation_trust_mark_endpoint?: string | undefined;
|
|
170
|
-
federation_historical_keys_endpoint?: string | undefined;
|
|
171
|
-
endpoint_auth_signing_alg_values_supported?: string | undefined;
|
|
172
|
-
organization_name?: string | undefined;
|
|
173
|
-
homepage_uri?: string | undefined;
|
|
174
|
-
policy_uri?: string | undefined;
|
|
175
|
-
logo_uri?: string | undefined;
|
|
176
|
-
contacts?: string[] | undefined;
|
|
177
|
-
} & {
|
|
178
|
-
[k: string]: unknown;
|
|
179
|
-
};
|
|
180
|
-
subject?: string | undefined;
|
|
181
|
-
authorization_encrypted_response_alg?: string | undefined;
|
|
182
|
-
authorization_encrypted_response_enc?: string | undefined;
|
|
183
|
-
encrypted_response_enc_values_supported?: string[] | undefined;
|
|
184
|
-
}>;
|
|
38
|
+
encrypted_response_enc_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
39
|
+
}, z.core.$strip>;
|
|
185
40
|
//# sourceMappingURL=RelyingPartyConfig.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RelyingPartyConfig.d.ts","sourceRoot":"","sources":["../../../../../src/credential/presentation/api/RelyingPartyConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAIzB;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AACpE,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"RelyingPartyConfig.d.ts","sourceRoot":"","sources":["../../../../../src/credential/presentation/api/RelyingPartyConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAIzB;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AACpE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAgB7B,CAAC"}
|
|
@@ -6,57 +6,24 @@ export declare const PresentationParams: z.ZodObject<{
|
|
|
6
6
|
client_id: z.ZodString;
|
|
7
7
|
request: z.ZodOptional<z.ZodString>;
|
|
8
8
|
request_uri: z.ZodOptional<z.ZodString>;
|
|
9
|
-
request_uri_method: z.ZodOptional<z.ZodEnum<
|
|
9
|
+
request_uri_method: z.ZodOptional<z.ZodEnum<{
|
|
10
|
+
get: "get";
|
|
11
|
+
post: "post";
|
|
12
|
+
}>>;
|
|
10
13
|
state: z.ZodOptional<z.ZodString>;
|
|
11
|
-
},
|
|
12
|
-
client_id: string;
|
|
13
|
-
request_uri?: string | undefined;
|
|
14
|
-
state?: string | undefined;
|
|
15
|
-
request?: string | undefined;
|
|
16
|
-
request_uri_method?: "get" | "post" | undefined;
|
|
17
|
-
}, {
|
|
18
|
-
client_id: string;
|
|
19
|
-
request_uri?: string | undefined;
|
|
20
|
-
state?: string | undefined;
|
|
21
|
-
request?: string | undefined;
|
|
22
|
-
request_uri_method?: "get" | "post" | undefined;
|
|
23
|
-
}>;
|
|
14
|
+
}, z.core.$strip>;
|
|
24
15
|
export type WalletMetadata = z.infer<typeof WalletMetadata>;
|
|
25
16
|
export declare const WalletMetadata: z.ZodObject<{
|
|
26
17
|
authorization_endpoint: z.ZodString;
|
|
27
|
-
client_id_schemes_supported: z.ZodOptional<z.ZodArray<z.ZodString
|
|
28
|
-
client_id_prefixes_supported: z.ZodOptional<z.ZodArray<z.ZodString
|
|
29
|
-
response_types_supported: z.ZodOptional<z.ZodArray<z.ZodString
|
|
30
|
-
response_modes_supported: z.ZodOptional<z.ZodArray<z.ZodString
|
|
31
|
-
request_object_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString
|
|
18
|
+
client_id_schemes_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
19
|
+
client_id_prefixes_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
20
|
+
response_types_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
21
|
+
response_modes_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22
|
+
request_object_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
32
23
|
vp_formats_supported: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
33
|
-
"sd-jwt_alg_values": z.ZodOptional<z.ZodArray<z.ZodString
|
|
34
|
-
},
|
|
35
|
-
|
|
36
|
-
}, {
|
|
37
|
-
"sd-jwt_alg_values"?: string[] | undefined;
|
|
38
|
-
}>>;
|
|
39
|
-
}, "strip", z.ZodTypeAny, {
|
|
40
|
-
authorization_endpoint: string;
|
|
41
|
-
vp_formats_supported: Record<string, {
|
|
42
|
-
"sd-jwt_alg_values"?: string[] | undefined;
|
|
43
|
-
}>;
|
|
44
|
-
response_modes_supported?: string[] | undefined;
|
|
45
|
-
client_id_schemes_supported?: string[] | undefined;
|
|
46
|
-
client_id_prefixes_supported?: string[] | undefined;
|
|
47
|
-
response_types_supported?: string[] | undefined;
|
|
48
|
-
request_object_signing_alg_values_supported?: string[] | undefined;
|
|
49
|
-
}, {
|
|
50
|
-
authorization_endpoint: string;
|
|
51
|
-
vp_formats_supported: Record<string, {
|
|
52
|
-
"sd-jwt_alg_values"?: string[] | undefined;
|
|
53
|
-
}>;
|
|
54
|
-
response_modes_supported?: string[] | undefined;
|
|
55
|
-
client_id_schemes_supported?: string[] | undefined;
|
|
56
|
-
client_id_prefixes_supported?: string[] | undefined;
|
|
57
|
-
response_types_supported?: string[] | undefined;
|
|
58
|
-
request_object_signing_alg_values_supported?: string[] | undefined;
|
|
59
|
-
}>;
|
|
24
|
+
"sd-jwt_alg_values": z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
25
|
+
}, z.core.$strip>>;
|
|
26
|
+
}, z.core.$strip>;
|
|
60
27
|
/**
|
|
61
28
|
* Wallet capabilities that must be submitted to get the Request Object
|
|
62
29
|
* via POST request when the `request_uri_method` is `post`.
|
|
@@ -65,74 +32,31 @@ export type RequestObjectWalletCapabilities = z.infer<typeof RequestObjectWallet
|
|
|
65
32
|
export declare const RequestObjectWalletCapabilities: z.ZodObject<{
|
|
66
33
|
wallet_metadata: z.ZodObject<{
|
|
67
34
|
authorization_endpoint: z.ZodString;
|
|
68
|
-
client_id_schemes_supported: z.ZodOptional<z.ZodArray<z.ZodString
|
|
69
|
-
client_id_prefixes_supported: z.ZodOptional<z.ZodArray<z.ZodString
|
|
70
|
-
response_types_supported: z.ZodOptional<z.ZodArray<z.ZodString
|
|
71
|
-
response_modes_supported: z.ZodOptional<z.ZodArray<z.ZodString
|
|
72
|
-
request_object_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString
|
|
35
|
+
client_id_schemes_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
36
|
+
client_id_prefixes_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
37
|
+
response_types_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
38
|
+
response_modes_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
39
|
+
request_object_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
73
40
|
vp_formats_supported: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
74
|
-
"sd-jwt_alg_values": z.ZodOptional<z.ZodArray<z.ZodString
|
|
75
|
-
},
|
|
76
|
-
|
|
77
|
-
}, {
|
|
78
|
-
"sd-jwt_alg_values"?: string[] | undefined;
|
|
79
|
-
}>>;
|
|
80
|
-
}, "strip", z.ZodTypeAny, {
|
|
81
|
-
authorization_endpoint: string;
|
|
82
|
-
vp_formats_supported: Record<string, {
|
|
83
|
-
"sd-jwt_alg_values"?: string[] | undefined;
|
|
84
|
-
}>;
|
|
85
|
-
response_modes_supported?: string[] | undefined;
|
|
86
|
-
client_id_schemes_supported?: string[] | undefined;
|
|
87
|
-
client_id_prefixes_supported?: string[] | undefined;
|
|
88
|
-
response_types_supported?: string[] | undefined;
|
|
89
|
-
request_object_signing_alg_values_supported?: string[] | undefined;
|
|
90
|
-
}, {
|
|
91
|
-
authorization_endpoint: string;
|
|
92
|
-
vp_formats_supported: Record<string, {
|
|
93
|
-
"sd-jwt_alg_values"?: string[] | undefined;
|
|
94
|
-
}>;
|
|
95
|
-
response_modes_supported?: string[] | undefined;
|
|
96
|
-
client_id_schemes_supported?: string[] | undefined;
|
|
97
|
-
client_id_prefixes_supported?: string[] | undefined;
|
|
98
|
-
response_types_supported?: string[] | undefined;
|
|
99
|
-
request_object_signing_alg_values_supported?: string[] | undefined;
|
|
100
|
-
}>;
|
|
41
|
+
"sd-jwt_alg_values": z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
42
|
+
}, z.core.$strip>>;
|
|
43
|
+
}, z.core.$strip>;
|
|
101
44
|
wallet_nonce: z.ZodOptional<z.ZodString>;
|
|
102
|
-
},
|
|
103
|
-
wallet_metadata: {
|
|
104
|
-
authorization_endpoint: string;
|
|
105
|
-
vp_formats_supported: Record<string, {
|
|
106
|
-
"sd-jwt_alg_values"?: string[] | undefined;
|
|
107
|
-
}>;
|
|
108
|
-
response_modes_supported?: string[] | undefined;
|
|
109
|
-
client_id_schemes_supported?: string[] | undefined;
|
|
110
|
-
client_id_prefixes_supported?: string[] | undefined;
|
|
111
|
-
response_types_supported?: string[] | undefined;
|
|
112
|
-
request_object_signing_alg_values_supported?: string[] | undefined;
|
|
113
|
-
};
|
|
114
|
-
wallet_nonce?: string | undefined;
|
|
115
|
-
}, {
|
|
116
|
-
wallet_metadata: {
|
|
117
|
-
authorization_endpoint: string;
|
|
118
|
-
vp_formats_supported: Record<string, {
|
|
119
|
-
"sd-jwt_alg_values"?: string[] | undefined;
|
|
120
|
-
}>;
|
|
121
|
-
response_modes_supported?: string[] | undefined;
|
|
122
|
-
client_id_schemes_supported?: string[] | undefined;
|
|
123
|
-
client_id_prefixes_supported?: string[] | undefined;
|
|
124
|
-
response_types_supported?: string[] | undefined;
|
|
125
|
-
request_object_signing_alg_values_supported?: string[] | undefined;
|
|
126
|
-
};
|
|
127
|
-
wallet_nonce?: string | undefined;
|
|
128
|
-
}>;
|
|
45
|
+
}, z.core.$strip>;
|
|
129
46
|
/**
|
|
130
47
|
* This type models the possible error responses the OpenID4VP protocol allows for a presentation of a credential.
|
|
131
48
|
* When the Wallet encounters one of these errors, it will notify the Relying Party through the `response_uri` endpoint.
|
|
132
49
|
* See https://italia.github.io/eid-wallet-it-docs/versione-corrente/en/pid-eaa-presentation.html#authorization-response-errors for more information.
|
|
133
50
|
*/
|
|
134
51
|
export type ErrorResponse = z.infer<typeof ErrorResponse>;
|
|
135
|
-
export declare const ErrorResponse: z.ZodEnum<
|
|
52
|
+
export declare const ErrorResponse: z.ZodEnum<{
|
|
53
|
+
invalid_request_object: "invalid_request_object";
|
|
54
|
+
invalid_request_uri: "invalid_request_uri";
|
|
55
|
+
vp_formats_not_supported: "vp_formats_not_supported";
|
|
56
|
+
invalid_request: "invalid_request";
|
|
57
|
+
access_denied: "access_denied";
|
|
58
|
+
invalid_client: "invalid_client";
|
|
59
|
+
}>;
|
|
136
60
|
export type AuthorizationResponse = {
|
|
137
61
|
redirect_uri?: string;
|
|
138
62
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/credential/presentation/api/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAC;AAExE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AACpE,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/credential/presentation/api/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAC;AAExE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AACpE,eAAO,MAAM,kBAAkB;;;;;;;;;iBAM7B,CAAC;AAEH,MAAM,MAAM,cAAc,G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