@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
package/dist/umd/deepgram.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.deepgram=t():e.deepgram=t()}(self,(()=>(()=>{var e={367:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,o){function i(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}u((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.OnPremClient=t.SelfHostedRestClient=void 0;const s=r(4306),o=r(5096);class i extends o.AbstractRestClient{constructor(){super(...arguments),this.namespace="selfhosted"}listCredentials(e,t=":version/projects/:projectId/onprem/distribution/credentials"){return n(this,void 0,void 0,(function*(){try{const r=this.getRequestUrl(t,{projectId:e});return{result:yield this.get(r).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}getCredentials(e,t,r=":version/projects/:projectId/onprem/distribution/credentials/:credentialsId"){return n(this,void 0,void 0,(function*(){try{const n=this.getRequestUrl(r,{projectId:e,credentialsId:t});return{result:yield this.get(n).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}createCredentials(e,t,r=":version/projects/:projectId/onprem/distribution/credentials"){return n(this,void 0,void 0,(function*(){try{const n=this.getRequestUrl(r,{projectId:e}),s=JSON.stringify(t);return{result:yield this.post(n,s).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}deleteCredentials(e,t,r=":version/projects/:projectId/onprem/distribution/credentials/:credentialsId"){return n(this,void 0,void 0,(function*(){try{const n=this.getRequestUrl(r,{projectId:e,credentialsId:t});return{result:yield this.delete(n).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}}t.SelfHostedRestClient=i,t.OnPremClient=i},398:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SpeakClient=void 0;const n=r(5066),s=r(3712),o=r(4492);class i extends n.AbstractClient{constructor(){super(...arguments),this.namespace="speak"}request(e,t,r=":version/speak"){return new o.SpeakRestClient(this.options).request(e,t,r)}live(e={},t=":version/speak"){return new s.SpeakLiveClient(this.options,e,t)}}t.SpeakClient=i},459:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},472:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,o){function i(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}u((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.AuthRestClient=void 0;const s=r(4306),o=r(5096);class i extends o.AbstractRestClient{constructor(){super(...arguments),this.namespace="auth"}grantToken(e={},t=":version/auth/grant"){return n(this,void 0,void 0,(function*(){try{const r=this.getRequestUrl(t),n=JSON.stringify(e);return{result:yield this.post(r,n,{headers:{"Content-Type":"application/json"}}).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}}t.AuthRestClient=i},569:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},684:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.convertLegacyOptions=t.isDeepgramClientOptions=t.isLiveSchema=t.buildRequestUrl=t.convertProtocolToWs=t.CallbackUrl=t.isFileSource=t.isTextSource=t.isUrlSource=t.resolveHeadersConstructor=t.appendSearchParams=t.applyDefaults=t.stripTrailingSlash=void 0;const s=r(8389),o=n(r(7314)),i=r(5793);function a(e,t){Object.keys(t).forEach((r=>{Array.isArray(t[r])?t[r].forEach((t=>{e.append(r,String(t))})):e.append(r,String(t[r]))}))}t.stripTrailingSlash=function(e){return e.replace(/\/$/,"")},t.applyDefaults=function(e={},t={}){return(0,o.default)(t,e)},t.appendSearchParams=a,t.resolveHeadersConstructor=()=>"undefined"==typeof Headers?s.Headers:Headers,t.isUrlSource=e=>!(!e||!e.url),t.isTextSource=e=>!(!e||!e.text),t.isFileSource=e=>!(!c(e)&&!u(e));const u=e=>null!=e&&Buffer.isBuffer(e),c=e=>null!=e&&!(0,i.isBrowser)()&&"object"==typeof e&&"function"==typeof e.pipe&&"function"==typeof e.read&&"object"==typeof e._readableState;class l extends URL{constructor(){super(...arguments),this.callbackUrl=!0}}t.CallbackUrl=l,t.convertProtocolToWs=e=>e.toLowerCase().replace(/^http/,"ws"),t.buildRequestUrl=(e,t,r)=>{const n=new URL(e,t);return a(n.searchParams,r),n},t.isLiveSchema=function(e){return null!=e&&void 0!==e.interim_results},t.isDeepgramClientOptions=function(e){return null!=e&&void 0!==e.global},t.convertLegacyOptions=e=>{var t,r,n,s,i,a;const u={};return e._experimentalCustomFetch&&(u.global={fetch:{client:e._experimentalCustomFetch}}),(null===(t=(e=(0,o.default)(e,u)).restProxy)||void 0===t?void 0:t.url)&&(u.global={fetch:{options:{proxy:{url:null===(r=e.restProxy)||void 0===r?void 0:r.url}}}}),(null===(n=(e=(0,o.default)(e,u)).global)||void 0===n?void 0:n.url)&&(u.global={fetch:{options:{url:e.global.url}},websocket:{options:{url:e.global.url}}}),(null===(s=(e=(0,o.default)(e,u)).global)||void 0===s?void 0:s.headers)&&(u.global={fetch:{options:{headers:null===(i=e.global)||void 0===i?void 0:i.headers}},websocket:{options:{_nodeOnlyHeaders:null===(a=e.global)||void 0===a?void 0:a.headers}}}),(0,o.default)(e,u)}},740:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var s=Object.getOwnPropertyDescriptor(t,r);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,s)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return s(t,e),t},i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,o){function i(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}u((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractWsClient=t.AbstractLiveClient=void 0;const a=r(5066),u=r(8712),c=r(5793),l=r(4306),d="undefined"!=typeof WebSocket;class h extends a.AbstractClient{constructor(e){super(e),this.conn=null,this.sendBuffer=[],this.reconnect=a.noop;const{key:t,websocket:{options:r,client:n}}=this.namespaceOptions;this.proxy?this.baseUrl=r.proxy.url:this.baseUrl=r.url,this.transport=n||null,r._nodeOnlyHeaders?this.headers=r._nodeOnlyHeaders:this.headers={},"Authorization"in this.headers||(this.accessToken?this.headers.Authorization=`Bearer ${this.accessToken}`:this.headers.Authorization=`Token ${t}`)}connect(e,t){if(this.conn)return;this.reconnect=(r=e)=>{this.connect(r,t)};const n=this.getRequestUrl(t,{},e),s=this.accessToken,i=this.key;if(!s&&!i)throw new Error("No key or access token provided for WebSocket connection.");if(this.transport)return this.conn=new this.transport(n,void 0,{headers:this.headers}),void this.setupConnection();if((0,c.isBun)())Promise.resolve().then((()=>o(r(3584)))).then((({default:e})=>{this.conn=new e(n,{headers:this.headers}),console.log("Using WS package"),this.setupConnection()}));else{if(d)return this.conn=new WebSocket(n,s?["bearer",s]:["token",i]),void this.setupConnection();this.conn=new p(n,void 0,{close:()=>{this.conn=null}}),Promise.resolve().then((()=>o(r(3584)))).then((({default:e})=>{this.conn=new e(n,void 0,{headers:this.headers}),this.setupConnection()}))}}disconnect(e,t){this.conn&&(this.conn.onclose=function(){},e?this.conn.close(e,null!=t?t:""):this.conn.close(),this.conn=null)}connectionState(){switch(this.conn&&this.conn.readyState){case u.SOCKET_STATES.connecting:return u.CONNECTION_STATE.Connecting;case u.SOCKET_STATES.open:return u.CONNECTION_STATE.Open;case u.SOCKET_STATES.closing:return u.CONNECTION_STATE.Closing;default:return u.CONNECTION_STATE.Closed}}getReadyState(){var e,t;return null!==(t=null===(e=this.conn)||void 0===e?void 0:e.readyState)&&void 0!==t?t:u.SOCKET_STATES.closed}isConnected(){return this.connectionState()===u.CONNECTION_STATE.Open}send(e){const t=()=>i(this,void 0,void 0,(function*(){var t;if(e instanceof Blob){if(0===e.size)return void this.log("warn","skipping `send` for zero-byte blob",e);e=yield e.arrayBuffer()}"string"==typeof e||(null==e?void 0:e.byteLength)?null===(t=this.conn)||void 0===t||t.send(e):this.log("warn","skipping `send` for zero-byte payload",e)}));this.isConnected()?t():this.sendBuffer.push(t)}get proxy(){var e;return"proxy"===this.key&&!!(null===(e=this.namespaceOptions.websocket.options.proxy)||void 0===e?void 0:e.url)}extractErrorInformation(e,t){var r;const n={};if(t&&(n.readyState=t.readyState,n.url="string"==typeof t.url?t.url:null===(r=t.url)||void 0===r?void 0:r.toString()),t&&"object"==typeof t){const r=t;if(r._req&&r._req.res&&(n.statusCode=r._req.res.statusCode,r._req.res.headers)){n.responseHeaders=Object.assign({},r._req.res.headers);const e=r._req.res.headers["dg-request-id"]||r._req.res.headers["x-dg-request-id"];e&&(n.requestId=e)}if(e&&"target"in e&&e.target){const t=e.target;t.url&&(n.url=t.url),void 0!==t.readyState&&(n.readyState=t.readyState)}}return n}createEnhancedError(e,t){const r=new l.DeepgramWebSocketError(e.message||"WebSocket connection error",Object.assign({originalEvent:e},t));return Object.assign(Object.assign({},e),{error:r,statusCode:t.statusCode,requestId:t.requestId,responseHeaders:t.responseHeaders,url:t.url,readyState:t.readyState,message:this.buildEnhancedErrorMessage(e,t)})}buildEnhancedErrorMessage(e,t){let r=e.message||"WebSocket connection error";const n=[];if(t.statusCode&&n.push(`Status: ${t.statusCode}`),t.requestId&&n.push(`Request ID: ${t.requestId}`),void 0!==t.readyState){const e=["CONNECTING","OPEN","CLOSING","CLOSED"][t.readyState]||`Unknown(${t.readyState})`;n.push(`Ready State: ${e}`)}return t.url&&n.push(`URL: ${t.url}`),n.length>0&&(r+=` (${n.join(", ")})`),r}setupConnectionEvents(e){this.conn&&(this.conn.onopen=()=>{this.emit(e.Open,this)},this.conn.onclose=t=>{this.emit(e.Close,t)},this.conn.onerror=t=>{const r=this.extractErrorInformation(t,this.conn||void 0),n=this.createEnhancedError(t,r);this.emit(e.Error,n)})}}t.AbstractLiveClient=h,t.AbstractWsClient=h;class p{constructor(e,t,r){this.binaryType="arraybuffer",this.onclose=()=>{},this.onerror=()=>{},this.onmessage=()=>{},this.onopen=()=>{},this.readyState=u.SOCKET_STATES.connecting,this.send=()=>{},this.url=null,this.url=e.toString(),this.close=r.close}}},747:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},753:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},816:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},875:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ListenClient=void 0;const n=r(5066),s=r(5357),o=r(6733);class i extends n.AbstractClient{constructor(){super(...arguments),this.namespace="listen"}get prerecorded(){return new o.ListenRestClient(this.options)}live(e={},t=":version/listen"){return new s.ListenLiveClient(this.options,e,t)}}t.ListenClient=i},986:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.LiveTTSEvents=void 0,(r=t.LiveTTSEvents||(t.LiveTTSEvents={})).Open="Open",r.Close="Close",r.Error="Error",r.Metadata="Metadata",r.Flushed="Flushed",r.Warning="Warning",r.Audio="Audio",r.Unhandled="Unhandled"},1176:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.AgentEvents=void 0,(r=t.AgentEvents||(t.AgentEvents={})).Open="Open",r.Close="Close",r.Error="Error",r.Audio="Audio",r.Welcome="Welcome",r.SettingsApplied="SettingsApplied",r.ConversationText="ConversationText",r.UserStartedSpeaking="UserStartedSpeaking",r.AgentThinking="AgentThinking",r.FunctionCallRequest="FunctionCallRequest",r.AgentStartedSpeaking="AgentStartedSpeaking",r.AgentAudioDone="AgentAudioDone",r.InjectionRefused="InjectionRefused",r.PromptUpdated="PromptUpdated",r.SpeakUpdated="SpeakUpdated",r.Unhandled="Unhandled"},1221:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},1556:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},1557:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},1749:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},1775:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},1828:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},1901:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},2043:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AgentLiveClient=void 0;const n=r(8712),s=r(1176),o=r(740);class i extends o.AbstractLiveClient{constructor(e,t="/:version/agent/converse"){var r,s,o,i;super(e),this.namespace="agent",this.baseUrl=null!==(i=null===(o=null===(s=null===(r=e.agent)||void 0===r?void 0:r.websocket)||void 0===s?void 0:s.options)||void 0===o?void 0:o.url)&&void 0!==i?i:n.DEFAULT_AGENT_URL,this.connect({},t)}setupConnection(){this.setupConnectionEvents({Open:s.AgentEvents.Open,Close:s.AgentEvents.Close,Error:s.AgentEvents.Error}),this.conn&&(this.conn.onmessage=e=>{this.handleMessage(e)})}handleMessage(e){var t,r,n,o,i,a;if("string"==typeof e.data)try{const t=JSON.parse(e.data);this.handleTextMessage(t)}catch(i){this.emit(s.AgentEvents.Error,{event:e,data:(null===(t=e.data)||void 0===t?void 0:t.toString().substring(0,200))+((null===(r=e.data)||void 0===r?void 0:r.toString().length)>200?"...":""),message:"Unable to parse `data` as JSON.",error:i,url:null===(n=this.conn)||void 0===n?void 0:n.url,readyState:null===(o=this.conn)||void 0===o?void 0:o.readyState})}else e.data instanceof Blob?e.data.arrayBuffer().then((e=>{this.handleBinaryMessage(Buffer.from(e))})):e.data instanceof ArrayBuffer?this.handleBinaryMessage(Buffer.from(e.data)):Buffer.isBuffer(e.data)?this.handleBinaryMessage(e.data):(console.log("Received unknown data type",e.data),this.emit(s.AgentEvents.Error,{event:e,message:"Received unknown data type.",url:null===(i=this.conn)||void 0===i?void 0:i.url,readyState:null===(a=this.conn)||void 0===a?void 0:a.readyState,dataType:typeof e.data}))}handleBinaryMessage(e){this.emit(s.AgentEvents.Audio,e)}handleTextMessage(e){e.type in s.AgentEvents?this.emit(e.type,e):this.emit(s.AgentEvents.Unhandled,e)}configure(e){const t=JSON.stringify(Object.assign({type:"Settings"},e));this.send(t)}updatePrompt(e){this.send(JSON.stringify({type:"UpdatePrompt",prompt:e}))}updateSpeak(e){this.send(JSON.stringify({type:"UpdateSpeak",speak:e}))}injectAgentMessage(e){this.send(JSON.stringify({type:"InjectAgentMessage",content:e}))}injectUserMessage(e){this.send(JSON.stringify({type:"InjectUserMessage",content:e}))}functionCallResponse(e){this.send(JSON.stringify(Object.assign({type:"FunctionCallResponse"},e)))}keepAlive(){this.send(JSON.stringify({type:"KeepAlive"}))}}t.AgentLiveClient=i},2171:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var s=Object.getOwnPropertyDescriptor(t,r);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,s)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),s=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),s(r(3075),t),s(r(816),t),s(r(9836),t),s(r(8633),t),s(r(1901),t),s(r(3036),t),s(r(4852),t),s(r(5263),t),s(r(1749),t),s(r(9115),t),s(r(459),t),s(r(6544),t),s(r(8034),t),s(r(9518),t),s(r(8968),t),s(r(2701),t),s(r(8785),t),s(r(5874),t),s(r(9176),t),s(r(8457),t),s(r(3150),t),s(r(1557),t),s(r(4329),t),s(r(9042),t),s(r(6302),t),s(r(4592),t),s(r(8600),t),s(r(7205),t),s(r(747),t),s(r(9475),t),s(r(569),t),s(r(1221),t),s(r(8378),t),s(r(753),t),s(r(1775),t),s(r(2278),t),s(r(7034),t),s(r(4602),t),s(r(7897),t),s(r(1556),t),s(r(6180),t),s(r(1828),t),s(r(8502),t),s(r(4775),t),s(r(4198),t)},2278:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},2701:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},3036:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},3063:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LiveConnectionState=void 0;const n=r(8712);var s;(s=t.LiveConnectionState||(t.LiveConnectionState={}))[s.CONNECTING=n.SOCKET_STATES.connecting]="CONNECTING",s[s.OPEN=n.SOCKET_STATES.open]="OPEN",s[s.CLOSING=n.SOCKET_STATES.closing]="CLOSING",s[s.CLOSED=n.SOCKET_STATES.closed]="CLOSED"},3075:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},3150:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},3242:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,o){function i(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}u((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.ReadClient=t.ReadRestClient=void 0;const s=r(684),o=r(4306),i=r(5096);class a extends i.AbstractRestClient{constructor(){super(...arguments),this.namespace="read"}analyzeUrl(e,t,r=":version/read"){return n(this,void 0,void 0,(function*(){try{let n;if(!(0,s.isUrlSource)(e))throw new o.DeepgramError("Unknown source type");if(n=JSON.stringify(e),void 0!==t&&"callback"in t)throw new o.DeepgramError("Callback cannot be provided as an option to a synchronous transcription. Use `analyzeUrlCallback` or `analyzeTextCallback` instead.");const i=this.getRequestUrl(r,{},Object.assign({},t));return{result:yield this.post(i,n).then((e=>e.json())),error:null}}catch(e){if((0,o.isDeepgramError)(e))return{result:null,error:e};throw e}}))}analyzeText(e,t,r=":version/read"){return n(this,void 0,void 0,(function*(){try{let n;if(!(0,s.isTextSource)(e))throw new o.DeepgramError("Unknown source type");if(n=JSON.stringify(e),void 0!==t&&"callback"in t)throw new o.DeepgramError("Callback cannot be provided as an option to a synchronous requests. Use `analyzeUrlCallback` or `analyzeTextCallback` instead.");const i=this.getRequestUrl(r,{},Object.assign({},t));return{result:yield this.post(i,n).then((e=>e.json())),error:null}}catch(e){if((0,o.isDeepgramError)(e))return{result:null,error:e};throw e}}))}analyzeUrlCallback(e,t,r,i=":version/read"){return n(this,void 0,void 0,(function*(){try{let n;if(!(0,s.isUrlSource)(e))throw new o.DeepgramError("Unknown source type");n=JSON.stringify(e);const a=this.getRequestUrl(i,{},Object.assign(Object.assign({},r),{callback:t.toString()}));return{result:yield this.post(a,n).then((e=>e.json())),error:null}}catch(e){if((0,o.isDeepgramError)(e))return{result:null,error:e};throw e}}))}analyzeTextCallback(e,t,r,i=":version/read"){return n(this,void 0,void 0,(function*(){try{let n;if(!(0,s.isTextSource)(e))throw new o.DeepgramError("Unknown source type");n=JSON.stringify(e);const a=this.getRequestUrl(i,{},Object.assign(Object.assign({},r),{callback:t.toString()}));return{result:yield this.post(a,n,{headers:{"Content-Type":"deepgram/audio+video"}}).then((e=>e.json())),error:null}}catch(e){if((0,o.isDeepgramError)(e))return{result:null,error:e};throw e}}))}}t.ReadRestClient=a,t.ReadClient=a},3465:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var s=Object.getOwnPropertyDescriptor(t,r);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,s)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),s=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.srt=t.webvtt=t.Deepgram=t.DeepgramClient=t.createClient=void 0;const i=r(4306),a=o(r(3695));t.DeepgramClient=a.default,t.Deepgram=class{constructor(e,t,r){throw this.apiKey=e,this.apiUrl=t,this.requireSSL=r,new i.DeepgramVersionError}},t.createClient=function(e,t){let r={};return"string"==typeof e||"function"==typeof e?("object"==typeof t&&(r=t),r.key=e):"object"==typeof e&&(r=e),new a.default(r)},s(r(6731),t),s(r(2171),t),s(r(6416),t),s(r(8712),t),s(r(4306),t),s(r(684),t);var u=r(6327);Object.defineProperty(t,"webvtt",{enumerable:!0,get:function(){return u.webvtt}}),Object.defineProperty(t,"srt",{enumerable:!0,get:function(){return u.srt}})},3584:e=>{"use strict";e.exports=function(){throw new Error("ws does not work in the browser. Browser clients must use the native WebSocket object")}},3695:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(4306),s=r(6731);class o extends s.AbstractClient{get auth(){return new s.AuthRestClient(this.options)}get listen(){return new s.ListenClient(this.options)}get manage(){return new s.ManageClient(this.options)}get models(){return new s.ModelsRestClient(this.options)}get onprem(){return this.selfhosted}get selfhosted(){return new s.SelfHostedRestClient(this.options)}get read(){return new s.ReadClient(this.options)}get speak(){return new s.SpeakClient(this.options)}agent(e="/:version/agent/converse"){return new s.AgentLiveClient(this.options,e)}get transcription(){throw new n.DeepgramVersionError}get projects(){throw new n.DeepgramVersionError}get keys(){throw new n.DeepgramVersionError}get members(){throw new n.DeepgramVersionError}get scopes(){throw new n.DeepgramVersionError}get invitation(){throw new n.DeepgramVersionError}get usage(){throw new n.DeepgramVersionError}get billing(){throw new n.DeepgramVersionError}}t.default=o},3712:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SpeakLiveClient=void 0;const n=r(740),s=r(6416);class o extends n.AbstractLiveClient{constructor(e,t={},r=":version/speak"){super(e),this.namespace="speak",this.connect(t,r)}setupConnection(){this.setupConnectionEvents({Open:s.LiveTTSEvents.Open,Close:s.LiveTTSEvents.Close,Error:s.LiveTTSEvents.Error}),this.conn&&(this.conn.onmessage=e=>{this.handleMessage(e)})}handleTextMessage(e){e.type===s.LiveTTSEvents.Metadata?this.emit(s.LiveTTSEvents.Metadata,e):e.type===s.LiveTTSEvents.Flushed?this.emit(s.LiveTTSEvents.Flushed,e):e.type===s.LiveTTSEvents.Warning?this.emit(s.LiveTTSEvents.Warning,e):this.emit(s.LiveTTSEvents.Unhandled,e)}handleBinaryMessage(e){this.emit(s.LiveTTSEvents.Audio,e)}sendText(e){this.send(JSON.stringify({type:"Speak",text:e}))}flush(){this.send(JSON.stringify({type:"Flush"}))}clear(){this.send(JSON.stringify({type:"Clear"}))}requestClose(){this.send(JSON.stringify({type:"Close"}))}handleMessage(e){var t,r,n,o,i,a;if("string"==typeof e.data)try{const t=JSON.parse(e.data);this.handleTextMessage(t)}catch(i){this.emit(s.LiveTTSEvents.Error,{event:e,message:"Unable to parse `data` as JSON.",error:i,url:null===(t=this.conn)||void 0===t?void 0:t.url,readyState:null===(r=this.conn)||void 0===r?void 0:r.readyState,data:(null===(n=e.data)||void 0===n?void 0:n.toString().substring(0,200))+((null===(o=e.data)||void 0===o?void 0:o.toString().length)>200?"...":"")})}else e.data instanceof Blob?e.data.arrayBuffer().then((e=>{this.handleBinaryMessage(Buffer.from(e))})):e.data instanceof ArrayBuffer?this.handleBinaryMessage(Buffer.from(e.data)):Buffer.isBuffer(e.data)?this.handleBinaryMessage(e.data):(console.log("Received unknown data type",e.data),this.emit(s.LiveTTSEvents.Error,{event:e,message:"Received unknown data type.",url:null===(i=this.conn)||void 0===i?void 0:i.url,readyState:null===(a=this.conn)||void 0===a?void 0:a.readyState,dataType:typeof e.data}))}}t.SpeakLiveClient=o},4198:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},4268:function(e){e.exports=function(){"use strict";var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,r=/([+-]|\d\d)/g;return function(n,s,o){var i=s.prototype;o.utc=function(e){return new s({date:e,utc:!0,args:arguments})},i.utc=function(t){var r=o(this.toDate(),{locale:this.$L,utc:!0});return t?r.add(this.utcOffset(),e):r},i.local=function(){return o(this.toDate(),{locale:this.$L,utc:!1})};var a=i.parse;i.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),a.call(this,e)};var u=i.init;i.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else u.call(this)};var c=i.utcOffset;i.utcOffset=function(n,s){var o=this.$utils().u;if(o(n))return this.$u?0:o(this.$offset)?c.call(this):this.$offset;if("string"==typeof n&&(n=function(e){void 0===e&&(e="");var n=e.match(t);if(!n)return null;var s=(""+n[0]).match(r)||["-",0,0],o=s[0],i=60*+s[1]+ +s[2];return 0===i?0:"+"===o?i:-i}(n),null===n))return this;var i=Math.abs(n)<=16?60*n:n,a=this;if(s)return a.$offset=i,a.$u=0===n,a;if(0!==n){var u=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(a=this.local().add(i+u,e)).$offset=i,a.$x.$localOffset=u}else a=this.utc();return a};var l=i.format;i.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return l.call(this,t)},i.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},i.isUTC=function(){return!!this.$u},i.toISOString=function(){return this.toDate().toISOString()},i.toString=function(){return this.toDate().toUTCString()};var d=i.toDate;i.toDate=function(e){return"s"===e&&this.$offset?o(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():d.call(this)};var h=i.diff;i.diff=function(e,t,r){if(e&&this.$u===e.$u)return h.call(this,e,t,r);var n=this.local(),s=o(e).local();return h.call(n,s,t,r)}}}()},4306:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DeepgramWebSocketError=t.DeepgramVersionError=t.DeepgramUnknownError=t.DeepgramApiError=t.isDeepgramError=t.DeepgramError=void 0;class r extends Error{constructor(e){super(e),this.__dgError=!0,this.name="DeepgramError"}}t.DeepgramError=r,t.isDeepgramError=function(e){return"object"==typeof e&&null!==e&&"__dgError"in e},t.DeepgramApiError=class extends r{constructor(e,t){super(e),this.name="DeepgramApiError",this.status=t}toJSON(){return{name:this.name,message:this.message,status:this.status}}},t.DeepgramUnknownError=class extends r{constructor(e,t){super(e),this.name="DeepgramUnknownError",this.originalError=t}},t.DeepgramVersionError=class extends r{constructor(){super("You are attempting to use an old format for a newer SDK version. Read more here: https://dpgr.am/js-v3"),this.name="DeepgramVersionError"}},t.DeepgramWebSocketError=class extends r{constructor(e,t={}){super(e),this.name="DeepgramWebSocketError",this.originalEvent=t.originalEvent,this.statusCode=t.statusCode,this.requestId=t.requestId,this.responseHeaders=t.responseHeaders,this.url=t.url,this.readyState=t.readyState}toJSON(){return{name:this.name,message:this.message,statusCode:this.statusCode,requestId:this.requestId,responseHeaders:this.responseHeaders,url:this.url,readyState:this.readyState,originalEvent:this.originalEvent?{type:this.originalEvent.type,timeStamp:this.originalEvent.timeStamp}:void 0}}}},4329:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},4492:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,o){function i(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}u((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.SpeakRestClient=void 0;const s=r(4306),o=r(684),i=r(5096);class a extends i.AbstractRestClient{constructor(){super(...arguments),this.namespace="speak"}request(e,t,r=":version/speak"){return n(this,void 0,void 0,(function*(){let n;if(!(0,o.isTextSource)(e))throw new s.DeepgramError("Unknown transcription source type");n=JSON.stringify(e);const i=this.getRequestUrl(r,{},Object.assign({model:"aura-2-thalia-en"},t));return this.result=yield this.post(i,n,{headers:{Accept:"audio/*","Content-Type":"application/json"}}),this}))}getStream(){return n(this,void 0,void 0,(function*(){if(!this.result)throw new s.DeepgramUnknownError("Tried to get stream before making request","");return this.result.body}))}getHeaders(){return n(this,void 0,void 0,(function*(){if(!this.result)throw new s.DeepgramUnknownError("Tried to get headers before making request","");return this.result.headers}))}}t.SpeakRestClient=a},4592:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},4602:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},4775:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},4852:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},5066:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractClient=t.noop=void 0;const n=r(9784),s=r(8712),o=r(4306),i=r(684);t.noop=()=>{};class a extends n.EventEmitter{constructor(e){if(super(),this.factory=void 0,this.key=void 0,this.accessToken=void 0,this.namespace="global",this.version="v1",this.baseUrl=s.DEFAULT_URL,this.logger=t.noop,"function"==typeof e.accessToken?(this.factory=e.accessToken,this.accessToken=this.factory()):this.accessToken=e.accessToken,"function"==typeof e.key?(this.factory=e.key,this.key=this.factory()):this.key=e.key,this.key||this.accessToken||(this.accessToken=process.env.DEEPGRAM_ACCESS_TOKEN,this.accessToken||(this.key=process.env.DEEPGRAM_API_KEY)),!this.key&&!this.accessToken)throw new o.DeepgramError("A deepgram API key or access token is required.");e=(0,i.convertLegacyOptions)(e),this.options=(0,i.applyDefaults)(e,s.DEFAULT_OPTIONS)}v(e="v1"){return this.version=e,this}get namespaceOptions(){const e=(0,i.applyDefaults)(this.options[this.namespace],this.options.global);return Object.assign(Object.assign({},e),{key:this.key})}getRequestUrl(e,t={version:this.version},r){t.version=this.version,e=e.replace(/:(\w+)/g,(function(e,r){return t[r]}));const n=new URL(e,this.baseUrl);return r&&(0,i.appendSearchParams)(n.searchParams,r),n}log(e,t,r){this.logger(e,t,r)}}t.AbstractClient=a},5096:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,o){function i(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}u((n=n.apply(e,t||[])).next())}))},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractRestfulClient=t.AbstractRestClient=void 0;const o=r(4306),i=r(6245),a=r(5066),u=r(5793),c=s(r(7314));class l extends a.AbstractClient{constructor(e){if(super(e),(0,u.isBrowser)()&&!this.proxy)throw new o.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.");const{accessToken:t,key:r,fetch:n}=this;this.fetch=(0,i.fetchWithAuth)({accessToken:t,apiKey:r,customFetch:n}),this.proxy?this.baseUrl=this.namespaceOptions.fetch.options.proxy.url:this.baseUrl=this.namespaceOptions.fetch.options.url}_getErrorMessage(e){return e.msg||e.message||e.error_description||e.error||JSON.stringify(e)}_handleError(e,t){return n(this,void 0,void 0,(function*(){const r=yield(0,i.resolveResponse)();e instanceof r?e.json().then((r=>{t(new o.DeepgramApiError(this._getErrorMessage(r),e.status||500))})).catch((e=>{t(new o.DeepgramUnknownError(this._getErrorMessage(e),e))})):t(new o.DeepgramUnknownError(this._getErrorMessage(e),e))}))}_getRequestOptions(e,t,r){let n={method:e};return n="GET"===e||"DELETE"===e?Object.assign(Object.assign({},n),t):Object.assign(Object.assign({duplex:"half",body:t},n),r),(0,c.default)(this.namespaceOptions.fetch.options,n,{clone:!1})}_handleRequest(e,t,r,s){return n(this,void 0,void 0,(function*(){return new Promise(((n,o)=>{(0,this.fetch)(t,this._getRequestOptions(e,r,s)).then((e=>{if(!e.ok)throw e;n(e)})).catch((e=>this._handleError(e,o)))}))}))}get(e,t){return n(this,void 0,void 0,(function*(){return this._handleRequest("GET",e,t)}))}post(e,t,r){return n(this,void 0,void 0,(function*(){return this._handleRequest("POST",e,t,r)}))}put(e,t,r){return n(this,void 0,void 0,(function*(){return this._handleRequest("PUT",e,t,r)}))}patch(e,t,r){return n(this,void 0,void 0,(function*(){return this._handleRequest("PATCH",e,t,r)}))}delete(e,t){return n(this,void 0,void 0,(function*(){return this._handleRequest("DELETE",e,t)}))}get proxy(){var e;return"proxy"===this.key&&!!(null===(e=this.namespaceOptions.fetch.options.proxy)||void 0===e?void 0:e.url)}}t.AbstractRestClient=l,t.AbstractRestfulClient=l},5263:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},5292:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,o){function i(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}u((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.ModelsRestClient=void 0;const s=r(4306),o=r(5096);class i extends o.AbstractRestClient{constructor(){super(...arguments),this.namespace="models"}getAll(e=":version/models",t={}){return n(this,void 0,void 0,(function*(){try{const r=this.getRequestUrl(e,{},t);return{result:yield this.get(r).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}getModel(e,t=":version/models/:modelId"){return n(this,void 0,void 0,(function*(){try{const r=this.getRequestUrl(t,{modelId:e});return{result:yield this.get(r).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}}t.ModelsRestClient=i},5357:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LiveClient=t.ListenLiveClient=void 0;const n=r(740),s=r(6416);class o extends n.AbstractLiveClient{constructor(e,t={},r=":version/listen"){super(e),this.namespace="listen",this.connect(t,r)}setupConnection(){this.setupConnectionEvents({Open:s.LiveTranscriptionEvents.Open,Close:s.LiveTranscriptionEvents.Close,Error:s.LiveTranscriptionEvents.Error}),this.conn&&(this.conn.onmessage=e=>{var t,r,n,o;try{const t=JSON.parse(e.data.toString());t.type===s.LiveTranscriptionEvents.Metadata?this.emit(s.LiveTranscriptionEvents.Metadata,t):t.type===s.LiveTranscriptionEvents.Transcript?this.emit(s.LiveTranscriptionEvents.Transcript,t):t.type===s.LiveTranscriptionEvents.UtteranceEnd?this.emit(s.LiveTranscriptionEvents.UtteranceEnd,t):t.type===s.LiveTranscriptionEvents.SpeechStarted?this.emit(s.LiveTranscriptionEvents.SpeechStarted,t):this.emit(s.LiveTranscriptionEvents.Unhandled,t)}catch(i){this.emit(s.LiveTranscriptionEvents.Error,{event:e,message:"Unable to parse `data` as JSON.",error:i,url:null===(t=this.conn)||void 0===t?void 0:t.url,readyState:null===(r=this.conn)||void 0===r?void 0:r.readyState,data:(null===(n=e.data)||void 0===n?void 0:n.toString().substring(0,200))+((null===(o=e.data)||void 0===o?void 0:o.toString().length)>200?"...":"")})}})}configure(e){this.send(JSON.stringify({type:"Configure",processors:e}))}keepAlive(){this.send(JSON.stringify({type:"KeepAlive"}))}finalize(){this.send(JSON.stringify({type:"Finalize"}))}finish(){this.requestClose()}requestClose(){this.send(JSON.stringify({type:"CloseStream"}))}}t.ListenLiveClient=o,t.LiveClient=o},5569:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.version=void 0,t.version="0.0.0-automated"},5793:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBun=t.isNode=t.isBrowser=t.BROWSER_AGENT=t.BUN_VERSION=t.NODE_VERSION=void 0,t.NODE_VERSION="undefined"!=typeof process&&process.versions&&process.versions.node?process.versions.node:"unknown",t.BUN_VERSION="undefined"!=typeof process&&process.versions&&process.versions.bun?process.versions.bun:"unknown",t.BROWSER_AGENT="undefined"!=typeof window&&window.navigator&&window.navigator.userAgent?window.navigator.userAgent:"unknown",t.isBrowser=()=>"unknown"!==t.BROWSER_AGENT,t.isNode=()=>"unknown"!==t.NODE_VERSION,t.isBun=()=>"unknown"!==t.BUN_VERSION},5874:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},6180:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},6245:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var s=Object.getOwnPropertyDescriptor(t,r);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,s)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return s(t,e),t},i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,o){function i(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}u((n=n.apply(e,t||[])).next())}))},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.resolveResponse=t.fetchWithAuth=t.resolveFetch=void 0;const u=r(684),c=a(r(8389));t.resolveFetch=e=>{let t;return t=e||("undefined"==typeof fetch?c.default:fetch),(...e)=>t(...e)},t.fetchWithAuth=({apiKey:e,customFetch:r,accessToken:n})=>{const s=(0,t.resolveFetch)(r),o=(0,u.resolveHeadersConstructor)();return(t,r)=>i(void 0,void 0,void 0,(function*(){const i=new o(null==r?void 0:r.headers);return i.has("Authorization")||i.set("Authorization",n?`Bearer ${n}`:`Token ${e}`),s(t,Object.assign(Object.assign({},r),{headers:i}))}))},t.resolveResponse=()=>i(void 0,void 0,void 0,(function*(){return"undefined"==typeof Response?(yield Promise.resolve().then((()=>o(r(8389))))).Response:Response}))},6287:function(e){e.exports=function(){"use strict";var e=6e4,t=36e5,r="millisecond",n="second",s="minute",o="hour",i="day",a="week",u="month",c="quarter",l="year",d="date",h="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,f=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}},y=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},g={s:y,z:function(e){var t=-e.utcOffset(),r=Math.abs(t),n=Math.floor(r/60),s=r%60;return(t<=0?"+":"-")+y(n,2,"0")+":"+y(s,2,"0")},m:function e(t,r){if(t.date()<r.date())return-e(r,t);var n=12*(r.year()-t.year())+(r.month()-t.month()),s=t.clone().add(n,u),o=r-s<0,i=t.clone().add(n+(o?-1:1),u);return+(-(n+(r-s)/(o?s-i:i-s))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:u,y:l,w:a,d:i,D:d,h:o,m:s,s:n,ms:r,Q:c}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},m="en",b={};b[m]=v;var _="$isDayjsObject",O=function(e){return e instanceof S||!(!e||!e[_])},w=function e(t,r,n){var s;if(!t)return m;if("string"==typeof t){var o=t.toLowerCase();b[o]&&(s=o),r&&(b[o]=r,s=o);var i=t.split("-");if(!s&&i.length>1)return e(i[0])}else{var a=t.name;b[a]=t,s=a}return!n&&s&&(m=s),s||!n&&m},E=function(e,t){if(O(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new S(r)},j=g;j.l=w,j.i=O,j.w=function(e,t){return E(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var S=function(){function v(e){this.$L=w(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[_]=!0}var y=v.prototype;return y.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if(j.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(p);if(n){var s=n[2]-1||0,o=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],s,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)):new Date(n[1],s,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)}}return new Date(t)}(e),this.init()},y.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},y.$utils=function(){return j},y.isValid=function(){return!(this.$d.toString()===h)},y.isSame=function(e,t){var r=E(e);return this.startOf(t)<=r&&r<=this.endOf(t)},y.isAfter=function(e,t){return E(e)<this.startOf(t)},y.isBefore=function(e,t){return this.endOf(t)<E(e)},y.$g=function(e,t,r){return j.u(e)?this[t]:this.set(r,e)},y.unix=function(){return Math.floor(this.valueOf()/1e3)},y.valueOf=function(){return this.$d.getTime()},y.startOf=function(e,t){var r=this,c=!!j.u(t)||t,h=j.p(e),p=function(e,t){var n=j.w(r.$u?Date.UTC(r.$y,t,e):new Date(r.$y,t,e),r);return c?n:n.endOf(i)},f=function(e,t){return j.w(r.toDate()[e].apply(r.toDate("s"),(c?[0,0,0,0]:[23,59,59,999]).slice(t)),r)},v=this.$W,y=this.$M,g=this.$D,m="set"+(this.$u?"UTC":"");switch(h){case l:return c?p(1,0):p(31,11);case u:return c?p(1,y):p(0,y+1);case a:var b=this.$locale().weekStart||0,_=(v<b?v+7:v)-b;return p(c?g-_:g+(6-_),y);case i:case d:return f(m+"Hours",0);case o:return f(m+"Minutes",1);case s:return f(m+"Seconds",2);case n:return f(m+"Milliseconds",3);default:return this.clone()}},y.endOf=function(e){return this.startOf(e,!1)},y.$set=function(e,t){var a,c=j.p(e),h="set"+(this.$u?"UTC":""),p=(a={},a[i]=h+"Date",a[d]=h+"Date",a[u]=h+"Month",a[l]=h+"FullYear",a[o]=h+"Hours",a[s]=h+"Minutes",a[n]=h+"Seconds",a[r]=h+"Milliseconds",a)[c],f=c===i?this.$D+(t-this.$W):t;if(c===u||c===l){var v=this.clone().set(d,1);v.$d[p](f),v.init(),this.$d=v.set(d,Math.min(this.$D,v.daysInMonth())).$d}else p&&this.$d[p](f);return this.init(),this},y.set=function(e,t){return this.clone().$set(e,t)},y.get=function(e){return this[j.p(e)]()},y.add=function(r,c){var d,h=this;r=Number(r);var p=j.p(c),f=function(e){var t=E(h);return j.w(t.date(t.date()+Math.round(e*r)),h)};if(p===u)return this.set(u,this.$M+r);if(p===l)return this.set(l,this.$y+r);if(p===i)return f(1);if(p===a)return f(7);var v=(d={},d[s]=e,d[o]=t,d[n]=1e3,d)[p]||1,y=this.$d.getTime()+r*v;return j.w(y,this)},y.subtract=function(e,t){return this.add(-1*e,t)},y.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return r.invalidDate||h;var n=e||"YYYY-MM-DDTHH:mm:ssZ",s=j.z(this),o=this.$H,i=this.$m,a=this.$M,u=r.weekdays,c=r.months,l=r.meridiem,d=function(e,r,s,o){return e&&(e[r]||e(t,n))||s[r].slice(0,o)},p=function(e){return j.s(o%12||12,e,"0")},v=l||function(e,t,r){var n=e<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(f,(function(e,n){return n||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return j.s(t.$y,4,"0");case"M":return a+1;case"MM":return j.s(a+1,2,"0");case"MMM":return d(r.monthsShort,a,c,3);case"MMMM":return d(c,a);case"D":return t.$D;case"DD":return j.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return d(r.weekdaysMin,t.$W,u,2);case"ddd":return d(r.weekdaysShort,t.$W,u,3);case"dddd":return u[t.$W];case"H":return String(o);case"HH":return j.s(o,2,"0");case"h":return p(1);case"hh":return p(2);case"a":return v(o,i,!0);case"A":return v(o,i,!1);case"m":return String(i);case"mm":return j.s(i,2,"0");case"s":return String(t.$s);case"ss":return j.s(t.$s,2,"0");case"SSS":return j.s(t.$ms,3,"0");case"Z":return s}return null}(e)||s.replace(":","")}))},y.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},y.diff=function(r,d,h){var p,f=this,v=j.p(d),y=E(r),g=(y.utcOffset()-this.utcOffset())*e,m=this-y,b=function(){return j.m(f,y)};switch(v){case l:p=b()/12;break;case u:p=b();break;case c:p=b()/3;break;case a:p=(m-g)/6048e5;break;case i:p=(m-g)/864e5;break;case o:p=m/t;break;case s:p=m/e;break;case n:p=m/1e3;break;default:p=m}return h?p:j.a(p)},y.daysInMonth=function(){return this.endOf(u).$D},y.$locale=function(){return b[this.$L]},y.locale=function(e,t){if(!e)return this.$L;var r=this.clone(),n=w(e,t,!0);return n&&(r.$L=n),r},y.clone=function(){return j.w(this.$d,this)},y.toDate=function(){return new Date(this.valueOf())},y.toJSON=function(){return this.isValid()?this.toISOString():null},y.toISOString=function(){return this.$d.toISOString()},y.toString=function(){return this.$d.toUTCString()},v}(),T=S.prototype;return E.prototype=T,[["$ms",r],["$s",n],["$m",s],["$H",o],["$W",i],["$M",u],["$y",l],["$D",d]].forEach((function(e){T[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),E.extend=function(e,t){return e.$i||(e(t,S,E),e.$i=!0),E},E.locale=w,E.isDayjs=O,E.unix=function(e){return E(1e3*e)},E.en=b[m],E.Ls=b,E.p={},E}()},6302:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},6327:(e,t,r)=>{"use strict";function n(e){return"transcriptionData"in e}r.r(t),r.d(t,{AssemblyAiConverter:()=>h,DeepgramConverter:()=>l,chunkArray:()=>c,isConverter:()=>n,secondsToTimestamp:()=>u,srt:()=>v,webvtt:()=>f});var s=r(6287),o=r.n(s),i=r(4268),a=r.n(i);function u(e,t="HH:mm:ss.SSS"){return o()(1e3*e).utc().format(t)}function c(e,t){const r=[];for(let n=0;n<e.length;n+=t){const s=e.slice(n,n+t);r.push(s)}return r}o().extend(a());class l{constructor(e){this.transcriptionData=e}getLines(e=8){const{results:t}=this.transcriptionData;let r=[];if(t.utterances)t.utterances.forEach((t=>{t.words.length>e?r.push(...c(t.words,e)):r.push(t.words)}));else{const n=t.channels[0].alternatives[0].words,s="speaker"in n[0];let o=[],i=0;n.forEach((t=>{var n;s&&t.speaker!==i&&(r.push(o),o=[]),o.length===e&&(r.push(o),o=[]),s&&(i=null!==(n=t.speaker)&&void 0!==n?n:0),o.push(t)})),r.push(o)}return r}getHeaders(){var e,t,r,n,s,o,i,a;const u=[];return u.push("NOTE"),u.push("Transcription provided by Deepgram"),(null===(e=this.transcriptionData.metadata)||void 0===e?void 0:e.request_id)&&u.push(`Request Id: ${null===(t=this.transcriptionData.metadata)||void 0===t?void 0:t.request_id}`),(null===(r=this.transcriptionData.metadata)||void 0===r?void 0:r.created)&&u.push(`Created: ${null===(n=this.transcriptionData.metadata)||void 0===n?void 0:n.created}`),(null===(s=this.transcriptionData.metadata)||void 0===s?void 0:s.duration)&&u.push(`Duration: ${null===(o=this.transcriptionData.metadata)||void 0===o?void 0:o.duration}`),(null===(i=this.transcriptionData.metadata)||void 0===i?void 0:i.channels)&&u.push(`Channels: ${null===(a=this.transcriptionData.metadata)||void 0===a?void 0:a.channels}`),u}}const d=e=>({word:e.text,start:e.start,end:e.end,confidence:e.confidence,punctuated_word:e.text,speaker:e.speaker});class h{constructor(e){this.transcriptionData=e}getLines(e=8){const t=this.transcriptionData;let r=[];return t.utterances?t.utterances.forEach((t=>{t.words.length>e?r.push(...c(t.words.map((e=>d(e))),e)):r.push(t.words.map((e=>d(e))))})):r.push(...c(t.words.map((e=>d(e))),e)),r}getHeaders(){const e=[];return e.push("NOTE"),e.push("Transcription provided by Assembly AI"),this.transcriptionData.id&&e.push(`Id: ${this.transcriptionData.id}`),this.transcriptionData.audio_duration&&e.push(`Duration: ${this.transcriptionData.audio_duration}`),e}}const p=e=>n(e)?e:new l(e),f=(e,t=8)=>{const r=[];let n=p(e);r.push("WEBVTT"),r.push(""),n.getHeaders&&r.push(n.getHeaders().join("\n")),n.getHeaders&&r.push("");const s=n.getLines(t),o="speaker"in s[0][0];return s.forEach((e=>{const t=e[0],n=e[e.length-1];r.push(`${u(t.start)} --\x3e ${u(n.end)}`);const s=e.map((e=>{var t;return null!==(t=e.punctuated_word)&&void 0!==t?t:e.word})).join(" "),i=o?`<v Speaker ${t.speaker}>`:"";r.push(`${i}${s}`),r.push("")})),r.join("\n")},v=(e,t=8)=>{const r=[];let n=p(e).getLines(t);const s="speaker"in n[0][0];let o,i=1;return n.forEach((e=>{r.push((i++).toString());const t=e[0],n=e[e.length-1];r.push(`${u(t.start,"HH:mm:ss,SSS")} --\x3e ${u(n.end,"HH:mm:ss,SSS")}`);const a=e.map((e=>{var t;return null!==(t=e.punctuated_word)&&void 0!==t?t:e.word})).join(" "),c=s&&o!==t.speaker?`[Speaker ${t.speaker}]\n`:"";r.push(`${c}${a}`),r.push(""),o=t.speaker})),r.join("\n")}},6416:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var s=Object.getOwnPropertyDescriptor(t,r);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,s)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),s=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),s(r(1176),t),s(r(3063),t),s(r(6487),t),s(r(986),t)},6487:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.LiveTranscriptionEvents=void 0,(r=t.LiveTranscriptionEvents||(t.LiveTranscriptionEvents={})).Open="open",r.Close="close",r.Error="error",r.Transcript="Results",r.Metadata="Metadata",r.UtteranceEnd="UtteranceEnd",r.SpeechStarted="SpeechStarted",r.Unhandled="Unhandled"},6544:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},6731:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var s=Object.getOwnPropertyDescriptor(t,r);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,s)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),s=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),s(r(5066),t),s(r(740),t),s(r(5096),t),s(r(2043),t),s(r(472),t),s(r(875),t),s(r(5357),t),s(r(6733),t),s(r(7361),t),s(r(5292),t),s(r(3242),t),s(r(367),t),s(r(398),t),s(r(3712),t),s(r(4492),t)},6733:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,o){function i(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}u((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.PrerecordedClient=t.ListenRestClient=void 0;const s=r(684),o=r(4306),i=r(5096);class a extends i.AbstractRestClient{constructor(){super(...arguments),this.namespace="listen"}transcribeUrl(e,t,r=":version/listen"){var i,a;return n(this,void 0,void 0,(function*(){try{let n;if(!(0,s.isUrlSource)(e))throw new o.DeepgramError("Unknown transcription source type");if(n=JSON.stringify(e),void 0!==t&&"callback"in t)throw new o.DeepgramError("Callback cannot be provided as an option to a synchronous transcription. Use `transcribeUrlCallback` or `transcribeFileCallback` instead.");if((null===(i=null==t?void 0:t.keyterm)||void 0===i?void 0:i.length)&&!(null===(a=t.model)||void 0===a?void 0:a.startsWith("nova-3")))throw new o.DeepgramError("Keyterms are only supported with the Nova 3 models.");const u=this.getRequestUrl(r,{},Object.assign({},t));return{result:yield this.post(u,n).then((e=>e.json())),error:null}}catch(e){if((0,o.isDeepgramError)(e))return{result:null,error:e};throw e}}))}transcribeFile(e,t,r=":version/listen"){return n(this,void 0,void 0,(function*(){try{let n;if(!(0,s.isFileSource)(e))throw new o.DeepgramError("Unknown transcription source type");if(n=e,void 0!==t&&"callback"in t)throw new o.DeepgramError("Callback cannot be provided as an option to a synchronous transcription. Use `transcribeUrlCallback` or `transcribeFileCallback` instead.");const i=this.getRequestUrl(r,{},Object.assign({},t));return{result:yield this.post(i,n,{headers:{"Content-Type":"deepgram/audio+video"}}).then((e=>e.json())),error:null}}catch(e){if((0,o.isDeepgramError)(e))return{result:null,error:e};throw e}}))}transcribeUrlCallback(e,t,r,i=":version/listen"){return n(this,void 0,void 0,(function*(){try{let n;if(!(0,s.isUrlSource)(e))throw new o.DeepgramError("Unknown transcription source type");n=JSON.stringify(e);const a=this.getRequestUrl(i,{},Object.assign(Object.assign({},r),{callback:t.toString()}));return{result:yield this.post(a,n).then((e=>e.json())),error:null}}catch(e){if((0,o.isDeepgramError)(e))return{result:null,error:e};throw e}}))}transcribeFileCallback(e,t,r,i=":version/listen"){return n(this,void 0,void 0,(function*(){try{let n;if(!(0,s.isFileSource)(e))throw new o.DeepgramError("Unknown transcription source type");n=e;const a=this.getRequestUrl(i,{},Object.assign(Object.assign({},r),{callback:t.toString()}));return{result:yield this.post(a,n,{headers:{"Content-Type":"deepgram/audio+video"}}).then((e=>e.json())),error:null}}catch(e){if((0,o.isDeepgramError)(e))return{result:null,error:e};throw e}}))}}t.ListenRestClient=a,t.PrerecordedClient=a},7034:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},7205:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},7314:e=>{"use strict";var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===r}(e)}(e)},r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function n(e,t){return!1!==t.clone&&t.isMergeableObject(e)?a((r=e,Array.isArray(r)?[]:{}),e,t):e;var r}function s(e,t,r){return e.concat(t).map((function(e){return n(e,r)}))}function o(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function i(e,t){try{return t in e}catch(e){return!1}}function a(e,r,u){(u=u||{}).arrayMerge=u.arrayMerge||s,u.isMergeableObject=u.isMergeableObject||t,u.cloneUnlessOtherwiseSpecified=n;var c=Array.isArray(r);return c===Array.isArray(e)?c?u.arrayMerge(e,r,u):function(e,t,r){var s={};return r.isMergeableObject(e)&&o(e).forEach((function(t){s[t]=n(e[t],r)})),o(t).forEach((function(o){(function(e,t){return i(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,o)||(i(e,o)&&r.isMergeableObject(t[o])?s[o]=function(e,t){if(!t.customMerge)return a;var r=t.customMerge(e);return"function"==typeof r?r:a}(o,r)(e[o],t[o],r):s[o]=n(t[o],r))})),s}(e,r,u):n(r,u)}a.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,r){return a(e,r,t)}),{})};var u=a;e.exports=u},7361:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(s,o){function i(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,a)}u((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.ManageClient=t.ManageRestClient=void 0;const s=r(4306),o=r(5096);class i extends o.AbstractRestClient{constructor(){super(...arguments),this.namespace="manage"}getTokenDetails(e=":version/auth/token"){return n(this,void 0,void 0,(function*(){try{const t=this.getRequestUrl(e);return{result:yield this.get(t).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}getProjects(e=":version/projects"){return n(this,void 0,void 0,(function*(){try{const t=this.getRequestUrl(e);return{result:yield this.get(t).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}getProject(e,t=":version/projects/:projectId"){return n(this,void 0,void 0,(function*(){try{const r=this.getRequestUrl(t,{projectId:e});return{result:yield this.get(r).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}updateProject(e,t,r=":version/projects/:projectId"){return n(this,void 0,void 0,(function*(){try{const n=this.getRequestUrl(r,{projectId:e},t),s=JSON.stringify(t);return{result:yield this.patch(n,s).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}deleteProject(e,t=":version/projects/:projectId"){return n(this,void 0,void 0,(function*(){try{const r=this.getRequestUrl(t,{projectId:e});return yield this.delete(r),{error:null}}catch(e){if((0,s.isDeepgramError)(e))return{error:e};throw e}}))}getProjectKeys(e,t=":version/projects/:projectId/keys"){return n(this,void 0,void 0,(function*(){try{const r=this.getRequestUrl(t,{projectId:e});return{result:yield this.get(r).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}getProjectKey(e,t,r=":version/projects/:projectId/keys/:keyId"){return n(this,void 0,void 0,(function*(){try{const n=this.getRequestUrl(r,{projectId:e,keyId:t});return{result:yield this.get(n).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}createProjectKey(e,t,r=":version/projects/:projectId/keys"){return n(this,void 0,void 0,(function*(){try{const n=this.getRequestUrl(r,{projectId:e},t),s=JSON.stringify(t);return{result:yield this.post(n,s).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}deleteProjectKey(e,t,r=":version/projects/:projectId/keys/:keyId"){return n(this,void 0,void 0,(function*(){try{const n=this.getRequestUrl(r,{projectId:e,keyId:t});return yield this.delete(n),{error:null}}catch(e){if((0,s.isDeepgramError)(e))return{error:e};throw e}}))}getProjectMembers(e,t=":version/projects/:projectId/members"){return n(this,void 0,void 0,(function*(){try{const r=this.getRequestUrl(t,{projectId:e});return{result:yield this.get(r).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}removeProjectMember(e,t,r=":version/projects/:projectId/members/:memberId"){return n(this,void 0,void 0,(function*(){try{const n=this.getRequestUrl(r,{projectId:e,memberId:t});return yield this.delete(n),{error:null}}catch(e){if((0,s.isDeepgramError)(e))return{error:e};throw e}}))}getProjectMemberScopes(e,t,r=":version/projects/:projectId/members/:memberId/scopes"){return n(this,void 0,void 0,(function*(){try{const n=this.getRequestUrl(r,{projectId:e,memberId:t});return{result:yield this.get(n).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}updateProjectMemberScope(e,t,r,o=":version/projects/:projectId/members/:memberId/scopes"){return n(this,void 0,void 0,(function*(){try{const n=this.getRequestUrl(o,{projectId:e,memberId:t},r),s=JSON.stringify(r);return{result:yield this.put(n,s).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}getProjectInvites(e,t=":version/projects/:projectId/invites"){return n(this,void 0,void 0,(function*(){try{const r=this.getRequestUrl(t,{projectId:e});return{result:yield this.get(r).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}sendProjectInvite(e,t,r=":version/projects/:projectId/invites"){return n(this,void 0,void 0,(function*(){try{const n=this.getRequestUrl(r,{projectId:e},t),s=JSON.stringify(t);return{result:yield this.post(n,s).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}deleteProjectInvite(e,t,r=":version/projects/:projectId/invites/:email"){return n(this,void 0,void 0,(function*(){try{const n=this.getRequestUrl(r,{projectId:e,email:t});return yield this.delete(n),{error:null}}catch(e){if((0,s.isDeepgramError)(e))return{error:e};throw e}}))}leaveProject(e,t=":version/projects/:projectId/leave"){return n(this,void 0,void 0,(function*(){try{const r=this.getRequestUrl(t,{projectId:e});return{result:yield this.delete(r).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}getProjectUsageRequests(e,t,r=":version/projects/:projectId/requests"){return n(this,void 0,void 0,(function*(){try{const n=this.getRequestUrl(r,{projectId:e},t);return{result:yield this.get(n).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}getProjectUsageRequest(e,t,r=":version/projects/:projectId/requests/:requestId"){return n(this,void 0,void 0,(function*(){try{const n=this.getRequestUrl(r,{projectId:e,requestId:t});return{result:yield this.get(n).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}getProjectUsageSummary(e,t,r=":version/projects/:projectId/usage"){return n(this,void 0,void 0,(function*(){try{const n=this.getRequestUrl(r,{projectId:e},t);return{result:yield this.get(n).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}getProjectUsageFields(e,t,r=":version/projects/:projectId/usage/fields"){return n(this,void 0,void 0,(function*(){try{const n=this.getRequestUrl(r,{projectId:e},t);return{result:yield this.get(n).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}getProjectBalances(e,t=":version/projects/:projectId/balances"){return n(this,void 0,void 0,(function*(){try{const r=this.getRequestUrl(t,{projectId:e});return{result:yield this.get(r).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}getProjectBalance(e,t,r=":version/projects/:projectId/balances/:balanceId"){return n(this,void 0,void 0,(function*(){try{const n=this.getRequestUrl(r,{projectId:e,balanceId:t});return{result:yield this.get(n).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}getAllModels(e,t={},r=":version/projects/:projectId/models"){return n(this,void 0,void 0,(function*(){try{const n=this.getRequestUrl(r,{projectId:e},t);return{result:yield this.get(n).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}getModel(e,t,r=":version/projects/:projectId/models/:modelId"){return n(this,void 0,void 0,(function*(){try{const n=this.getRequestUrl(r,{projectId:e,modelId:t});return{result:yield this.get(n).then((e=>e.json())),error:null}}catch(e){if((0,s.isDeepgramError)(e))return{result:null,error:e};throw e}}))}}t.ManageRestClient=i,t.ManageClient=i},7897:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},8034:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},8378:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},8389:(e,t,r)=>{var n="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==r.g&&r.g,s=function(){function e(){this.fetch=!1,this.DOMException=n.DOMException}return e.prototype=n,new e}();!function(e){!function(t){var n=void 0!==e&&e||"undefined"!=typeof self&&self||void 0!==r.g&&r.g||{},s="URLSearchParams"in n,o="Symbol"in n&&"iterator"in Symbol,i="FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch(e){return!1}}(),a="FormData"in n,u="ArrayBuffer"in n;if(u)var c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(e){return e&&c.indexOf(Object.prototype.toString.call(e))>-1};function d(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function h(e){return"string"!=typeof e&&(e=String(e)),e}function p(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return o&&(t[Symbol.iterator]=function(){return t}),t}function f(e){this.map={},e instanceof f?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function v(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function y(e){return new Promise((function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}}))}function g(e){var t=new FileReader,r=y(t);return t.readAsArrayBuffer(e),r}function m(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function b(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:i&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:a&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:s&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():u&&i&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=m(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):u&&(ArrayBuffer.prototype.isPrototypeOf(e)||l(e))?this._bodyArrayBuffer=m(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):s&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i&&(this.blob=function(){var e=v(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer)return v(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(i)return this.blob().then(g);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,r,n,s,o=v(this);if(o)return o;if(this._bodyBlob)return e=this._bodyBlob,r=y(t=new FileReader),s=(n=/charset=([A-Za-z0-9_-]+)/.exec(e.type))?n[1]:"utf-8",t.readAsText(e,s),r;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a&&(this.formData=function(){return this.text().then(w)}),this.json=function(){return this.text().then(JSON.parse)},this}f.prototype.append=function(e,t){e=d(e),t=h(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},f.prototype.delete=function(e){delete this.map[d(e)]},f.prototype.get=function(e){return e=d(e),this.has(e)?this.map[e]:null},f.prototype.has=function(e){return this.map.hasOwnProperty(d(e))},f.prototype.set=function(e,t){this.map[d(e)]=h(t)},f.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},f.prototype.keys=function(){var e=[];return this.forEach((function(t,r){e.push(r)})),p(e)},f.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),p(e)},f.prototype.entries=function(){var e=[];return this.forEach((function(t,r){e.push([r,t])})),p(e)},o&&(f.prototype[Symbol.iterator]=f.prototype.entries);var _=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function O(e,t){if(!(this instanceof O))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,s,o=(t=t||{}).body;if(e instanceof O){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new f(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,o||null==e._bodyInit||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new f(t.headers)),this.method=(s=(r=t.method||this.method||"GET").toUpperCase(),_.indexOf(s)>-1?s:r),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in n)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(o),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var i=/([?&])_=[^&]*/;i.test(this.url)?this.url=this.url.replace(i,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}function w(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),s=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(s))}})),t}function E(e,t){if(!(this instanceof E))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new f(t.headers),this.url=t.url||"",this._initBody(e)}O.prototype.clone=function(){return new O(this,{body:this._bodyInit})},b.call(O.prototype),b.call(E.prototype),E.prototype.clone=function(){return new E(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},E.error=function(){var e=new E(null,{status:200,statusText:""});return e.ok=!1,e.status=0,e.type="error",e};var j=[301,302,303,307,308];E.redirect=function(e,t){if(-1===j.indexOf(t))throw new RangeError("Invalid status code");return new E(null,{status:t,headers:{location:e}})},t.DOMException=n.DOMException;try{new t.DOMException}catch(e){t.DOMException=function(e,t){this.message=e,this.name=t;var r=Error(e);this.stack=r.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function S(e,r){return new Promise((function(s,o){var a=new O(e,r);if(a.signal&&a.signal.aborted)return o(new t.DOMException("Aborted","AbortError"));var c=new XMLHttpRequest;function l(){c.abort()}if(c.onload=function(){var e,t,r={statusText:c.statusText,headers:(e=c.getAllResponseHeaders()||"",t=new f,e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var r=e.split(":"),n=r.shift().trim();if(n){var s=r.join(":").trim();try{t.append(n,s)}catch(e){console.warn("Response "+e.message)}}})),t)};0===a.url.indexOf("file://")&&(c.status<200||c.status>599)?r.status=200:r.status=c.status,r.url="responseURL"in c?c.responseURL:r.headers.get("X-Request-URL");var n="response"in c?c.response:c.responseText;setTimeout((function(){s(new E(n,r))}),0)},c.onerror=function(){setTimeout((function(){o(new TypeError("Network request failed"))}),0)},c.ontimeout=function(){setTimeout((function(){o(new TypeError("Network request timed out"))}),0)},c.onabort=function(){setTimeout((function(){o(new t.DOMException("Aborted","AbortError"))}),0)},c.open(a.method,function(e){try{return""===e&&n.location.href?n.location.href:e}catch(t){return e}}(a.url),!0),"include"===a.credentials?c.withCredentials=!0:"omit"===a.credentials&&(c.withCredentials=!1),"responseType"in c&&(i?c.responseType="blob":u&&(c.responseType="arraybuffer")),r&&"object"==typeof r.headers&&!(r.headers instanceof f||n.Headers&&r.headers instanceof n.Headers)){var p=[];Object.getOwnPropertyNames(r.headers).forEach((function(e){p.push(d(e)),c.setRequestHeader(e,h(r.headers[e]))})),a.headers.forEach((function(e,t){-1===p.indexOf(t)&&c.setRequestHeader(t,e)}))}else a.headers.forEach((function(e,t){c.setRequestHeader(t,e)}));a.signal&&(a.signal.addEventListener("abort",l),c.onreadystatechange=function(){4===c.readyState&&a.signal.removeEventListener("abort",l)}),c.send(void 0===a._bodyInit?null:a._bodyInit)}))}S.polyfill=!0,n.fetch||(n.fetch=S,n.Headers=f,n.Request=O,n.Response=E),t.Headers=f,t.Request=O,t.Response=E,t.fetch=S,Object.defineProperty(t,"__esModule",{value:!0})}({})}(s),s.fetch.ponyfill=!0,delete s.fetch.polyfill;var o=n.fetch?n:s;(t=o.fetch).default=o.fetch,t.fetch=o.fetch,t.Headers=o.Headers,t.Request=o.Request,t.Response=o.Response,e.exports=t},8457:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},8502:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},8600:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},8633:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},8712:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CONNECTION_STATE=t.SOCKET_STATES=t.DEFAULT_OPTIONS=t.DEFAULT_AGENT_OPTIONS=t.DEFAULT_GLOBAL_OPTIONS=t.DEFAULT_AGENT_URL=t.DEFAULT_URL=t.DEFAULT_HEADERS=void 0;const n=r(684),s=r(5793),o=r(5569);var i,a;t.DEFAULT_HEADERS={"Content-Type":"application/json","X-Client-Info":`@deepgram/sdk; ${(0,s.isBrowser)()?"browser":"server"}; v${o.version}`,"User-Agent":`@deepgram/sdk/${o.version} ${(0,s.isNode)()?`node/${s.NODE_VERSION}`:(0,s.isBun)()?`bun/${s.BUN_VERSION}`:(0,s.isBrowser)()?`javascript ${s.BROWSER_AGENT}`:"unknown"}`},t.DEFAULT_URL="https://api.deepgram.com",t.DEFAULT_AGENT_URL="wss://agent.deepgram.com",t.DEFAULT_GLOBAL_OPTIONS={fetch:{options:{url:t.DEFAULT_URL,headers:t.DEFAULT_HEADERS}},websocket:{options:{url:(0,n.convertProtocolToWs)(t.DEFAULT_URL),_nodeOnlyHeaders:t.DEFAULT_HEADERS}}},t.DEFAULT_AGENT_OPTIONS={fetch:{options:{url:t.DEFAULT_URL,headers:t.DEFAULT_HEADERS}},websocket:{options:{url:t.DEFAULT_AGENT_URL,_nodeOnlyHeaders:t.DEFAULT_HEADERS}}},t.DEFAULT_OPTIONS={global:t.DEFAULT_GLOBAL_OPTIONS,agent:t.DEFAULT_AGENT_OPTIONS},(a=t.SOCKET_STATES||(t.SOCKET_STATES={}))[a.connecting=0]="connecting",a[a.open=1]="open",a[a.closing=2]="closing",a[a.closed=3]="closed",(i=t.CONNECTION_STATE||(t.CONNECTION_STATE={})).Connecting="connecting",i.Open="open",i.Closing="closing",i.Closed="closed"},8785:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},8968:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},9042:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},9115:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},9176:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},9475:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},9518:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},9784:e=>{"use strict";var t,r="object"==typeof Reflect?Reflect:null,n=r&&"function"==typeof r.apply?r.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};t=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var s=Number.isNaN||function(e){return e!=e};function o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise((function(r,n){function s(r){e.removeListener(t,o),n(r)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",s),r([].slice.call(arguments))}v(e,t,o,{once:!0}),"error"!==t&&function(e,t){"function"==typeof e.on&&v(e,"error",t,{once:!0})}(e,s)}))},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var i=10;function a(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function c(e,t,r,n){var s,o,i,c;if(a(r),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),o=e._events),i=o[t]),void 0===i)i=o[t]=r,++e._eventsCount;else if("function"==typeof i?i=o[t]=n?[r,i]:[i,r]:n?i.unshift(r):i.push(r),(s=u(e))>0&&i.length>s&&!i.warned){i.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+i.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=i.length,c=l,console&&console.warn&&console.warn(c)}return e}function l(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},s=l.bind(n);return s.listener=r,n.wrapFn=s,s}function h(e,t,r){var n=e._events;if(void 0===n)return[];var s=n[t];return void 0===s?[]:"function"==typeof s?r?[s.listener||s]:[s]:r?function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(s):f(s,s.length)}function p(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function f(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function v(e,t,r,n){if("function"==typeof e.on)n.once?e.once(t,r):e.on(t,r);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function s(o){n.once&&e.removeEventListener(t,s),r(o)}))}}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return i},set:function(e){if("number"!=typeof e||e<0||s(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");i=e}}),o.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||s(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},o.prototype.getMaxListeners=function(){return u(this)},o.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var s="error"===e,o=this._events;if(void 0!==o)s=s&&void 0===o.error;else if(!s)return!1;if(s){var i;if(t.length>0&&(i=t[0]),i instanceof Error)throw i;var a=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw a.context=i,a}var u=o[e];if(void 0===u)return!1;if("function"==typeof u)n(u,this,t);else{var c=u.length,l=f(u,c);for(r=0;r<c;++r)n(l[r],this,t)}return!0},o.prototype.addListener=function(e,t){return c(this,e,t,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,t){return c(this,e,t,!0)},o.prototype.once=function(e,t){return a(t),this.on(e,d(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){return a(t),this.prependListener(e,d(this,e,t)),this},o.prototype.removeListener=function(e,t){var r,n,s,o,i;if(a(t),void 0===(n=this._events))return this;if(void 0===(r=n[e]))return this;if(r===t||r.listener===t)0===--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(s=-1,o=r.length-1;o>=0;o--)if(r[o]===t||r[o].listener===t){i=r[o].listener,s=o;break}if(s<0)return this;0===s?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,s),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,i||t)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var t,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0===--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var s,o=Object.keys(r);for(n=0;n<o.length;++n)"removeListener"!==(s=o[n])&&this.removeAllListeners(s);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},o.prototype.listeners=function(e){return h(this,e,!0)},o.prototype.rawListeners=function(e){return h(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},o.prototype.listenerCount=p,o.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},9836:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})}},t={};function r(n){var s=t[n];if(void 0!==s)return s.exports;var o=t[n]={exports:{}};return e[n].call(o.exports,o,o.exports,r),o.exports}return r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r(3465)})()));
|
package/src/DeepgramClient.ts
DELETED
|
@@ -1,167 +0,0 @@
|
|
|
1
|
-
import { DeepgramVersionError } from "./lib/errors";
|
|
2
|
-
import {
|
|
3
|
-
AbstractClient,
|
|
4
|
-
AgentLiveClient,
|
|
5
|
-
AuthRestClient,
|
|
6
|
-
ListenClient,
|
|
7
|
-
ManageClient,
|
|
8
|
-
ReadClient,
|
|
9
|
-
OnPremClient,
|
|
10
|
-
SelfHostedRestClient,
|
|
11
|
-
SpeakClient,
|
|
12
|
-
ModelsRestClient,
|
|
13
|
-
} from "./packages";
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* The DeepgramClient class provides access to various Deepgram API clients, including ListenClient, ManageClient, SelfHostedRestClient, ReadClient, and SpeakClient.
|
|
17
|
-
*
|
|
18
|
-
* @see https://github.com/deepgram/deepgram-js-sdk
|
|
19
|
-
*/
|
|
20
|
-
export default class DeepgramClient extends AbstractClient {
|
|
21
|
-
/**
|
|
22
|
-
* Returns a new instance of the AuthRestClient, which provides access to the Deepgram API's temporary token endpoints.
|
|
23
|
-
*
|
|
24
|
-
* @returns {AuthRestClient} A new instance of the AuthRestClient.
|
|
25
|
-
* @see https://developers.deepgram.com/reference/token-based-auth-api/grant-token
|
|
26
|
-
*/
|
|
27
|
-
get auth(): AuthRestClient {
|
|
28
|
-
return new AuthRestClient(this.options);
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Returns a new instance of the ListenClient, which provides access to the Deepgram API's listening functionality.
|
|
32
|
-
*
|
|
33
|
-
* @returns {ListenClient} A new instance of the ListenClient.
|
|
34
|
-
*/
|
|
35
|
-
get listen(): ListenClient {
|
|
36
|
-
return new ListenClient(this.options);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Returns a new instance of the ManageClient, which provides access to the Deepgram API's management functionality.
|
|
41
|
-
*
|
|
42
|
-
* @returns {ManageClient} A new instance of the ManageClient.
|
|
43
|
-
*/
|
|
44
|
-
get manage(): ManageClient {
|
|
45
|
-
return new ManageClient(this.options);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* Returns a new instance of the ModelsRestClient, which provides access to the Deepgram API's model functionality.
|
|
50
|
-
*
|
|
51
|
-
* @returns {ModelsRestClient} A new instance of the ModelsRestClient.
|
|
52
|
-
*/
|
|
53
|
-
get models(): ModelsRestClient {
|
|
54
|
-
return new ModelsRestClient(this.options);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* Returns a new instance of the SelfHostedRestClient, which provides access to the Deepgram API's self-hosted functionality.
|
|
59
|
-
*
|
|
60
|
-
* @returns {OnPremClient} A new instance of the SelfHostedRestClient named as OnPremClient.
|
|
61
|
-
* @deprecated use selfhosted() instead
|
|
62
|
-
*/
|
|
63
|
-
get onprem(): OnPremClient {
|
|
64
|
-
return this.selfhosted;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* Returns a new instance of the SelfHostedRestClient, which provides access to the Deepgram API's self-hosted functionality.
|
|
69
|
-
*
|
|
70
|
-
* @returns {SelfHostedRestClient} A new instance of the SelfHostedRestClient.
|
|
71
|
-
*/
|
|
72
|
-
get selfhosted(): SelfHostedRestClient {
|
|
73
|
-
return new SelfHostedRestClient(this.options);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* Returns a new instance of the ReadClient, which provides access to the Deepgram API's reading functionality.
|
|
78
|
-
*
|
|
79
|
-
* @returns {ReadClient} A new instance of the ReadClient.
|
|
80
|
-
*/
|
|
81
|
-
get read(): ReadClient {
|
|
82
|
-
return new ReadClient(this.options);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* Returns a new instance of the SpeakClient, which provides access to the Deepgram API's speaking functionality.
|
|
87
|
-
*
|
|
88
|
-
* @returns {SpeakClient} A new instance of the SpeakClient.
|
|
89
|
-
*/
|
|
90
|
-
get speak(): SpeakClient {
|
|
91
|
-
return new SpeakClient(this.options);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* Returns a new instance of the AgentLiveClient, which provides access to Deepgram's Voice Agent API.
|
|
96
|
-
*
|
|
97
|
-
* @returns {AgentLiveClient} A new instance of the AgentLiveClient.
|
|
98
|
-
* @beta
|
|
99
|
-
*/
|
|
100
|
-
public agent(endpoint: string = "/:version/agent/converse"): AgentLiveClient {
|
|
101
|
-
return new AgentLiveClient(this.options, endpoint);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
/**
|
|
105
|
-
* @deprecated
|
|
106
|
-
* @see https://dpgr.am/js-v3
|
|
107
|
-
*/
|
|
108
|
-
get transcription(): any {
|
|
109
|
-
throw new DeepgramVersionError();
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* @deprecated
|
|
114
|
-
* @see https://dpgr.am/js-v3
|
|
115
|
-
*/
|
|
116
|
-
get projects(): any {
|
|
117
|
-
throw new DeepgramVersionError();
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
/**
|
|
121
|
-
* @deprecated
|
|
122
|
-
* @see https://dpgr.am/js-v3
|
|
123
|
-
*/
|
|
124
|
-
get keys(): any {
|
|
125
|
-
throw new DeepgramVersionError();
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
* @deprecated
|
|
130
|
-
* @see https://dpgr.am/js-v3
|
|
131
|
-
*/
|
|
132
|
-
get members(): any {
|
|
133
|
-
throw new DeepgramVersionError();
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
/**
|
|
137
|
-
* @deprecated
|
|
138
|
-
* @see https://dpgr.am/js-v3
|
|
139
|
-
*/
|
|
140
|
-
get scopes(): any {
|
|
141
|
-
throw new DeepgramVersionError();
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
/**
|
|
145
|
-
* @deprecated
|
|
146
|
-
* @see https://dpgr.am/js-v3
|
|
147
|
-
*/
|
|
148
|
-
get invitation(): any {
|
|
149
|
-
throw new DeepgramVersionError();
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
/**
|
|
153
|
-
* @deprecated
|
|
154
|
-
* @see https://dpgr.am/js-v3
|
|
155
|
-
*/
|
|
156
|
-
get usage(): any {
|
|
157
|
-
throw new DeepgramVersionError();
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
/**
|
|
161
|
-
* @deprecated
|
|
162
|
-
* @see https://dpgr.am/js-v3
|
|
163
|
-
*/
|
|
164
|
-
get billing(): any {
|
|
165
|
-
throw new DeepgramVersionError();
|
|
166
|
-
}
|
|
167
|
-
}
|
package/src/index.ts
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { DeepgramClientOptions, IKeyFactory } from "./lib/types/DeepgramClientOptions";
|
|
2
|
-
import { DeepgramVersionError } from "./lib/errors";
|
|
3
|
-
import DeepgramClient from "./DeepgramClient";
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* This class is deprecated and should not be used. It throws a `DeepgramVersionError` when instantiated.
|
|
7
|
-
*
|
|
8
|
-
* @deprecated
|
|
9
|
-
* @see https://dpgr.am/js-v3
|
|
10
|
-
*/
|
|
11
|
-
class Deepgram {
|
|
12
|
-
constructor(protected apiKey: string, protected apiUrl?: string, protected requireSSL?: boolean) {
|
|
13
|
-
throw new DeepgramVersionError();
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Creates a new Deepgram client instance.
|
|
19
|
-
*
|
|
20
|
-
* @param {DeepgramClientArgs} args - Arguments to pass to the Deepgram client constructor.
|
|
21
|
-
* @returns A new Deepgram client instance.
|
|
22
|
-
*/
|
|
23
|
-
function createClient(): DeepgramClient;
|
|
24
|
-
function createClient(key?: string | IKeyFactory): DeepgramClient;
|
|
25
|
-
function createClient(options?: DeepgramClientOptions): DeepgramClient;
|
|
26
|
-
function createClient(key?: string | IKeyFactory, options?: DeepgramClientOptions): DeepgramClient;
|
|
27
|
-
function createClient(
|
|
28
|
-
keyOrOptions?: string | IKeyFactory | DeepgramClientOptions,
|
|
29
|
-
options?: DeepgramClientOptions
|
|
30
|
-
): DeepgramClient {
|
|
31
|
-
let resolvedOptions: DeepgramClientOptions = {};
|
|
32
|
-
|
|
33
|
-
if (typeof keyOrOptions === "string" || typeof keyOrOptions === "function") {
|
|
34
|
-
if (typeof options === "object") {
|
|
35
|
-
resolvedOptions = options;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
resolvedOptions.key = keyOrOptions;
|
|
39
|
-
} else if (typeof keyOrOptions === "object") {
|
|
40
|
-
resolvedOptions = keyOrOptions;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
return new DeepgramClient(resolvedOptions);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
export { createClient, DeepgramClient, Deepgram };
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* Helpful exports.
|
|
50
|
-
*/
|
|
51
|
-
export * from "./packages";
|
|
52
|
-
export * from "./lib/types";
|
|
53
|
-
export * from "./lib/enums";
|
|
54
|
-
export * from "./lib/constants";
|
|
55
|
-
export * from "./lib/errors";
|
|
56
|
-
export * from "./lib/helpers";
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* Captions. These will be tree-shaken if unused.
|
|
60
|
-
*
|
|
61
|
-
* @see https://github.com/deepgram/deepgram-node-captions
|
|
62
|
-
*
|
|
63
|
-
* import/export declarations don't do anything but set up an alias to the
|
|
64
|
-
* exported variable, they do not count as a "use". Given their semantics,
|
|
65
|
-
* they are tracked specially by any bundler and will not adversely affect
|
|
66
|
-
* tree-shaking.
|
|
67
|
-
*/
|
|
68
|
-
export { webvtt, srt } from "@deepgram/captions";
|
package/src/lib/constants.ts
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { convertProtocolToWs } from "./helpers";
|
|
2
|
-
import { isBrowser, isBun, isNode, NODE_VERSION, BUN_VERSION, BROWSER_AGENT } from "./runtime";
|
|
3
|
-
import { version } from "./version";
|
|
4
|
-
import type { DefaultNamespaceOptions, DefaultClientOptions } from "./types";
|
|
5
|
-
|
|
6
|
-
const getAgent = () => {
|
|
7
|
-
if (isNode()) {
|
|
8
|
-
return `node/${NODE_VERSION}`;
|
|
9
|
-
} else if (isBun()) {
|
|
10
|
-
return `bun/${BUN_VERSION}`;
|
|
11
|
-
} else if (isBrowser()) {
|
|
12
|
-
return `javascript ${BROWSER_AGENT}`;
|
|
13
|
-
} else {
|
|
14
|
-
return `unknown`;
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
export const DEFAULT_HEADERS = {
|
|
19
|
-
"Content-Type": `application/json`,
|
|
20
|
-
"X-Client-Info": `@deepgram/sdk; ${isBrowser() ? "browser" : "server"}; v${version}`,
|
|
21
|
-
"User-Agent": `@deepgram/sdk/${version} ${getAgent()}`,
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
export const DEFAULT_URL = "https://api.deepgram.com";
|
|
25
|
-
export const DEFAULT_AGENT_URL = "wss://agent.deepgram.com";
|
|
26
|
-
|
|
27
|
-
export const DEFAULT_GLOBAL_OPTIONS: Partial<DefaultNamespaceOptions> = {
|
|
28
|
-
fetch: { options: { url: DEFAULT_URL, headers: DEFAULT_HEADERS } },
|
|
29
|
-
websocket: {
|
|
30
|
-
options: { url: convertProtocolToWs(DEFAULT_URL), _nodeOnlyHeaders: DEFAULT_HEADERS },
|
|
31
|
-
},
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
export const DEFAULT_AGENT_OPTIONS: Partial<DefaultNamespaceOptions> = {
|
|
35
|
-
fetch: { options: { url: DEFAULT_URL, headers: DEFAULT_HEADERS } },
|
|
36
|
-
websocket: {
|
|
37
|
-
options: { url: DEFAULT_AGENT_URL, _nodeOnlyHeaders: DEFAULT_HEADERS },
|
|
38
|
-
},
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
export const DEFAULT_OPTIONS: DefaultClientOptions = {
|
|
42
|
-
global: DEFAULT_GLOBAL_OPTIONS,
|
|
43
|
-
agent: DEFAULT_AGENT_OPTIONS,
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
export enum SOCKET_STATES {
|
|
47
|
-
connecting = 0,
|
|
48
|
-
open = 1,
|
|
49
|
-
closing = 2,
|
|
50
|
-
closed = 3,
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
export enum CONNECTION_STATE {
|
|
54
|
-
Connecting = "connecting",
|
|
55
|
-
Open = "open",
|
|
56
|
-
Closing = "closing",
|
|
57
|
-
Closed = "closed",
|
|
58
|
-
}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
export enum AgentEvents {
|
|
2
|
-
/**
|
|
3
|
-
* Built in socket events.
|
|
4
|
-
*/
|
|
5
|
-
Open = "Open",
|
|
6
|
-
Close = "Close",
|
|
7
|
-
Error = "Error",
|
|
8
|
-
/**
|
|
9
|
-
* Audio event?
|
|
10
|
-
*/
|
|
11
|
-
Audio = "Audio",
|
|
12
|
-
/**
|
|
13
|
-
* Confirms the successful connection to the websocket.
|
|
14
|
-
* { type: "Welcome", request_id: "String"}
|
|
15
|
-
*/
|
|
16
|
-
Welcome = "Welcome",
|
|
17
|
-
/**
|
|
18
|
-
* Confirms that your `configure` request was successful.
|
|
19
|
-
* { type: "SettingsApplied" }
|
|
20
|
-
*/
|
|
21
|
-
SettingsApplied = "SettingsApplied",
|
|
22
|
-
/**
|
|
23
|
-
* Triggered when the agent "hears" the user say something.
|
|
24
|
-
* { type: "ConversationText", role: string, content: string }
|
|
25
|
-
*/
|
|
26
|
-
ConversationText = "ConversationText",
|
|
27
|
-
/**
|
|
28
|
-
* Triggered when the agent begins receiving user audio.
|
|
29
|
-
* { type: "UserStartedSpeaking" }
|
|
30
|
-
*/
|
|
31
|
-
UserStartedSpeaking = "UserStartedSpeaking",
|
|
32
|
-
/**
|
|
33
|
-
* Triggered when the user has stopped speaking and the agent is processing the audio.
|
|
34
|
-
* { type: "AgentThinking", content: string }
|
|
35
|
-
*/
|
|
36
|
-
AgentThinking = "AgentThinking",
|
|
37
|
-
/**
|
|
38
|
-
* A request to call client-side functions.
|
|
39
|
-
* { type: "FunctionCallRequest", functions: { id: string; name: string; arguments: string; client_side: boolean}[] }
|
|
40
|
-
*/
|
|
41
|
-
FunctionCallRequest = "FunctionCallRequest",
|
|
42
|
-
/**
|
|
43
|
-
* Triggered when the agent begins streaming an audio response.
|
|
44
|
-
* YOU WILL ONLY RECEIVE THIS EVENT IF YOU HAVE ENABLED `experimental` IN YOUR CONFIG.
|
|
45
|
-
* { type: "AgentStartedSpeaking", total_latency: number, tts_latency: number, ttt_latency: number }
|
|
46
|
-
*/
|
|
47
|
-
AgentStartedSpeaking = "AgentStartedSpeaking",
|
|
48
|
-
/**
|
|
49
|
-
* Triggered when the agent has finished streaming an audio response.
|
|
50
|
-
* { type: "AgentAudioDone" }
|
|
51
|
-
*/
|
|
52
|
-
AgentAudioDone = "AgentAudioDone",
|
|
53
|
-
/**
|
|
54
|
-
* This event is only emitted when you send an `InjectAgentMessage` request while
|
|
55
|
-
* the user is currently speaking or the server is processing user audio.
|
|
56
|
-
* { type: "InjectionRefused", message: string }
|
|
57
|
-
*/
|
|
58
|
-
InjectionRefused = "InjectionRefused",
|
|
59
|
-
/**
|
|
60
|
-
* A successful response to the `UpdateInstructions` request.
|
|
61
|
-
* { type: "PromptUpdated" }
|
|
62
|
-
*/
|
|
63
|
-
PromptUpdated = "PromptUpdated",
|
|
64
|
-
/**
|
|
65
|
-
* A successful response to the `UpdateSpeak` request.
|
|
66
|
-
* { type: "SpeakUpdated" }
|
|
67
|
-
*/
|
|
68
|
-
SpeakUpdated = "SpeakUpdated",
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* Catch all for any other message event
|
|
72
|
-
*/
|
|
73
|
-
Unhandled = "Unhandled",
|
|
74
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { SOCKET_STATES } from "../constants";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Enum representing the different states of a live connection.
|
|
5
|
-
*
|
|
6
|
-
* @deprecated Since 3.4. Use `SOCKET_STATES` for generic socket connection states instead.
|
|
7
|
-
*/
|
|
8
|
-
export enum LiveConnectionState {
|
|
9
|
-
CONNECTING = SOCKET_STATES.connecting,
|
|
10
|
-
OPEN = SOCKET_STATES.open,
|
|
11
|
-
CLOSING = SOCKET_STATES.closing,
|
|
12
|
-
CLOSED = SOCKET_STATES.closed,
|
|
13
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Enumeration of events related to live text-to-speech synthesis.
|
|
3
|
-
*
|
|
4
|
-
* - `Open`: Built-in socket event for when the connection is opened.
|
|
5
|
-
* - `Close`: Built-in socket event for when the connection is closed.
|
|
6
|
-
* - `Error`: Built-in socket event for when an error occurs.
|
|
7
|
-
* - `Metadata`: Event for when metadata is received.
|
|
8
|
-
* - `Flushed`: Event for when the server has flushed the buffer.
|
|
9
|
-
* - `Warning`: Event for when a warning is received.
|
|
10
|
-
* - `Unhandled`: Catch-all event for any other message event.
|
|
11
|
-
*/
|
|
12
|
-
export enum LiveTTSEvents {
|
|
13
|
-
/**
|
|
14
|
-
* Built in socket events.
|
|
15
|
-
*/
|
|
16
|
-
Open = "Open",
|
|
17
|
-
Close = "Close",
|
|
18
|
-
Error = "Error",
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* Message { type: string }
|
|
22
|
-
*/
|
|
23
|
-
Metadata = "Metadata",
|
|
24
|
-
Flushed = "Flushed",
|
|
25
|
-
Warning = "Warning",
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Audio data event.
|
|
29
|
-
*/
|
|
30
|
-
Audio = "Audio",
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* Catch all for any other message event
|
|
34
|
-
*/
|
|
35
|
-
Unhandled = "Unhandled",
|
|
36
|
-
}
|