phenoml 17.5.0 → 17.8.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.d.ts +12 -0
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/Client.d.ts +9 -0
- package/dist/cjs/Client.js +23 -8
- package/dist/cjs/api/resources/agent/client/Client.js +4 -3
- package/dist/cjs/api/resources/agent/errors/BadRequestError.js +1 -1
- package/dist/cjs/api/resources/agent/errors/ConflictError.d.ts +5 -0
- package/dist/cjs/api/resources/agent/errors/ConflictError.js +54 -0
- package/dist/cjs/api/resources/agent/errors/ForbiddenError.js +1 -1
- package/dist/cjs/api/resources/agent/errors/GatewayTimeoutError.js +1 -1
- package/dist/cjs/api/resources/agent/errors/InternalServerError.js +1 -1
- package/dist/cjs/api/resources/agent/errors/NotFoundError.js +1 -1
- package/dist/cjs/api/resources/agent/errors/UnauthorizedError.js +1 -1
- 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 +1 -0
- package/dist/cjs/api/resources/agent/resources/chat/client/Client.js +8 -2
- package/dist/cjs/api/resources/agent/resources/chat/client/requests/AgentChatRequest.d.ts +1 -1
- package/dist/cjs/api/resources/agent/resources/chat/client/requests/AgentStreamChatRequest.d.ts +1 -1
- package/dist/cjs/api/resources/agent/resources/prompts/client/Client.js +4 -3
- package/dist/cjs/api/resources/authtoken/client/Client.js +2 -1
- package/dist/cjs/api/resources/authtoken/errors/BadRequestError.js +1 -1
- package/dist/cjs/api/resources/authtoken/errors/InternalServerError.js +1 -1
- package/dist/cjs/api/resources/authtoken/errors/UnauthorizedError.js +1 -1
- package/dist/cjs/api/resources/cohort/client/Client.js +2 -1
- package/dist/cjs/api/resources/cohort/errors/BadRequestError.js +1 -1
- package/dist/cjs/api/resources/cohort/errors/InternalServerError.js +1 -1
- package/dist/cjs/api/resources/cohort/errors/UnauthorizedError.js +1 -1
- package/dist/cjs/api/resources/construe/client/Client.js +2 -1
- package/dist/cjs/api/resources/construe/errors/BadRequestError.js +1 -1
- package/dist/cjs/api/resources/construe/errors/ConflictError.js +1 -1
- package/dist/cjs/api/resources/construe/errors/FailedDependencyError.js +1 -1
- package/dist/cjs/api/resources/construe/errors/ForbiddenError.js +1 -1
- package/dist/cjs/api/resources/construe/errors/GatewayTimeoutError.js +1 -1
- package/dist/cjs/api/resources/construe/errors/InternalServerError.js +1 -1
- package/dist/cjs/api/resources/construe/errors/NotFoundError.js +1 -1
- package/dist/cjs/api/resources/construe/errors/NotImplementedError.js +1 -1
- package/dist/cjs/api/resources/construe/errors/ServiceUnavailableError.js +1 -1
- package/dist/cjs/api/resources/construe/errors/UnauthorizedError.js +1 -1
- package/dist/cjs/api/resources/construe/resources/codeSystems/client/Client.js +2 -1
- package/dist/cjs/api/resources/construe/resources/codeSystems/client/requests/DeleteRequest.d.ts +1 -1
- package/dist/cjs/api/resources/construe/resources/codeSystems/client/requests/ExportRequest.d.ts +1 -1
- package/dist/cjs/api/resources/construe/resources/codeSystems/client/requests/FindRequest.d.ts +1 -1
- package/dist/cjs/api/resources/construe/resources/codes/client/Client.d.ts +15 -0
- package/dist/cjs/api/resources/construe/resources/codes/client/Client.js +17 -1
- package/dist/cjs/api/resources/construe/resources/codes/client/requests/CodesListRequest.d.ts +1 -1
- package/dist/cjs/api/resources/construe/resources/codes/client/requests/ExtractRequest.d.ts +12 -0
- package/dist/cjs/api/resources/construe/resources/codes/client/requests/LookupRequest.d.ts +1 -1
- package/dist/cjs/api/resources/construe/resources/codes/client/requests/SearchSemanticRequest.d.ts +1 -1
- package/dist/cjs/api/resources/construe/resources/codes/client/requests/SearchTextRequest.d.ts +1 -1
- package/dist/cjs/api/resources/construe/types/ExtractRequestSystem.d.ts +11 -8
- package/dist/cjs/api/resources/fhir/client/Client.js +5 -4
- package/dist/cjs/api/resources/fhir2Omop/client/Client.d.ts +26 -0
- package/dist/cjs/api/resources/fhir2Omop/client/Client.js +28 -1
- package/dist/cjs/api/resources/fhir2Omop/client/requests/CreateOmopRequest.d.ts +6 -3
- package/dist/cjs/api/resources/fhir2Omop/errors/BadRequestError.js +1 -1
- package/dist/cjs/api/resources/fhir2Omop/errors/InternalServerError.js +1 -1
- package/dist/cjs/api/resources/fhir2Omop/errors/ServiceUnavailableError.js +1 -1
- package/dist/cjs/api/resources/fhir2Omop/errors/UnauthorizedError.js +1 -1
- package/dist/cjs/api/resources/fhir2Omop/types/CareSiteRow.d.ts +8 -0
- package/dist/cjs/api/resources/fhir2Omop/types/ConditionOccurrenceRow.d.ts +1 -0
- package/dist/cjs/api/resources/fhir2Omop/types/CreateOmopResponse.d.ts +6 -1
- package/dist/cjs/api/resources/fhir2Omop/types/DeathRow.d.ts +9 -0
- package/dist/cjs/api/resources/fhir2Omop/types/DeathRow.js +3 -0
- package/dist/cjs/api/resources/fhir2Omop/types/DrugExposureRow.d.ts +1 -0
- package/dist/cjs/api/resources/fhir2Omop/types/LocationRow.d.ts +14 -0
- package/dist/cjs/api/resources/fhir2Omop/types/LocationRow.js +3 -0
- package/dist/cjs/api/resources/fhir2Omop/types/MeasurementRow.d.ts +1 -0
- package/dist/cjs/api/resources/fhir2Omop/types/ObservationPeriodRow.d.ts +7 -0
- package/dist/cjs/api/resources/fhir2Omop/types/ObservationPeriodRow.js +3 -0
- package/dist/cjs/api/resources/fhir2Omop/types/ObservationRow.d.ts +1 -0
- package/dist/cjs/api/resources/fhir2Omop/types/OmopTables.d.ts +5 -0
- package/dist/cjs/api/resources/fhir2Omop/types/PersonRow.d.ts +1 -0
- package/dist/cjs/api/resources/fhir2Omop/types/ProcedureOccurrenceRow.d.ts +1 -0
- package/dist/cjs/api/resources/fhir2Omop/types/ProviderRow.d.ts +15 -0
- package/dist/cjs/api/resources/fhir2Omop/types/ProviderRow.js +3 -0
- package/dist/cjs/api/resources/fhir2Omop/types/VisitOccurrenceRow.d.ts +2 -0
- package/dist/cjs/api/resources/fhir2Omop/types/index.d.ts +5 -0
- package/dist/cjs/api/resources/fhir2Omop/types/index.js +5 -0
- package/dist/cjs/api/resources/fhirProvider/client/Client.js +2 -1
- package/dist/cjs/api/resources/fhirProvider/errors/BadRequestError.js +1 -1
- package/dist/cjs/api/resources/fhirProvider/errors/ForbiddenError.js +1 -1
- package/dist/cjs/api/resources/fhirProvider/errors/InternalServerError.js +1 -1
- package/dist/cjs/api/resources/fhirProvider/errors/NotFoundError.js +1 -1
- package/dist/cjs/api/resources/fhirProvider/errors/UnauthorizedError.js +1 -1
- package/dist/cjs/api/resources/fhirProvider/resources/authConfig/client/Client.js +4 -3
- package/dist/cjs/api/resources/implementationGuides/client/Client.d.ts +12 -0
- package/dist/cjs/api/resources/implementationGuides/client/Client.js +16 -0
- package/dist/cjs/api/resources/implementationGuides/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/implementationGuides/client/index.js +2 -0
- package/dist/cjs/api/resources/implementationGuides/errors/BadRequestError.d.ts +5 -0
- package/dist/cjs/api/resources/implementationGuides/errors/BadRequestError.js +54 -0
- package/dist/cjs/api/resources/implementationGuides/errors/ForbiddenError.d.ts +5 -0
- package/dist/cjs/api/resources/implementationGuides/errors/ForbiddenError.js +54 -0
- package/dist/cjs/api/resources/implementationGuides/errors/InternalServerError.d.ts +5 -0
- package/dist/cjs/api/resources/implementationGuides/errors/InternalServerError.js +54 -0
- package/dist/cjs/api/resources/implementationGuides/errors/NotFoundError.d.ts +5 -0
- package/dist/cjs/api/resources/implementationGuides/errors/NotFoundError.js +54 -0
- package/dist/cjs/api/resources/implementationGuides/errors/UnauthorizedError.d.ts +5 -0
- package/dist/cjs/api/resources/implementationGuides/errors/UnauthorizedError.js +54 -0
- package/dist/cjs/api/resources/implementationGuides/errors/index.d.ts +5 -0
- package/dist/cjs/api/resources/implementationGuides/errors/index.js +21 -0
- package/dist/cjs/api/resources/implementationGuides/exports.d.ts +3 -0
- package/dist/cjs/api/resources/implementationGuides/exports.js +22 -0
- package/dist/cjs/api/resources/implementationGuides/index.d.ts +4 -0
- package/dist/cjs/api/resources/implementationGuides/index.js +20 -0
- package/dist/cjs/api/resources/implementationGuides/resources/implementationGuides/client/Client.d.ts +91 -0
- package/dist/cjs/api/resources/implementationGuides/resources/implementationGuides/client/Client.js +316 -0
- package/dist/cjs/api/resources/implementationGuides/resources/implementationGuides/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/implementationGuides/resources/implementationGuides/client/index.js +17 -0
- package/dist/cjs/api/resources/implementationGuides/resources/implementationGuides/client/requests/UpdateImplementationGuideRequest.d.ts +8 -0
- package/dist/cjs/api/resources/implementationGuides/resources/implementationGuides/client/requests/UpdateImplementationGuideRequest.js +3 -0
- package/dist/cjs/api/resources/implementationGuides/resources/implementationGuides/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/implementationGuides/resources/implementationGuides/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/implementationGuides/resources/implementationGuides/exports.d.ts +2 -0
- package/dist/cjs/api/resources/implementationGuides/resources/implementationGuides/exports.js +21 -0
- package/dist/cjs/api/resources/implementationGuides/resources/implementationGuides/index.d.ts +1 -0
- package/dist/cjs/api/resources/implementationGuides/resources/implementationGuides/index.js +17 -0
- package/dist/cjs/api/resources/implementationGuides/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/implementationGuides/resources/index.js +41 -0
- package/dist/cjs/api/resources/implementationGuides/types/ImplementationGuideDetail.d.ts +5 -0
- package/dist/cjs/api/resources/implementationGuides/types/ImplementationGuideDetail.js +3 -0
- package/dist/cjs/api/resources/implementationGuides/types/ImplementationGuideListResponse.d.ts +4 -0
- package/dist/cjs/api/resources/implementationGuides/types/ImplementationGuideListResponse.js +3 -0
- package/dist/cjs/api/resources/implementationGuides/types/ImplementationGuideSummary.d.ts +15 -0
- package/dist/cjs/api/resources/implementationGuides/types/ImplementationGuideSummary.js +3 -0
- package/dist/cjs/api/resources/implementationGuides/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/implementationGuides/types/index.js +19 -0
- package/dist/cjs/api/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/index.js +4 -1
- package/dist/cjs/api/resources/lang2Fhir/client/Client.d.ts +8 -0
- package/dist/cjs/api/resources/lang2Fhir/client/Client.js +15 -6
- package/dist/cjs/api/resources/lang2Fhir/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/lang2Fhir/errors/BadRequestError.js +1 -1
- package/dist/cjs/api/resources/lang2Fhir/errors/ClientClosedRequestError.js +1 -1
- package/dist/cjs/api/resources/lang2Fhir/errors/ForbiddenError.js +1 -1
- package/dist/cjs/api/resources/lang2Fhir/errors/GatewayTimeoutError.js +1 -1
- package/dist/cjs/api/resources/lang2Fhir/errors/InternalServerError.js +1 -1
- package/dist/cjs/api/resources/lang2Fhir/errors/NotFoundError.js +1 -1
- package/dist/cjs/api/resources/lang2Fhir/errors/UnauthorizedError.js +1 -1
- package/dist/cjs/api/resources/lang2Fhir/errors/UnprocessableEntityError.js +1 -1
- package/dist/cjs/api/resources/lang2Fhir/types/CreateMultiResponse.d.ts +2 -0
- package/dist/cjs/api/resources/lang2Fhir/{client/requests → types}/ProfileUploadRequest.d.ts +2 -10
- package/dist/cjs/api/resources/lang2Fhir/types/ProfileUploadRequest.js +3 -0
- package/dist/cjs/api/resources/lang2Fhir/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/lang2Fhir/types/index.js +1 -0
- package/dist/cjs/api/resources/profiles/client/Client.d.ts +12 -0
- package/dist/cjs/api/resources/profiles/client/Client.js +16 -0
- package/dist/cjs/api/resources/profiles/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/profiles/client/index.js +2 -0
- package/dist/cjs/api/resources/profiles/errors/BadRequestError.d.ts +5 -0
- package/dist/cjs/api/resources/profiles/errors/BadRequestError.js +54 -0
- package/dist/cjs/api/resources/profiles/errors/ForbiddenError.d.ts +5 -0
- package/dist/cjs/api/resources/profiles/errors/ForbiddenError.js +54 -0
- package/dist/cjs/api/resources/profiles/errors/InternalServerError.d.ts +5 -0
- package/dist/cjs/api/resources/profiles/errors/InternalServerError.js +54 -0
- package/dist/cjs/api/resources/profiles/errors/NotFoundError.d.ts +5 -0
- package/dist/cjs/api/resources/profiles/errors/NotFoundError.js +54 -0
- package/dist/cjs/api/resources/profiles/errors/UnauthorizedError.d.ts +5 -0
- package/dist/cjs/api/resources/profiles/errors/UnauthorizedError.js +54 -0
- package/dist/cjs/api/resources/profiles/errors/index.d.ts +5 -0
- package/dist/cjs/api/resources/profiles/errors/index.js +21 -0
- package/dist/cjs/api/resources/profiles/exports.d.ts +3 -0
- package/dist/cjs/api/resources/profiles/exports.js +22 -0
- package/dist/cjs/api/resources/profiles/index.d.ts +4 -0
- package/dist/cjs/api/resources/profiles/index.js +20 -0
- package/dist/cjs/api/resources/profiles/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/profiles/resources/index.js +41 -0
- package/dist/cjs/api/resources/profiles/resources/profiles/client/Client.d.ts +127 -0
- package/dist/cjs/api/resources/profiles/resources/profiles/client/Client.js +397 -0
- package/dist/cjs/api/resources/profiles/resources/profiles/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/profiles/resources/profiles/client/index.js +17 -0
- package/dist/cjs/api/resources/profiles/resources/profiles/client/requests/ListRequest.d.ts +10 -0
- package/dist/cjs/api/resources/profiles/resources/profiles/client/requests/ListRequest.js +3 -0
- package/dist/cjs/api/resources/profiles/resources/profiles/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/profiles/resources/profiles/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/profiles/resources/profiles/exports.d.ts +2 -0
- package/dist/cjs/api/resources/profiles/resources/profiles/exports.js +21 -0
- package/dist/cjs/api/resources/profiles/resources/profiles/index.d.ts +1 -0
- package/dist/cjs/api/resources/profiles/resources/profiles/index.js +17 -0
- package/dist/cjs/api/resources/profiles/types/FhirResource.d.ts +4 -0
- package/dist/cjs/api/resources/profiles/types/FhirResource.js +3 -0
- package/dist/cjs/api/resources/profiles/types/ProfileGetResponse.d.ts +5 -0
- package/dist/cjs/api/resources/profiles/types/ProfileGetResponse.js +3 -0
- package/dist/cjs/api/resources/profiles/types/ProfileListResponse.d.ts +4 -0
- package/dist/cjs/api/resources/profiles/types/ProfileListResponse.js +3 -0
- package/dist/cjs/api/resources/profiles/types/ProfileSummary.d.ts +26 -0
- package/dist/cjs/api/resources/profiles/types/ProfileSummary.js +12 -0
- package/dist/cjs/api/resources/profiles/types/ProfileUploadRequest.d.ts +7 -0
- package/dist/cjs/api/resources/profiles/types/ProfileUploadRequest.js +3 -0
- package/dist/cjs/api/resources/profiles/types/index.d.ts +5 -0
- package/dist/cjs/api/resources/profiles/types/index.js +21 -0
- package/dist/cjs/api/resources/summary/client/Client.js +2 -1
- package/dist/cjs/api/resources/summary/errors/BadRequestError.js +1 -1
- package/dist/cjs/api/resources/summary/errors/ForbiddenError.js +1 -1
- package/dist/cjs/api/resources/summary/errors/InternalServerError.js +1 -1
- package/dist/cjs/api/resources/summary/errors/NotFoundError.js +1 -1
- package/dist/cjs/api/resources/summary/errors/UnauthorizedError.js +1 -1
- package/dist/cjs/api/resources/summary/resources/templates/client/Client.js +3 -2
- package/dist/cjs/api/resources/tools/client/Client.js +5 -4
- package/dist/cjs/api/resources/tools/errors/BadRequestError.js +1 -1
- package/dist/cjs/api/resources/tools/errors/ForbiddenError.js +1 -1
- package/dist/cjs/api/resources/tools/errors/InternalServerError.js +1 -1
- package/dist/cjs/api/resources/tools/errors/NotFoundError.js +1 -1
- package/dist/cjs/api/resources/tools/errors/UnauthorizedError.js +1 -1
- package/dist/cjs/api/resources/tools/resources/mcpServers/client/Client.js +2 -1
- package/dist/cjs/api/resources/voice/client/Client.d.ts +12 -0
- package/dist/cjs/api/resources/voice/client/Client.js +16 -0
- package/dist/cjs/api/resources/voice/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/voice/client/index.js +2 -0
- package/dist/cjs/api/resources/voice/errors/BadGatewayError.d.ts +5 -0
- package/dist/cjs/api/resources/voice/errors/BadGatewayError.js +54 -0
- package/dist/cjs/api/resources/voice/errors/BadRequestError.d.ts +5 -0
- package/dist/cjs/api/resources/voice/errors/BadRequestError.js +54 -0
- package/dist/cjs/api/resources/voice/errors/ContentTooLargeError.d.ts +5 -0
- package/dist/cjs/api/resources/voice/errors/ContentTooLargeError.js +54 -0
- package/dist/cjs/api/resources/voice/errors/GatewayTimeoutError.d.ts +5 -0
- package/dist/cjs/api/resources/voice/errors/GatewayTimeoutError.js +54 -0
- package/dist/cjs/api/resources/voice/errors/PaymentRequiredError.d.ts +5 -0
- package/dist/cjs/api/resources/voice/errors/PaymentRequiredError.js +54 -0
- package/dist/cjs/api/resources/voice/errors/ServiceUnavailableError.d.ts +5 -0
- package/dist/cjs/api/resources/voice/errors/ServiceUnavailableError.js +54 -0
- package/dist/cjs/api/resources/voice/errors/UnauthorizedError.d.ts +5 -0
- package/dist/cjs/api/resources/voice/errors/UnauthorizedError.js +54 -0
- package/dist/cjs/api/resources/voice/errors/index.d.ts +7 -0
- package/dist/cjs/api/resources/voice/errors/index.js +23 -0
- package/dist/cjs/api/resources/voice/exports.d.ts +3 -0
- package/dist/cjs/api/resources/voice/exports.js +22 -0
- package/dist/cjs/api/resources/voice/index.d.ts +4 -0
- package/dist/cjs/api/resources/voice/index.js +20 -0
- package/dist/cjs/api/resources/voice/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/voice/resources/index.js +41 -0
- package/dist/cjs/api/resources/voice/resources/voice/client/Client.d.ts +41 -0
- package/dist/cjs/api/resources/voice/resources/voice/client/Client.js +146 -0
- package/dist/cjs/api/resources/voice/resources/voice/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/voice/resources/voice/client/index.js +17 -0
- package/dist/cjs/api/resources/voice/resources/voice/client/requests/TranscribeRequest.d.ts +4 -0
- package/dist/cjs/api/resources/voice/resources/voice/client/requests/TranscribeRequest.js +3 -0
- package/dist/cjs/api/resources/voice/resources/voice/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/voice/resources/voice/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/voice/resources/voice/exports.d.ts +2 -0
- package/dist/cjs/api/resources/voice/resources/voice/exports.js +21 -0
- package/dist/cjs/api/resources/voice/resources/voice/index.d.ts +1 -0
- package/dist/cjs/api/resources/voice/resources/voice/index.js +17 -0
- package/dist/cjs/api/resources/voice/types/TranscribeResponse.d.ts +4 -0
- package/dist/cjs/api/resources/voice/types/TranscribeResponse.js +3 -0
- package/dist/cjs/api/resources/voice/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/voice/types/index.js +17 -0
- package/dist/cjs/api/resources/workflows/client/Client.js +4 -3
- package/dist/cjs/api/resources/workflows/errors/BadRequestError.js +1 -1
- package/dist/cjs/api/resources/workflows/errors/ForbiddenError.js +1 -1
- package/dist/cjs/api/resources/workflows/errors/GatewayTimeoutError.js +1 -1
- package/dist/cjs/api/resources/workflows/errors/InternalServerError.js +1 -1
- package/dist/cjs/api/resources/workflows/errors/NotFoundError.js +1 -1
- package/dist/cjs/api/resources/workflows/errors/UnauthorizedError.js +1 -1
- package/dist/cjs/core/exports.d.ts +1 -0
- package/dist/cjs/core/exports.js +1 -0
- package/dist/cjs/core/file/exports.d.ts +1 -0
- package/dist/cjs/core/file/exports.js +2 -0
- package/dist/cjs/core/file/file.d.ts +10 -0
- package/dist/cjs/core/file/file.js +225 -0
- package/dist/cjs/core/file/index.d.ts +2 -0
- package/dist/cjs/core/file/index.js +18 -0
- package/dist/cjs/core/file/types.d.ts +66 -0
- package/dist/cjs/core/file/types.js +2 -0
- package/dist/cjs/core/index.d.ts +1 -0
- package/dist/cjs/core/index.js +2 -1
- package/dist/cjs/core/requestBody.d.ts +12 -0
- package/dist/cjs/core/requestBody.js +26 -0
- package/dist/cjs/core/stream/Stream.d.ts +45 -1
- package/dist/cjs/core/stream/Stream.js +323 -84
- package/dist/cjs/core/stream/index.d.ts +1 -0
- package/dist/cjs/core/url/qs.js +2 -2
- package/dist/cjs/errors/phenomlError.d.ts +1 -0
- package/dist/cjs/errors/phenomlError.js +5 -1
- package/dist/cjs/errors/phenomlTimeoutError.d.ts +2 -2
- package/dist/cjs/errors/phenomlTimeoutError.js +40 -6
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.d.mts +12 -0
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/Client.d.mts +9 -0
- package/dist/esm/Client.mjs +15 -0
- package/dist/esm/api/resources/agent/client/Client.mjs +4 -3
- package/dist/esm/api/resources/agent/errors/BadRequestError.mjs +1 -1
- package/dist/esm/api/resources/agent/errors/ConflictError.d.mts +5 -0
- package/dist/esm/api/resources/agent/errors/ConflictError.mjs +17 -0
- package/dist/esm/api/resources/agent/errors/ForbiddenError.mjs +1 -1
- package/dist/esm/api/resources/agent/errors/GatewayTimeoutError.mjs +1 -1
- package/dist/esm/api/resources/agent/errors/InternalServerError.mjs +1 -1
- package/dist/esm/api/resources/agent/errors/NotFoundError.mjs +1 -1
- package/dist/esm/api/resources/agent/errors/UnauthorizedError.mjs +1 -1
- 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 +1 -0
- package/dist/esm/api/resources/agent/resources/chat/client/Client.mjs +8 -2
- package/dist/esm/api/resources/agent/resources/chat/client/requests/AgentChatRequest.d.mts +1 -1
- package/dist/esm/api/resources/agent/resources/chat/client/requests/AgentStreamChatRequest.d.mts +1 -1
- package/dist/esm/api/resources/agent/resources/prompts/client/Client.mjs +4 -3
- package/dist/esm/api/resources/authtoken/client/Client.mjs +2 -1
- package/dist/esm/api/resources/authtoken/errors/BadRequestError.mjs +1 -1
- package/dist/esm/api/resources/authtoken/errors/InternalServerError.mjs +1 -1
- package/dist/esm/api/resources/authtoken/errors/UnauthorizedError.mjs +1 -1
- package/dist/esm/api/resources/cohort/client/Client.mjs +2 -1
- package/dist/esm/api/resources/cohort/errors/BadRequestError.mjs +1 -1
- package/dist/esm/api/resources/cohort/errors/InternalServerError.mjs +1 -1
- package/dist/esm/api/resources/cohort/errors/UnauthorizedError.mjs +1 -1
- package/dist/esm/api/resources/construe/client/Client.mjs +2 -1
- package/dist/esm/api/resources/construe/errors/BadRequestError.mjs +1 -1
- package/dist/esm/api/resources/construe/errors/ConflictError.mjs +1 -1
- package/dist/esm/api/resources/construe/errors/FailedDependencyError.mjs +1 -1
- package/dist/esm/api/resources/construe/errors/ForbiddenError.mjs +1 -1
- package/dist/esm/api/resources/construe/errors/GatewayTimeoutError.mjs +1 -1
- package/dist/esm/api/resources/construe/errors/InternalServerError.mjs +1 -1
- package/dist/esm/api/resources/construe/errors/NotFoundError.mjs +1 -1
- package/dist/esm/api/resources/construe/errors/NotImplementedError.mjs +1 -1
- package/dist/esm/api/resources/construe/errors/ServiceUnavailableError.mjs +1 -1
- package/dist/esm/api/resources/construe/errors/UnauthorizedError.mjs +1 -1
- package/dist/esm/api/resources/construe/resources/codeSystems/client/Client.mjs +2 -1
- package/dist/esm/api/resources/construe/resources/codeSystems/client/requests/DeleteRequest.d.mts +1 -1
- package/dist/esm/api/resources/construe/resources/codeSystems/client/requests/ExportRequest.d.mts +1 -1
- package/dist/esm/api/resources/construe/resources/codeSystems/client/requests/FindRequest.d.mts +1 -1
- package/dist/esm/api/resources/construe/resources/codes/client/Client.d.mts +15 -0
- package/dist/esm/api/resources/construe/resources/codes/client/Client.mjs +17 -1
- package/dist/esm/api/resources/construe/resources/codes/client/requests/CodesListRequest.d.mts +1 -1
- package/dist/esm/api/resources/construe/resources/codes/client/requests/ExtractRequest.d.mts +12 -0
- package/dist/esm/api/resources/construe/resources/codes/client/requests/LookupRequest.d.mts +1 -1
- package/dist/esm/api/resources/construe/resources/codes/client/requests/SearchSemanticRequest.d.mts +1 -1
- package/dist/esm/api/resources/construe/resources/codes/client/requests/SearchTextRequest.d.mts +1 -1
- package/dist/esm/api/resources/construe/types/ExtractRequestSystem.d.mts +11 -8
- package/dist/esm/api/resources/fhir/client/Client.mjs +5 -4
- package/dist/esm/api/resources/fhir2Omop/client/Client.d.mts +26 -0
- package/dist/esm/api/resources/fhir2Omop/client/Client.mjs +28 -1
- package/dist/esm/api/resources/fhir2Omop/client/requests/CreateOmopRequest.d.mts +6 -3
- package/dist/esm/api/resources/fhir2Omop/errors/BadRequestError.mjs +1 -1
- package/dist/esm/api/resources/fhir2Omop/errors/InternalServerError.mjs +1 -1
- package/dist/esm/api/resources/fhir2Omop/errors/ServiceUnavailableError.mjs +1 -1
- package/dist/esm/api/resources/fhir2Omop/errors/UnauthorizedError.mjs +1 -1
- package/dist/esm/api/resources/fhir2Omop/types/CareSiteRow.d.mts +8 -0
- package/dist/esm/api/resources/fhir2Omop/types/ConditionOccurrenceRow.d.mts +1 -0
- package/dist/esm/api/resources/fhir2Omop/types/CreateOmopResponse.d.mts +6 -1
- package/dist/esm/api/resources/fhir2Omop/types/DeathRow.d.mts +9 -0
- package/dist/esm/api/resources/fhir2Omop/types/DeathRow.mjs +2 -0
- package/dist/esm/api/resources/fhir2Omop/types/DrugExposureRow.d.mts +1 -0
- package/dist/esm/api/resources/fhir2Omop/types/LocationRow.d.mts +14 -0
- package/dist/esm/api/resources/fhir2Omop/types/LocationRow.mjs +2 -0
- package/dist/esm/api/resources/fhir2Omop/types/MeasurementRow.d.mts +1 -0
- package/dist/esm/api/resources/fhir2Omop/types/ObservationPeriodRow.d.mts +7 -0
- package/dist/esm/api/resources/fhir2Omop/types/ObservationPeriodRow.mjs +2 -0
- package/dist/esm/api/resources/fhir2Omop/types/ObservationRow.d.mts +1 -0
- package/dist/esm/api/resources/fhir2Omop/types/OmopTables.d.mts +5 -0
- package/dist/esm/api/resources/fhir2Omop/types/PersonRow.d.mts +1 -0
- package/dist/esm/api/resources/fhir2Omop/types/ProcedureOccurrenceRow.d.mts +1 -0
- package/dist/esm/api/resources/fhir2Omop/types/ProviderRow.d.mts +15 -0
- package/dist/esm/api/resources/fhir2Omop/types/ProviderRow.mjs +2 -0
- package/dist/esm/api/resources/fhir2Omop/types/VisitOccurrenceRow.d.mts +2 -0
- package/dist/esm/api/resources/fhir2Omop/types/index.d.mts +5 -0
- package/dist/esm/api/resources/fhir2Omop/types/index.mjs +5 -0
- package/dist/esm/api/resources/fhirProvider/client/Client.mjs +2 -1
- package/dist/esm/api/resources/fhirProvider/errors/BadRequestError.mjs +1 -1
- package/dist/esm/api/resources/fhirProvider/errors/ForbiddenError.mjs +1 -1
- package/dist/esm/api/resources/fhirProvider/errors/InternalServerError.mjs +1 -1
- package/dist/esm/api/resources/fhirProvider/errors/NotFoundError.mjs +1 -1
- package/dist/esm/api/resources/fhirProvider/errors/UnauthorizedError.mjs +1 -1
- package/dist/esm/api/resources/fhirProvider/resources/authConfig/client/Client.mjs +4 -3
- package/dist/esm/api/resources/implementationGuides/client/Client.d.mts +12 -0
- package/dist/esm/api/resources/implementationGuides/client/Client.mjs +12 -0
- package/dist/esm/api/resources/implementationGuides/client/index.d.mts +1 -0
- package/dist/esm/api/resources/implementationGuides/client/index.mjs +1 -0
- package/dist/esm/api/resources/implementationGuides/errors/BadRequestError.d.mts +5 -0
- package/dist/esm/api/resources/implementationGuides/errors/BadRequestError.mjs +17 -0
- package/dist/esm/api/resources/implementationGuides/errors/ForbiddenError.d.mts +5 -0
- package/dist/esm/api/resources/implementationGuides/errors/ForbiddenError.mjs +17 -0
- package/dist/esm/api/resources/implementationGuides/errors/InternalServerError.d.mts +5 -0
- package/dist/esm/api/resources/implementationGuides/errors/InternalServerError.mjs +17 -0
- package/dist/esm/api/resources/implementationGuides/errors/NotFoundError.d.mts +5 -0
- package/dist/esm/api/resources/implementationGuides/errors/NotFoundError.mjs +17 -0
- package/dist/esm/api/resources/implementationGuides/errors/UnauthorizedError.d.mts +5 -0
- package/dist/esm/api/resources/implementationGuides/errors/UnauthorizedError.mjs +17 -0
- package/dist/esm/api/resources/implementationGuides/errors/index.d.mts +5 -0
- package/dist/esm/api/resources/implementationGuides/errors/index.mjs +5 -0
- package/dist/esm/api/resources/implementationGuides/exports.d.mts +3 -0
- package/dist/esm/api/resources/implementationGuides/exports.mjs +4 -0
- package/dist/esm/api/resources/implementationGuides/index.d.mts +4 -0
- package/dist/esm/api/resources/implementationGuides/index.mjs +4 -0
- package/dist/esm/api/resources/implementationGuides/resources/implementationGuides/client/Client.d.mts +91 -0
- package/dist/esm/api/resources/implementationGuides/resources/implementationGuides/client/Client.mjs +279 -0
- package/dist/esm/api/resources/implementationGuides/resources/implementationGuides/client/index.d.mts +1 -0
- package/dist/esm/api/resources/implementationGuides/resources/implementationGuides/client/index.mjs +1 -0
- package/dist/esm/api/resources/implementationGuides/resources/implementationGuides/client/requests/UpdateImplementationGuideRequest.d.mts +8 -0
- package/dist/esm/api/resources/implementationGuides/resources/implementationGuides/client/requests/UpdateImplementationGuideRequest.mjs +2 -0
- package/dist/esm/api/resources/implementationGuides/resources/implementationGuides/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/implementationGuides/resources/implementationGuides/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/implementationGuides/resources/implementationGuides/exports.d.mts +2 -0
- package/dist/esm/api/resources/implementationGuides/resources/implementationGuides/exports.mjs +3 -0
- package/dist/esm/api/resources/implementationGuides/resources/implementationGuides/index.d.mts +1 -0
- package/dist/esm/api/resources/implementationGuides/resources/implementationGuides/index.mjs +1 -0
- package/dist/esm/api/resources/implementationGuides/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/implementationGuides/resources/index.mjs +2 -0
- package/dist/esm/api/resources/implementationGuides/types/ImplementationGuideDetail.d.mts +5 -0
- package/dist/esm/api/resources/implementationGuides/types/ImplementationGuideDetail.mjs +2 -0
- package/dist/esm/api/resources/implementationGuides/types/ImplementationGuideListResponse.d.mts +4 -0
- package/dist/esm/api/resources/implementationGuides/types/ImplementationGuideListResponse.mjs +2 -0
- package/dist/esm/api/resources/implementationGuides/types/ImplementationGuideSummary.d.mts +15 -0
- package/dist/esm/api/resources/implementationGuides/types/ImplementationGuideSummary.mjs +2 -0
- package/dist/esm/api/resources/implementationGuides/types/index.d.mts +3 -0
- package/dist/esm/api/resources/implementationGuides/types/index.mjs +3 -0
- package/dist/esm/api/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/index.mjs +3 -0
- package/dist/esm/api/resources/lang2Fhir/client/Client.d.mts +8 -0
- package/dist/esm/api/resources/lang2Fhir/client/Client.mjs +15 -6
- package/dist/esm/api/resources/lang2Fhir/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/lang2Fhir/errors/BadRequestError.mjs +1 -1
- package/dist/esm/api/resources/lang2Fhir/errors/ClientClosedRequestError.mjs +1 -1
- package/dist/esm/api/resources/lang2Fhir/errors/ForbiddenError.mjs +1 -1
- package/dist/esm/api/resources/lang2Fhir/errors/GatewayTimeoutError.mjs +1 -1
- package/dist/esm/api/resources/lang2Fhir/errors/InternalServerError.mjs +1 -1
- package/dist/esm/api/resources/lang2Fhir/errors/NotFoundError.mjs +1 -1
- package/dist/esm/api/resources/lang2Fhir/errors/UnauthorizedError.mjs +1 -1
- package/dist/esm/api/resources/lang2Fhir/errors/UnprocessableEntityError.mjs +1 -1
- package/dist/esm/api/resources/lang2Fhir/types/CreateMultiResponse.d.mts +2 -0
- package/dist/esm/api/resources/lang2Fhir/{client/requests → types}/ProfileUploadRequest.d.mts +2 -10
- package/dist/esm/api/resources/lang2Fhir/types/ProfileUploadRequest.mjs +2 -0
- package/dist/esm/api/resources/lang2Fhir/types/index.d.mts +1 -0
- package/dist/esm/api/resources/lang2Fhir/types/index.mjs +1 -0
- package/dist/esm/api/resources/profiles/client/Client.d.mts +12 -0
- package/dist/esm/api/resources/profiles/client/Client.mjs +12 -0
- package/dist/esm/api/resources/profiles/client/index.d.mts +1 -0
- package/dist/esm/api/resources/profiles/client/index.mjs +1 -0
- package/dist/esm/api/resources/profiles/errors/BadRequestError.d.mts +5 -0
- package/dist/esm/api/resources/profiles/errors/BadRequestError.mjs +17 -0
- package/dist/esm/api/resources/profiles/errors/ForbiddenError.d.mts +5 -0
- package/dist/esm/api/resources/profiles/errors/ForbiddenError.mjs +17 -0
- package/dist/esm/api/resources/profiles/errors/InternalServerError.d.mts +5 -0
- package/dist/esm/api/resources/profiles/errors/InternalServerError.mjs +17 -0
- package/dist/esm/api/resources/profiles/errors/NotFoundError.d.mts +5 -0
- package/dist/esm/api/resources/profiles/errors/NotFoundError.mjs +17 -0
- package/dist/esm/api/resources/profiles/errors/UnauthorizedError.d.mts +5 -0
- package/dist/esm/api/resources/profiles/errors/UnauthorizedError.mjs +17 -0
- package/dist/esm/api/resources/profiles/errors/index.d.mts +5 -0
- package/dist/esm/api/resources/profiles/errors/index.mjs +5 -0
- package/dist/esm/api/resources/profiles/exports.d.mts +3 -0
- package/dist/esm/api/resources/profiles/exports.mjs +4 -0
- package/dist/esm/api/resources/profiles/index.d.mts +4 -0
- package/dist/esm/api/resources/profiles/index.mjs +4 -0
- package/dist/esm/api/resources/profiles/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/profiles/resources/index.mjs +2 -0
- package/dist/esm/api/resources/profiles/resources/profiles/client/Client.d.mts +127 -0
- package/dist/esm/api/resources/profiles/resources/profiles/client/Client.mjs +360 -0
- package/dist/esm/api/resources/profiles/resources/profiles/client/index.d.mts +1 -0
- package/dist/esm/api/resources/profiles/resources/profiles/client/index.mjs +1 -0
- package/dist/esm/api/resources/profiles/resources/profiles/client/requests/ListRequest.d.mts +10 -0
- package/dist/esm/api/resources/profiles/resources/profiles/client/requests/ListRequest.mjs +2 -0
- package/dist/esm/api/resources/profiles/resources/profiles/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/profiles/resources/profiles/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/profiles/resources/profiles/exports.d.mts +2 -0
- package/dist/esm/api/resources/profiles/resources/profiles/exports.mjs +3 -0
- package/dist/esm/api/resources/profiles/resources/profiles/index.d.mts +1 -0
- package/dist/esm/api/resources/profiles/resources/profiles/index.mjs +1 -0
- package/dist/esm/api/resources/profiles/types/FhirResource.d.mts +4 -0
- package/dist/esm/api/resources/profiles/types/FhirResource.mjs +2 -0
- package/dist/esm/api/resources/profiles/types/ProfileGetResponse.d.mts +5 -0
- package/dist/esm/api/resources/profiles/types/ProfileGetResponse.mjs +2 -0
- package/dist/esm/api/resources/profiles/types/ProfileListResponse.d.mts +4 -0
- package/dist/esm/api/resources/profiles/types/ProfileListResponse.mjs +2 -0
- package/dist/esm/api/resources/profiles/types/ProfileSummary.d.mts +26 -0
- package/dist/esm/api/resources/profiles/types/ProfileSummary.mjs +9 -0
- package/dist/esm/api/resources/profiles/types/ProfileUploadRequest.d.mts +7 -0
- package/dist/esm/api/resources/profiles/types/ProfileUploadRequest.mjs +2 -0
- package/dist/esm/api/resources/profiles/types/index.d.mts +5 -0
- package/dist/esm/api/resources/profiles/types/index.mjs +5 -0
- package/dist/esm/api/resources/summary/client/Client.mjs +2 -1
- package/dist/esm/api/resources/summary/errors/BadRequestError.mjs +1 -1
- package/dist/esm/api/resources/summary/errors/ForbiddenError.mjs +1 -1
- package/dist/esm/api/resources/summary/errors/InternalServerError.mjs +1 -1
- package/dist/esm/api/resources/summary/errors/NotFoundError.mjs +1 -1
- package/dist/esm/api/resources/summary/errors/UnauthorizedError.mjs +1 -1
- package/dist/esm/api/resources/summary/resources/templates/client/Client.mjs +3 -2
- package/dist/esm/api/resources/tools/client/Client.mjs +5 -4
- package/dist/esm/api/resources/tools/errors/BadRequestError.mjs +1 -1
- package/dist/esm/api/resources/tools/errors/ForbiddenError.mjs +1 -1
- package/dist/esm/api/resources/tools/errors/InternalServerError.mjs +1 -1
- package/dist/esm/api/resources/tools/errors/NotFoundError.mjs +1 -1
- package/dist/esm/api/resources/tools/errors/UnauthorizedError.mjs +1 -1
- package/dist/esm/api/resources/tools/resources/mcpServers/client/Client.mjs +2 -1
- package/dist/esm/api/resources/voice/client/Client.d.mts +12 -0
- package/dist/esm/api/resources/voice/client/Client.mjs +12 -0
- package/dist/esm/api/resources/voice/client/index.d.mts +1 -0
- package/dist/esm/api/resources/voice/client/index.mjs +1 -0
- package/dist/esm/api/resources/voice/errors/BadGatewayError.d.mts +5 -0
- package/dist/esm/api/resources/voice/errors/BadGatewayError.mjs +17 -0
- package/dist/esm/api/resources/voice/errors/BadRequestError.d.mts +5 -0
- package/dist/esm/api/resources/voice/errors/BadRequestError.mjs +17 -0
- package/dist/esm/api/resources/voice/errors/ContentTooLargeError.d.mts +5 -0
- package/dist/esm/api/resources/voice/errors/ContentTooLargeError.mjs +17 -0
- package/dist/esm/api/resources/voice/errors/GatewayTimeoutError.d.mts +5 -0
- package/dist/esm/api/resources/voice/errors/GatewayTimeoutError.mjs +17 -0
- package/dist/esm/api/resources/voice/errors/PaymentRequiredError.d.mts +5 -0
- package/dist/esm/api/resources/voice/errors/PaymentRequiredError.mjs +17 -0
- package/dist/esm/api/resources/voice/errors/ServiceUnavailableError.d.mts +5 -0
- package/dist/esm/api/resources/voice/errors/ServiceUnavailableError.mjs +17 -0
- package/dist/esm/api/resources/voice/errors/UnauthorizedError.d.mts +5 -0
- package/dist/esm/api/resources/voice/errors/UnauthorizedError.mjs +17 -0
- package/dist/esm/api/resources/voice/errors/index.d.mts +7 -0
- package/dist/esm/api/resources/voice/errors/index.mjs +7 -0
- package/dist/esm/api/resources/voice/exports.d.mts +3 -0
- package/dist/esm/api/resources/voice/exports.mjs +4 -0
- package/dist/esm/api/resources/voice/index.d.mts +4 -0
- package/dist/esm/api/resources/voice/index.mjs +4 -0
- package/dist/esm/api/resources/voice/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/voice/resources/index.mjs +2 -0
- package/dist/esm/api/resources/voice/resources/voice/client/Client.d.mts +41 -0
- package/dist/esm/api/resources/voice/resources/voice/client/Client.mjs +109 -0
- package/dist/esm/api/resources/voice/resources/voice/client/index.d.mts +1 -0
- package/dist/esm/api/resources/voice/resources/voice/client/index.mjs +1 -0
- package/dist/esm/api/resources/voice/resources/voice/client/requests/TranscribeRequest.d.mts +4 -0
- package/dist/esm/api/resources/voice/resources/voice/client/requests/TranscribeRequest.mjs +2 -0
- package/dist/esm/api/resources/voice/resources/voice/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/voice/resources/voice/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/voice/resources/voice/exports.d.mts +2 -0
- package/dist/esm/api/resources/voice/resources/voice/exports.mjs +3 -0
- package/dist/esm/api/resources/voice/resources/voice/index.d.mts +1 -0
- package/dist/esm/api/resources/voice/resources/voice/index.mjs +1 -0
- package/dist/esm/api/resources/voice/types/TranscribeResponse.d.mts +4 -0
- package/dist/esm/api/resources/voice/types/TranscribeResponse.mjs +2 -0
- package/dist/esm/api/resources/voice/types/index.d.mts +1 -0
- package/dist/esm/api/resources/voice/types/index.mjs +1 -0
- package/dist/esm/api/resources/workflows/client/Client.mjs +4 -3
- package/dist/esm/api/resources/workflows/errors/BadRequestError.mjs +1 -1
- package/dist/esm/api/resources/workflows/errors/ForbiddenError.mjs +1 -1
- package/dist/esm/api/resources/workflows/errors/GatewayTimeoutError.mjs +1 -1
- package/dist/esm/api/resources/workflows/errors/InternalServerError.mjs +1 -1
- package/dist/esm/api/resources/workflows/errors/NotFoundError.mjs +1 -1
- package/dist/esm/api/resources/workflows/errors/UnauthorizedError.mjs +1 -1
- package/dist/esm/core/exports.d.mts +1 -0
- package/dist/esm/core/exports.mjs +1 -0
- package/dist/esm/core/file/exports.d.mts +1 -0
- package/dist/esm/core/file/exports.mjs +1 -0
- package/dist/esm/core/file/file.d.mts +10 -0
- package/dist/esm/core/file/file.mjs +188 -0
- package/dist/esm/core/file/index.d.mts +2 -0
- package/dist/esm/core/file/index.mjs +2 -0
- package/dist/esm/core/file/types.d.mts +66 -0
- package/dist/esm/core/file/types.mjs +1 -0
- package/dist/esm/core/index.d.mts +1 -0
- package/dist/esm/core/index.mjs +1 -0
- package/dist/esm/core/requestBody.d.mts +12 -0
- package/dist/esm/core/requestBody.mjs +23 -0
- package/dist/esm/core/stream/Stream.d.mts +45 -1
- package/dist/esm/core/stream/Stream.mjs +323 -84
- package/dist/esm/core/stream/index.d.mts +1 -0
- package/dist/esm/core/url/qs.mjs +2 -2
- package/dist/esm/errors/phenomlError.d.mts +1 -0
- package/dist/esm/errors/phenomlError.mjs +5 -1
- package/dist/esm/errors/phenomlTimeoutError.d.mts +2 -2
- package/dist/esm/errors/phenomlTimeoutError.mjs +7 -6
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/openapi/openapi.json +1300 -228
- package/package.json +34 -1
- package/reference.md +652 -1
- /package/dist/cjs/api/resources/{lang2Fhir/client/requests/ProfileUploadRequest.js → fhir2Omop/types/CareSiteRow.js} +0 -0
- /package/dist/esm/api/resources/{lang2Fhir/client/requests/ProfileUploadRequest.mjs → fhir2Omop/types/CareSiteRow.mjs} +0 -0
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "17.
|
|
1
|
+
export declare const SDK_VERSION = "17.8.0";
|
package/dist/cjs/version.js
CHANGED
|
@@ -17,6 +17,11 @@ export type BaseClientOptions = {
|
|
|
17
17
|
fetcher?: core.FetchFunction;
|
|
18
18
|
/** Configure logging for the client. */
|
|
19
19
|
logging?: core.logging.LogConfig | core.logging.Logger;
|
|
20
|
+
/** Default options for SSE stream reconnection behavior. Has no effect on non-resumable endpoints. */
|
|
21
|
+
stream?: {
|
|
22
|
+
reconnectionEnabled?: boolean;
|
|
23
|
+
maxReconnectionAttempts?: number;
|
|
24
|
+
};
|
|
20
25
|
/** Override auth. Pass false to disable, a function returning auth headers, an AuthProvider, or auth options. */
|
|
21
26
|
auth?: AuthOption;
|
|
22
27
|
} & OAuthAuthProvider.AuthOptions;
|
|
@@ -29,8 +34,15 @@ export interface BaseRequestOptions {
|
|
|
29
34
|
abortSignal?: AbortSignal;
|
|
30
35
|
/** Additional query string parameters to include in the request. */
|
|
31
36
|
queryParams?: Record<string, unknown>;
|
|
37
|
+
/** A dictionary containing additional parameters to spread into the request's body. */
|
|
38
|
+
additionalBodyParameters?: Record<string, unknown>;
|
|
32
39
|
/** Additional headers to include in the request. */
|
|
33
40
|
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
41
|
+
/** Options for SSE stream reconnection behavior. Has no effect on non-resumable endpoints. */
|
|
42
|
+
stream?: {
|
|
43
|
+
reconnectionEnabled?: boolean;
|
|
44
|
+
maxReconnectionAttempts?: number;
|
|
45
|
+
};
|
|
34
46
|
}
|
|
35
47
|
export type NormalizedClientOptions<T extends BaseClientOptions = BaseClientOptions> = T & {
|
|
36
48
|
logging: core.logging.Logger;
|
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
|
|
|
6
6
|
const headers = mergeHeaders({
|
|
7
7
|
"X-Fern-Language": "JavaScript",
|
|
8
8
|
"X-Fern-SDK-Name": "phenoml",
|
|
9
|
-
"X-Fern-SDK-Version": "17.
|
|
10
|
-
"User-Agent": "phenoml/17.
|
|
9
|
+
"X-Fern-SDK-Version": "17.8.0",
|
|
10
|
+
"User-Agent": "phenoml/17.8.0",
|
|
11
11
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
12
12
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
13
13
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
package/dist/esm/Client.d.mts
CHANGED
|
@@ -5,9 +5,12 @@ import { ConstrueClient } from "./api/resources/construe/client/Client.mjs";
|
|
|
5
5
|
import { FhirClient } from "./api/resources/fhir/client/Client.mjs";
|
|
6
6
|
import { Fhir2OmopClient } from "./api/resources/fhir2Omop/client/Client.mjs";
|
|
7
7
|
import { FhirProviderClient } from "./api/resources/fhirProvider/client/Client.mjs";
|
|
8
|
+
import { ImplementationGuidesClient } from "./api/resources/implementationGuides/client/Client.mjs";
|
|
8
9
|
import { Lang2FhirClient } from "./api/resources/lang2Fhir/client/Client.mjs";
|
|
10
|
+
import { ProfilesClient } from "./api/resources/profiles/client/Client.mjs";
|
|
9
11
|
import { SummaryClient } from "./api/resources/summary/client/Client.mjs";
|
|
10
12
|
import { ToolsClient } from "./api/resources/tools/client/Client.mjs";
|
|
13
|
+
import { VoiceClient } from "./api/resources/voice/client/Client.mjs";
|
|
11
14
|
import { WorkflowsClient } from "./api/resources/workflows/client/Client.mjs";
|
|
12
15
|
import type { BaseClientOptions, BaseRequestOptions } from "./BaseClient.mjs";
|
|
13
16
|
import { type NormalizedClientOptionsWithAuth } from "./BaseClient.mjs";
|
|
@@ -26,9 +29,12 @@ export declare class phenomlClient {
|
|
|
26
29
|
protected _fhir: FhirClient | undefined;
|
|
27
30
|
protected _fhir2Omop: Fhir2OmopClient | undefined;
|
|
28
31
|
protected _fhirProvider: FhirProviderClient | undefined;
|
|
32
|
+
protected _implementationGuides: ImplementationGuidesClient | undefined;
|
|
29
33
|
protected _lang2Fhir: Lang2FhirClient | undefined;
|
|
34
|
+
protected _profiles: ProfilesClient | undefined;
|
|
30
35
|
protected _summary: SummaryClient | undefined;
|
|
31
36
|
protected _tools: ToolsClient | undefined;
|
|
37
|
+
protected _voice: VoiceClient | undefined;
|
|
32
38
|
protected _workflows: WorkflowsClient | undefined;
|
|
33
39
|
constructor(options?: phenomlClient.Options);
|
|
34
40
|
get agent(): AgentClient;
|
|
@@ -38,9 +44,12 @@ export declare class phenomlClient {
|
|
|
38
44
|
get fhir(): FhirClient;
|
|
39
45
|
get fhir2Omop(): Fhir2OmopClient;
|
|
40
46
|
get fhirProvider(): FhirProviderClient;
|
|
47
|
+
get implementationGuides(): ImplementationGuidesClient;
|
|
41
48
|
get lang2Fhir(): Lang2FhirClient;
|
|
49
|
+
get profiles(): ProfilesClient;
|
|
42
50
|
get summary(): SummaryClient;
|
|
43
51
|
get tools(): ToolsClient;
|
|
52
|
+
get voice(): VoiceClient;
|
|
44
53
|
get workflows(): WorkflowsClient;
|
|
45
54
|
/**
|
|
46
55
|
* Make a passthrough request using the SDK's configured auth, retry, logging, etc.
|
package/dist/esm/Client.mjs
CHANGED
|
@@ -15,9 +15,12 @@ import { ConstrueClient } from "./api/resources/construe/client/Client.mjs";
|
|
|
15
15
|
import { FhirClient } from "./api/resources/fhir/client/Client.mjs";
|
|
16
16
|
import { Fhir2OmopClient } from "./api/resources/fhir2Omop/client/Client.mjs";
|
|
17
17
|
import { FhirProviderClient } from "./api/resources/fhirProvider/client/Client.mjs";
|
|
18
|
+
import { ImplementationGuidesClient } from "./api/resources/implementationGuides/client/Client.mjs";
|
|
18
19
|
import { Lang2FhirClient } from "./api/resources/lang2Fhir/client/Client.mjs";
|
|
20
|
+
import { ProfilesClient } from "./api/resources/profiles/client/Client.mjs";
|
|
19
21
|
import { SummaryClient } from "./api/resources/summary/client/Client.mjs";
|
|
20
22
|
import { ToolsClient } from "./api/resources/tools/client/Client.mjs";
|
|
23
|
+
import { VoiceClient } from "./api/resources/voice/client/Client.mjs";
|
|
21
24
|
import { WorkflowsClient } from "./api/resources/workflows/client/Client.mjs";
|
|
22
25
|
import { normalizeClientOptionsWithAuth } from "./BaseClient.mjs";
|
|
23
26
|
import * as core from "./core/index.mjs";
|
|
@@ -53,10 +56,18 @@ export class phenomlClient {
|
|
|
53
56
|
var _a;
|
|
54
57
|
return ((_a = this._fhirProvider) !== null && _a !== void 0 ? _a : (this._fhirProvider = new FhirProviderClient(this._options)));
|
|
55
58
|
}
|
|
59
|
+
get implementationGuides() {
|
|
60
|
+
var _a;
|
|
61
|
+
return ((_a = this._implementationGuides) !== null && _a !== void 0 ? _a : (this._implementationGuides = new ImplementationGuidesClient(this._options)));
|
|
62
|
+
}
|
|
56
63
|
get lang2Fhir() {
|
|
57
64
|
var _a;
|
|
58
65
|
return ((_a = this._lang2Fhir) !== null && _a !== void 0 ? _a : (this._lang2Fhir = new Lang2FhirClient(this._options)));
|
|
59
66
|
}
|
|
67
|
+
get profiles() {
|
|
68
|
+
var _a;
|
|
69
|
+
return ((_a = this._profiles) !== null && _a !== void 0 ? _a : (this._profiles = new ProfilesClient(this._options)));
|
|
70
|
+
}
|
|
60
71
|
get summary() {
|
|
61
72
|
var _a;
|
|
62
73
|
return ((_a = this._summary) !== null && _a !== void 0 ? _a : (this._summary = new SummaryClient(this._options)));
|
|
@@ -65,6 +76,10 @@ export class phenomlClient {
|
|
|
65
76
|
var _a;
|
|
66
77
|
return ((_a = this._tools) !== null && _a !== void 0 ? _a : (this._tools = new ToolsClient(this._options)));
|
|
67
78
|
}
|
|
79
|
+
get voice() {
|
|
80
|
+
var _a;
|
|
81
|
+
return ((_a = this._voice) !== null && _a !== void 0 ? _a : (this._voice = new VoiceClient(this._options)));
|
|
82
|
+
}
|
|
68
83
|
get workflows() {
|
|
69
84
|
var _a;
|
|
70
85
|
return ((_a = this._workflows) !== null && _a !== void 0 ? _a : (this._workflows = new WorkflowsClient(this._options)));
|
|
@@ -11,6 +11,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
11
11
|
import { normalizeClientOptionsWithAuth } from "../../../../BaseClient.mjs";
|
|
12
12
|
import { mergeHeaders } from "../../../../core/headers.mjs";
|
|
13
13
|
import * as core from "../../../../core/index.mjs";
|
|
14
|
+
import { mergeAdditionalBodyParameters } from "../../../../core/requestBody.mjs";
|
|
14
15
|
import * as environments from "../../../../environments.mjs";
|
|
15
16
|
import { handleNonStatusCodeError } from "../../../../errors/handleNonStatusCodeError.mjs";
|
|
16
17
|
import * as errors from "../../../../errors/index.mjs";
|
|
@@ -64,7 +65,7 @@ export class AgentClient {
|
|
|
64
65
|
contentType: "application/json",
|
|
65
66
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
66
67
|
requestType: "json",
|
|
67
|
-
body: request,
|
|
68
|
+
body: mergeAdditionalBodyParameters(request, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
68
69
|
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
69
70
|
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
70
71
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -253,7 +254,7 @@ export class AgentClient {
|
|
|
253
254
|
contentType: "application/json",
|
|
254
255
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
255
256
|
requestType: "json",
|
|
256
|
-
body: request,
|
|
257
|
+
body: mergeAdditionalBodyParameters(request, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
257
258
|
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
258
259
|
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
259
260
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -382,7 +383,7 @@ export class AgentClient {
|
|
|
382
383
|
contentType: "application/json+patch",
|
|
383
384
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
384
385
|
requestType: "json",
|
|
385
|
-
body: request,
|
|
386
|
+
body: mergeAdditionalBodyParameters(request, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
386
387
|
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
387
388
|
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
388
389
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as errors from "../../../../errors/index.mjs";
|
|
3
|
+
export class ConflictError extends errors.phenomlError {
|
|
4
|
+
constructor(body, rawResponse) {
|
|
5
|
+
super({
|
|
6
|
+
message: "ConflictError",
|
|
7
|
+
statusCode: 409,
|
|
8
|
+
body: body,
|
|
9
|
+
rawResponse: rawResponse,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, new.target.prototype);
|
|
12
|
+
if (Error.captureStackTrace) {
|
|
13
|
+
Error.captureStackTrace(this, this.constructor);
|
|
14
|
+
}
|
|
15
|
+
this.name = "ConflictError";
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -23,6 +23,7 @@ export declare class ChatClient {
|
|
|
23
23
|
* @throws {@link phenoml.agent.UnauthorizedError}
|
|
24
24
|
* @throws {@link phenoml.agent.ForbiddenError}
|
|
25
25
|
* @throws {@link phenoml.agent.NotFoundError}
|
|
26
|
+
* @throws {@link phenoml.agent.ConflictError}
|
|
26
27
|
* @throws {@link phenoml.agent.InternalServerError}
|
|
27
28
|
* @throws {@link phenoml.agent.GatewayTimeoutError}
|
|
28
29
|
*
|
|
@@ -22,6 +22,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
22
22
|
import { normalizeClientOptionsWithAuth } from "../../../../../../BaseClient.mjs";
|
|
23
23
|
import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../../../core/headers.mjs";
|
|
24
24
|
import * as core from "../../../../../../core/index.mjs";
|
|
25
|
+
import { mergeAdditionalBodyParameters } from "../../../../../../core/requestBody.mjs";
|
|
25
26
|
import * as environments from "../../../../../../environments.mjs";
|
|
26
27
|
import { handleNonStatusCodeError } from "../../../../../../errors/handleNonStatusCodeError.mjs";
|
|
27
28
|
import * as errors from "../../../../../../errors/index.mjs";
|
|
@@ -43,6 +44,7 @@ export class ChatClient {
|
|
|
43
44
|
* @throws {@link phenoml.agent.UnauthorizedError}
|
|
44
45
|
* @throws {@link phenoml.agent.ForbiddenError}
|
|
45
46
|
* @throws {@link phenoml.agent.NotFoundError}
|
|
47
|
+
* @throws {@link phenoml.agent.ConflictError}
|
|
46
48
|
* @throws {@link phenoml.agent.InternalServerError}
|
|
47
49
|
* @throws {@link phenoml.agent.GatewayTimeoutError}
|
|
48
50
|
*
|
|
@@ -84,7 +86,7 @@ export class ChatClient {
|
|
|
84
86
|
contentType: "application/json",
|
|
85
87
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
86
88
|
requestType: "json",
|
|
87
|
-
body: _body,
|
|
89
|
+
body: mergeAdditionalBodyParameters(_body, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
88
90
|
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
89
91
|
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
90
92
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -104,6 +106,8 @@ export class ChatClient {
|
|
|
104
106
|
throw new phenoml.agent.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
105
107
|
case 404:
|
|
106
108
|
throw new phenoml.agent.NotFoundError(_response.error.body, _response.rawResponse);
|
|
109
|
+
case 409:
|
|
110
|
+
throw new phenoml.agent.ConflictError(_response.error.body, _response.rawResponse);
|
|
107
111
|
case 500:
|
|
108
112
|
throw new phenoml.agent.InternalServerError(_response.error.body, _response.rawResponse);
|
|
109
113
|
case 504:
|
|
@@ -143,7 +147,7 @@ export class ChatClient {
|
|
|
143
147
|
contentType: "application/json",
|
|
144
148
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
145
149
|
requestType: "json",
|
|
146
|
-
body: _body,
|
|
150
|
+
body: mergeAdditionalBodyParameters(_body, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
147
151
|
responseType: "sse",
|
|
148
152
|
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
149
153
|
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
@@ -174,6 +178,8 @@ export class ChatClient {
|
|
|
174
178
|
throw new phenoml.agent.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
175
179
|
case 404:
|
|
176
180
|
throw new phenoml.agent.NotFoundError(_response.error.body, _response.rawResponse);
|
|
181
|
+
case 409:
|
|
182
|
+
throw new phenoml.agent.ConflictError(_response.error.body, _response.rawResponse);
|
|
177
183
|
case 500:
|
|
178
184
|
throw new phenoml.agent.InternalServerError(_response.error.body, _response.rawResponse);
|
|
179
185
|
case 504:
|
|
@@ -33,7 +33,7 @@ export interface AgentChatRequest {
|
|
|
33
33
|
message: string;
|
|
34
34
|
/** Optional context for the conversation */
|
|
35
35
|
context?: string;
|
|
36
|
-
/** Optional session ID for conversation continuity */
|
|
36
|
+
/** Optional session ID for conversation continuity. Only one request may be active for a session at a time; overlapping turns for the same session return 409 Conflict. */
|
|
37
37
|
session_id?: string;
|
|
38
38
|
/** The ID of the agent to chat with */
|
|
39
39
|
agent_id: string;
|
package/dist/esm/api/resources/agent/resources/chat/client/requests/AgentStreamChatRequest.d.mts
CHANGED
|
@@ -23,7 +23,7 @@ export interface AgentStreamChatRequest {
|
|
|
23
23
|
message: string;
|
|
24
24
|
/** Optional context for the conversation */
|
|
25
25
|
context?: string;
|
|
26
|
-
/** Optional session ID for conversation continuity */
|
|
26
|
+
/** Optional session ID for conversation continuity. Only one request may be active for a session at a time; overlapping turns for the same session return 409 Conflict. */
|
|
27
27
|
session_id?: string;
|
|
28
28
|
/** The ID of the agent to chat with */
|
|
29
29
|
agent_id: string;
|
|
@@ -11,6 +11,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
11
11
|
import { normalizeClientOptionsWithAuth } from "../../../../../../BaseClient.mjs";
|
|
12
12
|
import { mergeHeaders } from "../../../../../../core/headers.mjs";
|
|
13
13
|
import * as core from "../../../../../../core/index.mjs";
|
|
14
|
+
import { mergeAdditionalBodyParameters } from "../../../../../../core/requestBody.mjs";
|
|
14
15
|
import * as environments from "../../../../../../environments.mjs";
|
|
15
16
|
import { handleNonStatusCodeError } from "../../../../../../errors/handleNonStatusCodeError.mjs";
|
|
16
17
|
import * as errors from "../../../../../../errors/index.mjs";
|
|
@@ -54,7 +55,7 @@ export class PromptsClient {
|
|
|
54
55
|
contentType: "application/json",
|
|
55
56
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
56
57
|
requestType: "json",
|
|
57
|
-
body: request,
|
|
58
|
+
body: mergeAdditionalBodyParameters(request, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
58
59
|
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
59
60
|
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
60
61
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -232,7 +233,7 @@ export class PromptsClient {
|
|
|
232
233
|
contentType: "application/json",
|
|
233
234
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
234
235
|
requestType: "json",
|
|
235
|
-
body: request,
|
|
236
|
+
body: mergeAdditionalBodyParameters(request, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
236
237
|
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
237
238
|
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
238
239
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -357,7 +358,7 @@ export class PromptsClient {
|
|
|
357
358
|
contentType: "application/json+patch",
|
|
358
359
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
359
360
|
requestType: "json",
|
|
360
|
-
body: request,
|
|
361
|
+
body: mergeAdditionalBodyParameters(request, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
361
362
|
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
362
363
|
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
363
364
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -11,6 +11,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
11
11
|
import { normalizeClientOptionsWithAuth } from "../../../../BaseClient.mjs";
|
|
12
12
|
import { mergeHeaders } from "../../../../core/headers.mjs";
|
|
13
13
|
import * as core from "../../../../core/index.mjs";
|
|
14
|
+
import { mergeAdditionalBodyParameters } from "../../../../core/requestBody.mjs";
|
|
14
15
|
import * as environments from "../../../../environments.mjs";
|
|
15
16
|
import { handleNonStatusCodeError } from "../../../../errors/handleNonStatusCodeError.mjs";
|
|
16
17
|
import * as errors from "../../../../errors/index.mjs";
|
|
@@ -52,7 +53,7 @@ export class AuthtokenClient {
|
|
|
52
53
|
contentType: "application/json",
|
|
53
54
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
54
55
|
requestType: "json",
|
|
55
|
-
body: request,
|
|
56
|
+
body: mergeAdditionalBodyParameters(request, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
56
57
|
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
57
58
|
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
58
59
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -11,6 +11,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
11
11
|
import { normalizeClientOptionsWithAuth } from "../../../../BaseClient.mjs";
|
|
12
12
|
import { mergeHeaders } from "../../../../core/headers.mjs";
|
|
13
13
|
import * as core from "../../../../core/index.mjs";
|
|
14
|
+
import { mergeAdditionalBodyParameters } from "../../../../core/requestBody.mjs";
|
|
14
15
|
import * as environments from "../../../../environments.mjs";
|
|
15
16
|
import { handleNonStatusCodeError } from "../../../../errors/handleNonStatusCodeError.mjs";
|
|
16
17
|
import * as errors from "../../../../errors/index.mjs";
|
|
@@ -49,7 +50,7 @@ export class CohortClient {
|
|
|
49
50
|
contentType: "application/json",
|
|
50
51
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
51
52
|
requestType: "json",
|
|
52
|
-
body: request,
|
|
53
|
+
body: mergeAdditionalBodyParameters(request, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
53
54
|
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
54
55
|
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
55
56
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -11,6 +11,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
11
11
|
import { normalizeClientOptionsWithAuth } from "../../../../BaseClient.mjs";
|
|
12
12
|
import { mergeHeaders } from "../../../../core/headers.mjs";
|
|
13
13
|
import * as core from "../../../../core/index.mjs";
|
|
14
|
+
import { mergeAdditionalBodyParameters } from "../../../../core/requestBody.mjs";
|
|
14
15
|
import * as environments from "../../../../environments.mjs";
|
|
15
16
|
import { handleNonStatusCodeError } from "../../../../errors/handleNonStatusCodeError.mjs";
|
|
16
17
|
import * as errors from "../../../../errors/index.mjs";
|
|
@@ -84,7 +85,7 @@ export class ConstrueClient {
|
|
|
84
85
|
contentType: "application/json",
|
|
85
86
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
86
87
|
requestType: "json",
|
|
87
|
-
body: request,
|
|
88
|
+
body: mergeAdditionalBodyParameters(request, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
88
89
|
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
89
90
|
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
90
91
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -11,6 +11,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
11
11
|
import { normalizeClientOptionsWithAuth } from "../../../../../../BaseClient.mjs";
|
|
12
12
|
import { mergeHeaders } from "../../../../../../core/headers.mjs";
|
|
13
13
|
import * as core from "../../../../../../core/index.mjs";
|
|
14
|
+
import { mergeAdditionalBodyParameters } from "../../../../../../core/requestBody.mjs";
|
|
14
15
|
import * as environments from "../../../../../../environments.mjs";
|
|
15
16
|
import { handleNonStatusCodeError } from "../../../../../../errors/handleNonStatusCodeError.mjs";
|
|
16
17
|
import * as errors from "../../../../../../errors/index.mjs";
|
|
@@ -77,7 +78,7 @@ export class CodeSystemsClient {
|
|
|
77
78
|
contentType: "application/json",
|
|
78
79
|
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
79
80
|
requestType: "json",
|
|
80
|
-
body: request,
|
|
81
|
+
body: mergeAdditionalBodyParameters(request, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
|
|
81
82
|
timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
|
|
82
83
|
maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
|
|
83
84
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|