diff --git a/apier/v1/api_interfaces.go b/apier/v1/api_interfaces.go index 10d64b83f..1fad73f36 100644 --- a/apier/v1/api_interfaces.go +++ b/apier/v1/api_interfaces.go @@ -278,3 +278,13 @@ type ReplicatorSv1Interface interface { SetActionProfile(args *engine.ActionProfileWithOpts, reply *string) error RemoveActionProfile(args *utils.TenantIDWithOpts, reply *string) error } + +type ActionSv1Interface interface { + ScheduleActions(args *utils.ArgActionSv1ScheduleActions, rpl *string) error + ExecuteActions(args *utils.ArgActionSv1ScheduleActions, rpl *string) error + Ping(ign *utils.CGREventWithOpts, reply *string) error +} + +type AccountSv1Interface interface { + Ping(ign *utils.CGREventWithOpts, reply *string) error +} diff --git a/apier/v1/api_interfaces_test.go b/apier/v1/api_interfaces_test.go index e3070ffae..70cd44e56 100644 --- a/apier/v1/api_interfaces_test.go +++ b/apier/v1/api_interfaces_test.go @@ -118,3 +118,13 @@ func TestRateSv1Interface(t *testing.T) { _ = RateSv1Interface(NewDispatcherRateSv1(nil)) _ = RateSv1Interface(NewRateSv1(nil)) } + +func TestAccountSv1Interface(t *testing.T) { + _ = AccountSv1Interface(NewDispatcherAccountSv1(nil)) + _ = AccountSv1Interface(NewAccountSv1(nil)) +} + +func TestActionSv1Interface(t *testing.T) { + _ = AccountSv1Interface(NewDispatcherActionSv1(nil)) + _ = AccountSv1Interface(NewActionSv1(nil)) +}