import { Action } from 'redux'; import { DEEP_LINKING } from './actionsTypes'; interface IParams { path: string; rid: string; messageId: string; host: string; fullURL: string; type: string; token: string; } interface IDeepLinkingOpen extends Action { params: Partial; } export function deepLinkingOpen(params: Partial): IDeepLinkingOpen { return { type: DEEP_LINKING.OPEN, params }; } export function deepLinkingClickCallPush(params: any): IDeepLinkingOpen { return { type: DEEP_LINKING.OPEN_VIDEO_CONF, params }; }