export interface TActivityTarget { author?: any; desc?: any; id: string; image?: any; name?: any; type: 'discussion' | 'blog' | 'doc' | 'bookmark' | 'comment' | 'user'; utm?: TUTM; } export type TChannelEvent = string; export interface TDataAsset { chainHost: string; did: unknown; utm?: TUTM; } export interface TDataDapp { appDID: unknown; desc?: string; logo: string; title: string; url: string; utm?: TUTM; } export interface TDataImage { alt?: string; url: string; utm?: TUTM; } export interface TDataLink { description?: string; image?: string; title?: string; url: string; utm?: TUTM; } export interface TDataText { color?: string; size?: 'small' | 'normal' | 'big'; text: string; type: string; } export interface TDataToken { address?: unknown; amount: string; chainHost: string; decimal: number; senderDid: unknown; symbol: string; utm?: TUTM; } export interface TDataTransaction { chainId: string; hash: string; } export interface TDataVC { credential: { /** * Unknown Property */ [x: string]: unknown; }; tag?: string; } export interface TMessage { /** * Any Property */ [x: string]: any; createdAt: Date; id: string; receiver: { did: unknown; }; type: string; } export interface TNotification { actions?: TNotificationAction[]; activity?: TNotificationActivity; appInfo?: object; attachments?: TNotificationAttachment[]; blocks?: TNotificationAttachment[]; body?: string; checkUrl?: string; data?: object; feedType?: string; id?: string; passthroughType?: string; poweredBy?: object; severity?: 'normal' | 'success' | 'error' | 'warning'; source?: string; title?: string; type?: 'notification' | 'connect' | 'feed' | 'hi' | 'passthrough'; url?: string; utm?: TUTM; } export interface TNotificationAction { bgColor?: string; color?: string; link?: string; name: string; title?: string; utm?: TUTM; } export interface TNotificationActivity { actor: unknown; meta?: any; target: TActivityTarget; type: 'comment' | 'like' | 'follow' | 'tips' | 'mention' | 'assign' | 'un_assign'; } export interface TNotificationAttachment { data?: any; fields?: any; type: 'asset' | 'vc' | 'token' | 'text' | 'image' | 'divider' | 'transaction' | 'dapp' | 'link' | 'section'; } export interface TNotificationConnect { checkUrl?: string; type?: 'connect'; url: string; utm?: TUTM; } export interface TNotificationFeed { data: object; feedType: string; type?: 'feed'; } export type TNotificationInput = TNotification[]; export interface TNotificationItem { actions?: TNotificationAction[]; attachments?: TNotificationAttachment[]; blocks?: TNotificationAttachment[]; body?: string; severity?: 'normal' | 'success' | 'error' | 'warning'; title?: string; type?: 'notification'; } export interface TSendOptions { /** * Any Property */ [x: string]: any; allowUnsubscribe?: boolean; channels?: ('app' | 'email' | 'push' | 'webhook')[]; keepForOfflineUser?: boolean; locale?: string; ttl?: number; } export interface TUTM { campaign?: string; content?: string; medium?: string; source?: string; }