@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.
Files changed (477) hide show
  1. package/LICENSE +35 -0
  2. package/README.md +219 -0
  3. package/dist/api-client.d.ts +150 -0
  4. package/dist/api-client.js +173 -0
  5. package/dist/apis/CalendarApi.d.ts +140 -0
  6. package/dist/apis/CalendarApi.js +425 -0
  7. package/dist/apis/ChatAgentsApi.d.ts +78 -0
  8. package/dist/apis/ChatAgentsApi.js +239 -0
  9. package/dist/apis/HistoryApi.d.ts +53 -0
  10. package/dist/apis/HistoryApi.js +151 -0
  11. package/dist/apis/InvitationsApi.d.ts +52 -0
  12. package/dist/apis/InvitationsApi.js +150 -0
  13. package/dist/apis/LLMProvidersApi.d.ts +31 -0
  14. package/dist/apis/LLMProvidersApi.js +72 -0
  15. package/dist/apis/MembersApi.d.ts +29 -0
  16. package/dist/apis/MembersApi.js +70 -0
  17. package/dist/apis/OrganizationsApi.d.ts +37 -0
  18. package/dist/apis/OrganizationsApi.js +104 -0
  19. package/dist/apis/PlaygroundApi.d.ts +30 -0
  20. package/dist/apis/PlaygroundApi.js +74 -0
  21. package/dist/apis/RAGApi.d.ts +132 -0
  22. package/dist/apis/RAGApi.js +433 -0
  23. package/dist/apis/RecordingsApi.d.ts +30 -0
  24. package/dist/apis/RecordingsApi.js +74 -0
  25. package/dist/apis/SIPApi.d.ts +85 -0
  26. package/dist/apis/SIPApi.js +267 -0
  27. package/dist/apis/STTProvidersApi.d.ts +31 -0
  28. package/dist/apis/STTProvidersApi.js +72 -0
  29. package/dist/apis/SubscriptionApi.d.ts +169 -0
  30. package/dist/apis/SubscriptionApi.js +490 -0
  31. package/dist/apis/TTSProvidersApi.d.ts +31 -0
  32. package/dist/apis/TTSProvidersApi.js +72 -0
  33. package/dist/apis/VoiceAgentsApi.d.ts +89 -0
  34. package/dist/apis/VoiceAgentsApi.js +276 -0
  35. package/dist/apis/index.d.ts +15 -0
  36. package/dist/apis/index.js +33 -0
  37. package/dist/esm/api-client.d.ts +150 -0
  38. package/dist/esm/api-client.js +169 -0
  39. package/dist/esm/apis/CalendarApi.d.ts +140 -0
  40. package/dist/esm/apis/CalendarApi.js +421 -0
  41. package/dist/esm/apis/ChatAgentsApi.d.ts +78 -0
  42. package/dist/esm/apis/ChatAgentsApi.js +235 -0
  43. package/dist/esm/apis/HistoryApi.d.ts +53 -0
  44. package/dist/esm/apis/HistoryApi.js +147 -0
  45. package/dist/esm/apis/InvitationsApi.d.ts +52 -0
  46. package/dist/esm/apis/InvitationsApi.js +146 -0
  47. package/dist/esm/apis/LLMProvidersApi.d.ts +31 -0
  48. package/dist/esm/apis/LLMProvidersApi.js +68 -0
  49. package/dist/esm/apis/MembersApi.d.ts +29 -0
  50. package/dist/esm/apis/MembersApi.js +66 -0
  51. package/dist/esm/apis/OrganizationsApi.d.ts +37 -0
  52. package/dist/esm/apis/OrganizationsApi.js +100 -0
  53. package/dist/esm/apis/PlaygroundApi.d.ts +30 -0
  54. package/dist/esm/apis/PlaygroundApi.js +70 -0
  55. package/dist/esm/apis/RAGApi.d.ts +132 -0
  56. package/dist/esm/apis/RAGApi.js +429 -0
  57. package/dist/esm/apis/RecordingsApi.d.ts +30 -0
  58. package/dist/esm/apis/RecordingsApi.js +70 -0
  59. package/dist/esm/apis/SIPApi.d.ts +85 -0
  60. package/dist/esm/apis/SIPApi.js +263 -0
  61. package/dist/esm/apis/STTProvidersApi.d.ts +31 -0
  62. package/dist/esm/apis/STTProvidersApi.js +68 -0
  63. package/dist/esm/apis/SubscriptionApi.d.ts +169 -0
  64. package/dist/esm/apis/SubscriptionApi.js +486 -0
  65. package/dist/esm/apis/TTSProvidersApi.d.ts +31 -0
  66. package/dist/esm/apis/TTSProvidersApi.js +68 -0
  67. package/dist/esm/apis/VoiceAgentsApi.d.ts +89 -0
  68. package/dist/esm/apis/VoiceAgentsApi.js +272 -0
  69. package/dist/esm/apis/index.d.ts +15 -0
  70. package/dist/esm/apis/index.js +17 -0
  71. package/dist/esm/index.d.ts +15 -0
  72. package/dist/esm/index.js +17 -0
  73. package/dist/esm/models/BillingPortalRequest.d.ts +32 -0
  74. package/dist/esm/models/BillingPortalRequest.js +43 -0
  75. package/dist/esm/models/BillingPortalResponse.d.ts +32 -0
  76. package/dist/esm/models/BillingPortalResponse.js +43 -0
  77. package/dist/esm/models/Calendar.d.ts +56 -0
  78. package/dist/esm/models/Calendar.js +59 -0
  79. package/dist/esm/models/CalendarEvent.d.ts +62 -0
  80. package/dist/esm/models/CalendarEvent.js +61 -0
  81. package/dist/esm/models/CalendarEventCreate.d.ts +56 -0
  82. package/dist/esm/models/CalendarEventCreate.js +57 -0
  83. package/dist/esm/models/CalendarEventResponse.d.ts +40 -0
  84. package/dist/esm/models/CalendarEventResponse.js +45 -0
  85. package/dist/esm/models/CalendarEventUpdate.d.ts +56 -0
  86. package/dist/esm/models/CalendarEventUpdate.js +49 -0
  87. package/dist/esm/models/CalendarListResponse.d.ts +33 -0
  88. package/dist/esm/models/CalendarListResponse.js +44 -0
  89. package/dist/esm/models/CalendarWithAgent.d.ts +44 -0
  90. package/dist/esm/models/CalendarWithAgent.js +51 -0
  91. package/dist/esm/models/CancelSubscriptionRequest.d.ts +38 -0
  92. package/dist/esm/models/CancelSubscriptionRequest.js +43 -0
  93. package/dist/esm/models/CancelSubscriptionResponse.d.ts +56 -0
  94. package/dist/esm/models/CancelSubscriptionResponse.js +49 -0
  95. package/dist/esm/models/ChatAgent.d.ts +88 -0
  96. package/dist/esm/models/ChatAgent.js +66 -0
  97. package/dist/esm/models/ChatAgentCreate.d.ts +64 -0
  98. package/dist/esm/models/ChatAgentCreate.js +55 -0
  99. package/dist/esm/models/ChatAgentUpdate.d.ts +64 -0
  100. package/dist/esm/models/ChatAgentUpdate.js +53 -0
  101. package/dist/esm/models/CheckoutSessionResponse.d.ts +38 -0
  102. package/dist/esm/models/CheckoutSessionResponse.js +47 -0
  103. package/dist/esm/models/CreateCheckoutSessionRequest.d.ts +50 -0
  104. package/dist/esm/models/CreateCheckoutSessionRequest.js +51 -0
  105. package/dist/esm/models/CreditBalance.d.ts +68 -0
  106. package/dist/esm/models/CreditBalance.js +61 -0
  107. package/dist/esm/models/CreditTransaction.d.ts +98 -0
  108. package/dist/esm/models/CreditTransaction.js +84 -0
  109. package/dist/esm/models/CreditTransactionsResponse.d.ts +39 -0
  110. package/dist/esm/models/CreditTransactionsResponse.js +44 -0
  111. package/dist/esm/models/DispatchRuleCreate.d.ts +38 -0
  112. package/dist/esm/models/DispatchRuleCreate.js +47 -0
  113. package/dist/esm/models/HistoryConversation.d.ts +81 -0
  114. package/dist/esm/models/HistoryConversation.js +58 -0
  115. package/dist/esm/models/HistoryMessage.d.ts +44 -0
  116. package/dist/esm/models/HistoryMessage.js +45 -0
  117. package/dist/esm/models/HistorySummary.d.ts +74 -0
  118. package/dist/esm/models/HistorySummary.js +55 -0
  119. package/dist/esm/models/InvitationAccept.d.ts +32 -0
  120. package/dist/esm/models/InvitationAccept.js +43 -0
  121. package/dist/esm/models/InvitationCreate.d.ts +46 -0
  122. package/dist/esm/models/InvitationCreate.js +54 -0
  123. package/dist/esm/models/InvitationResponse.d.ts +38 -0
  124. package/dist/esm/models/InvitationResponse.js +43 -0
  125. package/dist/esm/models/LlmAgent.d.ts +87 -0
  126. package/dist/esm/models/LlmAgent.js +60 -0
  127. package/dist/esm/models/LlmAgentInput.d.ts +87 -0
  128. package/dist/esm/models/LlmAgentInput.js +62 -0
  129. package/dist/esm/models/LlmAgentUpdateInput.d.ts +87 -0
  130. package/dist/esm/models/LlmAgentUpdateInput.js +60 -0
  131. package/dist/esm/models/LlmConfig.d.ts +44 -0
  132. package/dist/esm/models/LlmConfig.js +45 -0
  133. package/dist/esm/models/Member.d.ts +62 -0
  134. package/dist/esm/models/Member.js +57 -0
  135. package/dist/esm/models/Organization.d.ts +56 -0
  136. package/dist/esm/models/Organization.js +51 -0
  137. package/dist/esm/models/OrganizationCreate.d.ts +38 -0
  138. package/dist/esm/models/OrganizationCreate.js +45 -0
  139. package/dist/esm/models/OrganizationUpdate.d.ts +38 -0
  140. package/dist/esm/models/OrganizationUpdate.js +43 -0
  141. package/dist/esm/models/OrganizationsOrganizationIdConversationsGet200Response.d.ts +39 -0
  142. package/dist/esm/models/OrganizationsOrganizationIdConversationsGet200Response.js +44 -0
  143. package/dist/esm/models/OrganizationsOrganizationIdLlmProvidersGet200ResponseInner.d.ts +74 -0
  144. package/dist/esm/models/OrganizationsOrganizationIdLlmProvidersGet200ResponseInner.js +55 -0
  145. package/dist/esm/models/OrganizationsOrganizationIdSipDispatchRulesPost200Response.d.ts +32 -0
  146. package/dist/esm/models/OrganizationsOrganizationIdSipDispatchRulesPost200Response.js +41 -0
  147. package/dist/esm/models/OrganizationsOrganizationIdSttProvidersGet200ResponseInner.d.ts +44 -0
  148. package/dist/esm/models/OrganizationsOrganizationIdSttProvidersGet200ResponseInner.js +45 -0
  149. package/dist/esm/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInner.d.ts +45 -0
  150. package/dist/esm/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInner.js +46 -0
  151. package/dist/esm/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerVoicesInner.d.ts +44 -0
  152. package/dist/esm/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerVoicesInner.js +45 -0
  153. package/dist/esm/models/OrganizationsOrganizationIdVoiceAgentsBasicGet200ResponseInner.d.ts +38 -0
  154. package/dist/esm/models/OrganizationsOrganizationIdVoiceAgentsBasicGet200ResponseInner.js +43 -0
  155. package/dist/esm/models/PauseSubscriptionRequest.d.ts +32 -0
  156. package/dist/esm/models/PauseSubscriptionRequest.js +41 -0
  157. package/dist/esm/models/PauseSubscriptionResponse.d.ts +51 -0
  158. package/dist/esm/models/PauseSubscriptionResponse.js +48 -0
  159. package/dist/esm/models/PauseSubscriptionResponsePauseCollection.d.ts +38 -0
  160. package/dist/esm/models/PauseSubscriptionResponsePauseCollection.js +43 -0
  161. package/dist/esm/models/PhoneNumber.d.ts +50 -0
  162. package/dist/esm/models/PhoneNumber.js +47 -0
  163. package/dist/esm/models/RagConfig.d.ts +112 -0
  164. package/dist/esm/models/RagConfig.js +87 -0
  165. package/dist/esm/models/RagConfigCreate.d.ts +38 -0
  166. package/dist/esm/models/RagConfigCreate.js +45 -0
  167. package/dist/esm/models/RagDocument.d.ts +104 -0
  168. package/dist/esm/models/RagDocument.js +78 -0
  169. package/dist/esm/models/RagDocumentChunk.d.ts +52 -0
  170. package/dist/esm/models/RagDocumentChunk.js +51 -0
  171. package/dist/esm/models/RagDocumentChunkList.d.ts +51 -0
  172. package/dist/esm/models/RagDocumentChunkList.js +56 -0
  173. package/dist/esm/models/RagDocumentList.d.ts +39 -0
  174. package/dist/esm/models/RagDocumentList.js +48 -0
  175. package/dist/esm/models/RecordingSignedUrl.d.ts +32 -0
  176. package/dist/esm/models/RecordingSignedUrl.js +41 -0
  177. package/dist/esm/models/ResumeSubscriptionResponse.d.ts +50 -0
  178. package/dist/esm/models/ResumeSubscriptionResponse.js +47 -0
  179. package/dist/esm/models/SandboxToken.d.ts +32 -0
  180. package/dist/esm/models/SandboxToken.js +41 -0
  181. package/dist/esm/models/SipTrunk.d.ts +62 -0
  182. package/dist/esm/models/SipTrunk.js +57 -0
  183. package/dist/esm/models/SipTrunkCreate.d.ts +32 -0
  184. package/dist/esm/models/SipTrunkCreate.js +43 -0
  185. package/dist/esm/models/SipTrunkWithAgent.d.ts +69 -0
  186. package/dist/esm/models/SipTrunkWithAgent.js +60 -0
  187. package/dist/esm/models/SipTrunkWithAgentAllOfAgents.d.ts +32 -0
  188. package/dist/esm/models/SipTrunkWithAgentAllOfAgents.js +41 -0
  189. package/dist/esm/models/SubscriptionDetails.d.ts +142 -0
  190. package/dist/esm/models/SubscriptionDetails.js +86 -0
  191. package/dist/esm/models/SubscriptionStatus.d.ts +53 -0
  192. package/dist/esm/models/SubscriptionStatus.js +52 -0
  193. package/dist/esm/models/SubscriptionStatusPlan.d.ts +56 -0
  194. package/dist/esm/models/SubscriptionStatusPlan.js +49 -0
  195. package/dist/esm/models/SubscriptionStatusService.d.ts +44 -0
  196. package/dist/esm/models/SubscriptionStatusService.js +45 -0
  197. package/dist/esm/models/SubscriptionStatusSubscription.d.ts +76 -0
  198. package/dist/esm/models/SubscriptionStatusSubscription.js +64 -0
  199. package/dist/esm/models/ToolConfig.d.ts +46 -0
  200. package/dist/esm/models/ToolConfig.js +49 -0
  201. package/dist/esm/models/UnpauseSubscriptionResponse.d.ts +50 -0
  202. package/dist/esm/models/UnpauseSubscriptionResponse.js +47 -0
  203. package/dist/esm/models/UpdatePlanRequest.d.ts +44 -0
  204. package/dist/esm/models/UpdatePlanRequest.js +45 -0
  205. package/dist/esm/models/UpdatePlanResponse.d.ts +50 -0
  206. package/dist/esm/models/UpdatePlanResponse.js +47 -0
  207. package/dist/esm/models/VoiceAgent.d.ts +118 -0
  208. package/dist/esm/models/VoiceAgent.js +75 -0
  209. package/dist/esm/models/VoiceAgentCreate.d.ts +106 -0
  210. package/dist/esm/models/VoiceAgentCreate.js +69 -0
  211. package/dist/esm/models/VoiceAgentMetadata.d.ts +38 -0
  212. package/dist/esm/models/VoiceAgentMetadata.js +43 -0
  213. package/dist/esm/models/VoiceAgentUpdate.d.ts +100 -0
  214. package/dist/esm/models/VoiceAgentUpdate.js +65 -0
  215. package/dist/esm/models/VoiceAgentWithSipTrunks.d.ts +125 -0
  216. package/dist/esm/models/VoiceAgentWithSipTrunks.js +78 -0
  217. package/dist/esm/models/VoiceAgentWithSipTrunksAllOfSipTrunks.d.ts +32 -0
  218. package/dist/esm/models/VoiceAgentWithSipTrunksAllOfSipTrunks.js +41 -0
  219. package/dist/esm/models/WidgetConfig.d.ts +65 -0
  220. package/dist/esm/models/WidgetConfig.js +57 -0
  221. package/dist/esm/models/WidgetPosition.d.ts +27 -0
  222. package/dist/esm/models/WidgetPosition.js +45 -0
  223. package/dist/esm/models/index.d.ts +74 -0
  224. package/dist/esm/models/index.js +76 -0
  225. package/dist/esm/runtime.d.ts +184 -0
  226. package/dist/esm/runtime.js +334 -0
  227. package/dist/index.d.ts +15 -0
  228. package/dist/index.js +33 -0
  229. package/dist/models/BillingPortalRequest.d.ts +32 -0
  230. package/dist/models/BillingPortalRequest.js +50 -0
  231. package/dist/models/BillingPortalResponse.d.ts +32 -0
  232. package/dist/models/BillingPortalResponse.js +50 -0
  233. package/dist/models/Calendar.d.ts +56 -0
  234. package/dist/models/Calendar.js +66 -0
  235. package/dist/models/CalendarEvent.d.ts +62 -0
  236. package/dist/models/CalendarEvent.js +68 -0
  237. package/dist/models/CalendarEventCreate.d.ts +56 -0
  238. package/dist/models/CalendarEventCreate.js +64 -0
  239. package/dist/models/CalendarEventResponse.d.ts +40 -0
  240. package/dist/models/CalendarEventResponse.js +52 -0
  241. package/dist/models/CalendarEventUpdate.d.ts +56 -0
  242. package/dist/models/CalendarEventUpdate.js +56 -0
  243. package/dist/models/CalendarListResponse.d.ts +33 -0
  244. package/dist/models/CalendarListResponse.js +51 -0
  245. package/dist/models/CalendarWithAgent.d.ts +44 -0
  246. package/dist/models/CalendarWithAgent.js +58 -0
  247. package/dist/models/CancelSubscriptionRequest.d.ts +38 -0
  248. package/dist/models/CancelSubscriptionRequest.js +50 -0
  249. package/dist/models/CancelSubscriptionResponse.d.ts +56 -0
  250. package/dist/models/CancelSubscriptionResponse.js +56 -0
  251. package/dist/models/ChatAgent.d.ts +88 -0
  252. package/dist/models/ChatAgent.js +73 -0
  253. package/dist/models/ChatAgentCreate.d.ts +64 -0
  254. package/dist/models/ChatAgentCreate.js +62 -0
  255. package/dist/models/ChatAgentUpdate.d.ts +64 -0
  256. package/dist/models/ChatAgentUpdate.js +60 -0
  257. package/dist/models/CheckoutSessionResponse.d.ts +38 -0
  258. package/dist/models/CheckoutSessionResponse.js +54 -0
  259. package/dist/models/CreateCheckoutSessionRequest.d.ts +50 -0
  260. package/dist/models/CreateCheckoutSessionRequest.js +58 -0
  261. package/dist/models/CreditBalance.d.ts +68 -0
  262. package/dist/models/CreditBalance.js +68 -0
  263. package/dist/models/CreditTransaction.d.ts +98 -0
  264. package/dist/models/CreditTransaction.js +92 -0
  265. package/dist/models/CreditTransactionsResponse.d.ts +39 -0
  266. package/dist/models/CreditTransactionsResponse.js +51 -0
  267. package/dist/models/DispatchRuleCreate.d.ts +38 -0
  268. package/dist/models/DispatchRuleCreate.js +54 -0
  269. package/dist/models/HistoryConversation.d.ts +81 -0
  270. package/dist/models/HistoryConversation.js +65 -0
  271. package/dist/models/HistoryMessage.d.ts +44 -0
  272. package/dist/models/HistoryMessage.js +52 -0
  273. package/dist/models/HistorySummary.d.ts +74 -0
  274. package/dist/models/HistorySummary.js +62 -0
  275. package/dist/models/InvitationAccept.d.ts +32 -0
  276. package/dist/models/InvitationAccept.js +50 -0
  277. package/dist/models/InvitationCreate.d.ts +46 -0
  278. package/dist/models/InvitationCreate.js +62 -0
  279. package/dist/models/InvitationResponse.d.ts +38 -0
  280. package/dist/models/InvitationResponse.js +50 -0
  281. package/dist/models/LlmAgent.d.ts +87 -0
  282. package/dist/models/LlmAgent.js +67 -0
  283. package/dist/models/LlmAgentInput.d.ts +87 -0
  284. package/dist/models/LlmAgentInput.js +69 -0
  285. package/dist/models/LlmAgentUpdateInput.d.ts +87 -0
  286. package/dist/models/LlmAgentUpdateInput.js +67 -0
  287. package/dist/models/LlmConfig.d.ts +44 -0
  288. package/dist/models/LlmConfig.js +52 -0
  289. package/dist/models/Member.d.ts +62 -0
  290. package/dist/models/Member.js +64 -0
  291. package/dist/models/Organization.d.ts +56 -0
  292. package/dist/models/Organization.js +58 -0
  293. package/dist/models/OrganizationCreate.d.ts +38 -0
  294. package/dist/models/OrganizationCreate.js +52 -0
  295. package/dist/models/OrganizationUpdate.d.ts +38 -0
  296. package/dist/models/OrganizationUpdate.js +50 -0
  297. package/dist/models/OrganizationsOrganizationIdConversationsGet200Response.d.ts +39 -0
  298. package/dist/models/OrganizationsOrganizationIdConversationsGet200Response.js +51 -0
  299. package/dist/models/OrganizationsOrganizationIdLlmProvidersGet200ResponseInner.d.ts +74 -0
  300. package/dist/models/OrganizationsOrganizationIdLlmProvidersGet200ResponseInner.js +62 -0
  301. package/dist/models/OrganizationsOrganizationIdSipDispatchRulesPost200Response.d.ts +32 -0
  302. package/dist/models/OrganizationsOrganizationIdSipDispatchRulesPost200Response.js +48 -0
  303. package/dist/models/OrganizationsOrganizationIdSttProvidersGet200ResponseInner.d.ts +44 -0
  304. package/dist/models/OrganizationsOrganizationIdSttProvidersGet200ResponseInner.js +52 -0
  305. package/dist/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInner.d.ts +45 -0
  306. package/dist/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInner.js +53 -0
  307. package/dist/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerVoicesInner.d.ts +44 -0
  308. package/dist/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerVoicesInner.js +52 -0
  309. package/dist/models/OrganizationsOrganizationIdVoiceAgentsBasicGet200ResponseInner.d.ts +38 -0
  310. package/dist/models/OrganizationsOrganizationIdVoiceAgentsBasicGet200ResponseInner.js +50 -0
  311. package/dist/models/PauseSubscriptionRequest.d.ts +32 -0
  312. package/dist/models/PauseSubscriptionRequest.js +48 -0
  313. package/dist/models/PauseSubscriptionResponse.d.ts +51 -0
  314. package/dist/models/PauseSubscriptionResponse.js +55 -0
  315. package/dist/models/PauseSubscriptionResponsePauseCollection.d.ts +38 -0
  316. package/dist/models/PauseSubscriptionResponsePauseCollection.js +50 -0
  317. package/dist/models/PhoneNumber.d.ts +50 -0
  318. package/dist/models/PhoneNumber.js +54 -0
  319. package/dist/models/RagConfig.d.ts +112 -0
  320. package/dist/models/RagConfig.js +94 -0
  321. package/dist/models/RagConfigCreate.d.ts +38 -0
  322. package/dist/models/RagConfigCreate.js +52 -0
  323. package/dist/models/RagDocument.d.ts +104 -0
  324. package/dist/models/RagDocument.js +86 -0
  325. package/dist/models/RagDocumentChunk.d.ts +52 -0
  326. package/dist/models/RagDocumentChunk.js +58 -0
  327. package/dist/models/RagDocumentChunkList.d.ts +51 -0
  328. package/dist/models/RagDocumentChunkList.js +63 -0
  329. package/dist/models/RagDocumentList.d.ts +39 -0
  330. package/dist/models/RagDocumentList.js +55 -0
  331. package/dist/models/RecordingSignedUrl.d.ts +32 -0
  332. package/dist/models/RecordingSignedUrl.js +48 -0
  333. package/dist/models/ResumeSubscriptionResponse.d.ts +50 -0
  334. package/dist/models/ResumeSubscriptionResponse.js +54 -0
  335. package/dist/models/SandboxToken.d.ts +32 -0
  336. package/dist/models/SandboxToken.js +48 -0
  337. package/dist/models/SipTrunk.d.ts +62 -0
  338. package/dist/models/SipTrunk.js +64 -0
  339. package/dist/models/SipTrunkCreate.d.ts +32 -0
  340. package/dist/models/SipTrunkCreate.js +50 -0
  341. package/dist/models/SipTrunkWithAgent.d.ts +69 -0
  342. package/dist/models/SipTrunkWithAgent.js +67 -0
  343. package/dist/models/SipTrunkWithAgentAllOfAgents.d.ts +32 -0
  344. package/dist/models/SipTrunkWithAgentAllOfAgents.js +48 -0
  345. package/dist/models/SubscriptionDetails.d.ts +142 -0
  346. package/dist/models/SubscriptionDetails.js +94 -0
  347. package/dist/models/SubscriptionStatus.d.ts +53 -0
  348. package/dist/models/SubscriptionStatus.js +59 -0
  349. package/dist/models/SubscriptionStatusPlan.d.ts +56 -0
  350. package/dist/models/SubscriptionStatusPlan.js +56 -0
  351. package/dist/models/SubscriptionStatusService.d.ts +44 -0
  352. package/dist/models/SubscriptionStatusService.js +52 -0
  353. package/dist/models/SubscriptionStatusSubscription.d.ts +76 -0
  354. package/dist/models/SubscriptionStatusSubscription.js +72 -0
  355. package/dist/models/ToolConfig.d.ts +46 -0
  356. package/dist/models/ToolConfig.js +56 -0
  357. package/dist/models/UnpauseSubscriptionResponse.d.ts +50 -0
  358. package/dist/models/UnpauseSubscriptionResponse.js +54 -0
  359. package/dist/models/UpdatePlanRequest.d.ts +44 -0
  360. package/dist/models/UpdatePlanRequest.js +52 -0
  361. package/dist/models/UpdatePlanResponse.d.ts +50 -0
  362. package/dist/models/UpdatePlanResponse.js +54 -0
  363. package/dist/models/VoiceAgent.d.ts +118 -0
  364. package/dist/models/VoiceAgent.js +82 -0
  365. package/dist/models/VoiceAgentCreate.d.ts +106 -0
  366. package/dist/models/VoiceAgentCreate.js +76 -0
  367. package/dist/models/VoiceAgentMetadata.d.ts +38 -0
  368. package/dist/models/VoiceAgentMetadata.js +50 -0
  369. package/dist/models/VoiceAgentUpdate.d.ts +100 -0
  370. package/dist/models/VoiceAgentUpdate.js +72 -0
  371. package/dist/models/VoiceAgentWithSipTrunks.d.ts +125 -0
  372. package/dist/models/VoiceAgentWithSipTrunks.js +85 -0
  373. package/dist/models/VoiceAgentWithSipTrunksAllOfSipTrunks.d.ts +32 -0
  374. package/dist/models/VoiceAgentWithSipTrunksAllOfSipTrunks.js +48 -0
  375. package/dist/models/WidgetConfig.d.ts +65 -0
  376. package/dist/models/WidgetConfig.js +65 -0
  377. package/dist/models/WidgetPosition.d.ts +27 -0
  378. package/dist/models/WidgetPosition.js +53 -0
  379. package/dist/models/index.d.ts +74 -0
  380. package/dist/models/index.js +92 -0
  381. package/dist/runtime.d.ts +184 -0
  382. package/dist/runtime.js +350 -0
  383. package/package.json +43 -0
  384. package/src/api-client.ts +324 -0
  385. package/src/apis/CalendarApi.ts +601 -0
  386. package/src/apis/ChatAgentsApi.ts +329 -0
  387. package/src/apis/HistoryApi.ts +197 -0
  388. package/src/apis/InvitationsApi.ts +196 -0
  389. package/src/apis/LLMProvidersApi.ts +81 -0
  390. package/src/apis/MembersApi.ts +79 -0
  391. package/src/apis/OrganizationsApi.ts +121 -0
  392. package/src/apis/PlaygroundApi.ts +88 -0
  393. package/src/apis/RAGApi.ts +613 -0
  394. package/src/apis/RecordingsApi.ts +88 -0
  395. package/src/apis/SIPApi.ts +362 -0
  396. package/src/apis/STTProvidersApi.ts +81 -0
  397. package/src/apis/SubscriptionApi.ts +692 -0
  398. package/src/apis/TTSProvidersApi.ts +81 -0
  399. package/src/apis/VoiceAgentsApi.ts +384 -0
  400. package/src/apis/index.ts +17 -0
  401. package/src/index.ts +19 -0
  402. package/src/models/BillingPortalRequest.ts +66 -0
  403. package/src/models/BillingPortalResponse.ts +66 -0
  404. package/src/models/Calendar.ts +102 -0
  405. package/src/models/CalendarEvent.ts +110 -0
  406. package/src/models/CalendarEventCreate.ts +101 -0
  407. package/src/models/CalendarEventResponse.ts +88 -0
  408. package/src/models/CalendarEventUpdate.ts +97 -0
  409. package/src/models/CalendarListResponse.ts +74 -0
  410. package/src/models/CalendarWithAgent.ts +84 -0
  411. package/src/models/CancelSubscriptionRequest.ts +73 -0
  412. package/src/models/CancelSubscriptionResponse.ts +97 -0
  413. package/src/models/ChatAgent.ts +154 -0
  414. package/src/models/ChatAgentCreate.ts +121 -0
  415. package/src/models/ChatAgentUpdate.ts +120 -0
  416. package/src/models/CheckoutSessionResponse.ts +75 -0
  417. package/src/models/CreateCheckoutSessionRequest.ts +91 -0
  418. package/src/models/CreditBalance.ts +117 -0
  419. package/src/models/CreditTransaction.ts +159 -0
  420. package/src/models/CreditTransactionsResponse.ts +81 -0
  421. package/src/models/DispatchRuleCreate.ts +75 -0
  422. package/src/models/HistoryConversation.ts +137 -0
  423. package/src/models/HistoryMessage.ts +81 -0
  424. package/src/models/HistorySummary.ts +121 -0
  425. package/src/models/InvitationAccept.ts +66 -0
  426. package/src/models/InvitationCreate.ts +86 -0
  427. package/src/models/InvitationResponse.ts +73 -0
  428. package/src/models/LlmAgent.ts +145 -0
  429. package/src/models/LlmAgentInput.ts +146 -0
  430. package/src/models/LlmAgentUpdateInput.ts +145 -0
  431. package/src/models/Member.ts +108 -0
  432. package/src/models/Organization.ts +98 -0
  433. package/src/models/OrganizationCreate.ts +74 -0
  434. package/src/models/OrganizationUpdate.ts +73 -0
  435. package/src/models/OrganizationsOrganizationIdConversationsGet200Response.ts +81 -0
  436. package/src/models/OrganizationsOrganizationIdLlmProvidersGet200ResponseInner.ts +121 -0
  437. package/src/models/OrganizationsOrganizationIdSipDispatchRulesPost200Response.ts +65 -0
  438. package/src/models/OrganizationsOrganizationIdSttProvidersGet200ResponseInner.ts +81 -0
  439. package/src/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInner.ts +89 -0
  440. package/src/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerVoicesInner.ts +81 -0
  441. package/src/models/OrganizationsOrganizationIdVoiceAgentsBasicGet200ResponseInner.ts +73 -0
  442. package/src/models/PauseSubscriptionRequest.ts +65 -0
  443. package/src/models/PauseSubscriptionResponse.ts +97 -0
  444. package/src/models/PauseSubscriptionResponsePauseCollection.ts +73 -0
  445. package/src/models/PhoneNumber.ts +89 -0
  446. package/src/models/RagConfig.ts +179 -0
  447. package/src/models/RagConfigCreate.ts +74 -0
  448. package/src/models/RagDocument.ts +162 -0
  449. package/src/models/RagDocumentChunk.ts +91 -0
  450. package/src/models/RagDocumentChunkList.ts +101 -0
  451. package/src/models/RagDocumentList.ts +83 -0
  452. package/src/models/RecordingSignedUrl.ts +65 -0
  453. package/src/models/ResumeSubscriptionResponse.ts +89 -0
  454. package/src/models/SandboxToken.ts +65 -0
  455. package/src/models/SipTrunk.ts +108 -0
  456. package/src/models/SipTrunkCreate.ts +66 -0
  457. package/src/models/SipTrunkWithAgent.ts +124 -0
  458. package/src/models/SipTrunkWithAgentAllOfAgents.ts +65 -0
  459. package/src/models/SubscriptionDetails.ts +210 -0
  460. package/src/models/SubscriptionStatus.ts +112 -0
  461. package/src/models/SubscriptionStatusPlan.ts +97 -0
  462. package/src/models/SubscriptionStatusService.ts +81 -0
  463. package/src/models/SubscriptionStatusSubscription.ts +122 -0
  464. package/src/models/ToolConfig.ts +83 -0
  465. package/src/models/UnpauseSubscriptionResponse.ts +89 -0
  466. package/src/models/UpdatePlanRequest.ts +81 -0
  467. package/src/models/UpdatePlanResponse.ts +89 -0
  468. package/src/models/VoiceAgent.ts +194 -0
  469. package/src/models/VoiceAgentCreate.ts +177 -0
  470. package/src/models/VoiceAgentMetadata.ts +73 -0
  471. package/src/models/VoiceAgentUpdate.ts +168 -0
  472. package/src/models/VoiceAgentWithSipTrunks.ts +209 -0
  473. package/src/models/VoiceAgentWithSipTrunksAllOfSipTrunks.ts +65 -0
  474. package/src/models/WidgetConfig.ts +116 -0
  475. package/src/models/WidgetPosition.ts +55 -0
  476. package/src/models/index.ts +76 -0
  477. package/src/runtime.ts +432 -0
@@ -0,0 +1,106 @@
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 { LlmAgentInput } from './LlmAgentInput';
13
+ import type { VoiceAgentMetadata } from './VoiceAgentMetadata';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface VoiceAgentCreate
18
+ */
19
+ export interface VoiceAgentCreate {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof VoiceAgentCreate
24
+ */
25
+ name?: string;
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof VoiceAgentCreate
30
+ */
31
+ organization_id: string;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof VoiceAgentCreate
36
+ */
37
+ instructions?: string;
38
+ /**
39
+ *
40
+ * @type {string}
41
+ * @memberof VoiceAgentCreate
42
+ */
43
+ greeting?: string;
44
+ /**
45
+ *
46
+ * @type {string}
47
+ * @memberof VoiceAgentCreate
48
+ */
49
+ stt_provider?: string;
50
+ /**
51
+ *
52
+ * @type {string}
53
+ * @memberof VoiceAgentCreate
54
+ */
55
+ stt_model?: string;
56
+ /**
57
+ *
58
+ * @type {string}
59
+ * @memberof VoiceAgentCreate
60
+ */
61
+ tts_provider?: string;
62
+ /**
63
+ *
64
+ * @type {string}
65
+ * @memberof VoiceAgentCreate
66
+ */
67
+ tts_model?: string;
68
+ /**
69
+ *
70
+ * @type {string}
71
+ * @memberof VoiceAgentCreate
72
+ */
73
+ tts_voice?: string;
74
+ /**
75
+ * Language code for both STT and TTS (e.g., 'en-US', 'hu-HU')
76
+ * @type {string}
77
+ * @memberof VoiceAgentCreate
78
+ */
79
+ language?: string;
80
+ /**
81
+ *
82
+ * @type {boolean}
83
+ * @memberof VoiceAgentCreate
84
+ */
85
+ enable_recording?: boolean;
86
+ /**
87
+ *
88
+ * @type {VoiceAgentMetadata}
89
+ * @memberof VoiceAgentCreate
90
+ */
91
+ metadata?: VoiceAgentMetadata;
92
+ /**
93
+ *
94
+ * @type {LlmAgentInput}
95
+ * @memberof VoiceAgentCreate
96
+ */
97
+ llm_agent?: LlmAgentInput;
98
+ }
99
+ /**
100
+ * Check if a given object implements the VoiceAgentCreate interface.
101
+ */
102
+ export declare function instanceOfVoiceAgentCreate(value: object): value is VoiceAgentCreate;
103
+ export declare function VoiceAgentCreateFromJSON(json: any): VoiceAgentCreate;
104
+ export declare function VoiceAgentCreateFromJSONTyped(json: any, ignoreDiscriminator: boolean): VoiceAgentCreate;
105
+ export declare function VoiceAgentCreateToJSON(json: any): VoiceAgentCreate;
106
+ export declare function VoiceAgentCreateToJSONTyped(value?: VoiceAgentCreate | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,76 @@
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.instanceOfVoiceAgentCreate = instanceOfVoiceAgentCreate;
17
+ exports.VoiceAgentCreateFromJSON = VoiceAgentCreateFromJSON;
18
+ exports.VoiceAgentCreateFromJSONTyped = VoiceAgentCreateFromJSONTyped;
19
+ exports.VoiceAgentCreateToJSON = VoiceAgentCreateToJSON;
20
+ exports.VoiceAgentCreateToJSONTyped = VoiceAgentCreateToJSONTyped;
21
+ const LlmAgentInput_1 = require("./LlmAgentInput");
22
+ const VoiceAgentMetadata_1 = require("./VoiceAgentMetadata");
23
+ /**
24
+ * Check if a given object implements the VoiceAgentCreate interface.
25
+ */
26
+ function instanceOfVoiceAgentCreate(value) {
27
+ if (!('organization_id' in value) || value['organization_id'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function VoiceAgentCreateFromJSON(json) {
32
+ return VoiceAgentCreateFromJSONTyped(json, false);
33
+ }
34
+ function VoiceAgentCreateFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'name': json['name'] == null ? undefined : json['name'],
40
+ 'organization_id': json['organization_id'],
41
+ 'instructions': json['instructions'] == null ? undefined : json['instructions'],
42
+ 'greeting': json['greeting'] == null ? undefined : json['greeting'],
43
+ 'stt_provider': json['stt_provider'] == null ? undefined : json['stt_provider'],
44
+ 'stt_model': json['stt_model'] == null ? undefined : json['stt_model'],
45
+ 'tts_provider': json['tts_provider'] == null ? undefined : json['tts_provider'],
46
+ 'tts_model': json['tts_model'] == null ? undefined : json['tts_model'],
47
+ 'tts_voice': json['tts_voice'] == null ? undefined : json['tts_voice'],
48
+ 'language': json['language'] == null ? undefined : json['language'],
49
+ 'enable_recording': json['enable_recording'] == null ? undefined : json['enable_recording'],
50
+ 'metadata': json['metadata'] == null ? undefined : (0, VoiceAgentMetadata_1.VoiceAgentMetadataFromJSON)(json['metadata']),
51
+ 'llm_agent': json['llm_agent'] == null ? undefined : (0, LlmAgentInput_1.LlmAgentInputFromJSON)(json['llm_agent']),
52
+ };
53
+ }
54
+ function VoiceAgentCreateToJSON(json) {
55
+ return VoiceAgentCreateToJSONTyped(json, false);
56
+ }
57
+ function VoiceAgentCreateToJSONTyped(value, ignoreDiscriminator = false) {
58
+ if (value == null) {
59
+ return value;
60
+ }
61
+ return {
62
+ 'name': value['name'],
63
+ 'organization_id': value['organization_id'],
64
+ 'instructions': value['instructions'],
65
+ 'greeting': value['greeting'],
66
+ 'stt_provider': value['stt_provider'],
67
+ 'stt_model': value['stt_model'],
68
+ 'tts_provider': value['tts_provider'],
69
+ 'tts_model': value['tts_model'],
70
+ 'tts_voice': value['tts_voice'],
71
+ 'language': value['language'],
72
+ 'enable_recording': value['enable_recording'],
73
+ 'metadata': (0, VoiceAgentMetadata_1.VoiceAgentMetadataToJSON)(value['metadata']),
74
+ 'llm_agent': (0, LlmAgentInput_1.LlmAgentInputToJSON)(value['llm_agent']),
75
+ };
76
+ }
@@ -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 VoiceAgentMetadata
16
+ */
17
+ export interface VoiceAgentMetadata {
18
+ /**
19
+ *
20
+ * @type {Array<string>}
21
+ * @memberof VoiceAgentMetadata
22
+ */
23
+ allowedFunctions?: Array<string>;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof VoiceAgentMetadata
28
+ */
29
+ rag_index?: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the VoiceAgentMetadata interface.
33
+ */
34
+ export declare function instanceOfVoiceAgentMetadata(value: object): value is VoiceAgentMetadata;
35
+ export declare function VoiceAgentMetadataFromJSON(json: any): VoiceAgentMetadata;
36
+ export declare function VoiceAgentMetadataFromJSONTyped(json: any, ignoreDiscriminator: boolean): VoiceAgentMetadata;
37
+ export declare function VoiceAgentMetadataToJSON(json: any): VoiceAgentMetadata;
38
+ export declare function VoiceAgentMetadataToJSONTyped(value?: VoiceAgentMetadata | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
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.instanceOfVoiceAgentMetadata = instanceOfVoiceAgentMetadata;
17
+ exports.VoiceAgentMetadataFromJSON = VoiceAgentMetadataFromJSON;
18
+ exports.VoiceAgentMetadataFromJSONTyped = VoiceAgentMetadataFromJSONTyped;
19
+ exports.VoiceAgentMetadataToJSON = VoiceAgentMetadataToJSON;
20
+ exports.VoiceAgentMetadataToJSONTyped = VoiceAgentMetadataToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the VoiceAgentMetadata interface.
23
+ */
24
+ function instanceOfVoiceAgentMetadata(value) {
25
+ return true;
26
+ }
27
+ function VoiceAgentMetadataFromJSON(json) {
28
+ return VoiceAgentMetadataFromJSONTyped(json, false);
29
+ }
30
+ function VoiceAgentMetadataFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'allowedFunctions': json['allowedFunctions'] == null ? undefined : json['allowedFunctions'],
36
+ 'rag_index': json['rag_index'] == null ? undefined : json['rag_index'],
37
+ };
38
+ }
39
+ function VoiceAgentMetadataToJSON(json) {
40
+ return VoiceAgentMetadataToJSONTyped(json, false);
41
+ }
42
+ function VoiceAgentMetadataToJSONTyped(value, ignoreDiscriminator = false) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'allowedFunctions': value['allowedFunctions'],
48
+ 'rag_index': value['rag_index'],
49
+ };
50
+ }
@@ -0,0 +1,100 @@
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 { VoiceAgentMetadata } from './VoiceAgentMetadata';
13
+ import type { LlmAgentUpdateInput } from './LlmAgentUpdateInput';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface VoiceAgentUpdate
18
+ */
19
+ export interface VoiceAgentUpdate {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof VoiceAgentUpdate
24
+ */
25
+ name?: string;
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof VoiceAgentUpdate
30
+ */
31
+ instructions?: string;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof VoiceAgentUpdate
36
+ */
37
+ greeting?: string;
38
+ /**
39
+ *
40
+ * @type {string}
41
+ * @memberof VoiceAgentUpdate
42
+ */
43
+ stt_provider?: string;
44
+ /**
45
+ *
46
+ * @type {string}
47
+ * @memberof VoiceAgentUpdate
48
+ */
49
+ stt_model?: string;
50
+ /**
51
+ *
52
+ * @type {string}
53
+ * @memberof VoiceAgentUpdate
54
+ */
55
+ tts_provider?: string;
56
+ /**
57
+ *
58
+ * @type {string}
59
+ * @memberof VoiceAgentUpdate
60
+ */
61
+ tts_model?: string;
62
+ /**
63
+ *
64
+ * @type {string}
65
+ * @memberof VoiceAgentUpdate
66
+ */
67
+ tts_voice?: string;
68
+ /**
69
+ * Language code for both STT and TTS (e.g., 'en-US', 'hu-HU')
70
+ * @type {string}
71
+ * @memberof VoiceAgentUpdate
72
+ */
73
+ language?: string;
74
+ /**
75
+ *
76
+ * @type {boolean}
77
+ * @memberof VoiceAgentUpdate
78
+ */
79
+ enable_recording?: boolean;
80
+ /**
81
+ *
82
+ * @type {VoiceAgentMetadata}
83
+ * @memberof VoiceAgentUpdate
84
+ */
85
+ metadata?: VoiceAgentMetadata;
86
+ /**
87
+ *
88
+ * @type {LlmAgentUpdateInput}
89
+ * @memberof VoiceAgentUpdate
90
+ */
91
+ llm_agent?: LlmAgentUpdateInput;
92
+ }
93
+ /**
94
+ * Check if a given object implements the VoiceAgentUpdate interface.
95
+ */
96
+ export declare function instanceOfVoiceAgentUpdate(value: object): value is VoiceAgentUpdate;
97
+ export declare function VoiceAgentUpdateFromJSON(json: any): VoiceAgentUpdate;
98
+ export declare function VoiceAgentUpdateFromJSONTyped(json: any, ignoreDiscriminator: boolean): VoiceAgentUpdate;
99
+ export declare function VoiceAgentUpdateToJSON(json: any): VoiceAgentUpdate;
100
+ export declare function VoiceAgentUpdateToJSONTyped(value?: VoiceAgentUpdate | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,72 @@
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.instanceOfVoiceAgentUpdate = instanceOfVoiceAgentUpdate;
17
+ exports.VoiceAgentUpdateFromJSON = VoiceAgentUpdateFromJSON;
18
+ exports.VoiceAgentUpdateFromJSONTyped = VoiceAgentUpdateFromJSONTyped;
19
+ exports.VoiceAgentUpdateToJSON = VoiceAgentUpdateToJSON;
20
+ exports.VoiceAgentUpdateToJSONTyped = VoiceAgentUpdateToJSONTyped;
21
+ const VoiceAgentMetadata_1 = require("./VoiceAgentMetadata");
22
+ const LlmAgentUpdateInput_1 = require("./LlmAgentUpdateInput");
23
+ /**
24
+ * Check if a given object implements the VoiceAgentUpdate interface.
25
+ */
26
+ function instanceOfVoiceAgentUpdate(value) {
27
+ return true;
28
+ }
29
+ function VoiceAgentUpdateFromJSON(json) {
30
+ return VoiceAgentUpdateFromJSONTyped(json, false);
31
+ }
32
+ function VoiceAgentUpdateFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'name': json['name'] == null ? undefined : json['name'],
38
+ 'instructions': json['instructions'] == null ? undefined : json['instructions'],
39
+ 'greeting': json['greeting'] == null ? undefined : json['greeting'],
40
+ 'stt_provider': json['stt_provider'] == null ? undefined : json['stt_provider'],
41
+ 'stt_model': json['stt_model'] == null ? undefined : json['stt_model'],
42
+ 'tts_provider': json['tts_provider'] == null ? undefined : json['tts_provider'],
43
+ 'tts_model': json['tts_model'] == null ? undefined : json['tts_model'],
44
+ 'tts_voice': json['tts_voice'] == null ? undefined : json['tts_voice'],
45
+ 'language': json['language'] == null ? undefined : json['language'],
46
+ 'enable_recording': json['enable_recording'] == null ? undefined : json['enable_recording'],
47
+ 'metadata': json['metadata'] == null ? undefined : (0, VoiceAgentMetadata_1.VoiceAgentMetadataFromJSON)(json['metadata']),
48
+ 'llm_agent': json['llm_agent'] == null ? undefined : (0, LlmAgentUpdateInput_1.LlmAgentUpdateInputFromJSON)(json['llm_agent']),
49
+ };
50
+ }
51
+ function VoiceAgentUpdateToJSON(json) {
52
+ return VoiceAgentUpdateToJSONTyped(json, false);
53
+ }
54
+ function VoiceAgentUpdateToJSONTyped(value, ignoreDiscriminator = false) {
55
+ if (value == null) {
56
+ return value;
57
+ }
58
+ return {
59
+ 'name': value['name'],
60
+ 'instructions': value['instructions'],
61
+ 'greeting': value['greeting'],
62
+ 'stt_provider': value['stt_provider'],
63
+ 'stt_model': value['stt_model'],
64
+ 'tts_provider': value['tts_provider'],
65
+ 'tts_model': value['tts_model'],
66
+ 'tts_voice': value['tts_voice'],
67
+ 'language': value['language'],
68
+ 'enable_recording': value['enable_recording'],
69
+ 'metadata': (0, VoiceAgentMetadata_1.VoiceAgentMetadataToJSON)(value['metadata']),
70
+ 'llm_agent': (0, LlmAgentUpdateInput_1.LlmAgentUpdateInputToJSON)(value['llm_agent']),
71
+ };
72
+ }
@@ -0,0 +1,125 @@
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 { LlmAgent } from './LlmAgent';
13
+ import type { VoiceAgentMetadata } from './VoiceAgentMetadata';
14
+ import type { VoiceAgentWithSipTrunksAllOfSipTrunks } from './VoiceAgentWithSipTrunksAllOfSipTrunks';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface VoiceAgentWithSipTrunks
19
+ */
20
+ export interface VoiceAgentWithSipTrunks {
21
+ /**
22
+ *
23
+ * @type {string}
24
+ * @memberof VoiceAgentWithSipTrunks
25
+ */
26
+ id: string;
27
+ /**
28
+ *
29
+ * @type {string}
30
+ * @memberof VoiceAgentWithSipTrunks
31
+ */
32
+ name?: string;
33
+ /**
34
+ *
35
+ * @type {string}
36
+ * @memberof VoiceAgentWithSipTrunks
37
+ */
38
+ organization_id: string;
39
+ /**
40
+ *
41
+ * @type {string}
42
+ * @memberof VoiceAgentWithSipTrunks
43
+ */
44
+ instructions?: string;
45
+ /**
46
+ *
47
+ * @type {string}
48
+ * @memberof VoiceAgentWithSipTrunks
49
+ */
50
+ greeting?: string;
51
+ /**
52
+ *
53
+ * @type {string}
54
+ * @memberof VoiceAgentWithSipTrunks
55
+ */
56
+ stt_provider?: string;
57
+ /**
58
+ *
59
+ * @type {string}
60
+ * @memberof VoiceAgentWithSipTrunks
61
+ */
62
+ stt_model?: string;
63
+ /**
64
+ *
65
+ * @type {string}
66
+ * @memberof VoiceAgentWithSipTrunks
67
+ */
68
+ tts_provider?: string;
69
+ /**
70
+ *
71
+ * @type {string}
72
+ * @memberof VoiceAgentWithSipTrunks
73
+ */
74
+ tts_model?: string;
75
+ /**
76
+ *
77
+ * @type {string}
78
+ * @memberof VoiceAgentWithSipTrunks
79
+ */
80
+ tts_voice?: string;
81
+ /**
82
+ * Language code for both STT and TTS (e.g., 'en-US', 'hu-HU')
83
+ * @type {string}
84
+ * @memberof VoiceAgentWithSipTrunks
85
+ */
86
+ language?: string;
87
+ /**
88
+ *
89
+ * @type {boolean}
90
+ * @memberof VoiceAgentWithSipTrunks
91
+ */
92
+ enable_recording?: boolean;
93
+ /**
94
+ *
95
+ * @type {VoiceAgentMetadata}
96
+ * @memberof VoiceAgentWithSipTrunks
97
+ */
98
+ metadata?: VoiceAgentMetadata;
99
+ /**
100
+ *
101
+ * @type {LlmAgent}
102
+ * @memberof VoiceAgentWithSipTrunks
103
+ */
104
+ llm_agent?: LlmAgent | null;
105
+ /**
106
+ *
107
+ * @type {Date}
108
+ * @memberof VoiceAgentWithSipTrunks
109
+ */
110
+ created_at?: Date;
111
+ /**
112
+ *
113
+ * @type {Array<VoiceAgentWithSipTrunksAllOfSipTrunks>}
114
+ * @memberof VoiceAgentWithSipTrunks
115
+ */
116
+ sip_trunks?: Array<VoiceAgentWithSipTrunksAllOfSipTrunks>;
117
+ }
118
+ /**
119
+ * Check if a given object implements the VoiceAgentWithSipTrunks interface.
120
+ */
121
+ export declare function instanceOfVoiceAgentWithSipTrunks(value: object): value is VoiceAgentWithSipTrunks;
122
+ export declare function VoiceAgentWithSipTrunksFromJSON(json: any): VoiceAgentWithSipTrunks;
123
+ export declare function VoiceAgentWithSipTrunksFromJSONTyped(json: any, ignoreDiscriminator: boolean): VoiceAgentWithSipTrunks;
124
+ export declare function VoiceAgentWithSipTrunksToJSON(json: any): VoiceAgentWithSipTrunks;
125
+ export declare function VoiceAgentWithSipTrunksToJSONTyped(value?: VoiceAgentWithSipTrunks | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,85 @@
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.instanceOfVoiceAgentWithSipTrunks = instanceOfVoiceAgentWithSipTrunks;
17
+ exports.VoiceAgentWithSipTrunksFromJSON = VoiceAgentWithSipTrunksFromJSON;
18
+ exports.VoiceAgentWithSipTrunksFromJSONTyped = VoiceAgentWithSipTrunksFromJSONTyped;
19
+ exports.VoiceAgentWithSipTrunksToJSON = VoiceAgentWithSipTrunksToJSON;
20
+ exports.VoiceAgentWithSipTrunksToJSONTyped = VoiceAgentWithSipTrunksToJSONTyped;
21
+ const LlmAgent_1 = require("./LlmAgent");
22
+ const VoiceAgentMetadata_1 = require("./VoiceAgentMetadata");
23
+ const VoiceAgentWithSipTrunksAllOfSipTrunks_1 = require("./VoiceAgentWithSipTrunksAllOfSipTrunks");
24
+ /**
25
+ * Check if a given object implements the VoiceAgentWithSipTrunks interface.
26
+ */
27
+ function instanceOfVoiceAgentWithSipTrunks(value) {
28
+ if (!('id' in value) || value['id'] === undefined)
29
+ return false;
30
+ if (!('organization_id' in value) || value['organization_id'] === undefined)
31
+ return false;
32
+ return true;
33
+ }
34
+ function VoiceAgentWithSipTrunksFromJSON(json) {
35
+ return VoiceAgentWithSipTrunksFromJSONTyped(json, false);
36
+ }
37
+ function VoiceAgentWithSipTrunksFromJSONTyped(json, ignoreDiscriminator) {
38
+ if (json == null) {
39
+ return json;
40
+ }
41
+ return {
42
+ 'id': json['id'],
43
+ 'name': json['name'] == null ? undefined : json['name'],
44
+ 'organization_id': json['organization_id'],
45
+ 'instructions': json['instructions'] == null ? undefined : json['instructions'],
46
+ 'greeting': json['greeting'] == null ? undefined : json['greeting'],
47
+ 'stt_provider': json['stt_provider'] == null ? undefined : json['stt_provider'],
48
+ 'stt_model': json['stt_model'] == null ? undefined : json['stt_model'],
49
+ 'tts_provider': json['tts_provider'] == null ? undefined : json['tts_provider'],
50
+ 'tts_model': json['tts_model'] == null ? undefined : json['tts_model'],
51
+ 'tts_voice': json['tts_voice'] == null ? undefined : json['tts_voice'],
52
+ 'language': json['language'] == null ? undefined : json['language'],
53
+ 'enable_recording': json['enable_recording'] == null ? undefined : json['enable_recording'],
54
+ 'metadata': json['metadata'] == null ? undefined : (0, VoiceAgentMetadata_1.VoiceAgentMetadataFromJSON)(json['metadata']),
55
+ 'llm_agent': json['llm_agent'] == null ? undefined : (0, LlmAgent_1.LlmAgentFromJSON)(json['llm_agent']),
56
+ 'created_at': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
57
+ 'sip_trunks': json['sip_trunks'] == null ? undefined : (json['sip_trunks'].map(VoiceAgentWithSipTrunksAllOfSipTrunks_1.VoiceAgentWithSipTrunksAllOfSipTrunksFromJSON)),
58
+ };
59
+ }
60
+ function VoiceAgentWithSipTrunksToJSON(json) {
61
+ return VoiceAgentWithSipTrunksToJSONTyped(json, false);
62
+ }
63
+ function VoiceAgentWithSipTrunksToJSONTyped(value, ignoreDiscriminator = false) {
64
+ if (value == null) {
65
+ return value;
66
+ }
67
+ return {
68
+ 'id': value['id'],
69
+ 'name': value['name'],
70
+ 'organization_id': value['organization_id'],
71
+ 'instructions': value['instructions'],
72
+ 'greeting': value['greeting'],
73
+ 'stt_provider': value['stt_provider'],
74
+ 'stt_model': value['stt_model'],
75
+ 'tts_provider': value['tts_provider'],
76
+ 'tts_model': value['tts_model'],
77
+ 'tts_voice': value['tts_voice'],
78
+ 'language': value['language'],
79
+ 'enable_recording': value['enable_recording'],
80
+ 'metadata': (0, VoiceAgentMetadata_1.VoiceAgentMetadataToJSON)(value['metadata']),
81
+ 'llm_agent': (0, LlmAgent_1.LlmAgentToJSON)(value['llm_agent']),
82
+ 'created_at': value['created_at'] == null ? value['created_at'] : value['created_at'].toISOString(),
83
+ 'sip_trunks': value['sip_trunks'] == null ? undefined : (value['sip_trunks'].map(VoiceAgentWithSipTrunksAllOfSipTrunks_1.VoiceAgentWithSipTrunksAllOfSipTrunksToJSON)),
84
+ };
85
+ }
@@ -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 VoiceAgentWithSipTrunksAllOfSipTrunks
16
+ */
17
+ export interface VoiceAgentWithSipTrunksAllOfSipTrunks {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof VoiceAgentWithSipTrunksAllOfSipTrunks
22
+ */
23
+ number?: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the VoiceAgentWithSipTrunksAllOfSipTrunks interface.
27
+ */
28
+ export declare function instanceOfVoiceAgentWithSipTrunksAllOfSipTrunks(value: object): value is VoiceAgentWithSipTrunksAllOfSipTrunks;
29
+ export declare function VoiceAgentWithSipTrunksAllOfSipTrunksFromJSON(json: any): VoiceAgentWithSipTrunksAllOfSipTrunks;
30
+ export declare function VoiceAgentWithSipTrunksAllOfSipTrunksFromJSONTyped(json: any, ignoreDiscriminator: boolean): VoiceAgentWithSipTrunksAllOfSipTrunks;
31
+ export declare function VoiceAgentWithSipTrunksAllOfSipTrunksToJSON(json: any): VoiceAgentWithSipTrunksAllOfSipTrunks;
32
+ export declare function VoiceAgentWithSipTrunksAllOfSipTrunksToJSONTyped(value?: VoiceAgentWithSipTrunksAllOfSipTrunks | null, ignoreDiscriminator?: boolean): any;