@nmshd/transport 5.2.1 → 5.3.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 +1 -1
- package/README.md +2 -2
- package/dist/buildInformation.js +5 -5
- package/dist/core/CoreCrypto.js +2 -2
- package/dist/core/CoreCrypto.js.map +1 -1
- package/dist/core/CoreIdHelper.d.ts +2 -1
- package/dist/core/CoreIdHelper.d.ts.map +1 -1
- package/dist/core/CoreIdHelper.js +11 -6
- package/dist/core/CoreIdHelper.js.map +1 -1
- package/dist/core/CoreSynchronizable.d.ts +4 -4
- package/dist/core/CoreSynchronizable.d.ts.map +1 -1
- package/dist/core/CoreSynchronizable.js +3 -4
- package/dist/core/CoreSynchronizable.js.map +1 -1
- package/dist/core/Reference.d.ts +1 -1
- package/dist/core/Reference.d.ts.map +1 -1
- package/dist/core/Reference.js +7 -7
- package/dist/core/Reference.js.map +1 -1
- package/dist/core/Transport.js +4 -4
- package/dist/core/Transport.js.map +1 -1
- package/dist/core/TransportController.d.ts +2 -2
- package/dist/core/TransportController.d.ts.map +1 -1
- package/dist/core/TransportController.js.map +1 -1
- package/dist/core/{CoreErrors.d.ts → TransportCoreErrors.d.ts} +3 -3
- package/dist/core/TransportCoreErrors.d.ts.map +1 -0
- package/dist/core/TransportCoreErrors.js +147 -0
- package/dist/core/TransportCoreErrors.js.map +1 -0
- package/dist/core/backbone/AuthClient.d.ts +1 -1
- package/dist/core/backbone/AuthClient.d.ts.map +1 -1
- package/dist/core/backbone/AuthClient.js +2 -2
- package/dist/core/backbone/AuthClient.js.map +1 -1
- package/dist/core/backbone/Authenticator.d.ts.map +1 -1
- package/dist/core/backbone/ClientResult.d.ts +1 -1
- package/dist/core/backbone/ClientResult.d.ts.map +1 -1
- package/dist/core/backbone/ClientResult.js +3 -3
- package/dist/core/backbone/ClientResult.js.map +1 -1
- package/dist/core/backbone/RESTClient.js +2 -2
- package/dist/core/backbone/RESTClient.js.map +1 -1
- package/dist/core/backbone/RequestError.d.ts.map +1 -1
- package/dist/core/backbone/RequestError.js +2 -2
- package/dist/core/backbone/RequestError.js.map +1 -1
- package/dist/core/index.d.ts +1 -4
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +1 -4
- package/dist/core/index.js.map +1 -1
- package/dist/core/types/CoreHash.d.ts +5 -3
- package/dist/core/types/CoreHash.d.ts.map +1 -1
- package/dist/core/types/CoreHash.js +9 -2
- package/dist/core/types/CoreHash.js.map +1 -1
- package/dist/core/types/index.d.ts +0 -3
- package/dist/core/types/index.d.ts.map +1 -1
- package/dist/core/types/index.js +0 -3
- package/dist/core/types/index.js.map +1 -1
- package/dist/events/PeerDeletedEvent.d.ts +7 -0
- package/dist/events/PeerDeletedEvent.d.ts.map +1 -0
- package/dist/events/PeerDeletedEvent.js +12 -0
- package/dist/events/PeerDeletedEvent.js.map +1 -0
- package/dist/events/PeerDeletionCancelledEvent.d.ts +7 -0
- package/dist/events/PeerDeletionCancelledEvent.d.ts.map +1 -0
- package/dist/events/PeerDeletionCancelledEvent.js +12 -0
- package/dist/events/PeerDeletionCancelledEvent.js.map +1 -0
- package/dist/events/PeerToBeDeletedEvent.d.ts +7 -0
- package/dist/events/PeerToBeDeletedEvent.d.ts.map +1 -0
- package/dist/events/PeerToBeDeletedEvent.js +12 -0
- package/dist/events/PeerToBeDeletedEvent.js.map +1 -0
- package/dist/events/RelationshipDecomposedBySelfEvent.d.ts +1 -1
- package/dist/events/RelationshipDecomposedBySelfEvent.d.ts.map +1 -1
- 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 +2 -1
- package/dist/modules/accounts/AccountController.d.ts.map +1 -1
- package/dist/modules/accounts/AccountController.js +8 -7
- package/dist/modules/accounts/AccountController.js.map +1 -1
- package/dist/modules/accounts/IdentityController.d.ts +2 -1
- package/dist/modules/accounts/IdentityController.d.ts.map +1 -1
- package/dist/modules/accounts/IdentityController.js +1 -1
- package/dist/modules/accounts/IdentityController.js.map +1 -1
- package/dist/modules/accounts/IdentityDeletionProcessController.d.ts +2 -1
- package/dist/modules/accounts/IdentityDeletionProcessController.d.ts.map +1 -1
- package/dist/modules/accounts/IdentityDeletionProcessController.js +2 -1
- package/dist/modules/accounts/IdentityDeletionProcessController.js.map +1 -1
- package/dist/modules/accounts/IdentityUtil.d.ts +1 -1
- package/dist/modules/accounts/IdentityUtil.d.ts.map +1 -1
- package/dist/modules/accounts/IdentityUtil.js +2 -2
- package/dist/modules/accounts/IdentityUtil.js.map +1 -1
- package/dist/modules/accounts/data/CachedIdentityDeletionProcess.d.ts +3 -2
- package/dist/modules/accounts/data/CachedIdentityDeletionProcess.d.ts.map +1 -1
- package/dist/modules/accounts/data/CachedIdentityDeletionProcess.js +12 -12
- package/dist/modules/accounts/data/CachedIdentityDeletionProcess.js.map +1 -1
- package/dist/modules/accounts/data/Identity.d.ts +4 -3
- package/dist/modules/accounts/data/Identity.d.ts.map +1 -1
- package/dist/modules/accounts/data/Identity.js +3 -3
- package/dist/modules/accounts/data/Identity.js.map +1 -1
- package/dist/modules/accounts/data/IdentityDeletionProcess.d.ts +2 -1
- package/dist/modules/accounts/data/IdentityDeletionProcess.d.ts.map +1 -1
- package/dist/modules/accounts/data/IdentityDeletionProcess.js +3 -2
- package/dist/modules/accounts/data/IdentityDeletionProcess.js.map +1 -1
- package/dist/modules/accounts/data/IdentitySecretCredentials.d.ts +3 -3
- package/dist/modules/accounts/data/IdentitySecretCredentials.d.ts.map +1 -1
- package/dist/modules/accounts/data/IdentitySecretCredentials.js +1 -2
- package/dist/modules/accounts/data/IdentitySecretCredentials.js.map +1 -1
- package/dist/modules/certificates/CertificateIssuer.d.ts +2 -1
- package/dist/modules/certificates/CertificateIssuer.d.ts.map +1 -1
- package/dist/modules/certificates/CertificateIssuer.js +2 -1
- package/dist/modules/certificates/CertificateIssuer.js.map +1 -1
- package/dist/modules/certificates/data/Certificate.d.ts +3 -3
- package/dist/modules/certificates/data/Certificate.d.ts.map +1 -1
- package/dist/modules/certificates/data/Certificate.js +1 -1
- package/dist/modules/certificates/data/Certificate.js.map +1 -1
- package/dist/modules/certificates/data/CertificateConstraint.d.ts +3 -3
- package/dist/modules/certificates/data/CertificateConstraint.d.ts.map +1 -1
- package/dist/modules/certificates/data/CertificateConstraint.js +1 -2
- package/dist/modules/certificates/data/CertificateConstraint.js.map +1 -1
- package/dist/modules/certificates/data/CertificateContent.d.ts +6 -5
- package/dist/modules/certificates/data/CertificateContent.d.ts.map +1 -1
- package/dist/modules/certificates/data/CertificateContent.js +6 -6
- package/dist/modules/certificates/data/CertificateContent.js.map +1 -1
- package/dist/modules/certificates/data/CertificateItem.d.ts +3 -3
- package/dist/modules/certificates/data/CertificateItem.d.ts.map +1 -1
- package/dist/modules/certificates/data/CertificateItem.js +1 -2
- package/dist/modules/certificates/data/CertificateItem.js.map +1 -1
- package/dist/modules/certificates/data/constraints/CertificateIdentityConstraint.d.ts +1 -1
- package/dist/modules/certificates/data/constraints/CertificateIdentityConstraint.d.ts.map +1 -1
- package/dist/modules/certificates/data/constraints/CertificateIdentityConstraint.js +2 -2
- package/dist/modules/certificates/data/constraints/CertificateIdentityConstraint.js.map +1 -1
- package/dist/modules/certificates/data/constraints/CertificateTimeConstraint.d.ts +1 -1
- package/dist/modules/certificates/data/constraints/CertificateTimeConstraint.d.ts.map +1 -1
- package/dist/modules/certificates/data/constraints/CertificateTimeConstraint.js +3 -3
- package/dist/modules/certificates/data/constraints/CertificateTimeConstraint.js.map +1 -1
- package/dist/modules/certificates/data/items/CertificatePrivateAttributeItem.d.ts +2 -1
- package/dist/modules/certificates/data/items/CertificatePrivateAttributeItem.d.ts.map +1 -1
- package/dist/modules/certificates/data/items/CertificatePrivateAttributeItem.js +2 -2
- package/dist/modules/certificates/data/items/CertificatePrivateAttributeItem.js.map +1 -1
- package/dist/modules/certificates/data/items/CertificatePrivateAttributeItemSource.d.ts +1 -1
- package/dist/modules/certificates/data/items/CertificatePrivateAttributeItemSource.d.ts.map +1 -1
- package/dist/modules/certificates/data/items/CertificatePrivateAttributeItemSource.js +2 -2
- package/dist/modules/certificates/data/items/CertificatePrivateAttributeItemSource.js.map +1 -1
- package/dist/modules/challenges/ChallengeController.d.ts.map +1 -1
- package/dist/modules/challenges/ChallengeController.js +10 -9
- package/dist/modules/challenges/ChallengeController.js.map +1 -1
- package/dist/modules/challenges/data/Challenge.d.ts +4 -3
- package/dist/modules/challenges/data/Challenge.d.ts.map +1 -1
- package/dist/modules/challenges/data/Challenge.js +6 -6
- package/dist/modules/challenges/data/Challenge.js.map +1 -1
- package/dist/modules/challenges/data/ChallengeSigned.d.ts +3 -4
- package/dist/modules/challenges/data/ChallengeSigned.d.ts.map +1 -1
- package/dist/modules/challenges/data/ChallengeSigned.js +1 -2
- package/dist/modules/challenges/data/ChallengeSigned.js.map +1 -1
- package/dist/modules/devices/DeviceController.d.ts +2 -1
- package/dist/modules/devices/DeviceController.d.ts.map +1 -1
- package/dist/modules/devices/DeviceController.js +4 -4
- package/dist/modules/devices/DeviceController.js.map +1 -1
- package/dist/modules/devices/DeviceSecretController.d.ts.map +1 -1
- package/dist/modules/devices/DeviceSecretController.js +10 -9
- package/dist/modules/devices/DeviceSecretController.js.map +1 -1
- package/dist/modules/devices/DevicesController.d.ts +1 -1
- package/dist/modules/devices/DevicesController.d.ts.map +1 -1
- package/dist/modules/devices/DevicesController.js +9 -8
- package/dist/modules/devices/DevicesController.js.map +1 -1
- package/dist/modules/devices/local/Device.d.ts +1 -2
- package/dist/modules/devices/local/Device.d.ts.map +1 -1
- package/dist/modules/devices/local/Device.js +4 -5
- package/dist/modules/devices/local/Device.js.map +1 -1
- package/dist/modules/devices/local/DeviceSecretCredentials.d.ts +4 -3
- package/dist/modules/devices/local/DeviceSecretCredentials.d.ts.map +1 -1
- package/dist/modules/devices/local/DeviceSecretCredentials.js +3 -3
- package/dist/modules/devices/local/DeviceSecretCredentials.js.map +1 -1
- package/dist/modules/devices/local/SendDeviceParameters.d.ts +3 -3
- package/dist/modules/devices/local/SendDeviceParameters.d.ts.map +1 -1
- package/dist/modules/devices/local/SendDeviceParameters.js +1 -2
- package/dist/modules/devices/local/SendDeviceParameters.js.map +1 -1
- package/dist/modules/devices/transmission/DeviceSharedSecret.d.ts +4 -3
- package/dist/modules/devices/transmission/DeviceSharedSecret.d.ts.map +1 -1
- package/dist/modules/devices/transmission/DeviceSharedSecret.js +5 -5
- package/dist/modules/devices/transmission/DeviceSharedSecret.js.map +1 -1
- package/dist/modules/files/FileController.d.ts +1 -1
- package/dist/modules/files/FileController.d.ts.map +1 -1
- package/dist/modules/files/FileController.js +16 -15
- package/dist/modules/files/FileController.js.map +1 -1
- package/dist/modules/files/local/CachedFile.d.ts +6 -4
- package/dist/modules/files/local/CachedFile.d.ts.map +1 -1
- package/dist/modules/files/local/CachedFile.js +19 -18
- package/dist/modules/files/local/CachedFile.js.map +1 -1
- package/dist/modules/files/local/File.d.ts +2 -1
- package/dist/modules/files/local/File.d.ts.map +1 -1
- package/dist/modules/files/local/File.js +5 -4
- package/dist/modules/files/local/File.js.map +1 -1
- package/dist/modules/files/local/SendFileParameters.d.ts +4 -4
- package/dist/modules/files/local/SendFileParameters.d.ts.map +1 -1
- package/dist/modules/files/local/SendFileParameters.js +4 -5
- package/dist/modules/files/local/SendFileParameters.js.map +1 -1
- package/dist/modules/files/transmission/FileMetadata.d.ts +5 -3
- package/dist/modules/files/transmission/FileMetadata.d.ts.map +1 -1
- package/dist/modules/files/transmission/FileMetadata.js +3 -2
- package/dist/modules/files/transmission/FileMetadata.js.map +1 -1
- package/dist/modules/index.d.ts +1 -0
- package/dist/modules/index.d.ts.map +1 -1
- package/dist/modules/index.js +1 -0
- package/dist/modules/index.js.map +1 -1
- package/dist/modules/messages/MessageController.d.ts +1 -1
- package/dist/modules/messages/MessageController.d.ts.map +1 -1
- package/dist/modules/messages/MessageController.js +31 -30
- package/dist/modules/messages/MessageController.js.map +1 -1
- package/dist/modules/messages/local/CachedMessage.d.ts +3 -4
- package/dist/modules/messages/local/CachedMessage.d.ts.map +1 -1
- package/dist/modules/messages/local/CachedMessage.js +6 -7
- package/dist/modules/messages/local/CachedMessage.js.map +1 -1
- package/dist/modules/messages/local/CachedMessageRecipient.d.ts +4 -4
- package/dist/modules/messages/local/CachedMessageRecipient.d.ts.map +1 -1
- package/dist/modules/messages/local/CachedMessageRecipient.js +6 -7
- package/dist/modules/messages/local/CachedMessageRecipient.js.map +1 -1
- package/dist/modules/messages/local/Message.d.ts +2 -1
- package/dist/modules/messages/local/Message.d.ts.map +1 -1
- package/dist/modules/messages/local/Message.js +6 -5
- package/dist/modules/messages/local/Message.js.map +1 -1
- package/dist/modules/messages/local/SendMessageParameters.d.ts +3 -3
- package/dist/modules/messages/local/SendMessageParameters.d.ts.map +1 -1
- package/dist/modules/messages/local/SendMessageParameters.js +3 -3
- package/dist/modules/messages/local/SendMessageParameters.js.map +1 -1
- package/dist/modules/messages/transmission/MessageContentWrapper.d.ts +3 -5
- package/dist/modules/messages/transmission/MessageContentWrapper.d.ts.map +1 -1
- package/dist/modules/messages/transmission/MessageContentWrapper.js +4 -6
- package/dist/modules/messages/transmission/MessageContentWrapper.js.map +1 -1
- package/dist/modules/messages/transmission/MessageEnvelope.d.ts +4 -3
- package/dist/modules/messages/transmission/MessageEnvelope.d.ts.map +1 -1
- package/dist/modules/messages/transmission/MessageEnvelope.js +8 -8
- package/dist/modules/messages/transmission/MessageEnvelope.js.map +1 -1
- package/dist/modules/messages/transmission/MessageEnvelopeRecipient.d.ts +4 -4
- package/dist/modules/messages/transmission/MessageEnvelopeRecipient.d.ts.map +1 -1
- package/dist/modules/messages/transmission/MessageEnvelopeRecipient.js +5 -6
- package/dist/modules/messages/transmission/MessageEnvelopeRecipient.js.map +1 -1
- package/dist/modules/messages/transmission/MessageSignature.d.ts +4 -3
- package/dist/modules/messages/transmission/MessageSignature.d.ts.map +1 -1
- package/dist/modules/messages/transmission/MessageSignature.js +3 -3
- package/dist/modules/messages/transmission/MessageSignature.js.map +1 -1
- package/dist/modules/messages/transmission/MessageSigned.d.ts +3 -3
- package/dist/modules/messages/transmission/MessageSigned.d.ts.map +1 -1
- package/dist/modules/messages/transmission/MessageSigned.js +1 -2
- package/dist/modules/messages/transmission/MessageSigned.js.map +1 -1
- package/dist/modules/relationshipTemplates/RelationshipTemplateController.d.ts +1 -1
- package/dist/modules/relationshipTemplates/RelationshipTemplateController.d.ts.map +1 -1
- package/dist/modules/relationshipTemplates/RelationshipTemplateController.js +13 -12
- package/dist/modules/relationshipTemplates/RelationshipTemplateController.js.map +1 -1
- package/dist/modules/relationshipTemplates/local/CachedRelationshipTemplate.d.ts +3 -4
- package/dist/modules/relationshipTemplates/local/CachedRelationshipTemplate.d.ts.map +1 -1
- package/dist/modules/relationshipTemplates/local/CachedRelationshipTemplate.js +6 -7
- package/dist/modules/relationshipTemplates/local/CachedRelationshipTemplate.js.map +1 -1
- package/dist/modules/relationshipTemplates/local/RelationshipTemplate.d.ts +1 -1
- package/dist/modules/relationshipTemplates/local/RelationshipTemplate.d.ts.map +1 -1
- package/dist/modules/relationshipTemplates/local/RelationshipTemplate.js +5 -5
- package/dist/modules/relationshipTemplates/local/RelationshipTemplate.js.map +1 -1
- package/dist/modules/relationshipTemplates/local/SendRelationshipTemplateParameters.d.ts +4 -4
- package/dist/modules/relationshipTemplates/local/SendRelationshipTemplateParameters.d.ts.map +1 -1
- package/dist/modules/relationshipTemplates/local/SendRelationshipTemplateParameters.js +3 -3
- package/dist/modules/relationshipTemplates/local/SendRelationshipTemplateParameters.js.map +1 -1
- package/dist/modules/relationshipTemplates/transmission/RelationshipTemplateContentWrapper.d.ts +2 -3
- package/dist/modules/relationshipTemplates/transmission/RelationshipTemplateContentWrapper.d.ts.map +1 -1
- package/dist/modules/relationshipTemplates/transmission/RelationshipTemplateContentWrapper.js +1 -2
- package/dist/modules/relationshipTemplates/transmission/RelationshipTemplateContentWrapper.js.map +1 -1
- package/dist/modules/relationshipTemplates/transmission/RelationshipTemplatePublicKey.d.ts +1 -1
- package/dist/modules/relationshipTemplates/transmission/RelationshipTemplatePublicKey.d.ts.map +1 -1
- package/dist/modules/relationshipTemplates/transmission/RelationshipTemplatePublicKey.js +2 -2
- package/dist/modules/relationshipTemplates/transmission/RelationshipTemplatePublicKey.js.map +1 -1
- package/dist/modules/relationshipTemplates/transmission/RelationshipTemplateSigned.d.ts +3 -3
- package/dist/modules/relationshipTemplates/transmission/RelationshipTemplateSigned.d.ts.map +1 -1
- package/dist/modules/relationshipTemplates/transmission/RelationshipTemplateSigned.js +1 -2
- package/dist/modules/relationshipTemplates/transmission/RelationshipTemplateSigned.js.map +1 -1
- package/dist/modules/relationships/RelationshipSecretController.d.ts +1 -1
- package/dist/modules/relationships/RelationshipSecretController.d.ts.map +1 -1
- package/dist/modules/relationships/RelationshipSecretController.js +25 -24
- package/dist/modules/relationships/RelationshipSecretController.js.map +1 -1
- package/dist/modules/relationships/RelationshipsController.d.ts +4 -1
- package/dist/modules/relationships/RelationshipsController.d.ts.map +1 -1
- package/dist/modules/relationships/RelationshipsController.js +42 -32
- package/dist/modules/relationships/RelationshipsController.js.map +1 -1
- package/dist/modules/relationships/local/CachedRelationship.d.ts +3 -3
- package/dist/modules/relationships/local/CachedRelationship.d.ts.map +1 -1
- package/dist/modules/relationships/local/CachedRelationship.js +4 -4
- package/dist/modules/relationships/local/CachedRelationship.js.map +1 -1
- package/dist/modules/relationships/local/PeerDeletionInfo.d.ts +16 -0
- package/dist/modules/relationships/local/PeerDeletionInfo.d.ts.map +1 -0
- package/dist/{core/types/CoreAddress.js → modules/relationships/local/PeerDeletionInfo.js} +14 -32
- package/dist/modules/relationships/local/PeerDeletionInfo.js.map +1 -0
- package/dist/modules/relationships/local/Relationship.d.ts +5 -1
- package/dist/modules/relationships/local/Relationship.d.ts.map +1 -1
- package/dist/modules/relationships/local/Relationship.js +16 -8
- package/dist/modules/relationships/local/Relationship.js.map +1 -1
- package/dist/modules/relationships/local/RelationshipAuditLog.js +4 -4
- package/dist/modules/relationships/local/RelationshipAuditLog.js.map +1 -1
- package/dist/modules/relationships/local/RelationshipAuditLogEntry.d.ts +4 -3
- package/dist/modules/relationships/local/RelationshipAuditLogEntry.d.ts.map +1 -1
- package/dist/modules/relationships/local/RelationshipAuditLogEntry.js +5 -5
- package/dist/modules/relationships/local/RelationshipAuditLogEntry.js.map +1 -1
- package/dist/modules/relationships/local/SendRelationshipParameters.d.ts +2 -3
- package/dist/modules/relationships/local/SendRelationshipParameters.d.ts.map +1 -1
- package/dist/modules/relationships/local/SendRelationshipParameters.js +1 -2
- package/dist/modules/relationships/local/SendRelationshipParameters.js.map +1 -1
- package/dist/modules/relationships/transmission/requests/RelationshipCreationContentCipher.d.ts +5 -3
- package/dist/modules/relationships/transmission/requests/RelationshipCreationContentCipher.d.ts.map +1 -1
- package/dist/modules/relationships/transmission/requests/RelationshipCreationContentCipher.js +10 -3
- package/dist/modules/relationships/transmission/requests/RelationshipCreationContentCipher.js.map +1 -1
- package/dist/modules/relationships/transmission/requests/RelationshipCreationContentSigned.d.ts +3 -3
- package/dist/modules/relationships/transmission/requests/RelationshipCreationContentSigned.d.ts.map +1 -1
- package/dist/modules/relationships/transmission/requests/RelationshipCreationContentSigned.js +1 -2
- package/dist/modules/relationships/transmission/requests/RelationshipCreationContentSigned.js.map +1 -1
- package/dist/modules/relationships/transmission/requests/RelationshipCreationContentWrapper.d.ts +3 -3
- package/dist/modules/relationships/transmission/requests/RelationshipCreationContentWrapper.d.ts.map +1 -1
- package/dist/modules/relationships/transmission/requests/RelationshipCreationContentWrapper.js +3 -3
- package/dist/modules/relationships/transmission/requests/RelationshipCreationContentWrapper.js.map +1 -1
- package/dist/modules/relationships/transmission/responses/RelationshipCreationResponseContentCipher.d.ts +4 -3
- package/dist/modules/relationships/transmission/responses/RelationshipCreationResponseContentCipher.d.ts.map +1 -1
- package/dist/modules/relationships/transmission/responses/RelationshipCreationResponseContentCipher.js +6 -3
- package/dist/modules/relationships/transmission/responses/RelationshipCreationResponseContentCipher.js.map +1 -1
- package/dist/modules/relationships/transmission/responses/RelationshipCreationResponseContentSigned.d.ts +3 -3
- package/dist/modules/relationships/transmission/responses/RelationshipCreationResponseContentSigned.d.ts.map +1 -1
- package/dist/modules/relationships/transmission/responses/RelationshipCreationResponseContentSigned.js +1 -2
- package/dist/modules/relationships/transmission/responses/RelationshipCreationResponseContentSigned.js.map +1 -1
- package/dist/modules/relationships/transmission/responses/RelationshipCreationResponseContentWrapper.d.ts +4 -3
- package/dist/modules/relationships/transmission/responses/RelationshipCreationResponseContentWrapper.d.ts.map +1 -1
- package/dist/modules/relationships/transmission/responses/RelationshipCreationResponseContentWrapper.js +3 -3
- package/dist/modules/relationships/transmission/responses/RelationshipCreationResponseContentWrapper.js.map +1 -1
- package/dist/modules/secrets/SecretController.d.ts +1 -1
- package/dist/modules/secrets/SecretController.d.ts.map +1 -1
- package/dist/modules/secrets/SecretController.js +6 -5
- package/dist/modules/secrets/SecretController.js.map +1 -1
- package/dist/modules/secrets/data/SecretContainerCipher.d.ts +1 -1
- package/dist/modules/secrets/data/SecretContainerCipher.d.ts.map +1 -1
- package/dist/modules/secrets/data/SecretContainerCipher.js +4 -4
- package/dist/modules/secrets/data/SecretContainerCipher.js.map +1 -1
- package/dist/modules/secrets/data/SecretContainerPlain.d.ts +5 -5
- package/dist/modules/secrets/data/SecretContainerPlain.d.ts.map +1 -1
- package/dist/modules/secrets/data/SecretContainerPlain.js +6 -6
- package/dist/modules/secrets/data/SecretContainerPlain.js.map +1 -1
- package/dist/modules/sync/DatawalletModificationMapper.d.ts.map +1 -1
- package/dist/modules/sync/DatawalletModificationMapper.js +2 -1
- package/dist/modules/sync/DatawalletModificationMapper.js.map +1 -1
- package/dist/modules/sync/DatawalletModificationsProcessor.d.ts +1 -1
- package/dist/modules/sync/DatawalletModificationsProcessor.d.ts.map +1 -1
- package/dist/modules/sync/DatawalletModificationsProcessor.js +7 -5
- package/dist/modules/sync/DatawalletModificationsProcessor.js.map +1 -1
- package/dist/modules/sync/SyncController.d.ts +2 -1
- package/dist/modules/sync/SyncController.d.ts.map +1 -1
- package/dist/modules/sync/SyncController.js +12 -21
- package/dist/modules/sync/SyncController.js.map +1 -1
- package/dist/modules/sync/SynchronizedCollection.js +2 -2
- package/dist/modules/sync/SynchronizedCollection.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/MessageReceivedExternalEventProcessor.js +2 -2
- package/dist/modules/sync/externalEventProcessors/MessageReceivedExternalEventProcessor.js.map +1 -1
- package/dist/modules/sync/externalEventProcessors/PeerDeletedExternalEventProcessor.d.ts +7 -0
- package/dist/modules/sync/externalEventProcessors/PeerDeletedExternalEventProcessor.d.ts.map +1 -0
- package/dist/modules/sync/externalEventProcessors/PeerDeletedExternalEventProcessor.js +35 -0
- package/dist/modules/sync/externalEventProcessors/PeerDeletedExternalEventProcessor.js.map +1 -0
- package/dist/modules/sync/externalEventProcessors/PeerDeletionCancelledExternalEventProcessor.d.ts +7 -0
- package/dist/modules/sync/externalEventProcessors/PeerDeletionCancelledExternalEventProcessor.d.ts.map +1 -0
- package/dist/modules/sync/externalEventProcessors/PeerDeletionCancelledExternalEventProcessor.js +33 -0
- package/dist/modules/sync/externalEventProcessors/PeerDeletionCancelledExternalEventProcessor.js.map +1 -0
- package/dist/modules/sync/externalEventProcessors/PeerToBeDeletedExternalEventProcessor.d.ts +7 -0
- package/dist/modules/sync/externalEventProcessors/PeerToBeDeletedExternalEventProcessor.d.ts.map +1 -0
- package/dist/modules/sync/externalEventProcessors/PeerToBeDeletedExternalEventProcessor.js +35 -0
- package/dist/modules/sync/externalEventProcessors/PeerToBeDeletedExternalEventProcessor.js.map +1 -0
- package/dist/modules/sync/local/DatawalletModification.d.ts +4 -3
- package/dist/modules/sync/local/DatawalletModification.d.ts.map +1 -1
- package/dist/modules/sync/local/DatawalletModification.js +4 -4
- package/dist/modules/sync/local/DatawalletModification.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 +7 -6
- package/dist/modules/tokens/AnonymousTokenController.js.map +1 -1
- package/dist/modules/tokens/TokenController.d.ts +1 -1
- package/dist/modules/tokens/TokenController.d.ts.map +1 -1
- package/dist/modules/tokens/TokenController.js +14 -13
- package/dist/modules/tokens/TokenController.js.map +1 -1
- package/dist/modules/tokens/local/CachedToken.d.ts +3 -3
- package/dist/modules/tokens/local/CachedToken.d.ts.map +1 -1
- package/dist/modules/tokens/local/CachedToken.js +6 -6
- package/dist/modules/tokens/local/CachedToken.js.map +1 -1
- package/dist/modules/tokens/local/SendTokenParameters.d.ts +3 -3
- package/dist/modules/tokens/local/SendTokenParameters.d.ts.map +1 -1
- package/dist/modules/tokens/local/SendTokenParameters.js +3 -3
- package/dist/modules/tokens/local/SendTokenParameters.js.map +1 -1
- package/dist/modules/tokens/local/Token.d.ts +2 -1
- package/dist/modules/tokens/local/Token.d.ts.map +1 -1
- package/dist/modules/tokens/local/Token.js +5 -4
- package/dist/modules/tokens/local/Token.js.map +1 -1
- package/dist/modules/tokens/transmission/TokenContentDeviceSharedSecret.d.ts +3 -3
- package/dist/modules/tokens/transmission/TokenContentDeviceSharedSecret.d.ts.map +1 -1
- package/dist/modules/tokens/transmission/TokenContentDeviceSharedSecret.js +1 -2
- package/dist/modules/tokens/transmission/TokenContentDeviceSharedSecret.js.map +1 -1
- package/dist/modules/tokens/transmission/TokenContentFile.d.ts +4 -3
- package/dist/modules/tokens/transmission/TokenContentFile.d.ts.map +1 -1
- package/dist/modules/tokens/transmission/TokenContentFile.js +3 -3
- package/dist/modules/tokens/transmission/TokenContentFile.js.map +1 -1
- package/dist/modules/tokens/transmission/TokenContentRelationshipTemplate.d.ts +4 -3
- package/dist/modules/tokens/transmission/TokenContentRelationshipTemplate.d.ts.map +1 -1
- package/dist/modules/tokens/transmission/TokenContentRelationshipTemplate.js +3 -3
- package/dist/modules/tokens/transmission/TokenContentRelationshipTemplate.js.map +1 -1
- package/dist/util/PasswordGenerator.d.ts.map +1 -1
- package/dist/util/PasswordGenerator.js +1 -2
- package/dist/util/PasswordGenerator.js.map +1 -1
- package/dist/util/Random.d.ts.map +1 -1
- package/dist/util/Random.js +7 -8
- package/dist/util/Random.js.map +1 -1
- package/package.json +8 -8
- package/dist/core/CoreError.d.ts +0 -19
- package/dist/core/CoreError.d.ts.map +0 -1
- package/dist/core/CoreError.js +0 -63
- package/dist/core/CoreError.js.map +0 -1
- package/dist/core/CoreErrors.d.ts.map +0 -1
- package/dist/core/CoreErrors.js +0 -147
- package/dist/core/CoreErrors.js.map +0 -1
- package/dist/core/CoreSerializable.d.ts +0 -17
- package/dist/core/CoreSerializable.d.ts.map +0 -1
- package/dist/core/CoreSerializable.js +0 -37
- package/dist/core/CoreSerializable.js.map +0 -1
- package/dist/core/CoreSerializableAsync.d.ts +0 -17
- package/dist/core/CoreSerializableAsync.d.ts.map +0 -1
- package/dist/core/CoreSerializableAsync.js +0 -38
- package/dist/core/CoreSerializableAsync.js.map +0 -1
- package/dist/core/types/CoreAddress.d.ts +0 -16
- package/dist/core/types/CoreAddress.d.ts.map +0 -1
- package/dist/core/types/CoreAddress.js.map +0 -1
- package/dist/core/types/CoreDate.d.ts +0 -40
- package/dist/core/types/CoreDate.d.ts.map +0 -1
- package/dist/core/types/CoreDate.js +0 -152
- package/dist/core/types/CoreDate.js.map +0 -1
- package/dist/core/types/CoreId.d.ts +0 -17
- package/dist/core/types/CoreId.d.ts.map +0 -1
- package/dist/core/types/CoreId.js +0 -57
- package/dist/core/types/CoreId.js.map +0 -1
|
@@ -12,11 +12,13 @@ var Relationship_1;
|
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
13
|
exports.Relationship = void 0;
|
|
14
14
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
15
|
+
const core_types_1 = require("@nmshd/core-types");
|
|
15
16
|
const ts_simple_nameof_1 = require("ts-simple-nameof");
|
|
16
17
|
const core_1 = require("../../../core");
|
|
17
18
|
const Identity_1 = require("../../accounts/data/Identity");
|
|
18
19
|
const RelationshipStatus_1 = require("../transmission/RelationshipStatus");
|
|
19
20
|
const CachedRelationship_1 = require("./CachedRelationship");
|
|
21
|
+
const PeerDeletionInfo_1 = require("./PeerDeletionInfo");
|
|
20
22
|
const RelationshipAuditLog_1 = require("./RelationshipAuditLog");
|
|
21
23
|
let Relationship = Relationship_1 = class Relationship extends core_1.CoreSynchronizable {
|
|
22
24
|
constructor() {
|
|
@@ -26,7 +28,8 @@ let Relationship = Relationship_1 = class Relationship extends core_1.CoreSynchr
|
|
|
26
28
|
"@context",
|
|
27
29
|
(0, ts_simple_nameof_1.nameof)((r) => r.relationshipSecretId),
|
|
28
30
|
(0, ts_simple_nameof_1.nameof)((r) => r.peer),
|
|
29
|
-
(0, ts_simple_nameof_1.nameof)((r) => r.status)
|
|
31
|
+
(0, ts_simple_nameof_1.nameof)((r) => r.status),
|
|
32
|
+
(0, ts_simple_nameof_1.nameof)((r) => r.peerDeletionInfo)
|
|
30
33
|
];
|
|
31
34
|
this.metadataProperties = [(0, ts_simple_nameof_1.nameof)((r) => r.metadata), (0, ts_simple_nameof_1.nameof)((r) => r.metadataModifiedAt)];
|
|
32
35
|
}
|
|
@@ -45,12 +48,12 @@ let Relationship = Relationship_1 = class Relationship extends core_1.CoreSynchr
|
|
|
45
48
|
auditLog: RelationshipAuditLog_1.RelationshipAuditLog.fromBackboneAuditLog(response.auditLog)
|
|
46
49
|
});
|
|
47
50
|
return Relationship_1.from({
|
|
48
|
-
id:
|
|
51
|
+
id: core_types_1.CoreId.from(response.id),
|
|
49
52
|
relationshipSecretId: relationshipSecretId,
|
|
50
53
|
peer: peer,
|
|
51
54
|
status: RelationshipStatus_1.RelationshipStatus.Pending,
|
|
52
55
|
cache: cache,
|
|
53
|
-
cachedAt:
|
|
56
|
+
cachedAt: core_types_1.CoreDate.utc()
|
|
54
57
|
});
|
|
55
58
|
}
|
|
56
59
|
static from(value) {
|
|
@@ -58,12 +61,12 @@ let Relationship = Relationship_1 = class Relationship extends core_1.CoreSynchr
|
|
|
58
61
|
}
|
|
59
62
|
setCache(cache) {
|
|
60
63
|
this.cache = cache;
|
|
61
|
-
this.cachedAt =
|
|
64
|
+
this.cachedAt = core_types_1.CoreDate.utc();
|
|
62
65
|
return this;
|
|
63
66
|
}
|
|
64
67
|
setMetadata(metadata) {
|
|
65
68
|
this.metadata = metadata;
|
|
66
|
-
this.metadataModifiedAt =
|
|
69
|
+
this.metadataModifiedAt = core_types_1.CoreDate.utc();
|
|
67
70
|
return this;
|
|
68
71
|
}
|
|
69
72
|
newCacheEmptyError() {
|
|
@@ -74,13 +77,18 @@ exports.Relationship = Relationship;
|
|
|
74
77
|
__decorate([
|
|
75
78
|
(0, ts_serval_1.validate)(),
|
|
76
79
|
(0, ts_serval_1.serialize)(),
|
|
77
|
-
__metadata("design:type",
|
|
80
|
+
__metadata("design:type", core_types_1.CoreId)
|
|
78
81
|
], Relationship.prototype, "relationshipSecretId", void 0);
|
|
79
82
|
__decorate([
|
|
80
83
|
(0, ts_serval_1.validate)(),
|
|
81
84
|
(0, ts_serval_1.serialize)(),
|
|
82
85
|
__metadata("design:type", Identity_1.Identity)
|
|
83
86
|
], Relationship.prototype, "peer", void 0);
|
|
87
|
+
__decorate([
|
|
88
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
89
|
+
(0, ts_serval_1.serialize)(),
|
|
90
|
+
__metadata("design:type", PeerDeletionInfo_1.PeerDeletionInfo)
|
|
91
|
+
], Relationship.prototype, "peerDeletionInfo", void 0);
|
|
84
92
|
__decorate([
|
|
85
93
|
(0, ts_serval_1.validate)(),
|
|
86
94
|
(0, ts_serval_1.serialize)(),
|
|
@@ -94,7 +102,7 @@ __decorate([
|
|
|
94
102
|
__decorate([
|
|
95
103
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
96
104
|
(0, ts_serval_1.serialize)(),
|
|
97
|
-
__metadata("design:type",
|
|
105
|
+
__metadata("design:type", core_types_1.CoreDate)
|
|
98
106
|
], Relationship.prototype, "cachedAt", void 0);
|
|
99
107
|
__decorate([
|
|
100
108
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
@@ -104,7 +112,7 @@ __decorate([
|
|
|
104
112
|
__decorate([
|
|
105
113
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
106
114
|
(0, ts_serval_1.serialize)(),
|
|
107
|
-
__metadata("design:type",
|
|
115
|
+
__metadata("design:type", core_types_1.CoreDate)
|
|
108
116
|
], Relationship.prototype, "metadataModifiedAt", void 0);
|
|
109
117
|
exports.Relationship = Relationship = Relationship_1 = __decorate([
|
|
110
118
|
(0, ts_serval_1.type)("Relationship")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Relationship.js","sourceRoot":"","sources":["../../../../src/modules/relationships/local/Relationship.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,kDAA8E;AAC9E,uDAA0C;AAC1C,
|
|
1
|
+
{"version":3,"file":"Relationship.js","sourceRoot":"","sources":["../../../../src/modules/relationships/local/Relationship.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,kDAA8E;AAC9E,kDAA8D;AAC9D,uDAA0C;AAC1C,wCAAwF;AACxF,2DAAmE;AAGnE,2EAAwE;AACxE,6DAA+E;AAC/E,yDAAyE;AACzE,iEAA8D;AAgBvD,IAAM,YAAY,oBAAlB,MAAM,YAAa,SAAQ,yBAAkB;IAA7C;;QACsB,wBAAmB,GAAG;YAC3C,OAAO;YACP,UAAU;YACV,IAAA,yBAAM,EAAe,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,oBAAoB,CAAC;YACnD,IAAA,yBAAM,EAAe,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;YACnC,IAAA,yBAAM,EAAe,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC;YACrC,IAAA,yBAAM,EAAe,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,gBAAgB,CAAC;SAClD,CAAC;QAEuB,uBAAkB,GAAG,CAAC,IAAA,yBAAM,EAAe,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,IAAA,yBAAM,EAAe,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC;IAsF/I,CAAC;IApDmB,MAAM,CAAC,OAA6B,EAAE,iBAAuC;QACzF,MAAM,IAAI,GAAG,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAQ,CAAC;QAE7D,gFAAgF;QAChF,wFAAwF;QACxF,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC;QAChD,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,KAAK,EAAE,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,CAAC;QAErD,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,MAAM,CAAC,8BAA8B,CACxC,QAAyC,EACzC,QAA+B,EAC/B,IAAe,EACf,eAA8B,EAC9B,oBAA4B;QAE5B,MAAM,KAAK,GAAG,uCAAkB,CAAC,IAAI,CAAC;YAClC,eAAe;YACf,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,2CAAoB,CAAC,oBAAoB,CAAC,QAAQ,CAAC,QAAQ,CAAC;SACzE,CAAC,CAAC;QACH,OAAO,cAAY,CAAC,IAAI,CAAC;YACrB,EAAE,EAAE,mBAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC;YAC5B,oBAAoB,EAAE,oBAAoB;YAC1C,IAAI,EAAE,IAAI;YACV,MAAM,EAAE,uCAAkB,CAAC,OAAO;YAClC,KAAK,EAAE,KAAK;YACZ,QAAQ,EAAE,qBAAQ,CAAC,GAAG,EAAE;SAC3B,CAAC,CAAC;IACP,CAAC;IAEM,MAAM,CAAC,IAAI,CAAC,KAAoB;QACnC,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;IAEM,QAAQ,CAAC,KAAyB;QACrC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,QAAQ,GAAG,qBAAQ,CAAC,GAAG,EAAE,CAAC;QAC/B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,WAAW,CAAC,QAAa;QAC5B,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,kBAAkB,GAAG,qBAAQ,CAAC,GAAG,EAAE,CAAC;QACzC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEO,kBAAkB;QACtB,OAAO,IAAI,qBAAc,CAAC,0CAA0C,IAAI,CAAC,EAAE,aAAa,CAAC,CAAC;IAC9F,CAAC;CACJ,CAAA;AAhGY,oCAAY;AAcd;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACiB,mBAAM;0DAAC;AAI7B;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACC,mBAAQ;0CAAC;AAIf;IAFN,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC5B,IAAA,qBAAS,GAAE;8BACc,mCAAgB;sDAAC;AAIpC;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;;4CACsB;AAI3B;IAFN,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC5B,IAAA,qBAAS,GAAE;8BACG,uCAAkB;2CAAC;AAI3B;IAFN,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC5B,IAAA,qBAAS,GAAE;8BACM,qBAAQ;8CAAC;AAIpB;IAFN,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC5B,IAAA,qBAAS,GAAE;;8CACU;AAIf;IAFN,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC5B,IAAA,qBAAS,GAAE;8BACgB,qBAAQ;wDAAC;uBA1C5B,YAAY;IADxB,IAAA,gBAAI,EAAC,cAAc,CAAC;GACR,YAAY,CAgGxB"}
|
|
@@ -4,16 +4,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.RelationshipAuditLog = void 0;
|
|
7
|
+
const core_types_1 = require("@nmshd/core-types");
|
|
7
8
|
const lodash_1 = __importDefault(require("lodash"));
|
|
8
|
-
const core_1 = require("../../../core");
|
|
9
9
|
const RelationshipAuditLogEntry_1 = require("./RelationshipAuditLogEntry");
|
|
10
10
|
class RelationshipAuditLog {
|
|
11
11
|
static fromBackboneAuditLog(backboneAuditLog) {
|
|
12
12
|
const auditLog = backboneAuditLog.map((entry) => {
|
|
13
13
|
return RelationshipAuditLogEntry_1.RelationshipAuditLogEntry.from({
|
|
14
|
-
createdAt:
|
|
15
|
-
createdBy:
|
|
16
|
-
createdByDevice:
|
|
14
|
+
createdAt: core_types_1.CoreDate.from(entry.createdAt),
|
|
15
|
+
createdBy: core_types_1.CoreAddress.from(entry.createdBy),
|
|
16
|
+
createdByDevice: core_types_1.CoreId.from(entry.createdByDevice),
|
|
17
17
|
reason: entry.reason,
|
|
18
18
|
oldStatus: entry.oldStatus,
|
|
19
19
|
newStatus: entry.newStatus
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RelationshipAuditLog.js","sourceRoot":"","sources":["../../../../src/modules/relationships/local/RelationshipAuditLog.ts"],"names":[],"mappings":";;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"RelationshipAuditLog.js","sourceRoot":"","sources":["../../../../src/modules/relationships/local/RelationshipAuditLog.ts"],"names":[],"mappings":";;;;;;AAAA,kDAAkE;AAClE,oDAAuB;AAEvB,2EAAwE;AAExE,MAAa,oBAAoB;IACtB,MAAM,CAAC,oBAAoB,CAAC,gBAAkC;QACjE,MAAM,QAAQ,GAAG,gBAAgB,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE;YAC5C,OAAO,qDAAyB,CAAC,IAAI,CAAC;gBAClC,SAAS,EAAE,qBAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC;gBACzC,SAAS,EAAE,wBAAW,CAAC,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC;gBAC5C,eAAe,EAAE,mBAAM,CAAC,IAAI,CAAC,KAAK,CAAC,eAAe,CAAC;gBACnD,MAAM,EAAE,KAAK,CAAC,MAAM;gBACpB,SAAS,EAAE,KAAK,CAAC,SAAS;gBAC1B,SAAS,EAAE,KAAK,CAAC,SAAS;aAC7B,CAAC,CAAC;QACP,CAAC,CAAC,CAAC;QAEH,OAAO,gBAAC,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,WAAW,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;IACvD,CAAC;CACJ;AAfD,oDAeC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ISerializable, Serializable } from "@js-soft/ts-serval";
|
|
2
|
+
import { CoreAddress, CoreDate, CoreId, ICoreAddress, ICoreDate, ICoreId } from "@nmshd/core-types";
|
|
2
3
|
import { RelationshipAuditLogEntryReason } from "../transmission/RelationshipAuditLog";
|
|
3
4
|
import { RelationshipStatus } from "../transmission/RelationshipStatus";
|
|
4
|
-
export interface IRelationshipAuditLogEntry {
|
|
5
|
+
export interface IRelationshipAuditLogEntry extends ISerializable {
|
|
5
6
|
createdAt: ICoreDate;
|
|
6
7
|
createdBy: ICoreAddress;
|
|
7
8
|
createdByDevice: ICoreId;
|
|
@@ -9,7 +10,7 @@ export interface IRelationshipAuditLogEntry {
|
|
|
9
10
|
oldStatus?: RelationshipStatus;
|
|
10
11
|
newStatus: RelationshipStatus;
|
|
11
12
|
}
|
|
12
|
-
export declare class RelationshipAuditLogEntry extends
|
|
13
|
+
export declare class RelationshipAuditLogEntry extends Serializable implements IRelationshipAuditLogEntry {
|
|
13
14
|
createdAt: CoreDate;
|
|
14
15
|
createdBy: CoreAddress;
|
|
15
16
|
createdByDevice: CoreId;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RelationshipAuditLogEntry.d.ts","sourceRoot":"","sources":["../../../../src/modules/relationships/local/RelationshipAuditLogEntry.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RelationshipAuditLogEntry.d.ts","sourceRoot":"","sources":["../../../../src/modules/relationships/local/RelationshipAuditLogEntry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,YAAY,EAA6B,MAAM,oBAAoB,CAAC;AAC5F,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,EAAE,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACpG,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AACvF,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAExE,MAAM,WAAW,0BAA2B,SAAQ,aAAa;IAC7D,SAAS,EAAE,SAAS,CAAC;IACrB,SAAS,EAAE,YAAY,CAAC;IACxB,eAAe,EAAE,OAAO,CAAC;IACzB,MAAM,EAAE,+BAA+B,CAAC;IACxC,SAAS,CAAC,EAAE,kBAAkB,CAAC;IAC/B,SAAS,EAAE,kBAAkB,CAAC;CACjC;AAED,qBACa,yBAA0B,SAAQ,YAAa,YAAW,0BAA0B;IAGtF,SAAS,EAAE,QAAQ,CAAC;IAIpB,SAAS,EAAE,WAAW,CAAC;IAIvB,eAAe,EAAE,MAAM,CAAC;IAMxB,MAAM,EAAE,+BAA+B,CAAC;IAOxC,SAAS,CAAC,EAAE,kBAAkB,CAAC;IAM/B,SAAS,EAAE,kBAAkB,CAAC;WAEvB,IAAI,CAAC,KAAK,EAAE,0BAA0B,GAAG,yBAAyB;CAGnF"}
|
|
@@ -11,10 +11,10 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.RelationshipAuditLogEntry = void 0;
|
|
13
13
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
-
const
|
|
14
|
+
const core_types_1 = require("@nmshd/core-types");
|
|
15
15
|
const RelationshipAuditLog_1 = require("../transmission/RelationshipAuditLog");
|
|
16
16
|
const RelationshipStatus_1 = require("../transmission/RelationshipStatus");
|
|
17
|
-
let RelationshipAuditLogEntry = class RelationshipAuditLogEntry extends
|
|
17
|
+
let RelationshipAuditLogEntry = class RelationshipAuditLogEntry extends ts_serval_1.Serializable {
|
|
18
18
|
static from(value) {
|
|
19
19
|
return this.fromAny({ ...value, oldStatus: value.oldStatus ?? undefined });
|
|
20
20
|
}
|
|
@@ -23,17 +23,17 @@ exports.RelationshipAuditLogEntry = RelationshipAuditLogEntry;
|
|
|
23
23
|
__decorate([
|
|
24
24
|
(0, ts_serval_1.validate)(),
|
|
25
25
|
(0, ts_serval_1.serialize)(),
|
|
26
|
-
__metadata("design:type",
|
|
26
|
+
__metadata("design:type", core_types_1.CoreDate)
|
|
27
27
|
], RelationshipAuditLogEntry.prototype, "createdAt", void 0);
|
|
28
28
|
__decorate([
|
|
29
29
|
(0, ts_serval_1.validate)(),
|
|
30
30
|
(0, ts_serval_1.serialize)(),
|
|
31
|
-
__metadata("design:type",
|
|
31
|
+
__metadata("design:type", core_types_1.CoreAddress)
|
|
32
32
|
], RelationshipAuditLogEntry.prototype, "createdBy", void 0);
|
|
33
33
|
__decorate([
|
|
34
34
|
(0, ts_serval_1.validate)(),
|
|
35
35
|
(0, ts_serval_1.serialize)(),
|
|
36
|
-
__metadata("design:type",
|
|
36
|
+
__metadata("design:type", core_types_1.CoreId)
|
|
37
37
|
], RelationshipAuditLogEntry.prototype, "createdByDevice", void 0);
|
|
38
38
|
__decorate([
|
|
39
39
|
(0, ts_serval_1.validate)({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RelationshipAuditLogEntry.js","sourceRoot":"","sources":["../../../../src/modules/relationships/local/RelationshipAuditLogEntry.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"RelationshipAuditLogEntry.js","sourceRoot":"","sources":["../../../../src/modules/relationships/local/RelationshipAuditLogEntry.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA4F;AAC5F,kDAAoG;AACpG,+EAAuF;AACvF,2EAAwE;AAYjE,IAAM,yBAAyB,GAA/B,MAAM,yBAA0B,SAAQ,wBAAY;IAgChD,MAAM,CAAC,IAAI,CAAC,KAAiC;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,EAAE,GAAG,KAAK,EAAE,SAAS,EAAE,KAAK,CAAC,SAAS,IAAI,SAAS,EAAE,CAAC,CAAC;IAC/E,CAAC;CACJ,CAAA;AAnCY,8DAAyB;AAG3B;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACM,qBAAQ;4DAAC;AAIpB;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACM,wBAAW;4DAAC;AAIvB;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACY,mBAAM;kEAAC;AAMxB;IAJN,IAAA,oBAAQ,EAAC;QACN,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,sDAA+B,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,mBAAmB,MAAM,CAAC,MAAM,CAAC,sDAA+B,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;KAC1K,CAAC;IACD,IAAA,qBAAS,GAAE;;yDACmC;AAOxC;IALN,IAAA,oBAAQ,EAAC;QACN,QAAQ,EAAE,IAAI;QACd,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,uCAAkB,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,mBAAmB,MAAM,CAAC,MAAM,CAAC,uCAAkB,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;KAChJ,CAAC;IACD,IAAA,qBAAS,GAAE;;4DAC0B;AAM/B;IAJN,IAAA,oBAAQ,EAAC;QACN,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,uCAAkB,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,mBAAmB,MAAM,CAAC,MAAM,CAAC,uCAAkB,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;KAChJ,CAAC;IACD,IAAA,qBAAS,GAAE;;4DACyB;oCA9B5B,yBAAyB;IADrC,IAAA,gBAAI,EAAC,2BAA2B,CAAC;GACrB,yBAAyB,CAmCrC"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { ISerializable, Serializable } from "@js-soft/ts-serval";
|
|
2
|
-
import { CoreSerializable, ICoreSerializable } from "../../../core";
|
|
3
2
|
import { IRelationshipTemplate, RelationshipTemplate } from "../../relationshipTemplates/local/RelationshipTemplate";
|
|
4
|
-
export interface ISendRelationshipParameters extends
|
|
3
|
+
export interface ISendRelationshipParameters extends ISerializable {
|
|
5
4
|
creationContent: ISerializable;
|
|
6
5
|
template: IRelationshipTemplate;
|
|
7
6
|
}
|
|
8
|
-
export declare class SendRelationshipParameters extends
|
|
7
|
+
export declare class SendRelationshipParameters extends Serializable implements ISendRelationshipParameters {
|
|
9
8
|
creationContent: Serializable;
|
|
10
9
|
template: RelationshipTemplate;
|
|
11
10
|
static from(value: ISendRelationshipParameters): SendRelationshipParameters;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SendRelationshipParameters.d.ts","sourceRoot":"","sources":["../../../../src/modules/relationships/local/SendRelationshipParameters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,YAAY,EAA6B,MAAM,oBAAoB,CAAC;AAC5F,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"SendRelationshipParameters.d.ts","sourceRoot":"","sources":["../../../../src/modules/relationships/local/SendRelationshipParameters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,YAAY,EAA6B,MAAM,oBAAoB,CAAC;AAC5F,OAAO,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,wDAAwD,CAAC;AAErH,MAAM,WAAW,2BAA4B,SAAQ,aAAa;IAC9D,eAAe,EAAE,aAAa,CAAC;IAC/B,QAAQ,EAAE,qBAAqB,CAAC;CACnC;AAED,qBACa,0BAA2B,SAAQ,YAAa,YAAW,2BAA2B;IAGxF,eAAe,EAAE,YAAY,CAAC;IAI9B,QAAQ,EAAE,oBAAoB,CAAC;WAExB,IAAI,CAAC,KAAK,EAAE,2BAA2B,GAAG,0BAA0B;CAGrF"}
|
|
@@ -11,9 +11,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.SendRelationshipParameters = void 0;
|
|
13
13
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
-
const core_1 = require("../../../core");
|
|
15
14
|
const RelationshipTemplate_1 = require("../../relationshipTemplates/local/RelationshipTemplate");
|
|
16
|
-
let SendRelationshipParameters = class SendRelationshipParameters extends
|
|
15
|
+
let SendRelationshipParameters = class SendRelationshipParameters extends ts_serval_1.Serializable {
|
|
17
16
|
static from(value) {
|
|
18
17
|
return this.fromAny(value);
|
|
19
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SendRelationshipParameters.js","sourceRoot":"","sources":["../../../../src/modules/relationships/local/SendRelationshipParameters.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA4F;AAC5F,
|
|
1
|
+
{"version":3,"file":"SendRelationshipParameters.js","sourceRoot":"","sources":["../../../../src/modules/relationships/local/SendRelationshipParameters.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA4F;AAC5F,iGAAqH;AAQ9G,IAAM,0BAA0B,GAAhC,MAAM,0BAA2B,SAAQ,wBAAY;IASjD,MAAM,CAAC,IAAI,CAAC,KAAkC;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;CACJ,CAAA;AAZY,gEAA0B;AAG5B;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACY,wBAAY;mEAAC;AAI9B;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACK,2CAAoB;4DAAC;qCAP7B,0BAA0B;IADtC,IAAA,gBAAI,EAAC,4BAA4B,CAAC;GACtB,0BAA0B,CAYtC"}
|
package/dist/modules/relationships/transmission/requests/RelationshipCreationContentCipher.d.ts
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
|
+
import { ISerializable, Serializable } from "@js-soft/ts-serval";
|
|
1
2
|
import { CryptoCipher, CryptoRelationshipPublicRequest, ICryptoCipher, ICryptoRelationshipPublicRequest } from "@nmshd/crypto";
|
|
2
|
-
|
|
3
|
-
export interface IRelationshipCreationContentCipher extends ICoreSerializable {
|
|
3
|
+
export interface IRelationshipCreationContentCipher extends ISerializable {
|
|
4
4
|
cipher: ICryptoCipher;
|
|
5
5
|
publicCreationContentCrypto: ICryptoRelationshipPublicRequest;
|
|
6
6
|
}
|
|
7
|
-
export declare class RelationshipCreationContentCipher extends
|
|
7
|
+
export declare class RelationshipCreationContentCipher extends Serializable implements IRelationshipCreationContentCipher {
|
|
8
8
|
cipher: CryptoCipher;
|
|
9
9
|
publicCreationContentCrypto: CryptoRelationshipPublicRequest;
|
|
10
10
|
static from(value: IRelationshipCreationContentCipher): RelationshipCreationContentCipher;
|
|
11
11
|
static fromBase64(value: string): RelationshipCreationContentCipher;
|
|
12
|
+
toBase64(): string;
|
|
13
|
+
static fromBase64Unknown(value: string): Serializable;
|
|
12
14
|
}
|
|
13
15
|
//# sourceMappingURL=RelationshipCreationContentCipher.d.ts.map
|
package/dist/modules/relationships/transmission/requests/RelationshipCreationContentCipher.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RelationshipCreationContentCipher.d.ts","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/requests/RelationshipCreationContentCipher.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RelationshipCreationContentCipher.d.ts","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/requests/RelationshipCreationContentCipher.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,YAAY,EAA6B,MAAM,oBAAoB,CAAC;AAC5F,OAAO,EAAc,YAAY,EAAE,+BAA+B,EAAE,aAAa,EAAE,gCAAgC,EAAE,MAAM,eAAe,CAAC;AAE3I,MAAM,WAAW,kCAAmC,SAAQ,aAAa;IACrE,MAAM,EAAE,aAAa,CAAC;IACtB,2BAA2B,EAAE,gCAAgC,CAAC;CACjE;AAED,qBACa,iCAAkC,SAAQ,YAAa,YAAW,kCAAkC;IAGtG,MAAM,EAAE,YAAY,CAAC;IAIrB,2BAA2B,EAAE,+BAA+B,CAAC;WAEtD,IAAI,CAAC,KAAK,EAAE,kCAAkC,GAAG,iCAAiC;WAIlF,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,iCAAiC;IAKnE,QAAQ,IAAI,MAAM;WAIX,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,YAAY;CAI/D"}
|
package/dist/modules/relationships/transmission/requests/RelationshipCreationContentCipher.js
CHANGED
|
@@ -12,13 +12,20 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.RelationshipCreationContentCipher = void 0;
|
|
13
13
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
14
|
const crypto_1 = require("@nmshd/crypto");
|
|
15
|
-
|
|
16
|
-
let RelationshipCreationContentCipher = class RelationshipCreationContentCipher extends core_1.CoreSerializable {
|
|
15
|
+
let RelationshipCreationContentCipher = class RelationshipCreationContentCipher extends ts_serval_1.Serializable {
|
|
17
16
|
static from(value) {
|
|
18
17
|
return this.fromAny(value);
|
|
19
18
|
}
|
|
20
19
|
static fromBase64(value) {
|
|
21
|
-
|
|
20
|
+
const serialized = crypto_1.CoreBuffer.fromBase64URL(value).toUtf8();
|
|
21
|
+
return this.deserialize(serialized);
|
|
22
|
+
}
|
|
23
|
+
toBase64() {
|
|
24
|
+
return crypto_1.CoreBuffer.fromUtf8(this.serialize()).toBase64URL();
|
|
25
|
+
}
|
|
26
|
+
static fromBase64Unknown(value) {
|
|
27
|
+
const serialized = crypto_1.CoreBuffer.fromBase64URL(value).toUtf8();
|
|
28
|
+
return ts_serval_1.Serializable.deserializeUnknown(serialized);
|
|
22
29
|
}
|
|
23
30
|
};
|
|
24
31
|
exports.RelationshipCreationContentCipher = RelationshipCreationContentCipher;
|
package/dist/modules/relationships/transmission/requests/RelationshipCreationContentCipher.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RelationshipCreationContentCipher.js","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/requests/RelationshipCreationContentCipher.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"RelationshipCreationContentCipher.js","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/requests/RelationshipCreationContentCipher.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA4F;AAC5F,0CAA2I;AAQpI,IAAM,iCAAiC,GAAvC,MAAM,iCAAkC,SAAQ,wBAAY;IASxD,MAAM,CAAC,IAAI,CAAC,KAAyC;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;IAEM,MAAM,CAAC,UAAU,CAAC,KAAa;QAClC,MAAM,UAAU,GAAG,mBAAU,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,MAAM,EAAE,CAAC;QAC5D,OAAQ,IAAY,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;IACjD,CAAC;IAEM,QAAQ;QACX,OAAO,mBAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC,WAAW,EAAE,CAAC;IAC/D,CAAC;IAEM,MAAM,CAAC,iBAAiB,CAAC,KAAa;QACzC,MAAM,UAAU,GAAG,mBAAU,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,MAAM,EAAE,CAAC;QAC5D,OAAO,wBAAY,CAAC,kBAAkB,CAAC,UAAU,CAAC,CAAC;IACvD,CAAC;CACJ,CAAA;AA1BY,8EAAiC;AAGnC;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACG,qBAAY;iEAAC;AAIrB;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACwB,wCAA+B;sFAAC;4CAP3D,iCAAiC;IAD7C,IAAA,gBAAI,EAAC,mCAAmC,CAAC;GAC7B,iCAAiC,CA0B7C"}
|
package/dist/modules/relationships/transmission/requests/RelationshipCreationContentSigned.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import { ISerializable, Serializable } from "@js-soft/ts-serval";
|
|
1
2
|
import { CryptoSignature, ICryptoSignature } from "@nmshd/crypto";
|
|
2
|
-
|
|
3
|
-
export interface IRelationshipCreationContentSigned extends ICoreSerializable {
|
|
3
|
+
export interface IRelationshipCreationContentSigned extends ISerializable {
|
|
4
4
|
serializedCreationContent: string;
|
|
5
5
|
deviceSignature: ICryptoSignature;
|
|
6
6
|
relationshipSignature: ICryptoSignature;
|
|
7
7
|
}
|
|
8
|
-
export declare class RelationshipCreationContentSigned extends
|
|
8
|
+
export declare class RelationshipCreationContentSigned extends Serializable implements IRelationshipCreationContentSigned {
|
|
9
9
|
serializedCreationContent: string;
|
|
10
10
|
deviceSignature: CryptoSignature;
|
|
11
11
|
relationshipSignature: CryptoSignature;
|
package/dist/modules/relationships/transmission/requests/RelationshipCreationContentSigned.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RelationshipCreationContentSigned.d.ts","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/requests/RelationshipCreationContentSigned.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RelationshipCreationContentSigned.d.ts","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/requests/RelationshipCreationContentSigned.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,YAAY,EAA6B,MAAM,oBAAoB,CAAC;AAC5F,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAElE,MAAM,WAAW,kCAAmC,SAAQ,aAAa;IACrE,yBAAyB,EAAE,MAAM,CAAC;IAClC,eAAe,EAAE,gBAAgB,CAAC;IAClC,qBAAqB,EAAE,gBAAgB,CAAC;CAC3C;AAED,qBACa,iCAAkC,SAAQ,YAAa,YAAW,kCAAkC;IAGtG,yBAAyB,EAAE,MAAM,CAAC;IAIlC,eAAe,EAAE,eAAe,CAAC;IAIjC,qBAAqB,EAAE,eAAe,CAAC;WAEhC,IAAI,CAAC,KAAK,EAAE,kCAAkC,GAAG,iCAAiC;CAGnG"}
|
package/dist/modules/relationships/transmission/requests/RelationshipCreationContentSigned.js
CHANGED
|
@@ -12,8 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.RelationshipCreationContentSigned = void 0;
|
|
13
13
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
14
|
const crypto_1 = require("@nmshd/crypto");
|
|
15
|
-
|
|
16
|
-
let RelationshipCreationContentSigned = class RelationshipCreationContentSigned extends core_1.CoreSerializable {
|
|
15
|
+
let RelationshipCreationContentSigned = class RelationshipCreationContentSigned extends ts_serval_1.Serializable {
|
|
17
16
|
static from(value) {
|
|
18
17
|
return this.fromAny(value);
|
|
19
18
|
}
|
package/dist/modules/relationships/transmission/requests/RelationshipCreationContentSigned.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RelationshipCreationContentSigned.js","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/requests/RelationshipCreationContentSigned.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"RelationshipCreationContentSigned.js","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/requests/RelationshipCreationContentSigned.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA4F;AAC5F,0CAAkE;AAS3D,IAAM,iCAAiC,GAAvC,MAAM,iCAAkC,SAAQ,wBAAY;IAaxD,MAAM,CAAC,IAAI,CAAC,KAAyC;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;CACJ,CAAA;AAhBY,8EAAiC;AAGnC;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;;oFAC6B;AAIlC;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACY,wBAAe;0EAAC;AAIjC;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACkB,wBAAe;gFAAC;4CAXrC,iCAAiC;IAD7C,IAAA,gBAAI,EAAC,mCAAmC,CAAC;GAC7B,iCAAiC,CAgB7C"}
|
package/dist/modules/relationships/transmission/requests/RelationshipCreationContentWrapper.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ISerializable, Serializable } from "@js-soft/ts-serval";
|
|
2
|
-
import { CoreId,
|
|
2
|
+
import { CoreId, ICoreId } from "@nmshd/core-types";
|
|
3
3
|
import { Identity, IIdentity } from "../../../accounts/data/Identity";
|
|
4
|
-
export interface IRelationshipCreationContentWrapper extends
|
|
4
|
+
export interface IRelationshipCreationContentWrapper extends ISerializable {
|
|
5
5
|
identity: IIdentity;
|
|
6
6
|
content: ISerializable;
|
|
7
7
|
templateId: ICoreId;
|
|
8
8
|
}
|
|
9
|
-
export declare class RelationshipCreationContentWrapper extends
|
|
9
|
+
export declare class RelationshipCreationContentWrapper extends Serializable implements IRelationshipCreationContentWrapper {
|
|
10
10
|
identity: Identity;
|
|
11
11
|
content: Serializable;
|
|
12
12
|
templateId: CoreId;
|
package/dist/modules/relationships/transmission/requests/RelationshipCreationContentWrapper.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RelationshipCreationContentWrapper.d.ts","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/requests/RelationshipCreationContentWrapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,YAAY,EAA6B,MAAM,oBAAoB,CAAC;AAC5F,OAAO,EAAE,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"RelationshipCreationContentWrapper.d.ts","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/requests/RelationshipCreationContentWrapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,YAAY,EAA6B,MAAM,oBAAoB,CAAC;AAC5F,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAEtE,MAAM,WAAW,mCAAoC,SAAQ,aAAa;IACtE,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,EAAE,aAAa,CAAC;IACvB,UAAU,EAAE,OAAO,CAAC;CACvB;AAED,qBACa,kCAAmC,SAAQ,YAAa,YAAW,mCAAmC;IAGxG,QAAQ,EAAE,QAAQ,CAAC;IAInB,OAAO,EAAE,YAAY,CAAC;IAItB,UAAU,EAAE,MAAM,CAAC;WAEZ,IAAI,CAAC,KAAK,EAAE,mCAAmC,GAAG,kCAAkC;CAGrG"}
|
package/dist/modules/relationships/transmission/requests/RelationshipCreationContentWrapper.js
CHANGED
|
@@ -11,9 +11,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.RelationshipCreationContentWrapper = void 0;
|
|
13
13
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
-
const
|
|
14
|
+
const core_types_1 = require("@nmshd/core-types");
|
|
15
15
|
const Identity_1 = require("../../../accounts/data/Identity");
|
|
16
|
-
let RelationshipCreationContentWrapper = class RelationshipCreationContentWrapper extends
|
|
16
|
+
let RelationshipCreationContentWrapper = class RelationshipCreationContentWrapper extends ts_serval_1.Serializable {
|
|
17
17
|
static from(value) {
|
|
18
18
|
return this.fromAny(value);
|
|
19
19
|
}
|
|
@@ -32,7 +32,7 @@ __decorate([
|
|
|
32
32
|
__decorate([
|
|
33
33
|
(0, ts_serval_1.validate)(),
|
|
34
34
|
(0, ts_serval_1.serialize)(),
|
|
35
|
-
__metadata("design:type",
|
|
35
|
+
__metadata("design:type", core_types_1.CoreId)
|
|
36
36
|
], RelationshipCreationContentWrapper.prototype, "templateId", void 0);
|
|
37
37
|
exports.RelationshipCreationContentWrapper = RelationshipCreationContentWrapper = __decorate([
|
|
38
38
|
(0, ts_serval_1.type)("RelationshipCreationContentWrapper")
|
package/dist/modules/relationships/transmission/requests/RelationshipCreationContentWrapper.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RelationshipCreationContentWrapper.js","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/requests/RelationshipCreationContentWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA4F;AAC5F,
|
|
1
|
+
{"version":3,"file":"RelationshipCreationContentWrapper.js","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/requests/RelationshipCreationContentWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA4F;AAC5F,kDAAoD;AACpD,8DAAsE;AAS/D,IAAM,kCAAkC,GAAxC,MAAM,kCAAmC,SAAQ,wBAAY;IAazD,MAAM,CAAC,IAAI,CAAC,KAA0C;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;CACJ,CAAA;AAhBY,gFAAkC;AAGpC;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACK,mBAAQ;oEAAC;AAInB;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACI,wBAAY;mEAAC;AAItB;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACO,mBAAM;sEAAC;6CAXjB,kCAAkC;IAD9C,IAAA,gBAAI,EAAC,oCAAoC,CAAC;GAC9B,kCAAkC,CAgB9C"}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
+
import { ISerializable, Serializable } from "@js-soft/ts-serval";
|
|
1
2
|
import { CryptoCipher, CryptoRelationshipPublicResponse, ICryptoCipher, ICryptoRelationshipPublicResponse } from "@nmshd/crypto";
|
|
2
|
-
|
|
3
|
-
export interface IRelationshipCreationResponseContentCipher extends ICoreSerializable {
|
|
3
|
+
export interface IRelationshipCreationResponseContentCipher extends ISerializable {
|
|
4
4
|
cipher: ICryptoCipher;
|
|
5
5
|
publicCreationResponseContentCrypto: ICryptoRelationshipPublicResponse;
|
|
6
6
|
}
|
|
7
|
-
export declare class RelationshipCreationResponseContentCipher extends
|
|
7
|
+
export declare class RelationshipCreationResponseContentCipher extends Serializable implements IRelationshipCreationResponseContentCipher {
|
|
8
8
|
cipher: CryptoCipher;
|
|
9
9
|
publicCreationResponseContentCrypto: CryptoRelationshipPublicResponse;
|
|
10
10
|
static from(value: IRelationshipCreationResponseContentCipher): RelationshipCreationResponseContentCipher;
|
|
11
|
+
toBase64(): string;
|
|
11
12
|
static fromBase64(value: string): RelationshipCreationResponseContentCipher;
|
|
12
13
|
}
|
|
13
14
|
//# sourceMappingURL=RelationshipCreationResponseContentCipher.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RelationshipCreationResponseContentCipher.d.ts","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/responses/RelationshipCreationResponseContentCipher.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RelationshipCreationResponseContentCipher.d.ts","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/responses/RelationshipCreationResponseContentCipher.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,YAAY,EAA6B,MAAM,oBAAoB,CAAC;AAC5F,OAAO,EAAc,YAAY,EAAE,gCAAgC,EAAE,aAAa,EAAE,iCAAiC,EAAE,MAAM,eAAe,CAAC;AAE7I,MAAM,WAAW,0CAA2C,SAAQ,aAAa;IAC7E,MAAM,EAAE,aAAa,CAAC;IACtB,mCAAmC,EAAE,iCAAiC,CAAC;CAC1E;AAED,qBACa,yCAA0C,SAAQ,YAAa,YAAW,0CAA0C;IAGtH,MAAM,EAAE,YAAY,CAAC;IAIrB,mCAAmC,EAAE,gCAAgC,CAAC;WAE/D,IAAI,CAAC,KAAK,EAAE,0CAA0C,GAAG,yCAAyC;IAIzG,QAAQ,IAAI,MAAM;WAIX,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,yCAAyC;CAIrF"}
|
|
@@ -12,13 +12,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.RelationshipCreationResponseContentCipher = void 0;
|
|
13
13
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
14
|
const crypto_1 = require("@nmshd/crypto");
|
|
15
|
-
|
|
16
|
-
let RelationshipCreationResponseContentCipher = class RelationshipCreationResponseContentCipher extends core_1.CoreSerializable {
|
|
15
|
+
let RelationshipCreationResponseContentCipher = class RelationshipCreationResponseContentCipher extends ts_serval_1.Serializable {
|
|
17
16
|
static from(value) {
|
|
18
17
|
return this.fromAny(value);
|
|
19
18
|
}
|
|
19
|
+
toBase64() {
|
|
20
|
+
return crypto_1.CoreBuffer.fromUtf8(this.serialize()).toBase64URL();
|
|
21
|
+
}
|
|
20
22
|
static fromBase64(value) {
|
|
21
|
-
|
|
23
|
+
const serialized = crypto_1.CoreBuffer.fromBase64URL(value).toUtf8();
|
|
24
|
+
return this.deserialize(serialized);
|
|
22
25
|
}
|
|
23
26
|
};
|
|
24
27
|
exports.RelationshipCreationResponseContentCipher = RelationshipCreationResponseContentCipher;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RelationshipCreationResponseContentCipher.js","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/responses/RelationshipCreationResponseContentCipher.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"RelationshipCreationResponseContentCipher.js","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/responses/RelationshipCreationResponseContentCipher.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA4F;AAC5F,0CAA6I;AAQtI,IAAM,yCAAyC,GAA/C,MAAM,yCAA0C,SAAQ,wBAAY;IAShE,MAAM,CAAC,IAAI,CAAC,KAAiD;QAChE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;IAEM,QAAQ;QACX,OAAO,mBAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC,WAAW,EAAE,CAAC;IAC/D,CAAC;IAEM,MAAM,CAAC,UAAU,CAAC,KAAa;QAClC,MAAM,UAAU,GAAG,mBAAU,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,MAAM,EAAE,CAAC;QAC5D,OAAQ,IAAY,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;IACjD,CAAC;CACJ,CAAA;AArBY,8FAAyC;AAG3C;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACG,qBAAY;yEAAC;AAIrB;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACgC,yCAAgC;sGAAC;oDAPpE,yCAAyC;IADrD,IAAA,gBAAI,EAAC,2CAA2C,CAAC;GACrC,yCAAyC,CAqBrD"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import { ISerializable, Serializable } from "@js-soft/ts-serval";
|
|
1
2
|
import { CryptoSignature, ICryptoSignature } from "@nmshd/crypto";
|
|
2
|
-
|
|
3
|
-
export interface IRelationshipCreationResponseContentSigned extends ICoreSerializable {
|
|
3
|
+
export interface IRelationshipCreationResponseContentSigned extends ISerializable {
|
|
4
4
|
serializedCreationResponseContent: string;
|
|
5
5
|
deviceSignature: ICryptoSignature;
|
|
6
6
|
relationshipSignature: ICryptoSignature;
|
|
7
7
|
}
|
|
8
|
-
export declare class RelationshipCreationResponseContentSigned extends
|
|
8
|
+
export declare class RelationshipCreationResponseContentSigned extends Serializable implements IRelationshipCreationResponseContentSigned {
|
|
9
9
|
serializedCreationResponseContent: string;
|
|
10
10
|
deviceSignature: CryptoSignature;
|
|
11
11
|
relationshipSignature: CryptoSignature;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RelationshipCreationResponseContentSigned.d.ts","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/responses/RelationshipCreationResponseContentSigned.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RelationshipCreationResponseContentSigned.d.ts","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/responses/RelationshipCreationResponseContentSigned.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,YAAY,EAA6B,MAAM,oBAAoB,CAAC;AAC5F,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAElE,MAAM,WAAW,0CAA2C,SAAQ,aAAa;IAC7E,iCAAiC,EAAE,MAAM,CAAC;IAC1C,eAAe,EAAE,gBAAgB,CAAC;IAClC,qBAAqB,EAAE,gBAAgB,CAAC;CAC3C;AAED,qBACa,yCAA0C,SAAQ,YAAa,YAAW,0CAA0C;IAGtH,iCAAiC,EAAE,MAAM,CAAC;IAI1C,eAAe,EAAE,eAAe,CAAC;IAIjC,qBAAqB,EAAE,eAAe,CAAC;WAEhC,IAAI,CAAC,KAAK,EAAE,0CAA0C,GAAG,yCAAyC;CAGnH"}
|
|
@@ -12,8 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.RelationshipCreationResponseContentSigned = void 0;
|
|
13
13
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
14
|
const crypto_1 = require("@nmshd/crypto");
|
|
15
|
-
|
|
16
|
-
let RelationshipCreationResponseContentSigned = class RelationshipCreationResponseContentSigned extends core_1.CoreSerializable {
|
|
15
|
+
let RelationshipCreationResponseContentSigned = class RelationshipCreationResponseContentSigned extends ts_serval_1.Serializable {
|
|
17
16
|
static from(value) {
|
|
18
17
|
return this.fromAny(value);
|
|
19
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RelationshipCreationResponseContentSigned.js","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/responses/RelationshipCreationResponseContentSigned.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"RelationshipCreationResponseContentSigned.js","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/responses/RelationshipCreationResponseContentSigned.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA4F;AAC5F,0CAAkE;AAS3D,IAAM,yCAAyC,GAA/C,MAAM,yCAA0C,SAAQ,wBAAY;IAahE,MAAM,CAAC,IAAI,CAAC,KAAiD;QAChE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;CACJ,CAAA;AAhBY,8FAAyC;AAG3C;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;;oGACqC;AAI1C;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACY,wBAAe;kFAAC;AAIjC;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACkB,wBAAe;wFAAC;oDAXrC,yCAAyC;IADrD,IAAA,gBAAI,EAAC,2CAA2C,CAAC;GACrC,yCAAyC,CAgBrD"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { ISerializable, Serializable } from "@js-soft/ts-serval";
|
|
2
|
+
import { CoreId, ICoreId } from "@nmshd/core-types";
|
|
3
|
+
export interface IRelationshipCreationResponseContentWrapper extends ISerializable {
|
|
3
4
|
relationshipId: ICoreId;
|
|
4
5
|
}
|
|
5
|
-
export declare class RelationshipCreationResponseContentWrapper extends
|
|
6
|
+
export declare class RelationshipCreationResponseContentWrapper extends Serializable implements IRelationshipCreationResponseContentWrapper {
|
|
6
7
|
relationshipId: CoreId;
|
|
7
8
|
static from(value: IRelationshipCreationResponseContentWrapper): RelationshipCreationResponseContentWrapper;
|
|
8
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RelationshipCreationResponseContentWrapper.d.ts","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/responses/RelationshipCreationResponseContentWrapper.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RelationshipCreationResponseContentWrapper.d.ts","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/responses/RelationshipCreationResponseContentWrapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,YAAY,EAA6B,MAAM,oBAAoB,CAAC;AAC5F,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,WAAW,2CAA4C,SAAQ,aAAa;IAC9E,cAAc,EAAE,OAAO,CAAC;CAC3B;AAED,qBACa,0CAA2C,SAAQ,YAAa,YAAW,2CAA2C;IAGxH,cAAc,EAAE,MAAM,CAAC;WAEhB,IAAI,CAAC,KAAK,EAAE,2CAA2C,GAAG,0CAA0C;CAGrH"}
|
|
@@ -11,8 +11,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.RelationshipCreationResponseContentWrapper = void 0;
|
|
13
13
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
-
const
|
|
15
|
-
let RelationshipCreationResponseContentWrapper = class RelationshipCreationResponseContentWrapper extends
|
|
14
|
+
const core_types_1 = require("@nmshd/core-types");
|
|
15
|
+
let RelationshipCreationResponseContentWrapper = class RelationshipCreationResponseContentWrapper extends ts_serval_1.Serializable {
|
|
16
16
|
static from(value) {
|
|
17
17
|
return this.fromAny(value);
|
|
18
18
|
}
|
|
@@ -21,7 +21,7 @@ exports.RelationshipCreationResponseContentWrapper = RelationshipCreationRespons
|
|
|
21
21
|
__decorate([
|
|
22
22
|
(0, ts_serval_1.validate)(),
|
|
23
23
|
(0, ts_serval_1.serialize)(),
|
|
24
|
-
__metadata("design:type",
|
|
24
|
+
__metadata("design:type", core_types_1.CoreId)
|
|
25
25
|
], RelationshipCreationResponseContentWrapper.prototype, "relationshipId", void 0);
|
|
26
26
|
exports.RelationshipCreationResponseContentWrapper = RelationshipCreationResponseContentWrapper = __decorate([
|
|
27
27
|
(0, ts_serval_1.type)("RelationshipCreationResponseContentWrapper")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RelationshipCreationResponseContentWrapper.js","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/responses/RelationshipCreationResponseContentWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"RelationshipCreationResponseContentWrapper.js","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/responses/RelationshipCreationResponseContentWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA4F;AAC5F,kDAAoD;AAO7C,IAAM,0CAA0C,GAAhD,MAAM,0CAA2C,SAAQ,wBAAY;IAKjE,MAAM,CAAC,IAAI,CAAC,KAAkD;QACjE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;CACJ,CAAA;AARY,gGAA0C;AAG5C;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACW,mBAAM;kFAAC;qDAHrB,0CAA0C;IADtD,IAAA,gBAAI,EAAC,4CAA4C,CAAC;GACtC,0CAA0C,CAQtD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { CoreDate, CoreId } from "@nmshd/core-types";
|
|
1
2
|
import { CryptoExchangeKeypair, CryptoExchangePrivateKey, CryptoExchangePublicKey, CryptoRelationshipRequestSecrets, CryptoRelationshipSecrets, CryptoSecretKey, CryptoSignatureKeypair, CryptoSignaturePrivateKey } from "@nmshd/crypto";
|
|
2
|
-
import { CoreDate, CoreId } from "../../core";
|
|
3
3
|
import { ControllerName, TransportController } from "../../core/TransportController";
|
|
4
4
|
import { AccountController } from "../accounts/AccountController";
|
|
5
5
|
import { SecretContainerCipher } from "./data/SecretContainerCipher";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SecretController.d.ts","sourceRoot":"","sources":["../../../src/modules/secrets/SecretController.ts"],"names":[],"mappings":"AAEA,OAAO,EAEH,qBAAqB,EACrB,wBAAwB,EACxB,uBAAuB,EACvB,gCAAgC,EAChC,yBAAyB,EACzB,eAAe,EACf,sBAAsB,EACtB,yBAAyB,EAC5B,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"SecretController.d.ts","sourceRoot":"","sources":["../../../src/modules/secrets/SecretController.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAEH,qBAAqB,EACrB,wBAAwB,EACxB,uBAAuB,EACvB,gCAAgC,EAChC,yBAAyB,EACzB,eAAe,EACf,sBAAsB,EACtB,yBAAyB,EAC5B,MAAM,eAAe,CAAC;AAGvB,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrF,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAGlE,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,oBAAY,iBAAiB;IACzB,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,QAAQ,aAAa;CACxB;AAED;;;GAGG;AACH,qBAAa,gBAAiB,SAAQ,mBAAmB;IACrD;;;OAGG;IACH,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAsB;IAE3D,gBAAuB,cAAc,EAAE,MAAM,CAAsB;IAEnE,OAAO,CAAC,KAAK,CAAK;IAElB,OAAO,CAAC,OAAO,CAAC,CAAkB;IAElC,OAAO,CAAC,OAAO,CAAyB;gBAErB,MAAM,EAAE,iBAAiB,EAAE,IAAI,GAAE,cAAsC;IAIpE,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAW9B,WAAW,CACpB,MAAM,EACA,gCAAgC,GAChC,yBAAyB,GACzB,qBAAqB,GACrB,wBAAwB,GACxB,sBAAsB,GACtB,yBAAyB,GACzB,eAAe,EACrB,IAAI,EAAE,MAAM,EACZ,WAAW,SAAK,EAChB,OAAO,CAAC,EAAE,QAAQ,GACnB,OAAO,CAAC,qBAAqB,CAAC;IA4BpB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC;IAahE,sBAAsB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,GAAG,SAAS,CAAC;YAS9E,8BAA8B;IAY/B,qBAAqB,CAC9B,MAAM,EACA,gCAAgC,GAChC,yBAAyB,GACzB,qBAAqB,GACrB,wBAAwB,GACxB,sBAAsB,GACtB,yBAAyB,GACzB,eAAe,EACrB,IAAI,EAAE,MAAM,EACZ,WAAW,SAAK,EAChB,OAAO,CAAC,EAAE,QAAQ,GACnB,OAAO,CAAC,qBAAqB,CAAC;YAWnB,aAAa;IAuBd,cAAc,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,GAAG,SAAS,CAAC;IAQrE,gBAAgB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAW9C,iBAAiB,CAAC,IAAI,SAAK,EAAE,WAAW,SAAK,EAAE,OAAO,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC,CAAC,uBAAuB,EAAE,qBAAqB,CAAC,CAAC;YAO5H,UAAU;YAgBV,aAAa;CAK9B"}
|