├── .fernignore ├── .github └── workflows │ └── ci.yml ├── .gitignore ├── .npmignore ├── .prettierrc.yml ├── README.md ├── jest.config.mjs ├── package.json ├── reference.md ├── scripts └── rename-to-esm-files.js ├── src ├── Client.ts ├── api │ ├── errors │ │ ├── BadRequestError.ts │ │ └── index.ts │ ├── index.ts │ ├── resources │ │ ├── analytics │ │ │ ├── client │ │ │ │ ├── Client.ts │ │ │ │ ├── index.ts │ │ │ │ └── requests │ │ │ │ │ ├── AnalyticsQueryDto.ts │ │ │ │ │ └── index.ts │ │ │ └── index.ts │ │ ├── assistants │ │ │ ├── client │ │ │ │ ├── Client.ts │ │ │ │ ├── index.ts │ │ │ │ └── requests │ │ │ │ │ ├── AssistantsListRequest.ts │ │ │ │ │ ├── UpdateAssistantDto.ts │ │ │ │ │ └── index.ts │ │ │ ├── index.ts │ │ │ └── types │ │ │ │ ├── UpdateAssistantDtoBackgroundSound.ts │ │ │ │ ├── UpdateAssistantDtoBackgroundSoundZero.ts │ │ │ │ ├── UpdateAssistantDtoClientMessagesItem.ts │ │ │ │ ├── UpdateAssistantDtoCredentialsItem.ts │ │ │ │ ├── UpdateAssistantDtoFirstMessageMode.ts │ │ │ │ ├── UpdateAssistantDtoHooksItem.ts │ │ │ │ ├── UpdateAssistantDtoModel.ts │ │ │ │ ├── UpdateAssistantDtoServerMessagesItem.ts │ │ │ │ ├── UpdateAssistantDtoTranscriber.ts │ │ │ │ ├── UpdateAssistantDtoVoice.ts │ │ │ │ ├── UpdateAssistantDtoVoicemailDetection.ts │ │ │ │ └── index.ts │ │ ├── calls │ │ │ ├── client │ │ │ │ ├── Client.ts │ │ │ │ ├── index.ts │ │ │ │ └── requests │ │ │ │ │ ├── CallsListRequest.ts │ │ │ │ │ ├── CreateCallDto.ts │ │ │ │ │ ├── UpdateCallDto.ts │ │ │ │ │ └── index.ts │ │ │ ├── index.ts │ │ │ └── types │ │ │ │ ├── CallsCreateResponse.ts │ │ │ │ └── index.ts │ │ ├── chats │ │ │ ├── client │ │ │ │ ├── Client.ts │ │ │ │ ├── index.ts │ │ │ │ └── requests │ │ │ │ │ ├── ChatsListRequest.ts │ │ │ │ │ ├── CreateChatDto.ts │ │ │ │ │ ├── OpenAiResponsesRequest.ts │ │ │ │ │ └── index.ts │ │ │ ├── index.ts │ │ │ └── types │ │ │ │ ├── ChatsCreateResponse.ts │ │ │ │ ├── ChatsCreateResponseResponse.ts │ │ │ │ ├── ChatsListRequestSortOrder.ts │ │ │ │ ├── CreateChatDtoInput.ts │ │ │ │ ├── CreateChatDtoInputItem.ts │ │ │ │ ├── OpenAiResponsesRequestInput.ts │ │ │ │ ├── OpenAiResponsesRequestInputItem.ts │ │ │ │ └── index.ts │ │ ├── files │ │ │ ├── client │ │ │ │ ├── Client.ts │ │ │ │ ├── index.ts │ │ │ │ └── requests │ │ │ │ │ ├── CreateFileDto.ts │ │ │ │ │ ├── UpdateFileDto.ts │ │ │ │ │ └── index.ts │ │ │ └── index.ts │ │ ├── index.ts │ │ ├── knowledgeBases │ │ │ ├── client │ │ │ │ ├── Client.ts │ │ │ │ ├── index.ts │ │ │ │ └── requests │ │ │ │ │ ├── KnowledgeBasesListRequest.ts │ │ │ │ │ └── index.ts │ │ │ ├── index.ts │ │ │ └── types │ │ │ │ ├── KnowledgeBasesCreateRequest.ts │ │ │ │ ├── KnowledgeBasesCreateResponse.ts │ │ │ │ ├── KnowledgeBasesDeleteResponse.ts │ │ │ │ ├── KnowledgeBasesGetResponse.ts │ │ │ │ ├── KnowledgeBasesListResponseItem.ts │ │ │ │ ├── KnowledgeBasesUpdateRequest.ts │ │ │ │ ├── KnowledgeBasesUpdateResponse.ts │ │ │ │ └── index.ts │ │ ├── logs │ │ │ ├── client │ │ │ │ ├── Client.ts │ │ │ │ ├── index.ts │ │ │ │ └── requests │ │ │ │ │ ├── LoggingControllerLogsDeleteQueryRequest.ts │ │ │ │ │ ├── LogsGetRequest.ts │ │ │ │ │ └── index.ts │ │ │ ├── index.ts │ │ │ └── types │ │ │ │ ├── LoggingControllerLogsDeleteQueryRequestType.ts │ │ │ │ ├── LogsGetRequestSortOrder.ts │ │ │ │ ├── LogsGetRequestType.ts │ │ │ │ └── index.ts │ │ ├── phoneNumbers │ │ │ ├── client │ │ │ │ ├── Client.ts │ │ │ │ ├── index.ts │ │ │ │ └── requests │ │ │ │ │ ├── PhoneNumbersListRequest.ts │ │ │ │ │ └── index.ts │ │ │ ├── index.ts │ │ │ └── types │ │ │ │ ├── PhoneNumbersCreateRequest.ts │ │ │ │ ├── PhoneNumbersCreateResponse.ts │ │ │ │ ├── PhoneNumbersDeleteResponse.ts │ │ │ │ ├── PhoneNumbersGetResponse.ts │ │ │ │ ├── PhoneNumbersListResponseItem.ts │ │ │ │ ├── PhoneNumbersUpdateRequest.ts │ │ │ │ ├── PhoneNumbersUpdateResponse.ts │ │ │ │ └── index.ts │ │ ├── sessions │ │ │ ├── client │ │ │ │ ├── Client.ts │ │ │ │ ├── index.ts │ │ │ │ └── requests │ │ │ │ │ ├── CreateSessionDto.ts │ │ │ │ │ ├── SessionsListRequest.ts │ │ │ │ │ ├── UpdateSessionDto.ts │ │ │ │ │ └── index.ts │ │ │ ├── index.ts │ │ │ └── types │ │ │ │ ├── CreateSessionDtoMessagesItem.ts │ │ │ │ ├── CreateSessionDtoStatus.ts │ │ │ │ ├── SessionsListRequestSortOrder.ts │ │ │ │ ├── UpdateSessionDtoMessagesItem.ts │ │ │ │ ├── UpdateSessionDtoStatus.ts │ │ │ │ └── index.ts │ │ ├── squads │ │ │ ├── client │ │ │ │ ├── Client.ts │ │ │ │ ├── index.ts │ │ │ │ └── requests │ │ │ │ │ ├── SquadsListRequest.ts │ │ │ │ │ ├── UpdateSquadDto.ts │ │ │ │ │ └── index.ts │ │ │ └── index.ts │ │ ├── testSuiteRuns │ │ │ ├── client │ │ │ │ ├── Client.ts │ │ │ │ ├── index.ts │ │ │ │ └── requests │ │ │ │ │ ├── CreateTestSuiteRunDto.ts │ │ │ │ │ ├── TestSuiteRunControllerFindAllPaginatedRequest.ts │ │ │ │ │ ├── UpdateTestSuiteRunDto.ts │ │ │ │ │ └── index.ts │ │ │ ├── index.ts │ │ │ └── types │ │ │ │ ├── TestSuiteRunControllerFindAllPaginatedRequestSortOrder.ts │ │ │ │ └── index.ts │ │ ├── testSuiteTests │ │ │ ├── client │ │ │ │ ├── Client.ts │ │ │ │ ├── index.ts │ │ │ │ └── requests │ │ │ │ │ ├── TestSuiteTestControllerFindAllPaginatedRequest.ts │ │ │ │ │ └── index.ts │ │ │ ├── index.ts │ │ │ └── types │ │ │ │ ├── TestSuiteTestControllerCreateRequest.ts │ │ │ │ ├── TestSuiteTestControllerCreateResponse.ts │ │ │ │ ├── TestSuiteTestControllerFindAllPaginatedRequestSortOrder.ts │ │ │ │ ├── TestSuiteTestControllerFindOneResponse.ts │ │ │ │ ├── TestSuiteTestControllerRemoveResponse.ts │ │ │ │ ├── TestSuiteTestControllerUpdateRequest.ts │ │ │ │ ├── TestSuiteTestControllerUpdateResponse.ts │ │ │ │ └── index.ts │ │ ├── testSuites │ │ │ ├── client │ │ │ │ ├── Client.ts │ │ │ │ ├── index.ts │ │ │ │ └── requests │ │ │ │ │ ├── CreateTestSuiteDto.ts │ │ │ │ │ ├── TestSuiteControllerFindAllPaginatedRequest.ts │ │ │ │ │ ├── UpdateTestSuiteDto.ts │ │ │ │ │ └── index.ts │ │ │ ├── index.ts │ │ │ └── types │ │ │ │ ├── TestSuiteControllerFindAllPaginatedRequestSortOrder.ts │ │ │ │ └── index.ts │ │ ├── tools │ │ │ ├── client │ │ │ │ ├── Client.ts │ │ │ │ ├── index.ts │ │ │ │ └── requests │ │ │ │ │ ├── ToolsListRequest.ts │ │ │ │ │ └── index.ts │ │ │ ├── index.ts │ │ │ └── types │ │ │ │ ├── ToolsCreateRequest.ts │ │ │ │ ├── ToolsCreateResponse.ts │ │ │ │ ├── ToolsDeleteResponse.ts │ │ │ │ ├── ToolsGetResponse.ts │ │ │ │ ├── ToolsListResponseItem.ts │ │ │ │ ├── ToolsUpdateRequest.ts │ │ │ │ ├── ToolsUpdateResponse.ts │ │ │ │ └── index.ts │ │ └── workflow │ │ │ ├── client │ │ │ ├── Client.ts │ │ │ ├── index.ts │ │ │ └── requests │ │ │ │ ├── UpdateWorkflowDto.ts │ │ │ │ └── index.ts │ │ │ ├── index.ts │ │ │ └── types │ │ │ ├── UpdateWorkflowDtoModel.ts │ │ │ ├── UpdateWorkflowDtoNodesItem.ts │ │ │ └── index.ts │ └── types │ │ ├── AddVoiceToProviderDto.ts │ │ ├── AiEdgeCondition.ts │ │ ├── Analysis.ts │ │ ├── AnalysisCost.ts │ │ ├── AnalysisCostAnalysisType.ts │ │ ├── AnalysisCostBreakdown.ts │ │ ├── AnalysisPlan.ts │ │ ├── AnalyticsOperation.ts │ │ ├── AnalyticsOperationColumn.ts │ │ ├── AnalyticsOperationOperation.ts │ │ ├── AnalyticsQuery.ts │ │ ├── AnalyticsQueryGroupByItem.ts │ │ ├── AnalyticsQueryResult.ts │ │ ├── AnalyticsQueryTable.ts │ │ ├── AnthropicCredential.ts │ │ ├── AnthropicModel.ts │ │ ├── AnthropicModelModel.ts │ │ ├── AnthropicModelToolsItem.ts │ │ ├── AnthropicThinkingConfig.ts │ │ ├── AnyscaleCredential.ts │ │ ├── AnyscaleModel.ts │ │ ├── AnyscaleModelToolsItem.ts │ │ ├── Artifact.ts │ │ ├── ArtifactMessagesItem.ts │ │ ├── ArtifactPlan.ts │ │ ├── ArtifactPlanRecordingFormat.ts │ │ ├── AssemblyAiCredential.ts │ │ ├── AssemblyAiTranscriber.ts │ │ ├── Assistant.ts │ │ ├── AssistantBackgroundSound.ts │ │ ├── AssistantBackgroundSoundZero.ts │ │ ├── AssistantClientMessagesItem.ts │ │ ├── AssistantCredentialsItem.ts │ │ ├── AssistantCustomEndpointingRule.ts │ │ ├── AssistantFirstMessageMode.ts │ │ ├── AssistantHookAssistantSpeechInterrupted.ts │ │ ├── AssistantHookAssistantSpeechInterruptedDoItem.ts │ │ ├── AssistantHookCallEnding.ts │ │ ├── AssistantHookCallEndingDoItem.ts │ │ ├── AssistantHookCustomerSpeechInterrupted.ts │ │ ├── AssistantHookCustomerSpeechInterruptedDoItem.ts │ │ ├── AssistantHookFilter.ts │ │ ├── AssistantHooksItem.ts │ │ ├── AssistantMessage.ts │ │ ├── AssistantModel.ts │ │ ├── AssistantOverrides.ts │ │ ├── AssistantOverridesBackgroundSound.ts │ │ ├── AssistantOverridesBackgroundSoundZero.ts │ │ ├── AssistantOverridesClientMessagesItem.ts │ │ ├── AssistantOverridesCredentialsItem.ts │ │ ├── AssistantOverridesFirstMessageMode.ts │ │ ├── AssistantOverridesHooksItem.ts │ │ ├── AssistantOverridesModel.ts │ │ ├── AssistantOverridesServerMessagesItem.ts │ │ ├── AssistantOverridesTranscriber.ts │ │ ├── AssistantOverridesVoice.ts │ │ ├── AssistantOverridesVoicemailDetection.ts │ │ ├── AssistantPaginatedResponse.ts │ │ ├── AssistantServerMessagesItem.ts │ │ ├── AssistantTranscriber.ts │ │ ├── AssistantUserEditable.ts │ │ ├── AssistantVersionPaginatedResponse.ts │ │ ├── AssistantVoice.ts │ │ ├── AssistantVoicemailDetection.ts │ │ ├── AutoReloadPlan.ts │ │ ├── AzureBlobStorageBucketPlan.ts │ │ ├── AzureCredential.ts │ │ ├── AzureCredentialRegion.ts │ │ ├── AzureCredentialService.ts │ │ ├── AzureOpenAiCredential.ts │ │ ├── AzureOpenAiCredentialModelsItem.ts │ │ ├── AzureOpenAiCredentialRegion.ts │ │ ├── AzureSpeechTranscriber.ts │ │ ├── AzureSpeechTranscriberLanguage.ts │ │ ├── AzureVoice.ts │ │ ├── AzureVoiceId.ts │ │ ├── AzureVoiceIdEnum.ts │ │ ├── BackoffPlan.ts │ │ ├── BashTool.ts │ │ ├── BashToolMessagesItem.ts │ │ ├── BashToolWithToolCall.ts │ │ ├── BashToolWithToolCallMessagesItem.ts │ │ ├── BotMessage.ts │ │ ├── BothCustomEndpointingRule.ts │ │ ├── BucketPlan.ts │ │ ├── ByoPhoneNumber.ts │ │ ├── ByoPhoneNumberFallbackDestination.ts │ │ ├── ByoPhoneNumberStatus.ts │ │ ├── ByoSipTrunkCredential.ts │ │ ├── Call.ts │ │ ├── CallBatchError.ts │ │ ├── CallBatchResponse.ts │ │ ├── CallCostsItem.ts │ │ ├── CallDestination.ts │ │ ├── CallEndedReason.ts │ │ ├── CallLogPrivileged.ts │ │ ├── CallLogPrivilegedLevel.ts │ │ ├── CallLogsPaginatedResponse.ts │ │ ├── CallMessagesItem.ts │ │ ├── CallPaginatedResponse.ts │ │ ├── CallPhoneCallProvider.ts │ │ ├── CallPhoneCallTransport.ts │ │ ├── CallStatus.ts │ │ ├── CallType.ts │ │ ├── CartesiaCredential.ts │ │ ├── CartesiaExperimentalControls.ts │ │ ├── CartesiaExperimentalControlsEmotion.ts │ │ ├── CartesiaExperimentalControlsSpeed.ts │ │ ├── CartesiaSpeedControl.ts │ │ ├── CartesiaVoice.ts │ │ ├── CartesiaVoiceLanguage.ts │ │ ├── CartesiaVoiceModel.ts │ │ ├── CerebrasCredential.ts │ │ ├── CerebrasModel.ts │ │ ├── CerebrasModelModel.ts │ │ ├── CerebrasModelToolsItem.ts │ │ ├── Chat.ts │ │ ├── ChatInput.ts │ │ ├── ChatInputItem.ts │ │ ├── ChatMessagesItem.ts │ │ ├── ChatOutputItem.ts │ │ ├── ChatPaginatedResponse.ts │ │ ├── ChunkPlan.ts │ │ ├── ClientInboundMessage.ts │ │ ├── ClientInboundMessageAddMessage.ts │ │ ├── ClientInboundMessageControl.ts │ │ ├── ClientInboundMessageControlControl.ts │ │ ├── ClientInboundMessageEndCall.ts │ │ ├── ClientInboundMessageMessage.ts │ │ ├── ClientInboundMessageSay.ts │ │ ├── ClientInboundMessageTransfer.ts │ │ ├── ClientInboundMessageTransferDestination.ts │ │ ├── ClientMessage.ts │ │ ├── ClientMessageConversationUpdate.ts │ │ ├── ClientMessageConversationUpdateMessagesItem.ts │ │ ├── ClientMessageConversationUpdatePhoneNumber.ts │ │ ├── ClientMessageHang.ts │ │ ├── ClientMessageHangPhoneNumber.ts │ │ ├── ClientMessageLanguageChangeDetected.ts │ │ ├── ClientMessageLanguageChangeDetectedPhoneNumber.ts │ │ ├── ClientMessageMessage.ts │ │ ├── ClientMessageMetadata.ts │ │ ├── ClientMessageMetadataPhoneNumber.ts │ │ ├── ClientMessageModelOutput.ts │ │ ├── ClientMessageModelOutputPhoneNumber.ts │ │ ├── ClientMessageSpeechUpdate.ts │ │ ├── ClientMessageSpeechUpdatePhoneNumber.ts │ │ ├── ClientMessageSpeechUpdateRole.ts │ │ ├── ClientMessageSpeechUpdateStatus.ts │ │ ├── ClientMessageToolCalls.ts │ │ ├── ClientMessageToolCallsPhoneNumber.ts │ │ ├── ClientMessageToolCallsResult.ts │ │ ├── ClientMessageToolCallsResultPhoneNumber.ts │ │ ├── ClientMessageToolCallsToolWithToolCallListItem.ts │ │ ├── ClientMessageTranscript.ts │ │ ├── ClientMessageTranscriptPhoneNumber.ts │ │ ├── ClientMessageTranscriptRole.ts │ │ ├── ClientMessageTranscriptTranscriptType.ts │ │ ├── ClientMessageTranscriptType.ts │ │ ├── ClientMessageTransferUpdate.ts │ │ ├── ClientMessageTransferUpdateDestination.ts │ │ ├── ClientMessageTransferUpdatePhoneNumber.ts │ │ ├── ClientMessageUserInterrupted.ts │ │ ├── ClientMessageUserInterruptedPhoneNumber.ts │ │ ├── ClientMessageVoiceInput.ts │ │ ├── ClientMessageVoiceInputPhoneNumber.ts │ │ ├── ClientMessageWorkflowNodeStarted.ts │ │ ├── ClientMessageWorkflowNodeStartedPhoneNumber.ts │ │ ├── CloneVoiceDto.ts │ │ ├── CloudflareCredential.ts │ │ ├── CloudflareR2BucketPlan.ts │ │ ├── CompliancePlan.ts │ │ ├── ComputerTool.ts │ │ ├── ComputerToolMessagesItem.ts │ │ ├── ComputerToolWithToolCall.ts │ │ ├── ComputerToolWithToolCallMessagesItem.ts │ │ ├── Condition.ts │ │ ├── ConditionOperator.ts │ │ ├── ConversationNode.ts │ │ ├── ConversationNodeModel.ts │ │ ├── ConversationNodeTranscriber.ts │ │ ├── ConversationNodeVoice.ts │ │ ├── CostBreakdown.ts │ │ ├── CreateAnthropicCredentialDto.ts │ │ ├── CreateAnyscaleCredentialDto.ts │ │ ├── CreateApiRequestToolDto.ts │ │ ├── CreateApiRequestToolDtoMessagesItem.ts │ │ ├── CreateApiRequestToolDtoMethod.ts │ │ ├── CreateAssemblyAiCredentialDto.ts │ │ ├── CreateAssistantDto.ts │ │ ├── CreateAssistantDtoBackgroundSound.ts │ │ ├── CreateAssistantDtoBackgroundSoundZero.ts │ │ ├── CreateAssistantDtoClientMessagesItem.ts │ │ ├── CreateAssistantDtoCredentialsItem.ts │ │ ├── CreateAssistantDtoFirstMessageMode.ts │ │ ├── CreateAssistantDtoHooksItem.ts │ │ ├── CreateAssistantDtoModel.ts │ │ ├── CreateAssistantDtoServerMessagesItem.ts │ │ ├── CreateAssistantDtoTranscriber.ts │ │ ├── CreateAssistantDtoVoice.ts │ │ ├── CreateAssistantDtoVoicemailDetection.ts │ │ ├── CreateAzureCredentialDto.ts │ │ ├── CreateAzureCredentialDtoRegion.ts │ │ ├── CreateAzureCredentialDtoService.ts │ │ ├── CreateAzureOpenAiCredentialDto.ts │ │ ├── CreateAzureOpenAiCredentialDtoModelsItem.ts │ │ ├── CreateAzureOpenAiCredentialDtoRegion.ts │ │ ├── CreateBashToolDto.ts │ │ ├── CreateBashToolDtoMessagesItem.ts │ │ ├── CreateByoPhoneNumberDto.ts │ │ ├── CreateByoPhoneNumberDtoFallbackDestination.ts │ │ ├── CreateByoSipTrunkCredentialDto.ts │ │ ├── CreateCartesiaCredentialDto.ts │ │ ├── CreateCerebrasCredentialDto.ts │ │ ├── CreateChatStreamResponse.ts │ │ ├── CreateCloudflareCredentialDto.ts │ │ ├── CreateComputerToolDto.ts │ │ ├── CreateComputerToolDtoMessagesItem.ts │ │ ├── CreateCustomKnowledgeBaseDto.ts │ │ ├── CreateCustomLlmCredentialDto.ts │ │ ├── CreateCustomerDto.ts │ │ ├── CreateDeepInfraCredentialDto.ts │ │ ├── CreateDeepSeekCredentialDto.ts │ │ ├── CreateDeepgramCredentialDto.ts │ │ ├── CreateDtmfToolDto.ts │ │ ├── CreateDtmfToolDtoMessagesItem.ts │ │ ├── CreateElevenLabsCredentialDto.ts │ │ ├── CreateEndCallToolDto.ts │ │ ├── CreateEndCallToolDtoMessagesItem.ts │ │ ├── CreateFunctionToolDto.ts │ │ ├── CreateFunctionToolDtoMessagesItem.ts │ │ ├── CreateGcpCredentialDto.ts │ │ ├── CreateGhlToolDto.ts │ │ ├── CreateGhlToolDtoMessagesItem.ts │ │ ├── CreateGladiaCredentialDto.ts │ │ ├── CreateGoHighLevelCalendarAvailabilityToolDto.ts │ │ ├── CreateGoHighLevelCalendarAvailabilityToolDtoMessagesItem.ts │ │ ├── CreateGoHighLevelCalendarEventCreateToolDto.ts │ │ ├── CreateGoHighLevelCalendarEventCreateToolDtoMessagesItem.ts │ │ ├── CreateGoHighLevelContactCreateToolDto.ts │ │ ├── CreateGoHighLevelContactCreateToolDtoMessagesItem.ts │ │ ├── CreateGoHighLevelContactGetToolDto.ts │ │ ├── CreateGoHighLevelContactGetToolDtoMessagesItem.ts │ │ ├── CreateGoHighLevelCredentialDto.ts │ │ ├── CreateGoHighLevelMcpCredentialDto.ts │ │ ├── CreateGoogleCalendarCheckAvailabilityToolDto.ts │ │ ├── CreateGoogleCalendarCheckAvailabilityToolDtoMessagesItem.ts │ │ ├── CreateGoogleCalendarCreateEventToolDto.ts │ │ ├── CreateGoogleCalendarCreateEventToolDtoMessagesItem.ts │ │ ├── CreateGoogleCalendarOAuth2AuthorizationCredentialDto.ts │ │ ├── CreateGoogleCalendarOAuth2ClientCredentialDto.ts │ │ ├── CreateGoogleCredentialDto.ts │ │ ├── CreateGoogleSheetsOAuth2AuthorizationCredentialDto.ts │ │ ├── CreateGoogleSheetsRowAppendToolDto.ts │ │ ├── CreateGoogleSheetsRowAppendToolDtoMessagesItem.ts │ │ ├── CreateGroqCredentialDto.ts │ │ ├── CreateHumeCredentialDto.ts │ │ ├── CreateInflectionAiCredentialDto.ts │ │ ├── CreateLangfuseCredentialDto.ts │ │ ├── CreateLmntCredentialDto.ts │ │ ├── CreateMakeCredentialDto.ts │ │ ├── CreateMakeToolDto.ts │ │ ├── CreateMakeToolDtoMessagesItem.ts │ │ ├── CreateMcpToolDto.ts │ │ ├── CreateMcpToolDtoMessagesItem.ts │ │ ├── CreateMistralCredentialDto.ts │ │ ├── CreateNeuphonicCredentialDto.ts │ │ ├── CreateOpenAiCredentialDto.ts │ │ ├── CreateOpenRouterCredentialDto.ts │ │ ├── CreateOrgDto.ts │ │ ├── CreateOrgDtoChannel.ts │ │ ├── CreateOutboundCallDto.ts │ │ ├── CreateOutputToolDto.ts │ │ ├── CreateOutputToolDtoMessagesItem.ts │ │ ├── CreatePerplexityAiCredentialDto.ts │ │ ├── CreatePlayHtCredentialDto.ts │ │ ├── CreateQueryToolDto.ts │ │ ├── CreateQueryToolDtoMessagesItem.ts │ │ ├── CreateRimeAiCredentialDto.ts │ │ ├── CreateRunpodCredentialDto.ts │ │ ├── CreateS3CredentialDto.ts │ │ ├── CreateSesameVoiceDto.ts │ │ ├── CreateSlackOAuth2AuthorizationCredentialDto.ts │ │ ├── CreateSlackSendMessageToolDto.ts │ │ ├── CreateSlackSendMessageToolDtoMessagesItem.ts │ │ ├── CreateSmallestAiCredentialDto.ts │ │ ├── CreateSmsToolDto.ts │ │ ├── CreateSmsToolDtoMessagesItem.ts │ │ ├── CreateSpeechmaticsCredentialDto.ts │ │ ├── CreateSquadDto.ts │ │ ├── CreateSupabaseCredentialDto.ts │ │ ├── CreateTavusCredentialDto.ts │ │ ├── CreateTelnyxPhoneNumberDto.ts │ │ ├── CreateTelnyxPhoneNumberDtoFallbackDestination.ts │ │ ├── CreateTestSuiteTestChatDto.ts │ │ ├── CreateTestSuiteTestVoiceDto.ts │ │ ├── CreateTextEditorToolDto.ts │ │ ├── CreateTextEditorToolDtoMessagesItem.ts │ │ ├── CreateTogetherAiCredentialDto.ts │ │ ├── CreateTokenDto.ts │ │ ├── CreateTokenDtoTag.ts │ │ ├── CreateToolTemplateDto.ts │ │ ├── CreateToolTemplateDtoDetails.ts │ │ ├── CreateToolTemplateDtoProvider.ts │ │ ├── CreateToolTemplateDtoProviderDetails.ts │ │ ├── CreateToolTemplateDtoVisibility.ts │ │ ├── CreateTransferCallToolDto.ts │ │ ├── CreateTransferCallToolDtoDestinationsItem.ts │ │ ├── CreateTransferCallToolDtoMessagesItem.ts │ │ ├── CreateTrieveCredentialDto.ts │ │ ├── CreateTrieveKnowledgeBaseDto.ts │ │ ├── CreateTwilioCredentialDto.ts │ │ ├── CreateTwilioPhoneNumberDto.ts │ │ ├── CreateTwilioPhoneNumberDtoFallbackDestination.ts │ │ ├── CreateVapiPhoneNumberDto.ts │ │ ├── CreateVapiPhoneNumberDtoFallbackDestination.ts │ │ ├── CreateVoicemailToolDto.ts │ │ ├── CreateVoicemailToolDtoMessagesItem.ts │ │ ├── CreateVonageCredentialDto.ts │ │ ├── CreateVonagePhoneNumberDto.ts │ │ ├── CreateVonagePhoneNumberDtoFallbackDestination.ts │ │ ├── CreateWebCallDto.ts │ │ ├── CreateWebhookCredentialDto.ts │ │ ├── CreateWorkflowDto.ts │ │ ├── CreateWorkflowDtoModel.ts │ │ ├── CreateWorkflowDtoNodesItem.ts │ │ ├── CreateXAiCredentialDto.ts │ │ ├── CredentialActionRequest.ts │ │ ├── CredentialEndUser.ts │ │ ├── CredentialSessionDto.ts │ │ ├── CredentialSessionDtoProvider.ts │ │ ├── CredentialSessionError.ts │ │ ├── CredentialSessionResponse.ts │ │ ├── CredentialWebhookDto.ts │ │ ├── CredentialWebhookDtoAuthMode.ts │ │ ├── CredentialWebhookDtoOperation.ts │ │ ├── CredentialWebhookDtoType.ts │ │ ├── CustomKnowledgeBase.ts │ │ ├── CustomLlmCredential.ts │ │ ├── CustomLlmModel.ts │ │ ├── CustomLlmModelMetadataSendMode.ts │ │ ├── CustomLlmModelToolsItem.ts │ │ ├── CustomMessage.ts │ │ ├── CustomTranscriber.ts │ │ ├── CustomVoice.ts │ │ ├── CustomerCustomEndpointingRule.ts │ │ ├── DeepInfraCredential.ts │ │ ├── DeepInfraModel.ts │ │ ├── DeepInfraModelToolsItem.ts │ │ ├── DeepSeekCredential.ts │ │ ├── DeepSeekModel.ts │ │ ├── DeepSeekModelModel.ts │ │ ├── DeepSeekModelToolsItem.ts │ │ ├── DeepgramCredential.ts │ │ ├── DeepgramTranscriber.ts │ │ ├── DeepgramTranscriberLanguage.ts │ │ ├── DeepgramTranscriberModel.ts │ │ ├── DeepgramVoice.ts │ │ ├── DeepgramVoiceId.ts │ │ ├── DeepgramVoiceModel.ts │ │ ├── DeveloperMessage.ts │ │ ├── DtmfTool.ts │ │ ├── DtmfToolMessagesItem.ts │ │ ├── Edge.ts │ │ ├── EdgeCondition.ts │ │ ├── ElevenLabsCredential.ts │ │ ├── ElevenLabsTranscriber.ts │ │ ├── ElevenLabsTranscriberLanguage.ts │ │ ├── ElevenLabsVoice.ts │ │ ├── ElevenLabsVoiceId.ts │ │ ├── ElevenLabsVoiceIdEnum.ts │ │ ├── ElevenLabsVoiceModel.ts │ │ ├── EndCallTool.ts │ │ ├── EndCallToolMessagesItem.ts │ │ ├── Error_.ts │ │ ├── ExactReplacement.ts │ │ ├── FailedEdgeCondition.ts │ │ ├── FallbackAssemblyAiTranscriber.ts │ │ ├── FallbackAzureSpeechTranscriber.ts │ │ ├── FallbackAzureSpeechTranscriberLanguage.ts │ │ ├── FallbackAzureVoice.ts │ │ ├── FallbackAzureVoiceId.ts │ │ ├── FallbackAzureVoiceVoiceId.ts │ │ ├── FallbackCartesiaVoice.ts │ │ ├── FallbackCartesiaVoiceLanguage.ts │ │ ├── FallbackCartesiaVoiceModel.ts │ │ ├── FallbackCustomTranscriber.ts │ │ ├── FallbackCustomVoice.ts │ │ ├── FallbackDeepgramTranscriber.ts │ │ ├── FallbackDeepgramTranscriberLanguage.ts │ │ ├── FallbackDeepgramTranscriberModel.ts │ │ ├── FallbackDeepgramVoice.ts │ │ ├── FallbackDeepgramVoiceId.ts │ │ ├── FallbackDeepgramVoiceModel.ts │ │ ├── FallbackElevenLabsTranscriber.ts │ │ ├── FallbackElevenLabsTranscriberLanguage.ts │ │ ├── FallbackElevenLabsVoice.ts │ │ ├── FallbackElevenLabsVoiceId.ts │ │ ├── FallbackElevenLabsVoiceIdEnum.ts │ │ ├── FallbackElevenLabsVoiceModel.ts │ │ ├── FallbackGladiaTranscriber.ts │ │ ├── FallbackGladiaTranscriberLanguage.ts │ │ ├── FallbackGladiaTranscriberLanguageBehaviour.ts │ │ ├── FallbackGladiaTranscriberModel.ts │ │ ├── FallbackGoogleTranscriber.ts │ │ ├── FallbackGoogleTranscriberLanguage.ts │ │ ├── FallbackGoogleTranscriberModel.ts │ │ ├── FallbackHumeVoice.ts │ │ ├── FallbackLmntVoice.ts │ │ ├── FallbackLmntVoiceId.ts │ │ ├── FallbackLmntVoiceIdEnum.ts │ │ ├── FallbackNeetsVoice.ts │ │ ├── FallbackNeuphonicVoice.ts │ │ ├── FallbackNeuphonicVoiceModel.ts │ │ ├── FallbackOpenAiTranscriber.ts │ │ ├── FallbackOpenAiTranscriberLanguage.ts │ │ ├── FallbackOpenAiTranscriberModel.ts │ │ ├── FallbackOpenAiVoice.ts │ │ ├── FallbackOpenAiVoiceId.ts │ │ ├── FallbackOpenAiVoiceIdEnum.ts │ │ ├── FallbackOpenAiVoiceModel.ts │ │ ├── FallbackPlan.ts │ │ ├── FallbackPlanVoicesItem.ts │ │ ├── FallbackPlayHtVoice.ts │ │ ├── FallbackPlayHtVoiceEmotion.ts │ │ ├── FallbackPlayHtVoiceId.ts │ │ ├── FallbackPlayHtVoiceIdEnum.ts │ │ ├── FallbackPlayHtVoiceLanguage.ts │ │ ├── FallbackPlayHtVoiceModel.ts │ │ ├── FallbackRimeAiVoice.ts │ │ ├── FallbackRimeAiVoiceId.ts │ │ ├── FallbackRimeAiVoiceIdEnum.ts │ │ ├── FallbackRimeAiVoiceModel.ts │ │ ├── FallbackSesameVoice.ts │ │ ├── FallbackSmallestAiVoice.ts │ │ ├── FallbackSmallestAiVoiceId.ts │ │ ├── FallbackSmallestAiVoiceIdEnum.ts │ │ ├── FallbackSpeechmaticsTranscriber.ts │ │ ├── FallbackSpeechmaticsTranscriberLanguage.ts │ │ ├── FallbackTalkscriberTranscriber.ts │ │ ├── FallbackTalkscriberTranscriberLanguage.ts │ │ ├── FallbackTavusVoice.ts │ │ ├── FallbackTavusVoiceVoiceId.ts │ │ ├── FallbackTranscriberPlan.ts │ │ ├── FallbackTranscriberPlanTranscribersItem.ts │ │ ├── FallbackVapiVoice.ts │ │ ├── FallbackVapiVoiceLanguage.ts │ │ ├── FallbackVapiVoiceVoiceId.ts │ │ ├── FileStatus.ts │ │ ├── File_.ts │ │ ├── FormatPlan.ts │ │ ├── FormatPlanFormattersEnabledItem.ts │ │ ├── FormatPlanReplacementsItem.ts │ │ ├── FunctionCall.ts │ │ ├── FunctionCallAssistantHookAction.ts │ │ ├── FunctionCallAssistantHookActionMessagesItem.ts │ │ ├── FunctionTool.ts │ │ ├── FunctionToolMessagesItem.ts │ │ ├── FunctionToolProviderDetails.ts │ │ ├── FunctionToolWithToolCall.ts │ │ ├── FunctionToolWithToolCallMessagesItem.ts │ │ ├── GcpCredential.ts │ │ ├── GcpKey.ts │ │ ├── GeminiMultimodalLivePrebuiltVoiceConfig.ts │ │ ├── GeminiMultimodalLivePrebuiltVoiceConfigVoiceName.ts │ │ ├── GeminiMultimodalLiveSpeechConfig.ts │ │ ├── GeminiMultimodalLiveVoiceConfig.ts │ │ ├── GetChatPaginatedDto.ts │ │ ├── GetChatPaginatedDtoSortOrder.ts │ │ ├── GetSessionPaginatedDto.ts │ │ ├── GetSessionPaginatedDtoSortOrder.ts │ │ ├── GhlTool.ts │ │ ├── GhlToolMessagesItem.ts │ │ ├── GhlToolMetadata.ts │ │ ├── GhlToolProviderDetails.ts │ │ ├── GhlToolWithToolCall.ts │ │ ├── GhlToolWithToolCallMessagesItem.ts │ │ ├── GladiaCredential.ts │ │ ├── GladiaTranscriber.ts │ │ ├── GladiaTranscriberLanguage.ts │ │ ├── GladiaTranscriberLanguageBehaviour.ts │ │ ├── GladiaTranscriberModel.ts │ │ ├── GlobalNodePlan.ts │ │ ├── GoHighLevelCalendarAvailabilityTool.ts │ │ ├── GoHighLevelCalendarAvailabilityToolMessagesItem.ts │ │ ├── GoHighLevelCalendarAvailabilityToolProviderDetails.ts │ │ ├── GoHighLevelCalendarAvailabilityToolWithToolCall.ts │ │ ├── GoHighLevelCalendarAvailabilityToolWithToolCallMessagesItem.ts │ │ ├── GoHighLevelCalendarEventCreateTool.ts │ │ ├── GoHighLevelCalendarEventCreateToolMessagesItem.ts │ │ ├── GoHighLevelCalendarEventCreateToolProviderDetails.ts │ │ ├── GoHighLevelCalendarEventCreateToolWithToolCall.ts │ │ ├── GoHighLevelCalendarEventCreateToolWithToolCallMessagesItem.ts │ │ ├── GoHighLevelContactCreateTool.ts │ │ ├── GoHighLevelContactCreateToolMessagesItem.ts │ │ ├── GoHighLevelContactCreateToolProviderDetails.ts │ │ ├── GoHighLevelContactCreateToolWithToolCall.ts │ │ ├── GoHighLevelContactCreateToolWithToolCallMessagesItem.ts │ │ ├── GoHighLevelContactGetTool.ts │ │ ├── GoHighLevelContactGetToolMessagesItem.ts │ │ ├── GoHighLevelContactGetToolProviderDetails.ts │ │ ├── GoHighLevelContactGetToolWithToolCall.ts │ │ ├── GoHighLevelContactGetToolWithToolCallMessagesItem.ts │ │ ├── GoHighLevelCredential.ts │ │ ├── GoHighLevelMcpCredential.ts │ │ ├── GoogleCalendarCheckAvailabilityTool.ts │ │ ├── GoogleCalendarCheckAvailabilityToolMessagesItem.ts │ │ ├── GoogleCalendarCreateEventTool.ts │ │ ├── GoogleCalendarCreateEventToolMessagesItem.ts │ │ ├── GoogleCalendarCreateEventToolProviderDetails.ts │ │ ├── GoogleCalendarCreateEventToolWithToolCall.ts │ │ ├── GoogleCalendarCreateEventToolWithToolCallMessagesItem.ts │ │ ├── GoogleCalendarOAuth2AuthorizationCredential.ts │ │ ├── GoogleCalendarOAuth2ClientCredential.ts │ │ ├── GoogleCredential.ts │ │ ├── GoogleModel.ts │ │ ├── GoogleModelModel.ts │ │ ├── GoogleModelToolsItem.ts │ │ ├── GoogleRealtimeConfig.ts │ │ ├── GoogleSheetsOAuth2AuthorizationCredential.ts │ │ ├── GoogleSheetsRowAppendTool.ts │ │ ├── GoogleSheetsRowAppendToolMessagesItem.ts │ │ ├── GoogleSheetsRowAppendToolProviderDetails.ts │ │ ├── GoogleSheetsRowAppendToolWithToolCall.ts │ │ ├── GoogleSheetsRowAppendToolWithToolCallMessagesItem.ts │ │ ├── GoogleTranscriber.ts │ │ ├── GoogleTranscriberLanguage.ts │ │ ├── GoogleTranscriberModel.ts │ │ ├── GoogleVoicemailDetectionPlan.ts │ │ ├── GroqCredential.ts │ │ ├── GroqModel.ts │ │ ├── GroqModelModel.ts │ │ ├── GroqModelToolsItem.ts │ │ ├── HangupNode.ts │ │ ├── HumeCredential.ts │ │ ├── HumeVoice.ts │ │ ├── ImportTwilioPhoneNumberDto.ts │ │ ├── ImportTwilioPhoneNumberDtoFallbackDestination.ts │ │ ├── ImportVonagePhoneNumberDto.ts │ │ ├── ImportVonagePhoneNumberDtoFallbackDestination.ts │ │ ├── InflectionAiCredential.ts │ │ ├── InflectionAiModel.ts │ │ ├── InflectionAiModelToolsItem.ts │ │ ├── InviteUserDto.ts │ │ ├── InviteUserDtoRole.ts │ │ ├── InvoicePlan.ts │ │ ├── JsonSchema.ts │ │ ├── JsonSchemaType.ts │ │ ├── JwtResponse.ts │ │ ├── KeypadInputPlan.ts │ │ ├── KeypadInputPlanDelimiters.ts │ │ ├── KnowledgeBase.ts │ │ ├── KnowledgeBaseCost.ts │ │ ├── KnowledgeBaseModel.ts │ │ ├── KnowledgeBaseResponseDocument.ts │ │ ├── LangfuseCredential.ts │ │ ├── LangfuseObservabilityPlan.ts │ │ ├── LivekitSmartEndpointingPlan.ts │ │ ├── LivekitSmartEndpointingPlanProvider.ts │ │ ├── LmntCredential.ts │ │ ├── LmntVoice.ts │ │ ├── LmntVoiceId.ts │ │ ├── LmntVoiceIdEnum.ts │ │ ├── Log.ts │ │ ├── LogRequestHttpMethod.ts │ │ ├── LogResource.ts │ │ ├── LogType.ts │ │ ├── LogicEdgeCondition.ts │ │ ├── LogsPaginatedResponse.ts │ │ ├── MakeCredential.ts │ │ ├── MakeTool.ts │ │ ├── MakeToolMessagesItem.ts │ │ ├── MakeToolMetadata.ts │ │ ├── MakeToolProviderDetails.ts │ │ ├── MakeToolWithToolCall.ts │ │ ├── MakeToolWithToolCallMessagesItem.ts │ │ ├── McpTool.ts │ │ ├── McpToolMessagesItem.ts │ │ ├── MessagePlan.ts │ │ ├── Metrics.ts │ │ ├── MistralCredential.ts │ │ ├── ModelCost.ts │ │ ├── Monitor.ts │ │ ├── MonitorPlan.ts │ │ ├── Mono.ts │ │ ├── NeetsVoice.ts │ │ ├── NeuphonicCredential.ts │ │ ├── NeuphonicVoice.ts │ │ ├── NeuphonicVoiceModel.ts │ │ ├── OAuth2AuthenticationPlan.ts │ │ ├── OAuth2AuthenticationPlanType.ts │ │ ├── Oauth2AuthenticationSession.ts │ │ ├── OpenAiCredential.ts │ │ ├── OpenAiFunction.ts │ │ ├── OpenAiFunctionParameters.ts │ │ ├── OpenAiMessage.ts │ │ ├── OpenAiMessageRole.ts │ │ ├── OpenAiModel.ts │ │ ├── OpenAiModelFallbackModelsItem.ts │ │ ├── OpenAiModelModel.ts │ │ ├── OpenAiModelToolsItem.ts │ │ ├── OpenAiTranscriber.ts │ │ ├── OpenAiTranscriberLanguage.ts │ │ ├── OpenAiTranscriberModel.ts │ │ ├── OpenAiVoice.ts │ │ ├── OpenAiVoiceId.ts │ │ ├── OpenAiVoiceIdEnum.ts │ │ ├── OpenAiVoiceModel.ts │ │ ├── OpenAiVoicemailDetectionPlan.ts │ │ ├── OpenRouterCredential.ts │ │ ├── OpenRouterModel.ts │ │ ├── OpenRouterModelToolsItem.ts │ │ ├── Org.ts │ │ ├── OrgChannel.ts │ │ ├── OrgPlan.ts │ │ ├── OutputTool.ts │ │ ├── OutputToolMessagesItem.ts │ │ ├── PaginationMeta.ts │ │ ├── PerplexityAiCredential.ts │ │ ├── PerplexityAiModel.ts │ │ ├── PerplexityAiModelToolsItem.ts │ │ ├── PhoneNumberHookCallRinging.ts │ │ ├── PhoneNumberHookCallRingingDoItem.ts │ │ ├── PhoneNumberPaginatedResponse.ts │ │ ├── PhoneNumberPaginatedResponseResultsItem.ts │ │ ├── PlayHtCredential.ts │ │ ├── PlayHtVoice.ts │ │ ├── PlayHtVoiceEmotion.ts │ │ ├── PlayHtVoiceId.ts │ │ ├── PlayHtVoiceIdEnum.ts │ │ ├── PlayHtVoiceLanguage.ts │ │ ├── PlayHtVoiceModel.ts │ │ ├── PunctuationBoundary.ts │ │ ├── QueryTool.ts │ │ ├── QueryToolMessagesItem.ts │ │ ├── Recording.ts │ │ ├── RegexOption.ts │ │ ├── RegexOptionType.ts │ │ ├── RegexReplacement.ts │ │ ├── ResponseCompletedEvent.ts │ │ ├── ResponseErrorEvent.ts │ │ ├── ResponseObject.ts │ │ ├── ResponseObjectStatus.ts │ │ ├── ResponseOutputMessage.ts │ │ ├── ResponseOutputMessageStatus.ts │ │ ├── ResponseOutputText.ts │ │ ├── ResponseTextDeltaEvent.ts │ │ ├── ResponseTextDoneEvent.ts │ │ ├── RimeAiCredential.ts │ │ ├── RimeAiVoice.ts │ │ ├── RimeAiVoiceId.ts │ │ ├── RimeAiVoiceIdEnum.ts │ │ ├── RimeAiVoiceModel.ts │ │ ├── RunpodCredential.ts │ │ ├── S3Credential.ts │ │ ├── SayAssistantHookAction.ts │ │ ├── SayPhoneNumberHookAction.ts │ │ ├── SbcConfiguration.ts │ │ ├── SchedulePlan.ts │ │ ├── Server.ts │ │ ├── ServerMessage.ts │ │ ├── ServerMessageAssistantRequest.ts │ │ ├── ServerMessageAssistantRequestPhoneNumber.ts │ │ ├── ServerMessageConversationUpdate.ts │ │ ├── ServerMessageConversationUpdateMessagesItem.ts │ │ ├── ServerMessageConversationUpdatePhoneNumber.ts │ │ ├── ServerMessageEndOfCallReport.ts │ │ ├── ServerMessageEndOfCallReportCostsItem.ts │ │ ├── ServerMessageEndOfCallReportEndedReason.ts │ │ ├── ServerMessageEndOfCallReportPhoneNumber.ts │ │ ├── ServerMessageHang.ts │ │ ├── ServerMessageHangPhoneNumber.ts │ │ ├── ServerMessageKnowledgeBaseRequest.ts │ │ ├── ServerMessageKnowledgeBaseRequestMessagesItem.ts │ │ ├── ServerMessageKnowledgeBaseRequestPhoneNumber.ts │ │ ├── ServerMessageLanguageChangeDetected.ts │ │ ├── ServerMessageLanguageChangeDetectedPhoneNumber.ts │ │ ├── ServerMessageMessage.ts │ │ ├── ServerMessageModelOutput.ts │ │ ├── ServerMessageModelOutputPhoneNumber.ts │ │ ├── ServerMessagePhoneCallControl.ts │ │ ├── ServerMessagePhoneCallControlDestination.ts │ │ ├── ServerMessagePhoneCallControlPhoneNumber.ts │ │ ├── ServerMessagePhoneCallControlRequest.ts │ │ ├── ServerMessageResponse.ts │ │ ├── ServerMessageResponseAssistantRequest.ts │ │ ├── ServerMessageResponseAssistantRequestDestination.ts │ │ ├── ServerMessageResponseKnowledgeBaseRequest.ts │ │ ├── ServerMessageResponseMessageResponse.ts │ │ ├── ServerMessageResponseToolCalls.ts │ │ ├── ServerMessageResponseTransferDestinationRequest.ts │ │ ├── ServerMessageResponseTransferDestinationRequestDestination.ts │ │ ├── ServerMessageResponseVoiceRequest.ts │ │ ├── ServerMessageSpeechUpdate.ts │ │ ├── ServerMessageSpeechUpdatePhoneNumber.ts │ │ ├── ServerMessageSpeechUpdateRole.ts │ │ ├── ServerMessageSpeechUpdateStatus.ts │ │ ├── ServerMessageStatusUpdate.ts │ │ ├── ServerMessageStatusUpdateDestination.ts │ │ ├── ServerMessageStatusUpdateEndedReason.ts │ │ ├── ServerMessageStatusUpdateMessagesItem.ts │ │ ├── ServerMessageStatusUpdatePhoneNumber.ts │ │ ├── ServerMessageStatusUpdateStatus.ts │ │ ├── ServerMessageToolCalls.ts │ │ ├── ServerMessageToolCallsPhoneNumber.ts │ │ ├── ServerMessageToolCallsToolWithToolCallListItem.ts │ │ ├── ServerMessageTranscript.ts │ │ ├── ServerMessageTranscriptPhoneNumber.ts │ │ ├── ServerMessageTranscriptRole.ts │ │ ├── ServerMessageTranscriptTranscriptType.ts │ │ ├── ServerMessageTranscriptType.ts │ │ ├── ServerMessageTransferDestinationRequest.ts │ │ ├── ServerMessageTransferDestinationRequestPhoneNumber.ts │ │ ├── ServerMessageTransferUpdate.ts │ │ ├── ServerMessageTransferUpdateDestination.ts │ │ ├── ServerMessageTransferUpdatePhoneNumber.ts │ │ ├── ServerMessageUserInterrupted.ts │ │ ├── ServerMessageUserInterruptedPhoneNumber.ts │ │ ├── ServerMessageVoiceInput.ts │ │ ├── ServerMessageVoiceInputPhoneNumber.ts │ │ ├── ServerMessageVoiceRequest.ts │ │ ├── ServerMessageVoiceRequestPhoneNumber.ts │ │ ├── SesameVoice.ts │ │ ├── Session.ts │ │ ├── SessionMessagesItem.ts │ │ ├── SessionPaginatedResponse.ts │ │ ├── SessionStatus.ts │ │ ├── SipAuthentication.ts │ │ ├── SipTrunkGateway.ts │ │ ├── SipTrunkGatewayOutboundProtocol.ts │ │ ├── SipTrunkOutboundAuthenticationPlan.ts │ │ ├── SipTrunkOutboundSipRegisterPlan.ts │ │ ├── SlackOAuth2AuthorizationCredential.ts │ │ ├── SlackSendMessageTool.ts │ │ ├── SlackSendMessageToolMessagesItem.ts │ │ ├── SmallestAiCredential.ts │ │ ├── SmallestAiVoice.ts │ │ ├── SmallestAiVoiceId.ts │ │ ├── SmallestAiVoiceIdEnum.ts │ │ ├── SmsTool.ts │ │ ├── SmsToolMessagesItem.ts │ │ ├── SpeechmaticsCredential.ts │ │ ├── SpeechmaticsTranscriber.ts │ │ ├── SpeechmaticsTranscriberLanguage.ts │ │ ├── Squad.ts │ │ ├── SquadMemberDto.ts │ │ ├── StartSpeakingPlan.ts │ │ ├── StartSpeakingPlanCustomEndpointingRulesItem.ts │ │ ├── StartSpeakingPlanSmartEndpointingEnabled.ts │ │ ├── StartSpeakingPlanSmartEndpointingPlan.ts │ │ ├── StopSpeakingPlan.ts │ │ ├── StructuredDataMultiPlan.ts │ │ ├── StructuredDataPlan.ts │ │ ├── Subscription.ts │ │ ├── SubscriptionStatus.ts │ │ ├── SubscriptionType.ts │ │ ├── SuccessEvaluationPlan.ts │ │ ├── SuccessEvaluationPlanRubric.ts │ │ ├── SummaryPlan.ts │ │ ├── SupabaseBucketPlan.ts │ │ ├── SupabaseBucketPlanRegion.ts │ │ ├── SupabaseCredential.ts │ │ ├── SyncVoiceLibraryDto.ts │ │ ├── SyncVoiceLibraryDtoProvidersItem.ts │ │ ├── SystemMessage.ts │ │ ├── TalkscriberTranscriber.ts │ │ ├── TalkscriberTranscriberLanguage.ts │ │ ├── TargetPlan.ts │ │ ├── TavusConversationProperties.ts │ │ ├── TavusCredential.ts │ │ ├── TavusVoice.ts │ │ ├── TavusVoiceVoiceId.ts │ │ ├── TelnyxPhoneNumber.ts │ │ ├── TelnyxPhoneNumberFallbackDestination.ts │ │ ├── TelnyxPhoneNumberStatus.ts │ │ ├── Template.ts │ │ ├── TemplateDetails.ts │ │ ├── TemplateProvider.ts │ │ ├── TemplateProviderDetails.ts │ │ ├── TemplateVisibility.ts │ │ ├── TestSuite.ts │ │ ├── TestSuitePhoneNumber.ts │ │ ├── TestSuiteRun.ts │ │ ├── TestSuiteRunScorerAi.ts │ │ ├── TestSuiteRunScorerAiResult.ts │ │ ├── TestSuiteRunStatus.ts │ │ ├── TestSuiteRunTestAttempt.ts │ │ ├── TestSuiteRunTestAttemptCall.ts │ │ ├── TestSuiteRunTestAttemptMetadata.ts │ │ ├── TestSuiteRunTestResult.ts │ │ ├── TestSuiteRunsPaginatedResponse.ts │ │ ├── TestSuiteTestChat.ts │ │ ├── TestSuiteTestScorerAi.ts │ │ ├── TestSuiteTestVoice.ts │ │ ├── TestSuiteTestsPaginatedResponse.ts │ │ ├── TestSuiteTestsPaginatedResponseResultsItem.ts │ │ ├── TestSuitesPaginatedResponse.ts │ │ ├── TesterPlan.ts │ │ ├── TextContent.ts │ │ ├── TextContentLanguage.ts │ │ ├── TextEditorTool.ts │ │ ├── TextEditorToolMessagesItem.ts │ │ ├── TextEditorToolWithToolCall.ts │ │ ├── TextEditorToolWithToolCallMessagesItem.ts │ │ ├── TimeRange.ts │ │ ├── TimeRangeStep.ts │ │ ├── TogetherAiCredential.ts │ │ ├── TogetherAiModel.ts │ │ ├── TogetherAiModelToolsItem.ts │ │ ├── Token.ts │ │ ├── TokenRestrictions.ts │ │ ├── TokenTag.ts │ │ ├── ToolCall.ts │ │ ├── ToolCallFunction.ts │ │ ├── ToolCallMessage.ts │ │ ├── ToolCallResult.ts │ │ ├── ToolCallResultMessage.ts │ │ ├── ToolMessage.ts │ │ ├── ToolMessageComplete.ts │ │ ├── ToolMessageCompleteRole.ts │ │ ├── ToolMessageDelayed.ts │ │ ├── ToolMessageFailed.ts │ │ ├── ToolMessageStart.ts │ │ ├── ToolNode.ts │ │ ├── ToolNodeTool.ts │ │ ├── ToolTemplateMetadata.ts │ │ ├── ToolTemplateSetup.ts │ │ ├── TranscriberCost.ts │ │ ├── TranscriptPlan.ts │ │ ├── TranscriptionEndpointingPlan.ts │ │ ├── TransferAssistantHookAction.ts │ │ ├── TransferAssistantHookActionDestination.ts │ │ ├── TransferCallTool.ts │ │ ├── TransferCallToolDestinationsItem.ts │ │ ├── TransferCallToolMessagesItem.ts │ │ ├── TransferDestinationAssistant.ts │ │ ├── TransferDestinationAssistantMessage.ts │ │ ├── TransferDestinationNumber.ts │ │ ├── TransferDestinationNumberMessage.ts │ │ ├── TransferDestinationSip.ts │ │ ├── TransferDestinationSipMessage.ts │ │ ├── TransferFallbackPlan.ts │ │ ├── TransferFallbackPlanMessage.ts │ │ ├── TransferMode.ts │ │ ├── TransferPhoneNumberHookAction.ts │ │ ├── TransferPhoneNumberHookActionDestination.ts │ │ ├── TransferPlan.ts │ │ ├── TransferPlanMessage.ts │ │ ├── TransferPlanMode.ts │ │ ├── TransportConfigurationTwilio.ts │ │ ├── TransportConfigurationTwilioRecordingChannels.ts │ │ ├── TransportCost.ts │ │ ├── TransportCostProvider.ts │ │ ├── TrieveCredential.ts │ │ ├── TrieveKnowledgeBase.ts │ │ ├── TrieveKnowledgeBaseChunkPlan.ts │ │ ├── TrieveKnowledgeBaseCreate.ts │ │ ├── TrieveKnowledgeBaseImport.ts │ │ ├── TrieveKnowledgeBaseSearchPlan.ts │ │ ├── TrieveKnowledgeBaseSearchPlanSearchType.ts │ │ ├── TwilioCredential.ts │ │ ├── TwilioPhoneNumber.ts │ │ ├── TwilioPhoneNumberFallbackDestination.ts │ │ ├── TwilioPhoneNumberStatus.ts │ │ ├── TwilioVoicemailDetectionPlan.ts │ │ ├── TwilioVoicemailDetectionPlanVoicemailDetectionTypesItem.ts │ │ ├── UpdateAnthropicCredentialDto.ts │ │ ├── UpdateAnyscaleCredentialDto.ts │ │ ├── UpdateAssemblyAiCredentialDto.ts │ │ ├── UpdateAzureCredentialDto.ts │ │ ├── UpdateAzureCredentialDtoRegion.ts │ │ ├── UpdateAzureCredentialDtoService.ts │ │ ├── UpdateAzureOpenAiCredentialDto.ts │ │ ├── UpdateAzureOpenAiCredentialDtoModelsItem.ts │ │ ├── UpdateAzureOpenAiCredentialDtoRegion.ts │ │ ├── UpdateBashToolDto.ts │ │ ├── UpdateBashToolDtoMessagesItem.ts │ │ ├── UpdateByoPhoneNumberDto.ts │ │ ├── UpdateByoPhoneNumberDtoFallbackDestination.ts │ │ ├── UpdateByoSipTrunkCredentialDto.ts │ │ ├── UpdateCartesiaCredentialDto.ts │ │ ├── UpdateCerebrasCredentialDto.ts │ │ ├── UpdateCloudflareCredentialDto.ts │ │ ├── UpdateComputerToolDto.ts │ │ ├── UpdateComputerToolDtoMessagesItem.ts │ │ ├── UpdateCustomKnowledgeBaseDto.ts │ │ ├── UpdateCustomLlmCredentialDto.ts │ │ ├── UpdateDeepInfraCredentialDto.ts │ │ ├── UpdateDeepSeekCredentialDto.ts │ │ ├── UpdateDeepgramCredentialDto.ts │ │ ├── UpdateDtmfToolDto.ts │ │ ├── UpdateDtmfToolDtoMessagesItem.ts │ │ ├── UpdateElevenLabsCredentialDto.ts │ │ ├── UpdateEndCallToolDto.ts │ │ ├── UpdateEndCallToolDtoMessagesItem.ts │ │ ├── UpdateFunctionToolDto.ts │ │ ├── UpdateFunctionToolDtoMessagesItem.ts │ │ ├── UpdateGcpCredentialDto.ts │ │ ├── UpdateGhlToolDto.ts │ │ ├── UpdateGhlToolDtoMessagesItem.ts │ │ ├── UpdateGladiaCredentialDto.ts │ │ ├── UpdateGoHighLevelCalendarAvailabilityToolDto.ts │ │ ├── UpdateGoHighLevelCalendarAvailabilityToolDtoMessagesItem.ts │ │ ├── UpdateGoHighLevelCalendarEventCreateToolDto.ts │ │ ├── UpdateGoHighLevelCalendarEventCreateToolDtoMessagesItem.ts │ │ ├── UpdateGoHighLevelContactCreateToolDto.ts │ │ ├── UpdateGoHighLevelContactCreateToolDtoMessagesItem.ts │ │ ├── UpdateGoHighLevelContactGetToolDto.ts │ │ ├── UpdateGoHighLevelContactGetToolDtoMessagesItem.ts │ │ ├── UpdateGoHighLevelCredentialDto.ts │ │ ├── UpdateGoHighLevelMcpCredentialDto.ts │ │ ├── UpdateGoogleCalendarCheckAvailabilityToolDto.ts │ │ ├── UpdateGoogleCalendarCheckAvailabilityToolDtoMessagesItem.ts │ │ ├── UpdateGoogleCalendarCreateEventToolDto.ts │ │ ├── UpdateGoogleCalendarCreateEventToolDtoMessagesItem.ts │ │ ├── UpdateGoogleCalendarOAuth2AuthorizationCredentialDto.ts │ │ ├── UpdateGoogleCalendarOAuth2ClientCredentialDto.ts │ │ ├── UpdateGoogleCredentialDto.ts │ │ ├── UpdateGoogleSheetsOAuth2AuthorizationCredentialDto.ts │ │ ├── UpdateGoogleSheetsRowAppendToolDto.ts │ │ ├── UpdateGoogleSheetsRowAppendToolDtoMessagesItem.ts │ │ ├── UpdateGroqCredentialDto.ts │ │ ├── UpdateHumeCredentialDto.ts │ │ ├── UpdateInflectionAiCredentialDto.ts │ │ ├── UpdateLangfuseCredentialDto.ts │ │ ├── UpdateLmntCredentialDto.ts │ │ ├── UpdateMakeCredentialDto.ts │ │ ├── UpdateMakeToolDto.ts │ │ ├── UpdateMakeToolDtoMessagesItem.ts │ │ ├── UpdateMcpToolDto.ts │ │ ├── UpdateMcpToolDtoMessagesItem.ts │ │ ├── UpdateMistralCredentialDto.ts │ │ ├── UpdateNeuphonicCredentialDto.ts │ │ ├── UpdateOpenAiCredentialDto.ts │ │ ├── UpdateOpenRouterCredentialDto.ts │ │ ├── UpdateOrgDto.ts │ │ ├── UpdateOrgDtoChannel.ts │ │ ├── UpdateOutputToolDto.ts │ │ ├── UpdateOutputToolDtoMessagesItem.ts │ │ ├── UpdatePerplexityAiCredentialDto.ts │ │ ├── UpdatePlayHtCredentialDto.ts │ │ ├── UpdateQueryToolDto.ts │ │ ├── UpdateQueryToolDtoMessagesItem.ts │ │ ├── UpdateRimeAiCredentialDto.ts │ │ ├── UpdateRunpodCredentialDto.ts │ │ ├── UpdateS3CredentialDto.ts │ │ ├── UpdateSlackOAuth2AuthorizationCredentialDto.ts │ │ ├── UpdateSlackSendMessageToolDto.ts │ │ ├── UpdateSlackSendMessageToolDtoMessagesItem.ts │ │ ├── UpdateSmallestAiCredentialDto.ts │ │ ├── UpdateSmsToolDto.ts │ │ ├── UpdateSmsToolDtoMessagesItem.ts │ │ ├── UpdateSpeechmaticsCredentialDto.ts │ │ ├── UpdateSupabaseCredentialDto.ts │ │ ├── UpdateTavusCredentialDto.ts │ │ ├── UpdateTelnyxPhoneNumberDto.ts │ │ ├── UpdateTelnyxPhoneNumberDtoFallbackDestination.ts │ │ ├── UpdateTestSuiteTestChatDto.ts │ │ ├── UpdateTestSuiteTestVoiceDto.ts │ │ ├── UpdateTextEditorToolDto.ts │ │ ├── UpdateTextEditorToolDtoMessagesItem.ts │ │ ├── UpdateTogetherAiCredentialDto.ts │ │ ├── UpdateTokenDto.ts │ │ ├── UpdateTokenDtoTag.ts │ │ ├── UpdateToolTemplateDto.ts │ │ ├── UpdateToolTemplateDtoDetails.ts │ │ ├── UpdateToolTemplateDtoProvider.ts │ │ ├── UpdateToolTemplateDtoProviderDetails.ts │ │ ├── UpdateToolTemplateDtoVisibility.ts │ │ ├── UpdateTransferCallToolDto.ts │ │ ├── UpdateTransferCallToolDtoDestinationsItem.ts │ │ ├── UpdateTransferCallToolDtoMessagesItem.ts │ │ ├── UpdateTrieveCredentialDto.ts │ │ ├── UpdateTrieveKnowledgeBaseDto.ts │ │ ├── UpdateTwilioCredentialDto.ts │ │ ├── UpdateTwilioPhoneNumberDto.ts │ │ ├── UpdateTwilioPhoneNumberDtoFallbackDestination.ts │ │ ├── UpdateUserRoleDto.ts │ │ ├── UpdateUserRoleDtoRole.ts │ │ ├── UpdateVapiPhoneNumberDto.ts │ │ ├── UpdateVapiPhoneNumberDtoFallbackDestination.ts │ │ ├── UpdateVonageCredentialDto.ts │ │ ├── UpdateVonagePhoneNumberDto.ts │ │ ├── UpdateVonagePhoneNumberDtoFallbackDestination.ts │ │ ├── UpdateWebhookCredentialDto.ts │ │ ├── UpdateXAiCredentialDto.ts │ │ ├── User.ts │ │ ├── UserMessage.ts │ │ ├── VapiCost.ts │ │ ├── VapiCostSubType.ts │ │ ├── VapiModel.ts │ │ ├── VapiModelToolsItem.ts │ │ ├── VapiPhoneNumber.ts │ │ ├── VapiPhoneNumberFallbackDestination.ts │ │ ├── VapiPhoneNumberStatus.ts │ │ ├── VapiSmartEndpointingPlan.ts │ │ ├── VapiSmartEndpointingPlanProvider.ts │ │ ├── VapiVoice.ts │ │ ├── VapiVoiceLanguage.ts │ │ ├── VapiVoiceVoiceId.ts │ │ ├── VapiVoicemailDetectionPlan.ts │ │ ├── VariableExtractionPlan.ts │ │ ├── VoiceCost.ts │ │ ├── VoiceLibrary.ts │ │ ├── VoiceLibraryGender.ts │ │ ├── VoiceLibraryVoiceResponse.ts │ │ ├── VoicemailDetectionBackoffPlan.ts │ │ ├── VoicemailDetectionCost.ts │ │ ├── VoicemailDetectionCostProvider.ts │ │ ├── VonageCredential.ts │ │ ├── VonagePhoneNumber.ts │ │ ├── VonagePhoneNumberFallbackDestination.ts │ │ ├── VonagePhoneNumberStatus.ts │ │ ├── WebhookCredential.ts │ │ ├── Workflow.ts │ │ ├── WorkflowAnthropicModel.ts │ │ ├── WorkflowAnthropicModelModel.ts │ │ ├── WorkflowModel.ts │ │ ├── WorkflowNodesItem.ts │ │ ├── WorkflowOpenAiModel.ts │ │ ├── WorkflowOpenAiModelModel.ts │ │ ├── WorkflowUserEditable.ts │ │ ├── WorkflowUserEditableModel.ts │ │ ├── WorkflowUserEditableNodesItem.ts │ │ ├── XAiCredential.ts │ │ ├── XaiModel.ts │ │ ├── XaiModelModel.ts │ │ ├── XaiModelToolsItem.ts │ │ └── index.ts ├── core │ ├── auth │ │ ├── BasicAuth.ts │ │ ├── BearerToken.ts │ │ └── index.ts │ ├── fetcher │ │ ├── APIResponse.ts │ │ ├── Fetcher.ts │ │ ├── Headers.ts │ │ ├── HttpResponsePromise.ts │ │ ├── RawResponse.ts │ │ ├── Supplier.ts │ │ ├── createRequestUrl.ts │ │ ├── getFetchFn.ts │ │ ├── getHeader.ts │ │ ├── getRequestBody.ts │ │ ├── getResponseBody.ts │ │ ├── index.ts │ │ ├── makeRequest.ts │ │ ├── requestWithRetries.ts │ │ ├── signals.ts │ │ └── stream-wrappers │ │ │ ├── Node18UniversalStreamWrapper.ts │ │ │ ├── NodePre18StreamWrapper.ts │ │ │ ├── UndiciStreamWrapper.ts │ │ │ └── chooseStreamWrapper.ts │ ├── form-data-utils │ │ ├── FormDataWrapper.ts │ │ ├── encodeAsFormParameter.ts │ │ └── index.ts │ ├── index.ts │ ├── json.ts │ ├── pagination │ │ ├── Page.ts │ │ ├── Pageable.ts │ │ └── index.ts │ ├── runtime │ │ ├── index.ts │ │ └── runtime.ts │ └── utils │ │ ├── index.ts │ │ └── setObjectProperty.ts ├── environments.ts ├── errors │ ├── VapiError.ts │ ├── VapiTimeoutError.ts │ └── index.ts ├── index.ts └── version.ts ├── tests ├── custom.test.ts └── unit │ ├── auth │ ├── BasicAuth.test.ts │ └── BearerToken.test.ts │ ├── fetcher │ ├── Fetcher.test.ts │ ├── HttpResponsePromise.test.ts │ ├── RawResponse.test.ts │ ├── createRequestUrl.test.ts │ ├── getFetchFn.test.ts │ ├── getRequestBody.test.ts │ ├── getResponseBody.test.ts │ ├── makeRequest.test.ts │ ├── requestWithRetries.test.ts │ ├── signals.test.ts │ ├── stream-wrappers │ │ ├── Node18UniversalStreamWrapper.test.ts │ │ ├── NodePre18StreamWrapper.test.ts │ │ ├── UndiciStreamWrapper.test.ts │ │ ├── chooseStreamWrapper.test.ts │ │ └── webpack.test.ts │ └── test-file.txt │ └── form-data-utils │ └── formDataWrapper.test.ts ├── tsconfig.json └── yarn.lock /.fernignore: -------------------------------------------------------------------------------- 1 | # Specify files that shouldn't be modified by Fern 2 | 3 | README.md 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | /dist -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | src 3 | tests 4 | .gitignore 5 | .github 6 | .fernignore 7 | .prettierrc.yml 8 | tsconfig.json 9 | yarn.lock -------------------------------------------------------------------------------- /.prettierrc.yml: -------------------------------------------------------------------------------- 1 | tabWidth: 4 2 | printWidth: 120 3 | -------------------------------------------------------------------------------- /jest.config.mjs: -------------------------------------------------------------------------------- 1 | /** @type {import('jest').Config} */ 2 | export default { 3 | preset: "ts-jest", 4 | testEnvironment: "node", 5 | moduleNameMapper: { 6 | "(.+)\.js$": "$1", 7 | }, 8 | }; 9 | -------------------------------------------------------------------------------- /src/api/errors/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./BadRequestError"; 2 | -------------------------------------------------------------------------------- /src/api/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./resources"; 2 | export * from "./types"; 3 | export * from "./errors"; 4 | -------------------------------------------------------------------------------- /src/api/resources/analytics/client/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./requests"; 2 | -------------------------------------------------------------------------------- /src/api/resources/analytics/client/requests/index.ts: -------------------------------------------------------------------------------- 1 | export { type AnalyticsQueryDto } from "./AnalyticsQueryDto"; 2 | -------------------------------------------------------------------------------- /src/api/resources/analytics/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./client"; 2 | -------------------------------------------------------------------------------- /src/api/resources/assistants/client/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./requests"; 2 | -------------------------------------------------------------------------------- /src/api/resources/assistants/client/requests/index.ts: -------------------------------------------------------------------------------- 1 | export { type AssistantsListRequest } from "./AssistantsListRequest"; 2 | export { type UpdateAssistantDto } from "./UpdateAssistantDto"; 3 | -------------------------------------------------------------------------------- /src/api/resources/assistants/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./types"; 2 | export * from "./client"; 3 | -------------------------------------------------------------------------------- /src/api/resources/assistants/types/UpdateAssistantDtoBackgroundSoundZero.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export type UpdateAssistantDtoBackgroundSoundZero = "off" | "office"; 6 | export const UpdateAssistantDtoBackgroundSoundZero = { 7 | Off: "off", 8 | Office: "office", 9 | } as const; 10 | -------------------------------------------------------------------------------- /src/api/resources/assistants/types/UpdateAssistantDtoHooksItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../../../index"; 6 | 7 | export type UpdateAssistantDtoHooksItem = 8 | | Vapi.AssistantHookCallEnding 9 | | Vapi.AssistantHookAssistantSpeechInterrupted 10 | | Vapi.AssistantHookCustomerSpeechInterrupted; 11 | -------------------------------------------------------------------------------- /src/api/resources/calls/client/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./requests"; 2 | -------------------------------------------------------------------------------- /src/api/resources/calls/client/requests/UpdateCallDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * @example 7 | * {} 8 | */ 9 | export interface UpdateCallDto { 10 | /** This is the name of the call. This is just for your own reference. */ 11 | name?: string; 12 | } 13 | -------------------------------------------------------------------------------- /src/api/resources/calls/client/requests/index.ts: -------------------------------------------------------------------------------- 1 | export { type CallsListRequest } from "./CallsListRequest"; 2 | export { type CreateCallDto } from "./CreateCallDto"; 3 | export { type UpdateCallDto } from "./UpdateCallDto"; 4 | -------------------------------------------------------------------------------- /src/api/resources/calls/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./types"; 2 | export * from "./client"; 3 | -------------------------------------------------------------------------------- /src/api/resources/calls/types/CallsCreateResponse.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../../../index"; 6 | 7 | export type CallsCreateResponse = Vapi.Call | Vapi.CallBatchResponse; 8 | -------------------------------------------------------------------------------- /src/api/resources/calls/types/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./CallsCreateResponse"; 2 | -------------------------------------------------------------------------------- /src/api/resources/chats/client/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./requests"; 2 | -------------------------------------------------------------------------------- /src/api/resources/chats/client/requests/index.ts: -------------------------------------------------------------------------------- 1 | export { type ChatsListRequest } from "./ChatsListRequest"; 2 | export { type CreateChatDto } from "./CreateChatDto"; 3 | export { type OpenAiResponsesRequest } from "./OpenAiResponsesRequest"; 4 | -------------------------------------------------------------------------------- /src/api/resources/chats/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./types"; 2 | export * from "./client"; 3 | -------------------------------------------------------------------------------- /src/api/resources/chats/types/ChatsCreateResponse.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../../../index"; 6 | 7 | export type ChatsCreateResponse = Vapi.Chat | Vapi.CreateChatStreamResponse; 8 | -------------------------------------------------------------------------------- /src/api/resources/chats/types/ChatsCreateResponseResponse.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../../../index"; 6 | 7 | export type ChatsCreateResponseResponse = 8 | | Vapi.ResponseObject 9 | | Vapi.ResponseTextDeltaEvent 10 | | Vapi.ResponseTextDoneEvent 11 | | Vapi.ResponseCompletedEvent 12 | | Vapi.ResponseErrorEvent; 13 | -------------------------------------------------------------------------------- /src/api/resources/chats/types/ChatsListRequestSortOrder.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export type ChatsListRequestSortOrder = "ASC" | "DESC"; 6 | export const ChatsListRequestSortOrder = { 7 | Asc: "ASC", 8 | Desc: "DESC", 9 | } as const; 10 | -------------------------------------------------------------------------------- /src/api/resources/chats/types/CreateChatDtoInput.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../../../index"; 6 | 7 | /** 8 | * This is the input text for the chat. 9 | * Can be a string or an array of chat messages. 10 | * This field is REQUIRED for chat creation. 11 | */ 12 | export type CreateChatDtoInput = string | Vapi.CreateChatDtoInputItem[]; 13 | -------------------------------------------------------------------------------- /src/api/resources/chats/types/CreateChatDtoInputItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../../../index"; 6 | 7 | export type CreateChatDtoInputItem = 8 | | Vapi.SystemMessage 9 | | Vapi.UserMessage 10 | | Vapi.AssistantMessage 11 | | Vapi.ToolMessage 12 | | Vapi.DeveloperMessage; 13 | -------------------------------------------------------------------------------- /src/api/resources/chats/types/OpenAiResponsesRequestInputItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../../../index"; 6 | 7 | export type OpenAiResponsesRequestInputItem = 8 | | Vapi.SystemMessage 9 | | Vapi.UserMessage 10 | | Vapi.AssistantMessage 11 | | Vapi.ToolMessage 12 | | Vapi.DeveloperMessage; 13 | -------------------------------------------------------------------------------- /src/api/resources/chats/types/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./ChatsListRequestSortOrder"; 2 | export * from "./CreateChatDtoInputItem"; 3 | export * from "./CreateChatDtoInput"; 4 | export * from "./ChatsCreateResponse"; 5 | export * from "./OpenAiResponsesRequestInputItem"; 6 | export * from "./OpenAiResponsesRequestInput"; 7 | export * from "./ChatsCreateResponseResponse"; 8 | -------------------------------------------------------------------------------- /src/api/resources/files/client/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./requests"; 2 | -------------------------------------------------------------------------------- /src/api/resources/files/client/requests/CreateFileDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * @example 7 | * {} 8 | */ 9 | export interface CreateFileDto {} 10 | -------------------------------------------------------------------------------- /src/api/resources/files/client/requests/UpdateFileDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * @example 7 | * {} 8 | */ 9 | export interface UpdateFileDto { 10 | /** This is the name of the file. This is just for your own reference. */ 11 | name?: string; 12 | } 13 | -------------------------------------------------------------------------------- /src/api/resources/files/client/requests/index.ts: -------------------------------------------------------------------------------- 1 | export { type CreateFileDto } from "./CreateFileDto"; 2 | export { type UpdateFileDto } from "./UpdateFileDto"; 3 | -------------------------------------------------------------------------------- /src/api/resources/files/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./client"; 2 | -------------------------------------------------------------------------------- /src/api/resources/knowledgeBases/client/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./requests"; 2 | -------------------------------------------------------------------------------- /src/api/resources/knowledgeBases/client/requests/index.ts: -------------------------------------------------------------------------------- 1 | export { type KnowledgeBasesListRequest } from "./KnowledgeBasesListRequest"; 2 | -------------------------------------------------------------------------------- /src/api/resources/knowledgeBases/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./types"; 2 | export * from "./client"; 3 | -------------------------------------------------------------------------------- /src/api/resources/knowledgeBases/types/KnowledgeBasesCreateRequest.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../../../index"; 6 | 7 | export type KnowledgeBasesCreateRequest = Vapi.CreateTrieveKnowledgeBaseDto | Vapi.CreateCustomKnowledgeBaseDto; 8 | -------------------------------------------------------------------------------- /src/api/resources/knowledgeBases/types/KnowledgeBasesCreateResponse.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../../../index"; 6 | 7 | export type KnowledgeBasesCreateResponse = Vapi.TrieveKnowledgeBase | Vapi.CustomKnowledgeBase; 8 | -------------------------------------------------------------------------------- /src/api/resources/knowledgeBases/types/KnowledgeBasesDeleteResponse.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../../../index"; 6 | 7 | export type KnowledgeBasesDeleteResponse = Vapi.TrieveKnowledgeBase | Vapi.CustomKnowledgeBase; 8 | -------------------------------------------------------------------------------- /src/api/resources/knowledgeBases/types/KnowledgeBasesGetResponse.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../../../index"; 6 | 7 | export type KnowledgeBasesGetResponse = Vapi.TrieveKnowledgeBase | Vapi.CustomKnowledgeBase; 8 | -------------------------------------------------------------------------------- /src/api/resources/knowledgeBases/types/KnowledgeBasesListResponseItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../../../index"; 6 | 7 | export type KnowledgeBasesListResponseItem = Vapi.TrieveKnowledgeBase | Vapi.CustomKnowledgeBase; 8 | -------------------------------------------------------------------------------- /src/api/resources/knowledgeBases/types/KnowledgeBasesUpdateRequest.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../../../index"; 6 | 7 | export type KnowledgeBasesUpdateRequest = Vapi.UpdateTrieveKnowledgeBaseDto | Vapi.UpdateCustomKnowledgeBaseDto; 8 | -------------------------------------------------------------------------------- /src/api/resources/knowledgeBases/types/KnowledgeBasesUpdateResponse.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../../../index"; 6 | 7 | export type KnowledgeBasesUpdateResponse = Vapi.TrieveKnowledgeBase | Vapi.CustomKnowledgeBase; 8 | -------------------------------------------------------------------------------- /src/api/resources/knowledgeBases/types/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./KnowledgeBasesListResponseItem"; 2 | export * from "./KnowledgeBasesCreateRequest"; 3 | export * from "./KnowledgeBasesCreateResponse"; 4 | export * from "./KnowledgeBasesGetResponse"; 5 | export * from "./KnowledgeBasesDeleteResponse"; 6 | export * from "./KnowledgeBasesUpdateRequest"; 7 | export * from "./KnowledgeBasesUpdateResponse"; 8 | -------------------------------------------------------------------------------- /src/api/resources/logs/client/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./requests"; 2 | -------------------------------------------------------------------------------- /src/api/resources/logs/client/requests/index.ts: -------------------------------------------------------------------------------- 1 | export { type LogsGetRequest } from "./LogsGetRequest"; 2 | export { type LoggingControllerLogsDeleteQueryRequest } from "./LoggingControllerLogsDeleteQueryRequest"; 3 | -------------------------------------------------------------------------------- /src/api/resources/logs/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./types"; 2 | export * from "./client"; 3 | -------------------------------------------------------------------------------- /src/api/resources/logs/types/LoggingControllerLogsDeleteQueryRequestType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export type LoggingControllerLogsDeleteQueryRequestType = "API" | "Webhook" | "Call" | "Provider"; 6 | export const LoggingControllerLogsDeleteQueryRequestType = { 7 | Api: "API", 8 | Webhook: "Webhook", 9 | Call: "Call", 10 | Provider: "Provider", 11 | } as const; 12 | -------------------------------------------------------------------------------- /src/api/resources/logs/types/LogsGetRequestSortOrder.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export type LogsGetRequestSortOrder = "ASC" | "DESC"; 6 | export const LogsGetRequestSortOrder = { 7 | Asc: "ASC", 8 | Desc: "DESC", 9 | } as const; 10 | -------------------------------------------------------------------------------- /src/api/resources/logs/types/LogsGetRequestType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export type LogsGetRequestType = "API" | "Webhook" | "Call" | "Provider"; 6 | export const LogsGetRequestType = { 7 | Api: "API", 8 | Webhook: "Webhook", 9 | Call: "Call", 10 | Provider: "Provider", 11 | } as const; 12 | -------------------------------------------------------------------------------- /src/api/resources/logs/types/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./LogsGetRequestType"; 2 | export * from "./LogsGetRequestSortOrder"; 3 | export * from "./LoggingControllerLogsDeleteQueryRequestType"; 4 | -------------------------------------------------------------------------------- /src/api/resources/phoneNumbers/client/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./requests"; 2 | -------------------------------------------------------------------------------- /src/api/resources/phoneNumbers/client/requests/index.ts: -------------------------------------------------------------------------------- 1 | export { type PhoneNumbersListRequest } from "./PhoneNumbersListRequest"; 2 | -------------------------------------------------------------------------------- /src/api/resources/phoneNumbers/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./types"; 2 | export * from "./client"; 3 | -------------------------------------------------------------------------------- /src/api/resources/phoneNumbers/types/PhoneNumbersCreateRequest.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../../../index"; 6 | 7 | export type PhoneNumbersCreateRequest = 8 | | Vapi.CreateByoPhoneNumberDto 9 | | Vapi.CreateTwilioPhoneNumberDto 10 | | Vapi.CreateVonagePhoneNumberDto 11 | | Vapi.CreateVapiPhoneNumberDto 12 | | Vapi.CreateTelnyxPhoneNumberDto; 13 | -------------------------------------------------------------------------------- /src/api/resources/phoneNumbers/types/PhoneNumbersCreateResponse.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../../../index"; 6 | 7 | export type PhoneNumbersCreateResponse = 8 | | Vapi.ByoPhoneNumber 9 | | Vapi.TwilioPhoneNumber 10 | | Vapi.VonagePhoneNumber 11 | | Vapi.VapiPhoneNumber 12 | | Vapi.TelnyxPhoneNumber; 13 | -------------------------------------------------------------------------------- /src/api/resources/phoneNumbers/types/PhoneNumbersDeleteResponse.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../../../index"; 6 | 7 | export type PhoneNumbersDeleteResponse = 8 | | Vapi.ByoPhoneNumber 9 | | Vapi.TwilioPhoneNumber 10 | | Vapi.VonagePhoneNumber 11 | | Vapi.VapiPhoneNumber 12 | | Vapi.TelnyxPhoneNumber; 13 | -------------------------------------------------------------------------------- /src/api/resources/phoneNumbers/types/PhoneNumbersGetResponse.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../../../index"; 6 | 7 | export type PhoneNumbersGetResponse = 8 | | Vapi.ByoPhoneNumber 9 | | Vapi.TwilioPhoneNumber 10 | | Vapi.VonagePhoneNumber 11 | | Vapi.VapiPhoneNumber 12 | | Vapi.TelnyxPhoneNumber; 13 | -------------------------------------------------------------------------------- /src/api/resources/phoneNumbers/types/PhoneNumbersListResponseItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../../../index"; 6 | 7 | export type PhoneNumbersListResponseItem = 8 | | Vapi.ByoPhoneNumber 9 | | Vapi.TwilioPhoneNumber 10 | | Vapi.VonagePhoneNumber 11 | | Vapi.VapiPhoneNumber 12 | | Vapi.TelnyxPhoneNumber; 13 | -------------------------------------------------------------------------------- /src/api/resources/phoneNumbers/types/PhoneNumbersUpdateRequest.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../../../index"; 6 | 7 | export type PhoneNumbersUpdateRequest = 8 | | Vapi.UpdateByoPhoneNumberDto 9 | | Vapi.UpdateTwilioPhoneNumberDto 10 | | Vapi.UpdateVonagePhoneNumberDto 11 | | Vapi.UpdateVapiPhoneNumberDto 12 | | Vapi.UpdateTelnyxPhoneNumberDto; 13 | -------------------------------------------------------------------------------- /src/api/resources/phoneNumbers/types/PhoneNumbersUpdateResponse.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../../../index"; 6 | 7 | export type PhoneNumbersUpdateResponse = 8 | | Vapi.ByoPhoneNumber 9 | | Vapi.TwilioPhoneNumber 10 | | Vapi.VonagePhoneNumber 11 | | Vapi.VapiPhoneNumber 12 | | Vapi.TelnyxPhoneNumber; 13 | -------------------------------------------------------------------------------- /src/api/resources/phoneNumbers/types/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./PhoneNumbersListResponseItem"; 2 | export * from "./PhoneNumbersCreateRequest"; 3 | export * from "./PhoneNumbersCreateResponse"; 4 | export * from "./PhoneNumbersGetResponse"; 5 | export * from "./PhoneNumbersDeleteResponse"; 6 | export * from "./PhoneNumbersUpdateRequest"; 7 | export * from "./PhoneNumbersUpdateResponse"; 8 | -------------------------------------------------------------------------------- /src/api/resources/sessions/client/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./requests"; 2 | -------------------------------------------------------------------------------- /src/api/resources/sessions/client/requests/index.ts: -------------------------------------------------------------------------------- 1 | export { type SessionsListRequest } from "./SessionsListRequest"; 2 | export { type CreateSessionDto } from "./CreateSessionDto"; 3 | export { type UpdateSessionDto } from "./UpdateSessionDto"; 4 | -------------------------------------------------------------------------------- /src/api/resources/sessions/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./types"; 2 | export * from "./client"; 3 | -------------------------------------------------------------------------------- /src/api/resources/sessions/types/CreateSessionDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../../../index"; 6 | 7 | export type CreateSessionDtoMessagesItem = 8 | | Vapi.SystemMessage 9 | | Vapi.UserMessage 10 | | Vapi.AssistantMessage 11 | | Vapi.ToolMessage 12 | | Vapi.DeveloperMessage; 13 | -------------------------------------------------------------------------------- /src/api/resources/sessions/types/CreateSessionDtoStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the current status of the session. Can be either 'active' or 'completed'. 7 | */ 8 | export type CreateSessionDtoStatus = "active" | "completed"; 9 | export const CreateSessionDtoStatus = { 10 | Active: "active", 11 | Completed: "completed", 12 | } as const; 13 | -------------------------------------------------------------------------------- /src/api/resources/sessions/types/SessionsListRequestSortOrder.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export type SessionsListRequestSortOrder = "ASC" | "DESC"; 6 | export const SessionsListRequestSortOrder = { 7 | Asc: "ASC", 8 | Desc: "DESC", 9 | } as const; 10 | -------------------------------------------------------------------------------- /src/api/resources/sessions/types/UpdateSessionDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../../../index"; 6 | 7 | export type UpdateSessionDtoMessagesItem = 8 | | Vapi.SystemMessage 9 | | Vapi.UserMessage 10 | | Vapi.AssistantMessage 11 | | Vapi.ToolMessage 12 | | Vapi.DeveloperMessage; 13 | -------------------------------------------------------------------------------- /src/api/resources/sessions/types/UpdateSessionDtoStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the new status for the session. 7 | */ 8 | export type UpdateSessionDtoStatus = "active" | "completed"; 9 | export const UpdateSessionDtoStatus = { 10 | Active: "active", 11 | Completed: "completed", 12 | } as const; 13 | -------------------------------------------------------------------------------- /src/api/resources/sessions/types/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./SessionsListRequestSortOrder"; 2 | export * from "./CreateSessionDtoStatus"; 3 | export * from "./CreateSessionDtoMessagesItem"; 4 | export * from "./UpdateSessionDtoStatus"; 5 | export * from "./UpdateSessionDtoMessagesItem"; 6 | -------------------------------------------------------------------------------- /src/api/resources/squads/client/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./requests"; 2 | -------------------------------------------------------------------------------- /src/api/resources/squads/client/requests/index.ts: -------------------------------------------------------------------------------- 1 | export { type SquadsListRequest } from "./SquadsListRequest"; 2 | export { type UpdateSquadDto } from "./UpdateSquadDto"; 3 | -------------------------------------------------------------------------------- /src/api/resources/squads/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./client"; 2 | -------------------------------------------------------------------------------- /src/api/resources/testSuiteRuns/client/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./requests"; 2 | -------------------------------------------------------------------------------- /src/api/resources/testSuiteRuns/client/requests/CreateTestSuiteRunDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * @example 7 | * {} 8 | */ 9 | export interface CreateTestSuiteRunDto { 10 | /** This is the name of the test suite run. */ 11 | name?: string; 12 | } 13 | -------------------------------------------------------------------------------- /src/api/resources/testSuiteRuns/client/requests/UpdateTestSuiteRunDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * @example 7 | * {} 8 | */ 9 | export interface UpdateTestSuiteRunDto { 10 | /** This is the name of the test suite run. */ 11 | name?: string; 12 | } 13 | -------------------------------------------------------------------------------- /src/api/resources/testSuiteRuns/client/requests/index.ts: -------------------------------------------------------------------------------- 1 | export { type TestSuiteRunControllerFindAllPaginatedRequest } from "./TestSuiteRunControllerFindAllPaginatedRequest"; 2 | export { type CreateTestSuiteRunDto } from "./CreateTestSuiteRunDto"; 3 | export { type UpdateTestSuiteRunDto } from "./UpdateTestSuiteRunDto"; 4 | -------------------------------------------------------------------------------- /src/api/resources/testSuiteRuns/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./types"; 2 | export * from "./client"; 3 | -------------------------------------------------------------------------------- /src/api/resources/testSuiteRuns/types/TestSuiteRunControllerFindAllPaginatedRequestSortOrder.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export type TestSuiteRunControllerFindAllPaginatedRequestSortOrder = "ASC" | "DESC"; 6 | export const TestSuiteRunControllerFindAllPaginatedRequestSortOrder = { 7 | Asc: "ASC", 8 | Desc: "DESC", 9 | } as const; 10 | -------------------------------------------------------------------------------- /src/api/resources/testSuiteRuns/types/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./TestSuiteRunControllerFindAllPaginatedRequestSortOrder"; 2 | -------------------------------------------------------------------------------- /src/api/resources/testSuiteTests/client/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./requests"; 2 | -------------------------------------------------------------------------------- /src/api/resources/testSuiteTests/client/requests/index.ts: -------------------------------------------------------------------------------- 1 | export { type TestSuiteTestControllerFindAllPaginatedRequest } from "./TestSuiteTestControllerFindAllPaginatedRequest"; 2 | -------------------------------------------------------------------------------- /src/api/resources/testSuiteTests/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./types"; 2 | export * from "./client"; 3 | -------------------------------------------------------------------------------- /src/api/resources/testSuiteTests/types/TestSuiteTestControllerCreateRequest.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../../../index"; 6 | 7 | export type TestSuiteTestControllerCreateRequest = Vapi.CreateTestSuiteTestVoiceDto | Vapi.CreateTestSuiteTestChatDto; 8 | -------------------------------------------------------------------------------- /src/api/resources/testSuiteTests/types/TestSuiteTestControllerCreateResponse.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../../../index"; 6 | 7 | export type TestSuiteTestControllerCreateResponse = Vapi.TestSuiteTestVoice | Vapi.TestSuiteTestChat; 8 | -------------------------------------------------------------------------------- /src/api/resources/testSuiteTests/types/TestSuiteTestControllerFindAllPaginatedRequestSortOrder.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export type TestSuiteTestControllerFindAllPaginatedRequestSortOrder = "ASC" | "DESC"; 6 | export const TestSuiteTestControllerFindAllPaginatedRequestSortOrder = { 7 | Asc: "ASC", 8 | Desc: "DESC", 9 | } as const; 10 | -------------------------------------------------------------------------------- /src/api/resources/testSuiteTests/types/TestSuiteTestControllerFindOneResponse.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../../../index"; 6 | 7 | export type TestSuiteTestControllerFindOneResponse = Vapi.TestSuiteTestVoice | Vapi.TestSuiteTestChat; 8 | -------------------------------------------------------------------------------- /src/api/resources/testSuiteTests/types/TestSuiteTestControllerRemoveResponse.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../../../index"; 6 | 7 | export type TestSuiteTestControllerRemoveResponse = Vapi.TestSuiteTestVoice | Vapi.TestSuiteTestChat; 8 | -------------------------------------------------------------------------------- /src/api/resources/testSuiteTests/types/TestSuiteTestControllerUpdateRequest.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../../../index"; 6 | 7 | export type TestSuiteTestControllerUpdateRequest = Vapi.UpdateTestSuiteTestVoiceDto | Vapi.UpdateTestSuiteTestChatDto; 8 | -------------------------------------------------------------------------------- /src/api/resources/testSuiteTests/types/TestSuiteTestControllerUpdateResponse.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../../../index"; 6 | 7 | export type TestSuiteTestControllerUpdateResponse = Vapi.TestSuiteTestVoice | Vapi.TestSuiteTestChat; 8 | -------------------------------------------------------------------------------- /src/api/resources/testSuites/client/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./requests"; 2 | -------------------------------------------------------------------------------- /src/api/resources/testSuites/client/requests/index.ts: -------------------------------------------------------------------------------- 1 | export { type TestSuiteControllerFindAllPaginatedRequest } from "./TestSuiteControllerFindAllPaginatedRequest"; 2 | export { type CreateTestSuiteDto } from "./CreateTestSuiteDto"; 3 | export { type UpdateTestSuiteDto } from "./UpdateTestSuiteDto"; 4 | -------------------------------------------------------------------------------- /src/api/resources/testSuites/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./types"; 2 | export * from "./client"; 3 | -------------------------------------------------------------------------------- /src/api/resources/testSuites/types/TestSuiteControllerFindAllPaginatedRequestSortOrder.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export type TestSuiteControllerFindAllPaginatedRequestSortOrder = "ASC" | "DESC"; 6 | export const TestSuiteControllerFindAllPaginatedRequestSortOrder = { 7 | Asc: "ASC", 8 | Desc: "DESC", 9 | } as const; 10 | -------------------------------------------------------------------------------- /src/api/resources/testSuites/types/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./TestSuiteControllerFindAllPaginatedRequestSortOrder"; 2 | -------------------------------------------------------------------------------- /src/api/resources/tools/client/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./requests"; 2 | -------------------------------------------------------------------------------- /src/api/resources/tools/client/requests/index.ts: -------------------------------------------------------------------------------- 1 | export { type ToolsListRequest } from "./ToolsListRequest"; 2 | -------------------------------------------------------------------------------- /src/api/resources/tools/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./types"; 2 | export * from "./client"; 3 | -------------------------------------------------------------------------------- /src/api/resources/tools/types/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./ToolsListResponseItem"; 2 | export * from "./ToolsCreateRequest"; 3 | export * from "./ToolsCreateResponse"; 4 | export * from "./ToolsGetResponse"; 5 | export * from "./ToolsDeleteResponse"; 6 | export * from "./ToolsUpdateRequest"; 7 | export * from "./ToolsUpdateResponse"; 8 | -------------------------------------------------------------------------------- /src/api/resources/workflow/client/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./requests"; 2 | -------------------------------------------------------------------------------- /src/api/resources/workflow/client/requests/index.ts: -------------------------------------------------------------------------------- 1 | export { type UpdateWorkflowDto } from "./UpdateWorkflowDto"; 2 | -------------------------------------------------------------------------------- /src/api/resources/workflow/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./types"; 2 | export * from "./client"; 3 | -------------------------------------------------------------------------------- /src/api/resources/workflow/types/UpdateWorkflowDtoModel.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../../../index"; 6 | 7 | /** 8 | * These are the options for the workflow's LLM. 9 | */ 10 | export type UpdateWorkflowDtoModel = Vapi.WorkflowOpenAiModel | Vapi.WorkflowAnthropicModel; 11 | -------------------------------------------------------------------------------- /src/api/resources/workflow/types/UpdateWorkflowDtoNodesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../../../index"; 6 | 7 | export type UpdateWorkflowDtoNodesItem = Vapi.ConversationNode | Vapi.ToolNode; 8 | -------------------------------------------------------------------------------- /src/api/resources/workflow/types/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./UpdateWorkflowDtoNodesItem"; 2 | export * from "./UpdateWorkflowDtoModel"; 3 | -------------------------------------------------------------------------------- /src/api/types/AiEdgeCondition.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface AiEdgeCondition { 6 | type: "ai"; 7 | /** This is the prompt for the AI edge condition. It should evaluate to a boolean. */ 8 | prompt: string; 9 | } 10 | -------------------------------------------------------------------------------- /src/api/types/AnalyticsQueryTable.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the table you want to query. 7 | */ 8 | export type AnalyticsQueryTable = "call" | "subscription"; 9 | export const AnalyticsQueryTable = { 10 | Call: "call", 11 | Subscription: "subscription", 12 | } as const; 13 | -------------------------------------------------------------------------------- /src/api/types/AnthropicThinkingConfig.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface AnthropicThinkingConfig { 6 | type: "enabled"; 7 | /** 8 | * The maximum number of tokens to allocate for thinking. 9 | * Must be between 1024 and 100000 tokens. 10 | */ 11 | budgetTokens: number; 12 | } 13 | -------------------------------------------------------------------------------- /src/api/types/ArtifactMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type ArtifactMessagesItem = 8 | | Vapi.UserMessage 9 | | Vapi.SystemMessage 10 | | Vapi.BotMessage 11 | | Vapi.ToolCallMessage 12 | | Vapi.ToolCallResultMessage; 13 | -------------------------------------------------------------------------------- /src/api/types/ArtifactPlanRecordingFormat.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This determines the format of the recording. Defaults to `wav;l16`. 7 | * 8 | * @default 'wav;l16' 9 | */ 10 | export type ArtifactPlanRecordingFormat = "wav;l16" | "mp3"; 11 | export const ArtifactPlanRecordingFormat = { 12 | WavL16: "wav;l16", 13 | Mp3: "mp3", 14 | } as const; 15 | -------------------------------------------------------------------------------- /src/api/types/AssistantBackgroundSoundZero.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export type AssistantBackgroundSoundZero = "off" | "office"; 6 | export const AssistantBackgroundSoundZero = { 7 | Off: "off", 8 | Office: "office", 9 | } as const; 10 | -------------------------------------------------------------------------------- /src/api/types/AssistantHookAssistantSpeechInterruptedDoItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type AssistantHookAssistantSpeechInterruptedDoItem = 8 | | Vapi.TransferAssistantHookAction 9 | | Vapi.FunctionCallAssistantHookAction 10 | | Vapi.SayAssistantHookAction; 11 | -------------------------------------------------------------------------------- /src/api/types/AssistantHookCallEndingDoItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type AssistantHookCallEndingDoItem = Vapi.TransferAssistantHookAction | Vapi.FunctionCallAssistantHookAction; 8 | -------------------------------------------------------------------------------- /src/api/types/AssistantHookCustomerSpeechInterruptedDoItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type AssistantHookCustomerSpeechInterruptedDoItem = 8 | | Vapi.TransferAssistantHookAction 9 | | Vapi.FunctionCallAssistantHookAction 10 | | Vapi.SayAssistantHookAction; 11 | -------------------------------------------------------------------------------- /src/api/types/AssistantHooksItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type AssistantHooksItem = 8 | | Vapi.AssistantHookCallEnding 9 | | Vapi.AssistantHookAssistantSpeechInterrupted 10 | | Vapi.AssistantHookCustomerSpeechInterrupted; 11 | -------------------------------------------------------------------------------- /src/api/types/AssistantOverridesBackgroundSoundZero.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export type AssistantOverridesBackgroundSoundZero = "off" | "office"; 6 | export const AssistantOverridesBackgroundSoundZero = { 7 | Off: "off", 8 | Office: "office", 9 | } as const; 10 | -------------------------------------------------------------------------------- /src/api/types/AssistantOverridesHooksItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type AssistantOverridesHooksItem = 8 | | Vapi.AssistantHookCallEnding 9 | | Vapi.AssistantHookAssistantSpeechInterrupted 10 | | Vapi.AssistantHookCustomerSpeechInterrupted; 11 | -------------------------------------------------------------------------------- /src/api/types/AssistantPaginatedResponse.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export interface AssistantPaginatedResponse { 8 | results: Vapi.Assistant[]; 9 | metadata: Vapi.PaginationMeta; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/AssistantUserEditable.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface AssistantUserEditable { 6 | serverMessages?: unknown; 7 | } 8 | -------------------------------------------------------------------------------- /src/api/types/AssistantVersionPaginatedResponse.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export interface AssistantVersionPaginatedResponse { 8 | results: unknown[]; 9 | metadata: Vapi.PaginationMeta; 10 | nextPageState?: string; 11 | } 12 | -------------------------------------------------------------------------------- /src/api/types/AutoReloadPlan.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface AutoReloadPlan { 6 | /** This the amount of credits to reload. */ 7 | credits: number; 8 | /** This is the limit at which the reload is triggered. */ 9 | threshold: number; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/AzureCredentialService.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the service being used in Azure. 7 | */ 8 | export type AzureCredentialService = "speech" | "blob_storage"; 9 | export const AzureCredentialService = { 10 | Speech: "speech", 11 | BlobStorage: "blob_storage", 12 | } as const; 13 | -------------------------------------------------------------------------------- /src/api/types/AzureVoiceId.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | /** 8 | * This is the provider-specific ID that will be used. 9 | */ 10 | export type AzureVoiceId = Vapi.AzureVoiceIdEnum | string; 11 | -------------------------------------------------------------------------------- /src/api/types/AzureVoiceIdEnum.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export type AzureVoiceIdEnum = "andrew" | "brian" | "emma"; 6 | export const AzureVoiceIdEnum = { 7 | Andrew: "andrew", 8 | Brian: "brian", 9 | Emma: "emma", 10 | } as const; 11 | -------------------------------------------------------------------------------- /src/api/types/BashToolMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type BashToolMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/BashToolWithToolCallMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type BashToolWithToolCallMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/ByoPhoneNumberStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the status of the phone number. 7 | */ 8 | export type ByoPhoneNumberStatus = "active" | "activating" | "blocked"; 9 | export const ByoPhoneNumberStatus = { 10 | Active: "active", 11 | Activating: "activating", 12 | Blocked: "blocked", 13 | } as const; 14 | -------------------------------------------------------------------------------- /src/api/types/CallBatchError.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export interface CallBatchError { 8 | customer: Vapi.CreateCustomerDto; 9 | error: string; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/CallBatchResponse.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export interface CallBatchResponse { 8 | /** This is the list of calls that were created. */ 9 | results: Vapi.Call[]; 10 | /** This is the list of calls that failed to be created. */ 11 | errors: Vapi.CallBatchError[]; 12 | } 13 | -------------------------------------------------------------------------------- /src/api/types/CallCostsItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type CallCostsItem = 8 | | Vapi.TransportCost 9 | | Vapi.TranscriberCost 10 | | Vapi.ModelCost 11 | | Vapi.VoiceCost 12 | | Vapi.VapiCost 13 | | Vapi.VoicemailDetectionCost 14 | | Vapi.AnalysisCost 15 | | Vapi.KnowledgeBaseCost; 16 | -------------------------------------------------------------------------------- /src/api/types/CallDestination.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | /** 8 | * This is the destination where the call ended up being transferred to. If the call was not transferred, this will be empty. 9 | */ 10 | export type CallDestination = Vapi.TransferDestinationNumber | Vapi.TransferDestinationSip; 11 | -------------------------------------------------------------------------------- /src/api/types/CallLogsPaginatedResponse.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export interface CallLogsPaginatedResponse { 8 | results: Vapi.CallLogPrivileged[]; 9 | metadata: Vapi.PaginationMeta; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/CallMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type CallMessagesItem = 8 | | Vapi.UserMessage 9 | | Vapi.SystemMessage 10 | | Vapi.BotMessage 11 | | Vapi.ToolCallMessage 12 | | Vapi.ToolCallResultMessage; 13 | -------------------------------------------------------------------------------- /src/api/types/CallPaginatedResponse.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export interface CallPaginatedResponse { 8 | results: Vapi.Call[]; 9 | metadata: Vapi.PaginationMeta; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/CallPhoneCallTransport.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the transport of the phone call. 7 | * 8 | * Only relevant for `outboundPhoneCall` and `inboundPhoneCall` type. 9 | */ 10 | export type CallPhoneCallTransport = "sip" | "pstn"; 11 | export const CallPhoneCallTransport = { 12 | Sip: "sip", 13 | Pstn: "pstn", 14 | } as const; 15 | -------------------------------------------------------------------------------- /src/api/types/CartesiaExperimentalControls.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export interface CartesiaExperimentalControls { 8 | speed?: Vapi.CartesiaSpeedControl; 9 | emotion?: Vapi.CartesiaExperimentalControlsEmotion; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/CartesiaExperimentalControlsSpeed.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export type CartesiaExperimentalControlsSpeed = "slowest" | "slow" | "normal" | "fast" | "fastest"; 6 | export const CartesiaExperimentalControlsSpeed = { 7 | Slowest: "slowest", 8 | Slow: "slow", 9 | Normal: "normal", 10 | Fast: "fast", 11 | Fastest: "fastest", 12 | } as const; 13 | -------------------------------------------------------------------------------- /src/api/types/CartesiaSpeedControl.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type CartesiaSpeedControl = Vapi.CartesiaExperimentalControlsSpeed | number; 8 | -------------------------------------------------------------------------------- /src/api/types/CerebrasModelModel.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the name of the model. Ex. cognitivecomputations/dolphin-mixtral-8x7b 7 | */ 8 | export type CerebrasModelModel = "llama3.1-8b" | "llama-3.3-70b"; 9 | export const CerebrasModelModel = { 10 | Llama318B: "llama3.1-8b", 11 | Llama3370B: "llama-3.3-70b", 12 | } as const; 13 | -------------------------------------------------------------------------------- /src/api/types/ChatInput.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | /** 8 | * This is the input text for the chat. 9 | * Can be a string or an array of chat messages. 10 | */ 11 | export type ChatInput = string | Vapi.ChatInputItem[]; 12 | -------------------------------------------------------------------------------- /src/api/types/ChatInputItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type ChatInputItem = 8 | | Vapi.SystemMessage 9 | | Vapi.UserMessage 10 | | Vapi.AssistantMessage 11 | | Vapi.ToolMessage 12 | | Vapi.DeveloperMessage; 13 | -------------------------------------------------------------------------------- /src/api/types/ChatMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type ChatMessagesItem = 8 | | Vapi.SystemMessage 9 | | Vapi.UserMessage 10 | | Vapi.AssistantMessage 11 | | Vapi.ToolMessage 12 | | Vapi.DeveloperMessage; 13 | -------------------------------------------------------------------------------- /src/api/types/ChatOutputItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type ChatOutputItem = 8 | | Vapi.SystemMessage 9 | | Vapi.UserMessage 10 | | Vapi.AssistantMessage 11 | | Vapi.ToolMessage 12 | | Vapi.DeveloperMessage; 13 | -------------------------------------------------------------------------------- /src/api/types/ChatPaginatedResponse.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export interface ChatPaginatedResponse { 8 | results: Vapi.Chat[]; 9 | metadata: Vapi.PaginationMeta; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/ClientInboundMessage.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export interface ClientInboundMessage { 8 | /** These are the messages that can be sent from client-side SDKs to control the call. */ 9 | message: Vapi.ClientInboundMessageMessage; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/ClientInboundMessageEndCall.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface ClientInboundMessageEndCall { 6 | /** This is the type of the message. Send "end-call" message to end the call. */ 7 | type: "end-call"; 8 | } 9 | -------------------------------------------------------------------------------- /src/api/types/ClientInboundMessageTransferDestination.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | /** 8 | * This is the destination to transfer the call to. 9 | */ 10 | export type ClientInboundMessageTransferDestination = Vapi.TransferDestinationNumber | Vapi.TransferDestinationSip; 11 | -------------------------------------------------------------------------------- /src/api/types/ClientMessage.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export interface ClientMessage { 8 | /** These are all the messages that can be sent to the client-side SDKs during the call. Configure the messages you'd like to receive in `assistant.clientMessages`. */ 9 | message: Vapi.ClientMessageMessage; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/ClientMessageConversationUpdateMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type ClientMessageConversationUpdateMessagesItem = 8 | | Vapi.UserMessage 9 | | Vapi.SystemMessage 10 | | Vapi.BotMessage 11 | | Vapi.ToolCallMessage 12 | | Vapi.ToolCallResultMessage; 13 | -------------------------------------------------------------------------------- /src/api/types/ClientMessageSpeechUpdateRole.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the role which the speech update is for. 7 | */ 8 | export type ClientMessageSpeechUpdateRole = "assistant" | "user"; 9 | export const ClientMessageSpeechUpdateRole = { 10 | Assistant: "assistant", 11 | User: "user", 12 | } as const; 13 | -------------------------------------------------------------------------------- /src/api/types/ClientMessageSpeechUpdateStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the status of the speech update. 7 | */ 8 | export type ClientMessageSpeechUpdateStatus = "started" | "stopped"; 9 | export const ClientMessageSpeechUpdateStatus = { 10 | Started: "started", 11 | Stopped: "stopped", 12 | } as const; 13 | -------------------------------------------------------------------------------- /src/api/types/ClientMessageTranscriptRole.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the role for which the transcript is for. 7 | */ 8 | export type ClientMessageTranscriptRole = "assistant" | "user"; 9 | export const ClientMessageTranscriptRole = { 10 | Assistant: "assistant", 11 | User: "user", 12 | } as const; 13 | -------------------------------------------------------------------------------- /src/api/types/ClientMessageTranscriptTranscriptType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the type of the transcript. 7 | */ 8 | export type ClientMessageTranscriptTranscriptType = "partial" | "final"; 9 | export const ClientMessageTranscriptTranscriptType = { 10 | Partial: "partial", 11 | Final: "final", 12 | } as const; 13 | -------------------------------------------------------------------------------- /src/api/types/ClientMessageTransferUpdateDestination.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | /** 8 | * This is the destination of the transfer. 9 | */ 10 | export type ClientMessageTransferUpdateDestination = 11 | | Vapi.TransferDestinationAssistant 12 | | Vapi.TransferDestinationNumber 13 | | Vapi.TransferDestinationSip; 14 | -------------------------------------------------------------------------------- /src/api/types/ComputerToolMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type ComputerToolMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/ComputerToolWithToolCallMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type ComputerToolWithToolCallMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/ConversationNodeModel.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | /** 8 | * This is the model for the Conversation Task. 9 | */ 10 | export type ConversationNodeModel = Vapi.WorkflowOpenAiModel | Vapi.WorkflowAnthropicModel; 11 | -------------------------------------------------------------------------------- /src/api/types/CreateAnthropicCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface CreateAnthropicCredentialDto { 6 | provider: "anthropic"; 7 | /** This is not returned in the API. */ 8 | apiKey: string; 9 | /** This is the name of credential. This is just for your reference. */ 10 | name?: string; 11 | } 12 | -------------------------------------------------------------------------------- /src/api/types/CreateAnyscaleCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface CreateAnyscaleCredentialDto { 6 | provider: "anyscale"; 7 | /** This is not returned in the API. */ 8 | apiKey: string; 9 | /** This is the name of credential. This is just for your reference. */ 10 | name?: string; 11 | } 12 | -------------------------------------------------------------------------------- /src/api/types/CreateApiRequestToolDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type CreateApiRequestToolDtoMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/CreateApiRequestToolDtoMethod.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export type CreateApiRequestToolDtoMethod = "POST" | "GET"; 6 | export const CreateApiRequestToolDtoMethod = { 7 | Post: "POST", 8 | Get: "GET", 9 | } as const; 10 | -------------------------------------------------------------------------------- /src/api/types/CreateAssemblyAiCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface CreateAssemblyAiCredentialDto { 6 | provider: "assembly-ai"; 7 | /** This is not returned in the API. */ 8 | apiKey: string; 9 | /** This is the name of credential. This is just for your reference. */ 10 | name?: string; 11 | } 12 | -------------------------------------------------------------------------------- /src/api/types/CreateAssistantDtoBackgroundSoundZero.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export type CreateAssistantDtoBackgroundSoundZero = "off" | "office"; 6 | export const CreateAssistantDtoBackgroundSoundZero = { 7 | Off: "off", 8 | Office: "office", 9 | } as const; 10 | -------------------------------------------------------------------------------- /src/api/types/CreateAssistantDtoHooksItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type CreateAssistantDtoHooksItem = 8 | | Vapi.AssistantHookCallEnding 9 | | Vapi.AssistantHookAssistantSpeechInterrupted 10 | | Vapi.AssistantHookCustomerSpeechInterrupted; 11 | -------------------------------------------------------------------------------- /src/api/types/CreateAzureCredentialDtoService.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the service being used in Azure. 7 | */ 8 | export type CreateAzureCredentialDtoService = "speech" | "blob_storage"; 9 | export const CreateAzureCredentialDtoService = { 10 | Speech: "speech", 11 | BlobStorage: "blob_storage", 12 | } as const; 13 | -------------------------------------------------------------------------------- /src/api/types/CreateBashToolDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type CreateBashToolDtoMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/CreateCartesiaCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface CreateCartesiaCredentialDto { 6 | provider: "cartesia"; 7 | /** This is not returned in the API. */ 8 | apiKey: string; 9 | /** This is the name of credential. This is just for your reference. */ 10 | name?: string; 11 | } 12 | -------------------------------------------------------------------------------- /src/api/types/CreateCerebrasCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface CreateCerebrasCredentialDto { 6 | provider: "cerebras"; 7 | /** This is not returned in the API. */ 8 | apiKey: string; 9 | /** This is the name of credential. This is just for your reference. */ 10 | name?: string; 11 | } 12 | -------------------------------------------------------------------------------- /src/api/types/CreateComputerToolDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type CreateComputerToolDtoMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/CreateDeepInfraCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface CreateDeepInfraCredentialDto { 6 | provider: "deepinfra"; 7 | /** This is not returned in the API. */ 8 | apiKey: string; 9 | /** This is the name of credential. This is just for your reference. */ 10 | name?: string; 11 | } 12 | -------------------------------------------------------------------------------- /src/api/types/CreateDeepSeekCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface CreateDeepSeekCredentialDto { 6 | provider: "deep-seek"; 7 | /** This is not returned in the API. */ 8 | apiKey: string; 9 | /** This is the name of credential. This is just for your reference. */ 10 | name?: string; 11 | } 12 | -------------------------------------------------------------------------------- /src/api/types/CreateDtmfToolDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type CreateDtmfToolDtoMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/CreateElevenLabsCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface CreateElevenLabsCredentialDto { 6 | provider: "11labs"; 7 | /** This is not returned in the API. */ 8 | apiKey: string; 9 | /** This is the name of credential. This is just for your reference. */ 10 | name?: string; 11 | } 12 | -------------------------------------------------------------------------------- /src/api/types/CreateEndCallToolDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type CreateEndCallToolDtoMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/CreateFunctionToolDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type CreateFunctionToolDtoMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/CreateGhlToolDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type CreateGhlToolDtoMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/CreateGladiaCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface CreateGladiaCredentialDto { 6 | provider: "gladia"; 7 | /** This is not returned in the API. */ 8 | apiKey: string; 9 | /** This is the name of credential. This is just for your reference. */ 10 | name?: string; 11 | } 12 | -------------------------------------------------------------------------------- /src/api/types/CreateGoHighLevelCalendarAvailabilityToolDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type CreateGoHighLevelCalendarAvailabilityToolDtoMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/CreateGoHighLevelCalendarEventCreateToolDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type CreateGoHighLevelCalendarEventCreateToolDtoMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/CreateGoHighLevelContactCreateToolDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type CreateGoHighLevelContactCreateToolDtoMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/CreateGoHighLevelContactGetToolDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type CreateGoHighLevelContactGetToolDtoMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/CreateGoHighLevelCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface CreateGoHighLevelCredentialDto { 6 | provider: "gohighlevel"; 7 | /** This is not returned in the API. */ 8 | apiKey: string; 9 | /** This is the name of credential. This is just for your reference. */ 10 | name?: string; 11 | } 12 | -------------------------------------------------------------------------------- /src/api/types/CreateGoogleCalendarCheckAvailabilityToolDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type CreateGoogleCalendarCheckAvailabilityToolDtoMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/CreateGoogleCalendarCreateEventToolDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type CreateGoogleCalendarCreateEventToolDtoMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/CreateGoogleCalendarOAuth2ClientCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface CreateGoogleCalendarOAuth2ClientCredentialDto { 6 | provider: "google.calendar.oauth2-client"; 7 | /** This is the name of credential. This is just for your reference. */ 8 | name?: string; 9 | } 10 | -------------------------------------------------------------------------------- /src/api/types/CreateGoogleCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface CreateGoogleCredentialDto { 6 | provider: "google"; 7 | /** This is not returned in the API. */ 8 | apiKey: string; 9 | /** This is the name of credential. This is just for your reference. */ 10 | name?: string; 11 | } 12 | -------------------------------------------------------------------------------- /src/api/types/CreateGoogleSheetsRowAppendToolDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type CreateGoogleSheetsRowAppendToolDtoMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/CreateGroqCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface CreateGroqCredentialDto { 6 | provider: "groq"; 7 | /** This is not returned in the API. */ 8 | apiKey: string; 9 | /** This is the name of credential. This is just for your reference. */ 10 | name?: string; 11 | } 12 | -------------------------------------------------------------------------------- /src/api/types/CreateHumeCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface CreateHumeCredentialDto { 6 | provider: "hume"; 7 | /** This is not returned in the API. */ 8 | apiKey: string; 9 | /** This is the name of credential. This is just for your reference. */ 10 | name?: string; 11 | } 12 | -------------------------------------------------------------------------------- /src/api/types/CreateInflectionAiCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface CreateInflectionAiCredentialDto { 6 | provider: "inflection-ai"; 7 | /** This is not returned in the API. */ 8 | apiKey: string; 9 | /** This is the name of credential. This is just for your reference. */ 10 | name?: string; 11 | } 12 | -------------------------------------------------------------------------------- /src/api/types/CreateLmntCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface CreateLmntCredentialDto { 6 | provider: "lmnt"; 7 | /** This is not returned in the API. */ 8 | apiKey: string; 9 | /** This is the name of credential. This is just for your reference. */ 10 | name?: string; 11 | } 12 | -------------------------------------------------------------------------------- /src/api/types/CreateMakeToolDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type CreateMakeToolDtoMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/CreateMcpToolDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type CreateMcpToolDtoMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/CreateMistralCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface CreateMistralCredentialDto { 6 | provider: "mistral"; 7 | /** This is not returned in the API. */ 8 | apiKey: string; 9 | /** This is the name of credential. This is just for your reference. */ 10 | name?: string; 11 | } 12 | -------------------------------------------------------------------------------- /src/api/types/CreateNeuphonicCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface CreateNeuphonicCredentialDto { 6 | provider: "neuphonic"; 7 | /** This is not returned in the API. */ 8 | apiKey: string; 9 | /** This is the name of credential. This is just for your reference. */ 10 | name?: string; 11 | } 12 | -------------------------------------------------------------------------------- /src/api/types/CreateOpenAiCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface CreateOpenAiCredentialDto { 6 | provider: "openai"; 7 | /** This is not returned in the API. */ 8 | apiKey: string; 9 | /** This is the name of credential. This is just for your reference. */ 10 | name?: string; 11 | } 12 | -------------------------------------------------------------------------------- /src/api/types/CreateOpenRouterCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface CreateOpenRouterCredentialDto { 6 | provider: "openrouter"; 7 | /** This is not returned in the API. */ 8 | apiKey: string; 9 | /** This is the name of credential. This is just for your reference. */ 10 | name?: string; 11 | } 12 | -------------------------------------------------------------------------------- /src/api/types/CreateOrgDtoChannel.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the channel of the org. There is the cluster the API traffic for the org will be directed. 7 | */ 8 | export type CreateOrgDtoChannel = "default" | "weekly"; 9 | export const CreateOrgDtoChannel = { 10 | Default: "default", 11 | Weekly: "weekly", 12 | } as const; 13 | -------------------------------------------------------------------------------- /src/api/types/CreateOutputToolDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type CreateOutputToolDtoMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/CreatePerplexityAiCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface CreatePerplexityAiCredentialDto { 6 | provider: "perplexity-ai"; 7 | /** This is not returned in the API. */ 8 | apiKey: string; 9 | /** This is the name of credential. This is just for your reference. */ 10 | name?: string; 11 | } 12 | -------------------------------------------------------------------------------- /src/api/types/CreatePlayHtCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface CreatePlayHtCredentialDto { 6 | provider: "playht"; 7 | /** This is not returned in the API. */ 8 | apiKey: string; 9 | userId: string; 10 | /** This is the name of credential. This is just for your reference. */ 11 | name?: string; 12 | } 13 | -------------------------------------------------------------------------------- /src/api/types/CreateQueryToolDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type CreateQueryToolDtoMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/CreateRimeAiCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface CreateRimeAiCredentialDto { 6 | provider: "rime-ai"; 7 | /** This is not returned in the API. */ 8 | apiKey: string; 9 | /** This is the name of credential. This is just for your reference. */ 10 | name?: string; 11 | } 12 | -------------------------------------------------------------------------------- /src/api/types/CreateRunpodCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface CreateRunpodCredentialDto { 6 | provider: "runpod"; 7 | /** This is not returned in the API. */ 8 | apiKey: string; 9 | /** This is the name of credential. This is just for your reference. */ 10 | name?: string; 11 | } 12 | -------------------------------------------------------------------------------- /src/api/types/CreateSesameVoiceDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface CreateSesameVoiceDto { 6 | /** The name of the voice. */ 7 | voiceName?: string; 8 | /** The transcript of the utterance. */ 9 | transcription?: string; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/CreateSlackSendMessageToolDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type CreateSlackSendMessageToolDtoMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/CreateSmallestAiCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface CreateSmallestAiCredentialDto { 6 | provider: "smallest-ai"; 7 | /** This is not returned in the API. */ 8 | apiKey: string; 9 | /** This is the name of credential. This is just for your reference. */ 10 | name?: string; 11 | } 12 | -------------------------------------------------------------------------------- /src/api/types/CreateSmsToolDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type CreateSmsToolDtoMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/CreateSpeechmaticsCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface CreateSpeechmaticsCredentialDto { 6 | provider: "speechmatics"; 7 | /** This is not returned in the API. */ 8 | apiKey: string; 9 | /** This is the name of credential. This is just for your reference. */ 10 | name?: string; 11 | } 12 | -------------------------------------------------------------------------------- /src/api/types/CreateSupabaseCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export interface CreateSupabaseCredentialDto { 8 | provider: "supabase"; 9 | bucketPlan?: Vapi.SupabaseBucketPlan; 10 | /** This is the name of credential. This is just for your reference. */ 11 | name?: string; 12 | } 13 | -------------------------------------------------------------------------------- /src/api/types/CreateTavusCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface CreateTavusCredentialDto { 6 | provider: "tavus"; 7 | /** This is not returned in the API. */ 8 | apiKey: string; 9 | /** This is the name of credential. This is just for your reference. */ 10 | name?: string; 11 | } 12 | -------------------------------------------------------------------------------- /src/api/types/CreateTextEditorToolDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type CreateTextEditorToolDtoMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/CreateTogetherAiCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface CreateTogetherAiCredentialDto { 6 | provider: "together-ai"; 7 | /** This is not returned in the API. */ 8 | apiKey: string; 9 | /** This is the name of credential. This is just for your reference. */ 10 | name?: string; 11 | } 12 | -------------------------------------------------------------------------------- /src/api/types/CreateTokenDtoTag.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the tag for the token. It represents its scope. 7 | */ 8 | export type CreateTokenDtoTag = "private" | "public"; 9 | export const CreateTokenDtoTag = { 10 | Private: "private", 11 | Public: "public", 12 | } as const; 13 | -------------------------------------------------------------------------------- /src/api/types/CreateToolTemplateDtoProvider.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export type CreateToolTemplateDtoProvider = "make" | "gohighlevel" | "function"; 6 | export const CreateToolTemplateDtoProvider = { 7 | Make: "make", 8 | Gohighlevel: "gohighlevel", 9 | Function: "function", 10 | } as const; 11 | -------------------------------------------------------------------------------- /src/api/types/CreateToolTemplateDtoVisibility.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export type CreateToolTemplateDtoVisibility = "public" | "private"; 6 | export const CreateToolTemplateDtoVisibility = { 7 | Public: "public", 8 | Private: "private", 9 | } as const; 10 | -------------------------------------------------------------------------------- /src/api/types/CreateTransferCallToolDtoDestinationsItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type CreateTransferCallToolDtoDestinationsItem = 8 | | Vapi.TransferDestinationAssistant 9 | | Vapi.TransferDestinationNumber 10 | | Vapi.TransferDestinationSip; 11 | -------------------------------------------------------------------------------- /src/api/types/CreateTransferCallToolDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type CreateTransferCallToolDtoMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/CreateTrieveCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface CreateTrieveCredentialDto { 6 | provider: "trieve"; 7 | /** This is not returned in the API. */ 8 | apiKey: string; 9 | /** This is the name of credential. This is just for your reference. */ 10 | name?: string; 11 | } 12 | -------------------------------------------------------------------------------- /src/api/types/CreateVoicemailToolDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type CreateVoicemailToolDtoMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/CreateVonageCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface CreateVonageCredentialDto { 6 | provider: "vonage"; 7 | /** This is not returned in the API. */ 8 | apiSecret: string; 9 | apiKey: string; 10 | /** This is the name of credential. This is just for your reference. */ 11 | name?: string; 12 | } 13 | -------------------------------------------------------------------------------- /src/api/types/CreateWorkflowDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export interface CreateWorkflowDto { 8 | nodes: Vapi.CreateWorkflowDtoNodesItem[]; 9 | /** These are the options for the workflow's LLM. */ 10 | model?: Vapi.CreateWorkflowDtoModel; 11 | name: string; 12 | edges: Vapi.Edge[]; 13 | } 14 | -------------------------------------------------------------------------------- /src/api/types/CreateWorkflowDtoModel.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | /** 8 | * These are the options for the workflow's LLM. 9 | */ 10 | export type CreateWorkflowDtoModel = Vapi.WorkflowOpenAiModel | Vapi.WorkflowAnthropicModel; 11 | -------------------------------------------------------------------------------- /src/api/types/CreateWorkflowDtoNodesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type CreateWorkflowDtoNodesItem = Vapi.ConversationNode | Vapi.ToolNode; 8 | -------------------------------------------------------------------------------- /src/api/types/CreateXAiCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface CreateXAiCredentialDto { 6 | provider: "xai"; 7 | /** This is not returned in the API. */ 8 | apiKey: string; 9 | /** This is the name of credential. This is just for your reference. */ 10 | name?: string; 11 | } 12 | -------------------------------------------------------------------------------- /src/api/types/CredentialActionRequest.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface CredentialActionRequest { 6 | action_name: string; 7 | input: Record; 8 | } 9 | -------------------------------------------------------------------------------- /src/api/types/CredentialEndUser.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface CredentialEndUser { 6 | endUserId: string; 7 | organizationId: string; 8 | } 9 | -------------------------------------------------------------------------------- /src/api/types/CredentialSessionDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export interface CredentialSessionDto { 8 | /** The type of credential to generate a session for. Only Nango user-facing providers are supported. */ 9 | provider: Vapi.CredentialSessionDtoProvider; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/CredentialSessionError.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface CredentialSessionError { 6 | type: string; 7 | description: string; 8 | } 9 | -------------------------------------------------------------------------------- /src/api/types/CredentialSessionResponse.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface CredentialSessionResponse { 6 | sessionToken: string; 7 | } 8 | -------------------------------------------------------------------------------- /src/api/types/CredentialWebhookDtoAuthMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export type CredentialWebhookDtoAuthMode = "OAUTH2" | "API_KEY" | "BASIC"; 6 | export const CredentialWebhookDtoAuthMode = { 7 | Oauth2: "OAUTH2", 8 | ApiKey: "API_KEY", 9 | Basic: "BASIC", 10 | } as const; 11 | -------------------------------------------------------------------------------- /src/api/types/CredentialWebhookDtoOperation.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export type CredentialWebhookDtoOperation = "creation" | "override" | "refresh"; 6 | export const CredentialWebhookDtoOperation = { 7 | Creation: "creation", 8 | Override: "override", 9 | Refresh: "refresh", 10 | } as const; 11 | -------------------------------------------------------------------------------- /src/api/types/CredentialWebhookDtoType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export type CredentialWebhookDtoType = "auth" | "sync" | "forward"; 6 | export const CredentialWebhookDtoType = { 7 | Auth: "auth", 8 | Sync: "sync", 9 | Forward: "forward", 10 | } as const; 11 | -------------------------------------------------------------------------------- /src/api/types/DeepSeekModelModel.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the name of the model. Ex. cognitivecomputations/dolphin-mixtral-8x7b 7 | */ 8 | export type DeepSeekModelModel = "deepseek-chat" | "deepseek-reasoner"; 9 | export const DeepSeekModelModel = { 10 | DeepseekChat: "deepseek-chat", 11 | DeepseekReasoner: "deepseek-reasoner", 12 | } as const; 13 | -------------------------------------------------------------------------------- /src/api/types/DeepgramVoiceModel.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the model that will be used. Defaults to 'aura-2' when not specified. 7 | */ 8 | export type DeepgramVoiceModel = "aura" | "aura-2"; 9 | export const DeepgramVoiceModel = { 10 | Aura: "aura", 11 | Aura2: "aura-2", 12 | } as const; 13 | -------------------------------------------------------------------------------- /src/api/types/DeveloperMessage.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface DeveloperMessage { 6 | /** This is the role of the message author */ 7 | role: "developer"; 8 | /** This is the content of the developer message */ 9 | content: string; 10 | /** This is an optional name for the participant */ 11 | name?: string; 12 | } 13 | -------------------------------------------------------------------------------- /src/api/types/DtmfToolMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type DtmfToolMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/Edge.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export interface Edge { 8 | condition?: Vapi.EdgeCondition; 9 | from: string; 10 | to: string; 11 | /** This is for metadata you want to store on the edge. */ 12 | metadata?: Record; 13 | } 14 | -------------------------------------------------------------------------------- /src/api/types/EdgeCondition.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type EdgeCondition = Vapi.AiEdgeCondition | Vapi.LogicEdgeCondition | Vapi.FailedEdgeCondition; 8 | -------------------------------------------------------------------------------- /src/api/types/ElevenLabsVoiceId.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | /** 8 | * This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library. 9 | */ 10 | export type ElevenLabsVoiceId = Vapi.ElevenLabsVoiceIdEnum | string; 11 | -------------------------------------------------------------------------------- /src/api/types/EndCallToolMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type EndCallToolMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/Error_.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface Error_ { 6 | message: string; 7 | } 8 | -------------------------------------------------------------------------------- /src/api/types/FailedEdgeCondition.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface FailedEdgeCondition { 6 | type: "failed"; 7 | } 8 | -------------------------------------------------------------------------------- /src/api/types/FallbackAzureVoiceId.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | /** 8 | * This is the provider-specific ID that will be used. 9 | */ 10 | export type FallbackAzureVoiceId = Vapi.FallbackAzureVoiceVoiceId | string; 11 | -------------------------------------------------------------------------------- /src/api/types/FallbackAzureVoiceVoiceId.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export type FallbackAzureVoiceVoiceId = "andrew" | "brian" | "emma"; 6 | export const FallbackAzureVoiceVoiceId = { 7 | Andrew: "andrew", 8 | Brian: "brian", 9 | Emma: "emma", 10 | } as const; 11 | -------------------------------------------------------------------------------- /src/api/types/FallbackDeepgramVoiceModel.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the model that will be used. Defaults to 'aura-2' when not specified. 7 | */ 8 | export type FallbackDeepgramVoiceModel = "aura" | "aura-2"; 9 | export const FallbackDeepgramVoiceModel = { 10 | Aura: "aura", 11 | Aura2: "aura-2", 12 | } as const; 13 | -------------------------------------------------------------------------------- /src/api/types/FallbackElevenLabsVoiceId.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | /** 8 | * This is the provider-specific ID that will be used. Ensure the Voice is present in your 11Labs Voice Library. 9 | */ 10 | export type FallbackElevenLabsVoiceId = Vapi.FallbackElevenLabsVoiceIdEnum | string; 11 | -------------------------------------------------------------------------------- /src/api/types/FallbackGladiaTranscriberModel.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export type FallbackGladiaTranscriberModel = "fast" | "accurate"; 6 | export const FallbackGladiaTranscriberModel = { 7 | Fast: "fast", 8 | Accurate: "accurate", 9 | } as const; 10 | -------------------------------------------------------------------------------- /src/api/types/FallbackLmntVoiceId.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | /** 8 | * This is the provider-specific ID that will be used. 9 | */ 10 | export type FallbackLmntVoiceId = Vapi.FallbackLmntVoiceIdEnum | string; 11 | -------------------------------------------------------------------------------- /src/api/types/FallbackLmntVoiceIdEnum.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export type FallbackLmntVoiceIdEnum = "lily" | "daniel"; 6 | export const FallbackLmntVoiceIdEnum = { 7 | Lily: "lily", 8 | Daniel: "daniel", 9 | } as const; 10 | -------------------------------------------------------------------------------- /src/api/types/FallbackNeetsVoice.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface FallbackNeetsVoice { 6 | voiceId?: unknown; 7 | } 8 | -------------------------------------------------------------------------------- /src/api/types/FallbackNeuphonicVoiceModel.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the model that will be used. Defaults to 'neu_fast' if not specified. 7 | */ 8 | export type FallbackNeuphonicVoiceModel = "neu_hq" | "neu_fast"; 9 | export const FallbackNeuphonicVoiceModel = { 10 | NeuHq: "neu_hq", 11 | NeuFast: "neu_fast", 12 | } as const; 13 | -------------------------------------------------------------------------------- /src/api/types/FallbackOpenAiVoiceId.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | /** 8 | * This is the provider-specific ID that will be used. 9 | * Please note that ash, ballad, coral, sage, and verse may only be used with realtime models. 10 | */ 11 | export type FallbackOpenAiVoiceId = Vapi.FallbackOpenAiVoiceIdEnum | string; 12 | -------------------------------------------------------------------------------- /src/api/types/FallbackOpenAiVoiceIdEnum.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export type FallbackOpenAiVoiceIdEnum = "alloy" | "echo" | "fable" | "onyx" | "nova" | "shimmer"; 6 | export const FallbackOpenAiVoiceIdEnum = { 7 | Alloy: "alloy", 8 | Echo: "echo", 9 | Fable: "fable", 10 | Onyx: "onyx", 11 | Nova: "nova", 12 | Shimmer: "shimmer", 13 | } as const; 14 | -------------------------------------------------------------------------------- /src/api/types/FallbackOpenAiVoiceModel.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the model that will be used for text-to-speech. 7 | */ 8 | export type FallbackOpenAiVoiceModel = "tts-1" | "tts-1-hd" | "gpt-4o-mini-tts"; 9 | export const FallbackOpenAiVoiceModel = { 10 | Tts1: "tts-1", 11 | Tts1Hd: "tts-1-hd", 12 | Gpt4OMiniTts: "gpt-4o-mini-tts", 13 | } as const; 14 | -------------------------------------------------------------------------------- /src/api/types/FallbackPlan.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export interface FallbackPlan { 8 | /** This is the list of voices to fallback to in the event that the primary voice provider fails. */ 9 | voices: Vapi.FallbackPlanVoicesItem[]; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/FallbackPlayHtVoiceId.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | /** 8 | * This is the provider-specific ID that will be used. 9 | */ 10 | export type FallbackPlayHtVoiceId = Vapi.FallbackPlayHtVoiceIdEnum | string; 11 | -------------------------------------------------------------------------------- /src/api/types/FallbackRimeAiVoiceId.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | /** 8 | * This is the provider-specific ID that will be used. 9 | */ 10 | export type FallbackRimeAiVoiceId = Vapi.FallbackRimeAiVoiceIdEnum | string; 11 | -------------------------------------------------------------------------------- /src/api/types/FallbackRimeAiVoiceModel.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the model that will be used. Defaults to 'v1' when not specified. 7 | */ 8 | export type FallbackRimeAiVoiceModel = "v1" | "mist" | "mistv2"; 9 | export const FallbackRimeAiVoiceModel = { 10 | V1: "v1", 11 | Mist: "mist", 12 | Mistv2: "mistv2", 13 | } as const; 14 | -------------------------------------------------------------------------------- /src/api/types/FallbackSmallestAiVoiceId.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | /** 8 | * This is the provider-specific ID that will be used. 9 | */ 10 | export type FallbackSmallestAiVoiceId = Vapi.FallbackSmallestAiVoiceIdEnum | string; 11 | -------------------------------------------------------------------------------- /src/api/types/FallbackTavusVoiceVoiceId.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the provider-specific ID that will be used. 7 | */ 8 | export type FallbackTavusVoiceVoiceId = "r52da2535a" | string; 9 | -------------------------------------------------------------------------------- /src/api/types/FallbackTranscriberPlan.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export interface FallbackTranscriberPlan { 8 | transcribers: Vapi.FallbackTranscriberPlanTranscribersItem[]; 9 | } 10 | -------------------------------------------------------------------------------- /src/api/types/FileStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export type FileStatus = "processing" | "done" | "failed"; 6 | export const FileStatus = { 7 | Processing: "processing", 8 | Done: "done", 9 | Failed: "failed", 10 | } as const; 11 | -------------------------------------------------------------------------------- /src/api/types/FormatPlanReplacementsItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type FormatPlanReplacementsItem = Vapi.ExactReplacement | Vapi.RegexReplacement; 8 | -------------------------------------------------------------------------------- /src/api/types/FunctionCall.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface FunctionCall { 6 | /** This is the arguments to call the function with */ 7 | arguments: string; 8 | /** This is the name of the function to call */ 9 | name: string; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/FunctionCallAssistantHookActionMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type FunctionCallAssistantHookActionMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/FunctionToolMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type FunctionToolMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/FunctionToolWithToolCallMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type FunctionToolWithToolCallMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/GeminiMultimodalLivePrebuiltVoiceConfig.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export interface GeminiMultimodalLivePrebuiltVoiceConfig { 8 | voiceName: Vapi.GeminiMultimodalLivePrebuiltVoiceConfigVoiceName; 9 | } 10 | -------------------------------------------------------------------------------- /src/api/types/GeminiMultimodalLiveSpeechConfig.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export interface GeminiMultimodalLiveSpeechConfig { 8 | voiceConfig: Vapi.GeminiMultimodalLiveVoiceConfig; 9 | } 10 | -------------------------------------------------------------------------------- /src/api/types/GeminiMultimodalLiveVoiceConfig.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export interface GeminiMultimodalLiveVoiceConfig { 8 | prebuiltVoiceConfig: Vapi.GeminiMultimodalLivePrebuiltVoiceConfig; 9 | } 10 | -------------------------------------------------------------------------------- /src/api/types/GetChatPaginatedDtoSortOrder.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the sort order for pagination. Defaults to 'DESC'. 7 | */ 8 | export type GetChatPaginatedDtoSortOrder = "ASC" | "DESC"; 9 | export const GetChatPaginatedDtoSortOrder = { 10 | Asc: "ASC", 11 | Desc: "DESC", 12 | } as const; 13 | -------------------------------------------------------------------------------- /src/api/types/GetSessionPaginatedDtoSortOrder.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the sort order for pagination. Defaults to 'DESC'. 7 | */ 8 | export type GetSessionPaginatedDtoSortOrder = "ASC" | "DESC"; 9 | export const GetSessionPaginatedDtoSortOrder = { 10 | Asc: "ASC", 11 | Desc: "DESC", 12 | } as const; 13 | -------------------------------------------------------------------------------- /src/api/types/GhlToolMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type GhlToolMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/GhlToolMetadata.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface GhlToolMetadata { 6 | workflowId?: string; 7 | locationId?: string; 8 | } 9 | -------------------------------------------------------------------------------- /src/api/types/GhlToolWithToolCallMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type GhlToolWithToolCallMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/GladiaTranscriberModel.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export type GladiaTranscriberModel = "fast" | "accurate"; 6 | export const GladiaTranscriberModel = { 7 | Fast: "fast", 8 | Accurate: "accurate", 9 | } as const; 10 | -------------------------------------------------------------------------------- /src/api/types/GoHighLevelCalendarAvailabilityToolMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type GoHighLevelCalendarAvailabilityToolMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/GoHighLevelCalendarAvailabilityToolWithToolCallMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type GoHighLevelCalendarAvailabilityToolWithToolCallMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/GoHighLevelCalendarEventCreateToolMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type GoHighLevelCalendarEventCreateToolMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/GoHighLevelCalendarEventCreateToolWithToolCallMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type GoHighLevelCalendarEventCreateToolWithToolCallMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/GoHighLevelContactCreateToolMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type GoHighLevelContactCreateToolMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/GoHighLevelContactCreateToolWithToolCallMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type GoHighLevelContactCreateToolWithToolCallMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/GoHighLevelContactGetToolMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type GoHighLevelContactGetToolMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/GoHighLevelContactGetToolWithToolCallMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type GoHighLevelContactGetToolWithToolCallMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/GoogleCalendarCheckAvailabilityToolMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type GoogleCalendarCheckAvailabilityToolMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/GoogleCalendarCreateEventToolMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type GoogleCalendarCreateEventToolMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/GoogleCalendarCreateEventToolWithToolCallMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type GoogleCalendarCreateEventToolWithToolCallMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/GoogleSheetsRowAppendToolMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type GoogleSheetsRowAppendToolMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/GoogleSheetsRowAppendToolWithToolCallMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type GoogleSheetsRowAppendToolWithToolCallMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/HangupNode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface HangupNode { 6 | type: "hangup"; 7 | name: string; 8 | /** This is whether or not the node is the start of the workflow. */ 9 | isStart?: boolean; 10 | /** This is for metadata you want to store on the task. */ 11 | metadata?: Record; 12 | } 13 | -------------------------------------------------------------------------------- /src/api/types/InviteUserDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export interface InviteUserDto { 8 | emails: string[]; 9 | role: Vapi.InviteUserDtoRole; 10 | redirectTo?: string; 11 | } 12 | -------------------------------------------------------------------------------- /src/api/types/InviteUserDtoRole.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export type InviteUserDtoRole = "admin" | "editor" | "viewer"; 6 | export const InviteUserDtoRole = { 7 | Admin: "admin", 8 | Editor: "editor", 9 | Viewer: "viewer", 10 | } as const; 11 | -------------------------------------------------------------------------------- /src/api/types/JwtResponse.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface JwtResponse { 6 | accessToken: string; 7 | aud: Record; 8 | } 9 | -------------------------------------------------------------------------------- /src/api/types/KeypadInputPlanDelimiters.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the delimiter(s) that will be used to process the input. 7 | * Can be '#', '*', or an empty array. 8 | */ 9 | export type KeypadInputPlanDelimiters = "#" | "*" | ""; 10 | export const KeypadInputPlanDelimiters = { 11 | Hash: "#", 12 | Asterisk: "*", 13 | Empty: "", 14 | } as const; 15 | -------------------------------------------------------------------------------- /src/api/types/KnowledgeBaseResponseDocument.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface KnowledgeBaseResponseDocument { 6 | /** This is the content of the document. */ 7 | content: string; 8 | /** This is the similarity score of the document. */ 9 | similarity: number; 10 | /** This is the uuid of the document. */ 11 | uuid?: string; 12 | } 13 | -------------------------------------------------------------------------------- /src/api/types/LivekitSmartEndpointingPlanProvider.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the provider for the smart endpointing plan. 7 | */ 8 | export type LivekitSmartEndpointingPlanProvider = "vapi" | "livekit"; 9 | export const LivekitSmartEndpointingPlanProvider = { 10 | Vapi: "vapi", 11 | Livekit: "livekit", 12 | } as const; 13 | -------------------------------------------------------------------------------- /src/api/types/LmntVoiceId.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | /** 8 | * This is the provider-specific ID that will be used. 9 | */ 10 | export type LmntVoiceId = Vapi.LmntVoiceIdEnum | string; 11 | -------------------------------------------------------------------------------- /src/api/types/LmntVoiceIdEnum.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export type LmntVoiceIdEnum = "lily" | "daniel"; 6 | export const LmntVoiceIdEnum = { 7 | Lily: "lily", 8 | Daniel: "daniel", 9 | } as const; 10 | -------------------------------------------------------------------------------- /src/api/types/LogRequestHttpMethod.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the request method. 7 | */ 8 | export type LogRequestHttpMethod = "POST" | "GET" | "PUT" | "PATCH" | "DELETE"; 9 | export const LogRequestHttpMethod = { 10 | Post: "POST", 11 | Get: "GET", 12 | Put: "PUT", 13 | Patch: "PATCH", 14 | Delete: "DELETE", 15 | } as const; 16 | -------------------------------------------------------------------------------- /src/api/types/LogType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the type of the log. 7 | */ 8 | export type LogType = "API" | "Webhook" | "Call" | "Provider"; 9 | export const LogType = { 10 | Api: "API", 11 | Webhook: "Webhook", 12 | Call: "Call", 13 | Provider: "Provider", 14 | } as const; 15 | -------------------------------------------------------------------------------- /src/api/types/LogicEdgeCondition.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface LogicEdgeCondition { 6 | type: "logic"; 7 | liquid: string; 8 | } 9 | -------------------------------------------------------------------------------- /src/api/types/LogsPaginatedResponse.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export interface LogsPaginatedResponse { 8 | results: Vapi.Log[]; 9 | metadata: Vapi.PaginationMeta; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/MakeToolMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type MakeToolMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/MakeToolMetadata.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface MakeToolMetadata { 6 | scenarioId?: number; 7 | triggerHookId?: number; 8 | } 9 | -------------------------------------------------------------------------------- /src/api/types/MakeToolWithToolCallMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type MakeToolWithToolCallMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/McpToolMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type McpToolMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/NeetsVoice.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface NeetsVoice { 6 | voiceId?: unknown; 7 | } 8 | -------------------------------------------------------------------------------- /src/api/types/NeuphonicVoiceModel.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the model that will be used. Defaults to 'neu_fast' if not specified. 7 | */ 8 | export type NeuphonicVoiceModel = "neu_hq" | "neu_fast"; 9 | export const NeuphonicVoiceModel = { 10 | NeuHq: "neu_hq", 11 | NeuFast: "neu_fast", 12 | } as const; 13 | -------------------------------------------------------------------------------- /src/api/types/OAuth2AuthenticationPlanType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export type OAuth2AuthenticationPlanType = "oauth2" | "aws-sts"; 6 | export const OAuth2AuthenticationPlanType = { 7 | Oauth2: "oauth2", 8 | AwsSts: "aws-sts", 9 | } as const; 10 | -------------------------------------------------------------------------------- /src/api/types/Oauth2AuthenticationSession.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface Oauth2AuthenticationSession { 6 | /** This is the OAuth2 access token. */ 7 | accessToken?: string; 8 | /** This is the OAuth2 access token expiration. */ 9 | expiresAt?: string; 10 | /** This is the OAuth2 refresh token. */ 11 | refreshToken?: string; 12 | } 13 | -------------------------------------------------------------------------------- /src/api/types/OpenAiMessage.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export interface OpenAiMessage { 8 | content?: string | null; 9 | role: Vapi.OpenAiMessageRole; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/OpenAiMessageRole.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export type OpenAiMessageRole = "assistant" | "function" | "user" | "system" | "tool"; 6 | export const OpenAiMessageRole = { 7 | Assistant: "assistant", 8 | Function: "function", 9 | User: "user", 10 | System: "system", 11 | Tool: "tool", 12 | } as const; 13 | -------------------------------------------------------------------------------- /src/api/types/OpenAiVoiceId.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | /** 8 | * This is the provider-specific ID that will be used. 9 | * Please note that ash, ballad, coral, sage, and verse may only be used with realtime models. 10 | */ 11 | export type OpenAiVoiceId = Vapi.OpenAiVoiceIdEnum | string; 12 | -------------------------------------------------------------------------------- /src/api/types/OpenAiVoiceIdEnum.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export type OpenAiVoiceIdEnum = "alloy" | "echo" | "fable" | "onyx" | "nova" | "shimmer"; 6 | export const OpenAiVoiceIdEnum = { 7 | Alloy: "alloy", 8 | Echo: "echo", 9 | Fable: "fable", 10 | Onyx: "onyx", 11 | Nova: "nova", 12 | Shimmer: "shimmer", 13 | } as const; 14 | -------------------------------------------------------------------------------- /src/api/types/OpenAiVoiceModel.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the model that will be used for text-to-speech. 7 | */ 8 | export type OpenAiVoiceModel = "tts-1" | "tts-1-hd" | "gpt-4o-mini-tts"; 9 | export const OpenAiVoiceModel = { 10 | Tts1: "tts-1", 11 | Tts1Hd: "tts-1-hd", 12 | Gpt4OMiniTts: "gpt-4o-mini-tts", 13 | } as const; 14 | -------------------------------------------------------------------------------- /src/api/types/OrgChannel.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the channel of the org. There is the cluster the API traffic for the org will be directed. 7 | */ 8 | export type OrgChannel = "default" | "weekly"; 9 | export const OrgChannel = { 10 | Default: "default", 11 | Weekly: "weekly", 12 | } as const; 13 | -------------------------------------------------------------------------------- /src/api/types/OrgPlan.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface OrgPlan { 6 | includedProviders?: Record[]; 7 | includedMinutes?: number; 8 | costPerOverageMinute?: number; 9 | } 10 | -------------------------------------------------------------------------------- /src/api/types/OutputToolMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type OutputToolMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/PaginationMeta.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface PaginationMeta { 6 | itemsPerPage: number; 7 | totalItems: number; 8 | currentPage: number; 9 | } 10 | -------------------------------------------------------------------------------- /src/api/types/PhoneNumberHookCallRinging.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export interface PhoneNumberHookCallRinging { 8 | /** This is the event to trigger the hook on */ 9 | on: "call.ringing"; 10 | /** This is the set of actions to perform when the hook triggers */ 11 | do: Vapi.PhoneNumberHookCallRingingDoItem[]; 12 | } 13 | -------------------------------------------------------------------------------- /src/api/types/PhoneNumberHookCallRingingDoItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type PhoneNumberHookCallRingingDoItem = Vapi.TransferPhoneNumberHookAction | Vapi.SayPhoneNumberHookAction; 8 | -------------------------------------------------------------------------------- /src/api/types/PhoneNumberPaginatedResponseResultsItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type PhoneNumberPaginatedResponseResultsItem = 8 | | Vapi.ByoPhoneNumber 9 | | Vapi.TwilioPhoneNumber 10 | | Vapi.VonagePhoneNumber 11 | | Vapi.VapiPhoneNumber 12 | | Vapi.TelnyxPhoneNumber; 13 | -------------------------------------------------------------------------------- /src/api/types/PlayHtVoiceId.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | /** 8 | * This is the provider-specific ID that will be used. 9 | */ 10 | export type PlayHtVoiceId = Vapi.PlayHtVoiceIdEnum | string; 11 | -------------------------------------------------------------------------------- /src/api/types/QueryToolMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type QueryToolMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/ResponseCompletedEvent.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export interface ResponseCompletedEvent { 8 | /** The completed response */ 9 | response: Vapi.ResponseObject; 10 | /** Event type */ 11 | type: "response.completed"; 12 | } 13 | -------------------------------------------------------------------------------- /src/api/types/ResponseOutputMessageStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * The status of the message 7 | */ 8 | export type ResponseOutputMessageStatus = "in_progress" | "completed" | "incomplete"; 9 | export const ResponseOutputMessageStatus = { 10 | InProgress: "in_progress", 11 | Completed: "completed", 12 | Incomplete: "incomplete", 13 | } as const; 14 | -------------------------------------------------------------------------------- /src/api/types/ResponseOutputText.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface ResponseOutputText { 6 | /** Annotations in the text output */ 7 | annotations: Record[]; 8 | /** The text output from the model */ 9 | text: string; 10 | /** The type of the output text */ 11 | type: "output_text"; 12 | } 13 | -------------------------------------------------------------------------------- /src/api/types/RimeAiVoiceId.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | /** 8 | * This is the provider-specific ID that will be used. 9 | */ 10 | export type RimeAiVoiceId = Vapi.RimeAiVoiceIdEnum | string; 11 | -------------------------------------------------------------------------------- /src/api/types/RimeAiVoiceModel.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the model that will be used. Defaults to 'v1' when not specified. 7 | */ 8 | export type RimeAiVoiceModel = "v1" | "mist" | "mistv2"; 9 | export const RimeAiVoiceModel = { 10 | V1: "v1", 11 | Mist: "mist", 12 | Mistv2: "mistv2", 13 | } as const; 14 | -------------------------------------------------------------------------------- /src/api/types/SayAssistantHookAction.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface SayAssistantHookAction { 6 | /** This is the type of action - must be "say" */ 7 | type: "say"; 8 | /** This is the message to say */ 9 | exact: Record; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/SayPhoneNumberHookAction.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface SayPhoneNumberHookAction { 6 | /** This is the type of action - must be "say" */ 7 | type: "say"; 8 | /** This is the message to say */ 9 | exact: string; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/SbcConfiguration.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface SbcConfiguration {} 6 | -------------------------------------------------------------------------------- /src/api/types/SchedulePlan.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface SchedulePlan { 6 | /** This is the ISO 8601 date-time string of the earliest time the call can be scheduled. */ 7 | earliestAt: string; 8 | /** This is the ISO 8601 date-time string of the latest time the call can be scheduled. */ 9 | latestAt?: string; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/ServerMessageConversationUpdateMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type ServerMessageConversationUpdateMessagesItem = 8 | | Vapi.UserMessage 9 | | Vapi.SystemMessage 10 | | Vapi.BotMessage 11 | | Vapi.ToolCallMessage 12 | | Vapi.ToolCallResultMessage; 13 | -------------------------------------------------------------------------------- /src/api/types/ServerMessageKnowledgeBaseRequestMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type ServerMessageKnowledgeBaseRequestMessagesItem = 8 | | Vapi.UserMessage 9 | | Vapi.SystemMessage 10 | | Vapi.BotMessage 11 | | Vapi.ToolCallMessage 12 | | Vapi.ToolCallResultMessage; 13 | -------------------------------------------------------------------------------- /src/api/types/ServerMessagePhoneCallControlDestination.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | /** 8 | * This is the destination to forward the call to if the request is "forward". 9 | */ 10 | export type ServerMessagePhoneCallControlDestination = Vapi.TransferDestinationNumber | Vapi.TransferDestinationSip; 11 | -------------------------------------------------------------------------------- /src/api/types/ServerMessagePhoneCallControlRequest.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the request to control the phone call. 7 | */ 8 | export type ServerMessagePhoneCallControlRequest = "forward" | "hang-up"; 9 | export const ServerMessagePhoneCallControlRequest = { 10 | Forward: "forward", 11 | HangUp: "hang-up", 12 | } as const; 13 | -------------------------------------------------------------------------------- /src/api/types/ServerMessageResponseToolCalls.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export interface ServerMessageResponseToolCalls { 8 | /** These are the results of the "tool-calls" message. */ 9 | results?: Vapi.ToolCallResult[]; 10 | /** This is the error message if the tool call was not successful. */ 11 | error?: string; 12 | } 13 | -------------------------------------------------------------------------------- /src/api/types/ServerMessageSpeechUpdateRole.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the role which the speech update is for. 7 | */ 8 | export type ServerMessageSpeechUpdateRole = "assistant" | "user"; 9 | export const ServerMessageSpeechUpdateRole = { 10 | Assistant: "assistant", 11 | User: "user", 12 | } as const; 13 | -------------------------------------------------------------------------------- /src/api/types/ServerMessageSpeechUpdateStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the status of the speech update. 7 | */ 8 | export type ServerMessageSpeechUpdateStatus = "started" | "stopped"; 9 | export const ServerMessageSpeechUpdateStatus = { 10 | Started: "started", 11 | Stopped: "stopped", 12 | } as const; 13 | -------------------------------------------------------------------------------- /src/api/types/ServerMessageStatusUpdateDestination.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | /** 8 | * This is the destination the call is being transferred to. This is only sent if the status is "forwarding". 9 | */ 10 | export type ServerMessageStatusUpdateDestination = Vapi.TransferDestinationNumber | Vapi.TransferDestinationSip; 11 | -------------------------------------------------------------------------------- /src/api/types/ServerMessageStatusUpdateMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type ServerMessageStatusUpdateMessagesItem = 8 | | Vapi.UserMessage 9 | | Vapi.SystemMessage 10 | | Vapi.BotMessage 11 | | Vapi.ToolCallMessage 12 | | Vapi.ToolCallResultMessage; 13 | -------------------------------------------------------------------------------- /src/api/types/ServerMessageTranscriptRole.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the role for which the transcript is for. 7 | */ 8 | export type ServerMessageTranscriptRole = "assistant" | "user"; 9 | export const ServerMessageTranscriptRole = { 10 | Assistant: "assistant", 11 | User: "user", 12 | } as const; 13 | -------------------------------------------------------------------------------- /src/api/types/ServerMessageTranscriptTranscriptType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the type of the transcript. 7 | */ 8 | export type ServerMessageTranscriptTranscriptType = "partial" | "final"; 9 | export const ServerMessageTranscriptTranscriptType = { 10 | Partial: "partial", 11 | Final: "final", 12 | } as const; 13 | -------------------------------------------------------------------------------- /src/api/types/ServerMessageTransferUpdateDestination.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | /** 8 | * This is the destination of the transfer. 9 | */ 10 | export type ServerMessageTransferUpdateDestination = 11 | | Vapi.TransferDestinationAssistant 12 | | Vapi.TransferDestinationNumber 13 | | Vapi.TransferDestinationSip; 14 | -------------------------------------------------------------------------------- /src/api/types/SessionMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type SessionMessagesItem = 8 | | Vapi.SystemMessage 9 | | Vapi.UserMessage 10 | | Vapi.AssistantMessage 11 | | Vapi.ToolMessage 12 | | Vapi.DeveloperMessage; 13 | -------------------------------------------------------------------------------- /src/api/types/SessionPaginatedResponse.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export interface SessionPaginatedResponse { 8 | results: Vapi.Session[]; 9 | metadata: Vapi.PaginationMeta; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/SessionStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the current status of the session. Can be either 'active' or 'completed'. 7 | */ 8 | export type SessionStatus = "active" | "completed"; 9 | export const SessionStatus = { 10 | Active: "active", 11 | Completed: "completed", 12 | } as const; 13 | -------------------------------------------------------------------------------- /src/api/types/SipTrunkOutboundSipRegisterPlan.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface SipTrunkOutboundSipRegisterPlan { 6 | domain?: string; 7 | username?: string; 8 | realm?: string; 9 | } 10 | -------------------------------------------------------------------------------- /src/api/types/SlackSendMessageToolMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type SlackSendMessageToolMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/SmallestAiVoiceId.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | /** 8 | * This is the provider-specific ID that will be used. 9 | */ 10 | export type SmallestAiVoiceId = Vapi.SmallestAiVoiceIdEnum | string; 11 | -------------------------------------------------------------------------------- /src/api/types/SmsToolMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type SmsToolMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/StartSpeakingPlanCustomEndpointingRulesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type StartSpeakingPlanCustomEndpointingRulesItem = 8 | | Vapi.AssistantCustomEndpointingRule 9 | | Vapi.CustomerCustomEndpointingRule 10 | | Vapi.BothCustomEndpointingRule; 11 | -------------------------------------------------------------------------------- /src/api/types/StartSpeakingPlanSmartEndpointingEnabled.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export type StartSpeakingPlanSmartEndpointingEnabled = boolean | "livekit"; 6 | -------------------------------------------------------------------------------- /src/api/types/StructuredDataMultiPlan.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export interface StructuredDataMultiPlan { 8 | /** This is the key of the structured data plan in the catalog. */ 9 | key: string; 10 | /** This is an individual structured data plan in the catalog. */ 11 | plan: Vapi.StructuredDataPlan; 12 | } 13 | -------------------------------------------------------------------------------- /src/api/types/SubscriptionStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the status of the subscription. Past due subscriptions are subscriptions 7 | * with past due payments. 8 | */ 9 | export type SubscriptionStatus = "active" | "frozen"; 10 | export const SubscriptionStatus = { 11 | Active: "active", 12 | Frozen: "frozen", 13 | } as const; 14 | -------------------------------------------------------------------------------- /src/api/types/SyncVoiceLibraryDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export interface SyncVoiceLibraryDto { 8 | /** List of providers you want to sync. */ 9 | providers?: Vapi.SyncVoiceLibraryDtoProvidersItem[]; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/TavusVoiceVoiceId.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the provider-specific ID that will be used. 7 | */ 8 | export type TavusVoiceVoiceId = "r52da2535a" | string; 9 | -------------------------------------------------------------------------------- /src/api/types/TelnyxPhoneNumberStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the status of the phone number. 7 | */ 8 | export type TelnyxPhoneNumberStatus = "active" | "activating" | "blocked"; 9 | export const TelnyxPhoneNumberStatus = { 10 | Active: "active", 11 | Activating: "activating", 12 | Blocked: "blocked", 13 | } as const; 14 | -------------------------------------------------------------------------------- /src/api/types/TemplateProvider.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export type TemplateProvider = "make" | "gohighlevel" | "function"; 6 | export const TemplateProvider = { 7 | Make: "make", 8 | Gohighlevel: "gohighlevel", 9 | Function: "function", 10 | } as const; 11 | -------------------------------------------------------------------------------- /src/api/types/TemplateVisibility.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export type TemplateVisibility = "public" | "private"; 6 | export const TemplateVisibility = { 7 | Public: "public", 8 | Private: "private", 9 | } as const; 10 | -------------------------------------------------------------------------------- /src/api/types/TestSuitePhoneNumber.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface TestSuitePhoneNumber { 6 | /** This is the provider of the phone number. */ 7 | provider: "test-suite"; 8 | /** This is the phone number that is being tested. */ 9 | number: string; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/TestSuiteRunScorerAiResult.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the result of the test suite. 7 | */ 8 | export type TestSuiteRunScorerAiResult = "pass" | "fail"; 9 | export const TestSuiteRunScorerAiResult = { 10 | Pass: "pass", 11 | Fail: "fail", 12 | } as const; 13 | -------------------------------------------------------------------------------- /src/api/types/TestSuiteRunTestAttemptCall.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export interface TestSuiteRunTestAttemptCall { 8 | /** This is the artifact of the call. */ 9 | artifact: Vapi.Artifact; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/TestSuiteRunTestAttemptMetadata.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface TestSuiteRunTestAttemptMetadata { 6 | /** This is the session ID for the test attempt. */ 7 | sessionId: string; 8 | } 9 | -------------------------------------------------------------------------------- /src/api/types/TestSuiteRunTestResult.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export interface TestSuiteRunTestResult { 8 | /** This is the test that was run. */ 9 | test: Vapi.TestSuiteTestVoice; 10 | /** These are the attempts made for this test. */ 11 | attempts: Vapi.TestSuiteRunTestAttempt[]; 12 | } 13 | -------------------------------------------------------------------------------- /src/api/types/TestSuiteRunsPaginatedResponse.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export interface TestSuiteRunsPaginatedResponse { 8 | results: Vapi.TestSuiteRun[]; 9 | metadata: Vapi.PaginationMeta; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/TestSuiteTestScorerAi.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface TestSuiteTestScorerAi { 6 | /** This is the type of the scorer, which must be AI. */ 7 | type: "ai"; 8 | /** This is the rubric used by the AI scorer. */ 9 | rubric: string; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/TestSuiteTestsPaginatedResponse.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export interface TestSuiteTestsPaginatedResponse { 8 | /** A list of test suite tests. */ 9 | results: Vapi.TestSuiteTestsPaginatedResponseResultsItem[]; 10 | /** Metadata about the pagination. */ 11 | metadata: Vapi.PaginationMeta; 12 | } 13 | -------------------------------------------------------------------------------- /src/api/types/TestSuiteTestsPaginatedResponseResultsItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type TestSuiteTestsPaginatedResponseResultsItem = Vapi.TestSuiteTestVoice | Vapi.TestSuiteTestChat; 8 | -------------------------------------------------------------------------------- /src/api/types/TestSuitesPaginatedResponse.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export interface TestSuitesPaginatedResponse { 8 | results: Vapi.TestSuite[]; 9 | metadata: Vapi.PaginationMeta; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/TextContent.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export interface TextContent { 8 | type: "text"; 9 | text: string; 10 | language: Vapi.TextContentLanguage; 11 | } 12 | -------------------------------------------------------------------------------- /src/api/types/TextEditorToolMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type TextEditorToolMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/TextEditorToolWithToolCallMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type TextEditorToolWithToolCallMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/TokenTag.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the tag for the token. It represents its scope. 7 | */ 8 | export type TokenTag = "private" | "public"; 9 | export const TokenTag = { 10 | Private: "private", 11 | Public: "public", 12 | } as const; 13 | -------------------------------------------------------------------------------- /src/api/types/ToolCall.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export interface ToolCall { 8 | /** This is the ID of the tool call */ 9 | id: string; 10 | /** This is the type of tool */ 11 | type: string; 12 | /** This is the function that was called */ 13 | function: Vapi.ToolCallFunction; 14 | } 15 | -------------------------------------------------------------------------------- /src/api/types/ToolCallFunction.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface ToolCallFunction { 6 | /** This is the arguments to call the function with */ 7 | arguments: string; 8 | /** This is the name of the function to call */ 9 | name: string; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/ToolTemplateMetadata.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface ToolTemplateMetadata { 6 | collectionType?: string; 7 | collectionId?: string; 8 | collectionName?: string; 9 | } 10 | -------------------------------------------------------------------------------- /src/api/types/ToolTemplateSetup.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface ToolTemplateSetup { 6 | title: string; 7 | description?: string; 8 | videoUrl?: string; 9 | docsUrl?: string; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/TransferAssistantHookActionDestination.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | /** 8 | * This is the destination details for the transfer - can be a phone number or SIP URI 9 | */ 10 | export type TransferAssistantHookActionDestination = Vapi.TransferDestinationNumber | Vapi.TransferDestinationSip; 11 | -------------------------------------------------------------------------------- /src/api/types/TransferCallToolDestinationsItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type TransferCallToolDestinationsItem = 8 | | Vapi.TransferDestinationAssistant 9 | | Vapi.TransferDestinationNumber 10 | | Vapi.TransferDestinationSip; 11 | -------------------------------------------------------------------------------- /src/api/types/TransferCallToolMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type TransferCallToolMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/TransferFallbackPlanMessage.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | /** 8 | * This is the message the assistant will deliver to the customer if the transfer fails. 9 | */ 10 | export type TransferFallbackPlanMessage = string | Vapi.CustomMessage; 11 | -------------------------------------------------------------------------------- /src/api/types/TransferMode.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export type TransferMode = "rolling-history" | "swap-system-message-in-history"; 6 | export const TransferMode = { 7 | RollingHistory: "rolling-history", 8 | SwapSystemMessageInHistory: "swap-system-message-in-history", 9 | } as const; 10 | -------------------------------------------------------------------------------- /src/api/types/TransferPhoneNumberHookActionDestination.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | /** 8 | * This is the destination details for the transfer - can be a phone number or SIP URI 9 | */ 10 | export type TransferPhoneNumberHookActionDestination = Vapi.TransferDestinationNumber | Vapi.TransferDestinationSip; 11 | -------------------------------------------------------------------------------- /src/api/types/TransportCostProvider.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export type TransportCostProvider = "twilio" | "vonage" | "vapi"; 6 | export const TransportCostProvider = { 7 | Twilio: "twilio", 8 | Vonage: "vonage", 9 | Vapi: "vapi", 10 | } as const; 11 | -------------------------------------------------------------------------------- /src/api/types/TrieveKnowledgeBaseCreate.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export interface TrieveKnowledgeBaseCreate { 8 | /** This is to create a new dataset on Trieve. */ 9 | type: "create"; 10 | /** These are the chunk plans used to create the dataset. */ 11 | chunkPlans: Vapi.TrieveKnowledgeBaseChunkPlan[]; 12 | } 13 | -------------------------------------------------------------------------------- /src/api/types/TrieveKnowledgeBaseImport.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface TrieveKnowledgeBaseImport { 6 | /** This is to import an existing dataset from Trieve. */ 7 | type: "import"; 8 | /** This is the `datasetId` of the dataset on your Trieve account. */ 9 | providerId: string; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/TwilioPhoneNumberStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the status of the phone number. 7 | */ 8 | export type TwilioPhoneNumberStatus = "active" | "activating" | "blocked"; 9 | export const TwilioPhoneNumberStatus = { 10 | Active: "active", 11 | Activating: "activating", 12 | Blocked: "blocked", 13 | } as const; 14 | -------------------------------------------------------------------------------- /src/api/types/UpdateAnthropicCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface UpdateAnthropicCredentialDto { 6 | /** This is not returned in the API. */ 7 | apiKey?: string; 8 | /** This is the name of credential. This is just for your reference. */ 9 | name?: string; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/UpdateAnyscaleCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface UpdateAnyscaleCredentialDto { 6 | /** This is not returned in the API. */ 7 | apiKey?: string; 8 | /** This is the name of credential. This is just for your reference. */ 9 | name?: string; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/UpdateAssemblyAiCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface UpdateAssemblyAiCredentialDto { 6 | /** This is not returned in the API. */ 7 | apiKey?: string; 8 | /** This is the name of credential. This is just for your reference. */ 9 | name?: string; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/UpdateAzureCredentialDtoService.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the service being used in Azure. 7 | */ 8 | export type UpdateAzureCredentialDtoService = "speech" | "blob_storage"; 9 | export const UpdateAzureCredentialDtoService = { 10 | Speech: "speech", 11 | BlobStorage: "blob_storage", 12 | } as const; 13 | -------------------------------------------------------------------------------- /src/api/types/UpdateBashToolDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type UpdateBashToolDtoMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/UpdateCartesiaCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface UpdateCartesiaCredentialDto { 6 | /** This is not returned in the API. */ 7 | apiKey?: string; 8 | /** This is the name of credential. This is just for your reference. */ 9 | name?: string; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/UpdateCerebrasCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface UpdateCerebrasCredentialDto { 6 | /** This is not returned in the API. */ 7 | apiKey?: string; 8 | /** This is the name of credential. This is just for your reference. */ 9 | name?: string; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/UpdateComputerToolDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type UpdateComputerToolDtoMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/UpdateDeepInfraCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface UpdateDeepInfraCredentialDto { 6 | /** This is not returned in the API. */ 7 | apiKey?: string; 8 | /** This is the name of credential. This is just for your reference. */ 9 | name?: string; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/UpdateDeepSeekCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface UpdateDeepSeekCredentialDto { 6 | /** This is not returned in the API. */ 7 | apiKey?: string; 8 | /** This is the name of credential. This is just for your reference. */ 9 | name?: string; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/UpdateDtmfToolDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type UpdateDtmfToolDtoMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/UpdateElevenLabsCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface UpdateElevenLabsCredentialDto { 6 | /** This is not returned in the API. */ 7 | apiKey?: string; 8 | /** This is the name of credential. This is just for your reference. */ 9 | name?: string; 10 | provider?: "11labs"; 11 | } 12 | -------------------------------------------------------------------------------- /src/api/types/UpdateEndCallToolDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type UpdateEndCallToolDtoMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/UpdateFunctionToolDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type UpdateFunctionToolDtoMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/UpdateGhlToolDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type UpdateGhlToolDtoMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/UpdateGladiaCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface UpdateGladiaCredentialDto { 6 | /** This is not returned in the API. */ 7 | apiKey?: string; 8 | /** This is the name of credential. This is just for your reference. */ 9 | name?: string; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/UpdateGoHighLevelCalendarAvailabilityToolDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type UpdateGoHighLevelCalendarAvailabilityToolDtoMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/UpdateGoHighLevelCalendarEventCreateToolDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type UpdateGoHighLevelCalendarEventCreateToolDtoMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/UpdateGoHighLevelContactCreateToolDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type UpdateGoHighLevelContactCreateToolDtoMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/UpdateGoHighLevelContactGetToolDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type UpdateGoHighLevelContactGetToolDtoMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/UpdateGoHighLevelCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface UpdateGoHighLevelCredentialDto { 6 | /** This is not returned in the API. */ 7 | apiKey?: string; 8 | /** This is the name of credential. This is just for your reference. */ 9 | name?: string; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/UpdateGoogleCalendarCheckAvailabilityToolDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type UpdateGoogleCalendarCheckAvailabilityToolDtoMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/UpdateGoogleCalendarCreateEventToolDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type UpdateGoogleCalendarCreateEventToolDtoMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/UpdateGoogleCalendarOAuth2AuthorizationCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface UpdateGoogleCalendarOAuth2AuthorizationCredentialDto { 6 | /** The authorization ID for the OAuth2 authorization */ 7 | authorizationId?: string; 8 | /** This is the name of credential. This is just for your reference. */ 9 | name?: string; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/UpdateGoogleCalendarOAuth2ClientCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface UpdateGoogleCalendarOAuth2ClientCredentialDto { 6 | /** This is the name of credential. This is just for your reference. */ 7 | name?: string; 8 | } 9 | -------------------------------------------------------------------------------- /src/api/types/UpdateGoogleCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface UpdateGoogleCredentialDto { 6 | /** This is not returned in the API. */ 7 | apiKey?: string; 8 | /** This is the name of credential. This is just for your reference. */ 9 | name?: string; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/UpdateGoogleSheetsOAuth2AuthorizationCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface UpdateGoogleSheetsOAuth2AuthorizationCredentialDto { 6 | /** The authorization ID for the OAuth2 authorization */ 7 | authorizationId?: string; 8 | /** This is the name of credential. This is just for your reference. */ 9 | name?: string; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/UpdateGoogleSheetsRowAppendToolDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type UpdateGoogleSheetsRowAppendToolDtoMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/UpdateGroqCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface UpdateGroqCredentialDto { 6 | /** This is not returned in the API. */ 7 | apiKey?: string; 8 | /** This is the name of credential. This is just for your reference. */ 9 | name?: string; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/UpdateHumeCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface UpdateHumeCredentialDto { 6 | /** This is not returned in the API. */ 7 | apiKey?: string; 8 | /** This is the name of credential. This is just for your reference. */ 9 | name?: string; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/UpdateInflectionAiCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface UpdateInflectionAiCredentialDto { 6 | /** This is not returned in the API. */ 7 | apiKey?: string; 8 | /** This is the name of credential. This is just for your reference. */ 9 | name?: string; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/UpdateLmntCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface UpdateLmntCredentialDto { 6 | /** This is not returned in the API. */ 7 | apiKey?: string; 8 | /** This is the name of credential. This is just for your reference. */ 9 | name?: string; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/UpdateMakeToolDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type UpdateMakeToolDtoMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/UpdateMcpToolDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type UpdateMcpToolDtoMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/UpdateMistralCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface UpdateMistralCredentialDto { 6 | /** This is not returned in the API. */ 7 | apiKey?: string; 8 | /** This is the name of credential. This is just for your reference. */ 9 | name?: string; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/UpdateNeuphonicCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface UpdateNeuphonicCredentialDto { 6 | /** This is not returned in the API. */ 7 | apiKey?: string; 8 | /** This is the name of credential. This is just for your reference. */ 9 | name?: string; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/UpdateOpenAiCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface UpdateOpenAiCredentialDto { 6 | /** This is not returned in the API. */ 7 | apiKey?: string; 8 | /** This is the name of credential. This is just for your reference. */ 9 | name?: string; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/UpdateOpenRouterCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface UpdateOpenRouterCredentialDto { 6 | /** This is not returned in the API. */ 7 | apiKey?: string; 8 | /** This is the name of credential. This is just for your reference. */ 9 | name?: string; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/UpdateOrgDtoChannel.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the channel of the org. There is the cluster the API traffic for the org will be directed. 7 | */ 8 | export type UpdateOrgDtoChannel = "default" | "weekly"; 9 | export const UpdateOrgDtoChannel = { 10 | Default: "default", 11 | Weekly: "weekly", 12 | } as const; 13 | -------------------------------------------------------------------------------- /src/api/types/UpdateOutputToolDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type UpdateOutputToolDtoMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/UpdatePerplexityAiCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface UpdatePerplexityAiCredentialDto { 6 | /** This is not returned in the API. */ 7 | apiKey?: string; 8 | /** This is the name of credential. This is just for your reference. */ 9 | name?: string; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/UpdatePlayHtCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface UpdatePlayHtCredentialDto { 6 | /** This is not returned in the API. */ 7 | apiKey?: string; 8 | /** This is the name of credential. This is just for your reference. */ 9 | name?: string; 10 | userId?: string; 11 | } 12 | -------------------------------------------------------------------------------- /src/api/types/UpdateQueryToolDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type UpdateQueryToolDtoMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/UpdateRimeAiCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface UpdateRimeAiCredentialDto { 6 | /** This is not returned in the API. */ 7 | apiKey?: string; 8 | /** This is the name of credential. This is just for your reference. */ 9 | name?: string; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/UpdateRunpodCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface UpdateRunpodCredentialDto { 6 | /** This is not returned in the API. */ 7 | apiKey?: string; 8 | /** This is the name of credential. This is just for your reference. */ 9 | name?: string; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/UpdateSlackOAuth2AuthorizationCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface UpdateSlackOAuth2AuthorizationCredentialDto { 6 | /** The authorization ID for the OAuth2 authorization */ 7 | authorizationId?: string; 8 | /** This is the name of credential. This is just for your reference. */ 9 | name?: string; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/UpdateSlackSendMessageToolDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type UpdateSlackSendMessageToolDtoMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/UpdateSmallestAiCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface UpdateSmallestAiCredentialDto { 6 | /** This is not returned in the API. */ 7 | apiKey?: string; 8 | /** This is the name of credential. This is just for your reference. */ 9 | name?: string; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/UpdateSmsToolDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type UpdateSmsToolDtoMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/UpdateSpeechmaticsCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface UpdateSpeechmaticsCredentialDto { 6 | /** This is not returned in the API. */ 7 | apiKey?: string; 8 | /** This is the name of credential. This is just for your reference. */ 9 | name?: string; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/UpdateSupabaseCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export interface UpdateSupabaseCredentialDto { 8 | /** This is the name of credential. This is just for your reference. */ 9 | name?: string; 10 | bucketPlan?: Vapi.SupabaseBucketPlan; 11 | } 12 | -------------------------------------------------------------------------------- /src/api/types/UpdateTavusCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface UpdateTavusCredentialDto { 6 | /** This is not returned in the API. */ 7 | apiKey?: string; 8 | /** This is the name of credential. This is just for your reference. */ 9 | name?: string; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/UpdateTextEditorToolDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type UpdateTextEditorToolDtoMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/UpdateTogetherAiCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface UpdateTogetherAiCredentialDto { 6 | /** This is not returned in the API. */ 7 | apiKey?: string; 8 | /** This is the name of credential. This is just for your reference. */ 9 | name?: string; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/UpdateTokenDtoTag.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the tag for the token. It represents its scope. 7 | */ 8 | export type UpdateTokenDtoTag = "private" | "public"; 9 | export const UpdateTokenDtoTag = { 10 | Private: "private", 11 | Public: "public", 12 | } as const; 13 | -------------------------------------------------------------------------------- /src/api/types/UpdateToolTemplateDtoProvider.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export type UpdateToolTemplateDtoProvider = "make" | "gohighlevel" | "function"; 6 | export const UpdateToolTemplateDtoProvider = { 7 | Make: "make", 8 | Gohighlevel: "gohighlevel", 9 | Function: "function", 10 | } as const; 11 | -------------------------------------------------------------------------------- /src/api/types/UpdateToolTemplateDtoVisibility.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export type UpdateToolTemplateDtoVisibility = "public" | "private"; 6 | export const UpdateToolTemplateDtoVisibility = { 7 | Public: "public", 8 | Private: "private", 9 | } as const; 10 | -------------------------------------------------------------------------------- /src/api/types/UpdateTransferCallToolDtoDestinationsItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type UpdateTransferCallToolDtoDestinationsItem = 8 | | Vapi.TransferDestinationAssistant 9 | | Vapi.TransferDestinationNumber 10 | | Vapi.TransferDestinationSip; 11 | -------------------------------------------------------------------------------- /src/api/types/UpdateTransferCallToolDtoMessagesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type UpdateTransferCallToolDtoMessagesItem = 8 | | Vapi.ToolMessageStart 9 | | Vapi.ToolMessageComplete 10 | | Vapi.ToolMessageFailed 11 | | Vapi.ToolMessageDelayed; 12 | -------------------------------------------------------------------------------- /src/api/types/UpdateTrieveCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface UpdateTrieveCredentialDto { 6 | /** This is not returned in the API. */ 7 | apiKey?: string; 8 | /** This is the name of credential. This is just for your reference. */ 9 | name?: string; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/UpdateUserRoleDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export interface UpdateUserRoleDto { 8 | userId: string; 9 | role: Vapi.UpdateUserRoleDtoRole; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/UpdateUserRoleDtoRole.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export type UpdateUserRoleDtoRole = "admin" | "editor" | "viewer"; 6 | export const UpdateUserRoleDtoRole = { 7 | Admin: "admin", 8 | Editor: "editor", 9 | Viewer: "viewer", 10 | } as const; 11 | -------------------------------------------------------------------------------- /src/api/types/UpdateVonageCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface UpdateVonageCredentialDto { 6 | /** This is not returned in the API. */ 7 | apiSecret?: string; 8 | /** This is the name of credential. This is just for your reference. */ 9 | name?: string; 10 | apiKey?: string; 11 | } 12 | -------------------------------------------------------------------------------- /src/api/types/UpdateXAiCredentialDto.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface UpdateXAiCredentialDto { 6 | /** This is not returned in the API. */ 7 | apiKey?: string; 8 | /** This is the name of credential. This is just for your reference. */ 9 | name?: string; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/VapiCostSubType.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the sub type of the cost. 7 | */ 8 | export type VapiCostSubType = "normal" | "overage"; 9 | export const VapiCostSubType = { 10 | Normal: "normal", 11 | Overage: "overage", 12 | } as const; 13 | -------------------------------------------------------------------------------- /src/api/types/VapiPhoneNumberStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the status of the phone number. 7 | */ 8 | export type VapiPhoneNumberStatus = "active" | "activating" | "blocked"; 9 | export const VapiPhoneNumberStatus = { 10 | Active: "active", 11 | Activating: "activating", 12 | Blocked: "blocked", 13 | } as const; 14 | -------------------------------------------------------------------------------- /src/api/types/VapiSmartEndpointingPlan.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export interface VapiSmartEndpointingPlan { 8 | /** This is the provider for the smart endpointing plan. */ 9 | provider: Vapi.VapiSmartEndpointingPlanProvider; 10 | } 11 | -------------------------------------------------------------------------------- /src/api/types/VapiSmartEndpointingPlanProvider.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the provider for the smart endpointing plan. 7 | */ 8 | export type VapiSmartEndpointingPlanProvider = "vapi" | "livekit"; 9 | export const VapiSmartEndpointingPlanProvider = { 10 | Vapi: "vapi", 11 | Livekit: "livekit", 12 | } as const; 13 | -------------------------------------------------------------------------------- /src/api/types/VariableExtractionPlan.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface VariableExtractionPlan {} 6 | -------------------------------------------------------------------------------- /src/api/types/VoiceLibraryGender.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * The gender of the voice. 7 | */ 8 | export type VoiceLibraryGender = "male" | "female"; 9 | export const VoiceLibraryGender = { 10 | Male: "male", 11 | Female: "female", 12 | } as const; 13 | -------------------------------------------------------------------------------- /src/api/types/VoiceLibraryVoiceResponse.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export interface VoiceLibraryVoiceResponse { 6 | voiceId: string; 7 | name: string; 8 | publicOwnerId?: string; 9 | description?: string; 10 | gender?: string; 11 | age?: Record; 12 | accent?: string; 13 | } 14 | -------------------------------------------------------------------------------- /src/api/types/VonagePhoneNumberStatus.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the status of the phone number. 7 | */ 8 | export type VonagePhoneNumberStatus = "active" | "activating" | "blocked"; 9 | export const VonagePhoneNumberStatus = { 10 | Active: "active", 11 | Activating: "activating", 12 | Blocked: "blocked", 13 | } as const; 14 | -------------------------------------------------------------------------------- /src/api/types/WorkflowModel.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | /** 8 | * These are the options for the workflow's LLM. 9 | */ 10 | export type WorkflowModel = Vapi.WorkflowOpenAiModel | Vapi.WorkflowAnthropicModel; 11 | -------------------------------------------------------------------------------- /src/api/types/WorkflowNodesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type WorkflowNodesItem = Vapi.ConversationNode | Vapi.ToolNode; 8 | -------------------------------------------------------------------------------- /src/api/types/WorkflowUserEditable.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export interface WorkflowUserEditable { 8 | nodes: Vapi.WorkflowUserEditableNodesItem[]; 9 | /** These are the options for the workflow's LLM. */ 10 | model?: Vapi.WorkflowUserEditableModel; 11 | name: string; 12 | edges: Vapi.Edge[]; 13 | } 14 | -------------------------------------------------------------------------------- /src/api/types/WorkflowUserEditableModel.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | /** 8 | * These are the options for the workflow's LLM. 9 | */ 10 | export type WorkflowUserEditableModel = Vapi.WorkflowOpenAiModel | Vapi.WorkflowAnthropicModel; 11 | -------------------------------------------------------------------------------- /src/api/types/WorkflowUserEditableNodesItem.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | import * as Vapi from "../index"; 6 | 7 | export type WorkflowUserEditableNodesItem = Vapi.ConversationNode | Vapi.ToolNode; 8 | -------------------------------------------------------------------------------- /src/api/types/XaiModelModel.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | /** 6 | * This is the name of the model. Ex. cognitivecomputations/dolphin-mixtral-8x7b 7 | */ 8 | export type XaiModelModel = "grok-beta" | "grok-2" | "grok-3"; 9 | export const XaiModelModel = { 10 | GrokBeta: "grok-beta", 11 | Grok2: "grok-2", 12 | Grok3: "grok-3", 13 | } as const; 14 | -------------------------------------------------------------------------------- /src/core/auth/index.ts: -------------------------------------------------------------------------------- 1 | export { BasicAuth } from "./BasicAuth"; 2 | export { BearerToken } from "./BearerToken"; 3 | -------------------------------------------------------------------------------- /src/core/fetcher/Supplier.ts: -------------------------------------------------------------------------------- 1 | export type Supplier = T | Promise | (() => T | Promise); 2 | 3 | export const Supplier = { 4 | get: async (supplier: Supplier): Promise => { 5 | if (typeof supplier === "function") { 6 | return (supplier as () => T)(); 7 | } else { 8 | return supplier; 9 | } 10 | }, 11 | }; 12 | -------------------------------------------------------------------------------- /src/core/fetcher/createRequestUrl.ts: -------------------------------------------------------------------------------- 1 | import qs from "qs"; 2 | 3 | export function createRequestUrl( 4 | baseUrl: string, 5 | queryParameters?: Record, 6 | ): string { 7 | return Object.keys(queryParameters ?? {}).length > 0 8 | ? `${baseUrl}?${qs.stringify(queryParameters, { arrayFormat: "repeat" })}` 9 | : baseUrl; 10 | } 11 | -------------------------------------------------------------------------------- /src/core/fetcher/getHeader.ts: -------------------------------------------------------------------------------- 1 | export function getHeader(headers: Record, header: string): string | undefined { 2 | for (const [headerKey, headerValue] of Object.entries(headers)) { 3 | if (headerKey.toLowerCase() === header.toLowerCase()) { 4 | return headerValue; 5 | } 6 | } 7 | return undefined; 8 | } 9 | -------------------------------------------------------------------------------- /src/core/form-data-utils/index.ts: -------------------------------------------------------------------------------- 1 | export { encodeAsFormParameter } from "./encodeAsFormParameter"; 2 | export * from "./FormDataWrapper"; 3 | -------------------------------------------------------------------------------- /src/core/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./fetcher"; 2 | export * from "./auth"; 3 | export * from "./runtime"; 4 | export * from "./form-data-utils"; 5 | export * from "./utils"; 6 | export * from "./pagination"; 7 | -------------------------------------------------------------------------------- /src/core/pagination/index.ts: -------------------------------------------------------------------------------- 1 | export { Page } from "./Page"; 2 | export { Pageable } from "./Pageable"; 3 | -------------------------------------------------------------------------------- /src/core/runtime/index.ts: -------------------------------------------------------------------------------- 1 | export { RUNTIME } from "./runtime"; 2 | -------------------------------------------------------------------------------- /src/core/utils/index.ts: -------------------------------------------------------------------------------- 1 | export { setObjectProperty } from "./setObjectProperty"; 2 | -------------------------------------------------------------------------------- /src/environments.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export const VapiEnvironment = { 6 | Default: "https://api.vapi.ai", 7 | } as const; 8 | 9 | export type VapiEnvironment = typeof VapiEnvironment.Default; 10 | -------------------------------------------------------------------------------- /src/errors/VapiTimeoutError.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This file was auto-generated by Fern from our API Definition. 3 | */ 4 | 5 | export class VapiTimeoutError extends Error { 6 | constructor(message: string) { 7 | super(message); 8 | Object.setPrototypeOf(this, VapiTimeoutError.prototype); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/errors/index.ts: -------------------------------------------------------------------------------- 1 | export { VapiError } from "./VapiError"; 2 | export { VapiTimeoutError } from "./VapiTimeoutError"; 3 | -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- 1 | export * as Vapi from "./api"; 2 | export { VapiClient } from "./Client"; 3 | export { VapiEnvironment } from "./environments"; 4 | export { VapiError, VapiTimeoutError } from "./errors"; 5 | -------------------------------------------------------------------------------- /src/version.ts: -------------------------------------------------------------------------------- 1 | export const SDK_VERSION = "0.9.1"; 2 | -------------------------------------------------------------------------------- /tests/custom.test.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This is a custom test file, if you wish to add more tests 3 | * to your SDK. 4 | * Be sure to mark this file in `.fernignore`. 5 | * 6 | * If you include example requests/responses in your fern definition, 7 | * you will have tests automatically generated for you. 8 | */ 9 | describe("test", () => { 10 | it("default", () => { 11 | expect(true).toBe(true); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /tests/unit/fetcher/test-file.txt: -------------------------------------------------------------------------------- 1 | This is a test file! 2 | --------------------------------------------------------------------------------