@elevenlabs/elevenlabs-js 2.28.0 → 2.29.0
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/.fern/metadata.json +1 -1
- package/BaseClient.js +2 -2
- package/api/resources/conversationalAi/client/Client.d.ts +6 -0
- package/api/resources/conversationalAi/client/Client.js +10 -0
- package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/client/Client.js +5 -1
- package/api/resources/conversationalAi/resources/agents/client/requests/AgentsListRequest.d.ts +3 -0
- package/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +2 -0
- package/api/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +1 -0
- package/api/resources/conversationalAi/resources/conversations/client/Client.js +9 -1
- package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +2 -0
- package/api/resources/conversationalAi/resources/index.d.ts +4 -0
- package/api/resources/conversationalAi/resources/index.js +5 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +3 -2
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +11 -5
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsGetAgentsRequest.d.ts +8 -4
- package/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +2 -0
- package/api/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.d.ts +1 -0
- package/api/resources/conversationalAi/resources/whatsapp/client/Client.d.ts +32 -0
- package/api/resources/conversationalAi/resources/whatsapp/client/Client.js +129 -0
- package/api/resources/conversationalAi/resources/whatsapp/client/index.d.ts +1 -0
- package/{dist/api/resources/dubbing/resources/resource/types → api/resources/conversationalAi/resources/whatsapp/client}/index.js +1 -1
- package/api/resources/conversationalAi/resources/whatsapp/client/requests/BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost.d.ts +19 -0
- package/api/resources/conversationalAi/resources/whatsapp/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/whatsapp/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/whatsapp/index.d.ts +1 -0
- package/{dist/serialization/resources/dubbing/resources/resource/types → api/resources/conversationalAi/resources/whatsapp}/index.js +1 -1
- package/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.d.ts +82 -0
- package/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.js +358 -0
- package/api/resources/conversationalAi/resources/whatsappAccounts/client/index.d.ts +1 -0
- package/{serialization/resources/dubbing/resources/resource/types → api/resources/conversationalAi/resources/whatsappAccounts/client}/index.js +1 -1
- package/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.d.ts +13 -0
- package/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.d.ts +7 -0
- package/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.js +3 -0
- package/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/whatsappAccounts/index.d.ts +1 -0
- package/api/resources/{dubbing/resources/resource/types → conversationalAi/resources/whatsappAccounts}/index.js +1 -1
- package/api/resources/dubbing/resources/index.d.ts +0 -1
- package/api/resources/dubbing/resources/index.js +0 -1
- package/api/resources/dubbing/resources/resource/client/Client.d.ts +3 -3
- package/api/resources/dubbing/resources/resource/client/Client.js +3 -3
- package/api/resources/dubbing/resources/resource/index.d.ts +0 -1
- package/api/resources/dubbing/resources/resource/index.js +0 -1
- package/api/resources/history/client/Client.d.ts +2 -2
- package/api/resources/history/client/Client.js +2 -2
- package/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +1 -1
- package/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +1 -1
- package/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +1 -1
- package/api/resources/music/resources/compositionPlan/client/requests/BodyGenerateCompositionPlanV1MusicPlanPost.d.ts +1 -1
- package/api/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +3 -3
- package/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +3 -3
- package/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostQualityPreset.d.ts +3 -3
- package/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostQualityPreset.js +3 -3
- package/api/resources/textToVoice/client/requests/VoiceDesignRequest.d.ts +2 -0
- package/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +2 -0
- package/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +1 -1
- package/api/types/AuthorizationMethod.d.ts +1 -0
- package/api/types/AuthorizationMethod.js +1 -0
- package/api/types/BatchCallDetailedResponse.d.ts +3 -1
- package/api/types/BatchCallRecipientStatus.d.ts +1 -0
- package/api/types/BatchCallRecipientStatus.js +1 -0
- package/api/types/BatchCallResponse.d.ts +3 -1
- package/api/types/ConversationConfig.d.ts +4 -0
- package/api/types/ConversationConfigWorkflowOverride.d.ts +4 -0
- package/api/types/ConversationSummaryResponseModel.d.ts +1 -0
- package/api/types/DependentAvailableAgentIdentifier.d.ts +2 -0
- package/api/types/DependentUnknownAgentIdentifier.d.ts +4 -1
- package/api/types/FeaturesUsageCommonModel.d.ts +1 -0
- package/api/types/GetAgentResponseModel.d.ts +6 -0
- package/api/types/GetConversationResponseModel.d.ts +2 -0
- package/api/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +1 -0
- package/api/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +1 -0
- package/api/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +1 -0
- package/api/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +1 -0
- package/api/types/GetWhatsAppAccountResponse.d.ts +9 -0
- package/api/types/GetWhatsAppAccountResponse.js +3 -0
- package/api/types/ImportWhatsAppAccountResponse.d.ts +3 -0
- package/api/types/ImportWhatsAppAccountResponse.js +3 -0
- package/api/types/KnowledgeBaseDependentType.d.ts +6 -0
- package/api/types/KnowledgeBaseDependentType.js +9 -0
- package/api/types/ListWhatsAppAccountsResponse.d.ts +4 -0
- package/api/types/ListWhatsAppAccountsResponse.js +3 -0
- package/api/types/Llm.d.ts +4 -0
- package/api/types/Llm.js +4 -0
- package/api/types/McpServerConfigInput.d.ts +2 -0
- package/api/types/McpServerConfigOutput.d.ts +2 -0
- package/api/types/ProjectImageResponseModel.d.ts +1 -0
- package/api/types/ProjectVideoResponseModel.d.ts +2 -1
- package/api/types/TransferTypeEnum.d.ts +1 -0
- package/api/types/TransferTypeEnum.js +1 -0
- package/api/types/Voice.d.ts +2 -0
- package/api/types/VoicemailDetectionToolConfig.d.ts +1 -1
- package/api/types/WhatsAppOutboundCallResponse.d.ts +5 -0
- package/api/types/WhatsAppOutboundCallResponse.js +3 -0
- package/api/types/WidgetConfig.d.ts +6 -0
- package/api/types/WidgetConfigResponse.d.ts +6 -0
- package/api/types/WidgetLanguagePreset.d.ts +8 -0
- package/api/types/WidgetLanguagePresetResponse.d.ts +6 -0
- package/api/types/WidgetTermsTranslation.d.ts +4 -0
- package/api/types/WidgetTermsTranslation.js +3 -0
- package/api/types/WorkspaceCreateApiKeyResponseModel.d.ts +1 -0
- package/api/types/WorkspaceResourceType.d.ts +3 -0
- package/api/types/WorkspaceResourceType.js +3 -0
- package/api/types/index.d.ts +6 -0
- package/api/types/index.js +6 -0
- package/dist/BaseClient.js +2 -2
- package/dist/api/resources/conversationalAi/client/Client.d.ts +6 -0
- package/dist/api/resources/conversationalAi/client/Client.js +10 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +5 -1
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/AgentsListRequest.d.ts +3 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +9 -1
- package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/index.d.ts +4 -0
- package/dist/api/resources/conversationalAi/resources/index.js +5 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +3 -2
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +11 -5
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsGetAgentsRequest.d.ts +8 -4
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/whatsapp/client/Client.d.ts +32 -0
- package/dist/api/resources/conversationalAi/resources/whatsapp/client/Client.js +129 -0
- package/dist/api/resources/conversationalAi/resources/whatsapp/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/whatsapp/client/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/whatsapp/client/requests/BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost.d.ts +19 -0
- package/dist/api/resources/conversationalAi/resources/whatsapp/client/requests/BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost.js +3 -0
- package/dist/api/resources/conversationalAi/resources/whatsapp/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/whatsapp/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/whatsapp/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/whatsapp/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.d.ts +82 -0
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/Client.js +358 -0
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.d.ts +13 -0
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.js +3 -0
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.d.ts +7 -0
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.js +3 -0
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/whatsappAccounts/index.js +17 -0
- package/dist/api/resources/dubbing/resources/index.d.ts +0 -1
- package/dist/api/resources/dubbing/resources/index.js +0 -1
- package/dist/api/resources/dubbing/resources/resource/client/Client.d.ts +3 -3
- package/dist/api/resources/dubbing/resources/resource/client/Client.js +3 -3
- package/dist/api/resources/dubbing/resources/resource/index.d.ts +0 -1
- package/dist/api/resources/dubbing/resources/resource/index.js +0 -1
- package/dist/api/resources/history/client/Client.d.ts +2 -2
- package/dist/api/resources/history/client/Client.js +2 -2
- package/dist/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +1 -1
- package/dist/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +1 -1
- package/dist/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +1 -1
- package/dist/api/resources/music/resources/compositionPlan/client/requests/BodyGenerateCompositionPlanV1MusicPlanPost.d.ts +1 -1
- package/dist/api/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +3 -3
- package/dist/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +3 -3
- package/dist/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostQualityPreset.d.ts +3 -3
- package/dist/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostQualityPreset.js +3 -3
- package/dist/api/resources/textToVoice/client/requests/VoiceDesignRequest.d.ts +2 -0
- package/dist/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +2 -0
- package/dist/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +1 -1
- package/dist/api/types/AuthorizationMethod.d.ts +1 -0
- package/dist/api/types/AuthorizationMethod.js +1 -0
- package/dist/api/types/BatchCallDetailedResponse.d.ts +3 -1
- package/dist/api/types/BatchCallRecipientStatus.d.ts +1 -0
- package/dist/api/types/BatchCallRecipientStatus.js +1 -0
- package/dist/api/types/BatchCallResponse.d.ts +3 -1
- package/dist/api/types/ConversationConfig.d.ts +4 -0
- package/dist/api/types/ConversationConfigWorkflowOverride.d.ts +4 -0
- package/dist/api/types/ConversationSummaryResponseModel.d.ts +1 -0
- package/dist/api/types/DependentAvailableAgentIdentifier.d.ts +2 -0
- package/dist/api/types/DependentUnknownAgentIdentifier.d.ts +4 -1
- package/dist/api/types/FeaturesUsageCommonModel.d.ts +1 -0
- package/dist/api/types/GetAgentResponseModel.d.ts +6 -0
- package/dist/api/types/GetConversationResponseModel.d.ts +2 -0
- package/dist/api/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +1 -0
- package/dist/api/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +1 -0
- package/dist/api/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +1 -0
- package/dist/api/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +1 -0
- package/dist/api/types/GetWhatsAppAccountResponse.d.ts +9 -0
- package/dist/api/types/GetWhatsAppAccountResponse.js +3 -0
- package/dist/api/types/ImportWhatsAppAccountResponse.d.ts +3 -0
- package/dist/api/types/ImportWhatsAppAccountResponse.js +3 -0
- package/dist/api/types/KnowledgeBaseDependentType.d.ts +6 -0
- package/dist/api/types/KnowledgeBaseDependentType.js +9 -0
- package/dist/api/types/ListWhatsAppAccountsResponse.d.ts +4 -0
- package/dist/api/types/ListWhatsAppAccountsResponse.js +3 -0
- package/dist/api/types/Llm.d.ts +4 -0
- package/dist/api/types/Llm.js +4 -0
- package/dist/api/types/McpServerConfigInput.d.ts +2 -0
- package/dist/api/types/McpServerConfigOutput.d.ts +2 -0
- package/dist/api/types/ProjectImageResponseModel.d.ts +1 -0
- package/dist/api/types/ProjectVideoResponseModel.d.ts +2 -1
- package/dist/api/types/TransferTypeEnum.d.ts +1 -0
- package/dist/api/types/TransferTypeEnum.js +1 -0
- package/dist/api/types/Voice.d.ts +2 -0
- package/dist/api/types/VoicemailDetectionToolConfig.d.ts +1 -1
- package/dist/api/types/WhatsAppOutboundCallResponse.d.ts +5 -0
- package/dist/api/types/WhatsAppOutboundCallResponse.js +3 -0
- package/dist/api/types/WidgetConfig.d.ts +6 -0
- package/dist/api/types/WidgetConfigResponse.d.ts +6 -0
- package/dist/api/types/WidgetLanguagePreset.d.ts +8 -0
- package/dist/api/types/WidgetLanguagePresetResponse.d.ts +6 -0
- package/dist/api/types/WidgetTermsTranslation.d.ts +4 -0
- package/dist/api/types/WidgetTermsTranslation.js +3 -0
- package/dist/api/types/WorkspaceCreateApiKeyResponseModel.d.ts +1 -0
- package/dist/api/types/WorkspaceResourceType.d.ts +3 -0
- package/dist/api/types/WorkspaceResourceType.js +3 -0
- package/dist/api/types/index.d.ts +6 -0
- package/dist/api/types/index.js +6 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.js +2 -0
- package/dist/serialization/resources/conversationalAi/resources/index.d.ts +4 -0
- package/dist/serialization/resources/conversationalAi/resources/index.js +5 -1
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsapp/client/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsapp/client/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsapp/client/requests/BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost.d.ts +15 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsapp/client/requests/BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost.js +47 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsapp/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsapp/client/requests/index.js +5 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsapp/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsapp/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.d.ts +11 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.js +43 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.d.ts +9 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.js +41 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.js +7 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/index.js +17 -0
- package/dist/serialization/resources/dubbing/resources/index.d.ts +0 -1
- package/dist/serialization/resources/dubbing/resources/index.js +0 -1
- package/dist/serialization/resources/dubbing/resources/resource/index.d.ts +0 -1
- package/dist/serialization/resources/dubbing/resources/resource/index.js +0 -1
- package/dist/serialization/resources/textToVoice/client/requests/VoiceDesignRequest.d.ts +1 -0
- package/dist/serialization/resources/textToVoice/client/requests/VoiceDesignRequest.js +1 -0
- package/dist/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +1 -0
- package/dist/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.js +1 -0
- package/dist/serialization/types/AuthorizationMethod.d.ts +1 -1
- package/dist/serialization/types/AuthorizationMethod.js +1 -0
- package/dist/serialization/types/BatchCallDetailedResponse.d.ts +4 -1
- package/dist/serialization/types/BatchCallDetailedResponse.js +4 -1
- package/dist/serialization/types/BatchCallRecipientStatus.d.ts +1 -1
- package/dist/serialization/types/BatchCallRecipientStatus.js +10 -1
- package/dist/serialization/types/BatchCallResponse.d.ts +4 -1
- package/dist/serialization/types/BatchCallResponse.js +4 -1
- package/dist/serialization/types/ConversationConfig.d.ts +2 -0
- package/dist/serialization/types/ConversationConfig.js +2 -0
- package/dist/serialization/types/ConversationConfigWorkflowOverride.d.ts +2 -0
- package/dist/serialization/types/ConversationConfigWorkflowOverride.js +2 -0
- package/dist/serialization/types/ConversationSummaryResponseModel.d.ts +1 -0
- package/dist/serialization/types/ConversationSummaryResponseModel.js +1 -0
- package/dist/serialization/types/DependentAvailableAgentIdentifier.d.ts +1 -0
- package/dist/serialization/types/DependentAvailableAgentIdentifier.js +1 -0
- package/dist/serialization/types/DependentUnknownAgentIdentifier.d.ts +3 -1
- package/dist/serialization/types/DependentUnknownAgentIdentifier.js +3 -1
- package/dist/serialization/types/FeaturesUsageCommonModel.d.ts +1 -0
- package/dist/serialization/types/FeaturesUsageCommonModel.js +1 -0
- package/dist/serialization/types/GetAgentResponseModel.d.ts +3 -0
- package/dist/serialization/types/GetAgentResponseModel.js +3 -0
- package/dist/serialization/types/GetConversationResponseModel.d.ts +1 -0
- package/dist/serialization/types/GetConversationResponseModel.js +1 -0
- package/dist/serialization/types/GetWhatsAppAccountResponse.d.ts +15 -0
- package/dist/serialization/types/GetWhatsAppAccountResponse.js +47 -0
- package/dist/serialization/types/ImportWhatsAppAccountResponse.d.ts +9 -0
- package/dist/serialization/{resources/dubbing/resources/resource/types/ResourceRenderRequestLanguage.js → types/ImportWhatsAppAccountResponse.js} +5 -6
- package/dist/serialization/types/KnowledgeBaseDependentType.d.ts +7 -0
- package/{serialization/resources/dubbing/resources/resource/types/ResourceRenderRequestLanguage.js → dist/serialization/types/KnowledgeBaseDependentType.js} +3 -6
- package/dist/serialization/types/ListWhatsAppAccountsResponse.d.ts +10 -0
- package/dist/serialization/types/ListWhatsAppAccountsResponse.js +42 -0
- package/dist/serialization/types/Llm.d.ts +1 -1
- package/dist/serialization/types/Llm.js +4 -0
- package/dist/serialization/types/McpServerConfigInput.d.ts +1 -0
- package/dist/serialization/types/McpServerConfigInput.js +1 -0
- package/dist/serialization/types/McpServerConfigOutput.d.ts +1 -0
- package/dist/serialization/types/McpServerConfigOutput.js +1 -0
- package/dist/serialization/types/ProjectImageResponseModel.d.ts +1 -0
- package/dist/serialization/types/ProjectImageResponseModel.js +1 -0
- package/dist/serialization/types/ProjectVideoResponseModel.d.ts +2 -1
- package/dist/serialization/types/ProjectVideoResponseModel.js +2 -1
- package/dist/serialization/types/TransferTypeEnum.d.ts +1 -1
- package/dist/serialization/types/TransferTypeEnum.js +1 -1
- package/dist/serialization/types/Voice.d.ts +1 -0
- package/dist/serialization/types/Voice.js +1 -0
- package/dist/serialization/types/WhatsAppOutboundCallResponse.d.ts +11 -0
- package/dist/serialization/types/WhatsAppOutboundCallResponse.js +43 -0
- package/dist/serialization/types/WidgetConfig.d.ts +4 -0
- package/dist/serialization/types/WidgetConfig.js +4 -0
- package/dist/serialization/types/WidgetConfigResponse.d.ts +4 -0
- package/dist/serialization/types/WidgetConfigResponse.js +4 -0
- package/dist/serialization/types/WidgetLanguagePreset.d.ts +5 -0
- package/dist/serialization/types/WidgetLanguagePreset.js +5 -0
- package/dist/serialization/types/WidgetLanguagePresetResponse.d.ts +3 -0
- package/dist/serialization/types/WidgetLanguagePresetResponse.js +3 -0
- package/dist/serialization/types/WidgetTermsTranslation.d.ts +10 -0
- package/dist/serialization/types/WidgetTermsTranslation.js +42 -0
- package/dist/serialization/types/WorkspaceCreateApiKeyResponseModel.d.ts +1 -0
- package/dist/serialization/types/WorkspaceCreateApiKeyResponseModel.js +1 -0
- package/dist/serialization/types/WorkspaceResourceType.d.ts +1 -1
- package/dist/serialization/types/WorkspaceResourceType.js +3 -0
- package/dist/serialization/types/index.d.ts +6 -0
- package/dist/serialization/types/index.js +6 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +399 -7
- package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +1 -0
- package/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.js +2 -0
- package/serialization/resources/conversationalAi/resources/index.d.ts +4 -0
- package/serialization/resources/conversationalAi/resources/index.js +5 -1
- package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +1 -0
- package/serialization/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.js +1 -0
- package/serialization/resources/conversationalAi/resources/whatsapp/client/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/whatsapp/client/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/whatsapp/client/requests/BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost.d.ts +15 -0
- package/serialization/resources/conversationalAi/resources/whatsapp/client/requests/BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost.js +47 -0
- package/serialization/resources/conversationalAi/resources/whatsapp/client/requests/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/whatsapp/client/requests/index.js +5 -0
- package/serialization/resources/conversationalAi/resources/whatsapp/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/whatsapp/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.d.ts +11 -0
- package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.js +43 -0
- package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.d.ts +9 -0
- package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/UpdateWhatsAppAccountRequest.js +41 -0
- package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/whatsappAccounts/client/requests/index.js +7 -0
- package/serialization/resources/conversationalAi/resources/whatsappAccounts/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/whatsappAccounts/index.js +17 -0
- package/serialization/resources/dubbing/resources/index.d.ts +0 -1
- package/serialization/resources/dubbing/resources/index.js +0 -1
- package/serialization/resources/dubbing/resources/resource/index.d.ts +0 -1
- package/serialization/resources/dubbing/resources/resource/index.js +0 -1
- package/serialization/resources/textToVoice/client/requests/VoiceDesignRequest.d.ts +1 -0
- package/serialization/resources/textToVoice/client/requests/VoiceDesignRequest.js +1 -0
- package/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +1 -0
- package/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.js +1 -0
- package/serialization/types/AuthorizationMethod.d.ts +1 -1
- package/serialization/types/AuthorizationMethod.js +1 -0
- package/serialization/types/BatchCallDetailedResponse.d.ts +4 -1
- package/serialization/types/BatchCallDetailedResponse.js +4 -1
- package/serialization/types/BatchCallRecipientStatus.d.ts +1 -1
- package/serialization/types/BatchCallRecipientStatus.js +10 -1
- package/serialization/types/BatchCallResponse.d.ts +4 -1
- package/serialization/types/BatchCallResponse.js +4 -1
- package/serialization/types/ConversationConfig.d.ts +2 -0
- package/serialization/types/ConversationConfig.js +2 -0
- package/serialization/types/ConversationConfigWorkflowOverride.d.ts +2 -0
- package/serialization/types/ConversationConfigWorkflowOverride.js +2 -0
- package/serialization/types/ConversationSummaryResponseModel.d.ts +1 -0
- package/serialization/types/ConversationSummaryResponseModel.js +1 -0
- package/serialization/types/DependentAvailableAgentIdentifier.d.ts +1 -0
- package/serialization/types/DependentAvailableAgentIdentifier.js +1 -0
- package/serialization/types/DependentUnknownAgentIdentifier.d.ts +3 -1
- package/serialization/types/DependentUnknownAgentIdentifier.js +3 -1
- package/serialization/types/FeaturesUsageCommonModel.d.ts +1 -0
- package/serialization/types/FeaturesUsageCommonModel.js +1 -0
- package/serialization/types/GetAgentResponseModel.d.ts +3 -0
- package/serialization/types/GetAgentResponseModel.js +3 -0
- package/serialization/types/GetConversationResponseModel.d.ts +1 -0
- package/serialization/types/GetConversationResponseModel.js +1 -0
- package/serialization/types/GetWhatsAppAccountResponse.d.ts +15 -0
- package/serialization/types/GetWhatsAppAccountResponse.js +47 -0
- package/serialization/types/ImportWhatsAppAccountResponse.d.ts +9 -0
- package/serialization/types/ImportWhatsAppAccountResponse.js +41 -0
- package/serialization/types/KnowledgeBaseDependentType.d.ts +7 -0
- package/serialization/types/KnowledgeBaseDependentType.js +39 -0
- package/serialization/types/ListWhatsAppAccountsResponse.d.ts +10 -0
- package/serialization/types/ListWhatsAppAccountsResponse.js +42 -0
- package/serialization/types/Llm.d.ts +1 -1
- package/serialization/types/Llm.js +4 -0
- package/serialization/types/McpServerConfigInput.d.ts +1 -0
- package/serialization/types/McpServerConfigInput.js +1 -0
- package/serialization/types/McpServerConfigOutput.d.ts +1 -0
- package/serialization/types/McpServerConfigOutput.js +1 -0
- package/serialization/types/ProjectImageResponseModel.d.ts +1 -0
- package/serialization/types/ProjectImageResponseModel.js +1 -0
- package/serialization/types/ProjectVideoResponseModel.d.ts +2 -1
- package/serialization/types/ProjectVideoResponseModel.js +2 -1
- package/serialization/types/TransferTypeEnum.d.ts +1 -1
- package/serialization/types/TransferTypeEnum.js +1 -1
- package/serialization/types/Voice.d.ts +1 -0
- package/serialization/types/Voice.js +1 -0
- package/serialization/types/WhatsAppOutboundCallResponse.d.ts +11 -0
- package/serialization/types/WhatsAppOutboundCallResponse.js +43 -0
- package/serialization/types/WidgetConfig.d.ts +4 -0
- package/serialization/types/WidgetConfig.js +4 -0
- package/serialization/types/WidgetConfigResponse.d.ts +4 -0
- package/serialization/types/WidgetConfigResponse.js +4 -0
- package/serialization/types/WidgetLanguagePreset.d.ts +5 -0
- package/serialization/types/WidgetLanguagePreset.js +5 -0
- package/serialization/types/WidgetLanguagePresetResponse.d.ts +3 -0
- package/serialization/types/WidgetLanguagePresetResponse.js +3 -0
- package/serialization/types/WidgetTermsTranslation.d.ts +10 -0
- package/serialization/types/WidgetTermsTranslation.js +42 -0
- package/serialization/types/WorkspaceCreateApiKeyResponseModel.d.ts +1 -0
- package/serialization/types/WorkspaceCreateApiKeyResponseModel.js +1 -0
- package/serialization/types/WorkspaceResourceType.d.ts +1 -1
- package/serialization/types/WorkspaceResourceType.js +3 -0
- package/serialization/types/index.d.ts +6 -0
- package/serialization/types/index.js +6 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/dubbing/resources/resource/types/ResourceRenderRequestLanguage.d.ts +0 -4
- package/api/resources/dubbing/resources/resource/types/index.d.ts +0 -1
- package/dist/api/resources/dubbing/resources/resource/types/ResourceRenderRequestLanguage.d.ts +0 -4
- package/dist/api/resources/dubbing/resources/resource/types/index.d.ts +0 -1
- package/dist/serialization/resources/dubbing/resources/resource/types/ResourceRenderRequestLanguage.d.ts +0 -7
- package/dist/serialization/resources/dubbing/resources/resource/types/index.d.ts +0 -1
- package/serialization/resources/dubbing/resources/resource/types/ResourceRenderRequestLanguage.d.ts +0 -7
- package/serialization/resources/dubbing/resources/resource/types/index.d.ts +0 -1
- /package/api/resources/{dubbing/resources/resource/types/ResourceRenderRequestLanguage.js → conversationalAi/resources/whatsapp/client/requests/BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost.js} +0 -0
- /package/{dist/api/resources/dubbing/resources/resource/types/ResourceRenderRequestLanguage.js → api/resources/conversationalAi/resources/whatsappAccounts/client/requests/ImportWhatsAppAccountRequest.js} +0 -0
package/dist/api/types/index.js
CHANGED
|
@@ -429,6 +429,7 @@ __exportStar(require("./GetUnitTestResponseModel"), exports);
|
|
|
429
429
|
__exportStar(require("./GetUnitTestResponseModelDynamicVariablesValue"), exports);
|
|
430
430
|
__exportStar(require("./GetVoicesResponse"), exports);
|
|
431
431
|
__exportStar(require("./GetVoicesV2Response"), exports);
|
|
432
|
+
__exportStar(require("./GetWhatsAppAccountResponse"), exports);
|
|
432
433
|
__exportStar(require("./GetWorkspaceSecretsResponseModel"), exports);
|
|
433
434
|
__exportStar(require("./GuardrailsV1Input"), exports);
|
|
434
435
|
__exportStar(require("./GuardrailsV1Output"), exports);
|
|
@@ -438,10 +439,12 @@ __exportStar(require("./HistoryItemResponse"), exports);
|
|
|
438
439
|
__exportStar(require("./HtmlExportOptions"), exports);
|
|
439
440
|
__exportStar(require("./HttpValidationError"), exports);
|
|
440
441
|
__exportStar(require("./ImageAvatar"), exports);
|
|
442
|
+
__exportStar(require("./ImportWhatsAppAccountResponse"), exports);
|
|
441
443
|
__exportStar(require("./InboundSipTrunkConfigRequestModel"), exports);
|
|
442
444
|
__exportStar(require("./IntegrationType"), exports);
|
|
443
445
|
__exportStar(require("./InvoiceResponse"), exports);
|
|
444
446
|
__exportStar(require("./InvoiceResponseModelPaymentIntentStatus"), exports);
|
|
447
|
+
__exportStar(require("./KnowledgeBaseDependentType"), exports);
|
|
445
448
|
__exportStar(require("./KnowledgeBaseDocumentChunkResponseModel"), exports);
|
|
446
449
|
__exportStar(require("./KnowledgeBaseDocumentMetadataResponseModel"), exports);
|
|
447
450
|
__exportStar(require("./KnowledgeBaseDocumentType"), exports);
|
|
@@ -461,6 +464,7 @@ __exportStar(require("./LibraryVoiceResponse"), exports);
|
|
|
461
464
|
__exportStar(require("./LibraryVoiceResponseModelCategory"), exports);
|
|
462
465
|
__exportStar(require("./ListMcpToolsResponseModel"), exports);
|
|
463
466
|
__exportStar(require("./ListResponseMeta"), exports);
|
|
467
|
+
__exportStar(require("./ListWhatsAppAccountsResponse"), exports);
|
|
464
468
|
__exportStar(require("./LiteralJsonSchemaProperty"), exports);
|
|
465
469
|
__exportStar(require("./LiteralJsonSchemaPropertyConstantValue"), exports);
|
|
466
470
|
__exportStar(require("./LiteralJsonSchemaPropertyType"), exports);
|
|
@@ -822,6 +826,7 @@ __exportStar(require("./WebhookToolConfigOutput"), exports);
|
|
|
822
826
|
__exportStar(require("./WebhookUsageType"), exports);
|
|
823
827
|
__exportStar(require("./WhatsAppConversationInfo"), exports);
|
|
824
828
|
__exportStar(require("./WhatsAppConversationInfoDirection"), exports);
|
|
829
|
+
__exportStar(require("./WhatsAppOutboundCallResponse"), exports);
|
|
825
830
|
__exportStar(require("./WidgetConfig"), exports);
|
|
826
831
|
__exportStar(require("./WidgetConfigInputAvatar"), exports);
|
|
827
832
|
__exportStar(require("./WidgetConfigOutputAvatar"), exports);
|
|
@@ -835,6 +840,7 @@ __exportStar(require("./WidgetLanguagePreset"), exports);
|
|
|
835
840
|
__exportStar(require("./WidgetLanguagePresetResponse"), exports);
|
|
836
841
|
__exportStar(require("./WidgetPlacement"), exports);
|
|
837
842
|
__exportStar(require("./WidgetStyles"), exports);
|
|
843
|
+
__exportStar(require("./WidgetTermsTranslation"), exports);
|
|
838
844
|
__exportStar(require("./WidgetTextContents"), exports);
|
|
839
845
|
__exportStar(require("./WordTimestamp"), exports);
|
|
840
846
|
__exportStar(require("./WorkflowEdgeModelInput"), exports);
|
|
@@ -45,4 +45,5 @@ exports.UpdateAgentRequest = core.serialization.object({
|
|
|
45
45
|
workflow: AgentWorkflowRequestModel_1.AgentWorkflowRequestModel.optional(),
|
|
46
46
|
name: core.serialization.string().optional(),
|
|
47
47
|
tags: core.serialization.list(core.serialization.string()).optional(),
|
|
48
|
+
versionDescription: core.serialization.property("version_description", core.serialization.string().optional()),
|
|
48
49
|
});
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type * as ElevenLabs from "../../../../../../../api/index";
|
|
2
2
|
import * as core from "../../../../../../../core";
|
|
3
3
|
import type * as serializers from "../../../../../../index";
|
|
4
|
+
import { BatchCallWhatsAppParams } from "../../../../../../types/BatchCallWhatsAppParams";
|
|
4
5
|
import { OutboundCallRecipient } from "../../../../../../types/OutboundCallRecipient";
|
|
5
6
|
export declare const BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost: core.serialization.Schema<serializers.conversationalAi.BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.Raw, ElevenLabs.conversationalAi.BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost>;
|
|
6
7
|
export declare namespace BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost {
|
|
@@ -10,5 +11,6 @@ export declare namespace BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPo
|
|
|
10
11
|
recipients: OutboundCallRecipient.Raw[];
|
|
11
12
|
scheduled_time_unix?: number | null;
|
|
12
13
|
agent_phone_number_id?: string | null;
|
|
14
|
+
whatsapp_params?: BatchCallWhatsAppParams.Raw | null;
|
|
13
15
|
}
|
|
14
16
|
}
|
|
@@ -36,6 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../../../../core"));
|
|
39
|
+
const BatchCallWhatsAppParams_1 = require("../../../../../../types/BatchCallWhatsAppParams");
|
|
39
40
|
const OutboundCallRecipient_1 = require("../../../../../../types/OutboundCallRecipient");
|
|
40
41
|
exports.BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost = core.serialization.object({
|
|
41
42
|
callName: core.serialization.property("call_name", core.serialization.string()),
|
|
@@ -43,4 +44,5 @@ exports.BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost = core.seriali
|
|
|
43
44
|
recipients: core.serialization.list(OutboundCallRecipient_1.OutboundCallRecipient),
|
|
44
45
|
scheduledTimeUnix: core.serialization.property("scheduled_time_unix", core.serialization.number().optional()),
|
|
45
46
|
agentPhoneNumberId: core.serialization.property("agent_phone_number_id", core.serialization.string().optional()),
|
|
47
|
+
whatsappParams: core.serialization.property("whatsapp_params", BatchCallWhatsAppParams_1.BatchCallWhatsAppParams.optional()),
|
|
46
48
|
});
|
|
@@ -28,3 +28,7 @@ export * from "./tests/types";
|
|
|
28
28
|
export * as twilio from "./twilio";
|
|
29
29
|
export * from "./twilio/client/requests";
|
|
30
30
|
export * from "./twilio/types";
|
|
31
|
+
export * as whatsapp from "./whatsapp";
|
|
32
|
+
export * from "./whatsapp/client/requests";
|
|
33
|
+
export * as whatsappAccounts from "./whatsappAccounts";
|
|
34
|
+
export * from "./whatsappAccounts/client/requests";
|
|
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.twilio = exports.tests = exports.sipTrunk = exports.settings = exports.secrets = exports.phoneNumbers = exports.mcpServers = exports.llmUsage = exports.knowledgeBase = exports.dashboard = exports.conversations = exports.batchCalls = exports.agents = void 0;
|
|
39
|
+
exports.whatsappAccounts = exports.whatsapp = exports.twilio = exports.tests = exports.sipTrunk = exports.settings = exports.secrets = exports.phoneNumbers = exports.mcpServers = exports.llmUsage = exports.knowledgeBase = exports.dashboard = exports.conversations = exports.batchCalls = exports.agents = void 0;
|
|
40
40
|
exports.agents = __importStar(require("./agents"));
|
|
41
41
|
__exportStar(require("./agents/client/requests"), exports);
|
|
42
42
|
exports.batchCalls = __importStar(require("./batchCalls"));
|
|
@@ -67,3 +67,7 @@ __exportStar(require("./tests/types"), exports);
|
|
|
67
67
|
exports.twilio = __importStar(require("./twilio"));
|
|
68
68
|
__exportStar(require("./twilio/client/requests"), exports);
|
|
69
69
|
__exportStar(require("./twilio/types"), exports);
|
|
70
|
+
exports.whatsapp = __importStar(require("./whatsapp"));
|
|
71
|
+
__exportStar(require("./whatsapp/client/requests"), exports);
|
|
72
|
+
exports.whatsappAccounts = __importStar(require("./whatsappAccounts"));
|
|
73
|
+
__exportStar(require("./whatsappAccounts/client/requests"), exports);
|
|
@@ -16,5 +16,6 @@ export declare namespace McpServerConfigUpdateRequestModel {
|
|
|
16
16
|
tool_call_sound_behavior?: ToolCallSoundBehavior.Raw | null;
|
|
17
17
|
execution_mode?: ToolExecutionMode.Raw | null;
|
|
18
18
|
request_headers?: Record<string, McpServerConfigUpdateRequestModelRequestHeadersValue.Raw | null | undefined> | null;
|
|
19
|
+
disable_compression?: boolean | null;
|
|
19
20
|
}
|
|
20
21
|
}
|
|
@@ -51,4 +51,5 @@ exports.McpServerConfigUpdateRequestModel = core.serialization.object({
|
|
|
51
51
|
requestHeaders: core.serialization.property("request_headers", core.serialization
|
|
52
52
|
.record(core.serialization.string(), McpServerConfigUpdateRequestModelRequestHeadersValue_1.McpServerConfigUpdateRequestModelRequestHeadersValue.optional())
|
|
53
53
|
.optional()),
|
|
54
|
+
disableCompression: core.serialization.property("disable_compression", core.serialization.boolean().optional()),
|
|
54
55
|
});
|
|
@@ -8,6 +8,7 @@ export declare const UpdatePhoneNumberRequest: core.serialization.Schema<seriali
|
|
|
8
8
|
export declare namespace UpdatePhoneNumberRequest {
|
|
9
9
|
interface Raw {
|
|
10
10
|
agent_id?: string | null;
|
|
11
|
+
label?: string | null;
|
|
11
12
|
inbound_trunk_config?: InboundSipTrunkConfigRequestModel.Raw | null;
|
|
12
13
|
outbound_trunk_config?: OutboundSipTrunkConfigRequestModel.Raw | null;
|
|
13
14
|
livekit_stack?: LivekitStackType.Raw | null;
|
|
@@ -41,6 +41,7 @@ const LivekitStackType_1 = require("../../../../../../types/LivekitStackType");
|
|
|
41
41
|
const OutboundSipTrunkConfigRequestModel_1 = require("../../../../../../types/OutboundSipTrunkConfigRequestModel");
|
|
42
42
|
exports.UpdatePhoneNumberRequest = core.serialization.object({
|
|
43
43
|
agentId: core.serialization.property("agent_id", core.serialization.string().optional()),
|
|
44
|
+
label: core.serialization.string().optional(),
|
|
44
45
|
inboundTrunkConfig: core.serialization.property("inbound_trunk_config", InboundSipTrunkConfigRequestModel_1.InboundSipTrunkConfigRequestModel.optional()),
|
|
45
46
|
outboundTrunkConfig: core.serialization.property("outbound_trunk_config", OutboundSipTrunkConfigRequestModel_1.OutboundSipTrunkConfigRequestModel.optional()),
|
|
46
47
|
livekitStack: core.serialization.property("livekit_stack", LivekitStackType_1.LivekitStackType.optional()),
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests"), exports);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../../index";
|
|
4
|
+
import { ConversationInitiationClientDataRequestInput } from "../../../../../../types/ConversationInitiationClientDataRequestInput";
|
|
5
|
+
export declare const BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost: core.serialization.Schema<serializers.conversationalAi.BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost.Raw, ElevenLabs.conversationalAi.BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost>;
|
|
6
|
+
export declare namespace BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost {
|
|
7
|
+
interface Raw {
|
|
8
|
+
whatsapp_phone_number_id: string;
|
|
9
|
+
whatsapp_user_id: string;
|
|
10
|
+
whatsapp_call_permission_request_template_name: string;
|
|
11
|
+
whatsapp_call_permission_request_template_language_code: string;
|
|
12
|
+
agent_id: string;
|
|
13
|
+
conversation_initiation_client_data?: ConversationInitiationClientDataRequestInput.Raw | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../../../core"));
|
|
39
|
+
const ConversationInitiationClientDataRequestInput_1 = require("../../../../../../types/ConversationInitiationClientDataRequestInput");
|
|
40
|
+
exports.BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost = core.serialization.object({
|
|
41
|
+
whatsappPhoneNumberId: core.serialization.property("whatsapp_phone_number_id", core.serialization.string()),
|
|
42
|
+
whatsappUserId: core.serialization.property("whatsapp_user_id", core.serialization.string()),
|
|
43
|
+
whatsappCallPermissionRequestTemplateName: core.serialization.property("whatsapp_call_permission_request_template_name", core.serialization.string()),
|
|
44
|
+
whatsappCallPermissionRequestTemplateLanguageCode: core.serialization.property("whatsapp_call_permission_request_template_language_code", core.serialization.string()),
|
|
45
|
+
agentId: core.serialization.property("agent_id", core.serialization.string()),
|
|
46
|
+
conversationInitiationClientData: core.serialization.property("conversation_initiation_client_data", ConversationInitiationClientDataRequestInput_1.ConversationInitiationClientDataRequestInput.optional()),
|
|
47
|
+
});
|
package/dist/serialization/resources/conversationalAi/resources/whatsapp/client/requests/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost } from "./BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost";
|
package/dist/serialization/resources/conversationalAi/resources/whatsapp/client/requests/index.js
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost = void 0;
|
|
4
|
+
var BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost_1 = require("./BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost");
|
|
5
|
+
Object.defineProperty(exports, "BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost", { enumerable: true, get: function () { return BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost_1.BodyMakeAnOutboundCallViaWhatsAppV1ConvaiWhatsappOutboundCallPost; } });
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client"), exports);
|
package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests";
|
package/dist/serialization/resources/conversationalAi/resources/whatsappAccounts/client/index.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests"), exports);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../../index";
|
|
4
|
+
export declare const ImportWhatsAppAccountRequest: core.serialization.Schema<serializers.conversationalAi.ImportWhatsAppAccountRequest.Raw, ElevenLabs.conversationalAi.ImportWhatsAppAccountRequest>;
|
|
5
|
+
export declare namespace ImportWhatsAppAccountRequest {
|
|
6
|
+
interface Raw {
|
|
7
|
+
business_account_id: string;
|
|
8
|
+
phone_number_id: string;
|
|
9
|
+
token_code: string;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.ImportWhatsAppAccountRequest = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../../../core"));
|
|
39
|
+
exports.ImportWhatsAppAccountRequest = core.serialization.object({
|
|
40
|
+
businessAccountId: core.serialization.property("business_account_id", core.serialization.string()),
|
|
41
|
+
phoneNumberId: core.serialization.property("phone_number_id", core.serialization.string()),
|
|
42
|
+
tokenCode: core.serialization.property("token_code", core.serialization.string()),
|
|
43
|
+
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../../index";
|
|
4
|
+
export declare const UpdateWhatsAppAccountRequest: core.serialization.Schema<serializers.conversationalAi.UpdateWhatsAppAccountRequest.Raw, ElevenLabs.conversationalAi.UpdateWhatsAppAccountRequest>;
|
|
5
|
+
export declare namespace UpdateWhatsAppAccountRequest {
|
|
6
|
+
interface Raw {
|
|
7
|
+
assigned_agent_id?: string | null;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.UpdateWhatsAppAccountRequest = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../../../core"));
|
|
39
|
+
exports.UpdateWhatsAppAccountRequest = core.serialization.object({
|
|
40
|
+
assignedAgentId: core.serialization.property("assigned_agent_id", core.serialization.string().optional()),
|
|
41
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateWhatsAppAccountRequest = exports.ImportWhatsAppAccountRequest = void 0;
|
|
4
|
+
var ImportWhatsAppAccountRequest_1 = require("./ImportWhatsAppAccountRequest");
|
|
5
|
+
Object.defineProperty(exports, "ImportWhatsAppAccountRequest", { enumerable: true, get: function () { return ImportWhatsAppAccountRequest_1.ImportWhatsAppAccountRequest; } });
|
|
6
|
+
var UpdateWhatsAppAccountRequest_1 = require("./UpdateWhatsAppAccountRequest");
|
|
7
|
+
Object.defineProperty(exports, "UpdateWhatsAppAccountRequest", { enumerable: true, get: function () { return UpdateWhatsAppAccountRequest_1.UpdateWhatsAppAccountRequest; } });
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client"), exports);
|
|
@@ -39,6 +39,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.transcript = exports.resource = void 0;
|
|
40
40
|
exports.resource = __importStar(require("./resource"));
|
|
41
41
|
__exportStar(require("./resource/client/requests"), exports);
|
|
42
|
-
__exportStar(require("./resource/types"), exports);
|
|
43
42
|
exports.transcript = __importStar(require("./transcript"));
|
|
44
43
|
__exportStar(require("./transcript/types"), exports);
|
|
@@ -16,4 +16,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./client"), exports);
|
|
18
18
|
__exportStar(require("./resources"), exports);
|
|
19
|
-
__exportStar(require("./types"), exports);
|
|
@@ -44,4 +44,5 @@ exports.VoiceDesignRequest = core.serialization.object({
|
|
|
44
44
|
quality: core.serialization.number().optional(),
|
|
45
45
|
seed: core.serialization.number().optional(),
|
|
46
46
|
guidanceScale: core.serialization.property("guidance_scale", core.serialization.number().optional()),
|
|
47
|
+
shouldEnhance: core.serialization.property("should_enhance", core.serialization.boolean().optional()),
|
|
47
48
|
});
|
package/dist/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export declare namespace VoiceDesignRequestModel {
|
|
|
13
13
|
seed?: number | null;
|
|
14
14
|
guidance_scale?: number | null;
|
|
15
15
|
stream_previews?: boolean | null;
|
|
16
|
+
should_enhance?: boolean | null;
|
|
16
17
|
remixing_session_id?: string | null;
|
|
17
18
|
remixing_session_iteration_id?: string | null;
|
|
18
19
|
quality?: number | null;
|
|
@@ -46,6 +46,7 @@ exports.VoiceDesignRequestModel = core.serialization.object({
|
|
|
46
46
|
seed: core.serialization.number().optional(),
|
|
47
47
|
guidanceScale: core.serialization.property("guidance_scale", core.serialization.number().optional()),
|
|
48
48
|
streamPreviews: core.serialization.property("stream_previews", core.serialization.boolean().optional()),
|
|
49
|
+
shouldEnhance: core.serialization.property("should_enhance", core.serialization.boolean().optional()),
|
|
49
50
|
remixingSessionId: core.serialization.property("remixing_session_id", core.serialization.string().optional()),
|
|
50
51
|
remixingSessionIterationId: core.serialization.property("remixing_session_iteration_id", core.serialization.string().optional()),
|
|
51
52
|
quality: core.serialization.number().optional(),
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
export declare const AuthorizationMethod: core.serialization.Schema<serializers.AuthorizationMethod.Raw, ElevenLabs.AuthorizationMethod>;
|
|
5
5
|
export declare namespace AuthorizationMethod {
|
|
6
|
-
type Raw = "invalid" | "public" | "authorization_header" | "signed_url" | "shareable_link" | "livekit_token" | "livekit_token_website" | "genesys_api_key";
|
|
6
|
+
type Raw = "invalid" | "public" | "authorization_header" | "signed_url" | "shareable_link" | "livekit_token" | "livekit_token_website" | "genesys_api_key" | "whatsapp";
|
|
7
7
|
}
|
|
@@ -2,6 +2,7 @@ import type * as ElevenLabs from "../../api/index";
|
|
|
2
2
|
import * as core from "../../core";
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
import { BatchCallStatus } from "./BatchCallStatus";
|
|
5
|
+
import { BatchCallWhatsAppParams } from "./BatchCallWhatsAppParams";
|
|
5
6
|
import { OutboundCallRecipientResponseModel } from "./OutboundCallRecipientResponseModel";
|
|
6
7
|
import { TelephonyProvider } from "./TelephonyProvider";
|
|
7
8
|
export declare const BatchCallDetailedResponse: core.serialization.ObjectSchema<serializers.BatchCallDetailedResponse.Raw, ElevenLabs.BatchCallDetailedResponse>;
|
|
@@ -10,15 +11,17 @@ export declare namespace BatchCallDetailedResponse {
|
|
|
10
11
|
id: string;
|
|
11
12
|
phone_number_id?: string | null;
|
|
12
13
|
phone_provider?: TelephonyProvider.Raw | null;
|
|
14
|
+
whatsapp_params?: BatchCallWhatsAppParams.Raw | null;
|
|
13
15
|
name: string;
|
|
14
16
|
agent_id: string;
|
|
15
17
|
created_at_unix: number;
|
|
16
18
|
scheduled_time_unix: number;
|
|
17
19
|
total_calls_dispatched: number;
|
|
18
20
|
total_calls_scheduled: number;
|
|
21
|
+
total_calls_finished: number;
|
|
19
22
|
last_updated_at_unix: number;
|
|
20
23
|
status: BatchCallStatus.Raw;
|
|
21
|
-
retry_count
|
|
24
|
+
retry_count: number;
|
|
22
25
|
agent_name: string;
|
|
23
26
|
recipients: OutboundCallRecipientResponseModel.Raw[];
|
|
24
27
|
}
|
|
@@ -37,21 +37,24 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.BatchCallDetailedResponse = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
39
|
const BatchCallStatus_1 = require("./BatchCallStatus");
|
|
40
|
+
const BatchCallWhatsAppParams_1 = require("./BatchCallWhatsAppParams");
|
|
40
41
|
const OutboundCallRecipientResponseModel_1 = require("./OutboundCallRecipientResponseModel");
|
|
41
42
|
const TelephonyProvider_1 = require("./TelephonyProvider");
|
|
42
43
|
exports.BatchCallDetailedResponse = core.serialization.object({
|
|
43
44
|
id: core.serialization.string(),
|
|
44
45
|
phoneNumberId: core.serialization.property("phone_number_id", core.serialization.string().optional()),
|
|
45
46
|
phoneProvider: core.serialization.property("phone_provider", TelephonyProvider_1.TelephonyProvider.optional()),
|
|
47
|
+
whatsappParams: core.serialization.property("whatsapp_params", BatchCallWhatsAppParams_1.BatchCallWhatsAppParams.optional()),
|
|
46
48
|
name: core.serialization.string(),
|
|
47
49
|
agentId: core.serialization.property("agent_id", core.serialization.string()),
|
|
48
50
|
createdAtUnix: core.serialization.property("created_at_unix", core.serialization.number()),
|
|
49
51
|
scheduledTimeUnix: core.serialization.property("scheduled_time_unix", core.serialization.number()),
|
|
50
52
|
totalCallsDispatched: core.serialization.property("total_calls_dispatched", core.serialization.number()),
|
|
51
53
|
totalCallsScheduled: core.serialization.property("total_calls_scheduled", core.serialization.number()),
|
|
54
|
+
totalCallsFinished: core.serialization.property("total_calls_finished", core.serialization.number()),
|
|
52
55
|
lastUpdatedAtUnix: core.serialization.property("last_updated_at_unix", core.serialization.number()),
|
|
53
56
|
status: BatchCallStatus_1.BatchCallStatus,
|
|
54
|
-
retryCount: core.serialization.property("retry_count", core.serialization.number()
|
|
57
|
+
retryCount: core.serialization.property("retry_count", core.serialization.number()),
|
|
55
58
|
agentName: core.serialization.property("agent_name", core.serialization.string()),
|
|
56
59
|
recipients: core.serialization.list(OutboundCallRecipientResponseModel_1.OutboundCallRecipientResponseModel),
|
|
57
60
|
});
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
export declare const BatchCallRecipientStatus: core.serialization.Schema<serializers.BatchCallRecipientStatus.Raw, ElevenLabs.BatchCallRecipientStatus>;
|
|
5
5
|
export declare namespace BatchCallRecipientStatus {
|
|
6
|
-
type Raw = "pending" | "initiated" | "in_progress" | "completed" | "failed" | "cancelled" | "voicemail";
|
|
6
|
+
type Raw = "pending" | "dispatched" | "initiated" | "in_progress" | "completed" | "failed" | "cancelled" | "voicemail";
|
|
7
7
|
}
|
|
@@ -36,4 +36,13 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.BatchCallRecipientStatus = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
-
exports.BatchCallRecipientStatus = core.serialization.enum_([
|
|
39
|
+
exports.BatchCallRecipientStatus = core.serialization.enum_([
|
|
40
|
+
"pending",
|
|
41
|
+
"dispatched",
|
|
42
|
+
"initiated",
|
|
43
|
+
"in_progress",
|
|
44
|
+
"completed",
|
|
45
|
+
"failed",
|
|
46
|
+
"cancelled",
|
|
47
|
+
"voicemail",
|
|
48
|
+
]);
|