telnyx-mcp 4.5.0 → 4.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (232) hide show
  1. package/code-tool.js +1 -1
  2. package/code-tool.js.map +1 -1
  3. package/code-tool.mjs +1 -1
  4. package/code-tool.mjs.map +1 -1
  5. package/package.json +2 -2
  6. package/server.js +1 -1
  7. package/server.mjs +1 -1
  8. package/src/code-tool.ts +1 -1
  9. package/src/server.ts +1 -1
  10. package/src/tools/ai/chat/create-completion-ai-chat.ts +18 -4
  11. package/src/tools/brand/create-brand.ts +1 -1
  12. package/src/tools/brand/delete-brand.ts +1 -1
  13. package/src/tools/brand/external-vetting/import-brand-external-vetting.ts +1 -1
  14. package/src/tools/brand/external-vetting/list-brand-external-vetting.ts +1 -1
  15. package/src/tools/brand/external-vetting/order-brand-external-vetting.ts +1 -1
  16. package/src/tools/brand/get-feedback-brand.ts +1 -1
  17. package/src/tools/brand/list-brand.ts +1 -1
  18. package/src/tools/brand/resend-2fa-email-brand.ts +1 -1
  19. package/src/tools/brand/retrieve-brand.ts +1 -1
  20. package/src/tools/brand/revet-brand.ts +1 -1
  21. package/src/tools/brand/update-brand.ts +1 -1
  22. package/src/tools/calls/actions/answer-calls-actions.ts +58 -6
  23. package/src/tools/calls/actions/start-transcription-calls-actions.ts +58 -6
  24. package/src/tools/calls/dial-calls.ts +58 -6
  25. package/src/tools/campaign/accept-sharing-campaign.ts +1 -1
  26. package/src/tools/campaign/deactivate-campaign.ts +1 -1
  27. package/src/tools/campaign/get-mno-metadata-campaign.ts +1 -1
  28. package/src/tools/campaign/get-operation-status-campaign.ts +1 -1
  29. package/src/tools/campaign/get-sharing-status-campaign.ts +1 -1
  30. package/src/tools/campaign/list-campaign.ts +1 -1
  31. package/src/tools/campaign/osr/get-attributes-campaign-osr.ts +1 -1
  32. package/src/tools/campaign/retrieve-campaign.ts +1 -1
  33. package/src/tools/campaign/submit-appeal-campaign.ts +1 -1
  34. package/src/tools/campaign/update-campaign.ts +1 -1
  35. package/src/tools/campaign/usecase/get-cost-campaign-usecase.ts +1 -1
  36. package/src/tools/campaign-builder/brand/qualify-by-usecase-campaign-builder-brand.ts +1 -1
  37. package/src/tools/campaign-builder/create-campaign-builder.ts +1 -1
  38. package/src/tools/enum/retrieve-enum.ts +1 -1
  39. package/src/tools/messaging-hosted-number-orders/create-verification-codes-messaging-hosted-number-orders.ts +1 -1
  40. package/src/tools/partner-campaigns/list-partner-campaigns.ts +1 -1
  41. package/src/tools/partner-campaigns/list-shared-by-me-partner-campaigns.ts +1 -1
  42. package/src/tools/partner-campaigns/retrieve-partner-campaigns.ts +1 -1
  43. package/src/tools/partner-campaigns/retrieve-sharing-status-partner-campaigns.ts +1 -1
  44. package/src/tools/partner-campaigns/update-partner-campaigns.ts +1 -1
  45. package/src/tools/phone-number-assignment-by-profile/assign-phone-number-assignment-by-profile.ts +2 -2
  46. package/src/tools/phone-number-assignment-by-profile/retrieve-phone-number-status-phone-number-assignment-by-profile.ts +1 -1
  47. package/src/tools/phone-number-assignment-by-profile/retrieve-status-phone-number-assignment-by-profile.ts +1 -1
  48. package/src/tools/phone-number-campaigns/create-phone-number-campaigns.ts +1 -1
  49. package/src/tools/phone-number-campaigns/delete-phone-number-campaigns.ts +1 -1
  50. package/src/tools/phone-number-campaigns/list-phone-number-campaigns.ts +1 -1
  51. package/src/tools/phone-number-campaigns/retrieve-phone-number-campaigns.ts +1 -1
  52. package/src/tools/phone-number-campaigns/update-phone-number-campaigns.ts +1 -1
  53. package/tools/ai/chat/create-completion-ai-chat.d.mts.map +1 -1
  54. package/tools/ai/chat/create-completion-ai-chat.d.ts.map +1 -1
  55. package/tools/ai/chat/create-completion-ai-chat.js +21 -3
  56. package/tools/ai/chat/create-completion-ai-chat.js.map +1 -1
  57. package/tools/ai/chat/create-completion-ai-chat.mjs +19 -4
  58. package/tools/ai/chat/create-completion-ai-chat.mjs.map +1 -1
  59. package/tools/brand/create-brand.js +1 -1
  60. package/tools/brand/create-brand.js.map +1 -1
  61. package/tools/brand/create-brand.mjs +1 -1
  62. package/tools/brand/create-brand.mjs.map +1 -1
  63. package/tools/brand/delete-brand.js +1 -1
  64. package/tools/brand/delete-brand.js.map +1 -1
  65. package/tools/brand/delete-brand.mjs +1 -1
  66. package/tools/brand/delete-brand.mjs.map +1 -1
  67. package/tools/brand/external-vetting/import-brand-external-vetting.js +1 -1
  68. package/tools/brand/external-vetting/import-brand-external-vetting.js.map +1 -1
  69. package/tools/brand/external-vetting/import-brand-external-vetting.mjs +1 -1
  70. package/tools/brand/external-vetting/import-brand-external-vetting.mjs.map +1 -1
  71. package/tools/brand/external-vetting/list-brand-external-vetting.js +1 -1
  72. package/tools/brand/external-vetting/list-brand-external-vetting.js.map +1 -1
  73. package/tools/brand/external-vetting/list-brand-external-vetting.mjs +1 -1
  74. package/tools/brand/external-vetting/list-brand-external-vetting.mjs.map +1 -1
  75. package/tools/brand/external-vetting/order-brand-external-vetting.js +1 -1
  76. package/tools/brand/external-vetting/order-brand-external-vetting.js.map +1 -1
  77. package/tools/brand/external-vetting/order-brand-external-vetting.mjs +1 -1
  78. package/tools/brand/external-vetting/order-brand-external-vetting.mjs.map +1 -1
  79. package/tools/brand/get-feedback-brand.js +1 -1
  80. package/tools/brand/get-feedback-brand.js.map +1 -1
  81. package/tools/brand/get-feedback-brand.mjs +1 -1
  82. package/tools/brand/get-feedback-brand.mjs.map +1 -1
  83. package/tools/brand/list-brand.js +1 -1
  84. package/tools/brand/list-brand.js.map +1 -1
  85. package/tools/brand/list-brand.mjs +1 -1
  86. package/tools/brand/list-brand.mjs.map +1 -1
  87. package/tools/brand/resend-2fa-email-brand.js +1 -1
  88. package/tools/brand/resend-2fa-email-brand.js.map +1 -1
  89. package/tools/brand/resend-2fa-email-brand.mjs +1 -1
  90. package/tools/brand/resend-2fa-email-brand.mjs.map +1 -1
  91. package/tools/brand/retrieve-brand.js +1 -1
  92. package/tools/brand/retrieve-brand.js.map +1 -1
  93. package/tools/brand/retrieve-brand.mjs +1 -1
  94. package/tools/brand/retrieve-brand.mjs.map +1 -1
  95. package/tools/brand/revet-brand.js +1 -1
  96. package/tools/brand/revet-brand.js.map +1 -1
  97. package/tools/brand/revet-brand.mjs +1 -1
  98. package/tools/brand/revet-brand.mjs.map +1 -1
  99. package/tools/brand/update-brand.js +1 -1
  100. package/tools/brand/update-brand.js.map +1 -1
  101. package/tools/brand/update-brand.mjs +1 -1
  102. package/tools/brand/update-brand.mjs.map +1 -1
  103. package/tools/calls/actions/answer-calls-actions.d.mts.map +1 -1
  104. package/tools/calls/actions/answer-calls-actions.d.ts.map +1 -1
  105. package/tools/calls/actions/answer-calls-actions.js +56 -5
  106. package/tools/calls/actions/answer-calls-actions.js.map +1 -1
  107. package/tools/calls/actions/answer-calls-actions.mjs +56 -5
  108. package/tools/calls/actions/answer-calls-actions.mjs.map +1 -1
  109. package/tools/calls/actions/start-transcription-calls-actions.d.mts.map +1 -1
  110. package/tools/calls/actions/start-transcription-calls-actions.d.ts.map +1 -1
  111. package/tools/calls/actions/start-transcription-calls-actions.js +56 -5
  112. package/tools/calls/actions/start-transcription-calls-actions.js.map +1 -1
  113. package/tools/calls/actions/start-transcription-calls-actions.mjs +56 -5
  114. package/tools/calls/actions/start-transcription-calls-actions.mjs.map +1 -1
  115. package/tools/calls/dial-calls.d.mts.map +1 -1
  116. package/tools/calls/dial-calls.d.ts.map +1 -1
  117. package/tools/calls/dial-calls.js +56 -5
  118. package/tools/calls/dial-calls.js.map +1 -1
  119. package/tools/calls/dial-calls.mjs +56 -5
  120. package/tools/calls/dial-calls.mjs.map +1 -1
  121. package/tools/campaign/accept-sharing-campaign.js +1 -1
  122. package/tools/campaign/accept-sharing-campaign.js.map +1 -1
  123. package/tools/campaign/accept-sharing-campaign.mjs +1 -1
  124. package/tools/campaign/accept-sharing-campaign.mjs.map +1 -1
  125. package/tools/campaign/deactivate-campaign.js +1 -1
  126. package/tools/campaign/deactivate-campaign.js.map +1 -1
  127. package/tools/campaign/deactivate-campaign.mjs +1 -1
  128. package/tools/campaign/deactivate-campaign.mjs.map +1 -1
  129. package/tools/campaign/get-mno-metadata-campaign.js +1 -1
  130. package/tools/campaign/get-mno-metadata-campaign.js.map +1 -1
  131. package/tools/campaign/get-mno-metadata-campaign.mjs +1 -1
  132. package/tools/campaign/get-mno-metadata-campaign.mjs.map +1 -1
  133. package/tools/campaign/get-operation-status-campaign.js +1 -1
  134. package/tools/campaign/get-operation-status-campaign.js.map +1 -1
  135. package/tools/campaign/get-operation-status-campaign.mjs +1 -1
  136. package/tools/campaign/get-operation-status-campaign.mjs.map +1 -1
  137. package/tools/campaign/get-sharing-status-campaign.js +1 -1
  138. package/tools/campaign/get-sharing-status-campaign.js.map +1 -1
  139. package/tools/campaign/get-sharing-status-campaign.mjs +1 -1
  140. package/tools/campaign/get-sharing-status-campaign.mjs.map +1 -1
  141. package/tools/campaign/list-campaign.js +1 -1
  142. package/tools/campaign/list-campaign.js.map +1 -1
  143. package/tools/campaign/list-campaign.mjs +1 -1
  144. package/tools/campaign/list-campaign.mjs.map +1 -1
  145. package/tools/campaign/osr/get-attributes-campaign-osr.js +1 -1
  146. package/tools/campaign/osr/get-attributes-campaign-osr.js.map +1 -1
  147. package/tools/campaign/osr/get-attributes-campaign-osr.mjs +1 -1
  148. package/tools/campaign/osr/get-attributes-campaign-osr.mjs.map +1 -1
  149. package/tools/campaign/retrieve-campaign.js +1 -1
  150. package/tools/campaign/retrieve-campaign.js.map +1 -1
  151. package/tools/campaign/retrieve-campaign.mjs +1 -1
  152. package/tools/campaign/retrieve-campaign.mjs.map +1 -1
  153. package/tools/campaign/submit-appeal-campaign.js +1 -1
  154. package/tools/campaign/submit-appeal-campaign.js.map +1 -1
  155. package/tools/campaign/submit-appeal-campaign.mjs +1 -1
  156. package/tools/campaign/submit-appeal-campaign.mjs.map +1 -1
  157. package/tools/campaign/update-campaign.js +1 -1
  158. package/tools/campaign/update-campaign.js.map +1 -1
  159. package/tools/campaign/update-campaign.mjs +1 -1
  160. package/tools/campaign/update-campaign.mjs.map +1 -1
  161. package/tools/campaign/usecase/get-cost-campaign-usecase.js +1 -1
  162. package/tools/campaign/usecase/get-cost-campaign-usecase.js.map +1 -1
  163. package/tools/campaign/usecase/get-cost-campaign-usecase.mjs +1 -1
  164. package/tools/campaign/usecase/get-cost-campaign-usecase.mjs.map +1 -1
  165. package/tools/campaign-builder/brand/qualify-by-usecase-campaign-builder-brand.js +1 -1
  166. package/tools/campaign-builder/brand/qualify-by-usecase-campaign-builder-brand.js.map +1 -1
  167. package/tools/campaign-builder/brand/qualify-by-usecase-campaign-builder-brand.mjs +1 -1
  168. package/tools/campaign-builder/brand/qualify-by-usecase-campaign-builder-brand.mjs.map +1 -1
  169. package/tools/campaign-builder/create-campaign-builder.js +1 -1
  170. package/tools/campaign-builder/create-campaign-builder.js.map +1 -1
  171. package/tools/campaign-builder/create-campaign-builder.mjs +1 -1
  172. package/tools/campaign-builder/create-campaign-builder.mjs.map +1 -1
  173. package/tools/enum/retrieve-enum.js +1 -1
  174. package/tools/enum/retrieve-enum.js.map +1 -1
  175. package/tools/enum/retrieve-enum.mjs +1 -1
  176. package/tools/enum/retrieve-enum.mjs.map +1 -1
  177. package/tools/messaging-hosted-number-orders/create-verification-codes-messaging-hosted-number-orders.js +1 -1
  178. package/tools/messaging-hosted-number-orders/create-verification-codes-messaging-hosted-number-orders.js.map +1 -1
  179. package/tools/messaging-hosted-number-orders/create-verification-codes-messaging-hosted-number-orders.mjs +1 -1
  180. package/tools/messaging-hosted-number-orders/create-verification-codes-messaging-hosted-number-orders.mjs.map +1 -1
  181. package/tools/partner-campaigns/list-partner-campaigns.js +1 -1
  182. package/tools/partner-campaigns/list-partner-campaigns.js.map +1 -1
  183. package/tools/partner-campaigns/list-partner-campaigns.mjs +1 -1
  184. package/tools/partner-campaigns/list-partner-campaigns.mjs.map +1 -1
  185. package/tools/partner-campaigns/list-shared-by-me-partner-campaigns.js +1 -1
  186. package/tools/partner-campaigns/list-shared-by-me-partner-campaigns.js.map +1 -1
  187. package/tools/partner-campaigns/list-shared-by-me-partner-campaigns.mjs +1 -1
  188. package/tools/partner-campaigns/list-shared-by-me-partner-campaigns.mjs.map +1 -1
  189. package/tools/partner-campaigns/retrieve-partner-campaigns.js +1 -1
  190. package/tools/partner-campaigns/retrieve-partner-campaigns.js.map +1 -1
  191. package/tools/partner-campaigns/retrieve-partner-campaigns.mjs +1 -1
  192. package/tools/partner-campaigns/retrieve-partner-campaigns.mjs.map +1 -1
  193. package/tools/partner-campaigns/retrieve-sharing-status-partner-campaigns.js +1 -1
  194. package/tools/partner-campaigns/retrieve-sharing-status-partner-campaigns.js.map +1 -1
  195. package/tools/partner-campaigns/retrieve-sharing-status-partner-campaigns.mjs +1 -1
  196. package/tools/partner-campaigns/retrieve-sharing-status-partner-campaigns.mjs.map +1 -1
  197. package/tools/partner-campaigns/update-partner-campaigns.js +1 -1
  198. package/tools/partner-campaigns/update-partner-campaigns.js.map +1 -1
  199. package/tools/partner-campaigns/update-partner-campaigns.mjs +1 -1
  200. package/tools/partner-campaigns/update-partner-campaigns.mjs.map +1 -1
  201. package/tools/phone-number-assignment-by-profile/assign-phone-number-assignment-by-profile.js +2 -2
  202. package/tools/phone-number-assignment-by-profile/assign-phone-number-assignment-by-profile.js.map +1 -1
  203. package/tools/phone-number-assignment-by-profile/assign-phone-number-assignment-by-profile.mjs +2 -2
  204. package/tools/phone-number-assignment-by-profile/assign-phone-number-assignment-by-profile.mjs.map +1 -1
  205. package/tools/phone-number-assignment-by-profile/retrieve-phone-number-status-phone-number-assignment-by-profile.js +1 -1
  206. package/tools/phone-number-assignment-by-profile/retrieve-phone-number-status-phone-number-assignment-by-profile.js.map +1 -1
  207. package/tools/phone-number-assignment-by-profile/retrieve-phone-number-status-phone-number-assignment-by-profile.mjs +1 -1
  208. package/tools/phone-number-assignment-by-profile/retrieve-phone-number-status-phone-number-assignment-by-profile.mjs.map +1 -1
  209. package/tools/phone-number-assignment-by-profile/retrieve-status-phone-number-assignment-by-profile.js +1 -1
  210. package/tools/phone-number-assignment-by-profile/retrieve-status-phone-number-assignment-by-profile.js.map +1 -1
  211. package/tools/phone-number-assignment-by-profile/retrieve-status-phone-number-assignment-by-profile.mjs +1 -1
  212. package/tools/phone-number-assignment-by-profile/retrieve-status-phone-number-assignment-by-profile.mjs.map +1 -1
  213. package/tools/phone-number-campaigns/create-phone-number-campaigns.js +1 -1
  214. package/tools/phone-number-campaigns/create-phone-number-campaigns.js.map +1 -1
  215. package/tools/phone-number-campaigns/create-phone-number-campaigns.mjs +1 -1
  216. package/tools/phone-number-campaigns/create-phone-number-campaigns.mjs.map +1 -1
  217. package/tools/phone-number-campaigns/delete-phone-number-campaigns.js +1 -1
  218. package/tools/phone-number-campaigns/delete-phone-number-campaigns.js.map +1 -1
  219. package/tools/phone-number-campaigns/delete-phone-number-campaigns.mjs +1 -1
  220. package/tools/phone-number-campaigns/delete-phone-number-campaigns.mjs.map +1 -1
  221. package/tools/phone-number-campaigns/list-phone-number-campaigns.js +1 -1
  222. package/tools/phone-number-campaigns/list-phone-number-campaigns.js.map +1 -1
  223. package/tools/phone-number-campaigns/list-phone-number-campaigns.mjs +1 -1
  224. package/tools/phone-number-campaigns/list-phone-number-campaigns.mjs.map +1 -1
  225. package/tools/phone-number-campaigns/retrieve-phone-number-campaigns.js +1 -1
  226. package/tools/phone-number-campaigns/retrieve-phone-number-campaigns.js.map +1 -1
  227. package/tools/phone-number-campaigns/retrieve-phone-number-campaigns.mjs +1 -1
  228. package/tools/phone-number-campaigns/retrieve-phone-number-campaigns.mjs.map +1 -1
  229. package/tools/phone-number-campaigns/update-phone-number-campaigns.js +1 -1
  230. package/tools/phone-number-campaigns/update-phone-number-campaigns.js.map +1 -1
  231. package/tools/phone-number-campaigns/update-phone-number-campaigns.mjs +1 -1
  232. package/tools/phone-number-campaigns/update-phone-number-campaigns.mjs.map +1 -1
