UserApiClientInterface
Methods
addUserAvatar()
addUserAvatar(
data
,config
?):Promise
<SCAvatarType
>
Parameters
Parameter | Type |
---|---|
data | FormData |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCAvatarType
>
Source
changeUserMail()
changeUserMail(
id
,new_email
,confirm
?,send_email
?,config
?):Promise
<any
>
Parameters
Parameter | Type |
---|---|
id | string | number |
new_email | string |
confirm ? | boolean |
send_email ? | boolean |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<any
>
Source
changeUserPassword()
changeUserPassword(
id
,password
,new_password
,config
?):Promise
<any
>
Parameters
Parameter | Type |
---|---|
id | string | number |
password | string |
new_password | string |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<any
>
Source
checkUserConnections()
checkUserConnections(
id
,config
?):Promise
<SCUserConnectionStatusType
>
Parameters
Parameter | Type |
---|---|
id | string | number |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCUserConnectionStatusType
>
Source
checkUserEmailToken()
checkUserEmailToken(
id
,email_token
,config
?):Promise
<SCUserEmailTokenType
>
Parameters
Parameter | Type |
---|---|
id | string | number |
email_token | string |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCUserEmailTokenType
>
Source
checkUserFollowed()
checkUserFollowed(
id
,config
?):Promise
<SCUserFollowedStatusType
>
Parameters
Parameter | Type |
---|---|
id | string | number |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCUserFollowedStatusType
>
Source
checkUserFollower()
checkUserFollower(
id
,config
?):Promise
<SCUserFollowerStatusType
>
Parameters
Parameter | Type |
---|---|
id | string | number |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCUserFollowerStatusType
>
Source
checkUserHidden()
checkUserHidden(
id
,config
?):Promise
<SCUserHiddenStatusType
>
Parameters
Parameter | Type |
---|---|
id | string | number |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCUserHiddenStatusType
>
Source
checkUserHiddenBy()
checkUserHiddenBy(
id
,config
?):Promise
<SCUserHiddenByStatusType
>
Parameters
Parameter | Type |
---|---|
id | string | number |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCUserHiddenByStatusType
>
Source
confirmChangeUserMail()
confirmChangeUserMail(
id
,new_email
,validation_code
?,config
?):Promise
<any
>
Parameters
Parameter | Type |
---|---|
id | string | number |
new_email | string |
validation_code ? | string |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<any
>
Source
createProviderAssociation()
createProviderAssociation(
data
,config
?):Promise
<SCUserProviderAssociationType
>
Parameters
Parameter | Type |
---|---|
data | SCUserProviderAssociationType |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCUserProviderAssociationType
>
Source
deleteProviderAssociation()
deleteProviderAssociation(
data
,config
?):Promise
<any
>
Parameters
Parameter | Type |
---|---|
data | DeleteProviderAssociation |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<any
>
Source
followUser()
followUser(
id
,config
?):Promise
<any
>
Parameters
Parameter | Type |
---|---|
id | string | number |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<any
>
Source
getAllUsers()
getAllUsers(
params
?,config
?):Promise
<SCPaginatedResponse
<SCUserType
>>
Parameters
Parameter | Type |
---|---|
params ? | any |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCPaginatedResponse
<SCUserType
>>
Source
getCurrentUser()
getCurrentUser(
config
?):Promise
<SCUserType
>
Parameters
Parameter | Type |
---|---|
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCUserType
>
Source
getCurrentUserAvatar()
getCurrentUserAvatar(
config
?):Promise
<SCUserAvatarType
>
Parameters
Parameter | Type |
---|---|
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCUserAvatarType
>
Source
getCurrentUserPermission()
getCurrentUserPermission(
config
?):Promise
<SCUserPermissionType
>
Parameters
Parameter | Type |
---|---|
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCUserPermissionType
>
Source
getCurrentUserPlatform()
getCurrentUserPlatform(
next
?,config
?):Promise
<SCPlatformType
>
Parameters
Parameter | Type |
---|---|
next ? | string |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCPlatformType
>
Source
getHiddenUsers()
getHiddenUsers(
params
?,config
?):Promise
<SCPaginatedResponse
<SCUserType
>>
Parameters
Parameter | Type |
---|---|
params ? | any |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCPaginatedResponse
<SCUserType
>>
Source
getHiddenUsersId()
getHiddenUsersId(
params
?,config
?):Promise
<number
[]>
Parameters
Parameter | Type |
---|---|
params ? | any |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<number
[]>
Source
getProviderAssociations()
getProviderAssociations(
userId
,config
?):Promise
<SCUserProviderAssociationType
[]>
Parameters
Parameter | Type |
---|---|
userId | string | number |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCUserProviderAssociationType
[]>
Source
getSpecificUser()
getSpecificUser(
id
,config
?):Promise
<SCUserType
>
Parameters
Parameter | Type |
---|---|
id | string | number |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCUserType
>
Source
getUserAvatars()
getUserAvatars(
config
?):Promise
<SCPaginatedResponse
<SCAvatarType
>>
Parameters
Parameter | Type |
---|---|
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCPaginatedResponse
<SCAvatarType
>>
Source
getUserConnectionRequests()
getUserConnectionRequests(
params
?,config
?):Promise
<SCPaginatedResponse
<SCUserConnectionRequestType
>>
Parameters
Parameter | Type |
---|---|
params ? | BaseGetParams |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCPaginatedResponse
<SCUserConnectionRequestType
>>
Source
getUserConnectionStatuses()
getUserConnectionStatuses(
users
,config
?):Promise
<any
>
Parameters
Parameter | Type |
---|---|
users | number [] |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<any
>
Source
getUserConnections()
getUserConnections(
id
,params
?,config
?):Promise
<SCPaginatedResponse
<SCUserType
>>
Parameters
Parameter | Type |
---|---|
id | string | number |
params ? | UserGetParams |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCPaginatedResponse
<SCUserType
>>
Source
getUserCounters()
getUserCounters(
id
,config
?):Promise
<SCUserCounterType
>
Parameters
Parameter | Type |
---|---|
id | string | number |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCUserCounterType
>
Source
getUserFeed()
getUserFeed(
id
,params
?,config
?):Promise
<SCPaginatedResponse
<SCFeedUnitType
>>
Parameters
Parameter | Type |
---|---|
id | string | number |
params ? | BaseGetParams |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCPaginatedResponse
<SCFeedUnitType
>>
Source
getUserFollowedCategories()
getUserFollowedCategories(
id
,mutual
?,config
?):Promise
<SCCategoryType
[]>
Parameters
Parameter | Type |
---|---|
id | string | number |
mutual ? | number |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCCategoryType
[]>
Source
getUserFollowers()
getUserFollowers(
id
,mutual
?,params
?,config
?):Promise
<SCPaginatedResponse
<SCUserType
>>
Parameters
Parameter | Type |
---|---|
id | string | number |
mutual ? | number |
params ? | BaseGetParams |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCPaginatedResponse
<SCUserType
>>
Source
getUserFollowings()
getUserFollowings(
id
,mutual
?,params
?,config
?):Promise
<SCPaginatedResponse
<SCUserType
>>
Parameters
Parameter | Type |
---|---|
id | string | number |
mutual ? | number |
params ? | BaseGetParams |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCPaginatedResponse
<SCUserType
>>
Source
getUserLoyaltyPoints()
getUserLoyaltyPoints(
id
,config
?):Promise
<SCUserLoyaltyPointsType
>
Parameters
Parameter | Type |
---|---|
id | string | number |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCUserLoyaltyPointsType
>
Source
getUserRequestConnectionsSent()
getUserRequestConnectionsSent(
params
?,config
?):Promise
<SCPaginatedResponse
<SCUserConnectionRequestType
>>
Parameters
Parameter | Type |
---|---|
params ? | BaseGetParams |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCPaginatedResponse
<SCUserConnectionRequestType
>>
Source
removeUserAvatar()
removeUserAvatar(
avatar_id
,config
?):Promise
<any
>
Parameters
Parameter | Type |
---|---|
avatar_id | string | number |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<any
>
Source
setUserPrimaryAvatar()
setUserPrimaryAvatar(
avatar_id
,config
?):Promise
<any
>
Parameters
Parameter | Type |
---|---|
avatar_id | string | number |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<any
>
Source
showHideUser()
showHideUser(
id
,config
?):Promise
<any
>
Parameters
Parameter | Type |
---|---|
id | string | number |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<any
>
Source
userAcceptRequestConnection()
userAcceptRequestConnection(
id
,config
?):Promise
<any
>
Parameters
Parameter | Type |
---|---|
id | string | number |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<any
>
Source
userAutocomplete()
userAutocomplete(
params
,config
?):Promise
<SCPaginatedResponse
<SCUserAutocompleteType
>>
Parameters
Parameter | Type |
---|---|
params | UserAutocompleteParams |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCPaginatedResponse
<SCUserAutocompleteType
>>
Source
userCancelRejectConnectionRequest()
userCancelRejectConnectionRequest(
id
,config
?):Promise
<any
>
Parameters
Parameter | Type |
---|---|
id | string | number |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<any
>
Source
userCancelRequestConnection()
userCancelRequestConnection(
id
,config
?):Promise
<any
>
Parameters
Parameter | Type |
---|---|
id | string | number |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<any
>
Source
userDelete()
userDelete(
id
,hard
?,config
?):Promise
<any
>
Parameters
Parameter | Type |
---|---|
id | string | number |
hard ? | number |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<any
>
Source
userMarkSeenConnectionRequest()
userMarkSeenConnectionRequest(
id
,config
?):Promise
<any
>
Parameters
Parameter | Type |
---|---|
id | string | number |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<any
>
Source
userPatch()
userPatch(
id
,data
?,config
?):Promise
<SCUserType
>
Parameters
Parameter | Type |
---|---|
id | string | number |
data ? | SCUserType |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCUserType
>
Source
userRejectConnectionRequest()
userRejectConnectionRequest(
id
,config
?):Promise
<any
>
Parameters
Parameter | Type |
---|---|
id | string | number |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<any
>
Source
userRemoveConnection()
userRemoveConnection(
id
,config
?):Promise
<any
>
Parameters
Parameter | Type |
---|---|
id | string | number |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<any
>
Source
userRequestConnection()
userRequestConnection(
id
,config
?):Promise
<any
>
Parameters
Parameter | Type |
---|---|
id | string | number |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<any
>
Source
userSearch()
userSearch(
params
,config
?):Promise
<SCPaginatedResponse
<SCUserType
>>
Parameters
Parameter | Type |
---|---|
params | UserSearchParams |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCPaginatedResponse
<SCUserType
>>
Source
userSettings()
userSettings(
id
,config
?):Promise
<SCUserSettingsType
>
Parameters
Parameter | Type |
---|---|
id | string | number |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCUserSettingsType
>
Source
userSettingsPatch()
userSettingsPatch(
id
,data
?,config
?):Promise
<SCUserSettingsType
>
Parameters
Parameter | Type |
---|---|
id | string | number |
data ? | SCUserSettingsType |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCUserSettingsType
>
Source
userTagToAddressContribution()
userTagToAddressContribution(
config
?):Promise
<SCTagType
>
Parameters
Parameter | Type |
---|---|
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCTagType
>
Source
userUpdate()
userUpdate(
id
,data
?,config
?):Promise
<SCUserType
>
Parameters
Parameter | Type |
---|---|
id | string | number |
data ? | SCUserType |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCUserType
>