Add initial work for backgrounding mailer job

This commit is contained in:
Eli Ribble 2026-04-16 17:15:20 +00:00
parent b6d1bd9ee2
commit 81e057b900
No known key found for this signature in database
4 changed files with 15 additions and 1 deletions

View file

@ -1234,6 +1234,7 @@ const (
JobtypeEmailSend Jobtype = "email-send"
JobtypeTextRespond Jobtype = "text-respond"
JobtypeTextSend Jobtype = "text-send"
JobtypeComplianceMailerSend Jobtype = "compliance-mailer-send"
)
func AllJobtype() []Jobtype {
@ -1245,6 +1246,7 @@ func AllJobtype() []Jobtype {
JobtypeEmailSend,
JobtypeTextRespond,
JobtypeTextSend,
JobtypeComplianceMailerSend,
}
}
@ -1262,7 +1264,8 @@ func (e Jobtype) Valid() bool {
JobtypeLabelStudioAudioCreate,
JobtypeEmailSend,
JobtypeTextRespond,
JobtypeTextSend:
JobtypeTextSend,
JobtypeComplianceMailerSend:
return true
default:
return false