@nmshd/transport 7.0.0-alpha.9 → 7.0.0-openid4vc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/buildInformation.js +5 -5
- package/dist/core/CoreSynchronizable.d.ts +1 -0
- package/dist/core/CoreSynchronizable.d.ts.map +1 -1
- package/dist/core/CoreSynchronizable.js +1 -0
- package/dist/core/CoreSynchronizable.js.map +1 -1
- package/dist/core/DbCollectionName.d.ts +0 -1
- package/dist/core/DbCollectionName.d.ts.map +1 -1
- package/dist/core/DbCollectionName.js +0 -1
- package/dist/core/DbCollectionName.js.map +1 -1
- package/dist/core/TransportController.d.ts +1 -4
- package/dist/core/TransportController.d.ts.map +1 -1
- package/dist/core/TransportController.js +7 -7
- package/dist/core/TransportController.js.map +1 -1
- package/dist/core/TransportCoreErrors.d.ts +7 -2
- package/dist/core/TransportCoreErrors.d.ts.map +1 -1
- package/dist/core/TransportCoreErrors.js +15 -6
- package/dist/core/TransportCoreErrors.js.map +1 -1
- package/dist/core/backbone/RESTClient.d.ts +1 -0
- package/dist/core/backbone/RESTClient.d.ts.map +1 -1
- package/dist/core/backbone/RESTClient.js +30 -10
- package/dist/core/backbone/RESTClient.js.map +1 -1
- package/dist/core/backbone/RESTClientAuthenticate.d.ts +1 -0
- package/dist/core/backbone/RESTClientAuthenticate.d.ts.map +1 -1
- package/dist/core/backbone/RESTClientAuthenticate.js +5 -0
- package/dist/core/backbone/RESTClientAuthenticate.js.map +1 -1
- package/dist/core/backbone/RequestError.d.ts.map +1 -1
- package/dist/core/backbone/RequestError.js +3 -0
- package/dist/core/backbone/RequestError.js.map +1 -1
- package/dist/core/types/PasswordProtection.d.ts +4 -5
- package/dist/core/types/PasswordProtection.d.ts.map +1 -1
- package/dist/core/types/PasswordProtection.js +10 -9
- package/dist/core/types/PasswordProtection.js.map +1 -1
- package/dist/core/types/PasswordProtectionCreationParameters.d.ts +3 -0
- package/dist/core/types/PasswordProtectionCreationParameters.d.ts.map +1 -1
- package/dist/core/types/PasswordProtectionCreationParameters.js +7 -1
- package/dist/core/types/PasswordProtectionCreationParameters.js.map +1 -1
- package/dist/events/FileOwnershipClaimedEvent.d.ts +7 -0
- package/dist/events/FileOwnershipClaimedEvent.d.ts.map +1 -0
- package/dist/events/FileOwnershipClaimedEvent.js +12 -0
- package/dist/events/FileOwnershipClaimedEvent.js.map +1 -0
- package/dist/events/FileOwnershipLockedEvent.d.ts +7 -0
- package/dist/events/FileOwnershipLockedEvent.d.ts.map +1 -0
- package/dist/events/FileOwnershipLockedEvent.js +12 -0
- package/dist/events/FileOwnershipLockedEvent.js.map +1 -0
- package/dist/events/MessageDeliveredEvent.d.ts +1 -1
- package/dist/events/MessageDeliveredEvent.d.ts.map +1 -1
- package/dist/events/MessageReceivedEvent.d.ts +1 -1
- package/dist/events/MessageReceivedEvent.d.ts.map +1 -1
- package/dist/events/MessageSentEvent.d.ts +1 -1
- package/dist/events/MessageSentEvent.d.ts.map +1 -1
- package/dist/events/MessageWasReadAtChangedEvent.d.ts +1 -1
- package/dist/events/MessageWasReadAtChangedEvent.d.ts.map +1 -1
- package/dist/events/PeerRelationshipTemplateLoadedEvent.d.ts +1 -1
- package/dist/events/PeerRelationshipTemplateLoadedEvent.d.ts.map +1 -1
- package/dist/events/RelationshipChangedEvent.d.ts +1 -1
- package/dist/events/RelationshipChangedEvent.d.ts.map +1 -1
- package/dist/events/RelationshipReactivationCompletedEvent.d.ts +1 -1
- package/dist/events/RelationshipReactivationCompletedEvent.d.ts.map +1 -1
- package/dist/events/RelationshipReactivationRequestedEvent.d.ts +1 -1
- package/dist/events/RelationshipReactivationRequestedEvent.d.ts.map +1 -1
- package/dist/events/RelationshipTemplateAllocationsExhaustedEvent.d.ts +7 -0
- package/dist/events/RelationshipTemplateAllocationsExhaustedEvent.d.ts.map +1 -0
- package/dist/events/RelationshipTemplateAllocationsExhaustedEvent.js +12 -0
- package/dist/events/RelationshipTemplateAllocationsExhaustedEvent.js.map +1 -0
- package/dist/events/index.d.ts +3 -0
- package/dist/events/index.d.ts.map +1 -1
- package/dist/events/index.js +3 -0
- package/dist/events/index.js.map +1 -1
- package/dist/modules/accounts/AccountController.d.ts +4 -6
- package/dist/modules/accounts/AccountController.d.ts.map +1 -1
- package/dist/modules/accounts/AccountController.js +31 -17
- package/dist/modules/accounts/AccountController.js.map +1 -1
- package/dist/modules/accounts/IdentityDeletionProcessController.d.ts +2 -8
- package/dist/modules/accounts/IdentityDeletionProcessController.d.ts.map +1 -1
- package/dist/modules/accounts/IdentityDeletionProcessController.js +4 -24
- package/dist/modules/accounts/IdentityDeletionProcessController.js.map +1 -1
- package/dist/modules/accounts/data/IdentityDeletionProcess.d.ts +35 -8
- package/dist/modules/accounts/data/IdentityDeletionProcess.d.ts.map +1 -1
- package/dist/modules/accounts/data/IdentityDeletionProcess.js +65 -10
- package/dist/modules/accounts/data/IdentityDeletionProcess.js.map +1 -1
- package/dist/modules/announcements/AnnouncementController.d.ts +11 -0
- package/dist/modules/announcements/AnnouncementController.d.ts.map +1 -0
- package/dist/modules/announcements/AnnouncementController.js +26 -0
- package/dist/modules/announcements/AnnouncementController.js.map +1 -0
- package/dist/modules/announcements/backbone/AnnouncementClient.d.ts +6 -0
- package/dist/modules/announcements/backbone/AnnouncementClient.d.ts.map +1 -0
- package/dist/modules/announcements/backbone/AnnouncementClient.js +11 -0
- package/dist/modules/announcements/backbone/AnnouncementClient.js.map +1 -0
- package/dist/modules/announcements/backbone/BackboneGetAnnouncements.d.ts +18 -0
- package/dist/modules/announcements/backbone/BackboneGetAnnouncements.d.ts.map +1 -0
- package/dist/modules/announcements/backbone/BackboneGetAnnouncements.js +3 -0
- package/dist/modules/announcements/backbone/BackboneGetAnnouncements.js.map +1 -0
- package/dist/modules/announcements/data/Announcement.d.ts +30 -0
- package/dist/modules/announcements/data/Announcement.d.ts.map +1 -0
- package/dist/modules/{messages/local/CachedMessage.js → announcements/data/Announcement.js} +37 -31
- package/dist/modules/announcements/data/Announcement.js.map +1 -0
- package/dist/modules/announcements/data/AnnouncementAction.d.ts +11 -0
- package/dist/modules/announcements/data/AnnouncementAction.d.ts.map +1 -0
- package/dist/modules/{certificates/data/items/CertificateRoleItem.js → announcements/data/AnnouncementAction.js} +13 -17
- package/dist/modules/announcements/data/AnnouncementAction.js.map +1 -0
- package/dist/modules/backboneNotifications/BackboneNotificationsController.d.ts +13 -0
- package/dist/modules/backboneNotifications/BackboneNotificationsController.d.ts.map +1 -0
- package/dist/modules/backboneNotifications/BackboneNotificationsController.js +42 -0
- package/dist/modules/backboneNotifications/BackboneNotificationsController.js.map +1 -0
- package/dist/modules/backboneNotifications/backbone/BackboneNotificationsClient.d.ts +9 -0
- package/dist/modules/backboneNotifications/backbone/BackboneNotificationsClient.d.ts.map +1 -0
- package/dist/modules/backboneNotifications/backbone/BackboneNotificationsClient.js +11 -0
- package/dist/modules/backboneNotifications/backbone/BackboneNotificationsClient.js.map +1 -0
- package/dist/modules/devices/DeviceController.d.ts +0 -1
- package/dist/modules/devices/DeviceController.d.ts.map +1 -1
- package/dist/modules/devices/DeviceController.js +0 -3
- package/dist/modules/devices/DeviceController.js.map +1 -1
- package/dist/modules/devices/backbone/BackboneGetDevices.d.ts +12 -0
- package/dist/modules/devices/backbone/BackboneGetDevices.d.ts.map +1 -0
- package/dist/modules/devices/backbone/BackboneGetDevices.js +3 -0
- package/dist/modules/devices/backbone/BackboneGetDevices.js.map +1 -0
- package/dist/modules/devices/backbone/DeviceAuthClient.d.ts +2 -0
- package/dist/modules/devices/backbone/DeviceAuthClient.d.ts.map +1 -1
- package/dist/modules/devices/backbone/DeviceAuthClient.js +3 -0
- package/dist/modules/devices/backbone/DeviceAuthClient.js.map +1 -1
- package/dist/modules/devices/local/Device.d.ts +0 -2
- package/dist/modules/devices/local/Device.d.ts.map +1 -1
- package/dist/modules/devices/local/Device.js +0 -6
- package/dist/modules/devices/local/Device.js.map +1 -1
- package/dist/modules/files/FileController.d.ts +8 -10
- package/dist/modules/files/FileController.d.ts.map +1 -1
- package/dist/modules/files/FileController.js +71 -84
- package/dist/modules/files/FileController.js.map +1 -1
- package/dist/modules/files/backbone/BackbonePostFiles.d.ts +1 -0
- package/dist/modules/files/backbone/BackbonePostFiles.d.ts.map +1 -1
- package/dist/modules/files/backbone/FileClient.d.ts +9 -0
- package/dist/modules/files/backbone/FileClient.d.ts.map +1 -1
- package/dist/modules/files/backbone/FileClient.js +9 -0
- package/dist/modules/files/backbone/FileClient.js.map +1 -1
- package/dist/modules/files/local/File.d.ts +57 -11
- package/dist/modules/files/local/File.d.ts.map +1 -1
- package/dist/modules/files/local/File.js +171 -18
- package/dist/modules/files/local/File.js.map +1 -1
- package/dist/modules/index.d.ts +5 -23
- package/dist/modules/index.d.ts.map +1 -1
- package/dist/modules/index.js +5 -23
- package/dist/modules/index.js.map +1 -1
- package/dist/modules/messages/MessageController.d.ts +3 -8
- package/dist/modules/messages/MessageController.d.ts.map +1 -1
- package/dist/modules/messages/MessageController.js +29 -55
- package/dist/modules/messages/MessageController.js.map +1 -1
- package/dist/modules/messages/local/Message.d.ts +28 -7
- package/dist/modules/messages/local/Message.d.ts.map +1 -1
- package/dist/modules/messages/local/Message.js +53 -12
- package/dist/modules/messages/local/Message.js.map +1 -1
- package/dist/modules/messages/local/{CachedMessageRecipient.d.ts → MessageRecipient.d.ts} +4 -4
- package/dist/modules/messages/local/MessageRecipient.d.ts.map +1 -0
- package/dist/modules/messages/local/{CachedMessageRecipient.js → MessageRecipient.js} +12 -12
- package/dist/modules/messages/local/MessageRecipient.js.map +1 -0
- package/dist/modules/messages/transmission/MessageContentWrapper.js +1 -2
- package/dist/modules/messages/transmission/MessageContentWrapper.js.map +1 -1
- package/dist/modules/relationshipTemplates/RelationshipTemplateController.d.ts +3 -11
- package/dist/modules/relationshipTemplates/RelationshipTemplateController.d.ts.map +1 -1
- package/dist/modules/relationshipTemplates/RelationshipTemplateController.js +49 -131
- package/dist/modules/relationshipTemplates/RelationshipTemplateController.js.map +1 -1
- package/dist/modules/relationshipTemplates/local/RelationshipTemplate.d.ts +26 -10
- package/dist/modules/relationshipTemplates/local/RelationshipTemplate.d.ts.map +1 -1
- package/dist/modules/relationshipTemplates/local/RelationshipTemplate.js +70 -19
- package/dist/modules/relationshipTemplates/local/RelationshipTemplate.js.map +1 -1
- package/dist/modules/relationshipTemplates/local/SendRelationshipTemplateParameters.js +2 -2
- package/dist/modules/relationshipTemplates/local/SendRelationshipTemplateParameters.js.map +1 -1
- package/dist/modules/relationships/RelationshipSecretController.d.ts +3 -3
- package/dist/modules/relationships/RelationshipSecretController.d.ts.map +1 -1
- package/dist/modules/relationships/RelationshipSecretController.js +2 -2
- package/dist/modules/relationships/RelationshipSecretController.js.map +1 -1
- package/dist/modules/relationships/RelationshipsController.d.ts +0 -10
- package/dist/modules/relationships/RelationshipsController.d.ts.map +1 -1
- package/dist/modules/relationships/RelationshipsController.js +41 -117
- package/dist/modules/relationships/RelationshipsController.js.map +1 -1
- package/dist/modules/relationships/local/Relationship.d.ts +14 -10
- package/dist/modules/relationships/local/Relationship.d.ts.map +1 -1
- package/dist/modules/relationships/local/Relationship.js +30 -28
- package/dist/modules/relationships/local/Relationship.js.map +1 -1
- package/dist/modules/sync/ChangedItems.d.ts +5 -2
- package/dist/modules/sync/ChangedItems.d.ts.map +1 -1
- package/dist/modules/sync/ChangedItems.js +6 -1
- package/dist/modules/sync/ChangedItems.js.map +1 -1
- package/dist/modules/sync/DatawalletModificationMapper.js +3 -3
- package/dist/modules/sync/DatawalletModificationMapper.js.map +1 -1
- package/dist/modules/sync/DatawalletModificationsProcessor.d.ts +2 -60
- package/dist/modules/sync/DatawalletModificationsProcessor.d.ts.map +1 -1
- package/dist/modules/sync/DatawalletModificationsProcessor.js +11 -158
- package/dist/modules/sync/DatawalletModificationsProcessor.js.map +1 -1
- package/dist/modules/sync/SyncController.d.ts +0 -3
- package/dist/modules/sync/SyncController.d.ts.map +1 -1
- package/dist/modules/sync/SyncController.js +16 -30
- package/dist/modules/sync/SyncController.js.map +1 -1
- package/dist/modules/sync/SynchronizedCollection.d.ts.map +1 -1
- package/dist/modules/sync/SynchronizedCollection.js +24 -10
- package/dist/modules/sync/SynchronizedCollection.js.map +1 -1
- package/dist/modules/sync/backbone/FinalizeSyncRun.d.ts +1 -0
- package/dist/modules/sync/backbone/FinalizeSyncRun.d.ts.map +1 -1
- package/dist/modules/sync/backbone/SyncClient.d.ts +0 -1
- package/dist/modules/sync/backbone/SyncClient.d.ts.map +1 -1
- package/dist/modules/sync/backbone/SyncClient.js.map +1 -1
- package/dist/modules/sync/externalEventProcessors/ExternalEventProcessor.d.ts +2 -1
- package/dist/modules/sync/externalEventProcessors/ExternalEventProcessor.d.ts.map +1 -1
- package/dist/modules/sync/externalEventProcessors/ExternalEventProcessor.js.map +1 -1
- package/dist/modules/sync/externalEventProcessors/ExternalEventProcessorRegistry.d.ts.map +1 -1
- package/dist/modules/sync/externalEventProcessors/ExternalEventProcessorRegistry.js +6 -0
- package/dist/modules/sync/externalEventProcessors/ExternalEventProcessorRegistry.js.map +1 -1
- package/dist/modules/sync/externalEventProcessors/FileOwnershipClaimedExternalEventProcessor.d.ts +7 -0
- package/dist/modules/sync/externalEventProcessors/FileOwnershipClaimedExternalEventProcessor.d.ts.map +1 -0
- package/dist/modules/sync/externalEventProcessors/FileOwnershipClaimedExternalEventProcessor.js +34 -0
- package/dist/modules/sync/externalEventProcessors/FileOwnershipClaimedExternalEventProcessor.js.map +1 -0
- package/dist/modules/sync/externalEventProcessors/FileOwnershipLockedExternalEventProcessor.d.ts +7 -0
- package/dist/modules/sync/externalEventProcessors/FileOwnershipLockedExternalEventProcessor.d.ts.map +1 -0
- package/dist/modules/sync/externalEventProcessors/FileOwnershipLockedExternalEventProcessor.js +37 -0
- package/dist/modules/sync/externalEventProcessors/FileOwnershipLockedExternalEventProcessor.js.map +1 -0
- package/dist/modules/sync/externalEventProcessors/IdentityDeletionProcessStatusChangedExternalEventProcessor.js +1 -1
- package/dist/modules/sync/externalEventProcessors/IdentityDeletionProcessStatusChangedExternalEventProcessor.js.map +1 -1
- package/dist/modules/sync/externalEventProcessors/MessageDeliveredExternalEventProcessor.js +1 -1
- package/dist/modules/sync/externalEventProcessors/MessageDeliveredExternalEventProcessor.js.map +1 -1
- package/dist/modules/sync/externalEventProcessors/RelationshipExternalEventProcessor.js +1 -1
- package/dist/modules/sync/externalEventProcessors/RelationshipExternalEventProcessor.js.map +1 -1
- package/dist/modules/sync/externalEventProcessors/RelationshipTemplateAllocationsExhaustedProcessor.d.ts +6 -0
- package/dist/modules/sync/externalEventProcessors/RelationshipTemplateAllocationsExhaustedProcessor.d.ts.map +1 -0
- package/dist/modules/sync/externalEventProcessors/RelationshipTemplateAllocationsExhaustedProcessor.js +34 -0
- package/dist/modules/sync/externalEventProcessors/RelationshipTemplateAllocationsExhaustedProcessor.js.map +1 -0
- package/dist/modules/sync/local/DatawalletModification.d.ts +2 -2
- package/dist/modules/sync/local/DatawalletModification.d.ts.map +1 -1
- package/dist/modules/sync/local/DatawalletModification.js +1 -1
- package/dist/modules/sync/local/DatawalletModification.js.map +1 -1
- package/dist/modules/sync/migrations/DeviceMigrations.d.ts +2 -2
- package/dist/modules/sync/migrations/DeviceMigrations.d.ts.map +1 -1
- package/dist/modules/sync/migrations/DeviceMigrations.js +5 -15
- package/dist/modules/sync/migrations/DeviceMigrations.js.map +1 -1
- package/dist/modules/tokens/AnonymousTokenController.d.ts +2 -1
- package/dist/modules/tokens/AnonymousTokenController.d.ts.map +1 -1
- package/dist/modules/tokens/AnonymousTokenController.js +4 -9
- package/dist/modules/tokens/AnonymousTokenController.js.map +1 -1
- package/dist/modules/tokens/TokenController.d.ts +3 -11
- package/dist/modules/tokens/TokenController.d.ts.map +1 -1
- package/dist/modules/tokens/TokenController.js +33 -128
- package/dist/modules/tokens/TokenController.js.map +1 -1
- package/dist/modules/tokens/local/Token.d.ts +16 -9
- package/dist/modules/tokens/local/Token.d.ts.map +1 -1
- package/dist/modules/tokens/local/Token.js +40 -18
- package/dist/modules/tokens/local/Token.js.map +1 -1
- package/package.json +17 -19
- package/dist/core/ICacheable.d.ts +0 -6
- package/dist/core/ICacheable.d.ts.map +0 -1
- package/dist/core/ICacheable.js +0 -17
- package/dist/core/ICacheable.js.map +0 -1
- package/dist/modules/accounts/data/CachedIdentityDeletionProcess.d.ts +0 -44
- package/dist/modules/accounts/data/CachedIdentityDeletionProcess.d.ts.map +0 -1
- package/dist/modules/accounts/data/CachedIdentityDeletionProcess.js +0 -80
- package/dist/modules/accounts/data/CachedIdentityDeletionProcess.js.map +0 -1
- package/dist/modules/certificates/CertificateController.d.ts +0 -15
- package/dist/modules/certificates/CertificateController.d.ts.map +0 -1
- package/dist/modules/certificates/CertificateController.js +0 -20
- package/dist/modules/certificates/CertificateController.js.map +0 -1
- package/dist/modules/certificates/CertificateIssuer.d.ts +0 -29
- package/dist/modules/certificates/CertificateIssuer.d.ts.map +0 -1
- package/dist/modules/certificates/CertificateIssuer.js +0 -43
- package/dist/modules/certificates/CertificateIssuer.js.map +0 -1
- package/dist/modules/certificates/CertificateValidator.d.ts +0 -15
- package/dist/modules/certificates/CertificateValidator.d.ts.map +0 -1
- package/dist/modules/certificates/CertificateValidator.js +0 -20
- package/dist/modules/certificates/CertificateValidator.js.map +0 -1
- package/dist/modules/certificates/data/Certificate.d.ts +0 -34
- package/dist/modules/certificates/data/Certificate.d.ts.map +0 -1
- package/dist/modules/certificates/data/Certificate.js +0 -61
- package/dist/modules/certificates/data/Certificate.js.map +0 -1
- package/dist/modules/certificates/data/CertificateConstraint.d.ts +0 -10
- package/dist/modules/certificates/data/CertificateConstraint.d.ts.map +0 -1
- package/dist/modules/certificates/data/CertificateConstraint.js +0 -23
- package/dist/modules/certificates/data/CertificateConstraint.js.map +0 -1
- package/dist/modules/certificates/data/CertificateContent.d.ts +0 -29
- package/dist/modules/certificates/data/CertificateContent.d.ts.map +0 -1
- package/dist/modules/certificates/data/CertificateContent.js +0 -66
- package/dist/modules/certificates/data/CertificateContent.js.map +0 -1
- package/dist/modules/certificates/data/CertificateItem.d.ts +0 -11
- package/dist/modules/certificates/data/CertificateItem.d.ts.map +0 -1
- package/dist/modules/certificates/data/CertificateItem.js +0 -24
- package/dist/modules/certificates/data/CertificateItem.js.map +0 -1
- package/dist/modules/certificates/data/constraints/CertificateBorderConstraint.d.ts +0 -30
- package/dist/modules/certificates/data/constraints/CertificateBorderConstraint.d.ts.map +0 -1
- package/dist/modules/certificates/data/constraints/CertificateBorderConstraint.js +0 -56
- package/dist/modules/certificates/data/constraints/CertificateBorderConstraint.js.map +0 -1
- package/dist/modules/certificates/data/constraints/CertificateCityConstraint.d.ts +0 -32
- package/dist/modules/certificates/data/constraints/CertificateCityConstraint.d.ts.map +0 -1
- package/dist/modules/certificates/data/constraints/CertificateCityConstraint.js +0 -59
- package/dist/modules/certificates/data/constraints/CertificateCityConstraint.js.map +0 -1
- package/dist/modules/certificates/data/constraints/CertificateIdentityConstraint.d.ts +0 -10
- package/dist/modules/certificates/data/constraints/CertificateIdentityConstraint.d.ts.map +0 -1
- package/dist/modules/certificates/data/constraints/CertificateIdentityConstraint.js +0 -30
- package/dist/modules/certificates/data/constraints/CertificateIdentityConstraint.js.map +0 -1
- package/dist/modules/certificates/data/constraints/CertificateTimeConstraint.d.ts +0 -17
- package/dist/modules/certificates/data/constraints/CertificateTimeConstraint.d.ts.map +0 -1
- package/dist/modules/certificates/data/constraints/CertificateTimeConstraint.js +0 -40
- package/dist/modules/certificates/data/constraints/CertificateTimeConstraint.js.map +0 -1
- package/dist/modules/certificates/data/items/CertificateAuthorizationItem.d.ts +0 -18
- package/dist/modules/certificates/data/items/CertificateAuthorizationItem.d.ts.map +0 -1
- package/dist/modules/certificates/data/items/CertificateAuthorizationItem.js +0 -38
- package/dist/modules/certificates/data/items/CertificateAuthorizationItem.js.map +0 -1
- package/dist/modules/certificates/data/items/CertificateDelegateItem.d.ts +0 -19
- package/dist/modules/certificates/data/items/CertificateDelegateItem.d.ts.map +0 -1
- package/dist/modules/certificates/data/items/CertificateDelegateItem.js +0 -45
- package/dist/modules/certificates/data/items/CertificateDelegateItem.js.map +0 -1
- package/dist/modules/certificates/data/items/CertificatePrivateAttributeItem.d.ts +0 -21
- package/dist/modules/certificates/data/items/CertificatePrivateAttributeItem.d.ts.map +0 -1
- package/dist/modules/certificates/data/items/CertificatePrivateAttributeItem.js +0 -41
- package/dist/modules/certificates/data/items/CertificatePrivateAttributeItem.js.map +0 -1
- package/dist/modules/certificates/data/items/CertificatePrivateAttributeItemSource.d.ts +0 -26
- package/dist/modules/certificates/data/items/CertificatePrivateAttributeItemSource.d.ts.map +0 -1
- package/dist/modules/certificates/data/items/CertificatePrivateAttributeItemSource.js +0 -54
- package/dist/modules/certificates/data/items/CertificatePrivateAttributeItemSource.js.map +0 -1
- package/dist/modules/certificates/data/items/CertificatePublicAttributeItem.d.ts +0 -15
- package/dist/modules/certificates/data/items/CertificatePublicAttributeItem.d.ts.map +0 -1
- package/dist/modules/certificates/data/items/CertificatePublicAttributeItem.js +0 -38
- package/dist/modules/certificates/data/items/CertificatePublicAttributeItem.js.map +0 -1
- package/dist/modules/certificates/data/items/CertificateRoleItem.d.ts +0 -17
- package/dist/modules/certificates/data/items/CertificateRoleItem.d.ts.map +0 -1
- package/dist/modules/certificates/data/items/CertificateRoleItem.js.map +0 -1
- package/dist/modules/files/local/CachedFile.d.ts +0 -52
- package/dist/modules/files/local/CachedFile.d.ts.map +0 -1
- package/dist/modules/files/local/CachedFile.js +0 -145
- package/dist/modules/files/local/CachedFile.js.map +0 -1
- package/dist/modules/messages/local/CachedMessage.d.ts +0 -23
- package/dist/modules/messages/local/CachedMessage.d.ts.map +0 -1
- package/dist/modules/messages/local/CachedMessage.js.map +0 -1
- package/dist/modules/messages/local/CachedMessageRecipient.d.ts.map +0 -1
- package/dist/modules/messages/local/CachedMessageRecipient.js.map +0 -1
- package/dist/modules/relationshipTemplates/local/CachedRelationshipTemplate.d.ts +0 -30
- package/dist/modules/relationshipTemplates/local/CachedRelationshipTemplate.d.ts.map +0 -1
- package/dist/modules/relationshipTemplates/local/CachedRelationshipTemplate.js +0 -80
- package/dist/modules/relationshipTemplates/local/CachedRelationshipTemplate.js.map +0 -1
- package/dist/modules/relationships/local/CachedRelationship.d.ts +0 -20
- package/dist/modules/relationships/local/CachedRelationship.d.ts.map +0 -1
- package/dist/modules/relationships/local/CachedRelationship.js +0 -57
- package/dist/modules/relationships/local/CachedRelationship.js.map +0 -1
- package/dist/modules/tokens/local/CachedToken.d.ts +0 -20
- package/dist/modules/tokens/local/CachedToken.d.ts.map +0 -1
- package/dist/modules/tokens/local/CachedToken.js +0 -54
- package/dist/modules/tokens/local/CachedToken.js.map +0 -1
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.CertificateConstraint = void 0;
|
|
10
|
-
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
11
|
-
/**
|
|
12
|
-
* A CertificateConstraint limits a Certificate to a specific time, region or identity.
|
|
13
|
-
*/
|
|
14
|
-
let CertificateConstraint = class CertificateConstraint extends ts_serval_1.Serializable {
|
|
15
|
-
static from(value) {
|
|
16
|
-
return this.fromAny(value);
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
exports.CertificateConstraint = CertificateConstraint;
|
|
20
|
-
exports.CertificateConstraint = CertificateConstraint = __decorate([
|
|
21
|
-
(0, ts_serval_1.type)("CertificateConstraint")
|
|
22
|
-
], CertificateConstraint);
|
|
23
|
-
//# sourceMappingURL=CertificateConstraint.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CertificateConstraint.js","sourceRoot":"","sources":["../../../../src/modules/certificates/data/CertificateConstraint.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAuE;AAIvE;;GAEG;AAEI,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,wBAAY;IAC5C,MAAM,CAAC,IAAI,CAAC,KAA6B;QAC5C,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;CACJ,CAAA;AAJY,sDAAqB;gCAArB,qBAAqB;IADjC,IAAA,gBAAI,EAAC,uBAAuB,CAAC;GACjB,qBAAqB,CAIjC"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ISerializable, Serializable } from "@js-soft/ts-serval";
|
|
2
|
-
import { CoreAddress, CoreDate, ICoreAddress, ICoreDate } from "@nmshd/core-types";
|
|
3
|
-
import { CryptoSignaturePublicKey, ICryptoSignaturePublicKey } from "@nmshd/crypto";
|
|
4
|
-
import { CertificateConstraint, ICertificateConstraint } from "./CertificateConstraint";
|
|
5
|
-
import { CertificateItem, ICertificateItem } from "./CertificateItem";
|
|
6
|
-
export interface ICertificateContent extends ISerializable {
|
|
7
|
-
issuedAt: ICoreDate;
|
|
8
|
-
issuer: ICoreAddress;
|
|
9
|
-
issuerData?: ISerializable;
|
|
10
|
-
subject: ICoreAddress;
|
|
11
|
-
subjectPublicKey: ICryptoSignaturePublicKey;
|
|
12
|
-
constraints: ICertificateConstraint[];
|
|
13
|
-
items: ICertificateItem[];
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* A CertificateContent is the content which should be digitally signed. The digital signature
|
|
17
|
-
* is done on top of the serialized content of this data structure.
|
|
18
|
-
*/
|
|
19
|
-
export declare class CertificateContent extends Serializable {
|
|
20
|
-
issuedAt: CoreDate;
|
|
21
|
-
issuer: CoreAddress;
|
|
22
|
-
issuerData: Serializable;
|
|
23
|
-
subject: CoreAddress;
|
|
24
|
-
subjectPublicKey: CryptoSignaturePublicKey;
|
|
25
|
-
constraints: CertificateConstraint[];
|
|
26
|
-
items: CertificateItem[];
|
|
27
|
-
static from(value: ICertificateContent): CertificateContent;
|
|
28
|
-
}
|
|
29
|
-
//# sourceMappingURL=CertificateContent.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CertificateContent.d.ts","sourceRoot":"","sources":["../../../../src/modules/certificates/data/CertificateContent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,YAAY,EAA6B,MAAM,oBAAoB,CAAC;AAC5F,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACnF,OAAO,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAC;AACpF,OAAO,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AACxF,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAEtE,MAAM,WAAW,mBAAoB,SAAQ,aAAa;IACtD,QAAQ,EAAE,SAAS,CAAC;IACpB,MAAM,EAAE,YAAY,CAAC;IACrB,UAAU,CAAC,EAAE,aAAa,CAAC;IAC3B,OAAO,EAAE,YAAY,CAAC;IACtB,gBAAgB,EAAE,yBAAyB,CAAC;IAC5C,WAAW,EAAE,sBAAsB,EAAE,CAAC;IACtC,KAAK,EAAE,gBAAgB,EAAE,CAAC;CAC7B;AAED;;;GAGG;AACH,qBACa,kBAAmB,SAAQ,YAAY;IAGzC,QAAQ,EAAE,QAAQ,CAAC;IAInB,MAAM,EAAE,WAAW,CAAC;IAIpB,UAAU,EAAE,YAAY,CAAC;IAIzB,OAAO,EAAE,WAAW,CAAC;IAIrB,gBAAgB,EAAE,wBAAwB,CAAC;IAI3C,WAAW,EAAE,qBAAqB,EAAE,CAAC;IAIrC,KAAK,EAAE,eAAe,EAAE,CAAC;WAElB,IAAI,CAAC,KAAK,EAAE,mBAAmB,GAAG,kBAAkB;CAGrE"}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.CertificateContent = void 0;
|
|
13
|
-
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
-
const core_types_1 = require("@nmshd/core-types");
|
|
15
|
-
const crypto_1 = require("@nmshd/crypto");
|
|
16
|
-
const CertificateConstraint_1 = require("./CertificateConstraint");
|
|
17
|
-
const CertificateItem_1 = require("./CertificateItem");
|
|
18
|
-
/**
|
|
19
|
-
* A CertificateContent is the content which should be digitally signed. The digital signature
|
|
20
|
-
* is done on top of the serialized content of this data structure.
|
|
21
|
-
*/
|
|
22
|
-
let CertificateContent = class CertificateContent extends ts_serval_1.Serializable {
|
|
23
|
-
static from(value) {
|
|
24
|
-
return this.fromAny(value);
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
exports.CertificateContent = CertificateContent;
|
|
28
|
-
__decorate([
|
|
29
|
-
(0, ts_serval_1.validate)(),
|
|
30
|
-
(0, ts_serval_1.serialize)(),
|
|
31
|
-
__metadata("design:type", core_types_1.CoreDate)
|
|
32
|
-
], CertificateContent.prototype, "issuedAt", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
(0, ts_serval_1.validate)(),
|
|
35
|
-
(0, ts_serval_1.serialize)(),
|
|
36
|
-
__metadata("design:type", core_types_1.CoreAddress)
|
|
37
|
-
], CertificateContent.prototype, "issuer", void 0);
|
|
38
|
-
__decorate([
|
|
39
|
-
(0, ts_serval_1.validate)(),
|
|
40
|
-
(0, ts_serval_1.serialize)(),
|
|
41
|
-
__metadata("design:type", ts_serval_1.Serializable)
|
|
42
|
-
], CertificateContent.prototype, "issuerData", void 0);
|
|
43
|
-
__decorate([
|
|
44
|
-
(0, ts_serval_1.validate)(),
|
|
45
|
-
(0, ts_serval_1.serialize)(),
|
|
46
|
-
__metadata("design:type", core_types_1.CoreAddress)
|
|
47
|
-
], CertificateContent.prototype, "subject", void 0);
|
|
48
|
-
__decorate([
|
|
49
|
-
(0, ts_serval_1.validate)(),
|
|
50
|
-
(0, ts_serval_1.serialize)(),
|
|
51
|
-
__metadata("design:type", crypto_1.CryptoSignaturePublicKey)
|
|
52
|
-
], CertificateContent.prototype, "subjectPublicKey", void 0);
|
|
53
|
-
__decorate([
|
|
54
|
-
(0, ts_serval_1.validate)(),
|
|
55
|
-
(0, ts_serval_1.serialize)({ type: CertificateConstraint_1.CertificateConstraint }),
|
|
56
|
-
__metadata("design:type", Array)
|
|
57
|
-
], CertificateContent.prototype, "constraints", void 0);
|
|
58
|
-
__decorate([
|
|
59
|
-
(0, ts_serval_1.validate)(),
|
|
60
|
-
(0, ts_serval_1.serialize)({ type: CertificateItem_1.CertificateItem }),
|
|
61
|
-
__metadata("design:type", Array)
|
|
62
|
-
], CertificateContent.prototype, "items", void 0);
|
|
63
|
-
exports.CertificateContent = CertificateContent = __decorate([
|
|
64
|
-
(0, ts_serval_1.type)("CertificateContent")
|
|
65
|
-
], CertificateContent);
|
|
66
|
-
//# sourceMappingURL=CertificateContent.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CertificateContent.js","sourceRoot":"","sources":["../../../../src/modules/certificates/data/CertificateContent.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA4F;AAC5F,kDAAmF;AACnF,0CAAoF;AACpF,mEAAwF;AACxF,uDAAsE;AAYtE;;;GAGG;AAEI,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,wBAAY;IA6BzC,MAAM,CAAC,IAAI,CAAC,KAA0B;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;CACJ,CAAA;AAhCY,gDAAkB;AAGpB;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACK,qBAAQ;oDAAC;AAInB;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACG,wBAAW;kDAAC;AAIpB;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACO,wBAAY;sDAAC;AAIzB;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACI,wBAAW;mDAAC;AAIrB;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACa,iCAAwB;4DAAC;AAI3C;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,6CAAqB,EAAE,CAAC;;uDACC;AAIrC;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,iCAAe,EAAE,CAAC;;iDACL;6BA3BvB,kBAAkB;IAD9B,IAAA,gBAAI,EAAC,oBAAoB,CAAC;GACd,kBAAkB,CAgC9B"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ISerializable, Serializable } from "@js-soft/ts-serval";
|
|
2
|
-
export interface ICertificateItem extends ISerializable {
|
|
3
|
-
}
|
|
4
|
-
/**
|
|
5
|
-
* A CertificateItem is a digitally signed hash with information about the signature date,
|
|
6
|
-
* the signer, the signature algorithm and the version.
|
|
7
|
-
*/
|
|
8
|
-
export declare class CertificateItem extends Serializable {
|
|
9
|
-
static from(value: ICertificateItem): CertificateItem;
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=CertificateItem.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CertificateItem.d.ts","sourceRoot":"","sources":["../../../../src/modules/certificates/data/CertificateItem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,YAAY,EAAQ,MAAM,oBAAoB,CAAC;AAEvE,MAAM,WAAW,gBAAiB,SAAQ,aAAa;CAAG;AAE1D;;;GAGG;AACH,qBACa,eAAgB,SAAQ,YAAY;WAC/B,IAAI,CAAC,KAAK,EAAE,gBAAgB,GAAG,eAAe;CAG/D"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.CertificateItem = void 0;
|
|
10
|
-
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
11
|
-
/**
|
|
12
|
-
* A CertificateItem is a digitally signed hash with information about the signature date,
|
|
13
|
-
* the signer, the signature algorithm and the version.
|
|
14
|
-
*/
|
|
15
|
-
let CertificateItem = class CertificateItem extends ts_serval_1.Serializable {
|
|
16
|
-
static from(value) {
|
|
17
|
-
return this.fromAny(value);
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
exports.CertificateItem = CertificateItem;
|
|
21
|
-
exports.CertificateItem = CertificateItem = __decorate([
|
|
22
|
-
(0, ts_serval_1.type)("CertificateItem")
|
|
23
|
-
], CertificateItem);
|
|
24
|
-
//# sourceMappingURL=CertificateItem.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CertificateItem.js","sourceRoot":"","sources":["../../../../src/modules/certificates/data/CertificateItem.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAuE;AAIvE;;;GAGG;AAEI,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,wBAAY;IACtC,MAAM,CAAC,IAAI,CAAC,KAAuB;QACtC,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;CACJ,CAAA;AAJY,0CAAe;0BAAf,eAAe;IAD3B,IAAA,gBAAI,EAAC,iBAAiB,CAAC;GACX,eAAe,CAI3B"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { CertificateConstraint, ICertificateConstraint } from "../CertificateConstraint";
|
|
2
|
-
export interface ICertificateBorderConstraint extends ICertificateConstraint {
|
|
3
|
-
union: string;
|
|
4
|
-
country: string;
|
|
5
|
-
state: string;
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* A CertificateBorderConstraint specifies a state, a country or a union in which
|
|
9
|
-
* this certificate should be valid.
|
|
10
|
-
*
|
|
11
|
-
* This constraint is primarily telling any verifier, that the issuer of the certificate does not
|
|
12
|
-
* hold the eligibility to issue a certificate anywhere else. Thus, the certificate should be
|
|
13
|
-
* treated as not valid outside the specified border.
|
|
14
|
-
*
|
|
15
|
-
* However, showing a certificate which is valid within a certain country (e.g. Germany) might be
|
|
16
|
-
* much better than not having a certificate at all. Therefore, the verifier could still treat this
|
|
17
|
-
* certificate as valid, although the issuer is no longer taking liability.
|
|
18
|
-
*
|
|
19
|
-
* Examples:
|
|
20
|
-
* - Freight papers for the EU
|
|
21
|
-
* - Access rights to buildings of the UN
|
|
22
|
-
* - German driver license
|
|
23
|
-
*/
|
|
24
|
-
export declare class CertificateBorderConstraint extends CertificateConstraint {
|
|
25
|
-
union: string;
|
|
26
|
-
country: string;
|
|
27
|
-
state: string;
|
|
28
|
-
static from(value: ICertificateBorderConstraint): CertificateBorderConstraint;
|
|
29
|
-
}
|
|
30
|
-
//# sourceMappingURL=CertificateBorderConstraint.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CertificateBorderConstraint.d.ts","sourceRoot":"","sources":["../../../../../src/modules/certificates/data/constraints/CertificateBorderConstraint.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAEzF,MAAM,WAAW,4BAA6B,SAAQ,sBAAsB;IACxE,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,qBACa,2BAA4B,SAAQ,qBAAqB;IAG3D,KAAK,EAAE,MAAM,CAAC;IAId,OAAO,EAAE,MAAM,CAAC;IAIhB,KAAK,EAAE,MAAM,CAAC;WAEE,IAAI,CAAC,KAAK,EAAE,4BAA4B,GAAG,2BAA2B;CAGhG"}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.CertificateBorderConstraint = void 0;
|
|
13
|
-
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
-
const CertificateConstraint_1 = require("../CertificateConstraint");
|
|
15
|
-
/**
|
|
16
|
-
* A CertificateBorderConstraint specifies a state, a country or a union in which
|
|
17
|
-
* this certificate should be valid.
|
|
18
|
-
*
|
|
19
|
-
* This constraint is primarily telling any verifier, that the issuer of the certificate does not
|
|
20
|
-
* hold the eligibility to issue a certificate anywhere else. Thus, the certificate should be
|
|
21
|
-
* treated as not valid outside the specified border.
|
|
22
|
-
*
|
|
23
|
-
* However, showing a certificate which is valid within a certain country (e.g. Germany) might be
|
|
24
|
-
* much better than not having a certificate at all. Therefore, the verifier could still treat this
|
|
25
|
-
* certificate as valid, although the issuer is no longer taking liability.
|
|
26
|
-
*
|
|
27
|
-
* Examples:
|
|
28
|
-
* - Freight papers for the EU
|
|
29
|
-
* - Access rights to buildings of the UN
|
|
30
|
-
* - German driver license
|
|
31
|
-
*/
|
|
32
|
-
let CertificateBorderConstraint = class CertificateBorderConstraint extends CertificateConstraint_1.CertificateConstraint {
|
|
33
|
-
static from(value) {
|
|
34
|
-
return this.fromAny(value);
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
exports.CertificateBorderConstraint = CertificateBorderConstraint;
|
|
38
|
-
__decorate([
|
|
39
|
-
(0, ts_serval_1.validate)(),
|
|
40
|
-
(0, ts_serval_1.serialize)(),
|
|
41
|
-
__metadata("design:type", String)
|
|
42
|
-
], CertificateBorderConstraint.prototype, "union", void 0);
|
|
43
|
-
__decorate([
|
|
44
|
-
(0, ts_serval_1.validate)(),
|
|
45
|
-
(0, ts_serval_1.serialize)(),
|
|
46
|
-
__metadata("design:type", String)
|
|
47
|
-
], CertificateBorderConstraint.prototype, "country", void 0);
|
|
48
|
-
__decorate([
|
|
49
|
-
(0, ts_serval_1.validate)(),
|
|
50
|
-
(0, ts_serval_1.serialize)(),
|
|
51
|
-
__metadata("design:type", String)
|
|
52
|
-
], CertificateBorderConstraint.prototype, "state", void 0);
|
|
53
|
-
exports.CertificateBorderConstraint = CertificateBorderConstraint = __decorate([
|
|
54
|
-
(0, ts_serval_1.type)("CertificateBorderConstraint")
|
|
55
|
-
], CertificateBorderConstraint);
|
|
56
|
-
//# sourceMappingURL=CertificateBorderConstraint.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CertificateBorderConstraint.js","sourceRoot":"","sources":["../../../../../src/modules/certificates/data/constraints/CertificateBorderConstraint.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA+D;AAC/D,oEAAyF;AAQzF;;;;;;;;;;;;;;;;GAgBG;AAEI,IAAM,2BAA2B,GAAjC,MAAM,2BAA4B,SAAQ,6CAAqB;IAa3D,MAAM,CAAU,IAAI,CAAC,KAAmC;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;CACJ,CAAA;AAhBY,kEAA2B;AAG7B;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;;0DACS;AAId;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;;4DACW;AAIhB;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;;0DACS;sCAXZ,2BAA2B;IADvC,IAAA,gBAAI,EAAC,6BAA6B,CAAC;GACvB,2BAA2B,CAgBvC"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { CertificateConstraint, ICertificateConstraint } from "../CertificateConstraint";
|
|
2
|
-
export interface ICertificateCityConstraint extends ICertificateConstraint {
|
|
3
|
-
city: string;
|
|
4
|
-
zipCode: string;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* A CertificateCityConstraint specifies the district, city and zip code in which the
|
|
8
|
-
* certificate is valid.
|
|
9
|
-
*
|
|
10
|
-
* This constraint is primarily telling any verifier, that the issuer of the certificate does not
|
|
11
|
-
* hold the eligibility to issue a certificate anywhere else. Thus, the certificate should be
|
|
12
|
-
* treated as not valid outside the specified city.
|
|
13
|
-
*
|
|
14
|
-
* However, showing a certificate which is valid within a certain city (e.g. Cologne) might be
|
|
15
|
-
* much better than not having a certificate at all. Therefore, the verifier could still treat this
|
|
16
|
-
* certificate as valid, although the issuer is no longer taking liability.
|
|
17
|
-
*
|
|
18
|
-
* Consider using a CertificateBorderConstraint with a CertificateCityConstraint, otherwise the city
|
|
19
|
-
* could not be unique in the world.
|
|
20
|
-
*
|
|
21
|
-
* Examples:
|
|
22
|
-
* - Parking permits within a city
|
|
23
|
-
* - Public transport tickets
|
|
24
|
-
* - City-Inhabitant IDs
|
|
25
|
-
*/
|
|
26
|
-
export declare class CertificateCityConstraint extends CertificateConstraint {
|
|
27
|
-
district: string;
|
|
28
|
-
city: string;
|
|
29
|
-
zipCode: string;
|
|
30
|
-
static from(value: ICertificateCityConstraint): CertificateCityConstraint;
|
|
31
|
-
}
|
|
32
|
-
//# sourceMappingURL=CertificateCityConstraint.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CertificateCityConstraint.d.ts","sourceRoot":"","sources":["../../../../../src/modules/certificates/data/constraints/CertificateCityConstraint.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAEzF,MAAM,WAAW,0BAA2B,SAAQ,sBAAsB;IACtE,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,qBACa,yBAA0B,SAAQ,qBAAqB;IAGzD,QAAQ,EAAE,MAAM,CAAC;IAIjB,IAAI,EAAE,MAAM,CAAC;IAIb,OAAO,EAAE,MAAM,CAAC;WAEA,IAAI,CAAC,KAAK,EAAE,0BAA0B,GAAG,yBAAyB;CAG5F"}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.CertificateCityConstraint = void 0;
|
|
13
|
-
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
-
const CertificateConstraint_1 = require("../CertificateConstraint");
|
|
15
|
-
/**
|
|
16
|
-
* A CertificateCityConstraint specifies the district, city and zip code in which the
|
|
17
|
-
* certificate is valid.
|
|
18
|
-
*
|
|
19
|
-
* This constraint is primarily telling any verifier, that the issuer of the certificate does not
|
|
20
|
-
* hold the eligibility to issue a certificate anywhere else. Thus, the certificate should be
|
|
21
|
-
* treated as not valid outside the specified city.
|
|
22
|
-
*
|
|
23
|
-
* However, showing a certificate which is valid within a certain city (e.g. Cologne) might be
|
|
24
|
-
* much better than not having a certificate at all. Therefore, the verifier could still treat this
|
|
25
|
-
* certificate as valid, although the issuer is no longer taking liability.
|
|
26
|
-
*
|
|
27
|
-
* Consider using a CertificateBorderConstraint with a CertificateCityConstraint, otherwise the city
|
|
28
|
-
* could not be unique in the world.
|
|
29
|
-
*
|
|
30
|
-
* Examples:
|
|
31
|
-
* - Parking permits within a city
|
|
32
|
-
* - Public transport tickets
|
|
33
|
-
* - City-Inhabitant IDs
|
|
34
|
-
*/
|
|
35
|
-
let CertificateCityConstraint = class CertificateCityConstraint extends CertificateConstraint_1.CertificateConstraint {
|
|
36
|
-
static from(value) {
|
|
37
|
-
return this.fromAny(value);
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
exports.CertificateCityConstraint = CertificateCityConstraint;
|
|
41
|
-
__decorate([
|
|
42
|
-
(0, ts_serval_1.validate)(),
|
|
43
|
-
(0, ts_serval_1.serialize)(),
|
|
44
|
-
__metadata("design:type", String)
|
|
45
|
-
], CertificateCityConstraint.prototype, "district", void 0);
|
|
46
|
-
__decorate([
|
|
47
|
-
(0, ts_serval_1.validate)(),
|
|
48
|
-
(0, ts_serval_1.serialize)(),
|
|
49
|
-
__metadata("design:type", String)
|
|
50
|
-
], CertificateCityConstraint.prototype, "city", void 0);
|
|
51
|
-
__decorate([
|
|
52
|
-
(0, ts_serval_1.validate)(),
|
|
53
|
-
(0, ts_serval_1.serialize)(),
|
|
54
|
-
__metadata("design:type", String)
|
|
55
|
-
], CertificateCityConstraint.prototype, "zipCode", void 0);
|
|
56
|
-
exports.CertificateCityConstraint = CertificateCityConstraint = __decorate([
|
|
57
|
-
(0, ts_serval_1.type)("CertificateCityConstraint")
|
|
58
|
-
], CertificateCityConstraint);
|
|
59
|
-
//# sourceMappingURL=CertificateCityConstraint.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CertificateCityConstraint.js","sourceRoot":"","sources":["../../../../../src/modules/certificates/data/constraints/CertificateCityConstraint.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA+D;AAC/D,oEAAyF;AAOzF;;;;;;;;;;;;;;;;;;;GAmBG;AAEI,IAAM,yBAAyB,GAA/B,MAAM,yBAA0B,SAAQ,6CAAqB;IAazD,MAAM,CAAU,IAAI,CAAC,KAAiC;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;CACJ,CAAA;AAhBY,8DAAyB;AAG3B;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;;2DACY;AAIjB;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;;uDACQ;AAIb;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;;0DACW;oCAXd,yBAAyB;IADrC,IAAA,gBAAI,EAAC,2BAA2B,CAAC;GACrB,yBAAyB,CAgBrC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { CoreAddress, ICoreAddress } from "@nmshd/core-types";
|
|
2
|
-
import { CertificateConstraint, ICertificateConstraint } from "../CertificateConstraint";
|
|
3
|
-
export interface ICertificateIdentityConstraint extends ICertificateConstraint {
|
|
4
|
-
identity: ICoreAddress;
|
|
5
|
-
}
|
|
6
|
-
export declare class CertificateIdentityConstraint extends CertificateConstraint {
|
|
7
|
-
identity: CoreAddress;
|
|
8
|
-
static from(value: ICertificateIdentityConstraint): CertificateIdentityConstraint;
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=CertificateIdentityConstraint.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CertificateIdentityConstraint.d.ts","sourceRoot":"","sources":["../../../../../src/modules/certificates/data/constraints/CertificateIdentityConstraint.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAEzF,MAAM,WAAW,8BAA+B,SAAQ,sBAAsB;IAC1E,QAAQ,EAAE,YAAY,CAAC;CAC1B;AAED,qBACa,6BAA8B,SAAQ,qBAAqB;IAG7D,QAAQ,EAAE,WAAW,CAAC;WAEN,IAAI,CAAC,KAAK,EAAE,8BAA8B,GAAG,6BAA6B;CAGpG"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.CertificateIdentityConstraint = void 0;
|
|
13
|
-
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
-
const core_types_1 = require("@nmshd/core-types");
|
|
15
|
-
const CertificateConstraint_1 = require("../CertificateConstraint");
|
|
16
|
-
let CertificateIdentityConstraint = class CertificateIdentityConstraint extends CertificateConstraint_1.CertificateConstraint {
|
|
17
|
-
static from(value) {
|
|
18
|
-
return this.fromAny(value);
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
exports.CertificateIdentityConstraint = CertificateIdentityConstraint;
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, ts_serval_1.validate)(),
|
|
24
|
-
(0, ts_serval_1.serialize)(),
|
|
25
|
-
__metadata("design:type", core_types_1.CoreAddress)
|
|
26
|
-
], CertificateIdentityConstraint.prototype, "identity", void 0);
|
|
27
|
-
exports.CertificateIdentityConstraint = CertificateIdentityConstraint = __decorate([
|
|
28
|
-
(0, ts_serval_1.type)("CertificateIdentityConstraint")
|
|
29
|
-
], CertificateIdentityConstraint);
|
|
30
|
-
//# sourceMappingURL=CertificateIdentityConstraint.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CertificateIdentityConstraint.js","sourceRoot":"","sources":["../../../../../src/modules/certificates/data/constraints/CertificateIdentityConstraint.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA+D;AAC/D,kDAA8D;AAC9D,oEAAyF;AAOlF,IAAM,6BAA6B,GAAnC,MAAM,6BAA8B,SAAQ,6CAAqB;IAK7D,MAAM,CAAU,IAAI,CAAC,KAAqC;QAC7D,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;CACJ,CAAA;AARY,sEAA6B;AAG/B;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACK,wBAAW;+DAAC;wCAHpB,6BAA6B;IADzC,IAAA,gBAAI,EAAC,+BAA+B,CAAC;GACzB,6BAA6B,CAQzC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { CoreDate, ICoreDate } from "@nmshd/core-types";
|
|
2
|
-
import { CertificateConstraint, ICertificateConstraint } from "../CertificateConstraint";
|
|
3
|
-
export interface ICertificateTimeConstraint extends ICertificateConstraint {
|
|
4
|
-
validFrom: ICoreDate;
|
|
5
|
-
validTo: ICoreDate;
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* A CertificateTimeConstraint limits the validity of the certificate to the specified
|
|
9
|
-
* dates. The certificate is not valid before the validFrom date, and not after the
|
|
10
|
-
* validTo date.
|
|
11
|
-
*/
|
|
12
|
-
export declare class CertificateTimeConstraint extends CertificateConstraint {
|
|
13
|
-
validFrom: CoreDate;
|
|
14
|
-
validTo: CoreDate;
|
|
15
|
-
static from(value: ICertificateTimeConstraint): CertificateTimeConstraint;
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=CertificateTimeConstraint.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CertificateTimeConstraint.d.ts","sourceRoot":"","sources":["../../../../../src/modules/certificates/data/constraints/CertificateTimeConstraint.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAEzF,MAAM,WAAW,0BAA2B,SAAQ,sBAAsB;IACtE,SAAS,EAAE,SAAS,CAAC;IACrB,OAAO,EAAE,SAAS,CAAC;CACtB;AAED;;;;GAIG;AACH,qBACa,yBAA0B,SAAQ,qBAAqB;IAGzD,SAAS,EAAE,QAAQ,CAAC;IAIpB,OAAO,EAAE,QAAQ,CAAC;WAEF,IAAI,CAAC,KAAK,EAAE,0BAA0B,GAAG,yBAAyB;CAG5F"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.CertificateTimeConstraint = void 0;
|
|
13
|
-
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
-
const core_types_1 = require("@nmshd/core-types");
|
|
15
|
-
const CertificateConstraint_1 = require("../CertificateConstraint");
|
|
16
|
-
/**
|
|
17
|
-
* A CertificateTimeConstraint limits the validity of the certificate to the specified
|
|
18
|
-
* dates. The certificate is not valid before the validFrom date, and not after the
|
|
19
|
-
* validTo date.
|
|
20
|
-
*/
|
|
21
|
-
let CertificateTimeConstraint = class CertificateTimeConstraint extends CertificateConstraint_1.CertificateConstraint {
|
|
22
|
-
static from(value) {
|
|
23
|
-
return this.fromAny(value);
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
exports.CertificateTimeConstraint = CertificateTimeConstraint;
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, ts_serval_1.validate)(),
|
|
29
|
-
(0, ts_serval_1.serialize)(),
|
|
30
|
-
__metadata("design:type", core_types_1.CoreDate)
|
|
31
|
-
], CertificateTimeConstraint.prototype, "validFrom", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
(0, ts_serval_1.validate)(),
|
|
34
|
-
(0, ts_serval_1.serialize)(),
|
|
35
|
-
__metadata("design:type", core_types_1.CoreDate)
|
|
36
|
-
], CertificateTimeConstraint.prototype, "validTo", void 0);
|
|
37
|
-
exports.CertificateTimeConstraint = CertificateTimeConstraint = __decorate([
|
|
38
|
-
(0, ts_serval_1.type)("CertificateTimeConstraint")
|
|
39
|
-
], CertificateTimeConstraint);
|
|
40
|
-
//# sourceMappingURL=CertificateTimeConstraint.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CertificateTimeConstraint.js","sourceRoot":"","sources":["../../../../../src/modules/certificates/data/constraints/CertificateTimeConstraint.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA+D;AAC/D,kDAAwD;AACxD,oEAAyF;AAOzF;;;;GAIG;AAEI,IAAM,yBAAyB,GAA/B,MAAM,yBAA0B,SAAQ,6CAAqB;IASzD,MAAM,CAAU,IAAI,CAAC,KAAiC;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;CACJ,CAAA;AAZY,8DAAyB;AAG3B;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACM,qBAAQ;4DAAC;AAIpB;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACI,qBAAQ;0DAAC;oCAPhB,yBAAyB;IADrC,IAAA,gBAAI,EAAC,2BAA2B,CAAC;GACrB,yBAAyB,CAYrC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { CertificateItem, ICertificateItem } from "../CertificateItem";
|
|
2
|
-
export interface ICertificateAuthorizationItem extends ICertificateItem {
|
|
3
|
-
authorization: string;
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* A CertificateAuthorizationItem gives a certain authorization, from the issuer to the
|
|
7
|
-
* subject.
|
|
8
|
-
*
|
|
9
|
-
* Example:
|
|
10
|
-
* - Access Service XYZ
|
|
11
|
-
* - Admin access to a computer
|
|
12
|
-
* - Facility access to a visitor
|
|
13
|
-
*/
|
|
14
|
-
export declare class CertificateAuthorizationItem extends CertificateItem {
|
|
15
|
-
authorization: string;
|
|
16
|
-
static from(value: ICertificateAuthorizationItem): CertificateAuthorizationItem;
|
|
17
|
-
}
|
|
18
|
-
//# sourceMappingURL=CertificateAuthorizationItem.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CertificateAuthorizationItem.d.ts","sourceRoot":"","sources":["../../../../../src/modules/certificates/data/items/CertificateAuthorizationItem.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEvE,MAAM,WAAW,6BAA8B,SAAQ,gBAAgB;IACnE,aAAa,EAAE,MAAM,CAAC;CACzB;AAED;;;;;;;;GAQG;AACH,qBACa,4BAA6B,SAAQ,eAAe;IAGtD,aAAa,EAAE,MAAM,CAAC;WAEN,IAAI,CAAC,KAAK,EAAE,6BAA6B,GAAG,4BAA4B;CAGlG"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.CertificateAuthorizationItem = void 0;
|
|
13
|
-
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
-
const CertificateItem_1 = require("../CertificateItem");
|
|
15
|
-
/**
|
|
16
|
-
* A CertificateAuthorizationItem gives a certain authorization, from the issuer to the
|
|
17
|
-
* subject.
|
|
18
|
-
*
|
|
19
|
-
* Example:
|
|
20
|
-
* - Access Service XYZ
|
|
21
|
-
* - Admin access to a computer
|
|
22
|
-
* - Facility access to a visitor
|
|
23
|
-
*/
|
|
24
|
-
let CertificateAuthorizationItem = class CertificateAuthorizationItem extends CertificateItem_1.CertificateItem {
|
|
25
|
-
static from(value) {
|
|
26
|
-
return this.fromAny(value);
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
exports.CertificateAuthorizationItem = CertificateAuthorizationItem;
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, ts_serval_1.validate)(),
|
|
32
|
-
(0, ts_serval_1.serialize)(),
|
|
33
|
-
__metadata("design:type", String)
|
|
34
|
-
], CertificateAuthorizationItem.prototype, "authorization", void 0);
|
|
35
|
-
exports.CertificateAuthorizationItem = CertificateAuthorizationItem = __decorate([
|
|
36
|
-
(0, ts_serval_1.type)("CertificateAuthorizationItem")
|
|
37
|
-
], CertificateAuthorizationItem);
|
|
38
|
-
//# sourceMappingURL=CertificateAuthorizationItem.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CertificateAuthorizationItem.js","sourceRoot":"","sources":["../../../../../src/modules/certificates/data/items/CertificateAuthorizationItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA+D;AAC/D,wDAAuE;AAMvE;;;;;;;;GAQG;AAEI,IAAM,4BAA4B,GAAlC,MAAM,4BAA6B,SAAQ,iCAAe;IAKtD,MAAM,CAAU,IAAI,CAAC,KAAoC;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;CACJ,CAAA;AARY,oEAA4B;AAG9B;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;;mEACiB;uCAHpB,4BAA4B;IADxC,IAAA,gBAAI,EAAC,8BAA8B,CAAC;GACxB,4BAA4B,CAQxC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { CertificateItem, ICertificateItem } from "../CertificateItem";
|
|
2
|
-
export interface ICertificateDelegateItem extends ICertificateItem {
|
|
3
|
-
}
|
|
4
|
-
export declare enum CertificateDelegateType {
|
|
5
|
-
Clone = "clone",
|
|
6
|
-
Custodian = "custodian",
|
|
7
|
-
Sign = "sign",
|
|
8
|
-
Ppa = "ppa",
|
|
9
|
-
Communication = "communication"
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* A CertificateDelegateItem
|
|
13
|
-
*/
|
|
14
|
-
export declare class CertificateDelegateItem extends CertificateItem {
|
|
15
|
-
type: CertificateDelegateType;
|
|
16
|
-
content: string;
|
|
17
|
-
static from(value: ICertificateDelegateItem): CertificateDelegateItem;
|
|
18
|
-
}
|
|
19
|
-
//# sourceMappingURL=CertificateDelegateItem.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CertificateDelegateItem.d.ts","sourceRoot":"","sources":["../../../../../src/modules/certificates/data/items/CertificateDelegateItem.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEvE,MAAM,WAAW,wBAAyB,SAAQ,gBAAgB;CAAG;AAErE,oBAAY,uBAAuB;IAC/B,KAAK,UAAU;IACf,SAAS,cAAc;IACvB,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,aAAa,kBAAkB;CAClC;AAED;;GAEG;AACH,qBACa,uBAAwB,SAAQ,eAAe;IAGjD,IAAI,EAAE,uBAAuB,CAAC;IAI9B,OAAO,EAAE,MAAM,CAAC;WAEA,IAAI,CAAC,KAAK,EAAE,wBAAwB,GAAG,uBAAuB;CAGxF"}
|