Methods
Static
acceptInvite
- acceptInvite<T>(team_id, token): AxiosPromise<default<T>>
Parameters
team_id: string
token: string
Returns AxiosPromise<default<T>>
promise
Static
addUser
- addUser<T>(team_id, data?): AxiosPromise<default<T>>
Parameters
team_id: string
Optional
data: object
Returns AxiosPromise<default<T>>
promise
Static
create
- create<T>(data, params?): AxiosPromise<default<T>>
Parameters
data: object
Optional
params: Record<string, any>
Returns AxiosPromise<default<T>>
Promise
Static
delete
- delete<T>(team_id, params?): AxiosPromise<default<T>>
Parameters
team_id: string
Optional
params: Record<string, any>
Returns AxiosPromise<default<T>>
promise
Static
getUser
- getUser<T>(team_id, user_id): AxiosPromise<default<T>>
Parameters
team_id: string
user_id: string
Returns AxiosPromise<default<T>>
promise
Static
list
- list<T>(params?): AxiosPromise<default<T>>
Parameters
Optional
params: Record<string, any>
Returns AxiosPromise<default<T>>
promise
Static
listInvites
- listInvites<T>(team_id, params?): AxiosPromise<default<T>>
Parameters
team_id: string
Optional
params: Record<string, any>
Returns AxiosPromise<default<T>>
promise
Static
listUsers
- listUsers<T>(team_id, params?): AxiosPromise<default<T>>
Parameters
team_id: string
Optional
params: Record<string, any>
Returns AxiosPromise<default<T>>
promise
Static
removetUser
- removetUser<T>(team_id, user_id): AxiosPromise<default<T>>
Parameters
team_id: string
user_id: string
Returns AxiosPromise<default<T>>
promise
Static
sendInvite
- sendInvite<T>(team_id, data?): AxiosPromise<default<T>>
Parameters
team_id: string
Optional
data: object
Returns AxiosPromise<default<T>>
promise
Static
update
- update<T>(team_id, data, params?): AxiosPromise<default<T>>
Parameters
team_id: string
data: object
Optional
params: Record<string, any>
Returns AxiosPromise<default<T>>
promise
Static
updatetUser
- updatetUser<T>(team_id, user_id, data?): AxiosPromise<default<T>>
Parameters
team_id: string
user_id: string
Optional
data: object
Returns AxiosPromise<default<T>>
promise
Static
uploadBannerImageBlob
- uploadBannerImageBlob<T>(team_id, blob, data?): AxiosPromise<default<T>>
Parameters
team_id: string
blob: Blob
Optional
data: object
Returns AxiosPromise<default<T>>
promise
Static
uploadBannerImageFile
- uploadBannerImageFile<T>(team_id, file, data?): AxiosPromise<default<T>>
Parameters
team_id: string
file: File
Optional
data: object
Returns AxiosPromise<default<T>>
promise
Static
uploadMainImageBlob
- uploadMainImageBlob<T>(team_id, blob, data?): AxiosPromise<default<T>>
Parameters
team_id: string
blob: Blob
Optional
data: object
Returns AxiosPromise<default<T>>
promise
Static
uploadMainImageFile
- uploadMainImageFile<T>(team_id, file, data?): AxiosPromise<default<T>>
Parameters
team_id: string
file: File
Optional
data: object
Returns AxiosPromise<default<T>>
promise
Static
view
- view<T>(team_id, params?): AxiosPromise<default<T>>
Parameters
team_id: string
Optional
params: Record<string, any>
Returns AxiosPromise<default<T>>
promise
Accept an invite to a team. The JSON Web Token (JWT) must be related to the token.