@keystrokehq/retellai 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (570) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/add-community-voice.cjs +27 -0
  7. package/dist/actions/add-community-voice.cjs.map +1 -0
  8. package/dist/actions/add-community-voice.d.cts +9 -0
  9. package/dist/actions/add-community-voice.d.cts.map +1 -0
  10. package/dist/actions/add-community-voice.d.mts +9 -0
  11. package/dist/actions/add-community-voice.d.mts.map +1 -0
  12. package/dist/actions/add-community-voice.mjs +24 -0
  13. package/dist/actions/add-community-voice.mjs.map +1 -0
  14. package/dist/actions/add-knowledge-base-sources.cjs +57 -0
  15. package/dist/actions/add-knowledge-base-sources.cjs.map +1 -0
  16. package/dist/actions/add-knowledge-base-sources.d.cts +9 -0
  17. package/dist/actions/add-knowledge-base-sources.d.cts.map +1 -0
  18. package/dist/actions/add-knowledge-base-sources.d.mts +9 -0
  19. package/dist/actions/add-knowledge-base-sources.d.mts.map +1 -0
  20. package/dist/actions/add-knowledge-base-sources.mjs +56 -0
  21. package/dist/actions/add-knowledge-base-sources.mjs.map +1 -0
  22. package/dist/actions/buy-a-new-phone-number-bind-agents.cjs +41 -0
  23. package/dist/actions/buy-a-new-phone-number-bind-agents.cjs.map +1 -0
  24. package/dist/actions/buy-a-new-phone-number-bind-agents.d.cts +9 -0
  25. package/dist/actions/buy-a-new-phone-number-bind-agents.d.cts.map +1 -0
  26. package/dist/actions/buy-a-new-phone-number-bind-agents.d.mts +9 -0
  27. package/dist/actions/buy-a-new-phone-number-bind-agents.d.mts.map +1 -0
  28. package/dist/actions/buy-a-new-phone-number-bind-agents.mjs +40 -0
  29. package/dist/actions/buy-a-new-phone-number-bind-agents.mjs.map +1 -0
  30. package/dist/actions/create-a-new-outbound-phone-call.cjs +195 -0
  31. package/dist/actions/create-a-new-outbound-phone-call.cjs.map +1 -0
  32. package/dist/actions/create-a-new-outbound-phone-call.d.cts +9 -0
  33. package/dist/actions/create-a-new-outbound-phone-call.d.cts.map +1 -0
  34. package/dist/actions/create-a-new-outbound-phone-call.d.mts +9 -0
  35. package/dist/actions/create-a-new-outbound-phone-call.d.mts.map +1 -0
  36. package/dist/actions/create-a-new-outbound-phone-call.mjs +194 -0
  37. package/dist/actions/create-a-new-outbound-phone-call.mjs.map +1 -0
  38. package/dist/actions/create-a-new-web-call.cjs +69 -0
  39. package/dist/actions/create-a-new-web-call.cjs.map +1 -0
  40. package/dist/actions/create-a-new-web-call.d.cts +9 -0
  41. package/dist/actions/create-a-new-web-call.d.cts.map +1 -0
  42. package/dist/actions/create-a-new-web-call.d.mts +9 -0
  43. package/dist/actions/create-a-new-web-call.d.mts.map +1 -0
  44. package/dist/actions/create-a-new-web-call.mjs +68 -0
  45. package/dist/actions/create-a-new-web-call.mjs.map +1 -0
  46. package/dist/actions/create-agent.cjs +162 -0
  47. package/dist/actions/create-agent.cjs.map +1 -0
  48. package/dist/actions/create-agent.d.cts +9 -0
  49. package/dist/actions/create-agent.d.cts.map +1 -0
  50. package/dist/actions/create-agent.d.mts +9 -0
  51. package/dist/actions/create-agent.d.mts.map +1 -0
  52. package/dist/actions/create-agent.mjs +159 -0
  53. package/dist/actions/create-agent.mjs.map +1 -0
  54. package/dist/actions/create-batch-test.cjs +44 -0
  55. package/dist/actions/create-batch-test.cjs.map +1 -0
  56. package/dist/actions/create-batch-test.d.cts +9 -0
  57. package/dist/actions/create-batch-test.d.cts.map +1 -0
  58. package/dist/actions/create-batch-test.d.mts +9 -0
  59. package/dist/actions/create-batch-test.d.mts.map +1 -0
  60. package/dist/actions/create-batch-test.mjs +43 -0
  61. package/dist/actions/create-batch-test.mjs.map +1 -0
  62. package/dist/actions/create-chat-agent.cjs +138 -0
  63. package/dist/actions/create-chat-agent.cjs.map +1 -0
  64. package/dist/actions/create-chat-agent.d.cts +9 -0
  65. package/dist/actions/create-chat-agent.d.cts.map +1 -0
  66. package/dist/actions/create-chat-agent.d.mts +9 -0
  67. package/dist/actions/create-chat-agent.d.mts.map +1 -0
  68. package/dist/actions/create-chat-agent.mjs +137 -0
  69. package/dist/actions/create-chat-agent.mjs.map +1 -0
  70. package/dist/actions/create-chat-completion.cjs +19 -0
  71. package/dist/actions/create-chat-completion.cjs.map +1 -0
  72. package/dist/actions/create-chat-completion.d.cts +9 -0
  73. package/dist/actions/create-chat-completion.d.cts.map +1 -0
  74. package/dist/actions/create-chat-completion.d.mts +9 -0
  75. package/dist/actions/create-chat-completion.d.mts.map +1 -0
  76. package/dist/actions/create-chat-completion.mjs +16 -0
  77. package/dist/actions/create-chat-completion.mjs.map +1 -0
  78. package/dist/actions/create-chat.cjs +61 -0
  79. package/dist/actions/create-chat.cjs.map +1 -0
  80. package/dist/actions/create-chat.d.cts +9 -0
  81. package/dist/actions/create-chat.d.cts.map +1 -0
  82. package/dist/actions/create-chat.d.mts +9 -0
  83. package/dist/actions/create-chat.d.mts.map +1 -0
  84. package/dist/actions/create-chat.mjs +60 -0
  85. package/dist/actions/create-chat.mjs.map +1 -0
  86. package/dist/actions/create-conversation-flow-component.cjs +66 -0
  87. package/dist/actions/create-conversation-flow-component.cjs.map +1 -0
  88. package/dist/actions/create-conversation-flow-component.d.cts +9 -0
  89. package/dist/actions/create-conversation-flow-component.d.cts.map +1 -0
  90. package/dist/actions/create-conversation-flow-component.d.mts +9 -0
  91. package/dist/actions/create-conversation-flow-component.d.mts.map +1 -0
  92. package/dist/actions/create-conversation-flow-component.mjs +65 -0
  93. package/dist/actions/create-conversation-flow-component.mjs.map +1 -0
  94. package/dist/actions/create-conversation-flow.cjs +52 -0
  95. package/dist/actions/create-conversation-flow.cjs.map +1 -0
  96. package/dist/actions/create-conversation-flow.d.cts +9 -0
  97. package/dist/actions/create-conversation-flow.d.cts.map +1 -0
  98. package/dist/actions/create-conversation-flow.d.mts +9 -0
  99. package/dist/actions/create-conversation-flow.d.mts.map +1 -0
  100. package/dist/actions/create-conversation-flow.mjs +49 -0
  101. package/dist/actions/create-conversation-flow.mjs.map +1 -0
  102. package/dist/actions/create-knowledge-base.cjs +35 -0
  103. package/dist/actions/create-knowledge-base.cjs.map +1 -0
  104. package/dist/actions/create-knowledge-base.d.cts +9 -0
  105. package/dist/actions/create-knowledge-base.d.cts.map +1 -0
  106. package/dist/actions/create-knowledge-base.d.mts +9 -0
  107. package/dist/actions/create-knowledge-base.d.mts.map +1 -0
  108. package/dist/actions/create-knowledge-base.mjs +32 -0
  109. package/dist/actions/create-knowledge-base.mjs.map +1 -0
  110. package/dist/actions/create-retell-llm.cjs +122 -0
  111. package/dist/actions/create-retell-llm.cjs.map +1 -0
  112. package/dist/actions/create-retell-llm.d.cts +9 -0
  113. package/dist/actions/create-retell-llm.d.cts.map +1 -0
  114. package/dist/actions/create-retell-llm.d.mts +9 -0
  115. package/dist/actions/create-retell-llm.d.mts.map +1 -0
  116. package/dist/actions/create-retell-llm.mjs +121 -0
  117. package/dist/actions/create-retell-llm.mjs.map +1 -0
  118. package/dist/actions/create-test-case-definition.cjs +44 -0
  119. package/dist/actions/create-test-case-definition.cjs.map +1 -0
  120. package/dist/actions/create-test-case-definition.d.cts +9 -0
  121. package/dist/actions/create-test-case-definition.d.cts.map +1 -0
  122. package/dist/actions/create-test-case-definition.d.mts +9 -0
  123. package/dist/actions/create-test-case-definition.d.mts.map +1 -0
  124. package/dist/actions/create-test-case-definition.mjs +41 -0
  125. package/dist/actions/create-test-case-definition.mjs.map +1 -0
  126. package/dist/actions/delete-agent.cjs +20 -0
  127. package/dist/actions/delete-agent.cjs.map +1 -0
  128. package/dist/actions/delete-agent.d.cts +9 -0
  129. package/dist/actions/delete-agent.d.cts.map +1 -0
  130. package/dist/actions/delete-agent.d.mts +9 -0
  131. package/dist/actions/delete-agent.d.mts.map +1 -0
  132. package/dist/actions/delete-agent.mjs +19 -0
  133. package/dist/actions/delete-agent.mjs.map +1 -0
  134. package/dist/actions/delete-call.cjs +16 -0
  135. package/dist/actions/delete-call.cjs.map +1 -0
  136. package/dist/actions/delete-call.d.cts +9 -0
  137. package/dist/actions/delete-call.d.cts.map +1 -0
  138. package/dist/actions/delete-call.d.mts +9 -0
  139. package/dist/actions/delete-call.d.mts.map +1 -0
  140. package/dist/actions/delete-call.mjs +13 -0
  141. package/dist/actions/delete-call.mjs.map +1 -0
  142. package/dist/actions/delete-chat-agent.cjs +19 -0
  143. package/dist/actions/delete-chat-agent.cjs.map +1 -0
  144. package/dist/actions/delete-chat-agent.d.cts +9 -0
  145. package/dist/actions/delete-chat-agent.d.cts.map +1 -0
  146. package/dist/actions/delete-chat-agent.d.mts +9 -0
  147. package/dist/actions/delete-chat-agent.d.mts.map +1 -0
  148. package/dist/actions/delete-chat-agent.mjs +16 -0
  149. package/dist/actions/delete-chat-agent.mjs.map +1 -0
  150. package/dist/actions/delete-conversation-flow-component.cjs +16 -0
  151. package/dist/actions/delete-conversation-flow-component.cjs.map +1 -0
  152. package/dist/actions/delete-conversation-flow-component.d.cts +9 -0
  153. package/dist/actions/delete-conversation-flow-component.d.cts.map +1 -0
  154. package/dist/actions/delete-conversation-flow-component.d.mts +9 -0
  155. package/dist/actions/delete-conversation-flow-component.d.mts.map +1 -0
  156. package/dist/actions/delete-conversation-flow-component.mjs +13 -0
  157. package/dist/actions/delete-conversation-flow-component.mjs.map +1 -0
  158. package/dist/actions/delete-conversation-flow.cjs +16 -0
  159. package/dist/actions/delete-conversation-flow.cjs.map +1 -0
  160. package/dist/actions/delete-conversation-flow.d.cts +9 -0
  161. package/dist/actions/delete-conversation-flow.d.cts.map +1 -0
  162. package/dist/actions/delete-conversation-flow.d.mts +9 -0
  163. package/dist/actions/delete-conversation-flow.d.mts.map +1 -0
  164. package/dist/actions/delete-conversation-flow.mjs +13 -0
  165. package/dist/actions/delete-conversation-flow.mjs.map +1 -0
  166. package/dist/actions/delete-knowledge-base-source.cjs +19 -0
  167. package/dist/actions/delete-knowledge-base-source.cjs.map +1 -0
  168. package/dist/actions/delete-knowledge-base-source.d.cts +9 -0
  169. package/dist/actions/delete-knowledge-base-source.d.cts.map +1 -0
  170. package/dist/actions/delete-knowledge-base-source.d.mts +9 -0
  171. package/dist/actions/delete-knowledge-base-source.d.mts.map +1 -0
  172. package/dist/actions/delete-knowledge-base-source.mjs +16 -0
  173. package/dist/actions/delete-knowledge-base-source.mjs.map +1 -0
  174. package/dist/actions/delete-knowledge-base.cjs +16 -0
  175. package/dist/actions/delete-knowledge-base.cjs.map +1 -0
  176. package/dist/actions/delete-knowledge-base.d.cts +9 -0
  177. package/dist/actions/delete-knowledge-base.d.cts.map +1 -0
  178. package/dist/actions/delete-knowledge-base.d.mts +9 -0
  179. package/dist/actions/delete-knowledge-base.d.mts.map +1 -0
  180. package/dist/actions/delete-knowledge-base.mjs +13 -0
  181. package/dist/actions/delete-knowledge-base.mjs.map +1 -0
  182. package/dist/actions/delete-phone-number.cjs +19 -0
  183. package/dist/actions/delete-phone-number.cjs.map +1 -0
  184. package/dist/actions/delete-phone-number.d.cts +9 -0
  185. package/dist/actions/delete-phone-number.d.cts.map +1 -0
  186. package/dist/actions/delete-phone-number.d.mts +9 -0
  187. package/dist/actions/delete-phone-number.d.mts.map +1 -0
  188. package/dist/actions/delete-phone-number.mjs +16 -0
  189. package/dist/actions/delete-phone-number.mjs.map +1 -0
  190. package/dist/actions/delete-retell-llm.cjs +16 -0
  191. package/dist/actions/delete-retell-llm.cjs.map +1 -0
  192. package/dist/actions/delete-retell-llm.d.cts +9 -0
  193. package/dist/actions/delete-retell-llm.d.cts.map +1 -0
  194. package/dist/actions/delete-retell-llm.d.mts +9 -0
  195. package/dist/actions/delete-retell-llm.d.mts.map +1 -0
  196. package/dist/actions/delete-retell-llm.mjs +13 -0
  197. package/dist/actions/delete-retell-llm.mjs.map +1 -0
  198. package/dist/actions/delete-test-case-definition.cjs +16 -0
  199. package/dist/actions/delete-test-case-definition.cjs.map +1 -0
  200. package/dist/actions/delete-test-case-definition.d.cts +9 -0
  201. package/dist/actions/delete-test-case-definition.d.cts.map +1 -0
  202. package/dist/actions/delete-test-case-definition.d.mts +9 -0
  203. package/dist/actions/delete-test-case-definition.d.mts.map +1 -0
  204. package/dist/actions/delete-test-case-definition.mjs +13 -0
  205. package/dist/actions/delete-test-case-definition.mjs.map +1 -0
  206. package/dist/actions/end-chat.cjs +19 -0
  207. package/dist/actions/end-chat.cjs.map +1 -0
  208. package/dist/actions/end-chat.d.cts +9 -0
  209. package/dist/actions/end-chat.d.cts.map +1 -0
  210. package/dist/actions/end-chat.d.mts +9 -0
  211. package/dist/actions/end-chat.d.mts.map +1 -0
  212. package/dist/actions/end-chat.mjs +16 -0
  213. package/dist/actions/end-chat.mjs.map +1 -0
  214. package/dist/actions/get-agent-versions.cjs +16 -0
  215. package/dist/actions/get-agent-versions.cjs.map +1 -0
  216. package/dist/actions/get-agent-versions.d.cts +9 -0
  217. package/dist/actions/get-agent-versions.d.cts.map +1 -0
  218. package/dist/actions/get-agent-versions.d.mts +9 -0
  219. package/dist/actions/get-agent-versions.d.mts.map +1 -0
  220. package/dist/actions/get-agent-versions.mjs +13 -0
  221. package/dist/actions/get-agent-versions.mjs.map +1 -0
  222. package/dist/actions/get-agent.cjs +148 -0
  223. package/dist/actions/get-agent.cjs.map +1 -0
  224. package/dist/actions/get-agent.d.cts +9 -0
  225. package/dist/actions/get-agent.d.cts.map +1 -0
  226. package/dist/actions/get-agent.d.mts +9 -0
  227. package/dist/actions/get-agent.d.mts.map +1 -0
  228. package/dist/actions/get-agent.mjs +147 -0
  229. package/dist/actions/get-agent.mjs.map +1 -0
  230. package/dist/actions/get-batch-test.cjs +44 -0
  231. package/dist/actions/get-batch-test.cjs.map +1 -0
  232. package/dist/actions/get-batch-test.d.cts +9 -0
  233. package/dist/actions/get-batch-test.d.cts.map +1 -0
  234. package/dist/actions/get-batch-test.d.mts +9 -0
  235. package/dist/actions/get-batch-test.d.mts.map +1 -0
  236. package/dist/actions/get-batch-test.mjs +43 -0
  237. package/dist/actions/get-batch-test.mjs.map +1 -0
  238. package/dist/actions/get-chat-agent-versions.cjs +31 -0
  239. package/dist/actions/get-chat-agent-versions.cjs.map +1 -0
  240. package/dist/actions/get-chat-agent-versions.d.cts +9 -0
  241. package/dist/actions/get-chat-agent-versions.d.cts.map +1 -0
  242. package/dist/actions/get-chat-agent-versions.d.mts +9 -0
  243. package/dist/actions/get-chat-agent-versions.d.mts.map +1 -0
  244. package/dist/actions/get-chat-agent-versions.mjs +30 -0
  245. package/dist/actions/get-chat-agent-versions.mjs.map +1 -0
  246. package/dist/actions/get-chat-agent.cjs +105 -0
  247. package/dist/actions/get-chat-agent.cjs.map +1 -0
  248. package/dist/actions/get-chat-agent.d.cts +9 -0
  249. package/dist/actions/get-chat-agent.d.cts.map +1 -0
  250. package/dist/actions/get-chat-agent.d.mts +9 -0
  251. package/dist/actions/get-chat-agent.d.mts.map +1 -0
  252. package/dist/actions/get-chat-agent.mjs +104 -0
  253. package/dist/actions/get-chat-agent.mjs.map +1 -0
  254. package/dist/actions/get-chat.cjs +56 -0
  255. package/dist/actions/get-chat.cjs.map +1 -0
  256. package/dist/actions/get-chat.d.cts +9 -0
  257. package/dist/actions/get-chat.d.cts.map +1 -0
  258. package/dist/actions/get-chat.d.mts +9 -0
  259. package/dist/actions/get-chat.d.mts.map +1 -0
  260. package/dist/actions/get-chat.mjs +55 -0
  261. package/dist/actions/get-chat.mjs.map +1 -0
  262. package/dist/actions/get-concurrency.cjs +23 -0
  263. package/dist/actions/get-concurrency.cjs.map +1 -0
  264. package/dist/actions/get-concurrency.d.cts +9 -0
  265. package/dist/actions/get-concurrency.d.cts.map +1 -0
  266. package/dist/actions/get-concurrency.d.mts +9 -0
  267. package/dist/actions/get-concurrency.d.mts.map +1 -0
  268. package/dist/actions/get-concurrency.mjs +20 -0
  269. package/dist/actions/get-concurrency.mjs.map +1 -0
  270. package/dist/actions/get-conversation-flow-component.cjs +75 -0
  271. package/dist/actions/get-conversation-flow-component.cjs.map +1 -0
  272. package/dist/actions/get-conversation-flow-component.d.cts +9 -0
  273. package/dist/actions/get-conversation-flow-component.d.cts.map +1 -0
  274. package/dist/actions/get-conversation-flow-component.d.mts +9 -0
  275. package/dist/actions/get-conversation-flow-component.d.mts.map +1 -0
  276. package/dist/actions/get-conversation-flow-component.mjs +74 -0
  277. package/dist/actions/get-conversation-flow-component.mjs.map +1 -0
  278. package/dist/actions/get-conversation-flow.cjs +83 -0
  279. package/dist/actions/get-conversation-flow.cjs.map +1 -0
  280. package/dist/actions/get-conversation-flow.d.cts +9 -0
  281. package/dist/actions/get-conversation-flow.d.cts.map +1 -0
  282. package/dist/actions/get-conversation-flow.d.mts +9 -0
  283. package/dist/actions/get-conversation-flow.d.mts.map +1 -0
  284. package/dist/actions/get-conversation-flow.mjs +82 -0
  285. package/dist/actions/get-conversation-flow.mjs.map +1 -0
  286. package/dist/actions/get-knowledge-base.cjs +45 -0
  287. package/dist/actions/get-knowledge-base.cjs.map +1 -0
  288. package/dist/actions/get-knowledge-base.d.cts +9 -0
  289. package/dist/actions/get-knowledge-base.d.cts.map +1 -0
  290. package/dist/actions/get-knowledge-base.d.mts +9 -0
  291. package/dist/actions/get-knowledge-base.d.mts.map +1 -0
  292. package/dist/actions/get-knowledge-base.mjs +44 -0
  293. package/dist/actions/get-knowledge-base.mjs.map +1 -0
  294. package/dist/actions/get-retell-llm.cjs +253 -0
  295. package/dist/actions/get-retell-llm.cjs.map +1 -0
  296. package/dist/actions/get-retell-llm.d.cts +9 -0
  297. package/dist/actions/get-retell-llm.d.cts.map +1 -0
  298. package/dist/actions/get-retell-llm.d.mts +9 -0
  299. package/dist/actions/get-retell-llm.d.mts.map +1 -0
  300. package/dist/actions/get-retell-llm.mjs +252 -0
  301. package/dist/actions/get-retell-llm.mjs.map +1 -0
  302. package/dist/actions/import-phone-number.cjs +50 -0
  303. package/dist/actions/import-phone-number.cjs.map +1 -0
  304. package/dist/actions/import-phone-number.d.cts +9 -0
  305. package/dist/actions/import-phone-number.d.cts.map +1 -0
  306. package/dist/actions/import-phone-number.d.mts +9 -0
  307. package/dist/actions/import-phone-number.d.mts.map +1 -0
  308. package/dist/actions/import-phone-number.mjs +49 -0
  309. package/dist/actions/import-phone-number.mjs.map +1 -0
  310. package/dist/actions/index.cjs +135 -0
  311. package/dist/actions/index.d.cts +68 -0
  312. package/dist/actions/index.d.mts +68 -0
  313. package/dist/actions/index.mjs +68 -0
  314. package/dist/actions/list-agents.cjs +16 -0
  315. package/dist/actions/list-agents.cjs.map +1 -0
  316. package/dist/actions/list-agents.d.cts +9 -0
  317. package/dist/actions/list-agents.d.cts.map +1 -0
  318. package/dist/actions/list-agents.d.mts +9 -0
  319. package/dist/actions/list-agents.d.mts.map +1 -0
  320. package/dist/actions/list-agents.mjs +13 -0
  321. package/dist/actions/list-agents.mjs.map +1 -0
  322. package/dist/actions/list-all-chats.cjs +20 -0
  323. package/dist/actions/list-all-chats.cjs.map +1 -0
  324. package/dist/actions/list-all-chats.d.cts +9 -0
  325. package/dist/actions/list-all-chats.d.cts.map +1 -0
  326. package/dist/actions/list-all-chats.d.mts +9 -0
  327. package/dist/actions/list-all-chats.d.mts.map +1 -0
  328. package/dist/actions/list-all-chats.mjs +17 -0
  329. package/dist/actions/list-all-chats.mjs.map +1 -0
  330. package/dist/actions/list-all-phone-numbers.cjs +16 -0
  331. package/dist/actions/list-all-phone-numbers.cjs.map +1 -0
  332. package/dist/actions/list-all-phone-numbers.d.cts +9 -0
  333. package/dist/actions/list-all-phone-numbers.d.cts.map +1 -0
  334. package/dist/actions/list-all-phone-numbers.d.mts +9 -0
  335. package/dist/actions/list-all-phone-numbers.d.mts.map +1 -0
  336. package/dist/actions/list-all-phone-numbers.mjs +13 -0
  337. package/dist/actions/list-all-phone-numbers.mjs.map +1 -0
  338. package/dist/actions/list-batch-tests.cjs +51 -0
  339. package/dist/actions/list-batch-tests.cjs.map +1 -0
  340. package/dist/actions/list-batch-tests.d.cts +9 -0
  341. package/dist/actions/list-batch-tests.d.cts.map +1 -0
  342. package/dist/actions/list-batch-tests.d.mts +9 -0
  343. package/dist/actions/list-batch-tests.d.mts.map +1 -0
  344. package/dist/actions/list-batch-tests.mjs +50 -0
  345. package/dist/actions/list-batch-tests.mjs.map +1 -0
  346. package/dist/actions/list-chat-agents.cjs +20 -0
  347. package/dist/actions/list-chat-agents.cjs.map +1 -0
  348. package/dist/actions/list-chat-agents.d.cts +9 -0
  349. package/dist/actions/list-chat-agents.d.cts.map +1 -0
  350. package/dist/actions/list-chat-agents.d.mts +9 -0
  351. package/dist/actions/list-chat-agents.d.mts.map +1 -0
  352. package/dist/actions/list-chat-agents.mjs +17 -0
  353. package/dist/actions/list-chat-agents.mjs.map +1 -0
  354. package/dist/actions/list-conversation-flow-components.cjs +24 -0
  355. package/dist/actions/list-conversation-flow-components.cjs.map +1 -0
  356. package/dist/actions/list-conversation-flow-components.d.cts +9 -0
  357. package/dist/actions/list-conversation-flow-components.d.cts.map +1 -0
  358. package/dist/actions/list-conversation-flow-components.d.mts +9 -0
  359. package/dist/actions/list-conversation-flow-components.d.mts.map +1 -0
  360. package/dist/actions/list-conversation-flow-components.mjs +23 -0
  361. package/dist/actions/list-conversation-flow-components.mjs.map +1 -0
  362. package/dist/actions/list-conversation-flows.cjs +31 -0
  363. package/dist/actions/list-conversation-flows.cjs.map +1 -0
  364. package/dist/actions/list-conversation-flows.d.cts +9 -0
  365. package/dist/actions/list-conversation-flows.d.cts.map +1 -0
  366. package/dist/actions/list-conversation-flows.d.mts +9 -0
  367. package/dist/actions/list-conversation-flows.d.mts.map +1 -0
  368. package/dist/actions/list-conversation-flows.mjs +30 -0
  369. package/dist/actions/list-conversation-flows.mjs.map +1 -0
  370. package/dist/actions/list-knowledge-bases.cjs +16 -0
  371. package/dist/actions/list-knowledge-bases.cjs.map +1 -0
  372. package/dist/actions/list-knowledge-bases.d.cts +9 -0
  373. package/dist/actions/list-knowledge-bases.d.cts.map +1 -0
  374. package/dist/actions/list-knowledge-bases.d.mts +9 -0
  375. package/dist/actions/list-knowledge-bases.d.mts.map +1 -0
  376. package/dist/actions/list-knowledge-bases.mjs +13 -0
  377. package/dist/actions/list-knowledge-bases.mjs.map +1 -0
  378. package/dist/actions/list-retell-llms.cjs +72 -0
  379. package/dist/actions/list-retell-llms.cjs.map +1 -0
  380. package/dist/actions/list-retell-llms.d.cts +9 -0
  381. package/dist/actions/list-retell-llms.d.cts.map +1 -0
  382. package/dist/actions/list-retell-llms.d.mts +9 -0
  383. package/dist/actions/list-retell-llms.d.mts.map +1 -0
  384. package/dist/actions/list-retell-llms.mjs +71 -0
  385. package/dist/actions/list-retell-llms.mjs.map +1 -0
  386. package/dist/actions/list-test-case-definitions.cjs +34 -0
  387. package/dist/actions/list-test-case-definitions.cjs.map +1 -0
  388. package/dist/actions/list-test-case-definitions.d.cts +9 -0
  389. package/dist/actions/list-test-case-definitions.d.cts.map +1 -0
  390. package/dist/actions/list-test-case-definitions.d.mts +9 -0
  391. package/dist/actions/list-test-case-definitions.d.mts.map +1 -0
  392. package/dist/actions/list-test-case-definitions.mjs +33 -0
  393. package/dist/actions/list-test-case-definitions.mjs.map +1 -0
  394. package/dist/actions/list-test-runs.cjs +16 -0
  395. package/dist/actions/list-test-runs.cjs.map +1 -0
  396. package/dist/actions/list-test-runs.d.cts +9 -0
  397. package/dist/actions/list-test-runs.d.cts.map +1 -0
  398. package/dist/actions/list-test-runs.d.mts +9 -0
  399. package/dist/actions/list-test-runs.d.mts.map +1 -0
  400. package/dist/actions/list-test-runs.mjs +13 -0
  401. package/dist/actions/list-test-runs.mjs.map +1 -0
  402. package/dist/actions/list-voices.cjs +16 -0
  403. package/dist/actions/list-voices.cjs.map +1 -0
  404. package/dist/actions/list-voices.d.cts +9 -0
  405. package/dist/actions/list-voices.d.cts.map +1 -0
  406. package/dist/actions/list-voices.d.mts +9 -0
  407. package/dist/actions/list-voices.d.mts.map +1 -0
  408. package/dist/actions/list-voices.mjs +13 -0
  409. package/dist/actions/list-voices.mjs.map +1 -0
  410. package/dist/actions/publish-agent.cjs +70 -0
  411. package/dist/actions/publish-agent.cjs.map +1 -0
  412. package/dist/actions/publish-agent.d.cts +9 -0
  413. package/dist/actions/publish-agent.d.cts.map +1 -0
  414. package/dist/actions/publish-agent.d.mts +9 -0
  415. package/dist/actions/publish-agent.d.mts.map +1 -0
  416. package/dist/actions/publish-agent.mjs +67 -0
  417. package/dist/actions/publish-agent.mjs.map +1 -0
  418. package/dist/actions/publish-chat-agent.cjs +37 -0
  419. package/dist/actions/publish-chat-agent.cjs.map +1 -0
  420. package/dist/actions/publish-chat-agent.d.cts +9 -0
  421. package/dist/actions/publish-chat-agent.d.cts.map +1 -0
  422. package/dist/actions/publish-chat-agent.d.mts +9 -0
  423. package/dist/actions/publish-chat-agent.d.mts.map +1 -0
  424. package/dist/actions/publish-chat-agent.mjs +34 -0
  425. package/dist/actions/publish-chat-agent.mjs.map +1 -0
  426. package/dist/actions/register-phone-call.cjs +196 -0
  427. package/dist/actions/register-phone-call.cjs.map +1 -0
  428. package/dist/actions/register-phone-call.d.cts +9 -0
  429. package/dist/actions/register-phone-call.d.cts.map +1 -0
  430. package/dist/actions/register-phone-call.d.mts +9 -0
  431. package/dist/actions/register-phone-call.d.mts.map +1 -0
  432. package/dist/actions/register-phone-call.mjs +195 -0
  433. package/dist/actions/register-phone-call.mjs.map +1 -0
  434. package/dist/actions/retrieve-call-details-by-id.cjs +16 -0
  435. package/dist/actions/retrieve-call-details-by-id.cjs.map +1 -0
  436. package/dist/actions/retrieve-call-details-by-id.d.cts +9 -0
  437. package/dist/actions/retrieve-call-details-by-id.d.cts.map +1 -0
  438. package/dist/actions/retrieve-call-details-by-id.d.mts +9 -0
  439. package/dist/actions/retrieve-call-details-by-id.d.mts.map +1 -0
  440. package/dist/actions/retrieve-call-details-by-id.mjs +13 -0
  441. package/dist/actions/retrieve-call-details-by-id.mjs.map +1 -0
  442. package/dist/actions/retrieve-call-details.cjs +136 -0
  443. package/dist/actions/retrieve-call-details.cjs.map +1 -0
  444. package/dist/actions/retrieve-call-details.d.cts +9 -0
  445. package/dist/actions/retrieve-call-details.d.cts.map +1 -0
  446. package/dist/actions/retrieve-call-details.d.mts +9 -0
  447. package/dist/actions/retrieve-call-details.d.mts.map +1 -0
  448. package/dist/actions/retrieve-call-details.mjs +135 -0
  449. package/dist/actions/retrieve-call-details.mjs.map +1 -0
  450. package/dist/actions/retrieve-details-of-a-specific-phone-number.cjs +29 -0
  451. package/dist/actions/retrieve-details-of-a-specific-phone-number.cjs.map +1 -0
  452. package/dist/actions/retrieve-details-of-a-specific-phone-number.d.cts +9 -0
  453. package/dist/actions/retrieve-details-of-a-specific-phone-number.d.cts.map +1 -0
  454. package/dist/actions/retrieve-details-of-a-specific-phone-number.d.mts +9 -0
  455. package/dist/actions/retrieve-details-of-a-specific-phone-number.d.mts.map +1 -0
  456. package/dist/actions/retrieve-details-of-a-specific-phone-number.mjs +28 -0
  457. package/dist/actions/retrieve-details-of-a-specific-phone-number.mjs.map +1 -0
  458. package/dist/actions/retrieve-details-of-a-specific-voice.cjs +24 -0
  459. package/dist/actions/retrieve-details-of-a-specific-voice.cjs.map +1 -0
  460. package/dist/actions/retrieve-details-of-a-specific-voice.d.cts +9 -0
  461. package/dist/actions/retrieve-details-of-a-specific-voice.d.cts.map +1 -0
  462. package/dist/actions/retrieve-details-of-a-specific-voice.d.mts +9 -0
  463. package/dist/actions/retrieve-details-of-a-specific-voice.d.mts.map +1 -0
  464. package/dist/actions/retrieve-details-of-a-specific-voice.mjs +21 -0
  465. package/dist/actions/retrieve-details-of-a-specific-voice.mjs.map +1 -0
  466. package/dist/actions/search-community-voice.cjs +29 -0
  467. package/dist/actions/search-community-voice.cjs.map +1 -0
  468. package/dist/actions/search-community-voice.d.cts +9 -0
  469. package/dist/actions/search-community-voice.d.cts.map +1 -0
  470. package/dist/actions/search-community-voice.d.mts +9 -0
  471. package/dist/actions/search-community-voice.d.mts.map +1 -0
  472. package/dist/actions/search-community-voice.mjs +28 -0
  473. package/dist/actions/search-community-voice.mjs.map +1 -0
  474. package/dist/actions/update-agent.cjs +261 -0
  475. package/dist/actions/update-agent.cjs.map +1 -0
  476. package/dist/actions/update-agent.d.cts +9 -0
  477. package/dist/actions/update-agent.d.cts.map +1 -0
  478. package/dist/actions/update-agent.d.mts +9 -0
  479. package/dist/actions/update-agent.d.mts.map +1 -0
  480. package/dist/actions/update-agent.mjs +260 -0
  481. package/dist/actions/update-agent.mjs.map +1 -0
  482. package/dist/actions/update-call.cjs +36 -0
  483. package/dist/actions/update-call.cjs.map +1 -0
  484. package/dist/actions/update-call.d.cts +9 -0
  485. package/dist/actions/update-call.d.cts.map +1 -0
  486. package/dist/actions/update-call.d.mts +9 -0
  487. package/dist/actions/update-call.d.mts.map +1 -0
  488. package/dist/actions/update-call.mjs +35 -0
  489. package/dist/actions/update-call.mjs.map +1 -0
  490. package/dist/actions/update-chat-agent.cjs +222 -0
  491. package/dist/actions/update-chat-agent.cjs.map +1 -0
  492. package/dist/actions/update-chat-agent.d.cts +9 -0
  493. package/dist/actions/update-chat-agent.d.cts.map +1 -0
  494. package/dist/actions/update-chat-agent.d.mts +9 -0
  495. package/dist/actions/update-chat-agent.d.mts.map +1 -0
  496. package/dist/actions/update-chat-agent.mjs +221 -0
  497. package/dist/actions/update-chat-agent.mjs.map +1 -0
  498. package/dist/actions/update-chat-metadata.cjs +62 -0
  499. package/dist/actions/update-chat-metadata.cjs.map +1 -0
  500. package/dist/actions/update-chat-metadata.d.cts +9 -0
  501. package/dist/actions/update-chat-metadata.d.cts.map +1 -0
  502. package/dist/actions/update-chat-metadata.d.mts +9 -0
  503. package/dist/actions/update-chat-metadata.d.mts.map +1 -0
  504. package/dist/actions/update-chat-metadata.mjs +61 -0
  505. package/dist/actions/update-chat-metadata.mjs.map +1 -0
  506. package/dist/actions/update-conversation-flow-component.cjs +258 -0
  507. package/dist/actions/update-conversation-flow-component.cjs.map +1 -0
  508. package/dist/actions/update-conversation-flow-component.d.cts +9 -0
  509. package/dist/actions/update-conversation-flow-component.d.cts.map +1 -0
  510. package/dist/actions/update-conversation-flow-component.d.mts +9 -0
  511. package/dist/actions/update-conversation-flow-component.d.mts.map +1 -0
  512. package/dist/actions/update-conversation-flow-component.mjs +257 -0
  513. package/dist/actions/update-conversation-flow-component.mjs.map +1 -0
  514. package/dist/actions/update-conversation-flow.cjs +109 -0
  515. package/dist/actions/update-conversation-flow.cjs.map +1 -0
  516. package/dist/actions/update-conversation-flow.d.cts +9 -0
  517. package/dist/actions/update-conversation-flow.d.cts.map +1 -0
  518. package/dist/actions/update-conversation-flow.d.mts +9 -0
  519. package/dist/actions/update-conversation-flow.d.mts.map +1 -0
  520. package/dist/actions/update-conversation-flow.mjs +108 -0
  521. package/dist/actions/update-conversation-flow.mjs.map +1 -0
  522. package/dist/actions/update-phone-number.cjs +58 -0
  523. package/dist/actions/update-phone-number.cjs.map +1 -0
  524. package/dist/actions/update-phone-number.d.cts +9 -0
  525. package/dist/actions/update-phone-number.d.cts.map +1 -0
  526. package/dist/actions/update-phone-number.d.mts +9 -0
  527. package/dist/actions/update-phone-number.d.mts.map +1 -0
  528. package/dist/actions/update-phone-number.mjs +57 -0
  529. package/dist/actions/update-phone-number.mjs.map +1 -0
  530. package/dist/actions/update-retell-llm.cjs +125 -0
  531. package/dist/actions/update-retell-llm.cjs.map +1 -0
  532. package/dist/actions/update-retell-llm.d.cts +9 -0
  533. package/dist/actions/update-retell-llm.d.cts.map +1 -0
  534. package/dist/actions/update-retell-llm.d.mts +9 -0
  535. package/dist/actions/update-retell-llm.d.mts.map +1 -0
  536. package/dist/actions/update-retell-llm.mjs +124 -0
  537. package/dist/actions/update-retell-llm.mjs.map +1 -0
  538. package/dist/actions/update-test-case-definition.cjs +80 -0
  539. package/dist/actions/update-test-case-definition.cjs.map +1 -0
  540. package/dist/actions/update-test-case-definition.d.cts +9 -0
  541. package/dist/actions/update-test-case-definition.d.cts.map +1 -0
  542. package/dist/actions/update-test-case-definition.d.mts +9 -0
  543. package/dist/actions/update-test-case-definition.d.mts.map +1 -0
  544. package/dist/actions/update-test-case-definition.mjs +79 -0
  545. package/dist/actions/update-test-case-definition.mjs.map +1 -0
  546. package/dist/app.cjs +9 -0
  547. package/dist/app.cjs.map +1 -0
  548. package/dist/app.d.cts +5 -0
  549. package/dist/app.d.cts.map +1 -0
  550. package/dist/app.d.mts +5 -0
  551. package/dist/app.d.mts.map +1 -0
  552. package/dist/app.mjs +10 -0
  553. package/dist/app.mjs.map +1 -0
  554. package/dist/catalog.cjs +15 -0
  555. package/dist/catalog.cjs.map +1 -0
  556. package/dist/catalog.d.cts +14 -0
  557. package/dist/catalog.d.cts.map +1 -0
  558. package/dist/catalog.d.mts +14 -0
  559. package/dist/catalog.d.mts.map +1 -0
  560. package/dist/catalog.mjs +15 -0
  561. package/dist/catalog.mjs.map +1 -0
  562. package/dist/execute.cjs +18 -0
  563. package/dist/execute.cjs.map +1 -0
  564. package/dist/execute.mjs +18 -0
  565. package/dist/execute.mjs.map +1 -0
  566. package/dist/index.cjs +140 -0
  567. package/dist/index.d.cts +70 -0
  568. package/dist/index.d.mts +70 -0
  569. package/dist/index.mjs +71 -0
  570. package/package.json +49 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-retell-llm.d.cts","names":[],"sources":["../../src/actions/get-retell-llm.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAGc;AAAA,cA+J3C,0BAAA,EAA4B,CAAA,CAAE,UAqBc;AAAA,cAE5C,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-retell-llm.d.ts
