syllable-sdk 1.0.1-rc.4 → 1.0.1-rc.6
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.
- package/README.md +5 -4
- package/RUNTIMES.md +6 -6
- package/bin/mcp-server.js +592 -402
- package/bin/mcp-server.js.map +151 -147
- package/docs/sdks/batches/README.md +4 -4
- package/docs/sdks/pronunciations/README.md +84 -0
- package/docs/sdks/workflows/README.md +8 -8
- package/examples/package-lock.json +1 -1
- package/funcs/agentsAgentGetAvailableVoices.js +1 -1
- package/funcs/agentsAgentGetAvailableVoices.js.map +1 -1
- package/funcs/agentsCreate.js +1 -1
- package/funcs/agentsCreate.js.map +1 -1
- package/funcs/agentsDelete.js +1 -1
- package/funcs/agentsDelete.js.map +1 -1
- package/funcs/agentsGetById.js +1 -1
- package/funcs/agentsGetById.js.map +1 -1
- package/funcs/agentsList.js +1 -1
- package/funcs/agentsList.js.map +1 -1
- package/funcs/agentsTestSendTestMessage.js +1 -1
- package/funcs/agentsTestSendTestMessage.js.map +1 -1
- package/funcs/agentsUpdate.js +1 -1
- package/funcs/agentsUpdate.js.map +1 -1
- package/funcs/channelsCreate.js +1 -1
- package/funcs/channelsCreate.js.map +1 -1
- package/funcs/channelsDelete.js +1 -1
- package/funcs/channelsDelete.js.map +1 -1
- package/funcs/channelsList.js +1 -1
- package/funcs/channelsList.js.map +1 -1
- package/funcs/channelsTargetsAvailableTargets.js +1 -1
- package/funcs/channelsTargetsAvailableTargets.js.map +1 -1
- package/funcs/channelsTargetsCreate.js +1 -1
- package/funcs/channelsTargetsCreate.js.map +1 -1
- package/funcs/channelsTargetsGetById.js +1 -1
- package/funcs/channelsTargetsGetById.js.map +1 -1
- package/funcs/channelsTargetsList.js +1 -1
- package/funcs/channelsTargetsList.js.map +1 -1
- package/funcs/channelsTargetsUpdate.js +1 -1
- package/funcs/channelsTargetsUpdate.js.map +1 -1
- package/funcs/channelsTwilioCreate.js +1 -1
- package/funcs/channelsTwilioCreate.js.map +1 -1
- package/funcs/channelsTwilioGetById.js +1 -1
- package/funcs/channelsTwilioGetById.js.map +1 -1
- package/funcs/channelsTwilioNumbersAdd.js +1 -1
- package/funcs/channelsTwilioNumbersAdd.js.map +1 -1
- package/funcs/channelsTwilioNumbersList.js +1 -1
- package/funcs/channelsTwilioNumbersList.js.map +1 -1
- package/funcs/channelsTwilioNumbersUpdate.js +1 -1
- package/funcs/channelsTwilioNumbersUpdate.js.map +1 -1
- package/funcs/channelsTwilioUpdate.js +1 -1
- package/funcs/channelsTwilioUpdate.js.map +1 -1
- package/funcs/channelsUpdate.js +1 -1
- package/funcs/channelsUpdate.js.map +1 -1
- package/funcs/conversationsList.js +1 -1
- package/funcs/conversationsList.js.map +1 -1
- package/funcs/customMessagesCreate.js +1 -1
- package/funcs/customMessagesCreate.js.map +1 -1
- package/funcs/customMessagesDelete.js +1 -1
- package/funcs/customMessagesDelete.js.map +1 -1
- package/funcs/customMessagesGetById.js +1 -1
- package/funcs/customMessagesGetById.js.map +1 -1
- package/funcs/customMessagesList.js +1 -1
- package/funcs/customMessagesList.js.map +1 -1
- package/funcs/customMessagesUpdate.js +1 -1
- package/funcs/customMessagesUpdate.js.map +1 -1
- package/funcs/dashboardsPostGetDashboard.js +1 -1
- package/funcs/dashboardsPostGetDashboard.js.map +1 -1
- package/funcs/dashboardsPostListDashboard.js +1 -1
- package/funcs/dashboardsPostListDashboard.js.map +1 -1
- package/funcs/dashboardsPostSessionEventsDashboard.js +1 -1
- package/funcs/dashboardsPostSessionEventsDashboard.js.map +1 -1
- package/funcs/dashboardsPostSessionSummaryDashboard.js +1 -1
- package/funcs/dashboardsPostSessionSummaryDashboard.js.map +1 -1
- package/funcs/dashboardsPostSessionTransfersDashboard.js +1 -1
- package/funcs/dashboardsPostSessionTransfersDashboard.js.map +1 -1
- package/funcs/dashboardsPostSessionsDashboard.js +1 -1
- package/funcs/dashboardsPostSessionsDashboard.js.map +1 -1
- package/funcs/dataSourcesCreate.js +1 -1
- package/funcs/dataSourcesCreate.js.map +1 -1
- package/funcs/dataSourcesDelete.js +1 -1
- package/funcs/dataSourcesDelete.js.map +1 -1
- package/funcs/dataSourcesGetById.js +1 -1
- package/funcs/dataSourcesGetById.js.map +1 -1
- package/funcs/dataSourcesList.js +1 -1
- package/funcs/dataSourcesList.js.map +1 -1
- package/funcs/dataSourcesUpdate.js +1 -1
- package/funcs/dataSourcesUpdate.js.map +1 -1
- package/funcs/eventsList.js +1 -1
- package/funcs/eventsList.js.map +1 -1
- package/funcs/incidentsCreate.js +1 -1
- package/funcs/incidentsCreate.js.map +1 -1
- package/funcs/incidentsDelete.js +1 -1
- package/funcs/incidentsDelete.js.map +1 -1
- package/funcs/incidentsGetById.js +1 -1
- package/funcs/incidentsGetById.js.map +1 -1
- package/funcs/incidentsIncidentGetOrganizations.js +1 -1
- package/funcs/incidentsIncidentGetOrganizations.js.map +1 -1
- package/funcs/incidentsList.js +1 -1
- package/funcs/incidentsList.js.map +1 -1
- package/funcs/incidentsUpdate.js +1 -1
- package/funcs/incidentsUpdate.js.map +1 -1
- package/funcs/insightsFoldersCreate.js +1 -1
- package/funcs/insightsFoldersCreate.js.map +1 -1
- package/funcs/insightsFoldersDelete.js +1 -1
- package/funcs/insightsFoldersDelete.js.map +1 -1
- package/funcs/insightsFoldersGetById.js +1 -1
- package/funcs/insightsFoldersGetById.js.map +1 -1
- package/funcs/insightsFoldersList.js +1 -1
- package/funcs/insightsFoldersList.js.map +1 -1
- package/funcs/insightsFoldersListFiles.js +1 -1
- package/funcs/insightsFoldersListFiles.js.map +1 -1
- package/funcs/insightsFoldersMoveFiles.js +1 -1
- package/funcs/insightsFoldersMoveFiles.js.map +1 -1
- package/funcs/insightsFoldersUpdate.js +1 -1
- package/funcs/insightsFoldersUpdate.js.map +1 -1
- package/funcs/insightsFoldersUploadFile.js +1 -1
- package/funcs/insightsFoldersUploadFile.js.map +1 -1
- package/funcs/insightsList.js +1 -1
- package/funcs/insightsList.js.map +1 -1
- package/funcs/insightsToolsCreate.js +1 -1
- package/funcs/insightsToolsCreate.js.map +1 -1
- package/funcs/insightsToolsDelete.js +1 -1
- package/funcs/insightsToolsDelete.js.map +1 -1
- package/funcs/insightsToolsGetById.js +1 -1
- package/funcs/insightsToolsGetById.js.map +1 -1
- package/funcs/insightsToolsInsightToolGetDefinitions.js +1 -1
- package/funcs/insightsToolsInsightToolGetDefinitions.js.map +1 -1
- package/funcs/insightsToolsInsightsToolTest.js +1 -1
- package/funcs/insightsToolsInsightsToolTest.js.map +1 -1
- package/funcs/insightsToolsList.js +1 -1
- package/funcs/insightsToolsList.js.map +1 -1
- package/funcs/insightsToolsUpdate.js +1 -1
- package/funcs/insightsToolsUpdate.js.map +1 -1
- package/funcs/insightsWorkflowsActivate.js +1 -1
- package/funcs/insightsWorkflowsActivate.js.map +1 -1
- package/funcs/insightsWorkflowsCreate.js +1 -1
- package/funcs/insightsWorkflowsCreate.js.map +1 -1
- package/funcs/insightsWorkflowsDelete.js +1 -1
- package/funcs/insightsWorkflowsDelete.js.map +1 -1
- package/funcs/insightsWorkflowsGetById.js +1 -1
- package/funcs/insightsWorkflowsGetById.js.map +1 -1
- package/funcs/insightsWorkflowsInactivate.js +1 -1
- package/funcs/insightsWorkflowsInactivate.js.map +1 -1
- package/funcs/insightsWorkflowsList.js +1 -1
- package/funcs/insightsWorkflowsList.js.map +1 -1
- package/funcs/insightsWorkflowsQueueWork.js +1 -1
- package/funcs/insightsWorkflowsQueueWork.js.map +1 -1
- package/funcs/insightsWorkflowsUpdate.js +1 -1
- package/funcs/insightsWorkflowsUpdate.js.map +1 -1
- package/funcs/languageGroupsCreate.js +1 -1
- package/funcs/languageGroupsCreate.js.map +1 -1
- package/funcs/languageGroupsDelete.js +1 -1
- package/funcs/languageGroupsDelete.js.map +1 -1
- package/funcs/languageGroupsGetById.js +1 -1
- package/funcs/languageGroupsGetById.js.map +1 -1
- package/funcs/languageGroupsLanguageGroupsCreateVoiceSample.js +1 -1
- package/funcs/languageGroupsLanguageGroupsCreateVoiceSample.js.map +1 -1
- package/funcs/languageGroupsList.js +1 -1
- package/funcs/languageGroupsList.js.map +1 -1
- package/funcs/languageGroupsUpdate.js +1 -1
- package/funcs/languageGroupsUpdate.js.map +1 -1
- package/funcs/organizationsCreate.js +1 -1
- package/funcs/organizationsCreate.js.map +1 -1
- package/funcs/organizationsDelete.js +1 -1
- package/funcs/organizationsDelete.js.map +1 -1
- package/funcs/organizationsOrganizationsGet.js +1 -1
- package/funcs/organizationsOrganizationsGet.js.map +1 -1
- package/funcs/organizationsUpdate.js +1 -1
- package/funcs/organizationsUpdate.js.map +1 -1
- package/funcs/outboundBatchesAdd.js +1 -1
- package/funcs/outboundBatchesAdd.js.map +1 -1
- package/funcs/outboundBatchesCreate.js +1 -1
- package/funcs/outboundBatchesCreate.js.map +1 -1
- package/funcs/outboundBatchesDelete.js +1 -1
- package/funcs/outboundBatchesDelete.js.map +1 -1
- package/funcs/outboundBatchesGetById.js +1 -1
- package/funcs/outboundBatchesGetById.js.map +1 -1
- package/funcs/outboundBatchesList.js +1 -1
- package/funcs/outboundBatchesList.js.map +1 -1
- package/funcs/outboundBatchesRemove.js +1 -1
- package/funcs/outboundBatchesRemove.js.map +1 -1
- package/funcs/outboundBatchesResults.js +1 -1
- package/funcs/outboundBatchesResults.js.map +1 -1
- package/funcs/outboundBatchesUpdate.js +1 -1
- package/funcs/outboundBatchesUpdate.js.map +1 -1
- package/funcs/outboundBatchesUpload.js +1 -1
- package/funcs/outboundBatchesUpload.js.map +1 -1
- package/funcs/outboundCampaignsCreate.js +1 -1
- package/funcs/outboundCampaignsCreate.js.map +1 -1
- package/funcs/outboundCampaignsDelete.js +1 -1
- package/funcs/outboundCampaignsDelete.js.map +1 -1
- package/funcs/outboundCampaignsGetById.js +1 -1
- package/funcs/outboundCampaignsGetById.js.map +1 -1
- package/funcs/outboundCampaignsList.js +1 -1
- package/funcs/outboundCampaignsList.js.map +1 -1
- package/funcs/outboundCampaignsUpdate.js +1 -1
- package/funcs/outboundCampaignsUpdate.js.map +1 -1
- package/funcs/permissionsList.js +1 -1
- package/funcs/permissionsList.js.map +1 -1
- package/funcs/promptsCreate.js +1 -1
- package/funcs/promptsCreate.js.map +1 -1
- package/funcs/promptsDelete.js +1 -1
- package/funcs/promptsDelete.js.map +1 -1
- package/funcs/promptsGetById.js +1 -1
- package/funcs/promptsGetById.js.map +1 -1
- package/funcs/promptsList.js +1 -1
- package/funcs/promptsList.js.map +1 -1
- package/funcs/promptsPromptGetSupportedLlms.js +1 -1
- package/funcs/promptsPromptGetSupportedLlms.js.map +1 -1
- package/funcs/promptsPromptsHistory.js +1 -1
- package/funcs/promptsPromptsHistory.js.map +1 -1
- package/funcs/promptsUpdate.js +1 -1
- package/funcs/promptsUpdate.js.map +1 -1
- package/funcs/pronunciationsPronunciationsUploadCsv.d.ts +15 -0
- package/funcs/pronunciationsPronunciationsUploadCsv.d.ts.map +1 -0
- package/funcs/pronunciationsPronunciationsUploadCsv.js +132 -0
- package/funcs/pronunciationsPronunciationsUploadCsv.js.map +1 -0
- package/funcs/rolesCreate.js +1 -1
- package/funcs/rolesCreate.js.map +1 -1
- package/funcs/rolesDelete.js +1 -1
- package/funcs/rolesDelete.js.map +1 -1
- package/funcs/rolesGetById.js +1 -1
- package/funcs/rolesGetById.js.map +1 -1
- package/funcs/rolesList.js +1 -1
- package/funcs/rolesList.js.map +1 -1
- package/funcs/rolesUpdate.js +1 -1
- package/funcs/rolesUpdate.js.map +1 -1
- package/funcs/servicesCreate.js +1 -1
- package/funcs/servicesCreate.js.map +1 -1
- package/funcs/servicesDelete.js +1 -1
- package/funcs/servicesDelete.js.map +1 -1
- package/funcs/servicesGetById.js +1 -1
- package/funcs/servicesGetById.js.map +1 -1
- package/funcs/servicesList.js +1 -1
- package/funcs/servicesList.js.map +1 -1
- package/funcs/servicesUpdate.js +1 -1
- package/funcs/servicesUpdate.js.map +1 -1
- package/funcs/sessionDebugGetSessionDataBySessionId.js +1 -1
- package/funcs/sessionDebugGetSessionDataBySessionId.js.map +1 -1
- package/funcs/sessionDebugGetSessionDataBySid.js +1 -1
- package/funcs/sessionDebugGetSessionDataBySid.js.map +1 -1
- package/funcs/sessionDebugGetSessionToolCallResultById.js +1 -1
- package/funcs/sessionDebugGetSessionToolCallResultById.js.map +1 -1
- package/funcs/sessionLabelsCreate.js +1 -1
- package/funcs/sessionLabelsCreate.js.map +1 -1
- package/funcs/sessionLabelsGetById.js +1 -1
- package/funcs/sessionLabelsGetById.js.map +1 -1
- package/funcs/sessionLabelsList.js +1 -1
- package/funcs/sessionLabelsList.js.map +1 -1
- package/funcs/sessionsFullSummaryGetById.js +1 -1
- package/funcs/sessionsFullSummaryGetById.js.map +1 -1
- package/funcs/sessionsGenerateSessionRecordingUrls.js +1 -1
- package/funcs/sessionsGenerateSessionRecordingUrls.js.map +1 -1
- package/funcs/sessionsGetById.js +1 -1
- package/funcs/sessionsGetById.js.map +1 -1
- package/funcs/sessionsLatencyGetById.js +1 -1
- package/funcs/sessionsLatencyGetById.js.map +1 -1
- package/funcs/sessionsList.js +1 -1
- package/funcs/sessionsList.js.map +1 -1
- package/funcs/sessionsSessionRecordingStream.js +1 -1
- package/funcs/sessionsSessionRecordingStream.js.map +1 -1
- package/funcs/sessionsTranscriptGetById.js +1 -1
- package/funcs/sessionsTranscriptGetById.js.map +1 -1
- package/funcs/takeoutsCreate.js +1 -1
- package/funcs/takeoutsCreate.js.map +1 -1
- package/funcs/takeoutsTakeoutsGetByJobId.js +1 -1
- package/funcs/takeoutsTakeoutsGetByJobId.js.map +1 -1
- package/funcs/takeoutsTakeoutsGetFile.js +1 -1
- package/funcs/takeoutsTakeoutsGetFile.js.map +1 -1
- package/funcs/toolsCreate.js +1 -1
- package/funcs/toolsCreate.js.map +1 -1
- package/funcs/toolsDelete.js +1 -1
- package/funcs/toolsDelete.js.map +1 -1
- package/funcs/toolsGetByName.js +1 -1
- package/funcs/toolsGetByName.js.map +1 -1
- package/funcs/toolsList.js +1 -1
- package/funcs/toolsList.js.map +1 -1
- package/funcs/toolsUpdate.js +1 -1
- package/funcs/toolsUpdate.js.map +1 -1
- package/funcs/usersCreate.js +1 -1
- package/funcs/usersCreate.js.map +1 -1
- package/funcs/usersDelete.js +1 -1
- package/funcs/usersDelete.js.map +1 -1
- package/funcs/usersList.js +1 -1
- package/funcs/usersList.js.map +1 -1
- package/funcs/usersUpdate.js +1 -1
- package/funcs/usersUpdate.js.map +1 -1
- package/funcs/usersUsersDeleteAccount.js +1 -1
- package/funcs/usersUsersDeleteAccount.js.map +1 -1
- package/funcs/usersUsersGetByEmail.js +1 -1
- package/funcs/usersUsersGetByEmail.js.map +1 -1
- package/funcs/usersUsersSendEmail.js +1 -1
- package/funcs/usersUsersSendEmail.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +3 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/pronunciationsPronunciationsUploadCsv.d.ts +8 -0
- package/mcp-server/tools/pronunciationsPronunciationsUploadCsv.d.ts.map +1 -0
- package/mcp-server/tools/pronunciationsPronunciationsUploadCsv.js +62 -0
- package/mcp-server/tools/pronunciationsPronunciationsUploadCsv.js.map +1 -0
- package/models/components/bodypronunciationsuploadcsv.d.ts +59 -0
- package/models/components/bodypronunciationsuploadcsv.d.ts.map +1 -0
- package/models/components/bodypronunciationsuploadcsv.js +109 -0
- package/models/components/bodypronunciationsuploadcsv.js.map +1 -0
- package/models/components/index.d.ts +2 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +2 -0
- package/models/components/index.js.map +1 -1
- package/models/components/pronunciationscsvuploadresponse.d.ts +40 -0
- package/models/components/pronunciationscsvuploadresponse.d.ts.map +1 -0
- package/models/components/pronunciationscsvuploadresponse.js +89 -0
- package/models/components/pronunciationscsvuploadresponse.js.map +1 -0
- package/openapi.json +146 -33
- package/package.json +1 -1
- package/sdk/pronunciations.d.ts +9 -0
- package/sdk/pronunciations.d.ts.map +1 -0
- package/sdk/pronunciations.js +19 -0
- package/sdk/pronunciations.js.map +1 -0
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -0
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/agentsAgentGetAvailableVoices.ts +1 -1
- package/src/funcs/agentsCreate.ts +1 -1
- package/src/funcs/agentsDelete.ts +1 -1
- package/src/funcs/agentsGetById.ts +1 -1
- package/src/funcs/agentsList.ts +1 -1
- package/src/funcs/agentsTestSendTestMessage.ts +1 -1
- package/src/funcs/agentsUpdate.ts +1 -1
- package/src/funcs/channelsCreate.ts +1 -1
- package/src/funcs/channelsDelete.ts +1 -1
- package/src/funcs/channelsList.ts +1 -1
- package/src/funcs/channelsTargetsAvailableTargets.ts +1 -1
- package/src/funcs/channelsTargetsCreate.ts +1 -1
- package/src/funcs/channelsTargetsGetById.ts +1 -1
- package/src/funcs/channelsTargetsList.ts +1 -1
- package/src/funcs/channelsTargetsUpdate.ts +1 -1
- package/src/funcs/channelsTwilioCreate.ts +1 -1
- package/src/funcs/channelsTwilioGetById.ts +1 -1
- package/src/funcs/channelsTwilioNumbersAdd.ts +1 -1
- package/src/funcs/channelsTwilioNumbersList.ts +1 -1
- package/src/funcs/channelsTwilioNumbersUpdate.ts +1 -1
- package/src/funcs/channelsTwilioUpdate.ts +1 -1
- package/src/funcs/channelsUpdate.ts +1 -1
- package/src/funcs/conversationsList.ts +1 -1
- package/src/funcs/customMessagesCreate.ts +1 -1
- package/src/funcs/customMessagesDelete.ts +1 -1
- package/src/funcs/customMessagesGetById.ts +1 -1
- package/src/funcs/customMessagesList.ts +1 -1
- package/src/funcs/customMessagesUpdate.ts +1 -1
- package/src/funcs/dashboardsPostGetDashboard.ts +1 -1
- package/src/funcs/dashboardsPostListDashboard.ts +1 -1
- package/src/funcs/dashboardsPostSessionEventsDashboard.ts +1 -1
- package/src/funcs/dashboardsPostSessionSummaryDashboard.ts +1 -1
- package/src/funcs/dashboardsPostSessionTransfersDashboard.ts +1 -1
- package/src/funcs/dashboardsPostSessionsDashboard.ts +1 -1
- package/src/funcs/dataSourcesCreate.ts +1 -1
- package/src/funcs/dataSourcesDelete.ts +1 -1
- package/src/funcs/dataSourcesGetById.ts +1 -1
- package/src/funcs/dataSourcesList.ts +1 -1
- package/src/funcs/dataSourcesUpdate.ts +1 -1
- package/src/funcs/eventsList.ts +1 -1
- package/src/funcs/incidentsCreate.ts +1 -1
- package/src/funcs/incidentsDelete.ts +1 -1
- package/src/funcs/incidentsGetById.ts +1 -1
- package/src/funcs/incidentsIncidentGetOrganizations.ts +1 -1
- package/src/funcs/incidentsList.ts +1 -1
- package/src/funcs/incidentsUpdate.ts +1 -1
- package/src/funcs/insightsFoldersCreate.ts +1 -1
- package/src/funcs/insightsFoldersDelete.ts +1 -1
- package/src/funcs/insightsFoldersGetById.ts +1 -1
- package/src/funcs/insightsFoldersList.ts +1 -1
- package/src/funcs/insightsFoldersListFiles.ts +1 -1
- package/src/funcs/insightsFoldersMoveFiles.ts +1 -1
- package/src/funcs/insightsFoldersUpdate.ts +1 -1
- package/src/funcs/insightsFoldersUploadFile.ts +1 -1
- package/src/funcs/insightsList.ts +1 -1
- package/src/funcs/insightsToolsCreate.ts +1 -1
- package/src/funcs/insightsToolsDelete.ts +1 -1
- package/src/funcs/insightsToolsGetById.ts +1 -1
- package/src/funcs/insightsToolsInsightToolGetDefinitions.ts +1 -1
- package/src/funcs/insightsToolsInsightsToolTest.ts +1 -1
- package/src/funcs/insightsToolsList.ts +1 -1
- package/src/funcs/insightsToolsUpdate.ts +1 -1
- package/src/funcs/insightsWorkflowsActivate.ts +1 -1
- package/src/funcs/insightsWorkflowsCreate.ts +1 -1
- package/src/funcs/insightsWorkflowsDelete.ts +1 -1
- package/src/funcs/insightsWorkflowsGetById.ts +1 -1
- package/src/funcs/insightsWorkflowsInactivate.ts +1 -1
- package/src/funcs/insightsWorkflowsList.ts +1 -1
- package/src/funcs/insightsWorkflowsQueueWork.ts +1 -1
- package/src/funcs/insightsWorkflowsUpdate.ts +1 -1
- package/src/funcs/languageGroupsCreate.ts +1 -1
- package/src/funcs/languageGroupsDelete.ts +1 -1
- package/src/funcs/languageGroupsGetById.ts +1 -1
- package/src/funcs/languageGroupsLanguageGroupsCreateVoiceSample.ts +1 -1
- package/src/funcs/languageGroupsList.ts +1 -1
- package/src/funcs/languageGroupsUpdate.ts +1 -1
- package/src/funcs/organizationsCreate.ts +1 -1
- package/src/funcs/organizationsDelete.ts +1 -1
- package/src/funcs/organizationsOrganizationsGet.ts +1 -1
- package/src/funcs/organizationsUpdate.ts +1 -1
- package/src/funcs/outboundBatchesAdd.ts +1 -1
- package/src/funcs/outboundBatchesCreate.ts +1 -1
- package/src/funcs/outboundBatchesDelete.ts +1 -1
- package/src/funcs/outboundBatchesGetById.ts +1 -1
- package/src/funcs/outboundBatchesList.ts +1 -1
- package/src/funcs/outboundBatchesRemove.ts +1 -1
- package/src/funcs/outboundBatchesResults.ts +1 -1
- package/src/funcs/outboundBatchesUpdate.ts +1 -1
- package/src/funcs/outboundBatchesUpload.ts +1 -1
- package/src/funcs/outboundCampaignsCreate.ts +1 -1
- package/src/funcs/outboundCampaignsDelete.ts +1 -1
- package/src/funcs/outboundCampaignsGetById.ts +1 -1
- package/src/funcs/outboundCampaignsList.ts +1 -1
- package/src/funcs/outboundCampaignsUpdate.ts +1 -1
- package/src/funcs/permissionsList.ts +1 -1
- package/src/funcs/promptsCreate.ts +1 -1
- package/src/funcs/promptsDelete.ts +1 -1
- package/src/funcs/promptsGetById.ts +1 -1
- package/src/funcs/promptsList.ts +1 -1
- package/src/funcs/promptsPromptGetSupportedLlms.ts +1 -1
- package/src/funcs/promptsPromptsHistory.ts +1 -1
- package/src/funcs/promptsUpdate.ts +1 -1
- package/src/funcs/pronunciationsPronunciationsUploadCsv.ts +191 -0
- package/src/funcs/rolesCreate.ts +1 -1
- package/src/funcs/rolesDelete.ts +1 -1
- package/src/funcs/rolesGetById.ts +1 -1
- package/src/funcs/rolesList.ts +1 -1
- package/src/funcs/rolesUpdate.ts +1 -1
- package/src/funcs/servicesCreate.ts +1 -1
- package/src/funcs/servicesDelete.ts +1 -1
- package/src/funcs/servicesGetById.ts +1 -1
- package/src/funcs/servicesList.ts +1 -1
- package/src/funcs/servicesUpdate.ts +1 -1
- package/src/funcs/sessionDebugGetSessionDataBySessionId.ts +1 -1
- package/src/funcs/sessionDebugGetSessionDataBySid.ts +1 -1
- package/src/funcs/sessionDebugGetSessionToolCallResultById.ts +1 -1
- package/src/funcs/sessionLabelsCreate.ts +1 -1
- package/src/funcs/sessionLabelsGetById.ts +1 -1
- package/src/funcs/sessionLabelsList.ts +1 -1
- package/src/funcs/sessionsFullSummaryGetById.ts +1 -1
- package/src/funcs/sessionsGenerateSessionRecordingUrls.ts +1 -1
- package/src/funcs/sessionsGetById.ts +1 -1
- package/src/funcs/sessionsLatencyGetById.ts +1 -1
- package/src/funcs/sessionsList.ts +1 -1
- package/src/funcs/sessionsSessionRecordingStream.ts +1 -1
- package/src/funcs/sessionsTranscriptGetById.ts +1 -1
- package/src/funcs/takeoutsCreate.ts +1 -1
- package/src/funcs/takeoutsTakeoutsGetByJobId.ts +1 -1
- package/src/funcs/takeoutsTakeoutsGetFile.ts +1 -1
- package/src/funcs/toolsCreate.ts +1 -1
- package/src/funcs/toolsDelete.ts +1 -1
- package/src/funcs/toolsGetByName.ts +1 -1
- package/src/funcs/toolsList.ts +1 -1
- package/src/funcs/toolsUpdate.ts +1 -1
- package/src/funcs/usersCreate.ts +1 -1
- package/src/funcs/usersDelete.ts +1 -1
- package/src/funcs/usersList.ts +1 -1
- package/src/funcs/usersUpdate.ts +1 -1
- package/src/funcs/usersUsersDeleteAccount.ts +1 -1
- package/src/funcs/usersUsersGetByEmail.ts +1 -1
- package/src/funcs/usersUsersSendEmail.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/pronunciationsPronunciationsUploadCsv.ts +37 -0
- package/src/models/components/bodypronunciationsuploadcsv.ts +148 -0
- package/src/models/components/index.ts +2 -0
- package/src/models/components/pronunciationscsvuploadresponse.ts +99 -0
- package/src/sdk/pronunciations.ts +24 -0
- package/src/sdk/sdk.ts +6 -0
- package/docs/sdks/outbound/README.md +0 -6
- package/docs/sdks/syllablesdk/README.md +0 -41
package/src/funcs/toolsCreate.ts
CHANGED
package/src/funcs/toolsDelete.ts
CHANGED
package/src/funcs/toolsList.ts
CHANGED
package/src/funcs/toolsUpdate.ts
CHANGED
package/src/funcs/usersCreate.ts
CHANGED
package/src/funcs/usersDelete.ts
CHANGED
package/src/funcs/usersList.ts
CHANGED
package/src/funcs/usersUpdate.ts
CHANGED
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.
|
|
65
|
-
genVersion: "2.
|
|
66
|
-
userAgent: "speakeasy-sdk/typescript 1.0.1-rc.
|
|
64
|
+
sdkVersion: "1.0.1-rc.6",
|
|
65
|
+
genVersion: "2.723.2",
|
|
66
|
+
userAgent: "speakeasy-sdk/typescript 1.0.1-rc.6 2.723.2 0.0.2 syllable-sdk",
|
|
67
67
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -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.
|
|
168
|
+
version: "1.0.1-rc.6",
|
|
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
|
+
}
|
package/src/sdk/sdk.ts
CHANGED
|
@@ -17,6 +17,7 @@ import { Organizations } from "./organizations.js";
|
|
|
17
17
|
import { Outbound } from "./outbound.js";
|
|
18
18
|
import { Permissions } from "./permissions.js";
|
|
19
19
|
import { Prompts } from "./prompts.js";
|
|
20
|
+
import { Pronunciations } from "./pronunciations.js";
|
|
20
21
|
import { Roles } from "./roles.js";
|
|
21
22
|
import { Services } from "./services.js";
|
|
22
23
|
import { SessionDebug } from "./sessiondebug.js";
|
|
@@ -78,6 +79,11 @@ export class SyllableSDK extends ClientSDK {
|
|
|
78
79
|
return (this._prompts ??= new Prompts(this._options));
|
|
79
80
|
}
|
|
80
81
|
|
|
82
|
+
private _pronunciations?: Pronunciations;
|
|
83
|
+
get pronunciations(): Pronunciations {
|
|
84
|
+
return (this._pronunciations ??= new Pronunciations(this._options));
|
|
85
|
+
}
|
|
86
|
+
|
|
81
87
|
private _roles?: Roles;
|
|
82
88
|
get roles(): Roles {
|
|
83
89
|
return (this._roles ??= new Roles(this._options));
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
# SyllableSDK
|
|
2
|
-
|
|
3
|
-
## Overview
|
|
4
|
-
|
|
5
|
-
SyllableSDK:
|
|
6
|
-
# Syllable Platform SDK
|
|
7
|
-
|
|
8
|
-
Syllable SDK gives you the power of awesome AI agentry. 🚀
|
|
9
|
-
|
|
10
|
-
## Overview
|
|
11
|
-
|
|
12
|
-
The Syllable SDK provides a comprehensive set of tools and APIs to integrate powerful AI
|
|
13
|
-
capabilities into your communication applications. Whether you're building phone agents, chatbots,
|
|
14
|
-
virtual assistants, or any other AI-driven solutions, Syllable SDK has got you covered.
|
|
15
|
-
|
|
16
|
-
## Features
|
|
17
|
-
|
|
18
|
-
- **Agent Configuration**: Create and manage agents that can interact with users across various
|
|
19
|
-
channels.
|
|
20
|
-
- **Channel Management**: Configure channels like SMS, web chat, and more to connect agents with
|
|
21
|
-
users.
|
|
22
|
-
- **Custom Messages**: Set up custom messages that agents can deliver as greetings or responses.
|
|
23
|
-
- **Conversations**: Track and manage conversations between users and agents, including session
|
|
24
|
-
management.
|
|
25
|
-
- **Tools and Workflows**: Leverage tools and workflows to enhance agent capabilities, such as data
|
|
26
|
-
processing and API calls.
|
|
27
|
-
- **Data Sources**: Integrate data sources to provide agents with additional context and
|
|
28
|
-
information.
|
|
29
|
-
- **Insights and Analytics**: Analyze conversations and sessions to gain insights into user
|
|
30
|
-
interactions.
|
|
31
|
-
- **Permissions and Security**: Manage permissions to control access to various features and
|
|
32
|
-
functionalities.
|
|
33
|
-
- **Language Support**: Define language groups to enable multilingual support for agents.
|
|
34
|
-
- **Outbound Campaigns**: Create and manage outbound communication campaigns to reach users
|
|
35
|
-
effectively.
|
|
36
|
-
- **Session Labels**: Label sessions with evaluations of quality and descriptions of issues
|
|
37
|
-
encountered.
|
|
38
|
-
- **Incident Management**: Track and manage incidents related to agent interactions.
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
### Available Operations
|