Completed api_interfaces.go with missing interfaces

This commit is contained in:
andronache
2021-01-12 18:34:46 +02:00
committed by Dan Christian Bogos
parent 23dfeb9633
commit 0f71856262
2 changed files with 20 additions and 0 deletions

View File

@@ -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
}

View File

@@ -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))
}