import {IAction} from '@dezrez/core'; import {Dezrez} from '@dezrez/typings-rezi'; import Negotiator = Dezrez.Core.DataContracts.External.Api.Negotiators.Query.Get.NegotiatorDataContract; export const ActionTypes = { GET : 'Get Negotiator Me', STORE_ME : 'Store Get Negotiator Me' }; export class NegotiatorActions { public static store(negotiator: Negotiator): IAction { return { payload: negotiator, type: ActionTypes.STORE_ME }; } public static get(): IAction { return { payload: null, type: ActionTypes.GET }; } }