@webitel/api-services
Preparing search index...
photos/photos
getPhotos
Function getPhotos
getPhotos
(
axiosInstance
?:
AxiosInstance
,
)
:
{
createPhotos
:
(
contactId
:
string
,
contactsInputPhoto
:
ContactsInputPhoto
[]
,
params
?:
CreatePhotosParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
ContactsPhotoList
,
any
,
{}
>
>
;
deletePhoto
:
(
contactId
:
string
,
etag
:
string
,
params
?:
DeletePhotoParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
ContactsPhoto
,
any
,
{}
>
>
;
deletePhotos
:
(
contactId
:
string
,
params
:
DeletePhotosParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
ContactsPhotoList
,
any
,
{}
>
>
;
locatePhoto
:
(
contactId
:
string
,
id
:
string
,
params
?:
LocatePhotoParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
ContactsPhoto
,
any
,
{}
>
>
;
searchPhotos
:
(
contactId
:
string
,
params
?:
SearchPhotosParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
ContactsPhotoList
,
any
,
{}
>
>
;
updatePhoto
:
(
contactId
:
string
,
etag
:
string
,
updatePhotoBody
:
UpdatePhotoBody
,
params
?:
UpdatePhotoParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
ContactsPhoto
,
any
,
{}
>
>
;
updatePhoto2
:
(
contactId
:
string
,
etag
:
string
,
updatePhoto2Body
:
UpdatePhoto2Body
,
params
?:
UpdatePhoto2Params
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
ContactsPhoto
,
any
,
{}
>
>
;
updatePhotos
:
(
contactId
:
string
,
contactsInputPhoto
:
ContactsInputPhoto
[]
,
params
?:
UpdatePhotosParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
ContactsPhotoList
,
any
,
{}
>
>
;
}
Parameters
axiosInstance
:
AxiosInstance
= axios
Returns
{
createPhotos
:
(
contactId
:
string
,
contactsInputPhoto
:
ContactsInputPhoto
[]
,
params
?:
CreatePhotosParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
ContactsPhotoList
,
any
,
{}
>
>
;
deletePhoto
:
(
contactId
:
string
,
etag
:
string
,
params
?:
DeletePhotoParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
ContactsPhoto
,
any
,
{}
>
>
;
deletePhotos
:
(
contactId
:
string
,
params
:
DeletePhotosParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
ContactsPhotoList
,
any
,
{}
>
>
;
locatePhoto
:
(
contactId
:
string
,
id
:
string
,
params
?:
LocatePhotoParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
ContactsPhoto
,
any
,
{}
>
>
;
searchPhotos
:
(
contactId
:
string
,
params
?:
SearchPhotosParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
ContactsPhotoList
,
any
,
{}
>
>
;
updatePhoto
:
(
contactId
:
string
,
etag
:
string
,
updatePhotoBody
:
UpdatePhotoBody
,
params
?:
UpdatePhotoParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
ContactsPhoto
,
any
,
{}
>
>
;
updatePhoto2
:
(
contactId
:
string
,
etag
:
string
,
updatePhoto2Body
:
UpdatePhoto2Body
,
params
?:
UpdatePhoto2Params
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
ContactsPhoto
,
any
,
{}
>
>
;
updatePhotos
:
(
contactId
:
string
,
contactsInputPhoto
:
ContactsInputPhoto
[]
,
params
?:
UpdatePhotosParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
ContactsPhotoList
,
any
,
{}
>
>
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@webitel/api-services
Loading...