@icure/cardinal-sdk 1.0.0-RC.1
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/Kermit-kermit-core.mjs +269 -0
- package/Kermit-kermit-core.mjs.map +1 -0
- package/Kermit-kermit.mjs +57 -0
- package/Kermit-kermit.mjs.map +1 -0
- package/Kotlin-DateTime-library-kotlinx-datetime.mjs +6300 -0
- package/Kotlin-DateTime-library-kotlinx-datetime.mjs.map +1 -0
- package/api/AccessLogApi.d.mts +65 -0
- package/api/AccessLogApi.mjs +2 -0
- package/api/AccessLogApi.mjs.map +1 -0
- package/api/AccessLogBasicApi.d.mts +31 -0
- package/api/AccessLogBasicApi.mjs +2 -0
- package/api/AccessLogBasicApi.mjs.map +1 -0
- package/api/AccessLogFlavouredApi.d.mts +39 -0
- package/api/AccessLogFlavouredApi.mjs +2 -0
- package/api/AccessLogFlavouredApi.mjs.map +1 -0
- package/api/AgendaApi.d.mts +20 -0
- package/api/AgendaApi.mjs +2 -0
- package/api/AgendaApi.mjs.map +1 -0
- package/api/ApplicationSettingsApi.d.mts +6 -0
- package/api/ApplicationSettingsApi.mjs +2 -0
- package/api/ApplicationSettingsApi.mjs.map +1 -0
- package/api/CalendarItemApi.d.mts +53 -0
- package/api/CalendarItemApi.mjs +2 -0
- package/api/CalendarItemApi.mjs.map +1 -0
- package/api/CalendarItemBasicApi.d.mts +18 -0
- package/api/CalendarItemBasicApi.mjs +2 -0
- package/api/CalendarItemBasicApi.mjs.map +1 -0
- package/api/CalendarItemFlavouredApi.d.mts +27 -0
- package/api/CalendarItemFlavouredApi.mjs +2 -0
- package/api/CalendarItemFlavouredApi.mjs.map +1 -0
- package/api/CardinalMaintenanceTaskApi.d.mts +10 -0
- package/api/CardinalMaintenanceTaskApi.mjs +2 -0
- package/api/CardinalMaintenanceTaskApi.mjs.map +1 -0
- package/api/ClassificationApi.d.mts +48 -0
- package/api/ClassificationApi.mjs +2 -0
- package/api/ClassificationApi.mjs.map +1 -0
- package/api/ClassificationBasicApi.d.mts +14 -0
- package/api/ClassificationBasicApi.mjs +2 -0
- package/api/ClassificationBasicApi.mjs.map +1 -0
- package/api/ClassificationFlavouredApi.d.mts +22 -0
- package/api/ClassificationFlavouredApi.mjs +2 -0
- package/api/ClassificationFlavouredApi.mjs.map +1 -0
- package/api/CodeApi.d.mts +56 -0
- package/api/CodeApi.mjs +2 -0
- package/api/CodeApi.mjs.map +1 -0
- package/api/ContactApi.d.mts +89 -0
- package/api/ContactApi.mjs +2 -0
- package/api/ContactApi.mjs.map +1 -0
- package/api/ContactBasicApi.d.mts +52 -0
- package/api/ContactBasicApi.mjs +2 -0
- package/api/ContactBasicApi.mjs.map +1 -0
- package/api/ContactFlavouredApi.d.mts +45 -0
- package/api/ContactFlavouredApi.mjs +2 -0
- package/api/ContactFlavouredApi.mjs.map +1 -0
- package/api/CryptoApi.d.mts +5 -0
- package/api/CryptoApi.mjs +2 -0
- package/api/CryptoApi.mjs.map +1 -0
- package/api/DataOwnerApi.d.mts +16 -0
- package/api/DataOwnerApi.mjs +2 -0
- package/api/DataOwnerApi.mjs.map +1 -0
- package/api/DeviceApi.d.mts +24 -0
- package/api/DeviceApi.mjs +2 -0
- package/api/DeviceApi.mjs.map +1 -0
- package/api/DocumentApi.d.mts +82 -0
- package/api/DocumentApi.mjs +2 -0
- package/api/DocumentApi.mjs.map +1 -0
- package/api/DocumentBasicApi.d.mts +27 -0
- package/api/DocumentBasicApi.mjs +2 -0
- package/api/DocumentBasicApi.mjs.map +1 -0
- package/api/DocumentFlavouredApi.d.mts +27 -0
- package/api/DocumentFlavouredApi.mjs +2 -0
- package/api/DocumentFlavouredApi.mjs.map +1 -0
- package/api/DocumentTemplateApi.d.mts +22 -0
- package/api/DocumentTemplateApi.mjs +2 -0
- package/api/DocumentTemplateApi.mjs.map +1 -0
- package/api/EntityReferenceApi.d.mts +5 -0
- package/api/EntityReferenceApi.mjs +2 -0
- package/api/EntityReferenceApi.mjs.map +1 -0
- package/api/EntityTemplateApi.d.mts +23 -0
- package/api/EntityTemplateApi.mjs +2 -0
- package/api/EntityTemplateApi.mjs.map +1 -0
- package/api/FormApi.d.mts +76 -0
- package/api/FormApi.mjs +2 -0
- package/api/FormApi.mjs.map +1 -0
- package/api/FormBasicApi.d.mts +41 -0
- package/api/FormBasicApi.mjs +2 -0
- package/api/FormBasicApi.mjs.map +1 -0
- package/api/FormFlavouredApi.d.mts +33 -0
- package/api/FormFlavouredApi.mjs +2 -0
- package/api/FormFlavouredApi.mjs.map +1 -0
- package/api/FrontEndMigrationApi.d.mts +10 -0
- package/api/FrontEndMigrationApi.mjs +2 -0
- package/api/FrontEndMigrationApi.mjs.map +1 -0
- package/api/GroupApi.d.mts +70 -0
- package/api/GroupApi.mjs +2 -0
- package/api/GroupApi.mjs.map +1 -0
- package/api/HealthElementApi.d.mts +59 -0
- package/api/HealthElementApi.mjs +2 -0
- package/api/HealthElementApi.mjs.map +1 -0
- package/api/HealthElementBasicApi.d.mts +24 -0
- package/api/HealthElementBasicApi.mjs +2 -0
- package/api/HealthElementBasicApi.mjs.map +1 -0
- package/api/HealthElementFlavouredApi.d.mts +24 -0
- package/api/HealthElementFlavouredApi.mjs +2 -0
- package/api/HealthElementFlavouredApi.mjs.map +1 -0
- package/api/HealthcarePartyApi.d.mts +58 -0
- package/api/HealthcarePartyApi.mjs +2 -0
- package/api/HealthcarePartyApi.mjs.map +1 -0
- package/api/InsuranceApi.d.mts +16 -0
- package/api/InsuranceApi.mjs +2 -0
- package/api/InsuranceApi.mjs.map +1 -0
- package/api/InvoiceApi.d.mts +89 -0
- package/api/InvoiceApi.mjs +2 -0
- package/api/InvoiceApi.mjs.map +1 -0
- package/api/InvoiceBasicApi.d.mts +53 -0
- package/api/InvoiceBasicApi.mjs +2 -0
- package/api/InvoiceBasicApi.mjs.map +1 -0
- package/api/InvoiceFlavouredApi.d.mts +61 -0
- package/api/InvoiceFlavouredApi.mjs +2 -0
- package/api/InvoiceFlavouredApi.mjs.map +1 -0
- package/api/KeywordApi.d.mts +14 -0
- package/api/KeywordApi.mjs +2 -0
- package/api/KeywordApi.mjs.map +1 -0
- package/api/MaintenanceTaskApi.d.mts +46 -0
- package/api/MaintenanceTaskApi.mjs +2 -0
- package/api/MaintenanceTaskApi.mjs.map +1 -0
- package/api/MaintenanceTaskBasicApi.d.mts +20 -0
- package/api/MaintenanceTaskBasicApi.mjs +2 -0
- package/api/MaintenanceTaskBasicApi.mjs.map +1 -0
- package/api/MaintenanceTaskFlavouredApi.d.mts +16 -0
- package/api/MaintenanceTaskFlavouredApi.mjs +2 -0
- package/api/MaintenanceTaskFlavouredApi.mjs.map +1 -0
- package/api/MedicalLocationApi.d.mts +17 -0
- package/api/MedicalLocationApi.mjs +2 -0
- package/api/MedicalLocationApi.mjs.map +1 -0
- package/api/MessageApi.d.mts +73 -0
- package/api/MessageApi.mjs +2 -0
- package/api/MessageApi.mjs.map +1 -0
- package/api/MessageBasicApi.d.mts +38 -0
- package/api/MessageBasicApi.mjs +2 -0
- package/api/MessageBasicApi.mjs.map +1 -0
- package/api/MessageFlavouredApi.d.mts +40 -0
- package/api/MessageFlavouredApi.mjs +2 -0
- package/api/MessageFlavouredApi.mjs.map +1 -0
- package/api/PatientApi.d.mts +139 -0
- package/api/PatientApi.mjs +2 -0
- package/api/PatientApi.mjs.map +1 -0
- package/api/PatientBasicApi.d.mts +98 -0
- package/api/PatientBasicApi.mjs +2 -0
- package/api/PatientBasicApi.mjs.map +1 -0
- package/api/PatientFlavouredApi.d.mts +91 -0
- package/api/PatientFlavouredApi.mjs +2 -0
- package/api/PatientFlavouredApi.mjs.map +1 -0
- package/api/PermissionApi.d.mts +4 -0
- package/api/PermissionApi.mjs +2 -0
- package/api/PermissionApi.mjs.map +1 -0
- package/api/PlaceApi.d.mts +13 -0
- package/api/PlaceApi.mjs +2 -0
- package/api/PlaceApi.mjs.map +1 -0
- package/api/ReceiptApi.d.mts +43 -0
- package/api/ReceiptApi.mjs +2 -0
- package/api/ReceiptApi.mjs.map +1 -0
- package/api/ReceiptBasicApi.d.mts +11 -0
- package/api/ReceiptBasicApi.mjs +2 -0
- package/api/ReceiptBasicApi.mjs.map +1 -0
- package/api/ReceiptFlavouredApi.d.mts +13 -0
- package/api/ReceiptFlavouredApi.mjs +2 -0
- package/api/ReceiptFlavouredApi.mjs.map +1 -0
- package/api/RecoveryApi.d.mts +23 -0
- package/api/RecoveryApi.mjs +2 -0
- package/api/RecoveryApi.mjs.map +1 -0
- package/api/RoleApi.d.mts +4 -0
- package/api/RoleApi.mjs +2 -0
- package/api/RoleApi.mjs.map +1 -0
- package/api/ShamirKeysManagerApi.d.mts +12 -0
- package/api/ShamirKeysManagerApi.mjs +2 -0
- package/api/ShamirKeysManagerApi.mjs.map +1 -0
- package/api/SystemApi.d.mts +39 -0
- package/api/SystemApi.mjs +2 -0
- package/api/SystemApi.mjs.map +1 -0
- package/api/TarificationApi.d.mts +27 -0
- package/api/TarificationApi.mjs +2 -0
- package/api/TarificationApi.mjs.map +1 -0
- package/api/TimeTableApi.d.mts +45 -0
- package/api/TimeTableApi.mjs +2 -0
- package/api/TimeTableApi.mjs.map +1 -0
- package/api/TimeTableBasicApi.d.mts +16 -0
- package/api/TimeTableBasicApi.mjs +2 -0
- package/api/TimeTableBasicApi.mjs.map +1 -0
- package/api/TimeTableFlavouredApi.d.mts +18 -0
- package/api/TimeTableFlavouredApi.mjs +2 -0
- package/api/TimeTableFlavouredApi.mjs.map +1 -0
- package/api/TopicApi.d.mts +52 -0
- package/api/TopicApi.mjs +2 -0
- package/api/TopicApi.mjs.map +1 -0
- package/api/TopicBasicApi.d.mts +23 -0
- package/api/TopicBasicApi.mjs +2 -0
- package/api/TopicBasicApi.mjs.map +1 -0
- package/api/TopicFlavouredApi.d.mts +19 -0
- package/api/TopicFlavouredApi.mjs +2 -0
- package/api/TopicFlavouredApi.mjs.map +1 -0
- package/api/UserApi.d.mts +69 -0
- package/api/UserApi.mjs +2 -0
- package/api/UserApi.mjs.map +1 -0
- package/api.d.mts +66 -0
- package/api.mjs +67 -0
- package/api.mjs.map +1 -0
- package/cardinal-sdk-ts.d.mts +372 -0
- package/cardinal-sdk-ts.mjs +127200 -0
- package/cardinal-sdk-ts.mjs.map +1 -0
- package/cardinal-sdk.mjs +304194 -0
- package/cardinal-sdk.mjs.map +1 -0
- package/crypto/CryptoService.d.mts +85 -0
- package/crypto/CryptoService.mjs +26 -0
- package/crypto/CryptoService.mjs.map +1 -0
- package/crypto/CryptoStrategies.d.mts +144 -0
- package/crypto/CryptoStrategies.mjs +2 -0
- package/crypto/CryptoStrategies.mjs.map +1 -0
- package/crypto/entities/AccessLogShareOptions.d.mts +10 -0
- package/crypto/entities/AccessLogShareOptions.mjs +21 -0
- package/crypto/entities/AccessLogShareOptions.mjs.map +1 -0
- package/crypto/entities/CalendarItemShareOptions.d.mts +10 -0
- package/crypto/entities/CalendarItemShareOptions.mjs +21 -0
- package/crypto/entities/CalendarItemShareOptions.mjs.map +1 -0
- package/crypto/entities/ClassificationShareOptions.d.mts +10 -0
- package/crypto/entities/ClassificationShareOptions.mjs +21 -0
- package/crypto/entities/ClassificationShareOptions.mjs.map +1 -0
- package/crypto/entities/ContactShareOptions.d.mts +10 -0
- package/crypto/entities/ContactShareOptions.mjs +21 -0
- package/crypto/entities/ContactShareOptions.mjs.map +1 -0
- package/crypto/entities/DelegateShareOptions.d.mts +9 -0
- package/crypto/entities/DelegateShareOptions.mjs +9 -0
- package/crypto/entities/DelegateShareOptions.mjs.map +1 -0
- package/crypto/entities/DocumentShareOptions.d.mts +10 -0
- package/crypto/entities/DocumentShareOptions.mjs +21 -0
- package/crypto/entities/DocumentShareOptions.mjs.map +1 -0
- package/crypto/entities/EntityAccessInformation.d.mts +8 -0
- package/crypto/entities/EntityAccessInformation.mjs +7 -0
- package/crypto/entities/EntityAccessInformation.mjs.map +1 -0
- package/crypto/entities/EntityWithTypeInfo.d.mts +6 -0
- package/crypto/entities/EntityWithTypeInfo.mjs +7 -0
- package/crypto/entities/EntityWithTypeInfo.mjs.map +1 -0
- package/crypto/entities/FailedRequestDetails.d.mts +11 -0
- package/crypto/entities/FailedRequestDetails.mjs +12 -0
- package/crypto/entities/FailedRequestDetails.mjs.map +1 -0
- package/crypto/entities/FormShareOptions.d.mts +10 -0
- package/crypto/entities/FormShareOptions.mjs +21 -0
- package/crypto/entities/FormShareOptions.mjs.map +1 -0
- package/crypto/entities/HealthElementShareOptions.d.mts +10 -0
- package/crypto/entities/HealthElementShareOptions.mjs +21 -0
- package/crypto/entities/HealthElementShareOptions.mjs.map +1 -0
- package/crypto/entities/InvoiceShareOptions.d.mts +10 -0
- package/crypto/entities/InvoiceShareOptions.mjs +21 -0
- package/crypto/entities/InvoiceShareOptions.mjs.map +1 -0
- package/crypto/entities/MaintenanceTaskShareOptions.d.mts +9 -0
- package/crypto/entities/MaintenanceTaskShareOptions.mjs +18 -0
- package/crypto/entities/MaintenanceTaskShareOptions.mjs.map +1 -0
- package/crypto/entities/MessageShareOptions.d.mts +10 -0
- package/crypto/entities/MessageShareOptions.mjs +21 -0
- package/crypto/entities/MessageShareOptions.mjs.map +1 -0
- package/crypto/entities/PatientShareOptions.d.mts +9 -0
- package/crypto/entities/PatientShareOptions.mjs +18 -0
- package/crypto/entities/PatientShareOptions.mjs.map +1 -0
- package/crypto/entities/ReceiptShareOptions.d.mts +9 -0
- package/crypto/entities/ReceiptShareOptions.mjs +18 -0
- package/crypto/entities/ReceiptShareOptions.mjs.map +1 -0
- package/crypto/entities/RecoveryDataKey.d.mts +2 -0
- package/crypto/entities/RecoveryDataKey.mjs +2 -0
- package/crypto/entities/RecoveryDataKey.mjs.map +1 -0
- package/crypto/entities/RecoveryDataUseFailureReason.d.mts +6 -0
- package/crypto/entities/RecoveryDataUseFailureReason.mjs +9 -0
- package/crypto/entities/RecoveryDataUseFailureReason.mjs.map +1 -0
- package/crypto/entities/RecoveryResult.d.mts +14 -0
- package/crypto/entities/RecoveryResult.mjs +18 -0
- package/crypto/entities/RecoveryResult.mjs.map +1 -0
- package/crypto/entities/SecretIdOption.d.mts +14 -0
- package/crypto/entities/SecretIdOption.mjs +18 -0
- package/crypto/entities/SecretIdOption.mjs.map +1 -0
- package/crypto/entities/SecretIdShareOptions.d.mts +14 -0
- package/crypto/entities/SecretIdShareOptions.mjs +20 -0
- package/crypto/entities/SecretIdShareOptions.mjs.map +1 -0
- package/crypto/entities/SecretIdUseOption.d.mts +14 -0
- package/crypto/entities/SecretIdUseOption.mjs +18 -0
- package/crypto/entities/SecretIdUseOption.mjs.map +1 -0
- package/crypto/entities/ShamirUpdateRequest.d.mts +5 -0
- package/crypto/entities/ShamirUpdateRequest.mjs +8 -0
- package/crypto/entities/ShamirUpdateRequest.mjs.map +1 -0
- package/crypto/entities/ShareAllPatientDataOptions.d.mts +45 -0
- package/crypto/entities/ShareAllPatientDataOptions.mjs +55 -0
- package/crypto/entities/ShareAllPatientDataOptions.mjs.map +1 -0
- package/crypto/entities/ShareMetadataBehaviour.d.mts +5 -0
- package/crypto/entities/ShareMetadataBehaviour.mjs +8 -0
- package/crypto/entities/ShareMetadataBehaviour.mjs.map +1 -0
- package/crypto/entities/SimpleShareResult.d.mts +15 -0
- package/crypto/entities/SimpleShareResult.mjs +18 -0
- package/crypto/entities/SimpleShareResult.mjs.map +1 -0
- package/crypto/entities/TimeTableShareOptions.d.mts +9 -0
- package/crypto/entities/TimeTableShareOptions.mjs +18 -0
- package/crypto/entities/TimeTableShareOptions.mjs.map +1 -0
- package/crypto/entities/TopicShareOptions.d.mts +10 -0
- package/crypto/entities/TopicShareOptions.mjs +21 -0
- package/crypto/entities/TopicShareOptions.mjs.map +1 -0
- package/crypto.d.mts +28 -0
- package/crypto.mjs +29 -0
- package/crypto.mjs.map +1 -0
- package/filters/AccessLogFilters.d.mts +37 -0
- package/filters/AccessLogFilters.mjs +11 -0
- package/filters/AccessLogFilters.mjs.map +1 -0
- package/filters/AgendaFilters.d.mts +9 -0
- package/filters/AgendaFilters.mjs +8 -0
- package/filters/AgendaFilters.mjs.map +1 -0
- package/filters/CalendarItemFilters.d.mts +33 -0
- package/filters/CalendarItemFilters.mjs +13 -0
- package/filters/CalendarItemFilters.mjs.map +1 -0
- package/filters/ClassificationFilters.d.mts +27 -0
- package/filters/ClassificationFilters.mjs +9 -0
- package/filters/ClassificationFilters.mjs.map +1 -0
- package/filters/CodeFilters.d.mts +24 -0
- package/filters/CodeFilters.mjs +11 -0
- package/filters/CodeFilters.mjs.map +1 -0
- package/filters/ContactFilters.d.mts +82 -0
- package/filters/ContactFilters.mjs +31 -0
- package/filters/ContactFilters.mjs.map +1 -0
- package/filters/DeviceFilters.d.mts +9 -0
- package/filters/DeviceFilters.mjs +8 -0
- package/filters/DeviceFilters.mjs.map +1 -0
- package/filters/DocumentFilters.d.mts +32 -0
- package/filters/DocumentFilters.mjs +13 -0
- package/filters/DocumentFilters.mjs.map +1 -0
- package/filters/FormFilters.d.mts +35 -0
- package/filters/FormFilters.mjs +13 -0
- package/filters/FormFilters.mjs.map +1 -0
- package/filters/GroupFilters.d.mts +9 -0
- package/filters/GroupFilters.mjs +8 -0
- package/filters/GroupFilters.mjs.map +1 -0
- package/filters/HealthElementFilters.d.mts +51 -0
- package/filters/HealthElementFilters.mjs +24 -0
- package/filters/HealthElementFilters.mjs.map +1 -0
- package/filters/HealthcarePartyFilters.d.mts +24 -0
- package/filters/HealthcarePartyFilters.mjs +14 -0
- package/filters/HealthcarePartyFilters.mjs.map +1 -0
- package/filters/MaintenanceTaskFilters.d.mts +14 -0
- package/filters/MaintenanceTaskFilters.mjs +12 -0
- package/filters/MaintenanceTaskFilters.mjs.map +1 -0
- package/filters/MedicalLocationFilters.d.mts +8 -0
- package/filters/MedicalLocationFilters.mjs +7 -0
- package/filters/MedicalLocationFilters.mjs.map +1 -0
- package/filters/MessageFilters.d.mts +45 -0
- package/filters/MessageFilters.mjs +23 -0
- package/filters/MessageFilters.mjs.map +1 -0
- package/filters/MetaFilters.d.mts +41 -0
- package/filters/MetaFilters.mjs +11 -0
- package/filters/MetaFilters.mjs.map +1 -0
- package/filters/PatientFilters.d.mts +51 -0
- package/filters/PatientFilters.mjs +30 -0
- package/filters/PatientFilters.mjs.map +1 -0
- package/filters/ServiceFilters.d.mts +64 -0
- package/filters/ServiceFilters.mjs +26 -0
- package/filters/ServiceFilters.mjs.map +1 -0
- package/filters/TimeTableFilters.d.mts +12 -0
- package/filters/TimeTableFilters.mjs +7 -0
- package/filters/TimeTableFilters.mjs.map +1 -0
- package/filters/TopicFilters.d.mts +9 -0
- package/filters/TopicFilters.mjs +8 -0
- package/filters/TopicFilters.mjs.map +1 -0
- package/filters/UserFilters.d.mts +11 -0
- package/filters/UserFilters.mjs +10 -0
- package/filters/UserFilters.mjs.map +1 -0
- package/filters.d.mts +21 -0
- package/filters.mjs +22 -0
- package/filters.mjs.map +1 -0
- package/kotlin-kotlin-stdlib.mjs +16187 -0
- package/kotlin-kotlin-stdlib.mjs.map +1 -0
- package/kotlin-kotlinx-atomicfu-runtime.mjs +4 -0
- package/kotlin-kotlinx-atomicfu-runtime.mjs.map +1 -0
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.mjs +4 -0
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.mjs.map +1 -0
- package/kotlinx-atomicfu.mjs +248 -0
- package/kotlinx-atomicfu.mjs.map +1 -0
- package/kotlinx-coroutines-core.mjs +11012 -0
- package/kotlinx-coroutines-core.mjs.map +1 -0
- package/kotlinx-serialization-kotlinx-serialization-core.mjs +6497 -0
- package/kotlinx-serialization-kotlinx-serialization-core.mjs.map +1 -0
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +6266 -0
- package/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -0
- package/kryptom-lib.mjs +6532 -0
- package/kryptom-lib.mjs.map +1 -0
- package/ktor-ktor-client-ktor-client-core.mjs +8735 -0
- package/ktor-ktor-client-ktor-client-core.mjs.map +1 -0
- package/ktor-ktor-client-ktor-client-js.mjs +4 -0
- package/ktor-ktor-client-ktor-client-js.mjs.map +1 -0
- package/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.mjs +650 -0
- package/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.mjs.map +1 -0
- package/ktor-ktor-client-ktor-client-plugins-ktor-client-websockets.mjs +4 -0
- package/ktor-ktor-client-ktor-client-plugins-ktor-client-websockets.mjs.map +1 -0
- package/ktor-ktor-http.mjs +3315 -0
- package/ktor-ktor-http.mjs.map +1 -0
- package/ktor-ktor-io.mjs +7164 -0
- package/ktor-ktor-io.mjs.map +1 -0
- package/ktor-ktor-shared-ktor-events.mjs +81 -0
- package/ktor-ktor-shared-ktor-events.mjs.map +1 -0
- package/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.mjs +46 -0
- package/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.mjs.map +1 -0
- package/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.mjs +867 -0
- package/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.mjs.map +1 -0
- package/ktor-ktor-shared-ktor-serialization.mjs +370 -0
- package/ktor-ktor-shared-ktor-serialization.mjs.map +1 -0
- package/ktor-ktor-shared-ktor-sse.mjs +51 -0
- package/ktor-ktor-shared-ktor-sse.mjs.map +1 -0
- package/ktor-ktor-shared-ktor-websocket-serialization.mjs +4 -0
- package/ktor-ktor-shared-ktor-websocket-serialization.mjs.map +1 -0
- package/ktor-ktor-shared-ktor-websockets.mjs +2347 -0
- package/ktor-ktor-shared-ktor-websockets.mjs.map +1 -0
- package/ktor-ktor-utils.mjs +2276 -0
- package/ktor-ktor-utils.mjs.map +1 -0
- package/model/AccessLog.d.mts +83 -0
- package/model/AccessLog.mjs +153 -0
- package/model/AccessLog.mjs.map +1 -0
- package/model/Agenda.d.mts +21 -0
- package/model/Agenda.mjs +48 -0
- package/model/Agenda.mjs.map +1 -0
- package/model/ApplicationSettings.d.mts +20 -0
- package/model/ApplicationSettings.mjs +42 -0
- package/model/ApplicationSettings.mjs.map +1 -0
- package/model/BooleanResponse.d.mts +4 -0
- package/model/BooleanResponse.mjs +7 -0
- package/model/BooleanResponse.mjs.map +1 -0
- package/model/CalendarItem.d.mts +140 -0
- package/model/CalendarItem.mjs +261 -0
- package/model/CalendarItem.mjs.map +1 -0
- package/model/Classification.d.mts +74 -0
- package/model/Classification.mjs +135 -0
- package/model/Classification.mjs.map +1 -0
- package/model/Code.d.mts +35 -0
- package/model/Code.mjs +63 -0
- package/model/Code.mjs.map +1 -0
- package/model/Contact.d.mts +122 -0
- package/model/Contact.mjs +207 -0
- package/model/Contact.mjs.map +1 -0
- package/model/CryptoActorStub.d.mts +33 -0
- package/model/CryptoActorStub.mjs +30 -0
- package/model/CryptoActorStub.mjs.map +1 -0
- package/model/CryptoActorStubWithType.d.mts +7 -0
- package/model/CryptoActorStubWithType.mjs +7 -0
- package/model/CryptoActorStubWithType.mjs.map +1 -0
- package/model/DataOwnerRegistrationSuccess.d.mts +6 -0
- package/model/DataOwnerRegistrationSuccess.mjs +9 -0
- package/model/DataOwnerRegistrationSuccess.mjs.map +1 -0
- package/model/DataOwnerType.d.mts +5 -0
- package/model/DataOwnerType.mjs +8 -0
- package/model/DataOwnerType.mjs.map +1 -0
- package/model/DataOwnerWithType.d.mts +21 -0
- package/model/DataOwnerWithType.mjs +25 -0
- package/model/DataOwnerWithType.mjs.map +1 -0
- package/model/DatabaseInitialisation.d.mts +10 -0
- package/model/DatabaseInitialisation.mjs +17 -0
- package/model/DatabaseInitialisation.mjs.map +1 -0
- package/model/Device.d.mts +55 -0
- package/model/Device.mjs +88 -0
- package/model/Device.mjs.map +1 -0
- package/model/Document.d.mts +133 -0
- package/model/Document.mjs +231 -0
- package/model/Document.mjs.map +1 -0
- package/model/DocumentTemplate.d.mts +33 -0
- package/model/DocumentTemplate.mjs +78 -0
- package/model/DocumentTemplate.mjs.map +1 -0
- package/model/EntityReference.d.mts +8 -0
- package/model/EntityReference.mjs +18 -0
- package/model/EntityReference.mjs.map +1 -0
- package/model/EntityTemplate.d.mts +14 -0
- package/model/EntityTemplate.mjs +36 -0
- package/model/EntityTemplate.mjs.map +1 -0
- package/model/Form.d.mts +98 -0
- package/model/Form.mjs +183 -0
- package/model/Form.mjs.map +1 -0
- package/model/FormTemplate.d.mts +28 -0
- package/model/FormTemplate.mjs +69 -0
- package/model/FormTemplate.mjs.map +1 -0
- package/model/FrontEndMigration.d.mts +19 -0
- package/model/FrontEndMigration.mjs +45 -0
- package/model/FrontEndMigration.mjs.map +1 -0
- package/model/Group.d.mts +32 -0
- package/model/Group.mjs +52 -0
- package/model/Group.mjs.map +1 -0
- package/model/GroupDeletionReport.d.mts +6 -0
- package/model/GroupDeletionReport.mjs +11 -0
- package/model/GroupDeletionReport.mjs.map +1 -0
- package/model/HealthElement.d.mts +122 -0
- package/model/HealthElement.mjs +219 -0
- package/model/HealthElement.mjs.map +1 -0
- package/model/HealthcareParty.d.mts +100 -0
- package/model/HealthcareParty.mjs +169 -0
- package/model/HealthcareParty.mjs.map +1 -0
- package/model/IcureStub.d.mts +30 -0
- package/model/IcureStub.mjs +51 -0
- package/model/IcureStub.mjs.map +1 -0
- package/model/IdWithRev.d.mts +5 -0
- package/model/IdWithRev.mjs +12 -0
- package/model/IdWithRev.mjs.map +1 -0
- package/model/IndexingInfo.d.mts +6 -0
- package/model/IndexingInfo.mjs +9 -0
- package/model/IndexingInfo.mjs.map +1 -0
- package/model/Insurance.d.mts +18 -0
- package/model/Insurance.mjs +37 -0
- package/model/Insurance.mjs.map +1 -0
- package/model/Invoice.d.mts +246 -0
- package/model/Invoice.mjs +441 -0
- package/model/Invoice.mjs.map +1 -0
- package/model/Keyword.d.mts +21 -0
- package/model/Keyword.mjs +48 -0
- package/model/Keyword.mjs.map +1 -0
- package/model/ListOfIds.d.mts +4 -0
- package/model/ListOfIds.mjs +9 -0
- package/model/ListOfIds.mjs.map +1 -0
- package/model/ListOfProperties.d.mts +5 -0
- package/model/ListOfProperties.mjs +8 -0
- package/model/ListOfProperties.mjs.map +1 -0
- package/model/MaintenanceTask.d.mts +80 -0
- package/model/MaintenanceTask.mjs +142 -0
- package/model/MaintenanceTask.mjs.map +1 -0
- package/model/MedicalLocation.d.mts +26 -0
- package/model/MedicalLocation.mjs +54 -0
- package/model/MedicalLocation.mjs.map +1 -0
- package/model/Message.d.mts +157 -0
- package/model/Message.mjs +249 -0
- package/model/Message.mjs.map +1 -0
- package/model/PaginatedDocumentKeyIdPair.d.mts +5 -0
- package/model/PaginatedDocumentKeyIdPair.mjs +12 -0
- package/model/PaginatedDocumentKeyIdPair.mjs.map +1 -0
- package/model/PaginatedList.d.mts +6 -0
- package/model/PaginatedList.mjs +11 -0
- package/model/PaginatedList.mjs.map +1 -0
- package/model/Patient.d.mts +295 -0
- package/model/Patient.mjs +500 -0
- package/model/Patient.mjs.map +1 -0
- package/model/Place.d.mts +11 -0
- package/model/Place.mjs +21 -0
- package/model/Place.mjs.map +1 -0
- package/model/PropertyStub.d.mts +29 -0
- package/model/PropertyStub.mjs +45 -0
- package/model/PropertyStub.mjs.map +1 -0
- package/model/PropertyTypeStub.d.mts +6 -0
- package/model/PropertyTypeStub.mjs +11 -0
- package/model/PropertyTypeStub.mjs.map +1 -0
- package/model/PublicKey.d.mts +5 -0
- package/model/PublicKey.mjs +12 -0
- package/model/PublicKey.mjs.map +1 -0
- package/model/Receipt.d.mts +87 -0
- package/model/Receipt.mjs +147 -0
- package/model/Receipt.mjs.map +1 -0
- package/model/RegistrationInformation.d.mts +9 -0
- package/model/RegistrationInformation.mjs +18 -0
- package/model/RegistrationInformation.mjs.map +1 -0
- package/model/RegistrationSuccess.d.mts +6 -0
- package/model/RegistrationSuccess.mjs +9 -0
- package/model/RegistrationSuccess.mjs.map +1 -0
- package/model/Replication.d.mts +13 -0
- package/model/Replication.mjs +24 -0
- package/model/Replication.mjs.map +1 -0
- package/model/ReplicationInfo.d.mts +7 -0
- package/model/ReplicationInfo.mjs +18 -0
- package/model/ReplicationInfo.mjs.map +1 -0
- package/model/Role.d.mts +9 -0
- package/model/Role.mjs +21 -0
- package/model/Role.mjs.map +1 -0
- package/model/Tarification.d.mts +48 -0
- package/model/Tarification.mjs +87 -0
- package/model/Tarification.mjs.map +1 -0
- package/model/TimeTable.d.mts +81 -0
- package/model/TimeTable.mjs +147 -0
- package/model/TimeTable.mjs.map +1 -0
- package/model/Topic.d.mts +90 -0
- package/model/Topic.mjs +153 -0
- package/model/Topic.mjs.map +1 -0
- package/model/TopicRole.d.mts +5 -0
- package/model/TopicRole.mjs +8 -0
- package/model/TopicRole.mjs.map +1 -0
- package/model/User.d.mts +50 -0
- package/model/User.mjs +91 -0
- package/model/User.mjs.map +1 -0
- package/model/UserGroup.d.mts +16 -0
- package/model/UserGroup.mjs +41 -0
- package/model/UserGroup.mjs.map +1 -0
- package/model/base/AppendixType.d.mts +5 -0
- package/model/base/AppendixType.mjs +8 -0
- package/model/base/AppendixType.mjs.map +1 -0
- package/model/base/CodeFlag.d.mts +80 -0
- package/model/base/CodeFlag.mjs +83 -0
- package/model/base/CodeFlag.mjs.map +1 -0
- package/model/base/CodeIdentification.d.mts +10 -0
- package/model/base/CodeIdentification.mjs +3 -0
- package/model/base/CodeIdentification.mjs.map +1 -0
- package/model/base/CodeStub.d.mts +13 -0
- package/model/base/CodeStub.mjs +26 -0
- package/model/base/CodeStub.mjs.map +1 -0
- package/model/base/CryptoActor.d.mts +27 -0
- package/model/base/CryptoActor.mjs +2 -0
- package/model/base/CryptoActor.mjs.map +1 -0
- package/model/base/DataOwner.d.mts +4 -0
- package/model/base/DataOwner.mjs +2 -0
- package/model/base/DataOwner.mjs.map +1 -0
- package/model/base/HasCodes.d.mts +4 -0
- package/model/base/HasCodes.mjs +2 -0
- package/model/base/HasCodes.mjs.map +1 -0
- package/model/base/HasEncryptionMetadata.d.mts +16 -0
- package/model/base/HasEncryptionMetadata.mjs +2 -0
- package/model/base/HasEncryptionMetadata.mjs.map +1 -0
- package/model/base/HasTags.d.mts +4 -0
- package/model/base/HasTags.mjs +2 -0
- package/model/base/HasTags.mjs.map +1 -0
- package/model/base/ICureDocument.d.mts +11 -0
- package/model/base/ICureDocument.mjs +2 -0
- package/model/base/ICureDocument.mjs.map +1 -0
- package/model/base/Identifiable.d.mts +3 -0
- package/model/base/Identifiable.mjs +3 -0
- package/model/base/Identifiable.mjs.map +1 -0
- package/model/base/Identifier.d.mts +12 -0
- package/model/base/Identifier.mjs +29 -0
- package/model/base/Identifier.mjs.map +1 -0
- package/model/base/LinkQualification.d.mts +26 -0
- package/model/base/LinkQualification.mjs +29 -0
- package/model/base/LinkQualification.mjs.map +1 -0
- package/model/base/Named.d.mts +3 -0
- package/model/base/Named.mjs +3 -0
- package/model/base/Named.mjs.map +1 -0
- package/model/base/ParticipantType.d.mts +15 -0
- package/model/base/ParticipantType.mjs +18 -0
- package/model/base/ParticipantType.mjs.map +1 -0
- package/model/base/Person.d.mts +14 -0
- package/model/base/Person.mjs +2 -0
- package/model/base/Person.mjs.map +1 -0
- package/model/base/ReportVersion.d.mts +3 -0
- package/model/base/ReportVersion.mjs +6 -0
- package/model/base/ReportVersion.mjs.map +1 -0
- package/model/base/StoredDocument.d.mts +4 -0
- package/model/base/StoredDocument.mjs +2 -0
- package/model/base/StoredDocument.mjs.map +1 -0
- package/model/base/Versionable.d.mts +4 -0
- package/model/base/Versionable.mjs +2 -0
- package/model/base/Versionable.mjs.map +1 -0
- package/model/couchdb/Basic.d.mts +5 -0
- package/model/couchdb/Basic.mjs +8 -0
- package/model/couchdb/Basic.mjs.map +1 -0
- package/model/couchdb/DatabaseInfo.d.mts +13 -0
- package/model/couchdb/DatabaseInfo.mjs +36 -0
- package/model/couchdb/DatabaseInfo.mjs.map +1 -0
- package/model/couchdb/DesignDocument.d.mts +25 -0
- package/model/couchdb/DesignDocument.mjs +33 -0
- package/model/couchdb/DesignDocument.mjs.map +1 -0
- package/model/couchdb/DocIdentifier.d.mts +5 -0
- package/model/couchdb/DocIdentifier.mjs +12 -0
- package/model/couchdb/DocIdentifier.mjs.map +1 -0
- package/model/couchdb/GroupDatabasesInfo.d.mts +7 -0
- package/model/couchdb/GroupDatabasesInfo.mjs +8 -0
- package/model/couchdb/GroupDatabasesInfo.mjs.map +1 -0
- package/model/couchdb/Remote.d.mts +6 -0
- package/model/couchdb/Remote.mjs +9 -0
- package/model/couchdb/Remote.mjs.map +1 -0
- package/model/couchdb/RemoteAuthentication.d.mts +5 -0
- package/model/couchdb/RemoteAuthentication.mjs +8 -0
- package/model/couchdb/RemoteAuthentication.mjs.map +1 -0
- package/model/couchdb/ReplicationStats.d.mts +12 -0
- package/model/couchdb/ReplicationStats.mjs +33 -0
- package/model/couchdb/ReplicationStats.mjs.map +1 -0
- package/model/couchdb/ReplicatorDocument.d.mts +24 -0
- package/model/couchdb/ReplicatorDocument.mjs +48 -0
- package/model/couchdb/ReplicatorDocument.mjs.map +1 -0
- package/model/couchdb/SortDirection.d.mts +4 -0
- package/model/couchdb/SortDirection.mjs +7 -0
- package/model/couchdb/SortDirection.mjs.map +1 -0
- package/model/couchdb/View.d.mts +5 -0
- package/model/couchdb/View.mjs +10 -0
- package/model/couchdb/View.mjs.map +1 -0
- package/model/data/LabelledOccurence.d.mts +5 -0
- package/model/data/LabelledOccurence.mjs +8 -0
- package/model/data/LabelledOccurence.mjs.map +1 -0
- package/model/embed/AccessLevel.d.mts +4 -0
- package/model/embed/AccessLevel.mjs +7 -0
- package/model/embed/AccessLevel.mjs.map +1 -0
- package/model/embed/Address.d.mts +54 -0
- package/model/embed/Address.mjs +93 -0
- package/model/embed/Address.mjs.map +1 -0
- package/model/embed/AddressType.d.mts +14 -0
- package/model/embed/AddressType.mjs +17 -0
- package/model/embed/AddressType.mjs.map +1 -0
- package/model/embed/AdministrationQuantity.d.mts +7 -0
- package/model/embed/AdministrationQuantity.mjs +14 -0
- package/model/embed/AdministrationQuantity.mjs.map +1 -0
- package/model/embed/AgreementAppendix.d.mts +7 -0
- package/model/embed/AgreementAppendix.mjs +18 -0
- package/model/embed/AgreementAppendix.mjs.map +1 -0
- package/model/embed/Annotation.d.mts +17 -0
- package/model/embed/Annotation.mjs +36 -0
- package/model/embed/Annotation.mjs.map +1 -0
- package/model/embed/AuthenticationClass.d.mts +8 -0
- package/model/embed/AuthenticationClass.mjs +11 -0
- package/model/embed/AuthenticationClass.mjs.map +1 -0
- package/model/embed/CalendarItemTag.d.mts +7 -0
- package/model/embed/CalendarItemTag.mjs +18 -0
- package/model/embed/CalendarItemTag.mjs.map +1 -0
- package/model/embed/CareTeamMember.d.mts +29 -0
- package/model/embed/CareTeamMember.mjs +45 -0
- package/model/embed/CareTeamMember.mjs.map +1 -0
- package/model/embed/CareTeamMemberType.d.mts +5 -0
- package/model/embed/CareTeamMemberType.mjs +8 -0
- package/model/embed/CareTeamMemberType.mjs.map +1 -0
- package/model/embed/CareTeamMembership.d.mts +28 -0
- package/model/embed/CareTeamMembership.mjs +45 -0
- package/model/embed/CareTeamMembership.mjs.map +1 -0
- package/model/embed/Content.d.mts +54 -0
- package/model/embed/Content.mjs +93 -0
- package/model/embed/Content.mjs.map +1 -0
- package/model/embed/ContractChangeType.d.mts +6 -0
- package/model/embed/ContractChangeType.mjs +9 -0
- package/model/embed/ContractChangeType.mjs.map +1 -0
- package/model/embed/DataAttachment.d.mts +6 -0
- package/model/embed/DataAttachment.mjs +15 -0
- package/model/embed/DataAttachment.mjs.map +1 -0
- package/model/embed/DatabaseSynchronization.d.mts +14 -0
- package/model/embed/DatabaseSynchronization.mjs +26 -0
- package/model/embed/DatabaseSynchronization.mjs.map +1 -0
- package/model/embed/DeactivationReason.d.mts +9 -0
- package/model/embed/DeactivationReason.mjs +12 -0
- package/model/embed/DeactivationReason.mjs.map +1 -0
- package/model/embed/Delegation.d.mts +8 -0
- package/model/embed/Delegation.mjs +17 -0
- package/model/embed/Delegation.mjs.map +1 -0
- package/model/embed/DelegationTag.d.mts +22 -0
- package/model/embed/DelegationTag.mjs +25 -0
- package/model/embed/DelegationTag.mjs.map +1 -0
- package/model/embed/DeletedAttachment.d.mts +7 -0
- package/model/embed/DeletedAttachment.mjs +18 -0
- package/model/embed/DeletedAttachment.mjs.map +1 -0
- package/model/embed/DocumentGroup.d.mts +5 -0
- package/model/embed/DocumentGroup.mjs +12 -0
- package/model/embed/DocumentGroup.mjs.map +1 -0
- package/model/embed/DocumentLocation.d.mts +4 -0
- package/model/embed/DocumentLocation.mjs +7 -0
- package/model/embed/DocumentLocation.mjs.map +1 -0
- package/model/embed/DocumentStatus.d.mts +11 -0
- package/model/embed/DocumentStatus.mjs +14 -0
- package/model/embed/DocumentStatus.mjs.map +1 -0
- package/model/embed/DocumentType.d.mts +41 -0
- package/model/embed/DocumentType.mjs +44 -0
- package/model/embed/DocumentType.mjs.map +1 -0
- package/model/embed/Duration.d.mts +6 -0
- package/model/embed/Duration.mjs +11 -0
- package/model/embed/Duration.mjs.map +1 -0
- package/model/embed/Employer.d.mts +7 -0
- package/model/embed/Employer.mjs +11 -0
- package/model/embed/Employer.mjs.map +1 -0
- package/model/embed/EmploymentInfo.d.mts +9 -0
- package/model/embed/EmploymentInfo.mjs +17 -0
- package/model/embed/EmploymentInfo.mjs.map +1 -0
- package/model/embed/Encryptable.d.mts +4 -0
- package/model/embed/Encryptable.mjs +2 -0
- package/model/embed/Encryptable.mjs.map +1 -0
- package/model/embed/Episode.d.mts +30 -0
- package/model/embed/Episode.mjs +51 -0
- package/model/embed/Episode.mjs.map +1 -0
- package/model/embed/FinancialInstitutionInformation.d.mts +36 -0
- package/model/embed/FinancialInstitutionInformation.mjs +63 -0
- package/model/embed/FinancialInstitutionInformation.mjs.map +1 -0
- package/model/embed/FlatRateTarification.d.mts +35 -0
- package/model/embed/FlatRateTarification.mjs +45 -0
- package/model/embed/FlatRateTarification.mjs.map +1 -0
- package/model/embed/FlatRateType.d.mts +6 -0
- package/model/embed/FlatRateType.mjs +9 -0
- package/model/embed/FlatRateType.mjs.map +1 -0
- package/model/embed/FlowItem.d.mts +36 -0
- package/model/embed/FlowItem.mjs +105 -0
- package/model/embed/FlowItem.mjs.map +1 -0
- package/model/embed/FrontEndMigrationStatus.d.mts +6 -0
- package/model/embed/FrontEndMigrationStatus.mjs +9 -0
- package/model/embed/FrontEndMigrationStatus.mjs.map +1 -0
- package/model/embed/Gender.d.mts +9 -0
- package/model/embed/Gender.mjs +12 -0
- package/model/embed/Gender.mjs.map +1 -0
- package/model/embed/GroupType.d.mts +5 -0
- package/model/embed/GroupType.mjs +8 -0
- package/model/embed/GroupType.mjs.map +1 -0
- package/model/embed/HealthcarePartyHistoryStatus.d.mts +8 -0
- package/model/embed/HealthcarePartyHistoryStatus.mjs +9 -0
- package/model/embed/HealthcarePartyHistoryStatus.mjs.map +1 -0
- package/model/embed/HealthcarePartyStatus.d.mts +5 -0
- package/model/embed/HealthcarePartyStatus.mjs +8 -0
- package/model/embed/HealthcarePartyStatus.mjs.map +1 -0
- package/model/embed/IdentityDocumentReader.d.mts +9 -0
- package/model/embed/IdentityDocumentReader.mjs +24 -0
- package/model/embed/IdentityDocumentReader.mjs.map +1 -0
- package/model/embed/Insurability.d.mts +48 -0
- package/model/embed/Insurability.mjs +75 -0
- package/model/embed/Insurability.mjs.map +1 -0
- package/model/embed/InvoiceInterventionType.d.mts +4 -0
- package/model/embed/InvoiceInterventionType.mjs +7 -0
- package/model/embed/InvoiceInterventionType.mjs.map +1 -0
- package/model/embed/InvoiceType.d.mts +8 -0
- package/model/embed/InvoiceType.mjs +11 -0
- package/model/embed/InvoiceType.mjs.map +1 -0
- package/model/embed/InvoicingCode.d.mts +169 -0
- package/model/embed/InvoicingCode.mjs +323 -0
- package/model/embed/InvoicingCode.mjs.map +1 -0
- package/model/embed/KeywordSubword.d.mts +6 -0
- package/model/embed/KeywordSubword.mjs +11 -0
- package/model/embed/KeywordSubword.mjs.map +1 -0
- package/model/embed/Laterality.d.mts +4 -0
- package/model/embed/Laterality.mjs +7 -0
- package/model/embed/Laterality.mjs.map +1 -0
- package/model/embed/LetterValue.d.mts +7 -0
- package/model/embed/LetterValue.mjs +18 -0
- package/model/embed/LetterValue.mjs.map +1 -0
- package/model/embed/Measure.d.mts +16 -0
- package/model/embed/Measure.mjs +38 -0
- package/model/embed/Measure.mjs.map +1 -0
- package/model/embed/MedicalHouseContract.d.mts +126 -0
- package/model/embed/MedicalHouseContract.mjs +213 -0
- package/model/embed/MedicalHouseContract.mjs.map +1 -0
- package/model/embed/Medication.d.mts +55 -0
- package/model/embed/Medication.mjs +131 -0
- package/model/embed/Medication.mjs.map +1 -0
- package/model/embed/Medicinalproduct.d.mts +9 -0
- package/model/embed/Medicinalproduct.mjs +20 -0
- package/model/embed/Medicinalproduct.mjs.map +1 -0
- package/model/embed/MediumType.d.mts +9 -0
- package/model/embed/MediumType.mjs +12 -0
- package/model/embed/MediumType.mjs.map +1 -0
- package/model/embed/MembershipType.d.mts +7 -0
- package/model/embed/MembershipType.mjs +10 -0
- package/model/embed/MembershipType.mjs.map +1 -0
- package/model/embed/MessageAttachment.d.mts +6 -0
- package/model/embed/MessageAttachment.mjs +11 -0
- package/model/embed/MessageAttachment.mjs.map +1 -0
- package/model/embed/MessageReadStatus.d.mts +5 -0
- package/model/embed/MessageReadStatus.mjs +12 -0
- package/model/embed/MessageReadStatus.mjs.map +1 -0
- package/model/embed/MhcSignatureType.d.mts +6 -0
- package/model/embed/MhcSignatureType.mjs +9 -0
- package/model/embed/MhcSignatureType.mjs.map +1 -0
- package/model/embed/ParagraphAgreement.d.mts +28 -0
- package/model/embed/ParagraphAgreement.mjs +71 -0
- package/model/embed/ParagraphAgreement.mjs.map +1 -0
- package/model/embed/Partnership.d.mts +10 -0
- package/model/embed/Partnership.mjs +20 -0
- package/model/embed/Partnership.mjs.map +1 -0
- package/model/embed/PartnershipStatus.d.mts +5 -0
- package/model/embed/PartnershipStatus.mjs +8 -0
- package/model/embed/PartnershipStatus.mjs.map +1 -0
- package/model/embed/PartnershipType.d.mts +40 -0
- package/model/embed/PartnershipType.mjs +43 -0
- package/model/embed/PartnershipType.mjs.map +1 -0
- package/model/embed/PatientHealthCareParty.d.mts +39 -0
- package/model/embed/PatientHealthCareParty.mjs +51 -0
- package/model/embed/PatientHealthCareParty.mjs.map +1 -0
- package/model/embed/PatientHealthCarePartyType.d.mts +10 -0
- package/model/embed/PatientHealthCarePartyType.mjs +13 -0
- package/model/embed/PatientHealthCarePartyType.mjs.map +1 -0
- package/model/embed/Payment.d.mts +7 -0
- package/model/embed/Payment.mjs +14 -0
- package/model/embed/Payment.mjs.map +1 -0
- package/model/embed/PaymentType.d.mts +10 -0
- package/model/embed/PaymentType.mjs +13 -0
- package/model/embed/PaymentType.mjs.map +1 -0
- package/model/embed/Periodicity.d.mts +6 -0
- package/model/embed/Periodicity.mjs +11 -0
- package/model/embed/Periodicity.mjs.map +1 -0
- package/model/embed/PersonName.d.mts +12 -0
- package/model/embed/PersonName.mjs +29 -0
- package/model/embed/PersonName.mjs.map +1 -0
- package/model/embed/PersonNameUse.d.mts +10 -0
- package/model/embed/PersonNameUse.mjs +13 -0
- package/model/embed/PersonNameUse.mjs.map +1 -0
- package/model/embed/PersonalStatus.d.mts +16 -0
- package/model/embed/PersonalStatus.mjs +19 -0
- package/model/embed/PersonalStatus.mjs.map +1 -0
- package/model/embed/PlanOfAction.d.mts +81 -0
- package/model/embed/PlanOfAction.mjs +165 -0
- package/model/embed/PlanOfAction.mjs.map +1 -0
- package/model/embed/Range.d.mts +5 -0
- package/model/embed/Range.mjs +12 -0
- package/model/embed/Range.mjs.map +1 -0
- package/model/embed/ReceiptBlobType.d.mts +9 -0
- package/model/embed/ReceiptBlobType.mjs +12 -0
- package/model/embed/ReceiptBlobType.mjs.map +1 -0
- package/model/embed/ReferenceRange.d.mts +13 -0
- package/model/embed/ReferenceRange.mjs +26 -0
- package/model/embed/ReferenceRange.mjs.map +1 -0
- package/model/embed/ReferralPeriod.d.mts +6 -0
- package/model/embed/ReferralPeriod.mjs +15 -0
- package/model/embed/ReferralPeriod.mjs.map +1 -0
- package/model/embed/RegimenItem.d.mts +12 -0
- package/model/embed/RegimenItem.mjs +23 -0
- package/model/embed/RegimenItem.mjs.map +1 -0
- package/model/embed/Renewal.d.mts +6 -0
- package/model/embed/Renewal.mjs +11 -0
- package/model/embed/Renewal.mjs.map +1 -0
- package/model/embed/Right.d.mts +7 -0
- package/model/embed/Right.mjs +18 -0
- package/model/embed/Right.mjs.map +1 -0
- package/model/embed/RoleConfiguration.d.mts +12 -0
- package/model/embed/RoleConfiguration.mjs +18 -0
- package/model/embed/RoleConfiguration.mjs.map +1 -0
- package/model/embed/SchoolingInfo.d.mts +8 -0
- package/model/embed/SchoolingInfo.mjs +17 -0
- package/model/embed/SchoolingInfo.mjs.map +1 -0
- package/model/embed/SecureDelegation.d.mts +14 -0
- package/model/embed/SecureDelegation.mjs +27 -0
- package/model/embed/SecureDelegation.mjs.map +1 -0
- package/model/embed/SecurityMetadata.d.mts +11 -0
- package/model/embed/SecurityMetadata.mjs +9 -0
- package/model/embed/SecurityMetadata.mjs.map +1 -0
- package/model/embed/Service.d.mts +161 -0
- package/model/embed/Service.mjs +231 -0
- package/model/embed/Service.mjs.map +1 -0
- package/model/embed/ServiceLink.d.mts +4 -0
- package/model/embed/ServiceLink.mjs +9 -0
- package/model/embed/ServiceLink.mjs.map +1 -0
- package/model/embed/SubContact.d.mts +60 -0
- package/model/embed/SubContact.mjs +123 -0
- package/model/embed/SubContact.mjs.map +1 -0
- package/model/embed/Substanceproduct.d.mts +9 -0
- package/model/embed/Substanceproduct.mjs +20 -0
- package/model/embed/Substanceproduct.mjs.map +1 -0
- package/model/embed/Suspension.d.mts +7 -0
- package/model/embed/Suspension.mjs +18 -0
- package/model/embed/Suspension.mjs.map +1 -0
- package/model/embed/SuspensionReason.d.mts +7 -0
- package/model/embed/SuspensionReason.mjs +10 -0
- package/model/embed/SuspensionReason.mjs.map +1 -0
- package/model/embed/TaskStatus.d.mts +6 -0
- package/model/embed/TaskStatus.mjs +9 -0
- package/model/embed/TaskStatus.mjs.map +1 -0
- package/model/embed/Telecom.d.mts +25 -0
- package/model/embed/Telecom.mjs +39 -0
- package/model/embed/Telecom.mjs.map +1 -0
- package/model/embed/TelecomType.d.mts +16 -0
- package/model/embed/TelecomType.mjs +19 -0
- package/model/embed/TelecomType.mjs.map +1 -0
- package/model/embed/TimeSeries.d.mts +10 -0
- package/model/embed/TimeSeries.mjs +27 -0
- package/model/embed/TimeSeries.mjs.map +1 -0
- package/model/embed/TimeTableHour.d.mts +5 -0
- package/model/embed/TimeTableHour.mjs +12 -0
- package/model/embed/TimeTableHour.mjs.map +1 -0
- package/model/embed/TimeTableItem.d.mts +18 -0
- package/model/embed/TimeTableItem.mjs +47 -0
- package/model/embed/TimeTableItem.mjs.map +1 -0
- package/model/embed/TypedValue.d.mts +34 -0
- package/model/embed/TypedValue.mjs +57 -0
- package/model/embed/TypedValue.mjs.map +1 -0
- package/model/embed/TypedValuesType.d.mts +9 -0
- package/model/embed/TypedValuesType.mjs +12 -0
- package/model/embed/TypedValuesType.mjs.map +1 -0
- package/model/embed/UserType.d.mts +6 -0
- package/model/embed/UserType.mjs +9 -0
- package/model/embed/UserType.mjs.map +1 -0
- package/model/embed/Valorisation.d.mts +51 -0
- package/model/embed/Valorisation.mjs +81 -0
- package/model/embed/Valorisation.mjs.map +1 -0
- package/model/embed/Weekday.d.mts +6 -0
- package/model/embed/Weekday.mjs +11 -0
- package/model/embed/Weekday.mjs.map +1 -0
- package/model/embed/form/template/Action.d.mts +8 -0
- package/model/embed/form/template/Action.mjs +14 -0
- package/model/embed/form/template/Action.mjs.map +1 -0
- package/model/embed/form/template/CheckBox.d.mts +25 -0
- package/model/embed/form/template/CheckBox.mjs +56 -0
- package/model/embed/form/template/CheckBox.mjs.map +1 -0
- package/model/embed/form/template/DatePicker.d.mts +25 -0
- package/model/embed/form/template/DatePicker.mjs +56 -0
- package/model/embed/form/template/DatePicker.mjs.map +1 -0
- package/model/embed/form/template/DateTimePicker.d.mts +25 -0
- package/model/embed/form/template/DateTimePicker.mjs +56 -0
- package/model/embed/form/template/DateTimePicker.mjs.map +1 -0
- package/model/embed/form/template/DropdownField.d.mts +25 -0
- package/model/embed/form/template/DropdownField.mjs +56 -0
- package/model/embed/form/template/DropdownField.mjs.map +1 -0
- package/model/embed/form/template/Field.d.mts +11 -0
- package/model/embed/form/template/Field.mjs +2 -0
- package/model/embed/form/template/Field.mjs.map +1 -0
- package/model/embed/form/template/FieldsGroup.d.mts +7 -0
- package/model/embed/form/template/FieldsGroup.mjs +10 -0
- package/model/embed/form/template/FieldsGroup.mjs.map +1 -0
- package/model/embed/form/template/FormTemplateLayout.d.mts +10 -0
- package/model/embed/form/template/FormTemplateLayout.mjs +18 -0
- package/model/embed/form/template/FormTemplateLayout.mjs.map +1 -0
- package/model/embed/form/template/Launcher.d.mts +7 -0
- package/model/embed/form/template/Launcher.mjs +10 -0
- package/model/embed/form/template/Launcher.mjs.map +1 -0
- package/model/embed/form/template/MeasureField.d.mts +25 -0
- package/model/embed/form/template/MeasureField.mjs +56 -0
- package/model/embed/form/template/MeasureField.mjs.map +1 -0
- package/model/embed/form/template/MultipleChoice.d.mts +25 -0
- package/model/embed/form/template/MultipleChoice.mjs +56 -0
- package/model/embed/form/template/MultipleChoice.mjs.map +1 -0
- package/model/embed/form/template/NumberField.d.mts +25 -0
- package/model/embed/form/template/NumberField.mjs +56 -0
- package/model/embed/form/template/NumberField.mjs.map +1 -0
- package/model/embed/form/template/RadioButton.d.mts +25 -0
- package/model/embed/form/template/RadioButton.mjs +56 -0
- package/model/embed/form/template/RadioButton.mjs.map +1 -0
- package/model/embed/form/template/Section.d.mts +8 -0
- package/model/embed/form/template/Section.mjs +13 -0
- package/model/embed/form/template/Section.mjs.map +1 -0
- package/model/embed/form/template/State.d.mts +7 -0
- package/model/embed/form/template/State.mjs +10 -0
- package/model/embed/form/template/State.mjs.map +1 -0
- package/model/embed/form/template/StateToUpdate.d.mts +7 -0
- package/model/embed/form/template/StateToUpdate.mjs +10 -0
- package/model/embed/form/template/StateToUpdate.mjs.map +1 -0
- package/model/embed/form/template/StructureElement.d.mts +3 -0
- package/model/embed/form/template/StructureElement.mjs +2 -0
- package/model/embed/form/template/StructureElement.mjs.map +1 -0
- package/model/embed/form/template/TextField.d.mts +25 -0
- package/model/embed/form/template/TextField.mjs +56 -0
- package/model/embed/form/template/TextField.mjs.map +1 -0
- package/model/embed/form/template/TimePicker.d.mts +25 -0
- package/model/embed/form/template/TimePicker.mjs +56 -0
- package/model/embed/form/template/TimePicker.mjs.map +1 -0
- package/model/embed/form/template/Trigger.d.mts +9 -0
- package/model/embed/form/template/Trigger.mjs +12 -0
- package/model/embed/form/template/Trigger.mjs.map +1 -0
- package/model/enums/UsersStatus.d.mts +5 -0
- package/model/enums/UsersStatus.mjs +8 -0
- package/model/enums/UsersStatus.mjs.map +1 -0
- package/model/enums/UsersType.d.mts +5 -0
- package/model/enums/UsersType.mjs +8 -0
- package/model/enums/UsersType.mjs.map +1 -0
- package/model/filter/predicate/AlwaysPredicate.d.mts +4 -0
- package/model/filter/predicate/AlwaysPredicate.mjs +7 -0
- package/model/filter/predicate/AlwaysPredicate.mjs.map +1 -0
- package/model/filter/predicate/AndPredicate.d.mts +6 -0
- package/model/filter/predicate/AndPredicate.mjs +9 -0
- package/model/filter/predicate/AndPredicate.mjs.map +1 -0
- package/model/filter/predicate/KeyValuePredicate.d.mts +8 -0
- package/model/filter/predicate/KeyValuePredicate.mjs +15 -0
- package/model/filter/predicate/KeyValuePredicate.mjs.map +1 -0
- package/model/filter/predicate/NotPredicate.d.mts +6 -0
- package/model/filter/predicate/NotPredicate.mjs +7 -0
- package/model/filter/predicate/NotPredicate.mjs.map +1 -0
- package/model/filter/predicate/Operator.d.mts +10 -0
- package/model/filter/predicate/Operator.mjs +13 -0
- package/model/filter/predicate/Operator.mjs.map +1 -0
- package/model/filter/predicate/OrPredicate.d.mts +6 -0
- package/model/filter/predicate/OrPredicate.mjs +9 -0
- package/model/filter/predicate/OrPredicate.mjs.map +1 -0
- package/model/filter/predicate/Predicate.d.mts +6 -0
- package/model/filter/predicate/Predicate.mjs +2 -0
- package/model/filter/predicate/Predicate.mjs.map +1 -0
- package/model/requests/RequestedPermission.d.mts +7 -0
- package/model/requests/RequestedPermission.mjs +10 -0
- package/model/requests/RequestedPermission.mjs.map +1 -0
- package/model/sdk/KeyPairUpdateNotification.d.mts +6 -0
- package/model/sdk/KeyPairUpdateNotification.mjs +7 -0
- package/model/sdk/KeyPairUpdateNotification.mjs.map +1 -0
- package/model/security/AlwaysPermissionItem.d.mts +6 -0
- package/model/security/AlwaysPermissionItem.mjs +7 -0
- package/model/security/AlwaysPermissionItem.mjs.map +1 -0
- package/model/security/AuthenticationToken.d.mts +7 -0
- package/model/security/AuthenticationToken.mjs +14 -0
- package/model/security/AuthenticationToken.mjs.map +1 -0
- package/model/security/Enable2faRequest.d.mts +5 -0
- package/model/security/Enable2faRequest.mjs +8 -0
- package/model/security/Enable2faRequest.mjs.map +1 -0
- package/model/security/Operation.d.mts +3 -0
- package/model/security/Operation.mjs +6 -0
- package/model/security/Operation.mjs.map +1 -0
- package/model/security/OperationToken.d.mts +9 -0
- package/model/security/OperationToken.mjs +12 -0
- package/model/security/OperationToken.mjs.map +1 -0
- package/model/security/Permission.d.mts +6 -0
- package/model/security/Permission.mjs +11 -0
- package/model/security/Permission.mjs.map +1 -0
- package/model/security/PermissionItem.d.mts +2 -0
- package/model/security/PermissionItem.mjs +2 -0
- package/model/security/PermissionItem.mjs.map +1 -0
- package/model/security/PermissionType.d.mts +16 -0
- package/model/security/PermissionType.mjs +19 -0
- package/model/security/PermissionType.mjs.map +1 -0
- package/model/security/TokenWithGroup.d.mts +6 -0
- package/model/security/TokenWithGroup.mjs +11 -0
- package/model/security/TokenWithGroup.mjs.map +1 -0
- package/model/specializations/AesExchangeKeyEncryptionKeypairIdentifier.d.mts +1 -0
- package/model/specializations/AesExchangeKeyEncryptionKeypairIdentifier.mjs +3 -0
- package/model/specializations/AesExchangeKeyEncryptionKeypairIdentifier.mjs.map +1 -0
- package/model/specializations/AnyPrimitive.d.mts +1 -0
- package/model/specializations/AnyPrimitive.mjs +3 -0
- package/model/specializations/AnyPrimitive.mjs.map +1 -0
- package/model/specializations/Base64String.d.mts +1 -0
- package/model/specializations/Base64String.mjs +3 -0
- package/model/specializations/Base64String.mjs.map +1 -0
- package/model/specializations/HexString.d.mts +1 -0
- package/model/specializations/HexString.mjs +3 -0
- package/model/specializations/HexString.mjs.map +1 -0
- package/model/specializations/KeypairFingerprintV1String.d.mts +1 -0
- package/model/specializations/KeypairFingerprintV1String.mjs +3 -0
- package/model/specializations/KeypairFingerprintV1String.mjs.map +1 -0
- package/model/specializations/SecureDelegationKeyString.d.mts +1 -0
- package/model/specializations/SecureDelegationKeyString.mjs +3 -0
- package/model/specializations/SecureDelegationKeyString.mjs.map +1 -0
- package/model/specializations/Sha256HexString.d.mts +1 -0
- package/model/specializations/Sha256HexString.mjs +3 -0
- package/model/specializations/Sha256HexString.mjs.map +1 -0
- package/model/specializations/SpkiHexString.d.mts +1 -0
- package/model/specializations/SpkiHexString.mjs +3 -0
- package/model/specializations/SpkiHexString.mjs.map +1 -0
- package/model.d.mts +230 -0
- package/model.mjs +231 -0
- package/model.mjs.map +1 -0
- package/okio-parent-okio.mjs +4 -0
- package/okio-parent-okio.mjs.map +1 -0
- package/options/AuthenticationMethod.d.mts +327 -0
- package/options/AuthenticationMethod.mjs +226 -0
- package/options/AuthenticationMethod.mjs.map +1 -0
- package/options/SdkOptions.d.mts +198 -0
- package/options/SdkOptions.mjs +2 -0
- package/options/SdkOptions.mjs.map +1 -0
- package/options.d.mts +2 -0
- package/options.mjs +3 -0
- package/options.mjs.map +1 -0
- package/package.json +23 -0
- package/sdk/CardinalSdk.d.mts +214 -0
- package/sdk/CardinalSdk.mjs +74 -0
- package/sdk/CardinalSdk.mjs.map +1 -0
- package/sdk.d.mts +1 -0
- package/sdk.mjs +2 -0
- package/sdk.mjs.map +1 -0
- package/storage/StorageFacade.d.mts +85 -0
- package/storage/StorageFacade.mjs +41 -0
- package/storage/StorageFacade.mjs.map +1 -0
- package/storage.d.mts +1 -0
- package/storage.mjs +2 -0
- package/storage.mjs.map +1 -0
- package/subscription/EntitySubscription.d.mts +29 -0
- package/subscription/EntitySubscription.mjs +2 -0
- package/subscription/EntitySubscription.mjs.map +1 -0
- package/subscription/EntitySubscriptionCloseReason.d.mts +5 -0
- package/subscription/EntitySubscriptionCloseReason.mjs +8 -0
- package/subscription/EntitySubscriptionCloseReason.mjs.map +1 -0
- package/subscription/EntitySubscriptionConfiguration.d.mts +16 -0
- package/subscription/EntitySubscriptionConfiguration.mjs +28 -0
- package/subscription/EntitySubscriptionConfiguration.mjs.map +1 -0
- package/subscription/EntitySubscriptionEvent.d.mts +35 -0
- package/subscription/EntitySubscriptionEvent.mjs +39 -0
- package/subscription/EntitySubscriptionEvent.mjs.map +1 -0
- package/subscription/SubscriptionEventType.d.mts +4 -0
- package/subscription/SubscriptionEventType.mjs +7 -0
- package/subscription/SubscriptionEventType.mjs.map +1 -0
- package/subscription.d.mts +5 -0
- package/subscription.mjs +6 -0
- package/subscription.mjs.map +1 -0
- package/utils/DurationMs.d.mts +4 -0
- package/utils/DurationMs.mjs +2 -0
- package/utils/DurationMs.mjs.map +1 -0
- package/utils/Id.d.mts +1 -0
- package/utils/Id.mjs +18 -0
- package/utils/Id.mjs.map +1 -0
- package/utils.d.mts +2 -0
- package/utils.mjs +3 -0
- package/utils.mjs.map +1 -0
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
import { AccessLogApi } from "../api/AccessLogApi.mjs";
|
|
2
|
+
import { CalendarItemApi } from "../api/CalendarItemApi.mjs";
|
|
3
|
+
import { ClassificationApi } from "../api/ClassificationApi.mjs";
|
|
4
|
+
import { ContactApi } from "../api/ContactApi.mjs";
|
|
5
|
+
import { DeviceApi } from "../api/DeviceApi.mjs";
|
|
6
|
+
import { DocumentApi } from "../api/DocumentApi.mjs";
|
|
7
|
+
import { FormApi } from "../api/FormApi.mjs";
|
|
8
|
+
import { HealthElementApi } from "../api/HealthElementApi.mjs";
|
|
9
|
+
import { InvoiceApi } from "../api/InvoiceApi.mjs";
|
|
10
|
+
import { MaintenanceTaskApi } from "../api/MaintenanceTaskApi.mjs";
|
|
11
|
+
import { MessageApi } from "../api/MessageApi.mjs";
|
|
12
|
+
import { PatientApi } from "../api/PatientApi.mjs";
|
|
13
|
+
import { PermissionApi } from "../api/PermissionApi.mjs";
|
|
14
|
+
import { ReceiptApi } from "../api/ReceiptApi.mjs";
|
|
15
|
+
import { TimeTableApi } from "../api/TimeTableApi.mjs";
|
|
16
|
+
import { TopicApi } from "../api/TopicApi.mjs";
|
|
17
|
+
import { CryptoApi } from "../api/CryptoApi.mjs";
|
|
18
|
+
import { DataOwnerApi } from "../api/DataOwnerApi.mjs";
|
|
19
|
+
import { UserApi } from "../api/UserApi.mjs";
|
|
20
|
+
import { CardinalMaintenanceTaskApi } from "../api/CardinalMaintenanceTaskApi.mjs";
|
|
21
|
+
import { RecoveryApi } from "../api/RecoveryApi.mjs";
|
|
22
|
+
import { AuthenticationMethod, AuthenticationProcessCaptchaType, AuthenticationProcessTelecomType, AuthenticationProcessTemplateParameters } from "../options/AuthenticationMethod.mjs";
|
|
23
|
+
import { StorageFacade } from "../storage/StorageFacade.mjs";
|
|
24
|
+
import { CardinalStorageOptions } from "../cardinal-sdk-ts.mjs";
|
|
25
|
+
import { SdkOptions, BasicSdkOptions } from "../options/SdkOptions.mjs";
|
|
26
|
+
import { ApplicationSettingsApi } from "../api/ApplicationSettingsApi.mjs";
|
|
27
|
+
import { CodeApi } from "../api/CodeApi.mjs";
|
|
28
|
+
import { DocumentTemplateApi } from "../api/DocumentTemplateApi.mjs";
|
|
29
|
+
import { EntityReferenceApi } from "../api/EntityReferenceApi.mjs";
|
|
30
|
+
import { EntityTemplateApi } from "../api/EntityTemplateApi.mjs";
|
|
31
|
+
import { FrontEndMigrationApi } from "../api/FrontEndMigrationApi.mjs";
|
|
32
|
+
import { GroupApi } from "../api/GroupApi.mjs";
|
|
33
|
+
import { HealthcarePartyApi } from "../api/HealthcarePartyApi.mjs";
|
|
34
|
+
import { SystemApi } from "../api/SystemApi.mjs";
|
|
35
|
+
import { InsuranceApi } from "../api/InsuranceApi.mjs";
|
|
36
|
+
import { KeywordApi } from "../api/KeywordApi.mjs";
|
|
37
|
+
import { PlaceApi } from "../api/PlaceApi.mjs";
|
|
38
|
+
import { RoleApi } from "../api/RoleApi.mjs";
|
|
39
|
+
import { TarificationApi } from "../api/TarificationApi.mjs";
|
|
40
|
+
import { AccessLogBasicApi } from "../api/AccessLogBasicApi.mjs";
|
|
41
|
+
import { CalendarItemBasicApi } from "../api/CalendarItemBasicApi.mjs";
|
|
42
|
+
import { ClassificationBasicApi } from "../api/ClassificationBasicApi.mjs";
|
|
43
|
+
import { ContactBasicApi } from "../api/ContactBasicApi.mjs";
|
|
44
|
+
import { DocumentBasicApi } from "../api/DocumentBasicApi.mjs";
|
|
45
|
+
import { FormBasicApi } from "../api/FormBasicApi.mjs";
|
|
46
|
+
import { HealthElementBasicApi } from "../api/HealthElementBasicApi.mjs";
|
|
47
|
+
import { InvoiceBasicApi } from "../api/InvoiceBasicApi.mjs";
|
|
48
|
+
import { MaintenanceTaskBasicApi } from "../api/MaintenanceTaskBasicApi.mjs";
|
|
49
|
+
import { MessageBasicApi } from "../api/MessageBasicApi.mjs";
|
|
50
|
+
import { PatientBasicApi } from "../api/PatientBasicApi.mjs";
|
|
51
|
+
import { ReceiptBasicApi } from "../api/ReceiptBasicApi.mjs";
|
|
52
|
+
import { TimeTableBasicApi } from "../api/TimeTableBasicApi.mjs";
|
|
53
|
+
import { TopicBasicApi } from "../api/TopicBasicApi.mjs";
|
|
54
|
+
import { AgendaApi } from "../api/AgendaApi.mjs";
|
|
55
|
+
import { MedicalLocationApi } from "../api/MedicalLocationApi.mjs";
|
|
56
|
+
/**
|
|
57
|
+
* Main entry point to use iCure, provides access to the various apis with encryption capabilities.
|
|
58
|
+
* Only data owner users with a valid keypair can use these apis.
|
|
59
|
+
*/
|
|
60
|
+
export interface CardinalSdk {
|
|
61
|
+
readonly applicationSettings: ApplicationSettingsApi;
|
|
62
|
+
readonly code: CodeApi;
|
|
63
|
+
readonly device: DeviceApi;
|
|
64
|
+
readonly documentTemplate: DocumentTemplateApi;
|
|
65
|
+
readonly entityReference: EntityReferenceApi;
|
|
66
|
+
readonly entityTemplate: EntityTemplateApi;
|
|
67
|
+
readonly frontEndMigration: FrontEndMigrationApi;
|
|
68
|
+
readonly group: GroupApi;
|
|
69
|
+
readonly healthcareParty: HealthcarePartyApi;
|
|
70
|
+
readonly system: SystemApi;
|
|
71
|
+
readonly insurance: InsuranceApi;
|
|
72
|
+
readonly keyword: KeywordApi;
|
|
73
|
+
readonly permission: PermissionApi;
|
|
74
|
+
readonly place: PlaceApi;
|
|
75
|
+
readonly role: RoleApi;
|
|
76
|
+
readonly tarification: TarificationApi;
|
|
77
|
+
readonly user: UserApi;
|
|
78
|
+
readonly medicalLocationApi: MedicalLocationApi;
|
|
79
|
+
readonly agendaApi: AgendaApi;
|
|
80
|
+
readonly accessLog: AccessLogApi;
|
|
81
|
+
readonly calendarItem: CalendarItemApi;
|
|
82
|
+
readonly classification: ClassificationApi;
|
|
83
|
+
readonly contact: ContactApi;
|
|
84
|
+
readonly document: DocumentApi;
|
|
85
|
+
readonly form: FormApi;
|
|
86
|
+
readonly healthElement: HealthElementApi;
|
|
87
|
+
readonly invoice: InvoiceApi;
|
|
88
|
+
readonly maintenanceTask: MaintenanceTaskApi;
|
|
89
|
+
readonly message: MessageApi;
|
|
90
|
+
readonly patient: PatientApi;
|
|
91
|
+
readonly receipt: ReceiptApi;
|
|
92
|
+
readonly timeTable: TimeTableApi;
|
|
93
|
+
readonly topic: TopicApi;
|
|
94
|
+
readonly crypto: CryptoApi;
|
|
95
|
+
readonly recovery: RecoveryApi;
|
|
96
|
+
readonly cardinalMaintenanceTask: CardinalMaintenanceTaskApi;
|
|
97
|
+
readonly dataOwner: DataOwnerApi;
|
|
98
|
+
/**
|
|
99
|
+
* Get a new sdk using the same configurations and user authentication methods but for a different group.
|
|
100
|
+
* To use this method, the authentication method provided at initialization of this sdk must be valid also for the
|
|
101
|
+
* new group.
|
|
102
|
+
*
|
|
103
|
+
* @param groupId the id of the new group to switch to
|
|
104
|
+
* @return a new sdk for executing requests in the provided group
|
|
105
|
+
*/
|
|
106
|
+
switchGroup(groupId: String): Promise<CardinalSdk>;
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* A stripped down version of the iCure SDK that can be used also by users that aren't data owners.
|
|
110
|
+
* This could be useful, for example, if you want to perform some system maintenance using an admin user, or compile
|
|
111
|
+
* some statistics without using any encrypted information
|
|
112
|
+
*/
|
|
113
|
+
export interface CardinalBaseSdk {
|
|
114
|
+
readonly applicationSettings: ApplicationSettingsApi;
|
|
115
|
+
readonly code: CodeApi;
|
|
116
|
+
readonly device: DeviceApi;
|
|
117
|
+
readonly documentTemplate: DocumentTemplateApi;
|
|
118
|
+
readonly entityReference: EntityReferenceApi;
|
|
119
|
+
readonly entityTemplate: EntityTemplateApi;
|
|
120
|
+
readonly frontEndMigration: FrontEndMigrationApi;
|
|
121
|
+
readonly group: GroupApi;
|
|
122
|
+
readonly healthcareParty: HealthcarePartyApi;
|
|
123
|
+
readonly system: SystemApi;
|
|
124
|
+
readonly insurance: InsuranceApi;
|
|
125
|
+
readonly keyword: KeywordApi;
|
|
126
|
+
readonly permission: PermissionApi;
|
|
127
|
+
readonly place: PlaceApi;
|
|
128
|
+
readonly role: RoleApi;
|
|
129
|
+
readonly tarification: TarificationApi;
|
|
130
|
+
readonly user: UserApi;
|
|
131
|
+
readonly medicalLocationApi: MedicalLocationApi;
|
|
132
|
+
readonly agendaApi: AgendaApi;
|
|
133
|
+
readonly accessLog: AccessLogBasicApi;
|
|
134
|
+
readonly calendarItem: CalendarItemBasicApi;
|
|
135
|
+
readonly classification: ClassificationBasicApi;
|
|
136
|
+
readonly contact: ContactBasicApi;
|
|
137
|
+
readonly document: DocumentBasicApi;
|
|
138
|
+
readonly form: FormBasicApi;
|
|
139
|
+
readonly healthElement: HealthElementBasicApi;
|
|
140
|
+
readonly invoice: InvoiceBasicApi;
|
|
141
|
+
readonly maintenanceTask: MaintenanceTaskBasicApi;
|
|
142
|
+
readonly message: MessageBasicApi;
|
|
143
|
+
readonly patient: PatientBasicApi;
|
|
144
|
+
readonly receipt: ReceiptBasicApi;
|
|
145
|
+
readonly timeTable: TimeTableBasicApi;
|
|
146
|
+
readonly topic: TopicBasicApi;
|
|
147
|
+
/**
|
|
148
|
+
* Get a new sdk using the same configurations and user authentication methods but for a different group.
|
|
149
|
+
* To use this method, the authentication method provided at initialization of this sdk must be valid also for the
|
|
150
|
+
* new group.
|
|
151
|
+
*
|
|
152
|
+
* @param groupId the id of the new group to switch to
|
|
153
|
+
* @return a new sdk for executing requests in the provided group
|
|
154
|
+
*/
|
|
155
|
+
switchGroup(groupId: string): Promise<CardinalBaseSdk>;
|
|
156
|
+
}
|
|
157
|
+
export declare namespace CardinalSdk {
|
|
158
|
+
/**
|
|
159
|
+
* Initialize a new instance of the icure sdk for a specific user.
|
|
160
|
+
*
|
|
161
|
+
* @param applicationId a string to uniquely identify your iCure application.
|
|
162
|
+
* @param baseUrl the url of the iCure backend to use
|
|
163
|
+
* @param authenticationMethod specifies how the sdk should authenticate.
|
|
164
|
+
* @param baseStorage an implementation of {@link StorageFacade} or standard icure storage options, used for persistent
|
|
165
|
+
* storage of various information including the user keys if {@link SdkOptions.keyStorage}1 is not provided.
|
|
166
|
+
* @param options optional parameters for the initialization of the sdk.
|
|
167
|
+
*/
|
|
168
|
+
function initialize(applicationId: string | undefined, baseUrl: string, authenticationMethod: AuthenticationMethod, baseStorage: StorageFacade | CardinalStorageOptions, options?: SdkOptions): Promise<CardinalSdk>;
|
|
169
|
+
/**
|
|
170
|
+
* Initialize a new instance of the icure sdk for a specific user.
|
|
171
|
+
* The authentication will be performed through an authentication process.
|
|
172
|
+
*
|
|
173
|
+
* @param applicationId a string to uniquely identify your iCure application.
|
|
174
|
+
* @param baseUrl the url of the iCure backend to use
|
|
175
|
+
* @param messageGatewayUrl the url of the iCure message gateway you want to use. Usually this should be
|
|
176
|
+
* @param externalServicesSpecId an identifier that allows the message gateway to connect the request to your
|
|
177
|
+
* services for email / sms communication of the process tokens.
|
|
178
|
+
* @param processId the id of the process you want to execute.
|
|
179
|
+
* @param userTelecomType the type of telecom number used for the user.
|
|
180
|
+
* @param userTelecom the telecom number of the user for which you want to execute the process. This should be an
|
|
181
|
+
* email address or phone number depending on the type of process you are executing.
|
|
182
|
+
* @param captchaType the type of captcha you use with your processes.
|
|
183
|
+
* @param captchaKey the key obtained by resolving the captcha. Used to prevent abuse of the message gateway and
|
|
184
|
+
* connected external services.
|
|
185
|
+
* @param baseStorage an implementation of the [StorageFacade], used for persistent storage of various
|
|
186
|
+
* information including the user keys if [ApiOptions.keyStorage] is not provided.
|
|
187
|
+
* @param authenticationProcessTemplateParameters optional parameters which may be used by sms/email templates.
|
|
188
|
+
* @param options optional parameters for the initialization of the sdk.
|
|
189
|
+
*/
|
|
190
|
+
function initializeWithProcess(applicationId: string | undefined, baseUrl: string, messageGatewayUrl: string, externalServicesSpecId: string, processId: string, userTelecomType: AuthenticationProcessTelecomType, userTelecom: string, captchaType: AuthenticationProcessCaptchaType, captchaKey: string, baseStorage: StorageFacade | CardinalStorageOptions, authenticationProcessTemplateParameters?: AuthenticationProcessTemplateParameters, options?: SdkOptions): Promise<AuthenticationWithProcessStep>;
|
|
191
|
+
/**
|
|
192
|
+
* Represents an intermediate stage in the initialization of an SDK through an authentication process
|
|
193
|
+
* The initialization can complete only after the user provides the validation code received via email/sms.
|
|
194
|
+
*/
|
|
195
|
+
interface AuthenticationWithProcessStep {
|
|
196
|
+
/**
|
|
197
|
+
* Complete the authentication of the user and finishes the initialization of the SDK.
|
|
198
|
+
* In case the provided validation code is wrong this method will throw an exception, but it is still possible
|
|
199
|
+
* to call to re-attempt authentication by calling this method with a different validation code.
|
|
200
|
+
*/
|
|
201
|
+
completeAuthentication(validationCode: String): Promise<CardinalSdk>;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
export declare namespace CardinalBaseSdk {
|
|
205
|
+
/**
|
|
206
|
+
* Initialize a new instance of the icure sdk for a specific user.
|
|
207
|
+
*
|
|
208
|
+
* @param applicationId a string to uniquely identify your iCure application.
|
|
209
|
+
* @param baseUrl the url of the iCure backend to use
|
|
210
|
+
* @param authenticationMethod specifies how the sdk should authenticate.
|
|
211
|
+
* @param options optional parameters for the initialization of the sdk.
|
|
212
|
+
*/
|
|
213
|
+
function initialize(applicationId: string | undefined, baseUrl: string, authenticationMethod: AuthenticationMethod, options?: BasicSdkOptions): Promise<CardinalBaseSdk>;
|
|
214
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
import { InternalSdkInitializers } from "../cardinal-sdk-ts.mjs";
|
|
11
|
+
export var CardinalSdk;
|
|
12
|
+
(function (CardinalSdk) {
|
|
13
|
+
/**
|
|
14
|
+
* Initialize a new instance of the icure sdk for a specific user.
|
|
15
|
+
*
|
|
16
|
+
* @param applicationId a string to uniquely identify your iCure application.
|
|
17
|
+
* @param baseUrl the url of the iCure backend to use
|
|
18
|
+
* @param authenticationMethod specifies how the sdk should authenticate.
|
|
19
|
+
* @param baseStorage an implementation of {@link StorageFacade} or standard icure storage options, used for persistent
|
|
20
|
+
* storage of various information including the user keys if {@link SdkOptions.keyStorage}1 is not provided.
|
|
21
|
+
* @param options optional parameters for the initialization of the sdk.
|
|
22
|
+
*/
|
|
23
|
+
function initialize(applicationId, baseUrl, authenticationMethod, baseStorage, options) {
|
|
24
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
25
|
+
return yield InternalSdkInitializers.getInstance().initializeSdk(applicationId, baseUrl, authenticationMethod, baseStorage, options);
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
CardinalSdk.initialize = initialize;
|
|
29
|
+
/**
|
|
30
|
+
* Initialize a new instance of the icure sdk for a specific user.
|
|
31
|
+
* The authentication will be performed through an authentication process.
|
|
32
|
+
*
|
|
33
|
+
* @param applicationId a string to uniquely identify your iCure application.
|
|
34
|
+
* @param baseUrl the url of the iCure backend to use
|
|
35
|
+
* @param messageGatewayUrl the url of the iCure message gateway you want to use. Usually this should be
|
|
36
|
+
* @param externalServicesSpecId an identifier that allows the message gateway to connect the request to your
|
|
37
|
+
* services for email / sms communication of the process tokens.
|
|
38
|
+
* @param processId the id of the process you want to execute.
|
|
39
|
+
* @param userTelecomType the type of telecom number used for the user.
|
|
40
|
+
* @param userTelecom the telecom number of the user for which you want to execute the process. This should be an
|
|
41
|
+
* email address or phone number depending on the type of process you are executing.
|
|
42
|
+
* @param captchaType the type of captcha you use with your processes.
|
|
43
|
+
* @param captchaKey the key obtained by resolving the captcha. Used to prevent abuse of the message gateway and
|
|
44
|
+
* connected external services.
|
|
45
|
+
* @param baseStorage an implementation of the [StorageFacade], used for persistent storage of various
|
|
46
|
+
* information including the user keys if [ApiOptions.keyStorage] is not provided.
|
|
47
|
+
* @param authenticationProcessTemplateParameters optional parameters which may be used by sms/email templates.
|
|
48
|
+
* @param options optional parameters for the initialization of the sdk.
|
|
49
|
+
*/
|
|
50
|
+
function initializeWithProcess(applicationId, baseUrl, messageGatewayUrl, externalServicesSpecId, processId, userTelecomType, userTelecom, captchaType, captchaKey, baseStorage, authenticationProcessTemplateParameters, options) {
|
|
51
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
52
|
+
return yield InternalSdkInitializers.getInstance().initializeWithProcess(applicationId, baseUrl, messageGatewayUrl, externalServicesSpecId, processId, userTelecomType, userTelecom, captchaType, captchaKey, baseStorage, authenticationProcessTemplateParameters, options);
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
CardinalSdk.initializeWithProcess = initializeWithProcess;
|
|
56
|
+
})(CardinalSdk || (CardinalSdk = {}));
|
|
57
|
+
export var CardinalBaseSdk;
|
|
58
|
+
(function (CardinalBaseSdk) {
|
|
59
|
+
/**
|
|
60
|
+
* Initialize a new instance of the icure sdk for a specific user.
|
|
61
|
+
*
|
|
62
|
+
* @param applicationId a string to uniquely identify your iCure application.
|
|
63
|
+
* @param baseUrl the url of the iCure backend to use
|
|
64
|
+
* @param authenticationMethod specifies how the sdk should authenticate.
|
|
65
|
+
* @param options optional parameters for the initialization of the sdk.
|
|
66
|
+
*/
|
|
67
|
+
function initialize(applicationId, baseUrl, authenticationMethod, options) {
|
|
68
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
69
|
+
return yield InternalSdkInitializers.getInstance().initializeBase(applicationId, baseUrl, authenticationMethod, options);
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
CardinalBaseSdk.initialize = initialize;
|
|
73
|
+
})(CardinalBaseSdk || (CardinalBaseSdk = {}));
|
|
74
|
+
//# sourceMappingURL=CardinalSdk.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardinalSdk.mjs","sourceRoot":"","sources":["../../tsSourcesProject/sdk/CardinalSdk.mts"],"names":[],"mappings":";;;;;;;;;AA2BA,OAAO,EAAyB,uBAAuB,EAAC,MAAM,wBAAwB,CAAC;AA2IvF,MAAM,KAAW,WAAW,CA0F3B;AA1FD,WAAiB,WAAW;IAC1B;;;;;;;;;OASG;IACH,SAAsB,UAAU,CAC9B,aAAiC,EACjC,OAAe,EACf,oBAA0C,EAC1C,WAAmD,EACnD,OAAoB;;YAEpB,OAAO,MAAM,uBAAuB,CAAC,WAAW,EAAE,CAAC,aAAa,CAC9D,aAAa,EACb,OAAO,EACP,oBAAoB,EACpB,WAAW,EACX,OAAO,CACR,CAAA;QACH,CAAC;KAAA;IAdqB,sBAAU,aAc/B,CAAA;IAED;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,SAAsB,qBAAqB,CACzC,aAAiC,EACjC,OAAe,EACf,iBAAyB,EACzB,sBAA8B,EAC9B,SAAiB,EACjB,eAAiD,EACjD,WAAmB,EACnB,WAA6C,EAC7C,UAAkB,EAClB,WAAmD,EACnD,uCAAiF,EACjF,OAAoB;;YAEpB,OAAO,MAAM,uBAAuB,CAAC,WAAW,EAAE,CAAC,qBAAqB,CACtE,aAAa,EACb,OAAO,EACP,iBAAiB,EACjB,sBAAsB,EACtB,SAAS,EACT,eAAe,EACf,WAAW,EACX,WAAW,EACX,UAAU,EACV,WAAW,EACX,uCAAuC,EACvC,OAAO,CACR,CAAA;QACH,CAAC;KAAA;IA5BqB,iCAAqB,wBA4B1C,CAAA;AAcH,CAAC,EA1FgB,WAAW,KAAX,WAAW,QA0F3B;AAED,MAAM,KAAW,eAAe,CAsB/B;AAtBD,WAAiB,eAAe;IAC9B;;;;;;;OAOG;IACH,SAAsB,UAAU,CAC9B,aAAiC,EACjC,OAAe,EACf,oBAA0C,EAC1C,OAAyB;;YAEzB,OAAO,MAAM,uBAAuB,CAAC,WAAW,EAAE,CAAC,cAAc,CAC/D,aAAa,EACb,OAAO,EACP,oBAAoB,EACpB,OAAO,CACR,CAAA;QACH,CAAC;KAAA;IAZqB,0BAAU,aAY/B,CAAA;AACH,CAAC,EAtBgB,eAAe,KAAf,eAAe,QAsB/B","sourcesContent":["import {AccessLogApi} from \"../api/AccessLogApi.mjs\";\nimport {CalendarItemApi} from \"../api/CalendarItemApi.mjs\";\nimport {ClassificationApi} from \"../api/ClassificationApi.mjs\";\nimport {ContactApi} from \"../api/ContactApi.mjs\";\nimport {DeviceApi} from \"../api/DeviceApi.mjs\";\nimport {DocumentApi} from \"../api/DocumentApi.mjs\";\nimport {FormApi} from \"../api/FormApi.mjs\";\nimport {HealthElementApi} from \"../api/HealthElementApi.mjs\";\nimport {InvoiceApi} from \"../api/InvoiceApi.mjs\";\nimport {MaintenanceTaskApi} from \"../api/MaintenanceTaskApi.mjs\";\nimport {MessageApi} from \"../api/MessageApi.mjs\";\nimport {PatientApi} from \"../api/PatientApi.mjs\";\nimport {PermissionApi} from \"../api/PermissionApi.mjs\";\nimport {ReceiptApi} from \"../api/ReceiptApi.mjs\";\nimport {TimeTableApi} from \"../api/TimeTableApi.mjs\";\nimport {TopicApi} from \"../api/TopicApi.mjs\";\nimport {CryptoApi} from \"../api/CryptoApi.mjs\";\nimport {DataOwnerApi} from \"../api/DataOwnerApi.mjs\";\nimport {UserApi} from \"../api/UserApi.mjs\";\nimport {CardinalMaintenanceTaskApi} from \"../api/CardinalMaintenanceTaskApi.mjs\";\nimport {RecoveryApi} from \"../api/RecoveryApi.mjs\";\nimport {\n AuthenticationMethod,\n AuthenticationProcessCaptchaType,\n AuthenticationProcessTelecomType, AuthenticationProcessTemplateParameters\n} from \"../options/AuthenticationMethod.mjs\";\nimport {StorageFacade} from \"../storage/StorageFacade.mjs\";\nimport {CardinalStorageOptions, InternalSdkInitializers} from \"../cardinal-sdk-ts.mjs\";\nimport {SdkOptions, BasicSdkOptions} from \"../options/SdkOptions.mjs\";\nimport {ApplicationSettingsApi} from \"../api/ApplicationSettingsApi.mjs\";\nimport {CodeApi} from \"../api/CodeApi.mjs\";\nimport {DocumentTemplateApi} from \"../api/DocumentTemplateApi.mjs\";\nimport {EntityReferenceApi} from \"../api/EntityReferenceApi.mjs\";\nimport {EntityTemplateApi} from \"../api/EntityTemplateApi.mjs\";\nimport {FrontEndMigrationApi} from \"../api/FrontEndMigrationApi.mjs\";\nimport {GroupApi} from \"../api/GroupApi.mjs\";\nimport {HealthcarePartyApi} from \"../api/HealthcarePartyApi.mjs\";\nimport {SystemApi} from \"../api/SystemApi.mjs\";\nimport {InsuranceApi} from \"../api/InsuranceApi.mjs\";\nimport {KeywordApi} from \"../api/KeywordApi.mjs\";\nimport {PlaceApi} from \"../api/PlaceApi.mjs\";\nimport {RoleApi} from \"../api/RoleApi.mjs\";\nimport {TarificationApi} from \"../api/TarificationApi.mjs\";\nimport {AccessLogBasicApi} from \"../api/AccessLogBasicApi.mjs\";\nimport {CalendarItemBasicApi} from \"../api/CalendarItemBasicApi.mjs\";\nimport {ClassificationBasicApi} from \"../api/ClassificationBasicApi.mjs\";\nimport {ContactBasicApi} from \"../api/ContactBasicApi.mjs\";\nimport {DocumentBasicApi} from \"../api/DocumentBasicApi.mjs\";\nimport {FormBasicApi} from \"../api/FormBasicApi.mjs\";\nimport {HealthElementBasicApi} from \"../api/HealthElementBasicApi.mjs\";\nimport {InvoiceBasicApi} from \"../api/InvoiceBasicApi.mjs\";\nimport {MaintenanceTaskBasicApi} from \"../api/MaintenanceTaskBasicApi.mjs\";\nimport {MessageBasicApi} from \"../api/MessageBasicApi.mjs\";\nimport {PatientBasicApi} from \"../api/PatientBasicApi.mjs\";\nimport {ReceiptBasicApi} from \"../api/ReceiptBasicApi.mjs\";\nimport {TimeTableBasicApi} from \"../api/TimeTableBasicApi.mjs\";\nimport {TopicBasicApi} from \"../api/TopicBasicApi.mjs\";\nimport {AgendaApi} from \"../api/AgendaApi.mjs\";\nimport {MedicalLocationApi} from \"../api/MedicalLocationApi.mjs\";\n\n/**\n * Main entry point to use iCure, provides access to the various apis with encryption capabilities.\n * Only data owner users with a valid keypair can use these apis.\n */\nexport interface CardinalSdk {\n readonly applicationSettings: ApplicationSettingsApi\n readonly code: CodeApi\n readonly device: DeviceApi\n readonly documentTemplate: DocumentTemplateApi\n readonly entityReference: EntityReferenceApi\n readonly entityTemplate: EntityTemplateApi\n readonly frontEndMigration: FrontEndMigrationApi\n readonly group: GroupApi\n readonly healthcareParty: HealthcarePartyApi\n readonly system: SystemApi\n readonly insurance: InsuranceApi\n readonly keyword: KeywordApi\n readonly permission: PermissionApi\n readonly place: PlaceApi\n readonly role: RoleApi\n readonly tarification: TarificationApi\n readonly user: UserApi\n readonly medicalLocationApi: MedicalLocationApi\n readonly agendaApi: AgendaApi\n readonly accessLog: AccessLogApi\n readonly calendarItem: CalendarItemApi\n readonly classification: ClassificationApi\n readonly contact: ContactApi\n readonly document: DocumentApi\n readonly form: FormApi\n readonly healthElement: HealthElementApi\n readonly invoice: InvoiceApi\n readonly maintenanceTask: MaintenanceTaskApi\n readonly message: MessageApi\n readonly patient: PatientApi\n readonly receipt: ReceiptApi\n readonly timeTable: TimeTableApi\n readonly topic: TopicApi\n readonly crypto: CryptoApi\n readonly recovery: RecoveryApi\n readonly cardinalMaintenanceTask: CardinalMaintenanceTaskApi\n readonly dataOwner: DataOwnerApi\n\n /**\n * Get a new sdk using the same configurations and user authentication methods but for a different group.\n * To use this method, the authentication method provided at initialization of this sdk must be valid also for the\n * new group.\n *\n * @param groupId the id of the new group to switch to\n * @return a new sdk for executing requests in the provided group\n */\n switchGroup(groupId: String): Promise<CardinalSdk>\n}\n\n/**\n * A stripped down version of the iCure SDK that can be used also by users that aren't data owners.\n * This could be useful, for example, if you want to perform some system maintenance using an admin user, or compile\n * some statistics without using any encrypted information\n */\nexport interface CardinalBaseSdk {\n readonly applicationSettings: ApplicationSettingsApi\n readonly code: CodeApi\n readonly device: DeviceApi\n readonly documentTemplate: DocumentTemplateApi\n readonly entityReference: EntityReferenceApi\n readonly entityTemplate: EntityTemplateApi\n readonly frontEndMigration: FrontEndMigrationApi\n readonly group: GroupApi\n readonly healthcareParty: HealthcarePartyApi\n readonly system: SystemApi\n readonly insurance: InsuranceApi\n readonly keyword: KeywordApi\n readonly permission: PermissionApi\n readonly place: PlaceApi\n readonly role: RoleApi\n readonly tarification: TarificationApi\n readonly user: UserApi\n readonly medicalLocationApi: MedicalLocationApi\n readonly agendaApi: AgendaApi\n readonly accessLog: AccessLogBasicApi\n readonly calendarItem: CalendarItemBasicApi\n readonly classification: ClassificationBasicApi\n readonly contact: ContactBasicApi\n readonly document: DocumentBasicApi\n readonly form: FormBasicApi\n readonly healthElement: HealthElementBasicApi\n readonly invoice: InvoiceBasicApi\n readonly maintenanceTask: MaintenanceTaskBasicApi\n readonly message: MessageBasicApi\n readonly patient: PatientBasicApi\n readonly receipt: ReceiptBasicApi\n readonly timeTable: TimeTableBasicApi\n readonly topic: TopicBasicApi\n\n\n /**\n * Get a new sdk using the same configurations and user authentication methods but for a different group.\n * To use this method, the authentication method provided at initialization of this sdk must be valid also for the\n * new group.\n *\n * @param groupId the id of the new group to switch to\n * @return a new sdk for executing requests in the provided group\n */\n switchGroup(groupId: string): Promise<CardinalBaseSdk>\n}\n\nexport namespace CardinalSdk {\n /**\n * Initialize a new instance of the icure sdk for a specific user.\n *\n * @param applicationId a string to uniquely identify your iCure application.\n * @param baseUrl the url of the iCure backend to use\n * @param authenticationMethod specifies how the sdk should authenticate.\n * @param baseStorage an implementation of {@link StorageFacade} or standard icure storage options, used for persistent\n * storage of various information including the user keys if {@link SdkOptions.keyStorage}1 is not provided.\n * @param options optional parameters for the initialization of the sdk.\n */\n export async function initialize(\n applicationId: string | undefined,\n baseUrl: string,\n authenticationMethod: AuthenticationMethod,\n baseStorage: StorageFacade | CardinalStorageOptions,\n options?: SdkOptions\n ): Promise<CardinalSdk> {\n return await InternalSdkInitializers.getInstance().initializeSdk(\n applicationId,\n baseUrl,\n authenticationMethod,\n baseStorage,\n options\n )\n }\n\n /**\n * Initialize a new instance of the icure sdk for a specific user.\n * The authentication will be performed through an authentication process.\n *\n * @param applicationId a string to uniquely identify your iCure application.\n * @param baseUrl the url of the iCure backend to use\n * @param messageGatewayUrl the url of the iCure message gateway you want to use. Usually this should be\n * @param externalServicesSpecId an identifier that allows the message gateway to connect the request to your\n * services for email / sms communication of the process tokens.\n * @param processId the id of the process you want to execute.\n * @param userTelecomType the type of telecom number used for the user.\n * @param userTelecom the telecom number of the user for which you want to execute the process. This should be an\n * email address or phone number depending on the type of process you are executing.\n * @param captchaType the type of captcha you use with your processes.\n * @param captchaKey the key obtained by resolving the captcha. Used to prevent abuse of the message gateway and\n * connected external services.\n * @param baseStorage an implementation of the [StorageFacade], used for persistent storage of various\n * information including the user keys if [ApiOptions.keyStorage] is not provided.\n * @param authenticationProcessTemplateParameters optional parameters which may be used by sms/email templates.\n * @param options optional parameters for the initialization of the sdk.\n */\n export async function initializeWithProcess(\n applicationId: string | undefined,\n baseUrl: string,\n messageGatewayUrl: string,\n externalServicesSpecId: string,\n processId: string,\n userTelecomType: AuthenticationProcessTelecomType,\n userTelecom: string,\n captchaType: AuthenticationProcessCaptchaType,\n captchaKey: string,\n baseStorage: StorageFacade | CardinalStorageOptions,\n authenticationProcessTemplateParameters?: AuthenticationProcessTemplateParameters,\n options?: SdkOptions\n ): Promise<AuthenticationWithProcessStep> {\n return await InternalSdkInitializers.getInstance().initializeWithProcess(\n applicationId,\n baseUrl,\n messageGatewayUrl,\n externalServicesSpecId,\n processId,\n userTelecomType,\n userTelecom,\n captchaType,\n captchaKey,\n baseStorage,\n authenticationProcessTemplateParameters,\n options,\n )\n }\n\n /**\n * Represents an intermediate stage in the initialization of an SDK through an authentication process\n * The initialization can complete only after the user provides the validation code received via email/sms.\n */\n export interface AuthenticationWithProcessStep {\n /**\n * Complete the authentication of the user and finishes the initialization of the SDK.\n * In case the provided validation code is wrong this method will throw an exception, but it is still possible\n * to call to re-attempt authentication by calling this method with a different validation code.\n */\n completeAuthentication(validationCode: String): Promise<CardinalSdk>\n }\n}\n\nexport namespace CardinalBaseSdk {\n /**\n * Initialize a new instance of the icure sdk for a specific user.\n *\n * @param applicationId a string to uniquely identify your iCure application.\n * @param baseUrl the url of the iCure backend to use\n * @param authenticationMethod specifies how the sdk should authenticate.\n * @param options optional parameters for the initialization of the sdk.\n */\n export async function initialize(\n applicationId: string | undefined,\n baseUrl: string,\n authenticationMethod: AuthenticationMethod,\n options?: BasicSdkOptions\n ): Promise<CardinalBaseSdk> {\n return await InternalSdkInitializers.getInstance().initializeBase(\n applicationId,\n baseUrl,\n authenticationMethod,\n options\n )\n }\n}"]}
|
package/sdk.d.mts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './sdk/CardinalSdk.mjs';
|
package/sdk.mjs
ADDED
package/sdk.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sdk.mjs","sourceRoot":"","sources":["../tsSourcesProject/sdk.mts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA","sourcesContent":["export * from './sdk/CardinalSdk.mjs'\n"]}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { CardinalKeyStorageOptions, CardinalStorageOptions } from "../cardinal-sdk-ts.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* Provides permanent storage capabilities to the SDK
|
|
4
|
+
*/
|
|
5
|
+
export interface StorageFacade {
|
|
6
|
+
/**
|
|
7
|
+
* Returns the value of the provided key from the storage
|
|
8
|
+
* @param key Key of the value to retrieve
|
|
9
|
+
* @return The value associated to the provided key or null if there is no value stored at the provided key.
|
|
10
|
+
*/
|
|
11
|
+
getItem(key: string): Promise<string | undefined>;
|
|
12
|
+
/**
|
|
13
|
+
* Set an item in the storage for the given key. If an item already exists for the given key, it will be overwritten.
|
|
14
|
+
* @param key Key of the value to set
|
|
15
|
+
* @param value the value to store
|
|
16
|
+
*/
|
|
17
|
+
setItem(key: string, value: string): Promise<void>;
|
|
18
|
+
/**
|
|
19
|
+
* Removes the item with the given key from the storage, if present.
|
|
20
|
+
* Does nothing if there is no value.
|
|
21
|
+
* @param key The key of the item to remove.
|
|
22
|
+
*/
|
|
23
|
+
removeItem(key: string): Promise<void>;
|
|
24
|
+
}
|
|
25
|
+
export declare namespace StorageFacade {
|
|
26
|
+
/**
|
|
27
|
+
* Factory method returning storage options that will cause the sdk to store the data as files at the provided
|
|
28
|
+
* directory. These options are usable only on node.
|
|
29
|
+
* @param directory
|
|
30
|
+
*/
|
|
31
|
+
function usingFileSystem(directory: string): CardinalStorageOptions;
|
|
32
|
+
/**
|
|
33
|
+
* Factory method returning storage options that will cause the sdk to store the data as entries on the browser
|
|
34
|
+
* local storage. These options require the `localStorage` global to be available
|
|
35
|
+
*/
|
|
36
|
+
function usingBrowserLocalStorage(): CardinalStorageOptions;
|
|
37
|
+
}
|
|
38
|
+
export interface KeyStorageFacade {
|
|
39
|
+
/**
|
|
40
|
+
* Returns the publicKey of the provided key from the storage
|
|
41
|
+
* @param storageEntryKey Key of the value to retrieve
|
|
42
|
+
* @return The publicKey associated to the provided storageEntryKey in spki format or null if no entry has such key.
|
|
43
|
+
* @throws IllegalEntityException if there is a value stored at the provided entry key, but it is not a public key
|
|
44
|
+
*/
|
|
45
|
+
getPublicKeySpki(storageEntryKey: string): Promise<Int8Array | undefined>;
|
|
46
|
+
/**
|
|
47
|
+
* Returns the privateKey of the provided key from the storage
|
|
48
|
+
* @param storageEntryKey Key of the value to retrieve
|
|
49
|
+
* @return The privateKey associated to the provided storageEntryKey in pkcs8 format or null if no entry has such key.
|
|
50
|
+
* @throws IllegalEntityException if there is a value stored at the provided entry key, but it is not a private key
|
|
51
|
+
*/
|
|
52
|
+
getPrivateKeyPkcs8(storageEntryKey: string): Promise<Int8Array | undefined>;
|
|
53
|
+
/**
|
|
54
|
+
* Delete the key associated to the provided storage entry key
|
|
55
|
+
* @param storageEntryKey Key of the value to delete
|
|
56
|
+
*/
|
|
57
|
+
deleteKey(storageEntryKey: string): Promise<void>;
|
|
58
|
+
/**
|
|
59
|
+
* Stores the given public key under the given key in the storage. If an entry already exists for the given storage
|
|
60
|
+
* key, it will be overwritten; if you want to store the keypair just store the private key instead (with
|
|
61
|
+
* [storePrivateKey]), since the public key is derivable from the private key.
|
|
62
|
+
* @param storageEntryKey The id of the entry in storage
|
|
63
|
+
* @param publicKeySpki the public key to store, in spki format
|
|
64
|
+
*/
|
|
65
|
+
storePublicKey(storageEntryKey: string, publicKeySpki: Int8Array): Promise<void>;
|
|
66
|
+
/**
|
|
67
|
+
* Stores the given public key under the given key in the storage. If an entry already exists for the given storage
|
|
68
|
+
* key, it will be overwritten.
|
|
69
|
+
* @param storageEntryKey The id of the entry in storage
|
|
70
|
+
* @param privateKey the private key to store, in pkcs8 format
|
|
71
|
+
*/
|
|
72
|
+
storePrivateKey(storageEntryKey: string, privateKey: Int8Array): Promise<void>;
|
|
73
|
+
}
|
|
74
|
+
export declare namespace KeyStorageFacade {
|
|
75
|
+
/**
|
|
76
|
+
* Factory method returning storage options that will cause the sdk to store the keys as string entries on the
|
|
77
|
+
* provided storage facade. The raw keys data (spki or pkcs8) will be encoded as base 64
|
|
78
|
+
*/
|
|
79
|
+
function encodingAsBase64(baseStorage: StorageFacade | CardinalStorageOptions): CardinalKeyStorageOptions;
|
|
80
|
+
/**
|
|
81
|
+
* Factory method returning storage options that will cause the sdk to store the keys as string entries on the
|
|
82
|
+
* provided storage facade. The keys will be stored as json in jwk format.
|
|
83
|
+
*/
|
|
84
|
+
function encodingAsJwk(baseStorage: StorageFacade | CardinalStorageOptions): CardinalKeyStorageOptions;
|
|
85
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { InternalCardinalKeyStorageOptionsFactory, InternalCardinalStorageOptionsFactory } from "../cardinal-sdk-ts.mjs";
|
|
2
|
+
export var StorageFacade;
|
|
3
|
+
(function (StorageFacade) {
|
|
4
|
+
/**
|
|
5
|
+
* Factory method returning storage options that will cause the sdk to store the data as files at the provided
|
|
6
|
+
* directory. These options are usable only on node.
|
|
7
|
+
* @param directory
|
|
8
|
+
*/
|
|
9
|
+
function usingFileSystem(directory) {
|
|
10
|
+
return InternalCardinalStorageOptionsFactory.getInstance().fileSystem(directory);
|
|
11
|
+
}
|
|
12
|
+
StorageFacade.usingFileSystem = usingFileSystem;
|
|
13
|
+
/**
|
|
14
|
+
* Factory method returning storage options that will cause the sdk to store the data as entries on the browser
|
|
15
|
+
* local storage. These options require the `localStorage` global to be available
|
|
16
|
+
*/
|
|
17
|
+
function usingBrowserLocalStorage() {
|
|
18
|
+
return InternalCardinalStorageOptionsFactory.getInstance().browserLocalStorage();
|
|
19
|
+
}
|
|
20
|
+
StorageFacade.usingBrowserLocalStorage = usingBrowserLocalStorage;
|
|
21
|
+
})(StorageFacade || (StorageFacade = {}));
|
|
22
|
+
export var KeyStorageFacade;
|
|
23
|
+
(function (KeyStorageFacade) {
|
|
24
|
+
/**
|
|
25
|
+
* Factory method returning storage options that will cause the sdk to store the keys as string entries on the
|
|
26
|
+
* provided storage facade. The raw keys data (spki or pkcs8) will be encoded as base 64
|
|
27
|
+
*/
|
|
28
|
+
function encodingAsBase64(baseStorage) {
|
|
29
|
+
return InternalCardinalKeyStorageOptionsFactory.getInstance().encodingAsBase64(baseStorage);
|
|
30
|
+
}
|
|
31
|
+
KeyStorageFacade.encodingAsBase64 = encodingAsBase64;
|
|
32
|
+
/**
|
|
33
|
+
* Factory method returning storage options that will cause the sdk to store the keys as string entries on the
|
|
34
|
+
* provided storage facade. The keys will be stored as json in jwk format.
|
|
35
|
+
*/
|
|
36
|
+
function encodingAsJwk(baseStorage) {
|
|
37
|
+
return InternalCardinalKeyStorageOptionsFactory.getInstance().encodingAsJwk(baseStorage);
|
|
38
|
+
}
|
|
39
|
+
KeyStorageFacade.encodingAsJwk = encodingAsJwk;
|
|
40
|
+
})(KeyStorageFacade || (KeyStorageFacade = {}));
|
|
41
|
+
//# sourceMappingURL=StorageFacade.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StorageFacade.mjs","sourceRoot":"","sources":["../../tsSourcesProject/storage/StorageFacade.mts"],"names":[],"mappings":"AAAA,OAAO,EAGN,wCAAwC,EACxC,qCAAqC,EACrC,MAAM,wBAAwB,CAAC;AA4BhC,MAAM,KAAW,aAAa,CAgB7B;AAhBD,WAAiB,aAAa;IAC7B;;;;OAIG;IACH,SAAgB,eAAe,CAAC,SAAiB;QAChD,OAAO,qCAAqC,CAAC,WAAW,EAAE,CAAC,UAAU,CAAC,SAAS,CAAC,CAAA;IACjF,CAAC;IAFe,6BAAe,kBAE9B,CAAA;IACD;;;OAGG;IACH,SAAgB,wBAAwB;QACvC,OAAO,qCAAqC,CAAC,WAAW,EAAE,CAAC,mBAAmB,EAAE,CAAA;IACjF,CAAC;IAFe,sCAAwB,2BAEvC,CAAA;AACF,CAAC,EAhBgB,aAAa,KAAb,aAAa,QAgB7B;AA2CD,MAAM,KAAW,gBAAgB,CAgBhC;AAhBD,WAAiB,gBAAgB;IAChC;;;OAGG;IACH,SAAgB,gBAAgB,CAAC,WAAmD;QACnF,OAAO,wCAAwC,CAAC,WAAW,EAAE,CAAC,gBAAgB,CAAC,WAAW,CAAC,CAAA;IAC5F,CAAC;IAFe,iCAAgB,mBAE/B,CAAA;IAED;;;OAGG;IACH,SAAgB,aAAa,CAAC,WAAmD;QAChF,OAAO,wCAAwC,CAAC,WAAW,EAAE,CAAC,aAAa,CAAC,WAAW,CAAC,CAAA;IACzF,CAAC;IAFe,8BAAa,gBAE5B,CAAA;AACF,CAAC,EAhBgB,gBAAgB,KAAhB,gBAAgB,QAgBhC","sourcesContent":["import {\n\tCardinalKeyStorageOptions,\n\tCardinalStorageOptions,\n\tInternalCardinalKeyStorageOptionsFactory,\n\tInternalCardinalStorageOptionsFactory\n} from \"../cardinal-sdk-ts.mjs\";\n\n/**\n * Provides permanent storage capabilities to the SDK\n */\nexport interface StorageFacade {\n\t/**\n\t * Returns the value of the provided key from the storage\n\t * @param key Key of the value to retrieve\n\t * @return The value associated to the provided key or null if there is no value stored at the provided key.\n\t */\n\tgetItem(key: string): Promise<string | undefined>\n\n\t/**\n\t * Set an item in the storage for the given key. If an item already exists for the given key, it will be overwritten.\n\t * @param key Key of the value to set\n\t * @param value the value to store\n\t */\n\tsetItem(key: string, value: string): Promise<void>\n\n\t/**\n\t * Removes the item with the given key from the storage, if present.\n\t * Does nothing if there is no value.\n\t * @param key The key of the item to remove.\n\t */\n\tremoveItem(key: string): Promise<void>\n}\n\nexport namespace StorageFacade {\n\t/**\n\t * Factory method returning storage options that will cause the sdk to store the data as files at the provided\n\t * directory. These options are usable only on node.\n\t * @param directory\n\t */\n\texport function usingFileSystem(directory: string): CardinalStorageOptions {\n\t\treturn InternalCardinalStorageOptionsFactory.getInstance().fileSystem(directory)\n\t}\n\t/**\n\t * Factory method returning storage options that will cause the sdk to store the data as entries on the browser\n\t * local storage. These options require the `localStorage` global to be available\n\t */\n\texport function usingBrowserLocalStorage(): CardinalStorageOptions {\n\t\treturn InternalCardinalStorageOptionsFactory.getInstance().browserLocalStorage()\n\t}\n}\n\nexport interface KeyStorageFacade {\n\t/**\n\t * Returns the publicKey of the provided key from the storage\n\t * @param storageEntryKey Key of the value to retrieve\n\t * @return The publicKey associated to the provided storageEntryKey in spki format or null if no entry has such key.\n\t * @throws IllegalEntityException if there is a value stored at the provided entry key, but it is not a public key\n\t */\n\tgetPublicKeySpki(storageEntryKey: string): Promise<Int8Array | undefined>\n\n\t/**\n\t * Returns the privateKey of the provided key from the storage\n\t * @param storageEntryKey Key of the value to retrieve\n\t * @return The privateKey associated to the provided storageEntryKey in pkcs8 format or null if no entry has such key.\n\t * @throws IllegalEntityException if there is a value stored at the provided entry key, but it is not a private key\n\t */\n\tgetPrivateKeyPkcs8(storageEntryKey: string): Promise<Int8Array | undefined>\n\n\t/**\n\t * Delete the key associated to the provided storage entry key\n\t * @param storageEntryKey Key of the value to delete\n\t */\n\tdeleteKey(storageEntryKey: string): Promise<void>\n\n\t/**\n\t * Stores the given public key under the given key in the storage. If an entry already exists for the given storage\n\t * key, it will be overwritten; if you want to store the keypair just store the private key instead (with\n\t * [storePrivateKey]), since the public key is derivable from the private key.\n\t * @param storageEntryKey The id of the entry in storage\n\t * @param publicKeySpki the public key to store, in spki format\n\t */\n\tstorePublicKey(storageEntryKey: string, publicKeySpki: Int8Array): Promise<void>\n\n\t/**\n\t * Stores the given public key under the given key in the storage. If an entry already exists for the given storage\n\t * key, it will be overwritten.\n\t * @param storageEntryKey The id of the entry in storage\n\t * @param privateKey the private key to store, in pkcs8 format\n\t */\n\tstorePrivateKey(storageEntryKey: string, privateKey: Int8Array): Promise<void>\n}\n\nexport namespace KeyStorageFacade {\n\t/**\n\t * Factory method returning storage options that will cause the sdk to store the keys as string entries on the\n\t * provided storage facade. The raw keys data (spki or pkcs8) will be encoded as base 64\n\t */\n\texport function encodingAsBase64(baseStorage: StorageFacade | CardinalStorageOptions): CardinalKeyStorageOptions {\n\t\treturn InternalCardinalKeyStorageOptionsFactory.getInstance().encodingAsBase64(baseStorage)\n\t}\n\n\t/**\n\t * Factory method returning storage options that will cause the sdk to store the keys as string entries on the\n\t * provided storage facade. The keys will be stored as json in jwk format.\n\t */\n\texport function encodingAsJwk(baseStorage: StorageFacade | CardinalStorageOptions): CardinalKeyStorageOptions {\n\t\treturn InternalCardinalKeyStorageOptionsFactory.getInstance().encodingAsJwk(baseStorage)\n\t}\n}"]}
|
package/storage.d.mts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './storage/StorageFacade.mjs';
|
package/storage.mjs
ADDED
package/storage.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storage.mjs","sourceRoot":"","sources":["../tsSourcesProject/storage.mts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAA","sourcesContent":["export * from './storage/StorageFacade.mjs'\n"]}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Identifiable } from "../model/base/Identifiable.mjs";
|
|
2
|
+
import { EntitySubscriptionCloseReason } from "./EntitySubscriptionCloseReason.mjs";
|
|
3
|
+
import { EntitySubscriptionEvent } from "./EntitySubscriptionEvent.mjs";
|
|
4
|
+
export interface EntitySubscription<E extends Identifiable<string>> {
|
|
5
|
+
/**
|
|
6
|
+
* Closes the subscription. A closed subscription will not receive any new events, but any existing event may still
|
|
7
|
+
* be consumed after closing.
|
|
8
|
+
*/
|
|
9
|
+
close(): Promise<void>;
|
|
10
|
+
/**
|
|
11
|
+
* If the subscription is permanently closed. Even if this is true there may still be some unconsumed events
|
|
12
|
+
*/
|
|
13
|
+
readonly isClosed: Boolean;
|
|
14
|
+
/**
|
|
15
|
+
* If the subscription is closed the reason for closure, null otherwise. Even if this is not null there may still be
|
|
16
|
+
* some unconsumed events
|
|
17
|
+
*/
|
|
18
|
+
readonly closeReason: EntitySubscriptionCloseReason | null;
|
|
19
|
+
/**
|
|
20
|
+
* Consume the next event in the subscription event queue or null if there is currently no event. If the subscription is
|
|
21
|
+
* closed you can still retrieved any unconsumed event, but no new event will be added to the queue.
|
|
22
|
+
*/
|
|
23
|
+
getEvent(): EntitySubscriptionEvent<E> | null;
|
|
24
|
+
/**
|
|
25
|
+
* Waits for the next event in the subscription event queue and consumes it, or return null if no new event is produced
|
|
26
|
+
* within the provided timeout or if the subscription gets closed while waiting.
|
|
27
|
+
*/
|
|
28
|
+
waitForEvent(timeoutMs: number): Promise<EntitySubscriptionEvent<E> | null>;
|
|
29
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EntitySubscription.mjs","sourceRoot":"","sources":["../../tsSourcesProject/subscription/EntitySubscription.mts"],"names":[],"mappings":"","sourcesContent":["import {Identifiable} from \"../model/base/Identifiable.mjs\";\nimport {EntitySubscriptionCloseReason} from \"./EntitySubscriptionCloseReason.mjs\";\nimport {EntitySubscriptionEvent} from \"./EntitySubscriptionEvent.mjs\";\n\nexport interface EntitySubscription<E extends Identifiable<string>> {\n /**\n * Closes the subscription. A closed subscription will not receive any new events, but any existing event may still\n * be consumed after closing.\n */\n close(): Promise<void>\n\n /**\n * If the subscription is permanently closed. Even if this is true there may still be some unconsumed events\n */\n readonly isClosed: Boolean\n\n /**\n * If the subscription is closed the reason for closure, null otherwise. Even if this is not null there may still be\n * some unconsumed events\n */\n readonly closeReason: EntitySubscriptionCloseReason | null\n\n /**\n * Consume the next event in the subscription event queue or null if there is currently no event. If the subscription is\n * closed you can still retrieved any unconsumed event, but no new event will be added to the queue.\n */\n getEvent(): EntitySubscriptionEvent<E> | null\n\n /**\n * Waits for the next event in the subscription event queue and consumes it, or return null if no new event is produced\n * within the provided timeout or if the subscription gets closed while waiting.\n */\n waitForEvent(timeoutMs: number): Promise<EntitySubscriptionEvent<E> | null>\n}"]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// auto-generated file
|
|
2
|
+
export var EntitySubscriptionCloseReason;
|
|
3
|
+
(function (EntitySubscriptionCloseReason) {
|
|
4
|
+
EntitySubscriptionCloseReason["ChannelFull"] = "ChannelFull";
|
|
5
|
+
EntitySubscriptionCloseReason["ConnectionLost"] = "ConnectionLost";
|
|
6
|
+
EntitySubscriptionCloseReason["IntentionallyClosed"] = "IntentionallyClosed";
|
|
7
|
+
})(EntitySubscriptionCloseReason || (EntitySubscriptionCloseReason = {}));
|
|
8
|
+
//# sourceMappingURL=EntitySubscriptionCloseReason.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EntitySubscriptionCloseReason.mjs","sourceRoot":"","sources":["../../tsSourcesProject/subscription/EntitySubscriptionCloseReason.mts"],"names":[],"mappings":"AAAA,sBAAsB;AAEtB,MAAM,CAAN,IAAY,6BAIX;AAJD,WAAY,6BAA6B;IACxC,4DAA2B,CAAA;IAC3B,kEAAiC,CAAA;IACjC,4EAA2C,CAAA;AAC5C,CAAC,EAJW,6BAA6B,KAA7B,6BAA6B,QAIxC","sourcesContent":["// auto-generated file\n\nexport enum EntitySubscriptionCloseReason {\n\tChannelFull = \"ChannelFull\",\n\tConnectionLost = \"ConnectionLost\",\n\tIntentionallyClosed = \"IntentionallyClosed\"\n}\n"]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { DurationMs } from '../utils/DurationMs.mjs';
|
|
2
|
+
export declare class EntitySubscriptionConfiguration {
|
|
3
|
+
channelBufferCapacity: number;
|
|
4
|
+
onBufferFull: EntitySubscriptionConfiguration.FullBufferBehaviour;
|
|
5
|
+
reconnectionDelay: DurationMs;
|
|
6
|
+
retryDelayExponentFactor: number;
|
|
7
|
+
connectionMaxRetries: number;
|
|
8
|
+
constructor(partial: Partial<EntitySubscriptionConfiguration>);
|
|
9
|
+
}
|
|
10
|
+
export declare namespace EntitySubscriptionConfiguration {
|
|
11
|
+
enum FullBufferBehaviour {
|
|
12
|
+
Close = "Close",
|
|
13
|
+
DropOldest = "DropOldest",
|
|
14
|
+
Ignore = "Ignore"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export class EntitySubscriptionConfiguration {
|
|
2
|
+
constructor(partial) {
|
|
3
|
+
this.channelBufferCapacity = 100;
|
|
4
|
+
this.onBufferFull = EntitySubscriptionConfiguration.FullBufferBehaviour.Close;
|
|
5
|
+
this.reconnectionDelay = 2000;
|
|
6
|
+
this.retryDelayExponentFactor = 2.0;
|
|
7
|
+
this.connectionMaxRetries = 5;
|
|
8
|
+
if ('channelBufferCapacity' in partial && partial.channelBufferCapacity !== undefined)
|
|
9
|
+
this.channelBufferCapacity = partial.channelBufferCapacity;
|
|
10
|
+
if ('onBufferFull' in partial && partial.onBufferFull !== undefined)
|
|
11
|
+
this.onBufferFull = partial.onBufferFull;
|
|
12
|
+
if ('reconnectionDelay' in partial && partial.reconnectionDelay !== undefined)
|
|
13
|
+
this.reconnectionDelay = partial.reconnectionDelay;
|
|
14
|
+
if ('retryDelayExponentFactor' in partial && partial.retryDelayExponentFactor !== undefined)
|
|
15
|
+
this.retryDelayExponentFactor = partial.retryDelayExponentFactor;
|
|
16
|
+
if ('connectionMaxRetries' in partial && partial.connectionMaxRetries !== undefined)
|
|
17
|
+
this.connectionMaxRetries = partial.connectionMaxRetries;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
(function (EntitySubscriptionConfiguration) {
|
|
21
|
+
let FullBufferBehaviour;
|
|
22
|
+
(function (FullBufferBehaviour) {
|
|
23
|
+
FullBufferBehaviour["Close"] = "Close";
|
|
24
|
+
FullBufferBehaviour["DropOldest"] = "DropOldest";
|
|
25
|
+
FullBufferBehaviour["Ignore"] = "Ignore";
|
|
26
|
+
})(FullBufferBehaviour = EntitySubscriptionConfiguration.FullBufferBehaviour || (EntitySubscriptionConfiguration.FullBufferBehaviour = {}));
|
|
27
|
+
})(EntitySubscriptionConfiguration || (EntitySubscriptionConfiguration = {}));
|
|
28
|
+
//# sourceMappingURL=EntitySubscriptionConfiguration.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EntitySubscriptionConfiguration.mjs","sourceRoot":"","sources":["../../tsSourcesProject/subscription/EntitySubscriptionConfiguration.mts"],"names":[],"mappings":"AAIA,MAAM,OAAO,+BAA+B;IAY3C,YAAY,OAAiD;QAV7D,0BAAqB,GAAW,GAAG,CAAC;QAEpC,iBAAY,GAAwD,+BAA+B,CAAC,mBAAmB,CAAC,KAAK,CAAC;QAE9H,sBAAiB,GAAe,IAAI,CAAC;QAErC,6BAAwB,GAAW,GAAG,CAAC;QAEvC,yBAAoB,GAAW,CAAC,CAAC;QAGhC,IAAI,uBAAuB,IAAI,OAAO,IAAI,OAAO,CAAC,qBAAqB,KAAK,SAAS;YAAE,IAAI,CAAC,qBAAqB,GAAG,OAAO,CAAC,qBAAqB,CAAC;QAClJ,IAAI,cAAc,IAAI,OAAO,IAAI,OAAO,CAAC,YAAY,KAAK,SAAS;YAAE,IAAI,CAAC,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC;QAC9G,IAAI,mBAAmB,IAAI,OAAO,IAAI,OAAO,CAAC,iBAAiB,KAAK,SAAS;YAAE,IAAI,CAAC,iBAAiB,GAAG,OAAO,CAAC,iBAAiB,CAAC;QAClI,IAAI,0BAA0B,IAAI,OAAO,IAAI,OAAO,CAAC,wBAAwB,KAAK,SAAS;YAAE,IAAI,CAAC,wBAAwB,GAAG,OAAO,CAAC,wBAAwB,CAAC;QAC9J,IAAI,sBAAsB,IAAI,OAAO,IAAI,OAAO,CAAC,oBAAoB,KAAK,SAAS;YAAE,IAAI,CAAC,oBAAoB,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAC/I,CAAC;CAED;AAED,WAAiB,+BAA+B;IAE/C,IAAY,mBAIX;IAJD,WAAY,mBAAmB;QAC9B,sCAAe,CAAA;QACf,gDAAyB,CAAA;QACzB,wCAAiB,CAAA;IAClB,CAAC,EAJW,mBAAmB,GAAnB,mDAAmB,KAAnB,mDAAmB,QAI9B;AAEF,CAAC,EARgB,+BAA+B,KAA/B,+BAA+B,QAQ/C","sourcesContent":["// auto-generated file\nimport {DurationMs} from '../utils/DurationMs.mjs';\n\n\nexport class EntitySubscriptionConfiguration {\n\n\tchannelBufferCapacity: number = 100;\n\n\tonBufferFull: EntitySubscriptionConfiguration.FullBufferBehaviour = EntitySubscriptionConfiguration.FullBufferBehaviour.Close;\n\n\treconnectionDelay: DurationMs = 2000;\n\n\tretryDelayExponentFactor: number = 2.0;\n\n\tconnectionMaxRetries: number = 5;\n\n\tconstructor(partial: Partial<EntitySubscriptionConfiguration>) {\n\t\tif ('channelBufferCapacity' in partial && partial.channelBufferCapacity !== undefined) this.channelBufferCapacity = partial.channelBufferCapacity;\n\t\tif ('onBufferFull' in partial && partial.onBufferFull !== undefined) this.onBufferFull = partial.onBufferFull;\n\t\tif ('reconnectionDelay' in partial && partial.reconnectionDelay !== undefined) this.reconnectionDelay = partial.reconnectionDelay;\n\t\tif ('retryDelayExponentFactor' in partial && partial.retryDelayExponentFactor !== undefined) this.retryDelayExponentFactor = partial.retryDelayExponentFactor;\n\t\tif ('connectionMaxRetries' in partial && partial.connectionMaxRetries !== undefined) this.connectionMaxRetries = partial.connectionMaxRetries;\n\t}\n\n}\n\nexport namespace EntitySubscriptionConfiguration {\n\n\texport enum FullBufferBehaviour {\n\t\tClose = \"Close\",\n\t\tDropOldest = \"DropOldest\",\n\t\tIgnore = \"Ignore\"\n\t}\n\n}\n"]}
|