@webitel/api-services
Preparing search index...
agent-service/agent-service
getAgentService
Function getAgentService
getAgentService
(
axiosInstance
?:
AxiosInstance
,
)
:
{
agentSetState
:
(
agentId
:
number
,
engineAgentServiceAgentSetStateBody
:
EngineAgentServiceAgentSetStateBody
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineAgentSetStateResponse
,
any
,
{}
>
>
;
agentStateHistory
:
(
agentId
:
string
,
params
?:
AgentStateHistoryParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineListAgentStateHistory
,
any
,
{}
>
>
;
agentTodayStatistics
:
(
agentId
:
string
,
params
?:
AgentTodayStatisticsParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineAgentTodayStatisticsResponse
,
any
,
{}
>
>
;
createAgent
:
(
engineCreateAgentRequest
:
EngineCreateAgentRequest
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineAgent
,
any
,
{}
>
>
;
deleteAgent
:
(
id
:
string
,
params
?:
DeleteAgentParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineAgent
,
any
,
{}
>
>
;
patchAgent
:
(
id
:
string
,
engineAgentServicePatchAgentBody
:
EngineAgentServicePatchAgentBody
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineAgent
,
any
,
{}
>
>
;
readAgent
:
(
id
:
string
,
params
?:
ReadAgentParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineAgent
,
any
,
{}
>
>
;
searchAgent
:
(
params
?:
SearchAgentParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineListAgent
,
any
,
{}
>
>
;
searchAgentCallStatistics
:
(
params
?:
SearchAgentCallStatisticsParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineAgentCallStatisticsList
,
any
,
{}
>
>
;
searchAgentInQueue
:
(
id
:
string
,
params
?:
SearchAgentInQueueParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineListAgentInQueue
,
any
,
{}
>
>
;
searchAgentInQueueStatistics
:
(
agentId
:
string
,
params
?:
SearchAgentInQueueStatisticsParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineAgentInQueueStatisticsList
,
any
,
{}
>
>
;
searchAgentInTeam
:
(
id
:
string
,
params
?:
SearchAgentInTeamParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineListAgentInTeam
,
any
,
{}
>
>
;
searchAgentStateHistory
:
(
params
?:
SearchAgentStateHistoryParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineListAgentStateHistory
,
any
,
{}
>
>
;
searchAgentStatusStatistic
:
(
params
?:
SearchAgentStatusStatisticParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineListAgentStatsStatistic
,
any
,
{}
>
>
;
searchAgentStatusStatisticItem
:
(
agentId
:
string
,
params
?:
SearchAgentStatusStatisticItemParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineAgentStatusStatisticItem
,
any
,
{}
>
>
;
searchLookupUsersAgentNotExists
:
(
params
?:
SearchLookupUsersAgentNotExistsParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineListAgentUser
,
any
,
{}
>
>
;
searchPauseCauseForAgent
:
(
agentId
:
string
,
params
?:
SearchPauseCauseForAgentParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineForAgentPauseCauseList
,
any
,
{}
>
>
;
searchUserStatus
:
(
params
?:
SearchUserStatusParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineListUserStatus
,
any
,
{}
>
>
;
updateAgent
:
(
id
:
string
,
engineAgentServiceUpdateAgentBody
:
EngineAgentServiceUpdateAgentBody
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineAgent
,
any
,
{}
>
>
;
updateAgentStatus
:
(
id
:
string
,
engineAgentServiceUpdateAgentStatusBody
:
EngineAgentServiceUpdateAgentStatusBody
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineResponse
,
any
,
{}
>
>
;
}
Parameters
axiosInstance
:
AxiosInstance
= axios
Returns
{
agentSetState
:
(
agentId
:
number
,
engineAgentServiceAgentSetStateBody
:
EngineAgentServiceAgentSetStateBody
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineAgentSetStateResponse
,
any
,
{}
>
>
;
agentStateHistory
:
(
agentId
:
string
,
params
?:
AgentStateHistoryParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineListAgentStateHistory
,
any
,
{}
>
>
;
agentTodayStatistics
:
(
agentId
:
string
,
params
?:
AgentTodayStatisticsParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineAgentTodayStatisticsResponse
,
any
,
{}
>
>
;
createAgent
:
(
engineCreateAgentRequest
:
EngineCreateAgentRequest
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineAgent
,
any
,
{}
>
>
;
deleteAgent
:
(
id
:
string
,
params
?:
DeleteAgentParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineAgent
,
any
,
{}
>
>
;
patchAgent
:
(
id
:
string
,
engineAgentServicePatchAgentBody
:
EngineAgentServicePatchAgentBody
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineAgent
,
any
,
{}
>
>
;
readAgent
:
(
id
:
string
,
params
?:
ReadAgentParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineAgent
,
any
,
{}
>
>
;
searchAgent
:
(
params
?:
SearchAgentParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineListAgent
,
any
,
{}
>
>
;
searchAgentCallStatistics
:
(
params
?:
SearchAgentCallStatisticsParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineAgentCallStatisticsList
,
any
,
{}
>
>
;
searchAgentInQueue
:
(
id
:
string
,
params
?:
SearchAgentInQueueParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineListAgentInQueue
,
any
,
{}
>
>
;
searchAgentInQueueStatistics
:
(
agentId
:
string
,
params
?:
SearchAgentInQueueStatisticsParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineAgentInQueueStatisticsList
,
any
,
{}
>
>
;
searchAgentInTeam
:
(
id
:
string
,
params
?:
SearchAgentInTeamParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineListAgentInTeam
,
any
,
{}
>
>
;
searchAgentStateHistory
:
(
params
?:
SearchAgentStateHistoryParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineListAgentStateHistory
,
any
,
{}
>
>
;
searchAgentStatusStatistic
:
(
params
?:
SearchAgentStatusStatisticParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineListAgentStatsStatistic
,
any
,
{}
>
>
;
searchAgentStatusStatisticItem
:
(
agentId
:
string
,
params
?:
SearchAgentStatusStatisticItemParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineAgentStatusStatisticItem
,
any
,
{}
>
>
;
searchLookupUsersAgentNotExists
:
(
params
?:
SearchLookupUsersAgentNotExistsParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineListAgentUser
,
any
,
{}
>
>
;
searchPauseCauseForAgent
:
(
agentId
:
string
,
params
?:
SearchPauseCauseForAgentParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineForAgentPauseCauseList
,
any
,
{}
>
>
;
searchUserStatus
:
(
params
?:
SearchUserStatusParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineListUserStatus
,
any
,
{}
>
>
;
updateAgent
:
(
id
:
string
,
engineAgentServiceUpdateAgentBody
:
EngineAgentServiceUpdateAgentBody
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineAgent
,
any
,
{}
>
>
;
updateAgentStatus
:
(
id
:
string
,
engineAgentServiceUpdateAgentStatusBody
:
EngineAgentServiceUpdateAgentStatusBody
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineResponse
,
any
,
{}
>
>
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@webitel/api-services
Loading...