@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
|
@@ -24,6 +24,10 @@ export class ClassicClient {
|
|
|
24
24
|
*
|
|
25
25
|
* List Documents
|
|
26
26
|
*
|
|
27
|
+
* <Note>
|
|
28
|
+
* 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.
|
|
29
|
+
* </Note>
|
|
30
|
+
*
|
|
27
31
|
* @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID.
|
|
28
32
|
* @param {ClassicClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
29
33
|
*
|
|
@@ -104,6 +108,10 @@ export class ClassicClient {
|
|
|
104
108
|
*
|
|
105
109
|
* This endpoint offers different ways to generate a document. Find guides to document generation [here](/textgen/documents-standard).
|
|
106
110
|
*
|
|
111
|
+
* <Note>
|
|
112
|
+
* 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.
|
|
113
|
+
* </Note>
|
|
114
|
+
*
|
|
107
115
|
* @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID.
|
|
108
116
|
* @param {Corti.DocumentsCreateRequest} request
|
|
109
117
|
* @param {ClassicClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -200,6 +208,10 @@ export class ClassicClient {
|
|
|
200
208
|
*
|
|
201
209
|
* Get Document.
|
|
202
210
|
*
|
|
211
|
+
* <Note>
|
|
212
|
+
* 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.
|
|
213
|
+
* </Note>
|
|
214
|
+
*
|
|
203
215
|
* @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID.
|
|
204
216
|
* @param {Corti.Uuid} documentId - The document ID representing the context for the request. Must be a valid UUID.
|
|
205
217
|
* @param {ClassicClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -279,6 +291,10 @@ export class ClassicClient {
|
|
|
279
291
|
/**
|
|
280
292
|
* @deprecated
|
|
281
293
|
*
|
|
294
|
+
* <Note>
|
|
295
|
+
* 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.
|
|
296
|
+
* </Note>
|
|
297
|
+
*
|
|
282
298
|
* @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID.
|
|
283
299
|
* @param {Corti.Uuid} documentId - The document ID representing the context for the request. Must be a valid UUID.
|
|
284
300
|
* @param {ClassicClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -349,6 +365,10 @@ export class ClassicClient {
|
|
|
349
365
|
/**
|
|
350
366
|
* @deprecated
|
|
351
367
|
*
|
|
368
|
+
* <Note>
|
|
369
|
+
* 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.
|
|
370
|
+
* </Note>
|
|
371
|
+
*
|
|
352
372
|
* @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID.
|
|
353
373
|
* @param {Corti.Uuid} documentId - The document ID representing the context for the request. Must be a valid UUID.
|
|
354
374
|
* @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()
|
|
@@ -26,7 +26,6 @@ export class LanguagesClient {
|
|
|
26
26
|
* @param {LanguagesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
27
27
|
*
|
|
28
28
|
* @throws {@link Corti.BadRequestError}
|
|
29
|
-
* @throws {@link Corti.InternalServerError}
|
|
30
29
|
*
|
|
31
30
|
* @example
|
|
32
31
|
* await client.languages.list()
|
|
@@ -75,14 +74,6 @@ export class LanguagesClient {
|
|
|
75
74
|
switch (_response.error.statusCode) {
|
|
76
75
|
case 400:
|
|
77
76
|
throw new Corti.BadRequestError(_response.error.body, _response.rawResponse);
|
|
78
|
-
case 500:
|
|
79
|
-
throw new Corti.InternalServerError(serializers.ErrorResponse.parseOrThrow(_response.error.body, {
|
|
80
|
-
unrecognizedObjectKeys: "passthrough",
|
|
81
|
-
allowUnrecognizedUnionMembers: true,
|
|
82
|
-
allowUnrecognizedEnumValues: true,
|
|
83
|
-
skipValidation: true,
|
|
84
|
-
breadcrumbsPrefix: ["response"],
|
|
85
|
-
}), _response.rawResponse);
|
|
86
77
|
default:
|
|
87
78
|
throw new errors.CortiError({
|
|
88
79
|
statusCode: _response.error.statusCode,
|
package/dist/esm/api/resources/languages/types/LanguagesListResponseLanguagesValueEndpoints.d.mts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as Corti from "../../../index.mjs";
|
|
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
|
+
}
|
|
@@ -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
|
*
|
|
@@ -20,8 +20,14 @@ export class TemplatesClient {
|
|
|
20
20
|
this._options = normalizeClientOptionsWithAuth(options);
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
+
* @deprecated
|
|
24
|
+
*
|
|
23
25
|
* Retrieves a list of template sections with optional filters for organization and language.
|
|
24
26
|
*
|
|
27
|
+
* <Note>
|
|
28
|
+
* 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.
|
|
29
|
+
* </Note>
|
|
30
|
+
*
|
|
25
31
|
* @param {Corti.TemplatesSectionListRequest} request
|
|
26
32
|
* @param {TemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
27
33
|
*
|
|
@@ -91,8 +97,14 @@ export class TemplatesClient {
|
|
|
91
97
|
});
|
|
92
98
|
}
|
|
93
99
|
/**
|
|
100
|
+
* @deprecated
|
|
101
|
+
*
|
|
94
102
|
* Retrieves a list of templates with optional filters for organization, language, and status.
|
|
95
103
|
*
|
|
104
|
+
* <Note>
|
|
105
|
+
* 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.
|
|
106
|
+
* </Note>
|
|
107
|
+
*
|
|
96
108
|
* @param {Corti.TemplatesListRequest} request
|
|
97
109
|
* @param {TemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
98
110
|
*
|
|
@@ -163,8 +175,14 @@ export class TemplatesClient {
|
|
|
163
175
|
});
|
|
164
176
|
}
|
|
165
177
|
/**
|
|
178
|
+
* @deprecated
|
|
179
|
+
*
|
|
166
180
|
* Retrieves template by key.
|
|
167
181
|
*
|
|
182
|
+
* <Note>
|
|
183
|
+
* 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.
|
|
184
|
+
* </Note>
|
|
185
|
+
*
|
|
168
186
|
* @param {string} key - The key of the template
|
|
169
187
|
* @param {TemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
170
188
|
*
|
|
@@ -4,7 +4,7 @@ export declare namespace TranscribeSocket {
|
|
|
4
4
|
interface Args {
|
|
5
5
|
socket: core.ReconnectingWebSocket;
|
|
6
6
|
}
|
|
7
|
-
type Response = Corti.TranscribeUsageMessage | Corti.TranscribeFlushedMessage | Corti.TranscribeDeltaUsageMessage | Corti.TranscribeEndedMessage | Corti.TranscribeErrorMessage | Corti.TranscribeTranscriptMessage | Corti.TranscribeCommandMessage | Corti.TranscribeConfigStatusMessage | Corti.TranscribeAudioEventMessage;
|
|
7
|
+
type Response = Corti.TranscribeUsageMessage | Corti.TranscribeFlushedMessage | Corti.TranscribeDeltaUsageMessage | Corti.TranscribeEndedMessage | Corti.TranscribeErrorMessage | Corti.TranscribeTranscriptMessage | Corti.TranscribeCommandMessage | Corti.TranscribeConfigStatusMessage | Corti.TranscribeAudioEventMessage | Corti.TranscribeCommandsUpdateAcceptedMessage | Corti.TranscribeCommandsUpdateDeniedMessage;
|
|
8
8
|
type EventHandlers = {
|
|
9
9
|
open?: () => void;
|
|
10
10
|
message?: (message: Response) => void;
|
|
@@ -37,6 +37,7 @@ export declare class TranscribeSocket {
|
|
|
37
37
|
sendAudio(message: ArrayBufferLike | Blob | ArrayBufferView): void;
|
|
38
38
|
sendFlush(message: Corti.TranscribeFlushMessage): void;
|
|
39
39
|
sendEnd(message: Corti.TranscribeEndMessage): void;
|
|
40
|
+
sendCommandsUpdate(message: Corti.TranscribeCommandsUpdateMessage): void;
|
|
40
41
|
/** Connect to the websocket and register event handlers. */
|
|
41
42
|
connect(): TranscribeSocket;
|
|
42
43
|
/** Close the websocket and unregister event handlers. */
|
|
@@ -11,6 +11,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
11
11
|
import * as core from "../../../../core/index.mjs";
|
|
12
12
|
import { fromJson } from "../../../../core/json.mjs";
|
|
13
13
|
import * as serializers from "../../../../serialization/index.mjs";
|
|
14
|
+
import { TranscribeCommandsUpdateMessage } from "../../../../serialization/types/TranscribeCommandsUpdateMessage.mjs";
|
|
14
15
|
import { TranscribeConfigMessage } from "../../../../serialization/types/TranscribeConfigMessage.mjs";
|
|
15
16
|
import { TranscribeEndMessage } from "../../../../serialization/types/TranscribeEndMessage.mjs";
|
|
16
17
|
import { TranscribeFlushMessage } from "../../../../serialization/types/TranscribeFlushMessage.mjs";
|
|
@@ -107,6 +108,17 @@ export class TranscribeSocket {
|
|
|
107
108
|
});
|
|
108
109
|
this.socket.send(JSON.stringify(jsonPayload));
|
|
109
110
|
}
|
|
111
|
+
sendCommandsUpdate(message) {
|
|
112
|
+
this.assertSocketIsOpen();
|
|
113
|
+
const jsonPayload = TranscribeCommandsUpdateMessage.jsonOrThrow(message, {
|
|
114
|
+
unrecognizedObjectKeys: "passthrough",
|
|
115
|
+
allowUnrecognizedUnionMembers: true,
|
|
116
|
+
allowUnrecognizedEnumValues: true,
|
|
117
|
+
skipValidation: true,
|
|
118
|
+
omitUndefined: true,
|
|
119
|
+
});
|
|
120
|
+
this.socket.send(JSON.stringify(jsonPayload));
|
|
121
|
+
}
|
|
110
122
|
/** Connect to the websocket and register event handlers. */
|
|
111
123
|
connect() {
|
|
112
124
|
this.socket.reconnect();
|
|
@@ -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
|
|
@@ -20,7 +20,7 @@ export class TranscriptsClient {
|
|
|
20
20
|
this._options = normalizeClientOptionsWithAuth(options);
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
* Retrieves a list of transcripts for a given interaction.
|
|
23
|
+
* 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).
|
|
24
24
|
*
|
|
25
25
|
* @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID.
|
|
26
26
|
* @param {Corti.TranscriptsListRequest} request
|
|
@@ -41,9 +41,15 @@ export class TranscriptsClient {
|
|
|
41
41
|
__list(id_1) {
|
|
42
42
|
return __awaiter(this, arguments, void 0, function* (id, request = {}, requestOptions) {
|
|
43
43
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
44
|
-
const { full } = request;
|
|
44
|
+
const { full, direction } = request;
|
|
45
45
|
const _queryParams = {
|
|
46
46
|
full,
|
|
47
|
+
direction: direction != null
|
|
48
|
+
? serializers.CommonSortingDirectionEnum.jsonOrThrow(direction, {
|
|
49
|
+
unrecognizedObjectKeys: "strip",
|
|
50
|
+
omitUndefined: true,
|
|
51
|
+
})
|
|
52
|
+
: undefined,
|
|
47
53
|
};
|
|
48
54
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
49
55
|
const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, 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 100 characters and 10-words for `find` and `replace` fields. */
|
|
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.mjs";
|
|
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
|
}
|
|
@@ -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
|
}
|
|
@@ -4,4 +4,8 @@ export interface AgentsRegistryMcpServer {
|
|
|
4
4
|
name: string;
|
|
5
5
|
/** Type of authorization used by the MCP server. */
|
|
6
6
|
authorizationType: Corti.AgentsRegistryMcpServerAuthorizationType;
|
|
7
|
+
/** Header names the MCP server requires the client to send. */
|
|
8
|
+
requiredHeaders?: string[];
|
|
9
|
+
/** Header names the client may optionally send. */
|
|
10
|
+
optionalHeaders?: string[];
|
|
7
11
|
}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
+
import type * as Corti from "../index.mjs";
|
|
1
2
|
/**
|
|
2
3
|
* Optional filter to restrict the set of codes the model can predict.
|
|
3
4
|
*/
|
|
4
5
|
export interface CodesFilter {
|
|
5
|
-
/**
|
|
6
|
-
include?:
|
|
7
|
-
/**
|
|
8
|
-
exclude?:
|
|
9
|
-
/** When true (default), category codes are expanded to their leaf codes. */
|
|
10
|
-
expand?: boolean;
|
|
6
|
+
/** Condition objects to include. When empty, the full set of codes for the requested systems is used. */
|
|
7
|
+
include?: Corti.CodesFilterCondition[];
|
|
8
|
+
/** Condition objects to subtract from the include set. */
|
|
9
|
+
exclude?: Corti.CodesFilterCondition[];
|
|
11
10
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as Corti from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* Single property/op/value filter clause for attribute-based code filtering.
|
|
4
|
+
*/
|
|
5
|
+
export interface CodesFilterCondition {
|
|
6
|
+
/** The attribute to filter on. */
|
|
7
|
+
property: string;
|
|
8
|
+
/** Comparison operator: `=` (equal), `is-a` (code plus descendants), `descendent-of` (strict descendants), `exists` (`value: true`/`false` for set/unset), `in` (membership). */
|
|
9
|
+
op?: Corti.CodesFilterConditionOp;
|
|
10
|
+
/** Comparison value; type depends on `op`. */
|
|
11
|
+
value: Corti.CodesFilterConditionValue;
|
|
12
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** Comparison operator: `=` (equal), `is-a` (code plus descendants), `descendent-of` (strict descendants), `exists` (`value: true`/`false` for set/unset), `in` (membership). */
|
|
2
|
+
export declare const CodesFilterConditionOp: {
|
|
3
|
+
readonly EqualTo: "=";
|
|
4
|
+
readonly IsA: "is-a";
|
|
5
|
+
readonly DescendentOf: "descendent-of";
|
|
6
|
+
readonly Exists: "exists";
|
|
7
|
+
readonly In: "in";
|
|
8
|
+
};
|
|
9
|
+
export type CodesFilterConditionOp = (typeof CodesFilterConditionOp)[keyof typeof CodesFilterConditionOp];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
/** Comparison operator: `=` (equal), `is-a` (code plus descendants), `descendent-of` (strict descendants), `exists` (`value: true`/`false` for set/unset), `in` (membership). */
|
|
3
|
+
export const CodesFilterConditionOp = {
|
|
4
|
+
EqualTo: "=",
|
|
5
|
+
IsA: "is-a",
|
|
6
|
+
DescendentOf: "descendent-of",
|
|
7
|
+
Exists: "exists",
|
|
8
|
+
In: "in",
|
|
9
|
+
};
|
|
@@ -22,5 +22,14 @@ export declare const CommonCodingSystemEnum: {
|
|
|
22
22
|
readonly Snomedctdk: "snomedctdk";
|
|
23
23
|
readonly Snomedctse: "snomedctse";
|
|
24
24
|
readonly Snomedctus: "snomedctus";
|
|
25
|
+
readonly MeddraIt: "meddra-it";
|
|
26
|
+
readonly MeddraEn: "meddra-en";
|
|
27
|
+
readonly MeddraFr: "meddra-fr";
|
|
28
|
+
readonly MeddraEs: "meddra-es";
|
|
29
|
+
readonly MeddraDe: "meddra-de";
|
|
30
|
+
readonly MeddraNo: "meddra-no";
|
|
31
|
+
readonly MeddraSe: "meddra-se";
|
|
32
|
+
readonly Sks: "sks";
|
|
33
|
+
readonly Kvaa: "kvaa";
|
|
25
34
|
};
|
|
26
35
|
export type CommonCodingSystemEnum = (typeof CommonCodingSystemEnum)[keyof typeof CommonCodingSystemEnum];
|
|
@@ -23,4 +23,13 @@ export const CommonCodingSystemEnum = {
|
|
|
23
23
|
Snomedctdk: "snomedctdk",
|
|
24
24
|
Snomedctse: "snomedctse",
|
|
25
25
|
Snomedctus: "snomedctus",
|
|
26
|
+
MeddraIt: "meddra-it",
|
|
27
|
+
MeddraEn: "meddra-en",
|
|
28
|
+
MeddraFr: "meddra-fr",
|
|
29
|
+
MeddraEs: "meddra-es",
|
|
30
|
+
MeddraDe: "meddra-de",
|
|
31
|
+
MeddraNo: "meddra-no",
|
|
32
|
+
MeddraSe: "meddra-se",
|
|
33
|
+
Sks: "sks",
|
|
34
|
+
Kvaa: "kvaa",
|
|
26
35
|
};
|
|
@@ -12,8 +12,12 @@ export interface CommonConnectorAuth {
|
|
|
12
12
|
type: Corti.CommonConnectorAuthType;
|
|
13
13
|
/** OAuth2 scope requested. */
|
|
14
14
|
scope?: string;
|
|
15
|
-
/** OAuth2
|
|
16
|
-
|
|
15
|
+
/** Token URL override for the OAuth2.0 token endpoint. */
|
|
16
|
+
tokenUrl?: string;
|
|
17
17
|
/** Reference to a server-side stored secret. Mutually exclusive with inline credentials passed at call time. */
|
|
18
18
|
ref?: string;
|
|
19
|
+
/** Header names the MCP server requires the client to send in the authorization data part. The client must supply values for each listed name; missing headers trigger an auth-required challenge that lists them. */
|
|
20
|
+
requiredHeaders?: string[];
|
|
21
|
+
/** Header names the client may optionally send. Headers not in requiredHeaders or optionalHeaders are rejected as undeclared. */
|
|
22
|
+
optionalHeaders?: string[];
|
|
19
23
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Per-request usage accounting emitted by the agent service under
|
|
3
|
+
* `metadata.corti.usage`. `creditsConsumed` is always populated;
|
|
4
|
+
* `inputTokens` and `outputTokens` may appear in the future.
|
|
5
|
+
*/
|
|
6
|
+
export interface CommonCortiUsage {
|
|
7
|
+
/** Corti billing credits charged for the task. */
|
|
8
|
+
creditsConsumed: number;
|
|
9
|
+
/** Prompt tokens consumed. */
|
|
10
|
+
inputTokens?: number;
|
|
11
|
+
/** Completion tokens produced. */
|
|
12
|
+
outputTokens?: number;
|
|
13
|
+
}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import type * as Corti from "../index.mjs";
|
|
2
2
|
/**
|
|
3
|
-
* Free-form A2A task metadata. Corti's first-party keys
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* permitted.
|
|
3
|
+
* Free-form A2A task metadata. Corti's first-party keys live under the
|
|
4
|
+
* `corti` namespace. Token and credit accounting is carried under
|
|
5
|
+
* `corti.usage`. Arbitrary additional keys are permitted.
|
|
7
6
|
*/
|
|
8
7
|
export interface CommonTaskMetadata {
|
|
9
|
-
|
|
8
|
+
corti?: Corti.CommonCortiMetadata;
|
|
10
9
|
/** Accepts any additional properties */
|
|
11
10
|
[key: string]: any;
|
|
12
11
|
}
|
|
@@ -10,6 +10,6 @@ export interface CommonTaskResponse {
|
|
|
10
10
|
history?: Corti.CommonMessage[];
|
|
11
11
|
/** Artifacts produced by the task. */
|
|
12
12
|
artifacts?: Corti.CommonArtifactResponse[];
|
|
13
|
-
/** Task metadata, including
|
|
13
|
+
/** Task metadata, including `corti.usage` credit accounting. Populated by both the REST and JSON-RPC v2 bindings; the deprecated v1 bindings do not include it. */
|
|
14
14
|
metadata?: Corti.CommonTaskMetadata;
|
|
15
15
|
}
|
|
@@ -5,7 +5,7 @@ export interface CommonTranscriptResponse {
|
|
|
5
5
|
participant: number;
|
|
6
6
|
/** Id to tag an identified speaker. Auto-increments. */
|
|
7
7
|
speakerId: number;
|
|
8
|
-
/** The spoken phrase or utterance extracted from the audio. */
|
|
8
|
+
/** The spoken phrase or utterance extracted from the audio. Will be a single word or entity if `wordLevel.enabled` was set to `true` when the transcript was created. */
|
|
9
9
|
text: string;
|
|
10
10
|
/** Start time in milliseconds for phrase/utterance. */
|
|
11
11
|
start: number;
|
|
@@ -11,4 +11,6 @@ export interface GuidedArrayNode {
|
|
|
11
11
|
minItems?: number | null;
|
|
12
12
|
/** Maximum number of array items to generate. */
|
|
13
13
|
maxItems?: number | null;
|
|
14
|
+
/** Text rendered in place of the array when no items have relevant input/output. */
|
|
15
|
+
fallbackString?: string | null;
|
|
14
16
|
}
|