UNPKG

baasic-sdk-nodejs

Version:

NodeJS SDK provides core functionality for building web and mobile applications on [Baasic](http://www.baasic.com/).

10 lines (9 loc) 591 B
import { IGetRequestOptions, IHttpResponse } from '../../../../infrastructure/common/contracts'; import { IProfileAvatar, IUserProfileAvatarStreamsClient } from '../'; export interface IUserProfileAvatarClient { get(id: string, options?: IGetRequestOptions): PromiseLike<IHttpResponse<IProfileAvatar>>; update(data: IProfileAvatar): PromiseLike<IHttpResponse<void>>; link(id: string, data: IProfileAvatar): PromiseLike<IHttpResponse<any>>; unlink(data: IProfileAvatar, options?: any): PromiseLike<IHttpResponse<any>>; streams: IUserProfileAvatarStreamsClient; }