@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
package/dist/index.js ADDED
@@ -0,0 +1,33 @@
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
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ var desc = Object.getOwnPropertyDescriptor(m, k);
18
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
19
+ desc = { enumerable: true, get: function() { return m[k]; } };
20
+ }
21
+ Object.defineProperty(o, k2, desc);
22
+ }) : (function(o, m, k, k2) {
23
+ if (k2 === undefined) k2 = k;
24
+ o[k2] = m[k];
25
+ }));
26
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
27
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
28
+ };
29
+ Object.defineProperty(exports, "__esModule", { value: true });
30
+ __exportStar(require("./api-client"), exports);
31
+ __exportStar(require("./runtime"), exports);
32
+ __exportStar(require("./apis"), exports);
33
+ __exportStar(require("./models"), exports);
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Tivadar AI Backend API
3
+ * Unified REST API for Tivadar AI Voice Agents platform
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface BillingPortalRequest
16
+ */
17
+ export interface BillingPortalRequest {
18
+ /**
19
+ * URL to redirect customer after leaving the portal
20
+ * @type {string}
21
+ * @memberof BillingPortalRequest
22
+ */
23
+ returnUrl: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the BillingPortalRequest interface.
27
+ */
28
+ export declare function instanceOfBillingPortalRequest(value: object): value is BillingPortalRequest;
29
+ export declare function BillingPortalRequestFromJSON(json: any): BillingPortalRequest;
30
+ export declare function BillingPortalRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): BillingPortalRequest;
31
+ export declare function BillingPortalRequestToJSON(json: any): BillingPortalRequest;
32
+ export declare function BillingPortalRequestToJSONTyped(value?: BillingPortalRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,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.instanceOfBillingPortalRequest = instanceOfBillingPortalRequest;
17
+ exports.BillingPortalRequestFromJSON = BillingPortalRequestFromJSON;
18
+ exports.BillingPortalRequestFromJSONTyped = BillingPortalRequestFromJSONTyped;
19
+ exports.BillingPortalRequestToJSON = BillingPortalRequestToJSON;
20
+ exports.BillingPortalRequestToJSONTyped = BillingPortalRequestToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the BillingPortalRequest interface.
23
+ */
24
+ function instanceOfBillingPortalRequest(value) {
25
+ if (!('returnUrl' in value) || value['returnUrl'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function BillingPortalRequestFromJSON(json) {
30
+ return BillingPortalRequestFromJSONTyped(json, false);
31
+ }
32
+ function BillingPortalRequestFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'returnUrl': json['returnUrl'],
38
+ };
39
+ }
40
+ function BillingPortalRequestToJSON(json) {
41
+ return BillingPortalRequestToJSONTyped(json, false);
42
+ }
43
+ function BillingPortalRequestToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'returnUrl': value['returnUrl'],
49
+ };
50
+ }
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Tivadar AI Backend API
3
+ * Unified REST API for Tivadar AI Voice Agents platform
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface BillingPortalResponse
16
+ */
17
+ export interface BillingPortalResponse {
18
+ /**
19
+ * Stripe Billing Portal URL
20
+ * @type {string}
21
+ * @memberof BillingPortalResponse
22
+ */
23
+ url: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the BillingPortalResponse interface.
27
+ */
28
+ export declare function instanceOfBillingPortalResponse(value: object): value is BillingPortalResponse;
29
+ export declare function BillingPortalResponseFromJSON(json: any): BillingPortalResponse;
30
+ export declare function BillingPortalResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): BillingPortalResponse;
31
+ export declare function BillingPortalResponseToJSON(json: any): BillingPortalResponse;
32
+ export declare function BillingPortalResponseToJSONTyped(value?: BillingPortalResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,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.instanceOfBillingPortalResponse = instanceOfBillingPortalResponse;
17
+ exports.BillingPortalResponseFromJSON = BillingPortalResponseFromJSON;
18
+ exports.BillingPortalResponseFromJSONTyped = BillingPortalResponseFromJSONTyped;
19
+ exports.BillingPortalResponseToJSON = BillingPortalResponseToJSON;
20
+ exports.BillingPortalResponseToJSONTyped = BillingPortalResponseToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the BillingPortalResponse interface.
23
+ */
24
+ function instanceOfBillingPortalResponse(value) {
25
+ if (!('url' in value) || value['url'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function BillingPortalResponseFromJSON(json) {
30
+ return BillingPortalResponseFromJSONTyped(json, false);
31
+ }
32
+ function BillingPortalResponseFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'url': json['url'],
38
+ };
39
+ }
40
+ function BillingPortalResponseToJSON(json) {
41
+ return BillingPortalResponseToJSONTyped(json, false);
42
+ }
43
+ function BillingPortalResponseToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'url': value['url'],
49
+ };
50
+ }
@@ -0,0 +1,56 @@
1
+ /**
2
+ * Tivadar AI Backend API
3
+ * Unified REST API for Tivadar AI Voice Agents platform
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface Calendar
16
+ */
17
+ export interface Calendar {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof Calendar
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof Calendar
28
+ */
29
+ agent_id: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof Calendar
34
+ */
35
+ agent_name: string;
36
+ /**
37
+ * True if calendar has url_token
38
+ * @type {boolean}
39
+ * @memberof Calendar
40
+ */
41
+ enabled: boolean;
42
+ /**
43
+ *
44
+ * @type {Date}
45
+ * @memberof Calendar
46
+ */
47
+ created_at: Date;
48
+ }
49
+ /**
50
+ * Check if a given object implements the Calendar interface.
51
+ */
52
+ export declare function instanceOfCalendar(value: object): value is Calendar;
53
+ export declare function CalendarFromJSON(json: any): Calendar;
54
+ export declare function CalendarFromJSONTyped(json: any, ignoreDiscriminator: boolean): Calendar;
55
+ export declare function CalendarToJSON(json: any): Calendar;
56
+ export declare function CalendarToJSONTyped(value?: Calendar | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,66 @@
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.instanceOfCalendar = instanceOfCalendar;
17
+ exports.CalendarFromJSON = CalendarFromJSON;
18
+ exports.CalendarFromJSONTyped = CalendarFromJSONTyped;
19
+ exports.CalendarToJSON = CalendarToJSON;
20
+ exports.CalendarToJSONTyped = CalendarToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the Calendar interface.
23
+ */
24
+ function instanceOfCalendar(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
27
+ if (!('agent_id' in value) || value['agent_id'] === undefined)
28
+ return false;
29
+ if (!('agent_name' in value) || value['agent_name'] === undefined)
30
+ return false;
31
+ if (!('enabled' in value) || value['enabled'] === undefined)
32
+ return false;
33
+ if (!('created_at' in value) || value['created_at'] === undefined)
34
+ return false;
35
+ return true;
36
+ }
37
+ function CalendarFromJSON(json) {
38
+ return CalendarFromJSONTyped(json, false);
39
+ }
40
+ function CalendarFromJSONTyped(json, ignoreDiscriminator) {
41
+ if (json == null) {
42
+ return json;
43
+ }
44
+ return {
45
+ 'id': json['id'],
46
+ 'agent_id': json['agent_id'],
47
+ 'agent_name': json['agent_name'],
48
+ 'enabled': json['enabled'],
49
+ 'created_at': (new Date(json['created_at'])),
50
+ };
51
+ }
52
+ function CalendarToJSON(json) {
53
+ return CalendarToJSONTyped(json, false);
54
+ }
55
+ function CalendarToJSONTyped(value, ignoreDiscriminator = false) {
56
+ if (value == null) {
57
+ return value;
58
+ }
59
+ return {
60
+ 'id': value['id'],
61
+ 'agent_id': value['agent_id'],
62
+ 'agent_name': value['agent_name'],
63
+ 'enabled': value['enabled'],
64
+ 'created_at': value['created_at'].toISOString(),
65
+ };
66
+ }
@@ -0,0 +1,62 @@
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 CalendarEvent
16
+ */
17
+ export interface CalendarEvent {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof CalendarEvent
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof CalendarEvent
28
+ */
29
+ name: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof CalendarEvent
34
+ */
35
+ description?: string;
36
+ /**
37
+ *
38
+ * @type {Date}
39
+ * @memberof CalendarEvent
40
+ */
41
+ start_time: Date;
42
+ /**
43
+ *
44
+ * @type {Date}
45
+ * @memberof CalendarEvent
46
+ */
47
+ end_time: Date;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof CalendarEvent
52
+ */
53
+ calendar_id: string;
54
+ }
55
+ /**
56
+ * Check if a given object implements the CalendarEvent interface.
57
+ */
58
+ export declare function instanceOfCalendarEvent(value: object): value is CalendarEvent;
59
+ export declare function CalendarEventFromJSON(json: any): CalendarEvent;
60
+ export declare function CalendarEventFromJSONTyped(json: any, ignoreDiscriminator: boolean): CalendarEvent;
61
+ export declare function CalendarEventToJSON(json: any): CalendarEvent;
62
+ export declare function CalendarEventToJSONTyped(value?: CalendarEvent | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,68 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Tivadar AI Backend API
6
+ * Unified REST API for Tivadar AI Voice Agents platform
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfCalendarEvent = instanceOfCalendarEvent;
17
+ exports.CalendarEventFromJSON = CalendarEventFromJSON;
18
+ exports.CalendarEventFromJSONTyped = CalendarEventFromJSONTyped;
19
+ exports.CalendarEventToJSON = CalendarEventToJSON;
20
+ exports.CalendarEventToJSONTyped = CalendarEventToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the CalendarEvent interface.
23
+ */
24
+ function instanceOfCalendarEvent(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
27
+ if (!('name' in value) || value['name'] === undefined)
28
+ return false;
29
+ if (!('start_time' in value) || value['start_time'] === undefined)
30
+ return false;
31
+ if (!('end_time' in value) || value['end_time'] === undefined)
32
+ return false;
33
+ if (!('calendar_id' in value) || value['calendar_id'] === undefined)
34
+ return false;
35
+ return true;
36
+ }
37
+ function CalendarEventFromJSON(json) {
38
+ return CalendarEventFromJSONTyped(json, false);
39
+ }
40
+ function CalendarEventFromJSONTyped(json, ignoreDiscriminator) {
41
+ if (json == null) {
42
+ return json;
43
+ }
44
+ return {
45
+ 'id': json['id'],
46
+ 'name': json['name'],
47
+ 'description': json['description'] == null ? undefined : json['description'],
48
+ 'start_time': (new Date(json['start_time'])),
49
+ 'end_time': (new Date(json['end_time'])),
50
+ 'calendar_id': json['calendar_id'],
51
+ };
52
+ }
53
+ function CalendarEventToJSON(json) {
54
+ return CalendarEventToJSONTyped(json, false);
55
+ }
56
+ function CalendarEventToJSONTyped(value, ignoreDiscriminator = false) {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+ return {
61
+ 'id': value['id'],
62
+ 'name': value['name'],
63
+ 'description': value['description'],
64
+ 'start_time': value['start_time'].toISOString(),
65
+ 'end_time': value['end_time'].toISOString(),
66
+ 'calendar_id': value['calendar_id'],
67
+ };
68
+ }
@@ -0,0 +1,56 @@
1
+ /**
2
+ * Tivadar AI Backend API
3
+ * Unified REST API for Tivadar AI Voice Agents platform
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface CalendarEventCreate
16
+ */
17
+ export interface CalendarEventCreate {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof CalendarEventCreate
22
+ */
23
+ name: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof CalendarEventCreate
28
+ */
29
+ description?: string;
30
+ /**
31
+ *
32
+ * @type {Date}
33
+ * @memberof CalendarEventCreate
34
+ */
35
+ start_time: Date;
36
+ /**
37
+ *
38
+ * @type {Date}
39
+ * @memberof CalendarEventCreate
40
+ */
41
+ end_time: Date;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof CalendarEventCreate
46
+ */
47
+ calendar_id: string;
48
+ }
49
+ /**
50
+ * Check if a given object implements the CalendarEventCreate interface.
51
+ */
52
+ export declare function instanceOfCalendarEventCreate(value: object): value is CalendarEventCreate;
53
+ export declare function CalendarEventCreateFromJSON(json: any): CalendarEventCreate;
54
+ export declare function CalendarEventCreateFromJSONTyped(json: any, ignoreDiscriminator: boolean): CalendarEventCreate;
55
+ export declare function CalendarEventCreateToJSON(json: any): CalendarEventCreate;
56
+ export declare function CalendarEventCreateToJSONTyped(value?: CalendarEventCreate | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,64 @@
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.instanceOfCalendarEventCreate = instanceOfCalendarEventCreate;
17
+ exports.CalendarEventCreateFromJSON = CalendarEventCreateFromJSON;
18
+ exports.CalendarEventCreateFromJSONTyped = CalendarEventCreateFromJSONTyped;
19
+ exports.CalendarEventCreateToJSON = CalendarEventCreateToJSON;
20
+ exports.CalendarEventCreateToJSONTyped = CalendarEventCreateToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the CalendarEventCreate interface.
23
+ */
24
+ function instanceOfCalendarEventCreate(value) {
25
+ if (!('name' in value) || value['name'] === undefined)
26
+ return false;
27
+ if (!('start_time' in value) || value['start_time'] === undefined)
28
+ return false;
29
+ if (!('end_time' in value) || value['end_time'] === undefined)
30
+ return false;
31
+ if (!('calendar_id' in value) || value['calendar_id'] === undefined)
32
+ return false;
33
+ return true;
34
+ }
35
+ function CalendarEventCreateFromJSON(json) {
36
+ return CalendarEventCreateFromJSONTyped(json, false);
37
+ }
38
+ function CalendarEventCreateFromJSONTyped(json, ignoreDiscriminator) {
39
+ if (json == null) {
40
+ return json;
41
+ }
42
+ return {
43
+ 'name': json['name'],
44
+ 'description': json['description'] == null ? undefined : json['description'],
45
+ 'start_time': (new Date(json['start_time'])),
46
+ 'end_time': (new Date(json['end_time'])),
47
+ 'calendar_id': json['calendar_id'],
48
+ };
49
+ }
50
+ function CalendarEventCreateToJSON(json) {
51
+ return CalendarEventCreateToJSONTyped(json, false);
52
+ }
53
+ function CalendarEventCreateToJSONTyped(value, ignoreDiscriminator = false) {
54
+ if (value == null) {
55
+ return value;
56
+ }
57
+ return {
58
+ 'name': value['name'],
59
+ 'description': value['description'],
60
+ 'start_time': value['start_time'].toISOString(),
61
+ 'end_time': value['end_time'].toISOString(),
62
+ 'calendar_id': value['calendar_id'],
63
+ };
64
+ }
@@ -0,0 +1,40 @@
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 { CalendarWithAgent } from './CalendarWithAgent';
13
+ import type { CalendarEvent } from './CalendarEvent';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface CalendarEventResponse
18
+ */
19
+ export interface CalendarEventResponse {
20
+ /**
21
+ *
22
+ * @type {Array<CalendarWithAgent>}
23
+ * @memberof CalendarEventResponse
24
+ */
25
+ calendars?: Array<CalendarWithAgent>;
26
+ /**
27
+ *
28
+ * @type {Array<CalendarEvent>}
29
+ * @memberof CalendarEventResponse
30
+ */
31
+ events?: Array<CalendarEvent>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the CalendarEventResponse interface.
35
+ */
36
+ export declare function instanceOfCalendarEventResponse(value: object): value is CalendarEventResponse;
37
+ export declare function CalendarEventResponseFromJSON(json: any): CalendarEventResponse;
38
+ export declare function CalendarEventResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CalendarEventResponse;
39
+ export declare function CalendarEventResponseToJSON(json: any): CalendarEventResponse;
40
+ export declare function CalendarEventResponseToJSONTyped(value?: CalendarEventResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,52 @@
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.instanceOfCalendarEventResponse = instanceOfCalendarEventResponse;
17
+ exports.CalendarEventResponseFromJSON = CalendarEventResponseFromJSON;
18
+ exports.CalendarEventResponseFromJSONTyped = CalendarEventResponseFromJSONTyped;
19
+ exports.CalendarEventResponseToJSON = CalendarEventResponseToJSON;
20
+ exports.CalendarEventResponseToJSONTyped = CalendarEventResponseToJSONTyped;
21
+ const CalendarWithAgent_1 = require("./CalendarWithAgent");
22
+ const CalendarEvent_1 = require("./CalendarEvent");
23
+ /**
24
+ * Check if a given object implements the CalendarEventResponse interface.
25
+ */
26
+ function instanceOfCalendarEventResponse(value) {
27
+ return true;
28
+ }
29
+ function CalendarEventResponseFromJSON(json) {
30
+ return CalendarEventResponseFromJSONTyped(json, false);
31
+ }
32
+ function CalendarEventResponseFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'calendars': json['calendars'] == null ? undefined : (json['calendars'].map(CalendarWithAgent_1.CalendarWithAgentFromJSON)),
38
+ 'events': json['events'] == null ? undefined : (json['events'].map(CalendarEvent_1.CalendarEventFromJSON)),
39
+ };
40
+ }
41
+ function CalendarEventResponseToJSON(json) {
42
+ return CalendarEventResponseToJSONTyped(json, false);
43
+ }
44
+ function CalendarEventResponseToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'calendars': value['calendars'] == null ? undefined : (value['calendars'].map(CalendarWithAgent_1.CalendarWithAgentToJSON)),
50
+ 'events': value['events'] == null ? undefined : (value['events'].map(CalendarEvent_1.CalendarEventToJSON)),
51
+ };
52
+ }