syllable-sdk 1.0.1-rc.5 → 1.0.1

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 (475) hide show
  1. package/README.md +5 -0
  2. package/RUNTIMES.md +6 -6
  3. package/bin/mcp-server.js +592 -402
  4. package/bin/mcp-server.js.map +151 -147
  5. package/docs/sdks/pronunciations/README.md +84 -0
  6. package/examples/package-lock.json +1 -1
  7. package/funcs/agentsAgentGetAvailableVoices.js +1 -1
  8. package/funcs/agentsAgentGetAvailableVoices.js.map +1 -1
  9. package/funcs/agentsCreate.js +1 -1
  10. package/funcs/agentsCreate.js.map +1 -1
  11. package/funcs/agentsDelete.js +1 -1
  12. package/funcs/agentsDelete.js.map +1 -1
  13. package/funcs/agentsGetById.js +1 -1
  14. package/funcs/agentsGetById.js.map +1 -1
  15. package/funcs/agentsList.js +1 -1
  16. package/funcs/agentsList.js.map +1 -1
  17. package/funcs/agentsTestSendTestMessage.js +1 -1
  18. package/funcs/agentsTestSendTestMessage.js.map +1 -1
  19. package/funcs/agentsUpdate.js +1 -1
  20. package/funcs/agentsUpdate.js.map +1 -1
  21. package/funcs/channelsCreate.js +1 -1
  22. package/funcs/channelsCreate.js.map +1 -1
  23. package/funcs/channelsDelete.js +1 -1
  24. package/funcs/channelsDelete.js.map +1 -1
  25. package/funcs/channelsList.js +1 -1
  26. package/funcs/channelsList.js.map +1 -1
  27. package/funcs/channelsTargetsAvailableTargets.js +1 -1
  28. package/funcs/channelsTargetsAvailableTargets.js.map +1 -1
  29. package/funcs/channelsTargetsCreate.js +1 -1
  30. package/funcs/channelsTargetsCreate.js.map +1 -1
  31. package/funcs/channelsTargetsGetById.js +1 -1
  32. package/funcs/channelsTargetsGetById.js.map +1 -1
  33. package/funcs/channelsTargetsList.js +1 -1
  34. package/funcs/channelsTargetsList.js.map +1 -1
  35. package/funcs/channelsTargetsUpdate.js +1 -1
  36. package/funcs/channelsTargetsUpdate.js.map +1 -1
  37. package/funcs/channelsTwilioCreate.js +1 -1
  38. package/funcs/channelsTwilioCreate.js.map +1 -1
  39. package/funcs/channelsTwilioGetById.js +1 -1
  40. package/funcs/channelsTwilioGetById.js.map +1 -1
  41. package/funcs/channelsTwilioNumbersAdd.js +1 -1
  42. package/funcs/channelsTwilioNumbersAdd.js.map +1 -1
  43. package/funcs/channelsTwilioNumbersList.js +1 -1
  44. package/funcs/channelsTwilioNumbersList.js.map +1 -1
  45. package/funcs/channelsTwilioNumbersUpdate.js +1 -1
  46. package/funcs/channelsTwilioNumbersUpdate.js.map +1 -1
  47. package/funcs/channelsTwilioUpdate.js +1 -1
  48. package/funcs/channelsTwilioUpdate.js.map +1 -1
  49. package/funcs/channelsUpdate.js +1 -1
  50. package/funcs/channelsUpdate.js.map +1 -1
  51. package/funcs/conversationsList.js +1 -1
  52. package/funcs/conversationsList.js.map +1 -1
  53. package/funcs/customMessagesCreate.js +1 -1
  54. package/funcs/customMessagesCreate.js.map +1 -1
  55. package/funcs/customMessagesDelete.js +1 -1
  56. package/funcs/customMessagesDelete.js.map +1 -1
  57. package/funcs/customMessagesGetById.js +1 -1
  58. package/funcs/customMessagesGetById.js.map +1 -1
  59. package/funcs/customMessagesList.js +1 -1
  60. package/funcs/customMessagesList.js.map +1 -1
  61. package/funcs/customMessagesUpdate.js +1 -1
  62. package/funcs/customMessagesUpdate.js.map +1 -1
  63. package/funcs/dashboardsPostGetDashboard.js +1 -1
  64. package/funcs/dashboardsPostGetDashboard.js.map +1 -1
  65. package/funcs/dashboardsPostListDashboard.js +1 -1
  66. package/funcs/dashboardsPostListDashboard.js.map +1 -1
  67. package/funcs/dashboardsPostSessionEventsDashboard.js +1 -1
  68. package/funcs/dashboardsPostSessionEventsDashboard.js.map +1 -1
  69. package/funcs/dashboardsPostSessionSummaryDashboard.js +1 -1
  70. package/funcs/dashboardsPostSessionSummaryDashboard.js.map +1 -1
  71. package/funcs/dashboardsPostSessionTransfersDashboard.js +1 -1
  72. package/funcs/dashboardsPostSessionTransfersDashboard.js.map +1 -1
  73. package/funcs/dashboardsPostSessionsDashboard.js +1 -1
  74. package/funcs/dashboardsPostSessionsDashboard.js.map +1 -1
  75. package/funcs/dataSourcesCreate.js +1 -1
  76. package/funcs/dataSourcesCreate.js.map +1 -1
  77. package/funcs/dataSourcesDelete.js +1 -1
  78. package/funcs/dataSourcesDelete.js.map +1 -1
  79. package/funcs/dataSourcesGetById.js +1 -1
  80. package/funcs/dataSourcesGetById.js.map +1 -1
  81. package/funcs/dataSourcesList.js +1 -1
  82. package/funcs/dataSourcesList.js.map +1 -1
  83. package/funcs/dataSourcesUpdate.js +1 -1
  84. package/funcs/dataSourcesUpdate.js.map +1 -1
  85. package/funcs/eventsList.js +1 -1
  86. package/funcs/eventsList.js.map +1 -1
  87. package/funcs/incidentsCreate.js +1 -1
  88. package/funcs/incidentsCreate.js.map +1 -1
  89. package/funcs/incidentsDelete.js +1 -1
  90. package/funcs/incidentsDelete.js.map +1 -1
  91. package/funcs/incidentsGetById.js +1 -1
  92. package/funcs/incidentsGetById.js.map +1 -1
  93. package/funcs/incidentsIncidentGetOrganizations.js +1 -1
  94. package/funcs/incidentsIncidentGetOrganizations.js.map +1 -1
  95. package/funcs/incidentsList.js +1 -1
  96. package/funcs/incidentsList.js.map +1 -1
  97. package/funcs/incidentsUpdate.js +1 -1
  98. package/funcs/incidentsUpdate.js.map +1 -1
  99. package/funcs/insightsFoldersCreate.js +1 -1
  100. package/funcs/insightsFoldersCreate.js.map +1 -1
  101. package/funcs/insightsFoldersDelete.js +1 -1
  102. package/funcs/insightsFoldersDelete.js.map +1 -1
  103. package/funcs/insightsFoldersGetById.js +1 -1
  104. package/funcs/insightsFoldersGetById.js.map +1 -1
  105. package/funcs/insightsFoldersList.js +1 -1
  106. package/funcs/insightsFoldersList.js.map +1 -1
  107. package/funcs/insightsFoldersListFiles.js +1 -1
  108. package/funcs/insightsFoldersListFiles.js.map +1 -1
  109. package/funcs/insightsFoldersMoveFiles.js +1 -1
  110. package/funcs/insightsFoldersMoveFiles.js.map +1 -1
  111. package/funcs/insightsFoldersUpdate.js +1 -1
  112. package/funcs/insightsFoldersUpdate.js.map +1 -1
  113. package/funcs/insightsFoldersUploadFile.js +1 -1
  114. package/funcs/insightsFoldersUploadFile.js.map +1 -1
  115. package/funcs/insightsList.js +1 -1
  116. package/funcs/insightsList.js.map +1 -1
  117. package/funcs/insightsToolsCreate.js +1 -1
  118. package/funcs/insightsToolsCreate.js.map +1 -1
  119. package/funcs/insightsToolsDelete.js +1 -1
  120. package/funcs/insightsToolsDelete.js.map +1 -1
  121. package/funcs/insightsToolsGetById.js +1 -1
  122. package/funcs/insightsToolsGetById.js.map +1 -1
  123. package/funcs/insightsToolsInsightToolGetDefinitions.js +1 -1
  124. package/funcs/insightsToolsInsightToolGetDefinitions.js.map +1 -1
  125. package/funcs/insightsToolsInsightsToolTest.js +1 -1
  126. package/funcs/insightsToolsInsightsToolTest.js.map +1 -1
  127. package/funcs/insightsToolsList.js +1 -1
  128. package/funcs/insightsToolsList.js.map +1 -1
  129. package/funcs/insightsToolsUpdate.js +1 -1
  130. package/funcs/insightsToolsUpdate.js.map +1 -1
  131. package/funcs/insightsWorkflowsActivate.js +1 -1
  132. package/funcs/insightsWorkflowsActivate.js.map +1 -1
  133. package/funcs/insightsWorkflowsCreate.js +1 -1
  134. package/funcs/insightsWorkflowsCreate.js.map +1 -1
  135. package/funcs/insightsWorkflowsDelete.js +1 -1
  136. package/funcs/insightsWorkflowsDelete.js.map +1 -1
  137. package/funcs/insightsWorkflowsGetById.js +1 -1
  138. package/funcs/insightsWorkflowsGetById.js.map +1 -1
  139. package/funcs/insightsWorkflowsInactivate.js +1 -1
  140. package/funcs/insightsWorkflowsInactivate.js.map +1 -1
  141. package/funcs/insightsWorkflowsList.js +1 -1
  142. package/funcs/insightsWorkflowsList.js.map +1 -1
  143. package/funcs/insightsWorkflowsQueueWork.js +1 -1
  144. package/funcs/insightsWorkflowsQueueWork.js.map +1 -1
  145. package/funcs/insightsWorkflowsUpdate.js +1 -1
  146. package/funcs/insightsWorkflowsUpdate.js.map +1 -1
  147. package/funcs/languageGroupsCreate.js +1 -1
  148. package/funcs/languageGroupsCreate.js.map +1 -1
  149. package/funcs/languageGroupsDelete.js +1 -1
  150. package/funcs/languageGroupsDelete.js.map +1 -1
  151. package/funcs/languageGroupsGetById.js +1 -1
  152. package/funcs/languageGroupsGetById.js.map +1 -1
  153. package/funcs/languageGroupsLanguageGroupsCreateVoiceSample.js +1 -1
  154. package/funcs/languageGroupsLanguageGroupsCreateVoiceSample.js.map +1 -1
  155. package/funcs/languageGroupsList.js +1 -1
  156. package/funcs/languageGroupsList.js.map +1 -1
  157. package/funcs/languageGroupsUpdate.js +1 -1
  158. package/funcs/languageGroupsUpdate.js.map +1 -1
  159. package/funcs/organizationsCreate.js +1 -1
  160. package/funcs/organizationsCreate.js.map +1 -1
  161. package/funcs/organizationsDelete.js +1 -1
  162. package/funcs/organizationsDelete.js.map +1 -1
  163. package/funcs/organizationsOrganizationsGet.js +1 -1
  164. package/funcs/organizationsOrganizationsGet.js.map +1 -1
  165. package/funcs/organizationsUpdate.js +1 -1
  166. package/funcs/organizationsUpdate.js.map +1 -1
  167. package/funcs/outboundBatchesAdd.js +1 -1
  168. package/funcs/outboundBatchesAdd.js.map +1 -1
  169. package/funcs/outboundBatchesCreate.js +1 -1
  170. package/funcs/outboundBatchesCreate.js.map +1 -1
  171. package/funcs/outboundBatchesDelete.js +1 -1
  172. package/funcs/outboundBatchesDelete.js.map +1 -1
  173. package/funcs/outboundBatchesGetById.js +1 -1
  174. package/funcs/outboundBatchesGetById.js.map +1 -1
  175. package/funcs/outboundBatchesList.js +1 -1
  176. package/funcs/outboundBatchesList.js.map +1 -1
  177. package/funcs/outboundBatchesRemove.js +1 -1
  178. package/funcs/outboundBatchesRemove.js.map +1 -1
  179. package/funcs/outboundBatchesResults.js +1 -1
  180. package/funcs/outboundBatchesResults.js.map +1 -1
  181. package/funcs/outboundBatchesUpdate.js +1 -1
  182. package/funcs/outboundBatchesUpdate.js.map +1 -1
  183. package/funcs/outboundBatchesUpload.js +1 -1
  184. package/funcs/outboundBatchesUpload.js.map +1 -1
  185. package/funcs/outboundCampaignsCreate.js +1 -1
  186. package/funcs/outboundCampaignsCreate.js.map +1 -1
  187. package/funcs/outboundCampaignsDelete.js +1 -1
  188. package/funcs/outboundCampaignsDelete.js.map +1 -1
  189. package/funcs/outboundCampaignsGetById.js +1 -1
  190. package/funcs/outboundCampaignsGetById.js.map +1 -1
  191. package/funcs/outboundCampaignsList.js +1 -1
  192. package/funcs/outboundCampaignsList.js.map +1 -1
  193. package/funcs/outboundCampaignsUpdate.js +1 -1
  194. package/funcs/outboundCampaignsUpdate.js.map +1 -1
  195. package/funcs/permissionsList.js +1 -1
  196. package/funcs/permissionsList.js.map +1 -1
  197. package/funcs/promptsCreate.js +1 -1
  198. package/funcs/promptsCreate.js.map +1 -1
  199. package/funcs/promptsDelete.js +1 -1
  200. package/funcs/promptsDelete.js.map +1 -1
  201. package/funcs/promptsGetById.js +1 -1
  202. package/funcs/promptsGetById.js.map +1 -1
  203. package/funcs/promptsList.js +1 -1
  204. package/funcs/promptsList.js.map +1 -1
  205. package/funcs/promptsPromptGetSupportedLlms.js +1 -1
  206. package/funcs/promptsPromptGetSupportedLlms.js.map +1 -1
  207. package/funcs/promptsPromptsHistory.js +1 -1
  208. package/funcs/promptsPromptsHistory.js.map +1 -1
  209. package/funcs/promptsUpdate.js +1 -1
  210. package/funcs/promptsUpdate.js.map +1 -1
  211. package/funcs/pronunciationsPronunciationsUploadCsv.d.ts +15 -0
  212. package/funcs/pronunciationsPronunciationsUploadCsv.d.ts.map +1 -0
  213. package/funcs/pronunciationsPronunciationsUploadCsv.js +132 -0
  214. package/funcs/pronunciationsPronunciationsUploadCsv.js.map +1 -0
  215. package/funcs/rolesCreate.js +1 -1
  216. package/funcs/rolesCreate.js.map +1 -1
  217. package/funcs/rolesDelete.js +1 -1
  218. package/funcs/rolesDelete.js.map +1 -1
  219. package/funcs/rolesGetById.js +1 -1
  220. package/funcs/rolesGetById.js.map +1 -1
  221. package/funcs/rolesList.js +1 -1
  222. package/funcs/rolesList.js.map +1 -1
  223. package/funcs/rolesUpdate.js +1 -1
  224. package/funcs/rolesUpdate.js.map +1 -1
  225. package/funcs/servicesCreate.js +1 -1
  226. package/funcs/servicesCreate.js.map +1 -1
  227. package/funcs/servicesDelete.js +1 -1
  228. package/funcs/servicesDelete.js.map +1 -1
  229. package/funcs/servicesGetById.js +1 -1
  230. package/funcs/servicesGetById.js.map +1 -1
  231. package/funcs/servicesList.js +1 -1
  232. package/funcs/servicesList.js.map +1 -1
  233. package/funcs/servicesUpdate.js +1 -1
  234. package/funcs/servicesUpdate.js.map +1 -1
  235. package/funcs/sessionDebugGetSessionDataBySessionId.js +1 -1
  236. package/funcs/sessionDebugGetSessionDataBySessionId.js.map +1 -1
  237. package/funcs/sessionDebugGetSessionDataBySid.js +1 -1
  238. package/funcs/sessionDebugGetSessionDataBySid.js.map +1 -1
  239. package/funcs/sessionDebugGetSessionToolCallResultById.js +1 -1
  240. package/funcs/sessionDebugGetSessionToolCallResultById.js.map +1 -1
  241. package/funcs/sessionLabelsCreate.js +1 -1
  242. package/funcs/sessionLabelsCreate.js.map +1 -1
  243. package/funcs/sessionLabelsGetById.js +1 -1
  244. package/funcs/sessionLabelsGetById.js.map +1 -1
  245. package/funcs/sessionLabelsList.js +1 -1
  246. package/funcs/sessionLabelsList.js.map +1 -1
  247. package/funcs/sessionsFullSummaryGetById.js +1 -1
  248. package/funcs/sessionsFullSummaryGetById.js.map +1 -1
  249. package/funcs/sessionsGenerateSessionRecordingUrls.js +1 -1
  250. package/funcs/sessionsGenerateSessionRecordingUrls.js.map +1 -1
  251. package/funcs/sessionsGetById.js +1 -1
  252. package/funcs/sessionsGetById.js.map +1 -1
  253. package/funcs/sessionsLatencyGetById.js +1 -1
  254. package/funcs/sessionsLatencyGetById.js.map +1 -1
  255. package/funcs/sessionsList.js +1 -1
  256. package/funcs/sessionsList.js.map +1 -1
  257. package/funcs/sessionsSessionRecordingStream.js +1 -1
  258. package/funcs/sessionsSessionRecordingStream.js.map +1 -1
  259. package/funcs/sessionsTranscriptGetById.js +1 -1
  260. package/funcs/sessionsTranscriptGetById.js.map +1 -1
  261. package/funcs/takeoutsCreate.js +1 -1
  262. package/funcs/takeoutsCreate.js.map +1 -1
  263. package/funcs/takeoutsTakeoutsGetByJobId.js +1 -1
  264. package/funcs/takeoutsTakeoutsGetByJobId.js.map +1 -1
  265. package/funcs/takeoutsTakeoutsGetFile.js +1 -1
  266. package/funcs/takeoutsTakeoutsGetFile.js.map +1 -1
  267. package/funcs/toolsCreate.js +1 -1
  268. package/funcs/toolsCreate.js.map +1 -1
  269. package/funcs/toolsDelete.js +1 -1
  270. package/funcs/toolsDelete.js.map +1 -1
  271. package/funcs/toolsGetByName.js +1 -1
  272. package/funcs/toolsGetByName.js.map +1 -1
  273. package/funcs/toolsList.js +1 -1
  274. package/funcs/toolsList.js.map +1 -1
  275. package/funcs/toolsUpdate.js +1 -1
  276. package/funcs/toolsUpdate.js.map +1 -1
  277. package/funcs/usersCreate.js +1 -1
  278. package/funcs/usersCreate.js.map +1 -1
  279. package/funcs/usersDelete.js +1 -1
  280. package/funcs/usersDelete.js.map +1 -1
  281. package/funcs/usersList.js +1 -1
  282. package/funcs/usersList.js.map +1 -1
  283. package/funcs/usersUpdate.js +1 -1
  284. package/funcs/usersUpdate.js.map +1 -1
  285. package/funcs/usersUsersDeleteAccount.js +1 -1
  286. package/funcs/usersUsersDeleteAccount.js.map +1 -1
  287. package/funcs/usersUsersGetByEmail.js +1 -1
  288. package/funcs/usersUsersGetByEmail.js.map +1 -1
  289. package/funcs/usersUsersSendEmail.js +1 -1
  290. package/funcs/usersUsersSendEmail.js.map +1 -1
  291. package/jsr.json +1 -1
  292. package/lib/config.d.ts +3 -3
  293. package/lib/config.js +3 -3
  294. package/lib/config.js.map +1 -1
  295. package/mcp-server/mcp-server.js +1 -1
  296. package/mcp-server/mcp-server.js.map +1 -1
  297. package/mcp-server/server.d.ts.map +1 -1
  298. package/mcp-server/server.js +3 -1
  299. package/mcp-server/server.js.map +1 -1
  300. package/mcp-server/tools/pronunciationsPronunciationsUploadCsv.d.ts +8 -0
  301. package/mcp-server/tools/pronunciationsPronunciationsUploadCsv.d.ts.map +1 -0
  302. package/mcp-server/tools/pronunciationsPronunciationsUploadCsv.js +62 -0
  303. package/mcp-server/tools/pronunciationsPronunciationsUploadCsv.js.map +1 -0
  304. package/models/components/bodypronunciationsuploadcsv.d.ts +59 -0
  305. package/models/components/bodypronunciationsuploadcsv.d.ts.map +1 -0
  306. package/models/components/bodypronunciationsuploadcsv.js +109 -0
  307. package/models/components/bodypronunciationsuploadcsv.js.map +1 -0
  308. package/models/components/index.d.ts +2 -0
  309. package/models/components/index.d.ts.map +1 -1
  310. package/models/components/index.js +2 -0
  311. package/models/components/index.js.map +1 -1
  312. package/models/components/pronunciationscsvuploadresponse.d.ts +40 -0
  313. package/models/components/pronunciationscsvuploadresponse.d.ts.map +1 -0
  314. package/models/components/pronunciationscsvuploadresponse.js +89 -0
  315. package/models/components/pronunciationscsvuploadresponse.js.map +1 -0
  316. package/openapi.json +113 -0
  317. package/package.json +1 -1
  318. package/sdk/pronunciations.d.ts +9 -0
  319. package/sdk/pronunciations.d.ts.map +1 -0
  320. package/sdk/pronunciations.js +19 -0
  321. package/sdk/pronunciations.js.map +1 -0
  322. package/sdk/sdk.d.ts +3 -0
  323. package/sdk/sdk.d.ts.map +1 -1
  324. package/sdk/sdk.js +4 -0
  325. package/sdk/sdk.js.map +1 -1
  326. package/src/funcs/agentsAgentGetAvailableVoices.ts +1 -1
  327. package/src/funcs/agentsCreate.ts +1 -1
  328. package/src/funcs/agentsDelete.ts +1 -1
  329. package/src/funcs/agentsGetById.ts +1 -1
  330. package/src/funcs/agentsList.ts +1 -1
  331. package/src/funcs/agentsTestSendTestMessage.ts +1 -1
  332. package/src/funcs/agentsUpdate.ts +1 -1
  333. package/src/funcs/channelsCreate.ts +1 -1
  334. package/src/funcs/channelsDelete.ts +1 -1
  335. package/src/funcs/channelsList.ts +1 -1
  336. package/src/funcs/channelsTargetsAvailableTargets.ts +1 -1
  337. package/src/funcs/channelsTargetsCreate.ts +1 -1
  338. package/src/funcs/channelsTargetsGetById.ts +1 -1
  339. package/src/funcs/channelsTargetsList.ts +1 -1
  340. package/src/funcs/channelsTargetsUpdate.ts +1 -1
  341. package/src/funcs/channelsTwilioCreate.ts +1 -1
  342. package/src/funcs/channelsTwilioGetById.ts +1 -1
  343. package/src/funcs/channelsTwilioNumbersAdd.ts +1 -1
  344. package/src/funcs/channelsTwilioNumbersList.ts +1 -1
  345. package/src/funcs/channelsTwilioNumbersUpdate.ts +1 -1
  346. package/src/funcs/channelsTwilioUpdate.ts +1 -1
  347. package/src/funcs/channelsUpdate.ts +1 -1
  348. package/src/funcs/conversationsList.ts +1 -1
  349. package/src/funcs/customMessagesCreate.ts +1 -1
  350. package/src/funcs/customMessagesDelete.ts +1 -1
  351. package/src/funcs/customMessagesGetById.ts +1 -1
  352. package/src/funcs/customMessagesList.ts +1 -1
  353. package/src/funcs/customMessagesUpdate.ts +1 -1
  354. package/src/funcs/dashboardsPostGetDashboard.ts +1 -1
  355. package/src/funcs/dashboardsPostListDashboard.ts +1 -1
  356. package/src/funcs/dashboardsPostSessionEventsDashboard.ts +1 -1
  357. package/src/funcs/dashboardsPostSessionSummaryDashboard.ts +1 -1
  358. package/src/funcs/dashboardsPostSessionTransfersDashboard.ts +1 -1
  359. package/src/funcs/dashboardsPostSessionsDashboard.ts +1 -1
  360. package/src/funcs/dataSourcesCreate.ts +1 -1
  361. package/src/funcs/dataSourcesDelete.ts +1 -1
  362. package/src/funcs/dataSourcesGetById.ts +1 -1
  363. package/src/funcs/dataSourcesList.ts +1 -1
  364. package/src/funcs/dataSourcesUpdate.ts +1 -1
  365. package/src/funcs/eventsList.ts +1 -1
  366. package/src/funcs/incidentsCreate.ts +1 -1
  367. package/src/funcs/incidentsDelete.ts +1 -1
  368. package/src/funcs/incidentsGetById.ts +1 -1
  369. package/src/funcs/incidentsIncidentGetOrganizations.ts +1 -1
  370. package/src/funcs/incidentsList.ts +1 -1
  371. package/src/funcs/incidentsUpdate.ts +1 -1
  372. package/src/funcs/insightsFoldersCreate.ts +1 -1
  373. package/src/funcs/insightsFoldersDelete.ts +1 -1
  374. package/src/funcs/insightsFoldersGetById.ts +1 -1
  375. package/src/funcs/insightsFoldersList.ts +1 -1
  376. package/src/funcs/insightsFoldersListFiles.ts +1 -1
  377. package/src/funcs/insightsFoldersMoveFiles.ts +1 -1
  378. package/src/funcs/insightsFoldersUpdate.ts +1 -1
  379. package/src/funcs/insightsFoldersUploadFile.ts +1 -1
  380. package/src/funcs/insightsList.ts +1 -1
  381. package/src/funcs/insightsToolsCreate.ts +1 -1
  382. package/src/funcs/insightsToolsDelete.ts +1 -1
  383. package/src/funcs/insightsToolsGetById.ts +1 -1
  384. package/src/funcs/insightsToolsInsightToolGetDefinitions.ts +1 -1
  385. package/src/funcs/insightsToolsInsightsToolTest.ts +1 -1
  386. package/src/funcs/insightsToolsList.ts +1 -1
  387. package/src/funcs/insightsToolsUpdate.ts +1 -1
  388. package/src/funcs/insightsWorkflowsActivate.ts +1 -1
  389. package/src/funcs/insightsWorkflowsCreate.ts +1 -1
  390. package/src/funcs/insightsWorkflowsDelete.ts +1 -1
  391. package/src/funcs/insightsWorkflowsGetById.ts +1 -1
  392. package/src/funcs/insightsWorkflowsInactivate.ts +1 -1
  393. package/src/funcs/insightsWorkflowsList.ts +1 -1
  394. package/src/funcs/insightsWorkflowsQueueWork.ts +1 -1
  395. package/src/funcs/insightsWorkflowsUpdate.ts +1 -1
  396. package/src/funcs/languageGroupsCreate.ts +1 -1
  397. package/src/funcs/languageGroupsDelete.ts +1 -1
  398. package/src/funcs/languageGroupsGetById.ts +1 -1
  399. package/src/funcs/languageGroupsLanguageGroupsCreateVoiceSample.ts +1 -1
  400. package/src/funcs/languageGroupsList.ts +1 -1
  401. package/src/funcs/languageGroupsUpdate.ts +1 -1
  402. package/src/funcs/organizationsCreate.ts +1 -1
  403. package/src/funcs/organizationsDelete.ts +1 -1
  404. package/src/funcs/organizationsOrganizationsGet.ts +1 -1
  405. package/src/funcs/organizationsUpdate.ts +1 -1
  406. package/src/funcs/outboundBatchesAdd.ts +1 -1
  407. package/src/funcs/outboundBatchesCreate.ts +1 -1
  408. package/src/funcs/outboundBatchesDelete.ts +1 -1
  409. package/src/funcs/outboundBatchesGetById.ts +1 -1
  410. package/src/funcs/outboundBatchesList.ts +1 -1
  411. package/src/funcs/outboundBatchesRemove.ts +1 -1
  412. package/src/funcs/outboundBatchesResults.ts +1 -1
  413. package/src/funcs/outboundBatchesUpdate.ts +1 -1
  414. package/src/funcs/outboundBatchesUpload.ts +1 -1
  415. package/src/funcs/outboundCampaignsCreate.ts +1 -1
  416. package/src/funcs/outboundCampaignsDelete.ts +1 -1
  417. package/src/funcs/outboundCampaignsGetById.ts +1 -1
  418. package/src/funcs/outboundCampaignsList.ts +1 -1
  419. package/src/funcs/outboundCampaignsUpdate.ts +1 -1
  420. package/src/funcs/permissionsList.ts +1 -1
  421. package/src/funcs/promptsCreate.ts +1 -1
  422. package/src/funcs/promptsDelete.ts +1 -1
  423. package/src/funcs/promptsGetById.ts +1 -1
  424. package/src/funcs/promptsList.ts +1 -1
  425. package/src/funcs/promptsPromptGetSupportedLlms.ts +1 -1
  426. package/src/funcs/promptsPromptsHistory.ts +1 -1
  427. package/src/funcs/promptsUpdate.ts +1 -1
  428. package/src/funcs/pronunciationsPronunciationsUploadCsv.ts +191 -0
  429. package/src/funcs/rolesCreate.ts +1 -1
  430. package/src/funcs/rolesDelete.ts +1 -1
  431. package/src/funcs/rolesGetById.ts +1 -1
  432. package/src/funcs/rolesList.ts +1 -1
  433. package/src/funcs/rolesUpdate.ts +1 -1
  434. package/src/funcs/servicesCreate.ts +1 -1
  435. package/src/funcs/servicesDelete.ts +1 -1
  436. package/src/funcs/servicesGetById.ts +1 -1
  437. package/src/funcs/servicesList.ts +1 -1
  438. package/src/funcs/servicesUpdate.ts +1 -1
  439. package/src/funcs/sessionDebugGetSessionDataBySessionId.ts +1 -1
  440. package/src/funcs/sessionDebugGetSessionDataBySid.ts +1 -1
  441. package/src/funcs/sessionDebugGetSessionToolCallResultById.ts +1 -1
  442. package/src/funcs/sessionLabelsCreate.ts +1 -1
  443. package/src/funcs/sessionLabelsGetById.ts +1 -1
  444. package/src/funcs/sessionLabelsList.ts +1 -1
  445. package/src/funcs/sessionsFullSummaryGetById.ts +1 -1
  446. package/src/funcs/sessionsGenerateSessionRecordingUrls.ts +1 -1
  447. package/src/funcs/sessionsGetById.ts +1 -1
  448. package/src/funcs/sessionsLatencyGetById.ts +1 -1
  449. package/src/funcs/sessionsList.ts +1 -1
  450. package/src/funcs/sessionsSessionRecordingStream.ts +1 -1
  451. package/src/funcs/sessionsTranscriptGetById.ts +1 -1
  452. package/src/funcs/takeoutsCreate.ts +1 -1
  453. package/src/funcs/takeoutsTakeoutsGetByJobId.ts +1 -1
  454. package/src/funcs/takeoutsTakeoutsGetFile.ts +1 -1
  455. package/src/funcs/toolsCreate.ts +1 -1
  456. package/src/funcs/toolsDelete.ts +1 -1
  457. package/src/funcs/toolsGetByName.ts +1 -1
  458. package/src/funcs/toolsList.ts +1 -1
  459. package/src/funcs/toolsUpdate.ts +1 -1
  460. package/src/funcs/usersCreate.ts +1 -1
  461. package/src/funcs/usersDelete.ts +1 -1
  462. package/src/funcs/usersList.ts +1 -1
  463. package/src/funcs/usersUpdate.ts +1 -1
  464. package/src/funcs/usersUsersDeleteAccount.ts +1 -1
  465. package/src/funcs/usersUsersGetByEmail.ts +1 -1
  466. package/src/funcs/usersUsersSendEmail.ts +1 -1
  467. package/src/lib/config.ts +3 -3
  468. package/src/mcp-server/mcp-server.ts +1 -1
  469. package/src/mcp-server/server.ts +3 -1
  470. package/src/mcp-server/tools/pronunciationsPronunciationsUploadCsv.ts +37 -0
  471. package/src/models/components/bodypronunciationsuploadcsv.ts +148 -0
  472. package/src/models/components/index.ts +2 -0
  473. package/src/models/components/pronunciationscsvuploadresponse.ts +99 -0
  474. package/src/sdk/pronunciations.ts +24 -0
  475. package/src/sdk/sdk.ts +6 -0
