EventApiClientInterface
Methods
changeEventCover()
changeEventCover(
id
,data
,config
?):Promise
<SCEventType
>
Parameters
Parameter | Type |
---|---|
id | string | number |
data | FormData |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCEventType
>
Source
createEvent()
createEvent(
data
,config
?):Promise
<SCEventType
>
Parameters
Parameter | Type |
---|---|
data | EventCreateParams | FormData |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCEventType
>
Source
deleteEvent()
deleteEvent(
id
,config
?):Promise
<any
>
Parameters
Parameter | Type |
---|---|
id | string | number |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<any
>
Source
getEventFeed()
getEventFeed(
id
,params
?,config
?):Promise
<any
>
Parameters
Parameter | Type |
---|---|
id | string | number |
params ? | EventFeedParams |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<any
>
Source
getEventInvitedUsers()
getEventInvitedUsers(
id
,params
?,config
?):Promise
<SCPaginatedResponse
<SCUserType
>>
Parameters
Parameter | Type |
---|---|
id | string | number |
params ? | BaseGetParams |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCPaginatedResponse
<SCUserType
>>
Source
getEventMembers()
getEventMembers(
id
,params
?,config
?):Promise
<SCPaginatedResponse
<SCUserType
>>
Parameters
Parameter | Type |
---|---|
id | string | number |
params ? | BaseGetParams |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCPaginatedResponse
<SCUserType
>>
Source
getEventRelated()
getEventRelated(
id
,params
?,config
?):Promise
<any
>
Parameters
Parameter | Type |
---|---|
id | string | number |
params ? | EventRelatedParams |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<any
>
Source
getEventSubscriptionStatus()
getEventSubscriptionStatus(
id
,config
?):Promise
<any
>
Parameters
Parameter | Type |
---|---|
id | string | number |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<any
>
Source
getEventSuggestedUsers()
getEventSuggestedUsers(
id
,search
,config
?):Promise
<SCPaginatedResponse
<SCUserType
>>
Parameters
Parameter | Type |
---|---|
id | string | number |
search | string |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCPaginatedResponse
<SCUserType
>>
Source
getEventWaitingApprovalSubscribers()
getEventWaitingApprovalSubscribers(
id
,params
?,config
?):Promise
<SCPaginatedResponse
<SCUserType
>>
Parameters
Parameter | Type |
---|---|
id | string | number |
params ? | BaseGetParams |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCPaginatedResponse
<SCUserType
>>
Source
getEventsSuggestedUsers()
getEventsSuggestedUsers(
search
,config
?):Promise
<SCPaginatedResponse
<SCUserType
>>
Parameters
Parameter | Type |
---|---|
search | string |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCPaginatedResponse
<SCUserType
>>
Source
getSpecificEventInfo()
getSpecificEventInfo(
id
,config
?):Promise
<SCEventType
>
Parameters
Parameter | Type |
---|---|
id | string | number |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCEventType
>
Source
getUserCreatedEvents()
getUserCreatedEvents(
params
?,config
?):Promise
<SCPaginatedResponse
<SCEventType
>>
Parameters
Parameter | Type |
---|---|
params ? | EventRelatedParams |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCPaginatedResponse
<SCEventType
>>
Source
getUserEvents()
getUserEvents(
params
?,config
?):Promise
<SCPaginatedResponse
<SCEventType
>>
Parameters
Parameter | Type |
---|---|
params ? | EventUserParams |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCPaginatedResponse
<SCEventType
>>
Source
getUserSubscribedEvents()
getUserSubscribedEvents(
id
,params
?,config
?):Promise
<SCPaginatedResponse
<SCEventType
>>
Parameters
Parameter | Type |
---|---|
id | string | number |
params ? | BaseSearchParams |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCPaginatedResponse
<SCEventType
>>
Source
getUsersGoingToEvent()
getUsersGoingToEvent(
id
,config
?):Promise
<SCPaginatedResponse
<SCUserType
>>
Parameters
Parameter | Type |
---|---|
id | string | number |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCPaginatedResponse
<SCUserType
>>
Source
getUsersNotGoingToEvent()
getUsersNotGoingToEvent(
id
,config
?):Promise
<SCPaginatedResponse
<SCUserType
>>
Parameters
Parameter | Type |
---|---|
id | string | number |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCPaginatedResponse
<SCUserType
>>
Source
goToEvent()
goToEvent(
id
,config
?):Promise
<any
>
Parameters
Parameter | Type |
---|---|
id | string | number |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<any
>
Source
hideEvent()
hideEvent(
id
,config
?):Promise
<any
>
Parameters
Parameter | Type |
---|---|
id | string | number |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<any
>
Source
inviteOrAcceptEventRequest()
inviteOrAcceptEventRequest(
id
,data
,config
?):Promise
<any
>
Parameters
Parameter | Type |
---|---|
id | string | number |
data | object |
data.users | number [] |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<any
>
Source
notGoingToEvent()
notGoingToEvent(
id
,config
?):Promise
<any
>
Parameters
Parameter | Type |
---|---|
id | string | number |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<any
>
Source
patchEvent()
patchEvent(
id
,data
,config
?):Promise
<SCEventType
>
Parameters
Parameter | Type |
---|---|
id | string | number |
data | SCEventType |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCEventType
>
Source
removeGoingToEvent()
removeGoingToEvent(
id
,config
?):Promise
<any
>
Parameters
Parameter | Type |
---|---|
id | string | number |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<any
>
Source
removeInviteEvent()
removeInviteEvent(
id
,data
,config
?):Promise
<any
>
Parameters
Parameter | Type |
---|---|
id | string | number |
data | object |
data.users | number [] |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<any
>
Source
removeNotGoingToEvent()
removeNotGoingToEvent(
id
,config
?):Promise
<any
>
Parameters
Parameter | Type |
---|---|
id | string | number |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<any
>
Source
searchEvents()
searchEvents(
params
?,config
?):Promise
<SCPaginatedResponse
<SCEventType
>>
Parameters
Parameter | Type |
---|---|
params ? | EventSearchParams |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCPaginatedResponse
<SCEventType
>>
Source
showEvent()
showEvent(
id
,config
?):Promise
<any
>
Parameters
Parameter | Type |
---|---|
id | string | number |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<any
>
Source
subscribeToEvent()
subscribeToEvent(
id
,config
?):Promise
<any
>
Parameters
Parameter | Type |
---|---|
id | string | number |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<any
>
Source
unsubscribeFromEvent()
unsubscribeFromEvent(
id
,config
?):Promise
<any
>
Parameters
Parameter | Type |
---|---|
id | string | number |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<any
>
Source
updateEvent()
updateEvent(
id
,data
,config
?):Promise
<SCEventType
>
Parameters
Parameter | Type |
---|---|
id | string | number |
data | SCEventType |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCEventType
>