@keystrokehq/retellai 0.1.0 → 0.1.2

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 (483) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-community-voice.cjs.map +1 -1
  4. package/dist/actions/add-community-voice.d.cts +18 -3
  5. package/dist/actions/add-community-voice.d.cts.map +1 -1
  6. package/dist/actions/add-community-voice.d.mts +18 -3
  7. package/dist/actions/add-community-voice.d.mts.map +1 -1
  8. package/dist/actions/add-community-voice.mjs.map +1 -1
  9. package/dist/actions/add-knowledge-base-sources.cjs +14 -14
  10. package/dist/actions/add-knowledge-base-sources.cjs.map +1 -1
  11. package/dist/actions/add-knowledge-base-sources.d.cts +49 -3
  12. package/dist/actions/add-knowledge-base-sources.d.cts.map +1 -1
  13. package/dist/actions/add-knowledge-base-sources.d.mts +49 -3
  14. package/dist/actions/add-knowledge-base-sources.d.mts.map +1 -1
  15. package/dist/actions/add-knowledge-base-sources.mjs +14 -14
  16. package/dist/actions/add-knowledge-base-sources.mjs.map +1 -1
  17. package/dist/actions/buy-a-new-phone-number-bind-agents.cjs +3 -3
  18. package/dist/actions/buy-a-new-phone-number-bind-agents.cjs.map +1 -1
  19. package/dist/actions/buy-a-new-phone-number-bind-agents.d.cts +32 -3
  20. package/dist/actions/buy-a-new-phone-number-bind-agents.d.cts.map +1 -1
  21. package/dist/actions/buy-a-new-phone-number-bind-agents.d.mts +32 -3
  22. package/dist/actions/buy-a-new-phone-number-bind-agents.d.mts.map +1 -1
  23. package/dist/actions/buy-a-new-phone-number-bind-agents.mjs +3 -3
  24. package/dist/actions/buy-a-new-phone-number-bind-agents.mjs.map +1 -1
  25. package/dist/actions/create-a-new-outbound-phone-call.cjs +35 -35
  26. package/dist/actions/create-a-new-outbound-phone-call.cjs.map +1 -1
  27. package/dist/actions/create-a-new-outbound-phone-call.d.cts +268 -3
  28. package/dist/actions/create-a-new-outbound-phone-call.d.cts.map +1 -1
  29. package/dist/actions/create-a-new-outbound-phone-call.d.mts +268 -3
  30. package/dist/actions/create-a-new-outbound-phone-call.d.mts.map +1 -1
  31. package/dist/actions/create-a-new-outbound-phone-call.mjs +35 -35
  32. package/dist/actions/create-a-new-outbound-phone-call.mjs.map +1 -1
  33. package/dist/actions/create-a-new-web-call.cjs +6 -6
  34. package/dist/actions/create-a-new-web-call.cjs.map +1 -1
  35. package/dist/actions/create-a-new-web-call.d.cts +57 -3
  36. package/dist/actions/create-a-new-web-call.d.cts.map +1 -1
  37. package/dist/actions/create-a-new-web-call.d.mts +57 -3
  38. package/dist/actions/create-a-new-web-call.d.mts.map +1 -1
  39. package/dist/actions/create-a-new-web-call.mjs +6 -6
  40. package/dist/actions/create-a-new-web-call.mjs.map +1 -1
  41. package/dist/actions/create-agent.cjs +3 -3
  42. package/dist/actions/create-agent.cjs.map +1 -1
  43. package/dist/actions/create-agent.d.cts +230 -3
  44. package/dist/actions/create-agent.d.cts.map +1 -1
  45. package/dist/actions/create-agent.d.mts +230 -3
  46. package/dist/actions/create-agent.d.mts.map +1 -1
  47. package/dist/actions/create-agent.mjs +3 -3
  48. package/dist/actions/create-agent.mjs.map +1 -1
  49. package/dist/actions/create-batch-test.cjs +9 -9
  50. package/dist/actions/create-batch-test.cjs.map +1 -1
  51. package/dist/actions/create-batch-test.d.cts +44 -3
  52. package/dist/actions/create-batch-test.d.cts.map +1 -1
  53. package/dist/actions/create-batch-test.d.mts +44 -3
  54. package/dist/actions/create-batch-test.d.mts.map +1 -1
  55. package/dist/actions/create-batch-test.mjs +9 -9
  56. package/dist/actions/create-batch-test.mjs.map +1 -1
  57. package/dist/actions/create-chat-agent.cjs +12 -12
  58. package/dist/actions/create-chat-agent.cjs.map +1 -1
  59. package/dist/actions/create-chat-agent.d.cts +141 -3
  60. package/dist/actions/create-chat-agent.d.cts.map +1 -1
  61. package/dist/actions/create-chat-agent.d.mts +141 -3
  62. package/dist/actions/create-chat-agent.d.mts.map +1 -1
  63. package/dist/actions/create-chat-agent.mjs +12 -12
  64. package/dist/actions/create-chat-agent.mjs.map +1 -1
  65. package/dist/actions/create-chat-completion.cjs.map +1 -1
  66. package/dist/actions/create-chat-completion.d.cts +11 -3
  67. package/dist/actions/create-chat-completion.d.cts.map +1 -1
  68. package/dist/actions/create-chat-completion.d.mts +11 -3
  69. package/dist/actions/create-chat-completion.d.mts.map +1 -1
  70. package/dist/actions/create-chat-completion.mjs.map +1 -1
  71. package/dist/actions/create-chat.cjs +6 -6
  72. package/dist/actions/create-chat.cjs.map +1 -1
  73. package/dist/actions/create-chat.d.cts +53 -3
  74. package/dist/actions/create-chat.d.cts.map +1 -1
  75. package/dist/actions/create-chat.d.mts +53 -3
  76. package/dist/actions/create-chat.d.mts.map +1 -1
  77. package/dist/actions/create-chat.mjs +6 -6
  78. package/dist/actions/create-chat.mjs.map +1 -1
  79. package/dist/actions/create-conversation-flow-component.cjs +7 -7
  80. package/dist/actions/create-conversation-flow-component.cjs.map +1 -1
  81. package/dist/actions/create-conversation-flow-component.d.cts +57 -3
  82. package/dist/actions/create-conversation-flow-component.d.cts.map +1 -1
  83. package/dist/actions/create-conversation-flow-component.d.mts +57 -3
  84. package/dist/actions/create-conversation-flow-component.d.mts.map +1 -1
  85. package/dist/actions/create-conversation-flow-component.mjs +7 -7
  86. package/dist/actions/create-conversation-flow-component.mjs.map +1 -1
  87. package/dist/actions/create-conversation-flow.cjs +3 -3
  88. package/dist/actions/create-conversation-flow.cjs.map +1 -1
  89. package/dist/actions/create-conversation-flow.d.cts +59 -3
  90. package/dist/actions/create-conversation-flow.d.cts.map +1 -1
  91. package/dist/actions/create-conversation-flow.d.mts +59 -3
  92. package/dist/actions/create-conversation-flow.d.mts.map +1 -1
  93. package/dist/actions/create-conversation-flow.mjs +3 -3
  94. package/dist/actions/create-conversation-flow.mjs.map +1 -1
  95. package/dist/actions/create-knowledge-base.cjs +2 -2
  96. package/dist/actions/create-knowledge-base.cjs.map +1 -1
  97. package/dist/actions/create-knowledge-base.d.cts +34 -3
  98. package/dist/actions/create-knowledge-base.d.cts.map +1 -1
  99. package/dist/actions/create-knowledge-base.d.mts +34 -3
  100. package/dist/actions/create-knowledge-base.d.mts.map +1 -1
  101. package/dist/actions/create-knowledge-base.mjs +2 -2
  102. package/dist/actions/create-knowledge-base.mjs.map +1 -1
  103. package/dist/actions/create-retell-llm.cjs +2 -2
  104. package/dist/actions/create-retell-llm.cjs.map +1 -1
  105. package/dist/actions/create-retell-llm.d.cts +168 -3
  106. package/dist/actions/create-retell-llm.d.cts.map +1 -1
  107. package/dist/actions/create-retell-llm.d.mts +168 -3
  108. package/dist/actions/create-retell-llm.d.mts.map +1 -1
  109. package/dist/actions/create-retell-llm.mjs +2 -2
  110. package/dist/actions/create-retell-llm.mjs.map +1 -1
  111. package/dist/actions/create-test-case-definition.cjs +6 -6
  112. package/dist/actions/create-test-case-definition.cjs.map +1 -1
  113. package/dist/actions/create-test-case-definition.d.cts +50 -3
  114. package/dist/actions/create-test-case-definition.d.cts.map +1 -1
  115. package/dist/actions/create-test-case-definition.d.mts +50 -3
  116. package/dist/actions/create-test-case-definition.d.mts.map +1 -1
  117. package/dist/actions/create-test-case-definition.mjs +6 -6
  118. package/dist/actions/create-test-case-definition.mjs.map +1 -1
  119. package/dist/actions/delete-agent.cjs +2 -2
  120. package/dist/actions/delete-agent.cjs.map +1 -1
  121. package/dist/actions/delete-agent.d.cts +12 -3
  122. package/dist/actions/delete-agent.d.cts.map +1 -1
  123. package/dist/actions/delete-agent.d.mts +12 -3
  124. package/dist/actions/delete-agent.d.mts.map +1 -1
  125. package/dist/actions/delete-agent.mjs +2 -2
  126. package/dist/actions/delete-agent.mjs.map +1 -1
  127. package/dist/actions/delete-call.cjs.map +1 -1
  128. package/dist/actions/delete-call.d.cts +7 -3
  129. package/dist/actions/delete-call.d.cts.map +1 -1
  130. package/dist/actions/delete-call.d.mts +7 -3
  131. package/dist/actions/delete-call.d.mts.map +1 -1
  132. package/dist/actions/delete-call.mjs.map +1 -1
  133. package/dist/actions/delete-chat-agent.cjs.map +1 -1
  134. package/dist/actions/delete-chat-agent.d.cts +10 -3
  135. package/dist/actions/delete-chat-agent.d.cts.map +1 -1
  136. package/dist/actions/delete-chat-agent.d.mts +10 -3
  137. package/dist/actions/delete-chat-agent.d.mts.map +1 -1
  138. package/dist/actions/delete-chat-agent.mjs.map +1 -1
  139. package/dist/actions/delete-conversation-flow-component.cjs.map +1 -1
  140. package/dist/actions/delete-conversation-flow-component.d.cts +7 -3
  141. package/dist/actions/delete-conversation-flow-component.d.cts.map +1 -1
  142. package/dist/actions/delete-conversation-flow-component.d.mts +7 -3
  143. package/dist/actions/delete-conversation-flow-component.d.mts.map +1 -1
  144. package/dist/actions/delete-conversation-flow-component.mjs.map +1 -1
  145. package/dist/actions/delete-conversation-flow.cjs.map +1 -1
  146. package/dist/actions/delete-conversation-flow.d.cts +7 -3
  147. package/dist/actions/delete-conversation-flow.d.cts.map +1 -1
  148. package/dist/actions/delete-conversation-flow.d.mts +7 -3
  149. package/dist/actions/delete-conversation-flow.d.mts.map +1 -1
  150. package/dist/actions/delete-conversation-flow.mjs.map +1 -1
  151. package/dist/actions/delete-knowledge-base-source.cjs.map +1 -1
  152. package/dist/actions/delete-knowledge-base-source.d.cts +9 -3
  153. package/dist/actions/delete-knowledge-base-source.d.cts.map +1 -1
  154. package/dist/actions/delete-knowledge-base-source.d.mts +9 -3
  155. package/dist/actions/delete-knowledge-base-source.d.mts.map +1 -1
  156. package/dist/actions/delete-knowledge-base-source.mjs.map +1 -1
  157. package/dist/actions/delete-knowledge-base.cjs.map +1 -1
  158. package/dist/actions/delete-knowledge-base.d.cts +7 -3
  159. package/dist/actions/delete-knowledge-base.d.cts.map +1 -1
  160. package/dist/actions/delete-knowledge-base.d.mts +7 -3
  161. package/dist/actions/delete-knowledge-base.d.mts.map +1 -1
  162. package/dist/actions/delete-knowledge-base.mjs.map +1 -1
  163. package/dist/actions/delete-phone-number.cjs +2 -2
  164. package/dist/actions/delete-phone-number.cjs.map +1 -1
  165. package/dist/actions/delete-phone-number.d.cts +10 -3
  166. package/dist/actions/delete-phone-number.d.cts.map +1 -1
  167. package/dist/actions/delete-phone-number.d.mts +10 -3
  168. package/dist/actions/delete-phone-number.d.mts.map +1 -1
  169. package/dist/actions/delete-phone-number.mjs +2 -2
  170. package/dist/actions/delete-phone-number.mjs.map +1 -1
  171. package/dist/actions/delete-retell-llm.cjs.map +1 -1
  172. package/dist/actions/delete-retell-llm.d.cts +7 -3
  173. package/dist/actions/delete-retell-llm.d.cts.map +1 -1
  174. package/dist/actions/delete-retell-llm.d.mts +7 -3
  175. package/dist/actions/delete-retell-llm.d.mts.map +1 -1
  176. package/dist/actions/delete-retell-llm.mjs.map +1 -1
  177. package/dist/actions/delete-test-case-definition.cjs.map +1 -1
  178. package/dist/actions/delete-test-case-definition.d.cts +7 -3
  179. package/dist/actions/delete-test-case-definition.d.cts.map +1 -1
  180. package/dist/actions/delete-test-case-definition.d.mts +7 -3
  181. package/dist/actions/delete-test-case-definition.d.mts.map +1 -1
  182. package/dist/actions/delete-test-case-definition.mjs.map +1 -1
  183. package/dist/actions/end-chat.cjs.map +1 -1
  184. package/dist/actions/end-chat.d.cts +10 -3
  185. package/dist/actions/end-chat.d.cts.map +1 -1
  186. package/dist/actions/end-chat.d.mts +10 -3
  187. package/dist/actions/end-chat.d.mts.map +1 -1
  188. package/dist/actions/end-chat.mjs.map +1 -1
  189. package/dist/actions/get-agent-versions.cjs.map +1 -1
  190. package/dist/actions/get-agent-versions.d.cts +7 -3
  191. package/dist/actions/get-agent-versions.d.cts.map +1 -1
  192. package/dist/actions/get-agent-versions.d.mts +7 -3
  193. package/dist/actions/get-agent-versions.d.mts.map +1 -1
  194. package/dist/actions/get-agent-versions.mjs.map +1 -1
  195. package/dist/actions/get-agent.cjs +33 -33
  196. package/dist/actions/get-agent.cjs.map +1 -1
  197. package/dist/actions/get-agent.d.cts +118 -3
  198. package/dist/actions/get-agent.d.cts.map +1 -1
  199. package/dist/actions/get-agent.d.mts +118 -3
  200. package/dist/actions/get-agent.d.mts.map +1 -1
  201. package/dist/actions/get-agent.mjs +33 -33
  202. package/dist/actions/get-agent.mjs.map +1 -1
  203. package/dist/actions/get-batch-test.cjs +14 -14
  204. package/dist/actions/get-batch-test.cjs.map +1 -1
  205. package/dist/actions/get-batch-test.d.cts +31 -3
  206. package/dist/actions/get-batch-test.d.cts.map +1 -1
  207. package/dist/actions/get-batch-test.d.mts +31 -3
  208. package/dist/actions/get-batch-test.d.mts.map +1 -1
  209. package/dist/actions/get-batch-test.mjs +14 -14
  210. package/dist/actions/get-batch-test.mjs.map +1 -1
  211. package/dist/actions/get-chat-agent-versions.cjs.map +1 -1
  212. package/dist/actions/get-chat-agent-versions.d.cts +23 -3
  213. package/dist/actions/get-chat-agent-versions.d.cts.map +1 -1
  214. package/dist/actions/get-chat-agent-versions.d.mts +23 -3
  215. package/dist/actions/get-chat-agent-versions.d.mts.map +1 -1
  216. package/dist/actions/get-chat-agent-versions.mjs.map +1 -1
  217. package/dist/actions/get-chat-agent.cjs +21 -21
  218. package/dist/actions/get-chat-agent.cjs.map +1 -1
  219. package/dist/actions/get-chat-agent.d.cts +79 -3
  220. package/dist/actions/get-chat-agent.d.cts.map +1 -1
  221. package/dist/actions/get-chat-agent.d.mts +79 -3
  222. package/dist/actions/get-chat-agent.d.mts.map +1 -1
  223. package/dist/actions/get-chat-agent.mjs +21 -21
  224. package/dist/actions/get-chat-agent.mjs.map +1 -1
  225. package/dist/actions/get-chat.cjs +6 -6
  226. package/dist/actions/get-chat.cjs.map +1 -1
  227. package/dist/actions/get-chat.d.cts +47 -3
  228. package/dist/actions/get-chat.d.cts.map +1 -1
  229. package/dist/actions/get-chat.d.mts +47 -3
  230. package/dist/actions/get-chat.d.mts.map +1 -1
  231. package/dist/actions/get-chat.mjs +6 -6
  232. package/dist/actions/get-chat.mjs.map +1 -1
  233. package/dist/actions/get-concurrency.cjs.map +1 -1
  234. package/dist/actions/get-concurrency.d.cts +10 -3
  235. package/dist/actions/get-concurrency.d.cts.map +1 -1
  236. package/dist/actions/get-concurrency.d.mts +10 -3
  237. package/dist/actions/get-concurrency.d.mts.map +1 -1
  238. package/dist/actions/get-concurrency.mjs.map +1 -1
  239. package/dist/actions/get-conversation-flow-component.cjs +10 -10
  240. package/dist/actions/get-conversation-flow-component.cjs.map +1 -1
  241. package/dist/actions/get-conversation-flow-component.d.cts +62 -3
  242. package/dist/actions/get-conversation-flow-component.d.cts.map +1 -1
  243. package/dist/actions/get-conversation-flow-component.d.mts +62 -3
  244. package/dist/actions/get-conversation-flow-component.d.mts.map +1 -1
  245. package/dist/actions/get-conversation-flow-component.mjs +10 -10
  246. package/dist/actions/get-conversation-flow-component.mjs.map +1 -1
  247. package/dist/actions/get-conversation-flow.cjs +11 -11
  248. package/dist/actions/get-conversation-flow.cjs.map +1 -1
  249. package/dist/actions/get-conversation-flow.d.cts +86 -3
  250. package/dist/actions/get-conversation-flow.d.cts.map +1 -1
  251. package/dist/actions/get-conversation-flow.d.mts +86 -3
  252. package/dist/actions/get-conversation-flow.d.mts.map +1 -1
  253. package/dist/actions/get-conversation-flow.mjs +11 -11
  254. package/dist/actions/get-conversation-flow.mjs.map +1 -1
  255. package/dist/actions/get-knowledge-base.cjs +15 -15
  256. package/dist/actions/get-knowledge-base.cjs.map +1 -1
  257. package/dist/actions/get-knowledge-base.d.cts +29 -3
  258. package/dist/actions/get-knowledge-base.d.cts.map +1 -1
  259. package/dist/actions/get-knowledge-base.d.mts +29 -3
  260. package/dist/actions/get-knowledge-base.d.mts.map +1 -1
  261. package/dist/actions/get-knowledge-base.mjs +15 -15
  262. package/dist/actions/get-knowledge-base.mjs.map +1 -1
  263. package/dist/actions/get-retell-llm.cjs +53 -53
  264. package/dist/actions/get-retell-llm.cjs.map +1 -1
  265. package/dist/actions/get-retell-llm.d.cts +316 -3
  266. package/dist/actions/get-retell-llm.d.cts.map +1 -1
  267. package/dist/actions/get-retell-llm.d.mts +316 -3
  268. package/dist/actions/get-retell-llm.d.mts.map +1 -1
  269. package/dist/actions/get-retell-llm.mjs +53 -53
  270. package/dist/actions/get-retell-llm.mjs.map +1 -1
  271. package/dist/actions/import-phone-number.cjs.map +1 -1
  272. package/dist/actions/import-phone-number.d.cts +50 -3
  273. package/dist/actions/import-phone-number.d.cts.map +1 -1
  274. package/dist/actions/import-phone-number.d.mts +50 -3
  275. package/dist/actions/import-phone-number.d.mts.map +1 -1
  276. package/dist/actions/import-phone-number.mjs.map +1 -1
  277. package/dist/actions/list-agents.cjs.map +1 -1
  278. package/dist/actions/list-agents.d.cts +3 -3
  279. package/dist/actions/list-agents.d.cts.map +1 -1
  280. package/dist/actions/list-agents.d.mts +3 -3
  281. package/dist/actions/list-agents.d.mts.map +1 -1
  282. package/dist/actions/list-agents.mjs.map +1 -1
  283. package/dist/actions/list-all-chats.cjs.map +1 -1
  284. package/dist/actions/list-all-chats.d.cts +14 -3
  285. package/dist/actions/list-all-chats.d.cts.map +1 -1
  286. package/dist/actions/list-all-chats.d.mts +14 -3
  287. package/dist/actions/list-all-chats.d.mts.map +1 -1
  288. package/dist/actions/list-all-chats.mjs.map +1 -1
  289. package/dist/actions/list-all-phone-numbers.cjs.map +1 -1
  290. package/dist/actions/list-all-phone-numbers.d.cts +3 -3
  291. package/dist/actions/list-all-phone-numbers.d.cts.map +1 -1
  292. package/dist/actions/list-all-phone-numbers.d.mts +3 -3
  293. package/dist/actions/list-all-phone-numbers.d.mts.map +1 -1
  294. package/dist/actions/list-all-phone-numbers.mjs.map +1 -1
  295. package/dist/actions/list-batch-tests.cjs +13 -13
  296. package/dist/actions/list-batch-tests.cjs.map +1 -1
  297. package/dist/actions/list-batch-tests.d.cts +42 -3
  298. package/dist/actions/list-batch-tests.d.cts.map +1 -1
  299. package/dist/actions/list-batch-tests.d.mts +42 -3
  300. package/dist/actions/list-batch-tests.d.mts.map +1 -1
  301. package/dist/actions/list-batch-tests.mjs +13 -13
  302. package/dist/actions/list-batch-tests.mjs.map +1 -1
  303. package/dist/actions/list-chat-agents.cjs.map +1 -1
  304. package/dist/actions/list-chat-agents.d.cts +11 -3
  305. package/dist/actions/list-chat-agents.d.cts.map +1 -1
  306. package/dist/actions/list-chat-agents.d.mts +11 -3
  307. package/dist/actions/list-chat-agents.d.mts.map +1 -1
  308. package/dist/actions/list-chat-agents.mjs.map +1 -1
  309. package/dist/actions/list-conversation-flow-components.cjs.map +1 -1
  310. package/dist/actions/list-conversation-flow-components.d.cts +12 -3
  311. package/dist/actions/list-conversation-flow-components.d.cts.map +1 -1
  312. package/dist/actions/list-conversation-flow-components.d.mts +12 -3
  313. package/dist/actions/list-conversation-flow-components.d.mts.map +1 -1
  314. package/dist/actions/list-conversation-flow-components.mjs.map +1 -1
  315. package/dist/actions/list-conversation-flows.cjs.map +1 -1
  316. package/dist/actions/list-conversation-flows.d.cts +23 -3
  317. package/dist/actions/list-conversation-flows.d.cts.map +1 -1
  318. package/dist/actions/list-conversation-flows.d.mts +23 -3
  319. package/dist/actions/list-conversation-flows.d.mts.map +1 -1
  320. package/dist/actions/list-conversation-flows.mjs.map +1 -1
  321. package/dist/actions/list-knowledge-bases.cjs.map +1 -1
  322. package/dist/actions/list-knowledge-bases.d.cts +3 -3
  323. package/dist/actions/list-knowledge-bases.d.cts.map +1 -1
  324. package/dist/actions/list-knowledge-bases.d.mts +3 -3
  325. package/dist/actions/list-knowledge-bases.d.mts.map +1 -1
  326. package/dist/actions/list-knowledge-bases.mjs.map +1 -1
  327. package/dist/actions/list-retell-llms.cjs.map +1 -1
  328. package/dist/actions/list-retell-llms.d.cts +60 -3
  329. package/dist/actions/list-retell-llms.d.cts.map +1 -1
  330. package/dist/actions/list-retell-llms.d.mts +60 -3
  331. package/dist/actions/list-retell-llms.d.mts.map +1 -1
  332. package/dist/actions/list-retell-llms.mjs.map +1 -1
  333. package/dist/actions/list-test-case-definitions.cjs +7 -7
  334. package/dist/actions/list-test-case-definitions.cjs.map +1 -1
  335. package/dist/actions/list-test-case-definitions.d.cts +30 -3
  336. package/dist/actions/list-test-case-definitions.d.cts.map +1 -1
  337. package/dist/actions/list-test-case-definitions.d.mts +30 -3
  338. package/dist/actions/list-test-case-definitions.d.mts.map +1 -1
  339. package/dist/actions/list-test-case-definitions.mjs +7 -7
  340. package/dist/actions/list-test-case-definitions.mjs.map +1 -1
  341. package/dist/actions/list-test-runs.cjs.map +1 -1
  342. package/dist/actions/list-test-runs.d.cts +7 -3
  343. package/dist/actions/list-test-runs.d.cts.map +1 -1
  344. package/dist/actions/list-test-runs.d.mts +7 -3
  345. package/dist/actions/list-test-runs.d.mts.map +1 -1
  346. package/dist/actions/list-test-runs.mjs.map +1 -1
  347. package/dist/actions/list-voices.cjs.map +1 -1
  348. package/dist/actions/list-voices.d.cts +3 -3
  349. package/dist/actions/list-voices.d.cts.map +1 -1
  350. package/dist/actions/list-voices.d.mts +3 -3
  351. package/dist/actions/list-voices.d.mts.map +1 -1
  352. package/dist/actions/list-voices.mjs.map +1 -1
  353. package/dist/actions/publish-agent.cjs +4 -4
  354. package/dist/actions/publish-agent.cjs.map +1 -1
  355. package/dist/actions/publish-agent.d.cts +61 -3
  356. package/dist/actions/publish-agent.d.cts.map +1 -1
  357. package/dist/actions/publish-agent.d.mts +61 -3
  358. package/dist/actions/publish-agent.d.mts.map +1 -1
  359. package/dist/actions/publish-agent.mjs +4 -4
  360. package/dist/actions/publish-agent.mjs.map +1 -1
  361. package/dist/actions/publish-chat-agent.cjs +4 -4
  362. package/dist/actions/publish-chat-agent.cjs.map +1 -1
  363. package/dist/actions/publish-chat-agent.d.cts +28 -3
  364. package/dist/actions/publish-chat-agent.d.cts.map +1 -1
  365. package/dist/actions/publish-chat-agent.d.mts +28 -3
  366. package/dist/actions/publish-chat-agent.d.mts.map +1 -1
  367. package/dist/actions/publish-chat-agent.mjs +4 -4
  368. package/dist/actions/publish-chat-agent.mjs.map +1 -1
  369. package/dist/actions/register-phone-call.cjs +35 -35
  370. package/dist/actions/register-phone-call.cjs.map +1 -1
  371. package/dist/actions/register-phone-call.d.cts +271 -3
  372. package/dist/actions/register-phone-call.d.cts.map +1 -1
  373. package/dist/actions/register-phone-call.d.mts +271 -3
  374. package/dist/actions/register-phone-call.d.mts.map +1 -1
  375. package/dist/actions/register-phone-call.mjs +35 -35
  376. package/dist/actions/register-phone-call.mjs.map +1 -1
  377. package/dist/actions/retrieve-call-details-by-id.cjs.map +1 -1
  378. package/dist/actions/retrieve-call-details-by-id.d.cts +7 -3
  379. package/dist/actions/retrieve-call-details-by-id.d.cts.map +1 -1
  380. package/dist/actions/retrieve-call-details-by-id.d.mts +7 -3
  381. package/dist/actions/retrieve-call-details-by-id.d.mts.map +1 -1
  382. package/dist/actions/retrieve-call-details-by-id.mjs.map +1 -1
  383. package/dist/actions/retrieve-call-details.cjs.map +1 -1
  384. package/dist/actions/retrieve-call-details.d.cts +204 -3
  385. package/dist/actions/retrieve-call-details.d.cts.map +1 -1
  386. package/dist/actions/retrieve-call-details.d.mts +204 -3
  387. package/dist/actions/retrieve-call-details.d.mts.map +1 -1
  388. package/dist/actions/retrieve-call-details.mjs.map +1 -1
  389. package/dist/actions/retrieve-details-of-a-specific-phone-number.cjs.map +1 -1
  390. package/dist/actions/retrieve-details-of-a-specific-phone-number.d.cts +19 -3
  391. package/dist/actions/retrieve-details-of-a-specific-phone-number.d.cts.map +1 -1
  392. package/dist/actions/retrieve-details-of-a-specific-phone-number.d.mts +19 -3
  393. package/dist/actions/retrieve-details-of-a-specific-phone-number.d.mts.map +1 -1
  394. package/dist/actions/retrieve-details-of-a-specific-phone-number.mjs.map +1 -1
  395. package/dist/actions/retrieve-details-of-a-specific-voice.cjs.map +1 -1
  396. package/dist/actions/retrieve-details-of-a-specific-voice.d.cts +15 -3
  397. package/dist/actions/retrieve-details-of-a-specific-voice.d.cts.map +1 -1
  398. package/dist/actions/retrieve-details-of-a-specific-voice.d.mts +15 -3
  399. package/dist/actions/retrieve-details-of-a-specific-voice.d.mts.map +1 -1
  400. package/dist/actions/retrieve-details-of-a-specific-voice.mjs.map +1 -1
  401. package/dist/actions/search-community-voice.cjs.map +1 -1
  402. package/dist/actions/search-community-voice.d.cts +20 -3
  403. package/dist/actions/search-community-voice.d.cts.map +1 -1
  404. package/dist/actions/search-community-voice.d.mts +20 -3
  405. package/dist/actions/search-community-voice.d.mts.map +1 -1
  406. package/dist/actions/search-community-voice.mjs.map +1 -1
  407. package/dist/actions/update-agent.cjs +26 -26
  408. package/dist/actions/update-agent.cjs.map +1 -1
  409. package/dist/actions/update-agent.d.cts +302 -3
  410. package/dist/actions/update-agent.d.cts.map +1 -1
  411. package/dist/actions/update-agent.d.mts +302 -3
  412. package/dist/actions/update-agent.d.mts.map +1 -1
  413. package/dist/actions/update-agent.mjs +26 -26
  414. package/dist/actions/update-agent.mjs.map +1 -1
  415. package/dist/actions/update-call.cjs.map +1 -1
  416. package/dist/actions/update-call.d.cts +28 -3
  417. package/dist/actions/update-call.d.cts.map +1 -1
  418. package/dist/actions/update-call.d.mts +28 -3
  419. package/dist/actions/update-call.d.mts.map +1 -1
  420. package/dist/actions/update-call.mjs.map +1 -1
  421. package/dist/actions/update-chat-agent.cjs +35 -35
  422. package/dist/actions/update-chat-agent.cjs.map +1 -1
  423. package/dist/actions/update-chat-agent.d.cts +206 -3
  424. package/dist/actions/update-chat-agent.d.cts.map +1 -1
  425. package/dist/actions/update-chat-agent.d.mts +206 -3
  426. package/dist/actions/update-chat-agent.d.mts.map +1 -1
  427. package/dist/actions/update-chat-agent.mjs +35 -35
  428. package/dist/actions/update-chat-agent.mjs.map +1 -1
  429. package/dist/actions/update-chat-metadata.cjs +6 -6
  430. package/dist/actions/update-chat-metadata.cjs.map +1 -1
  431. package/dist/actions/update-chat-metadata.d.cts +58 -3
  432. package/dist/actions/update-chat-metadata.d.cts.map +1 -1
  433. package/dist/actions/update-chat-metadata.d.mts +58 -3
  434. package/dist/actions/update-chat-metadata.d.mts.map +1 -1
  435. package/dist/actions/update-chat-metadata.mjs +6 -6
  436. package/dist/actions/update-chat-metadata.mjs.map +1 -1
  437. package/dist/actions/update-conversation-flow-component.cjs +55 -55
  438. package/dist/actions/update-conversation-flow-component.cjs.map +1 -1
  439. package/dist/actions/update-conversation-flow-component.d.cts +265 -3
  440. package/dist/actions/update-conversation-flow-component.d.cts.map +1 -1
  441. package/dist/actions/update-conversation-flow-component.d.mts +265 -3
  442. package/dist/actions/update-conversation-flow-component.d.mts.map +1 -1
  443. package/dist/actions/update-conversation-flow-component.mjs +55 -55
  444. package/dist/actions/update-conversation-flow-component.mjs.map +1 -1
  445. package/dist/actions/update-conversation-flow.cjs +5 -5
  446. package/dist/actions/update-conversation-flow.cjs.map +1 -1
  447. package/dist/actions/update-conversation-flow.d.cts +114 -3
  448. package/dist/actions/update-conversation-flow.d.cts.map +1 -1
  449. package/dist/actions/update-conversation-flow.d.mts +114 -3
  450. package/dist/actions/update-conversation-flow.d.mts.map +1 -1
  451. package/dist/actions/update-conversation-flow.mjs +5 -5
  452. package/dist/actions/update-conversation-flow.mjs.map +1 -1
  453. package/dist/actions/update-phone-number.cjs +4 -4
  454. package/dist/actions/update-phone-number.cjs.map +1 -1
  455. package/dist/actions/update-phone-number.d.cts +58 -3
  456. package/dist/actions/update-phone-number.d.cts.map +1 -1
  457. package/dist/actions/update-phone-number.d.mts +58 -3
  458. package/dist/actions/update-phone-number.d.mts.map +1 -1
  459. package/dist/actions/update-phone-number.mjs +4 -4
  460. package/dist/actions/update-phone-number.mjs.map +1 -1
  461. package/dist/actions/update-retell-llm.cjs +2 -2
  462. package/dist/actions/update-retell-llm.cjs.map +1 -1
  463. package/dist/actions/update-retell-llm.d.cts +173 -3
  464. package/dist/actions/update-retell-llm.d.cts.map +1 -1
  465. package/dist/actions/update-retell-llm.d.mts +173 -3
  466. package/dist/actions/update-retell-llm.d.mts.map +1 -1
  467. package/dist/actions/update-retell-llm.mjs +2 -2
  468. package/dist/actions/update-retell-llm.mjs.map +1 -1
  469. package/dist/actions/update-test-case-definition.cjs +13 -13
  470. package/dist/actions/update-test-case-definition.cjs.map +1 -1
  471. package/dist/actions/update-test-case-definition.d.cts +86 -3
  472. package/dist/actions/update-test-case-definition.d.cts.map +1 -1
  473. package/dist/actions/update-test-case-definition.d.mts +86 -3
  474. package/dist/actions/update-test-case-definition.d.mts.map +1 -1
  475. package/dist/actions/update-test-case-definition.mjs +13 -13
  476. package/dist/actions/update-test-case-definition.mjs.map +1 -1
  477. package/dist/catalog.cjs +7 -1
  478. package/dist/catalog.cjs.map +1 -1
  479. package/dist/catalog.d.cts +8 -0
  480. package/dist/catalog.d.mts +8 -0
  481. package/dist/catalog.mjs +7 -1
  482. package/dist/catalog.mjs.map +1 -1
  483. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"update-retell-llm.mjs","names":[],"sources":["../../src/actions/update-retell-llm.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiUpdateRetellLlmInput: z.ZodTypeAny = 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\", \"gpt-5\", \"claude-4.5-sonnet\", \"gemini-2.5-flash\"]).describe(\"Text LLM model selection for generating responses.\").optional(),\n llm_id: z.string().describe(\"Unique identifier of the Retell LLM Response Engine to update.\"),\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 version: z.number().int().describe(\"Version number of the LLM configuration.\").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'.\").optional(),\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]. Lower values are more deterministic.\").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 updating a Retell LLM Response Engine\");\nconst RetellaiUpdateRetellLlm_McpConfigSchema: z.ZodTypeAny = 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 RetellaiUpdateRetellLlm_StateEdgeSchema: z.ZodTypeAny = 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 RetellaiUpdateRetellLlm_ToolDefinitionSchema: z.ZodTypeAny = 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 RetellaiUpdateRetellLlm_StateDefinitionSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the state.\").nullable().optional(),\n edges: z.array(RetellaiUpdateRetellLlm_StateEdgeSchema).describe(\"Transitions to other states.\").nullable().optional(),\n tools: z.array(RetellaiUpdateRetellLlm_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 RetellaiUpdateRetellLlm_KbConfigSchema: z.ZodTypeAny = 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 RetellaiUpdateRetellLlmOutput: z.ZodTypeAny = z.object({\n mcps: z.array(RetellaiUpdateRetellLlm_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 updated Retell LLM Response Engine.\"),\n states: z.array(RetellaiUpdateRetellLlm_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: RetellaiUpdateRetellLlm_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(RetellaiUpdateRetellLlm_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.\"),\n}).describe(\"Response schema for updated Retell LLM Response Engine\");\n\nexport const retellaiUpdateRetellLlm = action(\"RETELLAI_UPDATE_RETELL_LLM\", {\n slug: \"retellai-update-retell-llm\",\n name: \"Update Retell LLM Response Engine\",\n description: \"Update an existing Retell LLM Response Engine by its unique identifier. Use when you need to modify LLM configuration, prompts, tools, conversation flows, or model settings for an existing response engine.\",\n input: RetellaiUpdateRetellLlmInput,\n output: RetellaiUpdateRetellLlmOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6C,EAAE,OAAO;CACjE,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,EAA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C,CAAC,SAAS;EACrI,6BAA6B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE;CAChI,CAAC,CAAC,CAAC,SAAS,wDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-retell-llm.mjs","names":[],"sources":["../../src/actions/update-retell-llm.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiUpdateRetellLlmInput = 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\", \"gpt-5\", \"claude-4.5-sonnet\", \"gemini-2.5-flash\"]).describe(\"Text LLM model selection for generating responses.\").optional(),\n llm_id: z.string().describe(\"Unique identifier of the Retell LLM Response Engine to update.\"),\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 version: z.number().int().describe(\"Version number of the LLM configuration.\").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'.\").optional(),\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]. Lower values are more deterministic.\").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 updating a Retell LLM Response Engine\");\nconst RetellaiUpdateRetellLlm_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 RetellaiUpdateRetellLlm_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 RetellaiUpdateRetellLlm_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 RetellaiUpdateRetellLlm_StateDefinitionSchema = z.object({\n name: z.string().describe(\"Name of the state.\").nullable().optional(),\n edges: z.array(RetellaiUpdateRetellLlm_StateEdgeSchema).describe(\"Transitions to other states.\").nullable().optional(),\n tools: z.array(RetellaiUpdateRetellLlm_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 RetellaiUpdateRetellLlm_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 RetellaiUpdateRetellLlmOutput = z.object({\n mcps: z.array(RetellaiUpdateRetellLlm_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 updated Retell LLM Response Engine.\").nullable(),\n states: z.array(RetellaiUpdateRetellLlm_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: RetellaiUpdateRetellLlm_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(RetellaiUpdateRetellLlm_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 updated Retell LLM Response Engine\");\n\nexport const retellaiUpdateRetellLlm = action(\"RETELLAI_UPDATE_RETELL_LLM\", {\n slug: \"retellai-update-retell-llm\",\n name: \"Update Retell LLM Response Engine\",\n description: \"Update an existing Retell LLM Response Engine by its unique identifier. Use when you need to modify LLM configuration, prompts, tools, conversation flows, or model settings for an existing response engine.\",\n input: RetellaiUpdateRetellLlmInput,\n output: RetellaiUpdateRetellLlmOutput,\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;EAAS;EAAqB;CAAkB,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACrK,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CAC5F,QAAQ,EAAE,MAAM,EAAE,OAAO;EACzB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EACzD,OA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,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,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"}
@@ -39,33 +39,33 @@ const RetellaiUpdateTestCaseDefinitionInput = zod.z.object({
39
39
  test_case_definition_id: zod.z.string().describe("ID of the test case definition to update")
40
40
  }).describe("Request schema for `UpdateTestCaseDefinition`");
41
41
  const RetellaiUpdateTestCaseDefinition_ToolMockSchema = zod.z.object({
42
- output: zod.z.string().describe("Mocked output to return when this tool is called"),
42
+ output: zod.z.string().describe("Mocked output to return when this tool is called").nullable(),
43
43
  result: zod.z.boolean().describe("Expected result status of the tool call").nullable().optional(),
44
- tool_name: zod.z.string().describe("Name of the tool to mock"),
44
+ tool_name: zod.z.string().describe("Name of the tool to mock").nullable(),
45
45
  input_match_rule: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Rule to match input parameters for this mock")
46
46
  }).describe("Mock configuration for tool calls during testing");
47
47
  const RetellaiUpdateTestCaseDefinition_ResponseEngineRetellLlmSchema = zod.z.object({
48
- type: zod.z.string().describe("Type of response engine, should be 'retell-llm'"),
49
- llm_id: zod.z.string().describe("ID of the Retell LLM to use"),
48
+ type: zod.z.string().describe("Type of response engine, should be 'retell-llm'").nullable(),
49
+ llm_id: zod.z.string().describe("ID of the Retell LLM to use").nullable(),
50
50
  version: zod.z.number().describe("Version of the LLM").nullable().optional()
51
51
  }).describe("Response engine using Retell LLM");
52
52
  const RetellaiUpdateTestCaseDefinition_ResponseEngineConversationFlowSchema = zod.z.object({
53
- type: zod.z.string().describe("Type of response engine, should be 'conversation-flow'"),
53
+ type: zod.z.string().describe("Type of response engine, should be 'conversation-flow'").nullable(),
54
54
  version: zod.z.number().describe("Version of the conversation flow").nullable().optional(),
55
- conversation_flow_id: zod.z.string().describe("ID of the conversation flow to use")
55
+ conversation_flow_id: zod.z.string().describe("ID of the conversation flow to use").nullable()
56
56
  }).describe("Response engine using Conversation Flow");
57
57
  const RetellaiUpdateTestCaseDefinitionOutput = zod.z.object({
58
- name: zod.z.string().describe("Name of the test case definition"),
59
- type: zod.z.string().describe("Type of the test case definition"),
58
+ name: zod.z.string().describe("Name of the test case definition").nullable(),
59
+ type: zod.z.string().describe("Type of the test case definition").nullable(),
60
60
  metrics: zod.z.array(zod.z.string()).describe("Array of metric names being evaluated"),
61
- llm_model: zod.z.string().describe("LLM model used for the test case"),
61
+ llm_model: zod.z.string().describe("LLM model used for the test case").nullable(),
62
62
  tool_mocks: zod.z.array(RetellaiUpdateTestCaseDefinition_ToolMockSchema).describe("Mock tool calls configuration"),
63
- user_prompt: zod.z.string().describe("User prompt simulated in the test case"),
63
+ user_prompt: zod.z.string().describe("User prompt simulated in the test case").nullable(),
64
64
  response_engine: zod.z.union([RetellaiUpdateTestCaseDefinition_ResponseEngineRetellLlmSchema, RetellaiUpdateTestCaseDefinition_ResponseEngineConversationFlowSchema]),
65
65
  dynamic_variables: zod.z.object({}).describe("Dynamic variables injected into the response engine"),
66
- creation_timestamp: zod.z.number().int().describe("Timestamp when the test case definition was created"),
67
- test_case_definition_id: zod.z.string().describe("Unique identifier of the test case definition"),
68
- user_modified_timestamp: zod.z.number().int().describe("Timestamp when the test case definition was last modified")
66
+ creation_timestamp: zod.z.number().int().describe("Timestamp when the test case definition was created").nullable(),
67
+ test_case_definition_id: zod.z.string().describe("Unique identifier of the test case definition").nullable(),
68
+ user_modified_timestamp: zod.z.number().int().describe("Timestamp when the test case definition was last modified").nullable()
69
69
  }).describe("Response schema for `UpdateTestCaseDefinition`");
70
70
  const retellaiUpdateTestCaseDefinition = require_action.action("RETELLAI_UPDATE_TEST_CASE_DEFINITION", {
71
71
  slug: "retellai-update-test-case-definition",
@@ -1 +1 @@
1
- {"version":3,"file":"update-test-case-definition.cjs","names":["z","action"],"sources":["../../src/actions/update-test-case-definition.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiUpdateTestCaseDefinitionInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the test case definition\").optional(),\n metrics: z.array(z.string()).describe(\"Array of metric names to evaluate\").optional(),\n llm_model: z.enum([\"gpt-4.1\", \"gpt-4.1-mini\", \"gpt-4.1-nano\", \"gpt-5\", \"gpt-5.1\", \"gpt-5.2\", \"gpt-5-mini\", \"gpt-5-nano\", \"claude-4.5-sonnet\", \"claude-4.5-haiku\", \"gemini-2.5-flash\", \"gemini-2.5-flash-lite\", \"gemini-3.0-flash\"]).describe(\"Available LLM models for agents\").optional(),\n tool_mocks: z.array(z.object({\n output: z.string().describe(\"Mocked output to return when this tool is called\"),\n result: z.boolean().describe(\"Expected result status of the tool call\").optional(),\n tool_name: z.string().describe(\"Name of the tool to mock\"),\n input_match_rule: z.record(z.string(), z.unknown()).describe(\"Rule to match input parameters for this mock\"),\n}).describe(\"Mock configuration for tool calls during testing\")).describe(\"Mock tool calls for testing\").optional(),\n user_prompt: z.string().describe(\"User prompt to simulate in the test case\").optional(),\n response_engine: z.union([z.object({\n type: z.string().describe(\"Type of response engine, should be 'retell-llm'\"),\n llm_id: z.string().describe(\"ID of the Retell LLM to use\"),\n version: z.number().nullable().optional(),\n}).describe(\"Response engine using Retell LLM\"), z.object({\n type: z.string().describe(\"Type of response engine, should be 'conversation-flow'\"),\n version: z.number().nullable().optional(),\n conversation_flow_id: z.string().describe(\"ID of the conversation flow to use\"),\n}).describe(\"Response engine using Conversation Flow\")]).optional(),\n dynamic_variables: z.object({}).describe(\"Dynamic variables to inject into the response engine\").optional(),\n test_case_definition_id: z.string().describe(\"ID of the test case definition to update\"),\n}).describe(\"Request schema for `UpdateTestCaseDefinition`\");\nconst RetellaiUpdateTestCaseDefinition_ToolMockSchema: z.ZodTypeAny = z.object({\n output: z.string().describe(\"Mocked output to return when this tool is called\"),\n result: z.boolean().describe(\"Expected result status of the tool call\").nullable().optional(),\n tool_name: z.string().describe(\"Name of the tool to mock\"),\n input_match_rule: z.record(z.string(), z.unknown()).describe(\"Rule to match input parameters for this mock\"),\n}).describe(\"Mock configuration for tool calls during testing\");\nconst RetellaiUpdateTestCaseDefinition_ResponseEngineRetellLlmSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of response engine, should be 'retell-llm'\"),\n llm_id: z.string().describe(\"ID of the Retell LLM to use\"),\n version: z.number().describe(\"Version of the LLM\").nullable().optional(),\n}).describe(\"Response engine using Retell LLM\");\nconst RetellaiUpdateTestCaseDefinition_ResponseEngineConversationFlowSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of response engine, should be 'conversation-flow'\"),\n version: z.number().describe(\"Version of the conversation flow\").nullable().optional(),\n conversation_flow_id: z.string().describe(\"ID of the conversation flow to use\"),\n}).describe(\"Response engine using Conversation Flow\");\nexport const RetellaiUpdateTestCaseDefinitionOutput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the test case definition\"),\n type: z.string().describe(\"Type of the test case definition\"),\n metrics: z.array(z.string()).describe(\"Array of metric names being evaluated\"),\n llm_model: z.string().describe(\"LLM model used for the test case\"),\n tool_mocks: z.array(RetellaiUpdateTestCaseDefinition_ToolMockSchema).describe(\"Mock tool calls configuration\"),\n user_prompt: z.string().describe(\"User prompt simulated in the test case\"),\n response_engine: z.union([RetellaiUpdateTestCaseDefinition_ResponseEngineRetellLlmSchema, RetellaiUpdateTestCaseDefinition_ResponseEngineConversationFlowSchema]),\n dynamic_variables: z.object({}).describe(\"Dynamic variables injected into the response engine\"),\n creation_timestamp: z.number().int().describe(\"Timestamp when the test case definition was created\"),\n test_case_definition_id: z.string().describe(\"Unique identifier of the test case definition\"),\n user_modified_timestamp: z.number().int().describe(\"Timestamp when the test case definition was last modified\"),\n}).describe(\"Response schema for `UpdateTestCaseDefinition`\");\n\nexport const retellaiUpdateTestCaseDefinition = action(\"RETELLAI_UPDATE_TEST_CASE_DEFINITION\", {\n slug: \"retellai-update-test-case-definition\",\n name: \"Update test case definition\",\n description: \"Update a test case definition for agent testing. Use when modifying test scenarios, metrics, or mock configurations for Retell AI agent validation.\",\n input: RetellaiUpdateTestCaseDefinitionInput,\n output: RetellaiUpdateTestCaseDefinitionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsDA,IAAAA,EAAE,OAAO;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACpF,WAAWA,IAAAA,EAAE,KAAK;EAAC;EA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EAAE,OAAO;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC5D,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CACjE,YAAYA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,+BAA+B;CAC7G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACzE,iBAAiBA,IAAAA,EAAE,MAAM,CAAC,gEAAgE,qEAAqE,CAAC;CAChK,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qDAAqD;CAC9F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;CACnG,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC5F,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;AAChH,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-test-case-definition.cjs","names":["z","action"],"sources":["../../src/actions/update-test-case-definition.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiUpdateTestCaseDefinitionInput = z.object({\n name: z.string().describe(\"Name of the test case definition\").optional(),\n metrics: z.array(z.string()).describe(\"Array of metric names to evaluate\").optional(),\n llm_model: z.enum([\"gpt-4.1\", \"gpt-4.1-mini\", \"gpt-4.1-nano\", \"gpt-5\", \"gpt-5.1\", \"gpt-5.2\", \"gpt-5-mini\", \"gpt-5-nano\", \"claude-4.5-sonnet\", \"claude-4.5-haiku\", \"gemini-2.5-flash\", \"gemini-2.5-flash-lite\", \"gemini-3.0-flash\"]).describe(\"Available LLM models for agents\").optional(),\n tool_mocks: z.array(z.object({\n output: z.string().describe(\"Mocked output to return when this tool is called\"),\n result: z.boolean().describe(\"Expected result status of the tool call\").optional(),\n tool_name: z.string().describe(\"Name of the tool to mock\"),\n input_match_rule: z.record(z.string(), z.unknown()).describe(\"Rule to match input parameters for this mock\"),\n}).describe(\"Mock configuration for tool calls during testing\")).describe(\"Mock tool calls for testing\").optional(),\n user_prompt: z.string().describe(\"User prompt to simulate in the test case\").optional(),\n response_engine: z.union([z.object({\n type: z.string().describe(\"Type of response engine, should be 'retell-llm'\"),\n llm_id: z.string().describe(\"ID of the Retell LLM to use\"),\n version: z.number().nullable().optional(),\n}).describe(\"Response engine using Retell LLM\"), z.object({\n type: z.string().describe(\"Type of response engine, should be 'conversation-flow'\"),\n version: z.number().nullable().optional(),\n conversation_flow_id: z.string().describe(\"ID of the conversation flow to use\"),\n}).describe(\"Response engine using Conversation Flow\")]).optional(),\n dynamic_variables: z.object({}).describe(\"Dynamic variables to inject into the response engine\").optional(),\n test_case_definition_id: z.string().describe(\"ID of the test case definition to update\"),\n}).describe(\"Request schema for `UpdateTestCaseDefinition`\");\nconst RetellaiUpdateTestCaseDefinition_ToolMockSchema = z.object({\n output: z.string().describe(\"Mocked output to return when this tool is called\").nullable(),\n result: z.boolean().describe(\"Expected result status of the tool call\").nullable().optional(),\n tool_name: z.string().describe(\"Name of the tool to mock\").nullable(),\n input_match_rule: z.record(z.string(), z.unknown()).describe(\"Rule to match input parameters for this mock\"),\n}).describe(\"Mock configuration for tool calls during testing\");\nconst RetellaiUpdateTestCaseDefinition_ResponseEngineRetellLlmSchema = z.object({\n type: z.string().describe(\"Type of response engine, should be 'retell-llm'\").nullable(),\n llm_id: z.string().describe(\"ID of the Retell LLM to use\").nullable(),\n version: z.number().describe(\"Version of the LLM\").nullable().optional(),\n}).describe(\"Response engine using Retell LLM\");\nconst RetellaiUpdateTestCaseDefinition_ResponseEngineConversationFlowSchema = z.object({\n type: z.string().describe(\"Type of response engine, should be 'conversation-flow'\").nullable(),\n version: z.number().describe(\"Version of the conversation flow\").nullable().optional(),\n conversation_flow_id: z.string().describe(\"ID of the conversation flow to use\").nullable(),\n}).describe(\"Response engine using Conversation Flow\");\nexport const RetellaiUpdateTestCaseDefinitionOutput = 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 names being evaluated\"),\n llm_model: z.string().describe(\"LLM model used for the test case\").nullable(),\n tool_mocks: z.array(RetellaiUpdateTestCaseDefinition_ToolMockSchema).describe(\"Mock tool calls configuration\"),\n user_prompt: z.string().describe(\"User prompt simulated in the test case\").nullable(),\n response_engine: z.union([RetellaiUpdateTestCaseDefinition_ResponseEngineRetellLlmSchema, RetellaiUpdateTestCaseDefinition_ResponseEngineConversationFlowSchema]),\n dynamic_variables: z.object({}).describe(\"Dynamic variables injected into the response engine\"),\n creation_timestamp: z.number().int().describe(\"Timestamp when the test case definition was created\").nullable(),\n test_case_definition_id: z.string().describe(\"Unique identifier of the test case definition\").nullable(),\n user_modified_timestamp: z.number().int().describe(\"Timestamp when the test case definition was last modified\").nullable(),\n}).describe(\"Response schema for `UpdateTestCaseDefinition`\");\n\nexport const retellaiUpdateTestCaseDefinition = action(\"RETELLAI_UPDATE_TEST_CASE_DEFINITION\", {\n slug: \"retellai-update-test-case-definition\",\n name: \"Update test case definition\",\n description: \"Update a test case definition for agent testing. Use when modifying test scenarios, metrics, or mock configurations for Retell AI agent validation.\",\n input: RetellaiUpdateTestCaseDefinitionInput,\n output: RetellaiUpdateTestCaseDefinitionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,I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AS,gDAAgD;AAE5D,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,92 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-test-case-definition.d.ts
4
- declare const RetellaiUpdateTestCaseDefinitionInput: z.ZodTypeAny;
5
- declare const RetellaiUpdateTestCaseDefinitionOutput: z.ZodTypeAny;
6
- declare const retellaiUpdateTestCaseDefinition: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RetellaiUpdateTestCaseDefinitionInput: z.ZodObject<{
5
+ name: z.ZodOptional<z.ZodString>;
6
+ metrics: z.ZodOptional<z.ZodArray<z.ZodString>>;
7
+ llm_model: z.ZodOptional<z.ZodEnum<{
8
+ "gpt-4.1": "gpt-4.1";
9
+ "gpt-4.1-mini": "gpt-4.1-mini";
10
+ "gpt-4.1-nano": "gpt-4.1-nano";
11
+ "gpt-5": "gpt-5";
12
+ "gpt-5.1": "gpt-5.1";
13
+ "gpt-5.2": "gpt-5.2";
14
+ "gpt-5-mini": "gpt-5-mini";
15
+ "gpt-5-nano": "gpt-5-nano";
16
+ "claude-4.5-sonnet": "claude-4.5-sonnet";
17
+ "claude-4.5-haiku": "claude-4.5-haiku";
18
+ "gemini-2.5-flash": "gemini-2.5-flash";
19
+ "gemini-2.5-flash-lite": "gemini-2.5-flash-lite";
20
+ "gemini-3.0-flash": "gemini-3.0-flash";
21
+ }>>;
22
+ tool_mocks: z.ZodOptional<z.ZodArray<z.ZodObject<{
23
+ output: z.ZodString;
24
+ result: z.ZodOptional<z.ZodBoolean>;
25
+ tool_name: z.ZodString;
26
+ input_match_rule: z.ZodRecord<z.ZodString, z.ZodUnknown>;
27
+ }, z.core.$strip>>>;
28
+ user_prompt: z.ZodOptional<z.ZodString>;
29
+ response_engine: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
30
+ type: z.ZodString;
31
+ llm_id: z.ZodString;
32
+ version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
33
+ }, z.core.$strip>, z.ZodObject<{
34
+ type: z.ZodString;
35
+ version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
36
+ conversation_flow_id: z.ZodString;
37
+ }, z.core.$strip>]>>;
38
+ dynamic_variables: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
39
+ test_case_definition_id: z.ZodString;
40
+ }, z.core.$strip>;
41
+ declare const RetellaiUpdateTestCaseDefinitionOutput: z.ZodObject<{
42
+ name: z.ZodNullable<z.ZodString>;
43
+ type: z.ZodNullable<z.ZodString>;
44
+ metrics: z.ZodArray<z.ZodString>;
45
+ llm_model: z.ZodNullable<z.ZodString>;
46
+ tool_mocks: z.ZodArray<z.ZodObject<{
47
+ output: z.ZodNullable<z.ZodString>;
48
+ result: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
49
+ tool_name: z.ZodNullable<z.ZodString>;
50
+ input_match_rule: z.ZodRecord<z.ZodString, z.ZodUnknown>;
51
+ }, z.core.$strip>>;
52
+ user_prompt: z.ZodNullable<z.ZodString>;
53
+ response_engine: z.ZodUnion<readonly [z.ZodObject<{
54
+ type: z.ZodNullable<z.ZodString>;
55
+ llm_id: z.ZodNullable<z.ZodString>;
56
+ version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
57
+ }, z.core.$strip>, z.ZodObject<{
58
+ type: z.ZodNullable<z.ZodString>;
59
+ version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
60
+ conversation_flow_id: z.ZodNullable<z.ZodString>;
61
+ }, z.core.$strip>]>;
62
+ dynamic_variables: z.ZodObject<{}, z.core.$strip>;
63
+ creation_timestamp: z.ZodNullable<z.ZodNumber>;
64
+ test_case_definition_id: z.ZodNullable<z.ZodString>;
65
+ user_modified_timestamp: z.ZodNullable<z.ZodNumber>;
66
+ }, z.core.$strip>;
67
+ declare const retellaiUpdateTestCaseDefinition: import("@keystrokehq/action").WorkflowActionDefinition<{
68
+ test_case_definition_id: string;
69
+ name?: string | undefined;
70
+ metrics?: string[] | undefined;
71
+ llm_model?: "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-nano" | "gpt-5" | "gpt-5.1" | "gpt-5.2" | "gpt-5-mini" | "gpt-5-nano" | "claude-4.5-sonnet" | "claude-4.5-haiku" | "gemini-2.5-flash" | "gemini-2.5-flash-lite" | "gemini-3.0-flash" | undefined;
72
+ tool_mocks?: {
73
+ output: string;
74
+ tool_name: string;
75
+ input_match_rule: Record<string, unknown>;
76
+ result?: boolean | undefined;
77
+ }[] | undefined;
78
+ user_prompt?: string | undefined;
79
+ response_engine?: {
80
+ type: string;
81
+ llm_id: string;
82
+ version?: number | null | undefined;
83
+ } | {
84
+ type: string;
85
+ conversation_flow_id: string;
86
+ version?: number | null | undefined;
87
+ } | undefined;
88
+ dynamic_variables?: Record<string, never> | undefined;
89
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
90
  //#endregion
8
91
  export { retellaiUpdateTestCaseDefinition };
9
92
  //# sourceMappingURL=update-test-case-definition.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-test-case-definition.d.cts","names":[],"sources":["../../src/actions/update-test-case-definition.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAsBM;AAAA,cAiB/C,sCAAA,EAAwC,CAAA,CAAE,UAYM;AAAA,cAEhD,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-test-case-definition.d.cts","names":[],"sources":["../../src/actions/update-test-case-definition.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuCrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cActC,gCAAA,gCAAgC,wBAAA;;;;;;;;sBAM3C,MAAA;;;;;;;;;;;;;sBAAA,MAAA;AAAA"}
@@ -1,9 +1,92 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-test-case-definition.d.ts
4
- declare const RetellaiUpdateTestCaseDefinitionInput: z.ZodTypeAny;
5
- declare const RetellaiUpdateTestCaseDefinitionOutput: z.ZodTypeAny;
6
- declare const retellaiUpdateTestCaseDefinition: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RetellaiUpdateTestCaseDefinitionInput: z.ZodObject<{
5
+ name: z.ZodOptional<z.ZodString>;
6
+ metrics: z.ZodOptional<z.ZodArray<z.ZodString>>;
7
+ llm_model: z.ZodOptional<z.ZodEnum<{
8
+ "gpt-4.1": "gpt-4.1";
9
+ "gpt-4.1-mini": "gpt-4.1-mini";
10
+ "gpt-4.1-nano": "gpt-4.1-nano";
11
+ "gpt-5": "gpt-5";
12
+ "gpt-5.1": "gpt-5.1";
13
+ "gpt-5.2": "gpt-5.2";
14
+ "gpt-5-mini": "gpt-5-mini";
15
+ "gpt-5-nano": "gpt-5-nano";
16
+ "claude-4.5-sonnet": "claude-4.5-sonnet";
17
+ "claude-4.5-haiku": "claude-4.5-haiku";
18
+ "gemini-2.5-flash": "gemini-2.5-flash";
19
+ "gemini-2.5-flash-lite": "gemini-2.5-flash-lite";
20
+ "gemini-3.0-flash": "gemini-3.0-flash";
21
+ }>>;
22
+ tool_mocks: z.ZodOptional<z.ZodArray<z.ZodObject<{
23
+ output: z.ZodString;
24
+ result: z.ZodOptional<z.ZodBoolean>;
25
+ tool_name: z.ZodString;
26
+ input_match_rule: z.ZodRecord<z.ZodString, z.ZodUnknown>;
27
+ }, z.core.$strip>>>;
28
+ user_prompt: z.ZodOptional<z.ZodString>;
29
+ response_engine: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
30
+ type: z.ZodString;
31
+ llm_id: z.ZodString;
32
+ version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
33
+ }, z.core.$strip>, z.ZodObject<{
34
+ type: z.ZodString;
35
+ version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
36
+ conversation_flow_id: z.ZodString;
37
+ }, z.core.$strip>]>>;
38
+ dynamic_variables: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
39
+ test_case_definition_id: z.ZodString;
40
+ }, z.core.$strip>;
41
+ declare const RetellaiUpdateTestCaseDefinitionOutput: z.ZodObject<{
42
+ name: z.ZodNullable<z.ZodString>;
43
+ type: z.ZodNullable<z.ZodString>;
44
+ metrics: z.ZodArray<z.ZodString>;
45
+ llm_model: z.ZodNullable<z.ZodString>;
46
+ tool_mocks: z.ZodArray<z.ZodObject<{
47
+ output: z.ZodNullable<z.ZodString>;
48
+ result: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
49
+ tool_name: z.ZodNullable<z.ZodString>;
50
+ input_match_rule: z.ZodRecord<z.ZodString, z.ZodUnknown>;
51
+ }, z.core.$strip>>;
52
+ user_prompt: z.ZodNullable<z.ZodString>;
53
+ response_engine: z.ZodUnion<readonly [z.ZodObject<{
54
+ type: z.ZodNullable<z.ZodString>;
55
+ llm_id: z.ZodNullable<z.ZodString>;
56
+ version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
57
+ }, z.core.$strip>, z.ZodObject<{
58
+ type: z.ZodNullable<z.ZodString>;
59
+ version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
60
+ conversation_flow_id: z.ZodNullable<z.ZodString>;
61
+ }, z.core.$strip>]>;
62
+ dynamic_variables: z.ZodObject<{}, z.core.$strip>;
63
+ creation_timestamp: z.ZodNullable<z.ZodNumber>;
64
+ test_case_definition_id: z.ZodNullable<z.ZodString>;
65
+ user_modified_timestamp: z.ZodNullable<z.ZodNumber>;
66
+ }, z.core.$strip>;
67
+ declare const retellaiUpdateTestCaseDefinition: import("@keystrokehq/action").WorkflowActionDefinition<{
68
+ test_case_definition_id: string;
69
+ name?: string | undefined;
70
+ metrics?: string[] | undefined;
71
+ llm_model?: "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-nano" | "gpt-5" | "gpt-5.1" | "gpt-5.2" | "gpt-5-mini" | "gpt-5-nano" | "claude-4.5-sonnet" | "claude-4.5-haiku" | "gemini-2.5-flash" | "gemini-2.5-flash-lite" | "gemini-3.0-flash" | undefined;
72
+ tool_mocks?: {
73
+ output: string;
74
+ tool_name: string;
75
+ input_match_rule: Record<string, unknown>;
76
+ result?: boolean | undefined;
77
+ }[] | undefined;
78
+ user_prompt?: string | undefined;
79
+ response_engine?: {
80
+ type: string;
81
+ llm_id: string;
82
+ version?: number | null | undefined;
83
+ } | {
84
+ type: string;
85
+ conversation_flow_id: string;
86
+ version?: number | null | undefined;
87
+ } | undefined;
88
+ dynamic_variables?: Record<string, never> | undefined;
89
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
90
  //#endregion
8
91
  export { retellaiUpdateTestCaseDefinition };
9
92
  //# sourceMappingURL=update-test-case-definition.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-test-case-definition.d.mts","names":[],"sources":["../../src/actions/update-test-case-definition.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAsBM;AAAA,cAiB/C,sCAAA,EAAwC,CAAA,CAAE,UAYM;AAAA,cAEhD,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-test-case-definition.d.mts","names":[],"sources":["../../src/actions/update-test-case-definition.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuCrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cActC,gCAAA,gCAAgC,wBAAA;;;;;;;;sBAM3C,MAAA;;;;;;;;;;;;;sBAAA,MAAA;AAAA"}
@@ -39,20 +39,20 @@ const RetellaiUpdateTestCaseDefinitionInput = z.object({
39
39
  test_case_definition_id: z.string().describe("ID of the test case definition to update")
40
40
  }).describe("Request schema for `UpdateTestCaseDefinition`");
41
41
  const RetellaiUpdateTestCaseDefinition_ToolMockSchema = z.object({
42
- output: z.string().describe("Mocked output to return when this tool is called"),
42
+ output: z.string().describe("Mocked output to return when this tool is called").nullable(),
43
43
  result: z.boolean().describe("Expected result status of the tool call").nullable().optional(),
44
- tool_name: z.string().describe("Name of the tool to mock"),
44
+ tool_name: z.string().describe("Name of the tool to mock").nullable(),
45
45
  input_match_rule: z.record(z.string(), z.unknown()).describe("Rule to match input parameters for this mock")
46
46
  }).describe("Mock configuration for tool calls during testing");
47
47
  const RetellaiUpdateTestCaseDefinition_ResponseEngineRetellLlmSchema = z.object({
48
- type: z.string().describe("Type of response engine, should be 'retell-llm'"),
49
- llm_id: z.string().describe("ID of the Retell LLM to use"),
48
+ type: z.string().describe("Type of response engine, should be 'retell-llm'").nullable(),
49
+ llm_id: z.string().describe("ID of the Retell LLM to use").nullable(),
50
50
  version: z.number().describe("Version of the LLM").nullable().optional()
51
51
  }).describe("Response engine using Retell LLM");
52
52
  const RetellaiUpdateTestCaseDefinition_ResponseEngineConversationFlowSchema = z.object({
53
- type: z.string().describe("Type of response engine, should be 'conversation-flow'"),
53
+ type: z.string().describe("Type of response engine, should be 'conversation-flow'").nullable(),
54
54
  version: z.number().describe("Version of the conversation flow").nullable().optional(),
55
- conversation_flow_id: z.string().describe("ID of the conversation flow to use")
55
+ conversation_flow_id: z.string().describe("ID of the conversation flow to use").nullable()
56
56
  }).describe("Response engine using Conversation Flow");
57
57
  const retellaiUpdateTestCaseDefinition = action("RETELLAI_UPDATE_TEST_CASE_DEFINITION", {
58
58
  slug: "retellai-update-test-case-definition",
@@ -60,17 +60,17 @@ const retellaiUpdateTestCaseDefinition = action("RETELLAI_UPDATE_TEST_CASE_DEFIN
60
60
  description: "Update a test case definition for agent testing. Use when modifying test scenarios, metrics, or mock configurations for Retell AI agent validation.",
61
61
  input: RetellaiUpdateTestCaseDefinitionInput,
62
62
  output: z.object({
63
- name: z.string().describe("Name of the test case definition"),
64
- type: z.string().describe("Type of the test case definition"),
63
+ name: z.string().describe("Name of the test case definition").nullable(),
64
+ type: z.string().describe("Type of the test case definition").nullable(),
65
65
  metrics: z.array(z.string()).describe("Array of metric names being evaluated"),
66
- llm_model: z.string().describe("LLM model used for the test case"),
66
+ llm_model: z.string().describe("LLM model used for the test case").nullable(),
67
67
  tool_mocks: z.array(RetellaiUpdateTestCaseDefinition_ToolMockSchema).describe("Mock tool calls configuration"),
68
- user_prompt: z.string().describe("User prompt simulated in the test case"),
68
+ user_prompt: z.string().describe("User prompt simulated in the test case").nullable(),
69
69
  response_engine: z.union([RetellaiUpdateTestCaseDefinition_ResponseEngineRetellLlmSchema, RetellaiUpdateTestCaseDefinition_ResponseEngineConversationFlowSchema]),
70
70
  dynamic_variables: z.object({}).describe("Dynamic variables injected into the response engine"),
71
- creation_timestamp: z.number().int().describe("Timestamp when the test case definition was created"),
72
- test_case_definition_id: z.string().describe("Unique identifier of the test case definition"),
73
- user_modified_timestamp: z.number().int().describe("Timestamp when the test case definition was last modified")
71
+ creation_timestamp: z.number().int().describe("Timestamp when the test case definition was created").nullable(),
72
+ test_case_definition_id: z.string().describe("Unique identifier of the test case definition").nullable(),
73
+ user_modified_timestamp: z.number().int().describe("Timestamp when the test case definition was last modified").nullable()
74
74
  }).describe("Response schema for `UpdateTestCaseDefinition`")
75
75
  });
76
76
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"update-test-case-definition.mjs","names":[],"sources":["../../src/actions/update-test-case-definition.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiUpdateTestCaseDefinitionInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the test case definition\").optional(),\n metrics: z.array(z.string()).describe(\"Array of metric names to evaluate\").optional(),\n llm_model: z.enum([\"gpt-4.1\", \"gpt-4.1-mini\", \"gpt-4.1-nano\", \"gpt-5\", \"gpt-5.1\", \"gpt-5.2\", \"gpt-5-mini\", \"gpt-5-nano\", \"claude-4.5-sonnet\", \"claude-4.5-haiku\", \"gemini-2.5-flash\", \"gemini-2.5-flash-lite\", \"gemini-3.0-flash\"]).describe(\"Available LLM models for agents\").optional(),\n tool_mocks: z.array(z.object({\n output: z.string().describe(\"Mocked output to return when this tool is called\"),\n result: z.boolean().describe(\"Expected result status of the tool call\").optional(),\n tool_name: z.string().describe(\"Name of the tool to mock\"),\n input_match_rule: z.record(z.string(), z.unknown()).describe(\"Rule to match input parameters for this mock\"),\n}).describe(\"Mock configuration for tool calls during testing\")).describe(\"Mock tool calls for testing\").optional(),\n user_prompt: z.string().describe(\"User prompt to simulate in the test case\").optional(),\n response_engine: z.union([z.object({\n type: z.string().describe(\"Type of response engine, should be 'retell-llm'\"),\n llm_id: z.string().describe(\"ID of the Retell LLM to use\"),\n version: z.number().nullable().optional(),\n}).describe(\"Response engine using Retell LLM\"), z.object({\n type: z.string().describe(\"Type of response engine, should be 'conversation-flow'\"),\n version: z.number().nullable().optional(),\n conversation_flow_id: z.string().describe(\"ID of the conversation flow to use\"),\n}).describe(\"Response engine using Conversation Flow\")]).optional(),\n dynamic_variables: z.object({}).describe(\"Dynamic variables to inject into the response engine\").optional(),\n test_case_definition_id: z.string().describe(\"ID of the test case definition to update\"),\n}).describe(\"Request schema for `UpdateTestCaseDefinition`\");\nconst RetellaiUpdateTestCaseDefinition_ToolMockSchema: z.ZodTypeAny = z.object({\n output: z.string().describe(\"Mocked output to return when this tool is called\"),\n result: z.boolean().describe(\"Expected result status of the tool call\").nullable().optional(),\n tool_name: z.string().describe(\"Name of the tool to mock\"),\n input_match_rule: z.record(z.string(), z.unknown()).describe(\"Rule to match input parameters for this mock\"),\n}).describe(\"Mock configuration for tool calls during testing\");\nconst RetellaiUpdateTestCaseDefinition_ResponseEngineRetellLlmSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of response engine, should be 'retell-llm'\"),\n llm_id: z.string().describe(\"ID of the Retell LLM to use\"),\n version: z.number().describe(\"Version of the LLM\").nullable().optional(),\n}).describe(\"Response engine using Retell LLM\");\nconst RetellaiUpdateTestCaseDefinition_ResponseEngineConversationFlowSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of response engine, should be 'conversation-flow'\"),\n version: z.number().describe(\"Version of the conversation flow\").nullable().optional(),\n conversation_flow_id: z.string().describe(\"ID of the conversation flow to use\"),\n}).describe(\"Response engine using Conversation Flow\");\nexport const RetellaiUpdateTestCaseDefinitionOutput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the test case definition\"),\n type: z.string().describe(\"Type of the test case definition\"),\n metrics: z.array(z.string()).describe(\"Array of metric names being evaluated\"),\n llm_model: z.string().describe(\"LLM model used for the test case\"),\n tool_mocks: z.array(RetellaiUpdateTestCaseDefinition_ToolMockSchema).describe(\"Mock tool calls configuration\"),\n user_prompt: z.string().describe(\"User prompt simulated in the test case\"),\n response_engine: z.union([RetellaiUpdateTestCaseDefinition_ResponseEngineRetellLlmSchema, RetellaiUpdateTestCaseDefinition_ResponseEngineConversationFlowSchema]),\n dynamic_variables: z.object({}).describe(\"Dynamic variables injected into the response engine\"),\n creation_timestamp: z.number().int().describe(\"Timestamp when the test case definition was created\"),\n test_case_definition_id: z.string().describe(\"Unique identifier of the test case definition\"),\n user_modified_timestamp: z.number().int().describe(\"Timestamp when the test case definition was last modified\"),\n}).describe(\"Response schema for `UpdateTestCaseDefinition`\");\n\nexport const retellaiUpdateTestCaseDefinition = action(\"RETELLAI_UPDATE_TEST_CASE_DEFINITION\", {\n slug: \"retellai-update-test-case-definition\",\n name: \"Update test case definition\",\n description: \"Update a test case definition for agent testing. Use when modifying test scenarios, metrics, or mock configurations for Retell AI agent validation.\",\n input: RetellaiUpdateTestCaseDefinitionInput,\n output: RetellaiUpdateTestCaseDefinitionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsD,EAAE,OAAO;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACpF,WAAW,EAAE,KAAK;EAAC;EAAW;EAAgB;EAAgB;EAAS;EAAW;EAAW;EAAc;EAAc;EAAqB;EAAoB;EAAoB;EAAyB;CAAkB,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzR,YAAY,EAAE,MAAM,EAAE,OAAO;EAC7B,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;EAC9E,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACjF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;EACzD,kBAAkB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C;CAC7G,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAChH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACtF,iBAAiB,EAAE,MAAM,CAAC,EAAE,OAAO;EACnC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EAC3E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;EACzD,SAAS,EAAE,OAAO,CAAC,CAAC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,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;AAChF,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAerD,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAnBkE,EAAE,OAAO;EAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC5D,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC;EAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EACjE,YAAY,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,+BAA+B;EAC7G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EACzE,iBAAiB,EAAE,MAAM,CAAC,gEAAgE,qEAAqE,CAAC;EAChK,mBAAmB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qDAAqD;EAC9F,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;EACnG,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EAC5F,yBAAyB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CAChH,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-test-case-definition.mjs","names":[],"sources":["../../src/actions/update-test-case-definition.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetellaiUpdateTestCaseDefinitionInput = z.object({\n name: z.string().describe(\"Name of the test case definition\").optional(),\n metrics: z.array(z.string()).describe(\"Array of metric names to evaluate\").optional(),\n llm_model: z.enum([\"gpt-4.1\", \"gpt-4.1-mini\", \"gpt-4.1-nano\", \"gpt-5\", \"gpt-5.1\", \"gpt-5.2\", \"gpt-5-mini\", \"gpt-5-nano\", \"claude-4.5-sonnet\", \"claude-4.5-haiku\", \"gemini-2.5-flash\", \"gemini-2.5-flash-lite\", \"gemini-3.0-flash\"]).describe(\"Available LLM models for agents\").optional(),\n tool_mocks: z.array(z.object({\n output: z.string().describe(\"Mocked output to return when this tool is called\"),\n result: z.boolean().describe(\"Expected result status of the tool call\").optional(),\n tool_name: z.string().describe(\"Name of the tool to mock\"),\n input_match_rule: z.record(z.string(), z.unknown()).describe(\"Rule to match input parameters for this mock\"),\n}).describe(\"Mock configuration for tool calls during testing\")).describe(\"Mock tool calls for testing\").optional(),\n user_prompt: z.string().describe(\"User prompt to simulate in the test case\").optional(),\n response_engine: z.union([z.object({\n type: z.string().describe(\"Type of response engine, should be 'retell-llm'\"),\n llm_id: z.string().describe(\"ID of the Retell LLM to use\"),\n version: z.number().nullable().optional(),\n}).describe(\"Response engine using Retell LLM\"), z.object({\n type: z.string().describe(\"Type of response engine, should be 'conversation-flow'\"),\n version: z.number().nullable().optional(),\n conversation_flow_id: z.string().describe(\"ID of the conversation flow to use\"),\n}).describe(\"Response engine using Conversation Flow\")]).optional(),\n dynamic_variables: z.object({}).describe(\"Dynamic variables to inject into the response engine\").optional(),\n test_case_definition_id: z.string().describe(\"ID of the test case definition to update\"),\n}).describe(\"Request schema for `UpdateTestCaseDefinition`\");\nconst RetellaiUpdateTestCaseDefinition_ToolMockSchema = z.object({\n output: z.string().describe(\"Mocked output to return when this tool is called\").nullable(),\n result: z.boolean().describe(\"Expected result status of the tool call\").nullable().optional(),\n tool_name: z.string().describe(\"Name of the tool to mock\").nullable(),\n input_match_rule: z.record(z.string(), z.unknown()).describe(\"Rule to match input parameters for this mock\"),\n}).describe(\"Mock configuration for tool calls during testing\");\nconst RetellaiUpdateTestCaseDefinition_ResponseEngineRetellLlmSchema = z.object({\n type: z.string().describe(\"Type of response engine, should be 'retell-llm'\").nullable(),\n llm_id: z.string().describe(\"ID of the Retell LLM to use\").nullable(),\n version: z.number().describe(\"Version of the LLM\").nullable().optional(),\n}).describe(\"Response engine using Retell LLM\");\nconst RetellaiUpdateTestCaseDefinition_ResponseEngineConversationFlowSchema = z.object({\n type: z.string().describe(\"Type of response engine, should be 'conversation-flow'\").nullable(),\n version: z.number().describe(\"Version of the conversation flow\").nullable().optional(),\n conversation_flow_id: z.string().describe(\"ID of the conversation flow to use\").nullable(),\n}).describe(\"Response engine using Conversation Flow\");\nexport const RetellaiUpdateTestCaseDefinitionOutput = 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 names being evaluated\"),\n llm_model: z.string().describe(\"LLM model used for the test case\").nullable(),\n tool_mocks: z.array(RetellaiUpdateTestCaseDefinition_ToolMockSchema).describe(\"Mock tool calls configuration\"),\n user_prompt: z.string().describe(\"User prompt simulated in the test case\").nullable(),\n response_engine: z.union([RetellaiUpdateTestCaseDefinition_ResponseEngineRetellLlmSchema, RetellaiUpdateTestCaseDefinition_ResponseEngineConversationFlowSchema]),\n dynamic_variables: z.object({}).describe(\"Dynamic variables injected into the response engine\"),\n creation_timestamp: z.number().int().describe(\"Timestamp when the test case definition was created\").nullable(),\n test_case_definition_id: z.string().describe(\"Unique identifier of the test case definition\").nullable(),\n user_modified_timestamp: z.number().int().describe(\"Timestamp when the test case definition was last modified\").nullable(),\n}).describe(\"Response schema for `UpdateTestCaseDefinition`\");\n\nexport const retellaiUpdateTestCaseDefinition = action(\"RETELLAI_UPDATE_TEST_CASE_DEFINITION\", {\n slug: \"retellai-update-test-case-definition\",\n name: \"Update test case definition\",\n description: \"Update a test case definition for agent testing. Use when modifying test scenarios, metrics, or mock configurations for Retell AI agent validation.\",\n input: RetellaiUpdateTestCaseDefinitionInput,\n output: RetellaiUpdateTestCaseDefinitionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,O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Aa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAnBoD,EAAE,OAAO;EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACvE,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC;EAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC5E,YAAY,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,+BAA+B;EAC7G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACpF,iBAAiB,EAAE,MAAM,CAAC,gEAAgE,qEAAqE,CAAC;EAChK,mBAAmB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qDAAqD;EAC9F,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAC9G,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACvG,yBAAyB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC3H,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -7,7 +7,13 @@ const retellaiCatalog = {
7
7
  "category": "Artificial Intelligence",
8
8
  "logo": "https://logos.composio.dev/api/retellai",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_key": {
12
+ "label": "API Key",
13
+ "secret": true,
14
+ "description": "Your Retell AI secret API key (starts with 'key_'). Find or create one in the Retell dashboard under Settings → API Keys."
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  exports.retellaiCatalog = retellaiCatalog;
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const retellaiCatalog = {\n \"slug\": \"retellai\",\n \"name\": \"Retell AI\",\n \"description\": \"RetellAI captures calls and transcripts, enabling businesses to analyze conversations, extract insights, and enhance customer interactions in one centralized platform\",\n \"category\": \"Artificial Intelligence\",\n \"logo\": \"https://logos.composio.dev/api/retellai\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const retellaiCatalog = {\n \"slug\": \"retellai\",\n \"name\": \"Retell AI\",\n \"description\": \"RetellAI captures calls and transcripts, enabling businesses to analyze conversations, extract insights, and enhance customer interactions in one centralized platform\",\n \"category\": \"Artificial Intelligence\",\n \"logo\": \"https://logos.composio.dev/api/retellai\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your Retell AI secret API key (starts with 'key_'). Find or create one in the Retell dashboard under Settings → API Keys.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
@@ -8,6 +8,14 @@ declare const retellaiCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/retellai";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "API Key";
14
+ readonly secret: true;
15
+ readonly description: "Your Retell AI secret API key (starts with 'key_'). Find or create one in the Retell dashboard under Settings → API Keys.";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { retellaiCatalog };
@@ -8,6 +8,14 @@ declare const retellaiCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/retellai";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "API Key";
14
+ readonly secret: true;
15
+ readonly description: "Your Retell AI secret API key (starts with 'key_'). Find or create one in the Retell dashboard under Settings → API Keys.";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { retellaiCatalog };
package/dist/catalog.mjs CHANGED
@@ -7,7 +7,13 @@ const retellaiCatalog = {
7
7
  "category": "Artificial Intelligence",
8
8
  "logo": "https://logos.composio.dev/api/retellai",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_key": {
12
+ "label": "API Key",
13
+ "secret": true,
14
+ "description": "Your Retell AI secret API key (starts with 'key_'). Find or create one in the Retell dashboard under Settings → API Keys."
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  export { retellaiCatalog };
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const retellaiCatalog = {\n \"slug\": \"retellai\",\n \"name\": \"Retell AI\",\n \"description\": \"RetellAI captures calls and transcripts, enabling businesses to analyze conversations, extract insights, and enhance customer interactions in one centralized platform\",\n \"category\": \"Artificial Intelligence\",\n \"logo\": \"https://logos.composio.dev/api/retellai\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const retellaiCatalog = {\n \"slug\": \"retellai\",\n \"name\": \"Retell AI\",\n \"description\": \"RetellAI captures calls and transcripts, enabling businesses to analyze conversations, extract insights, and enhance customer interactions in one centralized platform\",\n \"category\": \"Artificial Intelligence\",\n \"logo\": \"https://logos.composio.dev/api/retellai\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your Retell AI secret API key (starts with 'key_'). Find or create one in the Retell dashboard under Settings → API Keys.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/retellai",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": "^0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.4",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {