@nmshd/consumption 7.0.0-alpha.70 → 7.0.0-alpha.72

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 (260) hide show
  1. package/dist/buildInformation.js +4 -4
  2. package/dist/consumption/ConsumptionConfig.d.ts +1 -1
  3. package/dist/consumption/ConsumptionConfig.d.ts.map +1 -1
  4. package/dist/consumption/ConsumptionController.d.ts.map +1 -1
  5. package/dist/consumption/ConsumptionController.js +5 -5
  6. package/dist/consumption/ConsumptionController.js.map +1 -1
  7. package/dist/consumption/ConsumptionCoreErrors.d.ts +7 -37
  8. package/dist/consumption/ConsumptionCoreErrors.d.ts.map +1 -1
  9. package/dist/consumption/ConsumptionCoreErrors.js +18 -114
  10. package/dist/consumption/ConsumptionCoreErrors.js.map +1 -1
  11. package/dist/consumption/ConsumptionIds.d.ts +1 -0
  12. package/dist/consumption/ConsumptionIds.d.ts.map +1 -1
  13. package/dist/consumption/ConsumptionIds.js +1 -0
  14. package/dist/consumption/ConsumptionIds.js.map +1 -1
  15. package/dist/modules/attributes/AttributesController.d.ts +106 -69
  16. package/dist/modules/attributes/AttributesController.d.ts.map +1 -1
  17. package/dist/modules/attributes/AttributesController.js +640 -732
  18. package/dist/modules/attributes/AttributesController.js.map +1 -1
  19. package/dist/modules/attributes/events/AttributeCreatedEvent.d.ts +1 -1
  20. package/dist/modules/attributes/events/AttributeCreatedEvent.d.ts.map +1 -1
  21. package/dist/modules/attributes/events/AttributeDeletedEvent.d.ts +1 -1
  22. package/dist/modules/attributes/events/AttributeDeletedEvent.d.ts.map +1 -1
  23. package/dist/modules/attributes/events/AttributeForwardingDetailsChangedEvent.d.ts +9 -0
  24. package/dist/modules/attributes/events/AttributeForwardingDetailsChangedEvent.d.ts.map +1 -0
  25. package/dist/modules/attributes/events/AttributeForwardingDetailsChangedEvent.js +12 -0
  26. package/dist/modules/attributes/events/AttributeForwardingDetailsChangedEvent.js.map +1 -0
  27. package/dist/modules/attributes/events/AttributeSucceededEvent.d.ts +11 -0
  28. package/dist/modules/attributes/events/AttributeSucceededEvent.d.ts.map +1 -0
  29. package/dist/modules/attributes/events/AttributeSucceededEvent.js +12 -0
  30. package/dist/modules/attributes/events/AttributeSucceededEvent.js.map +1 -0
  31. package/dist/modules/attributes/events/AttributeWasViewedAtChangedEvent.d.ts +1 -1
  32. package/dist/modules/attributes/events/AttributeWasViewedAtChangedEvent.d.ts.map +1 -1
  33. package/dist/modules/attributes/events/ForwardedAttributeDeletedByPeerEvent.d.ts +7 -0
  34. package/dist/modules/attributes/events/ForwardedAttributeDeletedByPeerEvent.d.ts.map +1 -0
  35. package/dist/modules/attributes/events/ForwardedAttributeDeletedByPeerEvent.js +12 -0
  36. package/dist/modules/attributes/events/ForwardedAttributeDeletedByPeerEvent.js.map +1 -0
  37. package/dist/modules/attributes/events/OwnAttributeDeletedByOwnerEvent.d.ts +7 -0
  38. package/dist/modules/attributes/events/OwnAttributeDeletedByOwnerEvent.d.ts.map +1 -0
  39. package/dist/modules/attributes/events/OwnAttributeDeletedByOwnerEvent.js +12 -0
  40. package/dist/modules/attributes/events/OwnAttributeDeletedByOwnerEvent.js.map +1 -0
  41. package/dist/modules/attributes/events/PeerRelationshipAttributeDeletedByPeerEvent.d.ts +7 -0
  42. package/dist/modules/attributes/events/PeerRelationshipAttributeDeletedByPeerEvent.d.ts.map +1 -0
  43. package/dist/modules/attributes/events/PeerRelationshipAttributeDeletedByPeerEvent.js +12 -0
  44. package/dist/modules/attributes/events/PeerRelationshipAttributeDeletedByPeerEvent.js.map +1 -0
  45. package/dist/modules/attributes/events/index.d.ts +5 -9
  46. package/dist/modules/attributes/events/index.d.ts.map +1 -1
  47. package/dist/modules/attributes/events/index.js +5 -9
  48. package/dist/modules/attributes/events/index.js.map +1 -1
  49. package/dist/modules/attributes/index.d.ts +9 -7
  50. package/dist/modules/attributes/index.d.ts.map +1 -1
  51. package/dist/modules/attributes/index.js +9 -7
  52. package/dist/modules/attributes/index.js.map +1 -1
  53. package/dist/modules/attributes/local/AttributeForwardingDetails.d.ts +28 -0
  54. package/dist/modules/attributes/local/AttributeForwardingDetails.d.ts.map +1 -0
  55. package/dist/modules/attributes/local/AttributeForwardingDetails.js +62 -0
  56. package/dist/modules/attributes/local/AttributeForwardingDetails.js.map +1 -0
  57. package/dist/modules/attributes/local/QueryTranslator.d.ts.map +1 -1
  58. package/dist/modules/attributes/local/QueryTranslator.js +1 -1
  59. package/dist/modules/attributes/local/QueryTranslator.js.map +1 -1
  60. package/dist/modules/attributes/local/attributeTypes/LocalAttribute.d.ts +29 -0
  61. package/dist/modules/attributes/local/attributeTypes/LocalAttribute.d.ts.map +1 -0
  62. package/dist/modules/attributes/local/{AttributeSuccessorParams.js → attributeTypes/LocalAttribute.js} +34 -26
  63. package/dist/modules/attributes/local/attributeTypes/LocalAttribute.js.map +1 -0
  64. package/dist/modules/attributes/local/attributeTypes/OwnIdentityAttribute.d.ts +19 -0
  65. package/dist/modules/attributes/local/attributeTypes/OwnIdentityAttribute.d.ts.map +1 -0
  66. package/dist/modules/attributes/local/attributeTypes/OwnIdentityAttribute.js +40 -0
  67. package/dist/modules/attributes/local/attributeTypes/OwnIdentityAttribute.js.map +1 -0
  68. package/dist/modules/attributes/local/attributeTypes/OwnRelationshipAttribute.d.ts +29 -0
  69. package/dist/modules/attributes/local/attributeTypes/OwnRelationshipAttribute.d.ts.map +1 -0
  70. package/dist/modules/attributes/local/attributeTypes/OwnRelationshipAttribute.js +73 -0
  71. package/dist/modules/attributes/local/attributeTypes/OwnRelationshipAttribute.js.map +1 -0
  72. package/dist/modules/attributes/local/attributeTypes/PeerIdentityAttribute.d.ts +29 -0
  73. package/dist/modules/attributes/local/attributeTypes/PeerIdentityAttribute.d.ts.map +1 -0
  74. package/dist/modules/attributes/local/attributeTypes/PeerIdentityAttribute.js +76 -0
  75. package/dist/modules/attributes/local/attributeTypes/PeerIdentityAttribute.js.map +1 -0
  76. package/dist/modules/attributes/local/attributeTypes/PeerRelationshipAttribute.d.ts +30 -0
  77. package/dist/modules/attributes/local/attributeTypes/PeerRelationshipAttribute.d.ts.map +1 -0
  78. package/dist/modules/attributes/local/attributeTypes/PeerRelationshipAttribute.js +76 -0
  79. package/dist/modules/attributes/local/attributeTypes/PeerRelationshipAttribute.js.map +1 -0
  80. package/dist/modules/attributes/local/attributeTypes/ThirdPartyRelationshipAttribute.d.ts +33 -0
  81. package/dist/modules/attributes/local/attributeTypes/ThirdPartyRelationshipAttribute.d.ts.map +1 -0
  82. package/dist/modules/attributes/local/attributeTypes/ThirdPartyRelationshipAttribute.js +85 -0
  83. package/dist/modules/attributes/local/attributeTypes/ThirdPartyRelationshipAttribute.js.map +1 -0
  84. package/dist/modules/attributes/local/deletionInfos/AbstractAttributeDeletionInfo.d.ts +15 -0
  85. package/dist/modules/attributes/local/deletionInfos/AbstractAttributeDeletionInfo.d.ts.map +1 -0
  86. package/dist/modules/attributes/local/deletionInfos/AbstractAttributeDeletionInfo.js +28 -0
  87. package/dist/modules/attributes/local/deletionInfos/AbstractAttributeDeletionInfo.js.map +1 -0
  88. package/dist/modules/attributes/local/deletionInfos/EmittedAttributeDeletionInfo.d.ts +18 -0
  89. package/dist/modules/attributes/local/deletionInfos/EmittedAttributeDeletionInfo.d.ts.map +1 -0
  90. package/dist/modules/attributes/local/deletionInfos/EmittedAttributeDeletionInfo.js +38 -0
  91. package/dist/modules/attributes/local/deletionInfos/EmittedAttributeDeletionInfo.js.map +1 -0
  92. package/dist/modules/attributes/local/deletionInfos/ReceivedAttributeDeletionInfo.d.ts +16 -0
  93. package/dist/modules/attributes/local/deletionInfos/ReceivedAttributeDeletionInfo.d.ts.map +1 -0
  94. package/dist/modules/attributes/local/deletionInfos/ReceivedAttributeDeletionInfo.js +36 -0
  95. package/dist/modules/attributes/local/deletionInfos/ReceivedAttributeDeletionInfo.js.map +1 -0
  96. package/dist/modules/attributes/local/deletionInfos/index.d.ts +4 -0
  97. package/dist/modules/attributes/local/deletionInfos/index.d.ts.map +1 -0
  98. package/dist/modules/attributes/local/deletionInfos/index.js +20 -0
  99. package/dist/modules/attributes/local/deletionInfos/index.js.map +1 -0
  100. package/dist/modules/attributes/local/successorParams/OwnIdentityAttributeSuccessorParams.d.ts +13 -0
  101. package/dist/modules/attributes/local/successorParams/OwnIdentityAttributeSuccessorParams.d.ts.map +1 -0
  102. package/dist/modules/attributes/local/successorParams/OwnIdentityAttributeSuccessorParams.js +29 -0
  103. package/dist/modules/attributes/local/successorParams/OwnIdentityAttributeSuccessorParams.js.map +1 -0
  104. package/dist/modules/attributes/local/successorParams/OwnRelationshipAttributeSuccessorParams.d.ts +17 -0
  105. package/dist/modules/attributes/local/successorParams/OwnRelationshipAttributeSuccessorParams.d.ts.map +1 -0
  106. package/dist/modules/attributes/local/{CreateAttributeParams.js → successorParams/OwnRelationshipAttributeSuccessorParams.js} +10 -15
  107. package/dist/modules/attributes/local/successorParams/OwnRelationshipAttributeSuccessorParams.js.map +1 -0
  108. package/dist/modules/attributes/local/successorParams/PeerIdentityAttributeSuccessorParams.d.ts +20 -0
  109. package/dist/modules/attributes/local/successorParams/PeerIdentityAttributeSuccessorParams.d.ts.map +1 -0
  110. package/dist/modules/attributes/local/{CreateRepositoryAttributeParams.js → successorParams/PeerIdentityAttributeSuccessorParams.js} +16 -13
  111. package/dist/modules/attributes/local/successorParams/PeerIdentityAttributeSuccessorParams.js.map +1 -0
  112. package/dist/modules/attributes/local/successorParams/PeerRelationshipAttributeSuccessorParams.d.ts +20 -0
  113. package/dist/modules/attributes/local/successorParams/PeerRelationshipAttributeSuccessorParams.d.ts.map +1 -0
  114. package/dist/modules/attributes/local/{CreateSharedLocalAttributeCopyParams.js → successorParams/PeerRelationshipAttributeSuccessorParams.js} +15 -16
  115. package/dist/modules/attributes/local/successorParams/PeerRelationshipAttributeSuccessorParams.js.map +1 -0
  116. package/dist/modules/attributes/local/successorParams/ThirdPartyRelationshipAttributeSuccessorParams.d.ts +20 -0
  117. package/dist/modules/attributes/local/successorParams/ThirdPartyRelationshipAttributeSuccessorParams.d.ts.map +1 -0
  118. package/dist/modules/attributes/local/{CreateSharedLocalAttributeParams.js → successorParams/ThirdPartyRelationshipAttributeSuccessorParams.js} +15 -22
  119. package/dist/modules/attributes/local/successorParams/ThirdPartyRelationshipAttributeSuccessorParams.js.map +1 -0
  120. package/dist/modules/attributes/local/successorParams/index.d.ts +6 -0
  121. package/dist/modules/attributes/local/successorParams/index.d.ts.map +1 -0
  122. package/dist/modules/attributes/local/successorParams/index.js +22 -0
  123. package/dist/modules/attributes/local/successorParams/index.js.map +1 -0
  124. package/dist/modules/notifications/index.d.ts +4 -4
  125. package/dist/modules/notifications/index.d.ts.map +1 -1
  126. package/dist/modules/notifications/index.js +4 -4
  127. package/dist/modules/notifications/index.js.map +1 -1
  128. package/dist/modules/notifications/itemProcessors/attributeDeleted/ForwardedAttributeDeletedByPeerNotificationItemProcessor.d.ts +14 -0
  129. package/dist/modules/notifications/itemProcessors/attributeDeleted/ForwardedAttributeDeletedByPeerNotificationItemProcessor.d.ts.map +1 -0
  130. package/dist/modules/notifications/itemProcessors/attributeDeleted/ForwardedAttributeDeletedByPeerNotificationItemProcessor.js +53 -0
  131. package/dist/modules/notifications/itemProcessors/attributeDeleted/ForwardedAttributeDeletedByPeerNotificationItemProcessor.js.map +1 -0
  132. package/dist/modules/notifications/itemProcessors/attributeDeleted/OwnAttributeDeletedByOwnerNotificationItemProcessor.d.ts +14 -0
  133. package/dist/modules/notifications/itemProcessors/attributeDeleted/OwnAttributeDeletedByOwnerNotificationItemProcessor.d.ts.map +1 -0
  134. package/dist/modules/notifications/itemProcessors/attributeDeleted/OwnAttributeDeletedByOwnerNotificationItemProcessor.js +59 -0
  135. package/dist/modules/notifications/itemProcessors/attributeDeleted/OwnAttributeDeletedByOwnerNotificationItemProcessor.js.map +1 -0
  136. package/dist/modules/notifications/itemProcessors/attributeDeleted/PeerRelationshipAttributeDeletedByPeerNotificationItemProcessor.d.ts +14 -0
  137. package/dist/modules/notifications/itemProcessors/attributeDeleted/PeerRelationshipAttributeDeletedByPeerNotificationItemProcessor.d.ts.map +1 -0
  138. package/dist/modules/notifications/itemProcessors/attributeDeleted/PeerRelationshipAttributeDeletedByPeerNotificationItemProcessor.js +63 -0
  139. package/dist/modules/notifications/itemProcessors/attributeDeleted/PeerRelationshipAttributeDeletedByPeerNotificationItemProcessor.js.map +1 -0
  140. package/dist/modules/notifications/itemProcessors/attributeSucceeded/PeerAttributeSucceededNotificationItemProcessor.d.ts +15 -0
  141. package/dist/modules/notifications/itemProcessors/attributeSucceeded/PeerAttributeSucceededNotificationItemProcessor.d.ts.map +1 -0
  142. package/dist/modules/notifications/itemProcessors/attributeSucceeded/PeerAttributeSucceededNotificationItemProcessor.js +102 -0
  143. package/dist/modules/notifications/itemProcessors/attributeSucceeded/PeerAttributeSucceededNotificationItemProcessor.js.map +1 -0
  144. package/dist/modules/requests/itemProcessors/createAttribute/CreateAttributeRequestItemProcessor.d.ts +2 -2
  145. package/dist/modules/requests/itemProcessors/createAttribute/CreateAttributeRequestItemProcessor.d.ts.map +1 -1
  146. package/dist/modules/requests/itemProcessors/createAttribute/CreateAttributeRequestItemProcessor.js +54 -20
  147. package/dist/modules/requests/itemProcessors/createAttribute/CreateAttributeRequestItemProcessor.js.map +1 -1
  148. package/dist/modules/requests/itemProcessors/deleteAttribute/DeleteAttributeRequestItemProcessor.d.ts +4 -2
  149. package/dist/modules/requests/itemProcessors/deleteAttribute/DeleteAttributeRequestItemProcessor.d.ts.map +1 -1
  150. package/dist/modules/requests/itemProcessors/deleteAttribute/DeleteAttributeRequestItemProcessor.js +50 -43
  151. package/dist/modules/requests/itemProcessors/deleteAttribute/DeleteAttributeRequestItemProcessor.js.map +1 -1
  152. package/dist/modules/requests/itemProcessors/proposeAttribute/ProposeAttributeRequestItemProcessor.d.ts +2 -2
  153. package/dist/modules/requests/itemProcessors/proposeAttribute/ProposeAttributeRequestItemProcessor.d.ts.map +1 -1
  154. package/dist/modules/requests/itemProcessors/proposeAttribute/ProposeAttributeRequestItemProcessor.js +83 -97
  155. package/dist/modules/requests/itemProcessors/proposeAttribute/ProposeAttributeRequestItemProcessor.js.map +1 -1
  156. package/dist/modules/requests/itemProcessors/readAttribute/ReadAttributeRequestItemProcessor.d.ts +2 -2
  157. package/dist/modules/requests/itemProcessors/readAttribute/ReadAttributeRequestItemProcessor.d.ts.map +1 -1
  158. package/dist/modules/requests/itemProcessors/readAttribute/ReadAttributeRequestItemProcessor.js +136 -133
  159. package/dist/modules/requests/itemProcessors/readAttribute/ReadAttributeRequestItemProcessor.js.map +1 -1
  160. package/dist/modules/requests/itemProcessors/shareAttribute/ShareAttributeRequestItemProcessor.d.ts +3 -5
  161. package/dist/modules/requests/itemProcessors/shareAttribute/ShareAttributeRequestItemProcessor.d.ts.map +1 -1
  162. package/dist/modules/requests/itemProcessors/shareAttribute/ShareAttributeRequestItemProcessor.js +94 -90
  163. package/dist/modules/requests/itemProcessors/shareAttribute/ShareAttributeRequestItemProcessor.js.map +1 -1
  164. package/dist/modules/requests/itemProcessors/transferFileOwnership/TransferFileOwnershipRequestItemProcessor.d.ts +2 -2
  165. package/dist/modules/requests/itemProcessors/transferFileOwnership/TransferFileOwnershipRequestItemProcessor.d.ts.map +1 -1
  166. package/dist/modules/requests/itemProcessors/transferFileOwnership/TransferFileOwnershipRequestItemProcessor.js +7 -11
  167. package/dist/modules/requests/itemProcessors/transferFileOwnership/TransferFileOwnershipRequestItemProcessor.js.map +1 -1
  168. package/dist/modules/requests/itemProcessors/utility/createAppropriateResponseItem.d.ts.map +1 -1
  169. package/dist/modules/requests/itemProcessors/utility/createAppropriateResponseItem.js +31 -53
  170. package/dist/modules/requests/itemProcessors/utility/createAppropriateResponseItem.js.map +1 -1
  171. package/dist/modules/requests/itemProcessors/utility/validateAttributeMatchesWithQuery.js +2 -2
  172. package/dist/modules/requests/itemProcessors/utility/validateAttributeMatchesWithQuery.js.map +1 -1
  173. package/dist/modules/requests/local/LocalRequest.js +1 -1
  174. package/dist/modules/requests/local/LocalRequest.js.map +1 -1
  175. package/dist/modules/requests/local/LocalResponse.js +1 -1
  176. package/dist/modules/requests/local/LocalResponse.js.map +1 -1
  177. package/dist/modules/requests/outgoing/OutgoingRequestsController.d.ts +1 -1
  178. package/dist/modules/requests/outgoing/OutgoingRequestsController.d.ts.map +1 -1
  179. package/dist/modules/requests/outgoing/OutgoingRequestsController.js +17 -16
  180. package/dist/modules/requests/outgoing/OutgoingRequestsController.js.map +1 -1
  181. package/package.json +4 -4
  182. package/dist/modules/attributes/events/AttributeSucceededEventData.d.ts +0 -6
  183. package/dist/modules/attributes/events/AttributeSucceededEventData.d.ts.map +0 -1
  184. package/dist/modules/attributes/events/AttributeSucceededEventData.js +0 -3
  185. package/dist/modules/attributes/events/AttributeSucceededEventData.js.map +0 -1
  186. package/dist/modules/attributes/events/OwnSharedAttributeDeletedByOwnerEvent.d.ts +0 -7
  187. package/dist/modules/attributes/events/OwnSharedAttributeDeletedByOwnerEvent.d.ts.map +0 -1
  188. package/dist/modules/attributes/events/OwnSharedAttributeDeletedByOwnerEvent.js +0 -12
  189. package/dist/modules/attributes/events/OwnSharedAttributeDeletedByOwnerEvent.js.map +0 -1
  190. package/dist/modules/attributes/events/OwnSharedAttributeSucceededEvent.d.ts +0 -8
  191. package/dist/modules/attributes/events/OwnSharedAttributeSucceededEvent.d.ts.map +0 -1
  192. package/dist/modules/attributes/events/OwnSharedAttributeSucceededEvent.js +0 -12
  193. package/dist/modules/attributes/events/OwnSharedAttributeSucceededEvent.js.map +0 -1
  194. package/dist/modules/attributes/events/PeerSharedAttributeDeletedByPeerEvent.d.ts +0 -7
  195. package/dist/modules/attributes/events/PeerSharedAttributeDeletedByPeerEvent.d.ts.map +0 -1
  196. package/dist/modules/attributes/events/PeerSharedAttributeDeletedByPeerEvent.js +0 -12
  197. package/dist/modules/attributes/events/PeerSharedAttributeDeletedByPeerEvent.js.map +0 -1
  198. package/dist/modules/attributes/events/PeerSharedAttributeSucceededEvent.d.ts +0 -8
  199. package/dist/modules/attributes/events/PeerSharedAttributeSucceededEvent.d.ts.map +0 -1
  200. package/dist/modules/attributes/events/PeerSharedAttributeSucceededEvent.js +0 -12
  201. package/dist/modules/attributes/events/PeerSharedAttributeSucceededEvent.js.map +0 -1
  202. package/dist/modules/attributes/events/RepositoryAttributeSucceededEvent.d.ts +0 -8
  203. package/dist/modules/attributes/events/RepositoryAttributeSucceededEvent.d.ts.map +0 -1
  204. package/dist/modules/attributes/events/RepositoryAttributeSucceededEvent.js +0 -12
  205. package/dist/modules/attributes/events/RepositoryAttributeSucceededEvent.js.map +0 -1
  206. package/dist/modules/attributes/events/SharedAttributeCopyCreatedEvent.d.ts +0 -7
  207. package/dist/modules/attributes/events/SharedAttributeCopyCreatedEvent.d.ts.map +0 -1
  208. package/dist/modules/attributes/events/SharedAttributeCopyCreatedEvent.js +0 -12
  209. package/dist/modules/attributes/events/SharedAttributeCopyCreatedEvent.js.map +0 -1
  210. package/dist/modules/attributes/events/ThirdPartyRelationshipAttributeDeletedByPeerEvent.d.ts +0 -7
  211. package/dist/modules/attributes/events/ThirdPartyRelationshipAttributeDeletedByPeerEvent.d.ts.map +0 -1
  212. package/dist/modules/attributes/events/ThirdPartyRelationshipAttributeDeletedByPeerEvent.js +0 -12
  213. package/dist/modules/attributes/events/ThirdPartyRelationshipAttributeDeletedByPeerEvent.js.map +0 -1
  214. package/dist/modules/attributes/events/ThirdPartyRelationshipAttributeSucceededEvent.d.ts +0 -8
  215. package/dist/modules/attributes/events/ThirdPartyRelationshipAttributeSucceededEvent.d.ts.map +0 -1
  216. package/dist/modules/attributes/events/ThirdPartyRelationshipAttributeSucceededEvent.js +0 -12
  217. package/dist/modules/attributes/events/ThirdPartyRelationshipAttributeSucceededEvent.js.map +0 -1
  218. package/dist/modules/attributes/local/AttributeSuccessorParams.d.ts +0 -24
  219. package/dist/modules/attributes/local/AttributeSuccessorParams.d.ts.map +0 -1
  220. package/dist/modules/attributes/local/AttributeSuccessorParams.js.map +0 -1
  221. package/dist/modules/attributes/local/CreateAttributeParams.d.ts +0 -15
  222. package/dist/modules/attributes/local/CreateAttributeParams.d.ts.map +0 -1
  223. package/dist/modules/attributes/local/CreateAttributeParams.js.map +0 -1
  224. package/dist/modules/attributes/local/CreateRepositoryAttributeParams.d.ts +0 -20
  225. package/dist/modules/attributes/local/CreateRepositoryAttributeParams.d.ts.map +0 -1
  226. package/dist/modules/attributes/local/CreateRepositoryAttributeParams.js.map +0 -1
  227. package/dist/modules/attributes/local/CreateSharedLocalAttributeCopyParams.d.ts +0 -22
  228. package/dist/modules/attributes/local/CreateSharedLocalAttributeCopyParams.d.ts.map +0 -1
  229. package/dist/modules/attributes/local/CreateSharedLocalAttributeCopyParams.js.map +0 -1
  230. package/dist/modules/attributes/local/CreateSharedLocalAttributeParams.d.ts +0 -26
  231. package/dist/modules/attributes/local/CreateSharedLocalAttributeParams.d.ts.map +0 -1
  232. package/dist/modules/attributes/local/CreateSharedLocalAttributeParams.js.map +0 -1
  233. package/dist/modules/attributes/local/LocalAttribute.d.ts +0 -112
  234. package/dist/modules/attributes/local/LocalAttribute.d.ts.map +0 -1
  235. package/dist/modules/attributes/local/LocalAttribute.js +0 -186
  236. package/dist/modules/attributes/local/LocalAttribute.js.map +0 -1
  237. package/dist/modules/attributes/local/LocalAttributeDeletionInfo.d.ts +0 -24
  238. package/dist/modules/attributes/local/LocalAttributeDeletionInfo.d.ts.map +0 -1
  239. package/dist/modules/attributes/local/LocalAttributeDeletionInfo.js +0 -42
  240. package/dist/modules/attributes/local/LocalAttributeDeletionInfo.js.map +0 -1
  241. package/dist/modules/attributes/local/LocalAttributeShareInfo.d.ts +0 -26
  242. package/dist/modules/attributes/local/LocalAttributeShareInfo.d.ts.map +0 -1
  243. package/dist/modules/attributes/local/LocalAttributeShareInfo.js +0 -59
  244. package/dist/modules/attributes/local/LocalAttributeShareInfo.js.map +0 -1
  245. package/dist/modules/notifications/itemProcessors/attributeDeleted/OwnSharedAttributeDeletedByOwnerNotificationItemProcessor.d.ts +0 -14
  246. package/dist/modules/notifications/itemProcessors/attributeDeleted/OwnSharedAttributeDeletedByOwnerNotificationItemProcessor.d.ts.map +0 -1
  247. package/dist/modules/notifications/itemProcessors/attributeDeleted/OwnSharedAttributeDeletedByOwnerNotificationItemProcessor.js +0 -56
  248. package/dist/modules/notifications/itemProcessors/attributeDeleted/OwnSharedAttributeDeletedByOwnerNotificationItemProcessor.js.map +0 -1
  249. package/dist/modules/notifications/itemProcessors/attributeDeleted/PeerSharedAttributeDeletedByPeerNotificationItemProcessor.d.ts +0 -14
  250. package/dist/modules/notifications/itemProcessors/attributeDeleted/PeerSharedAttributeDeletedByPeerNotificationItemProcessor.d.ts.map +0 -1
  251. package/dist/modules/notifications/itemProcessors/attributeDeleted/PeerSharedAttributeDeletedByPeerNotificationItemProcessor.js +0 -57
  252. package/dist/modules/notifications/itemProcessors/attributeDeleted/PeerSharedAttributeDeletedByPeerNotificationItemProcessor.js.map +0 -1
  253. package/dist/modules/notifications/itemProcessors/attributeDeleted/ThirdPartyRelationshipAttributeDeletedByPeerNotificationItemProcessor.d.ts +0 -14
  254. package/dist/modules/notifications/itemProcessors/attributeDeleted/ThirdPartyRelationshipAttributeDeletedByPeerNotificationItemProcessor.d.ts.map +0 -1
  255. package/dist/modules/notifications/itemProcessors/attributeDeleted/ThirdPartyRelationshipAttributeDeletedByPeerNotificationItemProcessor.js +0 -57
  256. package/dist/modules/notifications/itemProcessors/attributeDeleted/ThirdPartyRelationshipAttributeDeletedByPeerNotificationItemProcessor.js.map +0 -1
  257. package/dist/modules/notifications/itemProcessors/attributeSucceeded/PeerSharedAttributeSucceededNotificationItemProcessor.d.ts +0 -15
  258. package/dist/modules/notifications/itemProcessors/attributeSucceeded/PeerSharedAttributeSucceededNotificationItemProcessor.d.ts.map +0 -1
  259. package/dist/modules/notifications/itemProcessors/attributeSucceeded/PeerSharedAttributeSucceededNotificationItemProcessor.js +0 -74
  260. package/dist/modules/notifications/itemProcessors/attributeSucceeded/PeerSharedAttributeSucceededNotificationItemProcessor.js.map +0 -1
