@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.
Files changed (433) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +2 -2
  3. package/dist/buildInformation.js +5 -5
  4. package/dist/core/CoreCrypto.js +2 -2
  5. package/dist/core/CoreCrypto.js.map +1 -1
  6. package/dist/core/CoreIdHelper.d.ts +2 -1
  7. package/dist/core/CoreIdHelper.d.ts.map +1 -1
  8. package/dist/core/CoreIdHelper.js +11 -6
  9. package/dist/core/CoreIdHelper.js.map +1 -1
  10. package/dist/core/CoreSynchronizable.d.ts +4 -4
  11. package/dist/core/CoreSynchronizable.d.ts.map +1 -1
  12. package/dist/core/CoreSynchronizable.js +3 -4
  13. package/dist/core/CoreSynchronizable.js.map +1 -1
  14. package/dist/core/Reference.d.ts +1 -1
  15. package/dist/core/Reference.d.ts.map +1 -1
  16. package/dist/core/Reference.js +7 -7
  17. package/dist/core/Reference.js.map +1 -1
  18. package/dist/core/Transport.js +4 -4
  19. package/dist/core/Transport.js.map +1 -1
  20. package/dist/core/TransportController.d.ts +2 -2
  21. package/dist/core/TransportController.d.ts.map +1 -1
  22. package/dist/core/TransportController.js.map +1 -1
  23. package/dist/core/{CoreErrors.d.ts → TransportCoreErrors.d.ts} +3 -3
  24. package/dist/core/TransportCoreErrors.d.ts.map +1 -0
  25. package/dist/core/TransportCoreErrors.js +147 -0
  26. package/dist/core/TransportCoreErrors.js.map +1 -0
  27. package/dist/core/backbone/AuthClient.d.ts +1 -1
  28. package/dist/core/backbone/AuthClient.d.ts.map +1 -1
  29. package/dist/core/backbone/AuthClient.js +2 -2
  30. package/dist/core/backbone/AuthClient.js.map +1 -1
  31. package/dist/core/backbone/Authenticator.d.ts.map +1 -1
  32. package/dist/core/backbone/ClientResult.d.ts +1 -1
  33. package/dist/core/backbone/ClientResult.d.ts.map +1 -1
  34. package/dist/core/backbone/ClientResult.js +3 -3
  35. package/dist/core/backbone/ClientResult.js.map +1 -1
  36. package/dist/core/backbone/RESTClient.js +2 -2
  37. package/dist/core/backbone/RESTClient.js.map +1 -1
  38. package/dist/core/backbone/RequestError.d.ts.map +1 -1
  39. package/dist/core/backbone/RequestError.js +2 -2
  40. package/dist/core/backbone/RequestError.js.map +1 -1
  41. package/dist/core/index.d.ts +1 -4
  42. package/dist/core/index.d.ts.map +1 -1
  43. package/dist/core/index.js +1 -4
  44. package/dist/core/index.js.map +1 -1
  45. package/dist/core/types/CoreHash.d.ts +5 -3
  46. package/dist/core/types/CoreHash.d.ts.map +1 -1
  47. package/dist/core/types/CoreHash.js +9 -2
  48. package/dist/core/types/CoreHash.js.map +1 -1
  49. package/dist/core/types/index.d.ts +0 -3
  50. package/dist/core/types/index.d.ts.map +1 -1
  51. package/dist/core/types/index.js +0 -3
  52. package/dist/core/types/index.js.map +1 -1
  53. package/dist/events/PeerDeletedEvent.d.ts +7 -0
  54. package/dist/events/PeerDeletedEvent.d.ts.map +1 -0
  55. package/dist/events/PeerDeletedEvent.js +12 -0
  56. package/dist/events/PeerDeletedEvent.js.map +1 -0
  57. package/dist/events/PeerDeletionCancelledEvent.d.ts +7 -0
  58. package/dist/events/PeerDeletionCancelledEvent.d.ts.map +1 -0
  59. package/dist/events/PeerDeletionCancelledEvent.js +12 -0
  60. package/dist/events/PeerDeletionCancelledEvent.js.map +1 -0
  61. package/dist/events/PeerToBeDeletedEvent.d.ts +7 -0
  62. package/dist/events/PeerToBeDeletedEvent.d.ts.map +1 -0
  63. package/dist/events/PeerToBeDeletedEvent.js +12 -0
  64. package/dist/events/PeerToBeDeletedEvent.js.map +1 -0
  65. package/dist/events/RelationshipDecomposedBySelfEvent.d.ts +1 -1
  66. package/dist/events/RelationshipDecomposedBySelfEvent.d.ts.map +1 -1
  67. package/dist/events/index.d.ts +3 -0
  68. package/dist/events/index.d.ts.map +1 -1
  69. package/dist/events/index.js +3 -0
  70. package/dist/events/index.js.map +1 -1
  71. package/dist/modules/accounts/AccountController.d.ts +2 -1
  72. package/dist/modules/accounts/AccountController.d.ts.map +1 -1
  73. package/dist/modules/accounts/AccountController.js +8 -7
  74. package/dist/modules/accounts/AccountController.js.map +1 -1
  75. package/dist/modules/accounts/IdentityController.d.ts +2 -1
  76. package/dist/modules/accounts/IdentityController.d.ts.map +1 -1
  77. package/dist/modules/accounts/IdentityController.js +1 -1
  78. package/dist/modules/accounts/IdentityController.js.map +1 -1
  79. package/dist/modules/accounts/IdentityDeletionProcessController.d.ts +2 -1
  80. package/dist/modules/accounts/IdentityDeletionProcessController.d.ts.map +1 -1
  81. package/dist/modules/accounts/IdentityDeletionProcessController.js +2 -1
  82. package/dist/modules/accounts/IdentityDeletionProcessController.js.map +1 -1
  83. package/dist/modules/accounts/IdentityUtil.d.ts +1 -1
  84. package/dist/modules/accounts/IdentityUtil.d.ts.map +1 -1
  85. package/dist/modules/accounts/IdentityUtil.js +2 -2
  86. package/dist/modules/accounts/IdentityUtil.js.map +1 -1
  87. package/dist/modules/accounts/data/CachedIdentityDeletionProcess.d.ts +3 -2
  88. package/dist/modules/accounts/data/CachedIdentityDeletionProcess.d.ts.map +1 -1
  89. package/dist/modules/accounts/data/CachedIdentityDeletionProcess.js +12 -12
  90. package/dist/modules/accounts/data/CachedIdentityDeletionProcess.js.map +1 -1
  91. package/dist/modules/accounts/data/Identity.d.ts +4 -3
  92. package/dist/modules/accounts/data/Identity.d.ts.map +1 -1
  93. package/dist/modules/accounts/data/Identity.js +3 -3
  94. package/dist/modules/accounts/data/Identity.js.map +1 -1
  95. package/dist/modules/accounts/data/IdentityDeletionProcess.d.ts +2 -1
  96. package/dist/modules/accounts/data/IdentityDeletionProcess.d.ts.map +1 -1
  97. package/dist/modules/accounts/data/IdentityDeletionProcess.js +3 -2
  98. package/dist/modules/accounts/data/IdentityDeletionProcess.js.map +1 -1
  99. package/dist/modules/accounts/data/IdentitySecretCredentials.d.ts +3 -3
  100. package/dist/modules/accounts/data/IdentitySecretCredentials.d.ts.map +1 -1
  101. package/dist/modules/accounts/data/IdentitySecretCredentials.js +1 -2
  102. package/dist/modules/accounts/data/IdentitySecretCredentials.js.map +1 -1
  103. package/dist/modules/certificates/CertificateIssuer.d.ts +2 -1
  104. package/dist/modules/certificates/CertificateIssuer.d.ts.map +1 -1
  105. package/dist/modules/certificates/CertificateIssuer.js +2 -1
  106. package/dist/modules/certificates/CertificateIssuer.js.map +1 -1
  107. package/dist/modules/certificates/data/Certificate.d.ts +3 -3
  108. package/dist/modules/certificates/data/Certificate.d.ts.map +1 -1
  109. package/dist/modules/certificates/data/Certificate.js +1 -1
  110. package/dist/modules/certificates/data/Certificate.js.map +1 -1
  111. package/dist/modules/certificates/data/CertificateConstraint.d.ts +3 -3
  112. package/dist/modules/certificates/data/CertificateConstraint.d.ts.map +1 -1
  113. package/dist/modules/certificates/data/CertificateConstraint.js +1 -2
  114. package/dist/modules/certificates/data/CertificateConstraint.js.map +1 -1
  115. package/dist/modules/certificates/data/CertificateContent.d.ts +6 -5
  116. package/dist/modules/certificates/data/CertificateContent.d.ts.map +1 -1
  117. package/dist/modules/certificates/data/CertificateContent.js +6 -6
  118. package/dist/modules/certificates/data/CertificateContent.js.map +1 -1
  119. package/dist/modules/certificates/data/CertificateItem.d.ts +3 -3
  120. package/dist/modules/certificates/data/CertificateItem.d.ts.map +1 -1
  121. package/dist/modules/certificates/data/CertificateItem.js +1 -2
  122. package/dist/modules/certificates/data/CertificateItem.js.map +1 -1
  123. package/dist/modules/certificates/data/constraints/CertificateIdentityConstraint.d.ts +1 -1
  124. package/dist/modules/certificates/data/constraints/CertificateIdentityConstraint.d.ts.map +1 -1
  125. package/dist/modules/certificates/data/constraints/CertificateIdentityConstraint.js +2 -2
  126. package/dist/modules/certificates/data/constraints/CertificateIdentityConstraint.js.map +1 -1
  127. package/dist/modules/certificates/data/constraints/CertificateTimeConstraint.d.ts +1 -1
  128. package/dist/modules/certificates/data/constraints/CertificateTimeConstraint.d.ts.map +1 -1
  129. package/dist/modules/certificates/data/constraints/CertificateTimeConstraint.js +3 -3
  130. package/dist/modules/certificates/data/constraints/CertificateTimeConstraint.js.map +1 -1
  131. package/dist/modules/certificates/data/items/CertificatePrivateAttributeItem.d.ts +2 -1
  132. package/dist/modules/certificates/data/items/CertificatePrivateAttributeItem.d.ts.map +1 -1
  133. package/dist/modules/certificates/data/items/CertificatePrivateAttributeItem.js +2 -2
  134. package/dist/modules/certificates/data/items/CertificatePrivateAttributeItem.js.map +1 -1
  135. package/dist/modules/certificates/data/items/CertificatePrivateAttributeItemSource.d.ts +1 -1
  136. package/dist/modules/certificates/data/items/CertificatePrivateAttributeItemSource.d.ts.map +1 -1
  137. package/dist/modules/certificates/data/items/CertificatePrivateAttributeItemSource.js +2 -2
  138. package/dist/modules/certificates/data/items/CertificatePrivateAttributeItemSource.js.map +1 -1
  139. package/dist/modules/challenges/ChallengeController.d.ts.map +1 -1
  140. package/dist/modules/challenges/ChallengeController.js +10 -9
  141. package/dist/modules/challenges/ChallengeController.js.map +1 -1
  142. package/dist/modules/challenges/data/Challenge.d.ts +4 -3
  143. package/dist/modules/challenges/data/Challenge.d.ts.map +1 -1
  144. package/dist/modules/challenges/data/Challenge.js +6 -6
  145. package/dist/modules/challenges/data/Challenge.js.map +1 -1
  146. package/dist/modules/challenges/data/ChallengeSigned.d.ts +3 -4
  147. package/dist/modules/challenges/data/ChallengeSigned.d.ts.map +1 -1
  148. package/dist/modules/challenges/data/ChallengeSigned.js +1 -2
  149. package/dist/modules/challenges/data/ChallengeSigned.js.map +1 -1
  150. package/dist/modules/devices/DeviceController.d.ts +2 -1
  151. package/dist/modules/devices/DeviceController.d.ts.map +1 -1
  152. package/dist/modules/devices/DeviceController.js +4 -4
  153. package/dist/modules/devices/DeviceController.js.map +1 -1
  154. package/dist/modules/devices/DeviceSecretController.d.ts.map +1 -1
  155. package/dist/modules/devices/DeviceSecretController.js +10 -9
  156. package/dist/modules/devices/DeviceSecretController.js.map +1 -1
  157. package/dist/modules/devices/DevicesController.d.ts +1 -1
  158. package/dist/modules/devices/DevicesController.d.ts.map +1 -1
  159. package/dist/modules/devices/DevicesController.js +9 -8
  160. package/dist/modules/devices/DevicesController.js.map +1 -1
  161. package/dist/modules/devices/local/Device.d.ts +1 -2
  162. package/dist/modules/devices/local/Device.d.ts.map +1 -1
  163. package/dist/modules/devices/local/Device.js +4 -5
  164. package/dist/modules/devices/local/Device.js.map +1 -1
  165. package/dist/modules/devices/local/DeviceSecretCredentials.d.ts +4 -3
  166. package/dist/modules/devices/local/DeviceSecretCredentials.d.ts.map +1 -1
  167. package/dist/modules/devices/local/DeviceSecretCredentials.js +3 -3
  168. package/dist/modules/devices/local/DeviceSecretCredentials.js.map +1 -1
  169. package/dist/modules/devices/local/SendDeviceParameters.d.ts +3 -3
  170. package/dist/modules/devices/local/SendDeviceParameters.d.ts.map +1 -1
  171. package/dist/modules/devices/local/SendDeviceParameters.js +1 -2
  172. package/dist/modules/devices/local/SendDeviceParameters.js.map +1 -1
  173. package/dist/modules/devices/transmission/DeviceSharedSecret.d.ts +4 -3
  174. package/dist/modules/devices/transmission/DeviceSharedSecret.d.ts.map +1 -1
  175. package/dist/modules/devices/transmission/DeviceSharedSecret.js +5 -5
  176. package/dist/modules/devices/transmission/DeviceSharedSecret.js.map +1 -1
  177. package/dist/modules/files/FileController.d.ts +1 -1
  178. package/dist/modules/files/FileController.d.ts.map +1 -1
  179. package/dist/modules/files/FileController.js +16 -15
  180. package/dist/modules/files/FileController.js.map +1 -1
  181. package/dist/modules/files/local/CachedFile.d.ts +6 -4
  182. package/dist/modules/files/local/CachedFile.d.ts.map +1 -1
  183. package/dist/modules/files/local/CachedFile.js +19 -18
  184. package/dist/modules/files/local/CachedFile.js.map +1 -1
  185. package/dist/modules/files/local/File.d.ts +2 -1
  186. package/dist/modules/files/local/File.d.ts.map +1 -1
  187. package/dist/modules/files/local/File.js +5 -4
  188. package/dist/modules/files/local/File.js.map +1 -1
  189. package/dist/modules/files/local/SendFileParameters.d.ts +4 -4
  190. package/dist/modules/files/local/SendFileParameters.d.ts.map +1 -1
  191. package/dist/modules/files/local/SendFileParameters.js +4 -5
  192. package/dist/modules/files/local/SendFileParameters.js.map +1 -1
  193. package/dist/modules/files/transmission/FileMetadata.d.ts +5 -3
  194. package/dist/modules/files/transmission/FileMetadata.d.ts.map +1 -1
  195. package/dist/modules/files/transmission/FileMetadata.js +3 -2
  196. package/dist/modules/files/transmission/FileMetadata.js.map +1 -1
  197. package/dist/modules/index.d.ts +1 -0
  198. package/dist/modules/index.d.ts.map +1 -1
  199. package/dist/modules/index.js +1 -0
  200. package/dist/modules/index.js.map +1 -1
  201. package/dist/modules/messages/MessageController.d.ts +1 -1
  202. package/dist/modules/messages/MessageController.d.ts.map +1 -1
  203. package/dist/modules/messages/MessageController.js +31 -30
  204. package/dist/modules/messages/MessageController.js.map +1 -1
  205. package/dist/modules/messages/local/CachedMessage.d.ts +3 -4
  206. package/dist/modules/messages/local/CachedMessage.d.ts.map +1 -1
  207. package/dist/modules/messages/local/CachedMessage.js +6 -7
  208. package/dist/modules/messages/local/CachedMessage.js.map +1 -1
  209. package/dist/modules/messages/local/CachedMessageRecipient.d.ts +4 -4
  210. package/dist/modules/messages/local/CachedMessageRecipient.d.ts.map +1 -1
  211. package/dist/modules/messages/local/CachedMessageRecipient.js +6 -7
  212. package/dist/modules/messages/local/CachedMessageRecipient.js.map +1 -1
  213. package/dist/modules/messages/local/Message.d.ts +2 -1
  214. package/dist/modules/messages/local/Message.d.ts.map +1 -1
  215. package/dist/modules/messages/local/Message.js +6 -5
  216. package/dist/modules/messages/local/Message.js.map +1 -1
  217. package/dist/modules/messages/local/SendMessageParameters.d.ts +3 -3
  218. package/dist/modules/messages/local/SendMessageParameters.d.ts.map +1 -1
  219. package/dist/modules/messages/local/SendMessageParameters.js +3 -3
  220. package/dist/modules/messages/local/SendMessageParameters.js.map +1 -1
  221. package/dist/modules/messages/transmission/MessageContentWrapper.d.ts +3 -5
  222. package/dist/modules/messages/transmission/MessageContentWrapper.d.ts.map +1 -1
  223. package/dist/modules/messages/transmission/MessageContentWrapper.js +4 -6
  224. package/dist/modules/messages/transmission/MessageContentWrapper.js.map +1 -1
  225. package/dist/modules/messages/transmission/MessageEnvelope.d.ts +4 -3
  226. package/dist/modules/messages/transmission/MessageEnvelope.d.ts.map +1 -1
  227. package/dist/modules/messages/transmission/MessageEnvelope.js +8 -8
  228. package/dist/modules/messages/transmission/MessageEnvelope.js.map +1 -1
  229. package/dist/modules/messages/transmission/MessageEnvelopeRecipient.d.ts +4 -4
  230. package/dist/modules/messages/transmission/MessageEnvelopeRecipient.d.ts.map +1 -1
  231. package/dist/modules/messages/transmission/MessageEnvelopeRecipient.js +5 -6
  232. package/dist/modules/messages/transmission/MessageEnvelopeRecipient.js.map +1 -1
  233. package/dist/modules/messages/transmission/MessageSignature.d.ts +4 -3
  234. package/dist/modules/messages/transmission/MessageSignature.d.ts.map +1 -1
  235. package/dist/modules/messages/transmission/MessageSignature.js +3 -3
  236. package/dist/modules/messages/transmission/MessageSignature.js.map +1 -1
  237. package/dist/modules/messages/transmission/MessageSigned.d.ts +3 -3
  238. package/dist/modules/messages/transmission/MessageSigned.d.ts.map +1 -1
  239. package/dist/modules/messages/transmission/MessageSigned.js +1 -2
  240. package/dist/modules/messages/transmission/MessageSigned.js.map +1 -1
  241. package/dist/modules/relationshipTemplates/RelationshipTemplateController.d.ts +1 -1
  242. package/dist/modules/relationshipTemplates/RelationshipTemplateController.d.ts.map +1 -1
  243. package/dist/modules/relationshipTemplates/RelationshipTemplateController.js +13 -12
  244. package/dist/modules/relationshipTemplates/RelationshipTemplateController.js.map +1 -1
  245. package/dist/modules/relationshipTemplates/local/CachedRelationshipTemplate.d.ts +3 -4
  246. package/dist/modules/relationshipTemplates/local/CachedRelationshipTemplate.d.ts.map +1 -1
  247. package/dist/modules/relationshipTemplates/local/CachedRelationshipTemplate.js +6 -7
  248. package/dist/modules/relationshipTemplates/local/CachedRelationshipTemplate.js.map +1 -1
  249. package/dist/modules/relationshipTemplates/local/RelationshipTemplate.d.ts +1 -1
  250. package/dist/modules/relationshipTemplates/local/RelationshipTemplate.d.ts.map +1 -1
  251. package/dist/modules/relationshipTemplates/local/RelationshipTemplate.js +5 -5
  252. package/dist/modules/relationshipTemplates/local/RelationshipTemplate.js.map +1 -1
  253. package/dist/modules/relationshipTemplates/local/SendRelationshipTemplateParameters.d.ts +4 -4
  254. package/dist/modules/relationshipTemplates/local/SendRelationshipTemplateParameters.d.ts.map +1 -1
  255. package/dist/modules/relationshipTemplates/local/SendRelationshipTemplateParameters.js +3 -3
  256. package/dist/modules/relationshipTemplates/local/SendRelationshipTemplateParameters.js.map +1 -1
  257. package/dist/modules/relationshipTemplates/transmission/RelationshipTemplateContentWrapper.d.ts +2 -3
  258. package/dist/modules/relationshipTemplates/transmission/RelationshipTemplateContentWrapper.d.ts.map +1 -1
  259. package/dist/modules/relationshipTemplates/transmission/RelationshipTemplateContentWrapper.js +1 -2
  260. package/dist/modules/relationshipTemplates/transmission/RelationshipTemplateContentWrapper.js.map +1 -1
  261. package/dist/modules/relationshipTemplates/transmission/RelationshipTemplatePublicKey.d.ts +1 -1
  262. package/dist/modules/relationshipTemplates/transmission/RelationshipTemplatePublicKey.d.ts.map +1 -1
  263. package/dist/modules/relationshipTemplates/transmission/RelationshipTemplatePublicKey.js +2 -2
  264. package/dist/modules/relationshipTemplates/transmission/RelationshipTemplatePublicKey.js.map +1 -1
  265. package/dist/modules/relationshipTemplates/transmission/RelationshipTemplateSigned.d.ts +3 -3
  266. package/dist/modules/relationshipTemplates/transmission/RelationshipTemplateSigned.d.ts.map +1 -1
  267. package/dist/modules/relationshipTemplates/transmission/RelationshipTemplateSigned.js +1 -2
  268. package/dist/modules/relationshipTemplates/transmission/RelationshipTemplateSigned.js.map +1 -1
  269. package/dist/modules/relationships/RelationshipSecretController.d.ts +1 -1
  270. package/dist/modules/relationships/RelationshipSecretController.d.ts.map +1 -1
  271. package/dist/modules/relationships/RelationshipSecretController.js +25 -24
  272. package/dist/modules/relationships/RelationshipSecretController.js.map +1 -1
  273. package/dist/modules/relationships/RelationshipsController.d.ts +4 -1
  274. package/dist/modules/relationships/RelationshipsController.d.ts.map +1 -1
  275. package/dist/modules/relationships/RelationshipsController.js +42 -32
  276. package/dist/modules/relationships/RelationshipsController.js.map +1 -1
  277. package/dist/modules/relationships/local/CachedRelationship.d.ts +3 -3
  278. package/dist/modules/relationships/local/CachedRelationship.d.ts.map +1 -1
  279. package/dist/modules/relationships/local/CachedRelationship.js +4 -4
  280. package/dist/modules/relationships/local/CachedRelationship.js.map +1 -1
  281. package/dist/modules/relationships/local/PeerDeletionInfo.d.ts +16 -0
  282. package/dist/modules/relationships/local/PeerDeletionInfo.d.ts.map +1 -0
  283. package/dist/{core/types/CoreAddress.js → modules/relationships/local/PeerDeletionInfo.js} +14 -32
  284. package/dist/modules/relationships/local/PeerDeletionInfo.js.map +1 -0
  285. package/dist/modules/relationships/local/Relationship.d.ts +5 -1
  286. package/dist/modules/relationships/local/Relationship.d.ts.map +1 -1
  287. package/dist/modules/relationships/local/Relationship.js +16 -8
  288. package/dist/modules/relationships/local/Relationship.js.map +1 -1
  289. package/dist/modules/relationships/local/RelationshipAuditLog.js +4 -4
  290. package/dist/modules/relationships/local/RelationshipAuditLog.js.map +1 -1
  291. package/dist/modules/relationships/local/RelationshipAuditLogEntry.d.ts +4 -3
  292. package/dist/modules/relationships/local/RelationshipAuditLogEntry.d.ts.map +1 -1
  293. package/dist/modules/relationships/local/RelationshipAuditLogEntry.js +5 -5
  294. package/dist/modules/relationships/local/RelationshipAuditLogEntry.js.map +1 -1
  295. package/dist/modules/relationships/local/SendRelationshipParameters.d.ts +2 -3
  296. package/dist/modules/relationships/local/SendRelationshipParameters.d.ts.map +1 -1
  297. package/dist/modules/relationships/local/SendRelationshipParameters.js +1 -2
  298. package/dist/modules/relationships/local/SendRelationshipParameters.js.map +1 -1
  299. package/dist/modules/relationships/transmission/requests/RelationshipCreationContentCipher.d.ts +5 -3
  300. package/dist/modules/relationships/transmission/requests/RelationshipCreationContentCipher.d.ts.map +1 -1
  301. package/dist/modules/relationships/transmission/requests/RelationshipCreationContentCipher.js +10 -3
  302. package/dist/modules/relationships/transmission/requests/RelationshipCreationContentCipher.js.map +1 -1
  303. package/dist/modules/relationships/transmission/requests/RelationshipCreationContentSigned.d.ts +3 -3
  304. package/dist/modules/relationships/transmission/requests/RelationshipCreationContentSigned.d.ts.map +1 -1
  305. package/dist/modules/relationships/transmission/requests/RelationshipCreationContentSigned.js +1 -2
  306. package/dist/modules/relationships/transmission/requests/RelationshipCreationContentSigned.js.map +1 -1
  307. package/dist/modules/relationships/transmission/requests/RelationshipCreationContentWrapper.d.ts +3 -3
  308. package/dist/modules/relationships/transmission/requests/RelationshipCreationContentWrapper.d.ts.map +1 -1
  309. package/dist/modules/relationships/transmission/requests/RelationshipCreationContentWrapper.js +3 -3
  310. package/dist/modules/relationships/transmission/requests/RelationshipCreationContentWrapper.js.map +1 -1
  311. package/dist/modules/relationships/transmission/responses/RelationshipCreationResponseContentCipher.d.ts +4 -3
  312. package/dist/modules/relationships/transmission/responses/RelationshipCreationResponseContentCipher.d.ts.map +1 -1
  313. package/dist/modules/relationships/transmission/responses/RelationshipCreationResponseContentCipher.js +6 -3
  314. package/dist/modules/relationships/transmission/responses/RelationshipCreationResponseContentCipher.js.map +1 -1
  315. package/dist/modules/relationships/transmission/responses/RelationshipCreationResponseContentSigned.d.ts +3 -3
  316. package/dist/modules/relationships/transmission/responses/RelationshipCreationResponseContentSigned.d.ts.map +1 -1
  317. package/dist/modules/relationships/transmission/responses/RelationshipCreationResponseContentSigned.js +1 -2
  318. package/dist/modules/relationships/transmission/responses/RelationshipCreationResponseContentSigned.js.map +1 -1
  319. package/dist/modules/relationships/transmission/responses/RelationshipCreationResponseContentWrapper.d.ts +4 -3
  320. package/dist/modules/relationships/transmission/responses/RelationshipCreationResponseContentWrapper.d.ts.map +1 -1
  321. package/dist/modules/relationships/transmission/responses/RelationshipCreationResponseContentWrapper.js +3 -3
  322. package/dist/modules/relationships/transmission/responses/RelationshipCreationResponseContentWrapper.js.map +1 -1
  323. package/dist/modules/secrets/SecretController.d.ts +1 -1
  324. package/dist/modules/secrets/SecretController.d.ts.map +1 -1
  325. package/dist/modules/secrets/SecretController.js +6 -5
  326. package/dist/modules/secrets/SecretController.js.map +1 -1
  327. package/dist/modules/secrets/data/SecretContainerCipher.d.ts +1 -1
  328. package/dist/modules/secrets/data/SecretContainerCipher.d.ts.map +1 -1
  329. package/dist/modules/secrets/data/SecretContainerCipher.js +4 -4
  330. package/dist/modules/secrets/data/SecretContainerCipher.js.map +1 -1
  331. package/dist/modules/secrets/data/SecretContainerPlain.d.ts +5 -5
  332. package/dist/modules/secrets/data/SecretContainerPlain.d.ts.map +1 -1
  333. package/dist/modules/secrets/data/SecretContainerPlain.js +6 -6
  334. package/dist/modules/secrets/data/SecretContainerPlain.js.map +1 -1
  335. package/dist/modules/sync/DatawalletModificationMapper.d.ts.map +1 -1
  336. package/dist/modules/sync/DatawalletModificationMapper.js +2 -1
  337. package/dist/modules/sync/DatawalletModificationMapper.js.map +1 -1
  338. package/dist/modules/sync/DatawalletModificationsProcessor.d.ts +1 -1
  339. package/dist/modules/sync/DatawalletModificationsProcessor.d.ts.map +1 -1
  340. package/dist/modules/sync/DatawalletModificationsProcessor.js +7 -5
  341. package/dist/modules/sync/DatawalletModificationsProcessor.js.map +1 -1
  342. package/dist/modules/sync/SyncController.d.ts +2 -1
  343. package/dist/modules/sync/SyncController.d.ts.map +1 -1
  344. package/dist/modules/sync/SyncController.js +12 -21
  345. package/dist/modules/sync/SyncController.js.map +1 -1
  346. package/dist/modules/sync/SynchronizedCollection.js +2 -2
  347. package/dist/modules/sync/SynchronizedCollection.js.map +1 -1
  348. package/dist/modules/sync/externalEventProcessors/ExternalEventProcessorRegistry.d.ts.map +1 -1
  349. package/dist/modules/sync/externalEventProcessors/ExternalEventProcessorRegistry.js +6 -0
  350. package/dist/modules/sync/externalEventProcessors/ExternalEventProcessorRegistry.js.map +1 -1
  351. package/dist/modules/sync/externalEventProcessors/MessageReceivedExternalEventProcessor.js +2 -2
  352. package/dist/modules/sync/externalEventProcessors/MessageReceivedExternalEventProcessor.js.map +1 -1
  353. package/dist/modules/sync/externalEventProcessors/PeerDeletedExternalEventProcessor.d.ts +7 -0
  354. package/dist/modules/sync/externalEventProcessors/PeerDeletedExternalEventProcessor.d.ts.map +1 -0
  355. package/dist/modules/sync/externalEventProcessors/PeerDeletedExternalEventProcessor.js +35 -0
  356. package/dist/modules/sync/externalEventProcessors/PeerDeletedExternalEventProcessor.js.map +1 -0
  357. package/dist/modules/sync/externalEventProcessors/PeerDeletionCancelledExternalEventProcessor.d.ts +7 -0
  358. package/dist/modules/sync/externalEventProcessors/PeerDeletionCancelledExternalEventProcessor.d.ts.map +1 -0
  359. package/dist/modules/sync/externalEventProcessors/PeerDeletionCancelledExternalEventProcessor.js +33 -0
  360. package/dist/modules/sync/externalEventProcessors/PeerDeletionCancelledExternalEventProcessor.js.map +1 -0
  361. package/dist/modules/sync/externalEventProcessors/PeerToBeDeletedExternalEventProcessor.d.ts +7 -0
  362. package/dist/modules/sync/externalEventProcessors/PeerToBeDeletedExternalEventProcessor.d.ts.map +1 -0
  363. package/dist/modules/sync/externalEventProcessors/PeerToBeDeletedExternalEventProcessor.js +35 -0
  364. package/dist/modules/sync/externalEventProcessors/PeerToBeDeletedExternalEventProcessor.js.map +1 -0
  365. package/dist/modules/sync/local/DatawalletModification.d.ts +4 -3
  366. package/dist/modules/sync/local/DatawalletModification.d.ts.map +1 -1
  367. package/dist/modules/sync/local/DatawalletModification.js +4 -4
  368. package/dist/modules/sync/local/DatawalletModification.js.map +1 -1
  369. package/dist/modules/tokens/AnonymousTokenController.d.ts +2 -1
  370. package/dist/modules/tokens/AnonymousTokenController.d.ts.map +1 -1
  371. package/dist/modules/tokens/AnonymousTokenController.js +7 -6
  372. package/dist/modules/tokens/AnonymousTokenController.js.map +1 -1
  373. package/dist/modules/tokens/TokenController.d.ts +1 -1
  374. package/dist/modules/tokens/TokenController.d.ts.map +1 -1
  375. package/dist/modules/tokens/TokenController.js +14 -13
  376. package/dist/modules/tokens/TokenController.js.map +1 -1
  377. package/dist/modules/tokens/local/CachedToken.d.ts +3 -3
  378. package/dist/modules/tokens/local/CachedToken.d.ts.map +1 -1
  379. package/dist/modules/tokens/local/CachedToken.js +6 -6
  380. package/dist/modules/tokens/local/CachedToken.js.map +1 -1
  381. package/dist/modules/tokens/local/SendTokenParameters.d.ts +3 -3
  382. package/dist/modules/tokens/local/SendTokenParameters.d.ts.map +1 -1
  383. package/dist/modules/tokens/local/SendTokenParameters.js +3 -3
  384. package/dist/modules/tokens/local/SendTokenParameters.js.map +1 -1
  385. package/dist/modules/tokens/local/Token.d.ts +2 -1
  386. package/dist/modules/tokens/local/Token.d.ts.map +1 -1
  387. package/dist/modules/tokens/local/Token.js +5 -4
  388. package/dist/modules/tokens/local/Token.js.map +1 -1
  389. package/dist/modules/tokens/transmission/TokenContentDeviceSharedSecret.d.ts +3 -3
  390. package/dist/modules/tokens/transmission/TokenContentDeviceSharedSecret.d.ts.map +1 -1
  391. package/dist/modules/tokens/transmission/TokenContentDeviceSharedSecret.js +1 -2
  392. package/dist/modules/tokens/transmission/TokenContentDeviceSharedSecret.js.map +1 -1
  393. package/dist/modules/tokens/transmission/TokenContentFile.d.ts +4 -3
  394. package/dist/modules/tokens/transmission/TokenContentFile.d.ts.map +1 -1
  395. package/dist/modules/tokens/transmission/TokenContentFile.js +3 -3
  396. package/dist/modules/tokens/transmission/TokenContentFile.js.map +1 -1
  397. package/dist/modules/tokens/transmission/TokenContentRelationshipTemplate.d.ts +4 -3
  398. package/dist/modules/tokens/transmission/TokenContentRelationshipTemplate.d.ts.map +1 -1
  399. package/dist/modules/tokens/transmission/TokenContentRelationshipTemplate.js +3 -3
  400. package/dist/modules/tokens/transmission/TokenContentRelationshipTemplate.js.map +1 -1
  401. package/dist/util/PasswordGenerator.d.ts.map +1 -1
  402. package/dist/util/PasswordGenerator.js +1 -2
  403. package/dist/util/PasswordGenerator.js.map +1 -1
  404. package/dist/util/Random.d.ts.map +1 -1
  405. package/dist/util/Random.js +7 -8
  406. package/dist/util/Random.js.map +1 -1
  407. package/package.json +8 -8
  408. package/dist/core/CoreError.d.ts +0 -19
  409. package/dist/core/CoreError.d.ts.map +0 -1
  410. package/dist/core/CoreError.js +0 -63
  411. package/dist/core/CoreError.js.map +0 -1
  412. package/dist/core/CoreErrors.d.ts.map +0 -1
  413. package/dist/core/CoreErrors.js +0 -147
  414. package/dist/core/CoreErrors.js.map +0 -1
  415. package/dist/core/CoreSerializable.d.ts +0 -17
  416. package/dist/core/CoreSerializable.d.ts.map +0 -1
  417. package/dist/core/CoreSerializable.js +0 -37
  418. package/dist/core/CoreSerializable.js.map +0 -1
  419. package/dist/core/CoreSerializableAsync.d.ts +0 -17
  420. package/dist/core/CoreSerializableAsync.d.ts.map +0 -1
  421. package/dist/core/CoreSerializableAsync.js +0 -38
  422. package/dist/core/CoreSerializableAsync.js.map +0 -1
  423. package/dist/core/types/CoreAddress.d.ts +0 -16
  424. package/dist/core/types/CoreAddress.d.ts.map +0 -1
  425. package/dist/core/types/CoreAddress.js.map +0 -1
  426. package/dist/core/types/CoreDate.d.ts +0 -40
  427. package/dist/core/types/CoreDate.d.ts.map +0 -1
  428. package/dist/core/types/CoreDate.js +0 -152
  429. package/dist/core/types/CoreDate.js.map +0 -1
  430. package/dist/core/types/CoreId.d.ts +0 -17
  431. package/dist/core/types/CoreId.d.ts.map +0 -1
  432. package/dist/core/types/CoreId.js +0 -57
  433. 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: core_1.CoreId.from(response.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: core_1.CoreDate.utc()
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 = core_1.CoreDate.utc();
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 = core_1.CoreDate.utc();
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", core_1.CoreId)
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", core_1.CoreDate)
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", core_1.CoreDate)
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")
@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,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: core_1.CoreDate.from(entry.createdAt),
15
- createdBy: core_1.CoreAddress.from(entry.createdBy),
16
- createdByDevice: core_1.CoreId.from(entry.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,oDAAuB;AACvB,wCAA8D;AAE9D,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,eAAQ,CAA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CAAC,KAAK,CAAC,CAAC,CAAC;IACvD,CAAC;CACJ;AAfD,oDAeC"}
@@ -1,7 +1,8 @@
1
- import { CoreAddress, CoreDate, CoreId, CoreSerializable, ICoreAddress, ICoreDate, ICoreId } from "../../../core";
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 CoreSerializable implements IRelationshipAuditLogEntry {
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":"AACA,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,EAAE,gBAAgB,EAAE,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAClH,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AACvF,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAExE,MAAM,WAAW,0BAA0B;IACvC,SAAS,EAAE,SAAS,CAAC;IACrB,SAAS,EAAE,YAAY,CAAC;IACxB,eAAe,EAAE,OAAO,CAAC;IACzB,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xC,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 core_1 = require("../../../core");
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 core_1.CoreSerializable {
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", core_1.CoreDate)
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", core_1.CoreAddress)
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", core_1.CoreId)
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 @@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AE,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
+ {"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 ICoreSerializable {
3
+ export interface ISendRelationshipParameters extends ISerializable {
5
4
  creationContent: ISerializable;
6
5
  template: IRelationshipTemplate;
7
6
  }
8
- export declare class SendRelationshipParameters extends CoreSerializable implements ISendRelationshipParameters {
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,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AACpE,OAAO,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,wDAAwD,CAAC;AAErH,MAAM,WAAW,2BAA4B,SAAQ,iBAAiB;IAClE,eAAe,EAAE,aAAa,CAAC;IAC/B,QAAQ,EAAE,qBAAqB,CAAC;CACnC;AAED,qBACa,0BAA2B,SAAQ,gBAAiB,YAAW,2BAA2B;IAG5F,eAAe,EAAE,YAAY,CAAC;IAI9B,QAAQ,EAAE,oBAAoB,CAAC;WAExB,IAAI,CAAC,KAAK,EAAE,2BAA2B,GAAG,0BAA0B;CAGrF"}
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 core_1.CoreSerializable {
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,wCAAoE;AACpE,iGAAqH;AAQ9G,IAAM,0BAA0B,GAAhC,MAAM,0BAA2B,SAAQ,uBAAgB;IASrD,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"}
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"}
@@ -1,13 +1,15 @@
1
+ import { ISerializable, Serializable } from "@js-soft/ts-serval";
1
2
  import { CryptoCipher, CryptoRelationshipPublicRequest, ICryptoCipher, ICryptoRelationshipPublicRequest } from "@nmshd/crypto";
2
- import { CoreSerializable, ICoreSerializable } from "../../../../core";
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 CoreSerializable implements IRelationshipCreationContentCipher {
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
@@ -1 +1 @@
1
- {"version":3,"file":"RelationshipCreationContentCipher.d.ts","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/requests/RelationshipCreationContentCipher.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,+BAA+B,EAAE,aAAa,EAAE,gCAAgC,EAAE,MAAM,eAAe,CAAC;AAC/H,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAEvE,MAAM,WAAW,kCAAmC,SAAQ,iBAAiB;IACzE,MAAM,EAAE,aAAa,CAAC;IACtB,2BAA2B,EAAE,gCAAgC,CAAC;CACjE;AAED,qBACa,iCAAkC,SAAQ,gBAAiB,YAAW,kCAAkC;IAG1G,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;CAG7E"}
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"}
@@ -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
- const core_1 = require("../../../../core");
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
- return super.fromBase64T(value);
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;
@@ -1 +1 @@
1
- {"version":3,"file":"RelationshipCreationContentCipher.js","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/requests/RelationshipCreationContentCipher.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA+D;AAC/D,0CAA+H;AAC/H,2CAAuE;AAQhE,IAAM,iCAAiC,GAAvC,MAAM,iCAAkC,SAAQ,uBAAgB;IAS5D,MAAM,CAAC,IAAI,CAAC,KAAyC;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;IAEM,MAAM,CAAC,UAAU,CAAC,KAAa;QAClC,OAAO,KAAK,CAAC,WAAW,CAAoC,KAAK,CAAC,CAAC;IACvE,CAAC;CACJ,CAAA;AAhBY,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,CAgB7C"}
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"}
@@ -1,11 +1,11 @@
1
+ import { ISerializable, Serializable } from "@js-soft/ts-serval";
1
2
  import { CryptoSignature, ICryptoSignature } from "@nmshd/crypto";
2
- import { CoreSerializable, ICoreSerializable } from "../../../../core";
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 CoreSerializable implements IRelationshipCreationContentSigned {
8
+ export declare class RelationshipCreationContentSigned extends Serializable implements IRelationshipCreationContentSigned {
9
9
  serializedCreationContent: string;
10
10
  deviceSignature: CryptoSignature;
11
11
  relationshipSignature: CryptoSignature;
@@ -1 +1 @@
1
- {"version":3,"file":"RelationshipCreationContentSigned.d.ts","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/requests/RelationshipCreationContentSigned.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAEvE,MAAM,WAAW,kCAAmC,SAAQ,iBAAiB;IACzE,yBAAyB,EAAE,MAAM,CAAC;IAClC,eAAe,EAAE,gBAAgB,CAAC;IAClC,qBAAqB,EAAE,gBAAgB,CAAC;CAC3C;AAED,qBACa,iCAAkC,SAAQ,gBAAiB,YAAW,kCAAkC;IAG1G,yBAAyB,EAAE,MAAM,CAAC;IAIlC,eAAe,EAAE,eAAe,CAAC;IAIjC,qBAAqB,EAAE,eAAe,CAAC;WAEhC,IAAI,CAAC,KAAK,EAAE,kCAAkC,GAAG,iCAAiC;CAGnG"}
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"}
@@ -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
- const core_1 = require("../../../../core");
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
  }
@@ -1 +1 @@
1
- {"version":3,"file":"RelationshipCreationContentSigned.js","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/requests/RelationshipCreationContentSigned.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA+D;AAC/D,0CAAkE;AAClE,2CAAuE;AAShE,IAAM,iCAAiC,GAAvC,MAAM,iCAAkC,SAAQ,uBAAgB;IAa5D,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"}
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"}
@@ -1,12 +1,12 @@
1
1
  import { ISerializable, Serializable } from "@js-soft/ts-serval";
2
- import { CoreId, CoreSerializable, ICoreId, ICoreSerializable } from "../../../../core";
2
+ import { CoreId, ICoreId } from "@nmshd/core-types";
3
3
  import { Identity, IIdentity } from "../../../accounts/data/Identity";
4
- export interface IRelationshipCreationContentWrapper extends ICoreSerializable {
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 CoreSerializable implements IRelationshipCreationContentWrapper {
9
+ export declare class RelationshipCreationContentWrapper extends Serializable implements IRelationshipCreationContentWrapper {
10
10
  identity: Identity;
11
11
  content: Serializable;
12
12
  templateId: CoreId;
@@ -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,gBAAgB,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACxF,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAEtE,MAAM,WAAW,mCAAoC,SAAQ,iBAAiB;IAC1E,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,EAAE,aAAa,CAAC;IACvB,UAAU,EAAE,OAAO,CAAC;CACvB;AAED,qBACa,kCAAmC,SAAQ,gBAAiB,YAAW,mCAAmC;IAG5G,QAAQ,EAAE,QAAQ,CAAC;IAInB,OAAO,EAAE,YAAY,CAAC;IAItB,UAAU,EAAE,MAAM,CAAC;WAEZ,IAAI,CAAC,KAAK,EAAE,mCAAmC,GAAG,kCAAkC;CAGrG"}
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"}
@@ -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 core_1 = require("../../../../core");
14
+ const core_types_1 = require("@nmshd/core-types");
15
15
  const Identity_1 = require("../../../accounts/data/Identity");
16
- let RelationshipCreationContentWrapper = class RelationshipCreationContentWrapper extends core_1.CoreSerializable {
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", core_1.CoreId)
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")
@@ -1 +1 @@
1
- {"version":3,"file":"RelationshipCreationContentWrapper.js","sourceRoot":"","sources":["../../../../../src/modules/relationships/transmission/requests/RelationshipCreationContentWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA4F;AAC5F,2CAAwF;AACxF,8DAAsE;AAS/D,IAAM,kCAAkC,GAAxC,MAAM,kCAAmC,SAAQ,uBAAgB;IAa7D,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,aAAM;sEAAC;6CAXjB,kCAAkC;IAD9C,IAAA,gBAAI,EAAC,oCAAoC,CAAC;GAC9B,kCAAkC,CAgB9C"}
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
- import { CoreSerializable, ICoreSerializable } from "../../../../core";
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 CoreSerializable implements IRelationshipCreationResponseContentCipher {
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":"AACA,OAAO,EAAE,YAAY,EAAE,gCAAgC,EAAE,aAAa,EAAE,iCAAiC,EAAE,MAAM,eAAe,CAAC;AACjI,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAEvE,MAAM,WAAW,0CAA2C,SAAQ,iBAAiB;IACjF,MAAM,EAAE,aAAa,CAAC;IACtB,mCAAmC,EAAE,iCAAiC,CAAC;CAC1E;AAED,qBACa,yCAA0C,SAAQ,gBAAiB,YAAW,0CAA0C;IAG1H,MAAM,EAAE,YAAY,CAAC;IAIrB,mCAAmC,EAAE,gCAAgC,CAAC;WAE/D,IAAI,CAAC,KAAK,EAAE,0CAA0C,GAAG,yCAAyC;WAIlG,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,yCAAyC;CAGrF"}
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
- const core_1 = require("../../../../core");
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
- return super.fromBase64T(value);
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,kDAA+D;AAC/D,0CAAiI;AACjI,2CAAuE;AAQhE,IAAM,yCAAyC,GAA/C,MAAM,yCAA0C,SAAQ,uBAAgB;IASpE,MAAM,CAAC,IAAI,CAAC,KAAiD;QAChE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;IAEM,MAAM,CAAC,UAAU,CAAC,KAAa;QAClC,OAAO,KAAK,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;IACpC,CAAC;CACJ,CAAA;AAhBY,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,CAgBrD"}
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
- import { CoreSerializable, ICoreSerializable } from "../../../../core";
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 CoreSerializable implements IRelationshipCreationResponseContentSigned {
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":"AACA,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAEvE,MAAM,WAAW,0CAA2C,SAAQ,iBAAiB;IACjF,iCAAiC,EAAE,MAAM,CAAC;IAC1C,eAAe,EAAE,gBAAgB,CAAC;IAClC,qBAAqB,EAAE,gBAAgB,CAAC;CAC3C;AAED,qBACa,yCAA0C,SAAQ,gBAAiB,YAAW,0CAA0C;IAG1H,iCAAiC,EAAE,MAAM,CAAC;IAI1C,eAAe,EAAE,eAAe,CAAC;IAIjC,qBAAqB,EAAE,eAAe,CAAC;WAEhC,IAAI,CAAC,KAAK,EAAE,0CAA0C,GAAG,yCAAyC;CAGnH"}
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
- const core_1 = require("../../../../core");
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,kDAA+D;AAC/D,0CAAkE;AAClE,2CAAuE;AAShE,IAAM,yCAAyC,GAA/C,MAAM,yCAA0C,SAAQ,uBAAgB;IAapE,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
+ {"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 { CoreId, CoreSerializable, ICoreId, ICoreSerializable } from "../../../../core";
2
- export interface IRelationshipCreationResponseContentWrapper extends ICoreSerializable {
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 CoreSerializable implements IRelationshipCreationResponseContentWrapper {
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":"AACA,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAExF,MAAM,WAAW,2CAA4C,SAAQ,iBAAiB;IAClF,cAAc,EAAE,OAAO,CAAC;CAC3B;AAED,qBACa,0CAA2C,SAAQ,gBAAiB,YAAW,2CAA2C;IAG5H,cAAc,EAAE,MAAM,CAAC;WAEhB,IAAI,CAAC,KAAK,EAAE,2CAA2C,GAAG,0CAA0C;CAGrH"}
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 core_1 = require("../../../../core");
15
- let RelationshipCreationResponseContentWrapper = class RelationshipCreationResponseContentWrapper extends core_1.CoreSerializable {
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", core_1.CoreId)
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,kDAA+D;AAC/D,2CAAwF;AAOjF,IAAM,0CAA0C,GAAhD,MAAM,0CAA2C,SAAQ,uBAAgB;IAKrE,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,aAAM;kFAAC;qDAHrB,0CAA0C;IADtD,IAAA,gBAAI,EAAC,4CAA4C,CAAC;GACtC,0CAA0C,CAQtD"}
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,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