@keystrokehq/retellai 0.1.0 → 0.1.3

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 (527) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-community-voice.cjs +1 -1
  4. package/dist/actions/add-community-voice.cjs.map +1 -1
  5. package/dist/actions/add-community-voice.d.cts +18 -3
  6. package/dist/actions/add-community-voice.d.cts.map +1 -1
  7. package/dist/actions/add-community-voice.d.mts +18 -3
  8. package/dist/actions/add-community-voice.d.mts.map +1 -1
  9. package/dist/actions/add-community-voice.mjs +1 -1
  10. package/dist/actions/add-community-voice.mjs.map +1 -1
  11. package/dist/actions/add-knowledge-base-sources.cjs +20 -20
  12. package/dist/actions/add-knowledge-base-sources.cjs.map +1 -1
  13. package/dist/actions/add-knowledge-base-sources.d.cts +51 -3
  14. package/dist/actions/add-knowledge-base-sources.d.cts.map +1 -1
  15. package/dist/actions/add-knowledge-base-sources.d.mts +51 -3
  16. package/dist/actions/add-knowledge-base-sources.d.mts.map +1 -1
  17. package/dist/actions/add-knowledge-base-sources.mjs +20 -20
  18. package/dist/actions/add-knowledge-base-sources.mjs.map +1 -1
  19. package/dist/actions/buy-a-new-phone-number-bind-agents.cjs +5 -5
  20. package/dist/actions/buy-a-new-phone-number-bind-agents.cjs.map +1 -1
  21. package/dist/actions/buy-a-new-phone-number-bind-agents.d.cts +32 -3
  22. package/dist/actions/buy-a-new-phone-number-bind-agents.d.cts.map +1 -1
  23. package/dist/actions/buy-a-new-phone-number-bind-agents.d.mts +32 -3
  24. package/dist/actions/buy-a-new-phone-number-bind-agents.d.mts.map +1 -1
  25. package/dist/actions/buy-a-new-phone-number-bind-agents.mjs +5 -5
  26. package/dist/actions/buy-a-new-phone-number-bind-agents.mjs.map +1 -1
  27. package/dist/actions/create-a-new-outbound-phone-call.cjs +52 -52
  28. package/dist/actions/create-a-new-outbound-phone-call.cjs.map +1 -1
  29. package/dist/actions/create-a-new-outbound-phone-call.d.cts +268 -3
  30. package/dist/actions/create-a-new-outbound-phone-call.d.cts.map +1 -1
  31. package/dist/actions/create-a-new-outbound-phone-call.d.mts +268 -3
  32. package/dist/actions/create-a-new-outbound-phone-call.d.mts.map +1 -1
  33. package/dist/actions/create-a-new-outbound-phone-call.mjs +52 -52
  34. package/dist/actions/create-a-new-outbound-phone-call.mjs.map +1 -1
  35. package/dist/actions/create-a-new-web-call.cjs +11 -11
  36. package/dist/actions/create-a-new-web-call.cjs.map +1 -1
  37. package/dist/actions/create-a-new-web-call.d.cts +57 -3
  38. package/dist/actions/create-a-new-web-call.d.cts.map +1 -1
  39. package/dist/actions/create-a-new-web-call.d.mts +57 -3
  40. package/dist/actions/create-a-new-web-call.d.mts.map +1 -1
  41. package/dist/actions/create-a-new-web-call.mjs +11 -11
  42. package/dist/actions/create-a-new-web-call.mjs.map +1 -1
  43. package/dist/actions/create-agent.cjs +18 -18
  44. package/dist/actions/create-agent.cjs.map +1 -1
  45. package/dist/actions/create-agent.d.cts +232 -3
  46. package/dist/actions/create-agent.d.cts.map +1 -1
  47. package/dist/actions/create-agent.d.mts +232 -3
  48. package/dist/actions/create-agent.d.mts.map +1 -1
  49. package/dist/actions/create-agent.mjs +18 -18
  50. package/dist/actions/create-agent.mjs.map +1 -1
  51. package/dist/actions/create-batch-test.cjs +13 -13
  52. package/dist/actions/create-batch-test.cjs.map +1 -1
  53. package/dist/actions/create-batch-test.d.cts +46 -3
  54. package/dist/actions/create-batch-test.d.cts.map +1 -1
  55. package/dist/actions/create-batch-test.d.mts +46 -3
  56. package/dist/actions/create-batch-test.d.mts.map +1 -1
  57. package/dist/actions/create-batch-test.mjs +13 -13
  58. package/dist/actions/create-batch-test.mjs.map +1 -1
  59. package/dist/actions/create-chat-agent.cjs +23 -23
  60. package/dist/actions/create-chat-agent.cjs.map +1 -1
  61. package/dist/actions/create-chat-agent.d.cts +144 -3
  62. package/dist/actions/create-chat-agent.d.cts.map +1 -1
  63. package/dist/actions/create-chat-agent.d.mts +144 -3
  64. package/dist/actions/create-chat-agent.d.mts.map +1 -1
  65. package/dist/actions/create-chat-agent.mjs +23 -23
  66. package/dist/actions/create-chat-agent.mjs.map +1 -1
  67. package/dist/actions/create-chat-completion.cjs +1 -1
  68. package/dist/actions/create-chat-completion.cjs.map +1 -1
  69. package/dist/actions/create-chat-completion.d.cts +11 -3
  70. package/dist/actions/create-chat-completion.d.cts.map +1 -1
  71. package/dist/actions/create-chat-completion.d.mts +11 -3
  72. package/dist/actions/create-chat-completion.d.mts.map +1 -1
  73. package/dist/actions/create-chat-completion.mjs +1 -1
  74. package/dist/actions/create-chat-completion.mjs.map +1 -1
  75. package/dist/actions/create-chat.cjs +10 -10
  76. package/dist/actions/create-chat.cjs.map +1 -1
  77. package/dist/actions/create-chat.d.cts +53 -3
  78. package/dist/actions/create-chat.d.cts.map +1 -1
  79. package/dist/actions/create-chat.d.mts +53 -3
  80. package/dist/actions/create-chat.d.mts.map +1 -1
  81. package/dist/actions/create-chat.mjs +10 -10
  82. package/dist/actions/create-chat.mjs.map +1 -1
  83. package/dist/actions/create-conversation-flow-component.cjs +13 -13
  84. package/dist/actions/create-conversation-flow-component.cjs.map +1 -1
  85. package/dist/actions/create-conversation-flow-component.d.cts +57 -3
  86. package/dist/actions/create-conversation-flow-component.d.cts.map +1 -1
  87. package/dist/actions/create-conversation-flow-component.d.mts +57 -3
  88. package/dist/actions/create-conversation-flow-component.d.mts.map +1 -1
  89. package/dist/actions/create-conversation-flow-component.mjs +13 -13
  90. package/dist/actions/create-conversation-flow-component.mjs.map +1 -1
  91. package/dist/actions/create-conversation-flow.cjs +4 -4
  92. package/dist/actions/create-conversation-flow.cjs.map +1 -1
  93. package/dist/actions/create-conversation-flow.d.cts +59 -3
  94. package/dist/actions/create-conversation-flow.d.cts.map +1 -1
  95. package/dist/actions/create-conversation-flow.d.mts +59 -3
  96. package/dist/actions/create-conversation-flow.d.mts.map +1 -1
  97. package/dist/actions/create-conversation-flow.mjs +4 -4
  98. package/dist/actions/create-conversation-flow.mjs.map +1 -1
  99. package/dist/actions/create-knowledge-base.cjs +5 -5
  100. package/dist/actions/create-knowledge-base.cjs.map +1 -1
  101. package/dist/actions/create-knowledge-base.d.cts +36 -3
  102. package/dist/actions/create-knowledge-base.d.cts.map +1 -1
  103. package/dist/actions/create-knowledge-base.d.mts +36 -3
  104. package/dist/actions/create-knowledge-base.d.mts.map +1 -1
  105. package/dist/actions/create-knowledge-base.mjs +5 -5
  106. package/dist/actions/create-knowledge-base.mjs.map +1 -1
  107. package/dist/actions/create-retell-llm.cjs +22 -22
  108. package/dist/actions/create-retell-llm.cjs.map +1 -1
  109. package/dist/actions/create-retell-llm.d.cts +173 -3
  110. package/dist/actions/create-retell-llm.d.cts.map +1 -1
  111. package/dist/actions/create-retell-llm.d.mts +173 -3
  112. package/dist/actions/create-retell-llm.d.mts.map +1 -1
  113. package/dist/actions/create-retell-llm.mjs +22 -22
  114. package/dist/actions/create-retell-llm.mjs.map +1 -1
  115. package/dist/actions/create-test-case-definition.cjs +13 -13
  116. package/dist/actions/create-test-case-definition.cjs.map +1 -1
  117. package/dist/actions/create-test-case-definition.d.cts +51 -3
  118. package/dist/actions/create-test-case-definition.d.cts.map +1 -1
  119. package/dist/actions/create-test-case-definition.d.mts +51 -3
  120. package/dist/actions/create-test-case-definition.d.mts.map +1 -1
  121. package/dist/actions/create-test-case-definition.mjs +13 -13
  122. package/dist/actions/create-test-case-definition.mjs.map +1 -1
  123. package/dist/actions/delete-agent.cjs +4 -4
  124. package/dist/actions/delete-agent.cjs.map +1 -1
  125. package/dist/actions/delete-agent.d.cts +12 -3
  126. package/dist/actions/delete-agent.d.cts.map +1 -1
  127. package/dist/actions/delete-agent.d.mts +12 -3
  128. package/dist/actions/delete-agent.d.mts.map +1 -1
  129. package/dist/actions/delete-agent.mjs +4 -4
  130. package/dist/actions/delete-agent.mjs.map +1 -1
  131. package/dist/actions/delete-call.cjs +1 -1
  132. package/dist/actions/delete-call.cjs.map +1 -1
  133. package/dist/actions/delete-call.d.cts +7 -3
  134. package/dist/actions/delete-call.d.cts.map +1 -1
  135. package/dist/actions/delete-call.d.mts +7 -3
  136. package/dist/actions/delete-call.d.mts.map +1 -1
  137. package/dist/actions/delete-call.mjs +1 -1
  138. package/dist/actions/delete-call.mjs.map +1 -1
  139. package/dist/actions/delete-chat-agent.cjs +1 -1
  140. package/dist/actions/delete-chat-agent.cjs.map +1 -1
  141. package/dist/actions/delete-chat-agent.d.cts +10 -3
  142. package/dist/actions/delete-chat-agent.d.cts.map +1 -1
  143. package/dist/actions/delete-chat-agent.d.mts +10 -3
  144. package/dist/actions/delete-chat-agent.d.mts.map +1 -1
  145. package/dist/actions/delete-chat-agent.mjs +1 -1
  146. package/dist/actions/delete-chat-agent.mjs.map +1 -1
  147. package/dist/actions/delete-conversation-flow-component.cjs +1 -1
  148. package/dist/actions/delete-conversation-flow-component.cjs.map +1 -1
  149. package/dist/actions/delete-conversation-flow-component.d.cts +7 -3
  150. package/dist/actions/delete-conversation-flow-component.d.cts.map +1 -1
  151. package/dist/actions/delete-conversation-flow-component.d.mts +7 -3
  152. package/dist/actions/delete-conversation-flow-component.d.mts.map +1 -1
  153. package/dist/actions/delete-conversation-flow-component.mjs +1 -1
  154. package/dist/actions/delete-conversation-flow-component.mjs.map +1 -1
  155. package/dist/actions/delete-conversation-flow.cjs +1 -1
  156. package/dist/actions/delete-conversation-flow.cjs.map +1 -1
  157. package/dist/actions/delete-conversation-flow.d.cts +7 -3
  158. package/dist/actions/delete-conversation-flow.d.cts.map +1 -1
  159. package/dist/actions/delete-conversation-flow.d.mts +7 -3
  160. package/dist/actions/delete-conversation-flow.d.mts.map +1 -1
  161. package/dist/actions/delete-conversation-flow.mjs +1 -1
  162. package/dist/actions/delete-conversation-flow.mjs.map +1 -1
  163. package/dist/actions/delete-knowledge-base-source.cjs +1 -1
  164. package/dist/actions/delete-knowledge-base-source.cjs.map +1 -1
  165. package/dist/actions/delete-knowledge-base-source.d.cts +9 -3
  166. package/dist/actions/delete-knowledge-base-source.d.cts.map +1 -1
  167. package/dist/actions/delete-knowledge-base-source.d.mts +9 -3
  168. package/dist/actions/delete-knowledge-base-source.d.mts.map +1 -1
  169. package/dist/actions/delete-knowledge-base-source.mjs +1 -1
  170. package/dist/actions/delete-knowledge-base-source.mjs.map +1 -1
  171. package/dist/actions/delete-knowledge-base.cjs +1 -1
  172. package/dist/actions/delete-knowledge-base.cjs.map +1 -1
  173. package/dist/actions/delete-knowledge-base.d.cts +7 -3
  174. package/dist/actions/delete-knowledge-base.d.cts.map +1 -1
  175. package/dist/actions/delete-knowledge-base.d.mts +7 -3
  176. package/dist/actions/delete-knowledge-base.d.mts.map +1 -1
  177. package/dist/actions/delete-knowledge-base.mjs +1 -1
  178. package/dist/actions/delete-knowledge-base.mjs.map +1 -1
  179. package/dist/actions/delete-phone-number.cjs +3 -3
  180. package/dist/actions/delete-phone-number.cjs.map +1 -1
  181. package/dist/actions/delete-phone-number.d.cts +10 -3
  182. package/dist/actions/delete-phone-number.d.cts.map +1 -1
  183. package/dist/actions/delete-phone-number.d.mts +10 -3
  184. package/dist/actions/delete-phone-number.d.mts.map +1 -1
  185. package/dist/actions/delete-phone-number.mjs +3 -3
  186. package/dist/actions/delete-phone-number.mjs.map +1 -1
  187. package/dist/actions/delete-retell-llm.cjs +1 -1
  188. package/dist/actions/delete-retell-llm.cjs.map +1 -1
  189. package/dist/actions/delete-retell-llm.d.cts +7 -3
  190. package/dist/actions/delete-retell-llm.d.cts.map +1 -1
  191. package/dist/actions/delete-retell-llm.d.mts +7 -3
  192. package/dist/actions/delete-retell-llm.d.mts.map +1 -1
  193. package/dist/actions/delete-retell-llm.mjs +1 -1
  194. package/dist/actions/delete-retell-llm.mjs.map +1 -1
  195. package/dist/actions/delete-test-case-definition.cjs +1 -1
  196. package/dist/actions/delete-test-case-definition.cjs.map +1 -1
  197. package/dist/actions/delete-test-case-definition.d.cts +7 -3
  198. package/dist/actions/delete-test-case-definition.d.cts.map +1 -1
  199. package/dist/actions/delete-test-case-definition.d.mts +7 -3
  200. package/dist/actions/delete-test-case-definition.d.mts.map +1 -1
  201. package/dist/actions/delete-test-case-definition.mjs +1 -1
  202. package/dist/actions/delete-test-case-definition.mjs.map +1 -1
  203. package/dist/actions/end-chat.cjs +1 -1
  204. package/dist/actions/end-chat.cjs.map +1 -1
  205. package/dist/actions/end-chat.d.cts +10 -3
  206. package/dist/actions/end-chat.d.cts.map +1 -1
  207. package/dist/actions/end-chat.d.mts +10 -3
  208. package/dist/actions/end-chat.d.mts.map +1 -1
  209. package/dist/actions/end-chat.mjs +1 -1
  210. package/dist/actions/end-chat.mjs.map +1 -1
  211. package/dist/actions/get-agent-versions.cjs.map +1 -1
  212. package/dist/actions/get-agent-versions.d.cts +7 -3
  213. package/dist/actions/get-agent-versions.d.cts.map +1 -1
  214. package/dist/actions/get-agent-versions.d.mts +7 -3
  215. package/dist/actions/get-agent-versions.d.mts.map +1 -1
  216. package/dist/actions/get-agent-versions.mjs.map +1 -1
  217. package/dist/actions/get-agent.cjs +48 -48
  218. package/dist/actions/get-agent.cjs.map +1 -1
  219. package/dist/actions/get-agent.d.cts +118 -3
  220. package/dist/actions/get-agent.d.cts.map +1 -1
  221. package/dist/actions/get-agent.d.mts +118 -3
  222. package/dist/actions/get-agent.d.mts.map +1 -1
  223. package/dist/actions/get-agent.mjs +48 -48
  224. package/dist/actions/get-agent.mjs.map +1 -1
  225. package/dist/actions/get-batch-test.cjs +18 -18
  226. package/dist/actions/get-batch-test.cjs.map +1 -1
  227. package/dist/actions/get-batch-test.d.cts +31 -3
  228. package/dist/actions/get-batch-test.d.cts.map +1 -1
  229. package/dist/actions/get-batch-test.d.mts +31 -3
  230. package/dist/actions/get-batch-test.d.mts.map +1 -1
  231. package/dist/actions/get-batch-test.mjs +18 -18
  232. package/dist/actions/get-batch-test.mjs.map +1 -1
  233. package/dist/actions/get-chat-agent-versions.cjs +2 -2
  234. package/dist/actions/get-chat-agent-versions.cjs.map +1 -1
  235. package/dist/actions/get-chat-agent-versions.d.cts +23 -3
  236. package/dist/actions/get-chat-agent-versions.d.cts.map +1 -1
  237. package/dist/actions/get-chat-agent-versions.d.mts +23 -3
  238. package/dist/actions/get-chat-agent-versions.d.mts.map +1 -1
  239. package/dist/actions/get-chat-agent-versions.mjs +2 -2
  240. package/dist/actions/get-chat-agent-versions.mjs.map +1 -1
  241. package/dist/actions/get-chat-agent.cjs +30 -30
  242. package/dist/actions/get-chat-agent.cjs.map +1 -1
  243. package/dist/actions/get-chat-agent.d.cts +79 -3
  244. package/dist/actions/get-chat-agent.d.cts.map +1 -1
  245. package/dist/actions/get-chat-agent.d.mts +79 -3
  246. package/dist/actions/get-chat-agent.d.mts.map +1 -1
  247. package/dist/actions/get-chat-agent.mjs +30 -30
  248. package/dist/actions/get-chat-agent.mjs.map +1 -1
  249. package/dist/actions/get-chat.cjs +10 -10
  250. package/dist/actions/get-chat.cjs.map +1 -1
  251. package/dist/actions/get-chat.d.cts +47 -3
  252. package/dist/actions/get-chat.d.cts.map +1 -1
  253. package/dist/actions/get-chat.d.mts +47 -3
  254. package/dist/actions/get-chat.d.mts.map +1 -1
  255. package/dist/actions/get-chat.mjs +10 -10
  256. package/dist/actions/get-chat.mjs.map +1 -1
  257. package/dist/actions/get-concurrency.cjs +1 -1
  258. package/dist/actions/get-concurrency.cjs.map +1 -1
  259. package/dist/actions/get-concurrency.d.cts +10 -3
  260. package/dist/actions/get-concurrency.d.cts.map +1 -1
  261. package/dist/actions/get-concurrency.d.mts +10 -3
  262. package/dist/actions/get-concurrency.d.mts.map +1 -1
  263. package/dist/actions/get-concurrency.mjs +1 -1
  264. package/dist/actions/get-concurrency.mjs.map +1 -1
  265. package/dist/actions/get-conversation-flow-component.cjs +18 -18
  266. package/dist/actions/get-conversation-flow-component.cjs.map +1 -1
  267. package/dist/actions/get-conversation-flow-component.d.cts +62 -3
  268. package/dist/actions/get-conversation-flow-component.d.cts.map +1 -1
  269. package/dist/actions/get-conversation-flow-component.d.mts +62 -3
  270. package/dist/actions/get-conversation-flow-component.d.mts.map +1 -1
  271. package/dist/actions/get-conversation-flow-component.mjs +18 -18
  272. package/dist/actions/get-conversation-flow-component.mjs.map +1 -1
  273. package/dist/actions/get-conversation-flow.cjs +20 -20
  274. package/dist/actions/get-conversation-flow.cjs.map +1 -1
  275. package/dist/actions/get-conversation-flow.d.cts +86 -3
  276. package/dist/actions/get-conversation-flow.d.cts.map +1 -1
  277. package/dist/actions/get-conversation-flow.d.mts +86 -3
  278. package/dist/actions/get-conversation-flow.d.mts.map +1 -1
  279. package/dist/actions/get-conversation-flow.mjs +20 -20
  280. package/dist/actions/get-conversation-flow.mjs.map +1 -1
  281. package/dist/actions/get-knowledge-base.cjs +19 -19
  282. package/dist/actions/get-knowledge-base.cjs.map +1 -1
  283. package/dist/actions/get-knowledge-base.d.cts +29 -3
  284. package/dist/actions/get-knowledge-base.d.cts.map +1 -1
  285. package/dist/actions/get-knowledge-base.d.mts +29 -3
  286. package/dist/actions/get-knowledge-base.d.mts.map +1 -1
  287. package/dist/actions/get-knowledge-base.mjs +19 -19
  288. package/dist/actions/get-knowledge-base.mjs.map +1 -1
  289. package/dist/actions/get-retell-llm.cjs +79 -79
  290. package/dist/actions/get-retell-llm.cjs.map +1 -1
  291. package/dist/actions/get-retell-llm.d.cts +316 -3
  292. package/dist/actions/get-retell-llm.d.cts.map +1 -1
  293. package/dist/actions/get-retell-llm.d.mts +316 -3
  294. package/dist/actions/get-retell-llm.d.mts.map +1 -1
  295. package/dist/actions/get-retell-llm.mjs +79 -79
  296. package/dist/actions/get-retell-llm.mjs.map +1 -1
  297. package/dist/actions/import-phone-number.cjs +2 -2
  298. package/dist/actions/import-phone-number.cjs.map +1 -1
  299. package/dist/actions/import-phone-number.d.cts +50 -3
  300. package/dist/actions/import-phone-number.d.cts.map +1 -1
  301. package/dist/actions/import-phone-number.d.mts +50 -3
  302. package/dist/actions/import-phone-number.d.mts.map +1 -1
  303. package/dist/actions/import-phone-number.mjs +2 -2
  304. package/dist/actions/import-phone-number.mjs.map +1 -1
  305. package/dist/actions/list-agents.cjs.map +1 -1
  306. package/dist/actions/list-agents.d.cts +3 -3
  307. package/dist/actions/list-agents.d.cts.map +1 -1
  308. package/dist/actions/list-agents.d.mts +3 -3
  309. package/dist/actions/list-agents.d.mts.map +1 -1
  310. package/dist/actions/list-agents.mjs.map +1 -1
  311. package/dist/actions/list-all-chats.cjs.map +1 -1
  312. package/dist/actions/list-all-chats.d.cts +14 -3
  313. package/dist/actions/list-all-chats.d.cts.map +1 -1
  314. package/dist/actions/list-all-chats.d.mts +14 -3
  315. package/dist/actions/list-all-chats.d.mts.map +1 -1
  316. package/dist/actions/list-all-chats.mjs.map +1 -1
  317. package/dist/actions/list-all-phone-numbers.cjs.map +1 -1
  318. package/dist/actions/list-all-phone-numbers.d.cts +3 -3
  319. package/dist/actions/list-all-phone-numbers.d.cts.map +1 -1
  320. package/dist/actions/list-all-phone-numbers.d.mts +3 -3
  321. package/dist/actions/list-all-phone-numbers.d.mts.map +1 -1
  322. package/dist/actions/list-all-phone-numbers.mjs.map +1 -1
  323. package/dist/actions/list-batch-tests.cjs +18 -18
  324. package/dist/actions/list-batch-tests.cjs.map +1 -1
  325. package/dist/actions/list-batch-tests.d.cts +42 -3
  326. package/dist/actions/list-batch-tests.d.cts.map +1 -1
  327. package/dist/actions/list-batch-tests.d.mts +42 -3
  328. package/dist/actions/list-batch-tests.d.mts.map +1 -1
  329. package/dist/actions/list-batch-tests.mjs +18 -18
  330. package/dist/actions/list-batch-tests.mjs.map +1 -1
  331. package/dist/actions/list-chat-agents.cjs.map +1 -1
  332. package/dist/actions/list-chat-agents.d.cts +11 -3
  333. package/dist/actions/list-chat-agents.d.cts.map +1 -1
  334. package/dist/actions/list-chat-agents.d.mts +11 -3
  335. package/dist/actions/list-chat-agents.d.mts.map +1 -1
  336. package/dist/actions/list-chat-agents.mjs.map +1 -1
  337. package/dist/actions/list-conversation-flow-components.cjs +2 -2
  338. package/dist/actions/list-conversation-flow-components.cjs.map +1 -1
  339. package/dist/actions/list-conversation-flow-components.d.cts +12 -3
  340. package/dist/actions/list-conversation-flow-components.d.cts.map +1 -1
  341. package/dist/actions/list-conversation-flow-components.d.mts +12 -3
  342. package/dist/actions/list-conversation-flow-components.d.mts.map +1 -1
  343. package/dist/actions/list-conversation-flow-components.mjs +2 -2
  344. package/dist/actions/list-conversation-flow-components.mjs.map +1 -1
  345. package/dist/actions/list-conversation-flows.cjs +2 -2
  346. package/dist/actions/list-conversation-flows.cjs.map +1 -1
  347. package/dist/actions/list-conversation-flows.d.cts +23 -3
  348. package/dist/actions/list-conversation-flows.d.cts.map +1 -1
  349. package/dist/actions/list-conversation-flows.d.mts +23 -3
  350. package/dist/actions/list-conversation-flows.d.mts.map +1 -1
  351. package/dist/actions/list-conversation-flows.mjs +2 -2
  352. package/dist/actions/list-conversation-flows.mjs.map +1 -1
  353. package/dist/actions/list-knowledge-bases.cjs.map +1 -1
  354. package/dist/actions/list-knowledge-bases.d.cts +3 -3
  355. package/dist/actions/list-knowledge-bases.d.cts.map +1 -1
  356. package/dist/actions/list-knowledge-bases.d.mts +3 -3
  357. package/dist/actions/list-knowledge-bases.d.mts.map +1 -1
  358. package/dist/actions/list-knowledge-bases.mjs.map +1 -1
  359. package/dist/actions/list-retell-llms.cjs +7 -7
  360. package/dist/actions/list-retell-llms.cjs.map +1 -1
  361. package/dist/actions/list-retell-llms.d.cts +60 -3
  362. package/dist/actions/list-retell-llms.d.cts.map +1 -1
  363. package/dist/actions/list-retell-llms.d.mts +60 -3
  364. package/dist/actions/list-retell-llms.d.mts.map +1 -1
  365. package/dist/actions/list-retell-llms.mjs +7 -7
  366. package/dist/actions/list-retell-llms.mjs.map +1 -1
  367. package/dist/actions/list-test-case-definitions.cjs +13 -13
  368. package/dist/actions/list-test-case-definitions.cjs.map +1 -1
  369. package/dist/actions/list-test-case-definitions.d.cts +30 -3
  370. package/dist/actions/list-test-case-definitions.d.cts.map +1 -1
  371. package/dist/actions/list-test-case-definitions.d.mts +30 -3
  372. package/dist/actions/list-test-case-definitions.d.mts.map +1 -1
  373. package/dist/actions/list-test-case-definitions.mjs +13 -13
  374. package/dist/actions/list-test-case-definitions.mjs.map +1 -1
  375. package/dist/actions/list-test-runs.cjs.map +1 -1
  376. package/dist/actions/list-test-runs.d.cts +7 -3
  377. package/dist/actions/list-test-runs.d.cts.map +1 -1
  378. package/dist/actions/list-test-runs.d.mts +7 -3
  379. package/dist/actions/list-test-runs.d.mts.map +1 -1
  380. package/dist/actions/list-test-runs.mjs.map +1 -1
  381. package/dist/actions/list-voices.cjs.map +1 -1
  382. package/dist/actions/list-voices.d.cts +3 -3
  383. package/dist/actions/list-voices.d.cts.map +1 -1
  384. package/dist/actions/list-voices.d.mts +3 -3
  385. package/dist/actions/list-voices.d.mts.map +1 -1
  386. package/dist/actions/list-voices.mjs.map +1 -1
  387. package/dist/actions/publish-agent.cjs +5 -5
  388. package/dist/actions/publish-agent.cjs.map +1 -1
  389. package/dist/actions/publish-agent.d.cts +61 -3
  390. package/dist/actions/publish-agent.d.cts.map +1 -1
  391. package/dist/actions/publish-agent.d.mts +61 -3
  392. package/dist/actions/publish-agent.d.mts.map +1 -1
  393. package/dist/actions/publish-agent.mjs +5 -5
  394. package/dist/actions/publish-agent.mjs.map +1 -1
  395. package/dist/actions/publish-chat-agent.cjs +5 -5
  396. package/dist/actions/publish-chat-agent.cjs.map +1 -1
  397. package/dist/actions/publish-chat-agent.d.cts +28 -3
  398. package/dist/actions/publish-chat-agent.d.cts.map +1 -1
  399. package/dist/actions/publish-chat-agent.d.mts +28 -3
  400. package/dist/actions/publish-chat-agent.d.mts.map +1 -1
  401. package/dist/actions/publish-chat-agent.mjs +5 -5
  402. package/dist/actions/publish-chat-agent.mjs.map +1 -1
  403. package/dist/actions/register-phone-call.cjs +52 -52
  404. package/dist/actions/register-phone-call.cjs.map +1 -1
  405. package/dist/actions/register-phone-call.d.cts +271 -3
  406. package/dist/actions/register-phone-call.d.cts.map +1 -1
  407. package/dist/actions/register-phone-call.d.mts +271 -3
  408. package/dist/actions/register-phone-call.d.mts.map +1 -1
  409. package/dist/actions/register-phone-call.mjs +52 -52
  410. package/dist/actions/register-phone-call.mjs.map +1 -1
  411. package/dist/actions/retrieve-call-details-by-id.cjs.map +1 -1
  412. package/dist/actions/retrieve-call-details-by-id.d.cts +7 -3
  413. package/dist/actions/retrieve-call-details-by-id.d.cts.map +1 -1
  414. package/dist/actions/retrieve-call-details-by-id.d.mts +7 -3
  415. package/dist/actions/retrieve-call-details-by-id.d.mts.map +1 -1
  416. package/dist/actions/retrieve-call-details-by-id.mjs.map +1 -1
  417. package/dist/actions/retrieve-call-details.cjs +18 -18
  418. package/dist/actions/retrieve-call-details.cjs.map +1 -1
  419. package/dist/actions/retrieve-call-details.d.cts +204 -3
  420. package/dist/actions/retrieve-call-details.d.cts.map +1 -1
  421. package/dist/actions/retrieve-call-details.d.mts +204 -3
  422. package/dist/actions/retrieve-call-details.d.mts.map +1 -1
  423. package/dist/actions/retrieve-call-details.mjs +18 -18
  424. package/dist/actions/retrieve-call-details.mjs.map +1 -1
  425. package/dist/actions/retrieve-details-of-a-specific-phone-number.cjs +2 -2
  426. package/dist/actions/retrieve-details-of-a-specific-phone-number.cjs.map +1 -1
  427. package/dist/actions/retrieve-details-of-a-specific-phone-number.d.cts +19 -3
  428. package/dist/actions/retrieve-details-of-a-specific-phone-number.d.cts.map +1 -1
  429. package/dist/actions/retrieve-details-of-a-specific-phone-number.d.mts +19 -3
  430. package/dist/actions/retrieve-details-of-a-specific-phone-number.d.mts.map +1 -1
  431. package/dist/actions/retrieve-details-of-a-specific-phone-number.mjs +2 -2
  432. package/dist/actions/retrieve-details-of-a-specific-phone-number.mjs.map +1 -1
  433. package/dist/actions/retrieve-details-of-a-specific-voice.cjs +1 -1
  434. package/dist/actions/retrieve-details-of-a-specific-voice.cjs.map +1 -1
  435. package/dist/actions/retrieve-details-of-a-specific-voice.d.cts +15 -3
  436. package/dist/actions/retrieve-details-of-a-specific-voice.d.cts.map +1 -1
  437. package/dist/actions/retrieve-details-of-a-specific-voice.d.mts +15 -3
  438. package/dist/actions/retrieve-details-of-a-specific-voice.d.mts.map +1 -1
  439. package/dist/actions/retrieve-details-of-a-specific-voice.mjs +1 -1
  440. package/dist/actions/retrieve-details-of-a-specific-voice.mjs.map +1 -1
  441. package/dist/actions/search-community-voice.cjs +2 -2
  442. package/dist/actions/search-community-voice.cjs.map +1 -1
  443. package/dist/actions/search-community-voice.d.cts +20 -3
  444. package/dist/actions/search-community-voice.d.cts.map +1 -1
  445. package/dist/actions/search-community-voice.d.mts +20 -3
  446. package/dist/actions/search-community-voice.d.mts.map +1 -1
  447. package/dist/actions/search-community-voice.mjs +2 -2
  448. package/dist/actions/search-community-voice.mjs.map +1 -1
  449. package/dist/actions/update-agent.cjs +55 -55
  450. package/dist/actions/update-agent.cjs.map +1 -1
  451. package/dist/actions/update-agent.d.cts +313 -3
  452. package/dist/actions/update-agent.d.cts.map +1 -1
  453. package/dist/actions/update-agent.d.mts +313 -3
  454. package/dist/actions/update-agent.d.mts.map +1 -1
  455. package/dist/actions/update-agent.mjs +55 -55
  456. package/dist/actions/update-agent.mjs.map +1 -1
  457. package/dist/actions/update-call.cjs +4 -4
  458. package/dist/actions/update-call.cjs.map +1 -1
  459. package/dist/actions/update-call.d.cts +28 -3
  460. package/dist/actions/update-call.d.cts.map +1 -1
  461. package/dist/actions/update-call.d.mts +28 -3
  462. package/dist/actions/update-call.d.mts.map +1 -1
  463. package/dist/actions/update-call.mjs +4 -4
  464. package/dist/actions/update-call.mjs.map +1 -1
  465. package/dist/actions/update-chat-agent.cjs +51 -51
  466. package/dist/actions/update-chat-agent.cjs.map +1 -1
  467. package/dist/actions/update-chat-agent.d.cts +206 -3
  468. package/dist/actions/update-chat-agent.d.cts.map +1 -1
  469. package/dist/actions/update-chat-agent.d.mts +206 -3
  470. package/dist/actions/update-chat-agent.d.mts.map +1 -1
  471. package/dist/actions/update-chat-agent.mjs +51 -51
  472. package/dist/actions/update-chat-agent.mjs.map +1 -1
  473. package/dist/actions/update-chat-metadata.cjs +13 -13
  474. package/dist/actions/update-chat-metadata.cjs.map +1 -1
  475. package/dist/actions/update-chat-metadata.d.cts +58 -3
  476. package/dist/actions/update-chat-metadata.d.cts.map +1 -1
  477. package/dist/actions/update-chat-metadata.d.mts +58 -3
  478. package/dist/actions/update-chat-metadata.d.mts.map +1 -1
  479. package/dist/actions/update-chat-metadata.mjs +13 -13
  480. package/dist/actions/update-chat-metadata.mjs.map +1 -1
  481. package/dist/actions/update-conversation-flow-component.cjs +74 -74
  482. package/dist/actions/update-conversation-flow-component.cjs.map +1 -1
  483. package/dist/actions/update-conversation-flow-component.d.cts +265 -3
  484. package/dist/actions/update-conversation-flow-component.d.cts.map +1 -1
  485. package/dist/actions/update-conversation-flow-component.d.mts +265 -3
  486. package/dist/actions/update-conversation-flow-component.d.mts.map +1 -1
  487. package/dist/actions/update-conversation-flow-component.mjs +74 -74
  488. package/dist/actions/update-conversation-flow-component.mjs.map +1 -1
  489. package/dist/actions/update-conversation-flow.cjs +12 -12
  490. package/dist/actions/update-conversation-flow.cjs.map +1 -1
  491. package/dist/actions/update-conversation-flow.d.cts +114 -3
  492. package/dist/actions/update-conversation-flow.d.cts.map +1 -1
  493. package/dist/actions/update-conversation-flow.d.mts +114 -3
  494. package/dist/actions/update-conversation-flow.d.mts.map +1 -1
  495. package/dist/actions/update-conversation-flow.mjs +12 -12
  496. package/dist/actions/update-conversation-flow.mjs.map +1 -1
  497. package/dist/actions/update-phone-number.cjs +6 -6
  498. package/dist/actions/update-phone-number.cjs.map +1 -1
  499. package/dist/actions/update-phone-number.d.cts +58 -3
  500. package/dist/actions/update-phone-number.d.cts.map +1 -1
  501. package/dist/actions/update-phone-number.d.mts +58 -3
  502. package/dist/actions/update-phone-number.d.mts.map +1 -1
  503. package/dist/actions/update-phone-number.mjs +6 -6
  504. package/dist/actions/update-phone-number.mjs.map +1 -1
  505. package/dist/actions/update-retell-llm.cjs +22 -22
  506. package/dist/actions/update-retell-llm.cjs.map +1 -1
  507. package/dist/actions/update-retell-llm.d.cts +178 -3
  508. package/dist/actions/update-retell-llm.d.cts.map +1 -1
  509. package/dist/actions/update-retell-llm.d.mts +178 -3
  510. package/dist/actions/update-retell-llm.d.mts.map +1 -1
  511. package/dist/actions/update-retell-llm.mjs +22 -22
  512. package/dist/actions/update-retell-llm.mjs.map +1 -1
  513. package/dist/actions/update-test-case-definition.cjs +22 -22
  514. package/dist/actions/update-test-case-definition.cjs.map +1 -1
  515. package/dist/actions/update-test-case-definition.d.cts +89 -3
  516. package/dist/actions/update-test-case-definition.d.cts.map +1 -1
  517. package/dist/actions/update-test-case-definition.d.mts +89 -3
  518. package/dist/actions/update-test-case-definition.d.mts.map +1 -1
  519. package/dist/actions/update-test-case-definition.mjs +22 -22
  520. package/dist/actions/update-test-case-definition.mjs.map +1 -1
  521. package/dist/catalog.cjs +7 -1
  522. package/dist/catalog.cjs.map +1 -1
  523. package/dist/catalog.d.cts +8 -0
  524. package/dist/catalog.d.mts +8 -0
  525. package/dist/catalog.mjs +7 -1
  526. package/dist/catalog.mjs.map +1 -1
  527. package/package.json +2 -2
