phenoml 0.0.6 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/BaseClient.d.ts +3 -3
- package/dist/cjs/Client.d.ts +5 -2
- package/dist/cjs/Client.js +14 -9
- package/dist/cjs/api/index.d.ts +0 -1
- package/dist/cjs/api/index.js +0 -1
- package/dist/cjs/api/resources/agent/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/agent/client/Client.js +23 -27
- package/dist/cjs/api/resources/agent/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/agent/client/requests/AgentGetChatMessagesRequest.d.ts +1 -1
- package/dist/cjs/api/resources/agent/client/requests/index.d.ts +3 -3
- package/dist/cjs/api/resources/agent/errors/BadRequestError.d.ts +1 -1
- package/dist/cjs/api/resources/agent/errors/ForbiddenError.d.ts +1 -1
- package/dist/cjs/api/resources/agent/errors/InternalServerError.d.ts +1 -1
- package/dist/cjs/api/resources/agent/errors/NotFoundError.d.ts +1 -1
- package/dist/cjs/api/resources/agent/errors/UnauthorizedError.d.ts +1 -1
- package/dist/cjs/api/resources/agent/errors/index.d.ts +1 -1
- package/dist/cjs/api/resources/agent/errors/index.js +1 -1
- package/dist/cjs/api/resources/agent/index.d.ts +3 -3
- package/dist/cjs/api/resources/agent/index.js +3 -3
- package/dist/cjs/api/resources/agent/resources/index.d.ts +1 -1
- package/dist/cjs/api/resources/agent/resources/index.js +4 -4
- package/dist/cjs/api/resources/agent/resources/prompts/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/agent/resources/prompts/client/Client.js +16 -20
- package/dist/cjs/api/resources/agent/resources/prompts/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/agent/resources/prompts/client/requests/index.d.ts +2 -2
- package/dist/cjs/api/resources/agent/resources/prompts/index.d.ts +1 -1
- package/dist/cjs/api/resources/agent/resources/prompts/index.js +1 -1
- package/dist/cjs/api/resources/agent/resources/prompts/types/PromptsListResponse.d.ts +1 -1
- package/dist/cjs/api/resources/agent/resources/prompts/types/index.d.ts +1 -1
- package/dist/cjs/api/resources/agent/resources/prompts/types/index.js +1 -1
- package/dist/cjs/api/resources/agent/types/AgentGetChatMessagesResponse.d.ts +1 -1
- package/dist/cjs/api/resources/agent/types/AgentListResponse.d.ts +1 -1
- package/dist/cjs/api/resources/agent/types/AgentPromptsResponse.d.ts +1 -1
- package/dist/cjs/api/resources/agent/types/AgentResponse.d.ts +1 -1
- package/dist/cjs/api/resources/agent/types/JsonPatch.d.ts +1 -1
- package/dist/cjs/api/resources/agent/types/index.d.ts +7 -7
- package/dist/cjs/api/resources/agent/types/index.js +7 -7
- package/dist/cjs/api/resources/authtoken/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/authtoken/client/Client.js +1 -1
- package/dist/cjs/api/resources/authtoken/errors/BadRequestError.d.ts +1 -1
- package/dist/cjs/api/resources/authtoken/errors/UnauthorizedError.d.ts +1 -1
- package/dist/cjs/api/resources/authtoken/index.d.ts +2 -2
- package/dist/cjs/api/resources/authtoken/index.js +2 -2
- package/dist/cjs/api/resources/authtoken/resources/auth/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/authtoken/resources/auth/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/authtoken/resources/auth/index.d.ts +1 -1
- package/dist/cjs/api/resources/authtoken/resources/auth/index.js +1 -1
- package/dist/cjs/api/resources/authtoken/resources/index.d.ts +1 -1
- package/dist/cjs/api/resources/authtoken/resources/index.js +4 -4
- package/dist/cjs/api/resources/cohort/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/cohort/client/Client.js +6 -10
- package/dist/cjs/api/resources/cohort/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/cohort/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/cohort/errors/BadRequestError.d.ts +1 -1
- package/dist/cjs/api/resources/cohort/errors/InternalServerError.d.ts +1 -1
- package/dist/cjs/api/resources/cohort/errors/UnauthorizedError.d.ts +1 -1
- package/dist/cjs/api/resources/cohort/errors/index.d.ts +1 -1
- package/dist/cjs/api/resources/cohort/errors/index.js +1 -1
- package/dist/cjs/api/resources/cohort/index.d.ts +2 -2
- package/dist/cjs/api/resources/cohort/index.js +2 -2
- package/dist/cjs/api/resources/cohort/types/CohortResponse.d.ts +1 -1
- package/dist/cjs/api/resources/construe/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/construe/client/Client.js +8 -12
- package/dist/cjs/api/resources/construe/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/construe/client/requests/ExtractRequest.d.ts +1 -1
- package/dist/cjs/api/resources/construe/client/requests/index.d.ts +3 -3
- package/dist/cjs/api/resources/construe/errors/BadRequestError.d.ts +1 -1
- package/dist/cjs/api/resources/construe/errors/ConflictError.d.ts +1 -1
- package/dist/cjs/api/resources/construe/errors/FailedDependencyError.d.ts +1 -1
- package/dist/cjs/api/resources/construe/errors/InternalServerError.d.ts +1 -1
- package/dist/cjs/api/resources/construe/errors/UnauthorizedError.d.ts +1 -1
- package/dist/cjs/api/resources/construe/errors/index.d.ts +1 -1
- package/dist/cjs/api/resources/construe/errors/index.js +1 -1
- package/dist/cjs/api/resources/construe/index.d.ts +2 -2
- package/dist/cjs/api/resources/construe/index.js +2 -2
- package/dist/cjs/api/resources/construe/types/ExtractCodesResult.d.ts +1 -1
- package/dist/cjs/api/resources/construe/types/index.d.ts +6 -6
- package/dist/cjs/api/resources/construe/types/index.js +6 -6
- package/dist/cjs/api/resources/fhir/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/fhir/client/Client.js +18 -22
- package/dist/cjs/api/resources/fhir/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/fhir/client/requests/FhirCreateRequest.d.ts +1 -1
- package/dist/cjs/api/resources/fhir/client/requests/FhirExecuteBundleRequest.d.ts +1 -1
- package/dist/cjs/api/resources/fhir/client/requests/FhirPatchRequest.d.ts +1 -1
- package/dist/cjs/api/resources/fhir/client/requests/FhirUpsertRequest.d.ts +1 -1
- package/dist/cjs/api/resources/fhir/client/requests/index.d.ts +6 -6
- package/dist/cjs/api/resources/fhir/errors/BadRequestError.d.ts +1 -1
- package/dist/cjs/api/resources/fhir/errors/InternalServerError.d.ts +1 -1
- package/dist/cjs/api/resources/fhir/errors/NotFoundError.d.ts +1 -1
- package/dist/cjs/api/resources/fhir/errors/UnauthorizedError.d.ts +1 -1
- package/dist/cjs/api/resources/fhir/errors/index.d.ts +2 -2
- package/dist/cjs/api/resources/fhir/errors/index.js +2 -2
- package/dist/cjs/api/resources/fhir/index.d.ts +2 -2
- package/dist/cjs/api/resources/fhir/index.js +2 -2
- package/dist/cjs/api/resources/fhir/types/FhirSearchResponse.d.ts +1 -1
- package/dist/cjs/api/resources/fhir/types/index.d.ts +3 -3
- package/dist/cjs/api/resources/fhir/types/index.js +3 -3
- package/dist/cjs/api/resources/fhirProvider/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/fhirProvider/client/Client.js +17 -21
- package/dist/cjs/api/resources/fhirProvider/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/fhirProvider/client/requests/FhirProviderAddAuthConfigRequest.d.ts +1 -1
- package/dist/cjs/api/resources/fhirProvider/client/requests/FhirProviderCreateRequest.d.ts +1 -1
- package/dist/cjs/api/resources/fhirProvider/client/requests/index.d.ts +4 -4
- package/dist/cjs/api/resources/fhirProvider/errors/BadRequestError.d.ts +1 -1
- package/dist/cjs/api/resources/fhirProvider/errors/ForbiddenError.d.ts +1 -1
- package/dist/cjs/api/resources/fhirProvider/errors/InternalServerError.d.ts +1 -1
- package/dist/cjs/api/resources/fhirProvider/errors/NotFoundError.d.ts +1 -1
- package/dist/cjs/api/resources/fhirProvider/errors/UnauthorizedError.d.ts +1 -1
- package/dist/cjs/api/resources/fhirProvider/errors/index.d.ts +1 -1
- package/dist/cjs/api/resources/fhirProvider/errors/index.js +1 -1
- package/dist/cjs/api/resources/fhirProvider/index.d.ts +2 -2
- package/dist/cjs/api/resources/fhirProvider/index.js +2 -2
- package/dist/cjs/api/resources/fhirProvider/types/FhirProviderAuthConfig.d.ts +1 -1
- package/dist/cjs/api/resources/fhirProvider/types/FhirProviderListResponse.d.ts +1 -1
- package/dist/cjs/api/resources/fhirProvider/types/FhirProviderRemoveAuthConfigResponse.d.ts +1 -1
- package/dist/cjs/api/resources/fhirProvider/types/FhirProviderResponse.d.ts +1 -1
- package/dist/cjs/api/resources/fhirProvider/types/FhirProviderSetActiveAuthConfigResponse.d.ts +1 -1
- package/dist/cjs/api/resources/fhirProvider/types/FhirProviderTemplate.d.ts +1 -1
- package/dist/cjs/api/resources/fhirProvider/types/index.d.ts +7 -7
- package/dist/cjs/api/resources/fhirProvider/types/index.js +7 -7
- package/dist/cjs/api/resources/index.d.ts +1 -0
- package/dist/cjs/api/resources/index.js +2 -1
- package/dist/cjs/api/resources/lang2Fhir/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/lang2Fhir/client/Client.js +9 -13
- package/dist/cjs/api/resources/lang2Fhir/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/lang2Fhir/client/requests/index.d.ts +4 -4
- package/dist/cjs/api/resources/lang2Fhir/errors/BadRequestError.d.ts +1 -1
- package/dist/cjs/api/resources/lang2Fhir/errors/FailedDependencyError.d.ts +1 -1
- package/dist/cjs/api/resources/lang2Fhir/errors/ForbiddenError.d.ts +1 -1
- package/dist/cjs/api/resources/lang2Fhir/errors/InternalServerError.d.ts +1 -1
- package/dist/cjs/api/resources/lang2Fhir/errors/UnauthorizedError.d.ts +1 -1
- package/dist/cjs/api/resources/lang2Fhir/errors/index.d.ts +2 -2
- package/dist/cjs/api/resources/lang2Fhir/errors/index.js +2 -2
- package/dist/cjs/api/resources/lang2Fhir/index.d.ts +2 -2
- package/dist/cjs/api/resources/lang2Fhir/index.js +2 -2
- package/dist/cjs/api/resources/lang2Fhir/types/index.d.ts +1 -1
- package/dist/cjs/api/resources/lang2Fhir/types/index.js +1 -1
- package/dist/cjs/api/resources/summary/client/Client.d.ts +125 -0
- package/dist/cjs/api/resources/{workflows/resources/workflows → summary}/client/Client.js +136 -195
- package/dist/cjs/api/resources/{workflows/resources/workflows → summary}/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/summary/client/requests/CreateSummaryRequest.d.ts +37 -0
- package/dist/cjs/api/resources/summary/client/requests/CreateSummaryRequest.js +16 -0
- package/dist/cjs/api/resources/summary/client/requests/CreateSummaryTemplateRequest.d.ts +23 -0
- package/dist/cjs/api/resources/summary/client/requests/UpdateSummaryTemplateRequest.d.ts +18 -0
- package/dist/cjs/api/resources/summary/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/summary/errors/BadRequestError.d.ts +5 -0
- package/dist/cjs/api/resources/summary/errors/BadRequestError.js +50 -0
- package/dist/cjs/api/resources/summary/errors/ForbiddenError.d.ts +5 -0
- package/dist/cjs/api/resources/{workflows/resources/index.js → summary/errors/ForbiddenError.js} +15 -8
- package/dist/cjs/api/resources/summary/errors/InternalServerError.d.ts +5 -0
- package/dist/cjs/api/resources/summary/errors/InternalServerError.js +50 -0
- package/dist/cjs/api/resources/summary/errors/NotFoundError.d.ts +5 -0
- package/dist/cjs/api/resources/{workflows/resources/mcpServer/resources/index.js → summary/errors/NotFoundError.js} +15 -2
- package/dist/cjs/api/resources/summary/errors/UnauthorizedError.d.ts +5 -0
- package/dist/cjs/api/resources/summary/errors/UnauthorizedError.js +50 -0
- package/dist/cjs/api/resources/summary/errors/index.d.ts +5 -0
- package/dist/cjs/api/resources/{workflows/resources/mcpServer/resources/tools → summary/errors}/index.js +5 -1
- package/dist/cjs/api/resources/{workflows/resources/workflows → summary}/index.d.ts +2 -1
- package/dist/cjs/api/resources/{workflows/resources/workflows → summary}/index.js +2 -1
- package/dist/cjs/api/resources/summary/types/CreateSummaryResponse.d.ts +8 -0
- package/dist/cjs/api/resources/summary/types/CreateSummaryTemplateResponse.d.ts +7 -0
- package/dist/cjs/api/resources/summary/types/FhirBundle.d.ts +13 -0
- package/dist/cjs/api/resources/summary/types/FhirResource.d.ts +6 -0
- package/dist/cjs/api/resources/summary/types/SummaryDeleteTemplateResponse.d.ts +4 -0
- package/dist/cjs/api/resources/summary/types/SummaryGetTemplateResponse.d.ts +5 -0
- package/dist/cjs/api/resources/summary/types/SummaryListTemplatesResponse.d.ts +5 -0
- package/dist/cjs/api/resources/summary/types/SummaryTemplate.d.ts +15 -0
- package/dist/cjs/api/resources/summary/types/SummaryUpdateTemplateResponse.d.ts +6 -0
- package/dist/cjs/api/resources/summary/types/index.d.ts +9 -0
- package/dist/cjs/api/{types → resources/summary/types}/index.js +9 -7
- package/dist/cjs/api/resources/tools/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/tools/client/Client.js +8 -12
- package/dist/cjs/api/resources/tools/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/tools/client/requests/index.d.ts +3 -3
- package/dist/cjs/api/resources/tools/errors/BadRequestError.d.ts +1 -1
- package/dist/cjs/api/resources/tools/errors/FailedDependencyError.d.ts +1 -1
- package/dist/cjs/api/resources/tools/errors/ForbiddenError.d.ts +1 -1
- package/dist/cjs/api/resources/tools/errors/InternalServerError.d.ts +1 -1
- package/dist/cjs/api/resources/tools/errors/UnauthorizedError.d.ts +1 -1
- package/dist/cjs/api/resources/tools/errors/index.d.ts +2 -2
- package/dist/cjs/api/resources/tools/errors/index.js +2 -2
- package/dist/cjs/api/resources/tools/index.d.ts +2 -2
- package/dist/cjs/api/resources/tools/index.js +2 -2
- package/dist/cjs/api/resources/tools/resources/index.d.ts +1 -1
- package/dist/cjs/api/resources/tools/resources/index.js +4 -4
- package/dist/cjs/api/resources/tools/resources/mcpServer/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/tools/resources/mcpServer/client/Client.js +11 -15
- package/dist/cjs/api/resources/tools/resources/mcpServer/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/tools/resources/mcpServer/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/tools/resources/mcpServer/resources/index.d.ts +1 -1
- package/dist/cjs/api/resources/tools/resources/mcpServer/resources/index.js +4 -4
- package/dist/cjs/api/resources/tools/resources/mcpServer/resources/tools/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/tools/resources/mcpServer/resources/tools/client/Client.js +13 -17
- package/dist/cjs/api/resources/tools/resources/mcpServer/resources/tools/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/tools/resources/mcpServer/resources/tools/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/tools/types/CohortResponse.d.ts +1 -1
- package/dist/cjs/api/resources/tools/types/index.d.ts +1 -1
- package/dist/cjs/api/resources/tools/types/index.js +1 -1
- package/dist/cjs/api/resources/workflows/client/Client.d.ts +119 -17
- package/dist/cjs/api/resources/workflows/client/Client.js +399 -56
- package/dist/cjs/api/resources/workflows/client/index.d.ts +1 -1
- package/dist/cjs/api/resources/workflows/client/index.js +15 -0
- package/dist/cjs/api/resources/workflows/client/requests/WorkflowsListRequest.js +3 -0
- package/dist/cjs/api/resources/workflows/client/requests/index.d.ts +5 -0
- package/dist/cjs/api/resources/workflows/errors/BadRequestError.d.ts +1 -1
- package/dist/cjs/api/resources/workflows/errors/ForbiddenError.d.ts +1 -1
- package/dist/cjs/api/resources/workflows/errors/InternalServerError.d.ts +1 -1
- package/dist/cjs/api/resources/workflows/errors/NotFoundError.d.ts +1 -1
- package/dist/cjs/api/resources/workflows/errors/UnauthorizedError.d.ts +1 -1
- package/dist/cjs/api/resources/workflows/errors/index.d.ts +2 -2
- package/dist/cjs/api/resources/workflows/errors/index.js +2 -2
- package/dist/cjs/api/resources/workflows/index.d.ts +2 -3
- package/dist/cjs/api/resources/workflows/index.js +2 -3
- package/dist/cjs/api/resources/workflows/types/CreateWorkflowResponse.d.ts +1 -1
- package/dist/cjs/api/resources/workflows/types/ListWorkflowsResponse.d.ts +1 -1
- package/dist/cjs/api/resources/workflows/types/StepOperation.d.ts +1 -1
- package/dist/cjs/api/resources/workflows/types/WorkflowDefinition.d.ts +1 -1
- package/dist/cjs/api/resources/workflows/types/WorkflowGraph.d.ts +1 -1
- package/dist/cjs/api/resources/workflows/types/WorkflowResponse.d.ts +1 -1
- package/dist/cjs/api/resources/workflows/types/WorkflowStep.d.ts +1 -1
- package/dist/cjs/api/resources/workflows/types/WorkflowsDeleteResponse.js +3 -0
- package/dist/cjs/api/resources/workflows/{resources/workflows/types → types}/WorkflowsGetResponse.d.ts +1 -1
- package/dist/cjs/api/resources/workflows/types/WorkflowsGetResponse.js +3 -0
- package/dist/cjs/api/resources/workflows/{resources/workflows/types → types}/WorkflowsUpdateResponse.d.ts +1 -1
- package/dist/cjs/api/resources/workflows/types/WorkflowsUpdateResponse.js +3 -0
- package/dist/cjs/api/resources/workflows/types/index.d.ts +11 -8
- package/dist/cjs/api/resources/workflows/types/index.js +11 -8
- package/dist/cjs/core/fetcher/EndpointSupplier.d.ts +1 -1
- package/dist/cjs/core/fetcher/Fetcher.js +2 -1
- package/dist/cjs/core/fetcher/getErrorResponseBody.js +2 -1
- package/dist/cjs/core/fetcher/getResponseBody.js +3 -3
- package/dist/cjs/core/fetcher/makeRequest.js +2 -2
- package/dist/cjs/core/fetcher/requestWithRetries.js +3 -3
- package/dist/cjs/core/index.d.ts +2 -2
- package/dist/cjs/core/index.js +2 -2
- package/dist/cjs/core/url/encodePathParam.d.ts +1 -0
- package/dist/cjs/core/url/encodePathParam.js +21 -0
- package/dist/cjs/core/url/index.d.ts +1 -0
- package/dist/cjs/core/url/index.js +3 -1
- package/dist/cjs/core/url/join.js +3 -3
- package/dist/cjs/errors/phenomlError.d.ts +1 -1
- package/dist/cjs/errors/phenomlError.js +1 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.d.mts +3 -3
- package/dist/esm/BaseClient.mjs +1 -2
- package/dist/esm/Client.d.mts +5 -2
- package/dist/esm/Client.mjs +10 -6
- package/dist/esm/api/index.d.mts +0 -1
- package/dist/esm/api/index.mjs +0 -1
- package/dist/esm/api/resources/agent/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/agent/client/Client.mjs +23 -27
- package/dist/esm/api/resources/agent/client/index.d.mts +0 -1
- package/dist/esm/api/resources/agent/client/index.mjs +0 -1
- package/dist/esm/api/resources/agent/client/requests/AgentGetChatMessagesRequest.d.mts +1 -1
- package/dist/esm/api/resources/agent/client/requests/AgentGetChatMessagesRequest.mjs +1 -1
- package/dist/esm/api/resources/agent/client/requests/index.d.mts +3 -3
- package/dist/esm/api/resources/agent/client/requests/index.mjs +1 -3
- package/dist/esm/api/resources/agent/errors/BadRequestError.d.mts +1 -1
- package/dist/esm/api/resources/agent/errors/BadRequestError.mjs +0 -1
- package/dist/esm/api/resources/agent/errors/ForbiddenError.d.mts +1 -1
- package/dist/esm/api/resources/agent/errors/ForbiddenError.mjs +0 -1
- package/dist/esm/api/resources/agent/errors/InternalServerError.d.mts +1 -1
- package/dist/esm/api/resources/agent/errors/InternalServerError.mjs +0 -1
- package/dist/esm/api/resources/agent/errors/NotFoundError.d.mts +1 -1
- package/dist/esm/api/resources/agent/errors/NotFoundError.mjs +0 -1
- package/dist/esm/api/resources/agent/errors/UnauthorizedError.d.mts +1 -1
- package/dist/esm/api/resources/agent/errors/UnauthorizedError.mjs +0 -1
- package/dist/esm/api/resources/agent/errors/index.d.mts +1 -1
- package/dist/esm/api/resources/agent/errors/index.mjs +1 -1
- package/dist/esm/api/resources/agent/index.d.mts +3 -3
- package/dist/esm/api/resources/agent/index.mjs +3 -3
- package/dist/esm/api/resources/agent/resources/index.d.mts +1 -1
- package/dist/esm/api/resources/agent/resources/index.mjs +1 -1
- package/dist/esm/api/resources/agent/resources/prompts/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/agent/resources/prompts/client/Client.mjs +16 -20
- package/dist/esm/api/resources/agent/resources/prompts/client/index.d.mts +0 -1
- package/dist/esm/api/resources/agent/resources/prompts/client/index.mjs +0 -1
- package/dist/esm/api/resources/agent/resources/prompts/client/requests/index.d.mts +2 -2
- package/dist/esm/api/resources/agent/resources/prompts/client/requests/index.mjs +1 -2
- package/dist/esm/api/resources/agent/resources/prompts/index.d.mts +1 -1
- package/dist/esm/api/resources/agent/resources/prompts/index.mjs +1 -1
- package/dist/esm/api/resources/agent/resources/prompts/types/PromptsListResponse.d.mts +1 -1
- package/dist/esm/api/resources/agent/resources/prompts/types/PromptsListResponse.mjs +1 -1
- package/dist/esm/api/resources/agent/resources/prompts/types/index.d.mts +1 -1
- package/dist/esm/api/resources/agent/resources/prompts/types/index.mjs +1 -1
- package/dist/esm/api/resources/agent/types/AgentGetChatMessagesResponse.d.mts +1 -1
- package/dist/esm/api/resources/agent/types/AgentGetChatMessagesResponse.mjs +1 -1
- package/dist/esm/api/resources/agent/types/AgentListResponse.d.mts +1 -1
- package/dist/esm/api/resources/agent/types/AgentListResponse.mjs +1 -1
- package/dist/esm/api/resources/agent/types/AgentPromptsResponse.d.mts +1 -1
- package/dist/esm/api/resources/agent/types/AgentPromptsResponse.mjs +1 -1
- package/dist/esm/api/resources/agent/types/AgentResponse.d.mts +1 -1
- package/dist/esm/api/resources/agent/types/AgentResponse.mjs +1 -1
- package/dist/esm/api/resources/agent/types/JsonPatch.d.mts +1 -1
- package/dist/esm/api/resources/agent/types/JsonPatch.mjs +1 -1
- package/dist/esm/api/resources/agent/types/index.d.mts +7 -7
- package/dist/esm/api/resources/agent/types/index.mjs +7 -7
- package/dist/esm/api/resources/authtoken/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/authtoken/client/Client.mjs +1 -3
- package/dist/esm/api/resources/authtoken/errors/BadRequestError.d.mts +1 -1
- package/dist/esm/api/resources/authtoken/errors/BadRequestError.mjs +0 -1
- package/dist/esm/api/resources/authtoken/errors/UnauthorizedError.d.mts +1 -1
- package/dist/esm/api/resources/authtoken/errors/UnauthorizedError.mjs +0 -1
- package/dist/esm/api/resources/authtoken/index.d.mts +2 -2
- package/dist/esm/api/resources/authtoken/index.mjs +2 -2
- package/dist/esm/api/resources/authtoken/resources/auth/client/index.d.mts +0 -1
- package/dist/esm/api/resources/authtoken/resources/auth/client/index.mjs +0 -1
- package/dist/esm/api/resources/authtoken/resources/auth/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/authtoken/resources/auth/client/requests/index.mjs +1 -1
- package/dist/esm/api/resources/authtoken/resources/auth/index.d.mts +1 -1
- package/dist/esm/api/resources/authtoken/resources/auth/index.mjs +1 -1
- package/dist/esm/api/resources/authtoken/resources/index.d.mts +1 -1
- package/dist/esm/api/resources/authtoken/resources/index.mjs +1 -1
- package/dist/esm/api/resources/cohort/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/cohort/client/Client.mjs +6 -10
- package/dist/esm/api/resources/cohort/client/index.d.mts +0 -1
- package/dist/esm/api/resources/cohort/client/index.mjs +0 -1
- package/dist/esm/api/resources/cohort/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/cohort/client/requests/index.mjs +1 -1
- package/dist/esm/api/resources/cohort/errors/BadRequestError.d.mts +1 -1
- package/dist/esm/api/resources/cohort/errors/BadRequestError.mjs +0 -1
- package/dist/esm/api/resources/cohort/errors/InternalServerError.d.mts +1 -1
- package/dist/esm/api/resources/cohort/errors/InternalServerError.mjs +0 -1
- package/dist/esm/api/resources/cohort/errors/UnauthorizedError.d.mts +1 -1
- package/dist/esm/api/resources/cohort/errors/UnauthorizedError.mjs +0 -1
- package/dist/esm/api/resources/cohort/errors/index.d.mts +1 -1
- package/dist/esm/api/resources/cohort/errors/index.mjs +1 -1
- package/dist/esm/api/resources/cohort/index.d.mts +2 -2
- package/dist/esm/api/resources/cohort/index.mjs +2 -2
- package/dist/esm/api/resources/cohort/types/CohortResponse.d.mts +1 -1
- package/dist/esm/api/resources/cohort/types/CohortResponse.mjs +1 -1
- package/dist/esm/api/resources/construe/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/construe/client/Client.mjs +8 -12
- package/dist/esm/api/resources/construe/client/index.d.mts +0 -1
- package/dist/esm/api/resources/construe/client/index.mjs +0 -1
- package/dist/esm/api/resources/construe/client/requests/ExtractRequest.d.mts +1 -1
- package/dist/esm/api/resources/construe/client/requests/ExtractRequest.mjs +1 -1
- package/dist/esm/api/resources/construe/client/requests/index.d.mts +3 -3
- package/dist/esm/api/resources/construe/client/requests/index.mjs +1 -3
- package/dist/esm/api/resources/construe/errors/BadRequestError.d.mts +1 -1
- package/dist/esm/api/resources/construe/errors/BadRequestError.mjs +0 -1
- package/dist/esm/api/resources/construe/errors/ConflictError.d.mts +1 -1
- package/dist/esm/api/resources/construe/errors/ConflictError.mjs +0 -1
- package/dist/esm/api/resources/construe/errors/FailedDependencyError.d.mts +1 -1
- package/dist/esm/api/resources/construe/errors/FailedDependencyError.mjs +0 -1
- package/dist/esm/api/resources/construe/errors/InternalServerError.d.mts +1 -1
- package/dist/esm/api/resources/construe/errors/InternalServerError.mjs +0 -1
- package/dist/esm/api/resources/construe/errors/UnauthorizedError.d.mts +1 -1
- package/dist/esm/api/resources/construe/errors/UnauthorizedError.mjs +0 -1
- package/dist/esm/api/resources/construe/errors/index.d.mts +1 -1
- package/dist/esm/api/resources/construe/errors/index.mjs +1 -1
- package/dist/esm/api/resources/construe/index.d.mts +2 -2
- package/dist/esm/api/resources/construe/index.mjs +2 -2
- package/dist/esm/api/resources/construe/types/ExtractCodesResult.d.mts +1 -1
- package/dist/esm/api/resources/construe/types/ExtractCodesResult.mjs +1 -1
- package/dist/esm/api/resources/construe/types/index.d.mts +6 -6
- package/dist/esm/api/resources/construe/types/index.mjs +6 -6
- package/dist/esm/api/resources/fhir/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/fhir/client/Client.mjs +18 -22
- package/dist/esm/api/resources/fhir/client/index.d.mts +0 -1
- package/dist/esm/api/resources/fhir/client/index.mjs +0 -1
- package/dist/esm/api/resources/fhir/client/requests/FhirCreateRequest.d.mts +1 -1
- package/dist/esm/api/resources/fhir/client/requests/FhirCreateRequest.mjs +1 -1
- package/dist/esm/api/resources/fhir/client/requests/FhirExecuteBundleRequest.d.mts +1 -1
- package/dist/esm/api/resources/fhir/client/requests/FhirExecuteBundleRequest.mjs +1 -1
- package/dist/esm/api/resources/fhir/client/requests/FhirPatchRequest.d.mts +1 -1
- package/dist/esm/api/resources/fhir/client/requests/FhirPatchRequest.mjs +1 -1
- package/dist/esm/api/resources/fhir/client/requests/FhirUpsertRequest.d.mts +1 -1
- package/dist/esm/api/resources/fhir/client/requests/FhirUpsertRequest.mjs +1 -1
- package/dist/esm/api/resources/fhir/client/requests/index.d.mts +6 -6
- package/dist/esm/api/resources/fhir/client/requests/index.mjs +1 -6
- package/dist/esm/api/resources/fhir/errors/BadRequestError.d.mts +1 -1
- package/dist/esm/api/resources/fhir/errors/BadRequestError.mjs +0 -1
- package/dist/esm/api/resources/fhir/errors/InternalServerError.d.mts +1 -1
- package/dist/esm/api/resources/fhir/errors/InternalServerError.mjs +0 -1
- package/dist/esm/api/resources/fhir/errors/NotFoundError.d.mts +1 -1
- package/dist/esm/api/resources/fhir/errors/NotFoundError.mjs +0 -1
- package/dist/esm/api/resources/fhir/errors/UnauthorizedError.d.mts +1 -1
- package/dist/esm/api/resources/fhir/errors/UnauthorizedError.mjs +0 -1
- package/dist/esm/api/resources/fhir/errors/index.d.mts +2 -2
- package/dist/esm/api/resources/fhir/errors/index.mjs +2 -2
- package/dist/esm/api/resources/fhir/index.d.mts +2 -2
- package/dist/esm/api/resources/fhir/index.mjs +2 -2
- package/dist/esm/api/resources/fhir/types/FhirSearchResponse.d.mts +1 -1
- package/dist/esm/api/resources/fhir/types/FhirSearchResponse.mjs +1 -1
- package/dist/esm/api/resources/fhir/types/index.d.mts +3 -3
- package/dist/esm/api/resources/fhir/types/index.mjs +3 -3
- package/dist/esm/api/resources/fhirProvider/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/fhirProvider/client/Client.mjs +17 -21
- package/dist/esm/api/resources/fhirProvider/client/index.d.mts +0 -1
- package/dist/esm/api/resources/fhirProvider/client/index.mjs +0 -1
- package/dist/esm/api/resources/fhirProvider/client/requests/FhirProviderAddAuthConfigRequest.d.mts +1 -1
- package/dist/esm/api/resources/fhirProvider/client/requests/FhirProviderAddAuthConfigRequest.mjs +1 -1
- package/dist/esm/api/resources/fhirProvider/client/requests/FhirProviderCreateRequest.d.mts +1 -1
- package/dist/esm/api/resources/fhirProvider/client/requests/FhirProviderCreateRequest.mjs +1 -1
- package/dist/esm/api/resources/fhirProvider/client/requests/index.d.mts +4 -4
- package/dist/esm/api/resources/fhirProvider/client/requests/index.mjs +1 -4
- package/dist/esm/api/resources/fhirProvider/errors/BadRequestError.d.mts +1 -1
- package/dist/esm/api/resources/fhirProvider/errors/BadRequestError.mjs +0 -1
- package/dist/esm/api/resources/fhirProvider/errors/ForbiddenError.d.mts +1 -1
- package/dist/esm/api/resources/fhirProvider/errors/ForbiddenError.mjs +0 -1
- package/dist/esm/api/resources/fhirProvider/errors/InternalServerError.d.mts +1 -1
- package/dist/esm/api/resources/fhirProvider/errors/InternalServerError.mjs +0 -1
- package/dist/esm/api/resources/fhirProvider/errors/NotFoundError.d.mts +1 -1
- package/dist/esm/api/resources/fhirProvider/errors/NotFoundError.mjs +0 -1
- package/dist/esm/api/resources/fhirProvider/errors/UnauthorizedError.d.mts +1 -1
- package/dist/esm/api/resources/fhirProvider/errors/UnauthorizedError.mjs +0 -1
- package/dist/esm/api/resources/fhirProvider/errors/index.d.mts +1 -1
- package/dist/esm/api/resources/fhirProvider/errors/index.mjs +1 -1
- package/dist/esm/api/resources/fhirProvider/index.d.mts +2 -2
- package/dist/esm/api/resources/fhirProvider/index.mjs +2 -2
- package/dist/esm/api/resources/fhirProvider/types/FhirProviderAuthConfig.d.mts +1 -1
- package/dist/esm/api/resources/fhirProvider/types/FhirProviderAuthConfig.mjs +1 -1
- package/dist/esm/api/resources/fhirProvider/types/FhirProviderListResponse.d.mts +1 -1
- package/dist/esm/api/resources/fhirProvider/types/FhirProviderListResponse.mjs +1 -1
- package/dist/esm/api/resources/fhirProvider/types/FhirProviderRemoveAuthConfigResponse.d.mts +1 -1
- package/dist/esm/api/resources/fhirProvider/types/FhirProviderRemoveAuthConfigResponse.mjs +1 -1
- package/dist/esm/api/resources/fhirProvider/types/FhirProviderResponse.d.mts +1 -1
- package/dist/esm/api/resources/fhirProvider/types/FhirProviderResponse.mjs +1 -1
- package/dist/esm/api/resources/fhirProvider/types/FhirProviderSetActiveAuthConfigResponse.d.mts +1 -1
- package/dist/esm/api/resources/fhirProvider/types/FhirProviderSetActiveAuthConfigResponse.mjs +1 -1
- package/dist/esm/api/resources/fhirProvider/types/FhirProviderTemplate.d.mts +1 -1
- package/dist/esm/api/resources/fhirProvider/types/FhirProviderTemplate.mjs +1 -1
- package/dist/esm/api/resources/fhirProvider/types/index.d.mts +7 -7
- package/dist/esm/api/resources/fhirProvider/types/index.mjs +7 -7
- package/dist/esm/api/resources/index.d.mts +1 -0
- package/dist/esm/api/resources/index.mjs +1 -0
- package/dist/esm/api/resources/lang2Fhir/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/lang2Fhir/client/Client.mjs +9 -13
- package/dist/esm/api/resources/lang2Fhir/client/index.d.mts +0 -1
- package/dist/esm/api/resources/lang2Fhir/client/index.mjs +0 -1
- package/dist/esm/api/resources/lang2Fhir/client/requests/index.d.mts +4 -4
- package/dist/esm/api/resources/lang2Fhir/client/requests/index.mjs +1 -4
- package/dist/esm/api/resources/lang2Fhir/errors/BadRequestError.d.mts +1 -1
- package/dist/esm/api/resources/lang2Fhir/errors/BadRequestError.mjs +0 -1
- package/dist/esm/api/resources/lang2Fhir/errors/FailedDependencyError.d.mts +1 -1
- package/dist/esm/api/resources/lang2Fhir/errors/FailedDependencyError.mjs +0 -1
- package/dist/esm/api/resources/lang2Fhir/errors/ForbiddenError.d.mts +1 -1
- package/dist/esm/api/resources/lang2Fhir/errors/ForbiddenError.mjs +0 -1
- package/dist/esm/api/resources/lang2Fhir/errors/InternalServerError.d.mts +1 -1
- package/dist/esm/api/resources/lang2Fhir/errors/InternalServerError.mjs +0 -1
- package/dist/esm/api/resources/lang2Fhir/errors/UnauthorizedError.d.mts +1 -1
- package/dist/esm/api/resources/lang2Fhir/errors/UnauthorizedError.mjs +0 -1
- package/dist/esm/api/resources/lang2Fhir/errors/index.d.mts +2 -2
- package/dist/esm/api/resources/lang2Fhir/errors/index.mjs +2 -2
- package/dist/esm/api/resources/lang2Fhir/index.d.mts +2 -2
- package/dist/esm/api/resources/lang2Fhir/index.mjs +2 -2
- package/dist/esm/api/resources/lang2Fhir/types/index.d.mts +1 -1
- package/dist/esm/api/resources/lang2Fhir/types/index.mjs +1 -1
- package/dist/esm/api/resources/summary/client/Client.d.mts +125 -0
- package/dist/esm/api/resources/{workflows/resources/workflows → summary}/client/Client.mjs +134 -193
- package/dist/esm/api/resources/{workflows/resources/workflows → summary}/client/index.d.mts +0 -1
- package/dist/esm/api/resources/{workflows/resources/workflows → summary}/client/index.mjs +0 -1
- package/dist/esm/api/resources/summary/client/requests/CreateSummaryRequest.d.mts +37 -0
- package/dist/esm/api/resources/summary/client/requests/CreateSummaryRequest.mjs +13 -0
- package/dist/esm/api/resources/summary/client/requests/CreateSummaryTemplateRequest.d.mts +23 -0
- package/dist/esm/api/resources/summary/client/requests/UpdateSummaryTemplateRequest.d.mts +18 -0
- package/dist/esm/api/resources/summary/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/summary/errors/BadRequestError.d.mts +5 -0
- package/dist/esm/api/resources/summary/errors/BadRequestError.mjs +13 -0
- package/dist/esm/api/resources/summary/errors/ForbiddenError.d.mts +5 -0
- package/dist/esm/api/resources/summary/errors/ForbiddenError.mjs +13 -0
- package/dist/esm/api/resources/summary/errors/InternalServerError.d.mts +5 -0
- package/dist/esm/api/resources/summary/errors/InternalServerError.mjs +13 -0
- package/dist/esm/api/resources/summary/errors/NotFoundError.d.mts +5 -0
- package/dist/esm/api/resources/summary/errors/NotFoundError.mjs +13 -0
- package/dist/esm/api/resources/summary/errors/UnauthorizedError.d.mts +5 -0
- package/dist/esm/api/resources/summary/errors/UnauthorizedError.mjs +13 -0
- package/dist/esm/api/resources/summary/errors/index.d.mts +5 -0
- package/dist/esm/api/resources/summary/errors/index.mjs +5 -0
- package/dist/esm/api/resources/{workflows/resources/workflows → summary}/index.d.mts +2 -1
- package/dist/esm/api/resources/{workflows/resources/workflows → summary}/index.mjs +2 -1
- package/dist/esm/api/resources/summary/types/CreateSummaryResponse.d.mts +8 -0
- package/dist/esm/api/resources/summary/types/CreateSummaryTemplateResponse.d.mts +7 -0
- package/dist/esm/api/resources/summary/types/FhirBundle.d.mts +13 -0
- package/dist/esm/api/resources/summary/types/FhirResource.d.mts +6 -0
- package/dist/esm/api/resources/summary/types/SummaryDeleteTemplateResponse.d.mts +4 -0
- package/dist/esm/api/resources/summary/types/SummaryGetTemplateResponse.d.mts +5 -0
- package/dist/esm/api/resources/summary/types/SummaryListTemplatesResponse.d.mts +5 -0
- package/dist/esm/api/resources/summary/types/SummaryTemplate.d.mts +15 -0
- package/dist/esm/api/resources/summary/types/SummaryUpdateTemplateResponse.d.mts +6 -0
- package/dist/esm/api/resources/summary/types/index.d.mts +9 -0
- package/dist/esm/api/resources/summary/types/index.mjs +9 -0
- package/dist/esm/api/resources/tools/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/tools/client/Client.mjs +8 -12
- package/dist/esm/api/resources/tools/client/index.d.mts +0 -1
- package/dist/esm/api/resources/tools/client/index.mjs +0 -1
- package/dist/esm/api/resources/tools/client/requests/index.d.mts +3 -3
- package/dist/esm/api/resources/tools/client/requests/index.mjs +1 -3
- package/dist/esm/api/resources/tools/errors/BadRequestError.d.mts +1 -1
- package/dist/esm/api/resources/tools/errors/BadRequestError.mjs +0 -1
- package/dist/esm/api/resources/tools/errors/FailedDependencyError.d.mts +1 -1
- package/dist/esm/api/resources/tools/errors/FailedDependencyError.mjs +0 -1
- package/dist/esm/api/resources/tools/errors/ForbiddenError.d.mts +1 -1
- package/dist/esm/api/resources/tools/errors/ForbiddenError.mjs +0 -1
- package/dist/esm/api/resources/tools/errors/InternalServerError.d.mts +1 -1
- package/dist/esm/api/resources/tools/errors/InternalServerError.mjs +0 -1
- package/dist/esm/api/resources/tools/errors/UnauthorizedError.d.mts +1 -1
- package/dist/esm/api/resources/tools/errors/UnauthorizedError.mjs +0 -1
- package/dist/esm/api/resources/tools/errors/index.d.mts +2 -2
- package/dist/esm/api/resources/tools/errors/index.mjs +2 -2
- package/dist/esm/api/resources/tools/index.d.mts +2 -2
- package/dist/esm/api/resources/tools/index.mjs +2 -2
- package/dist/esm/api/resources/tools/resources/index.d.mts +1 -1
- package/dist/esm/api/resources/tools/resources/index.mjs +1 -1
- package/dist/esm/api/resources/tools/resources/mcpServer/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/tools/resources/mcpServer/client/Client.mjs +11 -15
- package/dist/esm/api/resources/tools/resources/mcpServer/client/index.d.mts +0 -1
- package/dist/esm/api/resources/tools/resources/mcpServer/client/index.mjs +0 -1
- package/dist/esm/api/resources/tools/resources/mcpServer/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/tools/resources/mcpServer/client/requests/index.mjs +1 -1
- package/dist/esm/api/resources/tools/resources/mcpServer/resources/index.d.mts +1 -1
- package/dist/esm/api/resources/tools/resources/mcpServer/resources/index.mjs +1 -1
- package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/client/Client.mjs +13 -17
- package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/client/index.d.mts +0 -1
- package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/client/index.mjs +0 -1
- package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/client/requests/index.mjs +1 -1
- package/dist/esm/api/resources/tools/types/CohortResponse.d.mts +1 -1
- package/dist/esm/api/resources/tools/types/CohortResponse.mjs +1 -1
- package/dist/esm/api/resources/tools/types/index.d.mts +1 -1
- package/dist/esm/api/resources/tools/types/index.mjs +1 -1
- package/dist/esm/api/resources/workflows/client/Client.d.mts +119 -17
- package/dist/esm/api/resources/workflows/client/Client.mjs +399 -56
- package/dist/esm/api/resources/workflows/client/index.d.mts +1 -1
- package/dist/esm/api/resources/workflows/client/index.mjs +1 -1
- package/dist/esm/api/resources/workflows/client/requests/UpdateWorkflowRequest.mjs +2 -0
- package/dist/esm/api/resources/workflows/client/requests/WorkflowsGetRequest.mjs +2 -0
- package/dist/esm/api/resources/workflows/client/requests/WorkflowsListRequest.mjs +2 -0
- package/dist/esm/api/resources/workflows/client/requests/index.d.mts +5 -0
- package/dist/esm/api/resources/workflows/errors/BadRequestError.d.mts +1 -1
- package/dist/esm/api/resources/workflows/errors/BadRequestError.mjs +0 -1
- package/dist/esm/api/resources/workflows/errors/ForbiddenError.d.mts +1 -1
- package/dist/esm/api/resources/workflows/errors/ForbiddenError.mjs +0 -1
- package/dist/esm/api/resources/workflows/errors/InternalServerError.d.mts +1 -1
- package/dist/esm/api/resources/workflows/errors/InternalServerError.mjs +0 -1
- package/dist/esm/api/resources/workflows/errors/NotFoundError.d.mts +1 -1
- package/dist/esm/api/resources/workflows/errors/NotFoundError.mjs +0 -1
- package/dist/esm/api/resources/workflows/errors/UnauthorizedError.d.mts +1 -1
- package/dist/esm/api/resources/workflows/errors/UnauthorizedError.mjs +0 -1
- package/dist/esm/api/resources/workflows/errors/index.d.mts +2 -2
- package/dist/esm/api/resources/workflows/errors/index.mjs +2 -2
- package/dist/esm/api/resources/workflows/index.d.mts +2 -3
- package/dist/esm/api/resources/workflows/index.mjs +2 -3
- package/dist/esm/api/resources/workflows/types/CreateWorkflowResponse.d.mts +1 -1
- package/dist/esm/api/resources/workflows/types/CreateWorkflowResponse.mjs +1 -1
- package/dist/esm/api/resources/workflows/types/ListWorkflowsResponse.d.mts +1 -1
- package/dist/esm/api/resources/workflows/types/ListWorkflowsResponse.mjs +1 -1
- package/dist/esm/api/resources/workflows/types/StepOperation.d.mts +1 -1
- package/dist/esm/api/resources/workflows/types/StepOperation.mjs +1 -1
- package/dist/esm/api/resources/workflows/types/WorkflowDefinition.d.mts +1 -1
- package/dist/esm/api/resources/workflows/types/WorkflowDefinition.mjs +1 -1
- package/dist/esm/api/resources/workflows/types/WorkflowGraph.d.mts +1 -1
- package/dist/esm/api/resources/workflows/types/WorkflowGraph.mjs +1 -1
- package/dist/esm/api/resources/workflows/types/WorkflowResponse.d.mts +1 -1
- package/dist/esm/api/resources/workflows/types/WorkflowResponse.mjs +1 -1
- package/dist/esm/api/resources/workflows/types/WorkflowStep.d.mts +1 -1
- package/dist/esm/api/resources/workflows/types/WorkflowStep.mjs +0 -1
- package/dist/esm/api/resources/workflows/types/WorkflowsDeleteResponse.mjs +2 -0
- package/dist/esm/api/resources/workflows/{resources/workflows/types → types}/WorkflowsGetResponse.d.mts +1 -1
- package/dist/esm/api/resources/workflows/types/WorkflowsGetResponse.mjs +2 -0
- package/dist/esm/api/resources/workflows/{resources/workflows/types → types}/WorkflowsUpdateResponse.d.mts +1 -1
- package/dist/esm/api/resources/workflows/types/WorkflowsUpdateResponse.mjs +2 -0
- package/dist/esm/api/resources/workflows/types/index.d.mts +11 -8
- package/dist/esm/api/resources/workflows/types/index.mjs +11 -8
- package/dist/esm/core/fetcher/EndpointSupplier.d.mts +1 -1
- package/dist/esm/core/fetcher/EndpointSupplier.mjs +0 -1
- package/dist/esm/core/fetcher/Fetcher.mjs +2 -1
- package/dist/esm/core/fetcher/getErrorResponseBody.mjs +2 -1
- package/dist/esm/core/fetcher/getResponseBody.mjs +3 -3
- package/dist/esm/core/fetcher/makeRequest.mjs +2 -2
- package/dist/esm/core/fetcher/requestWithRetries.mjs +3 -3
- package/dist/esm/core/index.d.mts +2 -2
- package/dist/esm/core/index.mjs +2 -2
- package/dist/esm/core/url/encodePathParam.d.mts +1 -0
- package/dist/esm/core/url/encodePathParam.mjs +18 -0
- package/dist/esm/core/url/index.d.mts +1 -0
- package/dist/esm/core/url/index.mjs +1 -0
- package/dist/esm/core/url/join.mjs +3 -3
- package/dist/esm/errors/phenomlError.d.mts +1 -1
- package/dist/esm/errors/phenomlError.mjs +1 -2
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +16 -15
- package/reference.md +636 -766
- package/dist/cjs/api/resources/workflows/resources/index.d.ts +0 -4
- package/dist/cjs/api/resources/workflows/resources/mcpServer/client/Client.d.ts +0 -50
- package/dist/cjs/api/resources/workflows/resources/mcpServer/client/Client.js +0 -268
- package/dist/cjs/api/resources/workflows/resources/mcpServer/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/workflows/resources/mcpServer/index.d.ts +0 -2
- package/dist/cjs/api/resources/workflows/resources/mcpServer/index.js +0 -18
- package/dist/cjs/api/resources/workflows/resources/mcpServer/resources/index.d.ts +0 -1
- package/dist/cjs/api/resources/workflows/resources/mcpServer/resources/tools/client/Client.d.ts +0 -49
- package/dist/cjs/api/resources/workflows/resources/mcpServer/resources/tools/client/Client.js +0 -265
- package/dist/cjs/api/resources/workflows/resources/mcpServer/resources/tools/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/workflows/resources/mcpServer/resources/tools/index.d.ts +0 -1
- package/dist/cjs/api/resources/workflows/resources/workflows/client/Client.d.ts +0 -145
- package/dist/cjs/api/resources/workflows/resources/workflows/client/requests/index.d.ts +0 -5
- package/dist/cjs/api/resources/workflows/resources/workflows/client/requests/index.js +0 -2
- package/dist/cjs/api/resources/workflows/resources/workflows/types/index.d.ts +0 -3
- package/dist/cjs/api/resources/workflows/resources/workflows/types/index.js +0 -19
- package/dist/cjs/api/types/CohortResponse.d.ts +0 -1
- package/dist/cjs/api/types/Lang2FhirAndCreateResponse.d.ts +0 -1
- package/dist/cjs/api/types/Lang2FhirAndSearchResponse.d.ts +0 -1
- package/dist/cjs/api/types/McpServerResponse.d.ts +0 -1
- package/dist/cjs/api/types/McpServerToolCallResponse.d.ts +0 -1
- package/dist/cjs/api/types/McpServerToolResponse.d.ts +0 -1
- package/dist/cjs/api/types/SearchConcept.d.ts +0 -1
- package/dist/cjs/api/types/index.d.ts +0 -7
- package/dist/esm/api/resources/workflows/resources/index.d.mts +0 -4
- package/dist/esm/api/resources/workflows/resources/index.mjs +0 -4
- package/dist/esm/api/resources/workflows/resources/mcpServer/client/Client.d.mts +0 -50
- package/dist/esm/api/resources/workflows/resources/mcpServer/client/Client.mjs +0 -231
- package/dist/esm/api/resources/workflows/resources/mcpServer/client/index.d.mts +0 -1
- package/dist/esm/api/resources/workflows/resources/mcpServer/index.d.mts +0 -2
- package/dist/esm/api/resources/workflows/resources/mcpServer/index.mjs +0 -2
- package/dist/esm/api/resources/workflows/resources/mcpServer/resources/index.d.mts +0 -1
- package/dist/esm/api/resources/workflows/resources/mcpServer/resources/index.mjs +0 -1
- package/dist/esm/api/resources/workflows/resources/mcpServer/resources/tools/client/Client.d.mts +0 -49
- package/dist/esm/api/resources/workflows/resources/mcpServer/resources/tools/client/Client.mjs +0 -228
- package/dist/esm/api/resources/workflows/resources/mcpServer/resources/tools/client/index.d.mts +0 -1
- package/dist/esm/api/resources/workflows/resources/mcpServer/resources/tools/index.d.mts +0 -1
- package/dist/esm/api/resources/workflows/resources/mcpServer/resources/tools/index.mjs +0 -1
- package/dist/esm/api/resources/workflows/resources/workflows/client/Client.d.mts +0 -145
- package/dist/esm/api/resources/workflows/resources/workflows/client/requests/index.d.mts +0 -5
- package/dist/esm/api/resources/workflows/resources/workflows/client/requests/index.mjs +0 -5
- package/dist/esm/api/resources/workflows/resources/workflows/types/WorkflowsGetResponse.mjs +0 -2
- package/dist/esm/api/resources/workflows/resources/workflows/types/WorkflowsUpdateResponse.mjs +0 -2
- package/dist/esm/api/resources/workflows/resources/workflows/types/index.d.mts +0 -3
- package/dist/esm/api/resources/workflows/resources/workflows/types/index.mjs +0 -3
- package/dist/esm/api/types/CohortResponse.d.mts +0 -1
- package/dist/esm/api/types/Lang2FhirAndCreateResponse.d.mts +0 -1
- package/dist/esm/api/types/Lang2FhirAndSearchResponse.d.mts +0 -1
- package/dist/esm/api/types/McpServerResponse.d.mts +0 -1
- package/dist/esm/api/types/McpServerToolCallResponse.d.mts +0 -1
- package/dist/esm/api/types/McpServerToolResponse.d.mts +0 -1
- package/dist/esm/api/types/SearchConcept.d.mts +0 -1
- package/dist/esm/api/types/index.d.mts +0 -7
- package/dist/esm/api/types/index.mjs +0 -7
- /package/dist/cjs/api/resources/{workflows/resources/workflows → summary}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{workflows/resources/workflows/client/requests/CreateWorkflowRequest.js → summary/client/requests/CreateSummaryTemplateRequest.js} +0 -0
- /package/dist/cjs/api/resources/{workflows/resources/workflows/client/requests/ExecuteWorkflowRequest.js → summary/client/requests/UpdateSummaryTemplateRequest.js} +0 -0
- /package/dist/cjs/api/resources/{workflows/resources/mcpServer/client → summary/client/requests}/index.js +0 -0
- /package/dist/cjs/api/resources/{workflows/resources/workflows/client/requests/UpdateWorkflowRequest.js → summary/types/CreateSummaryResponse.js} +0 -0
- /package/dist/cjs/api/resources/{workflows/resources/workflows/client/requests/WorkflowsGetRequest.js → summary/types/CreateSummaryTemplateResponse.js} +0 -0
- /package/dist/cjs/api/resources/{workflows/resources/workflows/client/requests/WorkflowsListRequest.js → summary/types/FhirBundle.js} +0 -0
- /package/dist/cjs/api/resources/{workflows/resources/workflows/types/WorkflowsDeleteResponse.js → summary/types/FhirResource.js} +0 -0
- /package/dist/cjs/api/resources/{workflows/resources/workflows/types/WorkflowsGetResponse.js → summary/types/SummaryDeleteTemplateResponse.js} +0 -0
- /package/dist/cjs/api/resources/{workflows/resources/workflows/types/WorkflowsUpdateResponse.js → summary/types/SummaryGetTemplateResponse.js} +0 -0
- /package/dist/cjs/api/{types/CohortResponse.js → resources/summary/types/SummaryListTemplatesResponse.js} +0 -0
- /package/dist/cjs/api/{types/Lang2FhirAndCreateResponse.js → resources/summary/types/SummaryTemplate.js} +0 -0
- /package/dist/cjs/api/{types/Lang2FhirAndSearchResponse.js → resources/summary/types/SummaryUpdateTemplateResponse.js} +0 -0
- /package/dist/cjs/api/resources/workflows/{resources/workflows/client → client}/requests/CreateWorkflowRequest.d.ts +0 -0
- /package/dist/cjs/api/{types/McpServerResponse.js → resources/workflows/client/requests/CreateWorkflowRequest.js} +0 -0
- /package/dist/cjs/api/resources/workflows/{resources/workflows/client → client}/requests/ExecuteWorkflowRequest.d.ts +0 -0
- /package/dist/cjs/api/{types/McpServerToolCallResponse.js → resources/workflows/client/requests/ExecuteWorkflowRequest.js} +0 -0
- /package/dist/cjs/api/resources/workflows/{resources/workflows/client → client}/requests/UpdateWorkflowRequest.d.ts +0 -0
- /package/dist/cjs/api/{types/McpServerToolResponse.js → resources/workflows/client/requests/UpdateWorkflowRequest.js} +0 -0
- /package/dist/cjs/api/resources/workflows/{resources/workflows/client → client}/requests/WorkflowsGetRequest.d.ts +0 -0
- /package/dist/cjs/api/{types/SearchConcept.js → resources/workflows/client/requests/WorkflowsGetRequest.js} +0 -0
- /package/dist/cjs/api/resources/workflows/{resources/workflows/client → client}/requests/WorkflowsListRequest.d.ts +0 -0
- /package/dist/cjs/api/resources/workflows/{resources/mcpServer/resources/tools/client → client/requests}/index.js +0 -0
- /package/dist/cjs/api/resources/workflows/{resources/workflows/types → types}/WorkflowsDeleteResponse.d.ts +0 -0
- /package/dist/esm/api/resources/{workflows/resources/workflows/client/requests/CreateWorkflowRequest.mjs → summary/client/requests/CreateSummaryTemplateRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{workflows/resources/workflows/client/requests/ExecuteWorkflowRequest.mjs → summary/client/requests/UpdateSummaryTemplateRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{workflows/resources/mcpServer/client → summary/client/requests}/index.mjs +0 -0
- /package/dist/esm/api/resources/{workflows/resources/workflows/client/requests/UpdateWorkflowRequest.mjs → summary/types/CreateSummaryResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{workflows/resources/workflows/client/requests/WorkflowsGetRequest.mjs → summary/types/CreateSummaryTemplateResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{workflows/resources/workflows/client/requests/WorkflowsListRequest.mjs → summary/types/FhirBundle.mjs} +0 -0
- /package/dist/esm/api/resources/{workflows/resources/workflows/types/WorkflowsDeleteResponse.mjs → summary/types/FhirResource.mjs} +0 -0
- /package/dist/esm/api/{types/CohortResponse.mjs → resources/summary/types/SummaryDeleteTemplateResponse.mjs} +0 -0
- /package/dist/esm/api/{types/Lang2FhirAndCreateResponse.mjs → resources/summary/types/SummaryGetTemplateResponse.mjs} +0 -0
- /package/dist/esm/api/{types/Lang2FhirAndSearchResponse.mjs → resources/summary/types/SummaryListTemplatesResponse.mjs} +0 -0
- /package/dist/esm/api/{types/McpServerResponse.mjs → resources/summary/types/SummaryTemplate.mjs} +0 -0
- /package/dist/esm/api/{types/McpServerToolCallResponse.mjs → resources/summary/types/SummaryUpdateTemplateResponse.mjs} +0 -0
- /package/dist/esm/api/resources/workflows/{resources/workflows/client → client}/requests/CreateWorkflowRequest.d.mts +0 -0
- /package/dist/esm/api/{types/McpServerToolResponse.mjs → resources/workflows/client/requests/CreateWorkflowRequest.mjs} +0 -0
- /package/dist/esm/api/resources/workflows/{resources/workflows/client → client}/requests/ExecuteWorkflowRequest.d.mts +0 -0
- /package/dist/esm/api/{types/SearchConcept.mjs → resources/workflows/client/requests/ExecuteWorkflowRequest.mjs} +0 -0
- /package/dist/esm/api/resources/workflows/{resources/workflows/client → client}/requests/UpdateWorkflowRequest.d.mts +0 -0
- /package/dist/esm/api/resources/workflows/{resources/workflows/client → client}/requests/WorkflowsGetRequest.d.mts +0 -0
- /package/dist/esm/api/resources/workflows/{resources/workflows/client → client}/requests/WorkflowsListRequest.d.mts +0 -0
- /package/dist/esm/api/resources/workflows/{resources/mcpServer/resources/tools/client → client/requests}/index.mjs +0 -0
- /package/dist/esm/api/resources/workflows/{resources/workflows/types → types}/WorkflowsDeleteResponse.d.mts +0 -0
|
@@ -8,14 +8,14 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
|
-
import
|
|
11
|
+
import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../core/headers.mjs";
|
|
12
12
|
import * as core from "../../../../core/index.mjs";
|
|
13
|
-
import * as phenoml from "../../../index.mjs";
|
|
14
13
|
import { toJson } from "../../../../core/json.mjs";
|
|
15
|
-
import
|
|
14
|
+
import * as environments from "../../../../environments.mjs";
|
|
16
15
|
import * as errors from "../../../../errors/index.mjs";
|
|
16
|
+
import * as phenoml from "../../../index.mjs";
|
|
17
17
|
export class Fhir {
|
|
18
|
-
constructor(_options
|
|
18
|
+
constructor(_options) {
|
|
19
19
|
this._options = _options;
|
|
20
20
|
}
|
|
21
21
|
/**
|
|
@@ -53,14 +53,14 @@ export class Fhir {
|
|
|
53
53
|
const { query_parameters: queryParameters, "X-Phenoml-On-Behalf-Of": phenomlOnBehalfOf } = request;
|
|
54
54
|
const _queryParams = {};
|
|
55
55
|
if (queryParameters != null) {
|
|
56
|
-
_queryParams
|
|
56
|
+
_queryParams.query_parameters = toJson(queryParameters);
|
|
57
57
|
}
|
|
58
|
-
|
|
58
|
+
const _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({
|
|
59
59
|
Authorization: yield this._getAuthorizationHeader(),
|
|
60
60
|
"X-Phenoml-On-Behalf-Of": phenomlOnBehalfOf != null ? phenomlOnBehalfOf : undefined,
|
|
61
61
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
62
62
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
63
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `fhir-provider/${
|
|
63
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `fhir-provider/${core.url.encodePathParam(fhirProviderId)}/fhir/${core.url.encodePathParam(fhirPath)}`),
|
|
64
64
|
method: "GET",
|
|
65
65
|
headers: _headers,
|
|
66
66
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
@@ -151,12 +151,12 @@ export class Fhir {
|
|
|
151
151
|
return __awaiter(this, void 0, void 0, function* () {
|
|
152
152
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
153
153
|
const { "X-Phenoml-On-Behalf-Of": phenomlOnBehalfOf, body: _body } = request;
|
|
154
|
-
|
|
154
|
+
const _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({
|
|
155
155
|
Authorization: yield this._getAuthorizationHeader(),
|
|
156
156
|
"X-Phenoml-On-Behalf-Of": phenomlOnBehalfOf != null ? phenomlOnBehalfOf : undefined,
|
|
157
157
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
158
158
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
159
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `fhir-provider/${
|
|
159
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `fhir-provider/${core.url.encodePathParam(fhirProviderId)}/fhir/${core.url.encodePathParam(fhirPath)}`),
|
|
160
160
|
method: "POST",
|
|
161
161
|
headers: _headers,
|
|
162
162
|
contentType: "application/fhir+json",
|
|
@@ -250,12 +250,12 @@ export class Fhir {
|
|
|
250
250
|
return __awaiter(this, void 0, void 0, function* () {
|
|
251
251
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
252
252
|
const { "X-Phenoml-On-Behalf-Of": phenomlOnBehalfOf, body: _body } = request;
|
|
253
|
-
|
|
253
|
+
const _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({
|
|
254
254
|
Authorization: yield this._getAuthorizationHeader(),
|
|
255
255
|
"X-Phenoml-On-Behalf-Of": phenomlOnBehalfOf != null ? phenomlOnBehalfOf : undefined,
|
|
256
256
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
257
257
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
258
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `fhir-provider/${
|
|
258
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `fhir-provider/${core.url.encodePathParam(fhirProviderId)}/fhir/${core.url.encodePathParam(fhirPath)}`),
|
|
259
259
|
method: "PUT",
|
|
260
260
|
headers: _headers,
|
|
261
261
|
contentType: "application/fhir+json",
|
|
@@ -335,12 +335,12 @@ export class Fhir {
|
|
|
335
335
|
return __awaiter(this, arguments, void 0, function* (fhirProviderId, fhirPath, request = {}, requestOptions) {
|
|
336
336
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
337
337
|
const { "X-Phenoml-On-Behalf-Of": phenomlOnBehalfOf } = request;
|
|
338
|
-
|
|
338
|
+
const _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({
|
|
339
339
|
Authorization: yield this._getAuthorizationHeader(),
|
|
340
340
|
"X-Phenoml-On-Behalf-Of": phenomlOnBehalfOf != null ? phenomlOnBehalfOf : undefined,
|
|
341
341
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
342
342
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
343
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `fhir-provider/${
|
|
343
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `fhir-provider/${core.url.encodePathParam(fhirProviderId)}/fhir/${core.url.encodePathParam(fhirPath)}`),
|
|
344
344
|
method: "DELETE",
|
|
345
345
|
headers: _headers,
|
|
346
346
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
@@ -477,12 +477,12 @@ export class Fhir {
|
|
|
477
477
|
return __awaiter(this, void 0, void 0, function* () {
|
|
478
478
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
479
479
|
const { "X-Phenoml-On-Behalf-Of": phenomlOnBehalfOf, body: _body } = request;
|
|
480
|
-
|
|
480
|
+
const _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({
|
|
481
481
|
Authorization: yield this._getAuthorizationHeader(),
|
|
482
482
|
"X-Phenoml-On-Behalf-Of": phenomlOnBehalfOf != null ? phenomlOnBehalfOf : undefined,
|
|
483
483
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
484
484
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
485
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `fhir-provider/${
|
|
485
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `fhir-provider/${core.url.encodePathParam(fhirProviderId)}/fhir/${core.url.encodePathParam(fhirPath)}`),
|
|
486
486
|
method: "PATCH",
|
|
487
487
|
headers: _headers,
|
|
488
488
|
contentType: "application/json-patch+json",
|
|
@@ -592,12 +592,12 @@ export class Fhir {
|
|
|
592
592
|
return __awaiter(this, void 0, void 0, function* () {
|
|
593
593
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
594
594
|
const { "X-Phenoml-On-Behalf-Of": phenomlOnBehalfOf, body: _body } = request;
|
|
595
|
-
|
|
595
|
+
const _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({
|
|
596
596
|
Authorization: yield this._getAuthorizationHeader(),
|
|
597
597
|
"X-Phenoml-On-Behalf-Of": phenomlOnBehalfOf != null ? phenomlOnBehalfOf : undefined,
|
|
598
598
|
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
599
599
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
600
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `fhir-provider/${
|
|
600
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `fhir-provider/${core.url.encodePathParam(fhirProviderId)}/fhir`),
|
|
601
601
|
method: "POST",
|
|
602
602
|
headers: _headers,
|
|
603
603
|
contentType: "application/fhir+json",
|
|
@@ -646,11 +646,7 @@ export class Fhir {
|
|
|
646
646
|
}
|
|
647
647
|
_getAuthorizationHeader() {
|
|
648
648
|
return __awaiter(this, void 0, void 0, function* () {
|
|
649
|
-
|
|
650
|
-
if (bearer != null) {
|
|
651
|
-
return `Bearer ${bearer}`;
|
|
652
|
-
}
|
|
653
|
-
return undefined;
|
|
649
|
+
return `Bearer ${yield core.Supplier.get(this._options.token)}`;
|
|
654
650
|
});
|
|
655
651
|
}
|
|
656
652
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
|
|
2
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
|
|
2
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
|
|
2
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
|
|
2
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
1
|
+
export type { FhirCreateRequest } from "./FhirCreateRequest.mjs";
|
|
2
|
+
export type { FhirDeleteRequest } from "./FhirDeleteRequest.mjs";
|
|
3
|
+
export type { FhirExecuteBundleRequest } from "./FhirExecuteBundleRequest.mjs";
|
|
4
|
+
export type { FhirPatchRequest } from "./FhirPatchRequest.mjs";
|
|
5
|
+
export type { FhirSearchRequest } from "./FhirSearchRequest.mjs";
|
|
6
|
+
export type { FhirUpsertRequest } from "./FhirUpsertRequest.mjs";
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
export {}
|
|
2
|
-
export {} from "./FhirCreateRequest.mjs";
|
|
3
|
-
export {} from "./FhirUpsertRequest.mjs";
|
|
4
|
-
export {} from "./FhirDeleteRequest.mjs";
|
|
5
|
-
export {} from "./FhirPatchRequest.mjs";
|
|
6
|
-
export {} from "./FhirExecuteBundleRequest.mjs";
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type * as core from "../../../../core/index.mjs";
|
|
1
2
|
import * as errors from "../../../../errors/index.mjs";
|
|
2
|
-
import * as core from "../../../../core/index.mjs";
|
|
3
3
|
export declare class BadRequestError extends errors.phenomlError {
|
|
4
4
|
constructor(body?: unknown, rawResponse?: core.RawResponse);
|
|
5
5
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as errors from "../../../../errors/index.mjs";
|
|
3
|
-
import * as core from "../../../../core/index.mjs";
|
|
4
3
|
export class BadRequestError extends errors.phenomlError {
|
|
5
4
|
constructor(body, rawResponse) {
|
|
6
5
|
super({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type * as core from "../../../../core/index.mjs";
|
|
1
2
|
import * as errors from "../../../../errors/index.mjs";
|
|
2
|
-
import * as core from "../../../../core/index.mjs";
|
|
3
3
|
export declare class InternalServerError extends errors.phenomlError {
|
|
4
4
|
constructor(body?: unknown, rawResponse?: core.RawResponse);
|
|
5
5
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as errors from "../../../../errors/index.mjs";
|
|
3
|
-
import * as core from "../../../../core/index.mjs";
|
|
4
3
|
export class InternalServerError extends errors.phenomlError {
|
|
5
4
|
constructor(body, rawResponse) {
|
|
6
5
|
super({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type * as core from "../../../../core/index.mjs";
|
|
1
2
|
import * as errors from "../../../../errors/index.mjs";
|
|
2
|
-
import * as core from "../../../../core/index.mjs";
|
|
3
3
|
export declare class NotFoundError extends errors.phenomlError {
|
|
4
4
|
constructor(body?: unknown, rawResponse?: core.RawResponse);
|
|
5
5
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as errors from "../../../../errors/index.mjs";
|
|
3
|
-
import * as core from "../../../../core/index.mjs";
|
|
4
3
|
export class NotFoundError extends errors.phenomlError {
|
|
5
4
|
constructor(body, rawResponse) {
|
|
6
5
|
super({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type * as core from "../../../../core/index.mjs";
|
|
1
2
|
import * as errors from "../../../../errors/index.mjs";
|
|
2
|
-
import * as core from "../../../../core/index.mjs";
|
|
3
3
|
export declare class UnauthorizedError extends errors.phenomlError {
|
|
4
4
|
constructor(body?: unknown, rawResponse?: core.RawResponse);
|
|
5
5
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as errors from "../../../../errors/index.mjs";
|
|
3
|
-
import * as core from "../../../../core/index.mjs";
|
|
4
3
|
export class UnauthorizedError extends errors.phenomlError {
|
|
5
4
|
constructor(body, rawResponse) {
|
|
6
5
|
super({
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import * as phenoml from "../../../index.mjs";
|
|
1
|
+
import type * as phenoml from "../../../index.mjs";
|
|
2
2
|
export type FhirSearchResponse = phenoml.fhir.FhirBundle | phenoml.fhir.FhirResource;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
|
|
2
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from "./
|
|
2
|
-
export * from "./FhirPatchRequestBodyItem.mjs";
|
|
1
|
+
export * from "./ErrorResponse.mjs";
|
|
3
2
|
export * from "./FhirBundle.mjs";
|
|
3
|
+
export * from "./FhirPatchRequestBodyItem.mjs";
|
|
4
4
|
export * from "./FhirResource.mjs";
|
|
5
|
-
export * from "./
|
|
5
|
+
export * from "./FhirSearchResponse.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from "./
|
|
2
|
-
export * from "./FhirPatchRequestBodyItem.mjs";
|
|
1
|
+
export * from "./ErrorResponse.mjs";
|
|
3
2
|
export * from "./FhirBundle.mjs";
|
|
3
|
+
export * from "./FhirPatchRequestBodyItem.mjs";
|
|
4
4
|
export * from "./FhirResource.mjs";
|
|
5
|
-
export * from "./
|
|
5
|
+
export * from "./FhirSearchResponse.mjs";
|
|
@@ -9,7 +9,7 @@ export declare namespace FhirProvider {
|
|
|
9
9
|
}
|
|
10
10
|
export declare class FhirProvider {
|
|
11
11
|
protected readonly _options: FhirProvider.Options;
|
|
12
|
-
constructor(_options
|
|
12
|
+
constructor(_options: FhirProvider.Options);
|
|
13
13
|
/**
|
|
14
14
|
* Creates a new FHIR provider configuration with authentication credentials
|
|
15
15
|
*
|
|
@@ -137,5 +137,5 @@ export declare class FhirProvider {
|
|
|
137
137
|
*/
|
|
138
138
|
removeAuthConfig(fhirProviderId: string, request: phenoml.fhirProvider.FhirProviderRemoveAuthConfigRequest, requestOptions?: FhirProvider.RequestOptions): core.HttpResponsePromise<phenoml.fhirProvider.FhirProviderRemoveAuthConfigResponse>;
|
|
139
139
|
private __removeAuthConfig;
|
|
140
|
-
protected _getAuthorizationHeader(): Promise<string
|
|
140
|
+
protected _getAuthorizationHeader(): Promise<string>;
|
|
141
141
|
}
|
|
@@ -8,13 +8,13 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
|
-
import * as environments from "../../../../environments.mjs";
|
|
12
|
-
import * as core from "../../../../core/index.mjs";
|
|
13
|
-
import * as phenoml from "../../../index.mjs";
|
|
14
11
|
import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../core/headers.mjs";
|
|
12
|
+
import * as core from "../../../../core/index.mjs";
|
|
13
|
+
import * as environments from "../../../../environments.mjs";
|
|
15
14
|
import * as errors from "../../../../errors/index.mjs";
|
|
15
|
+
import * as phenoml from "../../../index.mjs";
|
|
16
16
|
export class FhirProvider {
|
|
17
|
-
constructor(_options
|
|
17
|
+
constructor(_options) {
|
|
18
18
|
this._options = _options;
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
@@ -42,7 +42,7 @@ export class FhirProvider {
|
|
|
42
42
|
__create(request, requestOptions) {
|
|
43
43
|
return __awaiter(this, void 0, void 0, function* () {
|
|
44
44
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
45
|
-
|
|
45
|
+
const _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
46
46
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
47
47
|
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, "fhir-provider/create"),
|
|
48
48
|
method: "POST",
|
|
@@ -114,7 +114,7 @@ export class FhirProvider {
|
|
|
114
114
|
__list(requestOptions) {
|
|
115
115
|
return __awaiter(this, void 0, void 0, function* () {
|
|
116
116
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
117
|
-
|
|
117
|
+
const _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
118
118
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
119
119
|
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, "fhir-provider/list"),
|
|
120
120
|
method: "GET",
|
|
@@ -183,9 +183,9 @@ export class FhirProvider {
|
|
|
183
183
|
__get(fhirProviderId, requestOptions) {
|
|
184
184
|
return __awaiter(this, void 0, void 0, function* () {
|
|
185
185
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
186
|
-
|
|
186
|
+
const _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
187
187
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
188
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `fhir-provider/${
|
|
188
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `fhir-provider/${core.url.encodePathParam(fhirProviderId)}`),
|
|
189
189
|
method: "GET",
|
|
190
190
|
headers: _headers,
|
|
191
191
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
@@ -254,9 +254,9 @@ export class FhirProvider {
|
|
|
254
254
|
__delete(fhirProviderId, requestOptions) {
|
|
255
255
|
return __awaiter(this, void 0, void 0, function* () {
|
|
256
256
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
257
|
-
|
|
257
|
+
const _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
258
258
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
259
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `fhir-provider/${
|
|
259
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `fhir-provider/${core.url.encodePathParam(fhirProviderId)}`),
|
|
260
260
|
method: "DELETE",
|
|
261
261
|
headers: _headers,
|
|
262
262
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
@@ -329,9 +329,9 @@ export class FhirProvider {
|
|
|
329
329
|
__addAuthConfig(fhirProviderId, request, requestOptions) {
|
|
330
330
|
return __awaiter(this, void 0, void 0, function* () {
|
|
331
331
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
332
|
-
|
|
332
|
+
const _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
333
333
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
334
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `fhir-provider/${
|
|
334
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `fhir-provider/${core.url.encodePathParam(fhirProviderId)}/add-auth-config`),
|
|
335
335
|
method: "PATCH",
|
|
336
336
|
headers: _headers,
|
|
337
337
|
contentType: "application/json",
|
|
@@ -409,9 +409,9 @@ export class FhirProvider {
|
|
|
409
409
|
__setActiveAuthConfig(fhirProviderId, request, requestOptions) {
|
|
410
410
|
return __awaiter(this, void 0, void 0, function* () {
|
|
411
411
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
412
|
-
|
|
412
|
+
const _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
413
413
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
414
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `fhir-provider/${
|
|
414
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `fhir-provider/${core.url.encodePathParam(fhirProviderId)}/set-active-auth-config`),
|
|
415
415
|
method: "PATCH",
|
|
416
416
|
headers: _headers,
|
|
417
417
|
contentType: "application/json",
|
|
@@ -489,9 +489,9 @@ export class FhirProvider {
|
|
|
489
489
|
__removeAuthConfig(fhirProviderId, request, requestOptions) {
|
|
490
490
|
return __awaiter(this, void 0, void 0, function* () {
|
|
491
491
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
492
|
-
|
|
492
|
+
const _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
493
493
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
494
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `fhir-provider/${
|
|
494
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.phenomlEnvironment.Default, `fhir-provider/${core.url.encodePathParam(fhirProviderId)}/remove-auth-config`),
|
|
495
495
|
method: "PATCH",
|
|
496
496
|
headers: _headers,
|
|
497
497
|
contentType: "application/json",
|
|
@@ -547,11 +547,7 @@ export class FhirProvider {
|
|
|
547
547
|
}
|
|
548
548
|
_getAuthorizationHeader() {
|
|
549
549
|
return __awaiter(this, void 0, void 0, function* () {
|
|
550
|
-
|
|
551
|
-
if (bearer != null) {
|
|
552
|
-
return `Bearer ${bearer}`;
|
|
553
|
-
}
|
|
554
|
-
return undefined;
|
|
550
|
+
return `Bearer ${yield core.Supplier.get(this._options.token)}`;
|
|
555
551
|
});
|
|
556
552
|
}
|
|
557
553
|
}
|
package/dist/esm/api/resources/fhirProvider/client/requests/FhirProviderAddAuthConfigRequest.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
|
|
2
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
|
|
2
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
1
|
+
export type { FhirProviderAddAuthConfigRequest } from "./FhirProviderAddAuthConfigRequest.mjs";
|
|
2
|
+
export type { FhirProviderCreateRequest } from "./FhirProviderCreateRequest.mjs";
|
|
3
|
+
export type { FhirProviderRemoveAuthConfigRequest } from "./FhirProviderRemoveAuthConfigRequest.mjs";
|
|
4
|
+
export type { FhirProviderSetActiveAuthConfigRequest } from "./FhirProviderSetActiveAuthConfigRequest.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type * as core from "../../../../core/index.mjs";
|
|
1
2
|
import * as errors from "../../../../errors/index.mjs";
|
|
2
|
-
import * as core from "../../../../core/index.mjs";
|
|
3
3
|
export declare class BadRequestError extends errors.phenomlError {
|
|
4
4
|
constructor(body?: unknown, rawResponse?: core.RawResponse);
|
|
5
5
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as errors from "../../../../errors/index.mjs";
|
|
3
|
-
import * as core from "../../../../core/index.mjs";
|
|
4
3
|
export class BadRequestError extends errors.phenomlError {
|
|
5
4
|
constructor(body, rawResponse) {
|
|
6
5
|
super({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type * as core from "../../../../core/index.mjs";
|
|
1
2
|
import * as errors from "../../../../errors/index.mjs";
|
|
2
|
-
import * as core from "../../../../core/index.mjs";
|
|
3
3
|
export declare class ForbiddenError extends errors.phenomlError {
|
|
4
4
|
constructor(body?: unknown, rawResponse?: core.RawResponse);
|
|
5
5
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as errors from "../../../../errors/index.mjs";
|
|
3
|
-
import * as core from "../../../../core/index.mjs";
|
|
4
3
|
export class ForbiddenError extends errors.phenomlError {
|
|
5
4
|
constructor(body, rawResponse) {
|
|
6
5
|
super({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type * as core from "../../../../core/index.mjs";
|
|
1
2
|
import * as errors from "../../../../errors/index.mjs";
|
|
2
|
-
import * as core from "../../../../core/index.mjs";
|
|
3
3
|
export declare class InternalServerError extends errors.phenomlError {
|
|
4
4
|
constructor(body?: unknown, rawResponse?: core.RawResponse);
|
|
5
5
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as errors from "../../../../errors/index.mjs";
|
|
3
|
-
import * as core from "../../../../core/index.mjs";
|
|
4
3
|
export class InternalServerError extends errors.phenomlError {
|
|
5
4
|
constructor(body, rawResponse) {
|
|
6
5
|
super({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type * as core from "../../../../core/index.mjs";
|
|
1
2
|
import * as errors from "../../../../errors/index.mjs";
|
|
2
|
-
import * as core from "../../../../core/index.mjs";
|
|
3
3
|
export declare class NotFoundError extends errors.phenomlError {
|
|
4
4
|
constructor(body?: unknown, rawResponse?: core.RawResponse);
|
|
5
5
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as errors from "../../../../errors/index.mjs";
|
|
3
|
-
import * as core from "../../../../core/index.mjs";
|
|
4
3
|
export class NotFoundError extends errors.phenomlError {
|
|
5
4
|
constructor(body, rawResponse) {
|
|
6
5
|
super({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type * as core from "../../../../core/index.mjs";
|
|
1
2
|
import * as errors from "../../../../errors/index.mjs";
|
|
2
|
-
import * as core from "../../../../core/index.mjs";
|
|
3
3
|
export declare class UnauthorizedError extends errors.phenomlError {
|
|
4
4
|
constructor(body?: unknown, rawResponse?: core.RawResponse);
|
|
5
5
|
}
|