@nmshd/transport 7.0.0-alpha.6 → 7.0.0-alpha.61

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 (394) hide show
  1. package/README.md +2 -2
  2. package/dist/buildInformation.js +5 -5
  3. package/dist/core/CoreSynchronizable.d.ts +1 -0
  4. package/dist/core/CoreSynchronizable.d.ts.map +1 -1
  5. package/dist/core/CoreSynchronizable.js +1 -0
  6. package/dist/core/CoreSynchronizable.js.map +1 -1
  7. package/dist/core/DbCollectionName.d.ts +0 -1
  8. package/dist/core/DbCollectionName.d.ts.map +1 -1
  9. package/dist/core/DbCollectionName.js +0 -1
  10. package/dist/core/DbCollectionName.js.map +1 -1
  11. package/dist/core/Transport.d.ts +3 -4
  12. package/dist/core/Transport.d.ts.map +1 -1
  13. package/dist/core/Transport.js +3 -6
  14. package/dist/core/Transport.js.map +1 -1
  15. package/dist/core/TransportController.d.ts +1 -4
  16. package/dist/core/TransportController.d.ts.map +1 -1
  17. package/dist/core/TransportController.js +7 -7
  18. package/dist/core/TransportController.js.map +1 -1
  19. package/dist/core/TransportCoreErrors.d.ts +8 -2
  20. package/dist/core/TransportCoreErrors.d.ts.map +1 -1
  21. package/dist/core/TransportCoreErrors.js +18 -6
  22. package/dist/core/TransportCoreErrors.js.map +1 -1
  23. package/dist/core/backbone/ClientResult.d.ts +2 -0
  24. package/dist/core/backbone/ClientResult.d.ts.map +1 -1
  25. package/dist/core/backbone/ClientResult.js +2 -0
  26. package/dist/core/backbone/ClientResult.js.map +1 -1
  27. package/dist/core/backbone/PlatformParameters.d.ts +2 -0
  28. package/dist/core/backbone/PlatformParameters.d.ts.map +1 -1
  29. package/dist/core/backbone/RESTClient.d.ts +3 -2
  30. package/dist/core/backbone/RESTClient.d.ts.map +1 -1
  31. package/dist/core/backbone/RESTClient.js +52 -37
  32. package/dist/core/backbone/RESTClient.js.map +1 -1
  33. package/dist/core/backbone/RESTClientAuthenticate.d.ts +1 -0
  34. package/dist/core/backbone/RESTClientAuthenticate.d.ts.map +1 -1
  35. package/dist/core/backbone/RESTClientAuthenticate.js +5 -0
  36. package/dist/core/backbone/RESTClientAuthenticate.js.map +1 -1
  37. package/dist/core/backbone/RequestError.d.ts.map +1 -1
  38. package/dist/core/backbone/RequestError.js +3 -0
  39. package/dist/core/backbone/RequestError.js.map +1 -1
  40. package/dist/core/types/PasswordProtection.d.ts +5 -6
  41. package/dist/core/types/PasswordProtection.d.ts.map +1 -1
  42. package/dist/core/types/PasswordProtection.js +12 -10
  43. package/dist/core/types/PasswordProtection.js.map +1 -1
  44. package/dist/core/types/PasswordProtectionCreationParameters.d.ts +3 -0
  45. package/dist/core/types/PasswordProtectionCreationParameters.d.ts.map +1 -1
  46. package/dist/core/types/PasswordProtectionCreationParameters.js +7 -1
  47. package/dist/core/types/PasswordProtectionCreationParameters.js.map +1 -1
  48. package/dist/events/FileOwnershipClaimedEvent.d.ts +7 -0
  49. package/dist/events/FileOwnershipClaimedEvent.d.ts.map +1 -0
  50. package/dist/events/FileOwnershipClaimedEvent.js +12 -0
  51. package/dist/events/FileOwnershipClaimedEvent.js.map +1 -0
  52. package/dist/events/FileOwnershipLockedEvent.d.ts +7 -0
  53. package/dist/events/FileOwnershipLockedEvent.d.ts.map +1 -0
  54. package/dist/events/FileOwnershipLockedEvent.js +12 -0
  55. package/dist/events/FileOwnershipLockedEvent.js.map +1 -0
  56. package/dist/events/MessageDeliveredEvent.d.ts +1 -1
  57. package/dist/events/MessageDeliveredEvent.d.ts.map +1 -1
  58. package/dist/events/MessageReceivedEvent.d.ts +1 -1
  59. package/dist/events/MessageReceivedEvent.d.ts.map +1 -1
  60. package/dist/events/MessageSentEvent.d.ts +1 -1
  61. package/dist/events/MessageSentEvent.d.ts.map +1 -1
  62. package/dist/events/MessageWasReadAtChangedEvent.d.ts +1 -1
  63. package/dist/events/MessageWasReadAtChangedEvent.d.ts.map +1 -1
  64. package/dist/events/PeerRelationshipTemplateLoadedEvent.d.ts +1 -1
  65. package/dist/events/PeerRelationshipTemplateLoadedEvent.d.ts.map +1 -1
  66. package/dist/events/RelationshipChangedEvent.d.ts +1 -1
  67. package/dist/events/RelationshipChangedEvent.d.ts.map +1 -1
  68. package/dist/events/RelationshipReactivationCompletedEvent.d.ts +1 -1
  69. package/dist/events/RelationshipReactivationCompletedEvent.d.ts.map +1 -1
  70. package/dist/events/RelationshipReactivationRequestedEvent.d.ts +1 -1
  71. package/dist/events/RelationshipReactivationRequestedEvent.d.ts.map +1 -1
  72. package/dist/events/RelationshipTemplateAllocationsExhaustedEvent.d.ts +7 -0
  73. package/dist/events/RelationshipTemplateAllocationsExhaustedEvent.d.ts.map +1 -0
  74. package/dist/events/RelationshipTemplateAllocationsExhaustedEvent.js +12 -0
  75. package/dist/events/RelationshipTemplateAllocationsExhaustedEvent.js.map +1 -0
  76. package/dist/events/index.d.ts +3 -0
  77. package/dist/events/index.d.ts.map +1 -1
  78. package/dist/events/index.js +3 -0
  79. package/dist/events/index.js.map +1 -1
  80. package/dist/modules/accounts/AccountController.d.ts +6 -8
  81. package/dist/modules/accounts/AccountController.d.ts.map +1 -1
  82. package/dist/modules/accounts/AccountController.js +42 -28
  83. package/dist/modules/accounts/AccountController.js.map +1 -1
  84. package/dist/modules/accounts/IdentityDeletionProcessController.d.ts +2 -8
  85. package/dist/modules/accounts/IdentityDeletionProcessController.d.ts.map +1 -1
  86. package/dist/modules/accounts/IdentityDeletionProcessController.js +4 -24
  87. package/dist/modules/accounts/IdentityDeletionProcessController.js.map +1 -1
  88. package/dist/modules/accounts/data/IdentityDeletionProcess.d.ts +35 -8
  89. package/dist/modules/accounts/data/IdentityDeletionProcess.d.ts.map +1 -1
  90. package/dist/modules/accounts/data/IdentityDeletionProcess.js +65 -10
  91. package/dist/modules/accounts/data/IdentityDeletionProcess.js.map +1 -1
  92. package/dist/modules/announcements/AnnouncementController.d.ts +11 -0
  93. package/dist/modules/announcements/AnnouncementController.d.ts.map +1 -0
  94. package/dist/modules/announcements/AnnouncementController.js +26 -0
  95. package/dist/modules/announcements/AnnouncementController.js.map +1 -0
  96. package/dist/modules/announcements/backbone/AnnouncementClient.d.ts +6 -0
  97. package/dist/modules/announcements/backbone/AnnouncementClient.d.ts.map +1 -0
  98. package/dist/modules/announcements/backbone/AnnouncementClient.js +11 -0
  99. package/dist/modules/announcements/backbone/AnnouncementClient.js.map +1 -0
  100. package/dist/modules/announcements/backbone/BackboneGetAnnouncements.d.ts +18 -0
  101. package/dist/modules/announcements/backbone/BackboneGetAnnouncements.d.ts.map +1 -0
  102. package/dist/modules/announcements/backbone/BackboneGetAnnouncements.js +3 -0
  103. package/dist/modules/announcements/backbone/BackboneGetAnnouncements.js.map +1 -0
  104. package/dist/modules/announcements/data/Announcement.d.ts +30 -0
  105. package/dist/modules/announcements/data/Announcement.d.ts.map +1 -0
  106. package/dist/modules/{messages/local/CachedMessage.js → announcements/data/Announcement.js} +37 -31
  107. package/dist/modules/announcements/data/Announcement.js.map +1 -0
  108. package/dist/modules/announcements/data/AnnouncementAction.d.ts +11 -0
  109. package/dist/modules/announcements/data/AnnouncementAction.d.ts.map +1 -0
  110. package/dist/modules/{certificates/data/items/CertificateRoleItem.js → announcements/data/AnnouncementAction.js} +13 -17
  111. package/dist/modules/announcements/data/AnnouncementAction.js.map +1 -0
  112. package/dist/modules/backboneNotifications/BackboneNotificationsController.d.ts +13 -0
  113. package/dist/modules/backboneNotifications/BackboneNotificationsController.d.ts.map +1 -0
  114. package/dist/modules/backboneNotifications/BackboneNotificationsController.js +42 -0
  115. package/dist/modules/backboneNotifications/BackboneNotificationsController.js.map +1 -0
  116. package/dist/modules/backboneNotifications/backbone/BackboneNotificationsClient.d.ts +9 -0
  117. package/dist/modules/backboneNotifications/backbone/BackboneNotificationsClient.d.ts.map +1 -0
  118. package/dist/modules/backboneNotifications/backbone/BackboneNotificationsClient.js +11 -0
  119. package/dist/modules/backboneNotifications/backbone/BackboneNotificationsClient.js.map +1 -0
  120. package/dist/modules/devices/DeviceController.d.ts +1 -2
  121. package/dist/modules/devices/DeviceController.d.ts.map +1 -1
  122. package/dist/modules/devices/DeviceController.js +1 -4
  123. package/dist/modules/devices/DeviceController.js.map +1 -1
  124. package/dist/modules/devices/DeviceSecretController.d.ts +1 -1
  125. package/dist/modules/devices/DeviceSecretController.js +1 -1
  126. package/dist/modules/devices/DevicesController.d.ts.map +1 -1
  127. package/dist/modules/devices/DevicesController.js +1 -5
  128. package/dist/modules/devices/DevicesController.js.map +1 -1
  129. package/dist/modules/devices/backbone/BackboneGetDevices.d.ts +12 -0
  130. package/dist/modules/devices/backbone/BackboneGetDevices.d.ts.map +1 -0
  131. package/dist/modules/devices/backbone/BackboneGetDevices.js +3 -0
  132. package/dist/modules/devices/backbone/BackboneGetDevices.js.map +1 -0
  133. package/dist/modules/devices/backbone/DeviceAuthClient.d.ts +2 -0
  134. package/dist/modules/devices/backbone/DeviceAuthClient.d.ts.map +1 -1
  135. package/dist/modules/devices/backbone/DeviceAuthClient.js +3 -0
  136. package/dist/modules/devices/backbone/DeviceAuthClient.js.map +1 -1
  137. package/dist/modules/devices/local/Device.d.ts +2 -4
  138. package/dist/modules/devices/local/Device.d.ts.map +1 -1
  139. package/dist/modules/devices/local/Device.js +0 -6
  140. package/dist/modules/devices/local/Device.js.map +1 -1
  141. package/dist/modules/devices/local/SendDeviceParameters.d.ts +1 -1
  142. package/dist/modules/devices/local/SendDeviceParameters.d.ts.map +1 -1
  143. package/dist/modules/devices/local/SendDeviceParameters.js +1 -1
  144. package/dist/modules/devices/local/SendDeviceParameters.js.map +1 -1
  145. package/dist/modules/files/FileController.d.ts +8 -10
  146. package/dist/modules/files/FileController.d.ts.map +1 -1
  147. package/dist/modules/files/FileController.js +71 -84
  148. package/dist/modules/files/FileController.js.map +1 -1
  149. package/dist/modules/files/backbone/BackbonePostFiles.d.ts +1 -0
  150. package/dist/modules/files/backbone/BackbonePostFiles.d.ts.map +1 -1
  151. package/dist/modules/files/backbone/FileClient.d.ts +9 -0
  152. package/dist/modules/files/backbone/FileClient.d.ts.map +1 -1
  153. package/dist/modules/files/backbone/FileClient.js +9 -0
  154. package/dist/modules/files/backbone/FileClient.js.map +1 -1
  155. package/dist/modules/files/local/File.d.ts +57 -11
  156. package/dist/modules/files/local/File.d.ts.map +1 -1
  157. package/dist/modules/files/local/File.js +171 -18
  158. package/dist/modules/files/local/File.js.map +1 -1
  159. package/dist/modules/index.d.ts +6 -23
  160. package/dist/modules/index.d.ts.map +1 -1
  161. package/dist/modules/index.js +6 -23
  162. package/dist/modules/index.js.map +1 -1
  163. package/dist/modules/messages/MessageController.d.ts +3 -8
  164. package/dist/modules/messages/MessageController.d.ts.map +1 -1
  165. package/dist/modules/messages/MessageController.js +30 -56
  166. package/dist/modules/messages/MessageController.js.map +1 -1
  167. package/dist/modules/messages/local/Message.d.ts +28 -7
  168. package/dist/modules/messages/local/Message.d.ts.map +1 -1
  169. package/dist/modules/messages/local/Message.js +53 -12
  170. package/dist/modules/messages/local/Message.js.map +1 -1
  171. package/dist/modules/messages/local/{CachedMessageRecipient.d.ts → MessageRecipient.d.ts} +4 -4
  172. package/dist/modules/messages/local/MessageRecipient.d.ts.map +1 -0
  173. package/dist/modules/messages/local/{CachedMessageRecipient.js → MessageRecipient.js} +12 -12
  174. package/dist/modules/messages/local/MessageRecipient.js.map +1 -0
  175. package/dist/modules/messages/transmission/MessageContentWrapper.js +1 -2
  176. package/dist/modules/messages/transmission/MessageContentWrapper.js.map +1 -1
  177. package/dist/modules/relationshipTemplates/RelationshipTemplateController.d.ts +3 -11
  178. package/dist/modules/relationshipTemplates/RelationshipTemplateController.d.ts.map +1 -1
  179. package/dist/modules/relationshipTemplates/RelationshipTemplateController.js +49 -131
  180. package/dist/modules/relationshipTemplates/RelationshipTemplateController.js.map +1 -1
  181. package/dist/modules/relationshipTemplates/local/RelationshipTemplate.d.ts +26 -10
  182. package/dist/modules/relationshipTemplates/local/RelationshipTemplate.d.ts.map +1 -1
  183. package/dist/modules/relationshipTemplates/local/RelationshipTemplate.js +70 -19
  184. package/dist/modules/relationshipTemplates/local/RelationshipTemplate.js.map +1 -1
  185. package/dist/modules/relationshipTemplates/local/SendRelationshipTemplateParameters.js +2 -2
  186. package/dist/modules/relationshipTemplates/local/SendRelationshipTemplateParameters.js.map +1 -1
  187. package/dist/modules/relationships/RelationshipSecretController.d.ts +3 -3
  188. package/dist/modules/relationships/RelationshipSecretController.d.ts.map +1 -1
  189. package/dist/modules/relationships/RelationshipSecretController.js +2 -2
  190. package/dist/modules/relationships/RelationshipSecretController.js.map +1 -1
  191. package/dist/modules/relationships/RelationshipsController.d.ts +1 -11
  192. package/dist/modules/relationships/RelationshipsController.d.ts.map +1 -1
  193. package/dist/modules/relationships/RelationshipsController.js +48 -118
  194. package/dist/modules/relationships/RelationshipsController.js.map +1 -1
  195. package/dist/modules/relationships/local/Relationship.d.ts +14 -10
  196. package/dist/modules/relationships/local/Relationship.d.ts.map +1 -1
  197. package/dist/modules/relationships/local/Relationship.js +30 -28
  198. package/dist/modules/relationships/local/Relationship.js.map +1 -1
  199. package/dist/modules/secrets/SecretController.d.ts +1 -1
  200. package/dist/modules/secrets/SecretController.js +1 -1
  201. package/dist/modules/sync/ChangedItems.d.ts +5 -2
  202. package/dist/modules/sync/ChangedItems.d.ts.map +1 -1
  203. package/dist/modules/sync/ChangedItems.js +6 -1
  204. package/dist/modules/sync/ChangedItems.js.map +1 -1
  205. package/dist/modules/sync/DatawalletModificationMapper.js +3 -3
  206. package/dist/modules/sync/DatawalletModificationMapper.js.map +1 -1
  207. package/dist/modules/sync/DatawalletModificationsProcessor.d.ts +2 -60
  208. package/dist/modules/sync/DatawalletModificationsProcessor.d.ts.map +1 -1
  209. package/dist/modules/sync/DatawalletModificationsProcessor.js +11 -158
  210. package/dist/modules/sync/DatawalletModificationsProcessor.js.map +1 -1
  211. package/dist/modules/sync/SyncController.d.ts +0 -3
  212. package/dist/modules/sync/SyncController.d.ts.map +1 -1
  213. package/dist/modules/sync/SyncController.js +17 -38
  214. package/dist/modules/sync/SyncController.js.map +1 -1
  215. package/dist/modules/sync/SynchronizedCollection.d.ts.map +1 -1
  216. package/dist/modules/sync/SynchronizedCollection.js +24 -10
  217. package/dist/modules/sync/SynchronizedCollection.js.map +1 -1
  218. package/dist/modules/sync/backbone/FinalizeSyncRun.d.ts +1 -0
  219. package/dist/modules/sync/backbone/FinalizeSyncRun.d.ts.map +1 -1
  220. package/dist/modules/sync/backbone/SyncClient.d.ts +0 -1
  221. package/dist/modules/sync/backbone/SyncClient.d.ts.map +1 -1
  222. package/dist/modules/sync/backbone/SyncClient.js.map +1 -1
  223. package/dist/modules/sync/externalEventProcessors/ExternalEventProcessor.d.ts +2 -1
  224. package/dist/modules/sync/externalEventProcessors/ExternalEventProcessor.d.ts.map +1 -1
  225. package/dist/modules/sync/externalEventProcessors/ExternalEventProcessor.js.map +1 -1
  226. package/dist/modules/sync/externalEventProcessors/ExternalEventProcessorRegistry.d.ts.map +1 -1
  227. package/dist/modules/sync/externalEventProcessors/ExternalEventProcessorRegistry.js +6 -0
  228. package/dist/modules/sync/externalEventProcessors/ExternalEventProcessorRegistry.js.map +1 -1
  229. package/dist/modules/sync/externalEventProcessors/FileOwnershipClaimedExternalEventProcessor.d.ts +7 -0
  230. package/dist/modules/sync/externalEventProcessors/FileOwnershipClaimedExternalEventProcessor.d.ts.map +1 -0
  231. package/dist/modules/sync/externalEventProcessors/FileOwnershipClaimedExternalEventProcessor.js +34 -0
  232. package/dist/modules/sync/externalEventProcessors/FileOwnershipClaimedExternalEventProcessor.js.map +1 -0
  233. package/dist/modules/sync/externalEventProcessors/FileOwnershipLockedExternalEventProcessor.d.ts +7 -0
  234. package/dist/modules/sync/externalEventProcessors/FileOwnershipLockedExternalEventProcessor.d.ts.map +1 -0
  235. package/dist/modules/sync/externalEventProcessors/FileOwnershipLockedExternalEventProcessor.js +37 -0
  236. package/dist/modules/sync/externalEventProcessors/FileOwnershipLockedExternalEventProcessor.js.map +1 -0
  237. package/dist/modules/sync/externalEventProcessors/IdentityDeletionProcessStatusChangedExternalEventProcessor.js +1 -1
  238. package/dist/modules/sync/externalEventProcessors/IdentityDeletionProcessStatusChangedExternalEventProcessor.js.map +1 -1
  239. package/dist/modules/sync/externalEventProcessors/MessageDeliveredExternalEventProcessor.js +1 -1
  240. package/dist/modules/sync/externalEventProcessors/MessageDeliveredExternalEventProcessor.js.map +1 -1
  241. package/dist/modules/sync/externalEventProcessors/RelationshipExternalEventProcessor.js +1 -1
  242. package/dist/modules/sync/externalEventProcessors/RelationshipExternalEventProcessor.js.map +1 -1
  243. package/dist/modules/sync/externalEventProcessors/RelationshipReactivationCompletedExternalEventProcessor.d.ts.map +1 -1
  244. package/dist/modules/sync/externalEventProcessors/RelationshipReactivationCompletedExternalEventProcessor.js +2 -0
  245. package/dist/modules/sync/externalEventProcessors/RelationshipReactivationCompletedExternalEventProcessor.js.map +1 -1
  246. package/dist/modules/sync/externalEventProcessors/RelationshipReactivationRequestedExternalEventProcessor.d.ts.map +1 -1
  247. package/dist/modules/sync/externalEventProcessors/RelationshipReactivationRequestedExternalEventProcessor.js +2 -0
  248. package/dist/modules/sync/externalEventProcessors/RelationshipReactivationRequestedExternalEventProcessor.js.map +1 -1
  249. package/dist/modules/sync/externalEventProcessors/RelationshipStatusChangedExternalEventProcessor.d.ts.map +1 -1
  250. package/dist/modules/sync/externalEventProcessors/RelationshipStatusChangedExternalEventProcessor.js +2 -0
  251. package/dist/modules/sync/externalEventProcessors/RelationshipStatusChangedExternalEventProcessor.js.map +1 -1
  252. package/dist/modules/sync/externalEventProcessors/RelationshipTemplateAllocationsExhaustedProcessor.d.ts +6 -0
  253. package/dist/modules/sync/externalEventProcessors/RelationshipTemplateAllocationsExhaustedProcessor.d.ts.map +1 -0
  254. package/dist/modules/sync/externalEventProcessors/RelationshipTemplateAllocationsExhaustedProcessor.js +34 -0
  255. package/dist/modules/sync/externalEventProcessors/RelationshipTemplateAllocationsExhaustedProcessor.js.map +1 -0
  256. package/dist/modules/sync/local/DatawalletModification.d.ts +2 -2
  257. package/dist/modules/sync/local/DatawalletModification.d.ts.map +1 -1
  258. package/dist/modules/sync/local/DatawalletModification.js +1 -1
  259. package/dist/modules/sync/local/DatawalletModification.js.map +1 -1
  260. package/dist/modules/sync/migrations/DeviceMigrations.d.ts +2 -2
  261. package/dist/modules/sync/migrations/DeviceMigrations.d.ts.map +1 -1
  262. package/dist/modules/sync/migrations/DeviceMigrations.js +5 -15
  263. package/dist/modules/sync/migrations/DeviceMigrations.js.map +1 -1
  264. package/dist/modules/tags/backbone/TagClient.d.ts +1 -1
  265. package/dist/modules/tags/backbone/TagClient.d.ts.map +1 -1
  266. package/dist/modules/tags/backbone/TagClient.js +13 -2
  267. package/dist/modules/tags/backbone/TagClient.js.map +1 -1
  268. package/dist/modules/tokens/AnonymousTokenController.d.ts +4 -1
  269. package/dist/modules/tokens/AnonymousTokenController.d.ts.map +1 -1
  270. package/dist/modules/tokens/AnonymousTokenController.js +18 -10
  271. package/dist/modules/tokens/AnonymousTokenController.js.map +1 -1
  272. package/dist/modules/tokens/TokenController.d.ts +6 -11
  273. package/dist/modules/tokens/TokenController.d.ts.map +1 -1
  274. package/dist/modules/tokens/TokenController.js +75 -129
  275. package/dist/modules/tokens/TokenController.js.map +1 -1
  276. package/dist/modules/tokens/backbone/AnonymousTokenClient.d.ts +2 -0
  277. package/dist/modules/tokens/backbone/AnonymousTokenClient.d.ts.map +1 -1
  278. package/dist/modules/tokens/backbone/AnonymousTokenClient.js +3 -0
  279. package/dist/modules/tokens/backbone/AnonymousTokenClient.js.map +1 -1
  280. package/dist/modules/tokens/backbone/BackboneGetTokens.d.ts +3 -3
  281. package/dist/modules/tokens/backbone/BackboneGetTokens.d.ts.map +1 -1
  282. package/dist/modules/tokens/backbone/BackbonePostTokens.d.ts +10 -0
  283. package/dist/modules/tokens/backbone/BackbonePostTokens.d.ts.map +1 -1
  284. package/dist/modules/tokens/backbone/TokenClient.d.ts +2 -1
  285. package/dist/modules/tokens/backbone/TokenClient.d.ts.map +1 -1
  286. package/dist/modules/tokens/backbone/TokenClient.js +3 -0
  287. package/dist/modules/tokens/backbone/TokenClient.js.map +1 -1
  288. package/dist/modules/tokens/local/EmptyToken.d.ts +20 -0
  289. package/dist/modules/tokens/local/EmptyToken.d.ts.map +1 -0
  290. package/dist/modules/{relationships/local/CachedRelationship.js → tokens/local/EmptyToken.js} +26 -28
  291. package/dist/modules/tokens/local/EmptyToken.js.map +1 -0
  292. package/dist/modules/tokens/local/Token.d.ts +16 -9
  293. package/dist/modules/tokens/local/Token.d.ts.map +1 -1
  294. package/dist/modules/tokens/local/Token.js +40 -18
  295. package/dist/modules/tokens/local/Token.js.map +1 -1
  296. package/dist/modules/tokens/local/UpdateTokenContentParameters.d.ts +17 -0
  297. package/dist/modules/tokens/local/UpdateTokenContentParameters.d.ts.map +1 -0
  298. package/dist/modules/tokens/local/{CachedToken.js → UpdateTokenContentParameters.js} +15 -24
  299. package/dist/modules/tokens/local/UpdateTokenContentParameters.js.map +1 -0
  300. package/package.json +18 -21
  301. package/dist/core/ICacheable.d.ts +0 -6
  302. package/dist/core/ICacheable.d.ts.map +0 -1
  303. package/dist/core/ICacheable.js +0 -17
  304. package/dist/core/ICacheable.js.map +0 -1
  305. package/dist/modules/accounts/data/CachedIdentityDeletionProcess.d.ts +0 -44
  306. package/dist/modules/accounts/data/CachedIdentityDeletionProcess.d.ts.map +0 -1
  307. package/dist/modules/accounts/data/CachedIdentityDeletionProcess.js +0 -80
  308. package/dist/modules/accounts/data/CachedIdentityDeletionProcess.js.map +0 -1
  309. package/dist/modules/certificates/CertificateController.d.ts +0 -15
  310. package/dist/modules/certificates/CertificateController.d.ts.map +0 -1
  311. package/dist/modules/certificates/CertificateController.js +0 -20
  312. package/dist/modules/certificates/CertificateController.js.map +0 -1
  313. package/dist/modules/certificates/CertificateIssuer.d.ts +0 -29
  314. package/dist/modules/certificates/CertificateIssuer.d.ts.map +0 -1
  315. package/dist/modules/certificates/CertificateIssuer.js +0 -43
  316. package/dist/modules/certificates/CertificateIssuer.js.map +0 -1
  317. package/dist/modules/certificates/CertificateValidator.d.ts +0 -15
  318. package/dist/modules/certificates/CertificateValidator.d.ts.map +0 -1
  319. package/dist/modules/certificates/CertificateValidator.js +0 -20
  320. package/dist/modules/certificates/CertificateValidator.js.map +0 -1
  321. package/dist/modules/certificates/data/Certificate.d.ts +0 -34
  322. package/dist/modules/certificates/data/Certificate.d.ts.map +0 -1
  323. package/dist/modules/certificates/data/Certificate.js +0 -61
  324. package/dist/modules/certificates/data/Certificate.js.map +0 -1
  325. package/dist/modules/certificates/data/CertificateConstraint.d.ts +0 -10
  326. package/dist/modules/certificates/data/CertificateConstraint.d.ts.map +0 -1
  327. package/dist/modules/certificates/data/CertificateConstraint.js +0 -23
  328. package/dist/modules/certificates/data/CertificateConstraint.js.map +0 -1
  329. package/dist/modules/certificates/data/CertificateContent.d.ts +0 -29
  330. package/dist/modules/certificates/data/CertificateContent.d.ts.map +0 -1
  331. package/dist/modules/certificates/data/CertificateContent.js +0 -66
  332. package/dist/modules/certificates/data/CertificateContent.js.map +0 -1
  333. package/dist/modules/certificates/data/CertificateItem.d.ts +0 -11
  334. package/dist/modules/certificates/data/CertificateItem.d.ts.map +0 -1
  335. package/dist/modules/certificates/data/CertificateItem.js +0 -24
  336. package/dist/modules/certificates/data/CertificateItem.js.map +0 -1
  337. package/dist/modules/certificates/data/constraints/CertificateBorderConstraint.d.ts +0 -30
  338. package/dist/modules/certificates/data/constraints/CertificateBorderConstraint.d.ts.map +0 -1
  339. package/dist/modules/certificates/data/constraints/CertificateBorderConstraint.js +0 -56
  340. package/dist/modules/certificates/data/constraints/CertificateBorderConstraint.js.map +0 -1
  341. package/dist/modules/certificates/data/constraints/CertificateCityConstraint.d.ts +0 -32
  342. package/dist/modules/certificates/data/constraints/CertificateCityConstraint.d.ts.map +0 -1
  343. package/dist/modules/certificates/data/constraints/CertificateCityConstraint.js +0 -59
  344. package/dist/modules/certificates/data/constraints/CertificateCityConstraint.js.map +0 -1
  345. package/dist/modules/certificates/data/constraints/CertificateIdentityConstraint.d.ts +0 -10
  346. package/dist/modules/certificates/data/constraints/CertificateIdentityConstraint.d.ts.map +0 -1
  347. package/dist/modules/certificates/data/constraints/CertificateIdentityConstraint.js +0 -30
  348. package/dist/modules/certificates/data/constraints/CertificateIdentityConstraint.js.map +0 -1
  349. package/dist/modules/certificates/data/constraints/CertificateTimeConstraint.d.ts +0 -17
  350. package/dist/modules/certificates/data/constraints/CertificateTimeConstraint.d.ts.map +0 -1
  351. package/dist/modules/certificates/data/constraints/CertificateTimeConstraint.js +0 -40
  352. package/dist/modules/certificates/data/constraints/CertificateTimeConstraint.js.map +0 -1
  353. package/dist/modules/certificates/data/items/CertificateAuthorizationItem.d.ts +0 -18
  354. package/dist/modules/certificates/data/items/CertificateAuthorizationItem.d.ts.map +0 -1
  355. package/dist/modules/certificates/data/items/CertificateAuthorizationItem.js +0 -38
  356. package/dist/modules/certificates/data/items/CertificateAuthorizationItem.js.map +0 -1
  357. package/dist/modules/certificates/data/items/CertificateDelegateItem.d.ts +0 -19
  358. package/dist/modules/certificates/data/items/CertificateDelegateItem.d.ts.map +0 -1
  359. package/dist/modules/certificates/data/items/CertificateDelegateItem.js +0 -45
  360. package/dist/modules/certificates/data/items/CertificateDelegateItem.js.map +0 -1
  361. package/dist/modules/certificates/data/items/CertificatePrivateAttributeItem.d.ts +0 -21
  362. package/dist/modules/certificates/data/items/CertificatePrivateAttributeItem.d.ts.map +0 -1
  363. package/dist/modules/certificates/data/items/CertificatePrivateAttributeItem.js +0 -41
  364. package/dist/modules/certificates/data/items/CertificatePrivateAttributeItem.js.map +0 -1
  365. package/dist/modules/certificates/data/items/CertificatePrivateAttributeItemSource.d.ts +0 -26
  366. package/dist/modules/certificates/data/items/CertificatePrivateAttributeItemSource.d.ts.map +0 -1
  367. package/dist/modules/certificates/data/items/CertificatePrivateAttributeItemSource.js +0 -54
  368. package/dist/modules/certificates/data/items/CertificatePrivateAttributeItemSource.js.map +0 -1
  369. package/dist/modules/certificates/data/items/CertificatePublicAttributeItem.d.ts +0 -15
  370. package/dist/modules/certificates/data/items/CertificatePublicAttributeItem.d.ts.map +0 -1
  371. package/dist/modules/certificates/data/items/CertificatePublicAttributeItem.js +0 -38
  372. package/dist/modules/certificates/data/items/CertificatePublicAttributeItem.js.map +0 -1
  373. package/dist/modules/certificates/data/items/CertificateRoleItem.d.ts +0 -17
  374. package/dist/modules/certificates/data/items/CertificateRoleItem.d.ts.map +0 -1
  375. package/dist/modules/certificates/data/items/CertificateRoleItem.js.map +0 -1
  376. package/dist/modules/files/local/CachedFile.d.ts +0 -52
  377. package/dist/modules/files/local/CachedFile.d.ts.map +0 -1
  378. package/dist/modules/files/local/CachedFile.js +0 -145
  379. package/dist/modules/files/local/CachedFile.js.map +0 -1
  380. package/dist/modules/messages/local/CachedMessage.d.ts +0 -23
  381. package/dist/modules/messages/local/CachedMessage.d.ts.map +0 -1
  382. package/dist/modules/messages/local/CachedMessage.js.map +0 -1
  383. package/dist/modules/messages/local/CachedMessageRecipient.d.ts.map +0 -1
  384. package/dist/modules/messages/local/CachedMessageRecipient.js.map +0 -1
  385. package/dist/modules/relationshipTemplates/local/CachedRelationshipTemplate.d.ts +0 -30
  386. package/dist/modules/relationshipTemplates/local/CachedRelationshipTemplate.d.ts.map +0 -1
  387. package/dist/modules/relationshipTemplates/local/CachedRelationshipTemplate.js +0 -80
  388. package/dist/modules/relationshipTemplates/local/CachedRelationshipTemplate.js.map +0 -1
  389. package/dist/modules/relationships/local/CachedRelationship.d.ts +0 -20
  390. package/dist/modules/relationships/local/CachedRelationship.d.ts.map +0 -1
  391. package/dist/modules/relationships/local/CachedRelationship.js.map +0 -1
  392. package/dist/modules/tokens/local/CachedToken.d.ts +0 -20
  393. package/dist/modules/tokens/local/CachedToken.d.ts.map +0 -1
  394. package/dist/modules/tokens/local/CachedToken.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"CachedMessage.js","sourceRoot":"","sources":["../../../../src/modules/messages/local/CachedMessage.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2DAA2D;AAC3D,kDAA4F;AAC5F,kDAAoG;AACpG,qEAA2F;AAiBpF,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,wBAAY;IAAxC;;QAuBI,uBAAkB,GAAY,KAAK,CAAC;IAS/C,CAAC;IAHU,MAAM,CAAC,IAAI,CAAC,KAAqB;QACpC,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;CACJ,CAAA;AAhCY,sCAAa;AAGf;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACM,wBAAW;gDAAC;AAIvB;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACY,mBAAM;sDAAC;AAIxB;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,+CAAsB,EAAE,CAAC;;iDACA;AAIrC;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACM,qBAAQ;gDAAC;AAIpB;IAFN,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC5B,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,mBAAM,EAAE,CAAC;;kDACC;AAItB;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;;yDAC+B;AAIpC;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACI,wBAAY;8CAAC;wBA3BpB,aAAa;IADzB,IAAA,gBAAI,EAAC,eAAe,CAAC;GACT,aAAa,CAgCzB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"CachedMessageRecipient.d.ts","sourceRoot":"","sources":["../../../../src/modules/messages/local/CachedMessageRecipient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,YAAY,EAA6B,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AFN,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC5B,IAAA,qBAAS,GAAE;8BACQ,qBAAQ;0DAAC;AAItB;IAFN,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC5B,IAAA,qBAAS,GAAE;8BACc,mBAAM;gEAAC;AAI1B;IAFN,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC5B,IAAA,qBAAS,GAAE;8BACY,mBAAM;8DAAC;iCAnBtB,sBAAsB;IADlC,IAAA,gBAAI,EAAC,wBAAwB,CAAC;GAClB,sBAAsB,CAwBlC"}
@@ -1,30 +0,0 @@
1
- import { ISerializable, Serializable } from "@js-soft/ts-serval";
2
- import { CoreAddress, CoreDate, CoreId, ICoreAddress, ICoreDate, ICoreId } from "@nmshd/core-types";
3
- import { ICryptoExchangePublicKey } from "@nmshd/crypto";
4
- import { IIdentity, Identity } from "../../accounts/data/Identity";
5
- import { RelationshipTemplatePublicKey } from "../transmission/RelationshipTemplatePublicKey";
6
- export interface ICachedRelationshipTemplate extends ISerializable {
7
- identity: IIdentity;
8
- createdBy: ICoreAddress;
9
- createdByDevice: ICoreId;
10
- templateKey: ICryptoExchangePublicKey;
11
- content: ISerializable;
12
- createdAt: ICoreDate;
13
- expiresAt?: ICoreDate;
14
- maxNumberOfAllocations?: number;
15
- forIdentity?: ICoreAddress;
16
- }
17
- export declare class CachedRelationshipTemplate extends Serializable implements ICachedRelationshipTemplate {
18
- identity: Identity;
19
- createdBy: CoreAddress;
20
- createdByDevice: CoreId;
21
- templateKey: RelationshipTemplatePublicKey;
22
- content: Serializable;
23
- createdAt: CoreDate;
24
- expiresAt?: CoreDate;
25
- maxNumberOfAllocations?: number;
26
- forIdentity?: CoreAddress;
27
- static from(value: ICachedRelationshipTemplate): CachedRelationshipTemplate;
28
- }
29
- export declare function validateMaxNumberOfAllocations(value?: number): string | undefined;
30
- //# sourceMappingURL=CachedRelationshipTemplate.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CachedRelationshipTemplate.d.ts","sourceRoot":"","sources":["../../../../src/modules/relationshipTemplates/local/CachedRelationshipTemplate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,YAAY,EAA6B,MAAM,oBAAoB,CAAC;AAC5F,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,EAAE,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACpG,OAAO,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,6BAA6B,EAAE,MAAM,+CAA+C,CAAC;AAE9F,MAAM,WAAW,2BAA4B,SAAQ,aAAa;IAC9D,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,EAAE,YAAY,CAAC;IACxB,eAAe,EAAE,OAAO,CAAC;IACzB,WAAW,EAAE,wBAAwB,CAAC;IACtC,OAAO,EAAE,aAAa,CAAC;IACvB,SAAS,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,WAAW,CAAC,EAAE,YAAY,CAAC;CAC9B;AAED,qBACa,0BAA2B,SAAQ,YAAa,YAAW,2BAA2B;IAGxF,QAAQ,EAAE,QAAQ,CAAC;IAInB,SAAS,EAAE,WAAW,CAAC;IAIvB,eAAe,EAAE,MAAM,CAAC;IAIxB,WAAW,EAAE,6BAA6B,CAAC;IAI3C,OAAO,EAAE,YAAY,CAAC;IAItB,SAAS,EAAE,QAAQ,CAAC;IAIpB,SAAS,CAAC,EAAE,QAAQ,CAAC;IAIrB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAIhC,WAAW,CAAC,EAAE,WAAW,CAAC;WAEnB,IAAI,CAAC,KAAK,EAAE,2BAA2B,GAAG,0BAA0B;CAGrF;AAED,wBAAgB,8BAA8B,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAQjF"}
@@ -1,80 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.CachedRelationshipTemplate = void 0;
13
- exports.validateMaxNumberOfAllocations = validateMaxNumberOfAllocations;
14
- const ts_serval_1 = require("@js-soft/ts-serval");
15
- const core_types_1 = require("@nmshd/core-types");
16
- const Identity_1 = require("../../accounts/data/Identity");
17
- const RelationshipTemplatePublicKey_1 = require("../transmission/RelationshipTemplatePublicKey");
18
- let CachedRelationshipTemplate = class CachedRelationshipTemplate extends ts_serval_1.Serializable {
19
- static from(value) {
20
- return this.fromAny(value);
21
- }
22
- };
23
- exports.CachedRelationshipTemplate = CachedRelationshipTemplate;
24
- __decorate([
25
- (0, ts_serval_1.validate)(),
26
- (0, ts_serval_1.serialize)(),
27
- __metadata("design:type", Identity_1.Identity)
28
- ], CachedRelationshipTemplate.prototype, "identity", void 0);
29
- __decorate([
30
- (0, ts_serval_1.validate)(),
31
- (0, ts_serval_1.serialize)(),
32
- __metadata("design:type", core_types_1.CoreAddress)
33
- ], CachedRelationshipTemplate.prototype, "createdBy", void 0);
34
- __decorate([
35
- (0, ts_serval_1.validate)(),
36
- (0, ts_serval_1.serialize)(),
37
- __metadata("design:type", core_types_1.CoreId)
38
- ], CachedRelationshipTemplate.prototype, "createdByDevice", void 0);
39
- __decorate([
40
- (0, ts_serval_1.validate)(),
41
- (0, ts_serval_1.serialize)(),
42
- __metadata("design:type", RelationshipTemplatePublicKey_1.RelationshipTemplatePublicKey)
43
- ], CachedRelationshipTemplate.prototype, "templateKey", void 0);
44
- __decorate([
45
- (0, ts_serval_1.validate)(),
46
- (0, ts_serval_1.serialize)(),
47
- __metadata("design:type", ts_serval_1.Serializable)
48
- ], CachedRelationshipTemplate.prototype, "content", void 0);
49
- __decorate([
50
- (0, ts_serval_1.validate)(),
51
- (0, ts_serval_1.serialize)(),
52
- __metadata("design:type", core_types_1.CoreDate)
53
- ], CachedRelationshipTemplate.prototype, "createdAt", void 0);
54
- __decorate([
55
- (0, ts_serval_1.validate)({ nullable: true }),
56
- (0, ts_serval_1.serialize)(),
57
- __metadata("design:type", core_types_1.CoreDate)
58
- ], CachedRelationshipTemplate.prototype, "expiresAt", void 0);
59
- __decorate([
60
- (0, ts_serval_1.validate)({ nullable: true, customValidator: validateMaxNumberOfAllocations }),
61
- (0, ts_serval_1.serialize)(),
62
- __metadata("design:type", Number)
63
- ], CachedRelationshipTemplate.prototype, "maxNumberOfAllocations", void 0);
64
- __decorate([
65
- (0, ts_serval_1.validate)({ nullable: true }),
66
- (0, ts_serval_1.serialize)(),
67
- __metadata("design:type", core_types_1.CoreAddress)
68
- ], CachedRelationshipTemplate.prototype, "forIdentity", void 0);
69
- exports.CachedRelationshipTemplate = CachedRelationshipTemplate = __decorate([
70
- (0, ts_serval_1.type)("CachedRelationshipTemplate")
71
- ], CachedRelationshipTemplate);
72
- function validateMaxNumberOfAllocations(value) {
73
- if (value === undefined)
74
- return;
75
- if (value <= 0) {
76
- return "maxNumberOfAllocations must be greater than 0";
77
- }
78
- return;
79
- }
80
- //# sourceMappingURL=CachedRelationshipTemplate.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CachedRelationshipTemplate.js","sourceRoot":"","sources":["../../../../src/modules/relationshipTemplates/local/CachedRelationshipTemplate.ts"],"names":[],"mappings":";;;;;;;;;;;;AA6DA,wEAQC;AArED,kDAA4F;AAC5F,kDAAoG;AAEpG,2DAAmE;AACnE,iGAA8F;AAevF,IAAM,0BAA0B,GAAhC,MAAM,0BAA2B,SAAQ,wBAAY;IAqCjD,MAAM,CAAC,IAAI,CAAC,KAAkC;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;CACJ,CAAA;AAxCY,gEAA0B;AAG5B;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACK,mBAAQ;4DAAC;AAInB;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACM,wBAAW;6DAAC;AAIvB;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACY,mBAAM;mEAAC;AAIxB;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACQ,6DAA6B;+DAAC;AAI3C;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACI,wBAAY;2DAAC;AAItB;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACM,qBAAQ;6DAAC;AAIpB;IAFN,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC5B,IAAA,qBAAS,GAAE;8BACO,qBAAQ;6DAAC;AAIrB;IAFN,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,eAAe,EAAE,8BAA8B,EAAE,CAAC;IAC7E,IAAA,qBAAS,GAAE;;0EAC2B;AAIhC;IAFN,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC5B,IAAA,qBAAS,GAAE;8BACS,wBAAW;+DAAC;qCAnCxB,0BAA0B;IADtC,IAAA,gBAAI,EAAC,4BAA4B,CAAC;GACtB,0BAA0B,CAwCtC;AAED,SAAgB,8BAA8B,CAAC,KAAc;IACzD,IAAI,KAAK,KAAK,SAAS;QAAE,OAAO;IAEhC,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;QACb,OAAO,+CAA+C,CAAC;IAC3D,CAAC;IAED,OAAO;AACX,CAAC"}
@@ -1,20 +0,0 @@
1
- import { ISerializable, Serializable } from "@js-soft/ts-serval";
2
- import { CoreDate, CoreId, ICoreDate, ICoreId } from "@nmshd/core-types";
3
- import { IRelationshipAuditLogEntry, RelationshipAuditLogEntry } from "./RelationshipAuditLogEntry";
4
- export interface ICachedRelationship extends ISerializable {
5
- templateId: ICoreId;
6
- creationContent: ISerializable;
7
- lastMessageSentAt?: ICoreDate;
8
- lastMessageReceivedAt?: ICoreDate;
9
- auditLog: IRelationshipAuditLogEntry[];
10
- }
11
- export declare class CachedRelationship extends Serializable implements ICachedRelationship {
12
- templateId: CoreId;
13
- creationContent: Serializable;
14
- lastMessageSentAt?: CoreDate;
15
- lastMessageReceivedAt?: CoreDate;
16
- auditLog: RelationshipAuditLogEntry[];
17
- static preFrom(value: any): any;
18
- static from(value: ICachedRelationship): CachedRelationship;
19
- }
20
- //# sourceMappingURL=CachedRelationship.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CachedRelationship.d.ts","sourceRoot":"","sources":["../../../../src/modules/relationships/local/CachedRelationship.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,YAAY,EAA6B,MAAM,oBAAoB,CAAC;AAC5F,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACzE,OAAO,EAAE,0BAA0B,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAEpG,MAAM,WAAW,mBAAoB,SAAQ,aAAa;IACtD,UAAU,EAAE,OAAO,CAAC;IACpB,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E;8BACY,wBAAY;2DAAC;AAI9B;IAFN,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC5B,IAAA,qBAAS,GAAE;8BACe,qBAAQ;6DAAC;AAI7B;IAFN,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC5B,IAAA,qBAAS,GAAE;8BACmB,qBAAQ;iEAAC;AAIjC;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,qDAAyB,EAAE,CAAC;;oDACF;6BAnBpC,kBAAkB;IAD9B,IAAA,gBAAI,EAAC,oBAAoB,CAAC;GACd,kBAAkB,CAiC9B"}
@@ -1,20 +0,0 @@
1
- import { ISerializable, Serializable } from "@js-soft/ts-serval";
2
- import { CoreAddress, CoreDate, CoreId, ICoreAddress, ICoreDate, ICoreId } from "@nmshd/core-types";
3
- export interface ICachedToken extends ISerializable {
4
- createdBy: ICoreAddress;
5
- createdAt: ICoreDate;
6
- expiresAt: ICoreDate;
7
- content: ISerializable;
8
- createdByDevice: ICoreId;
9
- forIdentity?: ICoreAddress;
10
- }
11
- export declare class CachedToken extends Serializable implements ICachedToken {
12
- createdBy: CoreAddress;
13
- createdAt: CoreDate;
14
- expiresAt: CoreDate;
15
- content: Serializable;
16
- createdByDevice: CoreId;
17
- forIdentity?: CoreAddress;
18
- static from(value: ICachedToken): CachedToken;
19
- }
20
- //# sourceMappingURL=CachedToken.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CachedToken.d.ts","sourceRoot":"","sources":["../../../../src/modules/tokens/local/CachedToken.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,YAAY,EAA6B,MAAM,oBAAoB,CAAC;AAC5F,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,EAAE,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAEpG,MAAM,WAAW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