Add RequestTrialLicense function to the plugin API (#17551)

* Add RequestTrialLicense function to the plugin API

* Fix strings IDs

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
Alejandro García Montoro
2021-05-14 10:35:59 +02:00
коммит произвёл GitHub
родитель ee43bf9a84
Коммит 0bf7aed02e
5 изменённых файлов: 96 добавлений и 0 удалений

Просмотреть файл

@@ -1066,6 +1066,11 @@ type API interface {
//
// Minimum server version: 5.36
PublishPluginClusterEvent(ev model.PluginClusterEvent, opts model.PluginClusterEventSendOptions) error
// RequestTrialLicense requests a trial license and installs it in the server
//
// Minimum server version: 5.36
RequestTrialLicense(requesterID string, users int, termsAccepted bool, receiveEmailsAccepted bool) *model.AppError
}
var handshake = plugin.HandshakeConfig{