@webitel/api-services
Preparing search index...
file-service/file-service
getFileService
Function getFileService
getFileService
(
axiosInstance
?:
AxiosInstance
,
)
:
{
deleteFiles
:
(
storageDeleteFilesRequest
:
StorageDeleteFilesRequest
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
StorageDeleteFilesResponse
,
any
,
{}
>
>
;
deleteQuarantineFiles
:
(
storageDeleteQuarantineFilesRequest
:
StorageDeleteQuarantineFilesRequest
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
StorageDeleteFilesResponse
,
any
,
{}
>
>
;
deleteScreenRecordings
:
(
userId
:
string
,
id
:
string
[]
,
storageFileServiceDeleteScreenRecordingsBody
:
StorageFileServiceDeleteScreenRecordingsBody
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
StorageDeleteFilesResponse
,
any
,
{}
>
>
;
deleteScreenRecordingsByAgent
:
(
agentId
:
string
,
id
:
string
[]
,
storageFileServiceDeleteScreenRecordingsByAgentBody
:
StorageFileServiceDeleteScreenRecordingsByAgentBody
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
StorageDeleteFilesResponse
,
any
,
{}
>
>
;
restoreFiles
:
(
storageRestoreFilesRequest
:
StorageRestoreFilesRequest
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
StorageRestoreFilesResponse
,
any
,
{}
>
>
;
searchFiles
:
(
params
?:
SearchFilesParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
StorageListFile
,
any
,
{}
>
>
;
searchFilesByCall
:
(
callId
:
string
,
params
?:
SearchFilesByCallParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
StorageListFile
,
any
,
{}
>
>
;
searchScreenRecordings
:
(
userId
:
string
,
params
?:
SearchScreenRecordingsParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
StorageListFile
,
any
,
{}
>
>
;
searchScreenRecordingsByAgent
:
(
agentId
:
string
,
params
?:
SearchScreenRecordingsByAgentParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
StorageListFile
,
any
,
{}
>
>
;
}
Parameters
axiosInstance
:
AxiosInstance
= axios
Returns
{
deleteFiles
:
(
storageDeleteFilesRequest
:
StorageDeleteFilesRequest
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
StorageDeleteFilesResponse
,
any
,
{}
>
>
;
deleteQuarantineFiles
:
(
storageDeleteQuarantineFilesRequest
:
StorageDeleteQuarantineFilesRequest
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
StorageDeleteFilesResponse
,
any
,
{}
>
>
;
deleteScreenRecordings
:
(
userId
:
string
,
id
:
string
[]
,
storageFileServiceDeleteScreenRecordingsBody
:
StorageFileServiceDeleteScreenRecordingsBody
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
StorageDeleteFilesResponse
,
any
,
{}
>
>
;
deleteScreenRecordingsByAgent
:
(
agentId
:
string
,
id
:
string
[]
,
storageFileServiceDeleteScreenRecordingsByAgentBody
:
StorageFileServiceDeleteScreenRecordingsByAgentBody
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
StorageDeleteFilesResponse
,
any
,
{}
>
>
;
restoreFiles
:
(
storageRestoreFilesRequest
:
StorageRestoreFilesRequest
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
StorageRestoreFilesResponse
,
any
,
{}
>
>
;
searchFiles
:
(
params
?:
SearchFilesParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
StorageListFile
,
any
,
{}
>
>
;
searchFilesByCall
:
(
callId
:
string
,
params
?:
SearchFilesByCallParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
StorageListFile
,
any
,
{}
>
>
;
searchScreenRecordings
:
(
userId
:
string
,
params
?:
SearchScreenRecordingsParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
StorageListFile
,
any
,
{}
>
>
;
searchScreenRecordingsByAgent
:
(
agentId
:
string
,
params
?:
SearchScreenRecordingsByAgentParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
StorageListFile
,
any
,
{}
>
>
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@webitel/api-services
Loading...