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,57 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
-
if (mod && mod.__esModule) return mod;
|
|
23
|
-
var result = {};
|
|
24
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
-
__setModuleDefault(result, mod);
|
|
26
|
-
return result;
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.TotalCallVolumeByWeekdayResponseTotalCallVolumeByWeekday$ = exports.TotalCallVolumeByWeekdayResponseTotalCallVolumeByWeekday$outboundSchema = exports.TotalCallVolumeByWeekdayResponseTotalCallVolumeByWeekday$inboundSchema = void 0;
|
|
30
|
-
exports.totalCallVolumeByWeekdayResponseTotalCallVolumeByWeekdayToJSON = totalCallVolumeByWeekdayResponseTotalCallVolumeByWeekdayToJSON;
|
|
31
|
-
exports.totalCallVolumeByWeekdayResponseTotalCallVolumeByWeekdayFromJSON = totalCallVolumeByWeekdayResponseTotalCallVolumeByWeekdayFromJSON;
|
|
32
|
-
const z = __importStar(require("zod"));
|
|
33
|
-
const schemas_js_1 = require("../../lib/schemas.js");
|
|
34
|
-
/** @internal */
|
|
35
|
-
exports.TotalCallVolumeByWeekdayResponseTotalCallVolumeByWeekday$inboundSchema = z.object({});
|
|
36
|
-
/** @internal */
|
|
37
|
-
exports.TotalCallVolumeByWeekdayResponseTotalCallVolumeByWeekday$outboundSchema = z.object({});
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
41
|
-
*/
|
|
42
|
-
var TotalCallVolumeByWeekdayResponseTotalCallVolumeByWeekday$;
|
|
43
|
-
(function (TotalCallVolumeByWeekdayResponseTotalCallVolumeByWeekday$) {
|
|
44
|
-
/** @deprecated use `TotalCallVolumeByWeekdayResponseTotalCallVolumeByWeekday$inboundSchema` instead. */
|
|
45
|
-
TotalCallVolumeByWeekdayResponseTotalCallVolumeByWeekday$.inboundSchema = exports.TotalCallVolumeByWeekdayResponseTotalCallVolumeByWeekday$inboundSchema;
|
|
46
|
-
/** @deprecated use `TotalCallVolumeByWeekdayResponseTotalCallVolumeByWeekday$outboundSchema` instead. */
|
|
47
|
-
TotalCallVolumeByWeekdayResponseTotalCallVolumeByWeekday$.outboundSchema = exports.TotalCallVolumeByWeekdayResponseTotalCallVolumeByWeekday$outboundSchema;
|
|
48
|
-
})(TotalCallVolumeByWeekdayResponseTotalCallVolumeByWeekday$ || (exports.TotalCallVolumeByWeekdayResponseTotalCallVolumeByWeekday$ = TotalCallVolumeByWeekdayResponseTotalCallVolumeByWeekday$ = {}));
|
|
49
|
-
function totalCallVolumeByWeekdayResponseTotalCallVolumeByWeekdayToJSON(totalCallVolumeByWeekdayResponseTotalCallVolumeByWeekday) {
|
|
50
|
-
return JSON.stringify(exports.TotalCallVolumeByWeekdayResponseTotalCallVolumeByWeekday$outboundSchema
|
|
51
|
-
.parse(totalCallVolumeByWeekdayResponseTotalCallVolumeByWeekday));
|
|
52
|
-
}
|
|
53
|
-
function totalCallVolumeByWeekdayResponseTotalCallVolumeByWeekdayFromJSON(jsonString) {
|
|
54
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TotalCallVolumeByWeekdayResponseTotalCallVolumeByWeekday$inboundSchema
|
|
55
|
-
.parse(JSON.parse(x)), `Failed to parse 'TotalCallVolumeByWeekdayResponseTotalCallVolumeByWeekday' from JSON`);
|
|
56
|
-
}
|
|
57
|
-
//# sourceMappingURL=totalcallvolumebyweekday.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"totalcallvolumebyweekday.js","sourceRoot":"","sources":["../../src/models/operations/totalcallvolumebyweekday.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAgDH,wIAQC;AAED,4IAaC;AArED,uCAAyB;AACzB,qDAAiD;AASjD,gBAAgB;AACH,QAAA,sEAAsE,GAK7E,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAMnB,gBAAgB;AACH,QAAA,uEAAuE,GAK9E,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAEnB;;;GAGG;AACH,IAAiB,yDAAyD,CAUzE;AAVD,WAAiB,yDAAyD;IACxE,wGAAwG;IAC3F,uEAAa,GACxB,8EAAsE,CAAC;IACzE,yGAAyG;IAC5F,wEAAc,GACzB,+EAAuE,CAAC;AAI5E,CAAC,EAVgB,yDAAyD,yEAAzD,yDAAyD,QAUzE;AAED,SAAgB,8DAA8D,CAC5E,wDAC0D;IAE1D,OAAO,IAAI,CAAC,SAAS,CACnB,+EAAuE;SACpE,KAAK,CAAC,wDAAwD,CAAC,CACnE,CAAC;AACJ,CAAC;AAED,SAAgB,gEAAgE,CAC9E,UAAkB;IAKlB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,8EAAsE;SACnE,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzB,sFAAsF,CACvF,CAAC;AACJ,CAAC"}
|
package/sdk/dashboards.d.ts
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
2
|
-
import * as operations from "../models/operations/index.js";
|
|
3
|
-
export declare class Dashboards extends ClientSDK {
|
|
4
|
-
/**
|
|
5
|
-
* Get Total Call Volume By Weekday
|
|
6
|
-
*
|
|
7
|
-
* @remarks
|
|
8
|
-
* Get total call volume by weekday.
|
|
9
|
-
*/
|
|
10
|
-
totalCallVolumeByWeekday(options?: RequestOptions): Promise<operations.TotalCallVolumeByWeekdayResponseTotalCallVolumeByWeekday>;
|
|
11
|
-
/**
|
|
12
|
-
* Get Total Call Volume By Hour
|
|
13
|
-
*
|
|
14
|
-
* @remarks
|
|
15
|
-
* Get total call volume by hour.
|
|
16
|
-
*/
|
|
17
|
-
getTotalCallVolumeByHour(options?: RequestOptions): Promise<operations.GetTotalCallVolumeByHourResponseGetTotalCallVolumeByHour>;
|
|
18
|
-
/**
|
|
19
|
-
* Get Weekly Call Volume By Weekday
|
|
20
|
-
*
|
|
21
|
-
* @remarks
|
|
22
|
-
* Get weekly call volume by weekday.
|
|
23
|
-
*/
|
|
24
|
-
getWeeklyCallVolumeByWeekday(options?: RequestOptions): Promise<operations.GetWeeklyCallVolumeByWeekdayResponseGetWeeklyCallVolumeByWeekday>;
|
|
25
|
-
/**
|
|
26
|
-
* Get Daily Call Volume By Hour
|
|
27
|
-
*
|
|
28
|
-
* @remarks
|
|
29
|
-
* Get daily call volume by hour.
|
|
30
|
-
*/
|
|
31
|
-
getDailyCallVolumeByHour(options?: RequestOptions): Promise<operations.GetDailyCallVolumeByHourResponseGetDailyCallVolumeByHour>;
|
|
32
|
-
/**
|
|
33
|
-
* Get Monthly Call Volume By Week
|
|
34
|
-
*
|
|
35
|
-
* @remarks
|
|
36
|
-
* Get monthly cal volume by week.
|
|
37
|
-
*/
|
|
38
|
-
getMonthlyCallVolumeByWeek(options?: RequestOptions): Promise<operations.GetMonthlyCallVolumeByWeekResponseGetMonthlyCallVolumeByWeek>;
|
|
39
|
-
/**
|
|
40
|
-
* Get Monthly Call Volume By Day
|
|
41
|
-
*
|
|
42
|
-
* @remarks
|
|
43
|
-
* Get monthly call volume by day.
|
|
44
|
-
*/
|
|
45
|
-
getMonthlyCallVolumeByDay(options?: RequestOptions): Promise<operations.GetMonthlyCallVolumeByDayResponseGetMonthlyCallVolumeByDay>;
|
|
46
|
-
/**
|
|
47
|
-
* Get Session Summary
|
|
48
|
-
*
|
|
49
|
-
* @remarks
|
|
50
|
-
* Get session summary data
|
|
51
|
-
*/
|
|
52
|
-
getSessionSummary(request: operations.GetSessionSummaryRequest, options?: RequestOptions): Promise<operations.GetSessionSummaryResponseGetSessionSummary>;
|
|
53
|
-
/**
|
|
54
|
-
* Get Agents
|
|
55
|
-
*
|
|
56
|
-
* @remarks
|
|
57
|
-
* Get list of agents for session summary dropdown
|
|
58
|
-
*/
|
|
59
|
-
getSessionAgents(options?: RequestOptions): Promise<operations.GetSessionAgentsResponseGetSessionAgents>;
|
|
60
|
-
}
|
|
61
|
-
//# sourceMappingURL=dashboards.d.ts.map
|
package/sdk/dashboards.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dashboards.d.ts","sourceRoot":"","sources":["../src/sdk/dashboards.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,UAAW,SAAQ,SAAS;IACvC;;;;;OAKG;IACG,wBAAwB,CAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,UAAU,CAAC,wDAAwD,CACpE;IAOD;;;;;OAKG;IACG,wBAAwB,CAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,UAAU,CAAC,wDAAwD,CACpE;IAOD;;;;;OAKG;IACG,4BAA4B,CAChC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,UAAU,CAAC,gEAAgE,CAC5E;IAOD;;;;;OAKG;IACG,wBAAwB,CAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,UAAU,CAAC,wDAAwD,CACpE;IAOD;;;;;OAKG;IACG,0BAA0B,CAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,UAAU,CAAC,4DAA4D,CACxE;IAOD;;;;;OAKG;IACG,yBAAyB,CAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,UAAU,CAAC,0DAA0D,CACtE;IAOD;;;;;OAKG;IACG,iBAAiB,CACrB,OAAO,EAAE,UAAU,CAAC,wBAAwB,EAC5C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,0CAA0C,CAAC;IAQjE;;;;;OAKG;IACG,gBAAgB,CACpB,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,wCAAwC,CAAC;CAMhE"}
|
package/sdk/dashboards.js
DELETED
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
-
*/
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.Dashboards = void 0;
|
|
7
|
-
const dashboardsGetDailyCallVolumeByHour_js_1 = require("../funcs/dashboardsGetDailyCallVolumeByHour.js");
|
|
8
|
-
const dashboardsGetMonthlyCallVolumeByDay_js_1 = require("../funcs/dashboardsGetMonthlyCallVolumeByDay.js");
|
|
9
|
-
const dashboardsGetMonthlyCallVolumeByWeek_js_1 = require("../funcs/dashboardsGetMonthlyCallVolumeByWeek.js");
|
|
10
|
-
const dashboardsGetSessionAgents_js_1 = require("../funcs/dashboardsGetSessionAgents.js");
|
|
11
|
-
const dashboardsGetSessionSummary_js_1 = require("../funcs/dashboardsGetSessionSummary.js");
|
|
12
|
-
const dashboardsGetTotalCallVolumeByHour_js_1 = require("../funcs/dashboardsGetTotalCallVolumeByHour.js");
|
|
13
|
-
const dashboardsGetWeeklyCallVolumeByWeekday_js_1 = require("../funcs/dashboardsGetWeeklyCallVolumeByWeekday.js");
|
|
14
|
-
const dashboardsTotalCallVolumeByWeekday_js_1 = require("../funcs/dashboardsTotalCallVolumeByWeekday.js");
|
|
15
|
-
const sdks_js_1 = require("../lib/sdks.js");
|
|
16
|
-
const fp_js_1 = require("../types/fp.js");
|
|
17
|
-
class Dashboards extends sdks_js_1.ClientSDK {
|
|
18
|
-
/**
|
|
19
|
-
* Get Total Call Volume By Weekday
|
|
20
|
-
*
|
|
21
|
-
* @remarks
|
|
22
|
-
* Get total call volume by weekday.
|
|
23
|
-
*/
|
|
24
|
-
async totalCallVolumeByWeekday(options) {
|
|
25
|
-
return (0, fp_js_1.unwrapAsync)((0, dashboardsTotalCallVolumeByWeekday_js_1.dashboardsTotalCallVolumeByWeekday)(this, options));
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Get Total Call Volume By Hour
|
|
29
|
-
*
|
|
30
|
-
* @remarks
|
|
31
|
-
* Get total call volume by hour.
|
|
32
|
-
*/
|
|
33
|
-
async getTotalCallVolumeByHour(options) {
|
|
34
|
-
return (0, fp_js_1.unwrapAsync)((0, dashboardsGetTotalCallVolumeByHour_js_1.dashboardsGetTotalCallVolumeByHour)(this, options));
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* Get Weekly Call Volume By Weekday
|
|
38
|
-
*
|
|
39
|
-
* @remarks
|
|
40
|
-
* Get weekly call volume by weekday.
|
|
41
|
-
*/
|
|
42
|
-
async getWeeklyCallVolumeByWeekday(options) {
|
|
43
|
-
return (0, fp_js_1.unwrapAsync)((0, dashboardsGetWeeklyCallVolumeByWeekday_js_1.dashboardsGetWeeklyCallVolumeByWeekday)(this, options));
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Get Daily Call Volume By Hour
|
|
47
|
-
*
|
|
48
|
-
* @remarks
|
|
49
|
-
* Get daily call volume by hour.
|
|
50
|
-
*/
|
|
51
|
-
async getDailyCallVolumeByHour(options) {
|
|
52
|
-
return (0, fp_js_1.unwrapAsync)((0, dashboardsGetDailyCallVolumeByHour_js_1.dashboardsGetDailyCallVolumeByHour)(this, options));
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* Get Monthly Call Volume By Week
|
|
56
|
-
*
|
|
57
|
-
* @remarks
|
|
58
|
-
* Get monthly cal volume by week.
|
|
59
|
-
*/
|
|
60
|
-
async getMonthlyCallVolumeByWeek(options) {
|
|
61
|
-
return (0, fp_js_1.unwrapAsync)((0, dashboardsGetMonthlyCallVolumeByWeek_js_1.dashboardsGetMonthlyCallVolumeByWeek)(this, options));
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* Get Monthly Call Volume By Day
|
|
65
|
-
*
|
|
66
|
-
* @remarks
|
|
67
|
-
* Get monthly call volume by day.
|
|
68
|
-
*/
|
|
69
|
-
async getMonthlyCallVolumeByDay(options) {
|
|
70
|
-
return (0, fp_js_1.unwrapAsync)((0, dashboardsGetMonthlyCallVolumeByDay_js_1.dashboardsGetMonthlyCallVolumeByDay)(this, options));
|
|
71
|
-
}
|
|
72
|
-
/**
|
|
73
|
-
* Get Session Summary
|
|
74
|
-
*
|
|
75
|
-
* @remarks
|
|
76
|
-
* Get session summary data
|
|
77
|
-
*/
|
|
78
|
-
async getSessionSummary(request, options) {
|
|
79
|
-
return (0, fp_js_1.unwrapAsync)((0, dashboardsGetSessionSummary_js_1.dashboardsGetSessionSummary)(this, request, options));
|
|
80
|
-
}
|
|
81
|
-
/**
|
|
82
|
-
* Get Agents
|
|
83
|
-
*
|
|
84
|
-
* @remarks
|
|
85
|
-
* Get list of agents for session summary dropdown
|
|
86
|
-
*/
|
|
87
|
-
async getSessionAgents(options) {
|
|
88
|
-
return (0, fp_js_1.unwrapAsync)((0, dashboardsGetSessionAgents_js_1.dashboardsGetSessionAgents)(this, options));
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
exports.Dashboards = Dashboards;
|
|
92
|
-
//# sourceMappingURL=dashboards.js.map
|
package/sdk/dashboards.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dashboards.js","sourceRoot":"","sources":["../src/sdk/dashboards.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,0GAAoG;AACpG,4GAAsG;AACtG,8GAAwG;AACxG,0FAAoF;AACpF,4FAAsF;AACtF,0GAAoG;AACpG,kHAA4G;AAC5G,0GAAoG;AACpG,4CAA2D;AAE3D,0CAA6C;AAE7C,MAAa,UAAW,SAAQ,mBAAS;IACvC;;;;;OAKG;IACH,KAAK,CAAC,wBAAwB,CAC5B,OAAwB;QAIxB,OAAO,IAAA,mBAAW,EAAC,IAAA,0EAAkC,EACnD,IAAI,EACJ,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,wBAAwB,CAC5B,OAAwB;QAIxB,OAAO,IAAA,mBAAW,EAAC,IAAA,0EAAkC,EACnD,IAAI,EACJ,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,4BAA4B,CAChC,OAAwB;QAIxB,OAAO,IAAA,mBAAW,EAAC,IAAA,kFAAsC,EACvD,IAAI,EACJ,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,wBAAwB,CAC5B,OAAwB;QAIxB,OAAO,IAAA,mBAAW,EAAC,IAAA,0EAAkC,EACnD,IAAI,EACJ,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,0BAA0B,CAC9B,OAAwB;QAIxB,OAAO,IAAA,mBAAW,EAAC,IAAA,8EAAoC,EACrD,IAAI,EACJ,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,yBAAyB,CAC7B,OAAwB;QAIxB,OAAO,IAAA,mBAAW,EAAC,IAAA,4EAAmC,EACpD,IAAI,EACJ,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,iBAAiB,CACrB,OAA4C,EAC5C,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,4DAA2B,EAC5C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,gBAAgB,CACpB,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,0DAA0B,EAC3C,IAAI,EACJ,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF;AAtID,gCAsIC"}
|
|
@@ -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 Daily Call Volume By Hour
|
|
24
|
-
*
|
|
25
|
-
* @remarks
|
|
26
|
-
* Get daily call volume by hour.
|
|
27
|
-
*/
|
|
28
|
-
export async function dashboardsGetDailyCallVolumeByHour(
|
|
29
|
-
client: SyllableSDKCore,
|
|
30
|
-
options?: RequestOptions,
|
|
31
|
-
): Promise<
|
|
32
|
-
Result<
|
|
33
|
-
operations.GetDailyCallVolumeByHourResponseGetDailyCallVolumeByHour,
|
|
34
|
-
| SDKError
|
|
35
|
-
| SDKValidationError
|
|
36
|
-
| UnexpectedClientError
|
|
37
|
-
| InvalidRequestError
|
|
38
|
-
| RequestAbortedError
|
|
39
|
-
| RequestTimeoutError
|
|
40
|
-
| ConnectionError
|
|
41
|
-
>
|
|
42
|
-
> {
|
|
43
|
-
const path = pathToFunc("/api/v1/dashboards/get_daily_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_daily_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.GetDailyCallVolumeByHourResponseGetDailyCallVolumeByHour,
|
|
91
|
-
| SDKError
|
|
92
|
-
| SDKValidationError
|
|
93
|
-
| UnexpectedClientError
|
|
94
|
-
| InvalidRequestError
|
|
95
|
-
| RequestAbortedError
|
|
96
|
-
| RequestTimeoutError
|
|
97
|
-
| ConnectionError
|
|
98
|
-
>(
|
|
99
|
-
M.json(
|
|
100
|
-
200,
|
|
101
|
-
operations
|
|
102
|
-
.GetDailyCallVolumeByHourResponseGetDailyCallVolumeByHour$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 Monthly Call Volume By Day
|
|
24
|
-
*
|
|
25
|
-
* @remarks
|
|
26
|
-
* Get monthly call volume by day.
|
|
27
|
-
*/
|
|
28
|
-
export async function dashboardsGetMonthlyCallVolumeByDay(
|
|
29
|
-
client: SyllableSDKCore,
|
|
30
|
-
options?: RequestOptions,
|
|
31
|
-
): Promise<
|
|
32
|
-
Result<
|
|
33
|
-
operations.GetMonthlyCallVolumeByDayResponseGetMonthlyCallVolumeByDay,
|
|
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_monthly_call_volume_by_day",
|
|
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_monthly_call_volume_by_day",
|
|
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.GetMonthlyCallVolumeByDayResponseGetMonthlyCallVolumeByDay,
|
|
93
|
-
| SDKError
|
|
94
|
-
| SDKValidationError
|
|
95
|
-
| UnexpectedClientError
|
|
96
|
-
| InvalidRequestError
|
|
97
|
-
| RequestAbortedError
|
|
98
|
-
| RequestTimeoutError
|
|
99
|
-
| ConnectionError
|
|
100
|
-
>(
|
|
101
|
-
M.json(
|
|
102
|
-
200,
|
|
103
|
-
operations
|
|
104
|
-
.GetMonthlyCallVolumeByDayResponseGetMonthlyCallVolumeByDay$inboundSchema,
|
|
105
|
-
),
|
|
106
|
-
M.fail(["4XX", "5XX"]),
|
|
107
|
-
)(response);
|
|
108
|
-
if (!result.ok) {
|
|
109
|
-
return result;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
return result;
|
|
113
|
-
}
|
|
@@ -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 Monthly Call Volume By Week
|
|
24
|
-
*
|
|
25
|
-
* @remarks
|
|
26
|
-
* Get monthly cal volume by week.
|
|
27
|
-
*/
|
|
28
|
-
export async function dashboardsGetMonthlyCallVolumeByWeek(
|
|
29
|
-
client: SyllableSDKCore,
|
|
30
|
-
options?: RequestOptions,
|
|
31
|
-
): Promise<
|
|
32
|
-
Result<
|
|
33
|
-
operations.GetMonthlyCallVolumeByWeekResponseGetMonthlyCallVolumeByWeek,
|
|
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_monthly_call_volume_by_week",
|
|
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_monthly_call_volume_by_week",
|
|
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.GetMonthlyCallVolumeByWeekResponseGetMonthlyCallVolumeByWeek,
|
|
93
|
-
| SDKError
|
|
94
|
-
| SDKValidationError
|
|
95
|
-
| UnexpectedClientError
|
|
96
|
-
| InvalidRequestError
|
|
97
|
-
| RequestAbortedError
|
|
98
|
-
| RequestTimeoutError
|
|
99
|
-
| ConnectionError
|
|
100
|
-
>(
|
|
101
|
-
M.json(
|
|
102
|
-
200,
|
|
103
|
-
operations
|
|
104
|
-
.GetMonthlyCallVolumeByWeekResponseGetMonthlyCallVolumeByWeek$inboundSchema,
|
|
105
|
-
),
|
|
106
|
-
M.fail(["4XX", "5XX"]),
|
|
107
|
-
)(response);
|
|
108
|
-
if (!result.ok) {
|
|
109
|
-
return result;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
return result;
|
|
113
|
-
}
|
|
@@ -1,110 +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 Agents
|
|
24
|
-
*
|
|
25
|
-
* @remarks
|
|
26
|
-
* Get list of agents for session summary dropdown
|
|
27
|
-
*/
|
|
28
|
-
export async function dashboardsGetSessionAgents(
|
|
29
|
-
client: SyllableSDKCore,
|
|
30
|
-
options?: RequestOptions,
|
|
31
|
-
): Promise<
|
|
32
|
-
Result<
|
|
33
|
-
operations.GetSessionAgentsResponseGetSessionAgents,
|
|
34
|
-
| SDKError
|
|
35
|
-
| SDKValidationError
|
|
36
|
-
| UnexpectedClientError
|
|
37
|
-
| InvalidRequestError
|
|
38
|
-
| RequestAbortedError
|
|
39
|
-
| RequestTimeoutError
|
|
40
|
-
| ConnectionError
|
|
41
|
-
>
|
|
42
|
-
> {
|
|
43
|
-
const path = pathToFunc("/api/v1/dashboards/get_agents")();
|
|
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_session_agents",
|
|
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.GetSessionAgentsResponseGetSessionAgents,
|
|
91
|
-
| SDKError
|
|
92
|
-
| SDKValidationError
|
|
93
|
-
| UnexpectedClientError
|
|
94
|
-
| InvalidRequestError
|
|
95
|
-
| RequestAbortedError
|
|
96
|
-
| RequestTimeoutError
|
|
97
|
-
| ConnectionError
|
|
98
|
-
>(
|
|
99
|
-
M.json(
|
|
100
|
-
200,
|
|
101
|
-
operations.GetSessionAgentsResponseGetSessionAgents$inboundSchema,
|
|
102
|
-
),
|
|
103
|
-
M.fail(["4XX", "5XX"]),
|
|
104
|
-
)(response);
|
|
105
|
-
if (!result.ok) {
|
|
106
|
-
return result;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
return result;
|
|
110
|
-
}
|