phenoml 14.0.0 → 16.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 +5 -5
- package/dist/cjs/api/resources/agent/client/Client.js +2 -2
- package/dist/cjs/api/resources/agent/client/requests/AgentChatRequest.d.ts +1 -1
- package/dist/cjs/api/resources/agent/client/requests/AgentStreamChatRequest.d.ts +1 -1
- package/dist/cjs/api/resources/agent/client/requests/{AgentGetChatMessagesRequest.d.ts → GetChatMessagesRequest.d.ts} +3 -3
- package/dist/{esm/api/resources/agent/client/requests/AgentListRequest.d.mts → cjs/api/resources/agent/client/requests/ListRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/agent/client/requests/index.d.ts +2 -2
- package/dist/cjs/api/resources/agent/types/{AgentDeleteResponse.d.ts → DeleteResponse.d.ts} +1 -1
- package/dist/cjs/api/resources/agent/types/GetChatMessagesRequestOrder.d.ts +5 -0
- package/dist/cjs/api/resources/agent/types/{AgentGetChatMessagesRequestOrder.js → GetChatMessagesRequestOrder.js} +2 -2
- package/dist/cjs/api/resources/agent/types/GetChatMessagesRequestRole.d.ts +7 -0
- package/dist/cjs/api/resources/agent/types/{AgentGetChatMessagesRequestRole.js → GetChatMessagesRequestRole.js} +2 -2
- package/dist/cjs/api/resources/agent/types/{AgentGetChatMessagesResponse.d.ts → GetChatMessagesResponse.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 +5 -5
- package/dist/cjs/api/resources/agent/types/index.js +5 -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 +35 -35
- package/dist/cjs/api/resources/construe/client/Client.js +43 -43
- package/dist/cjs/api/resources/construe/client/requests/{DeleteConstrueCodesSystemsCodesystemRequest.d.ts → DeleteCodeSystemRequest.d.ts} +1 -1
- package/dist/{esm/api/resources/construe/client/requests/DeleteConstrueCodesSystemsCodesystemRequest.d.mts → cjs/api/resources/construe/client/requests/ExportCodeSystemRequest.d.ts} +1 -1
- package/dist/{esm/api/resources/construe/client/requests/GetConstrueCodesCodesystemCodeIdRequest.d.mts → cjs/api/resources/construe/client/requests/GetCodeRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/construe/client/requests/{GetConstrueCodesSystemsCodesystemRequest.d.ts → GetCodeSystemRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/construe/client/requests/{GetConstrueCodesCodesystemRequest.d.ts → ListCodesRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/construe/client/requests/{GetConstrueCodesCodesystemSearchSemanticRequest.d.ts → SearchSemanticRequest.d.ts} +1 -1
- package/dist/{esm/api/resources/construe/client/requests/GetConstrueCodesCodesystemSearchTextRequest.d.mts → cjs/api/resources/construe/client/requests/SearchTextRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/construe/client/requests/index.d.ts +7 -7
- package/dist/{esm/api/resources/construe/types/ConstrueUploadCodeSystemResponse.d.mts → cjs/api/resources/construe/types/UploadCodeSystemResponse.d.ts} +1 -1
- package/dist/cjs/api/resources/construe/types/index.d.ts +1 -1
- package/dist/cjs/api/resources/construe/types/index.js +1 -1
- package/dist/cjs/api/resources/fhir/client/Client.d.ts +12 -12
- package/dist/cjs/api/resources/fhir/client/Client.js +6 -6
- package/dist/cjs/api/resources/fhir/client/requests/{FhirCreateRequest.d.ts → CreateRequest.d.ts} +1 -1
- package/dist/{esm/api/resources/fhir/client/requests/FhirDeleteRequest.d.mts → cjs/api/resources/fhir/client/requests/DeleteRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/fhir/client/requests/{FhirExecuteBundleRequest.d.ts → ExecuteBundleRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/fhir/client/requests/{FhirPatchRequest.d.ts → PatchRequest.d.ts} +2 -2
- package/dist/cjs/api/resources/fhir/client/requests/{FhirSearchRequest.d.ts → SearchRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/fhir/client/requests/{FhirUpsertRequest.d.ts → UpsertRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/fhir/client/requests/index.d.ts +6 -6
- 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/SearchResponse.d.ts +2 -0
- package/dist/cjs/api/resources/fhir/types/index.d.ts +2 -2
- package/dist/cjs/api/resources/fhir/types/index.js +2 -2
- package/dist/cjs/api/resources/fhirProvider/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/fhirProvider/client/Client.js +1 -4
- 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/{FhirProviderRemoveAuthConfigResponse.d.ts → RemoveAuthConfigResponse.d.ts} +1 -1
- package/dist/cjs/api/resources/fhirProvider/types/index.d.ts +2 -2
- package/dist/cjs/api/resources/fhirProvider/types/index.js +2 -2
- package/dist/cjs/api/resources/lang2Fhir/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/lang2Fhir/client/Client.js +4 -4
- package/dist/cjs/api/resources/lang2Fhir/types/{Lang2FhirUploadProfileResponse.d.ts → 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 +101 -0
- package/dist/cjs/api/resources/summary/resources/templates/client/Client.js +366 -0
- package/dist/cjs/api/resources/summary/resources/templates/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/summary/resources/templates/exports.d.ts +2 -0
- package/dist/cjs/api/resources/{authtoken/resources/auth → summary/resources/templates}/exports.js +2 -2
- package/dist/cjs/api/resources/{authtoken/resources/auth → summary/resources/templates}/index.d.ts +1 -0
- package/dist/cjs/api/resources/{authtoken/resources/auth → summary/resources/templates}/index.js +1 -0
- package/dist/cjs/api/resources/{workflows/types/WorkflowsDeleteResponse.d.ts → summary/resources/templates/types/TemplatesDeleteResponse.d.ts} +1 -1
- package/dist/cjs/api/resources/summary/{types/SummaryGetTemplateResponse.d.ts → resources/templates/types/TemplatesGetResponse.d.ts} +2 -2
- package/dist/cjs/api/resources/summary/{types/SummaryListTemplatesResponse.d.ts → resources/templates/types/TemplatesListResponse.d.ts} +2 -2
- package/dist/cjs/api/resources/summary/{types/SummaryUpdateTemplateResponse.d.ts → resources/templates/types/TemplatesUpdateResponse.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/resources/mcpServer/resources/index.d.ts +0 -1
- package/dist/cjs/api/resources/tools/resources/mcpServer/resources/index.js +0 -4
- package/dist/cjs/api/resources/tools/resources/mcpServer/resources/tools/client/Client.d.ts +0 -21
- package/dist/cjs/api/resources/tools/resources/mcpServer/resources/tools/client/Client.js +0 -68
- package/dist/cjs/api/resources/tools/resources/mcpServer/resources/tools/client/index.d.ts +1 -1
- package/dist/cjs/api/resources/tools/resources/mcpServer/resources/tools/client/index.js +0 -15
- package/dist/cjs/api/resources/tools/types/index.d.ts +0 -1
- package/dist/cjs/api/resources/tools/types/index.js +0 -1
- package/dist/cjs/api/resources/workflows/client/Client.d.ts +7 -6
- package/dist/cjs/api/resources/workflows/client/Client.js +8 -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 +5 -5
- package/dist/esm/api/resources/agent/client/Client.mjs +2 -2
- package/dist/esm/api/resources/agent/client/requests/AgentChatRequest.d.mts +1 -1
- package/dist/esm/api/resources/agent/client/requests/AgentStreamChatRequest.d.mts +1 -1
- package/dist/esm/api/resources/agent/client/requests/{AgentGetChatMessagesRequest.d.mts → GetChatMessagesRequest.d.mts} +3 -3
- package/dist/{cjs/api/resources/agent/client/requests/AgentListRequest.d.ts → esm/api/resources/agent/client/requests/ListRequest.d.mts} +1 -1
- package/dist/esm/api/resources/agent/client/requests/index.d.mts +2 -2
- package/dist/esm/api/resources/agent/types/DeleteResponse.d.mts +4 -0
- package/dist/esm/api/resources/agent/types/GetChatMessagesRequestOrder.d.mts +5 -0
- package/dist/esm/api/resources/agent/types/{AgentGetChatMessagesRequestOrder.mjs → GetChatMessagesRequestOrder.mjs} +1 -1
- package/dist/esm/api/resources/agent/types/GetChatMessagesRequestRole.d.mts +7 -0
- package/dist/esm/api/resources/agent/types/{AgentGetChatMessagesRequestRole.mjs → GetChatMessagesRequestRole.mjs} +1 -1
- package/dist/esm/api/resources/agent/types/{AgentGetChatMessagesResponse.d.mts → GetChatMessagesResponse.d.mts} +1 -1
- 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 +5 -5
- package/dist/esm/api/resources/agent/types/index.mjs +5 -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 +35 -35
- package/dist/esm/api/resources/construe/client/Client.mjs +43 -43
- package/dist/esm/api/resources/construe/client/requests/{GetConstrueCodesSystemsCodesystemExportRequest.d.mts → DeleteCodeSystemRequest.d.mts} +1 -1
- package/dist/{cjs/api/resources/construe/client/requests/GetConstrueCodesSystemsCodesystemExportRequest.d.ts → esm/api/resources/construe/client/requests/ExportCodeSystemRequest.d.mts} +1 -1
- package/dist/{cjs/api/resources/construe/client/requests/GetConstrueCodesCodesystemCodeIdRequest.d.ts → esm/api/resources/construe/client/requests/GetCodeRequest.d.mts} +1 -1
- package/dist/esm/api/resources/construe/client/requests/{GetConstrueCodesSystemsCodesystemRequest.d.mts → GetCodeSystemRequest.d.mts} +1 -1
- package/dist/esm/api/resources/construe/client/requests/{GetConstrueCodesCodesystemRequest.d.mts → ListCodesRequest.d.mts} +1 -1
- package/dist/esm/api/resources/construe/client/requests/{GetConstrueCodesCodesystemSearchSemanticRequest.d.mts → SearchSemanticRequest.d.mts} +1 -1
- package/dist/{cjs/api/resources/construe/client/requests/GetConstrueCodesCodesystemSearchTextRequest.d.ts → esm/api/resources/construe/client/requests/SearchTextRequest.d.mts} +1 -1
- package/dist/esm/api/resources/construe/client/requests/index.d.mts +7 -7
- package/dist/{cjs/api/resources/construe/types/ConstrueUploadCodeSystemResponse.d.ts → esm/api/resources/construe/types/UploadCodeSystemResponse.d.mts} +1 -1
- package/dist/esm/api/resources/construe/types/index.d.mts +1 -1
- package/dist/esm/api/resources/construe/types/index.mjs +1 -1
- package/dist/esm/api/resources/fhir/client/Client.d.mts +12 -12
- package/dist/esm/api/resources/fhir/client/Client.mjs +6 -6
- package/dist/esm/api/resources/fhir/client/requests/{FhirCreateRequest.d.mts → CreateRequest.d.mts} +1 -1
- package/dist/{cjs/api/resources/fhir/client/requests/FhirDeleteRequest.d.ts → esm/api/resources/fhir/client/requests/DeleteRequest.d.mts} +1 -1
- package/dist/esm/api/resources/fhir/client/requests/{FhirExecuteBundleRequest.d.mts → ExecuteBundleRequest.d.mts} +1 -1
- package/dist/esm/api/resources/fhir/client/requests/{FhirPatchRequest.d.mts → PatchRequest.d.mts} +2 -2
- package/dist/esm/api/resources/fhir/client/requests/{FhirSearchRequest.d.mts → SearchRequest.d.mts} +1 -1
- package/dist/esm/api/resources/fhir/client/requests/{FhirUpsertRequest.d.mts → UpsertRequest.d.mts} +1 -1
- package/dist/esm/api/resources/fhir/client/requests/index.d.mts +6 -6
- 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/SearchResponse.d.mts +2 -0
- package/dist/esm/api/resources/fhir/types/index.d.mts +2 -2
- package/dist/esm/api/resources/fhir/types/index.mjs +2 -2
- package/dist/esm/api/resources/fhirProvider/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/fhirProvider/client/Client.mjs +1 -4
- package/dist/esm/api/resources/fhirProvider/types/DeleteResponse.d.mts +4 -0
- package/dist/esm/api/resources/fhirProvider/types/{FhirProviderRemoveAuthConfigResponse.d.mts → RemoveAuthConfigResponse.d.mts} +1 -1
- package/dist/esm/api/resources/fhirProvider/types/index.d.mts +2 -2
- package/dist/esm/api/resources/fhirProvider/types/index.mjs +2 -2
- package/dist/esm/api/resources/lang2Fhir/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/lang2Fhir/client/Client.mjs +4 -4
- package/dist/esm/api/resources/lang2Fhir/types/{Lang2FhirUploadProfileResponse.d.mts → 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 +101 -0
- package/dist/esm/api/resources/summary/resources/templates/client/Client.mjs +329 -0
- package/dist/esm/api/resources/summary/resources/templates/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/summary/resources/templates/exports.d.mts +2 -0
- package/dist/esm/api/resources/{authtoken/resources/auth → summary/resources/templates}/exports.mjs +1 -1
- package/dist/esm/api/resources/{authtoken/resources/auth → summary/resources/templates}/index.d.mts +1 -0
- package/dist/esm/api/resources/{authtoken/resources/auth → summary/resources/templates}/index.mjs +1 -0
- package/dist/esm/api/resources/summary/resources/templates/types/TemplatesDeleteResponse.d.mts +4 -0
- package/dist/esm/api/resources/summary/resources/templates/types/TemplatesGetResponse.d.mts +5 -0
- package/dist/esm/api/resources/summary/{types/SummaryListTemplatesResponse.d.mts → resources/templates/types/TemplatesListResponse.d.mts} +2 -2
- package/dist/esm/api/resources/summary/{types/SummaryUpdateTemplateResponse.d.mts → resources/templates/types/TemplatesUpdateResponse.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/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/client/Client.d.mts +0 -21
- package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/client/Client.mjs +0 -68
- package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/client/index.d.mts +1 -1
- package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/client/index.mjs +1 -1
- package/dist/esm/api/resources/tools/types/index.d.mts +0 -1
- package/dist/esm/api/resources/tools/types/index.mjs +0 -1
- package/dist/esm/api/resources/workflows/client/Client.d.mts +7 -6
- package/dist/esm/api/resources/workflows/client/Client.mjs +8 -14
- package/dist/{cjs/api/resources/workflows/client/requests/WorkflowsListRequest.d.ts → esm/api/resources/workflows/client/requests/GetRequest.d.mts} +1 -1
- package/dist/esm/api/resources/workflows/client/requests/{WorkflowsListRequest.d.mts → 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 +11397 -0
- package/package.json +14 -12
- package/reference.md +140 -214
- 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/types/FhirSearchResponse.d.ts +0 -2
- package/dist/cjs/api/resources/fhirProvider/types/FhirProviderDeleteResponse.d.ts +0 -4
- package/dist/cjs/api/resources/summary/types/SummaryDeleteTemplateResponse.d.ts +0 -4
- package/dist/cjs/api/resources/tools/resources/mcpServer/resources/tools/client/requests/McpServerToolCallRequest.d.ts +0 -12
- package/dist/cjs/api/resources/tools/resources/mcpServer/resources/tools/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/tools/types/McpServerToolCallResponse.d.ts +0 -10
- 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/types/FhirSearchResponse.d.mts +0 -2
- package/dist/esm/api/resources/fhirProvider/types/FhirProviderDeleteResponse.d.mts +0 -4
- 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/resources/mcpServer/resources/tools/client/requests/McpServerToolCallRequest.d.mts +0 -12
- package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/tools/types/McpServerToolCallResponse.d.mts +0 -10
- 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/{AgentGetChatMessagesRequest.js → GetChatMessagesRequest.js} +0 -0
- /package/dist/cjs/api/resources/agent/client/requests/{AgentListRequest.js → ListRequest.js} +0 -0
- /package/dist/cjs/api/resources/agent/types/{AgentDeleteResponse.js → DeleteResponse.js} +0 -0
- /package/dist/cjs/api/resources/agent/types/{AgentGetChatMessagesResponse.js → GetChatMessagesResponse.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/authtoken/{resources/auth/client → client}/requests/index.js +0 -0
- /package/dist/cjs/api/resources/construe/client/requests/{DeleteConstrueCodesSystemsCodesystemRequest.js → DeleteCodeSystemRequest.js} +0 -0
- /package/dist/cjs/api/resources/construe/client/requests/{GetConstrueCodesCodesystemCodeIdRequest.js → ExportCodeSystemRequest.js} +0 -0
- /package/dist/cjs/api/resources/construe/client/requests/{GetConstrueCodesCodesystemRequest.js → GetCodeRequest.js} +0 -0
- /package/dist/cjs/api/resources/construe/client/requests/{GetConstrueCodesCodesystemSearchSemanticRequest.js → GetCodeSystemRequest.js} +0 -0
- /package/dist/cjs/api/resources/construe/client/requests/{GetConstrueCodesCodesystemSearchTextRequest.js → ListCodesRequest.js} +0 -0
- /package/dist/cjs/api/resources/construe/client/requests/{GetConstrueCodesSystemsCodesystemExportRequest.js → SearchSemanticRequest.js} +0 -0
- /package/dist/cjs/api/resources/construe/client/requests/{GetConstrueCodesSystemsCodesystemRequest.js → SearchTextRequest.js} +0 -0
- /package/dist/cjs/api/resources/construe/types/{ConstrueUploadCodeSystemResponse.js → UploadCodeSystemResponse.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/fhir/types/{FhirSearchResponse.js → SearchResponse.js} +0 -0
- /package/dist/cjs/api/resources/fhirProvider/types/{FhirProviderDeleteResponse.js → DeleteResponse.js} +0 -0
- /package/dist/cjs/api/resources/fhirProvider/types/{FhirProviderRemoveAuthConfigResponse.js → RemoveAuthConfigResponse.js} +0 -0
- /package/dist/cjs/api/resources/lang2Fhir/types/{Lang2FhirUploadProfileResponse.js → UploadProfileResponse.js} +0 -0
- /package/dist/cjs/api/resources/{authtoken/resources/auth → summary/resources/templates}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{authtoken/resources/auth → summary/resources/templates}/client/index.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/{tools/resources/mcpServer/resources/tools → summary/resources/templates}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/summary/{types/SummaryDeleteTemplateResponse.js → resources/templates/types/TemplatesDeleteResponse.js} +0 -0
- /package/dist/cjs/api/resources/summary/{types/SummaryGetTemplateResponse.js → resources/templates/types/TemplatesGetResponse.js} +0 -0
- /package/dist/cjs/api/resources/summary/{types/SummaryListTemplatesResponse.js → resources/templates/types/TemplatesListResponse.js} +0 -0
- /package/dist/cjs/api/resources/summary/{types/SummaryUpdateTemplateResponse.js → resources/templates/types/TemplatesUpdateResponse.js} +0 -0
- /package/dist/cjs/api/resources/{tools/resources/mcpServer/resources/tools/client/requests/McpServerToolCallRequest.js → workflows/client/requests/GetRequest.js} +0 -0
- /package/dist/cjs/api/resources/{tools/types/McpServerToolCallResponse.js → workflows/client/requests/ListRequest.js} +0 -0
- /package/dist/cjs/api/resources/workflows/{client/requests/WorkflowsGetRequest.js → types/DeleteResponse.js} +0 -0
- /package/dist/cjs/api/resources/workflows/{client/requests/WorkflowsListRequest.js → types/GetResponse.js} +0 -0
- /package/dist/cjs/api/resources/workflows/types/{WorkflowsDeleteResponse.js → UpdateResponse.js} +0 -0
- /package/dist/esm/api/resources/agent/client/requests/{AgentGetChatMessagesRequest.mjs → GetChatMessagesRequest.mjs} +0 -0
- /package/dist/esm/api/resources/agent/client/requests/{AgentListRequest.mjs → ListRequest.mjs} +0 -0
- /package/dist/esm/api/resources/agent/types/{AgentDeleteResponse.mjs → DeleteResponse.mjs} +0 -0
- /package/dist/esm/api/resources/agent/types/{AgentGetChatMessagesResponse.mjs → GetChatMessagesResponse.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/authtoken/{resources/auth/client → client}/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/construe/client/requests/{DeleteConstrueCodesSystemsCodesystemRequest.mjs → DeleteCodeSystemRequest.mjs} +0 -0
- /package/dist/esm/api/resources/construe/client/requests/{GetConstrueCodesCodesystemCodeIdRequest.mjs → ExportCodeSystemRequest.mjs} +0 -0
- /package/dist/esm/api/resources/construe/client/requests/{GetConstrueCodesCodesystemRequest.mjs → GetCodeRequest.mjs} +0 -0
- /package/dist/esm/api/resources/construe/client/requests/{GetConstrueCodesCodesystemSearchSemanticRequest.mjs → GetCodeSystemRequest.mjs} +0 -0
- /package/dist/esm/api/resources/construe/client/requests/{GetConstrueCodesCodesystemSearchTextRequest.mjs → ListCodesRequest.mjs} +0 -0
- /package/dist/esm/api/resources/construe/client/requests/{GetConstrueCodesSystemsCodesystemExportRequest.mjs → SearchSemanticRequest.mjs} +0 -0
- /package/dist/esm/api/resources/construe/client/requests/{GetConstrueCodesSystemsCodesystemRequest.mjs → SearchTextRequest.mjs} +0 -0
- /package/dist/esm/api/resources/construe/types/{ConstrueUploadCodeSystemResponse.mjs → UploadCodeSystemResponse.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/fhir/types/{FhirSearchResponse.mjs → SearchResponse.mjs} +0 -0
- /package/dist/esm/api/resources/fhirProvider/types/{FhirProviderDeleteResponse.mjs → DeleteResponse.mjs} +0 -0
- /package/dist/esm/api/resources/fhirProvider/types/{FhirProviderRemoveAuthConfigResponse.mjs → RemoveAuthConfigResponse.mjs} +0 -0
- /package/dist/esm/api/resources/lang2Fhir/types/{Lang2FhirUploadProfileResponse.mjs → UploadProfileResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{authtoken/resources/auth → summary/resources/templates}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{authtoken/resources/auth → summary/resources/templates}/client/index.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/{tools/resources/mcpServer/resources/tools → summary/resources/templates}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/summary/{types/SummaryDeleteTemplateResponse.mjs → resources/templates/types/TemplatesDeleteResponse.mjs} +0 -0
- /package/dist/esm/api/resources/summary/{types/SummaryGetTemplateResponse.mjs → resources/templates/types/TemplatesGetResponse.mjs} +0 -0
- /package/dist/esm/api/resources/summary/{types/SummaryListTemplatesResponse.mjs → resources/templates/types/TemplatesListResponse.mjs} +0 -0
- /package/dist/esm/api/resources/summary/{types/SummaryUpdateTemplateResponse.mjs → resources/templates/types/TemplatesUpdateResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{tools/resources/mcpServer/resources/tools/client/requests/McpServerToolCallRequest.mjs → workflows/client/requests/GetRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{tools/types/McpServerToolCallResponse.mjs → workflows/client/requests/ListRequest.mjs} +0 -0
- /package/dist/esm/api/resources/workflows/{client/requests/WorkflowsGetRequest.mjs → types/DeleteResponse.mjs} +0 -0
- /package/dist/esm/api/resources/workflows/{client/requests/WorkflowsListRequest.mjs → types/GetResponse.mjs} +0 -0
- /package/dist/esm/api/resources/workflows/types/{WorkflowsDeleteResponse.mjs → UpdateResponse.mjs} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export type {
|
|
1
|
+
export type { DeleteCodeSystemRequest } from "./DeleteCodeSystemRequest.mjs";
|
|
2
|
+
export type { ExportCodeSystemRequest } from "./ExportCodeSystemRequest.mjs";
|
|
2
3
|
export type { ExtractRequest } from "./ExtractRequest.mjs";
|
|
3
4
|
export type { FeedbackRequest } from "./FeedbackRequest.mjs";
|
|
4
|
-
export type {
|
|
5
|
-
export type {
|
|
6
|
-
export type {
|
|
7
|
-
export type {
|
|
8
|
-
export type {
|
|
9
|
-
export type { GetConstrueCodesSystemsCodesystemRequest } from "./GetConstrueCodesSystemsCodesystemRequest.mjs";
|
|
5
|
+
export type { GetCodeRequest } from "./GetCodeRequest.mjs";
|
|
6
|
+
export type { GetCodeSystemRequest } from "./GetCodeSystemRequest.mjs";
|
|
7
|
+
export type { ListCodesRequest } from "./ListCodesRequest.mjs";
|
|
8
|
+
export type { SearchSemanticRequest } from "./SearchSemanticRequest.mjs";
|
|
9
|
+
export type { SearchTextRequest } from "./SearchTextRequest.mjs";
|
|
10
10
|
export { UploadRequest } from "./UploadRequest.mjs";
|
|
@@ -3,7 +3,6 @@ export * from "./CodeCategory.mjs";
|
|
|
3
3
|
export * from "./CodeResponse.mjs";
|
|
4
4
|
export * from "./CodeSystemDetails.mjs";
|
|
5
5
|
export * from "./CodeSystemInfo.mjs";
|
|
6
|
-
export * from "./ConstrueUploadCodeSystemResponse.mjs";
|
|
7
6
|
export * from "./DeleteCodeSystemResponse.mjs";
|
|
8
7
|
export * from "./ExportCodeSystemResponse.mjs";
|
|
9
8
|
export * from "./ExtractCodesResult.mjs";
|
|
@@ -19,3 +18,4 @@ export * from "./SemanticSearchResponse.mjs";
|
|
|
19
18
|
export * from "./SemanticSearchResult.mjs";
|
|
20
19
|
export * from "./TextSearchResponse.mjs";
|
|
21
20
|
export * from "./TextSearchResult.mjs";
|
|
21
|
+
export * from "./UploadCodeSystemResponse.mjs";
|
|
@@ -3,7 +3,6 @@ export * from "./CodeCategory.mjs";
|
|
|
3
3
|
export * from "./CodeResponse.mjs";
|
|
4
4
|
export * from "./CodeSystemDetails.mjs";
|
|
5
5
|
export * from "./CodeSystemInfo.mjs";
|
|
6
|
-
export * from "./ConstrueUploadCodeSystemResponse.mjs";
|
|
7
6
|
export * from "./DeleteCodeSystemResponse.mjs";
|
|
8
7
|
export * from "./ExportCodeSystemResponse.mjs";
|
|
9
8
|
export * from "./ExtractCodesResult.mjs";
|
|
@@ -19,3 +18,4 @@ export * from "./SemanticSearchResponse.mjs";
|
|
|
19
18
|
export * from "./SemanticSearchResult.mjs";
|
|
20
19
|
export * from "./TextSearchResponse.mjs";
|
|
21
20
|
export * from "./TextSearchResult.mjs";
|
|
21
|
+
export * from "./UploadCodeSystemResponse.mjs";
|
|
@@ -23,7 +23,7 @@ export declare class FhirClient {
|
|
|
23
23
|
* - "Patient" (for resource type operations)
|
|
24
24
|
* - "Patient/123" (for specific resource operations)
|
|
25
25
|
* - "Patient/123/_history" (for history operations)
|
|
26
|
-
* @param {phenoml.fhir.
|
|
26
|
+
* @param {phenoml.fhir.SearchRequest} request
|
|
27
27
|
* @param {FhirClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
28
28
|
*
|
|
29
29
|
* @throws {@link phenoml.fhir.BadRequestError}
|
|
@@ -40,7 +40,7 @@ export declare class FhirClient {
|
|
|
40
40
|
* "X-Phenoml-Fhir-Provider": "550e8400-e29b-41d4-a716-446655440000:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c..."
|
|
41
41
|
* })
|
|
42
42
|
*/
|
|
43
|
-
search(fhir_provider_id: string, fhir_path: string, request?: phenoml.fhir.
|
|
43
|
+
search(fhir_provider_id: string, fhir_path: string, request?: phenoml.fhir.SearchRequest, requestOptions?: FhirClient.RequestOptions): core.HttpResponsePromise<phenoml.fhir.SearchResponse>;
|
|
44
44
|
private __search;
|
|
45
45
|
/**
|
|
46
46
|
* Creates a new FHIR resource on the specified provider. The request body should contain a valid FHIR resource in JSON format.
|
|
@@ -55,7 +55,7 @@ export declare class FhirClient {
|
|
|
55
55
|
* - "Patient" (for resource type operations)
|
|
56
56
|
* - "Patient/123" (for specific resource operations)
|
|
57
57
|
* - "Patient/123/_history" (for history operations)
|
|
58
|
-
* @param {phenoml.fhir.
|
|
58
|
+
* @param {phenoml.fhir.CreateRequest} request
|
|
59
59
|
* @param {FhirClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
60
60
|
*
|
|
61
61
|
* @throws {@link phenoml.fhir.BadRequestError}
|
|
@@ -74,7 +74,7 @@ export declare class FhirClient {
|
|
|
74
74
|
* }
|
|
75
75
|
* })
|
|
76
76
|
*/
|
|
77
|
-
create(fhir_provider_id: string, fhir_path: string, request: phenoml.fhir.
|
|
77
|
+
create(fhir_provider_id: string, fhir_path: string, request: phenoml.fhir.CreateRequest, requestOptions?: FhirClient.RequestOptions): core.HttpResponsePromise<phenoml.fhir.FhirResource>;
|
|
78
78
|
private __create;
|
|
79
79
|
/**
|
|
80
80
|
* Creates or updates a FHIR resource on the specified provider. If the resource exists, it will be updated; otherwise, it will be created.
|
|
@@ -89,7 +89,7 @@ export declare class FhirClient {
|
|
|
89
89
|
* - "Patient" (for resource type operations)
|
|
90
90
|
* - "Patient/123" (for specific resource operations)
|
|
91
91
|
* - "Patient/123/_history" (for history operations)
|
|
92
|
-
* @param {phenoml.fhir.
|
|
92
|
+
* @param {phenoml.fhir.UpsertRequest} request
|
|
93
93
|
* @param {FhirClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
94
94
|
*
|
|
95
95
|
* @throws {@link phenoml.fhir.BadRequestError}
|
|
@@ -109,7 +109,7 @@ export declare class FhirClient {
|
|
|
109
109
|
* }
|
|
110
110
|
* })
|
|
111
111
|
*/
|
|
112
|
-
upsert(fhir_provider_id: string, fhir_path: string, request: phenoml.fhir.
|
|
112
|
+
upsert(fhir_provider_id: string, fhir_path: string, request: phenoml.fhir.UpsertRequest, requestOptions?: FhirClient.RequestOptions): core.HttpResponsePromise<phenoml.fhir.FhirResource>;
|
|
113
113
|
private __upsert;
|
|
114
114
|
/**
|
|
115
115
|
* Deletes a FHIR resource from the specified provider.
|
|
@@ -124,7 +124,7 @@ export declare class FhirClient {
|
|
|
124
124
|
* - "Patient" (for resource type operations)
|
|
125
125
|
* - "Patient/123" (for specific resource operations)
|
|
126
126
|
* - "Patient/123/_history" (for history operations)
|
|
127
|
-
* @param {phenoml.fhir.
|
|
127
|
+
* @param {phenoml.fhir.DeleteRequest} request
|
|
128
128
|
* @param {FhirClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
129
129
|
*
|
|
130
130
|
* @throws {@link phenoml.fhir.BadRequestError}
|
|
@@ -141,7 +141,7 @@ export declare class FhirClient {
|
|
|
141
141
|
* "X-Phenoml-Fhir-Provider": "550e8400-e29b-41d4-a716-446655440000:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c..."
|
|
142
142
|
* })
|
|
143
143
|
*/
|
|
144
|
-
delete(fhir_provider_id: string, fhir_path: string, request?: phenoml.fhir.
|
|
144
|
+
delete(fhir_provider_id: string, fhir_path: string, request?: phenoml.fhir.DeleteRequest, requestOptions?: FhirClient.RequestOptions): core.HttpResponsePromise<Record<string, unknown>>;
|
|
145
145
|
private __delete;
|
|
146
146
|
/**
|
|
147
147
|
* Partially updates a FHIR resource on the specified provider using JSON Patch operations as defined in RFC 6902.
|
|
@@ -161,7 +161,7 @@ export declare class FhirClient {
|
|
|
161
161
|
* - "Patient" (for resource type operations)
|
|
162
162
|
* - "Patient/123" (for specific resource operations)
|
|
163
163
|
* - "Patient/123/_history" (for history operations)
|
|
164
|
-
* @param {phenoml.fhir.
|
|
164
|
+
* @param {phenoml.fhir.PatchRequest} request
|
|
165
165
|
* @param {FhirClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
166
166
|
*
|
|
167
167
|
* @throws {@link phenoml.fhir.BadRequestError}
|
|
@@ -234,7 +234,7 @@ export declare class FhirClient {
|
|
|
234
234
|
* }]
|
|
235
235
|
* })
|
|
236
236
|
*/
|
|
237
|
-
patch(fhir_provider_id: string, fhir_path: string, request: phenoml.fhir.
|
|
237
|
+
patch(fhir_provider_id: string, fhir_path: string, request: phenoml.fhir.PatchRequest, requestOptions?: FhirClient.RequestOptions): core.HttpResponsePromise<phenoml.fhir.FhirResource>;
|
|
238
238
|
private __patch;
|
|
239
239
|
/**
|
|
240
240
|
* Executes a FHIR Bundle transaction or batch operation on the specified provider. This allows multiple FHIR resources to be processed in a single request.
|
|
@@ -246,7 +246,7 @@ export declare class FhirClient {
|
|
|
246
246
|
* @param {string} fhir_provider_id - The ID of the FHIR provider to use. Can be either:
|
|
247
247
|
* - A UUID representing the provider ID
|
|
248
248
|
* - A provider name (legacy support - will just use the most recently updated provider with this name)
|
|
249
|
-
* @param {phenoml.fhir.
|
|
249
|
+
* @param {phenoml.fhir.ExecuteBundleRequest} request
|
|
250
250
|
* @param {FhirClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
251
251
|
*
|
|
252
252
|
* @throws {@link phenoml.fhir.BadRequestError}
|
|
@@ -294,6 +294,6 @@ export declare class FhirClient {
|
|
|
294
294
|
* }
|
|
295
295
|
* })
|
|
296
296
|
*/
|
|
297
|
-
executeBundle(fhir_provider_id: string, request: phenoml.fhir.
|
|
297
|
+
executeBundle(fhir_provider_id: string, request: phenoml.fhir.ExecuteBundleRequest, requestOptions?: FhirClient.RequestOptions): core.HttpResponsePromise<phenoml.fhir.FhirBundle>;
|
|
298
298
|
private __executeBundle;
|
|
299
299
|
}
|
|
@@ -33,7 +33,7 @@ export class FhirClient {
|
|
|
33
33
|
* - "Patient" (for resource type operations)
|
|
34
34
|
* - "Patient/123" (for specific resource operations)
|
|
35
35
|
* - "Patient/123/_history" (for history operations)
|
|
36
|
-
* @param {phenoml.fhir.
|
|
36
|
+
* @param {phenoml.fhir.SearchRequest} request
|
|
37
37
|
* @param {FhirClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
38
38
|
*
|
|
39
39
|
* @throws {@link phenoml.fhir.BadRequestError}
|
|
@@ -123,7 +123,7 @@ export class FhirClient {
|
|
|
123
123
|
* - "Patient" (for resource type operations)
|
|
124
124
|
* - "Patient/123" (for specific resource operations)
|
|
125
125
|
* - "Patient/123/_history" (for history operations)
|
|
126
|
-
* @param {phenoml.fhir.
|
|
126
|
+
* @param {phenoml.fhir.CreateRequest} request
|
|
127
127
|
* @param {FhirClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
128
128
|
*
|
|
129
129
|
* @throws {@link phenoml.fhir.BadRequestError}
|
|
@@ -209,7 +209,7 @@ export class FhirClient {
|
|
|
209
209
|
* - "Patient" (for resource type operations)
|
|
210
210
|
* - "Patient/123" (for specific resource operations)
|
|
211
211
|
* - "Patient/123/_history" (for history operations)
|
|
212
|
-
* @param {phenoml.fhir.
|
|
212
|
+
* @param {phenoml.fhir.UpsertRequest} request
|
|
213
213
|
* @param {FhirClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
214
214
|
*
|
|
215
215
|
* @throws {@link phenoml.fhir.BadRequestError}
|
|
@@ -296,7 +296,7 @@ export class FhirClient {
|
|
|
296
296
|
* - "Patient" (for resource type operations)
|
|
297
297
|
* - "Patient/123" (for specific resource operations)
|
|
298
298
|
* - "Patient/123/_history" (for history operations)
|
|
299
|
-
* @param {phenoml.fhir.
|
|
299
|
+
* @param {phenoml.fhir.DeleteRequest} request
|
|
300
300
|
* @param {FhirClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
301
301
|
*
|
|
302
302
|
* @throws {@link phenoml.fhir.BadRequestError}
|
|
@@ -384,7 +384,7 @@ export class FhirClient {
|
|
|
384
384
|
* - "Patient" (for resource type operations)
|
|
385
385
|
* - "Patient/123" (for specific resource operations)
|
|
386
386
|
* - "Patient/123/_history" (for history operations)
|
|
387
|
-
* @param {phenoml.fhir.
|
|
387
|
+
* @param {phenoml.fhir.PatchRequest} request
|
|
388
388
|
* @param {FhirClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
389
389
|
*
|
|
390
390
|
* @throws {@link phenoml.fhir.BadRequestError}
|
|
@@ -523,7 +523,7 @@ export class FhirClient {
|
|
|
523
523
|
* @param {string} fhir_provider_id - The ID of the FHIR provider to use. Can be either:
|
|
524
524
|
* - A UUID representing the provider ID
|
|
525
525
|
* - A provider name (legacy support - will just use the most recently updated provider with this name)
|
|
526
|
-
* @param {phenoml.fhir.
|
|
526
|
+
* @param {phenoml.fhir.ExecuteBundleRequest} request
|
|
527
527
|
* @param {FhirClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
528
528
|
*
|
|
529
529
|
* @throws {@link phenoml.fhir.BadRequestError}
|
package/dist/esm/api/resources/fhir/client/requests/{FhirCreateRequest.d.mts → CreateRequest.d.mts}
RENAMED
|
@@ -9,7 +9,7 @@ import type * as phenoml from "../../../../index.mjs";
|
|
|
9
9
|
* }
|
|
10
10
|
* }
|
|
11
11
|
*/
|
|
12
|
-
export interface
|
|
12
|
+
export interface CreateRequest {
|
|
13
13
|
/**
|
|
14
14
|
* Optional header for on-behalf-of authentication. Used when making requests on behalf of another user or entity.
|
|
15
15
|
* Must be in the format: Patient/{uuid} or Practitioner/{uuid}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* "X-Phenoml-Fhir-Provider": "550e8400-e29b-41d4-a716-446655440000:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c..."
|
|
6
6
|
* }
|
|
7
7
|
*/
|
|
8
|
-
export interface
|
|
8
|
+
export interface DeleteRequest {
|
|
9
9
|
/**
|
|
10
10
|
* Optional header for on-behalf-of authentication. Used when making requests on behalf of another user or entity.
|
|
11
11
|
* Must be in the format: Patient/{uuid} or Practitioner/{uuid}
|
|
@@ -38,7 +38,7 @@ import type * as phenoml from "../../../../index.mjs";
|
|
|
38
38
|
* }
|
|
39
39
|
* }
|
|
40
40
|
*/
|
|
41
|
-
export interface
|
|
41
|
+
export interface ExecuteBundleRequest {
|
|
42
42
|
/**
|
|
43
43
|
* Optional header for on-behalf-of authentication. Used when making requests on behalf of another user or entity.
|
|
44
44
|
* Must be in the format: Patient/{uuid} or Practitioner/{uuid}
|
package/dist/esm/api/resources/fhir/client/requests/{FhirPatchRequest.d.mts → PatchRequest.d.mts}
RENAMED
|
@@ -62,7 +62,7 @@ import type * as phenoml from "../../../../index.mjs";
|
|
|
62
62
|
* }]
|
|
63
63
|
* }
|
|
64
64
|
*/
|
|
65
|
-
export interface
|
|
65
|
+
export interface PatchRequest {
|
|
66
66
|
/**
|
|
67
67
|
* Optional header for on-behalf-of authentication. Used when making requests on behalf of another user or entity.
|
|
68
68
|
* Must be in the format: Patient/{uuid} or Practitioner/{uuid}
|
|
@@ -74,5 +74,5 @@ export interface FhirPatchRequest {
|
|
|
74
74
|
*/
|
|
75
75
|
"X-Phenoml-Fhir-Provider"?: string;
|
|
76
76
|
/** Array of JSON Patch operations following RFC 6902 */
|
|
77
|
-
body: phenoml.fhir.
|
|
77
|
+
body: phenoml.fhir.PatchRequestBodyItem[];
|
|
78
78
|
}
|
package/dist/esm/api/resources/fhir/client/requests/{FhirSearchRequest.d.mts → SearchRequest.d.mts}
RENAMED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* "X-Phenoml-Fhir-Provider": "550e8400-e29b-41d4-a716-446655440000:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c..."
|
|
6
6
|
* }
|
|
7
7
|
*/
|
|
8
|
-
export interface
|
|
8
|
+
export interface SearchRequest {
|
|
9
9
|
/**
|
|
10
10
|
* FHIR-compliant query parameters for search operations. Supports standard FHIR search parameters including:
|
|
11
11
|
* - Resource-specific search parameters (e.g., name for Patient, status for Observation)
|
package/dist/esm/api/resources/fhir/client/requests/{FhirUpsertRequest.d.mts → UpsertRequest.d.mts}
RENAMED
|
@@ -10,7 +10,7 @@ import type * as phenoml from "../../../../index.mjs";
|
|
|
10
10
|
* }
|
|
11
11
|
* }
|
|
12
12
|
*/
|
|
13
|
-
export interface
|
|
13
|
+
export interface UpsertRequest {
|
|
14
14
|
/**
|
|
15
15
|
* Optional header for on-behalf-of authentication. Used when making requests on behalf of another user or entity.
|
|
16
16
|
* Must be in the format: Patient/{uuid} or Practitioner/{uuid}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export type {
|
|
2
|
-
export type {
|
|
3
|
-
export type {
|
|
4
|
-
export type {
|
|
5
|
-
export type {
|
|
6
|
-
export type {
|
|
1
|
+
export type { CreateRequest } from "./CreateRequest.mjs";
|
|
2
|
+
export type { DeleteRequest } from "./DeleteRequest.mjs";
|
|
3
|
+
export type { ExecuteBundleRequest } from "./ExecuteBundleRequest.mjs";
|
|
4
|
+
export type { PatchRequest } from "./PatchRequest.mjs";
|
|
5
|
+
export type { SearchRequest } from "./SearchRequest.mjs";
|
|
6
|
+
export type { UpsertRequest } from "./UpsertRequest.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export interface
|
|
1
|
+
export interface PatchRequestBodyItem {
|
|
2
2
|
/** The operation to perform */
|
|
3
|
-
op:
|
|
3
|
+
op: PatchRequestBodyItem.Op;
|
|
4
4
|
/** JSON Pointer to the target location */
|
|
5
5
|
path: string;
|
|
6
6
|
/** The value to use (required for add, replace, test operations) */
|
|
@@ -8,7 +8,7 @@ export interface FhirPatchRequestBodyItem {
|
|
|
8
8
|
/** Source location for move and copy operations (JSON Pointer) */
|
|
9
9
|
from?: string | undefined;
|
|
10
10
|
}
|
|
11
|
-
export declare namespace
|
|
11
|
+
export declare namespace PatchRequestBodyItem {
|
|
12
12
|
/** The operation to perform */
|
|
13
13
|
const Op: {
|
|
14
14
|
readonly Add: "add";
|
package/dist/esm/api/resources/fhir/types/{FhirPatchRequestBodyItem.mjs → PatchRequestBodyItem.mjs}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
export var
|
|
3
|
-
(function (
|
|
2
|
+
export var PatchRequestBodyItem;
|
|
3
|
+
(function (PatchRequestBodyItem) {
|
|
4
4
|
/** The operation to perform */
|
|
5
|
-
|
|
5
|
+
PatchRequestBodyItem.Op = {
|
|
6
6
|
Add: "add",
|
|
7
7
|
Remove: "remove",
|
|
8
8
|
Replace: "replace",
|
|
@@ -10,4 +10,4 @@ export var FhirPatchRequestBodyItem;
|
|
|
10
10
|
Copy: "copy",
|
|
11
11
|
Test: "test",
|
|
12
12
|
};
|
|
13
|
-
})(
|
|
13
|
+
})(PatchRequestBodyItem || (PatchRequestBodyItem = {}));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from "./ErrorResponse.mjs";
|
|
2
2
|
export * from "./FhirBundle.mjs";
|
|
3
|
-
export * from "./FhirPatchRequestBodyItem.mjs";
|
|
4
3
|
export * from "./FhirResource.mjs";
|
|
5
|
-
export * from "./
|
|
4
|
+
export * from "./PatchRequestBodyItem.mjs";
|
|
5
|
+
export * from "./SearchResponse.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from "./ErrorResponse.mjs";
|
|
2
2
|
export * from "./FhirBundle.mjs";
|
|
3
|
-
export * from "./FhirPatchRequestBodyItem.mjs";
|
|
4
3
|
export * from "./FhirResource.mjs";
|
|
5
|
-
export * from "./
|
|
4
|
+
export * from "./PatchRequestBodyItem.mjs";
|
|
5
|
+
export * from "./SearchResponse.mjs";
|
|
@@ -88,7 +88,7 @@ export declare class FhirProviderClient {
|
|
|
88
88
|
* @example
|
|
89
89
|
* await client.fhirProvider.delete("fhir_provider_id")
|
|
90
90
|
*/
|
|
91
|
-
delete(fhir_provider_id: string, requestOptions?: FhirProviderClient.RequestOptions): core.HttpResponsePromise<phenoml.fhirProvider.
|
|
91
|
+
delete(fhir_provider_id: string, requestOptions?: FhirProviderClient.RequestOptions): core.HttpResponsePromise<phenoml.fhirProvider.DeleteResponse>;
|
|
92
92
|
private __delete;
|
|
93
93
|
/**
|
|
94
94
|
* Adds a new authentication configuration to an existing FHIR provider.
|
|
@@ -162,6 +162,6 @@ export declare class FhirProviderClient {
|
|
|
162
162
|
* auth_config_id: "auth-config-456"
|
|
163
163
|
* })
|
|
164
164
|
*/
|
|
165
|
-
removeAuthConfig(fhir_provider_id: string, request: phenoml.fhirProvider.FhirProviderRemoveAuthConfigRequest, requestOptions?: FhirProviderClient.RequestOptions): core.HttpResponsePromise<phenoml.fhirProvider.
|
|
165
|
+
removeAuthConfig(fhir_provider_id: string, request: phenoml.fhirProvider.FhirProviderRemoveAuthConfigRequest, requestOptions?: FhirProviderClient.RequestOptions): core.HttpResponsePromise<phenoml.fhirProvider.RemoveAuthConfigResponse>;
|
|
166
166
|
private __removeAuthConfig;
|
|
167
167
|
}
|
|
@@ -246,10 +246,7 @@ export class FhirProviderClient {
|
|
|
246
246
|
logging: this._options.logging,
|
|
247
247
|
});
|
|
248
248
|
if (_response.ok) {
|
|
249
|
-
return {
|
|
250
|
-
data: _response.body,
|
|
251
|
-
rawResponse: _response.rawResponse,
|
|
252
|
-
};
|
|
249
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
253
250
|
}
|
|
254
251
|
if (_response.error.reason === "status-code") {
|
|
255
252
|
switch (_response.error.statusCode) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type * as phenoml from "../../../index.mjs";
|
|
2
|
-
export interface
|
|
2
|
+
export interface RemoveAuthConfigResponse {
|
|
3
3
|
success?: boolean | undefined;
|
|
4
4
|
message?: string | undefined;
|
|
5
5
|
data?: phenoml.fhirProvider.FhirProviderTemplate | undefined;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
export * from "./AuthMethod.mjs";
|
|
2
2
|
export * from "./ClientSecretAuth.mjs";
|
|
3
|
+
export * from "./DeleteResponse.mjs";
|
|
3
4
|
export * from "./FhirProviderAddAuthConfigRequest.mjs";
|
|
4
5
|
export * from "./FhirProviderAuthConfig.mjs";
|
|
5
6
|
export * from "./FhirProviderCreateRequestAuth.mjs";
|
|
6
|
-
export * from "./FhirProviderDeleteResponse.mjs";
|
|
7
7
|
export * from "./FhirProviderListResponse.mjs";
|
|
8
|
-
export * from "./FhirProviderRemoveAuthConfigResponse.mjs";
|
|
9
8
|
export * from "./FhirProviderResponse.mjs";
|
|
10
9
|
export * from "./FhirProviderSandboxInfo.mjs";
|
|
11
10
|
export * from "./FhirProviderTemplate.mjs";
|
|
@@ -16,6 +15,7 @@ export * from "./JwtAuth.mjs";
|
|
|
16
15
|
export * from "./NoAuth.mjs";
|
|
17
16
|
export * from "./OnBehalfOfAuth.mjs";
|
|
18
17
|
export * from "./Provider.mjs";
|
|
18
|
+
export * from "./RemoveAuthConfigResponse.mjs";
|
|
19
19
|
export * from "./Role.mjs";
|
|
20
20
|
export * from "./ServiceAccountKey.mjs";
|
|
21
21
|
export * from "./ServiceAccountMetadata.mjs";
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
export * from "./AuthMethod.mjs";
|
|
2
2
|
export * from "./ClientSecretAuth.mjs";
|
|
3
|
+
export * from "./DeleteResponse.mjs";
|
|
3
4
|
export * from "./FhirProviderAddAuthConfigRequest.mjs";
|
|
4
5
|
export * from "./FhirProviderAuthConfig.mjs";
|
|
5
6
|
export * from "./FhirProviderCreateRequestAuth.mjs";
|
|
6
|
-
export * from "./FhirProviderDeleteResponse.mjs";
|
|
7
7
|
export * from "./FhirProviderListResponse.mjs";
|
|
8
|
-
export * from "./FhirProviderRemoveAuthConfigResponse.mjs";
|
|
9
8
|
export * from "./FhirProviderResponse.mjs";
|
|
10
9
|
export * from "./FhirProviderSandboxInfo.mjs";
|
|
11
10
|
export * from "./FhirProviderTemplate.mjs";
|
|
@@ -16,6 +15,7 @@ export * from "./JwtAuth.mjs";
|
|
|
16
15
|
export * from "./NoAuth.mjs";
|
|
17
16
|
export * from "./OnBehalfOfAuth.mjs";
|
|
18
17
|
export * from "./Provider.mjs";
|
|
18
|
+
export * from "./RemoveAuthConfigResponse.mjs";
|
|
19
19
|
export * from "./Role.mjs";
|
|
20
20
|
export * from "./ServiceAccountKey.mjs";
|
|
21
21
|
export * from "./ServiceAccountMetadata.mjs";
|
|
@@ -112,7 +112,7 @@ export declare class Lang2FhirClient {
|
|
|
112
112
|
* profile_context: "When clinical text describes cardiology-specific findings, prefer this profile over the generic US Core Condition."
|
|
113
113
|
* })
|
|
114
114
|
*/
|
|
115
|
-
uploadProfile(request: phenoml.lang2Fhir.ProfileUploadRequest, requestOptions?: Lang2FhirClient.RequestOptions): core.HttpResponsePromise<phenoml.lang2Fhir.
|
|
115
|
+
uploadProfile(request: phenoml.lang2Fhir.ProfileUploadRequest, requestOptions?: Lang2FhirClient.RequestOptions): core.HttpResponsePromise<phenoml.lang2Fhir.UploadProfileResponse>;
|
|
116
116
|
private __uploadProfile;
|
|
117
117
|
/**
|
|
118
118
|
* Extracts text from a document (PDF or image) and converts it into a structured FHIR resource.
|
|
@@ -152,12 +152,12 @@ export declare class Lang2FhirClient {
|
|
|
152
152
|
* @throws {@link phenoml.lang2Fhir.InternalServerError}
|
|
153
153
|
*
|
|
154
154
|
* @example
|
|
155
|
-
* await client.lang2Fhir.
|
|
155
|
+
* await client.lang2Fhir.documentMulti({
|
|
156
156
|
* version: "R4",
|
|
157
157
|
* content: "JVBERi0xLjQKJeLjz9MK...(base64-encoded PDF or image bytes)",
|
|
158
158
|
* provider: "medplum"
|
|
159
159
|
* })
|
|
160
160
|
*/
|
|
161
|
-
|
|
162
|
-
private
|
|
161
|
+
documentMulti(request: phenoml.lang2Fhir.DocumentMultiRequest, requestOptions?: Lang2FhirClient.RequestOptions): core.HttpResponsePromise<phenoml.lang2Fhir.DocumentMultiResponse>;
|
|
162
|
+
private __documentMulti;
|
|
163
163
|
}
|
|
@@ -381,16 +381,16 @@ export class Lang2FhirClient {
|
|
|
381
381
|
* @throws {@link phenoml.lang2Fhir.InternalServerError}
|
|
382
382
|
*
|
|
383
383
|
* @example
|
|
384
|
-
* await client.lang2Fhir.
|
|
384
|
+
* await client.lang2Fhir.documentMulti({
|
|
385
385
|
* version: "R4",
|
|
386
386
|
* content: "JVBERi0xLjQKJeLjz9MK...(base64-encoded PDF or image bytes)",
|
|
387
387
|
* provider: "medplum"
|
|
388
388
|
* })
|
|
389
389
|
*/
|
|
390
|
-
|
|
391
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
390
|
+
documentMulti(request, requestOptions) {
|
|
391
|
+
return core.HttpResponsePromise.fromPromise(this.__documentMulti(request, requestOptions));
|
|
392
392
|
}
|
|
393
|
-
|
|
393
|
+
__documentMulti(request, requestOptions) {
|
|
394
394
|
return __awaiter(this, void 0, void 0, function* () {
|
|
395
395
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
396
396
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface
|
|
1
|
+
export interface UploadProfileResponse {
|
|
2
2
|
message?: string | undefined;
|
|
3
3
|
/** The lowercase StructureDefinition id, used as the profile's unique identifier and lookup key. Pass this value as the `resource` parameter to `/lang2fhir/create` or `/lang2fhir/profile/json/:version/:resource` to use this profile. */
|
|
4
4
|
id?: string | undefined;
|
|
@@ -2,7 +2,7 @@ export * from "./CreateMultiResponse.mjs";
|
|
|
2
2
|
export * from "./DocumentConfig.mjs";
|
|
3
3
|
export * from "./DocumentMultiResponse.mjs";
|
|
4
4
|
export * from "./FhirResource.mjs";
|
|
5
|
-
export * from "./Lang2FhirUploadProfileResponse.mjs";
|
|
6
5
|
export * from "./PageClassification.mjs";
|
|
7
6
|
export * from "./PageFilter.mjs";
|
|
8
7
|
export * from "./SearchResponse.mjs";
|
|
8
|
+
export * from "./UploadProfileResponse.mjs";
|
|
@@ -2,7 +2,7 @@ export * from "./CreateMultiResponse.mjs";
|
|
|
2
2
|
export * from "./DocumentConfig.mjs";
|
|
3
3
|
export * from "./DocumentMultiResponse.mjs";
|
|
4
4
|
export * from "./FhirResource.mjs";
|
|
5
|
-
export * from "./Lang2FhirUploadProfileResponse.mjs";
|
|
6
5
|
export * from "./PageClassification.mjs";
|
|
7
6
|
export * from "./PageFilter.mjs";
|
|
8
7
|
export * from "./SearchResponse.mjs";
|
|
8
|
+
export * from "./UploadProfileResponse.mjs";
|
|
@@ -2,6 +2,7 @@ import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClie
|
|
|
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
|
+
import { TemplatesClient } from "../resources/templates/client/Client.mjs";
|
|
5
6
|
export declare namespace SummaryClient {
|
|
6
7
|
type Options = BaseClientOptions;
|
|
7
8
|
interface RequestOptions extends BaseRequestOptions {
|
|
@@ -9,95 +10,9 @@ export declare namespace SummaryClient {
|
|
|
9
10
|
}
|
|
10
11
|
export declare class SummaryClient {
|
|
11
12
|
protected readonly _options: NormalizedClientOptionsWithAuth<SummaryClient.Options>;
|
|
13
|
+
protected _templates: TemplatesClient | undefined;
|
|
12
14
|
constructor(options?: SummaryClient.Options);
|
|
13
|
-
|
|
14
|
-
* Retrieves all summary templates for the authenticated user
|
|
15
|
-
*
|
|
16
|
-
* @param {SummaryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
17
|
-
*
|
|
18
|
-
* @throws {@link phenoml.summary.UnauthorizedError}
|
|
19
|
-
* @throws {@link phenoml.summary.InternalServerError}
|
|
20
|
-
*
|
|
21
|
-
* @example
|
|
22
|
-
* await client.summary.listTemplates()
|
|
23
|
-
*/
|
|
24
|
-
listTemplates(requestOptions?: SummaryClient.RequestOptions): core.HttpResponsePromise<phenoml.summary.SummaryListTemplatesResponse>;
|
|
25
|
-
private __listTemplates;
|
|
26
|
-
/**
|
|
27
|
-
* Creates a summary template from an example using LLM function calling
|
|
28
|
-
*
|
|
29
|
-
* @param {phenoml.summary.CreateSummaryTemplateRequest} request
|
|
30
|
-
* @param {SummaryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
31
|
-
*
|
|
32
|
-
* @throws {@link phenoml.summary.BadRequestError}
|
|
33
|
-
* @throws {@link phenoml.summary.UnauthorizedError}
|
|
34
|
-
* @throws {@link phenoml.summary.InternalServerError}
|
|
35
|
-
*
|
|
36
|
-
* @example
|
|
37
|
-
* await client.summary.createTemplate({
|
|
38
|
-
* name: "Discharge Summary",
|
|
39
|
-
* example_summary: "Patient John Doe, age 45, was admitted on 2024-01-10 with Type 2 Diabetes. Discharged on 2024-01-15 with Metformin 500mg BID.",
|
|
40
|
-
* target_resources: ["Patient", "Condition", "MedicationRequest"],
|
|
41
|
-
* mode: "narrative"
|
|
42
|
-
* })
|
|
43
|
-
*/
|
|
44
|
-
createTemplate(request: phenoml.summary.CreateSummaryTemplateRequest, requestOptions?: SummaryClient.RequestOptions): core.HttpResponsePromise<phenoml.summary.CreateSummaryTemplateResponse>;
|
|
45
|
-
private __createTemplate;
|
|
46
|
-
/**
|
|
47
|
-
* Retrieves a specific summary template
|
|
48
|
-
*
|
|
49
|
-
* @param {string} id - Template ID
|
|
50
|
-
* @param {SummaryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
51
|
-
*
|
|
52
|
-
* @throws {@link phenoml.summary.UnauthorizedError}
|
|
53
|
-
* @throws {@link phenoml.summary.ForbiddenError}
|
|
54
|
-
* @throws {@link phenoml.summary.NotFoundError}
|
|
55
|
-
* @throws {@link phenoml.summary.InternalServerError}
|
|
56
|
-
*
|
|
57
|
-
* @example
|
|
58
|
-
* await client.summary.getTemplate("id")
|
|
59
|
-
*/
|
|
60
|
-
getTemplate(id: string, requestOptions?: SummaryClient.RequestOptions): core.HttpResponsePromise<phenoml.summary.SummaryGetTemplateResponse>;
|
|
61
|
-
private __getTemplate;
|
|
62
|
-
/**
|
|
63
|
-
* Updates an existing summary template
|
|
64
|
-
*
|
|
65
|
-
* @param {string} id - Template ID
|
|
66
|
-
* @param {phenoml.summary.UpdateSummaryTemplateRequest} request
|
|
67
|
-
* @param {SummaryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
68
|
-
*
|
|
69
|
-
* @throws {@link phenoml.summary.BadRequestError}
|
|
70
|
-
* @throws {@link phenoml.summary.UnauthorizedError}
|
|
71
|
-
* @throws {@link phenoml.summary.ForbiddenError}
|
|
72
|
-
* @throws {@link phenoml.summary.NotFoundError}
|
|
73
|
-
* @throws {@link phenoml.summary.InternalServerError}
|
|
74
|
-
*
|
|
75
|
-
* @example
|
|
76
|
-
* await client.summary.updateTemplate("id", {
|
|
77
|
-
* name: "Discharge Summary",
|
|
78
|
-
* template: "Patient {{Patient.name[0].text}} was discharged on {{Encounter[0].period.end}} with {{MedicationRequest[0].medicationCodeableConcept.coding[0].display}} {{MedicationRequest[0].dosageInstruction[0].text}}.",
|
|
79
|
-
* target_resources: ["Patient", "Encounter", "MedicationRequest"],
|
|
80
|
-
* mode: "narrative"
|
|
81
|
-
* })
|
|
82
|
-
*/
|
|
83
|
-
updateTemplate(id: string, request: phenoml.summary.UpdateSummaryTemplateRequest, requestOptions?: SummaryClient.RequestOptions): core.HttpResponsePromise<phenoml.summary.SummaryUpdateTemplateResponse>;
|
|
84
|
-
private __updateTemplate;
|
|
85
|
-
/**
|
|
86
|
-
* Deletes a summary template
|
|
87
|
-
*
|
|
88
|
-
* @param {string} id - Template ID
|
|
89
|
-
* @param {SummaryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
90
|
-
*
|
|
91
|
-
* @throws {@link phenoml.summary.UnauthorizedError}
|
|
92
|
-
* @throws {@link phenoml.summary.ForbiddenError}
|
|
93
|
-
* @throws {@link phenoml.summary.NotFoundError}
|
|
94
|
-
* @throws {@link phenoml.summary.InternalServerError}
|
|
95
|
-
*
|
|
96
|
-
* @example
|
|
97
|
-
* await client.summary.deleteTemplate("id")
|
|
98
|
-
*/
|
|
99
|
-
deleteTemplate(id: string, requestOptions?: SummaryClient.RequestOptions): core.HttpResponsePromise<phenoml.summary.SummaryDeleteTemplateResponse>;
|
|
100
|
-
private __deleteTemplate;
|
|
15
|
+
get templates(): TemplatesClient;
|
|
101
16
|
/**
|
|
102
17
|
* Creates a summary from FHIR resources using one of three modes:
|
|
103
18
|
* - **narrative**: Uses a template to substitute FHIR data into placeholders (requires template_id)
|