@nmshd/transport 1.2.0 → 2.0.0-alpha.2
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/CoreCrypto.js +8 -8
- package/dist/core/CoreCrypto.js.map +1 -1
- package/dist/core/CoreSerializable.d.ts +1 -3
- package/dist/core/CoreSerializable.js +4 -11
- package/dist/core/CoreSerializable.js.map +1 -1
- package/dist/core/CoreSerializableAsync.d.ts +1 -3
- package/dist/core/CoreSerializableAsync.js +5 -11
- package/dist/core/CoreSerializableAsync.js.map +1 -1
- package/dist/core/CoreSynchronizable.d.ts +3 -3
- package/dist/core/CoreSynchronizable.js +2 -2
- package/dist/core/CoreSynchronizable.js.map +1 -1
- package/dist/core/Transport.d.ts +1 -0
- package/dist/core/TransportController.d.ts +1 -3
- package/dist/core/TransportController.js +2 -20
- package/dist/core/TransportController.js.map +1 -1
- package/dist/core/TransportErrors.d.ts +1 -0
- package/dist/core/TransportErrors.js +3 -0
- package/dist/core/TransportErrors.js.map +1 -1
- package/dist/core/backbone/RESTClient.d.ts +1 -0
- package/dist/core/backbone/RESTClientAuthenticate.js.map +1 -1
- package/dist/core/backbone/RequestError.js.map +1 -1
- package/dist/core/types/CoreAddress.d.ts +1 -1
- package/dist/core/types/CoreAddress.js +7 -13
- package/dist/core/types/CoreAddress.js.map +1 -1
- package/dist/core/types/CoreDate.d.ts +4 -3
- package/dist/core/types/CoreDate.js +17 -14
- package/dist/core/types/CoreDate.js.map +1 -1
- package/dist/core/types/CoreHash.d.ts +1 -1
- package/dist/core/types/CoreHash.js +9 -9
- package/dist/core/types/CoreHash.js.map +1 -1
- package/dist/core/types/CoreId.d.ts +1 -1
- package/dist/core/types/CoreId.js +9 -9
- package/dist/core/types/CoreId.js.map +1 -1
- package/dist/modules/accounts/AccountController.js +5 -5
- package/dist/modules/accounts/AccountController.js.map +1 -1
- package/dist/modules/accounts/IdentityController.js.map +1 -1
- package/dist/modules/accounts/IdentityUtil.js +8 -8
- package/dist/modules/accounts/IdentityUtil.js.map +1 -1
- package/dist/modules/accounts/backbone/IdentityClient.js.map +1 -1
- package/dist/modules/accounts/data/Identity.d.ts +5 -4
- package/dist/modules/accounts/data/Identity.js +12 -11
- package/dist/modules/accounts/data/Identity.js.map +1 -1
- package/dist/modules/accounts/data/IdentitySecretCredentials.d.ts +4 -4
- package/dist/modules/accounts/data/IdentitySecretCredentials.js +4 -5
- package/dist/modules/accounts/data/IdentitySecretCredentials.js.map +1 -1
- package/dist/modules/certificates/CertificateIssuer.js +2 -2
- package/dist/modules/certificates/CertificateIssuer.js.map +1 -1
- package/dist/modules/certificates/data/Certificate.d.ts +4 -5
- package/dist/modules/certificates/data/Certificate.js +4 -8
- package/dist/modules/certificates/data/Certificate.js.map +1 -1
- package/dist/modules/certificates/data/CertificateConstraint.d.ts +4 -5
- package/dist/modules/certificates/data/CertificateConstraint.js +4 -8
- package/dist/modules/certificates/data/CertificateConstraint.js.map +1 -1
- package/dist/modules/certificates/data/CertificateContent.d.ts +4 -5
- package/dist/modules/certificates/data/CertificateContent.js +4 -8
- package/dist/modules/certificates/data/CertificateContent.js.map +1 -1
- package/dist/modules/certificates/data/CertificateItem.d.ts +4 -5
- package/dist/modules/certificates/data/CertificateItem.js +4 -8
- package/dist/modules/certificates/data/CertificateItem.js.map +1 -1
- package/dist/modules/certificates/data/constraints/CertificateBorderConstraint.d.ts +1 -1
- package/dist/modules/certificates/data/constraints/CertificateBorderConstraint.js +4 -5
- package/dist/modules/certificates/data/constraints/CertificateBorderConstraint.js.map +1 -1
- package/dist/modules/certificates/data/constraints/CertificateCityConstraint.d.ts +1 -1
- package/dist/modules/certificates/data/constraints/CertificateCityConstraint.js +4 -5
- package/dist/modules/certificates/data/constraints/CertificateCityConstraint.js.map +1 -1
- package/dist/modules/certificates/data/constraints/CertificateIdentityConstraint.d.ts +1 -1
- package/dist/modules/certificates/data/constraints/CertificateIdentityConstraint.js +4 -5
- 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.js +4 -5
- package/dist/modules/certificates/data/constraints/CertificateTimeConstraint.js.map +1 -1
- package/dist/modules/certificates/data/items/CertificateAuthorizationItem.d.ts +1 -1
- package/dist/modules/certificates/data/items/CertificateAuthorizationItem.js +4 -5
- package/dist/modules/certificates/data/items/CertificateAuthorizationItem.js.map +1 -1
- package/dist/modules/certificates/data/items/CertificateDelegateItem.d.ts +1 -1
- package/dist/modules/certificates/data/items/CertificateDelegateItem.js +4 -5
- package/dist/modules/certificates/data/items/CertificateDelegateItem.js.map +1 -1
- package/dist/modules/certificates/data/items/CertificatePrivateAttributeItem.d.ts +1 -1
- package/dist/modules/certificates/data/items/CertificatePrivateAttributeItem.js +4 -5
- 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.js +4 -5
- package/dist/modules/certificates/data/items/CertificatePrivateAttributeItemSource.js.map +1 -1
- package/dist/modules/certificates/data/items/CertificatePublicAttributeItem.d.ts +1 -1
- package/dist/modules/certificates/data/items/CertificatePublicAttributeItem.js +4 -5
- package/dist/modules/certificates/data/items/CertificatePublicAttributeItem.js.map +1 -1
- package/dist/modules/certificates/data/items/CertificateRoleItem.d.ts +1 -1
- package/dist/modules/certificates/data/items/CertificateRoleItem.js +4 -5
- package/dist/modules/certificates/data/items/CertificateRoleItem.js.map +1 -1
- package/dist/modules/challenges/ChallengeController.js +5 -5
- package/dist/modules/challenges/ChallengeController.js.map +1 -1
- package/dist/modules/challenges/data/Challenge.d.ts +4 -5
- package/dist/modules/challenges/data/Challenge.js +4 -8
- package/dist/modules/challenges/data/Challenge.js.map +1 -1
- package/dist/modules/challenges/data/ChallengeSigned.d.ts +5 -5
- package/dist/modules/challenges/data/ChallengeSigned.js +7 -8
- package/dist/modules/challenges/data/ChallengeSigned.js.map +1 -1
- package/dist/modules/devices/DeviceController.js.map +1 -1
- package/dist/modules/devices/DeviceSecretController.js +6 -6
- package/dist/modules/devices/DeviceSecretController.js.map +1 -1
- package/dist/modules/devices/DevicesController.js +4 -4
- package/dist/modules/devices/DevicesController.js.map +1 -1
- package/dist/modules/devices/backbone/DeviceAuthClient.js.map +1 -1
- package/dist/modules/devices/backbone/DeviceClient.js.map +1 -1
- package/dist/modules/devices/local/Device.d.ts +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 +3 -3
- package/dist/modules/devices/local/DeviceSecretCredentials.js +4 -5
- package/dist/modules/devices/local/DeviceSecretCredentials.js.map +1 -1
- package/dist/modules/devices/local/SendDeviceParameters.d.ts +4 -5
- package/dist/modules/devices/local/SendDeviceParameters.js +4 -8
- package/dist/modules/devices/local/SendDeviceParameters.js.map +1 -1
- package/dist/modules/devices/transmission/DeviceSharedSecret.d.ts +3 -4
- package/dist/modules/devices/transmission/DeviceSharedSecret.js +4 -8
- package/dist/modules/devices/transmission/DeviceSharedSecret.js.map +1 -1
- package/dist/modules/files/FileController.d.ts +2 -2
- package/dist/modules/files/FileController.js +18 -18
- package/dist/modules/files/FileController.js.map +1 -1
- package/dist/modules/files/local/CachedFile.d.ts +5 -5
- package/dist/modules/files/local/CachedFile.js +6 -6
- package/dist/modules/files/local/CachedFile.js.map +1 -1
- package/dist/modules/files/local/File.d.ts +2 -3
- package/dist/modules/files/local/File.js +10 -11
- package/dist/modules/files/local/File.js.map +1 -1
- package/dist/modules/files/local/SendFileParameters.d.ts +4 -5
- package/dist/modules/files/local/SendFileParameters.js +4 -8
- package/dist/modules/files/local/SendFileParameters.js.map +1 -1
- package/dist/modules/files/transmission/FileMetadata.d.ts +4 -5
- package/dist/modules/files/transmission/FileMetadata.js +4 -8
- package/dist/modules/files/transmission/FileMetadata.js.map +1 -1
- package/dist/modules/files/transmission/FileReference.d.ts +5 -7
- package/dist/modules/files/transmission/FileReference.js +6 -9
- package/dist/modules/files/transmission/FileReference.js.map +1 -1
- package/dist/modules/messages/MessageController.d.ts +2 -2
- package/dist/modules/messages/MessageController.js +28 -28
- package/dist/modules/messages/MessageController.js.map +1 -1
- package/dist/modules/messages/local/CachedMessage.d.ts +7 -7
- package/dist/modules/messages/local/CachedMessage.js +5 -6
- package/dist/modules/messages/local/CachedMessage.js.map +1 -1
- package/dist/modules/messages/local/Message.d.ts +1 -1
- package/dist/modules/messages/local/Message.js +4 -5
- package/dist/modules/messages/local/Message.js.map +1 -1
- package/dist/modules/messages/local/SendMessageParameters.d.ts +7 -8
- package/dist/modules/messages/local/SendMessageParameters.js +5 -9
- package/dist/modules/messages/local/SendMessageParameters.js.map +1 -1
- package/dist/modules/messages/transmission/MessageEnvelope.d.ts +5 -5
- package/dist/modules/messages/transmission/MessageEnvelope.js +6 -7
- 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.js +4 -5
- package/dist/modules/messages/transmission/MessageEnvelopeRecipient.js.map +1 -1
- package/dist/modules/messages/transmission/MessagePlain.d.ts +8 -8
- package/dist/modules/messages/transmission/MessagePlain.js +7 -8
- package/dist/modules/messages/transmission/MessagePlain.js.map +1 -1
- package/dist/modules/messages/transmission/MessageSignature.d.ts +4 -4
- package/dist/modules/messages/transmission/MessageSignature.js +4 -5
- package/dist/modules/messages/transmission/MessageSignature.js.map +1 -1
- package/dist/modules/messages/transmission/MessageSigned.d.ts +4 -5
- package/dist/modules/messages/transmission/MessageSigned.js +4 -9
- package/dist/modules/messages/transmission/MessageSigned.js.map +1 -1
- package/dist/modules/relationshipTemplates/RelationshipTemplateController.d.ts +2 -2
- package/dist/modules/relationshipTemplates/RelationshipTemplateController.js +23 -18
- package/dist/modules/relationshipTemplates/RelationshipTemplateController.js.map +1 -1
- package/dist/modules/relationshipTemplates/backbone/BackboneGetRelationshipTemplates.d.ts +1 -0
- package/dist/modules/relationshipTemplates/backbone/BackbonePostRelationshipTemplates.d.ts +6 -1
- package/dist/modules/relationshipTemplates/local/CachedRelationshipTemplate.d.ts +20 -10
- package/dist/modules/relationshipTemplates/local/CachedRelationshipTemplate.js +30 -20
- package/dist/modules/relationshipTemplates/local/CachedRelationshipTemplate.js.map +1 -1
- package/dist/modules/relationshipTemplates/local/RelationshipTemplate.d.ts +1 -2
- package/dist/modules/relationshipTemplates/local/RelationshipTemplate.js +4 -8
- package/dist/modules/relationshipTemplates/local/RelationshipTemplate.js.map +1 -1
- package/dist/modules/relationshipTemplates/local/SendRelationshipTemplateParameters.d.ts +18 -8
- package/dist/modules/relationshipTemplates/local/SendRelationshipTemplateParameters.js +18 -7
- package/dist/modules/relationshipTemplates/local/SendRelationshipTemplateParameters.js.map +1 -1
- package/dist/modules/relationshipTemplates/transmission/RelationshipTemplateContent.d.ts +7 -8
- package/dist/modules/relationshipTemplates/transmission/RelationshipTemplateContent.js +5 -9
- package/dist/modules/relationshipTemplates/transmission/RelationshipTemplateContent.js.map +1 -1
- package/dist/modules/relationshipTemplates/transmission/RelationshipTemplatePublicKey.d.ts +4 -5
- package/dist/modules/relationshipTemplates/transmission/RelationshipTemplatePublicKey.js +15 -24
- package/dist/modules/relationshipTemplates/transmission/RelationshipTemplatePublicKey.js.map +1 -1
- package/dist/modules/relationshipTemplates/transmission/RelationshipTemplateSigned.d.ts +4 -5
- package/dist/modules/relationshipTemplates/transmission/RelationshipTemplateSigned.js +4 -8
- package/dist/modules/relationshipTemplates/transmission/RelationshipTemplateSigned.js.map +1 -1
- package/dist/modules/relationships/RelationshipSecretController.d.ts +6 -6
- package/dist/modules/relationships/RelationshipSecretController.js +7 -3
- package/dist/modules/relationships/RelationshipSecretController.js.map +1 -1
- package/dist/modules/relationships/RelationshipsController.d.ts +2 -2
- package/dist/modules/relationships/RelationshipsController.js +32 -32
- package/dist/modules/relationships/RelationshipsController.js.map +1 -1
- package/dist/modules/relationships/local/CachedRelationship.d.ts +4 -5
- package/dist/modules/relationships/local/CachedRelationship.js +4 -8
- package/dist/modules/relationships/local/CachedRelationship.js.map +1 -1
- package/dist/modules/relationships/local/Relationship.d.ts +3 -4
- package/dist/modules/relationships/local/Relationship.js +8 -11
- package/dist/modules/relationships/local/Relationship.js.map +1 -1
- package/dist/modules/relationships/local/SendRelationshipParameters.d.ts +7 -8
- package/dist/modules/relationships/local/SendRelationshipParameters.js +5 -9
- package/dist/modules/relationships/local/SendRelationshipParameters.js.map +1 -1
- package/dist/modules/relationships/transmission/changes/RelationshipChange.d.ts +5 -6
- package/dist/modules/relationships/transmission/changes/RelationshipChange.js +11 -11
- package/dist/modules/relationships/transmission/changes/RelationshipChange.js.map +1 -1
- package/dist/modules/relationships/transmission/changes/RelationshipChangeRequest.d.ts +6 -7
- package/dist/modules/relationships/transmission/changes/RelationshipChangeRequest.js +10 -10
- package/dist/modules/relationships/transmission/changes/RelationshipChangeRequest.js.map +1 -1
- package/dist/modules/relationships/transmission/changes/RelationshipChangeResponse.d.ts +8 -9
- package/dist/modules/relationships/transmission/changes/RelationshipChangeResponse.js +10 -10
- package/dist/modules/relationships/transmission/changes/RelationshipChangeResponse.js.map +1 -1
- package/dist/modules/relationships/transmission/requests/RelationshipCreationChangeRequestCipher.d.ts +5 -6
- package/dist/modules/relationships/transmission/requests/RelationshipCreationChangeRequestCipher.js +6 -10
- package/dist/modules/relationships/transmission/requests/RelationshipCreationChangeRequestCipher.js.map +1 -1
- package/dist/modules/relationships/transmission/requests/RelationshipCreationChangeRequestContent.d.ts +7 -8
- package/dist/modules/relationships/transmission/requests/RelationshipCreationChangeRequestContent.js +5 -9
- package/dist/modules/relationships/transmission/requests/RelationshipCreationChangeRequestContent.js.map +1 -1
- package/dist/modules/relationships/transmission/requests/RelationshipCreationChangeRequestSigned.d.ts +4 -5
- package/dist/modules/relationships/transmission/requests/RelationshipCreationChangeRequestSigned.js +4 -8
- package/dist/modules/relationships/transmission/requests/RelationshipCreationChangeRequestSigned.js.map +1 -1
- package/dist/modules/relationships/transmission/responses/RelationshipCreationChangeResponseCipher.d.ts +5 -6
- package/dist/modules/relationships/transmission/responses/RelationshipCreationChangeResponseCipher.js +6 -10
- package/dist/modules/relationships/transmission/responses/RelationshipCreationChangeResponseCipher.js.map +1 -1
- package/dist/modules/relationships/transmission/responses/RelationshipCreationChangeResponseContent.d.ts +7 -8
- package/dist/modules/relationships/transmission/responses/RelationshipCreationChangeResponseContent.js +5 -9
- package/dist/modules/relationships/transmission/responses/RelationshipCreationChangeResponseContent.js.map +1 -1
- package/dist/modules/relationships/transmission/responses/RelationshipCreationChangeResponseSigned.d.ts +4 -5
- package/dist/modules/relationships/transmission/responses/RelationshipCreationChangeResponseSigned.js +4 -8
- package/dist/modules/relationships/transmission/responses/RelationshipCreationChangeResponseSigned.js.map +1 -1
- package/dist/modules/secrets/SecretController.js +7 -7
- 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.js +4 -5
- package/dist/modules/secrets/data/SecretContainerCipher.js.map +1 -1
- package/dist/modules/secrets/data/SecretContainerPlain.d.ts +7 -7
- package/dist/modules/secrets/data/SecretContainerPlain.js +5 -6
- package/dist/modules/secrets/data/SecretContainerPlain.js.map +1 -1
- package/dist/modules/sync/DatawalletModificationsProcessor.js +4 -4
- package/dist/modules/sync/DatawalletModificationsProcessor.js.map +1 -1
- 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/backbone/SyncClient.js +1 -1
- package/dist/modules/sync/backbone/SyncClient.js.map +1 -1
- package/dist/modules/sync/local/DatawalletModification.d.ts +0 -1
- package/dist/modules/sync/local/DatawalletModification.js +3 -7
- package/dist/modules/sync/local/DatawalletModification.js.map +1 -1
- package/dist/modules/tokens/AnonymousTokenController.js +6 -6
- package/dist/modules/tokens/AnonymousTokenController.js.map +1 -1
- package/dist/modules/tokens/TokenController.d.ts +2 -2
- package/dist/modules/tokens/TokenController.js +14 -14
- package/dist/modules/tokens/TokenController.js.map +1 -1
- package/dist/modules/tokens/local/CachedToken.d.ts +7 -8
- package/dist/modules/tokens/local/CachedToken.js +5 -9
- package/dist/modules/tokens/local/CachedToken.js.map +1 -1
- package/dist/modules/tokens/local/SendTokenParameters.d.ts +7 -8
- package/dist/modules/tokens/local/SendTokenParameters.js +5 -9
- package/dist/modules/tokens/local/SendTokenParameters.js.map +1 -1
- package/dist/modules/tokens/local/Token.d.ts +3 -4
- package/dist/modules/tokens/local/Token.js +12 -13
- package/dist/modules/tokens/local/Token.js.map +1 -1
- package/dist/modules/tokens/transmission/TokenContentDeviceSharedSecret.d.ts +4 -5
- package/dist/modules/tokens/transmission/TokenContentDeviceSharedSecret.js +4 -8
- package/dist/modules/tokens/transmission/TokenContentDeviceSharedSecret.js.map +1 -1
- package/dist/modules/tokens/transmission/TokenContentFile.d.ts +4 -5
- package/dist/modules/tokens/transmission/TokenContentFile.js +4 -8
- package/dist/modules/tokens/transmission/TokenContentFile.js.map +1 -1
- package/dist/modules/tokens/transmission/TokenContentRelationshipTemplate.d.ts +4 -5
- package/dist/modules/tokens/transmission/TokenContentRelationshipTemplate.js +4 -8
- package/dist/modules/tokens/transmission/TokenContentRelationshipTemplate.js.map +1 -1
- package/dist/modules/tokens/transmission/TokenReference.d.ts +5 -6
- package/dist/modules/tokens/transmission/TokenReference.js +6 -14
- package/dist/modules/tokens/transmission/TokenReference.js.map +1 -1
- package/lib-web/nmshd.transport.js +1617 -1262
- package/lib-web/nmshd.transport.js.map +1 -1
- package/lib-web/nmshd.transport.min.js +1 -1
- package/lib-web/nmshd.transport.min.js.map +1 -1
- package/package.json +28 -26
|
@@ -17,27 +17,24 @@ const RelationshipChangeRequest_1 = require("./RelationshipChangeRequest");
|
|
|
17
17
|
const RelationshipChangeResponse_1 = require("./RelationshipChangeResponse");
|
|
18
18
|
const RelationshipChangeStatus_1 = require("./RelationshipChangeStatus");
|
|
19
19
|
const RelationshipChangeType_1 = require("./RelationshipChangeType");
|
|
20
|
-
class RelationshipChange extends core_1.
|
|
21
|
-
static
|
|
22
|
-
const relationshipChange =
|
|
20
|
+
let RelationshipChange = class RelationshipChange extends core_1.CoreSerializable {
|
|
21
|
+
static fromBackbone(backboneChange, requestContent, responseContent) {
|
|
22
|
+
const relationshipChange = this.from({
|
|
23
23
|
id: CoreId_1.CoreId.from(backboneChange.id),
|
|
24
24
|
relationshipId: CoreId_1.CoreId.from(backboneChange.relationshipId),
|
|
25
25
|
type: backboneChange.type,
|
|
26
26
|
status: backboneChange.status,
|
|
27
|
-
request:
|
|
27
|
+
request: RelationshipChangeRequest_1.RelationshipChangeRequest.fromBackbone(backboneChange.request, requestContent)
|
|
28
28
|
});
|
|
29
29
|
if (backboneChange.response) {
|
|
30
|
-
relationshipChange.response =
|
|
30
|
+
relationshipChange.response = RelationshipChangeResponse_1.RelationshipChangeResponse.fromBackbone(backboneChange.response, responseContent);
|
|
31
31
|
}
|
|
32
32
|
return relationshipChange;
|
|
33
33
|
}
|
|
34
|
-
static
|
|
35
|
-
return
|
|
34
|
+
static from(value) {
|
|
35
|
+
return this.fromAny(value);
|
|
36
36
|
}
|
|
37
|
-
|
|
38
|
-
return await super.deserializeT(value, RelationshipChange);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
37
|
+
};
|
|
41
38
|
__decorate([
|
|
42
39
|
(0, ts_serval_1.validate)(),
|
|
43
40
|
(0, ts_serval_1.serialize)(),
|
|
@@ -68,5 +65,8 @@ __decorate([
|
|
|
68
65
|
(0, ts_serval_1.serialize)(),
|
|
69
66
|
__metadata("design:type", String)
|
|
70
67
|
], RelationshipChange.prototype, "type", void 0);
|
|
68
|
+
RelationshipChange = __decorate([
|
|
69
|
+
(0, ts_serval_1.type)("RelationshipChange")
|
|
70
|
+
], RelationshipChange);
|
|
71
71
|
exports.RelationshipChange = RelationshipChange;
|
|
72
72
|
//# sourceMappingURL=RelationshipChange.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RelationshipChange.js","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/changes/RelationshipChange.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"RelationshipChange.js","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/changes/RelationshipChange.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA6E;AAC7E,2CAAsE;AACtE,0DAA+D;AAE/D,2EAAmG;AACnG,6EAAsG;AACtG,yEAAqE;AACrE,qEAAiE;AAYjE,IAAa,kBAAkB,GAA/B,MAAa,kBAAmB,SAAQ,uBAAgB;IAyB7C,MAAM,CAAC,YAAY,CACtB,cAAuD,EACvD,cAA8B,EAC9B,eAA+B;QAE/B,MAAM,kBAAkB,GAAG,IAAI,CAAC,IAAI,CAAC;YACjC,EAAE,EAAE,eAAM,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,CAAC;YAClC,cAAc,EAAE,eAAM,CAAC,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC;YAC1D,IAAI,EAAE,cAAc,CAAC,IAAI;YACzB,MAAM,EAAE,cAAc,CAAC,MAAM;YAC7B,OAAO,EAAE,qDAAyB,CAAC,YAAY,CAAC,cAAc,CAAC,OAAO,EAAE,cAAc,CAAC;SAC1F,CAAC,CAAA;QAEF,IAAI,cAAc,CAAC,QAAQ,EAAE;YACzB,kBAAkB,CAAC,QAAQ,GAAG,uDAA0B,CAAC,YAAY,CACjE,cAAc,CAAC,QAAQ,EACvB,eAAe,CAClB,CAAA;SACJ;QAED,OAAO,kBAAkB,CAAA;IAC7B,CAAC;IAEM,MAAM,CAAC,IAAI,CAAC,KAA0B;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AAhDG;IAFC,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACD,eAAM;8CAAA;AAIjB;IAFC,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACW,eAAM;0DAAA;AAI7B;IAFC,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACI,qDAAyB;mDAAA;AAIzC;IAFC,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC5B,IAAA,qBAAS,GAAE;8BACM,uDAA0B;oDAAA;AAI5C;IAFC,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;;kDAC2B;AAIvC;IAFC,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;;gDACuB;AAvB1B,kBAAkB;IAD9B,IAAA,gBAAI,EAAC,oBAAoB,CAAC;GACd,kBAAkB,CAmD9B;AAnDY,gDAAkB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ISerializable,
|
|
2
|
-
import { CoreAddress, CoreDate,
|
|
1
|
+
import { ISerializable, Serializable } from "@js-soft/ts-serval";
|
|
2
|
+
import { CoreAddress, CoreDate, CoreSerializable, ICoreAddress } from "../../../../core";
|
|
3
3
|
import { ICoreDate } from "../../../../core/types/CoreDate";
|
|
4
4
|
import { CoreId, ICoreId } from "../../../../core/types/CoreId";
|
|
5
5
|
import { BackboneGetRelationshipsChangesSingleChangeResponse } from "../../backbone/BackboneGetRelationshipsChanges";
|
|
@@ -9,12 +9,11 @@ export interface IRelationshipChangeRequest {
|
|
|
9
9
|
createdAt: ICoreDate;
|
|
10
10
|
content?: ISerializable;
|
|
11
11
|
}
|
|
12
|
-
export declare class RelationshipChangeRequest extends
|
|
12
|
+
export declare class RelationshipChangeRequest extends CoreSerializable implements IRelationshipChangeRequest {
|
|
13
13
|
createdBy: CoreAddress;
|
|
14
14
|
createdByDevice: CoreId;
|
|
15
15
|
createdAt: CoreDate;
|
|
16
|
-
content?:
|
|
17
|
-
static fromBackbone(backboneChange: BackboneGetRelationshipsChangesSingleChangeResponse, content?:
|
|
18
|
-
static from(value: IRelationshipChangeRequest):
|
|
19
|
-
static deserialize(value: string): Promise<RelationshipChangeRequest>;
|
|
16
|
+
content?: Serializable;
|
|
17
|
+
static fromBackbone(backboneChange: BackboneGetRelationshipsChangesSingleChangeResponse, content?: ISerializable): RelationshipChangeRequest;
|
|
18
|
+
static from(value: IRelationshipChangeRequest): RelationshipChangeRequest;
|
|
20
19
|
}
|
|
@@ -13,22 +13,19 @@ exports.RelationshipChangeRequest = void 0;
|
|
|
13
13
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
14
|
const core_1 = require("../../../../core");
|
|
15
15
|
const CoreId_1 = require("../../../../core/types/CoreId");
|
|
16
|
-
class RelationshipChangeRequest extends core_1.
|
|
17
|
-
static
|
|
18
|
-
return
|
|
16
|
+
let RelationshipChangeRequest = class RelationshipChangeRequest extends core_1.CoreSerializable {
|
|
17
|
+
static fromBackbone(backboneChange, content) {
|
|
18
|
+
return this.from({
|
|
19
19
|
createdBy: core_1.CoreAddress.from(backboneChange.createdBy),
|
|
20
20
|
createdByDevice: CoreId_1.CoreId.from(backboneChange.createdByDevice),
|
|
21
21
|
createdAt: core_1.CoreDate.from(backboneChange.createdAt),
|
|
22
22
|
content: content
|
|
23
23
|
});
|
|
24
24
|
}
|
|
25
|
-
static
|
|
26
|
-
return
|
|
25
|
+
static from(value) {
|
|
26
|
+
return this.fromAny(value);
|
|
27
27
|
}
|
|
28
|
-
|
|
29
|
-
return await super.deserializeT(value, RelationshipChangeRequest);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
28
|
+
};
|
|
32
29
|
__decorate([
|
|
33
30
|
(0, ts_serval_1.validate)(),
|
|
34
31
|
(0, ts_serval_1.serialize)(),
|
|
@@ -47,7 +44,10 @@ __decorate([
|
|
|
47
44
|
__decorate([
|
|
48
45
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
49
46
|
(0, ts_serval_1.serialize)(),
|
|
50
|
-
__metadata("design:type", ts_serval_1.
|
|
47
|
+
__metadata("design:type", ts_serval_1.Serializable)
|
|
51
48
|
], RelationshipChangeRequest.prototype, "content", void 0);
|
|
49
|
+
RelationshipChangeRequest = __decorate([
|
|
50
|
+
(0, ts_serval_1.type)("RelationshipChangeRequest")
|
|
51
|
+
], RelationshipChangeRequest);
|
|
52
52
|
exports.RelationshipChangeRequest = RelationshipChangeRequest;
|
|
53
53
|
//# sourceMappingURL=RelationshipChangeRequest.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RelationshipChangeRequest.js","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/changes/RelationshipChangeRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"RelationshipChangeRequest.js","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/changes/RelationshipChangeRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAC3F,2CAAwF;AAExF,0DAA+D;AAW/D,IAAa,yBAAyB,GAAtC,MAAa,yBAA0B,SAAQ,uBAAgB;IAiBpD,MAAM,CAAC,YAAY,CACtB,cAAmE,EACnE,OAAuB;QAEvB,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,SAAS,EAAE,kBAAW,CAAC,IAAI,CAAC,cAAc,CAAC,SAAS,CAAC;YACrD,eAAe,EAAE,eAAM,CAAC,IAAI,CAAC,cAAc,CAAC,eAAe,CAAC;YAC5D,SAAS,EAAE,eAAQ,CAAC,IAAI,CAAC,cAAc,CAAC,SAAS,CAAC;YAClD,OAAO,EAAE,OAAO;SACnB,CAAC,CAAA;IACN,CAAC;IAEM,MAAM,CAAC,IAAI,CAAC,KAAiC;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AA7BG;IAFC,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACM,kBAAW;4DAAA;AAI7B;IAFC,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACY,eAAM;kEAAA;AAI9B;IAFC,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACM,eAAQ;4DAAA;AAI1B;IAFC,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC5B,IAAA,qBAAS,GAAE;8BACK,wBAAY;0DAAA;AAfpB,yBAAyB;IADrC,IAAA,gBAAI,EAAC,2BAA2B,CAAC;GACrB,yBAAyB,CAgCrC;AAhCY,8DAAyB"}
|
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { CoreAddress, CoreDate,
|
|
1
|
+
import { ISerializable, Serializable } from "@js-soft/ts-serval";
|
|
2
|
+
import { CoreAddress, CoreDate, CoreSerializable, ICoreAddress, ICoreSerializable } from "../../../../core";
|
|
3
3
|
import { ICoreDate } from "../../../../core/types/CoreDate";
|
|
4
4
|
import { CoreId, ICoreId } from "../../../../core/types/CoreId";
|
|
5
5
|
import { BackboneGetRelationshipsChangesSingleChangeResponse } from "../../backbone/BackboneGetRelationshipsChanges";
|
|
6
|
-
export interface IRelationshipChangeResponse extends
|
|
6
|
+
export interface IRelationshipChangeResponse extends ICoreSerializable {
|
|
7
7
|
createdBy: ICoreAddress;
|
|
8
8
|
createdByDevice: ICoreId;
|
|
9
9
|
createdAt: ICoreDate;
|
|
10
|
-
content?:
|
|
10
|
+
content?: ISerializable;
|
|
11
11
|
}
|
|
12
|
-
export declare class RelationshipChangeResponse extends
|
|
12
|
+
export declare class RelationshipChangeResponse extends CoreSerializable implements IRelationshipChangeResponse {
|
|
13
13
|
createdBy: CoreAddress;
|
|
14
14
|
createdByDevice: CoreId;
|
|
15
15
|
createdAt: CoreDate;
|
|
16
|
-
content?:
|
|
17
|
-
static fromBackbone(backboneChange: BackboneGetRelationshipsChangesSingleChangeResponse, content?:
|
|
18
|
-
static from(value: IRelationshipChangeResponse):
|
|
19
|
-
static deserialize(value: string): Promise<RelationshipChangeResponse>;
|
|
16
|
+
content?: Serializable;
|
|
17
|
+
static fromBackbone(backboneChange: BackboneGetRelationshipsChangesSingleChangeResponse, content?: ISerializable): RelationshipChangeResponse;
|
|
18
|
+
static from(value: IRelationshipChangeResponse): RelationshipChangeResponse;
|
|
20
19
|
}
|
|
@@ -13,22 +13,19 @@ exports.RelationshipChangeResponse = void 0;
|
|
|
13
13
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
14
|
const core_1 = require("../../../../core");
|
|
15
15
|
const CoreId_1 = require("../../../../core/types/CoreId");
|
|
16
|
-
class RelationshipChangeResponse extends core_1.
|
|
17
|
-
static
|
|
18
|
-
return
|
|
16
|
+
let RelationshipChangeResponse = class RelationshipChangeResponse extends core_1.CoreSerializable {
|
|
17
|
+
static fromBackbone(backboneChange, content) {
|
|
18
|
+
return this.from({
|
|
19
19
|
createdBy: core_1.CoreAddress.from(backboneChange.createdBy),
|
|
20
20
|
createdByDevice: CoreId_1.CoreId.from(backboneChange.createdByDevice),
|
|
21
21
|
createdAt: core_1.CoreDate.from(backboneChange.createdAt),
|
|
22
22
|
content: content
|
|
23
23
|
});
|
|
24
24
|
}
|
|
25
|
-
static
|
|
26
|
-
return
|
|
25
|
+
static from(value) {
|
|
26
|
+
return this.fromAny(value);
|
|
27
27
|
}
|
|
28
|
-
|
|
29
|
-
return await super.deserializeT(value, RelationshipChangeResponse);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
28
|
+
};
|
|
32
29
|
__decorate([
|
|
33
30
|
(0, ts_serval_1.validate)(),
|
|
34
31
|
(0, ts_serval_1.serialize)(),
|
|
@@ -47,7 +44,10 @@ __decorate([
|
|
|
47
44
|
__decorate([
|
|
48
45
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
49
46
|
(0, ts_serval_1.serialize)(),
|
|
50
|
-
__metadata("design:type", ts_serval_1.
|
|
47
|
+
__metadata("design:type", ts_serval_1.Serializable)
|
|
51
48
|
], RelationshipChangeResponse.prototype, "content", void 0);
|
|
49
|
+
RelationshipChangeResponse = __decorate([
|
|
50
|
+
(0, ts_serval_1.type)("RelationshipChangeResponse")
|
|
51
|
+
], RelationshipChangeResponse);
|
|
52
52
|
exports.RelationshipChangeResponse = RelationshipChangeResponse;
|
|
53
53
|
//# sourceMappingURL=RelationshipChangeResponse.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RelationshipChangeResponse.js","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/changes/RelationshipChangeResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"RelationshipChangeResponse.js","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/changes/RelationshipChangeResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAC3F,2CAA2G;AAE3G,0DAA+D;AAW/D,IAAa,0BAA0B,GAAvC,MAAa,0BAA2B,SAAQ,uBAAgB;IAiBrD,MAAM,CAAC,YAAY,CACtB,cAAmE,EACnE,OAAuB;QAEvB,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,SAAS,EAAE,kBAAW,CAAC,IAAI,CAAC,cAAc,CAAC,SAAS,CAAC;YACrD,eAAe,EAAE,eAAM,CAAC,IAAI,CAAC,cAAc,CAAC,eAAe,CAAC;YAC5D,SAAS,EAAE,eAAQ,CAAC,IAAI,CAAC,cAAc,CAAC,SAAS,CAAC;YAClD,OAAO,EAAE,OAAO;SACnB,CAAC,CAAA;IACN,CAAC;IAEM,MAAM,CAAC,IAAI,CAAC,KAAkC;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AA7BG;IAFC,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACM,kBAAW;6DAAA;AAI7B;IAFC,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACY,eAAM;mEAAA;AAI9B;IAFC,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACM,eAAQ;6DAAA;AAI1B;IAFC,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC5B,IAAA,qBAAS,GAAE;8BACK,wBAAY;2DAAA;AAfpB,0BAA0B;IADtC,IAAA,gBAAI,EAAC,4BAA4B,CAAC;GACtB,0BAA0B,CAgCtC;AAhCY,gEAA0B"}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { CryptoCipher, CryptoRelationshipPublicRequest, ICryptoCipher, ICryptoRelationshipPublicRequest } from "@nmshd/crypto";
|
|
2
|
-
import {
|
|
3
|
-
export interface IRelationshipCreationChangeRequestCipher extends
|
|
2
|
+
import { CoreSerializable, ICoreSerializable } from "../../../../core";
|
|
3
|
+
export interface IRelationshipCreationChangeRequestCipher extends ICoreSerializable {
|
|
4
4
|
cipher: ICryptoCipher;
|
|
5
5
|
publicRequestCrypto: ICryptoRelationshipPublicRequest;
|
|
6
6
|
}
|
|
7
|
-
export declare class RelationshipCreationChangeRequestCipher extends
|
|
7
|
+
export declare class RelationshipCreationChangeRequestCipher extends CoreSerializable implements IRelationshipCreationChangeRequestCipher {
|
|
8
8
|
cipher: CryptoCipher;
|
|
9
9
|
publicRequestCrypto: CryptoRelationshipPublicRequest;
|
|
10
|
-
static from(value: IRelationshipCreationChangeRequestCipher):
|
|
11
|
-
static fromBase64(value: string):
|
|
12
|
-
static deserialize(value: string): Promise<RelationshipCreationChangeRequestCipher>;
|
|
10
|
+
static from(value: IRelationshipCreationChangeRequestCipher): RelationshipCreationChangeRequestCipher;
|
|
11
|
+
static fromBase64(value: string): RelationshipCreationChangeRequestCipher;
|
|
13
12
|
}
|
package/dist/modules/relationships/transmission/requests/RelationshipCreationChangeRequestCipher.js
CHANGED
|
@@ -8,21 +8,17 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
-
var RelationshipCreationChangeRequestCipher_1;
|
|
12
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
12
|
exports.RelationshipCreationChangeRequestCipher = void 0;
|
|
14
13
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
15
14
|
const crypto_1 = require("@nmshd/crypto");
|
|
16
15
|
const core_1 = require("../../../../core");
|
|
17
|
-
let RelationshipCreationChangeRequestCipher =
|
|
18
|
-
static
|
|
19
|
-
return
|
|
16
|
+
let RelationshipCreationChangeRequestCipher = class RelationshipCreationChangeRequestCipher extends core_1.CoreSerializable {
|
|
17
|
+
static from(value) {
|
|
18
|
+
return this.fromAny(value);
|
|
20
19
|
}
|
|
21
|
-
static
|
|
22
|
-
return
|
|
23
|
-
}
|
|
24
|
-
static async deserialize(value) {
|
|
25
|
-
return await super.deserializeT(value, RelationshipCreationChangeRequestCipher_1);
|
|
20
|
+
static fromBase64(value) {
|
|
21
|
+
return super.fromBase64T(value);
|
|
26
22
|
}
|
|
27
23
|
};
|
|
28
24
|
__decorate([
|
|
@@ -35,7 +31,7 @@ __decorate([
|
|
|
35
31
|
(0, ts_serval_1.serialize)(),
|
|
36
32
|
__metadata("design:type", crypto_1.CryptoRelationshipPublicRequest)
|
|
37
33
|
], RelationshipCreationChangeRequestCipher.prototype, "publicRequestCrypto", void 0);
|
|
38
|
-
RelationshipCreationChangeRequestCipher =
|
|
34
|
+
RelationshipCreationChangeRequestCipher = __decorate([
|
|
39
35
|
(0, ts_serval_1.type)("RelationshipCreationChangeRequestCipher")
|
|
40
36
|
], RelationshipCreationChangeRequestCipher);
|
|
41
37
|
exports.RelationshipCreationChangeRequestCipher = RelationshipCreationChangeRequestCipher;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RelationshipCreationChangeRequestCipher.js","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/requests/RelationshipCreationChangeRequestCipher.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RelationshipCreationChangeRequestCipher.js","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/requests/RelationshipCreationChangeRequestCipher.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,0CAKsB;AACtB,2CAAsE;AAQtE,IAAa,uCAAuC,GAApD,MAAa,uCACT,SAAQ,uBAAgB;IAWjB,MAAM,CAAC,IAAI,CAAC,KAA+C;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEM,MAAM,CAAC,UAAU,CAAC,KAAa;QAClC,OAAO,KAAK,CAAC,WAAW,CAA0C,KAAK,CAAC,CAAA;IAC5E,CAAC;CACJ,CAAA;AAbG;IAFC,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACG,qBAAY;uEAAA;AAI3B;IAFC,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACgB,wCAA+B;oFAAA;AAVlD,uCAAuC;IADnD,IAAA,gBAAI,EAAC,yCAAyC,CAAC;GACnC,uCAAuC,CAmBnD;AAnBY,0FAAuC"}
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { CoreId,
|
|
1
|
+
import { ISerializable, Serializable } from "@js-soft/ts-serval";
|
|
2
|
+
import { CoreId, CoreSerializable, ICoreId, ICoreSerializable } from "../../../../core";
|
|
3
3
|
import { Identity, IIdentity } from "../../../accounts/data/Identity";
|
|
4
|
-
export interface IRelationshipCreationChangeRequestContent extends
|
|
4
|
+
export interface IRelationshipCreationChangeRequestContent extends ICoreSerializable {
|
|
5
5
|
identity: IIdentity;
|
|
6
|
-
content:
|
|
6
|
+
content: ISerializable;
|
|
7
7
|
templateId: ICoreId;
|
|
8
8
|
}
|
|
9
|
-
export declare class RelationshipCreationChangeRequestContent extends
|
|
9
|
+
export declare class RelationshipCreationChangeRequestContent extends CoreSerializable implements IRelationshipCreationChangeRequestContent {
|
|
10
10
|
identity: Identity;
|
|
11
|
-
content:
|
|
11
|
+
content: Serializable;
|
|
12
12
|
templateId: CoreId;
|
|
13
|
-
static from(value: IRelationshipCreationChangeRequestContent):
|
|
14
|
-
static deserialize(value: string): Promise<RelationshipCreationChangeRequestContent>;
|
|
13
|
+
static from(value: IRelationshipCreationChangeRequestContent): RelationshipCreationChangeRequestContent;
|
|
15
14
|
}
|
package/dist/modules/relationships/transmission/requests/RelationshipCreationChangeRequestContent.js
CHANGED
|
@@ -8,18 +8,14 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
-
var RelationshipCreationChangeRequestContent_1;
|
|
12
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
12
|
exports.RelationshipCreationChangeRequestContent = void 0;
|
|
14
13
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
15
14
|
const core_1 = require("../../../../core");
|
|
16
15
|
const Identity_1 = require("../../../accounts/data/Identity");
|
|
17
|
-
let RelationshipCreationChangeRequestContent =
|
|
18
|
-
static
|
|
19
|
-
return
|
|
20
|
-
}
|
|
21
|
-
static async deserialize(value) {
|
|
22
|
-
return await super.deserializeT(value, RelationshipCreationChangeRequestContent_1);
|
|
16
|
+
let RelationshipCreationChangeRequestContent = class RelationshipCreationChangeRequestContent extends core_1.CoreSerializable {
|
|
17
|
+
static from(value) {
|
|
18
|
+
return this.fromAny(value);
|
|
23
19
|
}
|
|
24
20
|
};
|
|
25
21
|
__decorate([
|
|
@@ -30,14 +26,14 @@ __decorate([
|
|
|
30
26
|
__decorate([
|
|
31
27
|
(0, ts_serval_1.validate)(),
|
|
32
28
|
(0, ts_serval_1.serialize)(),
|
|
33
|
-
__metadata("design:type", ts_serval_1.
|
|
29
|
+
__metadata("design:type", ts_serval_1.Serializable)
|
|
34
30
|
], RelationshipCreationChangeRequestContent.prototype, "content", void 0);
|
|
35
31
|
__decorate([
|
|
36
32
|
(0, ts_serval_1.validate)(),
|
|
37
33
|
(0, ts_serval_1.serialize)(),
|
|
38
34
|
__metadata("design:type", core_1.CoreId)
|
|
39
35
|
], RelationshipCreationChangeRequestContent.prototype, "templateId", void 0);
|
|
40
|
-
RelationshipCreationChangeRequestContent =
|
|
36
|
+
RelationshipCreationChangeRequestContent = __decorate([
|
|
41
37
|
(0, ts_serval_1.type)("RelationshipCreationChangeRequestContent")
|
|
42
38
|
], RelationshipCreationChangeRequestContent);
|
|
43
39
|
exports.RelationshipCreationChangeRequestContent = RelationshipCreationChangeRequestContent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RelationshipCreationChangeRequestContent.js","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/requests/RelationshipCreationChangeRequestContent.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RelationshipCreationChangeRequestContent.js","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/requests/RelationshipCreationChangeRequestContent.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAC3F,2CAAuF;AACvF,8DAAqE;AASrE,IAAa,wCAAwC,GAArD,MAAa,wCACT,SAAQ,uBAAgB;IAejB,MAAM,CAAC,IAAI,CAAC,KAAgD;QAC/D,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AAbG;IAFC,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACK,mBAAQ;0EAAA;AAIzB;IAFC,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACI,wBAAY;yEAAA;AAI5B;IAFC,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACO,aAAM;4EAAA;AAdhB,wCAAwC;IADpD,IAAA,gBAAI,EAAC,0CAA0C,CAAC;GACpC,wCAAwC,CAmBpD;AAnBY,4FAAwC"}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { CryptoSignature, ICryptoSignature } from "@nmshd/crypto";
|
|
2
|
-
import {
|
|
3
|
-
export interface IRelationshipCreationChangeRequestSigned extends
|
|
2
|
+
import { CoreSerializable, ICoreSerializable } from "../../../../core";
|
|
3
|
+
export interface IRelationshipCreationChangeRequestSigned extends ICoreSerializable {
|
|
4
4
|
serializedRequest: string;
|
|
5
5
|
deviceSignature: ICryptoSignature;
|
|
6
6
|
relationshipSignature: ICryptoSignature;
|
|
7
7
|
}
|
|
8
|
-
export declare class RelationshipCreationChangeRequestSigned extends
|
|
8
|
+
export declare class RelationshipCreationChangeRequestSigned extends CoreSerializable implements IRelationshipCreationChangeRequestSigned {
|
|
9
9
|
serializedRequest: string;
|
|
10
10
|
deviceSignature: CryptoSignature;
|
|
11
11
|
relationshipSignature: CryptoSignature;
|
|
12
|
-
static from(value: IRelationshipCreationChangeRequestSigned):
|
|
13
|
-
static deserialize(value: string): Promise<RelationshipCreationChangeRequestSigned>;
|
|
12
|
+
static from(value: IRelationshipCreationChangeRequestSigned): RelationshipCreationChangeRequestSigned;
|
|
14
13
|
}
|
package/dist/modules/relationships/transmission/requests/RelationshipCreationChangeRequestSigned.js
CHANGED
|
@@ -8,18 +8,14 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
-
var RelationshipCreationChangeRequestSigned_1;
|
|
12
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
12
|
exports.RelationshipCreationChangeRequestSigned = void 0;
|
|
14
13
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
15
14
|
const crypto_1 = require("@nmshd/crypto");
|
|
16
15
|
const core_1 = require("../../../../core");
|
|
17
|
-
let RelationshipCreationChangeRequestSigned =
|
|
18
|
-
static
|
|
19
|
-
return
|
|
20
|
-
}
|
|
21
|
-
static async deserialize(value) {
|
|
22
|
-
return await super.deserializeT(value, RelationshipCreationChangeRequestSigned_1);
|
|
16
|
+
let RelationshipCreationChangeRequestSigned = class RelationshipCreationChangeRequestSigned extends core_1.CoreSerializable {
|
|
17
|
+
static from(value) {
|
|
18
|
+
return this.fromAny(value);
|
|
23
19
|
}
|
|
24
20
|
};
|
|
25
21
|
__decorate([
|
|
@@ -37,7 +33,7 @@ __decorate([
|
|
|
37
33
|
(0, ts_serval_1.serialize)(),
|
|
38
34
|
__metadata("design:type", crypto_1.CryptoSignature)
|
|
39
35
|
], RelationshipCreationChangeRequestSigned.prototype, "relationshipSignature", void 0);
|
|
40
|
-
RelationshipCreationChangeRequestSigned =
|
|
36
|
+
RelationshipCreationChangeRequestSigned = __decorate([
|
|
41
37
|
(0, ts_serval_1.type)("RelationshipCreationChangeRequestSigned")
|
|
42
38
|
], RelationshipCreationChangeRequestSigned);
|
|
43
39
|
exports.RelationshipCreationChangeRequestSigned = RelationshipCreationChangeRequestSigned;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RelationshipCreationChangeRequestSigned.js","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/requests/RelationshipCreationChangeRequestSigned.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RelationshipCreationChangeRequestSigned.js","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/requests/RelationshipCreationChangeRequestSigned.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,0CAAiE;AACjE,2CAAsE;AAStE,IAAa,uCAAuC,GAApD,MAAa,uCACT,SAAQ,uBAAgB;IAejB,MAAM,CAAC,IAAI,CAAC,KAA+C;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AAbG;IAFC,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;;kFACoB;AAIhC;IAFC,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACY,wBAAe;gFAAA;AAIvC;IAFC,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACkB,wBAAe;sFAAA;AAdpC,uCAAuC;IADnD,IAAA,gBAAI,EAAC,yCAAyC,CAAC;GACnC,uCAAuC,CAmBnD;AAnBY,0FAAuC"}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { CryptoCipher, CryptoRelationshipPublicResponse, ICryptoCipher, ICryptoRelationshipPublicResponse } from "@nmshd/crypto";
|
|
2
|
-
import {
|
|
3
|
-
export interface IRelationshipCreationChangeResponseCipher extends
|
|
2
|
+
import { CoreSerializable, ICoreSerializable } from "../../../../core";
|
|
3
|
+
export interface IRelationshipCreationChangeResponseCipher extends ICoreSerializable {
|
|
4
4
|
cipher: ICryptoCipher;
|
|
5
5
|
publicResponseCrypto?: ICryptoRelationshipPublicResponse;
|
|
6
6
|
}
|
|
7
|
-
export declare class RelationshipCreationChangeResponseCipher extends
|
|
7
|
+
export declare class RelationshipCreationChangeResponseCipher extends CoreSerializable implements IRelationshipCreationChangeResponseCipher {
|
|
8
8
|
cipher: CryptoCipher;
|
|
9
9
|
publicResponseCrypto?: CryptoRelationshipPublicResponse;
|
|
10
|
-
static from(value: IRelationshipCreationChangeResponseCipher):
|
|
11
|
-
static fromBase64(value: string):
|
|
12
|
-
static deserialize(value: string): Promise<RelationshipCreationChangeResponseCipher>;
|
|
10
|
+
static from(value: IRelationshipCreationChangeResponseCipher): RelationshipCreationChangeResponseCipher;
|
|
11
|
+
static fromBase64(value: string): RelationshipCreationChangeResponseCipher;
|
|
13
12
|
}
|
|
@@ -8,21 +8,17 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
-
var RelationshipCreationChangeResponseCipher_1;
|
|
12
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
12
|
exports.RelationshipCreationChangeResponseCipher = void 0;
|
|
14
13
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
15
14
|
const crypto_1 = require("@nmshd/crypto");
|
|
16
15
|
const core_1 = require("../../../../core");
|
|
17
|
-
let RelationshipCreationChangeResponseCipher =
|
|
18
|
-
static
|
|
19
|
-
return
|
|
16
|
+
let RelationshipCreationChangeResponseCipher = class RelationshipCreationChangeResponseCipher extends core_1.CoreSerializable {
|
|
17
|
+
static from(value) {
|
|
18
|
+
return this.fromAny(value);
|
|
20
19
|
}
|
|
21
|
-
static
|
|
22
|
-
return
|
|
23
|
-
}
|
|
24
|
-
static async deserialize(value) {
|
|
25
|
-
return await super.deserializeT(value, RelationshipCreationChangeResponseCipher_1);
|
|
20
|
+
static fromBase64(value) {
|
|
21
|
+
return super.fromBase64T(value);
|
|
26
22
|
}
|
|
27
23
|
};
|
|
28
24
|
__decorate([
|
|
@@ -35,7 +31,7 @@ __decorate([
|
|
|
35
31
|
(0, ts_serval_1.serialize)(),
|
|
36
32
|
__metadata("design:type", crypto_1.CryptoRelationshipPublicResponse)
|
|
37
33
|
], RelationshipCreationChangeResponseCipher.prototype, "publicResponseCrypto", void 0);
|
|
38
|
-
RelationshipCreationChangeResponseCipher =
|
|
34
|
+
RelationshipCreationChangeResponseCipher = __decorate([
|
|
39
35
|
(0, ts_serval_1.type)("RelationshipCreationChangeResponseCipher")
|
|
40
36
|
], RelationshipCreationChangeResponseCipher);
|
|
41
37
|
exports.RelationshipCreationChangeResponseCipher = RelationshipCreationChangeResponseCipher;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RelationshipCreationChangeResponseCipher.js","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/responses/RelationshipCreationChangeResponseCipher.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RelationshipCreationChangeResponseCipher.js","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/responses/RelationshipCreationChangeResponseCipher.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,0CAKsB;AACtB,2CAAsE;AAQtE,IAAa,wCAAwC,GAArD,MAAa,wCACT,SAAQ,uBAAgB;IAWjB,MAAM,CAAC,IAAI,CAAC,KAAgD;QAC/D,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEM,MAAM,CAAC,UAAU,CAAC,KAAa;QAClC,OAAO,KAAK,CAAC,WAAW,CAAC,KAAK,CAAC,CAAA;IACnC,CAAC;CACJ,CAAA;AAbG;IAFC,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACG,qBAAY;wEAAA;AAI3B;IAFC,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC5B,IAAA,qBAAS,GAAE;8BACkB,yCAAgC;sFAAA;AAVrD,wCAAwC;IADpD,IAAA,gBAAI,EAAC,0CAA0C,CAAC;GACpC,wCAAwC,CAmBpD;AAnBY,4FAAwC"}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { CoreId,
|
|
3
|
-
export interface IRelationshipCreationChangeResponseContent extends
|
|
4
|
-
content:
|
|
1
|
+
import { ISerializable, Serializable } from "@js-soft/ts-serval";
|
|
2
|
+
import { CoreId, CoreSerializable, ICoreId, ICoreSerializable } from "../../../../core";
|
|
3
|
+
export interface IRelationshipCreationChangeResponseContent extends ICoreSerializable {
|
|
4
|
+
content: ISerializable;
|
|
5
5
|
relationshipId: ICoreId;
|
|
6
6
|
}
|
|
7
|
-
export declare class RelationshipCreationChangeResponseContent extends
|
|
8
|
-
content:
|
|
7
|
+
export declare class RelationshipCreationChangeResponseContent extends CoreSerializable implements IRelationshipCreationChangeResponseContent {
|
|
8
|
+
content: Serializable;
|
|
9
9
|
relationshipId: CoreId;
|
|
10
|
-
static from(value: IRelationshipCreationChangeResponseContent):
|
|
11
|
-
static deserialize(value: string): Promise<RelationshipCreationChangeResponseContent>;
|
|
10
|
+
static from(value: IRelationshipCreationChangeResponseContent): RelationshipCreationChangeResponseContent;
|
|
12
11
|
}
|
|
@@ -8,30 +8,26 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
-
var RelationshipCreationChangeResponseContent_1;
|
|
12
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
12
|
exports.RelationshipCreationChangeResponseContent = void 0;
|
|
14
13
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
15
14
|
const core_1 = require("../../../../core");
|
|
16
|
-
let RelationshipCreationChangeResponseContent =
|
|
17
|
-
static
|
|
18
|
-
return
|
|
19
|
-
}
|
|
20
|
-
static async deserialize(value) {
|
|
21
|
-
return await super.deserializeT(value, RelationshipCreationChangeResponseContent_1);
|
|
15
|
+
let RelationshipCreationChangeResponseContent = class RelationshipCreationChangeResponseContent extends core_1.CoreSerializable {
|
|
16
|
+
static from(value) {
|
|
17
|
+
return this.fromAny(value);
|
|
22
18
|
}
|
|
23
19
|
};
|
|
24
20
|
__decorate([
|
|
25
21
|
(0, ts_serval_1.validate)(),
|
|
26
22
|
(0, ts_serval_1.serialize)(),
|
|
27
|
-
__metadata("design:type", ts_serval_1.
|
|
23
|
+
__metadata("design:type", ts_serval_1.Serializable)
|
|
28
24
|
], RelationshipCreationChangeResponseContent.prototype, "content", void 0);
|
|
29
25
|
__decorate([
|
|
30
26
|
(0, ts_serval_1.validate)(),
|
|
31
27
|
(0, ts_serval_1.serialize)(),
|
|
32
28
|
__metadata("design:type", core_1.CoreId)
|
|
33
29
|
], RelationshipCreationChangeResponseContent.prototype, "relationshipId", void 0);
|
|
34
|
-
RelationshipCreationChangeResponseContent =
|
|
30
|
+
RelationshipCreationChangeResponseContent = __decorate([
|
|
35
31
|
(0, ts_serval_1.type)("RelationshipCreationChangeResponseContent")
|
|
36
32
|
], RelationshipCreationChangeResponseContent);
|
|
37
33
|
exports.RelationshipCreationChangeResponseContent = RelationshipCreationChangeResponseContent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RelationshipCreationChangeResponseContent.js","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/responses/RelationshipCreationChangeResponseContent.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RelationshipCreationChangeResponseContent.js","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/responses/RelationshipCreationChangeResponseContent.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAC3F,2CAAuF;AAQvF,IAAa,yCAAyC,GAAtD,MAAa,yCACT,SAAQ,uBAAgB;IAWjB,MAAM,CAAC,IAAI,CAAC,KAAiD;QAChE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AATG;IAFC,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACI,wBAAY;0EAAA;AAI5B;IAFC,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACW,aAAM;iFAAA;AAVpB,yCAAyC;IADrD,IAAA,gBAAI,EAAC,2CAA2C,CAAC;GACrC,yCAAyC,CAerD;AAfY,8FAAyC"}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { CryptoSignature, ICryptoSignature } from "@nmshd/crypto";
|
|
2
|
-
import {
|
|
3
|
-
export interface IRelationshipCreationChangeResponseSigned extends
|
|
2
|
+
import { CoreSerializable, ICoreSerializable } from "../../../../core";
|
|
3
|
+
export interface IRelationshipCreationChangeResponseSigned extends ICoreSerializable {
|
|
4
4
|
serializedResponse: string;
|
|
5
5
|
deviceSignature: ICryptoSignature;
|
|
6
6
|
relationshipSignature: ICryptoSignature;
|
|
7
7
|
}
|
|
8
|
-
export declare class RelationshipCreationChangeResponseSigned extends
|
|
8
|
+
export declare class RelationshipCreationChangeResponseSigned extends CoreSerializable implements IRelationshipCreationChangeResponseSigned {
|
|
9
9
|
serializedResponse: string;
|
|
10
10
|
deviceSignature: CryptoSignature;
|
|
11
11
|
relationshipSignature: CryptoSignature;
|
|
12
|
-
static from(value: IRelationshipCreationChangeResponseSigned):
|
|
13
|
-
static deserialize(value: string): Promise<RelationshipCreationChangeResponseSigned>;
|
|
12
|
+
static from(value: IRelationshipCreationChangeResponseSigned): RelationshipCreationChangeResponseSigned;
|
|
14
13
|
}
|
|
@@ -8,18 +8,14 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
-
var RelationshipCreationChangeResponseSigned_1;
|
|
12
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
12
|
exports.RelationshipCreationChangeResponseSigned = void 0;
|
|
14
13
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
15
14
|
const crypto_1 = require("@nmshd/crypto");
|
|
16
15
|
const core_1 = require("../../../../core");
|
|
17
|
-
let RelationshipCreationChangeResponseSigned =
|
|
18
|
-
static
|
|
19
|
-
return
|
|
20
|
-
}
|
|
21
|
-
static async deserialize(value) {
|
|
22
|
-
return await super.deserializeT(value, RelationshipCreationChangeResponseSigned_1);
|
|
16
|
+
let RelationshipCreationChangeResponseSigned = class RelationshipCreationChangeResponseSigned extends core_1.CoreSerializable {
|
|
17
|
+
static from(value) {
|
|
18
|
+
return this.fromAny(value);
|
|
23
19
|
}
|
|
24
20
|
};
|
|
25
21
|
__decorate([
|
|
@@ -37,7 +33,7 @@ __decorate([
|
|
|
37
33
|
(0, ts_serval_1.serialize)(),
|
|
38
34
|
__metadata("design:type", crypto_1.CryptoSignature)
|
|
39
35
|
], RelationshipCreationChangeResponseSigned.prototype, "relationshipSignature", void 0);
|
|
40
|
-
RelationshipCreationChangeResponseSigned =
|
|
36
|
+
RelationshipCreationChangeResponseSigned = __decorate([
|
|
41
37
|
(0, ts_serval_1.type)("RelationshipCreationChangeResponseSigned")
|
|
42
38
|
], RelationshipCreationChangeResponseSigned);
|
|
43
39
|
exports.RelationshipCreationChangeResponseSigned = RelationshipCreationChangeResponseSigned;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RelationshipCreationChangeResponseSigned.js","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/responses/RelationshipCreationChangeResponseSigned.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RelationshipCreationChangeResponseSigned.js","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/responses/RelationshipCreationChangeResponseSigned.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,0CAAiE;AACjE,2CAAsE;AAStE,IAAa,wCAAwC,GAArD,MAAa,wCACT,SAAQ,uBAAgB;IAejB,MAAM,CAAC,IAAI,CAAC,KAAgD;QAC/D,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AAbG;IAFC,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;;oFACqB;AAIjC;IAFC,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACY,wBAAe;iFAAA;AAIvC;IAFC,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACkB,wBAAe;uFAAA;AAdpC,wCAAwC;IADpD,IAAA,gBAAI,EAAC,0CAA0C,CAAC;GACpC,wCAAwC,CAmBpD;AAnBY,4FAAwC"}
|