@@ -1,9 +1,56 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/import-phone-number.d.ts
4
- declare const RetellaiImportPhoneNumberInput: z.ZodTypeAny;
5
- declare const RetellaiImportPhoneNumberOutput: z.ZodTypeAny;
6
- declare const retellaiImportPhoneNumber: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RetellaiImportPhoneNumberInput: z.ZodObject<{
5
+ nickname: z.ZodOptional<z.ZodString>;
6
+ transport: z.ZodOptional<z.ZodString>;
7
+ phone_number: z.ZodString;
8
+ termination_uri: z.ZodString;
9
+ inbound_agent_id: z.ZodOptional<z.ZodString>;
10
+ outbound_agent_id: z.ZodOptional<z.ZodString>;
11
+ inbound_webhook_url: z.ZodOptional<z.ZodString>;
12
+ inbound_agent_version: z.ZodOptional<z.ZodNumber>;
13
+ outbound_agent_version: z.ZodOptional<z.ZodNumber>;
14
+ sip_trunk_auth_password: z.ZodOptional<z.ZodString>;
15
+ sip_trunk_auth_username: z.ZodOptional<z.ZodString>;
16
+ inbound_allowed_countries: z.ZodOptional<z.ZodArray<z.ZodString>>;
17
+ outbound_allowed_countries: z.ZodOptional<z.ZodArray<z.ZodString>>;
18
+ }, z.core.$strip>;
19
+ declare const RetellaiImportPhoneNumberOutput: z.ZodObject<{
20
+ nickname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ area_code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
+ phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ inbound_agent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ outbound_agent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ phone_number_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ inbound_webhook_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ phone_number_pretty: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ inbound_agent_version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29
+ outbound_agent_version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30
+ inbound_allowed_countries: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
31
+ sip_outbound_trunk_config: z.ZodOptional<z.ZodNullable<z.ZodObject<{
32
+ transport: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ auth_username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ termination_uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ }, z.core.$loose>>>;
36
+ outbound_allowed_countries: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
37
+ last_modification_timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
38
+ }, z.core.$loose>;
39
+ declare const retellaiImportPhoneNumber: import("@keystrokehq/action").WorkflowActionDefinition<{
40
+ phone_number: string;
41
+ termination_uri: string;
42
+ nickname?: string | undefined;
43
+ transport?: string | undefined;
44
+ inbound_agent_id?: string | undefined;
45
+ outbound_agent_id?: string | undefined;
46
+ inbound_webhook_url?: string | undefined;
47
+ inbound_agent_version?: number | undefined;
48
+ outbound_agent_version?: number | undefined;
49
+ sip_trunk_auth_password?: string | undefined;
50
+ sip_trunk_auth_username?: string | undefined;
51
+ inbound_allowed_countries?: string[] | undefined;
52
+ outbound_allowed_countries?: string[] | undefined;
53
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
54
  //#endregion
8
55
  export { retellaiImportPhoneNumber };
9
56
  //# sourceMappingURL=import-phone-number.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"import-phone-number.d.mts","names":[],"sources":["../../src/actions/import-phone-number.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAcM;AAAA,cAMxC,+BAAA,EAAiC,CAAA,CAAE,UAeM;AAAA,cAEzC,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"import-phone-number.d.mts","names":[],"sources":["../../src/actions/import-phone-number.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAoB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAiB/B,yBAAA,gCAAyB,wBAAA"}
@@ -20,7 +20,7 @@ const RetellaiImportPhoneNumber_SipOutboundTrunkConfigSchema = z.object({
20
20
  transport: z.string().describe("Transport protocol (TLS, TCP, or UDP)").nullable().optional(),
21
21
  auth_username: z.string().describe("Authentication username for the SIP trunk").nullable().optional(),
22
22
  termination_uri: z.string().describe("The SIP termination URI").nullable().optional()
23
- }).describe("SIP outbound trunk configuration schema");
23
+ }).passthrough().describe("SIP outbound trunk configuration schema");
24
24
  const retellaiImportPhoneNumber = action("RETELLAI_IMPORT_PHONE_NUMBER", {
25
25
  slug: "retellai-import-phone-number",
26
26
  name: "Import phone number",
@@ -41,7 +41,7 @@ const retellaiImportPhoneNumber = action("RETELLAI_IMPORT_PHONE_NUMBER", {
41
41
  sip_outbound_trunk_config: RetellaiImportPhoneNumber_SipOutboundTrunkConfigSchema.nullable().optional(),
42
42
  outbound_allowed_countries: z.array(z.string()).describe("ISO 3166-1 alpha-2 country codes allowing outbound calls").nullable().optional(),
43
43
  last_modification_timestamp: z.number().int().describe("Last modification timestamp in milliseconds since epoch").nullable().optional()
44
- }).describe("Response schema for `ImportPhoneNumber`")
44
+ }).passthrough().describe("Response schema for `ImportPhoneNumber`")
45
45
  });
