phenoml 15.0.0 → 17.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/agent/client/Client.d.ts +6 -62
- package/dist/cjs/api/resources/agent/client/Client.js +8 -233
- package/dist/cjs/api/resources/agent/client/requests/{AgentListRequest.d.ts → ListRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/agent/client/requests/index.d.ts +1 -4
- package/dist/cjs/api/resources/{fhir/errors/InternalServerError.d.ts → agent/errors/GatewayTimeoutError.d.ts} +1 -1
- package/dist/cjs/api/resources/{fhir/errors/BadRequestError.js → agent/errors/GatewayTimeoutError.js} +5 -5
- package/dist/cjs/api/resources/agent/errors/index.d.ts +1 -0
- package/dist/cjs/api/resources/agent/errors/index.js +1 -0
- package/dist/cjs/api/resources/agent/resources/chat/client/Client.d.ts +79 -0
- package/dist/cjs/api/resources/agent/resources/chat/client/Client.js +305 -0
- package/dist/cjs/api/resources/agent/{client/requests/AgentGetChatMessagesRequest.d.ts → resources/chat/client/requests/ListMessagesRequest.d.ts} +4 -4
- package/dist/cjs/api/resources/agent/resources/chat/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/agent/resources/chat/exports.d.ts +2 -0
- package/dist/cjs/api/resources/{authtoken/resources/auth → agent/resources/chat}/exports.js +2 -2
- package/dist/cjs/api/resources/agent/resources/chat/index.d.ts +2 -0
- package/dist/cjs/api/resources/{tools/resources/mcpServer → agent/resources/chat}/index.js +1 -1
- package/dist/cjs/api/resources/agent/resources/chat/types/ListMessagesRequestOrder.d.ts +5 -0
- package/dist/cjs/api/resources/agent/{types/AgentGetChatMessagesRequestOrder.js → resources/chat/types/ListMessagesRequestOrder.js} +2 -2
- package/dist/cjs/api/resources/agent/resources/chat/types/ListMessagesRequestRole.d.ts +7 -0
- package/dist/cjs/api/resources/agent/{types/AgentGetChatMessagesRequestRole.js → resources/chat/types/ListMessagesRequestRole.js} +2 -2
- package/dist/cjs/api/resources/agent/{types/AgentGetChatMessagesResponse.d.ts → resources/chat/types/ListMessagesResponse.d.ts} +2 -2
- package/dist/cjs/api/resources/agent/resources/chat/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/agent/resources/chat/types/index.js +19 -0
- package/dist/cjs/api/resources/agent/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/agent/resources/index.js +4 -1
- package/dist/cjs/api/resources/agent/types/{AgentDeleteResponse.d.ts → DeleteResponse.d.ts} +1 -1
- package/dist/cjs/api/resources/agent/types/{AgentListResponse.d.ts → ListResponse.d.ts} +1 -1
- package/dist/cjs/api/resources/agent/types/index.d.ts +2 -5
- package/dist/cjs/api/resources/agent/types/index.js +2 -5
- package/dist/cjs/api/resources/authtoken/client/Client.d.ts +26 -4
- package/dist/cjs/api/resources/authtoken/client/Client.js +109 -4
- package/dist/cjs/api/resources/authtoken/client/index.d.ts +1 -1
- package/dist/cjs/api/resources/authtoken/client/index.js +15 -0
- package/dist/cjs/api/resources/authtoken/exports.d.ts +0 -1
- package/dist/cjs/api/resources/authtoken/exports.js +0 -1
- package/dist/cjs/api/resources/authtoken/index.d.ts +0 -1
- package/dist/cjs/api/resources/authtoken/index.js +0 -1
- package/dist/cjs/api/resources/construe/client/Client.d.ts +9 -333
- package/dist/cjs/api/resources/construe/client/Client.js +12 -842
- package/dist/cjs/api/resources/construe/client/requests/index.d.ts +0 -9
- package/dist/cjs/api/resources/construe/client/requests/index.js +0 -3
- package/dist/cjs/api/resources/construe/exports.d.ts +1 -0
- package/dist/cjs/api/resources/construe/exports.js +1 -0
- package/dist/cjs/api/resources/construe/index.d.ts +1 -0
- package/dist/cjs/api/resources/construe/index.js +1 -0
- package/dist/cjs/api/resources/construe/resources/codeSystems/client/Client.d.ts +135 -0
- package/dist/cjs/api/resources/construe/resources/codeSystems/client/Client.js +433 -0
- package/dist/{esm/api/resources/construe/client/requests/DeleteConstrueCodesSystemsCodesystemRequest.d.mts → cjs/api/resources/construe/resources/codeSystems/client/requests/DeleteRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/construe/{client/requests/DeleteConstrueCodesSystemsCodesystemRequest.d.ts → resources/codeSystems/client/requests/ExportRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/construe/{client/requests/GetConstrueCodesSystemsCodesystemRequest.d.ts → resources/codeSystems/client/requests/FindRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/construe/{client → resources/codeSystems/client}/requests/UploadRequest.d.ts +1 -1
- package/dist/cjs/api/resources/construe/resources/codeSystems/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/construe/resources/codeSystems/client/requests/index.js +5 -0
- package/dist/cjs/api/resources/construe/resources/codeSystems/exports.d.ts +2 -0
- package/dist/cjs/api/resources/construe/resources/codeSystems/exports.js +21 -0
- package/dist/cjs/api/resources/construe/resources/codeSystems/index.d.ts +2 -0
- package/dist/cjs/api/resources/construe/resources/codeSystems/index.js +18 -0
- package/dist/{esm/api/resources/construe/types/ConstrueUploadCodeSystemResponse.d.mts → cjs/api/resources/construe/resources/codeSystems/types/UploadResponse.d.ts} +1 -1
- package/dist/cjs/api/resources/construe/resources/codeSystems/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/construe/resources/codeSystems/types/index.js +17 -0
- package/dist/cjs/api/resources/construe/resources/codes/client/Client.d.ts +227 -0
- package/dist/cjs/api/resources/construe/resources/codes/client/Client.js +528 -0
- package/dist/cjs/api/resources/construe/resources/codes/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/construe/resources/codes/client/index.js +17 -0
- package/dist/cjs/api/resources/construe/{client/requests/GetConstrueCodesCodesystemRequest.d.ts → resources/codes/client/requests/CodesListRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/construe/{client → resources/codes/client}/requests/ExtractRequest.d.ts +1 -1
- package/dist/{esm/api/resources/construe/client/requests/GetConstrueCodesCodesystemCodeIdRequest.d.mts → cjs/api/resources/construe/resources/codes/client/requests/LookupRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/construe/{client/requests/GetConstrueCodesCodesystemSearchSemanticRequest.d.ts → resources/codes/client/requests/SearchSemanticRequest.d.ts} +1 -1
- package/dist/{esm/api/resources/construe/client/requests/GetConstrueCodesCodesystemSearchTextRequest.d.mts → cjs/api/resources/construe/resources/codes/client/requests/SearchTextRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/construe/resources/codes/client/requests/index.d.ts +5 -0
- package/dist/cjs/api/resources/construe/resources/codes/exports.d.ts +2 -0
- package/dist/cjs/api/resources/{tools/resources/mcpServer/resources/tools → construe/resources/codes}/exports.js +2 -2
- package/dist/cjs/api/resources/construe/resources/index.d.ts +5 -0
- package/dist/cjs/api/resources/construe/resources/index.js +44 -0
- package/dist/cjs/api/resources/construe/types/index.d.ts +0 -1
- package/dist/cjs/api/resources/construe/types/index.js +0 -1
- package/dist/cjs/api/resources/fhir/client/Client.d.ts +56 -81
- package/dist/cjs/api/resources/fhir/client/Client.js +81 -211
- package/dist/cjs/api/resources/fhir/client/requests/{FhirCreateRequest.d.ts → CreateRequest.d.ts} +3 -4
- package/dist/{esm/api/resources/fhir/client/requests/FhirDeleteRequest.d.mts → cjs/api/resources/fhir/client/requests/DeleteRequest.d.ts} +1 -1
- package/dist/{esm/api/resources/fhir/client/requests/FhirExecuteBundleRequest.d.mts → cjs/api/resources/fhir/client/requests/ExecuteBundleRequest.d.ts} +20 -17
- package/dist/cjs/api/resources/fhir/client/requests/{FhirPatchRequest.d.ts → PatchRequest.d.ts} +2 -2
- package/dist/cjs/api/resources/fhir/client/requests/{FhirDeleteRequest.d.ts → SearchRequest.d.ts} +1 -1
- package/dist/{esm/api/resources/fhir/client/requests/FhirCreateRequest.d.mts → cjs/api/resources/fhir/client/requests/UpsertRequest.d.ts} +4 -4
- package/dist/cjs/api/resources/fhir/client/requests/index.d.ts +6 -6
- package/dist/cjs/api/resources/fhir/index.d.ts +0 -1
- package/dist/cjs/api/resources/fhir/index.js +0 -1
- package/dist/cjs/api/resources/fhir/types/{FhirPatchRequestBodyItem.d.ts → PatchRequestBodyItem.d.ts} +3 -3
- package/dist/cjs/api/resources/fhir/types/{FhirPatchRequestBodyItem.js → PatchRequestBodyItem.js} +5 -5
- package/dist/cjs/api/resources/fhir/types/index.d.ts +1 -5
- package/dist/cjs/api/resources/fhir/types/index.js +1 -5
- package/dist/cjs/api/resources/fhirProvider/client/Client.d.ts +4 -75
- package/dist/cjs/api/resources/fhirProvider/client/Client.js +6 -225
- package/dist/cjs/api/resources/fhirProvider/client/requests/index.d.ts +0 -2
- package/dist/cjs/api/resources/fhirProvider/exports.d.ts +1 -0
- package/dist/cjs/api/resources/fhirProvider/exports.js +1 -0
- package/dist/cjs/api/resources/fhirProvider/index.d.ts +1 -0
- package/dist/cjs/api/resources/fhirProvider/index.js +1 -0
- package/dist/cjs/api/resources/fhirProvider/resources/authConfig/client/Client.d.ts +90 -0
- package/dist/cjs/api/resources/fhirProvider/resources/authConfig/client/Client.js +280 -0
- package/dist/cjs/api/resources/fhirProvider/resources/authConfig/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/fhirProvider/resources/authConfig/client/index.js +17 -0
- package/dist/cjs/api/resources/fhirProvider/resources/authConfig/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/fhirProvider/resources/authConfig/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/fhirProvider/resources/authConfig/exports.d.ts +2 -0
- package/dist/cjs/api/resources/fhirProvider/resources/authConfig/exports.js +21 -0
- package/dist/cjs/api/resources/fhirProvider/resources/authConfig/index.d.ts +2 -0
- package/dist/cjs/api/resources/fhirProvider/resources/authConfig/index.js +18 -0
- package/dist/cjs/api/resources/fhirProvider/{types/FhirProviderRemoveAuthConfigResponse.d.ts → resources/authConfig/types/RemoveResponse.d.ts} +2 -2
- package/dist/cjs/api/resources/fhirProvider/resources/authConfig/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/fhirProvider/resources/authConfig/types/index.js +17 -0
- package/dist/cjs/api/resources/fhirProvider/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/{tools/resources/mcpServer → fhirProvider}/resources/index.js +7 -2
- package/dist/{esm/api/resources/agent/types/AgentDeleteResponse.d.mts → cjs/api/resources/fhirProvider/types/DeleteResponse.d.ts} +1 -1
- package/dist/cjs/api/resources/fhirProvider/types/index.d.ts +1 -2
- package/dist/cjs/api/resources/fhirProvider/types/index.js +1 -2
- package/dist/cjs/api/resources/lang2Fhir/client/Client.d.ts +15 -5
- package/dist/cjs/api/resources/lang2Fhir/client/Client.js +37 -7
- package/dist/cjs/api/resources/{fhir/errors/ServiceUnavailableError.d.ts → lang2Fhir/errors/ClientClosedRequestError.d.ts} +1 -1
- package/dist/cjs/api/resources/lang2Fhir/errors/ClientClosedRequestError.js +54 -0
- package/dist/cjs/api/resources/{fhir/errors/UnauthorizedError.d.ts → lang2Fhir/errors/GatewayTimeoutError.d.ts} +1 -1
- package/dist/cjs/api/resources/{fhir/errors/InternalServerError.js → lang2Fhir/errors/GatewayTimeoutError.js} +5 -5
- package/dist/cjs/api/resources/lang2Fhir/errors/index.d.ts +3 -1
- package/dist/cjs/api/resources/lang2Fhir/errors/index.js +3 -1
- package/dist/{esm/api/resources/lang2Fhir/types/Lang2FhirUploadProfileResponse.d.mts → cjs/api/resources/lang2Fhir/types/UploadProfileResponse.d.ts} +1 -1
- package/dist/cjs/api/resources/lang2Fhir/types/index.d.ts +1 -1
- package/dist/cjs/api/resources/lang2Fhir/types/index.js +1 -1
- package/dist/cjs/api/resources/summary/client/Client.d.ts +3 -88
- package/dist/cjs/api/resources/summary/client/Client.js +4 -309
- package/dist/cjs/api/resources/summary/client/requests/index.d.ts +0 -2
- package/dist/cjs/api/resources/summary/exports.d.ts +1 -0
- package/dist/cjs/api/resources/summary/exports.js +1 -0
- package/dist/cjs/api/resources/summary/index.d.ts +1 -0
- package/dist/cjs/api/resources/summary/index.js +1 -0
- package/dist/cjs/api/resources/summary/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/{authtoken → summary}/resources/index.js +4 -3
- package/dist/cjs/api/resources/summary/resources/templates/client/Client.d.ts +104 -0
- package/dist/cjs/api/resources/summary/resources/templates/client/Client.js +360 -0
- package/dist/cjs/api/resources/summary/resources/templates/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/summary/resources/templates/client/index.js +17 -0
- package/dist/cjs/api/resources/summary/resources/templates/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/summary/resources/templates/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/summary/resources/templates/exports.d.ts +2 -0
- package/dist/cjs/api/resources/{tools/resources/mcpServer → summary/resources/templates}/exports.js +2 -3
- package/dist/cjs/api/resources/summary/resources/templates/index.d.ts +2 -0
- package/dist/cjs/api/resources/summary/resources/templates/index.js +18 -0
- package/dist/cjs/api/resources/{workflows/types/WorkflowsDeleteResponse.d.ts → summary/resources/templates/types/DeleteResponse.d.ts} +1 -1
- package/dist/cjs/api/resources/summary/{types/SummaryGetTemplateResponse.d.ts → resources/templates/types/GetResponse.d.ts} +2 -2
- package/dist/cjs/api/resources/summary/{types/SummaryListTemplatesResponse.d.ts → resources/templates/types/ListResponse.d.ts} +2 -2
- package/dist/cjs/api/resources/summary/{types/SummaryUpdateTemplateResponse.d.ts → resources/templates/types/UpdateResponse.d.ts} +2 -2
- package/dist/cjs/api/resources/summary/resources/templates/types/index.d.ts +4 -0
- package/dist/cjs/api/resources/summary/resources/templates/types/index.js +20 -0
- package/dist/cjs/api/resources/summary/types/index.d.ts +0 -4
- package/dist/cjs/api/resources/summary/types/index.js +0 -4
- package/dist/cjs/api/resources/tools/client/Client.d.ts +6 -6
- package/dist/cjs/api/resources/tools/client/Client.js +8 -12
- package/dist/cjs/api/resources/{fhir/errors/BadRequestError.d.ts → tools/errors/NotFoundError.d.ts} +1 -1
- package/dist/cjs/api/resources/{fhir/errors/BadGatewayError.js → tools/errors/NotFoundError.js} +5 -5
- package/dist/cjs/api/resources/tools/errors/index.d.ts +1 -1
- package/dist/cjs/api/resources/tools/errors/index.js +1 -1
- package/dist/cjs/api/resources/tools/resources/index.d.ts +3 -2
- package/dist/cjs/api/resources/tools/resources/index.js +4 -3
- package/dist/cjs/api/resources/tools/resources/{mcpServer → mcpServers}/client/Client.d.ts +21 -19
- package/dist/cjs/api/resources/tools/resources/{mcpServer → mcpServers}/client/Client.js +20 -16
- package/dist/cjs/api/resources/tools/resources/mcpServers/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/tools/resources/mcpServers/client/index.js +17 -0
- package/dist/cjs/api/resources/tools/resources/mcpServers/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/tools/resources/mcpServers/exports.d.ts +2 -0
- package/dist/cjs/api/resources/tools/resources/mcpServers/exports.js +21 -0
- package/dist/cjs/api/resources/tools/resources/{mcpServer/resources/tools → mcpTools}/client/Client.d.ts +19 -17
- package/dist/cjs/api/resources/tools/resources/{mcpServer/resources/tools → mcpTools}/client/Client.js +22 -16
- package/dist/cjs/api/resources/tools/resources/mcpTools/client/index.js +2 -0
- package/dist/cjs/api/resources/tools/resources/mcpTools/exports.d.ts +2 -0
- package/dist/cjs/api/resources/tools/resources/mcpTools/exports.js +21 -0
- package/dist/cjs/api/resources/tools/resources/mcpTools/index.d.ts +1 -0
- package/dist/cjs/api/resources/tools/resources/mcpTools/index.js +17 -0
- package/dist/cjs/api/resources/workflows/client/Client.d.ts +10 -6
- package/dist/cjs/api/resources/workflows/client/Client.js +17 -14
- package/dist/{esm/api/resources/workflows/client/requests/WorkflowsGetRequest.d.mts → cjs/api/resources/workflows/client/requests/GetRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/workflows/client/requests/{WorkflowsGetRequest.d.ts → ListRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/workflows/client/requests/index.d.ts +2 -2
- package/dist/cjs/api/resources/workflows/errors/GatewayTimeoutError.d.ts +5 -0
- package/dist/cjs/api/resources/workflows/errors/GatewayTimeoutError.js +54 -0
- package/dist/cjs/api/resources/workflows/errors/index.d.ts +1 -0
- package/dist/cjs/api/resources/workflows/errors/index.js +1 -0
- package/dist/{esm/api/resources/workflows/types/WorkflowsDeleteResponse.d.mts → cjs/api/resources/workflows/types/DeleteResponse.d.ts} +1 -1
- package/dist/cjs/api/resources/workflows/types/{WorkflowsGetResponse.d.ts → GetResponse.d.ts} +1 -1
- package/dist/cjs/api/resources/workflows/types/{WorkflowsUpdateResponse.d.ts → UpdateResponse.d.ts} +1 -1
- package/dist/cjs/api/resources/workflows/types/index.d.ts +3 -3
- package/dist/cjs/api/resources/workflows/types/index.js +3 -3
- package/dist/cjs/auth/OAuthAuthProvider.js +2 -2
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/agent/client/Client.d.mts +6 -62
- package/dist/esm/api/resources/agent/client/Client.mjs +7 -232
- package/dist/esm/api/resources/agent/client/requests/{AgentListRequest.d.mts → ListRequest.d.mts} +1 -1
- package/dist/esm/api/resources/agent/client/requests/index.d.mts +1 -4
- package/dist/esm/api/resources/{fhir/errors/InternalServerError.d.mts → agent/errors/GatewayTimeoutError.d.mts} +1 -1
- package/dist/esm/api/resources/{fhir/errors/InternalServerError.mjs → agent/errors/GatewayTimeoutError.mjs} +3 -3
- package/dist/esm/api/resources/agent/errors/index.d.mts +1 -0
- package/dist/esm/api/resources/agent/errors/index.mjs +1 -0
- package/dist/esm/api/resources/agent/resources/chat/client/Client.d.mts +79 -0
- package/dist/esm/api/resources/agent/resources/chat/client/Client.mjs +268 -0
- package/dist/esm/api/resources/agent/{client/requests/AgentGetChatMessagesRequest.d.mts → resources/chat/client/requests/ListMessagesRequest.d.mts} +4 -4
- package/dist/esm/api/resources/agent/resources/chat/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/agent/resources/chat/exports.d.mts +2 -0
- package/dist/esm/api/resources/{authtoken/resources/auth → agent/resources/chat}/exports.mjs +1 -1
- package/dist/esm/api/resources/agent/resources/chat/index.d.mts +2 -0
- package/dist/esm/api/resources/agent/resources/chat/index.mjs +2 -0
- package/dist/esm/api/resources/agent/resources/chat/types/ListMessagesRequestOrder.d.mts +5 -0
- package/dist/esm/api/resources/agent/{types/AgentGetChatMessagesRequestOrder.mjs → resources/chat/types/ListMessagesRequestOrder.mjs} +1 -1
- package/dist/esm/api/resources/agent/resources/chat/types/ListMessagesRequestRole.d.mts +7 -0
- package/dist/esm/api/resources/agent/{types/AgentGetChatMessagesRequestRole.mjs → resources/chat/types/ListMessagesRequestRole.mjs} +1 -1
- package/dist/esm/api/resources/agent/{types/AgentGetChatMessagesResponse.d.mts → resources/chat/types/ListMessagesResponse.d.mts} +2 -2
- package/dist/esm/api/resources/agent/resources/chat/types/index.d.mts +3 -0
- package/dist/esm/api/resources/agent/resources/chat/types/index.mjs +3 -0
- package/dist/esm/api/resources/agent/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/agent/resources/index.mjs +3 -0
- package/dist/esm/api/resources/agent/types/DeleteResponse.d.mts +4 -0
- package/dist/esm/api/resources/agent/types/{AgentListResponse.d.mts → ListResponse.d.mts} +1 -1
- package/dist/esm/api/resources/agent/types/index.d.mts +2 -5
- package/dist/esm/api/resources/agent/types/index.mjs +2 -5
- package/dist/esm/api/resources/authtoken/client/Client.d.mts +26 -4
- package/dist/esm/api/resources/authtoken/client/Client.mjs +76 -4
- package/dist/esm/api/resources/authtoken/client/index.d.mts +1 -1
- package/dist/esm/api/resources/authtoken/client/index.mjs +1 -1
- package/dist/esm/api/resources/authtoken/exports.d.mts +0 -1
- package/dist/esm/api/resources/authtoken/exports.mjs +0 -1
- package/dist/esm/api/resources/authtoken/index.d.mts +0 -1
- package/dist/esm/api/resources/authtoken/index.mjs +0 -1
- package/dist/esm/api/resources/construe/client/Client.d.mts +9 -333
- package/dist/esm/api/resources/construe/client/Client.mjs +12 -842
- package/dist/esm/api/resources/construe/client/requests/index.d.mts +0 -9
- package/dist/esm/api/resources/construe/client/requests/index.mjs +1 -1
- package/dist/esm/api/resources/construe/exports.d.mts +1 -0
- package/dist/esm/api/resources/construe/exports.mjs +1 -0
- package/dist/esm/api/resources/construe/index.d.mts +1 -0
- package/dist/esm/api/resources/construe/index.mjs +1 -0
- package/dist/esm/api/resources/construe/resources/codeSystems/client/Client.d.mts +135 -0
- package/dist/esm/api/resources/construe/resources/codeSystems/client/Client.mjs +396 -0
- package/dist/esm/api/resources/construe/{client/requests/GetConstrueCodesSystemsCodesystemExportRequest.d.mts → resources/codeSystems/client/requests/DeleteRequest.d.mts} +1 -1
- package/dist/{cjs/api/resources/construe/client/requests/GetConstrueCodesSystemsCodesystemExportRequest.d.ts → esm/api/resources/construe/resources/codeSystems/client/requests/ExportRequest.d.mts} +1 -1
- package/dist/esm/api/resources/construe/{client/requests/GetConstrueCodesSystemsCodesystemRequest.d.mts → resources/codeSystems/client/requests/FindRequest.d.mts} +1 -1
- package/dist/esm/api/resources/construe/{client → resources/codeSystems/client}/requests/UploadRequest.d.mts +1 -1
- package/dist/esm/api/resources/construe/resources/codeSystems/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/construe/resources/codeSystems/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/construe/resources/codeSystems/exports.d.mts +2 -0
- package/dist/esm/api/resources/{tools/resources/mcpServer → construe/resources/codeSystems}/exports.mjs +1 -2
- package/dist/esm/api/resources/construe/resources/codeSystems/index.d.mts +2 -0
- package/dist/esm/api/resources/construe/resources/codeSystems/index.mjs +2 -0
- package/dist/{cjs/api/resources/construe/types/ConstrueUploadCodeSystemResponse.d.ts → esm/api/resources/construe/resources/codeSystems/types/UploadResponse.d.mts} +1 -1
- package/dist/esm/api/resources/construe/resources/codeSystems/types/index.d.mts +1 -0
- package/dist/esm/api/resources/construe/resources/codeSystems/types/index.mjs +1 -0
- package/dist/esm/api/resources/construe/resources/codes/client/Client.d.mts +227 -0
- package/dist/esm/api/resources/construe/resources/codes/client/Client.mjs +491 -0
- package/dist/esm/api/resources/construe/resources/codes/client/index.d.mts +1 -0
- package/dist/esm/api/resources/construe/resources/codes/client/index.mjs +1 -0
- package/dist/esm/api/resources/construe/{client/requests/GetConstrueCodesCodesystemRequest.d.mts → resources/codes/client/requests/CodesListRequest.d.mts} +1 -1
- package/dist/esm/api/resources/construe/{client → resources/codes/client}/requests/ExtractRequest.d.mts +1 -1
- package/dist/{cjs/api/resources/construe/client/requests/GetConstrueCodesCodesystemCodeIdRequest.d.ts → esm/api/resources/construe/resources/codes/client/requests/LookupRequest.d.mts} +1 -1
- package/dist/esm/api/resources/construe/{client/requests/GetConstrueCodesCodesystemSearchSemanticRequest.d.mts → resources/codes/client/requests/SearchSemanticRequest.d.mts} +1 -1
- package/dist/{cjs/api/resources/construe/client/requests/GetConstrueCodesCodesystemSearchTextRequest.d.ts → esm/api/resources/construe/resources/codes/client/requests/SearchTextRequest.d.mts} +1 -1
- package/dist/esm/api/resources/construe/resources/codes/client/requests/index.d.mts +5 -0
- package/dist/esm/api/resources/construe/resources/codes/exports.d.mts +2 -0
- package/dist/esm/api/resources/{tools/resources/mcpServer/resources/tools → construe/resources/codes}/exports.mjs +1 -1
- package/dist/esm/api/resources/construe/resources/index.d.mts +5 -0
- package/dist/esm/api/resources/construe/resources/index.mjs +5 -0
- package/dist/esm/api/resources/construe/types/index.d.mts +0 -1
- package/dist/esm/api/resources/construe/types/index.mjs +0 -1
- package/dist/esm/api/resources/fhir/client/Client.d.mts +56 -81
- package/dist/esm/api/resources/fhir/client/Client.mjs +81 -211
- package/dist/esm/api/resources/fhir/client/requests/CreateRequest.d.mts +23 -0
- package/dist/esm/api/resources/fhir/client/requests/DeleteRequest.d.mts +19 -0
- package/dist/{cjs/api/resources/fhir/client/requests/FhirExecuteBundleRequest.d.ts → esm/api/resources/fhir/client/requests/ExecuteBundleRequest.d.mts} +20 -17
- package/dist/esm/api/resources/fhir/client/requests/{FhirPatchRequest.d.mts → PatchRequest.d.mts} +2 -2
- package/dist/esm/api/resources/fhir/client/requests/SearchRequest.d.mts +19 -0
- package/dist/{cjs/api/resources/fhir/client/requests/FhirUpsertRequest.d.ts → esm/api/resources/fhir/client/requests/UpsertRequest.d.mts} +4 -5
- package/dist/esm/api/resources/fhir/client/requests/index.d.mts +6 -6
- package/dist/esm/api/resources/fhir/index.d.mts +0 -1
- package/dist/esm/api/resources/fhir/index.mjs +0 -1
- package/dist/esm/api/resources/fhir/types/{FhirPatchRequestBodyItem.d.mts → PatchRequestBodyItem.d.mts} +3 -3
- package/dist/esm/api/resources/fhir/types/{FhirPatchRequestBodyItem.mjs → PatchRequestBodyItem.mjs} +4 -4
- package/dist/esm/api/resources/fhir/types/index.d.mts +1 -5
- package/dist/esm/api/resources/fhir/types/index.mjs +1 -5
- package/dist/esm/api/resources/fhirProvider/client/Client.d.mts +4 -75
- package/dist/esm/api/resources/fhirProvider/client/Client.mjs +6 -225
- package/dist/esm/api/resources/fhirProvider/client/requests/index.d.mts +0 -2
- package/dist/esm/api/resources/fhirProvider/exports.d.mts +1 -0
- package/dist/esm/api/resources/fhirProvider/exports.mjs +1 -0
- package/dist/esm/api/resources/fhirProvider/index.d.mts +1 -0
- package/dist/esm/api/resources/fhirProvider/index.mjs +1 -0
- package/dist/esm/api/resources/fhirProvider/resources/authConfig/client/Client.d.mts +90 -0
- package/dist/esm/api/resources/fhirProvider/resources/authConfig/client/Client.mjs +243 -0
- package/dist/esm/api/resources/fhirProvider/resources/authConfig/client/index.d.mts +1 -0
- package/dist/esm/api/resources/fhirProvider/resources/authConfig/client/index.mjs +1 -0
- package/dist/esm/api/resources/fhirProvider/resources/authConfig/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/fhirProvider/resources/authConfig/exports.d.mts +2 -0
- package/dist/esm/api/resources/fhirProvider/resources/authConfig/exports.mjs +3 -0
- package/dist/esm/api/resources/fhirProvider/resources/authConfig/index.d.mts +2 -0
- package/dist/esm/api/resources/fhirProvider/resources/authConfig/index.mjs +2 -0
- package/dist/esm/api/resources/fhirProvider/{types/FhirProviderRemoveAuthConfigResponse.d.mts → resources/authConfig/types/RemoveResponse.d.mts} +2 -2
- package/dist/esm/api/resources/fhirProvider/resources/authConfig/types/index.d.mts +1 -0
- package/dist/esm/api/resources/fhirProvider/resources/authConfig/types/index.mjs +1 -0
- package/dist/esm/api/resources/fhirProvider/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/fhirProvider/resources/index.mjs +3 -0
- package/dist/esm/api/resources/fhirProvider/types/DeleteResponse.d.mts +4 -0
- package/dist/esm/api/resources/fhirProvider/types/index.d.mts +1 -2
- package/dist/esm/api/resources/fhirProvider/types/index.mjs +1 -2
- package/dist/esm/api/resources/lang2Fhir/client/Client.d.mts +15 -5
- package/dist/esm/api/resources/lang2Fhir/client/Client.mjs +37 -7
- package/dist/esm/api/resources/{fhir/errors/ServiceUnavailableError.d.mts → lang2Fhir/errors/ClientClosedRequestError.d.mts} +1 -1
- package/dist/esm/api/resources/lang2Fhir/errors/ClientClosedRequestError.mjs +17 -0
- package/dist/esm/api/resources/{fhir/errors/UnauthorizedError.d.mts → lang2Fhir/errors/GatewayTimeoutError.d.mts} +1 -1
- package/dist/esm/api/resources/{fhir/errors/BadGatewayError.mjs → lang2Fhir/errors/GatewayTimeoutError.mjs} +3 -3
- package/dist/esm/api/resources/lang2Fhir/errors/index.d.mts +3 -1
- package/dist/esm/api/resources/lang2Fhir/errors/index.mjs +3 -1
- package/dist/{cjs/api/resources/lang2Fhir/types/Lang2FhirUploadProfileResponse.d.ts → esm/api/resources/lang2Fhir/types/UploadProfileResponse.d.mts} +1 -1
- package/dist/esm/api/resources/lang2Fhir/types/index.d.mts +1 -1
- package/dist/esm/api/resources/lang2Fhir/types/index.mjs +1 -1
- package/dist/esm/api/resources/summary/client/Client.d.mts +3 -88
- package/dist/esm/api/resources/summary/client/Client.mjs +4 -309
- package/dist/esm/api/resources/summary/client/requests/index.d.mts +0 -2
- package/dist/esm/api/resources/summary/exports.d.mts +1 -0
- package/dist/esm/api/resources/summary/exports.mjs +1 -0
- package/dist/esm/api/resources/summary/index.d.mts +1 -0
- package/dist/esm/api/resources/summary/index.mjs +1 -0
- package/dist/esm/api/resources/summary/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/summary/resources/index.mjs +3 -0
- package/dist/esm/api/resources/summary/resources/templates/client/Client.d.mts +104 -0
- package/dist/esm/api/resources/summary/resources/templates/client/Client.mjs +323 -0
- package/dist/esm/api/resources/summary/resources/templates/client/index.d.mts +1 -0
- package/dist/esm/api/resources/summary/resources/templates/client/index.mjs +1 -0
- package/dist/esm/api/resources/summary/resources/templates/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/summary/resources/templates/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/summary/resources/templates/exports.d.mts +2 -0
- package/dist/esm/api/resources/summary/resources/templates/exports.mjs +3 -0
- package/dist/esm/api/resources/summary/resources/templates/index.d.mts +2 -0
- package/dist/esm/api/resources/summary/resources/templates/index.mjs +2 -0
- package/dist/esm/api/resources/summary/resources/templates/types/DeleteResponse.d.mts +4 -0
- package/dist/esm/api/resources/summary/resources/templates/types/GetResponse.d.mts +5 -0
- package/dist/esm/api/resources/summary/{types/SummaryListTemplatesResponse.d.mts → resources/templates/types/ListResponse.d.mts} +2 -2
- package/dist/esm/api/resources/summary/{types/SummaryUpdateTemplateResponse.d.mts → resources/templates/types/UpdateResponse.d.mts} +2 -2
- package/dist/esm/api/resources/summary/resources/templates/types/index.d.mts +4 -0
- package/dist/esm/api/resources/summary/resources/templates/types/index.mjs +4 -0
- package/dist/esm/api/resources/summary/types/index.d.mts +0 -4
- package/dist/esm/api/resources/summary/types/index.mjs +0 -4
- package/dist/esm/api/resources/tools/client/Client.d.mts +6 -6
- package/dist/esm/api/resources/tools/client/Client.mjs +8 -12
- package/dist/esm/api/resources/{fhir/errors/BadRequestError.d.mts → tools/errors/NotFoundError.d.mts} +1 -1
- package/dist/esm/api/resources/{fhir/errors/BadRequestError.mjs → tools/errors/NotFoundError.mjs} +3 -3
- package/dist/esm/api/resources/tools/errors/index.d.mts +1 -1
- package/dist/esm/api/resources/tools/errors/index.mjs +1 -1
- package/dist/esm/api/resources/tools/resources/index.d.mts +3 -2
- package/dist/esm/api/resources/tools/resources/index.mjs +3 -2
- package/dist/esm/api/resources/tools/resources/{mcpServer → mcpServers}/client/Client.d.mts +21 -19
- package/dist/esm/api/resources/tools/resources/{mcpServer → mcpServers}/client/Client.mjs +18 -14
- package/dist/esm/api/resources/tools/resources/mcpServers/client/index.d.mts +1 -0
- package/dist/esm/api/resources/tools/resources/mcpServers/client/index.mjs +1 -0
- package/dist/esm/api/resources/tools/resources/mcpServers/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/tools/resources/mcpServers/exports.d.mts +2 -0
- package/dist/esm/api/resources/tools/resources/mcpServers/exports.mjs +3 -0
- package/dist/esm/api/resources/tools/resources/{mcpServer/resources/tools → mcpTools}/client/Client.d.mts +19 -17
- package/dist/esm/api/resources/tools/resources/{mcpServer/resources/tools → mcpTools}/client/Client.mjs +20 -14
- package/dist/esm/api/resources/tools/resources/mcpTools/client/index.d.mts +1 -0
- package/dist/esm/api/resources/tools/resources/mcpTools/client/index.mjs +1 -0
- package/dist/esm/api/resources/tools/resources/mcpTools/exports.d.mts +2 -0
- package/dist/esm/api/resources/tools/resources/mcpTools/exports.mjs +3 -0
- package/dist/esm/api/resources/tools/resources/mcpTools/index.d.mts +1 -0
- package/dist/esm/api/resources/tools/resources/mcpTools/index.mjs +1 -0
- package/dist/esm/api/resources/workflows/client/Client.d.mts +10 -6
- package/dist/esm/api/resources/workflows/client/Client.mjs +17 -14
- package/dist/esm/api/resources/workflows/client/requests/{WorkflowsListRequest.d.mts → GetRequest.d.mts} +1 -1
- package/dist/{cjs/api/resources/workflows/client/requests/WorkflowsListRequest.d.ts → esm/api/resources/workflows/client/requests/ListRequest.d.mts} +1 -1
- package/dist/esm/api/resources/workflows/client/requests/index.d.mts +2 -2
- package/dist/esm/api/resources/workflows/errors/GatewayTimeoutError.d.mts +5 -0
- package/dist/esm/api/resources/workflows/errors/GatewayTimeoutError.mjs +17 -0
- package/dist/esm/api/resources/workflows/errors/index.d.mts +1 -0
- package/dist/esm/api/resources/workflows/errors/index.mjs +1 -0
- package/dist/esm/api/resources/workflows/types/DeleteResponse.d.mts +4 -0
- package/dist/esm/api/resources/workflows/types/{WorkflowsGetResponse.d.mts → GetResponse.d.mts} +1 -1
- package/dist/esm/api/resources/workflows/types/{WorkflowsUpdateResponse.d.mts → UpdateResponse.d.mts} +1 -1
- package/dist/esm/api/resources/workflows/types/index.d.mts +3 -3
- package/dist/esm/api/resources/workflows/types/index.mjs +3 -3
- package/dist/esm/auth/OAuthAuthProvider.mjs +2 -2
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/openapi/openapi.json +11090 -0
- package/package.json +70 -24
- package/reference.md +341 -316
- package/dist/cjs/api/resources/agent/types/AgentGetChatMessagesRequestOrder.d.ts +0 -5
- package/dist/cjs/api/resources/agent/types/AgentGetChatMessagesRequestRole.d.ts +0 -7
- package/dist/cjs/api/resources/authtoken/resources/auth/client/Client.d.ts +0 -34
- package/dist/cjs/api/resources/authtoken/resources/auth/client/Client.js +0 -121
- package/dist/cjs/api/resources/authtoken/resources/auth/exports.d.ts +0 -2
- package/dist/cjs/api/resources/authtoken/resources/index.d.ts +0 -2
- package/dist/cjs/api/resources/fhir/client/requests/FhirSearchRequest.d.ts +0 -27
- package/dist/cjs/api/resources/fhir/errors/BadGatewayError.d.ts +0 -6
- package/dist/cjs/api/resources/fhir/errors/ServiceUnavailableError.js +0 -54
- package/dist/cjs/api/resources/fhir/errors/TooManyRequestsError.d.ts +0 -6
- package/dist/cjs/api/resources/fhir/errors/TooManyRequestsError.js +0 -54
- package/dist/cjs/api/resources/fhir/errors/UnauthorizedError.js +0 -54
- package/dist/cjs/api/resources/fhir/errors/index.d.ts +0 -7
- package/dist/cjs/api/resources/fhir/errors/index.js +0 -23
- package/dist/cjs/api/resources/fhir/types/ErrorResponse.d.ts +0 -11
- package/dist/cjs/api/resources/fhir/types/FhirBundle.d.ts +0 -54
- package/dist/cjs/api/resources/fhir/types/FhirBundle.js +0 -23
- package/dist/cjs/api/resources/fhir/types/FhirResource.d.ts +0 -24
- package/dist/cjs/api/resources/fhir/types/FhirSearchResponse.d.ts +0 -2
- package/dist/cjs/api/resources/fhirProvider/types/FhirProviderDeleteResponse.d.ts +0 -4
- package/dist/cjs/api/resources/lang2Fhir/errors/FailedDependencyError.d.ts +0 -5
- package/dist/cjs/api/resources/lang2Fhir/errors/FailedDependencyError.js +0 -54
- package/dist/cjs/api/resources/summary/types/SummaryDeleteTemplateResponse.d.ts +0 -4
- package/dist/cjs/api/resources/tools/errors/FailedDependencyError.d.ts +0 -5
- package/dist/cjs/api/resources/tools/errors/FailedDependencyError.js +0 -54
- package/dist/cjs/api/resources/tools/resources/mcpServer/exports.d.ts +0 -3
- package/dist/cjs/api/resources/tools/resources/mcpServer/index.d.ts +0 -2
- package/dist/cjs/api/resources/tools/resources/mcpServer/resources/index.d.ts +0 -1
- package/dist/cjs/api/resources/tools/resources/mcpServer/resources/tools/exports.d.ts +0 -2
- package/dist/cjs/api/resources/workflows/types/WorkflowsDeleteResponse.js +0 -3
- package/dist/cjs/api/resources/workflows/types/WorkflowsGetResponse.js +0 -3
- package/dist/cjs/api/resources/workflows/types/WorkflowsUpdateResponse.js +0 -3
- package/dist/esm/api/resources/agent/types/AgentGetChatMessagesRequestOrder.d.mts +0 -5
- package/dist/esm/api/resources/agent/types/AgentGetChatMessagesRequestRole.d.mts +0 -7
- package/dist/esm/api/resources/authtoken/resources/auth/client/Client.d.mts +0 -34
- package/dist/esm/api/resources/authtoken/resources/auth/client/Client.mjs +0 -84
- package/dist/esm/api/resources/authtoken/resources/auth/exports.d.mts +0 -2
- package/dist/esm/api/resources/authtoken/resources/index.d.mts +0 -2
- package/dist/esm/api/resources/authtoken/resources/index.mjs +0 -2
- package/dist/esm/api/resources/fhir/client/requests/FhirSearchRequest.d.mts +0 -27
- package/dist/esm/api/resources/fhir/client/requests/FhirUpsertRequest.d.mts +0 -25
- package/dist/esm/api/resources/fhir/errors/BadGatewayError.d.mts +0 -6
- package/dist/esm/api/resources/fhir/errors/ServiceUnavailableError.mjs +0 -17
- package/dist/esm/api/resources/fhir/errors/TooManyRequestsError.d.mts +0 -6
- package/dist/esm/api/resources/fhir/errors/TooManyRequestsError.mjs +0 -17
- package/dist/esm/api/resources/fhir/errors/UnauthorizedError.mjs +0 -17
- package/dist/esm/api/resources/fhir/errors/index.d.mts +0 -7
- package/dist/esm/api/resources/fhir/errors/index.mjs +0 -7
- package/dist/esm/api/resources/fhir/types/ErrorResponse.d.mts +0 -11
- package/dist/esm/api/resources/fhir/types/FhirBundle.d.mts +0 -54
- package/dist/esm/api/resources/fhir/types/FhirBundle.mjs +0 -20
- package/dist/esm/api/resources/fhir/types/FhirResource.d.mts +0 -24
- package/dist/esm/api/resources/fhir/types/FhirSearchResponse.d.mts +0 -2
- package/dist/esm/api/resources/fhirProvider/types/FhirProviderDeleteResponse.d.mts +0 -4
- package/dist/esm/api/resources/lang2Fhir/errors/FailedDependencyError.d.mts +0 -5
- package/dist/esm/api/resources/lang2Fhir/errors/FailedDependencyError.mjs +0 -17
- package/dist/esm/api/resources/summary/types/SummaryDeleteTemplateResponse.d.mts +0 -4
- package/dist/esm/api/resources/summary/types/SummaryGetTemplateResponse.d.mts +0 -5
- package/dist/esm/api/resources/tools/errors/FailedDependencyError.d.mts +0 -5
- package/dist/esm/api/resources/tools/errors/FailedDependencyError.mjs +0 -17
- package/dist/esm/api/resources/tools/resources/mcpServer/exports.d.mts +0 -3
- package/dist/esm/api/resources/tools/resources/mcpServer/index.d.mts +0 -2
- package/dist/esm/api/resources/tools/resources/mcpServer/index.mjs +0 -2
- package/dist/esm/api/resources/tools/resources/mcpServer/resources/index.d.mts +0 -1
- package/dist/esm/api/resources/tools/resources/mcpServer/resources/index.mjs +0 -1
- package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/exports.d.mts +0 -2
- package/dist/esm/api/resources/workflows/types/WorkflowsDeleteResponse.mjs +0 -2
- package/dist/esm/api/resources/workflows/types/WorkflowsGetResponse.mjs +0 -2
- package/dist/esm/api/resources/workflows/types/WorkflowsUpdateResponse.mjs +0 -2
- /package/dist/cjs/api/resources/agent/client/requests/{AgentChatRequest.js → ListRequest.js} +0 -0
- /package/dist/cjs/api/resources/{authtoken/resources/auth → agent/resources/chat}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{authtoken/resources/auth → agent/resources/chat}/client/index.js +0 -0
- /package/dist/cjs/api/resources/agent/{client → resources/chat/client}/requests/AgentChatRequest.d.ts +0 -0
- /package/dist/cjs/api/resources/agent/{client/requests/AgentGetChatMessagesRequest.js → resources/chat/client/requests/AgentChatRequest.js} +0 -0
- /package/dist/cjs/api/resources/agent/{client → resources/chat/client}/requests/AgentStreamChatRequest.d.ts +0 -0
- /package/dist/cjs/api/resources/agent/{client → resources/chat/client}/requests/AgentStreamChatRequest.js +0 -0
- /package/dist/cjs/api/resources/agent/{client/requests/AgentListRequest.js → resources/chat/client/requests/ListMessagesRequest.js} +0 -0
- /package/dist/cjs/api/resources/{authtoken/resources/auth → agent/resources/chat}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/agent/{types/AgentDeleteResponse.js → resources/chat/types/ListMessagesResponse.js} +0 -0
- /package/dist/cjs/api/resources/agent/types/{AgentGetChatMessagesResponse.js → DeleteResponse.js} +0 -0
- /package/dist/cjs/api/resources/agent/types/{AgentListResponse.js → ListResponse.js} +0 -0
- /package/dist/cjs/api/resources/authtoken/{resources/auth/client → client}/requests/ClientCredentialsRequest.d.ts +0 -0
- /package/dist/cjs/api/resources/authtoken/{resources/auth/client → client}/requests/ClientCredentialsRequest.js +0 -0
- /package/dist/cjs/api/resources/authtoken/{resources/auth/client → client}/requests/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{tools/resources/mcpServer → authtoken}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/{tools/resources/mcpServer → construe/resources/codeSystems}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{tools/resources/mcpServer → construe/resources/codeSystems}/client/index.js +0 -0
- /package/dist/cjs/api/resources/construe/{client/requests/DeleteConstrueCodesSystemsCodesystemRequest.js → resources/codeSystems/client/requests/DeleteRequest.js} +0 -0
- /package/dist/cjs/api/resources/construe/{client/requests/ExtractRequest.js → resources/codeSystems/client/requests/ExportRequest.js} +0 -0
- /package/dist/cjs/api/resources/construe/{client/requests/GetConstrueCodesCodesystemCodeIdRequest.js → resources/codeSystems/client/requests/FindRequest.js} +0 -0
- /package/dist/cjs/api/resources/construe/{client → resources/codeSystems/client}/requests/UploadRequest.js +0 -0
- /package/dist/cjs/api/resources/construe/{client/requests/GetConstrueCodesCodesystemRequest.js → resources/codeSystems/types/UploadResponse.js} +0 -0
- /package/dist/cjs/api/resources/construe/{client/requests/GetConstrueCodesCodesystemSearchSemanticRequest.js → resources/codes/client/requests/CodesListRequest.js} +0 -0
- /package/dist/cjs/api/resources/construe/{client/requests/GetConstrueCodesCodesystemSearchTextRequest.js → resources/codes/client/requests/ExtractRequest.js} +0 -0
- /package/dist/cjs/api/resources/construe/{client/requests/GetConstrueCodesSystemsCodesystemExportRequest.js → resources/codes/client/requests/LookupRequest.js} +0 -0
- /package/dist/cjs/api/resources/construe/{client/requests/GetConstrueCodesSystemsCodesystemRequest.js → resources/codes/client/requests/SearchSemanticRequest.js} +0 -0
- /package/dist/cjs/api/resources/construe/{types/ConstrueUploadCodeSystemResponse.js → resources/codes/client/requests/SearchTextRequest.js} +0 -0
- /package/dist/cjs/api/resources/{tools/resources/mcpServer/resources/tools/client → construe/resources/codes/client/requests}/index.js +0 -0
- /package/dist/cjs/api/resources/{authtoken/resources/auth → construe/resources/codes}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{authtoken/resources/auth → construe/resources/codes}/index.js +0 -0
- /package/dist/cjs/api/resources/fhir/client/requests/{FhirCreateRequest.js → CreateRequest.js} +0 -0
- /package/dist/cjs/api/resources/fhir/client/requests/{FhirDeleteRequest.js → DeleteRequest.js} +0 -0
- /package/dist/cjs/api/resources/fhir/client/requests/{FhirExecuteBundleRequest.js → ExecuteBundleRequest.js} +0 -0
- /package/dist/cjs/api/resources/fhir/client/requests/{FhirPatchRequest.js → PatchRequest.js} +0 -0
- /package/dist/cjs/api/resources/fhir/client/requests/{FhirSearchRequest.js → SearchRequest.js} +0 -0
- /package/dist/cjs/api/resources/fhir/client/requests/{FhirUpsertRequest.js → UpsertRequest.js} +0 -0
- /package/dist/cjs/api/resources/fhirProvider/{client → resources/authConfig/client}/requests/FhirProviderRemoveAuthConfigRequest.d.ts +0 -0
- /package/dist/cjs/api/resources/fhirProvider/{client → resources/authConfig/client}/requests/FhirProviderRemoveAuthConfigRequest.js +0 -0
- /package/dist/cjs/api/resources/fhirProvider/{client → resources/authConfig/client}/requests/FhirProviderSetActiveAuthConfigRequest.d.ts +0 -0
- /package/dist/cjs/api/resources/fhirProvider/{client → resources/authConfig/client}/requests/FhirProviderSetActiveAuthConfigRequest.js +0 -0
- /package/dist/cjs/api/resources/{fhir/types/ErrorResponse.js → fhirProvider/resources/authConfig/types/RemoveResponse.js} +0 -0
- /package/dist/cjs/api/resources/{fhir/types/FhirResource.js → fhirProvider/types/DeleteResponse.js} +0 -0
- /package/dist/cjs/api/resources/{fhir → lang2Fhir}/errors/NotFoundError.d.ts +0 -0
- /package/dist/cjs/api/resources/{fhir → lang2Fhir}/errors/NotFoundError.js +0 -0
- /package/dist/cjs/api/resources/{fhir/types/FhirSearchResponse.js → lang2Fhir/types/UploadProfileResponse.js} +0 -0
- /package/dist/cjs/api/resources/summary/{client → resources/templates/client}/requests/CreateSummaryTemplateRequest.d.ts +0 -0
- /package/dist/cjs/api/resources/summary/{client → resources/templates/client}/requests/CreateSummaryTemplateRequest.js +0 -0
- /package/dist/cjs/api/resources/summary/{client → resources/templates/client}/requests/UpdateSummaryTemplateRequest.d.ts +0 -0
- /package/dist/cjs/api/resources/summary/{client → resources/templates/client}/requests/UpdateSummaryTemplateRequest.js +0 -0
- /package/dist/cjs/api/resources/{fhirProvider/types/FhirProviderDeleteResponse.js → summary/resources/templates/types/DeleteResponse.js} +0 -0
- /package/dist/cjs/api/resources/{fhirProvider/types/FhirProviderRemoveAuthConfigResponse.js → summary/resources/templates/types/GetResponse.js} +0 -0
- /package/dist/cjs/api/resources/{lang2Fhir/types/Lang2FhirUploadProfileResponse.js → summary/resources/templates/types/ListResponse.js} +0 -0
- /package/dist/cjs/api/resources/summary/{types/SummaryDeleteTemplateResponse.js → resources/templates/types/UpdateResponse.js} +0 -0
- /package/dist/cjs/api/resources/tools/resources/{mcpServer → mcpServers}/client/requests/McpServerCreateRequest.d.ts +0 -0
- /package/dist/cjs/api/resources/tools/resources/{mcpServer → mcpServers}/client/requests/McpServerCreateRequest.js +0 -0
- /package/dist/cjs/api/resources/tools/resources/{mcpServer → mcpServers}/client/requests/index.d.ts +0 -0
- /package/dist/cjs/api/resources/tools/resources/{mcpServer/resources/tools → mcpServers}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/tools/resources/{mcpServer/resources/tools → mcpServers}/index.js +0 -0
- /package/dist/cjs/api/resources/tools/resources/{mcpServer/resources/tools → mcpTools}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{summary/types/SummaryGetTemplateResponse.js → workflows/client/requests/GetRequest.js} +0 -0
- /package/dist/cjs/api/resources/{summary/types/SummaryListTemplatesResponse.js → workflows/client/requests/ListRequest.js} +0 -0
- /package/dist/cjs/api/resources/{summary/types/SummaryUpdateTemplateResponse.js → workflows/types/DeleteResponse.js} +0 -0
- /package/dist/cjs/api/resources/workflows/{client/requests/WorkflowsGetRequest.js → types/GetResponse.js} +0 -0
- /package/dist/cjs/api/resources/workflows/{client/requests/WorkflowsListRequest.js → types/UpdateResponse.js} +0 -0
- /package/dist/esm/api/resources/agent/client/requests/{AgentChatRequest.mjs → ListRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{authtoken/resources/auth → agent/resources/chat}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{authtoken/resources/auth → agent/resources/chat}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/agent/{client → resources/chat/client}/requests/AgentChatRequest.d.mts +0 -0
- /package/dist/esm/api/resources/agent/{client/requests/AgentGetChatMessagesRequest.mjs → resources/chat/client/requests/AgentChatRequest.mjs} +0 -0
- /package/dist/esm/api/resources/agent/{client → resources/chat/client}/requests/AgentStreamChatRequest.d.mts +0 -0
- /package/dist/esm/api/resources/agent/{client → resources/chat/client}/requests/AgentStreamChatRequest.mjs +0 -0
- /package/dist/esm/api/resources/agent/{client/requests/AgentListRequest.mjs → resources/chat/client/requests/ListMessagesRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{authtoken/resources/auth → agent/resources/chat}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/agent/{types/AgentDeleteResponse.mjs → resources/chat/types/ListMessagesResponse.mjs} +0 -0
- /package/dist/esm/api/resources/agent/types/{AgentGetChatMessagesResponse.mjs → DeleteResponse.mjs} +0 -0
- /package/dist/esm/api/resources/agent/types/{AgentListResponse.mjs → ListResponse.mjs} +0 -0
- /package/dist/esm/api/resources/authtoken/{resources/auth/client → client}/requests/ClientCredentialsRequest.d.mts +0 -0
- /package/dist/esm/api/resources/authtoken/{resources/auth/client → client}/requests/ClientCredentialsRequest.mjs +0 -0
- /package/dist/esm/api/resources/authtoken/{resources/auth/client → client}/requests/index.d.mts +0 -0
- /package/dist/esm/api/resources/{tools/resources/mcpServer → authtoken}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/{tools/resources/mcpServer → construe/resources/codeSystems}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{tools/resources/mcpServer → construe/resources/codeSystems}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/construe/{client/requests/DeleteConstrueCodesSystemsCodesystemRequest.mjs → resources/codeSystems/client/requests/DeleteRequest.mjs} +0 -0
- /package/dist/esm/api/resources/construe/{client/requests/ExtractRequest.mjs → resources/codeSystems/client/requests/ExportRequest.mjs} +0 -0
- /package/dist/esm/api/resources/construe/{client/requests/GetConstrueCodesCodesystemCodeIdRequest.mjs → resources/codeSystems/client/requests/FindRequest.mjs} +0 -0
- /package/dist/esm/api/resources/construe/{client → resources/codeSystems/client}/requests/UploadRequest.mjs +0 -0
- /package/dist/esm/api/resources/construe/{client/requests/GetConstrueCodesCodesystemRequest.mjs → resources/codeSystems/types/UploadResponse.mjs} +0 -0
- /package/dist/esm/api/resources/construe/{client/requests/GetConstrueCodesCodesystemSearchSemanticRequest.mjs → resources/codes/client/requests/CodesListRequest.mjs} +0 -0
- /package/dist/esm/api/resources/construe/{client/requests/GetConstrueCodesCodesystemSearchTextRequest.mjs → resources/codes/client/requests/ExtractRequest.mjs} +0 -0
- /package/dist/esm/api/resources/construe/{client/requests/GetConstrueCodesSystemsCodesystemExportRequest.mjs → resources/codes/client/requests/LookupRequest.mjs} +0 -0
- /package/dist/esm/api/resources/construe/{client/requests/GetConstrueCodesSystemsCodesystemRequest.mjs → resources/codes/client/requests/SearchSemanticRequest.mjs} +0 -0
- /package/dist/esm/api/resources/construe/{types/ConstrueUploadCodeSystemResponse.mjs → resources/codes/client/requests/SearchTextRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{tools/resources/mcpServer/resources/tools/client → construe/resources/codes/client/requests}/index.mjs +0 -0
- /package/dist/esm/api/resources/{authtoken/resources/auth → construe/resources/codes}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{authtoken/resources/auth → construe/resources/codes}/index.mjs +0 -0
- /package/dist/esm/api/resources/fhir/client/requests/{FhirCreateRequest.mjs → CreateRequest.mjs} +0 -0
- /package/dist/esm/api/resources/fhir/client/requests/{FhirDeleteRequest.mjs → DeleteRequest.mjs} +0 -0
- /package/dist/esm/api/resources/fhir/client/requests/{FhirExecuteBundleRequest.mjs → ExecuteBundleRequest.mjs} +0 -0
- /package/dist/esm/api/resources/fhir/client/requests/{FhirPatchRequest.mjs → PatchRequest.mjs} +0 -0
- /package/dist/esm/api/resources/fhir/client/requests/{FhirSearchRequest.mjs → SearchRequest.mjs} +0 -0
- /package/dist/esm/api/resources/fhir/client/requests/{FhirUpsertRequest.mjs → UpsertRequest.mjs} +0 -0
- /package/dist/esm/api/resources/fhirProvider/{client → resources/authConfig/client}/requests/FhirProviderRemoveAuthConfigRequest.d.mts +0 -0
- /package/dist/esm/api/resources/fhirProvider/{client → resources/authConfig/client}/requests/FhirProviderRemoveAuthConfigRequest.mjs +0 -0
- /package/dist/esm/api/resources/fhirProvider/{client → resources/authConfig/client}/requests/FhirProviderSetActiveAuthConfigRequest.d.mts +0 -0
- /package/dist/esm/api/resources/fhirProvider/{client → resources/authConfig/client}/requests/FhirProviderSetActiveAuthConfigRequest.mjs +0 -0
- /package/dist/esm/api/resources/{tools/resources/mcpServer/resources/tools/client/index.d.mts → fhirProvider/resources/authConfig/client/requests/index.mjs} +0 -0
- /package/dist/esm/api/resources/{fhir/types/ErrorResponse.mjs → fhirProvider/resources/authConfig/types/RemoveResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{fhir/types/FhirResource.mjs → fhirProvider/types/DeleteResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{fhir → lang2Fhir}/errors/NotFoundError.d.mts +0 -0
- /package/dist/esm/api/resources/{fhir → lang2Fhir}/errors/NotFoundError.mjs +0 -0
- /package/dist/esm/api/resources/{fhir/types/FhirSearchResponse.mjs → lang2Fhir/types/UploadProfileResponse.mjs} +0 -0
- /package/dist/esm/api/resources/summary/{client → resources/templates/client}/requests/CreateSummaryTemplateRequest.d.mts +0 -0
- /package/dist/esm/api/resources/summary/{client → resources/templates/client}/requests/CreateSummaryTemplateRequest.mjs +0 -0
- /package/dist/esm/api/resources/summary/{client → resources/templates/client}/requests/UpdateSummaryTemplateRequest.d.mts +0 -0
- /package/dist/esm/api/resources/summary/{client → resources/templates/client}/requests/UpdateSummaryTemplateRequest.mjs +0 -0
- /package/dist/esm/api/resources/{fhirProvider/types/FhirProviderDeleteResponse.mjs → summary/resources/templates/types/DeleteResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{fhirProvider/types/FhirProviderRemoveAuthConfigResponse.mjs → summary/resources/templates/types/GetResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{lang2Fhir/types/Lang2FhirUploadProfileResponse.mjs → summary/resources/templates/types/ListResponse.mjs} +0 -0
- /package/dist/esm/api/resources/summary/{types/SummaryDeleteTemplateResponse.mjs → resources/templates/types/UpdateResponse.mjs} +0 -0
- /package/dist/esm/api/resources/tools/resources/{mcpServer → mcpServers}/client/requests/McpServerCreateRequest.d.mts +0 -0
- /package/dist/esm/api/resources/tools/resources/{mcpServer → mcpServers}/client/requests/McpServerCreateRequest.mjs +0 -0
- /package/dist/esm/api/resources/tools/resources/{mcpServer → mcpServers}/client/requests/index.d.mts +0 -0
- /package/dist/esm/api/resources/tools/resources/{mcpServer/resources/tools → mcpServers}/index.d.mts +0 -0
- /package/dist/esm/api/resources/tools/resources/{mcpServer/resources/tools → mcpServers}/index.mjs +0 -0
- /package/dist/esm/api/resources/{summary/types/SummaryGetTemplateResponse.mjs → workflows/client/requests/GetRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{summary/types/SummaryListTemplatesResponse.mjs → workflows/client/requests/ListRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{summary/types/SummaryUpdateTemplateResponse.mjs → workflows/types/DeleteResponse.mjs} +0 -0
- /package/dist/esm/api/resources/workflows/{client/requests/WorkflowsGetRequest.mjs → types/GetResponse.mjs} +0 -0
- /package/dist/esm/api/resources/workflows/{client/requests/WorkflowsListRequest.mjs → types/UpdateResponse.mjs} +0 -0
|
@@ -2,22 +2,22 @@ import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../Ba
|
|
|
2
2
|
import { type NormalizedClientOptionsWithAuth } from "../../../../../../BaseClient.mjs";
|
|
3
3
|
import * as core from "../../../../../../core/index.mjs";
|
|
4
4
|
import * as phenoml from "../../../../../index.mjs";
|
|
5
|
-
|
|
6
|
-
export declare namespace McpServerClient {
|
|
5
|
+
export declare namespace McpServersClient {
|
|
7
6
|
type Options = BaseClientOptions;
|
|
8
7
|
interface RequestOptions extends BaseRequestOptions {
|
|
9
8
|
}
|
|
10
9
|
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
/**
|
|
11
|
+
* Register and manage MCP servers exposed as agent tools.
|
|
12
|
+
*/
|
|
13
|
+
export declare class McpServersClient {
|
|
14
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<McpServersClient.Options>;
|
|
15
|
+
constructor(options?: McpServersClient.Options);
|
|
16
16
|
/**
|
|
17
17
|
* Creates a new MCP server
|
|
18
18
|
*
|
|
19
19
|
* @param {phenoml.tools.McpServerCreateRequest} request
|
|
20
|
-
* @param {
|
|
20
|
+
* @param {McpServersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
21
21
|
*
|
|
22
22
|
* @throws {@link phenoml.tools.BadRequestError}
|
|
23
23
|
* @throws {@link phenoml.tools.UnauthorizedError}
|
|
@@ -25,55 +25,57 @@ export declare class McpServerClient {
|
|
|
25
25
|
* @throws {@link phenoml.tools.InternalServerError}
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
28
|
-
* await client.tools.
|
|
28
|
+
* await client.tools.mcpServers.create({
|
|
29
29
|
* name: "My MCP Server",
|
|
30
30
|
* mcp_server_url: "https://mcp.example.com"
|
|
31
31
|
* })
|
|
32
32
|
*/
|
|
33
|
-
create(request: phenoml.tools.McpServerCreateRequest, requestOptions?:
|
|
33
|
+
create(request: phenoml.tools.McpServerCreateRequest, requestOptions?: McpServersClient.RequestOptions): core.HttpResponsePromise<phenoml.tools.McpServerResponse>;
|
|
34
34
|
private __create;
|
|
35
35
|
/**
|
|
36
36
|
* Lists all MCP servers for a specific user
|
|
37
37
|
*
|
|
38
|
-
* @param {
|
|
38
|
+
* @param {McpServersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
39
39
|
*
|
|
40
40
|
* @throws {@link phenoml.tools.UnauthorizedError}
|
|
41
41
|
* @throws {@link phenoml.tools.ForbiddenError}
|
|
42
42
|
* @throws {@link phenoml.tools.InternalServerError}
|
|
43
43
|
*
|
|
44
44
|
* @example
|
|
45
|
-
* await client.tools.
|
|
45
|
+
* await client.tools.mcpServers.list()
|
|
46
46
|
*/
|
|
47
|
-
list(requestOptions?:
|
|
47
|
+
list(requestOptions?: McpServersClient.RequestOptions): core.HttpResponsePromise<phenoml.tools.McpServerResponse>;
|
|
48
48
|
private __list;
|
|
49
49
|
/**
|
|
50
50
|
* Gets a MCP server by ID
|
|
51
51
|
*
|
|
52
52
|
* @param {string} mcp_server_id - ID of the MCP server to retrieve
|
|
53
|
-
* @param {
|
|
53
|
+
* @param {McpServersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
54
54
|
*
|
|
55
55
|
* @throws {@link phenoml.tools.UnauthorizedError}
|
|
56
56
|
* @throws {@link phenoml.tools.ForbiddenError}
|
|
57
|
+
* @throws {@link phenoml.tools.NotFoundError}
|
|
57
58
|
* @throws {@link phenoml.tools.InternalServerError}
|
|
58
59
|
*
|
|
59
60
|
* @example
|
|
60
|
-
* await client.tools.
|
|
61
|
+
* await client.tools.mcpServers.get("mcp_server_id")
|
|
61
62
|
*/
|
|
62
|
-
get(mcp_server_id: string, requestOptions?:
|
|
63
|
+
get(mcp_server_id: string, requestOptions?: McpServersClient.RequestOptions): core.HttpResponsePromise<phenoml.tools.McpServerResponse>;
|
|
63
64
|
private __get;
|
|
64
65
|
/**
|
|
65
66
|
* Deletes a MCP server by ID
|
|
66
67
|
*
|
|
67
68
|
* @param {string} mcp_server_id - ID of the MCP server to delete
|
|
68
|
-
* @param {
|
|
69
|
+
* @param {McpServersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
69
70
|
*
|
|
70
71
|
* @throws {@link phenoml.tools.UnauthorizedError}
|
|
71
72
|
* @throws {@link phenoml.tools.ForbiddenError}
|
|
73
|
+
* @throws {@link phenoml.tools.NotFoundError}
|
|
72
74
|
* @throws {@link phenoml.tools.InternalServerError}
|
|
73
75
|
*
|
|
74
76
|
* @example
|
|
75
|
-
* await client.tools.
|
|
77
|
+
* await client.tools.mcpServers.delete("mcp_server_id")
|
|
76
78
|
*/
|
|
77
|
-
delete(mcp_server_id: string, requestOptions?:
|
|
79
|
+
delete(mcp_server_id: string, requestOptions?: McpServersClient.RequestOptions): core.HttpResponsePromise<phenoml.tools.McpServerResponse>;
|
|
78
80
|
private __delete;
|
|
79
81
|
}
|
|
@@ -15,20 +15,18 @@ import * as environments from "../../../../../../environments.mjs";
|
|
|
15
15
|
import { handleNonStatusCodeError } from "../../../../../../errors/handleNonStatusCodeError.mjs";
|
|
16
16
|
import * as errors from "../../../../../../errors/index.mjs";
|
|
17
17
|
import * as phenoml from "../../../../../index.mjs";
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
/**
|
|
19
|
+
* Register and manage MCP servers exposed as agent tools.
|
|
20
|
+
*/
|
|
21
|
+
export class McpServersClient {
|
|
20
22
|
constructor(options = {}) {
|
|
21
23
|
this._options = normalizeClientOptionsWithAuth(options);
|
|
22
24
|
}
|
|
23
|
-
get tools() {
|
|
24
|
-
var _a;
|
|
25
|
-
return ((_a = this._tools) !== null && _a !== void 0 ? _a : (this._tools = new ToolsClient(this._options)));
|
|
26
|
-
}
|
|
27
25
|
/**
|
|
28
26
|
* Creates a new MCP server
|
|
29
27
|
*
|
|
30
28
|
* @param {phenoml.tools.McpServerCreateRequest} request
|
|
31
|
-
* @param {
|
|
29
|
+
* @param {McpServersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
32
30
|
*
|
|
33
31
|
* @throws {@link phenoml.tools.BadRequestError}
|
|
34
32
|
* @throws {@link phenoml.tools.UnauthorizedError}
|
|
@@ -36,7 +34,7 @@ export class McpServerClient {
|
|
|
36
34
|
* @throws {@link phenoml.tools.InternalServerError}
|
|
37
35
|
*
|
|
38
36
|
* @example
|
|
39
|
-
* await client.tools.
|
|
37
|
+
* await client.tools.mcpServers.create({
|
|
40
38
|
* name: "My MCP Server",
|
|
41
39
|
* mcp_server_url: "https://mcp.example.com"
|
|
42
40
|
* })
|
|
@@ -90,14 +88,14 @@ export class McpServerClient {
|
|
|
90
88
|
/**
|
|
91
89
|
* Lists all MCP servers for a specific user
|
|
92
90
|
*
|
|
93
|
-
* @param {
|
|
91
|
+
* @param {McpServersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
94
92
|
*
|
|
95
93
|
* @throws {@link phenoml.tools.UnauthorizedError}
|
|
96
94
|
* @throws {@link phenoml.tools.ForbiddenError}
|
|
97
95
|
* @throws {@link phenoml.tools.InternalServerError}
|
|
98
96
|
*
|
|
99
97
|
* @example
|
|
100
|
-
* await client.tools.
|
|
98
|
+
* await client.tools.mcpServers.list()
|
|
101
99
|
*/
|
|
102
100
|
list(requestOptions) {
|
|
103
101
|
return core.HttpResponsePromise.fromPromise(this.__list(requestOptions));
|
|
@@ -144,14 +142,15 @@ export class McpServerClient {
|
|
|
144
142
|
* Gets a MCP server by ID
|
|
145
143
|
*
|
|
146
144
|
* @param {string} mcp_server_id - ID of the MCP server to retrieve
|
|
147
|
-
* @param {
|
|
145
|
+
* @param {McpServersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
148
146
|
*
|
|
149
147
|
* @throws {@link phenoml.tools.UnauthorizedError}
|
|
150
148
|
* @throws {@link phenoml.tools.ForbiddenError}
|
|
149
|
+
* @throws {@link phenoml.tools.NotFoundError}
|
|
151
150
|
* @throws {@link phenoml.tools.InternalServerError}
|
|
152
151
|
*
|
|
153
152
|
* @example
|
|
154
|
-
* await client.tools.
|
|
153
|
+
* await client.tools.mcpServers.get("mcp_server_id")
|
|
155
154
|
*/
|
|
156
155
|
get(mcp_server_id, requestOptions) {
|
|
157
156
|
return core.HttpResponsePromise.fromPromise(this.__get(mcp_server_id, requestOptions));
|
|
@@ -181,6 +180,8 @@ export class McpServerClient {
|
|
|
181
180
|
throw new phenoml.tools.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
182
181
|
case 403:
|
|
183
182
|
throw new phenoml.tools.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
183
|
+
case 404:
|
|
184
|
+
throw new phenoml.tools.NotFoundError(_response.error.body, _response.rawResponse);
|
|
184
185
|
case 500:
|
|
185
186
|
throw new phenoml.tools.InternalServerError(_response.error.body, _response.rawResponse);
|
|
186
187
|
default:
|
|
@@ -198,14 +199,15 @@ export class McpServerClient {
|
|
|
198
199
|
* Deletes a MCP server by ID
|
|
199
200
|
*
|
|
200
201
|
* @param {string} mcp_server_id - ID of the MCP server to delete
|
|
201
|
-
* @param {
|
|
202
|
+
* @param {McpServersClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
202
203
|
*
|
|
203
204
|
* @throws {@link phenoml.tools.UnauthorizedError}
|
|
204
205
|
* @throws {@link phenoml.tools.ForbiddenError}
|
|
206
|
+
* @throws {@link phenoml.tools.NotFoundError}
|
|
205
207
|
* @throws {@link phenoml.tools.InternalServerError}
|
|
206
208
|
*
|
|
207
209
|
* @example
|
|
208
|
-
* await client.tools.
|
|
210
|
+
* await client.tools.mcpServers.delete("mcp_server_id")
|
|
209
211
|
*/
|
|
210
212
|
delete(mcp_server_id, requestOptions) {
|
|
211
213
|
return core.HttpResponsePromise.fromPromise(this.__delete(mcp_server_id, requestOptions));
|
|
@@ -235,6 +237,8 @@ export class McpServerClient {
|
|
|
235
237
|
throw new phenoml.tools.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
236
238
|
case 403:
|
|
237
239
|
throw new phenoml.tools.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
240
|
+
case 404:
|
|
241
|
+
throw new phenoml.tools.NotFoundError(_response.error.body, _response.rawResponse);
|
|
238
242
|
case 500:
|
|
239
243
|
throw new phenoml.tools.InternalServerError(_response.error.body, _response.rawResponse);
|
|
240
244
|
default:
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests/index.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests/index.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,58 +1,60 @@
|
|
|
1
|
-
import type { BaseClientOptions, BaseRequestOptions } from "
|
|
2
|
-
import { type NormalizedClientOptionsWithAuth } from "
|
|
3
|
-
import * as core from "
|
|
4
|
-
import * as phenoml from "
|
|
5
|
-
export declare namespace
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient.mjs";
|
|
2
|
+
import { type NormalizedClientOptionsWithAuth } from "../../../../../../BaseClient.mjs";
|
|
3
|
+
import * as core from "../../../../../../core/index.mjs";
|
|
4
|
+
import * as phenoml from "../../../../../index.mjs";
|
|
5
|
+
export declare namespace McpToolsClient {
|
|
6
6
|
type Options = BaseClientOptions;
|
|
7
7
|
interface RequestOptions extends BaseRequestOptions {
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
|
-
export declare class
|
|
11
|
-
protected readonly _options: NormalizedClientOptionsWithAuth<
|
|
12
|
-
constructor(options?:
|
|
10
|
+
export declare class McpToolsClient {
|
|
11
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<McpToolsClient.Options>;
|
|
12
|
+
constructor(options?: McpToolsClient.Options);
|
|
13
13
|
/**
|
|
14
14
|
* Lists all MCP server tools for a specific MCP server
|
|
15
15
|
*
|
|
16
16
|
* @param {string} mcp_server_id - ID of the MCP server to list tools for
|
|
17
|
-
* @param {
|
|
17
|
+
* @param {McpToolsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
18
18
|
*
|
|
19
19
|
* @throws {@link phenoml.tools.UnauthorizedError}
|
|
20
20
|
* @throws {@link phenoml.tools.ForbiddenError}
|
|
21
21
|
* @throws {@link phenoml.tools.InternalServerError}
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
|
-
* await client.tools.
|
|
24
|
+
* await client.tools.mcpTools.list("mcp_server_id")
|
|
25
25
|
*/
|
|
26
|
-
list(mcp_server_id: string, requestOptions?:
|
|
26
|
+
list(mcp_server_id: string, requestOptions?: McpToolsClient.RequestOptions): core.HttpResponsePromise<phenoml.tools.McpServerToolResponse>;
|
|
27
27
|
private __list;
|
|
28
28
|
/**
|
|
29
29
|
* Gets a MCP server tool by ID
|
|
30
30
|
*
|
|
31
31
|
* @param {string} mcp_server_tool_id - ID of the MCP server tool to retrieve
|
|
32
|
-
* @param {
|
|
32
|
+
* @param {McpToolsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
33
33
|
*
|
|
34
34
|
* @throws {@link phenoml.tools.UnauthorizedError}
|
|
35
35
|
* @throws {@link phenoml.tools.ForbiddenError}
|
|
36
|
+
* @throws {@link phenoml.tools.NotFoundError}
|
|
36
37
|
* @throws {@link phenoml.tools.InternalServerError}
|
|
37
38
|
*
|
|
38
39
|
* @example
|
|
39
|
-
* await client.tools.
|
|
40
|
+
* await client.tools.mcpTools.get("mcp_server_tool_id")
|
|
40
41
|
*/
|
|
41
|
-
get(mcp_server_tool_id: string, requestOptions?:
|
|
42
|
+
get(mcp_server_tool_id: string, requestOptions?: McpToolsClient.RequestOptions): core.HttpResponsePromise<phenoml.tools.McpServerToolResponse>;
|
|
42
43
|
private __get;
|
|
43
44
|
/**
|
|
44
45
|
* Deletes a MCP server tool by ID
|
|
45
46
|
*
|
|
46
47
|
* @param {string} mcp_server_tool_id - ID of the MCP server tool to delete
|
|
47
|
-
* @param {
|
|
48
|
+
* @param {McpToolsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
48
49
|
*
|
|
49
50
|
* @throws {@link phenoml.tools.UnauthorizedError}
|
|
50
51
|
* @throws {@link phenoml.tools.ForbiddenError}
|
|
52
|
+
* @throws {@link phenoml.tools.NotFoundError}
|
|
51
53
|
* @throws {@link phenoml.tools.InternalServerError}
|
|
52
54
|
*
|
|
53
55
|
* @example
|
|
54
|
-
* await client.tools.
|
|
56
|
+
* await client.tools.mcpTools.delete("mcp_server_tool_id")
|
|
55
57
|
*/
|
|
56
|
-
delete(mcp_server_tool_id: string, requestOptions?:
|
|
58
|
+
delete(mcp_server_tool_id: string, requestOptions?: McpToolsClient.RequestOptions): core.HttpResponsePromise<phenoml.tools.McpServerToolResponse>;
|
|
57
59
|
private __delete;
|
|
58
60
|
}
|
|
@@ -8,14 +8,14 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
|
-
import { normalizeClientOptionsWithAuth
|
|
12
|
-
import { mergeHeaders } from "
|
|
13
|
-
import * as core from "
|
|
14
|
-
import * as environments from "
|
|
15
|
-
import { handleNonStatusCodeError } from "
|
|
16
|
-
import * as errors from "
|
|
17
|
-
import * as phenoml from "
|
|
18
|
-
export class
|
|
11
|
+
import { normalizeClientOptionsWithAuth } from "../../../../../../BaseClient.mjs";
|
|
12
|
+
import { mergeHeaders } from "../../../../../../core/headers.mjs";
|
|
13
|
+
import * as core from "../../../../../../core/index.mjs";
|
|
14
|
+
import * as environments from "../../../../../../environments.mjs";
|
|
15
|
+
import { handleNonStatusCodeError } from "../../../../../../errors/handleNonStatusCodeError.mjs";
|
|
16
|
+
import * as errors from "../../../../../../errors/index.mjs";
|
|
17
|
+
import * as phenoml from "../../../../../index.mjs";
|
|
18
|
+
export class McpToolsClient {
|
|
19
19
|
constructor(options = {}) {
|
|
20
20
|
this._options = normalizeClientOptionsWithAuth(options);
|
|
21
21
|
}
|
|
@@ -23,14 +23,14 @@ export class ToolsClient {
|
|
|
23
23
|
* Lists all MCP server tools for a specific MCP server
|
|
24
24
|
*
|
|
25
25
|
* @param {string} mcp_server_id - ID of the MCP server to list tools for
|
|
26
|
-
* @param {
|
|
26
|
+
* @param {McpToolsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
27
27
|
*
|
|
28
28
|
* @throws {@link phenoml.tools.UnauthorizedError}
|
|
29
29
|
* @throws {@link phenoml.tools.ForbiddenError}
|
|
30
30
|
* @throws {@link phenoml.tools.InternalServerError}
|
|
31
31
|
*
|
|
32
32
|
* @example
|
|
33
|
-
* await client.tools.
|
|
33
|
+
* await client.tools.mcpTools.list("mcp_server_id")
|
|
34
34
|
*/
|
|
35
35
|
list(mcp_server_id, requestOptions) {
|
|
36
36
|
return core.HttpResponsePromise.fromPromise(this.__list(mcp_server_id, requestOptions));
|
|
@@ -77,14 +77,15 @@ export class ToolsClient {
|
|
|
77
77
|
* Gets a MCP server tool by ID
|
|
78
78
|
*
|
|
79
79
|
* @param {string} mcp_server_tool_id - ID of the MCP server tool to retrieve
|
|
80
|
-
* @param {
|
|
80
|
+
* @param {McpToolsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
81
81
|
*
|
|
82
82
|
* @throws {@link phenoml.tools.UnauthorizedError}
|
|
83
83
|
* @throws {@link phenoml.tools.ForbiddenError}
|
|
84
|
+
* @throws {@link phenoml.tools.NotFoundError}
|
|
84
85
|
* @throws {@link phenoml.tools.InternalServerError}
|
|
85
86
|
*
|
|
86
87
|
* @example
|
|
87
|
-
* await client.tools.
|
|
88
|
+
* await client.tools.mcpTools.get("mcp_server_tool_id")
|
|
88
89
|
*/
|
|
89
90
|
get(mcp_server_tool_id, requestOptions) {
|
|
90
91
|
return core.HttpResponsePromise.fromPromise(this.__get(mcp_server_tool_id, requestOptions));
|
|
@@ -114,6 +115,8 @@ export class ToolsClient {
|
|
|
114
115
|
throw new phenoml.tools.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
115
116
|
case 403:
|
|
116
117
|
throw new phenoml.tools.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
118
|
+
case 404:
|
|
119
|
+
throw new phenoml.tools.NotFoundError(_response.error.body, _response.rawResponse);
|
|
117
120
|
case 500:
|
|
118
121
|
throw new phenoml.tools.InternalServerError(_response.error.body, _response.rawResponse);
|
|
119
122
|
default:
|
|
@@ -131,14 +134,15 @@ export class ToolsClient {
|
|
|
131
134
|
* Deletes a MCP server tool by ID
|
|
132
135
|
*
|
|
133
136
|
* @param {string} mcp_server_tool_id - ID of the MCP server tool to delete
|
|
134
|
-
* @param {
|
|
137
|
+
* @param {McpToolsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
135
138
|
*
|
|
136
139
|
* @throws {@link phenoml.tools.UnauthorizedError}
|
|
137
140
|
* @throws {@link phenoml.tools.ForbiddenError}
|
|
141
|
+
* @throws {@link phenoml.tools.NotFoundError}
|
|
138
142
|
* @throws {@link phenoml.tools.InternalServerError}
|
|
139
143
|
*
|
|
140
144
|
* @example
|
|
141
|
-
* await client.tools.
|
|
145
|
+
* await client.tools.mcpTools.delete("mcp_server_tool_id")
|
|
142
146
|
*/
|
|
143
147
|
delete(mcp_server_tool_id, requestOptions) {
|
|
144
148
|
return core.HttpResponsePromise.fromPromise(this.__delete(mcp_server_tool_id, requestOptions));
|
|
@@ -168,6 +172,8 @@ export class ToolsClient {
|
|
|
168
172
|
throw new phenoml.tools.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
169
173
|
case 403:
|
|
170
174
|
throw new phenoml.tools.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
175
|
+
case 404:
|
|
176
|
+
throw new phenoml.tools.NotFoundError(_response.error.body, _response.rawResponse);
|
|
171
177
|
case 500:
|
|
172
178
|
throw new phenoml.tools.InternalServerError(_response.error.body, _response.rawResponse);
|
|
173
179
|
default:
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.mjs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.mjs";
|
|
@@ -13,7 +13,7 @@ export declare class WorkflowsClient {
|
|
|
13
13
|
/**
|
|
14
14
|
* Retrieves all workflow definitions for the authenticated user
|
|
15
15
|
*
|
|
16
|
-
* @param {phenoml.workflows.
|
|
16
|
+
* @param {phenoml.workflows.ListRequest} request
|
|
17
17
|
* @param {WorkflowsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
18
18
|
*
|
|
19
19
|
* @throws {@link phenoml.workflows.UnauthorizedError}
|
|
@@ -25,7 +25,7 @@ export declare class WorkflowsClient {
|
|
|
25
25
|
* verbose: true
|
|
26
26
|
* })
|
|
27
27
|
*/
|
|
28
|
-
list(request?: phenoml.workflows.
|
|
28
|
+
list(request?: phenoml.workflows.ListRequest, requestOptions?: WorkflowsClient.RequestOptions): core.HttpResponsePromise<phenoml.workflows.ListWorkflowsResponse>;
|
|
29
29
|
private __list;
|
|
30
30
|
/**
|
|
31
31
|
* Creates a new workflow definition with graph generation from workflow instructions
|
|
@@ -58,20 +58,21 @@ export declare class WorkflowsClient {
|
|
|
58
58
|
* Retrieves a workflow definition by its ID
|
|
59
59
|
*
|
|
60
60
|
* @param {string} id - ID of the workflow to retrieve
|
|
61
|
-
* @param {phenoml.workflows.
|
|
61
|
+
* @param {phenoml.workflows.GetRequest} request
|
|
62
62
|
* @param {WorkflowsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
63
63
|
*
|
|
64
64
|
* @throws {@link phenoml.workflows.UnauthorizedError}
|
|
65
65
|
* @throws {@link phenoml.workflows.ForbiddenError}
|
|
66
66
|
* @throws {@link phenoml.workflows.NotFoundError}
|
|
67
67
|
* @throws {@link phenoml.workflows.InternalServerError}
|
|
68
|
+
* @throws {@link phenoml.workflows.GatewayTimeoutError}
|
|
68
69
|
*
|
|
69
70
|
* @example
|
|
70
71
|
* await client.workflows.get("id", {
|
|
71
72
|
* verbose: true
|
|
72
73
|
* })
|
|
73
74
|
*/
|
|
74
|
-
get(id: string, request?: phenoml.workflows.
|
|
75
|
+
get(id: string, request?: phenoml.workflows.GetRequest, requestOptions?: WorkflowsClient.RequestOptions): core.HttpResponsePromise<phenoml.workflows.GetResponse>;
|
|
75
76
|
private __get;
|
|
76
77
|
/**
|
|
77
78
|
* Updates an existing workflow definition
|
|
@@ -85,6 +86,7 @@ export declare class WorkflowsClient {
|
|
|
85
86
|
* @throws {@link phenoml.workflows.ForbiddenError}
|
|
86
87
|
* @throws {@link phenoml.workflows.NotFoundError}
|
|
87
88
|
* @throws {@link phenoml.workflows.InternalServerError}
|
|
89
|
+
* @throws {@link phenoml.workflows.GatewayTimeoutError}
|
|
88
90
|
*
|
|
89
91
|
* @example
|
|
90
92
|
* await client.workflows.update("id", {
|
|
@@ -100,7 +102,7 @@ export declare class WorkflowsClient {
|
|
|
100
102
|
* fhir_provider_id: "550e8400-e29b-41d4-a716-446655440000"
|
|
101
103
|
* })
|
|
102
104
|
*/
|
|
103
|
-
update(id: string, request: phenoml.workflows.UpdateWorkflowRequest, requestOptions?: WorkflowsClient.RequestOptions): core.HttpResponsePromise<phenoml.workflows.
|
|
105
|
+
update(id: string, request: phenoml.workflows.UpdateWorkflowRequest, requestOptions?: WorkflowsClient.RequestOptions): core.HttpResponsePromise<phenoml.workflows.UpdateResponse>;
|
|
104
106
|
private __update;
|
|
105
107
|
/**
|
|
106
108
|
* Deletes a workflow definition by its ID
|
|
@@ -112,11 +114,12 @@ export declare class WorkflowsClient {
|
|
|
112
114
|
* @throws {@link phenoml.workflows.ForbiddenError}
|
|
113
115
|
* @throws {@link phenoml.workflows.NotFoundError}
|
|
114
116
|
* @throws {@link phenoml.workflows.InternalServerError}
|
|
117
|
+
* @throws {@link phenoml.workflows.GatewayTimeoutError}
|
|
115
118
|
*
|
|
116
119
|
* @example
|
|
117
120
|
* await client.workflows.delete("id")
|
|
118
121
|
*/
|
|
119
|
-
delete(id: string, requestOptions?: WorkflowsClient.RequestOptions): core.HttpResponsePromise<phenoml.workflows.
|
|
122
|
+
delete(id: string, requestOptions?: WorkflowsClient.RequestOptions): core.HttpResponsePromise<phenoml.workflows.DeleteResponse>;
|
|
120
123
|
private __delete;
|
|
121
124
|
/**
|
|
122
125
|
* Executes a workflow with provided input data and returns results
|
|
@@ -130,6 +133,7 @@ export declare class WorkflowsClient {
|
|
|
130
133
|
* @throws {@link phenoml.workflows.ForbiddenError}
|
|
131
134
|
* @throws {@link phenoml.workflows.NotFoundError}
|
|
132
135
|
* @throws {@link phenoml.workflows.InternalServerError}
|
|
136
|
+
* @throws {@link phenoml.workflows.GatewayTimeoutError}
|
|
133
137
|
*
|
|
134
138
|
* @example
|
|
135
139
|
* await client.workflows.execute("7a8b9c0d-1234-5678-abcd-ef9876543210", {
|
|
@@ -33,7 +33,7 @@ export class WorkflowsClient {
|
|
|
33
33
|
/**
|
|
34
34
|
* Retrieves all workflow definitions for the authenticated user
|
|
35
35
|
*
|
|
36
|
-
* @param {phenoml.workflows.
|
|
36
|
+
* @param {phenoml.workflows.ListRequest} request
|
|
37
37
|
* @param {WorkflowsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
38
38
|
*
|
|
39
39
|
* @throws {@link phenoml.workflows.UnauthorizedError}
|
|
@@ -183,13 +183,14 @@ export class WorkflowsClient {
|
|
|
183
183
|
* Retrieves a workflow definition by its ID
|
|
184
184
|
*
|
|
185
185
|
* @param {string} id - ID of the workflow to retrieve
|
|
186
|
-
* @param {phenoml.workflows.
|
|
186
|
+
* @param {phenoml.workflows.GetRequest} request
|
|
187
187
|
* @param {WorkflowsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
188
188
|
*
|
|
189
189
|
* @throws {@link phenoml.workflows.UnauthorizedError}
|
|
190
190
|
* @throws {@link phenoml.workflows.ForbiddenError}
|
|
191
191
|
* @throws {@link phenoml.workflows.NotFoundError}
|
|
192
192
|
* @throws {@link phenoml.workflows.InternalServerError}
|
|
193
|
+
* @throws {@link phenoml.workflows.GatewayTimeoutError}
|
|
193
194
|
*
|
|
194
195
|
* @example
|
|
195
196
|
* await client.workflows.get("id", {
|
|
@@ -224,10 +225,7 @@ export class WorkflowsClient {
|
|
|
224
225
|
logging: this._options.logging,
|
|
225
226
|
});
|
|
226
227
|
if (_response.ok) {
|
|
227
|
-
return {
|
|
228
|
-
data: _response.body,
|
|
229
|
-
rawResponse: _response.rawResponse,
|
|
230
|
-
};
|
|
228
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
231
229
|
}
|
|
232
230
|
if (_response.error.reason === "status-code") {
|
|
233
231
|
switch (_response.error.statusCode) {
|
|
@@ -239,6 +237,8 @@ export class WorkflowsClient {
|
|
|
239
237
|
throw new phenoml.workflows.NotFoundError(_response.error.body, _response.rawResponse);
|
|
240
238
|
case 500:
|
|
241
239
|
throw new phenoml.workflows.InternalServerError(_response.error.body, _response.rawResponse);
|
|
240
|
+
case 504:
|
|
241
|
+
throw new phenoml.workflows.GatewayTimeoutError(_response.error.body, _response.rawResponse);
|
|
242
242
|
default:
|
|
243
243
|
throw new errors.phenomlError({
|
|
244
244
|
statusCode: _response.error.statusCode,
|
|
@@ -262,6 +262,7 @@ export class WorkflowsClient {
|
|
|
262
262
|
* @throws {@link phenoml.workflows.ForbiddenError}
|
|
263
263
|
* @throws {@link phenoml.workflows.NotFoundError}
|
|
264
264
|
* @throws {@link phenoml.workflows.InternalServerError}
|
|
265
|
+
* @throws {@link phenoml.workflows.GatewayTimeoutError}
|
|
265
266
|
*
|
|
266
267
|
* @example
|
|
267
268
|
* await client.workflows.update("id", {
|
|
@@ -308,10 +309,7 @@ export class WorkflowsClient {
|
|
|
308
309
|
logging: this._options.logging,
|
|
309
310
|
});
|
|
310
311
|
if (_response.ok) {
|
|
311
|
-
return {
|
|
312
|
-
data: _response.body,
|
|
313
|
-
rawResponse: _response.rawResponse,
|
|
314
|
-
};
|
|
312
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
315
313
|
}
|
|
316
314
|
if (_response.error.reason === "status-code") {
|
|
317
315
|
switch (_response.error.statusCode) {
|
|
@@ -325,6 +323,8 @@ export class WorkflowsClient {
|
|
|
325
323
|
throw new phenoml.workflows.NotFoundError(_response.error.body, _response.rawResponse);
|
|
326
324
|
case 500:
|
|
327
325
|
throw new phenoml.workflows.InternalServerError(_response.error.body, _response.rawResponse);
|
|
326
|
+
case 504:
|
|
327
|
+
throw new phenoml.workflows.GatewayTimeoutError(_response.error.body, _response.rawResponse);
|
|
328
328
|
default:
|
|
329
329
|
throw new errors.phenomlError({
|
|
330
330
|
statusCode: _response.error.statusCode,
|
|
@@ -346,6 +346,7 @@ export class WorkflowsClient {
|
|
|
346
346
|
* @throws {@link phenoml.workflows.ForbiddenError}
|
|
347
347
|
* @throws {@link phenoml.workflows.NotFoundError}
|
|
348
348
|
* @throws {@link phenoml.workflows.InternalServerError}
|
|
349
|
+
* @throws {@link phenoml.workflows.GatewayTimeoutError}
|
|
349
350
|
*
|
|
350
351
|
* @example
|
|
351
352
|
* await client.workflows.delete("id")
|
|
@@ -370,10 +371,7 @@ export class WorkflowsClient {
|
|
|
370
371
|
logging: this._options.logging,
|
|
371
372
|
});
|
|
372
373
|
if (_response.ok) {
|
|
373
|
-
return {
|
|
374
|
-
data: _response.body,
|
|
375
|
-
rawResponse: _response.rawResponse,
|
|
376
|
-
};
|
|
374
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
377
375
|
}
|
|
378
376
|
if (_response.error.reason === "status-code") {
|
|
379
377
|
switch (_response.error.statusCode) {
|
|
@@ -385,6 +383,8 @@ export class WorkflowsClient {
|
|
|
385
383
|
throw new phenoml.workflows.NotFoundError(_response.error.body, _response.rawResponse);
|
|
386
384
|
case 500:
|
|
387
385
|
throw new phenoml.workflows.InternalServerError(_response.error.body, _response.rawResponse);
|
|
386
|
+
case 504:
|
|
387
|
+
throw new phenoml.workflows.GatewayTimeoutError(_response.error.body, _response.rawResponse);
|
|
388
388
|
default:
|
|
389
389
|
throw new errors.phenomlError({
|
|
390
390
|
statusCode: _response.error.statusCode,
|
|
@@ -408,6 +408,7 @@ export class WorkflowsClient {
|
|
|
408
408
|
* @throws {@link phenoml.workflows.ForbiddenError}
|
|
409
409
|
* @throws {@link phenoml.workflows.NotFoundError}
|
|
410
410
|
* @throws {@link phenoml.workflows.InternalServerError}
|
|
411
|
+
* @throws {@link phenoml.workflows.GatewayTimeoutError}
|
|
411
412
|
*
|
|
412
413
|
* @example
|
|
413
414
|
* await client.workflows.execute("7a8b9c0d-1234-5678-abcd-ef9876543210", {
|
|
@@ -469,6 +470,8 @@ export class WorkflowsClient {
|
|
|
469
470
|
throw new phenoml.workflows.NotFoundError(_response.error.body, _response.rawResponse);
|
|
470
471
|
case 500:
|
|
471
472
|
throw new phenoml.workflows.InternalServerError(_response.error.body, _response.rawResponse);
|
|
473
|
+
case 504:
|
|
474
|
+
throw new phenoml.workflows.GatewayTimeoutError(_response.error.body, _response.rawResponse);
|
|
472
475
|
default:
|
|
473
476
|
throw new errors.phenomlError({
|
|
474
477
|
statusCode: _response.error.statusCode,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type { CreateWorkflowRequest } from "./CreateWorkflowRequest.mjs";
|
|
2
2
|
export type { ExecuteWorkflowRequest } from "./ExecuteWorkflowRequest.mjs";
|
|
3
|
+
export type { GetRequest } from "./GetRequest.mjs";
|
|
4
|
+
export type { ListRequest } from "./ListRequest.mjs";
|
|
3
5
|
export type { UpdateWorkflowRequest } from "./UpdateWorkflowRequest.mjs";
|
|
4
|
-
export type { WorkflowsGetRequest } from "./WorkflowsGetRequest.mjs";
|
|
5
|
-
export type { WorkflowsListRequest } from "./WorkflowsListRequest.mjs";
|