@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,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tivadar AI Backend API
|
|
3
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { WidgetConfig } from './WidgetConfig';
|
|
13
|
+
import type { LlmAgentInput } from './LlmAgentInput';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ChatAgentCreate
|
|
18
|
+
*/
|
|
19
|
+
export interface ChatAgentCreate {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof ChatAgentCreate
|
|
24
|
+
*/
|
|
25
|
+
name: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof ChatAgentCreate
|
|
30
|
+
*/
|
|
31
|
+
system_prompt?: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {Array<string>}
|
|
35
|
+
* @memberof ChatAgentCreate
|
|
36
|
+
*/
|
|
37
|
+
allowed_domains?: Array<string>;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {number}
|
|
41
|
+
* @memberof ChatAgentCreate
|
|
42
|
+
*/
|
|
43
|
+
rate_limit?: number;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {WidgetConfig}
|
|
47
|
+
* @memberof ChatAgentCreate
|
|
48
|
+
*/
|
|
49
|
+
widget_config?: WidgetConfig;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {LlmAgentInput}
|
|
53
|
+
* @memberof ChatAgentCreate
|
|
54
|
+
*/
|
|
55
|
+
llm_agent?: LlmAgentInput;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Check if a given object implements the ChatAgentCreate interface.
|
|
59
|
+
*/
|
|
60
|
+
export declare function instanceOfChatAgentCreate(value: object): value is ChatAgentCreate;
|
|
61
|
+
export declare function ChatAgentCreateFromJSON(json: any): ChatAgentCreate;
|
|
62
|
+
export declare function ChatAgentCreateFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChatAgentCreate;
|
|
63
|
+
export declare function ChatAgentCreateToJSON(json: any): ChatAgentCreate;
|
|
64
|
+
export declare function ChatAgentCreateToJSONTyped(value?: ChatAgentCreate | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Tivadar AI Backend API
|
|
6
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfChatAgentCreate = instanceOfChatAgentCreate;
|
|
17
|
+
exports.ChatAgentCreateFromJSON = ChatAgentCreateFromJSON;
|
|
18
|
+
exports.ChatAgentCreateFromJSONTyped = ChatAgentCreateFromJSONTyped;
|
|
19
|
+
exports.ChatAgentCreateToJSON = ChatAgentCreateToJSON;
|
|
20
|
+
exports.ChatAgentCreateToJSONTyped = ChatAgentCreateToJSONTyped;
|
|
21
|
+
const WidgetConfig_1 = require("./WidgetConfig");
|
|
22
|
+
const LlmAgentInput_1 = require("./LlmAgentInput");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the ChatAgentCreate interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfChatAgentCreate(value) {
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function ChatAgentCreateFromJSON(json) {
|
|
32
|
+
return ChatAgentCreateFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function ChatAgentCreateFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'name': json['name'],
|
|
40
|
+
'system_prompt': json['system_prompt'] == null ? undefined : json['system_prompt'],
|
|
41
|
+
'allowed_domains': json['allowed_domains'] == null ? undefined : json['allowed_domains'],
|
|
42
|
+
'rate_limit': json['rate_limit'] == null ? undefined : json['rate_limit'],
|
|
43
|
+
'widget_config': json['widget_config'] == null ? undefined : (0, WidgetConfig_1.WidgetConfigFromJSON)(json['widget_config']),
|
|
44
|
+
'llm_agent': json['llm_agent'] == null ? undefined : (0, LlmAgentInput_1.LlmAgentInputFromJSON)(json['llm_agent']),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function ChatAgentCreateToJSON(json) {
|
|
48
|
+
return ChatAgentCreateToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function ChatAgentCreateToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'name': value['name'],
|
|
56
|
+
'system_prompt': value['system_prompt'],
|
|
57
|
+
'allowed_domains': value['allowed_domains'],
|
|
58
|
+
'rate_limit': value['rate_limit'],
|
|
59
|
+
'widget_config': (0, WidgetConfig_1.WidgetConfigToJSON)(value['widget_config']),
|
|
60
|
+
'llm_agent': (0, LlmAgentInput_1.LlmAgentInputToJSON)(value['llm_agent']),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tivadar AI Backend API
|
|
3
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { WidgetConfig } from './WidgetConfig';
|
|
13
|
+
import type { LlmAgentUpdateInput } from './LlmAgentUpdateInput';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ChatAgentUpdate
|
|
18
|
+
*/
|
|
19
|
+
export interface ChatAgentUpdate {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof ChatAgentUpdate
|
|
24
|
+
*/
|
|
25
|
+
name?: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof ChatAgentUpdate
|
|
30
|
+
*/
|
|
31
|
+
system_prompt?: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {Array<string>}
|
|
35
|
+
* @memberof ChatAgentUpdate
|
|
36
|
+
*/
|
|
37
|
+
allowed_domains?: Array<string>;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {number}
|
|
41
|
+
* @memberof ChatAgentUpdate
|
|
42
|
+
*/
|
|
43
|
+
rate_limit?: number;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {WidgetConfig}
|
|
47
|
+
* @memberof ChatAgentUpdate
|
|
48
|
+
*/
|
|
49
|
+
widget_config?: WidgetConfig;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {LlmAgentUpdateInput}
|
|
53
|
+
* @memberof ChatAgentUpdate
|
|
54
|
+
*/
|
|
55
|
+
llm_agent?: LlmAgentUpdateInput;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Check if a given object implements the ChatAgentUpdate interface.
|
|
59
|
+
*/
|
|
60
|
+
export declare function instanceOfChatAgentUpdate(value: object): value is ChatAgentUpdate;
|
|
61
|
+
export declare function ChatAgentUpdateFromJSON(json: any): ChatAgentUpdate;
|
|
62
|
+
export declare function ChatAgentUpdateFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChatAgentUpdate;
|
|
63
|
+
export declare function ChatAgentUpdateToJSON(json: any): ChatAgentUpdate;
|
|
64
|
+
export declare function ChatAgentUpdateToJSONTyped(value?: ChatAgentUpdate | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Tivadar AI Backend API
|
|
6
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfChatAgentUpdate = instanceOfChatAgentUpdate;
|
|
17
|
+
exports.ChatAgentUpdateFromJSON = ChatAgentUpdateFromJSON;
|
|
18
|
+
exports.ChatAgentUpdateFromJSONTyped = ChatAgentUpdateFromJSONTyped;
|
|
19
|
+
exports.ChatAgentUpdateToJSON = ChatAgentUpdateToJSON;
|
|
20
|
+
exports.ChatAgentUpdateToJSONTyped = ChatAgentUpdateToJSONTyped;
|
|
21
|
+
const WidgetConfig_1 = require("./WidgetConfig");
|
|
22
|
+
const LlmAgentUpdateInput_1 = require("./LlmAgentUpdateInput");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the ChatAgentUpdate interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfChatAgentUpdate(value) {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function ChatAgentUpdateFromJSON(json) {
|
|
30
|
+
return ChatAgentUpdateFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function ChatAgentUpdateFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
38
|
+
'system_prompt': json['system_prompt'] == null ? undefined : json['system_prompt'],
|
|
39
|
+
'allowed_domains': json['allowed_domains'] == null ? undefined : json['allowed_domains'],
|
|
40
|
+
'rate_limit': json['rate_limit'] == null ? undefined : json['rate_limit'],
|
|
41
|
+
'widget_config': json['widget_config'] == null ? undefined : (0, WidgetConfig_1.WidgetConfigFromJSON)(json['widget_config']),
|
|
42
|
+
'llm_agent': json['llm_agent'] == null ? undefined : (0, LlmAgentUpdateInput_1.LlmAgentUpdateInputFromJSON)(json['llm_agent']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function ChatAgentUpdateToJSON(json) {
|
|
46
|
+
return ChatAgentUpdateToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function ChatAgentUpdateToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'name': value['name'],
|
|
54
|
+
'system_prompt': value['system_prompt'],
|
|
55
|
+
'allowed_domains': value['allowed_domains'],
|
|
56
|
+
'rate_limit': value['rate_limit'],
|
|
57
|
+
'widget_config': (0, WidgetConfig_1.WidgetConfigToJSON)(value['widget_config']),
|
|
58
|
+
'llm_agent': (0, LlmAgentUpdateInput_1.LlmAgentUpdateInputToJSON)(value['llm_agent']),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tivadar AI Backend API
|
|
3
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CheckoutSessionResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface CheckoutSessionResponse {
|
|
18
|
+
/**
|
|
19
|
+
* Stripe checkout session ID
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CheckoutSessionResponse
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* URL to redirect the user to for checkout
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CheckoutSessionResponse
|
|
28
|
+
*/
|
|
29
|
+
url: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the CheckoutSessionResponse interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfCheckoutSessionResponse(value: object): value is CheckoutSessionResponse;
|
|
35
|
+
export declare function CheckoutSessionResponseFromJSON(json: any): CheckoutSessionResponse;
|
|
36
|
+
export declare function CheckoutSessionResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CheckoutSessionResponse;
|
|
37
|
+
export declare function CheckoutSessionResponseToJSON(json: any): CheckoutSessionResponse;
|
|
38
|
+
export declare function CheckoutSessionResponseToJSONTyped(value?: CheckoutSessionResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Tivadar AI Backend API
|
|
6
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfCheckoutSessionResponse = instanceOfCheckoutSessionResponse;
|
|
17
|
+
exports.CheckoutSessionResponseFromJSON = CheckoutSessionResponseFromJSON;
|
|
18
|
+
exports.CheckoutSessionResponseFromJSONTyped = CheckoutSessionResponseFromJSONTyped;
|
|
19
|
+
exports.CheckoutSessionResponseToJSON = CheckoutSessionResponseToJSON;
|
|
20
|
+
exports.CheckoutSessionResponseToJSONTyped = CheckoutSessionResponseToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CheckoutSessionResponse interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfCheckoutSessionResponse(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('url' in value) || value['url'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function CheckoutSessionResponseFromJSON(json) {
|
|
32
|
+
return CheckoutSessionResponseFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function CheckoutSessionResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'],
|
|
40
|
+
'url': json['url'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function CheckoutSessionResponseToJSON(json) {
|
|
44
|
+
return CheckoutSessionResponseToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function CheckoutSessionResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'id': value['id'],
|
|
52
|
+
'url': value['url'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tivadar AI Backend API
|
|
3
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CreateCheckoutSessionRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateCheckoutSessionRequest {
|
|
18
|
+
/**
|
|
19
|
+
* The plan slug to subscribe to (e.g., 'starter', 'pro', 'enterprise')
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateCheckoutSessionRequest
|
|
22
|
+
*/
|
|
23
|
+
planSlug: string;
|
|
24
|
+
/**
|
|
25
|
+
* The price slug for billing interval (e.g., 'monthly', 'yearly')
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateCheckoutSessionRequest
|
|
28
|
+
*/
|
|
29
|
+
priceSlug: string;
|
|
30
|
+
/**
|
|
31
|
+
* URL to redirect to after successful checkout
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateCheckoutSessionRequest
|
|
34
|
+
*/
|
|
35
|
+
successUrl?: string;
|
|
36
|
+
/**
|
|
37
|
+
* URL to redirect to if checkout is cancelled
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreateCheckoutSessionRequest
|
|
40
|
+
*/
|
|
41
|
+
cancelUrl?: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the CreateCheckoutSessionRequest interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfCreateCheckoutSessionRequest(value: object): value is CreateCheckoutSessionRequest;
|
|
47
|
+
export declare function CreateCheckoutSessionRequestFromJSON(json: any): CreateCheckoutSessionRequest;
|
|
48
|
+
export declare function CreateCheckoutSessionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateCheckoutSessionRequest;
|
|
49
|
+
export declare function CreateCheckoutSessionRequestToJSON(json: any): CreateCheckoutSessionRequest;
|
|
50
|
+
export declare function CreateCheckoutSessionRequestToJSONTyped(value?: CreateCheckoutSessionRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Tivadar AI Backend API
|
|
6
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfCreateCheckoutSessionRequest = instanceOfCreateCheckoutSessionRequest;
|
|
17
|
+
exports.CreateCheckoutSessionRequestFromJSON = CreateCheckoutSessionRequestFromJSON;
|
|
18
|
+
exports.CreateCheckoutSessionRequestFromJSONTyped = CreateCheckoutSessionRequestFromJSONTyped;
|
|
19
|
+
exports.CreateCheckoutSessionRequestToJSON = CreateCheckoutSessionRequestToJSON;
|
|
20
|
+
exports.CreateCheckoutSessionRequestToJSONTyped = CreateCheckoutSessionRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CreateCheckoutSessionRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfCreateCheckoutSessionRequest(value) {
|
|
25
|
+
if (!('planSlug' in value) || value['planSlug'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('priceSlug' in value) || value['priceSlug'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function CreateCheckoutSessionRequestFromJSON(json) {
|
|
32
|
+
return CreateCheckoutSessionRequestFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function CreateCheckoutSessionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'planSlug': json['planSlug'],
|
|
40
|
+
'priceSlug': json['priceSlug'],
|
|
41
|
+
'successUrl': json['successUrl'] == null ? undefined : json['successUrl'],
|
|
42
|
+
'cancelUrl': json['cancelUrl'] == null ? undefined : json['cancelUrl'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function CreateCheckoutSessionRequestToJSON(json) {
|
|
46
|
+
return CreateCheckoutSessionRequestToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function CreateCheckoutSessionRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'planSlug': value['planSlug'],
|
|
54
|
+
'priceSlug': value['priceSlug'],
|
|
55
|
+
'successUrl': value['successUrl'],
|
|
56
|
+
'cancelUrl': value['cancelUrl'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tivadar AI Backend API
|
|
3
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CreditBalance
|
|
16
|
+
*/
|
|
17
|
+
export interface CreditBalance {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreditBalance
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreditBalance
|
|
28
|
+
*/
|
|
29
|
+
subscriptionId: string;
|
|
30
|
+
/**
|
|
31
|
+
* Type of credit (e.g., 'api_credits', 'voice_minutes')
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreditBalance
|
|
34
|
+
*/
|
|
35
|
+
creditType: string;
|
|
36
|
+
/**
|
|
37
|
+
* Current credit balance
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof CreditBalance
|
|
40
|
+
*/
|
|
41
|
+
balance: number;
|
|
42
|
+
/**
|
|
43
|
+
* Monthly allowance that resets periodically
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof CreditBalance
|
|
46
|
+
*/
|
|
47
|
+
monthlyAllowance?: number | null;
|
|
48
|
+
/**
|
|
49
|
+
* Next reset date for monthly allowance
|
|
50
|
+
* @type {Date}
|
|
51
|
+
* @memberof CreditBalance
|
|
52
|
+
*/
|
|
53
|
+
resetsAt?: Date | null;
|
|
54
|
+
/**
|
|
55
|
+
* Last reset date
|
|
56
|
+
* @type {Date}
|
|
57
|
+
* @memberof CreditBalance
|
|
58
|
+
*/
|
|
59
|
+
lastResetAt?: Date | null;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Check if a given object implements the CreditBalance interface.
|
|
63
|
+
*/
|
|
64
|
+
export declare function instanceOfCreditBalance(value: object): value is CreditBalance;
|
|
65
|
+
export declare function CreditBalanceFromJSON(json: any): CreditBalance;
|
|
66
|
+
export declare function CreditBalanceFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreditBalance;
|
|
67
|
+
export declare function CreditBalanceToJSON(json: any): CreditBalance;
|
|
68
|
+
export declare function CreditBalanceToJSONTyped(value?: CreditBalance | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Tivadar AI Backend API
|
|
6
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfCreditBalance = instanceOfCreditBalance;
|
|
17
|
+
exports.CreditBalanceFromJSON = CreditBalanceFromJSON;
|
|
18
|
+
exports.CreditBalanceFromJSONTyped = CreditBalanceFromJSONTyped;
|
|
19
|
+
exports.CreditBalanceToJSON = CreditBalanceToJSON;
|
|
20
|
+
exports.CreditBalanceToJSONTyped = CreditBalanceToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CreditBalance interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfCreditBalance(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('subscriptionId' in value) || value['subscriptionId'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('creditType' in value) || value['creditType'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('balance' in value) || value['balance'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function CreditBalanceFromJSON(json) {
|
|
36
|
+
return CreditBalanceFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function CreditBalanceFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'id': json['id'],
|
|
44
|
+
'subscriptionId': json['subscriptionId'],
|
|
45
|
+
'creditType': json['creditType'],
|
|
46
|
+
'balance': json['balance'],
|
|
47
|
+
'monthlyAllowance': json['monthlyAllowance'] == null ? undefined : json['monthlyAllowance'],
|
|
48
|
+
'resetsAt': json['resetsAt'] == null ? undefined : (new Date(json['resetsAt'])),
|
|
49
|
+
'lastResetAt': json['lastResetAt'] == null ? undefined : (new Date(json['lastResetAt'])),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function CreditBalanceToJSON(json) {
|
|
53
|
+
return CreditBalanceToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function CreditBalanceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'id': value['id'],
|
|
61
|
+
'subscriptionId': value['subscriptionId'],
|
|
62
|
+
'creditType': value['creditType'],
|
|
63
|
+
'balance': value['balance'],
|
|
64
|
+
'monthlyAllowance': value['monthlyAllowance'],
|
|
65
|
+
'resetsAt': value['resetsAt'] == null ? value['resetsAt'] : value['resetsAt'].toISOString(),
|
|
66
|
+
'lastResetAt': value['lastResetAt'] == null ? value['lastResetAt'] : value['lastResetAt'].toISOString(),
|
|
67
|
+
};
|
|
68
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tivadar AI Backend API
|
|
3
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CreditTransaction
|
|
16
|
+
*/
|
|
17
|
+
export interface CreditTransaction {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreditTransaction
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreditTransaction
|
|
28
|
+
*/
|
|
29
|
+
subscriptionId: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreditTransaction
|
|
34
|
+
*/
|
|
35
|
+
creditType: string;
|
|
36
|
+
/**
|
|
37
|
+
* Amount of credits (positive for grants, negative for consumption)
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof CreditTransaction
|
|
40
|
+
*/
|
|
41
|
+
amount: number;
|
|
42
|
+
/**
|
|
43
|
+
* Balance after this transaction
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof CreditTransaction
|
|
46
|
+
*/
|
|
47
|
+
balanceAfter: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CreditTransaction
|
|
52
|
+
*/
|
|
53
|
+
transactionType: CreditTransactionTransactionTypeEnum;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof CreditTransaction
|
|
58
|
+
*/
|
|
59
|
+
description?: string | null;
|
|
60
|
+
/**
|
|
61
|
+
* External reference ID
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof CreditTransaction
|
|
64
|
+
*/
|
|
65
|
+
referenceId?: string | null;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof CreditTransaction
|
|
70
|
+
*/
|
|
71
|
+
idempotencyKey?: string | null;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {Date}
|
|
75
|
+
* @memberof CreditTransaction
|
|
76
|
+
*/
|
|
77
|
+
createdAt: Date;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* @export
|
|
81
|
+
*/
|
|
82
|
+
export declare const CreditTransactionTransactionTypeEnum: {
|
|
83
|
+
readonly Grant: "grant";
|
|
84
|
+
readonly Consume: "consume";
|
|
85
|
+
readonly Reset: "reset";
|
|
86
|
+
readonly Refund: "refund";
|
|
87
|
+
readonly Expire: "expire";
|
|
88
|
+
readonly Purchase: "purchase";
|
|
89
|
+
};
|
|
90
|
+
export type CreditTransactionTransactionTypeEnum = typeof CreditTransactionTransactionTypeEnum[keyof typeof CreditTransactionTransactionTypeEnum];
|
|
91
|
+
/**
|
|
92
|
+
* Check if a given object implements the CreditTransaction interface.
|
|
93
|
+
*/
|
|
94
|
+
export declare function instanceOfCreditTransaction(value: object): value is CreditTransaction;
|
|
95
|
+
export declare function CreditTransactionFromJSON(json: any): CreditTransaction;
|
|
96
|
+
export declare function CreditTransactionFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreditTransaction;
|
|
97
|
+
export declare function CreditTransactionToJSON(json: any): CreditTransaction;
|
|
98
|
+
export declare function CreditTransactionToJSONTyped(value?: CreditTransaction | null, ignoreDiscriminator?: boolean): any;
|