@icure/api 5.0.36 → 6.0.0

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 (2650) hide show
  1. package/{dist/icc-api → icc-api}/api/IccAccesslogApi.d.ts +0 -0
  2. package/{dist/icc-api → icc-api}/api/IccAccesslogApi.js +0 -0
  3. package/{dist/icc-api → icc-api}/api/IccAccesslogApi.js.map +0 -0
  4. package/{dist/icc-api → icc-api}/api/IccAgendaApi.d.ts +0 -0
  5. package/{dist/icc-api → icc-api}/api/IccAgendaApi.js +0 -0
  6. package/{dist/icc-api → icc-api}/api/IccAgendaApi.js.map +0 -0
  7. package/{dist/icc-api → icc-api}/api/IccAnonymousAccessApi.d.ts +0 -0
  8. package/{dist/icc-api → icc-api}/api/IccAnonymousAccessApi.js +0 -0
  9. package/{dist/icc-api → icc-api}/api/IccAnonymousAccessApi.js.map +0 -0
  10. package/{dist/icc-api → icc-api}/api/IccApplicationsettingsApi.d.ts +0 -0
  11. package/{dist/icc-api → icc-api}/api/IccApplicationsettingsApi.js +0 -0
  12. package/{dist/icc-api → icc-api}/api/IccApplicationsettingsApi.js.map +0 -0
  13. package/{dist/icc-api → icc-api}/api/IccArticleApi.d.ts +0 -0
  14. package/{dist/icc-api → icc-api}/api/IccArticleApi.js +0 -0
  15. package/{dist/icc-api → icc-api}/api/IccArticleApi.js.map +0 -0
  16. package/{dist/icc-api → icc-api}/api/IccAuthApi.d.ts +0 -0
  17. package/{dist/icc-api → icc-api}/api/IccAuthApi.js +0 -0
  18. package/{dist/icc-api → icc-api}/api/IccAuthApi.js.map +0 -0
  19. package/{dist/icc-api → icc-api}/api/IccBeefactApi.d.ts +0 -0
  20. package/{dist/icc-api → icc-api}/api/IccBeefactApi.js +0 -0
  21. package/{dist/icc-api → icc-api}/api/IccBeefactApi.js.map +0 -0
  22. package/{dist/icc-api → icc-api}/api/IccBekmehrApi.d.ts +0 -0
  23. package/{dist/icc-api → icc-api}/api/IccBekmehrApi.js +0 -0
  24. package/{dist/icc-api → icc-api}/api/IccBekmehrApi.js.map +0 -0
  25. package/{dist/icc-api → icc-api}/api/IccBemikronoApi.d.ts +0 -0
  26. package/{dist/icc-api → icc-api}/api/IccBemikronoApi.js +0 -0
  27. package/{dist/icc-api → icc-api}/api/IccBemikronoApi.js.map +0 -0
  28. package/{dist/icc-api → icc-api}/api/IccBeresultexportApi.d.ts +0 -0
  29. package/{dist/icc-api → icc-api}/api/IccBeresultexportApi.js +0 -0
  30. package/{dist/icc-api → icc-api}/api/IccBeresultexportApi.js.map +0 -0
  31. package/{dist/icc-api → icc-api}/api/IccBeresultimportApi.d.ts +0 -0
  32. package/{dist/icc-api → icc-api}/api/IccBeresultimportApi.js +0 -0
  33. package/{dist/icc-api → icc-api}/api/IccBeresultimportApi.js.map +0 -0
  34. package/{dist/icc-api → icc-api}/api/IccBesamv2Api.d.ts +0 -0
  35. package/{dist/icc-api → icc-api}/api/IccBesamv2Api.js +0 -0
  36. package/{dist/icc-api → icc-api}/api/IccBesamv2Api.js.map +0 -0
  37. package/{dist/icc-api → icc-api}/api/IccCalendarItemApi.d.ts +0 -0
  38. package/{dist/icc-api → icc-api}/api/IccCalendarItemApi.js +0 -0
  39. package/{dist/icc-api → icc-api}/api/IccCalendarItemApi.js.map +0 -0
  40. package/{dist/icc-api → icc-api}/api/IccCalendarItemTypeApi.d.ts +0 -0
  41. package/{dist/icc-api → icc-api}/api/IccCalendarItemTypeApi.js +0 -0
  42. package/{dist/icc-api → icc-api}/api/IccCalendarItemTypeApi.js.map +0 -0
  43. package/{dist/icc-api → icc-api}/api/IccClassificationApi.d.ts +0 -0
  44. package/{dist/icc-api → icc-api}/api/IccClassificationApi.js +0 -0
  45. package/{dist/icc-api → icc-api}/api/IccClassificationApi.js.map +0 -0
  46. package/{dist/icc-api → icc-api}/api/IccClassificationTemplateApi.d.ts +0 -0
  47. package/{dist/icc-api → icc-api}/api/IccClassificationTemplateApi.js +0 -0
  48. package/{dist/icc-api → icc-api}/api/IccClassificationTemplateApi.js.map +0 -0
  49. package/{dist/icc-api → icc-api}/api/IccCodeApi.d.ts +0 -0
  50. package/{dist/icc-api → icc-api}/api/IccCodeApi.js +0 -0
  51. package/{dist/icc-api → icc-api}/api/IccCodeApi.js.map +0 -0
  52. package/{dist/icc-api → icc-api}/api/IccContactApi.d.ts +0 -0
  53. package/{dist/icc-api → icc-api}/api/IccContactApi.js +0 -0
  54. package/{dist/icc-api → icc-api}/api/IccContactApi.js.map +0 -0
  55. package/{dist/icc-api → icc-api}/api/IccDeviceApi.d.ts +0 -0
  56. package/{dist/icc-api → icc-api}/api/IccDeviceApi.js +0 -0
  57. package/{dist/icc-api → icc-api}/api/IccDeviceApi.js.map +0 -0
  58. package/{dist/icc-api → icc-api}/api/IccDoctemplateApi.d.ts +0 -0
  59. package/{dist/icc-api → icc-api}/api/IccDoctemplateApi.js +0 -0
  60. package/{dist/icc-api → icc-api}/api/IccDoctemplateApi.js.map +0 -0
  61. package/{dist/icc-api → icc-api}/api/IccDocumentApi.d.ts +0 -0
  62. package/{dist/icc-api → icc-api}/api/IccDocumentApi.js +0 -0
  63. package/{dist/icc-api → icc-api}/api/IccDocumentApi.js.map +0 -0
  64. package/{dist/icc-api → icc-api}/api/IccDocumentTemplateApi.d.ts +0 -0
  65. package/{dist/icc-api → icc-api}/api/IccDocumentTemplateApi.js +0 -0
  66. package/{dist/icc-api → icc-api}/api/IccDocumentTemplateApi.js.map +0 -0
  67. package/{dist/icc-api → icc-api}/api/IccEntityrefApi.d.ts +0 -0
  68. package/{dist/icc-api → icc-api}/api/IccEntityrefApi.js +0 -0
  69. package/{dist/icc-api → icc-api}/api/IccEntityrefApi.js.map +0 -0
  70. package/{dist/icc-api → icc-api}/api/IccEntitytemplateApi.d.ts +0 -0
  71. package/{dist/icc-api → icc-api}/api/IccEntitytemplateApi.js +0 -0
  72. package/{dist/icc-api → icc-api}/api/IccEntitytemplateApi.js.map +0 -0
  73. package/{dist/icc-api → icc-api}/api/IccFormApi.d.ts +0 -0
  74. package/{dist/icc-api → icc-api}/api/IccFormApi.js +0 -0
  75. package/{dist/icc-api → icc-api}/api/IccFormApi.js.map +0 -0
  76. package/{dist/icc-api → icc-api}/api/IccFrontendmigrationApi.d.ts +0 -0
  77. package/{dist/icc-api → icc-api}/api/IccFrontendmigrationApi.js +0 -0
  78. package/{dist/icc-api → icc-api}/api/IccFrontendmigrationApi.js.map +0 -0
  79. package/{dist/icc-api → icc-api}/api/IccGroupApi.d.ts +0 -0
  80. package/{dist/icc-api → icc-api}/api/IccGroupApi.js +0 -0
  81. package/{dist/icc-api → icc-api}/api/IccGroupApi.js.map +0 -0
  82. package/{dist/icc-api → icc-api}/api/IccHcpartyApi.d.ts +0 -0
  83. package/{dist/icc-api → icc-api}/api/IccHcpartyApi.js +0 -0
  84. package/{dist/icc-api → icc-api}/api/IccHcpartyApi.js.map +0 -0
  85. package/{dist/icc-api → icc-api}/api/IccHelementApi.d.ts +0 -0
  86. package/{dist/icc-api → icc-api}/api/IccHelementApi.js +0 -0
  87. package/{dist/icc-api → icc-api}/api/IccHelementApi.js.map +0 -0
  88. package/{dist/icc-api → icc-api}/api/IccIcureApi.d.ts +0 -0
  89. package/{dist/icc-api → icc-api}/api/IccIcureApi.js +0 -0
  90. package/{dist/icc-api → icc-api}/api/IccIcureApi.js.map +0 -0
  91. package/{dist/icc-api → icc-api}/api/IccInsuranceApi.d.ts +0 -0
  92. package/{dist/icc-api → icc-api}/api/IccInsuranceApi.js +0 -0
  93. package/{dist/icc-api → icc-api}/api/IccInsuranceApi.js.map +0 -0
  94. package/{dist/icc-api → icc-api}/api/IccInvoiceApi.d.ts +0 -0
  95. package/{dist/icc-api → icc-api}/api/IccInvoiceApi.js +0 -0
  96. package/{dist/icc-api → icc-api}/api/IccInvoiceApi.js.map +0 -0
  97. package/{dist/icc-api → icc-api}/api/IccKeywordApi.d.ts +0 -0
  98. package/{dist/icc-api → icc-api}/api/IccKeywordApi.js +0 -0
  99. package/{dist/icc-api → icc-api}/api/IccKeywordApi.js.map +0 -0
  100. package/{dist/icc-api → icc-api}/api/IccMaintenanceTaskApi.d.ts +0 -0
  101. package/{dist/icc-api → icc-api}/api/IccMaintenanceTaskApi.js +0 -0
  102. package/{dist/icc-api → icc-api}/api/IccMaintenanceTaskApi.js.map +0 -0
  103. package/{dist/icc-api → icc-api}/api/IccMedexApi.d.ts +0 -0
  104. package/{dist/icc-api → icc-api}/api/IccMedexApi.js +0 -0
  105. package/{dist/icc-api → icc-api}/api/IccMedexApi.js.map +0 -0
  106. package/{dist/icc-api → icc-api}/api/IccMedicallocationApi.d.ts +0 -0
  107. package/{dist/icc-api → icc-api}/api/IccMedicallocationApi.js +0 -0
  108. package/{dist/icc-api → icc-api}/api/IccMedicallocationApi.js.map +0 -0
  109. package/{dist/icc-api → icc-api}/api/IccMessageApi.d.ts +0 -0
  110. package/{dist/icc-api → icc-api}/api/IccMessageApi.js +0 -0
  111. package/{dist/icc-api → icc-api}/api/IccMessageApi.js.map +0 -0
  112. package/{dist/icc-api → icc-api}/api/IccPatientApi.d.ts +0 -0
  113. package/{dist/icc-api → icc-api}/api/IccPatientApi.js +0 -0
  114. package/{dist/icc-api → icc-api}/api/IccPatientApi.js.map +0 -0
  115. package/{dist/icc-api → icc-api}/api/IccPermissionApi.d.ts +0 -0
  116. package/{dist/icc-api → icc-api}/api/IccPermissionApi.js +0 -0
  117. package/{dist/icc-api → icc-api}/api/IccPermissionApi.js.map +0 -0
  118. package/{dist/icc-api → icc-api}/api/IccPlaceApi.d.ts +0 -0
  119. package/{dist/icc-api → icc-api}/api/IccPlaceApi.js +0 -0
  120. package/{dist/icc-api → icc-api}/api/IccPlaceApi.js.map +0 -0
  121. package/{dist/icc-api → icc-api}/api/IccPubsubApi.d.ts +0 -0
  122. package/{dist/icc-api → icc-api}/api/IccPubsubApi.js +0 -0
  123. package/{dist/icc-api → icc-api}/api/IccPubsubApi.js.map +0 -0
  124. package/{dist/icc-api → icc-api}/api/IccReceiptApi.d.ts +0 -0
  125. package/{dist/icc-api → icc-api}/api/IccReceiptApi.js +0 -0
  126. package/{dist/icc-api → icc-api}/api/IccReceiptApi.js.map +0 -0
  127. package/{dist/icc-api → icc-api}/api/IccReplicationApi.d.ts +0 -0
  128. package/{dist/icc-api → icc-api}/api/IccReplicationApi.js +0 -0
  129. package/{dist/icc-api → icc-api}/api/IccReplicationApi.js.map +0 -0
  130. package/{dist/icc-api → icc-api}/api/IccTarificationApi.d.ts +0 -0
  131. package/{dist/icc-api → icc-api}/api/IccTarificationApi.js +0 -0
  132. package/{dist/icc-api → icc-api}/api/IccTarificationApi.js.map +0 -0
  133. package/{dist/icc-api → icc-api}/api/IccTimeTableApi.d.ts +0 -0
  134. package/{dist/icc-api → icc-api}/api/IccTimeTableApi.js +0 -0
  135. package/{dist/icc-api → icc-api}/api/IccTimeTableApi.js.map +0 -0
  136. package/{dist/icc-api → icc-api}/api/IccTmpApi.d.ts +0 -0
  137. package/{dist/icc-api → icc-api}/api/IccTmpApi.js +0 -0
  138. package/{dist/icc-api → icc-api}/api/IccTmpApi.js.map +0 -0
  139. package/{dist/icc-api → icc-api}/api/IccUserApi.d.ts +0 -0
  140. package/{dist/icc-api → icc-api}/api/IccUserApi.js +0 -0
  141. package/{dist/icc-api → icc-api}/api/IccUserApi.js.map +0 -0
  142. package/{dist/icc-api → icc-api}/api/XHR.d.ts +0 -0
  143. package/{dist/icc-api → icc-api}/api/XHR.js +0 -0
  144. package/{dist/icc-api → icc-api}/api/XHR.js.map +0 -0
  145. package/{dist/icc-api → icc-api}/iccApi.d.ts +0 -0
  146. package/{dist/icc-api → icc-api}/iccApi.js +0 -0
  147. package/{dist/icc-api → icc-api}/iccApi.js.map +0 -0
  148. package/{dist/icc-api → icc-api}/index.d.ts +0 -0
  149. package/{dist/icc-api → icc-api}/index.js +0 -0
  150. package/{dist/icc-api → icc-api}/index.js.map +0 -0
  151. package/{dist/icc-api → icc-api}/model/AbstractFilterCode.d.ts +0 -0
  152. package/{dist/icc-api → icc-api}/model/AbstractFilterCode.js +0 -0
  153. package/{dist/icc-api → icc-api}/model/AbstractFilterCode.js.map +0 -0
  154. package/{dist/icc-api → icc-api}/model/AbstractFilterContact.d.ts +0 -0
  155. package/{dist/icc-api → icc-api}/model/AbstractFilterContact.js +0 -0
  156. package/{dist/icc-api → icc-api}/model/AbstractFilterContact.js.map +0 -0
  157. package/{dist/icc-api → icc-api}/model/AbstractFilterDevice.d.ts +0 -0
  158. package/{dist/icc-api → icc-api}/model/AbstractFilterDevice.js +0 -0
  159. package/{dist/icc-api → icc-api}/model/AbstractFilterDevice.js.map +0 -0
  160. package/{dist/icc-api → icc-api}/model/AbstractFilterHealthElement.d.ts +0 -0
  161. package/{dist/icc-api → icc-api}/model/AbstractFilterHealthElement.js +0 -0
  162. package/{dist/icc-api → icc-api}/model/AbstractFilterHealthElement.js.map +0 -0
  163. package/{dist/icc-api → icc-api}/model/AbstractFilterHealthcareParty.d.ts +0 -0
  164. package/{dist/icc-api → icc-api}/model/AbstractFilterHealthcareParty.js +0 -0
  165. package/{dist/icc-api → icc-api}/model/AbstractFilterHealthcareParty.js.map +0 -0
  166. package/{dist/icc-api → icc-api}/model/AbstractFilterInvoice.d.ts +0 -0
  167. package/{dist/icc-api → icc-api}/model/AbstractFilterInvoice.js +0 -0
  168. package/{dist/icc-api → icc-api}/model/AbstractFilterInvoice.js.map +0 -0
  169. package/{dist/icc-api → icc-api}/model/AbstractFilterMaintenanceTask.d.ts +0 -0
  170. package/{dist/icc-api → icc-api}/model/AbstractFilterMaintenanceTask.js +0 -0
  171. package/{dist/icc-api → icc-api}/model/AbstractFilterMaintenanceTask.js.map +0 -0
  172. package/{dist/icc-api → icc-api}/model/AbstractFilterPatient.d.ts +0 -0
  173. package/{dist/icc-api → icc-api}/model/AbstractFilterPatient.js +0 -0
  174. package/{dist/icc-api → icc-api}/model/AbstractFilterPatient.js.map +0 -0
  175. package/{dist/icc-api → icc-api}/model/AbstractFilterService.d.ts +0 -0
  176. package/{dist/icc-api → icc-api}/model/AbstractFilterService.js +0 -0
  177. package/{dist/icc-api → icc-api}/model/AbstractFilterService.js.map +0 -0
  178. package/{dist/icc-api → icc-api}/model/AbstractFilterUser.d.ts +0 -0
  179. package/{dist/icc-api → icc-api}/model/AbstractFilterUser.js +0 -0
  180. package/{dist/icc-api → icc-api}/model/AbstractFilterUser.js.map +0 -0
  181. package/{dist/icc-api → icc-api}/model/AccessLog.d.ts +0 -0
  182. package/{dist/icc-api → icc-api}/model/AccessLog.js +0 -0
  183. package/{dist/icc-api → icc-api}/model/AccessLog.js.map +0 -0
  184. package/{dist/icc-api → icc-api}/model/AddedDocument.d.ts +0 -0
  185. package/{dist/icc-api → icc-api}/model/AddedDocument.js +0 -0
  186. package/{dist/icc-api → icc-api}/model/AddedDocument.js.map +0 -0
  187. package/{dist/icc-api → icc-api}/model/Address.d.ts +0 -0
  188. package/{dist/icc-api → icc-api}/model/Address.js +0 -0
  189. package/{dist/icc-api → icc-api}/model/Address.js.map +0 -0
  190. package/{dist/icc-api → icc-api}/model/AdministrationQuantity.d.ts +0 -0
  191. package/{dist/icc-api → icc-api}/model/AdministrationQuantity.js +0 -0
  192. package/{dist/icc-api → icc-api}/model/AdministrationQuantity.js.map +0 -0
  193. package/{dist/icc-api → icc-api}/model/Agenda.d.ts +0 -0
  194. package/{dist/icc-api → icc-api}/model/Agenda.js +0 -0
  195. package/{dist/icc-api → icc-api}/model/Agenda.js.map +0 -0
  196. package/{dist/icc-api → icc-api}/model/AgreementAppendix.d.ts +0 -0
  197. package/{dist/icc-api → icc-api}/model/AgreementAppendix.js +0 -0
  198. package/{dist/icc-api → icc-api}/model/AgreementAppendix.js.map +0 -0
  199. package/{dist/icc-api → icc-api}/model/Amp.d.ts +0 -0
  200. package/{dist/icc-api → icc-api}/model/Amp.js +0 -0
  201. package/{dist/icc-api → icc-api}/model/Amp.js.map +0 -0
  202. package/{dist/icc-api → icc-api}/model/AmpComponent.d.ts +0 -0
  203. package/{dist/icc-api → icc-api}/model/AmpComponent.js +0 -0
  204. package/{dist/icc-api → icc-api}/model/AmpComponent.js.map +0 -0
  205. package/{dist/icc-api → icc-api}/model/Ampp.d.ts +0 -0
  206. package/{dist/icc-api → icc-api}/model/Ampp.js +0 -0
  207. package/{dist/icc-api → icc-api}/model/Ampp.js.map +0 -0
  208. package/{dist/icc-api → icc-api}/model/AmppComponent.d.ts +0 -0
  209. package/{dist/icc-api → icc-api}/model/AmppComponent.js +0 -0
  210. package/{dist/icc-api → icc-api}/model/AmppComponent.js.map +0 -0
  211. package/{dist/icc-api → icc-api}/model/Annotation.d.ts +0 -0
  212. package/{dist/icc-api → icc-api}/model/Annotation.js +0 -0
  213. package/{dist/icc-api → icc-api}/model/Annotation.js.map +0 -0
  214. package/{dist/icc-api → icc-api}/model/ApplicationSettings.d.ts +0 -0
  215. package/{dist/icc-api → icc-api}/model/ApplicationSettings.js +0 -0
  216. package/{dist/icc-api → icc-api}/model/ApplicationSettings.js.map +0 -0
  217. package/{dist/icc-api → icc-api}/model/Appointment.d.ts +0 -0
  218. package/{dist/icc-api → icc-api}/model/Appointment.js +0 -0
  219. package/{dist/icc-api → icc-api}/model/Appointment.js.map +0 -0
  220. package/{dist/icc-api → icc-api}/model/AppointmentImport.d.ts +0 -0
  221. package/{dist/icc-api → icc-api}/model/AppointmentImport.js +0 -0
  222. package/{dist/icc-api → icc-api}/model/AppointmentImport.js.map +0 -0
  223. package/{dist/icc-api → icc-api}/model/AppointmentTypeAndPlace.d.ts +0 -0
  224. package/{dist/icc-api → icc-api}/model/AppointmentTypeAndPlace.js +0 -0
  225. package/{dist/icc-api → icc-api}/model/AppointmentTypeAndPlace.js.map +0 -0
  226. package/{dist/icc-api → icc-api}/model/Article.d.ts +0 -0
  227. package/{dist/icc-api → icc-api}/model/Article.js +0 -0
  228. package/{dist/icc-api → icc-api}/model/Article.js.map +0 -0
  229. package/{dist/icc-api → icc-api}/model/Atc.d.ts +0 -0
  230. package/{dist/icc-api → icc-api}/model/Atc.js +0 -0
  231. package/{dist/icc-api → icc-api}/model/Atc.js.map +0 -0
  232. package/{dist/icc-api → icc-api}/model/Attachment.d.ts +0 -0
  233. package/{dist/icc-api → icc-api}/model/Attachment.js +0 -0
  234. package/{dist/icc-api → icc-api}/model/Attachment.js.map +0 -0
  235. package/{dist/icc-api → icc-api}/model/AuthenticationResponse.d.ts +0 -0
  236. package/{dist/icc-api → icc-api}/model/AuthenticationResponse.js +0 -0
  237. package/{dist/icc-api → icc-api}/model/AuthenticationResponse.js.map +0 -0
  238. package/{dist/icc-api → icc-api}/model/AuthenticationToken.d.ts +0 -0
  239. package/{dist/icc-api → icc-api}/model/AuthenticationToken.js +0 -0
  240. package/{dist/icc-api → icc-api}/model/AuthenticationToken.js.map +0 -0
  241. package/{dist/icc-api → icc-api}/model/Basic.d.ts +0 -0
  242. package/{dist/icc-api → icc-api}/model/Basic.js +0 -0
  243. package/{dist/icc-api → icc-api}/model/Basic.js.map +0 -0
  244. package/{dist/icc-api → icc-api}/model/Body.d.ts +0 -0
  245. package/{dist/icc-api → icc-api}/model/Body.js +0 -0
  246. package/{dist/icc-api → icc-api}/model/Body.js.map +0 -0
  247. package/{dist/icc-api → icc-api}/model/Body1.d.ts +0 -0
  248. package/{dist/icc-api → icc-api}/model/Body1.js +0 -0
  249. package/{dist/icc-api → icc-api}/model/Body1.js.map +0 -0
  250. package/{dist/icc-api → icc-api}/model/Body2.d.ts +0 -0
  251. package/{dist/icc-api → icc-api}/model/Body2.js +0 -0
  252. package/{dist/icc-api → icc-api}/model/Body2.js.map +0 -0
  253. package/{dist/icc-api → icc-api}/model/Body3.d.ts +0 -0
  254. package/{dist/icc-api → icc-api}/model/Body3.js +0 -0
  255. package/{dist/icc-api → icc-api}/model/Body3.js.map +0 -0
  256. package/{dist/icc-api → icc-api}/model/ByteArray.d.ts +0 -0
  257. package/{dist/icc-api → icc-api}/model/ByteArray.js +0 -0
  258. package/{dist/icc-api → icc-api}/model/ByteArray.js.map +0 -0
  259. package/{dist/icc-api → icc-api}/model/CalendarItem.d.ts +0 -0
  260. package/{dist/icc-api → icc-api}/model/CalendarItem.js +0 -0
  261. package/{dist/icc-api → icc-api}/model/CalendarItem.js.map +0 -0
  262. package/{dist/icc-api → icc-api}/model/CalendarItemTag.d.ts +0 -0
  263. package/{dist/icc-api → icc-api}/model/CalendarItemTag.js +0 -0
  264. package/{dist/icc-api → icc-api}/model/CalendarItemTag.js.map +0 -0
  265. package/{dist/icc-api → icc-api}/model/CalendarItemType.d.ts +0 -0
  266. package/{dist/icc-api → icc-api}/model/CalendarItemType.js +0 -0
  267. package/{dist/icc-api → icc-api}/model/CalendarItemType.js.map +0 -0
  268. package/{dist/icc-api → icc-api}/model/CareTeamMember.d.ts +0 -0
  269. package/{dist/icc-api → icc-api}/model/CareTeamMember.js +0 -0
  270. package/{dist/icc-api → icc-api}/model/CareTeamMember.js.map +0 -0
  271. package/{dist/icc-api → icc-api}/model/CareTeamMembership.d.ts +0 -0
  272. package/{dist/icc-api → icc-api}/model/CareTeamMembership.js +0 -0
  273. package/{dist/icc-api → icc-api}/model/CareTeamMembership.js.map +0 -0
  274. package/{dist/icc-api → icc-api}/model/CheckSMFPatientResult.d.ts +0 -0
  275. package/{dist/icc-api → icc-api}/model/CheckSMFPatientResult.js +0 -0
  276. package/{dist/icc-api → icc-api}/model/CheckSMFPatientResult.js.map +0 -0
  277. package/{dist/icc-api → icc-api}/model/Classification.d.ts +0 -0
  278. package/{dist/icc-api → icc-api}/model/Classification.js +0 -0
  279. package/{dist/icc-api → icc-api}/model/Classification.js.map +0 -0
  280. package/{dist/icc-api → icc-api}/model/ClassificationTemplate.d.ts +0 -0
  281. package/{dist/icc-api → icc-api}/model/ClassificationTemplate.js +0 -0
  282. package/{dist/icc-api → icc-api}/model/ClassificationTemplate.js.map +0 -0
  283. package/{dist/icc-api → icc-api}/model/Code.d.ts +0 -0
  284. package/{dist/icc-api → icc-api}/model/Code.js +0 -0
  285. package/{dist/icc-api → icc-api}/model/Code.js.map +0 -0
  286. package/{dist/icc-api → icc-api}/model/CodeStub.d.ts +0 -0
  287. package/{dist/icc-api → icc-api}/model/CodeStub.js +0 -0
  288. package/{dist/icc-api → icc-api}/model/CodeStub.js.map +0 -0
  289. package/{dist/icc-api → icc-api}/model/CodeType.d.ts +0 -0
  290. package/{dist/icc-api → icc-api}/model/CodeType.js +0 -0
  291. package/{dist/icc-api → icc-api}/model/CodeType.js.map +0 -0
  292. package/{dist/icc-api → icc-api}/model/CommentedClassification.d.ts +0 -0
  293. package/{dist/icc-api → icc-api}/model/CommentedClassification.js +0 -0
  294. package/{dist/icc-api → icc-api}/model/CommentedClassification.js.map +0 -0
  295. package/{dist/icc-api → icc-api}/model/Commercialization.d.ts +0 -0
  296. package/{dist/icc-api → icc-api}/model/Commercialization.js +0 -0
  297. package/{dist/icc-api → icc-api}/model/Commercialization.js.map +0 -0
  298. package/{dist/icc-api → icc-api}/model/Company.d.ts +0 -0
  299. package/{dist/icc-api → icc-api}/model/Company.js +0 -0
  300. package/{dist/icc-api → icc-api}/model/Company.js.map +0 -0
  301. package/{dist/icc-api → icc-api}/model/Contact.d.ts +0 -0
  302. package/{dist/icc-api → icc-api}/model/Contact.js +0 -0
  303. package/{dist/icc-api → icc-api}/model/Contact.js.map +0 -0
  304. package/{dist/icc-api → icc-api}/model/Content.d.ts +0 -0
  305. package/{dist/icc-api → icc-api}/model/Content.js +0 -0
  306. package/{dist/icc-api → icc-api}/model/Content.js.map +0 -0
  307. package/{dist/icc-api → icc-api}/model/Copayment.d.ts +0 -0
  308. package/{dist/icc-api → icc-api}/model/Copayment.js +0 -0
  309. package/{dist/icc-api → icc-api}/model/Copayment.js.map +0 -0
  310. package/{dist/icc-api → icc-api}/model/Data.d.ts +0 -0
  311. package/{dist/icc-api → icc-api}/model/Data.js +0 -0
  312. package/{dist/icc-api → icc-api}/model/Data.js.map +0 -0
  313. package/{dist/icc-api → icc-api}/model/DataOwnerRegistrationSuccess.d.ts +0 -0
  314. package/{dist/icc-api → icc-api}/model/DataOwnerRegistrationSuccess.js +0 -0
  315. package/{dist/icc-api → icc-api}/model/DataOwnerRegistrationSuccess.js.map +0 -0
  316. package/{dist/icc-api → icc-api}/model/DatabaseInfo.d.ts +0 -0
  317. package/{dist/icc-api → icc-api}/model/DatabaseInfo.js +0 -0
  318. package/{dist/icc-api → icc-api}/model/DatabaseInfo.js.map +0 -0
  319. package/{dist/icc-api → icc-api}/model/DatabaseInitialisation.d.ts +0 -0
  320. package/{dist/icc-api → icc-api}/model/DatabaseInitialisation.js +0 -0
  321. package/{dist/icc-api → icc-api}/model/DatabaseInitialisation.js.map +0 -0
  322. package/{dist/icc-api → icc-api}/model/DatabaseSynchronization.d.ts +0 -0
  323. package/{dist/icc-api → icc-api}/model/DatabaseSynchronization.js +0 -0
  324. package/{dist/icc-api → icc-api}/model/DatabaseSynchronization.js.map +0 -0
  325. package/{dist/icc-api → icc-api}/model/Delegation.d.ts +0 -0
  326. package/{dist/icc-api → icc-api}/model/Delegation.js +0 -0
  327. package/{dist/icc-api → icc-api}/model/Delegation.js.map +0 -0
  328. package/{dist/icc-api → icc-api}/model/Device.d.ts +0 -0
  329. package/{dist/icc-api → icc-api}/model/Device.js +0 -0
  330. package/{dist/icc-api → icc-api}/model/Device.js.map +0 -0
  331. package/{dist/icc-api → icc-api}/model/DeviceType.d.ts +0 -0
  332. package/{dist/icc-api → icc-api}/model/DeviceType.js +0 -0
  333. package/{dist/icc-api → icc-api}/model/DeviceType.js.map +0 -0
  334. package/{dist/icc-api → icc-api}/model/DiaryNoteExportInfo.d.ts +0 -0
  335. package/{dist/icc-api → icc-api}/model/DiaryNoteExportInfo.js +0 -0
  336. package/{dist/icc-api → icc-api}/model/DiaryNoteExportInfo.js.map +0 -0
  337. package/{dist/icc-api → icc-api}/model/Dmpp.d.ts +0 -0
  338. package/{dist/icc-api → icc-api}/model/Dmpp.js +0 -0
  339. package/{dist/icc-api → icc-api}/model/Dmpp.js.map +0 -0
  340. package/{dist/icc-api → icc-api}/model/DocIdentifier.d.ts +0 -0
  341. package/{dist/icc-api → icc-api}/model/DocIdentifier.js +0 -0
  342. package/{dist/icc-api → icc-api}/model/DocIdentifier.js.map +0 -0
  343. package/{dist/icc-api → icc-api}/model/Document.d.ts +0 -0
  344. package/{dist/icc-api → icc-api}/model/Document.js +0 -0
  345. package/{dist/icc-api → icc-api}/model/Document.js.map +0 -0
  346. package/{dist/icc-api → icc-api}/model/DocumentGroup.d.ts +0 -0
  347. package/{dist/icc-api → icc-api}/model/DocumentGroup.js +0 -0
  348. package/{dist/icc-api → icc-api}/model/DocumentGroup.js.map +0 -0
  349. package/{dist/icc-api → icc-api}/model/DocumentTemplate.d.ts +0 -0
  350. package/{dist/icc-api → icc-api}/model/DocumentTemplate.js +0 -0
  351. package/{dist/icc-api → icc-api}/model/DocumentTemplate.js.map +0 -0
  352. package/{dist/icc-api → icc-api}/model/Duration.d.ts +0 -0
  353. package/{dist/icc-api → icc-api}/model/Duration.js +0 -0
  354. package/{dist/icc-api → icc-api}/model/Duration.js.map +0 -0
  355. package/{dist/icc-api → icc-api}/model/EIDItem.d.ts +0 -0
  356. package/{dist/icc-api → icc-api}/model/EIDItem.js +0 -0
  357. package/{dist/icc-api → icc-api}/model/EIDItem.js.map +0 -0
  358. package/{dist/icc-api → icc-api}/model/Editor.d.ts +0 -0
  359. package/{dist/icc-api → icc-api}/model/Editor.js +0 -0
  360. package/{dist/icc-api → icc-api}/model/Editor.js.map +0 -0
  361. package/{dist/icc-api → icc-api}/model/EfactInvoice.d.ts +0 -0
  362. package/{dist/icc-api → icc-api}/model/EfactInvoice.js +0 -0
  363. package/{dist/icc-api → icc-api}/model/EfactInvoice.js.map +0 -0
  364. package/{dist/icc-api → icc-api}/model/EmailOrSmsMessage.d.ts +0 -0
  365. package/{dist/icc-api → icc-api}/model/EmailOrSmsMessage.js +0 -0
  366. package/{dist/icc-api → icc-api}/model/EmailOrSmsMessage.js.map +0 -0
  367. package/{dist/icc-api → icc-api}/model/EmailTemplate.d.ts +0 -0
  368. package/{dist/icc-api → icc-api}/model/EmailTemplate.js +0 -0
  369. package/{dist/icc-api → icc-api}/model/EmailTemplate.js.map +0 -0
  370. package/{dist/icc-api → icc-api}/model/Employer.d.ts +0 -0
  371. package/{dist/icc-api → icc-api}/model/Employer.js +0 -0
  372. package/{dist/icc-api → icc-api}/model/Employer.js.map +0 -0
  373. package/{dist/icc-api → icc-api}/model/EmploymentInfo.d.ts +0 -0
  374. package/{dist/icc-api → icc-api}/model/EmploymentInfo.js +0 -0
  375. package/{dist/icc-api → icc-api}/model/EmploymentInfo.js.map +0 -0
  376. package/{dist/icc-api → icc-api}/model/EntityReference.d.ts +0 -0
  377. package/{dist/icc-api → icc-api}/model/EntityReference.js +0 -0
  378. package/{dist/icc-api → icc-api}/model/EntityReference.js.map +0 -0
  379. package/{dist/icc-api → icc-api}/model/EntityTemplate.d.ts +0 -0
  380. package/{dist/icc-api → icc-api}/model/EntityTemplate.js +0 -0
  381. package/{dist/icc-api → icc-api}/model/EntityTemplate.js.map +0 -0
  382. package/{dist/icc-api → icc-api}/model/Episode.d.ts +0 -0
  383. package/{dist/icc-api → icc-api}/model/Episode.js +0 -0
  384. package/{dist/icc-api → icc-api}/model/Episode.js.map +0 -0
  385. package/{dist/icc-api → icc-api}/model/FilterChainCode.d.ts +0 -0
  386. package/{dist/icc-api → icc-api}/model/FilterChainCode.js +0 -0
  387. package/{dist/icc-api → icc-api}/model/FilterChainCode.js.map +0 -0
  388. package/{dist/icc-api → icc-api}/model/FilterChainContact.d.ts +0 -0
  389. package/{dist/icc-api → icc-api}/model/FilterChainContact.js +0 -0
  390. package/{dist/icc-api → icc-api}/model/FilterChainContact.js.map +0 -0
  391. package/{dist/icc-api → icc-api}/model/FilterChainDevice.d.ts +0 -0
  392. package/{dist/icc-api → icc-api}/model/FilterChainDevice.js +0 -0
  393. package/{dist/icc-api → icc-api}/model/FilterChainDevice.js.map +0 -0
  394. package/{dist/icc-api → icc-api}/model/FilterChainHealthElement.d.ts +0 -0
  395. package/{dist/icc-api → icc-api}/model/FilterChainHealthElement.js +0 -0
  396. package/{dist/icc-api → icc-api}/model/FilterChainHealthElement.js.map +0 -0
  397. package/{dist/icc-api → icc-api}/model/FilterChainHealthcareParty.d.ts +0 -0
  398. package/{dist/icc-api → icc-api}/model/FilterChainHealthcareParty.js +0 -0
  399. package/{dist/icc-api → icc-api}/model/FilterChainHealthcareParty.js.map +0 -0
  400. package/{dist/icc-api → icc-api}/model/FilterChainInvoice.d.ts +0 -0
  401. package/{dist/icc-api → icc-api}/model/FilterChainInvoice.js +0 -0
  402. package/{dist/icc-api → icc-api}/model/FilterChainInvoice.js.map +0 -0
  403. package/{dist/icc-api → icc-api}/model/FilterChainMaintenanceTask.d.ts +0 -0
  404. package/{dist/icc-api → icc-api}/model/FilterChainMaintenanceTask.js +0 -0
  405. package/{dist/icc-api → icc-api}/model/FilterChainMaintenanceTask.js.map +0 -0
  406. package/{dist/icc-api → icc-api}/model/FilterChainPatient.d.ts +0 -0
  407. package/{dist/icc-api → icc-api}/model/FilterChainPatient.js +0 -0
  408. package/{dist/icc-api → icc-api}/model/FilterChainPatient.js.map +0 -0
  409. package/{dist/icc-api → icc-api}/model/FilterChainService.d.ts +0 -0
  410. package/{dist/icc-api → icc-api}/model/FilterChainService.js +0 -0
  411. package/{dist/icc-api → icc-api}/model/FilterChainService.js.map +0 -0
  412. package/{dist/icc-api → icc-api}/model/FilterChainUser.d.ts +0 -0
  413. package/{dist/icc-api → icc-api}/model/FilterChainUser.js +0 -0
  414. package/{dist/icc-api → icc-api}/model/FilterChainUser.js.map +0 -0
  415. package/{dist/icc-api → icc-api}/model/FinancialInstitutionInformation.d.ts +0 -0
  416. package/{dist/icc-api → icc-api}/model/FinancialInstitutionInformation.js +0 -0
  417. package/{dist/icc-api → icc-api}/model/FinancialInstitutionInformation.js.map +0 -0
  418. package/{dist/icc-api → icc-api}/model/FlatRateTarification.d.ts +0 -0
  419. package/{dist/icc-api → icc-api}/model/FlatRateTarification.js +0 -0
  420. package/{dist/icc-api → icc-api}/model/FlatRateTarification.js.map +0 -0
  421. package/{dist/icc-api → icc-api}/model/FlowItem.d.ts +0 -0
  422. package/{dist/icc-api → icc-api}/model/FlowItem.js +0 -0
  423. package/{dist/icc-api → icc-api}/model/FlowItem.js.map +0 -0
  424. package/{dist/icc-api → icc-api}/model/Form.d.ts +0 -0
  425. package/{dist/icc-api → icc-api}/model/Form.js +0 -0
  426. package/{dist/icc-api → icc-api}/model/Form.js.map +0 -0
  427. package/{dist/icc-api → icc-api}/model/FormColumn.d.ts +0 -0
  428. package/{dist/icc-api → icc-api}/model/FormColumn.js +0 -0
  429. package/{dist/icc-api → icc-api}/model/FormColumn.js.map +0 -0
  430. package/{dist/icc-api → icc-api}/model/FormDataOption.d.ts +0 -0
  431. package/{dist/icc-api → icc-api}/model/FormDataOption.js +0 -0
  432. package/{dist/icc-api → icc-api}/model/FormDataOption.js.map +0 -0
  433. package/{dist/icc-api → icc-api}/model/FormLayout.d.ts +0 -0
  434. package/{dist/icc-api → icc-api}/model/FormLayout.js +0 -0
  435. package/{dist/icc-api → icc-api}/model/FormLayout.js.map +0 -0
  436. package/{dist/icc-api → icc-api}/model/FormLayoutData.d.ts +0 -0
  437. package/{dist/icc-api → icc-api}/model/FormLayoutData.js +0 -0
  438. package/{dist/icc-api → icc-api}/model/FormLayoutData.js.map +0 -0
  439. package/{dist/icc-api → icc-api}/model/FormPlanning.d.ts +0 -0
  440. package/{dist/icc-api → icc-api}/model/FormPlanning.js +0 -0
  441. package/{dist/icc-api → icc-api}/model/FormPlanning.js.map +0 -0
  442. package/{dist/icc-api → icc-api}/model/FormSection.d.ts +0 -0
  443. package/{dist/icc-api → icc-api}/model/FormSection.js +0 -0
  444. package/{dist/icc-api → icc-api}/model/FormSection.js.map +0 -0
  445. package/{dist/icc-api → icc-api}/model/FormTemplate.d.ts +0 -0
  446. package/{dist/icc-api → icc-api}/model/FormTemplate.js +0 -0
  447. package/{dist/icc-api → icc-api}/model/FormTemplate.js.map +0 -0
  448. package/{dist/icc-api → icc-api}/model/FormTemplateLayout.d.ts +0 -0
  449. package/{dist/icc-api → icc-api}/model/FormTemplateLayout.js +0 -0
  450. package/{dist/icc-api → icc-api}/model/FormTemplateLayout.js.map +0 -0
  451. package/{dist/icc-api → icc-api}/model/Formula.d.ts +0 -0
  452. package/{dist/icc-api → icc-api}/model/Formula.js +0 -0
  453. package/{dist/icc-api → icc-api}/model/Formula.js.map +0 -0
  454. package/{dist/icc-api → icc-api}/model/FrontEndMigration.d.ts +0 -0
  455. package/{dist/icc-api → icc-api}/model/FrontEndMigration.js +0 -0
  456. package/{dist/icc-api → icc-api}/model/FrontEndMigration.js.map +0 -0
  457. package/{dist/icc-api → icc-api}/model/Group.d.ts +0 -0
  458. package/{dist/icc-api → icc-api}/model/Group.js +0 -0
  459. package/{dist/icc-api → icc-api}/model/Group.js.map +0 -0
  460. package/{dist/icc-api → icc-api}/model/GroupDatabasesInfo.d.ts +0 -0
  461. package/{dist/icc-api → icc-api}/model/GroupDatabasesInfo.js +0 -0
  462. package/{dist/icc-api → icc-api}/model/GroupDatabasesInfo.js.map +0 -0
  463. package/{dist/icc-api → icc-api}/model/GuiCode.d.ts +0 -0
  464. package/{dist/icc-api → icc-api}/model/GuiCode.js +0 -0
  465. package/{dist/icc-api → icc-api}/model/GuiCode.js.map +0 -0
  466. package/{dist/icc-api → icc-api}/model/GuiCodeType.d.ts +0 -0
  467. package/{dist/icc-api → icc-api}/model/GuiCodeType.js +0 -0
  468. package/{dist/icc-api → icc-api}/model/GuiCodeType.js.map +0 -0
  469. package/{dist/icc-api → icc-api}/model/HealthElement.d.ts +0 -0
  470. package/{dist/icc-api → icc-api}/model/HealthElement.js +0 -0
  471. package/{dist/icc-api → icc-api}/model/HealthElement.js.map +0 -0
  472. package/{dist/icc-api → icc-api}/model/HealthcareParty.d.ts +0 -0
  473. package/{dist/icc-api → icc-api}/model/HealthcareParty.js +0 -0
  474. package/{dist/icc-api → icc-api}/model/HealthcareParty.js.map +0 -0
  475. package/{dist/icc-api → icc-api}/model/HealthcarePartyHistoryStatus.d.ts +0 -0
  476. package/{dist/icc-api → icc-api}/model/HealthcarePartyHistoryStatus.js +0 -0
  477. package/{dist/icc-api → icc-api}/model/HealthcarePartyHistoryStatus.js.map +0 -0
  478. package/{dist/icc-api → icc-api}/model/IcureStub.d.ts +0 -0
  479. package/{dist/icc-api → icc-api}/model/IcureStub.js +0 -0
  480. package/{dist/icc-api → icc-api}/model/IcureStub.js.map +0 -0
  481. package/{dist/icc-api → icc-api}/model/IdWithRev.d.ts +0 -0
  482. package/{dist/icc-api → icc-api}/model/IdWithRev.js +0 -0
  483. package/{dist/icc-api → icc-api}/model/IdWithRev.js.map +0 -0
  484. package/{dist/icc-api → icc-api}/model/Identifier.d.ts +0 -0
  485. package/{dist/icc-api → icc-api}/model/Identifier.js +0 -0
  486. package/{dist/icc-api → icc-api}/model/Identifier.js.map +0 -0
  487. package/{dist/icc-api → icc-api}/model/IdentityDocumentReader.d.ts +0 -0
  488. package/{dist/icc-api → icc-api}/model/IdentityDocumentReader.js +0 -0
  489. package/{dist/icc-api → icc-api}/model/IdentityDocumentReader.js.map +0 -0
  490. package/{dist/icc-api → icc-api}/model/ImportMapping.d.ts +0 -0
  491. package/{dist/icc-api → icc-api}/model/ImportMapping.js +0 -0
  492. package/{dist/icc-api → icc-api}/model/ImportMapping.js.map +0 -0
  493. package/{dist/icc-api → icc-api}/model/ImportResult.d.ts +0 -0
  494. package/{dist/icc-api → icc-api}/model/ImportResult.js +0 -0
  495. package/{dist/icc-api → icc-api}/model/ImportResult.js.map +0 -0
  496. package/{dist/icc-api → icc-api}/model/IncapacityExportInfo.d.ts +0 -0
  497. package/{dist/icc-api → icc-api}/model/IncapacityExportInfo.js +0 -0
  498. package/{dist/icc-api → icc-api}/model/IncapacityExportInfo.js.map +0 -0
  499. package/{dist/icc-api → icc-api}/model/IndexedIdentifier.d.ts +0 -0
  500. package/{dist/icc-api → icc-api}/model/IndexedIdentifier.js +0 -0
  501. package/{dist/icc-api → icc-api}/model/IndexedIdentifier.js.map +0 -0
  502. package/{dist/icc-api → icc-api}/model/IndexingInfo.d.ts +0 -0
  503. package/{dist/icc-api → icc-api}/model/IndexingInfo.js +0 -0
  504. package/{dist/icc-api → icc-api}/model/IndexingInfo.js.map +0 -0
  505. package/{dist/icc-api → icc-api}/model/Ingredient.d.ts +0 -0
  506. package/{dist/icc-api → icc-api}/model/Ingredient.js +0 -0
  507. package/{dist/icc-api → icc-api}/model/Ingredient.js.map +0 -0
  508. package/{dist/icc-api → icc-api}/model/Insurability.d.ts +0 -0
  509. package/{dist/icc-api → icc-api}/model/Insurability.js +0 -0
  510. package/{dist/icc-api → icc-api}/model/Insurability.js.map +0 -0
  511. package/{dist/icc-api → icc-api}/model/Insurance.d.ts +0 -0
  512. package/{dist/icc-api → icc-api}/model/Insurance.js +0 -0
  513. package/{dist/icc-api → icc-api}/model/Insurance.js.map +0 -0
  514. package/{dist/icc-api → icc-api}/model/Invoice.d.ts +0 -0
  515. package/{dist/icc-api → icc-api}/model/Invoice.js +0 -0
  516. package/{dist/icc-api → icc-api}/model/Invoice.js.map +0 -0
  517. package/{dist/icc-api → icc-api}/model/InvoiceItem.d.ts +0 -0
  518. package/{dist/icc-api → icc-api}/model/InvoiceItem.js +0 -0
  519. package/{dist/icc-api → icc-api}/model/InvoiceItem.js.map +0 -0
  520. package/{dist/icc-api → icc-api}/model/InvoiceSender.d.ts +0 -0
  521. package/{dist/icc-api → icc-api}/model/InvoiceSender.js +0 -0
  522. package/{dist/icc-api → icc-api}/model/InvoiceSender.js.map +0 -0
  523. package/{dist/icc-api → icc-api}/model/InvoicesBatch.d.ts +0 -0
  524. package/{dist/icc-api → icc-api}/model/InvoicesBatch.js +0 -0
  525. package/{dist/icc-api → icc-api}/model/InvoicesBatch.js.map +0 -0
  526. package/{dist/icc-api → icc-api}/model/InvoicingCode.d.ts +0 -0
  527. package/{dist/icc-api → icc-api}/model/InvoicingCode.js +0 -0
  528. package/{dist/icc-api → icc-api}/model/InvoicingCode.js.map +0 -0
  529. package/{dist/icc-api → icc-api}/model/Keyword.d.ts +0 -0
  530. package/{dist/icc-api → icc-api}/model/Keyword.js +0 -0
  531. package/{dist/icc-api → icc-api}/model/Keyword.js.map +0 -0
  532. package/{dist/icc-api → icc-api}/model/KeywordSubword.d.ts +0 -0
  533. package/{dist/icc-api → icc-api}/model/KeywordSubword.js +0 -0
  534. package/{dist/icc-api → icc-api}/model/KeywordSubword.js.map +0 -0
  535. package/{dist/icc-api → icc-api}/model/LabelledOccurence.d.ts +0 -0
  536. package/{dist/icc-api → icc-api}/model/LabelledOccurence.js +0 -0
  537. package/{dist/icc-api → icc-api}/model/LabelledOccurence.js.map +0 -0
  538. package/{dist/icc-api → icc-api}/model/LetterValue.d.ts +0 -0
  539. package/{dist/icc-api → icc-api}/model/LetterValue.js +0 -0
  540. package/{dist/icc-api → icc-api}/model/LetterValue.js.map +0 -0
  541. package/{dist/icc-api → icc-api}/model/ListOfIds.d.ts +0 -0
  542. package/{dist/icc-api → icc-api}/model/ListOfIds.js +0 -0
  543. package/{dist/icc-api → icc-api}/model/ListOfIds.js.map +0 -0
  544. package/{dist/icc-api → icc-api}/model/ListOfProperties.d.ts +0 -0
  545. package/{dist/icc-api → icc-api}/model/ListOfProperties.js +0 -0
  546. package/{dist/icc-api → icc-api}/model/ListOfProperties.js.map +0 -0
  547. package/{dist/icc-api → icc-api}/model/LoginCredentials.d.ts +0 -0
  548. package/{dist/icc-api → icc-api}/model/LoginCredentials.js +0 -0
  549. package/{dist/icc-api → icc-api}/model/LoginCredentials.js.map +0 -0
  550. package/{dist/icc-api → icc-api}/model/MaintenanceTask.d.ts +0 -0
  551. package/{dist/icc-api → icc-api}/model/MaintenanceTask.js +0 -0
  552. package/{dist/icc-api → icc-api}/model/MaintenanceTask.js.map +0 -0
  553. package/{dist/icc-api → icc-api}/model/MapOfIds.d.ts +0 -0
  554. package/{dist/icc-api → icc-api}/model/MapOfIds.js +0 -0
  555. package/{dist/icc-api → icc-api}/model/MapOfIds.js.map +0 -0
  556. package/{dist/icc-api → icc-api}/model/Measure.d.ts +0 -0
  557. package/{dist/icc-api → icc-api}/model/Measure.js +0 -0
  558. package/{dist/icc-api → icc-api}/model/Measure.js.map +0 -0
  559. package/{dist/icc-api → icc-api}/model/MedexInfo.d.ts +0 -0
  560. package/{dist/icc-api → icc-api}/model/MedexInfo.js +0 -0
  561. package/{dist/icc-api → icc-api}/model/MedexInfo.js.map +0 -0
  562. package/{dist/icc-api → icc-api}/model/MedicalHouseContract.d.ts +0 -0
  563. package/{dist/icc-api → icc-api}/model/MedicalHouseContract.js +0 -0
  564. package/{dist/icc-api → icc-api}/model/MedicalHouseContract.js.map +0 -0
  565. package/{dist/icc-api → icc-api}/model/MedicalLocation.d.ts +0 -0
  566. package/{dist/icc-api → icc-api}/model/MedicalLocation.js +0 -0
  567. package/{dist/icc-api → icc-api}/model/MedicalLocation.js.map +0 -0
  568. package/{dist/icc-api → icc-api}/model/Medication.d.ts +0 -0
  569. package/{dist/icc-api → icc-api}/model/Medication.js +0 -0
  570. package/{dist/icc-api → icc-api}/model/Medication.js.map +0 -0
  571. package/{dist/icc-api → icc-api}/model/MedicationSchemeExportInfo.d.ts +0 -0
  572. package/{dist/icc-api → icc-api}/model/MedicationSchemeExportInfo.js +0 -0
  573. package/{dist/icc-api → icc-api}/model/MedicationSchemeExportInfo.js.map +0 -0
  574. package/{dist/icc-api → icc-api}/model/Medicinalproduct.d.ts +0 -0
  575. package/{dist/icc-api → icc-api}/model/Medicinalproduct.js +0 -0
  576. package/{dist/icc-api → icc-api}/model/Medicinalproduct.js.map +0 -0
  577. package/{dist/icc-api → icc-api}/model/Message.d.ts +0 -0
  578. package/{dist/icc-api → icc-api}/model/Message.js +0 -0
  579. package/{dist/icc-api → icc-api}/model/Message.js.map +0 -0
  580. package/{dist/icc-api → icc-api}/model/MessageReadStatus.d.ts +0 -0
  581. package/{dist/icc-api → icc-api}/model/MessageReadStatus.js +0 -0
  582. package/{dist/icc-api → icc-api}/model/MessageReadStatus.js.map +0 -0
  583. package/{dist/icc-api → icc-api}/model/MessageWithBatch.d.ts +0 -0
  584. package/{dist/icc-api → icc-api}/model/MessageWithBatch.js +0 -0
  585. package/{dist/icc-api → icc-api}/model/MessageWithBatch.js.map +0 -0
  586. package/{dist/icc-api → icc-api}/model/MessagesReadStatusUpdate.d.ts +0 -0
  587. package/{dist/icc-api → icc-api}/model/MessagesReadStatusUpdate.js +0 -0
  588. package/{dist/icc-api → icc-api}/model/MessagesReadStatusUpdate.js.map +0 -0
  589. package/{dist/icc-api → icc-api}/model/MikronoAppointmentTypeRest.d.ts +0 -0
  590. package/{dist/icc-api → icc-api}/model/MikronoAppointmentTypeRest.js +0 -0
  591. package/{dist/icc-api → icc-api}/model/MikronoAppointmentTypeRest.js.map +0 -0
  592. package/{dist/icc-api → icc-api}/model/MikronoCredentials.d.ts +0 -0
  593. package/{dist/icc-api → icc-api}/model/MikronoCredentials.js +0 -0
  594. package/{dist/icc-api → icc-api}/model/MikronoCredentials.js.map +0 -0
  595. package/{dist/icc-api → icc-api}/model/MimeAttachment.d.ts +0 -0
  596. package/{dist/icc-api → icc-api}/model/MimeAttachment.js +0 -0
  597. package/{dist/icc-api → icc-api}/model/MimeAttachment.js.map +0 -0
  598. package/{dist/icc-api → icc-api}/model/ModelHelper.d.ts +0 -0
  599. package/{dist/icc-api → icc-api}/model/ModelHelper.js +0 -0
  600. package/{dist/icc-api → icc-api}/model/ModelHelper.js.map +0 -0
  601. package/{dist/icc-api → icc-api}/model/Nmp.d.ts +0 -0
  602. package/{dist/icc-api → icc-api}/model/Nmp.js +0 -0
  603. package/{dist/icc-api → icc-api}/model/Nmp.js.map +0 -0
  604. package/{dist/icc-api → icc-api}/model/NoGenericPrescriptionReason.d.ts +0 -0
  605. package/{dist/icc-api → icc-api}/model/NoGenericPrescriptionReason.js +0 -0
  606. package/{dist/icc-api → icc-api}/model/NoGenericPrescriptionReason.js.map +0 -0
  607. package/{dist/icc-api → icc-api}/model/NoSwitchReason.d.ts +0 -0
  608. package/{dist/icc-api → icc-api}/model/NoSwitchReason.js +0 -0
  609. package/{dist/icc-api → icc-api}/model/NoSwitchReason.js.map +0 -0
  610. package/{dist/icc-api → icc-api}/model/NumeratorRange.d.ts +0 -0
  611. package/{dist/icc-api → icc-api}/model/NumeratorRange.js +0 -0
  612. package/{dist/icc-api → icc-api}/model/NumeratorRange.js.map +0 -0
  613. package/{dist/icc-api → icc-api}/model/PackagingType.d.ts +0 -0
  614. package/{dist/icc-api → icc-api}/model/PackagingType.js +0 -0
  615. package/{dist/icc-api → icc-api}/model/PackagingType.js.map +0 -0
  616. package/{dist/icc-api → icc-api}/model/PaginatedDocumentKeyIdPairObject.d.ts +0 -0
  617. package/{dist/icc-api → icc-api}/model/PaginatedDocumentKeyIdPairObject.js +0 -0
  618. package/{dist/icc-api → icc-api}/model/PaginatedDocumentKeyIdPairObject.js.map +0 -0
  619. package/{dist/icc-api → icc-api}/model/PaginatedListAccessLog.d.ts +0 -0
  620. package/{dist/icc-api → icc-api}/model/PaginatedListAccessLog.js +0 -0
  621. package/{dist/icc-api → icc-api}/model/PaginatedListAccessLog.js.map +0 -0
  622. package/{dist/icc-api → icc-api}/model/PaginatedListAmp.d.ts +0 -0
  623. package/{dist/icc-api → icc-api}/model/PaginatedListAmp.js +0 -0
  624. package/{dist/icc-api → icc-api}/model/PaginatedListAmp.js.map +0 -0
  625. package/{dist/icc-api → icc-api}/model/PaginatedListClassification.d.ts +0 -0
  626. package/{dist/icc-api → icc-api}/model/PaginatedListClassification.js +0 -0
  627. package/{dist/icc-api → icc-api}/model/PaginatedListClassification.js.map +0 -0
  628. package/{dist/icc-api → icc-api}/model/PaginatedListClassificationTemplate.d.ts +0 -0
  629. package/{dist/icc-api → icc-api}/model/PaginatedListClassificationTemplate.js +0 -0
  630. package/{dist/icc-api → icc-api}/model/PaginatedListClassificationTemplate.js.map +0 -0
  631. package/{dist/icc-api → icc-api}/model/PaginatedListCode.d.ts +0 -0
  632. package/{dist/icc-api → icc-api}/model/PaginatedListCode.js +0 -0
  633. package/{dist/icc-api → icc-api}/model/PaginatedListCode.js.map +0 -0
  634. package/{dist/icc-api → icc-api}/model/PaginatedListContact.d.ts +0 -0
  635. package/{dist/icc-api → icc-api}/model/PaginatedListContact.js +0 -0
  636. package/{dist/icc-api → icc-api}/model/PaginatedListContact.js.map +0 -0
  637. package/{dist/icc-api → icc-api}/model/PaginatedListDevice.d.ts +0 -0
  638. package/{dist/icc-api → icc-api}/model/PaginatedListDevice.js +0 -0
  639. package/{dist/icc-api → icc-api}/model/PaginatedListDevice.js.map +0 -0
  640. package/{dist/icc-api → icc-api}/model/PaginatedListDocument.d.ts +0 -0
  641. package/{dist/icc-api → icc-api}/model/PaginatedListDocument.js +0 -0
  642. package/{dist/icc-api → icc-api}/model/PaginatedListDocument.js.map +0 -0
  643. package/{dist/icc-api → icc-api}/model/PaginatedListEntityTemplate.d.ts +0 -0
  644. package/{dist/icc-api → icc-api}/model/PaginatedListEntityTemplate.js +0 -0
  645. package/{dist/icc-api → icc-api}/model/PaginatedListEntityTemplate.js.map +0 -0
  646. package/{dist/icc-api → icc-api}/model/PaginatedListForm.d.ts +0 -0
  647. package/{dist/icc-api → icc-api}/model/PaginatedListForm.js +0 -0
  648. package/{dist/icc-api → icc-api}/model/PaginatedListForm.js.map +0 -0
  649. package/{dist/icc-api → icc-api}/model/PaginatedListGroup.d.ts +0 -0
  650. package/{dist/icc-api → icc-api}/model/PaginatedListGroup.js +0 -0
  651. package/{dist/icc-api → icc-api}/model/PaginatedListGroup.js.map +0 -0
  652. package/{dist/icc-api → icc-api}/model/PaginatedListHealthElement.d.ts +0 -0
  653. package/{dist/icc-api → icc-api}/model/PaginatedListHealthElement.js +0 -0
  654. package/{dist/icc-api → icc-api}/model/PaginatedListHealthElement.js.map +0 -0
  655. package/{dist/icc-api → icc-api}/model/PaginatedListHealthcareParty.d.ts +0 -0
  656. package/{dist/icc-api → icc-api}/model/PaginatedListHealthcareParty.js +0 -0
  657. package/{dist/icc-api → icc-api}/model/PaginatedListHealthcareParty.js.map +0 -0
  658. package/{dist/icc-api → icc-api}/model/PaginatedListInvoice.d.ts +0 -0
  659. package/{dist/icc-api → icc-api}/model/PaginatedListInvoice.js +0 -0
  660. package/{dist/icc-api → icc-api}/model/PaginatedListInvoice.js.map +0 -0
  661. package/{dist/icc-api → icc-api}/model/PaginatedListMaintenanceTask.d.ts +0 -0
  662. package/{dist/icc-api → icc-api}/model/PaginatedListMaintenanceTask.js +0 -0
  663. package/{dist/icc-api → icc-api}/model/PaginatedListMaintenanceTask.js.map +0 -0
  664. package/{dist/icc-api → icc-api}/model/PaginatedListMessage.d.ts +0 -0
  665. package/{dist/icc-api → icc-api}/model/PaginatedListMessage.js +0 -0
  666. package/{dist/icc-api → icc-api}/model/PaginatedListMessage.js.map +0 -0
  667. package/{dist/icc-api → icc-api}/model/PaginatedListNmp.d.ts +0 -0
  668. package/{dist/icc-api → icc-api}/model/PaginatedListNmp.js +0 -0
  669. package/{dist/icc-api → icc-api}/model/PaginatedListNmp.js.map +0 -0
  670. package/{dist/icc-api → icc-api}/model/PaginatedListPatient.d.ts +0 -0
  671. package/{dist/icc-api → icc-api}/model/PaginatedListPatient.js +0 -0
  672. package/{dist/icc-api → icc-api}/model/PaginatedListPatient.js.map +0 -0
  673. package/{dist/icc-api → icc-api}/model/PaginatedListService.d.ts +0 -0
  674. package/{dist/icc-api → icc-api}/model/PaginatedListService.js +0 -0
  675. package/{dist/icc-api → icc-api}/model/PaginatedListService.js.map +0 -0
  676. package/{dist/icc-api → icc-api}/model/PaginatedListString.d.ts +0 -0
  677. package/{dist/icc-api → icc-api}/model/PaginatedListString.js +0 -0
  678. package/{dist/icc-api → icc-api}/model/PaginatedListString.js.map +0 -0
  679. package/{dist/icc-api → icc-api}/model/PaginatedListTarification.d.ts +0 -0
  680. package/{dist/icc-api → icc-api}/model/PaginatedListTarification.js +0 -0
  681. package/{dist/icc-api → icc-api}/model/PaginatedListTarification.js.map +0 -0
  682. package/{dist/icc-api → icc-api}/model/PaginatedListUser.d.ts +0 -0
  683. package/{dist/icc-api → icc-api}/model/PaginatedListUser.js +0 -0
  684. package/{dist/icc-api → icc-api}/model/PaginatedListUser.js.map +0 -0
  685. package/{dist/icc-api → icc-api}/model/PaginatedListVmp.d.ts +0 -0
  686. package/{dist/icc-api → icc-api}/model/PaginatedListVmp.js +0 -0
  687. package/{dist/icc-api → icc-api}/model/PaginatedListVmp.js.map +0 -0
  688. package/{dist/icc-api → icc-api}/model/PaginatedListVmpGroup.d.ts +0 -0
  689. package/{dist/icc-api → icc-api}/model/PaginatedListVmpGroup.js +0 -0
  690. package/{dist/icc-api → icc-api}/model/PaginatedListVmpGroup.js.map +0 -0
  691. package/{dist/icc-api → icc-api}/model/Paragraph.d.ts +0 -0
  692. package/{dist/icc-api → icc-api}/model/Paragraph.js +0 -0
  693. package/{dist/icc-api → icc-api}/model/Paragraph.js.map +0 -0
  694. package/{dist/icc-api → icc-api}/model/ParagraphAgreement.d.ts +0 -0
  695. package/{dist/icc-api → icc-api}/model/ParagraphAgreement.js +0 -0
  696. package/{dist/icc-api → icc-api}/model/ParagraphAgreement.js.map +0 -0
  697. package/{dist/icc-api → icc-api}/model/Partnership.d.ts +0 -0
  698. package/{dist/icc-api → icc-api}/model/Partnership.js +0 -0
  699. package/{dist/icc-api → icc-api}/model/Partnership.js.map +0 -0
  700. package/{dist/icc-api → icc-api}/model/Patient.d.ts +0 -0
  701. package/{dist/icc-api → icc-api}/model/Patient.js +0 -0
  702. package/{dist/icc-api → icc-api}/model/Patient.js.map +0 -0
  703. package/{dist/icc-api → icc-api}/model/PatientByHcPartyGenderEducationProfession.d.ts +0 -0
  704. package/{dist/icc-api → icc-api}/model/PatientByHcPartyGenderEducationProfession.js +0 -0
  705. package/{dist/icc-api → icc-api}/model/PatientByHcPartyGenderEducationProfession.js.map +0 -0
  706. package/{dist/icc-api → icc-api}/model/PatientHealthCareParty.d.ts +0 -0
  707. package/{dist/icc-api → icc-api}/model/PatientHealthCareParty.js +0 -0
  708. package/{dist/icc-api → icc-api}/model/PatientHealthCareParty.js.map +0 -0
  709. package/{dist/icc-api → icc-api}/model/PatientRegistrationSuccess.d.ts +0 -0
  710. package/{dist/icc-api → icc-api}/model/PatientRegistrationSuccess.js +0 -0
  711. package/{dist/icc-api → icc-api}/model/PatientRegistrationSuccess.js.map +0 -0
  712. package/{dist/icc-api → icc-api}/model/Payment.d.ts +0 -0
  713. package/{dist/icc-api → icc-api}/model/Payment.js +0 -0
  714. package/{dist/icc-api → icc-api}/model/Payment.js.map +0 -0
  715. package/{dist/icc-api → icc-api}/model/Periodicity.d.ts +0 -0
  716. package/{dist/icc-api → icc-api}/model/Periodicity.js +0 -0
  717. package/{dist/icc-api → icc-api}/model/Periodicity.js.map +0 -0
  718. package/{dist/icc-api → icc-api}/model/Permission.d.ts +0 -0
  719. package/{dist/icc-api → icc-api}/model/Permission.js +0 -0
  720. package/{dist/icc-api → icc-api}/model/Permission.js.map +0 -0
  721. package/{dist/icc-api → icc-api}/model/PermissionCriterion.d.ts +0 -0
  722. package/{dist/icc-api → icc-api}/model/PermissionCriterion.js +0 -0
  723. package/{dist/icc-api → icc-api}/model/PermissionCriterion.js.map +0 -0
  724. package/{dist/icc-api → icc-api}/model/PermissionItem.d.ts +0 -0
  725. package/{dist/icc-api → icc-api}/model/PermissionItem.js +0 -0
  726. package/{dist/icc-api → icc-api}/model/PermissionItem.js.map +0 -0
  727. package/{dist/icc-api → icc-api}/model/PersonName.d.ts +0 -0
  728. package/{dist/icc-api → icc-api}/model/PersonName.js +0 -0
  729. package/{dist/icc-api → icc-api}/model/PersonName.js.map +0 -0
  730. package/{dist/icc-api → icc-api}/model/PharmaceuticalForm.d.ts +0 -0
  731. package/{dist/icc-api → icc-api}/model/PharmaceuticalForm.js +0 -0
  732. package/{dist/icc-api → icc-api}/model/PharmaceuticalForm.js.map +0 -0
  733. package/{dist/icc-api → icc-api}/model/PharmaceuticalFormStub.d.ts +0 -0
  734. package/{dist/icc-api → icc-api}/model/PharmaceuticalFormStub.js +0 -0
  735. package/{dist/icc-api → icc-api}/model/PharmaceuticalFormStub.js.map +0 -0
  736. package/{dist/icc-api → icc-api}/model/Place.d.ts +0 -0
  737. package/{dist/icc-api → icc-api}/model/Place.js +0 -0
  738. package/{dist/icc-api → icc-api}/model/Place.js.map +0 -0
  739. package/{dist/icc-api → icc-api}/model/PlanOfAction.d.ts +0 -0
  740. package/{dist/icc-api → icc-api}/model/PlanOfAction.js +0 -0
  741. package/{dist/icc-api → icc-api}/model/PlanOfAction.js.map +0 -0
  742. package/{dist/icc-api → icc-api}/model/Predicate.d.ts +0 -0
  743. package/{dist/icc-api → icc-api}/model/Predicate.js +0 -0
  744. package/{dist/icc-api → icc-api}/model/Predicate.js.map +0 -0
  745. package/{dist/icc-api → icc-api}/model/Pricing.d.ts +0 -0
  746. package/{dist/icc-api → icc-api}/model/Pricing.js +0 -0
  747. package/{dist/icc-api → icc-api}/model/Pricing.js.map +0 -0
  748. package/{dist/icc-api → icc-api}/model/PropertyStub.d.ts +0 -0
  749. package/{dist/icc-api → icc-api}/model/PropertyStub.js +0 -0
  750. package/{dist/icc-api → icc-api}/model/PropertyStub.js.map +0 -0
  751. package/{dist/icc-api → icc-api}/model/PropertyTypeStub.d.ts +0 -0
  752. package/{dist/icc-api → icc-api}/model/PropertyTypeStub.js +0 -0
  753. package/{dist/icc-api → icc-api}/model/PropertyTypeStub.js.map +0 -0
  754. package/{dist/icc-api → icc-api}/model/PublicKey.d.ts +0 -0
  755. package/{dist/icc-api → icc-api}/model/PublicKey.js +0 -0
  756. package/{dist/icc-api → icc-api}/model/PublicKey.js.map +0 -0
  757. package/{dist/icc-api → icc-api}/model/Quantity.d.ts +0 -0
  758. package/{dist/icc-api → icc-api}/model/Quantity.js +0 -0
  759. package/{dist/icc-api → icc-api}/model/Quantity.js.map +0 -0
  760. package/{dist/icc-api → icc-api}/model/Receipt.d.ts +0 -0
  761. package/{dist/icc-api → icc-api}/model/Receipt.js +0 -0
  762. package/{dist/icc-api → icc-api}/model/Receipt.js.map +0 -0
  763. package/{dist/icc-api → icc-api}/model/ReferralPeriod.d.ts +0 -0
  764. package/{dist/icc-api → icc-api}/model/ReferralPeriod.js +0 -0
  765. package/{dist/icc-api → icc-api}/model/ReferralPeriod.js.map +0 -0
  766. package/{dist/icc-api → icc-api}/model/RegimenItem.d.ts +0 -0
  767. package/{dist/icc-api → icc-api}/model/RegimenItem.js +0 -0
  768. package/{dist/icc-api → icc-api}/model/RegimenItem.js.map +0 -0
  769. package/{dist/icc-api → icc-api}/model/RegistrationInformation.d.ts +0 -0
  770. package/{dist/icc-api → icc-api}/model/RegistrationInformation.js +0 -0
  771. package/{dist/icc-api → icc-api}/model/RegistrationInformation.js.map +0 -0
  772. package/{dist/icc-api → icc-api}/model/RegistrationSuccess.d.ts +0 -0
  773. package/{dist/icc-api → icc-api}/model/RegistrationSuccess.js +0 -0
  774. package/{dist/icc-api → icc-api}/model/RegistrationSuccess.js.map +0 -0
  775. package/{dist/icc-api → icc-api}/model/Reimbursement.d.ts +0 -0
  776. package/{dist/icc-api → icc-api}/model/Reimbursement.js +0 -0
  777. package/{dist/icc-api → icc-api}/model/Reimbursement.js.map +0 -0
  778. package/{dist/icc-api → icc-api}/model/ReimbursementCriterion.d.ts +0 -0
  779. package/{dist/icc-api → icc-api}/model/ReimbursementCriterion.js +0 -0
  780. package/{dist/icc-api → icc-api}/model/ReimbursementCriterion.js.map +0 -0
  781. package/{dist/icc-api → icc-api}/model/Remote.d.ts +0 -0
  782. package/{dist/icc-api → icc-api}/model/Remote.js +0 -0
  783. package/{dist/icc-api → icc-api}/model/Remote.js.map +0 -0
  784. package/{dist/icc-api → icc-api}/model/RemoteAuthentication.d.ts +0 -0
  785. package/{dist/icc-api → icc-api}/model/RemoteAuthentication.js +0 -0
  786. package/{dist/icc-api → icc-api}/model/RemoteAuthentication.js.map +0 -0
  787. package/{dist/icc-api → icc-api}/model/Renewal.d.ts +0 -0
  788. package/{dist/icc-api → icc-api}/model/Renewal.js +0 -0
  789. package/{dist/icc-api → icc-api}/model/Renewal.js.map +0 -0
  790. package/{dist/icc-api → icc-api}/model/ReplicateCommand.d.ts +0 -0
  791. package/{dist/icc-api → icc-api}/model/ReplicateCommand.js +0 -0
  792. package/{dist/icc-api → icc-api}/model/ReplicateCommand.js.map +0 -0
  793. package/{dist/icc-api → icc-api}/model/Replication.d.ts +0 -0
  794. package/{dist/icc-api → icc-api}/model/Replication.js +0 -0
  795. package/{dist/icc-api → icc-api}/model/Replication.js.map +0 -0
  796. package/{dist/icc-api → icc-api}/model/ReplicationInfo.d.ts +0 -0
  797. package/{dist/icc-api → icc-api}/model/ReplicationInfo.js +0 -0
  798. package/{dist/icc-api → icc-api}/model/ReplicationInfo.js.map +0 -0
  799. package/{dist/icc-api → icc-api}/model/ReplicationStats.d.ts +0 -0
  800. package/{dist/icc-api → icc-api}/model/ReplicationStats.js +0 -0
  801. package/{dist/icc-api → icc-api}/model/ReplicationStats.js.map +0 -0
  802. package/{dist/icc-api → icc-api}/model/ReplicatorDocument.d.ts +0 -0
  803. package/{dist/icc-api → icc-api}/model/ReplicatorDocument.js +0 -0
  804. package/{dist/icc-api → icc-api}/model/ReplicatorDocument.js.map +0 -0
  805. package/{dist/icc-api → icc-api}/model/ReplicatorResponse.d.ts +0 -0
  806. package/{dist/icc-api → icc-api}/model/ReplicatorResponse.js +0 -0
  807. package/{dist/icc-api → icc-api}/model/ReplicatorResponse.js.map +0 -0
  808. package/{dist/icc-api → icc-api}/model/ResultInfo.d.ts +0 -0
  809. package/{dist/icc-api → icc-api}/model/ResultInfo.js +0 -0
  810. package/{dist/icc-api → icc-api}/model/ResultInfo.js.map +0 -0
  811. package/{dist/icc-api → icc-api}/model/RevisionInfo.d.ts +0 -0
  812. package/{dist/icc-api → icc-api}/model/RevisionInfo.js +0 -0
  813. package/{dist/icc-api → icc-api}/model/RevisionInfo.js.map +0 -0
  814. package/{dist/icc-api → icc-api}/model/Right.d.ts +0 -0
  815. package/{dist/icc-api → icc-api}/model/Right.js +0 -0
  816. package/{dist/icc-api → icc-api}/model/Right.js.map +0 -0
  817. package/{dist/icc-api → icc-api}/model/RouteOfAdministration.d.ts +0 -0
  818. package/{dist/icc-api → icc-api}/model/RouteOfAdministration.js +0 -0
  819. package/{dist/icc-api → icc-api}/model/RouteOfAdministration.js.map +0 -0
  820. package/{dist/icc-api → icc-api}/model/SamText.d.ts +0 -0
  821. package/{dist/icc-api → icc-api}/model/SamText.js +0 -0
  822. package/{dist/icc-api → icc-api}/model/SamText.js.map +0 -0
  823. package/{dist/icc-api → icc-api}/model/SamVersion.d.ts +0 -0
  824. package/{dist/icc-api → icc-api}/model/SamVersion.js +0 -0
  825. package/{dist/icc-api → icc-api}/model/SamVersion.js.map +0 -0
  826. package/{dist/icc-api → icc-api}/model/SchoolingInfo.d.ts +0 -0
  827. package/{dist/icc-api → icc-api}/model/SchoolingInfo.js +0 -0
  828. package/{dist/icc-api → icc-api}/model/SchoolingInfo.js.map +0 -0
  829. package/{dist/icc-api → icc-api}/model/Section.d.ts +0 -0
  830. package/{dist/icc-api → icc-api}/model/Section.js +0 -0
  831. package/{dist/icc-api → icc-api}/model/Section.js.map +0 -0
  832. package/{dist/icc-api → icc-api}/model/Service.d.ts +0 -0
  833. package/{dist/icc-api → icc-api}/model/Service.js +0 -0
  834. package/{dist/icc-api → icc-api}/model/Service.js.map +0 -0
  835. package/{dist/icc-api → icc-api}/model/ServiceLink.d.ts +0 -0
  836. package/{dist/icc-api → icc-api}/model/ServiceLink.js +0 -0
  837. package/{dist/icc-api → icc-api}/model/ServiceLink.js.map +0 -0
  838. package/{dist/icc-api → icc-api}/model/SoftwareMedicalFileExport.d.ts +0 -0
  839. package/{dist/icc-api → icc-api}/model/SoftwareMedicalFileExport.js +0 -0
  840. package/{dist/icc-api → icc-api}/model/SoftwareMedicalFileExport.js.map +0 -0
  841. package/{dist/icc-api → icc-api}/model/StandardSubstance.d.ts +0 -0
  842. package/{dist/icc-api → icc-api}/model/StandardSubstance.js +0 -0
  843. package/{dist/icc-api → icc-api}/model/StandardSubstance.js.map +0 -0
  844. package/{dist/icc-api → icc-api}/model/StrengthRange.d.ts +0 -0
  845. package/{dist/icc-api → icc-api}/model/StrengthRange.js +0 -0
  846. package/{dist/icc-api → icc-api}/model/StrengthRange.js.map +0 -0
  847. package/{dist/icc-api → icc-api}/model/StructureElement.d.ts +0 -0
  848. package/{dist/icc-api → icc-api}/model/StructureElement.js +0 -0
  849. package/{dist/icc-api → icc-api}/model/StructureElement.js.map +0 -0
  850. package/{dist/icc-api → icc-api}/model/SubContact.d.ts +0 -0
  851. package/{dist/icc-api → icc-api}/model/SubContact.js +0 -0
  852. package/{dist/icc-api → icc-api}/model/SubContact.js.map +0 -0
  853. package/{dist/icc-api → icc-api}/model/Substance.d.ts +0 -0
  854. package/{dist/icc-api → icc-api}/model/Substance.js +0 -0
  855. package/{dist/icc-api → icc-api}/model/Substance.js.map +0 -0
  856. package/{dist/icc-api → icc-api}/model/SubstanceStub.d.ts +0 -0
  857. package/{dist/icc-api → icc-api}/model/SubstanceStub.js +0 -0
  858. package/{dist/icc-api → icc-api}/model/SubstanceStub.js.map +0 -0
  859. package/{dist/icc-api → icc-api}/model/Substanceproduct.d.ts +0 -0
  860. package/{dist/icc-api → icc-api}/model/Substanceproduct.js +0 -0
  861. package/{dist/icc-api → icc-api}/model/Substanceproduct.js.map +0 -0
  862. package/{dist/icc-api → icc-api}/model/Suggest.d.ts +0 -0
  863. package/{dist/icc-api → icc-api}/model/Suggest.js +0 -0
  864. package/{dist/icc-api → icc-api}/model/Suggest.js.map +0 -0
  865. package/{dist/icc-api → icc-api}/model/SumehrContent.d.ts +0 -0
  866. package/{dist/icc-api → icc-api}/model/SumehrContent.js +0 -0
  867. package/{dist/icc-api → icc-api}/model/SumehrContent.js.map +0 -0
  868. package/{dist/icc-api → icc-api}/model/SumehrExportInfo.d.ts +0 -0
  869. package/{dist/icc-api → icc-api}/model/SumehrExportInfo.js +0 -0
  870. package/{dist/icc-api → icc-api}/model/SumehrExportInfo.js.map +0 -0
  871. package/{dist/icc-api → icc-api}/model/SumehrValidity.d.ts +0 -0
  872. package/{dist/icc-api → icc-api}/model/SumehrValidity.js +0 -0
  873. package/{dist/icc-api → icc-api}/model/SumehrValidity.js.map +0 -0
  874. package/{dist/icc-api → icc-api}/model/SupplyProblem.d.ts +0 -0
  875. package/{dist/icc-api → icc-api}/model/SupplyProblem.js +0 -0
  876. package/{dist/icc-api → icc-api}/model/SupplyProblem.js.map +0 -0
  877. package/{dist/icc-api → icc-api}/model/Suspension.d.ts +0 -0
  878. package/{dist/icc-api → icc-api}/model/Suspension.js +0 -0
  879. package/{dist/icc-api → icc-api}/model/Suspension.js.map +0 -0
  880. package/{dist/icc-api → icc-api}/model/Tag.d.ts +0 -0
  881. package/{dist/icc-api → icc-api}/model/Tag.js +0 -0
  882. package/{dist/icc-api → icc-api}/model/Tag.js.map +0 -0
  883. package/{dist/icc-api → icc-api}/model/Tarification.d.ts +0 -0
  884. package/{dist/icc-api → icc-api}/model/Tarification.js +0 -0
  885. package/{dist/icc-api → icc-api}/model/Tarification.js.map +0 -0
  886. package/{dist/icc-api → icc-api}/model/Telecom.d.ts +0 -0
  887. package/{dist/icc-api → icc-api}/model/Telecom.js +0 -0
  888. package/{dist/icc-api → icc-api}/model/Telecom.js.map +0 -0
  889. package/{dist/icc-api → icc-api}/model/TimeSeries.d.ts +0 -0
  890. package/{dist/icc-api → icc-api}/model/TimeSeries.js +0 -0
  891. package/{dist/icc-api → icc-api}/model/TimeSeries.js.map +0 -0
  892. package/{dist/icc-api → icc-api}/model/TimeTable.d.ts +0 -0
  893. package/{dist/icc-api → icc-api}/model/TimeTable.js +0 -0
  894. package/{dist/icc-api → icc-api}/model/TimeTable.js.map +0 -0
  895. package/{dist/icc-api → icc-api}/model/TimeTableHour.d.ts +0 -0
  896. package/{dist/icc-api → icc-api}/model/TimeTableHour.js +0 -0
  897. package/{dist/icc-api → icc-api}/model/TimeTableHour.js.map +0 -0
  898. package/{dist/icc-api → icc-api}/model/TimeTableItem.d.ts +0 -0
  899. package/{dist/icc-api → icc-api}/model/TimeTableItem.js +0 -0
  900. package/{dist/icc-api → icc-api}/model/TimeTableItem.js.map +0 -0
  901. package/{dist/icc-api → icc-api}/model/TokenWithGroup.d.ts +0 -0
  902. package/{dist/icc-api → icc-api}/model/TokenWithGroup.js +0 -0
  903. package/{dist/icc-api → icc-api}/model/TokenWithGroup.js.map +0 -0
  904. package/{dist/icc-api → icc-api}/model/TypedValueObject.d.ts +0 -0
  905. package/{dist/icc-api → icc-api}/model/TypedValueObject.js +0 -0
  906. package/{dist/icc-api → icc-api}/model/TypedValueObject.js.map +0 -0
  907. package/{dist/icc-api → icc-api}/model/Unit.d.ts +0 -0
  908. package/{dist/icc-api → icc-api}/model/Unit.js +0 -0
  909. package/{dist/icc-api → icc-api}/model/Unit.js.map +0 -0
  910. package/{dist/icc-api → icc-api}/model/User.d.ts +0 -0
  911. package/{dist/icc-api → icc-api}/model/User.js +0 -0
  912. package/{dist/icc-api → icc-api}/model/User.js.map +0 -0
  913. package/{dist/icc-api → icc-api}/model/UserAndHealthcareParty.d.ts +0 -0
  914. package/{dist/icc-api → icc-api}/model/UserAndHealthcareParty.js +0 -0
  915. package/{dist/icc-api → icc-api}/model/UserAndHealthcareParty.js.map +0 -0
  916. package/{dist/icc-api → icc-api}/model/UserGroup.d.ts +0 -0
  917. package/{dist/icc-api → icc-api}/model/UserGroup.js +0 -0
  918. package/{dist/icc-api → icc-api}/model/UserGroup.js.map +0 -0
  919. package/{dist/icc-api → icc-api}/model/Valorisation.d.ts +0 -0
  920. package/{dist/icc-api → icc-api}/model/Valorisation.js +0 -0
  921. package/{dist/icc-api → icc-api}/model/Valorisation.js.map +0 -0
  922. package/{dist/icc-api → icc-api}/model/Verse.d.ts +0 -0
  923. package/{dist/icc-api → icc-api}/model/Verse.js +0 -0
  924. package/{dist/icc-api → icc-api}/model/Verse.js.map +0 -0
  925. package/{dist/icc-api → icc-api}/model/VirtualForm.d.ts +0 -0
  926. package/{dist/icc-api → icc-api}/model/VirtualForm.js +0 -0
  927. package/{dist/icc-api → icc-api}/model/VirtualForm.js.map +0 -0
  928. package/{dist/icc-api → icc-api}/model/VirtualIngredient.d.ts +0 -0
  929. package/{dist/icc-api → icc-api}/model/VirtualIngredient.js +0 -0
  930. package/{dist/icc-api → icc-api}/model/VirtualIngredient.js.map +0 -0
  931. package/{dist/icc-api → icc-api}/model/Vmp.d.ts +0 -0
  932. package/{dist/icc-api → icc-api}/model/Vmp.js +0 -0
  933. package/{dist/icc-api → icc-api}/model/Vmp.js.map +0 -0
  934. package/{dist/icc-api → icc-api}/model/VmpComponent.d.ts +0 -0
  935. package/{dist/icc-api → icc-api}/model/VmpComponent.js +0 -0
  936. package/{dist/icc-api → icc-api}/model/VmpComponent.js.map +0 -0
  937. package/{dist/icc-api → icc-api}/model/VmpGroup.d.ts +0 -0
  938. package/{dist/icc-api → icc-api}/model/VmpGroup.js +0 -0
  939. package/{dist/icc-api → icc-api}/model/VmpGroup.js.map +0 -0
  940. package/{dist/icc-api → icc-api}/model/VmpGroupStub.d.ts +0 -0
  941. package/{dist/icc-api → icc-api}/model/VmpGroupStub.js +0 -0
  942. package/{dist/icc-api → icc-api}/model/VmpGroupStub.js.map +0 -0
  943. package/{dist/icc-api → icc-api}/model/VmpStub.d.ts +0 -0
  944. package/{dist/icc-api → icc-api}/model/VmpStub.js +0 -0
  945. package/{dist/icc-api → icc-api}/model/VmpStub.js.map +0 -0
  946. package/{dist/icc-api → icc-api}/model/Vtm.d.ts +0 -0
  947. package/{dist/icc-api → icc-api}/model/Vtm.js +0 -0
  948. package/{dist/icc-api → icc-api}/model/Vtm.js.map +0 -0
  949. package/{dist/icc-api → icc-api}/model/Wada.d.ts +0 -0
  950. package/{dist/icc-api → icc-api}/model/Wada.js +0 -0
  951. package/{dist/icc-api → icc-api}/model/Wada.js.map +0 -0
  952. package/{dist/icc-api → icc-api}/model/WebSession.d.ts +0 -0
  953. package/{dist/icc-api → icc-api}/model/WebSession.js +0 -0
  954. package/{dist/icc-api → icc-api}/model/WebSession.js.map +0 -0
  955. package/{dist/icc-api → icc-api}/model/WebSessionMaxIdleTime.d.ts +0 -0
  956. package/{dist/icc-api → icc-api}/model/WebSessionMaxIdleTime.js +0 -0
  957. package/{dist/icc-api → icc-api}/model/WebSessionMaxIdleTime.js.map +0 -0
  958. package/{dist/icc-api → icc-api}/model/WebSessionMaxIdleTimeUnits.d.ts +0 -0
  959. package/{dist/icc-api → icc-api}/model/WebSessionMaxIdleTimeUnits.js +0 -0
  960. package/{dist/icc-api → icc-api}/model/WebSessionMaxIdleTimeUnits.js.map +0 -0
  961. package/{dist/icc-api → icc-api}/model/Weekday.d.ts +0 -0
  962. package/{dist/icc-api → icc-api}/model/Weekday.js +0 -0
  963. package/{dist/icc-api → icc-api}/model/Weekday.js.map +0 -0
  964. package/{dist/icc-api → icc-api}/model/models.d.ts +0 -0
  965. package/{dist/icc-api → icc-api}/model/models.js +0 -0
  966. package/{dist/icc-api → icc-api}/model/models.js.map +0 -0
  967. package/{dist/icc-x-api → icc-x-api}/crypto/AES.d.ts +0 -0
  968. package/{dist/icc-x-api → icc-x-api}/crypto/AES.js +0 -0
  969. package/{dist/icc-x-api → icc-x-api}/crypto/AES.js.map +0 -0
  970. package/{dist/icc-x-api → icc-x-api}/crypto/RSA.d.ts +0 -0
  971. package/{dist/icc-x-api → icc-x-api}/crypto/RSA.js +0 -0
  972. package/{dist/icc-x-api → icc-x-api}/crypto/RSA.js.map +0 -0
  973. package/{dist/icc-x-api → icc-x-api}/crypto/shamir.d.ts +0 -0
  974. package/{dist/icc-x-api → icc-x-api}/crypto/shamir.js +0 -0
  975. package/{dist/icc-x-api → icc-x-api}/crypto/shamir.js.map +0 -0
  976. package/{dist/icc-x-api → icc-x-api}/crypto/utils.d.ts +0 -0
  977. package/{dist/icc-x-api → icc-x-api}/crypto/utils.js +0 -0
  978. package/{dist/icc-x-api → icc-x-api}/crypto/utils.js.map +0 -0
  979. package/{dist/icc-x-api → icc-x-api}/filters/AllCodesFilter.d.ts +0 -0
  980. package/{dist/icc-x-api → icc-x-api}/filters/AllCodesFilter.js +0 -0
  981. package/{dist/icc-x-api → icc-x-api}/filters/AllCodesFilter.js.map +0 -0
  982. package/{dist/icc-x-api → icc-x-api}/filters/AllDevicesFilter.d.ts +0 -0
  983. package/{dist/icc-x-api → icc-x-api}/filters/AllDevicesFilter.js +0 -0
  984. package/{dist/icc-x-api → icc-x-api}/filters/AllDevicesFilter.js.map +0 -0
  985. package/{dist/icc-x-api → icc-x-api}/filters/AllHealthcarePartiesFilter.d.ts +0 -0
  986. package/{dist/icc-x-api → icc-x-api}/filters/AllHealthcarePartiesFilter.js +0 -0
  987. package/{dist/icc-x-api → icc-x-api}/filters/AllHealthcarePartiesFilter.js.map +0 -0
  988. package/{dist/icc-x-api → icc-x-api}/filters/AllUsersFilter.d.ts +0 -0
  989. package/{dist/icc-x-api → icc-x-api}/filters/AllUsersFilter.js +0 -0
  990. package/{dist/icc-x-api → icc-x-api}/filters/AllUsersFilter.js.map +0 -0
  991. package/{dist/icc-x-api → icc-x-api}/filters/CodeByIdsFilter.d.ts +0 -0
  992. package/{dist/icc-x-api → icc-x-api}/filters/CodeByIdsFilter.js +0 -0
  993. package/{dist/icc-x-api → icc-x-api}/filters/CodeByIdsFilter.js.map +0 -0
  994. package/{dist/icc-x-api → icc-x-api}/filters/CodeByRegionTypeLabelLanguageFilter.d.ts +0 -0
  995. package/{dist/icc-x-api → icc-x-api}/filters/CodeByRegionTypeLabelLanguageFilter.js +0 -0
  996. package/{dist/icc-x-api → icc-x-api}/filters/CodeByRegionTypeLabelLanguageFilter.js.map +0 -0
  997. package/{dist/icc-x-api → icc-x-api}/filters/CodeIdsByTypeCodeVersionIntervalFilter.d.ts +0 -0
  998. package/{dist/icc-x-api → icc-x-api}/filters/CodeIdsByTypeCodeVersionIntervalFilter.js +0 -0
  999. package/{dist/icc-x-api → icc-x-api}/filters/CodeIdsByTypeCodeVersionIntervalFilter.js.map +0 -0
  1000. package/{dist/icc-x-api → icc-x-api}/filters/ComplementFilter.d.ts +0 -0
  1001. package/{dist/icc-x-api → icc-x-api}/filters/ComplementFilter.js +0 -0
  1002. package/{dist/icc-x-api → icc-x-api}/filters/ComplementFilter.js.map +0 -0
  1003. package/{dist/icc-x-api → icc-x-api}/filters/ConstantFilter.d.ts +0 -0
  1004. package/{dist/icc-x-api → icc-x-api}/filters/ConstantFilter.js +0 -0
  1005. package/{dist/icc-x-api → icc-x-api}/filters/ConstantFilter.js.map +0 -0
  1006. package/{dist/icc-x-api → icc-x-api}/filters/ContactByHcPartyFilter.d.ts +0 -0
  1007. package/{dist/icc-x-api → icc-x-api}/filters/ContactByHcPartyFilter.js +0 -0
  1008. package/{dist/icc-x-api → icc-x-api}/filters/ContactByHcPartyFilter.js.map +0 -0
  1009. package/{dist/icc-x-api → icc-x-api}/filters/ContactByHcPartyPatientTagCodeDateFilter.d.ts +0 -0
  1010. package/{dist/icc-x-api → icc-x-api}/filters/ContactByHcPartyPatientTagCodeDateFilter.js +0 -0
  1011. package/{dist/icc-x-api → icc-x-api}/filters/ContactByHcPartyPatientTagCodeDateFilter.js.map +0 -0
  1012. package/{dist/icc-x-api → icc-x-api}/filters/ContactByHcPartyTagCodeDateFilter.d.ts +0 -0
  1013. package/{dist/icc-x-api → icc-x-api}/filters/ContactByHcPartyTagCodeDateFilter.js +0 -0
  1014. package/{dist/icc-x-api → icc-x-api}/filters/ContactByHcPartyTagCodeDateFilter.js.map +0 -0
  1015. package/{dist/icc-x-api → icc-x-api}/filters/ContactByServiceIdsFilter.d.ts +0 -0
  1016. package/{dist/icc-x-api → icc-x-api}/filters/ContactByServiceIdsFilter.js +0 -0
  1017. package/{dist/icc-x-api → icc-x-api}/filters/ContactByServiceIdsFilter.js.map +0 -0
  1018. package/{dist/icc-x-api → icc-x-api}/filters/DeviceByHcPartyFilter.d.ts +0 -0
  1019. package/{dist/icc-x-api → icc-x-api}/filters/DeviceByHcPartyFilter.js +0 -0
  1020. package/{dist/icc-x-api → icc-x-api}/filters/DeviceByHcPartyFilter.js.map +0 -0
  1021. package/{dist/icc-x-api → icc-x-api}/filters/DeviceByIdsFilter.d.ts +0 -0
  1022. package/{dist/icc-x-api → icc-x-api}/filters/DeviceByIdsFilter.js +0 -0
  1023. package/{dist/icc-x-api → icc-x-api}/filters/DeviceByIdsFilter.js.map +0 -0
  1024. package/{dist/icc-x-api → icc-x-api}/filters/HealthElementByHcPartyFilter.d.ts +0 -0
  1025. package/{dist/icc-x-api → icc-x-api}/filters/HealthElementByHcPartyFilter.js +0 -0
  1026. package/{dist/icc-x-api → icc-x-api}/filters/HealthElementByHcPartyFilter.js.map +0 -0
  1027. package/{dist/icc-x-api → icc-x-api}/filters/HealthElementByHcPartyIdentifiersFilter.d.ts +0 -0
  1028. package/{dist/icc-x-api → icc-x-api}/filters/HealthElementByHcPartyIdentifiersFilter.js +0 -0
  1029. package/{dist/icc-x-api → icc-x-api}/filters/HealthElementByHcPartyIdentifiersFilter.js.map +0 -0
  1030. package/{dist/icc-x-api → icc-x-api}/filters/HealthElementByHcPartySecretForeignKeysFilter.d.ts +0 -0
  1031. package/{dist/icc-x-api → icc-x-api}/filters/HealthElementByHcPartySecretForeignKeysFilter.js +0 -0
  1032. package/{dist/icc-x-api → icc-x-api}/filters/HealthElementByHcPartySecretForeignKeysFilter.js.map +0 -0
  1033. package/{dist/icc-x-api → icc-x-api}/filters/HealthElementByHcPartyTagCodeFilter.d.ts +0 -0
  1034. package/{dist/icc-x-api → icc-x-api}/filters/HealthElementByHcPartyTagCodeFilter.js +0 -0
  1035. package/{dist/icc-x-api → icc-x-api}/filters/HealthElementByHcPartyTagCodeFilter.js.map +0 -0
  1036. package/{dist/icc-x-api → icc-x-api}/filters/HealthElementByIdsFilter.d.ts +0 -0
  1037. package/{dist/icc-x-api → icc-x-api}/filters/HealthElementByIdsFilter.js +0 -0
  1038. package/{dist/icc-x-api → icc-x-api}/filters/HealthElementByIdsFilter.js.map +0 -0
  1039. package/{dist/icc-x-api → icc-x-api}/filters/HealthcarePartyByIdsFilter.d.ts +0 -0
  1040. package/{dist/icc-x-api → icc-x-api}/filters/HealthcarePartyByIdsFilter.js +0 -0
  1041. package/{dist/icc-x-api → icc-x-api}/filters/HealthcarePartyByIdsFilter.js.map +0 -0
  1042. package/{dist/icc-x-api → icc-x-api}/filters/HealthcarePartyByTagCodeFilter.d.ts +0 -0
  1043. package/{dist/icc-x-api → icc-x-api}/filters/HealthcarePartyByTagCodeFilter.js +0 -0
  1044. package/{dist/icc-x-api → icc-x-api}/filters/HealthcarePartyByTagCodeFilter.js.map +0 -0
  1045. package/{dist/icc-x-api → icc-x-api}/filters/IntersectionFilter.d.ts +0 -0
  1046. package/{dist/icc-x-api → icc-x-api}/filters/IntersectionFilter.js +0 -0
  1047. package/{dist/icc-x-api → icc-x-api}/filters/IntersectionFilter.js.map +0 -0
  1048. package/{dist/icc-x-api → icc-x-api}/filters/InvoiceByHcPartyCodeDateFilter.d.ts +0 -0
  1049. package/{dist/icc-x-api → icc-x-api}/filters/InvoiceByHcPartyCodeDateFilter.js +0 -0
  1050. package/{dist/icc-x-api → icc-x-api}/filters/InvoiceByHcPartyCodeDateFilter.js.map +0 -0
  1051. package/{dist/icc-x-api → icc-x-api}/filters/MaintenanceTaskAfterDateFilter.d.ts +0 -0
  1052. package/{dist/icc-x-api → icc-x-api}/filters/MaintenanceTaskAfterDateFilter.js +0 -0
  1053. package/{dist/icc-x-api → icc-x-api}/filters/MaintenanceTaskAfterDateFilter.js.map +0 -0
  1054. package/{dist/icc-x-api → icc-x-api}/filters/MaintenanceTaskByHcPartyAndIdentifiersFilter.d.ts +0 -0
  1055. package/{dist/icc-x-api → icc-x-api}/filters/MaintenanceTaskByHcPartyAndIdentifiersFilter.js +0 -0
  1056. package/{dist/icc-x-api → icc-x-api}/filters/MaintenanceTaskByHcPartyAndIdentifiersFilter.js.map +0 -0
  1057. package/{dist/icc-x-api → icc-x-api}/filters/MaintenanceTaskByHcPartyAndTypeFilter.d.ts +0 -0
  1058. package/{dist/icc-x-api → icc-x-api}/filters/MaintenanceTaskByHcPartyAndTypeFilter.js +0 -0
  1059. package/{dist/icc-x-api → icc-x-api}/filters/MaintenanceTaskByHcPartyAndTypeFilter.js.map +0 -0
  1060. package/{dist/icc-x-api → icc-x-api}/filters/MaintenanceTaskByIdsFilter.d.ts +0 -0
  1061. package/{dist/icc-x-api → icc-x-api}/filters/MaintenanceTaskByIdsFilter.js +0 -0
  1062. package/{dist/icc-x-api → icc-x-api}/filters/MaintenanceTaskByIdsFilter.js.map +0 -0
  1063. package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyAndActiveFilter.d.ts +0 -0
  1064. package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyAndActiveFilter.js +0 -0
  1065. package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyAndActiveFilter.js.map +0 -0
  1066. package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyAndExternalIdFilter.d.ts +0 -0
  1067. package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyAndExternalIdFilter.js +0 -0
  1068. package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyAndExternalIdFilter.js.map +0 -0
  1069. package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyAndIdentifiersFilter.d.ts +0 -0
  1070. package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyAndIdentifiersFilter.js +0 -0
  1071. package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyAndIdentifiersFilter.js.map +0 -0
  1072. package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyAndSsinFilter.d.ts +0 -0
  1073. package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyAndSsinFilter.js +0 -0
  1074. package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyAndSsinFilter.js.map +0 -0
  1075. package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyAndSsinsFilter.d.ts +0 -0
  1076. package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyAndSsinsFilter.js +0 -0
  1077. package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyAndSsinsFilter.js.map +0 -0
  1078. package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyDateOfBirthBetweenFilter.d.ts +0 -0
  1079. package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyDateOfBirthBetweenFilter.js +0 -0
  1080. package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyDateOfBirthBetweenFilter.js.map +0 -0
  1081. package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyDateOfBirthFilter.d.ts +0 -0
  1082. package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyDateOfBirthFilter.js +0 -0
  1083. package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyDateOfBirthFilter.js.map +0 -0
  1084. package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyFilter.d.ts +0 -0
  1085. package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyFilter.js +0 -0
  1086. package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyFilter.js.map +0 -0
  1087. package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyGenderEducationProfession.d.ts +0 -0
  1088. package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyGenderEducationProfession.js +0 -0
  1089. package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyGenderEducationProfession.js.map +0 -0
  1090. package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyNameContainsFuzzyFilter.d.ts +0 -0
  1091. package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyNameContainsFuzzyFilter.js +0 -0
  1092. package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyNameContainsFuzzyFilter.js.map +0 -0
  1093. package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyNameFilter.d.ts +0 -0
  1094. package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyNameFilter.js +0 -0
  1095. package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyNameFilter.js.map +0 -0
  1096. package/{dist/icc-x-api → icc-x-api}/filters/PatientByIdsFilter.d.ts +0 -0
  1097. package/{dist/icc-x-api → icc-x-api}/filters/PatientByIdsFilter.js +0 -0
  1098. package/{dist/icc-x-api → icc-x-api}/filters/PatientByIdsFilter.js.map +0 -0
  1099. package/{dist/icc-x-api → icc-x-api}/filters/ServiceByContactsAndSubcontactsFilter.d.ts +0 -0
  1100. package/{dist/icc-x-api → icc-x-api}/filters/ServiceByContactsAndSubcontactsFilter.js +0 -0
  1101. package/{dist/icc-x-api → icc-x-api}/filters/ServiceByContactsAndSubcontactsFilter.js.map +0 -0
  1102. package/{dist/icc-x-api → icc-x-api}/filters/ServiceByHcPartyFilter.d.ts +0 -0
  1103. package/{dist/icc-x-api → icc-x-api}/filters/ServiceByHcPartyFilter.js +0 -0
  1104. package/{dist/icc-x-api → icc-x-api}/filters/ServiceByHcPartyFilter.js.map +0 -0
  1105. package/{dist/icc-x-api → icc-x-api}/filters/ServiceByHcPartyHealthElementIdsFilter.d.ts +0 -0
  1106. package/{dist/icc-x-api → icc-x-api}/filters/ServiceByHcPartyHealthElementIdsFilter.js +0 -0
  1107. package/{dist/icc-x-api → icc-x-api}/filters/ServiceByHcPartyHealthElementIdsFilter.js.map +0 -0
  1108. package/{dist/icc-x-api → icc-x-api}/filters/ServiceByHcPartyIdentifiersFilter.d.ts +0 -0
  1109. package/{dist/icc-x-api → icc-x-api}/filters/ServiceByHcPartyIdentifiersFilter.js +0 -0
  1110. package/{dist/icc-x-api → icc-x-api}/filters/ServiceByHcPartyIdentifiersFilter.js.map +0 -0
  1111. package/{dist/icc-x-api → icc-x-api}/filters/ServiceByHcPartyTagCodeDateFilter.d.ts +0 -0
  1112. package/{dist/icc-x-api → icc-x-api}/filters/ServiceByHcPartyTagCodeDateFilter.js +0 -0
  1113. package/{dist/icc-x-api → icc-x-api}/filters/ServiceByHcPartyTagCodeDateFilter.js.map +0 -0
  1114. package/{dist/icc-x-api → icc-x-api}/filters/ServiceByIdsFilter.d.ts +0 -0
  1115. package/{dist/icc-x-api → icc-x-api}/filters/ServiceByIdsFilter.js +0 -0
  1116. package/{dist/icc-x-api → icc-x-api}/filters/ServiceByIdsFilter.js.map +0 -0
  1117. package/{dist/icc-x-api → icc-x-api}/filters/ServiceBySecretForeignKeys.d.ts +0 -0
  1118. package/{dist/icc-x-api → icc-x-api}/filters/ServiceBySecretForeignKeys.js +0 -0
  1119. package/{dist/icc-x-api → icc-x-api}/filters/ServiceBySecretForeignKeys.js.map +0 -0
  1120. package/{dist/icc-x-api → icc-x-api}/filters/UnionFilter.d.ts +0 -0
  1121. package/{dist/icc-x-api → icc-x-api}/filters/UnionFilter.js +0 -0
  1122. package/{dist/icc-x-api → icc-x-api}/filters/UnionFilter.js.map +0 -0
  1123. package/{dist/icc-x-api → icc-x-api}/filters/UserByIdsFilter.d.ts +0 -0
  1124. package/{dist/icc-x-api → icc-x-api}/filters/UserByIdsFilter.js +0 -0
  1125. package/{dist/icc-x-api → icc-x-api}/filters/UserByIdsFilter.js.map +0 -0
  1126. package/{dist/icc-x-api → icc-x-api}/filters/UserByNameEmailPhoneFilter.d.ts +0 -0
  1127. package/{dist/icc-x-api → icc-x-api}/filters/UserByNameEmailPhoneFilter.js +0 -0
  1128. package/{dist/icc-x-api → icc-x-api}/filters/UserByNameEmailPhoneFilter.js.map +0 -0
  1129. package/{dist/icc-x-api → icc-x-api}/filters/UsersByPatientIdFilter.d.ts +0 -0
  1130. package/{dist/icc-x-api → icc-x-api}/filters/UsersByPatientIdFilter.js +0 -0
  1131. package/{dist/icc-x-api → icc-x-api}/filters/UsersByPatientIdFilter.js.map +0 -0
  1132. package/{dist/icc-x-api → icc-x-api}/filters/filters.d.ts +0 -0
  1133. package/{dist/icc-x-api → icc-x-api}/filters/filters.js +0 -0
  1134. package/{dist/icc-x-api → icc-x-api}/filters/filters.js.map +0 -0
  1135. package/{dist/icc-x-api → icc-x-api}/icc-accesslog-x-api.d.ts +0 -0
  1136. package/{dist/icc-x-api → icc-x-api}/icc-accesslog-x-api.js +0 -0
  1137. package/{dist/icc-x-api → icc-x-api}/icc-accesslog-x-api.js.map +0 -0
  1138. package/{dist/icc-x-api → icc-x-api}/icc-bekmehr-x-api.d.ts +0 -0
  1139. package/{dist/icc-x-api → icc-x-api}/icc-bekmehr-x-api.js +0 -0
  1140. package/{dist/icc-x-api → icc-x-api}/icc-bekmehr-x-api.js.map +0 -0
  1141. package/{dist/icc-x-api → icc-x-api}/icc-calendar-item-x-api.d.ts +0 -0
  1142. package/{dist/icc-x-api → icc-x-api}/icc-calendar-item-x-api.js +0 -0
  1143. package/{dist/icc-x-api → icc-x-api}/icc-calendar-item-x-api.js.map +0 -0
  1144. package/{dist/icc-x-api → icc-x-api}/icc-classification-x-api.d.ts +0 -0
  1145. package/{dist/icc-x-api → icc-x-api}/icc-classification-x-api.js +0 -0
  1146. package/{dist/icc-x-api → icc-x-api}/icc-classification-x-api.js.map +0 -0
  1147. package/{dist/icc-x-api → icc-x-api}/icc-code-x-api.d.ts +0 -0
  1148. package/{dist/icc-x-api → icc-x-api}/icc-code-x-api.js +0 -0
  1149. package/{dist/icc-x-api → icc-x-api}/icc-code-x-api.js.map +0 -0
  1150. package/{dist/icc-x-api → icc-x-api}/icc-contact-x-api.d.ts +0 -0
  1151. package/{dist/icc-x-api → icc-x-api}/icc-contact-x-api.js +0 -0
  1152. package/{dist/icc-x-api → icc-x-api}/icc-contact-x-api.js.map +0 -0
  1153. package/{dist/icc-x-api → icc-x-api}/icc-crypto-x-api.d.ts +5 -5
  1154. package/{dist/icc-x-api → icc-x-api}/icc-crypto-x-api.js +28 -24
  1155. package/icc-x-api/icc-crypto-x-api.js.map +1 -0
  1156. package/{dist/icc-x-api → icc-x-api}/icc-data-owner-x-api.d.ts +0 -0
  1157. package/{dist/icc-x-api → icc-x-api}/icc-data-owner-x-api.js +0 -0
  1158. package/{dist/icc-x-api → icc-x-api}/icc-data-owner-x-api.js.map +0 -0
  1159. package/{dist/icc-x-api → icc-x-api}/icc-doctemplate-x-api.d.ts +0 -0
  1160. package/{dist/icc-x-api → icc-x-api}/icc-doctemplate-x-api.js +0 -0
  1161. package/{dist/icc-x-api → icc-x-api}/icc-doctemplate-x-api.js.map +0 -0
  1162. package/{dist/icc-x-api → icc-x-api}/icc-document-x-api.d.ts +0 -0
  1163. package/{dist/icc-x-api → icc-x-api}/icc-document-x-api.js +0 -0
  1164. package/{dist/icc-x-api → icc-x-api}/icc-document-x-api.js.map +0 -0
  1165. package/{dist/icc-x-api → icc-x-api}/icc-form-x-api.d.ts +0 -0
  1166. package/{dist/icc-x-api → icc-x-api}/icc-form-x-api.js +0 -0
  1167. package/{dist/icc-x-api → icc-x-api}/icc-form-x-api.js.map +0 -0
  1168. package/{dist/icc-x-api → icc-x-api}/icc-hcparty-x-api.d.ts +0 -0
  1169. package/{dist/icc-x-api → icc-x-api}/icc-hcparty-x-api.js +0 -0
  1170. package/{dist/icc-x-api → icc-x-api}/icc-hcparty-x-api.js.map +0 -0
  1171. package/{dist/icc-x-api → icc-x-api}/icc-helement-x-api.d.ts +0 -0
  1172. package/{dist/icc-x-api → icc-x-api}/icc-helement-x-api.js +0 -0
  1173. package/{dist/icc-x-api → icc-x-api}/icc-helement-x-api.js.map +0 -0
  1174. package/{dist/icc-x-api → icc-x-api}/icc-invoice-x-api.d.ts +0 -0
  1175. package/{dist/icc-x-api → icc-x-api}/icc-invoice-x-api.js +0 -0
  1176. package/{dist/icc-x-api → icc-x-api}/icc-invoice-x-api.js.map +0 -0
  1177. package/{dist/icc-x-api → icc-x-api}/icc-maintenance-task-x-api.d.ts +0 -0
  1178. package/{dist/icc-x-api → icc-x-api}/icc-maintenance-task-x-api.js +0 -0
  1179. package/{dist/icc-x-api → icc-x-api}/icc-maintenance-task-x-api.js.map +0 -0
  1180. package/{dist/icc-x-api → icc-x-api}/icc-message-x-api.d.ts +0 -0
  1181. package/{dist/icc-x-api → icc-x-api}/icc-message-x-api.js +0 -0
  1182. package/{dist/icc-x-api → icc-x-api}/icc-message-x-api.js.map +0 -0
  1183. package/{dist/icc-x-api → icc-x-api}/icc-patient-x-api.d.ts +0 -0
  1184. package/{dist/icc-x-api → icc-x-api}/icc-patient-x-api.js +0 -0
  1185. package/{dist/icc-x-api → icc-x-api}/icc-patient-x-api.js.map +0 -0
  1186. package/{dist/icc-x-api → icc-x-api}/icc-receipt-x-api.d.ts +0 -0
  1187. package/{dist/icc-x-api → icc-x-api}/icc-receipt-x-api.js +0 -0
  1188. package/{dist/icc-x-api → icc-x-api}/icc-receipt-x-api.js.map +0 -0
  1189. package/{dist/icc-x-api → icc-x-api}/icc-time-table-x-api.d.ts +0 -0
  1190. package/{dist/icc-x-api → icc-x-api}/icc-time-table-x-api.js +0 -0
  1191. package/{dist/icc-x-api → icc-x-api}/icc-time-table-x-api.js.map +0 -0
  1192. package/{dist/icc-x-api → icc-x-api}/icc-user-x-api.d.ts +0 -0
  1193. package/{dist/icc-x-api → icc-x-api}/icc-user-x-api.js +0 -0
  1194. package/{dist/icc-x-api → icc-x-api}/icc-user-x-api.js.map +0 -0
  1195. package/{dist/icc-x-api → icc-x-api}/index.d.ts +0 -0
  1196. package/{dist/icc-x-api → icc-x-api}/index.js +0 -0
  1197. package/{dist/icc-x-api → icc-x-api}/index.js.map +0 -0
  1198. package/{dist/icc-x-api → icc-x-api}/rsrc/codelng.d.ts +0 -0
  1199. package/{dist/icc-x-api → icc-x-api}/rsrc/codelng.js +0 -0
  1200. package/{dist/icc-x-api → icc-x-api}/rsrc/codelng.js.map +0 -0
  1201. package/{dist/icc-x-api → icc-x-api}/rsrc/contact.i18n.d.ts +0 -0
  1202. package/{dist/icc-x-api → icc-x-api}/rsrc/contact.i18n.js +0 -0
  1203. package/{dist/icc-x-api → icc-x-api}/rsrc/contact.i18n.js.map +0 -0
  1204. package/{dist/icc-x-api → icc-x-api}/rsrc/icd10.d.ts +0 -0
  1205. package/{dist/icc-x-api → icc-x-api}/rsrc/icd10.js +0 -0
  1206. package/{dist/icc-x-api → icc-x-api}/rsrc/icd10.js.map +0 -0
  1207. package/{dist/icc-x-api → icc-x-api}/rsrc/icpc2.d.ts +0 -0
  1208. package/{dist/icc-x-api → icc-x-api}/rsrc/icpc2.js +0 -0
  1209. package/{dist/icc-x-api → icc-x-api}/rsrc/icpc2.js.map +0 -0
  1210. package/{dist/icc-x-api → icc-x-api}/storage/KeyStorageFacade.d.ts +6 -6
  1211. package/{dist/icc-x-api → icc-x-api}/storage/KeyStorageFacade.js +0 -0
  1212. package/icc-x-api/storage/KeyStorageFacade.js.map +1 -0
  1213. package/{dist/icc-x-api → icc-x-api}/storage/KeyStorageImpl.d.ts +6 -6
  1214. package/icc-x-api/storage/KeyStorageImpl.js +51 -0
  1215. package/icc-x-api/storage/KeyStorageImpl.js.map +1 -0
  1216. package/icc-x-api/storage/LocalStorageImpl.d.ts +6 -0
  1217. package/icc-x-api/storage/LocalStorageImpl.js +36 -0
  1218. package/icc-x-api/storage/LocalStorageImpl.js.map +1 -0
  1219. package/{dist/icc-x-api → icc-x-api}/storage/StorageFacade.d.ts +3 -3
  1220. package/{dist/icc-x-api → icc-x-api}/storage/StorageFacade.js +0 -0
  1221. package/icc-x-api/storage/StorageFacade.js.map +1 -0
  1222. package/{dist/icc-x-api → icc-x-api}/utils/asn1-packer.d.ts +0 -0
  1223. package/{dist/icc-x-api → icc-x-api}/utils/asn1-packer.js +0 -0
  1224. package/{dist/icc-x-api → icc-x-api}/utils/asn1-packer.js.map +0 -0
  1225. package/{dist/icc-x-api → icc-x-api}/utils/asn1-parser.d.ts +0 -0
  1226. package/{dist/icc-x-api → icc-x-api}/utils/asn1-parser.js +0 -0
  1227. package/{dist/icc-x-api → icc-x-api}/utils/asn1-parser.js.map +0 -0
  1228. package/{dist/icc-x-api → icc-x-api}/utils/binary-utils.d.ts +0 -0
  1229. package/{dist/icc-x-api → icc-x-api}/utils/binary-utils.js +0 -0
  1230. package/{dist/icc-x-api → icc-x-api}/utils/binary-utils.js.map +0 -0
  1231. package/{dist/icc-x-api → icc-x-api}/utils/code-util.d.ts +0 -0
  1232. package/{dist/icc-x-api → icc-x-api}/utils/code-util.js +0 -0
  1233. package/{dist/icc-x-api → icc-x-api}/utils/code-util.js.map +0 -0
  1234. package/{dist/icc-x-api → icc-x-api}/utils/crypto-utils.d.ts +0 -0
  1235. package/{dist/icc-x-api → icc-x-api}/utils/crypto-utils.js +0 -0
  1236. package/{dist/icc-x-api → icc-x-api}/utils/crypto-utils.js.map +0 -0
  1237. package/{dist/icc-x-api → icc-x-api}/utils/formatting-util.d.ts +0 -0
  1238. package/{dist/icc-x-api → icc-x-api}/utils/formatting-util.js +0 -0
  1239. package/{dist/icc-x-api → icc-x-api}/utils/formatting-util.js.map +0 -0
  1240. package/{dist/icc-x-api → icc-x-api}/utils/functional-util.d.ts +0 -0
  1241. package/{dist/icc-x-api → icc-x-api}/utils/functional-util.js +0 -0
  1242. package/{dist/icc-x-api → icc-x-api}/utils/functional-util.js.map +0 -0
  1243. package/{dist/icc-x-api → icc-x-api}/utils/hcp-util.d.ts +0 -0
  1244. package/{dist/icc-x-api → icc-x-api}/utils/hcp-util.js +0 -0
  1245. package/{dist/icc-x-api → icc-x-api}/utils/hcp-util.js.map +0 -0
  1246. package/{dist/icc-x-api → icc-x-api}/utils/index.d.ts +0 -0
  1247. package/{dist/icc-x-api → icc-x-api}/utils/index.js +0 -0
  1248. package/{dist/icc-x-api → icc-x-api}/utils/index.js.map +0 -0
  1249. package/{dist/icc-x-api → icc-x-api}/utils/insurability-util.d.ts +0 -0
  1250. package/{dist/icc-x-api → icc-x-api}/utils/insurability-util.js +0 -0
  1251. package/{dist/icc-x-api → icc-x-api}/utils/insurability-util.js.map +0 -0
  1252. package/{dist/icc-x-api → icc-x-api}/utils/net-utils.d.ts +0 -0
  1253. package/{dist/icc-x-api → icc-x-api}/utils/net-utils.js +0 -0
  1254. package/{dist/icc-x-api → icc-x-api}/utils/net-utils.js.map +0 -0
  1255. package/{dist/icc-x-api → icc-x-api}/utils/person-util.d.ts +0 -0
  1256. package/{dist/icc-x-api → icc-x-api}/utils/person-util.js +0 -0
  1257. package/{dist/icc-x-api → icc-x-api}/utils/person-util.js.map +0 -0
  1258. package/{dist/icc-x-api → icc-x-api}/utils/uuid-encoder.d.ts +0 -0
  1259. package/{dist/icc-x-api → icc-x-api}/utils/uuid-encoder.js +0 -0
  1260. package/{dist/icc-x-api → icc-x-api}/utils/uuid-encoder.js.map +0 -0
  1261. package/{dist/index.d.ts → index.d.ts} +0 -0
  1262. package/{dist/index.js → index.js} +0 -0
  1263. package/{dist/index.js.map → index.js.map} +0 -0
  1264. package/{dist/node-compat.d.ts → node-compat.d.ts} +0 -0
  1265. package/{dist/node-compat.js → node-compat.js} +0 -0
  1266. package/{dist/node-compat.js.map → node-compat.js.map} +0 -0
  1267. package/package.json +3 -63
  1268. package/.editorconfig +0 -11
  1269. package/.eslintrc.js +0 -31
  1270. package/.github/workflows/build.yml +0 -40
  1271. package/.gitmodules +0 -3
  1272. package/.nyc_output/568fdd45-3663-4e6e-8dcd-0f5c1375e145.json +0 -1
  1273. package/.nyc_output/7ef50e18-84b7-4647-b4b1-7e4436cf241f.json +0 -1
  1274. package/.nyc_output/processinfo/568fdd45-3663-4e6e-8dcd-0f5c1375e145.json +0 -1
  1275. package/.nyc_output/processinfo/7ef50e18-84b7-4647-b4b1-7e4436cf241f.json +0 -1
  1276. package/.nyc_output/processinfo/index.json +0 -1
  1277. package/.pre-commit-config.yaml +0 -22
  1278. package/.prettierrc +0 -5
  1279. package/.secrets.baseline +0 -174
  1280. package/.yarnrc +0 -3
  1281. package/CHANGELOG.md +0 -112
  1282. package/Dockerfile +0 -25
  1283. package/LICENSE +0 -7
  1284. package/README.md +0 -75
  1285. package/apidocs/.swagger-codegen-ignore +0 -23
  1286. package/ci/cloudbuild.yaml +0 -16
  1287. package/coverage/base.css +0 -224
  1288. package/coverage/block-navigation.js +0 -87
  1289. package/coverage/favicon.png +0 -0
  1290. package/coverage/icure-typescript-sdk/.eslintrc.js.html +0 -178
  1291. package/coverage/icure-typescript-sdk/icc-api/api/IccAccesslogApi.ts.html +0 -679
  1292. package/coverage/icure-typescript-sdk/icc-api/api/IccAgendaApi.ts.html +0 -514
  1293. package/coverage/icure-typescript-sdk/icc-api/api/IccAnonymousAccessApi.ts.html +0 -439
  1294. package/coverage/icure-typescript-sdk/icc-api/api/IccApplicationsettingsApi.ts.html +0 -328
  1295. package/coverage/icure-typescript-sdk/icc-api/api/IccArticleApi.ts.html +0 -421
  1296. package/coverage/icure-typescript-sdk/icc-api/api/IccAuthApi.ts.html +0 -469
  1297. package/coverage/icure-typescript-sdk/icc-api/api/IccBeefactApi.ts.html +0 -259
  1298. package/coverage/icure-typescript-sdk/icc-api/api/IccBekmehrApi.ts.html +0 -2788
  1299. package/coverage/icure-typescript-sdk/icc-api/api/IccBemikronoApi.ts.html +0 -634
  1300. package/coverage/icure-typescript-sdk/icc-api/api/IccBeresultexportApi.ts.html +0 -463
  1301. package/coverage/icure-typescript-sdk/icc-api/api/IccBeresultimportApi.ts.html +0 -451
  1302. package/coverage/icure-typescript-sdk/icc-api/api/IccBesamv2Api.ts.html +0 -2386
  1303. package/coverage/icure-typescript-sdk/icc-api/api/IccCalendarItemApi.ts.html +0 -850
  1304. package/coverage/icure-typescript-sdk/icc-api/api/IccCalendarItemTypeApi.ts.html +0 -463
  1305. package/coverage/icure-typescript-sdk/icc-api/api/IccClassificationApi.ts.html +0 -601
  1306. package/coverage/icure-typescript-sdk/icc-api/api/IccClassificationTemplateApi.ts.html +0 -625
  1307. package/coverage/icure-typescript-sdk/icc-api/api/IccCodeApi.ts.html +0 -1330
  1308. package/coverage/icure-typescript-sdk/icc-api/api/IccContactApi.ts.html +0 -1915
  1309. package/coverage/icure-typescript-sdk/icc-api/api/IccDeviceApi.ts.html +0 -1135
  1310. package/coverage/icure-typescript-sdk/icc-api/api/IccDoctemplateApi.ts.html +0 -835
  1311. package/coverage/icure-typescript-sdk/icc-api/api/IccDocumentApi.ts.html +0 -1162
  1312. package/coverage/icure-typescript-sdk/icc-api/api/IccDocumentTemplateApi.ts.html +0 -844
  1313. package/coverage/icure-typescript-sdk/icc-api/api/IccEntityrefApi.ts.html +0 -280
  1314. package/coverage/icure-typescript-sdk/icc-api/api/IccEntitytemplateApi.ts.html +0 -808
  1315. package/coverage/icure-typescript-sdk/icc-api/api/IccFormApi.ts.html +0 -1483
  1316. package/coverage/icure-typescript-sdk/icc-api/api/IccFrontendmigrationApi.ts.html +0 -466
  1317. package/coverage/icure-typescript-sdk/icc-api/api/IccGroupApi.ts.html +0 -1192
  1318. package/coverage/icure-typescript-sdk/icc-api/api/IccHcpartyApi.ts.html +0 -1522
  1319. package/coverage/icure-typescript-sdk/icc-api/api/IccHelementApi.ts.html +0 -913
  1320. package/coverage/icure-typescript-sdk/icc-api/api/IccIcureApi.ts.html +0 -970
  1321. package/coverage/icure-typescript-sdk/icc-api/api/IccInsuranceApi.ts.html +0 -523
  1322. package/coverage/icure-typescript-sdk/icc-api/api/IccInvoiceApi.ts.html +0 -2086
  1323. package/coverage/icure-typescript-sdk/icc-api/api/IccKeywordApi.ts.html +0 -466
  1324. package/coverage/icure-typescript-sdk/icc-api/api/IccMaintenanceTaskApi.ts.html +0 -460
  1325. package/coverage/icure-typescript-sdk/icc-api/api/IccMedexApi.ts.html +0 -235
  1326. package/coverage/icure-typescript-sdk/icc-api/api/IccMedicallocationApi.ts.html +0 -421
  1327. package/coverage/icure-typescript-sdk/icc-api/api/IccMessageApi.ts.html +0 -1444
  1328. package/coverage/icure-typescript-sdk/icc-api/api/IccPatientApi.ts.html +0 -2530
  1329. package/coverage/icure-typescript-sdk/icc-api/api/IccPermissionApi.ts.html +0 -238
  1330. package/coverage/icure-typescript-sdk/icc-api/api/IccPlaceApi.ts.html +0 -421
  1331. package/coverage/icure-typescript-sdk/icc-api/api/IccPubsubApi.ts.html +0 -379
  1332. package/coverage/icure-typescript-sdk/icc-api/api/IccReceiptApi.ts.html +0 -565
  1333. package/coverage/icure-typescript-sdk/icc-api/api/IccReplicationApi.ts.html +0 -379
  1334. package/coverage/icure-typescript-sdk/icc-api/api/IccTarificationApi.ts.html +0 -769
  1335. package/coverage/icure-typescript-sdk/icc-api/api/IccTimeTableApi.ts.html +0 -499
  1336. package/coverage/icure-typescript-sdk/icc-api/api/IccTmpApi.ts.html +0 -3955
  1337. package/coverage/icure-typescript-sdk/icc-api/api/IccUserApi.ts.html +0 -1636
  1338. package/coverage/icure-typescript-sdk/icc-api/api/XHR.ts.html +0 -565
  1339. package/coverage/icure-typescript-sdk/icc-api/api/index.html +0 -821
  1340. package/coverage/icure-typescript-sdk/icc-api/iccApi.ts.html +0 -220
  1341. package/coverage/icure-typescript-sdk/icc-api/index.html +0 -131
  1342. package/coverage/icure-typescript-sdk/icc-api/index.ts.html +0 -220
  1343. package/coverage/icure-typescript-sdk/icc-api/model/AbstractFilterCode.ts.html +0 -142
  1344. package/coverage/icure-typescript-sdk/icc-api/model/AbstractFilterContact.ts.html +0 -142
  1345. package/coverage/icure-typescript-sdk/icc-api/model/AbstractFilterDevice.ts.html +0 -142
  1346. package/coverage/icure-typescript-sdk/icc-api/model/AbstractFilterHealthElement.ts.html +0 -142
  1347. package/coverage/icure-typescript-sdk/icc-api/model/AbstractFilterHealthcareParty.ts.html +0 -142
  1348. package/coverage/icure-typescript-sdk/icc-api/model/AbstractFilterInvoice.ts.html +0 -142
  1349. package/coverage/icure-typescript-sdk/icc-api/model/AbstractFilterMaintenanceTask.ts.html +0 -142
  1350. package/coverage/icure-typescript-sdk/icc-api/model/AbstractFilterPatient.ts.html +0 -142
  1351. package/coverage/icure-typescript-sdk/icc-api/model/AbstractFilterService.ts.html +0 -142
  1352. package/coverage/icure-typescript-sdk/icc-api/model/AbstractFilterUser.ts.html +0 -142
  1353. package/coverage/icure-typescript-sdk/icc-api/model/AccessLog.ts.html +0 -409
  1354. package/coverage/icure-typescript-sdk/icc-api/model/AddedDocument.ts.html +0 -166
  1355. package/coverage/icure-typescript-sdk/icc-api/model/Address.ts.html +0 -382
  1356. package/coverage/icure-typescript-sdk/icc-api/model/AdministrationQuantity.ts.html +0 -151
  1357. package/coverage/icure-typescript-sdk/icc-api/model/Agenda.ts.html +0 -268
  1358. package/coverage/icure-typescript-sdk/icc-api/model/AgreementAppendix.ts.html +0 -151
  1359. package/coverage/icure-typescript-sdk/icc-api/model/Amp.ts.html +0 -256
  1360. package/coverage/icure-typescript-sdk/icc-api/model/AmpComponent.ts.html +0 -238
  1361. package/coverage/icure-typescript-sdk/icc-api/model/Ampp.ts.html +0 -310
  1362. package/coverage/icure-typescript-sdk/icc-api/model/AmppComponent.ts.html +0 -193
  1363. package/coverage/icure-typescript-sdk/icc-api/model/Annotation.ts.html +0 -211
  1364. package/coverage/icure-typescript-sdk/icc-api/model/ApplicationSettings.ts.html +0 -259
  1365. package/coverage/icure-typescript-sdk/icc-api/model/Appointment.ts.html +0 -178
  1366. package/coverage/icure-typescript-sdk/icc-api/model/AppointmentImport.ts.html +0 -202
  1367. package/coverage/icure-typescript-sdk/icc-api/model/AppointmentTypeAndPlace.ts.html +0 -166
  1368. package/coverage/icure-typescript-sdk/icc-api/model/Article.ts.html +0 -331
  1369. package/coverage/icure-typescript-sdk/icc-api/model/Atc.ts.html +0 -145
  1370. package/coverage/icure-typescript-sdk/icc-api/model/Attachment.ts.html +0 -154
  1371. package/coverage/icure-typescript-sdk/icc-api/model/AuthenticationResponse.ts.html +0 -160
  1372. package/coverage/icure-typescript-sdk/icc-api/model/AuthenticationToken.ts.html +0 -184
  1373. package/coverage/icure-typescript-sdk/icc-api/model/Basic.ts.html +0 -145
  1374. package/coverage/icure-typescript-sdk/icc-api/model/Body.ts.html +0 -145
  1375. package/coverage/icure-typescript-sdk/icc-api/model/Body1.ts.html +0 -145
  1376. package/coverage/icure-typescript-sdk/icc-api/model/Body2.ts.html +0 -145
  1377. package/coverage/icure-typescript-sdk/icc-api/model/Body3.ts.html +0 -145
  1378. package/coverage/icure-typescript-sdk/icc-api/model/ByteArray.ts.html +0 -145
  1379. package/coverage/icure-typescript-sdk/icc-api/model/CalendarItem.ts.html +0 -394
  1380. package/coverage/icure-typescript-sdk/icc-api/model/CalendarItemTag.ts.html +0 -151
  1381. package/coverage/icure-typescript-sdk/icc-api/model/CalendarItemType.ts.html +0 -181
  1382. package/coverage/icure-typescript-sdk/icc-api/model/CareTeamMember.ts.html +0 -199
  1383. package/coverage/icure-typescript-sdk/icc-api/model/CareTeamMembership.ts.html +0 -202
  1384. package/coverage/icure-typescript-sdk/icc-api/model/CheckSMFPatientResult.ts.html +0 -157
  1385. package/coverage/icure-typescript-sdk/icc-api/model/Classification.ts.html +0 -328
  1386. package/coverage/icure-typescript-sdk/icc-api/model/ClassificationTemplate.ts.html +0 -325
  1387. package/coverage/icure-typescript-sdk/icc-api/model/Code.ts.html +0 -691
  1388. package/coverage/icure-typescript-sdk/icc-api/model/CodeStub.ts.html +0 -157
  1389. package/coverage/icure-typescript-sdk/icc-api/model/CodeType.ts.html +0 -142
  1390. package/coverage/icure-typescript-sdk/icc-api/model/CommentedClassification.ts.html +0 -148
  1391. package/coverage/icure-typescript-sdk/icc-api/model/Commercialization.ts.html +0 -160
  1392. package/coverage/icure-typescript-sdk/icc-api/model/Company.ts.html +0 -190
  1393. package/coverage/icure-typescript-sdk/icc-api/model/Contact.ts.html +0 -472
  1394. package/coverage/icure-typescript-sdk/icc-api/model/Content.ts.html +0 -220
  1395. package/coverage/icure-typescript-sdk/icc-api/model/Copayment.ts.html +0 -151
  1396. package/coverage/icure-typescript-sdk/icc-api/model/Data.ts.html +0 -136
  1397. package/coverage/icure-typescript-sdk/icc-api/model/DataOwnerRegistrationSuccess.ts.html +0 -148
  1398. package/coverage/icure-typescript-sdk/icc-api/model/DatabaseInfo.ts.html +0 -169
  1399. package/coverage/icure-typescript-sdk/icc-api/model/DatabaseInitialisation.ts.html +0 -166
  1400. package/coverage/icure-typescript-sdk/icc-api/model/DatabaseSynchronization.ts.html +0 -175
  1401. package/coverage/icure-typescript-sdk/icc-api/model/Delegation.ts.html +0 -160
  1402. package/coverage/icure-typescript-sdk/icc-api/model/Device.ts.html +0 -364
  1403. package/coverage/icure-typescript-sdk/icc-api/model/DeviceType.ts.html +0 -154
  1404. package/coverage/icure-typescript-sdk/icc-api/model/DiaryNoteExportInfo.ts.html +0 -175
  1405. package/coverage/icure-typescript-sdk/icc-api/model/Dmpp.ts.html +0 -220
  1406. package/coverage/icure-typescript-sdk/icc-api/model/DocIdentifier.ts.html +0 -145
  1407. package/coverage/icure-typescript-sdk/icc-api/model/Document.ts.html +0 -877
  1408. package/coverage/icure-typescript-sdk/icc-api/model/DocumentGroup.ts.html +0 -145
  1409. package/coverage/icure-typescript-sdk/icc-api/model/DocumentTemplate.ts.html +0 -571
  1410. package/coverage/icure-typescript-sdk/icc-api/model/Duration.ts.html +0 -148
  1411. package/coverage/icure-typescript-sdk/icc-api/model/EIDItem.ts.html +0 -154
  1412. package/coverage/icure-typescript-sdk/icc-api/model/Editor.ts.html +0 -196
  1413. package/coverage/icure-typescript-sdk/icc-api/model/EfactInvoice.ts.html +0 -214
  1414. package/coverage/icure-typescript-sdk/icc-api/model/EmailOrSmsMessage.ts.html +0 -202
  1415. package/coverage/icure-typescript-sdk/icc-api/model/EmailTemplate.ts.html +0 -145
  1416. package/coverage/icure-typescript-sdk/icc-api/model/Employer.ts.html +0 -148
  1417. package/coverage/icure-typescript-sdk/icc-api/model/EmploymentInfo.ts.html +0 -157
  1418. package/coverage/icure-typescript-sdk/icc-api/model/EntityReference.ts.html +0 -160
  1419. package/coverage/icure-typescript-sdk/icc-api/model/EntityTemplate.ts.html +0 -178
  1420. package/coverage/icure-typescript-sdk/icc-api/model/Episode.ts.html +0 -175
  1421. package/coverage/icure-typescript-sdk/icc-api/model/FilterChainCode.ts.html +0 -154
  1422. package/coverage/icure-typescript-sdk/icc-api/model/FilterChainContact.ts.html +0 -154
  1423. package/coverage/icure-typescript-sdk/icc-api/model/FilterChainDevice.ts.html +0 -154
  1424. package/coverage/icure-typescript-sdk/icc-api/model/FilterChainHealthElement.ts.html +0 -154
  1425. package/coverage/icure-typescript-sdk/icc-api/model/FilterChainHealthcareParty.ts.html +0 -154
  1426. package/coverage/icure-typescript-sdk/icc-api/model/FilterChainInvoice.ts.html +0 -154
  1427. package/coverage/icure-typescript-sdk/icc-api/model/FilterChainMaintenanceTask.ts.html +0 -154
  1428. package/coverage/icure-typescript-sdk/icc-api/model/FilterChainPatient.ts.html +0 -154
  1429. package/coverage/icure-typescript-sdk/icc-api/model/FilterChainService.ts.html +0 -154
  1430. package/coverage/icure-typescript-sdk/icc-api/model/FilterChainUser.ts.html +0 -154
  1431. package/coverage/icure-typescript-sdk/icc-api/model/FinancialInstitutionInformation.ts.html +0 -181
  1432. package/coverage/icure-typescript-sdk/icc-api/model/FlatRateTarification.ts.html +0 -193
  1433. package/coverage/icure-typescript-sdk/icc-api/model/FlowItem.ts.html +0 -238
  1434. package/coverage/icure-typescript-sdk/icc-api/model/Form.ts.html +0 -433
  1435. package/coverage/icure-typescript-sdk/icc-api/model/FormColumn.ts.html +0 -151
  1436. package/coverage/icure-typescript-sdk/icc-api/model/FormDataOption.ts.html +0 -145
  1437. package/coverage/icure-typescript-sdk/icc-api/model/FormLayout.ts.html +0 -172
  1438. package/coverage/icure-typescript-sdk/icc-api/model/FormLayoutData.ts.html +0 -217
  1439. package/coverage/icure-typescript-sdk/icc-api/model/FormPlanning.ts.html +0 -163
  1440. package/coverage/icure-typescript-sdk/icc-api/model/FormSection.ts.html +0 -154
  1441. package/coverage/icure-typescript-sdk/icc-api/model/FormTemplate.ts.html +0 -223
  1442. package/coverage/icure-typescript-sdk/icc-api/model/FormTemplateLayout.ts.html +0 -154
  1443. package/coverage/icure-typescript-sdk/icc-api/model/Formula.ts.html +0 -178
  1444. package/coverage/icure-typescript-sdk/icc-api/model/FrontEndMigration.ts.html +0 -226
  1445. package/coverage/icure-typescript-sdk/icc-api/model/Group.ts.html +0 -265
  1446. package/coverage/icure-typescript-sdk/icc-api/model/GroupDatabasesInfo.ts.html +0 -148
  1447. package/coverage/icure-typescript-sdk/icc-api/model/GuiCode.ts.html +0 -145
  1448. package/coverage/icure-typescript-sdk/icc-api/model/GuiCodeType.ts.html +0 -142
  1449. package/coverage/icure-typescript-sdk/icc-api/model/HealthElement.ts.html +0 -562
  1450. package/coverage/icure-typescript-sdk/icc-api/model/HealthcareParty.ts.html +0 -757
  1451. package/coverage/icure-typescript-sdk/icc-api/model/HealthcarePartyHistoryStatus.ts.html +0 -184
  1452. package/coverage/icure-typescript-sdk/icc-api/model/IcureStub.ts.html +0 -307
  1453. package/coverage/icure-typescript-sdk/icc-api/model/IdWithRev.ts.html +0 -145
  1454. package/coverage/icure-typescript-sdk/icc-api/model/Identifier.ts.html +0 -166
  1455. package/coverage/icure-typescript-sdk/icc-api/model/IdentityDocumentReader.ts.html +0 -157
  1456. package/coverage/icure-typescript-sdk/icc-api/model/ImportMapping.ts.html +0 -157
  1457. package/coverage/icure-typescript-sdk/icc-api/model/ImportResult.ts.html +0 -187
  1458. package/coverage/icure-typescript-sdk/icc-api/model/IncapacityExportInfo.ts.html +0 -241
  1459. package/coverage/icure-typescript-sdk/icc-api/model/IndexedIdentifier.ts.html +0 -148
  1460. package/coverage/icure-typescript-sdk/icc-api/model/IndexingInfo.ts.html +0 -142
  1461. package/coverage/icure-typescript-sdk/icc-api/model/Ingredient.ts.html +0 -193
  1462. package/coverage/icure-typescript-sdk/icc-api/model/Insurability.ts.html +0 -268
  1463. package/coverage/icure-typescript-sdk/icc-api/model/Insurance.ts.html +0 -184
  1464. package/coverage/icure-typescript-sdk/icc-api/model/Invoice.ts.html +0 -700
  1465. package/coverage/icure-typescript-sdk/icc-api/model/InvoiceItem.ts.html +0 -376
  1466. package/coverage/icure-typescript-sdk/icc-api/model/InvoiceSender.ts.html +0 -169
  1467. package/coverage/icure-typescript-sdk/icc-api/model/InvoicesBatch.ts.html +0 -172
  1468. package/coverage/icure-typescript-sdk/icc-api/model/InvoicingCode.ts.html +0 -343
  1469. package/coverage/icure-typescript-sdk/icc-api/model/Keyword.ts.html +0 -268
  1470. package/coverage/icure-typescript-sdk/icc-api/model/KeywordSubword.ts.html +0 -145
  1471. package/coverage/icure-typescript-sdk/icc-api/model/LabelledOccurence.ts.html +0 -145
  1472. package/coverage/icure-typescript-sdk/icc-api/model/LetterValue.ts.html +0 -151
  1473. package/coverage/icure-typescript-sdk/icc-api/model/ListOfIds.ts.html +0 -151
  1474. package/coverage/icure-typescript-sdk/icc-api/model/ListOfProperties.ts.html +0 -154
  1475. package/coverage/icure-typescript-sdk/icc-api/model/LoginCredentials.ts.html +0 -145
  1476. package/coverage/icure-typescript-sdk/icc-api/model/MaintenanceTask.ts.html +0 -364
  1477. package/coverage/icure-typescript-sdk/icc-api/model/MapOfIds.ts.html +0 -142
  1478. package/coverage/icure-typescript-sdk/icc-api/model/Measure.ts.html +0 -178
  1479. package/coverage/icure-typescript-sdk/icc-api/model/MedexInfo.ts.html +0 -184
  1480. package/coverage/icure-typescript-sdk/icc-api/model/MedicalHouseContract.ts.html +0 -328
  1481. package/coverage/icure-typescript-sdk/icc-api/model/MedicalLocation.ts.html +0 -196
  1482. package/coverage/icure-typescript-sdk/icc-api/model/Medication.ts.html +0 -295
  1483. package/coverage/icure-typescript-sdk/icc-api/model/MedicationSchemeExportInfo.ts.html +0 -160
  1484. package/coverage/icure-typescript-sdk/icc-api/model/Medicinalproduct.ts.html +0 -157
  1485. package/coverage/icure-typescript-sdk/icc-api/model/Message.ts.html +0 -520
  1486. package/coverage/icure-typescript-sdk/icc-api/model/MessageReadStatus.ts.html +0 -154
  1487. package/coverage/icure-typescript-sdk/icc-api/model/MessageWithBatch.ts.html +0 -151
  1488. package/coverage/icure-typescript-sdk/icc-api/model/MessagesReadStatusUpdate.ts.html +0 -151
  1489. package/coverage/icure-typescript-sdk/icc-api/model/MikronoAppointmentTypeRest.ts.html +0 -160
  1490. package/coverage/icure-typescript-sdk/icc-api/model/MikronoCredentials.ts.html +0 -148
  1491. package/coverage/icure-typescript-sdk/icc-api/model/MimeAttachment.ts.html +0 -151
  1492. package/coverage/icure-typescript-sdk/icc-api/model/ModelHelper.ts.html +0 -277
  1493. package/coverage/icure-typescript-sdk/icc-api/model/Nmp.ts.html +0 -187
  1494. package/coverage/icure-typescript-sdk/icc-api/model/NoGenericPrescriptionReason.ts.html +0 -148
  1495. package/coverage/icure-typescript-sdk/icc-api/model/NoSwitchReason.ts.html +0 -148
  1496. package/coverage/icure-typescript-sdk/icc-api/model/NumeratorRange.ts.html +0 -148
  1497. package/coverage/icure-typescript-sdk/icc-api/model/PackagingType.ts.html +0 -154
  1498. package/coverage/icure-typescript-sdk/icc-api/model/PaginatedDocumentKeyIdPairObject.ts.html +0 -145
  1499. package/coverage/icure-typescript-sdk/icc-api/model/PaginatedListAccessLog.ts.html +0 -157
  1500. package/coverage/icure-typescript-sdk/icc-api/model/PaginatedListAmp.ts.html +0 -157
  1501. package/coverage/icure-typescript-sdk/icc-api/model/PaginatedListClassification.ts.html +0 -157
  1502. package/coverage/icure-typescript-sdk/icc-api/model/PaginatedListClassificationTemplate.ts.html +0 -157
  1503. package/coverage/icure-typescript-sdk/icc-api/model/PaginatedListCode.ts.html +0 -157
  1504. package/coverage/icure-typescript-sdk/icc-api/model/PaginatedListContact.ts.html +0 -157
  1505. package/coverage/icure-typescript-sdk/icc-api/model/PaginatedListDevice.ts.html +0 -157
  1506. package/coverage/icure-typescript-sdk/icc-api/model/PaginatedListDocument.ts.html +0 -157
  1507. package/coverage/icure-typescript-sdk/icc-api/model/PaginatedListEntityTemplate.ts.html +0 -157
  1508. package/coverage/icure-typescript-sdk/icc-api/model/PaginatedListForm.ts.html +0 -157
  1509. package/coverage/icure-typescript-sdk/icc-api/model/PaginatedListGroup.ts.html +0 -157
  1510. package/coverage/icure-typescript-sdk/icc-api/model/PaginatedListHealthElement.ts.html +0 -157
  1511. package/coverage/icure-typescript-sdk/icc-api/model/PaginatedListHealthcareParty.ts.html +0 -157
  1512. package/coverage/icure-typescript-sdk/icc-api/model/PaginatedListInvoice.ts.html +0 -157
  1513. package/coverage/icure-typescript-sdk/icc-api/model/PaginatedListMaintenanceTask.ts.html +0 -157
  1514. package/coverage/icure-typescript-sdk/icc-api/model/PaginatedListMessage.ts.html +0 -157
  1515. package/coverage/icure-typescript-sdk/icc-api/model/PaginatedListNmp.ts.html +0 -157
  1516. package/coverage/icure-typescript-sdk/icc-api/model/PaginatedListPatient.ts.html +0 -157
  1517. package/coverage/icure-typescript-sdk/icc-api/model/PaginatedListService.ts.html +0 -157
  1518. package/coverage/icure-typescript-sdk/icc-api/model/PaginatedListString.ts.html +0 -154
  1519. package/coverage/icure-typescript-sdk/icc-api/model/PaginatedListTarification.ts.html +0 -157
  1520. package/coverage/icure-typescript-sdk/icc-api/model/PaginatedListUser.ts.html +0 -157
  1521. package/coverage/icure-typescript-sdk/icc-api/model/PaginatedListVmp.ts.html +0 -157
  1522. package/coverage/icure-typescript-sdk/icc-api/model/PaginatedListVmpGroup.ts.html +0 -157
  1523. package/coverage/icure-typescript-sdk/icc-api/model/Paragraph.ts.html +0 -208
  1524. package/coverage/icure-typescript-sdk/icc-api/model/ParagraphAgreement.ts.html +0 -208
  1525. package/coverage/icure-typescript-sdk/icc-api/model/Partnership.ts.html +0 -439
  1526. package/coverage/icure-typescript-sdk/icc-api/model/Patient.ts.html +0 -1183
  1527. package/coverage/icure-typescript-sdk/icc-api/model/PatientByHcPartyGenderEducationProfession.ts.html +0 -190
  1528. package/coverage/icure-typescript-sdk/icc-api/model/PatientHealthCareParty.ts.html +0 -277
  1529. package/coverage/icure-typescript-sdk/icc-api/model/PatientRegistrationSuccess.ts.html +0 -148
  1530. package/coverage/icure-typescript-sdk/icc-api/model/Payment.ts.html +0 -187
  1531. package/coverage/icure-typescript-sdk/icc-api/model/Periodicity.ts.html +0 -148
  1532. package/coverage/icure-typescript-sdk/icc-api/model/Permission.ts.html +0 -175
  1533. package/coverage/icure-typescript-sdk/icc-api/model/PermissionCriterion.ts.html +0 -223
  1534. package/coverage/icure-typescript-sdk/icc-api/model/PermissionItem.ts.html +0 -241
  1535. package/coverage/icure-typescript-sdk/icc-api/model/PersonName.ts.html +0 -283
  1536. package/coverage/icure-typescript-sdk/icc-api/model/PharmaceuticalForm.ts.html +0 -172
  1537. package/coverage/icure-typescript-sdk/icc-api/model/PharmaceuticalFormStub.ts.html +0 -157
  1538. package/coverage/icure-typescript-sdk/icc-api/model/Place.ts.html +0 -166
  1539. package/coverage/icure-typescript-sdk/icc-api/model/PlanOfAction.ts.html +0 -427
  1540. package/coverage/icure-typescript-sdk/icc-api/model/Predicate.ts.html +0 -136
  1541. package/coverage/icure-typescript-sdk/icc-api/model/Pricing.ts.html +0 -148
  1542. package/coverage/icure-typescript-sdk/icc-api/model/PropertyStub.ts.html +0 -178
  1543. package/coverage/icure-typescript-sdk/icc-api/model/PropertyTypeStub.ts.html +0 -181
  1544. package/coverage/icure-typescript-sdk/icc-api/model/PublicKey.ts.html +0 -145
  1545. package/coverage/icure-typescript-sdk/icc-api/model/Quantity.ts.html +0 -145
  1546. package/coverage/icure-typescript-sdk/icc-api/model/Receipt.ts.html +0 -334
  1547. package/coverage/icure-typescript-sdk/icc-api/model/ReferralPeriod.ts.html +0 -184
  1548. package/coverage/icure-typescript-sdk/icc-api/model/RegimenItem.ts.html +0 -166
  1549. package/coverage/icure-typescript-sdk/icc-api/model/RegistrationInformation.ts.html +0 -151
  1550. package/coverage/icure-typescript-sdk/icc-api/model/RegistrationSuccess.ts.html +0 -148
  1551. package/coverage/icure-typescript-sdk/icc-api/model/Reimbursement.ts.html +0 -256
  1552. package/coverage/icure-typescript-sdk/icc-api/model/ReimbursementCriterion.ts.html +0 -151
  1553. package/coverage/icure-typescript-sdk/icc-api/model/Remote.ts.html +0 -148
  1554. package/coverage/icure-typescript-sdk/icc-api/model/RemoteAuthentication.ts.html +0 -145
  1555. package/coverage/icure-typescript-sdk/icc-api/model/Renewal.ts.html +0 -148
  1556. package/coverage/icure-typescript-sdk/icc-api/model/ReplicateCommand.ts.html +0 -160
  1557. package/coverage/icure-typescript-sdk/icc-api/model/Replication.ts.html +0 -169
  1558. package/coverage/icure-typescript-sdk/icc-api/model/ReplicationInfo.ts.html +0 -151
  1559. package/coverage/icure-typescript-sdk/icc-api/model/ReplicationStats.ts.html +0 -166
  1560. package/coverage/icure-typescript-sdk/icc-api/model/ReplicatorDocument.ts.html +0 -187
  1561. package/coverage/icure-typescript-sdk/icc-api/model/ReplicatorResponse.ts.html +0 -154
  1562. package/coverage/icure-typescript-sdk/icc-api/model/ResultInfo.ts.html +0 -184
  1563. package/coverage/icure-typescript-sdk/icc-api/model/RevisionInfo.ts.html +0 -145
  1564. package/coverage/icure-typescript-sdk/icc-api/model/Right.ts.html +0 -151
  1565. package/coverage/icure-typescript-sdk/icc-api/model/RouteOfAdministration.ts.html +0 -151
  1566. package/coverage/icure-typescript-sdk/icc-api/model/SamText.ts.html +0 -151
  1567. package/coverage/icure-typescript-sdk/icc-api/model/SamVersion.ts.html +0 -163
  1568. package/coverage/icure-typescript-sdk/icc-api/model/SchoolingInfo.ts.html +0 -154
  1569. package/coverage/icure-typescript-sdk/icc-api/model/Section.ts.html +0 -154
  1570. package/coverage/icure-typescript-sdk/icc-api/model/Service.ts.html +0 -550
  1571. package/coverage/icure-typescript-sdk/icc-api/model/ServiceLink.ts.html +0 -151
  1572. package/coverage/icure-typescript-sdk/icc-api/model/SoftwareMedicalFileExport.ts.html +0 -154
  1573. package/coverage/icure-typescript-sdk/icc-api/model/StandardSubstance.ts.html +0 -184
  1574. package/coverage/icure-typescript-sdk/icc-api/model/StrengthRange.ts.html +0 -151
  1575. package/coverage/icure-typescript-sdk/icc-api/model/StructureElement.ts.html +0 -136
  1576. package/coverage/icure-typescript-sdk/icc-api/model/SubContact.ts.html +0 -352
  1577. package/coverage/icure-typescript-sdk/icc-api/model/Substance.ts.html +0 -178
  1578. package/coverage/icure-typescript-sdk/icc-api/model/SubstanceStub.ts.html +0 -163
  1579. package/coverage/icure-typescript-sdk/icc-api/model/Substanceproduct.ts.html +0 -157
  1580. package/coverage/icure-typescript-sdk/icc-api/model/Suggest.ts.html +0 -154
  1581. package/coverage/icure-typescript-sdk/icc-api/model/SumehrContent.ts.html +0 -163
  1582. package/coverage/icure-typescript-sdk/icc-api/model/SumehrExportInfo.ts.html +0 -175
  1583. package/coverage/icure-typescript-sdk/icc-api/model/SumehrValidity.ts.html +0 -166
  1584. package/coverage/icure-typescript-sdk/icc-api/model/SupplyProblem.ts.html +0 -160
  1585. package/coverage/icure-typescript-sdk/icc-api/model/Suspension.ts.html +0 -151
  1586. package/coverage/icure-typescript-sdk/icc-api/model/Tag.ts.html +0 -145
  1587. package/coverage/icure-typescript-sdk/icc-api/model/Tarification.ts.html +0 -724
  1588. package/coverage/icure-typescript-sdk/icc-api/model/Telecom.ts.html +0 -277
  1589. package/coverage/icure-typescript-sdk/icc-api/model/TimeSeries.ts.html +0 -169
  1590. package/coverage/icure-typescript-sdk/icc-api/model/TimeTable.ts.html +0 -337
  1591. package/coverage/icure-typescript-sdk/icc-api/model/TimeTableHour.ts.html +0 -145
  1592. package/coverage/icure-typescript-sdk/icc-api/model/TimeTableItem.ts.html +0 -169
  1593. package/coverage/icure-typescript-sdk/icc-api/model/TokenWithGroup.ts.html +0 -148
  1594. package/coverage/icure-typescript-sdk/icc-api/model/TypedValueObject.ts.html +0 -205
  1595. package/coverage/icure-typescript-sdk/icc-api/model/Unit.ts.html +0 -136
  1596. package/coverage/icure-typescript-sdk/icc-api/model/User.ts.html +0 -481
  1597. package/coverage/icure-typescript-sdk/icc-api/model/UserAndHealthcareParty.ts.html +0 -160
  1598. package/coverage/icure-typescript-sdk/icc-api/model/UserGroup.ts.html +0 -169
  1599. package/coverage/icure-typescript-sdk/icc-api/model/Valorisation.ts.html +0 -178
  1600. package/coverage/icure-typescript-sdk/icc-api/model/Verse.ts.html +0 -280
  1601. package/coverage/icure-typescript-sdk/icc-api/model/VirtualForm.ts.html +0 -151
  1602. package/coverage/icure-typescript-sdk/icc-api/model/VirtualIngredient.ts.html +0 -184
  1603. package/coverage/icure-typescript-sdk/icc-api/model/Vmp.ts.html +0 -205
  1604. package/coverage/icure-typescript-sdk/icc-api/model/VmpComponent.ts.html +0 -169
  1605. package/coverage/icure-typescript-sdk/icc-api/model/VmpGroup.ts.html +0 -187
  1606. package/coverage/icure-typescript-sdk/icc-api/model/VmpGroupStub.ts.html +0 -154
  1607. package/coverage/icure-typescript-sdk/icc-api/model/VmpStub.ts.html +0 -157
  1608. package/coverage/icure-typescript-sdk/icc-api/model/Vtm.ts.html +0 -154
  1609. package/coverage/icure-typescript-sdk/icc-api/model/Wada.ts.html +0 -151
  1610. package/coverage/icure-typescript-sdk/icc-api/model/WebSession.ts.html +0 -163
  1611. package/coverage/icure-typescript-sdk/icc-api/model/WebSessionMaxIdleTime.ts.html +0 -157
  1612. package/coverage/icure-typescript-sdk/icc-api/model/WebSessionMaxIdleTimeUnits.ts.html +0 -148
  1613. package/coverage/icure-typescript-sdk/icc-api/model/Weekday.ts.html +0 -148
  1614. package/coverage/icure-typescript-sdk/icc-api/model/index.html +0 -4181
  1615. package/coverage/icure-typescript-sdk/icc-api/model/models.ts.html +0 -928
  1616. package/coverage/icure-typescript-sdk/icc-x-api/crypto/AES.ts.html +0 -604
  1617. package/coverage/icure-typescript-sdk/icc-x-api/crypto/RSA.ts.html +0 -595
  1618. package/coverage/icure-typescript-sdk/icc-x-api/crypto/index.html +0 -161
  1619. package/coverage/icure-typescript-sdk/icc-x-api/crypto/shamir.ts.html +0 -1063
  1620. package/coverage/icure-typescript-sdk/icc-x-api/crypto/utils.ts.html +0 -85
  1621. package/coverage/icure-typescript-sdk/icc-x-api/filters/AllCodesFilter.ts.html +0 -151
  1622. package/coverage/icure-typescript-sdk/icc-x-api/filters/AllDevicesFilter.ts.html +0 -154
  1623. package/coverage/icure-typescript-sdk/icc-x-api/filters/AllHealthcarePartiesFilter.ts.html +0 -154
  1624. package/coverage/icure-typescript-sdk/icc-x-api/filters/AllUsersFilter.ts.html +0 -154
  1625. package/coverage/icure-typescript-sdk/icc-x-api/filters/CodeByIdsFilter.ts.html +0 -160
  1626. package/coverage/icure-typescript-sdk/icc-x-api/filters/CodeByRegionTypeLabelLanguageFilter.ts.html +0 -169
  1627. package/coverage/icure-typescript-sdk/icc-x-api/filters/CodeIdsByTypeCodeVersionIntervalFilter.ts.html +0 -175
  1628. package/coverage/icure-typescript-sdk/icc-x-api/filters/ComplementFilter.ts.html +0 -124
  1629. package/coverage/icure-typescript-sdk/icc-x-api/filters/ConstantFilter.ts.html +0 -112
  1630. package/coverage/icure-typescript-sdk/icc-x-api/filters/ContactByHcPartyFilter.ts.html +0 -160
  1631. package/coverage/icure-typescript-sdk/icc-x-api/filters/ContactByHcPartyPatientTagCodeDateFilter.ts.html +0 -181
  1632. package/coverage/icure-typescript-sdk/icc-x-api/filters/ContactByHcPartyTagCodeDateFilter.ts.html +0 -181
  1633. package/coverage/icure-typescript-sdk/icc-x-api/filters/ContactByServiceIdsFilter.ts.html +0 -157
  1634. package/coverage/icure-typescript-sdk/icc-x-api/filters/DeviceByHcPartyFilter.ts.html +0 -163
  1635. package/coverage/icure-typescript-sdk/icc-x-api/filters/DeviceByIdsFilter.ts.html +0 -163
  1636. package/coverage/icure-typescript-sdk/icc-x-api/filters/HealthElementByHcPartyFilter.ts.html +0 -157
  1637. package/coverage/icure-typescript-sdk/icc-x-api/filters/HealthElementByHcPartyIdentifiersFilter.ts.html +0 -163
  1638. package/coverage/icure-typescript-sdk/icc-x-api/filters/HealthElementByHcPartySecretForeignKeysFilter.ts.html +0 -166
  1639. package/coverage/icure-typescript-sdk/icc-x-api/filters/HealthElementByHcPartyTagCodeFilter.ts.html +0 -172
  1640. package/coverage/icure-typescript-sdk/icc-x-api/filters/HealthElementByIdsFilter.ts.html +0 -157
  1641. package/coverage/icure-typescript-sdk/icc-x-api/filters/HealthcarePartyByIdsFilter.ts.html +0 -157
  1642. package/coverage/icure-typescript-sdk/icc-x-api/filters/HealthcarePartyByTagCodeFilter.ts.html +0 -166
  1643. package/coverage/icure-typescript-sdk/icc-x-api/filters/IntersectionFilter.ts.html +0 -118
  1644. package/coverage/icure-typescript-sdk/icc-x-api/filters/InvoiceByHcPartyCodeDateFilter.ts.html +0 -166
  1645. package/coverage/icure-typescript-sdk/icc-x-api/filters/MaintenanceTaskAfterDateFilter.ts.html +0 -157
  1646. package/coverage/icure-typescript-sdk/icc-x-api/filters/MaintenanceTaskByHcPartyAndIdentifiersFilter.ts.html +0 -163
  1647. package/coverage/icure-typescript-sdk/icc-x-api/filters/MaintenanceTaskByHcPartyAndTypeFilter.ts.html +0 -160
  1648. package/coverage/icure-typescript-sdk/icc-x-api/filters/MaintenanceTaskByIdsFilter.ts.html +0 -157
  1649. package/coverage/icure-typescript-sdk/icc-x-api/filters/PatientByHcPartyAndActiveFilter.ts.html +0 -160
  1650. package/coverage/icure-typescript-sdk/icc-x-api/filters/PatientByHcPartyAndExternalIdFilter.ts.html +0 -160
  1651. package/coverage/icure-typescript-sdk/icc-x-api/filters/PatientByHcPartyAndIdentifiersFilter.ts.html +0 -163
  1652. package/coverage/icure-typescript-sdk/icc-x-api/filters/PatientByHcPartyAndSsinFilter.ts.html +0 -160
  1653. package/coverage/icure-typescript-sdk/icc-x-api/filters/PatientByHcPartyAndSsinsFilter.ts.html +0 -160
  1654. package/coverage/icure-typescript-sdk/icc-x-api/filters/PatientByHcPartyDateOfBirthBetweenFilter.ts.html +0 -163
  1655. package/coverage/icure-typescript-sdk/icc-x-api/filters/PatientByHcPartyDateOfBirthFilter.ts.html +0 -160
  1656. package/coverage/icure-typescript-sdk/icc-x-api/filters/PatientByHcPartyFilter.ts.html +0 -157
  1657. package/coverage/icure-typescript-sdk/icc-x-api/filters/PatientByHcPartyGenderEducationProfession.ts.html +0 -142
  1658. package/coverage/icure-typescript-sdk/icc-x-api/filters/PatientByHcPartyNameContainsFuzzyFilter.ts.html +0 -160
  1659. package/coverage/icure-typescript-sdk/icc-x-api/filters/PatientByHcPartyNameFilter.ts.html +0 -160
  1660. package/coverage/icure-typescript-sdk/icc-x-api/filters/PatientByIdsFilter.ts.html +0 -157
  1661. package/coverage/icure-typescript-sdk/icc-x-api/filters/ServiceByContactsAndSubcontactsFilter.ts.html +0 -169
  1662. package/coverage/icure-typescript-sdk/icc-x-api/filters/ServiceByHcPartyFilter.ts.html +0 -157
  1663. package/coverage/icure-typescript-sdk/icc-x-api/filters/ServiceByHcPartyHealthElementIdsFilter.ts.html +0 -160
  1664. package/coverage/icure-typescript-sdk/icc-x-api/filters/ServiceByHcPartyIdentifiersFilter.ts.html +0 -163
  1665. package/coverage/icure-typescript-sdk/icc-x-api/filters/ServiceByHcPartyTagCodeDateFilter.ts.html +0 -178
  1666. package/coverage/icure-typescript-sdk/icc-x-api/filters/ServiceByIdsFilter.ts.html +0 -157
  1667. package/coverage/icure-typescript-sdk/icc-x-api/filters/ServiceBySecretForeignKeys.ts.html +0 -160
  1668. package/coverage/icure-typescript-sdk/icc-x-api/filters/UnionFilter.ts.html +0 -115
  1669. package/coverage/icure-typescript-sdk/icc-x-api/filters/UserByIdsFilter.ts.html +0 -157
  1670. package/coverage/icure-typescript-sdk/icc-x-api/filters/UserByNameEmailPhoneFilter.ts.html +0 -157
  1671. package/coverage/icure-typescript-sdk/icc-x-api/filters/UsersByPatientIdFilter.ts.html +0 -160
  1672. package/coverage/icure-typescript-sdk/icc-x-api/filters/filters.ts.html +0 -1114
  1673. package/coverage/icure-typescript-sdk/icc-x-api/filters/index.html +0 -881
  1674. package/coverage/icure-typescript-sdk/icc-x-api/icc-accesslog-x-api.ts.html +0 -1084
  1675. package/coverage/icure-typescript-sdk/icc-x-api/icc-bekmehr-x-api.ts.html +0 -1033
  1676. package/coverage/icure-typescript-sdk/icc-x-api/icc-calendar-item-x-api.ts.html +0 -943
  1677. package/coverage/icure-typescript-sdk/icc-x-api/icc-classification-x-api.ts.html +0 -382
  1678. package/coverage/icure-typescript-sdk/icc-x-api/icc-code-x-api.ts.html +0 -478
  1679. package/coverage/icure-typescript-sdk/icc-x-api/icc-contact-x-api.ts.html +0 -2962
  1680. package/coverage/icure-typescript-sdk/icc-x-api/icc-crypto-x-api.ts.html +0 -6829
  1681. package/coverage/icure-typescript-sdk/icc-x-api/icc-data-owner-x-api.ts.html +0 -196
  1682. package/coverage/icure-typescript-sdk/icc-x-api/icc-doctemplate-x-api.ts.html +0 -385
  1683. package/coverage/icure-typescript-sdk/icc-x-api/icc-document-x-api.ts.html +0 -2374
  1684. package/coverage/icure-typescript-sdk/icc-x-api/icc-form-x-api.ts.html +0 -613
  1685. package/coverage/icure-typescript-sdk/icc-x-api/icc-hcparty-x-api.ts.html +0 -529
  1686. package/coverage/icure-typescript-sdk/icc-x-api/icc-helement-x-api.ts.html +0 -1306
  1687. package/coverage/icure-typescript-sdk/icc-x-api/icc-invoice-x-api.ts.html +0 -676
  1688. package/coverage/icure-typescript-sdk/icc-x-api/icc-maintenance-task-x-api.ts.html +0 -808
  1689. package/coverage/icure-typescript-sdk/icc-x-api/icc-message-x-api.ts.html +0 -334
  1690. package/coverage/icure-typescript-sdk/icc-x-api/icc-patient-x-api.ts.html +0 -3844
  1691. package/coverage/icure-typescript-sdk/icc-x-api/icc-receipt-x-api.ts.html +0 -394
  1692. package/coverage/icure-typescript-sdk/icc-x-api/icc-time-table-x-api.ts.html +0 -286
  1693. package/coverage/icure-typescript-sdk/icc-x-api/icc-user-x-api.ts.html +0 -139
  1694. package/coverage/icure-typescript-sdk/icc-x-api/index.html +0 -416
  1695. package/coverage/icure-typescript-sdk/icc-x-api/index.ts.html +0 -607
  1696. package/coverage/icure-typescript-sdk/icc-x-api/rsrc/codelng.ts.html +0 -109
  1697. package/coverage/icure-typescript-sdk/icc-x-api/rsrc/contact.i18n.ts.html +0 -415
  1698. package/coverage/icure-typescript-sdk/icc-x-api/rsrc/icd10.ts.html +0 -424
  1699. package/coverage/icure-typescript-sdk/icc-x-api/rsrc/icpc2.ts.html +0 -151
  1700. package/coverage/icure-typescript-sdk/icc-x-api/rsrc/index.html +0 -161
  1701. package/coverage/icure-typescript-sdk/icc-x-api/storage/KeyStorageImpl.ts.html +0 -235
  1702. package/coverage/icure-typescript-sdk/icc-x-api/storage/LocalStorageImpl.ts.html +0 -157
  1703. package/coverage/icure-typescript-sdk/icc-x-api/storage/index.html +0 -131
  1704. package/coverage/icure-typescript-sdk/icc-x-api/utils/asn1-packer.ts.html +0 -346
  1705. package/coverage/icure-typescript-sdk/icc-x-api/utils/asn1-parser.ts.html +0 -538
  1706. package/coverage/icure-typescript-sdk/icc-x-api/utils/binary-utils.ts.html +0 -574
  1707. package/coverage/icure-typescript-sdk/icc-x-api/utils/code-util.ts.html +0 -202
  1708. package/coverage/icure-typescript-sdk/icc-x-api/utils/crypto-utils.ts.html +0 -790
  1709. package/coverage/icure-typescript-sdk/icc-x-api/utils/formatting-util.ts.html +0 -745
  1710. package/coverage/icure-typescript-sdk/icc-x-api/utils/functional-util.ts.html +0 -133
  1711. package/coverage/icure-typescript-sdk/icc-x-api/utils/hcp-util.ts.html +0 -451
  1712. package/coverage/icure-typescript-sdk/icc-x-api/utils/index.html +0 -296
  1713. package/coverage/icure-typescript-sdk/icc-x-api/utils/index.ts.html +0 -106
  1714. package/coverage/icure-typescript-sdk/icc-x-api/utils/insurability-util.ts.html +0 -247
  1715. package/coverage/icure-typescript-sdk/icc-x-api/utils/net-utils.ts.html +0 -814
  1716. package/coverage/icure-typescript-sdk/icc-x-api/utils/person-util.ts.html +0 -172
  1717. package/coverage/icure-typescript-sdk/icc-x-api/utils/uuid-encoder.ts.html +0 -466
  1718. package/coverage/icure-typescript-sdk/index.html +0 -146
  1719. package/coverage/icure-typescript-sdk/index.ts.html +0 -109
  1720. package/coverage/icure-typescript-sdk/node-compat.ts.html +0 -118
  1721. package/coverage/icure-typescript-sdk/test/icc-x-api/icc-contact-x-api.ts.html +0 -718
  1722. package/coverage/icure-typescript-sdk/test/icc-x-api/icc-helement-x-api-test.ts.html +0 -577
  1723. package/coverage/icure-typescript-sdk/test/icc-x-api/icc-maintenance-task-x-api-test.ts.html +0 -979
  1724. package/coverage/icure-typescript-sdk/test/icc-x-api/icc-patient-x-api-test.ts.html +0 -316
  1725. package/coverage/icure-typescript-sdk/test/icc-x-api/index.html +0 -176
  1726. package/coverage/icure-typescript-sdk/test/icc-x-api/patient-user.ts.html +0 -547
  1727. package/coverage/icure-typescript-sdk/test/utils/index.html +0 -116
  1728. package/coverage/icure-typescript-sdk/test/utils/test_utils.ts.html +0 -124
  1729. package/coverage/index.html +0 -281
  1730. package/coverage/lcov-report/base.css +0 -224
  1731. package/coverage/lcov-report/block-navigation.js +0 -87
  1732. package/coverage/lcov-report/favicon.png +0 -0
  1733. package/coverage/lcov-report/icure-typescript-sdk/.eslintrc.js.html +0 -178
  1734. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccAccesslogApi.ts.html +0 -679
  1735. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccAgendaApi.ts.html +0 -514
  1736. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccAnonymousAccessApi.ts.html +0 -439
  1737. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccApplicationsettingsApi.ts.html +0 -328
  1738. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccArticleApi.ts.html +0 -421
  1739. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccAuthApi.ts.html +0 -469
  1740. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccBeefactApi.ts.html +0 -259
  1741. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccBekmehrApi.ts.html +0 -2788
  1742. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccBemikronoApi.ts.html +0 -634
  1743. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccBeresultexportApi.ts.html +0 -463
  1744. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccBeresultimportApi.ts.html +0 -451
  1745. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccBesamv2Api.ts.html +0 -2386
  1746. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccCalendarItemApi.ts.html +0 -850
  1747. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccCalendarItemTypeApi.ts.html +0 -463
  1748. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccClassificationApi.ts.html +0 -601
  1749. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccClassificationTemplateApi.ts.html +0 -625
  1750. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccCodeApi.ts.html +0 -1330
  1751. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccContactApi.ts.html +0 -1915
  1752. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccDeviceApi.ts.html +0 -1135
  1753. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccDoctemplateApi.ts.html +0 -835
  1754. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccDocumentApi.ts.html +0 -1162
  1755. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccDocumentTemplateApi.ts.html +0 -844
  1756. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccEntityrefApi.ts.html +0 -280
  1757. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccEntitytemplateApi.ts.html +0 -808
  1758. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccFormApi.ts.html +0 -1483
  1759. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccFrontendmigrationApi.ts.html +0 -466
  1760. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccGroupApi.ts.html +0 -1192
  1761. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccHcpartyApi.ts.html +0 -1522
  1762. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccHelementApi.ts.html +0 -913
  1763. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccIcureApi.ts.html +0 -970
  1764. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccInsuranceApi.ts.html +0 -523
  1765. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccInvoiceApi.ts.html +0 -2086
  1766. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccKeywordApi.ts.html +0 -466
  1767. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccMaintenanceTaskApi.ts.html +0 -460
  1768. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccMedexApi.ts.html +0 -235
  1769. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccMedicallocationApi.ts.html +0 -421
  1770. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccMessageApi.ts.html +0 -1444
  1771. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccPatientApi.ts.html +0 -2530
  1772. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccPermissionApi.ts.html +0 -238
  1773. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccPlaceApi.ts.html +0 -421
  1774. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccPubsubApi.ts.html +0 -379
  1775. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccReceiptApi.ts.html +0 -565
  1776. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccReplicationApi.ts.html +0 -379
  1777. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccTarificationApi.ts.html +0 -769
  1778. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccTimeTableApi.ts.html +0 -499
  1779. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccTmpApi.ts.html +0 -3955
  1780. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/IccUserApi.ts.html +0 -1636
  1781. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/XHR.ts.html +0 -565
  1782. package/coverage/lcov-report/icure-typescript-sdk/icc-api/api/index.html +0 -821
  1783. package/coverage/lcov-report/icure-typescript-sdk/icc-api/iccApi.ts.html +0 -220
  1784. package/coverage/lcov-report/icure-typescript-sdk/icc-api/index.html +0 -131
  1785. package/coverage/lcov-report/icure-typescript-sdk/icc-api/index.ts.html +0 -220
  1786. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/AbstractFilterCode.ts.html +0 -142
  1787. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/AbstractFilterContact.ts.html +0 -142
  1788. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/AbstractFilterDevice.ts.html +0 -142
  1789. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/AbstractFilterHealthElement.ts.html +0 -142
  1790. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/AbstractFilterHealthcareParty.ts.html +0 -142
  1791. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/AbstractFilterInvoice.ts.html +0 -142
  1792. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/AbstractFilterMaintenanceTask.ts.html +0 -142
  1793. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/AbstractFilterPatient.ts.html +0 -142
  1794. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/AbstractFilterService.ts.html +0 -142
  1795. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/AbstractFilterUser.ts.html +0 -142
  1796. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/AccessLog.ts.html +0 -409
  1797. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/AddedDocument.ts.html +0 -166
  1798. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Address.ts.html +0 -382
  1799. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/AdministrationQuantity.ts.html +0 -151
  1800. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Agenda.ts.html +0 -268
  1801. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/AgreementAppendix.ts.html +0 -151
  1802. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Amp.ts.html +0 -256
  1803. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/AmpComponent.ts.html +0 -238
  1804. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Ampp.ts.html +0 -310
  1805. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/AmppComponent.ts.html +0 -193
  1806. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Annotation.ts.html +0 -211
  1807. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/ApplicationSettings.ts.html +0 -259
  1808. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Appointment.ts.html +0 -178
  1809. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/AppointmentImport.ts.html +0 -202
  1810. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/AppointmentTypeAndPlace.ts.html +0 -166
  1811. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Article.ts.html +0 -331
  1812. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Atc.ts.html +0 -145
  1813. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Attachment.ts.html +0 -154
  1814. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/AuthenticationResponse.ts.html +0 -160
  1815. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/AuthenticationToken.ts.html +0 -184
  1816. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Basic.ts.html +0 -145
  1817. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Body.ts.html +0 -145
  1818. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Body1.ts.html +0 -145
  1819. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Body2.ts.html +0 -145
  1820. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Body3.ts.html +0 -145
  1821. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/ByteArray.ts.html +0 -145
  1822. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/CalendarItem.ts.html +0 -394
  1823. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/CalendarItemTag.ts.html +0 -151
  1824. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/CalendarItemType.ts.html +0 -181
  1825. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/CareTeamMember.ts.html +0 -199
  1826. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/CareTeamMembership.ts.html +0 -202
  1827. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/CheckSMFPatientResult.ts.html +0 -157
  1828. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Classification.ts.html +0 -328
  1829. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/ClassificationTemplate.ts.html +0 -325
  1830. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Code.ts.html +0 -691
  1831. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/CodeStub.ts.html +0 -157
  1832. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/CodeType.ts.html +0 -142
  1833. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/CommentedClassification.ts.html +0 -148
  1834. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Commercialization.ts.html +0 -160
  1835. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Company.ts.html +0 -190
  1836. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Contact.ts.html +0 -472
  1837. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Content.ts.html +0 -220
  1838. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Copayment.ts.html +0 -151
  1839. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Data.ts.html +0 -136
  1840. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/DataOwnerRegistrationSuccess.ts.html +0 -148
  1841. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/DatabaseInfo.ts.html +0 -169
  1842. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/DatabaseInitialisation.ts.html +0 -166
  1843. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/DatabaseSynchronization.ts.html +0 -175
  1844. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Delegation.ts.html +0 -160
  1845. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Device.ts.html +0 -364
  1846. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/DeviceType.ts.html +0 -154
  1847. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/DiaryNoteExportInfo.ts.html +0 -175
  1848. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Dmpp.ts.html +0 -220
  1849. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/DocIdentifier.ts.html +0 -145
  1850. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Document.ts.html +0 -877
  1851. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/DocumentGroup.ts.html +0 -145
  1852. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/DocumentTemplate.ts.html +0 -571
  1853. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Duration.ts.html +0 -148
  1854. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/EIDItem.ts.html +0 -154
  1855. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Editor.ts.html +0 -196
  1856. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/EfactInvoice.ts.html +0 -214
  1857. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/EmailOrSmsMessage.ts.html +0 -202
  1858. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/EmailTemplate.ts.html +0 -145
  1859. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Employer.ts.html +0 -148
  1860. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/EmploymentInfo.ts.html +0 -157
  1861. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/EntityReference.ts.html +0 -160
  1862. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/EntityTemplate.ts.html +0 -178
  1863. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Episode.ts.html +0 -175
  1864. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/FilterChainCode.ts.html +0 -154
  1865. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/FilterChainContact.ts.html +0 -154
  1866. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/FilterChainDevice.ts.html +0 -154
  1867. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/FilterChainHealthElement.ts.html +0 -154
  1868. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/FilterChainHealthcareParty.ts.html +0 -154
  1869. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/FilterChainInvoice.ts.html +0 -154
  1870. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/FilterChainMaintenanceTask.ts.html +0 -154
  1871. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/FilterChainPatient.ts.html +0 -154
  1872. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/FilterChainService.ts.html +0 -154
  1873. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/FilterChainUser.ts.html +0 -154
  1874. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/FinancialInstitutionInformation.ts.html +0 -181
  1875. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/FlatRateTarification.ts.html +0 -193
  1876. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/FlowItem.ts.html +0 -238
  1877. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Form.ts.html +0 -433
  1878. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/FormColumn.ts.html +0 -151
  1879. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/FormDataOption.ts.html +0 -145
  1880. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/FormLayout.ts.html +0 -172
  1881. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/FormLayoutData.ts.html +0 -217
  1882. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/FormPlanning.ts.html +0 -163
  1883. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/FormSection.ts.html +0 -154
  1884. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/FormTemplate.ts.html +0 -223
  1885. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/FormTemplateLayout.ts.html +0 -154
  1886. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Formula.ts.html +0 -178
  1887. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/FrontEndMigration.ts.html +0 -226
  1888. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Group.ts.html +0 -265
  1889. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/GroupDatabasesInfo.ts.html +0 -148
  1890. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/GuiCode.ts.html +0 -145
  1891. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/GuiCodeType.ts.html +0 -142
  1892. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/HealthElement.ts.html +0 -562
  1893. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/HealthcareParty.ts.html +0 -757
  1894. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/HealthcarePartyHistoryStatus.ts.html +0 -184
  1895. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/IcureStub.ts.html +0 -307
  1896. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/IdWithRev.ts.html +0 -145
  1897. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Identifier.ts.html +0 -166
  1898. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/IdentityDocumentReader.ts.html +0 -157
  1899. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/ImportMapping.ts.html +0 -157
  1900. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/ImportResult.ts.html +0 -187
  1901. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/IncapacityExportInfo.ts.html +0 -241
  1902. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/IndexedIdentifier.ts.html +0 -148
  1903. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/IndexingInfo.ts.html +0 -142
  1904. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Ingredient.ts.html +0 -193
  1905. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Insurability.ts.html +0 -268
  1906. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Insurance.ts.html +0 -184
  1907. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Invoice.ts.html +0 -700
  1908. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/InvoiceItem.ts.html +0 -376
  1909. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/InvoiceSender.ts.html +0 -169
  1910. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/InvoicesBatch.ts.html +0 -172
  1911. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/InvoicingCode.ts.html +0 -343
  1912. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Keyword.ts.html +0 -268
  1913. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/KeywordSubword.ts.html +0 -145
  1914. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/LabelledOccurence.ts.html +0 -145
  1915. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/LetterValue.ts.html +0 -151
  1916. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/ListOfIds.ts.html +0 -151
  1917. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/ListOfProperties.ts.html +0 -154
  1918. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/LoginCredentials.ts.html +0 -145
  1919. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/MaintenanceTask.ts.html +0 -364
  1920. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/MapOfIds.ts.html +0 -142
  1921. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Measure.ts.html +0 -178
  1922. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/MedexInfo.ts.html +0 -184
  1923. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/MedicalHouseContract.ts.html +0 -328
  1924. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/MedicalLocation.ts.html +0 -196
  1925. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Medication.ts.html +0 -295
  1926. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/MedicationSchemeExportInfo.ts.html +0 -160
  1927. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Medicinalproduct.ts.html +0 -157
  1928. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Message.ts.html +0 -520
  1929. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/MessageReadStatus.ts.html +0 -154
  1930. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/MessageWithBatch.ts.html +0 -151
  1931. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/MessagesReadStatusUpdate.ts.html +0 -151
  1932. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/MikronoAppointmentTypeRest.ts.html +0 -160
  1933. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/MikronoCredentials.ts.html +0 -148
  1934. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/MimeAttachment.ts.html +0 -151
  1935. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/ModelHelper.ts.html +0 -277
  1936. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Nmp.ts.html +0 -187
  1937. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/NoGenericPrescriptionReason.ts.html +0 -148
  1938. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/NoSwitchReason.ts.html +0 -148
  1939. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/NumeratorRange.ts.html +0 -148
  1940. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/PackagingType.ts.html +0 -154
  1941. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/PaginatedDocumentKeyIdPairObject.ts.html +0 -145
  1942. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/PaginatedListAccessLog.ts.html +0 -157
  1943. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/PaginatedListAmp.ts.html +0 -157
  1944. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/PaginatedListClassification.ts.html +0 -157
  1945. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/PaginatedListClassificationTemplate.ts.html +0 -157
  1946. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/PaginatedListCode.ts.html +0 -157
  1947. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/PaginatedListContact.ts.html +0 -157
  1948. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/PaginatedListDevice.ts.html +0 -157
  1949. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/PaginatedListDocument.ts.html +0 -157
  1950. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/PaginatedListEntityTemplate.ts.html +0 -157
  1951. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/PaginatedListForm.ts.html +0 -157
  1952. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/PaginatedListGroup.ts.html +0 -157
  1953. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/PaginatedListHealthElement.ts.html +0 -157
  1954. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/PaginatedListHealthcareParty.ts.html +0 -157
  1955. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/PaginatedListInvoice.ts.html +0 -157
  1956. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/PaginatedListMaintenanceTask.ts.html +0 -157
  1957. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/PaginatedListMessage.ts.html +0 -157
  1958. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/PaginatedListNmp.ts.html +0 -157
  1959. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/PaginatedListPatient.ts.html +0 -157
  1960. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/PaginatedListService.ts.html +0 -157
  1961. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/PaginatedListString.ts.html +0 -154
  1962. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/PaginatedListTarification.ts.html +0 -157
  1963. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/PaginatedListUser.ts.html +0 -157
  1964. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/PaginatedListVmp.ts.html +0 -157
  1965. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/PaginatedListVmpGroup.ts.html +0 -157
  1966. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Paragraph.ts.html +0 -208
  1967. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/ParagraphAgreement.ts.html +0 -208
  1968. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Partnership.ts.html +0 -439
  1969. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Patient.ts.html +0 -1183
  1970. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/PatientByHcPartyGenderEducationProfession.ts.html +0 -190
  1971. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/PatientHealthCareParty.ts.html +0 -277
  1972. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/PatientRegistrationSuccess.ts.html +0 -148
  1973. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Payment.ts.html +0 -187
  1974. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Periodicity.ts.html +0 -148
  1975. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Permission.ts.html +0 -175
  1976. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/PermissionCriterion.ts.html +0 -223
  1977. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/PermissionItem.ts.html +0 -241
  1978. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/PersonName.ts.html +0 -283
  1979. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/PharmaceuticalForm.ts.html +0 -172
  1980. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/PharmaceuticalFormStub.ts.html +0 -157
  1981. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Place.ts.html +0 -166
  1982. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/PlanOfAction.ts.html +0 -427
  1983. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Predicate.ts.html +0 -136
  1984. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Pricing.ts.html +0 -148
  1985. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/PropertyStub.ts.html +0 -178
  1986. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/PropertyTypeStub.ts.html +0 -181
  1987. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/PublicKey.ts.html +0 -145
  1988. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Quantity.ts.html +0 -145
  1989. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Receipt.ts.html +0 -334
  1990. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/ReferralPeriod.ts.html +0 -184
  1991. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/RegimenItem.ts.html +0 -166
  1992. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/RegistrationInformation.ts.html +0 -151
  1993. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/RegistrationSuccess.ts.html +0 -148
  1994. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Reimbursement.ts.html +0 -256
  1995. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/ReimbursementCriterion.ts.html +0 -151
  1996. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Remote.ts.html +0 -148
  1997. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/RemoteAuthentication.ts.html +0 -145
  1998. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Renewal.ts.html +0 -148
  1999. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/ReplicateCommand.ts.html +0 -160
  2000. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Replication.ts.html +0 -169
  2001. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/ReplicationInfo.ts.html +0 -151
  2002. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/ReplicationStats.ts.html +0 -166
  2003. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/ReplicatorDocument.ts.html +0 -187
  2004. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/ReplicatorResponse.ts.html +0 -154
  2005. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/ResultInfo.ts.html +0 -184
  2006. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/RevisionInfo.ts.html +0 -145
  2007. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Right.ts.html +0 -151
  2008. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/RouteOfAdministration.ts.html +0 -151
  2009. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/SamText.ts.html +0 -151
  2010. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/SamVersion.ts.html +0 -163
  2011. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/SchoolingInfo.ts.html +0 -154
  2012. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Section.ts.html +0 -154
  2013. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Service.ts.html +0 -550
  2014. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/ServiceLink.ts.html +0 -151
  2015. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/SoftwareMedicalFileExport.ts.html +0 -154
  2016. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/StandardSubstance.ts.html +0 -184
  2017. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/StrengthRange.ts.html +0 -151
  2018. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/StructureElement.ts.html +0 -136
  2019. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/SubContact.ts.html +0 -352
  2020. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Substance.ts.html +0 -178
  2021. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/SubstanceStub.ts.html +0 -163
  2022. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Substanceproduct.ts.html +0 -157
  2023. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Suggest.ts.html +0 -154
  2024. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/SumehrContent.ts.html +0 -163
  2025. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/SumehrExportInfo.ts.html +0 -175
  2026. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/SumehrValidity.ts.html +0 -166
  2027. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/SupplyProblem.ts.html +0 -160
  2028. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Suspension.ts.html +0 -151
  2029. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Tag.ts.html +0 -145
  2030. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Tarification.ts.html +0 -724
  2031. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Telecom.ts.html +0 -277
  2032. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/TimeSeries.ts.html +0 -169
  2033. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/TimeTable.ts.html +0 -337
  2034. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/TimeTableHour.ts.html +0 -145
  2035. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/TimeTableItem.ts.html +0 -169
  2036. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/TokenWithGroup.ts.html +0 -148
  2037. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/TypedValueObject.ts.html +0 -205
  2038. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Unit.ts.html +0 -136
  2039. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/User.ts.html +0 -481
  2040. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/UserAndHealthcareParty.ts.html +0 -160
  2041. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/UserGroup.ts.html +0 -169
  2042. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Valorisation.ts.html +0 -178
  2043. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Verse.ts.html +0 -280
  2044. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/VirtualForm.ts.html +0 -151
  2045. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/VirtualIngredient.ts.html +0 -184
  2046. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Vmp.ts.html +0 -205
  2047. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/VmpComponent.ts.html +0 -169
  2048. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/VmpGroup.ts.html +0 -187
  2049. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/VmpGroupStub.ts.html +0 -154
  2050. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/VmpStub.ts.html +0 -157
  2051. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Vtm.ts.html +0 -154
  2052. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Wada.ts.html +0 -151
  2053. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/WebSession.ts.html +0 -163
  2054. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/WebSessionMaxIdleTime.ts.html +0 -157
  2055. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/WebSessionMaxIdleTimeUnits.ts.html +0 -148
  2056. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/Weekday.ts.html +0 -148
  2057. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/index.html +0 -4181
  2058. package/coverage/lcov-report/icure-typescript-sdk/icc-api/model/models.ts.html +0 -928
  2059. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/crypto/AES.ts.html +0 -604
  2060. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/crypto/RSA.ts.html +0 -595
  2061. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/crypto/index.html +0 -161
  2062. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/crypto/shamir.ts.html +0 -1063
  2063. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/crypto/utils.ts.html +0 -85
  2064. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/AllCodesFilter.ts.html +0 -151
  2065. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/AllDevicesFilter.ts.html +0 -154
  2066. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/AllHealthcarePartiesFilter.ts.html +0 -154
  2067. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/AllUsersFilter.ts.html +0 -154
  2068. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/CodeByIdsFilter.ts.html +0 -160
  2069. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/CodeByRegionTypeLabelLanguageFilter.ts.html +0 -169
  2070. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/CodeIdsByTypeCodeVersionIntervalFilter.ts.html +0 -175
  2071. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/ComplementFilter.ts.html +0 -124
  2072. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/ConstantFilter.ts.html +0 -112
  2073. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/ContactByHcPartyFilter.ts.html +0 -160
  2074. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/ContactByHcPartyPatientTagCodeDateFilter.ts.html +0 -181
  2075. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/ContactByHcPartyTagCodeDateFilter.ts.html +0 -181
  2076. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/ContactByServiceIdsFilter.ts.html +0 -157
  2077. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/DeviceByHcPartyFilter.ts.html +0 -163
  2078. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/DeviceByIdsFilter.ts.html +0 -163
  2079. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/HealthElementByHcPartyFilter.ts.html +0 -157
  2080. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/HealthElementByHcPartyIdentifiersFilter.ts.html +0 -163
  2081. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/HealthElementByHcPartySecretForeignKeysFilter.ts.html +0 -166
  2082. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/HealthElementByHcPartyTagCodeFilter.ts.html +0 -172
  2083. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/HealthElementByIdsFilter.ts.html +0 -157
  2084. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/HealthcarePartyByIdsFilter.ts.html +0 -157
  2085. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/HealthcarePartyByTagCodeFilter.ts.html +0 -166
  2086. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/IntersectionFilter.ts.html +0 -118
  2087. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/InvoiceByHcPartyCodeDateFilter.ts.html +0 -166
  2088. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/MaintenanceTaskAfterDateFilter.ts.html +0 -157
  2089. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/MaintenanceTaskByHcPartyAndIdentifiersFilter.ts.html +0 -163
  2090. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/MaintenanceTaskByHcPartyAndTypeFilter.ts.html +0 -160
  2091. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/MaintenanceTaskByIdsFilter.ts.html +0 -157
  2092. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/PatientByHcPartyAndActiveFilter.ts.html +0 -160
  2093. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/PatientByHcPartyAndExternalIdFilter.ts.html +0 -160
  2094. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/PatientByHcPartyAndIdentifiersFilter.ts.html +0 -163
  2095. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/PatientByHcPartyAndSsinFilter.ts.html +0 -160
  2096. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/PatientByHcPartyAndSsinsFilter.ts.html +0 -160
  2097. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/PatientByHcPartyDateOfBirthBetweenFilter.ts.html +0 -163
  2098. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/PatientByHcPartyDateOfBirthFilter.ts.html +0 -160
  2099. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/PatientByHcPartyFilter.ts.html +0 -157
  2100. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/PatientByHcPartyGenderEducationProfession.ts.html +0 -142
  2101. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/PatientByHcPartyNameContainsFuzzyFilter.ts.html +0 -160
  2102. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/PatientByHcPartyNameFilter.ts.html +0 -160
  2103. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/PatientByIdsFilter.ts.html +0 -157
  2104. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/ServiceByContactsAndSubcontactsFilter.ts.html +0 -169
  2105. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/ServiceByHcPartyFilter.ts.html +0 -157
  2106. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/ServiceByHcPartyHealthElementIdsFilter.ts.html +0 -160
  2107. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/ServiceByHcPartyIdentifiersFilter.ts.html +0 -163
  2108. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/ServiceByHcPartyTagCodeDateFilter.ts.html +0 -178
  2109. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/ServiceByIdsFilter.ts.html +0 -157
  2110. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/ServiceBySecretForeignKeys.ts.html +0 -160
  2111. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/UnionFilter.ts.html +0 -115
  2112. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/UserByIdsFilter.ts.html +0 -157
  2113. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/UserByNameEmailPhoneFilter.ts.html +0 -157
  2114. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/UsersByPatientIdFilter.ts.html +0 -160
  2115. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/filters.ts.html +0 -1114
  2116. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/filters/index.html +0 -881
  2117. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/icc-accesslog-x-api.ts.html +0 -1084
  2118. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/icc-bekmehr-x-api.ts.html +0 -1033
  2119. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/icc-calendar-item-x-api.ts.html +0 -943
  2120. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/icc-classification-x-api.ts.html +0 -382
  2121. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/icc-code-x-api.ts.html +0 -478
  2122. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/icc-contact-x-api.ts.html +0 -2962
  2123. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/icc-crypto-x-api.ts.html +0 -6829
  2124. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/icc-data-owner-x-api.ts.html +0 -196
  2125. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/icc-doctemplate-x-api.ts.html +0 -385
  2126. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/icc-document-x-api.ts.html +0 -2374
  2127. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/icc-form-x-api.ts.html +0 -613
  2128. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/icc-hcparty-x-api.ts.html +0 -529
  2129. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/icc-helement-x-api.ts.html +0 -1306
  2130. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/icc-invoice-x-api.ts.html +0 -676
  2131. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/icc-maintenance-task-x-api.ts.html +0 -808
  2132. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/icc-message-x-api.ts.html +0 -334
  2133. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/icc-patient-x-api.ts.html +0 -3844
  2134. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/icc-receipt-x-api.ts.html +0 -394
  2135. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/icc-time-table-x-api.ts.html +0 -286
  2136. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/icc-user-x-api.ts.html +0 -139
  2137. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/index.html +0 -416
  2138. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/index.ts.html +0 -607
  2139. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/rsrc/codelng.ts.html +0 -109
  2140. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/rsrc/contact.i18n.ts.html +0 -415
  2141. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/rsrc/icd10.ts.html +0 -424
  2142. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/rsrc/icpc2.ts.html +0 -151
  2143. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/rsrc/index.html +0 -161
  2144. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/storage/KeyStorageImpl.ts.html +0 -235
  2145. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/storage/LocalStorageImpl.ts.html +0 -157
  2146. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/storage/index.html +0 -131
  2147. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/utils/asn1-packer.ts.html +0 -346
  2148. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/utils/asn1-parser.ts.html +0 -538
  2149. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/utils/binary-utils.ts.html +0 -574
  2150. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/utils/code-util.ts.html +0 -202
  2151. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/utils/crypto-utils.ts.html +0 -790
  2152. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/utils/formatting-util.ts.html +0 -745
  2153. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/utils/functional-util.ts.html +0 -133
  2154. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/utils/hcp-util.ts.html +0 -451
  2155. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/utils/index.html +0 -296
  2156. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/utils/index.ts.html +0 -106
  2157. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/utils/insurability-util.ts.html +0 -247
  2158. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/utils/net-utils.ts.html +0 -814
  2159. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/utils/person-util.ts.html +0 -172
  2160. package/coverage/lcov-report/icure-typescript-sdk/icc-x-api/utils/uuid-encoder.ts.html +0 -466
  2161. package/coverage/lcov-report/icure-typescript-sdk/index.html +0 -146
  2162. package/coverage/lcov-report/icure-typescript-sdk/index.ts.html +0 -109
  2163. package/coverage/lcov-report/icure-typescript-sdk/node-compat.ts.html +0 -118
  2164. package/coverage/lcov-report/icure-typescript-sdk/test/icc-x-api/icc-contact-x-api.ts.html +0 -718
  2165. package/coverage/lcov-report/icure-typescript-sdk/test/icc-x-api/icc-helement-x-api-test.ts.html +0 -577
  2166. package/coverage/lcov-report/icure-typescript-sdk/test/icc-x-api/icc-maintenance-task-x-api-test.ts.html +0 -979
  2167. package/coverage/lcov-report/icure-typescript-sdk/test/icc-x-api/icc-patient-x-api-test.ts.html +0 -316
  2168. package/coverage/lcov-report/icure-typescript-sdk/test/icc-x-api/index.html +0 -176
  2169. package/coverage/lcov-report/icure-typescript-sdk/test/icc-x-api/patient-user.ts.html +0 -547
  2170. package/coverage/lcov-report/icure-typescript-sdk/test/utils/index.html +0 -116
  2171. package/coverage/lcov-report/icure-typescript-sdk/test/utils/test_utils.ts.html +0 -124
  2172. package/coverage/lcov-report/index.html +0 -281
  2173. package/coverage/lcov-report/prettify.css +0 -1
  2174. package/coverage/lcov-report/prettify.js +0 -2
  2175. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  2176. package/coverage/lcov-report/sorter.js +0 -196
  2177. package/coverage/lcov.info +0 -26345
  2178. package/coverage/prettify.css +0 -1
  2179. package/coverage/prettify.js +0 -2
  2180. package/coverage/sort-arrow-sprite.png +0 -0
  2181. package/coverage/sorter.js +0 -196
  2182. package/dist/icc-x-api/icc-crypto-x-api.js.map +0 -1
  2183. package/dist/icc-x-api/storage/KeyStorageFacade.js.map +0 -1
  2184. package/dist/icc-x-api/storage/KeyStorageImpl.js +0 -34
  2185. package/dist/icc-x-api/storage/KeyStorageImpl.js.map +0 -1
  2186. package/dist/icc-x-api/storage/LocalStorageImpl.d.ts +0 -10
  2187. package/dist/icc-x-api/storage/LocalStorageImpl.js +0 -25
  2188. package/dist/icc-x-api/storage/LocalStorageImpl.js.map +0 -1
  2189. package/dist/icc-x-api/storage/StorageFacade.js.map +0 -1
  2190. package/dist/package.json +0 -22
  2191. package/fake-secrets.txt +0 -3
  2192. package/icc-api/.swagger-codegen/VERSION +0 -1
  2193. package/icc-api/.swagger-codegen-ignore +0 -23
  2194. package/icc-api/LICENSE +0 -201
  2195. package/icc-api/api/IccAccesslogApi.ts +0 -198
  2196. package/icc-api/api/IccAgendaApi.ts +0 -143
  2197. package/icc-api/api/IccAnonymousAccessApi.ts +0 -118
  2198. package/icc-api/api/IccApplicationsettingsApi.ts +0 -81
  2199. package/icc-api/api/IccArticleApi.ts +0 -112
  2200. package/icc-api/api/IccAuthApi.ts +0 -128
  2201. package/icc-api/api/IccBeefactApi.ts +0 -58
  2202. package/icc-api/api/IccBekmehrApi.ts +0 -901
  2203. package/icc-api/api/IccBemikronoApi.ts +0 -183
  2204. package/icc-api/api/IccBeresultexportApi.ts +0 -126
  2205. package/icc-api/api/IccBeresultimportApi.ts +0 -122
  2206. package/icc-api/api/IccBesamv2Api.ts +0 -767
  2207. package/icc-api/api/IccCalendarItemApi.ts +0 -255
  2208. package/icc-api/api/IccCalendarItemTypeApi.ts +0 -126
  2209. package/icc-api/api/IccClassificationApi.ts +0 -172
  2210. package/icc-api/api/IccClassificationTemplateApi.ts +0 -180
  2211. package/icc-api/api/IccCodeApi.ts +0 -415
  2212. package/icc-api/api/IccContactApi.ts +0 -610
  2213. package/icc-api/api/IccDeviceApi.ts +0 -350
  2214. package/icc-api/api/IccDoctemplateApi.ts +0 -250
  2215. package/icc-api/api/IccDocumentApi.ts +0 -359
  2216. package/icc-api/api/IccDocumentTemplateApi.ts +0 -253
  2217. package/icc-api/api/IccEntityrefApi.ts +0 -65
  2218. package/icc-api/api/IccEntitytemplateApi.ts +0 -241
  2219. package/icc-api/api/IccFormApi.ts +0 -466
  2220. package/icc-api/api/IccFrontendmigrationApi.ts +0 -127
  2221. package/icc-api/api/IccGroupApi.ts +0 -369
  2222. package/icc-api/api/IccHcpartyApi.ts +0 -479
  2223. package/icc-api/api/IccHelementApi.ts +0 -276
  2224. package/icc-api/api/IccIcureApi.ts +0 -295
  2225. package/icc-api/api/IccInsuranceApi.ts +0 -146
  2226. package/icc-api/api/IccInvoiceApi.ts +0 -667
  2227. package/icc-api/api/IccKeywordApi.ts +0 -127
  2228. package/icc-api/api/IccMaintenanceTaskApi.ts +0 -125
  2229. package/icc-api/api/IccMedexApi.ts +0 -50
  2230. package/icc-api/api/IccMedicallocationApi.ts +0 -112
  2231. package/icc-api/api/IccMessageApi.ts +0 -453
  2232. package/icc-api/api/IccPatientApi.ts +0 -815
  2233. package/icc-api/api/IccPermissionApi.ts +0 -51
  2234. package/icc-api/api/IccPlaceApi.ts +0 -112
  2235. package/icc-api/api/IccPubsubApi.ts +0 -98
  2236. package/icc-api/api/IccReceiptApi.ts +0 -160
  2237. package/icc-api/api/IccReplicationApi.ts +0 -98
  2238. package/icc-api/api/IccTarificationApi.ts +0 -228
  2239. package/icc-api/api/IccTimeTableApi.ts +0 -138
  2240. package/icc-api/api/IccTmpApi.ts +0 -1290
  2241. package/icc-api/api/IccUserApi.ts +0 -517
  2242. package/icc-api/api/XHR.ts +0 -160
  2243. package/icc-api/iccApi.ts +0 -45
  2244. package/icc-api/index.ts +0 -45
  2245. package/icc-api/model/AbstractFilterCode.ts +0 -19
  2246. package/icc-api/model/AbstractFilterContact.ts +0 -19
  2247. package/icc-api/model/AbstractFilterDevice.ts +0 -19
  2248. package/icc-api/model/AbstractFilterHealthElement.ts +0 -19
  2249. package/icc-api/model/AbstractFilterHealthcareParty.ts +0 -19
  2250. package/icc-api/model/AbstractFilterInvoice.ts +0 -19
  2251. package/icc-api/model/AbstractFilterMaintenanceTask.ts +0 -19
  2252. package/icc-api/model/AbstractFilterPatient.ts +0 -19
  2253. package/icc-api/model/AbstractFilterService.ts +0 -19
  2254. package/icc-api/model/AbstractFilterUser.ts +0 -19
  2255. package/icc-api/model/AccessLog.ts +0 -108
  2256. package/icc-api/model/AddedDocument.ts +0 -27
  2257. package/icc-api/model/Address.ts +0 -99
  2258. package/icc-api/model/AdministrationQuantity.ts +0 -22
  2259. package/icc-api/model/Agenda.ts +0 -61
  2260. package/icc-api/model/AgreementAppendix.ts +0 -22
  2261. package/icc-api/model/Amp.ts +0 -57
  2262. package/icc-api/model/AmpComponent.ts +0 -51
  2263. package/icc-api/model/Ampp.ts +0 -75
  2264. package/icc-api/model/AmppComponent.ts +0 -36
  2265. package/icc-api/model/Annotation.ts +0 -42
  2266. package/icc-api/model/ApplicationSettings.ts +0 -58
  2267. package/icc-api/model/Appointment.ts +0 -31
  2268. package/icc-api/model/AppointmentImport.ts +0 -39
  2269. package/icc-api/model/AppointmentTypeAndPlace.ts +0 -27
  2270. package/icc-api/model/Article.ts +0 -82
  2271. package/icc-api/model/Atc.ts +0 -20
  2272. package/icc-api/model/Attachment.ts +0 -23
  2273. package/icc-api/model/AuthenticationResponse.ts +0 -25
  2274. package/icc-api/model/AuthenticationToken.ts +0 -33
  2275. package/icc-api/model/Basic.ts +0 -20
  2276. package/icc-api/model/Body.ts +0 -20
  2277. package/icc-api/model/Body1.ts +0 -20
  2278. package/icc-api/model/Body2.ts +0 -20
  2279. package/icc-api/model/Body3.ts +0 -20
  2280. package/icc-api/model/ByteArray.ts +0 -20
  2281. package/icc-api/model/CalendarItem.ts +0 -103
  2282. package/icc-api/model/CalendarItemTag.ts +0 -22
  2283. package/icc-api/model/CalendarItemType.ts +0 -32
  2284. package/icc-api/model/CareTeamMember.ts +0 -38
  2285. package/icc-api/model/CareTeamMembership.ts +0 -39
  2286. package/icc-api/model/CheckSMFPatientResult.ts +0 -24
  2287. package/icc-api/model/Classification.ts +0 -81
  2288. package/icc-api/model/ClassificationTemplate.ts +0 -80
  2289. package/icc-api/model/Code.ts +0 -202
  2290. package/icc-api/model/CodeStub.ts +0 -24
  2291. package/icc-api/model/CodeType.ts +0 -19
  2292. package/icc-api/model/CommentedClassification.ts +0 -21
  2293. package/icc-api/model/Commercialization.ts +0 -25
  2294. package/icc-api/model/Company.ts +0 -35
  2295. package/icc-api/model/Contact.ts +0 -129
  2296. package/icc-api/model/Content.ts +0 -45
  2297. package/icc-api/model/Copayment.ts +0 -22
  2298. package/icc-api/model/Data.ts +0 -17
  2299. package/icc-api/model/DataOwnerRegistrationSuccess.ts +0 -21
  2300. package/icc-api/model/DatabaseInfo.ts +0 -28
  2301. package/icc-api/model/DatabaseInitialisation.ts +0 -27
  2302. package/icc-api/model/DatabaseSynchronization.ts +0 -30
  2303. package/icc-api/model/Delegation.ts +0 -25
  2304. package/icc-api/model/Device.ts +0 -93
  2305. package/icc-api/model/DeviceType.ts +0 -23
  2306. package/icc-api/model/DiaryNoteExportInfo.ts +0 -30
  2307. package/icc-api/model/Dmpp.ts +0 -45
  2308. package/icc-api/model/DocIdentifier.ts +0 -20
  2309. package/icc-api/model/Document.ts +0 -264
  2310. package/icc-api/model/DocumentGroup.ts +0 -20
  2311. package/icc-api/model/DocumentTemplate.ts +0 -162
  2312. package/icc-api/model/Duration.ts +0 -21
  2313. package/icc-api/model/EIDItem.ts +0 -23
  2314. package/icc-api/model/Editor.ts +0 -37
  2315. package/icc-api/model/EfactInvoice.ts +0 -43
  2316. package/icc-api/model/EmailOrSmsMessage.ts +0 -39
  2317. package/icc-api/model/EmailTemplate.ts +0 -20
  2318. package/icc-api/model/Employer.ts +0 -21
  2319. package/icc-api/model/EmploymentInfo.ts +0 -24
  2320. package/icc-api/model/EntityReference.ts +0 -25
  2321. package/icc-api/model/EntityTemplate.ts +0 -31
  2322. package/icc-api/model/Episode.ts +0 -30
  2323. package/icc-api/model/FilterChainCode.ts +0 -23
  2324. package/icc-api/model/FilterChainContact.ts +0 -23
  2325. package/icc-api/model/FilterChainDevice.ts +0 -23
  2326. package/icc-api/model/FilterChainHealthElement.ts +0 -23
  2327. package/icc-api/model/FilterChainHealthcareParty.ts +0 -23
  2328. package/icc-api/model/FilterChainInvoice.ts +0 -23
  2329. package/icc-api/model/FilterChainMaintenanceTask.ts +0 -23
  2330. package/icc-api/model/FilterChainPatient.ts +0 -23
  2331. package/icc-api/model/FilterChainService.ts +0 -23
  2332. package/icc-api/model/FilterChainUser.ts +0 -23
  2333. package/icc-api/model/FinancialInstitutionInformation.ts +0 -32
  2334. package/icc-api/model/FlatRateTarification.ts +0 -36
  2335. package/icc-api/model/FlowItem.ts +0 -51
  2336. package/icc-api/model/Form.ts +0 -116
  2337. package/icc-api/model/FormColumn.ts +0 -22
  2338. package/icc-api/model/FormDataOption.ts +0 -20
  2339. package/icc-api/model/FormLayout.ts +0 -29
  2340. package/icc-api/model/FormLayoutData.ts +0 -44
  2341. package/icc-api/model/FormPlanning.ts +0 -26
  2342. package/icc-api/model/FormSection.ts +0 -23
  2343. package/icc-api/model/FormTemplate.ts +0 -46
  2344. package/icc-api/model/FormTemplateLayout.ts +0 -23
  2345. package/icc-api/model/Formula.ts +0 -31
  2346. package/icc-api/model/FrontEndMigration.ts +0 -47
  2347. package/icc-api/model/Group.ts +0 -60
  2348. package/icc-api/model/GroupDatabasesInfo.ts +0 -21
  2349. package/icc-api/model/GuiCode.ts +0 -20
  2350. package/icc-api/model/GuiCodeType.ts +0 -19
  2351. package/icc-api/model/HealthElement.ts +0 -159
  2352. package/icc-api/model/HealthcareParty.ts +0 -224
  2353. package/icc-api/model/HealthcarePartyHistoryStatus.ts +0 -33
  2354. package/icc-api/model/IcureStub.ts +0 -74
  2355. package/icc-api/model/IdWithRev.ts +0 -20
  2356. package/icc-api/model/Identifier.ts +0 -27
  2357. package/icc-api/model/IdentityDocumentReader.ts +0 -24
  2358. package/icc-api/model/ImportMapping.ts +0 -24
  2359. package/icc-api/model/ImportResult.ts +0 -34
  2360. package/icc-api/model/IncapacityExportInfo.ts +0 -52
  2361. package/icc-api/model/IndexedIdentifier.ts +0 -21
  2362. package/icc-api/model/IndexingInfo.ts +0 -19
  2363. package/icc-api/model/Ingredient.ts +0 -36
  2364. package/icc-api/model/Insurability.ts +0 -61
  2365. package/icc-api/model/Insurance.ts +0 -33
  2366. package/icc-api/model/Invoice.ts +0 -205
  2367. package/icc-api/model/InvoiceItem.ts +0 -97
  2368. package/icc-api/model/InvoiceSender.ts +0 -28
  2369. package/icc-api/model/InvoicesBatch.ts +0 -29
  2370. package/icc-api/model/InvoicingCode.ts +0 -86
  2371. package/icc-api/model/Keyword.ts +0 -61
  2372. package/icc-api/model/KeywordSubword.ts +0 -20
  2373. package/icc-api/model/LabelledOccurence.ts +0 -20
  2374. package/icc-api/model/LetterValue.ts +0 -22
  2375. package/icc-api/model/ListOfIds.ts +0 -22
  2376. package/icc-api/model/ListOfProperties.ts +0 -23
  2377. package/icc-api/model/LoginCredentials.ts +0 -20
  2378. package/icc-api/model/MaintenanceTask.ts +0 -93
  2379. package/icc-api/model/MapOfIds.ts +0 -19
  2380. package/icc-api/model/Measure.ts +0 -31
  2381. package/icc-api/model/MedexInfo.ts +0 -33
  2382. package/icc-api/model/MedicalHouseContract.ts +0 -81
  2383. package/icc-api/model/MedicalLocation.ts +0 -37
  2384. package/icc-api/model/Medication.ts +0 -70
  2385. package/icc-api/model/MedicationSchemeExportInfo.ts +0 -25
  2386. package/icc-api/model/Medicinalproduct.ts +0 -24
  2387. package/icc-api/model/Message.ts +0 -145
  2388. package/icc-api/model/MessageReadStatus.ts +0 -23
  2389. package/icc-api/model/MessageWithBatch.ts +0 -22
  2390. package/icc-api/model/MessagesReadStatusUpdate.ts +0 -22
  2391. package/icc-api/model/MikronoAppointmentTypeRest.ts +0 -25
  2392. package/icc-api/model/MikronoCredentials.ts +0 -21
  2393. package/icc-api/model/MimeAttachment.ts +0 -22
  2394. package/icc-api/model/ModelHelper.ts +0 -64
  2395. package/icc-api/model/Nmp.ts +0 -34
  2396. package/icc-api/model/NoGenericPrescriptionReason.ts +0 -21
  2397. package/icc-api/model/NoSwitchReason.ts +0 -21
  2398. package/icc-api/model/NumeratorRange.ts +0 -21
  2399. package/icc-api/model/PackagingType.ts +0 -23
  2400. package/icc-api/model/PaginatedDocumentKeyIdPairObject.ts +0 -20
  2401. package/icc-api/model/PaginatedListAccessLog.ts +0 -24
  2402. package/icc-api/model/PaginatedListAmp.ts +0 -24
  2403. package/icc-api/model/PaginatedListClassification.ts +0 -24
  2404. package/icc-api/model/PaginatedListClassificationTemplate.ts +0 -24
  2405. package/icc-api/model/PaginatedListCode.ts +0 -24
  2406. package/icc-api/model/PaginatedListContact.ts +0 -24
  2407. package/icc-api/model/PaginatedListDevice.ts +0 -24
  2408. package/icc-api/model/PaginatedListDocument.ts +0 -24
  2409. package/icc-api/model/PaginatedListEntityTemplate.ts +0 -24
  2410. package/icc-api/model/PaginatedListForm.ts +0 -24
  2411. package/icc-api/model/PaginatedListGroup.ts +0 -24
  2412. package/icc-api/model/PaginatedListHealthElement.ts +0 -24
  2413. package/icc-api/model/PaginatedListHealthcareParty.ts +0 -24
  2414. package/icc-api/model/PaginatedListInvoice.ts +0 -24
  2415. package/icc-api/model/PaginatedListMaintenanceTask.ts +0 -24
  2416. package/icc-api/model/PaginatedListMessage.ts +0 -24
  2417. package/icc-api/model/PaginatedListNmp.ts +0 -24
  2418. package/icc-api/model/PaginatedListPatient.ts +0 -24
  2419. package/icc-api/model/PaginatedListService.ts +0 -24
  2420. package/icc-api/model/PaginatedListString.ts +0 -23
  2421. package/icc-api/model/PaginatedListTarification.ts +0 -24
  2422. package/icc-api/model/PaginatedListUser.ts +0 -24
  2423. package/icc-api/model/PaginatedListVmp.ts +0 -24
  2424. package/icc-api/model/PaginatedListVmpGroup.ts +0 -24
  2425. package/icc-api/model/Paragraph.ts +0 -41
  2426. package/icc-api/model/ParagraphAgreement.ts +0 -41
  2427. package/icc-api/model/Partnership.ts +0 -118
  2428. package/icc-api/model/Patient.ts +0 -366
  2429. package/icc-api/model/PatientByHcPartyGenderEducationProfession.ts +0 -35
  2430. package/icc-api/model/PatientHealthCareParty.ts +0 -64
  2431. package/icc-api/model/PatientRegistrationSuccess.ts +0 -21
  2432. package/icc-api/model/Payment.ts +0 -34
  2433. package/icc-api/model/Periodicity.ts +0 -21
  2434. package/icc-api/model/Permission.ts +0 -30
  2435. package/icc-api/model/PermissionCriterion.ts +0 -46
  2436. package/icc-api/model/PermissionItem.ts +0 -52
  2437. package/icc-api/model/PersonName.ts +0 -66
  2438. package/icc-api/model/PharmaceuticalForm.ts +0 -29
  2439. package/icc-api/model/PharmaceuticalFormStub.ts +0 -24
  2440. package/icc-api/model/Place.ts +0 -27
  2441. package/icc-api/model/PlanOfAction.ts +0 -114
  2442. package/icc-api/model/Predicate.ts +0 -17
  2443. package/icc-api/model/Pricing.ts +0 -21
  2444. package/icc-api/model/PropertyStub.ts +0 -31
  2445. package/icc-api/model/PropertyTypeStub.ts +0 -32
  2446. package/icc-api/model/PublicKey.ts +0 -20
  2447. package/icc-api/model/Quantity.ts +0 -20
  2448. package/icc-api/model/Receipt.ts +0 -83
  2449. package/icc-api/model/ReferralPeriod.ts +0 -33
  2450. package/icc-api/model/RegimenItem.ts +0 -27
  2451. package/icc-api/model/RegistrationInformation.ts +0 -22
  2452. package/icc-api/model/RegistrationSuccess.ts +0 -21
  2453. package/icc-api/model/Reimbursement.ts +0 -57
  2454. package/icc-api/model/ReimbursementCriterion.ts +0 -22
  2455. package/icc-api/model/Remote.ts +0 -21
  2456. package/icc-api/model/RemoteAuthentication.ts +0 -20
  2457. package/icc-api/model/Renewal.ts +0 -21
  2458. package/icc-api/model/ReplicateCommand.ts +0 -25
  2459. package/icc-api/model/Replication.ts +0 -28
  2460. package/icc-api/model/ReplicationInfo.ts +0 -22
  2461. package/icc-api/model/ReplicationStats.ts +0 -27
  2462. package/icc-api/model/ReplicatorDocument.ts +0 -34
  2463. package/icc-api/model/ReplicatorResponse.ts +0 -23
  2464. package/icc-api/model/ResultInfo.ts +0 -33
  2465. package/icc-api/model/RevisionInfo.ts +0 -20
  2466. package/icc-api/model/Right.ts +0 -22
  2467. package/icc-api/model/RouteOfAdministration.ts +0 -22
  2468. package/icc-api/model/SamText.ts +0 -22
  2469. package/icc-api/model/SamVersion.ts +0 -26
  2470. package/icc-api/model/SchoolingInfo.ts +0 -23
  2471. package/icc-api/model/Section.ts +0 -23
  2472. package/icc-api/model/Service.ts +0 -155
  2473. package/icc-api/model/ServiceLink.ts +0 -22
  2474. package/icc-api/model/SoftwareMedicalFileExport.ts +0 -23
  2475. package/icc-api/model/StandardSubstance.ts +0 -33
  2476. package/icc-api/model/StrengthRange.ts +0 -22
  2477. package/icc-api/model/StructureElement.ts +0 -17
  2478. package/icc-api/model/SubContact.ts +0 -89
  2479. package/icc-api/model/Substance.ts +0 -31
  2480. package/icc-api/model/SubstanceStub.ts +0 -26
  2481. package/icc-api/model/Substanceproduct.ts +0 -24
  2482. package/icc-api/model/Suggest.ts +0 -23
  2483. package/icc-api/model/SumehrContent.ts +0 -26
  2484. package/icc-api/model/SumehrExportInfo.ts +0 -30
  2485. package/icc-api/model/SumehrValidity.ts +0 -27
  2486. package/icc-api/model/SupplyProblem.ts +0 -25
  2487. package/icc-api/model/Suspension.ts +0 -22
  2488. package/icc-api/model/Tag.ts +0 -20
  2489. package/icc-api/model/Tarification.ts +0 -213
  2490. package/icc-api/model/Telecom.ts +0 -64
  2491. package/icc-api/model/TimeSeries.ts +0 -28
  2492. package/icc-api/model/TimeTable.ts +0 -84
  2493. package/icc-api/model/TimeTableHour.ts +0 -20
  2494. package/icc-api/model/TimeTableItem.ts +0 -28
  2495. package/icc-api/model/TokenWithGroup.ts +0 -21
  2496. package/icc-api/model/TypedValueObject.ts +0 -40
  2497. package/icc-api/model/Unit.ts +0 -17
  2498. package/icc-api/model/User.ts +0 -132
  2499. package/icc-api/model/UserAndHealthcareParty.ts +0 -25
  2500. package/icc-api/model/UserGroup.ts +0 -28
  2501. package/icc-api/model/Valorisation.ts +0 -31
  2502. package/icc-api/model/Verse.ts +0 -65
  2503. package/icc-api/model/VirtualForm.ts +0 -22
  2504. package/icc-api/model/VirtualIngredient.ts +0 -33
  2505. package/icc-api/model/Vmp.ts +0 -40
  2506. package/icc-api/model/VmpComponent.ts +0 -28
  2507. package/icc-api/model/VmpGroup.ts +0 -34
  2508. package/icc-api/model/VmpGroupStub.ts +0 -23
  2509. package/icc-api/model/VmpStub.ts +0 -24
  2510. package/icc-api/model/Vtm.ts +0 -23
  2511. package/icc-api/model/Wada.ts +0 -22
  2512. package/icc-api/model/WebSession.ts +0 -26
  2513. package/icc-api/model/WebSessionMaxIdleTime.ts +0 -24
  2514. package/icc-api/model/WebSessionMaxIdleTimeUnits.ts +0 -21
  2515. package/icc-api/model/Weekday.ts +0 -21
  2516. package/icc-api/model/models.ts +0 -281
  2517. package/icc-x-api/crypto/AES.ts +0 -173
  2518. package/icc-x-api/crypto/RSA.ts +0 -170
  2519. package/icc-x-api/crypto/shamir.ts +0 -326
  2520. package/icc-x-api/crypto/utils.ts +0 -0
  2521. package/icc-x-api/filters/AllCodesFilter.ts +0 -22
  2522. package/icc-x-api/filters/AllDevicesFilter.ts +0 -23
  2523. package/icc-x-api/filters/AllHealthcarePartiesFilter.ts +0 -23
  2524. package/icc-x-api/filters/AllUsersFilter.ts +0 -23
  2525. package/icc-x-api/filters/CodeByIdsFilter.ts +0 -25
  2526. package/icc-x-api/filters/CodeByRegionTypeLabelLanguageFilter.ts +0 -28
  2527. package/icc-x-api/filters/CodeIdsByTypeCodeVersionIntervalFilter.ts +0 -30
  2528. package/icc-x-api/filters/ComplementFilter.ts +0 -13
  2529. package/icc-x-api/filters/ConstantFilter.ts +0 -9
  2530. package/icc-x-api/filters/ContactByHcPartyFilter.ts +0 -25
  2531. package/icc-x-api/filters/ContactByHcPartyPatientTagCodeDateFilter.ts +0 -32
  2532. package/icc-x-api/filters/ContactByHcPartyTagCodeDateFilter.ts +0 -32
  2533. package/icc-x-api/filters/ContactByServiceIdsFilter.ts +0 -24
  2534. package/icc-x-api/filters/DeviceByHcPartyFilter.ts +0 -26
  2535. package/icc-x-api/filters/DeviceByIdsFilter.ts +0 -26
  2536. package/icc-x-api/filters/HealthElementByHcPartyFilter.ts +0 -24
  2537. package/icc-x-api/filters/HealthElementByHcPartyIdentifiersFilter.ts +0 -26
  2538. package/icc-x-api/filters/HealthElementByHcPartySecretForeignKeysFilter.ts +0 -27
  2539. package/icc-x-api/filters/HealthElementByHcPartyTagCodeFilter.ts +0 -29
  2540. package/icc-x-api/filters/HealthElementByIdsFilter.ts +0 -24
  2541. package/icc-x-api/filters/HealthcarePartyByIdsFilter.ts +0 -24
  2542. package/icc-x-api/filters/HealthcarePartyByTagCodeFilter.ts +0 -27
  2543. package/icc-x-api/filters/IntersectionFilter.ts +0 -11
  2544. package/icc-x-api/filters/InvoiceByHcPartyCodeDateFilter.ts +0 -27
  2545. package/icc-x-api/filters/MaintenanceTaskAfterDateFilter.ts +0 -24
  2546. package/icc-x-api/filters/MaintenanceTaskByHcPartyAndIdentifiersFilter.ts +0 -26
  2547. package/icc-x-api/filters/MaintenanceTaskByHcPartyAndTypeFilter.ts +0 -25
  2548. package/icc-x-api/filters/MaintenanceTaskByIdsFilter.ts +0 -24
  2549. package/icc-x-api/filters/PatientByHcPartyAndActiveFilter.ts +0 -25
  2550. package/icc-x-api/filters/PatientByHcPartyAndExternalIdFilter.ts +0 -25
  2551. package/icc-x-api/filters/PatientByHcPartyAndIdentifiersFilter.ts +0 -26
  2552. package/icc-x-api/filters/PatientByHcPartyAndSsinFilter.ts +0 -25
  2553. package/icc-x-api/filters/PatientByHcPartyAndSsinsFilter.ts +0 -25
  2554. package/icc-x-api/filters/PatientByHcPartyDateOfBirthBetweenFilter.ts +0 -26
  2555. package/icc-x-api/filters/PatientByHcPartyDateOfBirthFilter.ts +0 -25
  2556. package/icc-x-api/filters/PatientByHcPartyFilter.ts +0 -24
  2557. package/icc-x-api/filters/PatientByHcPartyGenderEducationProfession.ts +0 -19
  2558. package/icc-x-api/filters/PatientByHcPartyNameContainsFuzzyFilter.ts +0 -25
  2559. package/icc-x-api/filters/PatientByHcPartyNameFilter.ts +0 -25
  2560. package/icc-x-api/filters/PatientByIdsFilter.ts +0 -24
  2561. package/icc-x-api/filters/ServiceByContactsAndSubcontactsFilter.ts +0 -28
  2562. package/icc-x-api/filters/ServiceByHcPartyFilter.ts +0 -24
  2563. package/icc-x-api/filters/ServiceByHcPartyHealthElementIdsFilter.ts +0 -25
  2564. package/icc-x-api/filters/ServiceByHcPartyIdentifiersFilter.ts +0 -26
  2565. package/icc-x-api/filters/ServiceByHcPartyTagCodeDateFilter.ts +0 -31
  2566. package/icc-x-api/filters/ServiceByIdsFilter.ts +0 -24
  2567. package/icc-x-api/filters/ServiceBySecretForeignKeys.ts +0 -25
  2568. package/icc-x-api/filters/UnionFilter.ts +0 -10
  2569. package/icc-x-api/filters/UserByIdsFilter.ts +0 -24
  2570. package/icc-x-api/filters/UserByNameEmailPhoneFilter.ts +0 -24
  2571. package/icc-x-api/filters/UsersByPatientIdFilter.ts +0 -25
  2572. package/icc-x-api/filters/filters.ts +0 -343
  2573. package/icc-x-api/icc-accesslog-x-api.ts +0 -333
  2574. package/icc-x-api/icc-bekmehr-x-api.ts +0 -316
  2575. package/icc-x-api/icc-calendar-item-x-api.ts +0 -286
  2576. package/icc-x-api/icc-classification-x-api.ts +0 -99
  2577. package/icc-x-api/icc-code-x-api.ts +0 -131
  2578. package/icc-x-api/icc-contact-x-api.ts +0 -959
  2579. package/icc-x-api/icc-crypto-x-api.ts +0 -2257
  2580. package/icc-x-api/icc-data-owner-x-api.ts +0 -37
  2581. package/icc-x-api/icc-doctemplate-x-api.ts +0 -100
  2582. package/icc-x-api/icc-document-x-api.ts +0 -763
  2583. package/icc-x-api/icc-form-x-api.ts +0 -176
  2584. package/icc-x-api/icc-hcparty-x-api.ts +0 -148
  2585. package/icc-x-api/icc-helement-x-api.ts +0 -407
  2586. package/icc-x-api/icc-invoice-x-api.ts +0 -197
  2587. package/icc-x-api/icc-maintenance-task-x-api.ts +0 -241
  2588. package/icc-x-api/icc-message-x-api.ts +0 -83
  2589. package/icc-x-api/icc-patient-x-api.ts +0 -1253
  2590. package/icc-x-api/icc-receipt-x-api.ts +0 -103
  2591. package/icc-x-api/icc-time-table-x-api.ts +0 -67
  2592. package/icc-x-api/icc-user-x-api.ts +0 -18
  2593. package/icc-x-api/index.ts +0 -196
  2594. package/icc-x-api/rsrc/codelng.ts +0 -8
  2595. package/icc-x-api/rsrc/contact.i18n.ts +0 -110
  2596. package/icc-x-api/rsrc/icd10.ts +0 -113
  2597. package/icc-x-api/rsrc/icpc2.ts +0 -22
  2598. package/icc-x-api/storage/KeyStorageFacade.ts +0 -35
  2599. package/icc-x-api/storage/KeyStorageImpl.ts +0 -37
  2600. package/icc-x-api/storage/LocalStorageImpl.ts +0 -24
  2601. package/icc-x-api/storage/StorageFacade.ts +0 -21
  2602. package/icc-x-api/utils/asn1-packer.ts +0 -87
  2603. package/icc-x-api/utils/asn1-parser.ts +0 -151
  2604. package/icc-x-api/utils/binary-utils.ts +0 -163
  2605. package/icc-x-api/utils/code-util.ts +0 -39
  2606. package/icc-x-api/utils/crypto-utils.ts +0 -235
  2607. package/icc-x-api/utils/formatting-util.ts +0 -220
  2608. package/icc-x-api/utils/functional-util.ts +0 -16
  2609. package/icc-x-api/utils/hcp-util.ts +0 -122
  2610. package/icc-x-api/utils/index.ts +0 -7
  2611. package/icc-x-api/utils/insurability-util.ts +0 -54
  2612. package/icc-x-api/utils/net-utils.ts +0 -243
  2613. package/icc-x-api/utils/person-util.ts +0 -29
  2614. package/icc-x-api/utils/uuid-encoder.ts +0 -127
  2615. package/icure-pre-commit/.pre-commit-config.yaml +0 -16
  2616. package/icure-pre-commit/.secrets.baseline +0 -109
  2617. package/icure-pre-commit/README.md +0 -17
  2618. package/icure-pre-commit/basic.pre-commit-config.yaml +0 -16
  2619. package/icure-pre-commit/icure_detect_secrets/filters/is_icure_safe_data.py +0 -89
  2620. package/icure-pre-commit/icure_detect_secrets/filters/is_key_format.py +0 -9
  2621. package/icure-pre-commit/icure_detect_secrets/plugins/EncodedFileDetector.py +0 -71
  2622. package/icure-pre-commit/icure_detect_secrets/plugins/KeyFileDetector.py +0 -57
  2623. package/icure-pre-commit/install_optional_detect-secrets.sh +0 -45
  2624. package/icure-pre-commit/install_required_tools.sh +0 -35
  2625. package/icure-pre-commit/kotlin.pre-commit-config.yaml +0 -21
  2626. package/icure-pre-commit/scan-secrets.sh +0 -7
  2627. package/index.ts +0 -8
  2628. package/node-compat.ts +0 -11
  2629. package/sonar-project.properties +0 -20
  2630. package/test/icc-api/api/IccUserApi.ts +0 -17
  2631. package/test/icc-api/e2e/IccCalendarItemApi.ts +0 -26
  2632. package/test/icc-api/model/modelHelpersTest.ts +0 -54
  2633. package/test/icc-x-api/crypto/concurrency.ts +0 -33
  2634. package/test/icc-x-api/crypto/crypto-utils.ts +0 -78
  2635. package/test/icc-x-api/crypto/cryptoTest.ts +0 -252
  2636. package/test/icc-x-api/crypto/delegate-ci-to-patient-with-missing-keys-test.ts +0 -294
  2637. package/test/icc-x-api/crypto/full-crypto-test.ts +0 -576
  2638. package/test/icc-x-api/crypto/shamir.ts +0 -58
  2639. package/test/icc-x-api/crypto/share-to-newly-created-patient-from-hcp.ts +0 -180
  2640. package/test/icc-x-api/filters/filters.ts +0 -60
  2641. package/test/icc-x-api/icc-contact-x-api.ts +0 -211
  2642. package/test/icc-x-api/icc-helement-x-api-test.ts +0 -164
  2643. package/test/icc-x-api/icc-maintenance-task-x-api-test.ts +0 -298
  2644. package/test/icc-x-api/icc-patient-x-api-test.ts +0 -77
  2645. package/test/icc-x-api/patient-user.ts +0 -154
  2646. package/test/icc-x-api/storage/storage.ts +0 -51
  2647. package/test/mocha.opts +0 -1
  2648. package/test/utils/test_utils.ts +0 -13
  2649. package/tsconfig.json +0 -21
  2650. package/yarn-error.log +0 -6643
@@ -1,2257 +0,0 @@
1
- /* eslint-disable */
2
- import { IccDeviceApi, IccHcpartyApi, IccPatientApi } from '../icc-api'
3
- import { AESUtils } from './crypto/AES'
4
- import { RSAUtils } from './crypto/RSA'
5
- import { ShamirClass } from './crypto/shamir'
6
-
7
- import * as _ from 'lodash'
8
- import {
9
- Delegation,
10
- Device,
11
- Document,
12
- EncryptedEntity,
13
- EncryptedParentEntity,
14
- HealthcareParty,
15
- MaintenanceTask,
16
- Patient,
17
- PropertyStub,
18
- PropertyTypeStub,
19
- TypedValueObject,
20
- User,
21
- } from '../icc-api/model/models'
22
- import { b2a, b64_2uas, hex2ua, string2ua, ua2hex, ua2string, ua2utf8, utf8_2ua } from './utils/binary-utils'
23
- import { fold, foldAsync, jwk2spki, notConcurrent, pkcs8ToJwk, spkiToJwk } from './utils'
24
- import { IccMaintenanceTaskXApi } from './icc-maintenance-task-x-api'
25
- import { StorageFacade } from './storage/StorageFacade'
26
- import { LocalStorageImpl } from './storage/LocalStorageImpl'
27
- import { KeyStorageFacade } from './storage/KeyStorageFacade'
28
- import { KeyStorageImpl } from './storage/KeyStorageImpl'
29
-
30
- interface DelegatorAndKeys {
31
- delegatorId: string
32
- key: CryptoKey
33
- rawKey: string
34
- }
35
-
36
- type CachedDataOwner =
37
- | {
38
- type: 'patient'
39
- dataOwner: Patient
40
- }
41
- | {
42
- type: 'device'
43
- dataOwner: Device
44
- }
45
- | {
46
- type: 'hcp'
47
- dataOwner: HealthcareParty
48
- }
49
-
50
- export class IccCryptoXApi {
51
- get crypto(): Crypto {
52
- return this._crypto
53
- }
54
-
55
- get shamir(): ShamirClass {
56
- return this._shamir
57
- }
58
-
59
- get RSA(): RSAUtils {
60
- return this._RSA
61
- }
62
-
63
- get AES(): AESUtils {
64
- return this._AES
65
- }
66
-
67
- get keyStorage(): KeyStorageFacade {
68
- return this._keyStorage
69
- }
70
-
71
- get storage(): StorageFacade<string> {
72
- return this._storage
73
- }
74
-
75
- hcPartyKeysCache: {
76
- [key: string]: DelegatorAndKeys
77
- } = {}
78
-
79
- //[delegateId][delegatorId] = delegateEncryptedHcPartyKey
80
- //for each delegate, it stores the list of delegators and the corresponding delegateEncryptedHcPartyKey (shared HcPartyKey, from delegator to delegate, encrypted with the RSA key of the delegate)
81
- hcPartyKeysRequestsCache: {
82
- [delegateId: string]: Promise<{ [key: string]: { [key: string]: { [key: string]: string } } }>
83
- } = {}
84
-
85
- cacheLastDeletionTimestamp: number | undefined = undefined
86
-
87
- dataOwnerCache: { [key: string]: Promise<CachedDataOwner> } = {}
88
-
89
- emptyHcpCache(hcpartyId: string) {
90
- delete this.hcPartyKeysRequestsCache[hcpartyId]
91
- delete this.dataOwnerCache[hcpartyId]
92
- }
93
-
94
- /**
95
- * Gets all delegate encrypted HcParty keys of the delegate with the given `delegateHcPartyId`, and for each key the delegator id
96
- * If the keys are not cached, they are retrieved from the backend.
97
- *
98
- * @param delegateHcPartyId The Health Care Party id
99
- * @returns \{delegatorId: delegateEncryptedHcPartyKey\}
100
- */
101
- private getEncryptedAesExchangeKeysForDelegate(
102
- delegateHcPartyId: string
103
- ): Promise<{ [key: string]: { [key: string]: { [key: string]: string } } }> {
104
- return (
105
- this.hcPartyKeysRequestsCache[delegateHcPartyId] ||
106
- (this.hcPartyKeysRequestsCache[delegateHcPartyId] = this.forceGetEncryptedAesExchangeKeysForDelegate(delegateHcPartyId))
107
- )
108
- }
109
-
110
- private forceGetEncryptedAesExchangeKeysForDelegate(
111
- delegateHcPartyId: string
112
- ): Promise<{ [key: string]: { [key: string]: { [key: string]: string } } }> {
113
- return Promise.all([
114
- this.patientBaseApi.getPatientAesExchangeKeysForDelegate(delegateHcPartyId).catch(() => {}),
115
- this.hcpartyBaseApi.getAesExchangeKeysForDelegate(delegateHcPartyId).catch(() => {}),
116
- this.deviceBaseApi.getDeviceAesExchangeKeysForDelegate(delegateHcPartyId).catch(() => {}),
117
- ]).then(([a, b, c]) => ({ ...a, ...b, ...c }))
118
- }
119
-
120
- keychainLocalStoreIdPrefix = 'org.taktik.icure.ehealth.keychain.'
121
- keychainValidityDateLocalStoreIdPrefix = 'org.taktik.icure.ehealth.keychain-date.'
122
- hcpPreferenceKeyEhealthCert = 'eHealthCRTCrypt'
123
- hcpPreferenceKeyEhealthCertDate = 'eHealthCRTDate'
124
- rsaLocalStoreIdPrefix = 'org.taktik.icure.rsa.'
125
-
126
- private hcpartyBaseApi: IccHcpartyApi
127
- private patientBaseApi: IccPatientApi
128
- private deviceBaseApi: IccDeviceApi
129
- private readonly _crypto: Crypto
130
-
131
- private generateKeyConcurrencyMap: { [key: string]: PromiseLike<HealthcareParty | Patient> }
132
- private rsaKeyPairs: { [pubKeyFingerprint: string]: { publicKey: CryptoKey; privateKey: CryptoKey } } = {}
133
-
134
- private readonly _AES: AESUtils
135
- private readonly _RSA: RSAUtils
136
- private readonly _shamir: ShamirClass
137
- private readonly _storage: StorageFacade<string>
138
- private readonly _keyStorage: KeyStorageFacade
139
-
140
- constructor(
141
- host: string,
142
- headers: { [key: string]: string },
143
- hcpartyBaseApi: IccHcpartyApi, //Init with a hcparty x api for better performances
144
- patientBaseApi: IccPatientApi,
145
- deviceBaseApi: IccDeviceApi,
146
- crypto: Crypto = typeof window !== 'undefined' ? window.crypto : typeof self !== 'undefined' ? self.crypto : ({} as Crypto),
147
- storage: StorageFacade<string>,
148
- keyStorage: KeyStorageFacade
149
- ) {
150
- this.hcpartyBaseApi = hcpartyBaseApi
151
- this.patientBaseApi = patientBaseApi
152
- this.deviceBaseApi = deviceBaseApi
153
- this._crypto = crypto
154
- this.generateKeyConcurrencyMap = {}
155
-
156
- this._AES = new AESUtils(crypto)
157
- this._RSA = new RSAUtils(crypto)
158
- this._shamir = new ShamirClass(crypto)
159
- this._storage = storage
160
- this._keyStorage = keyStorage
161
- }
162
-
163
- async loadAllKeysFromLocalStorage(dataOwnerId: string): Promise<void> {
164
- const pubKeys = await this.getDataOwnerHexPublicKeys((await this.getDataOwner(dataOwnerId)).dataOwner)
165
-
166
- for (const pk of pubKeys) {
167
- const fingerprint = pk.slice(-32)
168
- if (!this.rsaKeyPairs[fingerprint]) {
169
- await this.cacheKeyPair(this.loadKeyPairNotImported(dataOwnerId, fingerprint))
170
- }
171
- }
172
- }
173
-
174
- async getCachedRsaKeyPairForFingerprint(
175
- dataOwnerId: string,
176
- pubKeyOrFingerprint: string
177
- ): Promise<{ publicKey: CryptoKey; privateKey: CryptoKey }> {
178
- const fingerprint = pubKeyOrFingerprint.slice(-32)
179
- return this.rsaKeyPairs[fingerprint] ?? (await this.cacheKeyPair(this.loadKeyPairNotImported(dataOwnerId, fingerprint)))
180
- }
181
-
182
- async getPublicKeys() {
183
- return await Object.values(this.rsaKeyPairs).reduce(async (p, rsa) => {
184
- return (await p).concat([jwk2spki(await this.RSA.exportKey(rsa.publicKey, 'jwk'))])
185
- }, Promise.resolve([] as string[]))
186
- }
187
-
188
- async getPublicKeysAsSpki(): Promise<string[]> {
189
- return await Object.values(this.rsaKeyPairs).reduce(async (p, rsa) => {
190
- return (await p).concat([ua2hex(await this.RSA.exportKey(rsa.publicKey, 'spki'))])
191
- }, Promise.resolve([] as string[]))
192
- }
193
-
194
- randomUuid() {
195
- return ((1e7).toString() + -1e3 + -4e3 + -8e3 + -1e11).replace(
196
- /[018]/g,
197
- (c) => (Number(c) ^ ((this._crypto.getRandomValues(new Uint8Array(1))! as Uint8Array)[0] & (15 >> (Number(c) / 4)))).toString(16) //Keep that inlined or you will loose the random
198
- )
199
- }
200
-
201
- sha256(data: ArrayBuffer | Uint8Array) {
202
- return this._crypto.subtle.digest('SHA-256', data)
203
- }
204
-
205
- encryptShamirRSAKey(hcp: HealthcareParty, notaries: Array<HealthcareParty>, threshold?: number): Promise<HealthcareParty> {
206
- return this.loadKeyPairImported(hcp.id!).then((keyPair) =>
207
- this._RSA.exportKey(keyPair.privateKey, 'pkcs8').then(async (exportedKey) => {
208
- const privateKey = exportedKey as ArrayBuffer
209
- const nLen = notaries.length
210
- const shares = nLen == 1 ? [privateKey] : this._shamir.share(ua2hex(privateKey), nLen, threshold || nLen).map((share) => hex2ua(share))
211
- const publicKeys = await this.getPublicKeys()
212
-
213
- return _.reduce(
214
- notaries,
215
- (queue, notary, idx) => {
216
- return queue.then(async (hcp) => {
217
- const { owner: hcParty, aesExchangeKeys } = await this.getOrCreateHcPartyKeys(hcp, notary.id!)
218
- const [publicKeyIdentifier, hcPartyKeys] = Object.entries(aesExchangeKeys)[0]
219
-
220
- try {
221
- const importedAESHcPartyKey = await this.decryptHcPartyKey(
222
- notary.id!,
223
- hcParty.id!,
224
- notary.id!,
225
- publicKeyIdentifier,
226
- hcPartyKeys,
227
- publicKeys
228
- )
229
- const encryptedShamirPartition = await this.AES.encrypt(importedAESHcPartyKey.key, shares[idx])
230
-
231
- hcParty.privateKeyShamirPartitions = hcParty.privateKeyShamirPartitions || {}
232
- hcParty.privateKeyShamirPartitions[notary.id!] = ua2hex(encryptedShamirPartition)
233
- } catch (e) {
234
- console.log('Error during encryptedShamirRSAKey', notary.id, e)
235
- }
236
- return hcParty
237
- })
238
- },
239
- Promise.resolve(hcp)
240
- )
241
- })
242
- )
243
- }
244
-
245
- /* Reconstructs the hcp's private key from the notaries' shamir shares and stores it in localstorage.
246
- The retrieval procedure of the shares is not designed or implemented yet. Therefore, it currently only
247
- works if the private key of the notaries are stored in local storage (e.g. notaries = [hcp parent]).
248
- * @param hcp : the hcp whose key we want to reconstruct
249
- * @param notaries : holders of the shamir shares
250
- **/
251
- async decryptShamirRSAKey(hcp: HealthcareParty, notaries: Array<HealthcareParty>): Promise<void> {
252
- try {
253
- const publicKeys = await this.getPublicKeys()
254
- const nLen = notaries.length
255
- let decryptedPrivatedKey
256
- if (nLen == 1) {
257
- const notaryHcPartyId = notaries[0].id!
258
- const encryptedAesKeyMap = await this.getEncryptedAesExchangeKeys(hcp, notaryHcPartyId)
259
- const importedAESHcPartyKey = await Promise.all(
260
- Object.entries(encryptedAesKeyMap).map(
261
- async ([idPubKey, keysMap]) => await this.decryptHcPartyKey(notaryHcPartyId, hcp.id!, notaryHcPartyId, idPubKey, keysMap, publicKeys)
262
- )
263
- )
264
- const cryptedPrivatedKey = hcp.privateKeyShamirPartitions![notaryHcPartyId]
265
- decryptedPrivatedKey = ua2hex(
266
- await this.AES.decryptSome(
267
- importedAESHcPartyKey.map((k) => k.key),
268
- hex2ua(cryptedPrivatedKey)
269
- )
270
- )
271
- } else {
272
- const decryptedShares: string[] = await _.reduce(
273
- notaries,
274
- (queue, notary) => {
275
- return queue.then(async (shares: string[]) => {
276
- try {
277
- // TODO: now, we get the encrypted shares in db and decrypt them. This assumes that the
278
- // the notaries' private keys are in localstorage. We should implement a way for the notaries to
279
- // give hcp the decrypted shares without having to also share their private keys.
280
- const encryptedAesKeyMap = await this.getEncryptedAesExchangeKeys(hcp, notary.id!)
281
- const importedAESHcPartyKey = await Promise.all(
282
- Object.entries(encryptedAesKeyMap).map(
283
- async ([idPubKey, keysMap]) => await this.decryptHcPartyKey(notary.id!, hcp.id!, notary.id!, idPubKey, keysMap, publicKeys)
284
- )
285
- )
286
- const encryptedShare = hcp.privateKeyShamirPartitions![notary.id!]
287
- const decryptedShamirPartition = ua2hex(
288
- await this.AES.decryptSome(
289
- importedAESHcPartyKey.map((k) => k.key),
290
- hex2ua(encryptedShare)
291
- )
292
- )
293
- shares.push(decryptedShamirPartition)
294
- } catch (e) {
295
- console.log('Error during encryptedShamirRSAKey', notary.id, e)
296
- }
297
- return shares
298
- })
299
- },
300
- Promise.resolve([] as string[])
301
- )
302
-
303
- decryptedPrivatedKey = this._shamir.combine(decryptedShares)
304
- }
305
-
306
- const importedPrivateKey = await this._RSA.importKey('pkcs8', hex2ua(decryptedPrivatedKey), ['decrypt'])
307
- const importedPublicKey = await this._RSA.importKey('spki', hex2ua(hcp.publicKey!), ['encrypt'])
308
-
309
- const exportedKeyPair = await this._RSA.exportKeys({ publicKey: importedPublicKey, privateKey: importedPrivateKey }, 'jwk', 'jwk')
310
- this._keyStorage.storeKeyPair(`${this.rsaLocalStoreIdPrefix}${hcp.id!}`, exportedKeyPair)
311
- } catch (e) {
312
- console.log('Cannot decrypt shamir RSA key')
313
- }
314
- }
315
-
316
- /**
317
- * Gets the decryptedHcPartyKey for the given `encryptedHcPartyKey`
318
- *
319
- * If the decrypted key exists in the cache, retrieves it from there.
320
- * Otherwise, decrypts it using the RSA key of the delegator or delegate (depending on the value of `encryptedForDelegator`)
321
- *
322
- * @param loggedHcPartyId The logged DataOwner id or the id of his parent
323
- * @param delegatorId The id of Delegator eg, the DataOwner where this AES exchange key is stored
324
- * @param delegateHcPartyId The id of the delegate : the data owner for whom this aes exchange key has been created
325
- * @param publicKey The public key of the delegator : A unique aes exchange key is created for each public key of the delegator. This is the public key corresponding to the encryptedHcPartyKeys
326
- * @param encryptedHcPartyKeys The encryptedHcPartyKeys to be decrypted
327
- * @param publicKeys The public keys for which we might have a private key
328
- *
329
- * @returns - **delegatorId** the input param `delegatorId`
330
- * - **key** the decrypted `encryptedHcPartyKey`
331
- */
332
-
333
- async decryptHcPartyKey(
334
- loggedHcPartyId: string,
335
- delegatorId: string,
336
- delegateHcPartyId: string,
337
- publicKey: string,
338
- encryptedHcPartyKeys: { [key: string]: string },
339
- publicKeys: string[]
340
- ): Promise<DelegatorAndKeys> {
341
- if (!publicKeys.length) {
342
- const reason = `Cannot decrypt RSA encrypted AES HcPartyKey from ${delegatorId} to ${delegateHcPartyId}: no public key`
343
- console.warn(reason)
344
- throw new Error(reason)
345
- }
346
-
347
- const cacheKey = `${delegateHcPartyId}|${publicKey.slice(-32)}|${delegatorId}`
348
- const res = this.hcPartyKeysCache[cacheKey]
349
-
350
- if (res) {
351
- return res
352
- }
353
-
354
- const result = await publicKeys.reduce(async (res, pk) => {
355
- const delegatorAndKeys = await res
356
- if (delegatorAndKeys) {
357
- return delegatorAndKeys
358
- }
359
-
360
- const fingerprint = pk.slice(-32)
361
- const keyPair = this.rsaKeyPairs[fingerprint] ?? (await this.cacheKeyPair(this.loadKeyPairNotImported(loggedHcPartyId, fingerprint)))
362
- if (!keyPair) {
363
- return
364
- }
365
-
366
- let encryptedHcPartyKey = encryptedHcPartyKeys[fingerprint]
367
- if (!encryptedHcPartyKey) {
368
- const delegate = await this.getDataOwner(delegateHcPartyId, false) //it is faster to just try to decrypt if not in cache
369
- if (!delegate?.dataOwner || delegate.dataOwner.publicKey?.endsWith(fingerprint)) {
370
- encryptedHcPartyKey = encryptedHcPartyKeys['']
371
- } else {
372
- return
373
- }
374
- }
375
-
376
- try {
377
- const decryptedAesExchangeKey = await this._RSA.decrypt(keyPair.privateKey, hex2ua(encryptedHcPartyKey))
378
- const importedAesExchangeKey = await this._AES.importKey('raw', decryptedAesExchangeKey)
379
-
380
- return (this.hcPartyKeysCache[cacheKey] = {
381
- delegatorId: delegatorId,
382
- key: importedAesExchangeKey,
383
- rawKey: ua2hex(new Uint8Array(decryptedAesExchangeKey)),
384
- })
385
- } catch (e) {
386
- const reason = `Cannot decrypt RSA encrypted AES HcPartyKey from ${delegatorId} to ${delegateHcPartyId} for pubKey ${fingerprint}: impossible to decrypt`
387
- console.log(reason)
388
- }
389
- }, Promise.resolve(undefined as DelegatorAndKeys | void))
390
-
391
- const availablePublicKeys = publicKeys.filter((pk) => this.rsaKeyPairs[pk.slice(-32)])
392
-
393
- if (!result) {
394
- //Try to find another key from the transfer keys
395
- const hcp = (await this.getDataOwner(loggedHcPartyId))!
396
- const candidates = Object.entries(hcp.dataOwner.transferKeys ?? {})
397
- .filter(([fp, _]) => availablePublicKeys.some((pk) => pk.slice(-32) === fp.slice(-32))) // only keep keys that we will be able to decrypt
398
- .flatMap(([pk, keys]) => Object.entries(keys).map(([k, v]) => [pk, k, v]))
399
- .filter(([_, k]) => !publicKeys.some((apk) => apk.slice(-32) === k.slice(-32)))
400
- if (candidates.length) {
401
- const newPublicKeys = await candidates.reduce(async (p, [decryptionKeyFingerprint, privateKeyFingerprint, encryptedPrivateKey]) => {
402
- const newKeys = await p
403
- const aesExchangeKeys = Object.entries(hcp.dataOwner.aesExchangeKeys!).find(
404
- ([fp, _]) => fp.slice(-32) === privateKeyFingerprint.slice(-32)
405
- )?.[1][loggedHcPartyId]
406
- if (aesExchangeKeys) {
407
- const encryptedAesExchangeKey = Object.entries(aesExchangeKeys).find(
408
- ([fp, _]) => fp.slice(-32) === decryptionKeyFingerprint.slice(-32)
409
- )?.[1]
410
- if (encryptedAesExchangeKey) {
411
- const keyPair = this.rsaKeyPairs[decryptionKeyFingerprint.slice(-32)]
412
- if (!keyPair) {
413
- return newKeys
414
- }
415
- const decryptedAesExchangeKey = await this._RSA.decrypt(keyPair.privateKey, hex2ua(encryptedAesExchangeKey))
416
- const importedAesExchangeKey = await this._AES.importKey('raw', decryptedAesExchangeKey)
417
-
418
- const decryptedPrivateKey = await this._AES.decrypt(importedAesExchangeKey, hex2ua(encryptedPrivateKey))
419
-
420
- const newPublicKey = Object.keys(hcp.dataOwner.aesExchangeKeys!).find((fp) => fp.slice(-32) === privateKeyFingerprint.slice(-32))!
421
- await this.cacheKeyPair({
422
- publicKey: spkiToJwk(hex2ua(newPublicKey)),
423
- privateKey: pkcs8ToJwk(decryptedPrivateKey),
424
- })
425
-
426
- return newKeys.concat([newPublicKey])
427
- }
428
- }
429
- return newKeys
430
- }, Promise.resolve([] as string[]))
431
-
432
- if (newPublicKeys.length) {
433
- return await this.decryptHcPartyKey(loggedHcPartyId, delegatorId, delegateHcPartyId, publicKey, encryptedHcPartyKeys, newPublicKeys)
434
- }
435
- }
436
-
437
- const reason = `Cannot decrypt RSA encrypted AES HcPartyKey from ${delegatorId} to ${delegateHcPartyId}: impossible to decrypt. No private key was found or could be used to decrypt the aes exchange keys`
438
- console.log(reason)
439
- throw new Error(reason)
440
- }
441
-
442
- return result
443
- }
444
-
445
- /**
446
- * Cache the RSA private/public key pair for the HcP with the given id `hcPartyKeyOwner`
447
- */
448
- cacheKeyPair(keyPairInJwk: { publicKey: JsonWebKey; privateKey: JsonWebKey }): Promise<{ publicKey: CryptoKey; privateKey: CryptoKey }> {
449
- return this._RSA.importKeyPair('jwk', keyPairInJwk.privateKey, 'jwk', keyPairInJwk.publicKey).then((importedKeyPair) => {
450
- const pk = jwk2spki(keyPairInJwk.publicKey)
451
- return (this.rsaKeyPairs[pk.slice(-32)] = importedKeyPair)
452
- })
453
- }
454
-
455
- /**
456
- * Gets the secret ID (SFKs) that should be used in the prescribed context (confidential or not) from decrypted SPKs of the given `parent`, decrypted by the HcP with the given `hcpartyId` AND by its HcP parents
457
- * @param parent :the object of which delegations (SPKs) to decrypt
458
- * @param hcpartyId :the id of the delegate HcP
459
- * @param confidential :weather the key is going to be used for a confidential piece or data or not
460
- * @returns - **extractedKeys** array containing secret IDs (SFKs) from decrypted SPKs, from both given HcP and its parents ; can contain duplicates
461
- * - **hcpartyId** the given `hcpartyId` OR, if a parent exist, the HcP id of the top parent in the hierarchy (even if that parent has no delegations)
462
- */
463
- async extractPreferredSfk(parent: EncryptedParentEntity, hcpartyId: string, confidential: boolean) {
464
- const secretForeignKeys = await this.extractSFKsHierarchyFromDelegations(parent, hcpartyId)
465
- const keys = secretForeignKeys
466
- .filter(({ extractedKeys }) => extractedKeys.length > 0)
467
- .filter((x, idx) => (confidential ? x.hcpartyId === hcpartyId : idx === 0))[0]
468
-
469
- return (
470
- (keys &&
471
- (confidential
472
- ? keys.extractedKeys.find(
473
- (k) => !secretForeignKeys.some(({ extractedKeys, hcpartyId: parentHcpId }) => hcpartyId !== parentHcpId && extractedKeys.includes(k))
474
- )
475
- : keys.extractedKeys[0])) ||
476
- undefined
477
- )
478
- }
479
-
480
- /**
481
- * Gets an array of decrypted HcPartyKeys, shared between the delegate with ID `delegateHcPartyId` and the delegators in `delegatorsHcPartyIdsSet`
482
- *
483
- * 1. Get the keys for the delegateHealthCareParty (cache/backend).
484
- * 2. For each key in the delegators, decrypt it with the delegate's private key
485
- * 3. Filter out undefined keys and return them
486
- *
487
- * @param delegatorsHcPartyIdsSet array of delegator HcP IDs that could have delegated something to the HcP with ID `delegateHcPartyId`
488
- * @param delegateHcPartyId the HcP for which the HcPs with IDs in `delegatorsHcPartyIdsSet` could have delegated something
489
- * @param minCacheDurationInSeconds The minimum cache duration
490
- * @returns - **delegatorId** : the id of the delegator HcP that shares the **key** with the `delegateHcPartyId`
491
- * - **key** the decrypted HcPartyKey, shared between **delegatorId** and `delegateHcPartyId`
492
- */
493
- async decryptAndImportAesHcPartyKeysForDelegators(
494
- delegatorsHcPartyIdsSet: Array<string>,
495
- delegateHcPartyId: string,
496
- minCacheDurationInSeconds: number = 60
497
- ): Promise<Array<DelegatorAndKeys>> {
498
- const aesExchangeKeys = await this.getEncryptedAesExchangeKeysForDelegate(delegateHcPartyId).then(
499
- async (delegatorIdsWithDelegateEncryptedHcPartyKeys: { [key: string]: { [key: string]: { [key: string]: string } } }) => {
500
- // [key: delegatorId] = delegateEncryptedHcPartyKey
501
- // For each delegatorId, obtain the AES key (decrypted HcParty Key) shared with the delegate, decrypted by the delegate
502
- return (
503
- await Promise.all(
504
- delegatorsHcPartyIdsSet.map(async (delegatorId: string) => {
505
- const encryptedHcPartyKeysForPubKeyFingerprint = delegatorIdsWithDelegateEncryptedHcPartyKeys[delegatorId]
506
- if (!encryptedHcPartyKeysForPubKeyFingerprint) {
507
- return [] as DelegatorAndKeys[]
508
- }
509
- const decryptedKeys = await Promise.all(
510
- Object.entries(encryptedHcPartyKeysForPubKeyFingerprint).map(async ([delegatorPubKeyFinerprint, encryptedAesExchangeKeys]) => {
511
- try {
512
- return await this.decryptHcPartyKey(
513
- delegateHcPartyId,
514
- delegatorId,
515
- delegateHcPartyId,
516
- delegatorPubKeyFinerprint,
517
- encryptedAesExchangeKeys,
518
- Object.keys(this.rsaKeyPairs)
519
- )
520
- } catch (e) {
521
- console.log(`failed to decrypt hcPartyKey from ${delegatorId} to ${delegateHcPartyId}`)
522
- return
523
- }
524
- })
525
- )
526
- return decryptedKeys.filter((x) => !!x) as DelegatorAndKeys[]
527
- })
528
- )
529
- ).reduce((acc, x) => [...acc, ...x], [])
530
- }
531
- )
532
-
533
- if (aesExchangeKeys.length > 0) {
534
- return aesExchangeKeys
535
- }
536
-
537
- const nowTimestamp = +new Date()
538
- if (!this.cacheLastDeletionTimestamp || (nowTimestamp - this.cacheLastDeletionTimestamp) / 1000 >= minCacheDurationInSeconds) {
539
- delete this.hcPartyKeysRequestsCache[delegateHcPartyId]
540
- this.cacheLastDeletionTimestamp = nowTimestamp
541
- return this.decryptAndImportAesHcPartyKeysForDelegators(delegatorsHcPartyIdsSet, delegateHcPartyId, minCacheDurationInSeconds)
542
- }
543
-
544
- return []
545
- }
546
-
547
- /**
548
- * Gets an array of decrypted HcPartyKeys from the given `delegations`, that are shared with / can be decrypted by the HcP with the given `healthcarePartyId` (or by its parents when `fallbackOnParent` is true)
549
- *
550
- * 1. Checks whether the delegations' object has a delegation for the
551
- * given healthCarePartyId.
552
- * 2. Enumerates all the delegators (delegation.owner) present in
553
- * the delegations.
554
- * 3. Decrypt's delegators' keys and returns them.
555
- *
556
- * @param dataOwnerId : the id of the delegate HCP
557
- * @param delegations : delegations (can be SPKs, CFKs, EKs) for all delegates
558
- * @param fallbackOnParent default true; use parent's healthCarePartyId in case there's no delegation for the `healthcarePartyId`
559
- * @returns - **delegatorId** : the id of the delegator HcP that shares the **key** with the `healthcarePartyId`
560
- * - **key** the decrypted HcPartyKey, shared between **delegatorId** and `healthcarePartyId`
561
- */
562
- async getDecryptedAesExchangeKeysOfDelegateAndParentsFromGenericDelegations(
563
- dataOwnerId: string,
564
- delegations: { [key: string]: Array<Delegation> },
565
- fallbackOnParent = true
566
- ): Promise<Array<DelegatorAndKeys>> {
567
- const delegationsArray = delegations[dataOwnerId] ?? []
568
-
569
- if (!delegationsArray.length && fallbackOnParent) {
570
- const { dataOwner: hcp } = await this.getDataOwner(dataOwnerId)
571
- return (hcp as any).parentId
572
- ? await this.getDecryptedAesExchangeKeysOfDelegateAndParentsFromGenericDelegations((hcp as any).parentId, delegations)
573
- : []
574
- } else {
575
- const delegatorIds = new Set<string>()
576
- delegationsArray.forEach((del) => delegatorIds.add(del.owner!))
577
- return this.decryptAndImportAesHcPartyKeysForDelegators(Array.from(delegatorIds), dataOwnerId)
578
- }
579
- }
580
-
581
- /**
582
- * Retrieve the owner HealthCareParty key and use it to encrypt
583
- * both the delegations (createdObject.id) and the cryptedForeignKeys
584
- * (parentObject.id), and returns them in an object.
585
- */
586
- async initObjectDelegations(
587
- createdObject: any,
588
- parentObject: any,
589
- ownerId: string,
590
- secretForeignKeyOfParent: string | null
591
- ): Promise<{
592
- owner: HealthcareParty | Device | Patient
593
- delegations: any
594
- cryptedForeignKeys: any
595
- secretForeignKeys: any[]
596
- secretId: string
597
- }> {
598
- const publicKeys = await this.getPublicKeys()
599
-
600
- this.throwDetailedExceptionForInvalidParameter('createdObject.id', createdObject.id, 'initObjectDelegations', arguments)
601
-
602
- if (parentObject) this.throwDetailedExceptionForInvalidParameter('parentObject.id', parentObject.id, 'initObjectDelegations', arguments)
603
-
604
- const secretId = this.randomUuid()
605
- return this.getDataOwner(ownerId).then(async ({ dataOwner: owner }) => {
606
- const { owner: modifiedOwner, aesExchangeKeys } = await this.getOrCreateHcPartyKeys(owner, ownerId)
607
- const importedAESHcPartyKey = await this.decryptAnyAesExchangeKeyForOwner(aesExchangeKeys, ownerId, ownerId, ownerId, publicKeys)
608
-
609
- const encryptedDelegation = await this._AES.encrypt(
610
- importedAESHcPartyKey.key,
611
- string2ua(createdObject.id + ':' + secretId).buffer as ArrayBuffer,
612
- importedAESHcPartyKey.rawKey
613
- )
614
- const encryptedSecretForeignKey = parentObject
615
- ? await this._AES.encrypt(
616
- importedAESHcPartyKey.key,
617
- string2ua(createdObject.id + ':' + parentObject.id).buffer as ArrayBuffer,
618
- importedAESHcPartyKey.rawKey
619
- )
620
- : undefined
621
-
622
- return {
623
- owner: modifiedOwner,
624
- delegations: _.fromPairs([
625
- [
626
- ownerId,
627
- [
628
- {
629
- owner: ownerId,
630
- delegatedTo: ownerId,
631
- key: ua2hex(encryptedDelegation!),
632
- },
633
- ],
634
- ],
635
- ]),
636
- cryptedForeignKeys:
637
- (encryptedSecretForeignKey
638
- ? _.fromPairs([
639
- [
640
- ownerId,
641
- [
642
- {
643
- owner: ownerId,
644
- delegatedTo: ownerId,
645
- key: ua2hex(encryptedSecretForeignKey!),
646
- },
647
- ],
648
- ],
649
- ])
650
- : {}) || {},
651
- secretForeignKeys: (secretForeignKeyOfParent && [secretForeignKeyOfParent]) || [],
652
- secretId: secretId,
653
- }
654
- })
655
- }
656
-
657
- private async decryptAnyAesExchangeKeyForOwner(
658
- aesExchangeKeys: { [p: string]: { [p: string]: string } },
659
- loggedHcPartyId: string,
660
- delegatorId: string,
661
- delegateHcPartyId: string,
662
- publicKeys: string[]
663
- ) {
664
- const importedAESHcPartyKey = await Object.entries(aesExchangeKeys).reduce(async (acc, [publicKeyIdentifier, hcPartyKeys]) => {
665
- const accValue = await acc
666
- if (accValue) {
667
- return accValue
668
- }
669
- try {
670
- return await this.decryptHcPartyKey(loggedHcPartyId, delegatorId, delegateHcPartyId, publicKeyIdentifier, hcPartyKeys, publicKeys)
671
- } catch (e) {
672
- return undefined
673
- }
674
- }, Promise.resolve(undefined as DelegatorAndKeys | undefined))
675
-
676
- if (!importedAESHcPartyKey) {
677
- throw new Error(`No hcParty key can be decrypted from ${delegatorId} to ${delegateHcPartyId} using currently available private keys`)
678
- }
679
- return importedAESHcPartyKey
680
- }
681
-
682
- /**
683
- * Gets updated instances of SPKs and CKFs for the child object `modifiedObject`.
684
- * These updated SPKs and CKFs contain new SPKs/CFKs to provide delegation from delegator HcP with id `ownerId` to delegate HcP with id `delegateId`
685
- *
686
- * 1. if `secretIdOfModifiedObject` is not provided, the method will throw an exception; this `secretIdOfModifiedObject` is used to generate a new delegation (SPK) in step 3;
687
- * the `secretIdOfModifiedObject` is returned, unmodified, as `secretId`
688
- * 2. if the owner (delegator) did not perform a delegation to the delegate, then this HcP delegation (creation of a new HcPKey) is performed now
689
- * 3. creates a new delegation (Secret Primary Keys) on the `modifiedObject` encrypted with the HcPKey from owner to the delegate;
690
- * 4. if `parentObject` != null, creates a new CFK on the `modifiedObject` encrypted with the HcPKey from owner to the delegate;
691
- * 5. this new delegation (from step 3) is added to the list of existing delegations (Secret Primary Keys) on the `modifiedObject` for the delegate given by `delegateId`
692
- * 6. if the CFK (from step 4) can be created, this new CFK is added to the list of existing CFKs on the `modifiedObject` for the delegate given by `delegateId`
693
- * 7. then some duplicates delegations (SPKs) and CKFs are removed
694
- *
695
- * @param modifiedObject : the object of which SPKs and CFKs will be cloned, the clones will be modified and then used as returned values ; it's a 'child' of `parentObject`; will NOT be mutated
696
- * @param parentObject : will NOT be mutated
697
- * @param ownerId : the HcP id of the delegator
698
- * @param delegateId : the HcP id of the delegate
699
- * @param secretIdOfModifiedObject : the secret id used in the child object to generate its SPK
700
- * @returns - **delegations** existing delegations (SPKs) of the `modifiedObject`, appended with results from step 5
701
- * - **cryptedForeignKeys** existing CFKs of the `modifiedObject`, appended with results from steps 6
702
- * - **secretId** which is the given input parameter `secretIdOfModifiedObject`
703
- */
704
-
705
- extendedDelegationsAndCryptedForeignKeys<T extends EncryptedEntity, P extends EncryptedParentEntity>(
706
- //TODO: suggested name: getExtendedChildObjectSPKandCFKwithDelegationFromDelegatorToDelegate
707
- modifiedObject: T,
708
- parentObject: P | null,
709
- ownerId: string,
710
- delegateId: string,
711
- secretIdOfModifiedObject: string | null
712
- ): Promise<{
713
- modifiedObject: T
714
- delegations: { [key: string]: Array<Delegation> }
715
- cryptedForeignKeys: { [key: string]: Array<Delegation> }
716
- secretId: string | null //TODO: why input parameter secretIdOfModifiedObject is returned?
717
- }> {
718
- this.throwDetailedExceptionForInvalidParameter('modifiedObject.id', modifiedObject.id, 'extendedDelegationsAndCryptedForeignKeys', arguments) //modifiedObject should never be null
719
-
720
- if (parentObject)
721
- this.throwDetailedExceptionForInvalidParameter('parentObject.id', parentObject?.id, 'extendedDelegationsAndCryptedForeignKeys', arguments)
722
-
723
- this.throwDetailedExceptionForInvalidParameter(
724
- 'secretIdOfModifiedObject',
725
- secretIdOfModifiedObject,
726
- 'extendedDelegationsAndCryptedForeignKeys',
727
- arguments
728
- )
729
-
730
- return this.getDataOwner(ownerId)
731
- .then(async ({ dataOwner: owner }) => {
732
- const publicKeys = await this.getPublicKeys()
733
- const { owner: modifiedOwner, aesExchangeKeys } = await this.getOrCreateHcPartyKeys(owner, delegateId)
734
- const importedAESHcPartyKey = await this.decryptAnyAesExchangeKeyForOwner(aesExchangeKeys, ownerId, delegateId, ownerId, publicKeys)
735
-
736
- modifiedObject = modifiedObject?.id === owner.id ? (modifiedOwner as T) : modifiedObject
737
-
738
- return {
739
- previousDecryptedDelegations: await Promise.all(
740
- ((modifiedObject.delegations || {})[delegateId] || []).map(
741
- (d: Delegation) =>
742
- (d.key &&
743
- d.owner === ownerId &&
744
- this._AES.decrypt(importedAESHcPartyKey.key, hex2ua(d.key), importedAESHcPartyKey.rawKey).catch(() => {
745
- console.log(
746
- `Cannot decrypt delegation from ${d.owner} to ${d.delegatedTo} for object with id ${modifiedObject.id}:`,
747
- modifiedObject
748
- )
749
- return Promise.resolve()
750
- })) ||
751
- Promise.resolve()
752
- ) as Array<Promise<ArrayBuffer>>
753
- ),
754
-
755
- previousDecryptedCryptedForeignKeys: await Promise.all(
756
- ((modifiedObject.cryptedForeignKeys || {})[delegateId] || []).map(
757
- (d: Delegation) =>
758
- (d.key &&
759
- d.owner === ownerId &&
760
- this._AES.decrypt(importedAESHcPartyKey.key, hex2ua(d.key), importedAESHcPartyKey.rawKey).catch(() => {
761
- console.log(
762
- `Cannot decrypt cryptedForeignKeys from ${d.owner} to ${d.delegatedTo} for object with id ${modifiedObject.id}:`,
763
- modifiedObject
764
- )
765
- return Promise.resolve()
766
- })) ||
767
- Promise.resolve()
768
- ) as Array<Promise<ArrayBuffer>>
769
- ),
770
-
771
- cryptedDelegation: await this._AES.encrypt(
772
- importedAESHcPartyKey.key,
773
- string2ua(modifiedObject.id + ':' + secretIdOfModifiedObject!).buffer as ArrayBuffer,
774
- importedAESHcPartyKey.rawKey
775
- ),
776
-
777
- cryptedForeignKey: parentObject
778
- ? await this._AES.encrypt(
779
- importedAESHcPartyKey.key,
780
- string2ua(modifiedObject.id + ':' + parentObject.id).buffer as ArrayBuffer,
781
- importedAESHcPartyKey.rawKey
782
- )
783
- : undefined,
784
- }
785
- })
786
- .then(({ previousDecryptedDelegations, previousDecryptedCryptedForeignKeys, cryptedDelegation, cryptedForeignKey }) => {
787
- //try to limit the extent of the modifications to the delegations by preserving the redundant delegation already present and removing duplicates
788
- //For delegate delegateId, we create:
789
- // 1. an array of objects { d : {owner,delegatedTo,encrypted(key)}} with one object for each existing delegation and the new key concatenated
790
- // 2. an array of objects { k : decrypted(key)} with one object for the existing delegations and the new key concatenated
791
- // We merge them to get one array of objects: { d: {owner,delegatedTo,encrypted(key)}, k: decrypted(key)}
792
- const delegationCryptedDecrypted = (
793
- _.merge(
794
- ((modifiedObject.delegations || {})[delegateId] || []).map((d: Delegation) => ({
795
- d,
796
- })),
797
- (previousDecryptedDelegations || []).map((dd) => (dd ? ua2string(dd) : null)).map((k) => ({ k }))
798
- ) as { d: Delegation; k: string }[]
799
- )
800
- .filter(({ d, k }) => !!k || d.owner !== ownerId) //Only keep the ones created by us that can still be decrypted
801
- .map(({ d, k }) => ({
802
- d,
803
- k: k || this.randomUuid(),
804
- })) // Use some unique id that ensures the delegation not created by us are going to be held
805
- .concat([
806
- {
807
- d: {
808
- owner: ownerId,
809
- delegatedTo: delegateId,
810
- key: ua2hex(cryptedDelegation!),
811
- },
812
- k: modifiedObject.id + ':' + secretIdOfModifiedObject!,
813
- },
814
- ])
815
-
816
- const allDelegations = _.cloneDeep(modifiedObject.delegations || {})
817
-
818
- //Only keep one version of the decrypted key
819
- allDelegations[delegateId] = _.uniqBy(delegationCryptedDecrypted, (x: any) => x.k).map((x: any) => x.d)
820
-
821
- const cryptedForeignKeysCryptedDecrypted = (
822
- _.merge(
823
- ((modifiedObject.cryptedForeignKeys || {})[delegateId] || []).map((d: Delegation) => ({
824
- d,
825
- })),
826
- (previousDecryptedCryptedForeignKeys || []).map((dd) => (dd ? ua2string(dd) : null)).map((k) => ({ k }))
827
- ) as { d: Delegation; k: string }[]
828
- )
829
- .filter(({ d, k }) => !!k || d.owner !== ownerId) //Only keep the ones created by us that can still be decrypted
830
- .map(({ d, k }: { d: Delegation; k: string }) => ({
831
- d,
832
- k: k || this.randomUuid(),
833
- })) // Use some unique id that ensures the delegation not created by us are going to be held
834
- .concat(
835
- cryptedForeignKey
836
- ? [
837
- {
838
- d: {
839
- owner: ownerId,
840
- delegatedTo: delegateId,
841
- key: ua2hex(cryptedForeignKey),
842
- },
843
- k: modifiedObject.id + ':' + parentObject?.id,
844
- },
845
- ]
846
- : []
847
- )
848
-
849
- const allCryptedForeignKeys = _.cloneDeep(modifiedObject.cryptedForeignKeys || {})
850
- if (cryptedForeignKeysCryptedDecrypted.length > 0) {
851
- allCryptedForeignKeys[delegateId] = _.uniqBy(cryptedForeignKeysCryptedDecrypted, (x: any) => x.k).map((x: any) => x.d)
852
- }
853
-
854
- return {
855
- modifiedObject,
856
- delegations: allDelegations,
857
- cryptedForeignKeys: allCryptedForeignKeys,
858
- secretId: secretIdOfModifiedObject,
859
- }
860
- })
861
- }
862
-
863
- // What we need is to find aes exchange keys on the owner ! Even just with whom he shared information, we don't care about aes exchange keys
864
- private async _getDelegateIdsOf(owner: HealthcareParty | Patient | Device): Promise<string[]> {
865
- const mapOfAesExchKeysDelegates = Object.entries(owner.aesExchangeKeys ?? {}).reduce(
866
- (map, [, aesExchKeys]) => map.concat(Object.keys(aesExchKeys).filter((delegateId) => !map.includes(delegateId))),
867
- [] as string[]
868
- )
869
-
870
- return owner.hcPartyKeys
871
- ? mapOfAesExchKeysDelegates.concat(Object.keys(owner.hcPartyKeys).filter((delegateId) => !mapOfAesExchKeysDelegates.includes(delegateId)))
872
- : mapOfAesExchKeysDelegates
873
- }
874
-
875
- async getEncryptedAesExchangeKeys(
876
- owner: HealthcareParty | Patient | Device,
877
- delegateId: string
878
- ): Promise<{ [pubKeyIdentifier: string]: { [pubKeyFingerprint: string]: string } }> {
879
- const publicKeys = await this.getPublicKeys()
880
- const mapOfAesExchangeKeys = Object.entries(owner.aesExchangeKeys ?? {})
881
- .filter((e) => e[1][delegateId] && Object.keys(e[1][delegateId]).some((k1) => publicKeys.some((pk) => pk.endsWith(k1))))
882
- .reduce((map, e) => {
883
- const candidates = Object.entries(e[1][delegateId]) //[fingerprint of delegate pub key, key], [fingerprint of owner pub key, key]
884
- const [publicKeyFingerprint, encryptedAesExchangeKey] = candidates[candidates.findIndex(([k, v]) => publicKeys.some((pk) => pk.endsWith(k)))]
885
- return { ...map, [e[0]]: { [publicKeyFingerprint]: encryptedAesExchangeKey } }
886
- }, {} as { [pubKeyIdentifier: string]: { [pubKeyFingerprint: string]: string } })
887
-
888
- if (!owner.publicKey || mapOfAesExchangeKeys[owner.publicKey] || !owner.hcPartyKeys?.[delegateId]) {
889
- return mapOfAesExchangeKeys
890
- }
891
- const delegate = (await this.getDataOwner(delegateId)).dataOwner
892
- if (delegate.publicKey && publicKeys.includes(delegate.publicKey)) {
893
- return {
894
- ...mapOfAesExchangeKeys,
895
- [owner.publicKey]: { [(await this.getDataOwner(delegateId)).dataOwner.publicKey?.slice(-32)!]: owner.hcPartyKeys[delegateId][1] },
896
- }
897
- } else if (publicKeys.includes(owner.publicKey)) {
898
- return { ...mapOfAesExchangeKeys, [owner.publicKey]: { [owner.publicKey.slice(-32)]: owner.hcPartyKeys[delegateId][0] } }
899
- }
900
- return mapOfAesExchangeKeys
901
- }
902
-
903
- async getOrCreateHcPartyKeys(
904
- owner: HealthcareParty | Patient | Device,
905
- delegateId: string
906
- ): Promise<{
907
- owner: HealthcareParty | Patient | Device
908
- aesExchangeKeys: { [pubKeyIdentifier: string]: { [pubKeyFingerprint: string]: string } }
909
- }> {
910
- const aesExchangeKeys = await this.getEncryptedAesExchangeKeys(owner, delegateId)
911
- if (Object.keys(aesExchangeKeys).length) {
912
- return { owner, aesExchangeKeys }
913
- }
914
-
915
- const modifiedOwner = await this.generateKeyForDelegate(owner.id!, delegateId)
916
- return { owner: modifiedOwner, aesExchangeKeys: await this.getEncryptedAesExchangeKeys(modifiedOwner, delegateId) }
917
- }
918
-
919
- /**
920
- * Retrieve the owners HealthCareParty key, decrypt it, and
921
- * use it to encrypt & initialize the "encryptionKeys" object
922
- * and return it.
923
- * @param createdObject
924
- * @param ownerId
925
- */
926
- initEncryptionKeys(
927
- createdObject: any,
928
- ownerId: string
929
- ): Promise<{
930
- encryptionKeys: any
931
- secretId: string
932
- }> {
933
- this.throwDetailedExceptionForInvalidParameter('createdObject.id', createdObject.id, 'initEncryptionKeys', arguments)
934
-
935
- const secretId = this.randomUuid()
936
- return this.getDataOwner(ownerId).then(async ({ dataOwner: owner }) => {
937
- const publicKeys = await this.getPublicKeys()
938
- const { owner: modifiedOwner, aesExchangeKeys } = await this.getOrCreateHcPartyKeys(owner, ownerId)
939
- const importedAESHcPartyKey = await this.decryptAnyAesExchangeKeyForOwner(aesExchangeKeys, ownerId, ownerId, ownerId, publicKeys)
940
- const encryptedEncryptionKeys = await this._AES.encrypt(
941
- importedAESHcPartyKey.key,
942
- string2ua(createdObject.id + ':' + secretId),
943
- importedAESHcPartyKey.rawKey
944
- )
945
-
946
- return {
947
- encryptionKeys: _.fromPairs([
948
- [
949
- ownerId,
950
- [
951
- {
952
- owner: ownerId,
953
- delegatedTo: ownerId,
954
- key: ua2hex(encryptedEncryptionKeys),
955
- },
956
- ],
957
- ],
958
- ]),
959
- secretId: secretId,
960
- }
961
- })
962
- }
963
-
964
- /**
965
- * Gets an updated instance of the EKs of `modifiedObject`.
966
- * The updated EKs contain a new EK to provide delegation from delegator HcP with id `ownerId` to delegate HcP with id `delegateId`.
967
- * @param modifiedObject : the object of which EKs will be cloned, the clone will be used to append the new EK, and then used as return value; will NOT be mutated
968
- * @param ownerId : delegator HcP id
969
- * @param delegateId : delegate HcP id
970
- * @param secretEncryptionKeyOfObject : secret Id for the EK (Content Encryption Key)
971
- * @returns
972
- * - **encryptionKeys** existing EKs of the `modifiedObject`, appended with a new EK item (owner: `ownerId`, delegatedTo: `delegateId`, encrypted key with secretId:
973
- * `secretEncryptionKeyOfObject` )
974
- * - **secretId** which is the given input parameter `secretEncryptionKeyOfObject`
975
- */
976
- async appendEncryptionKeys<T extends EncryptedEntity>(
977
- //TODO: suggested name: getExtendedEKwithDelegationFromDelegatorToDelegate
978
- modifiedObject: T,
979
- ownerId: string,
980
- delegateId: string,
981
- secretEncryptionKeyOfObject: string
982
- ): Promise<{
983
- modifiedObject: T
984
- encryptionKeys: { [key: string]: Array<Delegation> }
985
- secretId: string | null //secretEncryptionKeyOfObject is returned to avoid the need for a new decryption when chaining calls
986
- }> {
987
- this.throwDetailedExceptionForInvalidParameter('modifiedObject.id', modifiedObject.id, 'appendEncryptionKeys', arguments) //modifiedObject should never be null
988
-
989
- this.throwDetailedExceptionForInvalidParameter('secretEncryptionKeyOfObject', secretEncryptionKeyOfObject, 'appendEncryptionKeys', arguments)
990
-
991
- const owner = (await this.getDataOwner(ownerId)).dataOwner
992
- const publicKeys = await this.getPublicKeys()
993
- const { owner: modifiedOwner, aesExchangeKeys } = await this.getOrCreateHcPartyKeys(owner, delegateId)
994
- modifiedObject = modifiedObject?.id === owner.id ? (modifiedOwner as T) : modifiedObject
995
- const importedAESHcPartyKey = await this.decryptAnyAesExchangeKeyForOwner(aesExchangeKeys, ownerId, ownerId, delegateId, publicKeys)
996
- const previousDecryptedEncryptionKeys = await Promise.all(
997
- ((modifiedObject.encryptionKeys || {})[delegateId] || []).map(
998
- (d: Delegation) =>
999
- (d.key &&
1000
- d.owner === ownerId &&
1001
- this._AES.decrypt(importedAESHcPartyKey.key, hex2ua(d.key), importedAESHcPartyKey.rawKey).catch(() => {
1002
- console.log(
1003
- `Cannot decrypt encryption key from ${d.owner} to ${d.delegatedTo} for object with id ${modifiedObject.id}:`,
1004
- modifiedObject
1005
- )
1006
- return Promise.resolve()
1007
- })) ||
1008
- Promise.resolve()
1009
- ) as Array<Promise<ArrayBuffer>>
1010
- )
1011
- const encryptedEncryptionKey = await this._AES.encrypt(
1012
- importedAESHcPartyKey.key,
1013
- string2ua(modifiedObject.id + ':' + secretEncryptionKeyOfObject)
1014
- )
1015
- //try to limit the extent of the modifications to the delegations by preserving the redundant encryption keys already present and removing duplicates
1016
- //For delegate delegateId, we create:
1017
- // 1. an array of objects { d : {owner,delegatedTo,encrypted(key)}} with one object for the existing encryption keys and the new key concatenated
1018
- // 2. an array of objects { k : decrypted(key)} with one object for the existing delegations and the new key concatenated
1019
- // We merge them to get one array of objects: { d: {owner,delegatedTo,encrypted(key)}, k: decrypted(key)}
1020
- const encryptionKeysCryptedDecrypted = (
1021
- _.merge(
1022
- ((modifiedObject.encryptionKeys || {})[delegateId] || []).map((d: Delegation) => ({
1023
- d,
1024
- })),
1025
- (previousDecryptedEncryptionKeys || []).map((dd) => (dd ? ua2string(dd) : null)).map((k) => ({ k }))
1026
- ) as { d: Delegation; k: string }[]
1027
- )
1028
- .filter(({ d, k }: { d: Delegation; k: string }) => !!k || d.owner !== ownerId) //Only keep the ones created by us that can still be decrypted
1029
- .map(({ d, k }: { d: Delegation; k: string }) => ({ d, k: k || this.randomUuid() }))
1030
- .concat([
1031
- {
1032
- d: {
1033
- owner: ownerId,
1034
- delegatedTo: delegateId,
1035
- key: ua2hex(encryptedEncryptionKey),
1036
- },
1037
- k: modifiedObject.id + ':' + secretEncryptionKeyOfObject!,
1038
- },
1039
- ])
1040
-
1041
- const allEncryptionKeys = _.cloneDeep(modifiedObject.encryptionKeys || {})
1042
- allEncryptionKeys[delegateId] = _.uniqBy(encryptionKeysCryptedDecrypted, (x: any) => x.k).map((x: any) => x.d)
1043
-
1044
- return {
1045
- modifiedObject: modifiedObject,
1046
- encryptionKeys: allEncryptionKeys,
1047
- secretId: secretEncryptionKeyOfObject,
1048
- }
1049
- }
1050
-
1051
- /**
1052
- * Gets an updated `child` object that will have its SPKs, CFKs, KSs updated to include delegations from delegator HcP with id `ownerId` to delegate HcP with id `delegateId`
1053
- * The SFKs of `child` are not updated, so this method assumes this is not the initial delegation on the `child` object
1054
- * The method also performs some deduplication of all types of delegations.
1055
- * @param parent : the parent object of `child`; will NOT be mutated
1056
- * @param child : the object that will be mutated and returned
1057
- * @param ownerId delegator HcP id
1058
- * @param delegateId delegate HcP id
1059
- * @param secretDelegationKey the secret Id used in the child object to generate the SPK
1060
- * @param secretEncryptionKey the secret Id used in the child object to generate the EK (Content Encryption Key)
1061
- * @returns - an updated `child` object that will contain updated SPKs, CFKs, EKs
1062
- * */
1063
-
1064
- async addDelegationsAndEncryptionKeys<T extends EncryptedEntity>(
1065
- //TODO: suggested name: updateChildGenericDelegationsFromDelegatorToDelegate
1066
- parent: EncryptedParentEntity | null,
1067
- child: T,
1068
- ownerId: string,
1069
- delegateId: string,
1070
- secretDelegationKey: string | null,
1071
- secretEncryptionKey: string | null
1072
- ): Promise<T> {
1073
- if (parent) this.throwDetailedExceptionForInvalidParameter('parent.id', parent.id, 'addDelegationsAndEncryptionKeys', arguments)
1074
-
1075
- this.throwDetailedExceptionForInvalidParameter('child.id', child.id, 'addDelegationsAndEncryptionKeys', arguments)
1076
-
1077
- const extendedChildObjectSPKsAndCFKs = secretDelegationKey
1078
- ? await this.extendedDelegationsAndCryptedForeignKeys(child, parent, ownerId, delegateId, secretDelegationKey)
1079
- : { modifiedObject: child, delegations: {}, cryptedForeignKeys: {}, secretId: null }
1080
-
1081
- const extendedChildObjectEKs = secretEncryptionKey
1082
- ? await this.appendEncryptionKeys(extendedChildObjectSPKsAndCFKs.modifiedObject, ownerId, delegateId, secretEncryptionKey)
1083
- : { encryptionKeys: {}, modifiedObject: extendedChildObjectSPKsAndCFKs.modifiedObject }
1084
-
1085
- const latestObject = extendedChildObjectEKs.modifiedObject
1086
-
1087
- return _.assign(latestObject, {
1088
- // Conservative version ... We might want to be more aggressive with the deduplication of keys
1089
- // For each delegate, we are going to concatenate to the src (the new delegations), the object in dest (the current delegations)
1090
- // for which we do not find an equivalent delegation (same delegator, same delegate)
1091
- delegations: _.assignWith(child.delegations, extendedChildObjectSPKsAndCFKs.delegations, (dest, src) =>
1092
- (src || []).concat(_.filter(dest, (d: Delegation) => !src.some((s: Delegation) => s.owner === d.owner && s.delegatedTo === d.delegatedTo)))
1093
- ),
1094
- cryptedForeignKeys: _.assignWith(child.cryptedForeignKeys, extendedChildObjectSPKsAndCFKs.cryptedForeignKeys, (dest, src) =>
1095
- (src || []).concat(_.filter(dest, (d: Delegation) => !src.some((s: Delegation) => s.owner === d.owner && s.delegatedTo === d.delegatedTo)))
1096
- ),
1097
- encryptionKeys: _.assignWith(child.encryptionKeys, extendedChildObjectEKs.encryptionKeys, (dest, src) =>
1098
- (src || []).concat(_.filter(dest, (d: Delegation) => !src.some((s: Delegation) => s.owner === d.owner && s.delegatedTo === d.delegatedTo)))
1099
- ),
1100
- })
1101
- }
1102
-
1103
- /**
1104
- * Gets the secret IDs (SFKs) inside decrypted SPKs of the given `document`, decrypted by the HcP with the given `hcpartyId` AND by its HcP parents
1105
- * @param document : the object of which delegations (SPKs) to decrypt
1106
- * @param hcpartyId : the id of the delegate HcP
1107
- * @returns - **extractedKeys** array containing secret IDs (SFKs) from decrypted SPKs, from both given HcP and its parents ; can contain duplicates
1108
- * - **hcpartyId** the given `hcpartyId` OR, if a parent exist, the HcP id of the top parent in the hierarchy (even if that parent has no delegations)
1109
- */
1110
- //TODO: even if there are no delegations for parent HCP (but the parent exists), the returned hcpartyId will be the one of the parent; is this ok?
1111
- extractDelegationsSFKs(
1112
- //TODO: suggested name: getSecretIDsSPKofHcpAndParentsFromDocument
1113
- document: EncryptedEntity | null,
1114
- hcpartyId?: string
1115
- ): Promise<{ extractedKeys: Array<string>; hcpartyId?: string }> {
1116
- if (!document || !hcpartyId) {
1117
- return Promise.resolve({ extractedKeys: [], hcpartyId: hcpartyId }) //TODO: thow exception instead?
1118
- }
1119
- const delegationsForAllDelegates = document.delegations
1120
- if (!delegationsForAllDelegates || !Object.keys(delegationsForAllDelegates).length) {
1121
- console.log(`There is no delegation in document (${document.id})`)
1122
- return Promise.resolve({ extractedKeys: [], hcpartyId: hcpartyId })
1123
- }
1124
- return this.extractKeysFromDelegationsForHcpHierarchy(hcpartyId, document.id!, delegationsForAllDelegates)
1125
- }
1126
-
1127
- /**
1128
- * Gets the secret IDs (SFKs) inside decrypted SPKs of the given `document`, decrypted by the HcP with the given `hcpartyId` AND by its HcP parents
1129
- * @param document : the object of which delegations (SPKs) to decrypt
1130
- * @param hcpartyId : the id of the delegate HcP
1131
- * @returns - **extractedKeys** array containing secret IDs (SFKs) from decrypted SPKs, from both given HcP and its parents ; can contain duplicates
1132
- * - **hcpartyId** the given `hcpartyId` OR, if a parent exist, the HcP id of the top parent in the hierarchy (even if that parent has no delegations)
1133
- */
1134
- extractSFKsHierarchyFromDelegations(
1135
- document: EncryptedEntity | null,
1136
- hcpartyId?: string
1137
- ): Promise<Array<{ hcpartyId: string; extractedKeys: Array<string> }>> {
1138
- if (!document || !hcpartyId) {
1139
- return Promise.resolve([])
1140
- }
1141
- const delegationsForAllDelegates = document.delegations
1142
- if (!delegationsForAllDelegates || !Object.keys(delegationsForAllDelegates).length) {
1143
- console.log(`There is no delegation in document (${document.id})`)
1144
- return Promise.resolve([])
1145
- }
1146
- return this.extractKeysHierarchyFromDelegationLikes(hcpartyId, document.id!, delegationsForAllDelegates)
1147
- }
1148
-
1149
- // noinspection JSUnusedGlobalSymbols
1150
-
1151
- extractCryptedFKs(
1152
- //TODO: suggested name: getSecretIDsCFKofHcpAndParentsFromDocument
1153
- document: EncryptedEntity | null,
1154
- hcpartyId: string
1155
- ): Promise<{ extractedKeys: Array<string>; hcpartyId: string }> {
1156
- if (!document || !document.cryptedForeignKeys) {
1157
- return Promise.resolve({ extractedKeys: [], hcpartyId: hcpartyId })
1158
- }
1159
- const cfksForAllDelegates = document.cryptedForeignKeys
1160
- if (!cfksForAllDelegates || !Object.keys(cfksForAllDelegates).length) {
1161
- console.log(`There is no cryptedForeignKeys in document (${document.id})`)
1162
- return Promise.resolve({ extractedKeys: [], hcpartyId: hcpartyId })
1163
- }
1164
- return this.extractKeysFromDelegationsForHcpHierarchy(hcpartyId, document.id!, cfksForAllDelegates)
1165
- }
1166
-
1167
- extractEncryptionsSKs(
1168
- //TODO: suggested name: getSecretIDsEKofHcpAndParentsFromDocument
1169
- document: EncryptedEntity,
1170
- hcpartyId: string
1171
- ): Promise<{ extractedKeys: Array<string>; hcpartyId: string }> {
1172
- if (!document.encryptionKeys) {
1173
- return Promise.resolve({ extractedKeys: [], hcpartyId: hcpartyId })
1174
- }
1175
- const eckeysForAllDelegates = document.encryptionKeys
1176
- if (!eckeysForAllDelegates || !Object.keys(eckeysForAllDelegates).length) {
1177
- return Promise.resolve({ extractedKeys: [], hcpartyId: hcpartyId })
1178
- }
1179
- return this.extractKeysFromDelegationsForHcpHierarchy(hcpartyId, document.id!, eckeysForAllDelegates)
1180
- }
1181
-
1182
- extractDelegationsSFKsAndEncryptionSKs(ety: EncryptedEntity, ownerId: string) {
1183
- const delegationsSfksOwnerPromise = this.extractDelegationsSFKs(ety, ownerId).then((xks) => xks.extractedKeys) //Will climb up hierarchy
1184
- const encryptionKeysOwnerPromise = this.extractEncryptionsSKs(ety, ownerId).then((xks) => xks.extractedKeys) //Will climb up hierarchy
1185
-
1186
- return Promise.all([delegationsSfksOwnerPromise, encryptionKeysOwnerPromise])
1187
- }
1188
-
1189
- /**
1190
- * Get decrypted generic secret IDs (secretIdSPKs, parentIds, secretIdEKs) from generic delegations (SPKs, CFKs, EKs)
1191
- * 1. Get HealthCareParty from it's Id.
1192
- * 2. Decrypt the keys of the given HCP.
1193
- * 3. Decrypt the parent's key if it has parent.
1194
- * 4. Return the decrypted key corresponding to the Health Care Party.
1195
- * @param hcpartyId : the id of the delegate HcP (including its parents) for which to decrypt `extractedKeys`
1196
- * @param objectId : the id of the object/document of which delegations to decrypt ; used just to log to console a message (Cryptographic mistake) in case the object id inside SPK, CFK, EK is different from this one
1197
- * @param delegations : generic delegations (can be SPKs, CFKs, EKs) for all delegates from where to extract `extractedKeys`
1198
- * @returns - **extractedKeys** array containing secret IDs from decrypted generic delegations, from both HCP with given `hcpartyId` and its parents; can contain duplicates
1199
- * - **hcpartyId** the given `hcpartyId` OR, if a parent exist, the HCP id of the top parent in the hierarchy (even if that parent has no delegations)
1200
- */
1201
- //TODO: even if there are no delegations for parent HCP (but the parent exists), the returned hcpartyId will be the one of the parent
1202
- async extractKeysHierarchyFromDelegationLikes(
1203
- //TODO suggested name: getSecretIdsOfHcpAndParentsFromGenericDelegations
1204
- hcpartyId: string,
1205
- objectId: string,
1206
- delegations: { [key: string]: Array<Delegation> }
1207
- ): Promise<Array<{ hcpartyId: string; extractedKeys: Array<string> }>> {
1208
- const { dataOwner: hcp } = await this.getDataOwner(hcpartyId)
1209
- const extractedKeys = []
1210
- if (delegations[hcpartyId]?.length) {
1211
- const decryptedAndImportedAesHcPartyKeys = await this.getDecryptedAesExchangeKeysOfDelegateAndParentsFromGenericDelegations(
1212
- hcpartyId,
1213
- delegations,
1214
- false
1215
- )
1216
- const collatedAesKeysFromDelegatorToHcpartyId = decryptedAndImportedAesHcPartyKeys.reduce(
1217
- (map, k) => ({ ...map, [k.delegatorId]: (map[k.delegatorId] ?? []).concat([k]) }),
1218
- {} as { [key: string]: { key: CryptoKey; rawKey: string }[] }
1219
- )
1220
- extractedKeys.push(...(await this.decryptKeyInDelegationLikes(delegations[hcpartyId], collatedAesKeysFromDelegatorToHcpartyId, objectId)))
1221
- }
1222
-
1223
- return (hcp as HealthcareParty).parentId
1224
- ? [
1225
- ...(await this.extractKeysHierarchyFromDelegationLikes((hcp as HealthcareParty).parentId!, objectId, delegations)),
1226
- { extractedKeys: extractedKeys, hcpartyId: hcpartyId },
1227
- ]
1228
- : [{ extractedKeys: extractedKeys, hcpartyId: hcpartyId }]
1229
- }
1230
-
1231
- /**
1232
- * Get decrypted generic secret IDs (secretIdSPKs, parentIds, secretIdEKs) from generic delegations (SPKs, CFKs, EKs)
1233
- * 1. Get Data Owner (HCP, Patient or Device) from it's Id.
1234
- * 2. Decrypt the keys of the given data owner.
1235
- * 3. Decrypt the parent's key if it has parent.
1236
- * 4. Return the decrypted key corresponding to the Health Care Party.
1237
- * @param dataOwnerId : the id of the delegate data owner (including its parents) for which to decrypt `extractedKeys`
1238
- * @param objectId : the id of the object/document of which delegations to decrypt ; used just to log to console a message (Cryptographic mistake) in case the object id inside SPK, CFK, EK is different from this one
1239
- * @param delegations : generic delegations (can be SPKs, CFKs, EKs) for all delegates from where to extract `extractedKeys`
1240
- * @returns - **extractedKeys** array containing secret IDs from decrypted generic delegations, from both data owner with given `dataOwnerId` and its parents; can contain duplicates
1241
- * - **dataOwnerId** the given `dataOwnerId` OR, if a parent exist, the data owner id of the top parent in the hierarchy (even if that parent has no delegations)
1242
- */
1243
- //TODO: even if there are no delegations for parent HCP (but the parent exists), the returned dataOwnerId will be the one of the parent
1244
- extractKeysFromDelegationsForHcpHierarchy(
1245
- //TODO suggested name: getSecretIdsOfHcpAndParentsFromGenericDelegations
1246
- dataOwnerId: string,
1247
- objectId: string,
1248
- delegations: { [key: string]: Array<Delegation> }
1249
- ): Promise<{ extractedKeys: Array<string>; hcpartyId: string }> {
1250
- return this.getDataOwner(dataOwnerId)
1251
- .then(({ dataOwner: hcp }) =>
1252
- (delegations[dataOwnerId] && delegations[dataOwnerId].length
1253
- ? this.getDecryptedAesExchangeKeysOfDelegateAndParentsFromGenericDelegations(dataOwnerId, delegations, false).then(
1254
- (decryptedAndImportedAesHcPartyKeys) => {
1255
- const collatedAesKeysFromDelegatorToHcpartyId: {
1256
- [key: string]: { key: CryptoKey; rawKey: string }[]
1257
- } = {}
1258
- decryptedAndImportedAesHcPartyKeys.forEach((k) => {
1259
- ;(collatedAesKeysFromDelegatorToHcpartyId[k.delegatorId] ?? (collatedAesKeysFromDelegatorToHcpartyId[k.delegatorId] = [])).push(k)
1260
- })
1261
- return this.decryptKeyInDelegationLikes(delegations[dataOwnerId], collatedAesKeysFromDelegatorToHcpartyId, objectId!)
1262
- }
1263
- )
1264
- : Promise.resolve([])
1265
- )
1266
- .then(async (extractedKeys) => {
1267
- if (extractedKeys.length == 0) {
1268
- return await this._extractDelegationsKeysUsingDataOwnerDelegateAesExchangeKeys(hcp, delegations, objectId)
1269
- }
1270
- return extractedKeys
1271
- })
1272
- .then(async (extractedKeys) => {
1273
- const parentExtractedKeys = (hcp as HealthcareParty).parentId
1274
- ? await this.extractKeysFromDelegationsForHcpHierarchy((hcp as HealthcareParty).parentId!, objectId, delegations)
1275
- : { extractedKeys: [], hcpartyId: undefined }
1276
- return { extractedKeys: extractedKeys.concat(parentExtractedKeys.extractedKeys), hcpartyId: parentExtractedKeys.hcpartyId ?? dataOwnerId }
1277
- })
1278
- )
1279
- .catch((e) => {
1280
- console.error(`DataOwner with id ${dataOwnerId} cannot be resolved`)
1281
- throw e
1282
- })
1283
- }
1284
-
1285
- /**
1286
- * This method covers the use case when a DataOwner found back access to its data, and needs to use the delegations of its delegates instead
1287
- * of its own ones
1288
- *
1289
- * @param dataOwner The current data owner from whom we want to decrypt the aesExchangeKeys
1290
- * @param delegations The object delegations to decrypt
1291
- * @param objectId The object to decrypt id
1292
- * @private
1293
- */
1294
- private async _extractDelegationsKeysUsingDataOwnerDelegateAesExchangeKeys(
1295
- dataOwner: Patient | Device | HealthcareParty,
1296
- delegations: { [p: string]: Array<Delegation> },
1297
- objectId: string
1298
- ) {
1299
- // Find other keys through aesExchangeKeys
1300
- const dataOwnerPubKeys = await this.getPublicKeys()
1301
- const keysToDecrypt = fold(
1302
- Object.entries(dataOwner.aesExchangeKeys!),
1303
- {} as { [delegateId: string]: { [pubKey: string]: { [pubKeyFingerprint: string]: string } } },
1304
- (acc, [pub, aesForPub]) => {
1305
- if (dataOwnerPubKeys.find((pubKey) => pubKey.slice(-32) == pub.slice(-32)) == undefined) {
1306
- // We get AES Keys only from delegates of keys we don't currently have
1307
- // Otherwise, decrypted AES Keys would have previously worked
1308
- Object.entries(aesForPub).forEach(([delegateId, aesKeys]) => {
1309
- if (delegateId != dataOwner.id) {
1310
- const aesAcc = {} as { [pubKeyFingerprint: string]: string }
1311
- Object.entries(aesKeys)
1312
- .filter(([encrPubKey]) => dataOwnerPubKeys.some((pubKey) => pubKey.slice(-32) == encrPubKey))
1313
- .forEach(([pubKeyFingerprint, aesEncr]) => {
1314
- aesAcc[pubKeyFingerprint] = aesEncr
1315
- })
1316
-
1317
- if (acc[delegateId] == undefined) {
1318
- acc[delegateId] = {}
1319
- }
1320
- acc[delegateId][pub] = aesAcc
1321
- }
1322
- })
1323
- }
1324
- return acc
1325
- }
1326
- )
1327
-
1328
- const decryptedAndImportedAesHcPartyKeys = await foldAsync(
1329
- Object.entries(keysToDecrypt),
1330
- [] as DelegatorAndKeys[],
1331
- async (delKeysAcc, [delegateId, keysForDelegate]) => {
1332
- try {
1333
- delKeysAcc.push(await this.decryptAnyAesExchangeKeyForOwner(keysForDelegate, dataOwner.id!, dataOwner.id!, delegateId, dataOwnerPubKeys))
1334
- } catch (e) {
1335
- console.log(`Could not decrypt aesExchangeKeys for delegate ${delegateId}`)
1336
- }
1337
- return delKeysAcc
1338
- }
1339
- )
1340
-
1341
- const collatedAesKeysFromDelegatorToHcpartyId = decryptedAndImportedAesHcPartyKeys.reduce(
1342
- (map, k) => ({ ...map, [k.delegatorId]: (map[k.delegatorId] ?? []).concat([k]) }),
1343
- {} as { [key: string]: { key: CryptoKey; rawKey: string }[] }
1344
- )
1345
-
1346
- const delegateIdsWithNewExtractedAesKeys = Object.keys(keysToDecrypt)
1347
- const delegationsToDecrypt = fold(Object.entries(delegations), [] as Delegation[], (acc, [delegateId, del]) => {
1348
- if (delegateIdsWithNewExtractedAesKeys.find((id) => id == delegateId) != undefined) {
1349
- acc.push(...delegations[delegateId])
1350
- }
1351
- return acc
1352
- })
1353
-
1354
- return this.decryptKeyInDelegationLikes(delegationsToDecrypt, collatedAesKeysFromDelegatorToHcpartyId, objectId!)
1355
- }
1356
-
1357
- /**
1358
- * Gets an array of generic secret IDs decrypted from a list of generic delegations (SPKs, CFKs, EKs) `delegationsArray`
1359
- * If a particular generic delegation thows an exception when decrypted, the return value for it's secret ID will be 'false' and a message is logged to console
1360
- * For each one of the delegations in the `delegationsArray`, it tries to decrypt with the decryptedHcPartyKey of the owner of that delegation;
1361
- *
1362
- * @param delegationsArray : generic delegations array
1363
- * @param aesKeys : **key** HcP ids of delegators/owners in the `delegationsArray`, each with its own decryptedHcPartyKey
1364
- * @param masterId : is the object id to which the generic delegation belongs to
1365
- * - used only to check whether the object.id matches the one stored in the decrypted generic delegation item
1366
- * - even if there's no match, the secret ID is kept as a valid result (and a message logged to console)
1367
- * @returns array of generic secret IDs (secretIdSPK, parentId, secretIdEK)
1368
- */
1369
- async decryptKeyInDelegationLikes(
1370
- //TODO: suggested name: getSecretIdsFromGenericDelegations
1371
- delegationsArray: Array<Delegation>,
1372
- aesKeysForDataOwnerId: { [key: string]: { key: CryptoKey; rawKey: string }[] },
1373
- masterId: string
1374
- ): Promise<Array<string>> {
1375
- const decryptPromises: Array<Promise<string | undefined>> = delegationsArray.map(async (genericDelegationItem) => {
1376
- const aesKeys = aesKeysForDataOwnerId[genericDelegationItem.owner!]
1377
- if (aesKeys?.length) {
1378
- return aesKeys.reduce(async (acc, aesKey) => {
1379
- const accValue = await acc
1380
- if (accValue) {
1381
- return accValue
1382
- }
1383
- try {
1384
- const decryptedGenericDelegationKey = await this._AES.decrypt(aesKey.key, hex2ua(genericDelegationItem.key!), aesKey.rawKey)
1385
- const results = ua2string(decryptedGenericDelegationKey).split(':')
1386
-
1387
- const objectId = results[0] //must be the ID of the object, for checksum
1388
- const genericSecretId = results[1]
1389
-
1390
- const details =
1391
- 'object ID: ' + masterId + '; generic delegation from ' + genericDelegationItem.owner + ' to ' + genericDelegationItem.delegatedTo
1392
-
1393
- if (!objectId) console.warn('Object id is empty; ' + details)
1394
- if (!genericSecretId) console.warn('Secret id is empty; ' + details)
1395
-
1396
- if (objectId !== masterId) {
1397
- /*console.log(
1398
- "Cryptographic mistake: object ID is not equal to the expected concatenated id within decrypted generic delegation. This may happen when patients have been merged; " +
1399
- details
1400
- )*/
1401
- }
1402
- return genericSecretId
1403
- } catch (err) {
1404
- console.log(
1405
- `Could not decrypt generic delegation in object with ID: ${masterId} from ${genericDelegationItem.owner} to ${genericDelegationItem.delegatedTo}: ${err}`
1406
- )
1407
-
1408
- return undefined
1409
- }
1410
- }, Promise.resolve(undefined as string | undefined))
1411
- } else {
1412
- console.log(`Could not find aes key for object with ID: ${masterId}`)
1413
- }
1414
- })
1415
- return Promise.all(decryptPromises).then((genericSecretId) => genericSecretId.filter((id) => !!id) as string[])
1416
- }
1417
-
1418
- getPublicKeyFromPrivateKey(privateKey: JsonWebKey, dataOwner: Patient | Device | HealthcareParty) {
1419
- if (!privateKey.n || !privateKey.e) {
1420
- throw new Error('No public key can be deduced from incomplete private key')
1421
- }
1422
-
1423
- const publicKeyFromPrivateKey = jwk2spki(privateKey)
1424
- const publicKeys = [dataOwner.publicKey].concat(Object.keys(dataOwner.aesExchangeKeys ?? {})).filter((x) => !!x)
1425
-
1426
- if (!publicKeys.length) {
1427
- throw new Error('No public key has been defined for hcp')
1428
- }
1429
-
1430
- const publicKey = publicKeys.find((it) => it === publicKeyFromPrivateKey)
1431
- if (!publicKey) {
1432
- throw new Error('No public key can be found for this private key')
1433
- }
1434
-
1435
- return publicKey
1436
- }
1437
-
1438
- async loadKeyPairsAsTextInBrowserLocalStorage(healthcarePartyId: string, privateKey: Uint8Array) {
1439
- const { dataOwner } = await this.getDataOwner(healthcarePartyId)
1440
-
1441
- const privateKeyInJwk = pkcs8ToJwk(privateKey)
1442
- const publicKey = this.getPublicKeyFromPrivateKey(privateKeyInJwk, dataOwner)
1443
-
1444
- const keyPair: { publicKey: CryptoKey; privateKey: CryptoKey } = await this._RSA.importKeyPair(
1445
- 'jwk',
1446
- privateKeyInJwk,
1447
- 'jwk',
1448
- spkiToJwk(hex2ua(publicKey))
1449
- )
1450
- this.rsaKeyPairs[publicKey.slice(-32)] = keyPair
1451
- const exportedKeyPair = await this._RSA.exportKeys(keyPair, 'jwk', 'jwk')
1452
-
1453
- return this._keyStorage.storeKeyPair(`${this.rsaLocalStoreIdPrefix}${healthcarePartyId}.${publicKey.slice(-32)}`, exportedKeyPair)
1454
- }
1455
-
1456
- async loadKeyPairsAsJwkInBrowserLocalStorage(healthcarePartyId: string, privateKey: JsonWebKey) {
1457
- const { dataOwner } = await this.getDataOwner(healthcarePartyId)
1458
-
1459
- if ((!privateKey.n || !privateKey.e) && dataOwner.publicKey) {
1460
- //Fallback on default publicKey
1461
- console.warn('An incomplete key has been completed using the default public key of the data owner')
1462
- const publicKeyInJwk = spkiToJwk(hex2ua(dataOwner.publicKey))
1463
- privateKey.n = publicKeyInJwk.n
1464
- privateKey.e = publicKeyInJwk.e
1465
- }
1466
-
1467
- const publicKey = this.getPublicKeyFromPrivateKey(privateKey, dataOwner)
1468
-
1469
- const keyPair = await this._RSA.importKeyPair('jwk', privateKey, 'jwk', spkiToJwk(hex2ua(publicKey)))
1470
- this.rsaKeyPairs[publicKey.slice(-32)] = keyPair
1471
- const exportedKeyPair = await this._RSA.exportKeys(keyPair, 'jwk', 'jwk')
1472
-
1473
- return this._keyStorage.storeKeyPair(`${this.rsaLocalStoreIdPrefix}${healthcarePartyId}.${publicKey.slice(-32)}`, exportedKeyPair)
1474
- }
1475
-
1476
- // noinspection JSUnusedGlobalSymbols
1477
- loadKeyPairsInBrowserLocalStorage(healthcarePartyId: string, file: Blob): Promise<void> {
1478
- const fr = new FileReader()
1479
- return new Promise((resolve, reject) => {
1480
- fr.onerror = reject
1481
- fr.onabort = reject
1482
- fr.onload = (e: any) => {
1483
- //TODO remove any
1484
- const privateKey = e.target.result as string
1485
- this.loadKeyPairsAsTextInBrowserLocalStorage(healthcarePartyId, hex2ua(privateKey))
1486
- .then(() => resolve())
1487
- .catch(reject)
1488
- }
1489
- fr.readAsText(file)
1490
- })
1491
- }
1492
-
1493
- // noinspection JSUnusedGlobalSymbols
1494
- saveKeychainInBrowserLocalStorage(id: string, keychain: number) {
1495
- this._storage.setItem(
1496
- this.keychainLocalStoreIdPrefix + id,
1497
- b2a(new Uint8Array(keychain).reduce((data, byte) => data + String.fromCharCode(byte), ''))
1498
- )
1499
- }
1500
-
1501
- saveKeychainInBrowserLocalStorageAsBase64(id: string, keyChainB64: string) {
1502
- this._storage.setItem(this.keychainLocalStoreIdPrefix + id, keyChainB64)
1503
- }
1504
-
1505
- // noinspection JSUnusedGlobalSymbols
1506
- saveKeychainValidityDateInBrowserLocalStorage(id: string, date: string) {
1507
- if (!id) return
1508
-
1509
- if (!date) {
1510
- this._storage.deleteItem(this.keychainValidityDateLocalStoreIdPrefix + id)
1511
- } else {
1512
- this._storage.setItem(this.keychainValidityDateLocalStoreIdPrefix + id, date)
1513
- }
1514
- }
1515
-
1516
- /**
1517
- * Populate the HCP.options dict with an encrypted eHealth certificate and unencryped expiry date.
1518
- * Any potentially unencrypted certificates will be pruned from the HCP.
1519
- * @param hcpId Id of the hcp to modify
1520
- * @returns modified HCP
1521
- */
1522
- async saveKeyChainInHCPFromLocalStorage(hcpId: string): Promise<HealthcareParty> {
1523
- return await this.hcpartyBaseApi.getHealthcareParty(hcpId).then(async (hcp: HealthcareParty) => {
1524
- let aesKey: CryptoKey | null = null
1525
- try {
1526
- aesKey = _.find(
1527
- await this.decryptAndImportAesHcPartyKeysForDelegators([hcp.id!], hcp.id!),
1528
- (delegator: DelegatorAndKeys) => delegator.delegatorId === hcp.id
1529
- )!.key
1530
- } catch (e) {
1531
- console.error('Error while importing the AES key.')
1532
- }
1533
- if (!aesKey) {
1534
- console.error('No encryption key!')
1535
- }
1536
-
1537
- const opts = hcp.options || {}
1538
-
1539
- const crt = this.getKeychainInBrowserLocalStorageAsBase64(hcp.id!!)
1540
- if (!!aesKey && !!crt) {
1541
- let crtEncrypted: ArrayBuffer | null = null
1542
- try {
1543
- crtEncrypted = await this.AES.encrypt(aesKey, new Uint8Array(string2ua(atob(crt))))
1544
- } catch (e) {
1545
- console.error('Error while encrypting the certificate', e)
1546
- }
1547
-
1548
- // add the encrypted certificate to the options
1549
- _.set(opts, this.hcpPreferenceKeyEhealthCert, ua2string(new Uint8Array(crtEncrypted!)))
1550
- }
1551
-
1552
- const crtValidityDate = this.getKeychainValidityDateInBrowserLocalStorage(hcp.id!!)
1553
- if (!!crtValidityDate) {
1554
- _.set(opts, this.hcpPreferenceKeyEhealthCertDate, crtValidityDate)
1555
- }
1556
-
1557
- hcp.options = opts
1558
- return hcp
1559
- })
1560
- }
1561
-
1562
- importKeychainInBrowserFromHCP(hcpId: string): Promise<void> {
1563
- return this.hcpartyBaseApi.getHealthcareParty(hcpId).then(async (hcp: HealthcareParty) => {
1564
- let crtCryp: Uint8Array | null = null
1565
- if (!!hcp.options && !!hcp.options[this.hcpPreferenceKeyEhealthCert]) {
1566
- crtCryp = string2ua(hcp.options[this.hcpPreferenceKeyEhealthCert])
1567
- }
1568
-
1569
- const crtValidityDate = _.get(hcp.options, this.hcpPreferenceKeyEhealthCertDate)
1570
-
1571
- // store the validity date
1572
- if (!!crtValidityDate) {
1573
- this.saveKeychainValidityDateInBrowserLocalStorage(hcp.id!!, crtValidityDate)
1574
- }
1575
-
1576
- let crt: ArrayBuffer | null = null
1577
- let decryptionKey: CryptoKey | null = null
1578
- try {
1579
- decryptionKey = _.find(
1580
- await this.decryptAndImportAesHcPartyKeysForDelegators([hcp.id!], hcp.id!),
1581
- (delegator: DelegatorAndKeys) => delegator.delegatorId === hcp.id
1582
- )!.key
1583
- } catch (e) {
1584
- console.error('Error while importing the AES key.')
1585
- }
1586
- if (!decryptionKey) {
1587
- throw new Error('No encryption key! eHealth certificate cannot be decrypted.')
1588
- }
1589
-
1590
- if (!!crtCryp && decryptionKey) {
1591
- try {
1592
- crt = await this.AES.decrypt(decryptionKey, crtCryp)
1593
- } catch (e) {
1594
- console.error(e)
1595
- }
1596
- }
1597
-
1598
- if (!crt) {
1599
- throw new Error(`Error while saving certificate in browser local storage! Hcp ${hcp.id} has no certificate.`)
1600
- } else {
1601
- this.saveKeychainInBrowserLocalStorageAsBase64(hcp.id!!, btoa(String.fromCharCode.apply(null, Array.from(new Uint8Array(crt)))))
1602
- }
1603
-
1604
- return
1605
- })
1606
- }
1607
-
1608
- /**
1609
- * Synchronizes the eHealth certificate from the database into the LocalStorage, returning information on the presence
1610
- * of certificate data in either place.
1611
- *
1612
- * @param hcpId The healthcare party id
1613
- * @returns A Promise for an object that represents the existence of a certificate in local storage and in the DB,
1614
- * through the two boolean properties "local" and "remote".
1615
- */
1616
- syncEhealthCertificateFromDatabase(hcpId: string): Promise<{ remote: boolean; local: boolean }> {
1617
- return this.hcpartyBaseApi.getHealthcareParty(hcpId).then((hcp: HealthcareParty) => {
1618
- const remoteCertificate = _.get(hcp.options, this.hcpPreferenceKeyEhealthCert)
1619
- const localCertificate = this.getKeychainInBrowserLocalStorageAsBase64(hcp.id!)
1620
-
1621
- if (remoteCertificate) {
1622
- return this.importKeychainInBrowserFromHCP(hcp.id!)
1623
- .then(() => ({ local: true, remote: true }))
1624
- .catch(() => ({ local: !!localCertificate, remote: true }))
1625
- } else {
1626
- return { local: !!localCertificate, remote: !!remoteCertificate }
1627
- }
1628
- })
1629
- }
1630
-
1631
- getKeychainInBrowserLocalStorageAsBase64(id: string) {
1632
- return this._storage.getItem(this.keychainLocalStoreIdPrefix + id)
1633
- }
1634
-
1635
- getKeychainValidityDateInBrowserLocalStorage(id: string) {
1636
- return this._storage.getItem(this.keychainValidityDateLocalStoreIdPrefix + id)
1637
- }
1638
-
1639
- // noinspection JSUnusedGlobalSymbols
1640
- loadKeychainFromBrowserLocalStorage(id: string) {
1641
- const lsItem = this._storage.getItem(this.keychainLocalStoreIdPrefix + id)
1642
- return lsItem !== undefined ? b64_2uas(lsItem) : null
1643
- }
1644
-
1645
- /**
1646
- * loads the RSA key pair (hcparty) in JWK from local storage, not imported
1647
- *
1648
- * @param id doc id - hcpartyId
1649
- * @param publicKeyFingerPrint the 32 last characters of public key this private key is associated with
1650
- * @returns {Object} it is in JWK - not imported
1651
- */
1652
- loadKeyPairNotImported(id: string, publicKeyFingerPrint?: string): { publicKey: JsonWebKey; privateKey: JsonWebKey } {
1653
- if (typeof Storage === 'undefined') {
1654
- console.log('Your browser does not support HTML5 Browser Local Storage !')
1655
- throw 'Your browser does not support HTML5 Browser Local Storage !'
1656
- }
1657
- //TODO decryption
1658
- const item = publicKeyFingerPrint
1659
- ? this._keyStorage.getKeypair(this.rsaLocalStoreIdPrefix + id + '.' + publicKeyFingerPrint.slice(-32)) ??
1660
- this._keyStorage.getKeypair(this.rsaLocalStoreIdPrefix + id)
1661
- : this._keyStorage.getKeypair(this.rsaLocalStoreIdPrefix + id)
1662
- if (!item) {
1663
- console.warn(`No key can be found in local storage for id ${id} and publicKeyFingerPrint ${publicKeyFingerPrint}`)
1664
- }
1665
- return item!
1666
- }
1667
-
1668
- /**
1669
- * Loads and imports the RSA key pair (hcparty) from local storage
1670
- *
1671
- * @param id doc id - hcPartyId
1672
- * @returns {Promise} -> {CryptoKey} - imported RSA
1673
- */
1674
- loadKeyPairImported(id: string) {
1675
- return new Promise((resolve: (value: { publicKey: CryptoKey; privateKey: CryptoKey }) => any, reject) => {
1676
- try {
1677
- const jwkKeyPair = this._keyStorage.getKeypair(this.rsaLocalStoreIdPrefix + id)
1678
- if (jwkKeyPair !== undefined) {
1679
- if (jwkKeyPair.publicKey && jwkKeyPair.privateKey) {
1680
- this._RSA.importKeyPair('jwk', jwkKeyPair.privateKey, 'jwk', jwkKeyPair.publicKey).then(resolve, (err) => {
1681
- console.error('Error in RSA.importKeyPair: ' + err)
1682
- reject(err)
1683
- })
1684
- } else {
1685
- const message = 'Error in RSA.importKeyPair: Invalid key'
1686
- console.error(message)
1687
- reject(Error(message))
1688
- }
1689
- } else {
1690
- const message = 'Error in RSA.importKeyPair: Missing key'
1691
- console.error(message)
1692
- reject(Error(message))
1693
- }
1694
- } catch (err) {
1695
- reject(err)
1696
- }
1697
- })
1698
- }
1699
-
1700
- /**
1701
- * When a user lost his keys, people to whom he shared information may call this method to give access back to him, re-encrypting their common
1702
- * AES key using the new user public key.
1703
- *
1704
- * @param delegateUser Delegate Data Owner User, in charge of giving access back to the person who previously gave him some access
1705
- * @param ownerId Id of the data owner to which we would like to give access back
1706
- * @param ownerNewPublicKey New Data Owner Public Key we want to use to re-encrypt previously created AES key
1707
- *
1708
- * @return The DataOwner, updated by the delegateUser to add the new encrypted AES Key using the new provided public key
1709
- */
1710
- async giveAccessBackTo(delegateUser: User, ownerId: string, ownerNewPublicKey: string): Promise<CachedDataOwner> {
1711
- const delegateId = delegateUser.healthcarePartyId ?? delegateUser.patientId ?? delegateUser.deviceId
1712
- if (!delegateId) {
1713
- throw new Error(`DelegateUser ${delegateUser.id} must be a data Owner`)
1714
- }
1715
-
1716
- const delegatePublicKeys = await this.getPublicKeys()
1717
- const newPubKeyCryptoKey = await this._RSA.importKey('jwk', spkiToJwk(hex2ua(ownerNewPublicKey)), ['encrypt'])
1718
- const dataOwnerToUpdate = await this.getDataOwner(ownerId)
1719
-
1720
- const newAesExchangeKeys = await foldAsync(
1721
- Object.entries(dataOwnerToUpdate.dataOwner.aesExchangeKeys ?? {}),
1722
- dataOwnerToUpdate.dataOwner.aesExchangeKeys ?? {},
1723
- async (pubAcc, [pubKey, newAesExcKeys]) => {
1724
- const existingKeys = pubAcc[pubKey] ?? {}
1725
-
1726
- pubAcc[pubKey] = await foldAsync(Object.entries(newAesExcKeys), existingKeys, async (delAcc, [delId, delKeys]) => {
1727
- if (delId == delegateId && pubKey != ownerNewPublicKey) {
1728
- // Add the AES Key encrypted with the new public key in the aesExchangeKeys
1729
- try {
1730
- // First, we decrypt it using the delegate RSA Public Key
1731
- const encrAesKeyInfo = await this.decryptHcPartyKey(
1732
- delegateId,
1733
- dataOwnerToUpdate.dataOwner.id!,
1734
- delegateId,
1735
- pubKey,
1736
- delKeys,
1737
- delegatePublicKeys
1738
- ).then(async (delegatorAndKeys) => {
1739
- // Then, we encrypt it using the owner new RSA Public Key (provided in argument)
1740
- return await this.encryptAesKeyOnlyForProvidedKeys(delegatorAndKeys?.rawKey, dataOwnerToUpdate, [newPubKeyCryptoKey])
1741
- .then((encrAes) => Object.values(encrAes)[0])
1742
- .then((encrAesInfo) => {
1743
- return { pubKeyUsedToEncryptAes: Object.keys(encrAesInfo)[0], encryptedAes: Object.values(encrAesInfo)[0] }
1744
- })
1745
- })
1746
-
1747
- delKeys[encrAesKeyInfo.pubKeyUsedToEncryptAes] = encrAesKeyInfo.encryptedAes
1748
- } catch (e) {
1749
- console.log(`${delegateId} could not re-encrypt AES Key of ${dataOwnerToUpdate.dataOwner.id}`)
1750
- } finally {
1751
- delAcc[delId] = delKeys
1752
- }
1753
- } else {
1754
- // Otherwise, we don't transform the aesExchangeKeys for this delegate
1755
- delAcc[delId] = delKeys
1756
- }
1757
- return delAcc
1758
- })
1759
- return pubAcc
1760
- }
1761
- )
1762
-
1763
- // After adding the potential new aesExchangeKeys, we save the updated data owner
1764
- return this._saveDataOwner({
1765
- type: dataOwnerToUpdate.type,
1766
- dataOwner: { ...dataOwnerToUpdate.dataOwner, aesExchangeKeys: newAesExchangeKeys },
1767
- } as CachedDataOwner)
1768
- }
1769
-
1770
- async addNewKeyPairForOwnerId(
1771
- maintenanceTasksApi: IccMaintenanceTaskXApi,
1772
- user: User,
1773
- ownerId: string,
1774
- generateTransferKey: boolean = true,
1775
- sendMaintenanceTasks: boolean = true
1776
- ): Promise<{ dataOwner: HealthcareParty | Patient | Device; publicKey: string; privateKey: string }> {
1777
- return this.addNewKeyPairForOwner(maintenanceTasksApi, user, await this.getDataOwner(ownerId), generateTransferKey, sendMaintenanceTasks)
1778
- }
1779
-
1780
- async addNewKeyPairForOwner(
1781
- maintenanceTasksApi: IccMaintenanceTaskXApi,
1782
- user: User,
1783
- cdo: CachedDataOwner,
1784
- generateTransferKey: boolean = true,
1785
- sendMaintenanceTasks: boolean = true
1786
- ): Promise<{ dataOwner: HealthcareParty | Patient | Device; publicKey: string; privateKey: string }> {
1787
- const generatedKeypair = await this.RSA.generateKeyPair()
1788
- return this.addKeyPairForOwner(maintenanceTasksApi, user, cdo, generatedKeypair, generateTransferKey, sendMaintenanceTasks)
1789
- }
1790
-
1791
- async addRawKeyPairForOwnerId(
1792
- maintenanceTasksApi: IccMaintenanceTaskXApi,
1793
- user: User,
1794
- ownerId: string,
1795
- keypair: { publicKey: string; privateKey: string },
1796
- generateTransferKey: boolean = true,
1797
- sendMaintenanceTasks: boolean = true
1798
- ): Promise<{ dataOwner: HealthcareParty | Patient | Device; publicKey: string; privateKey: string }> {
1799
- return this.addRawKeyPairForOwner(maintenanceTasksApi, user, await this.getDataOwner(ownerId), keypair, generateTransferKey, sendMaintenanceTasks)
1800
- }
1801
-
1802
- async addRawKeyPairForOwner(
1803
- maintenanceTasksApi: IccMaintenanceTaskXApi,
1804
- user: User,
1805
- cdo: CachedDataOwner,
1806
- keypair: { publicKey: string; privateKey: string },
1807
- generateTransferKey: boolean = true,
1808
- sendMaintenanceTasks: boolean = true
1809
- ): Promise<{ dataOwner: HealthcareParty | Patient | Device; publicKey: string; privateKey: string }> {
1810
- const importedPrivateKey = await this._RSA.importKey('pkcs8', hex2ua(keypair.privateKey), ['decrypt'])
1811
- const importedPublicKey = await this._RSA.importKey('spki', hex2ua(keypair.publicKey), ['encrypt'])
1812
-
1813
- return this.addKeyPairForOwner(
1814
- maintenanceTasksApi,
1815
- user,
1816
- cdo,
1817
- { publicKey: importedPublicKey, privateKey: importedPrivateKey },
1818
- generateTransferKey,
1819
- sendMaintenanceTasks
1820
- )
1821
- }
1822
-
1823
- async addKeyPairForOwner(
1824
- maintenanceTasksApi: IccMaintenanceTaskXApi,
1825
- user: User,
1826
- cdo: CachedDataOwner,
1827
- keypair: { publicKey: CryptoKey; privateKey: CryptoKey },
1828
- generateTransferKey: boolean = true,
1829
- sendMaintenanceTasks: boolean = true
1830
- ): Promise<{ dataOwner: HealthcareParty | Patient | Device; publicKey: string; privateKey: string }> {
1831
- const publicKeyHex = ua2hex(await this.RSA.exportKey(keypair.publicKey!, 'spki'))
1832
-
1833
- const gen = (await this._AES.generateCryptoKey(true)) as string
1834
-
1835
- await this.cacheKeyPair({
1836
- publicKey: await this.RSA.exportKey(keypair.publicKey!, 'jwk'),
1837
- privateKey: await this.RSA.exportKey(keypair.privateKey!, 'jwk'),
1838
- })
1839
-
1840
- const { type: ownerType, dataOwner: ownerToUpdate } = await this.createOrUpdateAesExchangeKeysFor(cdo, gen, {
1841
- pubKey: keypair.publicKey,
1842
- privKey: keypair.privateKey,
1843
- }).then(async (dataOwnerWithUpdatedAesKeys) =>
1844
- generateTransferKey
1845
- ? await this.createOrUpdateTransferKeysFor(dataOwnerWithUpdatedAesKeys, gen, { pubKey: keypair.publicKey, privKey: keypair.privateKey })
1846
- : dataOwnerWithUpdatedAesKeys
1847
- )
1848
-
1849
- const modifiedDataOwnerAndType = await this._saveDataOwner({ type: ownerType, dataOwner: ownerToUpdate })
1850
- const sentMaintenanceTasks = sendMaintenanceTasks
1851
- ? await this.sendMaintenanceTasks(maintenanceTasksApi, user, modifiedDataOwnerAndType.dataOwner, keypair.publicKey)
1852
- : []
1853
-
1854
- return {
1855
- dataOwner: sentMaintenanceTasks.length
1856
- ? await this.retrieveDataOwnerInfoAfterPotentialUpdate(modifiedDataOwnerAndType.dataOwner)
1857
- : modifiedDataOwnerAndType.dataOwner,
1858
- publicKey: publicKeyHex,
1859
- privateKey: ua2hex((await this.RSA.exportKey(keypair.privateKey!, 'pkcs8')) as ArrayBuffer),
1860
- }
1861
- }
1862
-
1863
- private async _saveDataOwner(dataOwner: CachedDataOwner): Promise<CachedDataOwner> {
1864
- const ownerType = dataOwner.type
1865
- const ownerToUpdate = dataOwner.dataOwner
1866
-
1867
- return ownerType === 'hcp'
1868
- ? await (this.dataOwnerCache[ownerToUpdate.id!] = this.hcpartyBaseApi
1869
- .modifyHealthcareParty(ownerToUpdate as HealthcareParty)
1870
- .then((x) => ({ type: 'hcp', dataOwner: x } as CachedDataOwner)))
1871
- : ownerType === 'patient'
1872
- ? await (this.dataOwnerCache[ownerToUpdate.id!] = this.patientBaseApi
1873
- .modifyPatient(ownerToUpdate as Patient)
1874
- .then((x) => ({ type: 'patient', dataOwner: x } as CachedDataOwner)))
1875
- : await (this.dataOwnerCache[ownerToUpdate.id!] = this.deviceBaseApi
1876
- .updateDevice(ownerToUpdate as Device)
1877
- .then((x) => ({ type: 'device', dataOwner: x } as CachedDataOwner)))
1878
- }
1879
-
1880
- private async createOrUpdateAesExchangeKeysFor(
1881
- cdo: CachedDataOwner,
1882
- decryptedAesExchangeKey: string,
1883
- keyToEncrypt: { pubKey: CryptoKey; privKey: CryptoKey }
1884
- ): Promise<CachedDataOwner> {
1885
- const publicKeyHex = ua2hex(await this.RSA.exportKey(keyToEncrypt.pubKey!, 'spki'))
1886
- const existingAesExchangeKeys = cdo.dataOwner.aesExchangeKeys ?? {}
1887
- existingAesExchangeKeys[publicKeyHex] = await this.encryptAesKeyFor(decryptedAesExchangeKey, cdo.dataOwner, keyToEncrypt.pubKey)
1888
-
1889
- return { type: cdo.type, dataOwner: { ...cdo.dataOwner, aesExchangeKeys: existingAesExchangeKeys } } as CachedDataOwner
1890
- }
1891
-
1892
- private async createOrUpdateTransferKeysFor(
1893
- dataOwner: CachedDataOwner,
1894
- decryptedAesExchangeKey: string,
1895
- keyToEncrypt: { pubKey: CryptoKey; privKey: CryptoKey }
1896
- ): Promise<CachedDataOwner> {
1897
- const pubKeyToEncryptHex = ua2hex(await this.RSA.exportKey(keyToEncrypt.pubKey, 'spki'))
1898
-
1899
- const encryptedKey = ua2hex(
1900
- await this._AES.encrypt(
1901
- await this._AES.importKey('raw', hex2ua(decryptedAesExchangeKey)),
1902
- (await this.RSA.exportKey(keyToEncrypt.privKey!, 'pkcs8')) as ArrayBuffer,
1903
- decryptedAesExchangeKey
1904
- )
1905
- )
1906
-
1907
- const dataOwnerExistingPubKeys = Array.from(await this.getDataOwnerHexPublicKeys(dataOwner.dataOwner))
1908
-
1909
- const transferKeys = fold(dataOwnerExistingPubKeys, dataOwner.dataOwner.transferKeys ?? {}, (pubAcc, pubKeyHex) => {
1910
- if (pubKeyHex !== pubKeyToEncryptHex) {
1911
- const existingKeys = pubAcc[pubKeyHex] ?? {}
1912
- existingKeys[pubKeyToEncryptHex] = encryptedKey
1913
- pubAcc[pubKeyHex] = existingKeys
1914
- }
1915
- return pubAcc
1916
- })
1917
-
1918
- return { type: dataOwner.type, dataOwner: { ...dataOwner.dataOwner, transferKeys: transferKeys } } as CachedDataOwner
1919
- }
1920
-
1921
- private async encryptAesKeyFor(
1922
- aesKey: string,
1923
- dataOwner: HealthcareParty | Patient | Device,
1924
- doNewPublicKey: CryptoKey
1925
- ): Promise<{ [delId: string]: { [pk: string]: string } }> {
1926
- const dataOwnerAllPubKeys = [doNewPublicKey].concat(await this.getDataOwnerPublicKeys(dataOwner))
1927
- return this.encryptAesKeyOnlyForProvidedKeys(aesKey, dataOwner, dataOwnerAllPubKeys)
1928
- }
1929
-
1930
- private async encryptAesKeyOnlyForProvidedKeys(
1931
- aesKey: string,
1932
- dataOwner: HealthcareParty | Patient | Device,
1933
- dataOwnerPubKeys: CryptoKey[]
1934
- ): Promise<{ [delId: string]: { [pk: string]: string } }> {
1935
- const encryptedAesForDataOwner = await foldAsync(dataOwnerPubKeys, {} as { [pubKeyFingerprint: string]: string }, async (encrAes, pubKey) => {
1936
- encrAes[ua2hex(await this.RSA.exportKey(pubKey, 'spki')).slice(-32)] = ua2hex(await this._RSA.encrypt(pubKey, hex2ua(aesKey)))
1937
- return encrAes
1938
- })
1939
-
1940
- return { [dataOwner.id!]: encryptedAesForDataOwner }
1941
- }
1942
-
1943
- private retrieveDataOwnerInfoAfterPotentialUpdate(dataOwnerToUpdate: HealthcareParty | Patient | Device): Promise<CachedDataOwner> {
1944
- this.emptyHcpCache(dataOwnerToUpdate.id!)
1945
-
1946
- return this.getDataOwner(dataOwnerToUpdate.id!).then(({ type, dataOwner }) => {
1947
- return {
1948
- type: type,
1949
- dataOwner: {
1950
- ...dataOwner,
1951
- transferKeys: dataOwnerToUpdate.transferKeys,
1952
- hcPartyKeys: fold(Object.entries(dataOwnerToUpdate.hcPartyKeys ?? {}), dataOwner.hcPartyKeys ?? {}, (acc, [delegateId, hcKeys]) => {
1953
- acc[delegateId] = hcKeys
1954
- return acc
1955
- }),
1956
- aesExchangeKeys: fold(
1957
- Object.entries(dataOwnerToUpdate.aesExchangeKeys ?? {}),
1958
- dataOwner.aesExchangeKeys ?? {},
1959
- (pubAcc, [pubKey, newAesExcKeys]) => {
1960
- const existingKeys = pubAcc[pubKey] ?? {}
1961
- pubAcc[pubKey] = fold(Object.entries(newAesExcKeys), existingKeys, (delAcc, [delId, delKeys]) => {
1962
- delAcc[delId] = delKeys
1963
- return delAcc
1964
- })
1965
- return pubAcc
1966
- }
1967
- ),
1968
- },
1969
- } as CachedDataOwner
1970
- })
1971
- }
1972
-
1973
- private async sendMaintenanceTasks(
1974
- maintenanceTaskApi: IccMaintenanceTaskXApi,
1975
- user: User,
1976
- dataOwner: HealthcareParty | Patient | Device,
1977
- newPublicKey: CryptoKey
1978
- ): Promise<MaintenanceTask[]> {
1979
- const hexNewPubKey = ua2hex(await this.RSA.exportKey(newPublicKey, 'spki'))
1980
- const nonAccessiblePubKeys = Array.from(this.getDataOwnerHexPublicKeys(dataOwner).values())
1981
- .filter((existingPubKey) => existingPubKey != hexNewPubKey)
1982
- .filter(async (existingPubKey) => (await this.getPublicKeysAsSpki()).find((pubKey) => pubKey == existingPubKey) == undefined)
1983
-
1984
- if (nonAccessiblePubKeys.length) {
1985
- const tasksForDelegates = Object.entries(await this.getEncryptedAesExchangeKeysForDelegate(dataOwner.id!))
1986
- .filter(([delegatorId]) => delegatorId != dataOwner.id)
1987
- .flatMap(([delegatorId, delegatorKeys]) => {
1988
- return Object.entries(delegatorKeys).flatMap(([, aesExchangeKeys]) => {
1989
- return Object.keys(aesExchangeKeys).map((delegatePubKey) => {
1990
- return { delegateId: delegatorId, maintenanceTask: this.createMaintenanceTask(dataOwner, delegatePubKey) }
1991
- })
1992
- })
1993
- })
1994
-
1995
- const tasksForDelegator = (await this._getDelegateIdsOf(dataOwner))
1996
- .filter((delegateId) => delegateId != dataOwner.id)
1997
- .map((delegateId) => {
1998
- return { delegateId: delegateId, maintenanceTask: this.createMaintenanceTask(dataOwner, hexNewPubKey) }
1999
- })
2000
-
2001
- return await tasksForDelegates.concat(tasksForDelegator).reduce(async (existingTasks, task) => {
2002
- const taskToCreate = await maintenanceTaskApi?.newInstance(user, task.maintenanceTask, [task.delegateId])
2003
- const createdTask: MaintenanceTask = taskToCreate ? await maintenanceTaskApi?.createMaintenanceTaskWithUser(user, taskToCreate) : undefined
2004
- return createdTask ? (await existingTasks).concat(createdTask) : await existingTasks
2005
- }, Promise.resolve([] as MaintenanceTask[]))
2006
- } else {
2007
- return []
2008
- }
2009
- }
2010
-
2011
- private createMaintenanceTask(concernedDataOwner: HealthcareParty | Patient | Device, concernedPubKey: string) {
2012
- return new MaintenanceTask({
2013
- id: this.randomUuid(),
2014
- taskType: 'KEY_PAIR_UPDATE',
2015
- status: MaintenanceTask.StatusEnum.Pending,
2016
- properties: [
2017
- new PropertyStub({
2018
- id: 'dataOwnerConcernedId',
2019
- type: new PropertyTypeStub({ type: PropertyTypeStub.TypeEnum.STRING }),
2020
- typedValue: new TypedValueObject({
2021
- type: TypedValueObject.TypeEnum.STRING,
2022
- stringValue: concernedDataOwner.id,
2023
- }),
2024
- }),
2025
- new PropertyStub({
2026
- id: 'dataOwnerConcernedPubKey',
2027
- type: new PropertyTypeStub({ type: PropertyTypeStub.TypeEnum.STRING }),
2028
- typedValue: new TypedValueObject({
2029
- type: TypedValueObject.TypeEnum.STRING,
2030
- stringValue: concernedPubKey,
2031
- }),
2032
- }),
2033
- ],
2034
- })
2035
- }
2036
-
2037
- private getDataOwnerHexPublicKeys(dataOwner: HealthcareParty | Patient | Device): Set<string> {
2038
- return new Set(
2039
- (dataOwner.publicKey ? [dataOwner.publicKey] : [])
2040
- .concat(dataOwner.aesExchangeKeys ? Object.keys(dataOwner.aesExchangeKeys) : [])
2041
- .filter((pubKey) => !!pubKey)
2042
- )
2043
- }
2044
-
2045
- private async getDataOwnerPublicKeys(dataOwner: HealthcareParty | Patient | Device): Promise<CryptoKey[]> {
2046
- return await Promise.all(
2047
- Array.from(this.getDataOwnerHexPublicKeys(dataOwner)).map(
2048
- async (pubKey) => await this._RSA.importKey('jwk', spkiToJwk(hex2ua(pubKey)), ['encrypt'])
2049
- )
2050
- )
2051
- }
2052
-
2053
- generateKeyForDelegate(ownerId: string, delegateId: string): PromiseLike<HealthcareParty | Patient> {
2054
- //Preload hcp and patient because we need them and they are going to be invalidated from the caches
2055
- return notConcurrent(this.generateKeyConcurrencyMap, ownerId, async () => {
2056
- const [{ type: ownerType, dataOwner: owner }, { dataOwner: delegate }] = await Promise.all([
2057
- this.getDataOwner(ownerId),
2058
- this.getDataOwner(delegateId),
2059
- ])
2060
-
2061
- const availablePublicKeysFingerprints = Object.keys(this.rsaKeyPairs)
2062
- const ownerLegacyPublicKey = owner.publicKey
2063
- const isOwnerLegacyPublicKeyAvailable = ownerLegacyPublicKey
2064
- ? availablePublicKeysFingerprints.some((fp) => ownerLegacyPublicKey.endsWith(fp))
2065
- : false
2066
-
2067
- const availableOwnerPublicKeys = [
2068
- ownerLegacyPublicKey,
2069
- ...Object.keys(owner.aesExchangeKeys || {}).filter((x) => x !== ownerLegacyPublicKey),
2070
- ].filter((k) => !!k && availablePublicKeysFingerprints.some((fp) => k.endsWith(fp))) as string[]
2071
- const selectedPublicKey = availableOwnerPublicKeys[0]
2072
-
2073
- if (!selectedPublicKey) {
2074
- throw new Error(`Invalid owner, no public key, keypairs have not be set for ${ownerId}`)
2075
- }
2076
-
2077
- if (
2078
- ((owner.hcPartyKeys || {})[delegateId] && owner.publicKey && availablePublicKeysFingerprints.includes(owner.publicKey.slice(-32))) ||
2079
- Object.values(owner.aesExchangeKeys || {}).some(
2080
- (x) => x[delegateId] && Object.keys(x[delegateId]).some((k) => availablePublicKeysFingerprints.includes(k))
2081
- )
2082
- ) {
2083
- return owner
2084
- }
2085
-
2086
- let ownerCombinedAesExchangeKeys = owner.aesExchangeKeys ?? {}
2087
-
2088
- if (ownerLegacyPublicKey && !(owner.aesExchangeKeys ?? {})[ownerLegacyPublicKey]) {
2089
- //Transfer keys from old structure (hcparty keys) to new one (aesExchangeKeys)
2090
- const unknownDataOwnerCounterPartIds = Object.keys(owner.hcPartyKeys ?? {}).filter((x) => x !== ownerId && x !== delegateId)
2091
- const counterParts = [
2092
- owner,
2093
- delegate,
2094
- ...(await Promise.all(unknownDataOwnerCounterPartIds.map((cpid) => this.getDataOwner(cpid).then((dot) => dot.dataOwner)))),
2095
- ]
2096
- ownerCombinedAesExchangeKeys = {
2097
- [ownerLegacyPublicKey]: Object.entries(owner.hcPartyKeys ?? {}).reduce(
2098
- (map, [hcpId, keys]) => ({
2099
- ...map,
2100
- [hcpId]: { [ownerLegacyPublicKey]: keys[0], [counterParts.find((x) => x.id === hcpId)?.publicKey ?? '']: keys[1] },
2101
- ...{},
2102
- }),
2103
- {}
2104
- ),
2105
- ...ownerCombinedAesExchangeKeys,
2106
- }
2107
- }
2108
-
2109
- const delegatePublicKeys = [delegate.publicKey, ...Object.keys(delegate.aesExchangeKeys ?? {}).filter((x) => x !== delegate.publicKey)].filter(
2110
- (x) => !!x
2111
- ) as string[]
2112
- if (!delegatePublicKeys.length) {
2113
- throw new Error(`Invalid delegate, no public key, keypairs have not be set for ${delegateId}`)
2114
- }
2115
- const genProm = this._AES.generateCryptoKey(true).then(async (AESKey) => {
2116
- const allPubKeys = [...availableOwnerPublicKeys, ...delegatePublicKeys]
2117
- const encryptedAesKeys = await allPubKeys.reduce(
2118
- async (map, pubK) => ({
2119
- ...(await map),
2120
- [pubK.slice(-32)]: ua2hex(
2121
- await this._RSA.encrypt(await this._RSA.importKey('jwk', spkiToJwk(hex2ua(pubK)), ['encrypt']), hex2ua(AESKey as string))
2122
- ),
2123
- }),
2124
- Promise.resolve({} as { [pubKey: string]: string })
2125
- )
2126
-
2127
- if (delegate.publicKey && ownerLegacyPublicKey && isOwnerLegacyPublicKeyAvailable) {
2128
- owner.hcPartyKeys![delegateId] = [encryptedAesKeys[ownerLegacyPublicKey.slice(-32)], encryptedAesKeys[delegate.publicKey.slice(-32)]]
2129
- }
2130
- owner.aesExchangeKeys = {
2131
- ...(ownerCombinedAesExchangeKeys ?? {}),
2132
- [selectedPublicKey]: { ...(owner.aesExchangeKeys?.[selectedPublicKey] ?? {}), [delegateId]: encryptedAesKeys },
2133
- }
2134
-
2135
- return new Promise<['hcp', HealthcareParty] | ['patient', Patient] | ['device', Device]>((resolve, reject) => {
2136
- ownerType === 'hcp'
2137
- ? (this.dataOwnerCache[owner.id!] = this.hcpartyBaseApi
2138
- .modifyHealthcareParty(owner as HealthcareParty)
2139
- .then((x) => ({ type: 'hcp', dataOwner: x } as CachedDataOwner)))
2140
- .then((x) => resolve(['hcp', x.dataOwner]))
2141
- .catch((e) => reject(e))
2142
- : ownerType === 'patient'
2143
- ? (this.dataOwnerCache[owner.id!] = this.patientBaseApi.modifyPatient(owner as Patient).then((x) => ({ type: 'patient', dataOwner: x })))
2144
- .then((x) => resolve(['patient', x.dataOwner]))
2145
- .catch((e) => reject(e))
2146
- : (this.dataOwnerCache[owner.id!] = this.deviceBaseApi.updateDevice(owner as Device).then((x) => ({ type: 'device', dataOwner: x })))
2147
- .then((x) => resolve(['device', x.dataOwner]))
2148
- .catch((e) => reject(e))
2149
- })
2150
- })
2151
-
2152
- this.hcPartyKeysRequestsCache[delegateId] = genProm.then(() => {
2153
- return this.forceGetEncryptedAesExchangeKeysForDelegate(delegateId)
2154
- })
2155
- return genProm.then((res) => {
2156
- return res[1]
2157
- })
2158
- })
2159
- }
2160
-
2161
- getDataOwner(ownerId: string, loadIfMissingFromCache: boolean = true) {
2162
- return (
2163
- this.dataOwnerCache[ownerId] ??
2164
- (loadIfMissingFromCache
2165
- ? (this.dataOwnerCache[ownerId] = this.patientBaseApi
2166
- .getPatient(ownerId)
2167
- .then((x) => ({ type: 'patient', dataOwner: x } as CachedDataOwner))
2168
- .catch(() => this.deviceBaseApi.getDevice(ownerId).then((x) => ({ type: 'device', dataOwner: x } as CachedDataOwner)))
2169
- .catch(() => this.hcpartyBaseApi.getHealthcareParty(ownerId).then((x) => ({ type: 'hcp', dataOwner: x } as CachedDataOwner)))
2170
- .catch((e) => {
2171
- delete this.dataOwnerCache[ownerId]
2172
- throw e
2173
- }))
2174
- : undefined)
2175
- )
2176
- }
2177
-
2178
- // noinspection JSUnusedGlobalSymbols
2179
- async checkPrivateKeyValidity(dataOwner: HealthcareParty | Patient | Device): Promise<boolean> {
2180
- const publicKeys = Array.from(new Set([dataOwner.publicKey].concat(Object.keys(dataOwner.aesExchangeKeys ?? {})).filter((x) => !!x))) as string[]
2181
-
2182
- return await publicKeys.reduce(async (pres, publicKey) => {
2183
- const res = await pres
2184
- try {
2185
- const k = await this._RSA.importKey('jwk', spkiToJwk(hex2ua(publicKey)), ['encrypt'])
2186
- const cipher = await this._RSA.encrypt(k, utf8_2ua('shibboleth'))
2187
- const ikp = await this.getCachedRsaKeyPairForFingerprint(dataOwner.id!, publicKey.slice(-32))
2188
- const plainText = ua2utf8(await this._RSA.decrypt(ikp.privateKey, new Uint8Array(cipher)))
2189
- return plainText === 'shibboleth' || res
2190
- } catch (e) {
2191
- return res
2192
- }
2193
- }, Promise.resolve(false))
2194
- }
2195
-
2196
- private throwDetailedExceptionForInvalidParameter(argName: string, argValue: any, methodName: string, methodArgs: any) {
2197
- if (argValue) return
2198
-
2199
- let details = '\nMethod name: icc-crypto-x-api.' + methodName + '()\nArguments:'
2200
-
2201
- if (methodArgs) {
2202
- try {
2203
- const argsArray = [...methodArgs]
2204
- _.each(argsArray, (arg, index) => (details += '\n[' + index + ']: ' + JSON.stringify(arg)))
2205
- } catch (ex) {
2206
- details += '; a problem occured while logging arguments details: ' + ex
2207
- }
2208
- }
2209
-
2210
- throw '### THIS SHOULD NOT HAPPEN: ' + argName + ' has an invalid value: ' + argValue + details
2211
- }
2212
-
2213
- async getEncryptionDecryptionKeys(dataOwnerId: string, document: EncryptedEntity): Promise<Array<string> | undefined> {
2214
- try {
2215
- return !document.id
2216
- ? undefined
2217
- : _.uniq(
2218
- (
2219
- await this.extractKeysFromDelegationsForHcpHierarchy(
2220
- dataOwnerId,
2221
- document.id,
2222
- (document.encryptionKeys && Object.keys(document.encryptionKeys).length && document.encryptionKeys) || document.delegations!
2223
- )
2224
- ).extractedKeys
2225
- )
2226
- } catch (e) {
2227
- return undefined
2228
- }
2229
- }
2230
-
2231
- async encryptDecrypt(
2232
- method: 'encrypt' | 'decrypt',
2233
- content: Uint8Array | ArrayBuffer,
2234
- edKey?: string,
2235
- user?: User,
2236
- documentObject?: Document
2237
- ): Promise<Uint8Array | Array<any> | any> {
2238
- if (!content || !(edKey || (user?.healthcarePartyId && documentObject))) return content
2239
-
2240
- if (edKey) {
2241
- const importedEdKey = await this._AES.importKey('raw', hex2ua(edKey.replace(/-/g, '')))
2242
- try {
2243
- return await this._AES[method](importedEdKey, content)
2244
- } catch (e) {
2245
- return content
2246
- }
2247
- }
2248
-
2249
- const sfks = await this.extractKeysFromDelegationsForHcpHierarchy(user?.healthcarePartyId!, documentObject?.id!, documentObject?.encryptionKeys!)
2250
- const importedEdKey = await this._AES.importKey('raw', hex2ua(sfks.extractedKeys[0].replace(/-/g, '')))
2251
- try {
2252
- return await this._AES[method](importedEdKey, content)
2253
- } catch (e) {
2254
- return content
2255
- }
2256
- }
2257
- }