@corti/sdk 5.0.0 → 6.0.0-rc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +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/transcripts/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/transcripts/client/Client.js +8 -2
- package/dist/cjs/api/resources/transcripts/client/requests/TranscriptsCreateRequest.d.ts +5 -2
- package/dist/cjs/api/resources/transcripts/client/requests/TranscriptsListRequest.d.ts +3 -0
- package/dist/cjs/api/resources/transcripts/types/TranscriptsCreateRequestWordLevel.d.ts +6 -0
- package/dist/cjs/api/resources/transcripts/types/TranscriptsCreateRequestWordLevel.js +3 -0
- package/dist/cjs/api/resources/transcripts/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/transcripts/types/index.js +1 -0
- package/dist/cjs/api/types/AgenticAgentsResponse.d.ts +4 -0
- package/dist/cjs/api/types/AgentsCreateMcpServer.d.ts +6 -2
- package/dist/cjs/api/types/AgentsMcpServer.d.ts +6 -2
- package/dist/cjs/api/types/AgentsRegistryMcpServer.d.ts +4 -0
- package/dist/cjs/api/types/CodesFilter.d.ts +5 -6
- package/dist/cjs/api/types/CodesFilterCondition.d.ts +12 -0
- package/dist/cjs/api/types/CodesFilterCondition.js +3 -0
- package/dist/cjs/api/types/CodesFilterConditionOp.d.ts +9 -0
- package/dist/cjs/api/types/CodesFilterConditionOp.js +12 -0
- package/dist/cjs/api/types/CodesFilterConditionValue.d.ts +4 -0
- package/dist/cjs/api/types/CodesFilterConditionValue.js +3 -0
- package/dist/cjs/api/types/CommonCodingSystemEnum.d.ts +9 -0
- package/dist/cjs/api/types/CommonCodingSystemEnum.js +9 -0
- package/dist/cjs/api/types/CommonConnectorAuth.d.ts +6 -2
- package/dist/cjs/api/types/CommonCortiMetadata.d.ts +8 -0
- package/dist/cjs/api/types/CommonCortiMetadata.js +3 -0
- package/dist/cjs/api/types/CommonCortiUsage.d.ts +13 -0
- package/dist/cjs/api/types/CommonCortiUsage.js +3 -0
- package/dist/cjs/api/types/CommonTaskMetadata.d.ts +4 -5
- package/dist/cjs/api/types/CommonTaskResponse.d.ts +1 -1
- package/dist/cjs/api/types/CommonTranscriptResponse.d.ts +1 -1
- package/dist/cjs/api/types/GuidedArrayNode.d.ts +2 -0
- package/dist/cjs/api/types/GuidedAssemblySectionRef.d.ts +2 -1
- package/dist/cjs/api/types/GuidedObjectNode.d.ts +2 -0
- package/dist/cjs/api/types/GuidedSectionOverride.d.ts +1 -2
- package/dist/cjs/api/types/GuidedSectionOverridePatch.d.ts +14 -0
- package/dist/cjs/api/types/GuidedSectionOverridePatch.js +3 -0
- package/dist/cjs/api/types/GuidedTemplateOverrides.d.ts +7 -2
- package/dist/cjs/api/types/GuidedTemplateOverridesGeneration.d.ts +10 -0
- package/dist/cjs/api/types/GuidedTemplateOverridesGeneration.js +3 -0
- package/dist/cjs/api/types/InteractionsDeletionReasonEnum.d.ts +6 -0
- package/dist/cjs/api/types/InteractionsDeletionReasonEnum.js +9 -0
- package/dist/cjs/api/types/InteractionsGetResponse.d.ts +6 -0
- package/dist/cjs/api/types/InteractionsPatient.d.ts +1 -1
- package/dist/cjs/api/types/LanguagesEndpointAttributes.d.ts +4 -0
- package/dist/cjs/api/types/LanguagesEndpointAttributes.js +3 -0
- package/dist/cjs/api/types/StreamConfig.d.ts +2 -1
- package/dist/cjs/api/types/StreamConfigParticipant.d.ts +2 -3
- package/dist/cjs/api/types/StreamConfigTranscription.d.ts +2 -2
- package/dist/cjs/api/types/StreamFormatting.d.ts +15 -0
- package/dist/cjs/api/types/StreamFormatting.js +3 -0
- package/dist/cjs/api/types/StreamFormattingDates.d.ts +9 -0
- package/dist/cjs/api/types/StreamFormattingDates.js +12 -0
- package/dist/cjs/api/types/StreamFormattingMeasurements.d.ts +6 -0
- package/dist/cjs/api/types/StreamFormattingMeasurements.js +9 -0
- package/dist/cjs/api/types/StreamFormattingNumbers.d.ts +7 -0
- package/dist/cjs/api/types/StreamFormattingNumbers.js +10 -0
- package/dist/cjs/api/types/StreamFormattingNumericRanges.d.ts +6 -0
- package/dist/cjs/api/types/StreamFormattingNumericRanges.js +9 -0
- package/dist/cjs/api/types/StreamFormattingOrdinals.d.ts +7 -0
- package/dist/cjs/api/types/StreamFormattingOrdinals.js +10 -0
- package/dist/cjs/api/types/StreamFormattingTimes.d.ts +8 -0
- package/dist/cjs/api/types/StreamFormattingTimes.js +11 -0
- package/dist/cjs/api/types/TranscribeConfig.d.ts +1 -1
- package/dist/cjs/api/types/TranscriptsFormatting.d.ts +15 -0
- package/dist/cjs/api/types/TranscriptsFormatting.js +3 -0
- package/dist/cjs/api/types/TranscriptsFormattingDates.d.ts +9 -0
- package/dist/cjs/api/types/TranscriptsFormattingDates.js +12 -0
- package/dist/cjs/api/types/TranscriptsFormattingMeasurements.d.ts +6 -0
- package/dist/cjs/api/types/TranscriptsFormattingMeasurements.js +9 -0
- package/dist/cjs/api/types/TranscriptsFormattingNumbers.d.ts +7 -0
- package/dist/cjs/api/types/TranscriptsFormattingNumbers.js +10 -0
- package/dist/cjs/api/types/TranscriptsFormattingNumericRanges.d.ts +6 -0
- package/dist/cjs/api/types/TranscriptsFormattingNumericRanges.js +9 -0
- package/dist/cjs/api/types/TranscriptsFormattingOrdinals.d.ts +7 -0
- package/dist/cjs/api/types/TranscriptsFormattingOrdinals.js +10 -0
- package/dist/cjs/api/types/TranscriptsFormattingTimes.d.ts +8 -0
- package/dist/cjs/api/types/TranscriptsFormattingTimes.js +11 -0
- package/dist/cjs/api/types/TranscriptsListItem.d.ts +1 -1
- package/dist/cjs/api/types/TranscriptsParticipant.d.ts +2 -3
- package/dist/cjs/api/types/index.d.ts +23 -4
- package/dist/cjs/api/types/index.js +23 -4
- package/dist/cjs/custom/CortiClient.d.ts +13 -0
- package/dist/cjs/custom/CortiClient.js +24 -0
- package/dist/cjs/custom/auth/CortiAuth.js +1 -1
- package/dist/cjs/custom/utils/sdkHeaderNames.js +1 -0
- package/dist/cjs/custom/utils/stripFernNormalizedHeaders.d.ts +1 -1
- package/dist/cjs/custom/utils/stripFernNormalizedHeaders.js +2 -2
- package/dist/cjs/serialization/resources/agentic/resources/agents/client/requests/AgenticAgentsCreateRequest.d.ts +1 -0
- package/dist/cjs/serialization/resources/agentic/resources/agents/client/requests/AgenticAgentsCreateRequest.js +1 -0
- package/dist/cjs/serialization/resources/agentic/resources/agents/client/requests/AgenticAgentsPatchRequest.d.ts +1 -0
- package/dist/cjs/serialization/resources/agentic/resources/agents/client/requests/AgenticAgentsPatchRequest.js +1 -0
- package/dist/cjs/serialization/resources/languages/types/LanguagesListResponse.d.ts +10 -0
- package/dist/cjs/serialization/resources/languages/types/LanguagesListResponse.js +42 -0
- package/dist/cjs/serialization/resources/languages/types/LanguagesListResponseLanguagesValue.d.ts +10 -0
- package/dist/cjs/serialization/resources/languages/types/LanguagesListResponseLanguagesValue.js +42 -0
- package/dist/cjs/serialization/resources/languages/types/LanguagesListResponseLanguagesValueEndpoints.d.ts +12 -0
- package/dist/cjs/serialization/resources/languages/types/LanguagesListResponseLanguagesValueEndpoints.js +44 -0
- package/dist/cjs/serialization/resources/languages/types/index.d.ts +3 -0
- package/dist/cjs/serialization/resources/languages/types/index.js +3 -0
- package/dist/cjs/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.d.ts +4 -0
- package/dist/cjs/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.js +4 -0
- package/dist/cjs/serialization/resources/transcripts/types/TranscriptsCreateRequestWordLevel.d.ts +9 -0
- package/dist/cjs/serialization/resources/transcripts/types/TranscriptsCreateRequestWordLevel.js +41 -0
- package/dist/cjs/serialization/resources/transcripts/types/index.d.ts +1 -0
- package/dist/cjs/serialization/resources/transcripts/types/index.js +1 -0
- package/dist/cjs/serialization/types/AgenticAgentsResponse.d.ts +2 -0
- package/dist/cjs/serialization/types/AgenticAgentsResponse.js +2 -0
- package/dist/cjs/serialization/types/AgentsCreateMcpServer.d.ts +3 -1
- package/dist/cjs/serialization/types/AgentsCreateMcpServer.js +3 -1
- package/dist/cjs/serialization/types/AgentsMcpServer.d.ts +3 -1
- package/dist/cjs/serialization/types/AgentsMcpServer.js +3 -1
- package/dist/cjs/serialization/types/AgentsRegistryMcpServer.d.ts +2 -0
- package/dist/cjs/serialization/types/AgentsRegistryMcpServer.js +2 -0
- package/dist/cjs/serialization/types/CodesFilter.d.ts +3 -3
- package/dist/cjs/serialization/types/CodesFilter.js +3 -3
- package/dist/cjs/serialization/types/CodesFilterCondition.d.ts +13 -0
- package/dist/cjs/serialization/types/{CommonUsage.js → CodesFilterCondition.js} +7 -9
- package/dist/cjs/serialization/types/CodesFilterConditionOp.d.ts +7 -0
- package/dist/cjs/serialization/types/{TranscriptsParticipantRoleEnum.js → CodesFilterConditionOp.js} +2 -2
- package/dist/cjs/serialization/types/CodesFilterConditionValue.d.ts +7 -0
- package/dist/cjs/serialization/types/CodesFilterConditionValue.js +44 -0
- package/dist/cjs/serialization/types/CommonCodingSystemEnum.d.ts +1 -1
- package/dist/cjs/serialization/types/CommonCodingSystemEnum.js +9 -0
- package/dist/cjs/serialization/types/CommonConnectorAuth.d.ts +3 -1
- package/dist/cjs/serialization/types/CommonConnectorAuth.js +3 -1
- package/dist/cjs/serialization/types/CommonCortiMetadata.d.ts +10 -0
- package/dist/cjs/serialization/types/CommonCortiMetadata.js +42 -0
- package/dist/cjs/serialization/types/CommonCortiUsage.d.ts +11 -0
- package/dist/cjs/serialization/types/CommonCortiUsage.js +43 -0
- package/dist/cjs/serialization/types/CommonTaskMetadata.d.ts +2 -2
- package/dist/cjs/serialization/types/CommonTaskMetadata.js +2 -2
- package/dist/cjs/serialization/types/GuidedArrayNode.d.ts +1 -0
- package/dist/cjs/serialization/types/GuidedArrayNode.js +1 -0
- package/dist/cjs/serialization/types/GuidedAssemblySectionRef.d.ts +2 -2
- package/dist/cjs/serialization/types/GuidedAssemblySectionRef.js +2 -2
- package/dist/cjs/serialization/types/GuidedObjectNode.d.ts +1 -0
- package/dist/cjs/serialization/types/GuidedObjectNode.js +1 -0
- package/dist/cjs/serialization/types/GuidedSectionOverride.d.ts +2 -3
- package/dist/cjs/serialization/types/GuidedSectionOverride.js +5 -4
- package/dist/cjs/serialization/types/GuidedSectionOverridePatch.d.ts +14 -0
- package/dist/cjs/serialization/types/GuidedSectionOverridePatch.js +47 -0
- package/dist/cjs/serialization/types/GuidedTemplateOverrides.d.ts +2 -0
- package/dist/cjs/serialization/types/GuidedTemplateOverrides.js +2 -0
- package/dist/cjs/serialization/types/GuidedTemplateOverridesGeneration.d.ts +12 -0
- package/dist/cjs/serialization/types/GuidedTemplateOverridesGeneration.js +44 -0
- package/dist/cjs/serialization/types/InteractionsDeletionReasonEnum.d.ts +7 -0
- package/dist/cjs/serialization/types/InteractionsDeletionReasonEnum.js +39 -0
- package/dist/cjs/serialization/types/InteractionsGetResponse.d.ts +4 -0
- package/dist/cjs/serialization/types/InteractionsGetResponse.js +4 -0
- package/dist/cjs/serialization/types/InteractionsPatient.d.ts +1 -1
- package/dist/cjs/serialization/types/InteractionsPatient.js +1 -1
- package/dist/cjs/serialization/types/LanguagesEndpointAttributes.d.ts +9 -0
- package/dist/cjs/serialization/types/{LanguagesListResponse.js → LanguagesEndpointAttributes.js} +3 -3
- package/dist/cjs/serialization/types/StreamConfig.d.ts +2 -0
- package/dist/cjs/serialization/types/StreamConfig.js +2 -0
- package/dist/cjs/serialization/types/StreamConfigParticipant.d.ts +1 -2
- package/dist/cjs/serialization/types/StreamConfigParticipant.js +1 -2
- package/dist/cjs/serialization/types/StreamFormatting.d.ts +20 -0
- package/dist/cjs/serialization/types/StreamFormatting.js +52 -0
- package/dist/cjs/serialization/types/StreamFormattingDates.d.ts +7 -0
- package/dist/cjs/serialization/types/StreamFormattingDates.js +39 -0
- package/dist/cjs/serialization/types/StreamFormattingMeasurements.d.ts +7 -0
- package/dist/cjs/serialization/types/{StreamConfigParticipantRole.js → StreamFormattingMeasurements.js} +2 -2
- package/dist/cjs/serialization/types/StreamFormattingNumbers.d.ts +7 -0
- package/dist/cjs/serialization/types/StreamFormattingNumbers.js +39 -0
- package/dist/cjs/serialization/types/StreamFormattingNumericRanges.d.ts +7 -0
- package/dist/cjs/serialization/types/StreamFormattingNumericRanges.js +39 -0
- package/dist/cjs/serialization/types/StreamFormattingOrdinals.d.ts +7 -0
- package/dist/cjs/serialization/types/StreamFormattingOrdinals.js +39 -0
- package/dist/cjs/serialization/types/StreamFormattingTimes.d.ts +7 -0
- package/dist/cjs/serialization/types/StreamFormattingTimes.js +39 -0
- package/dist/cjs/serialization/types/TranscriptsFormatting.d.ts +20 -0
- package/dist/cjs/serialization/types/TranscriptsFormatting.js +52 -0
- package/dist/cjs/serialization/types/TranscriptsFormattingDates.d.ts +7 -0
- package/dist/cjs/serialization/types/TranscriptsFormattingDates.js +39 -0
- package/dist/cjs/serialization/types/TranscriptsFormattingMeasurements.d.ts +7 -0
- package/dist/cjs/serialization/types/TranscriptsFormattingMeasurements.js +39 -0
- package/dist/cjs/serialization/types/TranscriptsFormattingNumbers.d.ts +7 -0
- package/dist/cjs/serialization/types/TranscriptsFormattingNumbers.js +39 -0
- package/dist/cjs/serialization/types/TranscriptsFormattingNumericRanges.d.ts +7 -0
- package/dist/cjs/serialization/types/TranscriptsFormattingNumericRanges.js +39 -0
- package/dist/cjs/serialization/types/TranscriptsFormattingOrdinals.d.ts +7 -0
- package/dist/cjs/serialization/types/TranscriptsFormattingOrdinals.js +39 -0
- package/dist/cjs/serialization/types/TranscriptsFormattingTimes.d.ts +7 -0
- package/dist/cjs/serialization/types/TranscriptsFormattingTimes.js +39 -0
- package/dist/cjs/serialization/types/TranscriptsListItem.d.ts +1 -1
- package/dist/cjs/serialization/types/TranscriptsListItem.js +1 -1
- package/dist/cjs/serialization/types/TranscriptsParticipant.d.ts +1 -2
- package/dist/cjs/serialization/types/TranscriptsParticipant.js +1 -2
- package/dist/cjs/serialization/types/index.d.ts +23 -4
- package/dist/cjs/serialization/types/index.js +23 -4
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/agentic/resources/agents/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/agentic/resources/agents/client/Client.mjs +1 -1
- package/dist/esm/api/resources/agentic/resources/agents/client/requests/AgenticAgentsCreateRequest.d.mts +3 -1
- package/dist/esm/api/resources/agentic/resources/agents/client/requests/AgenticAgentsPatchRequest.d.mts +2 -0
- package/dist/esm/api/resources/codes/client/Client.d.mts +6 -3
- package/dist/esm/api/resources/codes/client/Client.mjs +6 -3
- package/dist/esm/api/resources/codes/client/requests/CodesGeneralPredictRequest.d.mts +5 -2
- package/dist/esm/api/resources/documents/resources/classic/client/Client.d.mts +20 -0
- package/dist/esm/api/resources/documents/resources/classic/client/Client.mjs +20 -0
- package/dist/esm/api/resources/languages/client/Client.d.mts +0 -1
- package/dist/esm/api/resources/languages/client/Client.mjs +0 -9
- package/dist/esm/api/resources/languages/types/LanguagesListRequestEndpoint.d.mts +0 -1
- package/dist/esm/api/resources/languages/types/LanguagesListRequestEndpoint.mjs +0 -1
- package/dist/esm/api/resources/languages/types/LanguagesListResponse.d.mts +4 -0
- package/dist/esm/api/resources/languages/types/LanguagesListResponseLanguagesValue.d.mts +4 -0
- package/dist/esm/api/resources/languages/types/LanguagesListResponseLanguagesValueEndpoints.d.mts +9 -0
- package/dist/esm/api/resources/languages/types/LanguagesListResponseLanguagesValueEndpoints.mjs +2 -0
- package/dist/esm/api/resources/languages/types/index.d.mts +3 -0
- package/dist/esm/api/resources/languages/types/index.mjs +3 -0
- package/dist/esm/api/resources/templates/client/Client.d.mts +18 -0
- package/dist/esm/api/resources/templates/client/Client.mjs +18 -0
- package/dist/esm/api/resources/transcripts/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/transcripts/client/Client.mjs +8 -2
- package/dist/esm/api/resources/transcripts/client/requests/TranscriptsCreateRequest.d.mts +5 -2
- package/dist/esm/api/resources/transcripts/client/requests/TranscriptsListRequest.d.mts +3 -0
- package/dist/esm/api/resources/transcripts/types/TranscriptsCreateRequestWordLevel.d.mts +6 -0
- package/dist/esm/api/resources/transcripts/types/TranscriptsCreateRequestWordLevel.mjs +2 -0
- package/dist/esm/api/resources/transcripts/types/index.d.mts +1 -0
- package/dist/esm/api/resources/transcripts/types/index.mjs +1 -0
- package/dist/esm/api/types/AgenticAgentsResponse.d.mts +4 -0
- package/dist/esm/api/types/AgentsCreateMcpServer.d.mts +6 -2
- package/dist/esm/api/types/AgentsMcpServer.d.mts +6 -2
- package/dist/esm/api/types/AgentsRegistryMcpServer.d.mts +4 -0
- package/dist/esm/api/types/CodesFilter.d.mts +5 -6
- package/dist/esm/api/types/CodesFilterCondition.d.mts +12 -0
- package/dist/esm/api/types/CodesFilterCondition.mjs +2 -0
- package/dist/esm/api/types/CodesFilterConditionOp.d.mts +9 -0
- package/dist/esm/api/types/CodesFilterConditionOp.mjs +9 -0
- package/dist/esm/api/types/CodesFilterConditionValue.d.mts +4 -0
- package/dist/esm/api/types/CodesFilterConditionValue.mjs +2 -0
- package/dist/esm/api/types/CommonCodingSystemEnum.d.mts +9 -0
- package/dist/esm/api/types/CommonCodingSystemEnum.mjs +9 -0
- package/dist/esm/api/types/CommonConnectorAuth.d.mts +6 -2
- package/dist/esm/api/types/CommonCortiMetadata.d.mts +8 -0
- package/dist/esm/api/types/CommonCortiMetadata.mjs +2 -0
- package/dist/esm/api/types/CommonCortiUsage.d.mts +13 -0
- package/dist/esm/api/types/CommonCortiUsage.mjs +2 -0
- package/dist/esm/api/types/CommonTaskMetadata.d.mts +4 -5
- package/dist/esm/api/types/CommonTaskResponse.d.mts +1 -1
- package/dist/esm/api/types/CommonTranscriptResponse.d.mts +1 -1
- package/dist/esm/api/types/GuidedArrayNode.d.mts +2 -0
- package/dist/esm/api/types/GuidedAssemblySectionRef.d.mts +2 -1
- package/dist/esm/api/types/GuidedObjectNode.d.mts +2 -0
- package/dist/esm/api/types/GuidedSectionOverride.d.mts +1 -2
- package/dist/esm/api/types/GuidedSectionOverridePatch.d.mts +14 -0
- package/dist/esm/api/types/GuidedSectionOverridePatch.mjs +2 -0
- package/dist/esm/api/types/GuidedTemplateOverrides.d.mts +7 -2
- package/dist/esm/api/types/GuidedTemplateOverridesGeneration.d.mts +10 -0
- package/dist/esm/api/types/GuidedTemplateOverridesGeneration.mjs +2 -0
- package/dist/esm/api/types/InteractionsDeletionReasonEnum.d.mts +6 -0
- package/dist/esm/api/types/InteractionsDeletionReasonEnum.mjs +6 -0
- package/dist/esm/api/types/InteractionsGetResponse.d.mts +6 -0
- package/dist/esm/api/types/InteractionsPatient.d.mts +1 -1
- package/dist/esm/api/types/LanguagesEndpointAttributes.d.mts +4 -0
- package/dist/esm/api/types/LanguagesEndpointAttributes.mjs +2 -0
- package/dist/esm/api/types/StreamConfig.d.mts +2 -1
- package/dist/esm/api/types/StreamConfigParticipant.d.mts +2 -3
- package/dist/esm/api/types/StreamConfigTranscription.d.mts +2 -2
- package/dist/esm/api/types/StreamFormatting.d.mts +15 -0
- package/dist/esm/api/types/StreamFormatting.mjs +2 -0
- package/dist/esm/api/types/StreamFormattingDates.d.mts +9 -0
- package/dist/esm/api/types/StreamFormattingDates.mjs +9 -0
- package/dist/esm/api/types/StreamFormattingMeasurements.d.mts +6 -0
- package/dist/esm/api/types/StreamFormattingMeasurements.mjs +6 -0
- package/dist/esm/api/types/StreamFormattingNumbers.d.mts +7 -0
- package/dist/esm/api/types/StreamFormattingNumbers.mjs +7 -0
- package/dist/esm/api/types/StreamFormattingNumericRanges.d.mts +6 -0
- package/dist/esm/api/types/StreamFormattingNumericRanges.mjs +6 -0
- package/dist/esm/api/types/StreamFormattingOrdinals.d.mts +7 -0
- package/dist/esm/api/types/StreamFormattingOrdinals.mjs +7 -0
- package/dist/esm/api/types/StreamFormattingTimes.d.mts +8 -0
- package/dist/esm/api/types/StreamFormattingTimes.mjs +8 -0
- package/dist/esm/api/types/TranscribeConfig.d.mts +1 -1
- package/dist/esm/api/types/TranscriptsFormatting.d.mts +15 -0
- package/dist/esm/api/types/TranscriptsFormatting.mjs +2 -0
- package/dist/esm/api/types/TranscriptsFormattingDates.d.mts +9 -0
- package/dist/esm/api/types/TranscriptsFormattingDates.mjs +9 -0
- package/dist/esm/api/types/TranscriptsFormattingMeasurements.d.mts +6 -0
- package/dist/esm/api/types/TranscriptsFormattingMeasurements.mjs +6 -0
- package/dist/esm/api/types/TranscriptsFormattingNumbers.d.mts +7 -0
- package/dist/esm/api/types/TranscriptsFormattingNumbers.mjs +7 -0
- package/dist/esm/api/types/TranscriptsFormattingNumericRanges.d.mts +6 -0
- package/dist/esm/api/types/TranscriptsFormattingNumericRanges.mjs +6 -0
- package/dist/esm/api/types/TranscriptsFormattingOrdinals.d.mts +7 -0
- package/dist/esm/api/types/TranscriptsFormattingOrdinals.mjs +7 -0
- package/dist/esm/api/types/TranscriptsFormattingTimes.d.mts +8 -0
- package/dist/esm/api/types/TranscriptsFormattingTimes.mjs +8 -0
- package/dist/esm/api/types/TranscriptsListItem.d.mts +1 -1
- package/dist/esm/api/types/TranscriptsParticipant.d.mts +2 -3
- package/dist/esm/api/types/index.d.mts +23 -4
- package/dist/esm/api/types/index.mjs +23 -4
- package/dist/esm/custom/CortiClient.d.mts +13 -0
- package/dist/esm/custom/CortiClient.mjs +25 -1
- package/dist/esm/custom/auth/CortiAuth.mjs +2 -2
- package/dist/esm/custom/utils/sdkHeaderNames.mjs +1 -0
- package/dist/esm/custom/utils/stripFernNormalizedHeaders.d.mts +1 -1
- package/dist/esm/custom/utils/stripFernNormalizedHeaders.mjs +1 -1
- package/dist/esm/serialization/resources/agentic/resources/agents/client/requests/AgenticAgentsCreateRequest.d.mts +1 -0
- package/dist/esm/serialization/resources/agentic/resources/agents/client/requests/AgenticAgentsCreateRequest.mjs +1 -0
- package/dist/esm/serialization/resources/agentic/resources/agents/client/requests/AgenticAgentsPatchRequest.d.mts +1 -0
- package/dist/esm/serialization/resources/agentic/resources/agents/client/requests/AgenticAgentsPatchRequest.mjs +1 -0
- package/dist/esm/serialization/resources/languages/types/LanguagesListResponse.d.mts +10 -0
- package/dist/esm/serialization/{types → resources/languages/types}/LanguagesListResponse.mjs +3 -2
- package/dist/esm/serialization/resources/languages/types/LanguagesListResponseLanguagesValue.d.mts +10 -0
- package/dist/esm/serialization/resources/languages/types/LanguagesListResponseLanguagesValue.mjs +6 -0
- package/dist/esm/serialization/resources/languages/types/LanguagesListResponseLanguagesValueEndpoints.d.mts +12 -0
- package/dist/esm/serialization/resources/languages/types/LanguagesListResponseLanguagesValueEndpoints.mjs +8 -0
- package/dist/esm/serialization/resources/languages/types/index.d.mts +3 -0
- package/dist/esm/serialization/resources/languages/types/index.mjs +3 -0
- package/dist/esm/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.d.mts +4 -0
- package/dist/esm/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.mjs +4 -0
- package/dist/esm/serialization/resources/transcripts/types/TranscriptsCreateRequestWordLevel.d.mts +9 -0
- package/dist/esm/serialization/resources/transcripts/types/TranscriptsCreateRequestWordLevel.mjs +5 -0
- package/dist/esm/serialization/resources/transcripts/types/index.d.mts +1 -0
- package/dist/esm/serialization/resources/transcripts/types/index.mjs +1 -0
- package/dist/esm/serialization/types/AgenticAgentsResponse.d.mts +2 -0
- package/dist/esm/serialization/types/AgenticAgentsResponse.mjs +2 -0
- package/dist/esm/serialization/types/AgentsCreateMcpServer.d.mts +3 -1
- package/dist/esm/serialization/types/AgentsCreateMcpServer.mjs +3 -1
- package/dist/esm/serialization/types/AgentsMcpServer.d.mts +3 -1
- package/dist/esm/serialization/types/AgentsMcpServer.mjs +3 -1
- package/dist/esm/serialization/types/AgentsRegistryMcpServer.d.mts +2 -0
- package/dist/esm/serialization/types/AgentsRegistryMcpServer.mjs +2 -0
- package/dist/esm/serialization/types/CodesFilter.d.mts +3 -3
- package/dist/esm/serialization/types/CodesFilter.mjs +3 -3
- package/dist/esm/serialization/types/CodesFilterCondition.d.mts +13 -0
- package/dist/esm/serialization/types/CodesFilterCondition.mjs +9 -0
- package/dist/esm/serialization/types/CodesFilterConditionOp.d.mts +7 -0
- package/dist/esm/serialization/types/CodesFilterConditionOp.mjs +3 -0
- package/dist/esm/serialization/types/CodesFilterConditionValue.d.mts +7 -0
- package/dist/esm/serialization/types/CodesFilterConditionValue.mjs +8 -0
- package/dist/esm/serialization/types/CommonCodingSystemEnum.d.mts +1 -1
- package/dist/esm/serialization/types/CommonCodingSystemEnum.mjs +9 -0
- package/dist/esm/serialization/types/CommonConnectorAuth.d.mts +3 -1
- package/dist/esm/serialization/types/CommonConnectorAuth.mjs +3 -1
- package/dist/esm/serialization/types/CommonCortiMetadata.d.mts +10 -0
- package/dist/esm/serialization/types/CommonCortiMetadata.mjs +6 -0
- package/dist/esm/serialization/types/CommonCortiUsage.d.mts +11 -0
- package/dist/esm/serialization/types/CommonCortiUsage.mjs +7 -0
- package/dist/esm/serialization/types/CommonTaskMetadata.d.mts +2 -2
- package/dist/esm/serialization/types/CommonTaskMetadata.mjs +2 -2
- package/dist/esm/serialization/types/GuidedArrayNode.d.mts +1 -0
- package/dist/esm/serialization/types/GuidedArrayNode.mjs +1 -0
- package/dist/esm/serialization/types/GuidedAssemblySectionRef.d.mts +2 -2
- package/dist/esm/serialization/types/GuidedAssemblySectionRef.mjs +2 -2
- package/dist/esm/serialization/types/GuidedObjectNode.d.mts +1 -0
- package/dist/esm/serialization/types/GuidedObjectNode.mjs +1 -0
- package/dist/esm/serialization/types/GuidedSectionOverride.d.mts +2 -3
- package/dist/esm/serialization/types/GuidedSectionOverride.mjs +5 -4
- package/dist/esm/serialization/types/GuidedSectionOverridePatch.d.mts +14 -0
- package/dist/esm/serialization/types/GuidedSectionOverridePatch.mjs +11 -0
- package/dist/esm/serialization/types/GuidedTemplateOverrides.d.mts +2 -0
- package/dist/esm/serialization/types/GuidedTemplateOverrides.mjs +2 -0
- package/dist/esm/serialization/types/GuidedTemplateOverridesGeneration.d.mts +12 -0
- package/dist/esm/serialization/types/GuidedTemplateOverridesGeneration.mjs +8 -0
- package/dist/esm/serialization/types/InteractionsDeletionReasonEnum.d.mts +7 -0
- package/dist/esm/serialization/types/{TranscriptsParticipantRoleEnum.mjs → InteractionsDeletionReasonEnum.mjs} +1 -1
- package/dist/esm/serialization/types/InteractionsGetResponse.d.mts +4 -0
- package/dist/esm/serialization/types/InteractionsGetResponse.mjs +4 -0
- package/dist/esm/serialization/types/InteractionsPatient.d.mts +1 -1
- package/dist/esm/serialization/types/InteractionsPatient.mjs +1 -1
- package/dist/esm/serialization/types/LanguagesEndpointAttributes.d.mts +9 -0
- package/dist/esm/serialization/types/LanguagesEndpointAttributes.mjs +5 -0
- package/dist/esm/serialization/types/StreamConfig.d.mts +2 -0
- package/dist/esm/serialization/types/StreamConfig.mjs +2 -0
- package/dist/esm/serialization/types/StreamConfigParticipant.d.mts +1 -2
- package/dist/esm/serialization/types/StreamConfigParticipant.mjs +1 -2
- package/dist/esm/serialization/types/StreamFormatting.d.mts +20 -0
- package/dist/esm/serialization/types/StreamFormatting.mjs +16 -0
- package/dist/esm/serialization/types/StreamFormattingDates.d.mts +7 -0
- package/dist/esm/serialization/types/StreamFormattingDates.mjs +3 -0
- package/dist/esm/serialization/types/StreamFormattingMeasurements.d.mts +7 -0
- package/dist/esm/serialization/types/{StreamConfigParticipantRole.mjs → StreamFormattingMeasurements.mjs} +1 -1
- package/dist/esm/serialization/types/StreamFormattingNumbers.d.mts +7 -0
- package/dist/esm/serialization/types/StreamFormattingNumbers.mjs +3 -0
- package/dist/esm/serialization/types/StreamFormattingNumericRanges.d.mts +7 -0
- package/dist/esm/serialization/types/StreamFormattingNumericRanges.mjs +3 -0
- package/dist/esm/serialization/types/StreamFormattingOrdinals.d.mts +7 -0
- package/dist/esm/serialization/types/StreamFormattingOrdinals.mjs +3 -0
- package/dist/esm/serialization/types/StreamFormattingTimes.d.mts +7 -0
- package/dist/esm/serialization/types/StreamFormattingTimes.mjs +3 -0
- package/dist/esm/serialization/types/TranscriptsFormatting.d.mts +20 -0
- package/dist/esm/serialization/types/TranscriptsFormatting.mjs +16 -0
- package/dist/esm/serialization/types/TranscriptsFormattingDates.d.mts +7 -0
- package/dist/esm/serialization/types/TranscriptsFormattingDates.mjs +3 -0
- package/dist/esm/serialization/types/TranscriptsFormattingMeasurements.d.mts +7 -0
- package/dist/esm/serialization/types/TranscriptsFormattingMeasurements.mjs +3 -0
- package/dist/esm/serialization/types/TranscriptsFormattingNumbers.d.mts +7 -0
- package/dist/esm/serialization/types/TranscriptsFormattingNumbers.mjs +3 -0
- package/dist/esm/serialization/types/TranscriptsFormattingNumericRanges.d.mts +7 -0
- package/dist/esm/serialization/types/TranscriptsFormattingNumericRanges.mjs +3 -0
- package/dist/esm/serialization/types/TranscriptsFormattingOrdinals.d.mts +7 -0
- package/dist/esm/serialization/types/TranscriptsFormattingOrdinals.mjs +3 -0
- package/dist/esm/serialization/types/TranscriptsFormattingTimes.d.mts +7 -0
- package/dist/esm/serialization/types/TranscriptsFormattingTimes.mjs +3 -0
- package/dist/esm/serialization/types/TranscriptsListItem.d.mts +1 -1
- package/dist/esm/serialization/types/TranscriptsListItem.mjs +1 -1
- package/dist/esm/serialization/types/TranscriptsParticipant.d.mts +1 -2
- package/dist/esm/serialization/types/TranscriptsParticipant.mjs +1 -2
- package/dist/esm/serialization/types/index.d.mts +23 -4
- package/dist/esm/serialization/types/index.mjs +23 -4
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/dist/cjs/api/types/CommonUsage.d.ts +0 -25
- package/dist/cjs/api/types/LanguagesListResponse.d.ts +0 -3
- package/dist/cjs/api/types/StreamConfigParticipantRole.d.ts +0 -7
- package/dist/cjs/api/types/StreamConfigParticipantRole.js +0 -10
- package/dist/cjs/api/types/TranscriptsParticipantRoleEnum.d.ts +0 -6
- package/dist/cjs/api/types/TranscriptsParticipantRoleEnum.js +0 -9
- package/dist/cjs/serialization/types/CommonUsage.d.ts +0 -15
- package/dist/cjs/serialization/types/LanguagesListResponse.d.ts +0 -9
- package/dist/cjs/serialization/types/StreamConfigParticipantRole.d.ts +0 -7
- package/dist/cjs/serialization/types/TranscriptsParticipantRoleEnum.d.ts +0 -7
- package/dist/esm/api/types/CommonUsage.d.mts +0 -25
- package/dist/esm/api/types/LanguagesListResponse.d.mts +0 -3
- package/dist/esm/api/types/StreamConfigParticipantRole.d.mts +0 -7
- package/dist/esm/api/types/StreamConfigParticipantRole.mjs +0 -7
- package/dist/esm/api/types/TranscriptsParticipantRoleEnum.d.mts +0 -6
- package/dist/esm/api/types/TranscriptsParticipantRoleEnum.mjs +0 -6
- package/dist/esm/serialization/types/CommonUsage.d.mts +0 -15
- package/dist/esm/serialization/types/CommonUsage.mjs +0 -11
- package/dist/esm/serialization/types/LanguagesListResponse.d.mts +0 -9
- package/dist/esm/serialization/types/StreamConfigParticipantRole.d.mts +0 -7
- package/dist/esm/serialization/types/TranscriptsParticipantRoleEnum.d.mts +0 -7
- /package/dist/cjs/api/{types → resources/languages/types}/LanguagesListResponse.js +0 -0
- /package/dist/cjs/api/{types/CommonUsage.js → resources/languages/types/LanguagesListResponseLanguagesValue.js} +0 -0
- /package/dist/esm/api/{types → resources/languages/types}/LanguagesListResponse.mjs +0 -0
- /package/dist/esm/api/{types/CommonUsage.mjs → resources/languages/types/LanguagesListResponseLanguagesValue.mjs} +0 -0
|
@@ -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
|
}
|
|
@@ -105,6 +105,9 @@ export * from "./AuthTokenRequestRefresh.mjs";
|
|
|
105
105
|
export * from "./AuthTokenRequestRopc.mjs";
|
|
106
106
|
export * from "./AuthTokenResponse.mjs";
|
|
107
107
|
export * from "./CodesFilter.mjs";
|
|
108
|
+
export * from "./CodesFilterCondition.mjs";
|
|
109
|
+
export * from "./CodesFilterConditionOp.mjs";
|
|
110
|
+
export * from "./CodesFilterConditionValue.mjs";
|
|
108
111
|
export * from "./CodesGeneralReadResponse.mjs";
|
|
109
112
|
export * from "./CodesGeneralReadResponseAlternativesItem.mjs";
|
|
110
113
|
export * from "./CodesGeneralReadResponseEvidencesItem.mjs";
|
|
@@ -125,6 +128,8 @@ export * from "./CommonConnectorIdValue.mjs";
|
|
|
125
128
|
export * from "./CommonConnectorResponse.mjs";
|
|
126
129
|
export * from "./CommonConnectorType.mjs";
|
|
127
130
|
export * from "./CommonContextIdValue.mjs";
|
|
131
|
+
export * from "./CommonCortiMetadata.mjs";
|
|
132
|
+
export * from "./CommonCortiUsage.mjs";
|
|
128
133
|
export * from "./CommonDocumentationEvidence.mjs";
|
|
129
134
|
export * from "./CommonDocumentIdContext.mjs";
|
|
130
135
|
export * from "./CommonDocumentIdContextType.mjs";
|
|
@@ -160,7 +165,6 @@ export * from "./CommonTotalSize.mjs";
|
|
|
160
165
|
export * from "./CommonTranscriptContext.mjs";
|
|
161
166
|
export * from "./CommonTranscriptRequest.mjs";
|
|
162
167
|
export * from "./CommonTranscriptResponse.mjs";
|
|
163
|
-
export * from "./CommonUsage.mjs";
|
|
164
168
|
export * from "./CommonUsageInfo.mjs";
|
|
165
169
|
export * from "./DocumentsContext.mjs";
|
|
166
170
|
export * from "./DocumentsContextWithFacts.mjs";
|
|
@@ -231,6 +235,7 @@ export * from "./GuidedSectionInstructionsPartial.mjs";
|
|
|
231
235
|
export * from "./GuidedSectionListItem.mjs";
|
|
232
236
|
export * from "./GuidedSectionListItemSource.mjs";
|
|
233
237
|
export * from "./GuidedSectionOverride.mjs";
|
|
238
|
+
export * from "./GuidedSectionOverridePatch.mjs";
|
|
234
239
|
export * from "./GuidedSectionOverrides.mjs";
|
|
235
240
|
export * from "./GuidedSectionsCreateBase.mjs";
|
|
236
241
|
export * from "./GuidedSectionsCreateFromInheritanceRequest.mjs";
|
|
@@ -248,6 +253,7 @@ export * from "./GuidedTemplateInstructionsPartial.mjs";
|
|
|
248
253
|
export * from "./GuidedTemplateListItem.mjs";
|
|
249
254
|
export * from "./GuidedTemplateListItemSource.mjs";
|
|
250
255
|
export * from "./GuidedTemplateOverrides.mjs";
|
|
256
|
+
export * from "./GuidedTemplateOverridesGeneration.mjs";
|
|
251
257
|
export * from "./GuidedTemplateRef.mjs";
|
|
252
258
|
export * from "./GuidedTemplatesCreateBase.mjs";
|
|
253
259
|
export * from "./GuidedTemplatesCreateFromInheritanceRequest.mjs";
|
|
@@ -260,6 +266,7 @@ export * from "./GuidedTemplatesVersionSectionRequest.mjs";
|
|
|
260
266
|
export * from "./GuidedTemplateVersion.mjs";
|
|
261
267
|
export * from "./GuidedTemplateVersionSectionRef.mjs";
|
|
262
268
|
export * from "./InteractionsCreateResponse.mjs";
|
|
269
|
+
export * from "./InteractionsDeletionReasonEnum.mjs";
|
|
263
270
|
export * from "./InteractionsEncounterCreateRequest.mjs";
|
|
264
271
|
export * from "./InteractionsEncounterPeriod.mjs";
|
|
265
272
|
export * from "./InteractionsEncounterResponse.mjs";
|
|
@@ -270,7 +277,7 @@ export * from "./InteractionsGenderEnum.mjs";
|
|
|
270
277
|
export * from "./InteractionsGetResponse.mjs";
|
|
271
278
|
export * from "./InteractionsListResponse.mjs";
|
|
272
279
|
export * from "./InteractionsPatient.mjs";
|
|
273
|
-
export * from "./
|
|
280
|
+
export * from "./LanguagesEndpointAttributes.mjs";
|
|
274
281
|
export * from "./OAuthTokenRequest.mjs";
|
|
275
282
|
export * from "./RecordingsCreateResponse.mjs";
|
|
276
283
|
export * from "./RecordingsListResponse.mjs";
|
|
@@ -286,7 +293,6 @@ export * from "./StreamConfigMode.mjs";
|
|
|
286
293
|
export * from "./StreamConfigModeFactGenerationInterval.mjs";
|
|
287
294
|
export * from "./StreamConfigModeType.mjs";
|
|
288
295
|
export * from "./StreamConfigParticipant.mjs";
|
|
289
|
-
export * from "./StreamConfigParticipantRole.mjs";
|
|
290
296
|
export * from "./StreamConfigReplacementsItem.mjs";
|
|
291
297
|
export * from "./StreamConfigRetentionPolicy.mjs";
|
|
292
298
|
export * from "./StreamConfigStatusMessage.mjs";
|
|
@@ -301,6 +307,13 @@ export * from "./StreamFact.mjs";
|
|
|
301
307
|
export * from "./StreamFactsMessage.mjs";
|
|
302
308
|
export * from "./StreamFlushedMessage.mjs";
|
|
303
309
|
export * from "./StreamFlushMessage.mjs";
|
|
310
|
+
export * from "./StreamFormatting.mjs";
|
|
311
|
+
export * from "./StreamFormattingDates.mjs";
|
|
312
|
+
export * from "./StreamFormattingMeasurements.mjs";
|
|
313
|
+
export * from "./StreamFormattingNumbers.mjs";
|
|
314
|
+
export * from "./StreamFormattingNumericRanges.mjs";
|
|
315
|
+
export * from "./StreamFormattingOrdinals.mjs";
|
|
316
|
+
export * from "./StreamFormattingTimes.mjs";
|
|
304
317
|
export * from "./StreamParticipant.mjs";
|
|
305
318
|
export * from "./StreamSupportedLanguage.mjs";
|
|
306
319
|
export * from "./StreamTranscript.mjs";
|
|
@@ -352,11 +365,17 @@ export * from "./TranscribeTranscriptData.mjs";
|
|
|
352
365
|
export * from "./TranscribeTranscriptMessage.mjs";
|
|
353
366
|
export * from "./TranscribeUsageMessage.mjs";
|
|
354
367
|
export * from "./TranscriptsData.mjs";
|
|
368
|
+
export * from "./TranscriptsFormatting.mjs";
|
|
369
|
+
export * from "./TranscriptsFormattingDates.mjs";
|
|
370
|
+
export * from "./TranscriptsFormattingMeasurements.mjs";
|
|
371
|
+
export * from "./TranscriptsFormattingNumbers.mjs";
|
|
372
|
+
export * from "./TranscriptsFormattingNumericRanges.mjs";
|
|
373
|
+
export * from "./TranscriptsFormattingOrdinals.mjs";
|
|
374
|
+
export * from "./TranscriptsFormattingTimes.mjs";
|
|
355
375
|
export * from "./TranscriptsListItem.mjs";
|
|
356
376
|
export * from "./TranscriptsListResponse.mjs";
|
|
357
377
|
export * from "./TranscriptsMetadata.mjs";
|
|
358
378
|
export * from "./TranscriptsParticipant.mjs";
|
|
359
|
-
export * from "./TranscriptsParticipantRoleEnum.mjs";
|
|
360
379
|
export * from "./TranscriptsResponse.mjs";
|
|
361
380
|
export * from "./TranscriptsStatusEnum.mjs";
|
|
362
381
|
export * from "./TranscriptsStatusResponse.mjs";
|
|
@@ -105,6 +105,9 @@ export * from "./AuthTokenRequestRefresh.mjs";
|
|
|
105
105
|
export * from "./AuthTokenRequestRopc.mjs";
|
|
106
106
|
export * from "./AuthTokenResponse.mjs";
|
|
107
107
|
export * from "./CodesFilter.mjs";
|
|
108
|
+
export * from "./CodesFilterCondition.mjs";
|
|
109
|
+
export * from "./CodesFilterConditionOp.mjs";
|
|
110
|
+
export * from "./CodesFilterConditionValue.mjs";
|
|
108
111
|
export * from "./CodesGeneralReadResponse.mjs";
|
|
109
112
|
export * from "./CodesGeneralReadResponseAlternativesItem.mjs";
|
|
110
113
|
export * from "./CodesGeneralReadResponseEvidencesItem.mjs";
|
|
@@ -125,6 +128,8 @@ export * from "./CommonConnectorIdValue.mjs";
|
|
|
125
128
|
export * from "./CommonConnectorResponse.mjs";
|
|
126
129
|
export * from "./CommonConnectorType.mjs";
|
|
127
130
|
export * from "./CommonContextIdValue.mjs";
|
|
131
|
+
export * from "./CommonCortiMetadata.mjs";
|
|
132
|
+
export * from "./CommonCortiUsage.mjs";
|
|
128
133
|
export * from "./CommonDocumentationEvidence.mjs";
|
|
129
134
|
export * from "./CommonDocumentIdContext.mjs";
|
|
130
135
|
export * from "./CommonDocumentIdContextType.mjs";
|
|
@@ -160,7 +165,6 @@ export * from "./CommonTotalSize.mjs";
|
|
|
160
165
|
export * from "./CommonTranscriptContext.mjs";
|
|
161
166
|
export * from "./CommonTranscriptRequest.mjs";
|
|
162
167
|
export * from "./CommonTranscriptResponse.mjs";
|
|
163
|
-
export * from "./CommonUsage.mjs";
|
|
164
168
|
export * from "./CommonUsageInfo.mjs";
|
|
165
169
|
export * from "./DocumentsContext.mjs";
|
|
166
170
|
export * from "./DocumentsContextWithFacts.mjs";
|
|
@@ -231,6 +235,7 @@ export * from "./GuidedSectionInstructionsPartial.mjs";
|
|
|
231
235
|
export * from "./GuidedSectionListItem.mjs";
|
|
232
236
|
export * from "./GuidedSectionListItemSource.mjs";
|
|
233
237
|
export * from "./GuidedSectionOverride.mjs";
|
|
238
|
+
export * from "./GuidedSectionOverridePatch.mjs";
|
|
234
239
|
export * from "./GuidedSectionOverrides.mjs";
|
|
235
240
|
export * from "./GuidedSectionsCreateBase.mjs";
|
|
236
241
|
export * from "./GuidedSectionsCreateFromInheritanceRequest.mjs";
|
|
@@ -248,6 +253,7 @@ export * from "./GuidedTemplateInstructionsPartial.mjs";
|
|
|
248
253
|
export * from "./GuidedTemplateListItem.mjs";
|
|
249
254
|
export * from "./GuidedTemplateListItemSource.mjs";
|
|
250
255
|
export * from "./GuidedTemplateOverrides.mjs";
|
|
256
|
+
export * from "./GuidedTemplateOverridesGeneration.mjs";
|
|
251
257
|
export * from "./GuidedTemplateRef.mjs";
|
|
252
258
|
export * from "./GuidedTemplatesCreateBase.mjs";
|
|
253
259
|
export * from "./GuidedTemplatesCreateFromInheritanceRequest.mjs";
|
|
@@ -260,6 +266,7 @@ export * from "./GuidedTemplatesVersionSectionRequest.mjs";
|
|
|
260
266
|
export * from "./GuidedTemplateVersion.mjs";
|
|
261
267
|
export * from "./GuidedTemplateVersionSectionRef.mjs";
|
|
262
268
|
export * from "./InteractionsCreateResponse.mjs";
|
|
269
|
+
export * from "./InteractionsDeletionReasonEnum.mjs";
|
|
263
270
|
export * from "./InteractionsEncounterCreateRequest.mjs";
|
|
264
271
|
export * from "./InteractionsEncounterPeriod.mjs";
|
|
265
272
|
export * from "./InteractionsEncounterResponse.mjs";
|
|
@@ -270,7 +277,7 @@ export * from "./InteractionsGenderEnum.mjs";
|
|
|
270
277
|
export * from "./InteractionsGetResponse.mjs";
|
|
271
278
|
export * from "./InteractionsListResponse.mjs";
|
|
272
279
|
export * from "./InteractionsPatient.mjs";
|
|
273
|
-
export * from "./
|
|
280
|
+
export * from "./LanguagesEndpointAttributes.mjs";
|
|
274
281
|
export * from "./OAuthTokenRequest.mjs";
|
|
275
282
|
export * from "./RecordingsCreateResponse.mjs";
|
|
276
283
|
export * from "./RecordingsListResponse.mjs";
|
|
@@ -286,7 +293,6 @@ export * from "./StreamConfigMode.mjs";
|
|
|
286
293
|
export * from "./StreamConfigModeFactGenerationInterval.mjs";
|
|
287
294
|
export * from "./StreamConfigModeType.mjs";
|
|
288
295
|
export * from "./StreamConfigParticipant.mjs";
|
|
289
|
-
export * from "./StreamConfigParticipantRole.mjs";
|
|
290
296
|
export * from "./StreamConfigReplacementsItem.mjs";
|
|
291
297
|
export * from "./StreamConfigRetentionPolicy.mjs";
|
|
292
298
|
export * from "./StreamConfigStatusMessage.mjs";
|
|
@@ -301,6 +307,13 @@ export * from "./StreamFact.mjs";
|
|
|
301
307
|
export * from "./StreamFactsMessage.mjs";
|
|
302
308
|
export * from "./StreamFlushedMessage.mjs";
|
|
303
309
|
export * from "./StreamFlushMessage.mjs";
|
|
310
|
+
export * from "./StreamFormatting.mjs";
|
|
311
|
+
export * from "./StreamFormattingDates.mjs";
|
|
312
|
+
export * from "./StreamFormattingMeasurements.mjs";
|
|
313
|
+
export * from "./StreamFormattingNumbers.mjs";
|
|
314
|
+
export * from "./StreamFormattingNumericRanges.mjs";
|
|
315
|
+
export * from "./StreamFormattingOrdinals.mjs";
|
|
316
|
+
export * from "./StreamFormattingTimes.mjs";
|
|
304
317
|
export * from "./StreamParticipant.mjs";
|
|
305
318
|
export * from "./StreamSupportedLanguage.mjs";
|
|
306
319
|
export * from "./StreamTranscript.mjs";
|
|
@@ -352,11 +365,17 @@ export * from "./TranscribeTranscriptData.mjs";
|
|
|
352
365
|
export * from "./TranscribeTranscriptMessage.mjs";
|
|
353
366
|
export * from "./TranscribeUsageMessage.mjs";
|
|
354
367
|
export * from "./TranscriptsData.mjs";
|
|
368
|
+
export * from "./TranscriptsFormatting.mjs";
|
|
369
|
+
export * from "./TranscriptsFormattingDates.mjs";
|
|
370
|
+
export * from "./TranscriptsFormattingMeasurements.mjs";
|
|
371
|
+
export * from "./TranscriptsFormattingNumbers.mjs";
|
|
372
|
+
export * from "./TranscriptsFormattingNumericRanges.mjs";
|
|
373
|
+
export * from "./TranscriptsFormattingOrdinals.mjs";
|
|
374
|
+
export * from "./TranscriptsFormattingTimes.mjs";
|
|
355
375
|
export * from "./TranscriptsListItem.mjs";
|
|
356
376
|
export * from "./TranscriptsListResponse.mjs";
|
|
357
377
|
export * from "./TranscriptsMetadata.mjs";
|
|
358
378
|
export * from "./TranscriptsParticipant.mjs";
|
|
359
|
-
export * from "./TranscriptsParticipantRoleEnum.mjs";
|
|
360
379
|
export * from "./TranscriptsResponse.mjs";
|
|
361
380
|
export * from "./TranscriptsStatusEnum.mjs";
|
|
362
381
|
export * from "./TranscriptsStatusResponse.mjs";
|
|
@@ -89,5 +89,18 @@ export declare class CortiClient extends BaseCortiClient {
|
|
|
89
89
|
* ```
|
|
90
90
|
*/
|
|
91
91
|
getAuthHeaders: () => Promise<Headers>;
|
|
92
|
+
/**
|
|
93
|
+
* Retrieves all configured client headers, including authentication, tenant,
|
|
94
|
+
* custom headers, analytics, and SDK metadata. Tokens are refreshed if needed
|
|
95
|
+
* and header suppliers are resolved on each call.
|
|
96
|
+
*
|
|
97
|
+
* Endpoint-specific headers such as Accept and Content-Type are not included.
|
|
98
|
+
*
|
|
99
|
+
* @example
|
|
100
|
+
* ```typescript
|
|
101
|
+
* const headers = await client.getHeaders();
|
|
102
|
+
* ```
|
|
103
|
+
*/
|
|
104
|
+
getHeaders: () => Promise<Headers>;
|
|
92
105
|
}
|
|
93
106
|
export {};
|
|
@@ -8,7 +8,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
10
|
import { CortiClient as BaseCortiClient } from "../Client.mjs";
|
|
11
|
-
import { mergeHeaders } from "../core/headers.mjs";
|
|
11
|
+
import { mergeHeaders, mergeOnlyDefinedHeaders } from "../core/headers.mjs";
|
|
12
12
|
import * as core from "../core/index.mjs";
|
|
13
13
|
import { CustomAgentic } from "./agentic/CustomAgentic.mjs";
|
|
14
14
|
import { CustomAgents } from "./agents/CustomAgents.mjs";
|
|
@@ -70,6 +70,30 @@ export class CortiClient extends BaseCortiClient {
|
|
|
70
70
|
const req = yield this._options.authProvider.getAuthRequest();
|
|
71
71
|
return new Headers(Object.assign(Object.assign({}, ((_a = req.headers) !== null && _a !== void 0 ? _a : {})), { "Tenant-Name": yield core.Supplier.get(this._options.tenantName) }));
|
|
72
72
|
});
|
|
73
|
+
/**
|
|
74
|
+
* Retrieves all configured client headers, including authentication, tenant,
|
|
75
|
+
* custom headers, analytics, and SDK metadata. Tokens are refreshed if needed
|
|
76
|
+
* and header suppliers are resolved on each call.
|
|
77
|
+
*
|
|
78
|
+
* Endpoint-specific headers such as Accept and Content-Type are not included.
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
* ```typescript
|
|
82
|
+
* const headers = await client.getHeaders();
|
|
83
|
+
* ```
|
|
84
|
+
*/
|
|
85
|
+
this.getHeaders = () => __awaiter(this, void 0, void 0, function* () {
|
|
86
|
+
const req = yield this._options.authProvider.getAuthRequest();
|
|
87
|
+
const configuredHeaders = mergeHeaders(req.headers, this._options.headers, mergeOnlyDefinedHeaders({ "Tenant-Name": this._options.tenantName }));
|
|
88
|
+
const headers = new Headers();
|
|
89
|
+
for (const [key, value] of Object.entries(configuredHeaders)) {
|
|
90
|
+
const resolved = yield core.Supplier.get(value);
|
|
91
|
+
if (resolved != null) {
|
|
92
|
+
headers.set(key, String(resolved));
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
return headers;
|
|
96
|
+
});
|
|
73
97
|
setDefaultWithCredentials(options.withCredentials);
|
|
74
98
|
this._encodeHeadersAsWsProtocols = options.encodeHeadersAsWsProtocols;
|
|
75
99
|
this._analytics = options.analytics;
|
|
@@ -25,7 +25,7 @@ import { buildTokenRequestBody } from "../utils/buildTokenRequestBody.mjs";
|
|
|
25
25
|
import { getEnvironment } from "../utils/environment.mjs";
|
|
26
26
|
import { CODE_VERIFIER_KEY, getLocalStorageItem, setLocalStorageItem } from "../utils/localStorageHelpers.mjs";
|
|
27
27
|
import { generateCodeChallenge, generateCodeVerifier } from "../utils/pkceHelpers.mjs";
|
|
28
|
-
import {
|
|
28
|
+
import { stripSdkNormalizedHeaders } from "../utils/stripFernNormalizedHeaders.mjs";
|
|
29
29
|
export class CortiAuth extends AuthClient {
|
|
30
30
|
/** No-op auth provider so super.token() does not trigger OAuth refresh. When auth is omitted, a dummy token is passed so the base constructor does not throw. */
|
|
31
31
|
constructor(options) {
|
|
@@ -37,7 +37,7 @@ export class CortiAuth extends AuthClient {
|
|
|
37
37
|
this._tenantName = tenantName;
|
|
38
38
|
this._options.authProvider = new core.NoOpAuthProvider();
|
|
39
39
|
/** Stripping Fern headers to bypass CORS on authentication requests */
|
|
40
|
-
this._options.headers =
|
|
40
|
+
this._options.headers = stripSdkNormalizedHeaders(this._options.headers);
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
43
|
* Exchange credentials for a short-lived access token using the tenant token endpoint (client_credentials).
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BaseClientOptions } from "../../BaseClient.mjs";
|
|
2
2
|
type Headers = BaseClientOptions["headers"];
|
|
3
3
|
type HeaderValue = NonNullable<Headers>[string];
|
|
4
|
-
export declare function
|
|
4
|
+
export declare function stripSdkNormalizedHeaders(headers: Headers): Record<string, HeaderValue>;
|
|
5
5
|
export {};
|
|
@@ -15,7 +15,7 @@ function normalizeHeaderKeys(headers) {
|
|
|
15
15
|
}
|
|
16
16
|
return result;
|
|
17
17
|
}
|
|
18
|
-
export function
|
|
18
|
+
export function stripSdkNormalizedHeaders(headers) {
|
|
19
19
|
const normalized = normalizeHeaderKeys(headers);
|
|
20
20
|
for (const headerName of SDK_HEADER_NAMES) {
|
|
21
21
|
delete normalized[headerName];
|
|
@@ -12,6 +12,7 @@ export declare namespace AgenticAgentsCreateRequest {
|
|
|
12
12
|
description?: string | null;
|
|
13
13
|
systemPrompt?: string | null;
|
|
14
14
|
model?: string | null;
|
|
15
|
+
maxLoops?: number | null;
|
|
15
16
|
visibility?: AgentsVisibility.Raw | null;
|
|
16
17
|
lifecycle?: AgentsLifecycle.Raw | null;
|
|
17
18
|
connectors?: CommonConnectorCreateRequest.Raw[] | null;
|
|
@@ -9,6 +9,7 @@ export const AgenticAgentsCreateRequest = core.serialization.object({
|
|
|
9
9
|
description: core.serialization.string().optional(),
|
|
10
10
|
systemPrompt: core.serialization.string().optional(),
|
|
11
11
|
model: core.serialization.string().optional(),
|
|
12
|
+
maxLoops: core.serialization.number().optional(),
|
|
12
13
|
visibility: AgentsVisibility.optional(),
|
|
13
14
|
lifecycle: AgentsLifecycle.optional(),
|
|
14
15
|
connectors: core.serialization.list(CommonConnectorCreateRequest).optional(),
|
|
@@ -11,6 +11,7 @@ export declare namespace AgenticAgentsPatchRequest {
|
|
|
11
11
|
description?: (string | null | undefined) | null;
|
|
12
12
|
systemPrompt?: (string | null | undefined) | null;
|
|
13
13
|
model?: (string | null | undefined) | null;
|
|
14
|
+
maxLoops?: number | null;
|
|
14
15
|
visibility?: AgentsVisibility.Raw | null;
|
|
15
16
|
lifecycle?: AgentsLifecycle.Raw | null;
|
|
16
17
|
connectors?: (CommonConnectorCreateRequest.Raw[] | null | undefined) | null;
|
|
@@ -8,6 +8,7 @@ export const AgenticAgentsPatchRequest = core.serialization.object({
|
|
|
8
8
|
description: core.serialization.string().optionalNullable(),
|
|
9
9
|
systemPrompt: core.serialization.string().optionalNullable(),
|
|
10
10
|
model: core.serialization.string().optionalNullable(),
|
|
11
|
+
maxLoops: core.serialization.number().optional(),
|
|
11
12
|
visibility: AgentsVisibility.optional(),
|
|
12
13
|
lifecycle: AgentsLifecycle.optional(),
|
|
13
14
|
connectors: core.serialization.list(CommonConnectorCreateRequest).optionalNullable(),
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as Corti from "../../../../api/index.mjs";
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../../../index.mjs";
|
|
4
|
+
import { LanguagesListResponseLanguagesValue } from "./LanguagesListResponseLanguagesValue.mjs";
|
|
5
|
+
export declare const LanguagesListResponse: core.serialization.ObjectSchema<serializers.LanguagesListResponse.Raw, Corti.LanguagesListResponse>;
|
|
6
|
+
export declare namespace LanguagesListResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
languages: Record<string, LanguagesListResponseLanguagesValue.Raw>;
|
|
9
|
+
}
|
|
10
|
+
}
|
package/dist/esm/serialization/{types → resources/languages/types}/LanguagesListResponse.mjs
RENAMED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
import * as core from "
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import { LanguagesListResponseLanguagesValue } from "./LanguagesListResponseLanguagesValue.mjs";
|
|
3
4
|
export const LanguagesListResponse = core.serialization.object({
|
|
4
|
-
languages: core.serialization.record(core.serialization.string(),
|
|
5
|
+
languages: core.serialization.record(core.serialization.string(), LanguagesListResponseLanguagesValue),
|
|
5
6
|
});
|
package/dist/esm/serialization/resources/languages/types/LanguagesListResponseLanguagesValue.d.mts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as Corti from "../../../../api/index.mjs";
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../../../index.mjs";
|
|
4
|
+
import { LanguagesListResponseLanguagesValueEndpoints } from "./LanguagesListResponseLanguagesValueEndpoints.mjs";
|
|
5
|
+
export declare const LanguagesListResponseLanguagesValue: core.serialization.ObjectSchema<serializers.LanguagesListResponseLanguagesValue.Raw, Corti.LanguagesListResponseLanguagesValue>;
|
|
6
|
+
export declare namespace LanguagesListResponseLanguagesValue {
|
|
7
|
+
interface Raw {
|
|
8
|
+
endpoints: LanguagesListResponseLanguagesValueEndpoints.Raw;
|
|
9
|
+
}
|
|
10
|
+
}
|
package/dist/esm/serialization/resources/languages/types/LanguagesListResponseLanguagesValue.mjs
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import { LanguagesListResponseLanguagesValueEndpoints } from "./LanguagesListResponseLanguagesValueEndpoints.mjs";
|
|
4
|
+
export const LanguagesListResponseLanguagesValue = core.serialization.object({
|
|
5
|
+
endpoints: LanguagesListResponseLanguagesValueEndpoints,
|
|
6
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as Corti from "../../../../api/index.mjs";
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../../../index.mjs";
|
|
4
|
+
import { LanguagesEndpointAttributes } from "../../../types/LanguagesEndpointAttributes.mjs";
|
|
5
|
+
export declare const LanguagesListResponseLanguagesValueEndpoints: core.serialization.ObjectSchema<serializers.LanguagesListResponseLanguagesValueEndpoints.Raw, Corti.LanguagesListResponseLanguagesValueEndpoints>;
|
|
6
|
+
export declare namespace LanguagesListResponseLanguagesValueEndpoints {
|
|
7
|
+
interface Raw {
|
|
8
|
+
streams: LanguagesEndpointAttributes.Raw;
|
|
9
|
+
transcribe: LanguagesEndpointAttributes.Raw;
|
|
10
|
+
transcripts: LanguagesEndpointAttributes.Raw;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import { LanguagesEndpointAttributes } from "../../../types/LanguagesEndpointAttributes.mjs";
|
|
4
|
+
export const LanguagesListResponseLanguagesValueEndpoints = core.serialization.object({
|
|
5
|
+
streams: LanguagesEndpointAttributes,
|
|
6
|
+
transcribe: LanguagesEndpointAttributes,
|
|
7
|
+
transcripts: LanguagesEndpointAttributes,
|
|
8
|
+
});
|
package/dist/esm/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.d.mts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import type * as Corti from "../../../../../api/index.mjs";
|
|
2
2
|
import * as core from "../../../../../core/index.mjs";
|
|
3
3
|
import type * as serializers from "../../../../index.mjs";
|
|
4
|
+
import { TranscriptsFormatting } from "../../../../types/TranscriptsFormatting.mjs";
|
|
4
5
|
import { TranscriptsParticipant } from "../../../../types/TranscriptsParticipant.mjs";
|
|
5
6
|
import { Uuid } from "../../../../types/Uuid.mjs";
|
|
6
7
|
import { TranscriptsCreateRequestKeyterms } from "../../types/TranscriptsCreateRequestKeyterms.mjs";
|
|
7
8
|
import { TranscriptsCreateRequestReplacementsItem } from "../../types/TranscriptsCreateRequestReplacementsItem.mjs";
|
|
9
|
+
import { TranscriptsCreateRequestWordLevel } from "../../types/TranscriptsCreateRequestWordLevel.mjs";
|
|
8
10
|
export declare const TranscriptsCreateRequest: core.serialization.Schema<serializers.TranscriptsCreateRequest.Raw, Corti.TranscriptsCreateRequest>;
|
|
9
11
|
export declare namespace TranscriptsCreateRequest {
|
|
10
12
|
interface Raw {
|
|
@@ -12,6 +14,7 @@ export declare namespace TranscriptsCreateRequest {
|
|
|
12
14
|
primaryLanguage: string;
|
|
13
15
|
spokenPunctuation?: boolean | null;
|
|
14
16
|
automaticPunctuation?: boolean | null;
|
|
17
|
+
formatting?: TranscriptsFormatting.Raw | null;
|
|
15
18
|
isDictation?: boolean | null;
|
|
16
19
|
isMultichannel?: boolean | null;
|
|
17
20
|
diarize?: boolean | null;
|
|
@@ -19,5 +22,6 @@ export declare namespace TranscriptsCreateRequest {
|
|
|
19
22
|
async?: boolean | null;
|
|
20
23
|
replacements?: TranscriptsCreateRequestReplacementsItem.Raw[] | null;
|
|
21
24
|
keyterms?: TranscriptsCreateRequestKeyterms.Raw | null;
|
|
25
|
+
wordLevel?: TranscriptsCreateRequestWordLevel.Raw | null;
|
|
22
26
|
}
|
|
23
27
|
}
|
package/dist/esm/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.mjs
CHANGED
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../../../../core/index.mjs";
|
|
3
|
+
import { TranscriptsFormatting } from "../../../../types/TranscriptsFormatting.mjs";
|
|
3
4
|
import { TranscriptsParticipant } from "../../../../types/TranscriptsParticipant.mjs";
|
|
4
5
|
import { Uuid } from "../../../../types/Uuid.mjs";
|
|
5
6
|
import { TranscriptsCreateRequestKeyterms } from "../../types/TranscriptsCreateRequestKeyterms.mjs";
|
|
6
7
|
import { TranscriptsCreateRequestReplacementsItem } from "../../types/TranscriptsCreateRequestReplacementsItem.mjs";
|
|
8
|
+
import { TranscriptsCreateRequestWordLevel } from "../../types/TranscriptsCreateRequestWordLevel.mjs";
|
|
7
9
|
export const TranscriptsCreateRequest = core.serialization.object({
|
|
8
10
|
recordingId: Uuid,
|
|
9
11
|
primaryLanguage: core.serialization.string(),
|
|
10
12
|
spokenPunctuation: core.serialization.boolean().optional(),
|
|
11
13
|
automaticPunctuation: core.serialization.boolean().optional(),
|
|
14
|
+
formatting: TranscriptsFormatting.optional(),
|
|
12
15
|
isDictation: core.serialization.boolean().optional(),
|
|
13
16
|
isMultichannel: core.serialization.boolean().optional(),
|
|
14
17
|
diarize: core.serialization.boolean().optional(),
|
|
@@ -16,4 +19,5 @@ export const TranscriptsCreateRequest = core.serialization.object({
|
|
|
16
19
|
async: core.serialization.boolean().optional(),
|
|
17
20
|
replacements: core.serialization.list(TranscriptsCreateRequestReplacementsItem).optional(),
|
|
18
21
|
keyterms: TranscriptsCreateRequestKeyterms.optional(),
|
|
22
|
+
wordLevel: TranscriptsCreateRequestWordLevel.optional(),
|
|
19
23
|
});
|
package/dist/esm/serialization/resources/transcripts/types/TranscriptsCreateRequestWordLevel.d.mts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as Corti from "../../../../api/index.mjs";
|
|
2
|
+
import * as core from "../../../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../../../index.mjs";
|
|
4
|
+
export declare const TranscriptsCreateRequestWordLevel: core.serialization.ObjectSchema<serializers.TranscriptsCreateRequestWordLevel.Raw, Corti.TranscriptsCreateRequestWordLevel>;
|
|
5
|
+
export declare namespace TranscriptsCreateRequestWordLevel {
|
|
6
|
+
interface Raw {
|
|
7
|
+
enabled?: boolean | null;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -15,6 +15,7 @@ export declare namespace AgenticAgentsResponse {
|
|
|
15
15
|
description?: (string | null | undefined) | null;
|
|
16
16
|
systemPrompt?: (string | null | undefined) | null;
|
|
17
17
|
model?: (string | null | undefined) | null;
|
|
18
|
+
maxLoops: number;
|
|
18
19
|
visibility: AgentsVisibility.Raw;
|
|
19
20
|
lifecycle: AgentsLifecycle.Raw;
|
|
20
21
|
connectors: CommonConnectorResponse.Raw[];
|
|
@@ -22,5 +23,6 @@ export declare namespace AgenticAgentsResponse {
|
|
|
22
23
|
createdAt?: string | null;
|
|
23
24
|
updatedAt?: string | null;
|
|
24
25
|
createdBy?: AgentsUserIdValue.Raw | null;
|
|
26
|
+
expiresAt?: (string | null | undefined) | null;
|
|
25
27
|
}
|
|
26
28
|
}
|