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
|
@@ -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/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.2.
|
|
1
|
+
export declare const SDK_VERSION = "1.2.22";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -1676,74 +1676,6 @@ await client.assets.commitUpload("assetReferenceId", {});
|
|
|
1676
1676
|
</dl>
|
|
1677
1677
|
|
|
1678
1678
|
|
|
1679
|
-
</dd>
|
|
1680
|
-
</dl>
|
|
1681
|
-
</details>
|
|
1682
|
-
|
|
1683
|
-
## Auth
|
|
1684
|
-
<details><summary><code>client.auth.<a href="/src/api/resources/auth/client/Client.ts">sessionToken</a>({ ...params }) -> MavenAGI.SessionTokenResponse</code></summary>
|
|
1685
|
-
<dl>
|
|
1686
|
-
<dd>
|
|
1687
|
-
|
|
1688
|
-
#### 📝 Description
|
|
1689
|
-
|
|
1690
|
-
<dl>
|
|
1691
|
-
<dd>
|
|
1692
|
-
|
|
1693
|
-
<dl>
|
|
1694
|
-
<dd>
|
|
1695
|
-
|
|
1696
|
-
Creates a short-lived session token that can be used to authenticate
|
|
1697
|
-
WebSocket connections. Session tokens are useful for client-side applications where
|
|
1698
|
-
you don’t want to expose your API key.
|
|
1699
|
-
</dd>
|
|
1700
|
-
</dl>
|
|
1701
|
-
</dd>
|
|
1702
|
-
</dl>
|
|
1703
|
-
|
|
1704
|
-
#### 🔌 Usage
|
|
1705
|
-
|
|
1706
|
-
<dl>
|
|
1707
|
-
<dd>
|
|
1708
|
-
|
|
1709
|
-
<dl>
|
|
1710
|
-
<dd>
|
|
1711
|
-
|
|
1712
|
-
```typescript
|
|
1713
|
-
await client.auth.sessionToken({
|
|
1714
|
-
ttlSeconds: 3600
|
|
1715
|
-
});
|
|
1716
|
-
|
|
1717
|
-
```
|
|
1718
|
-
</dd>
|
|
1719
|
-
</dl>
|
|
1720
|
-
</dd>
|
|
1721
|
-
</dl>
|
|
1722
|
-
|
|
1723
|
-
#### ⚙️ Parameters
|
|
1724
|
-
|
|
1725
|
-
<dl>
|
|
1726
|
-
<dd>
|
|
1727
|
-
|
|
1728
|
-
<dl>
|
|
1729
|
-
<dd>
|
|
1730
|
-
|
|
1731
|
-
**request:** `MavenAGI.SessionTokenRequest`
|
|
1732
|
-
|
|
1733
|
-
</dd>
|
|
1734
|
-
</dl>
|
|
1735
|
-
|
|
1736
|
-
<dl>
|
|
1737
|
-
<dd>
|
|
1738
|
-
|
|
1739
|
-
**requestOptions:** `Auth.RequestOptions`
|
|
1740
|
-
|
|
1741
|
-
</dd>
|
|
1742
|
-
</dl>
|
|
1743
|
-
</dd>
|
|
1744
|
-
</dl>
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
1679
|
</dd>
|
|
1748
1680
|
</dl>
|
|
1749
1681
|
</details>
|
|
@@ -2355,101 +2287,6 @@ for await (const item of response) {
|
|
|
2355
2287
|
</dl>
|
|
2356
2288
|
|
|
2357
2289
|
|
|
2358
|
-
</dd>
|
|
2359
|
-
</dl>
|
|
2360
|
-
</details>
|
|
2361
|
-
|
|
2362
|
-
<details><summary><code>client.conversation.<a href="/src/api/resources/conversation/client/Client.ts">askObjectStream</a>(conversationId, { ...params }) -> core.Stream<MavenAGI.ObjectStreamResponse></code></summary>
|
|
2363
|
-
<dl>
|
|
2364
|
-
<dd>
|
|
2365
|
-
|
|
2366
|
-
#### 📝 Description
|
|
2367
|
-
|
|
2368
|
-
<dl>
|
|
2369
|
-
<dd>
|
|
2370
|
-
|
|
2371
|
-
<dl>
|
|
2372
|
-
<dd>
|
|
2373
|
-
|
|
2374
|
-
Generate a structured object response based on a provided schema and user prompt with a streaming response.
|
|
2375
|
-
The response will be sent as a stream of events containing text, start, and end events.
|
|
2376
|
-
The text portions of stream responses should be concatenated to form the full response text.
|
|
2377
|
-
|
|
2378
|
-
If the user question and object response already exist, they will be reused and not updated.
|
|
2379
|
-
|
|
2380
|
-
Concurrency Behavior:
|
|
2381
|
-
- If another API call is made for the same user question while a response is mid-stream, partial answers may be returned.
|
|
2382
|
-
- The second caller will receive a truncated or partial response depending on where the first stream is in its processing. The first caller's stream will remain unaffected and continue delivering the full response.
|
|
2383
|
-
|
|
2384
|
-
Known Limitations:
|
|
2385
|
-
- Schema enforcement is best-effort and may not guarantee exact conformity.
|
|
2386
|
-
- The API does not currently expose metadata indicating whether a response or message is incomplete. This will be addressed in a future update.
|
|
2387
|
-
</dd>
|
|
2388
|
-
</dl>
|
|
2389
|
-
</dd>
|
|
2390
|
-
</dl>
|
|
2391
|
-
|
|
2392
|
-
#### 🔌 Usage
|
|
2393
|
-
|
|
2394
|
-
<dl>
|
|
2395
|
-
<dd>
|
|
2396
|
-
|
|
2397
|
-
<dl>
|
|
2398
|
-
<dd>
|
|
2399
|
-
|
|
2400
|
-
```typescript
|
|
2401
|
-
const response = await client.conversation.askObjectStream("conversationId", {
|
|
2402
|
-
schema: "schema",
|
|
2403
|
-
conversationMessageId: {
|
|
2404
|
-
referenceId: "x"
|
|
2405
|
-
},
|
|
2406
|
-
userId: {
|
|
2407
|
-
referenceId: "x"
|
|
2408
|
-
},
|
|
2409
|
-
text: "text"
|
|
2410
|
-
});
|
|
2411
|
-
for await (const item of response) {
|
|
2412
|
-
console.log(item);
|
|
2413
|
-
}
|
|
2414
|
-
|
|
2415
|
-
```
|
|
2416
|
-
</dd>
|
|
2417
|
-
</dl>
|
|
2418
|
-
</dd>
|
|
2419
|
-
</dl>
|
|
2420
|
-
|
|
2421
|
-
#### ⚙️ Parameters
|
|
2422
|
-
|
|
2423
|
-
<dl>
|
|
2424
|
-
<dd>
|
|
2425
|
-
|
|
2426
|
-
<dl>
|
|
2427
|
-
<dd>
|
|
2428
|
-
|
|
2429
|
-
**conversationId:** `string` — The ID of a new or existing conversation to use as context for the object generation request
|
|
2430
|
-
|
|
2431
|
-
</dd>
|
|
2432
|
-
</dl>
|
|
2433
|
-
|
|
2434
|
-
<dl>
|
|
2435
|
-
<dd>
|
|
2436
|
-
|
|
2437
|
-
**request:** `MavenAGI.AskObjectRequest`
|
|
2438
|
-
|
|
2439
|
-
</dd>
|
|
2440
|
-
</dl>
|
|
2441
|
-
|
|
2442
|
-
<dl>
|
|
2443
|
-
<dd>
|
|
2444
|
-
|
|
2445
|
-
**requestOptions:** `Conversation.RequestOptions`
|
|
2446
|
-
|
|
2447
|
-
</dd>
|
|
2448
|
-
</dl>
|
|
2449
|
-
</dd>
|
|
2450
|
-
</dl>
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
2290
|
</dd>
|
|
2454
2291
|
</dl>
|
|
2455
2292
|
</details>
|
|
@@ -3649,6 +3486,79 @@ await client.inbox.search({});
|
|
|
3649
3486
|
</dl>
|
|
3650
3487
|
|
|
3651
3488
|
|
|
3489
|
+
</dd>
|
|
3490
|
+
</dl>
|
|
3491
|
+
</details>
|
|
3492
|
+
|
|
3493
|
+
<details><summary><code>client.inbox.<a href="/src/api/resources/inbox/client/Client.ts">applyTags</a>(inboxItemId, { ...params }) -> MavenAGI.InboxItem</code></summary>
|
|
3494
|
+
<dl>
|
|
3495
|
+
<dd>
|
|
3496
|
+
|
|
3497
|
+
#### 📝 Description
|
|
3498
|
+
|
|
3499
|
+
<dl>
|
|
3500
|
+
<dd>
|
|
3501
|
+
|
|
3502
|
+
<dl>
|
|
3503
|
+
<dd>
|
|
3504
|
+
|
|
3505
|
+
Update inbox item tag fields. All tags provided will overwrite the existing tags on the inbox item.
|
|
3506
|
+
</dd>
|
|
3507
|
+
</dl>
|
|
3508
|
+
</dd>
|
|
3509
|
+
</dl>
|
|
3510
|
+
|
|
3511
|
+
#### 🔌 Usage
|
|
3512
|
+
|
|
3513
|
+
<dl>
|
|
3514
|
+
<dd>
|
|
3515
|
+
|
|
3516
|
+
<dl>
|
|
3517
|
+
<dd>
|
|
3518
|
+
|
|
3519
|
+
```typescript
|
|
3520
|
+
await client.inbox.applyTags("custom-item-1", {
|
|
3521
|
+
tags: new Set(["tag1", "tag2"])
|
|
3522
|
+
});
|
|
3523
|
+
|
|
3524
|
+
```
|
|
3525
|
+
</dd>
|
|
3526
|
+
</dl>
|
|
3527
|
+
</dd>
|
|
3528
|
+
</dl>
|
|
3529
|
+
|
|
3530
|
+
#### ⚙️ Parameters
|
|
3531
|
+
|
|
3532
|
+
<dl>
|
|
3533
|
+
<dd>
|
|
3534
|
+
|
|
3535
|
+
<dl>
|
|
3536
|
+
<dd>
|
|
3537
|
+
|
|
3538
|
+
**inboxItemId:** `string` — The ID of the inbox item to add tags to.
|
|
3539
|
+
|
|
3540
|
+
</dd>
|
|
3541
|
+
</dl>
|
|
3542
|
+
|
|
3543
|
+
<dl>
|
|
3544
|
+
<dd>
|
|
3545
|
+
|
|
3546
|
+
**request:** `MavenAGI.InboxItemApplyTagsRequest`
|
|
3547
|
+
|
|
3548
|
+
</dd>
|
|
3549
|
+
</dl>
|
|
3550
|
+
|
|
3551
|
+
<dl>
|
|
3552
|
+
<dd>
|
|
3553
|
+
|
|
3554
|
+
**requestOptions:** `Inbox.RequestOptions`
|
|
3555
|
+
|
|
3556
|
+
</dd>
|
|
3557
|
+
</dl>
|
|
3558
|
+
</dd>
|
|
3559
|
+
</dl>
|
|
3560
|
+
|
|
3561
|
+
|
|
3652
3562
|
</dd>
|
|
3653
3563
|
</dl>
|
|
3654
3564
|
</details>
|
|
@@ -6565,6 +6475,79 @@ await client.users.delete("user-0");
|
|
|
6565
6475
|
</dl>
|
|
6566
6476
|
|
|
6567
6477
|
|
|
6478
|
+
</dd>
|
|
6479
|
+
</dl>
|
|
6480
|
+
</details>
|
|
6481
|
+
|
|
6482
|
+
## Voice
|
|
6483
|
+
<details><summary><code>client.voice.<a href="/src/api/resources/voice/client/Client.ts">sessionToken</a>({ ...params }) -> MavenAGI.VoiceSessionTokenResponse</code></summary>
|
|
6484
|
+
<dl>
|
|
6485
|
+
<dd>
|
|
6486
|
+
|
|
6487
|
+
#### 📝 Description
|
|
6488
|
+
|
|
6489
|
+
<dl>
|
|
6490
|
+
<dd>
|
|
6491
|
+
|
|
6492
|
+
<dl>
|
|
6493
|
+
<dd>
|
|
6494
|
+
|
|
6495
|
+
Creates a short-lived session token for authenticating voice connections.
|
|
6496
|
+
|
|
6497
|
+
Supports two token types:
|
|
6498
|
+
- **webrtc**: A Twilio-compatible access token for browser-based WebRTC calls
|
|
6499
|
+
- **websocket**: An RS256 JWT for direct WebSocket connections to /v1/voice/conversations
|
|
6500
|
+
|
|
6501
|
+
Session tokens are required before establishing any voice connection.
|
|
6502
|
+
</dd>
|
|
6503
|
+
</dl>
|
|
6504
|
+
</dd>
|
|
6505
|
+
</dl>
|
|
6506
|
+
|
|
6507
|
+
#### 🔌 Usage
|
|
6508
|
+
|
|
6509
|
+
<dl>
|
|
6510
|
+
<dd>
|
|
6511
|
+
|
|
6512
|
+
<dl>
|
|
6513
|
+
<dd>
|
|
6514
|
+
|
|
6515
|
+
```typescript
|
|
6516
|
+
await client.voice.sessionToken({
|
|
6517
|
+
appUserId: "appUserId",
|
|
6518
|
+
type: "webrtc"
|
|
6519
|
+
});
|
|
6520
|
+
|
|
6521
|
+
```
|
|
6522
|
+
</dd>
|
|
6523
|
+
</dl>
|
|
6524
|
+
</dd>
|
|
6525
|
+
</dl>
|
|
6526
|
+
|
|
6527
|
+
#### ⚙️ Parameters
|
|
6528
|
+
|
|
6529
|
+
<dl>
|
|
6530
|
+
<dd>
|
|
6531
|
+
|
|
6532
|
+
<dl>
|
|
6533
|
+
<dd>
|
|
6534
|
+
|
|
6535
|
+
**request:** `MavenAGI.VoiceSessionTokenRequest`
|
|
6536
|
+
|
|
6537
|
+
</dd>
|
|
6538
|
+
</dl>
|
|
6539
|
+
|
|
6540
|
+
<dl>
|
|
6541
|
+
<dd>
|
|
6542
|
+
|
|
6543
|
+
**requestOptions:** `Voice.RequestOptions`
|
|
6544
|
+
|
|
6545
|
+
</dd>
|
|
6546
|
+
</dl>
|
|
6547
|
+
</dd>
|
|
6548
|
+
</dl>
|
|
6549
|
+
|
|
6550
|
+
|
|
6568
6551
|
</dd>
|
|
6569
6552
|
</dl>
|
|
6570
6553
|
</details>
|
|
@@ -45,4 +45,5 @@ exports.InboxItemBase = core.serialization.object({
|
|
|
45
45
|
updatedAt: core.serialization.date(),
|
|
46
46
|
status: InboxItemStatus_1.InboxItemStatus,
|
|
47
47
|
severity: InboxItemSeverity_1.InboxItemSeverity,
|
|
48
|
+
tags: core.serialization.set(core.serialization.string()).optional(),
|
|
48
49
|
});
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export * from "./ActionFormAttachment";
|
|
2
2
|
export * from "./ActionFormRequestParamValue";
|
|
3
|
-
export * from "./AskObjectRequest";
|
|
4
3
|
export * from "./AskRequest";
|
|
5
4
|
export * from "./AskStreamActionEvent";
|
|
6
5
|
export * from "./AskStreamChartEvent";
|
|
@@ -27,7 +26,6 @@ export * from "./FeedbackField";
|
|
|
27
26
|
export * from "./FeedbackFilter";
|
|
28
27
|
export * from "./FeedbackRequest";
|
|
29
28
|
export * from "./NumericConversationField";
|
|
30
|
-
export * from "./ObjectStreamResponse";
|
|
31
29
|
export * from "./ResolutionStatus";
|
|
32
30
|
export * from "./SimulationFilter";
|
|
33
31
|
export * from "./StreamResponse";
|
|
@@ -16,7 +16,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./ActionFormAttachment"), exports);
|
|
18
18
|
__exportStar(require("./ActionFormRequestParamValue"), exports);
|
|
19
|
-
__exportStar(require("./AskObjectRequest"), exports);
|
|
20
19
|
__exportStar(require("./AskRequest"), exports);
|
|
21
20
|
__exportStar(require("./AskStreamActionEvent"), exports);
|
|
22
21
|
__exportStar(require("./AskStreamChartEvent"), exports);
|
|
@@ -43,7 +42,6 @@ __exportStar(require("./FeedbackField"), exports);
|
|
|
43
42
|
__exportStar(require("./FeedbackFilter"), exports);
|
|
44
43
|
__exportStar(require("./FeedbackRequest"), exports);
|
|
45
44
|
__exportStar(require("./NumericConversationField"), exports);
|
|
46
|
-
__exportStar(require("./ObjectStreamResponse"), exports);
|
|
47
45
|
__exportStar(require("./ResolutionStatus"), exports);
|
|
48
46
|
__exportStar(require("./SimulationFilter"), exports);
|
|
49
47
|
__exportStar(require("./StreamResponse"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests";
|
|
@@ -0,0 +1,17 @@
|
|
|
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("./requests"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
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 InboxItemApplyTagsRequest: core.serialization.Schema<serializers.InboxItemApplyTagsRequest.Raw, MavenAGI.InboxItemApplyTagsRequest>;
|
|
5
|
+
export declare namespace InboxItemApplyTagsRequest {
|
|
6
|
+
interface Raw {
|
|
7
|
+
appId?: string | null;
|
|
8
|
+
tags: string[];
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -34,9 +34,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
};
|
|
35
35
|
})();
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.
|
|
38
|
-
const core = __importStar(require("
|
|
39
|
-
exports.
|
|
40
|
-
|
|
41
|
-
|
|
37
|
+
exports.InboxItemApplyTagsRequest = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../core"));
|
|
39
|
+
exports.InboxItemApplyTagsRequest = core.serialization.object({
|
|
40
|
+
appId: core.serialization.string().optional(),
|
|
41
|
+
tags: core.serialization.set(core.serialization.string()),
|
|
42
42
|
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { InboxItemApplyTagsRequest } from "./InboxItemApplyTagsRequest";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InboxItemApplyTagsRequest = void 0;
|
|
4
|
+
var InboxItemApplyTagsRequest_1 = require("./InboxItemApplyTagsRequest");
|
|
5
|
+
Object.defineProperty(exports, "InboxItemApplyTagsRequest", { enumerable: true, get: function () { return InboxItemApplyTagsRequest_1.InboxItemApplyTagsRequest; } });
|
|
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client"), exports);
|
|
17
18
|
__exportStar(require("./types"), exports);
|
|
@@ -41,6 +41,7 @@ const InboxItemType_1 = require("../../commons/types/InboxItemType");
|
|
|
41
41
|
exports.InboxFilter = core.serialization.object({
|
|
42
42
|
statuses: core.serialization.list(InboxItemStatus_1.InboxItemStatus).optional(),
|
|
43
43
|
type: core.serialization.list(InboxItemType_1.InboxItemType).optional(),
|
|
44
|
+
tags: core.serialization.set(core.serialization.string()).optional(),
|
|
44
45
|
createdAfter: core.serialization.date().optional(),
|
|
45
46
|
createdBefore: core.serialization.date().optional(),
|
|
46
47
|
});
|