2016-05-17 18:22:18 +02:00
|
|
|
|
2016-05-31 15:59:29 +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
|
|
|
|
|
{
|
2017-01-13 16:31:40 +01:00
|
|
|
Task<MessageWithPayloadResponse> NotifyBookQueryAsync(
|
|
|
|
|
IEnumerable<string> registrationId,
|
2017-02-27 19:28:32 +01:00
|
|
|
RdvQueryEvent ev);
|
2017-01-13 16:31:40 +01:00
|
|
|
|
2017-02-27 19:28:32 +01:00
|
|
|
Task<MessageWithPayloadResponse> NotifyEstimateAsync(
|
2017-01-13 16:31:40 +01:00
|
|
|
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
|
|
|
}
|
|
|
|
|
}
|