46
46
  //#endregion
47
47
  export { retellaiImportPhoneNumber };
@@ -1 +1 @@
1
- {"version":3,"file":"import-phone-number.mjs","names":[],"sources":["../../src/actions/import-phone-number.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiImportPhoneNumberInput: z.ZodTypeAny = z.object({\n nickname: z.string().describe(\"User-defined reference name for the phone number (optional).\").optional(),\n transport: z.string().describe(\"Transport protocol for SIP communication. Options: 'TLS', 'TCP', or 'UDP'. Defaults to 'TCP' if not specified.\").optional(),\n phone_number: z.string().describe(\"The phone number to import in E.164 format (+country code, then number with no spaces or special characters). Example: '+14157779999'\"),\n termination_uri: z.string().describe(\"The termination URI to uniquely identify your elastic SIP trunk. This is used for outbound calls. Example: 'sip.example.com'\"),\n inbound_agent_id: z.string().describe(\"Unique ID of agent to bind to the number for inbound calls. If null, this number will not accept inbound calls.\").optional(),\n outbound_agent_id: z.string().describe(\"Unique ID of agent to bind to the number for outbound calls. If null, this number will not initiate outbound calls without an agent ID override.\").optional(),\n inbound_webhook_url: z.string().describe(\"Webhook URL for inbound call events and context (optional).\").optional(),\n inbound_agent_version: z.number().int().describe(\"Version number of the inbound agent. Defaults to the latest version if not specified.\").optional(),\n outbound_agent_version: z.number().int().describe(\"Version number of the outbound agent. Defaults to the latest version if not specified.\").optional(),\n sip_trunk_auth_password: z.string().describe(\"Password for SIP trunk authentication (optional).\").optional(),\n sip_trunk_auth_username: z.string().describe(\"Username for SIP trunk authentication (optional).\").optional(),\n inbound_allowed_countries: z.array(z.string()).describe(\"List of ISO 3166-1 alpha-2 country codes that are allowed for inbound calls. If empty or null, all countries are allowed.\").optional(),\n outbound_allowed_countries: z.array(z.string()).describe(\"List of ISO 3166-1 alpha-2 country codes that are allowed for outbound calls. If empty or null, all countries are allowed.\").optional(),\n}).describe(\"Request schema for `ImportPhoneNumber`\");\nconst RetellaiImportPhoneNumber_SipOutboundTrunkConfigSchema: z.ZodTypeAny = z.object({\n transport: z.string().describe(\"Transport protocol (TLS, TCP, or UDP)\").nullable().optional(),\n auth_username: z.string().describe(\"Authentication username for the SIP trunk\").nullable().optional(),\n termination_uri: z.string().describe(\"The SIP termination URI\").nullable().optional(),\n}).describe(\"SIP outbound trunk configuration schema\");\nexport const RetellaiImportPhoneNumberOutput: z.ZodTypeAny = z.object({\n nickname: z.string().describe(\"User-defined reference name for the number\").nullable().optional(),\n area_code: z.number().int().describe(\"3-digit US area code\").nullable().optional(),\n phone_number: z.string().describe(\"E.164 format of the imported phone number\").nullable().optional(),\n inbound_agent_id: z.string().describe(\"Agent ID bound for inbound calls\").nullable().optional(),\n outbound_agent_id: z.string().describe(\"Agent ID bound for outbound calls\").nullable().optional(),\n phone_number_type: z.string().describe(\"Type of phone number: 'retell-twilio', 'retell-telnyx', or 'custom'\").nullable().optional(),\n inbound_webhook_url: z.string().describe(\"Webhook URL for inbound call events\").nullable().optional(),\n phone_number_pretty: z.string().describe(\"Formatted phone number for display (e.g., '+1 (415) 777-4444')\").nullable().optional(),\n inbound_agent_version: z.number().int().describe(\"Version of inbound agent\").nullable().optional(),\n outbound_agent_version: z.number().int().describe(\"Version of outbound agent\").nullable().optional(),\n inbound_allowed_countries: z.array(z.string()).describe(\"ISO 3166-1 alpha-2 country codes allowing inbound calls\").nullable().optional(),\n sip_outbound_trunk_config: RetellaiImportPhoneNumber_SipOutboundTrunkConfigSchema.nullable().optional(),\n outbound_allowed_countries: z.array(z.string()).describe(\"ISO 3166-1 alpha-2 country codes allowing outbound calls\").nullable().optional(),\n last_modification_timestamp: z.number().int().describe(\"Last modification timestamp in milliseconds since epoch\").nullable().optional(),\n}).describe(\"Response schema for `ImportPhoneNumber`\");\n\nexport const retellaiImportPhoneNumber = action(\"RETELLAI_IMPORT_PHONE_NUMBER\", {\n slug: \"retellai-import-phone-number\",\n name: \"Import phone number\",\n description: \"Tool to import a phone number from custom telephony and bind agents to it. Use when you need to integrate an existing phone number with Retell AI's system for handling inbound and outbound calls.\",\n input: RetellaiImportPhoneNumberInput,\n output: RetellaiImportPhoneNumberOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO;CACnE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACvG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CAC1J,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI;CACzK,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H;CACnK,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CAClK,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ,CAAC,CAAC,SAAS;CACpM,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACjH,uBAAuB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFA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AC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClI,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/H,uBAAuB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,2BAA2B,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,2BAA2B,uDAAuD,SAAS,CAAC,CAAC,SAAS;EACtG,4BAA4B,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,6BAA6B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"import-phone-number.mjs","names":[],"sources":["../../src/actions/import-phone-number.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiImportPhoneNumberInput = z.object({\n nickname: z.string().describe(\"User-defined reference name for the phone number (optional).\").optional(),\n transport: z.string().describe(\"Transport protocol for SIP communication. Options: 'TLS', 'TCP', or 'UDP'. Defaults to 'TCP' if not specified.\").optional(),\n phone_number: z.string().describe(\"The phone number to import in E.164 format (+country code, then number with no spaces or special characters). Example: '+14157779999'\"),\n termination_uri: z.string().describe(\"The termination URI to uniquely identify your elastic SIP trunk. This is used for outbound calls. Example: 'sip.example.com'\"),\n inbound_agent_id: z.string().describe(\"Unique ID of agent to bind to the number for inbound calls. If null, this number will not accept inbound calls.\").optional(),\n outbound_agent_id: z.string().describe(\"Unique ID of agent to bind to the number for outbound calls. If null, this number will not initiate outbound calls without an agent ID override.\").optional(),\n inbound_webhook_url: z.string().describe(\"Webhook URL for inbound call events and context (optional).\").optional(),\n inbound_agent_version: z.number().int().describe(\"Version number of the inbound agent. Defaults to the latest version if not specified.\").optional(),\n outbound_agent_version: z.number().int().describe(\"Version number of the outbound agent. Defaults to the latest version if not specified.\").optional(),\n sip_trunk_auth_password: z.string().describe(\"Password for SIP trunk authentication (optional).\").optional(),\n sip_trunk_auth_username: z.string().describe(\"Username for SIP trunk authentication (optional).\").optional(),\n inbound_allowed_countries: z.array(z.string()).describe(\"List of ISO 3166-1 alpha-2 country codes that are allowed for inbound calls. If empty or null, all countries are allowed.\").optional(),\n outbound_allowed_countries: z.array(z.string()).describe(\"List of ISO 3166-1 alpha-2 country codes that are allowed for outbound calls. If empty or null, all countries are allowed.\").optional(),\n}).describe(\"Request schema for `ImportPhoneNumber`\");\nconst RetellaiImportPhoneNumber_SipOutboundTrunkConfigSchema = z.object({\n transport: z.string().describe(\"Transport protocol (TLS, TCP, or UDP)\").nullable().optional(),\n auth_username: z.string().describe(\"Authentication username for the SIP trunk\").nullable().optional(),\n termination_uri: z.string().describe(\"The SIP termination URI\").nullable().optional(),\n}).passthrough().describe(\"SIP outbound trunk configuration schema\");\nexport const RetellaiImportPhoneNumberOutput = z.object({\n nickname: z.string().describe(\"User-defined reference name for the number\").nullable().optional(),\n area_code: z.number().int().describe(\"3-digit US area code\").nullable().optional(),\n phone_number: z.string().describe(\"E.164 format of the imported phone number\").nullable().optional(),\n inbound_agent_id: z.string().describe(\"Agent ID bound for inbound calls\").nullable().optional(),\n outbound_agent_id: z.string().describe(\"Agent ID bound for outbound calls\").nullable().optional(),\n phone_number_type: z.string().describe(\"Type of phone number: 'retell-twilio', 'retell-telnyx', or 'custom'\").nullable().optional(),\n inbound_webhook_url: z.string().describe(\"Webhook URL for inbound call events\").nullable().optional(),\n phone_number_pretty: z.string().describe(\"Formatted phone number for display (e.g., '+1 (415) 777-4444')\").nullable().optional(),\n inbound_agent_version: z.number().int().describe(\"Version of inbound agent\").nullable().optional(),\n outbound_agent_version: z.number().int().describe(\"Version of outbound agent\").nullable().optional(),\n inbound_allowed_countries: z.array(z.string()).describe(\"ISO 3166-1 alpha-2 country codes allowing inbound calls\").nullable().optional(),\n sip_outbound_trunk_config: RetellaiImportPhoneNumber_SipOutboundTrunkConfigSchema.nullable().optional(),\n outbound_allowed_countries: z.array(z.string()).describe(\"ISO 3166-1 alpha-2 country codes allowing outbound calls\").nullable().optional(),\n last_modification_timestamp: z.number().int().describe(\"Last modification timestamp in milliseconds since epoch\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `ImportPhoneNumber`\");\n\nexport const retellaiImportPhoneNumber = action(\"RETELLAI_IMPORT_PHONE_NUMBER\", {\n slug: \"retellai-import-phone-number\",\n name: \"Import phone number\",\n description: \"Tool to import a phone number from custom telephony and bind agents to it. Use when you need to integrate an existing phone number with Retell AI's system for handling inbound and outbound calls.\",\n input: RetellaiImportPhoneNumberInput,\n output: RetellaiImportPhoneNumberOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACvG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CAC1J,cAAc,EAAE,OAAO,CAAC,CAAC,SAA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CAAC,CAAC,SAAS;EACzI,6BAA6B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"list-agents.cjs","names":["z","action"],"sources":["../../src/actions/list-agents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiListAgentsInput: z.ZodTypeAny = z.object({}).describe(\"Request schema for `ListAgents`\");\nexport const RetellaiListAgentsOutput: z.ZodTypeAny = z.unknown();\n\nexport const retellaiListAgents = action(\"RETELLAI_LIST_AGENTS\", {\n slug: \"retellai-list-agents\",\n name: \"List agents\",\n description: \"Retrieves a list of all agents associated with the account.\",\n input: RetellaiListAgentsInput,\n output: RetellaiListAgentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAC5G,MAAa,2BAAyCA,IAAAA,EAAE,QAAQ;AAEhE,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-agents.cjs","names":["z","action"],"sources":["../../src/actions/list-agents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiListAgentsInput = z.object({}).describe(\"Request schema for `ListAgents`\");\nexport const RetellaiListAgentsOutput = z.unknown();\n\nexport const retellaiListAgents = action(\"RETELLAI_LIST_AGENTS\", {\n slug: \"retellai-list-agents\",\n name: \"List agents\",\n description: \"Retrieves a list of all agents associated with the account.\",\n input: RetellaiListAgentsInput,\n output: RetellaiListAgentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAC9F,MAAa,2BAA2BA,IAAAA,EAAE,QAAQ;AAElD,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,9 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-agents.d.ts
4
- declare const RetellaiListAgentsInput: z.ZodTypeAny;
5
- declare const RetellaiListAgentsOutput: z.ZodTypeAny;
6
- declare const retellaiListAgents: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RetellaiListAgentsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const RetellaiListAgentsOutput: z.ZodUnknown;
6
+ declare const retellaiListAgents: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
7
  //#endregion
8
8
  export { retellaiListAgents };
9
9
  //# sourceMappingURL=list-agents.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-agents.d.cts","names":[],"sources":["../../src/actions/list-agents.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAAqE;AAAA,cAChG,wBAAA,EAA0B,CAAA,CAAE,UAAwB;AAAA,cAEpD,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-agents.d.cts","names":[],"sources":["../../src/actions/list-agents.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACvB,wBAAA,EAAwB,CAAA,CAAA,UAAc;AAAA,cAEtC,kBAAA,gCAAkB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,9 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-agents.d.ts
4
- declare const RetellaiListAgentsInput: z.ZodTypeAny;
5
- declare const RetellaiListAgentsOutput: z.ZodTypeAny;
6
- declare const retellaiListAgents: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RetellaiListAgentsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const RetellaiListAgentsOutput: z.ZodUnknown;
6
+ declare const retellaiListAgents: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
7
  //#endregion
8
8
  export { retellaiListAgents };
9
9
  //# sourceMappingURL=list-agents.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-agents.d.mts","names":[],"sources":["../../src/actions/list-agents.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAAqE;AAAA,cAChG,wBAAA,EAA0B,CAAA,CAAE,UAAwB;AAAA,cAEpD,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-agents.d.mts","names":[],"sources":["../../src/actions/list-agents.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACvB,wBAAA,EAAwB,CAAA,CAAA,UAAc;AAAA,cAEtC,kBAAA,gCAAkB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"list-agents.mjs","names":[],"sources":["../../src/actions/list-agents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiListAgentsInput: z.ZodTypeAny = z.object({}).describe(\"Request schema for `ListAgents`\");\nexport const RetellaiListAgentsOutput: z.ZodTypeAny = z.unknown();\n\nexport const retellaiListAgents = action(\"RETELLAI_LIST_AGENTS\", {\n slug: \"retellai-list-agents\",\n name: \"List agents\",\n description: \"Retrieves a list of all agents associated with the account.\",\n input: RetellaiListAgentsInput,\n output: RetellaiListAgentsOutput,\n});\n"],"mappings":";;AAOA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAPmD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iCAOlE;CACP,QAPoD,EAAE,QAO9C;AACV,CAAC"}
1
+ {"version":3,"file":"list-agents.mjs","names":[],"sources":["../../src/actions/list-agents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiListAgentsInput = z.object({}).describe(\"Request schema for `ListAgents`\");\nexport const RetellaiListAgentsOutput = z.unknown();\n\nexport const retellaiListAgents = action(\"RETELLAI_LIST_AGENTS\", {\n slug: \"retellai-list-agents\",\n name: \"List agents\",\n description: \"Retrieves a list of all agents associated with the account.\",\n input: RetellaiListAgentsInput,\n output: RetellaiListAgentsOutput,\n});\n"],"mappings":";;AAOA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAPqC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iCAOpD;CACP,QAPsC,EAAE,QAOhC;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"list-all-chats.cjs","names":["z","action"],"sources":["../../src/actions/list-all-chats.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiListAllChatsInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Limit the number of chats returned. Default is 50, maximum is 1000. To retrieve more than 1000 results, use pagination_key to continue fetching the next page.\").optional(),\n sort_order: z.enum([\"ascending\", \"descending\"]).describe(\"The chats will be sorted by start_timestamp, whether to return the chats in ascending or descending order. Default is descending.\").optional(),\n pagination_key: z.string().describe(\"The pagination key to continue fetching the next page of chats. Represented by a chat id, pagination key is exclusive (not included in the fetched chats). If not set, will start from the beginning.\").optional(),\n}).describe(\"Request schema for `ListAllChats`\");\nexport const RetellaiListAllChatsOutput: z.ZodTypeAny = z.unknown();\n\nexport const retellaiListAllChats = action(\"RETELLAI_LIST_ALL_CHATS\", {\n slug: \"retellai-list-all-chats\",\n name: \"List all chats\",\n description: \"Tool to retrieve a list of all chats associated with the account. Use when you need to view chat history or analyze past conversations.\",\n input: RetellaiListAllChatsInput,\n output: RetellaiListAllChatsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS;CAC5M,YAAYA,IAAAA,EAAE,KAAK,CAAC,aAAa,YAAY,CAAC,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;CACvM,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uMAAuM,CAAC,CAAC,SAAS;AACxP,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAa,6BAA2CA,IAAAA,EAAE,QAAQ;AAElE,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-all-chats.cjs","names":["z","action"],"sources":["../../src/actions/list-all-chats.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiListAllChatsInput = z.object({\n limit: z.number().int().describe(\"Limit the number of chats returned. Default is 50, maximum is 1000. To retrieve more than 1000 results, use pagination_key to continue fetching the next page.\").optional(),\n sort_order: z.enum([\"ascending\", \"descending\"]).describe(\"The chats will be sorted by start_timestamp, whether to return the chats in ascending or descending order. Default is descending.\").optional(),\n pagination_key: z.string().describe(\"The pagination key to continue fetching the next page of chats. Represented by a chat id, pagination key is exclusive (not included in the fetched chats). If not set, will start from the beginning.\").optional(),\n}).describe(\"Request schema for `ListAllChats`\");\nexport const RetellaiListAllChatsOutput = z.unknown();\n\nexport const retellaiListAllChats = action(\"RETELLAI_LIST_ALL_CHATS\", {\n slug: \"retellai-list-all-chats\",\n name: \"List all chats\",\n description: \"Tool to retrieve a list of all chats associated with the account. Use when you need to view chat history or analyze past conversations.\",\n input: RetellaiListAllChatsInput,\n output: RetellaiListAllChatsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS;CAC5M,YAAYA,IAAAA,EAAE,KAAK,CAAC,aAAa,YAAY,CAAC,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;CACvM,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uMAAuM,CAAC,CAAC,SAAS;AACxP,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAa,6BAA6BA,IAAAA,EAAE,QAAQ;AAEpD,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,20 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-all-chats.d.ts
4
- declare const RetellaiListAllChatsInput: z.ZodTypeAny;
5
- declare const RetellaiListAllChatsOutput: z.ZodTypeAny;
6
- declare const retellaiListAllChats: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RetellaiListAllChatsInput: z.ZodObject<{
5
+ limit: z.ZodOptional<z.ZodNumber>;
6
+ sort_order: z.ZodOptional<z.ZodEnum<{
7
+ ascending: "ascending";
8
+ descending: "descending";
9
+ }>>;
10
+ pagination_key: z.ZodOptional<z.ZodString>;
11
+ }, z.core.$strip>;
12
+ declare const RetellaiListAllChatsOutput: z.ZodUnknown;
13
+ declare const retellaiListAllChats: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ limit?: number | undefined;
15
+ sort_order?: "ascending" | "descending" | undefined;
16
+ pagination_key?: string | undefined;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
18
  //#endregion
8
19
  export { retellaiListAllChats };
9
20
  //# sourceMappingURL=list-all-chats.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-all-chats.d.cts","names":[],"sources":["../../src/actions/list-all-chats.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAIM;AAAA,cACnC,0BAAA,EAA4B,CAAA,CAAE,UAAwB;AAAA,cAEtD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-all-chats.d.cts","names":[],"sources":["../../src/actions/list-all-chats.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cAKzB,0BAAA,EAA0B,CAAA,CAAA,UAAc;AAAA,cAExC,oBAAA,gCAAoB,wBAAA"}
@@ -1,9 +1,20 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-all-chats.d.ts
4
- declare const RetellaiListAllChatsInput: z.ZodTypeAny;
5
- declare const RetellaiListAllChatsOutput: z.ZodTypeAny;
6
- declare const retellaiListAllChats: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RetellaiListAllChatsInput: z.ZodObject<{
5
+ limit: z.ZodOptional<z.ZodNumber>;
6
+ sort_order: z.ZodOptional<z.ZodEnum<{
7
+ ascending: "ascending";
8
+ descending: "descending";
9
+ }>>;
10
+ pagination_key: z.ZodOptional<z.ZodString>;
11
+ }, z.core.$strip>;
12
+ declare const RetellaiListAllChatsOutput: z.ZodUnknown;
13
+ declare const retellaiListAllChats: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ limit?: number | undefined;
15
+ sort_order?: "ascending" | "descending" | undefined;
16
+ pagination_key?: string | undefined;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
18
  //#endregion
8
19
  export { retellaiListAllChats };
9
20
  //# sourceMappingURL=list-all-chats.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-all-chats.d.mts","names":[],"sources":["../../src/actions/list-all-chats.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAIM;AAAA,cACnC,0BAAA,EAA4B,CAAA,CAAE,UAAwB;AAAA,cAEtD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-all-chats.d.mts","names":[],"sources":["../../src/actions/list-all-chats.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cAKzB,0BAAA,EAA0B,CAAA,CAAA,UAAc;AAAA,cAExC,oBAAA,gCAAoB,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"list-all-chats.mjs","names":[],"sources":["../../src/actions/list-all-chats.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiListAllChatsInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Limit the number of chats returned. Default is 50, maximum is 1000. To retrieve more than 1000 results, use pagination_key to continue fetching the next page.\").optional(),\n sort_order: z.enum([\"ascending\", \"descending\"]).describe(\"The chats will be sorted by start_timestamp, whether to return the chats in ascending or descending order. Default is descending.\").optional(),\n pagination_key: z.string().describe(\"The pagination key to continue fetching the next page of chats. Represented by a chat id, pagination key is exclusive (not included in the fetched chats). If not set, will start from the beginning.\").optional(),\n}).describe(\"Request schema for `ListAllChats`\");\nexport const RetellaiListAllChatsOutput: z.ZodTypeAny = z.unknown();\n\nexport const retellaiListAllChats = action(\"RETELLAI_LIST_ALL_CHATS\", {\n slug: \"retellai-list-all-chats\",\n name: \"List all chats\",\n description: \"Tool to retrieve a list of all chats associated with the account. Use when you need to view chat history or analyze past conversations.\",\n input: RetellaiListAllChatsInput,\n output: RetellaiListAllChatsOutput,\n});\n"],"mappings":";;AAWA,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXqD,EAAE,OAAO;EAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS;EAC5M,YAAY,EAAE,KAAK,CAAC,aAAa,YAAY,CAAC,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;EACvM,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uMAAuM,CAAC,CAAC,SAAS;CACxP,CAAC,CAAC,CAAC,SAAS,mCAOH;CACP,QAPsD,EAAE,QAOhD;AACV,CAAC"}
1
+ {"version":3,"file":"list-all-chats.mjs","names":[],"sources":["../../src/actions/list-all-chats.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiListAllChatsInput = z.object({\n limit: z.number().int().describe(\"Limit the number of chats returned. Default is 50, maximum is 1000. To retrieve more than 1000 results, use pagination_key to continue fetching the next page.\").optional(),\n sort_order: z.enum([\"ascending\", \"descending\"]).describe(\"The chats will be sorted by start_timestamp, whether to return the chats in ascending or descending order. Default is descending.\").optional(),\n pagination_key: z.string().describe(\"The pagination key to continue fetching the next page of chats. Represented by a chat id, pagination key is exclusive (not included in the fetched chats). If not set, will start from the beginning.\").optional(),\n}).describe(\"Request schema for `ListAllChats`\");\nexport const RetellaiListAllChatsOutput = z.unknown();\n\nexport const retellaiListAllChats = action(\"RETELLAI_LIST_ALL_CHATS\", {\n slug: \"retellai-list-all-chats\",\n name: \"List all chats\",\n description: \"Tool to retrieve a list of all chats associated with the account. Use when you need to view chat history or analyze past conversations.\",\n input: RetellaiListAllChatsInput,\n output: RetellaiListAllChatsOutput,\n});\n"],"mappings":";;AAWA,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXuC,EAAE,OAAO;EAChD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS;EAC5M,YAAY,EAAE,KAAK,CAAC,aAAa,YAAY,CAAC,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;EACvM,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uMAAuM,CAAC,CAAC,SAAS;CACxP,CAAC,CAAC,CAAC,SAAS,mCAOH;CACP,QAPwC,EAAE,QAOlC;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"list-all-phone-numbers.cjs","names":["z","action"],"sources":["../../src/actions/list-all-phone-numbers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiListAllPhoneNumbersInput: z.ZodTypeAny = z.object({}).describe(\"Request schema for `ListAllPhoneNumbers`\");\nexport const RetellaiListAllPhoneNumbersOutput: z.ZodTypeAny = z.unknown();\n\nexport const retellaiListAllPhoneNumbers = action(\"RETELLAI_LIST_ALL_PHONE_NUMBERS\", {\n slug: \"retellai-list-all-phone-numbers\",\n name: \"List all phone numbers\",\n description: \"Retrieves a list of all phone numbers associated with the account. An empty result means no phone numbers exist; RETELLAI_BUY_A_NEW_PHONE_NUMBER_BIND_AGENTS must be called before outbound calls can be made.\",\n input: RetellaiListAllPhoneNumbersInput,\n output: RetellaiListAllPhoneNumbersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAC9H,MAAa,oCAAkDA,IAAAA,EAAE,QAAQ;AAEzE,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-all-phone-numbers.cjs","names":["z","action"],"sources":["../../src/actions/list-all-phone-numbers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiListAllPhoneNumbersInput = z.object({}).describe(\"Request schema for `ListAllPhoneNumbers`\");\nexport const RetellaiListAllPhoneNumbersOutput = z.unknown();\n\nexport const retellaiListAllPhoneNumbers = action(\"RETELLAI_LIST_ALL_PHONE_NUMBERS\", {\n slug: \"retellai-list-all-phone-numbers\",\n name: \"List all phone numbers\",\n description: \"Retrieves a list of all phone numbers associated with the account. An empty result means no phone numbers exist; RETELLAI_BUY_A_NEW_PHONE_NUMBER_BIND_AGENTS must be called before outbound calls can be made.\",\n input: RetellaiListAllPhoneNumbersInput,\n output: RetellaiListAllPhoneNumbersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAChH,MAAa,oCAAoCA,IAAAA,EAAE,QAAQ;AAE3D,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,9 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-all-phone-numbers.d.ts
4
- declare const RetellaiListAllPhoneNumbersInput: z.ZodTypeAny;
5
- declare const RetellaiListAllPhoneNumbersOutput: z.ZodTypeAny;
6
- declare const retellaiListAllPhoneNumbers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RetellaiListAllPhoneNumbersInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const RetellaiListAllPhoneNumbersOutput: z.ZodUnknown;
6
+ declare const retellaiListAllPhoneNumbers: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
7
  //#endregion
8
8
  export { retellaiListAllPhoneNumbers };
9
9
  //# sourceMappingURL=list-all-phone-numbers.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-all-phone-numbers.d.cts","names":[],"sources":["../../src/actions/list-all-phone-numbers.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAA8E;AAAA,cAClH,iCAAA,EAAmC,CAAA,CAAE,UAAwB;AAAA,cAE7D,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-all-phone-numbers.d.cts","names":[],"sources":["../../src/actions/list-all-phone-numbers.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAChC,iCAAA,EAAiC,CAAA,CAAA,UAAc;AAAA,cAE/C,2BAAA,gCAA2B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,9 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-all-phone-numbers.d.ts
4
- declare const RetellaiListAllPhoneNumbersInput: z.ZodTypeAny;
5
- declare const RetellaiListAllPhoneNumbersOutput: z.ZodTypeAny;
6
- declare const retellaiListAllPhoneNumbers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RetellaiListAllPhoneNumbersInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const RetellaiListAllPhoneNumbersOutput: z.ZodUnknown;
6
+ declare const retellaiListAllPhoneNumbers: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
7
  //#endregion
8
8
  export { retellaiListAllPhoneNumbers };
9
9
  //# sourceMappingURL=list-all-phone-numbers.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-all-phone-numbers.d.mts","names":[],"sources":["../../src/actions/list-all-phone-numbers.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAA8E;AAAA,cAClH,iCAAA,EAAmC,CAAA,CAAE,UAAwB;AAAA,cAE7D,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-all-phone-numbers.d.mts","names":[],"sources":["../../src/actions/list-all-phone-numbers.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAChC,iCAAA,EAAiC,CAAA,CAAA,UAAc;AAAA,cAE/C,2BAAA,gCAA2B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"list-all-phone-numbers.mjs","names":[],"sources":["../../src/actions/list-all-phone-numbers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiListAllPhoneNumbersInput: z.ZodTypeAny = z.object({}).describe(\"Request schema for `ListAllPhoneNumbers`\");\nexport const RetellaiListAllPhoneNumbersOutput: z.ZodTypeAny = z.unknown();\n\nexport const retellaiListAllPhoneNumbers = action(\"RETELLAI_LIST_ALL_PHONE_NUMBERS\", {\n slug: \"retellai-list-all-phone-numbers\",\n name: \"List all phone numbers\",\n description: \"Retrieves a list of all phone numbers associated with the account. An empty result means no phone numbers exist; RETELLAI_BUY_A_NEW_PHONE_NUMBER_BIND_AGENTS must be called before outbound calls can be made.\",\n input: RetellaiListAllPhoneNumbersInput,\n output: RetellaiListAllPhoneNumbersOutput,\n});\n"],"mappings":";;AAOA,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAP4D,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0CAO3E;CACP,QAP6D,EAAE,QAOvD;AACV,CAAC"}
1
+ {"version":3,"file":"list-all-phone-numbers.mjs","names":[],"sources":["../../src/actions/list-all-phone-numbers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiListAllPhoneNumbersInput = z.object({}).describe(\"Request schema for `ListAllPhoneNumbers`\");\nexport const RetellaiListAllPhoneNumbersOutput = z.unknown();\n\nexport const retellaiListAllPhoneNumbers = action(\"RETELLAI_LIST_ALL_PHONE_NUMBERS\", {\n slug: \"retellai-list-all-phone-numbers\",\n name: \"List all phone numbers\",\n description: \"Retrieves a list of all phone numbers associated with the account. An empty result means no phone numbers exist; RETELLAI_BUY_A_NEW_PHONE_NUMBER_BIND_AGENTS must be called before outbound calls can be made.\",\n input: RetellaiListAllPhoneNumbersInput,\n output: RetellaiListAllPhoneNumbersOutput,\n});\n"],"mappings":";;AAOA,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAP8C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0CAO7D;CACP,QAP+C,EAAE,QAOzC;AACV,CAAC"}
@@ -9,35 +9,35 @@ const RetellaiListBatchTestsInput = zod.z.object({
9
9
  }).describe("Request schema for listing batch test jobs");
10
10
  const RetellaiListBatchTests_BatchTestStatusSchema = zod.z.enum(["in_progress", "complete"]).describe("Status of the batch test job");
11
11
  const RetellaiListBatchTests_RetellLlmResponseEngineSchema = zod.z.object({
12
- type: zod.z.string().describe("Type of response engine"),
13
- llm_id: zod.z.string().describe("ID of the Retell LLM"),
12
+ type: zod.z.string().describe("Type of response engine").nullable(),
13
+ llm_id: zod.z.string().describe("ID of the Retell LLM").nullable(),
14
14
  version: zod.z.number().describe("Version of the LLM").nullable().optional()
15
- }).describe("Retell LLM response engine configuration");
15
+ }).passthrough().describe("Retell LLM response engine configuration");
16
16
  const RetellaiListBatchTests_CustomLlmResponseEngineSchema = zod.z.object({
17
- type: zod.z.string().describe("Type of response engine"),
18
- llm_websocket_url: zod.z.string().describe("WebSocket URL for custom LLM")
19
- }).describe("Custom LLM response engine configuration");
17
+ type: zod.z.string().describe("Type of response engine").nullable(),
18
+ llm_websocket_url: zod.z.string().describe("WebSocket URL for custom LLM").nullable()
19
+ }).passthrough().describe("Custom LLM response engine configuration");
20
20
  const RetellaiListBatchTests_ConversationFlowResponseEngineSchema = zod.z.object({
21
- type: zod.z.string().describe("Type of response engine"),
21
+ type: zod.z.string().describe("Type of response engine").nullable(),
22
22
  version: zod.z.number().describe("Version of the conversation flow").nullable().optional(),
23
- conversation_flow_id: zod.z.string().describe("ID of the conversation flow")
24
- }).describe("Conversation flow response engine configuration");
23
+ conversation_flow_id: zod.z.string().describe("ID of the conversation flow").nullable()
24
+ }).passthrough().describe("Conversation flow response engine configuration");
25
25
  const RetellaiListBatchTests_BatchTestJobSchema = zod.z.object({
26
26
  status: RetellaiListBatchTests_BatchTestStatusSchema.nullable(),
27
- fail_count: zod.z.number().int().describe("Number of test cases that failed"),
28
- pass_count: zod.z.number().int().describe("Number of test cases that passed"),
29
- error_count: zod.z.number().int().describe("Number of test cases that encountered errors"),
30
- total_count: zod.z.number().int().describe("Total number of test cases in the batch"),
27
+ fail_count: zod.z.number().int().describe("Number of test cases that failed").nullable(),
28
+ pass_count: zod.z.number().int().describe("Number of test cases that passed").nullable(),
29
+ error_count: zod.z.number().int().describe("Number of test cases that encountered errors").nullable(),
30
+ total_count: zod.z.number().int().describe("Total number of test cases in the batch").nullable(),
31
31
  response_engine: zod.z.union([
32
32
  RetellaiListBatchTests_RetellLlmResponseEngineSchema,
33
33
  RetellaiListBatchTests_CustomLlmResponseEngineSchema,
34
34
  RetellaiListBatchTests_ConversationFlowResponseEngineSchema
35
35
  ]),
36
- creation_timestamp: zod.z.number().int().describe("Timestamp when the batch job was created (milliseconds since epoch)"),
37
- test_case_batch_job_id: zod.z.string().describe("Unique identifier for the test case batch job"),
38
- user_modified_timestamp: zod.z.number().int().describe("Timestamp when the batch job was last modified (milliseconds since epoch)")
39
- }).describe("Batch test job details");
40
- const RetellaiListBatchTestsOutput = zod.z.object({ batch_tests: zod.z.array(RetellaiListBatchTests_BatchTestJobSchema).describe("List of batch test jobs for the specified response engine").nullable().optional() }).describe("Response schema for listing batch test jobs");
36
+ creation_timestamp: zod.z.number().int().describe("Timestamp when the batch job was created (milliseconds since epoch)").nullable(),
37
+ test_case_batch_job_id: zod.z.string().describe("Unique identifier for the test case batch job").nullable(),
38
+ user_modified_timestamp: zod.z.number().int().describe("Timestamp when the batch job was last modified (milliseconds since epoch)").nullable()
39
+ }).passthrough().describe("Batch test job details");
40
+ const RetellaiListBatchTestsOutput = zod.z.object({ batch_tests: zod.z.array(RetellaiListBatchTests_BatchTestJobSchema).describe("List of batch test jobs for the specified response engine").nullable().optional() }).passthrough().describe("Response schema for listing batch test jobs");
41
41
  const retellaiListBatchTests = require_action.action("RETELLAI_LIST_BATCH_TESTS", {
42
42
  slug: "retellai-list-batch-tests",
43
43
  name: "List batch tests",
@@ -1 +1 @@
1
- {"version":3,"file":"list-batch-tests.cjs","names":["z","action"],"sources":["../../src/actions/list-batch-tests.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiListBatchTestsInput: z.ZodTypeAny = z.object({\n type: z.enum([\"retell-llm\", \"conversation-flow\"]).describe(\"Type of response engine to filter batch tests\"),\n llm_id: z.string().describe(\"LLM ID (required when type is retell-llm)\").optional(),\n version: z.number().int().describe(\"Version of the response engine (defaults to latest if not specified)\").optional(),\n conversation_flow_id: z.string().describe(\"Conversation flow ID (required when type is conversation-flow)\").optional(),\n}).describe(\"Request schema for listing batch test jobs\");\nconst RetellaiListBatchTests_BatchTestStatusSchema: z.ZodTypeAny = z.enum([\"in_progress\", \"complete\"]).describe(\"Status of the batch test job\");\nconst RetellaiListBatchTests_RetellLlmResponseEngineSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of response engine\"),\n llm_id: z.string().describe(\"ID of the Retell LLM\"),\n version: z.number().describe(\"Version of the LLM\").nullable().optional(),\n}).describe(\"Retell LLM response engine configuration\");\nconst RetellaiListBatchTests_CustomLlmResponseEngineSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of response engine\"),\n llm_websocket_url: z.string().describe(\"WebSocket URL for custom LLM\"),\n}).describe(\"Custom LLM response engine configuration\");\nconst RetellaiListBatchTests_ConversationFlowResponseEngineSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of response engine\"),\n version: z.number().describe(\"Version of the conversation flow\").nullable().optional(),\n conversation_flow_id: z.string().describe(\"ID of the conversation flow\"),\n}).describe(\"Conversation flow response engine configuration\");\nconst RetellaiListBatchTests_BatchTestJobSchema: z.ZodTypeAny = z.object({\n status: RetellaiListBatchTests_BatchTestStatusSchema.nullable(),\n fail_count: z.number().int().describe(\"Number of test cases that failed\"),\n pass_count: z.number().int().describe(\"Number of test cases that passed\"),\n error_count: z.number().int().describe(\"Number of test cases that encountered errors\"),\n total_count: z.number().int().describe(\"Total number of test cases in the batch\"),\n response_engine: z.union([RetellaiListBatchTests_RetellLlmResponseEngineSchema, RetellaiListBatchTests_CustomLlmResponseEngineSchema, RetellaiListBatchTests_ConversationFlowResponseEngineSchema]),\n creation_timestamp: z.number().int().describe(\"Timestamp when the batch job was created (milliseconds since epoch)\"),\n test_case_batch_job_id: z.string().describe(\"Unique identifier for the test case batch job\"),\n user_modified_timestamp: z.number().int().describe(\"Timestamp when the batch job was last modified (milliseconds since epoch)\"),\n}).describe(\"Batch test job details\");\nexport const RetellaiListBatchTestsOutput: z.ZodTypeAny = z.object({\n batch_tests: z.array(RetellaiListBatchTests_BatchTestJobSchema).describe(\"List of batch test jobs for the specified response engine\").nullable().optional(),\n}).describe(\"Response schema for listing batch test jobs\");\n\nexport const retellaiListBatchTests = action(\"RETELLAI_LIST_BATCH_TESTS\", {\n slug: \"retellai-list-batch-tests\",\n name: \"List batch tests\",\n description: \"Tool to list batch test jobs for a response engine. Use when you need to retrieve batch testing results for a Retell LLM or conversation flow.\",\n input: RetellaiListBatchTestsInput,\n output: RetellaiListBatchTestsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,KAAK,CAAC,cAAc,mBAAmB,CAAC,CAAC,CAAC,SAAS,+CAA+C;CAC1G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACpH,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,+CAA6DA,IAAAA,EA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BAAiBA,IAAAA,EAAE,MAAM;EAAC;EAAsD;EAAsD;CAA2D,CAAC;CAClM,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE;CACnH,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC3F,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E;AAChI,CAAC,CAAC,CAAC,SAAS,wBAAwB;AACpC,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,EACjE,aAAaA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5J,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-batch-tests.cjs","names":["z","action"],"sources":["../../src/actions/list-batch-tests.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiListBatchTestsInput = z.object({\n type: z.enum([\"retell-llm\", \"conversation-flow\"]).describe(\"Type of response engine to filter batch tests\"),\n llm_id: z.string().describe(\"LLM ID (required when type is retell-llm)\").optional(),\n version: z.number().int().describe(\"Version of the response engine (defaults to latest if not specified)\").optional(),\n conversation_flow_id: z.string().describe(\"Conversation flow ID (required when type is conversation-flow)\").optional(),\n}).describe(\"Request schema for listing batch test jobs\");\nconst RetellaiListBatchTests_BatchTestStatusSchema = z.enum([\"in_progress\", \"complete\"]).describe(\"Status of the batch test job\");\nconst RetellaiListBatchTests_RetellLlmResponseEngineSchema = z.object({\n type: z.string().describe(\"Type of response engine\").nullable(),\n llm_id: z.string().describe(\"ID of the Retell LLM\").nullable(),\n version: z.number().describe(\"Version of the LLM\").nullable().optional(),\n}).passthrough().describe(\"Retell LLM response engine configuration\");\nconst RetellaiListBatchTests_CustomLlmResponseEngineSchema = z.object({\n type: z.string().describe(\"Type of response engine\").nullable(),\n llm_websocket_url: z.string().describe(\"WebSocket URL for custom LLM\").nullable(),\n}).passthrough().describe(\"Custom LLM response engine configuration\");\nconst RetellaiListBatchTests_ConversationFlowResponseEngineSchema = z.object({\n type: z.string().describe(\"Type of response engine\").nullable(),\n version: z.number().describe(\"Version of the conversation flow\").nullable().optional(),\n conversation_flow_id: z.string().describe(\"ID of the conversation flow\").nullable(),\n}).passthrough().describe(\"Conversation flow response engine configuration\");\nconst RetellaiListBatchTests_BatchTestJobSchema = z.object({\n status: RetellaiListBatchTests_BatchTestStatusSchema.nullable(),\n fail_count: z.number().int().describe(\"Number of test cases that failed\").nullable(),\n pass_count: z.number().int().describe(\"Number of test cases that passed\").nullable(),\n error_count: z.number().int().describe(\"Number of test cases that encountered errors\").nullable(),\n total_count: z.number().int().describe(\"Total number of test cases in the batch\").nullable(),\n response_engine: z.union([RetellaiListBatchTests_RetellLlmResponseEngineSchema, RetellaiListBatchTests_CustomLlmResponseEngineSchema, RetellaiListBatchTests_ConversationFlowResponseEngineSchema]),\n creation_timestamp: z.number().int().describe(\"Timestamp when the batch job was created (milliseconds since epoch)\").nullable(),\n test_case_batch_job_id: z.string().describe(\"Unique identifier for the test case batch job\").nullable(),\n user_modified_timestamp: z.number().int().describe(\"Timestamp when the batch job was last modified (milliseconds since epoch)\").nullable(),\n}).passthrough().describe(\"Batch test job details\");\nexport const RetellaiListBatchTestsOutput = z.object({\n batch_tests: z.array(RetellaiListBatchTests_BatchTestJobSchema).describe(\"List of batch test jobs for the specified response engine\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing batch test jobs\");\n\nexport const retellaiListBatchTests = action(\"RETELLAI_LIST_BATCH_TESTS\", {\n slug: \"retellai-list-batch-tests\",\n name: \"List batch tests\",\n description: \"Tool to list batch test jobs for a response engine. Use when you need to retrieve batch testing results for a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MAAM,yCAAyC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,48 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-batch-tests.d.ts
4
- declare const RetellaiListBatchTestsInput: z.ZodTypeAny;
5
- declare const RetellaiListBatchTestsOutput: z.ZodTypeAny;
6
- declare const retellaiListBatchTests: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RetellaiListBatchTestsInput: z.ZodObject<{
5
+ type: z.ZodEnum<{
6
+ "retell-llm": "retell-llm";
7
+ "conversation-flow": "conversation-flow";
8
+ }>;
9
+ llm_id: z.ZodOptional<z.ZodString>;
10
+ version: z.ZodOptional<z.ZodNumber>;
11
+ conversation_flow_id: z.ZodOptional<z.ZodString>;
12
+ }, z.core.$strip>;
13
+ declare const RetellaiListBatchTestsOutput: z.ZodObject<{
14
+ batch_tests: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
15
+ status: z.ZodNullable<z.ZodEnum<{
16
+ in_progress: "in_progress";
17
+ complete: "complete";
18
+ }>>;
19
+ fail_count: z.ZodNullable<z.ZodNumber>;
20
+ pass_count: z.ZodNullable<z.ZodNumber>;
21
+ error_count: z.ZodNullable<z.ZodNumber>;
22
+ total_count: z.ZodNullable<z.ZodNumber>;
23
+ response_engine: z.ZodUnion<readonly [z.ZodObject<{
24
+ type: z.ZodNullable<z.ZodString>;
25
+ llm_id: z.ZodNullable<z.ZodString>;
26
+ version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
+ }, z.core.$loose>, z.ZodObject<{
28
+ type: z.ZodNullable<z.ZodString>;
29
+ llm_websocket_url: z.ZodNullable<z.ZodString>;
30
+ }, z.core.$loose>, z.ZodObject<{
31
+ type: z.ZodNullable<z.ZodString>;
32
+ version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
33
+ conversation_flow_id: z.ZodNullable<z.ZodString>;
34
+ }, z.core.$loose>]>;
35
+ creation_timestamp: z.ZodNullable<z.ZodNumber>;
36
+ test_case_batch_job_id: z.ZodNullable<z.ZodString>;
37
+ user_modified_timestamp: z.ZodNullable<z.ZodNumber>;
38
+ }, z.core.$loose>>>>;
39
+ }, z.core.$loose>;
40
+ declare const retellaiListBatchTests: import("@keystrokehq/action").WorkflowActionDefinition<{
41
+ type: "retell-llm" | "conversation-flow";
42
+ llm_id?: string | undefined;
43
+ version?: number | undefined;
44
+ conversation_flow_id?: string | undefined;
45
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
46
  //#endregion
8
47
  export { retellaiListBatchTests };
9
48
  //# sourceMappingURL=list-batch-tests.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-batch-tests.d.cts","names":[],"sources":["../../src/actions/list-batch-tests.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAKa;AAAA,cA2B5C,4BAAA,EAA8B,CAAA,CAAE,UAEa;AAAA,cAE7C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-batch-tests.d.cts","names":[],"sources":["../../src/actions/list-batch-tests.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;cAgC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA"}
@@ -1,9 +1,48 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-batch-tests.d.ts
4
- declare const RetellaiListBatchTestsInput: z.ZodTypeAny;
5
- declare const RetellaiListBatchTestsOutput: z.ZodTypeAny;
6
- declare const retellaiListBatchTests: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RetellaiListBatchTestsInput: z.ZodObject<{
5
+ type: z.ZodEnum<{
6
+ "retell-llm": "retell-llm";
7
+ "conversation-flow": "conversation-flow";
8
+ }>;
9
+ llm_id: z.ZodOptional<z.ZodString>;
10
+ version: z.ZodOptional<z.ZodNumber>;
11
+ conversation_flow_id: z.ZodOptional<z.ZodString>;
12
+ }, z.core.$strip>;
13
+ declare const RetellaiListBatchTestsOutput: z.ZodObject<{
14
+ batch_tests: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
15
+ status: z.ZodNullable<z.ZodEnum<{
16
+ in_progress: "in_progress";
17
+ complete: "complete";
18
+ }>>;
19
+ fail_count: z.ZodNullable<z.ZodNumber>;
20
+ pass_count: z.ZodNullable<z.ZodNumber>;
21
+ error_count: z.ZodNullable<z.ZodNumber>;
22
+ total_count: z.ZodNullable<z.ZodNumber>;
23
+ response_engine: z.ZodUnion<readonly [z.ZodObject<{
24
+ type: z.ZodNullable<z.ZodString>;
25
+ llm_id: z.ZodNullable<z.ZodString>;
26
+ version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
+ }, z.core.$loose>, z.ZodObject<{
28
+ type: z.ZodNullable<z.ZodString>;
29
+ llm_websocket_url: z.ZodNullable<z.ZodString>;
30
+ }, z.core.$loose>, z.ZodObject<{
31
+ type: z.ZodNullable<z.ZodString>;
32
+ version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
33
+ conversation_flow_id: z.ZodNullable<z.ZodString>;
34
+ }, z.core.$loose>]>;
35
+ creation_timestamp: z.ZodNullable<z.ZodNumber>;
36
+ test_case_batch_job_id: z.ZodNullable<z.ZodString>;
37
+ user_modified_timestamp: z.ZodNullable<z.ZodNumber>;
38
+ }, z.core.$loose>>>>;
39
+ }, z.core.$loose>;
40
+ declare const retellaiListBatchTests: import("@keystrokehq/action").WorkflowActionDefinition<{
41
+ type: "retell-llm" | "conversation-flow";
42
+ llm_id?: string | undefined;
43
+ version?: number | undefined;
44
+ conversation_flow_id?: string | undefined;
45
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
46
  //#endregion
8
47
  export { retellaiListBatchTests };
9
48
  //# sourceMappingURL=list-batch-tests.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-batch-tests.d.mts","names":[],"sources":["../../src/actions/list-batch-tests.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAKa;AAAA,cA2B5C,4BAAA,EAA8B,CAAA,CAAE,UAEa;AAAA,cAE7C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-batch-tests.d.mts","names":[],"sources":["../../src/actions/list-batch-tests.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;cAgC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA"}
@@ -9,40 +9,40 @@ const RetellaiListBatchTestsInput = z.object({
9
9
  }).describe("Request schema for listing batch test jobs");
10
10
  const RetellaiListBatchTests_BatchTestStatusSchema = z.enum(["in_progress", "complete"]).describe("Status of the batch test job");
11
11
  const RetellaiListBatchTests_RetellLlmResponseEngineSchema = z.object({
12
- type: z.string().describe("Type of response engine"),
13
- llm_id: z.string().describe("ID of the Retell LLM"),
12
+ type: z.string().describe("Type of response engine").nullable(),
13
+ llm_id: z.string().describe("ID of the Retell LLM").nullable(),
14
14
  version: z.number().describe("Version of the LLM").nullable().optional()
15
- }).describe("Retell LLM response engine configuration");
15
+ }).passthrough().describe("Retell LLM response engine configuration");
16
16
  const RetellaiListBatchTests_CustomLlmResponseEngineSchema = z.object({
17
- type: z.string().describe("Type of response engine"),
18
- llm_websocket_url: z.string().describe("WebSocket URL for custom LLM")
19
- }).describe("Custom LLM response engine configuration");
17
+ type: z.string().describe("Type of response engine").nullable(),
18
+ llm_websocket_url: z.string().describe("WebSocket URL for custom LLM").nullable()
19
+ }).passthrough().describe("Custom LLM response engine configuration");
20
20
  const RetellaiListBatchTests_ConversationFlowResponseEngineSchema = z.object({
21
- type: z.string().describe("Type of response engine"),
21
+ type: z.string().describe("Type of response engine").nullable(),
22
22
  version: z.number().describe("Version of the conversation flow").nullable().optional(),
23
- conversation_flow_id: z.string().describe("ID of the conversation flow")
24
- }).describe("Conversation flow response engine configuration");
23
+ conversation_flow_id: z.string().describe("ID of the conversation flow").nullable()
24
+ }).passthrough().describe("Conversation flow response engine configuration");
25
25
  const RetellaiListBatchTests_BatchTestJobSchema = z.object({
26
26
  status: RetellaiListBatchTests_BatchTestStatusSchema.nullable(),
27
- fail_count: z.number().int().describe("Number of test cases that failed"),
28
- pass_count: z.number().int().describe("Number of test cases that passed"),
29
- error_count: z.number().int().describe("Number of test cases that encountered errors"),
30
- total_count: z.number().int().describe("Total number of test cases in the batch"),
27
+ fail_count: z.number().int().describe("Number of test cases that failed").nullable(),
28
+ pass_count: z.number().int().describe("Number of test cases that passed").nullable(),
29
+ error_count: z.number().int().describe("Number of test cases that encountered errors").nullable(),
30
+ total_count: z.number().int().describe("Total number of test cases in the batch").nullable(),
31
31
  response_engine: z.union([
32
32
  RetellaiListBatchTests_RetellLlmResponseEngineSchema,
33
33
  RetellaiListBatchTests_CustomLlmResponseEngineSchema,
34
34
  RetellaiListBatchTests_ConversationFlowResponseEngineSchema
35
35
  ]),
36
- creation_timestamp: z.number().int().describe("Timestamp when the batch job was created (milliseconds since epoch)"),
37
- test_case_batch_job_id: z.string().describe("Unique identifier for the test case batch job"),
38
- user_modified_timestamp: z.number().int().describe("Timestamp when the batch job was last modified (milliseconds since epoch)")
39
- }).describe("Batch test job details");
36
+ creation_timestamp: z.number().int().describe("Timestamp when the batch job was created (milliseconds since epoch)").nullable(),
37
+ test_case_batch_job_id: z.string().describe("Unique identifier for the test case batch job").nullable(),
38
+ user_modified_timestamp: z.number().int().describe("Timestamp when the batch job was last modified (milliseconds since epoch)").nullable()
39
+ }).passthrough().describe("Batch test job details");
40
40
  const retellaiListBatchTests = action("RETELLAI_LIST_BATCH_TESTS", {
41
41
  slug: "retellai-list-batch-tests",
42
42
  name: "List batch tests",
43
43
  description: "Tool to list batch test jobs for a response engine. Use when you need to retrieve batch testing results for a Retell LLM or conversation flow.",
44
44
  input: RetellaiListBatchTestsInput,
45
- output: z.object({ batch_tests: z.array(RetellaiListBatchTests_BatchTestJobSchema).describe("List of batch test jobs for the specified response engine").nullable().optional() }).describe("Response schema for listing batch test jobs")
45
+ output: z.object({ batch_tests: z.array(RetellaiListBatchTests_BatchTestJobSchema).describe("List of batch test jobs for the specified response engine").nullable().optional() }).passthrough().describe("Response schema for listing batch test jobs")
46
46
  });
47
47
  //#endregion
48
48
  export { retellaiListBatchTests };