syllable-sdk 0.1.0-alpha.22 → 0.1.0-alpha.24
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 +0 -19
- package/funcs/agentsAgentGetAvailableVoices.d.ts.map +1 -1
- package/funcs/agentsAgentGetAvailableVoices.js +1 -0
- package/funcs/agentsAgentGetAvailableVoices.js.map +1 -1
- package/funcs/agentsCreate.d.ts.map +1 -1
- package/funcs/agentsCreate.js +1 -0
- package/funcs/agentsCreate.js.map +1 -1
- package/funcs/agentsDelete.d.ts.map +1 -1
- package/funcs/agentsDelete.js +1 -0
- package/funcs/agentsDelete.js.map +1 -1
- package/funcs/agentsGetById.d.ts.map +1 -1
- package/funcs/agentsGetById.js +1 -0
- package/funcs/agentsGetById.js.map +1 -1
- package/funcs/agentsList.d.ts.map +1 -1
- package/funcs/agentsList.js +1 -0
- package/funcs/agentsList.js.map +1 -1
- package/funcs/agentsTestSendTestMessage.d.ts.map +1 -1
- package/funcs/agentsTestSendTestMessage.js +1 -0
- package/funcs/agentsTestSendTestMessage.js.map +1 -1
- package/funcs/agentsUpdate.d.ts.map +1 -1
- package/funcs/agentsUpdate.js +1 -0
- package/funcs/agentsUpdate.js.map +1 -1
- package/funcs/channelsDelete.d.ts.map +1 -1
- package/funcs/channelsDelete.js +1 -0
- package/funcs/channelsDelete.js.map +1 -1
- package/funcs/channelsList.d.ts.map +1 -1
- package/funcs/channelsList.js +1 -0
- package/funcs/channelsList.js.map +1 -1
- package/funcs/channelsTargetsAvailableTargets.d.ts.map +1 -1
- package/funcs/channelsTargetsAvailableTargets.js +1 -0
- package/funcs/channelsTargetsAvailableTargets.js.map +1 -1
- package/funcs/channelsTargetsCreate.d.ts.map +1 -1
- package/funcs/channelsTargetsCreate.js +1 -0
- package/funcs/channelsTargetsCreate.js.map +1 -1
- package/funcs/channelsTargetsGetById.d.ts.map +1 -1
- package/funcs/channelsTargetsGetById.js +1 -0
- package/funcs/channelsTargetsGetById.js.map +1 -1
- package/funcs/channelsTargetsList.d.ts.map +1 -1
- package/funcs/channelsTargetsList.js +1 -0
- package/funcs/channelsTargetsList.js.map +1 -1
- package/funcs/channelsTargetsUpdate.d.ts.map +1 -1
- package/funcs/channelsTargetsUpdate.js +1 -0
- package/funcs/channelsTargetsUpdate.js.map +1 -1
- package/funcs/conversationsList.d.ts.map +1 -1
- package/funcs/conversationsList.js +1 -0
- package/funcs/conversationsList.js.map +1 -1
- package/funcs/customMessagesCreate.d.ts.map +1 -1
- package/funcs/customMessagesCreate.js +1 -0
- package/funcs/customMessagesCreate.js.map +1 -1
- package/funcs/customMessagesDelete.d.ts.map +1 -1
- package/funcs/customMessagesDelete.js +1 -0
- package/funcs/customMessagesDelete.js.map +1 -1
- package/funcs/customMessagesGetById.d.ts.map +1 -1
- package/funcs/customMessagesGetById.js +1 -0
- package/funcs/customMessagesGetById.js.map +1 -1
- package/funcs/customMessagesList.d.ts.map +1 -1
- package/funcs/customMessagesList.js +1 -0
- package/funcs/customMessagesList.js.map +1 -1
- package/funcs/customMessagesUpdate.d.ts.map +1 -1
- package/funcs/customMessagesUpdate.js +1 -0
- package/funcs/customMessagesUpdate.js.map +1 -1
- package/funcs/directoryCreate.d.ts.map +1 -1
- package/funcs/directoryCreate.js +1 -0
- package/funcs/directoryCreate.js.map +1 -1
- package/funcs/directoryDelete.d.ts.map +1 -1
- package/funcs/directoryDelete.js +1 -0
- package/funcs/directoryDelete.js.map +1 -1
- package/funcs/directoryDirectoryMemberBulkLoad.d.ts.map +1 -1
- package/funcs/directoryDirectoryMemberBulkLoad.js +1 -0
- package/funcs/directoryDirectoryMemberBulkLoad.js.map +1 -1
- package/funcs/directoryDirectoryMemberDownload.d.ts.map +1 -1
- package/funcs/directoryDirectoryMemberDownload.js +1 -0
- package/funcs/directoryDirectoryMemberDownload.js.map +1 -1
- package/funcs/directoryGetById.d.ts.map +1 -1
- package/funcs/directoryGetById.js +1 -0
- package/funcs/directoryGetById.js.map +1 -1
- package/funcs/directoryList.d.ts.map +1 -1
- package/funcs/directoryList.js +1 -0
- package/funcs/directoryList.js.map +1 -1
- package/funcs/directoryUpdate.d.ts.map +1 -1
- package/funcs/directoryUpdate.js +1 -0
- package/funcs/directoryUpdate.js.map +1 -1
- package/funcs/eventsList.d.ts.map +1 -1
- package/funcs/eventsList.js +1 -0
- package/funcs/eventsList.js.map +1 -1
- package/funcs/promptsCreate.d.ts.map +1 -1
- package/funcs/promptsCreate.js +1 -0
- package/funcs/promptsCreate.js.map +1 -1
- package/funcs/promptsDelete.d.ts.map +1 -1
- package/funcs/promptsDelete.js +1 -0
- package/funcs/promptsDelete.js.map +1 -1
- package/funcs/promptsGetById.d.ts.map +1 -1
- package/funcs/promptsGetById.js +1 -0
- package/funcs/promptsGetById.js.map +1 -1
- package/funcs/promptsList.d.ts.map +1 -1
- package/funcs/promptsList.js +1 -0
- package/funcs/promptsList.js.map +1 -1
- package/funcs/promptsPromptsHistory.d.ts.map +1 -1
- package/funcs/promptsPromptsHistory.js +1 -0
- package/funcs/promptsPromptsHistory.js.map +1 -1
- package/funcs/promptsUpdate.d.ts.map +1 -1
- package/funcs/promptsUpdate.js +1 -0
- package/funcs/promptsUpdate.js.map +1 -1
- package/funcs/servicesCreate.d.ts.map +1 -1
- package/funcs/servicesCreate.js +1 -0
- package/funcs/servicesCreate.js.map +1 -1
- package/funcs/servicesList.d.ts.map +1 -1
- package/funcs/servicesList.js +1 -0
- package/funcs/servicesList.js.map +1 -1
- package/funcs/servicesUpdate.d.ts.map +1 -1
- package/funcs/servicesUpdate.js +1 -0
- package/funcs/servicesUpdate.js.map +1 -1
- package/funcs/sessionLabelsCreate.d.ts.map +1 -1
- package/funcs/sessionLabelsCreate.js +1 -0
- package/funcs/sessionLabelsCreate.js.map +1 -1
- package/funcs/sessionLabelsGetById.d.ts.map +1 -1
- package/funcs/sessionLabelsGetById.js +1 -0
- package/funcs/sessionLabelsGetById.js.map +1 -1
- package/funcs/sessionLabelsList.d.ts.map +1 -1
- package/funcs/sessionLabelsList.js +1 -0
- package/funcs/sessionLabelsList.js.map +1 -1
- package/funcs/sessionsGenerateSessionRecordingUrls.d.ts.map +1 -1
- package/funcs/sessionsGenerateSessionRecordingUrls.js +1 -0
- package/funcs/sessionsGenerateSessionRecordingUrls.js.map +1 -1
- package/funcs/sessionsGetById.d.ts.map +1 -1
- package/funcs/sessionsGetById.js +1 -0
- package/funcs/sessionsGetById.js.map +1 -1
- package/funcs/sessionsList.d.ts.map +1 -1
- package/funcs/sessionsList.js +1 -0
- package/funcs/sessionsList.js.map +1 -1
- package/funcs/sessionsSessionRecordingStream.d.ts.map +1 -1
- package/funcs/sessionsSessionRecordingStream.js +1 -0
- package/funcs/sessionsSessionRecordingStream.js.map +1 -1
- package/funcs/sessionsTranscriptGetById.d.ts.map +1 -1
- package/funcs/sessionsTranscriptGetById.js +1 -0
- package/funcs/sessionsTranscriptGetById.js.map +1 -1
- package/funcs/toolsCreate.d.ts.map +1 -1
- package/funcs/toolsCreate.js +1 -0
- package/funcs/toolsCreate.js.map +1 -1
- package/funcs/toolsGetByName.d.ts.map +1 -1
- package/funcs/toolsGetByName.js +1 -0
- package/funcs/toolsGetByName.js.map +1 -1
- package/funcs/toolsList.d.ts.map +1 -1
- package/funcs/toolsList.js +1 -0
- package/funcs/toolsList.js.map +1 -1
- package/funcs/toolsUpdate.d.ts.map +1 -1
- package/funcs/toolsUpdate.js +1 -0
- package/funcs/toolsUpdate.js.map +1 -1
- package/funcs/v1AgentGetAvailableVoices.d.ts.map +1 -1
- package/funcs/v1AgentGetAvailableVoices.js +1 -0
- package/funcs/v1AgentGetAvailableVoices.js.map +1 -1
- package/funcs/v1Create.d.ts.map +1 -1
- package/funcs/v1Create.js +1 -0
- package/funcs/v1Create.js.map +1 -1
- package/funcs/v1Delete.d.ts.map +1 -1
- package/funcs/v1Delete.js +1 -0
- package/funcs/v1Delete.js.map +1 -1
- package/funcs/v1DirectoryMemberBulkLoad.d.ts.map +1 -1
- package/funcs/v1DirectoryMemberBulkLoad.js +1 -0
- package/funcs/v1DirectoryMemberBulkLoad.js.map +1 -1
- package/funcs/v1DirectoryMemberDownload.d.ts.map +1 -1
- package/funcs/v1DirectoryMemberDownload.js +1 -0
- package/funcs/v1DirectoryMemberDownload.js.map +1 -1
- package/funcs/v1GetById.d.ts.map +1 -1
- package/funcs/v1GetById.js +1 -0
- package/funcs/v1GetById.js.map +1 -1
- package/funcs/v1List.d.ts.map +1 -1
- package/funcs/v1List.js +1 -0
- package/funcs/v1List.js.map +1 -1
- package/funcs/v1Update.d.ts.map +1 -1
- package/funcs/v1Update.js +1 -0
- package/funcs/v1Update.js.map +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/sdks.d.ts +5 -1
- package/lib/sdks.d.ts.map +1 -1
- package/lib/sdks.js +1 -0
- package/lib/sdks.js.map +1 -1
- package/models/components/channel.d.ts +3 -0
- package/models/components/channel.d.ts.map +1 -1
- package/models/components/channel.js.map +1 -1
- package/models/components/index.d.ts +0 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +0 -1
- package/models/components/index.js.map +1 -1
- package/models/components/llmconfig.d.ts +34 -3
- package/models/components/llmconfig.d.ts.map +1 -1
- package/models/components/llmconfig.js +26 -4
- package/models/components/llmconfig.js.map +1 -1
- package/models/components/prompt.d.ts +3 -0
- package/models/components/prompt.d.ts.map +1 -1
- package/models/components/prompt.js.map +1 -1
- package/models/components/promptcreate.d.ts +3 -0
- package/models/components/promptcreate.d.ts.map +1 -1
- package/models/components/promptcreate.js.map +1 -1
- package/models/components/promptupdate.d.ts +3 -0
- package/models/components/promptupdate.d.ts.map +1 -1
- package/models/components/promptupdate.js.map +1 -1
- package/models/components/target.d.ts +3 -0
- package/models/components/target.d.ts.map +1 -1
- package/models/components/target.js.map +1 -1
- package/models/components/testmessage.d.ts +2 -0
- package/models/components/testmessage.d.ts.map +1 -1
- package/models/components/testmessage.js +4 -0
- package/models/components/testmessage.js.map +1 -1
- package/models/components/tooldetailresponse.d.ts +2 -0
- package/models/components/tooldetailresponse.d.ts.map +1 -1
- package/models/components/tooldetailresponse.js +2 -0
- package/models/components/tooldetailresponse.js.map +1 -1
- package/models/operations/index.d.ts +0 -8
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +0 -8
- package/models/operations/index.js.map +1 -1
- package/package.json +1 -1
- package/sdk/sdk.d.ts +0 -3
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +0 -5
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/agentsAgentGetAvailableVoices.ts +1 -0
- package/src/funcs/agentsCreate.ts +1 -0
- package/src/funcs/agentsDelete.ts +1 -0
- package/src/funcs/agentsGetById.ts +1 -0
- package/src/funcs/agentsList.ts +1 -0
- package/src/funcs/agentsTestSendTestMessage.ts +1 -0
- package/src/funcs/agentsUpdate.ts +1 -0
- package/src/funcs/channelsDelete.ts +1 -0
- package/src/funcs/channelsList.ts +1 -0
- package/src/funcs/channelsTargetsAvailableTargets.ts +1 -0
- package/src/funcs/channelsTargetsCreate.ts +1 -0
- package/src/funcs/channelsTargetsGetById.ts +1 -0
- package/src/funcs/channelsTargetsList.ts +1 -0
- package/src/funcs/channelsTargetsUpdate.ts +1 -0
- package/src/funcs/conversationsList.ts +1 -0
- package/src/funcs/customMessagesCreate.ts +1 -0
- package/src/funcs/customMessagesDelete.ts +1 -0
- package/src/funcs/customMessagesGetById.ts +1 -0
- package/src/funcs/customMessagesList.ts +1 -0
- package/src/funcs/customMessagesUpdate.ts +1 -0
- package/src/funcs/directoryCreate.ts +1 -0
- package/src/funcs/directoryDelete.ts +1 -0
- package/src/funcs/directoryDirectoryMemberBulkLoad.ts +1 -0
- package/src/funcs/directoryDirectoryMemberDownload.ts +1 -0
- package/src/funcs/directoryGetById.ts +1 -0
- package/src/funcs/directoryList.ts +1 -0
- package/src/funcs/directoryUpdate.ts +1 -0
- package/src/funcs/eventsList.ts +1 -0
- package/src/funcs/promptsCreate.ts +1 -0
- package/src/funcs/promptsDelete.ts +1 -0
- package/src/funcs/promptsGetById.ts +1 -0
- package/src/funcs/promptsList.ts +1 -0
- package/src/funcs/promptsPromptsHistory.ts +1 -0
- package/src/funcs/promptsUpdate.ts +1 -0
- package/src/funcs/servicesCreate.ts +1 -0
- package/src/funcs/servicesList.ts +1 -0
- package/src/funcs/servicesUpdate.ts +1 -0
- package/src/funcs/sessionLabelsCreate.ts +1 -0
- package/src/funcs/sessionLabelsGetById.ts +1 -0
- package/src/funcs/sessionLabelsList.ts +1 -0
- package/src/funcs/sessionsGenerateSessionRecordingUrls.ts +1 -0
- package/src/funcs/sessionsGetById.ts +1 -0
- package/src/funcs/sessionsList.ts +1 -0
- package/src/funcs/sessionsSessionRecordingStream.ts +1 -0
- package/src/funcs/sessionsTranscriptGetById.ts +1 -0
- package/src/funcs/toolsCreate.ts +1 -0
- package/src/funcs/toolsGetByName.ts +1 -0
- package/src/funcs/toolsList.ts +1 -0
- package/src/funcs/toolsUpdate.ts +1 -0
- package/src/funcs/v1AgentGetAvailableVoices.ts +1 -0
- package/src/funcs/v1Create.ts +1 -0
- package/src/funcs/v1Delete.ts +1 -0
- package/src/funcs/v1DirectoryMemberBulkLoad.ts +1 -0
- package/src/funcs/v1DirectoryMemberDownload.ts +1 -0
- package/src/funcs/v1GetById.ts +1 -0
- package/src/funcs/v1List.ts +1 -0
- package/src/funcs/v1Update.ts +1 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/sdks.ts +6 -1
- package/src/models/components/channel.ts +3 -0
- package/src/models/components/index.ts +0 -1
- package/src/models/components/llmconfig.ts +36 -9
- package/src/models/components/prompt.ts +3 -0
- package/src/models/components/promptcreate.ts +3 -0
- package/src/models/components/promptupdate.ts +3 -0
- package/src/models/components/target.ts +3 -0
- package/src/models/components/testmessage.ts +6 -0
- package/src/models/components/tooldetailresponse.ts +4 -0
- package/src/models/operations/index.ts +0 -8
- package/src/sdk/sdk.ts +0 -6
- package/docs/sdks/dashboards/README.md +0 -587
- package/funcs/dashboardsGetDailyCallVolumeByHour.d.ts +0 -15
- package/funcs/dashboardsGetDailyCallVolumeByHour.d.ts.map +0 -1
- package/funcs/dashboardsGetDailyCallVolumeByHour.js +0 -86
- package/funcs/dashboardsGetDailyCallVolumeByHour.js.map +0 -1
- package/funcs/dashboardsGetMonthlyCallVolumeByDay.d.ts +0 -15
- package/funcs/dashboardsGetMonthlyCallVolumeByDay.d.ts.map +0 -1
- package/funcs/dashboardsGetMonthlyCallVolumeByDay.js +0 -86
- package/funcs/dashboardsGetMonthlyCallVolumeByDay.js.map +0 -1
- package/funcs/dashboardsGetMonthlyCallVolumeByWeek.d.ts +0 -15
- package/funcs/dashboardsGetMonthlyCallVolumeByWeek.d.ts.map +0 -1
- package/funcs/dashboardsGetMonthlyCallVolumeByWeek.js +0 -86
- package/funcs/dashboardsGetMonthlyCallVolumeByWeek.js.map +0 -1
- package/funcs/dashboardsGetSessionAgents.d.ts +0 -15
- package/funcs/dashboardsGetSessionAgents.d.ts.map +0 -1
- package/funcs/dashboardsGetSessionAgents.js +0 -85
- package/funcs/dashboardsGetSessionAgents.js.map +0 -1
- package/funcs/dashboardsGetSessionSummary.d.ts +0 -16
- package/funcs/dashboardsGetSessionSummary.d.ts.map +0 -1
- package/funcs/dashboardsGetSessionSummary.js +0 -107
- package/funcs/dashboardsGetSessionSummary.js.map +0 -1
- package/funcs/dashboardsGetTotalCallVolumeByHour.d.ts +0 -15
- package/funcs/dashboardsGetTotalCallVolumeByHour.d.ts.map +0 -1
- package/funcs/dashboardsGetTotalCallVolumeByHour.js +0 -86
- package/funcs/dashboardsGetTotalCallVolumeByHour.js.map +0 -1
- package/funcs/dashboardsGetWeeklyCallVolumeByWeekday.d.ts +0 -15
- package/funcs/dashboardsGetWeeklyCallVolumeByWeekday.d.ts.map +0 -1
- package/funcs/dashboardsGetWeeklyCallVolumeByWeekday.js +0 -86
- package/funcs/dashboardsGetWeeklyCallVolumeByWeekday.js.map +0 -1
- package/funcs/dashboardsTotalCallVolumeByWeekday.d.ts +0 -15
- package/funcs/dashboardsTotalCallVolumeByWeekday.d.ts.map +0 -1
- package/funcs/dashboardsTotalCallVolumeByWeekday.js +0 -86
- package/funcs/dashboardsTotalCallVolumeByWeekday.js.map +0 -1
- package/models/components/provider.d.ts +0 -34
- package/models/components/provider.d.ts.map +0 -1
- package/models/components/provider.js +0 -54
- package/models/components/provider.js.map +0 -1
- package/models/operations/getdailycallvolumebyhour.d.ts +0 -28
- package/models/operations/getdailycallvolumebyhour.d.ts.map +0 -1
- package/models/operations/getdailycallvolumebyhour.js +0 -57
- package/models/operations/getdailycallvolumebyhour.js.map +0 -1
- package/models/operations/getmonthlycallvolumebyday.d.ts +0 -28
- package/models/operations/getmonthlycallvolumebyday.d.ts.map +0 -1
- package/models/operations/getmonthlycallvolumebyday.js +0 -57
- package/models/operations/getmonthlycallvolumebyday.js.map +0 -1
- package/models/operations/getmonthlycallvolumebyweek.d.ts +0 -28
- package/models/operations/getmonthlycallvolumebyweek.d.ts.map +0 -1
- package/models/operations/getmonthlycallvolumebyweek.js +0 -57
- package/models/operations/getmonthlycallvolumebyweek.js.map +0 -1
- package/models/operations/getsessionagents.d.ts +0 -28
- package/models/operations/getsessionagents.d.ts.map +0 -1
- package/models/operations/getsessionagents.js +0 -55
- package/models/operations/getsessionagents.js.map +0 -1
- package/models/operations/getsessionsummary.d.ts +0 -63
- package/models/operations/getsessionsummary.d.ts.map +0 -1
- package/models/operations/getsessionsummary.js +0 -107
- package/models/operations/getsessionsummary.js.map +0 -1
- package/models/operations/gettotalcallvolumebyhour.d.ts +0 -28
- package/models/operations/gettotalcallvolumebyhour.d.ts.map +0 -1
- package/models/operations/gettotalcallvolumebyhour.js +0 -57
- package/models/operations/gettotalcallvolumebyhour.js.map +0 -1
- package/models/operations/getweeklycallvolumebyweekday.d.ts +0 -28
- package/models/operations/getweeklycallvolumebyweekday.d.ts.map +0 -1
- package/models/operations/getweeklycallvolumebyweekday.js +0 -57
- package/models/operations/getweeklycallvolumebyweekday.js.map +0 -1
- package/models/operations/totalcallvolumebyweekday.d.ts +0 -28
- package/models/operations/totalcallvolumebyweekday.d.ts.map +0 -1
- package/models/operations/totalcallvolumebyweekday.js +0 -57
- package/models/operations/totalcallvolumebyweekday.js.map +0 -1
- package/sdk/dashboards.d.ts +0 -61
- package/sdk/dashboards.d.ts.map +0 -1
- package/sdk/dashboards.js +0 -92
- package/sdk/dashboards.js.map +0 -1
- package/src/funcs/dashboardsGetDailyCallVolumeByHour.ts +0 -111
- package/src/funcs/dashboardsGetMonthlyCallVolumeByDay.ts +0 -113
- package/src/funcs/dashboardsGetMonthlyCallVolumeByWeek.ts +0 -113
- package/src/funcs/dashboardsGetSessionAgents.ts +0 -110
- package/src/funcs/dashboardsGetSessionSummary.ts +0 -143
- package/src/funcs/dashboardsGetTotalCallVolumeByHour.ts +0 -111
- package/src/funcs/dashboardsGetWeeklyCallVolumeByWeekday.ts +0 -113
- package/src/funcs/dashboardsTotalCallVolumeByWeekday.ts +0 -111
- package/src/models/components/provider.ts +0 -37
- package/src/models/operations/getdailycallvolumebyhour.ts +0 -74
- package/src/models/operations/getmonthlycallvolumebyday.ts +0 -74
- package/src/models/operations/getmonthlycallvolumebyweek.ts +0 -74
- package/src/models/operations/getsessionagents.ts +0 -72
- package/src/models/operations/getsessionsummary.ts +0 -164
- package/src/models/operations/gettotalcallvolumebyhour.ts +0 -74
- package/src/models/operations/getweeklycallvolumebyweekday.ts +0 -75
- package/src/models/operations/totalcallvolumebyweekday.ts +0 -74
- package/src/sdk/dashboards.ts +0 -151
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import { SyllableSDKCore } from "../core.js";
|
|
6
|
-
import { encodeFormQuery } from "../lib/encodings.js";
|
|
7
|
-
import * as M from "../lib/matchers.js";
|
|
8
|
-
import { safeParse } from "../lib/schemas.js";
|
|
9
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
10
|
-
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
11
|
-
import { pathToFunc } from "../lib/url.js";
|
|
12
|
-
import {
|
|
13
|
-
ConnectionError,
|
|
14
|
-
InvalidRequestError,
|
|
15
|
-
RequestAbortedError,
|
|
16
|
-
RequestTimeoutError,
|
|
17
|
-
UnexpectedClientError,
|
|
18
|
-
} from "../models/errors/httpclienterrors.js";
|
|
19
|
-
import * as errors from "../models/errors/index.js";
|
|
20
|
-
import { SDKError } from "../models/errors/sdkerror.js";
|
|
21
|
-
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
22
|
-
import * as operations from "../models/operations/index.js";
|
|
23
|
-
import { Result } from "../types/fp.js";
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* Get Session Summary
|
|
27
|
-
*
|
|
28
|
-
* @remarks
|
|
29
|
-
* Get session summary data
|
|
30
|
-
*/
|
|
31
|
-
export async function dashboardsGetSessionSummary(
|
|
32
|
-
client: SyllableSDKCore,
|
|
33
|
-
request: operations.GetSessionSummaryRequest,
|
|
34
|
-
options?: RequestOptions,
|
|
35
|
-
): Promise<
|
|
36
|
-
Result<
|
|
37
|
-
operations.GetSessionSummaryResponseGetSessionSummary,
|
|
38
|
-
| errors.HTTPValidationError
|
|
39
|
-
| SDKError
|
|
40
|
-
| SDKValidationError
|
|
41
|
-
| UnexpectedClientError
|
|
42
|
-
| InvalidRequestError
|
|
43
|
-
| RequestAbortedError
|
|
44
|
-
| RequestTimeoutError
|
|
45
|
-
| ConnectionError
|
|
46
|
-
>
|
|
47
|
-
> {
|
|
48
|
-
const parsed = safeParse(
|
|
49
|
-
request,
|
|
50
|
-
(value) => operations.GetSessionSummaryRequest$outboundSchema.parse(value),
|
|
51
|
-
"Input validation failed",
|
|
52
|
-
);
|
|
53
|
-
if (!parsed.ok) {
|
|
54
|
-
return parsed;
|
|
55
|
-
}
|
|
56
|
-
const payload = parsed.value;
|
|
57
|
-
const body = null;
|
|
58
|
-
|
|
59
|
-
const path = pathToFunc("/api/v1/dashboards/get_session_summary")();
|
|
60
|
-
|
|
61
|
-
const query = encodeFormQuery({
|
|
62
|
-
"agent_id": payload.agent_id,
|
|
63
|
-
"end_date": payload.end_date,
|
|
64
|
-
"limit": payload.limit,
|
|
65
|
-
"order_by": payload.order_by,
|
|
66
|
-
"page": payload.page,
|
|
67
|
-
"start_date": payload.start_date,
|
|
68
|
-
});
|
|
69
|
-
|
|
70
|
-
const headers = new Headers({
|
|
71
|
-
Accept: "application/json",
|
|
72
|
-
});
|
|
73
|
-
|
|
74
|
-
const secConfig = await extractSecurity(client._options.apiKeyHeader);
|
|
75
|
-
const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
|
|
76
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
77
|
-
|
|
78
|
-
const context = {
|
|
79
|
-
operationID: "get_session_summary",
|
|
80
|
-
oAuth2Scopes: [],
|
|
81
|
-
|
|
82
|
-
resolvedSecurity: requestSecurity,
|
|
83
|
-
|
|
84
|
-
securitySource: client._options.apiKeyHeader,
|
|
85
|
-
retryConfig: options?.retries
|
|
86
|
-
|| client._options.retryConfig
|
|
87
|
-
|| { strategy: "none" },
|
|
88
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
89
|
-
};
|
|
90
|
-
|
|
91
|
-
const requestRes = client._createRequest(context, {
|
|
92
|
-
security: requestSecurity,
|
|
93
|
-
method: "GET",
|
|
94
|
-
path: path,
|
|
95
|
-
headers: headers,
|
|
96
|
-
query: query,
|
|
97
|
-
body: body,
|
|
98
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
99
|
-
}, options);
|
|
100
|
-
if (!requestRes.ok) {
|
|
101
|
-
return requestRes;
|
|
102
|
-
}
|
|
103
|
-
const req = requestRes.value;
|
|
104
|
-
|
|
105
|
-
const doResult = await client._do(req, {
|
|
106
|
-
context,
|
|
107
|
-
errorCodes: ["422", "4XX", "5XX"],
|
|
108
|
-
retryConfig: context.retryConfig,
|
|
109
|
-
retryCodes: context.retryCodes,
|
|
110
|
-
});
|
|
111
|
-
if (!doResult.ok) {
|
|
112
|
-
return doResult;
|
|
113
|
-
}
|
|
114
|
-
const response = doResult.value;
|
|
115
|
-
|
|
116
|
-
const responseFields = {
|
|
117
|
-
HttpMeta: { Response: response, Request: req },
|
|
118
|
-
};
|
|
119
|
-
|
|
120
|
-
const [result] = await M.match<
|
|
121
|
-
operations.GetSessionSummaryResponseGetSessionSummary,
|
|
122
|
-
| errors.HTTPValidationError
|
|
123
|
-
| SDKError
|
|
124
|
-
| SDKValidationError
|
|
125
|
-
| UnexpectedClientError
|
|
126
|
-
| InvalidRequestError
|
|
127
|
-
| RequestAbortedError
|
|
128
|
-
| RequestTimeoutError
|
|
129
|
-
| ConnectionError
|
|
130
|
-
>(
|
|
131
|
-
M.json(
|
|
132
|
-
200,
|
|
133
|
-
operations.GetSessionSummaryResponseGetSessionSummary$inboundSchema,
|
|
134
|
-
),
|
|
135
|
-
M.jsonErr(422, errors.HTTPValidationError$inboundSchema),
|
|
136
|
-
M.fail(["4XX", "5XX"]),
|
|
137
|
-
)(response, { extraFields: responseFields });
|
|
138
|
-
if (!result.ok) {
|
|
139
|
-
return result;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
return result;
|
|
143
|
-
}
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import { SyllableSDKCore } from "../core.js";
|
|
6
|
-
import * as M from "../lib/matchers.js";
|
|
7
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
8
|
-
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
9
|
-
import { pathToFunc } from "../lib/url.js";
|
|
10
|
-
import {
|
|
11
|
-
ConnectionError,
|
|
12
|
-
InvalidRequestError,
|
|
13
|
-
RequestAbortedError,
|
|
14
|
-
RequestTimeoutError,
|
|
15
|
-
UnexpectedClientError,
|
|
16
|
-
} from "../models/errors/httpclienterrors.js";
|
|
17
|
-
import { SDKError } from "../models/errors/sdkerror.js";
|
|
18
|
-
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
19
|
-
import * as operations from "../models/operations/index.js";
|
|
20
|
-
import { Result } from "../types/fp.js";
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Get Total Call Volume By Hour
|
|
24
|
-
*
|
|
25
|
-
* @remarks
|
|
26
|
-
* Get total call volume by hour.
|
|
27
|
-
*/
|
|
28
|
-
export async function dashboardsGetTotalCallVolumeByHour(
|
|
29
|
-
client: SyllableSDKCore,
|
|
30
|
-
options?: RequestOptions,
|
|
31
|
-
): Promise<
|
|
32
|
-
Result<
|
|
33
|
-
operations.GetTotalCallVolumeByHourResponseGetTotalCallVolumeByHour,
|
|
34
|
-
| SDKError
|
|
35
|
-
| SDKValidationError
|
|
36
|
-
| UnexpectedClientError
|
|
37
|
-
| InvalidRequestError
|
|
38
|
-
| RequestAbortedError
|
|
39
|
-
| RequestTimeoutError
|
|
40
|
-
| ConnectionError
|
|
41
|
-
>
|
|
42
|
-
> {
|
|
43
|
-
const path = pathToFunc("/api/v1/dashboards/get_total_call_volume_by_hour")();
|
|
44
|
-
|
|
45
|
-
const headers = new Headers({
|
|
46
|
-
Accept: "application/json",
|
|
47
|
-
});
|
|
48
|
-
|
|
49
|
-
const secConfig = await extractSecurity(client._options.apiKeyHeader);
|
|
50
|
-
const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
|
|
51
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
52
|
-
|
|
53
|
-
const context = {
|
|
54
|
-
operationID: "get_total_call_volume_by_hour",
|
|
55
|
-
oAuth2Scopes: [],
|
|
56
|
-
|
|
57
|
-
resolvedSecurity: requestSecurity,
|
|
58
|
-
|
|
59
|
-
securitySource: client._options.apiKeyHeader,
|
|
60
|
-
retryConfig: options?.retries
|
|
61
|
-
|| client._options.retryConfig
|
|
62
|
-
|| { strategy: "none" },
|
|
63
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
64
|
-
};
|
|
65
|
-
|
|
66
|
-
const requestRes = client._createRequest(context, {
|
|
67
|
-
security: requestSecurity,
|
|
68
|
-
method: "GET",
|
|
69
|
-
path: path,
|
|
70
|
-
headers: headers,
|
|
71
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
72
|
-
}, options);
|
|
73
|
-
if (!requestRes.ok) {
|
|
74
|
-
return requestRes;
|
|
75
|
-
}
|
|
76
|
-
const req = requestRes.value;
|
|
77
|
-
|
|
78
|
-
const doResult = await client._do(req, {
|
|
79
|
-
context,
|
|
80
|
-
errorCodes: ["4XX", "5XX"],
|
|
81
|
-
retryConfig: context.retryConfig,
|
|
82
|
-
retryCodes: context.retryCodes,
|
|
83
|
-
});
|
|
84
|
-
if (!doResult.ok) {
|
|
85
|
-
return doResult;
|
|
86
|
-
}
|
|
87
|
-
const response = doResult.value;
|
|
88
|
-
|
|
89
|
-
const [result] = await M.match<
|
|
90
|
-
operations.GetTotalCallVolumeByHourResponseGetTotalCallVolumeByHour,
|
|
91
|
-
| SDKError
|
|
92
|
-
| SDKValidationError
|
|
93
|
-
| UnexpectedClientError
|
|
94
|
-
| InvalidRequestError
|
|
95
|
-
| RequestAbortedError
|
|
96
|
-
| RequestTimeoutError
|
|
97
|
-
| ConnectionError
|
|
98
|
-
>(
|
|
99
|
-
M.json(
|
|
100
|
-
200,
|
|
101
|
-
operations
|
|
102
|
-
.GetTotalCallVolumeByHourResponseGetTotalCallVolumeByHour$inboundSchema,
|
|
103
|
-
),
|
|
104
|
-
M.fail(["4XX", "5XX"]),
|
|
105
|
-
)(response);
|
|
106
|
-
if (!result.ok) {
|
|
107
|
-
return result;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
return result;
|
|
111
|
-
}
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import { SyllableSDKCore } from "../core.js";
|
|
6
|
-
import * as M from "../lib/matchers.js";
|
|
7
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
8
|
-
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
9
|
-
import { pathToFunc } from "../lib/url.js";
|
|
10
|
-
import {
|
|
11
|
-
ConnectionError,
|
|
12
|
-
InvalidRequestError,
|
|
13
|
-
RequestAbortedError,
|
|
14
|
-
RequestTimeoutError,
|
|
15
|
-
UnexpectedClientError,
|
|
16
|
-
} from "../models/errors/httpclienterrors.js";
|
|
17
|
-
import { SDKError } from "../models/errors/sdkerror.js";
|
|
18
|
-
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
19
|
-
import * as operations from "../models/operations/index.js";
|
|
20
|
-
import { Result } from "../types/fp.js";
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Get Weekly Call Volume By Weekday
|
|
24
|
-
*
|
|
25
|
-
* @remarks
|
|
26
|
-
* Get weekly call volume by weekday.
|
|
27
|
-
*/
|
|
28
|
-
export async function dashboardsGetWeeklyCallVolumeByWeekday(
|
|
29
|
-
client: SyllableSDKCore,
|
|
30
|
-
options?: RequestOptions,
|
|
31
|
-
): Promise<
|
|
32
|
-
Result<
|
|
33
|
-
operations.GetWeeklyCallVolumeByWeekdayResponseGetWeeklyCallVolumeByWeekday,
|
|
34
|
-
| SDKError
|
|
35
|
-
| SDKValidationError
|
|
36
|
-
| UnexpectedClientError
|
|
37
|
-
| InvalidRequestError
|
|
38
|
-
| RequestAbortedError
|
|
39
|
-
| RequestTimeoutError
|
|
40
|
-
| ConnectionError
|
|
41
|
-
>
|
|
42
|
-
> {
|
|
43
|
-
const path = pathToFunc(
|
|
44
|
-
"/api/v1/dashboards/get_weekly_call_volume_by_weekday",
|
|
45
|
-
)();
|
|
46
|
-
|
|
47
|
-
const headers = new Headers({
|
|
48
|
-
Accept: "application/json",
|
|
49
|
-
});
|
|
50
|
-
|
|
51
|
-
const secConfig = await extractSecurity(client._options.apiKeyHeader);
|
|
52
|
-
const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
|
|
53
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
54
|
-
|
|
55
|
-
const context = {
|
|
56
|
-
operationID: "get_weekly_call_volume_by_weekday",
|
|
57
|
-
oAuth2Scopes: [],
|
|
58
|
-
|
|
59
|
-
resolvedSecurity: requestSecurity,
|
|
60
|
-
|
|
61
|
-
securitySource: client._options.apiKeyHeader,
|
|
62
|
-
retryConfig: options?.retries
|
|
63
|
-
|| client._options.retryConfig
|
|
64
|
-
|| { strategy: "none" },
|
|
65
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
66
|
-
};
|
|
67
|
-
|
|
68
|
-
const requestRes = client._createRequest(context, {
|
|
69
|
-
security: requestSecurity,
|
|
70
|
-
method: "GET",
|
|
71
|
-
path: path,
|
|
72
|
-
headers: headers,
|
|
73
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
74
|
-
}, options);
|
|
75
|
-
if (!requestRes.ok) {
|
|
76
|
-
return requestRes;
|
|
77
|
-
}
|
|
78
|
-
const req = requestRes.value;
|
|
79
|
-
|
|
80
|
-
const doResult = await client._do(req, {
|
|
81
|
-
context,
|
|
82
|
-
errorCodes: ["4XX", "5XX"],
|
|
83
|
-
retryConfig: context.retryConfig,
|
|
84
|
-
retryCodes: context.retryCodes,
|
|
85
|
-
});
|
|
86
|
-
if (!doResult.ok) {
|
|
87
|
-
return doResult;
|
|
88
|
-
}
|
|
89
|
-
const response = doResult.value;
|
|
90
|
-
|
|
91
|
-
const [result] = await M.match<
|
|
92
|
-
operations.GetWeeklyCallVolumeByWeekdayResponseGetWeeklyCallVolumeByWeekday,
|
|
93
|
-
| SDKError
|
|
94
|
-
| SDKValidationError
|
|
95
|
-
| UnexpectedClientError
|
|
96
|
-
| InvalidRequestError
|
|
97
|
-
| RequestAbortedError
|
|
98
|
-
| RequestTimeoutError
|
|
99
|
-
| ConnectionError
|
|
100
|
-
>(
|
|
101
|
-
M.json(
|
|
102
|
-
200,
|
|
103
|
-
operations
|
|
104
|
-
.GetWeeklyCallVolumeByWeekdayResponseGetWeeklyCallVolumeByWeekday$inboundSchema,
|
|
105
|
-
),
|
|
106
|
-
M.fail(["4XX", "5XX"]),
|
|
107
|
-
)(response);
|
|
108
|
-
if (!result.ok) {
|
|
109
|
-
return result;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
return result;
|
|
113
|
-
}
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import { SyllableSDKCore } from "../core.js";
|
|
6
|
-
import * as M from "../lib/matchers.js";
|
|
7
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
8
|
-
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
9
|
-
import { pathToFunc } from "../lib/url.js";
|
|
10
|
-
import {
|
|
11
|
-
ConnectionError,
|
|
12
|
-
InvalidRequestError,
|
|
13
|
-
RequestAbortedError,
|
|
14
|
-
RequestTimeoutError,
|
|
15
|
-
UnexpectedClientError,
|
|
16
|
-
} from "../models/errors/httpclienterrors.js";
|
|
17
|
-
import { SDKError } from "../models/errors/sdkerror.js";
|
|
18
|
-
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
19
|
-
import * as operations from "../models/operations/index.js";
|
|
20
|
-
import { Result } from "../types/fp.js";
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Get Total Call Volume By Weekday
|
|
24
|
-
*
|
|
25
|
-
* @remarks
|
|
26
|
-
* Get total call volume by weekday.
|
|
27
|
-
*/
|
|
28
|
-
export async function dashboardsTotalCallVolumeByWeekday(
|
|
29
|
-
client: SyllableSDKCore,
|
|
30
|
-
options?: RequestOptions,
|
|
31
|
-
): Promise<
|
|
32
|
-
Result<
|
|
33
|
-
operations.TotalCallVolumeByWeekdayResponseTotalCallVolumeByWeekday,
|
|
34
|
-
| SDKError
|
|
35
|
-
| SDKValidationError
|
|
36
|
-
| UnexpectedClientError
|
|
37
|
-
| InvalidRequestError
|
|
38
|
-
| RequestAbortedError
|
|
39
|
-
| RequestTimeoutError
|
|
40
|
-
| ConnectionError
|
|
41
|
-
>
|
|
42
|
-
> {
|
|
43
|
-
const path = pathToFunc("/api/v1/dashboards/total_call_volume_by_weekday")();
|
|
44
|
-
|
|
45
|
-
const headers = new Headers({
|
|
46
|
-
Accept: "application/json",
|
|
47
|
-
});
|
|
48
|
-
|
|
49
|
-
const secConfig = await extractSecurity(client._options.apiKeyHeader);
|
|
50
|
-
const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
|
|
51
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
52
|
-
|
|
53
|
-
const context = {
|
|
54
|
-
operationID: "total_call_volume_by_weekday",
|
|
55
|
-
oAuth2Scopes: [],
|
|
56
|
-
|
|
57
|
-
resolvedSecurity: requestSecurity,
|
|
58
|
-
|
|
59
|
-
securitySource: client._options.apiKeyHeader,
|
|
60
|
-
retryConfig: options?.retries
|
|
61
|
-
|| client._options.retryConfig
|
|
62
|
-
|| { strategy: "none" },
|
|
63
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
64
|
-
};
|
|
65
|
-
|
|
66
|
-
const requestRes = client._createRequest(context, {
|
|
67
|
-
security: requestSecurity,
|
|
68
|
-
method: "GET",
|
|
69
|
-
path: path,
|
|
70
|
-
headers: headers,
|
|
71
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
72
|
-
}, options);
|
|
73
|
-
if (!requestRes.ok) {
|
|
74
|
-
return requestRes;
|
|
75
|
-
}
|
|
76
|
-
const req = requestRes.value;
|
|
77
|
-
|
|
78
|
-
const doResult = await client._do(req, {
|
|
79
|
-
context,
|
|
80
|
-
errorCodes: ["4XX", "5XX"],
|
|
81
|
-
retryConfig: context.retryConfig,
|
|
82
|
-
retryCodes: context.retryCodes,
|
|
83
|
-
});
|
|
84
|
-
if (!doResult.ok) {
|
|
85
|
-
return doResult;
|
|
86
|
-
}
|
|
87
|
-
const response = doResult.value;
|
|
88
|
-
|
|
89
|
-
const [result] = await M.match<
|
|
90
|
-
operations.TotalCallVolumeByWeekdayResponseTotalCallVolumeByWeekday,
|
|
91
|
-
| SDKError
|
|
92
|
-
| SDKValidationError
|
|
93
|
-
| UnexpectedClientError
|
|
94
|
-
| InvalidRequestError
|
|
95
|
-
| RequestAbortedError
|
|
96
|
-
| RequestTimeoutError
|
|
97
|
-
| ConnectionError
|
|
98
|
-
>(
|
|
99
|
-
M.json(
|
|
100
|
-
200,
|
|
101
|
-
operations
|
|
102
|
-
.TotalCallVolumeByWeekdayResponseTotalCallVolumeByWeekday$inboundSchema,
|
|
103
|
-
),
|
|
104
|
-
M.fail(["4XX", "5XX"]),
|
|
105
|
-
)(response);
|
|
106
|
-
if (!result.ok) {
|
|
107
|
-
return result;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
return result;
|
|
111
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod";
|
|
6
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* LLM API provider.
|
|
10
|
-
*/
|
|
11
|
-
export const Provider = {
|
|
12
|
-
AzureOpenai: "azure_openai",
|
|
13
|
-
Openai: "openai",
|
|
14
|
-
} as const;
|
|
15
|
-
/**
|
|
16
|
-
* LLM API provider.
|
|
17
|
-
*/
|
|
18
|
-
export type Provider = ClosedEnum<typeof Provider>;
|
|
19
|
-
|
|
20
|
-
/** @internal */
|
|
21
|
-
export const Provider$inboundSchema: z.ZodNativeEnum<typeof Provider> = z
|
|
22
|
-
.nativeEnum(Provider);
|
|
23
|
-
|
|
24
|
-
/** @internal */
|
|
25
|
-
export const Provider$outboundSchema: z.ZodNativeEnum<typeof Provider> =
|
|
26
|
-
Provider$inboundSchema;
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* @internal
|
|
30
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
31
|
-
*/
|
|
32
|
-
export namespace Provider$ {
|
|
33
|
-
/** @deprecated use `Provider$inboundSchema` instead. */
|
|
34
|
-
export const inboundSchema = Provider$inboundSchema;
|
|
35
|
-
/** @deprecated use `Provider$outboundSchema` instead. */
|
|
36
|
-
export const outboundSchema = Provider$outboundSchema;
|
|
37
|
-
}
|
|
@@ -1,74 +0,0 @@
|
|
|
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 { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Successful Response
|
|
12
|
-
*/
|
|
13
|
-
export type GetDailyCallVolumeByHourResponseGetDailyCallVolumeByHour = {};
|
|
14
|
-
|
|
15
|
-
/** @internal */
|
|
16
|
-
export const GetDailyCallVolumeByHourResponseGetDailyCallVolumeByHour$inboundSchema:
|
|
17
|
-
z.ZodType<
|
|
18
|
-
GetDailyCallVolumeByHourResponseGetDailyCallVolumeByHour,
|
|
19
|
-
z.ZodTypeDef,
|
|
20
|
-
unknown
|
|
21
|
-
> = z.object({});
|
|
22
|
-
|
|
23
|
-
/** @internal */
|
|
24
|
-
export type GetDailyCallVolumeByHourResponseGetDailyCallVolumeByHour$Outbound =
|
|
25
|
-
{};
|
|
26
|
-
|
|
27
|
-
/** @internal */
|
|
28
|
-
export const GetDailyCallVolumeByHourResponseGetDailyCallVolumeByHour$outboundSchema:
|
|
29
|
-
z.ZodType<
|
|
30
|
-
GetDailyCallVolumeByHourResponseGetDailyCallVolumeByHour$Outbound,
|
|
31
|
-
z.ZodTypeDef,
|
|
32
|
-
GetDailyCallVolumeByHourResponseGetDailyCallVolumeByHour
|
|
33
|
-
> = z.object({});
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
38
|
-
*/
|
|
39
|
-
export namespace GetDailyCallVolumeByHourResponseGetDailyCallVolumeByHour$ {
|
|
40
|
-
/** @deprecated use `GetDailyCallVolumeByHourResponseGetDailyCallVolumeByHour$inboundSchema` instead. */
|
|
41
|
-
export const inboundSchema =
|
|
42
|
-
GetDailyCallVolumeByHourResponseGetDailyCallVolumeByHour$inboundSchema;
|
|
43
|
-
/** @deprecated use `GetDailyCallVolumeByHourResponseGetDailyCallVolumeByHour$outboundSchema` instead. */
|
|
44
|
-
export const outboundSchema =
|
|
45
|
-
GetDailyCallVolumeByHourResponseGetDailyCallVolumeByHour$outboundSchema;
|
|
46
|
-
/** @deprecated use `GetDailyCallVolumeByHourResponseGetDailyCallVolumeByHour$Outbound` instead. */
|
|
47
|
-
export type Outbound =
|
|
48
|
-
GetDailyCallVolumeByHourResponseGetDailyCallVolumeByHour$Outbound;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export function getDailyCallVolumeByHourResponseGetDailyCallVolumeByHourToJSON(
|
|
52
|
-
getDailyCallVolumeByHourResponseGetDailyCallVolumeByHour:
|
|
53
|
-
GetDailyCallVolumeByHourResponseGetDailyCallVolumeByHour,
|
|
54
|
-
): string {
|
|
55
|
-
return JSON.stringify(
|
|
56
|
-
GetDailyCallVolumeByHourResponseGetDailyCallVolumeByHour$outboundSchema
|
|
57
|
-
.parse(getDailyCallVolumeByHourResponseGetDailyCallVolumeByHour),
|
|
58
|
-
);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export function getDailyCallVolumeByHourResponseGetDailyCallVolumeByHourFromJSON(
|
|
62
|
-
jsonString: string,
|
|
63
|
-
): SafeParseResult<
|
|
64
|
-
GetDailyCallVolumeByHourResponseGetDailyCallVolumeByHour,
|
|
65
|
-
SDKValidationError
|
|
66
|
-
> {
|
|
67
|
-
return safeParse(
|
|
68
|
-
jsonString,
|
|
69
|
-
(x) =>
|
|
70
|
-
GetDailyCallVolumeByHourResponseGetDailyCallVolumeByHour$inboundSchema
|
|
71
|
-
.parse(JSON.parse(x)),
|
|
72
|
-
`Failed to parse 'GetDailyCallVolumeByHourResponseGetDailyCallVolumeByHour' from JSON`,
|
|
73
|
-
);
|
|
74
|
-
}
|
|
@@ -1,74 +0,0 @@
|
|
|
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 { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
-
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Successful Response
|
|
12
|
-
*/
|
|
13
|
-
export type GetMonthlyCallVolumeByDayResponseGetMonthlyCallVolumeByDay = {};
|
|
14
|
-
|
|
15
|
-
/** @internal */
|
|
16
|
-
export const GetMonthlyCallVolumeByDayResponseGetMonthlyCallVolumeByDay$inboundSchema:
|
|
17
|
-
z.ZodType<
|
|
18
|
-
GetMonthlyCallVolumeByDayResponseGetMonthlyCallVolumeByDay,
|
|
19
|
-
z.ZodTypeDef,
|
|
20
|
-
unknown
|
|
21
|
-
> = z.object({});
|
|
22
|
-
|
|
23
|
-
/** @internal */
|
|
24
|
-
export type GetMonthlyCallVolumeByDayResponseGetMonthlyCallVolumeByDay$Outbound =
|
|
25
|
-
{};
|
|
26
|
-
|
|
27
|
-
/** @internal */
|
|
28
|
-
export const GetMonthlyCallVolumeByDayResponseGetMonthlyCallVolumeByDay$outboundSchema:
|
|
29
|
-
z.ZodType<
|
|
30
|
-
GetMonthlyCallVolumeByDayResponseGetMonthlyCallVolumeByDay$Outbound,
|
|
31
|
-
z.ZodTypeDef,
|
|
32
|
-
GetMonthlyCallVolumeByDayResponseGetMonthlyCallVolumeByDay
|
|
33
|
-
> = z.object({});
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
38
|
-
*/
|
|
39
|
-
export namespace GetMonthlyCallVolumeByDayResponseGetMonthlyCallVolumeByDay$ {
|
|
40
|
-
/** @deprecated use `GetMonthlyCallVolumeByDayResponseGetMonthlyCallVolumeByDay$inboundSchema` instead. */
|
|
41
|
-
export const inboundSchema =
|
|
42
|
-
GetMonthlyCallVolumeByDayResponseGetMonthlyCallVolumeByDay$inboundSchema;
|
|
43
|
-
/** @deprecated use `GetMonthlyCallVolumeByDayResponseGetMonthlyCallVolumeByDay$outboundSchema` instead. */
|
|
44
|
-
export const outboundSchema =
|
|
45
|
-
GetMonthlyCallVolumeByDayResponseGetMonthlyCallVolumeByDay$outboundSchema;
|
|
46
|
-
/** @deprecated use `GetMonthlyCallVolumeByDayResponseGetMonthlyCallVolumeByDay$Outbound` instead. */
|
|
47
|
-
export type Outbound =
|
|
48
|
-
GetMonthlyCallVolumeByDayResponseGetMonthlyCallVolumeByDay$Outbound;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export function getMonthlyCallVolumeByDayResponseGetMonthlyCallVolumeByDayToJSON(
|
|
52
|
-
getMonthlyCallVolumeByDayResponseGetMonthlyCallVolumeByDay:
|
|
53
|
-
GetMonthlyCallVolumeByDayResponseGetMonthlyCallVolumeByDay,
|
|
54
|
-
): string {
|
|
55
|
-
return JSON.stringify(
|
|
56
|
-
GetMonthlyCallVolumeByDayResponseGetMonthlyCallVolumeByDay$outboundSchema
|
|
57
|
-
.parse(getMonthlyCallVolumeByDayResponseGetMonthlyCallVolumeByDay),
|
|
58
|
-
);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export function getMonthlyCallVolumeByDayResponseGetMonthlyCallVolumeByDayFromJSON(
|
|
62
|
-
jsonString: string,
|
|
63
|
-
): SafeParseResult<
|
|
64
|
-
GetMonthlyCallVolumeByDayResponseGetMonthlyCallVolumeByDay,
|
|
65
|
-
SDKValidationError
|
|
66
|
-
> {
|
|
67
|
-
return safeParse(
|
|
68
|
-
jsonString,
|
|
69
|
-
(x) =>
|
|
70
|
-
GetMonthlyCallVolumeByDayResponseGetMonthlyCallVolumeByDay$inboundSchema
|
|
71
|
-
.parse(JSON.parse(x)),
|
|
72
|
-
`Failed to parse 'GetMonthlyCallVolumeByDayResponseGetMonthlyCallVolumeByDay' from JSON`,
|
|
73
|
-
);
|
|
74
|
-
}
|