@keystrokehq/retellai 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (367) hide show
  1. package/dist/actions/add-community-voice.cjs +1 -1
  2. package/dist/actions/add-community-voice.cjs.map +1 -1
  3. package/dist/actions/add-community-voice.d.cts +1 -1
  4. package/dist/actions/add-community-voice.d.mts +1 -1
  5. package/dist/actions/add-community-voice.mjs +1 -1
  6. package/dist/actions/add-community-voice.mjs.map +1 -1
  7. package/dist/actions/add-knowledge-base-sources.cjs +6 -6
  8. package/dist/actions/add-knowledge-base-sources.cjs.map +1 -1
  9. package/dist/actions/add-knowledge-base-sources.d.cts +8 -6
  10. package/dist/actions/add-knowledge-base-sources.d.mts +8 -6
  11. package/dist/actions/add-knowledge-base-sources.mjs +6 -6
  12. package/dist/actions/add-knowledge-base-sources.mjs.map +1 -1
  13. package/dist/actions/buy-a-new-phone-number-bind-agents.cjs +2 -2
  14. package/dist/actions/buy-a-new-phone-number-bind-agents.cjs.map +1 -1
  15. package/dist/actions/buy-a-new-phone-number-bind-agents.d.cts +2 -2
  16. package/dist/actions/buy-a-new-phone-number-bind-agents.d.mts +2 -2
  17. package/dist/actions/buy-a-new-phone-number-bind-agents.mjs +2 -2
  18. package/dist/actions/buy-a-new-phone-number-bind-agents.mjs.map +1 -1
  19. package/dist/actions/create-a-new-outbound-phone-call.cjs +17 -17
  20. package/dist/actions/create-a-new-outbound-phone-call.cjs.map +1 -1
  21. package/dist/actions/create-a-new-outbound-phone-call.d.cts +32 -32
  22. package/dist/actions/create-a-new-outbound-phone-call.d.mts +32 -32
  23. package/dist/actions/create-a-new-outbound-phone-call.mjs +17 -17
  24. package/dist/actions/create-a-new-outbound-phone-call.mjs.map +1 -1
  25. package/dist/actions/create-a-new-web-call.cjs +5 -5
  26. package/dist/actions/create-a-new-web-call.cjs.map +1 -1
  27. package/dist/actions/create-a-new-web-call.d.cts +5 -5
  28. package/dist/actions/create-a-new-web-call.d.mts +5 -5
  29. package/dist/actions/create-a-new-web-call.mjs +5 -5
  30. package/dist/actions/create-a-new-web-call.mjs.map +1 -1
  31. package/dist/actions/create-agent.cjs +15 -15
  32. package/dist/actions/create-agent.cjs.map +1 -1
  33. package/dist/actions/create-agent.d.cts +20 -18
  34. package/dist/actions/create-agent.d.mts +20 -18
  35. package/dist/actions/create-agent.mjs +15 -15
  36. package/dist/actions/create-agent.mjs.map +1 -1
  37. package/dist/actions/create-batch-test.cjs +4 -4
  38. package/dist/actions/create-batch-test.cjs.map +1 -1
  39. package/dist/actions/create-batch-test.d.cts +6 -4
  40. package/dist/actions/create-batch-test.d.mts +6 -4
  41. package/dist/actions/create-batch-test.mjs +4 -4
  42. package/dist/actions/create-batch-test.mjs.map +1 -1
  43. package/dist/actions/create-chat-agent.cjs +11 -11
  44. package/dist/actions/create-chat-agent.cjs.map +1 -1
  45. package/dist/actions/create-chat-agent.d.cts +14 -11
  46. package/dist/actions/create-chat-agent.d.mts +14 -11
  47. package/dist/actions/create-chat-agent.mjs +11 -11
  48. package/dist/actions/create-chat-agent.mjs.map +1 -1
  49. package/dist/actions/create-chat-completion.cjs +1 -1
  50. package/dist/actions/create-chat-completion.cjs.map +1 -1
  51. package/dist/actions/create-chat-completion.d.cts +1 -1
  52. package/dist/actions/create-chat-completion.d.mts +1 -1
  53. package/dist/actions/create-chat-completion.mjs +1 -1
  54. package/dist/actions/create-chat-completion.mjs.map +1 -1
  55. package/dist/actions/create-chat.cjs +4 -4
  56. package/dist/actions/create-chat.cjs.map +1 -1
  57. package/dist/actions/create-chat.d.cts +4 -4
  58. package/dist/actions/create-chat.d.mts +4 -4
  59. package/dist/actions/create-chat.mjs +4 -4
  60. package/dist/actions/create-chat.mjs.map +1 -1
  61. package/dist/actions/create-conversation-flow-component.cjs +6 -6
  62. package/dist/actions/create-conversation-flow-component.cjs.map +1 -1
  63. package/dist/actions/create-conversation-flow-component.d.cts +6 -6
  64. package/dist/actions/create-conversation-flow-component.d.mts +6 -6
  65. package/dist/actions/create-conversation-flow-component.mjs +6 -6
  66. package/dist/actions/create-conversation-flow-component.mjs.map +1 -1
  67. package/dist/actions/create-conversation-flow.cjs +1 -1
  68. package/dist/actions/create-conversation-flow.cjs.map +1 -1
  69. package/dist/actions/create-conversation-flow.d.cts +1 -1
  70. package/dist/actions/create-conversation-flow.d.mts +1 -1
  71. package/dist/actions/create-conversation-flow.mjs +1 -1
  72. package/dist/actions/create-conversation-flow.mjs.map +1 -1
  73. package/dist/actions/create-knowledge-base.cjs +3 -3
  74. package/dist/actions/create-knowledge-base.cjs.map +1 -1
  75. package/dist/actions/create-knowledge-base.d.cts +5 -3
  76. package/dist/actions/create-knowledge-base.d.mts +5 -3
  77. package/dist/actions/create-knowledge-base.mjs +3 -3
  78. package/dist/actions/create-knowledge-base.mjs.map +1 -1
  79. package/dist/actions/create-retell-llm.cjs +20 -20
  80. package/dist/actions/create-retell-llm.cjs.map +1 -1
  81. package/dist/actions/create-retell-llm.d.cts +32 -27
  82. package/dist/actions/create-retell-llm.d.mts +32 -27
  83. package/dist/actions/create-retell-llm.mjs +20 -20
  84. package/dist/actions/create-retell-llm.mjs.map +1 -1
  85. package/dist/actions/create-test-case-definition.cjs +7 -7
  86. package/dist/actions/create-test-case-definition.cjs.map +1 -1
  87. package/dist/actions/create-test-case-definition.d.cts +10 -9
  88. package/dist/actions/create-test-case-definition.d.cts.map +1 -1
  89. package/dist/actions/create-test-case-definition.d.mts +10 -9
  90. package/dist/actions/create-test-case-definition.d.mts.map +1 -1
  91. package/dist/actions/create-test-case-definition.mjs +7 -7
  92. package/dist/actions/create-test-case-definition.mjs.map +1 -1
  93. package/dist/actions/delete-agent.cjs +2 -2
  94. package/dist/actions/delete-agent.cjs.map +1 -1
  95. package/dist/actions/delete-agent.d.cts +2 -2
  96. package/dist/actions/delete-agent.d.mts +2 -2
  97. package/dist/actions/delete-agent.mjs +2 -2
  98. package/dist/actions/delete-agent.mjs.map +1 -1
  99. package/dist/actions/delete-call.cjs +1 -1
  100. package/dist/actions/delete-call.cjs.map +1 -1
  101. package/dist/actions/delete-call.d.cts +1 -1
  102. package/dist/actions/delete-call.d.cts.map +1 -1
  103. package/dist/actions/delete-call.d.mts +1 -1
  104. package/dist/actions/delete-call.d.mts.map +1 -1
  105. package/dist/actions/delete-call.mjs +1 -1
  106. package/dist/actions/delete-call.mjs.map +1 -1
  107. package/dist/actions/delete-chat-agent.cjs +1 -1
  108. package/dist/actions/delete-chat-agent.cjs.map +1 -1
  109. package/dist/actions/delete-chat-agent.d.cts +1 -1
  110. package/dist/actions/delete-chat-agent.d.mts +1 -1
  111. package/dist/actions/delete-chat-agent.mjs +1 -1
  112. package/dist/actions/delete-chat-agent.mjs.map +1 -1
  113. package/dist/actions/delete-conversation-flow-component.cjs +1 -1
  114. package/dist/actions/delete-conversation-flow-component.cjs.map +1 -1
  115. package/dist/actions/delete-conversation-flow-component.d.cts +1 -1
  116. package/dist/actions/delete-conversation-flow-component.d.cts.map +1 -1
  117. package/dist/actions/delete-conversation-flow-component.d.mts +1 -1
  118. package/dist/actions/delete-conversation-flow-component.d.mts.map +1 -1
  119. package/dist/actions/delete-conversation-flow-component.mjs +1 -1
  120. package/dist/actions/delete-conversation-flow-component.mjs.map +1 -1
  121. package/dist/actions/delete-conversation-flow.cjs +1 -1
  122. package/dist/actions/delete-conversation-flow.cjs.map +1 -1
  123. package/dist/actions/delete-conversation-flow.d.cts +1 -1
  124. package/dist/actions/delete-conversation-flow.d.cts.map +1 -1
  125. package/dist/actions/delete-conversation-flow.d.mts +1 -1
  126. package/dist/actions/delete-conversation-flow.d.mts.map +1 -1
  127. package/dist/actions/delete-conversation-flow.mjs +1 -1
  128. package/dist/actions/delete-conversation-flow.mjs.map +1 -1
  129. package/dist/actions/delete-knowledge-base-source.cjs +1 -1
  130. package/dist/actions/delete-knowledge-base-source.cjs.map +1 -1
  131. package/dist/actions/delete-knowledge-base-source.d.cts +1 -1
  132. package/dist/actions/delete-knowledge-base-source.d.cts.map +1 -1
  133. package/dist/actions/delete-knowledge-base-source.d.mts +1 -1
  134. package/dist/actions/delete-knowledge-base-source.d.mts.map +1 -1
  135. package/dist/actions/delete-knowledge-base-source.mjs +1 -1
  136. package/dist/actions/delete-knowledge-base-source.mjs.map +1 -1
  137. package/dist/actions/delete-knowledge-base.cjs +1 -1
  138. package/dist/actions/delete-knowledge-base.cjs.map +1 -1
  139. package/dist/actions/delete-knowledge-base.d.cts +1 -1
  140. package/dist/actions/delete-knowledge-base.d.cts.map +1 -1
  141. package/dist/actions/delete-knowledge-base.d.mts +1 -1
  142. package/dist/actions/delete-knowledge-base.d.mts.map +1 -1
  143. package/dist/actions/delete-knowledge-base.mjs +1 -1
  144. package/dist/actions/delete-knowledge-base.mjs.map +1 -1
  145. package/dist/actions/delete-phone-number.cjs +1 -1
  146. package/dist/actions/delete-phone-number.cjs.map +1 -1
  147. package/dist/actions/delete-phone-number.d.cts +1 -1
  148. package/dist/actions/delete-phone-number.d.mts +1 -1
  149. package/dist/actions/delete-phone-number.mjs +1 -1
  150. package/dist/actions/delete-phone-number.mjs.map +1 -1
  151. package/dist/actions/delete-retell-llm.cjs +1 -1
  152. package/dist/actions/delete-retell-llm.cjs.map +1 -1
  153. package/dist/actions/delete-retell-llm.d.cts +1 -1
  154. package/dist/actions/delete-retell-llm.d.cts.map +1 -1
  155. package/dist/actions/delete-retell-llm.d.mts +1 -1
  156. package/dist/actions/delete-retell-llm.d.mts.map +1 -1
  157. package/dist/actions/delete-retell-llm.mjs +1 -1
  158. package/dist/actions/delete-retell-llm.mjs.map +1 -1
  159. package/dist/actions/delete-test-case-definition.cjs +1 -1
  160. package/dist/actions/delete-test-case-definition.cjs.map +1 -1
  161. package/dist/actions/delete-test-case-definition.d.cts +1 -1
  162. package/dist/actions/delete-test-case-definition.d.cts.map +1 -1
  163. package/dist/actions/delete-test-case-definition.d.mts +1 -1
  164. package/dist/actions/delete-test-case-definition.d.mts.map +1 -1
  165. package/dist/actions/delete-test-case-definition.mjs +1 -1
  166. package/dist/actions/delete-test-case-definition.mjs.map +1 -1
  167. package/dist/actions/end-chat.cjs +1 -1
  168. package/dist/actions/end-chat.cjs.map +1 -1
  169. package/dist/actions/end-chat.d.cts +1 -1
  170. package/dist/actions/end-chat.d.mts +1 -1
  171. package/dist/actions/end-chat.mjs +1 -1
  172. package/dist/actions/end-chat.mjs.map +1 -1
  173. package/dist/actions/get-agent.cjs +18 -18
  174. package/dist/actions/get-agent.cjs.map +1 -1
  175. package/dist/actions/get-agent.d.cts +18 -18
  176. package/dist/actions/get-agent.d.mts +18 -18
  177. package/dist/actions/get-agent.mjs +18 -18
  178. package/dist/actions/get-agent.mjs.map +1 -1
  179. package/dist/actions/get-batch-test.cjs +4 -4
  180. package/dist/actions/get-batch-test.cjs.map +1 -1
  181. package/dist/actions/get-batch-test.d.cts +4 -4
  182. package/dist/actions/get-batch-test.d.mts +4 -4
  183. package/dist/actions/get-batch-test.mjs +4 -4
  184. package/dist/actions/get-batch-test.mjs.map +1 -1
  185. package/dist/actions/get-chat-agent-versions.cjs +2 -2
  186. package/dist/actions/get-chat-agent-versions.cjs.map +1 -1
  187. package/dist/actions/get-chat-agent-versions.d.cts +2 -2
  188. package/dist/actions/get-chat-agent-versions.d.mts +2 -2
  189. package/dist/actions/get-chat-agent-versions.mjs +2 -2
  190. package/dist/actions/get-chat-agent-versions.mjs.map +1 -1
  191. package/dist/actions/get-chat-agent.cjs +9 -9
  192. package/dist/actions/get-chat-agent.cjs.map +1 -1
  193. package/dist/actions/get-chat-agent.d.cts +9 -9
  194. package/dist/actions/get-chat-agent.d.mts +9 -9
  195. package/dist/actions/get-chat-agent.mjs +9 -9
  196. package/dist/actions/get-chat-agent.mjs.map +1 -1
  197. package/dist/actions/get-chat.cjs +4 -4
  198. package/dist/actions/get-chat.cjs.map +1 -1
  199. package/dist/actions/get-chat.d.cts +4 -4
  200. package/dist/actions/get-chat.d.mts +4 -4
  201. package/dist/actions/get-chat.mjs +4 -4
  202. package/dist/actions/get-chat.mjs.map +1 -1
  203. package/dist/actions/get-concurrency.cjs +1 -1
  204. package/dist/actions/get-concurrency.cjs.map +1 -1
  205. package/dist/actions/get-concurrency.d.cts +1 -1
  206. package/dist/actions/get-concurrency.d.mts +1 -1
  207. package/dist/actions/get-concurrency.mjs +1 -1
  208. package/dist/actions/get-concurrency.mjs.map +1 -1
  209. package/dist/actions/get-conversation-flow-component.cjs +8 -8
  210. package/dist/actions/get-conversation-flow-component.cjs.map +1 -1
  211. package/dist/actions/get-conversation-flow-component.d.cts +9 -9
  212. package/dist/actions/get-conversation-flow-component.d.mts +9 -9
  213. package/dist/actions/get-conversation-flow-component.mjs +8 -8
  214. package/dist/actions/get-conversation-flow-component.mjs.map +1 -1
  215. package/dist/actions/get-conversation-flow.cjs +9 -9
  216. package/dist/actions/get-conversation-flow.cjs.map +1 -1
  217. package/dist/actions/get-conversation-flow.d.cts +12 -12
  218. package/dist/actions/get-conversation-flow.d.mts +12 -12
  219. package/dist/actions/get-conversation-flow.mjs +9 -9
  220. package/dist/actions/get-conversation-flow.mjs.map +1 -1
  221. package/dist/actions/get-knowledge-base.cjs +4 -4
  222. package/dist/actions/get-knowledge-base.cjs.map +1 -1
  223. package/dist/actions/get-knowledge-base.d.cts +4 -4
  224. package/dist/actions/get-knowledge-base.d.mts +4 -4
  225. package/dist/actions/get-knowledge-base.mjs +4 -4
  226. package/dist/actions/get-knowledge-base.mjs.map +1 -1
  227. package/dist/actions/get-retell-llm.cjs +26 -26
  228. package/dist/actions/get-retell-llm.cjs.map +1 -1
  229. package/dist/actions/get-retell-llm.d.cts +48 -48
  230. package/dist/actions/get-retell-llm.d.mts +48 -48
  231. package/dist/actions/get-retell-llm.mjs +26 -26
  232. package/dist/actions/get-retell-llm.mjs.map +1 -1
  233. package/dist/actions/import-phone-number.cjs +2 -2
  234. package/dist/actions/import-phone-number.cjs.map +1 -1
  235. package/dist/actions/import-phone-number.d.cts +2 -2
  236. package/dist/actions/import-phone-number.d.mts +2 -2
  237. package/dist/actions/import-phone-number.mjs +2 -2
  238. package/dist/actions/import-phone-number.mjs.map +1 -1
  239. package/dist/actions/list-batch-tests.cjs +5 -5
  240. package/dist/actions/list-batch-tests.cjs.map +1 -1
  241. package/dist/actions/list-batch-tests.d.cts +5 -5
  242. package/dist/actions/list-batch-tests.d.mts +5 -5
  243. package/dist/actions/list-batch-tests.mjs +5 -5
  244. package/dist/actions/list-batch-tests.mjs.map +1 -1
  245. package/dist/actions/list-conversation-flow-components.cjs +2 -2
  246. package/dist/actions/list-conversation-flow-components.cjs.map +1 -1
  247. package/dist/actions/list-conversation-flow-components.d.cts +2 -2
  248. package/dist/actions/list-conversation-flow-components.d.mts +2 -2
  249. package/dist/actions/list-conversation-flow-components.mjs +2 -2
  250. package/dist/actions/list-conversation-flow-components.mjs.map +1 -1
  251. package/dist/actions/list-conversation-flows.cjs +2 -2
  252. package/dist/actions/list-conversation-flows.cjs.map +1 -1
  253. package/dist/actions/list-conversation-flows.d.cts +2 -2
  254. package/dist/actions/list-conversation-flows.d.mts +2 -2
  255. package/dist/actions/list-conversation-flows.mjs +2 -2
  256. package/dist/actions/list-conversation-flows.mjs.map +1 -1
  257. package/dist/actions/list-retell-llms.cjs +7 -7
  258. package/dist/actions/list-retell-llms.cjs.map +1 -1
  259. package/dist/actions/list-retell-llms.d.cts +7 -7
  260. package/dist/actions/list-retell-llms.d.mts +7 -7
  261. package/dist/actions/list-retell-llms.mjs +7 -7
  262. package/dist/actions/list-retell-llms.mjs.map +1 -1
  263. package/dist/actions/list-test-case-definitions.cjs +6 -6
  264. package/dist/actions/list-test-case-definitions.cjs.map +1 -1
  265. package/dist/actions/list-test-case-definitions.d.cts +6 -6
  266. package/dist/actions/list-test-case-definitions.d.mts +6 -6
  267. package/dist/actions/list-test-case-definitions.mjs +6 -6
  268. package/dist/actions/list-test-case-definitions.mjs.map +1 -1
  269. package/dist/actions/publish-agent.cjs +1 -1
  270. package/dist/actions/publish-agent.cjs.map +1 -1
  271. package/dist/actions/publish-agent.d.cts +1 -1
  272. package/dist/actions/publish-agent.d.mts +1 -1
  273. package/dist/actions/publish-agent.mjs +1 -1
  274. package/dist/actions/publish-agent.mjs.map +1 -1
  275. package/dist/actions/publish-chat-agent.cjs +1 -1
  276. package/dist/actions/publish-chat-agent.cjs.map +1 -1
  277. package/dist/actions/publish-chat-agent.d.cts +1 -1
  278. package/dist/actions/publish-chat-agent.d.mts +1 -1
  279. package/dist/actions/publish-chat-agent.mjs +1 -1
  280. package/dist/actions/publish-chat-agent.mjs.map +1 -1
  281. package/dist/actions/register-phone-call.cjs +17 -17
  282. package/dist/actions/register-phone-call.cjs.map +1 -1
  283. package/dist/actions/register-phone-call.d.cts +32 -32
  284. package/dist/actions/register-phone-call.d.mts +32 -32
  285. package/dist/actions/register-phone-call.mjs +17 -17
  286. package/dist/actions/register-phone-call.mjs.map +1 -1
  287. package/dist/actions/retrieve-call-details.cjs +18 -18
  288. package/dist/actions/retrieve-call-details.cjs.map +1 -1
  289. package/dist/actions/retrieve-call-details.d.cts +29 -29
  290. package/dist/actions/retrieve-call-details.d.mts +29 -29
  291. package/dist/actions/retrieve-call-details.mjs +18 -18
  292. package/dist/actions/retrieve-call-details.mjs.map +1 -1
  293. package/dist/actions/retrieve-details-of-a-specific-phone-number.cjs +2 -2
  294. package/dist/actions/retrieve-details-of-a-specific-phone-number.cjs.map +1 -1
  295. package/dist/actions/retrieve-details-of-a-specific-phone-number.d.cts +2 -2
  296. package/dist/actions/retrieve-details-of-a-specific-phone-number.d.mts +2 -2
  297. package/dist/actions/retrieve-details-of-a-specific-phone-number.mjs +2 -2
  298. package/dist/actions/retrieve-details-of-a-specific-phone-number.mjs.map +1 -1
  299. package/dist/actions/retrieve-details-of-a-specific-voice.cjs +1 -1
  300. package/dist/actions/retrieve-details-of-a-specific-voice.cjs.map +1 -1
  301. package/dist/actions/retrieve-details-of-a-specific-voice.d.cts +1 -1
  302. package/dist/actions/retrieve-details-of-a-specific-voice.d.mts +1 -1
  303. package/dist/actions/retrieve-details-of-a-specific-voice.mjs +1 -1
  304. package/dist/actions/retrieve-details-of-a-specific-voice.mjs.map +1 -1
  305. package/dist/actions/search-community-voice.cjs +2 -2
  306. package/dist/actions/search-community-voice.cjs.map +1 -1
  307. package/dist/actions/search-community-voice.d.cts +2 -2
  308. package/dist/actions/search-community-voice.d.mts +2 -2
  309. package/dist/actions/search-community-voice.mjs +2 -2
  310. package/dist/actions/search-community-voice.mjs.map +1 -1
  311. package/dist/actions/update-agent.cjs +30 -30
  312. package/dist/actions/update-agent.cjs.map +1 -1
  313. package/dist/actions/update-agent.d.cts +41 -30
  314. package/dist/actions/update-agent.d.mts +41 -30
  315. package/dist/actions/update-agent.mjs +30 -30
  316. package/dist/actions/update-agent.mjs.map +1 -1
  317. package/dist/actions/update-call.cjs +4 -4
  318. package/dist/actions/update-call.cjs.map +1 -1
  319. package/dist/actions/update-call.d.cts +6 -6
  320. package/dist/actions/update-call.d.mts +6 -6
  321. package/dist/actions/update-call.mjs +4 -4
  322. package/dist/actions/update-call.mjs.map +1 -1
  323. package/dist/actions/update-chat-agent.cjs +19 -19
  324. package/dist/actions/update-chat-agent.cjs.map +1 -1
  325. package/dist/actions/update-chat-agent.d.cts +21 -21
  326. package/dist/actions/update-chat-agent.d.mts +21 -21
  327. package/dist/actions/update-chat-agent.mjs +19 -19
  328. package/dist/actions/update-chat-agent.mjs.map +1 -1
  329. package/dist/actions/update-chat-metadata.cjs +7 -7
  330. package/dist/actions/update-chat-metadata.cjs.map +1 -1
  331. package/dist/actions/update-chat-metadata.d.cts +9 -9
  332. package/dist/actions/update-chat-metadata.d.mts +9 -9
  333. package/dist/actions/update-chat-metadata.mjs +7 -7
  334. package/dist/actions/update-chat-metadata.mjs.map +1 -1
  335. package/dist/actions/update-conversation-flow-component.cjs +19 -19
  336. package/dist/actions/update-conversation-flow-component.cjs.map +1 -1
  337. package/dist/actions/update-conversation-flow-component.d.cts +32 -32
  338. package/dist/actions/update-conversation-flow-component.d.mts +32 -32
  339. package/dist/actions/update-conversation-flow-component.mjs +19 -19
  340. package/dist/actions/update-conversation-flow-component.mjs.map +1 -1
  341. package/dist/actions/update-conversation-flow.cjs +7 -7
  342. package/dist/actions/update-conversation-flow.cjs.map +1 -1
  343. package/dist/actions/update-conversation-flow.d.cts +9 -9
  344. package/dist/actions/update-conversation-flow.d.mts +9 -9
  345. package/dist/actions/update-conversation-flow.mjs +7 -7
  346. package/dist/actions/update-conversation-flow.mjs.map +1 -1
  347. package/dist/actions/update-phone-number.cjs +2 -2
  348. package/dist/actions/update-phone-number.cjs.map +1 -1
  349. package/dist/actions/update-phone-number.d.cts +2 -2
  350. package/dist/actions/update-phone-number.d.mts +2 -2
  351. package/dist/actions/update-phone-number.mjs +2 -2
  352. package/dist/actions/update-phone-number.mjs.map +1 -1
  353. package/dist/actions/update-retell-llm.cjs +20 -20
  354. package/dist/actions/update-retell-llm.cjs.map +1 -1
  355. package/dist/actions/update-retell-llm.d.cts +34 -29
  356. package/dist/actions/update-retell-llm.d.mts +34 -29
  357. package/dist/actions/update-retell-llm.mjs +20 -20
  358. package/dist/actions/update-retell-llm.mjs.map +1 -1
  359. package/dist/actions/update-test-case-definition.cjs +9 -9
  360. package/dist/actions/update-test-case-definition.cjs.map +1 -1
  361. package/dist/actions/update-test-case-definition.d.cts +16 -13
  362. package/dist/actions/update-test-case-definition.d.cts.map +1 -1
  363. package/dist/actions/update-test-case-definition.d.mts +16 -13
  364. package/dist/actions/update-test-case-definition.d.mts.map +1 -1
  365. package/dist/actions/update-test-case-definition.mjs +9 -9
  366. package/dist/actions/update-test-case-definition.mjs.map +1 -1
  367. package/package.json +1 -1
