@elevenlabs/elevenlabs-js 2.25.0 → 2.26.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/Client.js +2 -2
- package/api/resources/conversationalAi/client/Client.d.ts +3 -0
- package/api/resources/conversationalAi/client/Client.js +31 -26
- package/api/resources/conversationalAi/resources/analytics/client/Client.d.ts +12 -0
- package/api/resources/conversationalAi/resources/analytics/client/Client.js +15 -0
- package/api/resources/conversationalAi/resources/analytics/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/analytics/client/index.js +2 -0
- package/api/resources/conversationalAi/resources/analytics/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/analytics/index.js +18 -0
- package/api/resources/conversationalAi/resources/analytics/resources/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/analytics/resources/index.js +41 -0
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/Client.d.ts +28 -0
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/Client.js +139 -0
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/index.js +17 -0
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/requests/LiveCountGetRequest.d.ts +10 -0
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/requests/LiveCountGetRequest.js +3 -0
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/analytics/resources/liveCount/index.js +17 -0
- package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +3 -0
- package/api/resources/conversationalAi/resources/conversations/client/Client.js +13 -1
- package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +9 -0
- package/api/resources/conversationalAi/resources/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/index.js +2 -1
- package/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +2 -2
- package/api/resources/dubbing/resources/resource/client/Client.d.ts +17 -0
- package/api/resources/dubbing/resources/resource/client/Client.js +81 -0
- package/api/resources/dubbing/resources/resource/client/requests/BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost.d.ts +11 -0
- package/api/resources/dubbing/resources/resource/client/requests/BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost.js +3 -0
- package/api/resources/dubbing/resources/resource/client/requests/index.d.ts +1 -0
- package/api/resources/dubbing/resources/resource/resources/speaker/client/Client.d.ts +12 -0
- package/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +76 -0
- package/api/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.d.ts +10 -0
- package/api/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.js +3 -0
- package/api/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIdSpeakerSpeakerIdPatch.d.ts +2 -0
- package/api/resources/dubbing/resources/resource/resources/speaker/client/requests/index.d.ts +1 -0
- package/api/resources/studio/resources/projects/client/Client.js +5 -0
- package/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +2 -0
- package/api/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.d.ts +1 -0
- package/api/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.js +1 -0
- package/api/resources/webhooks/client/Client.d.ts +49 -0
- package/api/resources/webhooks/client/Client.js +242 -0
- package/api/resources/webhooks/client/requests/BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost.d.ts +15 -0
- package/api/resources/webhooks/client/requests/BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost.js +3 -0
- package/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +13 -0
- package/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.js +3 -0
- package/api/resources/webhooks/client/requests/index.d.ts +2 -0
- package/api/types/AgentDefinitionSource.d.ts +1 -0
- package/api/types/AgentDefinitionSource.js +1 -0
- package/api/types/AgentWorkflowRequestModel.d.ts +2 -0
- package/api/types/AgentWorkflowResponseModel.d.ts +2 -0
- package/api/types/ClientEvent.d.ts +1 -0
- package/api/types/ClientEvent.js +1 -0
- package/api/types/ConversationHistoryMetadataCommonModel.d.ts +1 -0
- package/api/types/CustomLlm.d.ts +2 -0
- package/api/types/CustomLlmapiType.d.ts +5 -0
- package/api/types/CustomLlmapiType.js +8 -0
- package/api/types/DeleteWorkspaceWebhookResponseModel.d.ts +4 -0
- package/api/types/DeleteWorkspaceWebhookResponseModel.js +3 -0
- package/api/types/DubbingTranscriptUtterance.d.ts +2 -1
- package/api/types/DubbingTranscriptWord.d.ts +2 -2
- package/api/types/ExtendedSubscriptionResponseModelBillingPeriod.d.ts +2 -0
- package/api/types/ExtendedSubscriptionResponseModelBillingPeriod.js +2 -0
- package/api/types/ExtendedSubscriptionResponseModelCharacterRefreshPeriod.d.ts +2 -0
- package/api/types/ExtendedSubscriptionResponseModelCharacterRefreshPeriod.js +2 -0
- package/api/types/GetLiveCountResponse.d.ts +4 -0
- package/api/types/GetLiveCountResponse.js +3 -0
- package/api/types/MusicPrompt.d.ts +2 -2
- package/api/types/PatchWorkspaceWebhookResponseModel.d.ts +4 -0
- package/api/types/PatchWorkspaceWebhookResponseModel.js +3 -0
- package/api/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.d.ts +2 -0
- package/api/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.js +2 -0
- package/api/types/ProjectExtendedResponseModelSourceType.d.ts +1 -0
- package/api/types/ProjectExtendedResponseModelSourceType.js +1 -0
- package/api/types/ProjectResponseModelSourceType.d.ts +1 -0
- package/api/types/ProjectResponseModelSourceType.js +1 -0
- package/api/types/SegmentMigrationResponse.d.ts +3 -0
- package/api/types/SegmentMigrationResponse.js +3 -0
- package/api/types/SongSection.d.ts +2 -2
- package/api/types/SpeakerCreatedResponse.d.ts +4 -0
- package/api/types/SpeakerCreatedResponse.js +3 -0
- package/api/types/SubscriptionResponseModelBillingPeriod.d.ts +2 -0
- package/api/types/SubscriptionResponseModelBillingPeriod.js +2 -0
- package/api/types/SubscriptionResponseModelCharacterRefreshPeriod.d.ts +2 -0
- package/api/types/SubscriptionResponseModelCharacterRefreshPeriod.js +2 -0
- package/api/types/TtsConversationalConfigInput.d.ts +0 -2
- package/api/types/TtsConversationalConfigOutput.d.ts +0 -2
- package/api/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +0 -2
- package/api/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +0 -2
- package/api/types/WebhookHmacSettings.d.ts +11 -0
- package/api/types/WebhookHmacSettings.js +3 -0
- package/api/types/WebhookToolApiSchemaConfigInput.d.ts +2 -5
- package/api/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -5
- package/api/types/WidgetTextContents.d.ts +14 -0
- package/api/types/WorkspaceCreateWebhookResponseModel.d.ts +4 -0
- package/api/types/WorkspaceCreateWebhookResponseModel.js +3 -0
- package/api/types/index.d.ts +8 -0
- package/api/types/index.js +8 -0
- package/dist/Client.js +2 -2
- package/dist/api/resources/conversationalAi/client/Client.d.ts +3 -0
- package/dist/api/resources/conversationalAi/client/Client.js +31 -26
- package/dist/api/resources/conversationalAi/resources/analytics/client/Client.d.ts +12 -0
- package/dist/api/resources/conversationalAi/resources/analytics/client/Client.js +15 -0
- package/dist/api/resources/conversationalAi/resources/analytics/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/analytics/client/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/analytics/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/analytics/index.js +18 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/index.js +41 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/Client.d.ts +28 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/Client.js +139 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/requests/LiveCountGetRequest.d.ts +10 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/requests/LiveCountGetRequest.js +3 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/analytics/resources/liveCount/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +3 -0
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +13 -1
- package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +9 -0
- package/dist/api/resources/conversationalAi/resources/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/index.js +2 -1
- package/dist/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +2 -2
- package/dist/api/resources/dubbing/resources/resource/client/Client.d.ts +17 -0
- package/dist/api/resources/dubbing/resources/resource/client/Client.js +81 -0
- package/dist/api/resources/dubbing/resources/resource/client/requests/BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost.d.ts +11 -0
- package/dist/api/resources/dubbing/resources/resource/client/requests/BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost.js +3 -0
- package/dist/api/resources/dubbing/resources/resource/client/requests/index.d.ts +1 -0
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/Client.d.ts +12 -0
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +76 -0
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.d.ts +10 -0
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.js +3 -0
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIdSpeakerSpeakerIdPatch.d.ts +2 -0
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/requests/index.d.ts +1 -0
- package/dist/api/resources/studio/resources/projects/client/Client.js +5 -0
- package/dist/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +2 -0
- package/dist/api/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.d.ts +1 -0
- package/dist/api/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.js +1 -0
- package/dist/api/resources/webhooks/client/Client.d.ts +49 -0
- package/dist/api/resources/webhooks/client/Client.js +242 -0
- package/dist/api/resources/webhooks/client/requests/BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost.d.ts +15 -0
- package/dist/api/resources/webhooks/client/requests/BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost.js +3 -0
- package/dist/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +13 -0
- package/dist/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.js +3 -0
- package/dist/api/resources/webhooks/client/requests/index.d.ts +2 -0
- package/dist/api/types/AgentDefinitionSource.d.ts +1 -0
- package/dist/api/types/AgentDefinitionSource.js +1 -0
- package/dist/api/types/AgentWorkflowRequestModel.d.ts +2 -0
- package/dist/api/types/AgentWorkflowResponseModel.d.ts +2 -0
- package/dist/api/types/ClientEvent.d.ts +1 -0
- package/dist/api/types/ClientEvent.js +1 -0
- package/dist/api/types/ConversationHistoryMetadataCommonModel.d.ts +1 -0
- package/dist/api/types/CustomLlm.d.ts +2 -0
- package/dist/api/types/CustomLlmapiType.d.ts +5 -0
- package/dist/api/types/CustomLlmapiType.js +8 -0
- package/dist/api/types/DeleteWorkspaceWebhookResponseModel.d.ts +4 -0
- package/dist/api/types/DeleteWorkspaceWebhookResponseModel.js +3 -0
- package/dist/api/types/DubbingTranscriptUtterance.d.ts +2 -1
- package/dist/api/types/DubbingTranscriptWord.d.ts +2 -2
- package/dist/api/types/ExtendedSubscriptionResponseModelBillingPeriod.d.ts +2 -0
- package/dist/api/types/ExtendedSubscriptionResponseModelBillingPeriod.js +2 -0
- package/dist/api/types/ExtendedSubscriptionResponseModelCharacterRefreshPeriod.d.ts +2 -0
- package/dist/api/types/ExtendedSubscriptionResponseModelCharacterRefreshPeriod.js +2 -0
- package/dist/api/types/GetLiveCountResponse.d.ts +4 -0
- package/dist/api/types/GetLiveCountResponse.js +3 -0
- package/dist/api/types/MusicPrompt.d.ts +2 -2
- package/dist/api/types/PatchWorkspaceWebhookResponseModel.d.ts +4 -0
- package/dist/api/types/PatchWorkspaceWebhookResponseModel.js +3 -0
- package/dist/api/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.d.ts +2 -0
- package/dist/api/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.js +2 -0
- package/dist/api/types/ProjectExtendedResponseModelSourceType.d.ts +1 -0
- package/dist/api/types/ProjectExtendedResponseModelSourceType.js +1 -0
- package/dist/api/types/ProjectResponseModelSourceType.d.ts +1 -0
- package/dist/api/types/ProjectResponseModelSourceType.js +1 -0
- package/dist/api/types/SegmentMigrationResponse.d.ts +3 -0
- package/dist/api/types/SegmentMigrationResponse.js +3 -0
- package/dist/api/types/SongSection.d.ts +2 -2
- package/dist/api/types/SpeakerCreatedResponse.d.ts +4 -0
- package/dist/api/types/SpeakerCreatedResponse.js +3 -0
- package/dist/api/types/SubscriptionResponseModelBillingPeriod.d.ts +2 -0
- package/dist/api/types/SubscriptionResponseModelBillingPeriod.js +2 -0
- package/dist/api/types/SubscriptionResponseModelCharacterRefreshPeriod.d.ts +2 -0
- package/dist/api/types/SubscriptionResponseModelCharacterRefreshPeriod.js +2 -0
- package/dist/api/types/TtsConversationalConfigInput.d.ts +0 -2
- package/dist/api/types/TtsConversationalConfigOutput.d.ts +0 -2
- package/dist/api/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +0 -2
- package/dist/api/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +0 -2
- package/dist/api/types/WebhookHmacSettings.d.ts +11 -0
- package/dist/api/types/WebhookHmacSettings.js +3 -0
- package/dist/api/types/WebhookToolApiSchemaConfigInput.d.ts +2 -5
- package/dist/api/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -5
- package/dist/api/types/WidgetTextContents.d.ts +14 -0
- package/dist/api/types/WorkspaceCreateWebhookResponseModel.d.ts +4 -0
- package/dist/api/types/WorkspaceCreateWebhookResponseModel.js +3 -0
- package/dist/api/types/index.d.ts +8 -0
- package/dist/api/types/index.js +8 -0
- package/dist/serialization/resources/dubbing/resources/resource/client/requests/BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost.d.ts +10 -0
- package/dist/serialization/resources/dubbing/resources/resource/client/requests/BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost.js +42 -0
- package/dist/serialization/resources/dubbing/resources/resource/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/dubbing/resources/resource/client/requests/index.js +3 -1
- package/dist/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.d.ts +10 -0
- package/dist/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.js +42 -0
- package/dist/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIdSpeakerSpeakerIdPatch.d.ts +1 -0
- package/dist/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIdSpeakerSpeakerIdPatch.js +1 -0
- package/dist/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/index.js +3 -1
- package/dist/serialization/resources/index.d.ts +2 -0
- package/dist/serialization/resources/index.js +3 -1
- package/dist/serialization/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.d.ts +1 -1
- package/dist/serialization/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.js +1 -1
- package/dist/serialization/resources/webhooks/client/index.d.ts +1 -0
- package/dist/serialization/resources/webhooks/client/index.js +17 -0
- package/dist/serialization/resources/webhooks/client/requests/BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost.d.ts +10 -0
- package/dist/serialization/resources/webhooks/client/requests/BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost.js +42 -0
- package/dist/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +10 -0
- package/dist/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.js +42 -0
- package/dist/serialization/resources/webhooks/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/webhooks/client/requests/index.js +7 -0
- package/dist/serialization/resources/webhooks/index.d.ts +1 -0
- package/dist/serialization/resources/webhooks/index.js +17 -0
- package/dist/serialization/types/AgentDefinitionSource.d.ts +1 -1
- package/dist/serialization/types/AgentDefinitionSource.js +1 -1
- package/dist/serialization/types/AgentWorkflowRequestModel.d.ts +1 -0
- package/dist/serialization/types/AgentWorkflowRequestModel.js +1 -0
- package/dist/serialization/types/AgentWorkflowResponseModel.d.ts +1 -0
- package/dist/serialization/types/AgentWorkflowResponseModel.js +1 -0
- package/dist/serialization/types/ClientEvent.d.ts +1 -1
- package/dist/serialization/types/ClientEvent.js +1 -0
- package/dist/serialization/types/ConversationHistoryMetadataCommonModel.d.ts +1 -0
- package/dist/serialization/types/ConversationHistoryMetadataCommonModel.js +1 -0
- package/dist/serialization/types/CustomLlm.d.ts +2 -0
- package/dist/serialization/types/CustomLlm.js +2 -0
- package/dist/serialization/types/CustomLlmapiType.d.ts +7 -0
- package/dist/serialization/types/CustomLlmapiType.js +39 -0
- package/dist/serialization/types/DeleteWorkspaceWebhookResponseModel.d.ts +9 -0
- package/dist/serialization/types/DeleteWorkspaceWebhookResponseModel.js +41 -0
- package/dist/serialization/types/DubbingTranscriptUtterance.d.ts +2 -1
- package/dist/serialization/types/DubbingTranscriptUtterance.js +2 -1
- package/dist/serialization/types/DubbingTranscriptWord.d.ts +2 -2
- package/dist/serialization/types/DubbingTranscriptWord.js +2 -2
- package/dist/serialization/types/ExtendedSubscriptionResponseModelBillingPeriod.d.ts +1 -1
- package/dist/serialization/types/ExtendedSubscriptionResponseModelBillingPeriod.js +1 -1
- package/dist/serialization/types/ExtendedSubscriptionResponseModelCharacterRefreshPeriod.d.ts +1 -1
- package/dist/serialization/types/ExtendedSubscriptionResponseModelCharacterRefreshPeriod.js +1 -1
- package/dist/serialization/types/GetLiveCountResponse.d.ts +9 -0
- package/dist/serialization/types/GetLiveCountResponse.js +41 -0
- package/dist/serialization/types/PatchWorkspaceWebhookResponseModel.d.ts +9 -0
- package/dist/serialization/types/PatchWorkspaceWebhookResponseModel.js +41 -0
- package/dist/serialization/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.d.ts +1 -1
- package/dist/serialization/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.js +1 -1
- package/dist/serialization/types/ProjectExtendedResponseModelSourceType.d.ts +1 -1
- package/dist/serialization/types/ProjectExtendedResponseModelSourceType.js +1 -1
- package/dist/serialization/types/ProjectResponseModelSourceType.d.ts +1 -1
- package/dist/serialization/types/ProjectResponseModelSourceType.js +1 -1
- package/dist/serialization/types/SegmentMigrationResponse.d.ts +9 -0
- package/dist/serialization/types/SegmentMigrationResponse.js +41 -0
- package/dist/serialization/types/SpeakerCreatedResponse.d.ts +10 -0
- package/dist/serialization/types/SpeakerCreatedResponse.js +42 -0
- package/dist/serialization/types/SubscriptionResponseModelBillingPeriod.d.ts +1 -1
- package/dist/serialization/types/SubscriptionResponseModelBillingPeriod.js +1 -1
- package/dist/serialization/types/SubscriptionResponseModelCharacterRefreshPeriod.d.ts +1 -1
- package/dist/serialization/types/SubscriptionResponseModelCharacterRefreshPeriod.js +1 -1
- package/dist/serialization/types/TtsConversationalConfigInput.d.ts +0 -2
- package/dist/serialization/types/TtsConversationalConfigInput.js +0 -2
- package/dist/serialization/types/TtsConversationalConfigOutput.d.ts +0 -2
- package/dist/serialization/types/TtsConversationalConfigOutput.js +0 -2
- package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +0 -2
- package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideInput.js +0 -2
- package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +0 -2
- package/dist/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.js +0 -2
- package/dist/serialization/types/WebhookHmacSettings.d.ts +11 -0
- package/dist/serialization/types/WebhookHmacSettings.js +43 -0
- package/dist/serialization/types/WebhookToolApiSchemaConfigInput.d.ts +1 -1
- package/dist/serialization/types/WebhookToolApiSchemaConfigInput.js +3 -3
- package/dist/serialization/types/WebhookToolApiSchemaConfigOutput.d.ts +1 -1
- package/dist/serialization/types/WebhookToolApiSchemaConfigOutput.js +3 -3
- package/dist/serialization/types/WidgetTextContents.d.ts +7 -0
- package/dist/serialization/types/WidgetTextContents.js +7 -0
- package/dist/serialization/types/WorkspaceCreateWebhookResponseModel.d.ts +10 -0
- package/dist/serialization/types/WorkspaceCreateWebhookResponseModel.js +42 -0
- package/dist/serialization/types/index.d.ts +8 -0
- package/dist/serialization/types/index.js +8 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wrapper/music.js +34 -3
- package/dist/wrapper/realtime/connection.d.ts +110 -6
- package/dist/wrapper/realtime/connection.js +74 -2
- package/dist/wrapper/realtime/index.d.ts +1 -1
- package/package.json +1 -1
- package/reference.md +406 -0
- package/serialization/resources/dubbing/resources/resource/client/requests/BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost.d.ts +10 -0
- package/serialization/resources/dubbing/resources/resource/client/requests/BodyMoveSegmentsBetweenSpeakersV1DubbingResourceDubbingIdMigrateSegmentsPost.js +42 -0
- package/serialization/resources/dubbing/resources/resource/client/requests/index.d.ts +1 -0
- package/serialization/resources/dubbing/resources/resource/client/requests/index.js +3 -1
- package/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.d.ts +10 -0
- package/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyCreateANewSpeakerV1DubbingResourceDubbingIdSpeakerPost.js +42 -0
- package/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIdSpeakerSpeakerIdPatch.d.ts +1 -0
- package/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/BodyUpdateMetadataForASpeakerV1DubbingResourceDubbingIdSpeakerSpeakerIdPatch.js +1 -0
- package/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/index.d.ts +1 -0
- package/serialization/resources/dubbing/resources/resource/resources/speaker/client/requests/index.js +3 -1
- package/serialization/resources/index.d.ts +2 -0
- package/serialization/resources/index.js +3 -1
- package/serialization/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.d.ts +1 -1
- package/serialization/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.js +1 -1
- package/serialization/resources/webhooks/client/index.d.ts +1 -0
- package/serialization/resources/webhooks/client/index.js +17 -0
- package/serialization/resources/webhooks/client/requests/BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost.d.ts +10 -0
- package/serialization/resources/webhooks/client/requests/BodyCreateWorkspaceWebhookV1WorkspaceWebhooksPost.js +42 -0
- package/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.d.ts +10 -0
- package/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.js +42 -0
- package/serialization/resources/webhooks/client/requests/index.d.ts +2 -0
- package/serialization/resources/webhooks/client/requests/index.js +7 -0
- package/serialization/resources/webhooks/index.d.ts +1 -0
- package/serialization/resources/webhooks/index.js +17 -0
- package/serialization/types/AgentDefinitionSource.d.ts +1 -1
- package/serialization/types/AgentDefinitionSource.js +1 -1
- package/serialization/types/AgentWorkflowRequestModel.d.ts +1 -0
- package/serialization/types/AgentWorkflowRequestModel.js +1 -0
- package/serialization/types/AgentWorkflowResponseModel.d.ts +1 -0
- package/serialization/types/AgentWorkflowResponseModel.js +1 -0
- package/serialization/types/ClientEvent.d.ts +1 -1
- package/serialization/types/ClientEvent.js +1 -0
- package/serialization/types/ConversationHistoryMetadataCommonModel.d.ts +1 -0
- package/serialization/types/ConversationHistoryMetadataCommonModel.js +1 -0
- package/serialization/types/CustomLlm.d.ts +2 -0
- package/serialization/types/CustomLlm.js +2 -0
- package/serialization/types/CustomLlmapiType.d.ts +7 -0
- package/serialization/types/CustomLlmapiType.js +39 -0
- package/serialization/types/DeleteWorkspaceWebhookResponseModel.d.ts +9 -0
- package/serialization/types/DeleteWorkspaceWebhookResponseModel.js +41 -0
- package/serialization/types/DubbingTranscriptUtterance.d.ts +2 -1
- package/serialization/types/DubbingTranscriptUtterance.js +2 -1
- package/serialization/types/DubbingTranscriptWord.d.ts +2 -2
- package/serialization/types/DubbingTranscriptWord.js +2 -2
- package/serialization/types/ExtendedSubscriptionResponseModelBillingPeriod.d.ts +1 -1
- package/serialization/types/ExtendedSubscriptionResponseModelBillingPeriod.js +1 -1
- package/serialization/types/ExtendedSubscriptionResponseModelCharacterRefreshPeriod.d.ts +1 -1
- package/serialization/types/ExtendedSubscriptionResponseModelCharacterRefreshPeriod.js +1 -1
- package/serialization/types/GetLiveCountResponse.d.ts +9 -0
- package/serialization/types/GetLiveCountResponse.js +41 -0
- package/serialization/types/PatchWorkspaceWebhookResponseModel.d.ts +9 -0
- package/serialization/types/PatchWorkspaceWebhookResponseModel.js +41 -0
- package/serialization/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.d.ts +1 -1
- package/serialization/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.js +1 -1
- package/serialization/types/ProjectExtendedResponseModelSourceType.d.ts +1 -1
- package/serialization/types/ProjectExtendedResponseModelSourceType.js +1 -1
- package/serialization/types/ProjectResponseModelSourceType.d.ts +1 -1
- package/serialization/types/ProjectResponseModelSourceType.js +1 -1
- package/serialization/types/SegmentMigrationResponse.d.ts +9 -0
- package/serialization/types/SegmentMigrationResponse.js +41 -0
- package/serialization/types/SpeakerCreatedResponse.d.ts +10 -0
- package/serialization/types/SpeakerCreatedResponse.js +42 -0
- package/serialization/types/SubscriptionResponseModelBillingPeriod.d.ts +1 -1
- package/serialization/types/SubscriptionResponseModelBillingPeriod.js +1 -1
- package/serialization/types/SubscriptionResponseModelCharacterRefreshPeriod.d.ts +1 -1
- package/serialization/types/SubscriptionResponseModelCharacterRefreshPeriod.js +1 -1
- package/serialization/types/TtsConversationalConfigInput.d.ts +0 -2
- package/serialization/types/TtsConversationalConfigInput.js +0 -2
- package/serialization/types/TtsConversationalConfigOutput.d.ts +0 -2
- package/serialization/types/TtsConversationalConfigOutput.js +0 -2
- package/serialization/types/TtsConversationalConfigWorkflowOverrideInput.d.ts +0 -2
- package/serialization/types/TtsConversationalConfigWorkflowOverrideInput.js +0 -2
- package/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.d.ts +0 -2
- package/serialization/types/TtsConversationalConfigWorkflowOverrideOutput.js +0 -2
- package/serialization/types/WebhookHmacSettings.d.ts +11 -0
- package/serialization/types/WebhookHmacSettings.js +43 -0
- package/serialization/types/WebhookToolApiSchemaConfigInput.d.ts +1 -1
- package/serialization/types/WebhookToolApiSchemaConfigInput.js +3 -3
- package/serialization/types/WebhookToolApiSchemaConfigOutput.d.ts +1 -1
- package/serialization/types/WebhookToolApiSchemaConfigOutput.js +3 -3
- package/serialization/types/WidgetTextContents.d.ts +7 -0
- package/serialization/types/WidgetTextContents.js +7 -0
- package/serialization/types/WorkspaceCreateWebhookResponseModel.d.ts +10 -0
- package/serialization/types/WorkspaceCreateWebhookResponseModel.js +42 -0
- package/serialization/types/index.d.ts +8 -0
- package/serialization/types/index.js +8 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/wrapper/music.js +34 -3
- package/wrapper/realtime/connection.d.ts +110 -6
- package/wrapper/realtime/connection.js +74 -2
- package/wrapper/realtime/index.d.ts +1 -1
|
@@ -36,4 +36,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.ExtendedSubscriptionResponseModelCharacterRefreshPeriod = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
-
exports.ExtendedSubscriptionResponseModelCharacterRefreshPeriod = core.serialization.enum_(["monthly_period", "annual_period"]);
|
|
39
|
+
exports.ExtendedSubscriptionResponseModelCharacterRefreshPeriod = core.serialization.enum_(["monthly_period", "3_month_period", "6_month_period", "annual_period"]);
|
|
@@ -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 GetLiveCountResponse: core.serialization.ObjectSchema<serializers.GetLiveCountResponse.Raw, ElevenLabs.GetLiveCountResponse>;
|
|
5
|
+
export declare namespace GetLiveCountResponse {
|
|
6
|
+
interface Raw {
|
|
7
|
+
count: number;
|
|
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.GetLiveCountResponse = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.GetLiveCountResponse = core.serialization.object({
|
|
40
|
+
count: core.serialization.number(),
|
|
41
|
+
});
|
|
@@ -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 PatchWorkspaceWebhookResponseModel: core.serialization.ObjectSchema<serializers.PatchWorkspaceWebhookResponseModel.Raw, ElevenLabs.PatchWorkspaceWebhookResponseModel>;
|
|
5
|
+
export declare namespace PatchWorkspaceWebhookResponseModel {
|
|
6
|
+
interface Raw {
|
|
7
|
+
status: string;
|
|
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.PatchWorkspaceWebhookResponseModel = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.PatchWorkspaceWebhookResponseModel = core.serialization.object({
|
|
40
|
+
status: core.serialization.string(),
|
|
41
|
+
});
|
package/dist/serialization/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.d.ts
CHANGED
|
@@ -3,5 +3,5 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
export declare const PendingSubscriptionSwitchResponseModelNextBillingPeriod: core.serialization.Schema<serializers.PendingSubscriptionSwitchResponseModelNextBillingPeriod.Raw, ElevenLabs.PendingSubscriptionSwitchResponseModelNextBillingPeriod>;
|
|
5
5
|
export declare namespace PendingSubscriptionSwitchResponseModelNextBillingPeriod {
|
|
6
|
-
type Raw = "monthly_period" | "annual_period";
|
|
6
|
+
type Raw = "monthly_period" | "3_month_period" | "6_month_period" | "annual_period";
|
|
7
7
|
}
|
|
@@ -36,4 +36,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.PendingSubscriptionSwitchResponseModelNextBillingPeriod = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
-
exports.PendingSubscriptionSwitchResponseModelNextBillingPeriod = core.serialization.enum_(["monthly_period", "annual_period"]);
|
|
39
|
+
exports.PendingSubscriptionSwitchResponseModelNextBillingPeriod = core.serialization.enum_(["monthly_period", "3_month_period", "6_month_period", "annual_period"]);
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
export declare const ProjectExtendedResponseModelSourceType: core.serialization.Schema<serializers.ProjectExtendedResponseModelSourceType.Raw, ElevenLabs.ProjectExtendedResponseModelSourceType>;
|
|
5
5
|
export declare namespace ProjectExtendedResponseModelSourceType {
|
|
6
|
-
type Raw = "blank" | "book" | "article" | "genfm" | "video";
|
|
6
|
+
type Raw = "blank" | "book" | "article" | "genfm" | "video" | "screenplay";
|
|
7
7
|
}
|
|
@@ -36,4 +36,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.ProjectExtendedResponseModelSourceType = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
-
exports.ProjectExtendedResponseModelSourceType = core.serialization.enum_(["blank", "book", "article", "genfm", "video"]);
|
|
39
|
+
exports.ProjectExtendedResponseModelSourceType = core.serialization.enum_(["blank", "book", "article", "genfm", "video", "screenplay"]);
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
export declare const ProjectResponseModelSourceType: core.serialization.Schema<serializers.ProjectResponseModelSourceType.Raw, ElevenLabs.ProjectResponseModelSourceType>;
|
|
5
5
|
export declare namespace ProjectResponseModelSourceType {
|
|
6
|
-
type Raw = "blank" | "book" | "article" | "genfm" | "video";
|
|
6
|
+
type Raw = "blank" | "book" | "article" | "genfm" | "video" | "screenplay";
|
|
7
7
|
}
|
|
@@ -36,4 +36,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.ProjectResponseModelSourceType = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
-
exports.ProjectResponseModelSourceType = core.serialization.enum_(["blank", "book", "article", "genfm", "video"]);
|
|
39
|
+
exports.ProjectResponseModelSourceType = core.serialization.enum_(["blank", "book", "article", "genfm", "video", "screenplay"]);
|
|
@@ -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 SegmentMigrationResponse: core.serialization.ObjectSchema<serializers.SegmentMigrationResponse.Raw, ElevenLabs.SegmentMigrationResponse>;
|
|
5
|
+
export declare namespace SegmentMigrationResponse {
|
|
6
|
+
interface Raw {
|
|
7
|
+
version: number;
|
|
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.SegmentMigrationResponse = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.SegmentMigrationResponse = core.serialization.object({
|
|
40
|
+
version: core.serialization.number(),
|
|
41
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
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 SpeakerCreatedResponse: core.serialization.ObjectSchema<serializers.SpeakerCreatedResponse.Raw, ElevenLabs.SpeakerCreatedResponse>;
|
|
5
|
+
export declare namespace SpeakerCreatedResponse {
|
|
6
|
+
interface Raw {
|
|
7
|
+
version: number;
|
|
8
|
+
speaker_id: string;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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.SpeakerCreatedResponse = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.SpeakerCreatedResponse = core.serialization.object({
|
|
40
|
+
version: core.serialization.number(),
|
|
41
|
+
speakerId: core.serialization.property("speaker_id", core.serialization.string()),
|
|
42
|
+
});
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
export declare const SubscriptionResponseModelBillingPeriod: core.serialization.Schema<serializers.SubscriptionResponseModelBillingPeriod.Raw, ElevenLabs.SubscriptionResponseModelBillingPeriod>;
|
|
5
5
|
export declare namespace SubscriptionResponseModelBillingPeriod {
|
|
6
|
-
type Raw = "monthly_period" | "annual_period";
|
|
6
|
+
type Raw = "monthly_period" | "3_month_period" | "6_month_period" | "annual_period";
|
|
7
7
|
}
|
|
@@ -36,4 +36,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.SubscriptionResponseModelBillingPeriod = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
-
exports.SubscriptionResponseModelBillingPeriod = core.serialization.enum_(["monthly_period", "annual_period"]);
|
|
39
|
+
exports.SubscriptionResponseModelBillingPeriod = core.serialization.enum_(["monthly_period", "3_month_period", "6_month_period", "annual_period"]);
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
export declare const SubscriptionResponseModelCharacterRefreshPeriod: core.serialization.Schema<serializers.SubscriptionResponseModelCharacterRefreshPeriod.Raw, ElevenLabs.SubscriptionResponseModelCharacterRefreshPeriod>;
|
|
5
5
|
export declare namespace SubscriptionResponseModelCharacterRefreshPeriod {
|
|
6
|
-
type Raw = "monthly_period" | "annual_period";
|
|
6
|
+
type Raw = "monthly_period" | "3_month_period" | "6_month_period" | "annual_period";
|
|
7
7
|
}
|
|
@@ -36,4 +36,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.SubscriptionResponseModelCharacterRefreshPeriod = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
-
exports.SubscriptionResponseModelCharacterRefreshPeriod = core.serialization.enum_(["monthly_period", "annual_period"]);
|
|
39
|
+
exports.SubscriptionResponseModelCharacterRefreshPeriod = core.serialization.enum_(["monthly_period", "3_month_period", "6_month_period", "annual_period"]);
|
|
@@ -2,7 +2,6 @@ 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 { PydanticPronunciationDictionaryVersionLocator } from "./PydanticPronunciationDictionaryVersionLocator";
|
|
5
|
-
import { SuggestedAudioTag } from "./SuggestedAudioTag";
|
|
6
5
|
import { SupportedVoice } from "./SupportedVoice";
|
|
7
6
|
import { TextNormalisationType } from "./TextNormalisationType";
|
|
8
7
|
import { TtsConversationalModel } from "./TtsConversationalModel";
|
|
@@ -14,7 +13,6 @@ export declare namespace TtsConversationalConfigInput {
|
|
|
14
13
|
model_id?: TtsConversationalModel.Raw | null;
|
|
15
14
|
voice_id?: string | null;
|
|
16
15
|
supported_voices?: SupportedVoice.Raw[] | null;
|
|
17
|
-
suggested_audio_tags?: SuggestedAudioTag.Raw[] | null;
|
|
18
16
|
agent_output_audio_format?: TtsOutputFormat.Raw | null;
|
|
19
17
|
optimize_streaming_latency?: TtsOptimizeStreamingLatency.Raw | null;
|
|
20
18
|
stability?: number | null;
|
|
@@ -37,7 +37,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.TtsConversationalConfigInput = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
39
|
const PydanticPronunciationDictionaryVersionLocator_1 = require("./PydanticPronunciationDictionaryVersionLocator");
|
|
40
|
-
const SuggestedAudioTag_1 = require("./SuggestedAudioTag");
|
|
41
40
|
const SupportedVoice_1 = require("./SupportedVoice");
|
|
42
41
|
const TextNormalisationType_1 = require("./TextNormalisationType");
|
|
43
42
|
const TtsConversationalModel_1 = require("./TtsConversationalModel");
|
|
@@ -47,7 +46,6 @@ exports.TtsConversationalConfigInput = core.serialization.object({
|
|
|
47
46
|
modelId: core.serialization.property("model_id", TtsConversationalModel_1.TtsConversationalModel.optional()),
|
|
48
47
|
voiceId: core.serialization.property("voice_id", core.serialization.string().optional()),
|
|
49
48
|
supportedVoices: core.serialization.property("supported_voices", core.serialization.list(SupportedVoice_1.SupportedVoice).optional()),
|
|
50
|
-
suggestedAudioTags: core.serialization.property("suggested_audio_tags", core.serialization.list(SuggestedAudioTag_1.SuggestedAudioTag).optional()),
|
|
51
49
|
agentOutputAudioFormat: core.serialization.property("agent_output_audio_format", TtsOutputFormat_1.TtsOutputFormat.optional()),
|
|
52
50
|
optimizeStreamingLatency: core.serialization.property("optimize_streaming_latency", TtsOptimizeStreamingLatency_1.TtsOptimizeStreamingLatency.optional()),
|
|
53
51
|
stability: core.serialization.number().optional(),
|
|
@@ -2,7 +2,6 @@ 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 { PydanticPronunciationDictionaryVersionLocator } from "./PydanticPronunciationDictionaryVersionLocator";
|
|
5
|
-
import { SuggestedAudioTag } from "./SuggestedAudioTag";
|
|
6
5
|
import { SupportedVoice } from "./SupportedVoice";
|
|
7
6
|
import { TextNormalisationType } from "./TextNormalisationType";
|
|
8
7
|
import { TtsConversationalModel } from "./TtsConversationalModel";
|
|
@@ -14,7 +13,6 @@ export declare namespace TtsConversationalConfigOutput {
|
|
|
14
13
|
model_id?: TtsConversationalModel.Raw | null;
|
|
15
14
|
voice_id?: string | null;
|
|
16
15
|
supported_voices?: SupportedVoice.Raw[] | null;
|
|
17
|
-
suggested_audio_tags?: SuggestedAudioTag.Raw[] | null;
|
|
18
16
|
agent_output_audio_format?: TtsOutputFormat.Raw | null;
|
|
19
17
|
optimize_streaming_latency?: TtsOptimizeStreamingLatency.Raw | null;
|
|
20
18
|
stability?: number | null;
|
|
@@ -37,7 +37,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.TtsConversationalConfigOutput = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
39
|
const PydanticPronunciationDictionaryVersionLocator_1 = require("./PydanticPronunciationDictionaryVersionLocator");
|
|
40
|
-
const SuggestedAudioTag_1 = require("./SuggestedAudioTag");
|
|
41
40
|
const SupportedVoice_1 = require("./SupportedVoice");
|
|
42
41
|
const TextNormalisationType_1 = require("./TextNormalisationType");
|
|
43
42
|
const TtsConversationalModel_1 = require("./TtsConversationalModel");
|
|
@@ -47,7 +46,6 @@ exports.TtsConversationalConfigOutput = core.serialization.object({
|
|
|
47
46
|
modelId: core.serialization.property("model_id", TtsConversationalModel_1.TtsConversationalModel.optional()),
|
|
48
47
|
voiceId: core.serialization.property("voice_id", core.serialization.string().optional()),
|
|
49
48
|
supportedVoices: core.serialization.property("supported_voices", core.serialization.list(SupportedVoice_1.SupportedVoice).optional()),
|
|
50
|
-
suggestedAudioTags: core.serialization.property("suggested_audio_tags", core.serialization.list(SuggestedAudioTag_1.SuggestedAudioTag).optional()),
|
|
51
49
|
agentOutputAudioFormat: core.serialization.property("agent_output_audio_format", TtsOutputFormat_1.TtsOutputFormat.optional()),
|
|
52
50
|
optimizeStreamingLatency: core.serialization.property("optimize_streaming_latency", TtsOptimizeStreamingLatency_1.TtsOptimizeStreamingLatency.optional()),
|
|
53
51
|
stability: core.serialization.number().optional(),
|
|
@@ -2,7 +2,6 @@ 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 { PydanticPronunciationDictionaryVersionLocator } from "./PydanticPronunciationDictionaryVersionLocator";
|
|
5
|
-
import { SuggestedAudioTag } from "./SuggestedAudioTag";
|
|
6
5
|
import { SupportedVoice } from "./SupportedVoice";
|
|
7
6
|
import { TextNormalisationType } from "./TextNormalisationType";
|
|
8
7
|
import { TtsConversationalModel } from "./TtsConversationalModel";
|
|
@@ -14,7 +13,6 @@ export declare namespace TtsConversationalConfigWorkflowOverrideInput {
|
|
|
14
13
|
model_id?: TtsConversationalModel.Raw | null;
|
|
15
14
|
voice_id?: string | null;
|
|
16
15
|
supported_voices?: SupportedVoice.Raw[] | null;
|
|
17
|
-
suggested_audio_tags?: SuggestedAudioTag.Raw[] | null;
|
|
18
16
|
agent_output_audio_format?: TtsOutputFormat.Raw | null;
|
|
19
17
|
optimize_streaming_latency?: TtsOptimizeStreamingLatency.Raw | null;
|
|
20
18
|
stability?: number | null;
|
|
@@ -37,7 +37,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.TtsConversationalConfigWorkflowOverrideInput = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
39
|
const PydanticPronunciationDictionaryVersionLocator_1 = require("./PydanticPronunciationDictionaryVersionLocator");
|
|
40
|
-
const SuggestedAudioTag_1 = require("./SuggestedAudioTag");
|
|
41
40
|
const SupportedVoice_1 = require("./SupportedVoice");
|
|
42
41
|
const TextNormalisationType_1 = require("./TextNormalisationType");
|
|
43
42
|
const TtsConversationalModel_1 = require("./TtsConversationalModel");
|
|
@@ -47,7 +46,6 @@ exports.TtsConversationalConfigWorkflowOverrideInput = core.serialization.object
|
|
|
47
46
|
modelId: core.serialization.property("model_id", TtsConversationalModel_1.TtsConversationalModel.optional()),
|
|
48
47
|
voiceId: core.serialization.property("voice_id", core.serialization.string().optional()),
|
|
49
48
|
supportedVoices: core.serialization.property("supported_voices", core.serialization.list(SupportedVoice_1.SupportedVoice).optional()),
|
|
50
|
-
suggestedAudioTags: core.serialization.property("suggested_audio_tags", core.serialization.list(SuggestedAudioTag_1.SuggestedAudioTag).optional()),
|
|
51
49
|
agentOutputAudioFormat: core.serialization.property("agent_output_audio_format", TtsOutputFormat_1.TtsOutputFormat.optional()),
|
|
52
50
|
optimizeStreamingLatency: core.serialization.property("optimize_streaming_latency", TtsOptimizeStreamingLatency_1.TtsOptimizeStreamingLatency.optional()),
|
|
53
51
|
stability: core.serialization.number().optional(),
|
|
@@ -2,7 +2,6 @@ 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 { PydanticPronunciationDictionaryVersionLocator } from "./PydanticPronunciationDictionaryVersionLocator";
|
|
5
|
-
import { SuggestedAudioTag } from "./SuggestedAudioTag";
|
|
6
5
|
import { SupportedVoice } from "./SupportedVoice";
|
|
7
6
|
import { TextNormalisationType } from "./TextNormalisationType";
|
|
8
7
|
import { TtsConversationalModel } from "./TtsConversationalModel";
|
|
@@ -14,7 +13,6 @@ export declare namespace TtsConversationalConfigWorkflowOverrideOutput {
|
|
|
14
13
|
model_id?: TtsConversationalModel.Raw | null;
|
|
15
14
|
voice_id?: string | null;
|
|
16
15
|
supported_voices?: SupportedVoice.Raw[] | null;
|
|
17
|
-
suggested_audio_tags?: SuggestedAudioTag.Raw[] | null;
|
|
18
16
|
agent_output_audio_format?: TtsOutputFormat.Raw | null;
|
|
19
17
|
optimize_streaming_latency?: TtsOptimizeStreamingLatency.Raw | null;
|
|
20
18
|
stability?: number | null;
|
|
@@ -37,7 +37,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.TtsConversationalConfigWorkflowOverrideOutput = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
39
|
const PydanticPronunciationDictionaryVersionLocator_1 = require("./PydanticPronunciationDictionaryVersionLocator");
|
|
40
|
-
const SuggestedAudioTag_1 = require("./SuggestedAudioTag");
|
|
41
40
|
const SupportedVoice_1 = require("./SupportedVoice");
|
|
42
41
|
const TextNormalisationType_1 = require("./TextNormalisationType");
|
|
43
42
|
const TtsConversationalModel_1 = require("./TtsConversationalModel");
|
|
@@ -47,7 +46,6 @@ exports.TtsConversationalConfigWorkflowOverrideOutput = core.serialization.objec
|
|
|
47
46
|
modelId: core.serialization.property("model_id", TtsConversationalModel_1.TtsConversationalModel.optional()),
|
|
48
47
|
voiceId: core.serialization.property("voice_id", core.serialization.string().optional()),
|
|
49
48
|
supportedVoices: core.serialization.property("supported_voices", core.serialization.list(SupportedVoice_1.SupportedVoice).optional()),
|
|
50
|
-
suggestedAudioTags: core.serialization.property("suggested_audio_tags", core.serialization.list(SuggestedAudioTag_1.SuggestedAudioTag).optional()),
|
|
51
49
|
agentOutputAudioFormat: core.serialization.property("agent_output_audio_format", TtsOutputFormat_1.TtsOutputFormat.optional()),
|
|
52
50
|
optimizeStreamingLatency: core.serialization.property("optimize_streaming_latency", TtsOptimizeStreamingLatency_1.TtsOptimizeStreamingLatency.optional()),
|
|
53
51
|
stability: core.serialization.number().optional(),
|
|
@@ -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 WebhookHmacSettings: core.serialization.ObjectSchema<serializers.WebhookHmacSettings.Raw, ElevenLabs.WebhookHmacSettings>;
|
|
5
|
+
export declare namespace WebhookHmacSettings {
|
|
6
|
+
interface Raw {
|
|
7
|
+
auth_type: "hmac";
|
|
8
|
+
name: string;
|
|
9
|
+
webhook_url: 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.WebhookHmacSettings = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.WebhookHmacSettings = core.serialization.object({
|
|
40
|
+
authType: core.serialization.property("auth_type", core.serialization.stringLiteral("hmac")),
|
|
41
|
+
name: core.serialization.string(),
|
|
42
|
+
webhookUrl: core.serialization.property("webhook_url", core.serialization.string()),
|
|
43
|
+
});
|
|
@@ -10,12 +10,12 @@ import { WebhookToolApiSchemaConfigInputRequestHeadersValue } from "./WebhookToo
|
|
|
10
10
|
export declare const WebhookToolApiSchemaConfigInput: core.serialization.ObjectSchema<serializers.WebhookToolApiSchemaConfigInput.Raw, ElevenLabs.WebhookToolApiSchemaConfigInput>;
|
|
11
11
|
export declare namespace WebhookToolApiSchemaConfigInput {
|
|
12
12
|
interface Raw {
|
|
13
|
+
request_headers?: Record<string, WebhookToolApiSchemaConfigInputRequestHeadersValue.Raw> | null;
|
|
13
14
|
url: string;
|
|
14
15
|
method?: WebhookToolApiSchemaConfigInputMethod.Raw | null;
|
|
15
16
|
path_params_schema?: Record<string, LiteralJsonSchemaProperty.Raw> | null;
|
|
16
17
|
query_params_schema?: QueryParamsJsonSchema.Raw | null;
|
|
17
18
|
request_body_schema?: serializers.ObjectJsonSchemaPropertyInput.Raw | null;
|
|
18
|
-
request_headers?: Record<string, WebhookToolApiSchemaConfigInputRequestHeadersValue.Raw> | null;
|
|
19
19
|
content_type?: WebhookToolApiSchemaConfigInputContentType.Raw | null;
|
|
20
20
|
auth_connection?: AuthConnectionLocator.Raw | null;
|
|
21
21
|
}
|
|
@@ -44,14 +44,14 @@ const WebhookToolApiSchemaConfigInputContentType_1 = require("./WebhookToolApiSc
|
|
|
44
44
|
const WebhookToolApiSchemaConfigInputMethod_1 = require("./WebhookToolApiSchemaConfigInputMethod");
|
|
45
45
|
const WebhookToolApiSchemaConfigInputRequestHeadersValue_1 = require("./WebhookToolApiSchemaConfigInputRequestHeadersValue");
|
|
46
46
|
exports.WebhookToolApiSchemaConfigInput = core.serialization.object({
|
|
47
|
+
requestHeaders: core.serialization.property("request_headers", core.serialization
|
|
48
|
+
.record(core.serialization.string(), WebhookToolApiSchemaConfigInputRequestHeadersValue_1.WebhookToolApiSchemaConfigInputRequestHeadersValue)
|
|
49
|
+
.optional()),
|
|
47
50
|
url: core.serialization.string(),
|
|
48
51
|
method: WebhookToolApiSchemaConfigInputMethod_1.WebhookToolApiSchemaConfigInputMethod.optional(),
|
|
49
52
|
pathParamsSchema: core.serialization.property("path_params_schema", core.serialization.record(core.serialization.string(), LiteralJsonSchemaProperty_1.LiteralJsonSchemaProperty).optional()),
|
|
50
53
|
queryParamsSchema: core.serialization.property("query_params_schema", QueryParamsJsonSchema_1.QueryParamsJsonSchema.optional()),
|
|
51
54
|
requestBodySchema: core.serialization.property("request_body_schema", core.serialization.lazyObject(() => serializers.ObjectJsonSchemaPropertyInput).optional()),
|
|
52
|
-
requestHeaders: core.serialization.property("request_headers", core.serialization
|
|
53
|
-
.record(core.serialization.string(), WebhookToolApiSchemaConfigInputRequestHeadersValue_1.WebhookToolApiSchemaConfigInputRequestHeadersValue)
|
|
54
|
-
.optional()),
|
|
55
55
|
contentType: core.serialization.property("content_type", WebhookToolApiSchemaConfigInputContentType_1.WebhookToolApiSchemaConfigInputContentType.optional()),
|
|
56
56
|
authConnection: core.serialization.property("auth_connection", AuthConnectionLocator_1.AuthConnectionLocator.optional()),
|
|
57
57
|
});
|
|
@@ -10,12 +10,12 @@ import { WebhookToolApiSchemaConfigOutputRequestHeadersValue } from "./WebhookTo
|
|
|
10
10
|
export declare const WebhookToolApiSchemaConfigOutput: core.serialization.ObjectSchema<serializers.WebhookToolApiSchemaConfigOutput.Raw, ElevenLabs.WebhookToolApiSchemaConfigOutput>;
|
|
11
11
|
export declare namespace WebhookToolApiSchemaConfigOutput {
|
|
12
12
|
interface Raw {
|
|
13
|
+
request_headers?: Record<string, WebhookToolApiSchemaConfigOutputRequestHeadersValue.Raw> | null;
|
|
13
14
|
url: string;
|
|
14
15
|
method?: WebhookToolApiSchemaConfigOutputMethod.Raw | null;
|
|
15
16
|
path_params_schema?: Record<string, LiteralJsonSchemaProperty.Raw> | null;
|
|
16
17
|
query_params_schema?: QueryParamsJsonSchema.Raw | null;
|
|
17
18
|
request_body_schema?: serializers.ObjectJsonSchemaPropertyOutput.Raw | null;
|
|
18
|
-
request_headers?: Record<string, WebhookToolApiSchemaConfigOutputRequestHeadersValue.Raw> | null;
|
|
19
19
|
content_type?: WebhookToolApiSchemaConfigOutputContentType.Raw | null;
|
|
20
20
|
auth_connection?: AuthConnectionLocator.Raw | null;
|
|
21
21
|
}
|
|
@@ -44,14 +44,14 @@ const WebhookToolApiSchemaConfigOutputContentType_1 = require("./WebhookToolApiS
|
|
|
44
44
|
const WebhookToolApiSchemaConfigOutputMethod_1 = require("./WebhookToolApiSchemaConfigOutputMethod");
|
|
45
45
|
const WebhookToolApiSchemaConfigOutputRequestHeadersValue_1 = require("./WebhookToolApiSchemaConfigOutputRequestHeadersValue");
|
|
46
46
|
exports.WebhookToolApiSchemaConfigOutput = core.serialization.object({
|
|
47
|
+
requestHeaders: core.serialization.property("request_headers", core.serialization
|
|
48
|
+
.record(core.serialization.string(), WebhookToolApiSchemaConfigOutputRequestHeadersValue_1.WebhookToolApiSchemaConfigOutputRequestHeadersValue)
|
|
49
|
+
.optional()),
|
|
47
50
|
url: core.serialization.string(),
|
|
48
51
|
method: WebhookToolApiSchemaConfigOutputMethod_1.WebhookToolApiSchemaConfigOutputMethod.optional(),
|
|
49
52
|
pathParamsSchema: core.serialization.property("path_params_schema", core.serialization.record(core.serialization.string(), LiteralJsonSchemaProperty_1.LiteralJsonSchemaProperty).optional()),
|
|
50
53
|
queryParamsSchema: core.serialization.property("query_params_schema", QueryParamsJsonSchema_1.QueryParamsJsonSchema.optional()),
|
|
51
54
|
requestBodySchema: core.serialization.property("request_body_schema", core.serialization.lazyObject(() => serializers.ObjectJsonSchemaPropertyOutput).optional()),
|
|
52
|
-
requestHeaders: core.serialization.property("request_headers", core.serialization
|
|
53
|
-
.record(core.serialization.string(), WebhookToolApiSchemaConfigOutputRequestHeadersValue_1.WebhookToolApiSchemaConfigOutputRequestHeadersValue)
|
|
54
|
-
.optional()),
|
|
55
55
|
contentType: core.serialization.property("content_type", WebhookToolApiSchemaConfigOutputContentType_1.WebhookToolApiSchemaConfigOutputContentType.optional()),
|
|
56
56
|
authConnection: core.serialization.property("auth_connection", AuthConnectionLocator_1.AuthConnectionLocator.optional()),
|
|
57
57
|
});
|
|
@@ -29,5 +29,12 @@ export declare namespace WidgetTextContents {
|
|
|
29
29
|
conversation_id?: string | null;
|
|
30
30
|
error_occurred?: string | null;
|
|
31
31
|
copy_id?: string | null;
|
|
32
|
+
initiate_feedback?: string | null;
|
|
33
|
+
request_follow_up_feedback?: string | null;
|
|
34
|
+
thanks_for_feedback?: string | null;
|
|
35
|
+
thanks_for_feedback_details?: string | null;
|
|
36
|
+
follow_up_feedback_placeholder?: string | null;
|
|
37
|
+
submit?: string | null;
|
|
38
|
+
go_back?: string | null;
|
|
32
39
|
}
|
|
33
40
|
}
|
|
@@ -62,4 +62,11 @@ exports.WidgetTextContents = core.serialization.object({
|
|
|
62
62
|
conversationId: core.serialization.property("conversation_id", core.serialization.string().optional()),
|
|
63
63
|
errorOccurred: core.serialization.property("error_occurred", core.serialization.string().optional()),
|
|
64
64
|
copyId: core.serialization.property("copy_id", core.serialization.string().optional()),
|
|
65
|
+
initiateFeedback: core.serialization.property("initiate_feedback", core.serialization.string().optional()),
|
|
66
|
+
requestFollowUpFeedback: core.serialization.property("request_follow_up_feedback", core.serialization.string().optional()),
|
|
67
|
+
thanksForFeedback: core.serialization.property("thanks_for_feedback", core.serialization.string().optional()),
|
|
68
|
+
thanksForFeedbackDetails: core.serialization.property("thanks_for_feedback_details", core.serialization.string().optional()),
|
|
69
|
+
followUpFeedbackPlaceholder: core.serialization.property("follow_up_feedback_placeholder", core.serialization.string().optional()),
|
|
70
|
+
submit: core.serialization.string().optional(),
|
|
71
|
+
goBack: core.serialization.property("go_back", core.serialization.string().optional()),
|
|
65
72
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
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 WorkspaceCreateWebhookResponseModel: core.serialization.ObjectSchema<serializers.WorkspaceCreateWebhookResponseModel.Raw, ElevenLabs.WorkspaceCreateWebhookResponseModel>;
|
|
5
|
+
export declare namespace WorkspaceCreateWebhookResponseModel {
|
|
6
|
+
interface Raw {
|
|
7
|
+
webhook_id: string;
|
|
8
|
+
webhook_secret?: string | null;
|
|
9
|
+
}
|
|
10
|
+
}
|