@mistralai/mistralai 1.13.0 → 1.14.1
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 +9 -3
- package/examples/src/async_audio_transcription_diarize.ts +17 -0
- package/examples/src/realtime_microphone.ts +163 -0
- package/examples/src/realtime_transcription.ts +225 -0
- package/extra/realtime/connection.d.ts +44 -0
- package/extra/realtime/connection.d.ts.map +1 -0
- package/extra/realtime/connection.js +299 -0
- package/extra/realtime/connection.js.map +1 -0
- package/extra/realtime/errors.d.ts +18 -0
- package/extra/realtime/errors.d.ts.map +1 -0
- package/extra/realtime/errors.js +21 -0
- package/extra/realtime/errors.js.map +1 -0
- package/extra/realtime/index.d.ts +15 -0
- package/extra/realtime/index.d.ts.map +1 -0
- package/extra/realtime/index.js +10 -0
- package/extra/realtime/index.js.map +1 -0
- package/extra/realtime/transcription.d.ts +17 -0
- package/extra/realtime/transcription.d.ts.map +1 -0
- package/extra/realtime/transcription.js +200 -0
- package/extra/realtime/transcription.js.map +1 -0
- package/extra/structChat.js.map +1 -1
- package/funcs/audioTranscriptionsComplete.js +6 -0
- package/funcs/audioTranscriptionsComplete.js.map +1 -1
- package/funcs/audioTranscriptionsStream.js +6 -0
- package/funcs/audioTranscriptionsStream.js.map +1 -1
- package/funcs/batchJobsList.js +1 -0
- package/funcs/batchJobsList.js.map +1 -1
- package/funcs/betaAgentsCreateVersionAlias.d.ts +19 -0
- package/funcs/betaAgentsCreateVersionAlias.d.ts.map +1 -0
- package/funcs/betaAgentsCreateVersionAlias.js +130 -0
- package/funcs/betaAgentsCreateVersionAlias.js.map +1 -0
- package/funcs/betaAgentsDeleteVersionAlias.d.ts +18 -0
- package/funcs/betaAgentsDeleteVersionAlias.d.ts.map +1 -0
- package/funcs/betaAgentsDeleteVersionAlias.js +128 -0
- package/funcs/betaAgentsDeleteVersionAlias.js.map +1 -0
- package/funcs/betaAgentsGet.d.ts +1 -1
- package/funcs/betaAgentsGet.js +1 -1
- package/funcs/betaAgentsGetVersion.js +1 -1
- package/funcs/betaAgentsGetVersion.js.map +1 -1
- package/funcs/betaAgentsList.js +1 -0
- package/funcs/betaAgentsList.js.map +1 -1
- package/funcs/betaAgentsListVersionAliases.d.ts +19 -0
- package/funcs/betaAgentsListVersionAliases.d.ts.map +1 -0
- package/funcs/betaAgentsListVersionAliases.js +126 -0
- package/funcs/betaAgentsListVersionAliases.js.map +1 -0
- package/funcs/filesList.js +1 -0
- package/funcs/filesList.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/agent.d.ts +2 -8
- package/models/components/agent.d.ts.map +1 -1
- package/models/components/agent.js +4 -8
- package/models/components/agent.js.map +1 -1
- package/models/components/agentaliasresponse.d.ts +13 -0
- package/models/components/agentaliasresponse.d.ts.map +1 -0
- package/models/components/agentaliasresponse.js +59 -0
- package/models/components/agentaliasresponse.js.map +1 -0
- package/models/components/agentconversation.d.ts +5 -8
- package/models/components/agentconversation.d.ts.map +1 -1
- package/models/components/agentconversation.js +8 -7
- package/models/components/agentconversation.js.map +1 -1
- package/models/components/agentcreationrequest.d.ts +2 -0
- package/models/components/agentcreationrequest.d.ts.map +1 -1
- package/models/components/agentcreationrequest.js +2 -0
- package/models/components/agentcreationrequest.js.map +1 -1
- package/models/components/agenthandoffdoneevent.d.ts +1 -8
- package/models/components/agenthandoffdoneevent.d.ts.map +1 -1
- package/models/components/agenthandoffdoneevent.js +2 -7
- package/models/components/agenthandoffdoneevent.js.map +1 -1
- package/models/components/agenthandoffentry.d.ts +4 -21
- package/models/components/agenthandoffentry.d.ts.map +1 -1
- package/models/components/agenthandoffentry.js +5 -19
- package/models/components/agenthandoffentry.js.map +1 -1
- package/models/components/agenthandoffstartedevent.d.ts +1 -8
- package/models/components/agenthandoffstartedevent.d.ts.map +1 -1
- package/models/components/agenthandoffstartedevent.js +2 -7
- package/models/components/agenthandoffstartedevent.js.map +1 -1
- package/models/components/agentupdaterequest.d.ts +2 -0
- package/models/components/agentupdaterequest.d.ts.map +1 -1
- package/models/components/agentupdaterequest.js +2 -0
- package/models/components/agentupdaterequest.js.map +1 -1
- package/models/components/archiveftmodelout.d.ts +1 -8
- package/models/components/archiveftmodelout.d.ts.map +1 -1
- package/models/components/archiveftmodelout.js +2 -7
- package/models/components/archiveftmodelout.js.map +1 -1
- package/models/components/assistantmessage.d.ts +2 -11
- package/models/components/assistantmessage.d.ts.map +1 -1
- package/models/components/assistantmessage.js +3 -10
- package/models/components/assistantmessage.js.map +1 -1
- package/models/components/audiochunk.d.ts +2 -11
- package/models/components/audiochunk.d.ts.map +1 -1
- package/models/components/audiochunk.js +3 -10
- package/models/components/audiochunk.js.map +1 -1
- package/models/components/audiotranscriptionrequest.d.ts +4 -0
- package/models/components/audiotranscriptionrequest.d.ts.map +1 -1
- package/models/components/audiotranscriptionrequest.js +3 -0
- package/models/components/audiotranscriptionrequest.js.map +1 -1
- package/models/components/audiotranscriptionrequeststream.d.ts +4 -0
- package/models/components/audiotranscriptionrequeststream.d.ts.map +1 -1
- package/models/components/audiotranscriptionrequeststream.js +3 -0
- package/models/components/audiotranscriptionrequeststream.js.map +1 -1
- package/models/components/basemodelcard.d.ts +0 -7
- package/models/components/basemodelcard.d.ts.map +1 -1
- package/models/components/basemodelcard.js +1 -6
- package/models/components/basemodelcard.js.map +1 -1
- package/models/components/batchjobout.d.ts +1 -8
- package/models/components/batchjobout.d.ts.map +1 -1
- package/models/components/batchjobout.js +2 -7
- package/models/components/batchjobout.js.map +1 -1
- package/models/components/batchjobsout.d.ts +1 -8
- package/models/components/batchjobsout.d.ts.map +1 -1
- package/models/components/batchjobsout.js +2 -7
- package/models/components/batchjobsout.js.map +1 -1
- package/models/components/classifierdetailedjobout.d.ts +2 -17
- package/models/components/classifierdetailedjobout.d.ts.map +1 -1
- package/models/components/classifierdetailedjobout.js +3 -13
- package/models/components/classifierdetailedjobout.js.map +1 -1
- package/models/components/classifierftmodelout.d.ts +2 -15
- package/models/components/classifierftmodelout.d.ts.map +1 -1
- package/models/components/classifierftmodelout.js +3 -13
- package/models/components/classifierftmodelout.js.map +1 -1
- package/models/components/classifierjobout.d.ts +2 -29
- package/models/components/classifierjobout.d.ts.map +1 -1
- package/models/components/classifierjobout.js +3 -19
- package/models/components/classifierjobout.js.map +1 -1
- package/models/components/codeinterpretertool.d.ts +3 -0
- package/models/components/codeinterpretertool.d.ts.map +1 -1
- package/models/components/codeinterpretertool.js +12 -0
- package/models/components/codeinterpretertool.js.map +1 -1
- package/models/components/completiondetailedjobout.d.ts +2 -17
- package/models/components/completiondetailedjobout.d.ts.map +1 -1
- package/models/components/completiondetailedjobout.js +3 -13
- package/models/components/completiondetailedjobout.js.map +1 -1
- package/models/components/completionftmodelout.d.ts +2 -15
- package/models/components/completionftmodelout.d.ts.map +1 -1
- package/models/components/completionftmodelout.js +3 -14
- package/models/components/completionftmodelout.js.map +1 -1
- package/models/components/completionjobout.d.ts +2 -29
- package/models/components/completionjobout.d.ts.map +1 -1
- package/models/components/completionjobout.js +3 -20
- package/models/components/completionjobout.js.map +1 -1
- package/models/components/conversationappendrequest.d.ts +5 -2
- package/models/components/conversationappendrequest.d.ts.map +1 -1
- package/models/components/conversationappendrequest.js +5 -1
- package/models/components/conversationappendrequest.js.map +1 -1
- package/models/components/conversationappendstreamrequest.d.ts +5 -2
- package/models/components/conversationappendstreamrequest.d.ts.map +1 -1
- package/models/components/conversationappendstreamrequest.js +5 -1
- package/models/components/conversationappendstreamrequest.js.map +1 -1
- package/models/components/conversationhistory.d.ts +1 -8
- package/models/components/conversationhistory.d.ts.map +1 -1
- package/models/components/conversationhistory.js +2 -7
- package/models/components/conversationhistory.js.map +1 -1
- package/models/components/conversationmessages.d.ts +1 -8
- package/models/components/conversationmessages.d.ts.map +1 -1
- package/models/components/conversationmessages.js +2 -7
- package/models/components/conversationmessages.js.map +1 -1
- package/models/components/conversationrequest.d.ts +8 -2
- package/models/components/conversationrequest.d.ts.map +1 -1
- package/models/components/conversationrequest.js +8 -2
- package/models/components/conversationrequest.js.map +1 -1
- package/models/components/conversationresponse.d.ts +1 -8
- package/models/components/conversationresponse.d.ts.map +1 -1
- package/models/components/conversationresponse.js +2 -7
- package/models/components/conversationresponse.js.map +1 -1
- package/models/components/conversationrestartrequest.d.ts +13 -4
- package/models/components/conversationrestartrequest.d.ts.map +1 -1
- package/models/components/conversationrestartrequest.js +9 -3
- package/models/components/conversationrestartrequest.js.map +1 -1
- package/models/components/conversationrestartstreamrequest.d.ts +13 -4
- package/models/components/conversationrestartstreamrequest.d.ts.map +1 -1
- package/models/components/conversationrestartstreamrequest.js +9 -3
- package/models/components/conversationrestartstreamrequest.js.map +1 -1
- package/models/components/conversationstreamrequest.d.ts +8 -2
- package/models/components/conversationstreamrequest.d.ts.map +1 -1
- package/models/components/conversationstreamrequest.js +8 -2
- package/models/components/conversationstreamrequest.js.map +1 -1
- package/models/components/documentlibrarytool.d.ts +3 -0
- package/models/components/documentlibrarytool.d.ts.map +1 -1
- package/models/components/documentlibrarytool.js +5 -0
- package/models/components/documentlibrarytool.js.map +1 -1
- package/models/components/documentout.d.ts +1 -1
- package/models/components/documentout.d.ts.map +1 -1
- package/models/components/documentout.js +2 -2
- package/models/components/documentout.js.map +1 -1
- package/models/components/documenturlchunk.d.ts +2 -11
- package/models/components/documenturlchunk.d.ts.map +1 -1
- package/models/components/documenturlchunk.js +3 -10
- package/models/components/documenturlchunk.js.map +1 -1
- package/models/components/ftmodelcard.d.ts +0 -7
- package/models/components/ftmodelcard.d.ts.map +1 -1
- package/models/components/ftmodelcard.js +1 -6
- package/models/components/ftmodelcard.js.map +1 -1
- package/models/components/functioncallentry.d.ts +13 -17
- package/models/components/functioncallentry.d.ts.map +1 -1
- package/models/components/functioncallentry.js +15 -16
- package/models/components/functioncallentry.js.map +1 -1
- package/models/components/functioncallevent.d.ts +8 -5
- package/models/components/functioncallevent.d.ts.map +1 -1
- package/models/components/functioncallevent.js +9 -5
- package/models/components/functioncallevent.js.map +1 -1
- package/models/components/functionresultentry.d.ts +4 -21
- package/models/components/functionresultentry.d.ts.map +1 -1
- package/models/components/functionresultentry.js +5 -19
- package/models/components/functionresultentry.js.map +1 -1
- package/models/components/functiontool.d.ts +5 -5
- package/models/components/functiontool.d.ts.map +1 -1
- package/models/components/functiontool.js +6 -6
- package/models/components/functiontool.js.map +1 -1
- package/models/components/githubrepositoryin.d.ts +2 -9
- package/models/components/githubrepositoryin.d.ts.map +1 -1
- package/models/components/githubrepositoryin.js +2 -7
- package/models/components/githubrepositoryin.js.map +1 -1
- package/models/components/githubrepositoryout.d.ts +1 -8
- package/models/components/githubrepositoryout.d.ts.map +1 -1
- package/models/components/githubrepositoryout.js +2 -7
- package/models/components/githubrepositoryout.js.map +1 -1
- package/models/components/imagedetail.d.ts +13 -0
- package/models/components/imagedetail.d.ts.map +1 -0
- package/models/components/imagedetail.js +51 -0
- package/models/components/imagedetail.js.map +1 -0
- package/models/components/imagegenerationtool.d.ts +3 -0
- package/models/components/imagegenerationtool.d.ts.map +1 -1
- package/models/components/imagegenerationtool.js +12 -0
- package/models/components/imagegenerationtool.js.map +1 -1
- package/models/components/imageurl.d.ts +2 -1
- package/models/components/imageurl.d.ts.map +1 -1
- package/models/components/imageurl.js +3 -2
- package/models/components/imageurl.js.map +1 -1
- package/models/components/imageurlchunk.d.ts +2 -11
- package/models/components/imageurlchunk.d.ts.map +1 -1
- package/models/components/imageurlchunk.js +3 -10
- package/models/components/imageurlchunk.js.map +1 -1
- package/models/components/index.d.ts +14 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +14 -0
- package/models/components/index.js.map +1 -1
- package/models/components/jobin.d.ts +0 -3
- package/models/components/jobin.d.ts.map +1 -1
- package/models/components/jobin.js.map +1 -1
- package/models/components/jobsout.d.ts +1 -8
- package/models/components/jobsout.d.ts.map +1 -1
- package/models/components/jobsout.js +2 -7
- package/models/components/jobsout.js.map +1 -1
- package/models/components/legacyjobmetadataout.d.ts +1 -8
- package/models/components/legacyjobmetadataout.d.ts.map +1 -1
- package/models/components/legacyjobmetadataout.js +2 -7
- package/models/components/legacyjobmetadataout.js.map +1 -1
- package/models/components/messageinputentry.d.ts +9 -25
- package/models/components/messageinputentry.d.ts.map +1 -1
- package/models/components/messageinputentry.js +10 -25
- package/models/components/messageinputentry.js.map +1 -1
- package/models/components/messageoutputentry.d.ts +6 -31
- package/models/components/messageoutputentry.d.ts.map +1 -1
- package/models/components/messageoutputentry.js +7 -28
- package/models/components/messageoutputentry.js.map +1 -1
- package/models/components/messageoutputevent.d.ts +2 -15
- package/models/components/messageoutputevent.d.ts.map +1 -1
- package/models/components/messageoutputevent.js +3 -13
- package/models/components/messageoutputevent.js.map +1 -1
- package/models/components/mistralpromptmode.d.ts +14 -0
- package/models/components/mistralpromptmode.d.ts.map +1 -1
- package/models/components/mistralpromptmode.js +7 -0
- package/models/components/mistralpromptmode.js.map +1 -1
- package/models/components/modelcapabilities.d.ts +1 -0
- package/models/components/modelcapabilities.d.ts.map +1 -1
- package/models/components/modelcapabilities.js +2 -0
- package/models/components/modelcapabilities.js.map +1 -1
- package/models/components/modelconversation.d.ts +1 -8
- package/models/components/modelconversation.d.ts.map +1 -1
- package/models/components/modelconversation.js +2 -7
- package/models/components/modelconversation.js.map +1 -1
- package/models/components/realtimetranscriptionerror.d.ts +20 -0
- package/models/components/realtimetranscriptionerror.d.ts.map +1 -0
- package/models/components/realtimetranscriptionerror.js +61 -0
- package/models/components/realtimetranscriptionerror.js.map +1 -0
- package/models/components/realtimetranscriptionerrordetail.d.ts +45 -0
- package/models/components/realtimetranscriptionerrordetail.d.ts.map +1 -0
- package/models/components/realtimetranscriptionerrordetail.js +72 -0
- package/models/components/realtimetranscriptionerrordetail.js.map +1 -0
- package/models/components/realtimetranscriptioninputaudioappend.d.ts +22 -0
- package/models/components/realtimetranscriptioninputaudioappend.d.ts.map +1 -0
- package/models/components/realtimetranscriptioninputaudioappend.js +60 -0
- package/models/components/realtimetranscriptioninputaudioappend.js.map +1 -0
- package/models/components/realtimetranscriptioninputaudioend.d.ts +17 -0
- package/models/components/realtimetranscriptioninputaudioend.d.ts.map +1 -0
- package/models/components/realtimetranscriptioninputaudioend.js +58 -0
- package/models/components/realtimetranscriptioninputaudioend.js.map +1 -0
- package/models/components/realtimetranscriptioninputaudioflush.d.ts +17 -0
- package/models/components/realtimetranscriptioninputaudioflush.d.ts.map +1 -0
- package/models/components/realtimetranscriptioninputaudioflush.js +58 -0
- package/models/components/realtimetranscriptioninputaudioflush.js.map +1 -0
- package/models/components/realtimetranscriptionsession.d.ts +24 -0
- package/models/components/realtimetranscriptionsession.d.ts.map +1 -0
- package/models/components/realtimetranscriptionsession.js +78 -0
- package/models/components/realtimetranscriptionsession.js.map +1 -0
- package/models/components/realtimetranscriptionsessioncreated.d.ts +20 -0
- package/models/components/realtimetranscriptionsessioncreated.d.ts.map +1 -0
- package/models/components/realtimetranscriptionsessioncreated.js +61 -0
- package/models/components/realtimetranscriptionsessioncreated.js.map +1 -0
- package/models/components/realtimetranscriptionsessionupdated.d.ts +20 -0
- package/models/components/realtimetranscriptionsessionupdated.d.ts.map +1 -0
- package/models/components/realtimetranscriptionsessionupdated.js +61 -0
- package/models/components/realtimetranscriptionsessionupdated.js.map +1 -0
- package/models/components/realtimetranscriptionsessionupdatemessage.d.ts +20 -0
- package/models/components/realtimetranscriptionsessionupdatemessage.d.ts.map +1 -0
- package/models/components/realtimetranscriptionsessionupdatemessage.js +61 -0
- package/models/components/realtimetranscriptionsessionupdatemessage.js.map +1 -0
- package/models/components/realtimetranscriptionsessionupdatepayload.d.ts +26 -0
- package/models/components/realtimetranscriptionsessionupdatepayload.d.ts.map +1 -0
- package/models/components/realtimetranscriptionsessionupdatepayload.js +72 -0
- package/models/components/realtimetranscriptionsessionupdatepayload.js.map +1 -0
- package/models/components/referencechunk.d.ts +2 -11
- package/models/components/referencechunk.d.ts.map +1 -1
- package/models/components/referencechunk.js +3 -10
- package/models/components/referencechunk.js.map +1 -1
- package/models/components/responsedoneevent.d.ts +1 -8
- package/models/components/responsedoneevent.d.ts.map +1 -1
- package/models/components/responsedoneevent.js +2 -7
- package/models/components/responsedoneevent.js.map +1 -1
- package/models/components/responseerrorevent.d.ts +1 -8
- package/models/components/responseerrorevent.d.ts.map +1 -1
- package/models/components/responseerrorevent.js +2 -7
- package/models/components/responseerrorevent.js.map +1 -1
- package/models/components/responsestartedevent.d.ts +1 -8
- package/models/components/responsestartedevent.d.ts.map +1 -1
- package/models/components/responsestartedevent.js +2 -7
- package/models/components/responsestartedevent.js.map +1 -1
- package/models/components/systemmessage.d.ts +2 -9
- package/models/components/systemmessage.d.ts.map +1 -1
- package/models/components/systemmessage.js +2 -7
- package/models/components/systemmessage.js.map +1 -1
- package/models/components/textchunk.d.ts +2 -11
- package/models/components/textchunk.d.ts.map +1 -1
- package/models/components/textchunk.js +3 -10
- package/models/components/textchunk.js.map +1 -1
- package/models/components/thinkchunk.d.ts +8 -20
- package/models/components/thinkchunk.d.ts.map +1 -1
- package/models/components/thinkchunk.js +10 -17
- package/models/components/thinkchunk.js.map +1 -1
- package/models/components/timestampgranularity.d.ts +1 -0
- package/models/components/timestampgranularity.d.ts.map +1 -1
- package/models/components/timestampgranularity.js +1 -0
- package/models/components/timestampgranularity.js.map +1 -1
- package/models/components/toolcallconfirmation.d.ts +22 -0
- package/models/components/toolcallconfirmation.d.ts.map +1 -0
- package/models/components/toolcallconfirmation.js +61 -0
- package/models/components/toolcallconfirmation.js.map +1 -0
- package/models/components/toolconfiguration.d.ts +21 -0
- package/models/components/toolconfiguration.d.ts.map +1 -0
- package/models/components/toolconfiguration.js +71 -0
- package/models/components/toolconfiguration.js.map +1 -0
- package/models/components/toolexecutiondeltaevent.d.ts +1 -8
- package/models/components/toolexecutiondeltaevent.d.ts.map +1 -1
- package/models/components/toolexecutiondeltaevent.js +2 -7
- package/models/components/toolexecutiondeltaevent.js.map +1 -1
- package/models/components/toolexecutiondoneevent.d.ts +1 -8
- package/models/components/toolexecutiondoneevent.d.ts.map +1 -1
- package/models/components/toolexecutiondoneevent.js +2 -7
- package/models/components/toolexecutiondoneevent.js.map +1 -1
- package/models/components/toolexecutionentry.d.ts +4 -21
- package/models/components/toolexecutionentry.d.ts.map +1 -1
- package/models/components/toolexecutionentry.js +5 -19
- package/models/components/toolexecutionentry.js.map +1 -1
- package/models/components/toolexecutionstartedevent.d.ts +1 -8
- package/models/components/toolexecutionstartedevent.d.ts.map +1 -1
- package/models/components/toolexecutionstartedevent.js +2 -7
- package/models/components/toolexecutionstartedevent.js.map +1 -1
- package/models/components/toolfilechunk.d.ts +2 -11
- package/models/components/toolfilechunk.d.ts.map +1 -1
- package/models/components/toolfilechunk.js +3 -10
- package/models/components/toolfilechunk.js.map +1 -1
- package/models/components/toolmessage.d.ts +2 -9
- package/models/components/toolmessage.d.ts.map +1 -1
- package/models/components/toolmessage.js +2 -7
- package/models/components/toolmessage.js.map +1 -1
- package/models/components/toolreferencechunk.d.ts +2 -11
- package/models/components/toolreferencechunk.d.ts.map +1 -1
- package/models/components/toolreferencechunk.js +3 -10
- package/models/components/toolreferencechunk.js.map +1 -1
- package/models/components/transcriptionsegmentchunk.d.ts +6 -11
- package/models/components/transcriptionsegmentchunk.d.ts.map +1 -1
- package/models/components/transcriptionsegmentchunk.js +13 -11
- package/models/components/transcriptionsegmentchunk.js.map +1 -1
- package/models/components/transcriptionstreamdone.d.ts +2 -11
- package/models/components/transcriptionstreamdone.d.ts.map +1 -1
- package/models/components/transcriptionstreamdone.js +3 -10
- package/models/components/transcriptionstreamdone.js.map +1 -1
- package/models/components/transcriptionstreamlanguage.d.ts +2 -11
- package/models/components/transcriptionstreamlanguage.d.ts.map +1 -1
- package/models/components/transcriptionstreamlanguage.js +3 -10
- package/models/components/transcriptionstreamlanguage.js.map +1 -1
- package/models/components/transcriptionstreamsegmentdelta.d.ts +2 -8
- package/models/components/transcriptionstreamsegmentdelta.d.ts.map +1 -1
- package/models/components/transcriptionstreamsegmentdelta.js +9 -8
- package/models/components/transcriptionstreamsegmentdelta.js.map +1 -1
- package/models/components/transcriptionstreamtextdelta.d.ts +2 -11
- package/models/components/transcriptionstreamtextdelta.d.ts.map +1 -1
- package/models/components/transcriptionstreamtextdelta.js +3 -10
- package/models/components/transcriptionstreamtextdelta.js.map +1 -1
- package/models/components/unarchiveftmodelout.d.ts +1 -8
- package/models/components/unarchiveftmodelout.d.ts.map +1 -1
- package/models/components/unarchiveftmodelout.js +2 -7
- package/models/components/unarchiveftmodelout.js.map +1 -1
- package/models/components/usermessage.d.ts +2 -9
- package/models/components/usermessage.d.ts.map +1 -1
- package/models/components/usermessage.js +2 -7
- package/models/components/usermessage.js.map +1 -1
- package/models/components/wandbintegration.d.ts +2 -9
- package/models/components/wandbintegration.d.ts.map +1 -1
- package/models/components/wandbintegration.js +2 -7
- package/models/components/wandbintegration.js.map +1 -1
- package/models/components/wandbintegrationout.d.ts +1 -8
- package/models/components/wandbintegrationout.d.ts.map +1 -1
- package/models/components/wandbintegrationout.js +2 -7
- package/models/components/wandbintegrationout.js.map +1 -1
- package/models/components/websearchpremiumtool.d.ts +3 -0
- package/models/components/websearchpremiumtool.d.ts.map +1 -1
- package/models/components/websearchpremiumtool.js +12 -0
- package/models/components/websearchpremiumtool.js.map +1 -1
- package/models/components/websearchtool.d.ts +3 -0
- package/models/components/websearchtool.d.ts.map +1 -1
- package/models/components/websearchtool.js +12 -0
- package/models/components/websearchtool.js.map +1 -1
- package/models/operations/agentsapiv1agentscreateorupdatealias.d.ts +16 -0
- package/models/operations/agentsapiv1agentscreateorupdatealias.d.ts.map +1 -0
- package/models/operations/agentsapiv1agentscreateorupdatealias.js +56 -0
- package/models/operations/agentsapiv1agentscreateorupdatealias.js.map +1 -0
- package/models/operations/agentsapiv1agentsdeletealias.d.ts +14 -0
- package/models/operations/agentsapiv1agentsdeletealias.d.ts.map +1 -0
- package/models/operations/agentsapiv1agentsdeletealias.js +55 -0
- package/models/operations/agentsapiv1agentsdeletealias.js.map +1 -0
- package/models/operations/agentsapiv1agentsget.d.ts +8 -2
- package/models/operations/agentsapiv1agentsget.d.ts.map +1 -1
- package/models/operations/agentsapiv1agentsget.js +8 -2
- package/models/operations/agentsapiv1agentsget.js.map +1 -1
- package/models/operations/agentsapiv1agentsgetversion.d.ts +2 -2
- package/models/operations/agentsapiv1agentsgetversion.js +1 -1
- package/models/operations/agentsapiv1agentsgetversion.js.map +1 -1
- package/models/operations/agentsapiv1agentslist.d.ts +8 -0
- package/models/operations/agentsapiv1agentslist.d.ts.map +1 -1
- package/models/operations/agentsapiv1agentslist.js +1 -0
- package/models/operations/agentsapiv1agentslist.js.map +1 -1
- package/models/operations/agentsapiv1agentslistversionaliases.d.ts +12 -0
- package/models/operations/agentsapiv1agentslistversionaliases.d.ts.map +1 -0
- package/models/operations/agentsapiv1agentslistversionaliases.js +54 -0
- package/models/operations/agentsapiv1agentslistversionaliases.js.map +1 -0
- package/models/operations/filesapirouteslistfiles.d.ts +2 -0
- package/models/operations/filesapirouteslistfiles.d.ts.map +1 -1
- package/models/operations/filesapirouteslistfiles.js +1 -0
- package/models/operations/filesapirouteslistfiles.js.map +1 -1
- package/models/operations/index.d.ts +3 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +3 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/jobsapiroutesbatchgetbatchjobs.d.ts +10 -0
- package/models/operations/jobsapiroutesbatchgetbatchjobs.d.ts.map +1 -1
- package/models/operations/jobsapiroutesbatchgetbatchjobs.js +10 -1
- package/models/operations/jobsapiroutesbatchgetbatchjobs.js.map +1 -1
- package/package.json +4 -1
- package/sdk/mistralagents.d.ts +22 -1
- package/sdk/mistralagents.d.ts.map +1 -1
- package/sdk/mistralagents.js +31 -1
- package/sdk/mistralagents.js.map +1 -1
- package/src/extra/realtime/connection.ts +459 -0
- package/src/extra/realtime/errors.ts +32 -0
- package/src/extra/realtime/index.ts +32 -0
- package/src/extra/realtime/transcription.ts +291 -0
- package/src/extra/structChat.ts +2 -2
- package/src/funcs/audioTranscriptionsComplete.ts +6 -0
- package/src/funcs/audioTranscriptionsStream.ts +6 -0
- package/src/funcs/batchJobsList.ts +1 -0
- package/src/funcs/betaAgentsCreateVersionAlias.ts +184 -0
- package/src/funcs/betaAgentsDeleteVersionAlias.ts +184 -0
- package/src/funcs/betaAgentsGet.ts +1 -1
- package/src/funcs/betaAgentsGetVersion.ts +1 -1
- package/src/funcs/betaAgentsList.ts +1 -0
- package/src/funcs/betaAgentsListVersionAliases.ts +179 -0
- package/src/funcs/filesList.ts +1 -0
- package/src/lib/config.ts +2 -2
- package/src/models/components/agent.ts +5 -12
- package/src/models/components/agentaliasresponse.ts +43 -0
- package/src/models/components/agentconversation.ts +20 -14
- package/src/models/components/agentcreationrequest.ts +4 -0
- package/src/models/components/agenthandoffdoneevent.ts +2 -15
- package/src/models/components/agenthandoffentry.ts +8 -39
- package/src/models/components/agenthandoffstartedevent.ts +2 -17
- package/src/models/components/agentupdaterequest.ts +4 -0
- package/src/models/components/archiveftmodelout.ts +2 -15
- package/src/models/components/assistantmessage.ts +4 -19
- package/src/models/components/audiochunk.ts +4 -19
- package/src/models/components/audiotranscriptionrequest.ts +7 -0
- package/src/models/components/audiotranscriptionrequeststream.ts +7 -0
- package/src/models/components/basemodelcard.ts +0 -11
- package/src/models/components/batchjobout.ts +2 -13
- package/src/models/components/batchjobsout.ts +2 -13
- package/src/models/components/classifierdetailedjobout.ts +4 -31
- package/src/models/components/classifierftmodelout.ts +4 -29
- package/src/models/components/classifierjobout.ts +4 -41
- package/src/models/components/codeinterpretertool.ts +19 -0
- package/src/models/components/completiondetailedjobout.ts +4 -31
- package/src/models/components/completionftmodelout.ts +4 -26
- package/src/models/components/completionjobout.ts +4 -38
- package/src/models/components/conversationappendrequest.ts +13 -3
- package/src/models/components/conversationappendstreamrequest.ts +13 -3
- package/src/models/components/conversationhistory.ts +2 -17
- package/src/models/components/conversationmessages.ts +2 -17
- package/src/models/components/conversationrequest.ts +19 -3
- package/src/models/components/conversationresponse.ts +2 -17
- package/src/models/components/conversationrestartrequest.ts +32 -6
- package/src/models/components/conversationrestartstreamrequest.ts +35 -6
- package/src/models/components/conversationstreamrequest.ts +25 -3
- package/src/models/components/documentlibrarytool.ts +12 -0
- package/src/models/components/documentout.ts +3 -3
- package/src/models/components/documenturlchunk.ts +4 -19
- package/src/models/components/ftmodelcard.ts +0 -11
- package/src/models/components/functioncallentry.ts +25 -33
- package/src/models/components/functioncallevent.ts +17 -8
- package/src/models/components/functionresultentry.ts +8 -41
- package/src/models/components/functiontool.ts +10 -11
- package/src/models/components/githubrepositoryin.ts +3 -14
- package/src/models/components/githubrepositoryout.ts +2 -15
- package/src/models/components/imagedetail.ts +20 -0
- package/src/models/components/imagegenerationtool.ts +19 -0
- package/src/models/components/imageurl.ts +8 -3
- package/src/models/components/imageurlchunk.ts +4 -19
- package/src/models/components/index.ts +14 -0
- package/src/models/components/jobin.ts +0 -3
- package/src/models/components/jobsout.ts +2 -13
- package/src/models/components/legacyjobmetadataout.ts +2 -15
- package/src/models/components/messageinputentry.ts +18 -45
- package/src/models/components/messageoutputentry.ts +12 -57
- package/src/models/components/messageoutputevent.ts +4 -25
- package/src/models/components/mistralpromptmode.ts +14 -0
- package/src/models/components/modelcapabilities.ts +3 -0
- package/src/models/components/modelconversation.ts +2 -15
- package/src/models/components/realtimetranscriptionerror.ts +61 -0
- package/src/models/components/realtimetranscriptionerrordetail.ts +94 -0
- package/src/models/components/realtimetranscriptioninputaudioappend.ts +61 -0
- package/src/models/components/realtimetranscriptioninputaudioend.ts +54 -0
- package/src/models/components/realtimetranscriptioninputaudioflush.ts +54 -0
- package/src/models/components/realtimetranscriptionsession.ts +84 -0
- package/src/models/components/realtimetranscriptionsessioncreated.ts +64 -0
- package/src/models/components/realtimetranscriptionsessionupdated.ts +64 -0
- package/src/models/components/realtimetranscriptionsessionupdatemessage.ts +71 -0
- package/src/models/components/realtimetranscriptionsessionupdatepayload.ts +88 -0
- package/src/models/components/referencechunk.ts +4 -19
- package/src/models/components/responsedoneevent.ts +2 -13
- package/src/models/components/responseerrorevent.ts +2 -13
- package/src/models/components/responsestartedevent.ts +2 -15
- package/src/models/components/systemmessage.ts +3 -14
- package/src/models/components/textchunk.ts +4 -19
- package/src/models/components/thinkchunk.ts +23 -39
- package/src/models/components/timestampgranularity.ts +1 -0
- package/src/models/components/toolcallconfirmation.ts +50 -0
- package/src/models/components/toolconfiguration.ts +68 -0
- package/src/models/components/toolexecutiondeltaevent.ts +2 -17
- package/src/models/components/toolexecutiondoneevent.ts +2 -15
- package/src/models/components/toolexecutionentry.ts +8 -39
- package/src/models/components/toolexecutionstartedevent.ts +2 -17
- package/src/models/components/toolfilechunk.ts +4 -19
- package/src/models/components/toolmessage.ts +3 -14
- package/src/models/components/toolreferencechunk.ts +4 -19
- package/src/models/components/transcriptionsegmentchunk.ts +20 -19
- package/src/models/components/transcriptionstreamdone.ts +4 -25
- package/src/models/components/transcriptionstreamlanguage.ts +5 -24
- package/src/models/components/transcriptionstreamsegmentdelta.ts +10 -18
- package/src/models/components/transcriptionstreamtextdelta.ts +7 -24
- package/src/models/components/unarchiveftmodelout.ts +2 -15
- package/src/models/components/usermessage.ts +3 -14
- package/src/models/components/wandbintegration.ts +3 -14
- package/src/models/components/wandbintegrationout.ts +2 -15
- package/src/models/components/websearchpremiumtool.ts +19 -0
- package/src/models/components/websearchtool.ts +19 -0
- package/src/models/operations/agentsapiv1agentscreateorupdatealias.ts +46 -0
- package/src/models/operations/agentsapiv1agentsdeletealias.ts +41 -0
- package/src/models/operations/agentsapiv1agentsget.ts +19 -3
- package/src/models/operations/agentsapiv1agentsgetversion.ts +3 -3
- package/src/models/operations/agentsapiv1agentslist.ts +9 -0
- package/src/models/operations/agentsapiv1agentslistversionaliases.ts +40 -0
- package/src/models/operations/filesapirouteslistfiles.ts +3 -0
- package/src/models/operations/index.ts +3 -0
- package/src/models/operations/jobsapiroutesbatchgetbatchjobs.ts +15 -0
- package/src/sdk/mistralagents.ts +55 -1
- package/tests/extra/realtime.test.ts +389 -0
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
9
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
10
|
import {
|
|
@@ -13,40 +12,20 @@ import {
|
|
|
13
12
|
OutputContentChunks$inboundSchema,
|
|
14
13
|
} from "./outputcontentchunks.js";
|
|
15
14
|
|
|
16
|
-
export const MessageOutputEventType = {
|
|
17
|
-
MessageOutputDelta: "message.output.delta",
|
|
18
|
-
} as const;
|
|
19
|
-
export type MessageOutputEventType = ClosedEnum<typeof MessageOutputEventType>;
|
|
20
|
-
|
|
21
|
-
export const MessageOutputEventRole = {
|
|
22
|
-
Assistant: "assistant",
|
|
23
|
-
} as const;
|
|
24
|
-
export type MessageOutputEventRole = ClosedEnum<typeof MessageOutputEventRole>;
|
|
25
|
-
|
|
26
15
|
export type MessageOutputEventContent = string | OutputContentChunks;
|
|
27
16
|
|
|
28
17
|
export type MessageOutputEvent = {
|
|
29
|
-
type
|
|
18
|
+
type?: "message.output.delta" | undefined;
|
|
30
19
|
createdAt?: Date | undefined;
|
|
31
20
|
outputIndex: number | undefined;
|
|
32
21
|
id: string;
|
|
33
22
|
contentIndex: number | undefined;
|
|
34
23
|
model?: string | null | undefined;
|
|
35
24
|
agentId?: string | null | undefined;
|
|
36
|
-
role
|
|
25
|
+
role?: "assistant" | undefined;
|
|
37
26
|
content: string | OutputContentChunks;
|
|
38
27
|
};
|
|
39
28
|
|
|
40
|
-
/** @internal */
|
|
41
|
-
export const MessageOutputEventType$inboundSchema: z.ZodNativeEnum<
|
|
42
|
-
typeof MessageOutputEventType
|
|
43
|
-
> = z.nativeEnum(MessageOutputEventType);
|
|
44
|
-
|
|
45
|
-
/** @internal */
|
|
46
|
-
export const MessageOutputEventRole$inboundSchema: z.ZodNativeEnum<
|
|
47
|
-
typeof MessageOutputEventRole
|
|
48
|
-
> = z.nativeEnum(MessageOutputEventRole);
|
|
49
|
-
|
|
50
29
|
/** @internal */
|
|
51
30
|
export const MessageOutputEventContent$inboundSchema: z.ZodType<
|
|
52
31
|
MessageOutputEventContent,
|
|
@@ -70,7 +49,7 @@ export const MessageOutputEvent$inboundSchema: z.ZodType<
|
|
|
70
49
|
z.ZodTypeDef,
|
|
71
50
|
unknown
|
|
72
51
|
> = z.object({
|
|
73
|
-
type:
|
|
52
|
+
type: z.literal("message.output.delta").default("message.output.delta"),
|
|
74
53
|
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
75
54
|
.optional(),
|
|
76
55
|
output_index: z.number().int().default(0),
|
|
@@ -78,7 +57,7 @@ export const MessageOutputEvent$inboundSchema: z.ZodType<
|
|
|
78
57
|
content_index: z.number().int().default(0),
|
|
79
58
|
model: z.nullable(z.string()).optional(),
|
|
80
59
|
agent_id: z.nullable(z.string()).optional(),
|
|
81
|
-
role:
|
|
60
|
+
role: z.literal("assistant").default("assistant"),
|
|
82
61
|
content: z.union([z.string(), OutputContentChunks$inboundSchema]),
|
|
83
62
|
}).transform((v) => {
|
|
84
63
|
return remap$(v, {
|
|
@@ -6,9 +6,23 @@ import * as z from "zod/v3";
|
|
|
6
6
|
import * as openEnums from "../../types/enums.js";
|
|
7
7
|
import { OpenEnum } from "../../types/enums.js";
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* Available options to the prompt_mode argument on the chat completion endpoint.
|
|
11
|
+
*
|
|
12
|
+
* @remarks
|
|
13
|
+
* Values represent high-level intent. Assignment to actual SPs is handled internally.
|
|
14
|
+
* System prompt may include knowledge cutoff date, model capabilities, tone to use, safety guidelines, etc.
|
|
15
|
+
*/
|
|
9
16
|
export const MistralPromptMode = {
|
|
10
17
|
Reasoning: "reasoning",
|
|
11
18
|
} as const;
|
|
19
|
+
/**
|
|
20
|
+
* Available options to the prompt_mode argument on the chat completion endpoint.
|
|
21
|
+
*
|
|
22
|
+
* @remarks
|
|
23
|
+
* Values represent high-level intent. Assignment to actual SPs is handled internally.
|
|
24
|
+
* System prompt may include knowledge cutoff date, model capabilities, tone to use, safety guidelines, etc.
|
|
25
|
+
*/
|
|
12
26
|
export type MistralPromptMode = OpenEnum<typeof MistralPromptMode>;
|
|
13
27
|
|
|
14
28
|
/** @internal */
|
|
@@ -18,6 +18,7 @@ export type ModelCapabilities = {
|
|
|
18
18
|
classification: boolean | undefined;
|
|
19
19
|
moderation: boolean | undefined;
|
|
20
20
|
audio: boolean | undefined;
|
|
21
|
+
audioTranscription: boolean | undefined;
|
|
21
22
|
};
|
|
22
23
|
|
|
23
24
|
/** @internal */
|
|
@@ -35,12 +36,14 @@ export const ModelCapabilities$inboundSchema: z.ZodType<
|
|
|
35
36
|
classification: z.boolean().default(false),
|
|
36
37
|
moderation: z.boolean().default(false),
|
|
37
38
|
audio: z.boolean().default(false),
|
|
39
|
+
audio_transcription: z.boolean().default(false),
|
|
38
40
|
}).transform((v) => {
|
|
39
41
|
return remap$(v, {
|
|
40
42
|
"completion_chat": "completionChat",
|
|
41
43
|
"function_calling": "functionCalling",
|
|
42
44
|
"completion_fim": "completionFim",
|
|
43
45
|
"fine_tuning": "fineTuning",
|
|
46
|
+
"audio_transcription": "audioTranscription",
|
|
44
47
|
});
|
|
45
48
|
});
|
|
46
49
|
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
9
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
10
|
import {
|
|
@@ -39,13 +38,6 @@ export type ModelConversationTools =
|
|
|
39
38
|
| (WebSearchTool & { type: "web_search" })
|
|
40
39
|
| (WebSearchPremiumTool & { type: "web_search_premium" });
|
|
41
40
|
|
|
42
|
-
export const ModelConversationObject = {
|
|
43
|
-
Conversation: "conversation",
|
|
44
|
-
} as const;
|
|
45
|
-
export type ModelConversationObject = ClosedEnum<
|
|
46
|
-
typeof ModelConversationObject
|
|
47
|
-
>;
|
|
48
|
-
|
|
49
41
|
export type ModelConversation = {
|
|
50
42
|
/**
|
|
51
43
|
* Instruction prompt the model will follow during the conversation.
|
|
@@ -80,7 +72,7 @@ export type ModelConversation = {
|
|
|
80
72
|
* Custom metadata for the conversation.
|
|
81
73
|
*/
|
|
82
74
|
metadata?: { [k: string]: any } | null | undefined;
|
|
83
|
-
object
|
|
75
|
+
object?: "conversation" | undefined;
|
|
84
76
|
id: string;
|
|
85
77
|
createdAt: Date;
|
|
86
78
|
updatedAt: Date;
|
|
@@ -119,11 +111,6 @@ export function modelConversationToolsFromJSON(
|
|
|
119
111
|
);
|
|
120
112
|
}
|
|
121
113
|
|
|
122
|
-
/** @internal */
|
|
123
|
-
export const ModelConversationObject$inboundSchema: z.ZodNativeEnum<
|
|
124
|
-
typeof ModelConversationObject
|
|
125
|
-
> = z.nativeEnum(ModelConversationObject);
|
|
126
|
-
|
|
127
114
|
/** @internal */
|
|
128
115
|
export const ModelConversation$inboundSchema: z.ZodType<
|
|
129
116
|
ModelConversation,
|
|
@@ -155,7 +142,7 @@ export const ModelConversation$inboundSchema: z.ZodType<
|
|
|
155
142
|
name: z.nullable(z.string()).optional(),
|
|
156
143
|
description: z.nullable(z.string()).optional(),
|
|
157
144
|
metadata: z.nullable(z.record(z.any())).optional(),
|
|
158
|
-
object:
|
|
145
|
+
object: z.literal("conversation").default("conversation"),
|
|
159
146
|
id: z.string(),
|
|
160
147
|
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
161
148
|
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import {
|
|
10
|
+
RealtimeTranscriptionErrorDetail,
|
|
11
|
+
RealtimeTranscriptionErrorDetail$inboundSchema,
|
|
12
|
+
RealtimeTranscriptionErrorDetail$Outbound,
|
|
13
|
+
RealtimeTranscriptionErrorDetail$outboundSchema,
|
|
14
|
+
} from "./realtimetranscriptionerrordetail.js";
|
|
15
|
+
|
|
16
|
+
export type RealtimeTranscriptionError = {
|
|
17
|
+
type?: "error" | undefined;
|
|
18
|
+
error: RealtimeTranscriptionErrorDetail;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
/** @internal */
|
|
22
|
+
export const RealtimeTranscriptionError$inboundSchema: z.ZodType<
|
|
23
|
+
RealtimeTranscriptionError,
|
|
24
|
+
z.ZodTypeDef,
|
|
25
|
+
unknown
|
|
26
|
+
> = z.object({
|
|
27
|
+
type: z.literal("error").default("error"),
|
|
28
|
+
error: RealtimeTranscriptionErrorDetail$inboundSchema,
|
|
29
|
+
});
|
|
30
|
+
/** @internal */
|
|
31
|
+
export type RealtimeTranscriptionError$Outbound = {
|
|
32
|
+
type: "error";
|
|
33
|
+
error: RealtimeTranscriptionErrorDetail$Outbound;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
/** @internal */
|
|
37
|
+
export const RealtimeTranscriptionError$outboundSchema: z.ZodType<
|
|
38
|
+
RealtimeTranscriptionError$Outbound,
|
|
39
|
+
z.ZodTypeDef,
|
|
40
|
+
RealtimeTranscriptionError
|
|
41
|
+
> = z.object({
|
|
42
|
+
type: z.literal("error").default("error" as const),
|
|
43
|
+
error: RealtimeTranscriptionErrorDetail$outboundSchema,
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
export function realtimeTranscriptionErrorToJSON(
|
|
47
|
+
realtimeTranscriptionError: RealtimeTranscriptionError,
|
|
48
|
+
): string {
|
|
49
|
+
return JSON.stringify(
|
|
50
|
+
RealtimeTranscriptionError$outboundSchema.parse(realtimeTranscriptionError),
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
export function realtimeTranscriptionErrorFromJSON(
|
|
54
|
+
jsonString: string,
|
|
55
|
+
): SafeParseResult<RealtimeTranscriptionError, SDKValidationError> {
|
|
56
|
+
return safeParse(
|
|
57
|
+
jsonString,
|
|
58
|
+
(x) => RealtimeTranscriptionError$inboundSchema.parse(JSON.parse(x)),
|
|
59
|
+
`Failed to parse 'RealtimeTranscriptionError' from JSON`,
|
|
60
|
+
);
|
|
61
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Human-readable error message.
|
|
12
|
+
*/
|
|
13
|
+
export type Message = string | { [k: string]: any };
|
|
14
|
+
|
|
15
|
+
export type RealtimeTranscriptionErrorDetail = {
|
|
16
|
+
/**
|
|
17
|
+
* Human-readable error message.
|
|
18
|
+
*/
|
|
19
|
+
message: string | { [k: string]: any };
|
|
20
|
+
/**
|
|
21
|
+
* Internal error code for debugging.
|
|
22
|
+
*/
|
|
23
|
+
code: number;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
/** @internal */
|
|
27
|
+
export const Message$inboundSchema: z.ZodType<Message, z.ZodTypeDef, unknown> =
|
|
28
|
+
z.union([z.string(), z.record(z.any())]);
|
|
29
|
+
/** @internal */
|
|
30
|
+
export type Message$Outbound = string | { [k: string]: any };
|
|
31
|
+
|
|
32
|
+
/** @internal */
|
|
33
|
+
export const Message$outboundSchema: z.ZodType<
|
|
34
|
+
Message$Outbound,
|
|
35
|
+
z.ZodTypeDef,
|
|
36
|
+
Message
|
|
37
|
+
> = z.union([z.string(), z.record(z.any())]);
|
|
38
|
+
|
|
39
|
+
export function messageToJSON(message: Message): string {
|
|
40
|
+
return JSON.stringify(Message$outboundSchema.parse(message));
|
|
41
|
+
}
|
|
42
|
+
export function messageFromJSON(
|
|
43
|
+
jsonString: string,
|
|
44
|
+
): SafeParseResult<Message, SDKValidationError> {
|
|
45
|
+
return safeParse(
|
|
46
|
+
jsonString,
|
|
47
|
+
(x) => Message$inboundSchema.parse(JSON.parse(x)),
|
|
48
|
+
`Failed to parse 'Message' from JSON`,
|
|
49
|
+
);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/** @internal */
|
|
53
|
+
export const RealtimeTranscriptionErrorDetail$inboundSchema: z.ZodType<
|
|
54
|
+
RealtimeTranscriptionErrorDetail,
|
|
55
|
+
z.ZodTypeDef,
|
|
56
|
+
unknown
|
|
57
|
+
> = z.object({
|
|
58
|
+
message: z.union([z.string(), z.record(z.any())]),
|
|
59
|
+
code: z.number().int(),
|
|
60
|
+
});
|
|
61
|
+
/** @internal */
|
|
62
|
+
export type RealtimeTranscriptionErrorDetail$Outbound = {
|
|
63
|
+
message: string | { [k: string]: any };
|
|
64
|
+
code: number;
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
/** @internal */
|
|
68
|
+
export const RealtimeTranscriptionErrorDetail$outboundSchema: z.ZodType<
|
|
69
|
+
RealtimeTranscriptionErrorDetail$Outbound,
|
|
70
|
+
z.ZodTypeDef,
|
|
71
|
+
RealtimeTranscriptionErrorDetail
|
|
72
|
+
> = z.object({
|
|
73
|
+
message: z.union([z.string(), z.record(z.any())]),
|
|
74
|
+
code: z.number().int(),
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
export function realtimeTranscriptionErrorDetailToJSON(
|
|
78
|
+
realtimeTranscriptionErrorDetail: RealtimeTranscriptionErrorDetail,
|
|
79
|
+
): string {
|
|
80
|
+
return JSON.stringify(
|
|
81
|
+
RealtimeTranscriptionErrorDetail$outboundSchema.parse(
|
|
82
|
+
realtimeTranscriptionErrorDetail,
|
|
83
|
+
),
|
|
84
|
+
);
|
|
85
|
+
}
|
|
86
|
+
export function realtimeTranscriptionErrorDetailFromJSON(
|
|
87
|
+
jsonString: string,
|
|
88
|
+
): SafeParseResult<RealtimeTranscriptionErrorDetail, SDKValidationError> {
|
|
89
|
+
return safeParse(
|
|
90
|
+
jsonString,
|
|
91
|
+
(x) => RealtimeTranscriptionErrorDetail$inboundSchema.parse(JSON.parse(x)),
|
|
92
|
+
`Failed to parse 'RealtimeTranscriptionErrorDetail' from JSON`,
|
|
93
|
+
);
|
|
94
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
export type RealtimeTranscriptionInputAudioAppend = {
|
|
11
|
+
type?: "input_audio.append" | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* Base64-encoded raw PCM bytes matching the current audio_format. Max decoded size: 262144 bytes.
|
|
14
|
+
*/
|
|
15
|
+
audio: string;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export const RealtimeTranscriptionInputAudioAppend$inboundSchema: z.ZodType<
|
|
20
|
+
RealtimeTranscriptionInputAudioAppend,
|
|
21
|
+
z.ZodTypeDef,
|
|
22
|
+
unknown
|
|
23
|
+
> = z.object({
|
|
24
|
+
type: z.literal("input_audio.append").default("input_audio.append"),
|
|
25
|
+
audio: z.string(),
|
|
26
|
+
});
|
|
27
|
+
/** @internal */
|
|
28
|
+
export type RealtimeTranscriptionInputAudioAppend$Outbound = {
|
|
29
|
+
type: "input_audio.append";
|
|
30
|
+
audio: string;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
/** @internal */
|
|
34
|
+
export const RealtimeTranscriptionInputAudioAppend$outboundSchema: z.ZodType<
|
|
35
|
+
RealtimeTranscriptionInputAudioAppend$Outbound,
|
|
36
|
+
z.ZodTypeDef,
|
|
37
|
+
RealtimeTranscriptionInputAudioAppend
|
|
38
|
+
> = z.object({
|
|
39
|
+
type: z.literal("input_audio.append").default("input_audio.append" as const),
|
|
40
|
+
audio: z.string(),
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
export function realtimeTranscriptionInputAudioAppendToJSON(
|
|
44
|
+
realtimeTranscriptionInputAudioAppend: RealtimeTranscriptionInputAudioAppend,
|
|
45
|
+
): string {
|
|
46
|
+
return JSON.stringify(
|
|
47
|
+
RealtimeTranscriptionInputAudioAppend$outboundSchema.parse(
|
|
48
|
+
realtimeTranscriptionInputAudioAppend,
|
|
49
|
+
),
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
export function realtimeTranscriptionInputAudioAppendFromJSON(
|
|
53
|
+
jsonString: string,
|
|
54
|
+
): SafeParseResult<RealtimeTranscriptionInputAudioAppend, SDKValidationError> {
|
|
55
|
+
return safeParse(
|
|
56
|
+
jsonString,
|
|
57
|
+
(x) =>
|
|
58
|
+
RealtimeTranscriptionInputAudioAppend$inboundSchema.parse(JSON.parse(x)),
|
|
59
|
+
`Failed to parse 'RealtimeTranscriptionInputAudioAppend' from JSON`,
|
|
60
|
+
);
|
|
61
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
export type RealtimeTranscriptionInputAudioEnd = {
|
|
11
|
+
type?: "input_audio.end" | undefined;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
/** @internal */
|
|
15
|
+
export const RealtimeTranscriptionInputAudioEnd$inboundSchema: z.ZodType<
|
|
16
|
+
RealtimeTranscriptionInputAudioEnd,
|
|
17
|
+
z.ZodTypeDef,
|
|
18
|
+
unknown
|
|
19
|
+
> = z.object({
|
|
20
|
+
type: z.literal("input_audio.end").default("input_audio.end"),
|
|
21
|
+
});
|
|
22
|
+
/** @internal */
|
|
23
|
+
export type RealtimeTranscriptionInputAudioEnd$Outbound = {
|
|
24
|
+
type: "input_audio.end";
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
/** @internal */
|
|
28
|
+
export const RealtimeTranscriptionInputAudioEnd$outboundSchema: z.ZodType<
|
|
29
|
+
RealtimeTranscriptionInputAudioEnd$Outbound,
|
|
30
|
+
z.ZodTypeDef,
|
|
31
|
+
RealtimeTranscriptionInputAudioEnd
|
|
32
|
+
> = z.object({
|
|
33
|
+
type: z.literal("input_audio.end").default("input_audio.end" as const),
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
export function realtimeTranscriptionInputAudioEndToJSON(
|
|
37
|
+
realtimeTranscriptionInputAudioEnd: RealtimeTranscriptionInputAudioEnd,
|
|
38
|
+
): string {
|
|
39
|
+
return JSON.stringify(
|
|
40
|
+
RealtimeTranscriptionInputAudioEnd$outboundSchema.parse(
|
|
41
|
+
realtimeTranscriptionInputAudioEnd,
|
|
42
|
+
),
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
export function realtimeTranscriptionInputAudioEndFromJSON(
|
|
46
|
+
jsonString: string,
|
|
47
|
+
): SafeParseResult<RealtimeTranscriptionInputAudioEnd, SDKValidationError> {
|
|
48
|
+
return safeParse(
|
|
49
|
+
jsonString,
|
|
50
|
+
(x) =>
|
|
51
|
+
RealtimeTranscriptionInputAudioEnd$inboundSchema.parse(JSON.parse(x)),
|
|
52
|
+
`Failed to parse 'RealtimeTranscriptionInputAudioEnd' from JSON`,
|
|
53
|
+
);
|
|
54
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
export type RealtimeTranscriptionInputAudioFlush = {
|
|
11
|
+
type?: "input_audio.flush" | undefined;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
/** @internal */
|
|
15
|
+
export const RealtimeTranscriptionInputAudioFlush$inboundSchema: z.ZodType<
|
|
16
|
+
RealtimeTranscriptionInputAudioFlush,
|
|
17
|
+
z.ZodTypeDef,
|
|
18
|
+
unknown
|
|
19
|
+
> = z.object({
|
|
20
|
+
type: z.literal("input_audio.flush").default("input_audio.flush"),
|
|
21
|
+
});
|
|
22
|
+
/** @internal */
|
|
23
|
+
export type RealtimeTranscriptionInputAudioFlush$Outbound = {
|
|
24
|
+
type: "input_audio.flush";
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
/** @internal */
|
|
28
|
+
export const RealtimeTranscriptionInputAudioFlush$outboundSchema: z.ZodType<
|
|
29
|
+
RealtimeTranscriptionInputAudioFlush$Outbound,
|
|
30
|
+
z.ZodTypeDef,
|
|
31
|
+
RealtimeTranscriptionInputAudioFlush
|
|
32
|
+
> = z.object({
|
|
33
|
+
type: z.literal("input_audio.flush").default("input_audio.flush" as const),
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
export function realtimeTranscriptionInputAudioFlushToJSON(
|
|
37
|
+
realtimeTranscriptionInputAudioFlush: RealtimeTranscriptionInputAudioFlush,
|
|
38
|
+
): string {
|
|
39
|
+
return JSON.stringify(
|
|
40
|
+
RealtimeTranscriptionInputAudioFlush$outboundSchema.parse(
|
|
41
|
+
realtimeTranscriptionInputAudioFlush,
|
|
42
|
+
),
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
export function realtimeTranscriptionInputAudioFlushFromJSON(
|
|
46
|
+
jsonString: string,
|
|
47
|
+
): SafeParseResult<RealtimeTranscriptionInputAudioFlush, SDKValidationError> {
|
|
48
|
+
return safeParse(
|
|
49
|
+
jsonString,
|
|
50
|
+
(x) =>
|
|
51
|
+
RealtimeTranscriptionInputAudioFlush$inboundSchema.parse(JSON.parse(x)),
|
|
52
|
+
`Failed to parse 'RealtimeTranscriptionInputAudioFlush' from JSON`,
|
|
53
|
+
);
|
|
54
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
AudioFormat,
|
|
12
|
+
AudioFormat$inboundSchema,
|
|
13
|
+
AudioFormat$Outbound,
|
|
14
|
+
AudioFormat$outboundSchema,
|
|
15
|
+
} from "./audioformat.js";
|
|
16
|
+
|
|
17
|
+
export type RealtimeTranscriptionSession = {
|
|
18
|
+
requestId: string;
|
|
19
|
+
model: string;
|
|
20
|
+
audioFormat: AudioFormat;
|
|
21
|
+
targetStreamingDelayMs?: number | null | undefined;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const RealtimeTranscriptionSession$inboundSchema: z.ZodType<
|
|
26
|
+
RealtimeTranscriptionSession,
|
|
27
|
+
z.ZodTypeDef,
|
|
28
|
+
unknown
|
|
29
|
+
> = z.object({
|
|
30
|
+
request_id: z.string(),
|
|
31
|
+
model: z.string(),
|
|
32
|
+
audio_format: AudioFormat$inboundSchema,
|
|
33
|
+
target_streaming_delay_ms: z.nullable(z.number().int()).optional(),
|
|
34
|
+
}).transform((v) => {
|
|
35
|
+
return remap$(v, {
|
|
36
|
+
"request_id": "requestId",
|
|
37
|
+
"audio_format": "audioFormat",
|
|
38
|
+
"target_streaming_delay_ms": "targetStreamingDelayMs",
|
|
39
|
+
});
|
|
40
|
+
});
|
|
41
|
+
/** @internal */
|
|
42
|
+
export type RealtimeTranscriptionSession$Outbound = {
|
|
43
|
+
request_id: string;
|
|
44
|
+
model: string;
|
|
45
|
+
audio_format: AudioFormat$Outbound;
|
|
46
|
+
target_streaming_delay_ms?: number | null | undefined;
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
/** @internal */
|
|
50
|
+
export const RealtimeTranscriptionSession$outboundSchema: z.ZodType<
|
|
51
|
+
RealtimeTranscriptionSession$Outbound,
|
|
52
|
+
z.ZodTypeDef,
|
|
53
|
+
RealtimeTranscriptionSession
|
|
54
|
+
> = z.object({
|
|
55
|
+
requestId: z.string(),
|
|
56
|
+
model: z.string(),
|
|
57
|
+
audioFormat: AudioFormat$outboundSchema,
|
|
58
|
+
targetStreamingDelayMs: z.nullable(z.number().int()).optional(),
|
|
59
|
+
}).transform((v) => {
|
|
60
|
+
return remap$(v, {
|
|
61
|
+
requestId: "request_id",
|
|
62
|
+
audioFormat: "audio_format",
|
|
63
|
+
targetStreamingDelayMs: "target_streaming_delay_ms",
|
|
64
|
+
});
|
|
65
|
+
});
|
|
66
|
+
|
|
67
|
+
export function realtimeTranscriptionSessionToJSON(
|
|
68
|
+
realtimeTranscriptionSession: RealtimeTranscriptionSession,
|
|
69
|
+
): string {
|
|
70
|
+
return JSON.stringify(
|
|
71
|
+
RealtimeTranscriptionSession$outboundSchema.parse(
|
|
72
|
+
realtimeTranscriptionSession,
|
|
73
|
+
),
|
|
74
|
+
);
|
|
75
|
+
}
|
|
76
|
+
export function realtimeTranscriptionSessionFromJSON(
|
|
77
|
+
jsonString: string,
|
|
78
|
+
): SafeParseResult<RealtimeTranscriptionSession, SDKValidationError> {
|
|
79
|
+
return safeParse(
|
|
80
|
+
jsonString,
|
|
81
|
+
(x) => RealtimeTranscriptionSession$inboundSchema.parse(JSON.parse(x)),
|
|
82
|
+
`Failed to parse 'RealtimeTranscriptionSession' from JSON`,
|
|
83
|
+
);
|
|
84
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import {
|
|
10
|
+
RealtimeTranscriptionSession,
|
|
11
|
+
RealtimeTranscriptionSession$inboundSchema,
|
|
12
|
+
RealtimeTranscriptionSession$Outbound,
|
|
13
|
+
RealtimeTranscriptionSession$outboundSchema,
|
|
14
|
+
} from "./realtimetranscriptionsession.js";
|
|
15
|
+
|
|
16
|
+
export type RealtimeTranscriptionSessionCreated = {
|
|
17
|
+
type?: "session.created" | undefined;
|
|
18
|
+
session: RealtimeTranscriptionSession;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
/** @internal */
|
|
22
|
+
export const RealtimeTranscriptionSessionCreated$inboundSchema: z.ZodType<
|
|
23
|
+
RealtimeTranscriptionSessionCreated,
|
|
24
|
+
z.ZodTypeDef,
|
|
25
|
+
unknown
|
|
26
|
+
> = z.object({
|
|
27
|
+
type: z.literal("session.created").default("session.created"),
|
|
28
|
+
session: RealtimeTranscriptionSession$inboundSchema,
|
|
29
|
+
});
|
|
30
|
+
/** @internal */
|
|
31
|
+
export type RealtimeTranscriptionSessionCreated$Outbound = {
|
|
32
|
+
type: "session.created";
|
|
33
|
+
session: RealtimeTranscriptionSession$Outbound;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
/** @internal */
|
|
37
|
+
export const RealtimeTranscriptionSessionCreated$outboundSchema: z.ZodType<
|
|
38
|
+
RealtimeTranscriptionSessionCreated$Outbound,
|
|
39
|
+
z.ZodTypeDef,
|
|
40
|
+
RealtimeTranscriptionSessionCreated
|
|
41
|
+
> = z.object({
|
|
42
|
+
type: z.literal("session.created").default("session.created" as const),
|
|
43
|
+
session: RealtimeTranscriptionSession$outboundSchema,
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
export function realtimeTranscriptionSessionCreatedToJSON(
|
|
47
|
+
realtimeTranscriptionSessionCreated: RealtimeTranscriptionSessionCreated,
|
|
48
|
+
): string {
|
|
49
|
+
return JSON.stringify(
|
|
50
|
+
RealtimeTranscriptionSessionCreated$outboundSchema.parse(
|
|
51
|
+
realtimeTranscriptionSessionCreated,
|
|
52
|
+
),
|
|
53
|
+
);
|
|
54
|
+
}
|
|
55
|
+
export function realtimeTranscriptionSessionCreatedFromJSON(
|
|
56
|
+
jsonString: string,
|
|
57
|
+
): SafeParseResult<RealtimeTranscriptionSessionCreated, SDKValidationError> {
|
|
58
|
+
return safeParse(
|
|
59
|
+
jsonString,
|
|
60
|
+
(x) =>
|
|
61
|
+
RealtimeTranscriptionSessionCreated$inboundSchema.parse(JSON.parse(x)),
|
|
62
|
+
`Failed to parse 'RealtimeTranscriptionSessionCreated' from JSON`,
|
|
63
|
+
);
|
|
64
|
+
}
|