@@ -4,10 +4,10 @@ import { z } from "zod";
4
4
  const RetellaiCreateRetellLlmInput = z.object({
5
5
  mcps: z.array(z.object({
6
6
  name: z.string().describe("Name of the MCP integration.").optional(),
7
- parameters: z.object({}).describe("MCP-specific parameters.").optional(),
7
+ parameters: z.record(z.string(), z.unknown()).describe("MCP-specific parameters.").optional(),
8
8
  server_url: z.string().describe("URL of the MCP server.").optional(),
9
9
  description: z.string().describe("Description of the MCP integration.").optional()
10
- }).describe("Model Context Protocol configuration")).describe("Model Context Protocol (MCP) integrations for extended capabilities.").optional(),
10
+ }).passthrough().describe("Model Context Protocol configuration")).describe("Model Context Protocol (MCP) integrations for extended capabilities.").optional(),
11
11
  model: z.enum([
12
12
  "gpt-4.1",
13
13
  "gpt-4.1-mini",
@@ -17,21 +17,21 @@ const RetellaiCreateRetellLlmInput = z.object({
17
17
  states: z.array(z.object({
18
18
  name: z.string().describe("Name of the state.").optional(),
19
19
  edges: z.array(z.object({
20
- parameters: z.object({}).describe("Parameters for the transition.").optional(),
20
+ parameters: z.record(z.string(), z.unknown()).describe("Parameters for the transition.").optional(),
21
21
  description: z.string().describe("Description of the transition condition.").optional(),
22
22
  destination_state_name: z.string().describe("Name of the destination state.").optional()
23
- }).describe("Edge definition for state transitions")).describe("Transitions to other states.").optional(),
23
+ }).passthrough().describe("Edge definition for state transitions")).describe("Transitions to other states.").optional(),
24
24
  tools: z.array(z.object({
25
25
  url: z.string().describe("Webhook URL for custom tool execution.").optional(),
26
26
  name: z.string().describe("Name of the tool.").optional(),
27
27
  type: z.string().describe("Type of tool (e.g., 'end_call', 'transfer_call', 'custom').").optional(),
28
- parameters: z.object({}).describe("Tool-specific parameters.").optional(),
28
+ parameters: z.record(z.string(), z.unknown()).describe("Tool-specific parameters.").optional(),
29
29
  description: z.string().describe("Description of what the tool does.").optional(),
30
30
  speak_after_execution: z.boolean().describe("Whether agent should speak after tool execution.").optional(),
31
31
  speak_during_execution: z.boolean().describe("Whether agent should speak during tool execution.").optional()
32
- }).describe("Tool definition for agent capabilities")).describe("Tools available in this state.").optional(),
32
+ }).passthrough().describe("Tool definition for agent capabilities")).describe("Tools available in this state.").optional(),
33
33
  state_prompt: z.string().describe("Prompt specific to this state.").optional()
34
- }).describe("State definition in conversation flow")).describe("Conversation state definitions with prompts, transitions (edges), and state-specific tools.").optional(),
34
+ }).passthrough().describe("State definition in conversation flow")).describe("Conversation state definitions with prompts, transitions (edges), and state-specific tools.").optional(),
35
35
  kb_config: z.object({
36
36
  top_k: z.number().int().describe("Number of top results to retrieve from knowledge base.").optional(),
37
37
  filter_score: z.number().describe("Minimum similarity score threshold for filtering results.").optional()
@@ -42,11 +42,11 @@ const RetellaiCreateRetellLlmInput = z.object({
42
42
  url: z.string().describe("Webhook URL for custom tool execution.").optional(),
43
43
  name: z.string().describe("Name of the tool.").optional(),
44
44
  type: z.string().describe("Type of tool (e.g., 'end_call', 'transfer_call', 'custom').").optional(),
45
- parameters: z.object({}).describe("Tool-specific parameters.").optional(),
45
+ parameters: z.record(z.string(), z.unknown()).describe("Tool-specific parameters.").optional(),
46
46
  description: z.string().describe("Description of what the tool does.").optional(),
47
47
  speak_after_execution: z.boolean().describe("Whether agent should speak after tool execution.").optional(),
48
48
  speak_during_execution: z.boolean().describe("Whether agent should speak during tool execution.").optional()
49
- }).describe("Tool definition for agent capabilities")).describe("Predefined tools available to the agent, such as end_call or transfer_call functions.").optional(),
49
+ }).passthrough().describe("Tool definition for agent capabilities")).describe("Predefined tools available to the agent, such as end_call or transfer_call functions.").optional(),
50
50
  start_speaker: z.enum(["user", "agent"]).describe("Determines who initiates the conversation. Either 'user' or 'agent'."),
