@corti/sdk 5.0.0 → 6.0.0-rc.2
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 +6 -0
- 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/transcribe/client/Socket.d.ts +2 -1
- package/dist/cjs/api/resources/transcribe/client/Socket.js +12 -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/TranscribeCommandRemove.d.ts +7 -0
- package/dist/cjs/api/types/TranscribeCommandRemove.js +3 -0
- package/dist/cjs/api/types/TranscribeCommandsUpdateAcceptedMessage.d.ts +8 -0
- package/dist/cjs/api/types/TranscribeCommandsUpdateAcceptedMessage.js +3 -0
- package/dist/cjs/api/types/TranscribeCommandsUpdateDeniedMessage.d.ts +12 -0
- package/dist/cjs/api/types/TranscribeCommandsUpdateDeniedMessage.js +3 -0
- package/dist/cjs/api/types/TranscribeCommandsUpdateMessage.d.ts +11 -0
- package/dist/cjs/api/types/TranscribeCommandsUpdateMessage.js +3 -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 +27 -4
- package/dist/cjs/api/types/index.js +27 -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/transcribe/client/socket/TranscribeSocketResponse.d.ts +4 -2
- package/dist/cjs/serialization/resources/transcribe/client/socket/TranscribeSocketResponse.js +4 -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/TranscribeCommandRemove.d.ts +9 -0
- package/dist/cjs/serialization/types/TranscribeCommandRemove.js +41 -0
- package/dist/cjs/serialization/types/TranscribeCommandsUpdateAcceptedMessage.d.ts +12 -0
- package/dist/cjs/serialization/types/TranscribeCommandsUpdateAcceptedMessage.js +44 -0
- package/dist/cjs/serialization/types/TranscribeCommandsUpdateDeniedMessage.d.ts +14 -0
- package/dist/cjs/serialization/types/TranscribeCommandsUpdateDeniedMessage.js +46 -0
- package/dist/cjs/serialization/types/TranscribeCommandsUpdateMessage.d.ts +13 -0
- package/dist/cjs/serialization/types/TranscribeCommandsUpdateMessage.js +45 -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 +27 -4
- package/dist/cjs/serialization/types/index.js +27 -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/transcribe/client/Socket.d.mts +2 -1
- package/dist/esm/api/resources/transcribe/client/Socket.mjs +12 -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/TranscribeCommandRemove.d.mts +7 -0
- package/dist/esm/api/types/TranscribeCommandRemove.mjs +2 -0
- package/dist/esm/api/types/TranscribeCommandsUpdateAcceptedMessage.d.mts +8 -0
- package/dist/esm/api/types/TranscribeCommandsUpdateAcceptedMessage.mjs +2 -0
- package/dist/esm/api/types/TranscribeCommandsUpdateDeniedMessage.d.mts +12 -0
- package/dist/esm/api/types/TranscribeCommandsUpdateDeniedMessage.mjs +2 -0
- package/dist/esm/api/types/TranscribeCommandsUpdateMessage.d.mts +11 -0
- package/dist/esm/api/types/TranscribeCommandsUpdateMessage.mjs +2 -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 +27 -4
- package/dist/esm/api/types/index.mjs +27 -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/transcribe/client/socket/TranscribeSocketResponse.d.mts +4 -2
- package/dist/esm/serialization/resources/transcribe/client/socket/TranscribeSocketResponse.mjs +4 -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/TranscribeCommandRemove.d.mts +9 -0
- package/dist/esm/serialization/types/TranscribeCommandRemove.mjs +5 -0
- package/dist/esm/serialization/types/TranscribeCommandsUpdateAcceptedMessage.d.mts +12 -0
- package/dist/esm/serialization/types/TranscribeCommandsUpdateAcceptedMessage.mjs +8 -0
- package/dist/esm/serialization/types/TranscribeCommandsUpdateDeniedMessage.d.mts +14 -0
- package/dist/esm/serialization/types/TranscribeCommandsUpdateDeniedMessage.mjs +10 -0
- package/dist/esm/serialization/types/TranscribeCommandsUpdateMessage.d.mts +13 -0
- package/dist/esm/serialization/types/TranscribeCommandsUpdateMessage.mjs +9 -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 +27 -4
- package/dist/esm/serialization/types/index.mjs +27 -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
|
@@ -6,5 +6,6 @@ export interface GuidedAssemblySectionRef {
|
|
|
6
6
|
sectionId: string;
|
|
7
7
|
/** Optional explicit section version. Defaults to the section's published version when omitted. */
|
|
8
8
|
sectionVersionId?: string | null;
|
|
9
|
-
|
|
9
|
+
/** Runtime override patch for this section. `generation` is the canonical shape. The flat fields are deprecated. */
|
|
10
|
+
overrides?: Corti.GuidedSectionOverridePatch;
|
|
10
11
|
}
|
|
@@ -15,4 +15,6 @@ export interface GuidedObjectNode {
|
|
|
15
15
|
fieldFormat?: string;
|
|
16
16
|
/** Define what fields are possible to return in the object. */
|
|
17
17
|
fields?: Corti.GuidedFieldDefinition[];
|
|
18
|
+
/** Text rendered in place of the object when no field has relevant input/output and no field-level `default` is set. */
|
|
19
|
+
fallbackString?: string | null;
|
|
18
20
|
}
|
|
@@ -2,8 +2,7 @@ import type * as Corti from "../index.mjs";
|
|
|
2
2
|
/**
|
|
3
3
|
* Override patch applied to a section linked to the base template version. Override semantics are per-field for `instructions` (any field you omit is inherited from the parent's published version) and wholesale for `outputSchema` (whatever you submit fully replaces the parent schema — partial schemas are not merged). The same rule applies when a section is forked via `inheritFromId`.
|
|
4
4
|
*/
|
|
5
|
-
export interface GuidedSectionOverride {
|
|
5
|
+
export interface GuidedSectionOverride extends Corti.GuidedSectionOverridePatch {
|
|
6
6
|
/** The UUID of a section linked to the base template version. */
|
|
7
7
|
sectionId: string;
|
|
8
|
-
generation?: Corti.GuidedSectionOverrides;
|
|
9
8
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type * as Corti from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* Per-section override patch. `generation` is the canonical shape. The flat `heading`, `instructions`, and `outputSchema` fields are deprecated and remain for backward compatibility. Use `generation` instead. If a request sets both `generation` and a flat field for one section, the server rejects it with a 400. Override semantics are per-field for `instructions` and wholesale for `outputSchema`.
|
|
4
|
+
*/
|
|
5
|
+
export interface GuidedSectionOverridePatch {
|
|
6
|
+
/** The canonical override patch for this section. */
|
|
7
|
+
generation?: Corti.GuidedSectionOverrides;
|
|
8
|
+
/** **Deprecated** — use `generation.heading`. Replaces the section's heading for this call. */
|
|
9
|
+
heading?: string | null;
|
|
10
|
+
/** **Deprecated** — use `generation.instructions`. */
|
|
11
|
+
instructions?: Corti.GuidedSectionInstructionsOverride;
|
|
12
|
+
/** **Deprecated** — use `generation.outputSchema`. */
|
|
13
|
+
outputSchema?: Corti.GuidedOutputSchema;
|
|
14
|
+
}
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import type * as Corti from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* Template-level override patch. `generation` is the canonical shape. The flat `instructions` and `sections` fields are deprecated and remain for backward compatibility. Use `generation` instead. If a request sets both `generation` and a flat field, the server rejects it with a 400.
|
|
4
|
+
*/
|
|
2
5
|
export interface GuidedTemplateOverrides {
|
|
3
|
-
/**
|
|
6
|
+
/** The canonical override wrapper for this template. */
|
|
7
|
+
generation?: Corti.GuidedTemplateOverridesGeneration;
|
|
8
|
+
/** **Deprecated** — use `generation.instructions`. Replaces the template-level instructions for this call. */
|
|
4
9
|
instructions?: Corti.GuidedTemplateInstructions;
|
|
5
|
-
/** Per-section override patches. Each entry must reference a section already linked to the base template version. */
|
|
10
|
+
/** **Deprecated** — use `generation.sections`. Per-section override patches. Each entry must reference a section already linked to the base template version. */
|
|
6
11
|
sections?: Corti.GuidedSectionOverride[];
|
|
7
12
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as Corti from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* The canonical template-level override wrapper. Holds the template instructions and the per-section override patches.
|
|
4
|
+
*/
|
|
5
|
+
export interface GuidedTemplateOverridesGeneration {
|
|
6
|
+
/** Replaces the template-level instructions for this call. */
|
|
7
|
+
instructions?: Corti.GuidedTemplateInstructions;
|
|
8
|
+
/** Per-section override patches. Each entry must reference a section already linked to the base template version. */
|
|
9
|
+
sections?: Corti.GuidedSectionOverride[];
|
|
10
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const InteractionsDeletionReasonEnum: {
|
|
2
|
+
readonly Manual: "manual";
|
|
3
|
+
readonly Other: "other";
|
|
4
|
+
readonly Retention: "retention";
|
|
5
|
+
};
|
|
6
|
+
export type InteractionsDeletionReasonEnum = (typeof InteractionsDeletionReasonEnum)[keyof typeof InteractionsDeletionReasonEnum];
|
|
@@ -18,4 +18,10 @@ export interface InteractionsGetResponse {
|
|
|
18
18
|
websocketUrl: string;
|
|
19
19
|
/** The timestamp indicating the last recorded update for this interaction. */
|
|
20
20
|
lastUpdated: Date;
|
|
21
|
+
/** `null` while the interaction is live. Set with `deletedAt` when deleted. */
|
|
22
|
+
deletionReason: Corti.InteractionsDeletionReasonEnum | null;
|
|
23
|
+
/** The timestamp when the retention policy deletes the interaction (UTC). `null` when no deletion is scheduled. */
|
|
24
|
+
scheduledDeletionAt: Date | null;
|
|
25
|
+
/** Present when the interaction is deleted (UTC). `null` while the interaction is live. */
|
|
26
|
+
deletedAt: Date | null;
|
|
21
27
|
}
|
|
@@ -5,7 +5,7 @@ export interface InteractionsPatient {
|
|
|
5
5
|
/** FHIR reference to Text representation of the full name. */
|
|
6
6
|
name?: string | null;
|
|
7
7
|
/** FHIR reference to patient gender. */
|
|
8
|
-
gender?: Corti.InteractionsGenderEnum;
|
|
8
|
+
gender?: Corti.InteractionsGenderEnum | null;
|
|
9
9
|
/** FHIR reference to patient birth date. */
|
|
10
10
|
birthDate?: Date | null;
|
|
11
11
|
/** FHIR reference to patient extension Individual Pronouns. */
|
|
@@ -5,9 +5,10 @@ export interface StreamConfig {
|
|
|
5
5
|
/** Optional parameter to specify data retention policy for the generated transcripts and facts. Use value 'none' to indicate data should not be stored in the database. Use value 'retain' to indicate that the data should be retained according to standard retention policies. If configuration is not provided, then the default retention policy will apply. */
|
|
6
6
|
retentionPolicy?: Corti.StreamConfigRetentionPolicy;
|
|
7
7
|
audioEvents?: Corti.StreamAudioEventsConfig;
|
|
8
|
+
formatting?: Corti.StreamFormatting;
|
|
8
9
|
/** Define the audio format of the incoming audio stream - optional but recommended. When omitted, the server auto-detects the format from the first audio chunk using ffprobe. Supported audio will be processed. Unsupported return an error but might in some cases error silently. If provided (recommended), the provided MIME type must be supported and the audio must match the MIME type. An unsupported MIME type results in `CONFIG_REJECTED`. Audio that differs from the MIME type will return audio validation errors on the socket. See full list of supported MIME types [here](/stt/audio). */
|
|
9
10
|
audioFormat?: string;
|
|
10
|
-
/** 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. */
|
|
11
|
+
/** 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 100 characters and 10-words for `find` and `replace` fields. */
|
|
11
12
|
replacements?: Corti.StreamConfigReplacementsItem[];
|
|
12
13
|
/** 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. */
|
|
13
14
|
keyterms?: Corti.StreamConfigKeyterms;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import type * as Corti from "../index.mjs";
|
|
2
1
|
export interface StreamConfigParticipant {
|
|
3
2
|
/** Audio channel number (e.g. 0 or 1) */
|
|
4
3
|
channel: number;
|
|
5
|
-
/**
|
|
6
|
-
role:
|
|
4
|
+
/** Free-form label for the participant role (e.g., 'doctor', 'patient', 'Attending Physician'). Must not be empty or whitespace-only after trimming, must not contain control characters, and must not exceed 100 characters or 10 words. */
|
|
5
|
+
role: string;
|
|
7
6
|
}
|
|
@@ -6,8 +6,8 @@ export interface StreamConfigTranscription {
|
|
|
6
6
|
diarize?: boolean;
|
|
7
7
|
/** **Deprecated** — renamed to `diarize`. Still accepted for backward compatibility; `diarize` takes precedence when both are provided. `CONFIG_ACCEPTED` echoes both fields during the deprecation period. No removal date is currently planned. */
|
|
8
8
|
isDiarization?: boolean;
|
|
9
|
-
/** Enable multi-channel audio processing */
|
|
9
|
+
/** Enable multi-channel audio processing. When false, all participants are collapsed to channel 0 and the audio is converted to mono. */
|
|
10
10
|
isMultichannel?: boolean;
|
|
11
|
-
/** List of participants
|
|
11
|
+
/** List of participants, each assigning a free-form role to a channel. 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. See [audio formatting](https://docs.corti.ai/stt/audio) for full details. When isMultichannel is false, all participants channels above 0 are collapsed to channel 0. */
|
|
12
12
|
participants: Corti.StreamConfigParticipant[];
|
|
13
13
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type * as Corti from "../index.mjs";
|
|
2
|
+
export interface StreamFormatting {
|
|
3
|
+
/** Formatting for dates. */
|
|
4
|
+
dates?: Corti.StreamFormattingDates;
|
|
5
|
+
/** Formatting for times. */
|
|
6
|
+
times?: Corti.StreamFormattingTimes;
|
|
7
|
+
/** Formatting for numbers. */
|
|
8
|
+
numbers?: Corti.StreamFormattingNumbers;
|
|
9
|
+
/** Formatting for measurements. */
|
|
10
|
+
measurements?: Corti.StreamFormattingMeasurements;
|
|
11
|
+
/** Formatting for numeric ranges. */
|
|
12
|
+
numericRanges?: Corti.StreamFormattingNumericRanges;
|
|
13
|
+
/** Formatting for ordinals. */
|
|
14
|
+
ordinals?: Corti.StreamFormattingOrdinals;
|
|
15
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** Formatting for dates. */
|
|
2
|
+
export declare const StreamFormattingDates: {
|
|
3
|
+
readonly LocaleLong: "locale:long";
|
|
4
|
+
readonly LocaleMedium: "locale:medium";
|
|
5
|
+
readonly LocaleShort: "locale:short";
|
|
6
|
+
readonly AsDictated: "as_dictated";
|
|
7
|
+
readonly Iso: "iso";
|
|
8
|
+
};
|
|
9
|
+
export type StreamFormattingDates = (typeof StreamFormattingDates)[keyof typeof StreamFormattingDates];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
/** Formatting for dates. */
|
|
3
|
+
export const StreamFormattingDates = {
|
|
4
|
+
LocaleLong: "locale:long",
|
|
5
|
+
LocaleMedium: "locale:medium",
|
|
6
|
+
LocaleShort: "locale:short",
|
|
7
|
+
AsDictated: "as_dictated",
|
|
8
|
+
Iso: "iso",
|
|
9
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** Formatting for measurements. */
|
|
2
|
+
export declare const StreamFormattingMeasurements: {
|
|
3
|
+
readonly Abbreviated: "abbreviated";
|
|
4
|
+
readonly AsDictated: "as_dictated";
|
|
5
|
+
};
|
|
6
|
+
export type StreamFormattingMeasurements = (typeof StreamFormattingMeasurements)[keyof typeof StreamFormattingMeasurements];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** Formatting for numbers. */
|
|
2
|
+
export declare const StreamFormattingNumbers: {
|
|
3
|
+
readonly NumeralsAboveNine: "numerals_above_nine";
|
|
4
|
+
readonly Numerals: "numerals";
|
|
5
|
+
readonly AsDictated: "as_dictated";
|
|
6
|
+
};
|
|
7
|
+
export type StreamFormattingNumbers = (typeof StreamFormattingNumbers)[keyof typeof StreamFormattingNumbers];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** Formatting for numeric ranges. */
|
|
2
|
+
export declare const StreamFormattingNumericRanges: {
|
|
3
|
+
readonly Numerals: "numerals";
|
|
4
|
+
readonly AsDictated: "as_dictated";
|
|
5
|
+
};
|
|
6
|
+
export type StreamFormattingNumericRanges = (typeof StreamFormattingNumericRanges)[keyof typeof StreamFormattingNumericRanges];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** Formatting for ordinals. */
|
|
2
|
+
export declare const StreamFormattingOrdinals: {
|
|
3
|
+
readonly NumeralsAboveNine: "numerals_above_nine";
|
|
4
|
+
readonly AsDictated: "as_dictated";
|
|
5
|
+
readonly Numerals: "numerals";
|
|
6
|
+
};
|
|
7
|
+
export type StreamFormattingOrdinals = (typeof StreamFormattingOrdinals)[keyof typeof StreamFormattingOrdinals];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** Formatting for times. */
|
|
2
|
+
export declare const StreamFormattingTimes: {
|
|
3
|
+
readonly Locale: "locale";
|
|
4
|
+
readonly H24: "h24";
|
|
5
|
+
readonly H12: "h12";
|
|
6
|
+
readonly AsDictated: "as_dictated";
|
|
7
|
+
};
|
|
8
|
+
export type StreamFormattingTimes = (typeof StreamFormattingTimes)[keyof typeof StreamFormattingTimes];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type * as Corti from "../index.mjs";
|
|
2
|
+
export interface TranscribeCommandsUpdateAcceptedMessage {
|
|
3
|
+
type: "commands_update_accepted";
|
|
4
|
+
/** The session ID. */
|
|
5
|
+
sessionId: string;
|
|
6
|
+
/** The full resolved list of active commands after the update. This is the complete command set available for recognition. */
|
|
7
|
+
commands: Corti.TranscribeCommand[];
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as Corti from "../index.mjs";
|
|
2
|
+
export interface TranscribeCommandsUpdateDeniedMessage {
|
|
3
|
+
type: "commands_update_denied";
|
|
4
|
+
/** The reason the update was denied. Possible values include "No active session. Send a valid config message first.", "unknown parameter(s)", "ineligible parameter(s): <list>", and "invalid definition". */
|
|
5
|
+
reason?: string;
|
|
6
|
+
/** List of invalid field names that caused the rejection, when applicable. */
|
|
7
|
+
fields?: string[];
|
|
8
|
+
/** The session ID. */
|
|
9
|
+
sessionId: string;
|
|
10
|
+
/** Empty array. The existing command configuration is unchanged. */
|
|
11
|
+
commands: Corti.TranscribeCommand[];
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Corti from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* Patch-based command update. Include only the commands being added, updated, or removed, not the full command list. At least one of add or remove must be present. Updates are applied atomically; if validation fails, the existing command configuration remains unchanged.
|
|
4
|
+
*/
|
|
5
|
+
export interface TranscribeCommandsUpdateMessage {
|
|
6
|
+
type: "commands_update";
|
|
7
|
+
/** Commands to add or update. Adding a command with an id that already exists overwrites the existing command. Each command must include the full definition (id, phrases, variables). */
|
|
8
|
+
add?: Corti.TranscribeCommand[];
|
|
9
|
+
/** Commands to remove by exact id match. Only the id field is required and allowed in remove definitions. */
|
|
10
|
+
remove?: Corti.TranscribeCommandRemove[];
|
|
11
|
+
}
|
|
@@ -14,7 +14,7 @@ export interface TranscribeConfig {
|
|
|
14
14
|
audioEvents?: Corti.TranscribeAudioEventsConfig;
|
|
15
15
|
/** Define the audio format of the incoming audio stream - optional but recommended. When omitted, the server auto-detects the format from the first audio chunk using ffprobe. Supported audio will be processed. Unsupported return an error but might in some cases error silently. If provided (recommended), the provided MIME type must be supported and the audio must match the MIME type. An unsupported MIME type results in `CONFIG_REJECTED`. Audio that differs from the MIME type will return audio validation errors on the socket. See full list of supported MIME types [here](/stt/audio). */
|
|
16
16
|
audioFormat?: string;
|
|
17
|
-
/** 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. */
|
|
17
|
+
/** 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 100 characters and 10-words for `find` and `replace` fields. */
|
|
18
18
|
replacements?: Corti.TranscribeConfigReplacementsItem[];
|
|
19
19
|
/** 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. */
|
|
20
20
|
keyterms?: Corti.TranscribeConfigKeyterms;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type * as Corti from "../index.mjs";
|
|
2
|
+
export interface TranscriptsFormatting {
|
|
3
|
+
/** Formatting for dates. */
|
|
4
|
+
dates?: Corti.TranscriptsFormattingDates;
|
|
5
|
+
/** Formatting for times. */
|
|
6
|
+
times?: Corti.TranscriptsFormattingTimes;
|
|
7
|
+
/** Formatting for numbers. */
|
|
8
|
+
numbers?: Corti.TranscriptsFormattingNumbers;
|
|
9
|
+
/** Formatting for measurements. */
|
|
10
|
+
measurements?: Corti.TranscriptsFormattingMeasurements;
|
|
11
|
+
/** Formatting for numeric ranges. */
|
|
12
|
+
numericRanges?: Corti.TranscriptsFormattingNumericRanges;
|
|
13
|
+
/** Formatting for ordinals. */
|
|
14
|
+
ordinals?: Corti.TranscriptsFormattingOrdinals;
|
|
15
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** Formatting for dates. */
|
|
2
|
+
export declare const TranscriptsFormattingDates: {
|
|
3
|
+
readonly LocaleLong: "locale:long";
|
|
4
|
+
readonly LocaleMedium: "locale:medium";
|
|
5
|
+
readonly LocaleShort: "locale:short";
|
|
6
|
+
readonly AsDictated: "as_dictated";
|
|
7
|
+
readonly Iso: "iso";
|
|
8
|
+
};
|
|
9
|
+
export type TranscriptsFormattingDates = (typeof TranscriptsFormattingDates)[keyof typeof TranscriptsFormattingDates];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
/** Formatting for dates. */
|
|
3
|
+
export const TranscriptsFormattingDates = {
|
|
4
|
+
LocaleLong: "locale:long",
|
|
5
|
+
LocaleMedium: "locale:medium",
|
|
6
|
+
LocaleShort: "locale:short",
|
|
7
|
+
AsDictated: "as_dictated",
|
|
8
|
+
Iso: "iso",
|
|
9
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** Formatting for measurements. */
|
|
2
|
+
export declare const TranscriptsFormattingMeasurements: {
|
|
3
|
+
readonly Abbreviated: "abbreviated";
|
|
4
|
+
readonly AsDictated: "as_dictated";
|
|
5
|
+
};
|
|
6
|
+
export type TranscriptsFormattingMeasurements = (typeof TranscriptsFormattingMeasurements)[keyof typeof TranscriptsFormattingMeasurements];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** Formatting for numbers. */
|
|
2
|
+
export declare const TranscriptsFormattingNumbers: {
|
|
3
|
+
readonly NumeralsAboveNine: "numerals_above_nine";
|
|
4
|
+
readonly Numerals: "numerals";
|
|
5
|
+
readonly AsDictated: "as_dictated";
|
|
6
|
+
};
|
|
7
|
+
export type TranscriptsFormattingNumbers = (typeof TranscriptsFormattingNumbers)[keyof typeof TranscriptsFormattingNumbers];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** Formatting for numeric ranges. */
|
|
2
|
+
export declare const TranscriptsFormattingNumericRanges: {
|
|
3
|
+
readonly Numerals: "numerals";
|
|
4
|
+
readonly AsDictated: "as_dictated";
|
|
5
|
+
};
|
|
6
|
+
export type TranscriptsFormattingNumericRanges = (typeof TranscriptsFormattingNumericRanges)[keyof typeof TranscriptsFormattingNumericRanges];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** Formatting for ordinals. */
|
|
2
|
+
export declare const TranscriptsFormattingOrdinals: {
|
|
3
|
+
readonly NumeralsAboveNine: "numerals_above_nine";
|
|
4
|
+
readonly AsDictated: "as_dictated";
|
|
5
|
+
readonly Numerals: "numerals";
|
|
6
|
+
};
|
|
7
|
+
export type TranscriptsFormattingOrdinals = (typeof TranscriptsFormattingOrdinals)[keyof typeof TranscriptsFormattingOrdinals];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** Formatting for times. */
|
|
2
|
+
export declare const TranscriptsFormattingTimes: {
|
|
3
|
+
readonly Locale: "locale";
|
|
4
|
+
readonly H24: "h24";
|
|
5
|
+
readonly H12: "h12";
|
|
6
|
+
readonly AsDictated: "as_dictated";
|
|
7
|
+
};
|
|
8
|
+
export type TranscriptsFormattingTimes = (typeof TranscriptsFormattingTimes)[keyof typeof TranscriptsFormattingTimes];
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import type * as Corti from "../index.mjs";
|
|
2
1
|
export interface TranscriptsParticipant {
|
|
3
2
|
/** The audio channel to associate with a participant role. */
|
|
4
3
|
channel: number;
|
|
5
|
-
/**
|
|
6
|
-
role:
|
|
4
|
+
/** Free-form label for the participant role (e.g., 'doctor', 'patient', 'Attending Physician'). Must not be empty or whitespace-only after trimming, must not contain control characters, and must not exceed 100 characters or 10 words. */
|
|
5
|
+
role: string;
|
|
7
6
|
}
|