@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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icc-crypto-x-api.js","sourceRoot":"","sources":["../../icc-x-api/icc-crypto-x-api.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,sCAAuC;AACvC,sCAAuC;AACvC,4CAA6C;AAE7C,4BAA2B;AAC3B,oDAagC;AAChC,uDAA6G;AAC7G,mCAAyF;A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,MAAM,aAAa,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,IAAA,qBAAM,EAAC,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,CAAA;gBACvF,IAAI;oBACF,OAAO,MAAM,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,aAAa,EAAE,OAAO,CAAC,CAAA;iBACvD;gBAAC,OAAO,CAAC,EAAE;oBACV,OAAO,OAAO,CAAA;iBACf;aACF;YAED,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,yCAAyC,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,iBAAkB,EAAE,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,EAAG,EAAE,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,cAAe,CAAC,CAAA;YACjJ,MAAM,aAAa,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,IAAA,qBAAM,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,CAAA;YACvG,IAAI;gBACF,OAAO,MAAM,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,aAAa,EAAE,OAAO,CAAC,CAAA;aACvD;YAAC,OAAO,CAAC,EAAE;gBACV,OAAO,OAAO,CAAA;aACf;QACH,CAAC;KAAA;CACF;AA/pED,sCA+pEC","sourcesContent":["/* eslint-disable */\nimport { IccDeviceApi, IccHcpartyApi, IccPatientApi } from '../icc-api'\nimport { AESUtils } from './crypto/AES'\nimport { RSAUtils } from './crypto/RSA'\nimport { ShamirClass } from './crypto/shamir'\n\nimport * as _ from 'lodash'\nimport {\n Delegation,\n Device,\n Document,\n EncryptedEntity,\n EncryptedParentEntity,\n HealthcareParty,\n MaintenanceTask,\n Patient,\n PropertyStub,\n PropertyTypeStub,\n TypedValueObject,\n User,\n} from '../icc-api/model/models'\nimport { b2a, b64_2uas, hex2ua, string2ua, ua2hex, ua2string, ua2utf8, utf8_2ua } from './utils/binary-utils'\nimport { fold, foldAsync, jwk2spki, notConcurrent, pkcs8ToJwk, spkiToJwk } from './utils'\nimport { IccMaintenanceTaskXApi } from './icc-maintenance-task-x-api'\nimport { StorageFacade } from './storage/StorageFacade'\nimport { KeyStorageFacade } from './storage/KeyStorageFacade'\n\ninterface DelegatorAndKeys {\n delegatorId: string\n key: CryptoKey\n rawKey: string\n}\n\ntype CachedDataOwner =\n | {\n type: 'patient'\n dataOwner: Patient\n }\n | {\n type: 'device'\n dataOwner: Device\n }\n | {\n type: 'hcp'\n dataOwner: HealthcareParty\n }\n\nexport class IccCryptoXApi {\n get crypto(): Crypto {\n return this._crypto\n }\n\n get shamir(): ShamirClass {\n return this._shamir\n }\n\n get RSA(): RSAUtils {\n return this._RSA\n }\n\n get AES(): AESUtils {\n return this._AES\n }\n\n get keyStorage(): KeyStorageFacade {\n return this._keyStorage\n }\n\n get storage(): StorageFacade<string> {\n return this._storage\n }\n\n hcPartyKeysCache: {\n [key: string]: DelegatorAndKeys\n } = {}\n\n //[delegateId][delegatorId] = delegateEncryptedHcPartyKey\n //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)\n hcPartyKeysRequestsCache: {\n [delegateId: string]: Promise<{ [key: string]: { [key: string]: { [key: string]: string } } }>\n } = {}\n\n cacheLastDeletionTimestamp: number | undefined = undefined\n\n dataOwnerCache: { [key: string]: Promise<CachedDataOwner> } = {}\n\n emptyHcpCache(hcpartyId: string) {\n delete this.hcPartyKeysRequestsCache[hcpartyId]\n delete this.dataOwnerCache[hcpartyId]\n }\n\n /**\n * Gets all delegate encrypted HcParty keys of the delegate with the given `delegateHcPartyId`, and for each key the delegator id\n * If the keys are not cached, they are retrieved from the backend.\n *\n * @param delegateHcPartyId The Health Care Party id\n * @returns \\{delegatorId: delegateEncryptedHcPartyKey\\}\n */\n private getEncryptedAesExchangeKeysForDelegate(\n delegateHcPartyId: string\n ): Promise<{ [key: string]: { [key: string]: { [key: string]: string } } }> {\n return (\n this.hcPartyKeysRequestsCache[delegateHcPartyId] ||\n (this.hcPartyKeysRequestsCache[delegateHcPartyId] = this.forceGetEncryptedAesExchangeKeysForDelegate(delegateHcPartyId))\n )\n }\n\n private forceGetEncryptedAesExchangeKeysForDelegate(\n delegateHcPartyId: string\n ): Promise<{ [key: string]: { [key: string]: { [key: string]: string } } }> {\n return Promise.all([\n this.patientBaseApi.getPatientAesExchangeKeysForDelegate(delegateHcPartyId).catch(() => {}),\n this.hcpartyBaseApi.getAesExchangeKeysForDelegate(delegateHcPartyId).catch(() => {}),\n this.deviceBaseApi.getDeviceAesExchangeKeysForDelegate(delegateHcPartyId).catch(() => {}),\n ]).then(([a, b, c]) => ({ ...a, ...b, ...c }))\n }\n\n keychainLocalStoreIdPrefix = 'org.taktik.icure.ehealth.keychain.'\n keychainValidityDateLocalStoreIdPrefix = 'org.taktik.icure.ehealth.keychain-date.'\n hcpPreferenceKeyEhealthCert = 'eHealthCRTCrypt'\n hcpPreferenceKeyEhealthCertDate = 'eHealthCRTDate'\n rsaLocalStoreIdPrefix = 'org.taktik.icure.rsa.'\n\n private hcpartyBaseApi: IccHcpartyApi\n private patientBaseApi: IccPatientApi\n private deviceBaseApi: IccDeviceApi\n private readonly _crypto: Crypto\n\n private generateKeyConcurrencyMap: { [key: string]: PromiseLike<HealthcareParty | Patient> }\n private rsaKeyPairs: { [pubKeyFingerprint: string]: { publicKey: CryptoKey; privateKey: CryptoKey } } = {}\n\n private readonly _AES: AESUtils\n private readonly _RSA: RSAUtils\n private readonly _shamir: ShamirClass\n private readonly _storage: StorageFacade<string>\n private readonly _keyStorage: KeyStorageFacade\n\n constructor(\n host: string,\n headers: { [key: string]: string },\n hcpartyBaseApi: IccHcpartyApi, //Init with a hcparty x api for better performances\n patientBaseApi: IccPatientApi,\n deviceBaseApi: IccDeviceApi,\n crypto: Crypto = typeof window !== 'undefined' ? window.crypto : typeof self !== 'undefined' ? self.crypto : ({} as Crypto),\n storage: StorageFacade<string>,\n keyStorage: KeyStorageFacade\n ) {\n this.hcpartyBaseApi = hcpartyBaseApi\n this.patientBaseApi = patientBaseApi\n this.deviceBaseApi = deviceBaseApi\n this._crypto = crypto\n this.generateKeyConcurrencyMap = {}\n\n this._AES = new AESUtils(crypto)\n this._RSA = new RSAUtils(crypto)\n this._shamir = new ShamirClass(crypto)\n this._storage = storage\n this._keyStorage = keyStorage\n }\n\n async loadAllKeysFromLocalStorage(dataOwnerId: string): Promise<void> {\n const pubKeys = await this.getDataOwnerHexPublicKeys((await this.getDataOwner(dataOwnerId)).dataOwner)\n\n for (const pk of pubKeys) {\n const fingerprint = pk.slice(-32)\n if (!this.rsaKeyPairs[fingerprint]) {\n await this.cacheKeyPair(await this.loadKeyPairNotImported(dataOwnerId, fingerprint))\n }\n }\n }\n\n async getCachedRsaKeyPairForFingerprint(\n dataOwnerId: string,\n pubKeyOrFingerprint: string\n ): Promise<{ publicKey: CryptoKey; privateKey: CryptoKey }> {\n const fingerprint = pubKeyOrFingerprint.slice(-32)\n return this.rsaKeyPairs[fingerprint] ?? (await this.cacheKeyPair(await this.loadKeyPairNotImported(dataOwnerId, fingerprint)))\n }\n\n async getPublicKeys() {\n return await Object.values(this.rsaKeyPairs).reduce(async (p, rsa) => {\n return (await p).concat([jwk2spki(await this.RSA.exportKey(rsa.publicKey, 'jwk'))])\n }, Promise.resolve([] as string[]))\n }\n\n async getPublicKeysAsSpki(): Promise<string[]> {\n return await Object.values(this.rsaKeyPairs).reduce(async (p, rsa) => {\n return (await p).concat([ua2hex(await this.RSA.exportKey(rsa.publicKey, 'spki'))])\n }, Promise.resolve([] as string[]))\n }\n\n randomUuid() {\n return ((1e7).toString() + -1e3 + -4e3 + -8e3 + -1e11).replace(\n /[018]/g,\n (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\n )\n }\n\n sha256(data: ArrayBuffer | Uint8Array) {\n return this._crypto.subtle.digest('SHA-256', data)\n }\n\n encryptShamirRSAKey(hcp: HealthcareParty, notaries: Array<HealthcareParty>, threshold?: number): Promise<HealthcareParty> {\n return this.loadKeyPairImported(hcp.id!).then((keyPair) =>\n this._RSA.exportKey(keyPair.privateKey, 'pkcs8').then(async (exportedKey) => {\n const privateKey = exportedKey as ArrayBuffer\n const nLen = notaries.length\n const shares = nLen == 1 ? [privateKey] : this._shamir.share(ua2hex(privateKey), nLen, threshold || nLen).map((share) => hex2ua(share))\n const publicKeys = await this.getPublicKeys()\n\n return _.reduce(\n notaries,\n (queue, notary, idx) => {\n return queue.then(async (hcp) => {\n const { owner: hcParty, aesExchangeKeys } = await this.getOrCreateHcPartyKeys(hcp, notary.id!)\n const [publicKeyIdentifier, hcPartyKeys] = Object.entries(aesExchangeKeys)[0]\n\n try {\n const importedAESHcPartyKey = await this.decryptHcPartyKey(\n notary.id!,\n hcParty.id!,\n notary.id!,\n publicKeyIdentifier,\n hcPartyKeys,\n publicKeys\n )\n const encryptedShamirPartition = await this.AES.encrypt(importedAESHcPartyKey.key, shares[idx])\n\n hcParty.privateKeyShamirPartitions = hcParty.privateKeyShamirPartitions || {}\n hcParty.privateKeyShamirPartitions[notary.id!] = ua2hex(encryptedShamirPartition)\n } catch (e) {\n console.log('Error during encryptedShamirRSAKey', notary.id, e)\n }\n return hcParty\n })\n },\n Promise.resolve(hcp)\n )\n })\n )\n }\n\n /* Reconstructs the hcp's private key from the notaries' shamir shares and stores it in localstorage.\n The retrieval procedure of the shares is not designed or implemented yet. Therefore, it currently only\n works if the private key of the notaries are stored in local storage (e.g. notaries = [hcp parent]).\n * @param hcp : the hcp whose key we want to reconstruct\n * @param notaries : holders of the shamir shares\n **/\n async decryptShamirRSAKey(hcp: HealthcareParty, notaries: Array<HealthcareParty>): Promise<void> {\n try {\n const publicKeys = await this.getPublicKeys()\n const nLen = notaries.length\n let decryptedPrivatedKey\n if (nLen == 1) {\n const notaryHcPartyId = notaries[0].id!\n const encryptedAesKeyMap = await this.getEncryptedAesExchangeKeys(hcp, notaryHcPartyId)\n const importedAESHcPartyKey = await Promise.all(\n Object.entries(encryptedAesKeyMap).map(\n async ([idPubKey, keysMap]) => await this.decryptHcPartyKey(notaryHcPartyId, hcp.id!, notaryHcPartyId, idPubKey, keysMap, publicKeys)\n )\n )\n const cryptedPrivatedKey = hcp.privateKeyShamirPartitions![notaryHcPartyId]\n decryptedPrivatedKey = ua2hex(\n await this.AES.decryptSome(\n importedAESHcPartyKey.map((k) => k.key),\n hex2ua(cryptedPrivatedKey)\n )\n )\n } else {\n const decryptedShares: string[] = await _.reduce(\n notaries,\n (queue, notary) => {\n return queue.then(async (shares: string[]) => {\n try {\n // TODO: now, we get the encrypted shares in db and decrypt them. This assumes that the\n // the notaries' private keys are in localstorage. We should implement a way for the notaries to\n // give hcp the decrypted shares without having to also share their private keys.\n const encryptedAesKeyMap = await this.getEncryptedAesExchangeKeys(hcp, notary.id!)\n const importedAESHcPartyKey = await Promise.all(\n Object.entries(encryptedAesKeyMap).map(\n async ([idPubKey, keysMap]) => await this.decryptHcPartyKey(notary.id!, hcp.id!, notary.id!, idPubKey, keysMap, publicKeys)\n )\n )\n const encryptedShare = hcp.privateKeyShamirPartitions![notary.id!]\n const decryptedShamirPartition = ua2hex(\n await this.AES.decryptSome(\n importedAESHcPartyKey.map((k) => k.key),\n hex2ua(encryptedShare)\n )\n )\n shares.push(decryptedShamirPartition)\n } catch (e) {\n console.log('Error during encryptedShamirRSAKey', notary.id, e)\n }\n return shares\n })\n },\n Promise.resolve([] as string[])\n )\n\n decryptedPrivatedKey = this._shamir.combine(decryptedShares)\n }\n\n const importedPrivateKey = await this._RSA.importKey('pkcs8', hex2ua(decryptedPrivatedKey), ['decrypt'])\n const importedPublicKey = await this._RSA.importKey('spki', hex2ua(hcp.publicKey!), ['encrypt'])\n\n const exportedKeyPair = await this._RSA.exportKeys({ publicKey: importedPublicKey, privateKey: importedPrivateKey }, 'jwk', 'jwk')\n await this._keyStorage.storeKeyPair(`${this.rsaLocalStoreIdPrefix}${hcp.id!}`, exportedKeyPair)\n } catch (e) {\n console.log('Cannot decrypt shamir RSA key')\n }\n }\n\n /**\n * Gets the decryptedHcPartyKey for the given `encryptedHcPartyKey`\n *\n * If the decrypted key exists in the cache, retrieves it from there.\n * Otherwise, decrypts it using the RSA key of the delegator or delegate (depending on the value of `encryptedForDelegator`)\n *\n * @param loggedHcPartyId The logged DataOwner id or the id of his parent\n * @param delegatorId The id of Delegator eg, the DataOwner where this AES exchange key is stored\n * @param delegateHcPartyId The id of the delegate : the data owner for whom this aes exchange key has been created\n * @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\n * @param encryptedHcPartyKeys The encryptedHcPartyKeys to be decrypted\n * @param publicKeys The public keys for which we might have a private key\n *\n * @returns - **delegatorId** the input param `delegatorId`\n * - **key** the decrypted `encryptedHcPartyKey`\n */\n\n async decryptHcPartyKey(\n loggedHcPartyId: string,\n delegatorId: string,\n delegateHcPartyId: string,\n publicKey: string,\n encryptedHcPartyKeys: { [key: string]: string },\n publicKeys: string[]\n ): Promise<DelegatorAndKeys> {\n if (!publicKeys.length) {\n const reason = `Cannot decrypt RSA encrypted AES HcPartyKey from ${delegatorId} to ${delegateHcPartyId}: no public key`\n console.warn(reason)\n throw new Error(reason)\n }\n\n const cacheKey = `${delegateHcPartyId}|${publicKey.slice(-32)}|${delegatorId}`\n const res = this.hcPartyKeysCache[cacheKey]\n\n if (res) {\n return res\n }\n\n const result = await publicKeys.reduce(async (res, pk) => {\n const delegatorAndKeys = await res\n if (delegatorAndKeys) {\n return delegatorAndKeys\n }\n\n const fingerprint = pk.slice(-32)\n const keyPair = this.rsaKeyPairs[fingerprint] ?? (await this.cacheKeyPair(await this.loadKeyPairNotImported(loggedHcPartyId, fingerprint)))\n if (!keyPair) {\n return\n }\n\n let encryptedHcPartyKey = encryptedHcPartyKeys[fingerprint]\n if (!encryptedHcPartyKey) {\n const delegate = await this.getDataOwner(delegateHcPartyId, false) //it is faster to just try to decrypt if not in cache\n if (!delegate?.dataOwner || delegate.dataOwner.publicKey?.endsWith(fingerprint)) {\n encryptedHcPartyKey = encryptedHcPartyKeys['']\n } else {\n return\n }\n }\n\n try {\n const decryptedAesExchangeKey = await this._RSA.decrypt(keyPair.privateKey, hex2ua(encryptedHcPartyKey))\n const importedAesExchangeKey = await this._AES.importKey('raw', decryptedAesExchangeKey)\n\n return (this.hcPartyKeysCache[cacheKey] = {\n delegatorId: delegatorId,\n key: importedAesExchangeKey,\n rawKey: ua2hex(new Uint8Array(decryptedAesExchangeKey)),\n })\n } catch (e) {\n const reason = `Cannot decrypt RSA encrypted AES HcPartyKey from ${delegatorId} to ${delegateHcPartyId} for pubKey ${fingerprint}: impossible to decrypt`\n console.log(reason)\n }\n }, Promise.resolve(undefined as DelegatorAndKeys | void))\n\n const availablePublicKeys = publicKeys.filter((pk) => this.rsaKeyPairs[pk.slice(-32)])\n\n if (!result) {\n //Try to find another key from the transfer keys\n const hcp = (await this.getDataOwner(loggedHcPartyId))!\n const candidates = Object.entries(hcp.dataOwner.transferKeys ?? {})\n .filter(([fp, _]) => availablePublicKeys.some((pk) => pk.slice(-32) === fp.slice(-32))) // only keep keys that we will be able to decrypt\n .flatMap(([pk, keys]) => Object.entries(keys).map(([k, v]) => [pk, k, v]))\n .filter(([_, k]) => !publicKeys.some((apk) => apk.slice(-32) === k.slice(-32)))\n if (candidates.length) {\n const newPublicKeys = await candidates.reduce(async (p, [decryptionKeyFingerprint, privateKeyFingerprint, encryptedPrivateKey]) => {\n const newKeys = await p\n const aesExchangeKeys = Object.entries(hcp.dataOwner.aesExchangeKeys!).find(\n ([fp, _]) => fp.slice(-32) === privateKeyFingerprint.slice(-32)\n )?.[1][loggedHcPartyId]\n if (aesExchangeKeys) {\n const encryptedAesExchangeKey = Object.entries(aesExchangeKeys).find(\n ([fp, _]) => fp.slice(-32) === decryptionKeyFingerprint.slice(-32)\n )?.[1]\n if (encryptedAesExchangeKey) {\n const keyPair = this.rsaKeyPairs[decryptionKeyFingerprint.slice(-32)]\n if (!keyPair) {\n return newKeys\n }\n const decryptedAesExchangeKey = await this._RSA.decrypt(keyPair.privateKey, hex2ua(encryptedAesExchangeKey))\n const importedAesExchangeKey = await this._AES.importKey('raw', decryptedAesExchangeKey)\n\n const decryptedPrivateKey = await this._AES.decrypt(importedAesExchangeKey, hex2ua(encryptedPrivateKey))\n\n const newPublicKey = Object.keys(hcp.dataOwner.aesExchangeKeys!).find((fp) => fp.slice(-32) === privateKeyFingerprint.slice(-32))!\n await this.cacheKeyPair({\n publicKey: spkiToJwk(hex2ua(newPublicKey)),\n privateKey: pkcs8ToJwk(decryptedPrivateKey),\n })\n\n return newKeys.concat([newPublicKey])\n }\n }\n return newKeys\n }, Promise.resolve([] as string[]))\n\n if (newPublicKeys.length) {\n return await this.decryptHcPartyKey(loggedHcPartyId, delegatorId, delegateHcPartyId, publicKey, encryptedHcPartyKeys, newPublicKeys)\n }\n }\n\n 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`\n console.log(reason)\n throw new Error(reason)\n }\n\n return result\n }\n\n /**\n * Cache the RSA private/public key pair for the HcP with the given id `hcPartyKeyOwner`\n */\n cacheKeyPair(keyPairInJwk: { publicKey: JsonWebKey; privateKey: JsonWebKey }): Promise<{ publicKey: CryptoKey; privateKey: CryptoKey }> {\n return this._RSA.importKeyPair('jwk', keyPairInJwk.privateKey, 'jwk', keyPairInJwk.publicKey).then((importedKeyPair) => {\n const pk = jwk2spki(keyPairInJwk.publicKey)\n return (this.rsaKeyPairs[pk.slice(-32)] = importedKeyPair)\n })\n }\n\n /**\n * 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\n * @param parent :the object of which delegations (SPKs) to decrypt\n * @param hcpartyId :the id of the delegate HcP\n * @param confidential :weather the key is going to be used for a confidential piece or data or not\n * @returns - **extractedKeys** array containing secret IDs (SFKs) from decrypted SPKs, from both given HcP and its parents ; can contain duplicates\n * - **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)\n */\n async extractPreferredSfk(parent: EncryptedParentEntity, hcpartyId: string, confidential: boolean) {\n const secretForeignKeys = await this.extractSFKsHierarchyFromDelegations(parent, hcpartyId)\n const keys = secretForeignKeys\n .filter(({ extractedKeys }) => extractedKeys.length > 0)\n .filter((x, idx) => (confidential ? x.hcpartyId === hcpartyId : idx === 0))[0]\n\n return (\n (keys &&\n (confidential\n ? keys.extractedKeys.find(\n (k) => !secretForeignKeys.some(({ extractedKeys, hcpartyId: parentHcpId }) => hcpartyId !== parentHcpId && extractedKeys.includes(k))\n )\n : keys.extractedKeys[0])) ||\n undefined\n )\n }\n\n /**\n * Gets an array of decrypted HcPartyKeys, shared between the delegate with ID `delegateHcPartyId` and the delegators in `delegatorsHcPartyIdsSet`\n *\n * 1. Get the keys for the delegateHealthCareParty (cache/backend).\n * 2. For each key in the delegators, decrypt it with the delegate's private key\n * 3. Filter out undefined keys and return them\n *\n * @param delegatorsHcPartyIdsSet array of delegator HcP IDs that could have delegated something to the HcP with ID `delegateHcPartyId`\n * @param delegateHcPartyId the HcP for which the HcPs with IDs in `delegatorsHcPartyIdsSet` could have delegated something\n * @param minCacheDurationInSeconds The minimum cache duration\n * @returns - **delegatorId** : the id of the delegator HcP that shares the **key** with the `delegateHcPartyId`\n * - **key** the decrypted HcPartyKey, shared between **delegatorId** and `delegateHcPartyId`\n */\n async decryptAndImportAesHcPartyKeysForDelegators(\n delegatorsHcPartyIdsSet: Array<string>,\n delegateHcPartyId: string,\n minCacheDurationInSeconds: number = 60\n ): Promise<Array<DelegatorAndKeys>> {\n const aesExchangeKeys = await this.getEncryptedAesExchangeKeysForDelegate(delegateHcPartyId).then(\n async (delegatorIdsWithDelegateEncryptedHcPartyKeys: { [key: string]: { [key: string]: { [key: string]: string } } }) => {\n // [key: delegatorId] = delegateEncryptedHcPartyKey\n // For each delegatorId, obtain the AES key (decrypted HcParty Key) shared with the delegate, decrypted by the delegate\n return (\n await Promise.all(\n delegatorsHcPartyIdsSet.map(async (delegatorId: string) => {\n const encryptedHcPartyKeysForPubKeyFingerprint = delegatorIdsWithDelegateEncryptedHcPartyKeys[delegatorId]\n if (!encryptedHcPartyKeysForPubKeyFingerprint) {\n return [] as DelegatorAndKeys[]\n }\n const decryptedKeys = await Promise.all(\n Object.entries(encryptedHcPartyKeysForPubKeyFingerprint).map(async ([delegatorPubKeyFinerprint, encryptedAesExchangeKeys]) => {\n try {\n return await this.decryptHcPartyKey(\n delegateHcPartyId,\n delegatorId,\n delegateHcPartyId,\n delegatorPubKeyFinerprint,\n encryptedAesExchangeKeys,\n Object.keys(this.rsaKeyPairs)\n )\n } catch (e) {\n console.log(`failed to decrypt hcPartyKey from ${delegatorId} to ${delegateHcPartyId}`)\n return\n }\n })\n )\n return decryptedKeys.filter((x) => !!x) as DelegatorAndKeys[]\n })\n )\n ).reduce((acc, x) => [...acc, ...x], [])\n }\n )\n\n if (aesExchangeKeys.length > 0) {\n return aesExchangeKeys\n }\n\n const nowTimestamp = +new Date()\n if (!this.cacheLastDeletionTimestamp || (nowTimestamp - this.cacheLastDeletionTimestamp) / 1000 >= minCacheDurationInSeconds) {\n delete this.hcPartyKeysRequestsCache[delegateHcPartyId]\n this.cacheLastDeletionTimestamp = nowTimestamp\n return this.decryptAndImportAesHcPartyKeysForDelegators(delegatorsHcPartyIdsSet, delegateHcPartyId, minCacheDurationInSeconds)\n }\n\n return []\n }\n\n /**\n * 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)\n *\n * 1. Checks whether the delegations' object has a delegation for the\n * given healthCarePartyId.\n * 2. Enumerates all the delegators (delegation.owner) present in\n * the delegations.\n * 3. Decrypt's delegators' keys and returns them.\n *\n * @param dataOwnerId : the id of the delegate HCP\n * @param delegations : delegations (can be SPKs, CFKs, EKs) for all delegates\n * @param fallbackOnParent default true; use parent's healthCarePartyId in case there's no delegation for the `healthcarePartyId`\n * @returns - **delegatorId** : the id of the delegator HcP that shares the **key** with the `healthcarePartyId`\n * - **key** the decrypted HcPartyKey, shared between **delegatorId** and `healthcarePartyId`\n */\n async getDecryptedAesExchangeKeysOfDelegateAndParentsFromGenericDelegations(\n dataOwnerId: string,\n delegations: { [key: string]: Array<Delegation> },\n fallbackOnParent = true\n ): Promise<Array<DelegatorAndKeys>> {\n const delegationsArray = delegations[dataOwnerId] ?? []\n\n if (!delegationsArray.length && fallbackOnParent) {\n const { dataOwner: hcp } = await this.getDataOwner(dataOwnerId)\n return (hcp as any).parentId\n ? await this.getDecryptedAesExchangeKeysOfDelegateAndParentsFromGenericDelegations((hcp as any).parentId, delegations)\n : []\n } else {\n const delegatorIds = new Set<string>()\n delegationsArray.forEach((del) => delegatorIds.add(del.owner!))\n return this.decryptAndImportAesHcPartyKeysForDelegators(Array.from(delegatorIds), dataOwnerId)\n }\n }\n\n /**\n * Retrieve the owner HealthCareParty key and use it to encrypt\n * both the delegations (createdObject.id) and the cryptedForeignKeys\n * (parentObject.id), and returns them in an object.\n */\n async initObjectDelegations(\n createdObject: any,\n parentObject: any,\n ownerId: string,\n secretForeignKeyOfParent: string | null\n ): Promise<{\n owner: HealthcareParty | Device | Patient\n delegations: any\n cryptedForeignKeys: any\n secretForeignKeys: any[]\n secretId: string\n }> {\n const publicKeys = await this.getPublicKeys()\n\n this.throwDetailedExceptionForInvalidParameter('createdObject.id', createdObject.id, 'initObjectDelegations', arguments)\n\n if (parentObject) this.throwDetailedExceptionForInvalidParameter('parentObject.id', parentObject.id, 'initObjectDelegations', arguments)\n\n const secretId = this.randomUuid()\n return this.getDataOwner(ownerId).then(async ({ dataOwner: owner }) => {\n const { owner: modifiedOwner, aesExchangeKeys } = await this.getOrCreateHcPartyKeys(owner, ownerId)\n const importedAESHcPartyKey = await this.decryptAnyAesExchangeKeyForOwner(aesExchangeKeys, ownerId, ownerId, ownerId, publicKeys)\n\n const encryptedDelegation = await this._AES.encrypt(\n importedAESHcPartyKey.key,\n string2ua(createdObject.id + ':' + secretId).buffer as ArrayBuffer,\n importedAESHcPartyKey.rawKey\n )\n const encryptedSecretForeignKey = parentObject\n ? await this._AES.encrypt(\n importedAESHcPartyKey.key,\n string2ua(createdObject.id + ':' + parentObject.id).buffer as ArrayBuffer,\n importedAESHcPartyKey.rawKey\n )\n : undefined\n\n return {\n owner: modifiedOwner,\n delegations: _.fromPairs([\n [\n ownerId,\n [\n {\n owner: ownerId,\n delegatedTo: ownerId,\n key: ua2hex(encryptedDelegation!),\n },\n ],\n ],\n ]),\n cryptedForeignKeys:\n (encryptedSecretForeignKey\n ? _.fromPairs([\n [\n ownerId,\n [\n {\n owner: ownerId,\n delegatedTo: ownerId,\n key: ua2hex(encryptedSecretForeignKey!),\n },\n ],\n ],\n ])\n : {}) || {},\n secretForeignKeys: (secretForeignKeyOfParent && [secretForeignKeyOfParent]) || [],\n secretId: secretId,\n }\n })\n }\n\n private async decryptAnyAesExchangeKeyForOwner(\n aesExchangeKeys: { [p: string]: { [p: string]: string } },\n loggedHcPartyId: string,\n delegatorId: string,\n delegateHcPartyId: string,\n publicKeys: string[]\n ) {\n const importedAESHcPartyKey = await Object.entries(aesExchangeKeys).reduce(async (acc, [publicKeyIdentifier, hcPartyKeys]) => {\n const accValue = await acc\n if (accValue) {\n return accValue\n }\n try {\n return await this.decryptHcPartyKey(loggedHcPartyId, delegatorId, delegateHcPartyId, publicKeyIdentifier, hcPartyKeys, publicKeys)\n } catch (e) {\n return undefined\n }\n }, Promise.resolve(undefined as DelegatorAndKeys | undefined))\n\n if (!importedAESHcPartyKey) {\n throw new Error(`No hcParty key can be decrypted from ${delegatorId} to ${delegateHcPartyId} using currently available private keys`)\n }\n return importedAESHcPartyKey\n }\n\n /**\n * Gets updated instances of SPKs and CKFs for the child object `modifiedObject`.\n * These updated SPKs and CKFs contain new SPKs/CFKs to provide delegation from delegator HcP with id `ownerId` to delegate HcP with id `delegateId`\n *\n * 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;\n * the `secretIdOfModifiedObject` is returned, unmodified, as `secretId`\n * 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\n * 3. creates a new delegation (Secret Primary Keys) on the `modifiedObject` encrypted with the HcPKey from owner to the delegate;\n * 4. if `parentObject` != null, creates a new CFK on the `modifiedObject` encrypted with the HcPKey from owner to the delegate;\n * 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`\n * 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`\n * 7. then some duplicates delegations (SPKs) and CKFs are removed\n *\n * @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\n * @param parentObject : will NOT be mutated\n * @param ownerId : the HcP id of the delegator\n * @param delegateId : the HcP id of the delegate\n * @param secretIdOfModifiedObject : the secret id used in the child object to generate its SPK\n * @returns - **delegations** existing delegations (SPKs) of the `modifiedObject`, appended with results from step 5\n * - **cryptedForeignKeys** existing CFKs of the `modifiedObject`, appended with results from steps 6\n * - **secretId** which is the given input parameter `secretIdOfModifiedObject`\n */\n\n extendedDelegationsAndCryptedForeignKeys<T extends EncryptedEntity, P extends EncryptedParentEntity>(\n //TODO: suggested name: getExtendedChildObjectSPKandCFKwithDelegationFromDelegatorToDelegate\n modifiedObject: T,\n parentObject: P | null,\n ownerId: string,\n delegateId: string,\n secretIdOfModifiedObject: string | null\n ): Promise<{\n modifiedObject: T\n delegations: { [key: string]: Array<Delegation> }\n cryptedForeignKeys: { [key: string]: Array<Delegation> }\n secretId: string | null //TODO: why input parameter secretIdOfModifiedObject is returned?\n }> {\n this.throwDetailedExceptionForInvalidParameter('modifiedObject.id', modifiedObject.id, 'extendedDelegationsAndCryptedForeignKeys', arguments) //modifiedObject should never be null\n\n if (parentObject)\n this.throwDetailedExceptionForInvalidParameter('parentObject.id', parentObject?.id, 'extendedDelegationsAndCryptedForeignKeys', arguments)\n\n this.throwDetailedExceptionForInvalidParameter(\n 'secretIdOfModifiedObject',\n secretIdOfModifiedObject,\n 'extendedDelegationsAndCryptedForeignKeys',\n arguments\n )\n\n return this.getDataOwner(ownerId)\n .then(async ({ dataOwner: owner }) => {\n const publicKeys = await this.getPublicKeys()\n const { owner: modifiedOwner, aesExchangeKeys } = await this.getOrCreateHcPartyKeys(owner, delegateId)\n const importedAESHcPartyKey = await this.decryptAnyAesExchangeKeyForOwner(aesExchangeKeys, ownerId, delegateId, ownerId, publicKeys)\n\n modifiedObject = modifiedObject?.id === owner.id ? (modifiedOwner as T) : modifiedObject\n\n return {\n previousDecryptedDelegations: await Promise.all(\n ((modifiedObject.delegations || {})[delegateId] || []).map(\n (d: Delegation) =>\n (d.key &&\n d.owner === ownerId &&\n this._AES.decrypt(importedAESHcPartyKey.key, hex2ua(d.key), importedAESHcPartyKey.rawKey).catch(() => {\n console.log(\n `Cannot decrypt delegation from ${d.owner} to ${d.delegatedTo} for object with id ${modifiedObject.id}:`,\n modifiedObject\n )\n return Promise.resolve()\n })) ||\n Promise.resolve()\n ) as Array<Promise<ArrayBuffer>>\n ),\n\n previousDecryptedCryptedForeignKeys: await Promise.all(\n ((modifiedObject.cryptedForeignKeys || {})[delegateId] || []).map(\n (d: Delegation) =>\n (d.key &&\n d.owner === ownerId &&\n this._AES.decrypt(importedAESHcPartyKey.key, hex2ua(d.key), importedAESHcPartyKey.rawKey).catch(() => {\n console.log(\n `Cannot decrypt cryptedForeignKeys from ${d.owner} to ${d.delegatedTo} for object with id ${modifiedObject.id}:`,\n modifiedObject\n )\n return Promise.resolve()\n })) ||\n Promise.resolve()\n ) as Array<Promise<ArrayBuffer>>\n ),\n\n cryptedDelegation: await this._AES.encrypt(\n importedAESHcPartyKey.key,\n string2ua(modifiedObject.id + ':' + secretIdOfModifiedObject!).buffer as ArrayBuffer,\n importedAESHcPartyKey.rawKey\n ),\n\n cryptedForeignKey: parentObject\n ? await this._AES.encrypt(\n importedAESHcPartyKey.key,\n string2ua(modifiedObject.id + ':' + parentObject.id).buffer as ArrayBuffer,\n importedAESHcPartyKey.rawKey\n )\n : undefined,\n }\n })\n .then(({ previousDecryptedDelegations, previousDecryptedCryptedForeignKeys, cryptedDelegation, cryptedForeignKey }) => {\n //try to limit the extent of the modifications to the delegations by preserving the redundant delegation already present and removing duplicates\n //For delegate delegateId, we create:\n // 1. an array of objects { d : {owner,delegatedTo,encrypted(key)}} with one object for each existing delegation and the new key concatenated\n // 2. an array of objects { k : decrypted(key)} with one object for the existing delegations and the new key concatenated\n // We merge them to get one array of objects: { d: {owner,delegatedTo,encrypted(key)}, k: decrypted(key)}\n const delegationCryptedDecrypted = (\n _.merge(\n ((modifiedObject.delegations || {})[delegateId] || []).map((d: Delegation) => ({\n d,\n })),\n (previousDecryptedDelegations || []).map((dd) => (dd ? ua2string(dd) : null)).map((k) => ({ k }))\n ) as { d: Delegation; k: string }[]\n )\n .filter(({ d, k }) => !!k || d.owner !== ownerId) //Only keep the ones created by us that can still be decrypted\n .map(({ d, k }) => ({\n d,\n k: k || this.randomUuid(),\n })) // Use some unique id that ensures the delegation not created by us are going to be held\n .concat([\n {\n d: {\n owner: ownerId,\n delegatedTo: delegateId,\n key: ua2hex(cryptedDelegation!),\n },\n k: modifiedObject.id + ':' + secretIdOfModifiedObject!,\n },\n ])\n\n const allDelegations = _.cloneDeep(modifiedObject.delegations || {})\n\n //Only keep one version of the decrypted key\n allDelegations[delegateId] = _.uniqBy(delegationCryptedDecrypted, (x: any) => x.k).map((x: any) => x.d)\n\n const cryptedForeignKeysCryptedDecrypted = (\n _.merge(\n ((modifiedObject.cryptedForeignKeys || {})[delegateId] || []).map((d: Delegation) => ({\n d,\n })),\n (previousDecryptedCryptedForeignKeys || []).map((dd) => (dd ? ua2string(dd) : null)).map((k) => ({ k }))\n ) as { d: Delegation; k: string }[]\n )\n .filter(({ d, k }) => !!k || d.owner !== ownerId) //Only keep the ones created by us that can still be decrypted\n .map(({ d, k }: { d: Delegation; k: string }) => ({\n d,\n k: k || this.randomUuid(),\n })) // Use some unique id that ensures the delegation not created by us are going to be held\n .concat(\n cryptedForeignKey\n ? [\n {\n d: {\n owner: ownerId,\n delegatedTo: delegateId,\n key: ua2hex(cryptedForeignKey),\n },\n k: modifiedObject.id + ':' + parentObject?.id,\n },\n ]\n : []\n )\n\n const allCryptedForeignKeys = _.cloneDeep(modifiedObject.cryptedForeignKeys || {})\n if (cryptedForeignKeysCryptedDecrypted.length > 0) {\n allCryptedForeignKeys[delegateId] = _.uniqBy(cryptedForeignKeysCryptedDecrypted, (x: any) => x.k).map((x: any) => x.d)\n }\n\n return {\n modifiedObject,\n delegations: allDelegations,\n cryptedForeignKeys: allCryptedForeignKeys,\n secretId: secretIdOfModifiedObject,\n }\n })\n }\n\n // 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\n private async _getDelegateIdsOf(owner: HealthcareParty | Patient | Device): Promise<string[]> {\n const mapOfAesExchKeysDelegates = Object.entries(owner.aesExchangeKeys ?? {}).reduce(\n (map, [, aesExchKeys]) => map.concat(Object.keys(aesExchKeys).filter((delegateId) => !map.includes(delegateId))),\n [] as string[]\n )\n\n return owner.hcPartyKeys\n ? mapOfAesExchKeysDelegates.concat(Object.keys(owner.hcPartyKeys).filter((delegateId) => !mapOfAesExchKeysDelegates.includes(delegateId)))\n : mapOfAesExchKeysDelegates\n }\n\n async getEncryptedAesExchangeKeys(\n owner: HealthcareParty | Patient | Device,\n delegateId: string\n ): Promise<{ [pubKeyIdentifier: string]: { [pubKeyFingerprint: string]: string } }> {\n const publicKeys = await this.getPublicKeys()\n const mapOfAesExchangeKeys = Object.entries(owner.aesExchangeKeys ?? {})\n .filter((e) => e[1][delegateId] && Object.keys(e[1][delegateId]).some((k1) => publicKeys.some((pk) => pk.endsWith(k1))))\n .reduce((map, e) => {\n const candidates = Object.entries(e[1][delegateId]) //[fingerprint of delegate pub key, key], [fingerprint of owner pub key, key]\n const [publicKeyFingerprint, encryptedAesExchangeKey] = candidates[candidates.findIndex(([k, v]) => publicKeys.some((pk) => pk.endsWith(k)))]\n return { ...map, [e[0]]: { [publicKeyFingerprint]: encryptedAesExchangeKey } }\n }, {} as { [pubKeyIdentifier: string]: { [pubKeyFingerprint: string]: string } })\n\n if (!owner.publicKey || mapOfAesExchangeKeys[owner.publicKey] || !owner.hcPartyKeys?.[delegateId]) {\n return mapOfAesExchangeKeys\n }\n const delegate = (await this.getDataOwner(delegateId)).dataOwner\n if (delegate.publicKey && publicKeys.includes(delegate.publicKey)) {\n return {\n ...mapOfAesExchangeKeys,\n [owner.publicKey]: { [(await this.getDataOwner(delegateId)).dataOwner.publicKey?.slice(-32)!]: owner.hcPartyKeys[delegateId][1] },\n }\n } else if (publicKeys.includes(owner.publicKey)) {\n return { ...mapOfAesExchangeKeys, [owner.publicKey]: { [owner.publicKey.slice(-32)]: owner.hcPartyKeys[delegateId][0] } }\n }\n return mapOfAesExchangeKeys\n }\n\n async getOrCreateHcPartyKeys(\n owner: HealthcareParty | Patient | Device,\n delegateId: string\n ): Promise<{\n owner: HealthcareParty | Patient | Device\n aesExchangeKeys: { [pubKeyIdentifier: string]: { [pubKeyFingerprint: string]: string } }\n }> {\n const aesExchangeKeys = await this.getEncryptedAesExchangeKeys(owner, delegateId)\n if (Object.keys(aesExchangeKeys).length) {\n return { owner, aesExchangeKeys }\n }\n\n const modifiedOwner = await this.generateKeyForDelegate(owner.id!, delegateId)\n return { owner: modifiedOwner, aesExchangeKeys: await this.getEncryptedAesExchangeKeys(modifiedOwner, delegateId) }\n }\n\n /**\n * Retrieve the owners HealthCareParty key, decrypt it, and\n * use it to encrypt & initialize the \"encryptionKeys\" object\n * and return it.\n * @param createdObject\n * @param ownerId\n */\n initEncryptionKeys(\n createdObject: any,\n ownerId: string\n ): Promise<{\n encryptionKeys: any\n secretId: string\n }> {\n this.throwDetailedExceptionForInvalidParameter('createdObject.id', createdObject.id, 'initEncryptionKeys', arguments)\n\n const secretId = this.randomUuid()\n return this.getDataOwner(ownerId).then(async ({ dataOwner: owner }) => {\n const publicKeys = await this.getPublicKeys()\n const { owner: modifiedOwner, aesExchangeKeys } = await this.getOrCreateHcPartyKeys(owner, ownerId)\n const importedAESHcPartyKey = await this.decryptAnyAesExchangeKeyForOwner(aesExchangeKeys, ownerId, ownerId, ownerId, publicKeys)\n const encryptedEncryptionKeys = await this._AES.encrypt(\n importedAESHcPartyKey.key,\n string2ua(createdObject.id + ':' + secretId),\n importedAESHcPartyKey.rawKey\n )\n\n return {\n encryptionKeys: _.fromPairs([\n [\n ownerId,\n [\n {\n owner: ownerId,\n delegatedTo: ownerId,\n key: ua2hex(encryptedEncryptionKeys),\n },\n ],\n ],\n ]),\n secretId: secretId,\n }\n })\n }\n\n /**\n * Gets an updated instance of the EKs of `modifiedObject`.\n * The updated EKs contain a new EK to provide delegation from delegator HcP with id `ownerId` to delegate HcP with id `delegateId`.\n * @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\n * @param ownerId : delegator HcP id\n * @param delegateId : delegate HcP id\n * @param secretEncryptionKeyOfObject : secret Id for the EK (Content Encryption Key)\n * @returns\n * - **encryptionKeys** existing EKs of the `modifiedObject`, appended with a new EK item (owner: `ownerId`, delegatedTo: `delegateId`, encrypted key with secretId:\n * `secretEncryptionKeyOfObject` )\n * - **secretId** which is the given input parameter `secretEncryptionKeyOfObject`\n */\n async appendEncryptionKeys<T extends EncryptedEntity>(\n //TODO: suggested name: getExtendedEKwithDelegationFromDelegatorToDelegate\n modifiedObject: T,\n ownerId: string,\n delegateId: string,\n secretEncryptionKeyOfObject: string\n ): Promise<{\n modifiedObject: T\n encryptionKeys: { [key: string]: Array<Delegation> }\n secretId: string | null //secretEncryptionKeyOfObject is returned to avoid the need for a new decryption when chaining calls\n }> {\n this.throwDetailedExceptionForInvalidParameter('modifiedObject.id', modifiedObject.id, 'appendEncryptionKeys', arguments) //modifiedObject should never be null\n\n this.throwDetailedExceptionForInvalidParameter('secretEncryptionKeyOfObject', secretEncryptionKeyOfObject, 'appendEncryptionKeys', arguments)\n\n const owner = (await this.getDataOwner(ownerId)).dataOwner\n const publicKeys = await this.getPublicKeys()\n const { owner: modifiedOwner, aesExchangeKeys } = await this.getOrCreateHcPartyKeys(owner, delegateId)\n modifiedObject = modifiedObject?.id === owner.id ? (modifiedOwner as T) : modifiedObject\n const importedAESHcPartyKey = await this.decryptAnyAesExchangeKeyForOwner(aesExchangeKeys, ownerId, ownerId, delegateId, publicKeys)\n const previousDecryptedEncryptionKeys = await Promise.all(\n ((modifiedObject.encryptionKeys || {})[delegateId] || []).map(\n (d: Delegation) =>\n (d.key &&\n d.owner === ownerId &&\n this._AES.decrypt(importedAESHcPartyKey.key, hex2ua(d.key), importedAESHcPartyKey.rawKey).catch(() => {\n console.log(\n `Cannot decrypt encryption key from ${d.owner} to ${d.delegatedTo} for object with id ${modifiedObject.id}:`,\n modifiedObject\n )\n return Promise.resolve()\n })) ||\n Promise.resolve()\n ) as Array<Promise<ArrayBuffer>>\n )\n const encryptedEncryptionKey = await this._AES.encrypt(\n importedAESHcPartyKey.key,\n string2ua(modifiedObject.id + ':' + secretEncryptionKeyOfObject)\n )\n //try to limit the extent of the modifications to the delegations by preserving the redundant encryption keys already present and removing duplicates\n //For delegate delegateId, we create:\n // 1. an array of objects { d : {owner,delegatedTo,encrypted(key)}} with one object for the existing encryption keys and the new key concatenated\n // 2. an array of objects { k : decrypted(key)} with one object for the existing delegations and the new key concatenated\n // We merge them to get one array of objects: { d: {owner,delegatedTo,encrypted(key)}, k: decrypted(key)}\n const encryptionKeysCryptedDecrypted = (\n _.merge(\n ((modifiedObject.encryptionKeys || {})[delegateId] || []).map((d: Delegation) => ({\n d,\n })),\n (previousDecryptedEncryptionKeys || []).map((dd) => (dd ? ua2string(dd) : null)).map((k) => ({ k }))\n ) as { d: Delegation; k: string }[]\n )\n .filter(({ d, k }: { d: Delegation; k: string }) => !!k || d.owner !== ownerId) //Only keep the ones created by us that can still be decrypted\n .map(({ d, k }: { d: Delegation; k: string }) => ({ d, k: k || this.randomUuid() }))\n .concat([\n {\n d: {\n owner: ownerId,\n delegatedTo: delegateId,\n key: ua2hex(encryptedEncryptionKey),\n },\n k: modifiedObject.id + ':' + secretEncryptionKeyOfObject!,\n },\n ])\n\n const allEncryptionKeys = _.cloneDeep(modifiedObject.encryptionKeys || {})\n allEncryptionKeys[delegateId] = _.uniqBy(encryptionKeysCryptedDecrypted, (x: any) => x.k).map((x: any) => x.d)\n\n return {\n modifiedObject: modifiedObject,\n encryptionKeys: allEncryptionKeys,\n secretId: secretEncryptionKeyOfObject,\n }\n }\n\n /**\n * 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`\n * The SFKs of `child` are not updated, so this method assumes this is not the initial delegation on the `child` object\n * The method also performs some deduplication of all types of delegations.\n * @param parent : the parent object of `child`; will NOT be mutated\n * @param child : the object that will be mutated and returned\n * @param ownerId delegator HcP id\n * @param delegateId delegate HcP id\n * @param secretDelegationKey the secret Id used in the child object to generate the SPK\n * @param secretEncryptionKey the secret Id used in the child object to generate the EK (Content Encryption Key)\n * @returns - an updated `child` object that will contain updated SPKs, CFKs, EKs\n * */\n\n async addDelegationsAndEncryptionKeys<T extends EncryptedEntity>(\n //TODO: suggested name: updateChildGenericDelegationsFromDelegatorToDelegate\n parent: EncryptedParentEntity | null,\n child: T,\n ownerId: string,\n delegateId: string,\n secretDelegationKey: string | null,\n secretEncryptionKey: string | null\n ): Promise<T> {\n if (parent) this.throwDetailedExceptionForInvalidParameter('parent.id', parent.id, 'addDelegationsAndEncryptionKeys', arguments)\n\n this.throwDetailedExceptionForInvalidParameter('child.id', child.id, 'addDelegationsAndEncryptionKeys', arguments)\n\n const extendedChildObjectSPKsAndCFKs = secretDelegationKey\n ? await this.extendedDelegationsAndCryptedForeignKeys(child, parent, ownerId, delegateId, secretDelegationKey)\n : { modifiedObject: child, delegations: {}, cryptedForeignKeys: {}, secretId: null }\n\n const extendedChildObjectEKs = secretEncryptionKey\n ? await this.appendEncryptionKeys(extendedChildObjectSPKsAndCFKs.modifiedObject, ownerId, delegateId, secretEncryptionKey)\n : { encryptionKeys: {}, modifiedObject: extendedChildObjectSPKsAndCFKs.modifiedObject }\n\n const latestObject = extendedChildObjectEKs.modifiedObject\n\n return _.assign(latestObject, {\n // Conservative version ... We might want to be more aggressive with the deduplication of keys\n // For each delegate, we are going to concatenate to the src (the new delegations), the object in dest (the current delegations)\n // for which we do not find an equivalent delegation (same delegator, same delegate)\n delegations: _.assignWith(child.delegations, extendedChildObjectSPKsAndCFKs.delegations, (dest, src) =>\n (src || []).concat(_.filter(dest, (d: Delegation) => !src.some((s: Delegation) => s.owner === d.owner && s.delegatedTo === d.delegatedTo)))\n ),\n cryptedForeignKeys: _.assignWith(child.cryptedForeignKeys, extendedChildObjectSPKsAndCFKs.cryptedForeignKeys, (dest, src) =>\n (src || []).concat(_.filter(dest, (d: Delegation) => !src.some((s: Delegation) => s.owner === d.owner && s.delegatedTo === d.delegatedTo)))\n ),\n encryptionKeys: _.assignWith(child.encryptionKeys, extendedChildObjectEKs.encryptionKeys, (dest, src) =>\n (src || []).concat(_.filter(dest, (d: Delegation) => !src.some((s: Delegation) => s.owner === d.owner && s.delegatedTo === d.delegatedTo)))\n ),\n })\n }\n\n /**\n * 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\n * @param document : the object of which delegations (SPKs) to decrypt\n * @param hcpartyId : the id of the delegate HcP\n * @returns - **extractedKeys** array containing secret IDs (SFKs) from decrypted SPKs, from both given HcP and its parents ; can contain duplicates\n * - **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)\n */\n //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?\n extractDelegationsSFKs(\n //TODO: suggested name: getSecretIDsSPKofHcpAndParentsFromDocument\n document: EncryptedEntity | null,\n hcpartyId?: string\n ): Promise<{ extractedKeys: Array<string>; hcpartyId?: string }> {\n if (!document || !hcpartyId) {\n return Promise.resolve({ extractedKeys: [], hcpartyId: hcpartyId }) //TODO: thow exception instead?\n }\n const delegationsForAllDelegates = document.delegations\n if (!delegationsForAllDelegates || !Object.keys(delegationsForAllDelegates).length) {\n console.log(`There is no delegation in document (${document.id})`)\n return Promise.resolve({ extractedKeys: [], hcpartyId: hcpartyId })\n }\n return this.extractKeysFromDelegationsForHcpHierarchy(hcpartyId, document.id!, delegationsForAllDelegates)\n }\n\n /**\n * 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\n * @param document : the object of which delegations (SPKs) to decrypt\n * @param hcpartyId : the id of the delegate HcP\n * @returns - **extractedKeys** array containing secret IDs (SFKs) from decrypted SPKs, from both given HcP and its parents ; can contain duplicates\n * - **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)\n */\n extractSFKsHierarchyFromDelegations(\n document: EncryptedEntity | null,\n hcpartyId?: string\n ): Promise<Array<{ hcpartyId: string; extractedKeys: Array<string> }>> {\n if (!document || !hcpartyId) {\n return Promise.resolve([])\n }\n const delegationsForAllDelegates = document.delegations\n if (!delegationsForAllDelegates || !Object.keys(delegationsForAllDelegates).length) {\n console.log(`There is no delegation in document (${document.id})`)\n return Promise.resolve([])\n }\n return this.extractKeysHierarchyFromDelegationLikes(hcpartyId, document.id!, delegationsForAllDelegates)\n }\n\n // noinspection JSUnusedGlobalSymbols\n\n extractCryptedFKs(\n //TODO: suggested name: getSecretIDsCFKofHcpAndParentsFromDocument\n document: EncryptedEntity | null,\n hcpartyId: string\n ): Promise<{ extractedKeys: Array<string>; hcpartyId: string }> {\n if (!document || !document.cryptedForeignKeys) {\n return Promise.resolve({ extractedKeys: [], hcpartyId: hcpartyId })\n }\n const cfksForAllDelegates = document.cryptedForeignKeys\n if (!cfksForAllDelegates || !Object.keys(cfksForAllDelegates).length) {\n console.log(`There is no cryptedForeignKeys in document (${document.id})`)\n return Promise.resolve({ extractedKeys: [], hcpartyId: hcpartyId })\n }\n return this.extractKeysFromDelegationsForHcpHierarchy(hcpartyId, document.id!, cfksForAllDelegates)\n }\n\n extractEncryptionsSKs(\n //TODO: suggested name: getSecretIDsEKofHcpAndParentsFromDocument\n document: EncryptedEntity,\n hcpartyId: string\n ): Promise<{ extractedKeys: Array<string>; hcpartyId: string }> {\n if (!document.encryptionKeys) {\n return Promise.resolve({ extractedKeys: [], hcpartyId: hcpartyId })\n }\n const eckeysForAllDelegates = document.encryptionKeys\n if (!eckeysForAllDelegates || !Object.keys(eckeysForAllDelegates).length) {\n return Promise.resolve({ extractedKeys: [], hcpartyId: hcpartyId })\n }\n return this.extractKeysFromDelegationsForHcpHierarchy(hcpartyId, document.id!, eckeysForAllDelegates)\n }\n\n extractDelegationsSFKsAndEncryptionSKs(ety: EncryptedEntity, ownerId: string) {\n const delegationsSfksOwnerPromise = this.extractDelegationsSFKs(ety, ownerId).then((xks) => xks.extractedKeys) //Will climb up hierarchy\n const encryptionKeysOwnerPromise = this.extractEncryptionsSKs(ety, ownerId).then((xks) => xks.extractedKeys) //Will climb up hierarchy\n\n return Promise.all([delegationsSfksOwnerPromise, encryptionKeysOwnerPromise])\n }\n\n /**\n * Get decrypted generic secret IDs (secretIdSPKs, parentIds, secretIdEKs) from generic delegations (SPKs, CFKs, EKs)\n * 1. Get HealthCareParty from it's Id.\n * 2. Decrypt the keys of the given HCP.\n * 3. Decrypt the parent's key if it has parent.\n * 4. Return the decrypted key corresponding to the Health Care Party.\n * @param hcpartyId : the id of the delegate HcP (including its parents) for which to decrypt `extractedKeys`\n * @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\n * @param delegations : generic delegations (can be SPKs, CFKs, EKs) for all delegates from where to extract `extractedKeys`\n * @returns - **extractedKeys** array containing secret IDs from decrypted generic delegations, from both HCP with given `hcpartyId` and its parents; can contain duplicates\n * - **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)\n */\n //TODO: even if there are no delegations for parent HCP (but the parent exists), the returned hcpartyId will be the one of the parent\n async extractKeysHierarchyFromDelegationLikes(\n //TODO suggested name: getSecretIdsOfHcpAndParentsFromGenericDelegations\n hcpartyId: string,\n objectId: string,\n delegations: { [key: string]: Array<Delegation> }\n ): Promise<Array<{ hcpartyId: string; extractedKeys: Array<string> }>> {\n const { dataOwner: hcp } = await this.getDataOwner(hcpartyId)\n const extractedKeys = []\n if (delegations[hcpartyId]?.length) {\n const decryptedAndImportedAesHcPartyKeys = await this.getDecryptedAesExchangeKeysOfDelegateAndParentsFromGenericDelegations(\n hcpartyId,\n delegations,\n false\n )\n const collatedAesKeysFromDelegatorToHcpartyId = decryptedAndImportedAesHcPartyKeys.reduce(\n (map, k) => ({ ...map, [k.delegatorId]: (map[k.delegatorId] ?? []).concat([k]) }),\n {} as { [key: string]: { key: CryptoKey; rawKey: string }[] }\n )\n extractedKeys.push(...(await this.decryptKeyInDelegationLikes(delegations[hcpartyId], collatedAesKeysFromDelegatorToHcpartyId, objectId)))\n }\n\n return (hcp as HealthcareParty).parentId\n ? [\n ...(await this.extractKeysHierarchyFromDelegationLikes((hcp as HealthcareParty).parentId!, objectId, delegations)),\n { extractedKeys: extractedKeys, hcpartyId: hcpartyId },\n ]\n : [{ extractedKeys: extractedKeys, hcpartyId: hcpartyId }]\n }\n\n /**\n * Get decrypted generic secret IDs (secretIdSPKs, parentIds, secretIdEKs) from generic delegations (SPKs, CFKs, EKs)\n * 1. Get Data Owner (HCP, Patient or Device) from it's Id.\n * 2. Decrypt the keys of the given data owner.\n * 3. Decrypt the parent's key if it has parent.\n * 4. Return the decrypted key corresponding to the Health Care Party.\n * @param dataOwnerId : the id of the delegate data owner (including its parents) for which to decrypt `extractedKeys`\n * @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\n * @param delegations : generic delegations (can be SPKs, CFKs, EKs) for all delegates from where to extract `extractedKeys`\n * @returns - **extractedKeys** array containing secret IDs from decrypted generic delegations, from both data owner with given `dataOwnerId` and its parents; can contain duplicates\n * - **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)\n */\n //TODO: even if there are no delegations for parent HCP (but the parent exists), the returned dataOwnerId will be the one of the parent\n extractKeysFromDelegationsForHcpHierarchy(\n //TODO suggested name: getSecretIdsOfHcpAndParentsFromGenericDelegations\n dataOwnerId: string,\n objectId: string,\n delegations: { [key: string]: Array<Delegation> }\n ): Promise<{ extractedKeys: Array<string>; hcpartyId: string }> {\n return this.getDataOwner(dataOwnerId)\n .then(({ dataOwner: hcp }) =>\n (delegations[dataOwnerId] && delegations[dataOwnerId].length\n ? this.getDecryptedAesExchangeKeysOfDelegateAndParentsFromGenericDelegations(dataOwnerId, delegations, false).then(\n (decryptedAndImportedAesHcPartyKeys) => {\n const collatedAesKeysFromDelegatorToHcpartyId: {\n [key: string]: { key: CryptoKey; rawKey: string }[]\n } = {}\n decryptedAndImportedAesHcPartyKeys.forEach((k) => {\n ;(collatedAesKeysFromDelegatorToHcpartyId[k.delegatorId] ?? (collatedAesKeysFromDelegatorToHcpartyId[k.delegatorId] = [])).push(k)\n })\n return this.decryptKeyInDelegationLikes(delegations[dataOwnerId], collatedAesKeysFromDelegatorToHcpartyId, objectId!)\n }\n )\n : Promise.resolve([])\n )\n .then(async (extractedKeys) => {\n if (extractedKeys.length == 0) {\n return await this._extractDelegationsKeysUsingDataOwnerDelegateAesExchangeKeys(hcp, delegations, objectId)\n }\n return extractedKeys\n })\n .then(async (extractedKeys) => {\n const parentExtractedKeys = (hcp as HealthcareParty).parentId\n ? await this.extractKeysFromDelegationsForHcpHierarchy((hcp as HealthcareParty).parentId!, objectId, delegations)\n : { extractedKeys: [], hcpartyId: undefined }\n return { extractedKeys: extractedKeys.concat(parentExtractedKeys.extractedKeys), hcpartyId: parentExtractedKeys.hcpartyId ?? dataOwnerId }\n })\n )\n .catch((e) => {\n console.error(`DataOwner with id ${dataOwnerId} cannot be resolved`)\n throw e\n })\n }\n\n /**\n * 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\n * of its own ones\n *\n * @param dataOwner The current data owner from whom we want to decrypt the aesExchangeKeys\n * @param delegations The object delegations to decrypt\n * @param objectId The object to decrypt id\n * @private\n */\n private async _extractDelegationsKeysUsingDataOwnerDelegateAesExchangeKeys(\n dataOwner: Patient | Device | HealthcareParty,\n delegations: { [p: string]: Array<Delegation> },\n objectId: string\n ) {\n // Find other keys through aesExchangeKeys\n const dataOwnerPubKeys = await this.getPublicKeys()\n const keysToDecrypt = fold(\n Object.entries(dataOwner.aesExchangeKeys!),\n {} as { [delegateId: string]: { [pubKey: string]: { [pubKeyFingerprint: string]: string } } },\n (acc, [pub, aesForPub]) => {\n if (dataOwnerPubKeys.find((pubKey) => pubKey.slice(-32) == pub.slice(-32)) == undefined) {\n // We get AES Keys only from delegates of keys we don't currently have\n // Otherwise, decrypted AES Keys would have previously worked\n Object.entries(aesForPub).forEach(([delegateId, aesKeys]) => {\n if (delegateId != dataOwner.id) {\n const aesAcc = {} as { [pubKeyFingerprint: string]: string }\n Object.entries(aesKeys)\n .filter(([encrPubKey]) => dataOwnerPubKeys.some((pubKey) => pubKey.slice(-32) == encrPubKey))\n .forEach(([pubKeyFingerprint, aesEncr]) => {\n aesAcc[pubKeyFingerprint] = aesEncr\n })\n\n if (acc[delegateId] == undefined) {\n acc[delegateId] = {}\n }\n acc[delegateId][pub] = aesAcc\n }\n })\n }\n return acc\n }\n )\n\n const decryptedAndImportedAesHcPartyKeys = await foldAsync(\n Object.entries(keysToDecrypt),\n [] as DelegatorAndKeys[],\n async (delKeysAcc, [delegateId, keysForDelegate]) => {\n try {\n delKeysAcc.push(await this.decryptAnyAesExchangeKeyForOwner(keysForDelegate, dataOwner.id!, dataOwner.id!, delegateId, dataOwnerPubKeys))\n } catch (e) {\n console.log(`Could not decrypt aesExchangeKeys for delegate ${delegateId}`)\n }\n return delKeysAcc\n }\n )\n\n const collatedAesKeysFromDelegatorToHcpartyId = decryptedAndImportedAesHcPartyKeys.reduce(\n (map, k) => ({ ...map, [k.delegatorId]: (map[k.delegatorId] ?? []).concat([k]) }),\n {} as { [key: string]: { key: CryptoKey; rawKey: string }[] }\n )\n\n const delegateIdsWithNewExtractedAesKeys = Object.keys(keysToDecrypt)\n const delegationsToDecrypt = fold(Object.entries(delegations), [] as Delegation[], (acc, [delegateId, del]) => {\n if (delegateIdsWithNewExtractedAesKeys.find((id) => id == delegateId) != undefined) {\n acc.push(...delegations[delegateId])\n }\n return acc\n })\n\n return this.decryptKeyInDelegationLikes(delegationsToDecrypt, collatedAesKeysFromDelegatorToHcpartyId, objectId!)\n }\n\n /**\n * Gets an array of generic secret IDs decrypted from a list of generic delegations (SPKs, CFKs, EKs) `delegationsArray`\n * 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\n * For each one of the delegations in the `delegationsArray`, it tries to decrypt with the decryptedHcPartyKey of the owner of that delegation;\n *\n * @param delegationsArray : generic delegations array\n * @param aesKeys : **key** HcP ids of delegators/owners in the `delegationsArray`, each with its own decryptedHcPartyKey\n * @param masterId : is the object id to which the generic delegation belongs to\n * - used only to check whether the object.id matches the one stored in the decrypted generic delegation item\n * - even if there's no match, the secret ID is kept as a valid result (and a message logged to console)\n * @returns array of generic secret IDs (secretIdSPK, parentId, secretIdEK)\n */\n async decryptKeyInDelegationLikes(\n //TODO: suggested name: getSecretIdsFromGenericDelegations\n delegationsArray: Array<Delegation>,\n aesKeysForDataOwnerId: { [key: string]: { key: CryptoKey; rawKey: string }[] },\n masterId: string\n ): Promise<Array<string>> {\n const decryptPromises: Array<Promise<string | undefined>> = delegationsArray.map(async (genericDelegationItem) => {\n const aesKeys = aesKeysForDataOwnerId[genericDelegationItem.owner!]\n if (aesKeys?.length) {\n return aesKeys.reduce(async (acc, aesKey) => {\n const accValue = await acc\n if (accValue) {\n return accValue\n }\n try {\n const decryptedGenericDelegationKey = await this._AES.decrypt(aesKey.key, hex2ua(genericDelegationItem.key!), aesKey.rawKey)\n const results = ua2string(decryptedGenericDelegationKey).split(':')\n\n const objectId = results[0] //must be the ID of the object, for checksum\n const genericSecretId = results[1]\n\n const details =\n 'object ID: ' + masterId + '; generic delegation from ' + genericDelegationItem.owner + ' to ' + genericDelegationItem.delegatedTo\n\n if (!objectId) console.warn('Object id is empty; ' + details)\n if (!genericSecretId) console.warn('Secret id is empty; ' + details)\n\n if (objectId !== masterId) {\n /*console.log(\n \"Cryptographic mistake: object ID is not equal to the expected concatenated id within decrypted generic delegation. This may happen when patients have been merged; \" +\n details\n )*/\n }\n return genericSecretId\n } catch (err) {\n console.log(\n `Could not decrypt generic delegation in object with ID: ${masterId} from ${genericDelegationItem.owner} to ${genericDelegationItem.delegatedTo}: ${err}`\n )\n\n return undefined\n }\n }, Promise.resolve(undefined as string | undefined))\n } else {\n console.log(`Could not find aes key for object with ID: ${masterId}`)\n }\n })\n return Promise.all(decryptPromises).then((genericSecretId) => genericSecretId.filter((id) => !!id) as string[])\n }\n\n getPublicKeyFromPrivateKey(privateKey: JsonWebKey, dataOwner: Patient | Device | HealthcareParty) {\n if (!privateKey.n || !privateKey.e) {\n throw new Error('No public key can be deduced from incomplete private key')\n }\n\n const publicKeyFromPrivateKey = jwk2spki(privateKey)\n const publicKeys = [dataOwner.publicKey].concat(Object.keys(dataOwner.aesExchangeKeys ?? {})).filter((x) => !!x)\n\n if (!publicKeys.length) {\n throw new Error('No public key has been defined for hcp')\n }\n\n const publicKey = publicKeys.find((it) => it === publicKeyFromPrivateKey)\n if (!publicKey) {\n throw new Error('No public key can be found for this private key')\n }\n\n return publicKey\n }\n\n async loadKeyPairsAsTextInBrowserLocalStorage(healthcarePartyId: string, privateKey: Uint8Array) {\n const { dataOwner } = await this.getDataOwner(healthcarePartyId)\n\n const privateKeyInJwk = pkcs8ToJwk(privateKey)\n const publicKey = this.getPublicKeyFromPrivateKey(privateKeyInJwk, dataOwner)\n\n const keyPair: { publicKey: CryptoKey; privateKey: CryptoKey } = await this._RSA.importKeyPair(\n 'jwk',\n privateKeyInJwk,\n 'jwk',\n spkiToJwk(hex2ua(publicKey))\n )\n this.rsaKeyPairs[publicKey.slice(-32)] = keyPair\n const exportedKeyPair = await this._RSA.exportKeys(keyPair, 'jwk', 'jwk')\n\n return await this._keyStorage.storeKeyPair(`${this.rsaLocalStoreIdPrefix}${healthcarePartyId}.${publicKey.slice(-32)}`, exportedKeyPair)\n }\n\n async loadKeyPairsAsJwkInBrowserLocalStorage(healthcarePartyId: string, privateKey: JsonWebKey) {\n const { dataOwner } = await this.getDataOwner(healthcarePartyId)\n\n if ((!privateKey.n || !privateKey.e) && dataOwner.publicKey) {\n //Fallback on default publicKey\n console.warn('An incomplete key has been completed using the default public key of the data owner')\n const publicKeyInJwk = spkiToJwk(hex2ua(dataOwner.publicKey))\n privateKey.n = publicKeyInJwk.n\n privateKey.e = publicKeyInJwk.e\n }\n\n const publicKey = this.getPublicKeyFromPrivateKey(privateKey, dataOwner)\n\n const keyPair = await this._RSA.importKeyPair('jwk', privateKey, 'jwk', spkiToJwk(hex2ua(publicKey)))\n this.rsaKeyPairs[publicKey.slice(-32)] = keyPair\n const exportedKeyPair = await this._RSA.exportKeys(keyPair, 'jwk', 'jwk')\n\n return await this._keyStorage.storeKeyPair(`${this.rsaLocalStoreIdPrefix}${healthcarePartyId}.${publicKey.slice(-32)}`, exportedKeyPair)\n }\n\n // noinspection JSUnusedGlobalSymbols\n loadKeyPairsInBrowserLocalStorage(healthcarePartyId: string, file: Blob): Promise<void> {\n const fr = new FileReader()\n return new Promise((resolve, reject) => {\n fr.onerror = reject\n fr.onabort = reject\n fr.onload = (e: any) => {\n //TODO remove any\n const privateKey = e.target.result as string\n this.loadKeyPairsAsTextInBrowserLocalStorage(healthcarePartyId, hex2ua(privateKey))\n .then(() => resolve())\n .catch(reject)\n }\n fr.readAsText(file)\n })\n }\n\n // noinspection JSUnusedGlobalSymbols\n saveKeychainInBrowserLocalStorage(id: string, keychain: number) {\n this._storage.setItem(\n this.keychainLocalStoreIdPrefix + id,\n b2a(new Uint8Array(keychain).reduce((data, byte) => data + String.fromCharCode(byte), ''))\n )\n }\n\n saveKeychainInBrowserLocalStorageAsBase64(id: string, keyChainB64: string) {\n this._storage.setItem(this.keychainLocalStoreIdPrefix + id, keyChainB64)\n }\n\n // noinspection JSUnusedGlobalSymbols\n saveKeychainValidityDateInBrowserLocalStorage(id: string, date: string) {\n if (!id) return\n\n if (!date) {\n this._storage.deleteItem(this.keychainValidityDateLocalStoreIdPrefix + id)\n } else {\n this._storage.setItem(this.keychainValidityDateLocalStoreIdPrefix + id, date)\n }\n }\n\n /**\n * Populate the HCP.options dict with an encrypted eHealth certificate and unencryped expiry date.\n * Any potentially unencrypted certificates will be pruned from the HCP.\n * @param hcpId Id of the hcp to modify\n * @returns modified HCP\n */\n async saveKeyChainInHCPFromLocalStorage(hcpId: string): Promise<HealthcareParty> {\n return await this.hcpartyBaseApi.getHealthcareParty(hcpId).then(async (hcp: HealthcareParty) => {\n let aesKey: CryptoKey | null = null\n try {\n aesKey = _.find(\n await this.decryptAndImportAesHcPartyKeysForDelegators([hcp.id!], hcp.id!),\n (delegator: DelegatorAndKeys) => delegator.delegatorId === hcp.id\n )!.key\n } catch (e) {\n console.error('Error while importing the AES key.')\n }\n if (!aesKey) {\n console.error('No encryption key!')\n }\n\n const opts = hcp.options || {}\n\n const crt = await this.getKeychainInBrowserLocalStorageAsBase64(hcp.id!!)\n if (!!aesKey && !!crt) {\n let crtEncrypted: ArrayBuffer | null = null\n try {\n crtEncrypted = await this.AES.encrypt(aesKey, new Uint8Array(string2ua(atob(crt))))\n } catch (e) {\n console.error('Error while encrypting the certificate', e)\n }\n\n // add the encrypted certificate to the options\n _.set(opts, this.hcpPreferenceKeyEhealthCert, ua2string(new Uint8Array(crtEncrypted!)))\n }\n\n const crtValidityDate = this.getKeychainValidityDateInBrowserLocalStorage(hcp.id!!)\n if (!!crtValidityDate) {\n _.set(opts, this.hcpPreferenceKeyEhealthCertDate, crtValidityDate)\n }\n\n hcp.options = opts\n return hcp\n })\n }\n\n importKeychainInBrowserFromHCP(hcpId: string): Promise<void> {\n return this.hcpartyBaseApi.getHealthcareParty(hcpId).then(async (hcp: HealthcareParty) => {\n let crtCryp: Uint8Array | null = null\n if (!!hcp.options && !!hcp.options[this.hcpPreferenceKeyEhealthCert]) {\n crtCryp = string2ua(hcp.options[this.hcpPreferenceKeyEhealthCert])\n }\n\n const crtValidityDate = _.get(hcp.options, this.hcpPreferenceKeyEhealthCertDate)\n\n // store the validity date\n if (!!crtValidityDate) {\n this.saveKeychainValidityDateInBrowserLocalStorage(hcp.id!!, crtValidityDate)\n }\n\n let crt: ArrayBuffer | null = null\n let decryptionKey: CryptoKey | null = null\n try {\n decryptionKey = _.find(\n await this.decryptAndImportAesHcPartyKeysForDelegators([hcp.id!], hcp.id!),\n (delegator: DelegatorAndKeys) => delegator.delegatorId === hcp.id\n )!.key\n } catch (e) {\n console.error('Error while importing the AES key.')\n }\n if (!decryptionKey) {\n throw new Error('No encryption key! eHealth certificate cannot be decrypted.')\n }\n\n if (!!crtCryp && decryptionKey) {\n try {\n crt = await this.AES.decrypt(decryptionKey, crtCryp)\n } catch (e) {\n console.error(e)\n }\n }\n\n if (!crt) {\n throw new Error(`Error while saving certificate in browser local storage! Hcp ${hcp.id} has no certificate.`)\n } else {\n this.saveKeychainInBrowserLocalStorageAsBase64(hcp.id!!, btoa(String.fromCharCode.apply(null, Array.from(new Uint8Array(crt)))))\n }\n\n return\n })\n }\n\n /**\n * Synchronizes the eHealth certificate from the database into the LocalStorage, returning information on the presence\n * of certificate data in either place.\n *\n * @param hcpId The healthcare party id\n * @returns A Promise for an object that represents the existence of a certificate in local storage and in the DB,\n * through the two boolean properties \"local\" and \"remote\".\n */\n syncEhealthCertificateFromDatabase(hcpId: string): Promise<{ remote: boolean; local: boolean }> {\n return this.hcpartyBaseApi.getHealthcareParty(hcpId).then((hcp: HealthcareParty) => {\n const remoteCertificate = _.get(hcp.options, this.hcpPreferenceKeyEhealthCert)\n const localCertificate = this.getKeychainInBrowserLocalStorageAsBase64(hcp.id!)\n\n if (remoteCertificate) {\n return this.importKeychainInBrowserFromHCP(hcp.id!)\n .then(() => ({ local: true, remote: true }))\n .catch(() => ({ local: !!localCertificate, remote: true }))\n } else {\n return { local: !!localCertificate, remote: !!remoteCertificate }\n }\n })\n }\n\n getKeychainInBrowserLocalStorageAsBase64(id: string) {\n return this._storage.getItem(this.keychainLocalStoreIdPrefix + id)\n }\n\n getKeychainValidityDateInBrowserLocalStorage(id: string) {\n return this._storage.getItem(this.keychainValidityDateLocalStoreIdPrefix + id)\n }\n\n // noinspection JSUnusedGlobalSymbols\n async loadKeychainFromBrowserLocalStorage(id: string) {\n const lsItem = await this._storage.getItem(this.keychainLocalStoreIdPrefix + id)\n return lsItem !== undefined ? b64_2uas(lsItem) : null\n }\n\n /**\n * loads the RSA key pair (hcparty) in JWK from local storage, not imported\n *\n * @param id doc id - hcpartyId\n * @param publicKeyFingerPrint the 32 last characters of public key this private key is associated with\n * @returns {Object} it is in JWK - not imported\n */\n async loadKeyPairNotImported(id: string, publicKeyFingerPrint?: string): Promise<{ publicKey: JsonWebKey; privateKey: JsonWebKey }> {\n if (typeof Storage === 'undefined') {\n console.log('Your browser does not support HTML5 Browser Local Storage !')\n throw 'Your browser does not support HTML5 Browser Local Storage !'\n }\n //TODO decryption\n const item = publicKeyFingerPrint\n ? (await this._keyStorage.getKeypair(this.rsaLocalStoreIdPrefix + id + '.' + publicKeyFingerPrint.slice(-32))) ??\n (await this._keyStorage.getKeypair(this.rsaLocalStoreIdPrefix + id))\n : await this._keyStorage.getKeypair(this.rsaLocalStoreIdPrefix + id)\n if (!item) {\n console.warn(`No key can be found in local storage for id ${id} and publicKeyFingerPrint ${publicKeyFingerPrint}`)\n }\n return item!\n }\n\n /**\n * Loads and imports the RSA key pair (hcparty) from local storage\n *\n * @param id doc id - hcPartyId\n * @returns {Promise} -> {CryptoKey} - imported RSA\n */\n loadKeyPairImported(id: string) {\n return new Promise(async (resolve: (value: { publicKey: CryptoKey; privateKey: CryptoKey }) => any, reject) => {\n try {\n const jwkKeyPair = await this._keyStorage.getKeypair(this.rsaLocalStoreIdPrefix + id)\n if (jwkKeyPair !== undefined) {\n if (jwkKeyPair.publicKey && jwkKeyPair.privateKey) {\n this._RSA.importKeyPair('jwk', jwkKeyPair.privateKey, 'jwk', jwkKeyPair.publicKey).then(resolve, (err) => {\n console.error('Error in RSA.importKeyPair: ' + err)\n reject(err)\n })\n } else {\n const message = 'Error in RSA.importKeyPair: Invalid key'\n console.error(message)\n reject(Error(message))\n }\n } else {\n const message = 'Error in RSA.importKeyPair: Missing key'\n console.error(message)\n reject(Error(message))\n }\n } catch (err) {\n reject(err)\n }\n })\n }\n\n /**\n * 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\n * AES key using the new user public key.\n *\n * @param delegateUser Delegate Data Owner User, in charge of giving access back to the person who previously gave him some access\n * @param ownerId Id of the data owner to which we would like to give access back\n * @param ownerNewPublicKey New Data Owner Public Key we want to use to re-encrypt previously created AES key\n *\n * @return The DataOwner, updated by the delegateUser to add the new encrypted AES Key using the new provided public key\n */\n async giveAccessBackTo(delegateUser: User, ownerId: string, ownerNewPublicKey: string): Promise<CachedDataOwner> {\n const delegateId = delegateUser.healthcarePartyId ?? delegateUser.patientId ?? delegateUser.deviceId\n if (!delegateId) {\n throw new Error(`DelegateUser ${delegateUser.id} must be a data Owner`)\n }\n\n const delegatePublicKeys = await this.getPublicKeys()\n const newPubKeyCryptoKey = await this._RSA.importKey('jwk', spkiToJwk(hex2ua(ownerNewPublicKey)), ['encrypt'])\n const dataOwnerToUpdate = await this.getDataOwner(ownerId)\n\n const newAesExchangeKeys = await foldAsync(\n Object.entries(dataOwnerToUpdate.dataOwner.aesExchangeKeys ?? {}),\n dataOwnerToUpdate.dataOwner.aesExchangeKeys ?? {},\n async (pubAcc, [pubKey, newAesExcKeys]) => {\n const existingKeys = pubAcc[pubKey] ?? {}\n\n pubAcc[pubKey] = await foldAsync(Object.entries(newAesExcKeys), existingKeys, async (delAcc, [delId, delKeys]) => {\n if (delId == delegateId && pubKey != ownerNewPublicKey) {\n // Add the AES Key encrypted with the new public key in the aesExchangeKeys\n try {\n // First, we decrypt it using the delegate RSA Public Key\n const encrAesKeyInfo = await this.decryptHcPartyKey(\n delegateId,\n dataOwnerToUpdate.dataOwner.id!,\n delegateId,\n pubKey,\n delKeys,\n delegatePublicKeys\n ).then(async (delegatorAndKeys) => {\n // Then, we encrypt it using the owner new RSA Public Key (provided in argument)\n return await this.encryptAesKeyOnlyForProvidedKeys(delegatorAndKeys?.rawKey, dataOwnerToUpdate, [newPubKeyCryptoKey])\n .then((encrAes) => Object.values(encrAes)[0])\n .then((encrAesInfo) => {\n return { pubKeyUsedToEncryptAes: Object.keys(encrAesInfo)[0], encryptedAes: Object.values(encrAesInfo)[0] }\n })\n })\n\n delKeys[encrAesKeyInfo.pubKeyUsedToEncryptAes] = encrAesKeyInfo.encryptedAes\n } catch (e) {\n console.log(`${delegateId} could not re-encrypt AES Key of ${dataOwnerToUpdate.dataOwner.id}`)\n } finally {\n delAcc[delId] = delKeys\n }\n } else {\n // Otherwise, we don't transform the aesExchangeKeys for this delegate\n delAcc[delId] = delKeys\n }\n return delAcc\n })\n return pubAcc\n }\n )\n\n // After adding the potential new aesExchangeKeys, we save the updated data owner\n return this._saveDataOwner({\n type: dataOwnerToUpdate.type,\n dataOwner: { ...dataOwnerToUpdate.dataOwner, aesExchangeKeys: newAesExchangeKeys },\n } as CachedDataOwner)\n }\n\n async addNewKeyPairForOwnerId(\n maintenanceTasksApi: IccMaintenanceTaskXApi,\n user: User,\n ownerId: string,\n generateTransferKey: boolean = true,\n sendMaintenanceTasks: boolean = true\n ): Promise<{ dataOwner: HealthcareParty | Patient | Device; publicKey: string; privateKey: string }> {\n return this.addNewKeyPairForOwner(maintenanceTasksApi, user, await this.getDataOwner(ownerId), generateTransferKey, sendMaintenanceTasks)\n }\n\n async addNewKeyPairForOwner(\n maintenanceTasksApi: IccMaintenanceTaskXApi,\n user: User,\n cdo: CachedDataOwner,\n generateTransferKey: boolean = true,\n sendMaintenanceTasks: boolean = true\n ): Promise<{ dataOwner: HealthcareParty | Patient | Device; publicKey: string; privateKey: string }> {\n const generatedKeypair = await this.RSA.generateKeyPair()\n return this.addKeyPairForOwner(maintenanceTasksApi, user, cdo, generatedKeypair, generateTransferKey, sendMaintenanceTasks)\n }\n\n async addRawKeyPairForOwnerId(\n maintenanceTasksApi: IccMaintenanceTaskXApi,\n user: User,\n ownerId: string,\n keypair: { publicKey: string; privateKey: string },\n generateTransferKey: boolean = true,\n sendMaintenanceTasks: boolean = true\n ): Promise<{ dataOwner: HealthcareParty | Patient | Device; publicKey: string; privateKey: string }> {\n return this.addRawKeyPairForOwner(maintenanceTasksApi, user, await this.getDataOwner(ownerId), keypair, generateTransferKey, sendMaintenanceTasks)\n }\n\n async addRawKeyPairForOwner(\n maintenanceTasksApi: IccMaintenanceTaskXApi,\n user: User,\n cdo: CachedDataOwner,\n keypair: { publicKey: string; privateKey: string },\n generateTransferKey: boolean = true,\n sendMaintenanceTasks: boolean = true\n ): Promise<{ dataOwner: HealthcareParty | Patient | Device; publicKey: string; privateKey: string }> {\n const importedPrivateKey = await this._RSA.importKey('pkcs8', hex2ua(keypair.privateKey), ['decrypt'])\n const importedPublicKey = await this._RSA.importKey('spki', hex2ua(keypair.publicKey), ['encrypt'])\n\n return this.addKeyPairForOwner(\n maintenanceTasksApi,\n user,\n cdo,\n { publicKey: importedPublicKey, privateKey: importedPrivateKey },\n generateTransferKey,\n sendMaintenanceTasks\n )\n }\n\n async addKeyPairForOwner(\n maintenanceTasksApi: IccMaintenanceTaskXApi,\n user: User,\n cdo: CachedDataOwner,\n keypair: { publicKey: CryptoKey; privateKey: CryptoKey },\n generateTransferKey: boolean = true,\n sendMaintenanceTasks: boolean = true\n ): Promise<{ dataOwner: HealthcareParty | Patient | Device; publicKey: string; privateKey: string }> {\n const publicKeyHex = ua2hex(await this.RSA.exportKey(keypair.publicKey!, 'spki'))\n\n const gen = (await this._AES.generateCryptoKey(true)) as string\n\n await this.cacheKeyPair({\n publicKey: await this.RSA.exportKey(keypair.publicKey!, 'jwk'),\n privateKey: await this.RSA.exportKey(keypair.privateKey!, 'jwk'),\n })\n\n const { type: ownerType, dataOwner: ownerToUpdate } = await this.createOrUpdateAesExchangeKeysFor(cdo, gen, {\n pubKey: keypair.publicKey,\n privKey: keypair.privateKey,\n }).then(async (dataOwnerWithUpdatedAesKeys) =>\n generateTransferKey\n ? await this.createOrUpdateTransferKeysFor(dataOwnerWithUpdatedAesKeys, gen, { pubKey: keypair.publicKey, privKey: keypair.privateKey })\n : dataOwnerWithUpdatedAesKeys\n )\n\n const modifiedDataOwnerAndType = await this._saveDataOwner({ type: ownerType, dataOwner: ownerToUpdate })\n const sentMaintenanceTasks = sendMaintenanceTasks\n ? await this.sendMaintenanceTasks(maintenanceTasksApi, user, modifiedDataOwnerAndType.dataOwner, keypair.publicKey)\n : []\n\n return {\n dataOwner: sentMaintenanceTasks.length\n ? await this.retrieveDataOwnerInfoAfterPotentialUpdate(modifiedDataOwnerAndType.dataOwner)\n : modifiedDataOwnerAndType.dataOwner,\n publicKey: publicKeyHex,\n privateKey: ua2hex((await this.RSA.exportKey(keypair.privateKey!, 'pkcs8')) as ArrayBuffer),\n }\n }\n\n private async _saveDataOwner(dataOwner: CachedDataOwner): Promise<CachedDataOwner> {\n const ownerType = dataOwner.type\n const ownerToUpdate = dataOwner.dataOwner\n\n return ownerType === 'hcp'\n ? await (this.dataOwnerCache[ownerToUpdate.id!] = this.hcpartyBaseApi\n .modifyHealthcareParty(ownerToUpdate as HealthcareParty)\n .then((x) => ({ type: 'hcp', dataOwner: x } as CachedDataOwner)))\n : ownerType === 'patient'\n ? await (this.dataOwnerCache[ownerToUpdate.id!] = this.patientBaseApi\n .modifyPatient(ownerToUpdate as Patient)\n .then((x) => ({ type: 'patient', dataOwner: x } as CachedDataOwner)))\n : await (this.dataOwnerCache[ownerToUpdate.id!] = this.deviceBaseApi\n .updateDevice(ownerToUpdate as Device)\n .then((x) => ({ type: 'device', dataOwner: x } as CachedDataOwner)))\n }\n\n private async createOrUpdateAesExchangeKeysFor(\n cdo: CachedDataOwner,\n decryptedAesExchangeKey: string,\n keyToEncrypt: { pubKey: CryptoKey; privKey: CryptoKey }\n ): Promise<CachedDataOwner> {\n const publicKeyHex = ua2hex(await this.RSA.exportKey(keyToEncrypt.pubKey!, 'spki'))\n const existingAesExchangeKeys = cdo.dataOwner.aesExchangeKeys ?? {}\n existingAesExchangeKeys[publicKeyHex] = await this.encryptAesKeyFor(decryptedAesExchangeKey, cdo.dataOwner, keyToEncrypt.pubKey)\n\n return { type: cdo.type, dataOwner: { ...cdo.dataOwner, aesExchangeKeys: existingAesExchangeKeys } } as CachedDataOwner\n }\n\n private async createOrUpdateTransferKeysFor(\n dataOwner: CachedDataOwner,\n decryptedAesExchangeKey: string,\n keyToEncrypt: { pubKey: CryptoKey; privKey: CryptoKey }\n ): Promise<CachedDataOwner> {\n const pubKeyToEncryptHex = ua2hex(await this.RSA.exportKey(keyToEncrypt.pubKey, 'spki'))\n\n const encryptedKey = ua2hex(\n await this._AES.encrypt(\n await this._AES.importKey('raw', hex2ua(decryptedAesExchangeKey)),\n (await this.RSA.exportKey(keyToEncrypt.privKey!, 'pkcs8')) as ArrayBuffer,\n decryptedAesExchangeKey\n )\n )\n\n const dataOwnerExistingPubKeys = Array.from(await this.getDataOwnerHexPublicKeys(dataOwner.dataOwner))\n\n const transferKeys = fold(dataOwnerExistingPubKeys, dataOwner.dataOwner.transferKeys ?? {}, (pubAcc, pubKeyHex) => {\n if (pubKeyHex !== pubKeyToEncryptHex) {\n const existingKeys = pubAcc[pubKeyHex] ?? {}\n existingKeys[pubKeyToEncryptHex] = encryptedKey\n pubAcc[pubKeyHex] = existingKeys\n }\n return pubAcc\n })\n\n return { type: dataOwner.type, dataOwner: { ...dataOwner.dataOwner, transferKeys: transferKeys } } as CachedDataOwner\n }\n\n private async encryptAesKeyFor(\n aesKey: string,\n dataOwner: HealthcareParty | Patient | Device,\n doNewPublicKey: CryptoKey\n ): Promise<{ [delId: string]: { [pk: string]: string } }> {\n const dataOwnerAllPubKeys = [doNewPublicKey].concat(await this.getDataOwnerPublicKeys(dataOwner))\n return this.encryptAesKeyOnlyForProvidedKeys(aesKey, dataOwner, dataOwnerAllPubKeys)\n }\n\n private async encryptAesKeyOnlyForProvidedKeys(\n aesKey: string,\n dataOwner: HealthcareParty | Patient | Device,\n dataOwnerPubKeys: CryptoKey[]\n ): Promise<{ [delId: string]: { [pk: string]: string } }> {\n const encryptedAesForDataOwner = await foldAsync(dataOwnerPubKeys, {} as { [pubKeyFingerprint: string]: string }, async (encrAes, pubKey) => {\n encrAes[ua2hex(await this.RSA.exportKey(pubKey, 'spki')).slice(-32)] = ua2hex(await this._RSA.encrypt(pubKey, hex2ua(aesKey)))\n return encrAes\n })\n\n return { [dataOwner.id!]: encryptedAesForDataOwner }\n }\n\n private retrieveDataOwnerInfoAfterPotentialUpdate(dataOwnerToUpdate: HealthcareParty | Patient | Device): Promise<CachedDataOwner> {\n this.emptyHcpCache(dataOwnerToUpdate.id!)\n\n return this.getDataOwner(dataOwnerToUpdate.id!).then(({ type, dataOwner }) => {\n return {\n type: type,\n dataOwner: {\n ...dataOwner,\n transferKeys: dataOwnerToUpdate.transferKeys,\n hcPartyKeys: fold(Object.entries(dataOwnerToUpdate.hcPartyKeys ?? {}), dataOwner.hcPartyKeys ?? {}, (acc, [delegateId, hcKeys]) => {\n acc[delegateId] = hcKeys\n return acc\n }),\n aesExchangeKeys: fold(\n Object.entries(dataOwnerToUpdate.aesExchangeKeys ?? {}),\n dataOwner.aesExchangeKeys ?? {},\n (pubAcc, [pubKey, newAesExcKeys]) => {\n const existingKeys = pubAcc[pubKey] ?? {}\n pubAcc[pubKey] = fold(Object.entries(newAesExcKeys), existingKeys, (delAcc, [delId, delKeys]) => {\n delAcc[delId] = delKeys\n return delAcc\n })\n return pubAcc\n }\n ),\n },\n } as CachedDataOwner\n })\n }\n\n private async sendMaintenanceTasks(\n maintenanceTaskApi: IccMaintenanceTaskXApi,\n user: User,\n dataOwner: HealthcareParty | Patient | Device,\n newPublicKey: CryptoKey\n ): Promise<MaintenanceTask[]> {\n const hexNewPubKey = ua2hex(await this.RSA.exportKey(newPublicKey, 'spki'))\n const nonAccessiblePubKeys = Array.from(this.getDataOwnerHexPublicKeys(dataOwner).values())\n .filter((existingPubKey) => existingPubKey != hexNewPubKey)\n .filter(async (existingPubKey) => (await this.getPublicKeysAsSpki()).find((pubKey) => pubKey == existingPubKey) == undefined)\n\n if (nonAccessiblePubKeys.length) {\n const tasksForDelegates = Object.entries(await this.getEncryptedAesExchangeKeysForDelegate(dataOwner.id!))\n .filter(([delegatorId]) => delegatorId != dataOwner.id)\n .flatMap(([delegatorId, delegatorKeys]) => {\n return Object.entries(delegatorKeys).flatMap(([, aesExchangeKeys]) => {\n return Object.keys(aesExchangeKeys).map((delegatePubKey) => {\n return { delegateId: delegatorId, maintenanceTask: this.createMaintenanceTask(dataOwner, delegatePubKey) }\n })\n })\n })\n\n const tasksForDelegator = (await this._getDelegateIdsOf(dataOwner))\n .filter((delegateId) => delegateId != dataOwner.id)\n .map((delegateId) => {\n return { delegateId: delegateId, maintenanceTask: this.createMaintenanceTask(dataOwner, hexNewPubKey) }\n })\n\n return await tasksForDelegates.concat(tasksForDelegator).reduce(async (existingTasks, task) => {\n const taskToCreate = await maintenanceTaskApi?.newInstance(user, task.maintenanceTask, [task.delegateId])\n const createdTask: MaintenanceTask = taskToCreate ? await maintenanceTaskApi?.createMaintenanceTaskWithUser(user, taskToCreate) : undefined\n return createdTask ? (await existingTasks).concat(createdTask) : await existingTasks\n }, Promise.resolve([] as MaintenanceTask[]))\n } else {\n return []\n }\n }\n\n private createMaintenanceTask(concernedDataOwner: HealthcareParty | Patient | Device, concernedPubKey: string) {\n return new MaintenanceTask({\n id: this.randomUuid(),\n taskType: 'KEY_PAIR_UPDATE',\n status: MaintenanceTask.StatusEnum.Pending,\n properties: [\n new PropertyStub({\n id: 'dataOwnerConcernedId',\n type: new PropertyTypeStub({ type: PropertyTypeStub.TypeEnum.STRING }),\n typedValue: new TypedValueObject({\n type: TypedValueObject.TypeEnum.STRING,\n stringValue: concernedDataOwner.id,\n }),\n }),\n new PropertyStub({\n id: 'dataOwnerConcernedPubKey',\n type: new PropertyTypeStub({ type: PropertyTypeStub.TypeEnum.STRING }),\n typedValue: new TypedValueObject({\n type: TypedValueObject.TypeEnum.STRING,\n stringValue: concernedPubKey,\n }),\n }),\n ],\n })\n }\n\n private getDataOwnerHexPublicKeys(dataOwner: HealthcareParty | Patient | Device): Set<string> {\n return new Set(\n (dataOwner.publicKey ? [dataOwner.publicKey] : [])\n .concat(dataOwner.aesExchangeKeys ? Object.keys(dataOwner.aesExchangeKeys) : [])\n .filter((pubKey) => !!pubKey)\n )\n }\n\n private async getDataOwnerPublicKeys(dataOwner: HealthcareParty | Patient | Device): Promise<CryptoKey[]> {\n return await Promise.all(\n Array.from(this.getDataOwnerHexPublicKeys(dataOwner)).map(\n async (pubKey) => await this._RSA.importKey('jwk', spkiToJwk(hex2ua(pubKey)), ['encrypt'])\n )\n )\n }\n\n generateKeyForDelegate(ownerId: string, delegateId: string): PromiseLike<HealthcareParty | Patient> {\n //Preload hcp and patient because we need them and they are going to be invalidated from the caches\n return notConcurrent(this.generateKeyConcurrencyMap, ownerId, async () => {\n const [{ type: ownerType, dataOwner: owner }, { dataOwner: delegate }] = await Promise.all([\n this.getDataOwner(ownerId),\n this.getDataOwner(delegateId),\n ])\n\n const availablePublicKeysFingerprints = Object.keys(this.rsaKeyPairs)\n const ownerLegacyPublicKey = owner.publicKey\n const isOwnerLegacyPublicKeyAvailable = ownerLegacyPublicKey\n ? availablePublicKeysFingerprints.some((fp) => ownerLegacyPublicKey.endsWith(fp))\n : false\n\n const availableOwnerPublicKeys = [\n ownerLegacyPublicKey,\n ...Object.keys(owner.aesExchangeKeys || {}).filter((x) => x !== ownerLegacyPublicKey),\n ].filter((k) => !!k && availablePublicKeysFingerprints.some((fp) => k.endsWith(fp))) as string[]\n const selectedPublicKey = availableOwnerPublicKeys[0]\n\n if (!selectedPublicKey) {\n throw new Error(`Invalid owner, no public key, keypairs have not be set for ${ownerId}`)\n }\n\n if (\n ((owner.hcPartyKeys || {})[delegateId] && owner.publicKey && availablePublicKeysFingerprints.includes(owner.publicKey.slice(-32))) ||\n Object.values(owner.aesExchangeKeys || {}).some(\n (x) => x[delegateId] && Object.keys(x[delegateId]).some((k) => availablePublicKeysFingerprints.includes(k))\n )\n ) {\n return owner\n }\n\n let ownerCombinedAesExchangeKeys = owner.aesExchangeKeys ?? {}\n\n if (ownerLegacyPublicKey && !(owner.aesExchangeKeys ?? {})[ownerLegacyPublicKey]) {\n //Transfer keys from old structure (hcparty keys) to new one (aesExchangeKeys)\n const unknownDataOwnerCounterPartIds = Object.keys(owner.hcPartyKeys ?? {}).filter((x) => x !== ownerId && x !== delegateId)\n const counterParts = [\n owner,\n delegate,\n ...(await Promise.all(unknownDataOwnerCounterPartIds.map((cpid) => this.getDataOwner(cpid).then((dot) => dot.dataOwner)))),\n ]\n ownerCombinedAesExchangeKeys = {\n [ownerLegacyPublicKey]: Object.entries(owner.hcPartyKeys ?? {}).reduce(\n (map, [hcpId, keys]) => ({\n ...map,\n [hcpId]: { [ownerLegacyPublicKey]: keys[0], [counterParts.find((x) => x.id === hcpId)?.publicKey ?? '']: keys[1] },\n ...{},\n }),\n {}\n ),\n ...ownerCombinedAesExchangeKeys,\n }\n }\n\n const delegatePublicKeys = [delegate.publicKey, ...Object.keys(delegate.aesExchangeKeys ?? {}).filter((x) => x !== delegate.publicKey)].filter(\n (x) => !!x\n ) as string[]\n if (!delegatePublicKeys.length) {\n throw new Error(`Invalid delegate, no public key, keypairs have not be set for ${delegateId}`)\n }\n const genProm = this._AES.generateCryptoKey(true).then(async (AESKey) => {\n const allPubKeys = [...availableOwnerPublicKeys, ...delegatePublicKeys]\n const encryptedAesKeys = await allPubKeys.reduce(\n async (map, pubK) => ({\n ...(await map),\n [pubK.slice(-32)]: ua2hex(\n await this._RSA.encrypt(await this._RSA.importKey('jwk', spkiToJwk(hex2ua(pubK)), ['encrypt']), hex2ua(AESKey as string))\n ),\n }),\n Promise.resolve({} as { [pubKey: string]: string })\n )\n\n if (delegate.publicKey && ownerLegacyPublicKey && isOwnerLegacyPublicKeyAvailable) {\n owner.hcPartyKeys![delegateId] = [encryptedAesKeys[ownerLegacyPublicKey.slice(-32)], encryptedAesKeys[delegate.publicKey.slice(-32)]]\n }\n owner.aesExchangeKeys = {\n ...(ownerCombinedAesExchangeKeys ?? {}),\n [selectedPublicKey]: { ...(owner.aesExchangeKeys?.[selectedPublicKey] ?? {}), [delegateId]: encryptedAesKeys },\n }\n\n return new Promise<['hcp', HealthcareParty] | ['patient', Patient] | ['device', Device]>((resolve, reject) => {\n ownerType === 'hcp'\n ? (this.dataOwnerCache[owner.id!] = this.hcpartyBaseApi\n .modifyHealthcareParty(owner as HealthcareParty)\n .then((x) => ({ type: 'hcp', dataOwner: x } as CachedDataOwner)))\n .then((x) => resolve(['hcp', x.dataOwner]))\n .catch((e) => reject(e))\n : ownerType === 'patient'\n ? (this.dataOwnerCache[owner.id!] = this.patientBaseApi.modifyPatient(owner as Patient).then((x) => ({ type: 'patient', dataOwner: x })))\n .then((x) => resolve(['patient', x.dataOwner]))\n .catch((e) => reject(e))\n : (this.dataOwnerCache[owner.id!] = this.deviceBaseApi.updateDevice(owner as Device).then((x) => ({ type: 'device', dataOwner: x })))\n .then((x) => resolve(['device', x.dataOwner]))\n .catch((e) => reject(e))\n })\n })\n\n this.hcPartyKeysRequestsCache[delegateId] = genProm.then(() => {\n return this.forceGetEncryptedAesExchangeKeysForDelegate(delegateId)\n })\n return genProm.then((res) => {\n return res[1]\n })\n })\n }\n\n getDataOwner(ownerId: string, loadIfMissingFromCache: boolean = true) {\n return (\n this.dataOwnerCache[ownerId] ??\n (loadIfMissingFromCache\n ? (this.dataOwnerCache[ownerId] = this.patientBaseApi\n .getPatient(ownerId)\n .then((x) => ({ type: 'patient', dataOwner: x } as CachedDataOwner))\n .catch(() => this.deviceBaseApi.getDevice(ownerId).then((x) => ({ type: 'device', dataOwner: x } as CachedDataOwner)))\n .catch(() => this.hcpartyBaseApi.getHealthcareParty(ownerId).then((x) => ({ type: 'hcp', dataOwner: x } as CachedDataOwner)))\n .catch((e) => {\n delete this.dataOwnerCache[ownerId]\n throw e\n }))\n : undefined)\n )\n }\n\n // noinspection JSUnusedGlobalSymbols\n async checkPrivateKeyValidity(dataOwner: HealthcareParty | Patient | Device): Promise<boolean> {\n const publicKeys = Array.from(new Set([dataOwner.publicKey].concat(Object.keys(dataOwner.aesExchangeKeys ?? {})).filter((x) => !!x))) as string[]\n\n return await publicKeys.reduce(async (pres, publicKey) => {\n const res = await pres\n try {\n const k = await this._RSA.importKey('jwk', spkiToJwk(hex2ua(publicKey)), ['encrypt'])\n const cipher = await this._RSA.encrypt(k, utf8_2ua('shibboleth'))\n const ikp = await this.getCachedRsaKeyPairForFingerprint(dataOwner.id!, publicKey.slice(-32))\n const plainText = ua2utf8(await this._RSA.decrypt(ikp.privateKey, new Uint8Array(cipher)))\n return plainText === 'shibboleth' || res\n } catch (e) {\n return res\n }\n }, Promise.resolve(false))\n }\n\n private throwDetailedExceptionForInvalidParameter(argName: string, argValue: any, methodName: string, methodArgs: any) {\n if (argValue) return\n\n let details = '\\nMethod name: icc-crypto-x-api.' + methodName + '()\\nArguments:'\n\n if (methodArgs) {\n try {\n const argsArray = [...methodArgs]\n _.each(argsArray, (arg, index) => (details += '\\n[' + index + ']: ' + JSON.stringify(arg)))\n } catch (ex) {\n details += '; a problem occured while logging arguments details: ' + ex\n }\n }\n\n throw '### THIS SHOULD NOT HAPPEN: ' + argName + ' has an invalid value: ' + argValue + details\n }\n\n async getEncryptionDecryptionKeys(dataOwnerId: string, document: EncryptedEntity): Promise<Array<string> | undefined> {\n try {\n return !document.id\n ? undefined\n : _.uniq(\n (\n await this.extractKeysFromDelegationsForHcpHierarchy(\n dataOwnerId,\n document.id,\n (document.encryptionKeys && Object.keys(document.encryptionKeys).length && document.encryptionKeys) || document.delegations!\n )\n ).extractedKeys\n )\n } catch (e) {\n return undefined\n }\n }\n\n async encryptDecrypt(\n method: 'encrypt' | 'decrypt',\n content: Uint8Array | ArrayBuffer,\n edKey?: string,\n user?: User,\n documentObject?: Document\n ): Promise<Uint8Array | Array<any> | any> {\n if (!content || !(edKey || (user?.healthcarePartyId && documentObject))) return content\n\n if (edKey) {\n const importedEdKey = await this._AES.importKey('raw', hex2ua(edKey.replace(/-/g, '')))\n try {\n return await this._AES[method](importedEdKey, content)\n } catch (e) {\n return content\n }\n }\n\n const sfks = await this.extractKeysFromDelegationsForHcpHierarchy(user?.healthcarePartyId!, documentObject?.id!, documentObject?.encryptionKeys!)\n const importedEdKey = await this._AES.importKey('raw', hex2ua(sfks.extractedKeys[0].replace(/-/g, '')))\n try {\n return await this._AES[method](importedEdKey, content)\n } catch (e) {\n return content\n }\n }\n}\n"]}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes