@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,58 @@
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
+ import { HistoryMessageFromJSON, HistoryMessageToJSON, } from './HistoryMessage';
15
+ /**
16
+ * Check if a given object implements the HistoryConversation interface.
17
+ */
18
+ export function instanceOfHistoryConversation(value) {
19
+ return true;
20
+ }
21
+ export function HistoryConversationFromJSON(json) {
22
+ return HistoryConversationFromJSONTyped(json, false);
23
+ }
24
+ export function HistoryConversationFromJSONTyped(json, ignoreDiscriminator) {
25
+ if (json == null) {
26
+ return json;
27
+ }
28
+ return {
29
+ 'id': json['id'] == null ? undefined : json['id'],
30
+ 'sessionId': json['sessionId'] == null ? undefined : json['sessionId'],
31
+ 'referenceId': json['referenceId'] == null ? undefined : json['referenceId'],
32
+ 'llmAgentId': json['llmAgentId'] == null ? undefined : json['llmAgentId'],
33
+ 'organization': json['organization'] == null ? undefined : json['organization'],
34
+ 'metadata': json['metadata'] == null ? undefined : json['metadata'],
35
+ 'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
36
+ 'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
37
+ 'messages': json['messages'] == null ? undefined : (json['messages'].map(HistoryMessageFromJSON)),
38
+ };
39
+ }
40
+ export function HistoryConversationToJSON(json) {
41
+ return HistoryConversationToJSONTyped(json, false);
42
+ }
43
+ export function HistoryConversationToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'id': value['id'],
49
+ 'sessionId': value['sessionId'],
50
+ 'referenceId': value['referenceId'],
51
+ 'llmAgentId': value['llmAgentId'],
52
+ 'organization': value['organization'],
53
+ 'metadata': value['metadata'],
54
+ 'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
55
+ 'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : value['updatedAt'].toISOString(),
56
+ 'messages': value['messages'] == null ? undefined : (value['messages'].map(HistoryMessageToJSON)),
57
+ };
58
+ }
@@ -0,0 +1,44 @@
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 HistoryMessage
16
+ */
17
+ export interface HistoryMessage {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof HistoryMessage
22
+ */
23
+ role?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof HistoryMessage
28
+ */
29
+ content?: string;
30
+ /**
31
+ *
32
+ * @type {Date}
33
+ * @memberof HistoryMessage
34
+ */
35
+ timestamp?: Date;
36
+ }
37
+ /**
38
+ * Check if a given object implements the HistoryMessage interface.
39
+ */
40
+ export declare function instanceOfHistoryMessage(value: object): value is HistoryMessage;
41
+ export declare function HistoryMessageFromJSON(json: any): HistoryMessage;
42
+ export declare function HistoryMessageFromJSONTyped(json: any, ignoreDiscriminator: boolean): HistoryMessage;
43
+ export declare function HistoryMessageToJSON(json: any): HistoryMessage;
44
+ export declare function HistoryMessageToJSONTyped(value?: HistoryMessage | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,45 @@
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 HistoryMessage interface.
16
+ */
17
+ export function instanceOfHistoryMessage(value) {
18
+ return true;
19
+ }
20
+ export function HistoryMessageFromJSON(json) {
21
+ return HistoryMessageFromJSONTyped(json, false);
22
+ }
23
+ export function HistoryMessageFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'role': json['role'] == null ? undefined : json['role'],
29
+ 'content': json['content'] == null ? undefined : json['content'],
30
+ 'timestamp': json['timestamp'] == null ? undefined : (new Date(json['timestamp'])),
31
+ };
32
+ }
33
+ export function HistoryMessageToJSON(json) {
34
+ return HistoryMessageToJSONTyped(json, false);
35
+ }
36
+ export function HistoryMessageToJSONTyped(value, ignoreDiscriminator = false) {
37
+ if (value == null) {
38
+ return value;
39
+ }
40
+ return {
41
+ 'role': value['role'],
42
+ 'content': value['content'],
43
+ 'timestamp': value['timestamp'] == null ? value['timestamp'] : value['timestamp'].toISOString(),
44
+ };
45
+ }
@@ -0,0 +1,74 @@
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 HistorySummary
16
+ */
17
+ export interface HistorySummary {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof HistorySummary
22
+ */
23
+ id?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof HistorySummary
28
+ */
29
+ sessionId?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof HistorySummary
34
+ */
35
+ referenceId?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof HistorySummary
40
+ */
41
+ llmAgentId?: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof HistorySummary
46
+ */
47
+ organization?: string;
48
+ /**
49
+ *
50
+ * @type {object}
51
+ * @memberof HistorySummary
52
+ */
53
+ metadata?: object;
54
+ /**
55
+ *
56
+ * @type {Date}
57
+ * @memberof HistorySummary
58
+ */
59
+ createdAt?: Date;
60
+ /**
61
+ *
62
+ * @type {Date}
63
+ * @memberof HistorySummary
64
+ */
65
+ updatedAt?: Date;
66
+ }
67
+ /**
68
+ * Check if a given object implements the HistorySummary interface.
69
+ */
70
+ export declare function instanceOfHistorySummary(value: object): value is HistorySummary;
71
+ export declare function HistorySummaryFromJSON(json: any): HistorySummary;
72
+ export declare function HistorySummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): HistorySummary;
73
+ export declare function HistorySummaryToJSON(json: any): HistorySummary;
74
+ export declare function HistorySummaryToJSONTyped(value?: HistorySummary | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,55 @@
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 HistorySummary interface.
16
+ */
17
+ export function instanceOfHistorySummary(value) {
18
+ return true;
19
+ }
20
+ export function HistorySummaryFromJSON(json) {
21
+ return HistorySummaryFromJSONTyped(json, false);
22
+ }
23
+ export function HistorySummaryFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'id': json['id'] == null ? undefined : json['id'],
29
+ 'sessionId': json['sessionId'] == null ? undefined : json['sessionId'],
30
+ 'referenceId': json['referenceId'] == null ? undefined : json['referenceId'],
31
+ 'llmAgentId': json['llmAgentId'] == null ? undefined : json['llmAgentId'],
32
+ 'organization': json['organization'] == null ? undefined : json['organization'],
33
+ 'metadata': json['metadata'] == null ? undefined : json['metadata'],
34
+ 'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
35
+ 'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
36
+ };
37
+ }
38
+ export function HistorySummaryToJSON(json) {
39
+ return HistorySummaryToJSONTyped(json, false);
40
+ }
41
+ export function HistorySummaryToJSONTyped(value, ignoreDiscriminator = false) {
42
+ if (value == null) {
43
+ return value;
44
+ }
45
+ return {
46
+ 'id': value['id'],
47
+ 'sessionId': value['sessionId'],
48
+ 'referenceId': value['referenceId'],
49
+ 'llmAgentId': value['llmAgentId'],
50
+ 'organization': value['organization'],
51
+ 'metadata': value['metadata'],
52
+ 'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
53
+ 'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : value['updatedAt'].toISOString(),
54
+ };
55
+ }
@@ -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 InvitationAccept
16
+ */
17
+ export interface InvitationAccept {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof InvitationAccept
22
+ */
23
+ code: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the InvitationAccept interface.
27
+ */
28
+ export declare function instanceOfInvitationAccept(value: object): value is InvitationAccept;
29
+ export declare function InvitationAcceptFromJSON(json: any): InvitationAccept;
30
+ export declare function InvitationAcceptFromJSONTyped(json: any, ignoreDiscriminator: boolean): InvitationAccept;
31
+ export declare function InvitationAcceptToJSON(json: any): InvitationAccept;
32
+ export declare function InvitationAcceptToJSONTyped(value?: InvitationAccept | 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 InvitationAccept interface.
16
+ */
17
+ export function instanceOfInvitationAccept(value) {
18
+ if (!('code' in value) || value['code'] === undefined)
19
+ return false;
20
+ return true;
21
+ }
22
+ export function InvitationAcceptFromJSON(json) {
23
+ return InvitationAcceptFromJSONTyped(json, false);
24
+ }
25
+ export function InvitationAcceptFromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'code': json['code'],
31
+ };
32
+ }
33
+ export function InvitationAcceptToJSON(json) {
34
+ return InvitationAcceptToJSONTyped(json, false);
35
+ }
36
+ export function InvitationAcceptToJSONTyped(value, ignoreDiscriminator = false) {
37
+ if (value == null) {
38
+ return value;
39
+ }
40
+ return {
41
+ 'code': value['code'],
42
+ };
43
+ }
@@ -0,0 +1,46 @@
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 InvitationCreate
16
+ */
17
+ export interface InvitationCreate {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof InvitationCreate
22
+ */
23
+ email: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof InvitationCreate
28
+ */
29
+ role: InvitationCreateRoleEnum;
30
+ }
31
+ /**
32
+ * @export
33
+ */
34
+ export declare const InvitationCreateRoleEnum: {
35
+ readonly Admin: "admin";
36
+ readonly User: "user";
37
+ };
38
+ export type InvitationCreateRoleEnum = typeof InvitationCreateRoleEnum[keyof typeof InvitationCreateRoleEnum];
39
+ /**
40
+ * Check if a given object implements the InvitationCreate interface.
41
+ */
42
+ export declare function instanceOfInvitationCreate(value: object): value is InvitationCreate;
43
+ export declare function InvitationCreateFromJSON(json: any): InvitationCreate;
44
+ export declare function InvitationCreateFromJSONTyped(json: any, ignoreDiscriminator: boolean): InvitationCreate;
45
+ export declare function InvitationCreateToJSON(json: any): InvitationCreate;
46
+ export declare function InvitationCreateToJSONTyped(value?: InvitationCreate | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,54 @@
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
+ * @export
16
+ */
17
+ export const InvitationCreateRoleEnum = {
18
+ Admin: 'admin',
19
+ User: 'user'
20
+ };
21
+ /**
22
+ * Check if a given object implements the InvitationCreate interface.
23
+ */
24
+ export function instanceOfInvitationCreate(value) {
25
+ if (!('email' in value) || value['email'] === undefined)
26
+ return false;
27
+ if (!('role' in value) || value['role'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ export function InvitationCreateFromJSON(json) {
32
+ return InvitationCreateFromJSONTyped(json, false);
33
+ }
34
+ export function InvitationCreateFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'email': json['email'],
40
+ 'role': json['role'],
41
+ };
42
+ }
43
+ export function InvitationCreateToJSON(json) {
44
+ return InvitationCreateToJSONTyped(json, false);
45
+ }
46
+ export function InvitationCreateToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'email': value['email'],
52
+ 'role': value['role'],
53
+ };
54
+ }
@@ -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 InvitationResponse
16
+ */
17
+ export interface InvitationResponse {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof InvitationResponse
22
+ */
23
+ message?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof InvitationResponse
28
+ */
29
+ error?: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the InvitationResponse interface.
33
+ */
34
+ export declare function instanceOfInvitationResponse(value: object): value is InvitationResponse;
35
+ export declare function InvitationResponseFromJSON(json: any): InvitationResponse;
36
+ export declare function InvitationResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): InvitationResponse;
37
+ export declare function InvitationResponseToJSON(json: any): InvitationResponse;
38
+ export declare function InvitationResponseToJSONTyped(value?: InvitationResponse | 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 InvitationResponse interface.
16
+ */
17
+ export function instanceOfInvitationResponse(value) {
18
+ return true;
19
+ }
20
+ export function InvitationResponseFromJSON(json) {
21
+ return InvitationResponseFromJSONTyped(json, false);
22
+ }
23
+ export function InvitationResponseFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'message': json['message'] == null ? undefined : json['message'],
29
+ 'error': json['error'] == null ? undefined : json['error'],
30
+ };
31
+ }
32
+ export function InvitationResponseToJSON(json) {
33
+ return InvitationResponseToJSONTyped(json, false);
34
+ }
35
+ export function InvitationResponseToJSONTyped(value, ignoreDiscriminator = false) {
36
+ if (value == null) {
37
+ return value;
38
+ }
39
+ return {
40
+ 'message': value['message'],
41
+ 'error': value['error'],
42
+ };
43
+ }
@@ -0,0 +1,87 @@
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 { ToolConfig } from './ToolConfig';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface LlmAgent
17
+ */
18
+ export interface LlmAgent {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof LlmAgent
23
+ */
24
+ llmProviderName?: string;
25
+ /**
26
+ *
27
+ * @type {number}
28
+ * @memberof LlmAgent
29
+ */
30
+ temperature?: number;
31
+ /**
32
+ *
33
+ * @type {number}
34
+ * @memberof LlmAgent
35
+ */
36
+ maxTokens?: number;
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof LlmAgent
41
+ */
42
+ maxConversationTurns?: number;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof LlmAgent
47
+ */
48
+ ragConfigName?: string;
49
+ /**
50
+ *
51
+ * @type {number}
52
+ * @memberof LlmAgent
53
+ */
54
+ ragTopK?: number;
55
+ /**
56
+ *
57
+ * @type {number}
58
+ * @memberof LlmAgent
59
+ */
60
+ ragScoreThreshold?: number;
61
+ /**
62
+ *
63
+ * @type {Array<ToolConfig>}
64
+ * @memberof LlmAgent
65
+ */
66
+ toolsConfig?: Array<ToolConfig>;
67
+ /**
68
+ *
69
+ * @type {number}
70
+ * @memberof LlmAgent
71
+ */
72
+ rateLimit?: number;
73
+ /**
74
+ *
75
+ * @type {Array<string>}
76
+ * @memberof LlmAgent
77
+ */
78
+ allowedOrigins?: Array<string>;
79
+ }
80
+ /**
81
+ * Check if a given object implements the LlmAgent interface.
82
+ */
83
+ export declare function instanceOfLlmAgent(value: object): value is LlmAgent;
84
+ export declare function LlmAgentFromJSON(json: any): LlmAgent;
85
+ export declare function LlmAgentFromJSONTyped(json: any, ignoreDiscriminator: boolean): LlmAgent;
86
+ export declare function LlmAgentToJSON(json: any): LlmAgent;
87
+ export declare function LlmAgentToJSONTyped(value?: LlmAgent | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,60 @@
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
+ import { ToolConfigFromJSON, ToolConfigToJSON, } from './ToolConfig';
15
+ /**
16
+ * Check if a given object implements the LlmAgent interface.
17
+ */
18
+ export function instanceOfLlmAgent(value) {
19
+ return true;
20
+ }
21
+ export function LlmAgentFromJSON(json) {
22
+ return LlmAgentFromJSONTyped(json, false);
23
+ }
24
+ export function LlmAgentFromJSONTyped(json, ignoreDiscriminator) {
25
+ if (json == null) {
26
+ return json;
27
+ }
28
+ return {
29
+ 'llmProviderName': json['llmProviderName'] == null ? undefined : json['llmProviderName'],
30
+ 'temperature': json['temperature'] == null ? undefined : json['temperature'],
31
+ 'maxTokens': json['maxTokens'] == null ? undefined : json['maxTokens'],
32
+ 'maxConversationTurns': json['maxConversationTurns'] == null ? undefined : json['maxConversationTurns'],
33
+ 'ragConfigName': json['ragConfigName'] == null ? undefined : json['ragConfigName'],
34
+ 'ragTopK': json['ragTopK'] == null ? undefined : json['ragTopK'],
35
+ 'ragScoreThreshold': json['ragScoreThreshold'] == null ? undefined : json['ragScoreThreshold'],
36
+ 'toolsConfig': json['toolsConfig'] == null ? undefined : (json['toolsConfig'].map(ToolConfigFromJSON)),
37
+ 'rateLimit': json['rateLimit'] == null ? undefined : json['rateLimit'],
38
+ 'allowedOrigins': json['allowedOrigins'] == null ? undefined : json['allowedOrigins'],
39
+ };
40
+ }
41
+ export function LlmAgentToJSON(json) {
42
+ return LlmAgentToJSONTyped(json, false);
43
+ }
44
+ export function LlmAgentToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'llmProviderName': value['llmProviderName'],
50
+ 'temperature': value['temperature'],
51
+ 'maxTokens': value['maxTokens'],
52
+ 'maxConversationTurns': value['maxConversationTurns'],
53
+ 'ragConfigName': value['ragConfigName'],
54
+ 'ragTopK': value['ragTopK'],
55
+ 'ragScoreThreshold': value['ragScoreThreshold'],
56
+ 'toolsConfig': value['toolsConfig'] == null ? undefined : (value['toolsConfig'].map(ToolConfigToJSON)),
57
+ 'rateLimit': value['rateLimit'],
58
+ 'allowedOrigins': value['allowedOrigins'],
59
+ };
60
+ }