yavsc/Yavsc.Server/Interfaces/IGoogleCloudMessageSender.cs

28 lines
842 B
C#
Raw Normal View History

2016-05-17 18:22:18 +02:00
using System.Collections.Generic;
2016-05-17 18:22:18 +02:00
using System.Threading.Tasks;
2018-02-03 20:17:29 +01:00
using Yavsc.Interfaces.Workflow;
2016-05-17 18:22:18 +02:00
using Yavsc.Models.Google.Messaging;
2017-02-27 19:28:32 +01:00
using Yavsc.Models.Haircut;
2016-05-17 18:22:18 +02:00
using Yavsc.Models.Messaging;
namespace Yavsc.Services
{
public interface IGoogleCloudMessageSender
{
Task<MessageWithPayloadResponse> NotifyBookQueryAsync(
IEnumerable<string> registrationId,
2017-02-27 19:28:32 +01:00
RdvQueryEvent ev);
2017-02-27 19:28:32 +01:00
Task<MessageWithPayloadResponse> NotifyEstimateAsync(
IEnumerable<string> registrationId,
EstimationEvent ev);
2017-02-27 19:28:32 +01:00
Task<MessageWithPayloadResponse> NotifyHairCutQueryAsync(
IEnumerable<string> registrationId,
HairCutQueryEvent ev);
2018-02-03 20:17:29 +01:00
Task<MessageWithPayloadResponse> NotifyAsync(
IEnumerable<string> regids,
IEvent yaev);
2016-05-17 18:22:18 +02:00
}
}