phenoml 0.0.4 → 0.0.6
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/index.d.ts +1 -0
- package/dist/cjs/api/index.js +1 -0
- 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 +43 -0
- package/dist/cjs/api/resources/workflows/client/Client.js +222 -0
- package/dist/cjs/api/resources/workflows/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/workflows/client/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 +4 -0
- package/dist/cjs/api/resources/workflows/index.js +20 -0
- package/dist/cjs/api/resources/workflows/resources/index.d.ts +4 -0
- package/dist/cjs/api/resources/workflows/resources/index.js +43 -0
- package/dist/cjs/api/resources/workflows/resources/mcpServer/client/Client.d.ts +50 -0
- package/dist/cjs/api/resources/workflows/resources/mcpServer/client/Client.js +268 -0
- package/dist/cjs/api/resources/workflows/resources/mcpServer/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/workflows/resources/mcpServer/client/index.js +2 -0
- package/dist/cjs/api/resources/workflows/resources/mcpServer/index.d.ts +2 -0
- package/dist/cjs/api/resources/workflows/resources/mcpServer/index.js +18 -0
- package/dist/cjs/api/resources/workflows/resources/mcpServer/resources/index.d.ts +1 -0
- package/dist/cjs/api/resources/workflows/resources/mcpServer/resources/index.js +37 -0
- package/dist/cjs/api/resources/workflows/resources/mcpServer/resources/tools/client/Client.d.ts +49 -0
- package/dist/cjs/api/resources/workflows/resources/mcpServer/resources/tools/client/Client.js +265 -0
- package/dist/cjs/api/resources/workflows/resources/mcpServer/resources/tools/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/workflows/resources/mcpServer/resources/tools/client/index.js +2 -0
- package/dist/cjs/api/resources/workflows/resources/mcpServer/resources/tools/index.d.ts +1 -0
- package/dist/cjs/api/resources/workflows/resources/mcpServer/resources/tools/index.js +17 -0
- package/dist/cjs/api/resources/workflows/resources/workflows/client/Client.d.ts +145 -0
- package/dist/cjs/api/resources/workflows/resources/workflows/client/Client.js +569 -0
- package/dist/cjs/api/resources/workflows/resources/workflows/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/workflows/resources/workflows/client/index.js +17 -0
- package/dist/cjs/api/resources/workflows/resources/workflows/client/requests/CreateWorkflowRequest.d.ts +40 -0
- package/dist/cjs/api/resources/workflows/resources/workflows/client/requests/CreateWorkflowRequest.js +3 -0
- package/dist/cjs/api/resources/workflows/resources/workflows/client/requests/ExecuteWorkflowRequest.d.ts +15 -0
- package/dist/cjs/api/resources/workflows/resources/workflows/client/requests/ExecuteWorkflowRequest.js +3 -0
- package/dist/cjs/api/resources/workflows/resources/workflows/client/requests/UpdateWorkflowRequest.d.ts +40 -0
- package/dist/cjs/api/resources/workflows/resources/workflows/client/requests/UpdateWorkflowRequest.js +3 -0
- package/dist/cjs/api/resources/workflows/resources/workflows/client/requests/WorkflowsGetRequest.d.ts +10 -0
- package/dist/cjs/api/resources/workflows/resources/workflows/client/requests/WorkflowsGetRequest.js +3 -0
- package/dist/cjs/api/resources/workflows/resources/workflows/client/requests/WorkflowsListRequest.d.ts +10 -0
- package/dist/cjs/api/resources/workflows/resources/workflows/client/requests/WorkflowsListRequest.js +3 -0
- package/dist/cjs/api/resources/workflows/resources/workflows/client/requests/index.d.ts +5 -0
- package/dist/cjs/api/resources/workflows/resources/workflows/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/workflows/resources/workflows/index.d.ts +2 -0
- package/dist/cjs/api/resources/workflows/resources/workflows/index.js +18 -0
- package/dist/cjs/api/resources/workflows/resources/workflows/types/WorkflowsDeleteResponse.d.ts +4 -0
- package/dist/cjs/api/resources/workflows/resources/workflows/types/WorkflowsDeleteResponse.js +3 -0
- package/dist/cjs/api/resources/workflows/resources/workflows/types/WorkflowsGetResponse.d.ts +7 -0
- package/dist/cjs/api/resources/workflows/resources/workflows/types/WorkflowsGetResponse.js +3 -0
- package/dist/cjs/api/resources/workflows/resources/workflows/types/WorkflowsUpdateResponse.d.ts +9 -0
- package/dist/cjs/api/resources/workflows/resources/workflows/types/WorkflowsUpdateResponse.js +3 -0
- package/dist/cjs/api/resources/workflows/resources/workflows/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/workflows/resources/workflows/types/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/index.d.ts +14 -0
- package/dist/cjs/api/resources/workflows/types/index.js +30 -0
- package/dist/cjs/api/types/CohortResponse.d.ts +1 -0
- package/dist/cjs/api/types/CohortResponse.js +3 -0
- package/dist/cjs/api/types/Lang2FhirAndCreateResponse.d.ts +1 -0
- package/dist/cjs/api/types/Lang2FhirAndCreateResponse.js +3 -0
- package/dist/cjs/api/types/Lang2FhirAndSearchResponse.d.ts +1 -0
- package/dist/cjs/api/types/Lang2FhirAndSearchResponse.js +3 -0
- package/dist/cjs/api/types/McpServerResponse.d.ts +1 -0
- package/dist/cjs/api/types/McpServerResponse.js +3 -0
- package/dist/cjs/api/types/McpServerToolCallResponse.d.ts +1 -0
- package/dist/cjs/api/types/McpServerToolCallResponse.js +3 -0
- package/dist/cjs/api/types/McpServerToolResponse.d.ts +1 -0
- package/dist/cjs/api/types/McpServerToolResponse.js +3 -0
- package/dist/cjs/api/types/SearchConcept.d.ts +1 -0
- package/dist/cjs/api/types/SearchConcept.js +3 -0
- package/dist/cjs/api/types/index.d.ts +7 -0
- package/dist/cjs/api/types/index.js +23 -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/index.d.mts +1 -0
- package/dist/esm/api/index.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 +43 -0
- package/dist/esm/api/resources/workflows/client/Client.mjs +185 -0
- package/dist/esm/api/resources/workflows/client/index.d.mts +1 -0
- package/dist/esm/api/resources/workflows/client/index.mjs +1 -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 +4 -0
- package/dist/esm/api/resources/workflows/index.mjs +4 -0
- package/dist/esm/api/resources/workflows/resources/index.d.mts +4 -0
- package/dist/esm/api/resources/workflows/resources/index.mjs +4 -0
- package/dist/esm/api/resources/workflows/resources/mcpServer/client/Client.d.mts +50 -0
- package/dist/esm/api/resources/workflows/resources/mcpServer/client/Client.mjs +231 -0
- package/dist/esm/api/resources/workflows/resources/mcpServer/client/index.d.mts +1 -0
- package/dist/esm/api/resources/workflows/resources/mcpServer/client/index.mjs +1 -0
- package/dist/esm/api/resources/workflows/resources/mcpServer/index.d.mts +2 -0
- package/dist/esm/api/resources/workflows/resources/mcpServer/index.mjs +2 -0
- package/dist/esm/api/resources/workflows/resources/mcpServer/resources/index.d.mts +1 -0
- package/dist/esm/api/resources/workflows/resources/mcpServer/resources/index.mjs +1 -0
- package/dist/esm/api/resources/workflows/resources/mcpServer/resources/tools/client/Client.d.mts +49 -0
- package/dist/esm/api/resources/workflows/resources/mcpServer/resources/tools/client/Client.mjs +228 -0
- package/dist/esm/api/resources/workflows/resources/mcpServer/resources/tools/client/index.d.mts +1 -0
- package/dist/esm/api/resources/workflows/resources/mcpServer/resources/tools/client/index.mjs +1 -0
- package/dist/esm/api/resources/workflows/resources/mcpServer/resources/tools/index.d.mts +1 -0
- package/dist/esm/api/resources/workflows/resources/mcpServer/resources/tools/index.mjs +1 -0
- package/dist/esm/api/resources/workflows/resources/workflows/client/Client.d.mts +145 -0
- package/dist/esm/api/resources/workflows/resources/workflows/client/Client.mjs +532 -0
- package/dist/esm/api/resources/workflows/resources/workflows/client/index.d.mts +2 -0
- package/dist/esm/api/resources/workflows/resources/workflows/client/index.mjs +2 -0
- package/dist/esm/api/resources/workflows/resources/workflows/client/requests/CreateWorkflowRequest.d.mts +40 -0
- package/dist/esm/api/resources/workflows/resources/workflows/client/requests/CreateWorkflowRequest.mjs +2 -0
- package/dist/esm/api/resources/workflows/resources/workflows/client/requests/ExecuteWorkflowRequest.d.mts +15 -0
- package/dist/esm/api/resources/workflows/resources/workflows/client/requests/ExecuteWorkflowRequest.mjs +2 -0
- package/dist/esm/api/resources/workflows/resources/workflows/client/requests/UpdateWorkflowRequest.d.mts +40 -0
- package/dist/esm/api/resources/workflows/resources/workflows/client/requests/UpdateWorkflowRequest.mjs +2 -0
- package/dist/esm/api/resources/workflows/resources/workflows/client/requests/WorkflowsGetRequest.d.mts +10 -0
- package/dist/esm/api/resources/workflows/resources/workflows/client/requests/WorkflowsGetRequest.mjs +2 -0
- package/dist/esm/api/resources/workflows/resources/workflows/client/requests/WorkflowsListRequest.d.mts +10 -0
- package/dist/esm/api/resources/workflows/resources/workflows/client/requests/WorkflowsListRequest.mjs +2 -0
- package/dist/esm/api/resources/workflows/resources/workflows/client/requests/index.d.mts +5 -0
- package/dist/esm/api/resources/workflows/resources/workflows/client/requests/index.mjs +5 -0
- package/dist/esm/api/resources/workflows/resources/workflows/index.d.mts +2 -0
- package/dist/esm/api/resources/workflows/resources/workflows/index.mjs +2 -0
- package/dist/esm/api/resources/workflows/resources/workflows/types/WorkflowsDeleteResponse.d.mts +4 -0
- package/dist/esm/api/resources/workflows/resources/workflows/types/WorkflowsDeleteResponse.mjs +2 -0
- package/dist/esm/api/resources/workflows/resources/workflows/types/WorkflowsGetResponse.d.mts +7 -0
- package/dist/esm/api/resources/workflows/resources/workflows/types/WorkflowsGetResponse.mjs +2 -0
- package/dist/esm/api/resources/workflows/resources/workflows/types/WorkflowsUpdateResponse.d.mts +9 -0
- package/dist/esm/api/resources/workflows/resources/workflows/types/WorkflowsUpdateResponse.mjs +2 -0
- package/dist/esm/api/resources/workflows/resources/workflows/types/index.d.mts +3 -0
- package/dist/esm/api/resources/workflows/resources/workflows/types/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/index.d.mts +14 -0
- package/dist/esm/api/resources/workflows/types/index.mjs +14 -0
- package/dist/esm/api/types/CohortResponse.d.mts +1 -0
- package/dist/esm/api/types/CohortResponse.mjs +2 -0
- package/dist/esm/api/types/Lang2FhirAndCreateResponse.d.mts +1 -0
- package/dist/esm/api/types/Lang2FhirAndCreateResponse.mjs +2 -0
- package/dist/esm/api/types/Lang2FhirAndSearchResponse.d.mts +1 -0
- package/dist/esm/api/types/Lang2FhirAndSearchResponse.mjs +2 -0
- package/dist/esm/api/types/McpServerResponse.d.mts +1 -0
- package/dist/esm/api/types/McpServerResponse.mjs +2 -0
- package/dist/esm/api/types/McpServerToolCallResponse.d.mts +1 -0
- package/dist/esm/api/types/McpServerToolCallResponse.mjs +2 -0
- package/dist/esm/api/types/McpServerToolResponse.d.mts +1 -0
- package/dist/esm/api/types/McpServerToolResponse.mjs +2 -0
- package/dist/esm/api/types/SearchConcept.d.mts +1 -0
- package/dist/esm/api/types/SearchConcept.mjs +2 -0
- package/dist/esm/api/types/index.d.mts +7 -0
- package/dist/esm/api/types/index.mjs +7 -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 +952 -1
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,932 @@ 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">createFhirResource</a>() -> void</code></summary>
|
|
3443
|
+
<dl>
|
|
3444
|
+
<dd>
|
|
3445
|
+
|
|
3446
|
+
#### 🔌 Usage
|
|
3447
|
+
|
|
3448
|
+
<dl>
|
|
3449
|
+
<dd>
|
|
3450
|
+
|
|
3451
|
+
<dl>
|
|
3452
|
+
<dd>
|
|
3453
|
+
|
|
3454
|
+
```typescript
|
|
3455
|
+
await client.workflows.createFhirResource();
|
|
3456
|
+
```
|
|
3457
|
+
|
|
3458
|
+
</dd>
|
|
3459
|
+
</dl>
|
|
3460
|
+
</dd>
|
|
3461
|
+
</dl>
|
|
3462
|
+
|
|
3463
|
+
#### ⚙️ Parameters
|
|
3464
|
+
|
|
3465
|
+
<dl>
|
|
3466
|
+
<dd>
|
|
3467
|
+
|
|
3468
|
+
<dl>
|
|
3469
|
+
<dd>
|
|
3470
|
+
|
|
3471
|
+
**requestOptions:** `Workflows.RequestOptions`
|
|
3472
|
+
|
|
3473
|
+
</dd>
|
|
3474
|
+
</dl>
|
|
3475
|
+
</dd>
|
|
3476
|
+
</dl>
|
|
3477
|
+
|
|
3478
|
+
</dd>
|
|
3479
|
+
</dl>
|
|
3480
|
+
</details>
|
|
3481
|
+
|
|
3482
|
+
<details><summary><code>client.workflows.<a href="/src/api/resources/workflows/client/Client.ts">searchFhirResources</a>() -> void</code></summary>
|
|
3483
|
+
<dl>
|
|
3484
|
+
<dd>
|
|
3485
|
+
|
|
3486
|
+
#### 🔌 Usage
|
|
3487
|
+
|
|
3488
|
+
<dl>
|
|
3489
|
+
<dd>
|
|
3490
|
+
|
|
3491
|
+
<dl>
|
|
3492
|
+
<dd>
|
|
3493
|
+
|
|
3494
|
+
```typescript
|
|
3495
|
+
await client.workflows.searchFhirResources();
|
|
3496
|
+
```
|
|
3497
|
+
|
|
3498
|
+
</dd>
|
|
3499
|
+
</dl>
|
|
3500
|
+
</dd>
|
|
3501
|
+
</dl>
|
|
3502
|
+
|
|
3503
|
+
#### ⚙️ Parameters
|
|
3504
|
+
|
|
3505
|
+
<dl>
|
|
3506
|
+
<dd>
|
|
3507
|
+
|
|
3508
|
+
<dl>
|
|
3509
|
+
<dd>
|
|
3510
|
+
|
|
3511
|
+
**requestOptions:** `Workflows.RequestOptions`
|
|
3512
|
+
|
|
3513
|
+
</dd>
|
|
3514
|
+
</dl>
|
|
3515
|
+
</dd>
|
|
3516
|
+
</dl>
|
|
3517
|
+
|
|
3518
|
+
</dd>
|
|
3519
|
+
</dl>
|
|
3520
|
+
</details>
|
|
3521
|
+
|
|
3522
|
+
<details><summary><code>client.workflows.<a href="/src/api/resources/workflows/client/Client.ts">analyzeCohort</a>() -> void</code></summary>
|
|
3523
|
+
<dl>
|
|
3524
|
+
<dd>
|
|
3525
|
+
|
|
3526
|
+
#### 🔌 Usage
|
|
3527
|
+
|
|
3528
|
+
<dl>
|
|
3529
|
+
<dd>
|
|
3530
|
+
|
|
3531
|
+
<dl>
|
|
3532
|
+
<dd>
|
|
3533
|
+
|
|
3534
|
+
```typescript
|
|
3535
|
+
await client.workflows.analyzeCohort();
|
|
3536
|
+
```
|
|
3537
|
+
|
|
3538
|
+
</dd>
|
|
3539
|
+
</dl>
|
|
3540
|
+
</dd>
|
|
3541
|
+
</dl>
|
|
3542
|
+
|
|
3543
|
+
#### ⚙️ Parameters
|
|
3544
|
+
|
|
3545
|
+
<dl>
|
|
3546
|
+
<dd>
|
|
3547
|
+
|
|
3548
|
+
<dl>
|
|
3549
|
+
<dd>
|
|
3550
|
+
|
|
3551
|
+
**requestOptions:** `Workflows.RequestOptions`
|
|
3552
|
+
|
|
3553
|
+
</dd>
|
|
3554
|
+
</dl>
|
|
3555
|
+
</dd>
|
|
3556
|
+
</dl>
|
|
3557
|
+
|
|
3558
|
+
</dd>
|
|
3559
|
+
</dl>
|
|
3560
|
+
</details>
|
|
3561
|
+
|
|
3562
|
+
## Workflows Workflows
|
|
3563
|
+
|
|
3564
|
+
<details><summary><code>client.workflows.workflows.<a href="/src/api/resources/workflows/resources/workflows/client/Client.ts">list</a>({ ...params }) -> phenoml.ListWorkflowsResponse</code></summary>
|
|
3565
|
+
<dl>
|
|
3566
|
+
<dd>
|
|
3567
|
+
|
|
3568
|
+
#### 📝 Description
|
|
3569
|
+
|
|
3570
|
+
<dl>
|
|
3571
|
+
<dd>
|
|
3572
|
+
|
|
3573
|
+
<dl>
|
|
3574
|
+
<dd>
|
|
3575
|
+
|
|
3576
|
+
Retrieves all workflow definitions for the authenticated user
|
|
3577
|
+
|
|
3578
|
+
</dd>
|
|
3579
|
+
</dl>
|
|
3580
|
+
</dd>
|
|
3581
|
+
</dl>
|
|
3582
|
+
|
|
3583
|
+
#### 🔌 Usage
|
|
3584
|
+
|
|
3585
|
+
<dl>
|
|
3586
|
+
<dd>
|
|
3587
|
+
|
|
3588
|
+
<dl>
|
|
3589
|
+
<dd>
|
|
3590
|
+
|
|
3591
|
+
```typescript
|
|
3592
|
+
await client.workflows.workflows.list({
|
|
3593
|
+
verbose: true,
|
|
3594
|
+
});
|
|
3595
|
+
```
|
|
3596
|
+
|
|
3597
|
+
</dd>
|
|
3598
|
+
</dl>
|
|
3599
|
+
</dd>
|
|
3600
|
+
</dl>
|
|
3601
|
+
|
|
3602
|
+
#### ⚙️ Parameters
|
|
3603
|
+
|
|
3604
|
+
<dl>
|
|
3605
|
+
<dd>
|
|
3606
|
+
|
|
3607
|
+
<dl>
|
|
3608
|
+
<dd>
|
|
3609
|
+
|
|
3610
|
+
**request:** `phenoml.workflows.WorkflowsListRequest`
|
|
3611
|
+
|
|
3612
|
+
</dd>
|
|
3613
|
+
</dl>
|
|
3614
|
+
|
|
3615
|
+
<dl>
|
|
3616
|
+
<dd>
|
|
3617
|
+
|
|
3618
|
+
**requestOptions:** `Workflows.RequestOptions`
|
|
3619
|
+
|
|
3620
|
+
</dd>
|
|
3621
|
+
</dl>
|
|
3622
|
+
</dd>
|
|
3623
|
+
</dl>
|
|
3624
|
+
|
|
3625
|
+
</dd>
|
|
3626
|
+
</dl>
|
|
3627
|
+
</details>
|
|
3628
|
+
|
|
3629
|
+
<details><summary><code>client.workflows.workflows.<a href="/src/api/resources/workflows/resources/workflows/client/Client.ts">create</a>({ ...params }) -> phenoml.CreateWorkflowResponse</code></summary>
|
|
3630
|
+
<dl>
|
|
3631
|
+
<dd>
|
|
3632
|
+
|
|
3633
|
+
#### 📝 Description
|
|
3634
|
+
|
|
3635
|
+
<dl>
|
|
3636
|
+
<dd>
|
|
3637
|
+
|
|
3638
|
+
<dl>
|
|
3639
|
+
<dd>
|
|
3640
|
+
|
|
3641
|
+
Creates a new workflow definition with graph generation from workflow instructions
|
|
3642
|
+
|
|
3643
|
+
</dd>
|
|
3644
|
+
</dl>
|
|
3645
|
+
</dd>
|
|
3646
|
+
</dl>
|
|
3647
|
+
|
|
3648
|
+
#### 🔌 Usage
|
|
3649
|
+
|
|
3650
|
+
<dl>
|
|
3651
|
+
<dd>
|
|
3652
|
+
|
|
3653
|
+
<dl>
|
|
3654
|
+
<dd>
|
|
3655
|
+
|
|
3656
|
+
```typescript
|
|
3657
|
+
await client.workflows.workflows.create({
|
|
3658
|
+
verbose: true,
|
|
3659
|
+
name: "Patient Data Mapping Workflow",
|
|
3660
|
+
workflow_instructions: "Given diagnosis data, find the patient and create condition record",
|
|
3661
|
+
sample_data: {
|
|
3662
|
+
patient_last_name: "Rippin",
|
|
3663
|
+
patient_first_name: "Clay",
|
|
3664
|
+
diagnosis_code: "I10",
|
|
3665
|
+
},
|
|
3666
|
+
fhir_provider_id: "550e8400-e29b-41d4-a716-446655440000",
|
|
3667
|
+
});
|
|
3668
|
+
```
|
|
3669
|
+
|
|
3670
|
+
</dd>
|
|
3671
|
+
</dl>
|
|
3672
|
+
</dd>
|
|
3673
|
+
</dl>
|
|
3674
|
+
|
|
3675
|
+
#### ⚙️ Parameters
|
|
3676
|
+
|
|
3677
|
+
<dl>
|
|
3678
|
+
<dd>
|
|
3679
|
+
|
|
3680
|
+
<dl>
|
|
3681
|
+
<dd>
|
|
3682
|
+
|
|
3683
|
+
**request:** `phenoml.workflows.CreateWorkflowRequest`
|
|
3684
|
+
|
|
3685
|
+
</dd>
|
|
3686
|
+
</dl>
|
|
3687
|
+
|
|
3688
|
+
<dl>
|
|
3689
|
+
<dd>
|
|
3690
|
+
|
|
3691
|
+
**requestOptions:** `Workflows.RequestOptions`
|
|
3692
|
+
|
|
3693
|
+
</dd>
|
|
3694
|
+
</dl>
|
|
3695
|
+
</dd>
|
|
3696
|
+
</dl>
|
|
3697
|
+
|
|
3698
|
+
</dd>
|
|
3699
|
+
</dl>
|
|
3700
|
+
</details>
|
|
3701
|
+
|
|
3702
|
+
<details><summary><code>client.workflows.workflows.<a href="/src/api/resources/workflows/resources/workflows/client/Client.ts">get</a>(id, { ...params }) -> phenoml.WorkflowsGetResponse</code></summary>
|
|
3703
|
+
<dl>
|
|
3704
|
+
<dd>
|
|
3705
|
+
|
|
3706
|
+
#### 📝 Description
|
|
3707
|
+
|
|
3708
|
+
<dl>
|
|
3709
|
+
<dd>
|
|
3710
|
+
|
|
3711
|
+
<dl>
|
|
3712
|
+
<dd>
|
|
3713
|
+
|
|
3714
|
+
Retrieves a workflow definition by its ID
|
|
3715
|
+
|
|
3716
|
+
</dd>
|
|
3717
|
+
</dl>
|
|
3718
|
+
</dd>
|
|
3719
|
+
</dl>
|
|
3720
|
+
|
|
3721
|
+
#### 🔌 Usage
|
|
3722
|
+
|
|
3723
|
+
<dl>
|
|
3724
|
+
<dd>
|
|
3725
|
+
|
|
3726
|
+
<dl>
|
|
3727
|
+
<dd>
|
|
3728
|
+
|
|
3729
|
+
```typescript
|
|
3730
|
+
await client.workflows.workflows.get("id", {
|
|
3731
|
+
verbose: true,
|
|
3732
|
+
});
|
|
3733
|
+
```
|
|
3734
|
+
|
|
3735
|
+
</dd>
|
|
3736
|
+
</dl>
|
|
3737
|
+
</dd>
|
|
3738
|
+
</dl>
|
|
3739
|
+
|
|
3740
|
+
#### ⚙️ Parameters
|
|
3741
|
+
|
|
3742
|
+
<dl>
|
|
3743
|
+
<dd>
|
|
3744
|
+
|
|
3745
|
+
<dl>
|
|
3746
|
+
<dd>
|
|
3747
|
+
|
|
3748
|
+
**id:** `string` — ID of the workflow to retrieve
|
|
3749
|
+
|
|
3750
|
+
</dd>
|
|
3751
|
+
</dl>
|
|
3752
|
+
|
|
3753
|
+
<dl>
|
|
3754
|
+
<dd>
|
|
3755
|
+
|
|
3756
|
+
**request:** `phenoml.workflows.WorkflowsGetRequest`
|
|
3757
|
+
|
|
3758
|
+
</dd>
|
|
3759
|
+
</dl>
|
|
3760
|
+
|
|
3761
|
+
<dl>
|
|
3762
|
+
<dd>
|
|
3763
|
+
|
|
3764
|
+
**requestOptions:** `Workflows.RequestOptions`
|
|
3765
|
+
|
|
3766
|
+
</dd>
|
|
3767
|
+
</dl>
|
|
3768
|
+
</dd>
|
|
3769
|
+
</dl>
|
|
3770
|
+
|
|
3771
|
+
</dd>
|
|
3772
|
+
</dl>
|
|
3773
|
+
</details>
|
|
3774
|
+
|
|
3775
|
+
<details><summary><code>client.workflows.workflows.<a href="/src/api/resources/workflows/resources/workflows/client/Client.ts">update</a>(id, { ...params }) -> phenoml.WorkflowsUpdateResponse</code></summary>
|
|
3776
|
+
<dl>
|
|
3777
|
+
<dd>
|
|
3778
|
+
|
|
3779
|
+
#### 📝 Description
|
|
3780
|
+
|
|
3781
|
+
<dl>
|
|
3782
|
+
<dd>
|
|
3783
|
+
|
|
3784
|
+
<dl>
|
|
3785
|
+
<dd>
|
|
3786
|
+
|
|
3787
|
+
Updates an existing workflow definition
|
|
3788
|
+
|
|
3789
|
+
</dd>
|
|
3790
|
+
</dl>
|
|
3791
|
+
</dd>
|
|
3792
|
+
</dl>
|
|
3793
|
+
|
|
3794
|
+
#### 🔌 Usage
|
|
3795
|
+
|
|
3796
|
+
<dl>
|
|
3797
|
+
<dd>
|
|
3798
|
+
|
|
3799
|
+
<dl>
|
|
3800
|
+
<dd>
|
|
3801
|
+
|
|
3802
|
+
```typescript
|
|
3803
|
+
await client.workflows.workflows.update("id", {
|
|
3804
|
+
verbose: true,
|
|
3805
|
+
name: "Updated Patient Data Mapping Workflow",
|
|
3806
|
+
workflow_instructions: "Given diagnosis data, find the patient and create condition record",
|
|
3807
|
+
sample_data: {
|
|
3808
|
+
patient_last_name: "Smith",
|
|
3809
|
+
patient_first_name: "John",
|
|
3810
|
+
diagnosis_code: "E11",
|
|
3811
|
+
},
|
|
3812
|
+
fhir_provider_id: "550e8400-e29b-41d4-a716-446655440000",
|
|
3813
|
+
});
|
|
3814
|
+
```
|
|
3815
|
+
|
|
3816
|
+
</dd>
|
|
3817
|
+
</dl>
|
|
3818
|
+
</dd>
|
|
3819
|
+
</dl>
|
|
3820
|
+
|
|
3821
|
+
#### ⚙️ Parameters
|
|
3822
|
+
|
|
3823
|
+
<dl>
|
|
3824
|
+
<dd>
|
|
3825
|
+
|
|
3826
|
+
<dl>
|
|
3827
|
+
<dd>
|
|
3828
|
+
|
|
3829
|
+
**id:** `string` — ID of the workflow to update
|
|
3830
|
+
|
|
3831
|
+
</dd>
|
|
3832
|
+
</dl>
|
|
3833
|
+
|
|
3834
|
+
<dl>
|
|
3835
|
+
<dd>
|
|
3836
|
+
|
|
3837
|
+
**request:** `phenoml.workflows.UpdateWorkflowRequest`
|
|
3838
|
+
|
|
3839
|
+
</dd>
|
|
3840
|
+
</dl>
|
|
3841
|
+
|
|
3842
|
+
<dl>
|
|
3843
|
+
<dd>
|
|
3844
|
+
|
|
3845
|
+
**requestOptions:** `Workflows.RequestOptions`
|
|
3846
|
+
|
|
3847
|
+
</dd>
|
|
3848
|
+
</dl>
|
|
3849
|
+
</dd>
|
|
3850
|
+
</dl>
|
|
3851
|
+
|
|
3852
|
+
</dd>
|
|
3853
|
+
</dl>
|
|
3854
|
+
</details>
|
|
3855
|
+
|
|
3856
|
+
<details><summary><code>client.workflows.workflows.<a href="/src/api/resources/workflows/resources/workflows/client/Client.ts">delete</a>(id) -> phenoml.WorkflowsDeleteResponse</code></summary>
|
|
3857
|
+
<dl>
|
|
3858
|
+
<dd>
|
|
3859
|
+
|
|
3860
|
+
#### 📝 Description
|
|
3861
|
+
|
|
3862
|
+
<dl>
|
|
3863
|
+
<dd>
|
|
3864
|
+
|
|
3865
|
+
<dl>
|
|
3866
|
+
<dd>
|
|
3867
|
+
|
|
3868
|
+
Deletes a workflow definition by its ID
|
|
3869
|
+
|
|
3870
|
+
</dd>
|
|
3871
|
+
</dl>
|
|
3872
|
+
</dd>
|
|
3873
|
+
</dl>
|
|
3874
|
+
|
|
3875
|
+
#### 🔌 Usage
|
|
3876
|
+
|
|
3877
|
+
<dl>
|
|
3878
|
+
<dd>
|
|
3879
|
+
|
|
3880
|
+
<dl>
|
|
3881
|
+
<dd>
|
|
3882
|
+
|
|
3883
|
+
```typescript
|
|
3884
|
+
await client.workflows.workflows.delete("id");
|
|
3885
|
+
```
|
|
3886
|
+
|
|
3887
|
+
</dd>
|
|
3888
|
+
</dl>
|
|
3889
|
+
</dd>
|
|
3890
|
+
</dl>
|
|
3891
|
+
|
|
3892
|
+
#### ⚙️ Parameters
|
|
3893
|
+
|
|
3894
|
+
<dl>
|
|
3895
|
+
<dd>
|
|
3896
|
+
|
|
3897
|
+
<dl>
|
|
3898
|
+
<dd>
|
|
3899
|
+
|
|
3900
|
+
**id:** `string` — ID of the workflow to delete
|
|
3901
|
+
|
|
3902
|
+
</dd>
|
|
3903
|
+
</dl>
|
|
3904
|
+
|
|
3905
|
+
<dl>
|
|
3906
|
+
<dd>
|
|
3907
|
+
|
|
3908
|
+
**requestOptions:** `Workflows.RequestOptions`
|
|
3909
|
+
|
|
3910
|
+
</dd>
|
|
3911
|
+
</dl>
|
|
3912
|
+
</dd>
|
|
3913
|
+
</dl>
|
|
3914
|
+
|
|
3915
|
+
</dd>
|
|
3916
|
+
</dl>
|
|
3917
|
+
</details>
|
|
3918
|
+
|
|
3919
|
+
<details><summary><code>client.workflows.workflows.<a href="/src/api/resources/workflows/resources/workflows/client/Client.ts">execute</a>(id, { ...params }) -> phenoml.ExecuteWorkflowResponse</code></summary>
|
|
3920
|
+
<dl>
|
|
3921
|
+
<dd>
|
|
3922
|
+
|
|
3923
|
+
#### 📝 Description
|
|
3924
|
+
|
|
3925
|
+
<dl>
|
|
3926
|
+
<dd>
|
|
3927
|
+
|
|
3928
|
+
<dl>
|
|
3929
|
+
<dd>
|
|
3930
|
+
|
|
3931
|
+
Executes a workflow with provided input data and returns results
|
|
3932
|
+
|
|
3933
|
+
</dd>
|
|
3934
|
+
</dl>
|
|
3935
|
+
</dd>
|
|
3936
|
+
</dl>
|
|
3937
|
+
|
|
3938
|
+
#### 🔌 Usage
|
|
3939
|
+
|
|
3940
|
+
<dl>
|
|
3941
|
+
<dd>
|
|
3942
|
+
|
|
3943
|
+
<dl>
|
|
3944
|
+
<dd>
|
|
3945
|
+
|
|
3946
|
+
```typescript
|
|
3947
|
+
await client.workflows.workflows.execute("id", {
|
|
3948
|
+
input_data: {
|
|
3949
|
+
patient_last_name: "Johnson",
|
|
3950
|
+
patient_first_name: "Mary",
|
|
3951
|
+
diagnosis_code: "M79.3",
|
|
3952
|
+
encounter_date: "2024-01-15",
|
|
3953
|
+
},
|
|
3954
|
+
});
|
|
3955
|
+
```
|
|
3956
|
+
|
|
3957
|
+
</dd>
|
|
3958
|
+
</dl>
|
|
3959
|
+
</dd>
|
|
3960
|
+
</dl>
|
|
3961
|
+
|
|
3962
|
+
#### ⚙️ Parameters
|
|
3963
|
+
|
|
3964
|
+
<dl>
|
|
3965
|
+
<dd>
|
|
3966
|
+
|
|
3967
|
+
<dl>
|
|
3968
|
+
<dd>
|
|
3969
|
+
|
|
3970
|
+
**id:** `string` — ID of the workflow to execute
|
|
3971
|
+
|
|
3972
|
+
</dd>
|
|
3973
|
+
</dl>
|
|
3974
|
+
|
|
3975
|
+
<dl>
|
|
3976
|
+
<dd>
|
|
3977
|
+
|
|
3978
|
+
**request:** `phenoml.workflows.ExecuteWorkflowRequest`
|
|
3979
|
+
|
|
3980
|
+
</dd>
|
|
3981
|
+
</dl>
|
|
3982
|
+
|
|
3983
|
+
<dl>
|
|
3984
|
+
<dd>
|
|
3985
|
+
|
|
3986
|
+
**requestOptions:** `Workflows.RequestOptions`
|
|
3987
|
+
|
|
3988
|
+
</dd>
|
|
3989
|
+
</dl>
|
|
3990
|
+
</dd>
|
|
3991
|
+
</dl>
|
|
3992
|
+
|
|
3993
|
+
</dd>
|
|
3994
|
+
</dl>
|
|
3995
|
+
</details>
|
|
3996
|
+
|
|
3997
|
+
## Workflows McpServer
|
|
3998
|
+
|
|
3999
|
+
<details><summary><code>client.workflows.mcpServer.<a href="/src/api/resources/workflows/resources/mcpServer/client/Client.ts">create</a>() -> void</code></summary>
|
|
4000
|
+
<dl>
|
|
4001
|
+
<dd>
|
|
4002
|
+
|
|
4003
|
+
#### 🔌 Usage
|
|
4004
|
+
|
|
4005
|
+
<dl>
|
|
4006
|
+
<dd>
|
|
4007
|
+
|
|
4008
|
+
<dl>
|
|
4009
|
+
<dd>
|
|
4010
|
+
|
|
4011
|
+
```typescript
|
|
4012
|
+
await client.workflows.mcpServer.create();
|
|
4013
|
+
```
|
|
4014
|
+
|
|
4015
|
+
</dd>
|
|
4016
|
+
</dl>
|
|
4017
|
+
</dd>
|
|
4018
|
+
</dl>
|
|
4019
|
+
|
|
4020
|
+
#### ⚙️ Parameters
|
|
4021
|
+
|
|
4022
|
+
<dl>
|
|
4023
|
+
<dd>
|
|
4024
|
+
|
|
4025
|
+
<dl>
|
|
4026
|
+
<dd>
|
|
4027
|
+
|
|
4028
|
+
**requestOptions:** `McpServer.RequestOptions`
|
|
4029
|
+
|
|
4030
|
+
</dd>
|
|
4031
|
+
</dl>
|
|
4032
|
+
</dd>
|
|
4033
|
+
</dl>
|
|
4034
|
+
|
|
4035
|
+
</dd>
|
|
4036
|
+
</dl>
|
|
4037
|
+
</details>
|
|
4038
|
+
|
|
4039
|
+
<details><summary><code>client.workflows.mcpServer.<a href="/src/api/resources/workflows/resources/mcpServer/client/Client.ts">list</a>() -> void</code></summary>
|
|
4040
|
+
<dl>
|
|
4041
|
+
<dd>
|
|
4042
|
+
|
|
4043
|
+
#### 🔌 Usage
|
|
4044
|
+
|
|
4045
|
+
<dl>
|
|
4046
|
+
<dd>
|
|
4047
|
+
|
|
4048
|
+
<dl>
|
|
4049
|
+
<dd>
|
|
4050
|
+
|
|
4051
|
+
```typescript
|
|
4052
|
+
await client.workflows.mcpServer.list();
|
|
4053
|
+
```
|
|
4054
|
+
|
|
4055
|
+
</dd>
|
|
4056
|
+
</dl>
|
|
4057
|
+
</dd>
|
|
4058
|
+
</dl>
|
|
4059
|
+
|
|
4060
|
+
#### ⚙️ Parameters
|
|
4061
|
+
|
|
4062
|
+
<dl>
|
|
4063
|
+
<dd>
|
|
4064
|
+
|
|
4065
|
+
<dl>
|
|
4066
|
+
<dd>
|
|
4067
|
+
|
|
4068
|
+
**requestOptions:** `McpServer.RequestOptions`
|
|
4069
|
+
|
|
4070
|
+
</dd>
|
|
4071
|
+
</dl>
|
|
4072
|
+
</dd>
|
|
4073
|
+
</dl>
|
|
4074
|
+
|
|
4075
|
+
</dd>
|
|
4076
|
+
</dl>
|
|
4077
|
+
</details>
|
|
4078
|
+
|
|
4079
|
+
<details><summary><code>client.workflows.mcpServer.<a href="/src/api/resources/workflows/resources/mcpServer/client/Client.ts">get</a>(mcpServerId) -> void</code></summary>
|
|
4080
|
+
<dl>
|
|
4081
|
+
<dd>
|
|
4082
|
+
|
|
4083
|
+
#### 🔌 Usage
|
|
4084
|
+
|
|
4085
|
+
<dl>
|
|
4086
|
+
<dd>
|
|
4087
|
+
|
|
4088
|
+
<dl>
|
|
4089
|
+
<dd>
|
|
4090
|
+
|
|
4091
|
+
```typescript
|
|
4092
|
+
await client.workflows.mcpServer.get("mcp_server_id");
|
|
4093
|
+
```
|
|
4094
|
+
|
|
4095
|
+
</dd>
|
|
4096
|
+
</dl>
|
|
4097
|
+
</dd>
|
|
4098
|
+
</dl>
|
|
4099
|
+
|
|
4100
|
+
#### ⚙️ Parameters
|
|
4101
|
+
|
|
4102
|
+
<dl>
|
|
4103
|
+
<dd>
|
|
4104
|
+
|
|
4105
|
+
<dl>
|
|
4106
|
+
<dd>
|
|
4107
|
+
|
|
4108
|
+
**mcpServerId:** `string`
|
|
4109
|
+
|
|
4110
|
+
</dd>
|
|
4111
|
+
</dl>
|
|
4112
|
+
|
|
4113
|
+
<dl>
|
|
4114
|
+
<dd>
|
|
4115
|
+
|
|
4116
|
+
**requestOptions:** `McpServer.RequestOptions`
|
|
4117
|
+
|
|
4118
|
+
</dd>
|
|
4119
|
+
</dl>
|
|
4120
|
+
</dd>
|
|
4121
|
+
</dl>
|
|
4122
|
+
|
|
4123
|
+
</dd>
|
|
4124
|
+
</dl>
|
|
4125
|
+
</details>
|
|
4126
|
+
|
|
4127
|
+
<details><summary><code>client.workflows.mcpServer.<a href="/src/api/resources/workflows/resources/mcpServer/client/Client.ts">delete</a>(mcpServerId) -> void</code></summary>
|
|
4128
|
+
<dl>
|
|
4129
|
+
<dd>
|
|
4130
|
+
|
|
4131
|
+
#### 🔌 Usage
|
|
4132
|
+
|
|
4133
|
+
<dl>
|
|
4134
|
+
<dd>
|
|
4135
|
+
|
|
4136
|
+
<dl>
|
|
4137
|
+
<dd>
|
|
4138
|
+
|
|
4139
|
+
```typescript
|
|
4140
|
+
await client.workflows.mcpServer.delete("mcp_server_id");
|
|
4141
|
+
```
|
|
4142
|
+
|
|
4143
|
+
</dd>
|
|
4144
|
+
</dl>
|
|
4145
|
+
</dd>
|
|
4146
|
+
</dl>
|
|
4147
|
+
|
|
4148
|
+
#### ⚙️ Parameters
|
|
4149
|
+
|
|
4150
|
+
<dl>
|
|
4151
|
+
<dd>
|
|
4152
|
+
|
|
4153
|
+
<dl>
|
|
4154
|
+
<dd>
|
|
4155
|
+
|
|
4156
|
+
**mcpServerId:** `string`
|
|
4157
|
+
|
|
4158
|
+
</dd>
|
|
4159
|
+
</dl>
|
|
4160
|
+
|
|
4161
|
+
<dl>
|
|
4162
|
+
<dd>
|
|
4163
|
+
|
|
4164
|
+
**requestOptions:** `McpServer.RequestOptions`
|
|
4165
|
+
|
|
4166
|
+
</dd>
|
|
4167
|
+
</dl>
|
|
4168
|
+
</dd>
|
|
4169
|
+
</dl>
|
|
4170
|
+
|
|
4171
|
+
</dd>
|
|
4172
|
+
</dl>
|
|
4173
|
+
</details>
|
|
4174
|
+
|
|
4175
|
+
## Workflows McpServer Tools
|
|
4176
|
+
|
|
4177
|
+
<details><summary><code>client.workflows.mcpServer.tools.<a href="/src/api/resources/workflows/resources/mcpServer/resources/tools/client/Client.ts">list</a>(mcpServerId) -> void</code></summary>
|
|
4178
|
+
<dl>
|
|
4179
|
+
<dd>
|
|
4180
|
+
|
|
4181
|
+
#### 🔌 Usage
|
|
4182
|
+
|
|
4183
|
+
<dl>
|
|
4184
|
+
<dd>
|
|
4185
|
+
|
|
4186
|
+
<dl>
|
|
4187
|
+
<dd>
|
|
4188
|
+
|
|
4189
|
+
```typescript
|
|
4190
|
+
await client.workflows.mcpServer.tools.list("mcp_server_id");
|
|
4191
|
+
```
|
|
4192
|
+
|
|
4193
|
+
</dd>
|
|
4194
|
+
</dl>
|
|
4195
|
+
</dd>
|
|
4196
|
+
</dl>
|
|
4197
|
+
|
|
4198
|
+
#### ⚙️ Parameters
|
|
4199
|
+
|
|
4200
|
+
<dl>
|
|
4201
|
+
<dd>
|
|
4202
|
+
|
|
4203
|
+
<dl>
|
|
4204
|
+
<dd>
|
|
4205
|
+
|
|
4206
|
+
**mcpServerId:** `string`
|
|
4207
|
+
|
|
4208
|
+
</dd>
|
|
4209
|
+
</dl>
|
|
4210
|
+
|
|
4211
|
+
<dl>
|
|
4212
|
+
<dd>
|
|
4213
|
+
|
|
4214
|
+
**requestOptions:** `Tools.RequestOptions`
|
|
4215
|
+
|
|
4216
|
+
</dd>
|
|
4217
|
+
</dl>
|
|
4218
|
+
</dd>
|
|
4219
|
+
</dl>
|
|
4220
|
+
|
|
4221
|
+
</dd>
|
|
4222
|
+
</dl>
|
|
4223
|
+
</details>
|
|
4224
|
+
|
|
4225
|
+
<details><summary><code>client.workflows.mcpServer.tools.<a href="/src/api/resources/workflows/resources/mcpServer/resources/tools/client/Client.ts">get</a>(mcpServerToolId) -> void</code></summary>
|
|
4226
|
+
<dl>
|
|
4227
|
+
<dd>
|
|
4228
|
+
|
|
4229
|
+
#### 🔌 Usage
|
|
4230
|
+
|
|
4231
|
+
<dl>
|
|
4232
|
+
<dd>
|
|
4233
|
+
|
|
4234
|
+
<dl>
|
|
4235
|
+
<dd>
|
|
4236
|
+
|
|
4237
|
+
```typescript
|
|
4238
|
+
await client.workflows.mcpServer.tools.get("mcp_server_tool_id");
|
|
4239
|
+
```
|
|
4240
|
+
|
|
4241
|
+
</dd>
|
|
4242
|
+
</dl>
|
|
4243
|
+
</dd>
|
|
4244
|
+
</dl>
|
|
4245
|
+
|
|
4246
|
+
#### ⚙️ Parameters
|
|
4247
|
+
|
|
4248
|
+
<dl>
|
|
4249
|
+
<dd>
|
|
4250
|
+
|
|
4251
|
+
<dl>
|
|
4252
|
+
<dd>
|
|
4253
|
+
|
|
4254
|
+
**mcpServerToolId:** `string`
|
|
4255
|
+
|
|
4256
|
+
</dd>
|
|
4257
|
+
</dl>
|
|
4258
|
+
|
|
4259
|
+
<dl>
|
|
4260
|
+
<dd>
|
|
4261
|
+
|
|
4262
|
+
**requestOptions:** `Tools.RequestOptions`
|
|
4263
|
+
|
|
4264
|
+
</dd>
|
|
4265
|
+
</dl>
|
|
4266
|
+
</dd>
|
|
4267
|
+
</dl>
|
|
4268
|
+
|
|
4269
|
+
</dd>
|
|
4270
|
+
</dl>
|
|
4271
|
+
</details>
|
|
4272
|
+
|
|
4273
|
+
<details><summary><code>client.workflows.mcpServer.tools.<a href="/src/api/resources/workflows/resources/mcpServer/resources/tools/client/Client.ts">delete</a>(mcpServerToolId) -> void</code></summary>
|
|
4274
|
+
<dl>
|
|
4275
|
+
<dd>
|
|
4276
|
+
|
|
4277
|
+
#### 🔌 Usage
|
|
4278
|
+
|
|
4279
|
+
<dl>
|
|
4280
|
+
<dd>
|
|
4281
|
+
|
|
4282
|
+
<dl>
|
|
4283
|
+
<dd>
|
|
4284
|
+
|
|
4285
|
+
```typescript
|
|
4286
|
+
await client.workflows.mcpServer.tools.delete("mcp_server_tool_id");
|
|
4287
|
+
```
|
|
4288
|
+
|
|
4289
|
+
</dd>
|
|
4290
|
+
</dl>
|
|
4291
|
+
</dd>
|
|
4292
|
+
</dl>
|
|
4293
|
+
|
|
4294
|
+
#### ⚙️ Parameters
|
|
4295
|
+
|
|
4296
|
+
<dl>
|
|
4297
|
+
<dd>
|
|
4298
|
+
|
|
4299
|
+
<dl>
|
|
4300
|
+
<dd>
|
|
4301
|
+
|
|
4302
|
+
**mcpServerToolId:** `string`
|
|
4303
|
+
|
|
4304
|
+
</dd>
|
|
4305
|
+
</dl>
|
|
4306
|
+
|
|
4307
|
+
<dl>
|
|
4308
|
+
<dd>
|
|
4309
|
+
|
|
4310
|
+
**requestOptions:** `Tools.RequestOptions`
|
|
4311
|
+
|
|
4312
|
+
</dd>
|
|
4313
|
+
</dl>
|
|
4314
|
+
</dd>
|
|
4315
|
+
</dl>
|
|
4316
|
+
|
|
4317
|
+
</dd>
|
|
4318
|
+
</dl>
|
|
4319
|
+
</details>
|
|
4320
|
+
|
|
4321
|
+
<details><summary><code>client.workflows.mcpServer.tools.<a href="/src/api/resources/workflows/resources/mcpServer/resources/tools/client/Client.ts">call</a>(mcpServerToolId) -> void</code></summary>
|
|
4322
|
+
<dl>
|
|
4323
|
+
<dd>
|
|
4324
|
+
|
|
4325
|
+
#### 🔌 Usage
|
|
4326
|
+
|
|
4327
|
+
<dl>
|
|
4328
|
+
<dd>
|
|
4329
|
+
|
|
4330
|
+
<dl>
|
|
4331
|
+
<dd>
|
|
4332
|
+
|
|
4333
|
+
```typescript
|
|
4334
|
+
await client.workflows.mcpServer.tools.call("mcp_server_tool_id");
|
|
4335
|
+
```
|
|
4336
|
+
|
|
4337
|
+
</dd>
|
|
4338
|
+
</dl>
|
|
4339
|
+
</dd>
|
|
4340
|
+
</dl>
|
|
4341
|
+
|
|
4342
|
+
#### ⚙️ Parameters
|
|
4343
|
+
|
|
4344
|
+
<dl>
|
|
4345
|
+
<dd>
|
|
4346
|
+
|
|
4347
|
+
<dl>
|
|
4348
|
+
<dd>
|
|
4349
|
+
|
|
4350
|
+
**mcpServerToolId:** `string`
|
|
4351
|
+
|
|
4352
|
+
</dd>
|
|
4353
|
+
</dl>
|
|
4354
|
+
|
|
4355
|
+
<dl>
|
|
4356
|
+
<dd>
|
|
4357
|
+
|
|
4358
|
+
**requestOptions:** `Tools.RequestOptions`
|
|
4359
|
+
|
|
4360
|
+
</dd>
|
|
4361
|
+
</dl>
|
|
4362
|
+
</dd>
|
|
4363
|
+
</dl>
|
|
4364
|
+
|
|
4365
|
+
</dd>
|
|
4366
|
+
</dl>
|
|
4367
|
+
</details>
|