@deepgram/sdk 4.11.1 → 5.0.0-alpha.1
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 +1029 -295
- package/dist/cjs/BaseClient.d.ts +40 -0
- package/dist/cjs/BaseClient.js +59 -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 +517 -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 +148 -0
- package/dist/cjs/core/websocket/ws.js +482 -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/esm/BaseClient.d.mts +40 -0
- package/dist/esm/BaseClient.mjs +22 -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 +480 -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 +148 -0
- package/dist/esm/core/websocket/ws.mjs +445 -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/package.json +82 -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 -135
- 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 -131
- 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 -543
- 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 -150
- 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/README.md
CHANGED
|
@@ -1,93 +1,15 @@
|
|
|
1
|
-
# Deepgram
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
-
|
|
9
|
-
- [Migrating from earlier versions](#migrating-from-earlier-versions)
|
|
10
|
-
- [V2 to V3](#v2-to-v3)
|
|
11
|
-
- [V3.\* to V3.4](#v3-to-v34)
|
|
12
|
-
- [V3.\* to V4](#v3-to-v4)
|
|
13
|
-
- [Installation](#installation)
|
|
14
|
-
- [UMD](#umd)
|
|
15
|
-
- [ESM](#esm)
|
|
16
|
-
- [Initialization](#initialization)
|
|
17
|
-
- [Getting an API Key](#getting-an-api-key)
|
|
18
|
-
- [Scoped Configuration](#scoped-configuration)
|
|
19
|
-
- [Global Defaults](#global-defaults)
|
|
20
|
-
- [Namespace-specific Configurations](#namespace-specific-configurations)
|
|
21
|
-
- [Transport Options](#transport-options)
|
|
22
|
-
- [Examples](#examples)
|
|
23
|
-
- [Change the API url used for all SDK methods](#change-the-api-url-used-for-all-sdk-methods)
|
|
24
|
-
- [Change the API url used for the Voice Agent websocket](#change-the-api-url-used-for-the-voice-agent-websocket)
|
|
25
|
-
- [Change the API url used for transcription only](#change-the-api-url-used-for-transcription-only)
|
|
26
|
-
- [Override fetch transmitter](#override-fetch-transmitter)
|
|
27
|
-
- [Proxy requests in the browser](#proxy-requests-in-the-browser)
|
|
28
|
-
- [Set custom headers for fetch](#set-custom-headers-for-fetch)
|
|
29
|
-
- [Browser Usage](#browser-usage)
|
|
30
|
-
- [Transcription](#transcription)
|
|
31
|
-
- [Remote Files](#remote-files)
|
|
32
|
-
- [Local Files](#local-files)
|
|
33
|
-
- [Callbacks / Async](#callbacks--async)
|
|
34
|
-
- [Live Transcription (WebSocket)](#live-transcription-websocket)
|
|
35
|
-
- [Captions](#captions)
|
|
36
|
-
- [Voice Agent](#voice-agent)
|
|
37
|
-
- [Text to Speech](#text-to-speech)
|
|
38
|
-
- [Single-Request](#single-request)
|
|
39
|
-
- [Continuous Text Stream (WebSocket)](#continuous-text-stream-websocket)
|
|
40
|
-
- [Text Intelligence](#text-intelligence)
|
|
41
|
-
- [Authentication](#authentication)
|
|
42
|
-
- [Get Token Details](#get-token-details)
|
|
43
|
-
- [Grant Token](#grant-token)
|
|
44
|
-
- [Projects](#projects)
|
|
45
|
-
- [Get Projects](#get-projects)
|
|
46
|
-
- [Get Project](#get-project)
|
|
47
|
-
- [Update Project](#update-project)
|
|
48
|
-
- [Delete Project](#delete-project)
|
|
49
|
-
- [Keys](#keys)
|
|
50
|
-
- [List Keys](#list-keys)
|
|
51
|
-
- [Get Key](#get-key)
|
|
52
|
-
- [Create Key](#create-key)
|
|
53
|
-
- [Delete Key](#delete-key)
|
|
54
|
-
- [Members](#members)
|
|
55
|
-
- [Get Members](#get-members)
|
|
56
|
-
- [Remove Member](#remove-member)
|
|
57
|
-
- [Scopes](#scopes)
|
|
58
|
-
- [Get Member Scopes](#get-member-scopes)
|
|
59
|
-
- [Update Scope](#update-scope)
|
|
60
|
-
- [Invitations](#invitations)
|
|
61
|
-
- [List Invites](#list-invites)
|
|
62
|
-
- [Send Invite](#send-invite)
|
|
63
|
-
- [Delete Invite](#delete-invite)
|
|
64
|
-
- [Leave Project](#leave-project)
|
|
65
|
-
- [Usage](#usage)
|
|
66
|
-
- [Get All Requests](#get-all-requests)
|
|
67
|
-
- [Get Request](#get-request)
|
|
68
|
-
- [Summarize Usage](#summarize-usage)
|
|
69
|
-
- [Get Fields](#get-fields)
|
|
70
|
-
- [Summarize Usage](#summarize-usage)
|
|
71
|
-
- [Billing](#billing)
|
|
72
|
-
- [Get All Balances](#get-all-balances)
|
|
73
|
-
- [Get Balance](#get-balance)
|
|
74
|
-
- [Models](#models)
|
|
75
|
-
- [Get All Project Models](#get-all-project-models)
|
|
76
|
-
- [Get Model](#get-model)
|
|
77
|
-
- [On-Prem APIs](#on-prem-apis)
|
|
78
|
-
- [List On-Prem credentials](#list-on-prem-credentials)
|
|
79
|
-
- [Get On-Prem credentials](#get-on-prem-credentials)
|
|
80
|
-
- [Create On-Prem credentials](#create-on-prem-credentials)
|
|
81
|
-
- [Delete On-Prem credentials](#delete-on-prem-credentials)
|
|
82
|
-
- [Backwards Compatibility](#backwards-compatibility)
|
|
83
|
-
- [Development and Contributing](#development-and-contributing)
|
|
84
|
-
- [Debugging and making changes locally](#debugging-and-making-changes-locally)
|
|
85
|
-
- [Getting Help](#getting-help)
|
|
86
|
-
<!-- /TOC -->
|
|
1
|
+
# Deepgram API TypeScript Library
|
|
2
|
+
|
|
3
|
+

|
|
4
|
+
|
|
5
|
+
[](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=https%3A%2F%2Fgithub.com%2Fdeepgram%2Fdeepgram-js-sdk)
|
|
6
|
+
[](https://www.npmjs.com/package/@deepgram/sdk)
|
|
7
|
+
|
|
8
|
+
Power your apps with world-class speech and Language AI models
|
|
87
9
|
|
|
88
10
|
## Documentation
|
|
89
11
|
|
|
90
|
-
|
|
12
|
+
API reference documentation is available [here](https://developers.deepgram.com/reference/deepgram-api-overview).
|
|
91
13
|
|
|
92
14
|
## Migrating from earlier versions
|
|
93
15
|
|
|
@@ -103,78 +25,102 @@ We recommend using only documented interfaces, as we strictly follow semantic ve
|
|
|
103
25
|
|
|
104
26
|
The Voice Agent interfaces have been updated to use the new Voice Agent V1 API. Please refer to our [Documentation](https://developers.deepgram.com/docs/voice-agent-v1-migration) on Migration to new V1 Agent API.
|
|
105
27
|
|
|
106
|
-
|
|
28
|
+
### V4 to V5
|
|
107
29
|
|
|
108
|
-
|
|
30
|
+
The SDK has been rebuilt using [Fern](https://buildwithfern.com) for auto-generation, providing better TypeScript support and a more structured API. **See [MIGRATION_GUIDE_V4_TO_V5.md](https://github.com/deepgram/deepgram-js-sdk/blob/naomi/autogenerated/MIGRATION_GUIDE_V4_TO_V5.md) for a comprehensive migration guide.**
|
|
109
31
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
32
|
+
Key breaking changes:
|
|
33
|
+
- Client initialization: `createClient()` → `new DeepgramClient()`
|
|
34
|
+
- Options property: `key` → `apiKey`
|
|
35
|
+
- API methods now include version namespaces (e.g., `listen.v1.media.transcribeUrl()`)
|
|
36
|
+
- Error handling: Use try/catch instead of `{ result, error }` pattern
|
|
113
37
|
|
|
114
|
-
|
|
38
|
+
## Installation
|
|
115
39
|
|
|
116
|
-
```
|
|
117
|
-
|
|
40
|
+
```sh
|
|
41
|
+
npm i -s @deepgram/sdk
|
|
118
42
|
```
|
|
119
43
|
|
|
120
|
-
|
|
44
|
+
## Authentication
|
|
121
45
|
|
|
122
|
-
|
|
123
|
-
yarn add @deepgram/sdk
|
|
124
|
-
```
|
|
46
|
+
The Deepgram SDK supports three authentication methods:
|
|
125
47
|
|
|
126
|
-
###
|
|
48
|
+
### 1. API Key Authentication (Recommended)
|
|
127
49
|
|
|
128
|
-
|
|
50
|
+
Uses `Token` scheme in Authorization header.
|
|
129
51
|
|
|
130
|
-
```
|
|
131
|
-
|
|
132
|
-
```
|
|
52
|
+
```js
|
|
53
|
+
import { DeepgramClient } from "@deepgram/sdk";
|
|
133
54
|
|
|
134
|
-
|
|
55
|
+
// Method 1: Pass API key in options object
|
|
56
|
+
const deepgramClient = new DeepgramClient({ apiKey: "YOUR_DEEPGRAM_API_KEY" });
|
|
135
57
|
|
|
136
|
-
|
|
137
|
-
|
|
58
|
+
// Method 2: Use environment variable (DEEPGRAM_API_KEY)
|
|
59
|
+
const deepgramClient = new DeepgramClient();
|
|
138
60
|
```
|
|
139
61
|
|
|
140
|
-
|
|
62
|
+
### 2. Access Token Authentication
|
|
141
63
|
|
|
142
|
-
|
|
143
|
-
<script>
|
|
144
|
-
const { createClient } = deepgram;
|
|
145
|
-
const deepgramClient = createClient("deepgram-api-key");
|
|
64
|
+
Uses `Bearer` scheme in Authorization header. Access tokens are temporary (30-second TTL) and must be obtained using an API key.
|
|
146
65
|
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
66
|
+
```js
|
|
67
|
+
import { DeepgramClient } from "@deepgram/sdk";
|
|
68
|
+
|
|
69
|
+
// Pass access token as apiKey property
|
|
70
|
+
const deepgramClient = new DeepgramClient({ accessToken: "YOUR_ACCESS_TOKEN" });
|
|
71
|
+
|
|
72
|
+
// Or use environment variable (DEEPGRAM_ACCESS_TOKEN)
|
|
73
|
+
const deepgramClient = new DeepgramClient();
|
|
150
74
|
```
|
|
151
75
|
|
|
152
|
-
###
|
|
76
|
+
### 3. Proxy Authentication
|
|
153
77
|
|
|
154
|
-
|
|
78
|
+
For browser environments or custom proxy setups. Pass `"proxy"` as the API key.
|
|
155
79
|
|
|
156
|
-
```
|
|
157
|
-
|
|
158
|
-
import { createClient } from "https://cdn.jsdelivr.net/npm/@deepgram/sdk/+esm";
|
|
159
|
-
const deepgramClient = createClient("deepgram-api-key");
|
|
80
|
+
```js
|
|
81
|
+
import { DeepgramClient } from "@deepgram/sdk";
|
|
160
82
|
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
83
|
+
const deepgramClient = new DeepgramClient({
|
|
84
|
+
apiKey: "proxy",
|
|
85
|
+
baseUrl: "http://localhost:8080"
|
|
86
|
+
});
|
|
164
87
|
```
|
|
165
88
|
|
|
166
|
-
|
|
89
|
+
> **Important**: Your proxy must set the `Authorization: token DEEPGRAM_API_KEY` header and forward requests to Deepgram's API.
|
|
90
|
+
|
|
91
|
+
### Getting Credentials
|
|
167
92
|
|
|
168
|
-
|
|
93
|
+
#### API Keys
|
|
94
|
+
|
|
95
|
+
Create API keys via the Management API:
|
|
169
96
|
|
|
170
97
|
```js
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
98
|
+
const data = await deepgramClient.manage.v1.keys.create(projectId, {
|
|
99
|
+
comment: "My API key",
|
|
100
|
+
scopes: ["usage:write"],
|
|
101
|
+
});
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
**Endpoint**: `POST https://api.deepgram.com/v1/projects/:projectId/keys`
|
|
105
|
+
|
|
106
|
+
#### Access Tokens
|
|
107
|
+
|
|
108
|
+
Generate temporary access tokens (requires existing API key):
|
|
174
109
|
|
|
175
|
-
|
|
110
|
+
```js
|
|
111
|
+
const data = await deepgramClient.auth.v1.tokens.grant();
|
|
112
|
+
// Returns: { access_token: string, expires_in: 30 }
|
|
176
113
|
```
|
|
177
114
|
|
|
115
|
+
**Endpoint**: `POST https://api.deepgram.com/v1/auth/grant`
|
|
116
|
+
|
|
117
|
+
### Environment Variables
|
|
118
|
+
|
|
119
|
+
The SDK automatically checks for credentials in this priority order:
|
|
120
|
+
|
|
121
|
+
1. `DEEPGRAM_ACCESS_TOKEN` (highest priority)
|
|
122
|
+
2. `DEEPGRAM_API_KEY` (fallback)
|
|
123
|
+
|
|
178
124
|
### Getting an API Key
|
|
179
125
|
|
|
180
126
|
🔑 To access the Deepgram API you will need a [free Deepgram API Key](https://console.deepgram.com/signup?jump=keys).
|
|
@@ -209,12 +155,13 @@ This configuration system enables robust customization where defaults provide a
|
|
|
209
155
|
Useful for using different API environments (for e.g. beta).
|
|
210
156
|
|
|
211
157
|
```js
|
|
212
|
-
import {
|
|
158
|
+
import { DeepgramClient } from "@deepgram/sdk";
|
|
213
159
|
// - or -
|
|
214
|
-
// const {
|
|
160
|
+
// const { DeepgramClient } = require("@deepgram/sdk");
|
|
215
161
|
|
|
216
|
-
const deepgramClient =
|
|
217
|
-
|
|
162
|
+
const deepgramClient = new DeepgramClient({
|
|
163
|
+
apiKey: DEEPGRAM_API_KEY,
|
|
164
|
+
baseUrl: "https://api.beta.deepgram.com"
|
|
218
165
|
});
|
|
219
166
|
```
|
|
220
167
|
|
|
@@ -223,12 +170,13 @@ const deepgramClient = createClient(DEEPGRAM_API_KEY, {
|
|
|
223
170
|
Useful for using a voice agent proxy (for e.g. 3rd party provider auth).
|
|
224
171
|
|
|
225
172
|
```js
|
|
226
|
-
import {
|
|
173
|
+
import { DeepgramClient } from "@deepgram/sdk";
|
|
227
174
|
// - or -
|
|
228
|
-
// const {
|
|
175
|
+
// const { DeepgramClient } = require("@deepgram/sdk");
|
|
229
176
|
|
|
230
|
-
const deepgramClient =
|
|
231
|
-
|
|
177
|
+
const deepgramClient = new DeepgramClient({
|
|
178
|
+
apiKey: DEEPGRAM_API_KEY,
|
|
179
|
+
baseUrl: "ws://localhost:8080"
|
|
232
180
|
});
|
|
233
181
|
```
|
|
234
182
|
|
|
@@ -237,12 +185,13 @@ const deepgramClient = createClient(DEEPGRAM_API_KEY, {
|
|
|
237
185
|
Useful for on-prem installations. Only affects requests to `/listen` endpoints.
|
|
238
186
|
|
|
239
187
|
```js
|
|
240
|
-
import {
|
|
188
|
+
import { DeepgramClient } from "@deepgram/sdk";
|
|
241
189
|
// - or -
|
|
242
|
-
// const {
|
|
190
|
+
// const { DeepgramClient } = require("@deepgram/sdk");
|
|
243
191
|
|
|
244
|
-
const deepgramClient =
|
|
245
|
-
|
|
192
|
+
const deepgramClient = new DeepgramClient({
|
|
193
|
+
apiKey: DEEPGRAM_API_KEY,
|
|
194
|
+
baseUrl: "http://localhost:8080"
|
|
246
195
|
});
|
|
247
196
|
```
|
|
248
197
|
|
|
@@ -251,16 +200,17 @@ const deepgramClient = createClient(DEEPGRAM_API_KEY, {
|
|
|
251
200
|
Useful for providing a custom http client.
|
|
252
201
|
|
|
253
202
|
```js
|
|
254
|
-
import {
|
|
203
|
+
import { DeepgramClient } from "@deepgram/sdk";
|
|
255
204
|
// - or -
|
|
256
|
-
// const {
|
|
205
|
+
// const { DeepgramClient } = require("@deepgram/sdk");
|
|
257
206
|
|
|
258
207
|
const yourFetch = async () => {
|
|
259
208
|
return Response("...etc");
|
|
260
209
|
};
|
|
261
210
|
|
|
262
|
-
const deepgramClient =
|
|
263
|
-
|
|
211
|
+
const deepgramClient = new DeepgramClient({
|
|
212
|
+
apiKey: DEEPGRAM_API_KEY,
|
|
213
|
+
fetch: yourFetch
|
|
264
214
|
});
|
|
265
215
|
```
|
|
266
216
|
|
|
@@ -269,10 +219,11 @@ const deepgramClient = createClient(DEEPGRAM_API_KEY, {
|
|
|
269
219
|
This SDK now works in the browser. If you'd like to make REST-based requests (pre-recorded transcription, on-premise, and management requests), then you'll need to use a proxy as we do not support custom CORS origins on our API. To set up your proxy, you configure the SDK like so:
|
|
270
220
|
|
|
271
221
|
```js
|
|
272
|
-
import {
|
|
222
|
+
import { DeepgramClient } from "@deepgram/sdk";
|
|
273
223
|
|
|
274
|
-
const deepgramClient =
|
|
275
|
-
|
|
224
|
+
const deepgramClient = new DeepgramClient({
|
|
225
|
+
apiKey: "proxy",
|
|
226
|
+
baseUrl: "http://localhost:8080"
|
|
276
227
|
});
|
|
277
228
|
```
|
|
278
229
|
|
|
@@ -287,18 +238,54 @@ Check out our example Node-based proxy here: [Deepgram Node Proxy](https://githu
|
|
|
287
238
|
Useful for many things.
|
|
288
239
|
|
|
289
240
|
```js
|
|
290
|
-
import {
|
|
241
|
+
import { DeepgramClient } from "@deepgram/sdk";
|
|
291
242
|
|
|
292
|
-
const deepgramClient =
|
|
293
|
-
|
|
243
|
+
const deepgramClient = new DeepgramClient({
|
|
244
|
+
apiKey: "YOUR_API_KEY",
|
|
245
|
+
headers: { "x-custom-header": "foo" }
|
|
294
246
|
});
|
|
295
247
|
```
|
|
296
248
|
|
|
297
249
|
## Browser Usage
|
|
298
250
|
|
|
299
|
-
|
|
251
|
+
The SDK works in modern browsers with some considerations:
|
|
252
|
+
|
|
253
|
+
### WebSocket Features (Full Support)
|
|
300
254
|
|
|
301
|
-
|
|
255
|
+
- **Live Transcription**: ✅ Direct connection to `wss://api.deepgram.com`
|
|
256
|
+
- **Voice Agent**: ✅ Direct connection to `wss://agent.deepgram.com`
|
|
257
|
+
- **Live Text-to-Speech**: ✅ Direct connection to `wss://api.deepgram.com`
|
|
258
|
+
|
|
259
|
+
### REST API Features (Proxy Required)
|
|
260
|
+
|
|
261
|
+
- **Pre-recorded Transcription**: ⚠️ Requires proxy due to CORS
|
|
262
|
+
- **Text Intelligence**: ⚠️ Requires proxy due to CORS
|
|
263
|
+
- **Management APIs**: ⚠️ Requires proxy due to CORS
|
|
264
|
+
|
|
265
|
+
### Setup Options
|
|
266
|
+
|
|
267
|
+
#### Option 1: CDN (UMD)
|
|
268
|
+
|
|
269
|
+
```html
|
|
270
|
+
<script src="https://cdn.jsdelivr.net/npm/@deepgram/sdk"></script>
|
|
271
|
+
<script>
|
|
272
|
+
const { DeepgramClient } = deepgram;
|
|
273
|
+
const deepgramClient = new DeepgramClient({ apiKey: "YOUR_API_KEY" });
|
|
274
|
+
</script>
|
|
275
|
+
```
|
|
276
|
+
|
|
277
|
+
#### Option 2: CDN (ESM)
|
|
278
|
+
|
|
279
|
+
```html
|
|
280
|
+
<script type="module">
|
|
281
|
+
import { DeepgramClient } from "https://cdn.jsdelivr.net/npm/@deepgram/sdk/+esm";
|
|
282
|
+
const deepgramClient = new DeepgramClient({ apiKey: "YOUR_API_KEY" });
|
|
283
|
+
</script>
|
|
284
|
+
```
|
|
285
|
+
|
|
286
|
+
#### Option 3: Proxy for REST APIs
|
|
287
|
+
|
|
288
|
+
See [proxy requests in the browser](#proxy-requests-in-the-browser) for REST API access.
|
|
302
289
|
|
|
303
290
|
## Transcription
|
|
304
291
|
|
|
@@ -307,15 +294,15 @@ Also see [proxy requests in the browser](#proxy-requests-in-the-browser) if you'
|
|
|
307
294
|
Transcribe audio from a URL.
|
|
308
295
|
|
|
309
296
|
```js
|
|
310
|
-
const
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
}
|
|
316
|
-
);
|
|
297
|
+
const data = await deepgramClient.listen.v1.media.transcribeUrl({
|
|
298
|
+
url: "https://dpgr.am/spacewalk.wav",
|
|
299
|
+
model: "nova-3",
|
|
300
|
+
// pre-recorded transcription options
|
|
301
|
+
});
|
|
317
302
|
```
|
|
318
303
|
|
|
304
|
+
**API Endpoint**: `POST https://api.deepgram.com/v1/listen`
|
|
305
|
+
|
|
319
306
|
[See our API reference for more info](https://developers.deepgram.com/reference/speech-to-text-api/listen).
|
|
320
307
|
|
|
321
308
|
### Local Files
|
|
@@ -323,7 +310,7 @@ const { result, error } = await deepgramClient.listen.prerecorded.transcribeUrl(
|
|
|
323
310
|
Transcribe audio from a file.
|
|
324
311
|
|
|
325
312
|
```js
|
|
326
|
-
const
|
|
313
|
+
const data = await deepgramClient.listen.v1.media.transcribeFile(
|
|
327
314
|
fs.createReadStream("./examples/spacewalk.wav"),
|
|
328
315
|
{
|
|
329
316
|
model: "nova-3",
|
|
@@ -332,25 +319,26 @@ const { result, error } = await deepgramClient.listen.prerecorded.transcribeFile
|
|
|
332
319
|
);
|
|
333
320
|
```
|
|
334
321
|
|
|
322
|
+
**API Endpoint**: `POST https://api.deepgram.com/v1/listen`
|
|
323
|
+
|
|
335
324
|
[See our API reference for more info](https://developers.deepgram.com/reference/speech-to-text-api/listen).
|
|
336
325
|
|
|
337
326
|
### Callbacks / Async
|
|
338
327
|
|
|
339
|
-
|
|
328
|
+
Transcribe with a callback URL for async processing.
|
|
340
329
|
|
|
341
330
|
```js
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
// pre-recorded transcription options
|
|
350
|
-
}
|
|
351
|
-
);
|
|
331
|
+
const data = await deepgramClient.listen.v1.media.transcribeUrl({
|
|
332
|
+
url: "https://dpgr.am/spacewalk.wav",
|
|
333
|
+
callback: "http://callback/endpoint",
|
|
334
|
+
callback_method: "POST",
|
|
335
|
+
model: "nova-3",
|
|
336
|
+
// pre-recorded transcription options
|
|
337
|
+
});
|
|
352
338
|
```
|
|
353
339
|
|
|
340
|
+
**API Endpoint**: `POST https://api.deepgram.com/v1/listen?callback=http://callback/endpoint`
|
|
341
|
+
|
|
354
342
|
[See our API reference for more info](https://developers.deepgram.com/reference/speech-to-text-api/listen).
|
|
355
343
|
|
|
356
344
|
### Live Transcription (WebSocket)
|
|
@@ -358,22 +346,35 @@ const { result, error } = await deepgramClient.listen.prerecorded.transcribeUrlC
|
|
|
358
346
|
Connect to our websocket and transcribe live streaming audio.
|
|
359
347
|
|
|
360
348
|
```js
|
|
361
|
-
const deepgramConnection = deepgramClient.listen.
|
|
349
|
+
const deepgramConnection = await deepgramClient.listen.v1.connect({
|
|
362
350
|
model: "nova-3",
|
|
351
|
+
language: "en",
|
|
352
|
+
punctuate: "true",
|
|
353
|
+
interim_results: "true",
|
|
363
354
|
// live transcription options
|
|
364
355
|
});
|
|
365
356
|
|
|
366
|
-
deepgramConnection.on(
|
|
367
|
-
|
|
357
|
+
deepgramConnection.on("open", () => {
|
|
358
|
+
console.log("Connection opened");
|
|
359
|
+
});
|
|
360
|
+
|
|
361
|
+
deepgramConnection.on("message", (data) => {
|
|
362
|
+
if (data.type === "Results") {
|
|
368
363
|
console.log(data);
|
|
369
|
-
}
|
|
364
|
+
}
|
|
365
|
+
});
|
|
370
366
|
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
367
|
+
deepgramConnection.connect();
|
|
368
|
+
await deepgramConnection.waitForOpen();
|
|
369
|
+
|
|
370
|
+
// Send audio data
|
|
371
|
+
source.addListener("got-some-audio", async (event) => {
|
|
372
|
+
deepgramConnection.socket.send(event.raw_audio_data);
|
|
374
373
|
});
|
|
375
374
|
```
|
|
376
375
|
|
|
376
|
+
**WebSocket Endpoint**: `wss://api.deepgram.com/v1/listen`
|
|
377
|
+
|
|
377
378
|
[See our API reference for more info](https://developers.deepgram.com/reference/speech-to-text-api/listen-streaming).
|
|
378
379
|
|
|
379
380
|
### Captions
|
|
@@ -383,13 +384,14 @@ Convert deepgram transcriptions to captions.
|
|
|
383
384
|
```js
|
|
384
385
|
import { webvtt, srt } from "@deepgram/sdk";
|
|
385
386
|
|
|
386
|
-
const
|
|
387
|
+
const data = await deepgramClient.listen.v1.media.transcribeUrl({
|
|
388
|
+
url: "https://dpgr.am/spacewalk.wav",
|
|
387
389
|
model: "nova-3",
|
|
388
390
|
// pre-recorded transcription options
|
|
389
391
|
});
|
|
390
392
|
|
|
391
|
-
const vttResult = webvtt(
|
|
392
|
-
const srtResult = srt(
|
|
393
|
+
const vttResult = webvtt(data);
|
|
394
|
+
const srtResult = srt(data);
|
|
393
395
|
```
|
|
394
396
|
|
|
395
397
|
[See our standalone captions library for more information](https://github.com/deepgram/deepgram-node-captions).
|
|
@@ -399,31 +401,53 @@ const srtResult = srt(result);
|
|
|
399
401
|
Configure a Voice Agent.
|
|
400
402
|
|
|
401
403
|
```js
|
|
402
|
-
import { AgentEvents } from "@deepgram/sdk";
|
|
403
|
-
|
|
404
404
|
// Create an agent connection
|
|
405
|
-
const deepgramConnection = deepgramClient.agent();
|
|
405
|
+
const deepgramConnection = await deepgramClient.agent.v1.connect();
|
|
406
406
|
|
|
407
407
|
// Set up event handlers
|
|
408
|
-
deepgramConnection.on(
|
|
408
|
+
deepgramConnection.on("open", () => {
|
|
409
409
|
console.log("Connection opened");
|
|
410
|
+
});
|
|
410
411
|
|
|
411
|
-
|
|
412
|
-
|
|
412
|
+
deepgramConnection.on("message", (data) => {
|
|
413
|
+
if (data.type === "ConversationText") {
|
|
413
414
|
console.log(data);
|
|
414
|
-
}
|
|
415
|
-
|
|
416
|
-
// other events
|
|
415
|
+
}
|
|
416
|
+
});
|
|
417
417
|
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
// agent configuration
|
|
421
|
-
});
|
|
418
|
+
deepgramConnection.connect();
|
|
419
|
+
await deepgramConnection.waitForOpen();
|
|
422
420
|
|
|
423
|
-
|
|
421
|
+
// Configure the agent once connection is established
|
|
422
|
+
deepgramConnection.sendAgentV1Settings({
|
|
423
|
+
type: "Settings",
|
|
424
|
+
agent: {
|
|
425
|
+
language: "en",
|
|
426
|
+
listen: {
|
|
427
|
+
provider: {
|
|
428
|
+
type: "deepgram",
|
|
429
|
+
model: "nova-3"
|
|
430
|
+
}
|
|
431
|
+
},
|
|
432
|
+
think: {
|
|
433
|
+
provider: {
|
|
434
|
+
type: "open_ai",
|
|
435
|
+
model: "gpt-4o-mini"
|
|
436
|
+
},
|
|
437
|
+
prompt: "You are a friendly AI assistant."
|
|
438
|
+
},
|
|
439
|
+
speak: {
|
|
440
|
+
provider: {
|
|
441
|
+
type: "deepgram",
|
|
442
|
+
model: "aura-2-thalia-en"
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
}
|
|
424
446
|
});
|
|
425
447
|
```
|
|
426
448
|
|
|
449
|
+
**WebSocket Endpoint**: `wss://agent.deepgram.com/v1/agent/converse`
|
|
450
|
+
|
|
427
451
|
[See our API reference for more info](https://developers.deepgram.com/reference/voice-agent-api/agent).
|
|
428
452
|
|
|
429
453
|
## Text to Speech
|
|
@@ -433,15 +457,17 @@ deepgramConnection.on(AgentEvents.Open, () => {
|
|
|
433
457
|
Convert text into speech using the REST API.
|
|
434
458
|
|
|
435
459
|
```js
|
|
436
|
-
const
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
);
|
|
460
|
+
const data = await deepgramClient.speak.v1.audio.generate({
|
|
461
|
+
text: "Hello, world!",
|
|
462
|
+
model: "aura-2-thalia-en",
|
|
463
|
+
encoding: "linear16",
|
|
464
|
+
container: "wav",
|
|
465
|
+
// text to speech options
|
|
466
|
+
});
|
|
443
467
|
```
|
|
444
468
|
|
|
469
|
+
**API Endpoint**: `POST https://api.deepgram.com/v1/speak`
|
|
470
|
+
|
|
445
471
|
[See our API reference for more info](https://developers.deepgram.com/reference/text-to-speech-api/speak).
|
|
446
472
|
|
|
447
473
|
### Continuous Text Stream (WebSocket)
|
|
@@ -449,26 +475,38 @@ const { result } = await deepgramClient.speak.request(
|
|
|
449
475
|
Connect to our websocket and send a continuous text stream to generate speech.
|
|
450
476
|
|
|
451
477
|
```js
|
|
452
|
-
const deepgramConnection = deepgramClient.speak.
|
|
478
|
+
const deepgramConnection = await deepgramClient.speak.v1.connect({
|
|
453
479
|
model: "aura-2-thalia-en",
|
|
480
|
+
encoding: "linear16",
|
|
481
|
+
sample_rate: 24000,
|
|
454
482
|
// live text to speech options
|
|
455
483
|
});
|
|
456
484
|
|
|
457
|
-
deepgramConnection.on(
|
|
485
|
+
deepgramConnection.on("open", () => {
|
|
458
486
|
console.log("Connection opened");
|
|
487
|
+
});
|
|
459
488
|
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
489
|
+
deepgramConnection.on("message", (data) => {
|
|
490
|
+
if (typeof data === "string") {
|
|
491
|
+
// Audio data as base64 string
|
|
492
|
+
const audioBuffer = Buffer.from(data, "base64");
|
|
493
|
+
// Handle audio
|
|
494
|
+
}
|
|
495
|
+
});
|
|
465
496
|
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
});
|
|
497
|
+
deepgramConnection.on("close", () => {
|
|
498
|
+
console.log("Connection closed");
|
|
469
499
|
});
|
|
500
|
+
|
|
501
|
+
deepgramConnection.connect();
|
|
502
|
+
await deepgramConnection.waitForOpen();
|
|
503
|
+
|
|
504
|
+
// Send text data for TTS synthesis
|
|
505
|
+
deepgramConnection.sendSpeakV1Text({ type: "Text", text: "Hello, world!" });
|
|
470
506
|
```
|
|
471
507
|
|
|
508
|
+
**WebSocket Endpoint**: `wss://api.deepgram.com/v1/speak`
|
|
509
|
+
|
|
472
510
|
[See our API reference for more info](https://developers.deepgram.com/reference/text-to-speech-api/speak-streaming).
|
|
473
511
|
|
|
474
512
|
## Text Intelligence
|
|
@@ -480,38 +518,47 @@ const text = `The history of the phrase 'The quick brown fox jumps over the
|
|
|
480
518
|
lazy dog'. The earliest known appearance of the phrase was in The Boston
|
|
481
519
|
Journal...`;
|
|
482
520
|
|
|
483
|
-
const
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
}
|
|
489
|
-
);
|
|
521
|
+
const data = await deepgramClient.read.v1.text.analyze({
|
|
522
|
+
text,
|
|
523
|
+
language: "en",
|
|
524
|
+
// text intelligence options
|
|
525
|
+
});
|
|
490
526
|
```
|
|
491
527
|
|
|
528
|
+
**API Endpoint**: `POST https://api.deepgram.com/v1/read`
|
|
529
|
+
|
|
492
530
|
[See our API reference for more info](https://developers.deepgram.com/reference/text-intelligence-api/text-read).
|
|
493
531
|
|
|
494
|
-
##
|
|
532
|
+
## Token Management
|
|
495
533
|
|
|
496
534
|
### Get Token Details
|
|
497
535
|
|
|
498
536
|
Retrieves the details of the current authentication token.
|
|
499
537
|
|
|
500
538
|
```js
|
|
501
|
-
const
|
|
539
|
+
const data = await deepgramClient.auth.v1.tokens.get();
|
|
502
540
|
```
|
|
503
541
|
|
|
542
|
+
**API Endpoint**: `GET https://api.deepgram.com/v1/auth/token`
|
|
543
|
+
|
|
504
544
|
[See our API reference for more info](https://developers.deepgram.com/reference/authentication)
|
|
505
545
|
|
|
506
|
-
### Grant Token
|
|
546
|
+
### Grant Access Token
|
|
507
547
|
|
|
508
|
-
Creates a temporary token with a 30-second TTL.
|
|
548
|
+
Creates a temporary access token with a 30-second TTL. Requires an existing API key for authentication.
|
|
509
549
|
|
|
510
550
|
```js
|
|
511
|
-
|
|
551
|
+
// Create a temporary access token
|
|
552
|
+
const data = await deepgramClient.auth.v1.tokens.grant();
|
|
553
|
+
// Returns: { access_token: string, expires_in: 30 }
|
|
554
|
+
|
|
555
|
+
// Use the access token in a new client instance
|
|
556
|
+
const tempClient = new DeepgramClient({ apiKey: data.access_token });
|
|
512
557
|
```
|
|
513
558
|
|
|
514
|
-
|
|
559
|
+
**API Endpoint**: `POST https://api.deepgram.com/v1/auth/grant`
|
|
560
|
+
|
|
561
|
+
> **Important**: You _must_ pass an `accessToken` property to use a temporary token. Passing the token as a raw string will treat it as an API key and use the incorrect authorization scheme.
|
|
515
562
|
|
|
516
563
|
[See our API reference for more info](https://developers.deepgram.com/reference/token-based-auth-api/grant-token).
|
|
517
564
|
|
|
@@ -522,9 +569,11 @@ This example shows how to use the temporary token to authenticate a client insta
|
|
|
522
569
|
Returns all projects accessible by the API key.
|
|
523
570
|
|
|
524
571
|
```js
|
|
525
|
-
const
|
|
572
|
+
const data = await deepgramClient.manage.v1.projects.list();
|
|
526
573
|
```
|
|
527
574
|
|
|
575
|
+
**API Endpoint**: `GET https://api.deepgram.com/v1/projects`
|
|
576
|
+
|
|
528
577
|
[See our API reference for more info](https://developers.deepgram.com/reference/get-projects).
|
|
529
578
|
|
|
530
579
|
### Get Project
|
|
@@ -532,9 +581,11 @@ const { result, error } = await deepgramClient.manage.getProjects();
|
|
|
532
581
|
Retrieves a specific project based on the provided project_id.
|
|
533
582
|
|
|
534
583
|
```js
|
|
535
|
-
const
|
|
584
|
+
const data = await deepgramClient.manage.v1.projects.get(projectId);
|
|
536
585
|
```
|
|
537
586
|
|
|
587
|
+
**API Endpoint**: `GET https://api.deepgram.com/v1/projects/:projectId`
|
|
588
|
+
|
|
538
589
|
[See our API reference for more info](https://developers.deepgram.com/reference/get-project).
|
|
539
590
|
|
|
540
591
|
### Update Project
|
|
@@ -542,9 +593,13 @@ const { result, error } = await deepgramClient.manage.getProject(projectId);
|
|
|
542
593
|
Update a project.
|
|
543
594
|
|
|
544
595
|
```js
|
|
545
|
-
const
|
|
596
|
+
const data = await deepgramClient.manage.v1.projects.update(projectId, {
|
|
597
|
+
name: "Updated Project Name"
|
|
598
|
+
});
|
|
546
599
|
```
|
|
547
600
|
|
|
601
|
+
**API Endpoint**: `PATCH https://api.deepgram.com/v1/projects/:projectId`
|
|
602
|
+
|
|
548
603
|
[See our API reference for more info](https://developers.deepgram.com/reference/update-project).
|
|
549
604
|
|
|
550
605
|
### Delete Project
|
|
@@ -552,9 +607,11 @@ const { result, error } = await deepgramClient.manage.updateProject(projectId, o
|
|
|
552
607
|
Delete a project.
|
|
553
608
|
|
|
554
609
|
```js
|
|
555
|
-
|
|
610
|
+
await deepgramClient.manage.v1.projects.delete(projectId);
|
|
556
611
|
```
|
|
557
612
|
|
|
613
|
+
**API Endpoint**: `DELETE https://api.deepgram.com/v1/projects/:projectId`
|
|
614
|
+
|
|
558
615
|
[See our API reference for more info](https://developers.deepgram.com/reference/delete-project).
|
|
559
616
|
|
|
560
617
|
## Keys
|
|
@@ -564,9 +621,11 @@ const { error } = await deepgramClient.manage.deleteProject(projectId);
|
|
|
564
621
|
Retrieves all keys associated with the provided project_id.
|
|
565
622
|
|
|
566
623
|
```js
|
|
567
|
-
const
|
|
624
|
+
const data = await deepgramClient.manage.v1.keys.list(projectId);
|
|
568
625
|
```
|
|
569
626
|
|
|
627
|
+
**API Endpoint**: `GET https://api.deepgram.com/v1/projects/:projectId/keys`
|
|
628
|
+
|
|
570
629
|
[See our API reference for more info](https://developers.deepgram.com/reference/list-keys).
|
|
571
630
|
|
|
572
631
|
### Get Key
|
|
@@ -574,9 +633,11 @@ const { result, error } = await deepgramClient.manage.getProjectKeys(projectId);
|
|
|
574
633
|
Retrieves a specific key associated with the provided project_id.
|
|
575
634
|
|
|
576
635
|
```js
|
|
577
|
-
const
|
|
636
|
+
const data = await deepgramClient.manage.v1.keys.get(projectId, projectKeyId);
|
|
578
637
|
```
|
|
579
638
|
|
|
639
|
+
**API Endpoint**: `GET https://api.deepgram.com/v1/projects/:projectId/keys/:keyId`
|
|
640
|
+
|
|
580
641
|
[See our API reference for more info](https://developers.deepgram.com/reference/get-key).
|
|
581
642
|
|
|
582
643
|
### Create Key
|
|
@@ -584,9 +645,17 @@ const { result, error } = await deepgramClient.manage.getProjectKey(projectId, p
|
|
|
584
645
|
Creates an API key with the provided scopes.
|
|
585
646
|
|
|
586
647
|
```js
|
|
587
|
-
const
|
|
648
|
+
const data = await deepgramClient.manage.v1.keys.create(projectId, {
|
|
649
|
+
comment: "My API key",
|
|
650
|
+
scopes: ["usage:write"], // Required: array of scope strings
|
|
651
|
+
tags: ["production"], // Optional: array of tag strings
|
|
652
|
+
time_to_live_in_seconds: 86400, // Optional: TTL in seconds
|
|
653
|
+
// OR use expiration_date: "2024-12-31T23:59:59Z" // Optional: ISO date string
|
|
654
|
+
});
|
|
588
655
|
```
|
|
589
656
|
|
|
657
|
+
**API Endpoint**: `POST https://api.deepgram.com/v1/projects/:projectId/keys`
|
|
658
|
+
|
|
590
659
|
[See our API reference for more info](https://developers.deepgram.com/reference/create-key).
|
|
591
660
|
|
|
592
661
|
### Delete Key
|
|
@@ -594,9 +663,11 @@ const { result, error } = await deepgramClient.manage.createProjectKey(projectId
|
|
|
594
663
|
Deletes a specific key associated with the provided project_id.
|
|
595
664
|
|
|
596
665
|
```js
|
|
597
|
-
|
|
666
|
+
await deepgramClient.manage.v1.keys.delete(projectId, projectKeyId);
|
|
598
667
|
```
|
|
599
668
|
|
|
669
|
+
**API Endpoint**: `DELETE https://api.deepgram.com/v1/projects/:projectId/keys/:keyId`
|
|
670
|
+
|
|
600
671
|
[See our API reference for more info](https://developers.deepgram.com/reference/delete-key).
|
|
601
672
|
|
|
602
673
|
## Members
|
|
@@ -606,9 +677,11 @@ const { error } = await deepgramClient.manage.deleteProjectKey(projectId, projec
|
|
|
606
677
|
Retrieves account objects for all of the accounts in the specified project_id.
|
|
607
678
|
|
|
608
679
|
```js
|
|
609
|
-
const
|
|
680
|
+
const data = await deepgramClient.manage.v1.members.list(projectId);
|
|
610
681
|
```
|
|
611
682
|
|
|
683
|
+
**API Endpoint**: `GET https://api.deepgram.com/v1/projects/:projectId/members`
|
|
684
|
+
|
|
612
685
|
[See our API reference for more info](https://developers.deepgram.com/reference/get-members).
|
|
613
686
|
|
|
614
687
|
### Remove Member
|
|
@@ -616,9 +689,11 @@ const { result, error } = await deepgramClient.manage.getProjectMembers(projectI
|
|
|
616
689
|
Removes member account for specified member_id.
|
|
617
690
|
|
|
618
691
|
```js
|
|
619
|
-
|
|
692
|
+
await deepgramClient.manage.v1.members.delete(projectId, projectMemberId);
|
|
620
693
|
```
|
|
621
694
|
|
|
695
|
+
**API Endpoint**: `DELETE https://api.deepgram.com/v1/projects/:projectId/members/:memberId`
|
|
696
|
+
|
|
622
697
|
[See our API reference for more info](https://developers.deepgram.com/reference/remove-member).
|
|
623
698
|
|
|
624
699
|
## Scopes
|
|
@@ -628,12 +703,14 @@ const { error } = await deepgramClient.manage.removeProjectMember(projectId, pro
|
|
|
628
703
|
Retrieves scopes of the specified member in the specified project.
|
|
629
704
|
|
|
630
705
|
```js
|
|
631
|
-
const
|
|
706
|
+
const data = await deepgramClient.manage.v1.members.scopes.get(
|
|
632
707
|
projectId,
|
|
633
708
|
projectMemberId
|
|
634
709
|
);
|
|
635
710
|
```
|
|
636
711
|
|
|
712
|
+
**API Endpoint**: `GET https://api.deepgram.com/v1/projects/:projectId/members/:memberId/scopes`
|
|
713
|
+
|
|
637
714
|
[See our API reference for more info](https://developers.deepgram.com/reference/get-member-scopes).
|
|
638
715
|
|
|
639
716
|
### Update Scope
|
|
@@ -641,13 +718,17 @@ const { result, error } = await deepgramClient.manage.getProjectMemberScopes(
|
|
|
641
718
|
Updates the scope for the specified member in the specified project.
|
|
642
719
|
|
|
643
720
|
```js
|
|
644
|
-
const
|
|
721
|
+
const data = await deepgramClient.manage.v1.members.scopes.update(
|
|
645
722
|
projectId,
|
|
646
723
|
projectMemberId,
|
|
647
|
-
|
|
724
|
+
{
|
|
725
|
+
scopes: ["usage:write", "usage:read"]
|
|
726
|
+
}
|
|
648
727
|
);
|
|
649
728
|
```
|
|
650
729
|
|
|
730
|
+
**API Endpoint**: `PUT https://api.deepgram.com/v1/projects/:projectId/members/:memberId/scopes`
|
|
731
|
+
|
|
651
732
|
[See our API reference for more info](https://developers.deepgram.com/reference/update-scope).
|
|
652
733
|
|
|
653
734
|
## Invitations
|
|
@@ -657,9 +738,11 @@ const { result, error } = await deepgramClient.manage.updateProjectMemberScope(
|
|
|
657
738
|
Retrieves all invitations associated with the provided project_id.
|
|
658
739
|
|
|
659
740
|
```js
|
|
660
|
-
const
|
|
741
|
+
const data = await deepgramClient.manage.v1.invites.list(projectId);
|
|
661
742
|
```
|
|
662
743
|
|
|
744
|
+
**API Endpoint**: `GET https://api.deepgram.com/v1/projects/:projectId/invites`
|
|
745
|
+
|
|
663
746
|
[See our API reference for more info](https://developers.deepgram.com/reference/list-invites).
|
|
664
747
|
|
|
665
748
|
### Send Invite
|
|
@@ -667,9 +750,14 @@ const { result, error } = await deepgramClient.manage.getProjectInvites(projectI
|
|
|
667
750
|
Sends an invitation to the provided email address.
|
|
668
751
|
|
|
669
752
|
```js
|
|
670
|
-
const
|
|
753
|
+
const data = await deepgramClient.manage.v1.invites.create(projectId, {
|
|
754
|
+
email: "user@example.com",
|
|
755
|
+
scope: "member"
|
|
756
|
+
});
|
|
671
757
|
```
|
|
672
758
|
|
|
759
|
+
**API Endpoint**: `POST https://api.deepgram.com/v1/projects/:projectId/invites`
|
|
760
|
+
|
|
673
761
|
[See our API reference for more info](https://developers.deepgram.com/reference/send-invites).
|
|
674
762
|
|
|
675
763
|
### Delete Invite
|
|
@@ -677,9 +765,11 @@ const { result, error } = await deepgramClient.manage.sendProjectInvite(projectI
|
|
|
677
765
|
Removes the specified invitation from the project.
|
|
678
766
|
|
|
679
767
|
```js
|
|
680
|
-
|
|
768
|
+
await deepgramClient.manage.v1.invites.delete(projectId, email);
|
|
681
769
|
```
|
|
682
770
|
|
|
771
|
+
**API Endpoint**: `DELETE https://api.deepgram.com/v1/projects/:projectId/invites/:email`
|
|
772
|
+
|
|
683
773
|
[See our API reference for more info](https://developers.deepgram.com/reference/delete-invite).
|
|
684
774
|
|
|
685
775
|
### Leave Project
|
|
@@ -687,61 +777,29 @@ const { error } = await deepgramClient.manage.deleteProjectInvite(projectId, ema
|
|
|
687
777
|
Removes the authenticated user from the project.
|
|
688
778
|
|
|
689
779
|
```js
|
|
690
|
-
|
|
691
|
-
```
|
|
692
|
-
|
|
693
|
-
[See our API reference for more info](https://developers.deepgram.com/reference/leave-project).
|
|
694
|
-
|
|
695
|
-
## Usage
|
|
696
|
-
|
|
697
|
-
### Get All Requests
|
|
698
|
-
|
|
699
|
-
Retrieves all requests associated with the provided project_id based on the provided options.
|
|
700
|
-
|
|
701
|
-
```js
|
|
702
|
-
const { result, error } = await deepgramClient.manage.getProjectUsageRequests(projectId, options);
|
|
703
|
-
```
|
|
704
|
-
|
|
705
|
-
### Get Request
|
|
706
|
-
|
|
707
|
-
Retrieves a specific request associated with the provided project_id.
|
|
708
|
-
|
|
709
|
-
```js
|
|
710
|
-
const { result, error } = await deepgramClient.manage.getProjectUsageRequest(projectId, requestId);
|
|
780
|
+
await deepgramClient.manage.v1.invites.leave(projectId);
|
|
711
781
|
```
|
|
712
782
|
|
|
713
|
-
|
|
783
|
+
**API Endpoint**: `DELETE https://api.deepgram.com/v1/projects/:projectId/leave`
|
|
714
784
|
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
Retrieves usage associated with the provided project_id based on the provided options.
|
|
718
|
-
|
|
719
|
-
```js
|
|
720
|
-
const { result, error } = await deepgramClient.manage.getProjectUsageSummary(projectId, options);
|
|
721
|
-
```
|
|
722
|
-
|
|
723
|
-
[See our API reference for more info](https://developers.deepgram.com/reference/summarize-usage).
|
|
785
|
+
[See our API reference for more info](https://developers.deepgram.com/reference/leave-project).
|
|
724
786
|
|
|
725
|
-
|
|
787
|
+
## Reference
|
|
726
788
|
|
|
727
|
-
|
|
789
|
+
A full reference for this library is available [here](https://github.com/deepgram/deepgram-js-sdk/blob/HEAD/./reference.md).
|
|
728
790
|
|
|
729
|
-
|
|
730
|
-
const { result, error } = await deepgramClient.manage.getProjectUsageFields(projectId, options);
|
|
731
|
-
```
|
|
732
|
-
|
|
733
|
-
[See our API reference for more info](https://developers.deepgram.com/reference/get-fields).
|
|
791
|
+
## Usage
|
|
734
792
|
|
|
735
|
-
|
|
793
|
+
Instantiate and use the client with the following:
|
|
736
794
|
|
|
737
|
-
|
|
795
|
+
```typescript
|
|
796
|
+
import { createReadStream } from "fs";
|
|
797
|
+
import { DeepgramClient } from "@deepgram/sdk";
|
|
738
798
|
|
|
739
|
-
|
|
740
|
-
|
|
799
|
+
const client = new DeepgramClient({ apiKey: "YOUR_API_KEY" });
|
|
800
|
+
await client.listen.v1.media.transcribeFile(createReadStream("path/to/file"), {});
|
|
741
801
|
```
|
|
742
802
|
|
|
743
|
-
[See our API reference for more info](https://developers.deepgram.com/reference/management-api/usage/get).
|
|
744
|
-
|
|
745
803
|
## Billing
|
|
746
804
|
|
|
747
805
|
### Get All Balances
|
|
@@ -749,9 +807,11 @@ const { result, error } = await deepgramClient.manage.getProjectUsage(projectId,
|
|
|
749
807
|
Retrieves the list of balance info for the specified project.
|
|
750
808
|
|
|
751
809
|
```js
|
|
752
|
-
const
|
|
810
|
+
const data = await deepgramClient.manage.v1.billing.balances.list(projectId);
|
|
753
811
|
```
|
|
754
812
|
|
|
813
|
+
**API Endpoint**: `GET https://api.deepgram.com/v1/projects/:projectId/balances`
|
|
814
|
+
|
|
755
815
|
[See our API reference for more info](https://developers.deepgram.com/reference/get-all-balances).
|
|
756
816
|
|
|
757
817
|
### Get Balance
|
|
@@ -759,21 +819,35 @@ const { result, error } = await deepgramClient.manage.getProjectBalances(project
|
|
|
759
819
|
Retrieves the balance info for the specified project and balance_id.
|
|
760
820
|
|
|
761
821
|
```js
|
|
762
|
-
const
|
|
822
|
+
const data = await deepgramClient.manage.v1.billing.balances.get(projectId, balanceId);
|
|
763
823
|
```
|
|
764
824
|
|
|
825
|
+
**API Endpoint**: `GET https://api.deepgram.com/v1/projects/:projectId/balances/:balanceId`
|
|
826
|
+
|
|
765
827
|
[See our API reference for more info](https://developers.deepgram.com/reference/get-balance).
|
|
766
828
|
|
|
767
829
|
## Models
|
|
768
830
|
|
|
831
|
+
### Get All Models
|
|
832
|
+
|
|
833
|
+
Retrieves all models available globally.
|
|
834
|
+
|
|
835
|
+
```js
|
|
836
|
+
const data = await deepgramClient.manage.v1.models.list();
|
|
837
|
+
```
|
|
838
|
+
|
|
839
|
+
**API Endpoint**: `GET https://api.deepgram.com/v1/models`
|
|
840
|
+
|
|
769
841
|
### Get All Project Models
|
|
770
842
|
|
|
771
843
|
Retrieves all models available for a given project.
|
|
772
844
|
|
|
773
845
|
```js
|
|
774
|
-
const
|
|
846
|
+
const data = await deepgramClient.manage.v1.models.list(projectId);
|
|
775
847
|
```
|
|
776
848
|
|
|
849
|
+
**API Endpoint**: `GET https://api.deepgram.com/v1/projects/:projectId/models`
|
|
850
|
+
|
|
777
851
|
[See our API reference for more info](https://developers.deepgram.com/reference/management-api/projects/list-models).
|
|
778
852
|
|
|
779
853
|
### Get Model
|
|
@@ -781,9 +855,11 @@ const { result, error } = await deepgramClient.manage.getAllModels(projectId, {}
|
|
|
781
855
|
Retrieves details of a specific model.
|
|
782
856
|
|
|
783
857
|
```js
|
|
784
|
-
const
|
|
858
|
+
const data = await deepgramClient.manage.v1.models.get(projectId, modelId);
|
|
785
859
|
```
|
|
786
860
|
|
|
861
|
+
**API Endpoint**: `GET https://api.deepgram.com/v1/projects/:projectId/models/:modelId`
|
|
862
|
+
|
|
787
863
|
[See our API reference for more info](https://developers.deepgram.com/reference/management-api/models/get)
|
|
788
864
|
|
|
789
865
|
## On-Prem APIs
|
|
@@ -793,9 +869,11 @@ const { result, error } = await deepgramClient.manage.getModel(projectId, modelI
|
|
|
793
869
|
Lists sets of distribution credentials for the specified project.
|
|
794
870
|
|
|
795
871
|
```js
|
|
796
|
-
const
|
|
872
|
+
const data = await deepgramClient.selfHosted.v1.distributionCredentials.list(projectId);
|
|
797
873
|
```
|
|
798
874
|
|
|
875
|
+
**API Endpoint**: `GET https://api.deepgram.com/v1/projects/:projectId/onprem/distribution/credentials`
|
|
876
|
+
|
|
799
877
|
[See our API reference for more info](https://developers.deepgram.com/reference/self-hosted-api/list-credentials)
|
|
800
878
|
|
|
801
879
|
### Get On-Prem credentials
|
|
@@ -803,9 +881,11 @@ const { result, error } = await deepgramClient.onprem.listCredentials(projectId)
|
|
|
803
881
|
Returns a set of distribution credentials for the specified project.
|
|
804
882
|
|
|
805
883
|
```js
|
|
806
|
-
const
|
|
884
|
+
const data = await deepgramClient.selfHosted.v1.distributionCredentials.get(projectId, credentialId);
|
|
807
885
|
```
|
|
808
886
|
|
|
887
|
+
**API Endpoint**: `GET https://api.deepgram.com/v1/projects/:projectId/onprem/distribution/credentials/:credentialsId`
|
|
888
|
+
|
|
809
889
|
[See our API reference for more info](https://developers.deepgram.com/reference/self-hosted-api/get-credentials)
|
|
810
890
|
|
|
811
891
|
### Create On-Prem credentials
|
|
@@ -813,9 +893,13 @@ const { result, error } = await deepgramClient.onprem.getCredentials(projectId,
|
|
|
813
893
|
Creates a set of distribution credentials for the specified project.
|
|
814
894
|
|
|
815
895
|
```js
|
|
816
|
-
const
|
|
896
|
+
const data = await deepgramClient.selfHosted.v1.distributionCredentials.create(projectId, {
|
|
897
|
+
comment: "Production credentials"
|
|
898
|
+
});
|
|
817
899
|
```
|
|
818
900
|
|
|
901
|
+
**API Endpoint**: `POST https://api.deepgram.com/v1/projects/:projectId/onprem/distribution/credentials`
|
|
902
|
+
|
|
819
903
|
[See our API reference for more info](https://developers.deepgram.com/reference/self-hosted-api/create-credentials)
|
|
820
904
|
|
|
821
905
|
### Delete On-Prem credentials
|
|
@@ -823,9 +907,11 @@ const { result, error } = await deepgramClient.onprem.createCredentials(projectI
|
|
|
823
907
|
Deletes a set of distribution credentials for the specified project.
|
|
824
908
|
|
|
825
909
|
```js
|
|
826
|
-
|
|
910
|
+
await deepgramClient.selfHosted.v1.distributionCredentials.delete(projectId, credentialId);
|
|
827
911
|
```
|
|
828
912
|
|
|
913
|
+
**API Endpoint**: `DELETE https://api.deepgram.com/v1/projects/:projectId/onprem/distribution/credentials/:credentialsId`
|
|
914
|
+
|
|
829
915
|
[See our API reference for more info](https://developers.deepgram.com/reference/self-hosted-api/delete-credentials)
|
|
830
916
|
|
|
831
917
|
## Backwards Compatibility
|
|
@@ -852,3 +938,651 @@ project, let us know! You can either:
|
|
|
852
938
|
- [Open an issue in this repository](https://github.com/deepgram/deepgram-node-sdk/issues/new)
|
|
853
939
|
- [Join the Deepgram Discord Community](https://discord.gg/xWRaCDBtW4)
|
|
854
940
|
- [Join the Deepgram Github Discussions Community](https://github.com/orgs/deepgram/discussions)
|
|
941
|
+
|
|
942
|
+
## Request And Response Types
|
|
943
|
+
|
|
944
|
+
The SDK exports all request and response types as TypeScript interfaces. Simply import them with the
|
|
945
|
+
following namespace:
|
|
946
|
+
|
|
947
|
+
```typescript
|
|
948
|
+
import { Deepgram } from "@deepgram/sdk";
|
|
949
|
+
|
|
950
|
+
const request: Deepgram.GrantV1Request = {
|
|
951
|
+
...
|
|
952
|
+
};
|
|
953
|
+
```
|
|
954
|
+
|
|
955
|
+
## Exception Handling
|
|
956
|
+
|
|
957
|
+
When the API returns a non-success status code (4xx or 5xx response), a subclass of the following error
|
|
958
|
+
will be thrown.
|
|
959
|
+
|
|
960
|
+
```typescript
|
|
961
|
+
import { DeepgramError } from "@deepgram/sdk";
|
|
962
|
+
|
|
963
|
+
try {
|
|
964
|
+
await client.listen.v1.media.transcribeFile(...);
|
|
965
|
+
} catch (err) {
|
|
966
|
+
if (err instanceof DeepgramError) {
|
|
967
|
+
console.log(err.statusCode);
|
|
968
|
+
console.log(err.message);
|
|
969
|
+
console.log(err.body);
|
|
970
|
+
console.log(err.rawResponse);
|
|
971
|
+
}
|
|
972
|
+
}
|
|
973
|
+
```
|
|
974
|
+
|
|
975
|
+
## File Uploads
|
|
976
|
+
|
|
977
|
+
You can upload files using the client:
|
|
978
|
+
|
|
979
|
+
```typescript
|
|
980
|
+
import { createReadStream } from "fs";
|
|
981
|
+
|
|
982
|
+
await client.listen.v1.media.transcribeFile(createReadStream("path/to/file"), ...);
|
|
983
|
+
await client.listen.v1.media.transcribeFile(new ReadableStream(), ...);
|
|
984
|
+
await client.listen.v1.media.transcribeFile(Buffer.from('binary data'), ...);
|
|
985
|
+
await client.listen.v1.media.transcribeFile(new Blob(['binary data'], { type: 'audio/mpeg' }), ...);
|
|
986
|
+
await client.listen.v1.media.transcribeFile(new File(['binary data'], 'file.mp3'), ...);
|
|
987
|
+
await client.listen.v1.media.transcribeFile(new ArrayBuffer(8), ...);
|
|
988
|
+
await client.listen.v1.media.transcribeFile(new Uint8Array([0, 1, 2]), ...);
|
|
989
|
+
```
|
|
990
|
+
The client accepts a variety of types for file upload parameters:
|
|
991
|
+
* Stream types: `fs.ReadStream`, `stream.Readable`, and `ReadableStream`
|
|
992
|
+
* Buffered types: `Buffer`, `Blob`, `File`, `ArrayBuffer`, `ArrayBufferView`, and `Uint8Array`
|
|
993
|
+
|
|
994
|
+
### Metadata
|
|
995
|
+
|
|
996
|
+
You can configure metadata when uploading a file:
|
|
997
|
+
```typescript
|
|
998
|
+
const file: Uploadable.WithMetadata = {
|
|
999
|
+
data: createReadStream("path/to/file"),
|
|
1000
|
+
filename: "my-file", // optional
|
|
1001
|
+
contentType: "audio/mpeg", // optional
|
|
1002
|
+
contentLength: 1949, // optional
|
|
1003
|
+
};
|
|
1004
|
+
```
|
|
1005
|
+
|
|
1006
|
+
Alternatively, you can upload a file directly from a file path:
|
|
1007
|
+
```typescript
|
|
1008
|
+
const file : Uploadable.FromPath = {
|
|
1009
|
+
path: "path/to/file",
|
|
1010
|
+
filename: "my-file", // optional
|
|
1011
|
+
contentType: "audio/mpeg", // optional
|
|
1012
|
+
contentLength: 1949, // optional
|
|
1013
|
+
};
|
|
1014
|
+
```
|
|
1015
|
+
|
|
1016
|
+
The metadata is used to set the `Content-Length`, `Content-Type`, and `Content-Disposition` headers. If not provided, the client will attempt to determine them automatically.
|
|
1017
|
+
For example, `fs.ReadStream` has a `path` property which the SDK uses to retrieve the file size from the filesystem without loading it into memory.
|
|
1018
|
+
|
|
1019
|
+
|
|
1020
|
+
## Binary Response
|
|
1021
|
+
|
|
1022
|
+
You can consume binary data from endpoints using the `BinaryResponse` type which lets you choose how to consume the data:
|
|
1023
|
+
|
|
1024
|
+
```typescript
|
|
1025
|
+
const response = await client.speak.v1.audio.generate(...);
|
|
1026
|
+
const stream: ReadableStream<Uint8Array> = response.stream();
|
|
1027
|
+
// const arrayBuffer: ArrayBuffer = await response.arrayBuffer();
|
|
1028
|
+
// const blob: Blob = response.blob();
|
|
1029
|
+
// const bytes: Uint8Array = response.bytes();
|
|
1030
|
+
// You can only use the response body once, so you must choose one of the above methods.
|
|
1031
|
+
// If you want to check if the response body has been used, you can use the following property.
|
|
1032
|
+
const bodyUsed = response.bodyUsed;
|
|
1033
|
+
```
|
|
1034
|
+
<details>
|
|
1035
|
+
<summary>Save binary response to a file</summary>
|
|
1036
|
+
|
|
1037
|
+
<blockquote>
|
|
1038
|
+
<details>
|
|
1039
|
+
<summary>Node.js</summary>
|
|
1040
|
+
|
|
1041
|
+
<blockquote>
|
|
1042
|
+
<details>
|
|
1043
|
+
<summary>ReadableStream (most-efficient)</summary>
|
|
1044
|
+
|
|
1045
|
+
```ts
|
|
1046
|
+
import { createWriteStream } from 'fs';
|
|
1047
|
+
import { Readable } from 'stream';
|
|
1048
|
+
import { pipeline } from 'stream/promises';
|
|
1049
|
+
|
|
1050
|
+
const response = await client.speak.v1.audio.generate(...);
|
|
1051
|
+
|
|
1052
|
+
const stream = response.stream();
|
|
1053
|
+
const nodeStream = Readable.fromWeb(stream);
|
|
1054
|
+
const writeStream = createWriteStream('path/to/file');
|
|
1055
|
+
|
|
1056
|
+
await pipeline(nodeStream, writeStream);
|
|
1057
|
+
```
|
|
1058
|
+
|
|
1059
|
+
</details>
|
|
1060
|
+
</blockquote>
|
|
1061
|
+
|
|
1062
|
+
<blockquote>
|
|
1063
|
+
<details>
|
|
1064
|
+
<summary>ArrayBuffer</summary>
|
|
1065
|
+
|
|
1066
|
+
```ts
|
|
1067
|
+
import { writeFile } from 'fs/promises';
|
|
1068
|
+
|
|
1069
|
+
const response = await client.speak.v1.audio.generate(...);
|
|
1070
|
+
|
|
1071
|
+
const arrayBuffer = await response.arrayBuffer();
|
|
1072
|
+
await writeFile('path/to/file', Buffer.from(arrayBuffer));
|
|
1073
|
+
```
|
|
1074
|
+
|
|
1075
|
+
</details>
|
|
1076
|
+
</blockquote>
|
|
1077
|
+
|
|
1078
|
+
<blockquote>
|
|
1079
|
+
<details>
|
|
1080
|
+
<summary>Blob</summary>
|
|
1081
|
+
|
|
1082
|
+
```ts
|
|
1083
|
+
import { writeFile } from 'fs/promises';
|
|
1084
|
+
|
|
1085
|
+
const response = await client.speak.v1.audio.generate(...);
|
|
1086
|
+
|
|
1087
|
+
const blob = await response.blob();
|
|
1088
|
+
const arrayBuffer = await blob.arrayBuffer();
|
|
1089
|
+
await writeFile('output.bin', Buffer.from(arrayBuffer));
|
|
1090
|
+
```
|
|
1091
|
+
|
|
1092
|
+
</details>
|
|
1093
|
+
</blockquote>
|
|
1094
|
+
|
|
1095
|
+
<blockquote>
|
|
1096
|
+
<details>
|
|
1097
|
+
<summary>Bytes (UIntArray8)</summary>
|
|
1098
|
+
|
|
1099
|
+
```ts
|
|
1100
|
+
import { writeFile } from 'fs/promises';
|
|
1101
|
+
|
|
1102
|
+
const response = await client.speak.v1.audio.generate(...);
|
|
1103
|
+
|
|
1104
|
+
const bytes = await response.bytes();
|
|
1105
|
+
await writeFile('path/to/file', bytes);
|
|
1106
|
+
```
|
|
1107
|
+
|
|
1108
|
+
</details>
|
|
1109
|
+
</blockquote>
|
|
1110
|
+
|
|
1111
|
+
</details>
|
|
1112
|
+
</blockquote>
|
|
1113
|
+
|
|
1114
|
+
<blockquote>
|
|
1115
|
+
<details>
|
|
1116
|
+
<summary>Bun</summary>
|
|
1117
|
+
|
|
1118
|
+
<blockquote>
|
|
1119
|
+
<details>
|
|
1120
|
+
<summary>ReadableStream (most-efficient)</summary>
|
|
1121
|
+
|
|
1122
|
+
```ts
|
|
1123
|
+
const response = await client.speak.v1.audio.generate(...);
|
|
1124
|
+
|
|
1125
|
+
const stream = response.stream();
|
|
1126
|
+
await Bun.write('path/to/file', stream);
|
|
1127
|
+
```
|
|
1128
|
+
|
|
1129
|
+
</details>
|
|
1130
|
+
</blockquote>
|
|
1131
|
+
|
|
1132
|
+
<blockquote>
|
|
1133
|
+
<details>
|
|
1134
|
+
<summary>ArrayBuffer</summary>
|
|
1135
|
+
|
|
1136
|
+
```ts
|
|
1137
|
+
const response = await client.speak.v1.audio.generate(...);
|
|
1138
|
+
|
|
1139
|
+
const arrayBuffer = await response.arrayBuffer();
|
|
1140
|
+
await Bun.write('path/to/file', arrayBuffer);
|
|
1141
|
+
```
|
|
1142
|
+
|
|
1143
|
+
</details>
|
|
1144
|
+
</blockquote>
|
|
1145
|
+
|
|
1146
|
+
<blockquote>
|
|
1147
|
+
<details>
|
|
1148
|
+
<summary>Blob</summary>
|
|
1149
|
+
|
|
1150
|
+
```ts
|
|
1151
|
+
const response = await client.speak.v1.audio.generate(...);
|
|
1152
|
+
|
|
1153
|
+
const blob = await response.blob();
|
|
1154
|
+
await Bun.write('path/to/file', blob);
|
|
1155
|
+
```
|
|
1156
|
+
|
|
1157
|
+
</details>
|
|
1158
|
+
</blockquote>
|
|
1159
|
+
|
|
1160
|
+
<blockquote>
|
|
1161
|
+
<details>
|
|
1162
|
+
<summary>Bytes (UIntArray8)</summary>
|
|
1163
|
+
|
|
1164
|
+
```ts
|
|
1165
|
+
const response = await client.speak.v1.audio.generate(...);
|
|
1166
|
+
|
|
1167
|
+
const bytes = await response.bytes();
|
|
1168
|
+
await Bun.write('path/to/file', bytes);
|
|
1169
|
+
```
|
|
1170
|
+
|
|
1171
|
+
</details>
|
|
1172
|
+
</blockquote>
|
|
1173
|
+
|
|
1174
|
+
</details>
|
|
1175
|
+
</blockquote>
|
|
1176
|
+
|
|
1177
|
+
<blockquote>
|
|
1178
|
+
<details>
|
|
1179
|
+
<summary>Deno</summary>
|
|
1180
|
+
|
|
1181
|
+
<blockquote>
|
|
1182
|
+
<details>
|
|
1183
|
+
<summary>ReadableStream (most-efficient)</summary>
|
|
1184
|
+
|
|
1185
|
+
```ts
|
|
1186
|
+
const response = await client.speak.v1.audio.generate(...);
|
|
1187
|
+
|
|
1188
|
+
const stream = response.stream();
|
|
1189
|
+
const file = await Deno.open('path/to/file', { write: true, create: true });
|
|
1190
|
+
await stream.pipeTo(file.writable);
|
|
1191
|
+
```
|
|
1192
|
+
|
|
1193
|
+
</details>
|
|
1194
|
+
</blockquote>
|
|
1195
|
+
|
|
1196
|
+
<blockquote>
|
|
1197
|
+
<details>
|
|
1198
|
+
<summary>ArrayBuffer</summary>
|
|
1199
|
+
|
|
1200
|
+
```ts
|
|
1201
|
+
const response = await client.speak.v1.audio.generate(...);
|
|
1202
|
+
|
|
1203
|
+
const arrayBuffer = await response.arrayBuffer();
|
|
1204
|
+
await Deno.writeFile('path/to/file', new Uint8Array(arrayBuffer));
|
|
1205
|
+
```
|
|
1206
|
+
|
|
1207
|
+
</details>
|
|
1208
|
+
</blockquote>
|
|
1209
|
+
|
|
1210
|
+
<blockquote>
|
|
1211
|
+
<details>
|
|
1212
|
+
<summary>Blob</summary>
|
|
1213
|
+
|
|
1214
|
+
```ts
|
|
1215
|
+
const response = await client.speak.v1.audio.generate(...);
|
|
1216
|
+
|
|
1217
|
+
const blob = await response.blob();
|
|
1218
|
+
const arrayBuffer = await blob.arrayBuffer();
|
|
1219
|
+
await Deno.writeFile('path/to/file', new Uint8Array(arrayBuffer));
|
|
1220
|
+
```
|
|
1221
|
+
|
|
1222
|
+
</details>
|
|
1223
|
+
</blockquote>
|
|
1224
|
+
|
|
1225
|
+
<blockquote>
|
|
1226
|
+
<details>
|
|
1227
|
+
<summary>Bytes (UIntArray8)</summary>
|
|
1228
|
+
|
|
1229
|
+
```ts
|
|
1230
|
+
const response = await client.speak.v1.audio.generate(...);
|
|
1231
|
+
|
|
1232
|
+
const bytes = await response.bytes();
|
|
1233
|
+
await Deno.writeFile('path/to/file', bytes);
|
|
1234
|
+
```
|
|
1235
|
+
|
|
1236
|
+
</details>
|
|
1237
|
+
</blockquote>
|
|
1238
|
+
|
|
1239
|
+
</details>
|
|
1240
|
+
</blockquote>
|
|
1241
|
+
|
|
1242
|
+
<blockquote>
|
|
1243
|
+
<details>
|
|
1244
|
+
<summary>Browser</summary>
|
|
1245
|
+
|
|
1246
|
+
<blockquote>
|
|
1247
|
+
<details>
|
|
1248
|
+
<summary>Blob (most-efficient)</summary>
|
|
1249
|
+
|
|
1250
|
+
```ts
|
|
1251
|
+
const response = await client.speak.v1.audio.generate(...);
|
|
1252
|
+
|
|
1253
|
+
const blob = await response.blob();
|
|
1254
|
+
const url = URL.createObjectURL(blob);
|
|
1255
|
+
|
|
1256
|
+
// trigger download
|
|
1257
|
+
const a = document.createElement('a');
|
|
1258
|
+
a.href = url;
|
|
1259
|
+
a.download = 'filename';
|
|
1260
|
+
a.click();
|
|
1261
|
+
URL.revokeObjectURL(url);
|
|
1262
|
+
```
|
|
1263
|
+
|
|
1264
|
+
</details>
|
|
1265
|
+
</blockquote>
|
|
1266
|
+
|
|
1267
|
+
<blockquote>
|
|
1268
|
+
<details>
|
|
1269
|
+
<summary>ReadableStream</summary>
|
|
1270
|
+
|
|
1271
|
+
```ts
|
|
1272
|
+
const response = await client.speak.v1.audio.generate(...);
|
|
1273
|
+
|
|
1274
|
+
const stream = response.stream();
|
|
1275
|
+
const reader = stream.getReader();
|
|
1276
|
+
const chunks = [];
|
|
1277
|
+
|
|
1278
|
+
while (true) {
|
|
1279
|
+
const { done, value } = await reader.read();
|
|
1280
|
+
if (done) break;
|
|
1281
|
+
chunks.push(value);
|
|
1282
|
+
}
|
|
1283
|
+
|
|
1284
|
+
const blob = new Blob(chunks);
|
|
1285
|
+
const url = URL.createObjectURL(blob);
|
|
1286
|
+
|
|
1287
|
+
// trigger download
|
|
1288
|
+
const a = document.createElement('a');
|
|
1289
|
+
a.href = url;
|
|
1290
|
+
a.download = 'filename';
|
|
1291
|
+
a.click();
|
|
1292
|
+
URL.revokeObjectURL(url);
|
|
1293
|
+
```
|
|
1294
|
+
|
|
1295
|
+
</details>
|
|
1296
|
+
</blockquote>
|
|
1297
|
+
|
|
1298
|
+
<blockquote>
|
|
1299
|
+
<details>
|
|
1300
|
+
<summary>ArrayBuffer</summary>
|
|
1301
|
+
|
|
1302
|
+
```ts
|
|
1303
|
+
const response = await client.speak.v1.audio.generate(...);
|
|
1304
|
+
|
|
1305
|
+
const arrayBuffer = await response.arrayBuffer();
|
|
1306
|
+
const blob = new Blob([arrayBuffer]);
|
|
1307
|
+
const url = URL.createObjectURL(blob);
|
|
1308
|
+
|
|
1309
|
+
// trigger download
|
|
1310
|
+
const a = document.createElement('a');
|
|
1311
|
+
a.href = url;
|
|
1312
|
+
a.download = 'filename';
|
|
1313
|
+
a.click();
|
|
1314
|
+
URL.revokeObjectURL(url);
|
|
1315
|
+
```
|
|
1316
|
+
|
|
1317
|
+
</details>
|
|
1318
|
+
</blockquote>
|
|
1319
|
+
|
|
1320
|
+
<blockquote>
|
|
1321
|
+
<details>
|
|
1322
|
+
<summary>Bytes (UIntArray8)</summary>
|
|
1323
|
+
|
|
1324
|
+
```ts
|
|
1325
|
+
const response = await client.speak.v1.audio.generate(...);
|
|
1326
|
+
|
|
1327
|
+
const bytes = await response.bytes();
|
|
1328
|
+
const blob = new Blob([bytes]);
|
|
1329
|
+
const url = URL.createObjectURL(blob);
|
|
1330
|
+
|
|
1331
|
+
// trigger download
|
|
1332
|
+
const a = document.createElement('a');
|
|
1333
|
+
a.href = url;
|
|
1334
|
+
a.download = 'filename';
|
|
1335
|
+
a.click();
|
|
1336
|
+
URL.revokeObjectURL(url);
|
|
1337
|
+
```
|
|
1338
|
+
|
|
1339
|
+
</details>
|
|
1340
|
+
</blockquote>
|
|
1341
|
+
|
|
1342
|
+
</details>
|
|
1343
|
+
</blockquote>
|
|
1344
|
+
|
|
1345
|
+
</details>
|
|
1346
|
+
</blockquote>
|
|
1347
|
+
|
|
1348
|
+
<details>
|
|
1349
|
+
<summary>Convert binary response to text</summary>
|
|
1350
|
+
|
|
1351
|
+
<blockquote>
|
|
1352
|
+
<details>
|
|
1353
|
+
<summary>ReadableStream</summary>
|
|
1354
|
+
|
|
1355
|
+
```ts
|
|
1356
|
+
const response = await client.speak.v1.audio.generate(...);
|
|
1357
|
+
|
|
1358
|
+
const stream = response.stream();
|
|
1359
|
+
const text = await new Response(stream).text();
|
|
1360
|
+
```
|
|
1361
|
+
|
|
1362
|
+
</details>
|
|
1363
|
+
</blockquote>
|
|
1364
|
+
|
|
1365
|
+
<blockquote>
|
|
1366
|
+
<details>
|
|
1367
|
+
<summary>ArrayBuffer</summary>
|
|
1368
|
+
|
|
1369
|
+
```ts
|
|
1370
|
+
const response = await client.speak.v1.audio.generate(...);
|
|
1371
|
+
|
|
1372
|
+
const arrayBuffer = await response.arrayBuffer();
|
|
1373
|
+
const text = new TextDecoder().decode(arrayBuffer);
|
|
1374
|
+
```
|
|
1375
|
+
|
|
1376
|
+
</details>
|
|
1377
|
+
</blockquote>
|
|
1378
|
+
|
|
1379
|
+
<blockquote>
|
|
1380
|
+
<details>
|
|
1381
|
+
<summary>Blob</summary>
|
|
1382
|
+
|
|
1383
|
+
```ts
|
|
1384
|
+
const response = await client.speak.v1.audio.generate(...);
|
|
1385
|
+
|
|
1386
|
+
const blob = await response.blob();
|
|
1387
|
+
const text = await blob.text();
|
|
1388
|
+
```
|
|
1389
|
+
|
|
1390
|
+
</details>
|
|
1391
|
+
</blockquote>
|
|
1392
|
+
|
|
1393
|
+
<blockquote>
|
|
1394
|
+
<details>
|
|
1395
|
+
<summary>Bytes (UIntArray8)</summary>
|
|
1396
|
+
|
|
1397
|
+
```ts
|
|
1398
|
+
const response = await client.speak.v1.audio.generate(...);
|
|
1399
|
+
|
|
1400
|
+
const bytes = await response.bytes();
|
|
1401
|
+
const text = new TextDecoder().decode(bytes);
|
|
1402
|
+
```
|
|
1403
|
+
|
|
1404
|
+
</details>
|
|
1405
|
+
</blockquote>
|
|
1406
|
+
|
|
1407
|
+
</details>
|
|
1408
|
+
|
|
1409
|
+
## Advanced
|
|
1410
|
+
|
|
1411
|
+
### Additional Headers
|
|
1412
|
+
|
|
1413
|
+
If you would like to send additional headers as part of the request, use the `headers` request option.
|
|
1414
|
+
|
|
1415
|
+
```typescript
|
|
1416
|
+
const response = await client.listen.v1.media.transcribeFile(..., {
|
|
1417
|
+
headers: {
|
|
1418
|
+
'X-Custom-Header': 'custom value'
|
|
1419
|
+
}
|
|
1420
|
+
});
|
|
1421
|
+
```
|
|
1422
|
+
|
|
1423
|
+
### Additional Query String Parameters
|
|
1424
|
+
|
|
1425
|
+
If you would like to send additional query string parameters as part of the request, use the `queryParams` request option.
|
|
1426
|
+
|
|
1427
|
+
```typescript
|
|
1428
|
+
const response = await client.listen.v1.media.transcribeFile(..., {
|
|
1429
|
+
queryParams: {
|
|
1430
|
+
'customQueryParamKey': 'custom query param value'
|
|
1431
|
+
}
|
|
1432
|
+
});
|
|
1433
|
+
```
|
|
1434
|
+
|
|
1435
|
+
### Retries
|
|
1436
|
+
|
|
1437
|
+
The SDK is instrumented with automatic retries with exponential backoff. A request will be retried as long
|
|
1438
|
+
as the request is deemed retryable and the number of retry attempts has not grown larger than the configured
|
|
1439
|
+
retry limit (default: 2).
|
|
1440
|
+
|
|
1441
|
+
A request is deemed retryable when any of the following HTTP status codes is returned:
|
|
1442
|
+
|
|
1443
|
+
- [408](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408) (Timeout)
|
|
1444
|
+
- [429](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429) (Too Many Requests)
|
|
1445
|
+
- [5XX](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500) (Internal Server Errors)
|
|
1446
|
+
|
|
1447
|
+
Use the `maxRetries` request option to configure this behavior.
|
|
1448
|
+
|
|
1449
|
+
```typescript
|
|
1450
|
+
const response = await client.listen.v1.media.transcribeFile(..., {
|
|
1451
|
+
maxRetries: 0 // override maxRetries at the request level
|
|
1452
|
+
});
|
|
1453
|
+
```
|
|
1454
|
+
|
|
1455
|
+
### Timeouts
|
|
1456
|
+
|
|
1457
|
+
The SDK defaults to a 60 second timeout. Use the `timeoutInSeconds` option to configure this behavior.
|
|
1458
|
+
|
|
1459
|
+
```typescript
|
|
1460
|
+
const response = await client.listen.v1.media.transcribeFile(..., {
|
|
1461
|
+
timeoutInSeconds: 30 // override timeout to 30s
|
|
1462
|
+
});
|
|
1463
|
+
```
|
|
1464
|
+
|
|
1465
|
+
### Aborting Requests
|
|
1466
|
+
|
|
1467
|
+
The SDK allows users to abort requests at any point by passing in an abort signal.
|
|
1468
|
+
|
|
1469
|
+
```typescript
|
|
1470
|
+
const controller = new AbortController();
|
|
1471
|
+
const response = await client.listen.v1.media.transcribeFile(..., {
|
|
1472
|
+
abortSignal: controller.signal
|
|
1473
|
+
});
|
|
1474
|
+
controller.abort(); // aborts the request
|
|
1475
|
+
```
|
|
1476
|
+
|
|
1477
|
+
### Access Raw Response Data
|
|
1478
|
+
|
|
1479
|
+
The SDK provides access to raw response data, including headers, through the `.withRawResponse()` method.
|
|
1480
|
+
The `.withRawResponse()` method returns a promise that results to an object with a `data` and a `rawResponse` property.
|
|
1481
|
+
|
|
1482
|
+
```typescript
|
|
1483
|
+
const { data, rawResponse } = await client.listen.v1.media.transcribeFile(...).withRawResponse();
|
|
1484
|
+
|
|
1485
|
+
console.log(data);
|
|
1486
|
+
console.log(rawResponse.headers['X-My-Header']);
|
|
1487
|
+
```
|
|
1488
|
+
|
|
1489
|
+
### Logging
|
|
1490
|
+
|
|
1491
|
+
The SDK supports logging. You can configure the logger by passing in a `logging` object to the client options.
|
|
1492
|
+
|
|
1493
|
+
```typescript
|
|
1494
|
+
import { DeepgramClient, logging } from "@deepgram/sdk";
|
|
1495
|
+
|
|
1496
|
+
const client = new DeepgramClient({
|
|
1497
|
+
...
|
|
1498
|
+
logging: {
|
|
1499
|
+
level: logging.LogLevel.Debug, // defaults to logging.LogLevel.Info
|
|
1500
|
+
logger: new logging.ConsoleLogger(), // defaults to ConsoleLogger
|
|
1501
|
+
silent: false, // defaults to true, set to false to enable logging
|
|
1502
|
+
}
|
|
1503
|
+
});
|
|
1504
|
+
```
|
|
1505
|
+
The `logging` object can have the following properties:
|
|
1506
|
+
- `level`: The log level to use. Defaults to `logging.LogLevel.Info`.
|
|
1507
|
+
- `logger`: The logger to use. Defaults to a `logging.ConsoleLogger`.
|
|
1508
|
+
- `silent`: Whether to silence the logger. Defaults to `true`.
|
|
1509
|
+
|
|
1510
|
+
The `level` property can be one of the following values:
|
|
1511
|
+
- `logging.LogLevel.Debug`
|
|
1512
|
+
- `logging.LogLevel.Info`
|
|
1513
|
+
- `logging.LogLevel.Warn`
|
|
1514
|
+
- `logging.LogLevel.Error`
|
|
1515
|
+
|
|
1516
|
+
To provide a custom logger, you can pass in an object that implements the `logging.ILogger` interface.
|
|
1517
|
+
|
|
1518
|
+
<details>
|
|
1519
|
+
<summary>Custom logger examples</summary>
|
|
1520
|
+
|
|
1521
|
+
Here's an example using the popular `winston` logging library.
|
|
1522
|
+
```ts
|
|
1523
|
+
import winston from 'winston';
|
|
1524
|
+
|
|
1525
|
+
const winstonLogger = winston.createLogger({...});
|
|
1526
|
+
|
|
1527
|
+
const logger: logging.ILogger = {
|
|
1528
|
+
debug: (msg, ...args) => winstonLogger.debug(msg, ...args),
|
|
1529
|
+
info: (msg, ...args) => winstonLogger.info(msg, ...args),
|
|
1530
|
+
warn: (msg, ...args) => winstonLogger.warn(msg, ...args),
|
|
1531
|
+
error: (msg, ...args) => winstonLogger.error(msg, ...args),
|
|
1532
|
+
};
|
|
1533
|
+
```
|
|
1534
|
+
|
|
1535
|
+
Here's an example using the popular `pino` logging library.
|
|
1536
|
+
|
|
1537
|
+
```ts
|
|
1538
|
+
import pino from 'pino';
|
|
1539
|
+
|
|
1540
|
+
const pinoLogger = pino({...});
|
|
1541
|
+
|
|
1542
|
+
const logger: logging.ILogger = {
|
|
1543
|
+
debug: (msg, ...args) => pinoLogger.debug(args, msg),
|
|
1544
|
+
info: (msg, ...args) => pinoLogger.info(args, msg),
|
|
1545
|
+
warn: (msg, ...args) => pinoLogger.warn(args, msg),
|
|
1546
|
+
error: (msg, ...args) => pinoLogger.error(args, msg),
|
|
1547
|
+
};
|
|
1548
|
+
```
|
|
1549
|
+
</details>
|
|
1550
|
+
|
|
1551
|
+
|
|
1552
|
+
### Runtime Compatibility
|
|
1553
|
+
|
|
1554
|
+
|
|
1555
|
+
The SDK works in the following runtimes:
|
|
1556
|
+
|
|
1557
|
+
|
|
1558
|
+
|
|
1559
|
+
- Node.js 18+
|
|
1560
|
+
- Vercel
|
|
1561
|
+
- Cloudflare Workers
|
|
1562
|
+
- Deno v1.25+
|
|
1563
|
+
- Bun 1.0+
|
|
1564
|
+
- React Native
|
|
1565
|
+
|
|
1566
|
+
### Customizing Fetch Client
|
|
1567
|
+
|
|
1568
|
+
The SDK provides a way for you to customize the underlying HTTP client / Fetch function. If you're running in an
|
|
1569
|
+
unsupported environment, this provides a way for you to break glass and ensure the SDK works.
|
|
1570
|
+
|
|
1571
|
+
```typescript
|
|
1572
|
+
import { DeepgramClient } from "@deepgram/sdk";
|
|
1573
|
+
|
|
1574
|
+
const client = new DeepgramClient({
|
|
1575
|
+
...
|
|
1576
|
+
fetcher: // provide your implementation here
|
|
1577
|
+
});
|
|
1578
|
+
```
|
|
1579
|
+
|
|
1580
|
+
## Contributing
|
|
1581
|
+
|
|
1582
|
+
While we value open-source contributions to this SDK, this library is generated programmatically.
|
|
1583
|
+
Additions made directly to this library would have to be moved over to our generation code,
|
|
1584
|
+
otherwise they would be overwritten upon the next generated release. Feel free to open a PR as
|
|
1585
|
+
a proof of concept, but know that we will not be able to merge it as-is. We suggest opening
|
|
1586
|
+
an issue first to discuss with us!
|
|
1587
|
+
|
|
1588
|
+
On the other hand, contributions to the README are always very welcome!
|