@icure/api 4.2.35 → 4.2.36
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.
- package/{dist/icc-api → icc-api}/api/IccAccesslogApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccAccesslogApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccAccesslogApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccAgendaApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccAgendaApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccAgendaApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccAnonymousAccessApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccAnonymousAccessApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccAnonymousAccessApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccApplicationsettingsApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccApplicationsettingsApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccApplicationsettingsApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccArticleApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccArticleApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccArticleApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccAuthApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccAuthApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccAuthApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccBeefactApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccBeefactApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccBeefactApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccBekmehrApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccBekmehrApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccBekmehrApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccBemikronoApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccBemikronoApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccBemikronoApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccBeresultexportApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccBeresultexportApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccBeresultexportApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccBeresultimportApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccBeresultimportApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccBeresultimportApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccBesamv2Api.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccBesamv2Api.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccBesamv2Api.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccCalendarItemApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccCalendarItemApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccCalendarItemApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccCalendarItemTypeApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccCalendarItemTypeApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccCalendarItemTypeApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccClassificationApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccClassificationApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccClassificationApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccClassificationTemplateApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccClassificationTemplateApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccClassificationTemplateApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccCodeApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccCodeApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccCodeApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccContactApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccContactApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccContactApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccDeviceApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccDeviceApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccDeviceApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccDoctemplateApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccDoctemplateApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccDoctemplateApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccDocumentApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccDocumentApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccDocumentApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccDocumentTemplateApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccDocumentTemplateApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccDocumentTemplateApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccEntityrefApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccEntityrefApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccEntityrefApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccEntitytemplateApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccEntitytemplateApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccEntitytemplateApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccFormApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccFormApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccFormApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccFrontendmigrationApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccFrontendmigrationApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccFrontendmigrationApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccGroupApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccGroupApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccGroupApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccHcpartyApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccHcpartyApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccHcpartyApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccHelementApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccHelementApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccHelementApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccIcureApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccIcureApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccIcureApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccInsuranceApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccInsuranceApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccInsuranceApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccInvoiceApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccInvoiceApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccInvoiceApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccKeywordApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccKeywordApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccKeywordApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccMaintenanceTaskApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccMaintenanceTaskApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccMaintenanceTaskApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccMedexApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccMedexApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccMedexApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccMedicallocationApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccMedicallocationApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccMedicallocationApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccMessageApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccMessageApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccMessageApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccPatientApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccPatientApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccPatientApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccPermissionApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccPermissionApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccPermissionApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccPlaceApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccPlaceApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccPlaceApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccPubsubApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccPubsubApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccPubsubApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccReceiptApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccReceiptApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccReceiptApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccReplicationApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccReplicationApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccReplicationApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccTarificationApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccTarificationApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccTarificationApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccTimeTableApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccTimeTableApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccTimeTableApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccTmpApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccTmpApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccTmpApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/IccUserApi.d.ts +0 -0
- package/{dist/icc-api → icc-api}/api/IccUserApi.js +0 -0
- package/{dist/icc-api → icc-api}/api/IccUserApi.js.map +0 -0
- package/{dist/icc-api → icc-api}/api/XHR.d.ts +0 -0
- package/icc-api/api/XHR.js +133 -0
- package/icc-api/api/XHR.js.map +1 -0
- package/{dist/icc-api → icc-api}/iccApi.d.ts +0 -0
- package/icc-api/iccApi.js +62 -0
- package/icc-api/iccApi.js.map +1 -0
- package/{dist/icc-api → icc-api}/index.d.ts +0 -0
- package/icc-api/index.js +62 -0
- package/icc-api/index.js.map +1 -0
- package/{dist/icc-api → icc-api}/model/AbstractFilterCode.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/AbstractFilterCode.js +0 -0
- package/{dist/icc-api → icc-api}/model/AbstractFilterCode.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/AbstractFilterContact.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/AbstractFilterContact.js +0 -0
- package/{dist/icc-api → icc-api}/model/AbstractFilterContact.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/AbstractFilterDevice.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/AbstractFilterDevice.js +0 -0
- package/{dist/icc-api → icc-api}/model/AbstractFilterDevice.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/AbstractFilterHealthElement.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/AbstractFilterHealthElement.js +0 -0
- package/{dist/icc-api → icc-api}/model/AbstractFilterHealthElement.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/AbstractFilterHealthcareParty.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/AbstractFilterHealthcareParty.js +0 -0
- package/{dist/icc-api → icc-api}/model/AbstractFilterHealthcareParty.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/AbstractFilterInvoice.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/AbstractFilterInvoice.js +0 -0
- package/{dist/icc-api → icc-api}/model/AbstractFilterInvoice.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/AbstractFilterMaintenanceTask.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/AbstractFilterMaintenanceTask.js +0 -0
- package/{dist/icc-api → icc-api}/model/AbstractFilterMaintenanceTask.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/AbstractFilterPatient.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/AbstractFilterPatient.js +0 -0
- package/{dist/icc-api → icc-api}/model/AbstractFilterPatient.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/AbstractFilterService.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/AbstractFilterService.js +0 -0
- package/{dist/icc-api → icc-api}/model/AbstractFilterService.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/AbstractFilterUser.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/AbstractFilterUser.js +0 -0
- package/{dist/icc-api → icc-api}/model/AbstractFilterUser.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/AccessLog.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/AccessLog.js +0 -0
- package/{dist/icc-api → icc-api}/model/AccessLog.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/AddedDocument.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/AddedDocument.js +0 -0
- package/{dist/icc-api → icc-api}/model/AddedDocument.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Address.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Address.js +0 -0
- package/{dist/icc-api → icc-api}/model/Address.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/AdministrationQuantity.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/AdministrationQuantity.js +0 -0
- package/{dist/icc-api → icc-api}/model/AdministrationQuantity.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Agenda.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Agenda.js +0 -0
- package/{dist/icc-api → icc-api}/model/Agenda.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/AgreementAppendix.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/AgreementAppendix.js +0 -0
- package/{dist/icc-api → icc-api}/model/AgreementAppendix.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Amp.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Amp.js +0 -0
- package/{dist/icc-api → icc-api}/model/Amp.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/AmpComponent.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/AmpComponent.js +0 -0
- package/{dist/icc-api → icc-api}/model/AmpComponent.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Ampp.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Ampp.js +0 -0
- package/{dist/icc-api → icc-api}/model/Ampp.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/AmppComponent.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/AmppComponent.js +0 -0
- package/{dist/icc-api → icc-api}/model/AmppComponent.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Annotation.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Annotation.js +0 -0
- package/{dist/icc-api → icc-api}/model/Annotation.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/ApplicationSettings.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/ApplicationSettings.js +0 -0
- package/{dist/icc-api → icc-api}/model/ApplicationSettings.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Appointment.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Appointment.js +0 -0
- package/{dist/icc-api → icc-api}/model/Appointment.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/AppointmentImport.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/AppointmentImport.js +0 -0
- package/{dist/icc-api → icc-api}/model/AppointmentImport.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/AppointmentTypeAndPlace.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/AppointmentTypeAndPlace.js +0 -0
- package/{dist/icc-api → icc-api}/model/AppointmentTypeAndPlace.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Article.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Article.js +0 -0
- package/{dist/icc-api → icc-api}/model/Article.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Atc.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Atc.js +0 -0
- package/{dist/icc-api → icc-api}/model/Atc.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Attachment.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Attachment.js +0 -0
- package/{dist/icc-api → icc-api}/model/Attachment.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/AuthenticationResponse.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/AuthenticationResponse.js +0 -0
- package/{dist/icc-api → icc-api}/model/AuthenticationResponse.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/AuthenticationToken.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/AuthenticationToken.js +0 -0
- package/{dist/icc-api → icc-api}/model/AuthenticationToken.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Basic.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Basic.js +0 -0
- package/{dist/icc-api → icc-api}/model/Basic.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Body.d.ts +0 -0
- package/icc-api/model/Body.js +22 -0
- package/icc-api/model/Body.js.map +1 -0
- package/{dist/icc-api → icc-api}/model/Body1.d.ts +0 -0
- package/icc-api/model/Body1.js +22 -0
- package/icc-api/model/Body1.js.map +1 -0
- package/{dist/icc-api → icc-api}/model/Body2.d.ts +0 -0
- package/icc-api/model/Body2.js +22 -0
- package/icc-api/model/Body2.js.map +1 -0
- package/{dist/icc-api → icc-api}/model/Body3.d.ts +0 -0
- package/icc-api/model/Body3.js +22 -0
- package/icc-api/model/Body3.js.map +1 -0
- package/{dist/icc-api → icc-api}/model/ByteArray.d.ts +0 -0
- package/icc-api/model/ByteArray.js +22 -0
- package/icc-api/model/ByteArray.js.map +1 -0
- package/{dist/icc-api → icc-api}/model/CalendarItem.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/CalendarItem.js +0 -0
- package/{dist/icc-api → icc-api}/model/CalendarItem.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/CalendarItemTag.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/CalendarItemTag.js +0 -0
- package/{dist/icc-api → icc-api}/model/CalendarItemTag.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/CalendarItemType.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/CalendarItemType.js +0 -0
- package/{dist/icc-api → icc-api}/model/CalendarItemType.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/CareTeamMember.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/CareTeamMember.js +0 -0
- package/{dist/icc-api → icc-api}/model/CareTeamMember.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/CareTeamMembership.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/CareTeamMembership.js +0 -0
- package/{dist/icc-api → icc-api}/model/CareTeamMembership.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/CheckSMFPatientResult.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/CheckSMFPatientResult.js +0 -0
- package/{dist/icc-api → icc-api}/model/CheckSMFPatientResult.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Classification.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Classification.js +0 -0
- package/{dist/icc-api → icc-api}/model/Classification.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/ClassificationTemplate.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/ClassificationTemplate.js +0 -0
- package/{dist/icc-api → icc-api}/model/ClassificationTemplate.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Code.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Code.js +0 -0
- package/{dist/icc-api → icc-api}/model/Code.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/CodeStub.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/CodeStub.js +0 -0
- package/{dist/icc-api → icc-api}/model/CodeStub.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/CodeType.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/CodeType.js +0 -0
- package/{dist/icc-api → icc-api}/model/CodeType.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/CommentedClassification.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/CommentedClassification.js +0 -0
- package/{dist/icc-api → icc-api}/model/CommentedClassification.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Commercialization.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Commercialization.js +0 -0
- package/{dist/icc-api → icc-api}/model/Commercialization.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Company.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Company.js +0 -0
- package/{dist/icc-api → icc-api}/model/Company.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Contact.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Contact.js +0 -0
- package/{dist/icc-api → icc-api}/model/Contact.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Content.d.ts +0 -0
- package/icc-api/model/Content.js +14 -0
- package/icc-api/model/Content.js.map +1 -0
- package/{dist/icc-api → icc-api}/model/Copayment.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Copayment.js +0 -0
- package/{dist/icc-api → icc-api}/model/Copayment.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Data.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Data.js +0 -0
- package/{dist/icc-api → icc-api}/model/Data.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/DataOwnerRegistrationSuccess.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/DataOwnerRegistrationSuccess.js +0 -0
- package/{dist/icc-api → icc-api}/model/DataOwnerRegistrationSuccess.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/DatabaseInfo.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/DatabaseInfo.js +0 -0
- package/{dist/icc-api → icc-api}/model/DatabaseInfo.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/DatabaseInitialisation.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/DatabaseInitialisation.js +0 -0
- package/{dist/icc-api → icc-api}/model/DatabaseInitialisation.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/DatabaseSynchronization.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/DatabaseSynchronization.js +0 -0
- package/{dist/icc-api → icc-api}/model/DatabaseSynchronization.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Delegation.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Delegation.js +0 -0
- package/{dist/icc-api → icc-api}/model/Delegation.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Device.d.ts +0 -0
- package/icc-api/model/Device.js +14 -0
- package/icc-api/model/Device.js.map +1 -0
- package/{dist/icc-api → icc-api}/model/DeviceType.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/DeviceType.js +0 -0
- package/{dist/icc-api → icc-api}/model/DeviceType.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/DiaryNoteExportInfo.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/DiaryNoteExportInfo.js +0 -0
- package/{dist/icc-api → icc-api}/model/DiaryNoteExportInfo.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Dmpp.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Dmpp.js +0 -0
- package/{dist/icc-api → icc-api}/model/Dmpp.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/DocIdentifier.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/DocIdentifier.js +0 -0
- package/{dist/icc-api → icc-api}/model/DocIdentifier.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Document.d.ts +0 -0
- package/icc-api/model/Document.js +72 -0
- package/icc-api/model/Document.js.map +1 -0
- package/{dist/icc-api → icc-api}/model/DocumentGroup.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/DocumentGroup.js +0 -0
- package/{dist/icc-api → icc-api}/model/DocumentGroup.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/DocumentTemplate.d.ts +0 -0
- package/icc-api/model/DocumentTemplate.js +57 -0
- package/icc-api/model/DocumentTemplate.js.map +1 -0
- package/{dist/icc-api → icc-api}/model/Duration.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Duration.js +0 -0
- package/{dist/icc-api → icc-api}/model/Duration.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/EIDItem.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/EIDItem.js +0 -0
- package/{dist/icc-api → icc-api}/model/EIDItem.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Editor.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Editor.js +0 -0
- package/{dist/icc-api → icc-api}/model/Editor.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/EfactInvoice.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/EfactInvoice.js +0 -0
- package/{dist/icc-api → icc-api}/model/EfactInvoice.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/EmailOrSmsMessage.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/EmailOrSmsMessage.js +0 -0
- package/{dist/icc-api → icc-api}/model/EmailOrSmsMessage.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/EmailTemplate.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/EmailTemplate.js +0 -0
- package/{dist/icc-api → icc-api}/model/EmailTemplate.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Employer.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Employer.js +0 -0
- package/{dist/icc-api → icc-api}/model/Employer.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/EmploymentInfo.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/EmploymentInfo.js +0 -0
- package/{dist/icc-api → icc-api}/model/EmploymentInfo.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/EntityReference.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/EntityReference.js +0 -0
- package/{dist/icc-api → icc-api}/model/EntityReference.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/EntityTemplate.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/EntityTemplate.js +0 -0
- package/{dist/icc-api → icc-api}/model/EntityTemplate.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Episode.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Episode.js +0 -0
- package/{dist/icc-api → icc-api}/model/Episode.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/FilterChainCode.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/FilterChainCode.js +0 -0
- package/{dist/icc-api → icc-api}/model/FilterChainCode.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/FilterChainContact.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/FilterChainContact.js +0 -0
- package/{dist/icc-api → icc-api}/model/FilterChainContact.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/FilterChainDevice.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/FilterChainDevice.js +0 -0
- package/{dist/icc-api → icc-api}/model/FilterChainDevice.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/FilterChainHealthElement.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/FilterChainHealthElement.js +0 -0
- package/{dist/icc-api → icc-api}/model/FilterChainHealthElement.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/FilterChainHealthcareParty.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/FilterChainHealthcareParty.js +0 -0
- package/{dist/icc-api → icc-api}/model/FilterChainHealthcareParty.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/FilterChainInvoice.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/FilterChainInvoice.js +0 -0
- package/{dist/icc-api → icc-api}/model/FilterChainInvoice.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/FilterChainMaintenanceTask.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/FilterChainMaintenanceTask.js +0 -0
- package/{dist/icc-api → icc-api}/model/FilterChainMaintenanceTask.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/FilterChainPatient.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/FilterChainPatient.js +0 -0
- package/{dist/icc-api → icc-api}/model/FilterChainPatient.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/FilterChainService.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/FilterChainService.js +0 -0
- package/{dist/icc-api → icc-api}/model/FilterChainService.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/FilterChainUser.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/FilterChainUser.js +0 -0
- package/{dist/icc-api → icc-api}/model/FilterChainUser.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/FinancialInstitutionInformation.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/FinancialInstitutionInformation.js +0 -0
- package/{dist/icc-api → icc-api}/model/FinancialInstitutionInformation.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/FlatRateTarification.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/FlatRateTarification.js +0 -0
- package/{dist/icc-api → icc-api}/model/FlatRateTarification.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/FlowItem.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/FlowItem.js +0 -0
- package/{dist/icc-api → icc-api}/model/FlowItem.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Form.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Form.js +0 -0
- package/{dist/icc-api → icc-api}/model/Form.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/FormColumn.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/FormColumn.js +0 -0
- package/{dist/icc-api → icc-api}/model/FormColumn.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/FormDataOption.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/FormDataOption.js +0 -0
- package/{dist/icc-api → icc-api}/model/FormDataOption.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/FormLayout.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/FormLayout.js +0 -0
- package/{dist/icc-api → icc-api}/model/FormLayout.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/FormLayoutData.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/FormLayoutData.js +0 -0
- package/{dist/icc-api → icc-api}/model/FormLayoutData.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/FormPlanning.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/FormPlanning.js +0 -0
- package/{dist/icc-api → icc-api}/model/FormPlanning.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/FormSection.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/FormSection.js +0 -0
- package/{dist/icc-api → icc-api}/model/FormSection.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/FormTemplate.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/FormTemplate.js +0 -0
- package/{dist/icc-api → icc-api}/model/FormTemplate.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/FormTemplateLayout.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/FormTemplateLayout.js +0 -0
- package/{dist/icc-api → icc-api}/model/FormTemplateLayout.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Formula.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Formula.js +0 -0
- package/{dist/icc-api → icc-api}/model/Formula.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/FrontEndMigration.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/FrontEndMigration.js +0 -0
- package/{dist/icc-api → icc-api}/model/FrontEndMigration.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Group.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Group.js +0 -0
- package/{dist/icc-api → icc-api}/model/Group.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/GroupDatabasesInfo.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/GroupDatabasesInfo.js +0 -0
- package/{dist/icc-api → icc-api}/model/GroupDatabasesInfo.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/GuiCode.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/GuiCode.js +0 -0
- package/{dist/icc-api → icc-api}/model/GuiCode.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/GuiCodeType.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/GuiCodeType.js +0 -0
- package/{dist/icc-api → icc-api}/model/GuiCodeType.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/HealthElement.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/HealthElement.js +0 -0
- package/{dist/icc-api → icc-api}/model/HealthElement.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/HealthcareParty.d.ts +0 -0
- package/icc-api/model/HealthcareParty.js +30 -0
- package/icc-api/model/HealthcareParty.js.map +1 -0
- package/{dist/icc-api → icc-api}/model/HealthcarePartyHistoryStatus.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/HealthcarePartyHistoryStatus.js +0 -0
- package/{dist/icc-api → icc-api}/model/HealthcarePartyHistoryStatus.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/IcureStub.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/IcureStub.js +0 -0
- package/{dist/icc-api → icc-api}/model/IcureStub.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/IdWithRev.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/IdWithRev.js +0 -0
- package/{dist/icc-api → icc-api}/model/IdWithRev.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Identifier.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Identifier.js +0 -0
- package/{dist/icc-api → icc-api}/model/Identifier.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/IdentityDocumentReader.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/IdentityDocumentReader.js +0 -0
- package/{dist/icc-api → icc-api}/model/IdentityDocumentReader.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/ImportMapping.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/ImportMapping.js +0 -0
- package/{dist/icc-api → icc-api}/model/ImportMapping.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/ImportResult.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/ImportResult.js +0 -0
- package/{dist/icc-api → icc-api}/model/ImportResult.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/IncapacityExportInfo.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/IncapacityExportInfo.js +0 -0
- package/{dist/icc-api → icc-api}/model/IncapacityExportInfo.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/IndexedIdentifier.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/IndexedIdentifier.js +0 -0
- package/{dist/icc-api → icc-api}/model/IndexedIdentifier.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/IndexingInfo.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/IndexingInfo.js +0 -0
- package/{dist/icc-api → icc-api}/model/IndexingInfo.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Ingredient.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Ingredient.js +0 -0
- package/{dist/icc-api → icc-api}/model/Ingredient.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Insurability.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Insurability.js +0 -0
- package/{dist/icc-api → icc-api}/model/Insurability.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Insurance.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Insurance.js +0 -0
- package/{dist/icc-api → icc-api}/model/Insurance.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Invoice.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Invoice.js +0 -0
- package/{dist/icc-api → icc-api}/model/Invoice.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/InvoiceItem.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/InvoiceItem.js +0 -0
- package/{dist/icc-api → icc-api}/model/InvoiceItem.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/InvoiceSender.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/InvoiceSender.js +0 -0
- package/{dist/icc-api → icc-api}/model/InvoiceSender.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/InvoicesBatch.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/InvoicesBatch.js +0 -0
- package/{dist/icc-api → icc-api}/model/InvoicesBatch.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/InvoicingCode.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/InvoicingCode.js +0 -0
- package/{dist/icc-api → icc-api}/model/InvoicingCode.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Keyword.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Keyword.js +0 -0
- package/{dist/icc-api → icc-api}/model/Keyword.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/KeywordSubword.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/KeywordSubword.js +0 -0
- package/{dist/icc-api → icc-api}/model/KeywordSubword.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/LabelledOccurence.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/LabelledOccurence.js +0 -0
- package/{dist/icc-api → icc-api}/model/LabelledOccurence.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/LetterValue.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/LetterValue.js +0 -0
- package/{dist/icc-api → icc-api}/model/LetterValue.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/ListOfIds.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/ListOfIds.js +0 -0
- package/{dist/icc-api → icc-api}/model/ListOfIds.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/ListOfProperties.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/ListOfProperties.js +0 -0
- package/{dist/icc-api → icc-api}/model/ListOfProperties.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/LoginCredentials.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/LoginCredentials.js +0 -0
- package/{dist/icc-api → icc-api}/model/LoginCredentials.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/MaintenanceTask.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/MaintenanceTask.js +0 -0
- package/{dist/icc-api → icc-api}/model/MaintenanceTask.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/MapOfIds.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/MapOfIds.js +0 -0
- package/{dist/icc-api → icc-api}/model/MapOfIds.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Measure.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Measure.js +0 -0
- package/{dist/icc-api → icc-api}/model/Measure.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/MedexInfo.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/MedexInfo.js +0 -0
- package/{dist/icc-api → icc-api}/model/MedexInfo.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/MedicalHouseContract.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/MedicalHouseContract.js +0 -0
- package/{dist/icc-api → icc-api}/model/MedicalHouseContract.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/MedicalLocation.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/MedicalLocation.js +0 -0
- package/{dist/icc-api → icc-api}/model/MedicalLocation.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Medication.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Medication.js +0 -0
- package/{dist/icc-api → icc-api}/model/Medication.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/MedicationSchemeExportInfo.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/MedicationSchemeExportInfo.js +0 -0
- package/{dist/icc-api → icc-api}/model/MedicationSchemeExportInfo.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Medicinalproduct.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Medicinalproduct.js +0 -0
- package/{dist/icc-api → icc-api}/model/Medicinalproduct.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Message.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Message.js +0 -0
- package/{dist/icc-api → icc-api}/model/Message.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/MessageReadStatus.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/MessageReadStatus.js +0 -0
- package/{dist/icc-api → icc-api}/model/MessageReadStatus.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/MessageWithBatch.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/MessageWithBatch.js +0 -0
- package/{dist/icc-api → icc-api}/model/MessageWithBatch.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/MessagesReadStatusUpdate.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/MessagesReadStatusUpdate.js +0 -0
- package/{dist/icc-api → icc-api}/model/MessagesReadStatusUpdate.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/MikronoAppointmentTypeRest.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/MikronoAppointmentTypeRest.js +0 -0
- package/{dist/icc-api → icc-api}/model/MikronoAppointmentTypeRest.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/MikronoCredentials.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/MikronoCredentials.js +0 -0
- package/{dist/icc-api → icc-api}/model/MikronoCredentials.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/MimeAttachment.d.ts +0 -0
- package/icc-api/model/MimeAttachment.js +22 -0
- package/icc-api/model/MimeAttachment.js.map +1 -0
- package/{dist/icc-api → icc-api}/model/ModelHelper.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/ModelHelper.js +0 -0
- package/{dist/icc-api → icc-api}/model/ModelHelper.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Nmp.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Nmp.js +0 -0
- package/{dist/icc-api → icc-api}/model/Nmp.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/NoGenericPrescriptionReason.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/NoGenericPrescriptionReason.js +0 -0
- package/{dist/icc-api → icc-api}/model/NoGenericPrescriptionReason.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/NoSwitchReason.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/NoSwitchReason.js +0 -0
- package/{dist/icc-api → icc-api}/model/NoSwitchReason.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/NumeratorRange.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/NumeratorRange.js +0 -0
- package/{dist/icc-api → icc-api}/model/NumeratorRange.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/PackagingType.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/PackagingType.js +0 -0
- package/{dist/icc-api → icc-api}/model/PackagingType.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedDocumentKeyIdPairObject.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedDocumentKeyIdPairObject.js +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedDocumentKeyIdPairObject.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListAccessLog.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListAccessLog.js +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListAccessLog.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListAmp.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListAmp.js +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListAmp.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListClassification.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListClassification.js +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListClassification.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListClassificationTemplate.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListClassificationTemplate.js +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListClassificationTemplate.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListCode.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListCode.js +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListCode.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListContact.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListContact.js +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListContact.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListDevice.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListDevice.js +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListDevice.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListDocument.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListDocument.js +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListDocument.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListEntityTemplate.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListEntityTemplate.js +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListEntityTemplate.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListForm.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListForm.js +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListForm.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListGroup.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListGroup.js +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListGroup.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListHealthElement.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListHealthElement.js +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListHealthElement.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListHealthcareParty.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListHealthcareParty.js +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListHealthcareParty.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListInvoice.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListInvoice.js +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListInvoice.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListMaintenanceTask.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListMaintenanceTask.js +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListMaintenanceTask.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListMessage.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListMessage.js +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListMessage.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListNmp.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListNmp.js +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListNmp.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListPatient.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListPatient.js +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListPatient.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListService.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListService.js +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListService.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListString.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListString.js +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListString.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListTarification.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListTarification.js +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListTarification.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListUser.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListUser.js +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListUser.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListVmp.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListVmp.js +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListVmp.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListVmpGroup.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListVmpGroup.js +0 -0
- package/{dist/icc-api → icc-api}/model/PaginatedListVmpGroup.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Paragraph.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Paragraph.js +0 -0
- package/{dist/icc-api → icc-api}/model/Paragraph.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/ParagraphAgreement.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/ParagraphAgreement.js +0 -0
- package/{dist/icc-api → icc-api}/model/ParagraphAgreement.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Partnership.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Partnership.js +0 -0
- package/{dist/icc-api → icc-api}/model/Partnership.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Patient.d.ts +0 -0
- package/icc-api/model/Patient.js +59 -0
- package/icc-api/model/Patient.js.map +1 -0
- package/{dist/icc-api → icc-api}/model/PatientByHcPartyGenderEducationProfession.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/PatientByHcPartyGenderEducationProfession.js +0 -0
- package/{dist/icc-api → icc-api}/model/PatientByHcPartyGenderEducationProfession.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/PatientHealthCareParty.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/PatientHealthCareParty.js +0 -0
- package/{dist/icc-api → icc-api}/model/PatientHealthCareParty.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/PatientRegistrationSuccess.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/PatientRegistrationSuccess.js +0 -0
- package/{dist/icc-api → icc-api}/model/PatientRegistrationSuccess.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Payment.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Payment.js +0 -0
- package/{dist/icc-api → icc-api}/model/Payment.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Periodicity.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Periodicity.js +0 -0
- package/{dist/icc-api → icc-api}/model/Periodicity.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Permission.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Permission.js +0 -0
- package/{dist/icc-api → icc-api}/model/Permission.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/PermissionCriterion.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/PermissionCriterion.js +0 -0
- package/{dist/icc-api → icc-api}/model/PermissionCriterion.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/PermissionItem.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/PermissionItem.js +0 -0
- package/{dist/icc-api → icc-api}/model/PermissionItem.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/PersonName.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/PersonName.js +0 -0
- package/{dist/icc-api → icc-api}/model/PersonName.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/PharmaceuticalForm.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/PharmaceuticalForm.js +0 -0
- package/{dist/icc-api → icc-api}/model/PharmaceuticalForm.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/PharmaceuticalFormStub.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/PharmaceuticalFormStub.js +0 -0
- package/{dist/icc-api → icc-api}/model/PharmaceuticalFormStub.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Place.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Place.js +0 -0
- package/{dist/icc-api → icc-api}/model/Place.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/PlanOfAction.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/PlanOfAction.js +0 -0
- package/{dist/icc-api → icc-api}/model/PlanOfAction.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Predicate.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Predicate.js +0 -0
- package/{dist/icc-api → icc-api}/model/Predicate.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Pricing.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Pricing.js +0 -0
- package/{dist/icc-api → icc-api}/model/Pricing.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/PropertyStub.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/PropertyStub.js +0 -0
- package/{dist/icc-api → icc-api}/model/PropertyStub.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/PropertyTypeStub.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/PropertyTypeStub.js +0 -0
- package/{dist/icc-api → icc-api}/model/PropertyTypeStub.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/PublicKey.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/PublicKey.js +0 -0
- package/{dist/icc-api → icc-api}/model/PublicKey.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Quantity.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Quantity.js +0 -0
- package/{dist/icc-api → icc-api}/model/Quantity.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Receipt.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Receipt.js +0 -0
- package/{dist/icc-api → icc-api}/model/Receipt.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/ReferralPeriod.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/ReferralPeriod.js +0 -0
- package/{dist/icc-api → icc-api}/model/ReferralPeriod.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/RegimenItem.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/RegimenItem.js +0 -0
- package/{dist/icc-api → icc-api}/model/RegimenItem.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/RegistrationInformation.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/RegistrationInformation.js +0 -0
- package/{dist/icc-api → icc-api}/model/RegistrationInformation.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/RegistrationSuccess.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/RegistrationSuccess.js +0 -0
- package/{dist/icc-api → icc-api}/model/RegistrationSuccess.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Reimbursement.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Reimbursement.js +0 -0
- package/{dist/icc-api → icc-api}/model/Reimbursement.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/ReimbursementCriterion.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/ReimbursementCriterion.js +0 -0
- package/{dist/icc-api → icc-api}/model/ReimbursementCriterion.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Remote.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Remote.js +0 -0
- package/{dist/icc-api → icc-api}/model/Remote.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/RemoteAuthentication.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/RemoteAuthentication.js +0 -0
- package/{dist/icc-api → icc-api}/model/RemoteAuthentication.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Renewal.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Renewal.js +0 -0
- package/{dist/icc-api → icc-api}/model/Renewal.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/ReplicateCommand.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/ReplicateCommand.js +0 -0
- package/{dist/icc-api → icc-api}/model/ReplicateCommand.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Replication.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Replication.js +0 -0
- package/{dist/icc-api → icc-api}/model/Replication.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/ReplicationInfo.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/ReplicationInfo.js +0 -0
- package/{dist/icc-api → icc-api}/model/ReplicationInfo.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/ReplicationStats.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/ReplicationStats.js +0 -0
- package/{dist/icc-api → icc-api}/model/ReplicationStats.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/ReplicatorDocument.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/ReplicatorDocument.js +0 -0
- package/{dist/icc-api → icc-api}/model/ReplicatorDocument.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/ReplicatorResponse.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/ReplicatorResponse.js +0 -0
- package/{dist/icc-api → icc-api}/model/ReplicatorResponse.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/ResultInfo.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/ResultInfo.js +0 -0
- package/{dist/icc-api → icc-api}/model/ResultInfo.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/RevisionInfo.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/RevisionInfo.js +0 -0
- package/{dist/icc-api → icc-api}/model/RevisionInfo.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Right.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Right.js +0 -0
- package/{dist/icc-api → icc-api}/model/Right.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/RouteOfAdministration.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/RouteOfAdministration.js +0 -0
- package/{dist/icc-api → icc-api}/model/RouteOfAdministration.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/SamText.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/SamText.js +0 -0
- package/{dist/icc-api → icc-api}/model/SamText.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/SamVersion.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/SamVersion.js +0 -0
- package/{dist/icc-api → icc-api}/model/SamVersion.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/SchoolingInfo.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/SchoolingInfo.js +0 -0
- package/{dist/icc-api → icc-api}/model/SchoolingInfo.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Section.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Section.js +0 -0
- package/{dist/icc-api → icc-api}/model/Section.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Service.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Service.js +0 -0
- package/{dist/icc-api → icc-api}/model/Service.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/ServiceLink.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/ServiceLink.js +0 -0
- package/{dist/icc-api → icc-api}/model/ServiceLink.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/SoftwareMedicalFileExport.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/SoftwareMedicalFileExport.js +0 -0
- package/{dist/icc-api → icc-api}/model/SoftwareMedicalFileExport.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/StandardSubstance.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/StandardSubstance.js +0 -0
- package/{dist/icc-api → icc-api}/model/StandardSubstance.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/StrengthRange.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/StrengthRange.js +0 -0
- package/{dist/icc-api → icc-api}/model/StrengthRange.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/StructureElement.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/StructureElement.js +0 -0
- package/{dist/icc-api → icc-api}/model/StructureElement.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/SubContact.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/SubContact.js +0 -0
- package/{dist/icc-api → icc-api}/model/SubContact.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Substance.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Substance.js +0 -0
- package/{dist/icc-api → icc-api}/model/Substance.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/SubstanceStub.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/SubstanceStub.js +0 -0
- package/{dist/icc-api → icc-api}/model/SubstanceStub.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Substanceproduct.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Substanceproduct.js +0 -0
- package/{dist/icc-api → icc-api}/model/Substanceproduct.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Suggest.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Suggest.js +0 -0
- package/{dist/icc-api → icc-api}/model/Suggest.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/SumehrContent.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/SumehrContent.js +0 -0
- package/{dist/icc-api → icc-api}/model/SumehrContent.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/SumehrExportInfo.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/SumehrExportInfo.js +0 -0
- package/{dist/icc-api → icc-api}/model/SumehrExportInfo.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/SumehrValidity.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/SumehrValidity.js +0 -0
- package/{dist/icc-api → icc-api}/model/SumehrValidity.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/SupplyProblem.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/SupplyProblem.js +0 -0
- package/{dist/icc-api → icc-api}/model/SupplyProblem.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Suspension.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Suspension.js +0 -0
- package/{dist/icc-api → icc-api}/model/Suspension.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Tag.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Tag.js +0 -0
- package/{dist/icc-api → icc-api}/model/Tag.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Tarification.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Tarification.js +0 -0
- package/{dist/icc-api → icc-api}/model/Tarification.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Telecom.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Telecom.js +0 -0
- package/{dist/icc-api → icc-api}/model/Telecom.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/TimeSeries.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/TimeSeries.js +0 -0
- package/{dist/icc-api → icc-api}/model/TimeSeries.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/TimeTable.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/TimeTable.js +0 -0
- package/{dist/icc-api → icc-api}/model/TimeTable.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/TimeTableHour.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/TimeTableHour.js +0 -0
- package/{dist/icc-api → icc-api}/model/TimeTableHour.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/TimeTableItem.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/TimeTableItem.js +0 -0
- package/{dist/icc-api → icc-api}/model/TimeTableItem.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/TokenWithGroup.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/TokenWithGroup.js +0 -0
- package/{dist/icc-api → icc-api}/model/TokenWithGroup.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/TypedValueObject.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/TypedValueObject.js +0 -0
- package/{dist/icc-api → icc-api}/model/TypedValueObject.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Unit.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Unit.js +0 -0
- package/{dist/icc-api → icc-api}/model/Unit.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/User.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/User.js +0 -0
- package/{dist/icc-api → icc-api}/model/User.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/UserAndHealthcareParty.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/UserAndHealthcareParty.js +0 -0
- package/{dist/icc-api → icc-api}/model/UserAndHealthcareParty.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/UserGroup.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/UserGroup.js +0 -0
- package/{dist/icc-api → icc-api}/model/UserGroup.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Valorisation.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Valorisation.js +0 -0
- package/{dist/icc-api → icc-api}/model/Valorisation.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Verse.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Verse.js +0 -0
- package/{dist/icc-api → icc-api}/model/Verse.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/VirtualForm.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/VirtualForm.js +0 -0
- package/{dist/icc-api → icc-api}/model/VirtualForm.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/VirtualIngredient.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/VirtualIngredient.js +0 -0
- package/{dist/icc-api → icc-api}/model/VirtualIngredient.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Vmp.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Vmp.js +0 -0
- package/{dist/icc-api → icc-api}/model/Vmp.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/VmpComponent.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/VmpComponent.js +0 -0
- package/{dist/icc-api → icc-api}/model/VmpComponent.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/VmpGroup.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/VmpGroup.js +0 -0
- package/{dist/icc-api → icc-api}/model/VmpGroup.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/VmpGroupStub.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/VmpGroupStub.js +0 -0
- package/{dist/icc-api → icc-api}/model/VmpGroupStub.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/VmpStub.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/VmpStub.js +0 -0
- package/{dist/icc-api → icc-api}/model/VmpStub.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Vtm.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Vtm.js +0 -0
- package/{dist/icc-api → icc-api}/model/Vtm.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Wada.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Wada.js +0 -0
- package/{dist/icc-api → icc-api}/model/Wada.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/WebSession.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/WebSession.js +0 -0
- package/{dist/icc-api → icc-api}/model/WebSession.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/WebSessionMaxIdleTime.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/WebSessionMaxIdleTime.js +0 -0
- package/{dist/icc-api → icc-api}/model/WebSessionMaxIdleTime.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/WebSessionMaxIdleTimeUnits.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/WebSessionMaxIdleTimeUnits.js +0 -0
- package/{dist/icc-api → icc-api}/model/WebSessionMaxIdleTimeUnits.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/Weekday.d.ts +0 -0
- package/{dist/icc-api → icc-api}/model/Weekday.js +0 -0
- package/{dist/icc-api → icc-api}/model/Weekday.js.map +0 -0
- package/{dist/icc-api → icc-api}/model/models.d.ts +0 -0
- package/icc-api/model/models.js +268 -0
- package/icc-api/model/models.js.map +1 -0
- package/{dist/icc-x-api → icc-x-api}/crypto/AES.d.ts +0 -0
- package/icc-x-api/crypto/AES.js +119 -0
- package/icc-x-api/crypto/AES.js.map +1 -0
- package/{dist/icc-x-api → icc-x-api}/crypto/RSA.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/crypto/RSA.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/crypto/RSA.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/crypto/shamir.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/crypto/shamir.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/crypto/shamir.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/crypto/utils.d.ts +0 -0
- package/icc-x-api/crypto/utils.js +256 -0
- package/icc-x-api/crypto/utils.js.map +1 -0
- package/{dist/icc-x-api → icc-x-api}/filters/AllCodesFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/AllCodesFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/AllCodesFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/AllDevicesFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/AllDevicesFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/AllDevicesFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/AllHealthcarePartiesFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/AllHealthcarePartiesFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/AllHealthcarePartiesFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/AllUsersFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/AllUsersFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/AllUsersFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/CodeByIdsFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/CodeByIdsFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/CodeByIdsFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/CodeByRegionTypeLabelLanguageFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/CodeByRegionTypeLabelLanguageFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/CodeByRegionTypeLabelLanguageFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/CodeIdsByTypeCodeVersionIntervalFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/CodeIdsByTypeCodeVersionIntervalFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/CodeIdsByTypeCodeVersionIntervalFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/ComplementFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/ComplementFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/ComplementFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/ConstantFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/ConstantFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/ConstantFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/ContactByHcPartyFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/ContactByHcPartyFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/ContactByHcPartyFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/ContactByHcPartyPatientTagCodeDateFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/ContactByHcPartyPatientTagCodeDateFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/ContactByHcPartyPatientTagCodeDateFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/ContactByHcPartyTagCodeDateFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/ContactByHcPartyTagCodeDateFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/ContactByHcPartyTagCodeDateFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/ContactByServiceIdsFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/ContactByServiceIdsFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/ContactByServiceIdsFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/DeviceByHcPartyFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/DeviceByHcPartyFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/DeviceByHcPartyFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/DeviceByIdsFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/DeviceByIdsFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/DeviceByIdsFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/HealthElementByHcPartyFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/HealthElementByHcPartyFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/HealthElementByHcPartyFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/HealthElementByHcPartyIdentifiersFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/HealthElementByHcPartyIdentifiersFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/HealthElementByHcPartyIdentifiersFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/HealthElementByHcPartySecretForeignKeysFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/HealthElementByHcPartySecretForeignKeysFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/HealthElementByHcPartySecretForeignKeysFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/HealthElementByHcPartyTagCodeFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/HealthElementByHcPartyTagCodeFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/HealthElementByHcPartyTagCodeFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/HealthElementByIdsFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/HealthElementByIdsFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/HealthElementByIdsFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/HealthcarePartyByIdsFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/HealthcarePartyByIdsFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/HealthcarePartyByIdsFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/IntersectionFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/IntersectionFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/IntersectionFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/InvoiceByHcPartyCodeDateFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/InvoiceByHcPartyCodeDateFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/InvoiceByHcPartyCodeDateFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/MaintenanceTaskAfterDateFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/MaintenanceTaskAfterDateFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/MaintenanceTaskAfterDateFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/MaintenanceTaskByHcPartyAndIdentifiersFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/MaintenanceTaskByHcPartyAndIdentifiersFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/MaintenanceTaskByHcPartyAndIdentifiersFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/MaintenanceTaskByHcPartyAndTypeFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/MaintenanceTaskByHcPartyAndTypeFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/MaintenanceTaskByHcPartyAndTypeFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/MaintenanceTaskByIdsFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/MaintenanceTaskByIdsFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/MaintenanceTaskByIdsFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyAndActiveFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyAndActiveFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyAndActiveFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyAndExternalIdFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyAndExternalIdFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyAndExternalIdFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyAndIdentifiersFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyAndIdentifiersFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyAndIdentifiersFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyAndSsinFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyAndSsinFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyAndSsinFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyAndSsinsFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyAndSsinsFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyAndSsinsFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyDateOfBirthBetweenFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyDateOfBirthBetweenFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyDateOfBirthBetweenFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyDateOfBirthFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyDateOfBirthFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyDateOfBirthFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyGenderEducationProfession.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyGenderEducationProfession.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyGenderEducationProfession.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyNameContainsFuzzyFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyNameContainsFuzzyFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyNameContainsFuzzyFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyNameFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyNameFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/PatientByHcPartyNameFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/PatientByIdsFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/PatientByIdsFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/PatientByIdsFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/ServiceByContactsAndSubcontactsFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/ServiceByContactsAndSubcontactsFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/ServiceByContactsAndSubcontactsFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/ServiceByHcPartyFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/ServiceByHcPartyFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/ServiceByHcPartyFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/ServiceByHcPartyHealthElementIdsFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/ServiceByHcPartyHealthElementIdsFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/ServiceByHcPartyHealthElementIdsFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/ServiceByHcPartyIdentifiersFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/ServiceByHcPartyIdentifiersFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/ServiceByHcPartyIdentifiersFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/ServiceByHcPartyTagCodeDateFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/ServiceByHcPartyTagCodeDateFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/ServiceByHcPartyTagCodeDateFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/ServiceByIdsFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/ServiceByIdsFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/ServiceByIdsFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/ServiceBySecretForeignKeys.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/ServiceBySecretForeignKeys.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/ServiceBySecretForeignKeys.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/UnionFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/UnionFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/UnionFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/UserByIdsFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/UserByIdsFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/UserByIdsFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/UserByNameEmailPhoneFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/UserByNameEmailPhoneFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/UserByNameEmailPhoneFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/UsersByPatientIdFilter.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/UsersByPatientIdFilter.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/UsersByPatientIdFilter.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/filters/filters.d.ts +0 -0
- package/icc-x-api/filters/filters.js +228 -0
- package/icc-x-api/filters/filters.js.map +1 -0
- package/icc-x-api/icc-accesslog-x-api.d.ts +49 -0
- package/icc-x-api/icc-accesslog-x-api.js +221 -0
- package/icc-x-api/icc-accesslog-x-api.js.map +1 -0
- package/{dist/icc-x-api → icc-x-api}/icc-bekmehr-x-api.d.ts +0 -0
- package/icc-x-api/icc-bekmehr-x-api.js +202 -0
- package/icc-x-api/icc-bekmehr-x-api.js.map +1 -0
- package/icc-x-api/icc-calendar-item-x-api.d.ts +48 -0
- package/icc-x-api/icc-calendar-item-x-api.js +207 -0
- package/icc-x-api/icc-calendar-item-x-api.js.map +1 -0
- package/icc-x-api/icc-classification-x-api.d.ts +14 -0
- package/icc-x-api/icc-classification-x-api.js +64 -0
- package/icc-x-api/icc-classification-x-api.js.map +1 -0
- package/{dist/icc-x-api → icc-x-api}/icc-code-x-api.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/icc-code-x-api.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/icc-code-x-api.js.map +0 -0
- package/icc-x-api/icc-contact-x-api.d.ts +126 -0
- package/icc-x-api/icc-contact-x-api.js +746 -0
- package/icc-x-api/icc-contact-x-api.js.map +1 -0
- package/icc-x-api/icc-crypto-x-api.d.ts +342 -0
- package/icc-x-api/icc-crypto-x-api.js +1075 -0
- package/icc-x-api/icc-crypto-x-api.js.map +1 -0
- package/icc-x-api/icc-data-owner-x-api.d.ts +14 -0
- package/icc-x-api/icc-data-owner-x-api.js +44 -0
- package/icc-x-api/icc-data-owner-x-api.js.map +1 -0
- package/{dist/icc-x-api → icc-x-api}/icc-doctemplate-x-api.d.ts +0 -0
- package/icc-x-api/icc-doctemplate-x-api.js +79 -0
- package/icc-x-api/icc-doctemplate-x-api.js.map +1 -0
- package/icc-x-api/icc-document-x-api.d.ts +42 -0
- package/icc-x-api/icc-document-x-api.js +553 -0
- package/icc-x-api/icc-document-x-api.js.map +1 -0
- package/icc-x-api/icc-form-x-api.d.ts +33 -0
- package/icc-x-api/icc-form-x-api.js +127 -0
- package/icc-x-api/icc-form-x-api.js.map +1 -0
- package/{dist/icc-x-api → icc-x-api}/icc-hcparty-x-api.d.ts +0 -0
- package/icc-x-api/icc-hcparty-x-api.js +116 -0
- package/icc-x-api/icc-hcparty-x-api.js.map +1 -0
- package/icc-x-api/icc-helement-x-api.d.ts +56 -0
- package/icc-x-api/icc-helement-x-api.js +297 -0
- package/icc-x-api/icc-helement-x-api.js.map +1 -0
- package/icc-x-api/icc-invoice-x-api.d.ts +39 -0
- package/icc-x-api/icc-invoice-x-api.js +146 -0
- package/icc-x-api/icc-invoice-x-api.js.map +1 -0
- package/icc-x-api/icc-maintenance-task-x-api.d.ts +30 -0
- package/icc-x-api/icc-maintenance-task-x-api.js +167 -0
- package/icc-x-api/icc-maintenance-task-x-api.js.map +1 -0
- package/icc-x-api/icc-message-x-api.d.ts +13 -0
- package/icc-x-api/icc-message-x-api.js +58 -0
- package/icc-x-api/icc-message-x-api.js.map +1 -0
- package/icc-x-api/icc-patient-x-api.d.ts +92 -0
- package/icc-x-api/icc-patient-x-api.js +848 -0
- package/icc-x-api/icc-patient-x-api.js.map +1 -0
- package/icc-x-api/icc-receipt-x-api.d.ts +17 -0
- package/icc-x-api/icc-receipt-x-api.js +73 -0
- package/icc-x-api/icc-receipt-x-api.js.map +1 -0
- package/icc-x-api/icc-time-table-x-api.d.ts +23 -0
- package/icc-x-api/icc-time-table-x-api.js +40 -0
- package/icc-x-api/icc-time-table-x-api.js.map +1 -0
- package/icc-x-api/icc-user-x-api.d.ts +7 -0
- package/icc-x-api/icc-user-x-api.js +16 -0
- package/icc-x-api/icc-user-x-api.js.map +1 -0
- package/icc-x-api/index.d.ts +72 -0
- package/icc-x-api/index.js +146 -0
- package/icc-x-api/index.js.map +1 -0
- package/{dist/icc-x-api → icc-x-api}/rsrc/codelng.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/rsrc/codelng.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/rsrc/codelng.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/rsrc/contact.i18n.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/rsrc/contact.i18n.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/rsrc/contact.i18n.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/rsrc/icd10.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/rsrc/icd10.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/rsrc/icd10.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/rsrc/icpc2.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/rsrc/icpc2.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/rsrc/icpc2.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/utils/asn1-packer.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/utils/asn1-packer.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/utils/asn1-packer.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/utils/asn1-parser.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/utils/asn1-parser.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/utils/asn1-parser.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/utils/binary-utils.d.ts +0 -0
- package/icc-x-api/utils/binary-utils.js +169 -0
- package/icc-x-api/utils/binary-utils.js.map +1 -0
- package/{dist/icc-x-api → icc-x-api}/utils/code-util.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/utils/code-util.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/utils/code-util.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/utils/formatting-util.d.ts +0 -0
- package/icc-x-api/utils/formatting-util.js +220 -0
- package/icc-x-api/utils/formatting-util.js.map +1 -0
- package/{dist/icc-x-api → icc-x-api}/utils/functional-util.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/utils/functional-util.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/utils/functional-util.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/utils/hcp-util.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/utils/hcp-util.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/utils/hcp-util.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/utils/index.d.ts +0 -0
- package/icc-x-api/utils/index.js +23 -0
- package/icc-x-api/utils/index.js.map +1 -0
- package/{dist/icc-x-api → icc-x-api}/utils/insurability-util.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/utils/insurability-util.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/utils/insurability-util.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/utils/net-utils.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/utils/net-utils.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/utils/net-utils.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/utils/person-util.d.ts +0 -0
- package/{dist/icc-x-api → icc-x-api}/utils/person-util.js +0 -0
- package/{dist/icc-x-api → icc-x-api}/utils/person-util.js.map +0 -0
- package/{dist/icc-x-api → icc-x-api}/utils/uuid-encoder.d.ts +0 -0
- package/icc-x-api/utils/uuid-encoder.js +109 -0
- package/icc-x-api/utils/uuid-encoder.js.map +1 -0
- package/{dist/index.d.ts → index.d.ts} +0 -0
- package/index.js +25 -0
- package/index.js.map +1 -0
- package/{dist/node-compat.d.ts → node-compat.d.ts} +0 -0
- package/{dist/node-compat.js → node-compat.js} +0 -0
- package/{dist/node-compat.js.map → node-compat.js.map} +0 -0
- package/package.json +3 -82
- package/.editorconfig +0 -11
- package/.eslintrc.js +0 -31
- package/.github/workflows/build.yml +0 -37
- package/.prettierrc +0 -5
- package/CHANGELOG.md +0 -112
- package/Dockerfile +0 -25
- package/LICENSE +0 -7
- package/README.md +0 -75
- package/apidocs/.swagger-codegen-ignore +0 -23
- package/ci/cloudbuild.yaml +0 -16
- package/dist/icc-api/api/XHR.js +0 -133
- package/dist/icc-api/api/XHR.js.map +0 -1
- package/dist/icc-api/iccApi.js +0 -58
- package/dist/icc-api/iccApi.js.map +0 -1
- package/dist/icc-api/index.js +0 -58
- package/dist/icc-api/index.js.map +0 -1
- package/dist/icc-api/model/Body.js +0 -22
- package/dist/icc-api/model/Body.js.map +0 -1
- package/dist/icc-api/model/Body1.js +0 -22
- package/dist/icc-api/model/Body1.js.map +0 -1
- package/dist/icc-api/model/Body2.js +0 -22
- package/dist/icc-api/model/Body2.js.map +0 -1
- package/dist/icc-api/model/Body3.js +0 -22
- package/dist/icc-api/model/Body3.js.map +0 -1
- package/dist/icc-api/model/ByteArray.js +0 -22
- package/dist/icc-api/model/ByteArray.js.map +0 -1
- package/dist/icc-api/model/Content.js +0 -14
- package/dist/icc-api/model/Content.js.map +0 -1
- package/dist/icc-api/model/Device.js +0 -14
- package/dist/icc-api/model/Device.js.map +0 -1
- package/dist/icc-api/model/Document.js +0 -72
- package/dist/icc-api/model/Document.js.map +0 -1
- package/dist/icc-api/model/DocumentTemplate.js +0 -57
- package/dist/icc-api/model/DocumentTemplate.js.map +0 -1
- package/dist/icc-api/model/HealthcareParty.js +0 -30
- package/dist/icc-api/model/HealthcareParty.js.map +0 -1
- package/dist/icc-api/model/MimeAttachment.js +0 -22
- package/dist/icc-api/model/MimeAttachment.js.map +0 -1
- package/dist/icc-api/model/Patient.js +0 -59
- package/dist/icc-api/model/Patient.js.map +0 -1
- package/dist/icc-api/model/models.js +0 -264
- package/dist/icc-api/model/models.js.map +0 -1
- package/dist/icc-x-api/crypto/AES.js +0 -119
- package/dist/icc-x-api/crypto/AES.js.map +0 -1
- package/dist/icc-x-api/crypto/utils.js +0 -255
- package/dist/icc-x-api/crypto/utils.js.map +0 -1
- package/dist/icc-x-api/filters/filters.js +0 -224
- package/dist/icc-x-api/filters/filters.js.map +0 -1
- package/dist/icc-x-api/icc-accesslog-x-api.d.ts +0 -49
- package/dist/icc-x-api/icc-accesslog-x-api.js +0 -221
- package/dist/icc-x-api/icc-accesslog-x-api.js.map +0 -1
- package/dist/icc-x-api/icc-bekmehr-x-api.js +0 -202
- package/dist/icc-x-api/icc-bekmehr-x-api.js.map +0 -1
- package/dist/icc-x-api/icc-calendar-item-x-api.d.ts +0 -48
- package/dist/icc-x-api/icc-calendar-item-x-api.js +0 -207
- package/dist/icc-x-api/icc-calendar-item-x-api.js.map +0 -1
- package/dist/icc-x-api/icc-classification-x-api.d.ts +0 -14
- package/dist/icc-x-api/icc-classification-x-api.js +0 -64
- package/dist/icc-x-api/icc-classification-x-api.js.map +0 -1
- package/dist/icc-x-api/icc-contact-x-api.d.ts +0 -126
- package/dist/icc-x-api/icc-contact-x-api.js +0 -746
- package/dist/icc-x-api/icc-contact-x-api.js.map +0 -1
- package/dist/icc-x-api/icc-crypto-x-api.d.ts +0 -340
- package/dist/icc-x-api/icc-crypto-x-api.js +0 -1073
- package/dist/icc-x-api/icc-crypto-x-api.js.map +0 -1
- package/dist/icc-x-api/icc-doctemplate-x-api.js +0 -79
- package/dist/icc-x-api/icc-doctemplate-x-api.js.map +0 -1
- package/dist/icc-x-api/icc-document-x-api.d.ts +0 -42
- package/dist/icc-x-api/icc-document-x-api.js +0 -553
- package/dist/icc-x-api/icc-document-x-api.js.map +0 -1
- package/dist/icc-x-api/icc-form-x-api.d.ts +0 -33
- package/dist/icc-x-api/icc-form-x-api.js +0 -127
- package/dist/icc-x-api/icc-form-x-api.js.map +0 -1
- package/dist/icc-x-api/icc-hcparty-x-api.js +0 -116
- package/dist/icc-x-api/icc-hcparty-x-api.js.map +0 -1
- package/dist/icc-x-api/icc-helement-x-api.d.ts +0 -56
- package/dist/icc-x-api/icc-helement-x-api.js +0 -297
- package/dist/icc-x-api/icc-helement-x-api.js.map +0 -1
- package/dist/icc-x-api/icc-invoice-x-api.d.ts +0 -39
- package/dist/icc-x-api/icc-invoice-x-api.js +0 -146
- package/dist/icc-x-api/icc-invoice-x-api.js.map +0 -1
- package/dist/icc-x-api/icc-maintenance-task-x-api.d.ts +0 -27
- package/dist/icc-x-api/icc-maintenance-task-x-api.js +0 -153
- package/dist/icc-x-api/icc-maintenance-task-x-api.js.map +0 -1
- package/dist/icc-x-api/icc-message-x-api.d.ts +0 -13
- package/dist/icc-x-api/icc-message-x-api.js +0 -58
- package/dist/icc-x-api/icc-message-x-api.js.map +0 -1
- package/dist/icc-x-api/icc-patient-x-api.d.ts +0 -92
- package/dist/icc-x-api/icc-patient-x-api.js +0 -848
- package/dist/icc-x-api/icc-patient-x-api.js.map +0 -1
- package/dist/icc-x-api/icc-receipt-x-api.d.ts +0 -17
- package/dist/icc-x-api/icc-receipt-x-api.js +0 -73
- package/dist/icc-x-api/icc-receipt-x-api.js.map +0 -1
- package/dist/icc-x-api/icc-time-table-x-api.d.ts +0 -23
- package/dist/icc-x-api/icc-time-table-x-api.js +0 -40
- package/dist/icc-x-api/icc-time-table-x-api.js.map +0 -1
- package/dist/icc-x-api/icc-user-x-api.d.ts +0 -9
- package/dist/icc-x-api/icc-user-x-api.js +0 -24
- package/dist/icc-x-api/icc-user-x-api.js.map +0 -1
- package/dist/icc-x-api/index.d.ts +0 -70
- package/dist/icc-x-api/index.js +0 -139
- package/dist/icc-x-api/index.js.map +0 -1
- package/dist/icc-x-api/utils/binary-utils.js +0 -169
- package/dist/icc-x-api/utils/binary-utils.js.map +0 -1
- package/dist/icc-x-api/utils/formatting-util.js +0 -220
- package/dist/icc-x-api/utils/formatting-util.js.map +0 -1
- package/dist/icc-x-api/utils/index.js +0 -19
- package/dist/icc-x-api/utils/index.js.map +0 -1
- package/dist/icc-x-api/utils/uuid-encoder.js +0 -107
- package/dist/icc-x-api/utils/uuid-encoder.js.map +0 -1
- package/dist/index.js +0 -21
- package/dist/index.js.map +0 -1
- package/dist/package.json +0 -22
- package/icc-api/.swagger-codegen/VERSION +0 -1
- package/icc-api/.swagger-codegen-ignore +0 -23
- package/icc-api/LICENSE +0 -201
- package/icc-api/api/IccAccesslogApi.ts +0 -198
- package/icc-api/api/IccAgendaApi.ts +0 -143
- package/icc-api/api/IccAnonymousAccessApi.ts +0 -118
- package/icc-api/api/IccApplicationsettingsApi.ts +0 -81
- package/icc-api/api/IccArticleApi.ts +0 -112
- package/icc-api/api/IccAuthApi.ts +0 -126
- package/icc-api/api/IccBeefactApi.ts +0 -58
- package/icc-api/api/IccBekmehrApi.ts +0 -901
- package/icc-api/api/IccBemikronoApi.ts +0 -183
- package/icc-api/api/IccBeresultexportApi.ts +0 -126
- package/icc-api/api/IccBeresultimportApi.ts +0 -122
- package/icc-api/api/IccBesamv2Api.ts +0 -767
- package/icc-api/api/IccCalendarItemApi.ts +0 -255
- package/icc-api/api/IccCalendarItemTypeApi.ts +0 -126
- package/icc-api/api/IccClassificationApi.ts +0 -172
- package/icc-api/api/IccClassificationTemplateApi.ts +0 -180
- package/icc-api/api/IccCodeApi.ts +0 -415
- package/icc-api/api/IccContactApi.ts +0 -610
- package/icc-api/api/IccDeviceApi.ts +0 -348
- package/icc-api/api/IccDoctemplateApi.ts +0 -250
- package/icc-api/api/IccDocumentApi.ts +0 -359
- package/icc-api/api/IccDocumentTemplateApi.ts +0 -253
- package/icc-api/api/IccEntityrefApi.ts +0 -65
- package/icc-api/api/IccEntitytemplateApi.ts +0 -241
- package/icc-api/api/IccFormApi.ts +0 -466
- package/icc-api/api/IccFrontendmigrationApi.ts +0 -127
- package/icc-api/api/IccGroupApi.ts +0 -369
- package/icc-api/api/IccHcpartyApi.ts +0 -477
- package/icc-api/api/IccHelementApi.ts +0 -276
- package/icc-api/api/IccIcureApi.ts +0 -295
- package/icc-api/api/IccInsuranceApi.ts +0 -146
- package/icc-api/api/IccInvoiceApi.ts +0 -667
- package/icc-api/api/IccKeywordApi.ts +0 -127
- package/icc-api/api/IccMaintenanceTaskApi.ts +0 -125
- package/icc-api/api/IccMedexApi.ts +0 -50
- package/icc-api/api/IccMedicallocationApi.ts +0 -112
- package/icc-api/api/IccMessageApi.ts +0 -453
- package/icc-api/api/IccPatientApi.ts +0 -813
- package/icc-api/api/IccPermissionApi.ts +0 -51
- package/icc-api/api/IccPlaceApi.ts +0 -112
- package/icc-api/api/IccPubsubApi.ts +0 -98
- package/icc-api/api/IccReceiptApi.ts +0 -160
- package/icc-api/api/IccReplicationApi.ts +0 -98
- package/icc-api/api/IccTarificationApi.ts +0 -228
- package/icc-api/api/IccTimeTableApi.ts +0 -138
- package/icc-api/api/IccTmpApi.ts +0 -1290
- package/icc-api/api/IccUserApi.ts +0 -517
- package/icc-api/api/XHR.ts +0 -159
- package/icc-api/iccApi.ts +0 -45
- package/icc-api/index.ts +0 -45
- package/icc-api/model/AbstractFilterCode.ts +0 -19
- package/icc-api/model/AbstractFilterContact.ts +0 -19
- package/icc-api/model/AbstractFilterDevice.ts +0 -19
- package/icc-api/model/AbstractFilterHealthElement.ts +0 -19
- package/icc-api/model/AbstractFilterHealthcareParty.ts +0 -19
- package/icc-api/model/AbstractFilterInvoice.ts +0 -19
- package/icc-api/model/AbstractFilterMaintenanceTask.ts +0 -19
- package/icc-api/model/AbstractFilterPatient.ts +0 -19
- package/icc-api/model/AbstractFilterService.ts +0 -19
- package/icc-api/model/AbstractFilterUser.ts +0 -19
- package/icc-api/model/AccessLog.ts +0 -108
- package/icc-api/model/AddedDocument.ts +0 -27
- package/icc-api/model/Address.ts +0 -99
- package/icc-api/model/AdministrationQuantity.ts +0 -22
- package/icc-api/model/Agenda.ts +0 -61
- package/icc-api/model/AgreementAppendix.ts +0 -22
- package/icc-api/model/Amp.ts +0 -57
- package/icc-api/model/AmpComponent.ts +0 -51
- package/icc-api/model/Ampp.ts +0 -75
- package/icc-api/model/AmppComponent.ts +0 -36
- package/icc-api/model/Annotation.ts +0 -42
- package/icc-api/model/ApplicationSettings.ts +0 -58
- package/icc-api/model/Appointment.ts +0 -31
- package/icc-api/model/AppointmentImport.ts +0 -39
- package/icc-api/model/AppointmentTypeAndPlace.ts +0 -27
- package/icc-api/model/Article.ts +0 -82
- package/icc-api/model/Atc.ts +0 -20
- package/icc-api/model/Attachment.ts +0 -23
- package/icc-api/model/AuthenticationResponse.ts +0 -22
- package/icc-api/model/AuthenticationToken.ts +0 -33
- package/icc-api/model/Basic.ts +0 -20
- package/icc-api/model/Body.ts +0 -20
- package/icc-api/model/Body1.ts +0 -20
- package/icc-api/model/Body2.ts +0 -20
- package/icc-api/model/Body3.ts +0 -20
- package/icc-api/model/ByteArray.ts +0 -20
- package/icc-api/model/CalendarItem.ts +0 -103
- package/icc-api/model/CalendarItemTag.ts +0 -22
- package/icc-api/model/CalendarItemType.ts +0 -32
- package/icc-api/model/CareTeamMember.ts +0 -38
- package/icc-api/model/CareTeamMembership.ts +0 -39
- package/icc-api/model/CheckSMFPatientResult.ts +0 -24
- package/icc-api/model/Classification.ts +0 -81
- package/icc-api/model/ClassificationTemplate.ts +0 -80
- package/icc-api/model/Code.ts +0 -202
- package/icc-api/model/CodeStub.ts +0 -24
- package/icc-api/model/CodeType.ts +0 -19
- package/icc-api/model/CommentedClassification.ts +0 -21
- package/icc-api/model/Commercialization.ts +0 -25
- package/icc-api/model/Company.ts +0 -35
- package/icc-api/model/Contact.ts +0 -129
- package/icc-api/model/Content.ts +0 -45
- package/icc-api/model/Copayment.ts +0 -22
- package/icc-api/model/Data.ts +0 -17
- package/icc-api/model/DataOwnerRegistrationSuccess.ts +0 -21
- package/icc-api/model/DatabaseInfo.ts +0 -28
- package/icc-api/model/DatabaseInitialisation.ts +0 -27
- package/icc-api/model/DatabaseSynchronization.ts +0 -30
- package/icc-api/model/Delegation.ts +0 -25
- package/icc-api/model/Device.ts +0 -93
- package/icc-api/model/DeviceType.ts +0 -23
- package/icc-api/model/DiaryNoteExportInfo.ts +0 -30
- package/icc-api/model/Dmpp.ts +0 -45
- package/icc-api/model/DocIdentifier.ts +0 -20
- package/icc-api/model/Document.ts +0 -264
- package/icc-api/model/DocumentGroup.ts +0 -20
- package/icc-api/model/DocumentTemplate.ts +0 -162
- package/icc-api/model/Duration.ts +0 -21
- package/icc-api/model/EIDItem.ts +0 -23
- package/icc-api/model/Editor.ts +0 -37
- package/icc-api/model/EfactInvoice.ts +0 -43
- package/icc-api/model/EmailOrSmsMessage.ts +0 -39
- package/icc-api/model/EmailTemplate.ts +0 -20
- package/icc-api/model/Employer.ts +0 -21
- package/icc-api/model/EmploymentInfo.ts +0 -24
- package/icc-api/model/EntityReference.ts +0 -25
- package/icc-api/model/EntityTemplate.ts +0 -31
- package/icc-api/model/Episode.ts +0 -30
- package/icc-api/model/FilterChainCode.ts +0 -23
- package/icc-api/model/FilterChainContact.ts +0 -23
- package/icc-api/model/FilterChainDevice.ts +0 -23
- package/icc-api/model/FilterChainHealthElement.ts +0 -23
- package/icc-api/model/FilterChainHealthcareParty.ts +0 -23
- package/icc-api/model/FilterChainInvoice.ts +0 -23
- package/icc-api/model/FilterChainMaintenanceTask.ts +0 -23
- package/icc-api/model/FilterChainPatient.ts +0 -23
- package/icc-api/model/FilterChainService.ts +0 -23
- package/icc-api/model/FilterChainUser.ts +0 -23
- package/icc-api/model/FinancialInstitutionInformation.ts +0 -32
- package/icc-api/model/FlatRateTarification.ts +0 -36
- package/icc-api/model/FlowItem.ts +0 -51
- package/icc-api/model/Form.ts +0 -116
- package/icc-api/model/FormColumn.ts +0 -22
- package/icc-api/model/FormDataOption.ts +0 -20
- package/icc-api/model/FormLayout.ts +0 -29
- package/icc-api/model/FormLayoutData.ts +0 -44
- package/icc-api/model/FormPlanning.ts +0 -26
- package/icc-api/model/FormSection.ts +0 -23
- package/icc-api/model/FormTemplate.ts +0 -46
- package/icc-api/model/FormTemplateLayout.ts +0 -23
- package/icc-api/model/Formula.ts +0 -31
- package/icc-api/model/FrontEndMigration.ts +0 -47
- package/icc-api/model/Group.ts +0 -60
- package/icc-api/model/GroupDatabasesInfo.ts +0 -21
- package/icc-api/model/GuiCode.ts +0 -20
- package/icc-api/model/GuiCodeType.ts +0 -19
- package/icc-api/model/HealthElement.ts +0 -159
- package/icc-api/model/HealthcareParty.ts +0 -224
- package/icc-api/model/HealthcarePartyHistoryStatus.ts +0 -33
- package/icc-api/model/IcureStub.ts +0 -74
- package/icc-api/model/IdWithRev.ts +0 -20
- package/icc-api/model/Identifier.ts +0 -27
- package/icc-api/model/IdentityDocumentReader.ts +0 -24
- package/icc-api/model/ImportMapping.ts +0 -24
- package/icc-api/model/ImportResult.ts +0 -34
- package/icc-api/model/IncapacityExportInfo.ts +0 -52
- package/icc-api/model/IndexedIdentifier.ts +0 -21
- package/icc-api/model/IndexingInfo.ts +0 -19
- package/icc-api/model/Ingredient.ts +0 -36
- package/icc-api/model/Insurability.ts +0 -61
- package/icc-api/model/Insurance.ts +0 -33
- package/icc-api/model/Invoice.ts +0 -205
- package/icc-api/model/InvoiceItem.ts +0 -97
- package/icc-api/model/InvoiceSender.ts +0 -28
- package/icc-api/model/InvoicesBatch.ts +0 -29
- package/icc-api/model/InvoicingCode.ts +0 -86
- package/icc-api/model/Keyword.ts +0 -61
- package/icc-api/model/KeywordSubword.ts +0 -20
- package/icc-api/model/LabelledOccurence.ts +0 -20
- package/icc-api/model/LetterValue.ts +0 -22
- package/icc-api/model/ListOfIds.ts +0 -22
- package/icc-api/model/ListOfProperties.ts +0 -23
- package/icc-api/model/LoginCredentials.ts +0 -20
- package/icc-api/model/MaintenanceTask.ts +0 -93
- package/icc-api/model/MapOfIds.ts +0 -19
- package/icc-api/model/Measure.ts +0 -31
- package/icc-api/model/MedexInfo.ts +0 -33
- package/icc-api/model/MedicalHouseContract.ts +0 -81
- package/icc-api/model/MedicalLocation.ts +0 -37
- package/icc-api/model/Medication.ts +0 -70
- package/icc-api/model/MedicationSchemeExportInfo.ts +0 -25
- package/icc-api/model/Medicinalproduct.ts +0 -24
- package/icc-api/model/Message.ts +0 -145
- package/icc-api/model/MessageReadStatus.ts +0 -23
- package/icc-api/model/MessageWithBatch.ts +0 -22
- package/icc-api/model/MessagesReadStatusUpdate.ts +0 -22
- package/icc-api/model/MikronoAppointmentTypeRest.ts +0 -25
- package/icc-api/model/MikronoCredentials.ts +0 -21
- package/icc-api/model/MimeAttachment.ts +0 -22
- package/icc-api/model/ModelHelper.ts +0 -64
- package/icc-api/model/Nmp.ts +0 -34
- package/icc-api/model/NoGenericPrescriptionReason.ts +0 -21
- package/icc-api/model/NoSwitchReason.ts +0 -21
- package/icc-api/model/NumeratorRange.ts +0 -21
- package/icc-api/model/PackagingType.ts +0 -23
- package/icc-api/model/PaginatedDocumentKeyIdPairObject.ts +0 -20
- package/icc-api/model/PaginatedListAccessLog.ts +0 -24
- package/icc-api/model/PaginatedListAmp.ts +0 -24
- package/icc-api/model/PaginatedListClassification.ts +0 -24
- package/icc-api/model/PaginatedListClassificationTemplate.ts +0 -24
- package/icc-api/model/PaginatedListCode.ts +0 -24
- package/icc-api/model/PaginatedListContact.ts +0 -24
- package/icc-api/model/PaginatedListDevice.ts +0 -24
- package/icc-api/model/PaginatedListDocument.ts +0 -24
- package/icc-api/model/PaginatedListEntityTemplate.ts +0 -24
- package/icc-api/model/PaginatedListForm.ts +0 -24
- package/icc-api/model/PaginatedListGroup.ts +0 -24
- package/icc-api/model/PaginatedListHealthElement.ts +0 -24
- package/icc-api/model/PaginatedListHealthcareParty.ts +0 -24
- package/icc-api/model/PaginatedListInvoice.ts +0 -24
- package/icc-api/model/PaginatedListMaintenanceTask.ts +0 -24
- package/icc-api/model/PaginatedListMessage.ts +0 -24
- package/icc-api/model/PaginatedListNmp.ts +0 -24
- package/icc-api/model/PaginatedListPatient.ts +0 -24
- package/icc-api/model/PaginatedListService.ts +0 -24
- package/icc-api/model/PaginatedListString.ts +0 -23
- package/icc-api/model/PaginatedListTarification.ts +0 -24
- package/icc-api/model/PaginatedListUser.ts +0 -24
- package/icc-api/model/PaginatedListVmp.ts +0 -24
- package/icc-api/model/PaginatedListVmpGroup.ts +0 -24
- package/icc-api/model/Paragraph.ts +0 -41
- package/icc-api/model/ParagraphAgreement.ts +0 -41
- package/icc-api/model/Partnership.ts +0 -118
- package/icc-api/model/Patient.ts +0 -366
- package/icc-api/model/PatientByHcPartyGenderEducationProfession.ts +0 -35
- package/icc-api/model/PatientHealthCareParty.ts +0 -64
- package/icc-api/model/PatientRegistrationSuccess.ts +0 -21
- package/icc-api/model/Payment.ts +0 -34
- package/icc-api/model/Periodicity.ts +0 -21
- package/icc-api/model/Permission.ts +0 -30
- package/icc-api/model/PermissionCriterion.ts +0 -46
- package/icc-api/model/PermissionItem.ts +0 -52
- package/icc-api/model/PersonName.ts +0 -66
- package/icc-api/model/PharmaceuticalForm.ts +0 -29
- package/icc-api/model/PharmaceuticalFormStub.ts +0 -24
- package/icc-api/model/Place.ts +0 -27
- package/icc-api/model/PlanOfAction.ts +0 -114
- package/icc-api/model/Predicate.ts +0 -17
- package/icc-api/model/Pricing.ts +0 -21
- package/icc-api/model/PropertyStub.ts +0 -31
- package/icc-api/model/PropertyTypeStub.ts +0 -32
- package/icc-api/model/PublicKey.ts +0 -20
- package/icc-api/model/Quantity.ts +0 -20
- package/icc-api/model/Receipt.ts +0 -83
- package/icc-api/model/ReferralPeriod.ts +0 -33
- package/icc-api/model/RegimenItem.ts +0 -27
- package/icc-api/model/RegistrationInformation.ts +0 -22
- package/icc-api/model/RegistrationSuccess.ts +0 -21
- package/icc-api/model/Reimbursement.ts +0 -57
- package/icc-api/model/ReimbursementCriterion.ts +0 -22
- package/icc-api/model/Remote.ts +0 -21
- package/icc-api/model/RemoteAuthentication.ts +0 -20
- package/icc-api/model/Renewal.ts +0 -21
- package/icc-api/model/ReplicateCommand.ts +0 -25
- package/icc-api/model/Replication.ts +0 -28
- package/icc-api/model/ReplicationInfo.ts +0 -22
- package/icc-api/model/ReplicationStats.ts +0 -27
- package/icc-api/model/ReplicatorDocument.ts +0 -34
- package/icc-api/model/ReplicatorResponse.ts +0 -23
- package/icc-api/model/ResultInfo.ts +0 -33
- package/icc-api/model/RevisionInfo.ts +0 -20
- package/icc-api/model/Right.ts +0 -22
- package/icc-api/model/RouteOfAdministration.ts +0 -22
- package/icc-api/model/SamText.ts +0 -22
- package/icc-api/model/SamVersion.ts +0 -26
- package/icc-api/model/SchoolingInfo.ts +0 -23
- package/icc-api/model/Section.ts +0 -23
- package/icc-api/model/Service.ts +0 -155
- package/icc-api/model/ServiceLink.ts +0 -22
- package/icc-api/model/SoftwareMedicalFileExport.ts +0 -23
- package/icc-api/model/StandardSubstance.ts +0 -33
- package/icc-api/model/StrengthRange.ts +0 -22
- package/icc-api/model/StructureElement.ts +0 -17
- package/icc-api/model/SubContact.ts +0 -89
- package/icc-api/model/Substance.ts +0 -31
- package/icc-api/model/SubstanceStub.ts +0 -26
- package/icc-api/model/Substanceproduct.ts +0 -24
- package/icc-api/model/Suggest.ts +0 -23
- package/icc-api/model/SumehrContent.ts +0 -26
- package/icc-api/model/SumehrExportInfo.ts +0 -30
- package/icc-api/model/SumehrValidity.ts +0 -27
- package/icc-api/model/SupplyProblem.ts +0 -25
- package/icc-api/model/Suspension.ts +0 -22
- package/icc-api/model/Tag.ts +0 -20
- package/icc-api/model/Tarification.ts +0 -213
- package/icc-api/model/Telecom.ts +0 -64
- package/icc-api/model/TimeSeries.ts +0 -28
- package/icc-api/model/TimeTable.ts +0 -84
- package/icc-api/model/TimeTableHour.ts +0 -20
- package/icc-api/model/TimeTableItem.ts +0 -28
- package/icc-api/model/TokenWithGroup.ts +0 -21
- package/icc-api/model/TypedValueObject.ts +0 -40
- package/icc-api/model/Unit.ts +0 -17
- package/icc-api/model/User.ts +0 -132
- package/icc-api/model/UserAndHealthcareParty.ts +0 -25
- package/icc-api/model/UserGroup.ts +0 -28
- package/icc-api/model/Valorisation.ts +0 -31
- package/icc-api/model/Verse.ts +0 -65
- package/icc-api/model/VirtualForm.ts +0 -22
- package/icc-api/model/VirtualIngredient.ts +0 -33
- package/icc-api/model/Vmp.ts +0 -40
- package/icc-api/model/VmpComponent.ts +0 -28
- package/icc-api/model/VmpGroup.ts +0 -34
- package/icc-api/model/VmpGroupStub.ts +0 -23
- package/icc-api/model/VmpStub.ts +0 -24
- package/icc-api/model/Vtm.ts +0 -23
- package/icc-api/model/Wada.ts +0 -22
- package/icc-api/model/WebSession.ts +0 -26
- package/icc-api/model/WebSessionMaxIdleTime.ts +0 -24
- package/icc-api/model/WebSessionMaxIdleTimeUnits.ts +0 -21
- package/icc-api/model/Weekday.ts +0 -21
- package/icc-api/model/models.ts +0 -251
- package/icc-x-api/crypto/AES.ts +0 -156
- package/icc-x-api/crypto/RSA.ts +0 -231
- package/icc-x-api/crypto/shamir.ts +0 -326
- package/icc-x-api/crypto/utils.ts +0 -258
- package/icc-x-api/filters/AllCodesFilter.ts +0 -22
- package/icc-x-api/filters/AllDevicesFilter.ts +0 -23
- package/icc-x-api/filters/AllHealthcarePartiesFilter.ts +0 -23
- package/icc-x-api/filters/AllUsersFilter.ts +0 -23
- package/icc-x-api/filters/CodeByIdsFilter.ts +0 -25
- package/icc-x-api/filters/CodeByRegionTypeLabelLanguageFilter.ts +0 -28
- package/icc-x-api/filters/CodeIdsByTypeCodeVersionIntervalFilter.ts +0 -30
- package/icc-x-api/filters/ComplementFilter.ts +0 -13
- package/icc-x-api/filters/ConstantFilter.ts +0 -9
- package/icc-x-api/filters/ContactByHcPartyFilter.ts +0 -25
- package/icc-x-api/filters/ContactByHcPartyPatientTagCodeDateFilter.ts +0 -32
- package/icc-x-api/filters/ContactByHcPartyTagCodeDateFilter.ts +0 -32
- package/icc-x-api/filters/ContactByServiceIdsFilter.ts +0 -24
- package/icc-x-api/filters/DeviceByHcPartyFilter.ts +0 -26
- package/icc-x-api/filters/DeviceByIdsFilter.ts +0 -26
- package/icc-x-api/filters/HealthElementByHcPartyFilter.ts +0 -24
- package/icc-x-api/filters/HealthElementByHcPartyIdentifiersFilter.ts +0 -26
- package/icc-x-api/filters/HealthElementByHcPartySecretForeignKeysFilter.ts +0 -27
- package/icc-x-api/filters/HealthElementByHcPartyTagCodeFilter.ts +0 -29
- package/icc-x-api/filters/HealthElementByIdsFilter.ts +0 -24
- package/icc-x-api/filters/HealthcarePartyByIdsFilter.ts +0 -24
- package/icc-x-api/filters/IntersectionFilter.ts +0 -11
- package/icc-x-api/filters/InvoiceByHcPartyCodeDateFilter.ts +0 -27
- package/icc-x-api/filters/MaintenanceTaskAfterDateFilter.ts +0 -24
- package/icc-x-api/filters/MaintenanceTaskByHcPartyAndIdentifiersFilter.ts +0 -26
- package/icc-x-api/filters/MaintenanceTaskByHcPartyAndTypeFilter.ts +0 -25
- package/icc-x-api/filters/MaintenanceTaskByIdsFilter.ts +0 -24
- package/icc-x-api/filters/PatientByHcPartyAndActiveFilter.ts +0 -25
- package/icc-x-api/filters/PatientByHcPartyAndExternalIdFilter.ts +0 -25
- package/icc-x-api/filters/PatientByHcPartyAndIdentifiersFilter.ts +0 -26
- package/icc-x-api/filters/PatientByHcPartyAndSsinFilter.ts +0 -25
- package/icc-x-api/filters/PatientByHcPartyAndSsinsFilter.ts +0 -25
- package/icc-x-api/filters/PatientByHcPartyDateOfBirthBetweenFilter.ts +0 -26
- package/icc-x-api/filters/PatientByHcPartyDateOfBirthFilter.ts +0 -25
- package/icc-x-api/filters/PatientByHcPartyFilter.ts +0 -24
- package/icc-x-api/filters/PatientByHcPartyGenderEducationProfession.ts +0 -19
- package/icc-x-api/filters/PatientByHcPartyNameContainsFuzzyFilter.ts +0 -25
- package/icc-x-api/filters/PatientByHcPartyNameFilter.ts +0 -25
- package/icc-x-api/filters/PatientByIdsFilter.ts +0 -24
- package/icc-x-api/filters/ServiceByContactsAndSubcontactsFilter.ts +0 -28
- package/icc-x-api/filters/ServiceByHcPartyFilter.ts +0 -24
- package/icc-x-api/filters/ServiceByHcPartyHealthElementIdsFilter.ts +0 -25
- package/icc-x-api/filters/ServiceByHcPartyIdentifiersFilter.ts +0 -26
- package/icc-x-api/filters/ServiceByHcPartyTagCodeDateFilter.ts +0 -31
- package/icc-x-api/filters/ServiceByIdsFilter.ts +0 -24
- package/icc-x-api/filters/ServiceBySecretForeignKeys.ts +0 -25
- package/icc-x-api/filters/UnionFilter.ts +0 -10
- package/icc-x-api/filters/UserByIdsFilter.ts +0 -24
- package/icc-x-api/filters/UserByNameEmailPhoneFilter.ts +0 -24
- package/icc-x-api/filters/UsersByPatientIdFilter.ts +0 -25
- package/icc-x-api/filters/filters.ts +0 -342
- package/icc-x-api/icc-accesslog-x-api.ts +0 -332
- package/icc-x-api/icc-bekmehr-x-api.ts +0 -316
- package/icc-x-api/icc-calendar-item-x-api.ts +0 -292
- package/icc-x-api/icc-classification-x-api.ts +0 -99
- package/icc-x-api/icc-code-x-api.ts +0 -131
- package/icc-x-api/icc-contact-x-api.ts +0 -965
- package/icc-x-api/icc-crypto-x-api.ts +0 -1486
- package/icc-x-api/icc-doctemplate-x-api.ts +0 -100
- package/icc-x-api/icc-document-x-api.ts +0 -763
- package/icc-x-api/icc-form-x-api.ts +0 -176
- package/icc-x-api/icc-hcparty-x-api.ts +0 -148
- package/icc-x-api/icc-helement-x-api.ts +0 -409
- package/icc-x-api/icc-invoice-x-api.ts +0 -197
- package/icc-x-api/icc-maintenance-task-x-api.ts +0 -228
- package/icc-x-api/icc-message-x-api.ts +0 -83
- package/icc-x-api/icc-patient-x-api.ts +0 -1234
- package/icc-x-api/icc-receipt-x-api.ts +0 -103
- package/icc-x-api/icc-time-table-x-api.ts +0 -61
- package/icc-x-api/icc-user-x-api.ts +0 -27
- package/icc-x-api/index.ts +0 -165
- package/icc-x-api/rsrc/codelng.ts +0 -8
- package/icc-x-api/rsrc/contact.i18n.ts +0 -110
- package/icc-x-api/rsrc/icd10.ts +0 -113
- package/icc-x-api/rsrc/icpc2.ts +0 -22
- package/icc-x-api/utils/asn1-packer.ts +0 -87
- package/icc-x-api/utils/asn1-parser.ts +0 -151
- package/icc-x-api/utils/binary-utils.ts +0 -163
- package/icc-x-api/utils/code-util.ts +0 -39
- package/icc-x-api/utils/formatting-util.ts +0 -220
- package/icc-x-api/utils/functional-util.ts +0 -4
- package/icc-x-api/utils/hcp-util.ts +0 -122
- package/icc-x-api/utils/index.ts +0 -6
- package/icc-x-api/utils/insurability-util.ts +0 -54
- package/icc-x-api/utils/net-utils.ts +0 -243
- package/icc-x-api/utils/person-util.ts +0 -29
- package/icc-x-api/utils/uuid-encoder.ts +0 -120
- package/index.ts +0 -8
- package/node-compat.ts +0 -11
- package/package-lock.json +0 -26824
- package/sonar-project.properties +0 -20
- package/test/icc-api/api/IccUserApi.ts +0 -17
- package/test/icc-api/model/modelHelpersTest.ts +0 -54
- package/test/icc-x-api/crypto/concurrency.ts +0 -33
- package/test/icc-x-api/crypto/crypto-utils.ts +0 -102
- package/test/icc-x-api/crypto/cryptoTest.ts +0 -252
- package/test/icc-x-api/crypto/shamir.ts +0 -65
- package/test/icc-x-api/filters/filters.ts +0 -60
- package/test/icc-x-api/icc-contact-x-api.ts +0 -202
- package/test/icc-x-api/icc-helement-x-api-test.ts +0 -161
- package/test/icc-x-api/icc-maintenance-task-x-api-test.ts +0 -212
- package/test/icc-x-api/icc-patient-x-api-test.ts +0 -76
- package/test/icc-x-api/patient-user.ts +0 -155
- package/test/mocha.opts +0 -1
- package/test/utils/test_utils.ts +0 -12
- package/tsconfig.json +0 -27
|
@@ -1,1073 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.IccCryptoXApi = void 0;
|
|
13
|
-
const AES_1 = require("./crypto/AES");
|
|
14
|
-
const RSA_1 = require("./crypto/RSA");
|
|
15
|
-
const utils_1 = require("./crypto/utils");
|
|
16
|
-
const shamir_1 = require("./crypto/shamir");
|
|
17
|
-
const _ = require("lodash");
|
|
18
|
-
const binary_utils_1 = require("./utils/binary-utils");
|
|
19
|
-
class IccCryptoXApi {
|
|
20
|
-
constructor(host, headers, hcpartyBaseApi, //Init with a hcparty x api for better performances
|
|
21
|
-
patientBaseApi, deviceBaseApi, crypto = typeof window !== 'undefined' ? window.crypto : typeof self !== 'undefined' ? self.crypto : {}) {
|
|
22
|
-
this.hcPartyKeysCache = {};
|
|
23
|
-
//[delegateId][delegatorId] = delegateEncryptedHcPartyKey
|
|
24
|
-
//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)
|
|
25
|
-
this.hcPartyKeysRequestsCache = {};
|
|
26
|
-
this.cacheLastDeletionTimestamp = undefined;
|
|
27
|
-
this.dataOwnerCache = {};
|
|
28
|
-
this.keychainLocalStoreIdPrefix = 'org.taktik.icure.ehealth.keychain.';
|
|
29
|
-
this.keychainValidityDateLocalStoreIdPrefix = 'org.taktik.icure.ehealth.keychain-date.';
|
|
30
|
-
this.hcpPreferenceKeyEhealthCert = 'eHealthCRTCrypt';
|
|
31
|
-
this.hcpPreferenceKeyEhealthCertDate = 'eHealthCRTDate';
|
|
32
|
-
this.hcpartyBaseApi = hcpartyBaseApi;
|
|
33
|
-
this.patientBaseApi = patientBaseApi;
|
|
34
|
-
this.deviceBaseApi = deviceBaseApi;
|
|
35
|
-
this._crypto = crypto;
|
|
36
|
-
this.generateKeyConcurrencyMap = {};
|
|
37
|
-
this._AES = new AES_1.AESUtils(crypto);
|
|
38
|
-
this._RSA = new RSA_1.RSAUtils(crypto);
|
|
39
|
-
this._utils = new utils_1.UtilsClass();
|
|
40
|
-
this._shamir = new shamir_1.ShamirClass(crypto);
|
|
41
|
-
}
|
|
42
|
-
get crypto() {
|
|
43
|
-
return this._crypto;
|
|
44
|
-
}
|
|
45
|
-
get shamir() {
|
|
46
|
-
return this._shamir;
|
|
47
|
-
}
|
|
48
|
-
get utils() {
|
|
49
|
-
return this._utils;
|
|
50
|
-
}
|
|
51
|
-
get RSA() {
|
|
52
|
-
return this._RSA;
|
|
53
|
-
}
|
|
54
|
-
get AES() {
|
|
55
|
-
return this._AES;
|
|
56
|
-
}
|
|
57
|
-
emptyHcpCache(hcpartyId) {
|
|
58
|
-
delete this.hcPartyKeysRequestsCache[hcpartyId];
|
|
59
|
-
delete this.dataOwnerCache[hcpartyId];
|
|
60
|
-
delete this.dataOwnerCache[hcpartyId];
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* Gets all delegate encrypted HcParty keys of the delegate with the given `delegateHcPartyId`, and for each key the delegator id
|
|
64
|
-
* If the keys are not cached, they are retrieved from the backend.
|
|
65
|
-
*
|
|
66
|
-
* @param delegateHcPartyId The Health Care Party id
|
|
67
|
-
* @returns \{delegatorId: delegateEncryptedHcPartyKey\}
|
|
68
|
-
*/
|
|
69
|
-
getHcPartyKeysForDelegate(
|
|
70
|
-
//TODO: suggested name: getAllEncryptedHcPKeysOfDelegate
|
|
71
|
-
delegateHcPartyId) {
|
|
72
|
-
return (this.hcPartyKeysRequestsCache[delegateHcPartyId] ||
|
|
73
|
-
(this.hcPartyKeysRequestsCache[delegateHcPartyId] = this.forceGetHcPartyKeysForDelegate(delegateHcPartyId)));
|
|
74
|
-
}
|
|
75
|
-
forceGetHcPartyKeysForDelegate(delegateHcPartyId) {
|
|
76
|
-
return Promise.all([
|
|
77
|
-
this.patientBaseApi.getPatientHcPartyKeysForDelegate(delegateHcPartyId).catch(() => { }),
|
|
78
|
-
this.hcpartyBaseApi.getHcPartyKeysForDelegate(delegateHcPartyId).catch(() => { }),
|
|
79
|
-
]).then(([a, b]) => Object.assign({}, a, b));
|
|
80
|
-
}
|
|
81
|
-
randomUuid() {
|
|
82
|
-
return ((1e7).toString() + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, (c) => (Number(c) ^ (this._crypto.getRandomValues(new Uint8Array(1))[0] & (15 >> (Number(c) / 4)))).toString(16) //Keep that inlined or you will loose the random
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
sha256(data) {
|
|
86
|
-
return this._crypto.subtle.digest('SHA-256', data);
|
|
87
|
-
}
|
|
88
|
-
encryptedShamirRSAKey(hcp, notaries, threshold) {
|
|
89
|
-
return this._RSA.loadKeyPairImported(hcp.id).then((keyPair) => this._RSA.exportKey(keyPair.privateKey, 'pkcs8').then((exportedKey) => {
|
|
90
|
-
const privateKey = exportedKey;
|
|
91
|
-
const nLen = notaries.length;
|
|
92
|
-
const shares = nLen == 1 ? [privateKey] : this._shamir.share(binary_utils_1.ua2hex(privateKey), nLen, threshold || nLen).map((share) => binary_utils_1.hex2ua(share));
|
|
93
|
-
return _.reduce(notaries, (queue, notary, idx) => {
|
|
94
|
-
return queue.then((hcp) => __awaiter(this, void 0, void 0, function* () {
|
|
95
|
-
const hcParty = hcp.hcPartyKeys[notary.id] ? hcp : (yield this.generateKeyForDelegate(hcp.id, notary.id));
|
|
96
|
-
try {
|
|
97
|
-
const importedAESHcPartyKey = yield this.decryptHcPartyKey(hcParty.id, notary.id, hcParty.hcPartyKeys[notary.id][1], false);
|
|
98
|
-
const encryptedShamirPartition = yield this.AES.encrypt(importedAESHcPartyKey.key, shares[idx]);
|
|
99
|
-
hcParty.privateKeyShamirPartitions = hcParty.privateKeyShamirPartitions || {};
|
|
100
|
-
hcParty.privateKeyShamirPartitions[notary.id] = binary_utils_1.ua2hex(encryptedShamirPartition);
|
|
101
|
-
}
|
|
102
|
-
catch (e) {
|
|
103
|
-
console.log('Error during encryptedShamirRSAKey', notary.id, e);
|
|
104
|
-
}
|
|
105
|
-
return hcParty;
|
|
106
|
-
}));
|
|
107
|
-
}, Promise.resolve(hcp));
|
|
108
|
-
}));
|
|
109
|
-
}
|
|
110
|
-
/* Reconstructs the hcp's private key from the notaries' shamir shares and stores it in localstorage.
|
|
111
|
-
The retrieval procedure of the shares is not designed or implemented yet. Therefore, it currently only
|
|
112
|
-
works if the private key of the notaries are stored in local storage (e.g. notaries = [hcp parent]).
|
|
113
|
-
* @param hcp : the hcp whose key we want to reconstruct
|
|
114
|
-
* @param notaries : holders of the shamir shares
|
|
115
|
-
**/
|
|
116
|
-
decryptedShamirRSAKey(hcp, notaries) {
|
|
117
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
118
|
-
try {
|
|
119
|
-
const nLen = notaries.length;
|
|
120
|
-
let decryptedPrivatedKey;
|
|
121
|
-
if (nLen == 1) {
|
|
122
|
-
const importedAESHcPartyKey = yield this.decryptHcPartyKey(hcp.id, notaries[0].id, hcp.hcPartyKeys[notaries[0].id][1], false);
|
|
123
|
-
const cryptedPrivatedKey = hcp.privateKeyShamirPartitions[notaries[0].id];
|
|
124
|
-
decryptedPrivatedKey = binary_utils_1.ua2hex(yield this.AES.decrypt(importedAESHcPartyKey.key, binary_utils_1.hex2ua(cryptedPrivatedKey)));
|
|
125
|
-
}
|
|
126
|
-
else {
|
|
127
|
-
const decryptedShares = yield _.reduce(notaries, (queue, notary) => {
|
|
128
|
-
return queue.then((shares) => __awaiter(this, void 0, void 0, function* () {
|
|
129
|
-
try {
|
|
130
|
-
// TODO: now, we get the encrypted shares in db and decrypt them. This assumes that the
|
|
131
|
-
// the notaries' private keys are in localstorage. We should implement a way for the notaries to
|
|
132
|
-
// give hcp the decrypted shares without having to also share their private keys.
|
|
133
|
-
const importedAESHcPartyKey = yield this.decryptHcPartyKey(hcp.id, notary.id, hcp.hcPartyKeys[notary.id][1], false);
|
|
134
|
-
const encryptedShare = hcp.privateKeyShamirPartitions[notary.id];
|
|
135
|
-
const decryptedShamirPartition = binary_utils_1.ua2hex(yield this.AES.decrypt(importedAESHcPartyKey.key, binary_utils_1.hex2ua(encryptedShare)));
|
|
136
|
-
shares.push(decryptedShamirPartition);
|
|
137
|
-
}
|
|
138
|
-
catch (e) {
|
|
139
|
-
console.log('Error during encryptedShamirRSAKey', notary.id, e);
|
|
140
|
-
}
|
|
141
|
-
return shares;
|
|
142
|
-
}));
|
|
143
|
-
}, Promise.resolve([]));
|
|
144
|
-
decryptedPrivatedKey = this._shamir.combine(decryptedShares);
|
|
145
|
-
}
|
|
146
|
-
const importedPrivateKey = yield this.RSA.importKey('pkcs8', binary_utils_1.hex2ua(decryptedPrivatedKey), ['decrypt']);
|
|
147
|
-
const importedPublicKey = yield this.RSA.importKey('spki', binary_utils_1.hex2ua(hcp.publicKey), ['encrypt']);
|
|
148
|
-
const exportedKeyPair = yield this.RSA.exportKeys({ publicKey: importedPublicKey, privateKey: importedPrivateKey }, 'jwk', 'jwk');
|
|
149
|
-
this.RSA.storeKeyPair(hcp.id, exportedKeyPair);
|
|
150
|
-
}
|
|
151
|
-
catch (e) {
|
|
152
|
-
console.log('Cannot decrypt shamir RSA key');
|
|
153
|
-
}
|
|
154
|
-
});
|
|
155
|
-
}
|
|
156
|
-
/**
|
|
157
|
-
* Gets the decryptedHcPartyKey for the given `encryptedHcPartyKey`
|
|
158
|
-
*
|
|
159
|
-
* If the decrypted key exists in the cache, retrieves it from there.
|
|
160
|
-
* Otherwise, decrypts it using the RSA key of the delegator or delegate (depending on the value of `encryptedForDelegator`)
|
|
161
|
-
* @param delegatorId : the id of the delegator HcP
|
|
162
|
-
* @param delegateHcPartyId : the id of the delegate HcP
|
|
163
|
-
* @param encryptedHcPartyKey : can be delegatorEncryptedHcPartyKey or delegateEncryptedHcPartyKey (depending on the value of `encryptedForDelegator`)
|
|
164
|
-
* @param encryptedForDelegator : default false - for the `encryptedHcPartyKey` RSA encrypted for delegate; true for the `encryptedHcPartyKey` RSA encrypted for delegator;
|
|
165
|
-
* @returns - **delegatorId** the input param `delegatorId`
|
|
166
|
-
* - **key** the decrypted `encryptedHcPartyKey`
|
|
167
|
-
*/
|
|
168
|
-
decryptHcPartyKey(delegatorId, delegateHcPartyId, encryptedHcPartyKey, encryptedForDelegator = false //TODO: suggestion: break this into 2 separate methods: decryptDelegatorEncryptedHcPartyKey() and decryptDelegateEncryptedHcPartyKey()
|
|
169
|
-
) {
|
|
170
|
-
const cacheKey = delegatorId + '|' + delegateHcPartyId + '|' + (encryptedForDelegator ? '->' : '<-');
|
|
171
|
-
const res = this.hcPartyKeysCache[cacheKey];
|
|
172
|
-
const hcPartyKeyOwner = encryptedForDelegator ? delegatorId : delegateHcPartyId;
|
|
173
|
-
if (res) {
|
|
174
|
-
return Promise.resolve(res);
|
|
175
|
-
}
|
|
176
|
-
else {
|
|
177
|
-
const keyPair = this._RSA.rsaKeyPairs[hcPartyKeyOwner];
|
|
178
|
-
return (keyPair
|
|
179
|
-
? Promise.resolve(keyPair)
|
|
180
|
-
: Promise.resolve(this._RSA.loadKeyPairNotImported(hcPartyKeyOwner)).then((keyPairInJwk) => this.cacheKeyPair(keyPairInJwk, hcPartyKeyOwner)))
|
|
181
|
-
.then((keyPair) => this._RSA.decrypt(keyPair.privateKey, binary_utils_1.hex2ua(encryptedHcPartyKey)))
|
|
182
|
-
.catch((e) => {
|
|
183
|
-
console.log(`Cannot decrypt RSA encrypted AES HcPartyKey from ${delegatorId} to ${delegateHcPartyId} as ${encryptedForDelegator ? 'delegator' : 'delegate'}`);
|
|
184
|
-
throw e;
|
|
185
|
-
})
|
|
186
|
-
.then((decryptedHcPartyKey) => this._AES.importKey('raw', decryptedHcPartyKey).then((decryptedImportedHcPartyKey) => ({
|
|
187
|
-
decryptedHcPartyKey,
|
|
188
|
-
decryptedImportedHcPartyKey,
|
|
189
|
-
})))
|
|
190
|
-
.then(({ decryptedHcPartyKey, decryptedImportedHcPartyKey }) => (this.hcPartyKeysCache[cacheKey] = {
|
|
191
|
-
delegatorId: delegatorId,
|
|
192
|
-
key: decryptedImportedHcPartyKey,
|
|
193
|
-
rawKey: binary_utils_1.ua2hex(new Uint8Array(decryptedHcPartyKey)),
|
|
194
|
-
}));
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
/**
|
|
198
|
-
* Cache the RSA private/public key pair for the HcP with the given id `hcPartyKeyOwner`
|
|
199
|
-
*/
|
|
200
|
-
cacheKeyPair(keyPairInJwk, hcPartyKeyOwner) {
|
|
201
|
-
if (!keyPairInJwk) {
|
|
202
|
-
throw 'No RSA private key for Healthcare party(' + hcPartyKeyOwner + ').';
|
|
203
|
-
}
|
|
204
|
-
return this._RSA.importKeyPair('jwk', keyPairInJwk.privateKey, 'jwk', keyPairInJwk.publicKey).then((importedKeyPair) => {
|
|
205
|
-
return (this._RSA.rsaKeyPairs[hcPartyKeyOwner] = importedKeyPair);
|
|
206
|
-
});
|
|
207
|
-
}
|
|
208
|
-
/**
|
|
209
|
-
* Gets the secret ID (SFKs) that should be used in the prescribed context (condfidential or not) from decrypted SPKs of the given `parent`, decrypted by the HcP with the given `hcpartyId` AND by its HcP parents
|
|
210
|
-
* @param parent : the object of which delegations (SPKs) to decrypt
|
|
211
|
-
* @param hcpartyId : the id of the delegate HcP
|
|
212
|
-
* @param confidential : wether the key is going to be used for a confidential piece or data or not
|
|
213
|
-
* @returns - **extractedKeys** array containing secret IDs (SFKs) from decrypted SPKs, from both given HcP and its parents ; can contain duplicates
|
|
214
|
-
* - **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)
|
|
215
|
-
*/
|
|
216
|
-
extractPreferredSfk(parent, hcpartyId, confidential) {
|
|
217
|
-
return this.extractSFKsHierarchyFromDelegations(parent, hcpartyId).then((secretForeignKeys) => {
|
|
218
|
-
const keys = secretForeignKeys
|
|
219
|
-
.filter(({ extractedKeys }) => extractedKeys.length > 0)
|
|
220
|
-
.filter((x, idx) => (confidential ? x.hcpartyId === hcpartyId : idx === 0))[0];
|
|
221
|
-
return ((keys &&
|
|
222
|
-
(confidential
|
|
223
|
-
? keys.extractedKeys.find((k) => !secretForeignKeys.some(({ extractedKeys, hcpartyId: parentHcpId }) => hcpartyId !== parentHcpId && extractedKeys.includes(k)))
|
|
224
|
-
: keys.extractedKeys[0])) ||
|
|
225
|
-
null);
|
|
226
|
-
});
|
|
227
|
-
}
|
|
228
|
-
/**
|
|
229
|
-
* Gets an array of decrypted HcPartyKeys, shared between the delegate with ID `delegateHcPartyId` and the delegators in `delegatorsHcPartyIdsSet`
|
|
230
|
-
*
|
|
231
|
-
* 1. Get the keys for the delegateHealthCareParty (cache/backend).
|
|
232
|
-
* 2. For each key in the delegators, decrypt it with the delegate's private key
|
|
233
|
-
* 3. Filter out undefined keys and return them
|
|
234
|
-
*
|
|
235
|
-
* @param delegatorsHcPartyIdsSet array of delegator HcP IDs that could have delegated something to the HcP with ID `delegateHcPartyId`
|
|
236
|
-
* @param delegateHcPartyId the HcP for which the HcPs with IDs in `delegatorsHcPartyIdsSet` could have delegated something
|
|
237
|
-
* @param minCacheDurationInSeconds The minimum cache duration
|
|
238
|
-
* @returns - **delegatorId** : the id of the delegator HcP that shares the **key** with the `delegateHcPartyId`
|
|
239
|
-
* - **key** the decrypted HcPartyKey, shared between **delegatorId** and `delegateHcPartyId`
|
|
240
|
-
*/
|
|
241
|
-
decryptAndImportAesHcPartyKeysForDelegators(
|
|
242
|
-
//TODO: suggested name: getDecryptedHcPKeysSharedBetweenDelegateAndDelegators
|
|
243
|
-
delegatorsHcPartyIdsSet, delegateHcPartyId, minCacheDurationInSeconds = 60) {
|
|
244
|
-
return (this.hcPartyKeysRequestsCache[delegateHcPartyId] ||
|
|
245
|
-
(this.hcPartyKeysRequestsCache[delegateHcPartyId] = this.getHcPartyKeysForDelegate(delegateHcPartyId))).then((delegatorIDsWithDelegateEncryptedHcPartyKey) => {
|
|
246
|
-
// [key: delegatorId] = delegateEncryptedHcPartyKey
|
|
247
|
-
// For each delegatorId, obtain the AES key (decrypted HcParty Key) shared with the delegate, decrypted by the delegate
|
|
248
|
-
return Promise.all(delegatorsHcPartyIdsSet.map((delegatorId) => {
|
|
249
|
-
if (!delegatorIDsWithDelegateEncryptedHcPartyKey[delegatorId]) {
|
|
250
|
-
return undefined;
|
|
251
|
-
}
|
|
252
|
-
return this.decryptHcPartyKey(delegatorId, delegateHcPartyId, delegatorIDsWithDelegateEncryptedHcPartyKey[delegatorId]).catch(() => {
|
|
253
|
-
console.log(`failed to decrypt hcPartyKey from ${delegatorId} to ${delegateHcPartyId}`);
|
|
254
|
-
return undefined;
|
|
255
|
-
});
|
|
256
|
-
})).then((hcPartyKeys) => {
|
|
257
|
-
const filteredHcPartyKeys = hcPartyKeys.filter((hcPartyKey) => !!hcPartyKey);
|
|
258
|
-
if (filteredHcPartyKeys.length > 0) {
|
|
259
|
-
return filteredHcPartyKeys;
|
|
260
|
-
}
|
|
261
|
-
const nowTimestamp = +new Date();
|
|
262
|
-
if (!this.cacheLastDeletionTimestamp || (nowTimestamp - this.cacheLastDeletionTimestamp) / 1000 >= minCacheDurationInSeconds) {
|
|
263
|
-
delete this.hcPartyKeysRequestsCache[delegateHcPartyId];
|
|
264
|
-
this.cacheLastDeletionTimestamp = nowTimestamp;
|
|
265
|
-
return this.decryptAndImportAesHcPartyKeysForDelegators(delegatorsHcPartyIdsSet, delegateHcPartyId);
|
|
266
|
-
}
|
|
267
|
-
return filteredHcPartyKeys;
|
|
268
|
-
});
|
|
269
|
-
});
|
|
270
|
-
}
|
|
271
|
-
/**
|
|
272
|
-
* 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)
|
|
273
|
-
*
|
|
274
|
-
* 1. Checks whether the delegations' object has a delegation for the
|
|
275
|
-
* given healthCarePartyId.
|
|
276
|
-
* 2. Enumerates all the delegators (delegation.owner) present in
|
|
277
|
-
* the delegations.
|
|
278
|
-
* 3. Decrypt's delegators' keys and returns them.
|
|
279
|
-
*
|
|
280
|
-
* @param dataOwnerId : the id of the delegate HCP
|
|
281
|
-
* @param delegations : generic delegations (can be SPKs, CFKs, EKs) for all delegates
|
|
282
|
-
* @param fallbackOnParent default true; use parent's healthCarePartyId in case there's no delegation for the `healthcarePartyId`
|
|
283
|
-
* @returns - **delegatorId** : the id of the delegator HcP that shares the **key** with the `healthcarePartyId`
|
|
284
|
-
* - **key** the decrypted HcPartyKey, shared between **delegatorId** and `healthcarePartyId`
|
|
285
|
-
*/
|
|
286
|
-
decryptAndImportAesHcPartyKeysInDelegations(
|
|
287
|
-
//TODO: suggested name: getDecryptedHcPKeysOfDelegateAndParentsFromGenericDelegations
|
|
288
|
-
dataOwnerId, delegations, fallbackOnParent = true) {
|
|
289
|
-
const delegatorIds = {};
|
|
290
|
-
const delegationsArray = delegations[dataOwnerId];
|
|
291
|
-
if (delegationsArray && delegationsArray.length) {
|
|
292
|
-
delegationsArray.forEach(function (delegationItem) {
|
|
293
|
-
delegatorIds[delegationItem.owner] = true; //TODO: why is set to true?
|
|
294
|
-
});
|
|
295
|
-
}
|
|
296
|
-
else if (fallbackOnParent) {
|
|
297
|
-
return this.getDataOwner(dataOwnerId).then(({ dataOwner: hcp }) => hcp.parentId ? this.decryptAndImportAesHcPartyKeysInDelegations(hcp.parentId, delegations) : Promise.resolve([]));
|
|
298
|
-
}
|
|
299
|
-
return this.decryptAndImportAesHcPartyKeysForDelegators(Object.keys(delegatorIds), dataOwnerId);
|
|
300
|
-
}
|
|
301
|
-
/**
|
|
302
|
-
* Retreive the owner HealthCareParty key and use it to encrypt
|
|
303
|
-
* both the delegations (createdObject.id) and the cryptedForeignKeys
|
|
304
|
-
* (parentObject.id), and returns them in an object.
|
|
305
|
-
*/
|
|
306
|
-
initObjectDelegations(createdObject, parentObject, ownerId, secretForeignKeyOfParent) {
|
|
307
|
-
this.throwDetailedExceptionForInvalidParameter('createdObject.id', createdObject.id, 'initObjectDelegations', arguments);
|
|
308
|
-
if (parentObject)
|
|
309
|
-
this.throwDetailedExceptionForInvalidParameter('parentObject.id', parentObject.id, 'initObjectDelegations', arguments);
|
|
310
|
-
const secretId = this.randomUuid();
|
|
311
|
-
return this.getDataOwner(ownerId)
|
|
312
|
-
.then(({ dataOwner: owner }) => {
|
|
313
|
-
return this.getOrCreateHcPartyKey(owner, ownerId);
|
|
314
|
-
})
|
|
315
|
-
.then((encryptedHcPartyKey) => this.decryptHcPartyKey(ownerId, ownerId, encryptedHcPartyKey, true))
|
|
316
|
-
.then((importedAESHcPartyKey) => Promise.all([
|
|
317
|
-
this._AES.encrypt(importedAESHcPartyKey.key, binary_utils_1.string2ua(createdObject.id + ':' + secretId).buffer, importedAESHcPartyKey.rawKey),
|
|
318
|
-
parentObject
|
|
319
|
-
? this._AES.encrypt(importedAESHcPartyKey.key, binary_utils_1.string2ua(createdObject.id + ':' + parentObject.id).buffer, importedAESHcPartyKey.rawKey)
|
|
320
|
-
: Promise.resolve(null),
|
|
321
|
-
]))
|
|
322
|
-
.then((encryptedDelegationAndSecretForeignKey) => ({
|
|
323
|
-
delegations: _.fromPairs([
|
|
324
|
-
[
|
|
325
|
-
ownerId,
|
|
326
|
-
[
|
|
327
|
-
{
|
|
328
|
-
owner: ownerId,
|
|
329
|
-
delegatedTo: ownerId,
|
|
330
|
-
key: binary_utils_1.ua2hex(encryptedDelegationAndSecretForeignKey[0]),
|
|
331
|
-
},
|
|
332
|
-
],
|
|
333
|
-
],
|
|
334
|
-
]),
|
|
335
|
-
cryptedForeignKeys: (encryptedDelegationAndSecretForeignKey[1] &&
|
|
336
|
-
_.fromPairs([
|
|
337
|
-
[
|
|
338
|
-
ownerId,
|
|
339
|
-
[
|
|
340
|
-
{
|
|
341
|
-
owner: ownerId,
|
|
342
|
-
delegatedTo: ownerId,
|
|
343
|
-
key: binary_utils_1.ua2hex(encryptedDelegationAndSecretForeignKey[1]),
|
|
344
|
-
},
|
|
345
|
-
],
|
|
346
|
-
],
|
|
347
|
-
])) ||
|
|
348
|
-
{},
|
|
349
|
-
secretForeignKeys: (secretForeignKeyOfParent && [secretForeignKeyOfParent]) || [],
|
|
350
|
-
secretId: secretId,
|
|
351
|
-
}));
|
|
352
|
-
}
|
|
353
|
-
/**
|
|
354
|
-
* Gets updated instances of SPKs and CKFs for the child object `modifiedObject`.
|
|
355
|
-
* These updated SPKs and CKFs contain new SPKs/CFKs to provide delegation from delegator HcP with id `ownerId` to delegate HcP with id `delegateId`
|
|
356
|
-
*
|
|
357
|
-
* 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;
|
|
358
|
-
* the `secretIdOfModifiedObject` is returned, unmodified, as `secretId`
|
|
359
|
-
* 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
|
|
360
|
-
* 3. creates a new delegation (Secret Primary Keys) on the `modifiedObject` encrypted with the HcPKey from owner to the delegate;
|
|
361
|
-
* 4. if `parentObject` != null, creates a new CFK on the `modifiedObject` encrypted with the HcPKey from owner to the delegate;
|
|
362
|
-
* 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`
|
|
363
|
-
* 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`
|
|
364
|
-
* 7. then some duplicates delegations (SPKs) and CKFs are removed
|
|
365
|
-
*
|
|
366
|
-
* @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
|
|
367
|
-
* @param parentObject : will NOT be mutated
|
|
368
|
-
* @param ownerId : the HcP id of the delegator
|
|
369
|
-
* @param delegateId : the HcP id of the delegate
|
|
370
|
-
* @param secretIdOfModifiedObject : the secret id used in the child object to generate its SPK
|
|
371
|
-
* @returns - **delegations** existing delegations (SPKs) of the `modifiedObject`, appended with results from step 5
|
|
372
|
-
* - **cryptedForeignKeys** existing CFKs of the `modifiedObject`, appended with results from steps 6
|
|
373
|
-
* - **secretId** which is the given input parameter `secretIdOfModifiedObject`
|
|
374
|
-
*/
|
|
375
|
-
extendedDelegationsAndCryptedForeignKeys(
|
|
376
|
-
//TODO: suggested name: getExtendedChildObjectSPKandCFKwithDelegationFromDelegatorToDelegate
|
|
377
|
-
modifiedObject, parentObject, ownerId, delegateId, secretIdOfModifiedObject) {
|
|
378
|
-
this.throwDetailedExceptionForInvalidParameter('modifiedObject.id', modifiedObject.id, 'extendedDelegationsAndCryptedForeignKeys', arguments); //modifiedObject should never be null
|
|
379
|
-
if (parentObject)
|
|
380
|
-
this.throwDetailedExceptionForInvalidParameter('parentObject.id', parentObject.id, 'extendedDelegationsAndCryptedForeignKeys', arguments);
|
|
381
|
-
this.throwDetailedExceptionForInvalidParameter('secretIdOfModifiedObject', secretIdOfModifiedObject, 'extendedDelegationsAndCryptedForeignKeys', arguments);
|
|
382
|
-
return this.getDataOwner(ownerId)
|
|
383
|
-
.then(({ dataOwner: owner }) => this.getOrCreateHcPartyKey(owner, delegateId))
|
|
384
|
-
.then((encryptedHcPartyKey) => this.decryptHcPartyKey(ownerId, delegateId, encryptedHcPartyKey, true))
|
|
385
|
-
.then((importedAESHcPartyKey) => Promise.all([
|
|
386
|
-
Promise.all(((modifiedObject.delegations || {})[delegateId] || []).map((d) => (d.key &&
|
|
387
|
-
d.owner === ownerId &&
|
|
388
|
-
this._AES.decrypt(importedAESHcPartyKey.key, binary_utils_1.hex2ua(d.key), importedAESHcPartyKey.rawKey).catch(() => {
|
|
389
|
-
console.log(`Cannot decrypt delegation from ${d.owner} to ${d.delegatedTo} for object with id ${modifiedObject.id}:`, modifiedObject);
|
|
390
|
-
return null;
|
|
391
|
-
})) ||
|
|
392
|
-
Promise.resolve(null))),
|
|
393
|
-
Promise.all(((modifiedObject.cryptedForeignKeys || {})[delegateId] || []).map((d) => (d.key &&
|
|
394
|
-
d.owner === ownerId &&
|
|
395
|
-
this._AES.decrypt(importedAESHcPartyKey.key, binary_utils_1.hex2ua(d.key), importedAESHcPartyKey.rawKey).catch(() => {
|
|
396
|
-
console.log(`Cannot decrypt cryptedForeignKeys from ${d.owner} to ${d.delegatedTo} for object with id ${modifiedObject.id}:`, modifiedObject);
|
|
397
|
-
return null;
|
|
398
|
-
})) ||
|
|
399
|
-
Promise.resolve(null))),
|
|
400
|
-
this._AES.encrypt(importedAESHcPartyKey.key, binary_utils_1.string2ua(modifiedObject.id + ':' + secretIdOfModifiedObject).buffer, importedAESHcPartyKey.rawKey),
|
|
401
|
-
parentObject
|
|
402
|
-
? this._AES.encrypt(importedAESHcPartyKey.key, binary_utils_1.string2ua(modifiedObject.id + ':' + parentObject.id).buffer, importedAESHcPartyKey.rawKey)
|
|
403
|
-
: Promise.resolve(null),
|
|
404
|
-
]))
|
|
405
|
-
.then(([previousDecryptedDelegations, previousDecryptedCryptedForeignKeys, cryptedDelegation, cryptedForeignKey]) => {
|
|
406
|
-
//try to limit the extent of the modifications to the delegations by preserving the redundant delegation already present and removing duplicates
|
|
407
|
-
//For delegate delegateId, we create:
|
|
408
|
-
// 1. an array of objects { d : {owner,delegatedTo,encrypted(key)}} with one object for each existing delegation and the new key concatenated
|
|
409
|
-
// 2. an array of objects { k : decrypted(key)} with one object for the existing delegations and the new key concatenated
|
|
410
|
-
// We merge them to get one array of objects: { d: {owner,delegatedTo,encrypted(key)}, k: decrypted(key)}
|
|
411
|
-
const delegationCryptedDecrypted = _.merge(((modifiedObject.delegations || {})[delegateId] || []).map((d) => ({
|
|
412
|
-
d,
|
|
413
|
-
})), (previousDecryptedDelegations || []).map((dd) => (dd ? binary_utils_1.ua2string(dd) : null)).map((k) => ({ k })))
|
|
414
|
-
.filter(({ d, k }) => !!k || d.owner !== ownerId) //Only keep the ones created by us that can still be decrypted
|
|
415
|
-
.map(({ d, k }) => ({ d, k: k || this.randomUuid() })) // Use some unique id that ensures the delegation not created by us are going to be held
|
|
416
|
-
.concat([
|
|
417
|
-
{
|
|
418
|
-
d: {
|
|
419
|
-
owner: ownerId,
|
|
420
|
-
delegatedTo: delegateId,
|
|
421
|
-
key: binary_utils_1.ua2hex(cryptedDelegation),
|
|
422
|
-
},
|
|
423
|
-
k: modifiedObject.id + ':' + secretIdOfModifiedObject,
|
|
424
|
-
},
|
|
425
|
-
]);
|
|
426
|
-
const allDelegations = _.cloneDeep(modifiedObject.delegations);
|
|
427
|
-
//Only keep one version of the decrypted key
|
|
428
|
-
allDelegations[delegateId] = _.uniqBy(delegationCryptedDecrypted, (x) => x.k).map((x) => x.d);
|
|
429
|
-
const cryptedForeignKeysCryptedDecrypted = _.merge(((modifiedObject.cryptedForeignKeys || {})[delegateId] || []).map((d) => ({
|
|
430
|
-
d,
|
|
431
|
-
})), (previousDecryptedCryptedForeignKeys || []).map((dd) => (dd ? binary_utils_1.ua2string(dd) : null)).map((k) => ({ k })))
|
|
432
|
-
.filter(({ d, k }) => !!k || d.owner !== ownerId) //Only keep the ones created by us that can still be decrypted
|
|
433
|
-
.map(({ d, k }) => ({ d, k: k || this.randomUuid() })) // Use some unique id that ensures the delegation not created by us are going to be held
|
|
434
|
-
.concat(cryptedForeignKey
|
|
435
|
-
? [
|
|
436
|
-
{
|
|
437
|
-
d: {
|
|
438
|
-
owner: ownerId,
|
|
439
|
-
delegatedTo: delegateId,
|
|
440
|
-
key: binary_utils_1.ua2hex(cryptedForeignKey),
|
|
441
|
-
},
|
|
442
|
-
k: modifiedObject.id + ':' + parentObject.id,
|
|
443
|
-
},
|
|
444
|
-
]
|
|
445
|
-
: []);
|
|
446
|
-
const allCryptedForeignKeys = _.cloneDeep(modifiedObject.cryptedForeignKeys || {});
|
|
447
|
-
if (cryptedForeignKeysCryptedDecrypted.length > 0) {
|
|
448
|
-
allCryptedForeignKeys[delegateId] = _.uniqBy(cryptedForeignKeysCryptedDecrypted, (x) => x.k).map((x) => x.d);
|
|
449
|
-
}
|
|
450
|
-
return {
|
|
451
|
-
delegations: allDelegations,
|
|
452
|
-
cryptedForeignKeys: allCryptedForeignKeys,
|
|
453
|
-
secretId: secretIdOfModifiedObject,
|
|
454
|
-
};
|
|
455
|
-
});
|
|
456
|
-
}
|
|
457
|
-
getOrCreateHcPartyKey(owner, delegateId) {
|
|
458
|
-
return !owner.hcPartyKeys[delegateId]
|
|
459
|
-
? this.generateKeyForDelegate(owner.id, delegateId).then((owner) => owner.hcPartyKeys[delegateId][0])
|
|
460
|
-
: Promise.resolve(owner.hcPartyKeys[delegateId][0]);
|
|
461
|
-
}
|
|
462
|
-
/**
|
|
463
|
-
* Retrieve the owners HealthCareParty key, decrypt it, and
|
|
464
|
-
* use it to encrypt & initialize the "encryptionKeys" object
|
|
465
|
-
* and return it.
|
|
466
|
-
* @param createdObject
|
|
467
|
-
* @param ownerId
|
|
468
|
-
*/
|
|
469
|
-
initEncryptionKeys(createdObject, ownerId) {
|
|
470
|
-
this.throwDetailedExceptionForInvalidParameter('createdObject.id', createdObject.id, 'initEncryptionKeys', arguments);
|
|
471
|
-
const secretId = this.randomUuid();
|
|
472
|
-
return this.getDataOwner(ownerId)
|
|
473
|
-
.then(({ dataOwner: owner }) => this.getOrCreateHcPartyKey(owner, ownerId))
|
|
474
|
-
.then((encryptedHcPartyKey) => this.decryptHcPartyKey(ownerId, ownerId, encryptedHcPartyKey, true))
|
|
475
|
-
.then((importedAESHcPartyKey) => this._AES.encrypt(importedAESHcPartyKey.key, binary_utils_1.string2ua(createdObject.id + ':' + secretId)))
|
|
476
|
-
.then((encryptedEncryptionKeys) => ({
|
|
477
|
-
encryptionKeys: _.fromPairs([
|
|
478
|
-
[
|
|
479
|
-
ownerId,
|
|
480
|
-
[
|
|
481
|
-
{
|
|
482
|
-
owner: ownerId,
|
|
483
|
-
delegatedTo: ownerId,
|
|
484
|
-
key: binary_utils_1.ua2hex(encryptedEncryptionKeys),
|
|
485
|
-
},
|
|
486
|
-
],
|
|
487
|
-
],
|
|
488
|
-
]),
|
|
489
|
-
secretId: secretId,
|
|
490
|
-
}));
|
|
491
|
-
}
|
|
492
|
-
/**
|
|
493
|
-
* Gets an updated instance of the EKs of `modifiedObject`.
|
|
494
|
-
* The updated EKs contain a new EK to provide delegation from delegator HcP with id `ownerId` to delegate HcP with id `delegateId`.
|
|
495
|
-
* @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
|
|
496
|
-
* @param ownerId : delegator HcP id
|
|
497
|
-
* @param delegateId : delegate HcP id
|
|
498
|
-
* @param secretEncryptionKeyOfObject : secret Id for the EK (Content Encryption Key)
|
|
499
|
-
* @returns - **encryptionKeys** existing EKs of the `modifiedObject`, appended with a new EK item (owner: `ownerId`, delegatedTo: `delegateId`, encrypted key with secretId: `secretEncryptionKeyOfObject` )
|
|
500
|
-
* - **secretId** which is the given input parameter `secretEncryptionKeyOfObject`
|
|
501
|
-
*/
|
|
502
|
-
appendEncryptionKeys(
|
|
503
|
-
//TODO: suggested name: getExtendedEKwithDelegationFromDelegatorToDelegate
|
|
504
|
-
modifiedObject, ownerId, delegateId, secretEncryptionKeyOfObject) {
|
|
505
|
-
this.throwDetailedExceptionForInvalidParameter('modifiedObject.id', modifiedObject.id, 'appendEncryptionKeys', arguments); //modifiedObject should never be null
|
|
506
|
-
this.throwDetailedExceptionForInvalidParameter('secretEncryptionKeyOfObject', secretEncryptionKeyOfObject, 'appendEncryptionKeys', arguments);
|
|
507
|
-
return this.getDataOwner(ownerId)
|
|
508
|
-
.then(({ dataOwner: owner }) => this.getOrCreateHcPartyKey(owner, delegateId))
|
|
509
|
-
.then((encryptedHcPartyKey) => this.decryptHcPartyKey(ownerId, delegateId, encryptedHcPartyKey, true))
|
|
510
|
-
.then((importedAESHcPartyKey) => Promise.all([
|
|
511
|
-
Promise.all(((modifiedObject.encryptionKeys || {})[delegateId] || []).map((d) => (d.key &&
|
|
512
|
-
d.owner === ownerId &&
|
|
513
|
-
this._AES.decrypt(importedAESHcPartyKey.key, binary_utils_1.hex2ua(d.key), importedAESHcPartyKey.rawKey).catch(() => {
|
|
514
|
-
console.log(`Cannot decrypt encryption key from ${d.owner} to ${d.delegatedTo} for object with id ${modifiedObject.id}:`, modifiedObject);
|
|
515
|
-
return null;
|
|
516
|
-
})) ||
|
|
517
|
-
Promise.resolve(null))),
|
|
518
|
-
this._AES.encrypt(importedAESHcPartyKey.key, binary_utils_1.string2ua(modifiedObject.id + ':' + secretEncryptionKeyOfObject)),
|
|
519
|
-
]))
|
|
520
|
-
.then(([previousDecryptedEncryptionKeys, encryptedEncryptionKey]) => {
|
|
521
|
-
//try to limit the extent of the modifications to the delegations by preserving the redundant encryption keys already present and removing duplicates
|
|
522
|
-
//For delegate delegateId, we create:
|
|
523
|
-
// 1. an array of objects { d : {owner,delegatedTo,encrypted(key)}} with one object for the existing encryption keys and the new key concatenated
|
|
524
|
-
// 2. an array of objects { k : decrypted(key)} with one object for the existing delegations and the new key concatenated
|
|
525
|
-
// We merge them to get one array of objects: { d: {owner,delegatedTo,encrypted(key)}, k: decrypted(key)}
|
|
526
|
-
const encryptionKeysCryptedDecrypted = _.merge(((modifiedObject.encryptionKeys || {})[delegateId] || []).map((d) => ({
|
|
527
|
-
d,
|
|
528
|
-
})), (previousDecryptedEncryptionKeys || []).map((dd) => (dd ? binary_utils_1.ua2string(dd) : null)).map((k) => ({ k })))
|
|
529
|
-
.filter(({ d, k }) => !!k || d.owner !== ownerId) //Only keep the ones created by us that can still be decrypted
|
|
530
|
-
.map(({ d, k }) => ({ d, k: k || this.randomUuid() }))
|
|
531
|
-
.concat([
|
|
532
|
-
{
|
|
533
|
-
d: {
|
|
534
|
-
owner: ownerId,
|
|
535
|
-
delegatedTo: delegateId,
|
|
536
|
-
key: binary_utils_1.ua2hex(encryptedEncryptionKey),
|
|
537
|
-
},
|
|
538
|
-
k: modifiedObject.id + ':' + secretEncryptionKeyOfObject,
|
|
539
|
-
},
|
|
540
|
-
]);
|
|
541
|
-
const allEncryptionKeys = _.cloneDeep(modifiedObject.encryptionKeys);
|
|
542
|
-
allEncryptionKeys[delegateId] = _.uniqBy(encryptionKeysCryptedDecrypted, (x) => x.k).map((x) => x.d);
|
|
543
|
-
return {
|
|
544
|
-
encryptionKeys: allEncryptionKeys,
|
|
545
|
-
secretId: secretEncryptionKeyOfObject,
|
|
546
|
-
};
|
|
547
|
-
});
|
|
548
|
-
}
|
|
549
|
-
/**
|
|
550
|
-
* 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`
|
|
551
|
-
* The SFKs of `child` are not updated, so this method assumes this is not the initial delegation on the `child` object
|
|
552
|
-
* The method also performs some deduplication of all types of delegations.
|
|
553
|
-
* @param parent : the parent object of `child`; will NOT be mutated
|
|
554
|
-
* @param child : the object that will be mutated and returned
|
|
555
|
-
* @param ownerId delegator HcP id
|
|
556
|
-
* @param delegateId delegate HcP id
|
|
557
|
-
* @param secretDelegationKey the secret Id used in the child object to generate the SPK
|
|
558
|
-
* @param secretEncryptionKey the secret Id used in the child object to generate the EK (Content Encryption Key)
|
|
559
|
-
* @returns - an updated `child` object that will contain updated SPKs, CFKs, EKs
|
|
560
|
-
* */
|
|
561
|
-
addDelegationsAndEncryptionKeys(
|
|
562
|
-
//TODO: suggested name: updateChildGenericDelegationsFromDelegatorToDelegate
|
|
563
|
-
parent, child, ownerId, delegateId, secretDelegationKey, secretEncryptionKey) {
|
|
564
|
-
if (parent)
|
|
565
|
-
this.throwDetailedExceptionForInvalidParameter('parent.id', parent.id, 'addDelegationsAndEncryptionKeys', arguments);
|
|
566
|
-
this.throwDetailedExceptionForInvalidParameter('child.id', child.id, 'addDelegationsAndEncryptionKeys', arguments);
|
|
567
|
-
return (secretDelegationKey
|
|
568
|
-
? this.extendedDelegationsAndCryptedForeignKeys(child, parent, ownerId, delegateId, secretDelegationKey)
|
|
569
|
-
: Promise.resolve({ delegations: {}, cryptedForeignKeys: {} }))
|
|
570
|
-
.then((extendedChildObjectSPKsAndCFKs) => secretEncryptionKey
|
|
571
|
-
? this.appendEncryptionKeys(child, ownerId, delegateId, secretEncryptionKey).then(
|
|
572
|
-
//TODO: extendedDelegationsAndCryptedForeignKeys and appendEncryptionKeys can be done in parallel
|
|
573
|
-
(extendedChildObjectEKs) => ({
|
|
574
|
-
extendedSPKsAndCFKs: extendedChildObjectSPKsAndCFKs,
|
|
575
|
-
extendedEKs: extendedChildObjectEKs,
|
|
576
|
-
}))
|
|
577
|
-
: Promise.resolve({
|
|
578
|
-
extendedSPKsAndCFKs: extendedChildObjectSPKsAndCFKs,
|
|
579
|
-
extendedEKs: { encryptionKeys: {} },
|
|
580
|
-
}))
|
|
581
|
-
.then(({ extendedSPKsAndCFKs: extendedChildObjectSPKsAndCFKs, extendedEKs: extendedChildObjectEKs }) => {
|
|
582
|
-
return _.assign(child, {
|
|
583
|
-
// Conservative version ... We might want to be more aggressive with the deduplication of keys
|
|
584
|
-
// For each delegate, we are going to concatenate to the src (the new delegations), the object in dest (the current delegations)
|
|
585
|
-
// for which we do not find an equivalent delegation (same delegator, same delegate)
|
|
586
|
-
delegations: _.assignWith(child.delegations, extendedChildObjectSPKsAndCFKs.delegations, (dest, src) => (src || []).concat(_.filter(dest, (d) => !src.some((s) => s.owner === d.owner && s.delegatedTo === d.delegatedTo)))),
|
|
587
|
-
cryptedForeignKeys: _.assignWith(child.cryptedForeignKeys, extendedChildObjectSPKsAndCFKs.cryptedForeignKeys, (dest, src) => (src || []).concat(_.filter(dest, (d) => !src.some((s) => s.owner === d.owner && s.delegatedTo === d.delegatedTo)))),
|
|
588
|
-
encryptionKeys: _.assignWith(child.encryptionKeys, extendedChildObjectEKs.encryptionKeys, (dest, src) => (src || []).concat(_.filter(dest, (d) => !src.some((s) => s.owner === d.owner && s.delegatedTo === d.delegatedTo)))),
|
|
589
|
-
});
|
|
590
|
-
});
|
|
591
|
-
}
|
|
592
|
-
/**
|
|
593
|
-
* 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
|
|
594
|
-
* @param document : the object of which delegations (SPKs) to decrypt
|
|
595
|
-
* @param hcpartyId : the id of the delegate HcP
|
|
596
|
-
* @returns - **extractedKeys** array containing secret IDs (SFKs) from decrypted SPKs, from both given HcP and its parents ; can contain duplicates
|
|
597
|
-
* - **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)
|
|
598
|
-
*/
|
|
599
|
-
//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?
|
|
600
|
-
extractDelegationsSFKs(
|
|
601
|
-
//TODO: suggested name: getSecretIDsSPKofHcpAndParentsFromDocument
|
|
602
|
-
document, hcpartyId) {
|
|
603
|
-
if (!document || !hcpartyId) {
|
|
604
|
-
return Promise.resolve({ extractedKeys: [], hcpartyId: hcpartyId }); //TODO: thow exception instead?
|
|
605
|
-
}
|
|
606
|
-
const delegationsForAllDelegates = document.delegations;
|
|
607
|
-
if (!delegationsForAllDelegates || !Object.keys(delegationsForAllDelegates).length) {
|
|
608
|
-
console.log(`There is no delegation in document (${document.id})`);
|
|
609
|
-
return Promise.resolve({ extractedKeys: [], hcpartyId: hcpartyId });
|
|
610
|
-
}
|
|
611
|
-
return this.extractKeysFromDelegationsForHcpHierarchy(hcpartyId, document.id, delegationsForAllDelegates);
|
|
612
|
-
}
|
|
613
|
-
/**
|
|
614
|
-
* 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
|
|
615
|
-
* @param document : the object of which delegations (SPKs) to decrypt
|
|
616
|
-
* @param hcpartyId : the id of the delegate HcP
|
|
617
|
-
* @returns - **extractedKeys** array containing secret IDs (SFKs) from decrypted SPKs, from both given HcP and its parents ; can contain duplicates
|
|
618
|
-
* - **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)
|
|
619
|
-
*/
|
|
620
|
-
extractSFKsHierarchyFromDelegations(document, hcpartyId) {
|
|
621
|
-
if (!document || !hcpartyId) {
|
|
622
|
-
return Promise.resolve([]);
|
|
623
|
-
}
|
|
624
|
-
const delegationsForAllDelegates = document.delegations;
|
|
625
|
-
if (!delegationsForAllDelegates || !Object.keys(delegationsForAllDelegates).length) {
|
|
626
|
-
console.log(`There is no delegation in document (${document.id})`);
|
|
627
|
-
return Promise.resolve([]);
|
|
628
|
-
}
|
|
629
|
-
return this.extractKeysHierarchyFromDelegationLikes(hcpartyId, document.id, delegationsForAllDelegates);
|
|
630
|
-
}
|
|
631
|
-
// noinspection JSUnusedGlobalSymbols
|
|
632
|
-
extractCryptedFKs(
|
|
633
|
-
//TODO: suggested name: getSecretIDsCFKofHcpAndParentsFromDocument
|
|
634
|
-
document, hcpartyId) {
|
|
635
|
-
if (!document || !document.cryptedForeignKeys) {
|
|
636
|
-
return Promise.resolve({ extractedKeys: [], hcpartyId: hcpartyId });
|
|
637
|
-
}
|
|
638
|
-
const cfksForAllDelegates = document.cryptedForeignKeys;
|
|
639
|
-
if (!cfksForAllDelegates || !Object.keys(cfksForAllDelegates).length) {
|
|
640
|
-
console.log(`There is no cryptedForeignKeys in document (${document.id})`);
|
|
641
|
-
return Promise.resolve({ extractedKeys: [], hcpartyId: hcpartyId });
|
|
642
|
-
}
|
|
643
|
-
return this.extractKeysFromDelegationsForHcpHierarchy(hcpartyId, document.id, cfksForAllDelegates);
|
|
644
|
-
}
|
|
645
|
-
extractEncryptionsSKs(
|
|
646
|
-
//TODO: suggested name: getSecretIDsEKofHcpAndParentsFromDocument
|
|
647
|
-
document, hcpartyId) {
|
|
648
|
-
if (!document.encryptionKeys) {
|
|
649
|
-
return Promise.resolve({ extractedKeys: [], hcpartyId: hcpartyId });
|
|
650
|
-
}
|
|
651
|
-
const eckeysForAllDelegates = document.encryptionKeys;
|
|
652
|
-
if (!eckeysForAllDelegates || !Object.keys(eckeysForAllDelegates).length) {
|
|
653
|
-
//console.log(`There is no encryption key in document (${document.id})`)
|
|
654
|
-
return Promise.resolve({ extractedKeys: [], hcpartyId: hcpartyId });
|
|
655
|
-
}
|
|
656
|
-
return this.extractKeysFromDelegationsForHcpHierarchy(hcpartyId, document.id, eckeysForAllDelegates);
|
|
657
|
-
}
|
|
658
|
-
extractDelegationsSFKsAndEncryptionSKs(ety, ownerId) {
|
|
659
|
-
const delegationsSfksOwnerPromise = this.extractDelegationsSFKs(ety, ownerId).then((xks) => xks.extractedKeys); //Will climb up hierarchy
|
|
660
|
-
const encryptionKeysOwnerPromise = this.extractEncryptionsSKs(ety, ownerId).then((xks) => xks.extractedKeys); //Will climb up hierarchy
|
|
661
|
-
return Promise.all([delegationsSfksOwnerPromise, encryptionKeysOwnerPromise]);
|
|
662
|
-
}
|
|
663
|
-
/**
|
|
664
|
-
* Get decrypted generic secret IDs (secretIdSPKs, parentIds, secretIdEKs) from generic delegations (SPKs, CFKs, EKs)
|
|
665
|
-
* 1. Get HealthCareParty from it's Id.
|
|
666
|
-
* 2. Decrypt the keys of the given HCP.
|
|
667
|
-
* 3. Decrypt the parent's key if it has parent.
|
|
668
|
-
* 4. Return the decrypted key corresponding to the Health Care Party.
|
|
669
|
-
* @param hcpartyId : the id of the delegate HcP (including its parents) for which to decrypt `extractedKeys`
|
|
670
|
-
* @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
|
|
671
|
-
* @param delegations : generic delegations (can be SPKs, CFKs, EKs) for all delegates from where to extract `extractedKeys`
|
|
672
|
-
* @returns - **extractedKeys** array containing secret IDs from decrypted generic delegations, from both HCP with given `hcpartyId` and its parents; can contain duplicates
|
|
673
|
-
* - **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)
|
|
674
|
-
*/
|
|
675
|
-
//TODO: even if there are no delegations for parent HCP (but the parent exists), the returned hcpartyId will be the one of the parent
|
|
676
|
-
extractKeysHierarchyFromDelegationLikes(
|
|
677
|
-
//TODO suggested name: getSecretIdsOfHcpAndParentsFromGenericDelegations
|
|
678
|
-
hcpartyId, objectId, delegations) {
|
|
679
|
-
return this.getDataOwner(hcpartyId).then(({ dataOwner: hcp }) => (delegations[hcpartyId] && delegations[hcpartyId].length
|
|
680
|
-
? this.decryptAndImportAesHcPartyKeysInDelegations(hcpartyId, delegations, false).then((decryptedAndImportedAesHcPartyKeys) => {
|
|
681
|
-
const collatedAesKeysFromDelegatorToHcpartyId = {};
|
|
682
|
-
decryptedAndImportedAesHcPartyKeys.forEach((k) => (collatedAesKeysFromDelegatorToHcpartyId[k.delegatorId] = k));
|
|
683
|
-
return this.decryptKeyInDelegationLikes(delegations[hcpartyId], collatedAesKeysFromDelegatorToHcpartyId, objectId);
|
|
684
|
-
})
|
|
685
|
-
: Promise.resolve([])).then((extractedKeys) => hcp.parentId
|
|
686
|
-
? this.extractKeysHierarchyFromDelegationLikes(hcp.parentId, objectId, delegations).then((parentResponse) => parentResponse.concat({ extractedKeys: extractedKeys, hcpartyId: hcpartyId }))
|
|
687
|
-
: [{ extractedKeys: extractedKeys, hcpartyId: hcpartyId }]));
|
|
688
|
-
}
|
|
689
|
-
/**
|
|
690
|
-
* Get decrypted generic secret IDs (secretIdSPKs, parentIds, secretIdEKs) from generic delegations (SPKs, CFKs, EKs)
|
|
691
|
-
* 1. Get Data Owner (HCP, Patient or Device) from it's Id.
|
|
692
|
-
* 2. Decrypt the keys of the given data owner.
|
|
693
|
-
* 3. Decrypt the parent's key if it has parent.
|
|
694
|
-
* 4. Return the decrypted key corresponding to the Health Care Party.
|
|
695
|
-
* @param dataOwnerId : the id of the delegate data owner (including its parents) for which to decrypt `extractedKeys`
|
|
696
|
-
* @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
|
|
697
|
-
* @param delegations : generic delegations (can be SPKs, CFKs, EKs) for all delegates from where to extract `extractedKeys`
|
|
698
|
-
* @returns - **extractedKeys** array containing secret IDs from decrypted generic delegations, from both data owner with given `dataOwnerId` and its parents; can contain duplicates
|
|
699
|
-
* - **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)
|
|
700
|
-
*/
|
|
701
|
-
//TODO: even if there are no delegations for parent HCP (but the parent exists), the returned dataOwnerId will be the one of the parent
|
|
702
|
-
extractKeysFromDelegationsForHcpHierarchy(
|
|
703
|
-
//TODO suggested name: getSecretIdsOfHcpAndParentsFromGenericDelegations
|
|
704
|
-
dataOwnerId, objectId, delegations) {
|
|
705
|
-
return this.getDataOwner(dataOwnerId).then(({ dataOwner: hcp }) => (delegations[dataOwnerId] && delegations[dataOwnerId].length
|
|
706
|
-
? this.decryptAndImportAesHcPartyKeysInDelegations(dataOwnerId, delegations, false).then((decryptedAndImportedAesHcPartyKeys) => {
|
|
707
|
-
const collatedAesKeysFromDelegatorToHcpartyId = {};
|
|
708
|
-
decryptedAndImportedAesHcPartyKeys.forEach((k) => (collatedAesKeysFromDelegatorToHcpartyId[k.delegatorId] = k));
|
|
709
|
-
return this.decryptKeyInDelegationLikes(delegations[dataOwnerId], collatedAesKeysFromDelegatorToHcpartyId, objectId);
|
|
710
|
-
})
|
|
711
|
-
: Promise.resolve([])).then((extractedKeys) => hcp.parentId
|
|
712
|
-
? this.extractKeysFromDelegationsForHcpHierarchy(hcp.parentId, objectId, delegations).then((parentResponse) => _.assign(parentResponse, {
|
|
713
|
-
extractedKeys: parentResponse.extractedKeys.concat(extractedKeys),
|
|
714
|
-
}))
|
|
715
|
-
: { extractedKeys: extractedKeys, hcpartyId: dataOwnerId }));
|
|
716
|
-
}
|
|
717
|
-
/**
|
|
718
|
-
* Gets an array of generic secret IDs decrypted from a list of generic delegations (SPKs, CFKs, EKs) `delegationsArray`
|
|
719
|
-
* 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
|
|
720
|
-
* For each one of the delegations in the `delegationsArray`, it tries to decrypt with the decryptedHcPartyKey of the owner of that delegation;
|
|
721
|
-
*
|
|
722
|
-
* @param delegationsArray : generic delegations array
|
|
723
|
-
* @param aesKeys : **key** HcP ids of delegators/owners in the `delegationsArray`, each with its own decryptedHcPartyKey
|
|
724
|
-
* @param masterId : is the object id to which the generic delegation belongs to
|
|
725
|
-
* - used only to check whether the object.id matches the one stored in the decrypted generic delegation item
|
|
726
|
-
* - even if there's no match, the secret ID is kept as a valid result (and a message logged to console)
|
|
727
|
-
* @returns array of generic secret IDs (secretIdSPK, parentId, secretIdEK)
|
|
728
|
-
*/
|
|
729
|
-
decryptKeyInDelegationLikes(
|
|
730
|
-
//TODO: suggested name: getSecretIdsFromGenericDelegations
|
|
731
|
-
delegationsArray, aesKeys, masterId) {
|
|
732
|
-
const decryptPromises = [];
|
|
733
|
-
for (let i = 0; i < (delegationsArray || []).length; i++) {
|
|
734
|
-
var genericDelegationItem = delegationsArray[i];
|
|
735
|
-
const aesKey = aesKeys[genericDelegationItem.owner];
|
|
736
|
-
if (aesKey) {
|
|
737
|
-
decryptPromises.push(this._AES
|
|
738
|
-
.decrypt(aesKey.key, binary_utils_1.hex2ua(genericDelegationItem.key), aesKey.rawKey)
|
|
739
|
-
.then((decryptedGenericDelegationKey) => {
|
|
740
|
-
const results = binary_utils_1.ua2string(decryptedGenericDelegationKey).split(':');
|
|
741
|
-
const objectId = results[0]; //must be the ID of the object, for checksum
|
|
742
|
-
const genericSecretId = results[1];
|
|
743
|
-
const details = 'object ID: ' + masterId + '; generic delegation from ' + genericDelegationItem.owner + ' to ' + genericDelegationItem.delegatedTo;
|
|
744
|
-
if (!objectId)
|
|
745
|
-
console.warn('Object id is empty; ' + details);
|
|
746
|
-
if (!genericSecretId)
|
|
747
|
-
console.warn('Secret id is empty; ' + details);
|
|
748
|
-
if (objectId !== masterId) {
|
|
749
|
-
/*console.log(
|
|
750
|
-
"Cryptographic mistake: object ID is not equal to the expected concatenated id within decrypted generic delegation. This may happen when patients have been merged; " +
|
|
751
|
-
details
|
|
752
|
-
)*/
|
|
753
|
-
}
|
|
754
|
-
return genericSecretId;
|
|
755
|
-
})
|
|
756
|
-
.catch((err) => {
|
|
757
|
-
console.log(`Could not decrypt generic delegation in object with ID: ${masterId} from ${genericDelegationItem.owner} to ${genericDelegationItem.delegatedTo}: ${err}`);
|
|
758
|
-
return undefined;
|
|
759
|
-
}));
|
|
760
|
-
}
|
|
761
|
-
else {
|
|
762
|
-
console.log(`Could not find aes key for object with ID: ${masterId}`);
|
|
763
|
-
}
|
|
764
|
-
}
|
|
765
|
-
return Promise.all(decryptPromises).then((genericSecretId) => genericSecretId.filter((id) => !!id));
|
|
766
|
-
}
|
|
767
|
-
loadKeyPairsAsTextInBrowserLocalStorage(healthcarePartyId, privateKey) {
|
|
768
|
-
return this.getDataOwner(healthcarePartyId)
|
|
769
|
-
.then(({ dataOwner }) => dataOwner.publicKey)
|
|
770
|
-
.then((publicKey) => {
|
|
771
|
-
if (!publicKey) {
|
|
772
|
-
throw new Error('No public key has been defined for hcp');
|
|
773
|
-
}
|
|
774
|
-
return this._RSA.importKeyPair('jwk', this._utils.pkcs8ToJwk(privateKey), 'jwk', this._utils.spkiToJwk(binary_utils_1.hex2ua(publicKey)));
|
|
775
|
-
})
|
|
776
|
-
.then((keyPair) => {
|
|
777
|
-
this._RSA.rsaKeyPairs[healthcarePartyId] = keyPair;
|
|
778
|
-
return this._RSA.exportKeys(keyPair, 'jwk', 'jwk');
|
|
779
|
-
})
|
|
780
|
-
.then((exportedKeyPair) => {
|
|
781
|
-
return this._RSA.storeKeyPair(healthcarePartyId, exportedKeyPair);
|
|
782
|
-
});
|
|
783
|
-
}
|
|
784
|
-
// noinspection JSUnusedGlobalSymbols
|
|
785
|
-
loadKeyPairsAsJwkInBrowserLocalStorage(healthcarePartyId, privKey) {
|
|
786
|
-
return this.getDataOwner(healthcarePartyId)
|
|
787
|
-
.then(({ dataOwner }) => {
|
|
788
|
-
const pubKey = this._utils.spkiToJwk(binary_utils_1.hex2ua(dataOwner.publicKey));
|
|
789
|
-
privKey.n = pubKey.n;
|
|
790
|
-
privKey.e = pubKey.e;
|
|
791
|
-
return this._RSA.importKeyPair('jwk', privKey, 'jwk', pubKey);
|
|
792
|
-
})
|
|
793
|
-
.then((keyPair) => {
|
|
794
|
-
this._RSA.rsaKeyPairs[healthcarePartyId] = keyPair;
|
|
795
|
-
return this._RSA.exportKeys(keyPair, 'jwk', 'jwk');
|
|
796
|
-
})
|
|
797
|
-
.then((exportedKeyPair) => {
|
|
798
|
-
return this._RSA.storeKeyPair(healthcarePartyId, exportedKeyPair);
|
|
799
|
-
});
|
|
800
|
-
}
|
|
801
|
-
// noinspection JSUnusedGlobalSymbols
|
|
802
|
-
loadKeyPairsInBrowserLocalStorage(healthcarePartyId, file) {
|
|
803
|
-
const fr = new FileReader();
|
|
804
|
-
return new Promise((resolve, reject) => {
|
|
805
|
-
fr.onerror = reject;
|
|
806
|
-
fr.onabort = reject;
|
|
807
|
-
fr.onload = (e) => {
|
|
808
|
-
//TODO remove any
|
|
809
|
-
const privateKey = e.target.result;
|
|
810
|
-
this.loadKeyPairsAsTextInBrowserLocalStorage(healthcarePartyId, binary_utils_1.hex2ua(privateKey)).then(resolve).catch(reject);
|
|
811
|
-
};
|
|
812
|
-
fr.readAsText(file);
|
|
813
|
-
});
|
|
814
|
-
}
|
|
815
|
-
// noinspection JSUnusedGlobalSymbols
|
|
816
|
-
saveKeychainInBrowserLocalStorage(id, keychain) {
|
|
817
|
-
localStorage.setItem(this.keychainLocalStoreIdPrefix + id, binary_utils_1.b2a(new Uint8Array(keychain).reduce((data, byte) => data + String.fromCharCode(byte), '')));
|
|
818
|
-
}
|
|
819
|
-
saveKeychainInBrowserLocalStorageAsBase64(id, keyChainB64) {
|
|
820
|
-
localStorage.setItem(this.keychainLocalStoreIdPrefix + id, keyChainB64);
|
|
821
|
-
}
|
|
822
|
-
// noinspection JSUnusedGlobalSymbols
|
|
823
|
-
saveKeychainValidityDateInBrowserLocalStorage(id, date) {
|
|
824
|
-
if (!id)
|
|
825
|
-
return;
|
|
826
|
-
if (!date) {
|
|
827
|
-
localStorage.removeItem(this.keychainValidityDateLocalStoreIdPrefix + id);
|
|
828
|
-
}
|
|
829
|
-
else {
|
|
830
|
-
localStorage.setItem(this.keychainValidityDateLocalStoreIdPrefix + id, date);
|
|
831
|
-
}
|
|
832
|
-
}
|
|
833
|
-
/**
|
|
834
|
-
* Populate the HCP.options dict with an encrypted eHealth certificate and unencryped expiry date.
|
|
835
|
-
* Any potentially unencrypted certificates will be pruned from the HCP.
|
|
836
|
-
* @param hcpId Id of the hcp to modify
|
|
837
|
-
* @returns modified HCP
|
|
838
|
-
*/
|
|
839
|
-
saveKeyChainInHCPFromLocalStorage(hcpId) {
|
|
840
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
841
|
-
return yield this.hcpartyBaseApi.getHealthcareParty(hcpId).then((hcp) => __awaiter(this, void 0, void 0, function* () {
|
|
842
|
-
let aesKey = null;
|
|
843
|
-
try {
|
|
844
|
-
aesKey = _.find(yield this.decryptAndImportAesHcPartyKeysForDelegators([hcp.id], hcp.id), (delegator) => delegator.delegatorId === hcp.id).key;
|
|
845
|
-
}
|
|
846
|
-
catch (e) {
|
|
847
|
-
console.error('Error while importing the AES key.');
|
|
848
|
-
}
|
|
849
|
-
if (!aesKey) {
|
|
850
|
-
console.error('No encryption key!');
|
|
851
|
-
}
|
|
852
|
-
const opts = hcp.options || {};
|
|
853
|
-
const crt = this.getKeychainInBrowserLocalStorageAsBase64(hcp.id);
|
|
854
|
-
if (!!aesKey && !!crt) {
|
|
855
|
-
let crtEncrypted = null;
|
|
856
|
-
try {
|
|
857
|
-
crtEncrypted = yield this.AES.encrypt(aesKey, new Uint8Array(binary_utils_1.string2ua(atob(crt))));
|
|
858
|
-
}
|
|
859
|
-
catch (e) {
|
|
860
|
-
console.error('Error while encrypting the certificate', e);
|
|
861
|
-
}
|
|
862
|
-
// add the encrypted certificate to the options
|
|
863
|
-
_.set(opts, this.hcpPreferenceKeyEhealthCert, binary_utils_1.ua2string(new Uint8Array(crtEncrypted)));
|
|
864
|
-
}
|
|
865
|
-
const crtValidityDate = this.getKeychainValidityDateInBrowserLocalStorage(hcp.id);
|
|
866
|
-
if (!!crtValidityDate) {
|
|
867
|
-
_.set(opts, this.hcpPreferenceKeyEhealthCertDate, crtValidityDate);
|
|
868
|
-
}
|
|
869
|
-
hcp.options = opts;
|
|
870
|
-
return hcp;
|
|
871
|
-
}));
|
|
872
|
-
});
|
|
873
|
-
}
|
|
874
|
-
importKeychainInBrowserFromHCP(hcpId) {
|
|
875
|
-
return this.hcpartyBaseApi.getHealthcareParty(hcpId).then((hcp) => __awaiter(this, void 0, void 0, function* () {
|
|
876
|
-
let crtCryp = null;
|
|
877
|
-
if (!!hcp.options && !!hcp.options[this.hcpPreferenceKeyEhealthCert]) {
|
|
878
|
-
crtCryp = binary_utils_1.string2ua(hcp.options[this.hcpPreferenceKeyEhealthCert]);
|
|
879
|
-
}
|
|
880
|
-
const crtValidityDate = _.get(hcp.options, this.hcpPreferenceKeyEhealthCertDate);
|
|
881
|
-
// store the validity date
|
|
882
|
-
if (!!crtValidityDate) {
|
|
883
|
-
this.saveKeychainValidityDateInBrowserLocalStorage(hcp.id, crtValidityDate);
|
|
884
|
-
}
|
|
885
|
-
let crt = null;
|
|
886
|
-
let decryptionKey = null;
|
|
887
|
-
try {
|
|
888
|
-
decryptionKey = _.find(yield this.decryptAndImportAesHcPartyKeysForDelegators([hcp.id], hcp.id), (delegator) => delegator.delegatorId === hcp.id).key;
|
|
889
|
-
}
|
|
890
|
-
catch (e) {
|
|
891
|
-
console.error('Error while importing the AES key.');
|
|
892
|
-
}
|
|
893
|
-
if (!decryptionKey) {
|
|
894
|
-
throw new Error('No encryption key! eHealth certificate cannot be decrypted.');
|
|
895
|
-
}
|
|
896
|
-
if (!!crtCryp && decryptionKey) {
|
|
897
|
-
try {
|
|
898
|
-
crt = yield this.AES.decrypt(decryptionKey, crtCryp);
|
|
899
|
-
}
|
|
900
|
-
catch (e) {
|
|
901
|
-
console.error(e);
|
|
902
|
-
}
|
|
903
|
-
}
|
|
904
|
-
if (!crt) {
|
|
905
|
-
throw new Error(`Error while saving certificate in browser local storage! Hcp ${hcp.id} has no certificate.`);
|
|
906
|
-
}
|
|
907
|
-
else {
|
|
908
|
-
this.saveKeychainInBrowserLocalStorageAsBase64(hcp.id, btoa(String.fromCharCode.apply(null, Array.from(new Uint8Array(crt)))));
|
|
909
|
-
}
|
|
910
|
-
return;
|
|
911
|
-
}));
|
|
912
|
-
}
|
|
913
|
-
/**
|
|
914
|
-
* Synchronizes the eHealth certificate from the database into the LocalStorage, returning information on the presence
|
|
915
|
-
* of certificate data in either place.
|
|
916
|
-
*
|
|
917
|
-
* @param hcpId The healthcare party id
|
|
918
|
-
* @returns A Promise for an object that represents the existence of a certificate in local storage and in the DB,
|
|
919
|
-
* through the two boolean properties "local" and "remote".
|
|
920
|
-
*/
|
|
921
|
-
syncEhealthCertificateFromDatabase(hcpId) {
|
|
922
|
-
return this.hcpartyBaseApi.getHealthcareParty(hcpId).then((hcp) => {
|
|
923
|
-
const remoteCertificate = _.get(hcp.options, this.hcpPreferenceKeyEhealthCert);
|
|
924
|
-
const localCertificate = this.getKeychainInBrowserLocalStorageAsBase64(hcp.id);
|
|
925
|
-
if (remoteCertificate) {
|
|
926
|
-
return this.importKeychainInBrowserFromHCP(hcp.id)
|
|
927
|
-
.then(() => ({ local: true, remote: true }))
|
|
928
|
-
.catch(() => ({ local: !!localCertificate, remote: true }));
|
|
929
|
-
}
|
|
930
|
-
else {
|
|
931
|
-
return { local: !!localCertificate, remote: !!remoteCertificate };
|
|
932
|
-
}
|
|
933
|
-
});
|
|
934
|
-
}
|
|
935
|
-
getKeychainInBrowserLocalStorageAsBase64(id) {
|
|
936
|
-
return localStorage.getItem(this.keychainLocalStoreIdPrefix + id);
|
|
937
|
-
}
|
|
938
|
-
getKeychainValidityDateInBrowserLocalStorage(id) {
|
|
939
|
-
return localStorage.getItem(this.keychainValidityDateLocalStoreIdPrefix + id);
|
|
940
|
-
}
|
|
941
|
-
// noinspection JSUnusedGlobalSymbols
|
|
942
|
-
loadKeychainFromBrowserLocalStorage(id) {
|
|
943
|
-
const lsItem = localStorage.getItem('org.taktik.icure.ehealth.keychain.' + id);
|
|
944
|
-
return lsItem !== null ? binary_utils_1.b64_2uas(lsItem) : null;
|
|
945
|
-
}
|
|
946
|
-
generateKeyForDelegate(ownerId, delegateId) {
|
|
947
|
-
//Preload hcp and patient because we need them and they are going to be invalidated from the caches
|
|
948
|
-
return this._utils.notConcurrent(this.generateKeyConcurrencyMap, ownerId, () => Promise.all([this.getDataOwner(ownerId), this.getDataOwner(delegateId)]).then(([{ type: ownerType, dataOwner: owner }, { dataOwner: delegate }]) => {
|
|
949
|
-
if ((owner.hcPartyKeys || {})[delegateId]) {
|
|
950
|
-
return owner;
|
|
951
|
-
}
|
|
952
|
-
const genProm = new Promise((resolve, reject) => {
|
|
953
|
-
delegate.publicKey
|
|
954
|
-
? this._AES
|
|
955
|
-
.generateCryptoKey(true)
|
|
956
|
-
.then((AESKey) => {
|
|
957
|
-
const ownerPubKey = this._utils.spkiToJwk(binary_utils_1.hex2ua(owner.publicKey));
|
|
958
|
-
const delegatePubKey = this._utils.spkiToJwk(binary_utils_1.hex2ua(delegate.publicKey));
|
|
959
|
-
return Promise.all([
|
|
960
|
-
this._RSA.importKey('jwk', ownerPubKey, ['encrypt']),
|
|
961
|
-
this._RSA.importKey('jwk', delegatePubKey, ['encrypt']),
|
|
962
|
-
]).then(([ownerImportedKey, delegateImportedKey]) => Promise.all([
|
|
963
|
-
this._RSA.encrypt(ownerImportedKey, binary_utils_1.hex2ua(AESKey)),
|
|
964
|
-
this._RSA.encrypt(delegateImportedKey, binary_utils_1.hex2ua(AESKey)),
|
|
965
|
-
]));
|
|
966
|
-
})
|
|
967
|
-
.then(([ownerKey, delegateKey]) => (owner.hcPartyKeys[delegateId] = [binary_utils_1.ua2hex(ownerKey), binary_utils_1.ua2hex(delegateKey)]))
|
|
968
|
-
.then(() => {
|
|
969
|
-
return ownerType === 'hcp'
|
|
970
|
-
? (this.dataOwnerCache[owner.id] = this.hcpartyBaseApi
|
|
971
|
-
.modifyHealthcareParty(owner)
|
|
972
|
-
.then((x) => ({ type: 'hcp', dataOwner: x }))).then((x) => resolve(['hcp', x.dataOwner]))
|
|
973
|
-
: ownerType === 'patient'
|
|
974
|
-
? (this.dataOwnerCache[owner.id] = this.patientBaseApi
|
|
975
|
-
.modifyPatient(owner)
|
|
976
|
-
.then((x) => ({ type: 'patient', dataOwner: x }))).then((x) => resolve(['patient', x.dataOwner]))
|
|
977
|
-
: (this.dataOwnerCache[owner.id] = this.deviceBaseApi
|
|
978
|
-
.updateDevice(owner)
|
|
979
|
-
.then((x) => ({ type: 'device', dataOwner: x }))).then((x) => resolve(['device', x.dataOwner]));
|
|
980
|
-
})
|
|
981
|
-
.catch((e) => reject(e))
|
|
982
|
-
: reject(new Error(`Missing public key for delegate ${delegateId}`));
|
|
983
|
-
});
|
|
984
|
-
// invalidate the hcPartyKeys cache for the delegate hcp (who was not modified, but the view for its
|
|
985
|
-
// id was updated)
|
|
986
|
-
this.hcPartyKeysRequestsCache[delegateId] = genProm.then(() => {
|
|
987
|
-
return this.forceGetHcPartyKeysForDelegate(delegateId);
|
|
988
|
-
});
|
|
989
|
-
return genProm.then((res) => {
|
|
990
|
-
return res[1];
|
|
991
|
-
});
|
|
992
|
-
}));
|
|
993
|
-
}
|
|
994
|
-
getDataOwner(ownerId) {
|
|
995
|
-
var _a;
|
|
996
|
-
return ((_a = this.dataOwnerCache[ownerId]) !== null && _a !== void 0 ? _a : (this.dataOwnerCache[ownerId] = this.patientBaseApi
|
|
997
|
-
.getPatient(ownerId)
|
|
998
|
-
.then((x) => ({ type: 'patient', dataOwner: x }))
|
|
999
|
-
.catch(() => this.deviceBaseApi.getDevice(ownerId).then((x) => ({ type: 'device', dataOwner: x })))
|
|
1000
|
-
.catch(() => this.hcpartyBaseApi.getHealthcareParty(ownerId).then((x) => ({ type: 'hcp', dataOwner: x })))
|
|
1001
|
-
.catch((e) => {
|
|
1002
|
-
delete this.dataOwnerCache[ownerId];
|
|
1003
|
-
throw e;
|
|
1004
|
-
})));
|
|
1005
|
-
}
|
|
1006
|
-
// noinspection JSUnusedGlobalSymbols
|
|
1007
|
-
checkPrivateKeyValidity(dataOwner) {
|
|
1008
|
-
return new Promise((resolve) => {
|
|
1009
|
-
this._RSA
|
|
1010
|
-
.importKey('jwk', this._utils.spkiToJwk(binary_utils_1.hex2ua(dataOwner.publicKey)), ['encrypt'])
|
|
1011
|
-
.then((k) => this._RSA.encrypt(k, binary_utils_1.utf8_2ua('shibboleth')))
|
|
1012
|
-
.then((cipher) => {
|
|
1013
|
-
const kp = this._RSA.loadKeyPairNotImported(dataOwner.id);
|
|
1014
|
-
return this._RSA
|
|
1015
|
-
.importKeyPair('jwk', kp.privateKey, 'jwk', kp.publicKey)
|
|
1016
|
-
.then((ikp) => this._RSA.decrypt(ikp.privateKey, new Uint8Array(cipher)));
|
|
1017
|
-
})
|
|
1018
|
-
.then((plainText) => {
|
|
1019
|
-
const pt = binary_utils_1.ua2utf8(plainText);
|
|
1020
|
-
console.log(pt);
|
|
1021
|
-
resolve(pt === 'shibboleth');
|
|
1022
|
-
})
|
|
1023
|
-
.catch(() => resolve(false));
|
|
1024
|
-
});
|
|
1025
|
-
}
|
|
1026
|
-
throwDetailedExceptionForInvalidParameter(argName, argValue, methodName, methodArgs) {
|
|
1027
|
-
if (argValue)
|
|
1028
|
-
return;
|
|
1029
|
-
let details = '\nMethod name: icc-crypto-x-api.' + methodName + '()\nArguments:';
|
|
1030
|
-
if (methodArgs) {
|
|
1031
|
-
try {
|
|
1032
|
-
const argsArray = [...methodArgs];
|
|
1033
|
-
_.each(argsArray, (arg, index) => (details += '\n[' + index + ']: ' + JSON.stringify(arg)));
|
|
1034
|
-
}
|
|
1035
|
-
catch (ex) {
|
|
1036
|
-
details += '; a problem occured while logging arguments details: ' + ex;
|
|
1037
|
-
}
|
|
1038
|
-
}
|
|
1039
|
-
throw '### THIS SHOULD NOT HAPPEN: ' + argName + ' has an invalid value: ' + argValue + details;
|
|
1040
|
-
}
|
|
1041
|
-
getEncryptionDecryptionKeys(dataOwnerId, document) {
|
|
1042
|
-
return !document.id
|
|
1043
|
-
? Promise.resolve(null)
|
|
1044
|
-
: this.extractKeysFromDelegationsForHcpHierarchy(dataOwnerId, document.id, (document.encryptionKeys && Object.keys(document.encryptionKeys).length && document.encryptionKeys) || document.delegations)
|
|
1045
|
-
.then(({ extractedKeys }) => _.uniq(extractedKeys))
|
|
1046
|
-
.catch(() => null);
|
|
1047
|
-
}
|
|
1048
|
-
encryptDecrypt(method, content, edKey, user, documentObject) {
|
|
1049
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1050
|
-
if (!content || !(edKey || ((user === null || user === void 0 ? void 0 : user.healthcarePartyId) && documentObject)))
|
|
1051
|
-
return content;
|
|
1052
|
-
if (edKey) {
|
|
1053
|
-
const importedEdKey = yield this._AES.importKey('raw', binary_utils_1.hex2ua(edKey.replace(/-/g, '')));
|
|
1054
|
-
try {
|
|
1055
|
-
return yield this._AES[method](importedEdKey, content);
|
|
1056
|
-
}
|
|
1057
|
-
catch (e) {
|
|
1058
|
-
return content;
|
|
1059
|
-
}
|
|
1060
|
-
}
|
|
1061
|
-
const sfks = yield this.extractKeysFromDelegationsForHcpHierarchy(user === null || user === void 0 ? void 0 : user.healthcarePartyId, documentObject === null || documentObject === void 0 ? void 0 : documentObject.id, documentObject === null || documentObject === void 0 ? void 0 : documentObject.encryptionKeys);
|
|
1062
|
-
const importedEdKey = yield this._AES.importKey('raw', binary_utils_1.hex2ua(sfks.extractedKeys[0].replace(/-/g, '')));
|
|
1063
|
-
try {
|
|
1064
|
-
return yield this._AES[method](importedEdKey, content);
|
|
1065
|
-
}
|
|
1066
|
-
catch (e) {
|
|
1067
|
-
return content;
|
|
1068
|
-
}
|
|
1069
|
-
});
|
|
1070
|
-
}
|
|
1071
|
-
}
|
|
1072
|
-
exports.IccCryptoXApi = IccCryptoXApi;
|
|
1073
|
-
//# sourceMappingURL=icc-crypto-x-api.js.map
|