package notifications

import (
	"github.com/tech/sendico/pkg/db/account"
	macp "github.com/tech/sendico/pkg/messaging/internal/notifications/account"
	mah "github.com/tech/sendico/pkg/messaging/notifications/account/handler"
	np "github.com/tech/sendico/pkg/messaging/notifications/processor"
	"github.com/tech/sendico/pkg/mlogger"
	nm "github.com/tech/sendico/pkg/model/notification"
)

func NewAccountCreatedMessageProcessor(logger mlogger.Logger, db account.DB, handler mah.AccountHandler) np.EnvelopeProcessor {
	return macp.NewAccountMessageProcessor(logger, handler, db, nm.NACreated)
}
