gdc-sdk-front-ts 2.1.2 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -3
- package/dist/ClientSDK.d.ts +11 -1
- package/dist/ClientSDK.js +13 -1
- package/dist/ProfileManager.js +6 -3
- package/dist/front-clinical-runtime-client.d.ts +69 -0
- package/dist/front-clinical-runtime-client.js +214 -0
- package/dist/frontend-profile-workspace.d.ts +62 -0
- package/dist/frontend-profile-workspace.js +129 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/individual-controller-frontend-runtime.d.ts +9 -3
- package/dist/individual-controller-frontend-runtime.js +7 -6
- package/dist/orchestration/client-port.d.ts +21 -3
- package/dist/orchestration/individual-member-sdk.d.ts +11 -1
- package/dist/orchestration/individual-member-sdk.js +12 -0
- package/dist/orchestration/professional-sdk.d.ts +7 -1
- package/dist/orchestration/professional-sdk.js +6 -0
- package/package.json +3 -3
- package/dist/discovery/HttpDataspaceDiscoveryClient.d.ts +0 -34
- package/dist/discovery/HttpDataspaceDiscoveryClient.js +0 -47
- package/dist/gdc-common-utils-ts/src/AesManager.d.ts +0 -27
- package/dist/gdc-common-utils-ts/src/AesManager.js +0 -64
- package/dist/gdc-common-utils-ts/src/CryptographyService.d.ts +0 -76
- package/dist/gdc-common-utils-ts/src/CryptographyService.js +0 -401
- package/dist/gdc-common-utils-ts/src/constants/actor-session.d.ts +0 -40
- package/dist/gdc-common-utils-ts/src/constants/actor-session.js +0 -40
- package/dist/gdc-common-utils-ts/src/constants/communication.d.ts +0 -28
- package/dist/gdc-common-utils-ts/src/constants/communication.js +0 -14
- package/dist/gdc-common-utils-ts/src/constants/cryptography.d.ts +0 -58
- package/dist/gdc-common-utils-ts/src/constants/cryptography.js +0 -49
- package/dist/gdc-common-utils-ts/src/constants/dataspace-discovery.d.ts +0 -11
- package/dist/gdc-common-utils-ts/src/constants/dataspace-discovery.js +0 -11
- package/dist/gdc-common-utils-ts/src/constants/dataspace-protocol.d.ts +0 -27
- package/dist/gdc-common-utils-ts/src/constants/dataspace-protocol.js +0 -27
- package/dist/gdc-common-utils-ts/src/constants/device.d.ts +0 -16
- package/dist/gdc-common-utils-ts/src/constants/device.js +0 -15
- package/dist/gdc-common-utils-ts/src/constants/did-services.d.ts +0 -42
- package/dist/gdc-common-utils-ts/src/constants/did-services.js +0 -40
- package/dist/gdc-common-utils-ts/src/constants/eu-countries.d.ts +0 -36
- package/dist/gdc-common-utils-ts/src/constants/eu-countries.js +0 -69
- package/dist/gdc-common-utils-ts/src/constants/fhir-code-systems.d.ts +0 -12
- package/dist/gdc-common-utils-ts/src/constants/fhir-code-systems.js +0 -12
- package/dist/gdc-common-utils-ts/src/constants/fhir-resource-types.d.ts +0 -52
- package/dist/gdc-common-utils-ts/src/constants/fhir-resource-types.js +0 -33
- package/dist/gdc-common-utils-ts/src/constants/fhir-versions.d.ts +0 -10
- package/dist/gdc-common-utils-ts/src/constants/fhir-versions.js +0 -10
- package/dist/gdc-common-utils-ts/src/constants/healthcare.d.ts +0 -496
- package/dist/gdc-common-utils-ts/src/constants/healthcare.js +0 -274
- package/dist/gdc-common-utils-ts/src/constants/hl7-roles.d.ts +0 -44
- package/dist/gdc-common-utils-ts/src/constants/hl7-roles.js +0 -208
- package/dist/gdc-common-utils-ts/src/constants/index.d.ts +0 -21
- package/dist/gdc-common-utils-ts/src/constants/index.js +0 -21
- package/dist/gdc-common-utils-ts/src/constants/network.d.ts +0 -25
- package/dist/gdc-common-utils-ts/src/constants/network.js +0 -17
- package/dist/gdc-common-utils-ts/src/constants/schemaorg.d.ts +0 -175
- package/dist/gdc-common-utils-ts/src/constants/schemaorg.js +0 -261
- package/dist/gdc-common-utils-ts/src/constants/sectors.d.ts +0 -24
- package/dist/gdc-common-utils-ts/src/constants/sectors.js +0 -24
- package/dist/gdc-common-utils-ts/src/constants/service-capabilities.d.ts +0 -82
- package/dist/gdc-common-utils-ts/src/constants/service-capabilities.js +0 -105
- package/dist/gdc-common-utils-ts/src/constants/smart.d.ts +0 -12
- package/dist/gdc-common-utils-ts/src/constants/smart.js +0 -12
- package/dist/gdc-common-utils-ts/src/constants/urn.d.ts +0 -11
- package/dist/gdc-common-utils-ts/src/constants/urn.js +0 -11
- package/dist/gdc-common-utils-ts/src/constants/verifiable-credentials.d.ts +0 -34
- package/dist/gdc-common-utils-ts/src/constants/verifiable-credentials.js +0 -42
- package/dist/gdc-common-utils-ts/src/constants/vital-signs.d.ts +0 -75
- package/dist/gdc-common-utils-ts/src/constants/vital-signs.js +0 -33
- package/dist/gdc-common-utils-ts/src/examples/api-flow-examples.d.ts +0 -15
- package/dist/gdc-common-utils-ts/src/examples/api-flow-examples.js +0 -16
- package/dist/gdc-common-utils-ts/src/examples/communication-bundle-session.d.ts +0 -22
- package/dist/gdc-common-utils-ts/src/examples/communication-bundle-session.js +0 -81
- package/dist/gdc-common-utils-ts/src/examples/consent-access.d.ts +0 -30
- package/dist/gdc-common-utils-ts/src/examples/consent-access.js +0 -121
- package/dist/gdc-common-utils-ts/src/examples/contract-examples.d.ts +0 -15
- package/dist/gdc-common-utils-ts/src/examples/contract-examples.js +0 -16
- package/dist/gdc-common-utils-ts/src/examples/dataspace-discovery.d.ts +0 -98
- package/dist/gdc-common-utils-ts/src/examples/dataspace-discovery.js +0 -141
- package/dist/gdc-common-utils-ts/src/examples/frontend-session.d.ts +0 -13
- package/dist/gdc-common-utils-ts/src/examples/frontend-session.js +0 -24
- package/dist/gdc-common-utils-ts/src/examples/ica-activation-proof.d.ts +0 -64
- package/dist/gdc-common-utils-ts/src/examples/ica-activation-proof.js +0 -77
- package/dist/gdc-common-utils-ts/src/examples/index.d.ts +0 -14
- package/dist/gdc-common-utils-ts/src/examples/index.js +0 -14
- package/dist/gdc-common-utils-ts/src/examples/individual-controller.d.ts +0 -100
- package/dist/gdc-common-utils-ts/src/examples/individual-controller.js +0 -71
- package/dist/gdc-common-utils-ts/src/examples/lifecycle.d.ts +0 -505
- package/dist/gdc-common-utils-ts/src/examples/lifecycle.js +0 -291
- package/dist/gdc-common-utils-ts/src/examples/organization-controller.d.ts +0 -163
- package/dist/gdc-common-utils-ts/src/examples/organization-controller.js +0 -93
- package/dist/gdc-common-utils-ts/src/examples/professional.d.ts +0 -228
- package/dist/gdc-common-utils-ts/src/examples/professional.js +0 -324
- package/dist/gdc-common-utils-ts/src/examples/related-person.d.ts +0 -10
- package/dist/gdc-common-utils-ts/src/examples/related-person.js +0 -13
- package/dist/gdc-common-utils-ts/src/examples/relationship-access.d.ts +0 -11
- package/dist/gdc-common-utils-ts/src/examples/relationship-access.js +0 -96
- package/dist/gdc-common-utils-ts/src/examples/shared.d.ts +0 -220
- package/dist/gdc-common-utils-ts/src/examples/shared.js +0 -191
- package/dist/gdc-common-utils-ts/src/hmac.d.ts +0 -14
- package/dist/gdc-common-utils-ts/src/hmac.js +0 -24
- package/dist/gdc-common-utils-ts/src/i18n/clinical-sections.i18n.d.ts +0 -6
- package/dist/gdc-common-utils-ts/src/i18n/clinical-sections.i18n.js +0 -15
- package/dist/gdc-common-utils-ts/src/i18n/role-codes.i18n.d.ts +0 -4
- package/dist/gdc-common-utils-ts/src/i18n/role-codes.i18n.js +0 -13
- package/dist/gdc-common-utils-ts/src/index.d.ts +0 -10
- package/dist/gdc-common-utils-ts/src/index.js +0 -10
- package/dist/gdc-common-utils-ts/src/interfaces/Cryptography.types.d.ts +0 -139
- package/dist/gdc-common-utils-ts/src/interfaces/Cryptography.types.js +0 -8
- package/dist/gdc-common-utils-ts/src/interfaces/ICryptoHelper.d.ts +0 -28
- package/dist/gdc-common-utils-ts/src/interfaces/ICryptoHelper.js +0 -3
- package/dist/gdc-common-utils-ts/src/interfaces/ICryptography.d.ts +0 -154
- package/dist/gdc-common-utils-ts/src/interfaces/ICryptography.js +0 -3
- package/dist/gdc-common-utils-ts/src/models/actor-session.d.ts +0 -9
- package/dist/gdc-common-utils-ts/src/models/actor-session.js +0 -3
- package/dist/gdc-common-utils-ts/src/models/aes.d.ts +0 -85
- package/dist/gdc-common-utils-ts/src/models/aes.js +0 -10
- package/dist/gdc-common-utils-ts/src/models/auth.d.ts +0 -35
- package/dist/gdc-common-utils-ts/src/models/auth.js +0 -3
- package/dist/gdc-common-utils-ts/src/models/bundle.d.ts +0 -153
- package/dist/gdc-common-utils-ts/src/models/bundle.js +0 -25
- package/dist/gdc-common-utils-ts/src/models/clinical-sections.d.ts +0 -36
- package/dist/gdc-common-utils-ts/src/models/clinical-sections.en.d.ts +0 -150
- package/dist/gdc-common-utils-ts/src/models/clinical-sections.en.js +0 -104
- package/dist/gdc-common-utils-ts/src/models/clinical-sections.js +0 -32
- package/dist/gdc-common-utils-ts/src/models/clinical-workbook-summary.d.ts +0 -126
- package/dist/gdc-common-utils-ts/src/models/clinical-workbook-summary.js +0 -67
- package/dist/gdc-common-utils-ts/src/models/comm.d.ts +0 -56
- package/dist/gdc-common-utils-ts/src/models/comm.js +0 -4
- package/dist/gdc-common-utils-ts/src/models/confidential-job.d.ts +0 -78
- package/dist/gdc-common-utils-ts/src/models/confidential-job.js +0 -20
- package/dist/gdc-common-utils-ts/src/models/confidential-message.d.ts +0 -97
- package/dist/gdc-common-utils-ts/src/models/confidential-message.js +0 -4
- package/dist/gdc-common-utils-ts/src/models/confidential-storage.d.ts +0 -134
- package/dist/gdc-common-utils-ts/src/models/confidential-storage.js +0 -3
- package/dist/gdc-common-utils-ts/src/models/consent-access.d.ts +0 -79
- package/dist/gdc-common-utils-ts/src/models/consent-access.js +0 -2
- package/dist/gdc-common-utils-ts/src/models/consent-rule.d.ts +0 -122
- package/dist/gdc-common-utils-ts/src/models/consent-rule.js +0 -22
- package/dist/gdc-common-utils-ts/src/models/crypto.d.ts +0 -35
- package/dist/gdc-common-utils-ts/src/models/crypto.js +0 -3
- package/dist/gdc-common-utils-ts/src/models/dataspace-discovery-defaults.d.ts +0 -79
- package/dist/gdc-common-utils-ts/src/models/dataspace-discovery-defaults.js +0 -2
- package/dist/gdc-common-utils-ts/src/models/dataspace-discovery.d.ts +0 -68
- package/dist/gdc-common-utils-ts/src/models/dataspace-discovery.js +0 -9
- package/dist/gdc-common-utils-ts/src/models/dataspace-protocol.d.ts +0 -14
- package/dist/gdc-common-utils-ts/src/models/dataspace-protocol.js +0 -2
- package/dist/gdc-common-utils-ts/src/models/device-license.d.ts +0 -134
- package/dist/gdc-common-utils-ts/src/models/device-license.js +0 -3
- package/dist/gdc-common-utils-ts/src/models/did.d.ts +0 -108
- package/dist/gdc-common-utils-ts/src/models/did.js +0 -3
- package/dist/gdc-common-utils-ts/src/models/fhir-documents.d.ts +0 -101
- package/dist/gdc-common-utils-ts/src/models/fhir-documents.js +0 -3
- package/dist/gdc-common-utils-ts/src/models/identity-bootstrap.d.ts +0 -104
- package/dist/gdc-common-utils-ts/src/models/identity-bootstrap.js +0 -2
- package/dist/gdc-common-utils-ts/src/models/index.d.ts +0 -42
- package/dist/gdc-common-utils-ts/src/models/index.js +0 -42
- package/dist/gdc-common-utils-ts/src/models/indexing.d.ts +0 -11
- package/dist/gdc-common-utils-ts/src/models/indexing.js +0 -18
- package/dist/gdc-common-utils-ts/src/models/interoperable-claims/allergy-intolerance-claims.d.ts +0 -24
- package/dist/gdc-common-utils-ts/src/models/interoperable-claims/allergy-intolerance-claims.js +0 -36
- package/dist/gdc-common-utils-ts/src/models/interoperable-claims/communication-claims.d.ts +0 -53
- package/dist/gdc-common-utils-ts/src/models/interoperable-claims/communication-claims.js +0 -55
- package/dist/gdc-common-utils-ts/src/models/interoperable-claims/condition-claims.d.ts +0 -14
- package/dist/gdc-common-utils-ts/src/models/interoperable-claims/condition-claims.js +0 -25
- package/dist/gdc-common-utils-ts/src/models/interoperable-claims/device-use-statement-claims.d.ts +0 -13
- package/dist/gdc-common-utils-ts/src/models/interoperable-claims/device-use-statement-claims.js +0 -23
- package/dist/gdc-common-utils-ts/src/models/interoperable-claims/document-reference-claims.d.ts +0 -36
- package/dist/gdc-common-utils-ts/src/models/interoperable-claims/document-reference-claims.js +0 -89
- package/dist/gdc-common-utils-ts/src/models/interoperable-claims/medication-statement-claims.d.ts +0 -341
- package/dist/gdc-common-utils-ts/src/models/interoperable-claims/medication-statement-claims.js +0 -204
- package/dist/gdc-common-utils-ts/src/models/interoperable-claims/types.d.ts +0 -9
- package/dist/gdc-common-utils-ts/src/models/interoperable-claims/types.js +0 -3
- package/dist/gdc-common-utils-ts/src/models/interoperable-claims.d.ts +0 -5
- package/dist/gdc-common-utils-ts/src/models/interoperable-claims.js +0 -7
- package/dist/gdc-common-utils-ts/src/models/issue.d.ts +0 -57
- package/dist/gdc-common-utils-ts/src/models/issue.js +0 -75
- package/dist/gdc-common-utils-ts/src/models/jsonapi.d.ts +0 -13
- package/dist/gdc-common-utils-ts/src/models/jsonapi.js +0 -3
- package/dist/gdc-common-utils-ts/src/models/jwe.d.ts +0 -120
- package/dist/gdc-common-utils-ts/src/models/jwe.js +0 -3
- package/dist/gdc-common-utils-ts/src/models/jwk.d.ts +0 -39
- package/dist/gdc-common-utils-ts/src/models/jwk.js +0 -3
- package/dist/gdc-common-utils-ts/src/models/jws.d.ts +0 -35
- package/dist/gdc-common-utils-ts/src/models/jws.js +0 -3
- package/dist/gdc-common-utils-ts/src/models/jwt.d.ts +0 -9
- package/dist/gdc-common-utils-ts/src/models/jwt.js +0 -3
- package/dist/gdc-common-utils-ts/src/models/loinc-document-ontology.d.ts +0 -55
- package/dist/gdc-common-utils-ts/src/models/loinc-document-ontology.js +0 -58
- package/dist/gdc-common-utils-ts/src/models/oidc4ida.common.model.d.ts +0 -33
- package/dist/gdc-common-utils-ts/src/models/oidc4ida.common.model.js +0 -3
- package/dist/gdc-common-utils-ts/src/models/oidc4ida.document.model.d.ts +0 -50
- package/dist/gdc-common-utils-ts/src/models/oidc4ida.document.model.js +0 -3
- package/dist/gdc-common-utils-ts/src/models/oidc4ida.electronicRecord.model.d.ts +0 -67
- package/dist/gdc-common-utils-ts/src/models/oidc4ida.electronicRecord.model.js +0 -3
- package/dist/gdc-common-utils-ts/src/models/oidc4ida.evidence.model.d.ts +0 -51
- package/dist/gdc-common-utils-ts/src/models/oidc4ida.evidence.model.js +0 -5
- package/dist/gdc-common-utils-ts/src/models/openid-device.d.ts +0 -119
- package/dist/gdc-common-utils-ts/src/models/openid-device.js +0 -3
- package/dist/gdc-common-utils-ts/src/models/operation-outcome.d.ts +0 -26
- package/dist/gdc-common-utils-ts/src/models/operation-outcome.js +0 -3
- package/dist/gdc-common-utils-ts/src/models/params.d.ts +0 -133
- package/dist/gdc-common-utils-ts/src/models/params.js +0 -3
- package/dist/gdc-common-utils-ts/src/models/relationship-access.d.ts +0 -160
- package/dist/gdc-common-utils-ts/src/models/relationship-access.js +0 -21
- package/dist/gdc-common-utils-ts/src/models/resource-document.d.ts +0 -14
- package/dist/gdc-common-utils-ts/src/models/resource-document.js +0 -3
- package/dist/gdc-common-utils-ts/src/models/response.d.ts +0 -1
- package/dist/gdc-common-utils-ts/src/models/response.js +0 -3
- package/dist/gdc-common-utils-ts/src/models/urlPath.d.ts +0 -58
- package/dist/gdc-common-utils-ts/src/models/urlPath.js +0 -76
- package/dist/gdc-common-utils-ts/src/models/verifiable-credential.d.ts +0 -45
- package/dist/gdc-common-utils-ts/src/models/verifiable-credential.js +0 -8
- package/dist/gdc-common-utils-ts/src/storage/IVaultRepository.d.ts +0 -53
- package/dist/gdc-common-utils-ts/src/storage/IVaultRepository.js +0 -25
- package/dist/gdc-common-utils-ts/src/storage/VaultMemRepository.d.ts +0 -30
- package/dist/gdc-common-utils-ts/src/storage/VaultMemRepository.js +0 -81
- package/dist/gdc-common-utils-ts/src/storage/index.d.ts +0 -3
- package/dist/gdc-common-utils-ts/src/storage/index.js +0 -4
- package/dist/gdc-common-utils-ts/src/utils/activation-policy.d.ts +0 -86
- package/dist/gdc-common-utils-ts/src/utils/activation-policy.js +0 -218
- package/dist/gdc-common-utils-ts/src/utils/activation-request.d.ts +0 -81
- package/dist/gdc-common-utils-ts/src/utils/activation-request.js +0 -99
- package/dist/gdc-common-utils-ts/src/utils/actor.d.ts +0 -18
- package/dist/gdc-common-utils-ts/src/utils/actor.js +0 -36
- package/dist/gdc-common-utils-ts/src/utils/base-convert.d.ts +0 -60
- package/dist/gdc-common-utils-ts/src/utils/base-convert.js +0 -104
- package/dist/gdc-common-utils-ts/src/utils/baseN.d.ts +0 -35
- package/dist/gdc-common-utils-ts/src/utils/baseN.js +0 -174
- package/dist/gdc-common-utils-ts/src/utils/bundle-query.d.ts +0 -35
- package/dist/gdc-common-utils-ts/src/utils/bundle-query.js +0 -177
- package/dist/gdc-common-utils-ts/src/utils/bundle.d.ts +0 -13
- package/dist/gdc-common-utils-ts/src/utils/bundle.js +0 -39
- package/dist/gdc-common-utils-ts/src/utils/clinical-resource-converters.d.ts +0 -64
- package/dist/gdc-common-utils-ts/src/utils/clinical-resource-converters.js +0 -279
- package/dist/gdc-common-utils-ts/src/utils/clinical-resource-view.d.ts +0 -55
- package/dist/gdc-common-utils-ts/src/utils/clinical-resource-view.js +0 -291
- package/dist/gdc-common-utils-ts/src/utils/communication-bundle-session.d.ts +0 -110
- package/dist/gdc-common-utils-ts/src/utils/communication-bundle-session.js +0 -326
- package/dist/gdc-common-utils-ts/src/utils/communication-document-reference.d.ts +0 -41
- package/dist/gdc-common-utils-ts/src/utils/communication-document-reference.js +0 -170
- package/dist/gdc-common-utils-ts/src/utils/communication-fhir-r4.d.ts +0 -41
- package/dist/gdc-common-utils-ts/src/utils/communication-fhir-r4.js +0 -215
- package/dist/gdc-common-utils-ts/src/utils/communication-identity.d.ts +0 -152
- package/dist/gdc-common-utils-ts/src/utils/communication-identity.js +0 -121
- package/dist/gdc-common-utils-ts/src/utils/consent-claim-helpers.d.ts +0 -79
- package/dist/gdc-common-utils-ts/src/utils/consent-claim-helpers.js +0 -213
- package/dist/gdc-common-utils-ts/src/utils/consent.d.ts +0 -218
- package/dist/gdc-common-utils-ts/src/utils/consent.js +0 -679
- package/dist/gdc-common-utils-ts/src/utils/content.d.ts +0 -55
- package/dist/gdc-common-utils-ts/src/utils/content.js +0 -60
- package/dist/gdc-common-utils-ts/src/utils/dataspace-discovery-defaults.d.ts +0 -130
- package/dist/gdc-common-utils-ts/src/utils/dataspace-discovery-defaults.js +0 -307
- package/dist/gdc-common-utils-ts/src/utils/dataspace-discovery.d.ts +0 -235
- package/dist/gdc-common-utils-ts/src/utils/dataspace-discovery.js +0 -482
- package/dist/gdc-common-utils-ts/src/utils/dataspace-protocol.d.ts +0 -66
- package/dist/gdc-common-utils-ts/src/utils/dataspace-protocol.js +0 -109
- package/dist/gdc-common-utils-ts/src/utils/did-resolution.d.ts +0 -60
- package/dist/gdc-common-utils-ts/src/utils/did-resolution.js +0 -173
- package/dist/gdc-common-utils-ts/src/utils/did.d.ts +0 -124
- package/dist/gdc-common-utils-ts/src/utils/did.js +0 -204
- package/dist/gdc-common-utils-ts/src/utils/didcomm-submit-policy.d.ts +0 -10
- package/dist/gdc-common-utils-ts/src/utils/didcomm-submit-policy.js +0 -15
- package/dist/gdc-common-utils-ts/src/utils/didcomm-submit.d.ts +0 -48
- package/dist/gdc-common-utils-ts/src/utils/didcomm-submit.js +0 -81
- package/dist/gdc-common-utils-ts/src/utils/didcomm.d.ts +0 -60
- package/dist/gdc-common-utils-ts/src/utils/didcomm.js +0 -78
- package/dist/gdc-common-utils-ts/src/utils/discovery-normalization.d.ts +0 -28
- package/dist/gdc-common-utils-ts/src/utils/discovery-normalization.js +0 -64
- package/dist/gdc-common-utils-ts/src/utils/fhir-cid.d.ts +0 -60
- package/dist/gdc-common-utils-ts/src/utils/fhir-cid.js +0 -152
- package/dist/gdc-common-utils-ts/src/utils/fhir-validator.d.ts +0 -61
- package/dist/gdc-common-utils-ts/src/utils/fhir-validator.js +0 -91
- package/dist/gdc-common-utils-ts/src/utils/format-converter.d.ts +0 -21
- package/dist/gdc-common-utils-ts/src/utils/format-converter.js +0 -109
- package/dist/gdc-common-utils-ts/src/utils/index.d.ts +0 -39
- package/dist/gdc-common-utils-ts/src/utils/index.js +0 -39
- package/dist/gdc-common-utils-ts/src/utils/individual-form-pdf.d.ts +0 -55
- package/dist/gdc-common-utils-ts/src/utils/individual-form-pdf.js +0 -191
- package/dist/gdc-common-utils-ts/src/utils/jwt.d.ts +0 -53
- package/dist/gdc-common-utils-ts/src/utils/jwt.js +0 -154
- package/dist/gdc-common-utils-ts/src/utils/manager-error.d.ts +0 -15
- package/dist/gdc-common-utils-ts/src/utils/manager-error.js +0 -21
- package/dist/gdc-common-utils-ts/src/utils/medication-claim-helpers.d.ts +0 -56
- package/dist/gdc-common-utils-ts/src/utils/medication-claim-helpers.js +0 -127
- package/dist/gdc-common-utils-ts/src/utils/multibase58.d.ts +0 -13
- package/dist/gdc-common-utils-ts/src/utils/multibase58.js +0 -40
- package/dist/gdc-common-utils-ts/src/utils/multibasehash.d.ts +0 -8
- package/dist/gdc-common-utils-ts/src/utils/multibasehash.js +0 -23
- package/dist/gdc-common-utils-ts/src/utils/normalize-uuid.d.ts +0 -1
- package/dist/gdc-common-utils-ts/src/utils/normalize-uuid.js +0 -35
- package/dist/gdc-common-utils-ts/src/utils/normalize.d.ts +0 -16
- package/dist/gdc-common-utils-ts/src/utils/normalize.js +0 -40
- package/dist/gdc-common-utils-ts/src/utils/object-convert.d.ts +0 -20
- package/dist/gdc-common-utils-ts/src/utils/object-convert.js +0 -51
- package/dist/gdc-common-utils-ts/src/utils/smart-scope.d.ts +0 -28
- package/dist/gdc-common-utils-ts/src/utils/smart-scope.js +0 -29
- package/dist/gdc-common-utils-ts/src/utils/string-convert.d.ts +0 -24
- package/dist/gdc-common-utils-ts/src/utils/string-convert.js +0 -62
- package/dist/gdc-common-utils-ts/src/utils/string-utils.d.ts +0 -25
- package/dist/gdc-common-utils-ts/src/utils/string-utils.js +0 -66
- package/dist/gdc-common-utils-ts/src/utils/url.d.ts +0 -26
- package/dist/gdc-common-utils-ts/src/utils/url.js +0 -44
- package/dist/gdc-common-utils-ts/src/utils/vp-token.d.ts +0 -139
- package/dist/gdc-common-utils-ts/src/utils/vp-token.js +0 -256
- package/dist/gdc-sdk-core-ts/src/actor-model.d.ts +0 -56
- package/dist/gdc-sdk-core-ts/src/actor-model.js +0 -112
- package/dist/gdc-sdk-core-ts/src/app-identity.d.ts +0 -80
- package/dist/gdc-sdk-core-ts/src/app-identity.js +0 -147
- package/dist/gdc-sdk-core-ts/src/bootstrap-facade.d.ts +0 -165
- package/dist/gdc-sdk-core-ts/src/bootstrap-facade.js +0 -191
- package/dist/gdc-sdk-core-ts/src/communication-bundle-contracts.d.ts +0 -112
- package/dist/gdc-sdk-core-ts/src/communication-bundle-contracts.js +0 -185
- package/dist/gdc-sdk-core-ts/src/communication-bundle-resources.d.ts +0 -32
- package/dist/gdc-sdk-core-ts/src/communication-bundle-resources.js +0 -215
- package/dist/gdc-sdk-core-ts/src/communication-consent-mutation-contract.d.ts +0 -55
- package/dist/gdc-sdk-core-ts/src/communication-consent-mutation-contract.js +0 -190
- package/dist/gdc-sdk-core-ts/src/communication-document-facade.d.ts +0 -55
- package/dist/gdc-sdk-core-ts/src/communication-document-facade.js +0 -194
- package/dist/gdc-sdk-core-ts/src/communication-draft.d.ts +0 -104
- package/dist/gdc-sdk-core-ts/src/communication-draft.js +0 -143
- package/dist/gdc-sdk-core-ts/src/communication-outbox.d.ts +0 -49
- package/dist/gdc-sdk-core-ts/src/communication-outbox.js +0 -62
- package/dist/gdc-sdk-core-ts/src/communication-resource-helpers.d.ts +0 -180
- package/dist/gdc-sdk-core-ts/src/communication-resource-helpers.js +0 -455
- package/dist/gdc-sdk-core-ts/src/consent-access.d.ts +0 -73
- package/dist/gdc-sdk-core-ts/src/consent-access.js +0 -109
- package/dist/gdc-sdk-core-ts/src/consent-claim-helpers.d.ts +0 -5
- package/dist/gdc-sdk-core-ts/src/consent-claim-helpers.js +0 -6
- package/dist/gdc-sdk-core-ts/src/consent-communication-operations.d.ts +0 -82
- package/dist/gdc-sdk-core-ts/src/consent-communication-operations.js +0 -135
- package/dist/gdc-sdk-core-ts/src/did-resolution-session.d.ts +0 -33
- package/dist/gdc-sdk-core-ts/src/did-resolution-session.js +0 -56
- package/dist/gdc-sdk-core-ts/src/discovery-facade.d.ts +0 -84
- package/dist/gdc-sdk-core-ts/src/discovery-facade.js +0 -24
- package/dist/gdc-sdk-core-ts/src/identity-model.d.ts +0 -46
- package/dist/gdc-sdk-core-ts/src/identity-model.js +0 -2
- package/dist/gdc-sdk-core-ts/src/identity-store.d.ts +0 -83
- package/dist/gdc-sdk-core-ts/src/identity-store.js +0 -51
- package/dist/gdc-sdk-core-ts/src/index.d.ts +0 -23
- package/dist/gdc-sdk-core-ts/src/index.js +0 -24
- package/dist/gdc-sdk-core-ts/src/medication-claim-helpers.d.ts +0 -5
- package/dist/gdc-sdk-core-ts/src/medication-claim-helpers.js +0 -6
- package/dist/gdc-sdk-core-ts/src/polling-model.d.ts +0 -35
- package/dist/gdc-sdk-core-ts/src/polling-model.js +0 -24
- package/dist/gdc-sdk-core-ts/src/relationship-access.d.ts +0 -40
- package/dist/gdc-sdk-core-ts/src/relationship-access.js +0 -150
- package/dist/gdc-sdk-core-ts/src/session-model.d.ts +0 -134
- package/dist/gdc-sdk-core-ts/src/session-model.js +0 -2
- package/dist/gdc-sdk-core-ts/src/smart-endpoint-resolver.d.ts +0 -19
- package/dist/gdc-sdk-core-ts/src/smart-endpoint-resolver.js +0 -19
- package/dist/gdc-sdk-core-ts/src/vital-signs.d.ts +0 -38
- package/dist/gdc-sdk-core-ts/src/vital-signs.js +0 -155
- package/dist/gdc-sdk-front-ts/src/ClientSDK.d.ts +0 -99
- package/dist/gdc-sdk-front-ts/src/ClientSDK.js +0 -177
- package/dist/gdc-sdk-front-ts/src/ProfileManager.d.ts +0 -140
- package/dist/gdc-sdk-front-ts/src/ProfileManager.js +0 -76
- package/dist/gdc-sdk-front-ts/src/ProfileRegistry.d.ts +0 -11
- package/dist/gdc-sdk-front-ts/src/ProfileRegistry.js +0 -26
- package/dist/gdc-sdk-front-ts/src/VerifierService.d.ts +0 -6
- package/dist/gdc-sdk-front-ts/src/VerifierService.js +0 -10
- package/dist/gdc-sdk-front-ts/src/actor-session.d.ts +0 -2
- package/dist/gdc-sdk-front-ts/src/actor-session.js +0 -2
- package/dist/gdc-sdk-front-ts/src/capabilityMapper.d.ts +0 -8
- package/dist/gdc-sdk-front-ts/src/capabilityMapper.js +0 -28
- package/dist/gdc-sdk-front-ts/src/consent-claim-helpers.d.ts +0 -4
- package/dist/gdc-sdk-front-ts/src/consent-claim-helpers.js +0 -5
- package/dist/gdc-sdk-front-ts/src/discovery/DataspaceDiscoveryClient.d.ts +0 -54
- package/dist/gdc-sdk-front-ts/src/discovery/DataspaceDiscoveryClient.js +0 -85
- package/dist/gdc-sdk-front-ts/src/discovery/index.d.ts +0 -3
- package/dist/gdc-sdk-front-ts/src/discovery/index.js +0 -4
- package/dist/gdc-sdk-front-ts/src/discovery/mappers.d.ts +0 -29
- package/dist/gdc-sdk-front-ts/src/discovery/mappers.js +0 -60
- package/dist/gdc-sdk-front-ts/src/discovery/types.d.ts +0 -83
- package/dist/gdc-sdk-front-ts/src/discovery/types.js +0 -2
- package/dist/gdc-sdk-front-ts/src/index.d.ts +0 -15
- package/dist/gdc-sdk-front-ts/src/index.js +0 -16
- package/dist/gdc-sdk-front-ts/src/medication-claim-helpers.d.ts +0 -4
- package/dist/gdc-sdk-front-ts/src/medication-claim-helpers.js +0 -5
- package/dist/gdc-sdk-front-ts/src/roleRegistry.d.ts +0 -19
- package/dist/gdc-sdk-front-ts/src/roleRegistry.js +0 -2
- package/dist/gdc-sdk-front-ts/src/runtime-contracts.d.ts +0 -22
- package/dist/gdc-sdk-front-ts/src/runtime-contracts.js +0 -7
- package/dist/gdc-sdk-front-ts/src/services.d.ts +0 -167
- package/dist/gdc-sdk-front-ts/src/services.js +0 -78
- package/dist/gdc-sdk-front-ts/src/session-descriptor.d.ts +0 -11
- package/dist/gdc-sdk-front-ts/src/session-descriptor.js +0 -8
- package/dist/gdc-sdk-front-ts/src/types.d.ts +0 -11
- package/dist/gdc-sdk-front-ts/src/types.js +0 -1
- package/dist/lifecycle-examples.d.ts +0 -6
- package/dist/lifecycle-examples.js +0 -7
- package/dist/medication-claim-helpers.d.ts +0 -4
- package/dist/medication-claim-helpers.js +0 -5
- package/dist/orchestration/facades.d.ts +0 -65
- package/dist/orchestration/facades.js +0 -142
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview Defines data models for device registration based on OpenID Connect Dynamic Client Registration 1.0,
|
|
3
|
-
* with custom extensions for native device information.
|
|
4
|
-
* @see https://openid.net/specs/openid-connect-registration-1_0.html
|
|
5
|
-
*/
|
|
6
|
-
import { JwkSet } from "./jwk";
|
|
7
|
-
/**
|
|
8
|
-
* Represents the information about the physical device being registered.
|
|
9
|
-
* This is a custom extension to the OpenID DCR standard.
|
|
10
|
-
*/
|
|
11
|
-
export interface OpenIdDeviceInfo {
|
|
12
|
-
/**
|
|
13
|
-
* The push notification token for the device.
|
|
14
|
-
* @example "ExponentPushToken[xxxxxxxxxxxxxxxxxxxxxx]"
|
|
15
|
-
*/
|
|
16
|
-
push_token: string;
|
|
17
|
-
/**
|
|
18
|
-
* The push notification provider.
|
|
19
|
-
* @example "expo"
|
|
20
|
-
*/
|
|
21
|
-
push_provider: string;
|
|
22
|
-
/**
|
|
23
|
-
* A unique identifier for the device, such as the OS internal build ID.
|
|
24
|
-
* @example "19.6.0"
|
|
25
|
-
*/
|
|
26
|
-
device_id: string;
|
|
27
|
-
/**
|
|
28
|
-
* A user-friendly name for the device.
|
|
29
|
-
* @example "John's iPhone"
|
|
30
|
-
*/
|
|
31
|
-
device_name: string;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Represents the request payload for Dynamic Client Registration,
|
|
35
|
-
* based on OpenID Connect Registration 1.0.
|
|
36
|
-
* The `body` of the DIDComm message will contain this object.
|
|
37
|
-
* @see https://openid.net/specs/openid-connect-registration-1_0.html#RegistrationRequest
|
|
38
|
-
*/
|
|
39
|
-
export interface DcrRegistrationRequest {
|
|
40
|
-
/**
|
|
41
|
-
* Array of redirection URIs for use in redirect-based flows. For a native app,
|
|
42
|
-
* this could be a custom scheme URI.
|
|
43
|
-
* @example ["myapp://callback"]
|
|
44
|
-
*/
|
|
45
|
-
redirect_uris: string[];
|
|
46
|
-
/**
|
|
47
|
-
* Kind of the application. The only supported value is 'native'.
|
|
48
|
-
*/
|
|
49
|
-
application_type?: 'native';
|
|
50
|
-
/**
|
|
51
|
-
* Human-readable name of the client to be presented to the end-user.
|
|
52
|
-
* @example "My Awesome App"
|
|
53
|
-
*/
|
|
54
|
-
client_name?: string;
|
|
55
|
-
/**
|
|
56
|
-
* URL of the home page of the client.
|
|
57
|
-
*/
|
|
58
|
-
client_uri?: string;
|
|
59
|
-
/**
|
|
60
|
-
* Requested authentication method for the token endpoint.
|
|
61
|
-
* For apps using public keys, 'private_key_jwt' is common.
|
|
62
|
-
* 'none' can be used for public clients.
|
|
63
|
-
*/
|
|
64
|
-
token_endpoint_auth_method?: 'none' | 'private_key_jwt';
|
|
65
|
-
/**
|
|
66
|
-
* A list of OAuth 2.0 grant types that the client will restrict itself to using.
|
|
67
|
-
*/
|
|
68
|
-
grant_types?: ('authorization_code' | 'implicit' | 'refresh_token' | 'client_credentials')[];
|
|
69
|
-
/**
|
|
70
|
-
* URL for the client's JSON Web Key Set [JWK] document. If the client signs requests to the Server,
|
|
71
|
-
* it contains the signing key(s) the Server uses to validate signatures from the Client.
|
|
72
|
-
*/
|
|
73
|
-
jwks_uri?: string;
|
|
74
|
-
/**
|
|
75
|
-
* JSON Web Key Set containing the client's public keys.
|
|
76
|
-
* REQUIRED if `jwks_uri` is not provided.
|
|
77
|
-
*/
|
|
78
|
-
jwks?: JwkSet;
|
|
79
|
-
/**
|
|
80
|
-
* Custom data about the specific device instance being registered.
|
|
81
|
-
* This is prefixed to avoid collision with standard fields.
|
|
82
|
-
*/
|
|
83
|
-
ext_device_info?: OpenIdDeviceInfo;
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* Represents the response payload for a successful Dynamic Client Registration,
|
|
87
|
-
* based on OpenID Connect Registration 1.0.
|
|
88
|
-
* This object will be nested inside the `resource` of the final BundleEntry.
|
|
89
|
-
* @see https://openid.net/specs/openid-connect-registration-1_0.html#RegistrationResponse
|
|
90
|
-
*/
|
|
91
|
-
export interface DcrRegistrationResponse {
|
|
92
|
-
/**
|
|
93
|
-
* Unique client identifier.
|
|
94
|
-
*/
|
|
95
|
-
client_id: string;
|
|
96
|
-
/**
|
|
97
|
-
* Time at which the client_id was issued, represented as a Unix timestamp.
|
|
98
|
-
*/
|
|
99
|
-
client_id_issued_at: number;
|
|
100
|
-
/**
|
|
101
|
-
* The client secret. For public clients or those using JWTs for client authentication,
|
|
102
|
-
* this may not be returned.
|
|
103
|
-
*/
|
|
104
|
-
client_secret?: string;
|
|
105
|
-
/**
|
|
106
|
-
* Time at which the client_secret will expire, represented as a Unix timestamp.
|
|
107
|
-
* If 0, the secret does not expire.
|
|
108
|
-
*/
|
|
109
|
-
client_secret_expires_at?: number;
|
|
110
|
-
/**
|
|
111
|
-
* A registration access token that can be used at the client configuration endpoint
|
|
112
|
-
* to perform subsequent operations upon the client registration.
|
|
113
|
-
*/
|
|
114
|
-
registration_access_token?: string;
|
|
115
|
-
/**
|
|
116
|
-
* URL of the client's configuration endpoint.
|
|
117
|
-
*/
|
|
118
|
-
registration_client_uri?: string;
|
|
119
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { IssueLevel, IssueTypeCode } from './issue';
|
|
2
|
-
/**
|
|
3
|
-
* A single detail associated with an operation, based on a simplified FHIR structure.
|
|
4
|
-
* Renamed from 'Issue' to be more neutral for potential success reporting.
|
|
5
|
-
*/
|
|
6
|
-
export interface OperationOutcomeDetails {
|
|
7
|
-
/**
|
|
8
|
-
* Indicates the severity of the detail.
|
|
9
|
-
*/
|
|
10
|
-
severity: IssueLevel;
|
|
11
|
-
/**
|
|
12
|
-
* A code classifying the type of detail.
|
|
13
|
-
*/
|
|
14
|
-
code: IssueTypeCode;
|
|
15
|
-
/**
|
|
16
|
-
* Additional diagnostic information, such as a stack trace or detailed error message.
|
|
17
|
-
*/
|
|
18
|
-
diagnostics?: string;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* A structured response detailing the result of an operation, based on a simplified FHIR structure.
|
|
22
|
-
*/
|
|
23
|
-
export interface OperationOutcome {
|
|
24
|
-
resourceType: 'OperationOutcome';
|
|
25
|
-
issue: OperationOutcomeDetails[];
|
|
26
|
-
}
|
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Represents a interoperable claim for all specifications.
|
|
3
|
-
*/
|
|
4
|
-
export interface ClaimInteroperable {
|
|
5
|
-
/**
|
|
6
|
-
* Key name of the interoperable claim in reverse-DNS (e.g., 'org.hl7.fhir.immunization.vaccine-code').
|
|
7
|
-
*/
|
|
8
|
-
name: string;
|
|
9
|
-
/**
|
|
10
|
-
* The value of the claim. Can be either a string or a number.
|
|
11
|
-
* Derived interfaces may specify more precise types.
|
|
12
|
-
*/
|
|
13
|
-
value: any;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Represents a single, named piece of data within an entity's configuration,
|
|
17
|
-
* aligning with the structure of a Parameter in the FHIR Parameters resource.
|
|
18
|
-
*
|
|
19
|
-
* This structure is used to store secondary or multi-value attributes (like
|
|
20
|
-
* multiple emails or official identifiers) in their original, readable format.
|
|
21
|
-
* The entire collection of these attributes is considered private and is always
|
|
22
|
-
* stored within an encrypted parent configuration object.
|
|
23
|
-
*
|
|
24
|
-
* @see {@link https://hl7.org/fhir/parameters.html}
|
|
25
|
-
*/
|
|
26
|
-
export interface ParamAttribute extends ClaimInteroperable {
|
|
27
|
-
/**
|
|
28
|
-
* The name of the parameter, which often corresponds to a key in the
|
|
29
|
-
* 'indexed' attributes dictionary of the parent configuration.
|
|
30
|
-
*
|
|
31
|
-
* @example 'NNES' (for a Spanish DNI, unique=true)
|
|
32
|
-
* @example 'email' (unique=falsez)
|
|
33
|
-
*/
|
|
34
|
-
name: string;
|
|
35
|
-
/**
|
|
36
|
-
* The original value of the parameter. Can be either a string or a number.
|
|
37
|
-
* This corresponds to a simplified `value[x]` (e.g., `valueString`) in a FHIR Parameter.
|
|
38
|
-
*/
|
|
39
|
-
value: string | number | undefined;
|
|
40
|
-
/**
|
|
41
|
-
* A custom flag to indicate whether this attribute's value is expected to
|
|
42
|
-
* be unique across all entities of the same type. This is used for
|
|
43
|
-
* server-side validation logic and is not part of the FHIR standard.
|
|
44
|
-
* @default false
|
|
45
|
-
*/
|
|
46
|
-
unique?: boolean;
|
|
47
|
-
}
|
|
48
|
-
export type ParameterType = 'number' | 'date' | 'string' | 'token' | 'reference' | 'composite' | 'quantity' | 'uri' | 'period';
|
|
49
|
-
/**
|
|
50
|
-
* Represents a common interface for all types of parameters.
|
|
51
|
-
*/
|
|
52
|
-
export interface ParameterData extends ParamAttribute {
|
|
53
|
-
/**
|
|
54
|
-
* Defines the type of parameter.
|
|
55
|
-
*/
|
|
56
|
-
type: ParameterType | string;
|
|
57
|
-
/**
|
|
58
|
-
* (Optional) Coding system (e.g., SNOMED, LOINC...).
|
|
59
|
-
*/
|
|
60
|
-
system?: string;
|
|
61
|
-
/**
|
|
62
|
-
* (Optional) Unit of measurement (e.g., ml, mg...).
|
|
63
|
-
*/
|
|
64
|
-
unit?: string;
|
|
65
|
-
/**
|
|
66
|
-
* (Optional) Indicates if the date is a Period (e.g., FHIR effectivePeriod or FHIR onsetPeriod).
|
|
67
|
-
*/
|
|
68
|
-
period?: boolean;
|
|
69
|
-
/**
|
|
70
|
-
* (Optional) The end date of a FHIR Period.
|
|
71
|
-
*/
|
|
72
|
-
end?: string;
|
|
73
|
-
/**
|
|
74
|
-
* (Optional) Prefix for dates and quantities for comparisons (e.g., eq, gt, lt, ...).
|
|
75
|
-
*/
|
|
76
|
-
prefix?: string;
|
|
77
|
-
/**
|
|
78
|
-
* (Optional) International display derived from a FHIR Coding within a CodeableConcept.
|
|
79
|
-
*/
|
|
80
|
-
intDisplay?: string;
|
|
81
|
-
/**
|
|
82
|
-
* (Optional) Localized text derived from a FHIR CodeableConcept.
|
|
83
|
-
*/
|
|
84
|
-
localizedText?: string;
|
|
85
|
-
/**
|
|
86
|
-
* (Optional) A hint or tooltip to guide users in a UI setting.
|
|
87
|
-
*/
|
|
88
|
-
hint?: string;
|
|
89
|
-
/**
|
|
90
|
-
* (Optional) A list of select options for UI dropdowns or similar components.
|
|
91
|
-
*/
|
|
92
|
-
optionsList?: any[];
|
|
93
|
-
/**
|
|
94
|
-
* (Optional) Resources to which this parameter is applicable.
|
|
95
|
-
*/
|
|
96
|
-
appliesTo?: string[];
|
|
97
|
-
}
|
|
98
|
-
export interface StringSearchParameter extends ParameterData {
|
|
99
|
-
type: 'string';
|
|
100
|
-
value: string;
|
|
101
|
-
}
|
|
102
|
-
export interface NumberSearchParameter extends ParameterData {
|
|
103
|
-
value: number;
|
|
104
|
-
}
|
|
105
|
-
export interface DateSearchParameter extends ParameterData {
|
|
106
|
-
value: string;
|
|
107
|
-
end?: string;
|
|
108
|
-
period?: boolean;
|
|
109
|
-
}
|
|
110
|
-
export interface TokenSearchParameter extends ParameterData {
|
|
111
|
-
type: 'token';
|
|
112
|
-
value: string;
|
|
113
|
-
system: string;
|
|
114
|
-
}
|
|
115
|
-
export interface ReferenceSearchParameter extends ParameterData {
|
|
116
|
-
type: 'reference';
|
|
117
|
-
reference: string;
|
|
118
|
-
}
|
|
119
|
-
export interface CompositeSearchParameter extends ParameterData {
|
|
120
|
-
type: 'composite';
|
|
121
|
-
components: ParameterData[];
|
|
122
|
-
}
|
|
123
|
-
export interface QuantitySearchParameter extends ParameterData {
|
|
124
|
-
type: 'quantity';
|
|
125
|
-
value: number;
|
|
126
|
-
system: string;
|
|
127
|
-
unit: string;
|
|
128
|
-
}
|
|
129
|
-
export interface URISearchParameter extends ParameterData {
|
|
130
|
-
type: 'uri';
|
|
131
|
-
value: string;
|
|
132
|
-
}
|
|
133
|
-
export type FHIRSearchParameter = NumberSearchParameter | DateSearchParameter | StringSearchParameter | TokenSearchParameter | ReferenceSearchParameter | CompositeSearchParameter | QuantitySearchParameter | URISearchParameter;
|
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Relationship-enrollment channels shared by portal, app, and phone flows.
|
|
3
|
-
*
|
|
4
|
-
* `app` describes the client relationship channel itself, not reminder
|
|
5
|
-
* delivery.
|
|
6
|
-
*/
|
|
7
|
-
export type RelationshipEnrollmentChannel = 'phone' | 'email' | 'app';
|
|
8
|
-
export declare const RelationshipEnrollmentChannels: Readonly<{
|
|
9
|
-
readonly Phone: "phone";
|
|
10
|
-
readonly Email: "email";
|
|
11
|
-
readonly App: "app";
|
|
12
|
-
}>;
|
|
13
|
-
/**
|
|
14
|
-
* Subject categories used to generalize person and animal flows.
|
|
15
|
-
*/
|
|
16
|
-
export type RelationshipSubjectKind = 'person' | 'animal';
|
|
17
|
-
export declare const RelationshipSubjectKinds: Readonly<{
|
|
18
|
-
readonly Person: "person";
|
|
19
|
-
readonly Animal: "animal";
|
|
20
|
-
}>;
|
|
21
|
-
/**
|
|
22
|
-
* High-level actor kinds that can be bound to a subject relationship.
|
|
23
|
-
*/
|
|
24
|
-
export type RelationshipAccessActorKind = 'controller' | 'caregiver' | 'professional' | 'related-person';
|
|
25
|
-
export declare const RelationshipAccessActorKinds: Readonly<{
|
|
26
|
-
readonly Controller: "controller";
|
|
27
|
-
readonly Caregiver: "caregiver";
|
|
28
|
-
readonly Professional: "professional";
|
|
29
|
-
readonly RelatedPerson: "related-person";
|
|
30
|
-
}>;
|
|
31
|
-
/**
|
|
32
|
-
* Relationship invitation lifecycle used by shared enrollment flows.
|
|
33
|
-
*/
|
|
34
|
-
export type RelationshipInvitationStatus = 'pending' | 'otp_pending' | 'otp_verified' | 'pin_required' | 'pin_set' | 'active' | 'expired' | 'revoked';
|
|
35
|
-
/**
|
|
36
|
-
* Delivery mechanisms available for OTP challenges.
|
|
37
|
-
*/
|
|
38
|
-
export type RelationshipOtpDeliveryChannel = 'sms' | 'call' | 'email';
|
|
39
|
-
export declare const RelationshipOtpDeliveryChannels: Readonly<{
|
|
40
|
-
readonly Sms: "sms";
|
|
41
|
-
readonly Call: "call";
|
|
42
|
-
readonly Email: "email";
|
|
43
|
-
}>;
|
|
44
|
-
/**
|
|
45
|
-
* Supported KDF labels for wrapping a relationship-local key with a PIN-derived
|
|
46
|
-
* key. The PIN never acts as the primary encryption key by itself.
|
|
47
|
-
*/
|
|
48
|
-
export type RelationshipPinKdf = 'argon2id' | 'scrypt' | 'pbkdf2-sha256';
|
|
49
|
-
/**
|
|
50
|
-
* Shared invitation contract for non-employee access to a subject through
|
|
51
|
-
* phone, email, or app channels.
|
|
52
|
-
*/
|
|
53
|
-
export type RelationshipChannelInvitationInput = Readonly<{
|
|
54
|
-
tenantId: string;
|
|
55
|
-
jurisdiction: string;
|
|
56
|
-
sector: string;
|
|
57
|
-
subjectId: string;
|
|
58
|
-
subjectKind?: RelationshipSubjectKind;
|
|
59
|
-
actorKind: RelationshipAccessActorKind;
|
|
60
|
-
actorIdentifier: string;
|
|
61
|
-
actorRole?: string;
|
|
62
|
-
deliveryChannel: RelationshipEnrollmentChannel;
|
|
63
|
-
deliveryTarget: string;
|
|
64
|
-
purpose?: string;
|
|
65
|
-
relationshipLabel?: string;
|
|
66
|
-
expiresAt?: string;
|
|
67
|
-
phonePinOptional?: boolean;
|
|
68
|
-
}>;
|
|
69
|
-
/**
|
|
70
|
-
* Runtime-neutral summary returned after creating or retrieving a relationship
|
|
71
|
-
* invitation.
|
|
72
|
-
*/
|
|
73
|
-
export type RelationshipChannelInvitationSummary = Readonly<{
|
|
74
|
-
invitationId: string;
|
|
75
|
-
tenantId: string;
|
|
76
|
-
subjectId: string;
|
|
77
|
-
subjectKind: RelationshipSubjectKind;
|
|
78
|
-
actorKind: RelationshipAccessActorKind;
|
|
79
|
-
actorIdentifier: string;
|
|
80
|
-
actorRole?: string;
|
|
81
|
-
deliveryChannel: RelationshipEnrollmentChannel;
|
|
82
|
-
deliveryTargetMasked?: string;
|
|
83
|
-
status: RelationshipInvitationStatus;
|
|
84
|
-
purpose?: string;
|
|
85
|
-
relationshipLabel?: string;
|
|
86
|
-
expiresAt?: string;
|
|
87
|
-
phonePinOptional?: boolean;
|
|
88
|
-
}>;
|
|
89
|
-
/**
|
|
90
|
-
* Generic OTP challenge start contract that portal, mobile, and IVR can share.
|
|
91
|
-
*/
|
|
92
|
-
export type RelationshipChannelOtpStartInput = Readonly<{
|
|
93
|
-
invitationId: string;
|
|
94
|
-
deliveryChannel: RelationshipOtpDeliveryChannel;
|
|
95
|
-
locale?: string;
|
|
96
|
-
}>;
|
|
97
|
-
/**
|
|
98
|
-
* OTP confirmation payload reused by portal, Expo, and IVR consumers.
|
|
99
|
-
*/
|
|
100
|
-
export type RelationshipChannelOtpConfirmInput = Readonly<{
|
|
101
|
-
invitationId: string;
|
|
102
|
-
challengeId: string;
|
|
103
|
-
code: string;
|
|
104
|
-
}>;
|
|
105
|
-
/**
|
|
106
|
-
* Runtime-neutral challenge state returned by OTP-capable backends.
|
|
107
|
-
*/
|
|
108
|
-
export type RelationshipChannelOtpChallengeSummary = Readonly<{
|
|
109
|
-
invitationId: string;
|
|
110
|
-
challengeId: string;
|
|
111
|
-
deliveryChannel: RelationshipOtpDeliveryChannel;
|
|
112
|
-
status: 'pending' | 'verified' | 'expired' | 'blocked';
|
|
113
|
-
expiresAt?: string;
|
|
114
|
-
attemptsRemaining?: number;
|
|
115
|
-
}>;
|
|
116
|
-
/**
|
|
117
|
-
* Relationship/channel-scoped PIN policy.
|
|
118
|
-
*/
|
|
119
|
-
export type RelationshipPinPolicy = Readonly<{
|
|
120
|
-
minLength?: number;
|
|
121
|
-
maxLength?: number;
|
|
122
|
-
maxAttempts?: number;
|
|
123
|
-
lockMinutes?: number;
|
|
124
|
-
numericOnly?: boolean;
|
|
125
|
-
optional?: boolean;
|
|
126
|
-
}>;
|
|
127
|
-
/**
|
|
128
|
-
* PIN setup payload for a verified relationship invitation.
|
|
129
|
-
*/
|
|
130
|
-
export type RelationshipPinSetInput = Readonly<{
|
|
131
|
-
invitationId: string;
|
|
132
|
-
challengeId: string;
|
|
133
|
-
channel: RelationshipEnrollmentChannel;
|
|
134
|
-
pin: string;
|
|
135
|
-
pinConfirmation?: string;
|
|
136
|
-
policy?: RelationshipPinPolicy;
|
|
137
|
-
}>;
|
|
138
|
-
/**
|
|
139
|
-
* PIN verification payload for an already-active relationship channel.
|
|
140
|
-
*/
|
|
141
|
-
export type RelationshipPinVerifyInput = Readonly<{
|
|
142
|
-
relationshipId: string;
|
|
143
|
-
channel: RelationshipEnrollmentChannel;
|
|
144
|
-
pin: string;
|
|
145
|
-
}>;
|
|
146
|
-
/**
|
|
147
|
-
* Portable envelope used to persist a relationship-local symmetric key for
|
|
148
|
-
* offline-first subject caches.
|
|
149
|
-
*/
|
|
150
|
-
export type RelationshipLocalKeyEnvelope = Readonly<{
|
|
151
|
-
relationshipId: string;
|
|
152
|
-
actorIdentifier: string;
|
|
153
|
-
subjectId: string;
|
|
154
|
-
subjectKind: RelationshipSubjectKind;
|
|
155
|
-
channel: RelationshipEnrollmentChannel;
|
|
156
|
-
wrappedLocalAccessKey: string;
|
|
157
|
-
kdfSalt: string;
|
|
158
|
-
kdf: RelationshipPinKdf;
|
|
159
|
-
scope: 'relationship-local-cache';
|
|
160
|
-
}>;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
// Copyright 2026 Antifraud Services Inc. under the Apache License, Version 2.0.
|
|
2
|
-
export const RelationshipEnrollmentChannels = Object.freeze({
|
|
3
|
-
Phone: 'phone',
|
|
4
|
-
Email: 'email',
|
|
5
|
-
App: 'app',
|
|
6
|
-
});
|
|
7
|
-
export const RelationshipSubjectKinds = Object.freeze({
|
|
8
|
-
Person: 'person',
|
|
9
|
-
Animal: 'animal',
|
|
10
|
-
});
|
|
11
|
-
export const RelationshipAccessActorKinds = Object.freeze({
|
|
12
|
-
Controller: 'controller',
|
|
13
|
-
Caregiver: 'caregiver',
|
|
14
|
-
Professional: 'professional',
|
|
15
|
-
RelatedPerson: 'related-person',
|
|
16
|
-
});
|
|
17
|
-
export const RelationshipOtpDeliveryChannels = Object.freeze({
|
|
18
|
-
Sms: 'sms',
|
|
19
|
-
Call: 'call',
|
|
20
|
-
Email: 'email',
|
|
21
|
-
});
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A flexible record type for claims objects.
|
|
3
|
-
*/
|
|
4
|
-
export type ClaimsRecord = Record<string, any>;
|
|
5
|
-
export interface RecordBase {
|
|
6
|
-
id: string;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* Represents the configuration metadata for a vault.
|
|
10
|
-
* As defined in the original database abstract layer.
|
|
11
|
-
*/
|
|
12
|
-
export interface VaultConfig extends RecordBase {
|
|
13
|
-
custodian?: string;
|
|
14
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { IDecodedDidcommPayload } from './confidential-message';
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Defines the standardized business sectors supported by the gateway.
|
|
3
|
-
* Using an enum ensures type safety and prevents the use of arbitrary strings.
|
|
4
|
-
*/
|
|
5
|
-
export declare enum Sector {
|
|
6
|
-
TEST = "test",// For mock/demo endpoints and host registry in tests
|
|
7
|
-
SYSTEM = "system",// Reserved for the host's bootstrap operation (TODO: deprecate)
|
|
8
|
-
HEALTH_CARE = "health-care",
|
|
9
|
-
HEALTH_INSURANCE = "health-insurance",
|
|
10
|
-
EMERGENCY = "emergency",
|
|
11
|
-
RESEARCH = "research"
|
|
12
|
-
}
|
|
13
|
-
export declare enum Section {
|
|
14
|
-
/** Managing registration of organizations */
|
|
15
|
-
registry = "registry",
|
|
16
|
-
/** Managing data of the hosted organization */
|
|
17
|
-
entity = "entity",
|
|
18
|
-
/** Managing data of the hosted individual */
|
|
19
|
-
individual = "individual",
|
|
20
|
-
/** Managing data in the blockchain network */
|
|
21
|
-
network = "network"
|
|
22
|
-
}
|
|
23
|
-
/** Standards, specifications and formats for data supported in the url path */
|
|
24
|
-
export declare enum Format {
|
|
25
|
-
Schema = "org.schema",
|
|
26
|
-
FhirApi = "org.hl7.fhir.api"
|
|
27
|
-
}
|
|
28
|
-
/** Types of resources supported in the url path */
|
|
29
|
-
export declare enum Resource {
|
|
30
|
-
Person = "Person",
|
|
31
|
-
RelatedPerson = "RelatedPerson",
|
|
32
|
-
Employee = "Emloyee",
|
|
33
|
-
EmployeeRole = "EmloyeeRole",
|
|
34
|
-
Practitioner = "Practitioner",
|
|
35
|
-
PractitionerRole = "PractitionerRole",
|
|
36
|
-
Organization = "Organization",
|
|
37
|
-
Location = "Location",
|
|
38
|
-
Group = "Group"
|
|
39
|
-
}
|
|
40
|
-
export declare enum JobAction {
|
|
41
|
-
"_batch" = "_batch",
|
|
42
|
-
"_create" = "_create",
|
|
43
|
-
"_discovery" = "_discovery"
|
|
44
|
-
}
|
|
45
|
-
export declare enum knownDomainsReversedEnum {
|
|
46
|
-
'org.schema' = "org.schema",
|
|
47
|
-
'org.hl7.fhir.api' = "org.hl7.fhir.api",
|
|
48
|
-
'org.hl7.fhir.r4' = "org.hl7.fhir.r4",
|
|
49
|
-
'org.ilo.isco' = "org.ilo.isco",
|
|
50
|
-
'net.openid' = "net.openid"
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* A list of known, fully-qualified context prefixes in reverse DNS format.
|
|
54
|
-
* This is used by the claim normalization utility to identify claims that
|
|
55
|
-
* are already interoperable and should not be modified.
|
|
56
|
-
* All entries should be in lowercase.
|
|
57
|
-
*/
|
|
58
|
-
export declare const knownDomainsReversed: string[];
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
// Copyright 2025 Antifraud Services Inc. under the Apache License, Version 2.0.
|
|
2
|
-
// File: crypto-ts/models/urlPath.ts
|
|
3
|
-
/**
|
|
4
|
-
* Defines the standardized business sectors supported by the gateway.
|
|
5
|
-
* Using an enum ensures type safety and prevents the use of arbitrary strings.
|
|
6
|
-
*/
|
|
7
|
-
export var Sector;
|
|
8
|
-
(function (Sector) {
|
|
9
|
-
Sector["TEST"] = "test";
|
|
10
|
-
Sector["SYSTEM"] = "system";
|
|
11
|
-
Sector["HEALTH_CARE"] = "health-care";
|
|
12
|
-
Sector["HEALTH_INSURANCE"] = "health-insurance";
|
|
13
|
-
Sector["EMERGENCY"] = "emergency";
|
|
14
|
-
Sector["RESEARCH"] = "research";
|
|
15
|
-
})(Sector || (Sector = {}));
|
|
16
|
-
export var Section;
|
|
17
|
-
(function (Section) {
|
|
18
|
-
/** Managing registration of organizations */
|
|
19
|
-
Section["registry"] = "registry";
|
|
20
|
-
/** Managing data of the hosted organization */
|
|
21
|
-
Section["entity"] = "entity";
|
|
22
|
-
/** Managing data of the hosted individual */
|
|
23
|
-
Section["individual"] = "individual";
|
|
24
|
-
/** Managing data in the blockchain network */
|
|
25
|
-
Section["network"] = "network";
|
|
26
|
-
})(Section || (Section = {}));
|
|
27
|
-
/** Standards, specifications and formats for data supported in the url path */
|
|
28
|
-
export var Format;
|
|
29
|
-
(function (Format) {
|
|
30
|
-
Format["Schema"] = "org.schema";
|
|
31
|
-
Format["FhirApi"] = "org.hl7.fhir.api";
|
|
32
|
-
//Pdf' = 'pdf',
|
|
33
|
-
})(Format || (Format = {}));
|
|
34
|
-
/** Types of resources supported in the url path */
|
|
35
|
-
export var Resource;
|
|
36
|
-
(function (Resource) {
|
|
37
|
-
Resource["Person"] = "Person";
|
|
38
|
-
Resource["RelatedPerson"] = "RelatedPerson";
|
|
39
|
-
Resource["Employee"] = "Emloyee";
|
|
40
|
-
Resource["EmployeeRole"] = "EmloyeeRole";
|
|
41
|
-
Resource["Practitioner"] = "Practitioner";
|
|
42
|
-
Resource["PractitionerRole"] = "PractitionerRole";
|
|
43
|
-
Resource["Organization"] = "Organization";
|
|
44
|
-
Resource["Location"] = "Location";
|
|
45
|
-
Resource["Group"] = "Group";
|
|
46
|
-
})(Resource || (Resource = {}));
|
|
47
|
-
export var JobAction;
|
|
48
|
-
(function (JobAction) {
|
|
49
|
-
JobAction["_batch"] = "_batch";
|
|
50
|
-
JobAction["_create"] = "_create";
|
|
51
|
-
JobAction["_discovery"] = "_discovery";
|
|
52
|
-
})(JobAction || (JobAction = {}));
|
|
53
|
-
export var knownDomainsReversedEnum;
|
|
54
|
-
(function (knownDomainsReversedEnum) {
|
|
55
|
-
knownDomainsReversedEnum["org.schema"] = "org.schema";
|
|
56
|
-
knownDomainsReversedEnum["org.hl7.fhir.api"] = "org.hl7.fhir.api";
|
|
57
|
-
knownDomainsReversedEnum["org.hl7.fhir.r4"] = "org.hl7.fhir.r4";
|
|
58
|
-
knownDomainsReversedEnum["org.ilo.isco"] = "org.ilo.isco";
|
|
59
|
-
knownDomainsReversedEnum["net.openid"] = "net.openid";
|
|
60
|
-
// Add other known standards here
|
|
61
|
-
})(knownDomainsReversedEnum || (knownDomainsReversedEnum = {}));
|
|
62
|
-
;
|
|
63
|
-
/**
|
|
64
|
-
* A list of known, fully-qualified context prefixes in reverse DNS format.
|
|
65
|
-
* This is used by the claim normalization utility to identify claims that
|
|
66
|
-
* are already interoperable and should not be modified.
|
|
67
|
-
* All entries should be in lowercase.
|
|
68
|
-
*/
|
|
69
|
-
export const knownDomainsReversed = [
|
|
70
|
-
knownDomainsReversedEnum["org.schema"],
|
|
71
|
-
knownDomainsReversedEnum["org.hl7.fhir.api"],
|
|
72
|
-
knownDomainsReversedEnum["org.hl7.fhir.r4"],
|
|
73
|
-
knownDomainsReversedEnum["org.ilo.isco"],
|
|
74
|
-
knownDomainsReversedEnum["net.openid"]
|
|
75
|
-
// Add other known standards here
|
|
76
|
-
];
|