@@ -5,12 +5,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.ReadAttributeRequestItemProcessor = void 0;
7
7
  const content_1 = require("@nmshd/content");
8
- const core_types_1 = require("@nmshd/core-types");
9
8
  const transport_1 = require("@nmshd/transport");
10
9
  const ts_simple_nameof_1 = require("ts-simple-nameof");
11
10
  const ConsumptionCoreErrors_1 = require("../../../../consumption/ConsumptionCoreErrors");
12
11
  const attributes_1 = require("../../../attributes");
13
- const LocalAttribute_1 = require("../../../attributes/local/LocalAttribute");
14
12
  const ValidationResult_1 = require("../../../common/ValidationResult");
15
13
  const GenericRequestItemProcessor_1 = require("../GenericRequestItemProcessor");
16
14
  const createAppropriateResponseItem_1 = __importDefault(require("../utility/createAppropriateResponseItem"));
@@ -59,47 +57,35 @@ class ReadAttributeRequestItemProcessor extends GenericRequestItemProcessor_1.Ge
59
57
  }
60
58
  const foundLocalAttribute = await this.consumptionController.attributes.getLocalAttribute(parsedParams.existingAttributeId);
61
59
  if (!foundLocalAttribute) {
62
- return ValidationResult_1.ValidationResult.error(transport_1.TransportCoreErrors.general.recordNotFound(LocalAttribute_1.LocalAttribute, parsedParams.existingAttributeId.toString()));
60
+ return ValidationResult_1.ValidationResult.error(transport_1.TransportCoreErrors.general.recordNotFound(attributes_1.LocalAttribute, parsedParams.existingAttributeId.toString()));
61
+ }
62
+ if (!(foundLocalAttribute instanceof attributes_1.OwnIdentityAttribute ||
63
+ foundLocalAttribute instanceof attributes_1.OwnRelationshipAttribute ||
64
+ foundLocalAttribute instanceof attributes_1.PeerRelationshipAttribute)) {
65
+ return ValidationResult_1.ValidationResult.error(ConsumptionCoreErrors_1.ConsumptionCoreErrors.requests.invalidAcceptParameters("The selected Attribute is not an OwnIdentityAttribute, an OwnRelationshipAttribute or a PeerRelationshipAttribute. When accepting a ReadAttributeRequestItem with an existing Attribute it may only be such an Attribute."));
63
66
  }
