@webitel/api-services
Preparing search index...
phones/phones
getPhones
Function getPhones
getPhones
(
axiosInstance
?:
AxiosInstance
,
)
:
{
deletePhone
:
(
contactId
:
string
,
etag
:
string
,
params
?:
DeletePhoneParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
ContactsPhoneNumber
,
any
,
{}
>
>
;
deletePhones
:
(
contactId
:
string
,
params
:
DeletePhonesParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
ContactsPhoneList
,
any
,
{}
>
>
;
listPhones
:
(
contactId
:
string
,
params
?:
ListPhonesParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
ContactsPhoneList
,
any
,
{}
>
>
;
locatePhone
:
(
contactId
:
string
,
etag
:
string
,
params
?:
LocatePhoneParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
ContactsPhoneNumber
,
any
,
{}
>
>
;
mergePhones
:
(
contactId
:
string
,
contactsInputPhoneNumber
:
ContactsInputPhoneNumber
[]
,
params
?:
MergePhonesParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
ContactsPhoneList
,
any
,
{}
>
>
;
resetPhones
:
(
contactId
:
string
,
contactsInputPhoneNumber
:
ContactsInputPhoneNumber
[]
,
params
?:
ResetPhonesParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
ContactsPhoneList
,
any
,
{}
>
>
;
updatePhone
:
(
contactId
:
string
,
etag
:
string
,
updatePhoneBody
:
UpdatePhoneBody
,
params
?:
UpdatePhoneParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
ContactsPhoneList
,
any
,
{}
>
>
;
updatePhone2
:
(
contactId
:
string
,
etag
:
string
,
updatePhone2Body
:
UpdatePhone2Body
,
params
?:
UpdatePhone2Params
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
ContactsPhoneList
,
any
,
{}
>
>
;
}
Parameters
axiosInstance
:
AxiosInstance
= axios
Returns
{
deletePhone
:
(
contactId
:
string
,
etag
:
string
,
params
?:
DeletePhoneParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
ContactsPhoneNumber
,
any
,
{}
>
>
;
deletePhones
:
(
contactId
:
string
,
params
:
DeletePhonesParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
ContactsPhoneList
,
any
,
{}
>
>
;
listPhones
:
(
contactId
:
string
,
params
?:
ListPhonesParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
ContactsPhoneList
,
any
,
{}
>
>
;
locatePhone
:
(
contactId
:
string
,
etag
:
string
,
params
?:
LocatePhoneParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
ContactsPhoneNumber
,
any
,
{}
>
>
;
mergePhones
:
(
contactId
:
string
,
contactsInputPhoneNumber
:
ContactsInputPhoneNumber
[]
,
params
?:
MergePhonesParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
ContactsPhoneList
,
any
,
{}
>
>
;
resetPhones
:
(
contactId
:
string
,
contactsInputPhoneNumber
:
ContactsInputPhoneNumber
[]
,
params
?:
ResetPhonesParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
ContactsPhoneList
,
any
,
{}
>
>
;
updatePhone
:
(
contactId
:
string
,
etag
:
string
,
updatePhoneBody
:
UpdatePhoneBody
,
params
?:
UpdatePhoneParams
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
ContactsPhoneList
,
any
,
{}
>
>
;
updatePhone2
:
(
contactId
:
string
,
etag
:
string
,
updatePhone2Body
:
UpdatePhone2Body
,
params
?:
UpdatePhone2Params
,
options
?:
AxiosRequestConfig
,
)
=>
Promise
<
AxiosResponse
<
ContactsPhoneList
,
any
,
{}
>
>
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@webitel/api-services
Loading...