51
51
  general_prompt: z.string().describe("System prompt applied across all conversation states. Defines agent behavior and personality.").optional(),
52
52
  starting_state: z.string().describe("Name of the initial conversation state when using multi-state flows.").optional(),
@@ -54,39 +54,39 @@ const RetellaiCreateRetellLlmInput = z.object({
54
54
  knowledge_base_ids: z.array(z.string()).describe("List of knowledge base IDs for RAG (Retrieval-Augmented Generation) capabilities.").optional(),
55
55
  model_high_priority: z.boolean().describe("Enables dedicated resources for lower latency responses. Use for high-priority agents.").optional(),
56
56
  tool_call_strict_mode: z.boolean().describe("Enforces strict mode for tool calls to ensure proper function execution.").optional(),
57
- default_dynamic_variables: z.object({}).describe("Key-value pairs injected into prompts as variables for dynamic content.").optional(),
57
+ default_dynamic_variables: z.record(z.string(), z.unknown()).describe("Key-value pairs injected into prompts as variables for dynamic content.").optional(),
58
58
  begin_after_user_silence_ms: z.number().int().describe("Milliseconds to wait after user stops speaking before agent responds.").optional()
59
59
  }).describe("Request schema for creating a Retell LLM Response Engine");
60
60
  const RetellaiCreateRetellLlm_McpConfigSchema = z.object({
61
61
  name: z.string().describe("Name of the MCP integration.").nullable().optional(),
62
- parameters: z.object({}).describe("MCP-specific parameters.").nullable().optional(),
62
+ parameters: z.record(z.string(), z.unknown()).describe("MCP-specific parameters.").nullable().optional(),
63
63
  server_url: z.string().describe("URL of the MCP server.").nullable().optional(),
64
64
  description: z.string().describe("Description of the MCP integration.").nullable().optional()
65
- }).describe("Model Context Protocol configuration");
65
+ }).passthrough().describe("Model Context Protocol configuration");
66
66
  const RetellaiCreateRetellLlm_StateEdgeSchema = z.object({
67
- parameters: z.object({}).describe("Parameters for the transition.").nullable().optional(),
67
+ parameters: z.record(z.string(), z.unknown()).describe("Parameters for the transition.").nullable().optional(),
68
68
  description: z.string().describe("Description of the transition condition.").nullable().optional(),
69
69
  destination_state_name: z.string().describe("Name of the destination state.").nullable().optional()
70
- }).describe("Edge definition for state transitions");
70
+ }).passthrough().describe("Edge definition for state transitions");
71
71
  const RetellaiCreateRetellLlm_ToolDefinitionSchema = z.object({
72
72
  url: z.string().describe("Webhook URL for custom tool execution.").nullable().optional(),
73
73
  name: z.string().describe("Name of the tool.").nullable().optional(),
74
74
  type: z.string().describe("Type of tool (e.g., 'end_call', 'transfer_call', 'custom').").nullable().optional(),
75
- parameters: z.object({}).describe("Tool-specific parameters.").nullable().optional(),
75
+ parameters: z.record(z.string(), z.unknown()).describe("Tool-specific parameters.").nullable().optional(),
76
76
  description: z.string().describe("Description of what the tool does.").nullable().optional(),
77
77
  speak_after_execution: z.boolean().describe("Whether agent should speak after tool execution.").nullable().optional(),
78
78
  speak_during_execution: z.boolean().describe("Whether agent should speak during tool execution.").nullable().optional()
79
- }).describe("Tool definition for agent capabilities");
79
+ }).passthrough().describe("Tool definition for agent capabilities");
80
80
  const RetellaiCreateRetellLlm_StateDefinitionSchema = z.object({
81
81
  name: z.string().describe("Name of the state.").nullable().optional(),
82
82
  edges: z.array(RetellaiCreateRetellLlm_StateEdgeSchema).describe("Transitions to other states.").nullable().optional(),
83
83
  tools: z.array(RetellaiCreateRetellLlm_ToolDefinitionSchema).describe("Tools available in this state.").nullable().optional(),
84
84
  state_prompt: z.string().describe("Prompt specific to this state.").nullable().optional()
85
- }).describe("State definition in conversation flow");
85
+ }).passthrough().describe("State definition in conversation flow");
86
86
  const RetellaiCreateRetellLlm_KbConfigSchema = z.object({
87
87
  top_k: z.number().int().describe("Number of top results to retrieve from knowledge base.").nullable().optional(),
88
88
  filter_score: z.number().describe("Minimum similarity score threshold for filtering results.").nullable().optional()
89
- }).describe("Knowledge base configuration for RAG");
89
+ }).passthrough().describe("Knowledge base configuration for RAG");
90
90
  const retellaiCreateRetellLlm = action("RETELLAI_CREATE_RETELL_LLM", {
91
91
  slug: "retellai-create-retell-llm",
92
92
  name: "Create Retell LLM Response Engine",
@@ -110,10 +110,10 @@ const retellaiCreateRetellLlm = action("RETELLAI_CREATE_RETELL_LLM", {
110
110
  knowledge_base_ids: z.array(z.string()).describe("Associated knowledge base identifiers.").nullable().optional(),
111
111
  model_high_priority: z.boolean().describe("High-priority resource pool access status.").nullable().optional(),
112
112
  tool_call_strict_mode: z.boolean().describe("Strict tool calling enforcement status.").nullable().optional(),
113
- default_dynamic_variables: z.object({}).describe("Key-value string pairs for prompt injection.").nullable().optional(),
113
+ default_dynamic_variables: z.record(z.string(), z.unknown()).describe("Key-value string pairs for prompt injection.").nullable().optional(),
114
114
  begin_after_user_silence_ms: z.number().int().describe("Milliseconds before agent response after user silence.").nullable().optional(),
115
115
  last_modification_timestamp: z.number().int().describe("Timestamp in milliseconds since epoch when the LLM was last modified.").nullable()
116
- }).describe("Response schema for created Retell LLM Response Engine")
116
+ }).passthrough().describe("Response schema for created Retell LLM Response Engine")
117
117
  });
118
118
  //#endregion
119
119
  export { retellaiCreateRetellLlm };
