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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { BaseClientOptions } from "../../../../BaseClient";
|
|
2
|
-
import {
|
|
3
|
-
export declare namespace
|
|
2
|
+
import { VoiceConversationsSocket } from "./Socket";
|
|
3
|
+
export declare namespace VoiceConversations {
|
|
4
4
|
interface Options extends BaseClientOptions {
|
|
5
5
|
}
|
|
6
6
|
interface ConnectArgs {
|
|
@@ -14,9 +14,9 @@ export declare namespace Websockets {
|
|
|
14
14
|
reconnectAttempts?: number;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
export declare class
|
|
18
|
-
protected readonly _options:
|
|
19
|
-
constructor(_options:
|
|
20
|
-
connect(args:
|
|
17
|
+
export declare class VoiceConversations {
|
|
18
|
+
protected readonly _options: VoiceConversations.Options;
|
|
19
|
+
constructor(_options: VoiceConversations.Options);
|
|
20
|
+
connect(args: VoiceConversations.ConnectArgs): Promise<VoiceConversationsSocket>;
|
|
21
21
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
22
22
|
}
|
|
@@ -43,12 +43,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
43
43
|
});
|
|
44
44
|
};
|
|
45
45
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
|
-
exports.
|
|
46
|
+
exports.VoiceConversations = void 0;
|
|
47
47
|
const core = __importStar(require("../../../../core"));
|
|
48
48
|
const headers_1 = require("../../../../core/headers");
|
|
49
49
|
const environments = __importStar(require("../../../../environments"));
|
|
50
50
|
const Socket_1 = require("./Socket");
|
|
51
|
-
class
|
|
51
|
+
class VoiceConversations {
|
|
52
52
|
constructor(_options) {
|
|
53
53
|
this._options = _options;
|
|
54
54
|
}
|
|
@@ -62,13 +62,13 @@ class Websockets {
|
|
|
62
62
|
}
|
|
63
63
|
const _headers = (0, headers_1.mergeHeaders)((0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: args.Authorization }), headers);
|
|
64
64
|
const socket = new core.ReconnectingWebSocket({
|
|
65
|
-
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.MavenAGIEnvironment.Production, "/v1/
|
|
65
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.MavenAGIEnvironment.Production, "/v1/voice/conversations"),
|
|
66
66
|
protocols: [],
|
|
67
67
|
queryParameters: _queryParams,
|
|
68
68
|
headers: _headers,
|
|
69
69
|
options: { debug: debug !== null && debug !== void 0 ? debug : false, maxRetries: reconnectAttempts !== null && reconnectAttempts !== void 0 ? reconnectAttempts : 30 },
|
|
70
70
|
});
|
|
71
|
-
return new Socket_1.
|
|
71
|
+
return new Socket_1.VoiceConversationsSocket({ socket });
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
74
|
_getAuthorizationHeader() {
|
|
@@ -86,4 +86,4 @@ class Websockets {
|
|
|
86
86
|
});
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
|
-
exports.
|
|
89
|
+
exports.VoiceConversations = VoiceConversations;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as core from "../../../../core";
|
|
2
2
|
import type * as MavenAGI from "../../../index";
|
|
3
|
-
export declare namespace
|
|
3
|
+
export declare namespace VoiceConversationsSocket {
|
|
4
4
|
interface Args {
|
|
5
5
|
socket: core.ReconnectingWebSocket;
|
|
6
6
|
}
|
|
@@ -12,14 +12,14 @@ export declare namespace WebsocketsSocket {
|
|
|
12
12
|
error?: (error: Error) => void;
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
|
-
export declare class
|
|
15
|
+
export declare class VoiceConversationsSocket {
|
|
16
16
|
readonly socket: core.ReconnectingWebSocket;
|
|
17
|
-
protected readonly eventHandlers:
|
|
17
|
+
protected readonly eventHandlers: VoiceConversationsSocket.EventHandlers;
|
|
18
18
|
private handleOpen;
|
|
19
19
|
private handleMessage;
|
|
20
20
|
private handleClose;
|
|
21
21
|
private handleError;
|
|
22
|
-
constructor(args:
|
|
22
|
+
constructor(args: VoiceConversationsSocket.Args);
|
|
23
23
|
/** The current state of the connection; this is one of the readyState constants. */
|
|
24
24
|
get readyState(): number;
|
|
25
25
|
/**
|
|
@@ -32,11 +32,11 @@ export declare class WebsocketsSocket {
|
|
|
32
32
|
* });
|
|
33
33
|
* ```
|
|
34
34
|
*/
|
|
35
|
-
on<T extends keyof
|
|
35
|
+
on<T extends keyof VoiceConversationsSocket.EventHandlers>(event: T, callback: VoiceConversationsSocket.EventHandlers[T]): void;
|
|
36
36
|
sendConfig(message: MavenAGI.Config): void;
|
|
37
37
|
sendUserAudioChunk(message: MavenAGI.UserAudioChunk): void;
|
|
38
38
|
/** Connect to the websocket and register event handlers. */
|
|
39
|
-
connect():
|
|
39
|
+
connect(): VoiceConversationsSocket;
|
|
40
40
|
/** Close the websocket and unregister event handlers. */
|
|
41
41
|
close(): void;
|
|
42
42
|
/** Returns a promise that resolves when the websocket is open. */
|
|
@@ -43,13 +43,13 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
43
43
|
});
|
|
44
44
|
};
|
|
45
45
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
|
-
exports.
|
|
46
|
+
exports.VoiceConversationsSocket = void 0;
|
|
47
47
|
const core = __importStar(require("../../../../core"));
|
|
48
48
|
const json_1 = require("../../../../core/json");
|
|
49
49
|
const serializers = __importStar(require("../../../../serialization/index"));
|
|
50
|
-
const Config_1 = require("../../../../serialization/resources/
|
|
51
|
-
const UserAudioChunk_1 = require("../../../../serialization/resources/
|
|
52
|
-
class
|
|
50
|
+
const Config_1 = require("../../../../serialization/resources/voiceConversations/types/Config");
|
|
51
|
+
const UserAudioChunk_1 = require("../../../../serialization/resources/voiceConversations/types/UserAudioChunk");
|
|
52
|
+
class VoiceConversationsSocket {
|
|
53
53
|
constructor(args) {
|
|
54
54
|
this.eventHandlers = {};
|
|
55
55
|
this.handleOpen = () => {
|
|
@@ -59,7 +59,7 @@ class WebsocketsSocket {
|
|
|
59
59
|
this.handleMessage = (event) => {
|
|
60
60
|
var _a, _b, _c, _d;
|
|
61
61
|
const data = (0, json_1.fromJson)(event.data);
|
|
62
|
-
const parsedResponse = serializers.
|
|
62
|
+
const parsedResponse = serializers.VoiceConversationsSocketResponse.parse(data, {
|
|
63
63
|
unrecognizedObjectKeys: "passthrough",
|
|
64
64
|
allowUnrecognizedUnionMembers: true,
|
|
65
65
|
allowUnrecognizedEnumValues: true,
|
|
@@ -169,4 +169,4 @@ class WebsocketsSocket {
|
|
|
169
169
|
this.socket.send(payload);
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
|
-
exports.
|
|
172
|
+
exports.VoiceConversationsSocket = VoiceConversationsSocket;
|
package/{api/resources/websockets → dist/api/resources/voiceConversations}/types/Config.d.ts
RENAMED
|
@@ -4,9 +4,9 @@ import type * as MavenAGI from "../../../index";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface Config {
|
|
6
6
|
type: "config";
|
|
7
|
-
/** The
|
|
7
|
+
/** The input audio format from the client. */
|
|
8
8
|
inputFormat: MavenAGI.AudioFormat;
|
|
9
|
-
/** The
|
|
9
|
+
/** The output audio format to send to the client. */
|
|
10
10
|
outputFormat: MavenAGI.AudioFormat;
|
|
11
11
|
/** The conversation ID which was created prior to starting this conversation. */
|
|
12
12
|
conversationId: string;
|
|
@@ -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,8 +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
|
-
|
|
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()),
|
|
41
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
|
});
|
|
@@ -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
|
+
}
|