@deepgram/sdk 4.11.3 → 5.0.0-alpha.2
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/LICENSE +2 -2
- package/README.md +907 -343
- package/dist/browser/index.global.js +8674 -0
- package/dist/cjs/BaseClient.d.ts +40 -0
- package/dist/cjs/BaseClient.js +62 -0
- package/dist/cjs/Client.d.ts +33 -0
- package/dist/cjs/Client.js +46 -0
- package/dist/cjs/CustomClient.d.ts +29 -0
- package/dist/cjs/CustomClient.js +618 -0
- package/dist/cjs/api/errors/BadRequestError.d.ts +5 -0
- package/dist/cjs/api/errors/BadRequestError.js +54 -0
- package/dist/cjs/api/errors/index.d.ts +1 -0
- package/dist/cjs/api/errors/index.js +17 -0
- package/dist/cjs/api/index.d.ts +3 -0
- package/dist/cjs/api/index.js +19 -0
- package/dist/cjs/api/resources/agent/client/Client.d.ts +13 -0
- package/dist/cjs/api/resources/agent/client/Client.js +16 -0
- package/dist/cjs/api/resources/agent/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/agent/client/index.js +2 -0
- package/dist/cjs/api/resources/agent/index.d.ts +2 -0
- package/dist/cjs/api/resources/agent/index.js +18 -0
- package/dist/cjs/api/resources/agent/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/agent/resources/index.js +41 -0
- package/dist/cjs/api/resources/agent/resources/v1/client/Client.d.ts +24 -0
- package/dist/cjs/api/resources/agent/resources/v1/client/Client.js +77 -0
- package/dist/cjs/api/resources/agent/resources/v1/client/Socket.d.ts +56 -0
- package/dist/cjs/api/resources/agent/resources/v1/client/Socket.js +178 -0
- package/dist/cjs/api/resources/agent/resources/v1/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/agent/resources/v1/client/index.js +2 -0
- package/dist/cjs/api/resources/agent/resources/v1/index.d.ts +3 -0
- package/dist/cjs/api/resources/agent/resources/v1/index.js +19 -0
- package/dist/cjs/api/resources/agent/resources/v1/resources/index.d.ts +1 -0
- package/dist/cjs/api/resources/agent/resources/v1/resources/index.js +37 -0
- package/dist/cjs/api/resources/agent/resources/v1/resources/settings/client/Client.d.ts +13 -0
- package/dist/cjs/api/resources/agent/resources/v1/resources/settings/client/Client.js +16 -0
- package/dist/cjs/api/resources/agent/resources/v1/resources/settings/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/agent/resources/v1/resources/settings/client/index.js +2 -0
- package/dist/cjs/api/resources/agent/resources/v1/resources/settings/index.d.ts +2 -0
- package/dist/cjs/api/resources/agent/resources/v1/resources/settings/index.js +18 -0
- package/dist/cjs/api/resources/agent/resources/v1/resources/settings/resources/index.d.ts +1 -0
- package/dist/cjs/api/resources/agent/resources/v1/resources/settings/resources/index.js +37 -0
- package/dist/cjs/api/resources/agent/resources/v1/resources/settings/resources/think/client/Client.d.ts +13 -0
- package/dist/cjs/api/resources/agent/resources/v1/resources/settings/resources/think/client/Client.js +16 -0
- package/dist/cjs/api/resources/agent/resources/v1/resources/settings/resources/think/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/agent/resources/v1/resources/settings/resources/think/client/index.js +2 -0
- package/dist/cjs/api/resources/agent/resources/v1/resources/settings/resources/think/index.d.ts +2 -0
- package/dist/cjs/api/resources/agent/resources/v1/resources/settings/resources/think/index.js +18 -0
- package/dist/cjs/api/resources/agent/resources/v1/resources/settings/resources/think/resources/index.d.ts +1 -0
- package/dist/cjs/api/resources/agent/resources/v1/resources/settings/resources/think/resources/index.js +37 -0
- package/dist/cjs/api/resources/agent/resources/v1/resources/settings/resources/think/resources/models/client/Client.d.ts +26 -0
- package/dist/cjs/api/resources/agent/resources/v1/resources/settings/resources/think/resources/models/client/Client.js +105 -0
- package/dist/cjs/api/resources/agent/resources/v1/resources/settings/resources/think/resources/models/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/agent/resources/v1/resources/settings/resources/think/resources/models/client/index.js +2 -0
- package/dist/cjs/api/resources/agent/resources/v1/resources/settings/resources/think/resources/models/index.d.ts +1 -0
- package/dist/cjs/api/resources/agent/resources/v1/resources/settings/resources/think/resources/models/index.js +17 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1AgentAudioDone.d.ts +4 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1AgentAudioDone.js +3 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1AgentStartedSpeaking.d.ts +10 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1AgentStartedSpeaking.js +3 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1AgentThinking.d.ts +6 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1AgentThinking.js +3 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1ConversationText.d.ts +16 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1ConversationText.js +12 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1Error.d.ts +8 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1Error.js +3 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1FunctionCallRequest.d.ts +21 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1FunctionCallRequest.js +3 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1InjectAgentMessage.d.ts +6 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1InjectAgentMessage.js +3 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1InjectUserMessage.d.ts +6 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1InjectUserMessage.js +3 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1InjectionRefused.d.ts +6 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1InjectionRefused.js +3 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1KeepAlive.d.ts +7 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1KeepAlive.js +3 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1PromptUpdated.d.ts +4 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1PromptUpdated.js +3 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1ReceiveFunctionCallResponse.d.ts +28 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1ReceiveFunctionCallResponse.js +3 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1SendFunctionCallResponse.d.ts +28 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1SendFunctionCallResponse.js +3 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1Settings.d.ts +228 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1Settings.js +36 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1SettingsAgentSpeakEndpointProvider.d.ts +186 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1SettingsAgentSpeakEndpointProvider.js +137 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1SettingsAgentSpeakOneItemProvider.d.ts +186 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1SettingsAgentSpeakOneItemProvider.js +137 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1SettingsApplied.d.ts +4 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1SettingsApplied.js +3 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1SpeakUpdated.d.ts +4 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1SpeakUpdated.js +3 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1UpdatePrompt.d.ts +6 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1UpdatePrompt.js +3 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1UpdateSpeak.d.ts +34 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1UpdateSpeak.js +3 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1UpdateSpeakSpeakProvider.d.ts +186 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1UpdateSpeakSpeakProvider.js +137 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1UserStartedSpeaking.d.ts +4 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1UserStartedSpeaking.js +3 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1Warning.d.ts +11 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1Warning.js +3 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1Welcome.d.ts +6 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/AgentV1Welcome.js +3 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/index.d.ts +24 -0
- package/dist/cjs/api/resources/agent/resources/v1/types/index.js +40 -0
- package/dist/cjs/api/resources/auth/client/Client.d.ts +13 -0
- package/dist/cjs/api/resources/auth/client/Client.js +16 -0
- package/dist/cjs/api/resources/auth/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/auth/client/index.js +2 -0
- package/dist/cjs/api/resources/auth/index.d.ts +2 -0
- package/dist/cjs/api/resources/auth/index.js +18 -0
- package/dist/cjs/api/resources/auth/resources/index.d.ts +1 -0
- package/dist/cjs/api/resources/auth/resources/index.js +37 -0
- package/dist/cjs/api/resources/auth/resources/v1/client/Client.d.ts +13 -0
- package/dist/cjs/api/resources/auth/resources/v1/client/Client.js +16 -0
- package/dist/cjs/api/resources/auth/resources/v1/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/auth/resources/v1/client/index.js +2 -0
- package/dist/cjs/api/resources/auth/resources/v1/index.d.ts +2 -0
- package/dist/cjs/api/resources/auth/resources/v1/index.js +18 -0
- package/dist/cjs/api/resources/auth/resources/v1/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/auth/resources/v1/resources/index.js +41 -0
- package/dist/cjs/api/resources/auth/resources/v1/resources/tokens/client/Client.d.ts +27 -0
- package/dist/cjs/api/resources/auth/resources/v1/resources/tokens/client/Client.js +110 -0
- package/dist/cjs/api/resources/auth/resources/v1/resources/tokens/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/auth/resources/v1/resources/tokens/client/index.js +17 -0
- package/dist/cjs/api/resources/auth/resources/v1/resources/tokens/client/requests/GrantV1Request.d.ts +8 -0
- package/dist/cjs/api/resources/auth/resources/v1/resources/tokens/client/requests/GrantV1Request.js +3 -0
- package/dist/cjs/api/resources/auth/resources/v1/resources/tokens/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/auth/resources/v1/resources/tokens/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/auth/resources/v1/resources/tokens/index.d.ts +1 -0
- package/dist/cjs/api/resources/auth/resources/v1/resources/tokens/index.js +17 -0
- package/dist/cjs/api/resources/index.d.ts +7 -0
- package/dist/cjs/api/resources/index.js +43 -0
- package/dist/cjs/api/resources/listen/client/Client.d.ts +16 -0
- package/dist/cjs/api/resources/listen/client/Client.js +21 -0
- package/dist/cjs/api/resources/listen/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/listen/client/index.js +2 -0
- package/dist/cjs/api/resources/listen/index.d.ts +2 -0
- package/dist/cjs/api/resources/listen/index.js +18 -0
- package/dist/cjs/api/resources/listen/resources/index.d.ts +4 -0
- package/dist/cjs/api/resources/listen/resources/index.js +43 -0
- package/dist/cjs/api/resources/listen/resources/v1/client/Client.d.ts +51 -0
- package/dist/cjs/api/resources/listen/resources/v1/client/Client.js +157 -0
- package/dist/cjs/api/resources/listen/resources/v1/client/Socket.d.ts +52 -0
- package/dist/cjs/api/resources/listen/resources/v1/client/Socket.js +162 -0
- package/dist/cjs/api/resources/listen/resources/v1/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/listen/resources/v1/client/index.js +2 -0
- package/dist/cjs/api/resources/listen/resources/v1/index.d.ts +3 -0
- package/dist/cjs/api/resources/listen/resources/v1/index.js +19 -0
- package/dist/cjs/api/resources/listen/resources/v1/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/listen/resources/v1/resources/index.js +42 -0
- package/dist/cjs/api/resources/listen/resources/v1/resources/media/client/Client.d.ts +79 -0
- package/dist/cjs/api/resources/listen/resources/v1/resources/media/client/Client.js +518 -0
- package/dist/cjs/api/resources/listen/resources/v1/resources/media/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/listen/resources/v1/resources/media/client/index.js +17 -0
- package/dist/cjs/api/resources/listen/resources/v1/resources/media/client/requests/ListenV1RequestUrl.d.ts +117 -0
- package/dist/cjs/api/resources/listen/resources/v1/resources/media/client/requests/ListenV1RequestUrl.js +3 -0
- package/dist/cjs/api/resources/listen/resources/v1/resources/media/client/requests/MediaTranscribeRequestOctetStream.d.ts +82 -0
- package/dist/cjs/api/resources/listen/resources/v1/resources/media/client/requests/MediaTranscribeRequestOctetStream.js +3 -0
- package/dist/cjs/api/resources/listen/resources/v1/resources/media/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/listen/resources/v1/resources/media/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/listen/resources/v1/resources/media/index.d.ts +2 -0
- package/dist/cjs/api/resources/listen/resources/v1/resources/media/index.js +18 -0
- package/dist/cjs/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestCallbackMethod.d.ts +5 -0
- package/dist/cjs/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestCallbackMethod.js +8 -0
- package/dist/cjs/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestCustomIntentMode.d.ts +5 -0
- package/dist/cjs/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestCustomIntentMode.js +8 -0
- package/dist/cjs/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestCustomTopicMode.d.ts +5 -0
- package/dist/cjs/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestCustomTopicMode.js +8 -0
- package/dist/cjs/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestEncoding.d.ts +11 -0
- package/dist/cjs/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestEncoding.js +14 -0
- package/dist/cjs/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestModel.d.ts +32 -0
- package/dist/cjs/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestModel.js +35 -0
- package/dist/cjs/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestSummarize.d.ts +4 -0
- package/dist/cjs/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestSummarize.js +7 -0
- package/dist/cjs/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestVersion.d.ts +4 -0
- package/dist/cjs/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestVersion.js +7 -0
- package/dist/cjs/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeResponse.d.ts +2 -0
- package/dist/cjs/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeResponse.js +3 -0
- package/dist/cjs/api/resources/listen/resources/v1/resources/media/types/index.d.ts +8 -0
- package/dist/cjs/api/resources/listen/resources/v1/resources/media/types/index.js +24 -0
- package/dist/cjs/api/resources/listen/resources/v1/types/ListenV1CloseStream.d.ts +13 -0
- package/dist/cjs/api/resources/listen/resources/v1/types/ListenV1CloseStream.js +13 -0
- package/dist/cjs/api/resources/listen/resources/v1/types/ListenV1Finalize.d.ts +13 -0
- package/dist/cjs/api/resources/listen/resources/v1/types/ListenV1Finalize.js +13 -0
- package/dist/cjs/api/resources/listen/resources/v1/types/ListenV1KeepAlive.d.ts +13 -0
- package/dist/cjs/api/resources/listen/resources/v1/types/ListenV1KeepAlive.js +13 -0
- package/dist/cjs/api/resources/listen/resources/v1/types/ListenV1Metadata.d.ts +16 -0
- package/dist/cjs/api/resources/listen/resources/v1/types/ListenV1Metadata.js +3 -0
- package/dist/cjs/api/resources/listen/resources/v1/types/ListenV1Results.d.ts +74 -0
- package/dist/cjs/api/resources/listen/resources/v1/types/ListenV1Results.js +3 -0
- package/dist/cjs/api/resources/listen/resources/v1/types/ListenV1SpeechStarted.d.ts +8 -0
- package/dist/cjs/api/resources/listen/resources/v1/types/ListenV1SpeechStarted.js +3 -0
- package/dist/cjs/api/resources/listen/resources/v1/types/ListenV1UtteranceEnd.d.ts +8 -0
- package/dist/cjs/api/resources/listen/resources/v1/types/ListenV1UtteranceEnd.js +3 -0
- package/dist/cjs/api/resources/listen/resources/v1/types/index.d.ts +7 -0
- package/dist/cjs/api/resources/listen/resources/v1/types/index.js +23 -0
- package/dist/cjs/api/resources/listen/resources/v2/client/Client.d.ts +30 -0
- package/dist/cjs/api/resources/listen/resources/v2/client/Client.js +98 -0
- package/dist/cjs/api/resources/listen/resources/v2/client/Socket.d.ts +50 -0
- package/dist/cjs/api/resources/listen/resources/v2/client/Socket.js +154 -0
- package/dist/cjs/api/resources/listen/resources/v2/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/listen/resources/v2/client/index.js +2 -0
- package/dist/cjs/api/resources/listen/resources/v2/index.d.ts +2 -0
- package/dist/cjs/api/resources/listen/resources/v2/index.js +18 -0
- package/dist/cjs/api/resources/listen/resources/v2/types/ListenV2CloseStream.d.ts +13 -0
- package/dist/cjs/api/resources/listen/resources/v2/types/ListenV2CloseStream.js +13 -0
- package/dist/cjs/api/resources/listen/resources/v2/types/ListenV2Connected.d.ts +12 -0
- package/dist/cjs/api/resources/listen/resources/v2/types/ListenV2Connected.js +3 -0
- package/dist/cjs/api/resources/listen/resources/v2/types/ListenV2FatalError.d.ts +14 -0
- package/dist/cjs/api/resources/listen/resources/v2/types/ListenV2FatalError.js +3 -0
- package/dist/cjs/api/resources/listen/resources/v2/types/ListenV2TurnInfo.d.ts +60 -0
- package/dist/cjs/api/resources/listen/resources/v2/types/ListenV2TurnInfo.js +23 -0
- package/dist/cjs/api/resources/listen/resources/v2/types/index.d.ts +4 -0
- package/dist/cjs/api/resources/listen/resources/v2/types/index.js +20 -0
- package/dist/cjs/api/resources/manage/client/Client.d.ts +13 -0
- package/dist/cjs/api/resources/manage/client/Client.js +16 -0
- package/dist/cjs/api/resources/manage/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/manage/client/index.js +2 -0
- package/dist/cjs/api/resources/manage/index.d.ts +2 -0
- package/dist/cjs/api/resources/manage/index.js +18 -0
- package/dist/cjs/api/resources/manage/resources/index.d.ts +1 -0
- package/dist/cjs/api/resources/manage/resources/index.js +37 -0
- package/dist/cjs/api/resources/manage/resources/v1/client/Client.d.ts +16 -0
- package/dist/cjs/api/resources/manage/resources/v1/client/Client.js +21 -0
- package/dist/cjs/api/resources/manage/resources/v1/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/manage/resources/v1/client/index.js +2 -0
- package/dist/cjs/api/resources/manage/resources/v1/index.d.ts +2 -0
- package/dist/cjs/api/resources/manage/resources/v1/index.js +18 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/index.d.ts +4 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/index.js +43 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/models/client/Client.d.ts +42 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/models/client/Client.js +162 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/models/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/models/client/index.js +17 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/models/client/requests/ModelsListRequest.d.ts +10 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/models/client/requests/ModelsListRequest.js +3 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/models/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/models/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/models/index.d.ts +1 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/models/index.js +17 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/client/Client.d.ts +101 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/client/Client.js +344 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/client/index.js +17 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/client/requests/ProjectsGetRequest.d.ts +13 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/client/requests/ProjectsGetRequest.js +3 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/client/requests/UpdateProjectV1Request.d.ts +8 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/client/requests/UpdateProjectV1Request.js +3 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/index.d.ts +2 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/index.js +18 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/client/Client.d.ts +22 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/client/Client.js +31 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/client/index.js +2 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/index.d.ts +2 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/index.js +18 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/balances/client/Client.d.ts +41 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/balances/client/Client.js +159 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/balances/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/balances/client/index.js +2 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/balances/index.d.ts +1 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/balances/index.js +17 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/client/Client.d.ts +35 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/client/Client.js +143 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/client/index.js +17 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/client/requests/BreakdownListRequest.d.ts +28 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/client/requests/BreakdownListRequest.js +3 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/index.d.ts +2 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/index.js +18 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/types/BreakdownListRequestDeployment.d.ts +7 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/types/BreakdownListRequestDeployment.js +10 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/types/BreakdownListRequestGroupingItem.d.ts +7 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/types/BreakdownListRequestGroupingItem.js +10 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/types/index.js +18 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/fields/client/Client.d.ts +31 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/fields/client/Client.js +119 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/fields/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/fields/client/index.js +17 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/fields/client/requests/FieldsListRequest.d.ts +13 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/fields/client/requests/FieldsListRequest.js +3 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/fields/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/fields/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/fields/index.d.ts +1 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/fields/index.js +17 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/index.d.ts +8 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/index.js +47 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/purchases/client/Client.d.ts +30 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/purchases/client/Client.js +118 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/purchases/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/purchases/client/index.js +17 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/purchases/client/requests/PurchasesListRequest.d.ts +10 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/purchases/client/requests/PurchasesListRequest.js +3 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/purchases/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/purchases/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/purchases/index.d.ts +1 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/purchases/index.js +17 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/index.d.ts +13 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/index.js +52 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/keys/client/Client.d.ts +74 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/keys/client/Client.js +267 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/keys/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/keys/client/index.js +17 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/keys/client/requests/KeysListRequest.d.ts +11 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/keys/client/requests/KeysListRequest.js +3 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/keys/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/keys/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/keys/index.d.ts +2 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/keys/index.js +18 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/keys/types/KeysListRequestStatus.d.ts +5 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/keys/types/KeysListRequestStatus.js +8 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/keys/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/keys/types/index.js +17 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/client/Client.d.ts +47 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/client/Client.js +172 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/client/index.js +2 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/index.d.ts +2 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/index.js +18 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/resources/index.d.ts +4 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/resources/index.js +43 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/resources/invites/client/Client.d.ts +58 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/resources/invites/client/Client.js +220 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/resources/invites/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/resources/invites/client/index.js +17 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/resources/invites/client/requests/CreateProjectInviteV1Request.d.ts +13 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/resources/invites/client/requests/CreateProjectInviteV1Request.js +3 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/resources/invites/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/resources/invites/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/resources/invites/index.d.ts +1 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/resources/invites/index.js +17 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/resources/scopes/client/Client.d.ts +45 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/resources/scopes/client/Client.js +169 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/resources/scopes/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/resources/scopes/client/index.js +17 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/resources/scopes/client/requests/UpdateProjectMemberScopesV1Request.d.ts +10 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/resources/scopes/client/requests/UpdateProjectMemberScopesV1Request.js +3 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/resources/scopes/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/resources/scopes/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/resources/scopes/index.d.ts +1 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/members/resources/scopes/index.js +17 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/models/client/Client.d.ts +44 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/models/client/Client.js +164 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/models/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/models/client/index.js +17 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/models/client/requests/ModelsListRequest.d.ts +10 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/models/client/requests/ModelsListRequest.js +3 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/models/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/models/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/models/index.d.ts +1 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/models/index.js +17 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/requests/client/Client.d.ts +53 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/requests/client/Client.js +203 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/requests/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/requests/client/index.js +17 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/requests/client/requests/RequestsListRequest.d.ts +38 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/requests/client/requests/RequestsListRequest.js +3 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/requests/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/requests/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/requests/index.js +18 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/requests/types/RequestsListRequestDeployment.d.ts +7 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/requests/types/RequestsListRequestDeployment.js +10 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/requests/types/RequestsListRequestEndpoint.d.ts +7 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/requests/types/RequestsListRequestEndpoint.js +10 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/requests/types/RequestsListRequestMethod.d.ts +7 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/requests/types/RequestsListRequestMethod.js +10 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/requests/types/RequestsListRequestStatus.d.ts +5 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/requests/types/RequestsListRequestStatus.js +8 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/requests/types/index.d.ts +4 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/requests/types/index.js +20 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/client/Client.d.ts +79 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/client/Client.js +297 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/client/index.js +17 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/client/requests/UsageGetRequest.d.ts +140 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/client/requests/UsageGetRequest.js +3 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/index.d.ts +3 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/index.js +19 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/client/Client.d.ts +74 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/client/Client.js +291 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/client/index.js +17 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/client/requests/BreakdownGetRequest.d.ts +143 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/client/requests/BreakdownGetRequest.js +3 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/index.d.ts +2 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/index.js +18 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/BreakdownGetRequestDeployment.d.ts +7 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/BreakdownGetRequestDeployment.js +10 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/BreakdownGetRequestEndpoint.d.ts +7 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/BreakdownGetRequestEndpoint.js +10 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/BreakdownGetRequestGrouping.d.ts +10 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/BreakdownGetRequestGrouping.js +13 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/BreakdownGetRequestMethod.d.ts +7 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/BreakdownGetRequestMethod.js +10 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/index.d.ts +4 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/index.js +20 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/fields/client/Client.d.ts +31 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/fields/client/Client.js +119 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/fields/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/fields/client/index.js +17 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/fields/client/requests/FieldsListRequest.d.ts +13 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/fields/client/requests/FieldsListRequest.js +3 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/fields/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/fields/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/fields/index.d.ts +1 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/fields/index.js +17 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/index.d.ts +5 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/index.js +44 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/types/UsageGetRequestDeployment.d.ts +7 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/types/UsageGetRequestDeployment.js +10 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/types/UsageGetRequestEndpoint.d.ts +7 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/types/UsageGetRequestEndpoint.js +10 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/types/UsageGetRequestMethod.d.ts +7 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/types/UsageGetRequestMethod.js +10 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/manage/resources/v1/resources/projects/resources/usage/types/index.js +19 -0
- package/dist/cjs/api/resources/read/client/Client.d.ts +13 -0
- package/dist/cjs/api/resources/read/client/Client.js +16 -0
- package/dist/cjs/api/resources/read/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/read/client/index.js +2 -0
- package/dist/cjs/api/resources/read/index.d.ts +2 -0
- package/dist/cjs/api/resources/read/index.js +18 -0
- package/dist/cjs/api/resources/read/resources/index.d.ts +1 -0
- package/dist/cjs/api/resources/read/resources/index.js +37 -0
- package/dist/cjs/api/resources/read/resources/v1/client/Client.d.ts +13 -0
- package/dist/cjs/api/resources/read/resources/v1/client/Client.js +16 -0
- package/dist/cjs/api/resources/read/resources/v1/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/read/resources/v1/client/index.js +2 -0
- package/dist/cjs/api/resources/read/resources/v1/index.d.ts +2 -0
- package/dist/cjs/api/resources/read/resources/v1/index.js +18 -0
- package/dist/cjs/api/resources/read/resources/v1/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/read/resources/v1/resources/index.js +42 -0
- package/dist/cjs/api/resources/read/resources/v1/resources/text/client/Client.d.ts +43 -0
- package/dist/cjs/api/resources/read/resources/v1/resources/text/client/Client.js +179 -0
- package/dist/cjs/api/resources/read/resources/v1/resources/text/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/read/resources/v1/resources/text/client/index.js +17 -0
- package/dist/cjs/api/resources/read/resources/v1/resources/text/client/requests/TextAnalyzeRequest.d.ts +48 -0
- package/dist/cjs/api/resources/read/resources/v1/resources/text/client/requests/TextAnalyzeRequest.js +3 -0
- package/dist/cjs/api/resources/read/resources/v1/resources/text/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/read/resources/v1/resources/text/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/read/resources/v1/resources/text/index.d.ts +2 -0
- package/dist/cjs/api/resources/read/resources/v1/resources/text/index.js +18 -0
- package/dist/cjs/api/resources/read/resources/v1/resources/text/types/TextAnalyzeRequestCallbackMethod.d.ts +5 -0
- package/dist/cjs/api/resources/read/resources/v1/resources/text/types/TextAnalyzeRequestCallbackMethod.js +8 -0
- package/dist/cjs/api/resources/read/resources/v1/resources/text/types/TextAnalyzeRequestCustomIntentMode.d.ts +5 -0
- package/dist/cjs/api/resources/read/resources/v1/resources/text/types/TextAnalyzeRequestCustomIntentMode.js +8 -0
- package/dist/cjs/api/resources/read/resources/v1/resources/text/types/TextAnalyzeRequestCustomTopicMode.d.ts +5 -0
- package/dist/cjs/api/resources/read/resources/v1/resources/text/types/TextAnalyzeRequestCustomTopicMode.js +8 -0
- package/dist/cjs/api/resources/read/resources/v1/resources/text/types/TextAnalyzeRequestSummarize.d.ts +4 -0
- package/dist/cjs/api/resources/read/resources/v1/resources/text/types/TextAnalyzeRequestSummarize.js +7 -0
- package/dist/cjs/api/resources/read/resources/v1/resources/text/types/index.d.ts +4 -0
- package/dist/cjs/api/resources/read/resources/v1/resources/text/types/index.js +20 -0
- package/dist/cjs/api/resources/selfHosted/client/Client.d.ts +13 -0
- package/dist/cjs/api/resources/selfHosted/client/Client.js +16 -0
- package/dist/cjs/api/resources/selfHosted/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/selfHosted/client/index.js +2 -0
- package/dist/cjs/api/resources/selfHosted/index.d.ts +2 -0
- package/dist/cjs/api/resources/selfHosted/index.js +18 -0
- package/dist/cjs/api/resources/selfHosted/resources/index.d.ts +1 -0
- package/dist/cjs/api/resources/selfHosted/resources/index.js +37 -0
- package/dist/cjs/api/resources/selfHosted/resources/v1/client/Client.d.ts +13 -0
- package/dist/cjs/api/resources/selfHosted/resources/v1/client/Client.js +16 -0
- package/dist/cjs/api/resources/selfHosted/resources/v1/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/selfHosted/resources/v1/client/index.js +2 -0
- package/dist/cjs/api/resources/selfHosted/resources/v1/index.d.ts +2 -0
- package/dist/cjs/api/resources/selfHosted/resources/v1/index.js +18 -0
- package/dist/cjs/api/resources/selfHosted/resources/v1/resources/distributionCredentials/client/Client.d.ts +71 -0
- package/dist/cjs/api/resources/selfHosted/resources/v1/resources/distributionCredentials/client/Client.js +295 -0
- package/dist/cjs/api/resources/selfHosted/resources/v1/resources/distributionCredentials/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/selfHosted/resources/v1/resources/distributionCredentials/client/index.js +17 -0
- package/dist/cjs/api/resources/selfHosted/resources/v1/resources/distributionCredentials/client/requests/CreateProjectDistributionCredentialsV1Request.d.ts +15 -0
- package/dist/cjs/api/resources/selfHosted/resources/v1/resources/distributionCredentials/client/requests/CreateProjectDistributionCredentialsV1Request.js +3 -0
- package/dist/cjs/api/resources/selfHosted/resources/v1/resources/distributionCredentials/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/selfHosted/resources/v1/resources/distributionCredentials/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/selfHosted/resources/v1/resources/distributionCredentials/index.d.ts +2 -0
- package/dist/cjs/api/resources/selfHosted/resources/v1/resources/distributionCredentials/index.js +18 -0
- package/dist/cjs/api/resources/selfHosted/resources/v1/resources/distributionCredentials/types/DistributionCredentialsCreateRequestScopesItem.d.ts +11 -0
- package/dist/cjs/api/resources/selfHosted/resources/v1/resources/distributionCredentials/types/DistributionCredentialsCreateRequestScopesItem.js +14 -0
- package/dist/cjs/api/resources/selfHosted/resources/v1/resources/distributionCredentials/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/selfHosted/resources/v1/resources/distributionCredentials/types/index.js +17 -0
- package/dist/cjs/api/resources/selfHosted/resources/v1/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/selfHosted/resources/v1/resources/index.js +42 -0
- package/dist/cjs/api/resources/speak/client/Client.d.ts +13 -0
- package/dist/cjs/api/resources/speak/client/Client.js +16 -0
- package/dist/cjs/api/resources/speak/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/speak/client/index.js +2 -0
- package/dist/cjs/api/resources/speak/index.d.ts +2 -0
- package/dist/cjs/api/resources/speak/index.js +18 -0
- package/dist/cjs/api/resources/speak/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/speak/resources/index.js +41 -0
- package/dist/cjs/api/resources/speak/resources/v1/client/Client.d.ts +28 -0
- package/dist/cjs/api/resources/speak/resources/v1/client/Client.js +90 -0
- package/dist/cjs/api/resources/speak/resources/v1/client/Socket.d.ts +52 -0
- package/dist/cjs/api/resources/speak/resources/v1/client/Socket.js +162 -0
- package/dist/cjs/api/resources/speak/resources/v1/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/speak/resources/v1/client/index.js +2 -0
- package/dist/cjs/api/resources/speak/resources/v1/index.d.ts +3 -0
- package/dist/cjs/api/resources/speak/resources/v1/index.js +19 -0
- package/dist/cjs/api/resources/speak/resources/v1/resources/audio/client/Client.d.ts +20 -0
- package/dist/cjs/api/resources/speak/resources/v1/resources/audio/client/Client.js +149 -0
- package/dist/cjs/api/resources/speak/resources/v1/resources/audio/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/speak/resources/v1/resources/audio/client/index.js +17 -0
- package/dist/cjs/api/resources/speak/resources/v1/resources/audio/client/requests/SpeakV1Request.d.ts +29 -0
- package/dist/cjs/api/resources/speak/resources/v1/resources/audio/client/requests/SpeakV1Request.js +3 -0
- package/dist/cjs/api/resources/speak/resources/v1/resources/audio/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/speak/resources/v1/resources/audio/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/speak/resources/v1/resources/audio/index.d.ts +2 -0
- package/dist/cjs/api/resources/speak/resources/v1/resources/audio/index.js +18 -0
- package/dist/cjs/api/resources/speak/resources/v1/resources/audio/types/AudioGenerateRequestCallbackMethod.d.ts +5 -0
- package/dist/cjs/api/resources/speak/resources/v1/resources/audio/types/AudioGenerateRequestCallbackMethod.js +8 -0
- package/dist/cjs/api/resources/speak/resources/v1/resources/audio/types/AudioGenerateRequestContainer.d.ts +6 -0
- package/dist/cjs/api/resources/speak/resources/v1/resources/audio/types/AudioGenerateRequestContainer.js +9 -0
- package/dist/cjs/api/resources/speak/resources/v1/resources/audio/types/AudioGenerateRequestEncoding.d.ts +10 -0
- package/dist/cjs/api/resources/speak/resources/v1/resources/audio/types/AudioGenerateRequestEncoding.js +13 -0
- package/dist/cjs/api/resources/speak/resources/v1/resources/audio/types/AudioGenerateRequestModel.d.ts +66 -0
- package/dist/cjs/api/resources/speak/resources/v1/resources/audio/types/AudioGenerateRequestModel.js +69 -0
- package/dist/cjs/api/resources/speak/resources/v1/resources/audio/types/index.d.ts +4 -0
- package/dist/cjs/api/resources/speak/resources/v1/resources/audio/types/index.js +20 -0
- package/dist/cjs/api/resources/speak/resources/v1/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/speak/resources/v1/resources/index.js +42 -0
- package/dist/cjs/api/resources/speak/resources/v1/types/SpeakV1Clear.d.ts +13 -0
- package/dist/cjs/api/resources/speak/resources/v1/types/SpeakV1Clear.js +13 -0
- package/dist/cjs/api/resources/speak/resources/v1/types/SpeakV1Cleared.d.ts +14 -0
- package/dist/cjs/api/resources/speak/resources/v1/types/SpeakV1Cleared.js +12 -0
- package/dist/cjs/api/resources/speak/resources/v1/types/SpeakV1Close.d.ts +13 -0
- package/dist/cjs/api/resources/speak/resources/v1/types/SpeakV1Close.js +13 -0
- package/dist/cjs/api/resources/speak/resources/v1/types/SpeakV1Flush.d.ts +13 -0
- package/dist/cjs/api/resources/speak/resources/v1/types/SpeakV1Flush.js +13 -0
- package/dist/cjs/api/resources/speak/resources/v1/types/SpeakV1Flushed.d.ts +14 -0
- package/dist/cjs/api/resources/speak/resources/v1/types/SpeakV1Flushed.js +12 -0
- package/dist/cjs/api/resources/speak/resources/v1/types/SpeakV1Metadata.d.ts +12 -0
- package/dist/cjs/api/resources/speak/resources/v1/types/SpeakV1Metadata.js +3 -0
- package/dist/cjs/api/resources/speak/resources/v1/types/SpeakV1Text.d.ts +6 -0
- package/dist/cjs/api/resources/speak/resources/v1/types/SpeakV1Text.js +3 -0
- package/dist/cjs/api/resources/speak/resources/v1/types/SpeakV1Warning.d.ts +8 -0
- package/dist/cjs/api/resources/speak/resources/v1/types/SpeakV1Warning.js +3 -0
- package/dist/cjs/api/resources/speak/resources/v1/types/index.d.ts +8 -0
- package/dist/cjs/api/resources/speak/resources/v1/types/index.js +24 -0
- package/dist/cjs/api/types/AgentThinkModelsV1Response.d.ts +44 -0
- package/dist/cjs/api/types/AgentThinkModelsV1Response.js +3 -0
- package/dist/cjs/api/types/BillingBreakdownV1Response.d.ts +40 -0
- package/dist/cjs/api/types/BillingBreakdownV1Response.js +3 -0
- package/dist/cjs/api/types/CreateKeyV1RequestOne.d.ts +1 -0
- package/dist/cjs/api/types/CreateKeyV1RequestOne.js +3 -0
- package/dist/cjs/api/types/CreateKeyV1Response.d.ts +17 -0
- package/dist/cjs/api/types/CreateKeyV1Response.js +3 -0
- package/dist/cjs/api/types/CreateProjectDistributionCredentialsV1Response.d.ts +24 -0
- package/dist/cjs/api/types/CreateProjectDistributionCredentialsV1Response.js +3 -0
- package/dist/cjs/api/types/CreateProjectInviteV1Response.d.ts +4 -0
- package/dist/cjs/api/types/CreateProjectInviteV1Response.js +3 -0
- package/dist/cjs/api/types/DeleteProjectInviteV1Response.d.ts +4 -0
- package/dist/cjs/api/types/DeleteProjectInviteV1Response.js +3 -0
- package/dist/cjs/api/types/DeleteProjectKeyV1Response.d.ts +3 -0
- package/dist/cjs/api/types/DeleteProjectKeyV1Response.js +3 -0
- package/dist/cjs/api/types/DeleteProjectMemberV1Response.d.ts +4 -0
- package/dist/cjs/api/types/DeleteProjectMemberV1Response.js +3 -0
- package/dist/cjs/api/types/DeleteProjectV1Response.d.ts +4 -0
- package/dist/cjs/api/types/DeleteProjectV1Response.js +3 -0
- package/dist/cjs/api/types/ErrorResponse.d.ts +2 -0
- package/dist/cjs/api/types/ErrorResponse.js +3 -0
- package/dist/cjs/api/types/ErrorResponseLegacyError.d.ts +8 -0
- package/dist/cjs/api/types/ErrorResponseLegacyError.js +3 -0
- package/dist/cjs/api/types/ErrorResponseModernError.d.ts +10 -0
- package/dist/cjs/api/types/ErrorResponseModernError.js +3 -0
- package/dist/cjs/api/types/ErrorResponseTextError.d.ts +1 -0
- package/dist/cjs/api/types/ErrorResponseTextError.js +3 -0
- package/dist/cjs/api/types/GetModelV1Response.d.ts +27 -0
- package/dist/cjs/api/types/GetModelV1Response.js +3 -0
- package/dist/cjs/api/types/GetProjectBalanceV1Response.d.ts +10 -0
- package/dist/cjs/api/types/GetProjectBalanceV1Response.js +3 -0
- package/dist/cjs/api/types/GetProjectDistributionCredentialsV1Response.d.ts +24 -0
- package/dist/cjs/api/types/GetProjectDistributionCredentialsV1Response.js +3 -0
- package/dist/cjs/api/types/GetProjectKeyV1Response.d.ts +27 -0
- package/dist/cjs/api/types/GetProjectKeyV1Response.js +3 -0
- package/dist/cjs/api/types/GetProjectRequestV1Response.d.ts +4 -0
- package/dist/cjs/api/types/GetProjectRequestV1Response.js +3 -0
- package/dist/cjs/api/types/GetProjectV1Response.d.ts +8 -0
- package/dist/cjs/api/types/GetProjectV1Response.js +3 -0
- package/dist/cjs/api/types/GrantV1Response.d.ts +6 -0
- package/dist/cjs/api/types/GrantV1Response.js +3 -0
- package/dist/cjs/api/types/LeaveProjectV1Response.d.ts +4 -0
- package/dist/cjs/api/types/LeaveProjectV1Response.js +3 -0
- package/dist/cjs/api/types/ListBillingFieldsV1Response.d.ts +22 -0
- package/dist/cjs/api/types/ListBillingFieldsV1Response.js +16 -0
- package/dist/cjs/api/types/ListModelsV1Response.d.ts +5 -0
- package/dist/cjs/api/types/ListModelsV1Response.js +3 -0
- package/dist/cjs/api/types/ListModelsV1ResponseSttModels.d.ts +11 -0
- package/dist/cjs/api/types/ListModelsV1ResponseSttModels.js +3 -0
- package/dist/cjs/api/types/ListModelsV1ResponseTtsModels.d.ts +20 -0
- package/dist/cjs/api/types/ListModelsV1ResponseTtsModels.js +3 -0
- package/dist/cjs/api/types/ListProjectBalancesV1Response.d.ts +18 -0
- package/dist/cjs/api/types/ListProjectBalancesV1Response.js +3 -0
- package/dist/cjs/api/types/ListProjectDistributionCredentialsV1Response.d.ts +33 -0
- package/dist/cjs/api/types/ListProjectDistributionCredentialsV1Response.js +3 -0
- package/dist/cjs/api/types/ListProjectInvitesV1Response.d.ts +14 -0
- package/dist/cjs/api/types/ListProjectInvitesV1Response.js +3 -0
- package/dist/cjs/api/types/ListProjectKeysV1Response.d.ts +24 -0
- package/dist/cjs/api/types/ListProjectKeysV1Response.js +3 -0
- package/dist/cjs/api/types/ListProjectMemberScopesV1Response.d.ts +4 -0
- package/dist/cjs/api/types/ListProjectMemberScopesV1Response.js +3 -0
- package/dist/cjs/api/types/ListProjectMembersV1Response.d.ts +13 -0
- package/dist/cjs/api/types/ListProjectMembersV1Response.js +3 -0
- package/dist/cjs/api/types/ListProjectPurchasesV1Response.d.ts +16 -0
- package/dist/cjs/api/types/ListProjectPurchasesV1Response.js +3 -0
- package/dist/cjs/api/types/ListProjectRequestsV1Response.d.ts +8 -0
- package/dist/cjs/api/types/ListProjectRequestsV1Response.js +3 -0
- package/dist/cjs/api/types/ListProjectsV1Response.d.ts +14 -0
- package/dist/cjs/api/types/ListProjectsV1Response.js +3 -0
- package/dist/cjs/api/types/ListenV1AcceptedResponse.d.ts +7 -0
- package/dist/cjs/api/types/ListenV1AcceptedResponse.js +3 -0
- package/dist/cjs/api/types/ListenV1Callback.d.ts +1 -0
- package/dist/cjs/api/types/ListenV1Callback.js +3 -0
- package/dist/cjs/api/types/ListenV1CallbackMethod.d.ts +8 -0
- package/dist/cjs/api/types/ListenV1CallbackMethod.js +11 -0
- package/dist/cjs/api/types/ListenV1Channels.d.ts +1 -0
- package/dist/cjs/api/types/ListenV1Channels.js +3 -0
- package/dist/cjs/api/types/ListenV1Diarize.d.ts +6 -0
- package/dist/cjs/api/types/ListenV1Diarize.js +9 -0
- package/dist/cjs/api/types/ListenV1Dictation.d.ts +6 -0
- package/dist/cjs/api/types/ListenV1Dictation.js +9 -0
- package/dist/cjs/api/types/ListenV1Encoding.d.ts +15 -0
- package/dist/cjs/api/types/ListenV1Encoding.js +18 -0
- package/dist/cjs/api/types/ListenV1Endpointing.d.ts +1 -0
- package/dist/cjs/api/types/ListenV1Endpointing.js +3 -0
- package/dist/cjs/api/types/ListenV1Extra.d.ts +1 -0
- package/dist/cjs/api/types/ListenV1Extra.js +3 -0
- package/dist/cjs/api/types/ListenV1InterimResults.d.ts +6 -0
- package/dist/cjs/api/types/ListenV1InterimResults.js +9 -0
- package/dist/cjs/api/types/ListenV1Keyterm.d.ts +1 -0
- package/dist/cjs/api/types/ListenV1Keyterm.js +3 -0
- package/dist/cjs/api/types/ListenV1Keywords.d.ts +1 -0
- package/dist/cjs/api/types/ListenV1Keywords.js +3 -0
- package/dist/cjs/api/types/ListenV1Language.d.ts +1 -0
- package/dist/cjs/api/types/ListenV1Language.js +3 -0
- package/dist/cjs/api/types/ListenV1MipOptOut.d.ts +1 -0
- package/dist/cjs/api/types/ListenV1MipOptOut.js +3 -0
- package/dist/cjs/api/types/ListenV1Model.d.ts +34 -0
- package/dist/cjs/api/types/ListenV1Model.js +37 -0
- package/dist/cjs/api/types/ListenV1Multichannel.d.ts +6 -0
- package/dist/cjs/api/types/ListenV1Multichannel.js +9 -0
- package/dist/cjs/api/types/ListenV1Numerals.d.ts +6 -0
- package/dist/cjs/api/types/ListenV1Numerals.js +9 -0
- package/dist/cjs/api/types/ListenV1ProfanityFilter.d.ts +6 -0
- package/dist/cjs/api/types/ListenV1ProfanityFilter.js +9 -0
- package/dist/cjs/api/types/ListenV1Punctuate.d.ts +6 -0
- package/dist/cjs/api/types/ListenV1Punctuate.js +9 -0
- package/dist/cjs/api/types/ListenV1Redact.d.ts +10 -0
- package/dist/cjs/api/types/ListenV1Redact.js +13 -0
- package/dist/cjs/api/types/ListenV1Replace.d.ts +1 -0
- package/dist/cjs/api/types/ListenV1Replace.js +3 -0
- package/dist/cjs/api/types/ListenV1RequestFile.d.ts +4 -0
- package/dist/cjs/api/types/ListenV1RequestFile.js +3 -0
- package/dist/cjs/api/types/ListenV1Response.d.ts +8 -0
- package/dist/cjs/api/types/ListenV1Response.js +3 -0
- package/dist/cjs/api/types/ListenV1ResponseMetadata.d.ts +37 -0
- package/dist/cjs/api/types/ListenV1ResponseMetadata.js +3 -0
- package/dist/cjs/api/types/ListenV1ResponseResults.d.ts +9 -0
- package/dist/cjs/api/types/ListenV1ResponseResults.js +3 -0
- package/dist/cjs/api/types/ListenV1ResponseResultsChannels.d.ts +2 -0
- package/dist/cjs/api/types/ListenV1ResponseResultsChannels.js +3 -0
- package/dist/cjs/api/types/ListenV1ResponseResultsChannelsItem.d.ts +90 -0
- package/dist/cjs/api/types/ListenV1ResponseResultsChannelsItem.js +3 -0
- package/dist/cjs/api/types/ListenV1ResponseResultsSummary.d.ts +4 -0
- package/dist/cjs/api/types/ListenV1ResponseResultsSummary.js +3 -0
- package/dist/cjs/api/types/ListenV1ResponseResultsUtterances.d.ts +2 -0
- package/dist/cjs/api/types/ListenV1ResponseResultsUtterances.js +3 -0
- package/dist/cjs/api/types/ListenV1ResponseResultsUtterancesItem.d.ts +24 -0
- package/dist/cjs/api/types/ListenV1ResponseResultsUtterancesItem.js +3 -0
- package/dist/cjs/api/types/ListenV1SampleRate.d.ts +1 -0
- package/dist/cjs/api/types/ListenV1SampleRate.js +3 -0
- package/dist/cjs/api/types/ListenV1Search.d.ts +1 -0
- package/dist/cjs/api/types/ListenV1Search.js +3 -0
- package/dist/cjs/api/types/ListenV1SmartFormat.d.ts +6 -0
- package/dist/cjs/api/types/ListenV1SmartFormat.js +9 -0
- package/dist/cjs/api/types/ListenV1Tag.d.ts +1 -0
- package/dist/cjs/api/types/ListenV1Tag.js +3 -0
- package/dist/cjs/api/types/ListenV1UtteranceEndMs.d.ts +1 -0
- package/dist/cjs/api/types/ListenV1UtteranceEndMs.js +3 -0
- package/dist/cjs/api/types/ListenV1VadEvents.d.ts +6 -0
- package/dist/cjs/api/types/ListenV1VadEvents.js +9 -0
- package/dist/cjs/api/types/ListenV1Version.d.ts +1 -0
- package/dist/cjs/api/types/ListenV1Version.js +3 -0
- package/dist/cjs/api/types/ListenV2EagerEotThreshold.d.ts +1 -0
- package/dist/cjs/api/types/ListenV2EagerEotThreshold.js +3 -0
- package/dist/cjs/api/types/ListenV2Encoding.d.ts +10 -0
- package/dist/cjs/api/types/ListenV2Encoding.js +13 -0
- package/dist/cjs/api/types/ListenV2EotThreshold.d.ts +1 -0
- package/dist/cjs/api/types/ListenV2EotThreshold.js +3 -0
- package/dist/cjs/api/types/ListenV2EotTimeoutMs.d.ts +1 -0
- package/dist/cjs/api/types/ListenV2EotTimeoutMs.js +3 -0
- package/dist/cjs/api/types/ListenV2Keyterm.d.ts +5 -0
- package/dist/cjs/api/types/ListenV2Keyterm.js +3 -0
- package/dist/cjs/api/types/ListenV2MipOptOut.d.ts +1 -0
- package/dist/cjs/api/types/ListenV2MipOptOut.js +3 -0
- package/dist/cjs/api/types/ListenV2Model.d.ts +4 -0
- package/dist/cjs/api/types/ListenV2Model.js +3 -0
- package/dist/cjs/api/types/ListenV2SampleRate.d.ts +1 -0
- package/dist/cjs/api/types/ListenV2SampleRate.js +3 -0
- package/dist/cjs/api/types/ListenV2Tag.d.ts +1 -0
- package/dist/cjs/api/types/ListenV2Tag.js +3 -0
- package/dist/cjs/api/types/ProjectRequestResponse.d.ts +23 -0
- package/dist/cjs/api/types/ProjectRequestResponse.js +3 -0
- package/dist/cjs/api/types/ReadV1Request.d.ts +2 -0
- package/dist/cjs/api/types/ReadV1Request.js +3 -0
- package/dist/cjs/api/types/ReadV1RequestText.d.ts +4 -0
- package/dist/cjs/api/types/ReadV1RequestText.js +3 -0
- package/dist/cjs/api/types/ReadV1RequestUrl.d.ts +4 -0
- package/dist/cjs/api/types/ReadV1RequestUrl.js +3 -0
- package/dist/cjs/api/types/ReadV1Response.d.ts +8 -0
- package/dist/cjs/api/types/ReadV1Response.js +3 -0
- package/dist/cjs/api/types/ReadV1ResponseMetadata.d.ts +36 -0
- package/dist/cjs/api/types/ReadV1ResponseMetadata.js +3 -0
- package/dist/cjs/api/types/ReadV1ResponseResults.d.ts +7 -0
- package/dist/cjs/api/types/ReadV1ResponseResults.js +3 -0
- package/dist/cjs/api/types/ReadV1ResponseResultsSummary.d.ts +16 -0
- package/dist/cjs/api/types/ReadV1ResponseResultsSummary.js +3 -0
- package/dist/cjs/api/types/SharedIntents.d.ts +36 -0
- package/dist/cjs/api/types/SharedIntents.js +3 -0
- package/dist/cjs/api/types/SharedSentiments.d.ts +23 -0
- package/dist/cjs/api/types/SharedSentiments.js +3 -0
- package/dist/cjs/api/types/SharedTopics.d.ts +36 -0
- package/dist/cjs/api/types/SharedTopics.js +3 -0
- package/dist/cjs/api/types/SpeakV1Encoding.d.ts +7 -0
- package/dist/cjs/api/types/SpeakV1Encoding.js +10 -0
- package/dist/cjs/api/types/SpeakV1MipOptOut.d.ts +1 -0
- package/dist/cjs/api/types/SpeakV1MipOptOut.js +3 -0
- package/dist/cjs/api/types/SpeakV1Model.d.ts +67 -0
- package/dist/cjs/api/types/SpeakV1Model.js +70 -0
- package/dist/cjs/api/types/SpeakV1Response.d.ts +1 -0
- package/dist/cjs/api/types/SpeakV1Response.js +3 -0
- package/dist/cjs/api/types/SpeakV1SampleRate.d.ts +9 -0
- package/dist/cjs/api/types/SpeakV1SampleRate.js +12 -0
- package/dist/cjs/api/types/UpdateProjectMemberScopesV1Response.d.ts +4 -0
- package/dist/cjs/api/types/UpdateProjectMemberScopesV1Response.js +3 -0
- package/dist/cjs/api/types/UpdateProjectV1Response.d.ts +4 -0
- package/dist/cjs/api/types/UpdateProjectV1Response.js +3 -0
- package/dist/cjs/api/types/UsageBreakdownV1Response.d.ts +58 -0
- package/dist/cjs/api/types/UsageBreakdownV1Response.js +3 -0
- package/dist/cjs/api/types/UsageFieldsV1Response.d.ts +25 -0
- package/dist/cjs/api/types/UsageFieldsV1Response.js +3 -0
- package/dist/cjs/api/types/UsageV1Response.d.ts +11 -0
- package/dist/cjs/api/types/UsageV1Response.js +3 -0
- package/dist/cjs/api/types/index.d.ts +102 -0
- package/dist/cjs/api/types/index.js +118 -0
- package/dist/cjs/auth/HeaderAuthProvider.d.ts +14 -0
- package/dist/cjs/auth/HeaderAuthProvider.js +73 -0
- package/dist/cjs/auth/index.d.ts +1 -0
- package/dist/cjs/auth/index.js +5 -0
- package/dist/cjs/core/auth/AuthProvider.d.ts +7 -0
- package/dist/cjs/core/auth/AuthProvider.js +2 -0
- package/dist/cjs/core/auth/AuthRequest.d.ts +9 -0
- package/dist/cjs/core/auth/AuthRequest.js +2 -0
- package/dist/cjs/core/auth/BasicAuth.d.ts +8 -0
- package/dist/cjs/core/auth/BasicAuth.js +27 -0
- package/dist/cjs/core/auth/BearerToken.d.ts +7 -0
- package/dist/cjs/core/auth/BearerToken.js +16 -0
- package/dist/cjs/core/auth/NoOpAuthProvider.d.ts +5 -0
- package/dist/cjs/core/auth/NoOpAuthProvider.js +9 -0
- package/dist/cjs/core/auth/index.d.ts +5 -0
- package/dist/cjs/core/auth/index.js +9 -0
- package/dist/cjs/core/base64.d.ts +2 -0
- package/dist/cjs/core/base64.js +26 -0
- package/dist/cjs/core/exports.d.ts +3 -0
- package/dist/cjs/core/exports.js +19 -0
- package/dist/cjs/core/fetcher/APIResponse.d.ts +20 -0
- package/dist/cjs/core/fetcher/APIResponse.js +2 -0
- package/dist/cjs/core/fetcher/BinaryResponse.d.ts +19 -0
- package/dist/cjs/core/fetcher/BinaryResponse.js +17 -0
- package/dist/cjs/core/fetcher/EndpointMetadata.d.ts +13 -0
- package/dist/cjs/core/fetcher/EndpointMetadata.js +2 -0
- package/dist/cjs/core/fetcher/EndpointSupplier.d.ts +12 -0
- package/dist/cjs/core/fetcher/EndpointSupplier.js +22 -0
- package/dist/cjs/core/fetcher/Fetcher.d.ts +49 -0
- package/dist/cjs/core/fetcher/Fetcher.js +316 -0
- package/dist/cjs/core/fetcher/Headers.d.ts +2 -0
- package/dist/cjs/core/fetcher/Headers.js +84 -0
- package/dist/cjs/core/fetcher/HttpResponsePromise.d.ts +58 -0
- package/dist/cjs/core/fetcher/HttpResponsePromise.js +103 -0
- package/dist/cjs/core/fetcher/RawResponse.d.ts +29 -0
- package/dist/cjs/core/fetcher/RawResponse.js +44 -0
- package/dist/cjs/core/fetcher/Supplier.d.ts +4 -0
- package/dist/cjs/core/fetcher/Supplier.js +22 -0
- package/dist/cjs/core/fetcher/createRequestUrl.d.ts +1 -0
- package/dist/cjs/core/fetcher/createRequestUrl.js +8 -0
- package/dist/cjs/core/fetcher/getErrorResponseBody.d.ts +1 -0
- package/dist/cjs/core/fetcher/getErrorResponseBody.js +45 -0
- package/dist/cjs/core/fetcher/getFetchFn.d.ts +1 -0
- package/dist/cjs/core/fetcher/getFetchFn.js +17 -0
- package/dist/cjs/core/fetcher/getHeader.d.ts +1 -0
- package/dist/cjs/core/fetcher/getHeader.js +11 -0
- package/dist/cjs/core/fetcher/getRequestBody.d.ts +7 -0
- package/dist/cjs/core/fetcher/getRequestBody.js +27 -0
- package/dist/cjs/core/fetcher/getResponseBody.d.ts +1 -0
- package/dist/cjs/core/fetcher/getResponseBody.js +69 -0
- package/dist/cjs/core/fetcher/index.d.ts +11 -0
- package/dist/cjs/core/fetcher/index.js +17 -0
- package/dist/cjs/core/fetcher/makeRequest.d.ts +1 -0
- package/dist/cjs/core/fetcher/makeRequest.js +40 -0
- package/dist/cjs/core/fetcher/requestWithRetries.d.ts +1 -0
- package/dist/cjs/core/fetcher/requestWithRetries.js +67 -0
- package/dist/cjs/core/fetcher/signals.d.ts +5 -0
- package/dist/cjs/core/fetcher/signals.js +24 -0
- package/dist/cjs/core/file/exports.d.ts +1 -0
- package/dist/cjs/core/file/exports.js +2 -0
- package/dist/cjs/core/file/file.d.ts +10 -0
- package/dist/cjs/core/file/file.js +221 -0
- package/dist/cjs/core/file/index.d.ts +2 -0
- package/dist/cjs/core/file/index.js +18 -0
- package/dist/cjs/core/file/types.d.ts +66 -0
- package/dist/cjs/core/file/types.js +2 -0
- package/dist/cjs/core/headers.d.ts +2 -0
- package/dist/cjs/core/headers.js +31 -0
- package/dist/cjs/core/index.d.ts +8 -0
- package/dist/cjs/core/index.js +47 -0
- package/dist/cjs/core/json.d.ts +15 -0
- package/dist/cjs/core/json.js +24 -0
- package/dist/cjs/core/logging/exports.d.ts +18 -0
- package/dist/cjs/core/logging/exports.js +45 -0
- package/dist/cjs/core/logging/index.d.ts +1 -0
- package/dist/cjs/core/logging/index.js +17 -0
- package/dist/cjs/core/logging/logger.d.ts +126 -0
- package/dist/cjs/core/logging/logger.js +144 -0
- package/dist/cjs/core/runtime/index.d.ts +1 -0
- package/dist/cjs/core/runtime/index.js +5 -0
- package/dist/cjs/core/runtime/runtime.d.ts +9 -0
- package/dist/cjs/core/runtime/runtime.js +103 -0
- package/dist/cjs/core/url/encodePathParam.d.ts +1 -0
- package/dist/cjs/core/url/encodePathParam.js +21 -0
- package/dist/cjs/core/url/index.d.ts +3 -0
- package/dist/cjs/core/url/index.js +9 -0
- package/dist/cjs/core/url/join.d.ts +1 -0
- package/dist/cjs/core/url/join.js +68 -0
- package/dist/cjs/core/url/qs.d.ts +6 -0
- package/dist/cjs/core/url/qs.js +64 -0
- package/dist/cjs/core/websocket/events.d.ts +36 -0
- package/dist/cjs/core/websocket/events.js +27 -0
- package/dist/cjs/core/websocket/exports.d.ts +8 -0
- package/dist/cjs/core/websocket/exports.js +2 -0
- package/dist/cjs/core/websocket/index.d.ts +1 -0
- package/dist/cjs/core/websocket/index.js +17 -0
- package/dist/cjs/core/websocket/ws.d.ts +147 -0
- package/dist/cjs/core/websocket/ws.js +444 -0
- package/dist/cjs/environments.d.ts +18 -0
- package/dist/cjs/environments.js +16 -0
- package/dist/cjs/errors/DeepgramError.d.ts +12 -0
- package/dist/cjs/errors/DeepgramError.js +32 -0
- package/dist/cjs/errors/DeepgramTimeoutError.d.ts +3 -0
- package/dist/cjs/errors/DeepgramTimeoutError.js +15 -0
- package/dist/cjs/errors/handleNonStatusCodeError.d.ts +2 -0
- package/dist/cjs/errors/handleNonStatusCodeError.js +65 -0
- package/dist/cjs/errors/index.d.ts +2 -0
- package/dist/cjs/errors/index.js +7 -0
- package/dist/cjs/exports.d.ts +1 -0
- package/dist/cjs/exports.js +17 -0
- package/dist/cjs/index.d.ts +7 -0
- package/dist/cjs/index.js +50 -0
- package/dist/cjs/version.d.ts +1 -0
- package/dist/cjs/version.js +4 -0
- package/dist/esm/BaseClient.d.mts +40 -0
- package/dist/esm/BaseClient.mjs +25 -0
- package/dist/esm/Client.d.mts +33 -0
- package/dist/esm/Client.mjs +42 -0
- package/dist/esm/CustomClient.d.mts +29 -0
- package/dist/esm/CustomClient.mjs +581 -0
- package/dist/esm/api/errors/BadRequestError.d.mts +5 -0
- package/dist/esm/api/errors/BadRequestError.mjs +17 -0
- package/dist/esm/api/errors/index.d.mts +1 -0
- package/dist/esm/api/errors/index.mjs +1 -0
- package/dist/esm/api/index.d.mts +3 -0
- package/dist/esm/api/index.mjs +3 -0
- package/dist/esm/api/resources/agent/client/Client.d.mts +13 -0
- package/dist/esm/api/resources/agent/client/Client.mjs +12 -0
- package/dist/esm/api/resources/agent/client/index.d.mts +1 -0
- package/dist/esm/api/resources/agent/client/index.mjs +1 -0
- package/dist/esm/api/resources/agent/index.d.mts +2 -0
- package/dist/esm/api/resources/agent/index.mjs +2 -0
- package/dist/esm/api/resources/agent/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/agent/resources/index.mjs +2 -0
- package/dist/esm/api/resources/agent/resources/v1/client/Client.d.mts +24 -0
- package/dist/esm/api/resources/agent/resources/v1/client/Client.mjs +40 -0
- package/dist/esm/api/resources/agent/resources/v1/client/Socket.d.mts +56 -0
- package/dist/esm/api/resources/agent/resources/v1/client/Socket.mjs +141 -0
- package/dist/esm/api/resources/agent/resources/v1/client/index.d.mts +1 -0
- package/dist/esm/api/resources/agent/resources/v1/client/index.mjs +1 -0
- package/dist/esm/api/resources/agent/resources/v1/index.d.mts +3 -0
- package/dist/esm/api/resources/agent/resources/v1/index.mjs +3 -0
- package/dist/esm/api/resources/agent/resources/v1/resources/index.d.mts +1 -0
- package/dist/esm/api/resources/agent/resources/v1/resources/index.mjs +1 -0
- package/dist/esm/api/resources/agent/resources/v1/resources/settings/client/Client.d.mts +13 -0
- package/dist/esm/api/resources/agent/resources/v1/resources/settings/client/Client.mjs +12 -0
- package/dist/esm/api/resources/agent/resources/v1/resources/settings/client/index.d.mts +1 -0
- package/dist/esm/api/resources/agent/resources/v1/resources/settings/client/index.mjs +1 -0
- package/dist/esm/api/resources/agent/resources/v1/resources/settings/index.d.mts +2 -0
- package/dist/esm/api/resources/agent/resources/v1/resources/settings/index.mjs +2 -0
- package/dist/esm/api/resources/agent/resources/v1/resources/settings/resources/index.d.mts +1 -0
- package/dist/esm/api/resources/agent/resources/v1/resources/settings/resources/index.mjs +1 -0
- package/dist/esm/api/resources/agent/resources/v1/resources/settings/resources/think/client/Client.d.mts +13 -0
- package/dist/esm/api/resources/agent/resources/v1/resources/settings/resources/think/client/Client.mjs +12 -0
- package/dist/esm/api/resources/agent/resources/v1/resources/settings/resources/think/client/index.d.mts +1 -0
- package/dist/esm/api/resources/agent/resources/v1/resources/settings/resources/think/client/index.mjs +1 -0
- package/dist/esm/api/resources/agent/resources/v1/resources/settings/resources/think/index.d.mts +2 -0
- package/dist/esm/api/resources/agent/resources/v1/resources/settings/resources/think/index.mjs +2 -0
- package/dist/esm/api/resources/agent/resources/v1/resources/settings/resources/think/resources/index.d.mts +1 -0
- package/dist/esm/api/resources/agent/resources/v1/resources/settings/resources/think/resources/index.mjs +1 -0
- package/dist/esm/api/resources/agent/resources/v1/resources/settings/resources/think/resources/models/client/Client.d.mts +26 -0
- package/dist/esm/api/resources/agent/resources/v1/resources/settings/resources/think/resources/models/client/Client.mjs +68 -0
- package/dist/esm/api/resources/agent/resources/v1/resources/settings/resources/think/resources/models/client/index.d.mts +1 -0
- package/dist/esm/api/resources/agent/resources/v1/resources/settings/resources/think/resources/models/client/index.mjs +1 -0
- package/dist/esm/api/resources/agent/resources/v1/resources/settings/resources/think/resources/models/index.d.mts +1 -0
- package/dist/esm/api/resources/agent/resources/v1/resources/settings/resources/think/resources/models/index.mjs +1 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1AgentAudioDone.d.mts +4 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1AgentAudioDone.mjs +2 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1AgentStartedSpeaking.d.mts +10 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1AgentStartedSpeaking.mjs +2 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1AgentThinking.d.mts +6 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1AgentThinking.mjs +2 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1ConversationText.d.mts +16 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1ConversationText.mjs +9 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1Error.d.mts +8 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1Error.mjs +2 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1FunctionCallRequest.d.mts +21 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1FunctionCallRequest.mjs +2 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1InjectAgentMessage.d.mts +6 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1InjectAgentMessage.mjs +2 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1InjectUserMessage.d.mts +6 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1InjectUserMessage.mjs +2 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1InjectionRefused.d.mts +6 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1InjectionRefused.mjs +2 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1KeepAlive.d.mts +7 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1KeepAlive.mjs +2 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1PromptUpdated.d.mts +4 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1PromptUpdated.mjs +2 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1ReceiveFunctionCallResponse.d.mts +28 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1ReceiveFunctionCallResponse.mjs +2 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1SendFunctionCallResponse.d.mts +28 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1SendFunctionCallResponse.mjs +2 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1Settings.d.mts +228 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1Settings.mjs +33 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1SettingsAgentSpeakEndpointProvider.d.mts +186 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1SettingsAgentSpeakEndpointProvider.mjs +134 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1SettingsAgentSpeakOneItemProvider.d.mts +186 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1SettingsAgentSpeakOneItemProvider.mjs +134 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1SettingsApplied.d.mts +4 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1SettingsApplied.mjs +2 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1SpeakUpdated.d.mts +4 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1SpeakUpdated.mjs +2 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1UpdatePrompt.d.mts +6 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1UpdatePrompt.mjs +2 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1UpdateSpeak.d.mts +34 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1UpdateSpeak.mjs +2 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1UpdateSpeakSpeakProvider.d.mts +186 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1UpdateSpeakSpeakProvider.mjs +134 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1UserStartedSpeaking.d.mts +4 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1UserStartedSpeaking.mjs +2 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1Warning.d.mts +11 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1Warning.mjs +2 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1Welcome.d.mts +6 -0
- package/dist/esm/api/resources/agent/resources/v1/types/AgentV1Welcome.mjs +2 -0
- package/dist/esm/api/resources/agent/resources/v1/types/index.d.mts +24 -0
- package/dist/esm/api/resources/agent/resources/v1/types/index.mjs +24 -0
- package/dist/esm/api/resources/auth/client/Client.d.mts +13 -0
- package/dist/esm/api/resources/auth/client/Client.mjs +12 -0
- package/dist/esm/api/resources/auth/client/index.d.mts +1 -0
- package/dist/esm/api/resources/auth/client/index.mjs +1 -0
- package/dist/esm/api/resources/auth/index.d.mts +2 -0
- package/dist/esm/api/resources/auth/index.mjs +2 -0
- package/dist/esm/api/resources/auth/resources/index.d.mts +1 -0
- package/dist/esm/api/resources/auth/resources/index.mjs +1 -0
- package/dist/esm/api/resources/auth/resources/v1/client/Client.d.mts +13 -0
- package/dist/esm/api/resources/auth/resources/v1/client/Client.mjs +12 -0
- package/dist/esm/api/resources/auth/resources/v1/client/index.d.mts +1 -0
- package/dist/esm/api/resources/auth/resources/v1/client/index.mjs +1 -0
- package/dist/esm/api/resources/auth/resources/v1/index.d.mts +2 -0
- package/dist/esm/api/resources/auth/resources/v1/index.mjs +2 -0
- package/dist/esm/api/resources/auth/resources/v1/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/auth/resources/v1/resources/index.mjs +2 -0
- package/dist/esm/api/resources/auth/resources/v1/resources/tokens/client/Client.d.mts +27 -0
- package/dist/esm/api/resources/auth/resources/v1/resources/tokens/client/Client.mjs +73 -0
- package/dist/esm/api/resources/auth/resources/v1/resources/tokens/client/index.d.mts +1 -0
- package/dist/esm/api/resources/auth/resources/v1/resources/tokens/client/index.mjs +1 -0
- package/dist/esm/api/resources/auth/resources/v1/resources/tokens/client/requests/GrantV1Request.d.mts +8 -0
- package/dist/esm/api/resources/auth/resources/v1/resources/tokens/client/requests/GrantV1Request.mjs +2 -0
- package/dist/esm/api/resources/auth/resources/v1/resources/tokens/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/auth/resources/v1/resources/tokens/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/auth/resources/v1/resources/tokens/index.d.mts +1 -0
- package/dist/esm/api/resources/auth/resources/v1/resources/tokens/index.mjs +1 -0
- package/dist/esm/api/resources/index.d.mts +7 -0
- package/dist/esm/api/resources/index.mjs +7 -0
- package/dist/esm/api/resources/listen/client/Client.d.mts +16 -0
- package/dist/esm/api/resources/listen/client/Client.mjs +17 -0
- package/dist/esm/api/resources/listen/client/index.d.mts +1 -0
- package/dist/esm/api/resources/listen/client/index.mjs +1 -0
- package/dist/esm/api/resources/listen/index.d.mts +2 -0
- package/dist/esm/api/resources/listen/index.mjs +2 -0
- package/dist/esm/api/resources/listen/resources/index.d.mts +4 -0
- package/dist/esm/api/resources/listen/resources/index.mjs +4 -0
- package/dist/esm/api/resources/listen/resources/v1/client/Client.d.mts +51 -0
- package/dist/esm/api/resources/listen/resources/v1/client/Client.mjs +120 -0
- package/dist/esm/api/resources/listen/resources/v1/client/Socket.d.mts +52 -0
- package/dist/esm/api/resources/listen/resources/v1/client/Socket.mjs +125 -0
- package/dist/esm/api/resources/listen/resources/v1/client/index.d.mts +1 -0
- package/dist/esm/api/resources/listen/resources/v1/client/index.mjs +1 -0
- package/dist/esm/api/resources/listen/resources/v1/index.d.mts +3 -0
- package/dist/esm/api/resources/listen/resources/v1/index.mjs +3 -0
- package/dist/esm/api/resources/listen/resources/v1/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/listen/resources/v1/resources/index.mjs +3 -0
- package/dist/esm/api/resources/listen/resources/v1/resources/media/client/Client.d.mts +79 -0
- package/dist/esm/api/resources/listen/resources/v1/resources/media/client/Client.mjs +481 -0
- package/dist/esm/api/resources/listen/resources/v1/resources/media/client/index.d.mts +1 -0
- package/dist/esm/api/resources/listen/resources/v1/resources/media/client/index.mjs +1 -0
- package/dist/esm/api/resources/listen/resources/v1/resources/media/client/requests/ListenV1RequestUrl.d.mts +117 -0
- package/dist/esm/api/resources/listen/resources/v1/resources/media/client/requests/ListenV1RequestUrl.mjs +2 -0
- package/dist/esm/api/resources/listen/resources/v1/resources/media/client/requests/MediaTranscribeRequestOctetStream.d.mts +82 -0
- package/dist/esm/api/resources/listen/resources/v1/resources/media/client/requests/MediaTranscribeRequestOctetStream.mjs +2 -0
- package/dist/esm/api/resources/listen/resources/v1/resources/media/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/listen/resources/v1/resources/media/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/listen/resources/v1/resources/media/index.d.mts +2 -0
- package/dist/esm/api/resources/listen/resources/v1/resources/media/index.mjs +2 -0
- package/dist/esm/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestCallbackMethod.d.mts +5 -0
- package/dist/esm/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestCallbackMethod.mjs +5 -0
- package/dist/esm/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestCustomIntentMode.d.mts +5 -0
- package/dist/esm/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestCustomIntentMode.mjs +5 -0
- package/dist/esm/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestCustomTopicMode.d.mts +5 -0
- package/dist/esm/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestCustomTopicMode.mjs +5 -0
- package/dist/esm/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestEncoding.d.mts +11 -0
- package/dist/esm/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestEncoding.mjs +11 -0
- package/dist/esm/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestModel.d.mts +32 -0
- package/dist/esm/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestModel.mjs +32 -0
- package/dist/esm/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestSummarize.d.mts +4 -0
- package/dist/esm/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestSummarize.mjs +4 -0
- package/dist/esm/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestVersion.d.mts +4 -0
- package/dist/esm/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeRequestVersion.mjs +4 -0
- package/dist/esm/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeResponse.d.mts +2 -0
- package/dist/esm/api/resources/listen/resources/v1/resources/media/types/MediaTranscribeResponse.mjs +2 -0
- package/dist/esm/api/resources/listen/resources/v1/resources/media/types/index.d.mts +8 -0
- package/dist/esm/api/resources/listen/resources/v1/resources/media/types/index.mjs +8 -0
- package/dist/esm/api/resources/listen/resources/v1/types/ListenV1CloseStream.d.mts +13 -0
- package/dist/esm/api/resources/listen/resources/v1/types/ListenV1CloseStream.mjs +10 -0
- package/dist/esm/api/resources/listen/resources/v1/types/ListenV1Finalize.d.mts +13 -0
- package/dist/esm/api/resources/listen/resources/v1/types/ListenV1Finalize.mjs +10 -0
- package/dist/esm/api/resources/listen/resources/v1/types/ListenV1KeepAlive.d.mts +13 -0
- package/dist/esm/api/resources/listen/resources/v1/types/ListenV1KeepAlive.mjs +10 -0
- package/dist/esm/api/resources/listen/resources/v1/types/ListenV1Metadata.d.mts +16 -0
- package/dist/esm/api/resources/listen/resources/v1/types/ListenV1Metadata.mjs +2 -0
- package/dist/esm/api/resources/listen/resources/v1/types/ListenV1Results.d.mts +74 -0
- package/dist/esm/api/resources/listen/resources/v1/types/ListenV1Results.mjs +2 -0
- package/dist/esm/api/resources/listen/resources/v1/types/ListenV1SpeechStarted.d.mts +8 -0
- package/dist/esm/api/resources/listen/resources/v1/types/ListenV1SpeechStarted.mjs +2 -0
- package/dist/esm/api/resources/listen/resources/v1/types/ListenV1UtteranceEnd.d.mts +8 -0
- package/dist/esm/api/resources/listen/resources/v1/types/ListenV1UtteranceEnd.mjs +2 -0
- package/dist/esm/api/resources/listen/resources/v1/types/index.d.mts +7 -0
- package/dist/esm/api/resources/listen/resources/v1/types/index.mjs +7 -0
- package/dist/esm/api/resources/listen/resources/v2/client/Client.d.mts +30 -0
- package/dist/esm/api/resources/listen/resources/v2/client/Client.mjs +61 -0
- package/dist/esm/api/resources/listen/resources/v2/client/Socket.d.mts +50 -0
- package/dist/esm/api/resources/listen/resources/v2/client/Socket.mjs +117 -0
- package/dist/esm/api/resources/listen/resources/v2/client/index.d.mts +1 -0
- package/dist/esm/api/resources/listen/resources/v2/client/index.mjs +1 -0
- package/dist/esm/api/resources/listen/resources/v2/index.d.mts +2 -0
- package/dist/esm/api/resources/listen/resources/v2/index.mjs +2 -0
- package/dist/esm/api/resources/listen/resources/v2/types/ListenV2CloseStream.d.mts +13 -0
- package/dist/esm/api/resources/listen/resources/v2/types/ListenV2CloseStream.mjs +10 -0
- package/dist/esm/api/resources/listen/resources/v2/types/ListenV2Connected.d.mts +12 -0
- package/dist/esm/api/resources/listen/resources/v2/types/ListenV2Connected.mjs +2 -0
- package/dist/esm/api/resources/listen/resources/v2/types/ListenV2FatalError.d.mts +14 -0
- package/dist/esm/api/resources/listen/resources/v2/types/ListenV2FatalError.mjs +2 -0
- package/dist/esm/api/resources/listen/resources/v2/types/ListenV2TurnInfo.d.mts +60 -0
- package/dist/esm/api/resources/listen/resources/v2/types/ListenV2TurnInfo.mjs +20 -0
- package/dist/esm/api/resources/listen/resources/v2/types/index.d.mts +4 -0
- package/dist/esm/api/resources/listen/resources/v2/types/index.mjs +4 -0
- package/dist/esm/api/resources/manage/client/Client.d.mts +13 -0
- package/dist/esm/api/resources/manage/client/Client.mjs +12 -0
- package/dist/esm/api/resources/manage/client/index.d.mts +1 -0
- package/dist/esm/api/resources/manage/client/index.mjs +1 -0
- package/dist/esm/api/resources/manage/index.d.mts +2 -0
- package/dist/esm/api/resources/manage/index.mjs +2 -0
- package/dist/esm/api/resources/manage/resources/index.d.mts +1 -0
- package/dist/esm/api/resources/manage/resources/index.mjs +1 -0
- package/dist/esm/api/resources/manage/resources/v1/client/Client.d.mts +16 -0
- package/dist/esm/api/resources/manage/resources/v1/client/Client.mjs +17 -0
- package/dist/esm/api/resources/manage/resources/v1/client/index.d.mts +1 -0
- package/dist/esm/api/resources/manage/resources/v1/client/index.mjs +1 -0
- package/dist/esm/api/resources/manage/resources/v1/index.d.mts +2 -0
- package/dist/esm/api/resources/manage/resources/v1/index.mjs +2 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/index.d.mts +4 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/index.mjs +4 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/models/client/Client.d.mts +42 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/models/client/Client.mjs +125 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/models/client/index.d.mts +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/models/client/index.mjs +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/models/client/requests/ModelsListRequest.d.mts +10 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/models/client/requests/ModelsListRequest.mjs +2 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/models/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/models/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/models/index.d.mts +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/models/index.mjs +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/client/Client.d.mts +101 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/client/Client.mjs +307 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/client/index.d.mts +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/client/index.mjs +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/client/requests/ProjectsGetRequest.d.mts +13 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/client/requests/ProjectsGetRequest.mjs +2 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/client/requests/UpdateProjectV1Request.d.mts +8 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/client/requests/UpdateProjectV1Request.mjs +2 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/index.d.mts +2 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/index.mjs +2 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/client/Client.d.mts +22 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/client/Client.mjs +27 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/client/index.d.mts +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/client/index.mjs +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/index.d.mts +2 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/index.mjs +2 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/balances/client/Client.d.mts +41 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/balances/client/Client.mjs +122 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/balances/client/index.d.mts +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/balances/client/index.mjs +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/balances/index.d.mts +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/balances/index.mjs +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/client/Client.d.mts +35 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/client/Client.mjs +106 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/client/index.d.mts +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/client/index.mjs +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/client/requests/BreakdownListRequest.d.mts +28 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/client/requests/BreakdownListRequest.mjs +2 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/index.d.mts +2 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/index.mjs +2 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/types/BreakdownListRequestDeployment.d.mts +7 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/types/BreakdownListRequestDeployment.mjs +7 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/types/BreakdownListRequestGroupingItem.d.mts +7 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/types/BreakdownListRequestGroupingItem.mjs +7 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/types/index.d.mts +2 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/breakdown/types/index.mjs +2 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/fields/client/Client.d.mts +31 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/fields/client/Client.mjs +82 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/fields/client/index.d.mts +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/fields/client/index.mjs +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/fields/client/requests/FieldsListRequest.d.mts +13 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/fields/client/requests/FieldsListRequest.mjs +2 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/fields/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/fields/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/fields/index.d.mts +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/fields/index.mjs +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/index.d.mts +8 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/index.mjs +8 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/purchases/client/Client.d.mts +30 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/purchases/client/Client.mjs +81 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/purchases/client/index.d.mts +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/purchases/client/index.mjs +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/purchases/client/requests/PurchasesListRequest.d.mts +10 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/purchases/client/requests/PurchasesListRequest.mjs +2 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/purchases/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/purchases/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/purchases/index.d.mts +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/billing/resources/purchases/index.mjs +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/index.d.mts +13 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/index.mjs +13 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/keys/client/Client.d.mts +74 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/keys/client/Client.mjs +230 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/keys/client/index.d.mts +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/keys/client/index.mjs +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/keys/client/requests/KeysListRequest.d.mts +11 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/keys/client/requests/KeysListRequest.mjs +2 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/keys/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/keys/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/keys/index.d.mts +2 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/keys/index.mjs +2 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/keys/types/KeysListRequestStatus.d.mts +5 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/keys/types/KeysListRequestStatus.mjs +5 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/keys/types/index.d.mts +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/keys/types/index.mjs +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/client/Client.d.mts +47 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/client/Client.mjs +135 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/client/index.d.mts +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/client/index.mjs +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/index.d.mts +2 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/index.mjs +2 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/resources/index.d.mts +4 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/resources/index.mjs +4 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/resources/invites/client/Client.d.mts +58 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/resources/invites/client/Client.mjs +183 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/resources/invites/client/index.d.mts +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/resources/invites/client/index.mjs +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/resources/invites/client/requests/CreateProjectInviteV1Request.d.mts +13 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/resources/invites/client/requests/CreateProjectInviteV1Request.mjs +2 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/resources/invites/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/resources/invites/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/resources/invites/index.d.mts +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/resources/invites/index.mjs +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/resources/scopes/client/Client.d.mts +45 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/resources/scopes/client/Client.mjs +132 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/resources/scopes/client/index.d.mts +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/resources/scopes/client/index.mjs +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/resources/scopes/client/requests/UpdateProjectMemberScopesV1Request.d.mts +10 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/resources/scopes/client/requests/UpdateProjectMemberScopesV1Request.mjs +2 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/resources/scopes/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/resources/scopes/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/resources/scopes/index.d.mts +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/members/resources/scopes/index.mjs +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/models/client/Client.d.mts +44 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/models/client/Client.mjs +127 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/models/client/index.d.mts +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/models/client/index.mjs +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/models/client/requests/ModelsListRequest.d.mts +10 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/models/client/requests/ModelsListRequest.mjs +2 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/models/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/models/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/models/index.d.mts +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/models/index.mjs +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/requests/client/Client.d.mts +53 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/requests/client/Client.mjs +166 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/requests/client/index.d.mts +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/requests/client/index.mjs +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/requests/client/requests/RequestsListRequest.d.mts +38 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/requests/client/requests/RequestsListRequest.mjs +2 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/requests/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/requests/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/requests/index.mjs +2 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/requests/types/RequestsListRequestDeployment.d.mts +7 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/requests/types/RequestsListRequestDeployment.mjs +7 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/requests/types/RequestsListRequestEndpoint.d.mts +7 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/requests/types/RequestsListRequestEndpoint.mjs +7 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/requests/types/RequestsListRequestMethod.d.mts +7 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/requests/types/RequestsListRequestMethod.mjs +7 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/requests/types/RequestsListRequestStatus.d.mts +5 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/requests/types/RequestsListRequestStatus.mjs +5 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/requests/types/index.d.mts +4 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/requests/types/index.mjs +4 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/client/Client.d.mts +79 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/client/Client.mjs +260 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/client/index.d.mts +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/client/index.mjs +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/client/requests/UsageGetRequest.d.mts +140 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/client/requests/UsageGetRequest.mjs +2 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/index.d.mts +3 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/index.mjs +3 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/client/Client.d.mts +74 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/client/Client.mjs +254 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/client/index.d.mts +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/client/index.mjs +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/client/requests/BreakdownGetRequest.d.mts +143 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/client/requests/BreakdownGetRequest.mjs +2 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/index.d.mts +2 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/index.mjs +2 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/BreakdownGetRequestDeployment.d.mts +7 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/BreakdownGetRequestDeployment.mjs +7 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/BreakdownGetRequestEndpoint.d.mts +7 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/BreakdownGetRequestEndpoint.mjs +7 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/BreakdownGetRequestGrouping.d.mts +10 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/BreakdownGetRequestGrouping.mjs +10 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/BreakdownGetRequestMethod.d.mts +7 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/BreakdownGetRequestMethod.mjs +7 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/index.d.mts +4 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/breakdown/types/index.mjs +4 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/fields/client/Client.d.mts +31 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/fields/client/Client.mjs +82 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/fields/client/index.d.mts +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/fields/client/index.mjs +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/fields/client/requests/FieldsListRequest.d.mts +13 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/fields/client/requests/FieldsListRequest.mjs +2 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/fields/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/fields/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/fields/index.d.mts +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/fields/index.mjs +1 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/index.d.mts +5 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/resources/index.mjs +5 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/types/UsageGetRequestDeployment.d.mts +7 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/types/UsageGetRequestDeployment.mjs +7 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/types/UsageGetRequestEndpoint.d.mts +7 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/types/UsageGetRequestEndpoint.mjs +7 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/types/UsageGetRequestMethod.d.mts +7 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/types/UsageGetRequestMethod.mjs +7 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/types/index.d.mts +3 -0
- package/dist/esm/api/resources/manage/resources/v1/resources/projects/resources/usage/types/index.mjs +3 -0
- package/dist/esm/api/resources/read/client/Client.d.mts +13 -0
- package/dist/esm/api/resources/read/client/Client.mjs +12 -0
- package/dist/esm/api/resources/read/client/index.d.mts +1 -0
- package/dist/esm/api/resources/read/client/index.mjs +1 -0
- package/dist/esm/api/resources/read/index.d.mts +2 -0
- package/dist/esm/api/resources/read/index.mjs +2 -0
- package/dist/esm/api/resources/read/resources/index.d.mts +1 -0
- package/dist/esm/api/resources/read/resources/index.mjs +1 -0
- package/dist/esm/api/resources/read/resources/v1/client/Client.d.mts +13 -0
- package/dist/esm/api/resources/read/resources/v1/client/Client.mjs +12 -0
- package/dist/esm/api/resources/read/resources/v1/client/index.d.mts +1 -0
- package/dist/esm/api/resources/read/resources/v1/client/index.mjs +1 -0
- package/dist/esm/api/resources/read/resources/v1/index.d.mts +2 -0
- package/dist/esm/api/resources/read/resources/v1/index.mjs +2 -0
- package/dist/esm/api/resources/read/resources/v1/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/read/resources/v1/resources/index.mjs +3 -0
- package/dist/esm/api/resources/read/resources/v1/resources/text/client/Client.d.mts +43 -0
- package/dist/esm/api/resources/read/resources/v1/resources/text/client/Client.mjs +142 -0
- package/dist/esm/api/resources/read/resources/v1/resources/text/client/index.d.mts +1 -0
- package/dist/esm/api/resources/read/resources/v1/resources/text/client/index.mjs +1 -0
- package/dist/esm/api/resources/read/resources/v1/resources/text/client/requests/TextAnalyzeRequest.d.mts +48 -0
- package/dist/esm/api/resources/read/resources/v1/resources/text/client/requests/TextAnalyzeRequest.mjs +2 -0
- package/dist/esm/api/resources/read/resources/v1/resources/text/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/read/resources/v1/resources/text/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/read/resources/v1/resources/text/index.d.mts +2 -0
- package/dist/esm/api/resources/read/resources/v1/resources/text/index.mjs +2 -0
- package/dist/esm/api/resources/read/resources/v1/resources/text/types/TextAnalyzeRequestCallbackMethod.d.mts +5 -0
- package/dist/esm/api/resources/read/resources/v1/resources/text/types/TextAnalyzeRequestCallbackMethod.mjs +5 -0
- package/dist/esm/api/resources/read/resources/v1/resources/text/types/TextAnalyzeRequestCustomIntentMode.d.mts +5 -0
- package/dist/esm/api/resources/read/resources/v1/resources/text/types/TextAnalyzeRequestCustomIntentMode.mjs +5 -0
- package/dist/esm/api/resources/read/resources/v1/resources/text/types/TextAnalyzeRequestCustomTopicMode.d.mts +5 -0
- package/dist/esm/api/resources/read/resources/v1/resources/text/types/TextAnalyzeRequestCustomTopicMode.mjs +5 -0
- package/dist/esm/api/resources/read/resources/v1/resources/text/types/TextAnalyzeRequestSummarize.d.mts +4 -0
- package/dist/esm/api/resources/read/resources/v1/resources/text/types/TextAnalyzeRequestSummarize.mjs +4 -0
- package/dist/esm/api/resources/read/resources/v1/resources/text/types/index.d.mts +4 -0
- package/dist/esm/api/resources/read/resources/v1/resources/text/types/index.mjs +4 -0
- package/dist/esm/api/resources/selfHosted/client/Client.d.mts +13 -0
- package/dist/esm/api/resources/selfHosted/client/Client.mjs +12 -0
- package/dist/esm/api/resources/selfHosted/client/index.d.mts +1 -0
- package/dist/esm/api/resources/selfHosted/client/index.mjs +1 -0
- package/dist/esm/api/resources/selfHosted/index.d.mts +2 -0
- package/dist/esm/api/resources/selfHosted/index.mjs +2 -0
- package/dist/esm/api/resources/selfHosted/resources/index.d.mts +1 -0
- package/dist/esm/api/resources/selfHosted/resources/index.mjs +1 -0
- package/dist/esm/api/resources/selfHosted/resources/v1/client/Client.d.mts +13 -0
- package/dist/esm/api/resources/selfHosted/resources/v1/client/Client.mjs +12 -0
- package/dist/esm/api/resources/selfHosted/resources/v1/client/index.d.mts +1 -0
- package/dist/esm/api/resources/selfHosted/resources/v1/client/index.mjs +1 -0
- package/dist/esm/api/resources/selfHosted/resources/v1/index.d.mts +2 -0
- package/dist/esm/api/resources/selfHosted/resources/v1/index.mjs +2 -0
- package/dist/esm/api/resources/selfHosted/resources/v1/resources/distributionCredentials/client/Client.d.mts +71 -0
- package/dist/esm/api/resources/selfHosted/resources/v1/resources/distributionCredentials/client/Client.mjs +258 -0
- package/dist/esm/api/resources/selfHosted/resources/v1/resources/distributionCredentials/client/index.d.mts +1 -0
- package/dist/esm/api/resources/selfHosted/resources/v1/resources/distributionCredentials/client/index.mjs +1 -0
- package/dist/esm/api/resources/selfHosted/resources/v1/resources/distributionCredentials/client/requests/CreateProjectDistributionCredentialsV1Request.d.mts +15 -0
- package/dist/esm/api/resources/selfHosted/resources/v1/resources/distributionCredentials/client/requests/CreateProjectDistributionCredentialsV1Request.mjs +2 -0
- package/dist/esm/api/resources/selfHosted/resources/v1/resources/distributionCredentials/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/selfHosted/resources/v1/resources/distributionCredentials/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/selfHosted/resources/v1/resources/distributionCredentials/index.d.mts +2 -0
- package/dist/esm/api/resources/selfHosted/resources/v1/resources/distributionCredentials/index.mjs +2 -0
- package/dist/esm/api/resources/selfHosted/resources/v1/resources/distributionCredentials/types/DistributionCredentialsCreateRequestScopesItem.d.mts +11 -0
- package/dist/esm/api/resources/selfHosted/resources/v1/resources/distributionCredentials/types/DistributionCredentialsCreateRequestScopesItem.mjs +11 -0
- package/dist/esm/api/resources/selfHosted/resources/v1/resources/distributionCredentials/types/index.d.mts +1 -0
- package/dist/esm/api/resources/selfHosted/resources/v1/resources/distributionCredentials/types/index.mjs +1 -0
- package/dist/esm/api/resources/selfHosted/resources/v1/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/selfHosted/resources/v1/resources/index.mjs +3 -0
- package/dist/esm/api/resources/speak/client/Client.d.mts +13 -0
- package/dist/esm/api/resources/speak/client/Client.mjs +12 -0
- package/dist/esm/api/resources/speak/client/index.d.mts +1 -0
- package/dist/esm/api/resources/speak/client/index.mjs +1 -0
- package/dist/esm/api/resources/speak/index.d.mts +2 -0
- package/dist/esm/api/resources/speak/index.mjs +2 -0
- package/dist/esm/api/resources/speak/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/speak/resources/index.mjs +2 -0
- package/dist/esm/api/resources/speak/resources/v1/client/Client.d.mts +28 -0
- package/dist/esm/api/resources/speak/resources/v1/client/Client.mjs +53 -0
- package/dist/esm/api/resources/speak/resources/v1/client/Socket.d.mts +52 -0
- package/dist/esm/api/resources/speak/resources/v1/client/Socket.mjs +125 -0
- package/dist/esm/api/resources/speak/resources/v1/client/index.d.mts +1 -0
- package/dist/esm/api/resources/speak/resources/v1/client/index.mjs +1 -0
- package/dist/esm/api/resources/speak/resources/v1/index.d.mts +3 -0
- package/dist/esm/api/resources/speak/resources/v1/index.mjs +3 -0
- package/dist/esm/api/resources/speak/resources/v1/resources/audio/client/Client.d.mts +20 -0
- package/dist/esm/api/resources/speak/resources/v1/resources/audio/client/Client.mjs +112 -0
- package/dist/esm/api/resources/speak/resources/v1/resources/audio/client/index.d.mts +1 -0
- package/dist/esm/api/resources/speak/resources/v1/resources/audio/client/index.mjs +1 -0
- package/dist/esm/api/resources/speak/resources/v1/resources/audio/client/requests/SpeakV1Request.d.mts +29 -0
- package/dist/esm/api/resources/speak/resources/v1/resources/audio/client/requests/SpeakV1Request.mjs +2 -0
- package/dist/esm/api/resources/speak/resources/v1/resources/audio/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/speak/resources/v1/resources/audio/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/speak/resources/v1/resources/audio/index.d.mts +2 -0
- package/dist/esm/api/resources/speak/resources/v1/resources/audio/index.mjs +2 -0
- package/dist/esm/api/resources/speak/resources/v1/resources/audio/types/AudioGenerateRequestCallbackMethod.d.mts +5 -0
- package/dist/esm/api/resources/speak/resources/v1/resources/audio/types/AudioGenerateRequestCallbackMethod.mjs +5 -0
- package/dist/esm/api/resources/speak/resources/v1/resources/audio/types/AudioGenerateRequestContainer.d.mts +6 -0
- package/dist/esm/api/resources/speak/resources/v1/resources/audio/types/AudioGenerateRequestContainer.mjs +6 -0
- package/dist/esm/api/resources/speak/resources/v1/resources/audio/types/AudioGenerateRequestEncoding.d.mts +10 -0
- package/dist/esm/api/resources/speak/resources/v1/resources/audio/types/AudioGenerateRequestEncoding.mjs +10 -0
- package/dist/esm/api/resources/speak/resources/v1/resources/audio/types/AudioGenerateRequestModel.d.mts +66 -0
- package/dist/esm/api/resources/speak/resources/v1/resources/audio/types/AudioGenerateRequestModel.mjs +66 -0
- package/dist/esm/api/resources/speak/resources/v1/resources/audio/types/index.d.mts +4 -0
- package/dist/esm/api/resources/speak/resources/v1/resources/audio/types/index.mjs +4 -0
- package/dist/esm/api/resources/speak/resources/v1/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/speak/resources/v1/resources/index.mjs +3 -0
- package/dist/esm/api/resources/speak/resources/v1/types/SpeakV1Clear.d.mts +13 -0
- package/dist/esm/api/resources/speak/resources/v1/types/SpeakV1Clear.mjs +10 -0
- package/dist/esm/api/resources/speak/resources/v1/types/SpeakV1Cleared.d.mts +14 -0
- package/dist/esm/api/resources/speak/resources/v1/types/SpeakV1Cleared.mjs +9 -0
- package/dist/esm/api/resources/speak/resources/v1/types/SpeakV1Close.d.mts +13 -0
- package/dist/esm/api/resources/speak/resources/v1/types/SpeakV1Close.mjs +10 -0
- package/dist/esm/api/resources/speak/resources/v1/types/SpeakV1Flush.d.mts +13 -0
- package/dist/esm/api/resources/speak/resources/v1/types/SpeakV1Flush.mjs +10 -0
- package/dist/esm/api/resources/speak/resources/v1/types/SpeakV1Flushed.d.mts +14 -0
- package/dist/esm/api/resources/speak/resources/v1/types/SpeakV1Flushed.mjs +9 -0
- package/dist/esm/api/resources/speak/resources/v1/types/SpeakV1Metadata.d.mts +12 -0
- package/dist/esm/api/resources/speak/resources/v1/types/SpeakV1Metadata.mjs +2 -0
- package/dist/esm/api/resources/speak/resources/v1/types/SpeakV1Text.d.mts +6 -0
- package/dist/esm/api/resources/speak/resources/v1/types/SpeakV1Text.mjs +2 -0
- package/dist/esm/api/resources/speak/resources/v1/types/SpeakV1Warning.d.mts +8 -0
- package/dist/esm/api/resources/speak/resources/v1/types/SpeakV1Warning.mjs +2 -0
- package/dist/esm/api/resources/speak/resources/v1/types/index.d.mts +8 -0
- package/dist/esm/api/resources/speak/resources/v1/types/index.mjs +8 -0
- package/dist/esm/api/types/AgentThinkModelsV1Response.d.mts +44 -0
- package/dist/esm/api/types/AgentThinkModelsV1Response.mjs +2 -0
- package/dist/esm/api/types/BillingBreakdownV1Response.d.mts +40 -0
- package/dist/esm/api/types/BillingBreakdownV1Response.mjs +2 -0
- package/dist/esm/api/types/CreateKeyV1RequestOne.d.mts +1 -0
- package/dist/esm/api/types/CreateKeyV1RequestOne.mjs +2 -0
- package/dist/esm/api/types/CreateKeyV1Response.d.mts +17 -0
- package/dist/esm/api/types/CreateKeyV1Response.mjs +2 -0
- package/dist/esm/api/types/CreateProjectDistributionCredentialsV1Response.d.mts +24 -0
- package/dist/esm/api/types/CreateProjectDistributionCredentialsV1Response.mjs +2 -0
- package/dist/esm/api/types/CreateProjectInviteV1Response.d.mts +4 -0
- package/dist/esm/api/types/CreateProjectInviteV1Response.mjs +2 -0
- package/dist/esm/api/types/DeleteProjectInviteV1Response.d.mts +4 -0
- package/dist/esm/api/types/DeleteProjectInviteV1Response.mjs +2 -0
- package/dist/esm/api/types/DeleteProjectKeyV1Response.d.mts +3 -0
- package/dist/esm/api/types/DeleteProjectKeyV1Response.mjs +2 -0
- package/dist/esm/api/types/DeleteProjectMemberV1Response.d.mts +4 -0
- package/dist/esm/api/types/DeleteProjectMemberV1Response.mjs +2 -0
- package/dist/esm/api/types/DeleteProjectV1Response.d.mts +4 -0
- package/dist/esm/api/types/DeleteProjectV1Response.mjs +2 -0
- package/dist/esm/api/types/ErrorResponse.d.mts +2 -0
- package/dist/esm/api/types/ErrorResponse.mjs +2 -0
- package/dist/esm/api/types/ErrorResponseLegacyError.d.mts +8 -0
- package/dist/esm/api/types/ErrorResponseLegacyError.mjs +2 -0
- package/dist/esm/api/types/ErrorResponseModernError.d.mts +10 -0
- package/dist/esm/api/types/ErrorResponseModernError.mjs +2 -0
- package/dist/esm/api/types/ErrorResponseTextError.d.mts +1 -0
- package/dist/esm/api/types/ErrorResponseTextError.mjs +2 -0
- package/dist/esm/api/types/GetModelV1Response.d.mts +27 -0
- package/dist/esm/api/types/GetModelV1Response.mjs +2 -0
- package/dist/esm/api/types/GetProjectBalanceV1Response.d.mts +10 -0
- package/dist/esm/api/types/GetProjectBalanceV1Response.mjs +2 -0
- package/dist/esm/api/types/GetProjectDistributionCredentialsV1Response.d.mts +24 -0
- package/dist/esm/api/types/GetProjectDistributionCredentialsV1Response.mjs +2 -0
- package/dist/esm/api/types/GetProjectKeyV1Response.d.mts +27 -0
- package/dist/esm/api/types/GetProjectKeyV1Response.mjs +2 -0
- package/dist/esm/api/types/GetProjectRequestV1Response.d.mts +4 -0
- package/dist/esm/api/types/GetProjectRequestV1Response.mjs +2 -0
- package/dist/esm/api/types/GetProjectV1Response.d.mts +8 -0
- package/dist/esm/api/types/GetProjectV1Response.mjs +2 -0
- package/dist/esm/api/types/GrantV1Response.d.mts +6 -0
- package/dist/esm/api/types/GrantV1Response.mjs +2 -0
- package/dist/esm/api/types/LeaveProjectV1Response.d.mts +4 -0
- package/dist/esm/api/types/LeaveProjectV1Response.mjs +2 -0
- package/dist/esm/api/types/ListBillingFieldsV1Response.d.mts +22 -0
- package/dist/esm/api/types/ListBillingFieldsV1Response.mjs +13 -0
- package/dist/esm/api/types/ListModelsV1Response.d.mts +5 -0
- package/dist/esm/api/types/ListModelsV1Response.mjs +2 -0
- package/dist/esm/api/types/ListModelsV1ResponseSttModels.d.mts +11 -0
- package/dist/esm/api/types/ListModelsV1ResponseSttModels.mjs +2 -0
- package/dist/esm/api/types/ListModelsV1ResponseTtsModels.d.mts +20 -0
- package/dist/esm/api/types/ListModelsV1ResponseTtsModels.mjs +2 -0
- package/dist/esm/api/types/ListProjectBalancesV1Response.d.mts +18 -0
- package/dist/esm/api/types/ListProjectBalancesV1Response.mjs +2 -0
- package/dist/esm/api/types/ListProjectDistributionCredentialsV1Response.d.mts +33 -0
- package/dist/esm/api/types/ListProjectDistributionCredentialsV1Response.mjs +2 -0
- package/dist/esm/api/types/ListProjectInvitesV1Response.d.mts +14 -0
- package/dist/esm/api/types/ListProjectInvitesV1Response.mjs +2 -0
- package/dist/esm/api/types/ListProjectKeysV1Response.d.mts +24 -0
- package/dist/esm/api/types/ListProjectKeysV1Response.mjs +2 -0
- package/dist/esm/api/types/ListProjectMemberScopesV1Response.d.mts +4 -0
- package/dist/esm/api/types/ListProjectMemberScopesV1Response.mjs +2 -0
- package/dist/esm/api/types/ListProjectMembersV1Response.d.mts +13 -0
- package/dist/esm/api/types/ListProjectMembersV1Response.mjs +2 -0
- package/dist/esm/api/types/ListProjectPurchasesV1Response.d.mts +16 -0
- package/dist/esm/api/types/ListProjectPurchasesV1Response.mjs +2 -0
- package/dist/esm/api/types/ListProjectRequestsV1Response.d.mts +8 -0
- package/dist/esm/api/types/ListProjectRequestsV1Response.mjs +2 -0
- package/dist/esm/api/types/ListProjectsV1Response.d.mts +14 -0
- package/dist/esm/api/types/ListProjectsV1Response.mjs +2 -0
- package/dist/esm/api/types/ListenV1AcceptedResponse.d.mts +7 -0
- package/dist/esm/api/types/ListenV1AcceptedResponse.mjs +2 -0
- package/dist/esm/api/types/ListenV1Callback.d.mts +1 -0
- package/dist/esm/api/types/ListenV1Callback.mjs +2 -0
- package/dist/esm/api/types/ListenV1CallbackMethod.d.mts +8 -0
- package/dist/esm/api/types/ListenV1CallbackMethod.mjs +8 -0
- package/dist/esm/api/types/ListenV1Channels.d.mts +1 -0
- package/dist/esm/api/types/ListenV1Channels.mjs +2 -0
- package/dist/esm/api/types/ListenV1Diarize.d.mts +6 -0
- package/dist/esm/api/types/ListenV1Diarize.mjs +6 -0
- package/dist/esm/api/types/ListenV1Dictation.d.mts +6 -0
- package/dist/esm/api/types/ListenV1Dictation.mjs +6 -0
- package/dist/esm/api/types/ListenV1Encoding.d.mts +15 -0
- package/dist/esm/api/types/ListenV1Encoding.mjs +15 -0
- package/dist/esm/api/types/ListenV1Endpointing.d.mts +1 -0
- package/dist/esm/api/types/ListenV1Endpointing.mjs +2 -0
- package/dist/esm/api/types/ListenV1Extra.d.mts +1 -0
- package/dist/esm/api/types/ListenV1Extra.mjs +2 -0
- package/dist/esm/api/types/ListenV1InterimResults.d.mts +6 -0
- package/dist/esm/api/types/ListenV1InterimResults.mjs +6 -0
- package/dist/esm/api/types/ListenV1Keyterm.d.mts +1 -0
- package/dist/esm/api/types/ListenV1Keyterm.mjs +2 -0
- package/dist/esm/api/types/ListenV1Keywords.d.mts +1 -0
- package/dist/esm/api/types/ListenV1Keywords.mjs +2 -0
- package/dist/esm/api/types/ListenV1Language.d.mts +1 -0
- package/dist/esm/api/types/ListenV1Language.mjs +2 -0
- package/dist/esm/api/types/ListenV1MipOptOut.d.mts +1 -0
- package/dist/esm/api/types/ListenV1MipOptOut.mjs +2 -0
- package/dist/esm/api/types/ListenV1Model.d.mts +34 -0
- package/dist/esm/api/types/ListenV1Model.mjs +34 -0
- package/dist/esm/api/types/ListenV1Multichannel.d.mts +6 -0
- package/dist/esm/api/types/ListenV1Multichannel.mjs +6 -0
- package/dist/esm/api/types/ListenV1Numerals.d.mts +6 -0
- package/dist/esm/api/types/ListenV1Numerals.mjs +6 -0
- package/dist/esm/api/types/ListenV1ProfanityFilter.d.mts +6 -0
- package/dist/esm/api/types/ListenV1ProfanityFilter.mjs +6 -0
- package/dist/esm/api/types/ListenV1Punctuate.d.mts +6 -0
- package/dist/esm/api/types/ListenV1Punctuate.mjs +6 -0
- package/dist/esm/api/types/ListenV1Redact.d.mts +10 -0
- package/dist/esm/api/types/ListenV1Redact.mjs +10 -0
- package/dist/esm/api/types/ListenV1Replace.d.mts +1 -0
- package/dist/esm/api/types/ListenV1Replace.mjs +2 -0
- package/dist/esm/api/types/ListenV1RequestFile.d.mts +4 -0
- package/dist/esm/api/types/ListenV1RequestFile.mjs +2 -0
- package/dist/esm/api/types/ListenV1Response.d.mts +8 -0
- package/dist/esm/api/types/ListenV1Response.mjs +2 -0
- package/dist/esm/api/types/ListenV1ResponseMetadata.d.mts +37 -0
- package/dist/esm/api/types/ListenV1ResponseMetadata.mjs +2 -0
- package/dist/esm/api/types/ListenV1ResponseResults.d.mts +9 -0
- package/dist/esm/api/types/ListenV1ResponseResults.mjs +2 -0
- package/dist/esm/api/types/ListenV1ResponseResultsChannels.d.mts +2 -0
- package/dist/esm/api/types/ListenV1ResponseResultsChannels.mjs +2 -0
- package/dist/esm/api/types/ListenV1ResponseResultsChannelsItem.d.mts +90 -0
- package/dist/esm/api/types/ListenV1ResponseResultsChannelsItem.mjs +2 -0
- package/dist/esm/api/types/ListenV1ResponseResultsSummary.d.mts +4 -0
- package/dist/esm/api/types/ListenV1ResponseResultsSummary.mjs +2 -0
- package/dist/esm/api/types/ListenV1ResponseResultsUtterances.d.mts +2 -0
- package/dist/esm/api/types/ListenV1ResponseResultsUtterances.mjs +2 -0
- package/dist/esm/api/types/ListenV1ResponseResultsUtterancesItem.d.mts +24 -0
- package/dist/esm/api/types/ListenV1ResponseResultsUtterancesItem.mjs +2 -0
- package/dist/esm/api/types/ListenV1SampleRate.d.mts +1 -0
- package/dist/esm/api/types/ListenV1SampleRate.mjs +2 -0
- package/dist/esm/api/types/ListenV1Search.d.mts +1 -0
- package/dist/esm/api/types/ListenV1Search.mjs +2 -0
- package/dist/esm/api/types/ListenV1SmartFormat.d.mts +6 -0
- package/dist/esm/api/types/ListenV1SmartFormat.mjs +6 -0
- package/dist/esm/api/types/ListenV1Tag.d.mts +1 -0
- package/dist/esm/api/types/ListenV1Tag.mjs +2 -0
- package/dist/esm/api/types/ListenV1UtteranceEndMs.d.mts +1 -0
- package/dist/esm/api/types/ListenV1UtteranceEndMs.mjs +2 -0
- package/dist/esm/api/types/ListenV1VadEvents.d.mts +6 -0
- package/dist/esm/api/types/ListenV1VadEvents.mjs +6 -0
- package/dist/esm/api/types/ListenV1Version.d.mts +1 -0
- package/dist/esm/api/types/ListenV1Version.mjs +2 -0
- package/dist/esm/api/types/ListenV2EagerEotThreshold.d.mts +1 -0
- package/dist/esm/api/types/ListenV2EagerEotThreshold.mjs +2 -0
- package/dist/esm/api/types/ListenV2Encoding.d.mts +10 -0
- package/dist/esm/api/types/ListenV2Encoding.mjs +10 -0
- package/dist/esm/api/types/ListenV2EotThreshold.d.mts +1 -0
- package/dist/esm/api/types/ListenV2EotThreshold.mjs +2 -0
- package/dist/esm/api/types/ListenV2EotTimeoutMs.d.mts +1 -0
- package/dist/esm/api/types/ListenV2EotTimeoutMs.mjs +2 -0
- package/dist/esm/api/types/ListenV2Keyterm.d.mts +5 -0
- package/dist/esm/api/types/ListenV2Keyterm.mjs +2 -0
- package/dist/esm/api/types/ListenV2MipOptOut.d.mts +1 -0
- package/dist/esm/api/types/ListenV2MipOptOut.mjs +2 -0
- package/dist/esm/api/types/ListenV2Model.d.mts +4 -0
- package/dist/esm/api/types/ListenV2Model.mjs +2 -0
- package/dist/esm/api/types/ListenV2SampleRate.d.mts +1 -0
- package/dist/esm/api/types/ListenV2SampleRate.mjs +2 -0
- package/dist/esm/api/types/ListenV2Tag.d.mts +1 -0
- package/dist/esm/api/types/ListenV2Tag.mjs +2 -0
- package/dist/esm/api/types/ProjectRequestResponse.d.mts +23 -0
- package/dist/esm/api/types/ProjectRequestResponse.mjs +2 -0
- package/dist/esm/api/types/ReadV1Request.d.mts +2 -0
- package/dist/esm/api/types/ReadV1Request.mjs +2 -0
- package/dist/esm/api/types/ReadV1RequestText.d.mts +4 -0
- package/dist/esm/api/types/ReadV1RequestText.mjs +2 -0
- package/dist/esm/api/types/ReadV1RequestUrl.d.mts +4 -0
- package/dist/esm/api/types/ReadV1RequestUrl.mjs +2 -0
- package/dist/esm/api/types/ReadV1Response.d.mts +8 -0
- package/dist/esm/api/types/ReadV1Response.mjs +2 -0
- package/dist/esm/api/types/ReadV1ResponseMetadata.d.mts +36 -0
- package/dist/esm/api/types/ReadV1ResponseMetadata.mjs +2 -0
- package/dist/esm/api/types/ReadV1ResponseResults.d.mts +7 -0
- package/dist/esm/api/types/ReadV1ResponseResults.mjs +2 -0
- package/dist/esm/api/types/ReadV1ResponseResultsSummary.d.mts +16 -0
- package/dist/esm/api/types/ReadV1ResponseResultsSummary.mjs +2 -0
- package/dist/esm/api/types/SharedIntents.d.mts +36 -0
- package/dist/esm/api/types/SharedIntents.mjs +2 -0
- package/dist/esm/api/types/SharedSentiments.d.mts +23 -0
- package/dist/esm/api/types/SharedSentiments.mjs +2 -0
- package/dist/esm/api/types/SharedTopics.d.mts +36 -0
- package/dist/esm/api/types/SharedTopics.mjs +2 -0
- package/dist/esm/api/types/SpeakV1Encoding.d.mts +7 -0
- package/dist/esm/api/types/SpeakV1Encoding.mjs +7 -0
- package/dist/esm/api/types/SpeakV1MipOptOut.d.mts +1 -0
- package/dist/esm/api/types/SpeakV1MipOptOut.mjs +2 -0
- package/dist/esm/api/types/SpeakV1Model.d.mts +67 -0
- package/dist/esm/api/types/SpeakV1Model.mjs +67 -0
- package/dist/esm/api/types/SpeakV1Response.d.mts +1 -0
- package/dist/esm/api/types/SpeakV1Response.mjs +2 -0
- package/dist/esm/api/types/SpeakV1SampleRate.d.mts +9 -0
- package/dist/esm/api/types/SpeakV1SampleRate.mjs +9 -0
- package/dist/esm/api/types/UpdateProjectMemberScopesV1Response.d.mts +4 -0
- package/dist/esm/api/types/UpdateProjectMemberScopesV1Response.mjs +2 -0
- package/dist/esm/api/types/UpdateProjectV1Response.d.mts +4 -0
- package/dist/esm/api/types/UpdateProjectV1Response.mjs +2 -0
- package/dist/esm/api/types/UsageBreakdownV1Response.d.mts +58 -0
- package/dist/esm/api/types/UsageBreakdownV1Response.mjs +2 -0
- package/dist/esm/api/types/UsageFieldsV1Response.d.mts +25 -0
- package/dist/esm/api/types/UsageFieldsV1Response.mjs +2 -0
- package/dist/esm/api/types/UsageV1Response.d.mts +11 -0
- package/dist/esm/api/types/UsageV1Response.mjs +2 -0
- package/dist/esm/api/types/index.d.mts +102 -0
- package/dist/esm/api/types/index.mjs +102 -0
- package/dist/esm/auth/HeaderAuthProvider.d.mts +14 -0
- package/dist/esm/auth/HeaderAuthProvider.mjs +36 -0
- package/dist/esm/auth/index.d.mts +1 -0
- package/dist/esm/auth/index.mjs +1 -0
- package/dist/esm/core/auth/AuthProvider.d.mts +7 -0
- package/dist/esm/core/auth/AuthProvider.mjs +1 -0
- package/dist/esm/core/auth/AuthRequest.d.mts +9 -0
- package/dist/esm/core/auth/AuthRequest.mjs +1 -0
- package/dist/esm/core/auth/BasicAuth.d.mts +8 -0
- package/dist/esm/core/auth/BasicAuth.mjs +24 -0
- package/dist/esm/core/auth/BearerToken.d.mts +7 -0
- package/dist/esm/core/auth/BearerToken.mjs +13 -0
- package/dist/esm/core/auth/NoOpAuthProvider.d.mts +5 -0
- package/dist/esm/core/auth/NoOpAuthProvider.mjs +5 -0
- package/dist/esm/core/auth/index.d.mts +5 -0
- package/dist/esm/core/auth/index.mjs +3 -0
- package/dist/esm/core/base64.d.mts +2 -0
- package/dist/esm/core/base64.mjs +22 -0
- package/dist/esm/core/exports.d.mts +3 -0
- package/dist/esm/core/exports.mjs +3 -0
- package/dist/esm/core/fetcher/APIResponse.d.mts +20 -0
- package/dist/esm/core/fetcher/APIResponse.mjs +1 -0
- package/dist/esm/core/fetcher/BinaryResponse.d.mts +19 -0
- package/dist/esm/core/fetcher/BinaryResponse.mjs +14 -0
- package/dist/esm/core/fetcher/EndpointMetadata.d.mts +13 -0
- package/dist/esm/core/fetcher/EndpointMetadata.mjs +1 -0
- package/dist/esm/core/fetcher/EndpointSupplier.d.mts +12 -0
- package/dist/esm/core/fetcher/EndpointSupplier.mjs +19 -0
- package/dist/esm/core/fetcher/Fetcher.d.mts +49 -0
- package/dist/esm/core/fetcher/Fetcher.mjs +312 -0
- package/dist/esm/core/fetcher/Headers.d.mts +2 -0
- package/dist/esm/core/fetcher/Headers.mjs +82 -0
- package/dist/esm/core/fetcher/HttpResponsePromise.d.mts +58 -0
- package/dist/esm/core/fetcher/HttpResponsePromise.mjs +99 -0
- package/dist/esm/core/fetcher/RawResponse.d.mts +29 -0
- package/dist/esm/core/fetcher/RawResponse.mjs +40 -0
- package/dist/esm/core/fetcher/Supplier.d.mts +4 -0
- package/dist/esm/core/fetcher/Supplier.mjs +19 -0
- package/dist/esm/core/fetcher/createRequestUrl.d.mts +1 -0
- package/dist/esm/core/fetcher/createRequestUrl.mjs +5 -0
- package/dist/esm/core/fetcher/getErrorResponseBody.d.mts +1 -0
- package/dist/esm/core/fetcher/getErrorResponseBody.mjs +42 -0
- package/dist/esm/core/fetcher/getFetchFn.d.mts +1 -0
- package/dist/esm/core/fetcher/getFetchFn.mjs +14 -0
- package/dist/esm/core/fetcher/getHeader.d.mts +1 -0
- package/dist/esm/core/fetcher/getHeader.mjs +8 -0
- package/dist/esm/core/fetcher/getRequestBody.d.mts +7 -0
- package/dist/esm/core/fetcher/getRequestBody.mjs +24 -0
- package/dist/esm/core/fetcher/getResponseBody.d.mts +1 -0
- package/dist/esm/core/fetcher/getResponseBody.mjs +66 -0
- package/dist/esm/core/fetcher/index.d.mts +11 -0
- package/dist/esm/core/fetcher/index.mjs +6 -0
- package/dist/esm/core/fetcher/makeRequest.d.mts +1 -0
- package/dist/esm/core/fetcher/makeRequest.mjs +36 -0
- package/dist/esm/core/fetcher/requestWithRetries.d.mts +1 -0
- package/dist/esm/core/fetcher/requestWithRetries.mjs +64 -0
- package/dist/esm/core/fetcher/signals.d.mts +5 -0
- package/dist/esm/core/fetcher/signals.mjs +20 -0
- package/dist/esm/core/file/exports.d.mts +1 -0
- package/dist/esm/core/file/exports.mjs +1 -0
- package/dist/esm/core/file/file.d.mts +10 -0
- package/dist/esm/core/file/file.mjs +184 -0
- package/dist/esm/core/file/index.d.mts +2 -0
- package/dist/esm/core/file/index.mjs +2 -0
- package/dist/esm/core/file/types.d.mts +66 -0
- package/dist/esm/core/file/types.mjs +1 -0
- package/dist/esm/core/headers.d.mts +2 -0
- package/dist/esm/core/headers.mjs +27 -0
- package/dist/esm/core/index.d.mts +8 -0
- package/dist/esm/core/index.mjs +8 -0
- package/dist/esm/core/json.d.mts +15 -0
- package/dist/esm/core/json.mjs +19 -0
- package/dist/esm/core/logging/exports.d.mts +18 -0
- package/dist/esm/core/logging/exports.mjs +9 -0
- package/dist/esm/core/logging/index.d.mts +1 -0
- package/dist/esm/core/logging/index.mjs +1 -0
- package/dist/esm/core/logging/logger.d.mts +126 -0
- package/dist/esm/core/logging/logger.mjs +138 -0
- package/dist/esm/core/runtime/index.d.mts +1 -0
- package/dist/esm/core/runtime/index.mjs +1 -0
- package/dist/esm/core/runtime/runtime.d.mts +9 -0
- package/dist/esm/core/runtime/runtime.mjs +100 -0
- package/dist/esm/core/url/encodePathParam.d.mts +1 -0
- package/dist/esm/core/url/encodePathParam.mjs +18 -0
- package/dist/esm/core/url/index.d.mts +3 -0
- package/dist/esm/core/url/index.mjs +3 -0
- package/dist/esm/core/url/join.d.mts +1 -0
- package/dist/esm/core/url/join.mjs +65 -0
- package/dist/esm/core/url/qs.d.mts +6 -0
- package/dist/esm/core/url/qs.mjs +61 -0
- package/dist/esm/core/websocket/events.d.mts +36 -0
- package/dist/esm/core/websocket/events.mjs +21 -0
- package/dist/esm/core/websocket/exports.d.mts +8 -0
- package/dist/esm/core/websocket/exports.mjs +1 -0
- package/dist/esm/core/websocket/index.d.mts +1 -0
- package/dist/esm/core/websocket/index.mjs +1 -0
- package/dist/esm/core/websocket/ws.d.mts +147 -0
- package/dist/esm/core/websocket/ws.mjs +407 -0
- package/dist/esm/environments.d.mts +18 -0
- package/dist/esm/environments.mjs +13 -0
- package/dist/esm/errors/DeepgramError.d.mts +12 -0
- package/dist/esm/errors/DeepgramError.mjs +28 -0
- package/dist/esm/errors/DeepgramTimeoutError.d.mts +3 -0
- package/dist/esm/errors/DeepgramTimeoutError.mjs +11 -0
- package/dist/esm/errors/handleNonStatusCodeError.d.mts +2 -0
- package/dist/esm/errors/handleNonStatusCodeError.mjs +29 -0
- package/dist/esm/errors/index.d.mts +2 -0
- package/dist/esm/errors/index.mjs +2 -0
- package/dist/esm/exports.d.mts +1 -0
- package/dist/esm/exports.mjs +1 -0
- package/dist/esm/index.d.mts +7 -0
- package/dist/esm/index.mjs +6 -0
- package/dist/esm/version.d.mts +1 -0
- package/dist/esm/version.mjs +1 -0
- package/package.json +57 -103
- package/reference.md +2931 -0
- package/dist/main/DeepgramClient.d.ts +0 -106
- package/dist/main/DeepgramClient.d.ts.map +0 -1
- package/dist/main/DeepgramClient.js +0 -144
- package/dist/main/DeepgramClient.js.map +0 -1
- package/dist/main/index.d.ts +0 -46
- package/dist/main/index.d.ts.map +0 -1
- package/dist/main/index.js +0 -75
- package/dist/main/index.js.map +0 -1
- package/dist/main/lib/constants.d.ts +0 -24
- package/dist/main/lib/constants.d.ts.map +0 -1
- package/dist/main/lib/constants.js +0 -58
- package/dist/main/lib/constants.js.map +0 -1
- package/dist/main/lib/enums/AgentEvents.d.ts +0 -74
- package/dist/main/lib/enums/AgentEvents.d.ts.map +0 -1
- package/dist/main/lib/enums/AgentEvents.js +0 -78
- package/dist/main/lib/enums/AgentEvents.js.map +0 -1
- package/dist/main/lib/enums/LiveConnectionState.d.ts +0 -12
- package/dist/main/lib/enums/LiveConnectionState.d.ts.map +0 -1
- package/dist/main/lib/enums/LiveConnectionState.js +0 -16
- package/dist/main/lib/enums/LiveConnectionState.js.map +0 -1
- package/dist/main/lib/enums/LiveTTSEvents.d.ts +0 -34
- package/dist/main/lib/enums/LiveTTSEvents.d.ts.map +0 -1
- package/dist/main/lib/enums/LiveTTSEvents.js +0 -38
- package/dist/main/lib/enums/LiveTTSEvents.js.map +0 -1
- package/dist/main/lib/enums/LiveTranscriptionEvents.d.ts +0 -32
- package/dist/main/lib/enums/LiveTranscriptionEvents.d.ts.map +0 -1
- package/dist/main/lib/enums/LiveTranscriptionEvents.js +0 -36
- package/dist/main/lib/enums/LiveTranscriptionEvents.js.map +0 -1
- package/dist/main/lib/enums/index.d.ts +0 -5
- package/dist/main/lib/enums/index.d.ts.map +0 -1
- package/dist/main/lib/enums/index.js +0 -21
- package/dist/main/lib/enums/index.js.map +0 -1
- package/dist/main/lib/errors.d.ts +0 -55
- package/dist/main/lib/errors.d.ts.map +0 -1
- package/dist/main/lib/errors.js +0 -80
- package/dist/main/lib/errors.js.map +0 -1
- package/dist/main/lib/fetch.d.ts +0 -34
- package/dist/main/lib/fetch.d.ts.map +0 -1
- package/dist/main/lib/fetch.js +0 -92
- package/dist/main/lib/fetch.js.map +0 -1
- package/dist/main/lib/helpers.d.ts +0 -20
- package/dist/main/lib/helpers.d.ts.map +0 -1
- package/dist/main/lib/helpers.js +0 -154
- package/dist/main/lib/helpers.js.map +0 -1
- package/dist/main/lib/runtime.d.ts +0 -7
- package/dist/main/lib/runtime.d.ts.map +0 -1
- package/dist/main/lib/runtime.js +0 -19
- package/dist/main/lib/runtime.js.map +0 -1
- package/dist/main/lib/types/AgentLiveSchema.d.ts +0 -92
- package/dist/main/lib/types/AgentLiveSchema.d.ts.map +0 -1
- package/dist/main/lib/types/AgentLiveSchema.js +0 -3
- package/dist/main/lib/types/AgentLiveSchema.js.map +0 -1
- package/dist/main/lib/types/AnalyzeSchema.d.ts +0 -28
- package/dist/main/lib/types/AnalyzeSchema.d.ts.map +0 -1
- package/dist/main/lib/types/AnalyzeSchema.js +0 -3
- package/dist/main/lib/types/AnalyzeSchema.js.map +0 -1
- package/dist/main/lib/types/AsyncAnalyzeResponse.d.ts +0 -4
- package/dist/main/lib/types/AsyncAnalyzeResponse.d.ts.map +0 -1
- package/dist/main/lib/types/AsyncAnalyzeResponse.js +0 -3
- package/dist/main/lib/types/AsyncAnalyzeResponse.js.map +0 -1
- package/dist/main/lib/types/AsyncPrerecordedResponse.d.ts +0 -4
- package/dist/main/lib/types/AsyncPrerecordedResponse.d.ts.map +0 -1
- package/dist/main/lib/types/AsyncPrerecordedResponse.js +0 -3
- package/dist/main/lib/types/AsyncPrerecordedResponse.js.map +0 -1
- package/dist/main/lib/types/CreateOnPremCredentialsSchema.d.ts +0 -6
- package/dist/main/lib/types/CreateOnPremCredentialsSchema.d.ts.map +0 -1
- package/dist/main/lib/types/CreateOnPremCredentialsSchema.js +0 -3
- package/dist/main/lib/types/CreateOnPremCredentialsSchema.js.map +0 -1
- package/dist/main/lib/types/CreateProjectKeyResponse.d.ts +0 -10
- package/dist/main/lib/types/CreateProjectKeyResponse.d.ts.map +0 -1
- package/dist/main/lib/types/CreateProjectKeyResponse.js +0 -3
- package/dist/main/lib/types/CreateProjectKeyResponse.js.map +0 -1
- package/dist/main/lib/types/CreateProjectKeySchema.d.ts +0 -14
- package/dist/main/lib/types/CreateProjectKeySchema.d.ts.map +0 -1
- package/dist/main/lib/types/CreateProjectKeySchema.js +0 -3
- package/dist/main/lib/types/CreateProjectKeySchema.js.map +0 -1
- package/dist/main/lib/types/DeepgramClientOptions.d.ts +0 -90
- package/dist/main/lib/types/DeepgramClientOptions.d.ts.map +0 -1
- package/dist/main/lib/types/DeepgramClientOptions.js +0 -3
- package/dist/main/lib/types/DeepgramClientOptions.js.map +0 -1
- package/dist/main/lib/types/DeepgramResponse.d.ts +0 -12
- package/dist/main/lib/types/DeepgramResponse.d.ts.map +0 -1
- package/dist/main/lib/types/DeepgramResponse.js +0 -3
- package/dist/main/lib/types/DeepgramResponse.js.map +0 -1
- package/dist/main/lib/types/DeepgramSource.d.ts +0 -14
- package/dist/main/lib/types/DeepgramSource.d.ts.map +0 -1
- package/dist/main/lib/types/DeepgramSource.js +0 -3
- package/dist/main/lib/types/DeepgramSource.js.map +0 -1
- package/dist/main/lib/types/Fetch.d.ts +0 -7
- package/dist/main/lib/types/Fetch.d.ts.map +0 -1
- package/dist/main/lib/types/Fetch.js +0 -3
- package/dist/main/lib/types/Fetch.js.map +0 -1
- package/dist/main/lib/types/FunctionCallResponse.d.ts +0 -18
- package/dist/main/lib/types/FunctionCallResponse.d.ts.map +0 -1
- package/dist/main/lib/types/FunctionCallResponse.js +0 -3
- package/dist/main/lib/types/FunctionCallResponse.js.map +0 -1
- package/dist/main/lib/types/GetModelsResponse.d.ts +0 -24
- package/dist/main/lib/types/GetModelsResponse.d.ts.map +0 -1
- package/dist/main/lib/types/GetModelsResponse.js +0 -3
- package/dist/main/lib/types/GetModelsResponse.js.map +0 -1
- package/dist/main/lib/types/GetModelsSchema.d.ts +0 -4
- package/dist/main/lib/types/GetModelsSchema.d.ts.map +0 -1
- package/dist/main/lib/types/GetModelsSchema.js +0 -3
- package/dist/main/lib/types/GetModelsSchema.js.map +0 -1
- package/dist/main/lib/types/GetProjectBalancesResponse.d.ts +0 -10
- package/dist/main/lib/types/GetProjectBalancesResponse.d.ts.map +0 -1
- package/dist/main/lib/types/GetProjectBalancesResponse.js +0 -3
- package/dist/main/lib/types/GetProjectBalancesResponse.js.map +0 -1
- package/dist/main/lib/types/GetProjectInvitesResponse.d.ts +0 -9
- package/dist/main/lib/types/GetProjectInvitesResponse.d.ts.map +0 -1
- package/dist/main/lib/types/GetProjectInvitesResponse.js +0 -3
- package/dist/main/lib/types/GetProjectInvitesResponse.js.map +0 -1
- package/dist/main/lib/types/GetProjectKeysResponse.d.ts +0 -22
- package/dist/main/lib/types/GetProjectKeysResponse.d.ts.map +0 -1
- package/dist/main/lib/types/GetProjectKeysResponse.js +0 -3
- package/dist/main/lib/types/GetProjectKeysResponse.js.map +0 -1
- package/dist/main/lib/types/GetProjectMemberScopesResponse.d.ts +0 -4
- package/dist/main/lib/types/GetProjectMemberScopesResponse.d.ts.map +0 -1
- package/dist/main/lib/types/GetProjectMemberScopesResponse.js +0 -3
- package/dist/main/lib/types/GetProjectMemberScopesResponse.js.map +0 -1
- package/dist/main/lib/types/GetProjectMembersResponse.d.ts +0 -12
- package/dist/main/lib/types/GetProjectMembersResponse.d.ts.map +0 -1
- package/dist/main/lib/types/GetProjectMembersResponse.js +0 -3
- package/dist/main/lib/types/GetProjectMembersResponse.js.map +0 -1
- package/dist/main/lib/types/GetProjectResponse.d.ts +0 -6
- package/dist/main/lib/types/GetProjectResponse.d.ts.map +0 -1
- package/dist/main/lib/types/GetProjectResponse.js +0 -3
- package/dist/main/lib/types/GetProjectResponse.js.map +0 -1
- package/dist/main/lib/types/GetProjectUsageFieldsResponse.d.ts +0 -15
- package/dist/main/lib/types/GetProjectUsageFieldsResponse.d.ts.map +0 -1
- package/dist/main/lib/types/GetProjectUsageFieldsResponse.js +0 -3
- package/dist/main/lib/types/GetProjectUsageFieldsResponse.js.map +0 -1
- package/dist/main/lib/types/GetProjectUsageFieldsSchema.d.ts +0 -5
- package/dist/main/lib/types/GetProjectUsageFieldsSchema.d.ts.map +0 -1
- package/dist/main/lib/types/GetProjectUsageFieldsSchema.js +0 -3
- package/dist/main/lib/types/GetProjectUsageFieldsSchema.js.map +0 -1
- package/dist/main/lib/types/GetProjectUsageRequestsResponse.d.ts +0 -49
- package/dist/main/lib/types/GetProjectUsageRequestsResponse.d.ts.map +0 -1
- package/dist/main/lib/types/GetProjectUsageRequestsResponse.js +0 -3
- package/dist/main/lib/types/GetProjectUsageRequestsResponse.js.map +0 -1
- package/dist/main/lib/types/GetProjectUsageRequestsSchema.d.ts +0 -7
- package/dist/main/lib/types/GetProjectUsageRequestsSchema.d.ts.map +0 -1
- package/dist/main/lib/types/GetProjectUsageRequestsSchema.js +0 -3
- package/dist/main/lib/types/GetProjectUsageRequestsSchema.js.map +0 -1
- package/dist/main/lib/types/GetProjectUsageSummaryResponse.d.ts +0 -18
- package/dist/main/lib/types/GetProjectUsageSummaryResponse.d.ts.map +0 -1
- package/dist/main/lib/types/GetProjectUsageSummaryResponse.js +0 -3
- package/dist/main/lib/types/GetProjectUsageSummaryResponse.js.map +0 -1
- package/dist/main/lib/types/GetProjectUsageSummarySchema.d.ts +0 -24
- package/dist/main/lib/types/GetProjectUsageSummarySchema.d.ts.map +0 -1
- package/dist/main/lib/types/GetProjectUsageSummarySchema.js +0 -3
- package/dist/main/lib/types/GetProjectUsageSummarySchema.js.map +0 -1
- package/dist/main/lib/types/GetProjectsResponse.d.ts +0 -9
- package/dist/main/lib/types/GetProjectsResponse.d.ts.map +0 -1
- package/dist/main/lib/types/GetProjectsResponse.js +0 -3
- package/dist/main/lib/types/GetProjectsResponse.js.map +0 -1
- package/dist/main/lib/types/GetTokenDetailsResponse.d.ts +0 -4
- package/dist/main/lib/types/GetTokenDetailsResponse.d.ts.map +0 -1
- package/dist/main/lib/types/GetTokenDetailsResponse.js +0 -3
- package/dist/main/lib/types/GetTokenDetailsResponse.js.map +0 -1
- package/dist/main/lib/types/GrantTokenResponse.d.ts +0 -5
- package/dist/main/lib/types/GrantTokenResponse.d.ts.map +0 -1
- package/dist/main/lib/types/GrantTokenResponse.js +0 -3
- package/dist/main/lib/types/GrantTokenResponse.js.map +0 -1
- package/dist/main/lib/types/GrantTokenSchema.d.ts +0 -10
- package/dist/main/lib/types/GrantTokenSchema.d.ts.map +0 -1
- package/dist/main/lib/types/GrantTokenSchema.js +0 -3
- package/dist/main/lib/types/GrantTokenSchema.js.map +0 -1
- package/dist/main/lib/types/ListOnPremCredentialsResponse.d.ts +0 -17
- package/dist/main/lib/types/ListOnPremCredentialsResponse.d.ts.map +0 -1
- package/dist/main/lib/types/ListOnPremCredentialsResponse.js +0 -3
- package/dist/main/lib/types/ListOnPremCredentialsResponse.js.map +0 -1
- package/dist/main/lib/types/LiveConfigOptions.d.ts +0 -7
- package/dist/main/lib/types/LiveConfigOptions.d.ts.map +0 -1
- package/dist/main/lib/types/LiveConfigOptions.js +0 -3
- package/dist/main/lib/types/LiveConfigOptions.js.map +0 -1
- package/dist/main/lib/types/LiveMetadataEvent.d.ts +0 -10
- package/dist/main/lib/types/LiveMetadataEvent.d.ts.map +0 -1
- package/dist/main/lib/types/LiveMetadataEvent.js +0 -3
- package/dist/main/lib/types/LiveMetadataEvent.js.map +0 -1
- package/dist/main/lib/types/LiveTranscriptionEvent.d.ts +0 -35
- package/dist/main/lib/types/LiveTranscriptionEvent.d.ts.map +0 -1
- package/dist/main/lib/types/LiveTranscriptionEvent.js +0 -3
- package/dist/main/lib/types/LiveTranscriptionEvent.js.map +0 -1
- package/dist/main/lib/types/MessageResponse.d.ts +0 -4
- package/dist/main/lib/types/MessageResponse.d.ts.map +0 -1
- package/dist/main/lib/types/MessageResponse.js +0 -3
- package/dist/main/lib/types/MessageResponse.js.map +0 -1
- package/dist/main/lib/types/SendProjectInviteSchema.d.ts +0 -5
- package/dist/main/lib/types/SendProjectInviteSchema.d.ts.map +0 -1
- package/dist/main/lib/types/SendProjectInviteSchema.js +0 -3
- package/dist/main/lib/types/SendProjectInviteSchema.js.map +0 -1
- package/dist/main/lib/types/SpeakSchema.d.ts +0 -25
- package/dist/main/lib/types/SpeakSchema.d.ts.map +0 -1
- package/dist/main/lib/types/SpeakSchema.js +0 -3
- package/dist/main/lib/types/SpeakSchema.js.map +0 -1
- package/dist/main/lib/types/SpeechStartedEvent.d.ts +0 -6
- package/dist/main/lib/types/SpeechStartedEvent.d.ts.map +0 -1
- package/dist/main/lib/types/SpeechStartedEvent.js +0 -3
- package/dist/main/lib/types/SpeechStartedEvent.js.map +0 -1
- package/dist/main/lib/types/SyncAnalyzeResponse.d.ts +0 -79
- package/dist/main/lib/types/SyncAnalyzeResponse.d.ts.map +0 -1
- package/dist/main/lib/types/SyncAnalyzeResponse.js +0 -3
- package/dist/main/lib/types/SyncAnalyzeResponse.js.map +0 -1
- package/dist/main/lib/types/SyncPrerecordedResponse.d.ts +0 -186
- package/dist/main/lib/types/SyncPrerecordedResponse.d.ts.map +0 -1
- package/dist/main/lib/types/SyncPrerecordedResponse.js +0 -3
- package/dist/main/lib/types/SyncPrerecordedResponse.js.map +0 -1
- package/dist/main/lib/types/TranscriptionSchema.d.ts +0 -201
- package/dist/main/lib/types/TranscriptionSchema.d.ts.map +0 -1
- package/dist/main/lib/types/TranscriptionSchema.js +0 -3
- package/dist/main/lib/types/TranscriptionSchema.js.map +0 -1
- package/dist/main/lib/types/UpdateProjectMemberScopeSchema.d.ts +0 -4
- package/dist/main/lib/types/UpdateProjectMemberScopeSchema.d.ts.map +0 -1
- package/dist/main/lib/types/UpdateProjectMemberScopeSchema.js +0 -3
- package/dist/main/lib/types/UpdateProjectMemberScopeSchema.js.map +0 -1
- package/dist/main/lib/types/UpdateProjectSchema.d.ts +0 -5
- package/dist/main/lib/types/UpdateProjectSchema.d.ts.map +0 -1
- package/dist/main/lib/types/UpdateProjectSchema.js +0 -3
- package/dist/main/lib/types/UpdateProjectSchema.js.map +0 -1
- package/dist/main/lib/types/UtteranceEndEvent.d.ts +0 -6
- package/dist/main/lib/types/UtteranceEndEvent.d.ts.map +0 -1
- package/dist/main/lib/types/UtteranceEndEvent.js +0 -3
- package/dist/main/lib/types/UtteranceEndEvent.js.map +0 -1
- package/dist/main/lib/types/VoidResponse.d.ts +0 -10
- package/dist/main/lib/types/VoidResponse.d.ts.map +0 -1
- package/dist/main/lib/types/VoidResponse.js +0 -3
- package/dist/main/lib/types/VoidResponse.js.map +0 -1
- package/dist/main/lib/types/index.d.ts +0 -46
- package/dist/main/lib/types/index.d.ts.map +0 -1
- package/dist/main/lib/types/index.js +0 -62
- package/dist/main/lib/types/index.js.map +0 -1
- package/dist/main/lib/version.d.ts +0 -2
- package/dist/main/lib/version.d.ts.map +0 -1
- package/dist/main/lib/version.js +0 -5
- package/dist/main/lib/version.js.map +0 -1
- package/dist/main/packages/AbstractClient.d.ts +0 -71
- package/dist/main/packages/AbstractClient.d.ts.map +0 -1
- package/dist/main/packages/AbstractClient.js +0 -138
- package/dist/main/packages/AbstractClient.js.map +0 -1
- package/dist/main/packages/AbstractLiveClient.d.ts +0 -277
- package/dist/main/packages/AbstractLiveClient.d.ts.map +0 -1
- package/dist/main/packages/AbstractLiveClient.js +0 -439
- package/dist/main/packages/AbstractLiveClient.js.map +0 -1
- package/dist/main/packages/AbstractRestClient.d.ts +0 -106
- package/dist/main/packages/AbstractRestClient.d.ts.map +0 -1
- package/dist/main/packages/AbstractRestClient.js +0 -186
- package/dist/main/packages/AbstractRestClient.js.map +0 -1
- package/dist/main/packages/AgentLiveClient.d.ts +0 -78
- package/dist/main/packages/AgentLiveClient.d.ts.map +0 -1
- package/dist/main/packages/AgentLiveClient.js +0 -163
- package/dist/main/packages/AgentLiveClient.js.map +0 -1
- package/dist/main/packages/AuthRestClient.d.ts +0 -15
- package/dist/main/packages/AuthRestClient.d.ts.map +0 -1
- package/dist/main/packages/AuthRestClient.js +0 -46
- package/dist/main/packages/AuthRestClient.js.map +0 -1
- package/dist/main/packages/ListenClient.d.ts +0 -26
- package/dist/main/packages/ListenClient.d.ts.map +0 -1
- package/dist/main/packages/ListenClient.js +0 -36
- package/dist/main/packages/ListenClient.js.map +0 -1
- package/dist/main/packages/ListenLiveClient.d.ts +0 -62
- package/dist/main/packages/ListenLiveClient.d.ts.map +0 -1
- package/dist/main/packages/ListenLiveClient.js +0 -130
- package/dist/main/packages/ListenLiveClient.js.map +0 -1
- package/dist/main/packages/ListenRestClient.d.ts +0 -57
- package/dist/main/packages/ListenRestClient.d.ts.map +0 -1
- package/dist/main/packages/ListenRestClient.js +0 -171
- package/dist/main/packages/ListenRestClient.js.map +0 -1
- package/dist/main/packages/ManageRestClient.d.ts +0 -301
- package/dist/main/packages/ManageRestClient.d.ts.map +0 -1
- package/dist/main/packages/ManageRestClient.js +0 -671
- package/dist/main/packages/ManageRestClient.js.map +0 -1
- package/dist/main/packages/ModelsRestClient.d.ts +0 -53
- package/dist/main/packages/ModelsRestClient.d.ts.map +0 -1
- package/dist/main/packages/ModelsRestClient.js +0 -97
- package/dist/main/packages/ModelsRestClient.js.map +0 -1
- package/dist/main/packages/ReadRestClient.d.ts +0 -57
- package/dist/main/packages/ReadRestClient.d.ts.map +0 -1
- package/dist/main/packages/ReadRestClient.js +0 -165
- package/dist/main/packages/ReadRestClient.js.map +0 -1
- package/dist/main/packages/SelfHostedRestClient.d.ts +0 -47
- package/dist/main/packages/SelfHostedRestClient.d.ts.map +0 -1
- package/dist/main/packages/SelfHostedRestClient.js +0 -120
- package/dist/main/packages/SelfHostedRestClient.js.map +0 -1
- package/dist/main/packages/SpeakClient.d.ts +0 -27
- package/dist/main/packages/SpeakClient.d.ts.map +0 -1
- package/dist/main/packages/SpeakClient.js +0 -37
- package/dist/main/packages/SpeakClient.js.map +0 -1
- package/dist/main/packages/SpeakLiveClient.d.ts +0 -69
- package/dist/main/packages/SpeakLiveClient.d.ts.map +0 -1
- package/dist/main/packages/SpeakLiveClient.js +0 -159
- package/dist/main/packages/SpeakLiveClient.js.map +0 -1
- package/dist/main/packages/SpeakRestClient.d.ts +0 -35
- package/dist/main/packages/SpeakRestClient.d.ts.map +0 -1
- package/dist/main/packages/SpeakRestClient.js +0 -78
- package/dist/main/packages/SpeakRestClient.js.map +0 -1
- package/dist/main/packages/index.d.ts +0 -16
- package/dist/main/packages/index.d.ts.map +0 -1
- package/dist/main/packages/index.js +0 -32
- package/dist/main/packages/index.js.map +0 -1
- package/dist/module/DeepgramClient.d.ts +0 -106
- package/dist/module/DeepgramClient.d.ts.map +0 -1
- package/dist/module/DeepgramClient.js +0 -141
- package/dist/module/DeepgramClient.js.map +0 -1
- package/dist/module/index.d.ts +0 -46
- package/dist/module/index.d.ts.map +0 -1
- package/dist/module/index.js +0 -51
- package/dist/module/index.js.map +0 -1
- package/dist/module/lib/constants.d.ts +0 -24
- package/dist/module/lib/constants.d.ts.map +0 -1
- package/dist/module/lib/constants.js +0 -55
- package/dist/module/lib/constants.js.map +0 -1
- package/dist/module/lib/enums/AgentEvents.d.ts +0 -74
- package/dist/module/lib/enums/AgentEvents.d.ts.map +0 -1
- package/dist/module/lib/enums/AgentEvents.js +0 -75
- package/dist/module/lib/enums/AgentEvents.js.map +0 -1
- package/dist/module/lib/enums/LiveConnectionState.d.ts +0 -12
- package/dist/module/lib/enums/LiveConnectionState.d.ts.map +0 -1
- package/dist/module/lib/enums/LiveConnectionState.js +0 -13
- package/dist/module/lib/enums/LiveConnectionState.js.map +0 -1
- package/dist/module/lib/enums/LiveTTSEvents.d.ts +0 -34
- package/dist/module/lib/enums/LiveTTSEvents.d.ts.map +0 -1
- package/dist/module/lib/enums/LiveTTSEvents.js +0 -35
- package/dist/module/lib/enums/LiveTTSEvents.js.map +0 -1
- package/dist/module/lib/enums/LiveTranscriptionEvents.d.ts +0 -32
- package/dist/module/lib/enums/LiveTranscriptionEvents.d.ts.map +0 -1
- package/dist/module/lib/enums/LiveTranscriptionEvents.js +0 -33
- package/dist/module/lib/enums/LiveTranscriptionEvents.js.map +0 -1
- package/dist/module/lib/enums/index.d.ts +0 -5
- package/dist/module/lib/enums/index.d.ts.map +0 -1
- package/dist/module/lib/enums/index.js +0 -5
- package/dist/module/lib/enums/index.js.map +0 -1
- package/dist/module/lib/errors.d.ts +0 -55
- package/dist/module/lib/errors.d.ts.map +0 -1
- package/dist/module/lib/errors.js +0 -71
- package/dist/module/lib/errors.js.map +0 -1
- package/dist/module/lib/fetch.d.ts +0 -34
- package/dist/module/lib/fetch.d.ts.map +0 -1
- package/dist/module/lib/fetch.js +0 -60
- package/dist/module/lib/fetch.js.map +0 -1
- package/dist/module/lib/helpers.d.ts +0 -20
- package/dist/module/lib/helpers.d.ts.map +0 -1
- package/dist/module/lib/helpers.js +0 -135
- package/dist/module/lib/helpers.js.map +0 -1
- package/dist/module/lib/runtime.d.ts +0 -7
- package/dist/module/lib/runtime.d.ts.map +0 -1
- package/dist/module/lib/runtime.js +0 -13
- package/dist/module/lib/runtime.js.map +0 -1
- package/dist/module/lib/types/AgentLiveSchema.d.ts +0 -92
- package/dist/module/lib/types/AgentLiveSchema.d.ts.map +0 -1
- package/dist/module/lib/types/AgentLiveSchema.js +0 -2
- package/dist/module/lib/types/AgentLiveSchema.js.map +0 -1
- package/dist/module/lib/types/AnalyzeSchema.d.ts +0 -28
- package/dist/module/lib/types/AnalyzeSchema.d.ts.map +0 -1
- package/dist/module/lib/types/AnalyzeSchema.js +0 -2
- package/dist/module/lib/types/AnalyzeSchema.js.map +0 -1
- package/dist/module/lib/types/AsyncAnalyzeResponse.d.ts +0 -4
- package/dist/module/lib/types/AsyncAnalyzeResponse.d.ts.map +0 -1
- package/dist/module/lib/types/AsyncAnalyzeResponse.js +0 -2
- package/dist/module/lib/types/AsyncAnalyzeResponse.js.map +0 -1
- package/dist/module/lib/types/AsyncPrerecordedResponse.d.ts +0 -4
- package/dist/module/lib/types/AsyncPrerecordedResponse.d.ts.map +0 -1
- package/dist/module/lib/types/AsyncPrerecordedResponse.js +0 -2
- package/dist/module/lib/types/AsyncPrerecordedResponse.js.map +0 -1
- package/dist/module/lib/types/CreateOnPremCredentialsSchema.d.ts +0 -6
- package/dist/module/lib/types/CreateOnPremCredentialsSchema.d.ts.map +0 -1
- package/dist/module/lib/types/CreateOnPremCredentialsSchema.js +0 -2
- package/dist/module/lib/types/CreateOnPremCredentialsSchema.js.map +0 -1
- package/dist/module/lib/types/CreateProjectKeyResponse.d.ts +0 -10
- package/dist/module/lib/types/CreateProjectKeyResponse.d.ts.map +0 -1
- package/dist/module/lib/types/CreateProjectKeyResponse.js +0 -2
- package/dist/module/lib/types/CreateProjectKeyResponse.js.map +0 -1
- package/dist/module/lib/types/CreateProjectKeySchema.d.ts +0 -14
- package/dist/module/lib/types/CreateProjectKeySchema.d.ts.map +0 -1
- package/dist/module/lib/types/CreateProjectKeySchema.js +0 -2
- package/dist/module/lib/types/CreateProjectKeySchema.js.map +0 -1
- package/dist/module/lib/types/DeepgramClientOptions.d.ts +0 -90
- package/dist/module/lib/types/DeepgramClientOptions.d.ts.map +0 -1
- package/dist/module/lib/types/DeepgramClientOptions.js +0 -2
- package/dist/module/lib/types/DeepgramClientOptions.js.map +0 -1
- package/dist/module/lib/types/DeepgramResponse.d.ts +0 -12
- package/dist/module/lib/types/DeepgramResponse.d.ts.map +0 -1
- package/dist/module/lib/types/DeepgramResponse.js +0 -2
- package/dist/module/lib/types/DeepgramResponse.js.map +0 -1
- package/dist/module/lib/types/DeepgramSource.d.ts +0 -14
- package/dist/module/lib/types/DeepgramSource.d.ts.map +0 -1
- package/dist/module/lib/types/DeepgramSource.js +0 -2
- package/dist/module/lib/types/DeepgramSource.js.map +0 -1
- package/dist/module/lib/types/Fetch.d.ts +0 -7
- package/dist/module/lib/types/Fetch.d.ts.map +0 -1
- package/dist/module/lib/types/Fetch.js +0 -2
- package/dist/module/lib/types/Fetch.js.map +0 -1
- package/dist/module/lib/types/FunctionCallResponse.d.ts +0 -18
- package/dist/module/lib/types/FunctionCallResponse.d.ts.map +0 -1
- package/dist/module/lib/types/FunctionCallResponse.js +0 -2
- package/dist/module/lib/types/FunctionCallResponse.js.map +0 -1
- package/dist/module/lib/types/GetModelsResponse.d.ts +0 -24
- package/dist/module/lib/types/GetModelsResponse.d.ts.map +0 -1
- package/dist/module/lib/types/GetModelsResponse.js +0 -2
- package/dist/module/lib/types/GetModelsResponse.js.map +0 -1
- package/dist/module/lib/types/GetModelsSchema.d.ts +0 -4
- package/dist/module/lib/types/GetModelsSchema.d.ts.map +0 -1
- package/dist/module/lib/types/GetModelsSchema.js +0 -2
- package/dist/module/lib/types/GetModelsSchema.js.map +0 -1
- package/dist/module/lib/types/GetProjectBalancesResponse.d.ts +0 -10
- package/dist/module/lib/types/GetProjectBalancesResponse.d.ts.map +0 -1
- package/dist/module/lib/types/GetProjectBalancesResponse.js +0 -2
- package/dist/module/lib/types/GetProjectBalancesResponse.js.map +0 -1
- package/dist/module/lib/types/GetProjectInvitesResponse.d.ts +0 -9
- package/dist/module/lib/types/GetProjectInvitesResponse.d.ts.map +0 -1
- package/dist/module/lib/types/GetProjectInvitesResponse.js +0 -2
- package/dist/module/lib/types/GetProjectInvitesResponse.js.map +0 -1
- package/dist/module/lib/types/GetProjectKeysResponse.d.ts +0 -22
- package/dist/module/lib/types/GetProjectKeysResponse.d.ts.map +0 -1
- package/dist/module/lib/types/GetProjectKeysResponse.js +0 -2
- package/dist/module/lib/types/GetProjectKeysResponse.js.map +0 -1
- package/dist/module/lib/types/GetProjectMemberScopesResponse.d.ts +0 -4
- package/dist/module/lib/types/GetProjectMemberScopesResponse.d.ts.map +0 -1
- package/dist/module/lib/types/GetProjectMemberScopesResponse.js +0 -2
- package/dist/module/lib/types/GetProjectMemberScopesResponse.js.map +0 -1
- package/dist/module/lib/types/GetProjectMembersResponse.d.ts +0 -12
- package/dist/module/lib/types/GetProjectMembersResponse.d.ts.map +0 -1
- package/dist/module/lib/types/GetProjectMembersResponse.js +0 -2
- package/dist/module/lib/types/GetProjectMembersResponse.js.map +0 -1
- package/dist/module/lib/types/GetProjectResponse.d.ts +0 -6
- package/dist/module/lib/types/GetProjectResponse.d.ts.map +0 -1
- package/dist/module/lib/types/GetProjectResponse.js +0 -2
- package/dist/module/lib/types/GetProjectResponse.js.map +0 -1
- package/dist/module/lib/types/GetProjectUsageFieldsResponse.d.ts +0 -15
- package/dist/module/lib/types/GetProjectUsageFieldsResponse.d.ts.map +0 -1
- package/dist/module/lib/types/GetProjectUsageFieldsResponse.js +0 -2
- package/dist/module/lib/types/GetProjectUsageFieldsResponse.js.map +0 -1
- package/dist/module/lib/types/GetProjectUsageFieldsSchema.d.ts +0 -5
- package/dist/module/lib/types/GetProjectUsageFieldsSchema.d.ts.map +0 -1
- package/dist/module/lib/types/GetProjectUsageFieldsSchema.js +0 -2
- package/dist/module/lib/types/GetProjectUsageFieldsSchema.js.map +0 -1
- package/dist/module/lib/types/GetProjectUsageRequestsResponse.d.ts +0 -49
- package/dist/module/lib/types/GetProjectUsageRequestsResponse.d.ts.map +0 -1
- package/dist/module/lib/types/GetProjectUsageRequestsResponse.js +0 -2
- package/dist/module/lib/types/GetProjectUsageRequestsResponse.js.map +0 -1
- package/dist/module/lib/types/GetProjectUsageRequestsSchema.d.ts +0 -7
- package/dist/module/lib/types/GetProjectUsageRequestsSchema.d.ts.map +0 -1
- package/dist/module/lib/types/GetProjectUsageRequestsSchema.js +0 -2
- package/dist/module/lib/types/GetProjectUsageRequestsSchema.js.map +0 -1
- package/dist/module/lib/types/GetProjectUsageSummaryResponse.d.ts +0 -18
- package/dist/module/lib/types/GetProjectUsageSummaryResponse.d.ts.map +0 -1
- package/dist/module/lib/types/GetProjectUsageSummaryResponse.js +0 -2
- package/dist/module/lib/types/GetProjectUsageSummaryResponse.js.map +0 -1
- package/dist/module/lib/types/GetProjectUsageSummarySchema.d.ts +0 -24
- package/dist/module/lib/types/GetProjectUsageSummarySchema.d.ts.map +0 -1
- package/dist/module/lib/types/GetProjectUsageSummarySchema.js +0 -2
- package/dist/module/lib/types/GetProjectUsageSummarySchema.js.map +0 -1
- package/dist/module/lib/types/GetProjectsResponse.d.ts +0 -9
- package/dist/module/lib/types/GetProjectsResponse.d.ts.map +0 -1
- package/dist/module/lib/types/GetProjectsResponse.js +0 -2
- package/dist/module/lib/types/GetProjectsResponse.js.map +0 -1
- package/dist/module/lib/types/GetTokenDetailsResponse.d.ts +0 -4
- package/dist/module/lib/types/GetTokenDetailsResponse.d.ts.map +0 -1
- package/dist/module/lib/types/GetTokenDetailsResponse.js +0 -2
- package/dist/module/lib/types/GetTokenDetailsResponse.js.map +0 -1
- package/dist/module/lib/types/GrantTokenResponse.d.ts +0 -5
- package/dist/module/lib/types/GrantTokenResponse.d.ts.map +0 -1
- package/dist/module/lib/types/GrantTokenResponse.js +0 -2
- package/dist/module/lib/types/GrantTokenResponse.js.map +0 -1
- package/dist/module/lib/types/GrantTokenSchema.d.ts +0 -10
- package/dist/module/lib/types/GrantTokenSchema.d.ts.map +0 -1
- package/dist/module/lib/types/GrantTokenSchema.js +0 -2
- package/dist/module/lib/types/GrantTokenSchema.js.map +0 -1
- package/dist/module/lib/types/ListOnPremCredentialsResponse.d.ts +0 -17
- package/dist/module/lib/types/ListOnPremCredentialsResponse.d.ts.map +0 -1
- package/dist/module/lib/types/ListOnPremCredentialsResponse.js +0 -2
- package/dist/module/lib/types/ListOnPremCredentialsResponse.js.map +0 -1
- package/dist/module/lib/types/LiveConfigOptions.d.ts +0 -7
- package/dist/module/lib/types/LiveConfigOptions.d.ts.map +0 -1
- package/dist/module/lib/types/LiveConfigOptions.js +0 -2
- package/dist/module/lib/types/LiveConfigOptions.js.map +0 -1
- package/dist/module/lib/types/LiveMetadataEvent.d.ts +0 -10
- package/dist/module/lib/types/LiveMetadataEvent.d.ts.map +0 -1
- package/dist/module/lib/types/LiveMetadataEvent.js +0 -2
- package/dist/module/lib/types/LiveMetadataEvent.js.map +0 -1
- package/dist/module/lib/types/LiveTranscriptionEvent.d.ts +0 -35
- package/dist/module/lib/types/LiveTranscriptionEvent.d.ts.map +0 -1
- package/dist/module/lib/types/LiveTranscriptionEvent.js +0 -2
- package/dist/module/lib/types/LiveTranscriptionEvent.js.map +0 -1
- package/dist/module/lib/types/MessageResponse.d.ts +0 -4
- package/dist/module/lib/types/MessageResponse.d.ts.map +0 -1
- package/dist/module/lib/types/MessageResponse.js +0 -2
- package/dist/module/lib/types/MessageResponse.js.map +0 -1
- package/dist/module/lib/types/SendProjectInviteSchema.d.ts +0 -5
- package/dist/module/lib/types/SendProjectInviteSchema.d.ts.map +0 -1
- package/dist/module/lib/types/SendProjectInviteSchema.js +0 -2
- package/dist/module/lib/types/SendProjectInviteSchema.js.map +0 -1
- package/dist/module/lib/types/SpeakSchema.d.ts +0 -25
- package/dist/module/lib/types/SpeakSchema.d.ts.map +0 -1
- package/dist/module/lib/types/SpeakSchema.js +0 -2
- package/dist/module/lib/types/SpeakSchema.js.map +0 -1
- package/dist/module/lib/types/SpeechStartedEvent.d.ts +0 -6
- package/dist/module/lib/types/SpeechStartedEvent.d.ts.map +0 -1
- package/dist/module/lib/types/SpeechStartedEvent.js +0 -2
- package/dist/module/lib/types/SpeechStartedEvent.js.map +0 -1
- package/dist/module/lib/types/SyncAnalyzeResponse.d.ts +0 -79
- package/dist/module/lib/types/SyncAnalyzeResponse.d.ts.map +0 -1
- package/dist/module/lib/types/SyncAnalyzeResponse.js +0 -2
- package/dist/module/lib/types/SyncAnalyzeResponse.js.map +0 -1
- package/dist/module/lib/types/SyncPrerecordedResponse.d.ts +0 -186
- package/dist/module/lib/types/SyncPrerecordedResponse.d.ts.map +0 -1
- package/dist/module/lib/types/SyncPrerecordedResponse.js +0 -2
- package/dist/module/lib/types/SyncPrerecordedResponse.js.map +0 -1
- package/dist/module/lib/types/TranscriptionSchema.d.ts +0 -201
- package/dist/module/lib/types/TranscriptionSchema.d.ts.map +0 -1
- package/dist/module/lib/types/TranscriptionSchema.js +0 -2
- package/dist/module/lib/types/TranscriptionSchema.js.map +0 -1
- package/dist/module/lib/types/UpdateProjectMemberScopeSchema.d.ts +0 -4
- package/dist/module/lib/types/UpdateProjectMemberScopeSchema.d.ts.map +0 -1
- package/dist/module/lib/types/UpdateProjectMemberScopeSchema.js +0 -2
- package/dist/module/lib/types/UpdateProjectMemberScopeSchema.js.map +0 -1
- package/dist/module/lib/types/UpdateProjectSchema.d.ts +0 -5
- package/dist/module/lib/types/UpdateProjectSchema.d.ts.map +0 -1
- package/dist/module/lib/types/UpdateProjectSchema.js +0 -2
- package/dist/module/lib/types/UpdateProjectSchema.js.map +0 -1
- package/dist/module/lib/types/UtteranceEndEvent.d.ts +0 -6
- package/dist/module/lib/types/UtteranceEndEvent.d.ts.map +0 -1
- package/dist/module/lib/types/UtteranceEndEvent.js +0 -2
- package/dist/module/lib/types/UtteranceEndEvent.js.map +0 -1
- package/dist/module/lib/types/VoidResponse.d.ts +0 -10
- package/dist/module/lib/types/VoidResponse.d.ts.map +0 -1
- package/dist/module/lib/types/VoidResponse.js +0 -2
- package/dist/module/lib/types/VoidResponse.js.map +0 -1
- package/dist/module/lib/types/index.d.ts +0 -46
- package/dist/module/lib/types/index.d.ts.map +0 -1
- package/dist/module/lib/types/index.js +0 -46
- package/dist/module/lib/types/index.js.map +0 -1
- package/dist/module/lib/version.d.ts +0 -2
- package/dist/module/lib/version.d.ts.map +0 -1
- package/dist/module/lib/version.js +0 -2
- package/dist/module/lib/version.js.map +0 -1
- package/dist/module/packages/AbstractClient.d.ts +0 -71
- package/dist/module/packages/AbstractClient.d.ts.map +0 -1
- package/dist/module/packages/AbstractClient.js +0 -133
- package/dist/module/packages/AbstractClient.js.map +0 -1
- package/dist/module/packages/AbstractLiveClient.d.ts +0 -277
- package/dist/module/packages/AbstractLiveClient.d.ts.map +0 -1
- package/dist/module/packages/AbstractLiveClient.js +0 -412
- package/dist/module/packages/AbstractLiveClient.js.map +0 -1
- package/dist/module/packages/AbstractRestClient.d.ts +0 -106
- package/dist/module/packages/AbstractRestClient.d.ts.map +0 -1
- package/dist/module/packages/AbstractRestClient.js +0 -179
- package/dist/module/packages/AbstractRestClient.js.map +0 -1
- package/dist/module/packages/AgentLiveClient.d.ts +0 -78
- package/dist/module/packages/AgentLiveClient.d.ts.map +0 -1
- package/dist/module/packages/AgentLiveClient.js +0 -159
- package/dist/module/packages/AgentLiveClient.js.map +0 -1
- package/dist/module/packages/AuthRestClient.d.ts +0 -15
- package/dist/module/packages/AuthRestClient.d.ts.map +0 -1
- package/dist/module/packages/AuthRestClient.js +0 -42
- package/dist/module/packages/AuthRestClient.js.map +0 -1
- package/dist/module/packages/ListenClient.d.ts +0 -26
- package/dist/module/packages/ListenClient.d.ts.map +0 -1
- package/dist/module/packages/ListenClient.js +0 -32
- package/dist/module/packages/ListenClient.js.map +0 -1
- package/dist/module/packages/ListenLiveClient.d.ts +0 -62
- package/dist/module/packages/ListenLiveClient.d.ts.map +0 -1
- package/dist/module/packages/ListenLiveClient.js +0 -126
- package/dist/module/packages/ListenLiveClient.js.map +0 -1
- package/dist/module/packages/ListenRestClient.d.ts +0 -57
- package/dist/module/packages/ListenRestClient.d.ts.map +0 -1
- package/dist/module/packages/ListenRestClient.js +0 -167
- package/dist/module/packages/ListenRestClient.js.map +0 -1
- package/dist/module/packages/ManageRestClient.d.ts +0 -301
- package/dist/module/packages/ManageRestClient.d.ts.map +0 -1
- package/dist/module/packages/ManageRestClient.js +0 -667
- package/dist/module/packages/ManageRestClient.js.map +0 -1
- package/dist/module/packages/ModelsRestClient.d.ts +0 -53
- package/dist/module/packages/ModelsRestClient.d.ts.map +0 -1
- package/dist/module/packages/ModelsRestClient.js +0 -93
- package/dist/module/packages/ModelsRestClient.js.map +0 -1
- package/dist/module/packages/ReadRestClient.d.ts +0 -57
- package/dist/module/packages/ReadRestClient.d.ts.map +0 -1
- package/dist/module/packages/ReadRestClient.js +0 -161
- package/dist/module/packages/ReadRestClient.js.map +0 -1
- package/dist/module/packages/SelfHostedRestClient.d.ts +0 -47
- package/dist/module/packages/SelfHostedRestClient.d.ts.map +0 -1
- package/dist/module/packages/SelfHostedRestClient.js +0 -116
- package/dist/module/packages/SelfHostedRestClient.js.map +0 -1
- package/dist/module/packages/SpeakClient.d.ts +0 -27
- package/dist/module/packages/SpeakClient.d.ts.map +0 -1
- package/dist/module/packages/SpeakClient.js +0 -33
- package/dist/module/packages/SpeakClient.js.map +0 -1
- package/dist/module/packages/SpeakLiveClient.d.ts +0 -69
- package/dist/module/packages/SpeakLiveClient.d.ts.map +0 -1
- package/dist/module/packages/SpeakLiveClient.js +0 -155
- package/dist/module/packages/SpeakLiveClient.js.map +0 -1
- package/dist/module/packages/SpeakRestClient.d.ts +0 -35
- package/dist/module/packages/SpeakRestClient.d.ts.map +0 -1
- package/dist/module/packages/SpeakRestClient.js +0 -74
- package/dist/module/packages/SpeakRestClient.js.map +0 -1
- package/dist/module/packages/index.d.ts +0 -16
- package/dist/module/packages/index.d.ts.map +0 -1
- package/dist/module/packages/index.js +0 -16
- package/dist/module/packages/index.js.map +0 -1
- package/dist/umd/deepgram.js +0 -1
- package/src/DeepgramClient.ts +0 -167
- package/src/index.ts +0 -68
- package/src/lib/constants.ts +0 -58
- package/src/lib/enums/AgentEvents.ts +0 -74
- package/src/lib/enums/LiveConnectionState.ts +0 -13
- package/src/lib/enums/LiveTTSEvents.ts +0 -36
- package/src/lib/enums/LiveTranscriptionEvents.ts +0 -33
- package/src/lib/enums/index.ts +0 -4
- package/src/lib/errors.ts +0 -102
- package/src/lib/fetch.ts +0 -68
- package/src/lib/helpers.ts +0 -180
- package/src/lib/runtime.ts +0 -20
- package/src/lib/types/AgentLiveSchema.ts +0 -92
- package/src/lib/types/AnalyzeSchema.ts +0 -39
- package/src/lib/types/AsyncAnalyzeResponse.ts +0 -3
- package/src/lib/types/AsyncPrerecordedResponse.ts +0 -3
- package/src/lib/types/CreateOnPremCredentialsSchema.ts +0 -5
- package/src/lib/types/CreateProjectKeyResponse.ts +0 -9
- package/src/lib/types/CreateProjectKeySchema.ts +0 -15
- package/src/lib/types/DeepgramClientOptions.ts +0 -88
- package/src/lib/types/DeepgramResponse.ts +0 -13
- package/src/lib/types/DeepgramSource.ts +0 -15
- package/src/lib/types/Fetch.ts +0 -5
- package/src/lib/types/FunctionCallResponse.ts +0 -17
- package/src/lib/types/GetModelsResponse.ts +0 -24
- package/src/lib/types/GetModelsSchema.ts +0 -3
- package/src/lib/types/GetProjectBalancesResponse.ts +0 -10
- package/src/lib/types/GetProjectInvitesResponse.ts +0 -8
- package/src/lib/types/GetProjectKeysResponse.ts +0 -23
- package/src/lib/types/GetProjectMemberScopesResponse.ts +0 -3
- package/src/lib/types/GetProjectMembersResponse.ts +0 -11
- package/src/lib/types/GetProjectResponse.ts +0 -5
- package/src/lib/types/GetProjectUsageFieldsResponse.ts +0 -14
- package/src/lib/types/GetProjectUsageFieldsSchema.ts +0 -4
- package/src/lib/types/GetProjectUsageRequestsResponse.ts +0 -49
- package/src/lib/types/GetProjectUsageRequestsSchema.ts +0 -6
- package/src/lib/types/GetProjectUsageSummaryResponse.ts +0 -17
- package/src/lib/types/GetProjectUsageSummarySchema.ts +0 -23
- package/src/lib/types/GetProjectsResponse.ts +0 -8
- package/src/lib/types/GetTokenDetailsResponse.ts +0 -3
- package/src/lib/types/GrantTokenResponse.ts +0 -4
- package/src/lib/types/GrantTokenSchema.ts +0 -9
- package/src/lib/types/ListOnPremCredentialsResponse.ts +0 -17
- package/src/lib/types/LiveConfigOptions.ts +0 -7
- package/src/lib/types/LiveMetadataEvent.ts +0 -9
- package/src/lib/types/LiveTranscriptionEvent.ts +0 -34
- package/src/lib/types/MessageResponse.ts +0 -3
- package/src/lib/types/SendProjectInviteSchema.ts +0 -4
- package/src/lib/types/SpeakSchema.ts +0 -29
- package/src/lib/types/SpeechStartedEvent.ts +0 -5
- package/src/lib/types/SyncAnalyzeResponse.ts +0 -91
- package/src/lib/types/SyncPrerecordedResponse.ts +0 -213
- package/src/lib/types/TranscriptionSchema.ts +0 -246
- package/src/lib/types/UpdateProjectMemberScopeSchema.ts +0 -3
- package/src/lib/types/UpdateProjectSchema.ts +0 -4
- package/src/lib/types/UtteranceEndEvent.ts +0 -5
- package/src/lib/types/VoidResponse.ts +0 -11
- package/src/lib/types/index.ts +0 -45
- package/src/lib/version.ts +0 -1
- package/src/packages/AbstractClient.ts +0 -172
- package/src/packages/AbstractLiveClient.ts +0 -542
- package/src/packages/AbstractRestClient.ts +0 -223
- package/src/packages/AgentLiveClient.ts +0 -170
- package/src/packages/AuthRestClient.ts +0 -36
- package/src/packages/ListenClient.ts +0 -35
- package/src/packages/ListenLiveClient.ts +0 -145
- package/src/packages/ListenRestClient.ts +0 -204
- package/src/packages/ManageRestClient.ts +0 -814
- package/src/packages/ModelsRestClient.ts +0 -93
- package/src/packages/ReadRestClient.ts +0 -200
- package/src/packages/SelfHostedRestClient.ts +0 -134
- package/src/packages/SpeakClient.ts +0 -35
- package/src/packages/SpeakLiveClient.ts +0 -171
- package/src/packages/SpeakRestClient.ts +0 -73
- package/src/packages/index.ts +0 -15
|
@@ -1,186 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
-
};
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.AbstractRestfulClient = exports.AbstractRestClient = void 0;
|
|
16
|
-
const errors_1 = require("../lib/errors");
|
|
17
|
-
const fetch_1 = require("../lib/fetch");
|
|
18
|
-
const AbstractClient_1 = require("./AbstractClient");
|
|
19
|
-
const runtime_1 = require("../lib/runtime");
|
|
20
|
-
const deepmerge_1 = __importDefault(require("deepmerge"));
|
|
21
|
-
/**
|
|
22
|
-
* An abstract class that extends `AbstractClient` and provides a base implementation for a REST-based API client.
|
|
23
|
-
* This class handles authentication, error handling, and other common functionality for REST API clients.
|
|
24
|
-
*/
|
|
25
|
-
class AbstractRestClient extends AbstractClient_1.AbstractClient {
|
|
26
|
-
/**
|
|
27
|
-
* Constructs a new instance of the `AbstractRestClient` class with the provided options.
|
|
28
|
-
*
|
|
29
|
-
* @param options - The client options to use for this instance.
|
|
30
|
-
* @throws {DeepgramError} If the client is being used in a browser and no proxy is provided.
|
|
31
|
-
*/
|
|
32
|
-
constructor(options) {
|
|
33
|
-
super(options);
|
|
34
|
-
if ((0, runtime_1.isBrowser)() && !this.proxy) {
|
|
35
|
-
throw new errors_1.DeepgramError("Due to CORS we are unable to support REST-based API calls to our API from the browser. Please consider using a proxy: https://dpgr.am/js-proxy for more information.");
|
|
36
|
-
}
|
|
37
|
-
const { accessToken, key: apiKey, fetch: customFetch } = this;
|
|
38
|
-
this.fetch = (0, fetch_1.fetchWithAuth)({ accessToken, apiKey, customFetch });
|
|
39
|
-
if (this.proxy) {
|
|
40
|
-
this.baseUrl = this.namespaceOptions.fetch.options.proxy.url;
|
|
41
|
-
}
|
|
42
|
-
else {
|
|
43
|
-
this.baseUrl = this.namespaceOptions.fetch.options.url;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* Constructs an error message from the provided error object.
|
|
48
|
-
*
|
|
49
|
-
* @param err - The error object to extract the error message from.
|
|
50
|
-
* @returns The constructed error message.
|
|
51
|
-
*/
|
|
52
|
-
_getErrorMessage(err) {
|
|
53
|
-
return err.msg || err.message || err.error_description || err.error || JSON.stringify(err);
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* Handles an error that occurred during a request.
|
|
57
|
-
*
|
|
58
|
-
* @param error - The error that occurred during the request.
|
|
59
|
-
* @param reject - The rejection function to call with the error.
|
|
60
|
-
* @returns A Promise that resolves when the error has been handled.
|
|
61
|
-
*/
|
|
62
|
-
_handleError(error, reject) {
|
|
63
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
64
|
-
const Res = yield (0, fetch_1.resolveResponse)();
|
|
65
|
-
if (error instanceof Res) {
|
|
66
|
-
error
|
|
67
|
-
.json()
|
|
68
|
-
.then((err) => {
|
|
69
|
-
reject(new errors_1.DeepgramApiError(this._getErrorMessage(err), error.status || 500));
|
|
70
|
-
})
|
|
71
|
-
.catch((err) => {
|
|
72
|
-
reject(new errors_1.DeepgramUnknownError(this._getErrorMessage(err), err));
|
|
73
|
-
});
|
|
74
|
-
}
|
|
75
|
-
else {
|
|
76
|
-
reject(new errors_1.DeepgramUnknownError(this._getErrorMessage(error), error));
|
|
77
|
-
}
|
|
78
|
-
});
|
|
79
|
-
}
|
|
80
|
-
/**
|
|
81
|
-
* Constructs the options object to be used for a fetch request.
|
|
82
|
-
*
|
|
83
|
-
* @param method - The HTTP method to use for the request, such as "GET", "POST", "PUT", "PATCH", or "DELETE".
|
|
84
|
-
* @param bodyOrOptions - For "POST", "PUT", and "PATCH" requests, the request body as a string, Buffer, or Readable stream. For "GET" and "DELETE" requests, the fetch options to use.
|
|
85
|
-
* @param options - Additional fetch options to use for the request.
|
|
86
|
-
* @returns The constructed fetch options object.
|
|
87
|
-
*/
|
|
88
|
-
_getRequestOptions(method, bodyOrOptions, options) {
|
|
89
|
-
let reqOptions = { method };
|
|
90
|
-
if (method === "GET" || method === "DELETE") {
|
|
91
|
-
reqOptions = Object.assign(Object.assign({}, reqOptions), bodyOrOptions);
|
|
92
|
-
}
|
|
93
|
-
else {
|
|
94
|
-
reqOptions = Object.assign(Object.assign({ duplex: "half", body: bodyOrOptions }, reqOptions), options);
|
|
95
|
-
}
|
|
96
|
-
return (0, deepmerge_1.default)(this.namespaceOptions.fetch.options, reqOptions, { clone: false });
|
|
97
|
-
}
|
|
98
|
-
_handleRequest(method, url, bodyOrOptions, options) {
|
|
99
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
100
|
-
return new Promise((resolve, reject) => {
|
|
101
|
-
const fetcher = this.fetch;
|
|
102
|
-
fetcher(url, this._getRequestOptions(method, bodyOrOptions, options))
|
|
103
|
-
.then((result) => {
|
|
104
|
-
if (!result.ok)
|
|
105
|
-
throw result;
|
|
106
|
-
resolve(result);
|
|
107
|
-
})
|
|
108
|
-
.catch((error) => this._handleError(error, reject));
|
|
109
|
-
});
|
|
110
|
-
});
|
|
111
|
-
}
|
|
112
|
-
/**
|
|
113
|
-
* Handles an HTTP GET request using the provided URL and optional request options.
|
|
114
|
-
*
|
|
115
|
-
* @param url - The URL to send the GET request to.
|
|
116
|
-
* @param options - Additional fetch options to use for the GET request.
|
|
117
|
-
* @returns A Promise that resolves to the Response object for the GET request.
|
|
118
|
-
*/
|
|
119
|
-
get(url, options) {
|
|
120
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
121
|
-
return this._handleRequest("GET", url, options);
|
|
122
|
-
});
|
|
123
|
-
}
|
|
124
|
-
/**
|
|
125
|
-
* Handles an HTTP POST request using the provided URL, request body, and optional request options.
|
|
126
|
-
*
|
|
127
|
-
* @param url - The URL to send the POST request to.
|
|
128
|
-
* @param body - The request body as a string, Buffer, or Readable stream.
|
|
129
|
-
* @param options - Additional fetch options to use for the POST request.
|
|
130
|
-
* @returns A Promise that resolves to the Response object for the POST request.
|
|
131
|
-
*/
|
|
132
|
-
post(url, body, options) {
|
|
133
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
134
|
-
return this._handleRequest("POST", url, body, options);
|
|
135
|
-
});
|
|
136
|
-
}
|
|
137
|
-
/**
|
|
138
|
-
* Handles an HTTP PUT request using the provided URL, request body, and optional request options.
|
|
139
|
-
*
|
|
140
|
-
* @param url - The URL to send the PUT request to.
|
|
141
|
-
* @param body - The request body as a string, Buffer, or Readable stream.
|
|
142
|
-
* @param options - Additional fetch options to use for the PUT request.
|
|
143
|
-
* @returns A Promise that resolves to the Response object for the PUT request.
|
|
144
|
-
*/
|
|
145
|
-
put(url, body, options) {
|
|
146
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
147
|
-
return this._handleRequest("PUT", url, body, options);
|
|
148
|
-
});
|
|
149
|
-
}
|
|
150
|
-
/**
|
|
151
|
-
* Handles an HTTP PATCH request using the provided URL, request body, and optional request options.
|
|
152
|
-
*
|
|
153
|
-
* @param url - The URL to send the PATCH request to.
|
|
154
|
-
* @param body - The request body as a string, Buffer, or Readable stream.
|
|
155
|
-
* @param options - Additional fetch options to use for the PATCH request.
|
|
156
|
-
* @returns A Promise that resolves to the Response object for the PATCH request.
|
|
157
|
-
*/
|
|
158
|
-
patch(url, body, options) {
|
|
159
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
160
|
-
return this._handleRequest("PATCH", url, body, options);
|
|
161
|
-
});
|
|
162
|
-
}
|
|
163
|
-
/**
|
|
164
|
-
* Handles an HTTP DELETE request using the provided URL and optional request options.
|
|
165
|
-
*
|
|
166
|
-
* @param url - The URL to send the DELETE request to.
|
|
167
|
-
* @param options - Additional fetch options to use for the DELETE request.
|
|
168
|
-
* @returns A Promise that resolves to the Response object for the DELETE request.
|
|
169
|
-
*/
|
|
170
|
-
delete(url, options) {
|
|
171
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
172
|
-
return this._handleRequest("DELETE", url, options);
|
|
173
|
-
});
|
|
174
|
-
}
|
|
175
|
-
/**
|
|
176
|
-
* Determines whether the current instance should proxy requests.
|
|
177
|
-
* @returns {boolean} true if the current instance should proxy requests; otherwise, false
|
|
178
|
-
*/
|
|
179
|
-
get proxy() {
|
|
180
|
-
var _a;
|
|
181
|
-
return this.key === "proxy" && !!((_a = this.namespaceOptions.fetch.options.proxy) === null || _a === void 0 ? void 0 : _a.url);
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
exports.AbstractRestClient = AbstractRestClient;
|
|
185
|
-
exports.AbstractRestfulClient = AbstractRestClient;
|
|
186
|
-
//# sourceMappingURL=AbstractRestClient.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AbstractRestClient.js","sourceRoot":"","sources":["../../../src/packages/AbstractRestClient.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,0CAAsF;AAEtF,wCAA8D;AAE9D,qDAAkD;AAElD,4CAA2C;AAC3C,0DAA8B;AAE9B;;;GAGG;AACH,MAAsB,kBAAmB,SAAQ,+BAAc;IAG7D;;;;;OAKG;IACH,YAAY,OAA8B;QACxC,KAAK,CAAC,OAAO,CAAC,CAAC;QAEf,IAAI,IAAA,mBAAS,GAAE,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE;YAC9B,MAAM,IAAI,sBAAa,CACrB,sKAAsK,CACvK,CAAC;SACH;QAED,MAAM,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC;QAE9D,IAAI,CAAC,KAAK,GAAG,IAAA,qBAAa,EAAC,EAAE,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC,CAAC;QAEjE,IAAI,IAAI,CAAC,KAAK,EAAE;YACd,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,gBAAgB,CAAC,KAAK,CAAC,OAAO,CAAC,KAAM,CAAC,GAAG,CAAC;SAC/D;aAAM;YACL,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,gBAAgB,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC;SACxD;IACH,CAAC;IAED;;;;;OAKG;IACO,gBAAgB,CAAC,GAAQ;QACjC,OAAO,GAAG,CAAC,GAAG,IAAI,GAAG,CAAC,OAAO,IAAI,GAAG,CAAC,iBAAiB,IAAI,GAAG,CAAC,KAAK,IAAI,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;IAC7F,CAAC;IAED;;;;;;OAMG;IACa,YAAY,CAAC,KAAc,EAAE,MAA8B;;YACzE,MAAM,GAAG,GAAG,MAAM,IAAA,uBAAe,GAAE,CAAC;YAEpC,IAAI,KAAK,YAAY,GAAG,EAAE;gBACxB,KAAK;qBACF,IAAI,EAAE;qBACN,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE;oBACZ,MAAM,CAAC,IAAI,yBAAgB,CAAC,IAAI,CAAC,gBAAgB,CAAC,GAAG,CAAC,EAAE,KAAK,CAAC,MAAM,IAAI,GAAG,CAAC,CAAC,CAAC;gBAChF,CAAC,CAAC;qBACD,KAAK,CAAC,CAAC,GAAG,EAAE,EAAE;oBACb,MAAM,CAAC,IAAI,6BAAoB,CAAC,IAAI,CAAC,gBAAgB,CAAC,GAAG,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC;gBACpE,CAAC,CAAC,CAAC;aACN;iBAAM;gBACL,MAAM,CAAC,IAAI,6BAAoB,CAAC,IAAI,CAAC,gBAAgB,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC;aACvE;QACH,CAAC;KAAA;IAED;;;;;;;OAOG;IACO,kBAAkB,CAC1B,MAAyB,EACzB,aAAyD,EACzD,OAAsB;QAEtB,IAAI,UAAU,GAAiB,EAAE,MAAM,EAAE,CAAC;QAE1C,IAAI,MAAM,KAAK,KAAK,IAAI,MAAM,KAAK,QAAQ,EAAE;YAC3C,UAAU,mCAAQ,UAAU,GAAM,aAA8B,CAAE,CAAC;SACpE;aAAM;YACL,UAAU,iCACR,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,aAAyB,IAC5B,UAAU,GACV,OAAO,CACX,CAAC;SACH;QAED,OAAO,IAAA,mBAAK,EAAC,IAAI,CAAC,gBAAgB,CAAC,KAAK,CAAC,OAAO,EAAE,UAAU,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC;IAClF,CAAC;IAsBe,cAAc,CAC5B,MAAyB,EACzB,GAAQ,EACR,aAAyD,EACzD,OAAsB;;YAEtB,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;gBACrC,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC;gBAE3B,OAAO,CAAC,GAAG,EAAE,IAAI,CAAC,kBAAkB,CAAC,MAAM,EAAE,aAAa,EAAE,OAAO,CAAC,CAAC;qBAClE,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE;oBACf,IAAI,CAAC,MAAM,CAAC,EAAE;wBAAE,MAAM,MAAM,CAAC;oBAC7B,OAAO,CAAC,MAAM,CAAC,CAAC;gBAClB,CAAC,CAAC;qBACD,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC;YACxD,CAAC,CAAC,CAAC;QACL,CAAC;KAAA;IAED;;;;;;OAMG;IACa,GAAG,CAAC,GAAQ,EAAE,OAAsB;;YAClD,OAAO,IAAI,CAAC,cAAc,CAAC,KAAK,EAAE,GAAG,EAAE,OAAO,CAAC,CAAC;QAClD,CAAC;KAAA;IAED;;;;;;;OAOG;IACa,IAAI,CAClB,GAAQ,EACR,IAAgC,EAChC,OAAsB;;YAEtB,OAAO,IAAI,CAAC,cAAc,CAAC,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QACzD,CAAC;KAAA;IAED;;;;;;;OAOG;IACa,GAAG,CACjB,GAAQ,EACR,IAAgC,EAChC,OAAsB;;YAEtB,OAAO,IAAI,CAAC,cAAc,CAAC,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QACxD,CAAC;KAAA;IAED;;;;;;;OAOG;IACa,KAAK,CACnB,GAAQ,EACR,IAAgC,EAChC,OAAsB;;YAEtB,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QAC1D,CAAC;KAAA;IAED;;;;;;OAMG;IACa,MAAM,CAAC,GAAQ,EAAE,OAAsB;;YACrD,OAAO,IAAI,CAAC,cAAc,CAAC,QAAQ,EAAE,GAAG,EAAE,OAAO,CAAC,CAAC;QACrD,CAAC;KAAA;IAED;;;OAGG;IACH,IAAI,KAAK;;QACP,OAAO,IAAI,CAAC,GAAG,KAAK,OAAO,IAAI,CAAC,CAAC,CAAA,MAAA,IAAI,CAAC,gBAAgB,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,0CAAE,GAAG,CAAA,CAAC;IAClF,CAAC;CACF;AA/MD,gDA+MC;AAE8B,mDAAqB"}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
/// <reference types="node" />
|
|
3
|
-
import type { AgentLiveSchema, DeepgramClientOptions, FunctionCallResponse } from "../lib/types";
|
|
4
|
-
import { AbstractLiveClient } from "./AbstractLiveClient";
|
|
5
|
-
export declare class AgentLiveClient extends AbstractLiveClient {
|
|
6
|
-
namespace: string;
|
|
7
|
-
constructor(options: DeepgramClientOptions, endpoint?: string);
|
|
8
|
-
/**
|
|
9
|
-
* Sets up the connection event handlers.
|
|
10
|
-
* This method is responsible for handling the various events that can occur on the WebSocket connection, such as opening, closing, and receiving messages.
|
|
11
|
-
* - When the connection is opened, it emits the `AgentEvents.Open` event.
|
|
12
|
-
* - When the connection is closed, it emits the `AgentEvents.Close` event.
|
|
13
|
-
* - When an error occurs on the connection, it emits the `AgentEvents.Error` event.
|
|
14
|
-
* - When a message is received, it parses the message and emits the appropriate event based on the message type.
|
|
15
|
-
*/
|
|
16
|
-
setupConnection(): void;
|
|
17
|
-
/**
|
|
18
|
-
* Handles incoming messages from the WebSocket connection.
|
|
19
|
-
* @param event - The MessageEvent object representing the received message.
|
|
20
|
-
*/
|
|
21
|
-
protected handleMessage(event: MessageEvent): void;
|
|
22
|
-
/**
|
|
23
|
-
* Handles binary messages received from the WebSocket connection.
|
|
24
|
-
* @param data - The binary data.
|
|
25
|
-
*/
|
|
26
|
-
protected handleBinaryMessage(data: Buffer): void;
|
|
27
|
-
/**
|
|
28
|
-
* Handles text messages received from the WebSocket connection.
|
|
29
|
-
* @param data - The parsed JSON data.
|
|
30
|
-
*/
|
|
31
|
-
protected handleTextMessage(data: any): void;
|
|
32
|
-
/**
|
|
33
|
-
* To be called with your model configuration BEFORE sending
|
|
34
|
-
* any audio data.
|
|
35
|
-
* @param options - The SettingsConfiguration object.
|
|
36
|
-
*/
|
|
37
|
-
configure(options: AgentLiveSchema): void;
|
|
38
|
-
/**
|
|
39
|
-
* Provide new system prompt to the LLM.
|
|
40
|
-
* @param prompt - The system prompt to provide.
|
|
41
|
-
*/
|
|
42
|
-
updatePrompt(prompt: string): void;
|
|
43
|
-
/**
|
|
44
|
-
* Change the speak model.
|
|
45
|
-
* @param model - The new model to use.
|
|
46
|
-
*/
|
|
47
|
-
updateSpeak(speakConfig: Exclude<AgentLiveSchema["agent"]["speak"], undefined>): void;
|
|
48
|
-
/**
|
|
49
|
-
* Immediately trigger an agent message. If this message
|
|
50
|
-
* is sent while the user is speaking, or while the server is in the
|
|
51
|
-
* middle of sending audio, then the request will be ignored and an InjectionRefused
|
|
52
|
-
* event will be emitted.
|
|
53
|
-
* @example "Hold on while I look that up for you."
|
|
54
|
-
* @example "Are you still on the line?"
|
|
55
|
-
* @param content - The message to speak.
|
|
56
|
-
*/
|
|
57
|
-
injectAgentMessage(content: string): void;
|
|
58
|
-
/**
|
|
59
|
-
* Send a text-based message to the agent as if it came from the user.
|
|
60
|
-
* This allows you to inject user messages into the conversation for the agent to respond to.
|
|
61
|
-
* @example "Hello! Can you hear me?"
|
|
62
|
-
* @example "What's the weather like today?"
|
|
63
|
-
* @param content - The specific phrase or statement the agent should respond to.
|
|
64
|
-
*/
|
|
65
|
-
injectUserMessage(content: string): void;
|
|
66
|
-
/**
|
|
67
|
-
* Respond to a function call request.
|
|
68
|
-
* @param response - The response to the function call request.
|
|
69
|
-
*/
|
|
70
|
-
functionCallResponse(response: FunctionCallResponse): void;
|
|
71
|
-
/**
|
|
72
|
-
* Send a keepalive to avoid closing the websocket while you
|
|
73
|
-
* are not transmitting audio. This should be sent at least
|
|
74
|
-
* every 8 seconds.
|
|
75
|
-
*/
|
|
76
|
-
keepAlive(): void;
|
|
77
|
-
}
|
|
78
|
-
//# sourceMappingURL=AgentLiveClient.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AgentLiveClient.d.ts","sourceRoot":"","sources":["../../../src/packages/AgentLiveClient.ts"],"names":[],"mappings":";;AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACjG,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,qBAAa,eAAgB,SAAQ,kBAAkB;IAC9C,SAAS,EAAE,MAAM,CAAW;gBAEvB,OAAO,EAAE,qBAAqB,EAAE,QAAQ,GAAE,MAAmC;IAOzF;;;;;;;OAOG;IACI,eAAe,IAAI,IAAI;IAgB9B;;;OAGG;IACH,SAAS,CAAC,aAAa,CAAC,KAAK,EAAE,YAAY,GAAG,IAAI;IAqClD;;;OAGG;IACH,SAAS,CAAC,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAIjD;;;OAGG;IACH,SAAS,CAAC,iBAAiB,CAAC,IAAI,EAAE,GAAG,GAAG,IAAI;IAQ5C;;;;OAIG;IACI,SAAS,CAAC,OAAO,EAAE,eAAe,GAAG,IAAI;IAQhD;;;OAGG;IACI,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;IAIzC;;;OAGG;IACI,WAAW,CAAC,WAAW,EAAE,OAAO,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,EAAE,SAAS,CAAC,GAAG,IAAI;IAI5F;;;;;;;;OAQG;IACI,kBAAkB,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAIhD;;;;;;OAMG;IACI,iBAAiB,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAI/C;;;OAGG;IACI,oBAAoB,CAAC,QAAQ,EAAE,oBAAoB,GAAG,IAAI;IAIjE;;;;OAIG;IACI,SAAS,IAAI,IAAI;CAGzB"}
|
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AgentLiveClient = void 0;
|
|
4
|
-
const constants_1 = require("../lib/constants");
|
|
5
|
-
const AgentEvents_1 = require("../lib/enums/AgentEvents");
|
|
6
|
-
const AbstractLiveClient_1 = require("./AbstractLiveClient");
|
|
7
|
-
class AgentLiveClient extends AbstractLiveClient_1.AbstractLiveClient {
|
|
8
|
-
constructor(options, endpoint = "/:version/agent/converse") {
|
|
9
|
-
var _a, _b, _c, _d;
|
|
10
|
-
super(options);
|
|
11
|
-
this.namespace = "agent";
|
|
12
|
-
this.baseUrl = (_d = (_c = (_b = (_a = options.agent) === null || _a === void 0 ? void 0 : _a.websocket) === null || _b === void 0 ? void 0 : _b.options) === null || _c === void 0 ? void 0 : _c.url) !== null && _d !== void 0 ? _d : constants_1.DEFAULT_AGENT_URL;
|
|
13
|
-
this.connect({}, endpoint);
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Sets up the connection event handlers.
|
|
17
|
-
* This method is responsible for handling the various events that can occur on the WebSocket connection, such as opening, closing, and receiving messages.
|
|
18
|
-
* - When the connection is opened, it emits the `AgentEvents.Open` event.
|
|
19
|
-
* - When the connection is closed, it emits the `AgentEvents.Close` event.
|
|
20
|
-
* - When an error occurs on the connection, it emits the `AgentEvents.Error` event.
|
|
21
|
-
* - When a message is received, it parses the message and emits the appropriate event based on the message type.
|
|
22
|
-
*/
|
|
23
|
-
setupConnection() {
|
|
24
|
-
// Set up standard connection events (open, close, error) using abstracted method
|
|
25
|
-
this.setupConnectionEvents({
|
|
26
|
-
Open: AgentEvents_1.AgentEvents.Open,
|
|
27
|
-
Close: AgentEvents_1.AgentEvents.Close,
|
|
28
|
-
Error: AgentEvents_1.AgentEvents.Error,
|
|
29
|
-
});
|
|
30
|
-
// Set up message handling specific to agent conversations
|
|
31
|
-
if (this.conn) {
|
|
32
|
-
this.conn.onmessage = (event) => {
|
|
33
|
-
this.handleMessage(event);
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Handles incoming messages from the WebSocket connection.
|
|
39
|
-
* @param event - The MessageEvent object representing the received message.
|
|
40
|
-
*/
|
|
41
|
-
handleMessage(event) {
|
|
42
|
-
var _a, _b, _c, _d, _e, _f;
|
|
43
|
-
if (typeof event.data === "string") {
|
|
44
|
-
try {
|
|
45
|
-
const data = JSON.parse(event.data);
|
|
46
|
-
this.handleTextMessage(data);
|
|
47
|
-
}
|
|
48
|
-
catch (error) {
|
|
49
|
-
this.emit(AgentEvents_1.AgentEvents.Error, {
|
|
50
|
-
event,
|
|
51
|
-
data: ((_a = event.data) === null || _a === void 0 ? void 0 : _a.toString().substring(0, 200)) +
|
|
52
|
-
(((_b = event.data) === null || _b === void 0 ? void 0 : _b.toString().length) > 200 ? "..." : ""),
|
|
53
|
-
message: "Unable to parse `data` as JSON.",
|
|
54
|
-
error,
|
|
55
|
-
url: (_c = this.conn) === null || _c === void 0 ? void 0 : _c.url,
|
|
56
|
-
readyState: (_d = this.conn) === null || _d === void 0 ? void 0 : _d.readyState,
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
else if (event.data instanceof Blob) {
|
|
61
|
-
event.data.arrayBuffer().then((buffer) => {
|
|
62
|
-
this.handleBinaryMessage(Buffer.from(buffer));
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
else if (event.data instanceof ArrayBuffer) {
|
|
66
|
-
this.handleBinaryMessage(Buffer.from(event.data));
|
|
67
|
-
}
|
|
68
|
-
else if (Buffer.isBuffer(event.data)) {
|
|
69
|
-
this.handleBinaryMessage(event.data);
|
|
70
|
-
}
|
|
71
|
-
else {
|
|
72
|
-
console.log("Received unknown data type", event.data);
|
|
73
|
-
this.emit(AgentEvents_1.AgentEvents.Error, {
|
|
74
|
-
event,
|
|
75
|
-
message: "Received unknown data type.",
|
|
76
|
-
url: (_e = this.conn) === null || _e === void 0 ? void 0 : _e.url,
|
|
77
|
-
readyState: (_f = this.conn) === null || _f === void 0 ? void 0 : _f.readyState,
|
|
78
|
-
dataType: typeof event.data,
|
|
79
|
-
});
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
/**
|
|
83
|
-
* Handles binary messages received from the WebSocket connection.
|
|
84
|
-
* @param data - The binary data.
|
|
85
|
-
*/
|
|
86
|
-
handleBinaryMessage(data) {
|
|
87
|
-
this.emit(AgentEvents_1.AgentEvents.Audio, data);
|
|
88
|
-
}
|
|
89
|
-
/**
|
|
90
|
-
* Handles text messages received from the WebSocket connection.
|
|
91
|
-
* @param data - The parsed JSON data.
|
|
92
|
-
*/
|
|
93
|
-
handleTextMessage(data) {
|
|
94
|
-
if (data.type in AgentEvents_1.AgentEvents) {
|
|
95
|
-
this.emit(data.type, data);
|
|
96
|
-
}
|
|
97
|
-
else {
|
|
98
|
-
this.emit(AgentEvents_1.AgentEvents.Unhandled, data);
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
/**
|
|
102
|
-
* To be called with your model configuration BEFORE sending
|
|
103
|
-
* any audio data.
|
|
104
|
-
* @param options - The SettingsConfiguration object.
|
|
105
|
-
*/
|
|
106
|
-
configure(options) {
|
|
107
|
-
const string = JSON.stringify(Object.assign({ type: "Settings" }, options));
|
|
108
|
-
this.send(string);
|
|
109
|
-
}
|
|
110
|
-
/**
|
|
111
|
-
* Provide new system prompt to the LLM.
|
|
112
|
-
* @param prompt - The system prompt to provide.
|
|
113
|
-
*/
|
|
114
|
-
updatePrompt(prompt) {
|
|
115
|
-
this.send(JSON.stringify({ type: "UpdatePrompt", prompt }));
|
|
116
|
-
}
|
|
117
|
-
/**
|
|
118
|
-
* Change the speak model.
|
|
119
|
-
* @param model - The new model to use.
|
|
120
|
-
*/
|
|
121
|
-
updateSpeak(speakConfig) {
|
|
122
|
-
this.send(JSON.stringify({ type: "UpdateSpeak", speak: speakConfig }));
|
|
123
|
-
}
|
|
124
|
-
/**
|
|
125
|
-
* Immediately trigger an agent message. If this message
|
|
126
|
-
* is sent while the user is speaking, or while the server is in the
|
|
127
|
-
* middle of sending audio, then the request will be ignored and an InjectionRefused
|
|
128
|
-
* event will be emitted.
|
|
129
|
-
* @example "Hold on while I look that up for you."
|
|
130
|
-
* @example "Are you still on the line?"
|
|
131
|
-
* @param content - The message to speak.
|
|
132
|
-
*/
|
|
133
|
-
injectAgentMessage(content) {
|
|
134
|
-
this.send(JSON.stringify({ type: "InjectAgentMessage", content }));
|
|
135
|
-
}
|
|
136
|
-
/**
|
|
137
|
-
* Send a text-based message to the agent as if it came from the user.
|
|
138
|
-
* This allows you to inject user messages into the conversation for the agent to respond to.
|
|
139
|
-
* @example "Hello! Can you hear me?"
|
|
140
|
-
* @example "What's the weather like today?"
|
|
141
|
-
* @param content - The specific phrase or statement the agent should respond to.
|
|
142
|
-
*/
|
|
143
|
-
injectUserMessage(content) {
|
|
144
|
-
this.send(JSON.stringify({ type: "InjectUserMessage", content }));
|
|
145
|
-
}
|
|
146
|
-
/**
|
|
147
|
-
* Respond to a function call request.
|
|
148
|
-
* @param response - The response to the function call request.
|
|
149
|
-
*/
|
|
150
|
-
functionCallResponse(response) {
|
|
151
|
-
this.send(JSON.stringify(Object.assign({ type: "FunctionCallResponse" }, response)));
|
|
152
|
-
}
|
|
153
|
-
/**
|
|
154
|
-
* Send a keepalive to avoid closing the websocket while you
|
|
155
|
-
* are not transmitting audio. This should be sent at least
|
|
156
|
-
* every 8 seconds.
|
|
157
|
-
*/
|
|
158
|
-
keepAlive() {
|
|
159
|
-
this.send(JSON.stringify({ type: "KeepAlive" }));
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
exports.AgentLiveClient = AgentLiveClient;
|
|
163
|
-
//# sourceMappingURL=AgentLiveClient.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AgentLiveClient.js","sourceRoot":"","sources":["../../../src/packages/AgentLiveClient.ts"],"names":[],"mappings":";;;AAAA,gDAAqD;AACrD,0DAAuD;AAEvD,6DAA0D;AAE1D,MAAa,eAAgB,SAAQ,uCAAkB;IAGrD,YAAY,OAA8B,EAAE,WAAmB,0BAA0B;;QACvF,KAAK,CAAC,OAAO,CAAC,CAAC;QAHV,cAAS,GAAW,OAAO,CAAC;QAIjC,IAAI,CAAC,OAAO,GAAG,MAAA,MAAA,MAAA,MAAA,OAAO,CAAC,KAAK,0CAAE,SAAS,0CAAE,OAAO,0CAAE,GAAG,mCAAI,6BAAiB,CAAC;QAE3E,IAAI,CAAC,OAAO,CAAC,EAAE,EAAE,QAAQ,CAAC,CAAC;IAC7B,CAAC;IAED;;;;;;;OAOG;IACI,eAAe;QACpB,iFAAiF;QACjF,IAAI,CAAC,qBAAqB,CAAC;YACzB,IAAI,EAAE,yBAAW,CAAC,IAAI;YACtB,KAAK,EAAE,yBAAW,CAAC,KAAK;YACxB,KAAK,EAAE,yBAAW,CAAC,KAAK;SACzB,CAAC,CAAC;QAEH,0DAA0D;QAC1D,IAAI,IAAI,CAAC,IAAI,EAAE;YACb,IAAI,CAAC,IAAI,CAAC,SAAS,GAAG,CAAC,KAAmB,EAAE,EAAE;gBAC5C,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;YAC5B,CAAC,CAAC;SACH;IACH,CAAC;IAED;;;OAGG;IACO,aAAa,CAAC,KAAmB;;QACzC,IAAI,OAAO,KAAK,CAAC,IAAI,KAAK,QAAQ,EAAE;YAClC,IAAI;gBACF,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;gBACpC,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;aAC9B;YAAC,OAAO,KAAK,EAAE;gBACd,IAAI,CAAC,IAAI,CAAC,yBAAW,CAAC,KAAK,EAAE;oBAC3B,KAAK;oBACL,IAAI,EACF,CAAA,MAAA,KAAK,CAAC,IAAI,0CAAE,QAAQ,GAAG,SAAS,CAAC,CAAC,EAAE,GAAG,CAAC;wBACxC,CAAC,CAAA,MAAA,KAAK,CAAC,IAAI,0CAAE,QAAQ,GAAG,MAAM,IAAG,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;oBACpD,OAAO,EAAE,iCAAiC;oBAC1C,KAAK;oBACL,GAAG,EAAE,MAAA,IAAI,CAAC,IAAI,0CAAE,GAAG;oBACnB,UAAU,EAAE,MAAA,IAAI,CAAC,IAAI,0CAAE,UAAU;iBAClC,CAAC,CAAC;aACJ;SACF;aAAM,IAAI,KAAK,CAAC,IAAI,YAAY,IAAI,EAAE;YACrC,KAAK,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE;gBACvC,IAAI,CAAC,mBAAmB,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;YAChD,CAAC,CAAC,CAAC;SACJ;aAAM,IAAI,KAAK,CAAC,IAAI,YAAY,WAAW,EAAE;YAC5C,IAAI,CAAC,mBAAmB,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;SACnD;aAAM,IAAI,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE;YACtC,IAAI,CAAC,mBAAmB,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;SACtC;aAAM;YACL,OAAO,CAAC,GAAG,CAAC,4BAA4B,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;YACtD,IAAI,CAAC,IAAI,CAAC,yBAAW,CAAC,KAAK,EAAE;gBAC3B,KAAK;gBACL,OAAO,EAAE,6BAA6B;gBACtC,GAAG,EAAE,MAAA,IAAI,CAAC,IAAI,0CAAE,GAAG;gBACnB,UAAU,EAAE,MAAA,IAAI,CAAC,IAAI,0CAAE,UAAU;gBACjC,QAAQ,EAAE,OAAO,KAAK,CAAC,IAAI;aAC5B,CAAC,CAAC;SACJ;IACH,CAAC;IAED;;;OAGG;IACO,mBAAmB,CAAC,IAAY;QACxC,IAAI,CAAC,IAAI,CAAC,yBAAW,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IACrC,CAAC;IAED;;;OAGG;IACO,iBAAiB,CAAC,IAAS;QACnC,IAAI,IAAI,CAAC,IAAI,IAAI,yBAAW,EAAE;YAC5B,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;SAC5B;aAAM;YACL,IAAI,CAAC,IAAI,CAAC,yBAAW,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;SACxC;IACH,CAAC;IAED;;;;OAIG;IACI,SAAS,CAAC,OAAwB;QACvC,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,iBAC3B,IAAI,EAAE,UAAU,IACb,OAAO,EACV,CAAC;QACH,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACpB,CAAC;IAED;;;OAGG;IACI,YAAY,CAAC,MAAc;QAChC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC;IAC9D,CAAC;IAED;;;OAGG;IACI,WAAW,CAAC,WAAkE;QACnF,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,KAAK,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC;IACzE,CAAC;IAED;;;;;;;;OAQG;IACI,kBAAkB,CAAC,OAAe;QACvC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC;IACrE,CAAC;IAED;;;;;;OAMG;IACI,iBAAiB,CAAC,OAAe;QACtC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,IAAI,EAAE,mBAAmB,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC;IACpE,CAAC;IAED;;;OAGG;IACI,oBAAoB,CAAC,QAA8B;QACxD,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,iBAAG,IAAI,EAAE,sBAAsB,IAAK,QAAQ,EAAG,CAAC,CAAC;IAC3E,CAAC;IAED;;;;OAIG;IACI,SAAS;QACd,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC;IACnD,CAAC;CACF;AApKD,0CAoKC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { DeepgramResponse } from "../lib/types/DeepgramResponse";
|
|
2
|
-
import type { GrantTokenResponse } from "../lib/types/GrantTokenResponse";
|
|
3
|
-
import type { GrantTokenSchema } from "../lib/types/GrantTokenSchema";
|
|
4
|
-
import { AbstractRestClient } from "./AbstractRestClient";
|
|
5
|
-
export declare class AuthRestClient extends AbstractRestClient {
|
|
6
|
-
namespace: string;
|
|
7
|
-
/**
|
|
8
|
-
* Generates a new temporary token for the Deepgram API.
|
|
9
|
-
* @param options Optional configuration options for the token generation. Includes ttl_seconds to set token expiration.
|
|
10
|
-
* @param endpoint Optional custom endpoint to use for the request. Defaults to ":version/auth/grant".
|
|
11
|
-
* @returns Object containing the result of the request or an error if one occurred. Result will contain access_token and expires_in properties.
|
|
12
|
-
*/
|
|
13
|
-
grantToken(options?: GrantTokenSchema, endpoint?: string): Promise<DeepgramResponse<GrantTokenResponse>>;
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=AuthRestClient.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AuthRestClient.d.ts","sourceRoot":"","sources":["../../../src/packages/AuthRestClient.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAC1E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,qBAAa,cAAe,SAAQ,kBAAkB;IAC7C,SAAS,EAAE,MAAM,CAAU;IAElC;;;;;OAKG;IACU,UAAU,CACrB,OAAO,GAAE,gBAAqB,EAC9B,QAAQ,SAAwB,GAC/B,OAAO,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,CAAC;CAiBjD"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.AuthRestClient = void 0;
|
|
13
|
-
const errors_1 = require("../lib/errors");
|
|
14
|
-
const AbstractRestClient_1 = require("./AbstractRestClient");
|
|
15
|
-
class AuthRestClient extends AbstractRestClient_1.AbstractRestClient {
|
|
16
|
-
constructor() {
|
|
17
|
-
super(...arguments);
|
|
18
|
-
this.namespace = "auth";
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Generates a new temporary token for the Deepgram API.
|
|
22
|
-
* @param options Optional configuration options for the token generation. Includes ttl_seconds to set token expiration.
|
|
23
|
-
* @param endpoint Optional custom endpoint to use for the request. Defaults to ":version/auth/grant".
|
|
24
|
-
* @returns Object containing the result of the request or an error if one occurred. Result will contain access_token and expires_in properties.
|
|
25
|
-
*/
|
|
26
|
-
grantToken(options = {}, endpoint = ":version/auth/grant") {
|
|
27
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
28
|
-
try {
|
|
29
|
-
const requestUrl = this.getRequestUrl(endpoint);
|
|
30
|
-
const body = JSON.stringify(options);
|
|
31
|
-
const result = yield this.post(requestUrl, body, {
|
|
32
|
-
headers: { "Content-Type": "application/json" },
|
|
33
|
-
}).then((result) => result.json());
|
|
34
|
-
return { result, error: null };
|
|
35
|
-
}
|
|
36
|
-
catch (error) {
|
|
37
|
-
if ((0, errors_1.isDeepgramError)(error)) {
|
|
38
|
-
return { result: null, error };
|
|
39
|
-
}
|
|
40
|
-
throw error;
|
|
41
|
-
}
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
exports.AuthRestClient = AuthRestClient;
|
|
46
|
-
//# sourceMappingURL=AuthRestClient.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AuthRestClient.js","sourceRoot":"","sources":["../../../src/packages/AuthRestClient.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAAgD;AAIhD,6DAA0D;AAE1D,MAAa,cAAe,SAAQ,uCAAkB;IAAtD;;QACS,cAAS,GAAW,MAAM,CAAC;IA4BpC,CAAC;IA1BC;;;;;OAKG;IACU,UAAU,CACrB,UAA4B,EAAE,EAC9B,QAAQ,GAAG,qBAAqB;;YAEhC,IAAI;gBACF,MAAM,UAAU,GAAG,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;gBAChD,MAAM,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;gBACrC,MAAM,MAAM,GAAuB,MAAM,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,EAAE;oBACnE,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE;iBAChD,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,CAAC;gBAEnC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;aAChC;YAAC,OAAO,KAAK,EAAE;gBACd,IAAI,IAAA,wBAAe,EAAC,KAAK,CAAC,EAAE;oBAC1B,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;iBAChC;gBAED,MAAM,KAAK,CAAC;aACb;QACH,CAAC;KAAA;CACF;AA7BD,wCA6BC"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { AbstractClient } from "./AbstractClient";
|
|
2
|
-
import { ListenLiveClient } from "./ListenLiveClient";
|
|
3
|
-
import { ListenRestClient } from "./ListenRestClient";
|
|
4
|
-
import { LiveSchema } from "../lib/types";
|
|
5
|
-
/**
|
|
6
|
-
* The `ListenClient` class extends the `AbstractClient` class and provides access to the "listen" namespace.
|
|
7
|
-
* It exposes two methods:
|
|
8
|
-
*
|
|
9
|
-
* 1. `prerecorded()`: Returns a `ListenRestClient` instance for interacting with the prerecorded listen API.
|
|
10
|
-
* 2. `live(transcriptionOptions: LiveSchema = {}, endpoint = ":version/listen")`: Returns a `ListenLiveClient` instance for interacting with the live listen API, with the provided transcription options and endpoint.
|
|
11
|
-
*/
|
|
12
|
-
export declare class ListenClient extends AbstractClient {
|
|
13
|
-
namespace: string;
|
|
14
|
-
/**
|
|
15
|
-
* Returns a `ListenRestClient` instance for interacting with the prerecorded listen API.
|
|
16
|
-
*/
|
|
17
|
-
get prerecorded(): ListenRestClient;
|
|
18
|
-
/**
|
|
19
|
-
* Returns a `ListenLiveClient` instance for interacting with the live listen API, with the provided transcription options and endpoint.
|
|
20
|
-
* @param {LiveSchema} [transcriptionOptions={}] - The transcription options to use for the live listen API.
|
|
21
|
-
* @param {string} [endpoint=":version/listen"] - The endpoint to use for the live listen API.
|
|
22
|
-
* @returns {ListenLiveClient} - A `ListenLiveClient` instance for interacting with the live listen API.
|
|
23
|
-
*/
|
|
24
|
-
live(transcriptionOptions?: LiveSchema, endpoint?: string): ListenLiveClient;
|
|
25
|
-
}
|
|
26
|
-
//# sourceMappingURL=ListenClient.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ListenClient.d.ts","sourceRoot":"","sources":["../../../src/packages/ListenClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C;;;;;;GAMG;AACH,qBAAa,YAAa,SAAQ,cAAc;IACvC,SAAS,EAAE,MAAM,CAAY;IAEpC;;OAEG;IACH,IAAI,WAAW,qBAEd;IAED;;;;;OAKG;IACI,IAAI,CACT,oBAAoB,GAAE,UAAe,EACrC,QAAQ,GAAE,MAA0B,GACnC,gBAAgB;CAGpB"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ListenClient = void 0;
|
|
4
|
-
const AbstractClient_1 = require("./AbstractClient");
|
|
5
|
-
const ListenLiveClient_1 = require("./ListenLiveClient");
|
|
6
|
-
const ListenRestClient_1 = require("./ListenRestClient");
|
|
7
|
-
/**
|
|
8
|
-
* The `ListenClient` class extends the `AbstractClient` class and provides access to the "listen" namespace.
|
|
9
|
-
* It exposes two methods:
|
|
10
|
-
*
|
|
11
|
-
* 1. `prerecorded()`: Returns a `ListenRestClient` instance for interacting with the prerecorded listen API.
|
|
12
|
-
* 2. `live(transcriptionOptions: LiveSchema = {}, endpoint = ":version/listen")`: Returns a `ListenLiveClient` instance for interacting with the live listen API, with the provided transcription options and endpoint.
|
|
13
|
-
*/
|
|
14
|
-
class ListenClient extends AbstractClient_1.AbstractClient {
|
|
15
|
-
constructor() {
|
|
16
|
-
super(...arguments);
|
|
17
|
-
this.namespace = "listen";
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Returns a `ListenRestClient` instance for interacting with the prerecorded listen API.
|
|
21
|
-
*/
|
|
22
|
-
get prerecorded() {
|
|
23
|
-
return new ListenRestClient_1.ListenRestClient(this.options);
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Returns a `ListenLiveClient` instance for interacting with the live listen API, with the provided transcription options and endpoint.
|
|
27
|
-
* @param {LiveSchema} [transcriptionOptions={}] - The transcription options to use for the live listen API.
|
|
28
|
-
* @param {string} [endpoint=":version/listen"] - The endpoint to use for the live listen API.
|
|
29
|
-
* @returns {ListenLiveClient} - A `ListenLiveClient` instance for interacting with the live listen API.
|
|
30
|
-
*/
|
|
31
|
-
live(transcriptionOptions = {}, endpoint = ":version/listen") {
|
|
32
|
-
return new ListenLiveClient_1.ListenLiveClient(this.options, transcriptionOptions, endpoint);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
exports.ListenClient = ListenClient;
|
|
36
|
-
//# sourceMappingURL=ListenClient.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ListenClient.js","sourceRoot":"","sources":["../../../src/packages/ListenClient.ts"],"names":[],"mappings":";;;AAAA,qDAAkD;AAClD,yDAAsD;AACtD,yDAAsD;AAGtD;;;;;;GAMG;AACH,MAAa,YAAa,SAAQ,+BAAc;IAAhD;;QACS,cAAS,GAAW,QAAQ,CAAC;IAqBtC,CAAC;IAnBC;;OAEG;IACH,IAAI,WAAW;QACb,OAAO,IAAI,mCAAgB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC5C,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,uBAAmC,EAAE,EACrC,WAAmB,iBAAiB;QAEpC,OAAO,IAAI,mCAAgB,CAAC,IAAI,CAAC,OAAO,EAAE,oBAAoB,EAAE,QAAQ,CAAC,CAAC;IAC5E,CAAC;CACF;AAtBD,oCAsBC"}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { AbstractLiveClient } from "./AbstractLiveClient";
|
|
2
|
-
import type { LiveSchema, LiveConfigOptions, DeepgramClientOptions } from "../lib/types";
|
|
3
|
-
/**
|
|
4
|
-
* The `ListenLiveClient` class extends the `AbstractLiveClient` class and provides functionality for setting up and managing a WebSocket connection for live transcription.
|
|
5
|
-
*
|
|
6
|
-
* The constructor takes in `DeepgramClientOptions` and an optional `LiveSchema` object, as well as an optional `endpoint` string. It then calls the `connect` method of the parent `AbstractLiveClient` class to establish the WebSocket connection.
|
|
7
|
-
*
|
|
8
|
-
* The `setupConnection` method is responsible for handling the various events that can occur on the WebSocket connection, such as opening, closing, and receiving messages. It sets up event handlers for these events and emits the appropriate events based on the message type.
|
|
9
|
-
*
|
|
10
|
-
* The `configure` method allows you to send additional configuration options to the connected session, such as enabling numerals.
|
|
11
|
-
*
|
|
12
|
-
* The `keepAlive` method sends a "KeepAlive" message to the server to maintain the connection.
|
|
13
|
-
*
|
|
14
|
-
* The `requestClose` method requests the server to close the connection.
|
|
15
|
-
*
|
|
16
|
-
* The `finish` method is deprecated as of version 3.4 and will be removed in version 4.0. Use `requestClose` instead.
|
|
17
|
-
*/
|
|
18
|
-
export declare class ListenLiveClient extends AbstractLiveClient {
|
|
19
|
-
namespace: string;
|
|
20
|
-
/**
|
|
21
|
-
* Constructs a new `ListenLiveClient` instance with the provided options.
|
|
22
|
-
*
|
|
23
|
-
* @param options - The `DeepgramClientOptions` to use for the client connection.
|
|
24
|
-
* @param transcriptionOptions - An optional `LiveSchema` object containing additional configuration options for the live transcription.
|
|
25
|
-
* @param endpoint - An optional string representing the WebSocket endpoint to connect to. Defaults to `:version/listen`.
|
|
26
|
-
*/
|
|
27
|
-
constructor(options: DeepgramClientOptions, transcriptionOptions?: LiveSchema, endpoint?: string);
|
|
28
|
-
/**
|
|
29
|
-
* Sets up the connection event handlers.
|
|
30
|
-
* This method is responsible for handling the various events that can occur on the WebSocket connection, such as opening, closing, and receiving messages.
|
|
31
|
-
* - When the connection is opened, it emits the `LiveTranscriptionEvents.Open` event.
|
|
32
|
-
* - When the connection is closed, it emits the `LiveTranscriptionEvents.Close` event.
|
|
33
|
-
* - When an error occurs on the connection, it emits the `LiveTranscriptionEvents.Error` event.
|
|
34
|
-
* - When a message is received, it parses the message and emits the appropriate event based on the message type, such as `LiveTranscriptionEvents.Metadata`, `LiveTranscriptionEvents.Transcript`, `LiveTranscriptionEvents.UtteranceEnd`, and `LiveTranscriptionEvents.SpeechStarted`.
|
|
35
|
-
*/
|
|
36
|
-
setupConnection(): void;
|
|
37
|
-
/**
|
|
38
|
-
* Sends additional config to the connected session.
|
|
39
|
-
*
|
|
40
|
-
* @param config - The configuration options to apply to the LiveClient.
|
|
41
|
-
* @param config.numerals - We currently only support numerals.
|
|
42
|
-
*/
|
|
43
|
-
configure(config: LiveConfigOptions): void;
|
|
44
|
-
/**
|
|
45
|
-
* Sends a "KeepAlive" message to the server to maintain the connection.
|
|
46
|
-
*/
|
|
47
|
-
keepAlive(): void;
|
|
48
|
-
/**
|
|
49
|
-
* Sends a "Finalize" message to flush any transcription sitting in the server's buffer.
|
|
50
|
-
*/
|
|
51
|
-
finalize(): void;
|
|
52
|
-
/**
|
|
53
|
-
* @deprecated Since version 3.4. Will be removed in version 4.0. Use `requestClose` instead.
|
|
54
|
-
*/
|
|
55
|
-
finish(): void;
|
|
56
|
-
/**
|
|
57
|
-
* Requests the server close the connection.
|
|
58
|
-
*/
|
|
59
|
-
requestClose(): void;
|
|
60
|
-
}
|
|
61
|
-
export { ListenLiveClient as LiveClient };
|
|
62
|
-
//# sourceMappingURL=ListenLiveClient.d.ts.map
|