4
+ declare const RetellaiGetRetellLlmInput: z.ZodTypeAny;
5
+ declare const RetellaiGetRetellLlmOutput: z.ZodTypeAny;
6
+ declare const retellaiGetRetellLlm: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { retellaiGetRetellLlm };
9
+ //# sourceMappingURL=get-retell-llm.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-retell-llm.d.mts","names":[],"sources":["../../src/actions/get-retell-llm.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAGc;AAAA,cA+J3C,0BAAA,EAA4B,CAAA,CAAE,UAqBc;AAAA,cAE5C,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,252 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-retell-llm.ts
4
+ const RetellaiGetRetellLlmInput = z.object({
5
+ llm_id: z.string().describe("Unique identifier of the Retell LLM Response Engine to be retrieved"),
6
+ version: z.number().int().describe("Optional version of the API to use for this request. Defaults to latest version if not specified").optional()
7
+ }).describe("Request schema for `RetellaiGetRetellLlm`");
8
+ const RetellaiGetRetellLlm_MCPServerSchema = z.object({
9
+ url: z.string().describe("MCP server URL"),
10
+ name: z.string().describe("MCP server name"),
11
+ headers: z.record(z.string(), z.unknown()).describe("HTTP headers for MCP requests").nullable().optional(),
12
+ timeout_ms: z.number().int().describe("Timeout for MCP requests in milliseconds").nullable().optional(),
13
+ query_params: z.record(z.string(), z.unknown()).describe("Query parameters for MCP requests").nullable().optional()
14
+ }).describe("Model Context Protocol server configuration");
15
+ const RetellaiGetRetellLlm_StateEdgeSchema = z.object({
16
+ parameters: z.record(z.string(), z.unknown()).describe("Describes what parameters you want to extract out when the transition changes. The parameters extracted here can be referenced in prompts & function descriptions of later states via dynamic variables.").nullable().optional(),
17
+ description: z.string().describe("Describes what's the transition and at what time / criteria should this transition happen."),
18
+ destination_state_name: z.string().describe("The destination state name when going through transition of state via this edge. State transition internally is implemented as a tool call of LLM, and a tool call with name 'transition_to_{destination_state_name}' will get created.")
19
+ }).describe("Edge definition for state transitions");
20
+ const RetellaiGetRetellLlm_EndCallToolSchema = z.object({
21
+ name: z.string().describe("Unique tool identifier"),
22
+ type: z.string().describe("Tool type identifier"),
23
+ description: z.string().describe("Explains tool purpose and usage context").nullable().optional(),
24
+ speak_during_execution: z.boolean().describe("Enable speech during termination").nullable().optional(),
25
+ execution_message_description: z.string().describe("What the agent says when ending").nullable().optional()
26
+ }).describe("Tool for ending the call");
27
+ const RetellaiGetRetellLlm_ColdTransferOptionSchema = z.object({
28
+ type: z.string().describe("Transfer option type discriminator"),
29
+ show_transferee_as_caller: z.boolean().describe("Show transferee number as caller ID").nullable().optional()
30
+ }).describe("Cold transfer: direct transfer without briefing");
31
+ const RetellaiGetRetellLlm_WarmTransferOptionSchema = z.object({
32
+ type: z.string().describe("Transfer option type discriminator"),
33
+ wait_for_human: z.boolean().describe("Only complete transfer if human detected").nullable().optional(),
34
+ whisper_message: z.string().describe("Message spoken only to transfer target (supports dynamic variables)").nullable().optional(),
35
+ on_hold_music_url: z.string().describe("URL of music to play while caller is on hold").nullable().optional(),
36
+ three_way_message: z.string().describe("Message heard by both caller and target during handoff (supports dynamic variables)").nullable().optional()
37
+ }).describe("Warm transfer: AI briefs the next agent before transferring");
38
+ const RetellaiGetRetellLlm_AgenticWarmTransferOptionSchema = z.object({
39
+ type: z.string().describe("Transfer option type discriminator"),
40
+ prompt: z.string().describe("Prompt to guide AI in evaluating transfer decision (supports dynamic variables)").nullable().optional(),
41
+ wait_for_human: z.boolean().describe("Only complete transfer if human detected").nullable().optional(),
42
+ whisper_message: z.string().describe("Message spoken only to transfer target (supports dynamic variables)").nullable().optional(),
43
+ on_hold_music_url: z.string().describe("URL of music to play while caller is on hold").nullable().optional(),
44
+ three_way_message: z.string().describe("Message heard by both caller and target during handoff (supports dynamic variables)").nullable().optional()
45
+ }).describe("Agentic warm transfer: AI evaluates whether to transfer");
46
+ const RetellaiGetRetellLlm_TransferDestinationPredefinedSchema = z.object({
47
+ type: z.string().describe("Destination type discriminator"),
48
+ number: z.string().describe("Transfer number in E.164 format or dynamic variable"),
49
+ extension: z.string().describe("Optional DTMF extension digits").nullable().optional()
50
+ }).describe("Predefined transfer destination with specific number");
51
+ const RetellaiGetRetellLlm_TransferDestinationInferredSchema = z.object({
52
+ type: z.string().describe("Destination type discriminator"),
53
+ prompt: z.string().describe("Prompt to guide LLM in determining transfer number")
54
+ }).describe("Inferred transfer destination determined by LLM");
55
+ const RetellaiGetRetellLlm_TransferCallToolSchema = z.object({
56
+ name: z.string().describe("Unique tool identifier"),
57
+ type: z.string().describe("Tool type identifier"),
58
+ description: z.string().describe("Explains tool purpose").nullable().optional(),
59
+ transfer_option: z.union([
60
+ RetellaiGetRetellLlm_ColdTransferOptionSchema,
61
+ RetellaiGetRetellLlm_WarmTransferOptionSchema,
62
+ RetellaiGetRetellLlm_AgenticWarmTransferOptionSchema
63
+ ]),
64
+ custom_sip_headers: z.object({}).describe("Additional SIP protocol headers (key-value string pairs)").nullable().optional(),
65
+ transfer_destination: z.union([RetellaiGetRetellLlm_TransferDestinationPredefinedSchema, RetellaiGetRetellLlm_TransferDestinationInferredSchema]),
66
+ ignore_e164_validation: z.boolean().describe("Skip phone number format checks").nullable().optional(),
67
+ speak_during_execution: z.boolean().describe("Enable speech notification").nullable().optional(),
68
+ execution_message_description: z.string().describe("Message spoken during transfer").nullable().optional()
69
+ }).describe("Tool for transferring the call");
70
+ const RetellaiGetRetellLlm_CheckAvailabilityCalToolSchema = z.object({
71
+ name: z.string().describe("Unique tool identifier"),
72
+ type: z.string().describe("Tool type identifier"),
73
+ timezone: z.string().describe("IANA timezone database reference").nullable().optional(),
74
+ cal_api_key: z.string().describe("Cal.com authentication credential"),
75
+ description: z.string().describe("Explains tool purpose").nullable().optional(),
76
+ event_type_id: z.number().int().describe("Calendar event identifier")
77
+ }).describe("Tool for checking availability via Cal.com");
78
+ const RetellaiGetRetellLlm_BookAppointmentCalToolSchema = z.object({
79
+ name: z.string().describe("Unique tool identifier"),
80
+ type: z.string().describe("Tool type identifier"),
81
+ timezone: z.string().describe("IANA timezone database reference").nullable().optional(),
82
+ cal_api_key: z.string().describe("Cal.com authentication credential"),
83
+ description: z.string().describe("Explains tool purpose").nullable().optional(),
84
+ event_type_id: z.number().int().describe("Calendar event identifier")
85
+ }).describe("Tool for booking appointments via Cal.com");
86
+ const RetellaiGetRetellLlm_AgentSwapToolSchema = z.object({
87
+ name: z.string().describe("Unique tool identifier"),
88
+ type: z.string().describe("Tool type identifier"),
89
+ agent_id: z.string().describe("Target agent identifier"),
90
+ description: z.string().describe("Explains tool purpose").nullable().optional(),
91
+ agent_version: z.string().describe("Target agent version (uses latest if unspecified)").nullable().optional(),
92
+ webhook_setting: z.record(z.string(), z.unknown()).describe("Event notification configuration").nullable().optional(),
93
+ speak_during_execution: z.boolean().describe("Enable speech notification").nullable().optional(),
94
+ post_call_analysis_setting: z.unknown().describe("Analysis scope configuration"),
95
+ execution_message_description: z.string().describe("Message spoken during swap").nullable().optional()
96
+ }).describe("Tool for swapping to a different agent");
97
+ const RetellaiGetRetellLlm_PressDigitToolSchema = z.object({
98
+ name: z.string().describe("Unique tool identifier"),
99
+ type: z.string().describe("Tool type identifier"),
100
+ delay_ms: z.number().int().describe("Milliseconds before sending (default: 1000ms, range: 0-5000ms)").nullable().optional(),
101
+ description: z.string().describe("Explains tool purpose").nullable().optional()
102
+ }).describe("Tool for pressing phone digits");
103
+ const RetellaiGetRetellLlm_SmsContentPredefinedSchema = z.object({
104
+ type: z.string().describe("Content type discriminator"),
105
+ content: z.string().describe("Static SMS text (supports dynamic variables like {{variable_name}})")
106
+ }).describe("Predefined SMS content with static text");
107
+ const RetellaiGetRetellLlm_SmsContentInferredSchema = z.object({
108
+ type: z.string().describe("Content type discriminator"),
109
+ prompt: z.string().describe("Prompt to guide LLM in generating SMS content (supports dynamic variables)")
110
+ }).describe("Inferred SMS content generated by LLM");
111
+ const RetellaiGetRetellLlm_SendSMSToolSchema = z.object({
112
+ name: z.string().describe("Unique tool identifier"),
113
+ type: z.string().describe("Tool type identifier"),
114
+ description: z.string().describe("Explains tool purpose").nullable().optional(),
115
+ sms_content: z.union([RetellaiGetRetellLlm_SmsContentPredefinedSchema, RetellaiGetRetellLlm_SmsContentInferredSchema])
116
+ }).describe("Tool for sending SMS messages");
117
+ const RetellaiGetRetellLlm_CustomToolSchema = z.object({
118
+ url: z.string().describe("API endpoint"),
119
+ name: z.string().describe("Unique tool identifier"),
120
+ type: z.string().describe("Tool type identifier"),
121
+ method: z.enum([
122
+ "GET",
123
+ "POST",
124
+ "PUT",
125
+ "PATCH",
126
+ "DELETE"
127
+ ]).describe("HTTP verb (default: POST)").nullable().optional(),
128
+ headers: z.record(z.string(), z.unknown()).describe("Request header key-value pairs").nullable().optional(),
129
+ parameters: z.record(z.string(), z.unknown()).describe("JSON Schema defining input arguments").nullable().optional(),
130
+ timeout_ms: z.number().int().describe("Maximum execution duration (1000-600000ms; default: 120000ms)").nullable().optional(),
131
+ description: z.string().describe("Explains purpose and invocation criteria"),
132
+ args_at_root: z.boolean().describe("Pass parameters as root-level JSON").nullable().optional(),
133
+ query_params: z.record(z.string(), z.unknown()).describe("URL query parameters").nullable().optional(),
134
+ response_variables: z.record(z.string(), z.unknown()).describe("JSON path mappings for response extraction").nullable().optional(),
135
+ speak_after_execution: z.boolean().describe("Enable LLM callback after execution"),
136
+ speak_during_execution: z.boolean().describe("Enable interim speech").nullable().optional(),
137
+ execution_message_description: z.string().describe("Interim message guidance").nullable().optional()
138
+ }).describe("Tool for custom API calls");
139
+ const RetellaiGetRetellLlm_ExtractDynamicVariableToolSchema = z.object({
140
+ name: z.string().describe("Unique tool identifier"),
141
+ type: z.string().describe("Tool type identifier"),
142
+ variables: z.array(z.unknown()).describe("Data extraction definitions"),
143
+ description: z.string().describe("Explains tool purpose")
144
+ }).describe("Tool for extracting dynamic variables");
145
+ const RetellaiGetRetellLlm_BridgeTransferToolSchema = z.object({
146
+ name: z.string().describe("Unique tool identifier"),
147
+ type: z.string().describe("Tool type identifier"),
148
+ description: z.string().describe("Explains tool purpose").nullable().optional()
149
+ }).describe("Tool for bridge transfers");
150
+ const RetellaiGetRetellLlm_CancelTransferToolSchema = z.object({
151
+ name: z.string().describe("Unique tool identifier"),
152
+ type: z.string().describe("Tool type identifier"),
153
+ description: z.string().describe("Explains tool purpose").nullable().optional()
154
+ }).describe("Tool for canceling transfers");
155
+ const RetellaiGetRetellLlm_MCPToolSchema = z.object({
156
+ name: z.string().describe("Tool identifier"),
157
+ type: z.string().describe("Tool type identifier"),
158
+ mcp_id: z.string().describe("MCP server identifier").nullable().optional(),
159
+ description: z.string().describe("Tool purpose explanation"),
160
+ input_schema: z.record(z.string(), z.unknown()).describe("Parameter schema definition").nullable().optional(),
161
+ response_variables: z.record(z.string(), z.unknown()).describe("Output data mappings").nullable().optional(),
162
+ speak_after_execution: z.boolean().describe("Enable callback speech").nullable().optional(),
163
+ speak_during_execution: z.boolean().describe("Enable interim speech").nullable().optional(),
164
+ execution_message_description: z.string().describe("Interim message guidance").nullable().optional()
165
+ }).describe("Tool for MCP (Model Context Protocol) calls");
166
+ const RetellaiGetRetellLlm_StateSchema = z.object({
167
+ name: z.string().describe("State identifier"),
168
+ edges: z.array(RetellaiGetRetellLlm_StateEdgeSchema).describe("State transition definitions").nullable().optional(),
169
+ tools: z.array(z.union([
170
+ RetellaiGetRetellLlm_EndCallToolSchema,
171
+ RetellaiGetRetellLlm_TransferCallToolSchema,
172
+ RetellaiGetRetellLlm_CheckAvailabilityCalToolSchema,
173
+ RetellaiGetRetellLlm_BookAppointmentCalToolSchema,
174
+ RetellaiGetRetellLlm_AgentSwapToolSchema,
175
+ RetellaiGetRetellLlm_PressDigitToolSchema,
176
+ RetellaiGetRetellLlm_SendSMSToolSchema,
177
+ RetellaiGetRetellLlm_CustomToolSchema,
178
+ RetellaiGetRetellLlm_ExtractDynamicVariableToolSchema,
179
+ RetellaiGetRetellLlm_BridgeTransferToolSchema,
180
+ RetellaiGetRetellLlm_CancelTransferToolSchema,
181
+ RetellaiGetRetellLlm_MCPToolSchema
182
+ ])).describe("Tools available in this specific state").nullable().optional(),
183
+ state_prompt: z.string().describe("Prompt specific to this state").nullable().optional()
184
+ }).describe("State definition for conversation flow");
185
+ const RetellaiGetRetellLlm_KnowledgeBaseConfigurationSchema = z.object({
186
+ top_k: z.number().int().describe("Number of top results to retrieve (1-10)").nullable().optional(),
187
+ filter_score: z.number().describe("Score threshold for filtering results (0-1)").nullable().optional()
188
+ }).describe("Knowledge base configuration for RAG retrieval");
189
+ const retellaiGetRetellLlm = action("RETELLAI_GET_RETELL_LLM", {
190
+ slug: "retellai-get-retell-llm",
191
+ name: "Retrieve details of a specific Retell LLM",
192
+ description: "Retrieve details of a specific Retell LLM Response Engine by its unique identifier. Use when you need to access LLM configuration including model settings, prompts, tools, states, and knowledge base configurations.",
193
+ input: RetellaiGetRetellLlmInput,
194
+ output: z.object({
195
+ mcps: z.array(RetellaiGetRetellLlm_MCPServerSchema).describe("Model Context Protocol servers").nullable().optional(),
196
+ model: z.enum([
197
+ "gpt-4.1",
198
+ "gpt-4.1-mini",
199
+ "gpt-4.1-nano",
200
+ "gpt-5",
201
+ "gpt-5.1",
202
+ "gpt-5.2",
203
+ "gpt-5-mini",
204
+ "gpt-5-nano",
205
+ "claude-4.5-sonnet",
206
+ "claude-4.5-haiku",
207
+ "gemini-2.5-flash",
208
+ "gemini-2.5-flash-lite",
209
+ "gemini-3.0-flash"
210
+ ]).describe("Underlying text LLM (defaults to gpt-4.1)").nullable().optional(),
211
+ llm_id: z.string().describe("Unique id of Retell LLM Response Engine"),
212
+ states: z.array(RetellaiGetRetellLlm_StateSchema).describe("State definitions for conversation flow. States help reduce prompt length and tool choices when calls can be broken into distinct stages.").nullable().optional(),
213
+ version: z.number().int().describe("Engine version number").nullable().optional(),
214
+ kb_config: RetellaiGetRetellLlm_KnowledgeBaseConfigurationSchema.nullable().optional(),
215
+ s2s_model: z.enum([
216
+ "gpt-4o-realtime",
217
+ "gpt-4o-mini-realtime",
218
+ "gpt-realtime",
219
+ "gpt-realtime-mini"
220
+ ]).describe("Speech-to-speech model option").nullable().optional(),
221
+ is_published: z.boolean().describe("Publication status of the engine").nullable().optional(),
222
+ begin_message: z.string().describe("First utterance said by the agent in the call. If not set, LLM will dynamically generate a message. If set to empty string, agent will wait for user to speak first.").nullable().optional(),
223
+ general_tools: z.array(z.union([
224
+ RetellaiGetRetellLlm_EndCallToolSchema,
225
+ RetellaiGetRetellLlm_TransferCallToolSchema,
226
+ RetellaiGetRetellLlm_CheckAvailabilityCalToolSchema,
227
+ RetellaiGetRetellLlm_BookAppointmentCalToolSchema,
228
+ RetellaiGetRetellLlm_AgentSwapToolSchema,
229
+ RetellaiGetRetellLlm_PressDigitToolSchema,
230
+ RetellaiGetRetellLlm_SendSMSToolSchema,
231
+ RetellaiGetRetellLlm_CustomToolSchema,
232
+ RetellaiGetRetellLlm_ExtractDynamicVariableToolSchema,
233
+ RetellaiGetRetellLlm_BridgeTransferToolSchema,
234
+ RetellaiGetRetellLlm_CancelTransferToolSchema,
235
+ RetellaiGetRetellLlm_MCPToolSchema
236
+ ])).describe("A list of tools the model may call (to get external knowledge, call API, etc). Available tools for the LLM to invoke regardless of state.").nullable().optional(),
237
+ start_speaker: z.enum(["user", "agent"]).describe("The speaker who starts the conversation. Must be either 'user' or 'agent'."),
238
+ general_prompt: z.string().describe("General prompt appended to system prompt no matter what state the agent is in. System prompt (with state) = general prompt + state prompt. System prompt (no state) = general prompt.").nullable().optional(),
239
+ starting_state: z.string().describe("Name of the starting state. Required if states is not empty.").nullable().optional(),
240
+ model_temperature: z.number().describe("Controls the randomness of the response. Value ranging from [0,1]").nullable().optional(),
241
+ knowledge_base_ids: z.array(z.string()).describe("Knowledge base identifiers").nullable().optional(),
242
+ model_high_priority: z.boolean().describe("High priority pool with more dedicated resource").nullable().optional(),
243
+ tool_call_strict_mode: z.boolean().describe("Strict mode for tool calls").nullable().optional(),
244
+ default_dynamic_variables: z.object({}).describe("Default dynamic variables represented as key-value pairs of strings. These are injected into your Retell LLM prompt and tool description when specific values are not provided in a request.").nullable().optional(),
245
+ begin_after_user_silence_ms: z.number().int().describe("If set, the AI will begin the conversation after waiting for the user for the duration (in milliseconds) specified by this attribute. This only applies if the agent is configured to wait for the user to speak first. If not set, the agent will wait indefinitely for the user to speak.").nullable().optional(),
246
+ last_modification_timestamp: z.number().int().describe("Last modification timestamp (milliseconds since epoch)")
247
+ }).describe("Response schema for `RetellaiGetRetellLlm`")
248
+ });
249
+ //#endregion
250
+ export { retellaiGetRetellLlm };
251
+
252
+ //# sourceMappingURL=get-retell-llm.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-retell-llm.mjs","names":[],"sources":["../../src/actions/get-retell-llm.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiGetRetellLlmInput: z.ZodTypeAny = z.object({\n llm_id: z.string().describe(\"Unique identifier of the Retell LLM Response Engine to be retrieved\"),\n version: z.number().int().describe(\"Optional version of the API to use for this request. Defaults to latest version if not specified\").optional(),\n}).describe(\"Request schema for `RetellaiGetRetellLlm`\");\nconst RetellaiGetRetellLlm_MCPServerSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"MCP server URL\"),\n name: z.string().describe(\"MCP server name\"),\n headers: z.record(z.string(), z.unknown()).describe(\"HTTP headers for MCP requests\").nullable().optional(),\n timeout_ms: z.number().int().describe(\"Timeout for MCP requests in milliseconds\").nullable().optional(),\n query_params: z.record(z.string(), z.unknown()).describe(\"Query parameters for MCP requests\").nullable().optional(),\n}).describe(\"Model Context Protocol server configuration\");\nconst RetellaiGetRetellLlm_StateEdgeSchema: z.ZodTypeAny = z.object({\n parameters: z.record(z.string(), z.unknown()).describe(\"Describes what parameters you want to extract out when the transition changes. The parameters extracted here can be referenced in prompts & function descriptions of later states via dynamic variables.\").nullable().optional(),\n description: z.string().describe(\"Describes what's the transition and at what time / criteria should this transition happen.\"),\n destination_state_name: z.string().describe(\"The destination state name when going through transition of state via this edge. State transition internally is implemented as a tool call of LLM, and a tool call with name 'transition_to_{destination_state_name}' will get created.\"),\n}).describe(\"Edge definition for state transitions\");\nconst RetellaiGetRetellLlm_EndCallToolSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Unique tool identifier\"),\n type: z.string().describe(\"Tool type identifier\"),\n description: z.string().describe(\"Explains tool purpose and usage context\").nullable().optional(),\n speak_during_execution: z.boolean().describe(\"Enable speech during termination\").nullable().optional(),\n execution_message_description: z.string().describe(\"What the agent says when ending\").nullable().optional(),\n}).describe(\"Tool for ending the call\");\nconst RetellaiGetRetellLlm_ColdTransferOptionSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Transfer option type discriminator\"),\n show_transferee_as_caller: z.boolean().describe(\"Show transferee number as caller ID\").nullable().optional(),\n}).describe(\"Cold transfer: direct transfer without briefing\");\nconst RetellaiGetRetellLlm_WarmTransferOptionSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Transfer option type discriminator\"),\n wait_for_human: z.boolean().describe(\"Only complete transfer if human detected\").nullable().optional(),\n whisper_message: z.string().describe(\"Message spoken only to transfer target (supports dynamic variables)\").nullable().optional(),\n on_hold_music_url: z.string().describe(\"URL of music to play while caller is on hold\").nullable().optional(),\n three_way_message: z.string().describe(\"Message heard by both caller and target during handoff (supports dynamic variables)\").nullable().optional(),\n}).describe(\"Warm transfer: AI briefs the next agent before transferring\");\nconst RetellaiGetRetellLlm_AgenticWarmTransferOptionSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Transfer option type discriminator\"),\n prompt: z.string().describe(\"Prompt to guide AI in evaluating transfer decision (supports dynamic variables)\").nullable().optional(),\n wait_for_human: z.boolean().describe(\"Only complete transfer if human detected\").nullable().optional(),\n whisper_message: z.string().describe(\"Message spoken only to transfer target (supports dynamic variables)\").nullable().optional(),\n on_hold_music_url: z.string().describe(\"URL of music to play while caller is on hold\").nullable().optional(),\n three_way_message: z.string().describe(\"Message heard by both caller and target during handoff (supports dynamic variables)\").nullable().optional(),\n}).describe(\"Agentic warm transfer: AI evaluates whether to transfer\");\nconst RetellaiGetRetellLlm_TransferDestinationPredefinedSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Destination type discriminator\"),\n number: z.string().describe(\"Transfer number in E.164 format or dynamic variable\"),\n extension: z.string().describe(\"Optional DTMF extension digits\").nullable().optional(),\n}).describe(\"Predefined transfer destination with specific number\");\nconst RetellaiGetRetellLlm_TransferDestinationInferredSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Destination type discriminator\"),\n prompt: z.string().describe(\"Prompt to guide LLM in determining transfer number\"),\n}).describe(\"Inferred transfer destination determined by LLM\");\nconst RetellaiGetRetellLlm_TransferCallToolSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Unique tool identifier\"),\n type: z.string().describe(\"Tool type identifier\"),\n description: z.string().describe(\"Explains tool purpose\").nullable().optional(),\n transfer_option: z.union([RetellaiGetRetellLlm_ColdTransferOptionSchema, RetellaiGetRetellLlm_WarmTransferOptionSchema, RetellaiGetRetellLlm_AgenticWarmTransferOptionSchema]),\n custom_sip_headers: z.object({}).describe(\"Additional SIP protocol headers (key-value string pairs)\").nullable().optional(),\n transfer_destination: z.union([RetellaiGetRetellLlm_TransferDestinationPredefinedSchema, RetellaiGetRetellLlm_TransferDestinationInferredSchema]),\n ignore_e164_validation: z.boolean().describe(\"Skip phone number format checks\").nullable().optional(),\n speak_during_execution: z.boolean().describe(\"Enable speech notification\").nullable().optional(),\n execution_message_description: z.string().describe(\"Message spoken during transfer\").nullable().optional(),\n}).describe(\"Tool for transferring the call\");\nconst RetellaiGetRetellLlm_CheckAvailabilityCalToolSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Unique tool identifier\"),\n type: z.string().describe(\"Tool type identifier\"),\n timezone: z.string().describe(\"IANA timezone database reference\").nullable().optional(),\n cal_api_key: z.string().describe(\"Cal.com authentication credential\"),\n description: z.string().describe(\"Explains tool purpose\").nullable().optional(),\n event_type_id: z.number().int().describe(\"Calendar event identifier\"),\n}).describe(\"Tool for checking availability via Cal.com\");\nconst RetellaiGetRetellLlm_BookAppointmentCalToolSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Unique tool identifier\"),\n type: z.string().describe(\"Tool type identifier\"),\n timezone: z.string().describe(\"IANA timezone database reference\").nullable().optional(),\n cal_api_key: z.string().describe(\"Cal.com authentication credential\"),\n description: z.string().describe(\"Explains tool purpose\").nullable().optional(),\n event_type_id: z.number().int().describe(\"Calendar event identifier\"),\n}).describe(\"Tool for booking appointments via Cal.com\");\nconst RetellaiGetRetellLlm_AgentSwapToolSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Unique tool identifier\"),\n type: z.string().describe(\"Tool type identifier\"),\n agent_id: z.string().describe(\"Target agent identifier\"),\n description: z.string().describe(\"Explains tool purpose\").nullable().optional(),\n agent_version: z.string().describe(\"Target agent version (uses latest if unspecified)\").nullable().optional(),\n webhook_setting: z.record(z.string(), z.unknown()).describe(\"Event notification configuration\").nullable().optional(),\n speak_during_execution: z.boolean().describe(\"Enable speech notification\").nullable().optional(),\n post_call_analysis_setting: z.unknown().describe(\"Analysis scope configuration\"),\n execution_message_description: z.string().describe(\"Message spoken during swap\").nullable().optional(),\n}).describe(\"Tool for swapping to a different agent\");\nconst RetellaiGetRetellLlm_PressDigitToolSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Unique tool identifier\"),\n type: z.string().describe(\"Tool type identifier\"),\n delay_ms: z.number().int().describe(\"Milliseconds before sending (default: 1000ms, range: 0-5000ms)\").nullable().optional(),\n description: z.string().describe(\"Explains tool purpose\").nullable().optional(),\n}).describe(\"Tool for pressing phone digits\");\nconst RetellaiGetRetellLlm_SmsContentPredefinedSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Content type discriminator\"),\n content: z.string().describe(\"Static SMS text (supports dynamic variables like {{variable_name}})\"),\n}).describe(\"Predefined SMS content with static text\");\nconst RetellaiGetRetellLlm_SmsContentInferredSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Content type discriminator\"),\n prompt: z.string().describe(\"Prompt to guide LLM in generating SMS content (supports dynamic variables)\"),\n}).describe(\"Inferred SMS content generated by LLM\");\nconst RetellaiGetRetellLlm_SendSMSToolSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Unique tool identifier\"),\n type: z.string().describe(\"Tool type identifier\"),\n description: z.string().describe(\"Explains tool purpose\").nullable().optional(),\n sms_content: z.union([RetellaiGetRetellLlm_SmsContentPredefinedSchema, RetellaiGetRetellLlm_SmsContentInferredSchema]),\n}).describe(\"Tool for sending SMS messages\");\nconst RetellaiGetRetellLlm_CustomToolSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"API endpoint\"),\n name: z.string().describe(\"Unique tool identifier\"),\n type: z.string().describe(\"Tool type identifier\"),\n method: z.enum([\"GET\", \"POST\", \"PUT\", \"PATCH\", \"DELETE\"]).describe(\"HTTP verb (default: POST)\").nullable().optional(),\n headers: z.record(z.string(), z.unknown()).describe(\"Request header key-value pairs\").nullable().optional(),\n parameters: z.record(z.string(), z.unknown()).describe(\"JSON Schema defining input arguments\").nullable().optional(),\n timeout_ms: z.number().int().describe(\"Maximum execution duration (1000-600000ms; default: 120000ms)\").nullable().optional(),\n description: z.string().describe(\"Explains purpose and invocation criteria\"),\n args_at_root: z.boolean().describe(\"Pass parameters as root-level JSON\").nullable().optional(),\n query_params: z.record(z.string(), z.unknown()).describe(\"URL query parameters\").nullable().optional(),\n response_variables: z.record(z.string(), z.unknown()).describe(\"JSON path mappings for response extraction\").nullable().optional(),\n speak_after_execution: z.boolean().describe(\"Enable LLM callback after execution\"),\n speak_during_execution: z.boolean().describe(\"Enable interim speech\").nullable().optional(),\n execution_message_description: z.string().describe(\"Interim message guidance\").nullable().optional(),\n}).describe(\"Tool for custom API calls\");\nconst RetellaiGetRetellLlm_ExtractDynamicVariableToolSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Unique tool identifier\"),\n type: z.string().describe(\"Tool type identifier\"),\n variables: z.array(z.unknown()).describe(\"Data extraction definitions\"),\n description: z.string().describe(\"Explains tool purpose\"),\n}).describe(\"Tool for extracting dynamic variables\");\nconst RetellaiGetRetellLlm_BridgeTransferToolSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Unique tool identifier\"),\n type: z.string().describe(\"Tool type identifier\"),\n description: z.string().describe(\"Explains tool purpose\").nullable().optional(),\n}).describe(\"Tool for bridge transfers\");\nconst RetellaiGetRetellLlm_CancelTransferToolSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Unique tool identifier\"),\n type: z.string().describe(\"Tool type identifier\"),\n description: z.string().describe(\"Explains tool purpose\").nullable().optional(),\n}).describe(\"Tool for canceling transfers\");\nconst RetellaiGetRetellLlm_MCPToolSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Tool identifier\"),\n type: z.string().describe(\"Tool type identifier\"),\n mcp_id: z.string().describe(\"MCP server identifier\").nullable().optional(),\n description: z.string().describe(\"Tool purpose explanation\"),\n input_schema: z.record(z.string(), z.unknown()).describe(\"Parameter schema definition\").nullable().optional(),\n response_variables: z.record(z.string(), z.unknown()).describe(\"Output data mappings\").nullable().optional(),\n speak_after_execution: z.boolean().describe(\"Enable callback speech\").nullable().optional(),\n speak_during_execution: z.boolean().describe(\"Enable interim speech\").nullable().optional(),\n execution_message_description: z.string().describe(\"Interim message guidance\").nullable().optional(),\n}).describe(\"Tool for MCP (Model Context Protocol) calls\");\nconst RetellaiGetRetellLlm_StateSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"State identifier\"),\n edges: z.array(RetellaiGetRetellLlm_StateEdgeSchema).describe(\"State transition definitions\").nullable().optional(),\n tools: z.array(z.union([RetellaiGetRetellLlm_EndCallToolSchema, RetellaiGetRetellLlm_TransferCallToolSchema, RetellaiGetRetellLlm_CheckAvailabilityCalToolSchema, RetellaiGetRetellLlm_BookAppointmentCalToolSchema, RetellaiGetRetellLlm_AgentSwapToolSchema, RetellaiGetRetellLlm_PressDigitToolSchema, RetellaiGetRetellLlm_SendSMSToolSchema, RetellaiGetRetellLlm_CustomToolSchema, RetellaiGetRetellLlm_ExtractDynamicVariableToolSchema, RetellaiGetRetellLlm_BridgeTransferToolSchema, RetellaiGetRetellLlm_CancelTransferToolSchema, RetellaiGetRetellLlm_MCPToolSchema])).describe(\"Tools available in this specific state\").nullable().optional(),\n state_prompt: z.string().describe(\"Prompt specific to this state\").nullable().optional(),\n}).describe(\"State definition for conversation flow\");\nconst RetellaiGetRetellLlm_KnowledgeBaseConfigurationSchema: z.ZodTypeAny = z.object({\n top_k: z.number().int().describe(\"Number of top results to retrieve (1-10)\").nullable().optional(),\n filter_score: z.number().describe(\"Score threshold for filtering results (0-1)\").nullable().optional(),\n}).describe(\"Knowledge base configuration for RAG retrieval\");\nexport const RetellaiGetRetellLlmOutput: z.ZodTypeAny = z.object({\n mcps: z.array(RetellaiGetRetellLlm_MCPServerSchema).describe(\"Model Context Protocol servers\").nullable().optional(),\n model: z.enum([\"gpt-4.1\", \"gpt-4.1-mini\", \"gpt-4.1-nano\", \"gpt-5\", \"gpt-5.1\", \"gpt-5.2\", \"gpt-5-mini\", \"gpt-5-nano\", \"claude-4.5-sonnet\", \"claude-4.5-haiku\", \"gemini-2.5-flash\", \"gemini-2.5-flash-lite\", \"gemini-3.0-flash\"]).describe(\"Underlying text LLM (defaults to gpt-4.1)\").nullable().optional(),\n llm_id: z.string().describe(\"Unique id of Retell LLM Response Engine\"),\n states: z.array(RetellaiGetRetellLlm_StateSchema).describe(\"State definitions for conversation flow. States help reduce prompt length and tool choices when calls can be broken into distinct stages.\").nullable().optional(),\n version: z.number().int().describe(\"Engine version number\").nullable().optional(),\n kb_config: RetellaiGetRetellLlm_KnowledgeBaseConfigurationSchema.nullable().optional(),\n s2s_model: z.enum([\"gpt-4o-realtime\", \"gpt-4o-mini-realtime\", \"gpt-realtime\", \"gpt-realtime-mini\"]).describe(\"Speech-to-speech model option\").nullable().optional(),\n is_published: z.boolean().describe(\"Publication status of the engine\").nullable().optional(),\n begin_message: z.string().describe(\"First utterance said by the agent in the call. If not set, LLM will dynamically generate a message. If set to empty string, agent will wait for user to speak first.\").nullable().optional(),\n general_tools: z.array(z.union([RetellaiGetRetellLlm_EndCallToolSchema, RetellaiGetRetellLlm_TransferCallToolSchema, RetellaiGetRetellLlm_CheckAvailabilityCalToolSchema, RetellaiGetRetellLlm_BookAppointmentCalToolSchema, RetellaiGetRetellLlm_AgentSwapToolSchema, RetellaiGetRetellLlm_PressDigitToolSchema, RetellaiGetRetellLlm_SendSMSToolSchema, RetellaiGetRetellLlm_CustomToolSchema, RetellaiGetRetellLlm_ExtractDynamicVariableToolSchema, RetellaiGetRetellLlm_BridgeTransferToolSchema, RetellaiGetRetellLlm_CancelTransferToolSchema, RetellaiGetRetellLlm_MCPToolSchema])).describe(\"A list of tools the model may call (to get external knowledge, call API, etc). Available tools for the LLM to invoke regardless of state.\").nullable().optional(),\n start_speaker: z.enum([\"user\", \"agent\"]).describe(\"The speaker who starts the conversation. Must be either 'user' or 'agent'.\"),\n general_prompt: z.string().describe(\"General prompt appended to system prompt no matter what state the agent is in. System prompt (with state) = general prompt + state prompt. System prompt (no state) = general prompt.\").nullable().optional(),\n starting_state: z.string().describe(\"Name of the starting state. Required if states is not empty.\").nullable().optional(),\n model_temperature: z.number().describe(\"Controls the randomness of the response. Value ranging from [0,1]\").nullable().optional(),\n knowledge_base_ids: z.array(z.string()).describe(\"Knowledge base identifiers\").nullable().optional(),\n model_high_priority: z.boolean().describe(\"High priority pool with more dedicated resource\").nullable().optional(),\n tool_call_strict_mode: z.boolean().describe(\"Strict mode for tool calls\").nullable().optional(),\n default_dynamic_variables: z.object({}).describe(\"Default dynamic variables represented as key-value pairs of strings. These are injected into your Retell LLM prompt and tool description when specific values are not provided in a request.\").nullable().optional(),\n begin_after_user_silence_ms: z.number().int().describe(\"If set, the AI will begin the conversation after waiting for the user for the duration (in milliseconds) specified by this attribute. This only applies if the agent is configured to wait for the user to speak first. If not set, the agent will wait indefinitely for the user to speak.\").nullable().optional(),\n last_modification_timestamp: z.number().int().describe(\"Last modification timestamp (milliseconds since epoch)\"),\n}).describe(\"Response schema for `RetellaiGetRetellLlm`\");\n\nexport const retellaiGetRetellLlm = action(\"RETELLAI_GET_RETELL_LLM\", {\n slug: \"retellai-get-retell-llm\",\n name: \"Retrieve details of a specific Retell LLM\",\n description: \"Retrieve details of a specific Retell LLM Response Engine by its unique identifier. Use when you need to access LLM configuration including model settings, prompts, tools, states, and knowledge base configurations.\",\n input: RetellaiGetRetellLlmInput,\n output: RetellaiGetRetellLlmOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO;CAC9D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACjG,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;AAClJ,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,uCAAqD,EAAE,OAAO;CAClE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;CACzC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CAC3C,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,cAAc,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,6CA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AS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChI,oBAAoB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,uBAAuB,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,2BAA2B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrQ,6BAA6B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6RAA6R,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1W,6BAA6B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD;CACjH,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
@@ -0,0 +1,50 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/import-phone-number.ts
4
+ const RetellaiImportPhoneNumberInput = zod.z.object({
5
+ nickname: zod.z.string().describe("User-defined reference name for the phone number (optional).").optional(),
6
+ transport: zod.z.string().describe("Transport protocol for SIP communication. Options: 'TLS', 'TCP', or 'UDP'. Defaults to 'TCP' if not specified.").optional(),
7
+ phone_number: zod.z.string().describe("The phone number to import in E.164 format (+country code, then number with no spaces or special characters). Example: '+14157779999'"),
8
+ termination_uri: zod.z.string().describe("The termination URI to uniquely identify your elastic SIP trunk. This is used for outbound calls. Example: 'sip.example.com'"),
9
+ inbound_agent_id: zod.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(),
10
+ outbound_agent_id: zod.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(),
11
+ inbound_webhook_url: zod.z.string().describe("Webhook URL for inbound call events and context (optional).").optional(),
12
+ inbound_agent_version: zod.z.number().int().describe("Version number of the inbound agent. Defaults to the latest version if not specified.").optional(),
13
+ outbound_agent_version: zod.z.number().int().describe("Version number of the outbound agent. Defaults to the latest version if not specified.").optional(),
14
+ sip_trunk_auth_password: zod.z.string().describe("Password for SIP trunk authentication (optional).").optional(),
15
+ sip_trunk_auth_username: zod.z.string().describe("Username for SIP trunk authentication (optional).").optional(),
16
+ inbound_allowed_countries: zod.z.array(zod.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(),
17
+ outbound_allowed_countries: zod.z.array(zod.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()
18
+ }).describe("Request schema for `ImportPhoneNumber`");
19
+ const RetellaiImportPhoneNumber_SipOutboundTrunkConfigSchema = zod.z.object({
20
+ transport: zod.z.string().describe("Transport protocol (TLS, TCP, or UDP)").nullable().optional(),
21
+ auth_username: zod.z.string().describe("Authentication username for the SIP trunk").nullable().optional(),
22
+ termination_uri: zod.z.string().describe("The SIP termination URI").nullable().optional()
23
+ }).describe("SIP outbound trunk configuration schema");
24
+ const RetellaiImportPhoneNumberOutput = zod.z.object({
25
+ nickname: zod.z.string().describe("User-defined reference name for the number").nullable().optional(),
26
+ area_code: zod.z.number().int().describe("3-digit US area code").nullable().optional(),
27
+ phone_number: zod.z.string().describe("E.164 format of the imported phone number").nullable().optional(),
28
+ inbound_agent_id: zod.z.string().describe("Agent ID bound for inbound calls").nullable().optional(),
29
+ outbound_agent_id: zod.z.string().describe("Agent ID bound for outbound calls").nullable().optional(),
30
+ phone_number_type: zod.z.string().describe("Type of phone number: 'retell-twilio', 'retell-telnyx', or 'custom'").nullable().optional(),
31
+ inbound_webhook_url: zod.z.string().describe("Webhook URL for inbound call events").nullable().optional(),
32
+ phone_number_pretty: zod.z.string().describe("Formatted phone number for display (e.g., '+1 (415) 777-4444')").nullable().optional(),
33
+ inbound_agent_version: zod.z.number().int().describe("Version of inbound agent").nullable().optional(),
34
+ outbound_agent_version: zod.z.number().int().describe("Version of outbound agent").nullable().optional(),
35
+ inbound_allowed_countries: zod.z.array(zod.z.string()).describe("ISO 3166-1 alpha-2 country codes allowing inbound calls").nullable().optional(),
36
+ sip_outbound_trunk_config: RetellaiImportPhoneNumber_SipOutboundTrunkConfigSchema.nullable().optional(),
37
+ outbound_allowed_countries: zod.z.array(zod.z.string()).describe("ISO 3166-1 alpha-2 country codes allowing outbound calls").nullable().optional(),
38
+ last_modification_timestamp: zod.z.number().int().describe("Last modification timestamp in milliseconds since epoch").nullable().optional()
39
+ }).describe("Response schema for `ImportPhoneNumber`");
40
+ const retellaiImportPhoneNumber = require_action.action("RETELLAI_IMPORT_PHONE_NUMBER", {
41
+ slug: "retellai-import-phone-number",
42
+ name: "Import phone number",
43
+ 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.",
44
+ input: RetellaiImportPhoneNumberInput,
45
+ output: RetellaiImportPhoneNumberOutput
46
+ });
47
+ //#endregion
48
+ exports.retellaiImportPhoneNumber = retellaiImportPhoneNumber;
49
+
50
+ //# sourceMappingURL=import-phone-number.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"import-phone-number.cjs","names":["z","action"],"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+CA,IAAAA,EAAE,OAAO;CACnE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACvG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CAC1J,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI;CACzK,iBAAiBA,IAAAA,EA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,SAAS,CAAC,CAAC,SAAS;CACtG,4BAA4BA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
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]>;
7
+ //#endregion
8
+ export { retellaiImportPhoneNumber };
9
+ //# sourceMappingURL=import-phone-number.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"import-phone-number.d.cts","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"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
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]>;
7
+ //#endregion
8
+ export { retellaiImportPhoneNumber };
9
+ //# sourceMappingURL=import-phone-number.d.mts.map
@@ -0,0 +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"}
@@ -0,0 +1,49 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/import-phone-number.ts
4
+ const RetellaiImportPhoneNumberInput = z.object({
5
+ nickname: z.string().describe("User-defined reference name for the phone number (optional).").optional(),
6
+ transport: z.string().describe("Transport protocol for SIP communication. Options: 'TLS', 'TCP', or 'UDP'. Defaults to 'TCP' if not specified.").optional(),
7
+ 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'"),
8
+ 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'"),
9
+ 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(),
10
+ 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(),
11
+ inbound_webhook_url: z.string().describe("Webhook URL for inbound call events and context (optional).").optional(),
12
+ inbound_agent_version: z.number().int().describe("Version number of the inbound agent. Defaults to the latest version if not specified.").optional(),
13
+ outbound_agent_version: z.number().int().describe("Version number of the outbound agent. Defaults to the latest version if not specified.").optional(),
14
+ sip_trunk_auth_password: z.string().describe("Password for SIP trunk authentication (optional).").optional(),
15
+ sip_trunk_auth_username: z.string().describe("Username for SIP trunk authentication (optional).").optional(),
16
+ 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(),
17
+ 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()
18
+ }).describe("Request schema for `ImportPhoneNumber`");
19
+ const RetellaiImportPhoneNumber_SipOutboundTrunkConfigSchema = z.object({
20
+ transport: z.string().describe("Transport protocol (TLS, TCP, or UDP)").nullable().optional(),
21
+ auth_username: z.string().describe("Authentication username for the SIP trunk").nullable().optional(),
22
+ termination_uri: z.string().describe("The SIP termination URI").nullable().optional()
23
+ }).describe("SIP outbound trunk configuration schema");
24
+ const retellaiImportPhoneNumber = action("RETELLAI_IMPORT_PHONE_NUMBER", {
25
+ slug: "retellai-import-phone-number",
26
+ name: "Import phone number",
27
+ 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.",
28
+ input: RetellaiImportPhoneNumberInput,
29
+ output: z.object({
30
+ nickname: z.string().describe("User-defined reference name for the number").nullable().optional(),
31
+ area_code: z.number().int().describe("3-digit US area code").nullable().optional(),
32
+ phone_number: z.string().describe("E.164 format of the imported phone number").nullable().optional(),
33
+ inbound_agent_id: z.string().describe("Agent ID bound for inbound calls").nullable().optional(),
34
+ outbound_agent_id: z.string().describe("Agent ID bound for outbound calls").nullable().optional(),
35
+ phone_number_type: z.string().describe("Type of phone number: 'retell-twilio', 'retell-telnyx', or 'custom'").nullable().optional(),
36
+ inbound_webhook_url: z.string().describe("Webhook URL for inbound call events").nullable().optional(),
37
+ phone_number_pretty: z.string().describe("Formatted phone number for display (e.g., '+1 (415) 777-4444')").nullable().optional(),
38
+ inbound_agent_version: z.number().int().describe("Version of inbound agent").nullable().optional(),
39
+ outbound_agent_version: z.number().int().describe("Version of outbound agent").nullable().optional(),
40
+ inbound_allowed_countries: z.array(z.string()).describe("ISO 3166-1 alpha-2 country codes allowing inbound calls").nullable().optional(),
41
+ sip_outbound_trunk_config: RetellaiImportPhoneNumber_SipOutboundTrunkConfigSchema.nullable().optional(),
42
+ outbound_allowed_countries: z.array(z.string()).describe("ISO 3166-1 alpha-2 country codes allowing outbound calls").nullable().optional(),
43
+ last_modification_timestamp: z.number().int().describe("Last modification timestamp in milliseconds since epoch").nullable().optional()
44
+ }).describe("Response schema for `ImportPhoneNumber`")
45
+ });
46
+ //#endregion
47
+ export { retellaiImportPhoneNumber };
48
+
49
+ //# sourceMappingURL=import-phone-number.mjs.map
@@ -0,0 +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,uFAAuF,CAAC,CAAC,SAAS;CACnJ,wBAAwB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACrJ,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC3G,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAA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