@elevenlabs/elevenlabs-js 2.21.0 → 2.22.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/errors/ConflictError.d.ts +5 -0
- package/api/errors/ConflictError.js +50 -0
- package/api/errors/index.d.ts +1 -0
- package/api/errors/index.js +1 -0
- package/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +1 -4
- package/api/resources/conversationalAi/resources/batchCalls/client/Client.js +1 -4
- package/api/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +3 -5
- package/api/resources/conversationalAi/resources/mcpServers/client/Client.d.ts +3 -0
- package/api/resources/conversationalAi/resources/mcpServers/client/Client.js +5 -0
- package/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +7 -3
- package/api/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/index.js +3 -1
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/Client.d.ts +94 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/Client.js +372 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/index.js +17 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +23 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.js +3 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +19 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.js +3 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.js +17 -0
- package/api/resources/conversationalAi/resources/tools/client/Client.d.ts +6 -4
- package/api/resources/conversationalAi/resources/tools/client/Client.js +6 -4
- package/api/resources/music/client/Client.d.ts +6 -0
- package/api/resources/music/client/Client.js +73 -0
- package/api/resources/music/client/requests/BodyStemSeparationV1MusicStemSeparationPost.d.ts +10 -0
- package/api/resources/music/client/requests/BodyStemSeparationV1MusicStemSeparationPost.js +3 -0
- package/api/resources/music/client/requests/index.d.ts +1 -0
- package/api/resources/music/types/MusicSeparateStemsRequestOutputFormat.d.ts +25 -0
- package/api/resources/music/types/MusicSeparateStemsRequestOutputFormat.js +28 -0
- package/api/resources/music/types/MusicSeparateStemsRequestStemVariationId.d.ts +6 -0
- package/api/resources/music/types/MusicSeparateStemsRequestStemVariationId.js +9 -0
- package/api/resources/music/types/index.d.ts +2 -0
- package/api/resources/music/types/index.js +2 -0
- package/api/types/ApiIntegrationWebhookOverridesInput.d.ts +11 -0
- package/api/types/ApiIntegrationWebhookOverridesInput.js +3 -0
- package/api/types/ApiIntegrationWebhookOverridesInputRequestHeadersValue.d.ts +2 -0
- package/api/types/ApiIntegrationWebhookOverridesInputRequestHeadersValue.js +3 -0
- package/api/types/ApiIntegrationWebhookOverridesOutput.d.ts +11 -0
- package/api/types/ApiIntegrationWebhookOverridesOutput.js +3 -0
- package/api/types/ApiIntegrationWebhookOverridesOutputRequestHeadersValue.d.ts +2 -0
- package/api/types/ApiIntegrationWebhookOverridesOutputRequestHeadersValue.js +3 -0
- package/api/types/ApiIntegrationWebhookToolConfigInput.d.ts +28 -0
- package/api/types/ApiIntegrationWebhookToolConfigInput.js +3 -0
- package/api/types/ApiIntegrationWebhookToolConfigOutput.d.ts +28 -0
- package/api/types/ApiIntegrationWebhookToolConfigOutput.js +3 -0
- package/api/types/BatchCallDetailedResponse.d.ts +2 -1
- package/api/types/BatchCallResponse.d.ts +2 -1
- package/api/types/InvoiceResponse.d.ts +4 -0
- package/api/types/LiteralJsonSchemaProperty.d.ts +2 -0
- package/api/types/LiteralOverride.d.ts +6 -0
- package/api/types/LiteralOverride.js +3 -0
- package/api/types/LiteralOverrideConstantValue.d.ts +1 -0
- package/api/types/LiteralOverrideConstantValue.js +3 -0
- package/api/types/McpServerConfigInput.d.ts +8 -2
- package/api/types/McpServerConfigOutput.d.ts +8 -2
- package/api/types/McpToolConfigOverride.d.ts +17 -0
- package/api/types/McpToolConfigOverride.js +3 -0
- package/api/types/ObjectOverrideInput.d.ts +6 -0
- package/api/types/ObjectOverrideInput.js +3 -0
- package/api/types/ObjectOverrideInputPropertiesValue.d.ts +2 -0
- package/api/types/ObjectOverrideInputPropertiesValue.js +3 -0
- package/api/types/ObjectOverrideOutput.d.ts +6 -0
- package/api/types/ObjectOverrideOutput.js +3 -0
- package/api/types/ObjectOverrideOutputPropertiesValue.d.ts +2 -0
- package/api/types/ObjectOverrideOutputPropertiesValue.js +3 -0
- package/api/types/OutboundCallRecipient.d.ts +2 -1
- package/api/types/OutboundCallRecipientResponseModel.d.ts +2 -1
- package/api/types/PendingSubscriptionSwitchResponseModel.d.ts +2 -0
- package/api/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.d.ts +6 -0
- package/api/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.js +9 -0
- package/api/types/PhoneNumberDynamicVariableTransferDestination.d.ts +3 -0
- package/api/types/PhoneNumberDynamicVariableTransferDestination.js +3 -0
- package/api/types/PhoneNumberTransferTransferDestination.d.ts +7 -1
- package/api/types/PromptAgentApiModelInputToolsItem.d.ts +4 -1
- package/api/types/PromptAgentApiModelOutputToolsItem.d.ts +4 -1
- package/api/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.d.ts +4 -1
- package/api/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.d.ts +4 -1
- package/api/types/QueryOverride.d.ts +5 -0
- package/api/types/QueryOverride.js +3 -0
- package/api/types/ReferencedToolCommonModelType.d.ts +1 -0
- package/api/types/ReferencedToolCommonModelType.js +1 -0
- package/api/types/SipUriDynamicVariableTransferDestination.d.ts +3 -0
- package/api/types/SipUriDynamicVariableTransferDestination.js +3 -0
- package/api/types/ToolRequestModelToolConfig.d.ts +4 -1
- package/api/types/ToolResponseModelToolConfig.d.ts +4 -1
- package/api/types/ToolType.d.ts +2 -0
- package/api/types/ToolType.js +2 -0
- package/api/types/VoiceSegment.d.ts +2 -0
- package/api/types/WebhookToolConfigInput.d.ts +2 -2
- package/api/types/WebhookToolConfigOutput.d.ts +2 -2
- package/api/types/WorkflowPhoneNumberNodeModelInputTransferDestination.d.ts +7 -1
- package/api/types/WorkflowPhoneNumberNodeModelOutputTransferDestination.d.ts +7 -1
- package/api/types/WorkspaceResourceType.d.ts +2 -0
- package/api/types/WorkspaceResourceType.js +2 -0
- package/api/types/index.d.ts +17 -0
- package/api/types/index.js +17 -0
- package/dist/Client.js +2 -2
- package/dist/api/errors/ConflictError.d.ts +5 -0
- package/dist/api/errors/ConflictError.js +50 -0
- package/dist/api/errors/index.d.ts +1 -0
- package/dist/api/errors/index.js +1 -0
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +1 -4
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.js +1 -4
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +3 -5
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.d.ts +3 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.js +5 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +7 -3
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/index.js +3 -1
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/Client.d.ts +94 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/Client.js +372 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +23 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.js +3 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +19 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.js +3 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/Client.d.ts +6 -4
- package/dist/api/resources/conversationalAi/resources/tools/client/Client.js +6 -4
- package/dist/api/resources/music/client/Client.d.ts +6 -0
- package/dist/api/resources/music/client/Client.js +73 -0
- package/dist/api/resources/music/client/requests/BodyStemSeparationV1MusicStemSeparationPost.d.ts +10 -0
- package/dist/api/resources/music/client/requests/BodyStemSeparationV1MusicStemSeparationPost.js +3 -0
- package/dist/api/resources/music/client/requests/index.d.ts +1 -0
- package/dist/api/resources/music/types/MusicSeparateStemsRequestOutputFormat.d.ts +25 -0
- package/dist/api/resources/music/types/MusicSeparateStemsRequestOutputFormat.js +28 -0
- package/dist/api/resources/music/types/MusicSeparateStemsRequestStemVariationId.d.ts +6 -0
- package/dist/api/resources/music/types/MusicSeparateStemsRequestStemVariationId.js +9 -0
- package/dist/api/resources/music/types/index.d.ts +2 -0
- package/dist/api/resources/music/types/index.js +2 -0
- package/dist/api/types/ApiIntegrationWebhookOverridesInput.d.ts +11 -0
- package/dist/api/types/ApiIntegrationWebhookOverridesInput.js +3 -0
- package/dist/api/types/ApiIntegrationWebhookOverridesInputRequestHeadersValue.d.ts +2 -0
- package/dist/api/types/ApiIntegrationWebhookOverridesInputRequestHeadersValue.js +3 -0
- package/dist/api/types/ApiIntegrationWebhookOverridesOutput.d.ts +11 -0
- package/dist/api/types/ApiIntegrationWebhookOverridesOutput.js +3 -0
- package/dist/api/types/ApiIntegrationWebhookOverridesOutputRequestHeadersValue.d.ts +2 -0
- package/dist/api/types/ApiIntegrationWebhookOverridesOutputRequestHeadersValue.js +3 -0
- package/dist/api/types/ApiIntegrationWebhookToolConfigInput.d.ts +28 -0
- package/dist/api/types/ApiIntegrationWebhookToolConfigInput.js +3 -0
- package/dist/api/types/ApiIntegrationWebhookToolConfigOutput.d.ts +28 -0
- package/dist/api/types/ApiIntegrationWebhookToolConfigOutput.js +3 -0
- package/dist/api/types/BatchCallDetailedResponse.d.ts +2 -1
- package/dist/api/types/BatchCallResponse.d.ts +2 -1
- package/dist/api/types/InvoiceResponse.d.ts +4 -0
- package/dist/api/types/LiteralJsonSchemaProperty.d.ts +2 -0
- package/dist/api/types/LiteralOverride.d.ts +6 -0
- package/dist/api/types/LiteralOverride.js +3 -0
- package/dist/api/types/LiteralOverrideConstantValue.d.ts +1 -0
- package/dist/api/types/LiteralOverrideConstantValue.js +3 -0
- package/dist/api/types/McpServerConfigInput.d.ts +8 -2
- package/dist/api/types/McpServerConfigOutput.d.ts +8 -2
- package/dist/api/types/McpToolConfigOverride.d.ts +17 -0
- package/dist/api/types/McpToolConfigOverride.js +3 -0
- package/dist/api/types/ObjectOverrideInput.d.ts +6 -0
- package/dist/api/types/ObjectOverrideInput.js +3 -0
- package/dist/api/types/ObjectOverrideInputPropertiesValue.d.ts +2 -0
- package/dist/api/types/ObjectOverrideInputPropertiesValue.js +3 -0
- package/dist/api/types/ObjectOverrideOutput.d.ts +6 -0
- package/dist/api/types/ObjectOverrideOutput.js +3 -0
- package/dist/api/types/ObjectOverrideOutputPropertiesValue.d.ts +2 -0
- package/dist/api/types/ObjectOverrideOutputPropertiesValue.js +3 -0
- package/dist/api/types/OutboundCallRecipient.d.ts +2 -1
- package/dist/api/types/OutboundCallRecipientResponseModel.d.ts +2 -1
- package/dist/api/types/PendingSubscriptionSwitchResponseModel.d.ts +2 -0
- package/dist/api/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.d.ts +6 -0
- package/dist/api/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.js +9 -0
- package/dist/api/types/PhoneNumberDynamicVariableTransferDestination.d.ts +3 -0
- package/dist/api/types/PhoneNumberDynamicVariableTransferDestination.js +3 -0
- package/dist/api/types/PhoneNumberTransferTransferDestination.d.ts +7 -1
- package/dist/api/types/PromptAgentApiModelInputToolsItem.d.ts +4 -1
- package/dist/api/types/PromptAgentApiModelOutputToolsItem.d.ts +4 -1
- package/dist/api/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.d.ts +4 -1
- package/dist/api/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.d.ts +4 -1
- package/dist/api/types/QueryOverride.d.ts +5 -0
- package/dist/api/types/QueryOverride.js +3 -0
- package/dist/api/types/ReferencedToolCommonModelType.d.ts +1 -0
- package/dist/api/types/ReferencedToolCommonModelType.js +1 -0
- package/dist/api/types/SipUriDynamicVariableTransferDestination.d.ts +3 -0
- package/dist/api/types/SipUriDynamicVariableTransferDestination.js +3 -0
- package/dist/api/types/ToolRequestModelToolConfig.d.ts +4 -1
- package/dist/api/types/ToolResponseModelToolConfig.d.ts +4 -1
- package/dist/api/types/ToolType.d.ts +2 -0
- package/dist/api/types/ToolType.js +2 -0
- package/dist/api/types/VoiceSegment.d.ts +2 -0
- package/dist/api/types/WebhookToolConfigInput.d.ts +2 -2
- package/dist/api/types/WebhookToolConfigOutput.d.ts +2 -2
- package/dist/api/types/WorkflowPhoneNumberNodeModelInputTransferDestination.d.ts +7 -1
- package/dist/api/types/WorkflowPhoneNumberNodeModelOutputTransferDestination.d.ts +7 -1
- package/dist/api/types/WorkspaceResourceType.d.ts +2 -0
- package/dist/api/types/WorkspaceResourceType.js +2 -0
- package/dist/api/types/index.d.ts +17 -0
- package/dist/api/types/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +2 -1
- package/dist/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.js +2 -1
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +4 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +4 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/index.js +3 -1
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +19 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.js +51 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +18 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.js +50 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/index.js +7 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.js +17 -0
- package/dist/serialization/resources/music/types/MusicSeparateStemsRequestOutputFormat.d.ts +7 -0
- package/dist/serialization/resources/music/types/MusicSeparateStemsRequestOutputFormat.js +61 -0
- package/dist/serialization/resources/music/types/MusicSeparateStemsRequestStemVariationId.d.ts +7 -0
- package/dist/serialization/resources/music/types/MusicSeparateStemsRequestStemVariationId.js +39 -0
- package/dist/serialization/resources/music/types/index.d.ts +2 -0
- package/dist/serialization/resources/music/types/index.js +2 -0
- package/dist/serialization/types/ApiIntegrationWebhookOverridesInput.d.ts +15 -0
- package/dist/serialization/types/ApiIntegrationWebhookOverridesInput.js +50 -0
- package/dist/serialization/types/ApiIntegrationWebhookOverridesInputRequestHeadersValue.d.ts +8 -0
- package/dist/serialization/types/ApiIntegrationWebhookOverridesInputRequestHeadersValue.js +40 -0
- package/dist/serialization/types/ApiIntegrationWebhookOverridesOutput.d.ts +15 -0
- package/dist/serialization/types/ApiIntegrationWebhookOverridesOutput.js +50 -0
- package/dist/serialization/types/ApiIntegrationWebhookOverridesOutputRequestHeadersValue.d.ts +8 -0
- package/dist/serialization/types/ApiIntegrationWebhookOverridesOutputRequestHeadersValue.js +40 -0
- package/dist/serialization/types/ApiIntegrationWebhookToolConfigInput.d.ts +28 -0
- package/dist/serialization/types/ApiIntegrationWebhookToolConfigInput.js +60 -0
- package/dist/serialization/types/ApiIntegrationWebhookToolConfigOutput.d.ts +28 -0
- package/dist/serialization/types/ApiIntegrationWebhookToolConfigOutput.js +60 -0
- package/dist/serialization/types/BatchCallDetailedResponse.d.ts +2 -1
- package/dist/serialization/types/BatchCallDetailedResponse.js +2 -1
- package/dist/serialization/types/BatchCallResponse.d.ts +2 -1
- package/dist/serialization/types/BatchCallResponse.js +2 -1
- package/dist/serialization/types/InvoiceResponse.d.ts +2 -0
- package/dist/serialization/types/InvoiceResponse.js +2 -0
- package/dist/serialization/types/LiteralJsonSchemaProperty.d.ts +1 -0
- package/dist/serialization/types/LiteralJsonSchemaProperty.js +1 -0
- package/dist/serialization/types/LiteralOverride.d.ts +12 -0
- package/dist/serialization/types/LiteralOverride.js +44 -0
- package/dist/serialization/types/LiteralOverrideConstantValue.d.ts +7 -0
- package/dist/serialization/types/LiteralOverrideConstantValue.js +44 -0
- package/dist/serialization/types/McpServerConfigInput.d.ts +6 -0
- package/dist/serialization/types/McpServerConfigInput.js +6 -0
- package/dist/serialization/types/McpServerConfigOutput.d.ts +6 -0
- package/dist/serialization/types/McpServerConfigOutput.js +6 -0
- package/dist/serialization/types/McpToolConfigOverride.d.ts +19 -0
- package/dist/serialization/types/McpToolConfigOverride.js +51 -0
- package/dist/serialization/types/ObjectOverrideInput.d.ts +11 -0
- package/dist/serialization/types/ObjectOverrideInput.js +46 -0
- package/dist/serialization/types/ObjectOverrideInputPropertiesValue.d.ts +8 -0
- package/dist/serialization/types/ObjectOverrideInputPropertiesValue.js +44 -0
- package/dist/serialization/types/ObjectOverrideOutput.d.ts +11 -0
- package/dist/serialization/types/ObjectOverrideOutput.js +46 -0
- package/dist/serialization/types/ObjectOverrideOutputPropertiesValue.d.ts +8 -0
- package/dist/serialization/types/ObjectOverrideOutputPropertiesValue.js +44 -0
- package/dist/serialization/types/OutboundCallRecipient.d.ts +2 -1
- package/dist/serialization/types/OutboundCallRecipient.js +2 -1
- package/dist/serialization/types/OutboundCallRecipientResponseModel.d.ts +2 -1
- package/dist/serialization/types/OutboundCallRecipientResponseModel.js +2 -1
- package/dist/serialization/types/PendingSubscriptionSwitchResponseModel.d.ts +2 -0
- package/dist/serialization/types/PendingSubscriptionSwitchResponseModel.js +2 -0
- package/dist/serialization/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.d.ts +7 -0
- package/dist/serialization/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.js +39 -0
- package/dist/serialization/types/PhoneNumberDynamicVariableTransferDestination.d.ts +9 -0
- package/dist/serialization/types/PhoneNumberDynamicVariableTransferDestination.js +41 -0
- package/dist/serialization/types/PhoneNumberTransferTransferDestination.d.ts +9 -1
- package/dist/serialization/types/PhoneNumberTransferTransferDestination.js +4 -0
- package/dist/serialization/types/PromptAgentApiModelInputToolsItem.d.ts +5 -1
- package/dist/serialization/types/PromptAgentApiModelInputToolsItem.js +2 -0
- package/dist/serialization/types/PromptAgentApiModelOutputToolsItem.d.ts +5 -1
- package/dist/serialization/types/PromptAgentApiModelOutputToolsItem.js +2 -0
- package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.d.ts +5 -1
- package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.js +2 -0
- package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.d.ts +5 -1
- package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.js +2 -0
- package/dist/serialization/types/QueryOverride.d.ts +11 -0
- package/dist/serialization/types/QueryOverride.js +43 -0
- package/dist/serialization/types/ReferencedToolCommonModelType.d.ts +1 -1
- package/dist/serialization/types/ReferencedToolCommonModelType.js +1 -1
- package/dist/serialization/types/SipUriDynamicVariableTransferDestination.d.ts +9 -0
- package/dist/serialization/types/SipUriDynamicVariableTransferDestination.js +41 -0
- package/dist/serialization/types/ToolRequestModelToolConfig.d.ts +5 -1
- package/dist/serialization/types/ToolRequestModelToolConfig.js +2 -0
- package/dist/serialization/types/ToolResponseModelToolConfig.d.ts +5 -1
- package/dist/serialization/types/ToolResponseModelToolConfig.js +2 -0
- package/dist/serialization/types/ToolType.d.ts +1 -1
- package/dist/serialization/types/ToolType.js +9 -1
- package/dist/serialization/types/VoiceSegment.d.ts +1 -0
- package/dist/serialization/types/VoiceSegment.js +1 -0
- package/dist/serialization/types/WebhookToolConfigInput.d.ts +2 -2
- package/dist/serialization/types/WebhookToolConfigInput.js +2 -2
- package/dist/serialization/types/WebhookToolConfigOutput.d.ts +2 -2
- package/dist/serialization/types/WebhookToolConfigOutput.js +2 -2
- package/dist/serialization/types/WorkflowPhoneNumberNodeModelInputTransferDestination.d.ts +9 -1
- package/dist/serialization/types/WorkflowPhoneNumberNodeModelInputTransferDestination.js +4 -0
- package/dist/serialization/types/WorkflowPhoneNumberNodeModelOutputTransferDestination.d.ts +9 -1
- package/dist/serialization/types/WorkflowPhoneNumberNodeModelOutputTransferDestination.js +4 -0
- package/dist/serialization/types/WorkspaceResourceType.d.ts +1 -1
- package/dist/serialization/types/WorkspaceResourceType.js +2 -0
- package/dist/serialization/types/index.d.ts +17 -0
- package/dist/serialization/types/index.js +17 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +303 -10
- package/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +2 -1
- package/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.js +2 -1
- package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +4 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +4 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/index.js +3 -1
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.d.ts +19 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.js +51 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.d.ts +18 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.js +50 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/index.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/index.js +7 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.js +17 -0
- package/serialization/resources/music/types/MusicSeparateStemsRequestOutputFormat.d.ts +7 -0
- package/serialization/resources/music/types/MusicSeparateStemsRequestOutputFormat.js +61 -0
- package/serialization/resources/music/types/MusicSeparateStemsRequestStemVariationId.d.ts +7 -0
- package/serialization/resources/music/types/MusicSeparateStemsRequestStemVariationId.js +39 -0
- package/serialization/resources/music/types/index.d.ts +2 -0
- package/serialization/resources/music/types/index.js +2 -0
- package/serialization/types/ApiIntegrationWebhookOverridesInput.d.ts +15 -0
- package/serialization/types/ApiIntegrationWebhookOverridesInput.js +50 -0
- package/serialization/types/ApiIntegrationWebhookOverridesInputRequestHeadersValue.d.ts +8 -0
- package/serialization/types/ApiIntegrationWebhookOverridesInputRequestHeadersValue.js +40 -0
- package/serialization/types/ApiIntegrationWebhookOverridesOutput.d.ts +15 -0
- package/serialization/types/ApiIntegrationWebhookOverridesOutput.js +50 -0
- package/serialization/types/ApiIntegrationWebhookOverridesOutputRequestHeadersValue.d.ts +8 -0
- package/serialization/types/ApiIntegrationWebhookOverridesOutputRequestHeadersValue.js +40 -0
- package/serialization/types/ApiIntegrationWebhookToolConfigInput.d.ts +28 -0
- package/serialization/types/ApiIntegrationWebhookToolConfigInput.js +60 -0
- package/serialization/types/ApiIntegrationWebhookToolConfigOutput.d.ts +28 -0
- package/serialization/types/ApiIntegrationWebhookToolConfigOutput.js +60 -0
- package/serialization/types/BatchCallDetailedResponse.d.ts +2 -1
- package/serialization/types/BatchCallDetailedResponse.js +2 -1
- package/serialization/types/BatchCallResponse.d.ts +2 -1
- package/serialization/types/BatchCallResponse.js +2 -1
- package/serialization/types/InvoiceResponse.d.ts +2 -0
- package/serialization/types/InvoiceResponse.js +2 -0
- package/serialization/types/LiteralJsonSchemaProperty.d.ts +1 -0
- package/serialization/types/LiteralJsonSchemaProperty.js +1 -0
- package/serialization/types/LiteralOverride.d.ts +12 -0
- package/serialization/types/LiteralOverride.js +44 -0
- package/serialization/types/LiteralOverrideConstantValue.d.ts +7 -0
- package/serialization/types/LiteralOverrideConstantValue.js +44 -0
- package/serialization/types/McpServerConfigInput.d.ts +6 -0
- package/serialization/types/McpServerConfigInput.js +6 -0
- package/serialization/types/McpServerConfigOutput.d.ts +6 -0
- package/serialization/types/McpServerConfigOutput.js +6 -0
- package/serialization/types/McpToolConfigOverride.d.ts +19 -0
- package/serialization/types/McpToolConfigOverride.js +51 -0
- package/serialization/types/ObjectOverrideInput.d.ts +11 -0
- package/serialization/types/ObjectOverrideInput.js +46 -0
- package/serialization/types/ObjectOverrideInputPropertiesValue.d.ts +8 -0
- package/serialization/types/ObjectOverrideInputPropertiesValue.js +44 -0
- package/serialization/types/ObjectOverrideOutput.d.ts +11 -0
- package/serialization/types/ObjectOverrideOutput.js +46 -0
- package/serialization/types/ObjectOverrideOutputPropertiesValue.d.ts +8 -0
- package/serialization/types/ObjectOverrideOutputPropertiesValue.js +44 -0
- package/serialization/types/OutboundCallRecipient.d.ts +2 -1
- package/serialization/types/OutboundCallRecipient.js +2 -1
- package/serialization/types/OutboundCallRecipientResponseModel.d.ts +2 -1
- package/serialization/types/OutboundCallRecipientResponseModel.js +2 -1
- package/serialization/types/PendingSubscriptionSwitchResponseModel.d.ts +2 -0
- package/serialization/types/PendingSubscriptionSwitchResponseModel.js +2 -0
- package/serialization/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.d.ts +7 -0
- package/serialization/types/PendingSubscriptionSwitchResponseModelNextBillingPeriod.js +39 -0
- package/serialization/types/PhoneNumberDynamicVariableTransferDestination.d.ts +9 -0
- package/serialization/types/PhoneNumberDynamicVariableTransferDestination.js +41 -0
- package/serialization/types/PhoneNumberTransferTransferDestination.d.ts +9 -1
- package/serialization/types/PhoneNumberTransferTransferDestination.js +4 -0
- package/serialization/types/PromptAgentApiModelInputToolsItem.d.ts +5 -1
- package/serialization/types/PromptAgentApiModelInputToolsItem.js +2 -0
- package/serialization/types/PromptAgentApiModelOutputToolsItem.d.ts +5 -1
- package/serialization/types/PromptAgentApiModelOutputToolsItem.js +2 -0
- package/serialization/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.d.ts +5 -1
- package/serialization/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.js +2 -0
- package/serialization/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.d.ts +5 -1
- package/serialization/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.js +2 -0
- package/serialization/types/QueryOverride.d.ts +11 -0
- package/serialization/types/QueryOverride.js +43 -0
- package/serialization/types/ReferencedToolCommonModelType.d.ts +1 -1
- package/serialization/types/ReferencedToolCommonModelType.js +1 -1
- package/serialization/types/SipUriDynamicVariableTransferDestination.d.ts +9 -0
- package/serialization/types/SipUriDynamicVariableTransferDestination.js +41 -0
- package/serialization/types/ToolRequestModelToolConfig.d.ts +5 -1
- package/serialization/types/ToolRequestModelToolConfig.js +2 -0
- package/serialization/types/ToolResponseModelToolConfig.d.ts +5 -1
- package/serialization/types/ToolResponseModelToolConfig.js +2 -0
- package/serialization/types/ToolType.d.ts +1 -1
- package/serialization/types/ToolType.js +9 -1
- package/serialization/types/VoiceSegment.d.ts +1 -0
- package/serialization/types/VoiceSegment.js +1 -0
- package/serialization/types/WebhookToolConfigInput.d.ts +2 -2
- package/serialization/types/WebhookToolConfigInput.js +2 -2
- package/serialization/types/WebhookToolConfigOutput.d.ts +2 -2
- package/serialization/types/WebhookToolConfigOutput.js +2 -2
- package/serialization/types/WorkflowPhoneNumberNodeModelInputTransferDestination.d.ts +9 -1
- package/serialization/types/WorkflowPhoneNumberNodeModelInputTransferDestination.js +4 -0
- package/serialization/types/WorkflowPhoneNumberNodeModelOutputTransferDestination.d.ts +9 -1
- package/serialization/types/WorkflowPhoneNumberNodeModelOutputTransferDestination.js +4 -0
- package/serialization/types/WorkspaceResourceType.d.ts +1 -1
- package/serialization/types/WorkspaceResourceType.js +2 -0
- package/serialization/types/index.d.ts +17 -0
- package/serialization/types/index.js +17 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -0,0 +1,60 @@
|
|
|
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.ApiIntegrationWebhookToolConfigOutput = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
const DynamicVariableAssignment_1 = require("./DynamicVariableAssignment");
|
|
40
|
+
const ToolCallSoundType_1 = require("./ToolCallSoundType");
|
|
41
|
+
const ToolCallSoundBehavior_1 = require("./ToolCallSoundBehavior");
|
|
42
|
+
const DynamicVariablesConfig_1 = require("./DynamicVariablesConfig");
|
|
43
|
+
const ToolExecutionMode_1 = require("./ToolExecutionMode");
|
|
44
|
+
const ApiIntegrationWebhookOverridesOutput_1 = require("./ApiIntegrationWebhookOverridesOutput");
|
|
45
|
+
exports.ApiIntegrationWebhookToolConfigOutput = core.serialization.object({
|
|
46
|
+
name: core.serialization.string(),
|
|
47
|
+
description: core.serialization.string(),
|
|
48
|
+
responseTimeoutSecs: core.serialization.property("response_timeout_secs", core.serialization.number().optional()),
|
|
49
|
+
disableInterruptions: core.serialization.property("disable_interruptions", core.serialization.boolean().optional()),
|
|
50
|
+
forcePreToolSpeech: core.serialization.property("force_pre_tool_speech", core.serialization.boolean().optional()),
|
|
51
|
+
assignments: core.serialization.list(DynamicVariableAssignment_1.DynamicVariableAssignment).optional(),
|
|
52
|
+
toolCallSound: core.serialization.property("tool_call_sound", ToolCallSoundType_1.ToolCallSoundType.optional()),
|
|
53
|
+
toolCallSoundBehavior: core.serialization.property("tool_call_sound_behavior", ToolCallSoundBehavior_1.ToolCallSoundBehavior.optional()),
|
|
54
|
+
dynamicVariables: core.serialization.property("dynamic_variables", DynamicVariablesConfig_1.DynamicVariablesConfig.optional()),
|
|
55
|
+
executionMode: core.serialization.property("execution_mode", ToolExecutionMode_1.ToolExecutionMode.optional()),
|
|
56
|
+
toolVersion: core.serialization.property("tool_version", core.serialization.string().optional()),
|
|
57
|
+
apiIntegrationId: core.serialization.property("api_integration_id", core.serialization.string()),
|
|
58
|
+
apiIntegrationConnectionId: core.serialization.property("api_integration_connection_id", core.serialization.string()),
|
|
59
|
+
apiSchemaOverrides: core.serialization.property("api_schema_overrides", ApiIntegrationWebhookOverridesOutput_1.ApiIntegrationWebhookOverridesOutput.optional()),
|
|
60
|
+
});
|
|
@@ -8,8 +8,9 @@ export declare const BatchCallDetailedResponse: core.serialization.ObjectSchema<
|
|
|
8
8
|
export declare namespace BatchCallDetailedResponse {
|
|
9
9
|
interface Raw {
|
|
10
10
|
id: string;
|
|
11
|
-
phone_number_id
|
|
11
|
+
phone_number_id?: string | null;
|
|
12
12
|
phone_provider?: TelephonyProvider.Raw | null;
|
|
13
|
+
whatsapp_business_account_id?: string | null;
|
|
13
14
|
name: string;
|
|
14
15
|
agent_id: string;
|
|
15
16
|
created_at_unix: number;
|
|
@@ -41,8 +41,9 @@ const BatchCallStatus_1 = require("./BatchCallStatus");
|
|
|
41
41
|
const OutboundCallRecipientResponseModel_1 = require("./OutboundCallRecipientResponseModel");
|
|
42
42
|
exports.BatchCallDetailedResponse = core.serialization.object({
|
|
43
43
|
id: core.serialization.string(),
|
|
44
|
-
phoneNumberId: core.serialization.property("phone_number_id", core.serialization.string()),
|
|
44
|
+
phoneNumberId: core.serialization.property("phone_number_id", core.serialization.string().optional()),
|
|
45
45
|
phoneProvider: core.serialization.property("phone_provider", TelephonyProvider_1.TelephonyProvider.optional()),
|
|
46
|
+
whatsappBusinessAccountId: core.serialization.property("whatsapp_business_account_id", core.serialization.string().optional()),
|
|
46
47
|
name: core.serialization.string(),
|
|
47
48
|
agentId: core.serialization.property("agent_id", core.serialization.string()),
|
|
48
49
|
createdAtUnix: core.serialization.property("created_at_unix", core.serialization.number()),
|
|
@@ -7,8 +7,9 @@ export declare const BatchCallResponse: core.serialization.ObjectSchema<serializ
|
|
|
7
7
|
export declare namespace BatchCallResponse {
|
|
8
8
|
interface Raw {
|
|
9
9
|
id: string;
|
|
10
|
-
phone_number_id
|
|
10
|
+
phone_number_id?: string | null;
|
|
11
11
|
phone_provider?: TelephonyProvider.Raw | null;
|
|
12
|
+
whatsapp_business_account_id?: string | null;
|
|
12
13
|
name: string;
|
|
13
14
|
agent_id: string;
|
|
14
15
|
created_at_unix: number;
|
|
@@ -40,8 +40,9 @@ const TelephonyProvider_1 = require("./TelephonyProvider");
|
|
|
40
40
|
const BatchCallStatus_1 = require("./BatchCallStatus");
|
|
41
41
|
exports.BatchCallResponse = core.serialization.object({
|
|
42
42
|
id: core.serialization.string(),
|
|
43
|
-
phoneNumberId: core.serialization.property("phone_number_id", core.serialization.string()),
|
|
43
|
+
phoneNumberId: core.serialization.property("phone_number_id", core.serialization.string().optional()),
|
|
44
44
|
phoneProvider: core.serialization.property("phone_provider", TelephonyProvider_1.TelephonyProvider.optional()),
|
|
45
|
+
whatsappBusinessAccountId: core.serialization.property("whatsapp_business_account_id", core.serialization.string().optional()),
|
|
45
46
|
name: core.serialization.string(),
|
|
46
47
|
agentId: core.serialization.property("agent_id", core.serialization.string()),
|
|
47
48
|
createdAtUnix: core.serialization.property("created_at_unix", core.serialization.number()),
|
|
@@ -6,6 +6,8 @@ export declare const InvoiceResponse: core.serialization.ObjectSchema<serializer
|
|
|
6
6
|
export declare namespace InvoiceResponse {
|
|
7
7
|
interface Raw {
|
|
8
8
|
amount_due_cents: number;
|
|
9
|
+
subtotal_cents?: number | null;
|
|
10
|
+
tax_cents?: number | null;
|
|
9
11
|
discount_percent_off?: number | null;
|
|
10
12
|
discount_amount_off?: number | null;
|
|
11
13
|
next_payment_attempt_unix: number;
|
|
@@ -39,6 +39,8 @@ const core = __importStar(require("../../core"));
|
|
|
39
39
|
const InvoiceResponseModelPaymentIntentStatus_1 = require("./InvoiceResponseModelPaymentIntentStatus");
|
|
40
40
|
exports.InvoiceResponse = core.serialization.object({
|
|
41
41
|
amountDueCents: core.serialization.property("amount_due_cents", core.serialization.number()),
|
|
42
|
+
subtotalCents: core.serialization.property("subtotal_cents", core.serialization.number().optional()),
|
|
43
|
+
taxCents: core.serialization.property("tax_cents", core.serialization.number().optional()),
|
|
42
44
|
discountPercentOff: core.serialization.property("discount_percent_off", core.serialization.number().optional()),
|
|
43
45
|
discountAmountOff: core.serialization.property("discount_amount_off", core.serialization.number().optional()),
|
|
44
46
|
nextPaymentAttemptUnix: core.serialization.property("next_payment_attempt_unix", core.serialization.number()),
|
|
@@ -9,6 +9,7 @@ export declare namespace LiteralJsonSchemaProperty {
|
|
|
9
9
|
type: LiteralJsonSchemaPropertyType.Raw;
|
|
10
10
|
description?: string | null;
|
|
11
11
|
enum?: string[] | null;
|
|
12
|
+
is_system_provided?: boolean | null;
|
|
12
13
|
dynamic_variable?: string | null;
|
|
13
14
|
constant_value?: LiteralJsonSchemaPropertyConstantValue.Raw | null;
|
|
14
15
|
}
|
|
@@ -42,6 +42,7 @@ exports.LiteralJsonSchemaProperty = core.serialization.object({
|
|
|
42
42
|
type: LiteralJsonSchemaPropertyType_1.LiteralJsonSchemaPropertyType,
|
|
43
43
|
description: core.serialization.string().optional(),
|
|
44
44
|
enum: core.serialization.list(core.serialization.string()).optional(),
|
|
45
|
+
isSystemProvided: core.serialization.property("is_system_provided", core.serialization.boolean().optional()),
|
|
45
46
|
dynamicVariable: core.serialization.property("dynamic_variable", core.serialization.string().optional()),
|
|
46
47
|
constantValue: core.serialization.property("constant_value", LiteralJsonSchemaPropertyConstantValue_1.LiteralJsonSchemaPropertyConstantValue.optional()),
|
|
47
48
|
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as serializers from "../index";
|
|
2
|
+
import * as ElevenLabs from "../../api/index";
|
|
3
|
+
import * as core from "../../core";
|
|
4
|
+
import { LiteralOverrideConstantValue } from "./LiteralOverrideConstantValue";
|
|
5
|
+
export declare const LiteralOverride: core.serialization.ObjectSchema<serializers.LiteralOverride.Raw, ElevenLabs.LiteralOverride>;
|
|
6
|
+
export declare namespace LiteralOverride {
|
|
7
|
+
interface Raw {
|
|
8
|
+
description?: string | null;
|
|
9
|
+
dynamic_variable?: string | null;
|
|
10
|
+
constant_value?: LiteralOverrideConstantValue.Raw | null;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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.LiteralOverride = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
const LiteralOverrideConstantValue_1 = require("./LiteralOverrideConstantValue");
|
|
40
|
+
exports.LiteralOverride = core.serialization.object({
|
|
41
|
+
description: core.serialization.string().optional(),
|
|
42
|
+
dynamicVariable: core.serialization.property("dynamic_variable", core.serialization.string().optional()),
|
|
43
|
+
constantValue: core.serialization.property("constant_value", LiteralOverrideConstantValue_1.LiteralOverrideConstantValue.optional()),
|
|
44
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as serializers from "../index";
|
|
2
|
+
import * as ElevenLabs from "../../api/index";
|
|
3
|
+
import * as core from "../../core";
|
|
4
|
+
export declare const LiteralOverrideConstantValue: core.serialization.Schema<serializers.LiteralOverrideConstantValue.Raw, ElevenLabs.LiteralOverrideConstantValue>;
|
|
5
|
+
export declare namespace LiteralOverrideConstantValue {
|
|
6
|
+
type Raw = string | number | number | boolean;
|
|
7
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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.LiteralOverrideConstantValue = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.LiteralOverrideConstantValue = core.serialization.undiscriminatedUnion([
|
|
40
|
+
core.serialization.string(),
|
|
41
|
+
core.serialization.number(),
|
|
42
|
+
core.serialization.number(),
|
|
43
|
+
core.serialization.boolean(),
|
|
44
|
+
]);
|
|
@@ -7,7 +7,10 @@ import { McpServerTransport } from "./McpServerTransport";
|
|
|
7
7
|
import { McpServerConfigInputUrl } from "./McpServerConfigInputUrl";
|
|
8
8
|
import { McpServerConfigInputSecretToken } from "./McpServerConfigInputSecretToken";
|
|
9
9
|
import { McpServerConfigInputRequestHeadersValue } from "./McpServerConfigInputRequestHeadersValue";
|
|
10
|
+
import { ToolCallSoundType } from "./ToolCallSoundType";
|
|
11
|
+
import { ToolCallSoundBehavior } from "./ToolCallSoundBehavior";
|
|
10
12
|
import { ToolExecutionMode } from "./ToolExecutionMode";
|
|
13
|
+
import { McpToolConfigOverride } from "./McpToolConfigOverride";
|
|
11
14
|
export declare const McpServerConfigInput: core.serialization.ObjectSchema<serializers.McpServerConfigInput.Raw, ElevenLabs.McpServerConfigInput>;
|
|
12
15
|
export declare namespace McpServerConfigInput {
|
|
13
16
|
interface Raw {
|
|
@@ -21,6 +24,9 @@ export declare namespace McpServerConfigInput {
|
|
|
21
24
|
description?: string | null;
|
|
22
25
|
force_pre_tool_speech?: boolean | null;
|
|
23
26
|
disable_interruptions?: boolean | null;
|
|
27
|
+
tool_call_sound?: ToolCallSoundType.Raw | null;
|
|
28
|
+
tool_call_sound_behavior?: ToolCallSoundBehavior.Raw | null;
|
|
24
29
|
execution_mode?: ToolExecutionMode.Raw | null;
|
|
30
|
+
tool_config_overrides?: McpToolConfigOverride.Raw[] | null;
|
|
25
31
|
}
|
|
26
32
|
}
|
|
@@ -42,7 +42,10 @@ const McpServerTransport_1 = require("./McpServerTransport");
|
|
|
42
42
|
const McpServerConfigInputUrl_1 = require("./McpServerConfigInputUrl");
|
|
43
43
|
const McpServerConfigInputSecretToken_1 = require("./McpServerConfigInputSecretToken");
|
|
44
44
|
const McpServerConfigInputRequestHeadersValue_1 = require("./McpServerConfigInputRequestHeadersValue");
|
|
45
|
+
const ToolCallSoundType_1 = require("./ToolCallSoundType");
|
|
46
|
+
const ToolCallSoundBehavior_1 = require("./ToolCallSoundBehavior");
|
|
45
47
|
const ToolExecutionMode_1 = require("./ToolExecutionMode");
|
|
48
|
+
const McpToolConfigOverride_1 = require("./McpToolConfigOverride");
|
|
46
49
|
exports.McpServerConfigInput = core.serialization.object({
|
|
47
50
|
approvalPolicy: core.serialization.property("approval_policy", McpApprovalPolicy_1.McpApprovalPolicy.optional()),
|
|
48
51
|
toolApprovalHashes: core.serialization.property("tool_approval_hashes", core.serialization.list(McpToolApprovalHash_1.McpToolApprovalHash).optional()),
|
|
@@ -54,5 +57,8 @@ exports.McpServerConfigInput = core.serialization.object({
|
|
|
54
57
|
description: core.serialization.string().optional(),
|
|
55
58
|
forcePreToolSpeech: core.serialization.property("force_pre_tool_speech", core.serialization.boolean().optional()),
|
|
56
59
|
disableInterruptions: core.serialization.property("disable_interruptions", core.serialization.boolean().optional()),
|
|
60
|
+
toolCallSound: core.serialization.property("tool_call_sound", ToolCallSoundType_1.ToolCallSoundType.optional()),
|
|
61
|
+
toolCallSoundBehavior: core.serialization.property("tool_call_sound_behavior", ToolCallSoundBehavior_1.ToolCallSoundBehavior.optional()),
|
|
57
62
|
executionMode: core.serialization.property("execution_mode", ToolExecutionMode_1.ToolExecutionMode.optional()),
|
|
63
|
+
toolConfigOverrides: core.serialization.property("tool_config_overrides", core.serialization.list(McpToolConfigOverride_1.McpToolConfigOverride).optional()),
|
|
58
64
|
});
|
|
@@ -7,7 +7,10 @@ import { McpServerTransport } from "./McpServerTransport";
|
|
|
7
7
|
import { McpServerConfigOutputUrl } from "./McpServerConfigOutputUrl";
|
|
8
8
|
import { McpServerConfigOutputSecretToken } from "./McpServerConfigOutputSecretToken";
|
|
9
9
|
import { McpServerConfigOutputRequestHeadersValue } from "./McpServerConfigOutputRequestHeadersValue";
|
|
10
|
+
import { ToolCallSoundType } from "./ToolCallSoundType";
|
|
11
|
+
import { ToolCallSoundBehavior } from "./ToolCallSoundBehavior";
|
|
10
12
|
import { ToolExecutionMode } from "./ToolExecutionMode";
|
|
13
|
+
import { McpToolConfigOverride } from "./McpToolConfigOverride";
|
|
11
14
|
export declare const McpServerConfigOutput: core.serialization.ObjectSchema<serializers.McpServerConfigOutput.Raw, ElevenLabs.McpServerConfigOutput>;
|
|
12
15
|
export declare namespace McpServerConfigOutput {
|
|
13
16
|
interface Raw {
|
|
@@ -21,6 +24,9 @@ export declare namespace McpServerConfigOutput {
|
|
|
21
24
|
description?: string | null;
|
|
22
25
|
force_pre_tool_speech?: boolean | null;
|
|
23
26
|
disable_interruptions?: boolean | null;
|
|
27
|
+
tool_call_sound?: ToolCallSoundType.Raw | null;
|
|
28
|
+
tool_call_sound_behavior?: ToolCallSoundBehavior.Raw | null;
|
|
24
29
|
execution_mode?: ToolExecutionMode.Raw | null;
|
|
30
|
+
tool_config_overrides?: McpToolConfigOverride.Raw[] | null;
|
|
25
31
|
}
|
|
26
32
|
}
|
|
@@ -42,7 +42,10 @@ const McpServerTransport_1 = require("./McpServerTransport");
|
|
|
42
42
|
const McpServerConfigOutputUrl_1 = require("./McpServerConfigOutputUrl");
|
|
43
43
|
const McpServerConfigOutputSecretToken_1 = require("./McpServerConfigOutputSecretToken");
|
|
44
44
|
const McpServerConfigOutputRequestHeadersValue_1 = require("./McpServerConfigOutputRequestHeadersValue");
|
|
45
|
+
const ToolCallSoundType_1 = require("./ToolCallSoundType");
|
|
46
|
+
const ToolCallSoundBehavior_1 = require("./ToolCallSoundBehavior");
|
|
45
47
|
const ToolExecutionMode_1 = require("./ToolExecutionMode");
|
|
48
|
+
const McpToolConfigOverride_1 = require("./McpToolConfigOverride");
|
|
46
49
|
exports.McpServerConfigOutput = core.serialization.object({
|
|
47
50
|
approvalPolicy: core.serialization.property("approval_policy", McpApprovalPolicy_1.McpApprovalPolicy.optional()),
|
|
48
51
|
toolApprovalHashes: core.serialization.property("tool_approval_hashes", core.serialization.list(McpToolApprovalHash_1.McpToolApprovalHash).optional()),
|
|
@@ -54,5 +57,8 @@ exports.McpServerConfigOutput = core.serialization.object({
|
|
|
54
57
|
description: core.serialization.string().optional(),
|
|
55
58
|
forcePreToolSpeech: core.serialization.property("force_pre_tool_speech", core.serialization.boolean().optional()),
|
|
56
59
|
disableInterruptions: core.serialization.property("disable_interruptions", core.serialization.boolean().optional()),
|
|
60
|
+
toolCallSound: core.serialization.property("tool_call_sound", ToolCallSoundType_1.ToolCallSoundType.optional()),
|
|
61
|
+
toolCallSoundBehavior: core.serialization.property("tool_call_sound_behavior", ToolCallSoundBehavior_1.ToolCallSoundBehavior.optional()),
|
|
57
62
|
executionMode: core.serialization.property("execution_mode", ToolExecutionMode_1.ToolExecutionMode.optional()),
|
|
63
|
+
toolConfigOverrides: core.serialization.property("tool_config_overrides", core.serialization.list(McpToolConfigOverride_1.McpToolConfigOverride).optional()),
|
|
58
64
|
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as serializers from "../index";
|
|
2
|
+
import * as ElevenLabs from "../../api/index";
|
|
3
|
+
import * as core from "../../core";
|
|
4
|
+
import { ToolCallSoundType } from "./ToolCallSoundType";
|
|
5
|
+
import { ToolCallSoundBehavior } from "./ToolCallSoundBehavior";
|
|
6
|
+
import { ToolExecutionMode } from "./ToolExecutionMode";
|
|
7
|
+
import { DynamicVariableAssignment } from "./DynamicVariableAssignment";
|
|
8
|
+
export declare const McpToolConfigOverride: core.serialization.ObjectSchema<serializers.McpToolConfigOverride.Raw, ElevenLabs.McpToolConfigOverride>;
|
|
9
|
+
export declare namespace McpToolConfigOverride {
|
|
10
|
+
interface Raw {
|
|
11
|
+
tool_name: string;
|
|
12
|
+
force_pre_tool_speech?: boolean | null;
|
|
13
|
+
disable_interruptions?: boolean | null;
|
|
14
|
+
tool_call_sound?: ToolCallSoundType.Raw | null;
|
|
15
|
+
tool_call_sound_behavior?: ToolCallSoundBehavior.Raw | null;
|
|
16
|
+
execution_mode?: ToolExecutionMode.Raw | null;
|
|
17
|
+
assignments?: DynamicVariableAssignment.Raw[] | null;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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.McpToolConfigOverride = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
const ToolCallSoundType_1 = require("./ToolCallSoundType");
|
|
40
|
+
const ToolCallSoundBehavior_1 = require("./ToolCallSoundBehavior");
|
|
41
|
+
const ToolExecutionMode_1 = require("./ToolExecutionMode");
|
|
42
|
+
const DynamicVariableAssignment_1 = require("./DynamicVariableAssignment");
|
|
43
|
+
exports.McpToolConfigOverride = core.serialization.object({
|
|
44
|
+
toolName: core.serialization.property("tool_name", core.serialization.string()),
|
|
45
|
+
forcePreToolSpeech: core.serialization.property("force_pre_tool_speech", core.serialization.boolean().optional()),
|
|
46
|
+
disableInterruptions: core.serialization.property("disable_interruptions", core.serialization.boolean().optional()),
|
|
47
|
+
toolCallSound: core.serialization.property("tool_call_sound", ToolCallSoundType_1.ToolCallSoundType.optional()),
|
|
48
|
+
toolCallSoundBehavior: core.serialization.property("tool_call_sound_behavior", ToolCallSoundBehavior_1.ToolCallSoundBehavior.optional()),
|
|
49
|
+
executionMode: core.serialization.property("execution_mode", ToolExecutionMode_1.ToolExecutionMode.optional()),
|
|
50
|
+
assignments: core.serialization.list(DynamicVariableAssignment_1.DynamicVariableAssignment).optional(),
|
|
51
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as serializers from "../index";
|
|
2
|
+
import * as ElevenLabs from "../../api/index";
|
|
3
|
+
import * as core from "../../core";
|
|
4
|
+
export declare const ObjectOverrideInput: core.serialization.ObjectSchema<serializers.ObjectOverrideInput.Raw, ElevenLabs.ObjectOverrideInput>;
|
|
5
|
+
export declare namespace ObjectOverrideInput {
|
|
6
|
+
interface Raw {
|
|
7
|
+
description?: string | null;
|
|
8
|
+
properties?: Record<string, serializers.ObjectOverrideInputPropertiesValue.Raw | null | undefined> | null;
|
|
9
|
+
required?: string[] | null;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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.ObjectOverrideInput = void 0;
|
|
38
|
+
const serializers = __importStar(require("../index"));
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.ObjectOverrideInput = core.serialization.object({
|
|
41
|
+
description: core.serialization.string().optional(),
|
|
42
|
+
properties: core.serialization
|
|
43
|
+
.record(core.serialization.string(), core.serialization.lazy(() => serializers.ObjectOverrideInputPropertiesValue).optional())
|
|
44
|
+
.optional(),
|
|
45
|
+
required: core.serialization.list(core.serialization.string()).optional(),
|
|
46
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as serializers from "../index";
|
|
2
|
+
import * as ElevenLabs from "../../api/index";
|
|
3
|
+
import * as core from "../../core";
|
|
4
|
+
import { LiteralOverride } from "./LiteralOverride";
|
|
5
|
+
export declare const ObjectOverrideInputPropertiesValue: core.serialization.Schema<serializers.ObjectOverrideInputPropertiesValue.Raw, ElevenLabs.ObjectOverrideInputPropertiesValue>;
|
|
6
|
+
export declare namespace ObjectOverrideInputPropertiesValue {
|
|
7
|
+
type Raw = LiteralOverride.Raw | serializers.ObjectOverrideInput.Raw;
|
|
8
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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.ObjectOverrideInputPropertiesValue = void 0;
|
|
38
|
+
const serializers = __importStar(require("../index"));
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
const LiteralOverride_1 = require("./LiteralOverride");
|
|
41
|
+
exports.ObjectOverrideInputPropertiesValue = core.serialization.undiscriminatedUnion([
|
|
42
|
+
LiteralOverride_1.LiteralOverride,
|
|
43
|
+
core.serialization.lazyObject(() => serializers.ObjectOverrideInput),
|
|
44
|
+
]);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as serializers from "../index";
|
|
2
|
+
import * as ElevenLabs from "../../api/index";
|
|
3
|
+
import * as core from "../../core";
|
|
4
|
+
export declare const ObjectOverrideOutput: core.serialization.ObjectSchema<serializers.ObjectOverrideOutput.Raw, ElevenLabs.ObjectOverrideOutput>;
|
|
5
|
+
export declare namespace ObjectOverrideOutput {
|
|
6
|
+
interface Raw {
|
|
7
|
+
description?: string | null;
|
|
8
|
+
properties?: Record<string, serializers.ObjectOverrideOutputPropertiesValue.Raw | null | undefined> | null;
|
|
9
|
+
required?: string[] | null;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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.ObjectOverrideOutput = void 0;
|
|
38
|
+
const serializers = __importStar(require("../index"));
|
|
39
|
+
const core = __importStar(require("../../core"));
|
|
40
|
+
exports.ObjectOverrideOutput = core.serialization.object({
|
|
41
|
+
description: core.serialization.string().optional(),
|
|
42
|
+
properties: core.serialization
|
|
43
|
+
.record(core.serialization.string(), core.serialization.lazy(() => serializers.ObjectOverrideOutputPropertiesValue).optional())
|
|
44
|
+
.optional(),
|
|
45
|
+
required: core.serialization.list(core.serialization.string()).optional(),
|
|
46
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as serializers from "../index";
|
|
2
|
+
import * as ElevenLabs from "../../api/index";
|
|
3
|
+
import * as core from "../../core";
|
|
4
|
+
import { LiteralOverride } from "./LiteralOverride";
|
|
5
|
+
export declare const ObjectOverrideOutputPropertiesValue: core.serialization.Schema<serializers.ObjectOverrideOutputPropertiesValue.Raw, ElevenLabs.ObjectOverrideOutputPropertiesValue>;
|
|
6
|
+
export declare namespace ObjectOverrideOutputPropertiesValue {
|
|
7
|
+
type Raw = LiteralOverride.Raw | serializers.ObjectOverrideOutput.Raw;
|
|
8
|
+
}
|