UNPKG

@benshi.ai/js-sdk

Version:

Benshi SDK

32 lines (30 loc) 634 B
export enum SocialTypes { Profile = "profile", ProfileList = "profile_list" } export enum ProfileType { User = 'user', Organization = 'organization' } export enum ProfileAction { View = "view", Follow = "follow", Unfollow = "unfollow", Peek = "peek", Share = "share" } export interface ProfileProperties { type: ProfileType, action: ProfileAction, profile_id: string, share_via?: string, meta?: any } export enum ProfileListType { Followers = 'followers', Followings = 'followings' } export interface ProfileListProperties { type: ProfileListType, meta?: any }