@@ -116,7 +116,7 @@ async function $do(
116
116
  options: client._options,
117
117
  baseURL: options?.serverURL ?? client._baseURL ?? "",
118
118
  operationID: "get_session_data_by_sid",
119
- oAuth2Scopes: [],
119
+ oAuth2Scopes: null,
120
120
 
121
121
  resolvedSecurity: requestSecurity,
122
122
 
@@ -116,7 +116,7 @@ async function $do(
116
116
  options: client._options,
117
117
  baseURL: options?.serverURL ?? client._baseURL ?? "",
118
118
  operationID: "get_session_tool_call_result_by_id",
119
- oAuth2Scopes: [],
119
+ oAuth2Scopes: null,
120
120
 
121
121
  resolvedSecurity: requestSecurity,
122
122
 
@@ -103,7 +103,7 @@ async function $do(
103
103
  options: client._options,
104
104
  baseURL: options?.serverURL ?? client._baseURL ?? "",
105
105
  operationID: "session_label_create",
106
- oAuth2Scopes: [],
106
+ oAuth2Scopes: null,
107
107
 
108
108
  resolvedSecurity: requestSecurity,
109
109
 
@@ -111,7 +111,7 @@ async function $do(
111
111
  options: client._options,
112
112
  baseURL: options?.serverURL ?? client._baseURL ?? "",
113
113
  operationID: "session_label_get_by_id",
114
- oAuth2Scopes: [],
114
+ oAuth2Scopes: null,
115
115
 
116
116
  resolvedSecurity: requestSecurity,
117
117
 
@@ -112,7 +112,7 @@ async function $do(
112
112
  options: client._options,
113
113
  baseURL: options?.serverURL ?? client._baseURL ?? "",
114
114
  operationID: "session_labels_list",
115
- oAuth2Scopes: [],
115
+ oAuth2Scopes: null,
116
116
 
117
117
  resolvedSecurity: requestSecurity,
118
118
 
@@ -110,7 +110,7 @@ async function $do(
110
110
  options: client._options,
111
111
  baseURL: options?.serverURL ?? client._baseURL ?? "",
112
112
  operationID: "session_full_summary_get_by_id",
113
- oAuth2Scopes: [],
113
+ oAuth2Scopes: null,
114
114
 
115
115
  resolvedSecurity: requestSecurity,
116
116
 
@@ -112,7 +112,7 @@ async function $do(
112
112
  options: client._options,
113
113
  baseURL: options?.serverURL ?? client._baseURL ?? "",
114
114
  operationID: "generate_session_recording_urls",
115
- oAuth2Scopes: [],
115
+ oAuth2Scopes: null,
116
116
 
117
117
  resolvedSecurity: requestSecurity,
118
118
 
@@ -107,7 +107,7 @@ async function $do(
107
107
  options: client._options,
108
108
  baseURL: options?.serverURL ?? client._baseURL ?? "",
109
109
  operationID: "session_get_by_id",
110
- oAuth2Scopes: [],
110
+ oAuth2Scopes: null,
111
111
 
112
112
  resolvedSecurity: requestSecurity,
113
113
 
@@ -108,7 +108,7 @@ async function $do(
108
108
  options: client._options,
109
109
  baseURL: options?.serverURL ?? client._baseURL ?? "",
110
110
  operationID: "session_latency_get_by_id",
111
- oAuth2Scopes: [],
111
+ oAuth2Scopes: null,
112
112
 
113
113
  resolvedSecurity: requestSecurity,
114
114
 
@@ -112,7 +112,7 @@ async function $do(
112
112
  options: client._options,
113
113
  baseURL: options?.serverURL ?? client._baseURL ?? "",
114
114
  operationID: "sessions_list",
115
- oAuth2Scopes: [],
115
+ oAuth2Scopes: null,
116
116
 
117
117
  resolvedSecurity: requestSecurity,
118
118
 
@@ -105,7 +105,7 @@ async function $do(
105
105
  options: client._options,
106
106
  baseURL: options?.serverURL ?? client._baseURL ?? "",
107
107
  operationID: "session_recording_stream",
108
- oAuth2Scopes: [],
108
+ oAuth2Scopes: null,
109
109
 
110
110
  resolvedSecurity: requestSecurity,
111
111
 
@@ -110,7 +110,7 @@ async function $do(
110
110
  options: client._options,
111
111
  baseURL: options?.serverURL ?? client._baseURL ?? "",
112
112
  operationID: "session_transcript_get_by_id",
113
- oAuth2Scopes: [],
113
+ oAuth2Scopes: null,
114
114
 
115
115
  resolvedSecurity: requestSecurity,
116
116
 
@@ -80,7 +80,7 @@ async function $do(
80
80
  options: client._options,
81
81
  baseURL: options?.serverURL ?? client._baseURL ?? "",
82
82
  operationID: "takeouts_create",
83
- oAuth2Scopes: [],
83
+ oAuth2Scopes: null,
84
84
 
85
85
  resolvedSecurity: requestSecurity,
86
86
 
@@ -107,7 +107,7 @@ async function $do(
107
107
  options: client._options,
108
108
  baseURL: options?.serverURL ?? client._baseURL ?? "",
109
109
  operationID: "takeouts_get_by_job_id",
110
- oAuth2Scopes: [],
110
+ oAuth2Scopes: null,
111
111
 
112
112
  resolvedSecurity: requestSecurity,
113
113
 
@@ -113,7 +113,7 @@ async function $do(
113
113
  options: client._options,
114
114
  baseURL: options?.serverURL ?? client._baseURL ?? "",
115
115
  operationID: "takeouts_get_file",
116
- oAuth2Scopes: [],
116
+ oAuth2Scopes: null,
117
117
 
118
118
  resolvedSecurity: requestSecurity,
119
119
 
@@ -103,7 +103,7 @@ async function $do(
103
103
  options: client._options,
104
104
  baseURL: options?.serverURL ?? client._baseURL ?? "",
105
105
  operationID: "tool_create",
106
- oAuth2Scopes: [],
106
+ oAuth2Scopes: null,
107
107
 
108
108
  resolvedSecurity: requestSecurity,
109
109
 
@@ -114,7 +114,7 @@ async function $do(
114
114
  options: client._options,
115
115
  baseURL: options?.serverURL ?? client._baseURL ?? "",
116
116
  operationID: "tool_delete",
117
- oAuth2Scopes: [],
117
+ oAuth2Scopes: null,
118
118
 
119
119
  resolvedSecurity: requestSecurity,
120
120
 
@@ -110,7 +110,7 @@ async function $do(
110
110
  options: client._options,
111
111
  baseURL: options?.serverURL ?? client._baseURL ?? "",
112
112
  operationID: "tool_get_by_name",
113
- oAuth2Scopes: [],
113
+ oAuth2Scopes: null,
114
114
 
115
115
  resolvedSecurity: requestSecurity,
116
116
 
@@ -115,7 +115,7 @@ async function $do(
115
115
  options: client._options,
116
116
  baseURL: options?.serverURL ?? client._baseURL ?? "",
117
117
  operationID: "tool_list",
118
- oAuth2Scopes: [],
118
+ oAuth2Scopes: null,
119
119
 
120
120
  resolvedSecurity: requestSecurity,
121
121
 
@@ -103,7 +103,7 @@ async function $do(
103
103
  options: client._options,
104
104
  baseURL: options?.serverURL ?? client._baseURL ?? "",
105
105
  operationID: "tool_update",
106
- oAuth2Scopes: [],
106
+ oAuth2Scopes: null,
107
107
 
108
108
  resolvedSecurity: requestSecurity,
109
109
 
@@ -103,7 +103,7 @@ async function $do(
103
103
  options: client._options,
104
104
  baseURL: options?.serverURL ?? client._baseURL ?? "",
105
105
  operationID: "users_create",
106
- oAuth2Scopes: [],
106
+ oAuth2Scopes: null,
107
107
 
108
108
  resolvedSecurity: requestSecurity,
109
109
 
@@ -104,7 +104,7 @@ async function $do(
104
104
  options: client._options,
105
105
  baseURL: options?.serverURL ?? client._baseURL ?? "",
106
106
  operationID: "users_delete",
107
- oAuth2Scopes: [],
107
+ oAuth2Scopes: null,
108
108
 
109
109
  resolvedSecurity: requestSecurity,
110
110
 
@@ -115,7 +115,7 @@ async function $do(
115
115
  options: client._options,
116
116
  baseURL: options?.serverURL ?? client._baseURL ?? "",
117
117
  operationID: "users_list",
118
- oAuth2Scopes: [],
118
+ oAuth2Scopes: null,
119
119
 
120
120
  resolvedSecurity: requestSecurity,
121
121
 
@@ -103,7 +103,7 @@ async function $do(
103
103
  options: client._options,
104
104
  baseURL: options?.serverURL ?? client._baseURL ?? "",
105
105
  operationID: "users_update",
106
- oAuth2Scopes: [],
106
+ oAuth2Scopes: null,
107
107
 
108
108
  resolvedSecurity: requestSecurity,
109
109
 
@@ -84,7 +84,7 @@ async function $do(
84
84
  options: client._options,
85
85
  baseURL: options?.serverURL ?? client._baseURL ?? "",
86
86
  operationID: "users_delete_account",
87
- oAuth2Scopes: [],
87
+ oAuth2Scopes: null,
88
88
 
89
89
  resolvedSecurity: requestSecurity,
90
90
 
@@ -110,7 +110,7 @@ async function $do(
110
110
  options: client._options,
111
111
  baseURL: options?.serverURL ?? client._baseURL ?? "",
112
112
  operationID: "users_get_by_email",
113
- oAuth2Scopes: [],
113
+ oAuth2Scopes: null,
114
114
 
115
115
  resolvedSecurity: requestSecurity,
116
116
 
@@ -114,7 +114,7 @@ async function $do(
114
114
  options: client._options,
115
115
  baseURL: options?.serverURL ?? client._baseURL ?? "",
116
116
  operationID: "users_send_email",
117
- oAuth2Scopes: [],
117
+ oAuth2Scopes: null,
118
118
 
119
119
  resolvedSecurity: requestSecurity,
120
120
 
package/src/lib/config.ts CHANGED
@@ -61,7 +61,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
61
61
  export const SDK_METADATA = {
62
62
  language: "typescript",
63
63
  openapiDocVersion: "0.0.2",
64
- sdkVersion: "1.0.1-rc.5",
65
- genVersion: "2.722.5",
66
- userAgent: "speakeasy-sdk/typescript 1.0.1-rc.5 2.722.5 0.0.2 syllable-sdk",
64
+ sdkVersion: "1.0.1",
65
+ genVersion: "2.723.2",
66
+ userAgent: "speakeasy-sdk/typescript 1.0.1 2.723.2 0.0.2 syllable-sdk",
67
67
  } as const;
@@ -19,7 +19,7 @@ const routes = buildRouteMap({
19
19
  export const app = buildApplication(routes, {
20
20
  name: "mcp",
21
21
  versionInfo: {
22
- currentVersion: "1.0.1-rc.5",
22
+ currentVersion: "1.0.1",
23
23
  },
24
24
  });
25
25
 
@@ -115,6 +115,7 @@ import { tool$promptsList } from "./tools/promptsList.js";
115
115
  import { tool$promptsPromptGetSupportedLlms } from "./tools/promptsPromptGetSupportedLlms.js";
116
116
  import { tool$promptsPromptsHistory } from "./tools/promptsPromptsHistory.js";
117
117
  import { tool$promptsUpdate } from "./tools/promptsUpdate.js";
118
+ import { tool$pronunciationsPronunciationsUploadCsv } from "./tools/pronunciationsPronunciationsUploadCsv.js";
118
119
  import { tool$rolesCreate } from "./tools/rolesCreate.js";
119
120
  import { tool$rolesDelete } from "./tools/rolesDelete.js";
120
121
  import { tool$rolesGetById } from "./tools/rolesGetById.js";
@@ -164,7 +165,7 @@ export function createMCPServer(deps: {
164
165
  }) {
165
166
  const server = new McpServer({
166
167
  name: "SyllableSDK",
167
- version: "1.0.1-rc.5",
168
+ version: "1.0.1",
168
169
  });
169
170
 
170
171
  const client = new SyllableSDKCore({
@@ -231,6 +232,7 @@ export function createMCPServer(deps: {
231
232
  tool(tool$promptsDelete);
232
233
  tool(tool$promptsPromptsHistory);
233
234
  tool(tool$promptsPromptGetSupportedLlms);
235
+ tool(tool$pronunciationsPronunciationsUploadCsv);
234
236
  tool(tool$rolesList);
235
237
  tool(tool$rolesCreate);
236
238
  tool(tool$rolesUpdate);
@@ -0,0 +1,37 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { pronunciationsPronunciationsUploadCsv } from "../../funcs/pronunciationsPronunciationsUploadCsv.js";
6
+ import * as components from "../../models/components/index.js";
7
+ import { formatResult, ToolDefinition } from "../tools.js";
8
+
9
+ const args = {
10
+ request: components.BodyPronunciationsUploadCsv$inboundSchema,
11
+ };
12
+
13
+ export const tool$pronunciationsPronunciationsUploadCsv: ToolDefinition<
14
+ typeof args
15
+ > = {
16
+ name: "pronunciations-pronunciations-upload-csv",
17
+ description: `Upload Pronunciations Csv`,
18
+ args,
19
+ tool: async (client, args, ctx) => {
20
+ const [result, apiCall] = await pronunciationsPronunciationsUploadCsv(
21
+ client,
22
+ args.request,
23
+ { fetchOptions: { signal: ctx.signal } },
24
+ ).$inspect();
25
+
26
+ if (!result.ok) {
27
+ return {
28
+ content: [{ type: "text", text: result.error.message }],
29
+ isError: true,
30
+ };
31
+ }
32
+
33
+ const value = result.value;
34
+
35
+ return formatResult(value, apiCall);
36
+ },
37
+ };
@@ -0,0 +1,148 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import { blobLikeSchema } from "../../types/blobs.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+
11
+ export type BodyPronunciationsUploadCsvFile = {
12
+ fileName: string;
13
+ content: ReadableStream<Uint8Array> | Blob | ArrayBuffer | Uint8Array;
14
+ };
15
+
16
+ export type BodyPronunciationsUploadCsv = {
17
+ /**
18
+ * CSV file containing pronunciation overrides
19
+ */
20
+ file: BodyPronunciationsUploadCsvFile | Blob;
21
+ };
22
+
23
+ /** @internal */
24
+ export const BodyPronunciationsUploadCsvFile$inboundSchema: z.ZodType<
25
+ BodyPronunciationsUploadCsvFile,
26
+ z.ZodTypeDef,
27
+ unknown
28
+ > = z.object({
29
+ fileName: z.string(),
30
+ content: z.union([
31
+ z.instanceof(ReadableStream<Uint8Array>),
32
+ z.instanceof(Blob),
33
+ z.instanceof(ArrayBuffer),
34
+ z.instanceof(Uint8Array),
35
+ ]),
36
+ });
37
+
38
+ /** @internal */
39
+ export type BodyPronunciationsUploadCsvFile$Outbound = {
40
+ fileName: string;
41
+ content: ReadableStream<Uint8Array> | Blob | ArrayBuffer | Uint8Array;
42
+ };
43
+
44
+ /** @internal */
45
+ export const BodyPronunciationsUploadCsvFile$outboundSchema: z.ZodType<
46
+ BodyPronunciationsUploadCsvFile$Outbound,
47
+ z.ZodTypeDef,
48
+ BodyPronunciationsUploadCsvFile
49
+ > = z.object({
50
+ fileName: z.string(),
51
+ content: z.union([
52
+ z.instanceof(ReadableStream<Uint8Array>),
53
+ z.instanceof(Blob),
54
+ z.instanceof(ArrayBuffer),
55
+ z.instanceof(Uint8Array),
56
+ ]),
57
+ });
58
+
59
+ /**
60
+ * @internal
61
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
62
+ */
63
+ export namespace BodyPronunciationsUploadCsvFile$ {
64
+ /** @deprecated use `BodyPronunciationsUploadCsvFile$inboundSchema` instead. */
65
+ export const inboundSchema = BodyPronunciationsUploadCsvFile$inboundSchema;
66
+ /** @deprecated use `BodyPronunciationsUploadCsvFile$outboundSchema` instead. */
67
+ export const outboundSchema = BodyPronunciationsUploadCsvFile$outboundSchema;
68
+ /** @deprecated use `BodyPronunciationsUploadCsvFile$Outbound` instead. */
69
+ export type Outbound = BodyPronunciationsUploadCsvFile$Outbound;
70
+ }
71
+
72
+ export function bodyPronunciationsUploadCsvFileToJSON(
73
+ bodyPronunciationsUploadCsvFile: BodyPronunciationsUploadCsvFile,
74
+ ): string {
75
+ return JSON.stringify(
76
+ BodyPronunciationsUploadCsvFile$outboundSchema.parse(
77
+ bodyPronunciationsUploadCsvFile,
78
+ ),
79
+ );
80
+ }
81
+
82
+ export function bodyPronunciationsUploadCsvFileFromJSON(
83
+ jsonString: string,
84
+ ): SafeParseResult<BodyPronunciationsUploadCsvFile, SDKValidationError> {
85
+ return safeParse(
86
+ jsonString,
87
+ (x) => BodyPronunciationsUploadCsvFile$inboundSchema.parse(JSON.parse(x)),
88
+ `Failed to parse 'BodyPronunciationsUploadCsvFile' from JSON`,
89
+ );
90
+ }
91
+
92
+ /** @internal */
93
+ export const BodyPronunciationsUploadCsv$inboundSchema: z.ZodType<
94
+ BodyPronunciationsUploadCsv,
95
+ z.ZodTypeDef,
96
+ unknown
97
+ > = z.object({
98
+ file: z.lazy(() => BodyPronunciationsUploadCsvFile$inboundSchema),
99
+ });
100
+
101
+ /** @internal */
102
+ export type BodyPronunciationsUploadCsv$Outbound = {
103
+ file: BodyPronunciationsUploadCsvFile$Outbound | Blob;
104
+ };
105
+
106
+ /** @internal */
107
+ export const BodyPronunciationsUploadCsv$outboundSchema: z.ZodType<
108
+ BodyPronunciationsUploadCsv$Outbound,
109
+ z.ZodTypeDef,
110
+ BodyPronunciationsUploadCsv
111
+ > = z.object({
112
+ file: z.lazy(() => BodyPronunciationsUploadCsvFile$outboundSchema).or(
113
+ blobLikeSchema,
114
+ ),
115
+ });
116
+
117
+ /**
118
+ * @internal
119
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
120
+ */
121
+ export namespace BodyPronunciationsUploadCsv$ {
122
+ /** @deprecated use `BodyPronunciationsUploadCsv$inboundSchema` instead. */
123
+ export const inboundSchema = BodyPronunciationsUploadCsv$inboundSchema;
124
+ /** @deprecated use `BodyPronunciationsUploadCsv$outboundSchema` instead. */
125
+ export const outboundSchema = BodyPronunciationsUploadCsv$outboundSchema;
126
+ /** @deprecated use `BodyPronunciationsUploadCsv$Outbound` instead. */
127
+ export type Outbound = BodyPronunciationsUploadCsv$Outbound;
128
+ }
129
+
130
+ export function bodyPronunciationsUploadCsvToJSON(
131
+ bodyPronunciationsUploadCsv: BodyPronunciationsUploadCsv,
132
+ ): string {
133
+ return JSON.stringify(
134
+ BodyPronunciationsUploadCsv$outboundSchema.parse(
135
+ bodyPronunciationsUploadCsv,
136
+ ),
137
+ );
138
+ }
139
+
140
+ export function bodyPronunciationsUploadCsvFromJSON(
141
+ jsonString: string,
142
+ ): SafeParseResult<BodyPronunciationsUploadCsv, SDKValidationError> {
143
+ return safeParse(
144
+ jsonString,
145
+ (x) => BodyPronunciationsUploadCsv$inboundSchema.parse(JSON.parse(x)),
146
+ `Failed to parse 'BodyPronunciationsUploadCsv' from JSON`,
147
+ );
148
+ }
@@ -27,6 +27,7 @@ export * from "./bodyorganizationsdelete.js";
27
27
  export * from "./bodyorganizationsupdate.js";
28
28
  export * from "./bodyoutboundbatchdelete.js";
29
29
  export * from "./bodyoutboundbatchupload.js";
30
+ export * from "./bodypronunciationsuploadcsv.js";
30
31
  export * from "./campaignproperties.js";
31
32
  export * from "./channel.js";
32
33
  export * from "./channelconfigview.js";
@@ -146,6 +147,7 @@ export * from "./promptllmprovider.js";
146
147
  export * from "./promptproperties.js";
147
148
  export * from "./promptresponse.js";
148
149
  export * from "./promptupdaterequest.js";
150
+ export * from "./pronunciationscsvuploadresponse.js";
149
151
  export * from "./requeststatus.js";
150
152
  export * from "./rolecreaterequest.js";
151
153
  export * from "./roleproperties.js";
@@ -0,0 +1,99 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+
11
+ /**
12
+ * Placeholder response returned after accepting a pronunciations CSV upload.
13
+ */
14
+ export type PronunciationsCsvUploadResponse = {
15
+ revision: number;
16
+ hash?: string | null | undefined;
17
+ entries?: number | null | undefined;
18
+ uploadedAt?: Date | undefined;
19
+ uploadedBy?: string | null | undefined;
20
+ };
21
+
22
+ /** @internal */
23
+ export const PronunciationsCsvUploadResponse$inboundSchema: z.ZodType<
24
+ PronunciationsCsvUploadResponse,
25
+ z.ZodTypeDef,
26
+ unknown
27
+ > = z.object({
28
+ revision: z.number().int(),
29
+ hash: z.nullable(z.string()).optional(),
30
+ entries: z.nullable(z.number().int()).optional(),
31
+ uploaded_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
32
+ .optional(),
33
+ uploaded_by: z.nullable(z.string()).optional(),
34
+ }).transform((v) => {
35
+ return remap$(v, {
36
+ "uploaded_at": "uploadedAt",
37
+ "uploaded_by": "uploadedBy",
38
+ });
39
+ });
40
+
41
+ /** @internal */
42
+ export type PronunciationsCsvUploadResponse$Outbound = {
43
+ revision: number;
44
+ hash?: string | null | undefined;
45
+ entries?: number | null | undefined;
46
+ uploaded_at?: string | undefined;
47
+ uploaded_by?: string | null | undefined;
48
+ };
49
+
50
+ /** @internal */
51
+ export const PronunciationsCsvUploadResponse$outboundSchema: z.ZodType<
52
+ PronunciationsCsvUploadResponse$Outbound,
53
+ z.ZodTypeDef,
54
+ PronunciationsCsvUploadResponse
55
+ > = z.object({
56
+ revision: z.number().int(),
57
+ hash: z.nullable(z.string()).optional(),
58
+ entries: z.nullable(z.number().int()).optional(),
59
+ uploadedAt: z.date().transform(v => v.toISOString()).optional(),
60
+ uploadedBy: z.nullable(z.string()).optional(),
61
+ }).transform((v) => {
62
+ return remap$(v, {
63
+ uploadedAt: "uploaded_at",
64
+ uploadedBy: "uploaded_by",
65
+ });
66
+ });
67
+
68
+ /**
69
+ * @internal
70
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
71
+ */
72
+ export namespace PronunciationsCsvUploadResponse$ {
73
+ /** @deprecated use `PronunciationsCsvUploadResponse$inboundSchema` instead. */
74
+ export const inboundSchema = PronunciationsCsvUploadResponse$inboundSchema;
75
+ /** @deprecated use `PronunciationsCsvUploadResponse$outboundSchema` instead. */
76
+ export const outboundSchema = PronunciationsCsvUploadResponse$outboundSchema;
77
+ /** @deprecated use `PronunciationsCsvUploadResponse$Outbound` instead. */
78
+ export type Outbound = PronunciationsCsvUploadResponse$Outbound;
79
+ }
80
+
81
+ export function pronunciationsCsvUploadResponseToJSON(
82
+ pronunciationsCsvUploadResponse: PronunciationsCsvUploadResponse,
83
+ ): string {
84
+ return JSON.stringify(
85
+ PronunciationsCsvUploadResponse$outboundSchema.parse(
86
+ pronunciationsCsvUploadResponse,
87
+ ),
88
+ );
89
+ }
90
+
91
+ export function pronunciationsCsvUploadResponseFromJSON(
92
+ jsonString: string,
93
+ ): SafeParseResult<PronunciationsCsvUploadResponse, SDKValidationError> {
94
+ return safeParse(
95
+ jsonString,
96
+ (x) => PronunciationsCsvUploadResponse$inboundSchema.parse(JSON.parse(x)),
97
+ `Failed to parse 'PronunciationsCsvUploadResponse' from JSON`,
98
+ );
99
+ }
@@ -0,0 +1,24 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { pronunciationsPronunciationsUploadCsv } from "../funcs/pronunciationsPronunciationsUploadCsv.js";
6
+ import { ClientSDK, RequestOptions } from "../lib/sdks.js";
7
+ import * as components from "../models/components/index.js";
8
+ import { unwrapAsync } from "../types/fp.js";
9
+
10
+ export class Pronunciations extends ClientSDK {
11
+ /**
12
+ * Upload Pronunciations Csv
13
+ */
14
+ async pronunciationsUploadCsv(
15
+ request: components.BodyPronunciationsUploadCsv,
16
+ options?: RequestOptions,
17
+ ): Promise<components.PronunciationsCsvUploadResponse> {
18
+ return unwrapAsync(pronunciationsPronunciationsUploadCsv(
19
+ this,
20
+ request,
21
+ options,
22
+ ));
23
+ }
24
+ }