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>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
ee43bf9a84
Коммит
0bf7aed02e
@@ -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{
|
||||
|
||||
Ссылка в новой задаче
Block a user