@webitel/api-services
Preparing search index...
skill-service/skill-service
getSkillService
Function getSkillService
getSkillService
(
axiosInstance
?:
AxiosInstance
,
)
:
{
createSkill
:
(
engineCreateSkillRequest
:
EngineCreateSkillRequest
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineSkill
,
any
,
{}
>
>
;
createSkillAgent
:
(
skillId
:
string
,
engineSkillServiceCreateSkillAgentBody
:
EngineSkillServiceCreateSkillAgentBody
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineCreateSkillAgentResponse
,
any
,
{}
>
>
;
deleteSkill
:
(
id
:
string
,
params
?:
DeleteSkillParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineSkill
,
any
,
{}
>
>
;
deleteSkillAgent
:
(
skillId
:
string
,
engineSkillServiceDeleteSkillAgentBody
:
EngineSkillServiceDeleteSkillAgentBody
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineDeleteSkillAgentResponse
,
any
,
{}
>
>
;
patchSkillAgent
:
(
skillId
:
string
,
engineSkillServicePatchSkillAgentBody
:
EngineSkillServicePatchSkillAgentBody
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EnginePatchSkillAgentResponse
,
any
,
{}
>
>
;
readSkill
:
(
id
:
string
,
params
?:
ReadSkillParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineSkill
,
any
,
{}
>
>
;
searchSkill
:
(
params
?:
SearchSkillParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineListSkill
,
any
,
{}
>
>
;
searchSkillAgent
:
(
skillId
:
string
,
params
?:
SearchSkillAgentParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineListSkillAgent
,
any
,
{}
>
>
;
updateSkill
:
(
id
:
string
,
engineSkillServiceUpdateSkillBody
:
EngineSkillServiceUpdateSkillBody
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineSkill
,
any
,
{}
>
>
;
}
Parameters
axiosInstance
:
AxiosInstance
= axios
Returns
{
createSkill
:
(
engineCreateSkillRequest
:
EngineCreateSkillRequest
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineSkill
,
any
,
{}
>
>
;
createSkillAgent
:
(
skillId
:
string
,
engineSkillServiceCreateSkillAgentBody
:
EngineSkillServiceCreateSkillAgentBody
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineCreateSkillAgentResponse
,
any
,
{}
>
>
;
deleteSkill
:
(
id
:
string
,
params
?:
DeleteSkillParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineSkill
,
any
,
{}
>
>
;
deleteSkillAgent
:
(
skillId
:
string
,
engineSkillServiceDeleteSkillAgentBody
:
EngineSkillServiceDeleteSkillAgentBody
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineDeleteSkillAgentResponse
,
any
,
{}
>
>
;
patchSkillAgent
:
(
skillId
:
string
,
engineSkillServicePatchSkillAgentBody
:
EngineSkillServicePatchSkillAgentBody
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EnginePatchSkillAgentResponse
,
any
,
{}
>
>
;
readSkill
:
(
id
:
string
,
params
?:
ReadSkillParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineSkill
,
any
,
{}
>
>
;
searchSkill
:
(
params
?:
SearchSkillParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineListSkill
,
any
,
{}
>
>
;
searchSkillAgent
:
(
skillId
:
string
,
params
?:
SearchSkillAgentParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineListSkillAgent
,
any
,
{}
>
>
;
updateSkill
:
(
id
:
string
,
engineSkillServiceUpdateSkillBody
:
EngineSkillServiceUpdateSkillBody
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
EngineSkill
,
any
,
{}
>
>
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@webitel/api-services
Loading...