phenoml 0.0.4 → 0.0.7
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 +27 -0
- package/dist/cjs/BaseClient.js +3 -0
- package/dist/cjs/Client.d.ts +6 -24
- package/dist/cjs/Client.js +8 -5
- package/dist/cjs/api/resources/agent/client/Client.d.ts +11 -25
- package/dist/cjs/api/resources/agent/client/Client.js +33 -29
- package/dist/cjs/api/resources/agent/client/requests/AgentChatRequest.d.ts +0 -3
- package/dist/cjs/api/resources/agent/client/requests/AgentChatRequest.js +1 -3
- package/dist/cjs/api/resources/agent/client/requests/AgentGetChatMessagesRequest.d.ts +4 -4
- package/dist/cjs/api/resources/agent/client/requests/AgentGetChatMessagesRequest.js +1 -3
- package/dist/cjs/api/resources/agent/client/requests/AgentListRequest.d.ts +4 -4
- package/dist/cjs/api/resources/agent/client/requests/AgentListRequest.js +1 -3
- package/dist/cjs/api/resources/agent/errors/BadRequestError.d.ts +0 -3
- package/dist/cjs/api/resources/agent/errors/BadRequestError.js +1 -3
- package/dist/cjs/api/resources/agent/errors/ForbiddenError.d.ts +0 -3
- package/dist/cjs/api/resources/agent/errors/ForbiddenError.js +1 -3
- package/dist/cjs/api/resources/agent/errors/InternalServerError.d.ts +0 -3
- package/dist/cjs/api/resources/agent/errors/InternalServerError.js +1 -3
- package/dist/cjs/api/resources/agent/errors/NotFoundError.d.ts +0 -3
- package/dist/cjs/api/resources/agent/errors/NotFoundError.js +1 -3
- package/dist/cjs/api/resources/agent/errors/UnauthorizedError.d.ts +0 -3
- package/dist/cjs/api/resources/agent/errors/UnauthorizedError.js +1 -3
- package/dist/cjs/api/resources/agent/resources/prompts/client/Client.d.ts +3 -23
- package/dist/cjs/api/resources/agent/resources/prompts/client/Client.js +22 -24
- package/dist/cjs/api/resources/agent/resources/prompts/client/requests/AgentPromptsCreateRequest.d.ts +0 -3
- package/dist/cjs/api/resources/agent/resources/prompts/client/requests/AgentPromptsCreateRequest.js +1 -3
- package/dist/cjs/api/resources/agent/resources/prompts/client/requests/AgentPromptsUpdateRequest.d.ts +0 -3
- package/dist/cjs/api/resources/agent/resources/prompts/client/requests/AgentPromptsUpdateRequest.js +1 -3
- package/dist/cjs/api/resources/agent/resources/prompts/types/PromptsDeleteResponse.d.ts +0 -3
- package/dist/cjs/api/resources/agent/resources/prompts/types/PromptsDeleteResponse.js +1 -3
- package/dist/cjs/api/resources/agent/resources/prompts/types/PromptsListResponse.d.ts +0 -3
- package/dist/cjs/api/resources/agent/resources/prompts/types/PromptsListResponse.js +1 -3
- package/dist/cjs/api/resources/agent/types/AgentChatResponse.d.ts +0 -3
- package/dist/cjs/api/resources/agent/types/AgentChatResponse.js +1 -3
- package/dist/cjs/api/resources/agent/types/AgentCreateRequest.d.ts +0 -3
- package/dist/cjs/api/resources/agent/types/AgentCreateRequest.js +1 -3
- package/dist/cjs/api/resources/agent/types/AgentDeleteResponse.d.ts +0 -3
- package/dist/cjs/api/resources/agent/types/AgentDeleteResponse.js +1 -3
- package/dist/cjs/api/resources/agent/types/AgentGetChatMessagesRequestOrder.d.ts +1 -4
- package/dist/cjs/api/resources/agent/types/AgentGetChatMessagesRequestOrder.js +1 -3
- package/dist/cjs/api/resources/agent/types/AgentGetChatMessagesResponse.d.ts +0 -3
- package/dist/cjs/api/resources/agent/types/AgentGetChatMessagesResponse.js +1 -3
- package/dist/cjs/api/resources/agent/types/AgentListResponse.d.ts +0 -3
- package/dist/cjs/api/resources/agent/types/AgentListResponse.js +1 -3
- package/dist/cjs/api/resources/agent/types/AgentPromptsResponse.d.ts +0 -3
- package/dist/cjs/api/resources/agent/types/AgentPromptsResponse.js +1 -3
- package/dist/cjs/api/resources/agent/types/AgentResponse.d.ts +0 -3
- package/dist/cjs/api/resources/agent/types/AgentResponse.js +1 -3
- package/dist/cjs/api/resources/agent/types/AgentTemplate.d.ts +0 -3
- package/dist/cjs/api/resources/agent/types/AgentTemplate.js +1 -3
- package/dist/cjs/api/resources/agent/types/ChatMessageTemplate.d.ts +0 -3
- package/dist/cjs/api/resources/agent/types/ChatMessageTemplate.js +1 -3
- package/dist/cjs/api/resources/agent/types/ChatSessionTemplate.d.ts +0 -3
- package/dist/cjs/api/resources/agent/types/ChatSessionTemplate.js +1 -3
- package/dist/cjs/api/resources/agent/types/JsonPatch.d.ts +0 -3
- package/dist/cjs/api/resources/agent/types/JsonPatch.js +1 -3
- package/dist/cjs/api/resources/agent/types/JsonPatchOperation.d.ts +3 -7
- package/dist/cjs/api/resources/agent/types/JsonPatchOperation.js +2 -3
- package/dist/cjs/api/resources/agent/types/PromptTemplate.d.ts +0 -3
- package/dist/cjs/api/resources/agent/types/PromptTemplate.js +1 -3
- package/dist/cjs/api/resources/agent/types/SuccessResponse.d.ts +0 -3
- package/dist/cjs/api/resources/agent/types/SuccessResponse.js +1 -3
- package/dist/cjs/api/resources/authtoken/client/Client.d.ts +2 -13
- package/dist/cjs/api/resources/authtoken/client/Client.js +1 -3
- package/dist/cjs/api/resources/authtoken/errors/BadRequestError.d.ts +0 -3
- package/dist/cjs/api/resources/authtoken/errors/BadRequestError.js +1 -3
- package/dist/cjs/api/resources/authtoken/errors/UnauthorizedError.d.ts +0 -3
- package/dist/cjs/api/resources/authtoken/errors/UnauthorizedError.js +1 -3
- package/dist/cjs/api/resources/authtoken/resources/auth/client/requests/AuthGenerateTokenRequest.d.ts +0 -3
- package/dist/cjs/api/resources/authtoken/resources/auth/client/requests/AuthGenerateTokenRequest.js +1 -3
- package/dist/cjs/api/resources/authtoken/resources/auth/types/AuthGenerateTokenResponse.d.ts +0 -3
- package/dist/cjs/api/resources/authtoken/resources/auth/types/AuthGenerateTokenResponse.js +1 -3
- package/dist/cjs/api/resources/authtoken/types/BadRequestErrorBody.d.ts +0 -3
- package/dist/cjs/api/resources/authtoken/types/BadRequestErrorBody.js +1 -3
- package/dist/cjs/api/resources/authtoken/types/UnauthorizedErrorBody.d.ts +0 -3
- package/dist/cjs/api/resources/authtoken/types/UnauthorizedErrorBody.js +1 -3
- package/dist/cjs/api/resources/cohort/client/Client.d.ts +3 -23
- package/dist/cjs/api/resources/cohort/client/Client.js +4 -6
- package/dist/cjs/api/resources/cohort/client/requests/CohortRequest.d.ts +0 -3
- package/dist/cjs/api/resources/cohort/client/requests/CohortRequest.js +1 -3
- package/dist/cjs/api/resources/cohort/errors/BadRequestError.d.ts +0 -3
- package/dist/cjs/api/resources/cohort/errors/BadRequestError.js +1 -3
- package/dist/cjs/api/resources/cohort/errors/InternalServerError.d.ts +0 -3
- package/dist/cjs/api/resources/cohort/errors/InternalServerError.js +1 -3
- package/dist/cjs/api/resources/cohort/errors/UnauthorizedError.d.ts +0 -3
- package/dist/cjs/api/resources/cohort/errors/UnauthorizedError.js +1 -3
- package/dist/cjs/api/resources/cohort/types/CohortResponse.d.ts +0 -3
- package/dist/cjs/api/resources/cohort/types/CohortResponse.js +1 -3
- package/dist/cjs/api/resources/cohort/types/SearchConcept.d.ts +0 -3
- package/dist/cjs/api/resources/cohort/types/SearchConcept.js +1 -3
- package/dist/cjs/api/resources/construe/client/Client.d.ts +3 -23
- package/dist/cjs/api/resources/construe/client/Client.js +10 -12
- package/dist/cjs/api/resources/construe/client/requests/ConstrueCohortRequest.d.ts +0 -3
- package/dist/cjs/api/resources/construe/client/requests/ConstrueCohortRequest.js +1 -3
- package/dist/cjs/api/resources/construe/client/requests/ExtractRequest.d.ts +0 -3
- package/dist/cjs/api/resources/construe/client/requests/ExtractRequest.js +1 -3
- package/dist/cjs/api/resources/construe/client/requests/UploadRequest.d.ts +2 -7
- package/dist/cjs/api/resources/construe/client/requests/UploadRequest.js +2 -3
- package/dist/cjs/api/resources/construe/errors/BadRequestError.d.ts +0 -3
- package/dist/cjs/api/resources/construe/errors/BadRequestError.js +1 -3
- package/dist/cjs/api/resources/construe/errors/ConflictError.d.ts +0 -3
- package/dist/cjs/api/resources/construe/errors/ConflictError.js +1 -3
- package/dist/cjs/api/resources/construe/errors/FailedDependencyError.d.ts +0 -3
- package/dist/cjs/api/resources/construe/errors/FailedDependencyError.js +1 -3
- package/dist/cjs/api/resources/construe/errors/InternalServerError.d.ts +0 -3
- package/dist/cjs/api/resources/construe/errors/InternalServerError.js +1 -3
- package/dist/cjs/api/resources/construe/errors/UnauthorizedError.d.ts +0 -3
- package/dist/cjs/api/resources/construe/errors/UnauthorizedError.js +1 -3
- package/dist/cjs/api/resources/construe/types/BadRequestErrorBody.d.ts +0 -3
- package/dist/cjs/api/resources/construe/types/BadRequestErrorBody.js +1 -3
- package/dist/cjs/api/resources/construe/types/ConstrueCohortResponse.d.ts +0 -3
- package/dist/cjs/api/resources/construe/types/ConstrueCohortResponse.js +1 -3
- package/dist/cjs/api/resources/construe/types/ConstrueUploadCodeSystemResponse.d.ts +0 -3
- package/dist/cjs/api/resources/construe/types/ConstrueUploadCodeSystemResponse.js +1 -3
- package/dist/cjs/api/resources/construe/types/ExtractCodesResult.d.ts +0 -3
- package/dist/cjs/api/resources/construe/types/ExtractCodesResult.js +1 -3
- package/dist/cjs/api/resources/construe/types/ExtractRequestConfig.d.ts +1 -4
- package/dist/cjs/api/resources/construe/types/ExtractRequestConfig.js +1 -3
- package/dist/cjs/api/resources/construe/types/ExtractRequestSystem.d.ts +0 -3
- package/dist/cjs/api/resources/construe/types/ExtractRequestSystem.js +1 -3
- package/dist/cjs/api/resources/construe/types/ExtractedCodeResult.d.ts +0 -3
- package/dist/cjs/api/resources/construe/types/ExtractedCodeResult.js +1 -3
- package/dist/cjs/api/resources/construe/types/InternalServerErrorBody.d.ts +0 -3
- package/dist/cjs/api/resources/construe/types/InternalServerErrorBody.js +1 -3
- package/dist/cjs/api/resources/construe/types/UnauthorizedErrorBody.d.ts +0 -3
- package/dist/cjs/api/resources/construe/types/UnauthorizedErrorBody.js +1 -3
- package/dist/cjs/api/resources/fhir/client/Client.d.ts +26 -25
- package/dist/cjs/api/resources/fhir/client/Client.js +42 -23
- package/dist/cjs/api/resources/fhir/client/requests/FhirCreateRequest.d.ts +11 -4
- package/dist/cjs/api/resources/fhir/client/requests/FhirCreateRequest.js +1 -3
- package/dist/cjs/api/resources/fhir/client/requests/FhirDeleteRequest.d.ts +0 -3
- package/dist/cjs/api/resources/fhir/client/requests/FhirDeleteRequest.js +1 -3
- package/dist/cjs/api/resources/fhir/client/requests/FhirExecuteBundleRequest.d.ts +0 -3
- package/dist/cjs/api/resources/fhir/client/requests/FhirExecuteBundleRequest.js +1 -3
- package/dist/cjs/api/resources/fhir/client/requests/FhirPatchRequest.d.ts +0 -3
- package/dist/cjs/api/resources/fhir/client/requests/FhirPatchRequest.js +1 -3
- package/dist/cjs/api/resources/fhir/client/requests/FhirSearchRequest.d.ts +0 -3
- package/dist/cjs/api/resources/fhir/client/requests/FhirSearchRequest.js +1 -3
- package/dist/cjs/api/resources/fhir/client/requests/FhirUpsertRequest.d.ts +12 -4
- package/dist/cjs/api/resources/fhir/client/requests/FhirUpsertRequest.js +1 -3
- package/dist/cjs/api/resources/fhir/errors/BadRequestError.d.ts +0 -3
- package/dist/cjs/api/resources/fhir/errors/BadRequestError.js +1 -3
- package/dist/cjs/api/resources/fhir/errors/InternalServerError.d.ts +0 -3
- package/dist/cjs/api/resources/fhir/errors/InternalServerError.js +1 -3
- package/dist/cjs/api/resources/fhir/errors/NotFoundError.d.ts +0 -3
- package/dist/cjs/api/resources/fhir/errors/NotFoundError.js +1 -3
- package/dist/cjs/api/resources/fhir/errors/UnauthorizedError.d.ts +0 -3
- package/dist/cjs/api/resources/fhir/errors/UnauthorizedError.js +1 -3
- package/dist/cjs/api/resources/fhir/types/ErrorResponse.d.ts +0 -3
- package/dist/cjs/api/resources/fhir/types/ErrorResponse.js +1 -3
- package/dist/cjs/api/resources/fhir/types/FhirBundle.d.ts +1 -4
- package/dist/cjs/api/resources/fhir/types/FhirBundle.js +1 -3
- package/dist/cjs/api/resources/fhir/types/FhirPatchRequestBodyItem.d.ts +3 -7
- package/dist/cjs/api/resources/fhir/types/FhirPatchRequestBodyItem.js +2 -3
- package/dist/cjs/api/resources/fhir/types/FhirResource.d.ts +0 -3
- package/dist/cjs/api/resources/fhir/types/FhirResource.js +1 -3
- package/dist/cjs/api/resources/fhir/types/FhirSearchResponse.d.ts +0 -3
- package/dist/cjs/api/resources/fhir/types/FhirSearchResponse.js +1 -3
- package/dist/cjs/api/resources/fhirProvider/client/Client.d.ts +3 -23
- package/dist/cjs/api/resources/fhirProvider/client/Client.js +22 -24
- package/dist/cjs/api/resources/fhirProvider/client/requests/FhirProviderAddAuthConfigRequest.d.ts +0 -3
- package/dist/cjs/api/resources/fhirProvider/client/requests/FhirProviderAddAuthConfigRequest.js +1 -3
- package/dist/cjs/api/resources/fhirProvider/client/requests/FhirProviderCreateRequest.d.ts +0 -3
- package/dist/cjs/api/resources/fhirProvider/client/requests/FhirProviderCreateRequest.js +1 -3
- package/dist/cjs/api/resources/fhirProvider/client/requests/FhirProviderRemoveAuthConfigRequest.d.ts +0 -3
- package/dist/cjs/api/resources/fhirProvider/client/requests/FhirProviderRemoveAuthConfigRequest.js +1 -3
- package/dist/cjs/api/resources/fhirProvider/client/requests/FhirProviderSetActiveAuthConfigRequest.d.ts +0 -3
- package/dist/cjs/api/resources/fhirProvider/client/requests/FhirProviderSetActiveAuthConfigRequest.js +1 -3
- package/dist/cjs/api/resources/fhirProvider/errors/BadRequestError.d.ts +0 -3
- package/dist/cjs/api/resources/fhirProvider/errors/BadRequestError.js +1 -3
- package/dist/cjs/api/resources/fhirProvider/errors/ForbiddenError.d.ts +0 -3
- package/dist/cjs/api/resources/fhirProvider/errors/ForbiddenError.js +1 -3
- package/dist/cjs/api/resources/fhirProvider/errors/InternalServerError.d.ts +0 -3
- package/dist/cjs/api/resources/fhirProvider/errors/InternalServerError.js +1 -3
- package/dist/cjs/api/resources/fhirProvider/errors/NotFoundError.d.ts +0 -3
- package/dist/cjs/api/resources/fhirProvider/errors/NotFoundError.js +1 -3
- package/dist/cjs/api/resources/fhirProvider/errors/UnauthorizedError.d.ts +0 -3
- package/dist/cjs/api/resources/fhirProvider/errors/UnauthorizedError.js +1 -3
- package/dist/cjs/api/resources/fhirProvider/types/AuthMethod.d.ts +2 -7
- package/dist/cjs/api/resources/fhirProvider/types/AuthMethod.js +2 -3
- package/dist/cjs/api/resources/fhirProvider/types/FhirProviderAuthConfig.d.ts +0 -3
- package/dist/cjs/api/resources/fhirProvider/types/FhirProviderAuthConfig.js +1 -3
- package/dist/cjs/api/resources/fhirProvider/types/FhirProviderDeleteResponse.d.ts +0 -3
- package/dist/cjs/api/resources/fhirProvider/types/FhirProviderDeleteResponse.js +1 -3
- package/dist/cjs/api/resources/fhirProvider/types/FhirProviderListResponse.d.ts +0 -3
- package/dist/cjs/api/resources/fhirProvider/types/FhirProviderListResponse.js +1 -3
- package/dist/cjs/api/resources/fhirProvider/types/FhirProviderRemoveAuthConfigResponse.d.ts +0 -3
- package/dist/cjs/api/resources/fhirProvider/types/FhirProviderRemoveAuthConfigResponse.js +1 -3
- package/dist/cjs/api/resources/fhirProvider/types/FhirProviderResponse.d.ts +0 -3
- package/dist/cjs/api/resources/fhirProvider/types/FhirProviderResponse.js +1 -3
- package/dist/cjs/api/resources/fhirProvider/types/FhirProviderSetActiveAuthConfigResponse.d.ts +0 -3
- package/dist/cjs/api/resources/fhirProvider/types/FhirProviderSetActiveAuthConfigResponse.js +1 -3
- package/dist/cjs/api/resources/fhirProvider/types/FhirProviderTemplate.d.ts +0 -3
- package/dist/cjs/api/resources/fhirProvider/types/FhirProviderTemplate.js +1 -3
- package/dist/cjs/api/resources/fhirProvider/types/FhirQueryResponse.d.ts +0 -3
- package/dist/cjs/api/resources/fhirProvider/types/FhirQueryResponse.js +1 -3
- package/dist/cjs/api/resources/fhirProvider/types/JsonWebKey.d.ts +0 -3
- package/dist/cjs/api/resources/fhirProvider/types/JsonWebKey.js +1 -3
- package/dist/cjs/api/resources/fhirProvider/types/Provider.d.ts +2 -7
- package/dist/cjs/api/resources/fhirProvider/types/Provider.js +2 -3
- package/dist/cjs/api/resources/fhirProvider/types/ServiceAccountKey.d.ts +0 -3
- package/dist/cjs/api/resources/fhirProvider/types/ServiceAccountKey.js +1 -3
- package/dist/cjs/api/resources/fhirProvider/types/SmartConfiguration.d.ts +0 -3
- package/dist/cjs/api/resources/fhirProvider/types/SmartConfiguration.js +1 -3
- 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 +3 -23
- package/dist/cjs/api/resources/lang2Fhir/client/Client.js +13 -15
- package/dist/cjs/api/resources/lang2Fhir/client/requests/CreateRequest.d.ts +2 -7
- package/dist/cjs/api/resources/lang2Fhir/client/requests/CreateRequest.js +2 -3
- package/dist/cjs/api/resources/lang2Fhir/client/requests/DocumentRequest.d.ts +4 -11
- package/dist/cjs/api/resources/lang2Fhir/client/requests/DocumentRequest.js +3 -3
- package/dist/cjs/api/resources/lang2Fhir/client/requests/ProfileUploadRequest.d.ts +0 -3
- package/dist/cjs/api/resources/lang2Fhir/client/requests/ProfileUploadRequest.js +1 -3
- package/dist/cjs/api/resources/lang2Fhir/client/requests/SearchRequest.d.ts +0 -3
- package/dist/cjs/api/resources/lang2Fhir/client/requests/SearchRequest.js +1 -3
- package/dist/cjs/api/resources/lang2Fhir/errors/BadRequestError.d.ts +0 -3
- package/dist/cjs/api/resources/lang2Fhir/errors/BadRequestError.js +1 -3
- package/dist/cjs/api/resources/lang2Fhir/errors/FailedDependencyError.d.ts +0 -3
- package/dist/cjs/api/resources/lang2Fhir/errors/FailedDependencyError.js +1 -3
- package/dist/cjs/api/resources/lang2Fhir/errors/ForbiddenError.d.ts +0 -3
- package/dist/cjs/api/resources/lang2Fhir/errors/ForbiddenError.js +1 -3
- package/dist/cjs/api/resources/lang2Fhir/errors/InternalServerError.d.ts +0 -3
- package/dist/cjs/api/resources/lang2Fhir/errors/InternalServerError.js +1 -3
- package/dist/cjs/api/resources/lang2Fhir/errors/UnauthorizedError.d.ts +0 -3
- package/dist/cjs/api/resources/lang2Fhir/errors/UnauthorizedError.js +1 -3
- package/dist/cjs/api/resources/lang2Fhir/types/FhirResource.d.ts +0 -3
- package/dist/cjs/api/resources/lang2Fhir/types/FhirResource.js +1 -3
- package/dist/cjs/api/resources/lang2Fhir/types/Lang2FhirUploadProfileResponse.d.ts +0 -3
- package/dist/cjs/api/resources/lang2Fhir/types/Lang2FhirUploadProfileResponse.js +1 -3
- package/dist/cjs/api/resources/lang2Fhir/types/SearchResponse.d.ts +0 -3
- package/dist/cjs/api/resources/lang2Fhir/types/SearchResponse.js +1 -3
- package/dist/cjs/api/resources/tools/client/Client.d.ts +3 -23
- package/dist/cjs/api/resources/tools/client/Client.js +10 -12
- package/dist/cjs/api/resources/tools/client/requests/CohortRequest.d.ts +0 -3
- package/dist/cjs/api/resources/tools/client/requests/CohortRequest.js +1 -3
- package/dist/cjs/api/resources/tools/client/requests/Lang2FhirAndCreateRequest.d.ts +2 -7
- package/dist/cjs/api/resources/tools/client/requests/Lang2FhirAndCreateRequest.js +2 -3
- package/dist/cjs/api/resources/tools/client/requests/Lang2FhirAndSearchRequest.d.ts +0 -3
- package/dist/cjs/api/resources/tools/client/requests/Lang2FhirAndSearchRequest.js +1 -3
- package/dist/cjs/api/resources/tools/errors/BadRequestError.d.ts +0 -3
- package/dist/cjs/api/resources/tools/errors/BadRequestError.js +1 -3
- package/dist/cjs/api/resources/tools/errors/FailedDependencyError.d.ts +0 -3
- package/dist/cjs/api/resources/tools/errors/FailedDependencyError.js +1 -3
- package/dist/cjs/api/resources/tools/errors/ForbiddenError.d.ts +0 -3
- package/dist/cjs/api/resources/tools/errors/ForbiddenError.js +1 -3
- package/dist/cjs/api/resources/tools/errors/InternalServerError.d.ts +0 -3
- package/dist/cjs/api/resources/tools/errors/InternalServerError.js +1 -3
- package/dist/cjs/api/resources/tools/errors/UnauthorizedError.d.ts +0 -3
- package/dist/cjs/api/resources/tools/errors/UnauthorizedError.js +1 -3
- package/dist/cjs/api/resources/tools/resources/mcpServer/client/Client.d.ts +3 -23
- package/dist/cjs/api/resources/tools/resources/mcpServer/client/Client.js +13 -15
- package/dist/cjs/api/resources/tools/resources/mcpServer/client/requests/McpServerCreateRequest.d.ts +0 -3
- package/dist/cjs/api/resources/tools/resources/mcpServer/client/requests/McpServerCreateRequest.js +1 -3
- package/dist/cjs/api/resources/tools/resources/mcpServer/resources/tools/client/Client.d.ts +3 -23
- package/dist/cjs/api/resources/tools/resources/mcpServer/resources/tools/client/Client.js +13 -15
- package/dist/cjs/api/resources/tools/resources/mcpServer/resources/tools/client/requests/McpServerToolCallRequest.d.ts +0 -3
- package/dist/cjs/api/resources/tools/resources/mcpServer/resources/tools/client/requests/McpServerToolCallRequest.js +1 -3
- package/dist/cjs/api/resources/tools/types/CohortResponse.d.ts +0 -3
- package/dist/cjs/api/resources/tools/types/CohortResponse.js +1 -3
- package/dist/cjs/api/resources/tools/types/Lang2FhirAndCreateResponse.d.ts +0 -3
- package/dist/cjs/api/resources/tools/types/Lang2FhirAndCreateResponse.js +1 -3
- package/dist/cjs/api/resources/tools/types/Lang2FhirAndSearchResponse.d.ts +0 -3
- package/dist/cjs/api/resources/tools/types/Lang2FhirAndSearchResponse.js +1 -3
- package/dist/cjs/api/resources/tools/types/McpServerResponse.d.ts +0 -3
- package/dist/cjs/api/resources/tools/types/McpServerResponse.js +1 -3
- package/dist/cjs/api/resources/tools/types/McpServerToolCallResponse.d.ts +0 -3
- package/dist/cjs/api/resources/tools/types/McpServerToolCallResponse.js +1 -3
- package/dist/cjs/api/resources/tools/types/McpServerToolResponse.d.ts +0 -3
- package/dist/cjs/api/resources/tools/types/McpServerToolResponse.js +1 -3
- package/dist/cjs/api/resources/tools/types/SearchConcept.d.ts +0 -3
- package/dist/cjs/api/resources/tools/types/SearchConcept.js +1 -3
- package/dist/cjs/api/resources/workflows/client/Client.d.ts +145 -0
- package/dist/cjs/api/resources/workflows/client/Client.js +569 -0
- package/dist/cjs/api/resources/workflows/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/workflows/client/index.js +17 -0
- package/dist/cjs/api/resources/workflows/client/requests/CreateWorkflowRequest.d.ts +40 -0
- package/dist/cjs/api/resources/workflows/client/requests/CreateWorkflowRequest.js +3 -0
- package/dist/cjs/api/resources/workflows/client/requests/ExecuteWorkflowRequest.d.ts +15 -0
- package/dist/cjs/api/resources/workflows/client/requests/ExecuteWorkflowRequest.js +3 -0
- package/dist/cjs/api/resources/workflows/client/requests/UpdateWorkflowRequest.d.ts +40 -0
- package/dist/cjs/api/resources/workflows/client/requests/UpdateWorkflowRequest.js +3 -0
- package/dist/cjs/api/resources/workflows/client/requests/WorkflowsGetRequest.d.ts +10 -0
- package/dist/cjs/api/resources/workflows/client/requests/WorkflowsGetRequest.js +3 -0
- package/dist/cjs/api/resources/workflows/client/requests/WorkflowsListRequest.d.ts +10 -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/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/workflows/errors/BadRequestError.d.ts +5 -0
- package/dist/cjs/api/resources/workflows/errors/BadRequestError.js +50 -0
- package/dist/cjs/api/resources/workflows/errors/ForbiddenError.d.ts +5 -0
- package/dist/cjs/api/resources/workflows/errors/ForbiddenError.js +50 -0
- package/dist/cjs/api/resources/workflows/errors/InternalServerError.d.ts +5 -0
- package/dist/cjs/api/resources/workflows/errors/InternalServerError.js +50 -0
- package/dist/cjs/api/resources/workflows/errors/NotFoundError.d.ts +5 -0
- package/dist/cjs/api/resources/workflows/errors/NotFoundError.js +50 -0
- package/dist/cjs/api/resources/workflows/errors/UnauthorizedError.d.ts +5 -0
- package/dist/cjs/api/resources/workflows/errors/UnauthorizedError.js +50 -0
- package/dist/cjs/api/resources/workflows/errors/index.d.ts +5 -0
- package/dist/cjs/api/resources/workflows/errors/index.js +21 -0
- package/dist/cjs/api/resources/workflows/index.d.ts +3 -0
- package/dist/cjs/api/resources/workflows/index.js +19 -0
- package/dist/cjs/api/resources/workflows/types/CreateWorkflowResponse.d.ts +13 -0
- package/dist/cjs/api/resources/workflows/types/CreateWorkflowResponse.js +3 -0
- package/dist/cjs/api/resources/workflows/types/DecisionNodeDefinition.d.ts +8 -0
- package/dist/cjs/api/resources/workflows/types/DecisionNodeDefinition.js +3 -0
- package/dist/cjs/api/resources/workflows/types/ExecuteWorkflowResponse.d.ts +13 -0
- package/dist/cjs/api/resources/workflows/types/ExecuteWorkflowResponse.js +3 -0
- package/dist/cjs/api/resources/workflows/types/Lang2FhirCreateDefinition.d.ts +10 -0
- package/dist/cjs/api/resources/workflows/types/Lang2FhirCreateDefinition.js +3 -0
- package/dist/cjs/api/resources/workflows/types/Lang2FhirSearchDefinition.d.ts +12 -0
- package/dist/cjs/api/resources/workflows/types/Lang2FhirSearchDefinition.js +3 -0
- package/dist/cjs/api/resources/workflows/types/ListWorkflowsResponse.d.ts +11 -0
- package/dist/cjs/api/resources/workflows/types/ListWorkflowsResponse.js +3 -0
- package/dist/cjs/api/resources/workflows/types/StepOperation.d.ts +7 -0
- package/dist/cjs/api/resources/workflows/types/StepOperation.js +3 -0
- package/dist/cjs/api/resources/workflows/types/SubWorkflowDefinition.d.ts +8 -0
- package/dist/cjs/api/resources/workflows/types/SubWorkflowDefinition.js +3 -0
- package/dist/cjs/api/resources/workflows/types/WorkflowConfig.d.ts +6 -0
- package/dist/cjs/api/resources/workflows/types/WorkflowConfig.js +3 -0
- package/dist/cjs/api/resources/workflows/types/WorkflowDefinition.d.ts +19 -0
- package/dist/cjs/api/resources/workflows/types/WorkflowDefinition.js +3 -0
- package/dist/cjs/api/resources/workflows/types/WorkflowGraph.d.ts +5 -0
- package/dist/cjs/api/resources/workflows/types/WorkflowGraph.js +3 -0
- package/dist/cjs/api/resources/workflows/types/WorkflowResponse.d.ts +28 -0
- package/dist/cjs/api/resources/workflows/types/WorkflowResponse.js +3 -0
- package/dist/cjs/api/resources/workflows/types/WorkflowStep.d.ts +28 -0
- package/dist/cjs/api/resources/workflows/types/WorkflowStep.js +14 -0
- package/dist/cjs/api/resources/workflows/types/WorkflowStepSummary.d.ts +25 -0
- package/dist/cjs/api/resources/workflows/types/WorkflowStepSummary.js +14 -0
- package/dist/cjs/api/resources/workflows/types/WorkflowsDeleteResponse.d.ts +4 -0
- package/dist/cjs/api/resources/workflows/types/WorkflowsDeleteResponse.js +3 -0
- package/dist/cjs/api/resources/workflows/types/WorkflowsGetResponse.d.ts +7 -0
- package/dist/cjs/api/resources/workflows/types/WorkflowsGetResponse.js +3 -0
- package/dist/cjs/api/resources/workflows/types/WorkflowsUpdateResponse.d.ts +9 -0
- package/dist/cjs/api/resources/workflows/types/WorkflowsUpdateResponse.js +3 -0
- package/dist/cjs/api/resources/workflows/types/index.d.ts +17 -0
- package/dist/cjs/api/resources/workflows/types/index.js +33 -0
- package/dist/cjs/core/auth/AuthProvider.d.ts +1 -1
- package/dist/cjs/core/auth/BasicAuth.js +2 -1
- package/dist/cjs/core/auth/index.d.ts +2 -2
- package/dist/cjs/core/fetcher/APIResponse.d.ts +1 -1
- package/dist/cjs/core/fetcher/BinaryResponse.d.ts +1 -1
- package/dist/cjs/core/fetcher/EndpointMetadata.d.ts +13 -0
- package/dist/cjs/core/fetcher/EndpointMetadata.js +2 -0
- package/dist/cjs/core/fetcher/EndpointSupplier.d.ts +12 -0
- package/dist/cjs/core/fetcher/EndpointSupplier.js +22 -0
- package/dist/cjs/core/fetcher/Fetcher.d.ts +5 -3
- package/dist/cjs/core/fetcher/Fetcher.js +3 -2
- package/dist/cjs/core/fetcher/HttpResponsePromise.d.ts +1 -1
- package/dist/cjs/core/fetcher/index.d.ts +2 -0
- package/dist/cjs/core/fetcher/index.js +3 -1
- package/dist/cjs/core/headers.d.ts +2 -3
- package/dist/cjs/environments.d.ts +0 -3
- package/dist/cjs/environments.js +1 -3
- package/dist/cjs/errors/phenomlError.d.ts +0 -3
- package/dist/cjs/errors/phenomlError.js +1 -3
- package/dist/cjs/errors/phenomlTimeoutError.d.ts +0 -3
- package/dist/cjs/errors/phenomlTimeoutError.js +1 -3
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.d.mts +27 -0
- package/dist/esm/BaseClient.mjs +3 -0
- package/dist/esm/Client.d.mts +6 -24
- package/dist/esm/Client.mjs +9 -5
- package/dist/esm/WrapperClient.mjs +1 -0
- package/dist/esm/api/resources/agent/client/Client.d.mts +11 -25
- package/dist/esm/api/resources/agent/client/Client.mjs +33 -29
- package/dist/esm/api/resources/agent/client/index.mjs +1 -0
- package/dist/esm/api/resources/agent/client/requests/AgentChatRequest.d.mts +0 -3
- package/dist/esm/api/resources/agent/client/requests/AgentChatRequest.mjs +1 -3
- package/dist/esm/api/resources/agent/client/requests/AgentGetChatMessagesRequest.d.mts +4 -4
- package/dist/esm/api/resources/agent/client/requests/AgentGetChatMessagesRequest.mjs +2 -4
- package/dist/esm/api/resources/agent/client/requests/AgentListRequest.d.mts +4 -4
- package/dist/esm/api/resources/agent/client/requests/AgentListRequest.mjs +1 -3
- package/dist/esm/api/resources/agent/client/requests/index.mjs +3 -1
- package/dist/esm/api/resources/agent/errors/BadRequestError.d.mts +0 -3
- package/dist/esm/api/resources/agent/errors/BadRequestError.mjs +2 -3
- package/dist/esm/api/resources/agent/errors/ForbiddenError.d.mts +0 -3
- package/dist/esm/api/resources/agent/errors/ForbiddenError.mjs +2 -3
- package/dist/esm/api/resources/agent/errors/InternalServerError.d.mts +0 -3
- package/dist/esm/api/resources/agent/errors/InternalServerError.mjs +2 -3
- package/dist/esm/api/resources/agent/errors/NotFoundError.d.mts +0 -3
- package/dist/esm/api/resources/agent/errors/NotFoundError.mjs +2 -3
- package/dist/esm/api/resources/agent/errors/UnauthorizedError.d.mts +0 -3
- package/dist/esm/api/resources/agent/errors/UnauthorizedError.mjs +2 -3
- package/dist/esm/api/resources/agent/resources/prompts/client/Client.d.mts +3 -23
- package/dist/esm/api/resources/agent/resources/prompts/client/Client.mjs +22 -24
- package/dist/esm/api/resources/agent/resources/prompts/client/index.mjs +1 -0
- package/dist/esm/api/resources/agent/resources/prompts/client/requests/AgentPromptsCreateRequest.d.mts +0 -3
- package/dist/esm/api/resources/agent/resources/prompts/client/requests/AgentPromptsCreateRequest.mjs +1 -3
- package/dist/esm/api/resources/agent/resources/prompts/client/requests/AgentPromptsUpdateRequest.d.mts +0 -3
- package/dist/esm/api/resources/agent/resources/prompts/client/requests/AgentPromptsUpdateRequest.mjs +1 -3
- package/dist/esm/api/resources/agent/resources/prompts/client/requests/index.mjs +2 -1
- package/dist/esm/api/resources/agent/resources/prompts/types/PromptsDeleteResponse.d.mts +0 -3
- package/dist/esm/api/resources/agent/resources/prompts/types/PromptsDeleteResponse.mjs +1 -3
- package/dist/esm/api/resources/agent/resources/prompts/types/PromptsListResponse.d.mts +0 -3
- package/dist/esm/api/resources/agent/resources/prompts/types/PromptsListResponse.mjs +2 -4
- package/dist/esm/api/resources/agent/types/AgentChatResponse.d.mts +0 -3
- package/dist/esm/api/resources/agent/types/AgentChatResponse.mjs +1 -3
- package/dist/esm/api/resources/agent/types/AgentCreateRequest.d.mts +0 -3
- package/dist/esm/api/resources/agent/types/AgentCreateRequest.mjs +1 -3
- package/dist/esm/api/resources/agent/types/AgentDeleteResponse.d.mts +0 -3
- package/dist/esm/api/resources/agent/types/AgentDeleteResponse.mjs +1 -3
- package/dist/esm/api/resources/agent/types/AgentGetChatMessagesRequestOrder.d.mts +1 -4
- package/dist/esm/api/resources/agent/types/AgentGetChatMessagesRequestOrder.mjs +1 -3
- package/dist/esm/api/resources/agent/types/AgentGetChatMessagesResponse.d.mts +0 -3
- package/dist/esm/api/resources/agent/types/AgentGetChatMessagesResponse.mjs +2 -4
- package/dist/esm/api/resources/agent/types/AgentListResponse.d.mts +0 -3
- package/dist/esm/api/resources/agent/types/AgentListResponse.mjs +2 -4
- package/dist/esm/api/resources/agent/types/AgentPromptsResponse.d.mts +0 -3
- package/dist/esm/api/resources/agent/types/AgentPromptsResponse.mjs +2 -4
- package/dist/esm/api/resources/agent/types/AgentResponse.d.mts +0 -3
- package/dist/esm/api/resources/agent/types/AgentResponse.mjs +2 -4
- package/dist/esm/api/resources/agent/types/AgentTemplate.d.mts +0 -3
- package/dist/esm/api/resources/agent/types/AgentTemplate.mjs +1 -3
- package/dist/esm/api/resources/agent/types/ChatMessageTemplate.d.mts +0 -3
- package/dist/esm/api/resources/agent/types/ChatMessageTemplate.mjs +1 -3
- package/dist/esm/api/resources/agent/types/ChatSessionTemplate.d.mts +0 -3
- package/dist/esm/api/resources/agent/types/ChatSessionTemplate.mjs +1 -3
- package/dist/esm/api/resources/agent/types/JsonPatch.d.mts +0 -3
- package/dist/esm/api/resources/agent/types/JsonPatch.mjs +2 -4
- package/dist/esm/api/resources/agent/types/JsonPatchOperation.d.mts +3 -7
- package/dist/esm/api/resources/agent/types/JsonPatchOperation.mjs +2 -3
- package/dist/esm/api/resources/agent/types/PromptTemplate.d.mts +0 -3
- package/dist/esm/api/resources/agent/types/PromptTemplate.mjs +1 -3
- package/dist/esm/api/resources/agent/types/SuccessResponse.d.mts +0 -3
- package/dist/esm/api/resources/agent/types/SuccessResponse.mjs +1 -3
- package/dist/esm/api/resources/authtoken/client/Client.d.mts +2 -13
- package/dist/esm/api/resources/authtoken/client/Client.mjs +3 -3
- package/dist/esm/api/resources/authtoken/errors/BadRequestError.d.mts +0 -3
- package/dist/esm/api/resources/authtoken/errors/BadRequestError.mjs +2 -3
- package/dist/esm/api/resources/authtoken/errors/UnauthorizedError.d.mts +0 -3
- package/dist/esm/api/resources/authtoken/errors/UnauthorizedError.mjs +2 -3
- package/dist/esm/api/resources/authtoken/resources/auth/client/index.mjs +1 -0
- package/dist/esm/api/resources/authtoken/resources/auth/client/requests/AuthGenerateTokenRequest.d.mts +0 -3
- package/dist/esm/api/resources/authtoken/resources/auth/client/requests/AuthGenerateTokenRequest.mjs +1 -3
- package/dist/esm/api/resources/authtoken/resources/auth/client/requests/index.mjs +1 -1
- package/dist/esm/api/resources/authtoken/resources/auth/types/AuthGenerateTokenResponse.d.mts +0 -3
- package/dist/esm/api/resources/authtoken/resources/auth/types/AuthGenerateTokenResponse.mjs +1 -3
- package/dist/esm/api/resources/authtoken/types/BadRequestErrorBody.d.mts +0 -3
- package/dist/esm/api/resources/authtoken/types/BadRequestErrorBody.mjs +1 -3
- package/dist/esm/api/resources/authtoken/types/UnauthorizedErrorBody.d.mts +0 -3
- package/dist/esm/api/resources/authtoken/types/UnauthorizedErrorBody.mjs +1 -3
- package/dist/esm/api/resources/cohort/client/Client.d.mts +3 -23
- package/dist/esm/api/resources/cohort/client/Client.mjs +4 -6
- package/dist/esm/api/resources/cohort/client/index.mjs +1 -0
- package/dist/esm/api/resources/cohort/client/requests/CohortRequest.d.mts +0 -3
- package/dist/esm/api/resources/cohort/client/requests/CohortRequest.mjs +1 -3
- package/dist/esm/api/resources/cohort/client/requests/index.mjs +1 -1
- package/dist/esm/api/resources/cohort/errors/BadRequestError.d.mts +0 -3
- package/dist/esm/api/resources/cohort/errors/BadRequestError.mjs +2 -3
- package/dist/esm/api/resources/cohort/errors/InternalServerError.d.mts +0 -3
- package/dist/esm/api/resources/cohort/errors/InternalServerError.mjs +2 -3
- package/dist/esm/api/resources/cohort/errors/UnauthorizedError.d.mts +0 -3
- package/dist/esm/api/resources/cohort/errors/UnauthorizedError.mjs +2 -3
- package/dist/esm/api/resources/cohort/types/CohortResponse.d.mts +0 -3
- package/dist/esm/api/resources/cohort/types/CohortResponse.mjs +2 -4
- package/dist/esm/api/resources/cohort/types/SearchConcept.d.mts +0 -3
- package/dist/esm/api/resources/cohort/types/SearchConcept.mjs +1 -3
- package/dist/esm/api/resources/construe/client/Client.d.mts +3 -23
- package/dist/esm/api/resources/construe/client/Client.mjs +10 -12
- package/dist/esm/api/resources/construe/client/index.mjs +1 -0
- package/dist/esm/api/resources/construe/client/requests/ConstrueCohortRequest.d.mts +0 -3
- package/dist/esm/api/resources/construe/client/requests/ConstrueCohortRequest.mjs +1 -3
- package/dist/esm/api/resources/construe/client/requests/ExtractRequest.d.mts +0 -3
- package/dist/esm/api/resources/construe/client/requests/ExtractRequest.mjs +2 -4
- package/dist/esm/api/resources/construe/client/requests/UploadRequest.d.mts +2 -7
- package/dist/esm/api/resources/construe/client/requests/UploadRequest.mjs +2 -3
- package/dist/esm/api/resources/construe/client/requests/index.mjs +3 -1
- package/dist/esm/api/resources/construe/errors/BadRequestError.d.mts +0 -3
- package/dist/esm/api/resources/construe/errors/BadRequestError.mjs +2 -3
- package/dist/esm/api/resources/construe/errors/ConflictError.d.mts +0 -3
- package/dist/esm/api/resources/construe/errors/ConflictError.mjs +2 -3
- package/dist/esm/api/resources/construe/errors/FailedDependencyError.d.mts +0 -3
- package/dist/esm/api/resources/construe/errors/FailedDependencyError.mjs +2 -3
- package/dist/esm/api/resources/construe/errors/InternalServerError.d.mts +0 -3
- package/dist/esm/api/resources/construe/errors/InternalServerError.mjs +2 -3
- package/dist/esm/api/resources/construe/errors/UnauthorizedError.d.mts +0 -3
- package/dist/esm/api/resources/construe/errors/UnauthorizedError.mjs +2 -3
- package/dist/esm/api/resources/construe/types/BadRequestErrorBody.d.mts +0 -3
- package/dist/esm/api/resources/construe/types/BadRequestErrorBody.mjs +1 -3
- package/dist/esm/api/resources/construe/types/ConstrueCohortResponse.d.mts +0 -3
- package/dist/esm/api/resources/construe/types/ConstrueCohortResponse.mjs +1 -3
- package/dist/esm/api/resources/construe/types/ConstrueUploadCodeSystemResponse.d.mts +0 -3
- package/dist/esm/api/resources/construe/types/ConstrueUploadCodeSystemResponse.mjs +1 -3
- package/dist/esm/api/resources/construe/types/ExtractCodesResult.d.mts +0 -3
- package/dist/esm/api/resources/construe/types/ExtractCodesResult.mjs +2 -4
- package/dist/esm/api/resources/construe/types/ExtractRequestConfig.d.mts +1 -4
- package/dist/esm/api/resources/construe/types/ExtractRequestConfig.mjs +1 -3
- package/dist/esm/api/resources/construe/types/ExtractRequestSystem.d.mts +0 -3
- package/dist/esm/api/resources/construe/types/ExtractRequestSystem.mjs +1 -3
- package/dist/esm/api/resources/construe/types/ExtractedCodeResult.d.mts +0 -3
- package/dist/esm/api/resources/construe/types/ExtractedCodeResult.mjs +1 -3
- package/dist/esm/api/resources/construe/types/InternalServerErrorBody.d.mts +0 -3
- package/dist/esm/api/resources/construe/types/InternalServerErrorBody.mjs +1 -3
- package/dist/esm/api/resources/construe/types/UnauthorizedErrorBody.d.mts +0 -3
- package/dist/esm/api/resources/construe/types/UnauthorizedErrorBody.mjs +1 -3
- package/dist/esm/api/resources/fhir/client/Client.d.mts +26 -25
- package/dist/esm/api/resources/fhir/client/Client.mjs +42 -23
- package/dist/esm/api/resources/fhir/client/index.mjs +1 -0
- package/dist/esm/api/resources/fhir/client/requests/FhirCreateRequest.d.mts +11 -4
- package/dist/esm/api/resources/fhir/client/requests/FhirCreateRequest.mjs +2 -4
- package/dist/esm/api/resources/fhir/client/requests/FhirDeleteRequest.d.mts +0 -3
- package/dist/esm/api/resources/fhir/client/requests/FhirDeleteRequest.mjs +1 -3
- package/dist/esm/api/resources/fhir/client/requests/FhirExecuteBundleRequest.d.mts +0 -3
- package/dist/esm/api/resources/fhir/client/requests/FhirExecuteBundleRequest.mjs +2 -4
- package/dist/esm/api/resources/fhir/client/requests/FhirPatchRequest.d.mts +0 -3
- package/dist/esm/api/resources/fhir/client/requests/FhirPatchRequest.mjs +2 -4
- package/dist/esm/api/resources/fhir/client/requests/FhirSearchRequest.d.mts +0 -3
- package/dist/esm/api/resources/fhir/client/requests/FhirSearchRequest.mjs +1 -3
- package/dist/esm/api/resources/fhir/client/requests/FhirUpsertRequest.d.mts +12 -4
- package/dist/esm/api/resources/fhir/client/requests/FhirUpsertRequest.mjs +2 -4
- package/dist/esm/api/resources/fhir/client/requests/index.mjs +6 -1
- package/dist/esm/api/resources/fhir/errors/BadRequestError.d.mts +0 -3
- package/dist/esm/api/resources/fhir/errors/BadRequestError.mjs +2 -3
- package/dist/esm/api/resources/fhir/errors/InternalServerError.d.mts +0 -3
- package/dist/esm/api/resources/fhir/errors/InternalServerError.mjs +2 -3
- package/dist/esm/api/resources/fhir/errors/NotFoundError.d.mts +0 -3
- package/dist/esm/api/resources/fhir/errors/NotFoundError.mjs +2 -3
- package/dist/esm/api/resources/fhir/errors/UnauthorizedError.d.mts +0 -3
- package/dist/esm/api/resources/fhir/errors/UnauthorizedError.mjs +2 -3
- package/dist/esm/api/resources/fhir/types/ErrorResponse.d.mts +0 -3
- package/dist/esm/api/resources/fhir/types/ErrorResponse.mjs +1 -3
- package/dist/esm/api/resources/fhir/types/FhirBundle.d.mts +1 -4
- package/dist/esm/api/resources/fhir/types/FhirBundle.mjs +1 -3
- package/dist/esm/api/resources/fhir/types/FhirPatchRequestBodyItem.d.mts +3 -7
- package/dist/esm/api/resources/fhir/types/FhirPatchRequestBodyItem.mjs +2 -3
- package/dist/esm/api/resources/fhir/types/FhirResource.d.mts +0 -3
- package/dist/esm/api/resources/fhir/types/FhirResource.mjs +1 -3
- package/dist/esm/api/resources/fhir/types/FhirSearchResponse.d.mts +0 -3
- package/dist/esm/api/resources/fhir/types/FhirSearchResponse.mjs +2 -4
- package/dist/esm/api/resources/fhirProvider/client/Client.d.mts +3 -23
- package/dist/esm/api/resources/fhirProvider/client/Client.mjs +22 -24
- package/dist/esm/api/resources/fhirProvider/client/index.mjs +1 -0
- package/dist/esm/api/resources/fhirProvider/client/requests/FhirProviderAddAuthConfigRequest.d.mts +0 -3
- package/dist/esm/api/resources/fhirProvider/client/requests/FhirProviderAddAuthConfigRequest.mjs +2 -4
- package/dist/esm/api/resources/fhirProvider/client/requests/FhirProviderCreateRequest.d.mts +0 -3
- package/dist/esm/api/resources/fhirProvider/client/requests/FhirProviderCreateRequest.mjs +2 -4
- package/dist/esm/api/resources/fhirProvider/client/requests/FhirProviderRemoveAuthConfigRequest.d.mts +0 -3
- package/dist/esm/api/resources/fhirProvider/client/requests/FhirProviderRemoveAuthConfigRequest.mjs +1 -3
- package/dist/esm/api/resources/fhirProvider/client/requests/FhirProviderSetActiveAuthConfigRequest.d.mts +0 -3
- package/dist/esm/api/resources/fhirProvider/client/requests/FhirProviderSetActiveAuthConfigRequest.mjs +1 -3
- package/dist/esm/api/resources/fhirProvider/client/requests/index.mjs +4 -1
- package/dist/esm/api/resources/fhirProvider/errors/BadRequestError.d.mts +0 -3
- package/dist/esm/api/resources/fhirProvider/errors/BadRequestError.mjs +2 -3
- package/dist/esm/api/resources/fhirProvider/errors/ForbiddenError.d.mts +0 -3
- package/dist/esm/api/resources/fhirProvider/errors/ForbiddenError.mjs +2 -3
- package/dist/esm/api/resources/fhirProvider/errors/InternalServerError.d.mts +0 -3
- package/dist/esm/api/resources/fhirProvider/errors/InternalServerError.mjs +2 -3
- package/dist/esm/api/resources/fhirProvider/errors/NotFoundError.d.mts +0 -3
- package/dist/esm/api/resources/fhirProvider/errors/NotFoundError.mjs +2 -3
- package/dist/esm/api/resources/fhirProvider/errors/UnauthorizedError.d.mts +0 -3
- package/dist/esm/api/resources/fhirProvider/errors/UnauthorizedError.mjs +2 -3
- package/dist/esm/api/resources/fhirProvider/types/AuthMethod.d.mts +2 -7
- package/dist/esm/api/resources/fhirProvider/types/AuthMethod.mjs +2 -3
- package/dist/esm/api/resources/fhirProvider/types/FhirProviderAuthConfig.d.mts +0 -3
- package/dist/esm/api/resources/fhirProvider/types/FhirProviderAuthConfig.mjs +2 -4
- package/dist/esm/api/resources/fhirProvider/types/FhirProviderDeleteResponse.d.mts +0 -3
- package/dist/esm/api/resources/fhirProvider/types/FhirProviderDeleteResponse.mjs +1 -3
- package/dist/esm/api/resources/fhirProvider/types/FhirProviderListResponse.d.mts +0 -3
- package/dist/esm/api/resources/fhirProvider/types/FhirProviderListResponse.mjs +2 -4
- package/dist/esm/api/resources/fhirProvider/types/FhirProviderRemoveAuthConfigResponse.d.mts +0 -3
- package/dist/esm/api/resources/fhirProvider/types/FhirProviderRemoveAuthConfigResponse.mjs +2 -4
- package/dist/esm/api/resources/fhirProvider/types/FhirProviderResponse.d.mts +0 -3
- package/dist/esm/api/resources/fhirProvider/types/FhirProviderResponse.mjs +2 -4
- package/dist/esm/api/resources/fhirProvider/types/FhirProviderSetActiveAuthConfigResponse.d.mts +0 -3
- package/dist/esm/api/resources/fhirProvider/types/FhirProviderSetActiveAuthConfigResponse.mjs +2 -4
- package/dist/esm/api/resources/fhirProvider/types/FhirProviderTemplate.d.mts +0 -3
- package/dist/esm/api/resources/fhirProvider/types/FhirProviderTemplate.mjs +2 -4
- package/dist/esm/api/resources/fhirProvider/types/FhirQueryResponse.d.mts +0 -3
- package/dist/esm/api/resources/fhirProvider/types/FhirQueryResponse.mjs +1 -3
- package/dist/esm/api/resources/fhirProvider/types/JsonWebKey.d.mts +0 -3
- package/dist/esm/api/resources/fhirProvider/types/JsonWebKey.mjs +1 -3
- package/dist/esm/api/resources/fhirProvider/types/Provider.d.mts +2 -7
- package/dist/esm/api/resources/fhirProvider/types/Provider.mjs +2 -3
- package/dist/esm/api/resources/fhirProvider/types/ServiceAccountKey.d.mts +0 -3
- package/dist/esm/api/resources/fhirProvider/types/ServiceAccountKey.mjs +1 -3
- package/dist/esm/api/resources/fhirProvider/types/SmartConfiguration.d.mts +0 -3
- package/dist/esm/api/resources/fhirProvider/types/SmartConfiguration.mjs +1 -3
- 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 +3 -23
- package/dist/esm/api/resources/lang2Fhir/client/Client.mjs +13 -15
- package/dist/esm/api/resources/lang2Fhir/client/index.mjs +1 -0
- package/dist/esm/api/resources/lang2Fhir/client/requests/CreateRequest.d.mts +2 -7
- package/dist/esm/api/resources/lang2Fhir/client/requests/CreateRequest.mjs +2 -3
- package/dist/esm/api/resources/lang2Fhir/client/requests/DocumentRequest.d.mts +4 -11
- package/dist/esm/api/resources/lang2Fhir/client/requests/DocumentRequest.mjs +3 -3
- package/dist/esm/api/resources/lang2Fhir/client/requests/ProfileUploadRequest.d.mts +0 -3
- package/dist/esm/api/resources/lang2Fhir/client/requests/ProfileUploadRequest.mjs +1 -3
- package/dist/esm/api/resources/lang2Fhir/client/requests/SearchRequest.d.mts +0 -3
- package/dist/esm/api/resources/lang2Fhir/client/requests/SearchRequest.mjs +1 -3
- package/dist/esm/api/resources/lang2Fhir/client/requests/index.mjs +4 -1
- package/dist/esm/api/resources/lang2Fhir/errors/BadRequestError.d.mts +0 -3
- package/dist/esm/api/resources/lang2Fhir/errors/BadRequestError.mjs +2 -3
- package/dist/esm/api/resources/lang2Fhir/errors/FailedDependencyError.d.mts +0 -3
- package/dist/esm/api/resources/lang2Fhir/errors/FailedDependencyError.mjs +2 -3
- package/dist/esm/api/resources/lang2Fhir/errors/ForbiddenError.d.mts +0 -3
- package/dist/esm/api/resources/lang2Fhir/errors/ForbiddenError.mjs +2 -3
- package/dist/esm/api/resources/lang2Fhir/errors/InternalServerError.d.mts +0 -3
- package/dist/esm/api/resources/lang2Fhir/errors/InternalServerError.mjs +2 -3
- package/dist/esm/api/resources/lang2Fhir/errors/UnauthorizedError.d.mts +0 -3
- package/dist/esm/api/resources/lang2Fhir/errors/UnauthorizedError.mjs +2 -3
- package/dist/esm/api/resources/lang2Fhir/types/FhirResource.d.mts +0 -3
- package/dist/esm/api/resources/lang2Fhir/types/FhirResource.mjs +1 -3
- package/dist/esm/api/resources/lang2Fhir/types/Lang2FhirUploadProfileResponse.d.mts +0 -3
- package/dist/esm/api/resources/lang2Fhir/types/Lang2FhirUploadProfileResponse.mjs +1 -3
- package/dist/esm/api/resources/lang2Fhir/types/SearchResponse.d.mts +0 -3
- package/dist/esm/api/resources/lang2Fhir/types/SearchResponse.mjs +1 -3
- package/dist/esm/api/resources/tools/client/Client.d.mts +3 -23
- package/dist/esm/api/resources/tools/client/Client.mjs +10 -12
- package/dist/esm/api/resources/tools/client/index.mjs +1 -0
- package/dist/esm/api/resources/tools/client/requests/CohortRequest.d.mts +0 -3
- package/dist/esm/api/resources/tools/client/requests/CohortRequest.mjs +1 -3
- package/dist/esm/api/resources/tools/client/requests/Lang2FhirAndCreateRequest.d.mts +2 -7
- package/dist/esm/api/resources/tools/client/requests/Lang2FhirAndCreateRequest.mjs +2 -3
- package/dist/esm/api/resources/tools/client/requests/Lang2FhirAndSearchRequest.d.mts +0 -3
- package/dist/esm/api/resources/tools/client/requests/Lang2FhirAndSearchRequest.mjs +1 -3
- package/dist/esm/api/resources/tools/client/requests/index.mjs +3 -1
- package/dist/esm/api/resources/tools/errors/BadRequestError.d.mts +0 -3
- package/dist/esm/api/resources/tools/errors/BadRequestError.mjs +2 -3
- package/dist/esm/api/resources/tools/errors/FailedDependencyError.d.mts +0 -3
- package/dist/esm/api/resources/tools/errors/FailedDependencyError.mjs +2 -3
- package/dist/esm/api/resources/tools/errors/ForbiddenError.d.mts +0 -3
- package/dist/esm/api/resources/tools/errors/ForbiddenError.mjs +2 -3
- package/dist/esm/api/resources/tools/errors/InternalServerError.d.mts +0 -3
- package/dist/esm/api/resources/tools/errors/InternalServerError.mjs +2 -3
- package/dist/esm/api/resources/tools/errors/UnauthorizedError.d.mts +0 -3
- package/dist/esm/api/resources/tools/errors/UnauthorizedError.mjs +2 -3
- package/dist/esm/api/resources/tools/resources/mcpServer/client/Client.d.mts +3 -23
- package/dist/esm/api/resources/tools/resources/mcpServer/client/Client.mjs +13 -15
- package/dist/esm/api/resources/tools/resources/mcpServer/client/index.mjs +1 -0
- package/dist/esm/api/resources/tools/resources/mcpServer/client/requests/McpServerCreateRequest.d.mts +0 -3
- package/dist/esm/api/resources/tools/resources/mcpServer/client/requests/McpServerCreateRequest.mjs +1 -3
- package/dist/esm/api/resources/tools/resources/mcpServer/client/requests/index.mjs +1 -1
- package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/client/Client.d.mts +3 -23
- package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/client/Client.mjs +13 -15
- package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/client/index.mjs +1 -0
- package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/client/requests/McpServerToolCallRequest.d.mts +0 -3
- package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/client/requests/McpServerToolCallRequest.mjs +1 -3
- 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 +0 -3
- package/dist/esm/api/resources/tools/types/CohortResponse.mjs +2 -4
- package/dist/esm/api/resources/tools/types/Lang2FhirAndCreateResponse.d.mts +0 -3
- package/dist/esm/api/resources/tools/types/Lang2FhirAndCreateResponse.mjs +1 -3
- package/dist/esm/api/resources/tools/types/Lang2FhirAndSearchResponse.d.mts +0 -3
- package/dist/esm/api/resources/tools/types/Lang2FhirAndSearchResponse.mjs +1 -3
- package/dist/esm/api/resources/tools/types/McpServerResponse.d.mts +0 -3
- package/dist/esm/api/resources/tools/types/McpServerResponse.mjs +1 -3
- package/dist/esm/api/resources/tools/types/McpServerToolCallResponse.d.mts +0 -3
- package/dist/esm/api/resources/tools/types/McpServerToolCallResponse.mjs +1 -3
- package/dist/esm/api/resources/tools/types/McpServerToolResponse.d.mts +0 -3
- package/dist/esm/api/resources/tools/types/McpServerToolResponse.mjs +1 -3
- package/dist/esm/api/resources/tools/types/SearchConcept.d.mts +0 -3
- package/dist/esm/api/resources/tools/types/SearchConcept.mjs +1 -3
- package/dist/esm/api/resources/workflows/client/Client.d.mts +145 -0
- package/dist/esm/api/resources/workflows/client/Client.mjs +532 -0
- package/dist/esm/api/resources/workflows/client/index.d.mts +2 -0
- package/dist/esm/api/resources/workflows/client/index.mjs +2 -0
- package/dist/esm/api/resources/workflows/client/requests/CreateWorkflowRequest.d.mts +40 -0
- package/dist/esm/api/resources/workflows/client/requests/CreateWorkflowRequest.mjs +2 -0
- package/dist/esm/api/resources/workflows/client/requests/ExecuteWorkflowRequest.d.mts +15 -0
- package/dist/esm/api/resources/workflows/client/requests/ExecuteWorkflowRequest.mjs +2 -0
- package/dist/esm/api/resources/workflows/client/requests/UpdateWorkflowRequest.d.mts +40 -0
- package/dist/esm/api/resources/workflows/client/requests/UpdateWorkflowRequest.mjs +2 -0
- package/dist/esm/api/resources/workflows/client/requests/WorkflowsGetRequest.d.mts +10 -0
- package/dist/esm/api/resources/workflows/client/requests/WorkflowsGetRequest.mjs +2 -0
- package/dist/esm/api/resources/workflows/client/requests/WorkflowsListRequest.d.mts +10 -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/client/requests/index.mjs +5 -0
- package/dist/esm/api/resources/workflows/errors/BadRequestError.d.mts +5 -0
- package/dist/esm/api/resources/workflows/errors/BadRequestError.mjs +14 -0
- package/dist/esm/api/resources/workflows/errors/ForbiddenError.d.mts +5 -0
- package/dist/esm/api/resources/workflows/errors/ForbiddenError.mjs +14 -0
- package/dist/esm/api/resources/workflows/errors/InternalServerError.d.mts +5 -0
- package/dist/esm/api/resources/workflows/errors/InternalServerError.mjs +14 -0
- package/dist/esm/api/resources/workflows/errors/NotFoundError.d.mts +5 -0
- package/dist/esm/api/resources/workflows/errors/NotFoundError.mjs +14 -0
- package/dist/esm/api/resources/workflows/errors/UnauthorizedError.d.mts +5 -0
- package/dist/esm/api/resources/workflows/errors/UnauthorizedError.mjs +14 -0
- package/dist/esm/api/resources/workflows/errors/index.d.mts +5 -0
- package/dist/esm/api/resources/workflows/errors/index.mjs +5 -0
- package/dist/esm/api/resources/workflows/index.d.mts +3 -0
- package/dist/esm/api/resources/workflows/index.mjs +3 -0
- package/dist/esm/api/resources/workflows/types/CreateWorkflowResponse.d.mts +13 -0
- package/dist/esm/api/resources/workflows/types/CreateWorkflowResponse.mjs +2 -0
- package/dist/esm/api/resources/workflows/types/DecisionNodeDefinition.d.mts +8 -0
- package/dist/esm/api/resources/workflows/types/DecisionNodeDefinition.mjs +2 -0
- package/dist/esm/api/resources/workflows/types/ExecuteWorkflowResponse.d.mts +13 -0
- package/dist/esm/api/resources/workflows/types/ExecuteWorkflowResponse.mjs +2 -0
- package/dist/esm/api/resources/workflows/types/Lang2FhirCreateDefinition.d.mts +10 -0
- package/dist/esm/api/resources/workflows/types/Lang2FhirCreateDefinition.mjs +2 -0
- package/dist/esm/api/resources/workflows/types/Lang2FhirSearchDefinition.d.mts +12 -0
- package/dist/esm/api/resources/workflows/types/Lang2FhirSearchDefinition.mjs +2 -0
- package/dist/esm/api/resources/workflows/types/ListWorkflowsResponse.d.mts +11 -0
- package/dist/esm/api/resources/workflows/types/ListWorkflowsResponse.mjs +2 -0
- package/dist/esm/api/resources/workflows/types/StepOperation.d.mts +7 -0
- package/dist/esm/api/resources/workflows/types/StepOperation.mjs +2 -0
- package/dist/esm/api/resources/workflows/types/SubWorkflowDefinition.d.mts +8 -0
- package/dist/esm/api/resources/workflows/types/SubWorkflowDefinition.mjs +2 -0
- package/dist/esm/api/resources/workflows/types/WorkflowConfig.d.mts +6 -0
- package/dist/esm/api/resources/workflows/types/WorkflowConfig.mjs +2 -0
- package/dist/esm/api/resources/workflows/types/WorkflowDefinition.d.mts +19 -0
- package/dist/esm/api/resources/workflows/types/WorkflowDefinition.mjs +2 -0
- package/dist/esm/api/resources/workflows/types/WorkflowGraph.d.mts +5 -0
- package/dist/esm/api/resources/workflows/types/WorkflowGraph.mjs +2 -0
- package/dist/esm/api/resources/workflows/types/WorkflowResponse.d.mts +28 -0
- package/dist/esm/api/resources/workflows/types/WorkflowResponse.mjs +2 -0
- package/dist/esm/api/resources/workflows/types/WorkflowStep.d.mts +28 -0
- package/dist/esm/api/resources/workflows/types/WorkflowStep.mjs +12 -0
- package/dist/esm/api/resources/workflows/types/WorkflowStepSummary.d.mts +25 -0
- package/dist/esm/api/resources/workflows/types/WorkflowStepSummary.mjs +11 -0
- package/dist/esm/api/resources/workflows/types/WorkflowsDeleteResponse.d.mts +4 -0
- package/dist/esm/api/resources/workflows/types/WorkflowsDeleteResponse.mjs +2 -0
- package/dist/esm/api/resources/workflows/types/WorkflowsGetResponse.d.mts +7 -0
- package/dist/esm/api/resources/workflows/types/WorkflowsGetResponse.mjs +2 -0
- package/dist/esm/api/resources/workflows/types/WorkflowsUpdateResponse.d.mts +9 -0
- package/dist/esm/api/resources/workflows/types/WorkflowsUpdateResponse.mjs +2 -0
- package/dist/esm/api/resources/workflows/types/index.d.mts +17 -0
- package/dist/esm/api/resources/workflows/types/index.mjs +17 -0
- package/dist/esm/core/auth/AuthProvider.d.mts +1 -1
- package/dist/esm/core/auth/BasicAuth.mjs +2 -1
- package/dist/esm/core/auth/index.d.mts +2 -2
- package/dist/esm/core/fetcher/APIResponse.d.mts +1 -1
- package/dist/esm/core/fetcher/BinaryResponse.d.mts +1 -1
- package/dist/esm/core/fetcher/EndpointMetadata.d.mts +13 -0
- package/dist/esm/core/fetcher/EndpointMetadata.mjs +1 -0
- package/dist/esm/core/fetcher/EndpointSupplier.d.mts +12 -0
- package/dist/esm/core/fetcher/EndpointSupplier.mjs +20 -0
- package/dist/esm/core/fetcher/Fetcher.d.mts +5 -3
- package/dist/esm/core/fetcher/Fetcher.mjs +3 -2
- package/dist/esm/core/fetcher/HttpResponsePromise.d.mts +1 -1
- package/dist/esm/core/fetcher/index.d.mts +2 -0
- package/dist/esm/core/fetcher/index.mjs +1 -0
- package/dist/esm/core/headers.d.mts +2 -3
- package/dist/esm/environments.d.mts +0 -3
- package/dist/esm/environments.mjs +1 -3
- package/dist/esm/errors/phenomlError.d.mts +0 -3
- package/dist/esm/errors/phenomlError.mjs +2 -3
- package/dist/esm/errors/phenomlTimeoutError.d.mts +0 -3
- package/dist/esm/errors/phenomlTimeoutError.mjs +1 -3
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +2 -2
- package/reference.md +458 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
import { Supplier } from "./Supplier.mjs";
|
|
11
|
+
export const EndpointSupplier = {
|
|
12
|
+
get: (supplier, arg) => __awaiter(void 0, void 0, void 0, function* () {
|
|
13
|
+
if (typeof supplier === "function") {
|
|
14
|
+
return supplier(arg);
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
return supplier;
|
|
18
|
+
}
|
|
19
|
+
}),
|
|
20
|
+
};
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { APIResponse } from "./APIResponse.mjs";
|
|
2
|
-
import {
|
|
1
|
+
import type { APIResponse } from "./APIResponse.mjs";
|
|
2
|
+
import type { EndpointMetadata } from "./EndpointMetadata.mjs";
|
|
3
|
+
import { EndpointSupplier } from "./EndpointSupplier.mjs";
|
|
3
4
|
export type FetchFunction = <R = unknown>(args: Fetcher.Args) => Promise<APIResponse<R, Fetcher.Error>>;
|
|
4
5
|
export declare namespace Fetcher {
|
|
5
6
|
interface Args {
|
|
6
7
|
url: string;
|
|
7
8
|
method: string;
|
|
8
9
|
contentType?: string;
|
|
9
|
-
headers?: Record<string, string |
|
|
10
|
+
headers?: Record<string, string | EndpointSupplier<string | null | undefined> | null | undefined>;
|
|
10
11
|
queryParameters?: Record<string, unknown>;
|
|
11
12
|
body?: unknown;
|
|
12
13
|
timeoutMs?: number;
|
|
@@ -16,6 +17,7 @@ export declare namespace Fetcher {
|
|
|
16
17
|
requestType?: "json" | "file" | "bytes";
|
|
17
18
|
responseType?: "json" | "blob" | "sse" | "streaming" | "text" | "arrayBuffer" | "binary-response";
|
|
18
19
|
duplex?: "half";
|
|
20
|
+
endpointMetadata?: EndpointMetadata;
|
|
19
21
|
}
|
|
20
22
|
type Error = FailedStatusCodeError | NonJsonError | TimeoutError | UnknownError;
|
|
21
23
|
interface FailedStatusCodeError {
|
|
@@ -9,6 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
};
|
|
10
10
|
import { toJson } from "../json.mjs";
|
|
11
11
|
import { createRequestUrl } from "./createRequestUrl.mjs";
|
|
12
|
+
import { EndpointSupplier } from "./EndpointSupplier.mjs";
|
|
12
13
|
import { getErrorResponseBody } from "./getErrorResponseBody.mjs";
|
|
13
14
|
import { getFetchFn } from "./getFetchFn.mjs";
|
|
14
15
|
import { getRequestBody } from "./getRequestBody.mjs";
|
|
@@ -16,9 +17,9 @@ import { getResponseBody } from "./getResponseBody.mjs";
|
|
|
16
17
|
import { makeRequest } from "./makeRequest.mjs";
|
|
17
18
|
import { abortRawResponse, toRawResponse, unknownRawResponse } from "./RawResponse.mjs";
|
|
18
19
|
import { requestWithRetries } from "./requestWithRetries.mjs";
|
|
19
|
-
import { Supplier } from "./Supplier.mjs";
|
|
20
20
|
function getHeaders(args) {
|
|
21
21
|
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
+
var _a;
|
|
22
23
|
const newHeaders = {};
|
|
23
24
|
if (args.body !== undefined && args.contentType != null) {
|
|
24
25
|
newHeaders["Content-Type"] = args.contentType;
|
|
@@ -27,7 +28,7 @@ function getHeaders(args) {
|
|
|
27
28
|
return newHeaders;
|
|
28
29
|
}
|
|
29
30
|
for (const [key, value] of Object.entries(args.headers)) {
|
|
30
|
-
const result = yield
|
|
31
|
+
const result = yield EndpointSupplier.get(value, { endpointMetadata: (_a = args.endpointMetadata) !== null && _a !== void 0 ? _a : {} });
|
|
31
32
|
if (typeof result === "string") {
|
|
32
33
|
newHeaders[key] = result;
|
|
33
34
|
continue;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export type { APIResponse } from "./APIResponse.mjs";
|
|
2
2
|
export type { BinaryResponse } from "./BinaryResponse.mjs";
|
|
3
|
+
export type { EndpointMetadata } from "./EndpointMetadata.mjs";
|
|
4
|
+
export { EndpointSupplier } from "./EndpointSupplier.mjs";
|
|
3
5
|
export type { Fetcher, FetchFunction } from "./Fetcher.mjs";
|
|
4
6
|
export { fetcher } from "./Fetcher.mjs";
|
|
5
7
|
export { getHeader } from "./getHeader.mjs";
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function
|
|
3
|
-
export declare function mergeOnlyDefinedHeaders(...headersArray: (Record<string, string | core.Supplier<string | null | undefined> | null | undefined> | null | undefined)[]): Record<string, string | core.Supplier<string | null | undefined>>;
|
|
1
|
+
export declare function mergeHeaders<THeaderValue>(...headersArray: (Record<string, THeaderValue> | null | undefined)[]): Record<string, string | THeaderValue>;
|
|
2
|
+
export declare function mergeOnlyDefinedHeaders<THeaderValue>(...headersArray: (Record<string, THeaderValue> | null | undefined)[]): Record<string, THeaderValue>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
*/
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../core/index.mjs";
|
|
4
3
|
import { toJson } from "../core/json.mjs";
|
|
5
4
|
export class phenomlError extends Error {
|
|
6
5
|
constructor({ message, statusCode, body, rawResponse, }) {
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0.
|
|
1
|
+
export declare const SDK_VERSION = "0.0.7";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "0.0.
|
|
1
|
+
export const SDK_VERSION = "0.0.7";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "phenoml",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": "github:phenoml/phenoml-ts-sdk",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@types/jest": "^29.5.14",
|
|
46
46
|
"ts-jest": "^29.3.4",
|
|
47
47
|
"jest-environment-jsdom": "^29.7.0",
|
|
48
|
-
"msw": "
|
|
48
|
+
"msw": "2.11.2",
|
|
49
49
|
"@types/node": "^18.19.70",
|
|
50
50
|
"prettier": "^3.4.2",
|
|
51
51
|
"typescript": "~5.7.2"
|
package/reference.md
CHANGED
|
@@ -97,7 +97,10 @@ Retrieves a list of PhenoAgents belonging to the authenticated user
|
|
|
97
97
|
<dd>
|
|
98
98
|
|
|
99
99
|
```typescript
|
|
100
|
-
await client.agent.list(
|
|
100
|
+
await client.agent.list({
|
|
101
|
+
is_active: true,
|
|
102
|
+
tags: "tags",
|
|
103
|
+
});
|
|
101
104
|
```
|
|
102
105
|
|
|
103
106
|
</dd>
|
|
@@ -515,6 +518,9 @@ Retrieves a list of chat messages for a given chat session
|
|
|
515
518
|
```typescript
|
|
516
519
|
await client.agent.getChatMessages({
|
|
517
520
|
chat_session_id: "chat_session_id",
|
|
521
|
+
num_messages: 1,
|
|
522
|
+
role: "role",
|
|
523
|
+
order: "asc",
|
|
518
524
|
});
|
|
519
525
|
```
|
|
520
526
|
|
|
@@ -1481,6 +1487,14 @@ await client.fhir.create("550e8400-e29b-41d4-a716-446655440000", "Patient", {
|
|
|
1481
1487
|
"X-Phenoml-On-Behalf-Of": "user@example.com",
|
|
1482
1488
|
body: {
|
|
1483
1489
|
resourceType: "Patient",
|
|
1490
|
+
name: [
|
|
1491
|
+
{
|
|
1492
|
+
family: "Doe",
|
|
1493
|
+
given: ["Jane"],
|
|
1494
|
+
},
|
|
1495
|
+
],
|
|
1496
|
+
gender: "female",
|
|
1497
|
+
birthDate: "1990-01-01",
|
|
1484
1498
|
},
|
|
1485
1499
|
});
|
|
1486
1500
|
```
|
|
@@ -1580,6 +1594,14 @@ await client.fhir.upsert("550e8400-e29b-41d4-a716-446655440000", "Patient", {
|
|
|
1580
1594
|
body: {
|
|
1581
1595
|
resourceType: "Patient",
|
|
1582
1596
|
id: "123",
|
|
1597
|
+
name: [
|
|
1598
|
+
{
|
|
1599
|
+
family: "Doe",
|
|
1600
|
+
given: ["John", "Updated"],
|
|
1601
|
+
},
|
|
1602
|
+
],
|
|
1603
|
+
gender: "male",
|
|
1604
|
+
birthDate: "1985-05-15",
|
|
1583
1605
|
},
|
|
1584
1606
|
});
|
|
1585
1607
|
```
|
|
@@ -3414,3 +3436,438 @@ await client.tools.mcpServer.tools.call("mcp_server_tool_id", {
|
|
|
3414
3436
|
</dd>
|
|
3415
3437
|
</dl>
|
|
3416
3438
|
</details>
|
|
3439
|
+
|
|
3440
|
+
## Workflows
|
|
3441
|
+
|
|
3442
|
+
<details><summary><code>client.workflows.<a href="/src/api/resources/workflows/client/Client.ts">list</a>({ ...params }) -> phenoml.ListWorkflowsResponse</code></summary>
|
|
3443
|
+
<dl>
|
|
3444
|
+
<dd>
|
|
3445
|
+
|
|
3446
|
+
#### 📝 Description
|
|
3447
|
+
|
|
3448
|
+
<dl>
|
|
3449
|
+
<dd>
|
|
3450
|
+
|
|
3451
|
+
<dl>
|
|
3452
|
+
<dd>
|
|
3453
|
+
|
|
3454
|
+
Retrieves all workflow definitions for the authenticated user
|
|
3455
|
+
|
|
3456
|
+
</dd>
|
|
3457
|
+
</dl>
|
|
3458
|
+
</dd>
|
|
3459
|
+
</dl>
|
|
3460
|
+
|
|
3461
|
+
#### 🔌 Usage
|
|
3462
|
+
|
|
3463
|
+
<dl>
|
|
3464
|
+
<dd>
|
|
3465
|
+
|
|
3466
|
+
<dl>
|
|
3467
|
+
<dd>
|
|
3468
|
+
|
|
3469
|
+
```typescript
|
|
3470
|
+
await client.workflows.list({
|
|
3471
|
+
verbose: true,
|
|
3472
|
+
});
|
|
3473
|
+
```
|
|
3474
|
+
|
|
3475
|
+
</dd>
|
|
3476
|
+
</dl>
|
|
3477
|
+
</dd>
|
|
3478
|
+
</dl>
|
|
3479
|
+
|
|
3480
|
+
#### ⚙️ Parameters
|
|
3481
|
+
|
|
3482
|
+
<dl>
|
|
3483
|
+
<dd>
|
|
3484
|
+
|
|
3485
|
+
<dl>
|
|
3486
|
+
<dd>
|
|
3487
|
+
|
|
3488
|
+
**request:** `phenoml.workflows.WorkflowsListRequest`
|
|
3489
|
+
|
|
3490
|
+
</dd>
|
|
3491
|
+
</dl>
|
|
3492
|
+
|
|
3493
|
+
<dl>
|
|
3494
|
+
<dd>
|
|
3495
|
+
|
|
3496
|
+
**requestOptions:** `Workflows.RequestOptions`
|
|
3497
|
+
|
|
3498
|
+
</dd>
|
|
3499
|
+
</dl>
|
|
3500
|
+
</dd>
|
|
3501
|
+
</dl>
|
|
3502
|
+
|
|
3503
|
+
</dd>
|
|
3504
|
+
</dl>
|
|
3505
|
+
</details>
|
|
3506
|
+
|
|
3507
|
+
<details><summary><code>client.workflows.<a href="/src/api/resources/workflows/client/Client.ts">create</a>({ ...params }) -> phenoml.CreateWorkflowResponse</code></summary>
|
|
3508
|
+
<dl>
|
|
3509
|
+
<dd>
|
|
3510
|
+
|
|
3511
|
+
#### 📝 Description
|
|
3512
|
+
|
|
3513
|
+
<dl>
|
|
3514
|
+
<dd>
|
|
3515
|
+
|
|
3516
|
+
<dl>
|
|
3517
|
+
<dd>
|
|
3518
|
+
|
|
3519
|
+
Creates a new workflow definition with graph generation from workflow instructions
|
|
3520
|
+
|
|
3521
|
+
</dd>
|
|
3522
|
+
</dl>
|
|
3523
|
+
</dd>
|
|
3524
|
+
</dl>
|
|
3525
|
+
|
|
3526
|
+
#### 🔌 Usage
|
|
3527
|
+
|
|
3528
|
+
<dl>
|
|
3529
|
+
<dd>
|
|
3530
|
+
|
|
3531
|
+
<dl>
|
|
3532
|
+
<dd>
|
|
3533
|
+
|
|
3534
|
+
```typescript
|
|
3535
|
+
await client.workflows.create({
|
|
3536
|
+
verbose: true,
|
|
3537
|
+
name: "Patient Data Mapping Workflow",
|
|
3538
|
+
workflow_instructions: "Given diagnosis data, find the patient and create condition record",
|
|
3539
|
+
sample_data: {
|
|
3540
|
+
patient_last_name: "Rippin",
|
|
3541
|
+
patient_first_name: "Clay",
|
|
3542
|
+
diagnosis_code: "I10",
|
|
3543
|
+
},
|
|
3544
|
+
fhir_provider_id: "550e8400-e29b-41d4-a716-446655440000",
|
|
3545
|
+
});
|
|
3546
|
+
```
|
|
3547
|
+
|
|
3548
|
+
</dd>
|
|
3549
|
+
</dl>
|
|
3550
|
+
</dd>
|
|
3551
|
+
</dl>
|
|
3552
|
+
|
|
3553
|
+
#### ⚙️ Parameters
|
|
3554
|
+
|
|
3555
|
+
<dl>
|
|
3556
|
+
<dd>
|
|
3557
|
+
|
|
3558
|
+
<dl>
|
|
3559
|
+
<dd>
|
|
3560
|
+
|
|
3561
|
+
**request:** `phenoml.workflows.CreateWorkflowRequest`
|
|
3562
|
+
|
|
3563
|
+
</dd>
|
|
3564
|
+
</dl>
|
|
3565
|
+
|
|
3566
|
+
<dl>
|
|
3567
|
+
<dd>
|
|
3568
|
+
|
|
3569
|
+
**requestOptions:** `Workflows.RequestOptions`
|
|
3570
|
+
|
|
3571
|
+
</dd>
|
|
3572
|
+
</dl>
|
|
3573
|
+
</dd>
|
|
3574
|
+
</dl>
|
|
3575
|
+
|
|
3576
|
+
</dd>
|
|
3577
|
+
</dl>
|
|
3578
|
+
</details>
|
|
3579
|
+
|
|
3580
|
+
<details><summary><code>client.workflows.<a href="/src/api/resources/workflows/client/Client.ts">get</a>(id, { ...params }) -> phenoml.WorkflowsGetResponse</code></summary>
|
|
3581
|
+
<dl>
|
|
3582
|
+
<dd>
|
|
3583
|
+
|
|
3584
|
+
#### 📝 Description
|
|
3585
|
+
|
|
3586
|
+
<dl>
|
|
3587
|
+
<dd>
|
|
3588
|
+
|
|
3589
|
+
<dl>
|
|
3590
|
+
<dd>
|
|
3591
|
+
|
|
3592
|
+
Retrieves a workflow definition by its ID
|
|
3593
|
+
|
|
3594
|
+
</dd>
|
|
3595
|
+
</dl>
|
|
3596
|
+
</dd>
|
|
3597
|
+
</dl>
|
|
3598
|
+
|
|
3599
|
+
#### 🔌 Usage
|
|
3600
|
+
|
|
3601
|
+
<dl>
|
|
3602
|
+
<dd>
|
|
3603
|
+
|
|
3604
|
+
<dl>
|
|
3605
|
+
<dd>
|
|
3606
|
+
|
|
3607
|
+
```typescript
|
|
3608
|
+
await client.workflows.get("id", {
|
|
3609
|
+
verbose: true,
|
|
3610
|
+
});
|
|
3611
|
+
```
|
|
3612
|
+
|
|
3613
|
+
</dd>
|
|
3614
|
+
</dl>
|
|
3615
|
+
</dd>
|
|
3616
|
+
</dl>
|
|
3617
|
+
|
|
3618
|
+
#### ⚙️ Parameters
|
|
3619
|
+
|
|
3620
|
+
<dl>
|
|
3621
|
+
<dd>
|
|
3622
|
+
|
|
3623
|
+
<dl>
|
|
3624
|
+
<dd>
|
|
3625
|
+
|
|
3626
|
+
**id:** `string` — ID of the workflow to retrieve
|
|
3627
|
+
|
|
3628
|
+
</dd>
|
|
3629
|
+
</dl>
|
|
3630
|
+
|
|
3631
|
+
<dl>
|
|
3632
|
+
<dd>
|
|
3633
|
+
|
|
3634
|
+
**request:** `phenoml.workflows.WorkflowsGetRequest`
|
|
3635
|
+
|
|
3636
|
+
</dd>
|
|
3637
|
+
</dl>
|
|
3638
|
+
|
|
3639
|
+
<dl>
|
|
3640
|
+
<dd>
|
|
3641
|
+
|
|
3642
|
+
**requestOptions:** `Workflows.RequestOptions`
|
|
3643
|
+
|
|
3644
|
+
</dd>
|
|
3645
|
+
</dl>
|
|
3646
|
+
</dd>
|
|
3647
|
+
</dl>
|
|
3648
|
+
|
|
3649
|
+
</dd>
|
|
3650
|
+
</dl>
|
|
3651
|
+
</details>
|
|
3652
|
+
|
|
3653
|
+
<details><summary><code>client.workflows.<a href="/src/api/resources/workflows/client/Client.ts">update</a>(id, { ...params }) -> phenoml.WorkflowsUpdateResponse</code></summary>
|
|
3654
|
+
<dl>
|
|
3655
|
+
<dd>
|
|
3656
|
+
|
|
3657
|
+
#### 📝 Description
|
|
3658
|
+
|
|
3659
|
+
<dl>
|
|
3660
|
+
<dd>
|
|
3661
|
+
|
|
3662
|
+
<dl>
|
|
3663
|
+
<dd>
|
|
3664
|
+
|
|
3665
|
+
Updates an existing workflow definition
|
|
3666
|
+
|
|
3667
|
+
</dd>
|
|
3668
|
+
</dl>
|
|
3669
|
+
</dd>
|
|
3670
|
+
</dl>
|
|
3671
|
+
|
|
3672
|
+
#### 🔌 Usage
|
|
3673
|
+
|
|
3674
|
+
<dl>
|
|
3675
|
+
<dd>
|
|
3676
|
+
|
|
3677
|
+
<dl>
|
|
3678
|
+
<dd>
|
|
3679
|
+
|
|
3680
|
+
```typescript
|
|
3681
|
+
await client.workflows.update("id", {
|
|
3682
|
+
verbose: true,
|
|
3683
|
+
name: "Updated Patient Data Mapping Workflow",
|
|
3684
|
+
workflow_instructions: "Given diagnosis data, find the patient and create condition record",
|
|
3685
|
+
sample_data: {
|
|
3686
|
+
patient_last_name: "Smith",
|
|
3687
|
+
patient_first_name: "John",
|
|
3688
|
+
diagnosis_code: "E11",
|
|
3689
|
+
},
|
|
3690
|
+
fhir_provider_id: "550e8400-e29b-41d4-a716-446655440000",
|
|
3691
|
+
});
|
|
3692
|
+
```
|
|
3693
|
+
|
|
3694
|
+
</dd>
|
|
3695
|
+
</dl>
|
|
3696
|
+
</dd>
|
|
3697
|
+
</dl>
|
|
3698
|
+
|
|
3699
|
+
#### ⚙️ Parameters
|
|
3700
|
+
|
|
3701
|
+
<dl>
|
|
3702
|
+
<dd>
|
|
3703
|
+
|
|
3704
|
+
<dl>
|
|
3705
|
+
<dd>
|
|
3706
|
+
|
|
3707
|
+
**id:** `string` — ID of the workflow to update
|
|
3708
|
+
|
|
3709
|
+
</dd>
|
|
3710
|
+
</dl>
|
|
3711
|
+
|
|
3712
|
+
<dl>
|
|
3713
|
+
<dd>
|
|
3714
|
+
|
|
3715
|
+
**request:** `phenoml.workflows.UpdateWorkflowRequest`
|
|
3716
|
+
|
|
3717
|
+
</dd>
|
|
3718
|
+
</dl>
|
|
3719
|
+
|
|
3720
|
+
<dl>
|
|
3721
|
+
<dd>
|
|
3722
|
+
|
|
3723
|
+
**requestOptions:** `Workflows.RequestOptions`
|
|
3724
|
+
|
|
3725
|
+
</dd>
|
|
3726
|
+
</dl>
|
|
3727
|
+
</dd>
|
|
3728
|
+
</dl>
|
|
3729
|
+
|
|
3730
|
+
</dd>
|
|
3731
|
+
</dl>
|
|
3732
|
+
</details>
|
|
3733
|
+
|
|
3734
|
+
<details><summary><code>client.workflows.<a href="/src/api/resources/workflows/client/Client.ts">delete</a>(id) -> phenoml.WorkflowsDeleteResponse</code></summary>
|
|
3735
|
+
<dl>
|
|
3736
|
+
<dd>
|
|
3737
|
+
|
|
3738
|
+
#### 📝 Description
|
|
3739
|
+
|
|
3740
|
+
<dl>
|
|
3741
|
+
<dd>
|
|
3742
|
+
|
|
3743
|
+
<dl>
|
|
3744
|
+
<dd>
|
|
3745
|
+
|
|
3746
|
+
Deletes a workflow definition by its ID
|
|
3747
|
+
|
|
3748
|
+
</dd>
|
|
3749
|
+
</dl>
|
|
3750
|
+
</dd>
|
|
3751
|
+
</dl>
|
|
3752
|
+
|
|
3753
|
+
#### 🔌 Usage
|
|
3754
|
+
|
|
3755
|
+
<dl>
|
|
3756
|
+
<dd>
|
|
3757
|
+
|
|
3758
|
+
<dl>
|
|
3759
|
+
<dd>
|
|
3760
|
+
|
|
3761
|
+
```typescript
|
|
3762
|
+
await client.workflows.delete("id");
|
|
3763
|
+
```
|
|
3764
|
+
|
|
3765
|
+
</dd>
|
|
3766
|
+
</dl>
|
|
3767
|
+
</dd>
|
|
3768
|
+
</dl>
|
|
3769
|
+
|
|
3770
|
+
#### ⚙️ Parameters
|
|
3771
|
+
|
|
3772
|
+
<dl>
|
|
3773
|
+
<dd>
|
|
3774
|
+
|
|
3775
|
+
<dl>
|
|
3776
|
+
<dd>
|
|
3777
|
+
|
|
3778
|
+
**id:** `string` — ID of the workflow to delete
|
|
3779
|
+
|
|
3780
|
+
</dd>
|
|
3781
|
+
</dl>
|
|
3782
|
+
|
|
3783
|
+
<dl>
|
|
3784
|
+
<dd>
|
|
3785
|
+
|
|
3786
|
+
**requestOptions:** `Workflows.RequestOptions`
|
|
3787
|
+
|
|
3788
|
+
</dd>
|
|
3789
|
+
</dl>
|
|
3790
|
+
</dd>
|
|
3791
|
+
</dl>
|
|
3792
|
+
|
|
3793
|
+
</dd>
|
|
3794
|
+
</dl>
|
|
3795
|
+
</details>
|
|
3796
|
+
|
|
3797
|
+
<details><summary><code>client.workflows.<a href="/src/api/resources/workflows/client/Client.ts">execute</a>(id, { ...params }) -> phenoml.ExecuteWorkflowResponse</code></summary>
|
|
3798
|
+
<dl>
|
|
3799
|
+
<dd>
|
|
3800
|
+
|
|
3801
|
+
#### 📝 Description
|
|
3802
|
+
|
|
3803
|
+
<dl>
|
|
3804
|
+
<dd>
|
|
3805
|
+
|
|
3806
|
+
<dl>
|
|
3807
|
+
<dd>
|
|
3808
|
+
|
|
3809
|
+
Executes a workflow with provided input data and returns results
|
|
3810
|
+
|
|
3811
|
+
</dd>
|
|
3812
|
+
</dl>
|
|
3813
|
+
</dd>
|
|
3814
|
+
</dl>
|
|
3815
|
+
|
|
3816
|
+
#### 🔌 Usage
|
|
3817
|
+
|
|
3818
|
+
<dl>
|
|
3819
|
+
<dd>
|
|
3820
|
+
|
|
3821
|
+
<dl>
|
|
3822
|
+
<dd>
|
|
3823
|
+
|
|
3824
|
+
```typescript
|
|
3825
|
+
await client.workflows.execute("id", {
|
|
3826
|
+
input_data: {
|
|
3827
|
+
patient_last_name: "Johnson",
|
|
3828
|
+
patient_first_name: "Mary",
|
|
3829
|
+
diagnosis_code: "M79.3",
|
|
3830
|
+
encounter_date: "2024-01-15",
|
|
3831
|
+
},
|
|
3832
|
+
});
|
|
3833
|
+
```
|
|
3834
|
+
|
|
3835
|
+
</dd>
|
|
3836
|
+
</dl>
|
|
3837
|
+
</dd>
|
|
3838
|
+
</dl>
|
|
3839
|
+
|
|
3840
|
+
#### ⚙️ Parameters
|
|
3841
|
+
|
|
3842
|
+
<dl>
|
|
3843
|
+
<dd>
|
|
3844
|
+
|
|
3845
|
+
<dl>
|
|
3846
|
+
<dd>
|
|
3847
|
+
|
|
3848
|
+
**id:** `string` — ID of the workflow to execute
|
|
3849
|
+
|
|
3850
|
+
</dd>
|
|
3851
|
+
</dl>
|
|
3852
|
+
|
|
3853
|
+
<dl>
|
|
3854
|
+
<dd>
|
|
3855
|
+
|
|
3856
|
+
**request:** `phenoml.workflows.ExecuteWorkflowRequest`
|
|
3857
|
+
|
|
3858
|
+
</dd>
|
|
3859
|
+
</dl>
|
|
3860
|
+
|
|
3861
|
+
<dl>
|
|
3862
|
+
<dd>
|
|
3863
|
+
|
|
3864
|
+
**requestOptions:** `Workflows.RequestOptions`
|
|
3865
|
+
|
|
3866
|
+
</dd>
|
|
3867
|
+
</dl>
|
|
3868
|
+
</dd>
|
|
3869
|
+
</dl>
|
|
3870
|
+
|
|
3871
|
+
</dd>
|
|
3872
|
+
</dl>
|
|
3873
|
+
</details>
|