@@ -1 +1 @@
1
- {"version":3,"file":"create-retell-llm.mjs","names":[],"sources":["../../src/actions/create-retell-llm.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiCreateRetellLlmInput = z.object({\n mcps: z.array(z.object({\n name: z.string().describe(\"Name of the MCP integration.\").optional(),\n parameters: z.object({}).describe(\"MCP-specific parameters.\").optional(),\n server_url: z.string().describe(\"URL of the MCP server.\").optional(),\n description: z.string().describe(\"Description of the MCP integration.\").optional(),\n}).describe(\"Model Context Protocol configuration\")).describe(\"Model Context Protocol (MCP) integrations for extended capabilities.\").optional(),\n model: z.enum([\"gpt-4.1\", \"gpt-4.1-mini\", \"claude-4.5-sonnet\", \"gemini-2.5-flash\"]).describe(\"Text LLM model selection for generating responses.\").optional(),\n states: z.array(z.object({\n name: z.string().describe(\"Name of the state.\").optional(),\n edges: z.array(z.object({\n parameters: z.object({}).describe(\"Parameters for the transition.\").optional(),\n description: z.string().describe(\"Description of the transition condition.\").optional(),\n destination_state_name: z.string().describe(\"Name of the destination state.\").optional(),\n}).describe(\"Edge definition for state transitions\")).describe(\"Transitions to other states.\").optional(),\n tools: z.array(z.object({\n url: z.string().describe(\"Webhook URL for custom tool execution.\").optional(),\n name: z.string().describe(\"Name of the tool.\").optional(),\n type: z.string().describe(\"Type of tool (e.g., 'end_call', 'transfer_call', 'custom').\").optional(),\n parameters: z.object({}).describe(\"Tool-specific parameters.\").optional(),\n description: z.string().describe(\"Description of what the tool does.\").optional(),\n speak_after_execution: z.boolean().describe(\"Whether agent should speak after tool execution.\").optional(),\n speak_during_execution: z.boolean().describe(\"Whether agent should speak during tool execution.\").optional(),\n}).describe(\"Tool definition for agent capabilities\")).describe(\"Tools available in this state.\").optional(),\n state_prompt: z.string().describe(\"Prompt specific to this state.\").optional(),\n}).describe(\"State definition in conversation flow\")).describe(\"Conversation state definitions with prompts, transitions (edges), and state-specific tools.\").optional(),\n kb_config: z.object({\n top_k: z.number().int().describe(\"Number of top results to retrieve from knowledge base.\").optional(),\n filter_score: z.number().describe(\"Minimum similarity score threshold for filtering results.\").optional(),\n}).describe(\"Knowledge base configuration for RAG\").optional(),\n s2s_model: z.enum([\"gpt-4o-realtime\", \"gpt-4o-mini-realtime\"]).describe(\"Speech-to-speech model selection for real-time voice responses.\").optional(),\n begin_message: z.string().describe(\"The first utterance spoken by the agent when the conversation starts.\").optional(),\n general_tools: z.array(z.object({\n url: z.string().describe(\"Webhook URL for custom tool execution.\").optional(),\n name: z.string().describe(\"Name of the tool.\").optional(),\n type: z.string().describe(\"Type of tool (e.g., 'end_call', 'transfer_call', 'custom').\").optional(),\n parameters: z.object({}).describe(\"Tool-specific parameters.\").optional(),\n description: z.string().describe(\"Description of what the tool does.\").optional(),\n speak_after_execution: z.boolean().describe(\"Whether agent should speak after tool execution.\").optional(),\n speak_during_execution: z.boolean().describe(\"Whether agent should speak during tool execution.\").optional(),\n}).describe(\"Tool definition for agent capabilities\")).describe(\"Predefined tools available to the agent, such as end_call or transfer_call functions.\").optional(),\n start_speaker: z.enum([\"user\", \"agent\"]).describe(\"Determines who initiates the conversation. Either 'user' or 'agent'.\"),\n general_prompt: z.string().describe(\"System prompt applied across all conversation states. Defines agent behavior and personality.\").optional(),\n starting_state: z.string().describe(\"Name of the initial conversation state when using multi-state flows.\").optional(),\n model_temperature: z.number().describe(\"Controls randomness in model responses. Range: [0, 1]. Default is 0 for deterministic output.\").optional(),\n knowledge_base_ids: z.array(z.string()).describe(\"List of knowledge base IDs for RAG (Retrieval-Augmented Generation) capabilities.\").optional(),\n model_high_priority: z.boolean().describe(\"Enables dedicated resources for lower latency responses. Use for high-priority agents.\").optional(),\n tool_call_strict_mode: z.boolean().describe(\"Enforces strict mode for tool calls to ensure proper function execution.\").optional(),\n default_dynamic_variables: z.object({}).describe(\"Key-value pairs injected into prompts as variables for dynamic content.\").optional(),\n begin_after_user_silence_ms: z.number().int().describe(\"Milliseconds to wait after user stops speaking before agent responds.\").optional(),\n}).describe(\"Request schema for creating a Retell LLM Response Engine\");\nconst RetellaiCreateRetellLlm_McpConfigSchema = z.object({\n name: z.string().describe(\"Name of the MCP integration.\").nullable().optional(),\n parameters: z.object({}).describe(\"MCP-specific parameters.\").nullable().optional(),\n server_url: z.string().describe(\"URL of the MCP server.\").nullable().optional(),\n description: z.string().describe(\"Description of the MCP integration.\").nullable().optional(),\n}).describe(\"Model Context Protocol configuration\");\nconst RetellaiCreateRetellLlm_StateEdgeSchema = z.object({\n parameters: z.object({}).describe(\"Parameters for the transition.\").nullable().optional(),\n description: z.string().describe(\"Description of the transition condition.\").nullable().optional(),\n destination_state_name: z.string().describe(\"Name of the destination state.\").nullable().optional(),\n}).describe(\"Edge definition for state transitions\");\nconst RetellaiCreateRetellLlm_ToolDefinitionSchema = z.object({\n url: z.string().describe(\"Webhook URL for custom tool execution.\").nullable().optional(),\n name: z.string().describe(\"Name of the tool.\").nullable().optional(),\n type: z.string().describe(\"Type of tool (e.g., 'end_call', 'transfer_call', 'custom').\").nullable().optional(),\n parameters: z.object({}).describe(\"Tool-specific parameters.\").nullable().optional(),\n description: z.string().describe(\"Description of what the tool does.\").nullable().optional(),\n speak_after_execution: z.boolean().describe(\"Whether agent should speak after tool execution.\").nullable().optional(),\n speak_during_execution: z.boolean().describe(\"Whether agent should speak during tool execution.\").nullable().optional(),\n}).describe(\"Tool definition for agent capabilities\");\nconst RetellaiCreateRetellLlm_StateDefinitionSchema = z.object({\n name: z.string().describe(\"Name of the state.\").nullable().optional(),\n edges: z.array(RetellaiCreateRetellLlm_StateEdgeSchema).describe(\"Transitions to other states.\").nullable().optional(),\n tools: z.array(RetellaiCreateRetellLlm_ToolDefinitionSchema).describe(\"Tools available in this state.\").nullable().optional(),\n state_prompt: z.string().describe(\"Prompt specific to this state.\").nullable().optional(),\n}).describe(\"State definition in conversation flow\");\nconst RetellaiCreateRetellLlm_KbConfigSchema = z.object({\n top_k: z.number().int().describe(\"Number of top results to retrieve from knowledge base.\").nullable().optional(),\n filter_score: z.number().describe(\"Minimum similarity score threshold for filtering results.\").nullable().optional(),\n}).describe(\"Knowledge base configuration for RAG\");\nexport const RetellaiCreateRetellLlmOutput = z.object({\n mcps: z.array(RetellaiCreateRetellLlm_McpConfigSchema).describe(\"Model Context Protocol configurations.\").nullable().optional(),\n model: z.string().describe(\"The text LLM model being used.\").nullable().optional(),\n llm_id: z.string().describe(\"Unique identifier of the created Retell LLM Response Engine.\").nullable(),\n states: z.array(RetellaiCreateRetellLlm_StateDefinitionSchema).describe(\"Conversation states with prompts, edges, and state-specific tools.\").nullable().optional(),\n version: z.number().int().describe(\"Version number of the LLM configuration.\").nullable().optional(),\n kb_config: RetellaiCreateRetellLlm_KbConfigSchema.nullable().optional(),\n s2s_model: z.string().describe(\"The speech-to-speech model being used.\").nullable().optional(),\n is_published: z.boolean().describe(\"Indicates whether this LLM version is published and active.\").nullable().optional(),\n begin_message: z.string().describe(\"Agent's opening utterance.\").nullable().optional(),\n general_tools: z.array(RetellaiCreateRetellLlm_ToolDefinitionSchema).describe(\"Available functions for the agent.\").nullable().optional(),\n start_speaker: z.string().describe(\"Who initiates the conversation (user or agent).\").nullable().optional(),\n general_prompt: z.string().describe(\"System prompt appended across all states.\").nullable().optional(),\n starting_state: z.string().describe(\"Initial state name.\").nullable().optional(),\n model_temperature: z.number().describe(\"Randomness control setting for the model.\").nullable().optional(),\n knowledge_base_ids: z.array(z.string()).describe(\"Associated knowledge base identifiers.\").nullable().optional(),\n model_high_priority: z.boolean().describe(\"High-priority resource pool access status.\").nullable().optional(),\n tool_call_strict_mode: z.boolean().describe(\"Strict tool calling enforcement status.\").nullable().optional(),\n default_dynamic_variables: z.object({}).describe(\"Key-value string pairs for prompt injection.\").nullable().optional(),\n begin_after_user_silence_ms: z.number().int().describe(\"Milliseconds before agent response after user silence.\").nullable().optional(),\n last_modification_timestamp: z.number().int().describe(\"Timestamp in milliseconds since epoch when the LLM was last modified.\").nullable(),\n}).describe(\"Response schema for created Retell LLM Response Engine\");\n\nexport const retellaiCreateRetellLlm = action(\"RETELLAI_CREATE_RETELL_LLM\", {\n slug: \"retellai-create-retell-llm\",\n name: \"Create Retell LLM Response Engine\",\n description: \"Create a new Retell LLM Response Engine that can be attached to an agent. Use when you need to configure a new LLM-powered response system with custom prompts, tools, and conversation flows.\",\n input: RetellaiCreateRetellLlmInput,\n output: RetellaiCreateRetellLlmOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,MAAM,EAAE,OAAO;EACvB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACnE,YAAY,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EACvE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EACnE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC7I,OAAO,EAAE,KAAK;EAAC;EAAW;EAAgB;EAAqB;CAAkB,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC5J,QAAQ,EAAE,MAAM,EAAE,OAAO;EACzB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EACzD,OAAO,EAAE,MAAM,EAAE,OAAO;GACxB,YAAY,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;GAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;GACtF,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC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ACxG,oBAAoB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,uBAAuB,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,2BAA2B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,6BAA6B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,6BAA6B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC3I,CAAC,CAAC,CAAC,SAAS,wDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-retell-llm.mjs","names":[],"sources":["../../src/actions/create-retell-llm.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiCreateRetellLlmInput = z.object({\n mcps: z.array(z.object({\n name: z.string().describe(\"Name of the MCP integration.\").optional(),\n parameters: z.record(z.string(), z.unknown()).describe(\"MCP-specific parameters.\").optional(),\n server_url: z.string().describe(\"URL of the MCP server.\").optional(),\n description: z.string().describe(\"Description of the MCP integration.\").optional(),\n}).passthrough().describe(\"Model Context Protocol configuration\")).describe(\"Model Context Protocol (MCP) integrations for extended capabilities.\").optional(),\n model: z.enum([\"gpt-4.1\", \"gpt-4.1-mini\", \"claude-4.5-sonnet\", \"gemini-2.5-flash\"]).describe(\"Text LLM model selection for generating responses.\").optional(),\n states: z.array(z.object({\n name: z.string().describe(\"Name of the state.\").optional(),\n edges: z.array(z.object({\n parameters: z.record(z.string(), z.unknown()).describe(\"Parameters for the transition.\").optional(),\n description: z.string().describe(\"Description of the transition condition.\").optional(),\n destination_state_name: z.string().describe(\"Name of the destination state.\").optional(),\n}).passthrough().describe(\"Edge definition for state transitions\")).describe(\"Transitions to other states.\").optional(),\n tools: z.array(z.object({\n url: z.string().describe(\"Webhook URL for custom tool execution.\").optional(),\n name: z.string().describe(\"Name of the tool.\").optional(),\n type: z.string().describe(\"Type of tool (e.g., 'end_call', 'transfer_call', 'custom').\").optional(),\n parameters: z.record(z.string(), z.unknown()).describe(\"Tool-specific parameters.\").optional(),\n description: z.string().describe(\"Description of what the tool does.\").optional(),\n speak_after_execution: z.boolean().describe(\"Whether agent should speak after tool execution.\").optional(),\n speak_during_execution: z.boolean().describe(\"Whether agent should speak during tool execution.\").optional(),\n}).passthrough().describe(\"Tool definition for agent capabilities\")).describe(\"Tools available in this state.\").optional(),\n state_prompt: z.string().describe(\"Prompt specific to this state.\").optional(),\n}).passthrough().describe(\"State definition in conversation flow\")).describe(\"Conversation state definitions with prompts, transitions (edges), and state-specific tools.\").optional(),\n kb_config: z.object({\n top_k: z.number().int().describe(\"Number of top results to retrieve from knowledge base.\").optional(),\n filter_score: z.number().describe(\"Minimum similarity score threshold for filtering results.\").optional(),\n}).describe(\"Knowledge base configuration for RAG\").optional(),\n s2s_model: z.enum([\"gpt-4o-realtime\", \"gpt-4o-mini-realtime\"]).describe(\"Speech-to-speech model selection for real-time voice responses.\").optional(),\n begin_message: z.string().describe(\"The first utterance spoken by the agent when the conversation starts.\").optional(),\n general_tools: z.array(z.object({\n url: z.string().describe(\"Webhook URL for custom tool execution.\").optional(),\n name: z.string().describe(\"Name of the tool.\").optional(),\n type: z.string().describe(\"Type of tool (e.g., 'end_call', 'transfer_call', 'custom').\").optional(),\n parameters: z.record(z.string(), z.unknown()).describe(\"Tool-specific parameters.\").optional(),\n description: z.string().describe(\"Description of what the tool does.\").optional(),\n speak_after_execution: z.boolean().describe(\"Whether agent should speak after tool execution.\").optional(),\n speak_during_execution: z.boolean().describe(\"Whether agent should speak during tool execution.\").optional(),\n}).passthrough().describe(\"Tool definition for agent capabilities\")).describe(\"Predefined tools available to the agent, such as end_call or transfer_call functions.\").optional(),\n start_speaker: z.enum([\"user\", \"agent\"]).describe(\"Determines who initiates the conversation. Either 'user' or 'agent'.\"),\n general_prompt: z.string().describe(\"System prompt applied across all conversation states. Defines agent behavior and personality.\").optional(),\n starting_state: z.string().describe(\"Name of the initial conversation state when using multi-state flows.\").optional(),\n model_temperature: z.number().describe(\"Controls randomness in model responses. Range: [0, 1]. Default is 0 for deterministic output.\").optional(),\n knowledge_base_ids: z.array(z.string()).describe(\"List of knowledge base IDs for RAG (Retrieval-Augmented Generation) capabilities.\").optional(),\n model_high_priority: z.boolean().describe(\"Enables dedicated resources for lower latency responses. Use for high-priority agents.\").optional(),\n tool_call_strict_mode: z.boolean().describe(\"Enforces strict mode for tool calls to ensure proper function execution.\").optional(),\n default_dynamic_variables: z.record(z.string(), z.unknown()).describe(\"Key-value pairs injected into prompts as variables for dynamic content.\").optional(),\n begin_after_user_silence_ms: z.number().int().describe(\"Milliseconds to wait after user stops speaking before agent responds.\").optional(),\n}).describe(\"Request schema for creating a Retell LLM Response Engine\");\nconst RetellaiCreateRetellLlm_McpConfigSchema = z.object({\n name: z.string().describe(\"Name of the MCP integration.\").nullable().optional(),\n parameters: z.record(z.string(), z.unknown()).describe(\"MCP-specific parameters.\").nullable().optional(),\n server_url: z.string().describe(\"URL of the MCP server.\").nullable().optional(),\n description: z.string().describe(\"Description of the MCP integration.\").nullable().optional(),\n}).passthrough().describe(\"Model Context Protocol configuration\");\nconst RetellaiCreateRetellLlm_StateEdgeSchema = z.object({\n parameters: z.record(z.string(), z.unknown()).describe(\"Parameters for the transition.\").nullable().optional(),\n description: z.string().describe(\"Description of the transition condition.\").nullable().optional(),\n destination_state_name: z.string().describe(\"Name of the destination state.\").nullable().optional(),\n}).passthrough().describe(\"Edge definition for state transitions\");\nconst RetellaiCreateRetellLlm_ToolDefinitionSchema = z.object({\n url: z.string().describe(\"Webhook URL for custom tool execution.\").nullable().optional(),\n name: z.string().describe(\"Name of the tool.\").nullable().optional(),\n type: z.string().describe(\"Type of tool (e.g., 'end_call', 'transfer_call', 'custom').\").nullable().optional(),\n parameters: z.record(z.string(), z.unknown()).describe(\"Tool-specific parameters.\").nullable().optional(),\n description: z.string().describe(\"Description of what the tool does.\").nullable().optional(),\n speak_after_execution: z.boolean().describe(\"Whether agent should speak after tool execution.\").nullable().optional(),\n speak_during_execution: z.boolean().describe(\"Whether agent should speak during tool execution.\").nullable().optional(),\n}).passthrough().describe(\"Tool definition for agent capabilities\");\nconst RetellaiCreateRetellLlm_StateDefinitionSchema = z.object({\n name: z.string().describe(\"Name of the state.\").nullable().optional(),\n edges: z.array(RetellaiCreateRetellLlm_StateEdgeSchema).describe(\"Transitions to other states.\").nullable().optional(),\n tools: z.array(RetellaiCreateRetellLlm_ToolDefinitionSchema).describe(\"Tools available in this state.\").nullable().optional(),\n state_prompt: z.string().describe(\"Prompt specific to this state.\").nullable().optional(),\n}).passthrough().describe(\"State definition in conversation flow\");\nconst RetellaiCreateRetellLlm_KbConfigSchema = z.object({\n top_k: z.number().int().describe(\"Number of top results to retrieve from knowledge base.\").nullable().optional(),\n filter_score: z.number().describe(\"Minimum similarity score threshold for filtering results.\").nullable().optional(),\n}).passthrough().describe(\"Knowledge base configuration for RAG\");\nexport const RetellaiCreateRetellLlmOutput = z.object({\n mcps: z.array(RetellaiCreateRetellLlm_McpConfigSchema).describe(\"Model Context Protocol configurations.\").nullable().optional(),\n model: z.string().describe(\"The text LLM model being used.\").nullable().optional(),\n llm_id: z.string().describe(\"Unique identifier of the created Retell LLM Response Engine.\").nullable(),\n states: z.array(RetellaiCreateRetellLlm_StateDefinitionSchema).describe(\"Conversation states with prompts, edges, and state-specific tools.\").nullable().optional(),\n version: z.number().int().describe(\"Version number of the LLM configuration.\").nullable().optional(),\n kb_config: RetellaiCreateRetellLlm_KbConfigSchema.nullable().optional(),\n s2s_model: z.string().describe(\"The speech-to-speech model being used.\").nullable().optional(),\n is_published: z.boolean().describe(\"Indicates whether this LLM version is published and active.\").nullable().optional(),\n begin_message: z.string().describe(\"Agent's opening utterance.\").nullable().optional(),\n general_tools: z.array(RetellaiCreateRetellLlm_ToolDefinitionSchema).describe(\"Available functions for the agent.\").nullable().optional(),\n start_speaker: z.string().describe(\"Who initiates the conversation (user or agent).\").nullable().optional(),\n general_prompt: z.string().describe(\"System prompt appended across all states.\").nullable().optional(),\n starting_state: z.string().describe(\"Initial state name.\").nullable().optional(),\n model_temperature: z.number().describe(\"Randomness control setting for the model.\").nullable().optional(),\n knowledge_base_ids: z.array(z.string()).describe(\"Associated knowledge base identifiers.\").nullable().optional(),\n model_high_priority: z.boolean().describe(\"High-priority resource pool access status.\").nullable().optional(),\n tool_call_strict_mode: z.boolean().describe(\"Strict tool calling enforcement status.\").nullable().optional(),\n default_dynamic_variables: z.record(z.string(), z.unknown()).describe(\"Key-value string pairs for prompt injection.\").nullable().optional(),\n begin_after_user_silence_ms: z.number().int().describe(\"Milliseconds before agent response after user silence.\").nullable().optional(),\n last_modification_timestamp: z.number().int().describe(\"Timestamp in milliseconds since epoch when the LLM was last modified.\").nullable(),\n}).passthrough().describe(\"Response schema for created Retell LLM Response Engine\");\n\nexport const retellaiCreateRetellLlm = action(\"RETELLAI_CREATE_RETELL_LLM\", {\n slug: \"retellai-create-retell-llm\",\n name: \"Create Retell LLM Response Engine\",\n description: \"Create a new Retell LLM Response Engine that can be attached to an agent. Use when you need to configure a new LLM-powered response system with custom prompts, tools, and conversation flows.\",\n input: RetellaiCreateRetellLlmInput,\n output: RetellaiCreateRetellLlmOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,MAAM,EAAE,OAAO;EACvB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACnE,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG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AqB,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,uBAAuB,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,2BAA2B,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1I,6BAA6B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,6BAA6B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
@@ -7,8 +7,8 @@ const RetellaiCreateTestCaseDefinitionInput = zod.z.object({
7
7
  llm_model: zod.z.string().describe("Optional LLM model specification to use for evaluation.").optional(),
8
8
  tool_mocks: zod.z.array(zod.z.object({
9
9
  name: zod.z.string().describe("Name of the tool to mock.").optional(),
10
- response: zod.z.object({}).describe("Mocked response for the tool.").optional()
11
- }).describe("Tool mock configuration for testing")).describe("Optional array of tool mocks to simulate tool responses during testing.").optional(),
10
+ response: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Mocked response for the tool.").optional()
11
+ }).passthrough().describe("Tool mock configuration for testing")).describe("Optional array of tool mocks to simulate tool responses during testing.").optional(),
12
12
  user_prompt: zod.z.string().describe("User scenario prompt describing the identity, goal, and personality for the test case. Should outline who the user is, what they want to achieve, and how they behave."),
13
13
  response_engine: zod.z.object({
14
14
  type: zod.z.enum(["retell-llm", "conversation-flow"]).describe("Type of response engine. Must be either 'retell-llm' or 'conversation-flow'. Custom LLM is not supported."),
@@ -16,21 +16,21 @@ const RetellaiCreateTestCaseDefinitionInput = zod.z.object({
16
16
  version: zod.z.number().int().describe("Version number of the response engine configuration."),
17
17
  conversation_flow_id: zod.z.string().describe("ID of the conversation flow to use. Required when type is 'conversation-flow'.").optional()
18
18
  }).describe("Response engine configuration. Must include type ('retell-llm' or 'conversation-flow'), the corresponding ID field, and version."),
19
- dynamic_variables: zod.z.object({}).describe("Optional dynamic variables object to inject into the test case prompts as key-value pairs.").optional()
19
+ dynamic_variables: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Optional dynamic variables object to inject into the test case prompts as key-value pairs.").optional()
20
20
  }).describe("Request schema for creating a test case definition");
21
21
  const RetellaiCreateTestCaseDefinitionOutput = zod.z.object({
22
22
  name: zod.z.string().describe("Name of the test case definition.").nullable(),
23
23
  type: zod.z.string().describe("Type of the test case definition.").nullable(),
24
24
  metrics: zod.z.array(zod.z.string()).describe("Array of metric name strings."),
25
25
  llm_model: zod.z.string().describe("LLM model specification.").nullable().optional(),
26
- tool_mocks: zod.z.array(zod.z.object({})).describe("Array of tool mocks.").nullable().optional(),
26
+ tool_mocks: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Array of tool mocks.").nullable().optional(),
27
27
  user_prompt: zod.z.string().describe("User scenario prompt.").nullable(),
28
- response_engine: zod.z.object({}).describe("Response engine configuration."),
29
- dynamic_variables: zod.z.object({}).describe("Dynamic variables object.").nullable().optional(),
28
+ response_engine: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Response engine configuration."),
29
+ dynamic_variables: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Dynamic variables object.").nullable().optional(),
30
30
  creation_timestamp: zod.z.number().int().describe("Timestamp in milliseconds since epoch when the test case definition was created.").nullable(),
31
31
  test_case_definition_id: zod.z.string().describe("Unique identifier of the created test case definition.").nullable(),
32
32
  user_modified_timestamp: zod.z.number().int().describe("Timestamp in milliseconds since epoch when the test case definition was last modified.").nullable()
33
- }).describe("Response schema for created test case definition");
33
+ }).passthrough().describe("Response schema for created test case definition");
34
34
  const retellaiCreateTestCaseDefinition = require_action.action("RETELLAI_CREATE_TEST_CASE_DEFINITION", {
35
35
  slug: "retellai-create-test-case-definition",
36
36
  name: "Create Test Case Definition",
@@ -1 +1 @@
1
- {"version":3,"file":"create-test-case-definition.cjs","names":["z","action"],"sources":["../../src/actions/create-test-case-definition.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiCreateTestCaseDefinitionInput = z.object({\n name: z.string().describe(\"Name of the test case definition.\"),\n metrics: z.array(z.string()).describe(\"Array of metric name strings to evaluate the test case. Each metric describes a specific aspect to verify.\"),\n llm_model: z.string().describe(\"Optional LLM model specification to use for evaluation.\").optional(),\n tool_mocks: z.array(z.object({\n name: z.string().describe(\"Name of the tool to mock.\").optional(),\n response: z.object({}).describe(\"Mocked response for the tool.\").optional(),\n}).describe(\"Tool mock configuration for testing\")).describe(\"Optional array of tool mocks to simulate tool responses during testing.\").optional(),\n user_prompt: z.string().describe(\"User scenario prompt describing the identity, goal, and personality for the test case. Should outline who the user is, what they want to achieve, and how they behave.\"),\n response_engine: z.object({\n type: z.enum([\"retell-llm\", \"conversation-flow\"]).describe(\"Type of response engine. Must be either 'retell-llm' or 'conversation-flow'. Custom LLM is not supported.\"),\n llm_id: z.string().describe(\"ID of the Retell LLM to use. Required when type is 'retell-llm'.\").optional(),\n version: z.number().int().describe(\"Version number of the response engine configuration.\"),\n conversation_flow_id: z.string().describe(\"ID of the conversation flow to use. Required when type is 'conversation-flow'.\").optional(),\n}).describe(\"Response engine configuration. Must include type ('retell-llm' or 'conversation-flow'), the corresponding ID field, and version.\"),\n dynamic_variables: z.object({}).describe(\"Optional dynamic variables object to inject into the test case prompts as key-value pairs.\").optional(),\n}).describe(\"Request schema for creating a test case definition\");\nexport const RetellaiCreateTestCaseDefinitionOutput = z.object({\n name: z.string().describe(\"Name of the test case definition.\").nullable(),\n type: z.string().describe(\"Type of the test case definition.\").nullable(),\n metrics: z.array(z.string()).describe(\"Array of metric name strings.\"),\n llm_model: z.string().describe(\"LLM model specification.\").nullable().optional(),\n tool_mocks: z.array(z.object({})).describe(\"Array of tool mocks.\").nullable().optional(),\n user_prompt: z.string().describe(\"User scenario prompt.\").nullable(),\n response_engine: z.object({}).describe(\"Response engine configuration.\"),\n dynamic_variables: z.object({}).describe(\"Dynamic variables object.\").nullable().optional(),\n creation_timestamp: z.number().int().describe(\"Timestamp in milliseconds since epoch when the test case definition was created.\").nullable(),\n test_case_definition_id: z.string().describe(\"Unique identifier of the created test case definition.\").nullable(),\n user_modified_timestamp: z.number().int().describe(\"Timestamp in milliseconds since epoch when the test case definition was last modified.\").nullable(),\n}).describe(\"Response schema for created test case definition\");\n\nexport const retellaiCreateTestCaseDefinition = action(\"RETELLAI_CREATE_TEST_CASE_DEFINITION\", {\n slug: \"retellai-create-test-case-definition\",\n name: \"Create Test Case Definition\",\n description: \"Tool to create a test case definition for agent QA testing in Retell AI. Use when you need to define test scenarios for evaluating agent performance with specific user personas, goals, and success metrics.\",\n input: RetellaiCreateTestCaseDefinitionInput,\n output: RetellaiCreateTestCaseDefinitionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC7D,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4GAA4G;CAClJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC7B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAChE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC5E,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,CAAC,SA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AAO,CAAC,CAAC,CAAC,CAAC,SAAS,gCAAgC;CACvE,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CAC3I,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAChH,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;AACxJ,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-test-case-definition.cjs","names":["z","action"],"sources":["../../src/actions/create-test-case-definition.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiCreateTestCaseDefinitionInput = z.object({\n name: z.string().describe(\"Name of the test case definition.\"),\n metrics: z.array(z.string()).describe(\"Array of metric name strings to evaluate the test case. Each metric describes a specific aspect to verify.\"),\n llm_model: z.string().describe(\"Optional LLM model specification to use for evaluation.\").optional(),\n tool_mocks: z.array(z.object({\n name: z.string().describe(\"Name of the tool to mock.\").optional(),\n response: z.record(z.string(), z.unknown()).describe(\"Mocked response for the tool.\").optional(),\n}).passthrough().describe(\"Tool mock configuration for testing\")).describe(\"Optional array of tool mocks to simulate tool responses during testing.\").optional(),\n user_prompt: z.string().describe(\"User scenario prompt describing the identity, goal, and personality for the test case. Should outline who the user is, what they want to achieve, and how they behave.\"),\n response_engine: z.object({\n type: z.enum([\"retell-llm\", \"conversation-flow\"]).describe(\"Type of response engine. Must be either 'retell-llm' or 'conversation-flow'. Custom LLM is not supported.\"),\n llm_id: z.string().describe(\"ID of the Retell LLM to use. Required when type is 'retell-llm'.\").optional(),\n version: z.number().int().describe(\"Version number of the response engine configuration.\"),\n conversation_flow_id: z.string().describe(\"ID of the conversation flow to use. Required when type is 'conversation-flow'.\").optional(),\n}).describe(\"Response engine configuration. Must include type ('retell-llm' or 'conversation-flow'), the corresponding ID field, and version.\"),\n dynamic_variables: z.record(z.string(), z.unknown()).describe(\"Optional dynamic variables object to inject into the test case prompts as key-value pairs.\").optional(),\n}).describe(\"Request schema for creating a test case definition\");\nexport const RetellaiCreateTestCaseDefinitionOutput = z.object({\n name: z.string().describe(\"Name of the test case definition.\").nullable(),\n type: z.string().describe(\"Type of the test case definition.\").nullable(),\n metrics: z.array(z.string()).describe(\"Array of metric name strings.\"),\n llm_model: z.string().describe(\"LLM model specification.\").nullable().optional(),\n tool_mocks: z.array(z.record(z.string(), z.unknown())).describe(\"Array of tool mocks.\").nullable().optional(),\n user_prompt: z.string().describe(\"User scenario prompt.\").nullable(),\n response_engine: z.record(z.string(), z.unknown()).describe(\"Response engine configuration.\"),\n dynamic_variables: z.record(z.string(), z.unknown()).describe(\"Dynamic variables object.\").nullable().optional(),\n creation_timestamp: z.number().int().describe(\"Timestamp in milliseconds since epoch when the test case definition was created.\").nullable(),\n test_case_definition_id: z.string().describe(\"Unique identifier of the created test case definition.\").nullable(),\n user_modified_timestamp: z.number().int().describe(\"Timestamp in milliseconds since epoch when the test case definition was last modified.\").nullable(),\n}).passthrough().describe(\"Response schema for created test case definition\");\n\nexport const retellaiCreateTestCaseDefinition = action(\"RETELLAI_CREATE_TEST_CASE_DEFINITION\", {\n slug: \"retellai-create-test-case-definition\",\n name: \"Create Test Case Definition\",\n description: \"Tool to create a test case definition for agent QA testing in Retell AI. Use when you need to define test scenarios for evaluating agent performance with specific user personas, goals, and success metrics.\",\n input: RetellaiCreateTestCaseDefinitionInput,\n output: RetellaiCreateTestCaseDefinitionOutput,\n});\n"],"mappings":";;;A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,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -7,8 +7,8 @@ declare const RetellaiCreateTestCaseDefinitionInput: z.ZodObject<{
7
7
  llm_model: z.ZodOptional<z.ZodString>;
8
8
  tool_mocks: z.ZodOptional<z.ZodArray<z.ZodObject<{
9
9
  name: z.ZodOptional<z.ZodString>;
10
- response: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
11
- }, z.core.$strip>>>;
10
+ response: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
11
+ }, z.core.$loose>>>;
12
12
  user_prompt: z.ZodString;
13
13
  response_engine: z.ZodObject<{
14
14
  type: z.ZodEnum<{
@@ -19,21 +19,21 @@ declare const RetellaiCreateTestCaseDefinitionInput: z.ZodObject<{
19
19
  version: z.ZodNumber;
20
20
  conversation_flow_id: z.ZodOptional<z.ZodString>;
21
21
  }, z.core.$strip>;
22
- dynamic_variables: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
22
+ dynamic_variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
23
23
  }, z.core.$strip>;
24
24
  declare const RetellaiCreateTestCaseDefinitionOutput: z.ZodObject<{
25
25
  name: z.ZodNullable<z.ZodString>;
26
26
  type: z.ZodNullable<z.ZodString>;
27
27
  metrics: z.ZodArray<z.ZodString>;
28
28
  llm_model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
- tool_mocks: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{}, z.core.$strip>>>>;
29
+ tool_mocks: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
30
30
  user_prompt: z.ZodNullable<z.ZodString>;
31
- response_engine: z.ZodObject<{}, z.core.$strip>;
32
- dynamic_variables: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
31
+ response_engine: z.ZodRecord<z.ZodString, z.ZodUnknown>;
32
+ dynamic_variables: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
33
33
  creation_timestamp: z.ZodNullable<z.ZodNumber>;
34
34
  test_case_definition_id: z.ZodNullable<z.ZodString>;
35
35
  user_modified_timestamp: z.ZodNullable<z.ZodNumber>;
36
- }, z.core.$strip>;
36
+ }, z.core.$loose>;
37
37
  declare const retellaiCreateTestCaseDefinition: import("@keystrokehq/action").WorkflowActionDefinition<{
38
38
  name: string;
39
39
  metrics: string[];
@@ -46,10 +46,11 @@ declare const retellaiCreateTestCaseDefinition: import("@keystrokehq/action").Wo
46
46
  };
47
47
  llm_model?: string | undefined;
48
48
  tool_mocks?: {
49
+ [x: string]: unknown;
49
50
  name?: string | undefined;
50
- response?: Record<string, never> | undefined;
51
+ response?: Record<string, unknown> | undefined;
51
52
  }[] | undefined;
52
- dynamic_variables?: Record<string, never> | undefined;
53
+ dynamic_variables?: Record<string, unknown> | undefined;
53
54
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
54
55
  //#endregion
55
56
  export { retellaiCreateTestCaseDefinition };
@@ -1 +1 @@
1
- {"version":3,"file":"create-test-case-definition.d.cts","names":[],"sources":["../../src/actions/create-test-case-definition.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAiBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cActC,gCAAA,gCAAgC,wBAAA;;;;;;;;;;;;;eAM3C,MAAA;EAAA;sBAAA,MAAA;AAAA"}
1
+ {"version":3,"file":"create-test-case-definition.d.cts","names":[],"sources":["../../src/actions/create-test-case-definition.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAiBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cActC,gCAAA,gCAAgC,wBAAA;;;;;;;;;;;;;;eAM3C,MAAA;EAAA;sBAAA,MAAA;AAAA"}
@@ -7,8 +7,8 @@ declare const RetellaiCreateTestCaseDefinitionInput: z.ZodObject<{
7
7
  llm_model: z.ZodOptional<z.ZodString>;
8
8
  tool_mocks: z.ZodOptional<z.ZodArray<z.ZodObject<{
9
9
  name: z.ZodOptional<z.ZodString>;
10
- response: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
11
- }, z.core.$strip>>>;
10
+ response: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
11
+ }, z.core.$loose>>>;
12
12
  user_prompt: z.ZodString;
13
13
  response_engine: z.ZodObject<{
14
14
  type: z.ZodEnum<{
@@ -19,21 +19,21 @@ declare const RetellaiCreateTestCaseDefinitionInput: z.ZodObject<{
19
19
  version: z.ZodNumber;
20
20
  conversation_flow_id: z.ZodOptional<z.ZodString>;
21
21
  }, z.core.$strip>;
22
- dynamic_variables: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
22
+ dynamic_variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
23
23
  }, z.core.$strip>;
24
24
  declare const RetellaiCreateTestCaseDefinitionOutput: z.ZodObject<{
25
25
  name: z.ZodNullable<z.ZodString>;
26
26
  type: z.ZodNullable<z.ZodString>;
27
27
  metrics: z.ZodArray<z.ZodString>;
28
28
  llm_model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
- tool_mocks: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{}, z.core.$strip>>>>;
29
+ tool_mocks: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
30
30
  user_prompt: z.ZodNullable<z.ZodString>;
31
- response_engine: z.ZodObject<{}, z.core.$strip>;
32
- dynamic_variables: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
31
+ response_engine: z.ZodRecord<z.ZodString, z.ZodUnknown>;
32
+ dynamic_variables: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
33
33
  creation_timestamp: z.ZodNullable<z.ZodNumber>;
34
34
  test_case_definition_id: z.ZodNullable<z.ZodString>;
35
35
  user_modified_timestamp: z.ZodNullable<z.ZodNumber>;
36
- }, z.core.$strip>;
36
+ }, z.core.$loose>;
37
37
  declare const retellaiCreateTestCaseDefinition: import("@keystrokehq/action").WorkflowActionDefinition<{
38
38
  name: string;
39
39
  metrics: string[];
@@ -46,10 +46,11 @@ declare const retellaiCreateTestCaseDefinition: import("@keystrokehq/action").Wo
46
46
  };
47
47
  llm_model?: string | undefined;
48
48
  tool_mocks?: {
49
+ [x: string]: unknown;
49
50
  name?: string | undefined;
50
- response?: Record<string, never> | undefined;
51
+ response?: Record<string, unknown> | undefined;
51
52
  }[] | undefined;
52
- dynamic_variables?: Record<string, never> | undefined;
53
+ dynamic_variables?: Record<string, unknown> | undefined;
53
54
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
54
55
  //#endregion
55
56
  export { retellaiCreateTestCaseDefinition };
@@ -1 +1 @@
1
- {"version":3,"file":"create-test-case-definition.d.mts","names":[],"sources":["../../src/actions/create-test-case-definition.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAiBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cActC,gCAAA,gCAAgC,wBAAA;;;;;;;;;;;;;eAM3C,MAAA;EAAA;sBAAA,MAAA;AAAA"}
1
+ {"version":3,"file":"create-test-case-definition.d.mts","names":[],"sources":["../../src/actions/create-test-case-definition.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAiBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cActC,gCAAA,gCAAgC,wBAAA;;;;;;;;;;;;;;eAM3C,MAAA;EAAA;sBAAA,MAAA;AAAA"}
@@ -10,8 +10,8 @@ const retellaiCreateTestCaseDefinition = action("RETELLAI_CREATE_TEST_CASE_DEFIN
10
10
  llm_model: z.string().describe("Optional LLM model specification to use for evaluation.").optional(),
11
11
  tool_mocks: z.array(z.object({
12
12
  name: z.string().describe("Name of the tool to mock.").optional(),
13
- response: z.object({}).describe("Mocked response for the tool.").optional()
14
- }).describe("Tool mock configuration for testing")).describe("Optional array of tool mocks to simulate tool responses during testing.").optional(),
13
+ response: z.record(z.string(), z.unknown()).describe("Mocked response for the tool.").optional()
14
+ }).passthrough().describe("Tool mock configuration for testing")).describe("Optional array of tool mocks to simulate tool responses during testing.").optional(),
15
15
  user_prompt: z.string().describe("User scenario prompt describing the identity, goal, and personality for the test case. Should outline who the user is, what they want to achieve, and how they behave."),
16
16
  response_engine: z.object({
17
17
  type: z.enum(["retell-llm", "conversation-flow"]).describe("Type of response engine. Must be either 'retell-llm' or 'conversation-flow'. Custom LLM is not supported."),
@@ -19,21 +19,21 @@ const retellaiCreateTestCaseDefinition = action("RETELLAI_CREATE_TEST_CASE_DEFIN
19
19
  version: z.number().int().describe("Version number of the response engine configuration."),
20
20
  conversation_flow_id: z.string().describe("ID of the conversation flow to use. Required when type is 'conversation-flow'.").optional()
21
21
  }).describe("Response engine configuration. Must include type ('retell-llm' or 'conversation-flow'), the corresponding ID field, and version."),
22
- dynamic_variables: z.object({}).describe("Optional dynamic variables object to inject into the test case prompts as key-value pairs.").optional()
22
+ dynamic_variables: z.record(z.string(), z.unknown()).describe("Optional dynamic variables object to inject into the test case prompts as key-value pairs.").optional()
23
23
  }).describe("Request schema for creating a test case definition"),
24
24
  output: z.object({
25
25
  name: z.string().describe("Name of the test case definition.").nullable(),
26
26
  type: z.string().describe("Type of the test case definition.").nullable(),
27
27
  metrics: z.array(z.string()).describe("Array of metric name strings."),
28
28
  llm_model: z.string().describe("LLM model specification.").nullable().optional(),
29
- tool_mocks: z.array(z.object({})).describe("Array of tool mocks.").nullable().optional(),
29
+ tool_mocks: z.array(z.record(z.string(), z.unknown())).describe("Array of tool mocks.").nullable().optional(),
30
30
  user_prompt: z.string().describe("User scenario prompt.").nullable(),
31
- response_engine: z.object({}).describe("Response engine configuration."),
32
- dynamic_variables: z.object({}).describe("Dynamic variables object.").nullable().optional(),
31
+ response_engine: z.record(z.string(), z.unknown()).describe("Response engine configuration."),
32
+ dynamic_variables: z.record(z.string(), z.unknown()).describe("Dynamic variables object.").nullable().optional(),
33
33
  creation_timestamp: z.number().int().describe("Timestamp in milliseconds since epoch when the test case definition was created.").nullable(),
34
34
  test_case_definition_id: z.string().describe("Unique identifier of the created test case definition.").nullable(),
35
35
  user_modified_timestamp: z.number().int().describe("Timestamp in milliseconds since epoch when the test case definition was last modified.").nullable()
36
- }).describe("Response schema for created test case definition")
36
+ }).passthrough().describe("Response schema for created test case definition")
37
37
  });
