@icanbwell/bwell-sdk-ts 1.54.0 → 1.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -3
- package/dist/__version__.d.ts +1 -1
- package/dist/__version__.js +1 -1
- package/dist/api/api-provider-factory.d.ts +1 -1
- package/dist/api/api-provider-factory.js +2 -1
- package/dist/api/base/activity/activity-manager.d.ts +18 -25
- package/dist/api/base/activity/get-tasks-request.d.ts +29 -49
- package/dist/api/base/activity/get-tasks-request.js +42 -15
- package/dist/api/base/activity/index.d.ts +2 -4
- package/dist/api/base/activity/index.js +0 -1
- package/dist/api/base/api-provider.d.ts +12 -14
- package/dist/api/base/connection/connection-manager.d.ts +68 -51
- package/dist/api/base/connection/connection-manager.js +3 -0
- package/dist/api/base/connection/connection-request.d.ts +15 -1
- package/dist/api/base/connection/connection-request.js +8 -0
- package/dist/api/base/connection/index.d.ts +1 -1
- package/dist/api/base/device/constants.d.ts +3 -0
- package/dist/api/base/device/constants.js +3 -0
- package/dist/api/base/device/device-manager.d.ts +34 -12
- package/dist/api/base/device/device-manager.js +1 -5
- package/dist/api/base/device/device-request.d.ts +35 -42
- package/dist/api/base/device/device-request.js +30 -42
- package/dist/api/base/device/index.d.ts +2 -2
- package/dist/api/base/device/index.js +2 -2
- package/dist/api/base/financial/coverage-request.d.ts +5 -6
- package/dist/api/base/financial/coverage-request.js +7 -7
- package/dist/api/base/financial/{explanation-of-benefit.d.ts → explanation-of-benefit-request.d.ts} +15 -9
- package/dist/api/base/financial/{explanation-of-benefit.js → explanation-of-benefit-request.js} +8 -18
- package/dist/api/base/financial/financial-manager.d.ts +46 -14
- package/dist/api/base/financial/index.d.ts +3 -2
- package/dist/api/base/financial/index.js +2 -2
- package/dist/api/base/health-data/health-data-request.d.ts +116 -8
- package/dist/api/base/health-data/health-data-request.js +83 -2
- package/dist/api/base/health-data/health-data-response-factory.d.ts +27 -0
- package/dist/api/base/health-data/health-manager.d.ts +293 -243
- package/dist/api/base/health-data/index.d.ts +2 -3
- package/dist/api/base/health-data/index.js +0 -2
- package/dist/api/base/health-data/lab-knowledge-request.d.ts +9 -0
- package/dist/api/base/health-data/lab-knowledge-request.js +3 -0
- package/dist/api/base/health-data/medication-knowledge-request.d.ts +9 -0
- package/dist/api/base/health-data/medication-knowledge-request.js +3 -0
- package/dist/api/base/health-space/appointments-request.d.ts +9 -0
- package/dist/api/base/health-space/appointments-request.js +3 -0
- package/dist/api/base/health-space/cancel-appointment-request.d.ts +8 -1
- package/dist/api/base/health-space/cancel-appointment-request.js +4 -0
- package/dist/api/base/health-space/cancellation-reasons-request.d.ts +28 -0
- package/dist/api/base/health-space/{cancelationReasons-request.js → cancellation-reasons-request.js} +10 -4
- package/dist/api/base/health-space/health-space-manager.d.ts +29 -116
- package/dist/api/base/health-space/index.d.ts +2 -7
- package/dist/api/base/health-space/index.js +1 -6
- package/dist/api/base/identity/identity-manager.d.ts +98 -11
- package/dist/api/base/index.d.ts +1 -3
- package/dist/api/base/index.js +2 -3
- package/dist/api/base/questionnaire/index.d.ts +1 -4
- package/dist/api/base/questionnaire/index.js +0 -3
- package/dist/api/base/questionnaire/next-question-request.d.ts +8 -2
- package/dist/api/base/questionnaire/next-question-request.js +4 -1
- package/dist/api/base/questionnaire/questionnaire-manager.d.ts +24 -42
- package/dist/api/base/requests/field-sort-order.d.ts +11 -0
- package/dist/api/base/requests/index.d.ts +2 -0
- package/dist/api/base/requests/search-date.d.ts +12 -0
- package/dist/api/base/requests/search-reference.d.ts +9 -1
- package/dist/api/base/requests/search-string.d.ts +6 -0
- package/dist/api/base/requests/search-token.d.ts +18 -0
- package/dist/api/base/requests/search-token.js +17 -17
- package/dist/api/base/search/index.d.ts +3 -5
- package/dist/api/base/search/index.js +1 -3
- package/dist/api/base/search/search-health-resources-request.d.ts +33 -36
- package/dist/api/base/search/search-health-resources-request.js +3 -0
- package/dist/api/base/search/search-manager.d.ts +39 -42
- package/dist/api/base/search/submit-provider-for-review-request.d.ts +33 -0
- package/dist/api/base/search/submit-provider-for-review-request.js +9 -0
- package/dist/api/base/user/create-consent-request.d.ts +13 -1
- package/dist/api/base/user/create-consent-request.js +10 -5
- package/dist/api/base/user/create-data-export-direct-download-url-request.d.ts +9 -0
- package/dist/api/base/user/create-data-export-direct-download-url-request.js +3 -0
- package/dist/api/base/user/create-verification-url-request.d.ts +12 -0
- package/dist/api/base/user/create-verification-url-request.js +6 -0
- package/dist/api/base/user/get-consents-request.d.ts +19 -1
- package/dist/api/base/user/get-consents-request.js +13 -1
- package/dist/api/base/user/index.d.ts +1 -2
- package/dist/api/base/user/update-profile-request.d.ts +11 -3
- package/dist/api/base/user/update-profile-request.js +5 -3
- package/dist/api/base/user/user-manager.d.ts +100 -49
- package/dist/api/base/user/validators.d.ts +5 -0
- package/dist/api/base/user/validators.js +13 -0
- package/dist/api/graphql-api/activity/{activity-request-factories.d.ts → get-tasks-request-factory.d.ts} +0 -7
- package/dist/api/graphql-api/activity/get-tasks-request-factory.js +56 -0
- package/dist/api/graphql-api/activity/graphql-activity-manager.d.ts +6 -8
- package/dist/api/graphql-api/activity/graphql-activity-manager.js +19 -30
- package/dist/api/graphql-api/activity/index.d.ts +1 -1
- package/dist/api/graphql-api/activity/index.js +1 -1
- package/dist/api/graphql-api/connection/connection-response-factory.d.ts +7 -0
- package/dist/api/graphql-api/connection/connection-response-factory.js +101 -0
- package/dist/api/graphql-api/connection/graphql-connection-manager.d.ts +9 -9
- package/dist/api/graphql-api/connection/graphql-connection-manager.js +7 -5
- package/dist/api/graphql-api/connection/index.d.ts +0 -1
- package/dist/api/graphql-api/connection/index.js +1 -1
- package/dist/api/graphql-api/device/graphql-device-manager.d.ts +2 -1
- package/dist/api/graphql-api/device/graphql-device-manager.js +4 -2
- package/dist/api/graphql-api/errors/errors.js +1 -1
- package/dist/api/graphql-api/financial/coverage-request-factory.d.ts +9 -0
- package/dist/api/graphql-api/financial/coverage-request-factory.js +19 -0
- package/dist/api/graphql-api/financial/{graphql-explanation-of-benefits-factory.d.ts → explanation-of-benefit-request-factory.d.ts} +3 -3
- package/dist/api/graphql-api/financial/explanation-of-benefit-request-factory.js +19 -0
- package/dist/api/graphql-api/financial/graphql-financial-manager.d.ts +4 -12
- package/dist/api/graphql-api/financial/graphql-financial-manager.js +32 -19
- package/dist/api/graphql-api/financial/index.d.ts +3 -1
- package/dist/api/graphql-api/financial/index.js +3 -1
- package/dist/api/graphql-api/graphql-api-provider.d.ts +6 -14
- package/dist/api/graphql-api/graphql-api-provider.js +6 -7
- package/dist/api/graphql-api/graphql-manager/graphql-manager.d.ts +1 -0
- package/dist/api/graphql-api/health-space/cancel-appointment-request-factory.js +1 -2
- package/dist/api/graphql-api/health-space/graphql-health-space-manager.d.ts +5 -62
- package/dist/api/graphql-api/health-space/graphql-health-space-manager.js +9 -163
- package/dist/api/graphql-api/health-space/index.d.ts +0 -4
- package/dist/api/graphql-api/health-space/index.js +0 -4
- package/dist/api/graphql-api/healthdata/get-encounters-request-factory.d.ts +7 -0
- package/dist/api/graphql-api/healthdata/get-encounters-request-factory.js +76 -0
- package/dist/api/graphql-api/healthdata/get-medication-dispenses-request-factory.d.ts +6 -0
- package/dist/api/graphql-api/healthdata/get-medication-dispenses-request-factory.js +25 -0
- package/dist/api/graphql-api/healthdata/graphql-health-manager.d.ts +30 -41
- package/dist/api/graphql-api/healthdata/graphql-health-manager.js +311 -256
- package/dist/api/graphql-api/healthdata/health-data-request-factory.d.ts +18 -0
- package/dist/api/graphql-api/healthdata/health-data-request-factory.js +25 -0
- package/dist/api/graphql-api/healthdata/health-data-response-factory.d.ts +8 -0
- package/dist/api/graphql-api/healthdata/health-data-response-factory.js +58 -0
- package/dist/api/graphql-api/identity/graphql-identity-manager.d.ts +2 -1
- package/dist/api/graphql-api/identity/graphql-identity-manager.js +5 -3
- package/dist/api/graphql-api/questionnaire/graphql-questionnaire-manager.d.ts +4 -22
- package/dist/api/graphql-api/questionnaire/graphql-questionnaire-manager.js +4 -69
- package/dist/api/graphql-api/questionnaire/index.d.ts +0 -2
- package/dist/api/graphql-api/questionnaire/index.js +0 -2
- package/dist/api/graphql-api/search/graphql-search-manager.d.ts +4 -6
- package/dist/api/graphql-api/search/graphql-search-manager.js +9 -71
- package/dist/api/graphql-api/search/search-health-resources-request-factory.js +12 -10
- package/dist/api/graphql-api/search/submit-provider-for-review-request-factory.d.ts +6 -0
- package/dist/api/graphql-api/search/{request-connection-request-factory.js → submit-provider-for-review-request-factory.js} +1 -1
- package/dist/api/graphql-api/user/get-consent-request-factory.d.ts +1 -2
- package/dist/api/graphql-api/user/get-consent-request-factory.js +5 -1
- package/dist/api/graphql-api/user/graphql-user-manager.d.ts +10 -11
- package/dist/api/graphql-api/user/graphql-user-manager.js +11 -10
- package/dist/api/graphql-api/user/update-profile-request-factory.js +1 -2
- package/dist/api/identity-manager-factory.js +1 -1
- package/dist/auth/auth-code-strategy.d.ts +2 -1
- package/dist/auth/auth-strategy.d.ts +1 -1
- package/dist/auth/credentials.d.ts +1 -1
- package/dist/auth/credentials.js +2 -2
- package/dist/auth/oauth-strategy.d.ts +2 -1
- package/dist/auth/username-password-strategy.d.ts +2 -1
- package/dist/auth/username-password-strategy.js +2 -2
- package/dist/bwell-sdk/bwell-sdk.d.ts +319 -48
- package/dist/bwell-sdk/bwell-sdk.js +368 -53
- package/dist/config/bwell-config.d.ts +12 -12
- package/dist/config/bwell-config.js +2 -5
- package/dist/config/sdk-config.d.ts +2 -3
- package/dist/config/sdk-config.js +4 -6
- package/dist/errors/authentication-error.d.ts +7 -0
- package/dist/errors/authentication-error.js +7 -0
- package/dist/errors/bwell-error.d.ts +12 -2
- package/dist/errors/bwell-error.js +5 -2
- package/dist/errors/illegal-argument-error.d.ts +7 -0
- package/dist/errors/illegal-argument-error.js +7 -0
- package/dist/errors/illegal-state-error.d.ts +7 -0
- package/dist/errors/illegal-state-error.js +7 -0
- package/dist/errors/invalid-client-key-error.d.ts +7 -0
- package/dist/errors/invalid-client-key-error.js +7 -0
- package/dist/errors/invalid-credentials-type-error.d.ts +7 -0
- package/dist/errors/invalid-credentials-type-error.js +7 -0
- package/dist/errors/invalid-token-error.d.ts +4 -1
- package/dist/errors/invalid-token-error.js +4 -1
- package/dist/errors/network-error.d.ts +7 -0
- package/dist/errors/network-error.js +7 -0
- package/dist/errors/operation-outcome-error.d.ts +8 -1
- package/dist/errors/operation-outcome-error.js +7 -0
- package/dist/errors/unknown-error.d.ts +7 -0
- package/dist/errors/unknown-error.js +7 -0
- package/dist/errors/validation-error.d.ts +7 -0
- package/dist/errors/validation-error.js +7 -0
- package/dist/graphql/operations/index.d.ts +116 -283
- package/dist/graphql/operations/index.js +1767 -2095
- package/dist/graphql/operations/types.d.ts +16471 -18430
- package/dist/graphql/schema.d.ts +68323 -5995
- package/dist/graphql/schema.js +1 -484
- package/dist/index.d.ts +7 -5
- package/dist/index.js +5 -4
- package/dist/language/language-manager.d.ts +25 -10
- package/dist/language/language-manager.js +5 -0
- package/dist/models/activity/index.d.ts +1 -0
- package/dist/models/activity/task.d.ts +77 -0
- package/dist/models/common/address.d.ts +41 -0
- package/dist/models/common/annotation.d.ts +18 -0
- package/dist/models/common/annotation.js +1 -0
- package/dist/models/common/attachment.d.ts +18 -0
- package/dist/models/common/attachment.js +1 -0
- package/dist/models/common/bundle.d.ts +83 -0
- package/dist/models/common/bundle.js +1 -0
- package/dist/models/common/codeable-concept.d.ts +17 -0
- package/dist/models/common/codeable-concept.js +1 -0
- package/dist/models/common/coding.d.ts +18 -0
- package/dist/models/common/coding.js +1 -0
- package/dist/models/common/component.d.ts +23 -0
- package/dist/models/common/component.js +1 -0
- package/dist/models/common/contact-point.d.ts +32 -0
- package/dist/models/common/contact-point.js +1 -0
- package/dist/models/common/dispense-request.d.ts +67 -0
- package/dist/models/common/dispense-request.js +1 -0
- package/dist/models/common/dosage.d.ts +68 -0
- package/dist/models/common/dosage.js +1 -0
- package/dist/models/common/endpoint.d.ts +23 -0
- package/dist/models/common/endpoint.js +1 -0
- package/dist/models/common/expression.d.ts +20 -0
- package/dist/models/common/expression.js +1 -0
- package/dist/models/common/extension.d.ts +49 -0
- package/dist/models/common/extension.js +1 -0
- package/dist/models/common/fhir-error.d.ts +23 -0
- package/dist/models/common/fhir-error.js +1 -0
- package/dist/models/common/human-name.d.ts +20 -0
- package/dist/models/common/human-name.js +1 -0
- package/dist/models/common/identifier.d.ts +19 -0
- package/dist/models/common/identifier.js +1 -0
- package/dist/models/common/index.d.ts +38 -0
- package/dist/models/common/index.js +2 -0
- package/dist/models/common/location.d.ts +51 -0
- package/dist/models/common/location.js +1 -0
- package/dist/models/common/medication.d.ts +42 -0
- package/dist/models/common/medication.js +1 -0
- package/dist/models/common/meta.d.ts +21 -0
- package/dist/models/common/meta.js +1 -0
- package/dist/models/common/money.d.ts +15 -0
- package/dist/models/common/money.js +1 -0
- package/dist/models/common/narrative.d.ts +14 -0
- package/dist/models/common/narrative.js +1 -0
- package/dist/models/common/operation-outcome.d.ts +48 -0
- package/dist/models/common/operation-outcome.js +1 -0
- package/dist/models/common/organization.d.ts +46 -0
- package/dist/models/common/organization.js +1 -0
- package/dist/models/common/paging-info.d.ts +18 -0
- package/dist/models/common/paging-info.js +1 -0
- package/dist/models/common/patient.d.ts +13 -0
- package/dist/models/common/patient.js +1 -0
- package/dist/models/common/period.d.ts +14 -0
- package/dist/models/common/period.js +1 -0
- package/dist/models/common/practitioner-role.d.ts +42 -0
- package/dist/models/common/practitioner-role.js +1 -0
- package/dist/models/common/practitioner.d.ts +17 -0
- package/dist/models/common/practitioner.js +1 -0
- package/dist/models/common/quantity.d.ts +20 -0
- package/dist/models/common/quantity.js +1 -0
- package/dist/models/common/range.d.ts +15 -0
- package/dist/models/common/range.js +1 -0
- package/dist/models/common/ratio.d.ts +15 -0
- package/dist/models/common/ratio.js +1 -0
- package/dist/models/common/reference-range.d.ts +13 -0
- package/dist/models/common/reference-range.js +1 -0
- package/dist/models/common/reference.d.ts +27 -0
- package/dist/models/common/reference.js +1 -0
- package/dist/models/common/related-person.d.ts +34 -0
- package/dist/models/common/related-person.js +1 -0
- package/dist/models/common/score.d.ts +16 -0
- package/dist/models/common/score.js +1 -0
- package/dist/models/common/service-request.d.ts +21 -0
- package/dist/models/common/service-request.js +1 -0
- package/dist/models/common/specimen.d.ts +30 -0
- package/dist/models/common/specimen.js +7 -0
- package/dist/models/common/timing.d.ts +107 -0
- package/dist/models/common/timing.js +1 -0
- package/dist/models/common/value.d.ts +22 -0
- package/dist/models/common/value.js +1 -0
- package/dist/models/connection/base-connection.d.ts +27 -0
- package/dist/models/connection/base-connection.js +1 -0
- package/dist/models/connection/connection-status.d.ts +15 -0
- package/dist/models/connection/connection-status.js +1 -0
- package/dist/models/connection/connection.d.ts +32 -0
- package/dist/models/connection/connection.js +1 -0
- package/dist/models/connection/data-source.d.ts +27 -0
- package/dist/models/connection/data-source.js +1 -0
- package/dist/models/connection/index.d.ts +6 -0
- package/dist/models/connection/index.js +1 -0
- package/dist/models/connection/member-connection.d.ts +37 -0
- package/dist/models/connection/member-connection.js +1 -0
- package/dist/models/connection/oauth-url.d.ts +12 -0
- package/dist/models/connection/oauth-url.js +1 -0
- package/dist/models/device/device-registration-results.d.ts +12 -0
- package/dist/models/device/device-registration-results.js +1 -0
- package/dist/models/device/index.d.ts +1 -0
- package/dist/models/device/index.js +1 -0
- package/dist/models/enums/category-code.d.ts +11 -0
- package/dist/models/enums/category-code.js +13 -0
- package/dist/models/enums/connection-category.d.ts +9 -0
- package/dist/models/enums/connection-category.js +1 -0
- package/dist/models/enums/consent-provision-type.d.ts +11 -0
- package/dist/models/enums/consent-provision-type.js +2 -0
- package/dist/models/enums/consent-status.d.ts +11 -0
- package/dist/models/enums/consent-status.js +9 -0
- package/dist/models/enums/data-connection-status.d.ts +9 -0
- package/dist/models/enums/data-connection-status.js +1 -0
- package/dist/models/enums/data-connection-type.d.ts +9 -0
- package/dist/models/enums/data-connection-type.js +1 -0
- package/dist/models/enums/data-set.d.ts +10 -0
- package/dist/models/enums/data-set.js +1 -0
- package/dist/models/enums/device-platform.d.ts +11 -0
- package/dist/models/enums/device-platform.js +2 -0
- package/dist/models/enums/endpoint-status.d.ts +9 -0
- package/dist/models/enums/endpoint-status.js +1 -0
- package/dist/models/enums/filter-field.d.ts +9 -0
- package/dist/models/enums/filter-field.js +1 -0
- package/dist/models/enums/gender.d.ts +9 -0
- package/dist/models/enums/gender.js +1 -0
- package/dist/models/enums/index.d.ts +18 -0
- package/dist/models/enums/index.js +5 -0
- package/dist/models/enums/log-level.d.ts +8 -0
- package/dist/models/enums/log-level.js +1 -0
- package/dist/models/enums/person-gender.d.ts +11 -0
- package/dist/models/enums/person-gender.js +7 -0
- package/dist/models/enums/search-context.d.ts +10 -0
- package/dist/models/enums/search-context.js +1 -0
- package/dist/models/enums/search-result-type.d.ts +9 -0
- package/dist/models/enums/search-result-type.js +1 -0
- package/dist/models/enums/sort-field.d.ts +10 -0
- package/dist/models/enums/sort-field.js +1 -0
- package/dist/models/enums/sort-order.d.ts +9 -0
- package/dist/models/enums/sort-order.js +1 -0
- package/dist/models/enums/sync-status.d.ts +9 -0
- package/dist/models/enums/sync-status.js +1 -0
- package/dist/models/financial/coverage-bundle.d.ts +18 -0
- package/dist/models/financial/coverage-bundle.js +1 -0
- package/dist/models/financial/coverage.d.ts +65 -0
- package/dist/models/financial/coverage.js +1 -0
- package/dist/models/financial/explanation-of-benefit-bundle.d.ts +26 -0
- package/dist/models/financial/explanation-of-benefit-bundle.js +1 -0
- package/dist/models/financial/explanation-of-benefit.d.ts +274 -0
- package/dist/models/financial/explanation-of-benefit.js +1 -0
- package/dist/models/financial/index.d.ts +4 -0
- package/dist/models/financial/index.js +4 -0
- package/dist/models/health-data/allergy-intolerance-bundle.d.ts +11 -0
- package/dist/models/health-data/allergy-intolerance-bundle.js +1 -0
- package/dist/models/health-data/allergy-intolerance-group.d.ts +44 -0
- package/dist/models/health-data/allergy-intolerance-group.js +1 -0
- package/dist/models/health-data/allergy-intolerance-reaction.d.ts +23 -0
- package/dist/models/health-data/allergy-intolerance-reaction.js +1 -0
- package/dist/models/health-data/allergy-intolerance.d.ts +54 -0
- package/dist/models/health-data/allergy-intolerance.js +1 -0
- package/dist/models/health-data/care-plan-group.d.ts +42 -0
- package/dist/models/health-data/care-plan-group.js +1 -0
- package/dist/models/health-data/care-plan.d.ts +134 -0
- package/dist/models/health-data/care-plan.js +1 -0
- package/dist/models/health-data/care-team.d.ts +77 -0
- package/dist/models/health-data/care-team.js +1 -0
- package/dist/models/health-data/condition-group.d.ts +42 -0
- package/dist/models/health-data/condition-group.js +1 -0
- package/dist/models/health-data/condition.d.ts +104 -0
- package/dist/models/health-data/condition.js +1 -0
- package/dist/models/health-data/diagnostic-report-lab-group.d.ts +45 -0
- package/dist/models/health-data/diagnostic-report-lab-group.js +1 -0
- package/dist/models/health-data/diagnostic-report.d.ts +90 -0
- package/dist/models/health-data/diagnostic-report.js +1 -0
- package/dist/models/health-data/encounter-group.d.ts +48 -0
- package/dist/models/health-data/encounter-group.js +1 -0
- package/dist/models/health-data/encounter.d.ts +79 -0
- package/dist/models/health-data/encounter.js +1 -0
- package/dist/models/health-data/health-summary.d.ts +18 -0
- package/dist/models/health-data/health-summary.js +1 -0
- package/dist/models/health-data/immunization-group.d.ts +41 -0
- package/dist/models/health-data/immunization-group.js +1 -0
- package/dist/models/health-data/immunization.d.ts +150 -0
- package/dist/models/health-data/immunization.js +1 -0
- package/dist/models/health-data/index.d.ts +30 -0
- package/dist/models/health-data/index.js +1 -0
- package/dist/models/health-data/lab-bundle.d.ts +26 -0
- package/dist/models/health-data/lab-bundle.js +1 -0
- package/dist/models/health-data/lab-group.d.ts +51 -0
- package/dist/models/health-data/lab-group.js +1 -0
- package/dist/models/health-data/lab-knowledge.d.ts +28 -0
- package/dist/models/health-data/lab-knowledge.js +1 -0
- package/dist/models/health-data/medication-dispense.d.ts +108 -0
- package/dist/models/health-data/medication-dispense.js +1 -0
- package/dist/models/health-data/medication-group.d.ts +43 -0
- package/dist/models/health-data/medication-group.js +1 -0
- package/dist/models/health-data/medication-knowledge.d.ts +30 -0
- package/dist/models/health-data/medication-knowledge.js +1 -0
- package/dist/models/health-data/medication-pricing.d.ts +28 -0
- package/dist/models/health-data/medication-pricing.js +1 -0
- package/dist/models/health-data/medication-request.d.ts +107 -0
- package/dist/models/health-data/medication-request.js +1 -0
- package/dist/models/health-data/medication-statement.d.ts +68 -0
- package/dist/models/health-data/medication-statement.js +1 -0
- package/dist/models/health-data/observation.d.ts +102 -0
- package/dist/models/health-data/observation.js +1 -0
- package/dist/models/health-data/procedure-group.d.ts +43 -0
- package/dist/models/health-data/procedure-group.js +1 -0
- package/dist/models/health-data/procedure.d.ts +84 -0
- package/dist/models/health-data/procedure.js +1 -0
- package/dist/models/health-data/vital-sign-bundle.d.ts +18 -0
- package/dist/models/health-data/vital-sign-bundle.js +1 -0
- package/dist/models/health-data/vital-sign-group.d.ts +51 -0
- package/dist/models/health-data/vital-sign-group.js +1 -0
- package/dist/models/health-space/appointment-bundle.d.ts +11 -0
- package/dist/models/health-space/appointment-bundle.js +1 -0
- package/dist/models/health-space/appointment-participant.d.ts +17 -0
- package/dist/models/health-space/appointment-participant.js +1 -0
- package/dist/models/health-space/appointment-update.d.ts +14 -0
- package/dist/models/health-space/appointment-update.js +1 -0
- package/dist/models/health-space/appointment.d.ts +30 -0
- package/dist/models/health-space/appointment.js +1 -0
- package/dist/models/health-space/cancellation-reasons.d.ts +32 -0
- package/dist/models/health-space/cancellation-reasons.js +1 -0
- package/dist/models/health-space/index.d.ts +5 -0
- package/dist/models/health-space/index.js +1 -0
- package/dist/models/identity/auth-tokens.d.ts +25 -0
- package/dist/models/identity/auth-tokens.js +1 -0
- package/dist/models/identity/create-guest-access-token-results.d.ts +12 -0
- package/dist/models/identity/create-guest-access-token-results.js +1 -0
- package/dist/models/identity/index.d.ts +4 -0
- package/dist/models/identity/index.js +1 -0
- package/dist/models/identity/refresh-token-results.d.ts +8 -0
- package/dist/models/identity/refresh-token-results.js +1 -0
- package/dist/models/identity/sdk-configuration-result.d.ts +26 -0
- package/dist/models/identity/sdk-configuration-result.js +1 -0
- package/dist/models/index.d.ts +12 -4
- package/dist/models/index.js +12 -4
- package/dist/models/questionnaire/index.d.ts +5 -0
- package/dist/models/questionnaire/index.js +1 -0
- package/dist/models/questionnaire/questionnaire-item.d.ts +38 -0
- package/dist/models/questionnaire/questionnaire-item.js +1 -0
- package/dist/models/questionnaire/questionnaire-response-answer.d.ts +33 -0
- package/dist/models/questionnaire/questionnaire-response-answer.js +1 -0
- package/dist/models/questionnaire/questionnaire-response-item.d.ts +19 -0
- package/dist/models/questionnaire/questionnaire-response-item.js +1 -0
- package/dist/models/questionnaire/questionnaire-response.d.ts +29 -0
- package/dist/models/questionnaire/questionnaire-response.js +1 -0
- package/dist/models/questionnaire/questionnaire.d.ts +30 -0
- package/dist/models/questionnaire/questionnaire.js +1 -0
- package/dist/models/search/health-resources.d.ts +133 -0
- package/dist/models/search/health-resources.js +1 -0
- package/dist/models/search/index.d.ts +2 -0
- package/dist/models/search/index.js +1 -0
- package/dist/models/search/provider-review-result.d.ts +15 -0
- package/dist/models/search/provider-review-result.js +1 -0
- package/dist/models/user/consent.d.ts +100 -0
- package/dist/models/user/consent.js +1 -0
- package/dist/models/user/index.d.ts +4 -0
- package/dist/models/user/index.js +1 -0
- package/dist/models/user/person.d.ts +43 -0
- package/dist/models/user/person.js +1 -0
- package/dist/models/user/user.d.ts +12 -0
- package/dist/models/user/user.js +1 -0
- package/dist/models/user/verification-result.d.ts +30 -0
- package/dist/models/user/verification-result.js +1 -0
- package/dist/requests/paged-request.d.ts +35 -0
- package/dist/requests/paged-request.js +22 -0
- package/dist/requests/request.d.ts +16 -0
- package/dist/requests/request.js +8 -0
- package/dist/requests/validator.d.ts +15 -0
- package/dist/requests/validator.js +7 -0
- package/dist/results/bwell-query-result.d.ts +5 -0
- package/dist/results/bwell-query-result.js +5 -0
- package/dist/results/bwell-transaction-result.d.ts +17 -3
- package/dist/results/bwell-transaction-result.js +15 -1
- package/dist/results/index.d.ts +1 -0
- package/dist/results/index.js +1 -0
- package/dist/telemetry/open-telemetry-instrumentation.js +1 -4
- package/dist/tokens/index.d.ts +2 -0
- package/dist/tokens/index.js +2 -0
- package/dist/tokens/jwt-token-manager.d.ts +3 -7
- package/dist/tokens/jwt-token-manager.js +9 -8
- package/dist/tokens/load-auth-tokens.d.ts +6 -0
- package/dist/tokens/load-auth-tokens.js +43 -0
- package/dist/tokens/token-manager.d.ts +12 -0
- package/dist/tokens/token-manager.js +5 -0
- package/dist/tokens/token-storage.d.ts +20 -0
- package/dist/tokens/token-storage.js +19 -0
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/utils/parsing-utils.d.ts +11 -1
- package/dist/utils/parsing-utils.js +33 -1
- package/dist/utils/search-token-utils.d.ts +8 -0
- package/dist/utils/search-token-utils.js +23 -0
- package/package.json +24 -20
- package/dist/api/base/activity/types.d.ts +0 -3
- package/dist/api/base/activity/types.js +0 -5
- package/dist/api/base/activity/update-task-status-request.d.ts +0 -18
- package/dist/api/base/activity/update-task-status-request.js +0 -15
- package/dist/api/base/event/event-manager.d.ts +0 -16
- package/dist/api/base/event/event-request.d.ts +0 -35
- package/dist/api/base/event/event-request.js +0 -64
- package/dist/api/base/event/index.d.ts +0 -2
- package/dist/api/base/event/index.js +0 -1
- package/dist/api/base/health-data/medication-pricing-request.d.ts +0 -21
- package/dist/api/base/health-data/medication-pricing-request.js +0 -26
- package/dist/api/base/health-data/medication-statement-request.d.ts +0 -29
- package/dist/api/base/health-data/medication-statement-request.js +0 -35
- package/dist/api/base/health-space/add-care-team-member-request.d.ts +0 -33
- package/dist/api/base/health-space/add-care-team-member-request.js +0 -36
- package/dist/api/base/health-space/add-care-team-members-request.d.ts +0 -35
- package/dist/api/base/health-space/add-care-team-members-request.js +0 -61
- package/dist/api/base/health-space/cancelationReasons-request.d.ts +0 -16
- package/dist/api/base/health-space/care-team-members-request.d.ts +0 -31
- package/dist/api/base/health-space/care-team-members-request.js +0 -33
- package/dist/api/base/health-space/remove-care-team-member-request.d.ts +0 -34
- package/dist/api/base/health-space/remove-care-team-member-request.js +0 -36
- package/dist/api/base/health-space/update-care-team-member-request.d.ts +0 -55
- package/dist/api/base/health-space/update-care-team-member-request.js +0 -71
- package/dist/api/base/questionnaire/questionnaire-responses-request.d.ts +0 -30
- package/dist/api/base/questionnaire/questionnaire-responses-request.js +0 -49
- package/dist/api/base/questionnaire/questionnaires-request.d.ts +0 -18
- package/dist/api/base/questionnaire/questionnaires-request.js +0 -42
- package/dist/api/base/questionnaire/save-questionnaire-response-request.d.ts +0 -22
- package/dist/api/base/questionnaire/save-questionnaire-response-request.js +0 -33
- package/dist/api/base/search/request-connection-request.d.ts +0 -24
- package/dist/api/base/search/request-connection-request.js +0 -3
- package/dist/api/base/search/search-request.d.ts +0 -84
- package/dist/api/base/search/search-request.js +0 -78
- package/dist/api/base/support/create-support-request-request.d.ts +0 -22
- package/dist/api/base/support/create-support-request-request.js +0 -20
- package/dist/api/base/support/delete-support-attachment-request.d.ts +0 -11
- package/dist/api/base/support/delete-support-attachment-request.js +0 -14
- package/dist/api/base/support/get-support-requests-request.d.ts +0 -16
- package/dist/api/base/support/get-support-requests-request.js +0 -14
- package/dist/api/base/support/index.d.ts +0 -5
- package/dist/api/base/support/index.js +0 -5
- package/dist/api/base/support/support-manager.d.ts +0 -46
- package/dist/api/base/support/upload-support-attachment-request.d.ts +0 -25
- package/dist/api/base/support/upload-support-attachment-request.js +0 -27
- package/dist/api/base/user/types.d.ts +0 -9
- package/dist/api/base/user/types.js +0 -17
- package/dist/api/graphql-api/activity/activity-request-factories.js +0 -70
- package/dist/api/graphql-api/connection/graphql-get-member-connections-bwell-response-factory.d.ts +0 -18
- package/dist/api/graphql-api/connection/graphql-get-member-connections-bwell-response-factory.js +0 -40
- package/dist/api/graphql-api/event/event-request-factory.d.ts +0 -6
- package/dist/api/graphql-api/event/event-request-factory.js +0 -11
- package/dist/api/graphql-api/event/graphql-event-manager.d.ts +0 -15
- package/dist/api/graphql-api/event/graphql-event-manager.js +0 -65
- package/dist/api/graphql-api/event/index.d.ts +0 -1
- package/dist/api/graphql-api/event/index.js +0 -1
- package/dist/api/graphql-api/financial/graphql-coverages-bwell-request-factory.d.ts +0 -6
- package/dist/api/graphql-api/financial/graphql-coverages-bwell-request-factory.js +0 -17
- package/dist/api/graphql-api/financial/graphql-explanation-of-benefits-factory.js +0 -23
- package/dist/api/graphql-api/health-space/add-care-team-member-request-factory.d.ts +0 -20
- package/dist/api/graphql-api/health-space/add-care-team-member-request-factory.js +0 -29
- package/dist/api/graphql-api/health-space/add-care-team-members-request-factory.d.ts +0 -16
- package/dist/api/graphql-api/health-space/add-care-team-members-request-factory.js +0 -23
- package/dist/api/graphql-api/health-space/care-team-factory-utils.d.ts +0 -23
- package/dist/api/graphql-api/health-space/care-team-factory-utils.js +0 -30
- package/dist/api/graphql-api/health-space/care-team-members-request-factory.d.ts +0 -12
- package/dist/api/graphql-api/health-space/care-team-members-request-factory.js +0 -17
- package/dist/api/graphql-api/health-space/remove-care-team-member-request-factory.d.ts +0 -16
- package/dist/api/graphql-api/health-space/remove-care-team-member-request-factory.js +0 -24
- package/dist/api/graphql-api/health-space/update-care-team-member-request-factory.d.ts +0 -16
- package/dist/api/graphql-api/health-space/update-care-team-member-request-factory.js +0 -20
- package/dist/api/graphql-api/healthdata/graphql-diagnostic-reports-bwell-request-factory.d.ts +0 -6
- package/dist/api/graphql-api/healthdata/graphql-diagnostic-reports-bwell-request-factory.js +0 -12
- package/dist/api/graphql-api/healthdata/graphql-get-medication-dispense-bwell-response-factory.d.ts +0 -10
- package/dist/api/graphql-api/healthdata/graphql-get-medication-dispense-bwell-response-factory.js +0 -35
- package/dist/api/graphql-api/healthdata/graphql-get-medication-request-bwell-response-factory.d.ts +0 -10
- package/dist/api/graphql-api/healthdata/graphql-get-medication-request-bwell-response-factory.js +0 -35
- package/dist/api/graphql-api/healthdata/graphql-update-medication-statement-request-factory.d.ts +0 -6
- package/dist/api/graphql-api/healthdata/graphql-update-medication-statement-request-factory.js +0 -11
- package/dist/api/graphql-api/questionnaire/get-questionnaire-responses-request-factory.d.ts +0 -9
- package/dist/api/graphql-api/questionnaire/get-questionnaire-responses-request-factory.js +0 -22
- package/dist/api/graphql-api/questionnaire/get-questionnaires-request-factory.d.ts +0 -6
- package/dist/api/graphql-api/questionnaire/get-questionnaires-request-factory.js +0 -16
- package/dist/api/graphql-api/search/connection-search-request-factory.d.ts +0 -7
- package/dist/api/graphql-api/search/connection-search-request-factory.js +0 -21
- package/dist/api/graphql-api/search/index.d.ts +0 -1
- package/dist/api/graphql-api/search/index.js +0 -1
- package/dist/api/graphql-api/search/provider-search-request-factory.d.ts +0 -7
- package/dist/api/graphql-api/search/provider-search-request-factory.js +0 -21
- package/dist/api/graphql-api/search/request-connection-request-factory.d.ts +0 -6
- package/dist/api/graphql-api/search/search-request-factory.d.ts +0 -6
- package/dist/api/graphql-api/search/search-request-factory.js +0 -44
- package/dist/api/graphql-api/support/create-support-request-request-factory.d.ts +0 -6
- package/dist/api/graphql-api/support/create-support-request-request-factory.js +0 -19
- package/dist/api/graphql-api/support/delete-support-attachment-request-factory.d.ts +0 -6
- package/dist/api/graphql-api/support/delete-support-attachment-request-factory.js +0 -10
- package/dist/api/graphql-api/support/get-support-requests-bwell-request-factory.d.ts +0 -6
- package/dist/api/graphql-api/support/get-support-requests-bwell-request-factory.js +0 -16
- package/dist/api/graphql-api/support/graphql-support-manager.d.ts +0 -22
- package/dist/api/graphql-api/support/graphql-support-manager.js +0 -129
- package/dist/api/graphql-api/support/index.d.ts +0 -1
- package/dist/api/graphql-api/support/index.js +0 -1
- package/dist/api/graphql-api/support/upload-support-attachment-request-factory.d.ts +0 -6
- package/dist/api/graphql-api/support/upload-support-attachment-request-factory.js +0 -11
- package/dist/api/graphql-api/user/create-data-export-direct-download-url-request-factory.d.ts +0 -6
- package/dist/api/graphql-api/user/create-data-export-direct-download-url-request-factory.js +0 -9
- package/dist/models/coding.d.ts +0 -5
- package/dist/models/fhir-error.d.ts +0 -9
- package/dist/models/user.d.ts +0 -4
- package/dist/utils/date-utils.d.ts +0 -6
- package/dist/utils/date-utils.js +0 -8
- /package/dist/api/base/{event/event-manager.js → health-data/health-data-response-factory.js} +0 -0
- /package/dist/api/base/{support/support-manager.js → requests/field-sort-order.js} +0 -0
- /package/dist/models/{coding.js → activity/index.js} +0 -0
- /package/dist/models/{fhir-error.js → activity/task.js} +0 -0
- /package/dist/models/{user.js → common/address.js} +0 -0
- /package/dist/{models → results}/operation-outcome.d.ts +0 -0
- /package/dist/{models → results}/operation-outcome.js +0 -0
package/README.md
CHANGED
|
@@ -9,8 +9,8 @@ providers or connections. Please see the documentation for details.
|
|
|
9
9
|
|
|
10
10
|
## SDKv2 / SDKv1 Update
|
|
11
11
|
|
|
12
|
-
The `main`
|
|
13
|
-
made to `typescript-sdk-v1` branch.
|
|
12
|
+
The `main` branch will soon be updated to be for SDKv2 only. Any v1 updates are
|
|
13
|
+
to be made to `typescript-sdk-v1` branch once that happens.
|
|
14
14
|
|
|
15
15
|
## Installation
|
|
16
16
|
|
|
@@ -25,7 +25,6 @@ import { BWellSDK }
|
|
|
25
25
|
|
|
26
26
|
const sdk = new BWellSDK({
|
|
27
27
|
clientKey: "YOUR_CLIENT_KEY",
|
|
28
|
-
clientSecret: "YOUR_CLIENT_SECRET",
|
|
29
28
|
});
|
|
30
29
|
|
|
31
30
|
await sdk.initialize();
|
|
@@ -38,3 +37,20 @@ const healthSummaryResponse = sdk.health.getHealthSummary();
|
|
|
38
37
|
|
|
39
38
|
const healthSummaryData = healthSummaryResponse.data;
|
|
40
39
|
```
|
|
40
|
+
|
|
41
|
+
## Documentation
|
|
42
|
+
|
|
43
|
+
For detailed documentation on generating external documentation sites
|
|
44
|
+
(HTML/Markdown):
|
|
45
|
+
|
|
46
|
+
📚 **[TypeDoc Documentation Guide]**
|
|
47
|
+
|
|
48
|
+
Quick commands:
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
# Generate HTML documentation
|
|
52
|
+
npm run generate:docs:html
|
|
53
|
+
|
|
54
|
+
# Generate Readme documentation
|
|
55
|
+
npm run generate:docs:readme
|
|
56
|
+
```
|
package/dist/__version__.d.ts
CHANGED
package/dist/__version__.js
CHANGED
|
@@ -3,5 +3,5 @@ import { LoggerProvider } from "../logger/index.js";
|
|
|
3
3
|
import { TokenManager } from "../tokens/index.js";
|
|
4
4
|
import { ApiProvider } from "./base/api-provider.js";
|
|
5
5
|
export declare class ApiProviderFactory {
|
|
6
|
-
createApiProvider(config: SdkConfig,
|
|
6
|
+
createApiProvider(config: SdkConfig, loggerProvider: LoggerProvider, tokenManager?: TokenManager): ApiProvider;
|
|
7
7
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { graphQLSDKFactory } from "./graphql-api/graphql-sdk/index.js";
|
|
2
2
|
import { GraphQLApiProvider } from "./graphql-api/index.js";
|
|
3
3
|
export class ApiProviderFactory {
|
|
4
|
-
createApiProvider(config,
|
|
4
|
+
createApiProvider(config, loggerProvider, tokenManager) {
|
|
5
|
+
// TODO: PHR-1137 - Handle optional params better
|
|
5
6
|
const { sdk, client } = graphQLSDKFactory(config.graphQL.apiUrl, tokenManager, config.bwellConfig.language);
|
|
6
7
|
return new GraphQLApiProvider(sdk, loggerProvider, client);
|
|
7
8
|
}
|
|
@@ -1,35 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import type { BWellQueryResult, BWellTransactionResult } from "../../../results/index.js";
|
|
1
|
+
import { TaskResponse } from "../../../models/index.js";
|
|
2
|
+
import { BWellQueryResult } from "../../../results/index.js";
|
|
4
3
|
import { BaseManagerError } from "../errors.js";
|
|
5
4
|
import { GetTasksRequest } from "./get-tasks-request.js";
|
|
6
|
-
import { UpdateTaskStatusRequest } from "./update-task-status-request.js";
|
|
7
|
-
export type GetTasksResults = GetTasksQueryResults["getTasks"];
|
|
8
|
-
export type UpdateTaskStatusResults = TaskUpdateStatusMutationResults["taskUpdateStatus"];
|
|
9
5
|
/**
|
|
10
|
-
*
|
|
11
|
-
*
|
|
6
|
+
* Activity Manager for managing tasks and activities.
|
|
7
|
+
* Provides methods for retrieving and managing Task resources.
|
|
8
|
+
* @title ActivityManager
|
|
9
|
+
* @excerpt Activity Manager for managing tasks and activities
|
|
10
|
+
* @category Managers
|
|
12
11
|
*/
|
|
13
12
|
export interface ActivityManager {
|
|
14
13
|
/**
|
|
15
|
-
*
|
|
16
|
-
* can be personalized and have a status to track progress. Tasks can also be linked
|
|
17
|
-
* to other FHIR resources and/or external content.
|
|
14
|
+
* Retrieves a list of Task resources.
|
|
18
15
|
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
|
|
22
|
-
getTasks(request: GetTasksRequest): Promise<BWellQueryResult<GetTasksResults, BaseManagerError | ValidationError>>;
|
|
23
|
-
/**
|
|
24
|
-
* Updates the status of a specified Task. The status of the task identified
|
|
25
|
-
* by request.taskId will be updated to the new status provided.
|
|
26
|
-
*
|
|
27
|
-
* The new status must be one of the potential TaskStatus values
|
|
28
|
-
*
|
|
29
|
-
* @param {UpdateTaskStatusRequest} request - Object containing the id and desired status for the task
|
|
30
|
-
* @returns {Promise<BWellTransactionResult<UpdateTaskStatusResults, BaseManagerError>>} - Object containing the updated FHIR task resource
|
|
16
|
+
* By default, system tasks are excluded from results; this behavior
|
|
17
|
+
* is overridden if a performer filter is explicitly provided in the
|
|
18
|
+
* GetTasksRequest.
|
|
31
19
|
*
|
|
32
|
-
* @
|
|
20
|
+
* @param {GetTasksRequest} request The request object containing parameters for retrieving tasks.
|
|
21
|
+
* @returns {Promise<BWellQueryResult<TaskResponse, BaseManagerError>>} A promise resolving to an object representing the list of Task resources retrieved.
|
|
22
|
+
* @example
|
|
23
|
+
* ```typescript
|
|
24
|
+
* const tasks = await sdk.activity.getTasks();
|
|
25
|
+
* ```
|
|
33
26
|
*/
|
|
34
|
-
|
|
27
|
+
getTasks(request: GetTasksRequest): Promise<BWellQueryResult<TaskResponse, BaseManagerError>>;
|
|
35
28
|
}
|
|
@@ -1,54 +1,34 @@
|
|
|
1
1
|
import { ErrorsCollector, PagedRequest, PagedRequestInput, PagedRequestValidator } from "../../../requests/index.js";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
* The activityTopic[s] of tasks to filter by
|
|
18
|
-
*/
|
|
19
|
-
activityTopic?: string | string[];
|
|
20
|
-
/**
|
|
21
|
-
* The status[es] of tasks to fitler by
|
|
22
|
-
*/
|
|
23
|
-
status?: TaskStatus | TaskStatus[];
|
|
24
|
-
/**
|
|
25
|
-
* subject[s] of tasks to filter by
|
|
26
|
-
*/
|
|
27
|
-
subject?: string | string[];
|
|
28
|
-
/**
|
|
29
|
-
* If provided, results will be filtered down to Tasks that have performers
|
|
30
|
-
* matching the specified types (e.g., "system", "user").
|
|
31
|
-
*/
|
|
32
|
-
performerType?: string | string[];
|
|
33
|
-
/**
|
|
34
|
-
* If present and true, retrieve referenced content from CMS. All content found
|
|
35
|
-
* will be added to the associated Task field "extension"
|
|
36
|
-
*/
|
|
37
|
-
enrichContent?: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* If present and true, results will be ordered to place better Tasks for user
|
|
40
|
-
* consumption at the front of the list. Otherwise, Tasks will be unordered.
|
|
41
|
-
*/
|
|
42
|
-
smartSort?: boolean;
|
|
43
|
-
/**
|
|
44
|
-
* The preferred language for returned content, e.g. "en" for English, "es" for Spanish
|
|
45
|
-
*/
|
|
46
|
-
contentLanguage?: string;
|
|
2
|
+
import { SearchReference, SearchString, SearchToken } from "../requests/index.js";
|
|
3
|
+
/**
|
|
4
|
+
* Input type for Task requests.
|
|
5
|
+
* @category Inputs
|
|
6
|
+
* @title GetTasksRequestInput
|
|
7
|
+
* @excerpt Input for Task query with filters and pagination
|
|
8
|
+
*/
|
|
9
|
+
export type GetTasksRequestInput = PagedRequestInput & {
|
|
10
|
+
id?: SearchString;
|
|
11
|
+
identifier?: SearchToken;
|
|
12
|
+
code?: SearchToken;
|
|
13
|
+
tag?: SearchToken;
|
|
14
|
+
status?: SearchToken;
|
|
15
|
+
performer?: SearchToken;
|
|
16
|
+
subject?: SearchReference;
|
|
47
17
|
};
|
|
48
|
-
|
|
18
|
+
/**
|
|
19
|
+
* Validator for GetTasks request inputs.
|
|
20
|
+
*/
|
|
21
|
+
declare class GetTasksRequestValidator extends PagedRequestValidator<GetTasksRequestInput> {
|
|
49
22
|
#private;
|
|
50
|
-
validate(data:
|
|
23
|
+
validate(data: GetTasksRequestInput, errors: ErrorsCollector): void;
|
|
51
24
|
}
|
|
52
|
-
|
|
53
|
-
|
|
25
|
+
/**
|
|
26
|
+
* Request object for fetching Task resources.
|
|
27
|
+
* @category Requests
|
|
28
|
+
* @title GetTasksRequest
|
|
29
|
+
* @excerpt Request object for fetching Task FHIR resources with validation
|
|
30
|
+
*/
|
|
31
|
+
export declare class GetTasksRequest extends PagedRequest<GetTasksRequestInput> {
|
|
32
|
+
protected validator: GetTasksRequestValidator;
|
|
54
33
|
}
|
|
34
|
+
export {};
|
|
@@ -3,30 +3,57 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
3
3
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
4
4
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
5
5
|
};
|
|
6
|
-
var
|
|
6
|
+
var _GetTasksRequestValidator_searchStringValidator, _GetTasksRequestValidator_searchReferenceValidator, _GetTasksRequestValidator_searchTokenValidator;
|
|
7
7
|
import { PagedRequest, PagedRequestValidator, } from "../../../requests/index.js";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
|
|
8
|
+
import { isNotNullOrUndefined } from "../../../utils/type-utils.js";
|
|
9
|
+
import { SearchReferenceValidator } from "../requests/search-reference.js";
|
|
10
|
+
import { SearchStringValidator } from "../requests/search-string.js";
|
|
11
|
+
import { SearchTokenValidator } from "../requests/search-token.js";
|
|
12
|
+
/**
|
|
13
|
+
* Validator for GetTasks request inputs.
|
|
14
|
+
*/
|
|
15
|
+
class GetTasksRequestValidator extends PagedRequestValidator {
|
|
11
16
|
constructor() {
|
|
12
17
|
super(...arguments);
|
|
13
|
-
|
|
18
|
+
_GetTasksRequestValidator_searchStringValidator.set(this, new SearchStringValidator());
|
|
19
|
+
_GetTasksRequestValidator_searchReferenceValidator.set(this, new SearchReferenceValidator());
|
|
20
|
+
_GetTasksRequestValidator_searchTokenValidator.set(this, new SearchTokenValidator());
|
|
14
21
|
}
|
|
15
22
|
validate(data, errors) {
|
|
16
23
|
super.validate(data, errors);
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
24
|
+
// Validate SearchString fields
|
|
25
|
+
if (isNotNullOrUndefined(data.id)) {
|
|
26
|
+
__classPrivateFieldGet(this, _GetTasksRequestValidator_searchStringValidator, "f").validate(data.id, errors);
|
|
27
|
+
}
|
|
28
|
+
// Validate SearchToken fields
|
|
29
|
+
if (isNotNullOrUndefined(data.code)) {
|
|
30
|
+
__classPrivateFieldGet(this, _GetTasksRequestValidator_searchTokenValidator, "f").validate(data.code, errors);
|
|
31
|
+
}
|
|
32
|
+
if (isNotNullOrUndefined(data.tag)) {
|
|
33
|
+
__classPrivateFieldGet(this, _GetTasksRequestValidator_searchTokenValidator, "f").validate(data.tag, errors);
|
|
34
|
+
}
|
|
35
|
+
if (isNotNullOrUndefined(data.status)) {
|
|
36
|
+
__classPrivateFieldGet(this, _GetTasksRequestValidator_searchTokenValidator, "f").validate(data.status, errors);
|
|
37
|
+
}
|
|
38
|
+
if (isNotNullOrUndefined(data.performer)) {
|
|
39
|
+
__classPrivateFieldGet(this, _GetTasksRequestValidator_searchTokenValidator, "f").validate(data.performer, errors);
|
|
40
|
+
}
|
|
41
|
+
if (isNotNullOrUndefined(data.identifier)) {
|
|
42
|
+
__classPrivateFieldGet(this, _GetTasksRequestValidator_searchTokenValidator, "f").validate(data.identifier, errors);
|
|
43
|
+
}
|
|
44
|
+
// Validate SearchReference fields
|
|
45
|
+
if (isNotNullOrUndefined(data.subject)) {
|
|
46
|
+
__classPrivateFieldGet(this, _GetTasksRequestValidator_searchReferenceValidator, "f").validate(data.subject, errors);
|
|
22
47
|
}
|
|
23
48
|
}
|
|
24
49
|
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
50
|
+
_GetTasksRequestValidator_searchStringValidator = new WeakMap(), _GetTasksRequestValidator_searchReferenceValidator = new WeakMap(), _GetTasksRequestValidator_searchTokenValidator = new WeakMap();
|
|
51
|
+
/**
|
|
52
|
+
* Request object for fetching Task resources.
|
|
53
|
+
* @category Requests
|
|
54
|
+
* @title GetTasksRequest
|
|
55
|
+
* @excerpt Request object for fetching Task FHIR resources with validation
|
|
56
|
+
*/
|
|
30
57
|
export class GetTasksRequest extends PagedRequest {
|
|
31
58
|
constructor() {
|
|
32
59
|
super(...arguments);
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { GetTasksRequest,
|
|
3
|
-
export { UpdateTaskStatusRequest, UpdateTaskStatusRequestInput, } from "./update-task-status-request.js";
|
|
4
|
-
export { TaskStatus } from "./types.js";
|
|
1
|
+
export { ActivityManager } from "./activity-manager.js";
|
|
2
|
+
export { GetTasksRequest, GetTasksRequestInput } from "./get-tasks-request.js";
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import type { LanguageManager } from "../../language/language-manager.js";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import type { UserManager } from "./user/user-manager.js";
|
|
2
|
+
import { ActivityManager } from "./activity/index.js";
|
|
3
|
+
import { ConnectionManager } from "./connection/index.js";
|
|
4
|
+
import { DeviceManager } from "./device/index.js";
|
|
5
|
+
import { FinancialManager } from "./financial/index.js";
|
|
6
|
+
import { HealthManager } from "./health-data/index.js";
|
|
7
|
+
import { HealthSpaceManager } from "./health-space/index.js";
|
|
8
|
+
import { IdentityManager } from "./identity/identity-manager.js";
|
|
9
|
+
import { QuestionnaireManager } from "./questionnaire/index.js";
|
|
10
|
+
import { SearchManager } from "./search/search-manager.js";
|
|
11
|
+
import { UserManager } from "./user/index.js";
|
|
13
12
|
export interface ApiProvider {
|
|
14
13
|
readonly health: HealthManager;
|
|
15
14
|
readonly financial: FinancialManager;
|
|
@@ -18,9 +17,8 @@ export interface ApiProvider {
|
|
|
18
17
|
readonly device: DeviceManager;
|
|
19
18
|
readonly connection: ConnectionManager;
|
|
20
19
|
readonly activity: ActivityManager;
|
|
21
|
-
readonly event: EventManager;
|
|
22
20
|
readonly search: SearchManager;
|
|
23
|
-
readonly language: LanguageManager;
|
|
24
21
|
readonly questionnaire: QuestionnaireManager;
|
|
25
|
-
readonly
|
|
22
|
+
readonly language: LanguageManager;
|
|
23
|
+
readonly identity: IdentityManager;
|
|
26
24
|
}
|
|
@@ -1,74 +1,91 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { Connection, ConnectionStatus, DataSource, MemberConnection, OAuthUrl } from "../../../models/index.js";
|
|
2
2
|
import type { BWellQueryResult, BWellTransactionResult } from "../../../results/index.js";
|
|
3
|
-
import { MemberConnectionResults } from "../../graphql-api/connection/index.js";
|
|
4
3
|
import type { BaseManagerError } from "../errors.js";
|
|
5
4
|
import { ConnectionRequest, DataSourceRequest } from "./connection-request.js";
|
|
5
|
+
/**
|
|
6
|
+
* @private
|
|
7
|
+
*/
|
|
6
8
|
export declare const MEMBER_CONNECTION_SUBSCRIPTION_STATUS_EXTENSION_ID = "data-connection-status";
|
|
7
|
-
type DataSourceResultsType = GetDataSourceQueryResults["getDataSource"];
|
|
8
|
-
export interface DataSourceResults extends DataSourceResultsType {
|
|
9
|
-
}
|
|
10
|
-
type CreateConnectionResultsType = CreateConnectionMutationResults["createConnection"];
|
|
11
|
-
export interface CreateConnectionResults extends CreateConnectionResultsType {
|
|
12
|
-
}
|
|
13
|
-
type DisconnectConnectionResultsType = DisconnectConnectionMutationResults["disconnectConnection"];
|
|
14
|
-
export interface DisconnectConnectionResults extends DisconnectConnectionResultsType {
|
|
15
|
-
}
|
|
16
|
-
type DeleteConnectionResultsType = DeleteConnectionMutationResults["deleteConnection"];
|
|
17
|
-
export interface DeleteConnectionResults extends DeleteConnectionResultsType {
|
|
18
|
-
}
|
|
19
|
-
type OauthUrlResultsType = GetOauthUrlQueryResults["getOauthUrl"];
|
|
20
|
-
export interface OauthUrlResults extends OauthUrlResultsType {
|
|
21
|
-
}
|
|
22
9
|
/**
|
|
23
|
-
*
|
|
10
|
+
* Connection Manager for data source connections and OAuth management.
|
|
11
|
+
* Provides methods for managing connections to healthcare providers and data sources.
|
|
12
|
+
* @title ConnectionManager
|
|
13
|
+
* @excerpt Connection Manager for data source connections and OAuth management
|
|
14
|
+
* @category Managers
|
|
24
15
|
*/
|
|
25
16
|
export interface ConnectionManager {
|
|
26
17
|
/**
|
|
27
18
|
* Retrieves a list of MemberConnections resources from a FHIR server.
|
|
28
19
|
* There are no parameters and no request object for this method.
|
|
29
20
|
*
|
|
30
|
-
* @returns {Promise<BWellQueryResult<
|
|
21
|
+
* @returns {Promise<BWellQueryResult<MemberConnection[]>>} A promise resolving to an object representing the list of MemberConnections resources retrieved, along with potential validation or GraphQL errors.
|
|
31
22
|
*/
|
|
32
|
-
getMemberConnections(): Promise<BWellQueryResult<
|
|
23
|
+
getMemberConnections(): Promise<BWellQueryResult<MemberConnection[], BaseManagerError>>;
|
|
33
24
|
/**
|
|
34
|
-
* Retrieves a
|
|
35
|
-
*
|
|
36
|
-
* @
|
|
37
|
-
*
|
|
38
|
-
*
|
|
25
|
+
* Retrieves a data source by ID.
|
|
26
|
+
* Gets information about a specific healthcare provider connection.
|
|
27
|
+
* @example
|
|
28
|
+
* ```typescript
|
|
29
|
+
* const dataSource = await sdk.connection.getDataSource(
|
|
30
|
+
* new DataSourceRequest({
|
|
31
|
+
* connectionId: 'epic-123'
|
|
32
|
+
* })
|
|
33
|
+
* );
|
|
34
|
+
* ```
|
|
39
35
|
*/
|
|
40
|
-
getDataSource(request: DataSourceRequest): Promise<BWellQueryResult<
|
|
36
|
+
getDataSource(request: DataSourceRequest): Promise<BWellQueryResult<DataSource, BaseManagerError>>;
|
|
41
37
|
/**
|
|
42
|
-
* Creates a new
|
|
43
|
-
*
|
|
44
|
-
* @
|
|
45
|
-
*
|
|
46
|
-
*
|
|
38
|
+
* Creates a new connection to a healthcare provider.
|
|
39
|
+
* Establishes a connection to retrieve health data.
|
|
40
|
+
* @example
|
|
41
|
+
* ```typescript
|
|
42
|
+
* await sdk.connection.createConnection(
|
|
43
|
+
* new ConnectionRequest({
|
|
44
|
+
* connectionId: 'epic-123',
|
|
45
|
+
* username: 'user',
|
|
46
|
+
* password: 'pass'
|
|
47
|
+
* })
|
|
48
|
+
* );
|
|
49
|
+
* ```
|
|
47
50
|
*/
|
|
48
|
-
createConnection(request: ConnectionRequest): Promise<BWellTransactionResult<
|
|
51
|
+
createConnection(request: ConnectionRequest): Promise<BWellTransactionResult<Connection, BaseManagerError>>;
|
|
49
52
|
/**
|
|
50
|
-
* Disconnects
|
|
51
|
-
*
|
|
52
|
-
* @
|
|
53
|
-
*
|
|
54
|
-
*
|
|
53
|
+
* Disconnects an existing connection.
|
|
54
|
+
* Stops data synchronization but preserves existing data.
|
|
55
|
+
* @example
|
|
56
|
+
* ```typescript
|
|
57
|
+
* await sdk.connection.disconnectConnection(
|
|
58
|
+
* new DataSourceRequest({
|
|
59
|
+
* connectionId: 'epic-123'
|
|
60
|
+
* })
|
|
61
|
+
* );
|
|
62
|
+
* ```
|
|
55
63
|
*/
|
|
56
|
-
disconnectConnection(request: DataSourceRequest): Promise<BWellTransactionResult<
|
|
64
|
+
disconnectConnection(request: DataSourceRequest): Promise<BWellTransactionResult<ConnectionStatus, BaseManagerError>>;
|
|
57
65
|
/**
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
* @
|
|
61
|
-
*
|
|
62
|
-
*
|
|
66
|
+
* Permanently deletes a connection.
|
|
67
|
+
* Removes the connection and all associated data.
|
|
68
|
+
* @example
|
|
69
|
+
* ```typescript
|
|
70
|
+
* await sdk.connection.deleteConnection(
|
|
71
|
+
* new DataSourceRequest({
|
|
72
|
+
* connectionId: 'epic-123'
|
|
73
|
+
* })
|
|
74
|
+
* );
|
|
75
|
+
* ```
|
|
63
76
|
*/
|
|
64
|
-
deleteConnection(request: DataSourceRequest): Promise<BWellTransactionResult<
|
|
77
|
+
deleteConnection(request: DataSourceRequest): Promise<BWellTransactionResult<ConnectionStatus, BaseManagerError>>;
|
|
65
78
|
/**
|
|
66
|
-
* Retrieves
|
|
67
|
-
*
|
|
68
|
-
* @
|
|
69
|
-
*
|
|
70
|
-
*
|
|
79
|
+
* Retrieves OAuth URL for connection setup.
|
|
80
|
+
* Gets the authorization URL for OAuth-based connections.
|
|
81
|
+
* @example
|
|
82
|
+
* ```typescript
|
|
83
|
+
* const oauthUrl = await sdk.connection.getOauthUrl(
|
|
84
|
+
* new DataSourceRequest({
|
|
85
|
+
* connectionId: 'epic-123'
|
|
86
|
+
* })
|
|
87
|
+
* );
|
|
88
|
+
* ```
|
|
71
89
|
*/
|
|
72
|
-
getOauthUrl(request: DataSourceRequest): Promise<BWellQueryResult<
|
|
90
|
+
getOauthUrl(request: DataSourceRequest): Promise<BWellQueryResult<OAuthUrl, BaseManagerError>>;
|
|
73
91
|
}
|
|
74
|
-
export {};
|
|
@@ -13,12 +13,18 @@ export declare const UNDEFINED_USERNAME_ERROR = "username cannot be null or empt
|
|
|
13
13
|
export declare const UNDEFINED_PASSWORD_ERROR = "password cannot be null or empty";
|
|
14
14
|
/**
|
|
15
15
|
* Input object for fetching a data source by connection id.
|
|
16
|
+
* @category Inputs
|
|
17
|
+
* @title DataSourceRequestInput
|
|
18
|
+
* @excerpt Input for fetching data source by connection id
|
|
16
19
|
*/
|
|
17
20
|
export type DataSourceRequestInput = {
|
|
18
21
|
connectionId: string;
|
|
19
22
|
};
|
|
20
23
|
/**
|
|
21
|
-
* Input object for
|
|
24
|
+
* Input object for creating a connection with authentication credentials.
|
|
25
|
+
* @category Inputs
|
|
26
|
+
* @title ConnectionRequestInput
|
|
27
|
+
* @excerpt Input for creating connection with credentials
|
|
22
28
|
*/
|
|
23
29
|
export type ConnectionRequestInput = DataSourceRequestInput & {
|
|
24
30
|
username: string;
|
|
@@ -39,17 +45,25 @@ export declare class ConnectionRequestValidator<T extends ConnectionRequestInput
|
|
|
39
45
|
}
|
|
40
46
|
/**
|
|
41
47
|
* Base request object for interacting with the API using a connectionId.
|
|
48
|
+
* @title BaseDataSourceRequest
|
|
49
|
+
* @excerpt Base request object for interacting with the API using a connectionId
|
|
42
50
|
*/
|
|
43
51
|
export declare class BaseDataSourceRequest<T extends DataSourceRequestInput> extends ValidationRequest<T> {
|
|
44
52
|
protected validator: DataSourceRequestValidator<T>;
|
|
45
53
|
}
|
|
46
54
|
/**
|
|
47
55
|
* Request object for interacting with the API using a connection id.
|
|
56
|
+
* @category Requests
|
|
57
|
+
* @title DataSourceRequest
|
|
58
|
+
* @excerpt Request object for interacting with the API using a connection id
|
|
48
59
|
*/
|
|
49
60
|
export declare class DataSourceRequest extends BaseDataSourceRequest<DataSourceRequestInput> {
|
|
50
61
|
}
|
|
51
62
|
/**
|
|
52
63
|
* Request object for creating a connection.
|
|
64
|
+
* @category Requests
|
|
65
|
+
* @title ConnectionRequest
|
|
66
|
+
* @excerpt Request object for creating a connection
|
|
53
67
|
*/
|
|
54
68
|
export declare class ConnectionRequest extends BaseDataSourceRequest<ConnectionRequestInput> {
|
|
55
69
|
protected validator: ConnectionRequestValidator<ConnectionRequestInput>;
|
|
@@ -47,6 +47,8 @@ export class ConnectionRequestValidator {
|
|
|
47
47
|
_ConnectionRequestValidator_dataSourceRequestValidator = new WeakMap();
|
|
48
48
|
/**
|
|
49
49
|
* Base request object for interacting with the API using a connectionId.
|
|
50
|
+
* @title BaseDataSourceRequest
|
|
51
|
+
* @excerpt Base request object for interacting with the API using a connectionId
|
|
50
52
|
*/
|
|
51
53
|
export class BaseDataSourceRequest extends ValidationRequest {
|
|
52
54
|
constructor() {
|
|
@@ -56,11 +58,17 @@ export class BaseDataSourceRequest extends ValidationRequest {
|
|
|
56
58
|
}
|
|
57
59
|
/**
|
|
58
60
|
* Request object for interacting with the API using a connection id.
|
|
61
|
+
* @category Requests
|
|
62
|
+
* @title DataSourceRequest
|
|
63
|
+
* @excerpt Request object for interacting with the API using a connection id
|
|
59
64
|
*/
|
|
60
65
|
export class DataSourceRequest extends BaseDataSourceRequest {
|
|
61
66
|
}
|
|
62
67
|
/**
|
|
63
68
|
* Request object for creating a connection.
|
|
69
|
+
* @category Requests
|
|
70
|
+
* @title ConnectionRequest
|
|
71
|
+
* @excerpt Request object for creating a connection
|
|
64
72
|
*/
|
|
65
73
|
export class ConnectionRequest extends BaseDataSourceRequest {
|
|
66
74
|
constructor() {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { MEMBER_CONNECTION_SUBSCRIPTION_STATUS_EXTENSION_ID, ConnectionManager, } from "./connection-manager.js";
|
|
2
2
|
export { DataSourceRequest, DataSourceRequestInput, ConnectionRequest, ConnectionRequestInput, } from "./connection-request.js";
|
|
@@ -1,22 +1,44 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { DeviceRegistrationResults } from "../../../models/index.js";
|
|
2
2
|
import type { BWellTransactionResult } from "../../../results/index.js";
|
|
3
3
|
import type { BaseManagerError } from "../errors.js";
|
|
4
|
-
import { DeregisterDeviceRequest, RegisterDeviceRequest } from "./
|
|
5
|
-
export type DeviceRegistrationResults = UpdateDeviceRegistrationMutationResults["updateDeviceRegistration"];
|
|
4
|
+
import { DeregisterDeviceRequest, RegisterDeviceRequest } from "./index.js";
|
|
6
5
|
/**
|
|
7
|
-
*
|
|
6
|
+
* Methods to register/deregister mobile devices.
|
|
7
|
+
*
|
|
8
|
+
* @title DeviceManager
|
|
9
|
+
* @excerpt Methods to register/deregister mobile devices
|
|
10
|
+
* @category Managers
|
|
8
11
|
*/
|
|
9
|
-
export
|
|
12
|
+
export interface DeviceManager {
|
|
10
13
|
/**
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* @
|
|
14
|
+
* Register device to receive push notifications.
|
|
15
|
+
*
|
|
16
|
+
* @param {RegisterDeviceRequest} request - Request class instance containing device registration information.
|
|
17
|
+
* @returns {Promise<BWellTransactionResult<DeviceRegistrationResults, BaseManagerError>>} Registration results or an error.
|
|
18
|
+
* @example
|
|
19
|
+
* ```typescript
|
|
20
|
+
* const results = await sdk.device.registerDevice(
|
|
21
|
+
* new RegisterDeviceRequest({
|
|
22
|
+
* deviceToken: "123",
|
|
23
|
+
* platformName: "IOS",
|
|
24
|
+
* applicationName: "my-app"
|
|
25
|
+
* })
|
|
26
|
+
* );
|
|
27
|
+
* ```
|
|
14
28
|
*/
|
|
15
|
-
|
|
29
|
+
registerDevice(request: RegisterDeviceRequest): Promise<BWellTransactionResult<DeviceRegistrationResults, BaseManagerError>>;
|
|
16
30
|
/**
|
|
17
31
|
* Deregisters a device so that it will no longer receive notifications.
|
|
18
|
-
* @param request
|
|
19
|
-
* @returns
|
|
32
|
+
* @param {DeregisterDeviceRequest} request - Request class instance to deregister the device
|
|
33
|
+
* @returns {Promise<BWellTransactionResult<DeviceRegistrationResults, BaseManagerError>>} The deregistration results or an error.
|
|
34
|
+
* @example
|
|
35
|
+
* ```typescript
|
|
36
|
+
* const results = await sdk.device.deregisterDevice(
|
|
37
|
+
* new DeregisterDeviceRequest({
|
|
38
|
+
* deviceToken: "123"
|
|
39
|
+
* })
|
|
40
|
+
* );
|
|
41
|
+
* ```
|
|
20
42
|
*/
|
|
21
|
-
|
|
43
|
+
deregisterDevice(request: DeregisterDeviceRequest): Promise<BWellTransactionResult<DeviceRegistrationResults, BaseManagerError>>;
|
|
22
44
|
}
|