@velocitycareerlabs/vcl-react-native 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +126 -0
- package/android/.gradle/7.4.2/checksums/checksums.lock +0 -0
- package/android/.gradle/7.4.2/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/android/.gradle/7.4.2/dependencies-accessors/gc.properties +0 -0
- package/android/.gradle/7.4.2/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/7.4.2/fileChanges/last-build.bin +0 -0
- package/android/.gradle/7.4.2/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/7.4.2/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/android/.gradle/vcs-1/gc.properties +0 -0
- package/android/build.gradle +134 -0
- package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/android/gradle/wrapper/gradle-wrapper.properties +5 -0
- package/android/gradle.properties +4 -0
- package/android/src/main/AndroidManifest.xml +3 -0
- package/android/src/main/java/io/velocitycareerlabs/reactnative/VclReactNativeModule.kt +320 -0
- package/android/src/main/java/io/velocitycareerlabs/reactnative/VclReactNativePackage.kt +19 -0
- package/android/src/main/java/io/velocitycareerlabs/reactnative/extensions/ArrayExtensions.kt +88 -0
- package/android/src/main/java/io/velocitycareerlabs/reactnative/extensions/JSONExtensions.kt +66 -0
- package/android/src/main/java/io/velocitycareerlabs/reactnative/extensions/MapExtensions.kt +89 -0
- package/android/src/main/java/io/velocitycareerlabs/reactnative/extensions/RNCollectionExtensions.kt +62 -0
- package/android/src/main/java/io/velocitycareerlabs/reactnative/utlis/Converter.kt +514 -0
- package/ios/Extensions/StringExtensions.swift +21 -0
- package/ios/Utils/Converter.swift +507 -0
- package/ios/VclReactNative-Bridging-Header.h +2 -0
- package/ios/VclReactNative.m +70 -0
- package/ios/VclReactNative.swift +249 -0
- package/ios/VclReactNative.xcodeproj/project.pbxproj +303 -0
- package/lib/commonjs/api/Dictionary.js +2 -0
- package/lib/commonjs/api/Dictionary.js.map +1 -0
- package/lib/commonjs/api/VCLApi.js +6 -0
- package/lib/commonjs/api/VCLApi.js.map +1 -0
- package/lib/commonjs/api/VCLEnvironment.js +15 -0
- package/lib/commonjs/api/VCLEnvironment.js.map +1 -0
- package/lib/commonjs/api/entities/VCLCountries.js +263 -0
- package/lib/commonjs/api/entities/VCLCountries.js.map +1 -0
- package/lib/commonjs/api/entities/VCLCountry.js +6 -0
- package/lib/commonjs/api/entities/VCLCountry.js.map +1 -0
- package/lib/commonjs/api/entities/VCLCredentialManifest.js +6 -0
- package/lib/commonjs/api/entities/VCLCredentialManifest.js.map +1 -0
- package/lib/commonjs/api/entities/VCLCredentialManifestDescriptor.js +6 -0
- package/lib/commonjs/api/entities/VCLCredentialManifestDescriptor.js.map +1 -0
- package/lib/commonjs/api/entities/VCLCredentialManifestDescriptorByDeepLink.js +6 -0
- package/lib/commonjs/api/entities/VCLCredentialManifestDescriptorByDeepLink.js.map +1 -0
- package/lib/commonjs/api/entities/VCLCredentialManifestDescriptorByService.js +6 -0
- package/lib/commonjs/api/entities/VCLCredentialManifestDescriptorByService.js.map +1 -0
- package/lib/commonjs/api/entities/VCLCredentialManifestDescriptorRefresh.js +6 -0
- package/lib/commonjs/api/entities/VCLCredentialManifestDescriptorRefresh.js.map +1 -0
- package/lib/commonjs/api/entities/VCLCredentialType.js +6 -0
- package/lib/commonjs/api/entities/VCLCredentialType.js.map +1 -0
- package/lib/commonjs/api/entities/VCLCredentialTypeSchema.js +6 -0
- package/lib/commonjs/api/entities/VCLCredentialTypeSchema.js.map +1 -0
- package/lib/commonjs/api/entities/VCLCredentialTypeSchemas.js +6 -0
- package/lib/commonjs/api/entities/VCLCredentialTypeSchemas.js.map +1 -0
- package/lib/commonjs/api/entities/VCLCredentialTypes.js +6 -0
- package/lib/commonjs/api/entities/VCLCredentialTypes.js.map +1 -0
- package/lib/commonjs/api/entities/VCLCredentialTypesUIFormSchema.js +6 -0
- package/lib/commonjs/api/entities/VCLCredentialTypesUIFormSchema.js.map +1 -0
- package/lib/commonjs/api/entities/VCLCredentialTypesUIFormSchemaDescriptor.js +2 -0
- package/lib/commonjs/api/entities/VCLCredentialTypesUIFormSchemaDescriptor.js.map +1 -0
- package/lib/commonjs/api/entities/VCLDeepLink.js +2 -0
- package/lib/commonjs/api/entities/VCLDeepLink.js.map +1 -0
- package/lib/commonjs/api/entities/VCLError.js +2 -0
- package/lib/commonjs/api/entities/VCLError.js.map +1 -0
- package/lib/commonjs/api/entities/VCLExchange.js +2 -0
- package/lib/commonjs/api/entities/VCLExchange.js.map +1 -0
- package/lib/commonjs/api/entities/VCLExchangeDescriptor.js +6 -0
- package/lib/commonjs/api/entities/VCLExchangeDescriptor.js.map +1 -0
- package/lib/commonjs/api/entities/VCLFilter.js +6 -0
- package/lib/commonjs/api/entities/VCLFilter.js.map +1 -0
- package/lib/commonjs/api/entities/VCLFinalizeOffersDescriptor.js +6 -0
- package/lib/commonjs/api/entities/VCLFinalizeOffersDescriptor.js.map +1 -0
- package/lib/commonjs/api/entities/VCLGenerateOffersDescriptor.js +6 -0
- package/lib/commonjs/api/entities/VCLGenerateOffersDescriptor.js.map +1 -0
- package/lib/commonjs/api/entities/VCLJWT.js +2 -0
- package/lib/commonjs/api/entities/VCLJWT.js.map +1 -0
- package/lib/commonjs/api/entities/VCLJwtVerifiableCredentials.js +6 -0
- package/lib/commonjs/api/entities/VCLJwtVerifiableCredentials.js.map +1 -0
- package/lib/commonjs/api/entities/VCLOffers.js +6 -0
- package/lib/commonjs/api/entities/VCLOffers.js.map +1 -0
- package/lib/commonjs/api/entities/VCLOrganization.js +6 -0
- package/lib/commonjs/api/entities/VCLOrganization.js.map +1 -0
- package/lib/commonjs/api/entities/VCLOrganizations.js +6 -0
- package/lib/commonjs/api/entities/VCLOrganizations.js.map +1 -0
- package/lib/commonjs/api/entities/VCLOrganizationsSearchDescriptor.js +6 -0
- package/lib/commonjs/api/entities/VCLOrganizationsSearchDescriptor.js.map +1 -0
- package/lib/commonjs/api/entities/VCLPage.js +2 -0
- package/lib/commonjs/api/entities/VCLPage.js.map +1 -0
- package/lib/commonjs/api/entities/VCLPresentationRequest.js +6 -0
- package/lib/commonjs/api/entities/VCLPresentationRequest.js.map +1 -0
- package/lib/commonjs/api/entities/VCLPresentationSubmission.js +6 -0
- package/lib/commonjs/api/entities/VCLPresentationSubmission.js.map +1 -0
- package/lib/commonjs/api/entities/VCLPresentationSubmissionResult.js +6 -0
- package/lib/commonjs/api/entities/VCLPresentationSubmissionResult.js.map +1 -0
- package/lib/commonjs/api/entities/VCLPublicKey.js +2 -0
- package/lib/commonjs/api/entities/VCLPublicKey.js.map +1 -0
- package/lib/commonjs/api/entities/VCLPushDelegate.js +2 -0
- package/lib/commonjs/api/entities/VCLPushDelegate.js.map +1 -0
- package/lib/commonjs/api/entities/VCLRegion.js +6 -0
- package/lib/commonjs/api/entities/VCLRegion.js.map +1 -0
- package/lib/commonjs/api/entities/VCLRegions.js +6 -0
- package/lib/commonjs/api/entities/VCLRegions.js.map +1 -0
- package/lib/commonjs/api/entities/VCLService.js +6 -0
- package/lib/commonjs/api/entities/VCLService.js.map +1 -0
- package/lib/commonjs/api/entities/VCLServiceCredentialAgentIssuer.js +6 -0
- package/lib/commonjs/api/entities/VCLServiceCredentialAgentIssuer.js.map +1 -0
- package/lib/commonjs/api/entities/VCLServiceType.js +20 -0
- package/lib/commonjs/api/entities/VCLServiceType.js.map +1 -0
- package/lib/commonjs/api/entities/VCLSubmissionResult.js +6 -0
- package/lib/commonjs/api/entities/VCLSubmissionResult.js.map +1 -0
- package/lib/commonjs/api/entities/VCLToken.js +2 -0
- package/lib/commonjs/api/entities/VCLToken.js.map +1 -0
- package/lib/commonjs/api/entities/VCLVerifiableCredential.js +2 -0
- package/lib/commonjs/api/entities/VCLVerifiableCredential.js.map +1 -0
- package/lib/commonjs/api/entities/VCLVerifiedProfile.js +6 -0
- package/lib/commonjs/api/entities/VCLVerifiedProfile.js.map +1 -0
- package/lib/commonjs/api/entities/VCLVerifiedProfileDescriptor.js +2 -0
- package/lib/commonjs/api/entities/VCLVerifiedProfileDescriptor.js.map +1 -0
- package/lib/commonjs/index.js +39 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/module/api/Dictionary.js +2 -0
- package/lib/module/api/Dictionary.js.map +1 -0
- package/lib/module/api/VCLApi.js +2 -0
- package/lib/module/api/VCLApi.js.map +1 -0
- package/lib/module/api/VCLEnvironment.js +8 -0
- package/lib/module/api/VCLEnvironment.js.map +1 -0
- package/lib/module/api/entities/VCLCountries.js +256 -0
- package/lib/module/api/entities/VCLCountries.js.map +1 -0
- package/lib/module/api/entities/VCLCountry.js +2 -0
- package/lib/module/api/entities/VCLCountry.js.map +1 -0
- package/lib/module/api/entities/VCLCredentialManifest.js +2 -0
- package/lib/module/api/entities/VCLCredentialManifest.js.map +1 -0
- package/lib/module/api/entities/VCLCredentialManifestDescriptor.js +2 -0
- package/lib/module/api/entities/VCLCredentialManifestDescriptor.js.map +1 -0
- package/lib/module/api/entities/VCLCredentialManifestDescriptorByDeepLink.js +2 -0
- package/lib/module/api/entities/VCLCredentialManifestDescriptorByDeepLink.js.map +1 -0
- package/lib/module/api/entities/VCLCredentialManifestDescriptorByService.js +2 -0
- package/lib/module/api/entities/VCLCredentialManifestDescriptorByService.js.map +1 -0
- package/lib/module/api/entities/VCLCredentialManifestDescriptorRefresh.js +2 -0
- package/lib/module/api/entities/VCLCredentialManifestDescriptorRefresh.js.map +1 -0
- package/lib/module/api/entities/VCLCredentialType.js +2 -0
- package/lib/module/api/entities/VCLCredentialType.js.map +1 -0
- package/lib/module/api/entities/VCLCredentialTypeSchema.js +2 -0
- package/lib/module/api/entities/VCLCredentialTypeSchema.js.map +1 -0
- package/lib/module/api/entities/VCLCredentialTypeSchemas.js +2 -0
- package/lib/module/api/entities/VCLCredentialTypeSchemas.js.map +1 -0
- package/lib/module/api/entities/VCLCredentialTypes.js +2 -0
- package/lib/module/api/entities/VCLCredentialTypes.js.map +1 -0
- package/lib/module/api/entities/VCLCredentialTypesUIFormSchema.js +2 -0
- package/lib/module/api/entities/VCLCredentialTypesUIFormSchema.js.map +1 -0
- package/lib/module/api/entities/VCLCredentialTypesUIFormSchemaDescriptor.js +2 -0
- package/lib/module/api/entities/VCLCredentialTypesUIFormSchemaDescriptor.js.map +1 -0
- package/lib/module/api/entities/VCLDeepLink.js +2 -0
- package/lib/module/api/entities/VCLDeepLink.js.map +1 -0
- package/lib/module/api/entities/VCLError.js +2 -0
- package/lib/module/api/entities/VCLError.js.map +1 -0
- package/lib/module/api/entities/VCLExchange.js +2 -0
- package/lib/module/api/entities/VCLExchange.js.map +1 -0
- package/lib/module/api/entities/VCLExchangeDescriptor.js +2 -0
- package/lib/module/api/entities/VCLExchangeDescriptor.js.map +1 -0
- package/lib/module/api/entities/VCLFilter.js +2 -0
- package/lib/module/api/entities/VCLFilter.js.map +1 -0
- package/lib/module/api/entities/VCLFinalizeOffersDescriptor.js +2 -0
- package/lib/module/api/entities/VCLFinalizeOffersDescriptor.js.map +1 -0
- package/lib/module/api/entities/VCLGenerateOffersDescriptor.js +2 -0
- package/lib/module/api/entities/VCLGenerateOffersDescriptor.js.map +1 -0
- package/lib/module/api/entities/VCLJWT.js +2 -0
- package/lib/module/api/entities/VCLJWT.js.map +1 -0
- package/lib/module/api/entities/VCLJwtVerifiableCredentials.js +2 -0
- package/lib/module/api/entities/VCLJwtVerifiableCredentials.js.map +1 -0
- package/lib/module/api/entities/VCLOffers.js +2 -0
- package/lib/module/api/entities/VCLOffers.js.map +1 -0
- package/lib/module/api/entities/VCLOrganization.js +2 -0
- package/lib/module/api/entities/VCLOrganization.js.map +1 -0
- package/lib/module/api/entities/VCLOrganizations.js +2 -0
- package/lib/module/api/entities/VCLOrganizations.js.map +1 -0
- package/lib/module/api/entities/VCLOrganizationsSearchDescriptor.js +2 -0
- package/lib/module/api/entities/VCLOrganizationsSearchDescriptor.js.map +1 -0
- package/lib/module/api/entities/VCLPage.js +2 -0
- package/lib/module/api/entities/VCLPage.js.map +1 -0
- package/lib/module/api/entities/VCLPresentationRequest.js +2 -0
- package/lib/module/api/entities/VCLPresentationRequest.js.map +1 -0
- package/lib/module/api/entities/VCLPresentationSubmission.js +2 -0
- package/lib/module/api/entities/VCLPresentationSubmission.js.map +1 -0
- package/lib/module/api/entities/VCLPresentationSubmissionResult.js +2 -0
- package/lib/module/api/entities/VCLPresentationSubmissionResult.js.map +1 -0
- package/lib/module/api/entities/VCLPublicKey.js +2 -0
- package/lib/module/api/entities/VCLPublicKey.js.map +1 -0
- package/lib/module/api/entities/VCLPushDelegate.js +2 -0
- package/lib/module/api/entities/VCLPushDelegate.js.map +1 -0
- package/lib/module/api/entities/VCLRegion.js +2 -0
- package/lib/module/api/entities/VCLRegion.js.map +1 -0
- package/lib/module/api/entities/VCLRegions.js +2 -0
- package/lib/module/api/entities/VCLRegions.js.map +1 -0
- package/lib/module/api/entities/VCLService.js +2 -0
- package/lib/module/api/entities/VCLService.js.map +1 -0
- package/lib/module/api/entities/VCLServiceCredentialAgentIssuer.js +2 -0
- package/lib/module/api/entities/VCLServiceCredentialAgentIssuer.js.map +1 -0
- package/lib/module/api/entities/VCLServiceType.js +13 -0
- package/lib/module/api/entities/VCLServiceType.js.map +1 -0
- package/lib/module/api/entities/VCLSubmissionResult.js +2 -0
- package/lib/module/api/entities/VCLSubmissionResult.js.map +1 -0
- package/lib/module/api/entities/VCLToken.js +2 -0
- package/lib/module/api/entities/VCLToken.js.map +1 -0
- package/lib/module/api/entities/VCLVerifiableCredential.js +2 -0
- package/lib/module/api/entities/VCLVerifiableCredential.js.map +1 -0
- package/lib/module/api/entities/VCLVerifiedProfile.js +2 -0
- package/lib/module/api/entities/VCLVerifiedProfile.js.map +1 -0
- package/lib/module/api/entities/VCLVerifiedProfileDescriptor.js +2 -0
- package/lib/module/api/entities/VCLVerifiedProfileDescriptor.js.map +1 -0
- package/lib/module/index.js +10 -0
- package/lib/module/index.js.map +1 -0
- package/lib/typescript/api/Dictionary.d.ts +3 -0
- package/lib/typescript/api/VCLApi.d.ts +44 -0
- package/lib/typescript/api/VCLEnvironment.d.ts +8 -0
- package/lib/typescript/api/entities/VCLCountries.d.ts +257 -0
- package/lib/typescript/api/entities/VCLCountry.d.ts +8 -0
- package/lib/typescript/api/entities/VCLCredentialManifest.d.ts +8 -0
- package/lib/typescript/api/entities/VCLCredentialManifestDescriptor.d.ts +5 -0
- package/lib/typescript/api/entities/VCLCredentialManifestDescriptorByDeepLink.d.ts +5 -0
- package/lib/typescript/api/entities/VCLCredentialManifestDescriptorByService.d.ts +5 -0
- package/lib/typescript/api/entities/VCLCredentialManifestDescriptorRefresh.d.ts +6 -0
- package/lib/typescript/api/entities/VCLCredentialType.d.ts +10 -0
- package/lib/typescript/api/entities/VCLCredentialTypeSchema.d.ts +4 -0
- package/lib/typescript/api/entities/VCLCredentialTypeSchemas.d.ts +5 -0
- package/lib/typescript/api/entities/VCLCredentialTypes.d.ts +5 -0
- package/lib/typescript/api/entities/VCLCredentialTypesUIFormSchema.d.ts +4 -0
- package/lib/typescript/api/entities/VCLCredentialTypesUIFormSchemaDescriptor.d.ts +4 -0
- package/lib/typescript/api/entities/VCLDeepLink.d.ts +3 -0
- package/lib/typescript/api/entities/VCLError.d.ts +4 -0
- package/lib/typescript/api/entities/VCLExchange.d.ts +6 -0
- package/lib/typescript/api/entities/VCLExchangeDescriptor.d.ts +6 -0
- package/lib/typescript/api/entities/VCLFilter.d.ts +6 -0
- package/lib/typescript/api/entities/VCLFinalizeOffersDescriptor.d.ts +6 -0
- package/lib/typescript/api/entities/VCLGenerateOffersDescriptor.d.ts +8 -0
- package/lib/typescript/api/entities/VCLJWT.d.ts +3 -0
- package/lib/typescript/api/entities/VCLJwtVerifiableCredentials.d.ts +4 -0
- package/lib/typescript/api/entities/VCLOffers.d.ts +7 -0
- package/lib/typescript/api/entities/VCLOrganization.d.ts +6 -0
- package/lib/typescript/api/entities/VCLOrganizations.d.ts +4 -0
- package/lib/typescript/api/entities/VCLOrganizationsSearchDescriptor.d.ts +8 -0
- package/lib/typescript/api/entities/VCLPage.d.ts +4 -0
- package/lib/typescript/api/entities/VCLPresentationRequest.d.ts +10 -0
- package/lib/typescript/api/entities/VCLPresentationSubmission.d.ts +6 -0
- package/lib/typescript/api/entities/VCLPresentationSubmissionResult.d.ts +6 -0
- package/lib/typescript/api/entities/VCLPublicKey.d.ts +3 -0
- package/lib/typescript/api/entities/VCLPushDelegate.d.ts +4 -0
- package/lib/typescript/api/entities/VCLRegion.d.ts +6 -0
- package/lib/typescript/api/entities/VCLRegions.d.ts +5 -0
- package/lib/typescript/api/entities/VCLService.d.ts +4 -0
- package/lib/typescript/api/entities/VCLServiceCredentialAgentIssuer.d.ts +3 -0
- package/lib/typescript/api/entities/VCLServiceType.d.ts +10 -0
- package/lib/typescript/api/entities/VCLSubmissionResult.d.ts +6 -0
- package/lib/typescript/api/entities/VCLToken.d.ts +3 -0
- package/lib/typescript/api/entities/VCLVerifiableCredential.d.ts +4 -0
- package/lib/typescript/api/entities/VCLVerifiedProfile.d.ts +8 -0
- package/lib/typescript/api/entities/VCLVerifiedProfileDescriptor.d.ts +3 -0
- package/lib/typescript/index.d.ts +49 -0
- package/package.json +154 -0
- package/src/api/Dictionary.tsx +3 -0
- package/src/api/VCLApi.tsx +80 -0
- package/src/api/VCLEnvironment.tsx +9 -0
- package/src/api/entities/VCLCountries.tsx +259 -0
- package/src/api/entities/VCLCountry.tsx +9 -0
- package/src/api/entities/VCLCredentialManifest.tsx +9 -0
- package/src/api/entities/VCLCredentialManifestDescriptor.tsx +6 -0
- package/src/api/entities/VCLCredentialManifestDescriptorByDeepLink.tsx +7 -0
- package/src/api/entities/VCLCredentialManifestDescriptorByService.tsx +7 -0
- package/src/api/entities/VCLCredentialManifestDescriptorRefresh.tsx +8 -0
- package/src/api/entities/VCLCredentialType.tsx +11 -0
- package/src/api/entities/VCLCredentialTypeSchema.tsx +5 -0
- package/src/api/entities/VCLCredentialTypeSchemas.tsx +6 -0
- package/src/api/entities/VCLCredentialTypes.tsx +6 -0
- package/src/api/entities/VCLCredentialTypesUIFormSchema.tsx +5 -0
- package/src/api/entities/VCLCredentialTypesUIFormSchemaDescriptor.tsx +4 -0
- package/src/api/entities/VCLDeepLink.tsx +3 -0
- package/src/api/entities/VCLError.tsx +4 -0
- package/src/api/entities/VCLExchange.tsx +6 -0
- package/src/api/entities/VCLExchangeDescriptor.tsx +7 -0
- package/src/api/entities/VCLFilter.tsx +7 -0
- package/src/api/entities/VCLFinalizeOffersDescriptor.tsx +7 -0
- package/src/api/entities/VCLGenerateOffersDescriptor.tsx +9 -0
- package/src/api/entities/VCLJWT.tsx +3 -0
- package/src/api/entities/VCLJwtVerifiableCredentials.tsx +5 -0
- package/src/api/entities/VCLOffers.tsx +8 -0
- package/src/api/entities/VCLOrganization.tsx +7 -0
- package/src/api/entities/VCLOrganizations.tsx +5 -0
- package/src/api/entities/VCLOrganizationsSearchDescriptor.tsx +9 -0
- package/src/api/entities/VCLPage.tsx +4 -0
- package/src/api/entities/VCLPresentationRequest.tsx +11 -0
- package/src/api/entities/VCLPresentationSubmission.tsx +7 -0
- package/src/api/entities/VCLPresentationSubmissionResult.tsx +7 -0
- package/src/api/entities/VCLPublicKey.tsx +3 -0
- package/src/api/entities/VCLPushDelegate.tsx +4 -0
- package/src/api/entities/VCLRegion.tsx +7 -0
- package/src/api/entities/VCLRegions.tsx +6 -0
- package/src/api/entities/VCLService.tsx +5 -0
- package/src/api/entities/VCLServiceCredentialAgentIssuer.tsx +3 -0
- package/src/api/entities/VCLServiceType.tsx +10 -0
- package/src/api/entities/VCLSubmissionResult.tsx +7 -0
- package/src/api/entities/VCLToken.tsx +3 -0
- package/src/api/entities/VCLVerifiableCredential.tsx +4 -0
- package/src/api/entities/VCLVerifiedProfile.tsx +9 -0
- package/src/api/entities/VCLVerifiedProfileDescriptor.tsx +3 -0
- package/src/index.tsx +98 -0
- package/vcl-react-native.podspec +22 -0
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
import type { VCLCountry } from './VCLCountry';
|
|
2
|
+
|
|
3
|
+
export interface VCLCountries {
|
|
4
|
+
all: VCLCountry[];
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export enum VCLCountryCodes {
|
|
8
|
+
BD = 'BD',
|
|
9
|
+
BE = 'BE',
|
|
10
|
+
BF = 'BF',
|
|
11
|
+
BG = 'BG',
|
|
12
|
+
BA = 'BA',
|
|
13
|
+
BB = 'BB',
|
|
14
|
+
WF = 'WF',
|
|
15
|
+
BL = 'BL',
|
|
16
|
+
BM = 'BM',
|
|
17
|
+
BN = 'BN',
|
|
18
|
+
BO = 'BO',
|
|
19
|
+
BH = 'BH',
|
|
20
|
+
BI = 'BI',
|
|
21
|
+
BJ = 'BJ',
|
|
22
|
+
BT = 'BT',
|
|
23
|
+
JM = 'JM',
|
|
24
|
+
BV = 'BV',
|
|
25
|
+
BW = 'BW',
|
|
26
|
+
WS = 'WS',
|
|
27
|
+
BQ = 'BQ',
|
|
28
|
+
BR = 'BR',
|
|
29
|
+
BS = 'BS',
|
|
30
|
+
JE = 'JE',
|
|
31
|
+
BY = 'BY',
|
|
32
|
+
BZ = 'BZ',
|
|
33
|
+
RU = 'RU',
|
|
34
|
+
RW = 'RW',
|
|
35
|
+
RS = 'RS',
|
|
36
|
+
TL = 'TL',
|
|
37
|
+
RE = 'RE',
|
|
38
|
+
TM = 'TM',
|
|
39
|
+
TJ = 'TJ',
|
|
40
|
+
RO = 'RO',
|
|
41
|
+
TK = 'TK',
|
|
42
|
+
GW = 'GW',
|
|
43
|
+
GU = 'GU',
|
|
44
|
+
GT = 'GT',
|
|
45
|
+
GS = 'GS',
|
|
46
|
+
GR = 'GR',
|
|
47
|
+
GQ = 'GQ',
|
|
48
|
+
GP = 'GP',
|
|
49
|
+
JP = 'JP',
|
|
50
|
+
GY = 'GY',
|
|
51
|
+
GG = 'GG',
|
|
52
|
+
GF = 'GF',
|
|
53
|
+
GE = 'GE',
|
|
54
|
+
GD = 'GD',
|
|
55
|
+
GB = 'GB',
|
|
56
|
+
GA = 'GA',
|
|
57
|
+
SV = 'SV',
|
|
58
|
+
GN = 'GN',
|
|
59
|
+
GM = 'GM',
|
|
60
|
+
GL = 'GL',
|
|
61
|
+
GI = 'GI',
|
|
62
|
+
GH = 'GH',
|
|
63
|
+
OM = 'OM',
|
|
64
|
+
TN = 'TN',
|
|
65
|
+
JO = 'JO',
|
|
66
|
+
HR = 'HR',
|
|
67
|
+
HT = 'HT',
|
|
68
|
+
HU = 'HU',
|
|
69
|
+
HK = 'HK',
|
|
70
|
+
HN = 'HN',
|
|
71
|
+
HM = 'HM',
|
|
72
|
+
VE = 'VE',
|
|
73
|
+
PR = 'PR',
|
|
74
|
+
PS = 'PS',
|
|
75
|
+
PW = 'PW',
|
|
76
|
+
PT = 'PT',
|
|
77
|
+
SJ = 'SJ',
|
|
78
|
+
PY = 'PY',
|
|
79
|
+
IQ = 'IQ',
|
|
80
|
+
PA = 'PA',
|
|
81
|
+
PF = 'PF',
|
|
82
|
+
PG = 'PG',
|
|
83
|
+
PE = 'PE',
|
|
84
|
+
PK = 'PK',
|
|
85
|
+
PH = 'PH',
|
|
86
|
+
PN = 'PN',
|
|
87
|
+
PL = 'PL',
|
|
88
|
+
PM = 'PM',
|
|
89
|
+
ZM = 'ZM',
|
|
90
|
+
EH = 'EH',
|
|
91
|
+
EE = 'EE',
|
|
92
|
+
EG = 'EG',
|
|
93
|
+
ZA = 'ZA',
|
|
94
|
+
EC = 'EC',
|
|
95
|
+
IT = 'IT',
|
|
96
|
+
VN = 'VN',
|
|
97
|
+
SB = 'SB',
|
|
98
|
+
ET = 'ET',
|
|
99
|
+
SO = 'SO',
|
|
100
|
+
ZW = 'ZW',
|
|
101
|
+
SA = 'SA',
|
|
102
|
+
ES = 'ES',
|
|
103
|
+
ER = 'ER',
|
|
104
|
+
ME = 'ME',
|
|
105
|
+
MD = 'MD',
|
|
106
|
+
MG = 'MG',
|
|
107
|
+
MF = 'MF',
|
|
108
|
+
MA = 'MA',
|
|
109
|
+
MC = 'MC',
|
|
110
|
+
UZ = 'UZ',
|
|
111
|
+
MM = 'MM',
|
|
112
|
+
ML = 'ML',
|
|
113
|
+
MO = 'MO',
|
|
114
|
+
MN = 'MN',
|
|
115
|
+
MH = 'MH',
|
|
116
|
+
MK = 'MK',
|
|
117
|
+
MU = 'MU',
|
|
118
|
+
MT = 'MT',
|
|
119
|
+
MW = 'MW',
|
|
120
|
+
MV = 'MV',
|
|
121
|
+
MQ = 'MQ',
|
|
122
|
+
MP = 'MP',
|
|
123
|
+
MS = 'MS',
|
|
124
|
+
MR = 'MR',
|
|
125
|
+
IM = 'IM',
|
|
126
|
+
UG = 'UG',
|
|
127
|
+
TZ = 'TZ',
|
|
128
|
+
MY = 'NY',
|
|
129
|
+
MX = 'MX',
|
|
130
|
+
IL = 'IL',
|
|
131
|
+
FR = 'FR',
|
|
132
|
+
IO = 'IO',
|
|
133
|
+
SH = 'SH',
|
|
134
|
+
FI = 'FI',
|
|
135
|
+
FJ = 'FJ',
|
|
136
|
+
FK = 'FK',
|
|
137
|
+
FM = 'FM',
|
|
138
|
+
FO = 'FO',
|
|
139
|
+
NI = 'NI',
|
|
140
|
+
NL = 'NL',
|
|
141
|
+
NO = 'NO',
|
|
142
|
+
NA = 'NA',
|
|
143
|
+
VU = 'VU',
|
|
144
|
+
NC = 'NC',
|
|
145
|
+
NE = 'NE',
|
|
146
|
+
NF = 'NF',
|
|
147
|
+
NG = 'NG',
|
|
148
|
+
NZ = 'NZ',
|
|
149
|
+
NP = 'NP',
|
|
150
|
+
NR = 'NR',
|
|
151
|
+
NU = 'NU',
|
|
152
|
+
CK = 'CK',
|
|
153
|
+
XK = 'XK',
|
|
154
|
+
CI = 'CI',
|
|
155
|
+
CH = 'CH',
|
|
156
|
+
CO = 'CO',
|
|
157
|
+
CN = 'CN',
|
|
158
|
+
CM = 'CM',
|
|
159
|
+
CL = 'CL',
|
|
160
|
+
CC = 'CC',
|
|
161
|
+
CA = 'CA',
|
|
162
|
+
CG = 'CG',
|
|
163
|
+
CF = 'CF',
|
|
164
|
+
CD = 'CD',
|
|
165
|
+
CZ = 'CZ',
|
|
166
|
+
CY = 'CY',
|
|
167
|
+
CX = 'CX',
|
|
168
|
+
CR = 'CR',
|
|
169
|
+
CW = 'CW',
|
|
170
|
+
CV = 'CV',
|
|
171
|
+
CU = 'CU',
|
|
172
|
+
SZ = 'SZ',
|
|
173
|
+
SY = 'SY',
|
|
174
|
+
SX = 'SX',
|
|
175
|
+
KG = 'KG',
|
|
176
|
+
KE = 'KE',
|
|
177
|
+
SS = 'SS',
|
|
178
|
+
SR = 'SR',
|
|
179
|
+
KI = 'KI',
|
|
180
|
+
KH = 'KH',
|
|
181
|
+
KN = 'KN',
|
|
182
|
+
KM = 'KM',
|
|
183
|
+
ST = 'ST',
|
|
184
|
+
SK = 'SK',
|
|
185
|
+
KR = 'KR',
|
|
186
|
+
SI = 'SI',
|
|
187
|
+
KP = 'KP',
|
|
188
|
+
KW = 'KW',
|
|
189
|
+
SN = 'SN',
|
|
190
|
+
SM = 'SM',
|
|
191
|
+
SL = 'SL',
|
|
192
|
+
SC = 'SC',
|
|
193
|
+
KZ = 'KZ',
|
|
194
|
+
KY = 'KY',
|
|
195
|
+
SG = 'SG',
|
|
196
|
+
SE = 'SE',
|
|
197
|
+
SD = 'SD',
|
|
198
|
+
DO = 'DO',
|
|
199
|
+
DM = 'DM',
|
|
200
|
+
DJ = 'DJ',
|
|
201
|
+
DK = 'DK',
|
|
202
|
+
VG = 'VG',
|
|
203
|
+
DE = 'DE',
|
|
204
|
+
YE = 'YE',
|
|
205
|
+
DZ = 'DZ',
|
|
206
|
+
US = 'US',
|
|
207
|
+
UY = 'UY',
|
|
208
|
+
YT = 'YT',
|
|
209
|
+
UM = 'UM',
|
|
210
|
+
LB = 'LB',
|
|
211
|
+
LC = 'LC',
|
|
212
|
+
LA = 'LA',
|
|
213
|
+
TV = 'TV',
|
|
214
|
+
TW = 'TW',
|
|
215
|
+
TT = 'TT',
|
|
216
|
+
TR = 'TR',
|
|
217
|
+
LK = 'LK',
|
|
218
|
+
LI = 'LI',
|
|
219
|
+
LV = 'LV',
|
|
220
|
+
TO = 'TO',
|
|
221
|
+
LT = 'LT',
|
|
222
|
+
LU = 'LU',
|
|
223
|
+
LR = 'LR',
|
|
224
|
+
LS = 'LS',
|
|
225
|
+
TH = 'TH',
|
|
226
|
+
TF = 'TF',
|
|
227
|
+
TG = 'TG',
|
|
228
|
+
TD = 'TD',
|
|
229
|
+
TC = 'TC',
|
|
230
|
+
LY = 'LY',
|
|
231
|
+
VA = 'VA',
|
|
232
|
+
VC = 'VC',
|
|
233
|
+
AE = 'AE',
|
|
234
|
+
AD = 'AD',
|
|
235
|
+
AG = 'AG',
|
|
236
|
+
AF = 'AF',
|
|
237
|
+
AI = 'AI',
|
|
238
|
+
VI = 'VI',
|
|
239
|
+
IS = 'IS',
|
|
240
|
+
IR = 'IR',
|
|
241
|
+
AM = 'AM',
|
|
242
|
+
AL = 'AL',
|
|
243
|
+
AO = 'AO',
|
|
244
|
+
AQ = 'AQ',
|
|
245
|
+
AS = 'AS',
|
|
246
|
+
AR = 'AR',
|
|
247
|
+
AU = 'AU',
|
|
248
|
+
AT = 'AT',
|
|
249
|
+
AW = 'AW',
|
|
250
|
+
IN = 'IN',
|
|
251
|
+
AX = 'AX',
|
|
252
|
+
AZ = 'AZ',
|
|
253
|
+
IE = 'IE',
|
|
254
|
+
ID = 'ID',
|
|
255
|
+
UA = 'UA',
|
|
256
|
+
QA = 'QA',
|
|
257
|
+
MZ = 'MZ',
|
|
258
|
+
UK = 'UK',
|
|
259
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { VCLCredentialManifestDescriptor } from './VCLCredentialManifestDescriptor';
|
|
2
|
+
import type { VCLDeepLink } from './VCLDeepLink';
|
|
3
|
+
|
|
4
|
+
export interface VCLCredentialManifestDescriptorByDeepLink
|
|
5
|
+
extends VCLCredentialManifestDescriptor {
|
|
6
|
+
deepLink: VCLDeepLink;
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { VCLCredentialManifestDescriptor } from './VCLCredentialManifestDescriptor';
|
|
2
|
+
import type { VCLService } from './VCLService';
|
|
3
|
+
|
|
4
|
+
export interface VCLCredentialManifestDescriptorByService
|
|
5
|
+
extends VCLCredentialManifestDescriptor {
|
|
6
|
+
service: VCLService;
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { VCLCredentialManifestDescriptor } from './VCLCredentialManifestDescriptor';
|
|
2
|
+
import type { VCLService } from './VCLService';
|
|
3
|
+
|
|
4
|
+
export interface VCLCredentialManifestDescriptorRefresh
|
|
5
|
+
extends VCLCredentialManifestDescriptor {
|
|
6
|
+
service: VCLService;
|
|
7
|
+
credentialIds: string[];
|
|
8
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { VCLPresentationSubmission } from './VCLPresentationSubmission';
|
|
2
|
+
import type { VCLSubmissionResult } from './VCLSubmissionResult';
|
|
3
|
+
|
|
4
|
+
export interface VCLExchangeDescriptor {
|
|
5
|
+
presentationSubmission: VCLPresentationSubmission;
|
|
6
|
+
submissionResult: VCLSubmissionResult;
|
|
7
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { VCLCredentialManifest } from './VCLCredentialManifest';
|
|
2
|
+
import type { VCLVerifiableCredential } from './VCLVerifiableCredential';
|
|
3
|
+
|
|
4
|
+
export interface VCLGenerateOffersDescriptor {
|
|
5
|
+
credentialManifest: VCLCredentialManifest;
|
|
6
|
+
types?: string[];
|
|
7
|
+
offerHashes?: string[];
|
|
8
|
+
identificationVerifiableCredentials: VCLVerifiableCredential[];
|
|
9
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Dictionary } from '../Dictionary';
|
|
2
|
+
import type { VCLServiceCredentialAgentIssuer } from './VCLServiceCredentialAgentIssuer';
|
|
3
|
+
|
|
4
|
+
export interface VCLOrganization {
|
|
5
|
+
payload: Dictionary<string>;
|
|
6
|
+
serviceCredentialAgentIssuers: VCLServiceCredentialAgentIssuer[];
|
|
7
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { VCLJWT } from './VCLJWT';
|
|
2
|
+
import type { VCLPublicKey } from './VCLPublicKey';
|
|
3
|
+
|
|
4
|
+
export interface VCLPresentationRequest {
|
|
5
|
+
exchangeId: string;
|
|
6
|
+
jwt: VCLJWT;
|
|
7
|
+
publicKey: VCLPublicKey;
|
|
8
|
+
keyID: string;
|
|
9
|
+
presentationDefinitionId: string;
|
|
10
|
+
iss: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { VCLPresentationRequest } from './VCLPresentationRequest';
|
|
2
|
+
import type { VCLVerifiableCredential } from './VCLVerifiableCredential';
|
|
3
|
+
|
|
4
|
+
export interface VCLPresentationSubmission {
|
|
5
|
+
presentationRequest: VCLPresentationRequest;
|
|
6
|
+
verifiableCredentials: VCLVerifiableCredential[];
|
|
7
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export enum VCLServiceType {
|
|
2
|
+
Issuer = 'Issuer',
|
|
3
|
+
Inspector = 'Inspector',
|
|
4
|
+
CredentialAgentOperator = 'CredentialAgentOperator',
|
|
5
|
+
NodeOperator = 'NodeOperator',
|
|
6
|
+
TrustRoot = 'TrustRoot',
|
|
7
|
+
NotaryIssuer = 'NotaryIssuer',
|
|
8
|
+
IdentityIssuer = 'IdentityIssuer',
|
|
9
|
+
HolderAppProvider = 'HolderAppProvider',
|
|
10
|
+
}
|