@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,89 @@
|
|
|
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 * as runtime from '../runtime';
|
|
13
|
+
import type { OrganizationsOrganizationIdVoiceAgentsBasicGet200ResponseInner, VoiceAgent, VoiceAgentCreate, VoiceAgentUpdate, VoiceAgentWithSipTrunks } from '../models/index';
|
|
14
|
+
export interface OrganizationsOrganizationIdVoiceAgentsBasicGetRequest {
|
|
15
|
+
organizationId: string;
|
|
16
|
+
}
|
|
17
|
+
export interface OrganizationsOrganizationIdVoiceAgentsGetRequest {
|
|
18
|
+
organizationId: string;
|
|
19
|
+
}
|
|
20
|
+
export interface OrganizationsOrganizationIdVoiceAgentsPostRequest {
|
|
21
|
+
organizationId: string;
|
|
22
|
+
voiceAgentCreate: VoiceAgentCreate;
|
|
23
|
+
}
|
|
24
|
+
export interface OrganizationsOrganizationIdVoiceAgentsVoiceAgentIdDeleteRequest {
|
|
25
|
+
organizationId: string;
|
|
26
|
+
voiceAgentId: string;
|
|
27
|
+
}
|
|
28
|
+
export interface OrganizationsOrganizationIdVoiceAgentsVoiceAgentIdGetRequest {
|
|
29
|
+
organizationId: string;
|
|
30
|
+
voiceAgentId: string;
|
|
31
|
+
}
|
|
32
|
+
export interface OrganizationsOrganizationIdVoiceAgentsVoiceAgentIdPutRequest {
|
|
33
|
+
organizationId: string;
|
|
34
|
+
voiceAgentId: string;
|
|
35
|
+
voiceAgentUpdate: VoiceAgentUpdate;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
*/
|
|
40
|
+
export declare class VoiceAgentsApi extends runtime.BaseAPI {
|
|
41
|
+
/**
|
|
42
|
+
* List basic voice agent info (id and name only)
|
|
43
|
+
*/
|
|
44
|
+
organizationsOrganizationIdVoiceAgentsBasicGetRaw(requestParameters: OrganizationsOrganizationIdVoiceAgentsBasicGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<OrganizationsOrganizationIdVoiceAgentsBasicGet200ResponseInner>>>;
|
|
45
|
+
/**
|
|
46
|
+
* List basic voice agent info (id and name only)
|
|
47
|
+
*/
|
|
48
|
+
organizationsOrganizationIdVoiceAgentsBasicGet(requestParameters: OrganizationsOrganizationIdVoiceAgentsBasicGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<OrganizationsOrganizationIdVoiceAgentsBasicGet200ResponseInner>>;
|
|
49
|
+
/**
|
|
50
|
+
* List all voice agents for an organization
|
|
51
|
+
*/
|
|
52
|
+
organizationsOrganizationIdVoiceAgentsGetRaw(requestParameters: OrganizationsOrganizationIdVoiceAgentsGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<VoiceAgentWithSipTrunks>>>;
|
|
53
|
+
/**
|
|
54
|
+
* List all voice agents for an organization
|
|
55
|
+
*/
|
|
56
|
+
organizationsOrganizationIdVoiceAgentsGet(requestParameters: OrganizationsOrganizationIdVoiceAgentsGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<VoiceAgentWithSipTrunks>>;
|
|
57
|
+
/**
|
|
58
|
+
* Create a new voice agent
|
|
59
|
+
*/
|
|
60
|
+
organizationsOrganizationIdVoiceAgentsPostRaw(requestParameters: OrganizationsOrganizationIdVoiceAgentsPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VoiceAgent>>;
|
|
61
|
+
/**
|
|
62
|
+
* Create a new voice agent
|
|
63
|
+
*/
|
|
64
|
+
organizationsOrganizationIdVoiceAgentsPost(requestParameters: OrganizationsOrganizationIdVoiceAgentsPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VoiceAgent>;
|
|
65
|
+
/**
|
|
66
|
+
* Delete a voice agent
|
|
67
|
+
*/
|
|
68
|
+
organizationsOrganizationIdVoiceAgentsVoiceAgentIdDeleteRaw(requestParameters: OrganizationsOrganizationIdVoiceAgentsVoiceAgentIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
69
|
+
/**
|
|
70
|
+
* Delete a voice agent
|
|
71
|
+
*/
|
|
72
|
+
organizationsOrganizationIdVoiceAgentsVoiceAgentIdDelete(requestParameters: OrganizationsOrganizationIdVoiceAgentsVoiceAgentIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
73
|
+
/**
|
|
74
|
+
* Get a voice agent by ID
|
|
75
|
+
*/
|
|
76
|
+
organizationsOrganizationIdVoiceAgentsVoiceAgentIdGetRaw(requestParameters: OrganizationsOrganizationIdVoiceAgentsVoiceAgentIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VoiceAgent>>;
|
|
77
|
+
/**
|
|
78
|
+
* Get a voice agent by ID
|
|
79
|
+
*/
|
|
80
|
+
organizationsOrganizationIdVoiceAgentsVoiceAgentIdGet(requestParameters: OrganizationsOrganizationIdVoiceAgentsVoiceAgentIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VoiceAgent>;
|
|
81
|
+
/**
|
|
82
|
+
* Update a voice agent
|
|
83
|
+
*/
|
|
84
|
+
organizationsOrganizationIdVoiceAgentsVoiceAgentIdPutRaw(requestParameters: OrganizationsOrganizationIdVoiceAgentsVoiceAgentIdPutRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VoiceAgent>>;
|
|
85
|
+
/**
|
|
86
|
+
* Update a voice agent
|
|
87
|
+
*/
|
|
88
|
+
organizationsOrganizationIdVoiceAgentsVoiceAgentIdPut(requestParameters: OrganizationsOrganizationIdVoiceAgentsVoiceAgentIdPutRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VoiceAgent>;
|
|
89
|
+
}
|
|
@@ -0,0 +1,272 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
import * as runtime from '../runtime';
|
|
24
|
+
import { OrganizationsOrganizationIdVoiceAgentsBasicGet200ResponseInnerFromJSON, VoiceAgentFromJSON, VoiceAgentCreateToJSON, VoiceAgentUpdateToJSON, VoiceAgentWithSipTrunksFromJSON, } from '../models/index';
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export class VoiceAgentsApi extends runtime.BaseAPI {
|
|
29
|
+
/**
|
|
30
|
+
* List basic voice agent info (id and name only)
|
|
31
|
+
*/
|
|
32
|
+
organizationsOrganizationIdVoiceAgentsBasicGetRaw(requestParameters, initOverrides) {
|
|
33
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
34
|
+
if (requestParameters['organizationId'] == null) {
|
|
35
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter "organizationId" was null or undefined when calling organizationsOrganizationIdVoiceAgentsBasicGet().');
|
|
36
|
+
}
|
|
37
|
+
const queryParameters = {};
|
|
38
|
+
const headerParameters = {};
|
|
39
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
40
|
+
const token = this.configuration.accessToken;
|
|
41
|
+
const tokenString = yield token("bearerAuth", []);
|
|
42
|
+
if (tokenString) {
|
|
43
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
let urlPath = `/organizations/{organizationId}/voice-agents/basic`;
|
|
47
|
+
urlPath = urlPath.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters['organizationId'])));
|
|
48
|
+
const response = yield this.request({
|
|
49
|
+
path: urlPath,
|
|
50
|
+
method: 'GET',
|
|
51
|
+
headers: headerParameters,
|
|
52
|
+
query: queryParameters,
|
|
53
|
+
}, initOverrides);
|
|
54
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(OrganizationsOrganizationIdVoiceAgentsBasicGet200ResponseInnerFromJSON));
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* List basic voice agent info (id and name only)
|
|
59
|
+
*/
|
|
60
|
+
organizationsOrganizationIdVoiceAgentsBasicGet(requestParameters, initOverrides) {
|
|
61
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
62
|
+
const response = yield this.organizationsOrganizationIdVoiceAgentsBasicGetRaw(requestParameters, initOverrides);
|
|
63
|
+
return yield response.value();
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* List all voice agents for an organization
|
|
68
|
+
*/
|
|
69
|
+
organizationsOrganizationIdVoiceAgentsGetRaw(requestParameters, initOverrides) {
|
|
70
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
71
|
+
if (requestParameters['organizationId'] == null) {
|
|
72
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter "organizationId" was null or undefined when calling organizationsOrganizationIdVoiceAgentsGet().');
|
|
73
|
+
}
|
|
74
|
+
const queryParameters = {};
|
|
75
|
+
const headerParameters = {};
|
|
76
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
77
|
+
const token = this.configuration.accessToken;
|
|
78
|
+
const tokenString = yield token("bearerAuth", []);
|
|
79
|
+
if (tokenString) {
|
|
80
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
let urlPath = `/organizations/{organizationId}/voice-agents`;
|
|
84
|
+
urlPath = urlPath.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters['organizationId'])));
|
|
85
|
+
const response = yield this.request({
|
|
86
|
+
path: urlPath,
|
|
87
|
+
method: 'GET',
|
|
88
|
+
headers: headerParameters,
|
|
89
|
+
query: queryParameters,
|
|
90
|
+
}, initOverrides);
|
|
91
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(VoiceAgentWithSipTrunksFromJSON));
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* List all voice agents for an organization
|
|
96
|
+
*/
|
|
97
|
+
organizationsOrganizationIdVoiceAgentsGet(requestParameters, initOverrides) {
|
|
98
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
99
|
+
const response = yield this.organizationsOrganizationIdVoiceAgentsGetRaw(requestParameters, initOverrides);
|
|
100
|
+
return yield response.value();
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Create a new voice agent
|
|
105
|
+
*/
|
|
106
|
+
organizationsOrganizationIdVoiceAgentsPostRaw(requestParameters, initOverrides) {
|
|
107
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
108
|
+
if (requestParameters['organizationId'] == null) {
|
|
109
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter "organizationId" was null or undefined when calling organizationsOrganizationIdVoiceAgentsPost().');
|
|
110
|
+
}
|
|
111
|
+
if (requestParameters['voiceAgentCreate'] == null) {
|
|
112
|
+
throw new runtime.RequiredError('voiceAgentCreate', 'Required parameter "voiceAgentCreate" was null or undefined when calling organizationsOrganizationIdVoiceAgentsPost().');
|
|
113
|
+
}
|
|
114
|
+
const queryParameters = {};
|
|
115
|
+
const headerParameters = {};
|
|
116
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
117
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
118
|
+
const token = this.configuration.accessToken;
|
|
119
|
+
const tokenString = yield token("bearerAuth", []);
|
|
120
|
+
if (tokenString) {
|
|
121
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
let urlPath = `/organizations/{organizationId}/voice-agents`;
|
|
125
|
+
urlPath = urlPath.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters['organizationId'])));
|
|
126
|
+
const response = yield this.request({
|
|
127
|
+
path: urlPath,
|
|
128
|
+
method: 'POST',
|
|
129
|
+
headers: headerParameters,
|
|
130
|
+
query: queryParameters,
|
|
131
|
+
body: VoiceAgentCreateToJSON(requestParameters['voiceAgentCreate']),
|
|
132
|
+
}, initOverrides);
|
|
133
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => VoiceAgentFromJSON(jsonValue));
|
|
134
|
+
});
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Create a new voice agent
|
|
138
|
+
*/
|
|
139
|
+
organizationsOrganizationIdVoiceAgentsPost(requestParameters, initOverrides) {
|
|
140
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
141
|
+
const response = yield this.organizationsOrganizationIdVoiceAgentsPostRaw(requestParameters, initOverrides);
|
|
142
|
+
return yield response.value();
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* Delete a voice agent
|
|
147
|
+
*/
|
|
148
|
+
organizationsOrganizationIdVoiceAgentsVoiceAgentIdDeleteRaw(requestParameters, initOverrides) {
|
|
149
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
150
|
+
if (requestParameters['organizationId'] == null) {
|
|
151
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter "organizationId" was null or undefined when calling organizationsOrganizationIdVoiceAgentsVoiceAgentIdDelete().');
|
|
152
|
+
}
|
|
153
|
+
if (requestParameters['voiceAgentId'] == null) {
|
|
154
|
+
throw new runtime.RequiredError('voiceAgentId', 'Required parameter "voiceAgentId" was null or undefined when calling organizationsOrganizationIdVoiceAgentsVoiceAgentIdDelete().');
|
|
155
|
+
}
|
|
156
|
+
const queryParameters = {};
|
|
157
|
+
const headerParameters = {};
|
|
158
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
159
|
+
const token = this.configuration.accessToken;
|
|
160
|
+
const tokenString = yield token("bearerAuth", []);
|
|
161
|
+
if (tokenString) {
|
|
162
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
let urlPath = `/organizations/{organizationId}/voice-agents/{voiceAgentId}`;
|
|
166
|
+
urlPath = urlPath.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters['organizationId'])));
|
|
167
|
+
urlPath = urlPath.replace(`{${"voiceAgentId"}}`, encodeURIComponent(String(requestParameters['voiceAgentId'])));
|
|
168
|
+
const response = yield this.request({
|
|
169
|
+
path: urlPath,
|
|
170
|
+
method: 'DELETE',
|
|
171
|
+
headers: headerParameters,
|
|
172
|
+
query: queryParameters,
|
|
173
|
+
}, initOverrides);
|
|
174
|
+
return new runtime.VoidApiResponse(response);
|
|
175
|
+
});
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* Delete a voice agent
|
|
179
|
+
*/
|
|
180
|
+
organizationsOrganizationIdVoiceAgentsVoiceAgentIdDelete(requestParameters, initOverrides) {
|
|
181
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
182
|
+
yield this.organizationsOrganizationIdVoiceAgentsVoiceAgentIdDeleteRaw(requestParameters, initOverrides);
|
|
183
|
+
});
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* Get a voice agent by ID
|
|
187
|
+
*/
|
|
188
|
+
organizationsOrganizationIdVoiceAgentsVoiceAgentIdGetRaw(requestParameters, initOverrides) {
|
|
189
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
190
|
+
if (requestParameters['organizationId'] == null) {
|
|
191
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter "organizationId" was null or undefined when calling organizationsOrganizationIdVoiceAgentsVoiceAgentIdGet().');
|
|
192
|
+
}
|
|
193
|
+
if (requestParameters['voiceAgentId'] == null) {
|
|
194
|
+
throw new runtime.RequiredError('voiceAgentId', 'Required parameter "voiceAgentId" was null or undefined when calling organizationsOrganizationIdVoiceAgentsVoiceAgentIdGet().');
|
|
195
|
+
}
|
|
196
|
+
const queryParameters = {};
|
|
197
|
+
const headerParameters = {};
|
|
198
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
199
|
+
const token = this.configuration.accessToken;
|
|
200
|
+
const tokenString = yield token("bearerAuth", []);
|
|
201
|
+
if (tokenString) {
|
|
202
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
let urlPath = `/organizations/{organizationId}/voice-agents/{voiceAgentId}`;
|
|
206
|
+
urlPath = urlPath.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters['organizationId'])));
|
|
207
|
+
urlPath = urlPath.replace(`{${"voiceAgentId"}}`, encodeURIComponent(String(requestParameters['voiceAgentId'])));
|
|
208
|
+
const response = yield this.request({
|
|
209
|
+
path: urlPath,
|
|
210
|
+
method: 'GET',
|
|
211
|
+
headers: headerParameters,
|
|
212
|
+
query: queryParameters,
|
|
213
|
+
}, initOverrides);
|
|
214
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => VoiceAgentFromJSON(jsonValue));
|
|
215
|
+
});
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* Get a voice agent by ID
|
|
219
|
+
*/
|
|
220
|
+
organizationsOrganizationIdVoiceAgentsVoiceAgentIdGet(requestParameters, initOverrides) {
|
|
221
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
222
|
+
const response = yield this.organizationsOrganizationIdVoiceAgentsVoiceAgentIdGetRaw(requestParameters, initOverrides);
|
|
223
|
+
return yield response.value();
|
|
224
|
+
});
|
|
225
|
+
}
|
|
226
|
+
/**
|
|
227
|
+
* Update a voice agent
|
|
228
|
+
*/
|
|
229
|
+
organizationsOrganizationIdVoiceAgentsVoiceAgentIdPutRaw(requestParameters, initOverrides) {
|
|
230
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
231
|
+
if (requestParameters['organizationId'] == null) {
|
|
232
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter "organizationId" was null or undefined when calling organizationsOrganizationIdVoiceAgentsVoiceAgentIdPut().');
|
|
233
|
+
}
|
|
234
|
+
if (requestParameters['voiceAgentId'] == null) {
|
|
235
|
+
throw new runtime.RequiredError('voiceAgentId', 'Required parameter "voiceAgentId" was null or undefined when calling organizationsOrganizationIdVoiceAgentsVoiceAgentIdPut().');
|
|
236
|
+
}
|
|
237
|
+
if (requestParameters['voiceAgentUpdate'] == null) {
|
|
238
|
+
throw new runtime.RequiredError('voiceAgentUpdate', 'Required parameter "voiceAgentUpdate" was null or undefined when calling organizationsOrganizationIdVoiceAgentsVoiceAgentIdPut().');
|
|
239
|
+
}
|
|
240
|
+
const queryParameters = {};
|
|
241
|
+
const headerParameters = {};
|
|
242
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
243
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
244
|
+
const token = this.configuration.accessToken;
|
|
245
|
+
const tokenString = yield token("bearerAuth", []);
|
|
246
|
+
if (tokenString) {
|
|
247
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
let urlPath = `/organizations/{organizationId}/voice-agents/{voiceAgentId}`;
|
|
251
|
+
urlPath = urlPath.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters['organizationId'])));
|
|
252
|
+
urlPath = urlPath.replace(`{${"voiceAgentId"}}`, encodeURIComponent(String(requestParameters['voiceAgentId'])));
|
|
253
|
+
const response = yield this.request({
|
|
254
|
+
path: urlPath,
|
|
255
|
+
method: 'PUT',
|
|
256
|
+
headers: headerParameters,
|
|
257
|
+
query: queryParameters,
|
|
258
|
+
body: VoiceAgentUpdateToJSON(requestParameters['voiceAgentUpdate']),
|
|
259
|
+
}, initOverrides);
|
|
260
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => VoiceAgentFromJSON(jsonValue));
|
|
261
|
+
});
|
|
262
|
+
}
|
|
263
|
+
/**
|
|
264
|
+
* Update a voice agent
|
|
265
|
+
*/
|
|
266
|
+
organizationsOrganizationIdVoiceAgentsVoiceAgentIdPut(requestParameters, initOverrides) {
|
|
267
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
268
|
+
const response = yield this.organizationsOrganizationIdVoiceAgentsVoiceAgentIdPutRaw(requestParameters, initOverrides);
|
|
269
|
+
return yield response.value();
|
|
270
|
+
});
|
|
271
|
+
}
|
|
272
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export * from './CalendarApi';
|
|
2
|
+
export * from './ChatAgentsApi';
|
|
3
|
+
export * from './HistoryApi';
|
|
4
|
+
export * from './InvitationsApi';
|
|
5
|
+
export * from './LLMProvidersApi';
|
|
6
|
+
export * from './MembersApi';
|
|
7
|
+
export * from './OrganizationsApi';
|
|
8
|
+
export * from './PlaygroundApi';
|
|
9
|
+
export * from './RAGApi';
|
|
10
|
+
export * from './RecordingsApi';
|
|
11
|
+
export * from './SIPApi';
|
|
12
|
+
export * from './STTProvidersApi';
|
|
13
|
+
export * from './SubscriptionApi';
|
|
14
|
+
export * from './TTSProvidersApi';
|
|
15
|
+
export * from './VoiceAgentsApi';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
export * from './CalendarApi';
|
|
4
|
+
export * from './ChatAgentsApi';
|
|
5
|
+
export * from './HistoryApi';
|
|
6
|
+
export * from './InvitationsApi';
|
|
7
|
+
export * from './LLMProvidersApi';
|
|
8
|
+
export * from './MembersApi';
|
|
9
|
+
export * from './OrganizationsApi';
|
|
10
|
+
export * from './PlaygroundApi';
|
|
11
|
+
export * from './RAGApi';
|
|
12
|
+
export * from './RecordingsApi';
|
|
13
|
+
export * from './SIPApi';
|
|
14
|
+
export * from './STTProvidersApi';
|
|
15
|
+
export * from './SubscriptionApi';
|
|
16
|
+
export * from './TTSProvidersApi';
|
|
17
|
+
export * from './VoiceAgentsApi';
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
export * from "./api-client";
|
|
13
|
+
export * from "./runtime";
|
|
14
|
+
export * from "./apis";
|
|
15
|
+
export * from "./models";
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
export * from "./api-client";
|
|
15
|
+
export * from "./runtime";
|
|
16
|
+
export * from "./apis";
|
|
17
|
+
export * from "./models";
|
|
@@ -0,0 +1,32 @@
|
|
|
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 BillingPortalRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface BillingPortalRequest {
|
|
18
|
+
/**
|
|
19
|
+
* URL to redirect customer after leaving the portal
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof BillingPortalRequest
|
|
22
|
+
*/
|
|
23
|
+
returnUrl: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the BillingPortalRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfBillingPortalRequest(value: object): value is BillingPortalRequest;
|
|
29
|
+
export declare function BillingPortalRequestFromJSON(json: any): BillingPortalRequest;
|
|
30
|
+
export declare function BillingPortalRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): BillingPortalRequest;
|
|
31
|
+
export declare function BillingPortalRequestToJSON(json: any): BillingPortalRequest;
|
|
32
|
+
export declare function BillingPortalRequestToJSONTyped(value?: BillingPortalRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
* Check if a given object implements the BillingPortalRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfBillingPortalRequest(value) {
|
|
18
|
+
if (!('returnUrl' in value) || value['returnUrl'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function BillingPortalRequestFromJSON(json) {
|
|
23
|
+
return BillingPortalRequestFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function BillingPortalRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'returnUrl': json['returnUrl'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function BillingPortalRequestToJSON(json) {
|
|
34
|
+
return BillingPortalRequestToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function BillingPortalRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'returnUrl': value['returnUrl'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 BillingPortalResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface BillingPortalResponse {
|
|
18
|
+
/**
|
|
19
|
+
* Stripe Billing Portal URL
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof BillingPortalResponse
|
|
22
|
+
*/
|
|
23
|
+
url: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the BillingPortalResponse interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfBillingPortalResponse(value: object): value is BillingPortalResponse;
|
|
29
|
+
export declare function BillingPortalResponseFromJSON(json: any): BillingPortalResponse;
|
|
30
|
+
export declare function BillingPortalResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): BillingPortalResponse;
|
|
31
|
+
export declare function BillingPortalResponseToJSON(json: any): BillingPortalResponse;
|
|
32
|
+
export declare function BillingPortalResponseToJSONTyped(value?: BillingPortalResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
* Check if a given object implements the BillingPortalResponse interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfBillingPortalResponse(value) {
|
|
18
|
+
if (!('url' in value) || value['url'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function BillingPortalResponseFromJSON(json) {
|
|
23
|
+
return BillingPortalResponseFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function BillingPortalResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'url': json['url'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function BillingPortalResponseToJSON(json) {
|
|
34
|
+
return BillingPortalResponseToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function BillingPortalResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'url': value['url'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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 Calendar
|
|
16
|
+
*/
|
|
17
|
+
export interface Calendar {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Calendar
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Calendar
|
|
28
|
+
*/
|
|
29
|
+
agent_id: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof Calendar
|
|
34
|
+
*/
|
|
35
|
+
agent_name: string;
|
|
36
|
+
/**
|
|
37
|
+
* True if calendar has url_token
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof Calendar
|
|
40
|
+
*/
|
|
41
|
+
enabled: boolean;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Date}
|
|
45
|
+
* @memberof Calendar
|
|
46
|
+
*/
|
|
47
|
+
created_at: Date;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the Calendar interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfCalendar(value: object): value is Calendar;
|
|
53
|
+
export declare function CalendarFromJSON(json: any): Calendar;
|
|
54
|
+
export declare function CalendarFromJSONTyped(json: any, ignoreDiscriminator: boolean): Calendar;
|
|
55
|
+
export declare function CalendarToJSON(json: any): Calendar;
|
|
56
|
+
export declare function CalendarToJSONTyped(value?: Calendar | null, ignoreDiscriminator?: boolean): any;
|