package/code-tool.js CHANGED
@@ -25,7 +25,7 @@ async function codeTool() {
25
25
  // this is not required, but passing a Stainless API key for the matching project_name
26
26
  // will allow you to run code-mode queries against non-published versions of your SDK.
27
27
  const stainlessAPIKey = (0, server_1.readEnv)('STAINLESS_API_KEY');
28
- const codeModeEndpoint = (0, server_1.readEnv)('CODE_MODE_ENDPOINT_URL') ?? 'https://api.stainless.com/api/ai/code-tool/';
28
+ const codeModeEndpoint = (0, server_1.readEnv)('CODE_MODE_ENDPOINT_URL') ?? 'https://api.stainless.com/api/ai/code-tool';
29
29
  const res = await fetch(codeModeEndpoint, {
30
30
  method: 'POST',
31
31
  headers: {
package/code-tool.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"code-tool.js","sourceRoot":"","sources":["src/code-tool.ts"],"names":[],"mappings":";AAAA,sFAAsF;;AAetF,4BA6CC;AA1DD,4CAA8E;AAE9E,wCAAmC;AAEnC;;;;;;;;GAQG;AACI,KAAK,UAAU,QAAQ;IAC5B,MAAM,QAAQ,GAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC;IAC7E,MAAM,IAAI,GAAS;QACjB,IAAI,EAAE,SAAS;QACf,WAAW,EACT,iiCAAiiC;QACniC,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE;KAC1E,CAAC;IACF,MAAM,OAAO,GAAG,KAAK,EAAE,CAAU,EAAE,IAAS,EAA2B,EAAE;QACvE,MAAM,IAAI,GAAG,IAAI,CAAC,IAAc,CAAC;QAEjC,sFAAsF;QACtF,sFAAsF;QACtF,MAAM,eAAe,GAAG,IAAA,gBAAO,EAAC,mBAAmB,CAAC,CAAC;QACrD,MAAM,gBAAgB,GACpB,IAAA,gBAAO,EAAC,wBAAwB,CAAC,IAAI,6CAA6C,CAAC;QAErF,MAAM,GAAG,GAAG,MAAM,KAAK,CAAC,gBAAgB,E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export async function codeTool() {
22
22
  // this is not required, but passing a Stainless API key for the matching project_name
23
23
  // will allow you to run code-mode queries against non-published versions of your SDK.
24
24
  const stainlessAPIKey = readEnv('STAINLESS_API_KEY');
25
- const codeModeEndpoint = readEnv('CODE_MODE_ENDPOINT_URL') ?? 'https://api.stainless.com/api/ai/code-tool/';
25
+ const codeModeEndpoint = readEnv('CODE_MODE_ENDPOINT_URL') ?? 'https://api.stainless.com/api/ai/code-tool';
26
26
  const res = await fetch(codeModeEndpoint, {
27
27
  method: 'POST',
28
28
  headers: {
package/code-tool.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"code-tool.mjs","sourceRoot":"","sources":["src/code-tool.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAA4B,mBAAmB,EAAE;OAEjD,EAAE,OAAO,EAAE;AAElB;;;;;;;;GAQG;AACH,MAAM,CAAC,KAAK,UAAU,QAAQ;IAC5B,MAAM,QAAQ,GAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC;IAC7E,MAAM,IAAI,GAAS;QACjB,IAAI,EAAE,SAAS;QACf,WAAW,EACT,iiCAAiiC;QACniC,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE;KAC1E,CAAC;IACF,MAAM,OAAO,GAAG,KAAK,EAAE,CAAU,EAAE,IAAS,EAA2B,EAAE;QACvE,MAAM,IAAI,GAAG,IAAI,CAAC,IAAc,CAAC;QAEjC,sFAAsF;QACtF,sFAAsF;QACtF,MAAM,eAAe,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC;QACrD,MAAM,gBAAgB,GACpB,OAAO,CAAC,wBAAwB,CAAC,IAAI,6CAA6C,CAAC;QAErF,MAAM,GAAG,GAAG,MAAM,KAAK,CAAC,gBAAgB,EAAE;YACxC,M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"version": "4.6.0",
4
4
  "description": "The official MCP Server for the Telnyx API",
5
5
  "author": "Telnyx <support@telnyx.com>",
6
6
  "types": "./index.d.ts",
@@ -18,7 +18,7 @@
18
18
  "access": "public"
19
19
  },
20
20
  "dependencies": {
21
- "telnyx": "^4.5.0",
21
+ "telnyx": "^4.6.0",
22
22
  "@cloudflare/cabidela": "^0.2.4",
23
23
  "@modelcontextprotocol/sdk": "^1.24.0",
24
24
  "@valtown/deno-http-worker": "^0.0.21",
package/server.js CHANGED
@@ -22,7 +22,7 @@ var tools_2 = require("./tools.js");
22
22
  Object.defineProperty(exports, "endpoints", { enumerable: true, get: function () { return tools_2.endpoints; } });
23
23
  const newMcpServer = () => new mcp_js_1.McpServer({
24
24
  name: 'telnyx_api',
25
- version: '4.5.0',
25
+ version: '4.6.0',
26
26
  }, { capabilities: { tools: {}, logging: {} } });
27
27
  exports.newMcpServer = newMcpServer;
28
28
  // Create server instance
package/server.mjs CHANGED
@@ -11,7 +11,7 @@ export { ClientType } from "./compat.mjs";
11
11
  export { endpoints } from "./tools.mjs";
12
12
  export const newMcpServer = () => new McpServer({
13
13
  name: 'telnyx_api',
14
- version: '4.5.0',
14
+ version: '4.6.0',
15
15
  }, { capabilities: { tools: {}, logging: {} } });
16
16
  // Create server instance
17
17
  export const server = newMcpServer();
package/src/code-tool.ts CHANGED
@@ -28,7 +28,7 @@ export async function codeTool() {
28
28
  // will allow you to run code-mode queries against non-published versions of your SDK.
29
29
  const stainlessAPIKey = readEnv('STAINLESS_API_KEY');
30
30
  const codeModeEndpoint =
31
- readEnv('CODE_MODE_ENDPOINT_URL') ?? 'https://api.stainless.com/api/ai/code-tool/';
31
+ readEnv('CODE_MODE_ENDPOINT_URL') ?? 'https://api.stainless.com/api/ai/code-tool';
32
32
 
33
33
  const res = await fetch(codeModeEndpoint, {
34
34
  method: 'POST',
package/src/server.ts CHANGED
@@ -34,7 +34,7 @@ export const newMcpServer = () =>
34
34
  new McpServer(
35
35
  {
36
36
  name: 'telnyx_api',
37
- version: '4.5.0',
37
+ version: '4.6.0',
38
38
  },
39
39
  { capabilities: { tools: {}, logging: {} } },
40
40
  );
@@ -1,6 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import { Metadata, asTextContentResult } from 'telnyx-mcp/tools/types';
3
+ import { isJqError, maybeFilter } from 'telnyx-mcp/filtering';
4
+ import { Metadata, asErrorResult, asTextContentResult } from 'telnyx-mcp/tools/types';
4
5
 
5
6
  import { Tool } from '@modelcontextprotocol/sdk/types.js';
6
7
  import Telnyx from 'telnyx';
@@ -17,7 +18,7 @@ export const metadata: Metadata = {
17
18
  export const tool: Tool = {
18
19
  name: 'create_completion_ai_chat',
19
20
  description:
20
- 'Chat with a language model. This endpoint is consistent with the [OpenAI Chat Completions API](https://platform.openai.com/docs/api-reference/chat) and may be used with the OpenAI JS or Python SDK.',
21
+ "When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nChat with a language model. This endpoint is consistent with the [OpenAI Chat Completions API](https://platform.openai.com/docs/api-reference/chat) and may be used with the OpenAI JS or Python SDK.\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/chat_create_completion_response',\n $defs: {\n chat_create_completion_response: {\n type: 'object',\n additionalProperties: true\n }\n }\n}\n```",
21
22
  inputSchema: {
22
23
  type: 'object',
23
24
  properties: {
@@ -220,6 +221,12 @@ export const tool: Tool = {
220
221
  description:
221
222
  'Setting this to `true` will allow the model to [explore more completion options](https://huggingface.co/blog/how-to-generate#beam-search). This is not supported by OpenAI.',
222
223
  },
224
+ jq_filter: {
225
+ type: 'string',
226
+ title: 'jq Filter',
227
+ description:
228
+ 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
229
+ },
223
230
  },
224
231
  required: ['messages'],
225
232
  $defs: {
@@ -248,8 +255,15 @@ export const tool: Tool = {
248
255
  };
249
256
 
250
257
  export const handler = async (client: Telnyx, args: Record<string, unknown> | undefined) => {
251
- const body = args as any;
252
- return asTextContentResult((await client.ai.chat.createCompletion(body)) as object);
258
+ const { jq_filter, ...body } = args as any;
259
+ try {
260
+ return asTextContentResult(await maybeFilter(jq_filter, await client.ai.chat.createCompletion(body)));
261
+ } catch (error) {
262
+ if (error instanceof Telnyx.APIError || isJqError(error)) {
263
+ return asErrorResult(error.message);
264
+ }
265
+ throw error;
266
+ }
253
267
  };
254
268
 
255
269
  export default { metadata, tool, handler };
@@ -10,7 +10,7 @@ export const metadata: Metadata = {
10
10
  operation: 'write',
11
11
  tags: [],
12
12
  httpMethod: 'post',
13
- httpPath: '/brand',
13
+ httpPath: '/10dlc/brand',
14
14
  operationId: 'CreateBrandPost',
15
15
  };
16
16
 
@@ -10,7 +10,7 @@ export const metadata: Metadata = {
10
10
  operation: 'write',
11
11
  tags: [],
12
12
  httpMethod: 'delete',
13
- httpPath: '/brand/{brandId}',
13
+ httpPath: '/10dlc/brand/{brandId}',
14
14
  operationId: 'DeleteBrand',
15
15
  };
16
16
 
@@ -11,7 +11,7 @@ export const metadata: Metadata = {
11
11
  operation: 'write',
12
12
  tags: [],
13
13
  httpMethod: 'put',
14
- httpPath: '/brand/{brandId}/externalVetting',
14
+ httpPath: '/10dlc/brand/{brandId}/externalVetting',
15
15
  operationId: 'PutExternalVettingRecord',
16
16
  };
17
17
 
@@ -11,7 +11,7 @@ export const metadata: Metadata = {
11
11
  operation: 'read',
12
12
  tags: [],
13
13
  httpMethod: 'get',
14
- httpPath: '/brand/{brandId}/externalVetting',
14
+ httpPath: '/10dlc/brand/{brandId}/externalVetting',
15
15
  operationId: 'ListExternalVettings',
16
16
  };
17
17
 
@@ -11,7 +11,7 @@ export const metadata: Metadata = {
11
11
  operation: 'write',
12
12
  tags: [],
13
13
  httpMethod: 'post',
14
- httpPath: '/brand/{brandId}/externalVetting',
14
+ httpPath: '/10dlc/brand/{brandId}/externalVetting',
15
15
  operationId: 'PostOrderExternalVetting',
16
16
  };
17
17
 
@@ -11,7 +11,7 @@ export const metadata: Metadata = {
11
11
  operation: 'read',
12
12
  tags: [],
13
13
  httpMethod: 'get',
14
- httpPath: '/brand/feedback/{brandId}',
14
+ httpPath: '/10dlc/brand/feedback/{brandId}',
15
15
  operationId: 'GetBrandFeedbackById',
16
16
  };
17
17
 
@@ -11,7 +11,7 @@ export const metadata: Metadata = {
11
11
  operation: 'read',
12
12
  tags: [],
13
13
  httpMethod: 'get',
14
- httpPath: '/brand',
14
+ httpPath: '/10dlc/brand',
15
15
  operationId: 'GetBrands',
16
16
  };
17
17
 
@@ -10,7 +10,7 @@ export const metadata: Metadata = {
10
10
  operation: 'write',
11
11
  tags: [],
12
12
  httpMethod: 'post',
13
- httpPath: '/brand/{brandId}/2faEmail',
13
+ httpPath: '/10dlc/brand/{brandId}/2faEmail',
14
14
  operationId: 'ResendBrand2faEmail',
15
15
  };
16
16
 
@@ -11,7 +11,7 @@ export const metadata: Metadata = {
11
11
  operation: 'read',
12
12
  tags: [],
13
13
  httpMethod: 'get',
14
- httpPath: '/brand/{brandId}',
14
+ httpPath: '/10dlc/brand/{brandId}',
15
15
  operationId: 'GetBrand',
16
16
  };
17
17
 
@@ -11,7 +11,7 @@ export const metadata: Metadata = {
11
11
  operation: 'write',
12
12
  tags: [],
13
13
  httpMethod: 'put',
14
- httpPath: '/brand/{brandId}/revet',
14
+ httpPath: '/10dlc/brand/{brandId}/revet',
15
15
  operationId: 'RevetBrand',
16
16
  };
17
17
 
@@ -10,7 +10,7 @@ export const metadata: Metadata = {
10
10
  operation: 'write',
11
11
  tags: [],
12
12
  httpMethod: 'put',
13
- httpPath: '/brand/{brandId}',
13
+ httpPath: '/10dlc/brand/{brandId}',
14
14
  operationId: 'UpdateBrand',
15
15
  };
16
16
 
@@ -355,22 +355,26 @@ export const tool: Tool = {
355
355
  },
356
356
  {
357
357
  type: 'object',
358
- title: 'Transcription engine Deepgram config',
358
+ title: 'Deepgram Nova-2 config',
359
359
  properties: {
360
360
  transcription_engine: {
361
361
  type: 'string',
362
- description: 'Engine identifier for Deepgram transcription service',
363
362
  enum: ['Deepgram'],
364
363
  },
365
364
  transcription_model: {
366
365
  type: 'string',
367
- description: 'The model to use for transcription.',
368
- enum: ['deepgram/nova-2', 'deepgram/nova-3'],
366
+ enum: ['deepgram/nova-2'],
367
+ },
368
+ keywords_boosting: {
369
+ type: 'object',
370
+ description:
371
+ 'Keywords and their respective intensifiers (boosting values) to improve transcription accuracy for specific words or phrases. The intensifier should be a numeric value. Example: `{"snuffleupagus": 5, "systrom": 2, "krieger": 1}`.',
372
+ additionalProperties: true,
369
373
  },
370
374
  language: {
371
375
  type: 'string',
372
- description:
373
- 'Language to use for speech recognition. Available languages depend on the selected model.',
376
+ title: 'Deepgram nova-2 transcription engine list of languages',
377
+ description: 'Language to use for speech recognition with nova-2 model',
374
378
  enum: [
375
379
  'bg',
376
380
  'ca',
@@ -431,6 +435,54 @@ export const tool: Tool = {
431
435
  },
432
436
  required: ['transcription_engine', 'transcription_model'],
433
437
  },
438
+ {
439
+ type: 'object',
440
+ title: 'Deepgram Nova-3 config',
441
+ properties: {
442
+ transcription_engine: {
443
+ type: 'string',
444
+ enum: ['Deepgram'],
445
+ },
446
+ transcription_model: {
447
+ type: 'string',
448
+ enum: ['deepgram/nova-3'],
449
+ },
450
+ keywords_boosting: {
451
+ type: 'object',
452
+ description:
453
+ 'Keywords and their respective intensifiers (boosting values) to improve transcription accuracy for specific words or phrases. The intensifier should be a numeric value. Example: `{"snuffleupagus": 5, "systrom": 2, "krieger": 1}`.',
454
+ additionalProperties: true,
455
+ },
456
+ language: {
457
+ type: 'string',
458
+ title: 'Deepgram nova-3 transcription engine list of languages',
459
+ description: 'Language to use for speech recognition with nova-3 model',
460
+ enum: [
461
+ 'en',
462
+ 'en-US',
463
+ 'en-AU',
464
+ 'en-GB',
465
+ 'en-IN',
466
+ 'en-NZ',
467
+ 'de',
468
+ 'nl',
469
+ 'sv',
470
+ 'sv-SE',
471
+ 'da',
472
+ 'da-DK',
473
+ 'es',
474
+ 'es-419',
475
+ 'fr',
476
+ 'fr-CA',
477
+ 'pt',
478
+ 'pt-BR',
479
+ 'pt-PT',
480
+ 'auto_detect',
481
+ ],
482
+ },
483
+ },
484
+ required: ['transcription_engine', 'transcription_model'],
485
+ },
434
486
  {
435
487
  type: 'object',
436
488
  title: 'Transcription engine Azure config',
@@ -143,22 +143,26 @@ export const tool: Tool = {
143
143
  },
144
144
  {
145
145
  type: 'object',
146
- title: 'Transcription engine Deepgram config',
146
+ title: 'Deepgram Nova-2 config',
147
147
  properties: {
148
148
  transcription_engine: {
149
149
  type: 'string',
150
- description: 'Engine identifier for Deepgram transcription service',
151
150
  enum: ['Deepgram'],
152
151
  },
153
152
  transcription_model: {
154
153
  type: 'string',
155
- description: 'The model to use for transcription.',
156
- enum: ['deepgram/nova-2', 'deepgram/nova-3'],
154
+ enum: ['deepgram/nova-2'],
155
+ },
156
+ keywords_boosting: {
157
+ type: 'object',
158
+ description:
159
+ 'Keywords and their respective intensifiers (boosting values) to improve transcription accuracy for specific words or phrases. The intensifier should be a numeric value. Example: `{"snuffleupagus": 5, "systrom": 2, "krieger": 1}`.',
160
+ additionalProperties: true,
157
161
  },
158
162
  language: {
159
163
  type: 'string',
160
- description:
161
- 'Language to use for speech recognition. Available languages depend on the selected model.',
164
+ title: 'Deepgram nova-2 transcription engine list of languages',
165
+ description: 'Language to use for speech recognition with nova-2 model',
162
166
  enum: [
163
167
  'bg',
164
168
  'ca',
@@ -219,6 +223,54 @@ export const tool: Tool = {
219
223
  },
220
224
  required: ['transcription_engine', 'transcription_model'],
221
225
  },
226
+ {
227
+ type: 'object',
228
+ title: 'Deepgram Nova-3 config',
229
+ properties: {
230
+ transcription_engine: {
231
+ type: 'string',
232
+ enum: ['Deepgram'],
233
+ },
234
+ transcription_model: {
235
+ type: 'string',
236
+ enum: ['deepgram/nova-3'],
237
+ },
238
+ keywords_boosting: {
239
+ type: 'object',
240
+ description:
241
+ 'Keywords and their respective intensifiers (boosting values) to improve transcription accuracy for specific words or phrases. The intensifier should be a numeric value. Example: `{"snuffleupagus": 5, "systrom": 2, "krieger": 1}`.',
242
+ additionalProperties: true,
243
+ },
244
+ language: {
245
+ type: 'string',
246
+ title: 'Deepgram nova-3 transcription engine list of languages',
247
+ description: 'Language to use for speech recognition with nova-3 model',
248
+ enum: [
249
+ 'en',
250
+ 'en-US',
251
+ 'en-AU',
252
+ 'en-GB',
253
+ 'en-IN',
254
+ 'en-NZ',
255
+ 'de',
256
+ 'nl',
257
+ 'sv',
258
+ 'sv-SE',
259
+ 'da',
260
+ 'da-DK',
261
+ 'es',
262
+ 'es-419',
263
+ 'fr',
264
+ 'fr-CA',
265
+ 'pt',
266
+ 'pt-BR',
267
+ 'pt-PT',
268
+ 'auto_detect',
269
+ ],
270
+ },
271
+ },
272
+ required: ['transcription_engine', 'transcription_model'],
273
+ },
222
274
  {
223
275
  type: 'object',
224
276
  title: 'Transcription engine Azure config',
@@ -623,22 +623,26 @@ export const tool: Tool = {
623
623
  },
624
624
  {
625
625
  type: 'object',
626
- title: 'Transcription engine Deepgram config',
626
+ title: 'Deepgram Nova-2 config',
627
627
  properties: {
628
628
  transcription_engine: {
629
629
  type: 'string',
630
- description: 'Engine identifier for Deepgram transcription service',
631
630
  enum: ['Deepgram'],
632
631
  },
633
632
  transcription_model: {
634
633
  type: 'string',
635
- description: 'The model to use for transcription.',
636
- enum: ['deepgram/nova-2', 'deepgram/nova-3'],
634
+ enum: ['deepgram/nova-2'],
635
+ },
636
+ keywords_boosting: {
637
+ type: 'object',
638
+ description:
639
+ 'Keywords and their respective intensifiers (boosting values) to improve transcription accuracy for specific words or phrases. The intensifier should be a numeric value. Example: `{"snuffleupagus": 5, "systrom": 2, "krieger": 1}`.',
640
+ additionalProperties: true,
637
641
  },
638
642
  language: {
639
643
  type: 'string',
640
- description:
641
- 'Language to use for speech recognition. Available languages depend on the selected model.',
644
+ title: 'Deepgram nova-2 transcription engine list of languages',
645
+ description: 'Language to use for speech recognition with nova-2 model',
642
646
  enum: [
643
647
  'bg',
644
648
  'ca',
@@ -699,6 +703,54 @@ export const tool: Tool = {
699
703
  },
700
704
  required: ['transcription_engine', 'transcription_model'],
701
705
  },
706
+ {
707
+ type: 'object',
708
+ title: 'Deepgram Nova-3 config',
709
+ properties: {
710
+ transcription_engine: {
711
+ type: 'string',
712
+ enum: ['Deepgram'],
713
+ },
714
+ transcription_model: {
715
+ type: 'string',
716
+ enum: ['deepgram/nova-3'],
717
+ },
718
+ keywords_boosting: {
719
+ type: 'object',
720
+ description:
721
+ 'Keywords and their respective intensifiers (boosting values) to improve transcription accuracy for specific words or phrases. The intensifier should be a numeric value. Example: `{"snuffleupagus": 5, "systrom": 2, "krieger": 1}`.',
722
+ additionalProperties: true,
723
+ },
724
+ language: {
725
+ type: 'string',
726
+ title: 'Deepgram nova-3 transcription engine list of languages',
727
+ description: 'Language to use for speech recognition with nova-3 model',
728
+ enum: [
729
+ 'en',
730
+ 'en-US',
731
+ 'en-AU',
732
+ 'en-GB',
733
+ 'en-IN',
734
+ 'en-NZ',
735
+ 'de',
736
+ 'nl',
737
+ 'sv',
738
+ 'sv-SE',
739
+ 'da',
740
+ 'da-DK',
741
+ 'es',
742
+ 'es-419',
743
+ 'fr',
744
+ 'fr-CA',
745
+ 'pt',
746
+ 'pt-BR',
747
+ 'pt-PT',
748
+ 'auto_detect',
749
+ ],
750
+ },
751
+ },
752
+ required: ['transcription_engine', 'transcription_model'],
753
+ },
702
754
  {
703
755
  type: 'object',
704
756
  title: 'Transcription engine Azure config',
@@ -11,7 +11,7 @@ export const metadata: Metadata = {
11
11
  operation: 'write',
12
12
  tags: [],
13
13
  httpMethod: 'post',
14
- httpPath: '/campaign/acceptSharing/{campaignId}',
14
+ httpPath: '/10dlc/campaign/acceptSharing/{campaignId}',
15
15
  operationId: 'AcceptCampaign',
16
16
  };
17
17
 
@@ -11,7 +11,7 @@ export const metadata: Metadata = {
11
11
  operation: 'write',
12
12
  tags: [],
13
13
  httpMethod: 'delete',
14
- httpPath: '/campaign/{campaignId}',
14
+ httpPath: '/10dlc/campaign/{campaignId}',
15
15
  operationId: 'DeactivateCampaign',
16
16
  };
17
17
 
@@ -11,7 +11,7 @@ export const metadata: Metadata = {
11
11
  operation: 'read',
12
12
  tags: [],
13
13
  httpMethod: 'get',
14
- httpPath: '/campaign/{campaignId}/mnoMetadata',
14
+ httpPath: '/10dlc/campaign/{campaignId}/mnoMetadata',
15
15
  operationId: 'GetCampaignMnoMetadata',
16
16
  };
17
17
 
@@ -11,7 +11,7 @@ export const metadata: Metadata = {
11
11
  operation: 'read',
12
12
  tags: [],
13
13
  httpMethod: 'get',
14
- httpPath: '/campaign/{campaignId}/operationStatus',
14
+ httpPath: '/10dlc/campaign/{campaignId}/operationStatus',
15
15
  operationId: 'GetCampaignOperationStatus',
16
16
  };
17
17
 
@@ -11,7 +11,7 @@ export const metadata: Metadata = {
11
11
  operation: 'read',
12
12
  tags: [],
13
13
  httpMethod: 'get',
14
- httpPath: '/campaign/{campaignId}/sharing',
14
+ httpPath: '/10dlc/campaign/{campaignId}/sharing',
15
15
  operationId: 'GetCampaignSharingStatus',
16
16
  };
17
17
 
@@ -10,7 +10,7 @@ export const metadata: Metadata = {
10
10
  operation: 'read',
11
11
  tags: [],
12
12
  httpMethod: 'get',
13
- httpPath: '/campaign',
13
+ httpPath: '/10dlc/campaign',
14
14
  operationId: 'GetCampaigns',
15
15
  };
16
16
 
@@ -11,7 +11,7 @@ export const metadata: Metadata = {
11
11
  operation: 'read',
12
12
  tags: [],
13
13
  httpMethod: 'get',
14
- httpPath: '/campaign/{campaignId}/osr/attributes',
14
+ httpPath: '/10dlc/campaign/{campaignId}/osr/attributes',
15
15
  operationId: 'GetCampaignOsrAttributes',
16
16
  };
17
17
 
@@ -10,7 +10,7 @@ export const metadata: Metadata = {
10
10
  operation: 'read',
11
11
  tags: [],
12
12
  httpMethod: 'get',
13
- httpPath: '/campaign/{campaignId}',
13
+ httpPath: '/10dlc/campaign/{campaignId}',
14
14
  operationId: 'GetCampaign',
15
15
  };
16
16
 
@@ -11,7 +11,7 @@ export const metadata: Metadata = {
11
11
  operation: 'write',
12
12
  tags: [],
13
13
  httpMethod: 'post',
14
- httpPath: '/campaign/{campaignId}/appeal',
14
+ httpPath: '/10dlc/campaign/{campaignId}/appeal',
15
15
  operationId: 'AppealCampaign',
16
16
  };
17
17
 
@@ -10,7 +10,7 @@ export const metadata: Metadata = {
10
10
  operation: 'write',
11
11
  tags: [],
12
12
  httpMethod: 'put',
13
- httpPath: '/campaign/{campaignId}',
13
+ httpPath: '/10dlc/campaign/{campaignId}',
14
14
  operationId: 'UpdateCampaign',
15
15
  };
16
16
 
@@ -11,7 +11,7 @@ export const metadata: Metadata = {
11
11
  operation: 'read',
12
12
  tags: [],
13
13
  httpMethod: 'get',
14
- httpPath: '/campaign/usecase/cost',
14
+ httpPath: '/10dlc/campaign/usecase/cost',
15
15
  operationId: 'GetCampaignCost',
16
16
  };
17
17