gdc-sdk-front-ts 2.2.1 → 2.3.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/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/index.d.ts +1 -0
- package/dist/index.js +1 -0
- 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,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* One advertised Dataspace Protocol version entry from `/.well-known/dspace-version`.
|
|
3
|
-
*/
|
|
4
|
-
export type DspaceProtocolVersionEntry = Readonly<{
|
|
5
|
-
version: string;
|
|
6
|
-
path: string;
|
|
7
|
-
}>;
|
|
8
|
-
/**
|
|
9
|
-
* Minimal version metadata payload returned by the DSP well-known discovery
|
|
10
|
-
* endpoint.
|
|
11
|
-
*/
|
|
12
|
-
export type DspaceVersionMetadata = Readonly<{
|
|
13
|
-
protocolVersions: readonly DspaceProtocolVersionEntry[];
|
|
14
|
-
}>;
|
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
import type { DeviceAppType, DeviceUserClass } from '../constants/device';
|
|
2
|
-
/**
|
|
3
|
-
* A fingerprint of a specific device, used for binding a license to it.
|
|
4
|
-
*/
|
|
5
|
-
export interface DeviceInfo {
|
|
6
|
-
/**
|
|
7
|
-
* A stable, unique identifier for the specific app installation, generated by the client.
|
|
8
|
-
* This is the primary key for device binding.
|
|
9
|
-
*/
|
|
10
|
-
clientInstanceId: string;
|
|
11
|
-
/** The operating system of the device (e.g., "iOS", "Android", "Windows"). */
|
|
12
|
-
os?: string;
|
|
13
|
-
/** The specific OS version. */
|
|
14
|
-
osVersion?: string;
|
|
15
|
-
/** The manufacturer of the device (e.g., "Apple", "Samsung"). */
|
|
16
|
-
manufacturer?: string;
|
|
17
|
-
/** The model of the device (e.g., "iPhone14,6"). */
|
|
18
|
-
model?: string;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* A set of rules that a device must match to be eligible to activate a license.
|
|
22
|
-
*/
|
|
23
|
-
export interface DeviceRestrictions {
|
|
24
|
-
/** A regex pattern for the allowed manufacturer(s). */
|
|
25
|
-
manufacturer?: string;
|
|
26
|
-
/** A regex pattern for the allowed model(s). */
|
|
27
|
-
model?: string;
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* Represents a single device activation license, enabling a user to register a specific device
|
|
31
|
-
* for a tenant's service. It governs access based on user class, platform, and subscription terms.
|
|
32
|
-
* Timestamps are stored as Unix epoch seconds (numeric).
|
|
33
|
-
* All property names follow the camelCase convention.
|
|
34
|
-
*/
|
|
35
|
-
export interface DeviceLicense {
|
|
36
|
-
/**
|
|
37
|
-
* The unique identifier for this license document in the vault.
|
|
38
|
-
*/
|
|
39
|
-
id: string;
|
|
40
|
-
/**
|
|
41
|
-
* The logical identifier of the tenant organization that owns this license.
|
|
42
|
-
* @example "acme"
|
|
43
|
-
*/
|
|
44
|
-
tenantId: string;
|
|
45
|
-
/**
|
|
46
|
-
* Identifier for the purchase order or invoice that generated this license.
|
|
47
|
-
* All licenses created from the same purchase will share the same orderId.
|
|
48
|
-
* @example "inv_12345"
|
|
49
|
-
*/
|
|
50
|
-
orderId: string;
|
|
51
|
-
/**
|
|
52
|
-
* A secure, single-use code given to a user to activate a device.
|
|
53
|
-
* This is generated when the license status becomes 'issued'.
|
|
54
|
-
*/
|
|
55
|
-
activationCode?: string;
|
|
56
|
-
/**
|
|
57
|
-
* **CRITICAL:** Defines the class of user this license is intended for.
|
|
58
|
-
* This allows for stratified licensing (e.g., selling "professional seats"
|
|
59
|
-
* separately from "individual access").
|
|
60
|
-
*/
|
|
61
|
-
userClass: DeviceUserClass;
|
|
62
|
-
/**
|
|
63
|
-
* **Specifies the functional category for an 'employee' license.**
|
|
64
|
-
* This determines the set of roles the user is permitted to have.
|
|
65
|
-
* This field MUST be present if userClass is 'employee'.
|
|
66
|
-
* It is typically undefined for 'individual' licenses.
|
|
67
|
-
* @example "medicalStaff", "firstResponder", "admin"
|
|
68
|
-
*/
|
|
69
|
-
userCategory?: string;
|
|
70
|
-
/**
|
|
71
|
-
* Defines the platform this license is for.
|
|
72
|
-
*/
|
|
73
|
-
type: DeviceAppType;
|
|
74
|
-
/**
|
|
75
|
-
* The current lifecycle status of the license.
|
|
76
|
-
* - 'available': Fresh license, ready to be assigned to a user.
|
|
77
|
-
* - 'issued': Assigned to a user and an activation code has been generated.
|
|
78
|
-
* - 'active': The user has successfully used the activation code to register a device.
|
|
79
|
-
* - 'inactive': Deactivated by an administrator or user, or has expired.
|
|
80
|
-
*/
|
|
81
|
-
status: 'available' | 'issued' | 'active' | 'inactive';
|
|
82
|
-
/**
|
|
83
|
-
* The subscription or purchase plan associated with this license.
|
|
84
|
-
* @example "premium_annual" | "standard_monthly" | "trial"
|
|
85
|
-
*/
|
|
86
|
-
plan: string;
|
|
87
|
-
/**
|
|
88
|
-
* Defines the renewal period for the license.
|
|
89
|
-
* '1m' for one month, '12m' for one year.
|
|
90
|
-
* A null value indicates the license does not auto-renew.
|
|
91
|
-
*/
|
|
92
|
-
renewalCycle: '1m' | '12m' | null;
|
|
93
|
-
/**
|
|
94
|
-
* If true, the license can be reactivated after being made inactive
|
|
95
|
-
* (e.g., after a user clicks "Log out everywhere"). If false, an inactive
|
|
96
|
-
* license cannot be used again.
|
|
97
|
-
*/
|
|
98
|
-
reactivationEnabled: boolean;
|
|
99
|
-
/**
|
|
100
|
-
* "Issued At" timestamp. The time the license was assigned to a user, as a Unix epoch in seconds.
|
|
101
|
-
* Set when status moves to 'issued'.
|
|
102
|
-
*/
|
|
103
|
-
issuedAt?: number;
|
|
104
|
-
/**
|
|
105
|
-
* "Activation Time" timestamp. The time the license was successfully used to register a device,
|
|
106
|
-
* as a Unix epoch in seconds. Set when status moves to 'active'.
|
|
107
|
-
*/
|
|
108
|
-
activatedAt?: number;
|
|
109
|
-
/**
|
|
110
|
-
* "Expiration Time" timestamp. The time at which the license and the device's authorization
|
|
111
|
-
* expire, as a Unix epoch in seconds.
|
|
112
|
-
*/
|
|
113
|
-
exp: number;
|
|
114
|
-
/**
|
|
115
|
-
* The unique identifier of the user (e.g., employeeId or customerId) to whom the license is issued.
|
|
116
|
-
* Populated when the status becomes 'issued'.
|
|
117
|
-
*/
|
|
118
|
-
subjectId?: string;
|
|
119
|
-
/**
|
|
120
|
-
* The unique identifier (`client_id`) of the device registered with this license.
|
|
121
|
-
* Populated when the status becomes 'active'.
|
|
122
|
-
*/
|
|
123
|
-
deviceId?: string;
|
|
124
|
-
/**
|
|
125
|
-
* Optional, pre-defined restrictions on which devices are allowed to activate this license.
|
|
126
|
-
* Set at the time of license creation.
|
|
127
|
-
*/
|
|
128
|
-
deviceRestrictions?: DeviceRestrictions;
|
|
129
|
-
/**
|
|
130
|
-
* A fingerprint of the device that successfully activated this license.
|
|
131
|
-
* This is captured upon activation and is used to lock the license to that specific device.
|
|
132
|
-
*/
|
|
133
|
-
deviceInfo?: DeviceInfo;
|
|
134
|
-
}
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import { PublicJwk } from "../interfaces/Cryptography.types";
|
|
2
|
-
import { RecipientPublicKey } from "./crypto";
|
|
3
|
-
import { JwkSet } from "./jwk";
|
|
4
|
-
import type { ActorKind } from "./actor-session";
|
|
5
|
-
export type { ActorKind } from "./actor-session";
|
|
6
|
-
/**
|
|
7
|
-
* The parameters required to construct a service endpoint selector.
|
|
8
|
-
* This is the contract for a specific API method to define its endpoint.
|
|
9
|
-
*/
|
|
10
|
-
export interface ServiceEndpointSelector {
|
|
11
|
-
/** When the organization has its own domain for the connector the apiVersion and sector do not appear in the path */
|
|
12
|
-
apiVersion?: string;
|
|
13
|
-
sector?: string;
|
|
14
|
-
/** Corresponds to <sectionTypeOrCompartmentCodingSystem> */
|
|
15
|
-
section: string;
|
|
16
|
-
/** Corresponds to <formatTypeOrCompartmentCodingValue> */
|
|
17
|
-
format: string;
|
|
18
|
-
resourceType: string;
|
|
19
|
-
action: string;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Extends the base selector with authorization information.
|
|
23
|
-
* This is used for endpoints that are not public and require a SMART token.
|
|
24
|
-
*/
|
|
25
|
-
export interface SecureServiceEndpointSelector extends ServiceEndpointSelector {
|
|
26
|
-
requiredScope: string;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Represents a service endpoint in a DID Document.
|
|
30
|
-
* @see https://www.w3.org/TR/did-core/#service-endpoints
|
|
31
|
-
*/
|
|
32
|
-
export interface DidService {
|
|
33
|
-
id: string;
|
|
34
|
-
type: string;
|
|
35
|
-
serviceEndpoint: string;
|
|
36
|
-
[key: string]: any;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Represents a DID Document, compliant with the W3C DID Core specification.
|
|
40
|
-
* It describes how to use a DID, including verification methods and service endpoints.
|
|
41
|
-
* @see https://www.w3.org/TR/did-core/
|
|
42
|
-
*/
|
|
43
|
-
export interface DidDocument {
|
|
44
|
-
/** The DID context, typically "https://www.w3.org/ns/did/v1". */
|
|
45
|
-
'@context': string | string[];
|
|
46
|
-
/** The DID URI itself. */
|
|
47
|
-
id: string;
|
|
48
|
-
/** Public keys used for verifying digital signatures */
|
|
49
|
-
verificationMethod?: VerificationMethod[];
|
|
50
|
-
/**
|
|
51
|
-
* Specifies verification methods for making claims. Can be embedded or a string referencing a `verificationMethod`.
|
|
52
|
-
* @see https://www.w3.org/TR/did-core/#assertion
|
|
53
|
-
*/
|
|
54
|
-
assertionMethod?: (string | VerificationMethod)[];
|
|
55
|
-
/**
|
|
56
|
-
* Specifies methods for authentication. Can be embedded or a string referencing a `verificationMethod`.
|
|
57
|
-
* @see https://www.w3.org/TR/did-core/#authentication
|
|
58
|
-
*/
|
|
59
|
-
authentication?: (string | VerificationMethod)[];
|
|
60
|
-
/**
|
|
61
|
-
* Specifies methods for key agreement. Can be embedded or a string referencing a `verificationMethod`.
|
|
62
|
-
* @see https://www.w3.org/TR/did-core/#key-agreement
|
|
63
|
-
*/
|
|
64
|
-
keyAgreement?: (string | VerificationMethod)[];
|
|
65
|
-
/** Service endpoints for interacting with the entity */
|
|
66
|
-
service?: DidService[];
|
|
67
|
-
/** Other properties are allowed. */
|
|
68
|
-
[key: string]: any;
|
|
69
|
-
}
|
|
70
|
-
export interface VerificationMethod extends RecipientPublicKey {
|
|
71
|
-
id: string;
|
|
72
|
-
type: string;
|
|
73
|
-
controller: string;
|
|
74
|
-
publicKeyJwk: PublicJwk;
|
|
75
|
-
}
|
|
76
|
-
export interface ResolvedServiceEndpoint {
|
|
77
|
-
id: string;
|
|
78
|
-
type: string;
|
|
79
|
-
serviceEndpoint: string;
|
|
80
|
-
capability?: string;
|
|
81
|
-
raw: DidService;
|
|
82
|
-
}
|
|
83
|
-
export interface ActorIdentity {
|
|
84
|
-
did: string;
|
|
85
|
-
kind?: ActorKind | 'unknown';
|
|
86
|
-
sameAs?: string;
|
|
87
|
-
didDocument?: DidDocument;
|
|
88
|
-
jwks?: JwkSet;
|
|
89
|
-
publicKeyJwk?: PublicJwk;
|
|
90
|
-
}
|
|
91
|
-
export interface TransportIdentity {
|
|
92
|
-
did?: string;
|
|
93
|
-
didDocument?: DidDocument;
|
|
94
|
-
jwks?: JwkSet;
|
|
95
|
-
signingKid?: string;
|
|
96
|
-
encryptionKid?: string;
|
|
97
|
-
}
|
|
98
|
-
export interface DidResolutionResult {
|
|
99
|
-
did: string;
|
|
100
|
-
issuer?: string;
|
|
101
|
-
didDocument?: DidDocument;
|
|
102
|
-
didDocumentUrl?: string;
|
|
103
|
-
jwksUri?: string;
|
|
104
|
-
jwks?: JwkSet;
|
|
105
|
-
smartTokenEndpoint?: string;
|
|
106
|
-
serviceEndpoints: ResolvedServiceEndpoint[];
|
|
107
|
-
metadata?: Record<string, unknown>;
|
|
108
|
-
}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Minimal strict-FHIR typing for Composition, DocumentReference, and Communication.
|
|
3
|
-
* These interfaces intentionally cover the subset used by frontend/backend flows today.
|
|
4
|
-
*/
|
|
5
|
-
export type FhirReference = {
|
|
6
|
-
reference?: string;
|
|
7
|
-
type?: string;
|
|
8
|
-
display?: string;
|
|
9
|
-
};
|
|
10
|
-
export type FhirCoding = {
|
|
11
|
-
system?: string;
|
|
12
|
-
code?: string;
|
|
13
|
-
display?: string;
|
|
14
|
-
};
|
|
15
|
-
export type FhirCodeableConcept = {
|
|
16
|
-
coding?: FhirCoding[];
|
|
17
|
-
text?: string;
|
|
18
|
-
};
|
|
19
|
-
export type FhirAttachment = {
|
|
20
|
-
contentType?: string;
|
|
21
|
-
language?: string;
|
|
22
|
-
data?: string;
|
|
23
|
-
url?: string;
|
|
24
|
-
title?: string;
|
|
25
|
-
creation?: string;
|
|
26
|
-
};
|
|
27
|
-
export interface FhirCompositionResource {
|
|
28
|
-
resourceType: 'Composition';
|
|
29
|
-
id?: string;
|
|
30
|
-
status?: string;
|
|
31
|
-
type?: FhirCodeableConcept;
|
|
32
|
-
subject?: FhirReference;
|
|
33
|
-
date?: string;
|
|
34
|
-
author?: FhirReference[];
|
|
35
|
-
title?: string;
|
|
36
|
-
section?: Array<{
|
|
37
|
-
title?: string;
|
|
38
|
-
code?: FhirCodeableConcept;
|
|
39
|
-
text?: {
|
|
40
|
-
status?: string;
|
|
41
|
-
div?: string;
|
|
42
|
-
};
|
|
43
|
-
entry?: FhirReference[];
|
|
44
|
-
}>;
|
|
45
|
-
}
|
|
46
|
-
export interface FhirDocumentReferenceResource {
|
|
47
|
-
resourceType: 'DocumentReference';
|
|
48
|
-
id?: string;
|
|
49
|
-
status?: string;
|
|
50
|
-
identifier?: Array<{
|
|
51
|
-
system?: string;
|
|
52
|
-
value?: string;
|
|
53
|
-
}>;
|
|
54
|
-
type?: FhirCodeableConcept;
|
|
55
|
-
category?: FhirCodeableConcept[];
|
|
56
|
-
subject?: FhirReference;
|
|
57
|
-
date?: string;
|
|
58
|
-
author?: FhirReference[];
|
|
59
|
-
attester?: Array<{
|
|
60
|
-
mode?: string;
|
|
61
|
-
party?: FhirReference;
|
|
62
|
-
time?: string;
|
|
63
|
-
}>;
|
|
64
|
-
description?: string;
|
|
65
|
-
context?: {
|
|
66
|
-
encounter?: FhirReference[];
|
|
67
|
-
event?: FhirCodeableConcept[];
|
|
68
|
-
period?: {
|
|
69
|
-
start?: string;
|
|
70
|
-
end?: string;
|
|
71
|
-
};
|
|
72
|
-
related?: FhirReference[];
|
|
73
|
-
};
|
|
74
|
-
basedOn?: FhirReference[];
|
|
75
|
-
relatesTo?: Array<{
|
|
76
|
-
code?: string;
|
|
77
|
-
target?: FhirReference;
|
|
78
|
-
}>;
|
|
79
|
-
content?: Array<{
|
|
80
|
-
attachment?: FhirAttachment;
|
|
81
|
-
format?: FhirCoding;
|
|
82
|
-
}>;
|
|
83
|
-
}
|
|
84
|
-
export interface FhirCommunicationResource {
|
|
85
|
-
resourceType: 'Communication';
|
|
86
|
-
id?: string;
|
|
87
|
-
status?: string;
|
|
88
|
-
category?: FhirCodeableConcept[];
|
|
89
|
-
subject?: FhirReference;
|
|
90
|
-
recipient?: FhirReference[];
|
|
91
|
-
sender?: FhirReference;
|
|
92
|
-
sent?: string;
|
|
93
|
-
payload?: Array<{
|
|
94
|
-
contentAttachment?: FhirAttachment;
|
|
95
|
-
contentReference?: FhirReference;
|
|
96
|
-
}>;
|
|
97
|
-
partOf?: FhirReference[];
|
|
98
|
-
note?: Array<{
|
|
99
|
-
text?: string;
|
|
100
|
-
}>;
|
|
101
|
-
}
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import { PublicJwk } from '../interfaces/Cryptography.types';
|
|
2
|
-
import { JwkSet } from './jwk';
|
|
3
|
-
/**
|
|
4
|
-
* Public key binding for a human actor/controller identity.
|
|
5
|
-
*
|
|
6
|
-
* This contract is distinct from device/app transport identity.
|
|
7
|
-
*
|
|
8
|
-
* Use it when the bootstrap caller needs to tell GW/SDK which public keys
|
|
9
|
-
* belong to the person/controller whose DID Document will be published.
|
|
10
|
-
*/
|
|
11
|
-
export interface ControllerBindingInput {
|
|
12
|
-
/** Public DID to publish or bind for the controller/person. */
|
|
13
|
-
did?: string;
|
|
14
|
-
/** Additional public alias such as `mailto:` or alternate profile URI. */
|
|
15
|
-
sameAs?: string;
|
|
16
|
-
/** Primary signing key used to publish the controller DID Document. */
|
|
17
|
-
publicKeyJwk?: PublicJwk | Record<string, unknown>;
|
|
18
|
-
/** Optional extra key set to expose additional public verification methods. */
|
|
19
|
-
jwks?: JwkSet;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Public key binding for an organization/provider identity.
|
|
23
|
-
*
|
|
24
|
-
* This contract is distinct from controller/person identity.
|
|
25
|
-
*
|
|
26
|
-
* Use it when the bootstrap caller must publish or bind the provider-side
|
|
27
|
-
* organization DID independently of any human controller keys.
|
|
28
|
-
*/
|
|
29
|
-
export interface OrganizationBindingInput {
|
|
30
|
-
/** Public DID to publish or bind for the organization/provider. */
|
|
31
|
-
did?: string;
|
|
32
|
-
/** Public URL/issuer alias associated with the organization identity. */
|
|
33
|
-
url?: string;
|
|
34
|
-
/** Primary signing key used to publish the organization DID Document. */
|
|
35
|
-
publicKeyJwk?: PublicJwk | Record<string, unknown>;
|
|
36
|
-
/** Optional extra key set to expose additional organization keys. */
|
|
37
|
-
jwks?: JwkSet;
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Canonical activation proof carrier.
|
|
41
|
-
*
|
|
42
|
-
* `vp_token` is the preferred contract. The other fields exist only so the
|
|
43
|
-
* same model can represent intermediate OIDC/OID4VP style payloads.
|
|
44
|
-
*/
|
|
45
|
-
export interface ActivationProofInput {
|
|
46
|
-
/** Canonical activation proof containing the verifiable presentation evidence. */
|
|
47
|
-
vp_token?: string;
|
|
48
|
-
/** Structured VP payload, when still handled before JWT compaction. */
|
|
49
|
-
vp?: Record<string, unknown>;
|
|
50
|
-
/** OIDC/OID4VP presentation-submission descriptor, when present. */
|
|
51
|
-
presentation_submission?: Record<string, unknown>;
|
|
52
|
-
}
|
|
53
|
-
/**
|
|
54
|
-
* Canonical `_activate` request shape used across SDK/GW bootstrap helpers.
|
|
55
|
-
*
|
|
56
|
-
* Priority:
|
|
57
|
-
* 1. `vp_token`
|
|
58
|
-
* 2. `controller.*`
|
|
59
|
-
* 3. legacy credentials (deprecated compatibility only)
|
|
60
|
-
*
|
|
61
|
-
* `vp_token` proves the activation evidence. `controller.*` supplies the
|
|
62
|
-
* public key material needed to publish or bind the resulting actor DID
|
|
63
|
-
* Document. They serve different purposes and should not be conflated.
|
|
64
|
-
*/
|
|
65
|
-
export interface OrganizationActivationRequest extends ActivationProofInput {
|
|
66
|
-
/** Explicit controller/person binding used for actor DID publication. */
|
|
67
|
-
controller?: ControllerBindingInput;
|
|
68
|
-
/** Explicit organization/provider binding used for provider DID publication. */
|
|
69
|
-
organization?: OrganizationBindingInput;
|
|
70
|
-
/** Auxiliary application-specific payload entries forwarded by some flows. */
|
|
71
|
-
data?: Array<Record<string, unknown>>;
|
|
72
|
-
/**
|
|
73
|
-
* @deprecated Legacy compatibility field. Canonical proof must travel in `vp_token`.
|
|
74
|
-
*/
|
|
75
|
-
organizationCredential?: unknown;
|
|
76
|
-
/**
|
|
77
|
-
* @deprecated Legacy compatibility field. Canonical proof must travel in `vp_token`.
|
|
78
|
-
*/
|
|
79
|
-
representativeCredential?: unknown;
|
|
80
|
-
}
|
|
81
|
-
/**
|
|
82
|
-
* Structured validation issue emitted by bootstrap validators.
|
|
83
|
-
*/
|
|
84
|
-
export type IdentityBootstrapValidationIssue = {
|
|
85
|
-
/** Validation severity. Errors fail the contract, warnings flag compatibility debt. */
|
|
86
|
-
severity: 'error' | 'warning';
|
|
87
|
-
/** Stable machine-readable issue identifier. */
|
|
88
|
-
code: string;
|
|
89
|
-
/** Human-readable description of the problem or compatibility note. */
|
|
90
|
-
message: string;
|
|
91
|
-
/** Optional request path associated with the issue. */
|
|
92
|
-
path?: string;
|
|
93
|
-
};
|
|
94
|
-
/**
|
|
95
|
-
* Result returned by canonical bootstrap validation helpers.
|
|
96
|
-
*/
|
|
97
|
-
export type IdentityBootstrapValidationResult = {
|
|
98
|
-
/** `true` when no validation errors were found. */
|
|
99
|
-
ok: boolean;
|
|
100
|
-
/** Fatal contract violations. */
|
|
101
|
-
errors: IdentityBootstrapValidationIssue[];
|
|
102
|
-
/** Non-fatal compatibility or completeness findings. */
|
|
103
|
-
warnings: IdentityBootstrapValidationIssue[];
|
|
104
|
-
};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
export * from './actor-session';
|
|
2
|
-
export * from './aes';
|
|
3
|
-
export * from './auth';
|
|
4
|
-
export * from './bundle';
|
|
5
|
-
export * from './comm';
|
|
6
|
-
export * from './clinical-sections';
|
|
7
|
-
export * from './clinical-sections.en';
|
|
8
|
-
export * from './clinical-workbook-summary';
|
|
9
|
-
export * from './confidential-job';
|
|
10
|
-
export * from './confidential-message';
|
|
11
|
-
export * from './confidential-storage';
|
|
12
|
-
export * from './consent-rule';
|
|
13
|
-
export * from './consent-access';
|
|
14
|
-
export * from './crypto';
|
|
15
|
-
export * from './dataspace-discovery';
|
|
16
|
-
export * from './dataspace-discovery-defaults';
|
|
17
|
-
export * from './dataspace-protocol';
|
|
18
|
-
export * from './device-license';
|
|
19
|
-
export * from './did';
|
|
20
|
-
export * from './fhir-documents';
|
|
21
|
-
export * from './interoperable-claims';
|
|
22
|
-
export * from './indexing';
|
|
23
|
-
export * from './identity-bootstrap';
|
|
24
|
-
export * from './issue';
|
|
25
|
-
export * from './jsonapi';
|
|
26
|
-
export * from './jwe';
|
|
27
|
-
export * from './jwk';
|
|
28
|
-
export * from './jws';
|
|
29
|
-
export * from './jwt';
|
|
30
|
-
export * from './loinc-document-ontology';
|
|
31
|
-
export * from './oidc4ida.common.model';
|
|
32
|
-
export * from './oidc4ida.document.model';
|
|
33
|
-
export * from './oidc4ida.electronicRecord.model';
|
|
34
|
-
export * from './oidc4ida.evidence.model';
|
|
35
|
-
export * from './openid-device';
|
|
36
|
-
export * from './operation-outcome';
|
|
37
|
-
export * from './params';
|
|
38
|
-
export * from './resource-document';
|
|
39
|
-
export * from './relationship-access';
|
|
40
|
-
export * from './response';
|
|
41
|
-
export * from './urlPath';
|
|
42
|
-
export * from './verifiable-credential';
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
export * from './actor-session';
|
|
2
|
-
export * from './aes';
|
|
3
|
-
export * from './auth';
|
|
4
|
-
export * from './bundle';
|
|
5
|
-
export * from './comm';
|
|
6
|
-
export * from './clinical-sections';
|
|
7
|
-
export * from './clinical-sections.en';
|
|
8
|
-
export * from './clinical-workbook-summary';
|
|
9
|
-
export * from './confidential-job';
|
|
10
|
-
export * from './confidential-message';
|
|
11
|
-
export * from './confidential-storage';
|
|
12
|
-
export * from './consent-rule';
|
|
13
|
-
export * from './consent-access';
|
|
14
|
-
export * from './crypto';
|
|
15
|
-
export * from './dataspace-discovery';
|
|
16
|
-
export * from './dataspace-discovery-defaults';
|
|
17
|
-
export * from './dataspace-protocol';
|
|
18
|
-
export * from './device-license';
|
|
19
|
-
export * from './did';
|
|
20
|
-
export * from './fhir-documents';
|
|
21
|
-
export * from './interoperable-claims';
|
|
22
|
-
export * from './indexing';
|
|
23
|
-
export * from './identity-bootstrap';
|
|
24
|
-
export * from './issue';
|
|
25
|
-
export * from './jsonapi';
|
|
26
|
-
export * from './jwe';
|
|
27
|
-
export * from './jwk';
|
|
28
|
-
export * from './jws';
|
|
29
|
-
export * from './jwt';
|
|
30
|
-
export * from './loinc-document-ontology';
|
|
31
|
-
export * from './oidc4ida.common.model';
|
|
32
|
-
export * from './oidc4ida.document.model';
|
|
33
|
-
export * from './oidc4ida.electronicRecord.model';
|
|
34
|
-
export * from './oidc4ida.evidence.model';
|
|
35
|
-
export * from './openid-device';
|
|
36
|
-
export * from './operation-outcome';
|
|
37
|
-
export * from './params';
|
|
38
|
-
export * from './resource-document';
|
|
39
|
-
export * from './relationship-access';
|
|
40
|
-
export * from './response';
|
|
41
|
-
export * from './urlPath';
|
|
42
|
-
export * from './verifiable-credential';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ClaimsOrganizationSchemaorg } from "../constants/schemaorg";
|
|
2
|
-
/**
|
|
3
|
-
* Defines which claims are allowed to be indexed for different resource types.
|
|
4
|
-
* This provides a single, strongly-typed source of truth for indexing strategies.
|
|
5
|
-
*/
|
|
6
|
-
export declare const AllowedIndexableClaims: {
|
|
7
|
-
/**
|
|
8
|
-
* Defines the claims that can be indexed in the central tenant registry for an Organization.
|
|
9
|
-
*/
|
|
10
|
-
organizationRegistry: readonly [ClaimsOrganizationSchemaorg.alternateName, ClaimsOrganizationSchemaorg.identifierValue, ClaimsOrganizationSchemaorg.identifierType, ClaimsOrganizationSchemaorg.addressCountry];
|
|
11
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// Copyright 2025 Antifraud Services Inc. under the Apache License, Version 2.0.
|
|
2
|
-
// File: src/models/indexing.ts
|
|
3
|
-
import { ClaimsOrganizationSchemaorg } from "../constants/schemaorg";
|
|
4
|
-
/**
|
|
5
|
-
* Defines which claims are allowed to be indexed for different resource types.
|
|
6
|
-
* This provides a single, strongly-typed source of truth for indexing strategies.
|
|
7
|
-
*/
|
|
8
|
-
export const AllowedIndexableClaims = {
|
|
9
|
-
/**
|
|
10
|
-
* Defines the claims that can be indexed in the central tenant registry for an Organization.
|
|
11
|
-
*/
|
|
12
|
-
organizationRegistry: [
|
|
13
|
-
ClaimsOrganizationSchemaorg.alternateName,
|
|
14
|
-
ClaimsOrganizationSchemaorg.identifierValue,
|
|
15
|
-
ClaimsOrganizationSchemaorg.identifierType,
|
|
16
|
-
ClaimsOrganizationSchemaorg.addressCountry,
|
|
17
|
-
], // Use 'as const' to provide strong typing for the array elements
|
|
18
|
-
};
|
package/dist/gdc-common-utils-ts/src/models/interoperable-claims/allergy-intolerance-claims.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import type { ClaimSpec } from './types';
|
|
2
|
-
export declare const AllergyIntoleranceClaim: {
|
|
3
|
-
readonly Identifier: "AllergyIntolerance.identifier";
|
|
4
|
-
readonly Subject: "AllergyIntolerance.subject";
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated Use `AllergyIntolerance.subject`.
|
|
7
|
-
* Kept as compatibility alias because FHIR native field is `patient`.
|
|
8
|
-
*/
|
|
9
|
-
readonly Patient: "AllergyIntolerance.patient";
|
|
10
|
-
readonly Code: "AllergyIntolerance.code";
|
|
11
|
-
readonly ClinicalStatus: "AllergyIntolerance.clinical-status";
|
|
12
|
-
readonly VerificationStatus: "AllergyIntolerance.verification-status";
|
|
13
|
-
readonly Category: "AllergyIntolerance.category";
|
|
14
|
-
readonly Criticality: "AllergyIntolerance.criticality";
|
|
15
|
-
readonly OnsetDateTime: "AllergyIntolerance.onset-datetime";
|
|
16
|
-
readonly Recorder: "AllergyIntolerance.recorder";
|
|
17
|
-
};
|
|
18
|
-
export type AllergyIntoleranceClaimKey = typeof AllergyIntoleranceClaim[keyof typeof AllergyIntoleranceClaim];
|
|
19
|
-
/**
|
|
20
|
-
* http://hl7.org/fhir/uv/ips/ValueSet/allergies-intolerances-uv-ips
|
|
21
|
-
* Snomed IPS codes for allergy and intolerance categories: food, medication, environment, biologic.
|
|
22
|
-
* WHO ATC codes V01AA for Allergen extracts
|
|
23
|
-
*/
|
|
24
|
-
export declare const AllergyIntoleranceClaimSpecs: ClaimSpec[];
|
package/dist/gdc-common-utils-ts/src/models/interoperable-claims/allergy-intolerance-claims.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
// Copyright 2026 Conéctate Soluciones y Aplicaciones SL under the Apache License, Version 2.0.
|
|
2
|
-
// File: src/models/interoperable-claims/allergy-intolerance-claims.ts
|
|
3
|
-
// Always create JSDoc, do not use strings inline in keys nor values, use types instead, and reuse the data test examples.
|
|
4
|
-
export const AllergyIntoleranceClaim = {
|
|
5
|
-
Identifier: 'AllergyIntolerance.identifier',
|
|
6
|
-
Subject: 'AllergyIntolerance.subject',
|
|
7
|
-
/**
|
|
8
|
-
* @deprecated Use `AllergyIntolerance.subject`.
|
|
9
|
-
* Kept as compatibility alias because FHIR native field is `patient`.
|
|
10
|
-
*/
|
|
11
|
-
Patient: 'AllergyIntolerance.patient',
|
|
12
|
-
Code: 'AllergyIntolerance.code',
|
|
13
|
-
ClinicalStatus: 'AllergyIntolerance.clinical-status',
|
|
14
|
-
VerificationStatus: 'AllergyIntolerance.verification-status',
|
|
15
|
-
Category: 'AllergyIntolerance.category',
|
|
16
|
-
Criticality: 'AllergyIntolerance.criticality',
|
|
17
|
-
OnsetDateTime: 'AllergyIntolerance.onset-datetime',
|
|
18
|
-
Recorder: 'AllergyIntolerance.recorder',
|
|
19
|
-
};
|
|
20
|
-
/**
|
|
21
|
-
* http://hl7.org/fhir/uv/ips/ValueSet/allergies-intolerances-uv-ips
|
|
22
|
-
* Snomed IPS codes for allergy and intolerance categories: food, medication, environment, biologic.
|
|
23
|
-
* WHO ATC codes V01AA for Allergen extracts
|
|
24
|
-
*/
|
|
25
|
-
export const AllergyIntoleranceClaimSpecs = [
|
|
26
|
-
{ key: AllergyIntoleranceClaim.Identifier, meaning: 'Business identifier for allergy record.', example: 'ALG-0001' },
|
|
27
|
-
{ key: AllergyIntoleranceClaim.Subject, meaning: 'Canonical subject reference (maps to FHIR AllergyIntolerance.patient.reference).', example: 'urn:uuid:<UUID-V4>' },
|
|
28
|
-
{ key: AllergyIntoleranceClaim.Patient, meaning: 'Deprecated alias of subject for compatibility.', example: 'urn:uuid:<UUID-V4>' },
|
|
29
|
-
{ key: AllergyIntoleranceClaim.Code, meaning: 'Allergy or intolerance code.', example: 'http://snomed.info/sct|227493005' },
|
|
30
|
-
{ key: AllergyIntoleranceClaim.ClinicalStatus, meaning: 'Clinical status code.', example: 'active' },
|
|
31
|
-
{ key: AllergyIntoleranceClaim.VerificationStatus, meaning: 'Verification status code.', example: 'confirmed' },
|
|
32
|
-
{ key: AllergyIntoleranceClaim.Category, meaning: 'Category value.', example: 'food' },
|
|
33
|
-
{ key: AllergyIntoleranceClaim.Criticality, meaning: 'Criticality level.', example: 'high' },
|
|
34
|
-
{ key: AllergyIntoleranceClaim.OnsetDateTime, meaning: 'Onset date/time.', example: '2026-01-10T10:00:00Z' },
|
|
35
|
-
{ key: AllergyIntoleranceClaim.Recorder, meaning: 'Recorder reference.', example: 'did:web:<domain>:organization:taxid:<TAXID>:member:<MEMBER_ID>:<roleCode>' },
|
|
36
|
-
];
|