38
38
  //#endregion
39
39
  export { retellaiCreateTestCaseDefinition };
@@ -1 +1 @@
1
- {"version":3,"file":"create-test-case-definition.mjs","names":[],"sources":["../../src/actions/create-test-case-definition.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiCreateTestCaseDefinitionInput = z.object({\n name: z.string().describe(\"Name of the test case definition.\"),\n metrics: z.array(z.string()).describe(\"Array of metric name strings to evaluate the test case. Each metric describes a specific aspect to verify.\"),\n llm_model: z.string().describe(\"Optional LLM model specification to use for evaluation.\").optional(),\n tool_mocks: z.array(z.object({\n name: z.string().describe(\"Name of the tool to mock.\").optional(),\n response: z.object({}).describe(\"Mocked response for the tool.\").optional(),\n}).describe(\"Tool mock configuration for testing\")).describe(\"Optional array of tool mocks to simulate tool responses during testing.\").optional(),\n user_prompt: z.string().describe(\"User scenario prompt describing the identity, goal, and personality for the test case. Should outline who the user is, what they want to achieve, and how they behave.\"),\n response_engine: z.object({\n type: z.enum([\"retell-llm\", \"conversation-flow\"]).describe(\"Type of response engine. Must be either 'retell-llm' or 'conversation-flow'. Custom LLM is not supported.\"),\n llm_id: z.string().describe(\"ID of the Retell LLM to use. Required when type is 'retell-llm'.\").optional(),\n version: z.number().int().describe(\"Version number of the response engine configuration.\"),\n conversation_flow_id: z.string().describe(\"ID of the conversation flow to use. Required when type is 'conversation-flow'.\").optional(),\n}).describe(\"Response engine configuration. Must include type ('retell-llm' or 'conversation-flow'), the corresponding ID field, and version.\"),\n dynamic_variables: z.object({}).describe(\"Optional dynamic variables object to inject into the test case prompts as key-value pairs.\").optional(),\n}).describe(\"Request schema for creating a test case definition\");\nexport const RetellaiCreateTestCaseDefinitionOutput = z.object({\n name: z.string().describe(\"Name of the test case definition.\").nullable(),\n type: z.string().describe(\"Type of the test case definition.\").nullable(),\n metrics: z.array(z.string()).describe(\"Array of metric name strings.\"),\n llm_model: z.string().describe(\"LLM model specification.\").nullable().optional(),\n tool_mocks: z.array(z.object({})).describe(\"Array of tool mocks.\").nullable().optional(),\n user_prompt: z.string().describe(\"User scenario prompt.\").nullable(),\n response_engine: z.object({}).describe(\"Response engine configuration.\"),\n dynamic_variables: z.object({}).describe(\"Dynamic variables object.\").nullable().optional(),\n creation_timestamp: z.number().int().describe(\"Timestamp in milliseconds since epoch when the test case definition was created.\").nullable(),\n test_case_definition_id: z.string().describe(\"Unique identifier of the created test case definition.\").nullable(),\n user_modified_timestamp: z.number().int().describe(\"Timestamp in milliseconds since epoch when the test case definition was last modified.\").nullable(),\n}).describe(\"Response schema for created test case definition\");\n\nexport const retellaiCreateTestCaseDefinition = action(\"RETELLAI_CREATE_TEST_CASE_DEFINITION\", {\n slug: \"retellai-create-test-case-definition\",\n name: \"Create Test Case Definition\",\n description: \"Tool to create a test case definition for agent QA testing in Retell AI. Use when you need to define test scenarios for evaluating agent performance with specific user personas, goals, and success metrics.\",\n input: Retella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AAmC,CAAC,CAAC,SAAS;EACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACxE,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B;EACrE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EACnE,iBAAiB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gCAAgC;EACvE,mBAAmB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;EAC3I,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EAChH,yBAAyB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACxJ,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-test-case-definition.mjs","names":[],"sources":["../../src/actions/create-test-case-definition.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiCreateTestCaseDefinitionInput = z.object({\n name: z.string().describe(\"Name of the test case definition.\"),\n metrics: z.array(z.string()).describe(\"Array of metric name strings to evaluate the test case. Each metric describes a specific aspect to verify.\"),\n llm_model: z.string().describe(\"Optional LLM model specification to use for evaluation.\").optional(),\n tool_mocks: z.array(z.object({\n name: z.string().describe(\"Name of the tool to mock.\").optional(),\n response: z.record(z.string(), z.unknown()).describe(\"Mocked response for the tool.\").optional(),\n}).passthrough().describe(\"Tool mock configuration for testing\")).describe(\"Optional array of tool mocks to simulate tool responses during testing.\").optional(),\n user_prompt: z.string().describe(\"User scenario prompt describing the identity, goal, and personality for the test case. Should outline who the user is, what they want to achieve, and how they behave.\"),\n response_engine: z.object({\n type: z.enum([\"retell-llm\", \"conversation-flow\"]).describe(\"Type of response engine. Must be either 'retell-llm' or 'conversation-flow'. Custom LLM is not supported.\"),\n llm_id: z.string().describe(\"ID of the Retell LLM to use. Required when type is 'retell-llm'.\").optional(),\n version: z.number().int().describe(\"Version number of the response engine configuration.\"),\n conversation_flow_id: z.string().describe(\"ID of the conversation flow to use. Required when type is 'conversation-flow'.\").optional(),\n}).describe(\"Response engine configuration. Must include type ('retell-llm' or 'conversation-flow'), the corresponding ID field, and version.\"),\n dynamic_variables: z.record(z.string(), z.unknown()).describe(\"Optional dynamic variables object to inject into the test case prompts as key-value pairs.\").optional(),\n}).describe(\"Request schema for creating a test case definition\");\nexport const RetellaiCreateTestCaseDefinitionOutput = z.object({\n name: z.string().describe(\"Name of the test case definition.\").nullable(),\n type: z.string().describe(\"Type of the test case definition.\").nullable(),\n metrics: z.array(z.string()).describe(\"Array of metric name strings.\"),\n llm_model: z.string().describe(\"LLM model specification.\").nullable().optional(),\n tool_mocks: z.array(z.record(z.string(), z.unknown())).describe(\"Array of tool mocks.\").nullable().optional(),\n user_prompt: z.string().describe(\"User scenario prompt.\").nullable(),\n response_engine: z.record(z.string(), z.unknown()).describe(\"Response engine configuration.\"),\n dynamic_variables: z.record(z.string(), z.unknown()).describe(\"Dynamic variables object.\").nullable().optional(),\n creation_timestamp: z.number().int().describe(\"Timestamp in milliseconds since epoch when the test case definition was created.\").nullable(),\n test_case_definition_id: z.string().describe(\"Unique identifier of the created test case definition.\").nullable(),\n user_modified_timestamp: z.number().int().describe(\"Timestamp in milliseconds since epoch when the test case definition was last modified.\").nullable(),\n}).passthrough().describe(\"Response schema for created test case definition\");\n\nexport const retellaiCreateTestCaseDefinition = action(\"RETELLAI_CREATE_TEST_CASE_DEFINITION\", {\n slug: \"retellai-create-test-case-definition\",\n name: \"Create Test Case Definition\",\n description: \"Tool to create a test case definition for agent QA testing in Retell AI. Use when you need to define test scenarios for evaluating agent performance with specific user personas, goals, and success metrics.\",\n input: RetellaiCreateTestCaseDefinitionInput,\n output: RetellaiCreateTestCaseDefinitionOutput,\n});\n"],"mappings":";;AAmCA,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnCmD,EAAE,OAAO;EAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAC7D,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4GAA4G;EAClJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EACnG,YAAY,EAAE,MAAM,EAAE,OAAO;GAC7B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;GAChE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EAC7J,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wKAAwK;EACzM,iBAAiB,EAAE,OAAO;GAC1B,MAAM,EAAE,KAAK,CAAC,cAAc,mBAAmB,CAAC,CAAC,CAAC,SAAS,2GAA2G;GACtK,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;GACzG,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD;GACzF,sBAAsB,EAAE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,SAAS;CACxJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
@@ -5,8 +5,8 @@ const RetellaiDeleteAgentInput = zod.z.object({ agent_id: zod.z.string().describ
5
5
  const RetellaiDeleteAgent_ErrorResponseSchema = zod.z.object({
6
6
  status: zod.z.string().describe("Error status indicator, always 'error'").nullable(),
7
7
  message: zod.z.string().describe("Error message describing what went wrong").nullable()
8
- }).describe("Error response structure for delete agent operation");
9
- const RetellaiDeleteAgentOutput = zod.z.object({ error: RetellaiDeleteAgent_ErrorResponseSchema.nullable().optional() }).describe("Response schema for `DeleteAgent`. Returns empty response on successful deletion (204 No Content).");
8
+ }).passthrough().describe("Error response structure for delete agent operation");
9
+ const RetellaiDeleteAgentOutput = zod.z.object({ error: RetellaiDeleteAgent_ErrorResponseSchema.nullable().optional() }).passthrough().describe("Response schema for `DeleteAgent`. Returns empty response on successful deletion (204 No Content).");
10
10
  const retellaiDeleteAgent = require_action.action("RETELLAI_DELETE_AGENT", {
11
11
  slug: "retellai-delete-agent",
12
12
  name: "Delete agent",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-agent.cjs","names":["z","action"],"sources":["../../src/actions/delete-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiDeleteAgentInput = z.object({\n agent_id: z.string().describe(\"Unique id of the agent to be deleted\"),\n}).describe(\"Request schema for `DeleteAgent`\");\nconst RetellaiDeleteAgent_ErrorResponseSchema = z.object({\n status: z.string().describe(\"Error status indicator, always 'error'\").nullable(),\n message: z.string().describe(\"Error message describing what went wrong\").nullable(),\n}).describe(\"Error response structure for delete agent operation\");\nexport const RetellaiDeleteAgentOutput = z.object({\n error: RetellaiDeleteAgent_ErrorResponseSchema.nullable().optional(),\n}).describe(\"Response schema for `DeleteAgent`. Returns empty response on successful deletion (204 No Content).\");\n\nexport const retellaiDeleteAgent = action(\"RETELLAI_DELETE_AGENT\", {\n slug: \"retellai-delete-agent\",\n name: \"Delete agent\",\n description: \"Deletes an existing agent by its unique identifier. Returns 204 No Content on successful deletion.\",\n input: RetellaiDeleteAgentInput,\n output: RetellaiDeleteAgentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EACtE,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,OAAO,wCAAwC,SAAS,CAAC,CAAC,SAAS,EACrE,CAAC,CAAC,CAAC,SAAS,oGAAoG;AAEhH,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-agent.cjs","names":["z","action"],"sources":["../../src/actions/delete-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiDeleteAgentInput = z.object({\n agent_id: z.string().describe(\"Unique id of the agent to be deleted\"),\n}).describe(\"Request schema for `DeleteAgent`\");\nconst RetellaiDeleteAgent_ErrorResponseSchema = z.object({\n status: z.string().describe(\"Error status indicator, always 'error'\").nullable(),\n message: z.string().describe(\"Error message describing what went wrong\").nullable(),\n}).passthrough().describe(\"Error response structure for delete agent operation\");\nexport const RetellaiDeleteAgentOutput = z.object({\n error: RetellaiDeleteAgent_ErrorResponseSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for `DeleteAgent`. Returns empty response on successful deletion (204 No Content).\");\n\nexport const retellaiDeleteAgent = action(\"RETELLAI_DELETE_AGENT\", {\n slug: \"retellai-delete-agent\",\n name: \"Delete agent\",\n description: \"Deletes an existing agent by its unique identifier. Returns 204 No Content on successful deletion.\",\n input: RetellaiDeleteAgentInput,\n output: RetellaiDeleteAgentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EACtE,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,OAAO,wCAAwC,SAAS,CAAC,CAAC,SAAS,EACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oGAAoG;AAE9H,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -8,8 +8,8 @@ declare const RetellaiDeleteAgentOutput: z.ZodObject<{
8
8
  error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
9
9
  status: z.ZodNullable<z.ZodString>;
10
10
  message: z.ZodNullable<z.ZodString>;
11
- }, z.core.$strip>>>;
12
- }, z.core.$strip>;
11
+ }, z.core.$loose>>>;
12
+ }, z.core.$loose>;
13
13
  declare const retellaiDeleteAgent: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  agent_id: string;
15
15
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -8,8 +8,8 @@ declare const RetellaiDeleteAgentOutput: z.ZodObject<{
8
8
  error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
9
9
  status: z.ZodNullable<z.ZodString>;
10
10
  message: z.ZodNullable<z.ZodString>;
11
- }, z.core.$strip>>>;
12
- }, z.core.$strip>;
11
+ }, z.core.$loose>>>;
12
+ }, z.core.$loose>;
13
13
  declare const retellaiDeleteAgent: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  agent_id: string;
15
15
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -5,13 +5,13 @@ const RetellaiDeleteAgentInput = z.object({ agent_id: z.string().describe("Uniqu
5
5
  const RetellaiDeleteAgent_ErrorResponseSchema = z.object({
6
6
  status: z.string().describe("Error status indicator, always 'error'").nullable(),
7
7
  message: z.string().describe("Error message describing what went wrong").nullable()
8
- }).describe("Error response structure for delete agent operation");
8
+ }).passthrough().describe("Error response structure for delete agent operation");
9
9
  const retellaiDeleteAgent = action("RETELLAI_DELETE_AGENT", {
10
10
  slug: "retellai-delete-agent",
11
11
  name: "Delete agent",
12
12
  description: "Deletes an existing agent by its unique identifier. Returns 204 No Content on successful deletion.",
13
13
  input: RetellaiDeleteAgentInput,
14
- output: z.object({ error: RetellaiDeleteAgent_ErrorResponseSchema.nullable().optional() }).describe("Response schema for `DeleteAgent`. Returns empty response on successful deletion (204 No Content).")
14
+ output: z.object({ error: RetellaiDeleteAgent_ErrorResponseSchema.nullable().optional() }).passthrough().describe("Response schema for `DeleteAgent`. Returns empty response on successful deletion (204 No Content).")
15
15
  });
16
16
  //#endregion
17
17
  export { retellaiDeleteAgent };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-agent.mjs","names":[],"sources":["../../src/actions/delete-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiDeleteAgentInput = z.object({\n agent_id: z.string().describe(\"Unique id of the agent to be deleted\"),\n}).describe(\"Request schema for `DeleteAgent`\");\nconst RetellaiDeleteAgent_ErrorResponseSchema = z.object({\n status: z.string().describe(\"Error status indicator, always 'error'\").nullable(),\n message: z.string().describe(\"Error message describing what went wrong\").nullable(),\n}).describe(\"Error response structure for delete agent operation\");\nexport const RetellaiDeleteAgentOutput = z.object({\n error: RetellaiDeleteAgent_ErrorResponseSchema.nullable().optional(),\n}).describe(\"Response schema for `DeleteAgent`. Returns empty response on successful deletion (204 No Content).\");\n\nexport const retellaiDeleteAgent = action(\"RETELLAI_DELETE_AGENT\", {\n slug: \"retellai-delete-agent\",\n name: \"Delete agent\",\n description: \"Deletes an existing agent by its unique identifier. Returns 204 No Content on successful deletion.\",\n input: RetellaiDeleteAgentInput,\n output: RetellaiDeleteAgentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO,EAC/C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EACtE,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAM,0CAA0C,EAAE,OAAO;CACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAKjE,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,OAAO,wCAAwC,SAAS,CAAC,CAAC,SAAS,EACrE,CAAC,CAAC,CAAC,SAAS,oGAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-agent.mjs","names":[],"sources":["../../src/actions/delete-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiDeleteAgentInput = z.object({\n agent_id: z.string().describe(\"Unique id of the agent to be deleted\"),\n}).describe(\"Request schema for `DeleteAgent`\");\nconst RetellaiDeleteAgent_ErrorResponseSchema = z.object({\n status: z.string().describe(\"Error status indicator, always 'error'\").nullable(),\n message: z.string().describe(\"Error message describing what went wrong\").nullable(),\n}).passthrough().describe(\"Error response structure for delete agent operation\");\nexport const RetellaiDeleteAgentOutput = z.object({\n error: RetellaiDeleteAgent_ErrorResponseSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for `DeleteAgent`. Returns empty response on successful deletion (204 No Content).\");\n\nexport const retellaiDeleteAgent = action(\"RETELLAI_DELETE_AGENT\", {\n slug: \"retellai-delete-agent\",\n name: \"Delete agent\",\n description: \"Deletes an existing agent by its unique identifier. Returns 204 No Content on successful deletion.\",\n input: RetellaiDeleteAgentInput,\n output: RetellaiDeleteAgentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO,EAC/C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EACtE,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAM,0CAA0C,EAAE,OAAO;CACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAK/E,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,OAAO,wCAAwC,SAAS,CAAC,CAAC,SAAS,EACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oGAOhB;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/delete-call.ts
4
4
  const RetellaiDeleteCallInput = zod.z.object({ call_id: zod.z.string().describe("The call id to delete.") }).describe("Request schema for `DeleteCall`");
5
- const RetellaiDeleteCallOutput = zod.z.object({}).describe("Response schema for `DeleteCall`. Returns 204 No Content on successful deletion.");
5
+ const RetellaiDeleteCallOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Response schema for `DeleteCall`. Returns 204 No Content on successful deletion.");
6
6
  const retellaiDeleteCall = require_action.action("RETELLAI_DELETE_CALL", {
7
7
  slug: "retellai-delete-call",
8
8
  name: "Delete call",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-call.cjs","names":["z","action"],"sources":["../../src/actions/delete-call.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiDeleteCallInput = z.object({\n call_id: z.string().describe(\"The call id to delete.\"),\n}).describe(\"Request schema for `DeleteCall`\");\nexport const RetellaiDeleteCallOutput = z.object({}).describe(\"Response schema for `DeleteCall`. Returns 204 No Content on successful deletion.\");\n\nexport const retellaiDeleteCall = action(\"RETELLAI_DELETE_CALL\", {\n slug: \"retellai-delete-call\",\n name: \"Delete call\",\n description: \"Delete a specific call and its associated data by call ID. Use when you need to permanently remove a call record from the system.\",\n input: RetellaiDeleteCallInput,\n output: RetellaiDeleteCallOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,EACvD,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAC7C,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kFAAkF;AAEhJ,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-call.cjs","names":["z","action"],"sources":["../../src/actions/delete-call.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiDeleteCallInput = z.object({\n call_id: z.string().describe(\"The call id to delete.\"),\n}).describe(\"Request schema for `DeleteCall`\");\nexport const RetellaiDeleteCallOutput = z.record(z.string(), z.unknown()).describe(\"Response schema for `DeleteCall`. Returns 204 No Content on successful deletion.\");\n\nexport const retellaiDeleteCall = action(\"RETELLAI_DELETE_CALL\", {\n slug: \"retellai-delete-call\",\n name: \"Delete call\",\n description: \"Delete a specific call and its associated data by call ID. Use when you need to permanently remove a call record from the system.\",\n input: RetellaiDeleteCallInput,\n output: RetellaiDeleteCallOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,EACvD,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAC7C,MAAa,2BAA2BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kFAAkF;AAErK,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -4,7 +4,7 @@ import { z } from "zod";
4
4
  declare const RetellaiDeleteCallInput: z.ZodObject<{
5
5
  call_id: z.ZodString;
6
6
  }, z.core.$strip>;
7
- declare const RetellaiDeleteCallOutput: z.ZodObject<{}, z.core.$strip>;
7
+ declare const RetellaiDeleteCallOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
8
  declare const retellaiDeleteCall: import("@keystrokehq/action").WorkflowActionDefinition<{
9
9
  call_id: string;
10
10
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -1 +1 @@
1
- {"version":3,"file":"delete-call.d.cts","names":[],"sources":["../../src/actions/delete-call.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAExB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"delete-call.d.cts","names":[],"sources":["../../src/actions/delete-call.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAExB,kBAAA,gCAAkB,wBAAA"}