@l7mp/tivadar-ai-api-sdk 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +35 -0
- package/README.md +219 -0
- package/dist/api-client.d.ts +150 -0
- package/dist/api-client.js +173 -0
- package/dist/apis/CalendarApi.d.ts +140 -0
- package/dist/apis/CalendarApi.js +425 -0
- package/dist/apis/ChatAgentsApi.d.ts +78 -0
- package/dist/apis/ChatAgentsApi.js +239 -0
- package/dist/apis/HistoryApi.d.ts +53 -0
- package/dist/apis/HistoryApi.js +151 -0
- package/dist/apis/InvitationsApi.d.ts +52 -0
- package/dist/apis/InvitationsApi.js +150 -0
- package/dist/apis/LLMProvidersApi.d.ts +31 -0
- package/dist/apis/LLMProvidersApi.js +72 -0
- package/dist/apis/MembersApi.d.ts +29 -0
- package/dist/apis/MembersApi.js +70 -0
- package/dist/apis/OrganizationsApi.d.ts +37 -0
- package/dist/apis/OrganizationsApi.js +104 -0
- package/dist/apis/PlaygroundApi.d.ts +30 -0
- package/dist/apis/PlaygroundApi.js +74 -0
- package/dist/apis/RAGApi.d.ts +132 -0
- package/dist/apis/RAGApi.js +433 -0
- package/dist/apis/RecordingsApi.d.ts +30 -0
- package/dist/apis/RecordingsApi.js +74 -0
- package/dist/apis/SIPApi.d.ts +85 -0
- package/dist/apis/SIPApi.js +267 -0
- package/dist/apis/STTProvidersApi.d.ts +31 -0
- package/dist/apis/STTProvidersApi.js +72 -0
- package/dist/apis/SubscriptionApi.d.ts +169 -0
- package/dist/apis/SubscriptionApi.js +490 -0
- package/dist/apis/TTSProvidersApi.d.ts +31 -0
- package/dist/apis/TTSProvidersApi.js +72 -0
- package/dist/apis/VoiceAgentsApi.d.ts +89 -0
- package/dist/apis/VoiceAgentsApi.js +276 -0
- package/dist/apis/index.d.ts +15 -0
- package/dist/apis/index.js +33 -0
- package/dist/esm/api-client.d.ts +150 -0
- package/dist/esm/api-client.js +169 -0
- package/dist/esm/apis/CalendarApi.d.ts +140 -0
- package/dist/esm/apis/CalendarApi.js +421 -0
- package/dist/esm/apis/ChatAgentsApi.d.ts +78 -0
- package/dist/esm/apis/ChatAgentsApi.js +235 -0
- package/dist/esm/apis/HistoryApi.d.ts +53 -0
- package/dist/esm/apis/HistoryApi.js +147 -0
- package/dist/esm/apis/InvitationsApi.d.ts +52 -0
- package/dist/esm/apis/InvitationsApi.js +146 -0
- package/dist/esm/apis/LLMProvidersApi.d.ts +31 -0
- package/dist/esm/apis/LLMProvidersApi.js +68 -0
- package/dist/esm/apis/MembersApi.d.ts +29 -0
- package/dist/esm/apis/MembersApi.js +66 -0
- package/dist/esm/apis/OrganizationsApi.d.ts +37 -0
- package/dist/esm/apis/OrganizationsApi.js +100 -0
- package/dist/esm/apis/PlaygroundApi.d.ts +30 -0
- package/dist/esm/apis/PlaygroundApi.js +70 -0
- package/dist/esm/apis/RAGApi.d.ts +132 -0
- package/dist/esm/apis/RAGApi.js +429 -0
- package/dist/esm/apis/RecordingsApi.d.ts +30 -0
- package/dist/esm/apis/RecordingsApi.js +70 -0
- package/dist/esm/apis/SIPApi.d.ts +85 -0
- package/dist/esm/apis/SIPApi.js +263 -0
- package/dist/esm/apis/STTProvidersApi.d.ts +31 -0
- package/dist/esm/apis/STTProvidersApi.js +68 -0
- package/dist/esm/apis/SubscriptionApi.d.ts +169 -0
- package/dist/esm/apis/SubscriptionApi.js +486 -0
- package/dist/esm/apis/TTSProvidersApi.d.ts +31 -0
- package/dist/esm/apis/TTSProvidersApi.js +68 -0
- package/dist/esm/apis/VoiceAgentsApi.d.ts +89 -0
- package/dist/esm/apis/VoiceAgentsApi.js +272 -0
- package/dist/esm/apis/index.d.ts +15 -0
- package/dist/esm/apis/index.js +17 -0
- package/dist/esm/index.d.ts +15 -0
- package/dist/esm/index.js +17 -0
- package/dist/esm/models/BillingPortalRequest.d.ts +32 -0
- package/dist/esm/models/BillingPortalRequest.js +43 -0
- package/dist/esm/models/BillingPortalResponse.d.ts +32 -0
- package/dist/esm/models/BillingPortalResponse.js +43 -0
- package/dist/esm/models/Calendar.d.ts +56 -0
- package/dist/esm/models/Calendar.js +59 -0
- package/dist/esm/models/CalendarEvent.d.ts +62 -0
- package/dist/esm/models/CalendarEvent.js +61 -0
- package/dist/esm/models/CalendarEventCreate.d.ts +56 -0
- package/dist/esm/models/CalendarEventCreate.js +57 -0
- package/dist/esm/models/CalendarEventResponse.d.ts +40 -0
- package/dist/esm/models/CalendarEventResponse.js +45 -0
- package/dist/esm/models/CalendarEventUpdate.d.ts +56 -0
- package/dist/esm/models/CalendarEventUpdate.js +49 -0
- package/dist/esm/models/CalendarListResponse.d.ts +33 -0
- package/dist/esm/models/CalendarListResponse.js +44 -0
- package/dist/esm/models/CalendarWithAgent.d.ts +44 -0
- package/dist/esm/models/CalendarWithAgent.js +51 -0
- package/dist/esm/models/CancelSubscriptionRequest.d.ts +38 -0
- package/dist/esm/models/CancelSubscriptionRequest.js +43 -0
- package/dist/esm/models/CancelSubscriptionResponse.d.ts +56 -0
- package/dist/esm/models/CancelSubscriptionResponse.js +49 -0
- package/dist/esm/models/ChatAgent.d.ts +88 -0
- package/dist/esm/models/ChatAgent.js +66 -0
- package/dist/esm/models/ChatAgentCreate.d.ts +64 -0
- package/dist/esm/models/ChatAgentCreate.js +55 -0
- package/dist/esm/models/ChatAgentUpdate.d.ts +64 -0
- package/dist/esm/models/ChatAgentUpdate.js +53 -0
- package/dist/esm/models/CheckoutSessionResponse.d.ts +38 -0
- package/dist/esm/models/CheckoutSessionResponse.js +47 -0
- package/dist/esm/models/CreateCheckoutSessionRequest.d.ts +50 -0
- package/dist/esm/models/CreateCheckoutSessionRequest.js +51 -0
- package/dist/esm/models/CreditBalance.d.ts +68 -0
- package/dist/esm/models/CreditBalance.js +61 -0
- package/dist/esm/models/CreditTransaction.d.ts +98 -0
- package/dist/esm/models/CreditTransaction.js +84 -0
- package/dist/esm/models/CreditTransactionsResponse.d.ts +39 -0
- package/dist/esm/models/CreditTransactionsResponse.js +44 -0
- package/dist/esm/models/DispatchRuleCreate.d.ts +38 -0
- package/dist/esm/models/DispatchRuleCreate.js +47 -0
- package/dist/esm/models/HistoryConversation.d.ts +81 -0
- package/dist/esm/models/HistoryConversation.js +58 -0
- package/dist/esm/models/HistoryMessage.d.ts +44 -0
- package/dist/esm/models/HistoryMessage.js +45 -0
- package/dist/esm/models/HistorySummary.d.ts +74 -0
- package/dist/esm/models/HistorySummary.js +55 -0
- package/dist/esm/models/InvitationAccept.d.ts +32 -0
- package/dist/esm/models/InvitationAccept.js +43 -0
- package/dist/esm/models/InvitationCreate.d.ts +46 -0
- package/dist/esm/models/InvitationCreate.js +54 -0
- package/dist/esm/models/InvitationResponse.d.ts +38 -0
- package/dist/esm/models/InvitationResponse.js +43 -0
- package/dist/esm/models/LlmAgent.d.ts +87 -0
- package/dist/esm/models/LlmAgent.js +60 -0
- package/dist/esm/models/LlmAgentInput.d.ts +87 -0
- package/dist/esm/models/LlmAgentInput.js +62 -0
- package/dist/esm/models/LlmAgentUpdateInput.d.ts +87 -0
- package/dist/esm/models/LlmAgentUpdateInput.js +60 -0
- package/dist/esm/models/LlmConfig.d.ts +44 -0
- package/dist/esm/models/LlmConfig.js +45 -0
- package/dist/esm/models/Member.d.ts +62 -0
- package/dist/esm/models/Member.js +57 -0
- package/dist/esm/models/Organization.d.ts +56 -0
- package/dist/esm/models/Organization.js +51 -0
- package/dist/esm/models/OrganizationCreate.d.ts +38 -0
- package/dist/esm/models/OrganizationCreate.js +45 -0
- package/dist/esm/models/OrganizationUpdate.d.ts +38 -0
- package/dist/esm/models/OrganizationUpdate.js +43 -0
- package/dist/esm/models/OrganizationsOrganizationIdConversationsGet200Response.d.ts +39 -0
- package/dist/esm/models/OrganizationsOrganizationIdConversationsGet200Response.js +44 -0
- package/dist/esm/models/OrganizationsOrganizationIdLlmProvidersGet200ResponseInner.d.ts +74 -0
- package/dist/esm/models/OrganizationsOrganizationIdLlmProvidersGet200ResponseInner.js +55 -0
- package/dist/esm/models/OrganizationsOrganizationIdSipDispatchRulesPost200Response.d.ts +32 -0
- package/dist/esm/models/OrganizationsOrganizationIdSipDispatchRulesPost200Response.js +41 -0
- package/dist/esm/models/OrganizationsOrganizationIdSttProvidersGet200ResponseInner.d.ts +44 -0
- package/dist/esm/models/OrganizationsOrganizationIdSttProvidersGet200ResponseInner.js +45 -0
- package/dist/esm/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInner.d.ts +45 -0
- package/dist/esm/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInner.js +46 -0
- package/dist/esm/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerVoicesInner.d.ts +44 -0
- package/dist/esm/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerVoicesInner.js +45 -0
- package/dist/esm/models/OrganizationsOrganizationIdVoiceAgentsBasicGet200ResponseInner.d.ts +38 -0
- package/dist/esm/models/OrganizationsOrganizationIdVoiceAgentsBasicGet200ResponseInner.js +43 -0
- package/dist/esm/models/PauseSubscriptionRequest.d.ts +32 -0
- package/dist/esm/models/PauseSubscriptionRequest.js +41 -0
- package/dist/esm/models/PauseSubscriptionResponse.d.ts +51 -0
- package/dist/esm/models/PauseSubscriptionResponse.js +48 -0
- package/dist/esm/models/PauseSubscriptionResponsePauseCollection.d.ts +38 -0
- package/dist/esm/models/PauseSubscriptionResponsePauseCollection.js +43 -0
- package/dist/esm/models/PhoneNumber.d.ts +50 -0
- package/dist/esm/models/PhoneNumber.js +47 -0
- package/dist/esm/models/RagConfig.d.ts +112 -0
- package/dist/esm/models/RagConfig.js +87 -0
- package/dist/esm/models/RagConfigCreate.d.ts +38 -0
- package/dist/esm/models/RagConfigCreate.js +45 -0
- package/dist/esm/models/RagDocument.d.ts +104 -0
- package/dist/esm/models/RagDocument.js +78 -0
- package/dist/esm/models/RagDocumentChunk.d.ts +52 -0
- package/dist/esm/models/RagDocumentChunk.js +51 -0
- package/dist/esm/models/RagDocumentChunkList.d.ts +51 -0
- package/dist/esm/models/RagDocumentChunkList.js +56 -0
- package/dist/esm/models/RagDocumentList.d.ts +39 -0
- package/dist/esm/models/RagDocumentList.js +48 -0
- package/dist/esm/models/RecordingSignedUrl.d.ts +32 -0
- package/dist/esm/models/RecordingSignedUrl.js +41 -0
- package/dist/esm/models/ResumeSubscriptionResponse.d.ts +50 -0
- package/dist/esm/models/ResumeSubscriptionResponse.js +47 -0
- package/dist/esm/models/SandboxToken.d.ts +32 -0
- package/dist/esm/models/SandboxToken.js +41 -0
- package/dist/esm/models/SipTrunk.d.ts +62 -0
- package/dist/esm/models/SipTrunk.js +57 -0
- package/dist/esm/models/SipTrunkCreate.d.ts +32 -0
- package/dist/esm/models/SipTrunkCreate.js +43 -0
- package/dist/esm/models/SipTrunkWithAgent.d.ts +69 -0
- package/dist/esm/models/SipTrunkWithAgent.js +60 -0
- package/dist/esm/models/SipTrunkWithAgentAllOfAgents.d.ts +32 -0
- package/dist/esm/models/SipTrunkWithAgentAllOfAgents.js +41 -0
- package/dist/esm/models/SubscriptionDetails.d.ts +142 -0
- package/dist/esm/models/SubscriptionDetails.js +86 -0
- package/dist/esm/models/SubscriptionStatus.d.ts +53 -0
- package/dist/esm/models/SubscriptionStatus.js +52 -0
- package/dist/esm/models/SubscriptionStatusPlan.d.ts +56 -0
- package/dist/esm/models/SubscriptionStatusPlan.js +49 -0
- package/dist/esm/models/SubscriptionStatusService.d.ts +44 -0
- package/dist/esm/models/SubscriptionStatusService.js +45 -0
- package/dist/esm/models/SubscriptionStatusSubscription.d.ts +76 -0
- package/dist/esm/models/SubscriptionStatusSubscription.js +64 -0
- package/dist/esm/models/ToolConfig.d.ts +46 -0
- package/dist/esm/models/ToolConfig.js +49 -0
- package/dist/esm/models/UnpauseSubscriptionResponse.d.ts +50 -0
- package/dist/esm/models/UnpauseSubscriptionResponse.js +47 -0
- package/dist/esm/models/UpdatePlanRequest.d.ts +44 -0
- package/dist/esm/models/UpdatePlanRequest.js +45 -0
- package/dist/esm/models/UpdatePlanResponse.d.ts +50 -0
- package/dist/esm/models/UpdatePlanResponse.js +47 -0
- package/dist/esm/models/VoiceAgent.d.ts +118 -0
- package/dist/esm/models/VoiceAgent.js +75 -0
- package/dist/esm/models/VoiceAgentCreate.d.ts +106 -0
- package/dist/esm/models/VoiceAgentCreate.js +69 -0
- package/dist/esm/models/VoiceAgentMetadata.d.ts +38 -0
- package/dist/esm/models/VoiceAgentMetadata.js +43 -0
- package/dist/esm/models/VoiceAgentUpdate.d.ts +100 -0
- package/dist/esm/models/VoiceAgentUpdate.js +65 -0
- package/dist/esm/models/VoiceAgentWithSipTrunks.d.ts +125 -0
- package/dist/esm/models/VoiceAgentWithSipTrunks.js +78 -0
- package/dist/esm/models/VoiceAgentWithSipTrunksAllOfSipTrunks.d.ts +32 -0
- package/dist/esm/models/VoiceAgentWithSipTrunksAllOfSipTrunks.js +41 -0
- package/dist/esm/models/WidgetConfig.d.ts +65 -0
- package/dist/esm/models/WidgetConfig.js +57 -0
- package/dist/esm/models/WidgetPosition.d.ts +27 -0
- package/dist/esm/models/WidgetPosition.js +45 -0
- package/dist/esm/models/index.d.ts +74 -0
- package/dist/esm/models/index.js +76 -0
- package/dist/esm/runtime.d.ts +184 -0
- package/dist/esm/runtime.js +334 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +33 -0
- package/dist/models/BillingPortalRequest.d.ts +32 -0
- package/dist/models/BillingPortalRequest.js +50 -0
- package/dist/models/BillingPortalResponse.d.ts +32 -0
- package/dist/models/BillingPortalResponse.js +50 -0
- package/dist/models/Calendar.d.ts +56 -0
- package/dist/models/Calendar.js +66 -0
- package/dist/models/CalendarEvent.d.ts +62 -0
- package/dist/models/CalendarEvent.js +68 -0
- package/dist/models/CalendarEventCreate.d.ts +56 -0
- package/dist/models/CalendarEventCreate.js +64 -0
- package/dist/models/CalendarEventResponse.d.ts +40 -0
- package/dist/models/CalendarEventResponse.js +52 -0
- package/dist/models/CalendarEventUpdate.d.ts +56 -0
- package/dist/models/CalendarEventUpdate.js +56 -0
- package/dist/models/CalendarListResponse.d.ts +33 -0
- package/dist/models/CalendarListResponse.js +51 -0
- package/dist/models/CalendarWithAgent.d.ts +44 -0
- package/dist/models/CalendarWithAgent.js +58 -0
- package/dist/models/CancelSubscriptionRequest.d.ts +38 -0
- package/dist/models/CancelSubscriptionRequest.js +50 -0
- package/dist/models/CancelSubscriptionResponse.d.ts +56 -0
- package/dist/models/CancelSubscriptionResponse.js +56 -0
- package/dist/models/ChatAgent.d.ts +88 -0
- package/dist/models/ChatAgent.js +73 -0
- package/dist/models/ChatAgentCreate.d.ts +64 -0
- package/dist/models/ChatAgentCreate.js +62 -0
- package/dist/models/ChatAgentUpdate.d.ts +64 -0
- package/dist/models/ChatAgentUpdate.js +60 -0
- package/dist/models/CheckoutSessionResponse.d.ts +38 -0
- package/dist/models/CheckoutSessionResponse.js +54 -0
- package/dist/models/CreateCheckoutSessionRequest.d.ts +50 -0
- package/dist/models/CreateCheckoutSessionRequest.js +58 -0
- package/dist/models/CreditBalance.d.ts +68 -0
- package/dist/models/CreditBalance.js +68 -0
- package/dist/models/CreditTransaction.d.ts +98 -0
- package/dist/models/CreditTransaction.js +92 -0
- package/dist/models/CreditTransactionsResponse.d.ts +39 -0
- package/dist/models/CreditTransactionsResponse.js +51 -0
- package/dist/models/DispatchRuleCreate.d.ts +38 -0
- package/dist/models/DispatchRuleCreate.js +54 -0
- package/dist/models/HistoryConversation.d.ts +81 -0
- package/dist/models/HistoryConversation.js +65 -0
- package/dist/models/HistoryMessage.d.ts +44 -0
- package/dist/models/HistoryMessage.js +52 -0
- package/dist/models/HistorySummary.d.ts +74 -0
- package/dist/models/HistorySummary.js +62 -0
- package/dist/models/InvitationAccept.d.ts +32 -0
- package/dist/models/InvitationAccept.js +50 -0
- package/dist/models/InvitationCreate.d.ts +46 -0
- package/dist/models/InvitationCreate.js +62 -0
- package/dist/models/InvitationResponse.d.ts +38 -0
- package/dist/models/InvitationResponse.js +50 -0
- package/dist/models/LlmAgent.d.ts +87 -0
- package/dist/models/LlmAgent.js +67 -0
- package/dist/models/LlmAgentInput.d.ts +87 -0
- package/dist/models/LlmAgentInput.js +69 -0
- package/dist/models/LlmAgentUpdateInput.d.ts +87 -0
- package/dist/models/LlmAgentUpdateInput.js +67 -0
- package/dist/models/LlmConfig.d.ts +44 -0
- package/dist/models/LlmConfig.js +52 -0
- package/dist/models/Member.d.ts +62 -0
- package/dist/models/Member.js +64 -0
- package/dist/models/Organization.d.ts +56 -0
- package/dist/models/Organization.js +58 -0
- package/dist/models/OrganizationCreate.d.ts +38 -0
- package/dist/models/OrganizationCreate.js +52 -0
- package/dist/models/OrganizationUpdate.d.ts +38 -0
- package/dist/models/OrganizationUpdate.js +50 -0
- package/dist/models/OrganizationsOrganizationIdConversationsGet200Response.d.ts +39 -0
- package/dist/models/OrganizationsOrganizationIdConversationsGet200Response.js +51 -0
- package/dist/models/OrganizationsOrganizationIdLlmProvidersGet200ResponseInner.d.ts +74 -0
- package/dist/models/OrganizationsOrganizationIdLlmProvidersGet200ResponseInner.js +62 -0
- package/dist/models/OrganizationsOrganizationIdSipDispatchRulesPost200Response.d.ts +32 -0
- package/dist/models/OrganizationsOrganizationIdSipDispatchRulesPost200Response.js +48 -0
- package/dist/models/OrganizationsOrganizationIdSttProvidersGet200ResponseInner.d.ts +44 -0
- package/dist/models/OrganizationsOrganizationIdSttProvidersGet200ResponseInner.js +52 -0
- package/dist/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInner.d.ts +45 -0
- package/dist/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInner.js +53 -0
- package/dist/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerVoicesInner.d.ts +44 -0
- package/dist/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerVoicesInner.js +52 -0
- package/dist/models/OrganizationsOrganizationIdVoiceAgentsBasicGet200ResponseInner.d.ts +38 -0
- package/dist/models/OrganizationsOrganizationIdVoiceAgentsBasicGet200ResponseInner.js +50 -0
- package/dist/models/PauseSubscriptionRequest.d.ts +32 -0
- package/dist/models/PauseSubscriptionRequest.js +48 -0
- package/dist/models/PauseSubscriptionResponse.d.ts +51 -0
- package/dist/models/PauseSubscriptionResponse.js +55 -0
- package/dist/models/PauseSubscriptionResponsePauseCollection.d.ts +38 -0
- package/dist/models/PauseSubscriptionResponsePauseCollection.js +50 -0
- package/dist/models/PhoneNumber.d.ts +50 -0
- package/dist/models/PhoneNumber.js +54 -0
- package/dist/models/RagConfig.d.ts +112 -0
- package/dist/models/RagConfig.js +94 -0
- package/dist/models/RagConfigCreate.d.ts +38 -0
- package/dist/models/RagConfigCreate.js +52 -0
- package/dist/models/RagDocument.d.ts +104 -0
- package/dist/models/RagDocument.js +86 -0
- package/dist/models/RagDocumentChunk.d.ts +52 -0
- package/dist/models/RagDocumentChunk.js +58 -0
- package/dist/models/RagDocumentChunkList.d.ts +51 -0
- package/dist/models/RagDocumentChunkList.js +63 -0
- package/dist/models/RagDocumentList.d.ts +39 -0
- package/dist/models/RagDocumentList.js +55 -0
- package/dist/models/RecordingSignedUrl.d.ts +32 -0
- package/dist/models/RecordingSignedUrl.js +48 -0
- package/dist/models/ResumeSubscriptionResponse.d.ts +50 -0
- package/dist/models/ResumeSubscriptionResponse.js +54 -0
- package/dist/models/SandboxToken.d.ts +32 -0
- package/dist/models/SandboxToken.js +48 -0
- package/dist/models/SipTrunk.d.ts +62 -0
- package/dist/models/SipTrunk.js +64 -0
- package/dist/models/SipTrunkCreate.d.ts +32 -0
- package/dist/models/SipTrunkCreate.js +50 -0
- package/dist/models/SipTrunkWithAgent.d.ts +69 -0
- package/dist/models/SipTrunkWithAgent.js +67 -0
- package/dist/models/SipTrunkWithAgentAllOfAgents.d.ts +32 -0
- package/dist/models/SipTrunkWithAgentAllOfAgents.js +48 -0
- package/dist/models/SubscriptionDetails.d.ts +142 -0
- package/dist/models/SubscriptionDetails.js +94 -0
- package/dist/models/SubscriptionStatus.d.ts +53 -0
- package/dist/models/SubscriptionStatus.js +59 -0
- package/dist/models/SubscriptionStatusPlan.d.ts +56 -0
- package/dist/models/SubscriptionStatusPlan.js +56 -0
- package/dist/models/SubscriptionStatusService.d.ts +44 -0
- package/dist/models/SubscriptionStatusService.js +52 -0
- package/dist/models/SubscriptionStatusSubscription.d.ts +76 -0
- package/dist/models/SubscriptionStatusSubscription.js +72 -0
- package/dist/models/ToolConfig.d.ts +46 -0
- package/dist/models/ToolConfig.js +56 -0
- package/dist/models/UnpauseSubscriptionResponse.d.ts +50 -0
- package/dist/models/UnpauseSubscriptionResponse.js +54 -0
- package/dist/models/UpdatePlanRequest.d.ts +44 -0
- package/dist/models/UpdatePlanRequest.js +52 -0
- package/dist/models/UpdatePlanResponse.d.ts +50 -0
- package/dist/models/UpdatePlanResponse.js +54 -0
- package/dist/models/VoiceAgent.d.ts +118 -0
- package/dist/models/VoiceAgent.js +82 -0
- package/dist/models/VoiceAgentCreate.d.ts +106 -0
- package/dist/models/VoiceAgentCreate.js +76 -0
- package/dist/models/VoiceAgentMetadata.d.ts +38 -0
- package/dist/models/VoiceAgentMetadata.js +50 -0
- package/dist/models/VoiceAgentUpdate.d.ts +100 -0
- package/dist/models/VoiceAgentUpdate.js +72 -0
- package/dist/models/VoiceAgentWithSipTrunks.d.ts +125 -0
- package/dist/models/VoiceAgentWithSipTrunks.js +85 -0
- package/dist/models/VoiceAgentWithSipTrunksAllOfSipTrunks.d.ts +32 -0
- package/dist/models/VoiceAgentWithSipTrunksAllOfSipTrunks.js +48 -0
- package/dist/models/WidgetConfig.d.ts +65 -0
- package/dist/models/WidgetConfig.js +65 -0
- package/dist/models/WidgetPosition.d.ts +27 -0
- package/dist/models/WidgetPosition.js +53 -0
- package/dist/models/index.d.ts +74 -0
- package/dist/models/index.js +92 -0
- package/dist/runtime.d.ts +184 -0
- package/dist/runtime.js +350 -0
- package/package.json +43 -0
- package/src/api-client.ts +324 -0
- package/src/apis/CalendarApi.ts +601 -0
- package/src/apis/ChatAgentsApi.ts +329 -0
- package/src/apis/HistoryApi.ts +197 -0
- package/src/apis/InvitationsApi.ts +196 -0
- package/src/apis/LLMProvidersApi.ts +81 -0
- package/src/apis/MembersApi.ts +79 -0
- package/src/apis/OrganizationsApi.ts +121 -0
- package/src/apis/PlaygroundApi.ts +88 -0
- package/src/apis/RAGApi.ts +613 -0
- package/src/apis/RecordingsApi.ts +88 -0
- package/src/apis/SIPApi.ts +362 -0
- package/src/apis/STTProvidersApi.ts +81 -0
- package/src/apis/SubscriptionApi.ts +692 -0
- package/src/apis/TTSProvidersApi.ts +81 -0
- package/src/apis/VoiceAgentsApi.ts +384 -0
- package/src/apis/index.ts +17 -0
- package/src/index.ts +19 -0
- package/src/models/BillingPortalRequest.ts +66 -0
- package/src/models/BillingPortalResponse.ts +66 -0
- package/src/models/Calendar.ts +102 -0
- package/src/models/CalendarEvent.ts +110 -0
- package/src/models/CalendarEventCreate.ts +101 -0
- package/src/models/CalendarEventResponse.ts +88 -0
- package/src/models/CalendarEventUpdate.ts +97 -0
- package/src/models/CalendarListResponse.ts +74 -0
- package/src/models/CalendarWithAgent.ts +84 -0
- package/src/models/CancelSubscriptionRequest.ts +73 -0
- package/src/models/CancelSubscriptionResponse.ts +97 -0
- package/src/models/ChatAgent.ts +154 -0
- package/src/models/ChatAgentCreate.ts +121 -0
- package/src/models/ChatAgentUpdate.ts +120 -0
- package/src/models/CheckoutSessionResponse.ts +75 -0
- package/src/models/CreateCheckoutSessionRequest.ts +91 -0
- package/src/models/CreditBalance.ts +117 -0
- package/src/models/CreditTransaction.ts +159 -0
- package/src/models/CreditTransactionsResponse.ts +81 -0
- package/src/models/DispatchRuleCreate.ts +75 -0
- package/src/models/HistoryConversation.ts +137 -0
- package/src/models/HistoryMessage.ts +81 -0
- package/src/models/HistorySummary.ts +121 -0
- package/src/models/InvitationAccept.ts +66 -0
- package/src/models/InvitationCreate.ts +86 -0
- package/src/models/InvitationResponse.ts +73 -0
- package/src/models/LlmAgent.ts +145 -0
- package/src/models/LlmAgentInput.ts +146 -0
- package/src/models/LlmAgentUpdateInput.ts +145 -0
- package/src/models/Member.ts +108 -0
- package/src/models/Organization.ts +98 -0
- package/src/models/OrganizationCreate.ts +74 -0
- package/src/models/OrganizationUpdate.ts +73 -0
- package/src/models/OrganizationsOrganizationIdConversationsGet200Response.ts +81 -0
- package/src/models/OrganizationsOrganizationIdLlmProvidersGet200ResponseInner.ts +121 -0
- package/src/models/OrganizationsOrganizationIdSipDispatchRulesPost200Response.ts +65 -0
- package/src/models/OrganizationsOrganizationIdSttProvidersGet200ResponseInner.ts +81 -0
- package/src/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInner.ts +89 -0
- package/src/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerVoicesInner.ts +81 -0
- package/src/models/OrganizationsOrganizationIdVoiceAgentsBasicGet200ResponseInner.ts +73 -0
- package/src/models/PauseSubscriptionRequest.ts +65 -0
- package/src/models/PauseSubscriptionResponse.ts +97 -0
- package/src/models/PauseSubscriptionResponsePauseCollection.ts +73 -0
- package/src/models/PhoneNumber.ts +89 -0
- package/src/models/RagConfig.ts +179 -0
- package/src/models/RagConfigCreate.ts +74 -0
- package/src/models/RagDocument.ts +162 -0
- package/src/models/RagDocumentChunk.ts +91 -0
- package/src/models/RagDocumentChunkList.ts +101 -0
- package/src/models/RagDocumentList.ts +83 -0
- package/src/models/RecordingSignedUrl.ts +65 -0
- package/src/models/ResumeSubscriptionResponse.ts +89 -0
- package/src/models/SandboxToken.ts +65 -0
- package/src/models/SipTrunk.ts +108 -0
- package/src/models/SipTrunkCreate.ts +66 -0
- package/src/models/SipTrunkWithAgent.ts +124 -0
- package/src/models/SipTrunkWithAgentAllOfAgents.ts +65 -0
- package/src/models/SubscriptionDetails.ts +210 -0
- package/src/models/SubscriptionStatus.ts +112 -0
- package/src/models/SubscriptionStatusPlan.ts +97 -0
- package/src/models/SubscriptionStatusService.ts +81 -0
- package/src/models/SubscriptionStatusSubscription.ts +122 -0
- package/src/models/ToolConfig.ts +83 -0
- package/src/models/UnpauseSubscriptionResponse.ts +89 -0
- package/src/models/UpdatePlanRequest.ts +81 -0
- package/src/models/UpdatePlanResponse.ts +89 -0
- package/src/models/VoiceAgent.ts +194 -0
- package/src/models/VoiceAgentCreate.ts +177 -0
- package/src/models/VoiceAgentMetadata.ts +73 -0
- package/src/models/VoiceAgentUpdate.ts +168 -0
- package/src/models/VoiceAgentWithSipTrunks.ts +209 -0
- package/src/models/VoiceAgentWithSipTrunksAllOfSipTrunks.ts +65 -0
- package/src/models/WidgetConfig.ts +116 -0
- package/src/models/WidgetPosition.ts +55 -0
- package/src/models/index.ts +76 -0
- package/src/runtime.ts +432 -0
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Tivadar AI Backend API
|
|
5
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { LlmAgentInput } from './LlmAgentInput';
|
|
17
|
+
import {
|
|
18
|
+
LlmAgentInputFromJSON,
|
|
19
|
+
LlmAgentInputFromJSONTyped,
|
|
20
|
+
LlmAgentInputToJSON,
|
|
21
|
+
LlmAgentInputToJSONTyped,
|
|
22
|
+
} from './LlmAgentInput';
|
|
23
|
+
import type { VoiceAgentMetadata } from './VoiceAgentMetadata';
|
|
24
|
+
import {
|
|
25
|
+
VoiceAgentMetadataFromJSON,
|
|
26
|
+
VoiceAgentMetadataFromJSONTyped,
|
|
27
|
+
VoiceAgentMetadataToJSON,
|
|
28
|
+
VoiceAgentMetadataToJSONTyped,
|
|
29
|
+
} from './VoiceAgentMetadata';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface VoiceAgentCreate
|
|
35
|
+
*/
|
|
36
|
+
export interface VoiceAgentCreate {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof VoiceAgentCreate
|
|
41
|
+
*/
|
|
42
|
+
name?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof VoiceAgentCreate
|
|
47
|
+
*/
|
|
48
|
+
organization_id: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof VoiceAgentCreate
|
|
53
|
+
*/
|
|
54
|
+
instructions?: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof VoiceAgentCreate
|
|
59
|
+
*/
|
|
60
|
+
greeting?: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof VoiceAgentCreate
|
|
65
|
+
*/
|
|
66
|
+
stt_provider?: string;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof VoiceAgentCreate
|
|
71
|
+
*/
|
|
72
|
+
stt_model?: string;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof VoiceAgentCreate
|
|
77
|
+
*/
|
|
78
|
+
tts_provider?: string;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof VoiceAgentCreate
|
|
83
|
+
*/
|
|
84
|
+
tts_model?: string;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof VoiceAgentCreate
|
|
89
|
+
*/
|
|
90
|
+
tts_voice?: string;
|
|
91
|
+
/**
|
|
92
|
+
* Language code for both STT and TTS (e.g., 'en-US', 'hu-HU')
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof VoiceAgentCreate
|
|
95
|
+
*/
|
|
96
|
+
language?: string;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @type {boolean}
|
|
100
|
+
* @memberof VoiceAgentCreate
|
|
101
|
+
*/
|
|
102
|
+
enable_recording?: boolean;
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @type {VoiceAgentMetadata}
|
|
106
|
+
* @memberof VoiceAgentCreate
|
|
107
|
+
*/
|
|
108
|
+
metadata?: VoiceAgentMetadata;
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* @type {LlmAgentInput}
|
|
112
|
+
* @memberof VoiceAgentCreate
|
|
113
|
+
*/
|
|
114
|
+
llm_agent?: LlmAgentInput;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Check if a given object implements the VoiceAgentCreate interface.
|
|
119
|
+
*/
|
|
120
|
+
export function instanceOfVoiceAgentCreate(value: object): value is VoiceAgentCreate {
|
|
121
|
+
if (!('organization_id' in value) || value['organization_id'] === undefined) return false;
|
|
122
|
+
return true;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
export function VoiceAgentCreateFromJSON(json: any): VoiceAgentCreate {
|
|
126
|
+
return VoiceAgentCreateFromJSONTyped(json, false);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
export function VoiceAgentCreateFromJSONTyped(json: any, ignoreDiscriminator: boolean): VoiceAgentCreate {
|
|
130
|
+
if (json == null) {
|
|
131
|
+
return json;
|
|
132
|
+
}
|
|
133
|
+
return {
|
|
134
|
+
|
|
135
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
136
|
+
'organization_id': json['organization_id'],
|
|
137
|
+
'instructions': json['instructions'] == null ? undefined : json['instructions'],
|
|
138
|
+
'greeting': json['greeting'] == null ? undefined : json['greeting'],
|
|
139
|
+
'stt_provider': json['stt_provider'] == null ? undefined : json['stt_provider'],
|
|
140
|
+
'stt_model': json['stt_model'] == null ? undefined : json['stt_model'],
|
|
141
|
+
'tts_provider': json['tts_provider'] == null ? undefined : json['tts_provider'],
|
|
142
|
+
'tts_model': json['tts_model'] == null ? undefined : json['tts_model'],
|
|
143
|
+
'tts_voice': json['tts_voice'] == null ? undefined : json['tts_voice'],
|
|
144
|
+
'language': json['language'] == null ? undefined : json['language'],
|
|
145
|
+
'enable_recording': json['enable_recording'] == null ? undefined : json['enable_recording'],
|
|
146
|
+
'metadata': json['metadata'] == null ? undefined : VoiceAgentMetadataFromJSON(json['metadata']),
|
|
147
|
+
'llm_agent': json['llm_agent'] == null ? undefined : LlmAgentInputFromJSON(json['llm_agent']),
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
export function VoiceAgentCreateToJSON(json: any): VoiceAgentCreate {
|
|
152
|
+
return VoiceAgentCreateToJSONTyped(json, false);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
export function VoiceAgentCreateToJSONTyped(value?: VoiceAgentCreate | null, ignoreDiscriminator: boolean = false): any {
|
|
156
|
+
if (value == null) {
|
|
157
|
+
return value;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
return {
|
|
161
|
+
|
|
162
|
+
'name': value['name'],
|
|
163
|
+
'organization_id': value['organization_id'],
|
|
164
|
+
'instructions': value['instructions'],
|
|
165
|
+
'greeting': value['greeting'],
|
|
166
|
+
'stt_provider': value['stt_provider'],
|
|
167
|
+
'stt_model': value['stt_model'],
|
|
168
|
+
'tts_provider': value['tts_provider'],
|
|
169
|
+
'tts_model': value['tts_model'],
|
|
170
|
+
'tts_voice': value['tts_voice'],
|
|
171
|
+
'language': value['language'],
|
|
172
|
+
'enable_recording': value['enable_recording'],
|
|
173
|
+
'metadata': VoiceAgentMetadataToJSON(value['metadata']),
|
|
174
|
+
'llm_agent': LlmAgentInputToJSON(value['llm_agent']),
|
|
175
|
+
};
|
|
176
|
+
}
|
|
177
|
+
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Tivadar AI Backend API
|
|
5
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface VoiceAgentMetadata
|
|
20
|
+
*/
|
|
21
|
+
export interface VoiceAgentMetadata {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {Array<string>}
|
|
25
|
+
* @memberof VoiceAgentMetadata
|
|
26
|
+
*/
|
|
27
|
+
allowedFunctions?: Array<string>;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof VoiceAgentMetadata
|
|
32
|
+
*/
|
|
33
|
+
rag_index?: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the VoiceAgentMetadata interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfVoiceAgentMetadata(value: object): value is VoiceAgentMetadata {
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function VoiceAgentMetadataFromJSON(json: any): VoiceAgentMetadata {
|
|
44
|
+
return VoiceAgentMetadataFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export function VoiceAgentMetadataFromJSONTyped(json: any, ignoreDiscriminator: boolean): VoiceAgentMetadata {
|
|
48
|
+
if (json == null) {
|
|
49
|
+
return json;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
|
|
53
|
+
'allowedFunctions': json['allowedFunctions'] == null ? undefined : json['allowedFunctions'],
|
|
54
|
+
'rag_index': json['rag_index'] == null ? undefined : json['rag_index'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function VoiceAgentMetadataToJSON(json: any): VoiceAgentMetadata {
|
|
59
|
+
return VoiceAgentMetadataToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function VoiceAgentMetadataToJSONTyped(value?: VoiceAgentMetadata | null, ignoreDiscriminator: boolean = false): any {
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'allowedFunctions': value['allowedFunctions'],
|
|
70
|
+
'rag_index': value['rag_index'],
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Tivadar AI Backend API
|
|
5
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { VoiceAgentMetadata } from './VoiceAgentMetadata';
|
|
17
|
+
import {
|
|
18
|
+
VoiceAgentMetadataFromJSON,
|
|
19
|
+
VoiceAgentMetadataFromJSONTyped,
|
|
20
|
+
VoiceAgentMetadataToJSON,
|
|
21
|
+
VoiceAgentMetadataToJSONTyped,
|
|
22
|
+
} from './VoiceAgentMetadata';
|
|
23
|
+
import type { LlmAgentUpdateInput } from './LlmAgentUpdateInput';
|
|
24
|
+
import {
|
|
25
|
+
LlmAgentUpdateInputFromJSON,
|
|
26
|
+
LlmAgentUpdateInputFromJSONTyped,
|
|
27
|
+
LlmAgentUpdateInputToJSON,
|
|
28
|
+
LlmAgentUpdateInputToJSONTyped,
|
|
29
|
+
} from './LlmAgentUpdateInput';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface VoiceAgentUpdate
|
|
35
|
+
*/
|
|
36
|
+
export interface VoiceAgentUpdate {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof VoiceAgentUpdate
|
|
41
|
+
*/
|
|
42
|
+
name?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof VoiceAgentUpdate
|
|
47
|
+
*/
|
|
48
|
+
instructions?: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof VoiceAgentUpdate
|
|
53
|
+
*/
|
|
54
|
+
greeting?: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof VoiceAgentUpdate
|
|
59
|
+
*/
|
|
60
|
+
stt_provider?: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof VoiceAgentUpdate
|
|
65
|
+
*/
|
|
66
|
+
stt_model?: string;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof VoiceAgentUpdate
|
|
71
|
+
*/
|
|
72
|
+
tts_provider?: string;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof VoiceAgentUpdate
|
|
77
|
+
*/
|
|
78
|
+
tts_model?: string;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof VoiceAgentUpdate
|
|
83
|
+
*/
|
|
84
|
+
tts_voice?: string;
|
|
85
|
+
/**
|
|
86
|
+
* Language code for both STT and TTS (e.g., 'en-US', 'hu-HU')
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof VoiceAgentUpdate
|
|
89
|
+
*/
|
|
90
|
+
language?: string;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @type {boolean}
|
|
94
|
+
* @memberof VoiceAgentUpdate
|
|
95
|
+
*/
|
|
96
|
+
enable_recording?: boolean;
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
* @type {VoiceAgentMetadata}
|
|
100
|
+
* @memberof VoiceAgentUpdate
|
|
101
|
+
*/
|
|
102
|
+
metadata?: VoiceAgentMetadata;
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @type {LlmAgentUpdateInput}
|
|
106
|
+
* @memberof VoiceAgentUpdate
|
|
107
|
+
*/
|
|
108
|
+
llm_agent?: LlmAgentUpdateInput;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* Check if a given object implements the VoiceAgentUpdate interface.
|
|
113
|
+
*/
|
|
114
|
+
export function instanceOfVoiceAgentUpdate(value: object): value is VoiceAgentUpdate {
|
|
115
|
+
return true;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export function VoiceAgentUpdateFromJSON(json: any): VoiceAgentUpdate {
|
|
119
|
+
return VoiceAgentUpdateFromJSONTyped(json, false);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export function VoiceAgentUpdateFromJSONTyped(json: any, ignoreDiscriminator: boolean): VoiceAgentUpdate {
|
|
123
|
+
if (json == null) {
|
|
124
|
+
return json;
|
|
125
|
+
}
|
|
126
|
+
return {
|
|
127
|
+
|
|
128
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
129
|
+
'instructions': json['instructions'] == null ? undefined : json['instructions'],
|
|
130
|
+
'greeting': json['greeting'] == null ? undefined : json['greeting'],
|
|
131
|
+
'stt_provider': json['stt_provider'] == null ? undefined : json['stt_provider'],
|
|
132
|
+
'stt_model': json['stt_model'] == null ? undefined : json['stt_model'],
|
|
133
|
+
'tts_provider': json['tts_provider'] == null ? undefined : json['tts_provider'],
|
|
134
|
+
'tts_model': json['tts_model'] == null ? undefined : json['tts_model'],
|
|
135
|
+
'tts_voice': json['tts_voice'] == null ? undefined : json['tts_voice'],
|
|
136
|
+
'language': json['language'] == null ? undefined : json['language'],
|
|
137
|
+
'enable_recording': json['enable_recording'] == null ? undefined : json['enable_recording'],
|
|
138
|
+
'metadata': json['metadata'] == null ? undefined : VoiceAgentMetadataFromJSON(json['metadata']),
|
|
139
|
+
'llm_agent': json['llm_agent'] == null ? undefined : LlmAgentUpdateInputFromJSON(json['llm_agent']),
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export function VoiceAgentUpdateToJSON(json: any): VoiceAgentUpdate {
|
|
144
|
+
return VoiceAgentUpdateToJSONTyped(json, false);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export function VoiceAgentUpdateToJSONTyped(value?: VoiceAgentUpdate | null, ignoreDiscriminator: boolean = false): any {
|
|
148
|
+
if (value == null) {
|
|
149
|
+
return value;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
return {
|
|
153
|
+
|
|
154
|
+
'name': value['name'],
|
|
155
|
+
'instructions': value['instructions'],
|
|
156
|
+
'greeting': value['greeting'],
|
|
157
|
+
'stt_provider': value['stt_provider'],
|
|
158
|
+
'stt_model': value['stt_model'],
|
|
159
|
+
'tts_provider': value['tts_provider'],
|
|
160
|
+
'tts_model': value['tts_model'],
|
|
161
|
+
'tts_voice': value['tts_voice'],
|
|
162
|
+
'language': value['language'],
|
|
163
|
+
'enable_recording': value['enable_recording'],
|
|
164
|
+
'metadata': VoiceAgentMetadataToJSON(value['metadata']),
|
|
165
|
+
'llm_agent': LlmAgentUpdateInputToJSON(value['llm_agent']),
|
|
166
|
+
};
|
|
167
|
+
}
|
|
168
|
+
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Tivadar AI Backend API
|
|
5
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { LlmAgent } from './LlmAgent';
|
|
17
|
+
import {
|
|
18
|
+
LlmAgentFromJSON,
|
|
19
|
+
LlmAgentFromJSONTyped,
|
|
20
|
+
LlmAgentToJSON,
|
|
21
|
+
LlmAgentToJSONTyped,
|
|
22
|
+
} from './LlmAgent';
|
|
23
|
+
import type { VoiceAgentMetadata } from './VoiceAgentMetadata';
|
|
24
|
+
import {
|
|
25
|
+
VoiceAgentMetadataFromJSON,
|
|
26
|
+
VoiceAgentMetadataFromJSONTyped,
|
|
27
|
+
VoiceAgentMetadataToJSON,
|
|
28
|
+
VoiceAgentMetadataToJSONTyped,
|
|
29
|
+
} from './VoiceAgentMetadata';
|
|
30
|
+
import type { VoiceAgentWithSipTrunksAllOfSipTrunks } from './VoiceAgentWithSipTrunksAllOfSipTrunks';
|
|
31
|
+
import {
|
|
32
|
+
VoiceAgentWithSipTrunksAllOfSipTrunksFromJSON,
|
|
33
|
+
VoiceAgentWithSipTrunksAllOfSipTrunksFromJSONTyped,
|
|
34
|
+
VoiceAgentWithSipTrunksAllOfSipTrunksToJSON,
|
|
35
|
+
VoiceAgentWithSipTrunksAllOfSipTrunksToJSONTyped,
|
|
36
|
+
} from './VoiceAgentWithSipTrunksAllOfSipTrunks';
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @export
|
|
41
|
+
* @interface VoiceAgentWithSipTrunks
|
|
42
|
+
*/
|
|
43
|
+
export interface VoiceAgentWithSipTrunks {
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof VoiceAgentWithSipTrunks
|
|
48
|
+
*/
|
|
49
|
+
id: string;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof VoiceAgentWithSipTrunks
|
|
54
|
+
*/
|
|
55
|
+
name?: string;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof VoiceAgentWithSipTrunks
|
|
60
|
+
*/
|
|
61
|
+
organization_id: string;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof VoiceAgentWithSipTrunks
|
|
66
|
+
*/
|
|
67
|
+
instructions?: string;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof VoiceAgentWithSipTrunks
|
|
72
|
+
*/
|
|
73
|
+
greeting?: string;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof VoiceAgentWithSipTrunks
|
|
78
|
+
*/
|
|
79
|
+
stt_provider?: string;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof VoiceAgentWithSipTrunks
|
|
84
|
+
*/
|
|
85
|
+
stt_model?: string;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof VoiceAgentWithSipTrunks
|
|
90
|
+
*/
|
|
91
|
+
tts_provider?: string;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof VoiceAgentWithSipTrunks
|
|
96
|
+
*/
|
|
97
|
+
tts_model?: string;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {string}
|
|
101
|
+
* @memberof VoiceAgentWithSipTrunks
|
|
102
|
+
*/
|
|
103
|
+
tts_voice?: string;
|
|
104
|
+
/**
|
|
105
|
+
* Language code for both STT and TTS (e.g., 'en-US', 'hu-HU')
|
|
106
|
+
* @type {string}
|
|
107
|
+
* @memberof VoiceAgentWithSipTrunks
|
|
108
|
+
*/
|
|
109
|
+
language?: string;
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* @type {boolean}
|
|
113
|
+
* @memberof VoiceAgentWithSipTrunks
|
|
114
|
+
*/
|
|
115
|
+
enable_recording?: boolean;
|
|
116
|
+
/**
|
|
117
|
+
*
|
|
118
|
+
* @type {VoiceAgentMetadata}
|
|
119
|
+
* @memberof VoiceAgentWithSipTrunks
|
|
120
|
+
*/
|
|
121
|
+
metadata?: VoiceAgentMetadata;
|
|
122
|
+
/**
|
|
123
|
+
*
|
|
124
|
+
* @type {LlmAgent}
|
|
125
|
+
* @memberof VoiceAgentWithSipTrunks
|
|
126
|
+
*/
|
|
127
|
+
llm_agent?: LlmAgent | null;
|
|
128
|
+
/**
|
|
129
|
+
*
|
|
130
|
+
* @type {Date}
|
|
131
|
+
* @memberof VoiceAgentWithSipTrunks
|
|
132
|
+
*/
|
|
133
|
+
created_at?: Date;
|
|
134
|
+
/**
|
|
135
|
+
*
|
|
136
|
+
* @type {Array<VoiceAgentWithSipTrunksAllOfSipTrunks>}
|
|
137
|
+
* @memberof VoiceAgentWithSipTrunks
|
|
138
|
+
*/
|
|
139
|
+
sip_trunks?: Array<VoiceAgentWithSipTrunksAllOfSipTrunks>;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Check if a given object implements the VoiceAgentWithSipTrunks interface.
|
|
144
|
+
*/
|
|
145
|
+
export function instanceOfVoiceAgentWithSipTrunks(value: object): value is VoiceAgentWithSipTrunks {
|
|
146
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
147
|
+
if (!('organization_id' in value) || value['organization_id'] === undefined) return false;
|
|
148
|
+
return true;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
export function VoiceAgentWithSipTrunksFromJSON(json: any): VoiceAgentWithSipTrunks {
|
|
152
|
+
return VoiceAgentWithSipTrunksFromJSONTyped(json, false);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
export function VoiceAgentWithSipTrunksFromJSONTyped(json: any, ignoreDiscriminator: boolean): VoiceAgentWithSipTrunks {
|
|
156
|
+
if (json == null) {
|
|
157
|
+
return json;
|
|
158
|
+
}
|
|
159
|
+
return {
|
|
160
|
+
|
|
161
|
+
'id': json['id'],
|
|
162
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
163
|
+
'organization_id': json['organization_id'],
|
|
164
|
+
'instructions': json['instructions'] == null ? undefined : json['instructions'],
|
|
165
|
+
'greeting': json['greeting'] == null ? undefined : json['greeting'],
|
|
166
|
+
'stt_provider': json['stt_provider'] == null ? undefined : json['stt_provider'],
|
|
167
|
+
'stt_model': json['stt_model'] == null ? undefined : json['stt_model'],
|
|
168
|
+
'tts_provider': json['tts_provider'] == null ? undefined : json['tts_provider'],
|
|
169
|
+
'tts_model': json['tts_model'] == null ? undefined : json['tts_model'],
|
|
170
|
+
'tts_voice': json['tts_voice'] == null ? undefined : json['tts_voice'],
|
|
171
|
+
'language': json['language'] == null ? undefined : json['language'],
|
|
172
|
+
'enable_recording': json['enable_recording'] == null ? undefined : json['enable_recording'],
|
|
173
|
+
'metadata': json['metadata'] == null ? undefined : VoiceAgentMetadataFromJSON(json['metadata']),
|
|
174
|
+
'llm_agent': json['llm_agent'] == null ? undefined : LlmAgentFromJSON(json['llm_agent']),
|
|
175
|
+
'created_at': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
|
|
176
|
+
'sip_trunks': json['sip_trunks'] == null ? undefined : ((json['sip_trunks'] as Array<any>).map(VoiceAgentWithSipTrunksAllOfSipTrunksFromJSON)),
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
export function VoiceAgentWithSipTrunksToJSON(json: any): VoiceAgentWithSipTrunks {
|
|
181
|
+
return VoiceAgentWithSipTrunksToJSONTyped(json, false);
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
export function VoiceAgentWithSipTrunksToJSONTyped(value?: VoiceAgentWithSipTrunks | null, ignoreDiscriminator: boolean = false): any {
|
|
185
|
+
if (value == null) {
|
|
186
|
+
return value;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
return {
|
|
190
|
+
|
|
191
|
+
'id': value['id'],
|
|
192
|
+
'name': value['name'],
|
|
193
|
+
'organization_id': value['organization_id'],
|
|
194
|
+
'instructions': value['instructions'],
|
|
195
|
+
'greeting': value['greeting'],
|
|
196
|
+
'stt_provider': value['stt_provider'],
|
|
197
|
+
'stt_model': value['stt_model'],
|
|
198
|
+
'tts_provider': value['tts_provider'],
|
|
199
|
+
'tts_model': value['tts_model'],
|
|
200
|
+
'tts_voice': value['tts_voice'],
|
|
201
|
+
'language': value['language'],
|
|
202
|
+
'enable_recording': value['enable_recording'],
|
|
203
|
+
'metadata': VoiceAgentMetadataToJSON(value['metadata']),
|
|
204
|
+
'llm_agent': LlmAgentToJSON(value['llm_agent']),
|
|
205
|
+
'created_at': value['created_at'] == null ? value['created_at'] : value['created_at'].toISOString(),
|
|
206
|
+
'sip_trunks': value['sip_trunks'] == null ? undefined : ((value['sip_trunks'] as Array<any>).map(VoiceAgentWithSipTrunksAllOfSipTrunksToJSON)),
|
|
207
|
+
};
|
|
208
|
+
}
|
|
209
|
+
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Tivadar AI Backend API
|
|
5
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface VoiceAgentWithSipTrunksAllOfSipTrunks
|
|
20
|
+
*/
|
|
21
|
+
export interface VoiceAgentWithSipTrunksAllOfSipTrunks {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof VoiceAgentWithSipTrunksAllOfSipTrunks
|
|
26
|
+
*/
|
|
27
|
+
number?: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the VoiceAgentWithSipTrunksAllOfSipTrunks interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfVoiceAgentWithSipTrunksAllOfSipTrunks(value: object): value is VoiceAgentWithSipTrunksAllOfSipTrunks {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export function VoiceAgentWithSipTrunksAllOfSipTrunksFromJSON(json: any): VoiceAgentWithSipTrunksAllOfSipTrunks {
|
|
38
|
+
return VoiceAgentWithSipTrunksAllOfSipTrunksFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function VoiceAgentWithSipTrunksAllOfSipTrunksFromJSONTyped(json: any, ignoreDiscriminator: boolean): VoiceAgentWithSipTrunksAllOfSipTrunks {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
|
|
47
|
+
'number': json['number'] == null ? undefined : json['number'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function VoiceAgentWithSipTrunksAllOfSipTrunksToJSON(json: any): VoiceAgentWithSipTrunksAllOfSipTrunks {
|
|
52
|
+
return VoiceAgentWithSipTrunksAllOfSipTrunksToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function VoiceAgentWithSipTrunksAllOfSipTrunksToJSONTyped(value?: VoiceAgentWithSipTrunksAllOfSipTrunks | null, ignoreDiscriminator: boolean = false): any {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'number': value['number'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|