mavenagi 1.2.20 → 1.2.22
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/Client.d.ts +6 -6
- package/Client.js +32 -32
- package/api/resources/commons/types/BaseAttachment.d.ts +1 -0
- package/api/resources/commons/types/InboxItemBase.d.ts +2 -0
- package/api/resources/conversation/client/Client.d.ts +0 -17
- package/api/resources/conversation/client/Client.js +0 -108
- package/api/resources/conversation/types/index.d.ts +0 -2
- package/api/resources/conversation/types/index.js +0 -2
- package/api/resources/inbox/client/Client.d.ts +18 -0
- package/api/resources/inbox/client/Client.js +98 -0
- package/api/resources/inbox/client/requests/InboxItemApplyTagsRequest.d.ts +12 -0
- package/api/resources/inbox/client/requests/index.d.ts +1 -0
- package/api/resources/inbox/types/InboxFilter.d.ts +2 -0
- package/api/resources/index.d.ts +4 -4
- package/api/resources/index.js +5 -5
- package/api/resources/segments/types/SegmentFilter.d.ts +21 -0
- package/api/resources/segments/types/SegmentRequest.d.ts +2 -0
- package/api/resources/segments/types/SegmentResponse.d.ts +3 -0
- package/api/resources/segments/types/SegmentsSearchRequest.d.ts +2 -0
- package/api/resources/segments/types/index.d.ts +1 -0
- package/api/resources/segments/types/index.js +1 -0
- package/api/resources/voice/client/Client.d.ts +38 -0
- package/api/resources/{auth → voice}/client/Client.js +19 -14
- package/api/resources/voice/types/VoiceSessionTokenRequest.d.ts +17 -0
- package/api/resources/voice/types/VoiceSessionTokenResponse.d.ts +11 -0
- package/api/resources/voice/types/VoiceTokenType.d.ts +5 -0
- package/api/resources/voice/types/VoiceTokenType.js +8 -0
- package/api/resources/voice/types/index.d.ts +3 -0
- package/api/resources/{auth → voice}/types/index.js +3 -2
- package/api/resources/{websockets → voiceConversations}/client/Client.d.ts +6 -6
- package/api/resources/{websockets → voiceConversations}/client/Client.js +5 -5
- package/api/resources/{websockets → voiceConversations}/client/Socket.d.ts +6 -6
- package/api/resources/{websockets → voiceConversations}/client/Socket.js +6 -6
- package/{dist/api/resources/websockets → api/resources/voiceConversations}/types/AgentAudioChunk.d.ts +1 -1
- package/{dist/api/resources/websockets → api/resources/voiceConversations}/types/Config.d.ts +2 -2
- package/api/resources/{websockets → voiceConversations}/types/UserAudioChunk.d.ts +1 -1
- package/dist/Client.d.ts +6 -6
- package/dist/Client.js +32 -32
- package/dist/api/resources/commons/types/BaseAttachment.d.ts +1 -0
- package/dist/api/resources/commons/types/InboxItemBase.d.ts +2 -0
- package/dist/api/resources/conversation/client/Client.d.ts +0 -17
- package/dist/api/resources/conversation/client/Client.js +0 -108
- package/dist/api/resources/conversation/types/index.d.ts +0 -2
- package/dist/api/resources/conversation/types/index.js +0 -2
- package/dist/api/resources/inbox/client/Client.d.ts +18 -0
- package/dist/api/resources/inbox/client/Client.js +98 -0
- package/dist/api/resources/inbox/client/requests/InboxItemApplyTagsRequest.d.ts +12 -0
- package/dist/api/resources/inbox/client/requests/index.d.ts +1 -0
- package/dist/api/resources/inbox/types/InboxFilter.d.ts +2 -0
- package/dist/api/resources/index.d.ts +4 -4
- package/dist/api/resources/index.js +5 -5
- package/dist/api/resources/segments/types/SegmentFilter.d.ts +21 -0
- package/dist/api/resources/segments/types/SegmentRequest.d.ts +2 -0
- package/dist/api/resources/segments/types/SegmentResponse.d.ts +3 -0
- package/dist/api/resources/segments/types/SegmentsSearchRequest.d.ts +2 -0
- package/dist/api/resources/segments/types/index.d.ts +1 -0
- package/dist/api/resources/segments/types/index.js +1 -0
- package/dist/api/resources/voice/client/Client.d.ts +38 -0
- package/dist/api/resources/{auth → voice}/client/Client.js +19 -14
- package/dist/api/resources/voice/types/VoiceSessionTokenRequest.d.ts +17 -0
- package/dist/api/resources/voice/types/VoiceSessionTokenResponse.d.ts +11 -0
- package/dist/api/resources/voice/types/VoiceTokenType.d.ts +5 -0
- package/dist/api/resources/voice/types/VoiceTokenType.js +8 -0
- package/dist/api/resources/voice/types/index.d.ts +3 -0
- package/dist/api/resources/voice/types/index.js +19 -0
- package/dist/api/resources/{websockets → voiceConversations}/client/Client.d.ts +6 -6
- package/dist/api/resources/{websockets → voiceConversations}/client/Client.js +5 -5
- package/dist/api/resources/{websockets → voiceConversations}/client/Socket.d.ts +6 -6
- package/dist/api/resources/{websockets → voiceConversations}/client/Socket.js +6 -6
- package/{api/resources/websockets → dist/api/resources/voiceConversations}/types/AgentAudioChunk.d.ts +1 -1
- package/{api/resources/websockets → dist/api/resources/voiceConversations}/types/Config.d.ts +2 -2
- package/dist/api/resources/{websockets → voiceConversations}/types/UserAudioChunk.d.ts +1 -1
- package/dist/serialization/resources/commons/types/InboxItemBase.d.ts +1 -0
- package/dist/serialization/resources/commons/types/InboxItemBase.js +1 -0
- package/dist/serialization/resources/conversation/types/index.d.ts +0 -2
- package/dist/serialization/resources/conversation/types/index.js +0 -2
- package/dist/serialization/resources/inbox/client/index.d.ts +1 -0
- package/dist/serialization/resources/inbox/client/index.js +17 -0
- package/dist/serialization/resources/inbox/client/requests/InboxItemApplyTagsRequest.d.ts +10 -0
- package/dist/serialization/resources/{auth/types/SessionTokenRequest.js → inbox/client/requests/InboxItemApplyTagsRequest.js} +5 -4
- package/dist/serialization/resources/inbox/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/inbox/client/requests/index.js +5 -0
- package/dist/serialization/resources/inbox/index.d.ts +1 -0
- package/dist/serialization/resources/inbox/index.js +1 -0
- package/dist/serialization/resources/inbox/types/InboxFilter.d.ts +1 -0
- package/dist/serialization/resources/inbox/types/InboxFilter.js +1 -0
- package/dist/serialization/resources/index.d.ts +6 -5
- package/dist/serialization/resources/index.js +7 -6
- package/dist/serialization/resources/segments/types/SegmentFilter.d.ts +12 -0
- package/dist/serialization/resources/segments/types/SegmentFilter.js +44 -0
- package/dist/serialization/resources/segments/types/SegmentRequest.d.ts +2 -0
- package/dist/serialization/resources/segments/types/SegmentRequest.js +2 -0
- package/dist/serialization/resources/segments/types/SegmentResponse.d.ts +1 -0
- package/dist/serialization/resources/segments/types/SegmentResponse.js +1 -0
- package/dist/serialization/resources/segments/types/SegmentsSearchRequest.d.ts +2 -0
- package/dist/serialization/resources/segments/types/SegmentsSearchRequest.js +2 -0
- package/dist/serialization/resources/segments/types/index.d.ts +1 -0
- package/dist/serialization/resources/segments/types/index.js +1 -0
- package/dist/serialization/resources/voice/types/VoiceSessionTokenRequest.d.ts +12 -0
- package/dist/serialization/resources/voice/types/VoiceSessionTokenRequest.js +44 -0
- package/dist/serialization/resources/voice/types/VoiceSessionTokenResponse.d.ts +13 -0
- package/dist/serialization/resources/voice/types/VoiceSessionTokenResponse.js +45 -0
- package/dist/serialization/resources/voice/types/VoiceTokenType.d.ts +7 -0
- package/dist/serialization/resources/voice/types/VoiceTokenType.js +39 -0
- package/dist/serialization/resources/voice/types/index.d.ts +3 -0
- package/dist/serialization/resources/voice/types/index.js +19 -0
- package/{serialization/resources/websockets/client/socket/WebsocketsSocketResponse.d.ts → dist/serialization/resources/voiceConversations/client/socket/VoiceConversationsSocketResponse.d.ts} +2 -2
- package/dist/serialization/resources/{websockets/client/socket/WebsocketsSocketResponse.js → voiceConversations/client/socket/VoiceConversationsSocketResponse.js} +2 -2
- package/dist/serialization/resources/voiceConversations/client/socket/index.d.ts +1 -0
- package/dist/serialization/resources/voiceConversations/client/socket/index.js +5 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +146 -163
- package/serialization/resources/commons/types/InboxItemBase.d.ts +1 -0
- package/serialization/resources/commons/types/InboxItemBase.js +1 -0
- package/serialization/resources/conversation/types/index.d.ts +0 -2
- package/serialization/resources/conversation/types/index.js +0 -2
- package/serialization/resources/inbox/client/index.d.ts +1 -0
- package/serialization/resources/inbox/client/index.js +17 -0
- package/serialization/resources/inbox/client/requests/InboxItemApplyTagsRequest.d.ts +10 -0
- package/{dist/serialization/resources/auth/types/SessionTokenResponse.js → serialization/resources/inbox/client/requests/InboxItemApplyTagsRequest.js} +5 -5
- package/serialization/resources/inbox/client/requests/index.d.ts +1 -0
- package/serialization/resources/inbox/client/requests/index.js +5 -0
- package/serialization/resources/inbox/index.d.ts +1 -0
- package/serialization/resources/inbox/index.js +1 -0
- package/serialization/resources/inbox/types/InboxFilter.d.ts +1 -0
- package/serialization/resources/inbox/types/InboxFilter.js +1 -0
- package/serialization/resources/index.d.ts +6 -5
- package/serialization/resources/index.js +7 -6
- package/serialization/resources/segments/types/SegmentFilter.d.ts +12 -0
- package/serialization/resources/segments/types/SegmentFilter.js +44 -0
- package/serialization/resources/segments/types/SegmentRequest.d.ts +2 -0
- package/serialization/resources/segments/types/SegmentRequest.js +2 -0
- package/serialization/resources/segments/types/SegmentResponse.d.ts +1 -0
- package/serialization/resources/segments/types/SegmentResponse.js +1 -0
- package/serialization/resources/segments/types/SegmentsSearchRequest.d.ts +2 -0
- package/serialization/resources/segments/types/SegmentsSearchRequest.js +2 -0
- package/serialization/resources/segments/types/index.d.ts +1 -0
- package/serialization/resources/segments/types/index.js +1 -0
- package/serialization/resources/voice/types/VoiceSessionTokenRequest.d.ts +12 -0
- package/serialization/resources/voice/types/VoiceSessionTokenRequest.js +44 -0
- package/serialization/resources/voice/types/VoiceSessionTokenResponse.d.ts +13 -0
- package/serialization/resources/voice/types/VoiceSessionTokenResponse.js +45 -0
- package/serialization/resources/voice/types/VoiceTokenType.d.ts +7 -0
- package/serialization/resources/voice/types/VoiceTokenType.js +39 -0
- package/serialization/resources/voice/types/index.d.ts +3 -0
- package/serialization/resources/voice/types/index.js +19 -0
- package/{dist/serialization/resources/websockets/client/socket/WebsocketsSocketResponse.d.ts → serialization/resources/voiceConversations/client/socket/VoiceConversationsSocketResponse.d.ts} +2 -2
- package/serialization/resources/{websockets/client/socket/WebsocketsSocketResponse.js → voiceConversations/client/socket/VoiceConversationsSocketResponse.js} +2 -2
- package/serialization/resources/voiceConversations/client/socket/index.d.ts +1 -0
- package/serialization/resources/voiceConversations/client/socket/index.js +5 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/auth/client/Client.d.ts +0 -33
- package/api/resources/auth/types/SessionTokenRequest.d.ts +0 -3
- package/api/resources/auth/types/SessionTokenResponse.d.ts +0 -6
- package/api/resources/auth/types/index.d.ts +0 -2
- package/api/resources/conversation/types/AskObjectRequest.d.ts +0 -5
- package/api/resources/conversation/types/ObjectStreamResponse.d.ts +0 -13
- package/dist/api/resources/auth/client/Client.d.ts +0 -33
- package/dist/api/resources/auth/types/SessionTokenRequest.d.ts +0 -3
- package/dist/api/resources/auth/types/SessionTokenResponse.d.ts +0 -6
- package/dist/api/resources/auth/types/index.d.ts +0 -2
- package/dist/api/resources/auth/types/index.js +0 -18
- package/dist/api/resources/conversation/types/AskObjectRequest.d.ts +0 -5
- package/dist/api/resources/conversation/types/ObjectStreamResponse.d.ts +0 -13
- package/dist/serialization/resources/auth/types/SessionTokenRequest.d.ts +0 -9
- package/dist/serialization/resources/auth/types/SessionTokenResponse.d.ts +0 -10
- package/dist/serialization/resources/auth/types/index.d.ts +0 -2
- package/dist/serialization/resources/auth/types/index.js +0 -18
- package/dist/serialization/resources/conversation/types/AskObjectRequest.d.ts +0 -10
- package/dist/serialization/resources/conversation/types/AskObjectRequest.js +0 -44
- package/dist/serialization/resources/conversation/types/ObjectStreamResponse.d.ts +0 -19
- package/dist/serialization/resources/conversation/types/ObjectStreamResponse.js +0 -51
- package/dist/serialization/resources/websockets/client/socket/index.d.ts +0 -1
- package/dist/serialization/resources/websockets/client/socket/index.js +0 -5
- package/serialization/resources/auth/types/SessionTokenRequest.d.ts +0 -9
- package/serialization/resources/auth/types/SessionTokenRequest.js +0 -41
- package/serialization/resources/auth/types/SessionTokenResponse.d.ts +0 -10
- package/serialization/resources/auth/types/SessionTokenResponse.js +0 -42
- package/serialization/resources/auth/types/index.d.ts +0 -2
- package/serialization/resources/auth/types/index.js +0 -18
- package/serialization/resources/conversation/types/AskObjectRequest.d.ts +0 -10
- package/serialization/resources/conversation/types/AskObjectRequest.js +0 -44
- package/serialization/resources/conversation/types/ObjectStreamResponse.d.ts +0 -19
- package/serialization/resources/conversation/types/ObjectStreamResponse.js +0 -51
- package/serialization/resources/websockets/client/socket/index.d.ts +0 -1
- package/serialization/resources/websockets/client/socket/index.js +0 -5
- /package/api/resources/{auth/types/SessionTokenRequest.js → inbox/client/requests/InboxItemApplyTagsRequest.js} +0 -0
- /package/api/resources/{auth/types/SessionTokenResponse.js → segments/types/SegmentFilter.js} +0 -0
- /package/api/resources/{auth → voice}/client/index.d.ts +0 -0
- /package/api/resources/{auth → voice}/client/index.js +0 -0
- /package/api/resources/{auth → voice}/index.d.ts +0 -0
- /package/api/resources/{auth → voice}/index.js +0 -0
- /package/api/resources/{conversation/types/AskObjectRequest.js → voice/types/VoiceSessionTokenRequest.js} +0 -0
- /package/api/resources/{conversation/types/ObjectStreamResponse.js → voice/types/VoiceSessionTokenResponse.js} +0 -0
- /package/api/resources/{websockets → voiceConversations}/client/index.d.ts +0 -0
- /package/api/resources/{websockets → voiceConversations}/client/index.js +0 -0
- /package/api/resources/{websockets → voiceConversations}/index.d.ts +0 -0
- /package/api/resources/{websockets → voiceConversations}/index.js +0 -0
- /package/api/resources/{websockets → voiceConversations}/types/AgentAudioChunk.js +0 -0
- /package/api/resources/{websockets → voiceConversations}/types/AgentTranscript.d.ts +0 -0
- /package/api/resources/{websockets → voiceConversations}/types/AgentTranscript.js +0 -0
- /package/api/resources/{websockets → voiceConversations}/types/AudioFormat.d.ts +0 -0
- /package/api/resources/{websockets → voiceConversations}/types/AudioFormat.js +0 -0
- /package/api/resources/{websockets → voiceConversations}/types/Config.js +0 -0
- /package/api/resources/{websockets → voiceConversations}/types/ConversationEnded.d.ts +0 -0
- /package/api/resources/{websockets → voiceConversations}/types/ConversationEnded.js +0 -0
- /package/api/resources/{websockets → voiceConversations}/types/ConversationReady.d.ts +0 -0
- /package/api/resources/{websockets → voiceConversations}/types/ConversationReady.js +0 -0
- /package/api/resources/{websockets → voiceConversations}/types/Error_.d.ts +0 -0
- /package/api/resources/{websockets → voiceConversations}/types/Error_.js +0 -0
- /package/api/resources/{websockets → voiceConversations}/types/ServerEventBase.d.ts +0 -0
- /package/api/resources/{websockets → voiceConversations}/types/ServerEventBase.js +0 -0
- /package/api/resources/{websockets → voiceConversations}/types/UserAudioChunk.js +0 -0
- /package/api/resources/{websockets → voiceConversations}/types/UserFinishedSpeaking.d.ts +0 -0
- /package/api/resources/{websockets → voiceConversations}/types/UserFinishedSpeaking.js +0 -0
- /package/api/resources/{websockets → voiceConversations}/types/UserStartedSpeaking.d.ts +0 -0
- /package/api/resources/{websockets → voiceConversations}/types/UserStartedSpeaking.js +0 -0
- /package/api/resources/{websockets → voiceConversations}/types/UserTranscript.d.ts +0 -0
- /package/api/resources/{websockets → voiceConversations}/types/UserTranscript.js +0 -0
- /package/api/resources/{websockets → voiceConversations}/types/index.d.ts +0 -0
- /package/api/resources/{websockets → voiceConversations}/types/index.js +0 -0
- /package/dist/api/resources/{auth/types/SessionTokenRequest.js → inbox/client/requests/InboxItemApplyTagsRequest.js} +0 -0
- /package/dist/api/resources/{auth/types/SessionTokenResponse.js → segments/types/SegmentFilter.js} +0 -0
- /package/dist/api/resources/{auth → voice}/client/index.d.ts +0 -0
- /package/dist/api/resources/{auth → voice}/client/index.js +0 -0
- /package/dist/api/resources/{auth → voice}/index.d.ts +0 -0
- /package/dist/api/resources/{auth → voice}/index.js +0 -0
- /package/dist/api/resources/{conversation/types/AskObjectRequest.js → voice/types/VoiceSessionTokenRequest.js} +0 -0
- /package/dist/api/resources/{conversation/types/ObjectStreamResponse.js → voice/types/VoiceSessionTokenResponse.js} +0 -0
- /package/dist/api/resources/{websockets → voiceConversations}/client/index.d.ts +0 -0
- /package/dist/api/resources/{websockets → voiceConversations}/client/index.js +0 -0
- /package/dist/api/resources/{websockets → voiceConversations}/index.d.ts +0 -0
- /package/dist/api/resources/{websockets → voiceConversations}/index.js +0 -0
- /package/dist/api/resources/{websockets → voiceConversations}/types/AgentAudioChunk.js +0 -0
- /package/dist/api/resources/{websockets → voiceConversations}/types/AgentTranscript.d.ts +0 -0
- /package/dist/api/resources/{websockets → voiceConversations}/types/AgentTranscript.js +0 -0
- /package/dist/api/resources/{websockets → voiceConversations}/types/AudioFormat.d.ts +0 -0
- /package/dist/api/resources/{websockets → voiceConversations}/types/AudioFormat.js +0 -0
- /package/dist/api/resources/{websockets → voiceConversations}/types/Config.js +0 -0
- /package/dist/api/resources/{websockets → voiceConversations}/types/ConversationEnded.d.ts +0 -0
- /package/dist/api/resources/{websockets → voiceConversations}/types/ConversationEnded.js +0 -0
- /package/dist/api/resources/{websockets → voiceConversations}/types/ConversationReady.d.ts +0 -0
- /package/dist/api/resources/{websockets → voiceConversations}/types/ConversationReady.js +0 -0
- /package/dist/api/resources/{websockets → voiceConversations}/types/Error_.d.ts +0 -0
- /package/dist/api/resources/{websockets → voiceConversations}/types/Error_.js +0 -0
- /package/dist/api/resources/{websockets → voiceConversations}/types/ServerEventBase.d.ts +0 -0
- /package/dist/api/resources/{websockets → voiceConversations}/types/ServerEventBase.js +0 -0
- /package/dist/api/resources/{websockets → voiceConversations}/types/UserAudioChunk.js +0 -0
- /package/dist/api/resources/{websockets → voiceConversations}/types/UserFinishedSpeaking.d.ts +0 -0
- /package/dist/api/resources/{websockets → voiceConversations}/types/UserFinishedSpeaking.js +0 -0
- /package/dist/api/resources/{websockets → voiceConversations}/types/UserStartedSpeaking.d.ts +0 -0
- /package/dist/api/resources/{websockets → voiceConversations}/types/UserStartedSpeaking.js +0 -0
- /package/dist/api/resources/{websockets → voiceConversations}/types/UserTranscript.d.ts +0 -0
- /package/dist/api/resources/{websockets → voiceConversations}/types/UserTranscript.js +0 -0
- /package/dist/api/resources/{websockets → voiceConversations}/types/index.d.ts +0 -0
- /package/dist/api/resources/{websockets → voiceConversations}/types/index.js +0 -0
- /package/dist/serialization/resources/{auth → voice}/index.d.ts +0 -0
- /package/dist/serialization/resources/{auth → voice}/index.js +0 -0
- /package/dist/serialization/resources/{websockets → voiceConversations}/client/index.d.ts +0 -0
- /package/dist/serialization/resources/{websockets → voiceConversations}/client/index.js +0 -0
- /package/dist/serialization/resources/{websockets → voiceConversations}/index.d.ts +0 -0
- /package/dist/serialization/resources/{websockets → voiceConversations}/index.js +0 -0
- /package/dist/serialization/resources/{websockets → voiceConversations}/types/AgentAudioChunk.d.ts +0 -0
- /package/dist/serialization/resources/{websockets → voiceConversations}/types/AgentAudioChunk.js +0 -0
- /package/dist/serialization/resources/{websockets → voiceConversations}/types/AgentTranscript.d.ts +0 -0
- /package/dist/serialization/resources/{websockets → voiceConversations}/types/AgentTranscript.js +0 -0
- /package/dist/serialization/resources/{websockets → voiceConversations}/types/AudioFormat.d.ts +0 -0
- /package/dist/serialization/resources/{websockets → voiceConversations}/types/AudioFormat.js +0 -0
- /package/dist/serialization/resources/{websockets → voiceConversations}/types/Config.d.ts +0 -0
- /package/dist/serialization/resources/{websockets → voiceConversations}/types/Config.js +0 -0
- /package/dist/serialization/resources/{websockets → voiceConversations}/types/ConversationEnded.d.ts +0 -0
- /package/dist/serialization/resources/{websockets → voiceConversations}/types/ConversationEnded.js +0 -0
- /package/dist/serialization/resources/{websockets → voiceConversations}/types/ConversationReady.d.ts +0 -0
- /package/dist/serialization/resources/{websockets → voiceConversations}/types/ConversationReady.js +0 -0
- /package/dist/serialization/resources/{websockets → voiceConversations}/types/Error_.d.ts +0 -0
- /package/dist/serialization/resources/{websockets → voiceConversations}/types/Error_.js +0 -0
- /package/dist/serialization/resources/{websockets → voiceConversations}/types/ServerEventBase.d.ts +0 -0
- /package/dist/serialization/resources/{websockets → voiceConversations}/types/ServerEventBase.js +0 -0
- /package/dist/serialization/resources/{websockets → voiceConversations}/types/UserAudioChunk.d.ts +0 -0
- /package/dist/serialization/resources/{websockets → voiceConversations}/types/UserAudioChunk.js +0 -0
- /package/dist/serialization/resources/{websockets → voiceConversations}/types/UserFinishedSpeaking.d.ts +0 -0
- /package/dist/serialization/resources/{websockets → voiceConversations}/types/UserFinishedSpeaking.js +0 -0
- /package/dist/serialization/resources/{websockets → voiceConversations}/types/UserStartedSpeaking.d.ts +0 -0
- /package/dist/serialization/resources/{websockets → voiceConversations}/types/UserStartedSpeaking.js +0 -0
- /package/dist/serialization/resources/{websockets → voiceConversations}/types/UserTranscript.d.ts +0 -0
- /package/dist/serialization/resources/{websockets → voiceConversations}/types/UserTranscript.js +0 -0
- /package/dist/serialization/resources/{websockets → voiceConversations}/types/index.d.ts +0 -0
- /package/dist/serialization/resources/{websockets → voiceConversations}/types/index.js +0 -0
- /package/serialization/resources/{auth → voice}/index.d.ts +0 -0
- /package/serialization/resources/{auth → voice}/index.js +0 -0
- /package/serialization/resources/{websockets → voiceConversations}/client/index.d.ts +0 -0
- /package/serialization/resources/{websockets → voiceConversations}/client/index.js +0 -0
- /package/serialization/resources/{websockets → voiceConversations}/index.d.ts +0 -0
- /package/serialization/resources/{websockets → voiceConversations}/index.js +0 -0
- /package/serialization/resources/{websockets → voiceConversations}/types/AgentAudioChunk.d.ts +0 -0
- /package/serialization/resources/{websockets → voiceConversations}/types/AgentAudioChunk.js +0 -0
- /package/serialization/resources/{websockets → voiceConversations}/types/AgentTranscript.d.ts +0 -0
- /package/serialization/resources/{websockets → voiceConversations}/types/AgentTranscript.js +0 -0
- /package/serialization/resources/{websockets → voiceConversations}/types/AudioFormat.d.ts +0 -0
- /package/serialization/resources/{websockets → voiceConversations}/types/AudioFormat.js +0 -0
- /package/serialization/resources/{websockets → voiceConversations}/types/Config.d.ts +0 -0
- /package/serialization/resources/{websockets → voiceConversations}/types/Config.js +0 -0
- /package/serialization/resources/{websockets → voiceConversations}/types/ConversationEnded.d.ts +0 -0
- /package/serialization/resources/{websockets → voiceConversations}/types/ConversationEnded.js +0 -0
- /package/serialization/resources/{websockets → voiceConversations}/types/ConversationReady.d.ts +0 -0
- /package/serialization/resources/{websockets → voiceConversations}/types/ConversationReady.js +0 -0
- /package/serialization/resources/{websockets → voiceConversations}/types/Error_.d.ts +0 -0
- /package/serialization/resources/{websockets → voiceConversations}/types/Error_.js +0 -0
- /package/serialization/resources/{websockets → voiceConversations}/types/ServerEventBase.d.ts +0 -0
- /package/serialization/resources/{websockets → voiceConversations}/types/ServerEventBase.js +0 -0
- /package/serialization/resources/{websockets → voiceConversations}/types/UserAudioChunk.d.ts +0 -0
- /package/serialization/resources/{websockets → voiceConversations}/types/UserAudioChunk.js +0 -0
- /package/serialization/resources/{websockets → voiceConversations}/types/UserFinishedSpeaking.d.ts +0 -0
- /package/serialization/resources/{websockets → voiceConversations}/types/UserFinishedSpeaking.js +0 -0
- /package/serialization/resources/{websockets → voiceConversations}/types/UserStartedSpeaking.d.ts +0 -0
- /package/serialization/resources/{websockets → voiceConversations}/types/UserStartedSpeaking.js +0 -0
- /package/serialization/resources/{websockets → voiceConversations}/types/UserTranscript.d.ts +0 -0
- /package/serialization/resources/{websockets → voiceConversations}/types/UserTranscript.js +0 -0
- /package/serialization/resources/{websockets → voiceConversations}/types/index.d.ts +0 -0
- /package/serialization/resources/{websockets → voiceConversations}/types/index.js +0 -0
|
@@ -10,8 +10,6 @@ export * as appSettings from "./appSettings";
|
|
|
10
10
|
export * from "./appSettings/types";
|
|
11
11
|
export * as assets from "./assets";
|
|
12
12
|
export * from "./assets/types";
|
|
13
|
-
export * as auth from "./auth";
|
|
14
|
-
export * from "./auth/types";
|
|
15
13
|
export * as commons from "./commons";
|
|
16
14
|
export * from "./commons/types";
|
|
17
15
|
export * as conversation from "./conversation";
|
|
@@ -21,6 +19,7 @@ export * from "./customers/types";
|
|
|
21
19
|
export * as developersCommons from "./developersCommons";
|
|
22
20
|
export * from "./developersCommons/types";
|
|
23
21
|
export * as inbox from "./inbox";
|
|
22
|
+
export * from "./inbox/client/requests";
|
|
24
23
|
export * from "./inbox/types";
|
|
25
24
|
export * as integrations from "./integrations";
|
|
26
25
|
export * from "./integrations/types";
|
|
@@ -37,6 +36,8 @@ export * as triggers from "./triggers";
|
|
|
37
36
|
export * from "./triggers/types";
|
|
38
37
|
export * as users from "./users";
|
|
39
38
|
export * from "./users/types";
|
|
40
|
-
export * as
|
|
41
|
-
export * from "./
|
|
42
|
-
export * from "./
|
|
39
|
+
export * as voice from "./voice";
|
|
40
|
+
export * from "./voice/types";
|
|
41
|
+
export * as voiceConversations from "./voiceConversations";
|
|
42
|
+
export * from "./voiceConversations/client/socket";
|
|
43
|
+
export * from "./voiceConversations/types";
|
|
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.voiceConversations = exports.voice = exports.users = exports.triggers = exports.translations = exports.segments = exports.organizations = exports.knowledge = exports.integrations = exports.inbox = exports.developersCommons = exports.customers = exports.conversation = exports.commons = exports.assets = exports.appSettings = exports.analytics = exports.agents = exports.actions = void 0;
|
|
40
40
|
exports.actions = __importStar(require("./actions"));
|
|
41
41
|
__exportStar(require("./actions/client/requests"), exports);
|
|
42
42
|
__exportStar(require("./actions/types"), exports);
|
|
@@ -49,8 +49,6 @@ exports.appSettings = __importStar(require("./appSettings"));
|
|
|
49
49
|
__exportStar(require("./appSettings/types"), exports);
|
|
50
50
|
exports.assets = __importStar(require("./assets"));
|
|
51
51
|
__exportStar(require("./assets/types"), exports);
|
|
52
|
-
exports.auth = __importStar(require("./auth"));
|
|
53
|
-
__exportStar(require("./auth/types"), exports);
|
|
54
52
|
exports.commons = __importStar(require("./commons"));
|
|
55
53
|
__exportStar(require("./commons/types"), exports);
|
|
56
54
|
exports.conversation = __importStar(require("./conversation"));
|
|
@@ -60,6 +58,7 @@ __exportStar(require("./customers/types"), exports);
|
|
|
60
58
|
exports.developersCommons = __importStar(require("./developersCommons"));
|
|
61
59
|
__exportStar(require("./developersCommons/types"), exports);
|
|
62
60
|
exports.inbox = __importStar(require("./inbox"));
|
|
61
|
+
__exportStar(require("./inbox/client/requests"), exports);
|
|
63
62
|
__exportStar(require("./inbox/types"), exports);
|
|
64
63
|
exports.integrations = __importStar(require("./integrations"));
|
|
65
64
|
__exportStar(require("./integrations/types"), exports);
|
|
@@ -76,6 +75,8 @@ exports.triggers = __importStar(require("./triggers"));
|
|
|
76
75
|
__exportStar(require("./triggers/types"), exports);
|
|
77
76
|
exports.users = __importStar(require("./users"));
|
|
78
77
|
__exportStar(require("./users/types"), exports);
|
|
79
|
-
exports.
|
|
80
|
-
__exportStar(require("./
|
|
81
|
-
|
|
78
|
+
exports.voice = __importStar(require("./voice"));
|
|
79
|
+
__exportStar(require("./voice/types"), exports);
|
|
80
|
+
exports.voiceConversations = __importStar(require("./voiceConversations"));
|
|
81
|
+
__exportStar(require("./voiceConversations/client/socket"), exports);
|
|
82
|
+
__exportStar(require("./voiceConversations/types"), exports);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { SegmentStatus } from "./SegmentStatus";
|
|
5
|
+
export declare const SegmentFilter: core.serialization.ObjectSchema<serializers.SegmentFilter.Raw, MavenAGI.SegmentFilter>;
|
|
6
|
+
export declare namespace SegmentFilter {
|
|
7
|
+
interface Raw {
|
|
8
|
+
name?: string | null;
|
|
9
|
+
description?: string | null;
|
|
10
|
+
statuses?: SegmentStatus.Raw[] | null;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.SegmentFilter = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const SegmentStatus_1 = require("./SegmentStatus");
|
|
40
|
+
exports.SegmentFilter = core.serialization.object({
|
|
41
|
+
name: core.serialization.string().optional(),
|
|
42
|
+
description: core.serialization.string().optional(),
|
|
43
|
+
statuses: core.serialization.list(SegmentStatus_1.SegmentStatus).optional(),
|
|
44
|
+
});
|
|
@@ -3,9 +3,11 @@ import * as core from "../../../../core";
|
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
4
|
import { EntityIdBase } from "../../commons/types/EntityIdBase";
|
|
5
5
|
import { SegmentBase } from "./SegmentBase";
|
|
6
|
+
import { SegmentStatus } from "./SegmentStatus";
|
|
6
7
|
export declare const SegmentRequest: core.serialization.ObjectSchema<serializers.SegmentRequest.Raw, MavenAGI.SegmentRequest>;
|
|
7
8
|
export declare namespace SegmentRequest {
|
|
8
9
|
interface Raw extends SegmentBase.Raw {
|
|
9
10
|
segmentId: EntityIdBase.Raw;
|
|
11
|
+
status?: SegmentStatus.Raw | null;
|
|
10
12
|
}
|
|
11
13
|
}
|
|
@@ -38,8 +38,10 @@ exports.SegmentRequest = void 0;
|
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
39
|
const EntityIdBase_1 = require("../../commons/types/EntityIdBase");
|
|
40
40
|
const SegmentBase_1 = require("./SegmentBase");
|
|
41
|
+
const SegmentStatus_1 = require("./SegmentStatus");
|
|
41
42
|
exports.SegmentRequest = core.serialization
|
|
42
43
|
.object({
|
|
43
44
|
segmentId: EntityIdBase_1.EntityIdBase,
|
|
45
|
+
status: SegmentStatus_1.SegmentStatus.optional(),
|
|
44
46
|
})
|
|
45
47
|
.extend(SegmentBase_1.SegmentBase);
|
|
@@ -46,6 +46,7 @@ exports.SegmentResponse = core.serialization
|
|
|
46
46
|
updatedAt: core.serialization.date(),
|
|
47
47
|
referencedKnowledgeBaseCount: core.serialization.number().optional(),
|
|
48
48
|
referencedDocumentCount: core.serialization.number().optional(),
|
|
49
|
+
referencedActionCount: core.serialization.number().optional(),
|
|
49
50
|
status: SegmentStatus_1.SegmentStatus,
|
|
50
51
|
})
|
|
51
52
|
.extend(SegmentBase_1.SegmentBase);
|
|
@@ -3,9 +3,11 @@ import * as core from "../../../../core";
|
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
4
|
import { BasePaginatedRequest } from "../../commons/types/BasePaginatedRequest";
|
|
5
5
|
import { SegmentField } from "./SegmentField";
|
|
6
|
+
import { SegmentFilter } from "./SegmentFilter";
|
|
6
7
|
export declare const SegmentsSearchRequest: core.serialization.ObjectSchema<serializers.SegmentsSearchRequest.Raw, MavenAGI.SegmentsSearchRequest>;
|
|
7
8
|
export declare namespace SegmentsSearchRequest {
|
|
8
9
|
interface Raw extends BasePaginatedRequest.Raw {
|
|
9
10
|
sort?: SegmentField.Raw | null;
|
|
11
|
+
filter?: SegmentFilter.Raw | null;
|
|
10
12
|
}
|
|
11
13
|
}
|
|
@@ -38,8 +38,10 @@ exports.SegmentsSearchRequest = void 0;
|
|
|
38
38
|
const core = __importStar(require("../../../../core"));
|
|
39
39
|
const BasePaginatedRequest_1 = require("../../commons/types/BasePaginatedRequest");
|
|
40
40
|
const SegmentField_1 = require("./SegmentField");
|
|
41
|
+
const SegmentFilter_1 = require("./SegmentFilter");
|
|
41
42
|
exports.SegmentsSearchRequest = core.serialization
|
|
42
43
|
.object({
|
|
43
44
|
sort: SegmentField_1.SegmentField.optional(),
|
|
45
|
+
filter: SegmentFilter_1.SegmentFilter.optional(),
|
|
44
46
|
})
|
|
45
47
|
.extend(BasePaginatedRequest_1.BasePaginatedRequest);
|
|
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./SegmentBase"), exports);
|
|
18
18
|
__exportStar(require("./SegmentField"), exports);
|
|
19
|
+
__exportStar(require("./SegmentFilter"), exports);
|
|
19
20
|
__exportStar(require("./SegmentPatchRequest"), exports);
|
|
20
21
|
__exportStar(require("./SegmentRequest"), exports);
|
|
21
22
|
__exportStar(require("./SegmentResponse"), exports);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { VoiceTokenType } from "./VoiceTokenType";
|
|
5
|
+
export declare const VoiceSessionTokenRequest: core.serialization.ObjectSchema<serializers.VoiceSessionTokenRequest.Raw, MavenAGI.VoiceSessionTokenRequest>;
|
|
6
|
+
export declare namespace VoiceSessionTokenRequest {
|
|
7
|
+
interface Raw {
|
|
8
|
+
appUserId: string;
|
|
9
|
+
type: VoiceTokenType.Raw;
|
|
10
|
+
customData?: Record<string, string> | null;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.VoiceSessionTokenRequest = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const VoiceTokenType_1 = require("./VoiceTokenType");
|
|
40
|
+
exports.VoiceSessionTokenRequest = core.serialization.object({
|
|
41
|
+
appUserId: core.serialization.string(),
|
|
42
|
+
type: VoiceTokenType_1.VoiceTokenType,
|
|
43
|
+
customData: core.serialization.record(core.serialization.string(), core.serialization.string()).optional(),
|
|
44
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { VoiceTokenType } from "./VoiceTokenType";
|
|
5
|
+
export declare const VoiceSessionTokenResponse: core.serialization.ObjectSchema<serializers.VoiceSessionTokenResponse.Raw, MavenAGI.VoiceSessionTokenResponse>;
|
|
6
|
+
export declare namespace VoiceSessionTokenResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
token: string;
|
|
9
|
+
identity: string;
|
|
10
|
+
type: VoiceTokenType.Raw;
|
|
11
|
+
expiresIn: number;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.VoiceSessionTokenResponse = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const VoiceTokenType_1 = require("./VoiceTokenType");
|
|
40
|
+
exports.VoiceSessionTokenResponse = core.serialization.object({
|
|
41
|
+
token: core.serialization.string(),
|
|
42
|
+
identity: core.serialization.string(),
|
|
43
|
+
type: VoiceTokenType_1.VoiceTokenType,
|
|
44
|
+
expiresIn: core.serialization.number(),
|
|
45
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
export declare const VoiceTokenType: core.serialization.Schema<serializers.VoiceTokenType.Raw, MavenAGI.VoiceTokenType>;
|
|
5
|
+
export declare namespace VoiceTokenType {
|
|
6
|
+
type Raw = "webrtc" | "websocket";
|
|
7
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.VoiceTokenType = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
exports.VoiceTokenType = core.serialization.enum_(["webrtc", "websocket"]);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./VoiceSessionTokenRequest"), exports);
|
|
18
|
+
__exportStar(require("./VoiceSessionTokenResponse"), exports);
|
|
19
|
+
__exportStar(require("./VoiceTokenType"), exports);
|
|
@@ -9,7 +9,7 @@ import { Error_ } from "../../types/Error_";
|
|
|
9
9
|
import { UserFinishedSpeaking } from "../../types/UserFinishedSpeaking";
|
|
10
10
|
import { UserStartedSpeaking } from "../../types/UserStartedSpeaking";
|
|
11
11
|
import { UserTranscript } from "../../types/UserTranscript";
|
|
12
|
-
export declare const
|
|
13
|
-
export declare namespace
|
|
12
|
+
export declare const VoiceConversationsSocketResponse: core.serialization.Schema<serializers.VoiceConversationsSocketResponse.Raw, MavenAGI.ConversationReady | MavenAGI.AgentAudioChunk | MavenAGI.UserTranscript | MavenAGI.AgentTranscript | MavenAGI.ConversationEnded | MavenAGI.UserStartedSpeaking | MavenAGI.UserFinishedSpeaking | MavenAGI.Error_>;
|
|
13
|
+
export declare namespace VoiceConversationsSocketResponse {
|
|
14
14
|
type Raw = ConversationReady.Raw | AgentAudioChunk.Raw | UserTranscript.Raw | AgentTranscript.Raw | ConversationEnded.Raw | UserStartedSpeaking.Raw | UserFinishedSpeaking.Raw | Error_.Raw;
|
|
15
15
|
}
|
|
@@ -34,7 +34,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
};
|
|
35
35
|
})();
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.
|
|
37
|
+
exports.VoiceConversationsSocketResponse = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../../core"));
|
|
39
39
|
const AgentAudioChunk_1 = require("../../types/AgentAudioChunk");
|
|
40
40
|
const AgentTranscript_1 = require("../../types/AgentTranscript");
|
|
@@ -44,7 +44,7 @@ const Error_1 = require("../../types/Error_");
|
|
|
44
44
|
const UserFinishedSpeaking_1 = require("../../types/UserFinishedSpeaking");
|
|
45
45
|
const UserStartedSpeaking_1 = require("../../types/UserStartedSpeaking");
|
|
46
46
|
const UserTranscript_1 = require("../../types/UserTranscript");
|
|
47
|
-
exports.
|
|
47
|
+
exports.VoiceConversationsSocketResponse = core.serialization.undiscriminatedUnion([
|
|
48
48
|
ConversationReady_1.ConversationReady,
|
|
49
49
|
AgentAudioChunk_1.AgentAudioChunk,
|
|
50
50
|
UserTranscript_1.UserTranscript,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { VoiceConversationsSocketResponse } from "./VoiceConversationsSocketResponse";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VoiceConversationsSocketResponse = void 0;
|
|
4
|
+
var VoiceConversationsSocketResponse_1 = require("./VoiceConversationsSocketResponse");
|
|
5
|
+
Object.defineProperty(exports, "VoiceConversationsSocketResponse", { enumerable: true, get: function () { return VoiceConversationsSocketResponse_1.VoiceConversationsSocketResponse; } });
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.2.
|
|
1
|
+
export declare const SDK_VERSION = "1.2.22";
|
package/version.js
CHANGED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient";
|
|
2
|
-
import * as core from "../../../../core";
|
|
3
|
-
import * as MavenAGI from "../../../index";
|
|
4
|
-
export declare namespace Auth {
|
|
5
|
-
interface Options extends BaseClientOptions {
|
|
6
|
-
}
|
|
7
|
-
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
export declare class Auth {
|
|
11
|
-
protected readonly _options: Auth.Options;
|
|
12
|
-
constructor(_options: Auth.Options);
|
|
13
|
-
/**
|
|
14
|
-
* Creates a short-lived session token that can be used to authenticate
|
|
15
|
-
* WebSocket connections. Session tokens are useful for client-side applications where
|
|
16
|
-
* you don’t want to expose your API key.
|
|
17
|
-
*
|
|
18
|
-
* @param {MavenAGI.SessionTokenRequest} request
|
|
19
|
-
* @param {Auth.RequestOptions} requestOptions - Request-specific configuration.
|
|
20
|
-
*
|
|
21
|
-
* @throws {@link MavenAGI.NotFoundError}
|
|
22
|
-
* @throws {@link MavenAGI.BadRequestError}
|
|
23
|
-
* @throws {@link MavenAGI.ServerError}
|
|
24
|
-
*
|
|
25
|
-
* @example
|
|
26
|
-
* await client.auth.sessionToken({
|
|
27
|
-
* ttlSeconds: 3600
|
|
28
|
-
* })
|
|
29
|
-
*/
|
|
30
|
-
sessionToken(request: MavenAGI.SessionTokenRequest, requestOptions?: Auth.RequestOptions): core.HttpResponsePromise<MavenAGI.SessionTokenResponse>;
|
|
31
|
-
private __sessionToken;
|
|
32
|
-
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
33
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type * as MavenAGI from "../../../index";
|
|
2
|
-
export type ObjectStreamResponse = MavenAGI.ObjectStreamResponse.Text | MavenAGI.ObjectStreamResponse.Start | MavenAGI.ObjectStreamResponse.End;
|
|
3
|
-
export declare namespace ObjectStreamResponse {
|
|
4
|
-
interface Text extends MavenAGI.AskStreamTextEvent {
|
|
5
|
-
eventType: "text";
|
|
6
|
-
}
|
|
7
|
-
interface Start extends MavenAGI.AskStreamStartEvent {
|
|
8
|
-
eventType: "start";
|
|
9
|
-
}
|
|
10
|
-
interface End extends MavenAGI.AskStreamEndEvent {
|
|
11
|
-
eventType: "end";
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient";
|
|
2
|
-
import * as core from "../../../../core";
|
|
3
|
-
import * as MavenAGI from "../../../index";
|
|
4
|
-
export declare namespace Auth {
|
|
5
|
-
interface Options extends BaseClientOptions {
|
|
6
|
-
}
|
|
7
|
-
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
export declare class Auth {
|
|
11
|
-
protected readonly _options: Auth.Options;
|
|
12
|
-
constructor(_options: Auth.Options);
|
|
13
|
-
/**
|
|
14
|
-
* Creates a short-lived session token that can be used to authenticate
|
|
15
|
-
* WebSocket connections. Session tokens are useful for client-side applications where
|
|
16
|
-
* you don’t want to expose your API key.
|
|
17
|
-
*
|
|
18
|
-
* @param {MavenAGI.SessionTokenRequest} request
|
|
19
|
-
* @param {Auth.RequestOptions} requestOptions - Request-specific configuration.
|
|
20
|
-
*
|
|
21
|
-
* @throws {@link MavenAGI.NotFoundError}
|
|
22
|
-
* @throws {@link MavenAGI.BadRequestError}
|
|
23
|
-
* @throws {@link MavenAGI.ServerError}
|
|
24
|
-
*
|
|
25
|
-
* @example
|
|
26
|
-
* await client.auth.sessionToken({
|
|
27
|
-
* ttlSeconds: 3600
|
|
28
|
-
* })
|
|
29
|
-
*/
|
|
30
|
-
sessionToken(request: MavenAGI.SessionTokenRequest, requestOptions?: Auth.RequestOptions): core.HttpResponsePromise<MavenAGI.SessionTokenResponse>;
|
|
31
|
-
private __sessionToken;
|
|
32
|
-
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
33
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./SessionTokenRequest"), exports);
|
|
18
|
-
__exportStar(require("./SessionTokenResponse"), exports);
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type * as MavenAGI from "../../../index";
|
|
2
|
-
export type ObjectStreamResponse = MavenAGI.ObjectStreamResponse.Text | MavenAGI.ObjectStreamResponse.Start | MavenAGI.ObjectStreamResponse.End;
|
|
3
|
-
export declare namespace ObjectStreamResponse {
|
|
4
|
-
interface Text extends MavenAGI.AskStreamTextEvent {
|
|
5
|
-
eventType: "text";
|
|
6
|
-
}
|
|
7
|
-
interface Start extends MavenAGI.AskStreamStartEvent {
|
|
8
|
-
eventType: "start";
|
|
9
|
-
}
|
|
10
|
-
interface End extends MavenAGI.AskStreamEndEvent {
|
|
11
|
-
eventType: "end";
|
|
12
|
-
}
|
|
13
|
-
}
|