package notifications

import (
	messaging "github.com/tech/sendico/pkg/messaging/envelope"
	an "github.com/tech/sendico/pkg/messaging/internal/notifications/account"
	nm "github.com/tech/sendico/pkg/model/notification"
	"go.mongodb.org/mongo-driver/v2/bson"
)

func Account(sender string, accountRef bson.ObjectID, action nm.NotificationAction) messaging.Envelope {
	return an.NewAccountImp(sender, accountRef, action)
}

func AccountCreated(sender string, accountRef bson.ObjectID) messaging.Envelope {
	return Account(sender, accountRef, nm.NACreated)
}
