gdc-sdk-front-ts 2.2.1 → 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/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,49 +0,0 @@
|
|
|
1
|
-
// Copyright 2025 Antifraud Services Inc. under the Apache License, Version 2.0.
|
|
2
|
-
import { AES_GCM_JWA_ENC } from '../models/aes';
|
|
3
|
-
/**
|
|
4
|
-
* Canonical JOSE/JWK `use` values used across GDC communication key material.
|
|
5
|
-
*/
|
|
6
|
-
export const JwkKeyUses = {
|
|
7
|
-
Signature: 'sig',
|
|
8
|
-
Encryption: 'enc',
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* Canonical public-key purposes used by GW and SDKs to distinguish communication
|
|
12
|
-
* signing keys from VC signing keys.
|
|
13
|
-
*/
|
|
14
|
-
export const CommunicationKeyPurposes = {
|
|
15
|
-
CommunicationSignature: 'comm_sig',
|
|
16
|
-
VerifiableCredentialSignature: 'vc_sign',
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* Classical JOSE signature algorithms currently recognized across GDC VP/JWT
|
|
20
|
-
* examples and gateway trust adapters.
|
|
21
|
-
*
|
|
22
|
-
* Notes:
|
|
23
|
-
* - `ES256K` is the JOSE name for ECDSA over `secp256k1`
|
|
24
|
-
* - `ES384` remains the common P-384 legacy example in current GW fixtures
|
|
25
|
-
*/
|
|
26
|
-
export const ClassicalJoseSignatureAlgorithms = {
|
|
27
|
-
Es256: 'ES256',
|
|
28
|
-
Es256K: 'ES256K',
|
|
29
|
-
Es384: 'ES384',
|
|
30
|
-
};
|
|
31
|
-
/**
|
|
32
|
-
* Default post-quantum signing algorithms used for communication bootstrap.
|
|
33
|
-
*/
|
|
34
|
-
export const DefaultSigningAlgorithms = {
|
|
35
|
-
Communication: 'ML-DSA-44',
|
|
36
|
-
VerifiableCredential: 'ML-DSA-44',
|
|
37
|
-
};
|
|
38
|
-
/**
|
|
39
|
-
* Default post-quantum encryption curve used for communication bootstrap.
|
|
40
|
-
*/
|
|
41
|
-
export const DefaultEncryptionCurves = {
|
|
42
|
-
Communication: 'ML-KEM-768',
|
|
43
|
-
};
|
|
44
|
-
/**
|
|
45
|
-
* Canonical JOSE content-encryption algorithms used by DIDComm/JWE envelopes.
|
|
46
|
-
*/
|
|
47
|
-
export const JoseContentEncryptionAlgorithms = {
|
|
48
|
-
Aes256Gcm: AES_GCM_JWA_ENC,
|
|
49
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Shared discovery-source policies used by backend/bootstrap layers that must
|
|
3
|
-
* decide whether to start from configured defaults or from live internet/ICA
|
|
4
|
-
* discovery.
|
|
5
|
-
*/
|
|
6
|
-
export declare const DataspaceDiscoverySourceMode: Readonly<{
|
|
7
|
-
readonly DefaultFirst: "default-first";
|
|
8
|
-
readonly DefaultsOnly: "defaults-only";
|
|
9
|
-
readonly InternetFirst: "internet-first";
|
|
10
|
-
}>;
|
|
11
|
-
export type DataspaceDiscoverySourceModeValue = typeof DataspaceDiscoverySourceMode[keyof typeof DataspaceDiscoverySourceMode];
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// Copyright 2026 Antifraud Services Inc. under the Apache License, Version 2.0.
|
|
2
|
-
/**
|
|
3
|
-
* Shared discovery-source policies used by backend/bootstrap layers that must
|
|
4
|
-
* decide whether to start from configured defaults or from live internet/ICA
|
|
5
|
-
* discovery.
|
|
6
|
-
*/
|
|
7
|
-
export const DataspaceDiscoverySourceMode = Object.freeze({
|
|
8
|
-
DefaultFirst: 'default-first',
|
|
9
|
-
DefaultsOnly: 'defaults-only',
|
|
10
|
-
InternetFirst: 'internet-first',
|
|
11
|
-
});
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Canonical Dataspace Protocol version identifiers used by the current GW/SDK
|
|
3
|
-
* discovery flows.
|
|
4
|
-
*/
|
|
5
|
-
export declare const DataspaceProtocolVersions: Readonly<{
|
|
6
|
-
readonly Current: "2025-1";
|
|
7
|
-
}>;
|
|
8
|
-
/**
|
|
9
|
-
* Canonical well-known paths used by Dataspace Protocol discovery.
|
|
10
|
-
*/
|
|
11
|
-
export declare const DataspaceWellKnownPaths: Readonly<{
|
|
12
|
-
readonly VersionMetadata: "/.well-known/dspace-version";
|
|
13
|
-
}>;
|
|
14
|
-
/**
|
|
15
|
-
* Project-local GW CORE DSP binding paths.
|
|
16
|
-
*
|
|
17
|
-
* These preserve the current internal API structure while still ending in the
|
|
18
|
-
* DSP catalog route shapes.
|
|
19
|
-
*/
|
|
20
|
-
export declare const GwDataspaceBindingPaths: Readonly<{
|
|
21
|
-
readonly Base: "/dsp";
|
|
22
|
-
readonly CatalogCollectionSuffix: "/catalog";
|
|
23
|
-
readonly CatalogRequestSuffix: "/catalog/request";
|
|
24
|
-
readonly CatalogArtifactSuffix: "/catalog/dcat.json";
|
|
25
|
-
readonly CatalogDatasetsPrefix: "/catalog/datasets";
|
|
26
|
-
}>;
|
|
27
|
-
export type DataspaceProtocolVersionValue = typeof DataspaceProtocolVersions[keyof typeof DataspaceProtocolVersions];
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
// Copyright 2026 Antifraud Services Inc. under the Apache License, Version 2.0.
|
|
2
|
-
/**
|
|
3
|
-
* Canonical Dataspace Protocol version identifiers used by the current GW/SDK
|
|
4
|
-
* discovery flows.
|
|
5
|
-
*/
|
|
6
|
-
export const DataspaceProtocolVersions = Object.freeze({
|
|
7
|
-
Current: '2025-1',
|
|
8
|
-
});
|
|
9
|
-
/**
|
|
10
|
-
* Canonical well-known paths used by Dataspace Protocol discovery.
|
|
11
|
-
*/
|
|
12
|
-
export const DataspaceWellKnownPaths = Object.freeze({
|
|
13
|
-
VersionMetadata: '/.well-known/dspace-version',
|
|
14
|
-
});
|
|
15
|
-
/**
|
|
16
|
-
* Project-local GW CORE DSP binding paths.
|
|
17
|
-
*
|
|
18
|
-
* These preserve the current internal API structure while still ending in the
|
|
19
|
-
* DSP catalog route shapes.
|
|
20
|
-
*/
|
|
21
|
-
export const GwDataspaceBindingPaths = Object.freeze({
|
|
22
|
-
Base: '/dsp',
|
|
23
|
-
CatalogCollectionSuffix: '/catalog',
|
|
24
|
-
CatalogRequestSuffix: '/catalog/request',
|
|
25
|
-
CatalogArtifactSuffix: '/catalog/dcat.json',
|
|
26
|
-
CatalogDatasetsPrefix: '/catalog/datasets',
|
|
27
|
-
});
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Canonical user classes used by device licenses and frontend/backend SDK flows.
|
|
3
|
-
*/
|
|
4
|
-
export declare const DeviceUserClasses: Readonly<{
|
|
5
|
-
readonly Employee: "employee";
|
|
6
|
-
readonly Individual: "individual";
|
|
7
|
-
}>;
|
|
8
|
-
export type DeviceUserClass = typeof DeviceUserClasses[keyof typeof DeviceUserClasses];
|
|
9
|
-
/**
|
|
10
|
-
* Canonical device/app form factors used by licensing and activation flows.
|
|
11
|
-
*/
|
|
12
|
-
export declare const DeviceAppTypes: Readonly<{
|
|
13
|
-
readonly Mobile: "mobile";
|
|
14
|
-
readonly Web: "web";
|
|
15
|
-
}>;
|
|
16
|
-
export type DeviceAppType = typeof DeviceAppTypes[keyof typeof DeviceAppTypes];
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
// Copyright 2025 Antifraud Services Inc. under the Apache License, Version 2.0.
|
|
2
|
-
/**
|
|
3
|
-
* Canonical user classes used by device licenses and frontend/backend SDK flows.
|
|
4
|
-
*/
|
|
5
|
-
export const DeviceUserClasses = Object.freeze({
|
|
6
|
-
Employee: 'employee',
|
|
7
|
-
Individual: 'individual',
|
|
8
|
-
});
|
|
9
|
-
/**
|
|
10
|
-
* Canonical device/app form factors used by licensing and activation flows.
|
|
11
|
-
*/
|
|
12
|
-
export const DeviceAppTypes = Object.freeze({
|
|
13
|
-
Mobile: 'mobile',
|
|
14
|
-
Web: 'web',
|
|
15
|
-
});
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Canonical DID service fragments published by GW/SDK discovery surfaces.
|
|
3
|
-
*/
|
|
4
|
-
export declare const DidServiceIds: Readonly<{
|
|
5
|
-
readonly DidDocument: "#did-document";
|
|
6
|
-
readonly Jwks: "#jwks";
|
|
7
|
-
readonly OpenIdConfiguration: "#openid-configuration";
|
|
8
|
-
readonly SmartConfiguration: "#smart-configuration";
|
|
9
|
-
readonly SmartToken: "#identity:openid:smart:token";
|
|
10
|
-
readonly CredentialIssuer: "#openid-credential-issuer";
|
|
11
|
-
readonly CapabilityStatement: "#fhir:capabilitystatement";
|
|
12
|
-
readonly Catalog: "#catalog";
|
|
13
|
-
}>;
|
|
14
|
-
/**
|
|
15
|
-
* Canonical DID service types published by GW/SDK discovery surfaces.
|
|
16
|
-
*/
|
|
17
|
-
export declare const DidServiceTypes: Readonly<{
|
|
18
|
-
readonly LinkedDomains: "LinkedDomains";
|
|
19
|
-
readonly JsonWebKeyService2020: "JsonWebKeyService2020";
|
|
20
|
-
readonly OpenIdProvider: "OpenIdProvider";
|
|
21
|
-
readonly SmartOnFhirConfiguration: "SmartOnFhirConfiguration";
|
|
22
|
-
readonly ApiService: "ApiService";
|
|
23
|
-
readonly CredentialIssuer: "OpenIdCredentialIssuer";
|
|
24
|
-
readonly FhirCapabilityStatement: "CapabilityStatement";
|
|
25
|
-
readonly CatalogService: "CatalogService";
|
|
26
|
-
}>;
|
|
27
|
-
/**
|
|
28
|
-
* Canonical discovery capabilities used when selecting endpoints from a DID Document.
|
|
29
|
-
*/
|
|
30
|
-
export declare const DiscoveryCapabilities: Readonly<{
|
|
31
|
-
readonly DidDocument: "did-document";
|
|
32
|
-
readonly Jwks: "jwks";
|
|
33
|
-
readonly OpenIdConfiguration: "openid-configuration";
|
|
34
|
-
readonly SmartConfiguration: "smart-configuration";
|
|
35
|
-
readonly SmartToken: "smart-token";
|
|
36
|
-
readonly CredentialIssuer: "credential-issuer";
|
|
37
|
-
readonly CapabilityStatement: "capability-statement";
|
|
38
|
-
readonly Catalog: "catalog";
|
|
39
|
-
}>;
|
|
40
|
-
export type DidServiceId = typeof DidServiceIds[keyof typeof DidServiceIds];
|
|
41
|
-
export type DidServiceType = typeof DidServiceTypes[keyof typeof DidServiceTypes];
|
|
42
|
-
export type DiscoveryCapability = typeof DiscoveryCapabilities[keyof typeof DiscoveryCapabilities];
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
// Copyright 2026 Antifraud Services Inc. under the Apache License, Version 2.0.
|
|
2
|
-
/**
|
|
3
|
-
* Canonical DID service fragments published by GW/SDK discovery surfaces.
|
|
4
|
-
*/
|
|
5
|
-
export const DidServiceIds = Object.freeze({
|
|
6
|
-
DidDocument: '#did-document',
|
|
7
|
-
Jwks: '#jwks',
|
|
8
|
-
OpenIdConfiguration: '#openid-configuration',
|
|
9
|
-
SmartConfiguration: '#smart-configuration',
|
|
10
|
-
SmartToken: '#identity:openid:smart:token',
|
|
11
|
-
CredentialIssuer: '#openid-credential-issuer',
|
|
12
|
-
CapabilityStatement: '#fhir:capabilitystatement',
|
|
13
|
-
Catalog: '#catalog',
|
|
14
|
-
});
|
|
15
|
-
/**
|
|
16
|
-
* Canonical DID service types published by GW/SDK discovery surfaces.
|
|
17
|
-
*/
|
|
18
|
-
export const DidServiceTypes = Object.freeze({
|
|
19
|
-
LinkedDomains: 'LinkedDomains',
|
|
20
|
-
JsonWebKeyService2020: 'JsonWebKeyService2020',
|
|
21
|
-
OpenIdProvider: 'OpenIdProvider',
|
|
22
|
-
SmartOnFhirConfiguration: 'SmartOnFhirConfiguration',
|
|
23
|
-
ApiService: 'ApiService',
|
|
24
|
-
CredentialIssuer: 'OpenIdCredentialIssuer',
|
|
25
|
-
FhirCapabilityStatement: 'CapabilityStatement',
|
|
26
|
-
CatalogService: 'CatalogService',
|
|
27
|
-
});
|
|
28
|
-
/**
|
|
29
|
-
* Canonical discovery capabilities used when selecting endpoints from a DID Document.
|
|
30
|
-
*/
|
|
31
|
-
export const DiscoveryCapabilities = Object.freeze({
|
|
32
|
-
DidDocument: 'did-document',
|
|
33
|
-
Jwks: 'jwks',
|
|
34
|
-
OpenIdConfiguration: 'openid-configuration',
|
|
35
|
-
SmartConfiguration: 'smart-configuration',
|
|
36
|
-
SmartToken: 'smart-token',
|
|
37
|
-
CredentialIssuer: 'credential-issuer',
|
|
38
|
-
CapabilityStatement: 'capability-statement',
|
|
39
|
-
Catalog: 'catalog',
|
|
40
|
-
});
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ISO 3166-1 alpha-2 country codes that currently belong to the European Union.
|
|
3
|
-
*
|
|
4
|
-
* This list is intentionally kept in a runtime-neutral shared package because
|
|
5
|
-
* dataspace discovery may need to infer a broader coverage scope such as `EU`
|
|
6
|
-
* from the semantic country carried in a VC `credentialSubject`.
|
|
7
|
-
*/
|
|
8
|
-
export declare const EU_COUNTRY_CODES: readonly ["AT", "BE", "BG", "HR", "CY", "CZ", "DK", "EE", "FI", "FR", "DE", "GR", "HU", "IE", "IT", "LV", "LT", "LU", "MT", "NL", "PL", "PT", "RO", "SK", "SI", "ES", "SE"];
|
|
9
|
-
export type EuCountryCode = typeof EU_COUNTRY_CODES[number];
|
|
10
|
-
/**
|
|
11
|
-
* Normalizes a country code into canonical uppercase ISO-2 form.
|
|
12
|
-
*
|
|
13
|
-
* @param countryCode Country code from `credentialSubject.address.addressCountry`
|
|
14
|
-
* or the flattened operational projection.
|
|
15
|
-
* @returns Uppercase ISO-2 form or an empty string when the input is blank.
|
|
16
|
-
*
|
|
17
|
-
* @example
|
|
18
|
-
* ```ts
|
|
19
|
-
* normalizeCountryCode('es');
|
|
20
|
-
* // 'ES'
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
export declare function normalizeCountryCode(countryCode: string | undefined | null): string;
|
|
24
|
-
/**
|
|
25
|
-
* Checks whether the supplied country code belongs to the current EU member set.
|
|
26
|
-
*
|
|
27
|
-
* @param countryCode ISO-2 country code to evaluate.
|
|
28
|
-
* @returns `true` when the normalized code belongs to `EU_COUNTRY_CODES`.
|
|
29
|
-
*
|
|
30
|
-
* @example
|
|
31
|
-
* ```ts
|
|
32
|
-
* isEuCountryCode('ES');
|
|
33
|
-
* // true
|
|
34
|
-
* ```
|
|
35
|
-
*/
|
|
36
|
-
export declare function isEuCountryCode(countryCode: string | undefined | null): boolean;
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
// Copyright 2026 Antifraud Services Inc. under the Apache License, Version 2.0.
|
|
2
|
-
/**
|
|
3
|
-
* ISO 3166-1 alpha-2 country codes that currently belong to the European Union.
|
|
4
|
-
*
|
|
5
|
-
* This list is intentionally kept in a runtime-neutral shared package because
|
|
6
|
-
* dataspace discovery may need to infer a broader coverage scope such as `EU`
|
|
7
|
-
* from the semantic country carried in a VC `credentialSubject`.
|
|
8
|
-
*/
|
|
9
|
-
export const EU_COUNTRY_CODES = Object.freeze([
|
|
10
|
-
'AT',
|
|
11
|
-
'BE',
|
|
12
|
-
'BG',
|
|
13
|
-
'HR',
|
|
14
|
-
'CY',
|
|
15
|
-
'CZ',
|
|
16
|
-
'DK',
|
|
17
|
-
'EE',
|
|
18
|
-
'FI',
|
|
19
|
-
'FR',
|
|
20
|
-
'DE',
|
|
21
|
-
'GR',
|
|
22
|
-
'HU',
|
|
23
|
-
'IE',
|
|
24
|
-
'IT',
|
|
25
|
-
'LV',
|
|
26
|
-
'LT',
|
|
27
|
-
'LU',
|
|
28
|
-
'MT',
|
|
29
|
-
'NL',
|
|
30
|
-
'PL',
|
|
31
|
-
'PT',
|
|
32
|
-
'RO',
|
|
33
|
-
'SK',
|
|
34
|
-
'SI',
|
|
35
|
-
'ES',
|
|
36
|
-
'SE',
|
|
37
|
-
]);
|
|
38
|
-
/**
|
|
39
|
-
* Normalizes a country code into canonical uppercase ISO-2 form.
|
|
40
|
-
*
|
|
41
|
-
* @param countryCode Country code from `credentialSubject.address.addressCountry`
|
|
42
|
-
* or the flattened operational projection.
|
|
43
|
-
* @returns Uppercase ISO-2 form or an empty string when the input is blank.
|
|
44
|
-
*
|
|
45
|
-
* @example
|
|
46
|
-
* ```ts
|
|
47
|
-
* normalizeCountryCode('es');
|
|
48
|
-
* // 'ES'
|
|
49
|
-
* ```
|
|
50
|
-
*/
|
|
51
|
-
export function normalizeCountryCode(countryCode) {
|
|
52
|
-
return String(countryCode || '').trim().toUpperCase();
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* Checks whether the supplied country code belongs to the current EU member set.
|
|
56
|
-
*
|
|
57
|
-
* @param countryCode ISO-2 country code to evaluate.
|
|
58
|
-
* @returns `true` when the normalized code belongs to `EU_COUNTRY_CODES`.
|
|
59
|
-
*
|
|
60
|
-
* @example
|
|
61
|
-
* ```ts
|
|
62
|
-
* isEuCountryCode('ES');
|
|
63
|
-
* // true
|
|
64
|
-
* ```
|
|
65
|
-
*/
|
|
66
|
-
export function isEuCountryCode(countryCode) {
|
|
67
|
-
const normalized = normalizeCountryCode(countryCode);
|
|
68
|
-
return normalized ? EU_COUNTRY_CODES.includes(normalized) : false;
|
|
69
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Canonical FHIR/HL7 code system URLs shared across GW and SDK packages.
|
|
3
|
-
*
|
|
4
|
-
* Use these constants instead of inline system strings when building
|
|
5
|
-
* FHIR codings, filters, or test fixtures.
|
|
6
|
-
*/
|
|
7
|
-
export declare const FhirCodeSystems: Readonly<{
|
|
8
|
-
readonly Loinc: "http://loinc.org";
|
|
9
|
-
readonly Ucum: "http://unitsofmeasure.org";
|
|
10
|
-
readonly CommunicationCategory: "http://terminology.hl7.org/CodeSystem/communication-category";
|
|
11
|
-
readonly ObservationCategory: "http://terminology.hl7.org/CodeSystem/observation-category";
|
|
12
|
-
}>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Canonical FHIR/HL7 code system URLs shared across GW and SDK packages.
|
|
3
|
-
*
|
|
4
|
-
* Use these constants instead of inline system strings when building
|
|
5
|
-
* FHIR codings, filters, or test fixtures.
|
|
6
|
-
*/
|
|
7
|
-
export const FhirCodeSystems = Object.freeze({
|
|
8
|
-
Loinc: 'http://loinc.org',
|
|
9
|
-
Ucum: 'http://unitsofmeasure.org',
|
|
10
|
-
CommunicationCategory: 'http://terminology.hl7.org/CodeSystem/communication-category',
|
|
11
|
-
ObservationCategory: 'http://terminology.hl7.org/CodeSystem/observation-category',
|
|
12
|
-
});
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Canonical FHIR R4 `resourceType` names shared across GW and SDK packages.
|
|
3
|
-
*
|
|
4
|
-
* Use these constants instead of inline strings such as `"Observation"`
|
|
5
|
-
* or `"DocumentReference"` when building bundles, filters, or SDK facades.
|
|
6
|
-
*/
|
|
7
|
-
export declare const ResourceTypesFhirR4: Readonly<{
|
|
8
|
-
readonly AdverseEvent: "AdverseEvent";
|
|
9
|
-
readonly AllergyIntolerance: "AllergyIntolerance";
|
|
10
|
-
readonly Appointment: "Appointment";
|
|
11
|
-
readonly Bundle: "Bundle";
|
|
12
|
-
readonly CarePlan: "CarePlan";
|
|
13
|
-
readonly Communication: "Communication";
|
|
14
|
-
readonly Composition: "Composition";
|
|
15
|
-
readonly Condition: "Condition";
|
|
16
|
-
readonly Consent: "Consent";
|
|
17
|
-
readonly DiagnosticReport: "DiagnosticReport";
|
|
18
|
-
readonly DocumentReference: "DocumentReference";
|
|
19
|
-
readonly Encounter: "Encounter";
|
|
20
|
-
readonly ImagingStudy: "ImagingStudy";
|
|
21
|
-
readonly Immunization: "Immunization";
|
|
22
|
-
readonly MedicationStatement: "MedicationStatement";
|
|
23
|
-
readonly Observation: "Observation";
|
|
24
|
-
readonly Procedure: "Procedure";
|
|
25
|
-
readonly RelatedPerson: "RelatedPerson";
|
|
26
|
-
}>;
|
|
27
|
-
/**
|
|
28
|
-
* Backwards-compatible alias for the former generic name.
|
|
29
|
-
*
|
|
30
|
-
* Prefer `ResourceTypesFhirR4` in new code so later R5/R6 catalogs can coexist
|
|
31
|
-
* without ambiguity.
|
|
32
|
-
*/
|
|
33
|
-
export declare const FhirResourceTypes: Readonly<{
|
|
34
|
-
readonly AdverseEvent: "AdverseEvent";
|
|
35
|
-
readonly AllergyIntolerance: "AllergyIntolerance";
|
|
36
|
-
readonly Appointment: "Appointment";
|
|
37
|
-
readonly Bundle: "Bundle";
|
|
38
|
-
readonly CarePlan: "CarePlan";
|
|
39
|
-
readonly Communication: "Communication";
|
|
40
|
-
readonly Composition: "Composition";
|
|
41
|
-
readonly Condition: "Condition";
|
|
42
|
-
readonly Consent: "Consent";
|
|
43
|
-
readonly DiagnosticReport: "DiagnosticReport";
|
|
44
|
-
readonly DocumentReference: "DocumentReference";
|
|
45
|
-
readonly Encounter: "Encounter";
|
|
46
|
-
readonly ImagingStudy: "ImagingStudy";
|
|
47
|
-
readonly Immunization: "Immunization";
|
|
48
|
-
readonly MedicationStatement: "MedicationStatement";
|
|
49
|
-
readonly Observation: "Observation";
|
|
50
|
-
readonly Procedure: "Procedure";
|
|
51
|
-
readonly RelatedPerson: "RelatedPerson";
|
|
52
|
-
}>;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Canonical FHIR R4 `resourceType` names shared across GW and SDK packages.
|
|
3
|
-
*
|
|
4
|
-
* Use these constants instead of inline strings such as `"Observation"`
|
|
5
|
-
* or `"DocumentReference"` when building bundles, filters, or SDK facades.
|
|
6
|
-
*/
|
|
7
|
-
export const ResourceTypesFhirR4 = Object.freeze({
|
|
8
|
-
AdverseEvent: 'AdverseEvent',
|
|
9
|
-
AllergyIntolerance: 'AllergyIntolerance',
|
|
10
|
-
Appointment: 'Appointment',
|
|
11
|
-
Bundle: 'Bundle',
|
|
12
|
-
CarePlan: 'CarePlan',
|
|
13
|
-
Communication: 'Communication',
|
|
14
|
-
Composition: 'Composition',
|
|
15
|
-
Condition: 'Condition',
|
|
16
|
-
Consent: 'Consent',
|
|
17
|
-
DiagnosticReport: 'DiagnosticReport',
|
|
18
|
-
DocumentReference: 'DocumentReference',
|
|
19
|
-
Encounter: 'Encounter',
|
|
20
|
-
ImagingStudy: 'ImagingStudy',
|
|
21
|
-
Immunization: 'Immunization',
|
|
22
|
-
MedicationStatement: 'MedicationStatement',
|
|
23
|
-
Observation: 'Observation',
|
|
24
|
-
Procedure: 'Procedure',
|
|
25
|
-
RelatedPerson: 'RelatedPerson',
|
|
26
|
-
});
|
|
27
|
-
/**
|
|
28
|
-
* Backwards-compatible alias for the former generic name.
|
|
29
|
-
*
|
|
30
|
-
* Prefer `ResourceTypesFhirR4` in new code so later R5/R6 catalogs can coexist
|
|
31
|
-
* without ambiguity.
|
|
32
|
-
*/
|
|
33
|
-
export const FhirResourceTypes = ResourceTypesFhirR4;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Canonical FHIR version labels shared across GW and SDK packages.
|
|
3
|
-
*
|
|
4
|
-
* Use these constants instead of inline strings such as `"4.0"` or `"5.0"`.
|
|
5
|
-
*/
|
|
6
|
-
export declare const FhirVersions: Readonly<{
|
|
7
|
-
readonly R4: "4.0";
|
|
8
|
-
readonly R401: "4.0.1";
|
|
9
|
-
readonly R5: "5.0";
|
|
10
|
-
}>;
|