@corti/sdk 5.0.0-rc → 6.0.0-rc
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/README.md +19 -13
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/agentic/resources/agents/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/agentic/resources/agents/client/Client.js +1 -1
- package/dist/cjs/api/resources/agentic/resources/agents/client/requests/AgenticAgentsCreateRequest.d.ts +3 -1
- package/dist/cjs/api/resources/agentic/resources/agents/client/requests/AgenticAgentsPatchRequest.d.ts +2 -0
- package/dist/cjs/api/resources/codes/client/Client.d.ts +6 -3
- package/dist/cjs/api/resources/codes/client/Client.js +6 -3
- package/dist/cjs/api/resources/codes/client/requests/CodesGeneralPredictRequest.d.ts +5 -2
- package/dist/cjs/api/resources/documents/resources/classic/client/Client.d.ts +20 -0
- package/dist/cjs/api/resources/documents/resources/classic/client/Client.js +20 -0
- package/dist/cjs/api/resources/languages/client/Client.d.ts +0 -1
- package/dist/cjs/api/resources/languages/client/Client.js +0 -9
- package/dist/cjs/api/resources/languages/types/LanguagesListRequestEndpoint.d.ts +0 -1
- package/dist/cjs/api/resources/languages/types/LanguagesListRequestEndpoint.js +0 -1
- package/dist/cjs/api/resources/languages/types/LanguagesListResponse.d.ts +4 -0
- package/dist/cjs/api/resources/languages/types/LanguagesListResponseLanguagesValue.d.ts +4 -0
- package/dist/cjs/api/resources/languages/types/LanguagesListResponseLanguagesValueEndpoints.d.ts +9 -0
- package/dist/cjs/api/resources/languages/types/LanguagesListResponseLanguagesValueEndpoints.js +3 -0
- package/dist/cjs/api/resources/languages/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/languages/types/index.js +3 -0
- package/dist/cjs/api/resources/templates/client/Client.d.ts +18 -0
- package/dist/cjs/api/resources/templates/client/Client.js +18 -0
- package/dist/cjs/api/resources/transcripts/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/transcripts/client/Client.js +8 -2
- package/dist/cjs/api/resources/transcripts/client/requests/TranscriptsCreateRequest.d.ts +5 -2
- package/dist/cjs/api/resources/transcripts/client/requests/TranscriptsListRequest.d.ts +3 -0
- package/dist/cjs/api/resources/transcripts/types/TranscriptsCreateRequestWordLevel.d.ts +6 -0
- package/dist/cjs/api/resources/transcripts/types/TranscriptsCreateRequestWordLevel.js +3 -0
- package/dist/cjs/api/resources/transcripts/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/transcripts/types/index.js +1 -0
- package/dist/cjs/api/types/AgenticAgentsResponse.d.ts +4 -0
- package/dist/cjs/api/types/AgentsCreateMcpServer.d.ts +6 -2
- package/dist/cjs/api/types/AgentsMcpServer.d.ts +6 -2
- package/dist/cjs/api/types/AgentsRegistryMcpServer.d.ts +4 -0
- package/dist/cjs/api/types/CodesFilter.d.ts +5 -6
- package/dist/cjs/api/types/CodesFilterCondition.d.ts +12 -0
- package/dist/cjs/api/types/CodesFilterCondition.js +3 -0
- package/dist/cjs/api/types/CodesFilterConditionOp.d.ts +9 -0
- package/dist/cjs/api/types/CodesFilterConditionOp.js +12 -0
- package/dist/cjs/api/types/CodesFilterConditionValue.d.ts +4 -0
- package/dist/cjs/api/types/CodesFilterConditionValue.js +3 -0
- package/dist/cjs/api/types/CommonCodingSystemEnum.d.ts +9 -0
- package/dist/cjs/api/types/CommonCodingSystemEnum.js +9 -0
- package/dist/cjs/api/types/CommonConnectorAuth.d.ts +6 -2
- package/dist/cjs/api/types/CommonCortiMetadata.d.ts +8 -0
- package/dist/cjs/api/types/CommonCortiMetadata.js +3 -0
- package/dist/cjs/api/types/CommonCortiUsage.d.ts +13 -0
- package/dist/cjs/api/types/CommonCortiUsage.js +3 -0
- package/dist/cjs/api/types/CommonTaskMetadata.d.ts +4 -5
- package/dist/cjs/api/types/CommonTaskResponse.d.ts +1 -1
- package/dist/cjs/api/types/CommonTranscriptResponse.d.ts +1 -1
- package/dist/cjs/api/types/GuidedArrayNode.d.ts +2 -0
- package/dist/cjs/api/types/GuidedAssemblySectionRef.d.ts +2 -1
- package/dist/cjs/api/types/GuidedObjectNode.d.ts +2 -0
- package/dist/cjs/api/types/GuidedSectionOverride.d.ts +1 -2
- package/dist/cjs/api/types/GuidedSectionOverridePatch.d.ts +14 -0
- package/dist/cjs/api/types/GuidedSectionOverridePatch.js +3 -0
- package/dist/cjs/api/types/GuidedTemplateOverrides.d.ts +7 -2
- package/dist/cjs/api/types/GuidedTemplateOverridesGeneration.d.ts +10 -0
- package/dist/cjs/api/types/GuidedTemplateOverridesGeneration.js +3 -0
- package/dist/cjs/api/types/InteractionsDeletionReasonEnum.d.ts +6 -0
- package/dist/cjs/api/types/InteractionsDeletionReasonEnum.js +9 -0
- package/dist/cjs/api/types/InteractionsGetResponse.d.ts +6 -0
- package/dist/cjs/api/types/InteractionsPatient.d.ts +1 -1
- package/dist/cjs/api/types/LanguagesEndpointAttributes.d.ts +4 -0
- package/dist/cjs/api/types/LanguagesEndpointAttributes.js +3 -0
- package/dist/cjs/api/types/StreamConfig.d.ts +2 -1
- package/dist/cjs/api/types/StreamConfigParticipant.d.ts +2 -3
- package/dist/cjs/api/types/StreamConfigTranscription.d.ts +2 -2
- package/dist/cjs/api/types/StreamFormatting.d.ts +15 -0
- package/dist/cjs/api/types/StreamFormatting.js +3 -0
- package/dist/cjs/api/types/StreamFormattingDates.d.ts +9 -0
- package/dist/cjs/api/types/StreamFormattingDates.js +12 -0
- package/dist/cjs/api/types/StreamFormattingMeasurements.d.ts +6 -0
- package/dist/cjs/api/types/StreamFormattingMeasurements.js +9 -0
- package/dist/cjs/api/types/StreamFormattingNumbers.d.ts +7 -0
- package/dist/cjs/api/types/StreamFormattingNumbers.js +10 -0
- package/dist/cjs/api/types/StreamFormattingNumericRanges.d.ts +6 -0
- package/dist/cjs/api/types/StreamFormattingNumericRanges.js +9 -0
- package/dist/cjs/api/types/StreamFormattingOrdinals.d.ts +7 -0
- package/dist/cjs/api/types/StreamFormattingOrdinals.js +10 -0
- package/dist/cjs/api/types/StreamFormattingTimes.d.ts +8 -0
- package/dist/cjs/api/types/StreamFormattingTimes.js +11 -0
- package/dist/cjs/api/types/TranscribeConfig.d.ts +1 -1
- package/dist/cjs/api/types/TranscriptsFormatting.d.ts +15 -0
- package/dist/cjs/api/types/TranscriptsFormatting.js +3 -0
- package/dist/cjs/api/types/TranscriptsFormattingDates.d.ts +9 -0
- package/dist/cjs/api/types/TranscriptsFormattingDates.js +12 -0
- package/dist/cjs/api/types/TranscriptsFormattingMeasurements.d.ts +6 -0
- package/dist/cjs/api/types/TranscriptsFormattingMeasurements.js +9 -0
- package/dist/cjs/api/types/TranscriptsFormattingNumbers.d.ts +7 -0
- package/dist/cjs/api/types/TranscriptsFormattingNumbers.js +10 -0
- package/dist/cjs/api/types/TranscriptsFormattingNumericRanges.d.ts +6 -0
- package/dist/cjs/api/types/TranscriptsFormattingNumericRanges.js +9 -0
- package/dist/cjs/api/types/TranscriptsFormattingOrdinals.d.ts +7 -0
- package/dist/cjs/api/types/TranscriptsFormattingOrdinals.js +10 -0
- package/dist/cjs/api/types/TranscriptsFormattingTimes.d.ts +8 -0
- package/dist/cjs/api/types/TranscriptsFormattingTimes.js +11 -0
- package/dist/cjs/api/types/TranscriptsListItem.d.ts +1 -1
- package/dist/cjs/api/types/TranscriptsParticipant.d.ts +2 -3
- package/dist/cjs/api/types/index.d.ts +23 -4
- package/dist/cjs/api/types/index.js +23 -4
- package/dist/cjs/custom/CortiClient.d.ts +13 -0
- package/dist/cjs/custom/CortiClient.js +24 -0
- package/dist/cjs/custom/auth/CortiAuth.js +1 -1
- package/dist/cjs/custom/utils/sdkHeaderNames.js +1 -0
- package/dist/cjs/custom/utils/stripFernNormalizedHeaders.d.ts +1 -1
- package/dist/cjs/custom/utils/stripFernNormalizedHeaders.js +2 -2
- package/dist/cjs/serialization/resources/agentic/resources/agents/client/requests/AgenticAgentsCreateRequest.d.ts +1 -0
- package/dist/cjs/serialization/resources/agentic/resources/agents/client/requests/AgenticAgentsCreateRequest.js +1 -0
- package/dist/cjs/serialization/resources/agentic/resources/agents/client/requests/AgenticAgentsPatchRequest.d.ts +1 -0
- package/dist/cjs/serialization/resources/agentic/resources/agents/client/requests/AgenticAgentsPatchRequest.js +1 -0
- package/dist/cjs/serialization/resources/languages/types/LanguagesListResponse.d.ts +10 -0
- package/dist/cjs/serialization/resources/languages/types/LanguagesListResponse.js +42 -0
- package/dist/cjs/serialization/resources/languages/types/LanguagesListResponseLanguagesValue.d.ts +10 -0
- package/dist/cjs/serialization/resources/languages/types/LanguagesListResponseLanguagesValue.js +42 -0
- package/dist/cjs/serialization/resources/languages/types/LanguagesListResponseLanguagesValueEndpoints.d.ts +12 -0
- package/dist/cjs/serialization/resources/languages/types/LanguagesListResponseLanguagesValueEndpoints.js +44 -0
- package/dist/cjs/serialization/resources/languages/types/index.d.ts +3 -0
- package/dist/cjs/serialization/resources/languages/types/index.js +3 -0
- package/dist/cjs/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.d.ts +4 -0
- package/dist/cjs/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.js +4 -0
- package/dist/cjs/serialization/resources/transcripts/types/TranscriptsCreateRequestWordLevel.d.ts +9 -0
- package/dist/cjs/serialization/resources/transcripts/types/TranscriptsCreateRequestWordLevel.js +41 -0
- package/dist/cjs/serialization/resources/transcripts/types/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/transcripts/types/index.js +1 -0
- package/dist/cjs/serialization/types/AgenticAgentsResponse.d.ts +2 -0
- package/dist/cjs/serialization/types/AgenticAgentsResponse.js +2 -0
- package/dist/cjs/serialization/types/AgentsCreateMcpServer.d.ts +3 -1
- package/dist/cjs/serialization/types/AgentsCreateMcpServer.js +3 -1
- package/dist/cjs/serialization/types/AgentsMcpServer.d.ts +3 -1
- package/dist/cjs/serialization/types/AgentsMcpServer.js +3 -1
- package/dist/cjs/serialization/types/AgentsRegistryMcpServer.d.ts +2 -0
- package/dist/cjs/serialization/types/AgentsRegistryMcpServer.js +2 -0
- package/dist/cjs/serialization/types/CodesFilter.d.ts +3 -3
- package/dist/cjs/serialization/types/CodesFilter.js +3 -3
- package/dist/cjs/serialization/types/CodesFilterCondition.d.ts +13 -0
- package/dist/cjs/serialization/types/{CommonUsage.js → CodesFilterCondition.js} +7 -9
- package/dist/cjs/serialization/types/CodesFilterConditionOp.d.ts +7 -0
- package/dist/cjs/serialization/types/{TranscriptsParticipantRoleEnum.js → CodesFilterConditionOp.js} +2 -2
- package/dist/cjs/serialization/types/CodesFilterConditionValue.d.ts +7 -0
- package/dist/cjs/serialization/types/CodesFilterConditionValue.js +44 -0
- package/dist/cjs/serialization/types/CommonCodingSystemEnum.d.ts +1 -1
- package/dist/cjs/serialization/types/CommonCodingSystemEnum.js +9 -0
- package/dist/cjs/serialization/types/CommonConnectorAuth.d.ts +3 -1
- package/dist/cjs/serialization/types/CommonConnectorAuth.js +3 -1
- package/dist/cjs/serialization/types/CommonCortiMetadata.d.ts +10 -0
- package/dist/cjs/serialization/types/CommonCortiMetadata.js +42 -0
- package/dist/cjs/serialization/types/CommonCortiUsage.d.ts +11 -0
- package/dist/cjs/serialization/types/CommonCortiUsage.js +43 -0
- package/dist/cjs/serialization/types/CommonTaskMetadata.d.ts +2 -2
- package/dist/cjs/serialization/types/CommonTaskMetadata.js +2 -2
- package/dist/cjs/serialization/types/GuidedArrayNode.d.ts +1 -0
- package/dist/cjs/serialization/types/GuidedArrayNode.js +1 -0
- package/dist/cjs/serialization/types/GuidedAssemblySectionRef.d.ts +2 -2
- package/dist/cjs/serialization/types/GuidedAssemblySectionRef.js +2 -2
- package/dist/cjs/serialization/types/GuidedObjectNode.d.ts +1 -0
- package/dist/cjs/serialization/types/GuidedObjectNode.js +1 -0
- package/dist/cjs/serialization/types/GuidedSectionOverride.d.ts +2 -3
- package/dist/cjs/serialization/types/GuidedSectionOverride.js +5 -4
- package/dist/cjs/serialization/types/GuidedSectionOverridePatch.d.ts +14 -0
- package/dist/cjs/serialization/types/GuidedSectionOverridePatch.js +47 -0
- package/dist/cjs/serialization/types/GuidedTemplateOverrides.d.ts +2 -0
- package/dist/cjs/serialization/types/GuidedTemplateOverrides.js +2 -0
- package/dist/cjs/serialization/types/GuidedTemplateOverridesGeneration.d.ts +12 -0
- package/dist/cjs/serialization/types/GuidedTemplateOverridesGeneration.js +44 -0
- package/dist/cjs/serialization/types/InteractionsDeletionReasonEnum.d.ts +7 -0
- package/dist/cjs/serialization/types/InteractionsDeletionReasonEnum.js +39 -0
- package/dist/cjs/serialization/types/InteractionsGetResponse.d.ts +4 -0
- package/dist/cjs/serialization/types/InteractionsGetResponse.js +4 -0
- package/dist/cjs/serialization/types/InteractionsPatient.d.ts +1 -1
- package/dist/cjs/serialization/types/InteractionsPatient.js +1 -1
- package/dist/cjs/serialization/types/LanguagesEndpointAttributes.d.ts +9 -0
- package/dist/cjs/serialization/types/{LanguagesListResponse.js → LanguagesEndpointAttributes.js} +3 -3
- package/dist/cjs/serialization/types/StreamConfig.d.ts +2 -0
- package/dist/cjs/serialization/types/StreamConfig.js +2 -0
- package/dist/cjs/serialization/types/StreamConfigParticipant.d.ts +1 -2
- package/dist/cjs/serialization/types/StreamConfigParticipant.js +1 -2
- package/dist/cjs/serialization/types/StreamFormatting.d.ts +20 -0
- package/dist/cjs/serialization/types/StreamFormatting.js +52 -0
- package/dist/cjs/serialization/types/StreamFormattingDates.d.ts +7 -0
- package/dist/cjs/serialization/types/StreamFormattingDates.js +39 -0
- package/dist/cjs/serialization/types/StreamFormattingMeasurements.d.ts +7 -0
- package/dist/cjs/serialization/types/{StreamConfigParticipantRole.js → StreamFormattingMeasurements.js} +2 -2
- package/dist/cjs/serialization/types/StreamFormattingNumbers.d.ts +7 -0
- package/dist/cjs/serialization/types/StreamFormattingNumbers.js +39 -0
- package/dist/cjs/serialization/types/StreamFormattingNumericRanges.d.ts +7 -0
- package/dist/cjs/serialization/types/StreamFormattingNumericRanges.js +39 -0
- package/dist/cjs/serialization/types/StreamFormattingOrdinals.d.ts +7 -0
- package/dist/cjs/serialization/types/StreamFormattingOrdinals.js +39 -0
- package/dist/cjs/serialization/types/StreamFormattingTimes.d.ts +7 -0
- package/dist/cjs/serialization/types/StreamFormattingTimes.js +39 -0
- package/dist/cjs/serialization/types/TranscriptsFormatting.d.ts +20 -0
- package/dist/cjs/serialization/types/TranscriptsFormatting.js +52 -0
- package/dist/cjs/serialization/types/TranscriptsFormattingDates.d.ts +7 -0
- package/dist/cjs/serialization/types/TranscriptsFormattingDates.js +39 -0
- package/dist/cjs/serialization/types/TranscriptsFormattingMeasurements.d.ts +7 -0
- package/dist/cjs/serialization/types/TranscriptsFormattingMeasurements.js +39 -0
- package/dist/cjs/serialization/types/TranscriptsFormattingNumbers.d.ts +7 -0
- package/dist/cjs/serialization/types/TranscriptsFormattingNumbers.js +39 -0
- package/dist/cjs/serialization/types/TranscriptsFormattingNumericRanges.d.ts +7 -0
- package/dist/cjs/serialization/types/TranscriptsFormattingNumericRanges.js +39 -0
- package/dist/cjs/serialization/types/TranscriptsFormattingOrdinals.d.ts +7 -0
- package/dist/cjs/serialization/types/TranscriptsFormattingOrdinals.js +39 -0
- package/dist/cjs/serialization/types/TranscriptsFormattingTimes.d.ts +7 -0
- package/dist/cjs/serialization/types/TranscriptsFormattingTimes.js +39 -0
- package/dist/cjs/serialization/types/TranscriptsListItem.d.ts +1 -1
- package/dist/cjs/serialization/types/TranscriptsListItem.js +1 -1
- package/dist/cjs/serialization/types/TranscriptsParticipant.d.ts +1 -2
- package/dist/cjs/serialization/types/TranscriptsParticipant.js +1 -2
- package/dist/cjs/serialization/types/index.d.ts +23 -4
- package/dist/cjs/serialization/types/index.js +23 -4
- 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/agentic/resources/agents/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/agentic/resources/agents/client/Client.mjs +1 -1
- package/dist/esm/api/resources/agentic/resources/agents/client/requests/AgenticAgentsCreateRequest.d.mts +3 -1
- package/dist/esm/api/resources/agentic/resources/agents/client/requests/AgenticAgentsPatchRequest.d.mts +2 -0
- package/dist/esm/api/resources/codes/client/Client.d.mts +6 -3
- package/dist/esm/api/resources/codes/client/Client.mjs +6 -3
- package/dist/esm/api/resources/codes/client/requests/CodesGeneralPredictRequest.d.mts +5 -2
- package/dist/esm/api/resources/documents/resources/classic/client/Client.d.mts +20 -0
- package/dist/esm/api/resources/documents/resources/classic/client/Client.mjs +20 -0
- package/dist/esm/api/resources/languages/client/Client.d.mts +0 -1
- package/dist/esm/api/resources/languages/client/Client.mjs +0 -9
- package/dist/esm/api/resources/languages/types/LanguagesListRequestEndpoint.d.mts +0 -1
- package/dist/esm/api/resources/languages/types/LanguagesListRequestEndpoint.mjs +0 -1
- package/dist/esm/api/resources/languages/types/LanguagesListResponse.d.mts +4 -0
- package/dist/esm/api/resources/languages/types/LanguagesListResponseLanguagesValue.d.mts +4 -0
- package/dist/esm/api/resources/languages/types/LanguagesListResponseLanguagesValueEndpoints.d.mts +9 -0
- package/dist/esm/api/resources/languages/types/LanguagesListResponseLanguagesValueEndpoints.mjs +2 -0
- package/dist/esm/api/resources/languages/types/index.d.mts +3 -0
- package/dist/esm/api/resources/languages/types/index.mjs +3 -0
- package/dist/esm/api/resources/templates/client/Client.d.mts +18 -0
- package/dist/esm/api/resources/templates/client/Client.mjs +18 -0
- package/dist/esm/api/resources/transcripts/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/transcripts/client/Client.mjs +8 -2
- package/dist/esm/api/resources/transcripts/client/requests/TranscriptsCreateRequest.d.mts +5 -2
- package/dist/esm/api/resources/transcripts/client/requests/TranscriptsListRequest.d.mts +3 -0
- package/dist/esm/api/resources/transcripts/types/TranscriptsCreateRequestWordLevel.d.mts +6 -0
- package/dist/esm/api/resources/transcripts/types/TranscriptsCreateRequestWordLevel.mjs +2 -0
- package/dist/esm/api/resources/transcripts/types/index.d.mts +1 -0
- package/dist/esm/api/resources/transcripts/types/index.mjs +1 -0
- package/dist/esm/api/types/AgenticAgentsResponse.d.mts +4 -0
- package/dist/esm/api/types/AgentsCreateMcpServer.d.mts +6 -2
- package/dist/esm/api/types/AgentsMcpServer.d.mts +6 -2
- package/dist/esm/api/types/AgentsRegistryMcpServer.d.mts +4 -0
- package/dist/esm/api/types/CodesFilter.d.mts +5 -6
- package/dist/esm/api/types/CodesFilterCondition.d.mts +12 -0
- package/dist/esm/api/types/CodesFilterCondition.mjs +2 -0
- package/dist/esm/api/types/CodesFilterConditionOp.d.mts +9 -0
- package/dist/esm/api/types/CodesFilterConditionOp.mjs +9 -0
- package/dist/esm/api/types/CodesFilterConditionValue.d.mts +4 -0
- package/dist/esm/api/types/CodesFilterConditionValue.mjs +2 -0
- package/dist/esm/api/types/CommonCodingSystemEnum.d.mts +9 -0
- package/dist/esm/api/types/CommonCodingSystemEnum.mjs +9 -0
- package/dist/esm/api/types/CommonConnectorAuth.d.mts +6 -2
- package/dist/esm/api/types/CommonCortiMetadata.d.mts +8 -0
- package/dist/esm/api/types/CommonCortiMetadata.mjs +2 -0
- package/dist/esm/api/types/CommonCortiUsage.d.mts +13 -0
- package/dist/esm/api/types/CommonCortiUsage.mjs +2 -0
- package/dist/esm/api/types/CommonTaskMetadata.d.mts +4 -5
- package/dist/esm/api/types/CommonTaskResponse.d.mts +1 -1
- package/dist/esm/api/types/CommonTranscriptResponse.d.mts +1 -1
- package/dist/esm/api/types/GuidedArrayNode.d.mts +2 -0
- package/dist/esm/api/types/GuidedAssemblySectionRef.d.mts +2 -1
- package/dist/esm/api/types/GuidedObjectNode.d.mts +2 -0
- package/dist/esm/api/types/GuidedSectionOverride.d.mts +1 -2
- package/dist/esm/api/types/GuidedSectionOverridePatch.d.mts +14 -0
- package/dist/esm/api/types/GuidedSectionOverridePatch.mjs +2 -0
- package/dist/esm/api/types/GuidedTemplateOverrides.d.mts +7 -2
- package/dist/esm/api/types/GuidedTemplateOverridesGeneration.d.mts +10 -0
- package/dist/esm/api/types/GuidedTemplateOverridesGeneration.mjs +2 -0
- package/dist/esm/api/types/InteractionsDeletionReasonEnum.d.mts +6 -0
- package/dist/esm/api/types/InteractionsDeletionReasonEnum.mjs +6 -0
- package/dist/esm/api/types/InteractionsGetResponse.d.mts +6 -0
- package/dist/esm/api/types/InteractionsPatient.d.mts +1 -1
- package/dist/esm/api/types/LanguagesEndpointAttributes.d.mts +4 -0
- package/dist/esm/api/types/LanguagesEndpointAttributes.mjs +2 -0
- package/dist/esm/api/types/StreamConfig.d.mts +2 -1
- package/dist/esm/api/types/StreamConfigParticipant.d.mts +2 -3
- package/dist/esm/api/types/StreamConfigTranscription.d.mts +2 -2
- package/dist/esm/api/types/StreamFormatting.d.mts +15 -0
- package/dist/esm/api/types/StreamFormatting.mjs +2 -0
- package/dist/esm/api/types/StreamFormattingDates.d.mts +9 -0
- package/dist/esm/api/types/StreamFormattingDates.mjs +9 -0
- package/dist/esm/api/types/StreamFormattingMeasurements.d.mts +6 -0
- package/dist/esm/api/types/StreamFormattingMeasurements.mjs +6 -0
- package/dist/esm/api/types/StreamFormattingNumbers.d.mts +7 -0
- package/dist/esm/api/types/StreamFormattingNumbers.mjs +7 -0
- package/dist/esm/api/types/StreamFormattingNumericRanges.d.mts +6 -0
- package/dist/esm/api/types/StreamFormattingNumericRanges.mjs +6 -0
- package/dist/esm/api/types/StreamFormattingOrdinals.d.mts +7 -0
- package/dist/esm/api/types/StreamFormattingOrdinals.mjs +7 -0
- package/dist/esm/api/types/StreamFormattingTimes.d.mts +8 -0
- package/dist/esm/api/types/StreamFormattingTimes.mjs +8 -0
- package/dist/esm/api/types/TranscribeConfig.d.mts +1 -1
- package/dist/esm/api/types/TranscriptsFormatting.d.mts +15 -0
- package/dist/esm/api/types/TranscriptsFormatting.mjs +2 -0
- package/dist/esm/api/types/TranscriptsFormattingDates.d.mts +9 -0
- package/dist/esm/api/types/TranscriptsFormattingDates.mjs +9 -0
- package/dist/esm/api/types/TranscriptsFormattingMeasurements.d.mts +6 -0
- package/dist/esm/api/types/TranscriptsFormattingMeasurements.mjs +6 -0
- package/dist/esm/api/types/TranscriptsFormattingNumbers.d.mts +7 -0
- package/dist/esm/api/types/TranscriptsFormattingNumbers.mjs +7 -0
- package/dist/esm/api/types/TranscriptsFormattingNumericRanges.d.mts +6 -0
- package/dist/esm/api/types/TranscriptsFormattingNumericRanges.mjs +6 -0
- package/dist/esm/api/types/TranscriptsFormattingOrdinals.d.mts +7 -0
- package/dist/esm/api/types/TranscriptsFormattingOrdinals.mjs +7 -0
- package/dist/esm/api/types/TranscriptsFormattingTimes.d.mts +8 -0
- package/dist/esm/api/types/TranscriptsFormattingTimes.mjs +8 -0
- package/dist/esm/api/types/TranscriptsListItem.d.mts +1 -1
- package/dist/esm/api/types/TranscriptsParticipant.d.mts +2 -3
- package/dist/esm/api/types/index.d.mts +23 -4
- package/dist/esm/api/types/index.mjs +23 -4
- package/dist/esm/custom/CortiClient.d.mts +13 -0
- package/dist/esm/custom/CortiClient.mjs +25 -1
- package/dist/esm/custom/auth/CortiAuth.mjs +2 -2
- package/dist/esm/custom/utils/sdkHeaderNames.mjs +1 -0
- package/dist/esm/custom/utils/stripFernNormalizedHeaders.d.mts +1 -1
- package/dist/esm/custom/utils/stripFernNormalizedHeaders.mjs +1 -1
- package/dist/esm/serialization/resources/agentic/resources/agents/client/requests/AgenticAgentsCreateRequest.d.mts +1 -0
- package/dist/esm/serialization/resources/agentic/resources/agents/client/requests/AgenticAgentsCreateRequest.mjs +1 -0
- package/dist/esm/serialization/resources/agentic/resources/agents/client/requests/AgenticAgentsPatchRequest.d.mts +1 -0
- package/dist/esm/serialization/resources/agentic/resources/agents/client/requests/AgenticAgentsPatchRequest.mjs +1 -0
- package/dist/esm/serialization/resources/languages/types/LanguagesListResponse.d.mts +10 -0
- package/dist/esm/serialization/{types → resources/languages/types}/LanguagesListResponse.mjs +3 -2
- package/dist/esm/serialization/resources/languages/types/LanguagesListResponseLanguagesValue.d.mts +10 -0
- package/dist/esm/serialization/resources/languages/types/LanguagesListResponseLanguagesValue.mjs +6 -0
- package/dist/esm/serialization/resources/languages/types/LanguagesListResponseLanguagesValueEndpoints.d.mts +12 -0
- package/dist/esm/serialization/resources/languages/types/LanguagesListResponseLanguagesValueEndpoints.mjs +8 -0
- package/dist/esm/serialization/resources/languages/types/index.d.mts +3 -0
- package/dist/esm/serialization/resources/languages/types/index.mjs +3 -0
- package/dist/esm/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.d.mts +4 -0
- package/dist/esm/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.mjs +4 -0
- package/dist/esm/serialization/resources/transcripts/types/TranscriptsCreateRequestWordLevel.d.mts +9 -0
- package/dist/esm/serialization/resources/transcripts/types/TranscriptsCreateRequestWordLevel.mjs +5 -0
- package/dist/esm/serialization/resources/transcripts/types/index.d.mts +1 -0
- package/dist/esm/serialization/resources/transcripts/types/index.mjs +1 -0
- package/dist/esm/serialization/types/AgenticAgentsResponse.d.mts +2 -0
- package/dist/esm/serialization/types/AgenticAgentsResponse.mjs +2 -0
- package/dist/esm/serialization/types/AgentsCreateMcpServer.d.mts +3 -1
- package/dist/esm/serialization/types/AgentsCreateMcpServer.mjs +3 -1
- package/dist/esm/serialization/types/AgentsMcpServer.d.mts +3 -1
- package/dist/esm/serialization/types/AgentsMcpServer.mjs +3 -1
- package/dist/esm/serialization/types/AgentsRegistryMcpServer.d.mts +2 -0
- package/dist/esm/serialization/types/AgentsRegistryMcpServer.mjs +2 -0
- package/dist/esm/serialization/types/CodesFilter.d.mts +3 -3
- package/dist/esm/serialization/types/CodesFilter.mjs +3 -3
- package/dist/esm/serialization/types/CodesFilterCondition.d.mts +13 -0
- package/dist/esm/serialization/types/CodesFilterCondition.mjs +9 -0
- package/dist/esm/serialization/types/CodesFilterConditionOp.d.mts +7 -0
- package/dist/esm/serialization/types/CodesFilterConditionOp.mjs +3 -0
- package/dist/esm/serialization/types/CodesFilterConditionValue.d.mts +7 -0
- package/dist/esm/serialization/types/CodesFilterConditionValue.mjs +8 -0
- package/dist/esm/serialization/types/CommonCodingSystemEnum.d.mts +1 -1
- package/dist/esm/serialization/types/CommonCodingSystemEnum.mjs +9 -0
- package/dist/esm/serialization/types/CommonConnectorAuth.d.mts +3 -1
- package/dist/esm/serialization/types/CommonConnectorAuth.mjs +3 -1
- package/dist/esm/serialization/types/CommonCortiMetadata.d.mts +10 -0
- package/dist/esm/serialization/types/CommonCortiMetadata.mjs +6 -0
- package/dist/esm/serialization/types/CommonCortiUsage.d.mts +11 -0
- package/dist/esm/serialization/types/CommonCortiUsage.mjs +7 -0
- package/dist/esm/serialization/types/CommonTaskMetadata.d.mts +2 -2
- package/dist/esm/serialization/types/CommonTaskMetadata.mjs +2 -2
- package/dist/esm/serialization/types/GuidedArrayNode.d.mts +1 -0
- package/dist/esm/serialization/types/GuidedArrayNode.mjs +1 -0
- package/dist/esm/serialization/types/GuidedAssemblySectionRef.d.mts +2 -2
- package/dist/esm/serialization/types/GuidedAssemblySectionRef.mjs +2 -2
- package/dist/esm/serialization/types/GuidedObjectNode.d.mts +1 -0
- package/dist/esm/serialization/types/GuidedObjectNode.mjs +1 -0
- package/dist/esm/serialization/types/GuidedSectionOverride.d.mts +2 -3
- package/dist/esm/serialization/types/GuidedSectionOverride.mjs +5 -4
- package/dist/esm/serialization/types/GuidedSectionOverridePatch.d.mts +14 -0
- package/dist/esm/serialization/types/GuidedSectionOverridePatch.mjs +11 -0
- package/dist/esm/serialization/types/GuidedTemplateOverrides.d.mts +2 -0
- package/dist/esm/serialization/types/GuidedTemplateOverrides.mjs +2 -0
- package/dist/esm/serialization/types/GuidedTemplateOverridesGeneration.d.mts +12 -0
- package/dist/esm/serialization/types/GuidedTemplateOverridesGeneration.mjs +8 -0
- package/dist/esm/serialization/types/InteractionsDeletionReasonEnum.d.mts +7 -0
- package/dist/esm/serialization/types/{TranscriptsParticipantRoleEnum.mjs → InteractionsDeletionReasonEnum.mjs} +1 -1
- package/dist/esm/serialization/types/InteractionsGetResponse.d.mts +4 -0
- package/dist/esm/serialization/types/InteractionsGetResponse.mjs +4 -0
- package/dist/esm/serialization/types/InteractionsPatient.d.mts +1 -1
- package/dist/esm/serialization/types/InteractionsPatient.mjs +1 -1
- package/dist/esm/serialization/types/LanguagesEndpointAttributes.d.mts +9 -0
- package/dist/esm/serialization/types/LanguagesEndpointAttributes.mjs +5 -0
- package/dist/esm/serialization/types/StreamConfig.d.mts +2 -0
- package/dist/esm/serialization/types/StreamConfig.mjs +2 -0
- package/dist/esm/serialization/types/StreamConfigParticipant.d.mts +1 -2
- package/dist/esm/serialization/types/StreamConfigParticipant.mjs +1 -2
- package/dist/esm/serialization/types/StreamFormatting.d.mts +20 -0
- package/dist/esm/serialization/types/StreamFormatting.mjs +16 -0
- package/dist/esm/serialization/types/StreamFormattingDates.d.mts +7 -0
- package/dist/esm/serialization/types/StreamFormattingDates.mjs +3 -0
- package/dist/esm/serialization/types/StreamFormattingMeasurements.d.mts +7 -0
- package/dist/esm/serialization/types/{StreamConfigParticipantRole.mjs → StreamFormattingMeasurements.mjs} +1 -1
- package/dist/esm/serialization/types/StreamFormattingNumbers.d.mts +7 -0
- package/dist/esm/serialization/types/StreamFormattingNumbers.mjs +3 -0
- package/dist/esm/serialization/types/StreamFormattingNumericRanges.d.mts +7 -0
- package/dist/esm/serialization/types/StreamFormattingNumericRanges.mjs +3 -0
- package/dist/esm/serialization/types/StreamFormattingOrdinals.d.mts +7 -0
- package/dist/esm/serialization/types/StreamFormattingOrdinals.mjs +3 -0
- package/dist/esm/serialization/types/StreamFormattingTimes.d.mts +7 -0
- package/dist/esm/serialization/types/StreamFormattingTimes.mjs +3 -0
- package/dist/esm/serialization/types/TranscriptsFormatting.d.mts +20 -0
- package/dist/esm/serialization/types/TranscriptsFormatting.mjs +16 -0
- package/dist/esm/serialization/types/TranscriptsFormattingDates.d.mts +7 -0
- package/dist/esm/serialization/types/TranscriptsFormattingDates.mjs +3 -0
- package/dist/esm/serialization/types/TranscriptsFormattingMeasurements.d.mts +7 -0
- package/dist/esm/serialization/types/TranscriptsFormattingMeasurements.mjs +3 -0
- package/dist/esm/serialization/types/TranscriptsFormattingNumbers.d.mts +7 -0
- package/dist/esm/serialization/types/TranscriptsFormattingNumbers.mjs +3 -0
- package/dist/esm/serialization/types/TranscriptsFormattingNumericRanges.d.mts +7 -0
- package/dist/esm/serialization/types/TranscriptsFormattingNumericRanges.mjs +3 -0
- package/dist/esm/serialization/types/TranscriptsFormattingOrdinals.d.mts +7 -0
- package/dist/esm/serialization/types/TranscriptsFormattingOrdinals.mjs +3 -0
- package/dist/esm/serialization/types/TranscriptsFormattingTimes.d.mts +7 -0
- package/dist/esm/serialization/types/TranscriptsFormattingTimes.mjs +3 -0
- package/dist/esm/serialization/types/TranscriptsListItem.d.mts +1 -1
- package/dist/esm/serialization/types/TranscriptsListItem.mjs +1 -1
- package/dist/esm/serialization/types/TranscriptsParticipant.d.mts +1 -2
- package/dist/esm/serialization/types/TranscriptsParticipant.mjs +1 -2
- package/dist/esm/serialization/types/index.d.mts +23 -4
- package/dist/esm/serialization/types/index.mjs +23 -4
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/dist/cjs/api/types/CommonUsage.d.ts +0 -25
- package/dist/cjs/api/types/LanguagesListResponse.d.ts +0 -3
- package/dist/cjs/api/types/StreamConfigParticipantRole.d.ts +0 -7
- package/dist/cjs/api/types/StreamConfigParticipantRole.js +0 -10
- package/dist/cjs/api/types/TranscriptsParticipantRoleEnum.d.ts +0 -6
- package/dist/cjs/api/types/TranscriptsParticipantRoleEnum.js +0 -9
- package/dist/cjs/serialization/types/CommonUsage.d.ts +0 -15
- package/dist/cjs/serialization/types/LanguagesListResponse.d.ts +0 -9
- package/dist/cjs/serialization/types/StreamConfigParticipantRole.d.ts +0 -7
- package/dist/cjs/serialization/types/TranscriptsParticipantRoleEnum.d.ts +0 -7
- package/dist/esm/api/types/CommonUsage.d.mts +0 -25
- package/dist/esm/api/types/LanguagesListResponse.d.mts +0 -3
- package/dist/esm/api/types/StreamConfigParticipantRole.d.mts +0 -7
- package/dist/esm/api/types/StreamConfigParticipantRole.mjs +0 -7
- package/dist/esm/api/types/TranscriptsParticipantRoleEnum.d.mts +0 -6
- package/dist/esm/api/types/TranscriptsParticipantRoleEnum.mjs +0 -6
- package/dist/esm/serialization/types/CommonUsage.d.mts +0 -15
- package/dist/esm/serialization/types/CommonUsage.mjs +0 -11
- package/dist/esm/serialization/types/LanguagesListResponse.d.mts +0 -9
- package/dist/esm/serialization/types/StreamConfigParticipantRole.d.mts +0 -7
- package/dist/esm/serialization/types/TranscriptsParticipantRoleEnum.d.mts +0 -7
- /package/dist/cjs/api/{types → resources/languages/types}/LanguagesListResponse.js +0 -0
- /package/dist/cjs/api/{types/CommonUsage.js → resources/languages/types/LanguagesListResponseLanguagesValue.js} +0 -0
- /package/dist/esm/api/{types → resources/languages/types}/LanguagesListResponse.mjs +0 -0
- /package/dist/esm/api/{types/CommonUsage.mjs → resources/languages/types/LanguagesListResponseLanguagesValue.mjs} +0 -0
package/README.md
CHANGED
|
@@ -18,8 +18,8 @@ The Corti JavaScript library provides convenient access to the Corti APIs from J
|
|
|
18
18
|
- [Pagination](#pagination)
|
|
19
19
|
- [Advanced](#advanced)
|
|
20
20
|
- [Additional Headers](#additional-headers)
|
|
21
|
-
- [Analytics](#analytics)
|
|
22
21
|
- [Additional Query String Parameters](#additional-query-string-parameters)
|
|
22
|
+
- [Analytics](#analytics)
|
|
23
23
|
- [Retries](#retries)
|
|
24
24
|
- [Timeouts](#timeouts)
|
|
25
25
|
- [Aborting Requests](#aborting-requests)
|
|
@@ -689,6 +689,24 @@ const response = await client.interactions.create(..., {
|
|
|
689
689
|
});
|
|
690
690
|
```
|
|
691
691
|
|
|
692
|
+
Use `await client.getHeaders()` to retrieve a `Headers` object containing all configured client headers: authentication, tenant, custom headers, analytics, and SDK metadata. Tokens are refreshed if needed and header suppliers are resolved on each call. Request-specific overrides and endpoint-specific headers such as `Accept` and `Content-Type` are not included. The existing `getAuthHeaders()` helper still returns only authentication and tenant headers.
|
|
693
|
+
|
|
694
|
+
```typescript
|
|
695
|
+
const headers = await client.getHeaders();
|
|
696
|
+
```
|
|
697
|
+
|
|
698
|
+
### Additional Query String Parameters
|
|
699
|
+
|
|
700
|
+
If you would like to send additional query string parameters as part of the request, use the `queryParams` request option.
|
|
701
|
+
|
|
702
|
+
```typescript
|
|
703
|
+
const response = await client.interactions.create(..., {
|
|
704
|
+
queryParams: {
|
|
705
|
+
'customQueryParamKey': 'custom query param value'
|
|
706
|
+
}
|
|
707
|
+
});
|
|
708
|
+
```
|
|
709
|
+
|
|
692
710
|
### Analytics
|
|
693
711
|
|
|
694
712
|
The SDK sends metadata about itself (`sdk_version`, `sdk_type`) with every request via the `X-Corti-Analytics` header (REST) or the `x-corti-analytics` query parameter (WebSocket). You can extend this payload with your own fields on the client constructor, and overlay extra fields on individual REST calls or WebSocket connections.
|
|
@@ -740,18 +758,6 @@ const socket = await client.stream.connect({
|
|
|
740
758
|
|
|
741
759
|
> **Note**: This value is in the query string and may appear in access logs — avoid personally identifiable information.
|
|
742
760
|
|
|
743
|
-
### Additional Query String Parameters
|
|
744
|
-
|
|
745
|
-
If you would like to send additional query string parameters as part of the request, use the `queryParams` request option.
|
|
746
|
-
|
|
747
|
-
```typescript
|
|
748
|
-
const response = await client.interactions.create(..., {
|
|
749
|
-
queryParams: {
|
|
750
|
-
'customQueryParamKey': 'custom query param value'
|
|
751
|
-
}
|
|
752
|
-
});
|
|
753
|
-
```
|
|
754
|
-
|
|
755
761
|
### Retries
|
|
756
762
|
|
|
757
763
|
The SDK is instrumented with automatic retries with exponential backoff. A request will be retried as long
|
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
|
|
|
43
43
|
const headers = (0, headers_js_1.mergeHeaders)({
|
|
44
44
|
"X-Fern-Language": "JavaScript",
|
|
45
45
|
"X-Fern-SDK-Name": "@corti/sdk",
|
|
46
|
-
"X-Fern-SDK-Version": "
|
|
47
|
-
"User-Agent": "@corti/sdk/
|
|
46
|
+
"X-Fern-SDK-Version": "6.0.0-rc",
|
|
47
|
+
"User-Agent": "@corti/sdk/6.0.0-rc",
|
|
48
48
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
49
49
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
50
50
|
"Tenant-Name": options === null || options === void 0 ? void 0 : options.tenantName,
|
|
@@ -18,7 +18,7 @@ import type * as Corti from "../../../../../../index.js";
|
|
|
18
18
|
* auth: {
|
|
19
19
|
* type: "oauth2",
|
|
20
20
|
* scope: "read:policies",
|
|
21
|
-
*
|
|
21
|
+
* tokenUrl: "https://app.corti.ai/oauth/token"
|
|
22
22
|
* }
|
|
23
23
|
* }, {
|
|
24
24
|
* type: "schema",
|
|
@@ -58,6 +58,8 @@ export interface AgenticAgentsCreateRequest {
|
|
|
58
58
|
systemPrompt?: string;
|
|
59
59
|
/** Tenant default if omitted. */
|
|
60
60
|
model?: string;
|
|
61
|
+
/** Caps the orchestrator's ReAct loop iterations per run. Server default 10 if omitted. */
|
|
62
|
+
maxLoops?: number;
|
|
61
63
|
visibility?: Corti.AgentsVisibility;
|
|
62
64
|
lifecycle?: Corti.AgentsLifecycle;
|
|
63
65
|
/** Connectors to attach at creation. Defaults to an empty array. */
|
|
@@ -18,6 +18,8 @@ export interface AgenticAgentsPatchRequest {
|
|
|
18
18
|
systemPrompt?: string | null;
|
|
19
19
|
/** New model identifier; `null` falls back to the tenant default. */
|
|
20
20
|
model?: string | null;
|
|
21
|
+
/** New cap on the orchestrator's ReAct loop iterations per run. Omitted leaves the current value unchanged; there is no `null`-reset — send 10 to restore the default. */
|
|
22
|
+
maxLoops?: number;
|
|
21
23
|
visibility?: Corti.AgentsVisibility;
|
|
22
24
|
lifecycle?: Corti.AgentsLifecycle;
|
|
23
25
|
/** Replacement connector list; `null` clears connectors. */
|
|
@@ -11,7 +11,7 @@ export declare class CodesClient {
|
|
|
11
11
|
protected readonly _options: NormalizedClientOptionsWithAuth<CodesClient.Options>;
|
|
12
12
|
constructor(options: CodesClient.Options);
|
|
13
13
|
/**
|
|
14
|
-
* Predict medical codes from provided context.<br/><Note>This is a stateless endpoint, designed to predict ICD-10-CM, ICD-10-PCS, ICD-10 (international), ICD-10-UK, CIM-10-FR, ICD-10-GM, OPCS-4, OPS, CCAM, CPT
|
|
14
|
+
* Predict medical codes from provided context.<br/><Note>This is a stateless endpoint, designed to predict ICD-10-CM, ICD-10-PCS, ICD-10 (international), ICD-10-UK, CIM-10-FR, ICD-10-GM, OPCS-4, OPS, CCAM, CPT, SNOMED CT, MedDRA, SKS and KVÅ codes based on input text string or documentId.<br/><br/>More than one code system may be defined in a single request.<br/><br/>Code prediction requests have two possible values for context:<br/>- `text`: One set of code prediction results will be returned based on all input text defined.<br/>- `documentId`: Code prediction will be based on that defined document only.<br/><br/>The response includes two sets of results:<br/>- `Codes`: Codes predicted by the model.<br/>- `Candidates`: Lower-confidence codes the model considered potentially relevant but excluded from the predicted set.<br/><br/>All predicted code results are based on input context defined in the request only (not other external data or assets associated with an interaction).</Note>
|
|
15
15
|
*
|
|
16
16
|
* @param {Corti.CodesGeneralPredictRequest} request
|
|
17
17
|
* @param {CodesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -39,8 +39,11 @@ export declare class CodesClient {
|
|
|
39
39
|
* text: "Patient presents with uncontrolled type 2 diabetes."
|
|
40
40
|
* }],
|
|
41
41
|
* filter: {
|
|
42
|
-
* include: [
|
|
43
|
-
*
|
|
42
|
+
* include: [{
|
|
43
|
+
* property: "code",
|
|
44
|
+
* op: "is-a",
|
|
45
|
+
* value: ["E11"]
|
|
46
|
+
* }]
|
|
44
47
|
* }
|
|
45
48
|
* })
|
|
46
49
|
*/
|
|
@@ -56,7 +56,7 @@ class CodesClient {
|
|
|
56
56
|
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
|
-
* Predict medical codes from provided context.<br/><Note>This is a stateless endpoint, designed to predict ICD-10-CM, ICD-10-PCS, ICD-10 (international), ICD-10-UK, CIM-10-FR, ICD-10-GM, OPCS-4, OPS, CCAM, CPT
|
|
59
|
+
* Predict medical codes from provided context.<br/><Note>This is a stateless endpoint, designed to predict ICD-10-CM, ICD-10-PCS, ICD-10 (international), ICD-10-UK, CIM-10-FR, ICD-10-GM, OPCS-4, OPS, CCAM, CPT, SNOMED CT, MedDRA, SKS and KVÅ codes based on input text string or documentId.<br/><br/>More than one code system may be defined in a single request.<br/><br/>Code prediction requests have two possible values for context:<br/>- `text`: One set of code prediction results will be returned based on all input text defined.<br/>- `documentId`: Code prediction will be based on that defined document only.<br/><br/>The response includes two sets of results:<br/>- `Codes`: Codes predicted by the model.<br/>- `Candidates`: Lower-confidence codes the model considered potentially relevant but excluded from the predicted set.<br/><br/>All predicted code results are based on input context defined in the request only (not other external data or assets associated with an interaction).</Note>
|
|
60
60
|
*
|
|
61
61
|
* @param {Corti.CodesGeneralPredictRequest} request
|
|
62
62
|
* @param {CodesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -84,8 +84,11 @@ class CodesClient {
|
|
|
84
84
|
* text: "Patient presents with uncontrolled type 2 diabetes."
|
|
85
85
|
* }],
|
|
86
86
|
* filter: {
|
|
87
|
-
* include: [
|
|
88
|
-
*
|
|
87
|
+
* include: [{
|
|
88
|
+
* property: "code",
|
|
89
|
+
* op: "is-a",
|
|
90
|
+
* value: ["E11"]
|
|
91
|
+
* }]
|
|
89
92
|
* }
|
|
90
93
|
* })
|
|
91
94
|
*/
|
|
@@ -17,8 +17,11 @@ import type * as Corti from "../../../../index.js";
|
|
|
17
17
|
* text: "Patient presents with uncontrolled type 2 diabetes."
|
|
18
18
|
* }],
|
|
19
19
|
* filter: {
|
|
20
|
-
* include: [
|
|
21
|
-
*
|
|
20
|
+
* include: [{
|
|
21
|
+
* property: "code",
|
|
22
|
+
* op: "is-a",
|
|
23
|
+
* value: ["E11"]
|
|
24
|
+
* }]
|
|
22
25
|
* }
|
|
23
26
|
* }
|
|
24
27
|
*/
|
|
@@ -15,6 +15,10 @@ export declare class ClassicClient {
|
|
|
15
15
|
*
|
|
16
16
|
* List Documents
|
|
17
17
|
*
|
|
18
|
+
* <Note>
|
|
19
|
+
* This endpoint is deprecated in favour of the corresponding GUIDED endpoint. See the [deprecation notice](/release-notes/changelog-upcoming#2026-08-21) for more details and migration guidance.
|
|
20
|
+
* </Note>
|
|
21
|
+
*
|
|
18
22
|
* @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID.
|
|
19
23
|
* @param {ClassicClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
20
24
|
*
|
|
@@ -33,6 +37,10 @@ export declare class ClassicClient {
|
|
|
33
37
|
*
|
|
34
38
|
* This endpoint offers different ways to generate a document. Find guides to document generation [here](/textgen/documents-standard).
|
|
35
39
|
*
|
|
40
|
+
* <Note>
|
|
41
|
+
* This endpoint is deprecated in favour of the corresponding GUIDED endpoint. See the [deprecation notice](/release-notes/changelog-upcoming#2026-08-21) for more details and migration guidance.
|
|
42
|
+
* </Note>
|
|
43
|
+
*
|
|
36
44
|
* @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID.
|
|
37
45
|
* @param {Corti.DocumentsCreateRequest} request
|
|
38
46
|
* @param {ClassicClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -61,6 +69,10 @@ export declare class ClassicClient {
|
|
|
61
69
|
*
|
|
62
70
|
* Get Document.
|
|
63
71
|
*
|
|
72
|
+
* <Note>
|
|
73
|
+
* This endpoint is deprecated in favour of the corresponding GUIDED endpoint. See the [deprecation notice](/release-notes/changelog-upcoming#2026-08-21) for more details and migration guidance.
|
|
74
|
+
* </Note>
|
|
75
|
+
*
|
|
64
76
|
* @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID.
|
|
65
77
|
* @param {Corti.Uuid} documentId - The document ID representing the context for the request. Must be a valid UUID.
|
|
66
78
|
* @param {ClassicClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -78,6 +90,10 @@ export declare class ClassicClient {
|
|
|
78
90
|
/**
|
|
79
91
|
* @deprecated
|
|
80
92
|
*
|
|
93
|
+
* <Note>
|
|
94
|
+
* This endpoint is deprecated in favour of the corresponding GUIDED endpoint. See the [deprecation notice](/release-notes/changelog-upcoming#2026-08-21) for more details and migration guidance.
|
|
95
|
+
* </Note>
|
|
96
|
+
*
|
|
81
97
|
* @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID.
|
|
82
98
|
* @param {Corti.Uuid} documentId - The document ID representing the context for the request. Must be a valid UUID.
|
|
83
99
|
* @param {ClassicClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -95,6 +111,10 @@ export declare class ClassicClient {
|
|
|
95
111
|
/**
|
|
96
112
|
* @deprecated
|
|
97
113
|
*
|
|
114
|
+
* <Note>
|
|
115
|
+
* This endpoint is deprecated in favour of the corresponding GUIDED endpoint. See the [deprecation notice](/release-notes/changelog-upcoming#2026-08-21) for more details and migration guidance.
|
|
116
|
+
* </Note>
|
|
117
|
+
*
|
|
98
118
|
* @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID.
|
|
99
119
|
* @param {Corti.Uuid} documentId - The document ID representing the context for the request. Must be a valid UUID.
|
|
100
120
|
* @param {Corti.documents.DocumentsUpdateRequest} request
|
|
@@ -60,6 +60,10 @@ class ClassicClient {
|
|
|
60
60
|
*
|
|
61
61
|
* List Documents
|
|
62
62
|
*
|
|
63
|
+
* <Note>
|
|
64
|
+
* This endpoint is deprecated in favour of the corresponding GUIDED endpoint. See the [deprecation notice](/release-notes/changelog-upcoming#2026-08-21) for more details and migration guidance.
|
|
65
|
+
* </Note>
|
|
66
|
+
*
|
|
63
67
|
* @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID.
|
|
64
68
|
* @param {ClassicClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
65
69
|
*
|
|
@@ -140,6 +144,10 @@ class ClassicClient {
|
|
|
140
144
|
*
|
|
141
145
|
* This endpoint offers different ways to generate a document. Find guides to document generation [here](/textgen/documents-standard).
|
|
142
146
|
*
|
|
147
|
+
* <Note>
|
|
148
|
+
* This endpoint is deprecated in favour of the corresponding GUIDED endpoint. See the [deprecation notice](/release-notes/changelog-upcoming#2026-08-21) for more details and migration guidance.
|
|
149
|
+
* </Note>
|
|
150
|
+
*
|
|
143
151
|
* @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID.
|
|
144
152
|
* @param {Corti.DocumentsCreateRequest} request
|
|
145
153
|
* @param {ClassicClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -236,6 +244,10 @@ class ClassicClient {
|
|
|
236
244
|
*
|
|
237
245
|
* Get Document.
|
|
238
246
|
*
|
|
247
|
+
* <Note>
|
|
248
|
+
* This endpoint is deprecated in favour of the corresponding GUIDED endpoint. See the [deprecation notice](/release-notes/changelog-upcoming#2026-08-21) for more details and migration guidance.
|
|
249
|
+
* </Note>
|
|
250
|
+
*
|
|
239
251
|
* @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID.
|
|
240
252
|
* @param {Corti.Uuid} documentId - The document ID representing the context for the request. Must be a valid UUID.
|
|
241
253
|
* @param {ClassicClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -315,6 +327,10 @@ class ClassicClient {
|
|
|
315
327
|
/**
|
|
316
328
|
* @deprecated
|
|
317
329
|
*
|
|
330
|
+
* <Note>
|
|
331
|
+
* This endpoint is deprecated in favour of the corresponding GUIDED endpoint. See the [deprecation notice](/release-notes/changelog-upcoming#2026-08-21) for more details and migration guidance.
|
|
332
|
+
* </Note>
|
|
333
|
+
*
|
|
318
334
|
* @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID.
|
|
319
335
|
* @param {Corti.Uuid} documentId - The document ID representing the context for the request. Must be a valid UUID.
|
|
320
336
|
* @param {ClassicClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -385,6 +401,10 @@ class ClassicClient {
|
|
|
385
401
|
/**
|
|
386
402
|
* @deprecated
|
|
387
403
|
*
|
|
404
|
+
* <Note>
|
|
405
|
+
* This endpoint is deprecated in favour of the corresponding GUIDED endpoint. See the [deprecation notice](/release-notes/changelog-upcoming#2026-08-21) for more details and migration guidance.
|
|
406
|
+
* </Note>
|
|
407
|
+
*
|
|
388
408
|
* @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID.
|
|
389
409
|
* @param {Corti.Uuid} documentId - The document ID representing the context for the request. Must be a valid UUID.
|
|
390
410
|
* @param {Corti.documents.DocumentsUpdateRequest} request
|
|
@@ -17,7 +17,6 @@ export declare class LanguagesClient {
|
|
|
17
17
|
* @param {LanguagesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
18
18
|
*
|
|
19
19
|
* @throws {@link Corti.BadRequestError}
|
|
20
|
-
* @throws {@link Corti.InternalServerError}
|
|
21
20
|
*
|
|
22
21
|
* @example
|
|
23
22
|
* await client.languages.list()
|
|
@@ -62,7 +62,6 @@ class LanguagesClient {
|
|
|
62
62
|
* @param {LanguagesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
63
63
|
*
|
|
64
64
|
* @throws {@link Corti.BadRequestError}
|
|
65
|
-
* @throws {@link Corti.InternalServerError}
|
|
66
65
|
*
|
|
67
66
|
* @example
|
|
68
67
|
* await client.languages.list()
|
|
@@ -111,14 +110,6 @@ class LanguagesClient {
|
|
|
111
110
|
switch (_response.error.statusCode) {
|
|
112
111
|
case 400:
|
|
113
112
|
throw new Corti.BadRequestError(_response.error.body, _response.rawResponse);
|
|
114
|
-
case 500:
|
|
115
|
-
throw new Corti.InternalServerError(serializers.ErrorResponse.parseOrThrow(_response.error.body, {
|
|
116
|
-
unrecognizedObjectKeys: "passthrough",
|
|
117
|
-
allowUnrecognizedUnionMembers: true,
|
|
118
|
-
allowUnrecognizedEnumValues: true,
|
|
119
|
-
skipValidation: true,
|
|
120
|
-
breadcrumbsPrefix: ["response"],
|
|
121
|
-
}), _response.rawResponse);
|
|
122
113
|
default:
|
|
123
114
|
throw new errors.CortiError({
|
|
124
115
|
statusCode: _response.error.statusCode,
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.LanguagesListRequestEndpoint = void 0;
|
|
5
|
-
/** Field used to filter languages that supported specific endpoint. */
|
|
6
5
|
exports.LanguagesListRequestEndpoint = {
|
|
7
6
|
Streams: "streams",
|
|
8
7
|
Transcribe: "transcribe",
|
package/dist/cjs/api/resources/languages/types/LanguagesListResponseLanguagesValueEndpoints.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as Corti from "../../../index.js";
|
|
2
|
+
export interface LanguagesListResponseLanguagesValueEndpoints {
|
|
3
|
+
/** Streams endpoint with its supported attributes. */
|
|
4
|
+
streams: Corti.LanguagesEndpointAttributes;
|
|
5
|
+
/** Transcribe endpoint with its supported attributes. */
|
|
6
|
+
transcribe: Corti.LanguagesEndpointAttributes;
|
|
7
|
+
/** Transcripts endpoint with its supported attributes. */
|
|
8
|
+
transcripts: Corti.LanguagesEndpointAttributes;
|
|
9
|
+
}
|
|
@@ -15,3 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./LanguagesListRequestEndpoint.js"), exports);
|
|
18
|
+
__exportStar(require("./LanguagesListResponse.js"), exports);
|
|
19
|
+
__exportStar(require("./LanguagesListResponseLanguagesValue.js"), exports);
|
|
20
|
+
__exportStar(require("./LanguagesListResponseLanguagesValueEndpoints.js"), exports);
|
|
@@ -11,8 +11,14 @@ export declare class TemplatesClient {
|
|
|
11
11
|
protected readonly _options: NormalizedClientOptionsWithAuth<TemplatesClient.Options>;
|
|
12
12
|
constructor(options: TemplatesClient.Options);
|
|
13
13
|
/**
|
|
14
|
+
* @deprecated
|
|
15
|
+
*
|
|
14
16
|
* Retrieves a list of template sections with optional filters for organization and language.
|
|
15
17
|
*
|
|
18
|
+
* <Note>
|
|
19
|
+
* This endpoint is deprecated in favour of the corresponding GUIDED endpoint. See the [deprecation notice](/release-notes/changelog-upcoming#2026-08-21) for more details and migration guidance.
|
|
20
|
+
* </Note>
|
|
21
|
+
*
|
|
16
22
|
* @param {Corti.TemplatesSectionListRequest} request
|
|
17
23
|
* @param {TemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
18
24
|
*
|
|
@@ -25,8 +31,14 @@ export declare class TemplatesClient {
|
|
|
25
31
|
sectionList(request?: Corti.TemplatesSectionListRequest, requestOptions?: TemplatesClient.RequestOptions): core.HttpResponsePromise<Corti.TemplatesSectionListResponse>;
|
|
26
32
|
private __sectionList;
|
|
27
33
|
/**
|
|
34
|
+
* @deprecated
|
|
35
|
+
*
|
|
28
36
|
* Retrieves a list of templates with optional filters for organization, language, and status.
|
|
29
37
|
*
|
|
38
|
+
* <Note>
|
|
39
|
+
* This endpoint is deprecated in favour of the corresponding GUIDED endpoint. See the [deprecation notice](/release-notes/changelog-upcoming#2026-08-21) for more details and migration guidance.
|
|
40
|
+
* </Note>
|
|
41
|
+
*
|
|
30
42
|
* @param {Corti.TemplatesListRequest} request
|
|
31
43
|
* @param {TemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
32
44
|
*
|
|
@@ -39,8 +51,14 @@ export declare class TemplatesClient {
|
|
|
39
51
|
list(request?: Corti.TemplatesListRequest, requestOptions?: TemplatesClient.RequestOptions): core.HttpResponsePromise<Corti.TemplatesListResponse>;
|
|
40
52
|
private __list;
|
|
41
53
|
/**
|
|
54
|
+
* @deprecated
|
|
55
|
+
*
|
|
42
56
|
* Retrieves template by key.
|
|
43
57
|
*
|
|
58
|
+
* <Note>
|
|
59
|
+
* This endpoint is deprecated in favour of the corresponding GUIDED endpoint. See the [deprecation notice](/release-notes/changelog-upcoming#2026-08-21) for more details and migration guidance.
|
|
60
|
+
* </Note>
|
|
61
|
+
*
|
|
44
62
|
* @param {string} key - The key of the template
|
|
45
63
|
* @param {TemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
46
64
|
*
|
|
@@ -56,8 +56,14 @@ class TemplatesClient {
|
|
|
56
56
|
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
|
+
* @deprecated
|
|
60
|
+
*
|
|
59
61
|
* Retrieves a list of template sections with optional filters for organization and language.
|
|
60
62
|
*
|
|
63
|
+
* <Note>
|
|
64
|
+
* This endpoint is deprecated in favour of the corresponding GUIDED endpoint. See the [deprecation notice](/release-notes/changelog-upcoming#2026-08-21) for more details and migration guidance.
|
|
65
|
+
* </Note>
|
|
66
|
+
*
|
|
61
67
|
* @param {Corti.TemplatesSectionListRequest} request
|
|
62
68
|
* @param {TemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
63
69
|
*
|
|
@@ -127,8 +133,14 @@ class TemplatesClient {
|
|
|
127
133
|
});
|
|
128
134
|
}
|
|
129
135
|
/**
|
|
136
|
+
* @deprecated
|
|
137
|
+
*
|
|
130
138
|
* Retrieves a list of templates with optional filters for organization, language, and status.
|
|
131
139
|
*
|
|
140
|
+
* <Note>
|
|
141
|
+
* This endpoint is deprecated in favour of the corresponding GUIDED endpoint. See the [deprecation notice](/release-notes/changelog-upcoming#2026-08-21) for more details and migration guidance.
|
|
142
|
+
* </Note>
|
|
143
|
+
*
|
|
132
144
|
* @param {Corti.TemplatesListRequest} request
|
|
133
145
|
* @param {TemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
134
146
|
*
|
|
@@ -199,8 +211,14 @@ class TemplatesClient {
|
|
|
199
211
|
});
|
|
200
212
|
}
|
|
201
213
|
/**
|
|
214
|
+
* @deprecated
|
|
215
|
+
*
|
|
202
216
|
* Retrieves template by key.
|
|
203
217
|
*
|
|
218
|
+
* <Note>
|
|
219
|
+
* This endpoint is deprecated in favour of the corresponding GUIDED endpoint. See the [deprecation notice](/release-notes/changelog-upcoming#2026-08-21) for more details and migration guidance.
|
|
220
|
+
* </Note>
|
|
221
|
+
*
|
|
204
222
|
* @param {string} key - The key of the template
|
|
205
223
|
* @param {TemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
206
224
|
*
|
|
@@ -11,7 +11,7 @@ export declare class TranscriptsClient {
|
|
|
11
11
|
protected readonly _options: NormalizedClientOptionsWithAuth<TranscriptsClient.Options>;
|
|
12
12
|
constructor(options: TranscriptsClient.Options);
|
|
13
13
|
/**
|
|
14
|
-
* Retrieves a list of transcripts for a given interaction.
|
|
14
|
+
* Retrieves a list of transcripts for a given interaction. Transcripts are ordered based on their creation time. Default ordering (desc) will return the most recent transcript first in the list. Use query parameter `direction` to define the order of the list (`asc` for ascending and `desc` for descending).
|
|
15
15
|
*
|
|
16
16
|
* @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID.
|
|
17
17
|
* @param {Corti.TranscriptsListRequest} request
|
|
@@ -56,7 +56,7 @@ class TranscriptsClient {
|
|
|
56
56
|
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
|
-
* Retrieves a list of transcripts for a given interaction.
|
|
59
|
+
* Retrieves a list of transcripts for a given interaction. Transcripts are ordered based on their creation time. Default ordering (desc) will return the most recent transcript first in the list. Use query parameter `direction` to define the order of the list (`asc` for ascending and `desc` for descending).
|
|
60
60
|
*
|
|
61
61
|
* @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID.
|
|
62
62
|
* @param {Corti.TranscriptsListRequest} request
|
|
@@ -77,9 +77,15 @@ class TranscriptsClient {
|
|
|
77
77
|
__list(id_1) {
|
|
78
78
|
return __awaiter(this, arguments, void 0, function* (id, request = {}, requestOptions) {
|
|
79
79
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
80
|
-
const { full } = request;
|
|
80
|
+
const { full, direction } = request;
|
|
81
81
|
const _queryParams = {
|
|
82
82
|
full,
|
|
83
|
+
direction: direction != null
|
|
84
|
+
? serializers.CommonSortingDirectionEnum.jsonOrThrow(direction, {
|
|
85
|
+
unrecognizedObjectKeys: "strip",
|
|
86
|
+
omitUndefined: true,
|
|
87
|
+
})
|
|
88
|
+
: undefined,
|
|
83
89
|
};
|
|
84
90
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
85
91
|
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "Tenant-Name": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.tenantName) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.tenantName }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
@@ -15,18 +15,21 @@ export interface TranscriptsCreateRequest {
|
|
|
15
15
|
spokenPunctuation?: boolean;
|
|
16
16
|
/** When true, automatically punctuates and capitalizes the transcript. Defaults to true. Overridden by `spokenPunctuation` when both are enabled. */
|
|
17
17
|
automaticPunctuation?: boolean;
|
|
18
|
+
formatting?: Corti.TranscriptsFormatting;
|
|
18
19
|
/** **Deprecated** — replaced by `spokenPunctuation` and `automaticPunctuation`. Ignored when either of those fields is provided. When `true` and neither new field is provided, it is treated as `spokenPunctuation: true` (automatic punctuation off). No removal date is currently planned. */
|
|
19
20
|
isDictation?: boolean;
|
|
20
21
|
/** If true, each audio channel is transcribed separately. */
|
|
21
22
|
isMultichannel?: boolean;
|
|
22
23
|
/** If true, separates speakers within an audio channel returning incrementing ids for transcript segments. */
|
|
23
24
|
diarize?: boolean;
|
|
24
|
-
/** An array of participants, each specifying a role and an assigned audio channel in the recording. Leave empty when
|
|
25
|
+
/** An array of participants, each specifying a free-form role and an assigned audio channel in the recording. For raw PCM, the channel count must be defined; otherwise, the number of audio channels is resolved from the audio itself, not from the declared participants. Leave empty when diarize: true. See [audio formatting](https://docs.corti.ai/stt/audio) for full details. */
|
|
25
26
|
participants?: Corti.TranscriptsParticipant[];
|
|
26
27
|
/** If true, the request will return immediately with a 202 status and the transcript will be processed asynchronously. Poll [Get Transcript Status](/api-reference/transcripts/get-transcript-status) to check transcript processing status - `processing`, `completed`, `failed`. */
|
|
27
28
|
async?: boolean;
|
|
28
|
-
/** Define replacements to have terms (single words or multi-word phrases) replaced in final text output with your preferred style. For example, replace "BID" with "twice daily". Configuration is case insensitive and limited to 1,000 replacements per stream. */
|
|
29
|
+
/** Define replacements to have terms (single words or multi-word phrases) replaced in final text output with your preferred style. For example, replace "BID" with "twice daily". Configuration is case insensitive and limited to 1,000 replacements per stream. A defined replacement can have a maximum length of 50 characters and 5-words for `find` and 100 characters and 10-words for `replace`. */
|
|
29
30
|
replacements?: Corti.TranscriptsCreateRequestReplacementsItem[];
|
|
30
31
|
/** Define words, terms, and phrases to be recognized by Corti speech-to-text. Especially useful for proper nouns (e.g., surnames), but also supportive of words not being recognized consistently. */
|
|
31
32
|
keyterms?: Corti.TranscriptsCreateRequestKeyterms;
|
|
33
|
+
/** When enabled, the transcript is stored and returned at word level instead of phrase/utterance level. Fixed for the lifetime of the transcript once created. */
|
|
34
|
+
wordLevel?: Corti.TranscriptsCreateRequestWordLevel;
|
|
32
35
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type * as Corti from "../../../../index.js";
|
|
1
2
|
/**
|
|
2
3
|
* @example
|
|
3
4
|
* {}
|
|
@@ -5,4 +6,6 @@
|
|
|
5
6
|
export interface TranscriptsListRequest {
|
|
6
7
|
/** Display full transcripts in listing */
|
|
7
8
|
full?: boolean;
|
|
9
|
+
/** Sorting order. Allowed values: [asc, desc]. Default is desc. */
|
|
10
|
+
direction?: Corti.CommonSortingDirectionEnum;
|
|
8
11
|
}
|
|
@@ -17,3 +17,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./TranscriptsCreateRequestKeyterms.js"), exports);
|
|
18
18
|
__exportStar(require("./TranscriptsCreateRequestKeytermsTermsItem.js"), exports);
|
|
19
19
|
__exportStar(require("./TranscriptsCreateRequestReplacementsItem.js"), exports);
|
|
20
|
+
__exportStar(require("./TranscriptsCreateRequestWordLevel.js"), exports);
|
|
@@ -15,6 +15,8 @@ export interface AgenticAgentsResponse {
|
|
|
15
15
|
* **Open question** — in the current implementation a model is configured per *expert*, not per *agent* (`Expert.modelName`), and an `Agent` has no model field at all. The desired end state is that there is **no distinction between an expert and an agent**, so `model` lives uniformly on this resource. Until that convergence lands, the precedence of an agent-level `model` over a connector/expert-level override is undecided and MUST be resolved before this field ships.
|
|
16
16
|
*/
|
|
17
17
|
model?: string | null;
|
|
18
|
+
/** Effective cap on the orchestrator's ReAct loop iterations per run. Always present: agents created without `maxLoops` report the server default (10). */
|
|
19
|
+
maxLoops: number;
|
|
18
20
|
visibility: Corti.AgentsVisibility;
|
|
19
21
|
lifecycle: Corti.AgentsLifecycle;
|
|
20
22
|
/** Connectors attached to the agent, discriminated by `type`. */
|
|
@@ -26,4 +28,6 @@ export interface AgenticAgentsResponse {
|
|
|
26
28
|
updatedAt?: Date;
|
|
27
29
|
/** Principal (user or service principal) that created the agent. */
|
|
28
30
|
createdBy?: Corti.AgentsUserIdValue;
|
|
31
|
+
/** When the agent expires; `null` means it does not expire. Ephemeral agents get a 24h expiry at creation time; persistent agents never expire. */
|
|
32
|
+
expiresAt?: Date | null;
|
|
29
33
|
}
|
|
@@ -12,8 +12,12 @@ export interface AgentsCreateMcpServer {
|
|
|
12
12
|
authorizationScope?: string;
|
|
13
13
|
/** URL of the MCP server. */
|
|
14
14
|
url: string;
|
|
15
|
-
/**
|
|
16
|
-
|
|
15
|
+
/** Token URL override for the OAuth2.0 token endpoint. */
|
|
16
|
+
tokenUrl?: string;
|
|
17
17
|
/** Bearer token to be used in MCP client. */
|
|
18
18
|
token?: string;
|
|
19
|
+
/** Header names the MCP server requires the client to send. */
|
|
20
|
+
requiredHeaders?: string[];
|
|
21
|
+
/** Header names the client may optionally send. */
|
|
22
|
+
optionalHeaders?: string[];
|
|
19
23
|
}
|
|
@@ -12,6 +12,10 @@ export interface AgentsMcpServer {
|
|
|
12
12
|
authorizationScope?: string;
|
|
13
13
|
/** URL of the MCP server. */
|
|
14
14
|
url: string;
|
|
15
|
-
/**
|
|
16
|
-
|
|
15
|
+
/** Token URL override for the OAuth2.0 token endpoint. */
|
|
16
|
+
tokenUrl?: string;
|
|
17
|
+
/** Header names the MCP server requires the client to send. */
|
|
18
|
+
requiredHeaders?: string[];
|
|
19
|
+
/** Header names the client may optionally send. */
|
|
20
|
+
optionalHeaders?: string[];
|
|
17
21
|
}
|