64
67
  attribute = foundLocalAttribute.content;
65
- if ((requestItem.query instanceof content_1.IdentityAttributeQuery || requestItem.query instanceof content_1.IQLQuery) &&
66
- attribute instanceof content_1.IdentityAttribute &&
67
- this.accountController.identity.isMe(attribute.owner)) {
68
- if (foundLocalAttribute.isShared()) {
69
- return ValidationResult_1.ValidationResult.error(ConsumptionCoreErrors_1.ConsumptionCoreErrors.requests.attributeQueryMismatch("The provided IdentityAttribute is a shared copy of a RepositoryAttribute. You can only share RepositoryAttributes."));
70
- }
71
- const ownSharedIdentityAttributeSuccessors = await this.consumptionController.attributes.getSharedSuccessorsOfAttribute(foundLocalAttribute, {
72
- "shareInfo.peer": requestInfo.peer.toString()
73
- });
74
- if (ownSharedIdentityAttributeSuccessors.length > 0) {
75
- if (!ownSharedIdentityAttributeSuccessors[0].shareInfo?.sourceAttribute) {
76
- throw new Error(`The LocalAttribute ${ownSharedIdentityAttributeSuccessors[0].id} does not have a 'shareInfo.sourceAttribute', even though it was found as a shared version of a LocalAttribute.`);
77
- }
78
- const successorSourceRepositoryAttribute = await this.consumptionController.attributes.getLocalAttribute(ownSharedIdentityAttributeSuccessors[0].shareInfo.sourceAttribute);
79
- if (!successorSourceRepositoryAttribute) {
80
- throw new Error(`The RepositoryAttribute ${ownSharedIdentityAttributeSuccessors[0].shareInfo.sourceAttribute} was not found.`);
81
- }
82
- return ValidationResult_1.ValidationResult.error(ConsumptionCoreErrors_1.ConsumptionCoreErrors.requests.attributeQueryMismatch(`The provided IdentityAttribute is outdated. You have already shared the successor '${ownSharedIdentityAttributeSuccessors[0].shareInfo.sourceAttribute}' of it.`));
68
+ if ((requestItem.query instanceof content_1.IdentityAttributeQuery || requestItem.query instanceof content_1.IQLQuery) && foundLocalAttribute instanceof attributes_1.OwnIdentityAttribute) {
69
+ const successorsSharedWithPeer = await this.consumptionController.attributes.getSuccessorsOfAttributeSharedWithPeer(foundLocalAttribute, requestInfo.peer, true);
70
+ if (successorsSharedWithPeer.length > 0) {
71
+ return ValidationResult_1.ValidationResult.error(ConsumptionCoreErrors_1.ConsumptionCoreErrors.requests.attributeQueryMismatch(`The provided IdentityAttribute is outdated. You have already shared the successor '${successorsSharedWithPeer[0].id}' of it.`));
83
72
  }
84
73
  if (parsedParams.tags && parsedParams.tags.length > 0) {
74
+ attribute = attribute;
85
75
  attribute.tags = attribute.tags ? [...attribute.tags, ...parsedParams.tags] : parsedParams.tags;
86
76
  }
87
77
  }
88
- if (requestItem.query instanceof content_1.ThirdPartyRelationshipAttributeQuery && attribute instanceof content_1.RelationshipAttribute) {
89
- if (!foundLocalAttribute.isShared()) {
90
- throw new Error("The LocalAttribute found is faulty because its shareInfo is undefined, although its content is given by a RelationshipAttribute. Since RelationshipAttributes only make sense in the context of Relationships, they must always be shared.");
91
- }
92
- if (foundLocalAttribute.shareInfo.sourceAttribute) {
93
- return ValidationResult_1.ValidationResult.error(ConsumptionCoreErrors_1.ConsumptionCoreErrors.requests.attributeQueryMismatch("When responding to a ThirdPartyRelationshipAttributeQuery, only RelationshipAttributes that are not a copy of a sourceAttribute may be provided."));
94
- }
78
+ if (requestItem.query instanceof content_1.ThirdPartyRelationshipAttributeQuery &&
79
+ (foundLocalAttribute instanceof attributes_1.OwnRelationshipAttribute || foundLocalAttribute instanceof attributes_1.PeerRelationshipAttribute)) {
80
+ const initialPeer = foundLocalAttribute.peer.toString();
95
81
  const queriedThirdParties = requestItem.query.thirdParty.map((aThirdParty) => aThirdParty.toString());
96
- if ((this.accountController.identity.isMe(attribute.owner) || queriedThirdParties.includes(attribute.owner.toString())) &&
82
+ if ((foundLocalAttribute instanceof attributes_1.OwnRelationshipAttribute || queriedThirdParties.includes(initialPeer)) &&
97
83
  !queriedThirdParties.includes("") &&
98
- !queriedThirdParties.includes(foundLocalAttribute.shareInfo.peer.toString())) {
84
+ !queriedThirdParties.includes(initialPeer)) {
99
85
  return ValidationResult_1.ValidationResult.error(ConsumptionCoreErrors_1.ConsumptionCoreErrors.requests.attributeQueryMismatch("The provided RelationshipAttribute exists in the context of a Relationship with a third party that should not be involved."));
100
86
  }
101
87
  const queryForNonPendingRelationships = {
102
- "peer.address": foundLocalAttribute.shareInfo.peer.address,
88
+ "peer.address": initialPeer,
103
89
  status: { $in: [transport_1.RelationshipStatus.Active, transport_1.RelationshipStatus.Terminated, transport_1.RelationshipStatus.DeletionProposed] }
104
90
  };
105
91
  const nonPendingRelationshipsToPeer = await this.accountController.relationships.getRelationships(queryForNonPendingRelationships);
@@ -153,106 +139,86 @@ class ReadAttributeRequestItemProcessor extends GenericRequestItemProcessor_1.Ge
153
139
  }
154
140
  async accept(_requestItem, params, requestInfo) {
155
141
  const parsedParams = AcceptReadAttributeRequestItemParameters_1.AcceptReadAttributeRequestItemParameters.from(params);
156
- let sharedLocalAttribute;
157
142
  if (parsedParams.isWithExistingAttribute()) {
158
- let existingSourceAttribute = await this.consumptionController.attributes.getLocalAttribute(parsedParams.existingAttributeId);
159
- if (!existingSourceAttribute) {
160
- throw transport_1.TransportCoreErrors.general.recordNotFound(LocalAttribute_1.LocalAttribute, parsedParams.existingAttributeId.toString());
143
+ let existingAttribute = await this.consumptionController.attributes.getLocalAttribute(parsedParams.existingAttributeId);
144
+ if (!existingAttribute) {
145
+ throw transport_1.TransportCoreErrors.general.recordNotFound(attributes_1.LocalAttribute, parsedParams.existingAttributeId.toString());
161
146
  }
162
- if (parsedParams.tags && parsedParams.tags.length > 0 && existingSourceAttribute.content instanceof content_1.IdentityAttribute) {
163
- const mergedTags = existingSourceAttribute.content.tags ? [...existingSourceAttribute.content.tags, ...parsedParams.tags] : parsedParams.tags;
164
- existingSourceAttribute.content.tags = mergedTags;
165
- const successorParams = {
166
- content: existingSourceAttribute.content
167
- };
168
- const attributesAfterSuccession = await this.consumptionController.attributes.succeedRepositoryAttribute(parsedParams.existingAttributeId, successorParams);
169
- existingSourceAttribute = attributesAfterSuccession.successor;
147
+ if (!(existingAttribute instanceof attributes_1.OwnIdentityAttribute ||
148
+ existingAttribute instanceof attributes_1.OwnRelationshipAttribute ||
149
+ existingAttribute instanceof attributes_1.PeerRelationshipAttribute)) {
150
+ throw ConsumptionCoreErrors_1.ConsumptionCoreErrors.requests.invalidAcceptParameters("The selected Attribute is not an OwnIdentityAttribute, an OwnRelationshipAttribute or a PeerRelationshipAttribute. When accepting a ReadAttributeRequestItem with an existing Attribute it may only be such an Attribute.");
170
151
  }
171
- const query = {
172
- "deletionInfo.deletionStatus": {
173
- $nin: [
174
- attributes_1.LocalAttributeDeletionStatus.DeletedByPeer,
175
- attributes_1.LocalAttributeDeletionStatus.DeletedByOwner,
176
- attributes_1.LocalAttributeDeletionStatus.ToBeDeletedByPeer,
177
- attributes_1.LocalAttributeDeletionStatus.ToBeDeleted
178
- ]
179
- }
180
- };
181
- const latestSharedVersion = await this.consumptionController.attributes.getSharedVersionsOfAttribute(parsedParams.existingAttributeId, [requestInfo.peer], true, query);
182
- const wasSharedBefore = latestSharedVersion.length > 0;
183
- const isLatestSharedVersion = latestSharedVersion[0]?.shareInfo?.sourceAttribute?.toString() === existingSourceAttribute.id.toString();
184
- const predecessorWasSharedBefore = wasSharedBefore && !isLatestSharedVersion;
185
- if (!wasSharedBefore) {
186
- sharedLocalAttribute = await this.consumptionController.attributes.createSharedLocalAttributeCopy({
187
- sourceAttributeId: core_types_1.CoreId.from(existingSourceAttribute.id),
188
- peer: core_types_1.CoreAddress.from(requestInfo.peer),
189
- requestReference: core_types_1.CoreId.from(requestInfo.id)
190
- });
191
- return content_1.ReadAttributeAcceptResponseItem.from({
192
- result: content_1.ResponseItemResult.Accepted,
193
- attributeId: sharedLocalAttribute.id,
194
- attribute: sharedLocalAttribute.content,
195
- thirdPartyAddress: sharedLocalAttribute.shareInfo?.thirdPartyAddress
152
+ if (parsedParams.tags && parsedParams.tags.length > 0 && existingAttribute instanceof attributes_1.OwnIdentityAttribute) {
153
+ const mergedTags = existingAttribute.content.tags ? [...existingAttribute.content.tags, ...parsedParams.tags] : parsedParams.tags;
154
+ const successorParams = attributes_1.OwnIdentityAttributeSuccessorParams.from({
155
+ content: {
156
+ ...existingAttribute.content.toJSON(),
157
+ tags: mergedTags
158
+ }
196
159
  });
160
+ const attributesAfterSuccession = await this.consumptionController.attributes.succeedOwnIdentityAttribute(existingAttribute, successorParams);
161
+ existingAttribute = attributesAfterSuccession.successor;
162
+ if (!(existingAttribute instanceof attributes_1.OwnIdentityAttribute))
163
+ throw new Error("This should never occur, but is required for the compiler.");
197
164
  }
165
+ const latestSharedVersion = await this.consumptionController.attributes.getVersionsOfAttributeSharedWithPeer(existingAttribute, requestInfo.peer);
166
+ const isLatestSharedVersion = latestSharedVersion[0]?.id.equals(existingAttribute.id);
198
167
  if (isLatestSharedVersion) {
168
+ const forwardingDetails = await this.consumptionController.attributes.getForwardingDetailsForPeer(latestSharedVersion[0], requestInfo.peer, true);
169
+ if (forwardingDetails) {
170
+ await this.consumptionController.attributes.setForwardedDeletionInfoOfAttribute(latestSharedVersion[0], undefined, requestInfo.peer, true);
171
+ }
199
172
  return content_1.AttributeAlreadySharedAcceptResponseItem.from({
200
173
  result: content_1.ResponseItemResult.Accepted,
201
174
  attributeId: latestSharedVersion[0].id
202
175
  });
203
176
  }
204
- if (predecessorWasSharedBefore) {
205
- const sharedPredecessor = latestSharedVersion[0];
206
- if (!sharedPredecessor.shareInfo?.sourceAttribute) {
207
- throw new Error(`The Attribute ${sharedPredecessor.id} doesn't have a 'shareInfo.sourceAttribute', even though it was found as shared version of an Attribute.`);
208
- }
209
- let successorSharedAttribute;
210
- if (existingSourceAttribute.isRepositoryAttribute(this.currentIdentityAddress)) {
211
- const successorParams = {
212
- content: existingSourceAttribute.content,
213
- shareInfo: attributes_1.LocalAttributeShareInfo.from({
214
- peer: requestInfo.peer,
215
- requestReference: requestInfo.id,
216
- sourceAttribute: existingSourceAttribute.id
217
- })
218
- };
219
- successorSharedAttribute = (await this.consumptionController.attributes.succeedOwnSharedIdentityAttribute(sharedPredecessor.id, successorParams)).successor;
220
- }
221
- else {
222
- const successorParams = {
223
- content: existingSourceAttribute.content,
224
- shareInfo: attributes_1.LocalAttributeShareInfo.from({
225
- peer: requestInfo.peer,
226
- requestReference: requestInfo.id,
227
- sourceAttribute: existingSourceAttribute.id,
228
- thirdPartyAddress: sharedPredecessor.shareInfo.thirdPartyAddress
229
- })
230
- };
231
- successorSharedAttribute = (await this.consumptionController.attributes.succeedThirdPartyRelationshipAttribute(sharedPredecessor.id, successorParams))
232
- .successor;
233
- }
234
- return content_1.AttributeSuccessionAcceptResponseItem.from({
177
+ const updatedAttribute = await this.consumptionController.attributes.addForwardingDetailsToAttribute(existingAttribute, requestInfo.peer, requestInfo.id);
178
+ const wasNotSharedBefore = latestSharedVersion.length === 0;
179
+ if (wasNotSharedBefore) {
180
+ const thirdPartyAddress = existingAttribute instanceof attributes_1.OwnRelationshipAttribute || existingAttribute instanceof attributes_1.PeerRelationshipAttribute ? existingAttribute.peer : undefined;
181
+ return content_1.ReadAttributeAcceptResponseItem.from({
235
182
  result: content_1.ResponseItemResult.Accepted,
236
- successorId: successorSharedAttribute.id,
237
- successorContent: successorSharedAttribute.content,
238
- predecessorId: sharedPredecessor.id
183
+ attributeId: updatedAttribute.id,
184
+ attribute: updatedAttribute.content,
185
+ thirdPartyAddress
239
186
  });
240
187
  }
188
+ const sharedPredecessor = latestSharedVersion[0];
189
+ return content_1.AttributeSuccessionAcceptResponseItem.from({
190
+ result: content_1.ResponseItemResult.Accepted,
191
+ predecessorId: sharedPredecessor.id,
192
+ successorId: updatedAttribute.id,
193
+ successorContent: updatedAttribute.content
194
+ });
241
195
  }
242
196
  else if (parsedParams.isWithNewAttribute()) {
243
197
  if (parsedParams.newAttribute.owner.equals("")) {
244
198
  parsedParams.newAttribute.owner = this.currentIdentityAddress;
245
199
  }
246
200
  if (parsedParams.newAttribute instanceof content_1.RelationshipAttribute) {
247
- const ownSharedRelationshipAttribute = await this.consumptionController.attributes.createSharedLocalAttribute({
201
+ if (parsedParams.newAttribute.owner.toString() === this.currentIdentityAddress.toString()) {
202
+ const ownRelationshipAttribute = await this.consumptionController.attributes.createOwnRelationshipAttribute({
203
+ content: parsedParams.newAttribute,
204
+ peer: requestInfo.peer,
205
+ sourceReference: requestInfo.id
206
+ });
207
+ return content_1.ReadAttributeAcceptResponseItem.from({
208
+ result: content_1.ResponseItemResult.Accepted,
209
+ attributeId: ownRelationshipAttribute.id,
210
+ attribute: ownRelationshipAttribute.content
211
+ });
212
+ }
213
+ const peerRelationshipAttribute = await this.consumptionController.attributes.createPeerRelationshipAttribute({
248
214
  content: parsedParams.newAttribute,
249
215
  peer: requestInfo.peer,
250
- requestReference: core_types_1.CoreId.from(requestInfo.id)
216
+ sourceReference: requestInfo.id
251
217
  });
252
218
  return content_1.ReadAttributeAcceptResponseItem.from({
253
219
  result: content_1.ResponseItemResult.Accepted,
254
- attributeId: ownSharedRelationshipAttribute.id,
255
- attribute: ownSharedRelationshipAttribute.content
220
+ attributeId: peerRelationshipAttribute.id,
221
+ attribute: peerRelationshipAttribute.content
256
222
  });
257
223
  }
258
224
  return await (0, createAppropriateResponseItem_1.default)(parsedParams.newAttribute, requestInfo, this.consumptionController.attributes, "Read");
@@ -260,40 +226,77 @@ class ReadAttributeRequestItemProcessor extends GenericRequestItemProcessor_1.Ge
260
226
  throw new Error(`You have to specify either ${(0, ts_simple_nameof_1.nameof)((x) => x.newAttribute)} or ${(0, ts_simple_nameof_1.nameof)((x) => x.existingAttributeId)}.`);
261
227
  }
262
228
  async applyIncomingResponseItem(responseItem, _requestItem, requestInfo) {
263
- if (responseItem instanceof content_1.ReadAttributeAcceptResponseItem) {
264
- await this.consumptionController.attributes.createSharedLocalAttribute({
229
+ if (responseItem instanceof content_1.RejectResponseItem)
230
+ return;
231
+ if (responseItem instanceof content_1.AttributeAlreadySharedAcceptResponseItem) {
232
+ const attribute = await this.consumptionController.attributes.getLocalAttribute(responseItem.attributeId);
233
+ if (!attribute || !(attribute instanceof attributes_1.PeerIdentityAttribute || attribute instanceof attributes_1.ThirdPartyRelationshipAttribute))
234
+ return;
235
+ if (attribute.deletionInfo?.deletionStatus !== attributes_1.ReceivedAttributeDeletionStatus.ToBeDeleted)
236
+ return;
237
+ await this.consumptionController.attributes.setPeerDeletionInfoOfReceivedAttribute(attribute, undefined, true);
238
+ return;
239
+ }
240
+ if (responseItem instanceof content_1.AttributeSuccessionAcceptResponseItem) {
241
+ const predecessor = await this.consumptionController.attributes.getLocalAttribute(responseItem.predecessorId);
242
+ if (!predecessor)
243
+ return;
244
+ if (!(predecessor instanceof attributes_1.PeerIdentityAttribute || predecessor instanceof attributes_1.ThirdPartyRelationshipAttribute))
245
+ return;
246
+ if (predecessor instanceof attributes_1.PeerIdentityAttribute && responseItem.successorContent instanceof content_1.IdentityAttribute) {
247
+ const successorParams = attributes_1.PeerIdentityAttributeSuccessorParams.from({
248
+ id: responseItem.successorId,
249
+ content: responseItem.successorContent,
250
+ sourceReference: requestInfo.id
251
+ });
252
+ const { predecessor: updatedPredecessor, successor } = await this.consumptionController.attributes.succeedPeerIdentityAttribute(predecessor, successorParams);
253
+ return new attributes_1.AttributeSucceededEvent(this.currentIdentityAddress.toString(), updatedPredecessor, successor);
254
+ }
255
+ if (predecessor instanceof attributes_1.ThirdPartyRelationshipAttribute && responseItem.successorContent instanceof content_1.RelationshipAttribute) {
256
+ const successorParams = attributes_1.ThirdPartyRelationshipAttributeSuccessorParams.from({
257
+ id: responseItem.successorId,
258
+ content: responseItem.successorContent,
259
+ sourceReference: requestInfo.id
260
+ });
261
+ const { predecessor: updatedPredecessor, successor } = await this.consumptionController.attributes.succeedThirdPartyRelationshipAttribute(predecessor, successorParams);
262
+ return new attributes_1.AttributeSucceededEvent(this.currentIdentityAddress.toString(), updatedPredecessor, successor);
263
+ }
264
+ return;
265
+ }
266
+ if (responseItem.attribute instanceof content_1.IdentityAttribute) {
267
+ await this.consumptionController.attributes.createPeerIdentityAttribute({
265
268
  id: responseItem.attributeId,
266
269
  content: responseItem.attribute,
267
270
  peer: requestInfo.peer,
268
- requestReference: requestInfo.id,
269
- thirdPartyAddress: responseItem.thirdPartyAddress
271
+ sourceReference: requestInfo.id
270
272
  });
273
+ return;
271
274
  }
272
- if (responseItem instanceof content_1.AttributeSuccessionAcceptResponseItem) {
273
- const successorParams = attributes_1.AttributeSuccessorParams.from({
274
- id: responseItem.successorId,
275
- content: responseItem.successorContent,
276
- shareInfo: attributes_1.LocalAttributeShareInfo.from({
277
- peer: requestInfo.peer,
278
- requestReference: requestInfo.id
279
- })
275
+ if (responseItem.thirdPartyAddress) {
276
+ await this.consumptionController.attributes.createThirdPartyRelationshipAttribute({
277
+ id: responseItem.attributeId,
278
+ content: responseItem.attribute,
279
+ peer: requestInfo.peer,
280
+ sourceReference: requestInfo.id,
281
+ initialAttributePeer: responseItem.thirdPartyAddress
280
282
  });
281
- if (responseItem.successorContent instanceof content_1.IdentityAttribute) {
282
- const { predecessor, successor } = await this.consumptionController.attributes.succeedPeerSharedIdentityAttribute(responseItem.predecessorId, successorParams);
283
- return new attributes_1.PeerSharedAttributeSucceededEvent(this.currentIdentityAddress.toString(), predecessor, successor);
284
- }
285
- const predecessor = await this.consumptionController.attributes.getLocalAttribute(responseItem.predecessorId);
286
- if (successorParams.shareInfo) {
287
- successorParams.shareInfo.thirdPartyAddress = predecessor?.shareInfo?.thirdPartyAddress;
288
- }
289
- if (responseItem.successorContent.owner === requestInfo.peer) {
290
- await this.consumptionController.attributes.succeedPeerSharedRelationshipAttribute(responseItem.predecessorId, successorParams);
291
- }
292
- else {
293
- await this.consumptionController.attributes.succeedThirdPartyRelationshipAttribute(responseItem.predecessorId, successorParams);
294
- }
283
+ return;
284
+ }
285
+ if (responseItem.attribute.owner.equals(this.currentIdentityAddress)) {
286
+ await this.consumptionController.attributes.createOwnRelationshipAttribute({
287
+ id: responseItem.attributeId,
288
+ content: responseItem.attribute,
289
+ peer: requestInfo.peer,
290
+ sourceReference: requestInfo.id
291
+ });
292
+ return;
295
293
  }
296
- return;
294
+ await this.consumptionController.attributes.createPeerRelationshipAttribute({
295
+ id: responseItem.attributeId,
296
+ content: responseItem.attribute,
297
+ peer: requestInfo.peer,
298
+ sourceReference: requestInfo.id
299
+ });
297
300
  }
298
301
  }
299
302
  exports.ReadAttributeRequestItemProcessor = ReadAttributeRequestItemProcessor;
@@ -1 +1 @@
1
- {"version":3,"file":"ReadAttributeRequestItemProcessor.js","sourceRoot":"","sources":["../../../../../src/modules/requests/itemProcessors/readAttribute/ReadAttributeRequestItemProcessor.ts"],"names":[],"mappings":";;;;;;AAAA,4CAewB;AACxB,kDAAwD;AACxD,gDAA2E;AAC3E,uDAA0C;AAC1C,yFAAsF;AACtF,oDAAoL;AACpL,6EAA0E;AAC1E,uEAAoE;AACpE,gFAA6E;AAE7E,6GAAqF;AACrF,qHAA6F;AAC7F,6EAAqD;AACrD,yGAAoJ;AAEpJ,MAAa,iCAAkC,SAAQ,yDAAmG;IACtI,KAAK,CAAC,4BAA4B,CAAC,WAAqC,EAAE,QAAiB,EAAE,SAAuB;QAChI,MAAM,qBAAqB,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,WAAW,EAAE,SAAS,CAAC,CAAC;QAC/E,IAAI,qBAAqB,CAAC,OAAO,EAAE,EAAE,CAAC;YAClC,OAAO,qBAAqB,CAAC;QACjC,CAAC;QAED,IAAI,WAAW,CAAC,KAAK,YAAY,oCAA0B,IAAI,SAAS,EAAE,CAAC;YACvE,MAAM,kBAAkB,GAAG,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,EAAE,KAAK,EAAE,CAAC;YACrE,MAAM,iCAAiC,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,UAAU,CAAC,8DAA8D,CAChJ,WAAW,CAAC,KAAK,CAAC,GAAG,EACrB,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,WAAW,CAAC,KAAK,CAAC,KAAK,EACxD,WAAW,CAAC,KAAK,CAAC,sBAAsB,CAAC,SAAS,EAClD,S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Y,CAAC,aAAa,EAAE,eAAe,CAAC,CAAC;YACpI,CAAC;iBAAM,CAAC;gBACJ,MAAM,IAAI,CAAC,qBAAqB,CAAC,UAAU,CAAC,sCAAsC,CAAC,YAAY,CAAC,aAAa,EAAE,eAAe,CAAC,CAAC;YACpI,CAAC;QACL,CAAC;QAED,OAAO;IACX,CAAC;CACJ;AAtaD,8EAsaC"}
1
+ {"version":3,"file":"ReadAttributeRequestItemProcessor.js","sourceRoot":"","sources":["../../../../../src/modules/requests/itemProcessors/readAttribute/ReadAttributeRequestItemProcessor.ts"],"names":[],"mappings":";;;;;;AAAA,4CAewB;AAExB,gDAA2E;AAC3E,uDAA0C;AAC1C,yFAAsF;AACtF,oDAY6B;AAC7B,uEAAoE;AACpE,gFAA6E;AAE7E,6GAAqF;AACrF,qHAA6F;AAC7F,6EAAqD;AACrD,yGAAoJ;AAEpJ,MAAa,iCAAkC,SAAQ,yDAAmG;IACtI,KAAK,CAAC,4BAA4B,CAAC,WAAqC,EAAE,QAAiB,EAAE,SAAuB;QAChI,MAAM,qBAAqB,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,WAAW,EAAE,SAAS,CAAC,CAAC;QAC/E,IAAI,qBAAqB,CAAC,OAAO,EAAE,EAAE,CAAC;YAClC,OAAO,qBAAqB,CAAC;QACjC,CAAC;QAED,IAAI,WAAW,CAAC,KAAK,YAAY,oCAA0B,IAAI,SAAS,EAAE,CAAC;YACvE,MAAM,kBAAkB,GAAG,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,EAAE,KAAK,EAAE,CAAC;YACrE,MAAM,iCAAiC,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,UAAU,CAAC,8DAA8D,CAChJ,WAAW,CAAC,KAAK,CAAC,GAAG,EACrB,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,WAAW,CAAC,KAAK,CAAC,KAAK,EACxD,WAAW,CAAC,KAAK,CAAC,sBAAsB,CAAC,SAAS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,UAAU,CAAC,8BAA8B,CAAC;gBACvE,EAAE,EAAE,YAAY,CAAC,WAAW;gBAC5B,OAAO,EAAE,YAAY,CAAC,SAAS;gBAC/B,IAAI,EAAE,WAAW,CAAC,IAAI;gBACtB,eAAe,EAAE,WAAW,CAAC,EAAE;aAClC,CAAC,CAAC;YACH,OAAO;QACX,CAAC;QAED,MAAM,IAAI,CAAC,qBAAqB,CAAC,UAAU,CAAC,+BAA+B,CAAC;YACxE,EAAE,EAAE,YAAY,CAAC,WAAW;YAC5B,OAAO,EAAE,YAAY,CAAC,SAAS;YAC/B,IAAI,EAAE,WAAW,CAAC,IAAI;YACtB,eAAe,EAAE,WAAW,CAAC,EAAE;SAClC,CAAC,CAAC;IACP,CAAC;CACJ;AAhbD,8EAgbC"}
@@ -1,4 +1,4 @@
1
- import { AttributeAlreadySharedAcceptResponseItem, RejectResponseItem, Request, ShareAttributeAcceptResponseItem, ShareAttributeRequestItem } from "@nmshd/content";
1
+ import { AcceptResponseItem, AttributeAlreadySharedAcceptResponseItem, RejectResponseItem, Request, ShareAttributeRequestItem } from "@nmshd/content";
2
2
  import { CoreAddress } from "@nmshd/core-types";
3
3
  import { ValidationResult } from "../../../common/ValidationResult";
4
4
  import { AcceptRequestItemParametersJSON } from "../../incoming/decide/AcceptRequestItemParameters";
@@ -6,10 +6,8 @@ import { GenericRequestItemProcessor } from "../GenericRequestItemProcessor";
6
6
  import { LocalRequestInfo } from "../IRequestItemProcessor";
7
7
  export declare class ShareAttributeRequestItemProcessor extends GenericRequestItemProcessor<ShareAttributeRequestItem> {
8
8
  canCreateOutgoingRequestItem(requestItem: ShareAttributeRequestItem, _request: Request, recipient?: CoreAddress): Promise<ValidationResult>;
9
- private canCreateWithIdentityAttribute;
10
- private static canCreateWithRelationshipAttribute;
11
9
  canAccept(requestItem: ShareAttributeRequestItem, _params: AcceptRequestItemParametersJSON, _requestInfo: LocalRequestInfo): Promise<ValidationResult>;
12
- accept(requestItem: ShareAttributeRequestItem, _params: AcceptRequestItemParametersJSON, requestInfo: LocalRequestInfo): Promise<ShareAttributeAcceptResponseItem | AttributeAlreadySharedAcceptResponseItem>;
13
- applyIncomingResponseItem(responseItem: ShareAttributeAcceptResponseItem | AttributeAlreadySharedAcceptResponseItem | RejectResponseItem, requestItem: ShareAttributeRequestItem, requestInfo: LocalRequestInfo): Promise<void>;
10
+ accept(requestItem: ShareAttributeRequestItem, _params: AcceptRequestItemParametersJSON, requestInfo: LocalRequestInfo): Promise<AcceptResponseItem | AttributeAlreadySharedAcceptResponseItem>;
11
+ applyIncomingResponseItem(responseItem: AcceptResponseItem | AttributeAlreadySharedAcceptResponseItem | RejectResponseItem, requestItem: ShareAttributeRequestItem, requestInfo: LocalRequestInfo): Promise<void>;
14
12
  }
15
13
  //# sourceMappingURL=ShareAttributeRequestItemProcessor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ShareAttributeRequestItemProcessor.d.ts","sourceRoot":"","sources":["../../../../../src/modules/requests/itemProcessors/shareAttribute/ShareAttributeRequestItemProcessor.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,wCAAwC,EAExC,kBAAkB,EAGlB,OAAO,EAEP,gCAAgC,EAChC,yBAAyB,EAC5B,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAKhD,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,+BAA+B,EAAE,MAAM,mDAAmD,CAAC;AACpG,OAAO,EAAE,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAC7E,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAE5D,qBAAa,kCAAmC,SAAQ,2BAA2B,CAAC,yBAAyB,CAAC;IACpF,4BAA4B,CAAC,WAAW,EAAE,yBAAyB,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,gBAAgB,CAAC;YAoInJ,8BAA8B;IAgB5C,OAAO,CAAC,MAAM,CAAC,kCAAkC;IAc3B,SAAS,CAAC,WAAW,EAAE,yBAAyB,EAAE,OAAO,EAAE,+BAA+B,EAAE,YAAY,EAAE,gBAAgB,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAStJ,MAAM,CACxB,WAAW,EAAE,yBAAyB,EACtC,OAAO,EAAE,+BAA+B,EACxC,WAAW,EAAE,gBAAgB,GAC9B,OAAO,CAAC,gCAAgC,GAAG,wCAAwC,CAAC;IA0BjE,yBAAyB,CAC3C,YAAY,EAAE,gCAAgC,GAAG,wCAAwC,GAAG,kBAAkB,EAC9G,WAAW,EAAE,yBAAyB,EACtC,WAAW,EAAE,gBAAgB,GAC9B,OAAO,CAAC,IAAI,CAAC;CAYnB"}
1
+ {"version":3,"file":"ShareAttributeRequestItemProcessor.d.ts","sourceRoot":"","sources":["../../../../../src/modules/requests/itemProcessors/shareAttribute/ShareAttributeRequestItemProcessor.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,kBAAkB,EAClB,wCAAwC,EAExC,kBAAkB,EAGlB,OAAO,EAEP,yBAAyB,EAC5B,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAKhD,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,+BAA+B,EAAE,MAAM,mDAAmD,CAAC;AACpG,OAAO,EAAE,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAC7E,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAE5D,qBAAa,kCAAmC,SAAQ,2BAA2B,CAAC,yBAAyB,CAAC;IACpF,4BAA4B,CAAC,WAAW,EAAE,yBAAyB,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAmH3I,SAAS,CAAC,WAAW,EAAE,yBAAyB,EAAE,OAAO,EAAE,+BAA+B,EAAE,YAAY,EAAE,gBAAgB,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAqBtJ,MAAM,CACxB,WAAW,EAAE,yBAAyB,EACtC,OAAO,EAAE,+BAA+B,EACxC,WAAW,EAAE,gBAAgB,GAC9B,OAAO,CAAC,kBAAkB,GAAG,wCAAwC,CAAC;IA2DnD,yBAAyB,CAC3C,YAAY,EAAE,kBAAkB,GAAG,wCAAwC,GAAG,kBAAkB,EAChG,WAAW,EAAE,yBAAyB,EACtC,WAAW,EAAE,gBAAgB,GAC9B,OAAO,CAAC,IAAI,CAAC;CAwBnB"}