mirror of
https://github.com/andwati/zitadel.git
synced 2026-12-02 08:58:52 +00:00
feat: Default configs sms provider (#3187)
* feat: sms config * feat: twilio as sms provider * feat:sms projection * feat: sms queries * feat: sms queries test * feat: sms configs * feat: sms configs sql file * fix merge * fix: rename from to sendername * fix: proto comments * fix: token as crypto * fix: tests * fix: sms config sender name to sender number * fix: sms config sender name to sender number * Update email.go * Update channel.go * Update V1.111__settings.sql Co-authored-by: Livio Amstutz <[email protected]>
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package domain
|
||||
|
||||
type SMSConfigState int32
|
||||
|
||||
const (
|
||||
SMSConfigStateUnspecified SMSConfigState = iota
|
||||
SMSConfigStateActive
|
||||
SMSConfigStateInactive
|
||||
SMSConfigStateRemoved
|
||||
)
|
||||
|
||||
func (s SMSConfigState) Exists() bool {
|
||||
return s != SMSConfigStateUnspecified && s != SMSConfigStateRemoved
|
||||
}
|
||||
Reference in New Issue
Block a user