@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
|
@@ -1,50 +1,32 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { QuestionnaireResponse } from "../../../models/questionnaire/index.js";
|
|
2
|
+
import { BWellTransactionResult } from "../../../results/index.js";
|
|
3
|
+
import { NextQuestionRequest } from "../../base/questionnaire/next-question-request.js";
|
|
4
4
|
import { BaseManagerError } from "../errors.js";
|
|
5
|
-
import { NextQuestionRequest } from "./next-question-request.js";
|
|
6
|
-
import { QuestionnaireResponsesRequest } from "./questionnaire-responses-request.js";
|
|
7
|
-
import { QuestionnairesRequest } from "./questionnaires-request.js";
|
|
8
|
-
import { SaveQuestionnaireResponseRequest } from "./save-questionnaire-response-request.js";
|
|
9
|
-
export type NextQuestionResults = NextQuestionMutationResults["nextQuestion"];
|
|
10
|
-
export type SaveQuestionnaireResponseResults = SaveQuestionnaireResponseMutationResults["saveQuestionnaireResponse"];
|
|
11
|
-
export type QuestionnaireResponsesResults = GetQuestionnaireResponsesQueryResults["questionnaireResponses"];
|
|
12
|
-
export type QuestionnairesResults = GetQuestionnairesQueryResults["questionnaires"];
|
|
13
5
|
/**
|
|
14
|
-
*
|
|
6
|
+
* Questionnaire Manager for dynamic questionnaire processing and response handling.
|
|
7
|
+
* Provides methods for managing questionnaire workflows and form processing.
|
|
8
|
+
* @title QuestionnaireManager
|
|
9
|
+
* @excerpt Questionnaire Manager for dynamic questionnaire processing and response handling
|
|
10
|
+
* @category Managers
|
|
15
11
|
*/
|
|
16
12
|
export interface QuestionnaireManager {
|
|
17
13
|
/**
|
|
18
|
-
*
|
|
14
|
+
* Processes the next question in a questionnaire flow.
|
|
15
|
+
* Advances through dynamic questionnaire based on responses.
|
|
19
16
|
* @experimental This method is experimental and may change in future releases.
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```typescript
|
|
19
|
+
* const nextQuestion = await sdk.questionnaire.nextQuestion(
|
|
20
|
+
* new NextQuestionRequest({
|
|
21
|
+
* questionnaireResponse: {
|
|
22
|
+
* resourceType: 'QuestionnaireResponse',
|
|
23
|
+
* status: 'in-progress',
|
|
24
|
+
* questionnaire: 'health-assessment',
|
|
25
|
+
* contained: []
|
|
26
|
+
* }
|
|
27
|
+
* })
|
|
28
|
+
* );
|
|
29
|
+
* ```
|
|
24
30
|
*/
|
|
25
|
-
nextQuestion(request: NextQuestionRequest): Promise<BWellTransactionResult<
|
|
26
|
-
/**
|
|
27
|
-
* Saves a questionnaire response.
|
|
28
|
-
*
|
|
29
|
-
* @param request - The request object containing the questionnaire response data to save.
|
|
30
|
-
* @returns A promise that resolves to a `BWellTransactionResult` containing the saved questionnaire response
|
|
31
|
-
* or an error of type `BaseManagerError`.
|
|
32
|
-
*/
|
|
33
|
-
saveQuestionnaireResponse(request: SaveQuestionnaireResponseRequest): Promise<BWellTransactionResult<SaveQuestionnaireResponseResults, BaseManagerError>>;
|
|
34
|
-
/**
|
|
35
|
-
* Retrieves questionnaire responses based on the provided request parameters.
|
|
36
|
-
*
|
|
37
|
-
* @param request - The request object containing parameters for filtering questionnaire responses.
|
|
38
|
-
* @returns A promise that resolves to a `BWellQueryResult` containing the questionnaire responses
|
|
39
|
-
* or an error of type `ValidationError` or `BaseManagerError`.
|
|
40
|
-
*/
|
|
41
|
-
getQuestionnaireResponses(request?: QuestionnaireResponsesRequest): Promise<BWellQueryResult<QuestionnaireResponsesResults, ValidationError | BaseManagerError>>;
|
|
42
|
-
/**
|
|
43
|
-
* Retrieves questionnaires based on provided request parameters.
|
|
44
|
-
*
|
|
45
|
-
* @param request - The request object containing parameters for filtering questionnaires.
|
|
46
|
-
* @returns A promise that resolves to a `BWellQueryResult` containing the questionnaires
|
|
47
|
-
* or an error of type `ValidationError` or `BaseManagerError`.
|
|
48
|
-
*/
|
|
49
|
-
getQuestionnaires(request?: QuestionnairesRequest): Promise<BWellQueryResult<QuestionnairesResults, ValidationError | BaseManagerError>>;
|
|
31
|
+
nextQuestion(request: NextQuestionRequest): Promise<BWellTransactionResult<QuestionnaireResponse, BaseManagerError>>;
|
|
50
32
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SortOrder } from "../../../models/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Base sorting type used to sort by specific field type.
|
|
4
|
+
* @category Inputs
|
|
5
|
+
* @title FieldSortOrder
|
|
6
|
+
* @excerpt Used to define field order as ascending or descending
|
|
7
|
+
*/
|
|
8
|
+
export type FieldSortOrder<T = string> = {
|
|
9
|
+
field?: T;
|
|
10
|
+
order?: SortOrder;
|
|
11
|
+
};
|
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
export { SearchDate, SearchDateValue } from "./search-date.js";
|
|
2
2
|
export { SearchString } from "./search-string.js";
|
|
3
3
|
export { SearchToken, SearchTokenValue } from "./search-token.js";
|
|
4
|
+
export { SearchReference } from "./search-reference.js";
|
|
5
|
+
export type { FieldSortOrder } from "./field-sort-order.js";
|
|
@@ -1,7 +1,19 @@
|
|
|
1
1
|
import { ErrorsCollector, Validator } from "../../../requests/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Search criteria for date-based filtering. Supports various date comparison operators.
|
|
4
|
+
* @category Inputs
|
|
5
|
+
* @title SearchDate
|
|
6
|
+
* @excerpt Search criteria for date-based filtering
|
|
7
|
+
*/
|
|
2
8
|
export type SearchDate = {
|
|
3
9
|
values?: SearchDateValue[];
|
|
4
10
|
};
|
|
11
|
+
/**
|
|
12
|
+
* Date value with comparison operators for filtering (equals, greater than, less than, etc.).
|
|
13
|
+
* @category Inputs
|
|
14
|
+
* @title SearchDateValue
|
|
15
|
+
* @excerpt Date value with comparison operators
|
|
16
|
+
*/
|
|
5
17
|
export type SearchDateValue = {
|
|
6
18
|
equals?: Date;
|
|
7
19
|
notEquals?: Date;
|
|
@@ -1,5 +1,13 @@
|
|
|
1
|
-
import { SearchReference } from "../../../graphql/schema.js";
|
|
2
1
|
import { ErrorsCollector, Validator } from "../../../requests/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Search criteria used to filter reference fields.
|
|
4
|
+
* @category Inputs
|
|
5
|
+
* @title SearchReference
|
|
6
|
+
* @excerpt Search criteria for reference fields
|
|
7
|
+
*/
|
|
8
|
+
export type SearchReference = {
|
|
9
|
+
value?: string;
|
|
10
|
+
};
|
|
3
11
|
/**
|
|
4
12
|
* Error message for when reference value is empty
|
|
5
13
|
*/
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import { ErrorsCollector, Validator } from "../../../requests/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Search criteria for string-based filtering. Contains an array of string values to search for.
|
|
4
|
+
* @category Inputs
|
|
5
|
+
* @title SearchString
|
|
6
|
+
* @excerpt Search criteria for string-based filtering
|
|
7
|
+
*/
|
|
2
8
|
export type SearchString = {
|
|
3
9
|
values?: string[];
|
|
4
10
|
};
|
|
@@ -1,12 +1,30 @@
|
|
|
1
1
|
import { ErrorsCollector, Validator } from "../../../requests/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Token value with system, code, and display for structured search criteria.
|
|
4
|
+
* @category Inputs
|
|
5
|
+
* @title SearchTokenValue
|
|
6
|
+
* @excerpt Token value with system, code, and display
|
|
7
|
+
*/
|
|
2
8
|
export type SearchTokenValue = {
|
|
3
9
|
system?: string;
|
|
4
10
|
code?: string;
|
|
5
11
|
value?: string;
|
|
6
12
|
};
|
|
13
|
+
/**
|
|
14
|
+
* Negated search token value that extends SearchTokenValue with additional values array.
|
|
15
|
+
* @category Inputs
|
|
16
|
+
* @title NotSearchTokenValue
|
|
17
|
+
* @excerpt Negated search token value with values array
|
|
18
|
+
*/
|
|
7
19
|
export type NotSearchTokenValue = SearchTokenValue & {
|
|
8
20
|
values?: SearchTokenValue[];
|
|
9
21
|
};
|
|
22
|
+
/**
|
|
23
|
+
* Search criteria for token-based filtering. Supports single values, multiple values, or negation.
|
|
24
|
+
* @category Inputs
|
|
25
|
+
* @title SearchToken
|
|
26
|
+
* @excerpt Search criteria for token-based filtering
|
|
27
|
+
*/
|
|
10
28
|
export type SearchToken = {
|
|
11
29
|
values?: SearchTokenValue[];
|
|
12
30
|
value?: SearchTokenValue;
|
|
@@ -35,26 +35,26 @@ export class SearchTokenValidator {
|
|
|
35
35
|
for (const value of (_a = data.values) !== null && _a !== void 0 ? _a : []) {
|
|
36
36
|
__classPrivateFieldGet(this, _SearchTokenValidator_searchTokenValueValidator, "f").validate(value, errors);
|
|
37
37
|
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
for (const value of data.notEquals.values) {
|
|
47
|
-
__classPrivateFieldGet(this, _SearchTokenValidator_searchTokenValueValidator, "f").validate(value, errors);
|
|
48
|
-
}
|
|
38
|
+
if (data.notEquals === undefined) {
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
// Validate notEquals values array if present
|
|
42
|
+
if (data.notEquals.values !== undefined) {
|
|
43
|
+
if (data.notEquals.values.length === 0) {
|
|
44
|
+
errors.add("If notEquals values are provided, at least one Coding must be set");
|
|
45
|
+
return;
|
|
49
46
|
}
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
data.notEquals.value === undefined &&
|
|
53
|
-
data.notEquals.system === undefined &&
|
|
54
|
-
data.notEquals.values === undefined) {
|
|
55
|
-
errors.add("NotEquals must have at least one non-null property (code, value, system, or values)");
|
|
47
|
+
for (const value of data.notEquals.values) {
|
|
48
|
+
__classPrivateFieldGet(this, _SearchTokenValidator_searchTokenValueValidator, "f").validate(value, errors);
|
|
56
49
|
}
|
|
57
50
|
}
|
|
51
|
+
// Ensure at least one property is set in notEquals
|
|
52
|
+
if (data.notEquals.code === undefined &&
|
|
53
|
+
data.notEquals.value === undefined &&
|
|
54
|
+
data.notEquals.system === undefined &&
|
|
55
|
+
data.notEquals.values === undefined) {
|
|
56
|
+
errors.add("NotEquals must have at least one non-null property (code, value, system, or values)");
|
|
57
|
+
}
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
_SearchTokenValidator_searchTokenValueValidator = new WeakMap();
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export
|
|
3
|
-
export {
|
|
4
|
-
export { RequestConnectionRequestInput, RequestConnectionRequest, } from "./request-connection-request.js";
|
|
5
|
-
export { SearchHealthResourcesRequest, SearchHealthResourcesRequestInput, } from "./search-health-resources-request.js";
|
|
1
|
+
export type { SearchManager } from "./search-manager.js";
|
|
2
|
+
export { SubmitProviderForReviewRequestInput, SubmitProviderForReviewRequest, } from "./submit-provider-for-review-request.js";
|
|
3
|
+
export { SearchHealthResourcesRequest, SearchHealthResourcesRequestInput, SearchPosition, OrderBy, } from "./search-health-resources-request.js";
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { SearchRequest, } from "./search-request.js";
|
|
3
|
-
export { RequestConnectionRequest, } from "./request-connection-request.js";
|
|
1
|
+
export { SubmitProviderForReviewRequest, } from "./submit-provider-for-review-request.js";
|
|
4
2
|
export { SearchHealthResourcesRequest, } from "./search-health-resources-request.js";
|
|
@@ -1,25 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OrderByInput, SearchFiltersInput, SearchLocation, UserInput } from "../../../graphql/schema.js";
|
|
2
|
+
import { DataSet, SearchContext, SortField } from "../../../models/enums/index.js";
|
|
2
3
|
import { PagedRequest, PagedRequestInput, PagedRequestValidator } from "../../../requests/index.js";
|
|
3
|
-
import {
|
|
4
|
-
/**
|
|
5
|
-
* Type representing the search filters for health resources.
|
|
6
|
-
*/
|
|
7
|
-
export type FilterField = `${GraphQLFilterField}`;
|
|
8
|
-
/**
|
|
9
|
-
* Type representing the organization type for health resources.
|
|
10
|
-
*/
|
|
11
|
-
export type OrganizationType = `${GraphQLOrganizationType}`;
|
|
12
|
-
/**
|
|
13
|
-
* Type representing the sort field for health resources.
|
|
14
|
-
* @experimental
|
|
15
|
-
*/
|
|
16
|
-
export type SortField = `${GraphQLSortField}`;
|
|
17
|
-
/**
|
|
18
|
-
* Type representing the sort order for health resources.
|
|
19
|
-
*/
|
|
20
|
-
export type SortOrder = `${GraphQLSortOrder}`;
|
|
4
|
+
import { FieldSortOrder } from "../index.js";
|
|
21
5
|
/**
|
|
22
6
|
* The provider location to search by
|
|
7
|
+
* @category Inputs
|
|
8
|
+
* @title SearchPosition
|
|
9
|
+
* @excerpt Position coordinates for location-based searches
|
|
23
10
|
*/
|
|
24
11
|
export type SearchPosition = {
|
|
25
12
|
/**
|
|
@@ -37,30 +24,38 @@ export type SearchPosition = {
|
|
|
37
24
|
};
|
|
38
25
|
/**
|
|
39
26
|
* Type representing a provider search result sorting
|
|
27
|
+
* @category Inputs
|
|
28
|
+
* @title OrderBy
|
|
29
|
+
* @excerpt Sorting configuration for search results
|
|
40
30
|
*/
|
|
41
|
-
export type OrderBy =
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
31
|
+
export type OrderBy = FieldSortOrder<SortField>;
|
|
32
|
+
/**
|
|
33
|
+
* Client configuration to use for this call to filter data.
|
|
34
|
+
* @deprecated Internal bwell use only
|
|
35
|
+
* @category Inputs
|
|
36
|
+
* @title SearchHealthResourcesClientInput
|
|
37
|
+
* @excerpt Client configuration for searching health resources
|
|
38
|
+
*/
|
|
39
|
+
export type SearchHealthResourcesClientInput = {
|
|
40
|
+
config?: string;
|
|
41
|
+
dataSets?: DataSet[];
|
|
50
42
|
};
|
|
51
43
|
/**
|
|
52
44
|
* Represents the parameters for a search request.
|
|
53
45
|
* @experimental
|
|
46
|
+
* @category Inputs
|
|
47
|
+
* @title SearchHealthResourcesRequestInput
|
|
48
|
+
* @excerpt Input parameters for searching health resources
|
|
54
49
|
*/
|
|
55
50
|
export type SearchHealthResourcesRequestInput = PagedRequestInput & {
|
|
56
51
|
/**
|
|
57
|
-
*
|
|
52
|
+
* @deprecated Internal bwell use only
|
|
58
53
|
*/
|
|
59
|
-
client?: [
|
|
54
|
+
client?: SearchHealthResourcesClientInput[];
|
|
60
55
|
/**
|
|
61
56
|
* The filters to apply to the search.
|
|
62
57
|
*/
|
|
63
|
-
filters
|
|
58
|
+
filters?: SearchFiltersInput;
|
|
64
59
|
/**
|
|
65
60
|
* Specifies order options for the search.
|
|
66
61
|
*/
|
|
@@ -70,6 +65,10 @@ export type SearchHealthResourcesRequestInput = PagedRequestInput & {
|
|
|
70
65
|
* This can be something like an organization name, location, address, or phone number.
|
|
71
66
|
*/
|
|
72
67
|
search?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Context to be used for search.
|
|
70
|
+
*/
|
|
71
|
+
searchContext?: SearchContext;
|
|
73
72
|
/**
|
|
74
73
|
* The location to search health resources by.
|
|
75
74
|
*/
|
|
@@ -78,15 +77,13 @@ export type SearchHealthResourcesRequestInput = PagedRequestInput & {
|
|
|
78
77
|
* The user for whom the search is being performed.
|
|
79
78
|
*/
|
|
80
79
|
user?: UserInput;
|
|
81
|
-
/**
|
|
82
|
-
* Defines the context in which a search is being performed, which determines
|
|
83
|
-
* which configurations are applied to the search results.
|
|
84
|
-
*/
|
|
85
|
-
searchContext?: SearchContextEnum;
|
|
86
80
|
};
|
|
87
81
|
/**
|
|
88
82
|
* Request for searching health resources.
|
|
89
83
|
* @experimental
|
|
84
|
+
* @category Requests
|
|
85
|
+
* @title SearchHealthResourcesRequest
|
|
86
|
+
* @excerpt Request class for searching health resources
|
|
90
87
|
*/
|
|
91
88
|
export declare class SearchHealthResourcesRequest extends PagedRequest<SearchHealthResourcesRequestInput> {
|
|
92
89
|
protected validator: PagedRequestValidator<SearchHealthResourcesRequestInput>;
|
|
@@ -2,6 +2,9 @@ import { PagedRequest, PagedRequestValidator, } from "../../../requests/index.js
|
|
|
2
2
|
/**
|
|
3
3
|
* Request for searching health resources.
|
|
4
4
|
* @experimental
|
|
5
|
+
* @category Requests
|
|
6
|
+
* @title SearchHealthResourcesRequest
|
|
7
|
+
* @excerpt Request class for searching health resources
|
|
5
8
|
*/
|
|
6
9
|
export class SearchHealthResourcesRequest extends PagedRequest {
|
|
7
10
|
constructor() {
|
|
@@ -1,58 +1,55 @@
|
|
|
1
1
|
import { ValidationError } from "../../../errors/index.js";
|
|
2
|
-
import {
|
|
2
|
+
import { HealthResourcesBundle, ProviderReviewResult } from "../../../models/index.js";
|
|
3
3
|
import type { BWellQueryResult, BWellTransactionResult } from "../../../results/index.js";
|
|
4
4
|
import { BaseManagerError } from "../errors.js";
|
|
5
|
-
import { RequestConnectionRequest } from "./request-connection-request.js";
|
|
6
5
|
import { SearchHealthResourcesRequest } from "./search-health-resources-request.js";
|
|
7
|
-
import {
|
|
8
|
-
type SearchResultsType = ProviderSearchQueryResults["providers"];
|
|
9
|
-
export interface SearchResults extends SearchResultsType {
|
|
10
|
-
}
|
|
11
|
-
export type SearchHealthResourcesResults = SearchHealthResourcesQueryResults["searchHealthResources"];
|
|
12
|
-
export type RequestConnectionResults = RequestConnectionMutationResults["requestConnection"];
|
|
6
|
+
import { SubmitProviderForReviewRequest } from "./submit-provider-for-review-request.js";
|
|
13
7
|
/**
|
|
14
|
-
*
|
|
8
|
+
* Search Manager for healthcare provider and resource discovery.
|
|
9
|
+
* Provides methods for searching health resources and submitting providers for review.
|
|
10
|
+
*
|
|
11
|
+
* @title SearchManager
|
|
12
|
+
* @excerpt Search Manager for healthcare provider and resource discovery
|
|
13
|
+
* @category Managers
|
|
15
14
|
*/
|
|
16
15
|
export interface SearchManager {
|
|
17
|
-
/**
|
|
18
|
-
* Performs a general search based on a SearchRequest
|
|
19
|
-
*
|
|
20
|
-
* @param {SearchRequest} request - Object representing search parameters
|
|
21
|
-
* @returns {Promise<BWellQueryResult<SearchResults, BaseManagerError | ValidationError>>} - An object containing the collection
|
|
22
|
-
* of matching search results
|
|
23
|
-
*/
|
|
24
|
-
search(request: SearchRequest): Promise<BWellQueryResult<SearchResults, BaseManagerError | ValidationError>>;
|
|
25
|
-
/**
|
|
26
|
-
* Performs a provider search based on a SearchRequest
|
|
27
|
-
*
|
|
28
|
-
* @param {SearchRequest} request - Object representing search parameters
|
|
29
|
-
* @returns {Promise<BWellQueryResult<SearchResults, BaseManagerError | ValidationError>>} - An object containing the collection
|
|
30
|
-
* of matching search results
|
|
31
|
-
*/
|
|
32
|
-
searchProviders(request: SearchRequest): Promise<BWellQueryResult<SearchResults, BaseManagerError | ValidationError>>;
|
|
33
|
-
/**
|
|
34
|
-
* Performs a connection search based on a SearchRequest
|
|
35
|
-
*
|
|
36
|
-
* @param {SearchRequest} request - Object representing search parameters
|
|
37
|
-
* @returns {Promise<BWellQueryResult<SearchResults, BaseManagerError | ValidationError>>} - An object containing the collection
|
|
38
|
-
* of matching search results
|
|
39
|
-
*/
|
|
40
|
-
searchConnections(request: SearchRequest): Promise<BWellQueryResult<SearchResults, BaseManagerError | ValidationError>>;
|
|
41
16
|
/**
|
|
42
17
|
* Searches for health resources based on the provided request.
|
|
18
|
+
* Finds healthcare providers, facilities, and other health-related resources.
|
|
43
19
|
*
|
|
44
|
-
* @param {SearchHealthResourcesRequest} request -
|
|
45
|
-
* @returns {Promise<BWellQueryResult<
|
|
46
|
-
* of matching search results
|
|
20
|
+
* @param {SearchHealthResourcesRequest} request - SearchHealthResourcesRequest instance containing the details of the search being requested
|
|
21
|
+
* @returns {Promise<BWellQueryResult<HealthResourcesBundle, BaseManagerError | ValidationError>>} - An object containing the collection of matching search results
|
|
47
22
|
* @experimental
|
|
23
|
+
* @example
|
|
24
|
+
* ```typescript
|
|
25
|
+
* const results = await sdk.search.searchHealthResources(
|
|
26
|
+
* new SearchHealthResourcesRequest({
|
|
27
|
+
* search: 'cardiologist',
|
|
28
|
+
* searchLocation: { zipCode: '10001' }
|
|
29
|
+
* })
|
|
30
|
+
* );
|
|
31
|
+
* ```
|
|
48
32
|
*/
|
|
49
|
-
searchHealthResources(request: SearchHealthResourcesRequest): Promise<BWellQueryResult<
|
|
33
|
+
searchHealthResources(request: SearchHealthResourcesRequest): Promise<BWellQueryResult<HealthResourcesBundle, BaseManagerError | ValidationError>>;
|
|
50
34
|
/**
|
|
51
|
-
*
|
|
35
|
+
* Submits a provider for review to be added as a new healthcare provider or facility to the directory.
|
|
36
|
+
* The request undergoes an administrative approval process before inclusion.
|
|
37
|
+
*
|
|
38
|
+
* Users can provide details such as institution, provider name, state, and city to facilitate review and potential addition of the healthcare resource.
|
|
52
39
|
*
|
|
53
|
-
* @param {
|
|
54
|
-
* @returns {Promise<BWellTransactionResult<
|
|
40
|
+
* @param {SubmitProviderForReviewRequest} request - Request class instance containing details of the provider or facility to be added
|
|
41
|
+
* @returns {Promise<BWellTransactionResult<ProviderReviewResult, BaseManagerError>>} - Outcome of the submission and approval process
|
|
42
|
+
* @example
|
|
43
|
+
* ```typescript
|
|
44
|
+
* await sdk.search.submitProviderForReview(
|
|
45
|
+
* new SubmitProviderForReviewRequest({
|
|
46
|
+
* provider: 'Dr. Jane Smith',
|
|
47
|
+
* institution: 'City Medical Center',
|
|
48
|
+
* city: 'Boston',
|
|
49
|
+
* state: 'MA'
|
|
50
|
+
* })
|
|
51
|
+
* );
|
|
52
|
+
* ```
|
|
55
53
|
*/
|
|
56
|
-
|
|
54
|
+
submitProviderForReview(request: SubmitProviderForReviewRequest): Promise<BWellTransactionResult<ProviderReviewResult, BaseManagerError>>;
|
|
57
55
|
}
|
|
58
|
-
export {};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { BaseRequest } from "../../../requests/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Parameters for submitting a provider or facility request
|
|
4
|
+
* @category Inputs
|
|
5
|
+
* @title SubmitProviderForReviewRequestInput
|
|
6
|
+
* @excerpt Input parameters for submitting a provider or facility for review
|
|
7
|
+
*/
|
|
8
|
+
export type SubmitProviderForReviewRequestInput = {
|
|
9
|
+
/**
|
|
10
|
+
* Institution of the provider or facility
|
|
11
|
+
*/
|
|
12
|
+
institution?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Provider name
|
|
15
|
+
*/
|
|
16
|
+
provider?: string;
|
|
17
|
+
/**
|
|
18
|
+
* State where the provider or facility is located
|
|
19
|
+
*/
|
|
20
|
+
state?: string;
|
|
21
|
+
/**
|
|
22
|
+
* City where the provider or facility is located
|
|
23
|
+
*/
|
|
24
|
+
city?: string;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Request class for submitting a provider or facility for review.
|
|
28
|
+
* @category Requests
|
|
29
|
+
* @title SubmitProviderForReviewRequest
|
|
30
|
+
* @excerpt Request for submitting a provider or facility for review
|
|
31
|
+
*/
|
|
32
|
+
export declare class SubmitProviderForReviewRequest extends BaseRequest<SubmitProviderForReviewRequestInput> {
|
|
33
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BaseRequest } from "../../../requests/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Request class for submitting a provider or facility for review.
|
|
4
|
+
* @category Requests
|
|
5
|
+
* @title SubmitProviderForReviewRequest
|
|
6
|
+
* @excerpt Request for submitting a provider or facility for review
|
|
7
|
+
*/
|
|
8
|
+
export class SubmitProviderForReviewRequest extends BaseRequest {
|
|
9
|
+
}
|
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import { CategoryCode, ConsentProvisionType, ConsentStatus } from "../../../models/enums/index.js";
|
|
1
2
|
import { ErrorsCollector, ValidationRequest, Validator } from "../../../requests/index.js";
|
|
2
|
-
|
|
3
|
+
/**
|
|
4
|
+
* Input type for creating user consents. Includes consent status, category, and provision details.
|
|
5
|
+
* @category Inputs
|
|
6
|
+
* @title CreateConsentRequestInput
|
|
7
|
+
* @excerpt Input for creating user consents with status and provisions
|
|
8
|
+
*/
|
|
3
9
|
export type CreateConsentRequestInput = {
|
|
4
10
|
status: ConsentStatus;
|
|
5
11
|
provision: ConsentProvisionType;
|
|
@@ -9,6 +15,12 @@ export type CreateConsentRequestInput = {
|
|
|
9
15
|
export declare class CreateConsentRequestValidator implements Validator<CreateConsentRequestInput> {
|
|
10
16
|
validate(data: CreateConsentRequestInput, errors: ErrorsCollector): void;
|
|
11
17
|
}
|
|
18
|
+
/**
|
|
19
|
+
* Request object for creating a consent.
|
|
20
|
+
* @category Requests
|
|
21
|
+
* @title CreateConsentRequest
|
|
22
|
+
* @excerpt Request object for creating a consent
|
|
23
|
+
*/
|
|
12
24
|
export declare class CreateConsentRequest extends ValidationRequest<CreateConsentRequestInput> {
|
|
13
25
|
protected validator: Validator<CreateConsentRequestInput>;
|
|
14
26
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { CategoryCode as GraphQLCategoryCode } from "../../../graphql/schema.js";
|
|
2
1
|
import { ValidationRequest, } from "../../../requests/index.js";
|
|
3
2
|
import { isBlank, isUndefined } from "../../../utils/index.js";
|
|
4
|
-
import { isValidCategoryCode, isValidConsentProvisionType, isValidConsentStatus, } from "./
|
|
3
|
+
import { isValidCategoryCode, isValidConsentProvisionType, isValidConsentStatus, } from "./validators.js";
|
|
5
4
|
export class CreateConsentRequestValidator {
|
|
6
5
|
validate(data, errors) {
|
|
7
6
|
if (!isValidConsentStatus(data.status)) {
|
|
@@ -17,13 +16,19 @@ export class CreateConsentRequestValidator {
|
|
|
17
16
|
if (!isUndefined(data.organizationId) && isBlank(data.organizationId)) {
|
|
18
17
|
errors.add("organizationId cannot be empty");
|
|
19
18
|
}
|
|
20
|
-
// organizationId is required if category is
|
|
21
|
-
if (data.category ===
|
|
19
|
+
// organizationId is required if category is proaAttestation
|
|
20
|
+
if (data.category === "proaAttestation" &&
|
|
22
21
|
isUndefined(data.organizationId)) {
|
|
23
|
-
errors.add("organizationId must be provided when category is
|
|
22
|
+
errors.add("organizationId must be provided when category is proaAttestation");
|
|
24
23
|
}
|
|
25
24
|
}
|
|
26
25
|
}
|
|
26
|
+
/**
|
|
27
|
+
* Request object for creating a consent.
|
|
28
|
+
* @category Requests
|
|
29
|
+
* @title CreateConsentRequest
|
|
30
|
+
* @excerpt Request object for creating a consent
|
|
31
|
+
*/
|
|
27
32
|
export class CreateConsentRequest extends ValidationRequest {
|
|
28
33
|
constructor() {
|
|
29
34
|
super(...arguments);
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import { ErrorsCollector, ValidationRequest, Validator } from "../../../requests/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Input type for creating a direct download URL for a data export. Requires export ID and password for secure access.
|
|
4
|
+
* @category Inputs
|
|
5
|
+
* @title CreateDataExportDirectDownloadUrlRequestInput
|
|
6
|
+
* @excerpt Input for creating data export direct download URLs
|
|
7
|
+
*/
|
|
2
8
|
export type CreateDataExportDirectDownloadUrlRequestInput = {
|
|
3
9
|
exportId: string;
|
|
4
10
|
password: string;
|
|
@@ -8,6 +14,9 @@ export declare class CreateDataExportDirectDownloadUrlRequestValidator implement
|
|
|
8
14
|
}
|
|
9
15
|
/**
|
|
10
16
|
* Request object for creating a direct download URL for a data export.
|
|
17
|
+
* @category Requests
|
|
18
|
+
* @title CreateDataExportDirectDownloadUrlRequest
|
|
19
|
+
* @excerpt Request object for creating a direct download URL for a data export
|
|
11
20
|
*/
|
|
12
21
|
export declare class CreateDataExportDirectDownloadUrlRequest extends ValidationRequest<CreateDataExportDirectDownloadUrlRequestInput> {
|
|
13
22
|
protected validator: Validator<CreateDataExportDirectDownloadUrlRequestInput>;
|
|
@@ -12,6 +12,9 @@ export class CreateDataExportDirectDownloadUrlRequestValidator {
|
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
14
14
|
* Request object for creating a direct download URL for a data export.
|
|
15
|
+
* @category Requests
|
|
16
|
+
* @title CreateDataExportDirectDownloadUrlRequest
|
|
17
|
+
* @excerpt Request object for creating a direct download URL for a data export
|
|
15
18
|
*/
|
|
16
19
|
export class CreateDataExportDirectDownloadUrlRequest extends ValidationRequest {
|
|
17
20
|
constructor() {
|
|
@@ -1,7 +1,19 @@
|
|
|
1
1
|
import { BaseRequest } from "../../../requests/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Input type for creating a verification URL. Optionally includes callback URL and attribute matching settings.
|
|
4
|
+
* @category Inputs
|
|
5
|
+
* @title CreateVerificationUrlRequestInput
|
|
6
|
+
* @excerpt Input for creating verification URLs with optional settings
|
|
7
|
+
*/
|
|
2
8
|
export type CreateVerificationUrlRequestInput = {
|
|
3
9
|
callbackUrl?: string;
|
|
4
10
|
includeAttributeMatchingCheck?: boolean;
|
|
5
11
|
};
|
|
12
|
+
/**
|
|
13
|
+
* Request object for creating a verification URL.
|
|
14
|
+
* @category Requests
|
|
15
|
+
* @title CreateVerificationUrlRequest
|
|
16
|
+
* @excerpt Request object for creating a verification URL
|
|
17
|
+
*/
|
|
6
18
|
export declare class CreateVerificationUrlRequest extends BaseRequest<CreateVerificationUrlRequestInput> {
|
|
7
19
|
}
|
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
import { BaseRequest } from "../../../requests/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Request object for creating a verification URL.
|
|
4
|
+
* @category Requests
|
|
5
|
+
* @title CreateVerificationUrlRequest
|
|
6
|
+
* @excerpt Request object for creating a verification URL
|
|
7
|
+
*/
|
|
2
8
|
export class CreateVerificationUrlRequest extends BaseRequest {
|
|
3
9
|
}
|