add layers, add missing model.

Этот коммит содержится в:
Conor Macpherson
2023-03-27 13:21:22 -04:00
родитель 923ae3941e
Коммит 7d152b2cd1
3 изменённых файлов: 12 добавлений и 2 удалений

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

@@ -59,3 +59,13 @@ type SelfHostedBillingAccessRequest struct {
type SelfHostedBillingAccessResponse struct {
Token string `json:"token"`
}
type SelfHostedExpansionRequest struct {
Seats int `json:"seats"`
LicenseId string `json:"license_id"`
}
type SelfHostedExpansionConfirmPaymentMethodRequest struct {
StripeSetupIntentID string `json:"stripe_setup_intent_id"`
ExpandRequest SelfHostedExpansionRequest `json:"expand_request"`
}

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

@@ -11,8 +11,8 @@ import (
"net/http"
timePkg "time"
"github.com/mattermost/mattermost-server/v6/server/channels/einterfaces"
"github.com/mattermost/mattermost-server/v6/model"
"github.com/mattermost/mattermost-server/v6/server/channels/einterfaces"
)
type apiTimerLayer struct {

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

@@ -11,8 +11,8 @@ import (
"net/http"
timePkg "time"
"github.com/mattermost/mattermost-server/v6/server/channels/einterfaces"
"github.com/mattermost/mattermost-server/v6/model"
"github.com/mattermost/mattermost-server/v6/server/channels/einterfaces"
)
type hooksTimerLayer struct {