mirror of
https://github.com/MizuchiLabs/mantrae.git
synced 2026-05-25 03:59:54 -05:00
cleanup validation logic
This commit is contained in:
@@ -103,8 +103,8 @@ func (t *TokenSource) Refresh(ctx context.Context) {
|
||||
req := connect.NewRequest(&mantraev1.HealthCheckRequest{
|
||||
MachineId: info.MachineID,
|
||||
Hostname: info.Hostname,
|
||||
PrivateIp: info.PrivateIP,
|
||||
PublicIp: info.PublicIPs.IPv4,
|
||||
PrivateIp: info.PrivateIPs.IPv4,
|
||||
})
|
||||
|
||||
resp, err := t.client.HealthCheck(ctx, req)
|
||||
|
||||
@@ -8,10 +8,10 @@ import (
|
||||
)
|
||||
|
||||
type Machine struct {
|
||||
MachineID string
|
||||
Hostname string
|
||||
PrivateIPs util.IPAddresses
|
||||
PublicIPs util.IPAddresses
|
||||
MachineID string
|
||||
Hostname string
|
||||
PrivateIP string
|
||||
PublicIPs util.IPAddresses
|
||||
}
|
||||
|
||||
// GetMachineInfo retrieves information about the local machine
|
||||
@@ -36,7 +36,7 @@ func GetMachineInfo() *Machine {
|
||||
slog.Error("Failed to get hostname", "error", err)
|
||||
}
|
||||
|
||||
result.PrivateIPs, err = util.GetPrivateIPs()
|
||||
result.PrivateIP, err = util.GetHostIPv4()
|
||||
if err != nil {
|
||||
slog.Error("Failed to get local IP", "error", err)
|
||||
}
|
||||
|
||||
@@ -31,6 +31,7 @@ require (
|
||||
golang.org/x/net v0.41.0
|
||||
golang.org/x/oauth2 v0.30.0
|
||||
google.golang.org/protobuf v1.36.6
|
||||
gopkg.in/yaml.v3 v3.0.1
|
||||
modernc.org/sqlite v1.38.0
|
||||
sigs.k8s.io/yaml v1.5.0
|
||||
)
|
||||
@@ -120,9 +121,8 @@ require (
|
||||
google.golang.org/genproto/googleapis/api v0.0.0-20250603155806-513f23925822 // indirect
|
||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20250603155806-513f23925822 // indirect
|
||||
google.golang.org/grpc v1.73.0 // indirect
|
||||
gopkg.in/yaml.v3 v3.0.1 // indirect
|
||||
gotest.tools/v3 v3.5.2 // indirect
|
||||
modernc.org/libc v1.66.1 // indirect
|
||||
modernc.org/libc v1.66.2 // indirect
|
||||
modernc.org/mathutil v1.7.1 // indirect
|
||||
modernc.org/memory v1.11.0 // indirect
|
||||
)
|
||||
|
||||
@@ -327,18 +327,18 @@ gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
|
||||
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|
||||
gotest.tools/v3 v3.5.2 h1:7koQfIKdy+I8UTetycgUqXWSDwpgv193Ka+qRsmBY8Q=
|
||||
gotest.tools/v3 v3.5.2/go.mod h1:LtdLGcnqToBH83WByAAi/wiwSFCArdFIUV/xxN4pcjA=
|
||||
modernc.org/cc/v4 v4.26.1 h1:+X5NtzVBn0KgsBCBe+xkDC7twLb/jNVj9FPgiwSQO3s=
|
||||
modernc.org/cc/v4 v4.26.1/go.mod h1:uVtb5OGqUKpoLWhqwNQo/8LwvoiEBLvZXIQ/SmO6mL0=
|
||||
modernc.org/cc/v4 v4.26.2 h1:991HMkLjJzYBIfha6ECZdjrIYz2/1ayr+FL8GN+CNzM=
|
||||
modernc.org/cc/v4 v4.26.2/go.mod h1:uVtb5OGqUKpoLWhqwNQo/8LwvoiEBLvZXIQ/SmO6mL0=
|
||||
modernc.org/ccgo/v4 v4.28.0 h1:rjznn6WWehKq7dG4JtLRKxb52Ecv8OUGah8+Z/SfpNU=
|
||||
modernc.org/ccgo/v4 v4.28.0/go.mod h1:JygV3+9AV6SmPhDasu4JgquwU81XAKLd3OKTUDNOiKE=
|
||||
modernc.org/fileutil v1.3.3 h1:3qaU+7f7xxTUmvU1pJTZiDLAIoJVdUSSauJNHg9yXoA=
|
||||
modernc.org/fileutil v1.3.3/go.mod h1:HxmghZSZVAz/LXcMNwZPA/DRrQZEVP9VX0V4LQGQFOc=
|
||||
modernc.org/fileutil v1.3.8 h1:qtzNm7ED75pd1C7WgAGcK4edm4fvhtBsEiI/0NQ54YM=
|
||||
modernc.org/fileutil v1.3.8/go.mod h1:HxmghZSZVAz/LXcMNwZPA/DRrQZEVP9VX0V4LQGQFOc=
|
||||
modernc.org/gc/v2 v2.6.5 h1:nyqdV8q46KvTpZlsw66kWqwXRHdjIlJOhG6kxiV/9xI=
|
||||
modernc.org/gc/v2 v2.6.5/go.mod h1:YgIahr1ypgfe7chRuJi2gD7DBQiKSLMPgBQe9oIiito=
|
||||
modernc.org/goabi0 v0.0.3 h1:y81b9r3asCh6Xtse6Nz85aYGB0cG3M3U6222yap1KWI=
|
||||
modernc.org/goabi0 v0.0.3/go.mod h1:CEFRnnJhKvWT1c1JTI3Avm+tgOWbkOu5oPA8eH8LnMI=
|
||||
modernc.org/libc v1.66.1 h1:4uQsntXbVyAgrV+j6NhKvDiUypoJL48BWQx6sy9y8ok=
|
||||
modernc.org/libc v1.66.1/go.mod h1:AiZxInURfEJx516LqEaFcrC+X38rt9G7+8ojIXQKHbo=
|
||||
modernc.org/goabi0 v0.1.2 h1:9mfG19tFBypPnlSKRAjI5nXGMLmVy+jLyKNVKsMzt/8=
|
||||
modernc.org/goabi0 v0.1.2/go.mod h1:CEFRnnJhKvWT1c1JTI3Avm+tgOWbkOu5oPA8eH8LnMI=
|
||||
modernc.org/libc v1.66.2 h1:JCBxlJzZOIwZY54fzjHN3Wsn8Ty5PUTPr/xioRkmecI=
|
||||
modernc.org/libc v1.66.2/go.mod h1:ceIGzvXxP+JV3pgVjP9avPZo6Chlsfof2egXBH3YT5Q=
|
||||
modernc.org/mathutil v1.7.1 h1:GCZVGXdaN8gTqB1Mf/usp1Y/hSqgI2vAGGP4jZMCxOU=
|
||||
modernc.org/mathutil v1.7.1/go.mod h1:4p5IwJITfppl0G4sUEDtCr4DthTaT47/N3aT6MhfgJg=
|
||||
modernc.org/memory v1.11.0 h1:o4QC8aMQzmcwCK3t3Ux/ZHmwFPzE6hf2Y5LbkRs+hbI=
|
||||
|
||||
@@ -232,7 +232,7 @@ func getOIDCConfig(
|
||||
r *http.Request,
|
||||
a *config.App,
|
||||
) (*oauth2.Config, *oidc.IDTokenVerifier, error) {
|
||||
sets := a.SM.GetAll()
|
||||
sets := a.SM.GetAll(ctx)
|
||||
|
||||
// Parse settings (same as before but simplified validation)
|
||||
if enabled, ok := sets[settings.KeyOIDCEnabled]; ok {
|
||||
|
||||
@@ -19,7 +19,7 @@ type AuditEvent struct {
|
||||
Details string
|
||||
}
|
||||
|
||||
// AuditInterceptor automatically logs CRUD operations
|
||||
// NewAuditInterceptor automatically logs CRUD operations
|
||||
func NewAuditInterceptor(app *config.App) connect.UnaryInterceptorFunc {
|
||||
return func(next connect.UnaryFunc) connect.UnaryFunc {
|
||||
return func(ctx context.Context, req connect.AnyRequest) (connect.AnyResponse, error) {
|
||||
@@ -32,7 +32,7 @@ func NewAuditInterceptor(app *config.App) connect.UnaryInterceptorFunc {
|
||||
// Log audit event asynchronously to avoid blocking the response
|
||||
go func(auditCtx context.Context) {
|
||||
if auditErr := createAuditLog(auditCtx, app.Conn.GetQuery(), *auditEvent); auditErr != nil {
|
||||
slog.Error("failed to create audit log", "error", auditErr)
|
||||
slog.Warn("failed to create audit log", "error", auditErr)
|
||||
}
|
||||
}(ctx)
|
||||
}
|
||||
@@ -51,10 +51,9 @@ func extractAuditEvent(req connect.AnyRequest, resp connect.AnyResponse) *AuditE
|
||||
return nil
|
||||
}
|
||||
|
||||
service := parts[1] // e.g., "mantrae.v1.ProfileService"
|
||||
method := parts[2] // e.g., "CreateProfile"
|
||||
service := parts[1]
|
||||
method := parts[2]
|
||||
|
||||
// Map method names to audit events
|
||||
eventType := mapMethodToEvent(method)
|
||||
if eventType == "" {
|
||||
return nil // Not an auditable operation
|
||||
@@ -102,8 +101,6 @@ func getResourceType(service string) string {
|
||||
return "agent"
|
||||
case strings.Contains(service, "UserService"):
|
||||
return "user"
|
||||
case strings.Contains(service, "SettingService"):
|
||||
return "setting"
|
||||
default:
|
||||
return "unknown"
|
||||
}
|
||||
@@ -163,10 +160,7 @@ func extractProfileServiceDetails(
|
||||
}
|
||||
case "DeleteProfile":
|
||||
if deleteReq, ok := req.Any().(*mantraev1.DeleteProfileRequest); ok {
|
||||
return &deleteReq.Id, fmt.Sprintf(
|
||||
"Deleted profile (ID: %d)",
|
||||
deleteReq.Id,
|
||||
)
|
||||
return &deleteReq.Id, fmt.Sprintf("Deleted profile (ID: %d)", deleteReq.Id)
|
||||
}
|
||||
}
|
||||
return nil, ""
|
||||
@@ -198,10 +192,7 @@ func extractRouterServiceDetails(
|
||||
}
|
||||
case "DeleteRouter":
|
||||
if deleteReq, ok := req.Any().(*mantraev1.DeleteRouterRequest); ok {
|
||||
return nil, fmt.Sprintf(
|
||||
"Deleted router (ID: %d)",
|
||||
deleteReq.Id,
|
||||
)
|
||||
return nil, fmt.Sprintf("Deleted router (ID: %d)", deleteReq.Id)
|
||||
}
|
||||
}
|
||||
return nil, ""
|
||||
@@ -233,10 +224,7 @@ func extractServiceServiceDetails(
|
||||
}
|
||||
case "DeleteService":
|
||||
if deleteReq, ok := req.Any().(*mantraev1.DeleteServiceRequest); ok {
|
||||
return nil, fmt.Sprintf(
|
||||
"Deleted service (ID: %d)",
|
||||
deleteReq.Id,
|
||||
)
|
||||
return nil, fmt.Sprintf("Deleted service (ID: %d)", deleteReq.Id)
|
||||
}
|
||||
}
|
||||
return nil, ""
|
||||
@@ -268,10 +256,7 @@ func extractMiddlewareServiceDetails(
|
||||
}
|
||||
case "DeleteMiddleware":
|
||||
if deleteReq, ok := req.Any().(*mantraev1.DeleteMiddlewareRequest); ok {
|
||||
return nil, fmt.Sprintf(
|
||||
"Deleted middleware (ID: %d)",
|
||||
deleteReq.Id,
|
||||
)
|
||||
return nil, fmt.Sprintf("Deleted middleware (ID: %d)", deleteReq.Id)
|
||||
}
|
||||
}
|
||||
return nil, ""
|
||||
@@ -303,10 +288,7 @@ func extractEntryPointServiceDetails(
|
||||
}
|
||||
case "DeleteEntryPoint":
|
||||
if deleteReq, ok := req.Any().(*mantraev1.DeleteEntryPointRequest); ok {
|
||||
return nil, fmt.Sprintf(
|
||||
"Deleted entrypoint (ID: %d)",
|
||||
deleteReq.Id,
|
||||
)
|
||||
return nil, fmt.Sprintf("Deleted entrypoint (ID: %d)", deleteReq.Id)
|
||||
}
|
||||
}
|
||||
return nil, ""
|
||||
@@ -320,10 +302,7 @@ func extractDNSProviderServiceDetails(
|
||||
switch method {
|
||||
case "CreateDnsProvider":
|
||||
if createReq, ok := req.Any().(*mantraev1.CreateDnsProviderRequest); ok {
|
||||
return nil, fmt.Sprintf(
|
||||
"Created DNS provider '%s'",
|
||||
createReq.Name,
|
||||
)
|
||||
return nil, fmt.Sprintf("Created DNS provider '%s'", createReq.Name)
|
||||
}
|
||||
case "UpdateDnsProvider":
|
||||
if updateReq, ok := req.Any().(*mantraev1.UpdateDnsProviderRequest); ok {
|
||||
@@ -337,10 +316,7 @@ func extractDNSProviderServiceDetails(
|
||||
}
|
||||
case "DeleteDnsProvider":
|
||||
if deleteReq, ok := req.Any().(*mantraev1.DeleteDnsProviderRequest); ok {
|
||||
return nil, fmt.Sprintf(
|
||||
"Deleted DNS provider (ID: %d)",
|
||||
deleteReq.Id,
|
||||
)
|
||||
return nil, fmt.Sprintf("Deleted DNS provider (ID: %d)", deleteReq.Id)
|
||||
}
|
||||
}
|
||||
return nil, ""
|
||||
@@ -371,10 +347,7 @@ func extractAgentServiceDetails(
|
||||
}
|
||||
case "DeleteAgent":
|
||||
if deleteReq, ok := req.Any().(*mantraev1.DeleteAgentRequest); ok {
|
||||
return nil, fmt.Sprintf(
|
||||
"Deleted agent (ID: %s)",
|
||||
deleteReq.Id,
|
||||
)
|
||||
return nil, fmt.Sprintf("Deleted agent (ID: %s)", deleteReq.Id)
|
||||
}
|
||||
}
|
||||
return nil, ""
|
||||
@@ -388,10 +361,7 @@ func extractUserServiceDetails(
|
||||
switch method {
|
||||
case "CreateUser":
|
||||
if createReq, ok := req.Any().(*mantraev1.CreateUserRequest); ok {
|
||||
return nil, fmt.Sprintf(
|
||||
"Created user '%s'",
|
||||
createReq.Username,
|
||||
)
|
||||
return nil, fmt.Sprintf("Created user '%s'", createReq.Username)
|
||||
}
|
||||
case "UpdateUser":
|
||||
if updateReq, ok := req.Any().(*mantraev1.UpdateUserRequest); ok {
|
||||
@@ -405,10 +375,7 @@ func extractUserServiceDetails(
|
||||
}
|
||||
case "DeleteUser":
|
||||
if deleteReq, ok := req.Any().(*mantraev1.DeleteUserRequest); ok {
|
||||
return nil, fmt.Sprintf(
|
||||
"Deleted user (ID: %s)",
|
||||
deleteReq.Id,
|
||||
)
|
||||
return nil, fmt.Sprintf("Deleted user (ID: %s)", deleteReq.Id)
|
||||
}
|
||||
}
|
||||
return nil, ""
|
||||
@@ -426,16 +393,7 @@ func createAuditLog(ctx context.Context, q *db.Queries, event AuditEvent) error
|
||||
}
|
||||
|
||||
// Extract user/agent context if available
|
||||
if valUserID := ctx.Value(AuthUserIDKey); valUserID != nil {
|
||||
if userID, ok := valUserID.(string); ok && userID != "" {
|
||||
params.UserID = &userID
|
||||
}
|
||||
}
|
||||
if valAgentID := ctx.Value(AuthAgentIDKey); valAgentID != nil {
|
||||
if agentID, ok := valAgentID.(string); ok && agentID != "" {
|
||||
params.AgentID = &agentID
|
||||
}
|
||||
}
|
||||
|
||||
params.UserID = GetUserIDFromContext(ctx)
|
||||
params.AgentID = GetAgentIDFromContext(ctx)
|
||||
return q.CreateAuditLog(ctx, params)
|
||||
}
|
||||
|
||||
@@ -66,10 +66,13 @@ func (h *MiddlewareHandler) JWTAuth(next http.Handler) http.Handler {
|
||||
http.Error(w, "Unauthorized", http.StatusUnauthorized)
|
||||
return
|
||||
}
|
||||
|
||||
if claims.IsExpired() {
|
||||
http.Error(w, "Unauthorized", http.StatusUnauthorized)
|
||||
return
|
||||
}
|
||||
user, err := h.app.Conn.GetQuery().GetUserByID(r.Context(), claims.UserID)
|
||||
if err != nil {
|
||||
http.Error(w, "User not found", http.StatusUnauthorized)
|
||||
http.Error(w, "Unauthorized", http.StatusUnauthorized)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -83,9 +86,13 @@ func (h *MiddlewareHandler) JWTAuth(next http.Handler) http.Handler {
|
||||
http.Error(w, "Unauthorized", http.StatusUnauthorized)
|
||||
return
|
||||
}
|
||||
if claims.IsExpired() {
|
||||
http.Error(w, "Unauthorized", http.StatusUnauthorized)
|
||||
return
|
||||
}
|
||||
user, err := h.app.Conn.GetQuery().GetUserByID(r.Context(), claims.UserID)
|
||||
if err != nil {
|
||||
http.Error(w, "User not found", http.StatusUnauthorized)
|
||||
http.Error(w, "Unauthorized", http.StatusUnauthorized)
|
||||
return
|
||||
}
|
||||
|
||||
@@ -157,13 +164,27 @@ func (i *AuthInterceptor) authenticateRequest(
|
||||
if err != nil {
|
||||
return nil, connect.NewError(
|
||||
connect.CodeNotFound,
|
||||
errors.New("agent not found"),
|
||||
errors.New("unauthorized"),
|
||||
)
|
||||
}
|
||||
if agent.Token != getBearerToken(header) {
|
||||
return nil, connect.NewError(
|
||||
connect.CodeUnauthenticated,
|
||||
errors.New("token mismatch"),
|
||||
errors.New("unauthorized"),
|
||||
)
|
||||
}
|
||||
claims, err := meta.DecodeAgentToken(agent.Token, i.app.Secret)
|
||||
if err != nil {
|
||||
return nil, connect.NewError(
|
||||
connect.CodeUnauthenticated,
|
||||
errors.New("unauthorized"),
|
||||
)
|
||||
}
|
||||
// Check if token is expired
|
||||
if claims.IsExpired() {
|
||||
return nil, connect.NewError(
|
||||
connect.CodeUnauthenticated,
|
||||
errors.New("unauthorized"),
|
||||
)
|
||||
}
|
||||
return context.WithValue(ctx, AuthAgentIDKey, agent.ID), nil
|
||||
@@ -175,14 +196,20 @@ func (i *AuthInterceptor) authenticateRequest(
|
||||
if err != nil {
|
||||
return nil, connect.NewError(
|
||||
connect.CodeUnauthenticated,
|
||||
errors.New("invalid token"),
|
||||
errors.New("unauthorized"),
|
||||
)
|
||||
}
|
||||
if claims.IsExpired() {
|
||||
return nil, connect.NewError(
|
||||
connect.CodeUnauthenticated,
|
||||
errors.New("unauthorized"),
|
||||
)
|
||||
}
|
||||
user, err := i.app.Conn.GetQuery().GetUserByID(ctx, claims.UserID)
|
||||
if err != nil {
|
||||
return nil, connect.NewError(
|
||||
connect.CodeUnauthenticated,
|
||||
errors.New("invalid token"),
|
||||
errors.New("unauthorized"),
|
||||
)
|
||||
}
|
||||
return context.WithValue(ctx, AuthUserIDKey, user.ID), nil
|
||||
@@ -192,14 +219,20 @@ func (i *AuthInterceptor) authenticateRequest(
|
||||
if err != nil {
|
||||
return nil, connect.NewError(
|
||||
connect.CodeUnauthenticated,
|
||||
errors.New("invalid token"),
|
||||
errors.New("unauthorized"),
|
||||
)
|
||||
}
|
||||
if claims.IsExpired() {
|
||||
return nil, connect.NewError(
|
||||
connect.CodeUnauthenticated,
|
||||
errors.New("unauthorized"),
|
||||
)
|
||||
}
|
||||
user, err := i.app.Conn.GetQuery().GetUserByID(ctx, claims.UserID)
|
||||
if err != nil {
|
||||
return nil, connect.NewError(
|
||||
connect.CodeUnauthenticated,
|
||||
errors.New("invalid token"),
|
||||
errors.New("unauthorized"),
|
||||
)
|
||||
}
|
||||
return context.WithValue(ctx, AuthUserIDKey, user.ID), nil
|
||||
@@ -248,12 +281,20 @@ func getCookieToken(header http.Header) string {
|
||||
return token
|
||||
}
|
||||
|
||||
func GetUserIDFromContext(ctx context.Context) (string, bool) {
|
||||
id, ok := ctx.Value(AuthUserIDKey).(string)
|
||||
return id, ok
|
||||
func GetUserIDFromContext(ctx context.Context) *string {
|
||||
if id := ctx.Value(AuthUserIDKey); id != nil {
|
||||
if userID, ok := id.(string); ok && userID != "" {
|
||||
return &userID
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func GetAgentIDFromContext(ctx context.Context) (string, bool) {
|
||||
agent, ok := ctx.Value(AuthAgentIDKey).(string)
|
||||
return agent, ok
|
||||
func GetAgentIDFromContext(ctx context.Context) *string {
|
||||
if agent := ctx.Value(AuthAgentIDKey); agent != nil {
|
||||
if agentID, ok := agent.(string); ok && agentID != "" {
|
||||
return &agentID
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package server
|
||||
|
||||
import (
|
||||
"context"
|
||||
"net/http"
|
||||
"time"
|
||||
|
||||
@@ -21,7 +22,7 @@ func (s *Server) WithCORS(h http.Handler) http.Handler {
|
||||
"http://127.0.0.1:" + s.Port,
|
||||
}
|
||||
|
||||
serverURL, ok := s.app.SM.Get(settings.KeyServerURL)
|
||||
serverURL, ok := s.app.SM.Get(context.Background(), settings.KeyServerURL)
|
||||
if ok {
|
||||
allowedOrigins = append(allowedOrigins, serverURL)
|
||||
}
|
||||
|
||||
@@ -87,7 +87,7 @@ func (s *Server) Start(ctx context.Context) error {
|
||||
|
||||
// Start server in a goroutine
|
||||
go func() {
|
||||
serverURL, ok := s.app.SM.Get("server_url")
|
||||
serverURL, ok := s.app.SM.Get(ctx, "server_url")
|
||||
if ok && serverURL == "" {
|
||||
serverURL = s.Host + ":" + s.Port
|
||||
}
|
||||
|
||||
@@ -178,6 +178,11 @@ func (s *AgentService) HealthCheck(
|
||||
params.PrivateIp = &req.Msg.PrivateIp
|
||||
}
|
||||
|
||||
// Update ActiveIp if it's not set
|
||||
if agent.ActiveIp == nil && req.Msg.PrivateIp != "" {
|
||||
params.ActiveIp = &req.Msg.PrivateIp
|
||||
}
|
||||
|
||||
result, err := s.app.Conn.GetQuery().UpdateAgent(ctx, params)
|
||||
if err != nil {
|
||||
return nil, connect.NewError(connect.CodeInternal, err)
|
||||
@@ -243,22 +248,17 @@ func (s *AgentService) updateToken(ctx context.Context, agent *db.Agent) (*strin
|
||||
}
|
||||
|
||||
func (s *AgentService) createToken(agentID string, profileID int64) (*string, error) {
|
||||
serverURL, ok := s.app.SM.Get(settings.KeyServerURL)
|
||||
if !ok {
|
||||
return nil, errors.New("failed to get server url setting")
|
||||
}
|
||||
|
||||
agentInterval, ok := s.app.SM.Get(settings.KeyAgentCleanupInterval)
|
||||
if !ok {
|
||||
return nil, errors.New("failed to get agent cleanup interval setting")
|
||||
}
|
||||
sets := s.app.SM.GetMany(
|
||||
context.Background(),
|
||||
[]string{settings.KeyServerURL, settings.KeyAgentCleanupInterval},
|
||||
)
|
||||
|
||||
token, err := meta.EncodeAgentToken(
|
||||
profileID,
|
||||
agentID,
|
||||
serverURL,
|
||||
sets[settings.KeyServerURL],
|
||||
s.app.Secret,
|
||||
time.Now().Add(settings.AsDuration(agentInterval)),
|
||||
time.Now().Add(settings.AsDuration(sets[settings.KeyAgentCleanupInterval])),
|
||||
)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
||||
@@ -23,7 +23,7 @@ func (s *SettingService) GetSetting(
|
||||
ctx context.Context,
|
||||
req *connect.Request[mantraev1.GetSettingRequest],
|
||||
) (*connect.Response[mantraev1.GetSettingResponse], error) {
|
||||
value, ok := s.app.SM.Get(req.Msg.Key)
|
||||
value, ok := s.app.SM.Get(ctx, req.Msg.Key)
|
||||
if !ok {
|
||||
return nil, connect.NewError(connect.CodeInternal, errors.New("setting not found"))
|
||||
}
|
||||
@@ -52,7 +52,7 @@ func (s *SettingService) ListSettings(
|
||||
req *connect.Request[mantraev1.ListSettingsRequest],
|
||||
) (*connect.Response[mantraev1.ListSettingsResponse], error) {
|
||||
var settings []*mantraev1.Setting
|
||||
for key, val := range s.app.SM.GetAll() {
|
||||
for key, val := range s.app.SM.GetAll(ctx) {
|
||||
settings = append(settings, &mantraev1.Setting{Key: key, Value: val})
|
||||
}
|
||||
return connect.NewResponse(&mantraev1.ListSettingsResponse{Settings: settings}), nil
|
||||
|
||||
@@ -41,7 +41,7 @@ func (s *UserService) LoginUser(
|
||||
case *mantraev1.LoginUserRequest_Email:
|
||||
user, err = s.app.Conn.GetQuery().GetUserByEmail(ctx, &id.Email)
|
||||
default:
|
||||
return nil, connect.NewError(connect.CodeInvalidArgument, errors.New("one of username or email must be set"))
|
||||
return nil, connect.NewError(connect.CodeInvalidArgument, errors.New("username or email must be set"))
|
||||
}
|
||||
if err != nil {
|
||||
return nil, connect.NewError(connect.CodeInternal, err)
|
||||
@@ -70,7 +70,7 @@ func (s *UserService) LoginUser(
|
||||
Secure: req.Header().Get("X-Forwarded-Proto") == "https",
|
||||
SameSite: http.SameSiteLaxMode,
|
||||
}
|
||||
res := connect.NewResponse(&mantraev1.LoginUserResponse{Token: token})
|
||||
res := connect.NewResponse(&mantraev1.LoginUserResponse{User: convert.UserToProto(&user)})
|
||||
res.Header().Set("Set-Cookie", cookie.String())
|
||||
return res, nil
|
||||
}
|
||||
@@ -93,25 +93,6 @@ func (s *UserService) LogoutUser(
|
||||
return res, nil
|
||||
}
|
||||
|
||||
func (s *UserService) VerifyJWT(
|
||||
ctx context.Context,
|
||||
req *connect.Request[mantraev1.VerifyJWTRequest],
|
||||
) (*connect.Response[mantraev1.VerifyJWTResponse], error) {
|
||||
val := ctx.Value(middlewares.AuthUserIDKey)
|
||||
userID, ok := val.(string)
|
||||
if !ok || userID == "" {
|
||||
return nil, connect.NewError(connect.CodeUnauthenticated, errors.New("unauthenticated"))
|
||||
}
|
||||
result, err := s.app.Conn.GetQuery().GetUserByID(ctx, userID)
|
||||
if err != nil {
|
||||
return nil, connect.NewError(connect.CodeInternal, err)
|
||||
}
|
||||
|
||||
return connect.NewResponse(&mantraev1.VerifyJWTResponse{
|
||||
User: convert.UserToProto(&result),
|
||||
}), nil
|
||||
}
|
||||
|
||||
func (s *UserService) VerifyOTP(
|
||||
ctx context.Context,
|
||||
req *connect.Request[mantraev1.VerifyOTPRequest],
|
||||
@@ -124,22 +105,20 @@ func (s *UserService) VerifyOTP(
|
||||
case *mantraev1.VerifyOTPRequest_Email:
|
||||
user, err = s.app.Conn.GetQuery().GetUserByEmail(ctx, &id.Email)
|
||||
default:
|
||||
return nil, connect.NewError(connect.CodeInvalidArgument, errors.New("one of username or email must be set"))
|
||||
return nil, connect.NewError(connect.CodeInvalidArgument, errors.New("username or email must be set"))
|
||||
}
|
||||
if err != nil {
|
||||
return nil, connect.NewError(connect.CodeInternal, err)
|
||||
}
|
||||
|
||||
if user.Otp == nil || user.OtpExpiry == nil {
|
||||
return nil, connect.NewError(connect.CodeUnauthenticated, errors.New("no OTP token found"))
|
||||
return nil, connect.NewError(connect.CodeUnauthenticated, errors.New("invalid token"))
|
||||
}
|
||||
|
||||
if *user.Otp != util.HashOTP(req.Msg.Otp) {
|
||||
return nil, connect.NewError(connect.CodeUnauthenticated, errors.New("invalid OTP token"))
|
||||
return nil, connect.NewError(connect.CodeUnauthenticated, errors.New("invalid token"))
|
||||
}
|
||||
|
||||
if time.Now().After(*user.OtpExpiry) {
|
||||
return nil, connect.NewError(connect.CodeUnauthenticated, errors.New("OTP token expired"))
|
||||
return nil, connect.NewError(connect.CodeUnauthenticated, errors.New("token expired"))
|
||||
}
|
||||
|
||||
expirationTime := time.Now().Add(1 * time.Hour)
|
||||
@@ -152,7 +131,29 @@ func (s *UserService) VerifyOTP(
|
||||
return nil, connect.NewError(connect.CodeInternal, err)
|
||||
}
|
||||
|
||||
return connect.NewResponse(&mantraev1.VerifyOTPResponse{Token: token}), nil
|
||||
// Delete OTP if it's set
|
||||
if user.Otp != nil && user.OtpExpiry != nil {
|
||||
if err := s.app.Conn.GetQuery().UpdateUserResetToken(ctx, db.UpdateUserResetTokenParams{
|
||||
ID: user.ID,
|
||||
Otp: nil,
|
||||
OtpExpiry: nil,
|
||||
}); err != nil {
|
||||
return nil, connect.NewError(connect.CodeInternal, err)
|
||||
}
|
||||
}
|
||||
|
||||
cookie := http.Cookie{
|
||||
Name: meta.CookieName,
|
||||
Value: token,
|
||||
Path: "/",
|
||||
HttpOnly: true,
|
||||
MaxAge: int(expirationTime.Unix() - time.Now().Unix()),
|
||||
Secure: req.Header().Get("X-Forwarded-Proto") == "https",
|
||||
SameSite: http.SameSiteLaxMode,
|
||||
}
|
||||
res := connect.NewResponse(&mantraev1.VerifyOTPResponse{User: convert.UserToProto(&user)})
|
||||
res.Header().Set("Set-Cookie", cookie.String())
|
||||
return res, nil
|
||||
}
|
||||
|
||||
func (s *UserService) SendOTP(
|
||||
@@ -167,7 +168,7 @@ func (s *UserService) SendOTP(
|
||||
case *mantraev1.SendOTPRequest_Email:
|
||||
user, err = s.app.Conn.GetQuery().GetUserByEmail(ctx, &id.Email)
|
||||
default:
|
||||
return nil, connect.NewError(connect.CodeInvalidArgument, errors.New("one of username or email must be set"))
|
||||
return nil, connect.NewError(connect.CodeInvalidArgument, errors.New("username or email must be set"))
|
||||
}
|
||||
if err != nil {
|
||||
return nil, connect.NewError(connect.CodeInternal, err)
|
||||
@@ -214,7 +215,11 @@ func (s *UserService) GetUser(
|
||||
case *mantraev1.GetUserRequest_Email:
|
||||
user, err = s.app.Conn.GetQuery().GetUserByEmail(ctx, &id.Email)
|
||||
default:
|
||||
return nil, connect.NewError(connect.CodeInvalidArgument, errors.New("one of id, username, or email must be set"))
|
||||
userID := middlewares.GetUserIDFromContext(ctx)
|
||||
if userID == nil {
|
||||
return nil, connect.NewError(connect.CodeUnauthenticated, errors.New("unauthenticated"))
|
||||
}
|
||||
user, err = s.app.Conn.GetQuery().GetUserByID(ctx, *userID)
|
||||
}
|
||||
if err != nil {
|
||||
return nil, connect.NewError(connect.CodeInternal, err)
|
||||
@@ -335,30 +340,17 @@ func (s *UserService) GetOIDCStatus(
|
||||
ctx context.Context,
|
||||
req *connect.Request[mantraev1.GetOIDCStatusRequest],
|
||||
) (*connect.Response[mantraev1.GetOIDCStatusResponse], error) {
|
||||
oidcEnabled, ok := s.app.SM.Get(settings.KeyOIDCEnabled)
|
||||
if !ok {
|
||||
return nil, connect.NewError(
|
||||
connect.CodeInternal,
|
||||
errors.New("failed to get oidc enabled setting"),
|
||||
)
|
||||
}
|
||||
loginEnabled, ok := s.app.SM.Get(settings.KeyPasswordLoginEnabled)
|
||||
if !ok {
|
||||
return nil, connect.NewError(
|
||||
connect.CodeInternal,
|
||||
errors.New("failed to get login disabled setting"),
|
||||
)
|
||||
}
|
||||
provider, ok := s.app.SM.Get(settings.KeyOIDCProviderName)
|
||||
if !ok {
|
||||
return nil, connect.NewError(
|
||||
connect.CodeInternal,
|
||||
errors.New("failed to get oidc provider name setting"),
|
||||
)
|
||||
}
|
||||
sets := s.app.SM.GetMany(
|
||||
ctx,
|
||||
[]string{
|
||||
settings.KeyOIDCEnabled,
|
||||
settings.KeyPasswordLoginEnabled,
|
||||
settings.KeyOIDCProviderName,
|
||||
},
|
||||
)
|
||||
return connect.NewResponse(&mantraev1.GetOIDCStatusResponse{
|
||||
OidcEnabled: oidcEnabled == "true",
|
||||
LoginEnabled: loginEnabled == "true",
|
||||
Provider: provider,
|
||||
OidcEnabled: sets[settings.KeyOIDCEnabled] == "true",
|
||||
LoginEnabled: sets[settings.KeyPasswordLoginEnabled] == "true",
|
||||
Provider: sets[settings.KeyOIDCProviderName],
|
||||
}), nil
|
||||
}
|
||||
|
||||
@@ -72,7 +72,7 @@ func (m *BackupManager) backupLoop(ctx context.Context) {
|
||||
defer m.waitGroup.Done()
|
||||
|
||||
// Get backup interval
|
||||
interval, ok := m.SM.Get(settings.KeyBackupInterval)
|
||||
interval, ok := m.SM.Get(ctx, settings.KeyBackupInterval)
|
||||
if !ok {
|
||||
slog.Error("failed to get backup interval")
|
||||
return
|
||||
@@ -254,7 +254,7 @@ func (m *BackupManager) cleanup(ctx context.Context) error {
|
||||
return fmt.Errorf("failed to list backups: %w", err)
|
||||
}
|
||||
|
||||
retention, ok := m.SM.Get(settings.KeyBackupKeep)
|
||||
retention, ok := m.SM.Get(ctx, settings.KeyBackupKeep)
|
||||
if !ok {
|
||||
return fmt.Errorf("failed to get retention setting")
|
||||
}
|
||||
|
||||
@@ -117,13 +117,14 @@ func (a *App) setupDefaultData(ctx context.Context) error {
|
||||
}
|
||||
|
||||
// Check default server url
|
||||
ips, err := util.GetPrivateIPs()
|
||||
ip, err := util.GetHostIPv4()
|
||||
if err != nil {
|
||||
return fmt.Errorf("failed to get private IPs: %w", err)
|
||||
}
|
||||
serverURL, ok := a.SM.Get("server_url")
|
||||
serverURL, ok := a.SM.Get(ctx, "server_url")
|
||||
if !ok || serverURL == "" {
|
||||
if err = a.SM.Set(ctx, "server_url", ips.IPv4); err != nil {
|
||||
url := fmt.Sprintf("http://%s:3000", ip)
|
||||
if err = a.SM.Set(ctx, "server_url", url); err != nil {
|
||||
return fmt.Errorf("failed to set server url: %w", err)
|
||||
}
|
||||
}
|
||||
@@ -132,7 +133,8 @@ func (a *App) setupDefaultData(ctx context.Context) error {
|
||||
return fmt.Errorf("failed to parse server url: %w", err)
|
||||
}
|
||||
if u.Hostname() == "127.0.0.1" || u.Hostname() == "localhost" {
|
||||
if err := a.SM.Set(ctx, "server_url", ips.IPv4); err != nil {
|
||||
url := fmt.Sprintf("http://%s:3000", ip)
|
||||
if err := a.SM.Set(ctx, "server_url", url); err != nil {
|
||||
return fmt.Errorf("failed to set server url: %w", err)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ func (a *App) setupBackgroundJobs(ctx context.Context) {
|
||||
|
||||
// syncTraefik periodically syncs the Traefik configuration
|
||||
func (a *App) syncTraefik(ctx context.Context) {
|
||||
duration, ok := a.SM.Get(settings.KeyTraefikSyncInterval)
|
||||
duration, ok := a.SM.Get(ctx, settings.KeyTraefikSyncInterval)
|
||||
if !ok {
|
||||
slog.Error("Failed to get Traefik sync interval setting")
|
||||
return
|
||||
@@ -64,7 +64,7 @@ func (a *App) syncTraefik(ctx context.Context) {
|
||||
|
||||
// syncDNS periodically syncs the DNS records
|
||||
func (a *App) syncDNS(ctx context.Context) {
|
||||
duration, ok := a.SM.Get(settings.KeyDNSSyncInterval)
|
||||
duration, ok := a.SM.Get(ctx, settings.KeyDNSSyncInterval)
|
||||
if !ok {
|
||||
slog.Error("Failed to get DNS sync interval setting")
|
||||
return
|
||||
@@ -89,7 +89,7 @@ func (a *App) syncDNS(ctx context.Context) {
|
||||
}
|
||||
|
||||
func (a *App) cleanupAgents(ctx context.Context) {
|
||||
duration, ok := a.SM.Get(settings.KeyAgentCleanupInterval)
|
||||
duration, ok := a.SM.Get(ctx, settings.KeyAgentCleanupInterval)
|
||||
if !ok {
|
||||
slog.Error("failed to get agent cleanup interval setting")
|
||||
return
|
||||
@@ -103,7 +103,7 @@ func (a *App) cleanupAgents(ctx context.Context) {
|
||||
case <-ctx.Done():
|
||||
return
|
||||
case <-ticker.C:
|
||||
enabled, ok := a.SM.Get(settings.KeyAgentCleanupEnabled)
|
||||
enabled, ok := a.SM.Get(ctx, settings.KeyAgentCleanupEnabled)
|
||||
if !ok {
|
||||
slog.Error("failed to get agent cleanup enabled setting")
|
||||
return
|
||||
@@ -114,7 +114,7 @@ func (a *App) cleanupAgents(ctx context.Context) {
|
||||
}
|
||||
|
||||
// Timeout to delete old agents
|
||||
timeout, ok := a.SM.Get(settings.KeyAgentCleanupInterval)
|
||||
timeout, ok := a.SM.Get(ctx, settings.KeyAgentCleanupInterval)
|
||||
if !ok {
|
||||
slog.Error("failed to get agent cleanup interval setting")
|
||||
return
|
||||
|
||||
+13
-26
@@ -2,7 +2,7 @@
|
||||
package mail
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"context"
|
||||
"fmt"
|
||||
"html/template"
|
||||
"net/smtp"
|
||||
@@ -63,32 +63,19 @@ func Send(sm *settings.SettingsManager, to, templateName string, data map[string
|
||||
}
|
||||
|
||||
func getConfig(sm *settings.SettingsManager) (*EmailConfig, error) {
|
||||
host, ok := sm.Get(settings.KeyEmailHost)
|
||||
if !ok {
|
||||
return nil, errors.New("failed to get email host")
|
||||
}
|
||||
port, ok := sm.Get(settings.KeyEmailPort)
|
||||
if !ok {
|
||||
return nil, errors.New("failed to get email port")
|
||||
}
|
||||
username, ok := sm.Get(settings.KeyEmailUser)
|
||||
if !ok {
|
||||
return nil, errors.New("failed to get email username")
|
||||
}
|
||||
password, ok := sm.Get(settings.KeyEmailPassword)
|
||||
if !ok {
|
||||
return nil, errors.New("failed to get email password")
|
||||
}
|
||||
from, ok := sm.Get(settings.KeyEmailFrom)
|
||||
if !ok {
|
||||
return nil, errors.New("failed to get email from")
|
||||
}
|
||||
sets := sm.GetMany(context.Background(), []string{
|
||||
settings.KeyEmailHost,
|
||||
settings.KeyEmailPort,
|
||||
settings.KeyEmailUser,
|
||||
settings.KeyEmailPassword,
|
||||
settings.KeyEmailFrom,
|
||||
})
|
||||
|
||||
return &EmailConfig{
|
||||
Host: host,
|
||||
Port: port,
|
||||
Username: username,
|
||||
Password: password,
|
||||
From: from,
|
||||
Host: sets[settings.KeyEmailHost],
|
||||
Port: sets[settings.KeyEmailPort],
|
||||
Username: sets[settings.KeyEmailUser],
|
||||
Password: sets[settings.KeyEmailPassword],
|
||||
From: sets[settings.KeyEmailFrom],
|
||||
}, nil
|
||||
}
|
||||
|
||||
@@ -6,12 +6,10 @@ import (
|
||||
"fmt"
|
||||
"log"
|
||||
"log/slog"
|
||||
"maps"
|
||||
"os"
|
||||
"reflect"
|
||||
"strconv"
|
||||
"strings"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/mizuchilabs/mantrae/internal/store"
|
||||
@@ -31,7 +29,7 @@ type Settings struct {
|
||||
S3AccessKey string `setting:"s3_access_key" default:""`
|
||||
S3SecretKey string `setting:"s3_secret_key" default:""`
|
||||
S3UsePathStyle bool `setting:"s3_use_path_style" default:"false"`
|
||||
EmailHost string `setting:"email_host" default:"localhost"`
|
||||
EmailHost string `setting:"email_host" default:""`
|
||||
EmailPort int `setting:"email_port" default:"587"`
|
||||
EmailUser string `setting:"email_user" default:""`
|
||||
EmailPassword string `setting:"email_password" default:""`
|
||||
@@ -52,10 +50,8 @@ type Settings struct {
|
||||
}
|
||||
|
||||
type SettingsManager struct {
|
||||
mu sync.RWMutex
|
||||
conn *store.Connection
|
||||
structT reflect.Type
|
||||
cache map[string]string
|
||||
}
|
||||
|
||||
func NewManager(conn *store.Connection) *SettingsManager {
|
||||
@@ -65,7 +61,6 @@ func NewManager(conn *store.Connection) *SettingsManager {
|
||||
return &SettingsManager{
|
||||
conn: conn,
|
||||
structT: reflect.TypeOf(Settings{}),
|
||||
cache: make(map[string]string),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -97,9 +92,6 @@ func (sm *SettingsManager) Start(ctx context.Context) {
|
||||
val = def
|
||||
}
|
||||
|
||||
// Set in cache and DB
|
||||
sm.cache[key] = val
|
||||
|
||||
if _, exists := dbMap[key]; !exists {
|
||||
err = q.UpsertSetting(ctx, db.UpsertSettingParams{Key: key, Value: val})
|
||||
if err != nil {
|
||||
@@ -129,11 +121,12 @@ func (sm *SettingsManager) validKeys() map[string]struct{} {
|
||||
return keys
|
||||
}
|
||||
|
||||
func (sm *SettingsManager) Get(key string) (string, bool) {
|
||||
sm.mu.RLock()
|
||||
val, ok := sm.cache[key]
|
||||
sm.mu.RUnlock()
|
||||
return val, ok
|
||||
func (sm *SettingsManager) Get(ctx context.Context, key string) (string, bool) {
|
||||
setting, err := sm.conn.GetQuery().GetSetting(ctx, key)
|
||||
if err != nil {
|
||||
return "", false
|
||||
}
|
||||
return setting.Value, true
|
||||
}
|
||||
|
||||
func (sm *SettingsManager) Set(ctx context.Context, key, val string) error {
|
||||
@@ -146,50 +139,39 @@ func (sm *SettingsManager) Set(ctx context.Context, key, val string) error {
|
||||
return err
|
||||
}
|
||||
|
||||
sm.mu.Lock()
|
||||
defer sm.mu.Unlock()
|
||||
|
||||
// Store old value for potential rollback
|
||||
oldVal, existed := sm.cache[key]
|
||||
|
||||
// Update cache first
|
||||
sm.cache[key] = val
|
||||
|
||||
// Update database
|
||||
if err := sm.conn.GetQuery().UpsertSetting(ctx, *params); err != nil {
|
||||
// Rollback cache on database error
|
||||
if existed {
|
||||
sm.cache[key] = oldVal
|
||||
} else {
|
||||
delete(sm.cache, key)
|
||||
}
|
||||
return fmt.Errorf("failed to update setting in database: %w", err)
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
func (sm *SettingsManager) GetAll() map[string]string {
|
||||
sm.mu.RLock()
|
||||
result := make(map[string]string, len(sm.cache))
|
||||
maps.Copy(result, sm.cache)
|
||||
sm.mu.RUnlock()
|
||||
func (sm *SettingsManager) GetAll(ctx context.Context) map[string]string {
|
||||
settings, err := sm.conn.GetQuery().ListSettings(ctx)
|
||||
if err != nil {
|
||||
return make(map[string]string)
|
||||
}
|
||||
|
||||
result := make(map[string]string, len(settings))
|
||||
for _, s := range settings {
|
||||
result[s.Key] = s.Value
|
||||
}
|
||||
return result
|
||||
}
|
||||
|
||||
func (sm *SettingsManager) GetMany(keys []string) map[string]string {
|
||||
sm.mu.RLock()
|
||||
func (sm *SettingsManager) GetMany(ctx context.Context, keys []string) map[string]string {
|
||||
result := make(map[string]string, len(keys))
|
||||
for _, k := range keys {
|
||||
if val, ok := sm.cache[k]; ok {
|
||||
if val, ok := sm.Get(ctx, k); ok {
|
||||
result[k] = val
|
||||
}
|
||||
}
|
||||
sm.mu.RUnlock()
|
||||
return result
|
||||
}
|
||||
|
||||
// Helper
|
||||
|
||||
func AsString(val *string) string {
|
||||
if val == nil || *val == "" {
|
||||
return ""
|
||||
|
||||
@@ -25,7 +25,6 @@ func TestNewManager(t *testing.T) {
|
||||
sm := NewManager(conn)
|
||||
assert.NotNil(t, sm)
|
||||
assert.NotNil(t, sm.conn)
|
||||
assert.NotNil(t, sm.cache)
|
||||
}
|
||||
|
||||
func TestGetAndSet(t *testing.T) {
|
||||
@@ -38,7 +37,7 @@ func TestGetAndSet(t *testing.T) {
|
||||
err := sm.Set(ctx, KeyServerURL, "http://localhost:8080")
|
||||
assert.NoError(t, err)
|
||||
|
||||
val, ok := sm.Get(KeyServerURL)
|
||||
val, ok := sm.Get(ctx, KeyServerURL)
|
||||
assert.True(t, ok)
|
||||
assert.Equal(t, "http://localhost:8080", val)
|
||||
|
||||
@@ -55,7 +54,7 @@ func TestGetAll(t *testing.T) {
|
||||
sm.Start(ctx)
|
||||
|
||||
// Test getting all values
|
||||
allSettings := sm.GetAll()
|
||||
allSettings := sm.GetAll(ctx)
|
||||
assert.NotEmpty(t, allSettings)
|
||||
assert.Equal(t, "local", allSettings[KeyStorage])
|
||||
}
|
||||
@@ -69,7 +68,7 @@ func TestGetMany(t *testing.T) {
|
||||
|
||||
// Test getting many values
|
||||
keys := []string{KeyServerURL, KeyStorage}
|
||||
manySettings := sm.GetMany(keys)
|
||||
manySettings := sm.GetMany(ctx, keys)
|
||||
assert.Len(t, manySettings, 2)
|
||||
assert.Equal(t, "", manySettings[KeyServerURL])
|
||||
assert.Equal(t, "local", manySettings[KeyStorage])
|
||||
@@ -95,17 +94,17 @@ func TestStart(t *testing.T) {
|
||||
sm.Start(ctx)
|
||||
|
||||
// Check that the environment variable is used
|
||||
val, ok := sm.Get(KeyServerURL)
|
||||
val, ok := sm.Get(ctx, KeyServerURL)
|
||||
assert.True(t, ok)
|
||||
assert.Equal(t, "http://env.test", val)
|
||||
|
||||
// Check that the database value is used
|
||||
val, ok = sm.Get(KeyStorage)
|
||||
val, ok = sm.Get(ctx, KeyStorage)
|
||||
assert.True(t, ok)
|
||||
assert.Equal(t, "db_value", val)
|
||||
|
||||
// Check that the default value is used
|
||||
val, ok = sm.Get(KeyBackupEnabled)
|
||||
val, ok = sm.Get(ctx, KeyBackupEnabled)
|
||||
assert.True(t, ok)
|
||||
assert.Equal(t, "true", val)
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@ func (sm *SettingsManager) validate(ctx context.Context, params *db.UpsertSettin
|
||||
|
||||
case KeyPasswordLoginEnabled:
|
||||
// Don't allow disabling password login unless OIDC is oidcEnabled
|
||||
oidcEnabled, ok := sm.Get(KeyOIDCEnabled)
|
||||
oidcEnabled, ok := sm.Get(ctx, KeyOIDCEnabled)
|
||||
if !ok {
|
||||
return errors.New("failed to get OIDC setting")
|
||||
}
|
||||
@@ -59,7 +59,7 @@ func (sm *SettingsManager) validate(ctx context.Context, params *db.UpsertSettin
|
||||
|
||||
case KeyOIDCEnabled:
|
||||
// If Password Login is disabled ensure to enable it again if oidc gets disabled
|
||||
pwLogin, ok := sm.Get(KeyPasswordLoginEnabled)
|
||||
pwLogin, ok := sm.Get(ctx, KeyPasswordLoginEnabled)
|
||||
if !ok {
|
||||
return errors.New("failed to get password login setting")
|
||||
}
|
||||
|
||||
+14
-31
@@ -2,7 +2,6 @@ package storage
|
||||
|
||||
import (
|
||||
"context"
|
||||
"errors"
|
||||
"fmt"
|
||||
"io"
|
||||
"net/url"
|
||||
@@ -162,38 +161,22 @@ func (s *S3Storage) Delete(ctx context.Context, name string) error {
|
||||
}
|
||||
|
||||
func getSettings(sm *settings.SettingsManager) (*S3Config, error) {
|
||||
region, ok := sm.Get(settings.KeyS3Region)
|
||||
if !ok {
|
||||
return nil, errors.New("failed to get S3 region")
|
||||
}
|
||||
endpoint, ok := sm.Get(settings.KeyS3Endpoint)
|
||||
if !ok {
|
||||
return nil, errors.New("failed to get S3 endpoint")
|
||||
}
|
||||
bucket, ok := sm.Get(settings.KeyS3Bucket)
|
||||
if !ok {
|
||||
return nil, errors.New("failed to get S3 bucket")
|
||||
}
|
||||
accessKey, ok := sm.Get(settings.KeyS3AccessKey)
|
||||
if !ok {
|
||||
return nil, errors.New("failed to get S3 access key")
|
||||
}
|
||||
secretKey, ok := sm.Get(settings.KeyS3SecretKey)
|
||||
if !ok {
|
||||
return nil, errors.New("failed to get S3 secret key")
|
||||
}
|
||||
usePathStyle, ok := sm.Get(settings.KeyS3UsePathStyle)
|
||||
if !ok {
|
||||
return nil, errors.New("failed to get S3 use path style")
|
||||
}
|
||||
sets := sm.GetMany(context.Background(), []string{
|
||||
settings.KeyS3Region,
|
||||
settings.KeyS3Endpoint,
|
||||
settings.KeyS3Bucket,
|
||||
settings.KeyS3AccessKey,
|
||||
settings.KeyS3SecretKey,
|
||||
settings.KeyS3UsePathStyle,
|
||||
})
|
||||
|
||||
cfg := S3Config{
|
||||
Region: region,
|
||||
Endpoint: endpoint,
|
||||
Bucket: bucket,
|
||||
AccessKey: accessKey,
|
||||
SecretKey: secretKey,
|
||||
UsePathStyle: settings.AsBool(usePathStyle),
|
||||
Region: sets[settings.KeyS3Region],
|
||||
Endpoint: sets[settings.KeyS3Endpoint],
|
||||
Bucket: sets[settings.KeyS3Bucket],
|
||||
AccessKey: sets[settings.KeyS3AccessKey],
|
||||
SecretKey: sets[settings.KeyS3SecretKey],
|
||||
UsePathStyle: settings.AsBool(sets[settings.KeyS3UsePathStyle]),
|
||||
}
|
||||
return &cfg, nil
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ func GetBackend(
|
||||
sm *settings.SettingsManager,
|
||||
path string,
|
||||
) (Backend, error) {
|
||||
backendSetting, ok := sm.Get(settings.KeyStorage)
|
||||
backendSetting, ok := sm.Get(ctx, settings.KeyStorage)
|
||||
if !ok {
|
||||
return nil, errors.New("failed to get storage backend")
|
||||
}
|
||||
|
||||
+66
-12
@@ -2,6 +2,7 @@ package util
|
||||
|
||||
import (
|
||||
"context"
|
||||
"errors"
|
||||
"fmt"
|
||||
"io"
|
||||
"log/slog"
|
||||
@@ -23,20 +24,73 @@ var (
|
||||
cacheDuration = 5 * time.Minute
|
||||
)
|
||||
|
||||
func GetPrivateIPs() (IPAddresses, error) {
|
||||
var ips IPAddresses
|
||||
addrs, _ := net.InterfaceAddrs()
|
||||
for _, addr := range addrs {
|
||||
if ipnet, ok := addr.(*net.IPNet); ok && !ipnet.IP.IsLoopback() {
|
||||
if ipnet.IP.To4() != nil {
|
||||
ips.IPv4 = ipnet.IP.String()
|
||||
}
|
||||
if ipnet.IP.To4() == nil && ipnet.IP.To16() != nil {
|
||||
ips.IPv6 = ipnet.IP.String()
|
||||
}
|
||||
func isVirtualInterface(name string) bool {
|
||||
skipIfacesPrefixes := []string{
|
||||
"docker",
|
||||
"br-",
|
||||
"veth",
|
||||
"lo",
|
||||
"tun",
|
||||
"tap",
|
||||
"vmnet",
|
||||
"wg",
|
||||
"utun",
|
||||
"ppp",
|
||||
"virbr",
|
||||
"cni",
|
||||
"flannel",
|
||||
"weave",
|
||||
}
|
||||
name = strings.ToLower(name)
|
||||
for _, prefix := range skipIfacesPrefixes {
|
||||
if strings.HasPrefix(name, prefix) {
|
||||
return true
|
||||
}
|
||||
}
|
||||
return ips, nil
|
||||
return false
|
||||
}
|
||||
|
||||
func GetHostIPv4() (string, error) {
|
||||
ifaces, err := net.Interfaces()
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
|
||||
for _, iface := range ifaces {
|
||||
if iface.Flags&net.FlagUp == 0 {
|
||||
continue // interface down
|
||||
}
|
||||
if iface.Flags&net.FlagLoopback != 0 {
|
||||
continue // loopback
|
||||
}
|
||||
if isVirtualInterface(iface.Name) {
|
||||
continue // skip virtual interfaces
|
||||
}
|
||||
|
||||
addrs, err := iface.Addrs()
|
||||
if err != nil {
|
||||
continue
|
||||
}
|
||||
|
||||
for _, addr := range addrs {
|
||||
ipNet, ok := addr.(*net.IPNet)
|
||||
if !ok {
|
||||
continue
|
||||
}
|
||||
ip := ipNet.IP
|
||||
if ip == nil || ip.IsLoopback() {
|
||||
continue
|
||||
}
|
||||
ip4 := ip.To4()
|
||||
if ip4 == nil {
|
||||
continue
|
||||
}
|
||||
// Got a good candidate
|
||||
return ip4.String(), nil
|
||||
}
|
||||
}
|
||||
|
||||
return "", errors.New("no suitable IPv4 address found")
|
||||
}
|
||||
|
||||
func GetPublicIPs() (IPAddresses, error) {
|
||||
|
||||
+114
-116
@@ -951,128 +951,126 @@ var file_mantrae_v1_agent_proto_rawDesc = string([]byte{
|
||||
0x0c, 0x50, 0x6f, 0x72, 0x74, 0x6d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
|
||||
0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
|
||||
0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05,
|
||||
0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x2d, 0x0a, 0x0f, 0x47, 0x65, 0x74,
|
||||
0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x02,
|
||||
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01, 0x01,
|
||||
0x72, 0x02, 0x10, 0x01, 0x52, 0x02, 0x69, 0x64, 0x22, 0x3b, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x41,
|
||||
0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x05,
|
||||
0x61, 0x67, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6d, 0x61,
|
||||
0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x05,
|
||||
0x61, 0x67, 0x65, 0x6e, 0x74, 0x22, 0x3f, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41,
|
||||
0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x0a, 0x70,
|
||||
0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42,
|
||||
0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x22, 0x02, 0x20, 0x00, 0x52, 0x09, 0x70, 0x72, 0x6f,
|
||||
0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x22, 0x3e, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
|
||||
0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a,
|
||||
0x05, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6d,
|
||||
0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52,
|
||||
0x05, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x22, 0x4e, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
|
||||
0x41, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x50, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a,
|
||||
0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8,
|
||||
0x01, 0x01, 0x72, 0x02, 0x10, 0x01, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x02, 0x69, 0x70,
|
||||
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x72, 0x02,
|
||||
0x10, 0x01, 0x52, 0x02, 0x69, 0x70, 0x22, 0x40, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
|
||||
0x41, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x50, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
||||
0x27, 0x0a, 0x05, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11,
|
||||
0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x67, 0x65, 0x6e,
|
||||
0x74, 0x52, 0x05, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x22, 0x30, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65,
|
||||
0x74, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a,
|
||||
0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8,
|
||||
0x01, 0x01, 0x72, 0x02, 0x10, 0x01, 0x52, 0x02, 0x69, 0x64, 0x22, 0x15, 0x0a, 0x13, 0x44, 0x65,
|
||||
0x6c, 0x65, 0x74, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
||||
0x65, 0x22, 0xec, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x73,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x66, 0x69,
|
||||
0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x0a, 0xba, 0x48, 0x07,
|
||||
0xc8, 0x01, 0x01, 0x22, 0x02, 0x20, 0x00, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65,
|
||||
0x49, 0x64, 0x12, 0x71, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||
0x03, 0x42, 0x56, 0xba, 0x48, 0x53, 0xba, 0x01, 0x50, 0x0a, 0x0b, 0x6c, 0x69, 0x6d, 0x69, 0x74,
|
||||
0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x12, 0x29, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x20, 0x6d, 0x75,
|
||||
0x73, 0x74, 0x20, 0x62, 0x65, 0x20, 0x65, 0x69, 0x74, 0x68, 0x65, 0x72, 0x20, 0x2d, 0x31, 0x20,
|
||||
0x6f, 0x72, 0x20, 0x67, 0x72, 0x65, 0x61, 0x74, 0x65, 0x72, 0x20, 0x74, 0x68, 0x61, 0x6e, 0x20,
|
||||
0x30, 0x1a, 0x16, 0x74, 0x68, 0x69, 0x73, 0x20, 0x3d, 0x3d, 0x20, 0x2d, 0x31, 0x20, 0x7c, 0x7c,
|
||||
0x20, 0x74, 0x68, 0x69, 0x73, 0x20, 0x3e, 0x20, 0x30, 0x48, 0x00, 0x52, 0x05, 0x6c, 0x69, 0x6d,
|
||||
0x69, 0x74, 0x88, 0x01, 0x01, 0x12, 0x24, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18,
|
||||
0x03, 0x20, 0x01, 0x28, 0x03, 0x42, 0x07, 0xba, 0x48, 0x04, 0x22, 0x02, 0x28, 0x00, 0x48, 0x01,
|
||||
0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x88, 0x01, 0x01, 0x42, 0x08, 0x0a, 0x06, 0x5f,
|
||||
0x6c, 0x69, 0x6d, 0x69, 0x74, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74,
|
||||
0x22, 0x60, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65,
|
||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x06, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73,
|
||||
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65,
|
||||
0x2e, 0x76, 0x31, 0x2e, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x61, 0x67, 0x65, 0x6e, 0x74,
|
||||
0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74,
|
||||
0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x75,
|
||||
0x6e, 0x74, 0x22, 0xaf, 0x01, 0x0a, 0x12, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65,
|
||||
0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0a, 0x6d, 0x61, 0x63,
|
||||
0x68, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba,
|
||||
0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x09, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x49,
|
||||
0x64, 0x12, 0x23, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
|
||||
0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x08, 0x68, 0x6f,
|
||||
0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63,
|
||||
0x5f, 0x69, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02,
|
||||
0x10, 0x01, 0x52, 0x08, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x49, 0x70, 0x12, 0x26, 0x0a, 0x0a,
|
||||
0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
|
||||
0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x09, 0x70, 0x72, 0x69, 0x76, 0x61,
|
||||
0x74, 0x65, 0x49, 0x70, 0x22, 0x3e, 0x0a, 0x13, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68,
|
||||
0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x05, 0x61,
|
||||
0x67, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6d, 0x61, 0x6e,
|
||||
0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x61,
|
||||
0x67, 0x65, 0x6e, 0x74, 0x22, 0x35, 0x0a, 0x17, 0x52, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x41, 0x67,
|
||||
0x65, 0x6e, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
||||
0x1a, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0xba, 0x48, 0x07,
|
||||
0xc8, 0x01, 0x01, 0x72, 0x02, 0x10, 0x01, 0x52, 0x02, 0x69, 0x64, 0x22, 0x43, 0x0a, 0x18, 0x52,
|
||||
0x6f, 0x74, 0x61, 0x74, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52,
|
||||
0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x2a, 0x0a, 0x0f, 0x47, 0x65, 0x74,
|
||||
0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x02,
|
||||
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10,
|
||||
0x01, 0x52, 0x02, 0x69, 0x64, 0x22, 0x3b, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x41, 0x67, 0x65, 0x6e,
|
||||
0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x05, 0x61, 0x67, 0x65,
|
||||
0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72,
|
||||
0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x61, 0x67, 0x65,
|
||||
0x6e, 0x74, 0x22, 0x3c, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x67, 0x65, 0x6e,
|
||||
0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x66,
|
||||
0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x07, 0xba, 0x48,
|
||||
0x04, 0x22, 0x02, 0x20, 0x00, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64,
|
||||
0x22, 0x3e, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52,
|
||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x05, 0x61, 0x67, 0x65, 0x6e, 0x74,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65,
|
||||
0x2e, 0x76, 0x31, 0x2e, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x61, 0x67, 0x65, 0x6e, 0x74,
|
||||
0x32, 0xd1, 0x04, 0x0a, 0x0c, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
|
||||
0x65, 0x12, 0x4a, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x2e,
|
||||
0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x67,
|
||||
0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x6d, 0x61, 0x6e,
|
||||
0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74,
|
||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x4e, 0x0a,
|
||||
0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x1e, 0x2e, 0x6d,
|
||||
0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
|
||||
0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x6d,
|
||||
0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
|
||||
0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x54, 0x0a,
|
||||
0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x50, 0x12, 0x20,
|
||||
0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61,
|
||||
0x74, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x50, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x1a, 0x21, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70,
|
||||
0x22, 0x48, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x49,
|
||||
0x50, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x02, 0x69,
|
||||
0x64, 0x12, 0x17, 0x0a, 0x02, 0x69, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba,
|
||||
0x48, 0x04, 0x72, 0x02, 0x70, 0x01, 0x52, 0x02, 0x69, 0x70, 0x22, 0x40, 0x0a, 0x15, 0x55, 0x70,
|
||||
0x64, 0x61, 0x74, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x50, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||
0x6e, 0x73, 0x65, 0x12, 0x4e, 0x0a, 0x0b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x67, 0x65,
|
||||
0x6e, 0x74, 0x12, 0x1e, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
||||
0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x05, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
||||
0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x22, 0x2d, 0x0a, 0x12,
|
||||
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
||||
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||
0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74,
|
||||
0x73, 0x12, 0x1d, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c,
|
||||
0x69, 0x73, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x1a, 0x1e, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69,
|
||||
0x73, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||||
0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x4e, 0x0a, 0x0b, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43,
|
||||
0x68, 0x65, 0x63, 0x6b, 0x12, 0x1e, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76,
|
||||
0x31, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71,
|
||||
0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76,
|
||||
0x31, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73,
|
||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5d, 0x0a, 0x10, 0x52, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x41,
|
||||
0x67, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x23, 0x2e, 0x6d, 0x61, 0x6e, 0x74,
|
||||
0x73, 0x74, 0x12, 0x17, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07,
|
||||
0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x02, 0x69, 0x64, 0x22, 0x15, 0x0a, 0x13, 0x44,
|
||||
0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||
0x73, 0x65, 0x22, 0xe9, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74,
|
||||
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x66,
|
||||
0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x07, 0xba, 0x48,
|
||||
0x04, 0x22, 0x02, 0x20, 0x00, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64,
|
||||
0x12, 0x71, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x42,
|
||||
0x56, 0xba, 0x48, 0x53, 0xba, 0x01, 0x50, 0x0a, 0x0b, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x2e, 0x76,
|
||||
0x61, 0x6c, 0x69, 0x64, 0x12, 0x29, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x20, 0x6d, 0x75, 0x73, 0x74,
|
||||
0x20, 0x62, 0x65, 0x20, 0x65, 0x69, 0x74, 0x68, 0x65, 0x72, 0x20, 0x2d, 0x31, 0x20, 0x6f, 0x72,
|
||||
0x20, 0x67, 0x72, 0x65, 0x61, 0x74, 0x65, 0x72, 0x20, 0x74, 0x68, 0x61, 0x6e, 0x20, 0x30, 0x1a,
|
||||
0x16, 0x74, 0x68, 0x69, 0x73, 0x20, 0x3d, 0x3d, 0x20, 0x2d, 0x31, 0x20, 0x7c, 0x7c, 0x20, 0x74,
|
||||
0x68, 0x69, 0x73, 0x20, 0x3e, 0x20, 0x30, 0x48, 0x00, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74,
|
||||
0x88, 0x01, 0x01, 0x12, 0x24, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x03, 0x20,
|
||||
0x01, 0x28, 0x03, 0x42, 0x07, 0xba, 0x48, 0x04, 0x22, 0x02, 0x28, 0x00, 0x48, 0x01, 0x52, 0x06,
|
||||
0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x88, 0x01, 0x01, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x6c, 0x69,
|
||||
0x6d, 0x69, 0x74, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x22, 0x60,
|
||||
0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x06, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01,
|
||||
0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76,
|
||||
0x31, 0x2e, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x12,
|
||||
0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02,
|
||||
0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74,
|
||||
0x22, 0xaf, 0x01, 0x0a, 0x12, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0a, 0x6d, 0x61, 0x63, 0x68, 0x69,
|
||||
0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04,
|
||||
0x72, 0x02, 0x10, 0x01, 0x52, 0x09, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x49, 0x64, 0x12,
|
||||
0x23, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||
0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74,
|
||||
0x6e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x69,
|
||||
0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01,
|
||||
0x52, 0x08, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x49, 0x70, 0x12, 0x26, 0x0a, 0x0a, 0x70, 0x72,
|
||||
0x69, 0x76, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07,
|
||||
0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x09, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65,
|
||||
0x49, 0x70, 0x22, 0x3e, 0x0a, 0x13, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63,
|
||||
0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x05, 0x61, 0x67, 0x65,
|
||||
0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72,
|
||||
0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x61, 0x67, 0x65,
|
||||
0x6e, 0x74, 0x22, 0x32, 0x0a, 0x17, 0x52, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x41, 0x67, 0x65, 0x6e,
|
||||
0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a,
|
||||
0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02,
|
||||
0x10, 0x01, 0x52, 0x02, 0x69, 0x64, 0x22, 0x43, 0x0a, 0x18, 0x52, 0x6f, 0x74, 0x61, 0x74, 0x65,
|
||||
0x41, 0x67, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||
0x73, 0x65, 0x12, 0x27, 0x0a, 0x05, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x0b, 0x32, 0x11, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41,
|
||||
0x67, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x32, 0xd1, 0x04, 0x0a, 0x0c,
|
||||
0x41, 0x67, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4a, 0x0a, 0x08,
|
||||
0x47, 0x65, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72,
|
||||
0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e,
|
||||
0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||
0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x4e, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61,
|
||||
0x74, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x1e, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61,
|
||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61,
|
||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74,
|
||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x54, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61,
|
||||
0x74, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x50, 0x12, 0x20, 0x2e, 0x6d, 0x61, 0x6e, 0x74,
|
||||
0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x67, 0x65,
|
||||
0x6e, 0x74, 0x49, 0x50, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6d, 0x61,
|
||||
0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41,
|
||||
0x67, 0x65, 0x6e, 0x74, 0x49, 0x50, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4e,
|
||||
0x0a, 0x0b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x1e, 0x2e,
|
||||
0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74,
|
||||
0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e,
|
||||
0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74,
|
||||
0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50,
|
||||
0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x1d, 0x2e, 0x6d,
|
||||
0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x67,
|
||||
0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x6d, 0x61,
|
||||
0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x67, 0x65,
|
||||
0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01,
|
||||
0x12, 0x4e, 0x0a, 0x0b, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12,
|
||||
0x1e, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x65, 0x61,
|
||||
0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
||||
0x1f, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x65, 0x61,
|
||||
0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||||
0x12, 0x5d, 0x0a, 0x10, 0x52, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x54,
|
||||
0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x23, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76,
|
||||
0x31, 0x2e, 0x52, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x6b,
|
||||
0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x6d, 0x61, 0x6e, 0x74,
|
||||
0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x41, 0x67, 0x65,
|
||||
0x6e, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24,
|
||||
0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x74, 0x61,
|
||||
0x74, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x73, 0x65, 0x42, 0xa4, 0x01, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x2e, 0x6d, 0x61, 0x6e,
|
||||
0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0a, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x50, 0x72,
|
||||
0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
|
||||
0x6d, 0x2f, 0x6d, 0x69, 0x7a, 0x75, 0x63, 0x68, 0x69, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x6d, 0x61,
|
||||
0x6e, 0x74, 0x72, 0x61, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f,
|
||||
0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x6d, 0x61, 0x6e, 0x74, 0x72,
|
||||
0x61, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x4d, 0x58, 0x58, 0xaa, 0x02, 0x0a, 0x4d, 0x61, 0x6e,
|
||||
0x74, 0x72, 0x61, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0a, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61,
|
||||
0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x16, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x5c, 0x56,
|
||||
0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0b,
|
||||
0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f,
|
||||
0x74, 0x6f, 0x33,
|
||||
0x6e, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42,
|
||||
0xa4, 0x01, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e,
|
||||
0x76, 0x31, 0x42, 0x0a, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01,
|
||||
0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6d, 0x69, 0x7a,
|
||||
0x75, 0x63, 0x68, 0x69, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65,
|
||||
0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x6d, 0x61, 0x6e, 0x74, 0x72,
|
||||
0x61, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x76, 0x31, 0xa2,
|
||||
0x02, 0x03, 0x4d, 0x58, 0x58, 0xaa, 0x02, 0x0a, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e,
|
||||
0x56, 0x31, 0xca, 0x02, 0x0a, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x5c, 0x56, 0x31, 0xe2,
|
||||
0x02, 0x16, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42,
|
||||
0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0b, 0x4d, 0x61, 0x6e, 0x74, 0x72,
|
||||
0x61, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
})
|
||||
|
||||
var (
|
||||
|
||||
@@ -502,67 +502,66 @@ var file_mantrae_v1_backup_proto_rawDesc = string([]byte{
|
||||
0x22, 0x15, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x16, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74,
|
||||
0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
|
||||
0x36, 0x0a, 0x14, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x72, 0x02, 0x10,
|
||||
0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x17, 0x0a, 0x15, 0x52, 0x65, 0x73, 0x74, 0x6f,
|
||||
0x72, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||||
0x22, 0x14, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x52,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x43, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x61,
|
||||
0x63, 0x6b, 0x75, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a,
|
||||
0x07, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12,
|
||||
0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x63, 0x6b,
|
||||
0x75, 0x70, 0x52, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x22, 0x35, 0x0a, 0x13, 0x44,
|
||||
0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x12, 0x1e, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
||||
0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x72, 0x02, 0x10, 0x01, 0x52, 0x04, 0x6e, 0x61,
|
||||
0x6d, 0x65, 0x22, 0x16, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x61, 0x63, 0x6b,
|
||||
0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2b, 0x0a, 0x15, 0x44, 0x6f,
|
||||
0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x2c, 0x0a, 0x16, 0x44, 0x6f, 0x77, 0x6e, 0x6c,
|
||||
0x6f, 0x61, 0x64, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
||||
0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52,
|
||||
0x04, 0x64, 0x61, 0x74, 0x61, 0x32, 0xbb, 0x03, 0x0a, 0x0d, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70,
|
||||
0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x51, 0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74,
|
||||
0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x1f, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61,
|
||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75,
|
||||
0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72,
|
||||
0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x61, 0x63, 0x6b,
|
||||
0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x54, 0x0a, 0x0d, 0x52, 0x65,
|
||||
0x73, 0x74, 0x6f, 0x72, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x20, 0x2e, 0x6d, 0x61,
|
||||
0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65,
|
||||
0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e,
|
||||
0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f,
|
||||
0x72, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||||
0x12, 0x53, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x12,
|
||||
0x1e, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73,
|
||||
0x74, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
||||
0x1f, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73,
|
||||
0x74, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||||
0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x51, 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42,
|
||||
0x61, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x1f, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e,
|
||||
0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65,
|
||||
0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70,
|
||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x0e, 0x44, 0x6f, 0x77, 0x6e,
|
||||
0x6c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x21, 0x2e, 0x6d, 0x61, 0x6e,
|
||||
0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64,
|
||||
0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e,
|
||||
0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x77, 0x6e, 0x6c,
|
||||
0x6f, 0x61, 0x64, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
||||
0x65, 0x30, 0x01, 0x42, 0xa5, 0x01, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x2e, 0x6d, 0x61, 0x6e, 0x74,
|
||||
0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0b, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x72,
|
||||
0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
|
||||
0x6d, 0x2f, 0x6d, 0x69, 0x7a, 0x75, 0x63, 0x68, 0x69, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x6d, 0x61,
|
||||
0x6e, 0x74, 0x72, 0x61, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f,
|
||||
0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x6d, 0x61, 0x6e, 0x74, 0x72,
|
||||
0x61, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x4d, 0x58, 0x58, 0xaa, 0x02, 0x0a, 0x4d, 0x61, 0x6e,
|
||||
0x74, 0x72, 0x61, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0a, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61,
|
||||
0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x16, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x5c, 0x56,
|
||||
0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0b,
|
||||
0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f,
|
||||
0x74, 0x6f, 0x33,
|
||||
0x33, 0x0a, 0x14, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x04,
|
||||
0x6e, 0x61, 0x6d, 0x65, 0x22, 0x17, 0x0a, 0x15, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x42,
|
||||
0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x14, 0x0a,
|
||||
0x12, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x22, 0x43, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x75,
|
||||
0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x07, 0x62, 0x61,
|
||||
0x63, 0x6b, 0x75, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x61,
|
||||
0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52,
|
||||
0x07, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x22, 0x32, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65,
|
||||
0x74, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
||||
0x1b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba,
|
||||
0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x16, 0x0a, 0x14,
|
||||
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2b, 0x0a, 0x15, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64,
|
||||
0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a,
|
||||
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
|
||||
0x65, 0x22, 0x2c, 0x0a, 0x16, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x63,
|
||||
0x6b, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64,
|
||||
0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x32,
|
||||
0xbb, 0x03, 0x0a, 0x0d, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
|
||||
0x65, 0x12, 0x51, 0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75,
|
||||
0x70, 0x12, 0x1f, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43,
|
||||
0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x1a, 0x20, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
||||
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x54, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x42,
|
||||
0x61, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x20, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e,
|
||||
0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61,
|
||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x42, 0x61, 0x63, 0x6b,
|
||||
0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x0b, 0x4c, 0x69,
|
||||
0x73, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x12, 0x1e, 0x2e, 0x6d, 0x61, 0x6e, 0x74,
|
||||
0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x75,
|
||||
0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x6d, 0x61, 0x6e, 0x74,
|
||||
0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x75,
|
||||
0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12,
|
||||
0x51, 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12,
|
||||
0x1f, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c,
|
||||
0x65, 0x74, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x1a, 0x20, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65,
|
||||
0x6c, 0x65, 0x74, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||
0x73, 0x65, 0x12, 0x59, 0x0a, 0x0e, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x61,
|
||||
0x63, 0x6b, 0x75, 0x70, 0x12, 0x21, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76,
|
||||
0x31, 0x2e, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61,
|
||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x63,
|
||||
0x6b, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x42, 0xa5, 0x01,
|
||||
0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31,
|
||||
0x42, 0x0b, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a,
|
||||
0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6d, 0x69, 0x7a, 0x75,
|
||||
0x63, 0x68, 0x69, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2f,
|
||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61,
|
||||
0x65, 0x2f, 0x76, 0x31, 0x3b, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x76, 0x31, 0xa2, 0x02,
|
||||
0x03, 0x4d, 0x58, 0x58, 0xaa, 0x02, 0x0a, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x56,
|
||||
0x31, 0xca, 0x02, 0x0a, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02,
|
||||
0x16, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d,
|
||||
0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0b, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61,
|
||||
0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
})
|
||||
|
||||
var (
|
||||
|
||||
@@ -783,144 +783,146 @@ var file_mantrae_v1_dns_provider_proto_rawDesc = string([]byte{
|
||||
0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28,
|
||||
0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||||
0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x75,
|
||||
0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0xad, 0x01, 0x0a, 0x11, 0x44, 0x6e, 0x73,
|
||||
0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x17,
|
||||
0x0a, 0x07, 0x61, 0x70, 0x69, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x06, 0x61, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x12, 0x17, 0x0a, 0x07, 0x61, 0x70, 0x69, 0x5f, 0x75,
|
||||
0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x70, 0x69, 0x55, 0x72, 0x6c,
|
||||
0x12, 0x0e, 0x0a, 0x02, 0x69, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x70,
|
||||
0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x78, 0x69, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28,
|
||||
0x08, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x78, 0x69, 0x65, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x75,
|
||||
0x74, 0x6f, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52,
|
||||
0x0a, 0x61, 0x75, 0x74, 0x6f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x7a,
|
||||
0x6f, 0x6e, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
|
||||
0x7a, 0x6f, 0x6e, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x33, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x44,
|
||||
0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x12, 0x1a, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x0a, 0xba,
|
||||
0x48, 0x07, 0xc8, 0x01, 0x01, 0x22, 0x02, 0x20, 0x00, 0x52, 0x02, 0x69, 0x64, 0x22, 0x54, 0x0a,
|
||||
0x16, 0x47, 0x65, 0x74, 0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52,
|
||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x0c, 0x64, 0x6e, 0x73, 0x5f, 0x70,
|
||||
0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e,
|
||||
0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6e, 0x73, 0x50, 0x72,
|
||||
0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x0b, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69,
|
||||
0x64, 0x65, 0x72, 0x22, 0xcc, 0x01, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x6e,
|
||||
0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x12, 0x1e, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a,
|
||||
0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x72, 0x02, 0x10, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
|
||||
0x12, 0x3c, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b,
|
||||
0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6e, 0x73, 0x50,
|
||||
0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0b, 0xba, 0x48, 0x08,
|
||||
0xc8, 0x01, 0x01, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x35,
|
||||
0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d,
|
||||
0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6e, 0x73, 0x50,
|
||||
0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x63,
|
||||
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69,
|
||||
0x76, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x41, 0x63, 0x74, 0x69,
|
||||
0x76, 0x65, 0x22, 0x57, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x6e, 0x73, 0x50,
|
||||
0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
||||
0x3a, 0x0a, 0x0c, 0x64, 0x6e, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e,
|
||||
0x76, 0x31, 0x2e, 0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x0b,
|
||||
0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x22, 0xe8, 0x01, 0x0a, 0x18,
|
||||
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65,
|
||||
0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x03, 0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x22, 0x02, 0x20, 0x00,
|
||||
0x52, 0x02, 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,
|
||||
0x28, 0x09, 0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x72, 0x02, 0x10, 0x01, 0x52, 0x04,
|
||||
0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3c, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01,
|
||||
0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
||||
0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x42,
|
||||
0x0b, 0xba, 0x48, 0x08, 0xc8, 0x01, 0x01, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x04, 0x74, 0x79,
|
||||
0x70, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x04, 0x20, 0x01,
|
||||
0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
||||
0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69,
|
||||
0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f,
|
||||
0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73,
|
||||
0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x22, 0x57, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
|
||||
0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0xc9, 0x01, 0x0a, 0x11, 0x44, 0x6e, 0x73,
|
||||
0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x20,
|
||||
0x0a, 0x07, 0x61, 0x70, 0x69, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
|
||||
0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x06, 0x61, 0x70, 0x69, 0x4b, 0x65, 0x79,
|
||||
0x12, 0x21, 0x0a, 0x07, 0x61, 0x70, 0x69, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||
0x09, 0x42, 0x08, 0xba, 0x48, 0x05, 0x72, 0x03, 0x88, 0x01, 0x01, 0x52, 0x06, 0x61, 0x70, 0x69,
|
||||
0x55, 0x72, 0x6c, 0x12, 0x17, 0x0a, 0x02, 0x69, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42,
|
||||
0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x70, 0x01, 0x52, 0x02, 0x69, 0x70, 0x12, 0x18, 0x0a, 0x07,
|
||||
0x70, 0x72, 0x6f, 0x78, 0x69, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x70,
|
||||
0x72, 0x6f, 0x78, 0x69, 0x65, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x75,
|
||||
0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x61, 0x75, 0x74,
|
||||
0x6f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x7a, 0x6f, 0x6e, 0x65, 0x5f,
|
||||
0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x7a, 0x6f, 0x6e, 0x65,
|
||||
0x54, 0x79, 0x70, 0x65, 0x22, 0x33, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x44, 0x6e, 0x73, 0x50, 0x72,
|
||||
0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a,
|
||||
0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01,
|
||||
0x01, 0x22, 0x02, 0x20, 0x00, 0x52, 0x02, 0x69, 0x64, 0x22, 0x54, 0x0a, 0x16, 0x47, 0x65, 0x74,
|
||||
0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||
0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x0c, 0x64, 0x6e, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69,
|
||||
0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6d, 0x61, 0x6e, 0x74,
|
||||
0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64,
|
||||
0x65, 0x72, 0x52, 0x0b, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x22,
|
||||
0x36, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76,
|
||||
0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x02, 0x69,
|
||||
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x22,
|
||||
0x02, 0x20, 0x00, 0x52, 0x02, 0x69, 0x64, 0x22, 0x1b, 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x65, 0x74,
|
||||
0x65, 0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x73, 0x65, 0x22, 0xc7, 0x01, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x6e, 0x73,
|
||||
0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x12, 0x71, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42,
|
||||
0x56, 0xba, 0x48, 0x53, 0xba, 0x01, 0x50, 0x0a, 0x0b, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x2e, 0x76,
|
||||
0x61, 0x6c, 0x69, 0x64, 0x12, 0x29, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x20, 0x6d, 0x75, 0x73, 0x74,
|
||||
0x20, 0x62, 0x65, 0x20, 0x65, 0x69, 0x74, 0x68, 0x65, 0x72, 0x20, 0x2d, 0x31, 0x20, 0x6f, 0x72,
|
||||
0x20, 0x67, 0x72, 0x65, 0x61, 0x74, 0x65, 0x72, 0x20, 0x74, 0x68, 0x61, 0x6e, 0x20, 0x30, 0x1a,
|
||||
0x16, 0x74, 0x68, 0x69, 0x73, 0x20, 0x3d, 0x3d, 0x20, 0x2d, 0x31, 0x20, 0x7c, 0x7c, 0x20, 0x74,
|
||||
0x68, 0x69, 0x73, 0x20, 0x3e, 0x20, 0x30, 0x48, 0x00, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74,
|
||||
0x88, 0x01, 0x01, 0x12, 0x24, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20,
|
||||
0x01, 0x28, 0x03, 0x42, 0x07, 0xba, 0x48, 0x04, 0x22, 0x02, 0x28, 0x00, 0x48, 0x01, 0x52, 0x06,
|
||||
0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x88, 0x01, 0x01, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x6c, 0x69,
|
||||
0x6d, 0x69, 0x74, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x22, 0x79,
|
||||
0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65,
|
||||
0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x0d, 0x64, 0x6e,
|
||||
0x73, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
|
||||
0xcc, 0x01, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f,
|
||||
0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x04,
|
||||
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8,
|
||||
0x01, 0x01, 0x72, 0x02, 0x10, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3c, 0x0a, 0x04,
|
||||
0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x6d, 0x61, 0x6e,
|
||||
0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69,
|
||||
0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0b, 0xba, 0x48, 0x08, 0xc8, 0x01, 0x01, 0x82,
|
||||
0x01, 0x02, 0x10, 0x01, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x63, 0x6f,
|
||||
0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6d, 0x61, 0x6e,
|
||||
0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69,
|
||||
0x64, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69,
|
||||
0x67, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x04,
|
||||
0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x22, 0x57,
|
||||
0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69,
|
||||
0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x0c, 0x64,
|
||||
0x6e, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x0b, 0x32, 0x17, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44,
|
||||
0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x0c, 0x64, 0x6e, 0x73, 0x50,
|
||||
0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61,
|
||||
0x6c, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x74,
|
||||
0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x2a, 0x98, 0x01, 0x0a, 0x0f, 0x44, 0x6e,
|
||||
0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a,
|
||||
0x1d, 0x44, 0x4e, 0x53, 0x5f, 0x50, 0x52, 0x4f, 0x56, 0x49, 0x44, 0x45, 0x52, 0x5f, 0x54, 0x59,
|
||||
0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,
|
||||
0x12, 0x20, 0x0a, 0x1c, 0x44, 0x4e, 0x53, 0x5f, 0x50, 0x52, 0x4f, 0x56, 0x49, 0x44, 0x45, 0x52,
|
||||
0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x4c, 0x4f, 0x55, 0x44, 0x46, 0x4c, 0x41, 0x52, 0x45,
|
||||
0x10, 0x01, 0x12, 0x1e, 0x0a, 0x1a, 0x44, 0x4e, 0x53, 0x5f, 0x50, 0x52, 0x4f, 0x56, 0x49, 0x44,
|
||||
0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x4f, 0x57, 0x45, 0x52, 0x44, 0x4e, 0x53,
|
||||
0x10, 0x02, 0x12, 0x20, 0x0a, 0x1c, 0x44, 0x4e, 0x53, 0x5f, 0x50, 0x52, 0x4f, 0x56, 0x49, 0x44,
|
||||
0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x54, 0x45, 0x43, 0x48, 0x4e, 0x49, 0x54, 0x49,
|
||||
0x55, 0x4d, 0x10, 0x03, 0x32, 0xfc, 0x03, 0x0a, 0x12, 0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76,
|
||||
0x69, 0x64, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x5c, 0x0a, 0x0e, 0x47,
|
||||
0x65, 0x74, 0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x21, 0x2e,
|
||||
0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x6e,
|
||||
0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x0b, 0x64, 0x6e, 0x73, 0x50,
|
||||
0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x22, 0xe8, 0x01, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61,
|
||||
0x74, 0x65, 0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71,
|
||||
0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
|
||||
0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x22, 0x02, 0x20, 0x00, 0x52, 0x02, 0x69, 0x64,
|
||||
0x12, 0x1e, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a,
|
||||
0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x72, 0x02, 0x10, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
|
||||
0x12, 0x3c, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b,
|
||||
0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6e, 0x73, 0x50,
|
||||
0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0b, 0xba, 0x48, 0x08,
|
||||
0xc8, 0x01, 0x01, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x35,
|
||||
0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d,
|
||||
0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6e, 0x73, 0x50,
|
||||
0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x63,
|
||||
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69,
|
||||
0x76, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x41, 0x63, 0x74, 0x69,
|
||||
0x76, 0x65, 0x22, 0x57, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x6e, 0x73, 0x50,
|
||||
0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
||||
0x3a, 0x0a, 0x0c, 0x64, 0x6e, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e,
|
||||
0x76, 0x31, 0x2e, 0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x0b,
|
||||
0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x22, 0x36, 0x0a, 0x18, 0x44,
|
||||
0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x03, 0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x22, 0x02, 0x20, 0x00, 0x52,
|
||||
0x02, 0x69, 0x64, 0x22, 0x1b, 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x6e, 0x73,
|
||||
0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||||
0x22, 0xc7, 0x01, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76,
|
||||
0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x71, 0x0a, 0x05,
|
||||
0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x56, 0xba, 0x48, 0x53,
|
||||
0xba, 0x01, 0x50, 0x0a, 0x0b, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64,
|
||||
0x12, 0x29, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x20, 0x6d, 0x75, 0x73, 0x74, 0x20, 0x62, 0x65, 0x20,
|
||||
0x65, 0x69, 0x74, 0x68, 0x65, 0x72, 0x20, 0x2d, 0x31, 0x20, 0x6f, 0x72, 0x20, 0x67, 0x72, 0x65,
|
||||
0x61, 0x74, 0x65, 0x72, 0x20, 0x74, 0x68, 0x61, 0x6e, 0x20, 0x30, 0x1a, 0x16, 0x74, 0x68, 0x69,
|
||||
0x73, 0x20, 0x3d, 0x3d, 0x20, 0x2d, 0x31, 0x20, 0x7c, 0x7c, 0x20, 0x74, 0x68, 0x69, 0x73, 0x20,
|
||||
0x3e, 0x20, 0x30, 0x48, 0x00, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x88, 0x01, 0x01, 0x12,
|
||||
0x24, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x42,
|
||||
0x07, 0xba, 0x48, 0x04, 0x22, 0x02, 0x28, 0x00, 0x48, 0x01, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73,
|
||||
0x65, 0x74, 0x88, 0x01, 0x01, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x42,
|
||||
0x09, 0x0a, 0x07, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x22, 0x79, 0x0a, 0x18, 0x4c, 0x69,
|
||||
0x73, 0x74, 0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65,
|
||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x0d, 0x64, 0x6e, 0x73, 0x5f, 0x70, 0x72,
|
||||
0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e,
|
||||
0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6e, 0x73, 0x50, 0x72,
|
||||
0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x0c, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69,
|
||||
0x64, 0x65, 0x72, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x63, 0x6f,
|
||||
0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c,
|
||||
0x43, 0x6f, 0x75, 0x6e, 0x74, 0x2a, 0x98, 0x01, 0x0a, 0x0f, 0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f,
|
||||
0x76, 0x69, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x1d, 0x44, 0x4e, 0x53,
|
||||
0x5f, 0x50, 0x52, 0x4f, 0x56, 0x49, 0x44, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55,
|
||||
0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x20, 0x0a, 0x1c,
|
||||
0x44, 0x4e, 0x53, 0x5f, 0x50, 0x52, 0x4f, 0x56, 0x49, 0x44, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50,
|
||||
0x45, 0x5f, 0x43, 0x4c, 0x4f, 0x55, 0x44, 0x46, 0x4c, 0x41, 0x52, 0x45, 0x10, 0x01, 0x12, 0x1e,
|
||||
0x0a, 0x1a, 0x44, 0x4e, 0x53, 0x5f, 0x50, 0x52, 0x4f, 0x56, 0x49, 0x44, 0x45, 0x52, 0x5f, 0x54,
|
||||
0x59, 0x50, 0x45, 0x5f, 0x50, 0x4f, 0x57, 0x45, 0x52, 0x44, 0x4e, 0x53, 0x10, 0x02, 0x12, 0x20,
|
||||
0x0a, 0x1c, 0x44, 0x4e, 0x53, 0x5f, 0x50, 0x52, 0x4f, 0x56, 0x49, 0x44, 0x45, 0x52, 0x5f, 0x54,
|
||||
0x59, 0x50, 0x45, 0x5f, 0x54, 0x45, 0x43, 0x48, 0x4e, 0x49, 0x54, 0x49, 0x55, 0x4d, 0x10, 0x03,
|
||||
0x32, 0xfc, 0x03, 0x0a, 0x12, 0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72,
|
||||
0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x5c, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x44, 0x6e,
|
||||
0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x21, 0x2e, 0x6d, 0x61, 0x6e, 0x74,
|
||||
0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f,
|
||||
0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x6d,
|
||||
0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x6e, 0x73,
|
||||
0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||||
0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x60, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44,
|
||||
0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x24, 0x2e, 0x6d, 0x61, 0x6e,
|
||||
0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x6e,
|
||||
0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x1a, 0x22, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65,
|
||||
0x74, 0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x60, 0x0a, 0x11, 0x43, 0x72, 0x65,
|
||||
0x61, 0x74, 0x65, 0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x24,
|
||||
0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61,
|
||||
0x1a, 0x25, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72,
|
||||
0x65, 0x61, 0x74, 0x65, 0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52,
|
||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x60, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74,
|
||||
0x65, 0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x24, 0x2e, 0x6d,
|
||||
0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
|
||||
0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x1a, 0x25, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
||||
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65,
|
||||
0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x60, 0x0a, 0x11, 0x44, 0x65, 0x6c,
|
||||
0x65, 0x74, 0x65, 0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x24,
|
||||
0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65,
|
||||
0x74, 0x65, 0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71,
|
||||
0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76,
|
||||
0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69,
|
||||
0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x60, 0x0a, 0x11, 0x55,
|
||||
0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72,
|
||||
0x12, 0x24, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70,
|
||||
0x64, 0x61, 0x74, 0x65, 0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65,
|
||||
0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f,
|
||||
0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x60, 0x0a,
|
||||
0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64,
|
||||
0x65, 0x72, 0x12, 0x24, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
||||
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65,
|
||||
0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72,
|
||||
0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x6e, 0x73, 0x50,
|
||||
0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
||||
0x62, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64,
|
||||
0x65, 0x72, 0x73, 0x12, 0x23, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31,
|
||||
0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72,
|
||||
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72,
|
||||
0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f,
|
||||
0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03,
|
||||
0x90, 0x02, 0x01, 0x42, 0xaa, 0x01, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x2e, 0x6d, 0x61, 0x6e, 0x74,
|
||||
0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x10, 0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69,
|
||||
0x64, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68,
|
||||
0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6d, 0x69, 0x7a, 0x75, 0x63, 0x68, 0x69, 0x6c, 0x61,
|
||||
0x62, 0x73, 0x2f, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||||
0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2f, 0x76, 0x31, 0x3b,
|
||||
0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x4d, 0x58, 0x58, 0xaa,
|
||||
0x02, 0x0a, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0a, 0x4d,
|
||||
0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x16, 0x4d, 0x61, 0x6e, 0x74,
|
||||
0x72, 0x61, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
|
||||
0x74, 0x61, 0xea, 0x02, 0x0b, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x3a, 0x3a, 0x56, 0x31,
|
||||
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69,
|
||||
0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x10, 0x4c,
|
||||
0x69, 0x73, 0x74, 0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x12,
|
||||
0x23, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73,
|
||||
0x74, 0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71,
|
||||
0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76,
|
||||
0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65,
|
||||
0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x42,
|
||||
0xaa, 0x01, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e,
|
||||
0x76, 0x31, 0x42, 0x10, 0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x50,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
|
||||
0x6f, 0x6d, 0x2f, 0x6d, 0x69, 0x7a, 0x75, 0x63, 0x68, 0x69, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x6d,
|
||||
0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e,
|
||||
0x2f, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x6d, 0x61, 0x6e, 0x74,
|
||||
0x72, 0x61, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x4d, 0x58, 0x58, 0xaa, 0x02, 0x0a, 0x4d, 0x61,
|
||||
0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0a, 0x4d, 0x61, 0x6e, 0x74, 0x72,
|
||||
0x61, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x16, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x5c,
|
||||
0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02,
|
||||
0x0b, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72,
|
||||
0x6f, 0x74, 0x6f, 0x33,
|
||||
})
|
||||
|
||||
var (
|
||||
|
||||
@@ -644,116 +644,115 @@ var file_mantrae_v1_entry_point_proto_rawDesc = string([]byte{
|
||||
0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01,
|
||||
0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
||||
0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09,
|
||||
0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x32, 0x0a, 0x14, 0x47, 0x65, 0x74,
|
||||
0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x2f, 0x0a, 0x14, 0x47, 0x65, 0x74,
|
||||
0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x12, 0x1a, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x0a, 0xba,
|
||||
0x48, 0x07, 0xc8, 0x01, 0x01, 0x22, 0x02, 0x20, 0x00, 0x52, 0x02, 0x69, 0x64, 0x22, 0x50, 0x0a,
|
||||
0x15, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65,
|
||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x0b, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x5f,
|
||||
0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x61,
|
||||
0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f,
|
||||
0x69, 0x6e, 0x74, 0x52, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x22,
|
||||
0xa6, 0x01, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50,
|
||||
0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x0a, 0x70,
|
||||
0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42,
|
||||
0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x22, 0x02, 0x20, 0x00, 0x52, 0x09, 0x70, 0x72, 0x6f,
|
||||
0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02,
|
||||
0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x72, 0x02, 0x10, 0x01,
|
||||
0x74, 0x12, 0x17, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x07, 0xba,
|
||||
0x48, 0x04, 0x22, 0x02, 0x20, 0x00, 0x52, 0x02, 0x69, 0x64, 0x22, 0x50, 0x0a, 0x15, 0x47, 0x65,
|
||||
0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||
0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x0b, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x5f, 0x70, 0x6f, 0x69,
|
||||
0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72,
|
||||
0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74,
|
||||
0x52, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x22, 0xa0, 0x01, 0x0a,
|
||||
0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e,
|
||||
0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x66,
|
||||
0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x07, 0xba, 0x48,
|
||||
0x04, 0x22, 0x02, 0x20, 0x00, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64,
|
||||
0x12, 0x1b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07,
|
||||
0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a,
|
||||
0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07,
|
||||
0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
|
||||
0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x04,
|
||||
0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x22,
|
||||
0x53, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f,
|
||||
0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x0b, 0x65,
|
||||
0x6e, 0x74, 0x72, 0x79, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
||||
0x32, 0x16, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e,
|
||||
0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x50,
|
||||
0x6f, 0x69, 0x6e, 0x74, 0x22, 0x91, 0x01, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45,
|
||||
0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x12, 0x17, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x07, 0xba, 0x48,
|
||||
0x04, 0x22, 0x02, 0x20, 0x00, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
|
||||
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01,
|
||||
0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73,
|
||||
0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01,
|
||||
0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f,
|
||||
0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69,
|
||||
0x73, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x22, 0x53, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61,
|
||||
0x73, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x22, 0x53, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61,
|
||||
0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x0b, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x5f, 0x70, 0x6f,
|
||||
0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x61, 0x6e, 0x74,
|
||||
0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e,
|
||||
0x74, 0x52, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x22, 0x97, 0x01,
|
||||
0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69,
|
||||
0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x02, 0x69, 0x64, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x22, 0x02, 0x20,
|
||||
0x00, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
|
||||
0x01, 0x28, 0x09, 0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x72, 0x02, 0x10, 0x01, 0x52,
|
||||
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
|
||||
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52,
|
||||
0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x64,
|
||||
0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73,
|
||||
0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x22, 0x53, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74,
|
||||
0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||
0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x0b, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x5f, 0x70, 0x6f, 0x69,
|
||||
0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72,
|
||||
0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74,
|
||||
0x52, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x22, 0x35, 0x0a, 0x17,
|
||||
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x03, 0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x22, 0x02, 0x20, 0x00, 0x52,
|
||||
0x02, 0x69, 0x64, 0x22, 0x1a, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x45, 0x6e, 0x74,
|
||||
0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
|
||||
0xf1, 0x01, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69,
|
||||
0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x0a, 0x70, 0x72,
|
||||
0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x0a,
|
||||
0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x22, 0x02, 0x20, 0x00, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x66,
|
||||
0x69, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x71, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02,
|
||||
0x20, 0x01, 0x28, 0x03, 0x42, 0x56, 0xba, 0x48, 0x53, 0xba, 0x01, 0x50, 0x0a, 0x0b, 0x6c, 0x69,
|
||||
0x6d, 0x69, 0x74, 0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x12, 0x29, 0x6c, 0x69, 0x6d, 0x69, 0x74,
|
||||
0x20, 0x6d, 0x75, 0x73, 0x74, 0x20, 0x62, 0x65, 0x20, 0x65, 0x69, 0x74, 0x68, 0x65, 0x72, 0x20,
|
||||
0x2d, 0x31, 0x20, 0x6f, 0x72, 0x20, 0x67, 0x72, 0x65, 0x61, 0x74, 0x65, 0x72, 0x20, 0x74, 0x68,
|
||||
0x61, 0x6e, 0x20, 0x30, 0x1a, 0x16, 0x74, 0x68, 0x69, 0x73, 0x20, 0x3d, 0x3d, 0x20, 0x2d, 0x31,
|
||||
0x20, 0x7c, 0x7c, 0x20, 0x74, 0x68, 0x69, 0x73, 0x20, 0x3e, 0x20, 0x30, 0x48, 0x00, 0x52, 0x05,
|
||||
0x6c, 0x69, 0x6d, 0x69, 0x74, 0x88, 0x01, 0x01, 0x12, 0x24, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73,
|
||||
0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x42, 0x07, 0xba, 0x48, 0x04, 0x22, 0x02, 0x28,
|
||||
0x00, 0x48, 0x01, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x88, 0x01, 0x01, 0x42, 0x08,
|
||||
0x0a, 0x06, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x6f, 0x66, 0x66,
|
||||
0x73, 0x65, 0x74, 0x22, 0x75, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79,
|
||||
0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39,
|
||||
0x0a, 0x0c, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x01,
|
||||
0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76,
|
||||
0x31, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x0b, 0x65, 0x6e,
|
||||
0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x74,
|
||||
0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a,
|
||||
0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x32, 0xec, 0x03, 0x0a, 0x11, 0x45,
|
||||
0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
|
||||
0x12, 0x59, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e,
|
||||
0x74, 0x12, 0x20, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47,
|
||||
0x65, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31,
|
||||
0x2e, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65,
|
||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x5d, 0x0a, 0x10, 0x43,
|
||||
0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12,
|
||||
0x23, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65,
|
||||
0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71,
|
||||
0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76,
|
||||
0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69,
|
||||
0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5d, 0x0a, 0x10, 0x55, 0x70,
|
||||
0x64, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x23,
|
||||
0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61,
|
||||
0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31,
|
||||
0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e,
|
||||
0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5d, 0x0a, 0x10, 0x44, 0x65, 0x6c,
|
||||
0x65, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x23, 0x2e,
|
||||
0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74,
|
||||
0x74, 0x52, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x22, 0x35, 0x0a,
|
||||
0x17, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e,
|
||||
0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x03, 0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x22, 0x02, 0x20, 0x00,
|
||||
0x52, 0x02, 0x69, 0x64, 0x22, 0x1a, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x45, 0x6e,
|
||||
0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||||
0x22, 0xee, 0x01, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f,
|
||||
0x69, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0a, 0x70,
|
||||
0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42,
|
||||
0x07, 0xba, 0x48, 0x04, 0x22, 0x02, 0x20, 0x00, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c,
|
||||
0x65, 0x49, 0x64, 0x12, 0x71, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01,
|
||||
0x28, 0x03, 0x42, 0x56, 0xba, 0x48, 0x53, 0xba, 0x01, 0x50, 0x0a, 0x0b, 0x6c, 0x69, 0x6d, 0x69,
|
||||
0x74, 0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x12, 0x29, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x20, 0x6d,
|
||||
0x75, 0x73, 0x74, 0x20, 0x62, 0x65, 0x20, 0x65, 0x69, 0x74, 0x68, 0x65, 0x72, 0x20, 0x2d, 0x31,
|
||||
0x20, 0x6f, 0x72, 0x20, 0x67, 0x72, 0x65, 0x61, 0x74, 0x65, 0x72, 0x20, 0x74, 0x68, 0x61, 0x6e,
|
||||
0x20, 0x30, 0x1a, 0x16, 0x74, 0x68, 0x69, 0x73, 0x20, 0x3d, 0x3d, 0x20, 0x2d, 0x31, 0x20, 0x7c,
|
||||
0x7c, 0x20, 0x74, 0x68, 0x69, 0x73, 0x20, 0x3e, 0x20, 0x30, 0x48, 0x00, 0x52, 0x05, 0x6c, 0x69,
|
||||
0x6d, 0x69, 0x74, 0x88, 0x01, 0x01, 0x12, 0x24, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74,
|
||||
0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x42, 0x07, 0xba, 0x48, 0x04, 0x22, 0x02, 0x28, 0x00, 0x48,
|
||||
0x01, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x88, 0x01, 0x01, 0x42, 0x08, 0x0a, 0x06,
|
||||
0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65,
|
||||
0x74, 0x22, 0x75, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f,
|
||||
0x69, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x0c,
|
||||
0x65, 0x6e, 0x74, 0x72, 0x79, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03,
|
||||
0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
||||
0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x0b, 0x65, 0x6e, 0x74, 0x72,
|
||||
0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c,
|
||||
0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x74, 0x6f,
|
||||
0x74, 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x32, 0xec, 0x03, 0x0a, 0x11, 0x45, 0x6e, 0x74,
|
||||
0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x59,
|
||||
0x0a, 0x0d, 0x47, 0x65, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12,
|
||||
0x20, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74,
|
||||
0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x1a, 0x21, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47,
|
||||
0x65, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x5d, 0x0a, 0x10, 0x43, 0x72, 0x65,
|
||||
0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x23, 0x2e,
|
||||
0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74,
|
||||
0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x1a, 0x24, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
||||
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74,
|
||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74,
|
||||
0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x22, 0x2e, 0x6d, 0x61,
|
||||
0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x74,
|
||||
0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
||||
0x23, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73,
|
||||
0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x42, 0xa9, 0x01, 0x0a, 0x0e, 0x63, 0x6f,
|
||||
0x6d, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0f, 0x45, 0x6e,
|
||||
0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a,
|
||||
0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6d, 0x69, 0x7a, 0x75,
|
||||
0x63, 0x68, 0x69, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2f,
|
||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61,
|
||||
0x65, 0x2f, 0x76, 0x31, 0x3b, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x76, 0x31, 0xa2, 0x02,
|
||||
0x03, 0x4d, 0x58, 0x58, 0xaa, 0x02, 0x0a, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x56,
|
||||
0x31, 0xca, 0x02, 0x0a, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02,
|
||||
0x16, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d,
|
||||
0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0b, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61,
|
||||
0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74,
|
||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5d, 0x0a, 0x10, 0x55, 0x70, 0x64, 0x61,
|
||||
0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x23, 0x2e, 0x6d,
|
||||
0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
|
||||
0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x1a, 0x24, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55,
|
||||
0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52,
|
||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5d, 0x0a, 0x10, 0x44, 0x65, 0x6c, 0x65, 0x74,
|
||||
0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x23, 0x2e, 0x6d, 0x61,
|
||||
0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x45,
|
||||
0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x1a, 0x24, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65,
|
||||
0x6c, 0x65, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65,
|
||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e,
|
||||
0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x22, 0x2e, 0x6d, 0x61, 0x6e, 0x74,
|
||||
0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79,
|
||||
0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e,
|
||||
0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45,
|
||||
0x6e, 0x74, 0x72, 0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||
0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x42, 0xa9, 0x01, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x2e,
|
||||
0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0f, 0x45, 0x6e, 0x74, 0x72,
|
||||
0x79, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d, 0x67,
|
||||
0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6d, 0x69, 0x7a, 0x75, 0x63, 0x68,
|
||||
0x69, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2f, 0x70, 0x72,
|
||||
0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2f,
|
||||
0x76, 0x31, 0x3b, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x4d,
|
||||
0x58, 0x58, 0xaa, 0x02, 0x0a, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x56, 0x31, 0xca,
|
||||
0x02, 0x0a, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x16, 0x4d,
|
||||
0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74,
|
||||
0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0b, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x3a,
|
||||
0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
})
|
||||
|
||||
var (
|
||||
|
||||
@@ -685,77 +685,76 @@ var file_mantrae_v1_event_proto_rawDesc = string([]byte{
|
||||
0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e,
|
||||
0x76, 0x31, 0x2e, 0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x48, 0x00,
|
||||
0x52, 0x0b, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x42, 0x0a, 0x0a,
|
||||
0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x82, 0x01, 0x0a, 0x14, 0x50, 0x72,
|
||||
0x6f, 0x66, 0x69, 0x6c, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x12, 0x29, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x22, 0x02,
|
||||
0x20, 0x00, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x3f, 0x0a,
|
||||
0x0e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18,
|
||||
0x02, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e,
|
||||
0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52,
|
||||
0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0x47,
|
||||
0x0a, 0x15, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52,
|
||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2e, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65,
|
||||
0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74,
|
||||
0x52, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x56, 0x0a, 0x13, 0x47, 0x6c, 0x6f, 0x62, 0x61,
|
||||
0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f,
|
||||
0x0a, 0x0e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73,
|
||||
0x18, 0x01, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65,
|
||||
0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65,
|
||||
0x52, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22,
|
||||
0x45, 0x0a, 0x14, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52,
|
||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65,
|
||||
0x2e, 0x76, 0x31, 0x2e, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52,
|
||||
0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2a, 0x6f, 0x0a, 0x09, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54,
|
||||
0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50,
|
||||
0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12,
|
||||
0x16, 0x0a, 0x12, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x52,
|
||||
0x45, 0x41, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x45, 0x56, 0x45, 0x4e, 0x54,
|
||||
0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x44, 0x10, 0x02, 0x12,
|
||||
0x16, 0x0a, 0x12, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x45,
|
||||
0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x03, 0x2a, 0x8d, 0x02, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x6f,
|
||||
0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x52, 0x45, 0x53, 0x4f,
|
||||
0x55, 0x52, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43,
|
||||
0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x18, 0x0a, 0x14, 0x52, 0x45, 0x53, 0x4f, 0x55,
|
||||
0x52, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x4f, 0x55, 0x54, 0x45, 0x52, 0x10,
|
||||
0x01, 0x12, 0x19, 0x0a, 0x15, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x54, 0x59,
|
||||
0x50, 0x45, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x10, 0x02, 0x12, 0x1c, 0x0a, 0x18,
|
||||
0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x49,
|
||||
0x44, 0x44, 0x4c, 0x45, 0x57, 0x41, 0x52, 0x45, 0x10, 0x03, 0x12, 0x1d, 0x0a, 0x19, 0x52, 0x45,
|
||||
0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x4e, 0x54, 0x52,
|
||||
0x59, 0x5f, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x10, 0x04, 0x12, 0x1b, 0x0a, 0x17, 0x52, 0x45, 0x53,
|
||||
0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x55, 0x44, 0x49, 0x54,
|
||||
0x5f, 0x4c, 0x4f, 0x47, 0x10, 0x05, 0x12, 0x17, 0x0a, 0x13, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52,
|
||||
0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x47, 0x45, 0x4e, 0x54, 0x10, 0x06, 0x12,
|
||||
0x16, 0x0a, 0x12, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45,
|
||||
0x5f, 0x55, 0x53, 0x45, 0x52, 0x10, 0x07, 0x12, 0x1e, 0x0a, 0x1a, 0x52, 0x45, 0x53, 0x4f, 0x55,
|
||||
0x52, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x4e, 0x53, 0x5f, 0x50, 0x52, 0x4f,
|
||||
0x56, 0x49, 0x44, 0x45, 0x52, 0x10, 0x08, 0x32, 0xbb, 0x01, 0x0a, 0x0c, 0x45, 0x76, 0x65, 0x6e,
|
||||
0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x56, 0x0a, 0x0d, 0x50, 0x72, 0x6f, 0x66,
|
||||
0x69, 0x6c, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x20, 0x2e, 0x6d, 0x61, 0x6e, 0x74,
|
||||
0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x45, 0x76,
|
||||
0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6d, 0x61,
|
||||
0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65,
|
||||
0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01,
|
||||
0x12, 0x53, 0x0a, 0x0c, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73,
|
||||
0x12, 0x1f, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x6c,
|
||||
0x6f, 0x62, 0x61, 0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x1a, 0x20, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47,
|
||||
0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x7f, 0x0a, 0x14, 0x50, 0x72, 0x6f,
|
||||
0x66, 0x69, 0x6c, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x12, 0x26, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x07, 0xba, 0x48, 0x04, 0x22, 0x02, 0x20, 0x00, 0x52, 0x09,
|
||||
0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x3f, 0x0a, 0x0e, 0x72, 0x65, 0x73,
|
||||
0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
|
||||
0x0e, 0x32, 0x18, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52,
|
||||
0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0d, 0x72, 0x65, 0x73,
|
||||
0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0x47, 0x0a, 0x15, 0x50, 0x72,
|
||||
0x6f, 0x66, 0x69, 0x6c, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||
0x6e, 0x73, 0x65, 0x12, 0x2e, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
||||
0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x65, 0x76,
|
||||
0x65, 0x6e, 0x74, 0x22, 0x56, 0x0a, 0x13, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x45, 0x76, 0x65,
|
||||
0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x0e, 0x72, 0x65,
|
||||
0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03,
|
||||
0x28, 0x0e, 0x32, 0x18, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
||||
0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0d, 0x72, 0x65,
|
||||
0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0x45, 0x0a, 0x14, 0x47,
|
||||
0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||
0x6e, 0x73, 0x65, 0x30, 0x01, 0x42, 0xa4, 0x01, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x2e, 0x6d, 0x61,
|
||||
0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0a, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x50,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
|
||||
0x6f, 0x6d, 0x2f, 0x6d, 0x69, 0x7a, 0x75, 0x63, 0x68, 0x69, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x6d,
|
||||
0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e,
|
||||
0x2f, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x6d, 0x61, 0x6e, 0x74,
|
||||
0x72, 0x61, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x4d, 0x58, 0x58, 0xaa, 0x02, 0x0a, 0x4d, 0x61,
|
||||
0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0a, 0x4d, 0x61, 0x6e, 0x74, 0x72,
|
||||
0x61, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x16, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x5c,
|
||||
0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02,
|
||||
0x0b, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72,
|
||||
0x6f, 0x74, 0x6f, 0x33,
|
||||
0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
||||
0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x65, 0x76, 0x65,
|
||||
0x6e, 0x74, 0x2a, 0x6f, 0x0a, 0x09, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12,
|
||||
0x1a, 0x0a, 0x16, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e,
|
||||
0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x45,
|
||||
0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45,
|
||||
0x44, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50,
|
||||
0x45, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x44, 0x10, 0x02, 0x12, 0x16, 0x0a, 0x12, 0x45,
|
||||
0x56, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45,
|
||||
0x44, 0x10, 0x03, 0x2a, 0x8d, 0x02, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
|
||||
0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45,
|
||||
0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45,
|
||||
0x44, 0x10, 0x00, 0x12, 0x18, 0x0a, 0x14, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f,
|
||||
0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x4f, 0x55, 0x54, 0x45, 0x52, 0x10, 0x01, 0x12, 0x19, 0x0a,
|
||||
0x15, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53,
|
||||
0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x10, 0x02, 0x12, 0x1c, 0x0a, 0x18, 0x52, 0x45, 0x53, 0x4f,
|
||||
0x55, 0x52, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x49, 0x44, 0x44, 0x4c, 0x45,
|
||||
0x57, 0x41, 0x52, 0x45, 0x10, 0x03, 0x12, 0x1d, 0x0a, 0x19, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52,
|
||||
0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x4e, 0x54, 0x52, 0x59, 0x5f, 0x50, 0x4f,
|
||||
0x49, 0x4e, 0x54, 0x10, 0x04, 0x12, 0x1b, 0x0a, 0x17, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43,
|
||||
0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x41, 0x55, 0x44, 0x49, 0x54, 0x5f, 0x4c, 0x4f, 0x47,
|
||||
0x10, 0x05, 0x12, 0x17, 0x0a, 0x13, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x54,
|
||||
0x59, 0x50, 0x45, 0x5f, 0x41, 0x47, 0x45, 0x4e, 0x54, 0x10, 0x06, 0x12, 0x16, 0x0a, 0x12, 0x52,
|
||||
0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x53, 0x45,
|
||||
0x52, 0x10, 0x07, 0x12, 0x1e, 0x0a, 0x1a, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f,
|
||||
0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x4e, 0x53, 0x5f, 0x50, 0x52, 0x4f, 0x56, 0x49, 0x44, 0x45,
|
||||
0x52, 0x10, 0x08, 0x32, 0xbb, 0x01, 0x0a, 0x0c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72,
|
||||
0x76, 0x69, 0x63, 0x65, 0x12, 0x56, 0x0a, 0x0d, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x45,
|
||||
0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x20, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e,
|
||||
0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61,
|
||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x45, 0x76, 0x65, 0x6e,
|
||||
0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x53, 0x0a, 0x0c,
|
||||
0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x1f, 0x2e, 0x6d,
|
||||
0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c,
|
||||
0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e,
|
||||
0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x6c, 0x6f, 0x62, 0x61,
|
||||
0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30,
|
||||
0x01, 0x42, 0xa4, 0x01, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61,
|
||||
0x65, 0x2e, 0x76, 0x31, 0x42, 0x0a, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f,
|
||||
0x50, 0x01, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6d,
|
||||
0x69, 0x7a, 0x75, 0x63, 0x68, 0x69, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x6d, 0x61, 0x6e, 0x74, 0x72,
|
||||
0x61, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x6d, 0x61, 0x6e,
|
||||
0x74, 0x72, 0x61, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x76,
|
||||
0x31, 0xa2, 0x02, 0x03, 0x4d, 0x58, 0x58, 0xaa, 0x02, 0x0a, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61,
|
||||
0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0a, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x5c, 0x56,
|
||||
0x31, 0xe2, 0x02, 0x16, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47,
|
||||
0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0b, 0x4d, 0x61, 0x6e,
|
||||
0x74, 0x72, 0x61, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
})
|
||||
|
||||
var (
|
||||
|
||||
@@ -37,8 +37,6 @@ const (
|
||||
UserServiceLoginUserProcedure = "/mantrae.v1.UserService/LoginUser"
|
||||
// UserServiceLogoutUserProcedure is the fully-qualified name of the UserService's LogoutUser RPC.
|
||||
UserServiceLogoutUserProcedure = "/mantrae.v1.UserService/LogoutUser"
|
||||
// UserServiceVerifyJWTProcedure is the fully-qualified name of the UserService's VerifyJWT RPC.
|
||||
UserServiceVerifyJWTProcedure = "/mantrae.v1.UserService/VerifyJWT"
|
||||
// UserServiceVerifyOTPProcedure is the fully-qualified name of the UserService's VerifyOTP RPC.
|
||||
UserServiceVerifyOTPProcedure = "/mantrae.v1.UserService/VerifyOTP"
|
||||
// UserServiceSendOTPProcedure is the fully-qualified name of the UserService's SendOTP RPC.
|
||||
@@ -62,7 +60,6 @@ const (
|
||||
type UserServiceClient interface {
|
||||
LoginUser(context.Context, *connect.Request[v1.LoginUserRequest]) (*connect.Response[v1.LoginUserResponse], error)
|
||||
LogoutUser(context.Context, *connect.Request[v1.LogoutUserRequest]) (*connect.Response[v1.LogoutUserResponse], error)
|
||||
VerifyJWT(context.Context, *connect.Request[v1.VerifyJWTRequest]) (*connect.Response[v1.VerifyJWTResponse], error)
|
||||
VerifyOTP(context.Context, *connect.Request[v1.VerifyOTPRequest]) (*connect.Response[v1.VerifyOTPResponse], error)
|
||||
SendOTP(context.Context, *connect.Request[v1.SendOTPRequest]) (*connect.Response[v1.SendOTPResponse], error)
|
||||
GetUser(context.Context, *connect.Request[v1.GetUserRequest]) (*connect.Response[v1.GetUserResponse], error)
|
||||
@@ -96,12 +93,6 @@ func NewUserServiceClient(httpClient connect.HTTPClient, baseURL string, opts ..
|
||||
connect.WithSchema(userServiceMethods.ByName("LogoutUser")),
|
||||
connect.WithClientOptions(opts...),
|
||||
),
|
||||
verifyJWT: connect.NewClient[v1.VerifyJWTRequest, v1.VerifyJWTResponse](
|
||||
httpClient,
|
||||
baseURL+UserServiceVerifyJWTProcedure,
|
||||
connect.WithSchema(userServiceMethods.ByName("VerifyJWT")),
|
||||
connect.WithClientOptions(opts...),
|
||||
),
|
||||
verifyOTP: connect.NewClient[v1.VerifyOTPRequest, v1.VerifyOTPResponse](
|
||||
httpClient,
|
||||
baseURL+UserServiceVerifyOTPProcedure,
|
||||
@@ -159,7 +150,6 @@ func NewUserServiceClient(httpClient connect.HTTPClient, baseURL string, opts ..
|
||||
type userServiceClient struct {
|
||||
loginUser *connect.Client[v1.LoginUserRequest, v1.LoginUserResponse]
|
||||
logoutUser *connect.Client[v1.LogoutUserRequest, v1.LogoutUserResponse]
|
||||
verifyJWT *connect.Client[v1.VerifyJWTRequest, v1.VerifyJWTResponse]
|
||||
verifyOTP *connect.Client[v1.VerifyOTPRequest, v1.VerifyOTPResponse]
|
||||
sendOTP *connect.Client[v1.SendOTPRequest, v1.SendOTPResponse]
|
||||
getUser *connect.Client[v1.GetUserRequest, v1.GetUserResponse]
|
||||
@@ -180,11 +170,6 @@ func (c *userServiceClient) LogoutUser(ctx context.Context, req *connect.Request
|
||||
return c.logoutUser.CallUnary(ctx, req)
|
||||
}
|
||||
|
||||
// VerifyJWT calls mantrae.v1.UserService.VerifyJWT.
|
||||
func (c *userServiceClient) VerifyJWT(ctx context.Context, req *connect.Request[v1.VerifyJWTRequest]) (*connect.Response[v1.VerifyJWTResponse], error) {
|
||||
return c.verifyJWT.CallUnary(ctx, req)
|
||||
}
|
||||
|
||||
// VerifyOTP calls mantrae.v1.UserService.VerifyOTP.
|
||||
func (c *userServiceClient) VerifyOTP(ctx context.Context, req *connect.Request[v1.VerifyOTPRequest]) (*connect.Response[v1.VerifyOTPResponse], error) {
|
||||
return c.verifyOTP.CallUnary(ctx, req)
|
||||
@@ -229,7 +214,6 @@ func (c *userServiceClient) GetOIDCStatus(ctx context.Context, req *connect.Requ
|
||||
type UserServiceHandler interface {
|
||||
LoginUser(context.Context, *connect.Request[v1.LoginUserRequest]) (*connect.Response[v1.LoginUserResponse], error)
|
||||
LogoutUser(context.Context, *connect.Request[v1.LogoutUserRequest]) (*connect.Response[v1.LogoutUserResponse], error)
|
||||
VerifyJWT(context.Context, *connect.Request[v1.VerifyJWTRequest]) (*connect.Response[v1.VerifyJWTResponse], error)
|
||||
VerifyOTP(context.Context, *connect.Request[v1.VerifyOTPRequest]) (*connect.Response[v1.VerifyOTPResponse], error)
|
||||
SendOTP(context.Context, *connect.Request[v1.SendOTPRequest]) (*connect.Response[v1.SendOTPResponse], error)
|
||||
GetUser(context.Context, *connect.Request[v1.GetUserRequest]) (*connect.Response[v1.GetUserResponse], error)
|
||||
@@ -259,12 +243,6 @@ func NewUserServiceHandler(svc UserServiceHandler, opts ...connect.HandlerOption
|
||||
connect.WithSchema(userServiceMethods.ByName("LogoutUser")),
|
||||
connect.WithHandlerOptions(opts...),
|
||||
)
|
||||
userServiceVerifyJWTHandler := connect.NewUnaryHandler(
|
||||
UserServiceVerifyJWTProcedure,
|
||||
svc.VerifyJWT,
|
||||
connect.WithSchema(userServiceMethods.ByName("VerifyJWT")),
|
||||
connect.WithHandlerOptions(opts...),
|
||||
)
|
||||
userServiceVerifyOTPHandler := connect.NewUnaryHandler(
|
||||
UserServiceVerifyOTPProcedure,
|
||||
svc.VerifyOTP,
|
||||
@@ -321,8 +299,6 @@ func NewUserServiceHandler(svc UserServiceHandler, opts ...connect.HandlerOption
|
||||
userServiceLoginUserHandler.ServeHTTP(w, r)
|
||||
case UserServiceLogoutUserProcedure:
|
||||
userServiceLogoutUserHandler.ServeHTTP(w, r)
|
||||
case UserServiceVerifyJWTProcedure:
|
||||
userServiceVerifyJWTHandler.ServeHTTP(w, r)
|
||||
case UserServiceVerifyOTPProcedure:
|
||||
userServiceVerifyOTPHandler.ServeHTTP(w, r)
|
||||
case UserServiceSendOTPProcedure:
|
||||
@@ -356,10 +332,6 @@ func (UnimplementedUserServiceHandler) LogoutUser(context.Context, *connect.Requ
|
||||
return nil, connect.NewError(connect.CodeUnimplemented, errors.New("mantrae.v1.UserService.LogoutUser is not implemented"))
|
||||
}
|
||||
|
||||
func (UnimplementedUserServiceHandler) VerifyJWT(context.Context, *connect.Request[v1.VerifyJWTRequest]) (*connect.Response[v1.VerifyJWTResponse], error) {
|
||||
return nil, connect.NewError(connect.CodeUnimplemented, errors.New("mantrae.v1.UserService.VerifyJWT is not implemented"))
|
||||
}
|
||||
|
||||
func (UnimplementedUserServiceHandler) VerifyOTP(context.Context, *connect.Request[v1.VerifyOTPRequest]) (*connect.Response[v1.VerifyOTPResponse], error) {
|
||||
return nil, connect.NewError(connect.CodeUnimplemented, errors.New("mantrae.v1.UserService.VerifyOTP is not implemented"))
|
||||
}
|
||||
|
||||
@@ -1093,161 +1093,159 @@ var file_mantrae_v1_middleware_proto_rawDesc = string([]byte{
|
||||
0x70, 0x65, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x38, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
||||
0x52, 0x03, 0x6b, 0x38, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x79, 0x61, 0x6d, 0x6c, 0x18, 0x02, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x04, 0x79, 0x61, 0x6d, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x6f, 0x6d,
|
||||
0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x6f, 0x6d, 0x6c, 0x22, 0x6f, 0x0a,
|
||||
0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x6f, 0x6d, 0x6c, 0x22, 0x69, 0x0a,
|
||||
0x14, 0x47, 0x65, 0x74, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x03, 0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x22, 0x02, 0x20, 0x00, 0x52, 0x02, 0x69,
|
||||
0x64, 0x12, 0x3b, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32,
|
||||
0x1a, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x69, 0x64,
|
||||
0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0b, 0xba, 0x48, 0x08,
|
||||
0xc8, 0x01, 0x01, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x4f,
|
||||
0x0a, 0x15, 0x47, 0x65, 0x74, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x52,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x03, 0x42, 0x07, 0xba, 0x48, 0x04, 0x22, 0x02, 0x20, 0x00, 0x52, 0x02, 0x69, 0x64, 0x12, 0x38,
|
||||
0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x6d,
|
||||
0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65,
|
||||
0x77, 0x61, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x42, 0x08, 0xba, 0x48, 0x05, 0x82, 0x01, 0x02,
|
||||
0x10, 0x01, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x4f, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x4d,
|
||||
0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
||||
0x65, 0x12, 0x36, 0x0a, 0x0a, 0x6d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e,
|
||||
0x76, 0x31, 0x2e, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x52, 0x0a, 0x6d,
|
||||
0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x22, 0xe4, 0x01, 0x0a, 0x17, 0x43, 0x72,
|
||||
0x65, 0x61, 0x74, 0x65, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65,
|
||||
0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x07, 0xba, 0x48, 0x04, 0x22, 0x02,
|
||||
0x20, 0x00, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a,
|
||||
0x08, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x07, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
|
||||
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52,
|
||||
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20,
|
||||
0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31,
|
||||
0x2e, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x42,
|
||||
0x08, 0xba, 0x48, 0x05, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12,
|
||||
0x2f, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||||
0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
|
||||
0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
|
||||
0x22, 0x52, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65,
|
||||
0x77, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x0a,
|
||||
0x6d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
||||
0x32, 0x16, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x69,
|
||||
0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x52, 0x0a, 0x6d, 0x69, 0x64, 0x64, 0x6c, 0x65,
|
||||
0x77, 0x61, 0x72, 0x65, 0x22, 0xd4, 0x01, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d,
|
||||
0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x12, 0x17, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x07, 0xba, 0x48,
|
||||
0x04, 0x22, 0x02, 0x20, 0x00, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
|
||||
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01,
|
||||
0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03,
|
||||
0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76,
|
||||
0x31, 0x2e, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65,
|
||||
0x42, 0x08, 0xba, 0x48, 0x05, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65,
|
||||
0x12, 0x2f, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b,
|
||||
0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
|
||||
0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69,
|
||||
0x67, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01,
|
||||
0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x22, 0x52, 0x0a, 0x18, 0x55,
|
||||
0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x52,
|
||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x0a, 0x6d, 0x69, 0x64, 0x64, 0x6c,
|
||||
0x65, 0x77, 0x61, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x61,
|
||||
0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77,
|
||||
0x61, 0x72, 0x65, 0x52, 0x0a, 0x6d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x22,
|
||||
0xed, 0x01, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65,
|
||||
0x77, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x0a, 0x70,
|
||||
0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42,
|
||||
0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x22, 0x02, 0x20, 0x00, 0x52, 0x09, 0x70, 0x72, 0x6f,
|
||||
0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f,
|
||||
0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x49,
|
||||
0x64, 0x12, 0x1e, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42,
|
||||
0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x72, 0x02, 0x10, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d,
|
||||
0x65, 0x12, 0x3b, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32,
|
||||
0x1a, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x69, 0x64,
|
||||
0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0b, 0xba, 0x48, 0x08,
|
||||
0xc8, 0x01, 0x01, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x2f,
|
||||
0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17,
|
||||
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
|
||||
0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22,
|
||||
0x52, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77,
|
||||
0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x0a, 0x6d,
|
||||
0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||||
0x16, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x69, 0x64,
|
||||
0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x52, 0x0a, 0x6d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77,
|
||||
0x61, 0x72, 0x65, 0x22, 0xdd, 0x01, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x69,
|
||||
0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
||||
0x1a, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x0a, 0xba, 0x48, 0x07,
|
||||
0xc8, 0x01, 0x01, 0x22, 0x02, 0x20, 0x00, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x04, 0x6e,
|
||||
0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01,
|
||||
0x01, 0x72, 0x02, 0x10, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x04, 0x74,
|
||||
0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x6d, 0x61, 0x6e, 0x74,
|
||||
0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72,
|
||||
0x65, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0b, 0xba, 0x48, 0x08, 0xc8, 0x01, 0x01, 0x82, 0x01, 0x02,
|
||||
0x10, 0x01, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66,
|
||||
0x69, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
|
||||
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63,
|
||||
0x74, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61,
|
||||
0x62, 0x6c, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62,
|
||||
0x6c, 0x65, 0x64, 0x22, 0x52, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x69, 0x64,
|
||||
0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
||||
0x36, 0x0a, 0x0a, 0x6d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31,
|
||||
0x2e, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x52, 0x0a, 0x6d, 0x69, 0x64,
|
||||
0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x22, 0x72, 0x0a, 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74,
|
||||
0x65, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x12, 0x1a, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x0a,
|
||||
0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x22, 0x02, 0x20, 0x00, 0x52, 0x02, 0x69, 0x64, 0x12, 0x3b,
|
||||
0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x6d,
|
||||
0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65,
|
||||
0x77, 0x61, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0b, 0xba, 0x48, 0x08, 0xc8, 0x01, 0x01,
|
||||
0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x1a, 0x0a, 0x18, 0x44,
|
||||
0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x52,
|
||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xef, 0x02, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74,
|
||||
0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x12, 0x29, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x22, 0x02,
|
||||
0x20, 0x00, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x27, 0x0a,
|
||||
0x08, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42,
|
||||
0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x48, 0x00, 0x52, 0x07, 0x61, 0x67, 0x65, 0x6e,
|
||||
0x74, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x3d, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03,
|
||||
0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76,
|
||||
0x31, 0x2e, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65,
|
||||
0x42, 0x08, 0xba, 0x48, 0x05, 0x82, 0x01, 0x02, 0x10, 0x01, 0x48, 0x01, 0x52, 0x04, 0x74, 0x79,
|
||||
0x70, 0x65, 0x88, 0x01, 0x01, 0x12, 0x71, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04,
|
||||
0x20, 0x01, 0x28, 0x03, 0x42, 0x56, 0xba, 0x48, 0x53, 0xba, 0x01, 0x50, 0x0a, 0x0b, 0x6c, 0x69,
|
||||
0x6d, 0x69, 0x74, 0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x12, 0x29, 0x6c, 0x69, 0x6d, 0x69, 0x74,
|
||||
0x20, 0x6d, 0x75, 0x73, 0x74, 0x20, 0x62, 0x65, 0x20, 0x65, 0x69, 0x74, 0x68, 0x65, 0x72, 0x20,
|
||||
0x2d, 0x31, 0x20, 0x6f, 0x72, 0x20, 0x67, 0x72, 0x65, 0x61, 0x74, 0x65, 0x72, 0x20, 0x74, 0x68,
|
||||
0x61, 0x6e, 0x20, 0x30, 0x1a, 0x16, 0x74, 0x68, 0x69, 0x73, 0x20, 0x3d, 0x3d, 0x20, 0x2d, 0x31,
|
||||
0x20, 0x7c, 0x7c, 0x20, 0x74, 0x68, 0x69, 0x73, 0x20, 0x3e, 0x20, 0x30, 0x48, 0x02, 0x52, 0x05,
|
||||
0x6c, 0x69, 0x6d, 0x69, 0x74, 0x88, 0x01, 0x01, 0x12, 0x24, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73,
|
||||
0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x42, 0x07, 0xba, 0x48, 0x04, 0x22, 0x02, 0x28,
|
||||
0x00, 0x48, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x88, 0x01, 0x01, 0x42, 0x0b,
|
||||
0x0a, 0x09, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x42, 0x07, 0x0a, 0x05, 0x5f,
|
||||
0x74, 0x79, 0x70, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x42, 0x09,
|
||||
0x0a, 0x07, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x22, 0x74, 0x0a, 0x17, 0x4c, 0x69, 0x73,
|
||||
0x74, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x0b, 0x6d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61,
|
||||
0x72, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x61, 0x6e, 0x74,
|
||||
0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72,
|
||||
0x65, 0x52, 0x0b, 0x6d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x73, 0x12, 0x1f,
|
||||
0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20,
|
||||
0x01, 0x28, 0x03, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22,
|
||||
0x1d, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65,
|
||||
0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x4c,
|
||||
0x0a, 0x1c, 0x47, 0x65, 0x74, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x50,
|
||||
0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c,
|
||||
0x0a, 0x07, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
||||
0x12, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x75,
|
||||
0x67, 0x69, 0x6e, 0x52, 0x07, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2a, 0x64, 0x0a, 0x0e,
|
||||
0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f,
|
||||
0x0a, 0x1b, 0x4d, 0x49, 0x44, 0x44, 0x4c, 0x45, 0x57, 0x41, 0x52, 0x45, 0x5f, 0x54, 0x59, 0x50,
|
||||
0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12,
|
||||
0x18, 0x0a, 0x14, 0x4d, 0x49, 0x44, 0x44, 0x4c, 0x45, 0x57, 0x41, 0x52, 0x45, 0x5f, 0x54, 0x59,
|
||||
0x50, 0x45, 0x5f, 0x48, 0x54, 0x54, 0x50, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x4d, 0x49, 0x44,
|
||||
0x44, 0x4c, 0x45, 0x57, 0x41, 0x52, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x54, 0x43, 0x50,
|
||||
0x10, 0x02, 0x32, 0xdc, 0x04, 0x0a, 0x11, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72,
|
||||
0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x59, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4d,
|
||||
0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x12, 0x20, 0x2e, 0x6d, 0x61, 0x6e, 0x74,
|
||||
0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65,
|
||||
0x77, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6d, 0x61,
|
||||
0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x69, 0x64, 0x64,
|
||||
0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03,
|
||||
0x90, 0x02, 0x01, 0x12, 0x5d, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x69, 0x64,
|
||||
0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x12, 0x23, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61,
|
||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x69, 0x64, 0x64, 0x6c,
|
||||
0x65, 0x77, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x6d,
|
||||
0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
|
||||
0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||
0x73, 0x65, 0x12, 0x5d, 0x0a, 0x10, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x69, 0x64, 0x64,
|
||||
0x6c, 0x0a, 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77,
|
||||
0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x02, 0x69, 0x64,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x07, 0xba, 0x48, 0x04, 0x22, 0x02, 0x20, 0x00, 0x52,
|
||||
0x02, 0x69, 0x64, 0x12, 0x38, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||
0x0e, 0x32, 0x1a, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d,
|
||||
0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x42, 0x08, 0xba,
|
||||
0x48, 0x05, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x1a, 0x0a,
|
||||
0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72,
|
||||
0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xec, 0x02, 0x0a, 0x16, 0x4c, 0x69,
|
||||
0x73, 0x74, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x73, 0x52, 0x65, 0x71,
|
||||
0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f,
|
||||
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x07, 0xba, 0x48, 0x04, 0x22, 0x02, 0x20,
|
||||
0x00, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x08,
|
||||
0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07,
|
||||
0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x48, 0x00, 0x52, 0x07, 0x61, 0x67, 0x65, 0x6e, 0x74,
|
||||
0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x3d, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20,
|
||||
0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31,
|
||||
0x2e, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x42,
|
||||
0x08, 0xba, 0x48, 0x05, 0x82, 0x01, 0x02, 0x10, 0x01, 0x48, 0x01, 0x52, 0x04, 0x74, 0x79, 0x70,
|
||||
0x65, 0x88, 0x01, 0x01, 0x12, 0x71, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20,
|
||||
0x01, 0x28, 0x03, 0x42, 0x56, 0xba, 0x48, 0x53, 0xba, 0x01, 0x50, 0x0a, 0x0b, 0x6c, 0x69, 0x6d,
|
||||
0x69, 0x74, 0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x12, 0x29, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x20,
|
||||
0x6d, 0x75, 0x73, 0x74, 0x20, 0x62, 0x65, 0x20, 0x65, 0x69, 0x74, 0x68, 0x65, 0x72, 0x20, 0x2d,
|
||||
0x31, 0x20, 0x6f, 0x72, 0x20, 0x67, 0x72, 0x65, 0x61, 0x74, 0x65, 0x72, 0x20, 0x74, 0x68, 0x61,
|
||||
0x6e, 0x20, 0x30, 0x1a, 0x16, 0x74, 0x68, 0x69, 0x73, 0x20, 0x3d, 0x3d, 0x20, 0x2d, 0x31, 0x20,
|
||||
0x7c, 0x7c, 0x20, 0x74, 0x68, 0x69, 0x73, 0x20, 0x3e, 0x20, 0x30, 0x48, 0x02, 0x52, 0x05, 0x6c,
|
||||
0x69, 0x6d, 0x69, 0x74, 0x88, 0x01, 0x01, 0x12, 0x24, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65,
|
||||
0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x42, 0x07, 0xba, 0x48, 0x04, 0x22, 0x02, 0x28, 0x00,
|
||||
0x48, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x88, 0x01, 0x01, 0x42, 0x0b, 0x0a,
|
||||
0x09, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x74,
|
||||
0x79, 0x70, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x42, 0x09, 0x0a,
|
||||
0x07, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x22, 0x74, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74,
|
||||
0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||
0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x0b, 0x6d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72,
|
||||
0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72,
|
||||
0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65,
|
||||
0x52, 0x0b, 0x6d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x73, 0x12, 0x1f, 0x0a,
|
||||
0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01,
|
||||
0x28, 0x03, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x1d,
|
||||
0x0a, 0x1b, 0x47, 0x65, 0x74, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x50,
|
||||
0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x4c, 0x0a,
|
||||
0x1c, 0x47, 0x65, 0x74, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x50, 0x6c,
|
||||
0x75, 0x67, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a,
|
||||
0x07, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12,
|
||||
0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x75, 0x67,
|
||||
0x69, 0x6e, 0x52, 0x07, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2a, 0x64, 0x0a, 0x0e, 0x4d,
|
||||
0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a,
|
||||
0x1b, 0x4d, 0x49, 0x44, 0x44, 0x4c, 0x45, 0x57, 0x41, 0x52, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45,
|
||||
0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x18,
|
||||
0x0a, 0x14, 0x4d, 0x49, 0x44, 0x44, 0x4c, 0x45, 0x57, 0x41, 0x52, 0x45, 0x5f, 0x54, 0x59, 0x50,
|
||||
0x45, 0x5f, 0x48, 0x54, 0x54, 0x50, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x4d, 0x49, 0x44, 0x44,
|
||||
0x4c, 0x45, 0x57, 0x41, 0x52, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x54, 0x43, 0x50, 0x10,
|
||||
0x02, 0x32, 0xdc, 0x04, 0x0a, 0x11, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65,
|
||||
0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x59, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4d, 0x69,
|
||||
0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x12, 0x20, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72,
|
||||
0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77,
|
||||
0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6d, 0x61, 0x6e,
|
||||
0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x69, 0x64, 0x64, 0x6c,
|
||||
0x65, 0x77, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90,
|
||||
0x02, 0x01, 0x12, 0x5d, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x69, 0x64, 0x64,
|
||||
0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x12, 0x23, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65,
|
||||
0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65,
|
||||
0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65,
|
||||
0x77, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x6d, 0x61,
|
||||
0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d,
|
||||
0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d,
|
||||
0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
||||
0x65, 0x12, 0x5d, 0x0a, 0x10, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x69, 0x64, 0x64, 0x6c,
|
||||
0x65, 0x12, 0x5d, 0x0a, 0x10, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x69, 0x64, 0x64, 0x6c,
|
||||
0x65, 0x77, 0x61, 0x72, 0x65, 0x12, 0x23, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e,
|
||||
0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77,
|
||||
0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77,
|
||||
0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x6d, 0x61, 0x6e,
|
||||
0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x69,
|
||||
0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x69,
|
||||
0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||||
0x12, 0x5f, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61,
|
||||
0x72, 0x65, 0x73, 0x12, 0x22, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31,
|
||||
0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x73,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61,
|
||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77,
|
||||
0x61, 0x72, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02,
|
||||
0x01, 0x12, 0x6e, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61,
|
||||
0x72, 0x65, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x12, 0x27, 0x2e, 0x6d, 0x61, 0x6e, 0x74,
|
||||
0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65,
|
||||
0x77, 0x61, 0x72, 0x65, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x1a, 0x28, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
||||
0x47, 0x65, 0x74, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x50, 0x6c, 0x75,
|
||||
0x67, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02,
|
||||
0x01, 0x42, 0xa9, 0x01, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61,
|
||||
0x65, 0x2e, 0x76, 0x31, 0x42, 0x0f, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65,
|
||||
0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
|
||||
0x63, 0x6f, 0x6d, 0x2f, 0x6d, 0x69, 0x7a, 0x75, 0x63, 0x68, 0x69, 0x6c, 0x61, 0x62, 0x73, 0x2f,
|
||||
0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65,
|
||||
0x6e, 0x2f, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x6d, 0x61, 0x6e,
|
||||
0x74, 0x72, 0x61, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x4d, 0x58, 0x58, 0xaa, 0x02, 0x0a, 0x4d,
|
||||
0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0a, 0x4d, 0x61, 0x6e, 0x74,
|
||||
0x72, 0x61, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x16, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65,
|
||||
0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea,
|
||||
0x02, 0x0b, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
0x12, 0x5d, 0x0a, 0x10, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65,
|
||||
0x77, 0x61, 0x72, 0x65, 0x12, 0x23, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76,
|
||||
0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61,
|
||||
0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x6d, 0x61, 0x6e, 0x74,
|
||||
0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x69, 0x64,
|
||||
0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
||||
0x5f, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72,
|
||||
0x65, 0x73, 0x12, 0x22, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
||||
0x4c, 0x69, 0x73, 0x74, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x73, 0x52,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65,
|
||||
0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61,
|
||||
0x72, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01,
|
||||
0x12, 0x6e, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72,
|
||||
0x65, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x12, 0x27, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72,
|
||||
0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77,
|
||||
0x61, 0x72, 0x65, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x1a, 0x28, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47,
|
||||
0x65, 0x74, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x50, 0x6c, 0x75, 0x67,
|
||||
0x69, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01,
|
||||
0x42, 0xa9, 0x01, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65,
|
||||
0x2e, 0x76, 0x31, 0x42, 0x0f, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x50,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
|
||||
0x6f, 0x6d, 0x2f, 0x6d, 0x69, 0x7a, 0x75, 0x63, 0x68, 0x69, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x6d,
|
||||
0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e,
|
||||
0x2f, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x6d, 0x61, 0x6e, 0x74,
|
||||
0x72, 0x61, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x4d, 0x58, 0x58, 0xaa, 0x02, 0x0a, 0x4d, 0x61,
|
||||
0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0a, 0x4d, 0x61, 0x6e, 0x74, 0x72,
|
||||
0x61, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x16, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x5c,
|
||||
0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02,
|
||||
0x0b, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72,
|
||||
0x6f, 0x74, 0x6f, 0x33,
|
||||
})
|
||||
|
||||
var (
|
||||
|
||||
@@ -592,102 +592,101 @@ var file_mantrae_v1_profile_proto_rawDesc = string([]byte{
|
||||
0x74, 0x12, 0x39, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18,
|
||||
0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
|
||||
0x70, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x2f, 0x0a, 0x11,
|
||||
0x70, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x2c, 0x0a, 0x11,
|
||||
0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x12, 0x1a, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x0a, 0xba,
|
||||
0x48, 0x07, 0xc8, 0x01, 0x01, 0x22, 0x02, 0x20, 0x00, 0x52, 0x02, 0x69, 0x64, 0x22, 0x43, 0x0a,
|
||||
0x12, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||
0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76,
|
||||
0x31, 0x2e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x66, 0x69,
|
||||
0x6c, 0x65, 0x22, 0x6d, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x66,
|
||||
0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x04, 0x6e, 0x61,
|
||||
0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01, 0x01,
|
||||
0x72, 0x02, 0x10, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65,
|
||||
0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48,
|
||||
0x00, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01,
|
||||
0x01, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
|
||||
0x6e, 0x22, 0x46, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x66, 0x69,
|
||||
0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x07, 0x70, 0x72,
|
||||
0x6f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x61,
|
||||
0x74, 0x12, 0x17, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x07, 0xba,
|
||||
0x48, 0x04, 0x22, 0x02, 0x20, 0x00, 0x52, 0x02, 0x69, 0x64, 0x22, 0x43, 0x0a, 0x12, 0x47, 0x65,
|
||||
0x74, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||||
0x12, 0x2d, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50,
|
||||
0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x22,
|
||||
0x6a, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x04,
|
||||
0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
|
||||
0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x65, 0x73,
|
||||
0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x0e, 0x0a, 0x0c, 0x5f,
|
||||
0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x46, 0x0a, 0x15, 0x43,
|
||||
0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e,
|
||||
0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x66,
|
||||
0x69, 0x6c, 0x65, 0x22, 0x83, 0x01, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72,
|
||||
0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x02,
|
||||
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x07, 0xba, 0x48, 0x04, 0x22, 0x02, 0x20,
|
||||
0x00, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
|
||||
0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x04, 0x6e, 0x61,
|
||||
0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
|
||||
0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72,
|
||||
0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x64, 0x65,
|
||||
0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x46, 0x0a, 0x15, 0x55, 0x70, 0x64,
|
||||
0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||
0x73, 0x65, 0x12, 0x2d, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31,
|
||||
0x2e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c,
|
||||
0x65, 0x22, 0x2f, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x66, 0x69,
|
||||
0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x02, 0x69, 0x64, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x07, 0xba, 0x48, 0x04, 0x22, 0x02, 0x20, 0x00, 0x52, 0x02,
|
||||
0x69, 0x64, 0x22, 0x17, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x66,
|
||||
0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xc3, 0x01, 0x0a, 0x13,
|
||||
0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x12, 0x71, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x03, 0x42, 0x56, 0xba, 0x48, 0x53, 0xba, 0x01, 0x50, 0x0a, 0x0b, 0x6c, 0x69, 0x6d, 0x69,
|
||||
0x74, 0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x12, 0x29, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x20, 0x6d,
|
||||
0x75, 0x73, 0x74, 0x20, 0x62, 0x65, 0x20, 0x65, 0x69, 0x74, 0x68, 0x65, 0x72, 0x20, 0x2d, 0x31,
|
||||
0x20, 0x6f, 0x72, 0x20, 0x67, 0x72, 0x65, 0x61, 0x74, 0x65, 0x72, 0x20, 0x74, 0x68, 0x61, 0x6e,
|
||||
0x20, 0x30, 0x1a, 0x16, 0x74, 0x68, 0x69, 0x73, 0x20, 0x3d, 0x3d, 0x20, 0x2d, 0x31, 0x20, 0x7c,
|
||||
0x7c, 0x20, 0x74, 0x68, 0x69, 0x73, 0x20, 0x3e, 0x20, 0x30, 0x48, 0x00, 0x52, 0x05, 0x6c, 0x69,
|
||||
0x6d, 0x69, 0x74, 0x88, 0x01, 0x01, 0x12, 0x24, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74,
|
||||
0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x42, 0x07, 0xba, 0x48, 0x04, 0x22, 0x02, 0x28, 0x00, 0x48,
|
||||
0x01, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x88, 0x01, 0x01, 0x42, 0x08, 0x0a, 0x06,
|
||||
0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65,
|
||||
0x74, 0x22, 0x68, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65,
|
||||
0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x08, 0x70, 0x72, 0x6f,
|
||||
0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x61,
|
||||
0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65,
|
||||
0x52, 0x07, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x22, 0x89, 0x01, 0x0a, 0x14, 0x55, 0x70,
|
||||
0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x12, 0x1a, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x0a,
|
||||
0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x22, 0x02, 0x20, 0x00, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1e,
|
||||
0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0xba, 0x48,
|
||||
0x07, 0xc8, 0x01, 0x01, 0x72, 0x02, 0x10, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25,
|
||||
0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20,
|
||||
0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
|
||||
0x6f, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69,
|
||||
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x46, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50,
|
||||
0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d,
|
||||
0x0a, 0x07, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||||
0x13, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f,
|
||||
0x66, 0x69, 0x6c, 0x65, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x22, 0x32, 0x0a,
|
||||
0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x03, 0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x22, 0x02, 0x20, 0x00, 0x52, 0x02, 0x69,
|
||||
0x64, 0x22, 0x17, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x66, 0x69,
|
||||
0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xc3, 0x01, 0x0a, 0x13, 0x4c,
|
||||
0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x12, 0x71, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x03, 0x42, 0x56, 0xba, 0x48, 0x53, 0xba, 0x01, 0x50, 0x0a, 0x0b, 0x6c, 0x69, 0x6d, 0x69, 0x74,
|
||||
0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x12, 0x29, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x20, 0x6d, 0x75,
|
||||
0x73, 0x74, 0x20, 0x62, 0x65, 0x20, 0x65, 0x69, 0x74, 0x68, 0x65, 0x72, 0x20, 0x2d, 0x31, 0x20,
|
||||
0x6f, 0x72, 0x20, 0x67, 0x72, 0x65, 0x61, 0x74, 0x65, 0x72, 0x20, 0x74, 0x68, 0x61, 0x6e, 0x20,
|
||||
0x30, 0x1a, 0x16, 0x74, 0x68, 0x69, 0x73, 0x20, 0x3d, 0x3d, 0x20, 0x2d, 0x31, 0x20, 0x7c, 0x7c,
|
||||
0x20, 0x74, 0x68, 0x69, 0x73, 0x20, 0x3e, 0x20, 0x30, 0x48, 0x00, 0x52, 0x05, 0x6c, 0x69, 0x6d,
|
||||
0x69, 0x74, 0x88, 0x01, 0x01, 0x12, 0x24, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x03, 0x42, 0x07, 0xba, 0x48, 0x04, 0x22, 0x02, 0x28, 0x00, 0x48, 0x01,
|
||||
0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x88, 0x01, 0x01, 0x42, 0x08, 0x0a, 0x06, 0x5f,
|
||||
0x6c, 0x69, 0x6d, 0x69, 0x74, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74,
|
||||
0x22, 0x68, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x73,
|
||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x66,
|
||||
0x69, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x61, 0x6e,
|
||||
0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52,
|
||||
0x08, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x74,
|
||||
0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a,
|
||||
0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x32, 0xbc, 0x03, 0x0a, 0x0e, 0x50,
|
||||
0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x50, 0x0a,
|
||||
0x0a, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x1d, 0x2e, 0x6d, 0x61,
|
||||
0x52, 0x08, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x6f,
|
||||
0x74, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||
0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x32, 0xbc, 0x03, 0x0a, 0x0e,
|
||||
0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x50,
|
||||
0x0a, 0x0a, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x1d, 0x2e, 0x6d,
|
||||
0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f,
|
||||
0x66, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x6d, 0x61,
|
||||
0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x66,
|
||||
0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x6d, 0x61, 0x6e,
|
||||
0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x66, 0x69,
|
||||
0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12,
|
||||
0x54, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65,
|
||||
0x12, 0x20, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72,
|
||||
0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
||||
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73,
|
||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x54, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50,
|
||||
0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x20, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65,
|
||||
0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c,
|
||||
0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72,
|
||||
0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x66,
|
||||
0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x54, 0x0a, 0x0d, 0x44,
|
||||
0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x20, 0x2e, 0x6d,
|
||||
0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
|
||||
0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21,
|
||||
0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65,
|
||||
0x74, 0x65, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
||||
0x65, 0x12, 0x56, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65,
|
||||
0x73, 0x12, 0x1f, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c,
|
||||
0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x1a, 0x20, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
||||
0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x42, 0xa6, 0x01, 0x0a, 0x0e, 0x63, 0x6f,
|
||||
0x6d, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x50, 0x72,
|
||||
0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d, 0x67, 0x69,
|
||||
0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6d, 0x69, 0x7a, 0x75, 0x63, 0x68, 0x69,
|
||||
0x6c, 0x61, 0x62, 0x73, 0x2f, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2f, 0x70, 0x72, 0x6f,
|
||||
0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2f, 0x76,
|
||||
0x31, 0x3b, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x4d, 0x58,
|
||||
0x58, 0xaa, 0x02, 0x0a, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02,
|
||||
0x0a, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x16, 0x4d, 0x61,
|
||||
0x6e, 0x74, 0x72, 0x61, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61,
|
||||
0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0b, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x3a, 0x3a,
|
||||
0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01,
|
||||
0x12, 0x54, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c,
|
||||
0x65, 0x12, 0x20, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43,
|
||||
0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31,
|
||||
0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x65,
|
||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x54, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
|
||||
0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x20, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61,
|
||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x66, 0x69,
|
||||
0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6d, 0x61, 0x6e, 0x74,
|
||||
0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f,
|
||||
0x66, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x54, 0x0a, 0x0d,
|
||||
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x20, 0x2e,
|
||||
0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74,
|
||||
0x65, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
||||
0x21, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c,
|
||||
0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||
0x73, 0x65, 0x12, 0x56, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c,
|
||||
0x65, 0x73, 0x12, 0x1f, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
||||
0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31,
|
||||
0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73,
|
||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x42, 0xa6, 0x01, 0x0a, 0x0e, 0x63,
|
||||
0x6f, 0x6d, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x50,
|
||||
0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d, 0x67,
|
||||
0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6d, 0x69, 0x7a, 0x75, 0x63, 0x68,
|
||||
0x69, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2f, 0x70, 0x72,
|
||||
0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2f,
|
||||
0x76, 0x31, 0x3b, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x4d,
|
||||
0x58, 0x58, 0xaa, 0x02, 0x0a, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x56, 0x31, 0xca,
|
||||
0x02, 0x0a, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x16, 0x4d,
|
||||
0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74,
|
||||
0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0b, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x3a,
|
||||
0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
})
|
||||
|
||||
var (
|
||||
|
||||
+128
-130
@@ -798,141 +798,139 @@ var file_mantrae_v1_router_proto_rawDesc = string([]byte{
|
||||
0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
|
||||
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
|
||||
0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74,
|
||||
0x65, 0x64, 0x41, 0x74, 0x22, 0x67, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x65,
|
||||
0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x03, 0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x22, 0x02, 0x20, 0x00,
|
||||
0x52, 0x02, 0x69, 0x64, 0x12, 0x37, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01,
|
||||
0x28, 0x0e, 0x32, 0x16, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
||||
0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0b, 0xba, 0x48, 0x08, 0xc8,
|
||||
0x01, 0x01, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x3f, 0x0a,
|
||||
0x11, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||
0x73, 0x65, 0x12, 0x2a, 0x0a, 0x06, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
||||
0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x52, 0x06, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x22, 0xff,
|
||||
0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x52,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c,
|
||||
0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8,
|
||||
0x01, 0x01, 0x22, 0x02, 0x20, 0x00, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x49,
|
||||
0x64, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x04,
|
||||
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8,
|
||||
0x01, 0x01, 0x72, 0x02, 0x10, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x06,
|
||||
0x65, 0x64, 0x41, 0x74, 0x22, 0x61, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x65,
|
||||
0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x03, 0x42, 0x07, 0xba, 0x48, 0x04, 0x22, 0x02, 0x20, 0x00, 0x52, 0x02, 0x69,
|
||||
0x64, 0x12, 0x34, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32,
|
||||
0x16, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75,
|
||||
0x74, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x42, 0x08, 0xba, 0x48, 0x05, 0x82, 0x01, 0x02, 0x10,
|
||||
0x01, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x3f, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x52, 0x6f,
|
||||
0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x06,
|
||||
0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d,
|
||||
0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72,
|
||||
0x52, 0x06, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x22, 0xf9, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65,
|
||||
0x61, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x12, 0x26, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x03, 0x42, 0x07, 0xba, 0x48, 0x04, 0x22, 0x02, 0x20, 0x00, 0x52, 0x09, 0x70,
|
||||
0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x67, 0x65, 0x6e,
|
||||
0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x67, 0x65, 0x6e,
|
||||
0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
|
||||
0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
|
||||
0x12, 0x2f, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b,
|
||||
0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
|
||||
0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69,
|
||||
0x67, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01,
|
||||
0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x37, 0x0a, 0x04, 0x74,
|
||||
0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x6d, 0x61, 0x6e, 0x74,
|
||||
0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x54, 0x79, 0x70,
|
||||
0x65, 0x42, 0x0b, 0xba, 0x48, 0x08, 0xc8, 0x01, 0x01, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x04,
|
||||
0x74, 0x79, 0x70, 0x65, 0x22, 0x42, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f,
|
||||
0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x06,
|
||||
0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d,
|
||||
0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72,
|
||||
0x52, 0x06, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x22, 0x8a, 0x02, 0x0a, 0x13, 0x55, 0x70, 0x64,
|
||||
0x61, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x12, 0x17, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x07, 0xba, 0x48,
|
||||
0x04, 0x22, 0x02, 0x20, 0x00, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
|
||||
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01,
|
||||
0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x34, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03,
|
||||
0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76,
|
||||
0x31, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x42, 0x08, 0xba, 0x48,
|
||||
0x05, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x2f, 0x0a, 0x06,
|
||||
0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67,
|
||||
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53,
|
||||
0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x18, 0x0a,
|
||||
0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07,
|
||||
0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x37, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18,
|
||||
0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e,
|
||||
0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0b, 0xba,
|
||||
0x48, 0x08, 0xc8, 0x01, 0x01, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65,
|
||||
0x22, 0x42, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72,
|
||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x06, 0x72, 0x6f, 0x75, 0x74,
|
||||
0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72,
|
||||
0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x52, 0x06, 0x72, 0x6f,
|
||||
0x75, 0x74, 0x65, 0x72, 0x22, 0x93, 0x02, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52,
|
||||
0x6f, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x02,
|
||||
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01, 0x01,
|
||||
0x22, 0x02, 0x20, 0x00, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
|
||||
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x72, 0x02,
|
||||
0x10, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65,
|
||||
0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65,
|
||||
0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0b,
|
||||
0xba, 0x48, 0x08, 0xc8, 0x01, 0x01, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x04, 0x74, 0x79, 0x70,
|
||||
0x65, 0x12, 0x2f, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28,
|
||||
0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||||
0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66,
|
||||
0x69, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x05, 0x20,
|
||||
0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x3c, 0x0a, 0x0d,
|
||||
0x64, 0x6e, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x18, 0x06, 0x20,
|
||||
0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31,
|
||||
0x2e, 0x44, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x0c, 0x64, 0x6e,
|
||||
0x73, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x22, 0x42, 0x0a, 0x14, 0x55, 0x70,
|
||||
0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||
0x73, 0x65, 0x12, 0x2a, 0x0a, 0x06, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
||||
0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x52, 0x06, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x22, 0x6a,
|
||||
0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x03, 0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x22, 0x02, 0x20, 0x00, 0x52, 0x02, 0x69,
|
||||
0x64, 0x12, 0x37, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32,
|
||||
0x16, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75,
|
||||
0x74, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0b, 0xba, 0x48, 0x08, 0xc8, 0x01, 0x01, 0x82,
|
||||
0x01, 0x02, 0x10, 0x01, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x16, 0x0a, 0x14, 0x44, 0x65,
|
||||
0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||
0x73, 0x65, 0x22, 0xe7, 0x02, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x65,
|
||||
0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x0a, 0x70, 0x72, 0x6f,
|
||||
0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x0a, 0xba,
|
||||
0x48, 0x07, 0xc8, 0x01, 0x01, 0x22, 0x02, 0x20, 0x00, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x66, 0x69,
|
||||
0x6c, 0x65, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x08, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64,
|
||||
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x48,
|
||||
0x00, 0x52, 0x07, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x39, 0x0a,
|
||||
0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x6d, 0x61,
|
||||
0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x54,
|
||||
0x79, 0x70, 0x65, 0x42, 0x08, 0xba, 0x48, 0x05, 0x82, 0x01, 0x02, 0x10, 0x01, 0x48, 0x01, 0x52,
|
||||
0x04, 0x74, 0x79, 0x70, 0x65, 0x88, 0x01, 0x01, 0x12, 0x71, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69,
|
||||
0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x42, 0x56, 0xba, 0x48, 0x53, 0xba, 0x01, 0x50, 0x0a,
|
||||
0x0b, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x12, 0x29, 0x6c, 0x69,
|
||||
0x6d, 0x69, 0x74, 0x20, 0x6d, 0x75, 0x73, 0x74, 0x20, 0x62, 0x65, 0x20, 0x65, 0x69, 0x74, 0x68,
|
||||
0x65, 0x72, 0x20, 0x2d, 0x31, 0x20, 0x6f, 0x72, 0x20, 0x67, 0x72, 0x65, 0x61, 0x74, 0x65, 0x72,
|
||||
0x20, 0x74, 0x68, 0x61, 0x6e, 0x20, 0x30, 0x1a, 0x16, 0x74, 0x68, 0x69, 0x73, 0x20, 0x3d, 0x3d,
|
||||
0x20, 0x2d, 0x31, 0x20, 0x7c, 0x7c, 0x20, 0x74, 0x68, 0x69, 0x73, 0x20, 0x3e, 0x20, 0x30, 0x48,
|
||||
0x02, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x88, 0x01, 0x01, 0x12, 0x24, 0x0a, 0x06, 0x6f,
|
||||
0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x42, 0x07, 0xba, 0x48, 0x04,
|
||||
0x22, 0x02, 0x28, 0x00, 0x48, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x88, 0x01,
|
||||
0x01, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x42, 0x07,
|
||||
0x0a, 0x05, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x6c, 0x69, 0x6d, 0x69,
|
||||
0x74, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x22, 0x64, 0x0a, 0x13,
|
||||
0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||
0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x07, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01,
|
||||
0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76,
|
||||
0x31, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x52, 0x07, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72,
|
||||
0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74,
|
||||
0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x75,
|
||||
0x6e, 0x74, 0x2a, 0x69, 0x0a, 0x0a, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65,
|
||||
0x12, 0x1b, 0x0a, 0x17, 0x52, 0x4f, 0x55, 0x54, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f,
|
||||
0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a,
|
||||
0x10, 0x52, 0x4f, 0x55, 0x54, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x48, 0x54, 0x54,
|
||||
0x50, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x52, 0x4f, 0x55, 0x54, 0x45, 0x52, 0x5f, 0x54, 0x59,
|
||||
0x50, 0x45, 0x5f, 0x54, 0x43, 0x50, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x52, 0x4f, 0x55, 0x54,
|
||||
0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x44, 0x50, 0x10, 0x03, 0x32, 0xac, 0x03,
|
||||
0x0a, 0x0d, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12,
|
||||
0x4d, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x6d,
|
||||
0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x3c, 0x0a, 0x0d, 0x64, 0x6e, 0x73, 0x5f, 0x70,
|
||||
0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17,
|
||||
0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6e, 0x73, 0x50,
|
||||
0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x0c, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76,
|
||||
0x69, 0x64, 0x65, 0x72, 0x73, 0x22, 0x42, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52,
|
||||
0x6f, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a,
|
||||
0x06, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e,
|
||||
0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65,
|
||||
0x72, 0x52, 0x06, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x22, 0x64, 0x0a, 0x13, 0x44, 0x65, 0x6c,
|
||||
0x65, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x12, 0x17, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x07, 0xba, 0x48,
|
||||
0x04, 0x22, 0x02, 0x20, 0x00, 0x52, 0x02, 0x69, 0x64, 0x12, 0x34, 0x0a, 0x04, 0x74, 0x79, 0x70,
|
||||
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61,
|
||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x42,
|
||||
0x08, 0xba, 0x48, 0x05, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22,
|
||||
0x16, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x52,
|
||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xe4, 0x02, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74,
|
||||
0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26,
|
||||
0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x03, 0x42, 0x07, 0xba, 0x48, 0x04, 0x22, 0x02, 0x20, 0x00, 0x52, 0x09, 0x70, 0x72, 0x6f,
|
||||
0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x08, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f,
|
||||
0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10,
|
||||
0x01, 0x48, 0x00, 0x52, 0x07, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12,
|
||||
0x39, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e,
|
||||
0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65,
|
||||
0x72, 0x54, 0x79, 0x70, 0x65, 0x42, 0x08, 0xba, 0x48, 0x05, 0x82, 0x01, 0x02, 0x10, 0x01, 0x48,
|
||||
0x01, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x88, 0x01, 0x01, 0x12, 0x71, 0x0a, 0x05, 0x6c, 0x69,
|
||||
0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x42, 0x56, 0xba, 0x48, 0x53, 0xba, 0x01,
|
||||
0x50, 0x0a, 0x0b, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x12, 0x29,
|
||||
0x6c, 0x69, 0x6d, 0x69, 0x74, 0x20, 0x6d, 0x75, 0x73, 0x74, 0x20, 0x62, 0x65, 0x20, 0x65, 0x69,
|
||||
0x74, 0x68, 0x65, 0x72, 0x20, 0x2d, 0x31, 0x20, 0x6f, 0x72, 0x20, 0x67, 0x72, 0x65, 0x61, 0x74,
|
||||
0x65, 0x72, 0x20, 0x74, 0x68, 0x61, 0x6e, 0x20, 0x30, 0x1a, 0x16, 0x74, 0x68, 0x69, 0x73, 0x20,
|
||||
0x3d, 0x3d, 0x20, 0x2d, 0x31, 0x20, 0x7c, 0x7c, 0x20, 0x74, 0x68, 0x69, 0x73, 0x20, 0x3e, 0x20,
|
||||
0x30, 0x48, 0x02, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x88, 0x01, 0x01, 0x12, 0x24, 0x0a,
|
||||
0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x42, 0x07, 0xba,
|
||||
0x48, 0x04, 0x22, 0x02, 0x28, 0x00, 0x48, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74,
|
||||
0x88, 0x01, 0x01, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64,
|
||||
0x42, 0x07, 0x0a, 0x05, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x6c, 0x69,
|
||||
0x6d, 0x69, 0x74, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x22, 0x64,
|
||||
0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73,
|
||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x07, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x73,
|
||||
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65,
|
||||
0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x52, 0x07, 0x72, 0x6f, 0x75, 0x74,
|
||||
0x65, 0x72, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x75,
|
||||
0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43,
|
||||
0x6f, 0x75, 0x6e, 0x74, 0x2a, 0x69, 0x0a, 0x0a, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x54, 0x79,
|
||||
0x70, 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x52, 0x4f, 0x55, 0x54, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50,
|
||||
0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12,
|
||||
0x14, 0x0a, 0x10, 0x52, 0x4f, 0x55, 0x54, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x48,
|
||||
0x54, 0x54, 0x50, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x52, 0x4f, 0x55, 0x54, 0x45, 0x52, 0x5f,
|
||||
0x54, 0x59, 0x50, 0x45, 0x5f, 0x54, 0x43, 0x50, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x52, 0x4f,
|
||||
0x55, 0x54, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x44, 0x50, 0x10, 0x03, 0x32,
|
||||
0xac, 0x03, 0x0a, 0x0d, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
|
||||
0x65, 0x12, 0x4d, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x12, 0x1c,
|
||||
0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52,
|
||||
0x6f, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6d,
|
||||
0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x75,
|
||||
0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6d, 0x61, 0x6e,
|
||||
0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x65,
|
||||
0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x51,
|
||||
0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x12, 0x1f,
|
||||
0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61,
|
||||
0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
||||
0x20, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65,
|
||||
0x61, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
||||
0x65, 0x12, 0x51, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65,
|
||||
0x72, 0x12, 0x1f, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55,
|
||||
0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x1a, 0x20, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
||||
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f,
|
||||
0x75, 0x74, 0x65, 0x72, 0x12, 0x1f, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76,
|
||||
0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e,
|
||||
0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x52,
|
||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x52,
|
||||
0x6f, 0x75, 0x74, 0x65, 0x72, 0x73, 0x12, 0x1e, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65,
|
||||
0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x73, 0x52,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65,
|
||||
0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x73, 0x52,
|
||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x42, 0xa5, 0x01, 0x0a,
|
||||
0x0e, 0x63, 0x6f, 0x6d, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x42,
|
||||
0x0b, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d,
|
||||
0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6d, 0x69, 0x7a, 0x75, 0x63,
|
||||
0x68, 0x69, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2f, 0x70,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65,
|
||||
0x2f, 0x76, 0x31, 0x3b, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03,
|
||||
0x4d, 0x58, 0x58, 0xaa, 0x02, 0x0a, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x56, 0x31,
|
||||
0xca, 0x02, 0x0a, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x16,
|
||||
0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65,
|
||||
0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0b, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65,
|
||||
0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01,
|
||||
0x12, 0x51, 0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72,
|
||||
0x12, 0x1f, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72,
|
||||
0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x1a, 0x20, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43,
|
||||
0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||
0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x75,
|
||||
0x74, 0x65, 0x72, 0x12, 0x1f, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31,
|
||||
0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71,
|
||||
0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76,
|
||||
0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65,
|
||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
|
||||
0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x12, 0x1f, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65,
|
||||
0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61,
|
||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65,
|
||||
0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x0b, 0x4c, 0x69, 0x73,
|
||||
0x74, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x73, 0x12, 0x1e, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72,
|
||||
0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72,
|
||||
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72,
|
||||
0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72,
|
||||
0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x42, 0xa5,
|
||||
0x01, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76,
|
||||
0x31, 0x42, 0x0b, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01,
|
||||
0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6d, 0x69, 0x7a,
|
||||
0x75, 0x63, 0x68, 0x69, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65,
|
||||
0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x6d, 0x61, 0x6e, 0x74, 0x72,
|
||||
0x61, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x76, 0x31, 0xa2,
|
||||
0x02, 0x03, 0x4d, 0x58, 0x58, 0xaa, 0x02, 0x0a, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e,
|
||||
0x56, 0x31, 0xca, 0x02, 0x0a, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x5c, 0x56, 0x31, 0xe2,
|
||||
0x02, 0x16, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42,
|
||||
0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0b, 0x4d, 0x61, 0x6e, 0x74, 0x72,
|
||||
0x61, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
})
|
||||
|
||||
var (
|
||||
|
||||
+143
-145
@@ -848,156 +848,154 @@ var file_mantrae_v1_service_proto_rawDesc = string([]byte{
|
||||
0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x08, 0x20, 0x01,
|
||||
0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
||||
0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09,
|
||||
0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x69, 0x0a, 0x11, 0x47, 0x65, 0x74,
|
||||
0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a,
|
||||
0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8,
|
||||
0x01, 0x01, 0x22, 0x02, 0x20, 0x00, 0x52, 0x02, 0x69, 0x64, 0x12, 0x38, 0x0a, 0x04, 0x74, 0x79,
|
||||
0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72,
|
||||
0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70,
|
||||
0x65, 0x42, 0x0b, 0xba, 0x48, 0x08, 0xc8, 0x01, 0x01, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x04,
|
||||
0x74, 0x79, 0x70, 0x65, 0x22, 0x43, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69,
|
||||
0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x07, 0x73, 0x65,
|
||||
0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x61,
|
||||
0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x63, 0x0a, 0x11, 0x47, 0x65, 0x74,
|
||||
0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17,
|
||||
0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x07, 0xba, 0x48, 0x04, 0x22,
|
||||
0x02, 0x20, 0x00, 0x52, 0x02, 0x69, 0x64, 0x12, 0x35, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e,
|
||||
0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x42, 0x08,
|
||||
0xba, 0x48, 0x05, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x43,
|
||||
0x0a, 0x12, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e,
|
||||
0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76,
|
||||
0x69, 0x63, 0x65, 0x22, 0xde, 0x01, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65,
|
||||
0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0a,
|
||||
0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
|
||||
0x42, 0x07, 0xba, 0x48, 0x04, 0x22, 0x02, 0x20, 0x00, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x66, 0x69,
|
||||
0x6c, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64,
|
||||
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12,
|
||||
0x1b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba,
|
||||
0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x06,
|
||||
0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67,
|
||||
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53,
|
||||
0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x35, 0x0a,
|
||||
0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x6d, 0x61,
|
||||
0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
|
||||
0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0xe7, 0x01, 0x0a, 0x14, 0x43, 0x72,
|
||||
0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x12, 0x29, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x22, 0x02,
|
||||
0x20, 0x00, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a,
|
||||
0x08, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x07, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
|
||||
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x72, 0x02,
|
||||
0x10, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66,
|
||||
0x69, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
|
||||
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63,
|
||||
0x74, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x38, 0x0a, 0x04, 0x74, 0x79, 0x70,
|
||||
0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61,
|
||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65,
|
||||
0x42, 0x0b, 0xba, 0x48, 0x08, 0xc8, 0x01, 0x01, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x04, 0x74,
|
||||
0x79, 0x70, 0x65, 0x22, 0x46, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72,
|
||||
0x54, 0x79, 0x70, 0x65, 0x42, 0x08, 0xba, 0x48, 0x05, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x04,
|
||||
0x74, 0x79, 0x70, 0x65, 0x22, 0x46, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65,
|
||||
0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a,
|
||||
0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13,
|
||||
0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76,
|
||||
0x69, 0x63, 0x65, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0xb4, 0x01, 0x0a,
|
||||
0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x03, 0x42, 0x07, 0xba, 0x48, 0x04, 0x22, 0x02, 0x20, 0x00, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1b,
|
||||
0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48,
|
||||
0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x63,
|
||||
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f,
|
||||
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74,
|
||||
0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x35, 0x0a, 0x04,
|
||||
0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x6d, 0x61, 0x6e,
|
||||
0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54,
|
||||
0x79, 0x70, 0x65, 0x42, 0x08, 0xba, 0x48, 0x05, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x04, 0x74,
|
||||
0x79, 0x70, 0x65, 0x22, 0x46, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72,
|
||||
0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x07,
|
||||
0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e,
|
||||
0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69,
|
||||
0x63, 0x65, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0xbd, 0x01, 0x0a, 0x14,
|
||||
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71,
|
||||
0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
|
||||
0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x22, 0x02, 0x20, 0x00, 0x52, 0x02, 0x69, 0x64,
|
||||
0x12, 0x1e, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a,
|
||||
0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x72, 0x02, 0x10, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
|
||||
0x12, 0x2f, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
|
||||
0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
|
||||
0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69,
|
||||
0x67, 0x12, 0x38, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32,
|
||||
0x17, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72,
|
||||
0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0b, 0xba, 0x48, 0x08, 0xc8, 0x01, 0x01,
|
||||
0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x46, 0x0a, 0x15, 0x55,
|
||||
0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e,
|
||||
0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76,
|
||||
0x69, 0x63, 0x65, 0x22, 0x6c, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x72,
|
||||
0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x02, 0x69,
|
||||
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x22,
|
||||
0x02, 0x20, 0x00, 0x52, 0x02, 0x69, 0x64, 0x12, 0x38, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e,
|
||||
0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0b,
|
||||
0xba, 0x48, 0x08, 0xc8, 0x01, 0x01, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x04, 0x74, 0x79, 0x70,
|
||||
0x65, 0x22, 0x17, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69,
|
||||
0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xe9, 0x02, 0x0a, 0x13, 0x4c,
|
||||
0x69, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x12, 0x29, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x22, 0x02,
|
||||
0x20, 0x00, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x27, 0x0a,
|
||||
0x08, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42,
|
||||
0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x48, 0x00, 0x52, 0x07, 0x61, 0x67, 0x65, 0x6e,
|
||||
0x74, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x3a, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03,
|
||||
0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76,
|
||||
0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x42, 0x08, 0xba,
|
||||
0x48, 0x05, 0x82, 0x01, 0x02, 0x10, 0x01, 0x48, 0x01, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x88,
|
||||
0x01, 0x01, 0x12, 0x71, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28,
|
||||
0x03, 0x42, 0x56, 0xba, 0x48, 0x53, 0xba, 0x01, 0x50, 0x0a, 0x0b, 0x6c, 0x69, 0x6d, 0x69, 0x74,
|
||||
0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x12, 0x29, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x20, 0x6d, 0x75,
|
||||
0x73, 0x74, 0x20, 0x62, 0x65, 0x20, 0x65, 0x69, 0x74, 0x68, 0x65, 0x72, 0x20, 0x2d, 0x31, 0x20,
|
||||
0x6f, 0x72, 0x20, 0x67, 0x72, 0x65, 0x61, 0x74, 0x65, 0x72, 0x20, 0x74, 0x68, 0x61, 0x6e, 0x20,
|
||||
0x30, 0x1a, 0x16, 0x74, 0x68, 0x69, 0x73, 0x20, 0x3d, 0x3d, 0x20, 0x2d, 0x31, 0x20, 0x7c, 0x7c,
|
||||
0x20, 0x74, 0x68, 0x69, 0x73, 0x20, 0x3e, 0x20, 0x30, 0x48, 0x02, 0x52, 0x05, 0x6c, 0x69, 0x6d,
|
||||
0x69, 0x74, 0x88, 0x01, 0x01, 0x12, 0x24, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18,
|
||||
0x05, 0x20, 0x01, 0x28, 0x03, 0x42, 0x07, 0xba, 0x48, 0x04, 0x22, 0x02, 0x28, 0x00, 0x48, 0x03,
|
||||
0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x88, 0x01, 0x01, 0x42, 0x0b, 0x0a, 0x09, 0x5f,
|
||||
0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x74, 0x79, 0x70,
|
||||
0x65, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x42, 0x09, 0x0a, 0x07, 0x5f,
|
||||
0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x22, 0x68, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65,
|
||||
0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f,
|
||||
0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
|
||||
0x32, 0x13, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65,
|
||||
0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12,
|
||||
0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02,
|
||||
0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74,
|
||||
0x22, 0x74, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x42, 0x79,
|
||||
0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a,
|
||||
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0xba, 0x48, 0x07,
|
||||
0xc8, 0x01, 0x01, 0x72, 0x02, 0x10, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a,
|
||||
0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x6d, 0x61,
|
||||
0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x54,
|
||||
0x79, 0x70, 0x65, 0x42, 0x0b, 0xba, 0x48, 0x08, 0xc8, 0x01, 0x01, 0x82, 0x01, 0x02, 0x10, 0x01,
|
||||
0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x4b, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72,
|
||||
0x76, 0x69, 0x63, 0x65, 0x42, 0x79, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e,
|
||||
0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76,
|
||||
0x69, 0x63, 0x65, 0x2a, 0x6e, 0x0a, 0x0b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79,
|
||||
0x70, 0x65, 0x12, 0x1c, 0x0a, 0x18, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x54, 0x59,
|
||||
0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,
|
||||
0x12, 0x15, 0x0a, 0x11, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45,
|
||||
0x5f, 0x48, 0x54, 0x54, 0x50, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x53, 0x45, 0x52, 0x56, 0x49,
|
||||
0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x54, 0x43, 0x50, 0x10, 0x02, 0x12, 0x14, 0x0a,
|
||||
0x10, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x44,
|
||||
0x50, 0x10, 0x03, 0x32, 0xa6, 0x04, 0x0a, 0x0e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53,
|
||||
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x50, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72,
|
||||
0x76, 0x69, 0x63, 0x65, 0x12, 0x1d, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76,
|
||||
0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31,
|
||||
0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||
0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x54, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61,
|
||||
0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x20, 0x2e, 0x6d, 0x61, 0x6e, 0x74,
|
||||
0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72,
|
||||
0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6d, 0x61,
|
||||
0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53,
|
||||
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x54,
|
||||
0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12,
|
||||
0x20, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64,
|
||||
0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x1a, 0x21, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55,
|
||||
0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x54, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65,
|
||||
0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x20, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e,
|
||||
0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61,
|
||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69,
|
||||
0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x0c, 0x4c, 0x69,
|
||||
0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x1f, 0x2e, 0x6d, 0x61, 0x6e,
|
||||
0x63, 0x65, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0x66, 0x0a, 0x14, 0x44,
|
||||
0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42,
|
||||
0x07, 0xba, 0x48, 0x04, 0x22, 0x02, 0x20, 0x00, 0x52, 0x02, 0x69, 0x64, 0x12, 0x35, 0x0a, 0x04,
|
||||
0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x6d, 0x61, 0x6e,
|
||||
0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54,
|
||||
0x79, 0x70, 0x65, 0x42, 0x08, 0xba, 0x48, 0x05, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x04, 0x74,
|
||||
0x79, 0x70, 0x65, 0x22, 0x17, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x72,
|
||||
0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xe6, 0x02, 0x0a,
|
||||
0x13, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71,
|
||||
0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f,
|
||||
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x07, 0xba, 0x48, 0x04, 0x22, 0x02, 0x20,
|
||||
0x00, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x08,
|
||||
0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07,
|
||||
0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x48, 0x00, 0x52, 0x07, 0x61, 0x67, 0x65, 0x6e, 0x74,
|
||||
0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x3a, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20,
|
||||
0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31,
|
||||
0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x42, 0x08, 0xba, 0x48,
|
||||
0x05, 0x82, 0x01, 0x02, 0x10, 0x01, 0x48, 0x01, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x88, 0x01,
|
||||
0x01, 0x12, 0x71, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03,
|
||||
0x42, 0x56, 0xba, 0x48, 0x53, 0xba, 0x01, 0x50, 0x0a, 0x0b, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x2e,
|
||||
0x76, 0x61, 0x6c, 0x69, 0x64, 0x12, 0x29, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x20, 0x6d, 0x75, 0x73,
|
||||
0x74, 0x20, 0x62, 0x65, 0x20, 0x65, 0x69, 0x74, 0x68, 0x65, 0x72, 0x20, 0x2d, 0x31, 0x20, 0x6f,
|
||||
0x72, 0x20, 0x67, 0x72, 0x65, 0x61, 0x74, 0x65, 0x72, 0x20, 0x74, 0x68, 0x61, 0x6e, 0x20, 0x30,
|
||||
0x1a, 0x16, 0x74, 0x68, 0x69, 0x73, 0x20, 0x3d, 0x3d, 0x20, 0x2d, 0x31, 0x20, 0x7c, 0x7c, 0x20,
|
||||
0x74, 0x68, 0x69, 0x73, 0x20, 0x3e, 0x20, 0x30, 0x48, 0x02, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69,
|
||||
0x74, 0x88, 0x01, 0x01, 0x12, 0x24, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x05,
|
||||
0x20, 0x01, 0x28, 0x03, 0x42, 0x07, 0xba, 0x48, 0x04, 0x22, 0x02, 0x28, 0x00, 0x48, 0x03, 0x52,
|
||||
0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x88, 0x01, 0x01, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x61,
|
||||
0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x74, 0x79, 0x70, 0x65,
|
||||
0x42, 0x08, 0x0a, 0x06, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x6f,
|
||||
0x66, 0x66, 0x73, 0x65, 0x74, 0x22, 0x68, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x72,
|
||||
0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a,
|
||||
0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
||||
0x13, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72,
|
||||
0x76, 0x69, 0x63, 0x65, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x1f,
|
||||
0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20,
|
||||
0x01, 0x28, 0x03, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22,
|
||||
0x74, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x42, 0x79, 0x52,
|
||||
0x6f, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x04,
|
||||
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8,
|
||||
0x01, 0x01, 0x72, 0x02, 0x10, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x04,
|
||||
0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x6d, 0x61, 0x6e,
|
||||
0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x54, 0x79,
|
||||
0x70, 0x65, 0x42, 0x0b, 0xba, 0x48, 0x08, 0xc8, 0x01, 0x01, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52,
|
||||
0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x4b, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76,
|
||||
0x69, 0x63, 0x65, 0x42, 0x79, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||
0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76,
|
||||
0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69,
|
||||
0x63, 0x65, 0x2a, 0x6e, 0x0a, 0x0b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70,
|
||||
0x65, 0x12, 0x1c, 0x0a, 0x18, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50,
|
||||
0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12,
|
||||
0x15, 0x0a, 0x11, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f,
|
||||
0x48, 0x54, 0x54, 0x50, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43,
|
||||
0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x54, 0x43, 0x50, 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10,
|
||||
0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x44, 0x50,
|
||||
0x10, 0x03, 0x32, 0xa6, 0x04, 0x0a, 0x0e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x53, 0x65,
|
||||
0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x50, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76,
|
||||
0x69, 0x63, 0x65, 0x12, 0x1d, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31,
|
||||
0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
||||
0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||
0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x54, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74,
|
||||
0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x20, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72,
|
||||
0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76,
|
||||
0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6d, 0x61, 0x6e,
|
||||
0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65,
|
||||
0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x54, 0x0a,
|
||||
0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x20,
|
||||
0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61,
|
||||
0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x1a, 0x21, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70,
|
||||
0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||
0x6e, 0x73, 0x65, 0x12, 0x54, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x72,
|
||||
0x76, 0x69, 0x63, 0x65, 0x12, 0x20, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76,
|
||||
0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65,
|
||||
0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
|
||||
0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x0c, 0x4c, 0x69, 0x73,
|
||||
0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x1f, 0x2e, 0x6d, 0x61, 0x6e, 0x74,
|
||||
0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69,
|
||||
0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x6d, 0x61, 0x6e,
|
||||
0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76,
|
||||
0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x6d, 0x61,
|
||||
0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x72,
|
||||
0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90,
|
||||
0x02, 0x01, 0x12, 0x68, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
|
||||
0x42, 0x79, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x12, 0x25, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72,
|
||||
0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
|
||||
0x42, 0x79, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
||||
0x26, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74,
|
||||
0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x42, 0x79, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x52,
|
||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x42, 0xa6, 0x01, 0x0a,
|
||||
0x0e, 0x63, 0x6f, 0x6d, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x42,
|
||||
0x0c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a,
|
||||
0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6d, 0x69, 0x7a, 0x75,
|
||||
0x63, 0x68, 0x69, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2f,
|
||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61,
|
||||
0x65, 0x2f, 0x76, 0x31, 0x3b, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x76, 0x31, 0xa2, 0x02,
|
||||
0x03, 0x4d, 0x58, 0x58, 0xaa, 0x02, 0x0a, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x56,
|
||||
0x31, 0xca, 0x02, 0x0a, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02,
|
||||
0x16, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d,
|
||||
0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0b, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61,
|
||||
0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02,
|
||||
0x01, 0x12, 0x68, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x42,
|
||||
0x79, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x12, 0x25, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61,
|
||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x42,
|
||||
0x79, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26,
|
||||
0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53,
|
||||
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x42, 0x79, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x52, 0x65,
|
||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x42, 0xa6, 0x01, 0x0a, 0x0e,
|
||||
0x63, 0x6f, 0x6d, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0c,
|
||||
0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d,
|
||||
0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6d, 0x69, 0x7a, 0x75, 0x63,
|
||||
0x68, 0x69, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2f, 0x70,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65,
|
||||
0x2f, 0x76, 0x31, 0x3b, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03,
|
||||
0x4d, 0x58, 0x58, 0xaa, 0x02, 0x0a, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x56, 0x31,
|
||||
0xca, 0x02, 0x0a, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x16,
|
||||
0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65,
|
||||
0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0b, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65,
|
||||
0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
})
|
||||
|
||||
var (
|
||||
|
||||
@@ -363,56 +363,56 @@ var file_mantrae_v1_setting_proto_rawDesc = string([]byte{
|
||||
0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
|
||||
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,
|
||||
0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64,
|
||||
0x41, 0x74, 0x22, 0x31, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x72, 0x02, 0x10, 0x01,
|
||||
0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x2a, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x53, 0x65, 0x74, 0x74,
|
||||
0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76,
|
||||
0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
|
||||
0x65, 0x22, 0x4a, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69,
|
||||
0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x03, 0x6b, 0x65, 0x79,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x72, 0x02,
|
||||
0x10, 0x01, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
||||
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x46, 0x0a,
|
||||
0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65,
|
||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x07, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e,
|
||||
0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61,
|
||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x07, 0x73, 0x65,
|
||||
0x74, 0x74, 0x69, 0x6e, 0x67, 0x22, 0x15, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x74,
|
||||
0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x47, 0x0a, 0x14,
|
||||
0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x08, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73,
|
||||
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65,
|
||||
0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x08, 0x73, 0x65, 0x74,
|
||||
0x74, 0x69, 0x6e, 0x67, 0x73, 0x32, 0x90, 0x02, 0x0a, 0x0e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e,
|
||||
0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x50, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x53,
|
||||
0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x1d, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65,
|
||||
0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e,
|
||||
0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73,
|
||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x54, 0x0a, 0x0d, 0x55, 0x70,
|
||||
0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x20, 0x2e, 0x6d, 0x61,
|
||||
0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53,
|
||||
0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e,
|
||||
0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74,
|
||||
0x41, 0x74, 0x22, 0x2e, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x03, 0x6b,
|
||||
0x65, 0x79, 0x22, 0x2a, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67,
|
||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
|
||||
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x47,
|
||||
0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x03, 0x6b, 0x65,
|
||||
0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
||||
0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x46, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74,
|
||||
0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||||
0x12, 0x56, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73,
|
||||
0x12, 0x1f, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69,
|
||||
0x73, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x1a, 0x20, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c,
|
||||
0x69, 0x73, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||
0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x42, 0xa6, 0x01, 0x0a, 0x0e, 0x63, 0x6f, 0x6d,
|
||||
0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x53, 0x65, 0x74,
|
||||
0x74, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d, 0x67, 0x69, 0x74,
|
||||
0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6d, 0x69, 0x7a, 0x75, 0x63, 0x68, 0x69, 0x6c,
|
||||
0x61, 0x62, 0x73, 0x2f, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
|
||||
0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2f, 0x76, 0x31,
|
||||
0x3b, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x4d, 0x58, 0x58,
|
||||
0xaa, 0x02, 0x0a, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0a,
|
||||
0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x16, 0x4d, 0x61, 0x6e,
|
||||
0x74, 0x72, 0x61, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64,
|
||||
0x61, 0x74, 0x61, 0xea, 0x02, 0x0b, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x3a, 0x3a, 0x56,
|
||||
0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
0x12, 0x2d, 0x0a, 0x07, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53,
|
||||
0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x07, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x22,
|
||||
0x15, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x47, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65,
|
||||
0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f,
|
||||
0x0a, 0x08, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
|
||||
0x32, 0x13, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65,
|
||||
0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x08, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x32,
|
||||
0x90, 0x02, 0x0a, 0x0e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69,
|
||||
0x63, 0x65, 0x12, 0x50, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67,
|
||||
0x12, 0x1d, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65,
|
||||
0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
||||
0x1e, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74,
|
||||
0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
|
||||
0x03, 0x90, 0x02, 0x01, 0x12, 0x54, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65,
|
||||
0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x20, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e,
|
||||
0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61,
|
||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69,
|
||||
0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x0c, 0x4c, 0x69,
|
||||
0x73, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x1f, 0x2e, 0x6d, 0x61, 0x6e,
|
||||
0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x74, 0x74,
|
||||
0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x6d, 0x61,
|
||||
0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x74,
|
||||
0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90,
|
||||
0x02, 0x01, 0x42, 0xa6, 0x01, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72,
|
||||
0x61, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x72,
|
||||
0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
|
||||
0x6d, 0x2f, 0x6d, 0x69, 0x7a, 0x75, 0x63, 0x68, 0x69, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x6d, 0x61,
|
||||
0x6e, 0x74, 0x72, 0x61, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f,
|
||||
0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x6d, 0x61, 0x6e, 0x74, 0x72,
|
||||
0x61, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x4d, 0x58, 0x58, 0xaa, 0x02, 0x0a, 0x4d, 0x61, 0x6e,
|
||||
0x74, 0x72, 0x61, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0a, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61,
|
||||
0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x16, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x5c, 0x56,
|
||||
0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0b,
|
||||
0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f,
|
||||
0x74, 0x6f, 0x33,
|
||||
})
|
||||
|
||||
var (
|
||||
|
||||
+268
-360
@@ -231,7 +231,7 @@ func (*LoginUserRequest_Email) isLoginUserRequest_Identifier() {}
|
||||
|
||||
type LoginUserResponse struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
|
||||
User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
@@ -266,11 +266,11 @@ func (*LoginUserResponse) Descriptor() ([]byte, []int) {
|
||||
return file_mantrae_v1_user_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
func (x *LoginUserResponse) GetToken() string {
|
||||
func (x *LoginUserResponse) GetUser() *User {
|
||||
if x != nil {
|
||||
return x.Token
|
||||
return x.User
|
||||
}
|
||||
return ""
|
||||
return nil
|
||||
}
|
||||
|
||||
type LogoutUserRequest struct {
|
||||
@@ -345,86 +345,6 @@ func (*LogoutUserResponse) Descriptor() ([]byte, []int) {
|
||||
return file_mantrae_v1_user_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
type VerifyJWTRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *VerifyJWTRequest) Reset() {
|
||||
*x = VerifyJWTRequest{}
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *VerifyJWTRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*VerifyJWTRequest) ProtoMessage() {}
|
||||
|
||||
func (x *VerifyJWTRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[5]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use VerifyJWTRequest.ProtoReflect.Descriptor instead.
|
||||
func (*VerifyJWTRequest) Descriptor() ([]byte, []int) {
|
||||
return file_mantrae_v1_user_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
type VerifyJWTResponse struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *VerifyJWTResponse) Reset() {
|
||||
*x = VerifyJWTResponse{}
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *VerifyJWTResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*VerifyJWTResponse) ProtoMessage() {}
|
||||
|
||||
func (x *VerifyJWTResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[6]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use VerifyJWTResponse.ProtoReflect.Descriptor instead.
|
||||
func (*VerifyJWTResponse) Descriptor() ([]byte, []int) {
|
||||
return file_mantrae_v1_user_proto_rawDescGZIP(), []int{6}
|
||||
}
|
||||
|
||||
func (x *VerifyJWTResponse) GetUser() *User {
|
||||
if x != nil {
|
||||
return x.User
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type VerifyOTPRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
// Types that are valid to be assigned to Identifier:
|
||||
@@ -439,7 +359,7 @@ type VerifyOTPRequest struct {
|
||||
|
||||
func (x *VerifyOTPRequest) Reset() {
|
||||
*x = VerifyOTPRequest{}
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[7]
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -451,7 +371,7 @@ func (x *VerifyOTPRequest) String() string {
|
||||
func (*VerifyOTPRequest) ProtoMessage() {}
|
||||
|
||||
func (x *VerifyOTPRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[7]
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[5]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -464,7 +384,7 @@ func (x *VerifyOTPRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use VerifyOTPRequest.ProtoReflect.Descriptor instead.
|
||||
func (*VerifyOTPRequest) Descriptor() ([]byte, []int) {
|
||||
return file_mantrae_v1_user_proto_rawDescGZIP(), []int{7}
|
||||
return file_mantrae_v1_user_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
func (x *VerifyOTPRequest) GetIdentifier() isVerifyOTPRequest_Identifier {
|
||||
@@ -517,14 +437,14 @@ func (*VerifyOTPRequest_Email) isVerifyOTPRequest_Identifier() {}
|
||||
|
||||
type VerifyOTPResponse struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
|
||||
User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *VerifyOTPResponse) Reset() {
|
||||
*x = VerifyOTPResponse{}
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[8]
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -536,7 +456,7 @@ func (x *VerifyOTPResponse) String() string {
|
||||
func (*VerifyOTPResponse) ProtoMessage() {}
|
||||
|
||||
func (x *VerifyOTPResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[8]
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[6]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -549,14 +469,14 @@ func (x *VerifyOTPResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use VerifyOTPResponse.ProtoReflect.Descriptor instead.
|
||||
func (*VerifyOTPResponse) Descriptor() ([]byte, []int) {
|
||||
return file_mantrae_v1_user_proto_rawDescGZIP(), []int{8}
|
||||
return file_mantrae_v1_user_proto_rawDescGZIP(), []int{6}
|
||||
}
|
||||
|
||||
func (x *VerifyOTPResponse) GetToken() string {
|
||||
func (x *VerifyOTPResponse) GetUser() *User {
|
||||
if x != nil {
|
||||
return x.Token
|
||||
return x.User
|
||||
}
|
||||
return ""
|
||||
return nil
|
||||
}
|
||||
|
||||
type SendOTPRequest struct {
|
||||
@@ -572,7 +492,7 @@ type SendOTPRequest struct {
|
||||
|
||||
func (x *SendOTPRequest) Reset() {
|
||||
*x = SendOTPRequest{}
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[9]
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -584,7 +504,7 @@ func (x *SendOTPRequest) String() string {
|
||||
func (*SendOTPRequest) ProtoMessage() {}
|
||||
|
||||
func (x *SendOTPRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[9]
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[7]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -597,7 +517,7 @@ func (x *SendOTPRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use SendOTPRequest.ProtoReflect.Descriptor instead.
|
||||
func (*SendOTPRequest) Descriptor() ([]byte, []int) {
|
||||
return file_mantrae_v1_user_proto_rawDescGZIP(), []int{9}
|
||||
return file_mantrae_v1_user_proto_rawDescGZIP(), []int{7}
|
||||
}
|
||||
|
||||
func (x *SendOTPRequest) GetIdentifier() isSendOTPRequest_Identifier {
|
||||
@@ -649,7 +569,7 @@ type SendOTPResponse struct {
|
||||
|
||||
func (x *SendOTPResponse) Reset() {
|
||||
*x = SendOTPResponse{}
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[10]
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[8]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -661,7 +581,7 @@ func (x *SendOTPResponse) String() string {
|
||||
func (*SendOTPResponse) ProtoMessage() {}
|
||||
|
||||
func (x *SendOTPResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[10]
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[8]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -674,7 +594,7 @@ func (x *SendOTPResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use SendOTPResponse.ProtoReflect.Descriptor instead.
|
||||
func (*SendOTPResponse) Descriptor() ([]byte, []int) {
|
||||
return file_mantrae_v1_user_proto_rawDescGZIP(), []int{10}
|
||||
return file_mantrae_v1_user_proto_rawDescGZIP(), []int{8}
|
||||
}
|
||||
|
||||
type GetUserRequest struct {
|
||||
@@ -691,7 +611,7 @@ type GetUserRequest struct {
|
||||
|
||||
func (x *GetUserRequest) Reset() {
|
||||
*x = GetUserRequest{}
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[11]
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[9]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -703,7 +623,7 @@ func (x *GetUserRequest) String() string {
|
||||
func (*GetUserRequest) ProtoMessage() {}
|
||||
|
||||
func (x *GetUserRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[11]
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[9]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -716,7 +636,7 @@ func (x *GetUserRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.
|
||||
func (*GetUserRequest) Descriptor() ([]byte, []int) {
|
||||
return file_mantrae_v1_user_proto_rawDescGZIP(), []int{11}
|
||||
return file_mantrae_v1_user_proto_rawDescGZIP(), []int{9}
|
||||
}
|
||||
|
||||
func (x *GetUserRequest) GetIdentifier() isGetUserRequest_Identifier {
|
||||
@@ -784,7 +704,7 @@ type GetUserResponse struct {
|
||||
|
||||
func (x *GetUserResponse) Reset() {
|
||||
*x = GetUserResponse{}
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[12]
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[10]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -796,7 +716,7 @@ func (x *GetUserResponse) String() string {
|
||||
func (*GetUserResponse) ProtoMessage() {}
|
||||
|
||||
func (x *GetUserResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[12]
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[10]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -809,7 +729,7 @@ func (x *GetUserResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.
|
||||
func (*GetUserResponse) Descriptor() ([]byte, []int) {
|
||||
return file_mantrae_v1_user_proto_rawDescGZIP(), []int{12}
|
||||
return file_mantrae_v1_user_proto_rawDescGZIP(), []int{10}
|
||||
}
|
||||
|
||||
func (x *GetUserResponse) GetUser() *User {
|
||||
@@ -831,7 +751,7 @@ type CreateUserRequest struct {
|
||||
|
||||
func (x *CreateUserRequest) Reset() {
|
||||
*x = CreateUserRequest{}
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[13]
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[11]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -843,7 +763,7 @@ func (x *CreateUserRequest) String() string {
|
||||
func (*CreateUserRequest) ProtoMessage() {}
|
||||
|
||||
func (x *CreateUserRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[13]
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[11]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -856,7 +776,7 @@ func (x *CreateUserRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.
|
||||
func (*CreateUserRequest) Descriptor() ([]byte, []int) {
|
||||
return file_mantrae_v1_user_proto_rawDescGZIP(), []int{13}
|
||||
return file_mantrae_v1_user_proto_rawDescGZIP(), []int{11}
|
||||
}
|
||||
|
||||
func (x *CreateUserRequest) GetUsername() string {
|
||||
@@ -896,7 +816,7 @@ type CreateUserResponse struct {
|
||||
|
||||
func (x *CreateUserResponse) Reset() {
|
||||
*x = CreateUserResponse{}
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[14]
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[12]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -908,7 +828,7 @@ func (x *CreateUserResponse) String() string {
|
||||
func (*CreateUserResponse) ProtoMessage() {}
|
||||
|
||||
func (x *CreateUserResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[14]
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[12]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -921,7 +841,7 @@ func (x *CreateUserResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead.
|
||||
func (*CreateUserResponse) Descriptor() ([]byte, []int) {
|
||||
return file_mantrae_v1_user_proto_rawDescGZIP(), []int{14}
|
||||
return file_mantrae_v1_user_proto_rawDescGZIP(), []int{12}
|
||||
}
|
||||
|
||||
func (x *CreateUserResponse) GetUser() *User {
|
||||
@@ -944,7 +864,7 @@ type UpdateUserRequest struct {
|
||||
|
||||
func (x *UpdateUserRequest) Reset() {
|
||||
*x = UpdateUserRequest{}
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[15]
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[13]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -956,7 +876,7 @@ func (x *UpdateUserRequest) String() string {
|
||||
func (*UpdateUserRequest) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[15]
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[13]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -969,7 +889,7 @@ func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateUserRequest) Descriptor() ([]byte, []int) {
|
||||
return file_mantrae_v1_user_proto_rawDescGZIP(), []int{15}
|
||||
return file_mantrae_v1_user_proto_rawDescGZIP(), []int{13}
|
||||
}
|
||||
|
||||
func (x *UpdateUserRequest) GetId() string {
|
||||
@@ -1016,7 +936,7 @@ type UpdateUserResponse struct {
|
||||
|
||||
func (x *UpdateUserResponse) Reset() {
|
||||
*x = UpdateUserResponse{}
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[16]
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[14]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1028,7 +948,7 @@ func (x *UpdateUserResponse) String() string {
|
||||
func (*UpdateUserResponse) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateUserResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[16]
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[14]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1041,7 +961,7 @@ func (x *UpdateUserResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use UpdateUserResponse.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateUserResponse) Descriptor() ([]byte, []int) {
|
||||
return file_mantrae_v1_user_proto_rawDescGZIP(), []int{16}
|
||||
return file_mantrae_v1_user_proto_rawDescGZIP(), []int{14}
|
||||
}
|
||||
|
||||
func (x *UpdateUserResponse) GetUser() *User {
|
||||
@@ -1060,7 +980,7 @@ type DeleteUserRequest struct {
|
||||
|
||||
func (x *DeleteUserRequest) Reset() {
|
||||
*x = DeleteUserRequest{}
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[17]
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[15]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1072,7 +992,7 @@ func (x *DeleteUserRequest) String() string {
|
||||
func (*DeleteUserRequest) ProtoMessage() {}
|
||||
|
||||
func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[17]
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[15]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1085,7 +1005,7 @@ func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.
|
||||
func (*DeleteUserRequest) Descriptor() ([]byte, []int) {
|
||||
return file_mantrae_v1_user_proto_rawDescGZIP(), []int{17}
|
||||
return file_mantrae_v1_user_proto_rawDescGZIP(), []int{15}
|
||||
}
|
||||
|
||||
func (x *DeleteUserRequest) GetId() string {
|
||||
@@ -1103,7 +1023,7 @@ type DeleteUserResponse struct {
|
||||
|
||||
func (x *DeleteUserResponse) Reset() {
|
||||
*x = DeleteUserResponse{}
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[18]
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[16]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1115,7 +1035,7 @@ func (x *DeleteUserResponse) String() string {
|
||||
func (*DeleteUserResponse) ProtoMessage() {}
|
||||
|
||||
func (x *DeleteUserResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[18]
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[16]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1128,7 +1048,7 @@ func (x *DeleteUserResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use DeleteUserResponse.ProtoReflect.Descriptor instead.
|
||||
func (*DeleteUserResponse) Descriptor() ([]byte, []int) {
|
||||
return file_mantrae_v1_user_proto_rawDescGZIP(), []int{18}
|
||||
return file_mantrae_v1_user_proto_rawDescGZIP(), []int{16}
|
||||
}
|
||||
|
||||
type ListUsersRequest struct {
|
||||
@@ -1141,7 +1061,7 @@ type ListUsersRequest struct {
|
||||
|
||||
func (x *ListUsersRequest) Reset() {
|
||||
*x = ListUsersRequest{}
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[19]
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[17]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1153,7 +1073,7 @@ func (x *ListUsersRequest) String() string {
|
||||
func (*ListUsersRequest) ProtoMessage() {}
|
||||
|
||||
func (x *ListUsersRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[19]
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[17]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1166,7 +1086,7 @@ func (x *ListUsersRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ListUsersRequest.ProtoReflect.Descriptor instead.
|
||||
func (*ListUsersRequest) Descriptor() ([]byte, []int) {
|
||||
return file_mantrae_v1_user_proto_rawDescGZIP(), []int{19}
|
||||
return file_mantrae_v1_user_proto_rawDescGZIP(), []int{17}
|
||||
}
|
||||
|
||||
func (x *ListUsersRequest) GetLimit() int64 {
|
||||
@@ -1193,7 +1113,7 @@ type ListUsersResponse struct {
|
||||
|
||||
func (x *ListUsersResponse) Reset() {
|
||||
*x = ListUsersResponse{}
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[20]
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[18]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1205,7 +1125,7 @@ func (x *ListUsersResponse) String() string {
|
||||
func (*ListUsersResponse) ProtoMessage() {}
|
||||
|
||||
func (x *ListUsersResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[20]
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[18]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1218,7 +1138,7 @@ func (x *ListUsersResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ListUsersResponse.ProtoReflect.Descriptor instead.
|
||||
func (*ListUsersResponse) Descriptor() ([]byte, []int) {
|
||||
return file_mantrae_v1_user_proto_rawDescGZIP(), []int{20}
|
||||
return file_mantrae_v1_user_proto_rawDescGZIP(), []int{18}
|
||||
}
|
||||
|
||||
func (x *ListUsersResponse) GetUsers() []*User {
|
||||
@@ -1243,7 +1163,7 @@ type GetOIDCStatusRequest struct {
|
||||
|
||||
func (x *GetOIDCStatusRequest) Reset() {
|
||||
*x = GetOIDCStatusRequest{}
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[21]
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[19]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1255,7 +1175,7 @@ func (x *GetOIDCStatusRequest) String() string {
|
||||
func (*GetOIDCStatusRequest) ProtoMessage() {}
|
||||
|
||||
func (x *GetOIDCStatusRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[21]
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[19]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1268,7 +1188,7 @@ func (x *GetOIDCStatusRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use GetOIDCStatusRequest.ProtoReflect.Descriptor instead.
|
||||
func (*GetOIDCStatusRequest) Descriptor() ([]byte, []int) {
|
||||
return file_mantrae_v1_user_proto_rawDescGZIP(), []int{21}
|
||||
return file_mantrae_v1_user_proto_rawDescGZIP(), []int{19}
|
||||
}
|
||||
|
||||
type GetOIDCStatusResponse struct {
|
||||
@@ -1282,7 +1202,7 @@ type GetOIDCStatusResponse struct {
|
||||
|
||||
func (x *GetOIDCStatusResponse) Reset() {
|
||||
*x = GetOIDCStatusResponse{}
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[22]
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[20]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1294,7 +1214,7 @@ func (x *GetOIDCStatusResponse) String() string {
|
||||
func (*GetOIDCStatusResponse) ProtoMessage() {}
|
||||
|
||||
func (x *GetOIDCStatusResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[22]
|
||||
mi := &file_mantrae_v1_user_proto_msgTypes[20]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1307,7 +1227,7 @@ func (x *GetOIDCStatusResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use GetOIDCStatusResponse.ProtoReflect.Descriptor instead.
|
||||
func (*GetOIDCStatusResponse) Descriptor() ([]byte, []int) {
|
||||
return file_mantrae_v1_user_proto_rawDescGZIP(), []int{22}
|
||||
return file_mantrae_v1_user_proto_rawDescGZIP(), []int{20}
|
||||
}
|
||||
|
||||
func (x *GetOIDCStatusResponse) GetOidcEnabled() bool {
|
||||
@@ -1373,176 +1293,167 @@ var file_mantrae_v1_user_proto_rawDesc = string([]byte{
|
||||
0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
|
||||
0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x72, 0x02, 0x10, 0x08, 0x52, 0x08, 0x70, 0x61,
|
||||
0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x42, 0x13, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69,
|
||||
0x66, 0x69, 0x65, 0x72, 0x12, 0x05, 0xba, 0x48, 0x02, 0x08, 0x01, 0x22, 0x29, 0x0a, 0x11, 0x4c,
|
||||
0x66, 0x69, 0x65, 0x72, 0x12, 0x05, 0xba, 0x48, 0x02, 0x08, 0x01, 0x22, 0x39, 0x0a, 0x11, 0x4c,
|
||||
0x6f, 0x67, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||||
0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x13, 0x0a, 0x11, 0x4c, 0x6f, 0x67, 0x6f, 0x75, 0x74,
|
||||
0x12, 0x24, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10,
|
||||
0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72,
|
||||
0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x13, 0x0a, 0x11, 0x4c, 0x6f, 0x67, 0x6f, 0x75, 0x74,
|
||||
0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x14, 0x0a, 0x12, 0x4c,
|
||||
0x6f, 0x67, 0x6f, 0x75, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
||||
0x65, 0x22, 0x12, 0x0a, 0x10, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x4a, 0x57, 0x54, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x39, 0x0a, 0x11, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x4a,
|
||||
0x57, 0x54, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x04, 0x75, 0x73,
|
||||
0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72,
|
||||
0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72,
|
||||
0x22, 0x8d, 0x01, 0x0a, 0x10, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x4f, 0x54, 0x50, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d,
|
||||
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x03,
|
||||
0x48, 0x00, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x05,
|
||||
0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04,
|
||||
0x72, 0x02, 0x60, 0x01, 0x48, 0x00, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x1c, 0x0a,
|
||||
0x03, 0x6f, 0x74, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8,
|
||||
0x01, 0x01, 0x72, 0x02, 0x10, 0x06, 0x52, 0x03, 0x6f, 0x74, 0x70, 0x42, 0x13, 0x0a, 0x0a, 0x69,
|
||||
0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x05, 0xba, 0x48, 0x02, 0x08, 0x01,
|
||||
0x22, 0x29, 0x0a, 0x11, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x4f, 0x54, 0x50, 0x52, 0x65, 0x73,
|
||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x6d, 0x0a, 0x0e, 0x53,
|
||||
0x65, 0x6e, 0x64, 0x4f, 0x54, 0x50, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a,
|
||||
0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
|
||||
0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x03, 0x48, 0x00, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72,
|
||||
0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20,
|
||||
0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x60, 0x01, 0x48, 0x00, 0x52, 0x05,
|
||||
0x65, 0x6d, 0x61, 0x69, 0x6c, 0x42, 0x13, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66,
|
||||
0x69, 0x65, 0x72, 0x12, 0x05, 0xba, 0x48, 0x02, 0x08, 0x01, 0x22, 0x11, 0x0a, 0x0f, 0x53, 0x65,
|
||||
0x6e, 0x64, 0x4f, 0x54, 0x50, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x88, 0x01,
|
||||
0x0a, 0x0e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x12, 0x19, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48,
|
||||
0x04, 0x72, 0x02, 0x10, 0x01, 0x48, 0x00, 0x52, 0x02, 0x69, 0x64, 0x12, 0x25, 0x0a, 0x08, 0x75,
|
||||
0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba,
|
||||
0x48, 0x04, 0x72, 0x02, 0x10, 0x03, 0x48, 0x00, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61,
|
||||
0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28,
|
||||
0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x60, 0x01, 0x48, 0x00, 0x52, 0x05, 0x65, 0x6d,
|
||||
0x61, 0x69, 0x6c, 0x42, 0x13, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65,
|
||||
0x72, 0x12, 0x05, 0xba, 0x48, 0x02, 0x08, 0x01, 0x22, 0x37, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x55,
|
||||
0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x04, 0x75,
|
||||
0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x6d, 0x61, 0x6e, 0x74,
|
||||
0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65,
|
||||
0x72, 0x22, 0x9d, 0x01, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e,
|
||||
0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01,
|
||||
0x01, 0x72, 0x02, 0x10, 0x03, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12,
|
||||
0x26, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||
0x09, 0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x72, 0x02, 0x10, 0x08, 0x52, 0x08, 0x70,
|
||||
0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x1d, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c,
|
||||
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x60, 0x01, 0x52,
|
||||
0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x61, 0x64, 0x6d,
|
||||
0x69, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x41, 0x64, 0x6d, 0x69,
|
||||
0x6e, 0x22, 0x3a, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52,
|
||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e,
|
||||
0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0xc8, 0x01,
|
||||
0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
|
||||
0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x72, 0x02, 0x10, 0x01, 0x52, 0x02, 0x69, 0x64, 0x12,
|
||||
0x26, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||
0x09, 0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x72, 0x02, 0x10, 0x03, 0x52, 0x08, 0x75,
|
||||
0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c,
|
||||
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x60, 0x01, 0x52,
|
||||
0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x61, 0x64, 0x6d,
|
||||
0x69, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x41, 0x64, 0x6d, 0x69,
|
||||
0x6e, 0x12, 0x28, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x05, 0x20,
|
||||
0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x08, 0x48, 0x00, 0x52, 0x08,
|
||||
0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x88, 0x01, 0x01, 0x42, 0x0b, 0x0a, 0x09, 0x5f,
|
||||
0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x3a, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61,
|
||||
0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24,
|
||||
0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x6d,
|
||||
0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04,
|
||||
0x75, 0x73, 0x65, 0x72, 0x22, 0x2f, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73,
|
||||
0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x02, 0x69, 0x64, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0xba, 0x48, 0x07, 0xc8, 0x01, 0x01, 0x72, 0x02, 0x10,
|
||||
0x01, 0x52, 0x02, 0x69, 0x64, 0x22, 0x14, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55,
|
||||
0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xc0, 0x01, 0x0a, 0x10,
|
||||
0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x12, 0x71, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42,
|
||||
0x56, 0xba, 0x48, 0x53, 0xba, 0x01, 0x50, 0x0a, 0x0b, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x2e, 0x76,
|
||||
0x61, 0x6c, 0x69, 0x64, 0x12, 0x29, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x20, 0x6d, 0x75, 0x73, 0x74,
|
||||
0x20, 0x62, 0x65, 0x20, 0x65, 0x69, 0x74, 0x68, 0x65, 0x72, 0x20, 0x2d, 0x31, 0x20, 0x6f, 0x72,
|
||||
0x20, 0x67, 0x72, 0x65, 0x61, 0x74, 0x65, 0x72, 0x20, 0x74, 0x68, 0x61, 0x6e, 0x20, 0x30, 0x1a,
|
||||
0x16, 0x74, 0x68, 0x69, 0x73, 0x20, 0x3d, 0x3d, 0x20, 0x2d, 0x31, 0x20, 0x7c, 0x7c, 0x20, 0x74,
|
||||
0x68, 0x69, 0x73, 0x20, 0x3e, 0x20, 0x30, 0x48, 0x00, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74,
|
||||
0x88, 0x01, 0x01, 0x12, 0x24, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20,
|
||||
0x01, 0x28, 0x03, 0x42, 0x07, 0xba, 0x48, 0x04, 0x22, 0x02, 0x28, 0x00, 0x48, 0x01, 0x52, 0x06,
|
||||
0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x88, 0x01, 0x01, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x6c, 0x69,
|
||||
0x6d, 0x69, 0x74, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x22, 0x5c,
|
||||
0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||
0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03,
|
||||
0x65, 0x22, 0x8b, 0x01, 0x0a, 0x10, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x4f, 0x54, 0x50, 0x52,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61,
|
||||
0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10,
|
||||
0x03, 0x48, 0x00, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a,
|
||||
0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48,
|
||||
0x04, 0x72, 0x02, 0x60, 0x01, 0x48, 0x00, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x1a,
|
||||
0x0a, 0x03, 0x6f, 0x74, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x08, 0xba, 0x48, 0x05,
|
||||
0x72, 0x03, 0x98, 0x01, 0x06, 0x52, 0x03, 0x6f, 0x74, 0x70, 0x42, 0x13, 0x0a, 0x0a, 0x69, 0x64,
|
||||
0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x05, 0xba, 0x48, 0x02, 0x08, 0x01, 0x22,
|
||||
0x39, 0x0a, 0x11, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x4f, 0x54, 0x50, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x0b, 0x32, 0x10, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
||||
0x55, 0x73, 0x65, 0x72, 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x74,
|
||||
0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
|
||||
0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x16, 0x0a, 0x14,
|
||||
0x47, 0x65, 0x74, 0x4f, 0x49, 0x44, 0x43, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71,
|
||||
0x75, 0x65, 0x73, 0x74, 0x22, 0x7b, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x4f, 0x49, 0x44, 0x43, 0x53,
|
||||
0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a,
|
||||
0x0c, 0x6f, 0x69, 0x64, 0x63, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x08, 0x52, 0x0b, 0x6f, 0x69, 0x64, 0x63, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
||||
0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65,
|
||||
0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x45, 0x6e,
|
||||
0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65,
|
||||
0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65,
|
||||
0x72, 0x32, 0xd1, 0x06, 0x0a, 0x0b, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
|
||||
0x65, 0x12, 0x48, 0x0a, 0x09, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1c,
|
||||
0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x69,
|
||||
0x6e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6d,
|
||||
0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x55,
|
||||
0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, 0x0a, 0x4c,
|
||||
0x6f, 0x67, 0x6f, 0x75, 0x74, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1d, 0x2e, 0x6d, 0x61, 0x6e, 0x74,
|
||||
0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x55, 0x73, 0x65,
|
||||
0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x6d, 0x0a, 0x0e, 0x53, 0x65,
|
||||
0x6e, 0x64, 0x4f, 0x54, 0x50, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x08,
|
||||
0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07,
|
||||
0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x03, 0x48, 0x00, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e,
|
||||
0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01,
|
||||
0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x60, 0x01, 0x48, 0x00, 0x52, 0x05, 0x65,
|
||||
0x6d, 0x61, 0x69, 0x6c, 0x42, 0x13, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69,
|
||||
0x65, 0x72, 0x12, 0x05, 0xba, 0x48, 0x02, 0x08, 0x01, 0x22, 0x11, 0x0a, 0x0f, 0x53, 0x65, 0x6e,
|
||||
0x64, 0x4f, 0x54, 0x50, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x81, 0x01, 0x0a,
|
||||
0x0e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
||||
0x19, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04,
|
||||
0x72, 0x02, 0x10, 0x01, 0x48, 0x00, 0x52, 0x02, 0x69, 0x64, 0x12, 0x25, 0x0a, 0x08, 0x75, 0x73,
|
||||
0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48,
|
||||
0x04, 0x72, 0x02, 0x10, 0x03, 0x48, 0x00, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d,
|
||||
0x65, 0x12, 0x1f, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
|
||||
0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x60, 0x01, 0x48, 0x00, 0x52, 0x05, 0x65, 0x6d, 0x61,
|
||||
0x69, 0x6c, 0x42, 0x0c, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72,
|
||||
0x22, 0x37, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||
0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x0b, 0x32, 0x10, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55,
|
||||
0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x97, 0x01, 0x0a, 0x11, 0x43, 0x72,
|
||||
0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
||||
0x23, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x03, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72,
|
||||
0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64,
|
||||
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x08, 0x52,
|
||||
0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x1d, 0x0a, 0x05, 0x65, 0x6d, 0x61,
|
||||
0x69, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x60,
|
||||
0x01, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x61,
|
||||
0x64, 0x6d, 0x69, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x41, 0x64,
|
||||
0x6d, 0x69, 0x6e, 0x22, 0x3a, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65,
|
||||
0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x04, 0x75, 0x73, 0x65,
|
||||
0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61,
|
||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22,
|
||||
0xc5, 0x01, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x02, 0x69, 0x64, 0x12, 0x23,
|
||||
0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
||||
0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x03, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e,
|
||||
0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01,
|
||||
0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x60, 0x01, 0x52, 0x05, 0x65, 0x6d, 0x61,
|
||||
0x69, 0x6c, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x18, 0x04,
|
||||
0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x12, 0x2b, 0x0a,
|
||||
0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42,
|
||||
0x0a, 0xba, 0x48, 0x07, 0xd8, 0x01, 0x01, 0x72, 0x02, 0x10, 0x08, 0x48, 0x00, 0x52, 0x08, 0x70,
|
||||
0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x88, 0x01, 0x01, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x70,
|
||||
0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x3a, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74,
|
||||
0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a,
|
||||
0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x6d, 0x61,
|
||||
0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75,
|
||||
0x73, 0x65, 0x72, 0x22, 0x2c, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65,
|
||||
0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xba, 0x48, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x02, 0x69,
|
||||
0x64, 0x22, 0x14, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52,
|
||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xc0, 0x01, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74,
|
||||
0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x71, 0x0a, 0x05,
|
||||
0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, 0x56, 0xba, 0x48, 0x53,
|
||||
0xba, 0x01, 0x50, 0x0a, 0x0b, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64,
|
||||
0x12, 0x29, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x20, 0x6d, 0x75, 0x73, 0x74, 0x20, 0x62, 0x65, 0x20,
|
||||
0x65, 0x69, 0x74, 0x68, 0x65, 0x72, 0x20, 0x2d, 0x31, 0x20, 0x6f, 0x72, 0x20, 0x67, 0x72, 0x65,
|
||||
0x61, 0x74, 0x65, 0x72, 0x20, 0x74, 0x68, 0x61, 0x6e, 0x20, 0x30, 0x1a, 0x16, 0x74, 0x68, 0x69,
|
||||
0x73, 0x20, 0x3d, 0x3d, 0x20, 0x2d, 0x31, 0x20, 0x7c, 0x7c, 0x20, 0x74, 0x68, 0x69, 0x73, 0x20,
|
||||
0x3e, 0x20, 0x30, 0x48, 0x00, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x88, 0x01, 0x01, 0x12,
|
||||
0x24, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x42,
|
||||
0x07, 0xba, 0x48, 0x04, 0x22, 0x02, 0x28, 0x00, 0x48, 0x01, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73,
|
||||
0x65, 0x74, 0x88, 0x01, 0x01, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x42,
|
||||
0x09, 0x0a, 0x07, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x22, 0x5c, 0x0a, 0x11, 0x4c, 0x69,
|
||||
0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
||||
0x26, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10,
|
||||
0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72,
|
||||
0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c,
|
||||
0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x74, 0x6f,
|
||||
0x74, 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x16, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x4f,
|
||||
0x49, 0x44, 0x43, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x22, 0x7b, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x4f, 0x49, 0x44, 0x43, 0x53, 0x74, 0x61, 0x74, 0x75,
|
||||
0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x69, 0x64,
|
||||
0x63, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52,
|
||||
0x0b, 0x6f, 0x69, 0x64, 0x63, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x23, 0x0a, 0x0d,
|
||||
0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20,
|
||||
0x01, 0x28, 0x08, 0x52, 0x0c, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
|
||||
0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x32, 0x87, 0x06,
|
||||
0x0a, 0x0b, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x48, 0x0a,
|
||||
0x09, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x6d, 0x61, 0x6e,
|
||||
0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x55, 0x73, 0x65,
|
||||
0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72,
|
||||
0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52,
|
||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, 0x0a, 0x4c, 0x6f, 0x67, 0x6f, 0x75,
|
||||
0x74, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1d, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e,
|
||||
0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71,
|
||||
0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76,
|
||||
0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x09, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x4f, 0x54,
|
||||
0x50, 0x12, 0x1c, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56,
|
||||
0x65, 0x72, 0x69, 0x66, 0x79, 0x4f, 0x54, 0x50, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
||||
0x1d, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72,
|
||||
0x69, 0x66, 0x79, 0x4f, 0x54, 0x50, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42,
|
||||
0x0a, 0x07, 0x53, 0x65, 0x6e, 0x64, 0x4f, 0x54, 0x50, 0x12, 0x1a, 0x2e, 0x6d, 0x61, 0x6e, 0x74,
|
||||
0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4f, 0x54, 0x50, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e,
|
||||
0x76, 0x31, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4f, 0x54, 0x50, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||
0x73, 0x65, 0x12, 0x47, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1a, 0x2e,
|
||||
0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73,
|
||||
0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x6d, 0x61, 0x6e, 0x74,
|
||||
0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65,
|
||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x4b, 0x0a, 0x0a, 0x43,
|
||||
0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1d, 0x2e, 0x6d, 0x61, 0x6e, 0x74,
|
||||
0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65,
|
||||
0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72,
|
||||
0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x55, 0x73, 0x65, 0x72,
|
||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x09, 0x56, 0x65, 0x72, 0x69,
|
||||
0x66, 0x79, 0x4a, 0x57, 0x54, 0x12, 0x1c, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e,
|
||||
0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x4a, 0x57, 0x54, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31,
|
||||
0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x4a, 0x57, 0x54, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||
0x73, 0x65, 0x12, 0x48, 0x0a, 0x09, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x4f, 0x54, 0x50, 0x12,
|
||||
0x1c, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72,
|
||||
0x69, 0x66, 0x79, 0x4f, 0x54, 0x50, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e,
|
||||
0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66,
|
||||
0x79, 0x4f, 0x54, 0x50, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x07,
|
||||
0x53, 0x65, 0x6e, 0x64, 0x4f, 0x54, 0x50, 0x12, 0x1a, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61,
|
||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4f, 0x54, 0x50, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31,
|
||||
0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4f, 0x54, 0x50, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||||
0x12, 0x47, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1a, 0x2e, 0x6d, 0x61,
|
||||
0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61,
|
||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x4b, 0x0a, 0x0a, 0x43, 0x72, 0x65,
|
||||
0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1d, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61,
|
||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65,
|
||||
0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65,
|
||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
|
||||
0x55, 0x73, 0x65, 0x72, 0x12, 0x1d, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76,
|
||||
0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31,
|
||||
0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||
0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65,
|
||||
0x72, 0x12, 0x1d, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44,
|
||||
0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x1a, 0x1e, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65,
|
||||
0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||||
0x12, 0x4d, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x12, 0x1c, 0x2e,
|
||||
0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72,
|
||||
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61,
|
||||
0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1d, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65,
|
||||
0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e,
|
||||
0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73,
|
||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55,
|
||||
0x73, 0x65, 0x72, 0x12, 0x1d, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31,
|
||||
0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
||||
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||
0x73, 0x65, 0x12, 0x4d, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x12,
|
||||
0x1c, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73,
|
||||
0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e,
|
||||
0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x55,
|
||||
0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6d, 0x61,
|
||||
0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65,
|
||||
0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12,
|
||||
0x54, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4f, 0x49, 0x44, 0x43, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
|
||||
0x12, 0x20, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65,
|
||||
0x74, 0x4f, 0x49, 0x44, 0x43, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
||||
0x47, 0x65, 0x74, 0x4f, 0x49, 0x44, 0x43, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73,
|
||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0xa3, 0x01, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x2e, 0x6d, 0x61,
|
||||
0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x09, 0x55, 0x73, 0x65, 0x72, 0x50, 0x72,
|
||||
0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
|
||||
0x6d, 0x2f, 0x6d, 0x69, 0x7a, 0x75, 0x63, 0x68, 0x69, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x6d, 0x61,
|
||||
0x6e, 0x74, 0x72, 0x61, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f,
|
||||
0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x6d, 0x61, 0x6e, 0x74, 0x72,
|
||||
0x61, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x4d, 0x58, 0x58, 0xaa, 0x02, 0x0a, 0x4d, 0x61, 0x6e,
|
||||
0x74, 0x72, 0x61, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0a, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61,
|
||||
0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x16, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x5c, 0x56,
|
||||
0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0b,
|
||||
0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f,
|
||||
0x74, 0x6f, 0x33,
|
||||
0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02,
|
||||
0x01, 0x12, 0x54, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4f, 0x49, 0x44, 0x43, 0x53, 0x74, 0x61, 0x74,
|
||||
0x75, 0x73, 0x12, 0x20, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
||||
0x47, 0x65, 0x74, 0x4f, 0x49, 0x44, 0x43, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71,
|
||||
0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76,
|
||||
0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x49, 0x44, 0x43, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52,
|
||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0xa3, 0x01, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x2e,
|
||||
0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x09, 0x55, 0x73, 0x65, 0x72,
|
||||
0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
|
||||
0x63, 0x6f, 0x6d, 0x2f, 0x6d, 0x69, 0x7a, 0x75, 0x63, 0x68, 0x69, 0x6c, 0x61, 0x62, 0x73, 0x2f,
|
||||
0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65,
|
||||
0x6e, 0x2f, 0x6d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x6d, 0x61, 0x6e,
|
||||
0x74, 0x72, 0x61, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x4d, 0x58, 0x58, 0xaa, 0x02, 0x0a, 0x4d,
|
||||
0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0a, 0x4d, 0x61, 0x6e, 0x74,
|
||||
0x72, 0x61, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x16, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65,
|
||||
0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea,
|
||||
0x02, 0x0b, 0x4d, 0x61, 0x6e, 0x74, 0x72, 0x61, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
})
|
||||
|
||||
var (
|
||||
@@ -1557,70 +1468,67 @@ func file_mantrae_v1_user_proto_rawDescGZIP() []byte {
|
||||
return file_mantrae_v1_user_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_mantrae_v1_user_proto_msgTypes = make([]protoimpl.MessageInfo, 23)
|
||||
var file_mantrae_v1_user_proto_msgTypes = make([]protoimpl.MessageInfo, 21)
|
||||
var file_mantrae_v1_user_proto_goTypes = []any{
|
||||
(*User)(nil), // 0: mantrae.v1.User
|
||||
(*LoginUserRequest)(nil), // 1: mantrae.v1.LoginUserRequest
|
||||
(*LoginUserResponse)(nil), // 2: mantrae.v1.LoginUserResponse
|
||||
(*LogoutUserRequest)(nil), // 3: mantrae.v1.LogoutUserRequest
|
||||
(*LogoutUserResponse)(nil), // 4: mantrae.v1.LogoutUserResponse
|
||||
(*VerifyJWTRequest)(nil), // 5: mantrae.v1.VerifyJWTRequest
|
||||
(*VerifyJWTResponse)(nil), // 6: mantrae.v1.VerifyJWTResponse
|
||||
(*VerifyOTPRequest)(nil), // 7: mantrae.v1.VerifyOTPRequest
|
||||
(*VerifyOTPResponse)(nil), // 8: mantrae.v1.VerifyOTPResponse
|
||||
(*SendOTPRequest)(nil), // 9: mantrae.v1.SendOTPRequest
|
||||
(*SendOTPResponse)(nil), // 10: mantrae.v1.SendOTPResponse
|
||||
(*GetUserRequest)(nil), // 11: mantrae.v1.GetUserRequest
|
||||
(*GetUserResponse)(nil), // 12: mantrae.v1.GetUserResponse
|
||||
(*CreateUserRequest)(nil), // 13: mantrae.v1.CreateUserRequest
|
||||
(*CreateUserResponse)(nil), // 14: mantrae.v1.CreateUserResponse
|
||||
(*UpdateUserRequest)(nil), // 15: mantrae.v1.UpdateUserRequest
|
||||
(*UpdateUserResponse)(nil), // 16: mantrae.v1.UpdateUserResponse
|
||||
(*DeleteUserRequest)(nil), // 17: mantrae.v1.DeleteUserRequest
|
||||
(*DeleteUserResponse)(nil), // 18: mantrae.v1.DeleteUserResponse
|
||||
(*ListUsersRequest)(nil), // 19: mantrae.v1.ListUsersRequest
|
||||
(*ListUsersResponse)(nil), // 20: mantrae.v1.ListUsersResponse
|
||||
(*GetOIDCStatusRequest)(nil), // 21: mantrae.v1.GetOIDCStatusRequest
|
||||
(*GetOIDCStatusResponse)(nil), // 22: mantrae.v1.GetOIDCStatusResponse
|
||||
(*timestamppb.Timestamp)(nil), // 23: google.protobuf.Timestamp
|
||||
(*VerifyOTPRequest)(nil), // 5: mantrae.v1.VerifyOTPRequest
|
||||
(*VerifyOTPResponse)(nil), // 6: mantrae.v1.VerifyOTPResponse
|
||||
(*SendOTPRequest)(nil), // 7: mantrae.v1.SendOTPRequest
|
||||
(*SendOTPResponse)(nil), // 8: mantrae.v1.SendOTPResponse
|
||||
(*GetUserRequest)(nil), // 9: mantrae.v1.GetUserRequest
|
||||
(*GetUserResponse)(nil), // 10: mantrae.v1.GetUserResponse
|
||||
(*CreateUserRequest)(nil), // 11: mantrae.v1.CreateUserRequest
|
||||
(*CreateUserResponse)(nil), // 12: mantrae.v1.CreateUserResponse
|
||||
(*UpdateUserRequest)(nil), // 13: mantrae.v1.UpdateUserRequest
|
||||
(*UpdateUserResponse)(nil), // 14: mantrae.v1.UpdateUserResponse
|
||||
(*DeleteUserRequest)(nil), // 15: mantrae.v1.DeleteUserRequest
|
||||
(*DeleteUserResponse)(nil), // 16: mantrae.v1.DeleteUserResponse
|
||||
(*ListUsersRequest)(nil), // 17: mantrae.v1.ListUsersRequest
|
||||
(*ListUsersResponse)(nil), // 18: mantrae.v1.ListUsersResponse
|
||||
(*GetOIDCStatusRequest)(nil), // 19: mantrae.v1.GetOIDCStatusRequest
|
||||
(*GetOIDCStatusResponse)(nil), // 20: mantrae.v1.GetOIDCStatusResponse
|
||||
(*timestamppb.Timestamp)(nil), // 21: google.protobuf.Timestamp
|
||||
}
|
||||
var file_mantrae_v1_user_proto_depIdxs = []int32{
|
||||
23, // 0: mantrae.v1.User.otp_expiry:type_name -> google.protobuf.Timestamp
|
||||
23, // 1: mantrae.v1.User.last_login:type_name -> google.protobuf.Timestamp
|
||||
23, // 2: mantrae.v1.User.created_at:type_name -> google.protobuf.Timestamp
|
||||
23, // 3: mantrae.v1.User.updated_at:type_name -> google.protobuf.Timestamp
|
||||
0, // 4: mantrae.v1.VerifyJWTResponse.user:type_name -> mantrae.v1.User
|
||||
0, // 5: mantrae.v1.GetUserResponse.user:type_name -> mantrae.v1.User
|
||||
0, // 6: mantrae.v1.CreateUserResponse.user:type_name -> mantrae.v1.User
|
||||
0, // 7: mantrae.v1.UpdateUserResponse.user:type_name -> mantrae.v1.User
|
||||
0, // 8: mantrae.v1.ListUsersResponse.users:type_name -> mantrae.v1.User
|
||||
1, // 9: mantrae.v1.UserService.LoginUser:input_type -> mantrae.v1.LoginUserRequest
|
||||
3, // 10: mantrae.v1.UserService.LogoutUser:input_type -> mantrae.v1.LogoutUserRequest
|
||||
5, // 11: mantrae.v1.UserService.VerifyJWT:input_type -> mantrae.v1.VerifyJWTRequest
|
||||
7, // 12: mantrae.v1.UserService.VerifyOTP:input_type -> mantrae.v1.VerifyOTPRequest
|
||||
9, // 13: mantrae.v1.UserService.SendOTP:input_type -> mantrae.v1.SendOTPRequest
|
||||
11, // 14: mantrae.v1.UserService.GetUser:input_type -> mantrae.v1.GetUserRequest
|
||||
13, // 15: mantrae.v1.UserService.CreateUser:input_type -> mantrae.v1.CreateUserRequest
|
||||
15, // 16: mantrae.v1.UserService.UpdateUser:input_type -> mantrae.v1.UpdateUserRequest
|
||||
17, // 17: mantrae.v1.UserService.DeleteUser:input_type -> mantrae.v1.DeleteUserRequest
|
||||
19, // 18: mantrae.v1.UserService.ListUsers:input_type -> mantrae.v1.ListUsersRequest
|
||||
21, // 19: mantrae.v1.UserService.GetOIDCStatus:input_type -> mantrae.v1.GetOIDCStatusRequest
|
||||
21, // 0: mantrae.v1.User.otp_expiry:type_name -> google.protobuf.Timestamp
|
||||
21, // 1: mantrae.v1.User.last_login:type_name -> google.protobuf.Timestamp
|
||||
21, // 2: mantrae.v1.User.created_at:type_name -> google.protobuf.Timestamp
|
||||
21, // 3: mantrae.v1.User.updated_at:type_name -> google.protobuf.Timestamp
|
||||
0, // 4: mantrae.v1.LoginUserResponse.user:type_name -> mantrae.v1.User
|
||||
0, // 5: mantrae.v1.VerifyOTPResponse.user:type_name -> mantrae.v1.User
|
||||
0, // 6: mantrae.v1.GetUserResponse.user:type_name -> mantrae.v1.User
|
||||
0, // 7: mantrae.v1.CreateUserResponse.user:type_name -> mantrae.v1.User
|
||||
0, // 8: mantrae.v1.UpdateUserResponse.user:type_name -> mantrae.v1.User
|
||||
0, // 9: mantrae.v1.ListUsersResponse.users:type_name -> mantrae.v1.User
|
||||
1, // 10: mantrae.v1.UserService.LoginUser:input_type -> mantrae.v1.LoginUserRequest
|
||||
3, // 11: mantrae.v1.UserService.LogoutUser:input_type -> mantrae.v1.LogoutUserRequest
|
||||
5, // 12: mantrae.v1.UserService.VerifyOTP:input_type -> mantrae.v1.VerifyOTPRequest
|
||||
7, // 13: mantrae.v1.UserService.SendOTP:input_type -> mantrae.v1.SendOTPRequest
|
||||
9, // 14: mantrae.v1.UserService.GetUser:input_type -> mantrae.v1.GetUserRequest
|
||||
11, // 15: mantrae.v1.UserService.CreateUser:input_type -> mantrae.v1.CreateUserRequest
|
||||
13, // 16: mantrae.v1.UserService.UpdateUser:input_type -> mantrae.v1.UpdateUserRequest
|
||||
15, // 17: mantrae.v1.UserService.DeleteUser:input_type -> mantrae.v1.DeleteUserRequest
|
||||
17, // 18: mantrae.v1.UserService.ListUsers:input_type -> mantrae.v1.ListUsersRequest
|
||||
19, // 19: mantrae.v1.UserService.GetOIDCStatus:input_type -> mantrae.v1.GetOIDCStatusRequest
|
||||
2, // 20: mantrae.v1.UserService.LoginUser:output_type -> mantrae.v1.LoginUserResponse
|
||||
4, // 21: mantrae.v1.UserService.LogoutUser:output_type -> mantrae.v1.LogoutUserResponse
|
||||
6, // 22: mantrae.v1.UserService.VerifyJWT:output_type -> mantrae.v1.VerifyJWTResponse
|
||||
8, // 23: mantrae.v1.UserService.VerifyOTP:output_type -> mantrae.v1.VerifyOTPResponse
|
||||
10, // 24: mantrae.v1.UserService.SendOTP:output_type -> mantrae.v1.SendOTPResponse
|
||||
12, // 25: mantrae.v1.UserService.GetUser:output_type -> mantrae.v1.GetUserResponse
|
||||
14, // 26: mantrae.v1.UserService.CreateUser:output_type -> mantrae.v1.CreateUserResponse
|
||||
16, // 27: mantrae.v1.UserService.UpdateUser:output_type -> mantrae.v1.UpdateUserResponse
|
||||
18, // 28: mantrae.v1.UserService.DeleteUser:output_type -> mantrae.v1.DeleteUserResponse
|
||||
20, // 29: mantrae.v1.UserService.ListUsers:output_type -> mantrae.v1.ListUsersResponse
|
||||
22, // 30: mantrae.v1.UserService.GetOIDCStatus:output_type -> mantrae.v1.GetOIDCStatusResponse
|
||||
20, // [20:31] is the sub-list for method output_type
|
||||
9, // [9:20] is the sub-list for method input_type
|
||||
9, // [9:9] is the sub-list for extension type_name
|
||||
9, // [9:9] is the sub-list for extension extendee
|
||||
0, // [0:9] is the sub-list for field type_name
|
||||
6, // 22: mantrae.v1.UserService.VerifyOTP:output_type -> mantrae.v1.VerifyOTPResponse
|
||||
8, // 23: mantrae.v1.UserService.SendOTP:output_type -> mantrae.v1.SendOTPResponse
|
||||
10, // 24: mantrae.v1.UserService.GetUser:output_type -> mantrae.v1.GetUserResponse
|
||||
12, // 25: mantrae.v1.UserService.CreateUser:output_type -> mantrae.v1.CreateUserResponse
|
||||
14, // 26: mantrae.v1.UserService.UpdateUser:output_type -> mantrae.v1.UpdateUserResponse
|
||||
16, // 27: mantrae.v1.UserService.DeleteUser:output_type -> mantrae.v1.DeleteUserResponse
|
||||
18, // 28: mantrae.v1.UserService.ListUsers:output_type -> mantrae.v1.ListUsersResponse
|
||||
20, // 29: mantrae.v1.UserService.GetOIDCStatus:output_type -> mantrae.v1.GetOIDCStatusResponse
|
||||
20, // [20:30] is the sub-list for method output_type
|
||||
10, // [10:20] is the sub-list for method input_type
|
||||
10, // [10:10] is the sub-list for extension type_name
|
||||
10, // [10:10] is the sub-list for extension extendee
|
||||
0, // [0:10] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_mantrae_v1_user_proto_init() }
|
||||
@@ -1632,28 +1540,28 @@ func file_mantrae_v1_user_proto_init() {
|
||||
(*LoginUserRequest_Username)(nil),
|
||||
(*LoginUserRequest_Email)(nil),
|
||||
}
|
||||
file_mantrae_v1_user_proto_msgTypes[7].OneofWrappers = []any{
|
||||
file_mantrae_v1_user_proto_msgTypes[5].OneofWrappers = []any{
|
||||
(*VerifyOTPRequest_Username)(nil),
|
||||
(*VerifyOTPRequest_Email)(nil),
|
||||
}
|
||||
file_mantrae_v1_user_proto_msgTypes[9].OneofWrappers = []any{
|
||||
file_mantrae_v1_user_proto_msgTypes[7].OneofWrappers = []any{
|
||||
(*SendOTPRequest_Username)(nil),
|
||||
(*SendOTPRequest_Email)(nil),
|
||||
}
|
||||
file_mantrae_v1_user_proto_msgTypes[11].OneofWrappers = []any{
|
||||
file_mantrae_v1_user_proto_msgTypes[9].OneofWrappers = []any{
|
||||
(*GetUserRequest_Id)(nil),
|
||||
(*GetUserRequest_Username)(nil),
|
||||
(*GetUserRequest_Email)(nil),
|
||||
}
|
||||
file_mantrae_v1_user_proto_msgTypes[15].OneofWrappers = []any{}
|
||||
file_mantrae_v1_user_proto_msgTypes[19].OneofWrappers = []any{}
|
||||
file_mantrae_v1_user_proto_msgTypes[13].OneofWrappers = []any{}
|
||||
file_mantrae_v1_user_proto_msgTypes[17].OneofWrappers = []any{}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_mantrae_v1_user_proto_rawDesc), len(file_mantrae_v1_user_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 23,
|
||||
NumMessages: 21,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
|
||||
+11
-152
@@ -235,8 +235,6 @@ components:
|
||||
title: profile_id
|
||||
format: int64
|
||||
title: CreateAgentRequest
|
||||
required:
|
||||
- profileId
|
||||
additionalProperties: false
|
||||
mantrae.v1.CreateAgentResponse:
|
||||
type: object
|
||||
@@ -254,8 +252,6 @@ components:
|
||||
title: id
|
||||
minLength: 1
|
||||
title: DeleteAgentRequest
|
||||
required:
|
||||
- id
|
||||
additionalProperties: false
|
||||
mantrae.v1.DeleteAgentResponse:
|
||||
type: object
|
||||
@@ -269,8 +265,6 @@ components:
|
||||
title: id
|
||||
minLength: 1
|
||||
title: GetAgentRequest
|
||||
required:
|
||||
- id
|
||||
additionalProperties: false
|
||||
mantrae.v1.GetAgentResponse:
|
||||
type: object
|
||||
@@ -340,8 +334,6 @@ components:
|
||||
format: int64
|
||||
nullable: true
|
||||
title: ListAgentsRequest
|
||||
required:
|
||||
- profileId
|
||||
additionalProperties: false
|
||||
mantrae.v1.ListAgentsResponse:
|
||||
type: object
|
||||
@@ -367,8 +359,6 @@ components:
|
||||
title: id
|
||||
minLength: 1
|
||||
title: RotateAgentTokenRequest
|
||||
required:
|
||||
- id
|
||||
additionalProperties: false
|
||||
mantrae.v1.RotateAgentTokenResponse:
|
||||
type: object
|
||||
@@ -388,11 +378,8 @@ components:
|
||||
ip:
|
||||
type: string
|
||||
title: ip
|
||||
minLength: 1
|
||||
format: ip
|
||||
title: UpdateAgentIPRequest
|
||||
required:
|
||||
- id
|
||||
- ip
|
||||
additionalProperties: false
|
||||
mantrae.v1.UpdateAgentIPResponse:
|
||||
type: object
|
||||
@@ -587,8 +574,6 @@ components:
|
||||
title: name
|
||||
minLength: 1
|
||||
title: DeleteBackupRequest
|
||||
required:
|
||||
- name
|
||||
additionalProperties: false
|
||||
mantrae.v1.DeleteBackupResponse:
|
||||
type: object
|
||||
@@ -633,8 +618,6 @@ components:
|
||||
title: name
|
||||
minLength: 1
|
||||
title: RestoreBackupRequest
|
||||
required:
|
||||
- name
|
||||
additionalProperties: false
|
||||
mantrae.v1.RestoreBackupResponse:
|
||||
type: object
|
||||
@@ -730,12 +713,15 @@ components:
|
||||
apiKey:
|
||||
type: string
|
||||
title: api_key
|
||||
minLength: 1
|
||||
apiUrl:
|
||||
type: string
|
||||
title: api_url
|
||||
format: uri
|
||||
ip:
|
||||
type: string
|
||||
title: ip
|
||||
format: ip
|
||||
proxied:
|
||||
type: boolean
|
||||
title: proxied
|
||||
@@ -869,9 +855,6 @@ components:
|
||||
type: boolean
|
||||
title: is_default
|
||||
title: CreateEntryPointRequest
|
||||
required:
|
||||
- profileId
|
||||
- name
|
||||
additionalProperties: false
|
||||
mantrae.v1.CreateEntryPointResponse:
|
||||
type: object
|
||||
@@ -942,8 +925,6 @@ components:
|
||||
title: id
|
||||
format: int64
|
||||
title: GetEntryPointRequest
|
||||
required:
|
||||
- id
|
||||
additionalProperties: false
|
||||
mantrae.v1.GetEntryPointResponse:
|
||||
type: object
|
||||
@@ -984,8 +965,6 @@ components:
|
||||
format: int64
|
||||
nullable: true
|
||||
title: ListEntryPointsRequest
|
||||
required:
|
||||
- profileId
|
||||
additionalProperties: false
|
||||
mantrae.v1.ListEntryPointsResponse:
|
||||
type: object
|
||||
@@ -1025,9 +1004,6 @@ components:
|
||||
type: boolean
|
||||
title: is_default
|
||||
title: UpdateEntryPointRequest
|
||||
required:
|
||||
- id
|
||||
- name
|
||||
additionalProperties: false
|
||||
mantrae.v1.UpdateEntryPointResponse:
|
||||
type: object
|
||||
@@ -1133,10 +1109,6 @@ components:
|
||||
title: config
|
||||
$ref: '#/components/schemas/google.protobuf.Struct'
|
||||
title: CreateMiddlewareRequest
|
||||
required:
|
||||
- profileId
|
||||
- name
|
||||
- type
|
||||
additionalProperties: false
|
||||
mantrae.v1.CreateMiddlewareResponse:
|
||||
type: object
|
||||
@@ -1160,9 +1132,6 @@ components:
|
||||
title: type
|
||||
$ref: '#/components/schemas/mantrae.v1.MiddlewareType'
|
||||
title: DeleteMiddlewareRequest
|
||||
required:
|
||||
- id
|
||||
- type
|
||||
additionalProperties: false
|
||||
mantrae.v1.DeleteMiddlewareResponse:
|
||||
type: object
|
||||
@@ -1196,9 +1165,6 @@ components:
|
||||
title: type
|
||||
$ref: '#/components/schemas/mantrae.v1.MiddlewareType'
|
||||
title: GetMiddlewareRequest
|
||||
required:
|
||||
- id
|
||||
- type
|
||||
additionalProperties: false
|
||||
mantrae.v1.GetMiddlewareResponse:
|
||||
type: object
|
||||
@@ -1248,8 +1214,6 @@ components:
|
||||
format: int64
|
||||
nullable: true
|
||||
title: ListMiddlewaresRequest
|
||||
required:
|
||||
- profileId
|
||||
additionalProperties: false
|
||||
mantrae.v1.ListMiddlewaresResponse:
|
||||
type: object
|
||||
@@ -1398,10 +1362,6 @@ components:
|
||||
type: boolean
|
||||
title: enabled
|
||||
title: UpdateMiddlewareRequest
|
||||
required:
|
||||
- id
|
||||
- name
|
||||
- type
|
||||
additionalProperties: false
|
||||
mantrae.v1.UpdateMiddlewareResponse:
|
||||
type: object
|
||||
@@ -1447,8 +1407,6 @@ components:
|
||||
$ref: '#/components/schemas/mantrae.v1.RouterType'
|
||||
title: CreateRouterRequest
|
||||
required:
|
||||
- profileId
|
||||
- name
|
||||
- type
|
||||
additionalProperties: false
|
||||
mantrae.v1.CreateRouterResponse:
|
||||
@@ -1473,9 +1431,6 @@ components:
|
||||
title: type
|
||||
$ref: '#/components/schemas/mantrae.v1.RouterType'
|
||||
title: DeleteRouterRequest
|
||||
required:
|
||||
- id
|
||||
- type
|
||||
additionalProperties: false
|
||||
mantrae.v1.DeleteRouterResponse:
|
||||
type: object
|
||||
@@ -1495,9 +1450,6 @@ components:
|
||||
title: type
|
||||
$ref: '#/components/schemas/mantrae.v1.RouterType'
|
||||
title: GetRouterRequest
|
||||
required:
|
||||
- id
|
||||
- type
|
||||
additionalProperties: false
|
||||
mantrae.v1.GetRouterResponse:
|
||||
type: object
|
||||
@@ -1547,8 +1499,6 @@ components:
|
||||
format: int64
|
||||
nullable: true
|
||||
title: ListRoutersRequest
|
||||
required:
|
||||
- profileId
|
||||
additionalProperties: false
|
||||
mantrae.v1.ListRoutersResponse:
|
||||
type: object
|
||||
@@ -1638,10 +1588,6 @@ components:
|
||||
$ref: '#/components/schemas/mantrae.v1.DnsProvider'
|
||||
title: dns_providers
|
||||
title: UpdateRouterRequest
|
||||
required:
|
||||
- id
|
||||
- name
|
||||
- type
|
||||
additionalProperties: false
|
||||
mantrae.v1.UpdateRouterResponse:
|
||||
type: object
|
||||
@@ -1683,10 +1629,6 @@ components:
|
||||
title: type
|
||||
$ref: '#/components/schemas/mantrae.v1.ServiceType'
|
||||
title: CreateServiceRequest
|
||||
required:
|
||||
- profileId
|
||||
- name
|
||||
- type
|
||||
additionalProperties: false
|
||||
mantrae.v1.CreateServiceResponse:
|
||||
type: object
|
||||
@@ -1710,9 +1652,6 @@ components:
|
||||
title: type
|
||||
$ref: '#/components/schemas/mantrae.v1.ServiceType'
|
||||
title: DeleteServiceRequest
|
||||
required:
|
||||
- id
|
||||
- type
|
||||
additionalProperties: false
|
||||
mantrae.v1.DeleteServiceResponse:
|
||||
type: object
|
||||
@@ -1755,9 +1694,6 @@ components:
|
||||
title: type
|
||||
$ref: '#/components/schemas/mantrae.v1.ServiceType'
|
||||
title: GetServiceRequest
|
||||
required:
|
||||
- id
|
||||
- type
|
||||
additionalProperties: false
|
||||
mantrae.v1.GetServiceResponse:
|
||||
type: object
|
||||
@@ -1807,8 +1743,6 @@ components:
|
||||
format: int64
|
||||
nullable: true
|
||||
title: ListServicesRequest
|
||||
required:
|
||||
- profileId
|
||||
additionalProperties: false
|
||||
mantrae.v1.ListServicesResponse:
|
||||
type: object
|
||||
@@ -1882,10 +1816,6 @@ components:
|
||||
title: type
|
||||
$ref: '#/components/schemas/mantrae.v1.ServiceType'
|
||||
title: UpdateServiceRequest
|
||||
required:
|
||||
- id
|
||||
- name
|
||||
- type
|
||||
additionalProperties: false
|
||||
mantrae.v1.UpdateServiceResponse:
|
||||
type: object
|
||||
@@ -1914,9 +1844,6 @@ components:
|
||||
type: boolean
|
||||
title: is_admin
|
||||
title: CreateUserRequest
|
||||
required:
|
||||
- username
|
||||
- password
|
||||
additionalProperties: false
|
||||
mantrae.v1.CreateUserResponse:
|
||||
type: object
|
||||
@@ -1934,8 +1861,6 @@ components:
|
||||
title: id
|
||||
minLength: 1
|
||||
title: DeleteUserRequest
|
||||
required:
|
||||
- id
|
||||
additionalProperties: false
|
||||
mantrae.v1.DeleteUserResponse:
|
||||
type: object
|
||||
@@ -2073,9 +1998,9 @@ components:
|
||||
mantrae.v1.LoginUserResponse:
|
||||
type: object
|
||||
properties:
|
||||
token:
|
||||
type: string
|
||||
title: token
|
||||
user:
|
||||
title: user
|
||||
$ref: '#/components/schemas/mantrae.v1.User'
|
||||
title: LoginUserResponse
|
||||
additionalProperties: false
|
||||
mantrae.v1.LogoutUserRequest:
|
||||
@@ -2138,9 +2063,6 @@ components:
|
||||
minLength: 8
|
||||
nullable: true
|
||||
title: UpdateUserRequest
|
||||
required:
|
||||
- id
|
||||
- username
|
||||
additionalProperties: false
|
||||
mantrae.v1.UpdateUserResponse:
|
||||
type: object
|
||||
@@ -2185,18 +2107,6 @@ components:
|
||||
$ref: '#/components/schemas/google.protobuf.Timestamp'
|
||||
title: User
|
||||
additionalProperties: false
|
||||
mantrae.v1.VerifyJWTRequest:
|
||||
type: object
|
||||
title: VerifyJWTRequest
|
||||
additionalProperties: false
|
||||
mantrae.v1.VerifyJWTResponse:
|
||||
type: object
|
||||
properties:
|
||||
user:
|
||||
title: user
|
||||
$ref: '#/components/schemas/mantrae.v1.User'
|
||||
title: VerifyJWTResponse
|
||||
additionalProperties: false
|
||||
mantrae.v1.VerifyOTPRequest:
|
||||
type: object
|
||||
anyOf:
|
||||
@@ -2222,17 +2132,16 @@ components:
|
||||
otp:
|
||||
type: string
|
||||
title: otp
|
||||
maxLength: 6
|
||||
minLength: 6
|
||||
title: VerifyOTPRequest
|
||||
required:
|
||||
- otp
|
||||
additionalProperties: false
|
||||
mantrae.v1.VerifyOTPResponse:
|
||||
type: object
|
||||
properties:
|
||||
token:
|
||||
type: string
|
||||
title: token
|
||||
user:
|
||||
title: user
|
||||
$ref: '#/components/schemas/mantrae.v1.User'
|
||||
title: VerifyOTPResponse
|
||||
additionalProperties: false
|
||||
mantrae.v1.EventType:
|
||||
@@ -2388,8 +2297,6 @@ components:
|
||||
title: resource_types
|
||||
description: Filter by specific resource types
|
||||
title: ProfileEventsRequest
|
||||
required:
|
||||
- profileId
|
||||
additionalProperties: false
|
||||
mantrae.v1.ProfileEventsResponse:
|
||||
type: object
|
||||
@@ -2411,8 +2318,6 @@ components:
|
||||
title: description
|
||||
nullable: true
|
||||
title: CreateProfileRequest
|
||||
required:
|
||||
- name
|
||||
additionalProperties: false
|
||||
mantrae.v1.CreateProfileResponse:
|
||||
type: object
|
||||
@@ -2433,8 +2338,6 @@ components:
|
||||
title: id
|
||||
format: int64
|
||||
title: DeleteProfileRequest
|
||||
required:
|
||||
- id
|
||||
additionalProperties: false
|
||||
mantrae.v1.DeleteProfileResponse:
|
||||
type: object
|
||||
@@ -2451,8 +2354,6 @@ components:
|
||||
title: id
|
||||
format: int64
|
||||
title: GetProfileRequest
|
||||
required:
|
||||
- id
|
||||
additionalProperties: false
|
||||
mantrae.v1.GetProfileResponse:
|
||||
type: object
|
||||
@@ -2545,9 +2446,6 @@ components:
|
||||
title: description
|
||||
nullable: true
|
||||
title: UpdateProfileRequest
|
||||
required:
|
||||
- id
|
||||
- name
|
||||
additionalProperties: false
|
||||
mantrae.v1.UpdateProfileResponse:
|
||||
type: object
|
||||
@@ -2565,8 +2463,6 @@ components:
|
||||
title: key
|
||||
minLength: 1
|
||||
title: GetSettingRequest
|
||||
required:
|
||||
- key
|
||||
additionalProperties: false
|
||||
mantrae.v1.GetSettingResponse:
|
||||
type: object
|
||||
@@ -2615,8 +2511,6 @@ components:
|
||||
type: string
|
||||
title: value
|
||||
title: UpdateSettingRequest
|
||||
required:
|
||||
- key
|
||||
additionalProperties: false
|
||||
mantrae.v1.UpdateSettingResponse:
|
||||
type: object
|
||||
@@ -5008,41 +4902,6 @@ paths:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/mantrae.v1.LogoutUserResponse'
|
||||
/mantrae.v1.UserService/VerifyJWT:
|
||||
post:
|
||||
tags:
|
||||
- mantrae.v1.UserService
|
||||
summary: VerifyJWT
|
||||
operationId: mantrae.v1.UserService.VerifyJWT
|
||||
parameters:
|
||||
- name: Connect-Protocol-Version
|
||||
in: header
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/components/schemas/connect-protocol-version'
|
||||
- name: Connect-Timeout-Ms
|
||||
in: header
|
||||
schema:
|
||||
$ref: '#/components/schemas/connect-timeout-header'
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/mantrae.v1.VerifyJWTRequest'
|
||||
required: true
|
||||
responses:
|
||||
default:
|
||||
description: Error
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/connect.error'
|
||||
"200":
|
||||
description: Success
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/mantrae.v1.VerifyJWTResponse'
|
||||
/mantrae.v1.UserService/VerifyOTP:
|
||||
post:
|
||||
tags:
|
||||
|
||||
@@ -43,52 +43,34 @@ message Container {
|
||||
}
|
||||
|
||||
message GetAgentRequest {
|
||||
string id = 1 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).string.min_len = 1
|
||||
];
|
||||
string id = 1 [(buf.validate.field).string.min_len = 1];
|
||||
}
|
||||
message GetAgentResponse {
|
||||
Agent agent = 1;
|
||||
}
|
||||
|
||||
message CreateAgentRequest {
|
||||
int64 profile_id = 1 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).int64.gt = 0
|
||||
];
|
||||
int64 profile_id = 1 [(buf.validate.field).int64.gt = 0];
|
||||
}
|
||||
message CreateAgentResponse {
|
||||
Agent agent = 1;
|
||||
}
|
||||
|
||||
message UpdateAgentIPRequest {
|
||||
string id = 1 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).string.min_len = 1
|
||||
];
|
||||
string ip = 2 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).string.min_len = 1
|
||||
];
|
||||
string id = 1 [(buf.validate.field).string.min_len = 1];
|
||||
string ip = 2 [(buf.validate.field).string.ip = true];
|
||||
}
|
||||
message UpdateAgentIPResponse {
|
||||
Agent agent = 1;
|
||||
}
|
||||
|
||||
message DeleteAgentRequest {
|
||||
string id = 1 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).string.min_len = 1
|
||||
];
|
||||
string id = 1 [(buf.validate.field).string.min_len = 1];
|
||||
}
|
||||
message DeleteAgentResponse {}
|
||||
|
||||
message ListAgentsRequest {
|
||||
int64 profile_id = 1 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).int64.gt = 0
|
||||
];
|
||||
int64 profile_id = 1 [(buf.validate.field).int64.gt = 0];
|
||||
optional int64 limit = 2 [(buf.validate.field).cel = {
|
||||
id: "limit.valid"
|
||||
message: "limit must be either -1 or greater than 0"
|
||||
@@ -112,10 +94,7 @@ message HealthCheckResponse {
|
||||
}
|
||||
|
||||
message RotateAgentTokenRequest {
|
||||
string id = 1 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).string.min_len = 1
|
||||
];
|
||||
string id = 1 [(buf.validate.field).string.min_len = 1];
|
||||
}
|
||||
message RotateAgentTokenResponse {
|
||||
Agent agent = 1;
|
||||
|
||||
@@ -27,10 +27,7 @@ message CreateBackupRequest {}
|
||||
message CreateBackupResponse {}
|
||||
|
||||
message RestoreBackupRequest {
|
||||
string name = 1 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).string.min_len = 1
|
||||
];
|
||||
string name = 1 [(buf.validate.field).string.min_len = 1];
|
||||
}
|
||||
message RestoreBackupResponse {}
|
||||
|
||||
@@ -40,10 +37,7 @@ message ListBackupsResponse {
|
||||
}
|
||||
|
||||
message DeleteBackupRequest {
|
||||
string name = 1 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).string.min_len = 1
|
||||
];
|
||||
string name = 1 [(buf.validate.field).string.min_len = 1];
|
||||
}
|
||||
message DeleteBackupResponse {}
|
||||
|
||||
|
||||
@@ -35,9 +35,9 @@ message DnsProvider {
|
||||
}
|
||||
|
||||
message DnsProviderConfig {
|
||||
string api_key = 1;
|
||||
string api_url = 2;
|
||||
string ip = 3;
|
||||
string api_key = 1 [(buf.validate.field).string.min_len = 1];
|
||||
string api_url = 2 [(buf.validate.field).string.uri = true];
|
||||
string ip = 3 [(buf.validate.field).string.ip = true];
|
||||
bool proxied = 4;
|
||||
bool auto_update = 5;
|
||||
string zone_type = 6;
|
||||
|
||||
@@ -28,24 +28,15 @@ message EntryPoint {
|
||||
}
|
||||
|
||||
message GetEntryPointRequest {
|
||||
int64 id = 1 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).int64.gt = 0
|
||||
];
|
||||
int64 id = 1 [(buf.validate.field).int64.gt = 0];
|
||||
}
|
||||
message GetEntryPointResponse {
|
||||
EntryPoint entry_point = 1;
|
||||
}
|
||||
|
||||
message CreateEntryPointRequest {
|
||||
int64 profile_id = 1 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).int64.gt = 0
|
||||
];
|
||||
string name = 2 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).string.min_len = 1
|
||||
];
|
||||
int64 profile_id = 1 [(buf.validate.field).int64.gt = 0];
|
||||
string name = 2 [(buf.validate.field).string.min_len = 1];
|
||||
string address = 3 [(buf.validate.field).string.min_len = 1];
|
||||
bool is_default = 4;
|
||||
}
|
||||
@@ -54,14 +45,8 @@ message CreateEntryPointResponse {
|
||||
}
|
||||
|
||||
message UpdateEntryPointRequest {
|
||||
int64 id = 1 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).int64.gt = 0
|
||||
];
|
||||
string name = 2 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).string.min_len = 1
|
||||
];
|
||||
int64 id = 1 [(buf.validate.field).int64.gt = 0];
|
||||
string name = 2 [(buf.validate.field).string.min_len = 1];
|
||||
string address = 3 [(buf.validate.field).string.min_len = 1];
|
||||
bool is_default = 4;
|
||||
}
|
||||
@@ -78,10 +63,7 @@ message DeleteEntryPointRequest {
|
||||
message DeleteEntryPointResponse {}
|
||||
|
||||
message ListEntryPointsRequest {
|
||||
int64 profile_id = 1 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).int64.gt = 0
|
||||
];
|
||||
int64 profile_id = 1 [(buf.validate.field).int64.gt = 0];
|
||||
optional int64 limit = 2 [(buf.validate.field).cel = {
|
||||
id: "limit.valid"
|
||||
message: "limit must be either -1 or greater than 0"
|
||||
|
||||
@@ -68,10 +68,7 @@ message GlobalEvent {
|
||||
}
|
||||
|
||||
message ProfileEventsRequest {
|
||||
int64 profile_id = 1 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).int64.gt = 0
|
||||
];
|
||||
int64 profile_id = 1 [(buf.validate.field).int64.gt = 0];
|
||||
repeated ResourceType resource_types = 2; // Filter by specific resource types
|
||||
}
|
||||
message ProfileEventsResponse {
|
||||
|
||||
@@ -64,33 +64,18 @@ message PluginSnippet {
|
||||
}
|
||||
|
||||
message GetMiddlewareRequest {
|
||||
int64 id = 1 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).int64.gt = 0
|
||||
];
|
||||
MiddlewareType type = 2 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).enum.defined_only = true
|
||||
];
|
||||
int64 id = 1 [(buf.validate.field).int64.gt = 0];
|
||||
MiddlewareType type = 2 [(buf.validate.field).enum.defined_only = true];
|
||||
}
|
||||
message GetMiddlewareResponse {
|
||||
Middleware middleware = 1;
|
||||
}
|
||||
|
||||
message CreateMiddlewareRequest {
|
||||
int64 profile_id = 1 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).int64.gt = 0
|
||||
];
|
||||
int64 profile_id = 1 [(buf.validate.field).int64.gt = 0];
|
||||
string agent_id = 2;
|
||||
string name = 3 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).string.min_len = 1
|
||||
];
|
||||
MiddlewareType type = 4 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).enum.defined_only = true
|
||||
];
|
||||
string name = 3 [(buf.validate.field).string.min_len = 1];
|
||||
MiddlewareType type = 4 [(buf.validate.field).enum.defined_only = true];
|
||||
google.protobuf.Struct config = 5;
|
||||
}
|
||||
message CreateMiddlewareResponse {
|
||||
@@ -98,18 +83,9 @@ message CreateMiddlewareResponse {
|
||||
}
|
||||
|
||||
message UpdateMiddlewareRequest {
|
||||
int64 id = 1 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).int64.gt = 0
|
||||
];
|
||||
string name = 2 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).string.min_len = 1
|
||||
];
|
||||
MiddlewareType type = 3 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).enum.defined_only = true
|
||||
];
|
||||
int64 id = 1 [(buf.validate.field).int64.gt = 0];
|
||||
string name = 2 [(buf.validate.field).string.min_len = 1];
|
||||
MiddlewareType type = 3 [(buf.validate.field).enum.defined_only = true];
|
||||
google.protobuf.Struct config = 4;
|
||||
bool enabled = 5;
|
||||
}
|
||||
@@ -118,22 +94,13 @@ message UpdateMiddlewareResponse {
|
||||
}
|
||||
|
||||
message DeleteMiddlewareRequest {
|
||||
int64 id = 1 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).int64.gt = 0
|
||||
];
|
||||
MiddlewareType type = 2 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).enum.defined_only = true
|
||||
];
|
||||
int64 id = 1 [(buf.validate.field).int64.gt = 0];
|
||||
MiddlewareType type = 2 [(buf.validate.field).enum.defined_only = true];
|
||||
}
|
||||
message DeleteMiddlewareResponse {}
|
||||
|
||||
message ListMiddlewaresRequest {
|
||||
int64 profile_id = 1 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).int64.gt = 0
|
||||
];
|
||||
int64 profile_id = 1 [(buf.validate.field).int64.gt = 0];
|
||||
optional string agent_id = 2 [(buf.validate.field).string.min_len = 1];
|
||||
optional MiddlewareType type = 3 [(buf.validate.field).enum.defined_only = true];
|
||||
optional int64 limit = 4 [(buf.validate.field).cel = {
|
||||
|
||||
@@ -26,20 +26,14 @@ message Profile {
|
||||
}
|
||||
|
||||
message GetProfileRequest {
|
||||
int64 id = 1 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).int64.gt = 0
|
||||
];
|
||||
int64 id = 1 [(buf.validate.field).int64.gt = 0];
|
||||
}
|
||||
message GetProfileResponse {
|
||||
Profile profile = 1;
|
||||
}
|
||||
|
||||
message CreateProfileRequest {
|
||||
string name = 1 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).string.min_len = 1
|
||||
];
|
||||
string name = 1 [(buf.validate.field).string.min_len = 1];
|
||||
optional string description = 2;
|
||||
}
|
||||
message CreateProfileResponse {
|
||||
@@ -47,14 +41,8 @@ message CreateProfileResponse {
|
||||
}
|
||||
|
||||
message UpdateProfileRequest {
|
||||
int64 id = 1 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).int64.gt = 0
|
||||
];
|
||||
string name = 2 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).string.min_len = 1
|
||||
];
|
||||
int64 id = 1 [(buf.validate.field).int64.gt = 0];
|
||||
string name = 2 [(buf.validate.field).string.min_len = 1];
|
||||
optional string description = 3;
|
||||
}
|
||||
message UpdateProfileResponse {
|
||||
@@ -62,10 +50,7 @@ message UpdateProfileResponse {
|
||||
}
|
||||
|
||||
message DeleteProfileRequest {
|
||||
int64 id = 1 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).int64.gt = 0
|
||||
];
|
||||
int64 id = 1 [(buf.validate.field).int64.gt = 0];
|
||||
}
|
||||
message DeleteProfileResponse {}
|
||||
|
||||
|
||||
@@ -40,29 +40,17 @@ message Router {
|
||||
}
|
||||
|
||||
message GetRouterRequest {
|
||||
int64 id = 1 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).int64.gt = 0
|
||||
];
|
||||
RouterType type = 2 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).enum.defined_only = true
|
||||
];
|
||||
int64 id = 1 [(buf.validate.field).int64.gt = 0];
|
||||
RouterType type = 2 [(buf.validate.field).enum.defined_only = true];
|
||||
}
|
||||
message GetRouterResponse {
|
||||
Router router = 1;
|
||||
}
|
||||
|
||||
message CreateRouterRequest {
|
||||
int64 profile_id = 1 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).int64.gt = 0
|
||||
];
|
||||
int64 profile_id = 1 [(buf.validate.field).int64.gt = 0];
|
||||
string agent_id = 2;
|
||||
string name = 3 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).string.min_len = 1
|
||||
];
|
||||
string name = 3 [(buf.validate.field).string.min_len = 1];
|
||||
google.protobuf.Struct config = 4;
|
||||
bool enabled = 5;
|
||||
RouterType type = 6 [
|
||||
@@ -75,18 +63,9 @@ message CreateRouterResponse {
|
||||
}
|
||||
|
||||
message UpdateRouterRequest {
|
||||
int64 id = 1 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).int64.gt = 0
|
||||
];
|
||||
string name = 2 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).string.min_len = 1
|
||||
];
|
||||
RouterType type = 3 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).enum.defined_only = true
|
||||
];
|
||||
int64 id = 1 [(buf.validate.field).int64.gt = 0];
|
||||
string name = 2 [(buf.validate.field).string.min_len = 1];
|
||||
RouterType type = 3 [(buf.validate.field).enum.defined_only = true];
|
||||
google.protobuf.Struct config = 4;
|
||||
bool enabled = 5;
|
||||
repeated DnsProvider dns_providers = 6;
|
||||
@@ -96,22 +75,13 @@ message UpdateRouterResponse {
|
||||
}
|
||||
|
||||
message DeleteRouterRequest {
|
||||
int64 id = 1 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).int64.gt = 0
|
||||
];
|
||||
RouterType type = 2 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).enum.defined_only = true
|
||||
];
|
||||
int64 id = 1 [(buf.validate.field).int64.gt = 0];
|
||||
RouterType type = 2 [(buf.validate.field).enum.defined_only = true];
|
||||
}
|
||||
message DeleteRouterResponse {}
|
||||
|
||||
message ListRoutersRequest {
|
||||
int64 profile_id = 1 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).int64.gt = 0
|
||||
];
|
||||
int64 profile_id = 1 [(buf.validate.field).int64.gt = 0];
|
||||
optional string agent_id = 2 [(buf.validate.field).string.min_len = 1];
|
||||
optional RouterType type = 3 [(buf.validate.field).enum.defined_only = true];
|
||||
optional int64 limit = 4 [(buf.validate.field).cel = {
|
||||
|
||||
@@ -41,75 +41,42 @@ message Service {
|
||||
}
|
||||
|
||||
message GetServiceRequest {
|
||||
int64 id = 1 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).int64.gt = 0
|
||||
];
|
||||
ServiceType type = 2 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).enum.defined_only = true
|
||||
];
|
||||
int64 id = 1 [(buf.validate.field).int64.gt = 0];
|
||||
ServiceType type = 2 [(buf.validate.field).enum.defined_only = true];
|
||||
}
|
||||
message GetServiceResponse {
|
||||
Service service = 1;
|
||||
}
|
||||
|
||||
message CreateServiceRequest {
|
||||
int64 profile_id = 1 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).int64.gt = 0
|
||||
];
|
||||
int64 profile_id = 1 [(buf.validate.field).int64.gt = 0];
|
||||
string agent_id = 2;
|
||||
string name = 3 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).string.min_len = 1
|
||||
];
|
||||
string name = 3 [(buf.validate.field).string.min_len = 1];
|
||||
google.protobuf.Struct config = 4;
|
||||
ServiceType type = 5 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).enum.defined_only = true
|
||||
];
|
||||
ServiceType type = 5 [(buf.validate.field).enum.defined_only = true];
|
||||
}
|
||||
message CreateServiceResponse {
|
||||
Service service = 1;
|
||||
}
|
||||
|
||||
message UpdateServiceRequest {
|
||||
int64 id = 1 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).int64.gt = 0
|
||||
];
|
||||
string name = 2 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).string.min_len = 1
|
||||
];
|
||||
int64 id = 1 [(buf.validate.field).int64.gt = 0];
|
||||
string name = 2 [(buf.validate.field).string.min_len = 1];
|
||||
google.protobuf.Struct config = 3;
|
||||
ServiceType type = 4 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).enum.defined_only = true
|
||||
];
|
||||
ServiceType type = 4 [(buf.validate.field).enum.defined_only = true];
|
||||
}
|
||||
message UpdateServiceResponse {
|
||||
Service service = 1;
|
||||
}
|
||||
|
||||
message DeleteServiceRequest {
|
||||
int64 id = 1 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).int64.gt = 0
|
||||
];
|
||||
ServiceType type = 2 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).enum.defined_only = true
|
||||
];
|
||||
int64 id = 1 [(buf.validate.field).int64.gt = 0];
|
||||
ServiceType type = 2 [(buf.validate.field).enum.defined_only = true];
|
||||
}
|
||||
message DeleteServiceResponse {}
|
||||
|
||||
message ListServicesRequest {
|
||||
int64 profile_id = 1 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).int64.gt = 0
|
||||
];
|
||||
int64 profile_id = 1 [(buf.validate.field).int64.gt = 0];
|
||||
optional string agent_id = 2 [(buf.validate.field).string.min_len = 1];
|
||||
optional ServiceType type = 3 [(buf.validate.field).enum.defined_only = true];
|
||||
optional int64 limit = 4 [(buf.validate.field).cel = {
|
||||
|
||||
@@ -22,20 +22,14 @@ message Setting {
|
||||
}
|
||||
|
||||
message GetSettingRequest {
|
||||
string key = 1 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).string.min_len = 1
|
||||
];
|
||||
string key = 1 [(buf.validate.field).string.min_len = 1];
|
||||
}
|
||||
message GetSettingResponse {
|
||||
string value = 1;
|
||||
}
|
||||
|
||||
message UpdateSettingRequest {
|
||||
string key = 1 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).string.min_len = 1
|
||||
];
|
||||
string key = 1 [(buf.validate.field).string.min_len = 1];
|
||||
string value = 2;
|
||||
}
|
||||
message UpdateSettingResponse {
|
||||
|
||||
+12
-34
@@ -8,7 +8,6 @@ import "google/protobuf/timestamp.proto";
|
||||
service UserService {
|
||||
rpc LoginUser(LoginUserRequest) returns (LoginUserResponse);
|
||||
rpc LogoutUser(LogoutUserRequest) returns (LogoutUserResponse);
|
||||
rpc VerifyJWT(VerifyJWTRequest) returns (VerifyJWTResponse);
|
||||
rpc VerifyOTP(VerifyOTPRequest) returns (VerifyOTPResponse);
|
||||
rpc SendOTP(SendOTPRequest) returns (SendOTPResponse);
|
||||
rpc GetUser(GetUserRequest) returns (GetUserResponse) {
|
||||
@@ -48,30 +47,22 @@ message LoginUserRequest {
|
||||
];
|
||||
}
|
||||
message LoginUserResponse {
|
||||
string token = 1;
|
||||
User user = 1;
|
||||
}
|
||||
|
||||
message LogoutUserRequest {}
|
||||
message LogoutUserResponse {}
|
||||
|
||||
message VerifyJWTRequest {}
|
||||
message VerifyJWTResponse {
|
||||
User user = 1;
|
||||
}
|
||||
|
||||
message VerifyOTPRequest {
|
||||
oneof identifier {
|
||||
option (buf.validate.oneof).required = true;
|
||||
string username = 1 [(buf.validate.field).string.min_len = 3];
|
||||
string email = 2 [(buf.validate.field).string.email = true];
|
||||
}
|
||||
string otp = 3 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).string.min_len = 6
|
||||
];
|
||||
string otp = 3 [(buf.validate.field).string.len = 6];
|
||||
}
|
||||
message VerifyOTPResponse {
|
||||
string token = 1;
|
||||
User user = 1;
|
||||
}
|
||||
|
||||
message SendOTPRequest {
|
||||
@@ -85,7 +76,6 @@ message SendOTPResponse {}
|
||||
|
||||
message GetUserRequest {
|
||||
oneof identifier {
|
||||
option (buf.validate.oneof).required = true;
|
||||
string id = 1 [(buf.validate.field).string.min_len = 1];
|
||||
string username = 2 [(buf.validate.field).string.min_len = 3];
|
||||
string email = 3 [(buf.validate.field).string.email = true];
|
||||
@@ -96,14 +86,8 @@ message GetUserResponse {
|
||||
}
|
||||
|
||||
message CreateUserRequest {
|
||||
string username = 1 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).string.min_len = 3
|
||||
];
|
||||
string password = 2 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).string.min_len = 8
|
||||
];
|
||||
string username = 1 [(buf.validate.field).string.min_len = 3];
|
||||
string password = 2 [(buf.validate.field).string.min_len = 8];
|
||||
string email = 3 [(buf.validate.field).string.email = true];
|
||||
bool is_admin = 4;
|
||||
}
|
||||
@@ -112,27 +96,21 @@ message CreateUserResponse {
|
||||
}
|
||||
|
||||
message UpdateUserRequest {
|
||||
string id = 1 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).string.min_len = 1
|
||||
];
|
||||
string username = 2 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).string.min_len = 3
|
||||
];
|
||||
string id = 1 [(buf.validate.field).string.min_len = 1];
|
||||
string username = 2 [(buf.validate.field).string.min_len = 3];
|
||||
string email = 3 [(buf.validate.field).string.email = true];
|
||||
bool is_admin = 4;
|
||||
optional string password = 5 [(buf.validate.field).string.min_len = 8];
|
||||
optional string password = 5 [
|
||||
(buf.validate.field).string.min_len = 8,
|
||||
(buf.validate.field).ignore = IGNORE_IF_UNPOPULATED
|
||||
];
|
||||
}
|
||||
message UpdateUserResponse {
|
||||
User user = 1;
|
||||
}
|
||||
|
||||
message DeleteUserRequest {
|
||||
string id = 1 [
|
||||
(buf.validate.field).required = true,
|
||||
(buf.validate.field).string.min_len = 1
|
||||
];
|
||||
string id = 1 [(buf.validate.field).string.min_len = 1];
|
||||
}
|
||||
message DeleteUserResponse {}
|
||||
|
||||
|
||||
@@ -30,7 +30,9 @@
|
||||
</script>
|
||||
|
||||
<Dialog.Root bind:open>
|
||||
<Dialog.Content class="max-h-[80vh] w-fit max-w-[90vw] min-w-[40rem] overflow-y-auto px-4 py-2">
|
||||
<Dialog.Content
|
||||
class="max-h-[90vh] w-fit max-w-[90vw] overflow-y-auto px-4 py-2 sm:min-w-[40rem]"
|
||||
>
|
||||
<Dialog.Header class="flex justify-between gap-2 py-4">
|
||||
<Dialog.Title>Dynamic Config</Dialog.Title>
|
||||
<Dialog.Description>
|
||||
|
||||
@@ -7,11 +7,12 @@
|
||||
import { toast } from 'svelte-sonner';
|
||||
import PasswordInput from '../ui/password-input/password-input.svelte';
|
||||
import Separator from '../ui/separator/separator.svelte';
|
||||
import type { User } from '$lib/gen/mantrae/v1/user_pb';
|
||||
import { UpdateUserRequestSchema, type User } from '$lib/gen/mantrae/v1/user_pb';
|
||||
import { userClient } from '$lib/api';
|
||||
import { ConnectError } from '@connectrpc/connect';
|
||||
import { pageIndex, pageSize } from '$lib/stores/common';
|
||||
import { user } from '$lib/stores/user';
|
||||
import { create } from '@bufbuild/protobuf';
|
||||
|
||||
interface Props {
|
||||
data?: User[];
|
||||
@@ -27,13 +28,15 @@
|
||||
const handleSubmit = async () => {
|
||||
try {
|
||||
if (item.id) {
|
||||
await userClient.updateUser({
|
||||
id: item.id,
|
||||
username: item.username,
|
||||
email: item.email,
|
||||
isAdmin: item.isAdmin,
|
||||
password: item.password
|
||||
});
|
||||
let payload = create(UpdateUserRequestSchema);
|
||||
payload.id = item.id;
|
||||
payload.username = item.username;
|
||||
payload.email = item.email;
|
||||
payload.isAdmin = item.isAdmin;
|
||||
if (item.password && item.password.length > 0) {
|
||||
payload.password = item.password;
|
||||
}
|
||||
await userClient.updateUser(payload);
|
||||
toast.success(`User ${item.username} updated successfully.`);
|
||||
} else {
|
||||
await userClient.createUser({
|
||||
@@ -138,9 +141,7 @@
|
||||
Delete
|
||||
</Button>
|
||||
{/if}
|
||||
<Button type="submit" class="flex-1" onclick={handleSubmit}>
|
||||
{item.id ? 'Update' : 'Create'}
|
||||
</Button>
|
||||
<Button type="submit" class="flex-1">{item.id ? 'Update' : 'Create'}</Button>
|
||||
</div>
|
||||
</form>
|
||||
</Dialog.Content>
|
||||
|
||||
+4135
-4321
File diff suppressed because one or more lines are too long
@@ -2,472 +2,457 @@
|
||||
// @generated from file mantrae/v1/agent.proto (package mantrae.v1, syntax proto3)
|
||||
/* eslint-disable */
|
||||
|
||||
import type { GenFile, GenMessage, GenService } from '@bufbuild/protobuf/codegenv2';
|
||||
import { fileDesc, messageDesc, serviceDesc } from '@bufbuild/protobuf/codegenv2';
|
||||
import { file_buf_validate_validate } from '../../buf/validate/validate_pb';
|
||||
import type { Timestamp } from '@bufbuild/protobuf/wkt';
|
||||
import { file_google_protobuf_timestamp } from '@bufbuild/protobuf/wkt';
|
||||
import type { Message } from '@bufbuild/protobuf';
|
||||
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
||||
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
||||
import { file_buf_validate_validate } from "../../buf/validate/validate_pb";
|
||||
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
||||
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
||||
import type { Message } from "@bufbuild/protobuf";
|
||||
|
||||
/**
|
||||
* Describes the file mantrae/v1/agent.proto.
|
||||
*/
|
||||
export const file_mantrae_v1_agent: GenFile =
|
||||
/*@__PURE__*/
|
||||
fileDesc(
|
||||
'ChZtYW50cmFlL3YxL2FnZW50LnByb3RvEgptYW50cmFlLnYxIo0CCgVBZ2VudBIKCgJpZBgBIAEoCRISCgpwcm9maWxlX2lkGAIgASgDEhAKCGhvc3RuYW1lGAMgASgJEhEKCXB1YmxpY19pcBgEIAEoCRISCgpwcml2YXRlX2lwGAUgASgJEhEKCWFjdGl2ZV9pcBgGIAEoCRINCgV0b2tlbhgHIAEoCRIpCgpjb250YWluZXJzGAggAygLMhUubWFudHJhZS52MS5Db250YWluZXISLgoKY3JlYXRlZF9hdBgJIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASLgoKdXBkYXRlZF9hdBgKIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAiuAIKCUNvbnRhaW5lchIKCgJpZBgBIAEoCRIMCgRuYW1lGAIgASgJEjEKBmxhYmVscxgDIAMoCzIhLm1hbnRyYWUudjEuQ29udGFpbmVyLkxhYmVsc0VudHJ5Eg0KBWltYWdlGAQgASgJEjMKB3BvcnRtYXAYBSADKAsyIi5tYW50cmFlLnYxLkNvbnRhaW5lci5Qb3J0bWFwRW50cnkSDgoGc3RhdHVzGAYgASgJEisKB2NyZWF0ZWQYByABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wGi0KC0xhYmVsc0VudHJ5EgsKA2tleRgBIAEoCRINCgV2YWx1ZRgCIAEoCToCOAEaLgoMUG9ydG1hcEVudHJ5EgsKA2tleRgBIAEoBRINCgV2YWx1ZRgCIAEoBToCOAEiKQoPR2V0QWdlbnRSZXF1ZXN0EhYKAmlkGAEgASgJQgq6SAfIAQFyAhABIjQKEEdldEFnZW50UmVzcG9uc2USIAoFYWdlbnQYASABKAsyES5tYW50cmFlLnYxLkFnZW50IjQKEkNyZWF0ZUFnZW50UmVxdWVzdBIeCgpwcm9maWxlX2lkGAEgASgDQgq6SAfIAQEiAiAAIjcKE0NyZWF0ZUFnZW50UmVzcG9uc2USIAoFYWdlbnQYASABKAsyES5tYW50cmFlLnYxLkFnZW50IkYKFFVwZGF0ZUFnZW50SVBSZXF1ZXN0EhYKAmlkGAEgASgJQgq6SAfIAQFyAhABEhYKAmlwGAIgASgJQgq6SAfIAQFyAhABIjkKFVVwZGF0ZUFnZW50SVBSZXNwb25zZRIgCgVhZ2VudBgBIAEoCzIRLm1hbnRyYWUudjEuQWdlbnQiLAoSRGVsZXRlQWdlbnRSZXF1ZXN0EhYKAmlkGAEgASgJQgq6SAfIAQFyAhABIhUKE0RlbGV0ZUFnZW50UmVzcG9uc2Ui0gEKEUxpc3RBZ2VudHNSZXF1ZXN0Eh4KCnByb2ZpbGVfaWQYASABKANCCrpIB8gBASICIAASagoFbGltaXQYAiABKANCVrpIU7oBUAoLbGltaXQudmFsaWQSKWxpbWl0IG11c3QgYmUgZWl0aGVyIC0xIG9yIGdyZWF0ZXIgdGhhbiAwGhZ0aGlzID09IC0xIHx8IHRoaXMgPiAwSACIAQESHAoGb2Zmc2V0GAMgASgDQge6SAQiAigASAGIAQFCCAoGX2xpbWl0QgkKB19vZmZzZXQiTAoSTGlzdEFnZW50c1Jlc3BvbnNlEiEKBmFnZW50cxgBIAMoCzIRLm1hbnRyYWUudjEuQWdlbnQSEwoLdG90YWxfY291bnQYAiABKAMihQEKEkhlYWx0aENoZWNrUmVxdWVzdBIbCgptYWNoaW5lX2lkGAEgASgJQge6SARyAhABEhkKCGhvc3RuYW1lGAIgASgJQge6SARyAhABEhoKCXB1YmxpY19pcBgDIAEoCUIHukgEcgIQARIbCgpwcml2YXRlX2lwGAQgASgJQge6SARyAhABIjcKE0hlYWx0aENoZWNrUmVzcG9uc2USIAoFYWdlbnQYASABKAsyES5tYW50cmFlLnYxLkFnZW50IjEKF1JvdGF0ZUFnZW50VG9rZW5SZXF1ZXN0EhYKAmlkGAEgASgJQgq6SAfIAQFyAhABIjwKGFJvdGF0ZUFnZW50VG9rZW5SZXNwb25zZRIgCgVhZ2VudBgBIAEoCzIRLm1hbnRyYWUudjEuQWdlbnQy0QQKDEFnZW50U2VydmljZRJKCghHZXRBZ2VudBIbLm1hbnRyYWUudjEuR2V0QWdlbnRSZXF1ZXN0GhwubWFudHJhZS52MS5HZXRBZ2VudFJlc3BvbnNlIgOQAgESTgoLQ3JlYXRlQWdlbnQSHi5tYW50cmFlLnYxLkNyZWF0ZUFnZW50UmVxdWVzdBofLm1hbnRyYWUudjEuQ3JlYXRlQWdlbnRSZXNwb25zZRJUCg1VcGRhdGVBZ2VudElQEiAubWFudHJhZS52MS5VcGRhdGVBZ2VudElQUmVxdWVzdBohLm1hbnRyYWUudjEuVXBkYXRlQWdlbnRJUFJlc3BvbnNlEk4KC0RlbGV0ZUFnZW50Eh4ubWFudHJhZS52MS5EZWxldGVBZ2VudFJlcXVlc3QaHy5tYW50cmFlLnYxLkRlbGV0ZUFnZW50UmVzcG9uc2USUAoKTGlzdEFnZW50cxIdLm1hbnRyYWUudjEuTGlzdEFnZW50c1JlcXVlc3QaHi5tYW50cmFlLnYxLkxpc3RBZ2VudHNSZXNwb25zZSIDkAIBEk4KC0hlYWx0aENoZWNrEh4ubWFudHJhZS52MS5IZWFsdGhDaGVja1JlcXVlc3QaHy5tYW50cmFlLnYxLkhlYWx0aENoZWNrUmVzcG9uc2USXQoQUm90YXRlQWdlbnRUb2tlbhIjLm1hbnRyYWUudjEuUm90YXRlQWdlbnRUb2tlblJlcXVlc3QaJC5tYW50cmFlLnYxLlJvdGF0ZUFnZW50VG9rZW5SZXNwb25zZUKkAQoOY29tLm1hbnRyYWUudjFCCkFnZW50UHJvdG9QAVo9Z2l0aHViLmNvbS9taXp1Y2hpbGFicy9tYW50cmFlL3Byb3RvL2dlbi9tYW50cmFlL3YxO21hbnRyYWV2MaICA01YWKoCCk1hbnRyYWUuVjHKAgpNYW50cmFlXFYx4gIWTWFudHJhZVxWMVxHUEJNZXRhZGF0YeoCC01hbnRyYWU6OlYxYgZwcm90bzM',
|
||||
[file_buf_validate_validate, file_google_protobuf_timestamp]
|
||||
);
|
||||
export const file_mantrae_v1_agent: GenFile = /*@__PURE__*/
|
||||
fileDesc("ChZtYW50cmFlL3YxL2FnZW50LnByb3RvEgptYW50cmFlLnYxIo0CCgVBZ2VudBIKCgJpZBgBIAEoCRISCgpwcm9maWxlX2lkGAIgASgDEhAKCGhvc3RuYW1lGAMgASgJEhEKCXB1YmxpY19pcBgEIAEoCRISCgpwcml2YXRlX2lwGAUgASgJEhEKCWFjdGl2ZV9pcBgGIAEoCRINCgV0b2tlbhgHIAEoCRIpCgpjb250YWluZXJzGAggAygLMhUubWFudHJhZS52MS5Db250YWluZXISLgoKY3JlYXRlZF9hdBgJIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASLgoKdXBkYXRlZF9hdBgKIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAiuAIKCUNvbnRhaW5lchIKCgJpZBgBIAEoCRIMCgRuYW1lGAIgASgJEjEKBmxhYmVscxgDIAMoCzIhLm1hbnRyYWUudjEuQ29udGFpbmVyLkxhYmVsc0VudHJ5Eg0KBWltYWdlGAQgASgJEjMKB3BvcnRtYXAYBSADKAsyIi5tYW50cmFlLnYxLkNvbnRhaW5lci5Qb3J0bWFwRW50cnkSDgoGc3RhdHVzGAYgASgJEisKB2NyZWF0ZWQYByABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wGi0KC0xhYmVsc0VudHJ5EgsKA2tleRgBIAEoCRINCgV2YWx1ZRgCIAEoCToCOAEaLgoMUG9ydG1hcEVudHJ5EgsKA2tleRgBIAEoBRINCgV2YWx1ZRgCIAEoBToCOAEiJgoPR2V0QWdlbnRSZXF1ZXN0EhMKAmlkGAEgASgJQge6SARyAhABIjQKEEdldEFnZW50UmVzcG9uc2USIAoFYWdlbnQYASABKAsyES5tYW50cmFlLnYxLkFnZW50IjEKEkNyZWF0ZUFnZW50UmVxdWVzdBIbCgpwcm9maWxlX2lkGAEgASgDQge6SAQiAiAAIjcKE0NyZWF0ZUFnZW50UmVzcG9uc2USIAoFYWdlbnQYASABKAsyES5tYW50cmFlLnYxLkFnZW50IkAKFFVwZGF0ZUFnZW50SVBSZXF1ZXN0EhMKAmlkGAEgASgJQge6SARyAhABEhMKAmlwGAIgASgJQge6SARyAnABIjkKFVVwZGF0ZUFnZW50SVBSZXNwb25zZRIgCgVhZ2VudBgBIAEoCzIRLm1hbnRyYWUudjEuQWdlbnQiKQoSRGVsZXRlQWdlbnRSZXF1ZXN0EhMKAmlkGAEgASgJQge6SARyAhABIhUKE0RlbGV0ZUFnZW50UmVzcG9uc2UizwEKEUxpc3RBZ2VudHNSZXF1ZXN0EhsKCnByb2ZpbGVfaWQYASABKANCB7pIBCICIAASagoFbGltaXQYAiABKANCVrpIU7oBUAoLbGltaXQudmFsaWQSKWxpbWl0IG11c3QgYmUgZWl0aGVyIC0xIG9yIGdyZWF0ZXIgdGhhbiAwGhZ0aGlzID09IC0xIHx8IHRoaXMgPiAwSACIAQESHAoGb2Zmc2V0GAMgASgDQge6SAQiAigASAGIAQFCCAoGX2xpbWl0QgkKB19vZmZzZXQiTAoSTGlzdEFnZW50c1Jlc3BvbnNlEiEKBmFnZW50cxgBIAMoCzIRLm1hbnRyYWUudjEuQWdlbnQSEwoLdG90YWxfY291bnQYAiABKAMihQEKEkhlYWx0aENoZWNrUmVxdWVzdBIbCgptYWNoaW5lX2lkGAEgASgJQge6SARyAhABEhkKCGhvc3RuYW1lGAIgASgJQge6SARyAhABEhoKCXB1YmxpY19pcBgDIAEoCUIHukgEcgIQARIbCgpwcml2YXRlX2lwGAQgASgJQge6SARyAhABIjcKE0hlYWx0aENoZWNrUmVzcG9uc2USIAoFYWdlbnQYASABKAsyES5tYW50cmFlLnYxLkFnZW50Ii4KF1JvdGF0ZUFnZW50VG9rZW5SZXF1ZXN0EhMKAmlkGAEgASgJQge6SARyAhABIjwKGFJvdGF0ZUFnZW50VG9rZW5SZXNwb25zZRIgCgVhZ2VudBgBIAEoCzIRLm1hbnRyYWUudjEuQWdlbnQy0QQKDEFnZW50U2VydmljZRJKCghHZXRBZ2VudBIbLm1hbnRyYWUudjEuR2V0QWdlbnRSZXF1ZXN0GhwubWFudHJhZS52MS5HZXRBZ2VudFJlc3BvbnNlIgOQAgESTgoLQ3JlYXRlQWdlbnQSHi5tYW50cmFlLnYxLkNyZWF0ZUFnZW50UmVxdWVzdBofLm1hbnRyYWUudjEuQ3JlYXRlQWdlbnRSZXNwb25zZRJUCg1VcGRhdGVBZ2VudElQEiAubWFudHJhZS52MS5VcGRhdGVBZ2VudElQUmVxdWVzdBohLm1hbnRyYWUudjEuVXBkYXRlQWdlbnRJUFJlc3BvbnNlEk4KC0RlbGV0ZUFnZW50Eh4ubWFudHJhZS52MS5EZWxldGVBZ2VudFJlcXVlc3QaHy5tYW50cmFlLnYxLkRlbGV0ZUFnZW50UmVzcG9uc2USUAoKTGlzdEFnZW50cxIdLm1hbnRyYWUudjEuTGlzdEFnZW50c1JlcXVlc3QaHi5tYW50cmFlLnYxLkxpc3RBZ2VudHNSZXNwb25zZSIDkAIBEk4KC0hlYWx0aENoZWNrEh4ubWFudHJhZS52MS5IZWFsdGhDaGVja1JlcXVlc3QaHy5tYW50cmFlLnYxLkhlYWx0aENoZWNrUmVzcG9uc2USXQoQUm90YXRlQWdlbnRUb2tlbhIjLm1hbnRyYWUudjEuUm90YXRlQWdlbnRUb2tlblJlcXVlc3QaJC5tYW50cmFlLnYxLlJvdGF0ZUFnZW50VG9rZW5SZXNwb25zZUKkAQoOY29tLm1hbnRyYWUudjFCCkFnZW50UHJvdG9QAVo9Z2l0aHViLmNvbS9taXp1Y2hpbGFicy9tYW50cmFlL3Byb3RvL2dlbi9tYW50cmFlL3YxO21hbnRyYWV2MaICA01YWKoCCk1hbnRyYWUuVjHKAgpNYW50cmFlXFYx4gIWTWFudHJhZVxWMVxHUEJNZXRhZGF0YeoCC01hbnRyYWU6OlYxYgZwcm90bzM", [file_buf_validate_validate, file_google_protobuf_timestamp]);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.Agent
|
||||
*/
|
||||
export type Agent = Message<'mantrae.v1.Agent'> & {
|
||||
/**
|
||||
* @generated from field: string id = 1;
|
||||
*/
|
||||
id: string;
|
||||
export type Agent = Message<"mantrae.v1.Agent"> & {
|
||||
/**
|
||||
* @generated from field: string id = 1;
|
||||
*/
|
||||
id: string;
|
||||
|
||||
/**
|
||||
* @generated from field: int64 profile_id = 2;
|
||||
*/
|
||||
profileId: bigint;
|
||||
/**
|
||||
* @generated from field: int64 profile_id = 2;
|
||||
*/
|
||||
profileId: bigint;
|
||||
|
||||
/**
|
||||
* @generated from field: string hostname = 3;
|
||||
*/
|
||||
hostname: string;
|
||||
/**
|
||||
* @generated from field: string hostname = 3;
|
||||
*/
|
||||
hostname: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string public_ip = 4;
|
||||
*/
|
||||
publicIp: string;
|
||||
/**
|
||||
* @generated from field: string public_ip = 4;
|
||||
*/
|
||||
publicIp: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string private_ip = 5;
|
||||
*/
|
||||
privateIp: string;
|
||||
/**
|
||||
* @generated from field: string private_ip = 5;
|
||||
*/
|
||||
privateIp: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string active_ip = 6;
|
||||
*/
|
||||
activeIp: string;
|
||||
/**
|
||||
* @generated from field: string active_ip = 6;
|
||||
*/
|
||||
activeIp: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string token = 7;
|
||||
*/
|
||||
token: string;
|
||||
/**
|
||||
* @generated from field: string token = 7;
|
||||
*/
|
||||
token: string;
|
||||
|
||||
/**
|
||||
* @generated from field: repeated mantrae.v1.Container containers = 8;
|
||||
*/
|
||||
containers: Container[];
|
||||
/**
|
||||
* @generated from field: repeated mantrae.v1.Container containers = 8;
|
||||
*/
|
||||
containers: Container[];
|
||||
|
||||
/**
|
||||
* @generated from field: google.protobuf.Timestamp created_at = 9;
|
||||
*/
|
||||
createdAt?: Timestamp;
|
||||
/**
|
||||
* @generated from field: google.protobuf.Timestamp created_at = 9;
|
||||
*/
|
||||
createdAt?: Timestamp;
|
||||
|
||||
/**
|
||||
* @generated from field: google.protobuf.Timestamp updated_at = 10;
|
||||
*/
|
||||
updatedAt?: Timestamp;
|
||||
/**
|
||||
* @generated from field: google.protobuf.Timestamp updated_at = 10;
|
||||
*/
|
||||
updatedAt?: Timestamp;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.Agent.
|
||||
* Use `create(AgentSchema)` to create a new message.
|
||||
*/
|
||||
export const AgentSchema: GenMessage<Agent> = /*@__PURE__*/ messageDesc(file_mantrae_v1_agent, 0);
|
||||
export const AgentSchema: GenMessage<Agent> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_agent, 0);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.Container
|
||||
*/
|
||||
export type Container = Message<'mantrae.v1.Container'> & {
|
||||
/**
|
||||
* @generated from field: string id = 1;
|
||||
*/
|
||||
id: string;
|
||||
export type Container = Message<"mantrae.v1.Container"> & {
|
||||
/**
|
||||
* @generated from field: string id = 1;
|
||||
*/
|
||||
id: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string name = 2;
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* @generated from field: string name = 2;
|
||||
*/
|
||||
name: string;
|
||||
|
||||
/**
|
||||
* @generated from field: map<string, string> labels = 3;
|
||||
*/
|
||||
labels: { [key: string]: string };
|
||||
/**
|
||||
* @generated from field: map<string, string> labels = 3;
|
||||
*/
|
||||
labels: { [key: string]: string };
|
||||
|
||||
/**
|
||||
* @generated from field: string image = 4;
|
||||
*/
|
||||
image: string;
|
||||
/**
|
||||
* @generated from field: string image = 4;
|
||||
*/
|
||||
image: string;
|
||||
|
||||
/**
|
||||
* @generated from field: map<int32, int32> portmap = 5;
|
||||
*/
|
||||
portmap: { [key: number]: number };
|
||||
/**
|
||||
* @generated from field: map<int32, int32> portmap = 5;
|
||||
*/
|
||||
portmap: { [key: number]: number };
|
||||
|
||||
/**
|
||||
* @generated from field: string status = 6;
|
||||
*/
|
||||
status: string;
|
||||
/**
|
||||
* @generated from field: string status = 6;
|
||||
*/
|
||||
status: string;
|
||||
|
||||
/**
|
||||
* @generated from field: google.protobuf.Timestamp created = 7;
|
||||
*/
|
||||
created?: Timestamp;
|
||||
/**
|
||||
* @generated from field: google.protobuf.Timestamp created = 7;
|
||||
*/
|
||||
created?: Timestamp;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.Container.
|
||||
* Use `create(ContainerSchema)` to create a new message.
|
||||
*/
|
||||
export const ContainerSchema: GenMessage<Container> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_agent, 1);
|
||||
export const ContainerSchema: GenMessage<Container> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_agent, 1);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.GetAgentRequest
|
||||
*/
|
||||
export type GetAgentRequest = Message<'mantrae.v1.GetAgentRequest'> & {
|
||||
/**
|
||||
* @generated from field: string id = 1;
|
||||
*/
|
||||
id: string;
|
||||
export type GetAgentRequest = Message<"mantrae.v1.GetAgentRequest"> & {
|
||||
/**
|
||||
* @generated from field: string id = 1;
|
||||
*/
|
||||
id: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.GetAgentRequest.
|
||||
* Use `create(GetAgentRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const GetAgentRequestSchema: GenMessage<GetAgentRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_agent, 2);
|
||||
export const GetAgentRequestSchema: GenMessage<GetAgentRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_agent, 2);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.GetAgentResponse
|
||||
*/
|
||||
export type GetAgentResponse = Message<'mantrae.v1.GetAgentResponse'> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Agent agent = 1;
|
||||
*/
|
||||
agent?: Agent;
|
||||
export type GetAgentResponse = Message<"mantrae.v1.GetAgentResponse"> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Agent agent = 1;
|
||||
*/
|
||||
agent?: Agent;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.GetAgentResponse.
|
||||
* Use `create(GetAgentResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const GetAgentResponseSchema: GenMessage<GetAgentResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_agent, 3);
|
||||
export const GetAgentResponseSchema: GenMessage<GetAgentResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_agent, 3);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.CreateAgentRequest
|
||||
*/
|
||||
export type CreateAgentRequest = Message<'mantrae.v1.CreateAgentRequest'> & {
|
||||
/**
|
||||
* @generated from field: int64 profile_id = 1;
|
||||
*/
|
||||
profileId: bigint;
|
||||
export type CreateAgentRequest = Message<"mantrae.v1.CreateAgentRequest"> & {
|
||||
/**
|
||||
* @generated from field: int64 profile_id = 1;
|
||||
*/
|
||||
profileId: bigint;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.CreateAgentRequest.
|
||||
* Use `create(CreateAgentRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const CreateAgentRequestSchema: GenMessage<CreateAgentRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_agent, 4);
|
||||
export const CreateAgentRequestSchema: GenMessage<CreateAgentRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_agent, 4);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.CreateAgentResponse
|
||||
*/
|
||||
export type CreateAgentResponse = Message<'mantrae.v1.CreateAgentResponse'> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Agent agent = 1;
|
||||
*/
|
||||
agent?: Agent;
|
||||
export type CreateAgentResponse = Message<"mantrae.v1.CreateAgentResponse"> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Agent agent = 1;
|
||||
*/
|
||||
agent?: Agent;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.CreateAgentResponse.
|
||||
* Use `create(CreateAgentResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const CreateAgentResponseSchema: GenMessage<CreateAgentResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_agent, 5);
|
||||
export const CreateAgentResponseSchema: GenMessage<CreateAgentResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_agent, 5);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.UpdateAgentIPRequest
|
||||
*/
|
||||
export type UpdateAgentIPRequest = Message<'mantrae.v1.UpdateAgentIPRequest'> & {
|
||||
/**
|
||||
* @generated from field: string id = 1;
|
||||
*/
|
||||
id: string;
|
||||
export type UpdateAgentIPRequest = Message<"mantrae.v1.UpdateAgentIPRequest"> & {
|
||||
/**
|
||||
* @generated from field: string id = 1;
|
||||
*/
|
||||
id: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string ip = 2;
|
||||
*/
|
||||
ip: string;
|
||||
/**
|
||||
* @generated from field: string ip = 2;
|
||||
*/
|
||||
ip: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.UpdateAgentIPRequest.
|
||||
* Use `create(UpdateAgentIPRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const UpdateAgentIPRequestSchema: GenMessage<UpdateAgentIPRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_agent, 6);
|
||||
export const UpdateAgentIPRequestSchema: GenMessage<UpdateAgentIPRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_agent, 6);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.UpdateAgentIPResponse
|
||||
*/
|
||||
export type UpdateAgentIPResponse = Message<'mantrae.v1.UpdateAgentIPResponse'> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Agent agent = 1;
|
||||
*/
|
||||
agent?: Agent;
|
||||
export type UpdateAgentIPResponse = Message<"mantrae.v1.UpdateAgentIPResponse"> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Agent agent = 1;
|
||||
*/
|
||||
agent?: Agent;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.UpdateAgentIPResponse.
|
||||
* Use `create(UpdateAgentIPResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const UpdateAgentIPResponseSchema: GenMessage<UpdateAgentIPResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_agent, 7);
|
||||
export const UpdateAgentIPResponseSchema: GenMessage<UpdateAgentIPResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_agent, 7);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.DeleteAgentRequest
|
||||
*/
|
||||
export type DeleteAgentRequest = Message<'mantrae.v1.DeleteAgentRequest'> & {
|
||||
/**
|
||||
* @generated from field: string id = 1;
|
||||
*/
|
||||
id: string;
|
||||
export type DeleteAgentRequest = Message<"mantrae.v1.DeleteAgentRequest"> & {
|
||||
/**
|
||||
* @generated from field: string id = 1;
|
||||
*/
|
||||
id: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.DeleteAgentRequest.
|
||||
* Use `create(DeleteAgentRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const DeleteAgentRequestSchema: GenMessage<DeleteAgentRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_agent, 8);
|
||||
export const DeleteAgentRequestSchema: GenMessage<DeleteAgentRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_agent, 8);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.DeleteAgentResponse
|
||||
*/
|
||||
export type DeleteAgentResponse = Message<'mantrae.v1.DeleteAgentResponse'> & {};
|
||||
export type DeleteAgentResponse = Message<"mantrae.v1.DeleteAgentResponse"> & {
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.DeleteAgentResponse.
|
||||
* Use `create(DeleteAgentResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const DeleteAgentResponseSchema: GenMessage<DeleteAgentResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_agent, 9);
|
||||
export const DeleteAgentResponseSchema: GenMessage<DeleteAgentResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_agent, 9);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.ListAgentsRequest
|
||||
*/
|
||||
export type ListAgentsRequest = Message<'mantrae.v1.ListAgentsRequest'> & {
|
||||
/**
|
||||
* @generated from field: int64 profile_id = 1;
|
||||
*/
|
||||
profileId: bigint;
|
||||
export type ListAgentsRequest = Message<"mantrae.v1.ListAgentsRequest"> & {
|
||||
/**
|
||||
* @generated from field: int64 profile_id = 1;
|
||||
*/
|
||||
profileId: bigint;
|
||||
|
||||
/**
|
||||
* @generated from field: optional int64 limit = 2;
|
||||
*/
|
||||
limit?: bigint;
|
||||
/**
|
||||
* @generated from field: optional int64 limit = 2;
|
||||
*/
|
||||
limit?: bigint;
|
||||
|
||||
/**
|
||||
* @generated from field: optional int64 offset = 3;
|
||||
*/
|
||||
offset?: bigint;
|
||||
/**
|
||||
* @generated from field: optional int64 offset = 3;
|
||||
*/
|
||||
offset?: bigint;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.ListAgentsRequest.
|
||||
* Use `create(ListAgentsRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const ListAgentsRequestSchema: GenMessage<ListAgentsRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_agent, 10);
|
||||
export const ListAgentsRequestSchema: GenMessage<ListAgentsRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_agent, 10);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.ListAgentsResponse
|
||||
*/
|
||||
export type ListAgentsResponse = Message<'mantrae.v1.ListAgentsResponse'> & {
|
||||
/**
|
||||
* @generated from field: repeated mantrae.v1.Agent agents = 1;
|
||||
*/
|
||||
agents: Agent[];
|
||||
export type ListAgentsResponse = Message<"mantrae.v1.ListAgentsResponse"> & {
|
||||
/**
|
||||
* @generated from field: repeated mantrae.v1.Agent agents = 1;
|
||||
*/
|
||||
agents: Agent[];
|
||||
|
||||
/**
|
||||
* @generated from field: int64 total_count = 2;
|
||||
*/
|
||||
totalCount: bigint;
|
||||
/**
|
||||
* @generated from field: int64 total_count = 2;
|
||||
*/
|
||||
totalCount: bigint;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.ListAgentsResponse.
|
||||
* Use `create(ListAgentsResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const ListAgentsResponseSchema: GenMessage<ListAgentsResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_agent, 11);
|
||||
export const ListAgentsResponseSchema: GenMessage<ListAgentsResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_agent, 11);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.HealthCheckRequest
|
||||
*/
|
||||
export type HealthCheckRequest = Message<'mantrae.v1.HealthCheckRequest'> & {
|
||||
/**
|
||||
* @generated from field: string machine_id = 1;
|
||||
*/
|
||||
machineId: string;
|
||||
export type HealthCheckRequest = Message<"mantrae.v1.HealthCheckRequest"> & {
|
||||
/**
|
||||
* @generated from field: string machine_id = 1;
|
||||
*/
|
||||
machineId: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string hostname = 2;
|
||||
*/
|
||||
hostname: string;
|
||||
/**
|
||||
* @generated from field: string hostname = 2;
|
||||
*/
|
||||
hostname: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string public_ip = 3;
|
||||
*/
|
||||
publicIp: string;
|
||||
/**
|
||||
* @generated from field: string public_ip = 3;
|
||||
*/
|
||||
publicIp: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string private_ip = 4;
|
||||
*/
|
||||
privateIp: string;
|
||||
/**
|
||||
* @generated from field: string private_ip = 4;
|
||||
*/
|
||||
privateIp: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.HealthCheckRequest.
|
||||
* Use `create(HealthCheckRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const HealthCheckRequestSchema: GenMessage<HealthCheckRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_agent, 12);
|
||||
export const HealthCheckRequestSchema: GenMessage<HealthCheckRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_agent, 12);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.HealthCheckResponse
|
||||
*/
|
||||
export type HealthCheckResponse = Message<'mantrae.v1.HealthCheckResponse'> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Agent agent = 1;
|
||||
*/
|
||||
agent?: Agent;
|
||||
export type HealthCheckResponse = Message<"mantrae.v1.HealthCheckResponse"> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Agent agent = 1;
|
||||
*/
|
||||
agent?: Agent;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.HealthCheckResponse.
|
||||
* Use `create(HealthCheckResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const HealthCheckResponseSchema: GenMessage<HealthCheckResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_agent, 13);
|
||||
export const HealthCheckResponseSchema: GenMessage<HealthCheckResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_agent, 13);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.RotateAgentTokenRequest
|
||||
*/
|
||||
export type RotateAgentTokenRequest = Message<'mantrae.v1.RotateAgentTokenRequest'> & {
|
||||
/**
|
||||
* @generated from field: string id = 1;
|
||||
*/
|
||||
id: string;
|
||||
export type RotateAgentTokenRequest = Message<"mantrae.v1.RotateAgentTokenRequest"> & {
|
||||
/**
|
||||
* @generated from field: string id = 1;
|
||||
*/
|
||||
id: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.RotateAgentTokenRequest.
|
||||
* Use `create(RotateAgentTokenRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const RotateAgentTokenRequestSchema: GenMessage<RotateAgentTokenRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_agent, 14);
|
||||
export const RotateAgentTokenRequestSchema: GenMessage<RotateAgentTokenRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_agent, 14);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.RotateAgentTokenResponse
|
||||
*/
|
||||
export type RotateAgentTokenResponse = Message<'mantrae.v1.RotateAgentTokenResponse'> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Agent agent = 1;
|
||||
*/
|
||||
agent?: Agent;
|
||||
export type RotateAgentTokenResponse = Message<"mantrae.v1.RotateAgentTokenResponse"> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Agent agent = 1;
|
||||
*/
|
||||
agent?: Agent;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.RotateAgentTokenResponse.
|
||||
* Use `create(RotateAgentTokenResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const RotateAgentTokenResponseSchema: GenMessage<RotateAgentTokenResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_agent, 15);
|
||||
export const RotateAgentTokenResponseSchema: GenMessage<RotateAgentTokenResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_agent, 15);
|
||||
|
||||
/**
|
||||
* @generated from service mantrae.v1.AgentService
|
||||
*/
|
||||
export const AgentService: GenService<{
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.AgentService.GetAgent
|
||||
*/
|
||||
getAgent: {
|
||||
methodKind: 'unary';
|
||||
input: typeof GetAgentRequestSchema;
|
||||
output: typeof GetAgentResponseSchema;
|
||||
};
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.AgentService.CreateAgent
|
||||
*/
|
||||
createAgent: {
|
||||
methodKind: 'unary';
|
||||
input: typeof CreateAgentRequestSchema;
|
||||
output: typeof CreateAgentResponseSchema;
|
||||
};
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.AgentService.UpdateAgentIP
|
||||
*/
|
||||
updateAgentIP: {
|
||||
methodKind: 'unary';
|
||||
input: typeof UpdateAgentIPRequestSchema;
|
||||
output: typeof UpdateAgentIPResponseSchema;
|
||||
};
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.AgentService.DeleteAgent
|
||||
*/
|
||||
deleteAgent: {
|
||||
methodKind: 'unary';
|
||||
input: typeof DeleteAgentRequestSchema;
|
||||
output: typeof DeleteAgentResponseSchema;
|
||||
};
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.AgentService.ListAgents
|
||||
*/
|
||||
listAgents: {
|
||||
methodKind: 'unary';
|
||||
input: typeof ListAgentsRequestSchema;
|
||||
output: typeof ListAgentsResponseSchema;
|
||||
};
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.AgentService.HealthCheck
|
||||
*/
|
||||
healthCheck: {
|
||||
methodKind: 'unary';
|
||||
input: typeof HealthCheckRequestSchema;
|
||||
output: typeof HealthCheckResponseSchema;
|
||||
};
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.AgentService.RotateAgentToken
|
||||
*/
|
||||
rotateAgentToken: {
|
||||
methodKind: 'unary';
|
||||
input: typeof RotateAgentTokenRequestSchema;
|
||||
output: typeof RotateAgentTokenResponseSchema;
|
||||
};
|
||||
}> = /*@__PURE__*/ serviceDesc(file_mantrae_v1_agent, 0);
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.AgentService.GetAgent
|
||||
*/
|
||||
getAgent: {
|
||||
methodKind: "unary";
|
||||
input: typeof GetAgentRequestSchema;
|
||||
output: typeof GetAgentResponseSchema;
|
||||
},
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.AgentService.CreateAgent
|
||||
*/
|
||||
createAgent: {
|
||||
methodKind: "unary";
|
||||
input: typeof CreateAgentRequestSchema;
|
||||
output: typeof CreateAgentResponseSchema;
|
||||
},
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.AgentService.UpdateAgentIP
|
||||
*/
|
||||
updateAgentIP: {
|
||||
methodKind: "unary";
|
||||
input: typeof UpdateAgentIPRequestSchema;
|
||||
output: typeof UpdateAgentIPResponseSchema;
|
||||
},
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.AgentService.DeleteAgent
|
||||
*/
|
||||
deleteAgent: {
|
||||
methodKind: "unary";
|
||||
input: typeof DeleteAgentRequestSchema;
|
||||
output: typeof DeleteAgentResponseSchema;
|
||||
},
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.AgentService.ListAgents
|
||||
*/
|
||||
listAgents: {
|
||||
methodKind: "unary";
|
||||
input: typeof ListAgentsRequestSchema;
|
||||
output: typeof ListAgentsResponseSchema;
|
||||
},
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.AgentService.HealthCheck
|
||||
*/
|
||||
healthCheck: {
|
||||
methodKind: "unary";
|
||||
input: typeof HealthCheckRequestSchema;
|
||||
output: typeof HealthCheckResponseSchema;
|
||||
},
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.AgentService.RotateAgentToken
|
||||
*/
|
||||
rotateAgentToken: {
|
||||
methodKind: "unary";
|
||||
input: typeof RotateAgentTokenRequestSchema;
|
||||
output: typeof RotateAgentTokenResponseSchema;
|
||||
},
|
||||
}> = /*@__PURE__*/
|
||||
serviceDesc(file_mantrae_v1_agent, 0);
|
||||
|
||||
|
||||
@@ -2,127 +2,122 @@
|
||||
// @generated from file mantrae/v1/auditlog.proto (package mantrae.v1, syntax proto3)
|
||||
/* eslint-disable */
|
||||
|
||||
import type { GenFile, GenMessage, GenService } from '@bufbuild/protobuf/codegenv2';
|
||||
import { fileDesc, messageDesc, serviceDesc } from '@bufbuild/protobuf/codegenv2';
|
||||
import { file_buf_validate_validate } from '../../buf/validate/validate_pb';
|
||||
import type { Timestamp } from '@bufbuild/protobuf/wkt';
|
||||
import { file_google_protobuf_timestamp } from '@bufbuild/protobuf/wkt';
|
||||
import type { Message } from '@bufbuild/protobuf';
|
||||
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
||||
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
||||
import { file_buf_validate_validate } from "../../buf/validate/validate_pb";
|
||||
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
||||
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
||||
import type { Message } from "@bufbuild/protobuf";
|
||||
|
||||
/**
|
||||
* Describes the file mantrae/v1/auditlog.proto.
|
||||
*/
|
||||
export const file_mantrae_v1_auditlog: GenFile =
|
||||
/*@__PURE__*/
|
||||
fileDesc(
|
||||
'ChltYW50cmFlL3YxL2F1ZGl0bG9nLnByb3RvEgptYW50cmFlLnYxIp0BCghBdWRpdExvZxIKCgJpZBgBIAEoAxISCgpwcm9maWxlX2lkGAIgASgDEg8KB3VzZXJfaWQYAyABKAkSEAoIYWdlbnRfaWQYBCABKAkSDQoFZXZlbnQYBSABKAkSDwoHZGV0YWlscxgGIAEoCRIuCgpjcmVhdGVkX2F0GAcgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcCK1AQoUTGlzdEF1ZGl0TG9nc1JlcXVlc3QSagoFbGltaXQYASABKANCVrpIU7oBUAoLbGltaXQudmFsaWQSKWxpbWl0IG11c3QgYmUgZWl0aGVyIC0xIG9yIGdyZWF0ZXIgdGhhbiAwGhZ0aGlzID09IC0xIHx8IHRoaXMgPiAwSACIAQESHAoGb2Zmc2V0GAIgASgDQge6SAQiAigASAGIAQFCCAoGX2xpbWl0QgkKB19vZmZzZXQiVgoVTGlzdEF1ZGl0TG9nc1Jlc3BvbnNlEigKCmF1ZGl0X2xvZ3MYASADKAsyFC5tYW50cmFlLnYxLkF1ZGl0TG9nEhMKC3RvdGFsX2NvdW50GAIgASgDMmwKD0F1ZGl0TG9nU2VydmljZRJZCg1MaXN0QXVkaXRMb2dzEiAubWFudHJhZS52MS5MaXN0QXVkaXRMb2dzUmVxdWVzdBohLm1hbnRyYWUudjEuTGlzdEF1ZGl0TG9nc1Jlc3BvbnNlIgOQAgFCpwEKDmNvbS5tYW50cmFlLnYxQg1BdWRpdGxvZ1Byb3RvUAFaPWdpdGh1Yi5jb20vbWl6dWNoaWxhYnMvbWFudHJhZS9wcm90by9nZW4vbWFudHJhZS92MTttYW50cmFldjGiAgNNWFiqAgpNYW50cmFlLlYxygIKTWFudHJhZVxWMeICFk1hbnRyYWVcVjFcR1BCTWV0YWRhdGHqAgtNYW50cmFlOjpWMWIGcHJvdG8z',
|
||||
[file_buf_validate_validate, file_google_protobuf_timestamp]
|
||||
);
|
||||
export const file_mantrae_v1_auditlog: GenFile = /*@__PURE__*/
|
||||
fileDesc("ChltYW50cmFlL3YxL2F1ZGl0bG9nLnByb3RvEgptYW50cmFlLnYxIp0BCghBdWRpdExvZxIKCgJpZBgBIAEoAxISCgpwcm9maWxlX2lkGAIgASgDEg8KB3VzZXJfaWQYAyABKAkSEAoIYWdlbnRfaWQYBCABKAkSDQoFZXZlbnQYBSABKAkSDwoHZGV0YWlscxgGIAEoCRIuCgpjcmVhdGVkX2F0GAcgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcCK1AQoUTGlzdEF1ZGl0TG9nc1JlcXVlc3QSagoFbGltaXQYASABKANCVrpIU7oBUAoLbGltaXQudmFsaWQSKWxpbWl0IG11c3QgYmUgZWl0aGVyIC0xIG9yIGdyZWF0ZXIgdGhhbiAwGhZ0aGlzID09IC0xIHx8IHRoaXMgPiAwSACIAQESHAoGb2Zmc2V0GAIgASgDQge6SAQiAigASAGIAQFCCAoGX2xpbWl0QgkKB19vZmZzZXQiVgoVTGlzdEF1ZGl0TG9nc1Jlc3BvbnNlEigKCmF1ZGl0X2xvZ3MYASADKAsyFC5tYW50cmFlLnYxLkF1ZGl0TG9nEhMKC3RvdGFsX2NvdW50GAIgASgDMmwKD0F1ZGl0TG9nU2VydmljZRJZCg1MaXN0QXVkaXRMb2dzEiAubWFudHJhZS52MS5MaXN0QXVkaXRMb2dzUmVxdWVzdBohLm1hbnRyYWUudjEuTGlzdEF1ZGl0TG9nc1Jlc3BvbnNlIgOQAgFCpwEKDmNvbS5tYW50cmFlLnYxQg1BdWRpdGxvZ1Byb3RvUAFaPWdpdGh1Yi5jb20vbWl6dWNoaWxhYnMvbWFudHJhZS9wcm90by9nZW4vbWFudHJhZS92MTttYW50cmFldjGiAgNNWFiqAgpNYW50cmFlLlYxygIKTWFudHJhZVxWMeICFk1hbnRyYWVcVjFcR1BCTWV0YWRhdGHqAgtNYW50cmFlOjpWMWIGcHJvdG8z", [file_buf_validate_validate, file_google_protobuf_timestamp]);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.AuditLog
|
||||
*/
|
||||
export type AuditLog = Message<'mantrae.v1.AuditLog'> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
export type AuditLog = Message<"mantrae.v1.AuditLog"> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
|
||||
/**
|
||||
* @generated from field: int64 profile_id = 2;
|
||||
*/
|
||||
profileId: bigint;
|
||||
/**
|
||||
* @generated from field: int64 profile_id = 2;
|
||||
*/
|
||||
profileId: bigint;
|
||||
|
||||
/**
|
||||
* @generated from field: string user_id = 3;
|
||||
*/
|
||||
userId: string;
|
||||
/**
|
||||
* @generated from field: string user_id = 3;
|
||||
*/
|
||||
userId: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string agent_id = 4;
|
||||
*/
|
||||
agentId: string;
|
||||
/**
|
||||
* @generated from field: string agent_id = 4;
|
||||
*/
|
||||
agentId: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string event = 5;
|
||||
*/
|
||||
event: string;
|
||||
/**
|
||||
* @generated from field: string event = 5;
|
||||
*/
|
||||
event: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string details = 6;
|
||||
*/
|
||||
details: string;
|
||||
/**
|
||||
* @generated from field: string details = 6;
|
||||
*/
|
||||
details: string;
|
||||
|
||||
/**
|
||||
* @generated from field: google.protobuf.Timestamp created_at = 7;
|
||||
*/
|
||||
createdAt?: Timestamp;
|
||||
/**
|
||||
* @generated from field: google.protobuf.Timestamp created_at = 7;
|
||||
*/
|
||||
createdAt?: Timestamp;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.AuditLog.
|
||||
* Use `create(AuditLogSchema)` to create a new message.
|
||||
*/
|
||||
export const AuditLogSchema: GenMessage<AuditLog> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_auditlog, 0);
|
||||
export const AuditLogSchema: GenMessage<AuditLog> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_auditlog, 0);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.ListAuditLogsRequest
|
||||
*/
|
||||
export type ListAuditLogsRequest = Message<'mantrae.v1.ListAuditLogsRequest'> & {
|
||||
/**
|
||||
* @generated from field: optional int64 limit = 1;
|
||||
*/
|
||||
limit?: bigint;
|
||||
export type ListAuditLogsRequest = Message<"mantrae.v1.ListAuditLogsRequest"> & {
|
||||
/**
|
||||
* @generated from field: optional int64 limit = 1;
|
||||
*/
|
||||
limit?: bigint;
|
||||
|
||||
/**
|
||||
* @generated from field: optional int64 offset = 2;
|
||||
*/
|
||||
offset?: bigint;
|
||||
/**
|
||||
* @generated from field: optional int64 offset = 2;
|
||||
*/
|
||||
offset?: bigint;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.ListAuditLogsRequest.
|
||||
* Use `create(ListAuditLogsRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const ListAuditLogsRequestSchema: GenMessage<ListAuditLogsRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_auditlog, 1);
|
||||
export const ListAuditLogsRequestSchema: GenMessage<ListAuditLogsRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_auditlog, 1);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.ListAuditLogsResponse
|
||||
*/
|
||||
export type ListAuditLogsResponse = Message<'mantrae.v1.ListAuditLogsResponse'> & {
|
||||
/**
|
||||
* @generated from field: repeated mantrae.v1.AuditLog audit_logs = 1;
|
||||
*/
|
||||
auditLogs: AuditLog[];
|
||||
export type ListAuditLogsResponse = Message<"mantrae.v1.ListAuditLogsResponse"> & {
|
||||
/**
|
||||
* @generated from field: repeated mantrae.v1.AuditLog audit_logs = 1;
|
||||
*/
|
||||
auditLogs: AuditLog[];
|
||||
|
||||
/**
|
||||
* @generated from field: int64 total_count = 2;
|
||||
*/
|
||||
totalCount: bigint;
|
||||
/**
|
||||
* @generated from field: int64 total_count = 2;
|
||||
*/
|
||||
totalCount: bigint;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.ListAuditLogsResponse.
|
||||
* Use `create(ListAuditLogsResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const ListAuditLogsResponseSchema: GenMessage<ListAuditLogsResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_auditlog, 2);
|
||||
export const ListAuditLogsResponseSchema: GenMessage<ListAuditLogsResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_auditlog, 2);
|
||||
|
||||
/**
|
||||
* @generated from service mantrae.v1.AuditLogService
|
||||
*/
|
||||
export const AuditLogService: GenService<{
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.AuditLogService.ListAuditLogs
|
||||
*/
|
||||
listAuditLogs: {
|
||||
methodKind: 'unary';
|
||||
input: typeof ListAuditLogsRequestSchema;
|
||||
output: typeof ListAuditLogsResponseSchema;
|
||||
};
|
||||
}> = /*@__PURE__*/ serviceDesc(file_mantrae_v1_auditlog, 0);
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.AuditLogService.ListAuditLogs
|
||||
*/
|
||||
listAuditLogs: {
|
||||
methodKind: "unary";
|
||||
input: typeof ListAuditLogsRequestSchema;
|
||||
output: typeof ListAuditLogsResponseSchema;
|
||||
},
|
||||
}> = /*@__PURE__*/
|
||||
serviceDesc(file_mantrae_v1_auditlog, 0);
|
||||
|
||||
|
||||
@@ -2,251 +2,243 @@
|
||||
// @generated from file mantrae/v1/backup.proto (package mantrae.v1, syntax proto3)
|
||||
/* eslint-disable */
|
||||
|
||||
import type { GenFile, GenMessage, GenService } from '@bufbuild/protobuf/codegenv2';
|
||||
import { fileDesc, messageDesc, serviceDesc } from '@bufbuild/protobuf/codegenv2';
|
||||
import { file_buf_validate_validate } from '../../buf/validate/validate_pb';
|
||||
import type { Timestamp } from '@bufbuild/protobuf/wkt';
|
||||
import { file_google_protobuf_timestamp } from '@bufbuild/protobuf/wkt';
|
||||
import type { Message } from '@bufbuild/protobuf';
|
||||
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
||||
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
||||
import { file_buf_validate_validate } from "../../buf/validate/validate_pb";
|
||||
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
||||
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
||||
import type { Message } from "@bufbuild/protobuf";
|
||||
|
||||
/**
|
||||
* Describes the file mantrae/v1/backup.proto.
|
||||
*/
|
||||
export const file_mantrae_v1_backup: GenFile =
|
||||
/*@__PURE__*/
|
||||
fileDesc(
|
||||
'ChdtYW50cmFlL3YxL2JhY2t1cC5wcm90bxIKbWFudHJhZS52MSJUCgZCYWNrdXASDAoEbmFtZRgBIAEoCRIMCgRzaXplGAIgASgDEi4KCmNyZWF0ZWRfYXQYAyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wIhUKE0NyZWF0ZUJhY2t1cFJlcXVlc3QiFgoUQ3JlYXRlQmFja3VwUmVzcG9uc2UiMAoUUmVzdG9yZUJhY2t1cFJlcXVlc3QSGAoEbmFtZRgBIAEoCUIKukgHyAEBcgIQASIXChVSZXN0b3JlQmFja3VwUmVzcG9uc2UiFAoSTGlzdEJhY2t1cHNSZXF1ZXN0IjoKE0xpc3RCYWNrdXBzUmVzcG9uc2USIwoHYmFja3VwcxgBIAMoCzISLm1hbnRyYWUudjEuQmFja3VwIi8KE0RlbGV0ZUJhY2t1cFJlcXVlc3QSGAoEbmFtZRgBIAEoCUIKukgHyAEBcgIQASIWChREZWxldGVCYWNrdXBSZXNwb25zZSIlChVEb3dubG9hZEJhY2t1cFJlcXVlc3QSDAoEbmFtZRgBIAEoCSImChZEb3dubG9hZEJhY2t1cFJlc3BvbnNlEgwKBGRhdGEYASABKAwyuwMKDUJhY2t1cFNlcnZpY2USUQoMQ3JlYXRlQmFja3VwEh8ubWFudHJhZS52MS5DcmVhdGVCYWNrdXBSZXF1ZXN0GiAubWFudHJhZS52MS5DcmVhdGVCYWNrdXBSZXNwb25zZRJUCg1SZXN0b3JlQmFja3VwEiAubWFudHJhZS52MS5SZXN0b3JlQmFja3VwUmVxdWVzdBohLm1hbnRyYWUudjEuUmVzdG9yZUJhY2t1cFJlc3BvbnNlElMKC0xpc3RCYWNrdXBzEh4ubWFudHJhZS52MS5MaXN0QmFja3Vwc1JlcXVlc3QaHy5tYW50cmFlLnYxLkxpc3RCYWNrdXBzUmVzcG9uc2UiA5ACARJRCgxEZWxldGVCYWNrdXASHy5tYW50cmFlLnYxLkRlbGV0ZUJhY2t1cFJlcXVlc3QaIC5tYW50cmFlLnYxLkRlbGV0ZUJhY2t1cFJlc3BvbnNlElkKDkRvd25sb2FkQmFja3VwEiEubWFudHJhZS52MS5Eb3dubG9hZEJhY2t1cFJlcXVlc3QaIi5tYW50cmFlLnYxLkRvd25sb2FkQmFja3VwUmVzcG9uc2UwAUKlAQoOY29tLm1hbnRyYWUudjFCC0JhY2t1cFByb3RvUAFaPWdpdGh1Yi5jb20vbWl6dWNoaWxhYnMvbWFudHJhZS9wcm90by9nZW4vbWFudHJhZS92MTttYW50cmFldjGiAgNNWFiqAgpNYW50cmFlLlYxygIKTWFudHJhZVxWMeICFk1hbnRyYWVcVjFcR1BCTWV0YWRhdGHqAgtNYW50cmFlOjpWMWIGcHJvdG8z',
|
||||
[file_buf_validate_validate, file_google_protobuf_timestamp]
|
||||
);
|
||||
export const file_mantrae_v1_backup: GenFile = /*@__PURE__*/
|
||||
fileDesc("ChdtYW50cmFlL3YxL2JhY2t1cC5wcm90bxIKbWFudHJhZS52MSJUCgZCYWNrdXASDAoEbmFtZRgBIAEoCRIMCgRzaXplGAIgASgDEi4KCmNyZWF0ZWRfYXQYAyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wIhUKE0NyZWF0ZUJhY2t1cFJlcXVlc3QiFgoUQ3JlYXRlQmFja3VwUmVzcG9uc2UiLQoUUmVzdG9yZUJhY2t1cFJlcXVlc3QSFQoEbmFtZRgBIAEoCUIHukgEcgIQASIXChVSZXN0b3JlQmFja3VwUmVzcG9uc2UiFAoSTGlzdEJhY2t1cHNSZXF1ZXN0IjoKE0xpc3RCYWNrdXBzUmVzcG9uc2USIwoHYmFja3VwcxgBIAMoCzISLm1hbnRyYWUudjEuQmFja3VwIiwKE0RlbGV0ZUJhY2t1cFJlcXVlc3QSFQoEbmFtZRgBIAEoCUIHukgEcgIQASIWChREZWxldGVCYWNrdXBSZXNwb25zZSIlChVEb3dubG9hZEJhY2t1cFJlcXVlc3QSDAoEbmFtZRgBIAEoCSImChZEb3dubG9hZEJhY2t1cFJlc3BvbnNlEgwKBGRhdGEYASABKAwyuwMKDUJhY2t1cFNlcnZpY2USUQoMQ3JlYXRlQmFja3VwEh8ubWFudHJhZS52MS5DcmVhdGVCYWNrdXBSZXF1ZXN0GiAubWFudHJhZS52MS5DcmVhdGVCYWNrdXBSZXNwb25zZRJUCg1SZXN0b3JlQmFja3VwEiAubWFudHJhZS52MS5SZXN0b3JlQmFja3VwUmVxdWVzdBohLm1hbnRyYWUudjEuUmVzdG9yZUJhY2t1cFJlc3BvbnNlElMKC0xpc3RCYWNrdXBzEh4ubWFudHJhZS52MS5MaXN0QmFja3Vwc1JlcXVlc3QaHy5tYW50cmFlLnYxLkxpc3RCYWNrdXBzUmVzcG9uc2UiA5ACARJRCgxEZWxldGVCYWNrdXASHy5tYW50cmFlLnYxLkRlbGV0ZUJhY2t1cFJlcXVlc3QaIC5tYW50cmFlLnYxLkRlbGV0ZUJhY2t1cFJlc3BvbnNlElkKDkRvd25sb2FkQmFja3VwEiEubWFudHJhZS52MS5Eb3dubG9hZEJhY2t1cFJlcXVlc3QaIi5tYW50cmFlLnYxLkRvd25sb2FkQmFja3VwUmVzcG9uc2UwAUKlAQoOY29tLm1hbnRyYWUudjFCC0JhY2t1cFByb3RvUAFaPWdpdGh1Yi5jb20vbWl6dWNoaWxhYnMvbWFudHJhZS9wcm90by9nZW4vbWFudHJhZS92MTttYW50cmFldjGiAgNNWFiqAgpNYW50cmFlLlYxygIKTWFudHJhZVxWMeICFk1hbnRyYWVcVjFcR1BCTWV0YWRhdGHqAgtNYW50cmFlOjpWMWIGcHJvdG8z", [file_buf_validate_validate, file_google_protobuf_timestamp]);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.Backup
|
||||
*/
|
||||
export type Backup = Message<'mantrae.v1.Backup'> & {
|
||||
/**
|
||||
* @generated from field: string name = 1;
|
||||
*/
|
||||
name: string;
|
||||
export type Backup = Message<"mantrae.v1.Backup"> & {
|
||||
/**
|
||||
* @generated from field: string name = 1;
|
||||
*/
|
||||
name: string;
|
||||
|
||||
/**
|
||||
* @generated from field: int64 size = 2;
|
||||
*/
|
||||
size: bigint;
|
||||
/**
|
||||
* @generated from field: int64 size = 2;
|
||||
*/
|
||||
size: bigint;
|
||||
|
||||
/**
|
||||
* @generated from field: google.protobuf.Timestamp created_at = 3;
|
||||
*/
|
||||
createdAt?: Timestamp;
|
||||
/**
|
||||
* @generated from field: google.protobuf.Timestamp created_at = 3;
|
||||
*/
|
||||
createdAt?: Timestamp;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.Backup.
|
||||
* Use `create(BackupSchema)` to create a new message.
|
||||
*/
|
||||
export const BackupSchema: GenMessage<Backup> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_backup, 0);
|
||||
export const BackupSchema: GenMessage<Backup> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_backup, 0);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.CreateBackupRequest
|
||||
*/
|
||||
export type CreateBackupRequest = Message<'mantrae.v1.CreateBackupRequest'> & {};
|
||||
export type CreateBackupRequest = Message<"mantrae.v1.CreateBackupRequest"> & {
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.CreateBackupRequest.
|
||||
* Use `create(CreateBackupRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const CreateBackupRequestSchema: GenMessage<CreateBackupRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_backup, 1);
|
||||
export const CreateBackupRequestSchema: GenMessage<CreateBackupRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_backup, 1);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.CreateBackupResponse
|
||||
*/
|
||||
export type CreateBackupResponse = Message<'mantrae.v1.CreateBackupResponse'> & {};
|
||||
export type CreateBackupResponse = Message<"mantrae.v1.CreateBackupResponse"> & {
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.CreateBackupResponse.
|
||||
* Use `create(CreateBackupResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const CreateBackupResponseSchema: GenMessage<CreateBackupResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_backup, 2);
|
||||
export const CreateBackupResponseSchema: GenMessage<CreateBackupResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_backup, 2);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.RestoreBackupRequest
|
||||
*/
|
||||
export type RestoreBackupRequest = Message<'mantrae.v1.RestoreBackupRequest'> & {
|
||||
/**
|
||||
* @generated from field: string name = 1;
|
||||
*/
|
||||
name: string;
|
||||
export type RestoreBackupRequest = Message<"mantrae.v1.RestoreBackupRequest"> & {
|
||||
/**
|
||||
* @generated from field: string name = 1;
|
||||
*/
|
||||
name: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.RestoreBackupRequest.
|
||||
* Use `create(RestoreBackupRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const RestoreBackupRequestSchema: GenMessage<RestoreBackupRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_backup, 3);
|
||||
export const RestoreBackupRequestSchema: GenMessage<RestoreBackupRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_backup, 3);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.RestoreBackupResponse
|
||||
*/
|
||||
export type RestoreBackupResponse = Message<'mantrae.v1.RestoreBackupResponse'> & {};
|
||||
export type RestoreBackupResponse = Message<"mantrae.v1.RestoreBackupResponse"> & {
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.RestoreBackupResponse.
|
||||
* Use `create(RestoreBackupResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const RestoreBackupResponseSchema: GenMessage<RestoreBackupResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_backup, 4);
|
||||
export const RestoreBackupResponseSchema: GenMessage<RestoreBackupResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_backup, 4);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.ListBackupsRequest
|
||||
*/
|
||||
export type ListBackupsRequest = Message<'mantrae.v1.ListBackupsRequest'> & {};
|
||||
export type ListBackupsRequest = Message<"mantrae.v1.ListBackupsRequest"> & {
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.ListBackupsRequest.
|
||||
* Use `create(ListBackupsRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const ListBackupsRequestSchema: GenMessage<ListBackupsRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_backup, 5);
|
||||
export const ListBackupsRequestSchema: GenMessage<ListBackupsRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_backup, 5);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.ListBackupsResponse
|
||||
*/
|
||||
export type ListBackupsResponse = Message<'mantrae.v1.ListBackupsResponse'> & {
|
||||
/**
|
||||
* @generated from field: repeated mantrae.v1.Backup backups = 1;
|
||||
*/
|
||||
backups: Backup[];
|
||||
export type ListBackupsResponse = Message<"mantrae.v1.ListBackupsResponse"> & {
|
||||
/**
|
||||
* @generated from field: repeated mantrae.v1.Backup backups = 1;
|
||||
*/
|
||||
backups: Backup[];
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.ListBackupsResponse.
|
||||
* Use `create(ListBackupsResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const ListBackupsResponseSchema: GenMessage<ListBackupsResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_backup, 6);
|
||||
export const ListBackupsResponseSchema: GenMessage<ListBackupsResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_backup, 6);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.DeleteBackupRequest
|
||||
*/
|
||||
export type DeleteBackupRequest = Message<'mantrae.v1.DeleteBackupRequest'> & {
|
||||
/**
|
||||
* @generated from field: string name = 1;
|
||||
*/
|
||||
name: string;
|
||||
export type DeleteBackupRequest = Message<"mantrae.v1.DeleteBackupRequest"> & {
|
||||
/**
|
||||
* @generated from field: string name = 1;
|
||||
*/
|
||||
name: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.DeleteBackupRequest.
|
||||
* Use `create(DeleteBackupRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const DeleteBackupRequestSchema: GenMessage<DeleteBackupRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_backup, 7);
|
||||
export const DeleteBackupRequestSchema: GenMessage<DeleteBackupRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_backup, 7);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.DeleteBackupResponse
|
||||
*/
|
||||
export type DeleteBackupResponse = Message<'mantrae.v1.DeleteBackupResponse'> & {};
|
||||
export type DeleteBackupResponse = Message<"mantrae.v1.DeleteBackupResponse"> & {
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.DeleteBackupResponse.
|
||||
* Use `create(DeleteBackupResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const DeleteBackupResponseSchema: GenMessage<DeleteBackupResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_backup, 8);
|
||||
export const DeleteBackupResponseSchema: GenMessage<DeleteBackupResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_backup, 8);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.DownloadBackupRequest
|
||||
*/
|
||||
export type DownloadBackupRequest = Message<'mantrae.v1.DownloadBackupRequest'> & {
|
||||
/**
|
||||
* @generated from field: string name = 1;
|
||||
*/
|
||||
name: string;
|
||||
export type DownloadBackupRequest = Message<"mantrae.v1.DownloadBackupRequest"> & {
|
||||
/**
|
||||
* @generated from field: string name = 1;
|
||||
*/
|
||||
name: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.DownloadBackupRequest.
|
||||
* Use `create(DownloadBackupRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const DownloadBackupRequestSchema: GenMessage<DownloadBackupRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_backup, 9);
|
||||
export const DownloadBackupRequestSchema: GenMessage<DownloadBackupRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_backup, 9);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.DownloadBackupResponse
|
||||
*/
|
||||
export type DownloadBackupResponse = Message<'mantrae.v1.DownloadBackupResponse'> & {
|
||||
/**
|
||||
* @generated from field: bytes data = 1;
|
||||
*/
|
||||
data: Uint8Array;
|
||||
export type DownloadBackupResponse = Message<"mantrae.v1.DownloadBackupResponse"> & {
|
||||
/**
|
||||
* @generated from field: bytes data = 1;
|
||||
*/
|
||||
data: Uint8Array;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.DownloadBackupResponse.
|
||||
* Use `create(DownloadBackupResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const DownloadBackupResponseSchema: GenMessage<DownloadBackupResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_backup, 10);
|
||||
export const DownloadBackupResponseSchema: GenMessage<DownloadBackupResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_backup, 10);
|
||||
|
||||
/**
|
||||
* @generated from service mantrae.v1.BackupService
|
||||
*/
|
||||
export const BackupService: GenService<{
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.BackupService.CreateBackup
|
||||
*/
|
||||
createBackup: {
|
||||
methodKind: 'unary';
|
||||
input: typeof CreateBackupRequestSchema;
|
||||
output: typeof CreateBackupResponseSchema;
|
||||
};
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.BackupService.RestoreBackup
|
||||
*/
|
||||
restoreBackup: {
|
||||
methodKind: 'unary';
|
||||
input: typeof RestoreBackupRequestSchema;
|
||||
output: typeof RestoreBackupResponseSchema;
|
||||
};
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.BackupService.ListBackups
|
||||
*/
|
||||
listBackups: {
|
||||
methodKind: 'unary';
|
||||
input: typeof ListBackupsRequestSchema;
|
||||
output: typeof ListBackupsResponseSchema;
|
||||
};
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.BackupService.DeleteBackup
|
||||
*/
|
||||
deleteBackup: {
|
||||
methodKind: 'unary';
|
||||
input: typeof DeleteBackupRequestSchema;
|
||||
output: typeof DeleteBackupResponseSchema;
|
||||
};
|
||||
/**
|
||||
* See: https://github.com/connectrpc/connect-es/issues/669
|
||||
* rpc UploadBackup(stream UploadBackupRequest) returns (UploadBackupResponse); // stream doesn't work with connect-es
|
||||
*
|
||||
* @generated from rpc mantrae.v1.BackupService.DownloadBackup
|
||||
*/
|
||||
downloadBackup: {
|
||||
methodKind: 'server_streaming';
|
||||
input: typeof DownloadBackupRequestSchema;
|
||||
output: typeof DownloadBackupResponseSchema;
|
||||
};
|
||||
}> = /*@__PURE__*/ serviceDesc(file_mantrae_v1_backup, 0);
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.BackupService.CreateBackup
|
||||
*/
|
||||
createBackup: {
|
||||
methodKind: "unary";
|
||||
input: typeof CreateBackupRequestSchema;
|
||||
output: typeof CreateBackupResponseSchema;
|
||||
},
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.BackupService.RestoreBackup
|
||||
*/
|
||||
restoreBackup: {
|
||||
methodKind: "unary";
|
||||
input: typeof RestoreBackupRequestSchema;
|
||||
output: typeof RestoreBackupResponseSchema;
|
||||
},
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.BackupService.ListBackups
|
||||
*/
|
||||
listBackups: {
|
||||
methodKind: "unary";
|
||||
input: typeof ListBackupsRequestSchema;
|
||||
output: typeof ListBackupsResponseSchema;
|
||||
},
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.BackupService.DeleteBackup
|
||||
*/
|
||||
deleteBackup: {
|
||||
methodKind: "unary";
|
||||
input: typeof DeleteBackupRequestSchema;
|
||||
output: typeof DeleteBackupResponseSchema;
|
||||
},
|
||||
/**
|
||||
* See: https://github.com/connectrpc/connect-es/issues/669
|
||||
* rpc UploadBackup(stream UploadBackupRequest) returns (UploadBackupResponse); // stream doesn't work with connect-es
|
||||
*
|
||||
* @generated from rpc mantrae.v1.BackupService.DownloadBackup
|
||||
*/
|
||||
downloadBackup: {
|
||||
methodKind: "server_streaming";
|
||||
input: typeof DownloadBackupRequestSchema;
|
||||
output: typeof DownloadBackupResponseSchema;
|
||||
},
|
||||
}> = /*@__PURE__*/
|
||||
serviceDesc(file_mantrae_v1_backup, 0);
|
||||
|
||||
|
||||
@@ -2,408 +2,394 @@
|
||||
// @generated from file mantrae/v1/dns_provider.proto (package mantrae.v1, syntax proto3)
|
||||
/* eslint-disable */
|
||||
|
||||
import type { GenEnum, GenFile, GenMessage, GenService } from '@bufbuild/protobuf/codegenv2';
|
||||
import { enumDesc, fileDesc, messageDesc, serviceDesc } from '@bufbuild/protobuf/codegenv2';
|
||||
import { file_buf_validate_validate } from '../../buf/validate/validate_pb';
|
||||
import type { Timestamp } from '@bufbuild/protobuf/wkt';
|
||||
import { file_google_protobuf_timestamp } from '@bufbuild/protobuf/wkt';
|
||||
import type { Message } from '@bufbuild/protobuf';
|
||||
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
||||
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
||||
import { file_buf_validate_validate } from "../../buf/validate/validate_pb";
|
||||
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
||||
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
||||
import type { Message } from "@bufbuild/protobuf";
|
||||
|
||||
/**
|
||||
* Describes the file mantrae/v1/dns_provider.proto.
|
||||
*/
|
||||
export const file_mantrae_v1_dns_provider: GenFile =
|
||||
/*@__PURE__*/
|
||||
fileDesc(
|
||||
'Ch1tYW50cmFlL3YxL2Ruc19wcm92aWRlci5wcm90bxIKbWFudHJhZS52MSL0AQoLRG5zUHJvdmlkZXISCgoCaWQYASABKAMSDAoEbmFtZRgCIAEoCRIpCgR0eXBlGAMgASgOMhsubWFudHJhZS52MS5EbnNQcm92aWRlclR5cGUSLQoGY29uZmlnGAQgASgLMh0ubWFudHJhZS52MS5EbnNQcm92aWRlckNvbmZpZxIRCglpc19hY3RpdmUYBSABKAgSLgoKY3JlYXRlZF9hdBgGIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASLgoKdXBkYXRlZF9hdBgHIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAiegoRRG5zUHJvdmlkZXJDb25maWcSDwoHYXBpX2tleRgBIAEoCRIPCgdhcGlfdXJsGAIgASgJEgoKAmlwGAMgASgJEg8KB3Byb3hpZWQYBCABKAgSEwoLYXV0b191cGRhdGUYBSABKAgSEQoJem9uZV90eXBlGAYgASgJIi8KFUdldERuc1Byb3ZpZGVyUmVxdWVzdBIWCgJpZBgBIAEoA0IKukgHyAEBIgIgACJHChZHZXREbnNQcm92aWRlclJlc3BvbnNlEi0KDGRuc19wcm92aWRlchgBIAEoCzIXLm1hbnRyYWUudjEuRG5zUHJvdmlkZXIirgEKGENyZWF0ZURuc1Byb3ZpZGVyUmVxdWVzdBIYCgRuYW1lGAEgASgJQgq6SAfIAQFyAhABEjYKBHR5cGUYAiABKA4yGy5tYW50cmFlLnYxLkRuc1Byb3ZpZGVyVHlwZUILukgIyAEBggECEAESLQoGY29uZmlnGAMgASgLMh0ubWFudHJhZS52MS5EbnNQcm92aWRlckNvbmZpZxIRCglpc19hY3RpdmUYBCABKAgiSgoZQ3JlYXRlRG5zUHJvdmlkZXJSZXNwb25zZRItCgxkbnNfcHJvdmlkZXIYASABKAsyFy5tYW50cmFlLnYxLkRuc1Byb3ZpZGVyIsYBChhVcGRhdGVEbnNQcm92aWRlclJlcXVlc3QSFgoCaWQYASABKANCCrpIB8gBASICIAASGAoEbmFtZRgCIAEoCUIKukgHyAEBcgIQARI2CgR0eXBlGAMgASgOMhsubWFudHJhZS52MS5EbnNQcm92aWRlclR5cGVCC7pICMgBAYIBAhABEi0KBmNvbmZpZxgEIAEoCzIdLm1hbnRyYWUudjEuRG5zUHJvdmlkZXJDb25maWcSEQoJaXNfYWN0aXZlGAUgASgIIkoKGVVwZGF0ZURuc1Byb3ZpZGVyUmVzcG9uc2USLQoMZG5zX3Byb3ZpZGVyGAEgASgLMhcubWFudHJhZS52MS5EbnNQcm92aWRlciIyChhEZWxldGVEbnNQcm92aWRlclJlcXVlc3QSFgoCaWQYASABKANCCrpIB8gBASICIAAiGwoZRGVsZXRlRG5zUHJvdmlkZXJSZXNwb25zZSK4AQoXTGlzdERuc1Byb3ZpZGVyc1JlcXVlc3QSagoFbGltaXQYASABKANCVrpIU7oBUAoLbGltaXQudmFsaWQSKWxpbWl0IG11c3QgYmUgZWl0aGVyIC0xIG9yIGdyZWF0ZXIgdGhhbiAwGhZ0aGlzID09IC0xIHx8IHRoaXMgPiAwSACIAQESHAoGb2Zmc2V0GAIgASgDQge6SAQiAigASAGIAQFCCAoGX2xpbWl0QgkKB19vZmZzZXQiXwoYTGlzdERuc1Byb3ZpZGVyc1Jlc3BvbnNlEi4KDWRuc19wcm92aWRlcnMYASADKAsyFy5tYW50cmFlLnYxLkRuc1Byb3ZpZGVyEhMKC3RvdGFsX2NvdW50GAIgASgDKpgBCg9EbnNQcm92aWRlclR5cGUSIQodRE5TX1BST1ZJREVSX1RZUEVfVU5TUEVDSUZJRUQQABIgChxETlNfUFJPVklERVJfVFlQRV9DTE9VREZMQVJFEAESHgoaRE5TX1BST1ZJREVSX1RZUEVfUE9XRVJETlMQAhIgChxETlNfUFJPVklERVJfVFlQRV9URUNITklUSVVNEAMy/AMKEkRuc1Byb3ZpZGVyU2VydmljZRJcCg5HZXREbnNQcm92aWRlchIhLm1hbnRyYWUudjEuR2V0RG5zUHJvdmlkZXJSZXF1ZXN0GiIubWFudHJhZS52MS5HZXREbnNQcm92aWRlclJlc3BvbnNlIgOQAgESYAoRQ3JlYXRlRG5zUHJvdmlkZXISJC5tYW50cmFlLnYxLkNyZWF0ZURuc1Byb3ZpZGVyUmVxdWVzdBolLm1hbnRyYWUudjEuQ3JlYXRlRG5zUHJvdmlkZXJSZXNwb25zZRJgChFVcGRhdGVEbnNQcm92aWRlchIkLm1hbnRyYWUudjEuVXBkYXRlRG5zUHJvdmlkZXJSZXF1ZXN0GiUubWFudHJhZS52MS5VcGRhdGVEbnNQcm92aWRlclJlc3BvbnNlEmAKEURlbGV0ZURuc1Byb3ZpZGVyEiQubWFudHJhZS52MS5EZWxldGVEbnNQcm92aWRlclJlcXVlc3QaJS5tYW50cmFlLnYxLkRlbGV0ZURuc1Byb3ZpZGVyUmVzcG9uc2USYgoQTGlzdERuc1Byb3ZpZGVycxIjLm1hbnRyYWUudjEuTGlzdERuc1Byb3ZpZGVyc1JlcXVlc3QaJC5tYW50cmFlLnYxLkxpc3REbnNQcm92aWRlcnNSZXNwb25zZSIDkAIBQqoBCg5jb20ubWFudHJhZS52MUIQRG5zUHJvdmlkZXJQcm90b1ABWj1naXRodWIuY29tL21penVjaGlsYWJzL21hbnRyYWUvcHJvdG8vZ2VuL21hbnRyYWUvdjE7bWFudHJhZXYxogIDTVhYqgIKTWFudHJhZS5WMcoCCk1hbnRyYWVcVjHiAhZNYW50cmFlXFYxXEdQQk1ldGFkYXRh6gILTWFudHJhZTo6VjFiBnByb3RvMw',
|
||||
[file_buf_validate_validate, file_google_protobuf_timestamp]
|
||||
);
|
||||
export const file_mantrae_v1_dns_provider: GenFile = /*@__PURE__*/
|
||||
fileDesc("Ch1tYW50cmFlL3YxL2Ruc19wcm92aWRlci5wcm90bxIKbWFudHJhZS52MSL0AQoLRG5zUHJvdmlkZXISCgoCaWQYASABKAMSDAoEbmFtZRgCIAEoCRIpCgR0eXBlGAMgASgOMhsubWFudHJhZS52MS5EbnNQcm92aWRlclR5cGUSLQoGY29uZmlnGAQgASgLMh0ubWFudHJhZS52MS5EbnNQcm92aWRlckNvbmZpZxIRCglpc19hY3RpdmUYBSABKAgSLgoKY3JlYXRlZF9hdBgGIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASLgoKdXBkYXRlZF9hdBgHIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAilgEKEURuc1Byb3ZpZGVyQ29uZmlnEhgKB2FwaV9rZXkYASABKAlCB7pIBHICEAESGQoHYXBpX3VybBgCIAEoCUIIukgFcgOIAQESEwoCaXAYAyABKAlCB7pIBHICcAESDwoHcHJveGllZBgEIAEoCBITCgthdXRvX3VwZGF0ZRgFIAEoCBIRCgl6b25lX3R5cGUYBiABKAkiLwoVR2V0RG5zUHJvdmlkZXJSZXF1ZXN0EhYKAmlkGAEgASgDQgq6SAfIAQEiAiAAIkcKFkdldERuc1Byb3ZpZGVyUmVzcG9uc2USLQoMZG5zX3Byb3ZpZGVyGAEgASgLMhcubWFudHJhZS52MS5EbnNQcm92aWRlciKuAQoYQ3JlYXRlRG5zUHJvdmlkZXJSZXF1ZXN0EhgKBG5hbWUYASABKAlCCrpIB8gBAXICEAESNgoEdHlwZRgCIAEoDjIbLm1hbnRyYWUudjEuRG5zUHJvdmlkZXJUeXBlQgu6SAjIAQGCAQIQARItCgZjb25maWcYAyABKAsyHS5tYW50cmFlLnYxLkRuc1Byb3ZpZGVyQ29uZmlnEhEKCWlzX2FjdGl2ZRgEIAEoCCJKChlDcmVhdGVEbnNQcm92aWRlclJlc3BvbnNlEi0KDGRuc19wcm92aWRlchgBIAEoCzIXLm1hbnRyYWUudjEuRG5zUHJvdmlkZXIixgEKGFVwZGF0ZURuc1Byb3ZpZGVyUmVxdWVzdBIWCgJpZBgBIAEoA0IKukgHyAEBIgIgABIYCgRuYW1lGAIgASgJQgq6SAfIAQFyAhABEjYKBHR5cGUYAyABKA4yGy5tYW50cmFlLnYxLkRuc1Byb3ZpZGVyVHlwZUILukgIyAEBggECEAESLQoGY29uZmlnGAQgASgLMh0ubWFudHJhZS52MS5EbnNQcm92aWRlckNvbmZpZxIRCglpc19hY3RpdmUYBSABKAgiSgoZVXBkYXRlRG5zUHJvdmlkZXJSZXNwb25zZRItCgxkbnNfcHJvdmlkZXIYASABKAsyFy5tYW50cmFlLnYxLkRuc1Byb3ZpZGVyIjIKGERlbGV0ZURuc1Byb3ZpZGVyUmVxdWVzdBIWCgJpZBgBIAEoA0IKukgHyAEBIgIgACIbChlEZWxldGVEbnNQcm92aWRlclJlc3BvbnNlIrgBChdMaXN0RG5zUHJvdmlkZXJzUmVxdWVzdBJqCgVsaW1pdBgBIAEoA0JWukhTugFQCgtsaW1pdC52YWxpZBIpbGltaXQgbXVzdCBiZSBlaXRoZXIgLTEgb3IgZ3JlYXRlciB0aGFuIDAaFnRoaXMgPT0gLTEgfHwgdGhpcyA+IDBIAIgBARIcCgZvZmZzZXQYAiABKANCB7pIBCICKABIAYgBAUIICgZfbGltaXRCCQoHX29mZnNldCJfChhMaXN0RG5zUHJvdmlkZXJzUmVzcG9uc2USLgoNZG5zX3Byb3ZpZGVycxgBIAMoCzIXLm1hbnRyYWUudjEuRG5zUHJvdmlkZXISEwoLdG90YWxfY291bnQYAiABKAMqmAEKD0Ruc1Byb3ZpZGVyVHlwZRIhCh1ETlNfUFJPVklERVJfVFlQRV9VTlNQRUNJRklFRBAAEiAKHEROU19QUk9WSURFUl9UWVBFX0NMT1VERkxBUkUQARIeChpETlNfUFJPVklERVJfVFlQRV9QT1dFUkROUxACEiAKHEROU19QUk9WSURFUl9UWVBFX1RFQ0hOSVRJVU0QAzL8AwoSRG5zUHJvdmlkZXJTZXJ2aWNlElwKDkdldERuc1Byb3ZpZGVyEiEubWFudHJhZS52MS5HZXREbnNQcm92aWRlclJlcXVlc3QaIi5tYW50cmFlLnYxLkdldERuc1Byb3ZpZGVyUmVzcG9uc2UiA5ACARJgChFDcmVhdGVEbnNQcm92aWRlchIkLm1hbnRyYWUudjEuQ3JlYXRlRG5zUHJvdmlkZXJSZXF1ZXN0GiUubWFudHJhZS52MS5DcmVhdGVEbnNQcm92aWRlclJlc3BvbnNlEmAKEVVwZGF0ZURuc1Byb3ZpZGVyEiQubWFudHJhZS52MS5VcGRhdGVEbnNQcm92aWRlclJlcXVlc3QaJS5tYW50cmFlLnYxLlVwZGF0ZURuc1Byb3ZpZGVyUmVzcG9uc2USYAoRRGVsZXRlRG5zUHJvdmlkZXISJC5tYW50cmFlLnYxLkRlbGV0ZURuc1Byb3ZpZGVyUmVxdWVzdBolLm1hbnRyYWUudjEuRGVsZXRlRG5zUHJvdmlkZXJSZXNwb25zZRJiChBMaXN0RG5zUHJvdmlkZXJzEiMubWFudHJhZS52MS5MaXN0RG5zUHJvdmlkZXJzUmVxdWVzdBokLm1hbnRyYWUudjEuTGlzdERuc1Byb3ZpZGVyc1Jlc3BvbnNlIgOQAgFCqgEKDmNvbS5tYW50cmFlLnYxQhBEbnNQcm92aWRlclByb3RvUAFaPWdpdGh1Yi5jb20vbWl6dWNoaWxhYnMvbWFudHJhZS9wcm90by9nZW4vbWFudHJhZS92MTttYW50cmFldjGiAgNNWFiqAgpNYW50cmFlLlYxygIKTWFudHJhZVxWMeICFk1hbnRyYWVcVjFcR1BCTWV0YWRhdGHqAgtNYW50cmFlOjpWMWIGcHJvdG8z", [file_buf_validate_validate, file_google_protobuf_timestamp]);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.DnsProvider
|
||||
*/
|
||||
export type DnsProvider = Message<'mantrae.v1.DnsProvider'> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
export type DnsProvider = Message<"mantrae.v1.DnsProvider"> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
|
||||
/**
|
||||
* @generated from field: string name = 2;
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* @generated from field: string name = 2;
|
||||
*/
|
||||
name: string;
|
||||
|
||||
/**
|
||||
* @generated from field: mantrae.v1.DnsProviderType type = 3;
|
||||
*/
|
||||
type: DnsProviderType;
|
||||
/**
|
||||
* @generated from field: mantrae.v1.DnsProviderType type = 3;
|
||||
*/
|
||||
type: DnsProviderType;
|
||||
|
||||
/**
|
||||
* @generated from field: mantrae.v1.DnsProviderConfig config = 4;
|
||||
*/
|
||||
config?: DnsProviderConfig;
|
||||
/**
|
||||
* @generated from field: mantrae.v1.DnsProviderConfig config = 4;
|
||||
*/
|
||||
config?: DnsProviderConfig;
|
||||
|
||||
/**
|
||||
* @generated from field: bool is_active = 5;
|
||||
*/
|
||||
isActive: boolean;
|
||||
/**
|
||||
* @generated from field: bool is_active = 5;
|
||||
*/
|
||||
isActive: boolean;
|
||||
|
||||
/**
|
||||
* @generated from field: google.protobuf.Timestamp created_at = 6;
|
||||
*/
|
||||
createdAt?: Timestamp;
|
||||
/**
|
||||
* @generated from field: google.protobuf.Timestamp created_at = 6;
|
||||
*/
|
||||
createdAt?: Timestamp;
|
||||
|
||||
/**
|
||||
* @generated from field: google.protobuf.Timestamp updated_at = 7;
|
||||
*/
|
||||
updatedAt?: Timestamp;
|
||||
/**
|
||||
* @generated from field: google.protobuf.Timestamp updated_at = 7;
|
||||
*/
|
||||
updatedAt?: Timestamp;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.DnsProvider.
|
||||
* Use `create(DnsProviderSchema)` to create a new message.
|
||||
*/
|
||||
export const DnsProviderSchema: GenMessage<DnsProvider> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_dns_provider, 0);
|
||||
export const DnsProviderSchema: GenMessage<DnsProvider> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_dns_provider, 0);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.DnsProviderConfig
|
||||
*/
|
||||
export type DnsProviderConfig = Message<'mantrae.v1.DnsProviderConfig'> & {
|
||||
/**
|
||||
* @generated from field: string api_key = 1;
|
||||
*/
|
||||
apiKey: string;
|
||||
export type DnsProviderConfig = Message<"mantrae.v1.DnsProviderConfig"> & {
|
||||
/**
|
||||
* @generated from field: string api_key = 1;
|
||||
*/
|
||||
apiKey: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string api_url = 2;
|
||||
*/
|
||||
apiUrl: string;
|
||||
/**
|
||||
* @generated from field: string api_url = 2;
|
||||
*/
|
||||
apiUrl: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string ip = 3;
|
||||
*/
|
||||
ip: string;
|
||||
/**
|
||||
* @generated from field: string ip = 3;
|
||||
*/
|
||||
ip: string;
|
||||
|
||||
/**
|
||||
* @generated from field: bool proxied = 4;
|
||||
*/
|
||||
proxied: boolean;
|
||||
/**
|
||||
* @generated from field: bool proxied = 4;
|
||||
*/
|
||||
proxied: boolean;
|
||||
|
||||
/**
|
||||
* @generated from field: bool auto_update = 5;
|
||||
*/
|
||||
autoUpdate: boolean;
|
||||
/**
|
||||
* @generated from field: bool auto_update = 5;
|
||||
*/
|
||||
autoUpdate: boolean;
|
||||
|
||||
/**
|
||||
* @generated from field: string zone_type = 6;
|
||||
*/
|
||||
zoneType: string;
|
||||
/**
|
||||
* @generated from field: string zone_type = 6;
|
||||
*/
|
||||
zoneType: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.DnsProviderConfig.
|
||||
* Use `create(DnsProviderConfigSchema)` to create a new message.
|
||||
*/
|
||||
export const DnsProviderConfigSchema: GenMessage<DnsProviderConfig> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_dns_provider, 1);
|
||||
export const DnsProviderConfigSchema: GenMessage<DnsProviderConfig> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_dns_provider, 1);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.GetDnsProviderRequest
|
||||
*/
|
||||
export type GetDnsProviderRequest = Message<'mantrae.v1.GetDnsProviderRequest'> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
export type GetDnsProviderRequest = Message<"mantrae.v1.GetDnsProviderRequest"> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.GetDnsProviderRequest.
|
||||
* Use `create(GetDnsProviderRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const GetDnsProviderRequestSchema: GenMessage<GetDnsProviderRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_dns_provider, 2);
|
||||
export const GetDnsProviderRequestSchema: GenMessage<GetDnsProviderRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_dns_provider, 2);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.GetDnsProviderResponse
|
||||
*/
|
||||
export type GetDnsProviderResponse = Message<'mantrae.v1.GetDnsProviderResponse'> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.DnsProvider dns_provider = 1;
|
||||
*/
|
||||
dnsProvider?: DnsProvider;
|
||||
export type GetDnsProviderResponse = Message<"mantrae.v1.GetDnsProviderResponse"> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.DnsProvider dns_provider = 1;
|
||||
*/
|
||||
dnsProvider?: DnsProvider;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.GetDnsProviderResponse.
|
||||
* Use `create(GetDnsProviderResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const GetDnsProviderResponseSchema: GenMessage<GetDnsProviderResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_dns_provider, 3);
|
||||
export const GetDnsProviderResponseSchema: GenMessage<GetDnsProviderResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_dns_provider, 3);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.CreateDnsProviderRequest
|
||||
*/
|
||||
export type CreateDnsProviderRequest = Message<'mantrae.v1.CreateDnsProviderRequest'> & {
|
||||
/**
|
||||
* @generated from field: string name = 1;
|
||||
*/
|
||||
name: string;
|
||||
export type CreateDnsProviderRequest = Message<"mantrae.v1.CreateDnsProviderRequest"> & {
|
||||
/**
|
||||
* @generated from field: string name = 1;
|
||||
*/
|
||||
name: string;
|
||||
|
||||
/**
|
||||
* @generated from field: mantrae.v1.DnsProviderType type = 2;
|
||||
*/
|
||||
type: DnsProviderType;
|
||||
/**
|
||||
* @generated from field: mantrae.v1.DnsProviderType type = 2;
|
||||
*/
|
||||
type: DnsProviderType;
|
||||
|
||||
/**
|
||||
* @generated from field: mantrae.v1.DnsProviderConfig config = 3;
|
||||
*/
|
||||
config?: DnsProviderConfig;
|
||||
/**
|
||||
* @generated from field: mantrae.v1.DnsProviderConfig config = 3;
|
||||
*/
|
||||
config?: DnsProviderConfig;
|
||||
|
||||
/**
|
||||
* @generated from field: bool is_active = 4;
|
||||
*/
|
||||
isActive: boolean;
|
||||
/**
|
||||
* @generated from field: bool is_active = 4;
|
||||
*/
|
||||
isActive: boolean;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.CreateDnsProviderRequest.
|
||||
* Use `create(CreateDnsProviderRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const CreateDnsProviderRequestSchema: GenMessage<CreateDnsProviderRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_dns_provider, 4);
|
||||
export const CreateDnsProviderRequestSchema: GenMessage<CreateDnsProviderRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_dns_provider, 4);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.CreateDnsProviderResponse
|
||||
*/
|
||||
export type CreateDnsProviderResponse = Message<'mantrae.v1.CreateDnsProviderResponse'> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.DnsProvider dns_provider = 1;
|
||||
*/
|
||||
dnsProvider?: DnsProvider;
|
||||
export type CreateDnsProviderResponse = Message<"mantrae.v1.CreateDnsProviderResponse"> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.DnsProvider dns_provider = 1;
|
||||
*/
|
||||
dnsProvider?: DnsProvider;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.CreateDnsProviderResponse.
|
||||
* Use `create(CreateDnsProviderResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const CreateDnsProviderResponseSchema: GenMessage<CreateDnsProviderResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_dns_provider, 5);
|
||||
export const CreateDnsProviderResponseSchema: GenMessage<CreateDnsProviderResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_dns_provider, 5);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.UpdateDnsProviderRequest
|
||||
*/
|
||||
export type UpdateDnsProviderRequest = Message<'mantrae.v1.UpdateDnsProviderRequest'> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
export type UpdateDnsProviderRequest = Message<"mantrae.v1.UpdateDnsProviderRequest"> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
|
||||
/**
|
||||
* @generated from field: string name = 2;
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* @generated from field: string name = 2;
|
||||
*/
|
||||
name: string;
|
||||
|
||||
/**
|
||||
* @generated from field: mantrae.v1.DnsProviderType type = 3;
|
||||
*/
|
||||
type: DnsProviderType;
|
||||
/**
|
||||
* @generated from field: mantrae.v1.DnsProviderType type = 3;
|
||||
*/
|
||||
type: DnsProviderType;
|
||||
|
||||
/**
|
||||
* @generated from field: mantrae.v1.DnsProviderConfig config = 4;
|
||||
*/
|
||||
config?: DnsProviderConfig;
|
||||
/**
|
||||
* @generated from field: mantrae.v1.DnsProviderConfig config = 4;
|
||||
*/
|
||||
config?: DnsProviderConfig;
|
||||
|
||||
/**
|
||||
* @generated from field: bool is_active = 5;
|
||||
*/
|
||||
isActive: boolean;
|
||||
/**
|
||||
* @generated from field: bool is_active = 5;
|
||||
*/
|
||||
isActive: boolean;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.UpdateDnsProviderRequest.
|
||||
* Use `create(UpdateDnsProviderRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const UpdateDnsProviderRequestSchema: GenMessage<UpdateDnsProviderRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_dns_provider, 6);
|
||||
export const UpdateDnsProviderRequestSchema: GenMessage<UpdateDnsProviderRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_dns_provider, 6);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.UpdateDnsProviderResponse
|
||||
*/
|
||||
export type UpdateDnsProviderResponse = Message<'mantrae.v1.UpdateDnsProviderResponse'> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.DnsProvider dns_provider = 1;
|
||||
*/
|
||||
dnsProvider?: DnsProvider;
|
||||
export type UpdateDnsProviderResponse = Message<"mantrae.v1.UpdateDnsProviderResponse"> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.DnsProvider dns_provider = 1;
|
||||
*/
|
||||
dnsProvider?: DnsProvider;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.UpdateDnsProviderResponse.
|
||||
* Use `create(UpdateDnsProviderResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const UpdateDnsProviderResponseSchema: GenMessage<UpdateDnsProviderResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_dns_provider, 7);
|
||||
export const UpdateDnsProviderResponseSchema: GenMessage<UpdateDnsProviderResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_dns_provider, 7);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.DeleteDnsProviderRequest
|
||||
*/
|
||||
export type DeleteDnsProviderRequest = Message<'mantrae.v1.DeleteDnsProviderRequest'> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
export type DeleteDnsProviderRequest = Message<"mantrae.v1.DeleteDnsProviderRequest"> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.DeleteDnsProviderRequest.
|
||||
* Use `create(DeleteDnsProviderRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const DeleteDnsProviderRequestSchema: GenMessage<DeleteDnsProviderRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_dns_provider, 8);
|
||||
export const DeleteDnsProviderRequestSchema: GenMessage<DeleteDnsProviderRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_dns_provider, 8);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.DeleteDnsProviderResponse
|
||||
*/
|
||||
export type DeleteDnsProviderResponse = Message<'mantrae.v1.DeleteDnsProviderResponse'> & {};
|
||||
export type DeleteDnsProviderResponse = Message<"mantrae.v1.DeleteDnsProviderResponse"> & {
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.DeleteDnsProviderResponse.
|
||||
* Use `create(DeleteDnsProviderResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const DeleteDnsProviderResponseSchema: GenMessage<DeleteDnsProviderResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_dns_provider, 9);
|
||||
export const DeleteDnsProviderResponseSchema: GenMessage<DeleteDnsProviderResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_dns_provider, 9);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.ListDnsProvidersRequest
|
||||
*/
|
||||
export type ListDnsProvidersRequest = Message<'mantrae.v1.ListDnsProvidersRequest'> & {
|
||||
/**
|
||||
* @generated from field: optional int64 limit = 1;
|
||||
*/
|
||||
limit?: bigint;
|
||||
export type ListDnsProvidersRequest = Message<"mantrae.v1.ListDnsProvidersRequest"> & {
|
||||
/**
|
||||
* @generated from field: optional int64 limit = 1;
|
||||
*/
|
||||
limit?: bigint;
|
||||
|
||||
/**
|
||||
* @generated from field: optional int64 offset = 2;
|
||||
*/
|
||||
offset?: bigint;
|
||||
/**
|
||||
* @generated from field: optional int64 offset = 2;
|
||||
*/
|
||||
offset?: bigint;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.ListDnsProvidersRequest.
|
||||
* Use `create(ListDnsProvidersRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const ListDnsProvidersRequestSchema: GenMessage<ListDnsProvidersRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_dns_provider, 10);
|
||||
export const ListDnsProvidersRequestSchema: GenMessage<ListDnsProvidersRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_dns_provider, 10);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.ListDnsProvidersResponse
|
||||
*/
|
||||
export type ListDnsProvidersResponse = Message<'mantrae.v1.ListDnsProvidersResponse'> & {
|
||||
/**
|
||||
* @generated from field: repeated mantrae.v1.DnsProvider dns_providers = 1;
|
||||
*/
|
||||
dnsProviders: DnsProvider[];
|
||||
export type ListDnsProvidersResponse = Message<"mantrae.v1.ListDnsProvidersResponse"> & {
|
||||
/**
|
||||
* @generated from field: repeated mantrae.v1.DnsProvider dns_providers = 1;
|
||||
*/
|
||||
dnsProviders: DnsProvider[];
|
||||
|
||||
/**
|
||||
* @generated from field: int64 total_count = 2;
|
||||
*/
|
||||
totalCount: bigint;
|
||||
/**
|
||||
* @generated from field: int64 total_count = 2;
|
||||
*/
|
||||
totalCount: bigint;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.ListDnsProvidersResponse.
|
||||
* Use `create(ListDnsProvidersResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const ListDnsProvidersResponseSchema: GenMessage<ListDnsProvidersResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_dns_provider, 11);
|
||||
export const ListDnsProvidersResponseSchema: GenMessage<ListDnsProvidersResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_dns_provider, 11);
|
||||
|
||||
/**
|
||||
* @generated from enum mantrae.v1.DnsProviderType
|
||||
*/
|
||||
export enum DnsProviderType {
|
||||
/**
|
||||
* @generated from enum value: DNS_PROVIDER_TYPE_UNSPECIFIED = 0;
|
||||
*/
|
||||
UNSPECIFIED = 0,
|
||||
/**
|
||||
* @generated from enum value: DNS_PROVIDER_TYPE_UNSPECIFIED = 0;
|
||||
*/
|
||||
UNSPECIFIED = 0,
|
||||
|
||||
/**
|
||||
* @generated from enum value: DNS_PROVIDER_TYPE_CLOUDFLARE = 1;
|
||||
*/
|
||||
CLOUDFLARE = 1,
|
||||
/**
|
||||
* @generated from enum value: DNS_PROVIDER_TYPE_CLOUDFLARE = 1;
|
||||
*/
|
||||
CLOUDFLARE = 1,
|
||||
|
||||
/**
|
||||
* @generated from enum value: DNS_PROVIDER_TYPE_POWERDNS = 2;
|
||||
*/
|
||||
POWERDNS = 2,
|
||||
/**
|
||||
* @generated from enum value: DNS_PROVIDER_TYPE_POWERDNS = 2;
|
||||
*/
|
||||
POWERDNS = 2,
|
||||
|
||||
/**
|
||||
* @generated from enum value: DNS_PROVIDER_TYPE_TECHNITIUM = 3;
|
||||
*/
|
||||
TECHNITIUM = 3
|
||||
/**
|
||||
* @generated from enum value: DNS_PROVIDER_TYPE_TECHNITIUM = 3;
|
||||
*/
|
||||
TECHNITIUM = 3,
|
||||
}
|
||||
|
||||
/**
|
||||
* Describes the enum mantrae.v1.DnsProviderType.
|
||||
*/
|
||||
export const DnsProviderTypeSchema: GenEnum<DnsProviderType> =
|
||||
/*@__PURE__*/
|
||||
enumDesc(file_mantrae_v1_dns_provider, 0);
|
||||
export const DnsProviderTypeSchema: GenEnum<DnsProviderType> = /*@__PURE__*/
|
||||
enumDesc(file_mantrae_v1_dns_provider, 0);
|
||||
|
||||
/**
|
||||
* @generated from service mantrae.v1.DnsProviderService
|
||||
*/
|
||||
export const DnsProviderService: GenService<{
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.DnsProviderService.GetDnsProvider
|
||||
*/
|
||||
getDnsProvider: {
|
||||
methodKind: 'unary';
|
||||
input: typeof GetDnsProviderRequestSchema;
|
||||
output: typeof GetDnsProviderResponseSchema;
|
||||
};
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.DnsProviderService.CreateDnsProvider
|
||||
*/
|
||||
createDnsProvider: {
|
||||
methodKind: 'unary';
|
||||
input: typeof CreateDnsProviderRequestSchema;
|
||||
output: typeof CreateDnsProviderResponseSchema;
|
||||
};
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.DnsProviderService.UpdateDnsProvider
|
||||
*/
|
||||
updateDnsProvider: {
|
||||
methodKind: 'unary';
|
||||
input: typeof UpdateDnsProviderRequestSchema;
|
||||
output: typeof UpdateDnsProviderResponseSchema;
|
||||
};
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.DnsProviderService.DeleteDnsProvider
|
||||
*/
|
||||
deleteDnsProvider: {
|
||||
methodKind: 'unary';
|
||||
input: typeof DeleteDnsProviderRequestSchema;
|
||||
output: typeof DeleteDnsProviderResponseSchema;
|
||||
};
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.DnsProviderService.ListDnsProviders
|
||||
*/
|
||||
listDnsProviders: {
|
||||
methodKind: 'unary';
|
||||
input: typeof ListDnsProvidersRequestSchema;
|
||||
output: typeof ListDnsProvidersResponseSchema;
|
||||
};
|
||||
}> = /*@__PURE__*/ serviceDesc(file_mantrae_v1_dns_provider, 0);
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.DnsProviderService.GetDnsProvider
|
||||
*/
|
||||
getDnsProvider: {
|
||||
methodKind: "unary";
|
||||
input: typeof GetDnsProviderRequestSchema;
|
||||
output: typeof GetDnsProviderResponseSchema;
|
||||
},
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.DnsProviderService.CreateDnsProvider
|
||||
*/
|
||||
createDnsProvider: {
|
||||
methodKind: "unary";
|
||||
input: typeof CreateDnsProviderRequestSchema;
|
||||
output: typeof CreateDnsProviderResponseSchema;
|
||||
},
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.DnsProviderService.UpdateDnsProvider
|
||||
*/
|
||||
updateDnsProvider: {
|
||||
methodKind: "unary";
|
||||
input: typeof UpdateDnsProviderRequestSchema;
|
||||
output: typeof UpdateDnsProviderResponseSchema;
|
||||
},
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.DnsProviderService.DeleteDnsProvider
|
||||
*/
|
||||
deleteDnsProvider: {
|
||||
methodKind: "unary";
|
||||
input: typeof DeleteDnsProviderRequestSchema;
|
||||
output: typeof DeleteDnsProviderResponseSchema;
|
||||
},
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.DnsProviderService.ListDnsProviders
|
||||
*/
|
||||
listDnsProviders: {
|
||||
methodKind: "unary";
|
||||
input: typeof ListDnsProvidersRequestSchema;
|
||||
output: typeof ListDnsProvidersResponseSchema;
|
||||
},
|
||||
}> = /*@__PURE__*/
|
||||
serviceDesc(file_mantrae_v1_dns_provider, 0);
|
||||
|
||||
|
||||
@@ -2,333 +2,321 @@
|
||||
// @generated from file mantrae/v1/entry_point.proto (package mantrae.v1, syntax proto3)
|
||||
/* eslint-disable */
|
||||
|
||||
import type { GenFile, GenMessage, GenService } from '@bufbuild/protobuf/codegenv2';
|
||||
import { fileDesc, messageDesc, serviceDesc } from '@bufbuild/protobuf/codegenv2';
|
||||
import { file_buf_validate_validate } from '../../buf/validate/validate_pb';
|
||||
import type { Timestamp } from '@bufbuild/protobuf/wkt';
|
||||
import { file_google_protobuf_timestamp } from '@bufbuild/protobuf/wkt';
|
||||
import type { Message } from '@bufbuild/protobuf';
|
||||
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
||||
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
||||
import { file_buf_validate_validate } from "../../buf/validate/validate_pb";
|
||||
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
||||
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
||||
import type { Message } from "@bufbuild/protobuf";
|
||||
|
||||
/**
|
||||
* Describes the file mantrae/v1/entry_point.proto.
|
||||
*/
|
||||
export const file_mantrae_v1_entry_point: GenFile =
|
||||
/*@__PURE__*/
|
||||
fileDesc(
|
||||
'ChxtYW50cmFlL3YxL2VudHJ5X3BvaW50LnByb3RvEgptYW50cmFlLnYxIr8BCgpFbnRyeVBvaW50EgoKAmlkGAEgASgDEhIKCnByb2ZpbGVfaWQYAiABKAMSDAoEbmFtZRgDIAEoCRIPCgdhZGRyZXNzGAQgASgJEhIKCmlzX2RlZmF1bHQYBSABKAgSLgoKY3JlYXRlZF9hdBgGIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASLgoKdXBkYXRlZF9hdBgHIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAiLgoUR2V0RW50cnlQb2ludFJlcXVlc3QSFgoCaWQYASABKANCCrpIB8gBASICIAAiRAoVR2V0RW50cnlQb2ludFJlc3BvbnNlEisKC2VudHJ5X3BvaW50GAEgASgLMhYubWFudHJhZS52MS5FbnRyeVBvaW50IoEBChdDcmVhdGVFbnRyeVBvaW50UmVxdWVzdBIeCgpwcm9maWxlX2lkGAEgASgDQgq6SAfIAQEiAiAAEhgKBG5hbWUYAiABKAlCCrpIB8gBAXICEAESGAoHYWRkcmVzcxgDIAEoCUIHukgEcgIQARISCgppc19kZWZhdWx0GAQgASgIIkcKGENyZWF0ZUVudHJ5UG9pbnRSZXNwb25zZRIrCgtlbnRyeV9wb2ludBgBIAEoCzIWLm1hbnRyYWUudjEuRW50cnlQb2ludCJ5ChdVcGRhdGVFbnRyeVBvaW50UmVxdWVzdBIWCgJpZBgBIAEoA0IKukgHyAEBIgIgABIYCgRuYW1lGAIgASgJQgq6SAfIAQFyAhABEhgKB2FkZHJlc3MYAyABKAlCB7pIBHICEAESEgoKaXNfZGVmYXVsdBgEIAEoCCJHChhVcGRhdGVFbnRyeVBvaW50UmVzcG9uc2USKwoLZW50cnlfcG9pbnQYASABKAsyFi5tYW50cmFlLnYxLkVudHJ5UG9pbnQiMQoXRGVsZXRlRW50cnlQb2ludFJlcXVlc3QSFgoCaWQYASABKANCCrpIB8gBASICIAAiGgoYRGVsZXRlRW50cnlQb2ludFJlc3BvbnNlItcBChZMaXN0RW50cnlQb2ludHNSZXF1ZXN0Eh4KCnByb2ZpbGVfaWQYASABKANCCrpIB8gBASICIAASagoFbGltaXQYAiABKANCVrpIU7oBUAoLbGltaXQudmFsaWQSKWxpbWl0IG11c3QgYmUgZWl0aGVyIC0xIG9yIGdyZWF0ZXIgdGhhbiAwGhZ0aGlzID09IC0xIHx8IHRoaXMgPiAwSACIAQESHAoGb2Zmc2V0GAMgASgDQge6SAQiAigASAGIAQFCCAoGX2xpbWl0QgkKB19vZmZzZXQiXAoXTGlzdEVudHJ5UG9pbnRzUmVzcG9uc2USLAoMZW50cnlfcG9pbnRzGAEgAygLMhYubWFudHJhZS52MS5FbnRyeVBvaW50EhMKC3RvdGFsX2NvdW50GAIgASgDMuwDChFFbnRyeVBvaW50U2VydmljZRJZCg1HZXRFbnRyeVBvaW50EiAubWFudHJhZS52MS5HZXRFbnRyeVBvaW50UmVxdWVzdBohLm1hbnRyYWUudjEuR2V0RW50cnlQb2ludFJlc3BvbnNlIgOQAgESXQoQQ3JlYXRlRW50cnlQb2ludBIjLm1hbnRyYWUudjEuQ3JlYXRlRW50cnlQb2ludFJlcXVlc3QaJC5tYW50cmFlLnYxLkNyZWF0ZUVudHJ5UG9pbnRSZXNwb25zZRJdChBVcGRhdGVFbnRyeVBvaW50EiMubWFudHJhZS52MS5VcGRhdGVFbnRyeVBvaW50UmVxdWVzdBokLm1hbnRyYWUudjEuVXBkYXRlRW50cnlQb2ludFJlc3BvbnNlEl0KEERlbGV0ZUVudHJ5UG9pbnQSIy5tYW50cmFlLnYxLkRlbGV0ZUVudHJ5UG9pbnRSZXF1ZXN0GiQubWFudHJhZS52MS5EZWxldGVFbnRyeVBvaW50UmVzcG9uc2USXwoPTGlzdEVudHJ5UG9pbnRzEiIubWFudHJhZS52MS5MaXN0RW50cnlQb2ludHNSZXF1ZXN0GiMubWFudHJhZS52MS5MaXN0RW50cnlQb2ludHNSZXNwb25zZSIDkAIBQqkBCg5jb20ubWFudHJhZS52MUIPRW50cnlQb2ludFByb3RvUAFaPWdpdGh1Yi5jb20vbWl6dWNoaWxhYnMvbWFudHJhZS9wcm90by9nZW4vbWFudHJhZS92MTttYW50cmFldjGiAgNNWFiqAgpNYW50cmFlLlYxygIKTWFudHJhZVxWMeICFk1hbnRyYWVcVjFcR1BCTWV0YWRhdGHqAgtNYW50cmFlOjpWMWIGcHJvdG8z',
|
||||
[file_buf_validate_validate, file_google_protobuf_timestamp]
|
||||
);
|
||||
export const file_mantrae_v1_entry_point: GenFile = /*@__PURE__*/
|
||||
fileDesc("ChxtYW50cmFlL3YxL2VudHJ5X3BvaW50LnByb3RvEgptYW50cmFlLnYxIr8BCgpFbnRyeVBvaW50EgoKAmlkGAEgASgDEhIKCnByb2ZpbGVfaWQYAiABKAMSDAoEbmFtZRgDIAEoCRIPCgdhZGRyZXNzGAQgASgJEhIKCmlzX2RlZmF1bHQYBSABKAgSLgoKY3JlYXRlZF9hdBgGIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASLgoKdXBkYXRlZF9hdBgHIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAiKwoUR2V0RW50cnlQb2ludFJlcXVlc3QSEwoCaWQYASABKANCB7pIBCICIAAiRAoVR2V0RW50cnlQb2ludFJlc3BvbnNlEisKC2VudHJ5X3BvaW50GAEgASgLMhYubWFudHJhZS52MS5FbnRyeVBvaW50InsKF0NyZWF0ZUVudHJ5UG9pbnRSZXF1ZXN0EhsKCnByb2ZpbGVfaWQYASABKANCB7pIBCICIAASFQoEbmFtZRgCIAEoCUIHukgEcgIQARIYCgdhZGRyZXNzGAMgASgJQge6SARyAhABEhIKCmlzX2RlZmF1bHQYBCABKAgiRwoYQ3JlYXRlRW50cnlQb2ludFJlc3BvbnNlEisKC2VudHJ5X3BvaW50GAEgASgLMhYubWFudHJhZS52MS5FbnRyeVBvaW50InMKF1VwZGF0ZUVudHJ5UG9pbnRSZXF1ZXN0EhMKAmlkGAEgASgDQge6SAQiAiAAEhUKBG5hbWUYAiABKAlCB7pIBHICEAESGAoHYWRkcmVzcxgDIAEoCUIHukgEcgIQARISCgppc19kZWZhdWx0GAQgASgIIkcKGFVwZGF0ZUVudHJ5UG9pbnRSZXNwb25zZRIrCgtlbnRyeV9wb2ludBgBIAEoCzIWLm1hbnRyYWUudjEuRW50cnlQb2ludCIxChdEZWxldGVFbnRyeVBvaW50UmVxdWVzdBIWCgJpZBgBIAEoA0IKukgHyAEBIgIgACIaChhEZWxldGVFbnRyeVBvaW50UmVzcG9uc2Ui1AEKFkxpc3RFbnRyeVBvaW50c1JlcXVlc3QSGwoKcHJvZmlsZV9pZBgBIAEoA0IHukgEIgIgABJqCgVsaW1pdBgCIAEoA0JWukhTugFQCgtsaW1pdC52YWxpZBIpbGltaXQgbXVzdCBiZSBlaXRoZXIgLTEgb3IgZ3JlYXRlciB0aGFuIDAaFnRoaXMgPT0gLTEgfHwgdGhpcyA+IDBIAIgBARIcCgZvZmZzZXQYAyABKANCB7pIBCICKABIAYgBAUIICgZfbGltaXRCCQoHX29mZnNldCJcChdMaXN0RW50cnlQb2ludHNSZXNwb25zZRIsCgxlbnRyeV9wb2ludHMYASADKAsyFi5tYW50cmFlLnYxLkVudHJ5UG9pbnQSEwoLdG90YWxfY291bnQYAiABKAMy7AMKEUVudHJ5UG9pbnRTZXJ2aWNlElkKDUdldEVudHJ5UG9pbnQSIC5tYW50cmFlLnYxLkdldEVudHJ5UG9pbnRSZXF1ZXN0GiEubWFudHJhZS52MS5HZXRFbnRyeVBvaW50UmVzcG9uc2UiA5ACARJdChBDcmVhdGVFbnRyeVBvaW50EiMubWFudHJhZS52MS5DcmVhdGVFbnRyeVBvaW50UmVxdWVzdBokLm1hbnRyYWUudjEuQ3JlYXRlRW50cnlQb2ludFJlc3BvbnNlEl0KEFVwZGF0ZUVudHJ5UG9pbnQSIy5tYW50cmFlLnYxLlVwZGF0ZUVudHJ5UG9pbnRSZXF1ZXN0GiQubWFudHJhZS52MS5VcGRhdGVFbnRyeVBvaW50UmVzcG9uc2USXQoQRGVsZXRlRW50cnlQb2ludBIjLm1hbnRyYWUudjEuRGVsZXRlRW50cnlQb2ludFJlcXVlc3QaJC5tYW50cmFlLnYxLkRlbGV0ZUVudHJ5UG9pbnRSZXNwb25zZRJfCg9MaXN0RW50cnlQb2ludHMSIi5tYW50cmFlLnYxLkxpc3RFbnRyeVBvaW50c1JlcXVlc3QaIy5tYW50cmFlLnYxLkxpc3RFbnRyeVBvaW50c1Jlc3BvbnNlIgOQAgFCqQEKDmNvbS5tYW50cmFlLnYxQg9FbnRyeVBvaW50UHJvdG9QAVo9Z2l0aHViLmNvbS9taXp1Y2hpbGFicy9tYW50cmFlL3Byb3RvL2dlbi9tYW50cmFlL3YxO21hbnRyYWV2MaICA01YWKoCCk1hbnRyYWUuVjHKAgpNYW50cmFlXFYx4gIWTWFudHJhZVxWMVxHUEJNZXRhZGF0YeoCC01hbnRyYWU6OlYxYgZwcm90bzM", [file_buf_validate_validate, file_google_protobuf_timestamp]);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.EntryPoint
|
||||
*/
|
||||
export type EntryPoint = Message<'mantrae.v1.EntryPoint'> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
export type EntryPoint = Message<"mantrae.v1.EntryPoint"> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
|
||||
/**
|
||||
* @generated from field: int64 profile_id = 2;
|
||||
*/
|
||||
profileId: bigint;
|
||||
/**
|
||||
* @generated from field: int64 profile_id = 2;
|
||||
*/
|
||||
profileId: bigint;
|
||||
|
||||
/**
|
||||
* @generated from field: string name = 3;
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* @generated from field: string name = 3;
|
||||
*/
|
||||
name: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string address = 4;
|
||||
*/
|
||||
address: string;
|
||||
/**
|
||||
* @generated from field: string address = 4;
|
||||
*/
|
||||
address: string;
|
||||
|
||||
/**
|
||||
* @generated from field: bool is_default = 5;
|
||||
*/
|
||||
isDefault: boolean;
|
||||
/**
|
||||
* @generated from field: bool is_default = 5;
|
||||
*/
|
||||
isDefault: boolean;
|
||||
|
||||
/**
|
||||
* @generated from field: google.protobuf.Timestamp created_at = 6;
|
||||
*/
|
||||
createdAt?: Timestamp;
|
||||
/**
|
||||
* @generated from field: google.protobuf.Timestamp created_at = 6;
|
||||
*/
|
||||
createdAt?: Timestamp;
|
||||
|
||||
/**
|
||||
* @generated from field: google.protobuf.Timestamp updated_at = 7;
|
||||
*/
|
||||
updatedAt?: Timestamp;
|
||||
/**
|
||||
* @generated from field: google.protobuf.Timestamp updated_at = 7;
|
||||
*/
|
||||
updatedAt?: Timestamp;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.EntryPoint.
|
||||
* Use `create(EntryPointSchema)` to create a new message.
|
||||
*/
|
||||
export const EntryPointSchema: GenMessage<EntryPoint> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_entry_point, 0);
|
||||
export const EntryPointSchema: GenMessage<EntryPoint> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_entry_point, 0);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.GetEntryPointRequest
|
||||
*/
|
||||
export type GetEntryPointRequest = Message<'mantrae.v1.GetEntryPointRequest'> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
export type GetEntryPointRequest = Message<"mantrae.v1.GetEntryPointRequest"> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.GetEntryPointRequest.
|
||||
* Use `create(GetEntryPointRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const GetEntryPointRequestSchema: GenMessage<GetEntryPointRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_entry_point, 1);
|
||||
export const GetEntryPointRequestSchema: GenMessage<GetEntryPointRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_entry_point, 1);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.GetEntryPointResponse
|
||||
*/
|
||||
export type GetEntryPointResponse = Message<'mantrae.v1.GetEntryPointResponse'> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.EntryPoint entry_point = 1;
|
||||
*/
|
||||
entryPoint?: EntryPoint;
|
||||
export type GetEntryPointResponse = Message<"mantrae.v1.GetEntryPointResponse"> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.EntryPoint entry_point = 1;
|
||||
*/
|
||||
entryPoint?: EntryPoint;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.GetEntryPointResponse.
|
||||
* Use `create(GetEntryPointResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const GetEntryPointResponseSchema: GenMessage<GetEntryPointResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_entry_point, 2);
|
||||
export const GetEntryPointResponseSchema: GenMessage<GetEntryPointResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_entry_point, 2);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.CreateEntryPointRequest
|
||||
*/
|
||||
export type CreateEntryPointRequest = Message<'mantrae.v1.CreateEntryPointRequest'> & {
|
||||
/**
|
||||
* @generated from field: int64 profile_id = 1;
|
||||
*/
|
||||
profileId: bigint;
|
||||
export type CreateEntryPointRequest = Message<"mantrae.v1.CreateEntryPointRequest"> & {
|
||||
/**
|
||||
* @generated from field: int64 profile_id = 1;
|
||||
*/
|
||||
profileId: bigint;
|
||||
|
||||
/**
|
||||
* @generated from field: string name = 2;
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* @generated from field: string name = 2;
|
||||
*/
|
||||
name: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string address = 3;
|
||||
*/
|
||||
address: string;
|
||||
/**
|
||||
* @generated from field: string address = 3;
|
||||
*/
|
||||
address: string;
|
||||
|
||||
/**
|
||||
* @generated from field: bool is_default = 4;
|
||||
*/
|
||||
isDefault: boolean;
|
||||
/**
|
||||
* @generated from field: bool is_default = 4;
|
||||
*/
|
||||
isDefault: boolean;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.CreateEntryPointRequest.
|
||||
* Use `create(CreateEntryPointRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const CreateEntryPointRequestSchema: GenMessage<CreateEntryPointRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_entry_point, 3);
|
||||
export const CreateEntryPointRequestSchema: GenMessage<CreateEntryPointRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_entry_point, 3);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.CreateEntryPointResponse
|
||||
*/
|
||||
export type CreateEntryPointResponse = Message<'mantrae.v1.CreateEntryPointResponse'> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.EntryPoint entry_point = 1;
|
||||
*/
|
||||
entryPoint?: EntryPoint;
|
||||
export type CreateEntryPointResponse = Message<"mantrae.v1.CreateEntryPointResponse"> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.EntryPoint entry_point = 1;
|
||||
*/
|
||||
entryPoint?: EntryPoint;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.CreateEntryPointResponse.
|
||||
* Use `create(CreateEntryPointResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const CreateEntryPointResponseSchema: GenMessage<CreateEntryPointResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_entry_point, 4);
|
||||
export const CreateEntryPointResponseSchema: GenMessage<CreateEntryPointResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_entry_point, 4);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.UpdateEntryPointRequest
|
||||
*/
|
||||
export type UpdateEntryPointRequest = Message<'mantrae.v1.UpdateEntryPointRequest'> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
export type UpdateEntryPointRequest = Message<"mantrae.v1.UpdateEntryPointRequest"> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
|
||||
/**
|
||||
* @generated from field: string name = 2;
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* @generated from field: string name = 2;
|
||||
*/
|
||||
name: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string address = 3;
|
||||
*/
|
||||
address: string;
|
||||
/**
|
||||
* @generated from field: string address = 3;
|
||||
*/
|
||||
address: string;
|
||||
|
||||
/**
|
||||
* @generated from field: bool is_default = 4;
|
||||
*/
|
||||
isDefault: boolean;
|
||||
/**
|
||||
* @generated from field: bool is_default = 4;
|
||||
*/
|
||||
isDefault: boolean;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.UpdateEntryPointRequest.
|
||||
* Use `create(UpdateEntryPointRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const UpdateEntryPointRequestSchema: GenMessage<UpdateEntryPointRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_entry_point, 5);
|
||||
export const UpdateEntryPointRequestSchema: GenMessage<UpdateEntryPointRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_entry_point, 5);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.UpdateEntryPointResponse
|
||||
*/
|
||||
export type UpdateEntryPointResponse = Message<'mantrae.v1.UpdateEntryPointResponse'> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.EntryPoint entry_point = 1;
|
||||
*/
|
||||
entryPoint?: EntryPoint;
|
||||
export type UpdateEntryPointResponse = Message<"mantrae.v1.UpdateEntryPointResponse"> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.EntryPoint entry_point = 1;
|
||||
*/
|
||||
entryPoint?: EntryPoint;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.UpdateEntryPointResponse.
|
||||
* Use `create(UpdateEntryPointResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const UpdateEntryPointResponseSchema: GenMessage<UpdateEntryPointResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_entry_point, 6);
|
||||
export const UpdateEntryPointResponseSchema: GenMessage<UpdateEntryPointResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_entry_point, 6);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.DeleteEntryPointRequest
|
||||
*/
|
||||
export type DeleteEntryPointRequest = Message<'mantrae.v1.DeleteEntryPointRequest'> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
export type DeleteEntryPointRequest = Message<"mantrae.v1.DeleteEntryPointRequest"> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.DeleteEntryPointRequest.
|
||||
* Use `create(DeleteEntryPointRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const DeleteEntryPointRequestSchema: GenMessage<DeleteEntryPointRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_entry_point, 7);
|
||||
export const DeleteEntryPointRequestSchema: GenMessage<DeleteEntryPointRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_entry_point, 7);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.DeleteEntryPointResponse
|
||||
*/
|
||||
export type DeleteEntryPointResponse = Message<'mantrae.v1.DeleteEntryPointResponse'> & {};
|
||||
export type DeleteEntryPointResponse = Message<"mantrae.v1.DeleteEntryPointResponse"> & {
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.DeleteEntryPointResponse.
|
||||
* Use `create(DeleteEntryPointResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const DeleteEntryPointResponseSchema: GenMessage<DeleteEntryPointResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_entry_point, 8);
|
||||
export const DeleteEntryPointResponseSchema: GenMessage<DeleteEntryPointResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_entry_point, 8);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.ListEntryPointsRequest
|
||||
*/
|
||||
export type ListEntryPointsRequest = Message<'mantrae.v1.ListEntryPointsRequest'> & {
|
||||
/**
|
||||
* @generated from field: int64 profile_id = 1;
|
||||
*/
|
||||
profileId: bigint;
|
||||
export type ListEntryPointsRequest = Message<"mantrae.v1.ListEntryPointsRequest"> & {
|
||||
/**
|
||||
* @generated from field: int64 profile_id = 1;
|
||||
*/
|
||||
profileId: bigint;
|
||||
|
||||
/**
|
||||
* @generated from field: optional int64 limit = 2;
|
||||
*/
|
||||
limit?: bigint;
|
||||
/**
|
||||
* @generated from field: optional int64 limit = 2;
|
||||
*/
|
||||
limit?: bigint;
|
||||
|
||||
/**
|
||||
* @generated from field: optional int64 offset = 3;
|
||||
*/
|
||||
offset?: bigint;
|
||||
/**
|
||||
* @generated from field: optional int64 offset = 3;
|
||||
*/
|
||||
offset?: bigint;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.ListEntryPointsRequest.
|
||||
* Use `create(ListEntryPointsRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const ListEntryPointsRequestSchema: GenMessage<ListEntryPointsRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_entry_point, 9);
|
||||
export const ListEntryPointsRequestSchema: GenMessage<ListEntryPointsRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_entry_point, 9);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.ListEntryPointsResponse
|
||||
*/
|
||||
export type ListEntryPointsResponse = Message<'mantrae.v1.ListEntryPointsResponse'> & {
|
||||
/**
|
||||
* @generated from field: repeated mantrae.v1.EntryPoint entry_points = 1;
|
||||
*/
|
||||
entryPoints: EntryPoint[];
|
||||
export type ListEntryPointsResponse = Message<"mantrae.v1.ListEntryPointsResponse"> & {
|
||||
/**
|
||||
* @generated from field: repeated mantrae.v1.EntryPoint entry_points = 1;
|
||||
*/
|
||||
entryPoints: EntryPoint[];
|
||||
|
||||
/**
|
||||
* @generated from field: int64 total_count = 2;
|
||||
*/
|
||||
totalCount: bigint;
|
||||
/**
|
||||
* @generated from field: int64 total_count = 2;
|
||||
*/
|
||||
totalCount: bigint;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.ListEntryPointsResponse.
|
||||
* Use `create(ListEntryPointsResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const ListEntryPointsResponseSchema: GenMessage<ListEntryPointsResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_entry_point, 10);
|
||||
export const ListEntryPointsResponseSchema: GenMessage<ListEntryPointsResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_entry_point, 10);
|
||||
|
||||
/**
|
||||
* @generated from service mantrae.v1.EntryPointService
|
||||
*/
|
||||
export const EntryPointService: GenService<{
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.EntryPointService.GetEntryPoint
|
||||
*/
|
||||
getEntryPoint: {
|
||||
methodKind: 'unary';
|
||||
input: typeof GetEntryPointRequestSchema;
|
||||
output: typeof GetEntryPointResponseSchema;
|
||||
};
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.EntryPointService.CreateEntryPoint
|
||||
*/
|
||||
createEntryPoint: {
|
||||
methodKind: 'unary';
|
||||
input: typeof CreateEntryPointRequestSchema;
|
||||
output: typeof CreateEntryPointResponseSchema;
|
||||
};
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.EntryPointService.UpdateEntryPoint
|
||||
*/
|
||||
updateEntryPoint: {
|
||||
methodKind: 'unary';
|
||||
input: typeof UpdateEntryPointRequestSchema;
|
||||
output: typeof UpdateEntryPointResponseSchema;
|
||||
};
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.EntryPointService.DeleteEntryPoint
|
||||
*/
|
||||
deleteEntryPoint: {
|
||||
methodKind: 'unary';
|
||||
input: typeof DeleteEntryPointRequestSchema;
|
||||
output: typeof DeleteEntryPointResponseSchema;
|
||||
};
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.EntryPointService.ListEntryPoints
|
||||
*/
|
||||
listEntryPoints: {
|
||||
methodKind: 'unary';
|
||||
input: typeof ListEntryPointsRequestSchema;
|
||||
output: typeof ListEntryPointsResponseSchema;
|
||||
};
|
||||
}> = /*@__PURE__*/ serviceDesc(file_mantrae_v1_entry_point, 0);
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.EntryPointService.GetEntryPoint
|
||||
*/
|
||||
getEntryPoint: {
|
||||
methodKind: "unary";
|
||||
input: typeof GetEntryPointRequestSchema;
|
||||
output: typeof GetEntryPointResponseSchema;
|
||||
},
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.EntryPointService.CreateEntryPoint
|
||||
*/
|
||||
createEntryPoint: {
|
||||
methodKind: "unary";
|
||||
input: typeof CreateEntryPointRequestSchema;
|
||||
output: typeof CreateEntryPointResponseSchema;
|
||||
},
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.EntryPointService.UpdateEntryPoint
|
||||
*/
|
||||
updateEntryPoint: {
|
||||
methodKind: "unary";
|
||||
input: typeof UpdateEntryPointRequestSchema;
|
||||
output: typeof UpdateEntryPointResponseSchema;
|
||||
},
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.EntryPointService.DeleteEntryPoint
|
||||
*/
|
||||
deleteEntryPoint: {
|
||||
methodKind: "unary";
|
||||
input: typeof DeleteEntryPointRequestSchema;
|
||||
output: typeof DeleteEntryPointResponseSchema;
|
||||
},
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.EntryPointService.ListEntryPoints
|
||||
*/
|
||||
listEntryPoints: {
|
||||
methodKind: "unary";
|
||||
input: typeof ListEntryPointsRequestSchema;
|
||||
output: typeof ListEntryPointsResponseSchema;
|
||||
},
|
||||
}> = /*@__PURE__*/
|
||||
serviceDesc(file_mantrae_v1_entry_point, 0);
|
||||
|
||||
|
||||
@@ -2,369 +2,340 @@
|
||||
// @generated from file mantrae/v1/event.proto (package mantrae.v1, syntax proto3)
|
||||
/* eslint-disable */
|
||||
|
||||
import type { GenEnum, GenFile, GenMessage, GenService } from '@bufbuild/protobuf/codegenv2';
|
||||
import { enumDesc, fileDesc, messageDesc, serviceDesc } from '@bufbuild/protobuf/codegenv2';
|
||||
import { file_buf_validate_validate } from '../../buf/validate/validate_pb';
|
||||
import type { Timestamp } from '@bufbuild/protobuf/wkt';
|
||||
import { file_google_protobuf_timestamp } from '@bufbuild/protobuf/wkt';
|
||||
import type { Agent } from './agent_pb';
|
||||
import { file_mantrae_v1_agent } from './agent_pb';
|
||||
import type { AuditLog } from './auditlog_pb';
|
||||
import { file_mantrae_v1_auditlog } from './auditlog_pb';
|
||||
import type { DnsProvider } from './dns_provider_pb';
|
||||
import { file_mantrae_v1_dns_provider } from './dns_provider_pb';
|
||||
import type { EntryPoint } from './entry_point_pb';
|
||||
import { file_mantrae_v1_entry_point } from './entry_point_pb';
|
||||
import type { Middleware } from './middleware_pb';
|
||||
import { file_mantrae_v1_middleware } from './middleware_pb';
|
||||
import type { Router } from './router_pb';
|
||||
import { file_mantrae_v1_router } from './router_pb';
|
||||
import type { Service } from './service_pb';
|
||||
import { file_mantrae_v1_service } from './service_pb';
|
||||
import type { User } from './user_pb';
|
||||
import { file_mantrae_v1_user } from './user_pb';
|
||||
import type { Message } from '@bufbuild/protobuf';
|
||||
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
||||
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
||||
import { file_buf_validate_validate } from "../../buf/validate/validate_pb";
|
||||
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
||||
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
||||
import type { Agent } from "./agent_pb";
|
||||
import { file_mantrae_v1_agent } from "./agent_pb";
|
||||
import type { AuditLog } from "./auditlog_pb";
|
||||
import { file_mantrae_v1_auditlog } from "./auditlog_pb";
|
||||
import type { DnsProvider } from "./dns_provider_pb";
|
||||
import { file_mantrae_v1_dns_provider } from "./dns_provider_pb";
|
||||
import type { EntryPoint } from "./entry_point_pb";
|
||||
import { file_mantrae_v1_entry_point } from "./entry_point_pb";
|
||||
import type { Middleware } from "./middleware_pb";
|
||||
import { file_mantrae_v1_middleware } from "./middleware_pb";
|
||||
import type { Router } from "./router_pb";
|
||||
import { file_mantrae_v1_router } from "./router_pb";
|
||||
import type { Service } from "./service_pb";
|
||||
import { file_mantrae_v1_service } from "./service_pb";
|
||||
import type { User } from "./user_pb";
|
||||
import { file_mantrae_v1_user } from "./user_pb";
|
||||
import type { Message } from "@bufbuild/protobuf";
|
||||
|
||||
/**
|
||||
* Describes the file mantrae/v1/event.proto.
|
||||
*/
|
||||
export const file_mantrae_v1_event: GenFile =
|
||||
/*@__PURE__*/
|
||||
fileDesc(
|
||||
'ChZtYW50cmFlL3YxL2V2ZW50LnByb3RvEgptYW50cmFlLnYxIrMDCgxQcm9maWxlRXZlbnQSKQoKZXZlbnRfdHlwZRgBIAEoDjIVLm1hbnRyYWUudjEuRXZlbnRUeXBlEi8KDXJlc291cmNlX3R5cGUYAiABKA4yGC5tYW50cmFlLnYxLlJlc291cmNlVHlwZRISCgpwcm9maWxlX2lkGAMgASgDEi0KCXRpbWVzdGFtcBgEIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASJAoGcm91dGVyGAogASgLMhIubWFudHJhZS52MS5Sb3V0ZXJIABImCgdzZXJ2aWNlGAsgASgLMhMubWFudHJhZS52MS5TZXJ2aWNlSAASLAoKbWlkZGxld2FyZRgMIAEoCzIWLm1hbnRyYWUudjEuTWlkZGxld2FyZUgAEi0KC2VudHJ5X3BvaW50GA0gASgLMhYubWFudHJhZS52MS5FbnRyeVBvaW50SAASIgoFYWdlbnQYDiABKAsyES5tYW50cmFlLnYxLkFnZW50SAASKQoJYXVkaXRfbG9nGA8gASgLMhQubWFudHJhZS52MS5BdWRpdExvZ0gAQgoKCHJlc291cmNlIvcBCgtHbG9iYWxFdmVudBIpCgpldmVudF90eXBlGAEgASgOMhUubWFudHJhZS52MS5FdmVudFR5cGUSLwoNcmVzb3VyY2VfdHlwZRgCIAEoDjIYLm1hbnRyYWUudjEuUmVzb3VyY2VUeXBlEi0KCXRpbWVzdGFtcBgDIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASIAoEdXNlchgKIAEoCzIQLm1hbnRyYWUudjEuVXNlckgAEi8KDGRuc19wcm92aWRlchgLIAEoCzIXLm1hbnRyYWUudjEuRG5zUHJvdmlkZXJIAEIKCghyZXNvdXJjZSJoChRQcm9maWxlRXZlbnRzUmVxdWVzdBIeCgpwcm9maWxlX2lkGAEgASgDQgq6SAfIAQEiAiAAEjAKDnJlc291cmNlX3R5cGVzGAIgAygOMhgubWFudHJhZS52MS5SZXNvdXJjZVR5cGUiQAoVUHJvZmlsZUV2ZW50c1Jlc3BvbnNlEicKBWV2ZW50GAEgASgLMhgubWFudHJhZS52MS5Qcm9maWxlRXZlbnQiRwoTR2xvYmFsRXZlbnRzUmVxdWVzdBIwCg5yZXNvdXJjZV90eXBlcxgBIAMoDjIYLm1hbnRyYWUudjEuUmVzb3VyY2VUeXBlIj4KFEdsb2JhbEV2ZW50c1Jlc3BvbnNlEiYKBWV2ZW50GAEgASgLMhcubWFudHJhZS52MS5HbG9iYWxFdmVudCpvCglFdmVudFR5cGUSGgoWRVZFTlRfVFlQRV9VTlNQRUNJRklFRBAAEhYKEkVWRU5UX1RZUEVfQ1JFQVRFRBABEhYKEkVWRU5UX1RZUEVfVVBEQVRFRBACEhYKEkVWRU5UX1RZUEVfREVMRVRFRBADKo0CCgxSZXNvdXJjZVR5cGUSHQoZUkVTT1VSQ0VfVFlQRV9VTlNQRUNJRklFRBAAEhgKFFJFU09VUkNFX1RZUEVfUk9VVEVSEAESGQoVUkVTT1VSQ0VfVFlQRV9TRVJWSUNFEAISHAoYUkVTT1VSQ0VfVFlQRV9NSURETEVXQVJFEAMSHQoZUkVTT1VSQ0VfVFlQRV9FTlRSWV9QT0lOVBAEEhsKF1JFU09VUkNFX1RZUEVfQVVESVRfTE9HEAUSFwoTUkVTT1VSQ0VfVFlQRV9BR0VOVBAGEhYKElJFU09VUkNFX1RZUEVfVVNFUhAHEh4KGlJFU09VUkNFX1RZUEVfRE5TX1BST1ZJREVSEAgyuwEKDEV2ZW50U2VydmljZRJWCg1Qcm9maWxlRXZlbnRzEiAubWFudHJhZS52MS5Qcm9maWxlRXZlbnRzUmVxdWVzdBohLm1hbnRyYWUudjEuUHJvZmlsZUV2ZW50c1Jlc3BvbnNlMAESUwoMR2xvYmFsRXZlbnRzEh8ubWFudHJhZS52MS5HbG9iYWxFdmVudHNSZXF1ZXN0GiAubWFudHJhZS52MS5HbG9iYWxFdmVudHNSZXNwb25zZTABQqQBCg5jb20ubWFudHJhZS52MUIKRXZlbnRQcm90b1ABWj1naXRodWIuY29tL21penVjaGlsYWJzL21hbnRyYWUvcHJvdG8vZ2VuL21hbnRyYWUvdjE7bWFudHJhZXYxogIDTVhYqgIKTWFudHJhZS5WMcoCCk1hbnRyYWVcVjHiAhZNYW50cmFlXFYxXEdQQk1ldGFkYXRh6gILTWFudHJhZTo6VjFiBnByb3RvMw',
|
||||
[
|
||||
file_buf_validate_validate,
|
||||
file_google_protobuf_timestamp,
|
||||
file_mantrae_v1_agent,
|
||||
file_mantrae_v1_auditlog,
|
||||
file_mantrae_v1_dns_provider,
|
||||
file_mantrae_v1_entry_point,
|
||||
file_mantrae_v1_middleware,
|
||||
file_mantrae_v1_router,
|
||||
file_mantrae_v1_service,
|
||||
file_mantrae_v1_user
|
||||
]
|
||||
);
|
||||
export const file_mantrae_v1_event: GenFile = /*@__PURE__*/
|
||||
fileDesc("ChZtYW50cmFlL3YxL2V2ZW50LnByb3RvEgptYW50cmFlLnYxIrMDCgxQcm9maWxlRXZlbnQSKQoKZXZlbnRfdHlwZRgBIAEoDjIVLm1hbnRyYWUudjEuRXZlbnRUeXBlEi8KDXJlc291cmNlX3R5cGUYAiABKA4yGC5tYW50cmFlLnYxLlJlc291cmNlVHlwZRISCgpwcm9maWxlX2lkGAMgASgDEi0KCXRpbWVzdGFtcBgEIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASJAoGcm91dGVyGAogASgLMhIubWFudHJhZS52MS5Sb3V0ZXJIABImCgdzZXJ2aWNlGAsgASgLMhMubWFudHJhZS52MS5TZXJ2aWNlSAASLAoKbWlkZGxld2FyZRgMIAEoCzIWLm1hbnRyYWUudjEuTWlkZGxld2FyZUgAEi0KC2VudHJ5X3BvaW50GA0gASgLMhYubWFudHJhZS52MS5FbnRyeVBvaW50SAASIgoFYWdlbnQYDiABKAsyES5tYW50cmFlLnYxLkFnZW50SAASKQoJYXVkaXRfbG9nGA8gASgLMhQubWFudHJhZS52MS5BdWRpdExvZ0gAQgoKCHJlc291cmNlIvcBCgtHbG9iYWxFdmVudBIpCgpldmVudF90eXBlGAEgASgOMhUubWFudHJhZS52MS5FdmVudFR5cGUSLwoNcmVzb3VyY2VfdHlwZRgCIAEoDjIYLm1hbnRyYWUudjEuUmVzb3VyY2VUeXBlEi0KCXRpbWVzdGFtcBgDIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASIAoEdXNlchgKIAEoCzIQLm1hbnRyYWUudjEuVXNlckgAEi8KDGRuc19wcm92aWRlchgLIAEoCzIXLm1hbnRyYWUudjEuRG5zUHJvdmlkZXJIAEIKCghyZXNvdXJjZSJlChRQcm9maWxlRXZlbnRzUmVxdWVzdBIbCgpwcm9maWxlX2lkGAEgASgDQge6SAQiAiAAEjAKDnJlc291cmNlX3R5cGVzGAIgAygOMhgubWFudHJhZS52MS5SZXNvdXJjZVR5cGUiQAoVUHJvZmlsZUV2ZW50c1Jlc3BvbnNlEicKBWV2ZW50GAEgASgLMhgubWFudHJhZS52MS5Qcm9maWxlRXZlbnQiRwoTR2xvYmFsRXZlbnRzUmVxdWVzdBIwCg5yZXNvdXJjZV90eXBlcxgBIAMoDjIYLm1hbnRyYWUudjEuUmVzb3VyY2VUeXBlIj4KFEdsb2JhbEV2ZW50c1Jlc3BvbnNlEiYKBWV2ZW50GAEgASgLMhcubWFudHJhZS52MS5HbG9iYWxFdmVudCpvCglFdmVudFR5cGUSGgoWRVZFTlRfVFlQRV9VTlNQRUNJRklFRBAAEhYKEkVWRU5UX1RZUEVfQ1JFQVRFRBABEhYKEkVWRU5UX1RZUEVfVVBEQVRFRBACEhYKEkVWRU5UX1RZUEVfREVMRVRFRBADKo0CCgxSZXNvdXJjZVR5cGUSHQoZUkVTT1VSQ0VfVFlQRV9VTlNQRUNJRklFRBAAEhgKFFJFU09VUkNFX1RZUEVfUk9VVEVSEAESGQoVUkVTT1VSQ0VfVFlQRV9TRVJWSUNFEAISHAoYUkVTT1VSQ0VfVFlQRV9NSURETEVXQVJFEAMSHQoZUkVTT1VSQ0VfVFlQRV9FTlRSWV9QT0lOVBAEEhsKF1JFU09VUkNFX1RZUEVfQVVESVRfTE9HEAUSFwoTUkVTT1VSQ0VfVFlQRV9BR0VOVBAGEhYKElJFU09VUkNFX1RZUEVfVVNFUhAHEh4KGlJFU09VUkNFX1RZUEVfRE5TX1BST1ZJREVSEAgyuwEKDEV2ZW50U2VydmljZRJWCg1Qcm9maWxlRXZlbnRzEiAubWFudHJhZS52MS5Qcm9maWxlRXZlbnRzUmVxdWVzdBohLm1hbnRyYWUudjEuUHJvZmlsZUV2ZW50c1Jlc3BvbnNlMAESUwoMR2xvYmFsRXZlbnRzEh8ubWFudHJhZS52MS5HbG9iYWxFdmVudHNSZXF1ZXN0GiAubWFudHJhZS52MS5HbG9iYWxFdmVudHNSZXNwb25zZTABQqQBCg5jb20ubWFudHJhZS52MUIKRXZlbnRQcm90b1ABWj1naXRodWIuY29tL21penVjaGlsYWJzL21hbnRyYWUvcHJvdG8vZ2VuL21hbnRyYWUvdjE7bWFudHJhZXYxogIDTVhYqgIKTWFudHJhZS5WMcoCCk1hbnRyYWVcVjHiAhZNYW50cmFlXFYxXEdQQk1ldGFkYXRh6gILTWFudHJhZTo6VjFiBnByb3RvMw", [file_buf_validate_validate, file_google_protobuf_timestamp, file_mantrae_v1_agent, file_mantrae_v1_auditlog, file_mantrae_v1_dns_provider, file_mantrae_v1_entry_point, file_mantrae_v1_middleware, file_mantrae_v1_router, file_mantrae_v1_service, file_mantrae_v1_user]);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.ProfileEvent
|
||||
*/
|
||||
export type ProfileEvent = Message<'mantrae.v1.ProfileEvent'> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.EventType event_type = 1;
|
||||
*/
|
||||
eventType: EventType;
|
||||
export type ProfileEvent = Message<"mantrae.v1.ProfileEvent"> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.EventType event_type = 1;
|
||||
*/
|
||||
eventType: EventType;
|
||||
|
||||
/**
|
||||
* @generated from field: mantrae.v1.ResourceType resource_type = 2;
|
||||
*/
|
||||
resourceType: ResourceType;
|
||||
/**
|
||||
* @generated from field: mantrae.v1.ResourceType resource_type = 2;
|
||||
*/
|
||||
resourceType: ResourceType;
|
||||
|
||||
/**
|
||||
* @generated from field: int64 profile_id = 3;
|
||||
*/
|
||||
profileId: bigint;
|
||||
/**
|
||||
* @generated from field: int64 profile_id = 3;
|
||||
*/
|
||||
profileId: bigint;
|
||||
|
||||
/**
|
||||
* @generated from field: google.protobuf.Timestamp timestamp = 4;
|
||||
*/
|
||||
timestamp?: Timestamp;
|
||||
/**
|
||||
* @generated from field: google.protobuf.Timestamp timestamp = 4;
|
||||
*/
|
||||
timestamp?: Timestamp;
|
||||
|
||||
/**
|
||||
* @generated from oneof mantrae.v1.ProfileEvent.resource
|
||||
*/
|
||||
resource:
|
||||
| {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Router router = 10;
|
||||
*/
|
||||
value: Router;
|
||||
case: 'router';
|
||||
}
|
||||
| {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Service service = 11;
|
||||
*/
|
||||
value: Service;
|
||||
case: 'service';
|
||||
}
|
||||
| {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Middleware middleware = 12;
|
||||
*/
|
||||
value: Middleware;
|
||||
case: 'middleware';
|
||||
}
|
||||
| {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.EntryPoint entry_point = 13;
|
||||
*/
|
||||
value: EntryPoint;
|
||||
case: 'entryPoint';
|
||||
}
|
||||
| {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Agent agent = 14;
|
||||
*/
|
||||
value: Agent;
|
||||
case: 'agent';
|
||||
}
|
||||
| {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.AuditLog audit_log = 15;
|
||||
*/
|
||||
value: AuditLog;
|
||||
case: 'auditLog';
|
||||
}
|
||||
| { case: undefined; value?: undefined };
|
||||
/**
|
||||
* @generated from oneof mantrae.v1.ProfileEvent.resource
|
||||
*/
|
||||
resource: {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Router router = 10;
|
||||
*/
|
||||
value: Router;
|
||||
case: "router";
|
||||
} | {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Service service = 11;
|
||||
*/
|
||||
value: Service;
|
||||
case: "service";
|
||||
} | {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Middleware middleware = 12;
|
||||
*/
|
||||
value: Middleware;
|
||||
case: "middleware";
|
||||
} | {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.EntryPoint entry_point = 13;
|
||||
*/
|
||||
value: EntryPoint;
|
||||
case: "entryPoint";
|
||||
} | {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Agent agent = 14;
|
||||
*/
|
||||
value: Agent;
|
||||
case: "agent";
|
||||
} | {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.AuditLog audit_log = 15;
|
||||
*/
|
||||
value: AuditLog;
|
||||
case: "auditLog";
|
||||
} | { case: undefined; value?: undefined };
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.ProfileEvent.
|
||||
* Use `create(ProfileEventSchema)` to create a new message.
|
||||
*/
|
||||
export const ProfileEventSchema: GenMessage<ProfileEvent> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_event, 0);
|
||||
export const ProfileEventSchema: GenMessage<ProfileEvent> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_event, 0);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.GlobalEvent
|
||||
*/
|
||||
export type GlobalEvent = Message<'mantrae.v1.GlobalEvent'> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.EventType event_type = 1;
|
||||
*/
|
||||
eventType: EventType;
|
||||
export type GlobalEvent = Message<"mantrae.v1.GlobalEvent"> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.EventType event_type = 1;
|
||||
*/
|
||||
eventType: EventType;
|
||||
|
||||
/**
|
||||
* @generated from field: mantrae.v1.ResourceType resource_type = 2;
|
||||
*/
|
||||
resourceType: ResourceType;
|
||||
/**
|
||||
* @generated from field: mantrae.v1.ResourceType resource_type = 2;
|
||||
*/
|
||||
resourceType: ResourceType;
|
||||
|
||||
/**
|
||||
* @generated from field: google.protobuf.Timestamp timestamp = 3;
|
||||
*/
|
||||
timestamp?: Timestamp;
|
||||
/**
|
||||
* @generated from field: google.protobuf.Timestamp timestamp = 3;
|
||||
*/
|
||||
timestamp?: Timestamp;
|
||||
|
||||
/**
|
||||
* @generated from oneof mantrae.v1.GlobalEvent.resource
|
||||
*/
|
||||
resource:
|
||||
| {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.User user = 10;
|
||||
*/
|
||||
value: User;
|
||||
case: 'user';
|
||||
}
|
||||
| {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.DnsProvider dns_provider = 11;
|
||||
*/
|
||||
value: DnsProvider;
|
||||
case: 'dnsProvider';
|
||||
}
|
||||
| { case: undefined; value?: undefined };
|
||||
/**
|
||||
* @generated from oneof mantrae.v1.GlobalEvent.resource
|
||||
*/
|
||||
resource: {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.User user = 10;
|
||||
*/
|
||||
value: User;
|
||||
case: "user";
|
||||
} | {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.DnsProvider dns_provider = 11;
|
||||
*/
|
||||
value: DnsProvider;
|
||||
case: "dnsProvider";
|
||||
} | { case: undefined; value?: undefined };
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.GlobalEvent.
|
||||
* Use `create(GlobalEventSchema)` to create a new message.
|
||||
*/
|
||||
export const GlobalEventSchema: GenMessage<GlobalEvent> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_event, 1);
|
||||
export const GlobalEventSchema: GenMessage<GlobalEvent> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_event, 1);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.ProfileEventsRequest
|
||||
*/
|
||||
export type ProfileEventsRequest = Message<'mantrae.v1.ProfileEventsRequest'> & {
|
||||
/**
|
||||
* @generated from field: int64 profile_id = 1;
|
||||
*/
|
||||
profileId: bigint;
|
||||
export type ProfileEventsRequest = Message<"mantrae.v1.ProfileEventsRequest"> & {
|
||||
/**
|
||||
* @generated from field: int64 profile_id = 1;
|
||||
*/
|
||||
profileId: bigint;
|
||||
|
||||
/**
|
||||
* Filter by specific resource types
|
||||
*
|
||||
* @generated from field: repeated mantrae.v1.ResourceType resource_types = 2;
|
||||
*/
|
||||
resourceTypes: ResourceType[];
|
||||
/**
|
||||
* Filter by specific resource types
|
||||
*
|
||||
* @generated from field: repeated mantrae.v1.ResourceType resource_types = 2;
|
||||
*/
|
||||
resourceTypes: ResourceType[];
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.ProfileEventsRequest.
|
||||
* Use `create(ProfileEventsRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const ProfileEventsRequestSchema: GenMessage<ProfileEventsRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_event, 2);
|
||||
export const ProfileEventsRequestSchema: GenMessage<ProfileEventsRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_event, 2);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.ProfileEventsResponse
|
||||
*/
|
||||
export type ProfileEventsResponse = Message<'mantrae.v1.ProfileEventsResponse'> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.ProfileEvent event = 1;
|
||||
*/
|
||||
event?: ProfileEvent;
|
||||
export type ProfileEventsResponse = Message<"mantrae.v1.ProfileEventsResponse"> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.ProfileEvent event = 1;
|
||||
*/
|
||||
event?: ProfileEvent;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.ProfileEventsResponse.
|
||||
* Use `create(ProfileEventsResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const ProfileEventsResponseSchema: GenMessage<ProfileEventsResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_event, 3);
|
||||
export const ProfileEventsResponseSchema: GenMessage<ProfileEventsResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_event, 3);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.GlobalEventsRequest
|
||||
*/
|
||||
export type GlobalEventsRequest = Message<'mantrae.v1.GlobalEventsRequest'> & {
|
||||
/**
|
||||
* Filter by specific resource types
|
||||
*
|
||||
* @generated from field: repeated mantrae.v1.ResourceType resource_types = 1;
|
||||
*/
|
||||
resourceTypes: ResourceType[];
|
||||
export type GlobalEventsRequest = Message<"mantrae.v1.GlobalEventsRequest"> & {
|
||||
/**
|
||||
* Filter by specific resource types
|
||||
*
|
||||
* @generated from field: repeated mantrae.v1.ResourceType resource_types = 1;
|
||||
*/
|
||||
resourceTypes: ResourceType[];
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.GlobalEventsRequest.
|
||||
* Use `create(GlobalEventsRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const GlobalEventsRequestSchema: GenMessage<GlobalEventsRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_event, 4);
|
||||
export const GlobalEventsRequestSchema: GenMessage<GlobalEventsRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_event, 4);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.GlobalEventsResponse
|
||||
*/
|
||||
export type GlobalEventsResponse = Message<'mantrae.v1.GlobalEventsResponse'> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.GlobalEvent event = 1;
|
||||
*/
|
||||
event?: GlobalEvent;
|
||||
export type GlobalEventsResponse = Message<"mantrae.v1.GlobalEventsResponse"> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.GlobalEvent event = 1;
|
||||
*/
|
||||
event?: GlobalEvent;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.GlobalEventsResponse.
|
||||
* Use `create(GlobalEventsResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const GlobalEventsResponseSchema: GenMessage<GlobalEventsResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_event, 5);
|
||||
export const GlobalEventsResponseSchema: GenMessage<GlobalEventsResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_event, 5);
|
||||
|
||||
/**
|
||||
* @generated from enum mantrae.v1.EventType
|
||||
*/
|
||||
export enum EventType {
|
||||
/**
|
||||
* @generated from enum value: EVENT_TYPE_UNSPECIFIED = 0;
|
||||
*/
|
||||
UNSPECIFIED = 0,
|
||||
/**
|
||||
* @generated from enum value: EVENT_TYPE_UNSPECIFIED = 0;
|
||||
*/
|
||||
UNSPECIFIED = 0,
|
||||
|
||||
/**
|
||||
* @generated from enum value: EVENT_TYPE_CREATED = 1;
|
||||
*/
|
||||
CREATED = 1,
|
||||
/**
|
||||
* @generated from enum value: EVENT_TYPE_CREATED = 1;
|
||||
*/
|
||||
CREATED = 1,
|
||||
|
||||
/**
|
||||
* @generated from enum value: EVENT_TYPE_UPDATED = 2;
|
||||
*/
|
||||
UPDATED = 2,
|
||||
/**
|
||||
* @generated from enum value: EVENT_TYPE_UPDATED = 2;
|
||||
*/
|
||||
UPDATED = 2,
|
||||
|
||||
/**
|
||||
* @generated from enum value: EVENT_TYPE_DELETED = 3;
|
||||
*/
|
||||
DELETED = 3
|
||||
/**
|
||||
* @generated from enum value: EVENT_TYPE_DELETED = 3;
|
||||
*/
|
||||
DELETED = 3,
|
||||
}
|
||||
|
||||
/**
|
||||
* Describes the enum mantrae.v1.EventType.
|
||||
*/
|
||||
export const EventTypeSchema: GenEnum<EventType> = /*@__PURE__*/ enumDesc(file_mantrae_v1_event, 0);
|
||||
export const EventTypeSchema: GenEnum<EventType> = /*@__PURE__*/
|
||||
enumDesc(file_mantrae_v1_event, 0);
|
||||
|
||||
/**
|
||||
* @generated from enum mantrae.v1.ResourceType
|
||||
*/
|
||||
export enum ResourceType {
|
||||
/**
|
||||
* @generated from enum value: RESOURCE_TYPE_UNSPECIFIED = 0;
|
||||
*/
|
||||
UNSPECIFIED = 0,
|
||||
/**
|
||||
* @generated from enum value: RESOURCE_TYPE_UNSPECIFIED = 0;
|
||||
*/
|
||||
UNSPECIFIED = 0,
|
||||
|
||||
/**
|
||||
* @generated from enum value: RESOURCE_TYPE_ROUTER = 1;
|
||||
*/
|
||||
ROUTER = 1,
|
||||
/**
|
||||
* @generated from enum value: RESOURCE_TYPE_ROUTER = 1;
|
||||
*/
|
||||
ROUTER = 1,
|
||||
|
||||
/**
|
||||
* @generated from enum value: RESOURCE_TYPE_SERVICE = 2;
|
||||
*/
|
||||
SERVICE = 2,
|
||||
/**
|
||||
* @generated from enum value: RESOURCE_TYPE_SERVICE = 2;
|
||||
*/
|
||||
SERVICE = 2,
|
||||
|
||||
/**
|
||||
* @generated from enum value: RESOURCE_TYPE_MIDDLEWARE = 3;
|
||||
*/
|
||||
MIDDLEWARE = 3,
|
||||
/**
|
||||
* @generated from enum value: RESOURCE_TYPE_MIDDLEWARE = 3;
|
||||
*/
|
||||
MIDDLEWARE = 3,
|
||||
|
||||
/**
|
||||
* @generated from enum value: RESOURCE_TYPE_ENTRY_POINT = 4;
|
||||
*/
|
||||
ENTRY_POINT = 4,
|
||||
/**
|
||||
* @generated from enum value: RESOURCE_TYPE_ENTRY_POINT = 4;
|
||||
*/
|
||||
ENTRY_POINT = 4,
|
||||
|
||||
/**
|
||||
* @generated from enum value: RESOURCE_TYPE_AUDIT_LOG = 5;
|
||||
*/
|
||||
AUDIT_LOG = 5,
|
||||
/**
|
||||
* @generated from enum value: RESOURCE_TYPE_AUDIT_LOG = 5;
|
||||
*/
|
||||
AUDIT_LOG = 5,
|
||||
|
||||
/**
|
||||
* @generated from enum value: RESOURCE_TYPE_AGENT = 6;
|
||||
*/
|
||||
AGENT = 6,
|
||||
/**
|
||||
* @generated from enum value: RESOURCE_TYPE_AGENT = 6;
|
||||
*/
|
||||
AGENT = 6,
|
||||
|
||||
/**
|
||||
* @generated from enum value: RESOURCE_TYPE_USER = 7;
|
||||
*/
|
||||
USER = 7,
|
||||
/**
|
||||
* @generated from enum value: RESOURCE_TYPE_USER = 7;
|
||||
*/
|
||||
USER = 7,
|
||||
|
||||
/**
|
||||
* @generated from enum value: RESOURCE_TYPE_DNS_PROVIDER = 8;
|
||||
*/
|
||||
DNS_PROVIDER = 8
|
||||
/**
|
||||
* @generated from enum value: RESOURCE_TYPE_DNS_PROVIDER = 8;
|
||||
*/
|
||||
DNS_PROVIDER = 8,
|
||||
}
|
||||
|
||||
/**
|
||||
* Describes the enum mantrae.v1.ResourceType.
|
||||
*/
|
||||
export const ResourceTypeSchema: GenEnum<ResourceType> =
|
||||
/*@__PURE__*/
|
||||
enumDesc(file_mantrae_v1_event, 1);
|
||||
export const ResourceTypeSchema: GenEnum<ResourceType> = /*@__PURE__*/
|
||||
enumDesc(file_mantrae_v1_event, 1);
|
||||
|
||||
/**
|
||||
* @generated from service mantrae.v1.EventService
|
||||
*/
|
||||
export const EventService: GenService<{
|
||||
/**
|
||||
* Profile-scoped events (routers, services, middlewares, entrypoints)
|
||||
*
|
||||
* @generated from rpc mantrae.v1.EventService.ProfileEvents
|
||||
*/
|
||||
profileEvents: {
|
||||
methodKind: 'server_streaming';
|
||||
input: typeof ProfileEventsRequestSchema;
|
||||
output: typeof ProfileEventsResponseSchema;
|
||||
};
|
||||
/**
|
||||
* Global events (users, dns)
|
||||
*
|
||||
* @generated from rpc mantrae.v1.EventService.GlobalEvents
|
||||
*/
|
||||
globalEvents: {
|
||||
methodKind: 'server_streaming';
|
||||
input: typeof GlobalEventsRequestSchema;
|
||||
output: typeof GlobalEventsResponseSchema;
|
||||
};
|
||||
}> = /*@__PURE__*/ serviceDesc(file_mantrae_v1_event, 0);
|
||||
/**
|
||||
* Profile-scoped events (routers, services, middlewares, entrypoints)
|
||||
*
|
||||
* @generated from rpc mantrae.v1.EventService.ProfileEvents
|
||||
*/
|
||||
profileEvents: {
|
||||
methodKind: "server_streaming";
|
||||
input: typeof ProfileEventsRequestSchema;
|
||||
output: typeof ProfileEventsResponseSchema;
|
||||
},
|
||||
/**
|
||||
* Global events (users, dns)
|
||||
*
|
||||
* @generated from rpc mantrae.v1.EventService.GlobalEvents
|
||||
*/
|
||||
globalEvents: {
|
||||
methodKind: "server_streaming";
|
||||
input: typeof GlobalEventsRequestSchema;
|
||||
output: typeof GlobalEventsResponseSchema;
|
||||
},
|
||||
}> = /*@__PURE__*/
|
||||
serviceDesc(file_mantrae_v1_event, 0);
|
||||
|
||||
|
||||
@@ -2,558 +2,539 @@
|
||||
// @generated from file mantrae/v1/middleware.proto (package mantrae.v1, syntax proto3)
|
||||
/* eslint-disable */
|
||||
|
||||
import type { GenEnum, GenFile, GenMessage, GenService } from '@bufbuild/protobuf/codegenv2';
|
||||
import { enumDesc, fileDesc, messageDesc, serviceDesc } from '@bufbuild/protobuf/codegenv2';
|
||||
import { file_buf_validate_validate } from '../../buf/validate/validate_pb';
|
||||
import type { Timestamp } from '@bufbuild/protobuf/wkt';
|
||||
import {
|
||||
file_google_protobuf_struct,
|
||||
file_google_protobuf_timestamp
|
||||
} from '@bufbuild/protobuf/wkt';
|
||||
import type { JsonObject, Message } from '@bufbuild/protobuf';
|
||||
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
||||
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
||||
import { file_buf_validate_validate } from "../../buf/validate/validate_pb";
|
||||
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
||||
import { file_google_protobuf_struct, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
||||
import type { JsonObject, Message } from "@bufbuild/protobuf";
|
||||
|
||||
/**
|
||||
* Describes the file mantrae/v1/middleware.proto.
|
||||
*/
|
||||
export const file_mantrae_v1_middleware: GenFile =
|
||||
/*@__PURE__*/
|
||||
fileDesc(
|
||||
'ChttYW50cmFlL3YxL21pZGRsZXdhcmUucHJvdG8SCm1hbnRyYWUudjEikAIKCk1pZGRsZXdhcmUSCgoCaWQYASABKAMSEgoKcHJvZmlsZV9pZBgCIAEoAxIQCghhZ2VudF9pZBgDIAEoCRIMCgRuYW1lGAQgASgJEicKBmNvbmZpZxgFIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3QSDwoHZW5hYmxlZBgGIAEoCBIoCgR0eXBlGAcgASgOMhoubWFudHJhZS52MS5NaWRkbGV3YXJlVHlwZRIuCgpjcmVhdGVkX2F0GAggASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIuCgp1cGRhdGVkX2F0GAkgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcCKmAgoGUGx1Z2luEgoKAmlkGAEgASgJEgwKBG5hbWUYAiABKAkSFAoMZGlzcGxheV9uYW1lGAMgASgJEg4KBmF1dGhvchgEIAEoCRIMCgR0eXBlGAUgASgJEg4KBmltcG9ydBgGIAEoCRIPCgdzdW1tYXJ5GAcgASgJEhAKCGljb25fdXJsGAggASgJEhIKCmJhbm5lcl91cmwYCSABKAkSDgoGcmVhZG1lGAogASgJEhYKDmxhdGVzdF92ZXJzaW9uGAsgASgJEhAKCHZlcnNpb25zGAwgAygJEg0KBXN0YXJzGA0gASgDEioKB3NuaXBwZXQYDiABKAsyGS5tYW50cmFlLnYxLlBsdWdpblNuaXBwZXQSEgoKY3JlYXRlZF9hdBgPIAEoCSI4Cg1QbHVnaW5TbmlwcGV0EgsKA2s4cxgBIAEoCRIMCgR5YW1sGAIgASgJEgwKBHRvbWwYAyABKAkiZQoUR2V0TWlkZGxld2FyZVJlcXVlc3QSFgoCaWQYASABKANCCrpIB8gBASICIAASNQoEdHlwZRgCIAEoDjIaLm1hbnRyYWUudjEuTWlkZGxld2FyZVR5cGVCC7pICMgBAYIBAhABIkMKFUdldE1pZGRsZXdhcmVSZXNwb25zZRIqCgptaWRkbGV3YXJlGAEgASgLMhYubWFudHJhZS52MS5NaWRkbGV3YXJlIsUBChdDcmVhdGVNaWRkbGV3YXJlUmVxdWVzdBIeCgpwcm9maWxlX2lkGAEgASgDQgq6SAfIAQEiAiAAEhAKCGFnZW50X2lkGAIgASgJEhgKBG5hbWUYAyABKAlCCrpIB8gBAXICEAESNQoEdHlwZRgEIAEoDjIaLm1hbnRyYWUudjEuTWlkZGxld2FyZVR5cGVCC7pICMgBAYIBAhABEicKBmNvbmZpZxgFIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3QiRgoYQ3JlYXRlTWlkZGxld2FyZVJlc3BvbnNlEioKCm1pZGRsZXdhcmUYASABKAsyFi5tYW50cmFlLnYxLk1pZGRsZXdhcmUivAEKF1VwZGF0ZU1pZGRsZXdhcmVSZXF1ZXN0EhYKAmlkGAEgASgDQgq6SAfIAQEiAiAAEhgKBG5hbWUYAiABKAlCCrpIB8gBAXICEAESNQoEdHlwZRgDIAEoDjIaLm1hbnRyYWUudjEuTWlkZGxld2FyZVR5cGVCC7pICMgBAYIBAhABEicKBmNvbmZpZxgEIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3QSDwoHZW5hYmxlZBgFIAEoCCJGChhVcGRhdGVNaWRkbGV3YXJlUmVzcG9uc2USKgoKbWlkZGxld2FyZRgBIAEoCzIWLm1hbnRyYWUudjEuTWlkZGxld2FyZSJoChdEZWxldGVNaWRkbGV3YXJlUmVxdWVzdBIWCgJpZBgBIAEoA0IKukgHyAEBIgIgABI1CgR0eXBlGAIgASgOMhoubWFudHJhZS52MS5NaWRkbGV3YXJlVHlwZUILukgIyAEBggECEAEiGgoYRGVsZXRlTWlkZGxld2FyZVJlc3BvbnNlIsYCChZMaXN0TWlkZGxld2FyZXNSZXF1ZXN0Eh4KCnByb2ZpbGVfaWQYASABKANCCrpIB8gBASICIAASHgoIYWdlbnRfaWQYAiABKAlCB7pIBHICEAFIAIgBARI3CgR0eXBlGAMgASgOMhoubWFudHJhZS52MS5NaWRkbGV3YXJlVHlwZUIIukgFggECEAFIAYgBARJqCgVsaW1pdBgEIAEoA0JWukhTugFQCgtsaW1pdC52YWxpZBIpbGltaXQgbXVzdCBiZSBlaXRoZXIgLTEgb3IgZ3JlYXRlciB0aGFuIDAaFnRoaXMgPT0gLTEgfHwgdGhpcyA+IDBIAogBARIcCgZvZmZzZXQYBSABKANCB7pIBCICKABIA4gBAUILCglfYWdlbnRfaWRCBwoFX3R5cGVCCAoGX2xpbWl0QgkKB19vZmZzZXQiWwoXTGlzdE1pZGRsZXdhcmVzUmVzcG9uc2USKwoLbWlkZGxld2FyZXMYASADKAsyFi5tYW50cmFlLnYxLk1pZGRsZXdhcmUSEwoLdG90YWxfY291bnQYAiABKAMiHQobR2V0TWlkZGxld2FyZVBsdWdpbnNSZXF1ZXN0IkMKHEdldE1pZGRsZXdhcmVQbHVnaW5zUmVzcG9uc2USIwoHcGx1Z2lucxgBIAMoCzISLm1hbnRyYWUudjEuUGx1Z2luKmQKDk1pZGRsZXdhcmVUeXBlEh8KG01JRERMRVdBUkVfVFlQRV9VTlNQRUNJRklFRBAAEhgKFE1JRERMRVdBUkVfVFlQRV9IVFRQEAESFwoTTUlERExFV0FSRV9UWVBFX1RDUBACMtwEChFNaWRkbGV3YXJlU2VydmljZRJZCg1HZXRNaWRkbGV3YXJlEiAubWFudHJhZS52MS5HZXRNaWRkbGV3YXJlUmVxdWVzdBohLm1hbnRyYWUudjEuR2V0TWlkZGxld2FyZVJlc3BvbnNlIgOQAgESXQoQQ3JlYXRlTWlkZGxld2FyZRIjLm1hbnRyYWUudjEuQ3JlYXRlTWlkZGxld2FyZVJlcXVlc3QaJC5tYW50cmFlLnYxLkNyZWF0ZU1pZGRsZXdhcmVSZXNwb25zZRJdChBVcGRhdGVNaWRkbGV3YXJlEiMubWFudHJhZS52MS5VcGRhdGVNaWRkbGV3YXJlUmVxdWVzdBokLm1hbnRyYWUudjEuVXBkYXRlTWlkZGxld2FyZVJlc3BvbnNlEl0KEERlbGV0ZU1pZGRsZXdhcmUSIy5tYW50cmFlLnYxLkRlbGV0ZU1pZGRsZXdhcmVSZXF1ZXN0GiQubWFudHJhZS52MS5EZWxldGVNaWRkbGV3YXJlUmVzcG9uc2USXwoPTGlzdE1pZGRsZXdhcmVzEiIubWFudHJhZS52MS5MaXN0TWlkZGxld2FyZXNSZXF1ZXN0GiMubWFudHJhZS52MS5MaXN0TWlkZGxld2FyZXNSZXNwb25zZSIDkAIBEm4KFEdldE1pZGRsZXdhcmVQbHVnaW5zEicubWFudHJhZS52MS5HZXRNaWRkbGV3YXJlUGx1Z2luc1JlcXVlc3QaKC5tYW50cmFlLnYxLkdldE1pZGRsZXdhcmVQbHVnaW5zUmVzcG9uc2UiA5ACAUKpAQoOY29tLm1hbnRyYWUudjFCD01pZGRsZXdhcmVQcm90b1ABWj1naXRodWIuY29tL21penVjaGlsYWJzL21hbnRyYWUvcHJvdG8vZ2VuL21hbnRyYWUvdjE7bWFudHJhZXYxogIDTVhYqgIKTWFudHJhZS5WMcoCCk1hbnRyYWVcVjHiAhZNYW50cmFlXFYxXEdQQk1ldGFkYXRh6gILTWFudHJhZTo6VjFiBnByb3RvMw',
|
||||
[file_buf_validate_validate, file_google_protobuf_struct, file_google_protobuf_timestamp]
|
||||
);
|
||||
export const file_mantrae_v1_middleware: GenFile = /*@__PURE__*/
|
||||
fileDesc("ChttYW50cmFlL3YxL21pZGRsZXdhcmUucHJvdG8SCm1hbnRyYWUudjEikAIKCk1pZGRsZXdhcmUSCgoCaWQYASABKAMSEgoKcHJvZmlsZV9pZBgCIAEoAxIQCghhZ2VudF9pZBgDIAEoCRIMCgRuYW1lGAQgASgJEicKBmNvbmZpZxgFIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3QSDwoHZW5hYmxlZBgGIAEoCBIoCgR0eXBlGAcgASgOMhoubWFudHJhZS52MS5NaWRkbGV3YXJlVHlwZRIuCgpjcmVhdGVkX2F0GAggASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIuCgp1cGRhdGVkX2F0GAkgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcCKmAgoGUGx1Z2luEgoKAmlkGAEgASgJEgwKBG5hbWUYAiABKAkSFAoMZGlzcGxheV9uYW1lGAMgASgJEg4KBmF1dGhvchgEIAEoCRIMCgR0eXBlGAUgASgJEg4KBmltcG9ydBgGIAEoCRIPCgdzdW1tYXJ5GAcgASgJEhAKCGljb25fdXJsGAggASgJEhIKCmJhbm5lcl91cmwYCSABKAkSDgoGcmVhZG1lGAogASgJEhYKDmxhdGVzdF92ZXJzaW9uGAsgASgJEhAKCHZlcnNpb25zGAwgAygJEg0KBXN0YXJzGA0gASgDEioKB3NuaXBwZXQYDiABKAsyGS5tYW50cmFlLnYxLlBsdWdpblNuaXBwZXQSEgoKY3JlYXRlZF9hdBgPIAEoCSI4Cg1QbHVnaW5TbmlwcGV0EgsKA2s4cxgBIAEoCRIMCgR5YW1sGAIgASgJEgwKBHRvbWwYAyABKAkiXwoUR2V0TWlkZGxld2FyZVJlcXVlc3QSEwoCaWQYASABKANCB7pIBCICIAASMgoEdHlwZRgCIAEoDjIaLm1hbnRyYWUudjEuTWlkZGxld2FyZVR5cGVCCLpIBYIBAhABIkMKFUdldE1pZGRsZXdhcmVSZXNwb25zZRIqCgptaWRkbGV3YXJlGAEgASgLMhYubWFudHJhZS52MS5NaWRkbGV3YXJlIrwBChdDcmVhdGVNaWRkbGV3YXJlUmVxdWVzdBIbCgpwcm9maWxlX2lkGAEgASgDQge6SAQiAiAAEhAKCGFnZW50X2lkGAIgASgJEhUKBG5hbWUYAyABKAlCB7pIBHICEAESMgoEdHlwZRgEIAEoDjIaLm1hbnRyYWUudjEuTWlkZGxld2FyZVR5cGVCCLpIBYIBAhABEicKBmNvbmZpZxgFIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3QiRgoYQ3JlYXRlTWlkZGxld2FyZVJlc3BvbnNlEioKCm1pZGRsZXdhcmUYASABKAsyFi5tYW50cmFlLnYxLk1pZGRsZXdhcmUiswEKF1VwZGF0ZU1pZGRsZXdhcmVSZXF1ZXN0EhMKAmlkGAEgASgDQge6SAQiAiAAEhUKBG5hbWUYAiABKAlCB7pIBHICEAESMgoEdHlwZRgDIAEoDjIaLm1hbnRyYWUudjEuTWlkZGxld2FyZVR5cGVCCLpIBYIBAhABEicKBmNvbmZpZxgEIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3QSDwoHZW5hYmxlZBgFIAEoCCJGChhVcGRhdGVNaWRkbGV3YXJlUmVzcG9uc2USKgoKbWlkZGxld2FyZRgBIAEoCzIWLm1hbnRyYWUudjEuTWlkZGxld2FyZSJiChdEZWxldGVNaWRkbGV3YXJlUmVxdWVzdBITCgJpZBgBIAEoA0IHukgEIgIgABIyCgR0eXBlGAIgASgOMhoubWFudHJhZS52MS5NaWRkbGV3YXJlVHlwZUIIukgFggECEAEiGgoYRGVsZXRlTWlkZGxld2FyZVJlc3BvbnNlIsMCChZMaXN0TWlkZGxld2FyZXNSZXF1ZXN0EhsKCnByb2ZpbGVfaWQYASABKANCB7pIBCICIAASHgoIYWdlbnRfaWQYAiABKAlCB7pIBHICEAFIAIgBARI3CgR0eXBlGAMgASgOMhoubWFudHJhZS52MS5NaWRkbGV3YXJlVHlwZUIIukgFggECEAFIAYgBARJqCgVsaW1pdBgEIAEoA0JWukhTugFQCgtsaW1pdC52YWxpZBIpbGltaXQgbXVzdCBiZSBlaXRoZXIgLTEgb3IgZ3JlYXRlciB0aGFuIDAaFnRoaXMgPT0gLTEgfHwgdGhpcyA+IDBIAogBARIcCgZvZmZzZXQYBSABKANCB7pIBCICKABIA4gBAUILCglfYWdlbnRfaWRCBwoFX3R5cGVCCAoGX2xpbWl0QgkKB19vZmZzZXQiWwoXTGlzdE1pZGRsZXdhcmVzUmVzcG9uc2USKwoLbWlkZGxld2FyZXMYASADKAsyFi5tYW50cmFlLnYxLk1pZGRsZXdhcmUSEwoLdG90YWxfY291bnQYAiABKAMiHQobR2V0TWlkZGxld2FyZVBsdWdpbnNSZXF1ZXN0IkMKHEdldE1pZGRsZXdhcmVQbHVnaW5zUmVzcG9uc2USIwoHcGx1Z2lucxgBIAMoCzISLm1hbnRyYWUudjEuUGx1Z2luKmQKDk1pZGRsZXdhcmVUeXBlEh8KG01JRERMRVdBUkVfVFlQRV9VTlNQRUNJRklFRBAAEhgKFE1JRERMRVdBUkVfVFlQRV9IVFRQEAESFwoTTUlERExFV0FSRV9UWVBFX1RDUBACMtwEChFNaWRkbGV3YXJlU2VydmljZRJZCg1HZXRNaWRkbGV3YXJlEiAubWFudHJhZS52MS5HZXRNaWRkbGV3YXJlUmVxdWVzdBohLm1hbnRyYWUudjEuR2V0TWlkZGxld2FyZVJlc3BvbnNlIgOQAgESXQoQQ3JlYXRlTWlkZGxld2FyZRIjLm1hbnRyYWUudjEuQ3JlYXRlTWlkZGxld2FyZVJlcXVlc3QaJC5tYW50cmFlLnYxLkNyZWF0ZU1pZGRsZXdhcmVSZXNwb25zZRJdChBVcGRhdGVNaWRkbGV3YXJlEiMubWFudHJhZS52MS5VcGRhdGVNaWRkbGV3YXJlUmVxdWVzdBokLm1hbnRyYWUudjEuVXBkYXRlTWlkZGxld2FyZVJlc3BvbnNlEl0KEERlbGV0ZU1pZGRsZXdhcmUSIy5tYW50cmFlLnYxLkRlbGV0ZU1pZGRsZXdhcmVSZXF1ZXN0GiQubWFudHJhZS52MS5EZWxldGVNaWRkbGV3YXJlUmVzcG9uc2USXwoPTGlzdE1pZGRsZXdhcmVzEiIubWFudHJhZS52MS5MaXN0TWlkZGxld2FyZXNSZXF1ZXN0GiMubWFudHJhZS52MS5MaXN0TWlkZGxld2FyZXNSZXNwb25zZSIDkAIBEm4KFEdldE1pZGRsZXdhcmVQbHVnaW5zEicubWFudHJhZS52MS5HZXRNaWRkbGV3YXJlUGx1Z2luc1JlcXVlc3QaKC5tYW50cmFlLnYxLkdldE1pZGRsZXdhcmVQbHVnaW5zUmVzcG9uc2UiA5ACAUKpAQoOY29tLm1hbnRyYWUudjFCD01pZGRsZXdhcmVQcm90b1ABWj1naXRodWIuY29tL21penVjaGlsYWJzL21hbnRyYWUvcHJvdG8vZ2VuL21hbnRyYWUvdjE7bWFudHJhZXYxogIDTVhYqgIKTWFudHJhZS5WMcoCCk1hbnRyYWVcVjHiAhZNYW50cmFlXFYxXEdQQk1ldGFkYXRh6gILTWFudHJhZTo6VjFiBnByb3RvMw", [file_buf_validate_validate, file_google_protobuf_struct, file_google_protobuf_timestamp]);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.Middleware
|
||||
*/
|
||||
export type Middleware = Message<'mantrae.v1.Middleware'> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
export type Middleware = Message<"mantrae.v1.Middleware"> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
|
||||
/**
|
||||
* @generated from field: int64 profile_id = 2;
|
||||
*/
|
||||
profileId: bigint;
|
||||
/**
|
||||
* @generated from field: int64 profile_id = 2;
|
||||
*/
|
||||
profileId: bigint;
|
||||
|
||||
/**
|
||||
* @generated from field: string agent_id = 3;
|
||||
*/
|
||||
agentId: string;
|
||||
/**
|
||||
* @generated from field: string agent_id = 3;
|
||||
*/
|
||||
agentId: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string name = 4;
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* @generated from field: string name = 4;
|
||||
*/
|
||||
name: string;
|
||||
|
||||
/**
|
||||
* @generated from field: google.protobuf.Struct config = 5;
|
||||
*/
|
||||
config?: JsonObject;
|
||||
/**
|
||||
* @generated from field: google.protobuf.Struct config = 5;
|
||||
*/
|
||||
config?: JsonObject;
|
||||
|
||||
/**
|
||||
* @generated from field: bool enabled = 6;
|
||||
*/
|
||||
enabled: boolean;
|
||||
/**
|
||||
* @generated from field: bool enabled = 6;
|
||||
*/
|
||||
enabled: boolean;
|
||||
|
||||
/**
|
||||
* @generated from field: mantrae.v1.MiddlewareType type = 7;
|
||||
*/
|
||||
type: MiddlewareType;
|
||||
/**
|
||||
* @generated from field: mantrae.v1.MiddlewareType type = 7;
|
||||
*/
|
||||
type: MiddlewareType;
|
||||
|
||||
/**
|
||||
* @generated from field: google.protobuf.Timestamp created_at = 8;
|
||||
*/
|
||||
createdAt?: Timestamp;
|
||||
/**
|
||||
* @generated from field: google.protobuf.Timestamp created_at = 8;
|
||||
*/
|
||||
createdAt?: Timestamp;
|
||||
|
||||
/**
|
||||
* @generated from field: google.protobuf.Timestamp updated_at = 9;
|
||||
*/
|
||||
updatedAt?: Timestamp;
|
||||
/**
|
||||
* @generated from field: google.protobuf.Timestamp updated_at = 9;
|
||||
*/
|
||||
updatedAt?: Timestamp;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.Middleware.
|
||||
* Use `create(MiddlewareSchema)` to create a new message.
|
||||
*/
|
||||
export const MiddlewareSchema: GenMessage<Middleware> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_middleware, 0);
|
||||
export const MiddlewareSchema: GenMessage<Middleware> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_middleware, 0);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.Plugin
|
||||
*/
|
||||
export type Plugin = Message<'mantrae.v1.Plugin'> & {
|
||||
/**
|
||||
* @generated from field: string id = 1;
|
||||
*/
|
||||
id: string;
|
||||
export type Plugin = Message<"mantrae.v1.Plugin"> & {
|
||||
/**
|
||||
* @generated from field: string id = 1;
|
||||
*/
|
||||
id: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string name = 2;
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* @generated from field: string name = 2;
|
||||
*/
|
||||
name: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string display_name = 3;
|
||||
*/
|
||||
displayName: string;
|
||||
/**
|
||||
* @generated from field: string display_name = 3;
|
||||
*/
|
||||
displayName: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string author = 4;
|
||||
*/
|
||||
author: string;
|
||||
/**
|
||||
* @generated from field: string author = 4;
|
||||
*/
|
||||
author: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string type = 5;
|
||||
*/
|
||||
type: string;
|
||||
/**
|
||||
* @generated from field: string type = 5;
|
||||
*/
|
||||
type: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string import = 6;
|
||||
*/
|
||||
import: string;
|
||||
/**
|
||||
* @generated from field: string import = 6;
|
||||
*/
|
||||
import: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string summary = 7;
|
||||
*/
|
||||
summary: string;
|
||||
/**
|
||||
* @generated from field: string summary = 7;
|
||||
*/
|
||||
summary: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string icon_url = 8;
|
||||
*/
|
||||
iconUrl: string;
|
||||
/**
|
||||
* @generated from field: string icon_url = 8;
|
||||
*/
|
||||
iconUrl: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string banner_url = 9;
|
||||
*/
|
||||
bannerUrl: string;
|
||||
/**
|
||||
* @generated from field: string banner_url = 9;
|
||||
*/
|
||||
bannerUrl: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string readme = 10;
|
||||
*/
|
||||
readme: string;
|
||||
/**
|
||||
* @generated from field: string readme = 10;
|
||||
*/
|
||||
readme: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string latest_version = 11;
|
||||
*/
|
||||
latestVersion: string;
|
||||
/**
|
||||
* @generated from field: string latest_version = 11;
|
||||
*/
|
||||
latestVersion: string;
|
||||
|
||||
/**
|
||||
* @generated from field: repeated string versions = 12;
|
||||
*/
|
||||
versions: string[];
|
||||
/**
|
||||
* @generated from field: repeated string versions = 12;
|
||||
*/
|
||||
versions: string[];
|
||||
|
||||
/**
|
||||
* @generated from field: int64 stars = 13;
|
||||
*/
|
||||
stars: bigint;
|
||||
/**
|
||||
* @generated from field: int64 stars = 13;
|
||||
*/
|
||||
stars: bigint;
|
||||
|
||||
/**
|
||||
* @generated from field: mantrae.v1.PluginSnippet snippet = 14;
|
||||
*/
|
||||
snippet?: PluginSnippet;
|
||||
/**
|
||||
* @generated from field: mantrae.v1.PluginSnippet snippet = 14;
|
||||
*/
|
||||
snippet?: PluginSnippet;
|
||||
|
||||
/**
|
||||
* @generated from field: string created_at = 15;
|
||||
*/
|
||||
createdAt: string;
|
||||
/**
|
||||
* @generated from field: string created_at = 15;
|
||||
*/
|
||||
createdAt: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.Plugin.
|
||||
* Use `create(PluginSchema)` to create a new message.
|
||||
*/
|
||||
export const PluginSchema: GenMessage<Plugin> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_middleware, 1);
|
||||
export const PluginSchema: GenMessage<Plugin> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_middleware, 1);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.PluginSnippet
|
||||
*/
|
||||
export type PluginSnippet = Message<'mantrae.v1.PluginSnippet'> & {
|
||||
/**
|
||||
* @generated from field: string k8s = 1;
|
||||
*/
|
||||
k8s: string;
|
||||
export type PluginSnippet = Message<"mantrae.v1.PluginSnippet"> & {
|
||||
/**
|
||||
* @generated from field: string k8s = 1;
|
||||
*/
|
||||
k8s: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string yaml = 2;
|
||||
*/
|
||||
yaml: string;
|
||||
/**
|
||||
* @generated from field: string yaml = 2;
|
||||
*/
|
||||
yaml: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string toml = 3;
|
||||
*/
|
||||
toml: string;
|
||||
/**
|
||||
* @generated from field: string toml = 3;
|
||||
*/
|
||||
toml: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.PluginSnippet.
|
||||
* Use `create(PluginSnippetSchema)` to create a new message.
|
||||
*/
|
||||
export const PluginSnippetSchema: GenMessage<PluginSnippet> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_middleware, 2);
|
||||
export const PluginSnippetSchema: GenMessage<PluginSnippet> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_middleware, 2);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.GetMiddlewareRequest
|
||||
*/
|
||||
export type GetMiddlewareRequest = Message<'mantrae.v1.GetMiddlewareRequest'> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
export type GetMiddlewareRequest = Message<"mantrae.v1.GetMiddlewareRequest"> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
|
||||
/**
|
||||
* @generated from field: mantrae.v1.MiddlewareType type = 2;
|
||||
*/
|
||||
type: MiddlewareType;
|
||||
/**
|
||||
* @generated from field: mantrae.v1.MiddlewareType type = 2;
|
||||
*/
|
||||
type: MiddlewareType;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.GetMiddlewareRequest.
|
||||
* Use `create(GetMiddlewareRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const GetMiddlewareRequestSchema: GenMessage<GetMiddlewareRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_middleware, 3);
|
||||
export const GetMiddlewareRequestSchema: GenMessage<GetMiddlewareRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_middleware, 3);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.GetMiddlewareResponse
|
||||
*/
|
||||
export type GetMiddlewareResponse = Message<'mantrae.v1.GetMiddlewareResponse'> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Middleware middleware = 1;
|
||||
*/
|
||||
middleware?: Middleware;
|
||||
export type GetMiddlewareResponse = Message<"mantrae.v1.GetMiddlewareResponse"> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Middleware middleware = 1;
|
||||
*/
|
||||
middleware?: Middleware;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.GetMiddlewareResponse.
|
||||
* Use `create(GetMiddlewareResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const GetMiddlewareResponseSchema: GenMessage<GetMiddlewareResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_middleware, 4);
|
||||
export const GetMiddlewareResponseSchema: GenMessage<GetMiddlewareResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_middleware, 4);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.CreateMiddlewareRequest
|
||||
*/
|
||||
export type CreateMiddlewareRequest = Message<'mantrae.v1.CreateMiddlewareRequest'> & {
|
||||
/**
|
||||
* @generated from field: int64 profile_id = 1;
|
||||
*/
|
||||
profileId: bigint;
|
||||
export type CreateMiddlewareRequest = Message<"mantrae.v1.CreateMiddlewareRequest"> & {
|
||||
/**
|
||||
* @generated from field: int64 profile_id = 1;
|
||||
*/
|
||||
profileId: bigint;
|
||||
|
||||
/**
|
||||
* @generated from field: string agent_id = 2;
|
||||
*/
|
||||
agentId: string;
|
||||
/**
|
||||
* @generated from field: string agent_id = 2;
|
||||
*/
|
||||
agentId: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string name = 3;
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* @generated from field: string name = 3;
|
||||
*/
|
||||
name: string;
|
||||
|
||||
/**
|
||||
* @generated from field: mantrae.v1.MiddlewareType type = 4;
|
||||
*/
|
||||
type: MiddlewareType;
|
||||
/**
|
||||
* @generated from field: mantrae.v1.MiddlewareType type = 4;
|
||||
*/
|
||||
type: MiddlewareType;
|
||||
|
||||
/**
|
||||
* @generated from field: google.protobuf.Struct config = 5;
|
||||
*/
|
||||
config?: JsonObject;
|
||||
/**
|
||||
* @generated from field: google.protobuf.Struct config = 5;
|
||||
*/
|
||||
config?: JsonObject;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.CreateMiddlewareRequest.
|
||||
* Use `create(CreateMiddlewareRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const CreateMiddlewareRequestSchema: GenMessage<CreateMiddlewareRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_middleware, 5);
|
||||
export const CreateMiddlewareRequestSchema: GenMessage<CreateMiddlewareRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_middleware, 5);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.CreateMiddlewareResponse
|
||||
*/
|
||||
export type CreateMiddlewareResponse = Message<'mantrae.v1.CreateMiddlewareResponse'> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Middleware middleware = 1;
|
||||
*/
|
||||
middleware?: Middleware;
|
||||
export type CreateMiddlewareResponse = Message<"mantrae.v1.CreateMiddlewareResponse"> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Middleware middleware = 1;
|
||||
*/
|
||||
middleware?: Middleware;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.CreateMiddlewareResponse.
|
||||
* Use `create(CreateMiddlewareResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const CreateMiddlewareResponseSchema: GenMessage<CreateMiddlewareResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_middleware, 6);
|
||||
export const CreateMiddlewareResponseSchema: GenMessage<CreateMiddlewareResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_middleware, 6);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.UpdateMiddlewareRequest
|
||||
*/
|
||||
export type UpdateMiddlewareRequest = Message<'mantrae.v1.UpdateMiddlewareRequest'> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
export type UpdateMiddlewareRequest = Message<"mantrae.v1.UpdateMiddlewareRequest"> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
|
||||
/**
|
||||
* @generated from field: string name = 2;
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* @generated from field: string name = 2;
|
||||
*/
|
||||
name: string;
|
||||
|
||||
/**
|
||||
* @generated from field: mantrae.v1.MiddlewareType type = 3;
|
||||
*/
|
||||
type: MiddlewareType;
|
||||
/**
|
||||
* @generated from field: mantrae.v1.MiddlewareType type = 3;
|
||||
*/
|
||||
type: MiddlewareType;
|
||||
|
||||
/**
|
||||
* @generated from field: google.protobuf.Struct config = 4;
|
||||
*/
|
||||
config?: JsonObject;
|
||||
/**
|
||||
* @generated from field: google.protobuf.Struct config = 4;
|
||||
*/
|
||||
config?: JsonObject;
|
||||
|
||||
/**
|
||||
* @generated from field: bool enabled = 5;
|
||||
*/
|
||||
enabled: boolean;
|
||||
/**
|
||||
* @generated from field: bool enabled = 5;
|
||||
*/
|
||||
enabled: boolean;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.UpdateMiddlewareRequest.
|
||||
* Use `create(UpdateMiddlewareRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const UpdateMiddlewareRequestSchema: GenMessage<UpdateMiddlewareRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_middleware, 7);
|
||||
export const UpdateMiddlewareRequestSchema: GenMessage<UpdateMiddlewareRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_middleware, 7);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.UpdateMiddlewareResponse
|
||||
*/
|
||||
export type UpdateMiddlewareResponse = Message<'mantrae.v1.UpdateMiddlewareResponse'> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Middleware middleware = 1;
|
||||
*/
|
||||
middleware?: Middleware;
|
||||
export type UpdateMiddlewareResponse = Message<"mantrae.v1.UpdateMiddlewareResponse"> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Middleware middleware = 1;
|
||||
*/
|
||||
middleware?: Middleware;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.UpdateMiddlewareResponse.
|
||||
* Use `create(UpdateMiddlewareResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const UpdateMiddlewareResponseSchema: GenMessage<UpdateMiddlewareResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_middleware, 8);
|
||||
export const UpdateMiddlewareResponseSchema: GenMessage<UpdateMiddlewareResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_middleware, 8);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.DeleteMiddlewareRequest
|
||||
*/
|
||||
export type DeleteMiddlewareRequest = Message<'mantrae.v1.DeleteMiddlewareRequest'> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
export type DeleteMiddlewareRequest = Message<"mantrae.v1.DeleteMiddlewareRequest"> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
|
||||
/**
|
||||
* @generated from field: mantrae.v1.MiddlewareType type = 2;
|
||||
*/
|
||||
type: MiddlewareType;
|
||||
/**
|
||||
* @generated from field: mantrae.v1.MiddlewareType type = 2;
|
||||
*/
|
||||
type: MiddlewareType;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.DeleteMiddlewareRequest.
|
||||
* Use `create(DeleteMiddlewareRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const DeleteMiddlewareRequestSchema: GenMessage<DeleteMiddlewareRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_middleware, 9);
|
||||
export const DeleteMiddlewareRequestSchema: GenMessage<DeleteMiddlewareRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_middleware, 9);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.DeleteMiddlewareResponse
|
||||
*/
|
||||
export type DeleteMiddlewareResponse = Message<'mantrae.v1.DeleteMiddlewareResponse'> & {};
|
||||
export type DeleteMiddlewareResponse = Message<"mantrae.v1.DeleteMiddlewareResponse"> & {
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.DeleteMiddlewareResponse.
|
||||
* Use `create(DeleteMiddlewareResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const DeleteMiddlewareResponseSchema: GenMessage<DeleteMiddlewareResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_middleware, 10);
|
||||
export const DeleteMiddlewareResponseSchema: GenMessage<DeleteMiddlewareResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_middleware, 10);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.ListMiddlewaresRequest
|
||||
*/
|
||||
export type ListMiddlewaresRequest = Message<'mantrae.v1.ListMiddlewaresRequest'> & {
|
||||
/**
|
||||
* @generated from field: int64 profile_id = 1;
|
||||
*/
|
||||
profileId: bigint;
|
||||
export type ListMiddlewaresRequest = Message<"mantrae.v1.ListMiddlewaresRequest"> & {
|
||||
/**
|
||||
* @generated from field: int64 profile_id = 1;
|
||||
*/
|
||||
profileId: bigint;
|
||||
|
||||
/**
|
||||
* @generated from field: optional string agent_id = 2;
|
||||
*/
|
||||
agentId?: string;
|
||||
/**
|
||||
* @generated from field: optional string agent_id = 2;
|
||||
*/
|
||||
agentId?: string;
|
||||
|
||||
/**
|
||||
* @generated from field: optional mantrae.v1.MiddlewareType type = 3;
|
||||
*/
|
||||
type?: MiddlewareType;
|
||||
/**
|
||||
* @generated from field: optional mantrae.v1.MiddlewareType type = 3;
|
||||
*/
|
||||
type?: MiddlewareType;
|
||||
|
||||
/**
|
||||
* @generated from field: optional int64 limit = 4;
|
||||
*/
|
||||
limit?: bigint;
|
||||
/**
|
||||
* @generated from field: optional int64 limit = 4;
|
||||
*/
|
||||
limit?: bigint;
|
||||
|
||||
/**
|
||||
* @generated from field: optional int64 offset = 5;
|
||||
*/
|
||||
offset?: bigint;
|
||||
/**
|
||||
* @generated from field: optional int64 offset = 5;
|
||||
*/
|
||||
offset?: bigint;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.ListMiddlewaresRequest.
|
||||
* Use `create(ListMiddlewaresRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const ListMiddlewaresRequestSchema: GenMessage<ListMiddlewaresRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_middleware, 11);
|
||||
export const ListMiddlewaresRequestSchema: GenMessage<ListMiddlewaresRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_middleware, 11);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.ListMiddlewaresResponse
|
||||
*/
|
||||
export type ListMiddlewaresResponse = Message<'mantrae.v1.ListMiddlewaresResponse'> & {
|
||||
/**
|
||||
* @generated from field: repeated mantrae.v1.Middleware middlewares = 1;
|
||||
*/
|
||||
middlewares: Middleware[];
|
||||
export type ListMiddlewaresResponse = Message<"mantrae.v1.ListMiddlewaresResponse"> & {
|
||||
/**
|
||||
* @generated from field: repeated mantrae.v1.Middleware middlewares = 1;
|
||||
*/
|
||||
middlewares: Middleware[];
|
||||
|
||||
/**
|
||||
* @generated from field: int64 total_count = 2;
|
||||
*/
|
||||
totalCount: bigint;
|
||||
/**
|
||||
* @generated from field: int64 total_count = 2;
|
||||
*/
|
||||
totalCount: bigint;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.ListMiddlewaresResponse.
|
||||
* Use `create(ListMiddlewaresResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const ListMiddlewaresResponseSchema: GenMessage<ListMiddlewaresResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_middleware, 12);
|
||||
export const ListMiddlewaresResponseSchema: GenMessage<ListMiddlewaresResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_middleware, 12);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.GetMiddlewarePluginsRequest
|
||||
*/
|
||||
export type GetMiddlewarePluginsRequest = Message<'mantrae.v1.GetMiddlewarePluginsRequest'> & {};
|
||||
export type GetMiddlewarePluginsRequest = Message<"mantrae.v1.GetMiddlewarePluginsRequest"> & {
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.GetMiddlewarePluginsRequest.
|
||||
* Use `create(GetMiddlewarePluginsRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const GetMiddlewarePluginsRequestSchema: GenMessage<GetMiddlewarePluginsRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_middleware, 13);
|
||||
export const GetMiddlewarePluginsRequestSchema: GenMessage<GetMiddlewarePluginsRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_middleware, 13);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.GetMiddlewarePluginsResponse
|
||||
*/
|
||||
export type GetMiddlewarePluginsResponse = Message<'mantrae.v1.GetMiddlewarePluginsResponse'> & {
|
||||
/**
|
||||
* @generated from field: repeated mantrae.v1.Plugin plugins = 1;
|
||||
*/
|
||||
plugins: Plugin[];
|
||||
export type GetMiddlewarePluginsResponse = Message<"mantrae.v1.GetMiddlewarePluginsResponse"> & {
|
||||
/**
|
||||
* @generated from field: repeated mantrae.v1.Plugin plugins = 1;
|
||||
*/
|
||||
plugins: Plugin[];
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.GetMiddlewarePluginsResponse.
|
||||
* Use `create(GetMiddlewarePluginsResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const GetMiddlewarePluginsResponseSchema: GenMessage<GetMiddlewarePluginsResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_middleware, 14);
|
||||
export const GetMiddlewarePluginsResponseSchema: GenMessage<GetMiddlewarePluginsResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_middleware, 14);
|
||||
|
||||
/**
|
||||
* @generated from enum mantrae.v1.MiddlewareType
|
||||
*/
|
||||
export enum MiddlewareType {
|
||||
/**
|
||||
* @generated from enum value: MIDDLEWARE_TYPE_UNSPECIFIED = 0;
|
||||
*/
|
||||
UNSPECIFIED = 0,
|
||||
/**
|
||||
* @generated from enum value: MIDDLEWARE_TYPE_UNSPECIFIED = 0;
|
||||
*/
|
||||
UNSPECIFIED = 0,
|
||||
|
||||
/**
|
||||
* @generated from enum value: MIDDLEWARE_TYPE_HTTP = 1;
|
||||
*/
|
||||
HTTP = 1,
|
||||
/**
|
||||
* @generated from enum value: MIDDLEWARE_TYPE_HTTP = 1;
|
||||
*/
|
||||
HTTP = 1,
|
||||
|
||||
/**
|
||||
* @generated from enum value: MIDDLEWARE_TYPE_TCP = 2;
|
||||
*/
|
||||
TCP = 2
|
||||
/**
|
||||
* @generated from enum value: MIDDLEWARE_TYPE_TCP = 2;
|
||||
*/
|
||||
TCP = 2,
|
||||
}
|
||||
|
||||
/**
|
||||
* Describes the enum mantrae.v1.MiddlewareType.
|
||||
*/
|
||||
export const MiddlewareTypeSchema: GenEnum<MiddlewareType> =
|
||||
/*@__PURE__*/
|
||||
enumDesc(file_mantrae_v1_middleware, 0);
|
||||
export const MiddlewareTypeSchema: GenEnum<MiddlewareType> = /*@__PURE__*/
|
||||
enumDesc(file_mantrae_v1_middleware, 0);
|
||||
|
||||
/**
|
||||
* @generated from service mantrae.v1.MiddlewareService
|
||||
*/
|
||||
export const MiddlewareService: GenService<{
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.MiddlewareService.GetMiddleware
|
||||
*/
|
||||
getMiddleware: {
|
||||
methodKind: 'unary';
|
||||
input: typeof GetMiddlewareRequestSchema;
|
||||
output: typeof GetMiddlewareResponseSchema;
|
||||
};
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.MiddlewareService.CreateMiddleware
|
||||
*/
|
||||
createMiddleware: {
|
||||
methodKind: 'unary';
|
||||
input: typeof CreateMiddlewareRequestSchema;
|
||||
output: typeof CreateMiddlewareResponseSchema;
|
||||
};
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.MiddlewareService.UpdateMiddleware
|
||||
*/
|
||||
updateMiddleware: {
|
||||
methodKind: 'unary';
|
||||
input: typeof UpdateMiddlewareRequestSchema;
|
||||
output: typeof UpdateMiddlewareResponseSchema;
|
||||
};
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.MiddlewareService.DeleteMiddleware
|
||||
*/
|
||||
deleteMiddleware: {
|
||||
methodKind: 'unary';
|
||||
input: typeof DeleteMiddlewareRequestSchema;
|
||||
output: typeof DeleteMiddlewareResponseSchema;
|
||||
};
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.MiddlewareService.ListMiddlewares
|
||||
*/
|
||||
listMiddlewares: {
|
||||
methodKind: 'unary';
|
||||
input: typeof ListMiddlewaresRequestSchema;
|
||||
output: typeof ListMiddlewaresResponseSchema;
|
||||
};
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.MiddlewareService.GetMiddlewarePlugins
|
||||
*/
|
||||
getMiddlewarePlugins: {
|
||||
methodKind: 'unary';
|
||||
input: typeof GetMiddlewarePluginsRequestSchema;
|
||||
output: typeof GetMiddlewarePluginsResponseSchema;
|
||||
};
|
||||
}> = /*@__PURE__*/ serviceDesc(file_mantrae_v1_middleware, 0);
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.MiddlewareService.GetMiddleware
|
||||
*/
|
||||
getMiddleware: {
|
||||
methodKind: "unary";
|
||||
input: typeof GetMiddlewareRequestSchema;
|
||||
output: typeof GetMiddlewareResponseSchema;
|
||||
},
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.MiddlewareService.CreateMiddleware
|
||||
*/
|
||||
createMiddleware: {
|
||||
methodKind: "unary";
|
||||
input: typeof CreateMiddlewareRequestSchema;
|
||||
output: typeof CreateMiddlewareResponseSchema;
|
||||
},
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.MiddlewareService.UpdateMiddleware
|
||||
*/
|
||||
updateMiddleware: {
|
||||
methodKind: "unary";
|
||||
input: typeof UpdateMiddlewareRequestSchema;
|
||||
output: typeof UpdateMiddlewareResponseSchema;
|
||||
},
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.MiddlewareService.DeleteMiddleware
|
||||
*/
|
||||
deleteMiddleware: {
|
||||
methodKind: "unary";
|
||||
input: typeof DeleteMiddlewareRequestSchema;
|
||||
output: typeof DeleteMiddlewareResponseSchema;
|
||||
},
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.MiddlewareService.ListMiddlewares
|
||||
*/
|
||||
listMiddlewares: {
|
||||
methodKind: "unary";
|
||||
input: typeof ListMiddlewaresRequestSchema;
|
||||
output: typeof ListMiddlewaresResponseSchema;
|
||||
},
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.MiddlewareService.GetMiddlewarePlugins
|
||||
*/
|
||||
getMiddlewarePlugins: {
|
||||
methodKind: "unary";
|
||||
input: typeof GetMiddlewarePluginsRequestSchema;
|
||||
output: typeof GetMiddlewarePluginsResponseSchema;
|
||||
},
|
||||
}> = /*@__PURE__*/
|
||||
serviceDesc(file_mantrae_v1_middleware, 0);
|
||||
|
||||
|
||||
@@ -2,303 +2,291 @@
|
||||
// @generated from file mantrae/v1/profile.proto (package mantrae.v1, syntax proto3)
|
||||
/* eslint-disable */
|
||||
|
||||
import type { GenFile, GenMessage, GenService } from '@bufbuild/protobuf/codegenv2';
|
||||
import { fileDesc, messageDesc, serviceDesc } from '@bufbuild/protobuf/codegenv2';
|
||||
import { file_buf_validate_validate } from '../../buf/validate/validate_pb';
|
||||
import type { Timestamp } from '@bufbuild/protobuf/wkt';
|
||||
import { file_google_protobuf_timestamp } from '@bufbuild/protobuf/wkt';
|
||||
import type { Message } from '@bufbuild/protobuf';
|
||||
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
||||
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
||||
import { file_buf_validate_validate } from "../../buf/validate/validate_pb";
|
||||
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
||||
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
||||
import type { Message } from "@bufbuild/protobuf";
|
||||
|
||||
/**
|
||||
* Describes the file mantrae/v1/profile.proto.
|
||||
*/
|
||||
export const file_mantrae_v1_profile: GenFile =
|
||||
/*@__PURE__*/
|
||||
fileDesc(
|
||||
'ChhtYW50cmFlL3YxL3Byb2ZpbGUucHJvdG8SCm1hbnRyYWUudjEimAEKB1Byb2ZpbGUSCgoCaWQYASABKAMSDAoEbmFtZRgCIAEoCRITCgtkZXNjcmlwdGlvbhgDIAEoCRIuCgpjcmVhdGVkX2F0GAQgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIuCgp1cGRhdGVkX2F0GAUgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcCIrChFHZXRQcm9maWxlUmVxdWVzdBIWCgJpZBgBIAEoA0IKukgHyAEBIgIgACI6ChJHZXRQcm9maWxlUmVzcG9uc2USJAoHcHJvZmlsZRgBIAEoCzITLm1hbnRyYWUudjEuUHJvZmlsZSJaChRDcmVhdGVQcm9maWxlUmVxdWVzdBIYCgRuYW1lGAEgASgJQgq6SAfIAQFyAhABEhgKC2Rlc2NyaXB0aW9uGAIgASgJSACIAQFCDgoMX2Rlc2NyaXB0aW9uIj0KFUNyZWF0ZVByb2ZpbGVSZXNwb25zZRIkCgdwcm9maWxlGAEgASgLMhMubWFudHJhZS52MS5Qcm9maWxlInIKFFVwZGF0ZVByb2ZpbGVSZXF1ZXN0EhYKAmlkGAEgASgDQgq6SAfIAQEiAiAAEhgKBG5hbWUYAiABKAlCCrpIB8gBAXICEAESGAoLZGVzY3JpcHRpb24YAyABKAlIAIgBAUIOCgxfZGVzY3JpcHRpb24iPQoVVXBkYXRlUHJvZmlsZVJlc3BvbnNlEiQKB3Byb2ZpbGUYASABKAsyEy5tYW50cmFlLnYxLlByb2ZpbGUiLgoURGVsZXRlUHJvZmlsZVJlcXVlc3QSFgoCaWQYASABKANCCrpIB8gBASICIAAiFwoVRGVsZXRlUHJvZmlsZVJlc3BvbnNlIrQBChNMaXN0UHJvZmlsZXNSZXF1ZXN0EmoKBWxpbWl0GAEgASgDQla6SFO6AVAKC2xpbWl0LnZhbGlkEilsaW1pdCBtdXN0IGJlIGVpdGhlciAtMSBvciBncmVhdGVyIHRoYW4gMBoWdGhpcyA9PSAtMSB8fCB0aGlzID4gMEgAiAEBEhwKBm9mZnNldBgCIAEoA0IHukgEIgIoAEgBiAEBQggKBl9saW1pdEIJCgdfb2Zmc2V0IlIKFExpc3RQcm9maWxlc1Jlc3BvbnNlEiUKCHByb2ZpbGVzGAEgAygLMhMubWFudHJhZS52MS5Qcm9maWxlEhMKC3RvdGFsX2NvdW50GAIgASgDMrwDCg5Qcm9maWxlU2VydmljZRJQCgpHZXRQcm9maWxlEh0ubWFudHJhZS52MS5HZXRQcm9maWxlUmVxdWVzdBoeLm1hbnRyYWUudjEuR2V0UHJvZmlsZVJlc3BvbnNlIgOQAgESVAoNQ3JlYXRlUHJvZmlsZRIgLm1hbnRyYWUudjEuQ3JlYXRlUHJvZmlsZVJlcXVlc3QaIS5tYW50cmFlLnYxLkNyZWF0ZVByb2ZpbGVSZXNwb25zZRJUCg1VcGRhdGVQcm9maWxlEiAubWFudHJhZS52MS5VcGRhdGVQcm9maWxlUmVxdWVzdBohLm1hbnRyYWUudjEuVXBkYXRlUHJvZmlsZVJlc3BvbnNlElQKDURlbGV0ZVByb2ZpbGUSIC5tYW50cmFlLnYxLkRlbGV0ZVByb2ZpbGVSZXF1ZXN0GiEubWFudHJhZS52MS5EZWxldGVQcm9maWxlUmVzcG9uc2USVgoMTGlzdFByb2ZpbGVzEh8ubWFudHJhZS52MS5MaXN0UHJvZmlsZXNSZXF1ZXN0GiAubWFudHJhZS52MS5MaXN0UHJvZmlsZXNSZXNwb25zZSIDkAIBQqYBCg5jb20ubWFudHJhZS52MUIMUHJvZmlsZVByb3RvUAFaPWdpdGh1Yi5jb20vbWl6dWNoaWxhYnMvbWFudHJhZS9wcm90by9nZW4vbWFudHJhZS92MTttYW50cmFldjGiAgNNWFiqAgpNYW50cmFlLlYxygIKTWFudHJhZVxWMeICFk1hbnRyYWVcVjFcR1BCTWV0YWRhdGHqAgtNYW50cmFlOjpWMWIGcHJvdG8z',
|
||||
[file_buf_validate_validate, file_google_protobuf_timestamp]
|
||||
);
|
||||
export const file_mantrae_v1_profile: GenFile = /*@__PURE__*/
|
||||
fileDesc("ChhtYW50cmFlL3YxL3Byb2ZpbGUucHJvdG8SCm1hbnRyYWUudjEimAEKB1Byb2ZpbGUSCgoCaWQYASABKAMSDAoEbmFtZRgCIAEoCRITCgtkZXNjcmlwdGlvbhgDIAEoCRIuCgpjcmVhdGVkX2F0GAQgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIuCgp1cGRhdGVkX2F0GAUgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcCIoChFHZXRQcm9maWxlUmVxdWVzdBITCgJpZBgBIAEoA0IHukgEIgIgACI6ChJHZXRQcm9maWxlUmVzcG9uc2USJAoHcHJvZmlsZRgBIAEoCzITLm1hbnRyYWUudjEuUHJvZmlsZSJXChRDcmVhdGVQcm9maWxlUmVxdWVzdBIVCgRuYW1lGAEgASgJQge6SARyAhABEhgKC2Rlc2NyaXB0aW9uGAIgASgJSACIAQFCDgoMX2Rlc2NyaXB0aW9uIj0KFUNyZWF0ZVByb2ZpbGVSZXNwb25zZRIkCgdwcm9maWxlGAEgASgLMhMubWFudHJhZS52MS5Qcm9maWxlImwKFFVwZGF0ZVByb2ZpbGVSZXF1ZXN0EhMKAmlkGAEgASgDQge6SAQiAiAAEhUKBG5hbWUYAiABKAlCB7pIBHICEAESGAoLZGVzY3JpcHRpb24YAyABKAlIAIgBAUIOCgxfZGVzY3JpcHRpb24iPQoVVXBkYXRlUHJvZmlsZVJlc3BvbnNlEiQKB3Byb2ZpbGUYASABKAsyEy5tYW50cmFlLnYxLlByb2ZpbGUiKwoURGVsZXRlUHJvZmlsZVJlcXVlc3QSEwoCaWQYASABKANCB7pIBCICIAAiFwoVRGVsZXRlUHJvZmlsZVJlc3BvbnNlIrQBChNMaXN0UHJvZmlsZXNSZXF1ZXN0EmoKBWxpbWl0GAEgASgDQla6SFO6AVAKC2xpbWl0LnZhbGlkEilsaW1pdCBtdXN0IGJlIGVpdGhlciAtMSBvciBncmVhdGVyIHRoYW4gMBoWdGhpcyA9PSAtMSB8fCB0aGlzID4gMEgAiAEBEhwKBm9mZnNldBgCIAEoA0IHukgEIgIoAEgBiAEBQggKBl9saW1pdEIJCgdfb2Zmc2V0IlIKFExpc3RQcm9maWxlc1Jlc3BvbnNlEiUKCHByb2ZpbGVzGAEgAygLMhMubWFudHJhZS52MS5Qcm9maWxlEhMKC3RvdGFsX2NvdW50GAIgASgDMrwDCg5Qcm9maWxlU2VydmljZRJQCgpHZXRQcm9maWxlEh0ubWFudHJhZS52MS5HZXRQcm9maWxlUmVxdWVzdBoeLm1hbnRyYWUudjEuR2V0UHJvZmlsZVJlc3BvbnNlIgOQAgESVAoNQ3JlYXRlUHJvZmlsZRIgLm1hbnRyYWUudjEuQ3JlYXRlUHJvZmlsZVJlcXVlc3QaIS5tYW50cmFlLnYxLkNyZWF0ZVByb2ZpbGVSZXNwb25zZRJUCg1VcGRhdGVQcm9maWxlEiAubWFudHJhZS52MS5VcGRhdGVQcm9maWxlUmVxdWVzdBohLm1hbnRyYWUudjEuVXBkYXRlUHJvZmlsZVJlc3BvbnNlElQKDURlbGV0ZVByb2ZpbGUSIC5tYW50cmFlLnYxLkRlbGV0ZVByb2ZpbGVSZXF1ZXN0GiEubWFudHJhZS52MS5EZWxldGVQcm9maWxlUmVzcG9uc2USVgoMTGlzdFByb2ZpbGVzEh8ubWFudHJhZS52MS5MaXN0UHJvZmlsZXNSZXF1ZXN0GiAubWFudHJhZS52MS5MaXN0UHJvZmlsZXNSZXNwb25zZSIDkAIBQqYBCg5jb20ubWFudHJhZS52MUIMUHJvZmlsZVByb3RvUAFaPWdpdGh1Yi5jb20vbWl6dWNoaWxhYnMvbWFudHJhZS9wcm90by9nZW4vbWFudHJhZS92MTttYW50cmFldjGiAgNNWFiqAgpNYW50cmFlLlYxygIKTWFudHJhZVxWMeICFk1hbnRyYWVcVjFcR1BCTWV0YWRhdGHqAgtNYW50cmFlOjpWMWIGcHJvdG8z", [file_buf_validate_validate, file_google_protobuf_timestamp]);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.Profile
|
||||
*/
|
||||
export type Profile = Message<'mantrae.v1.Profile'> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
export type Profile = Message<"mantrae.v1.Profile"> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
|
||||
/**
|
||||
* @generated from field: string name = 2;
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* @generated from field: string name = 2;
|
||||
*/
|
||||
name: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string description = 3;
|
||||
*/
|
||||
description: string;
|
||||
/**
|
||||
* @generated from field: string description = 3;
|
||||
*/
|
||||
description: string;
|
||||
|
||||
/**
|
||||
* @generated from field: google.protobuf.Timestamp created_at = 4;
|
||||
*/
|
||||
createdAt?: Timestamp;
|
||||
/**
|
||||
* @generated from field: google.protobuf.Timestamp created_at = 4;
|
||||
*/
|
||||
createdAt?: Timestamp;
|
||||
|
||||
/**
|
||||
* @generated from field: google.protobuf.Timestamp updated_at = 5;
|
||||
*/
|
||||
updatedAt?: Timestamp;
|
||||
/**
|
||||
* @generated from field: google.protobuf.Timestamp updated_at = 5;
|
||||
*/
|
||||
updatedAt?: Timestamp;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.Profile.
|
||||
* Use `create(ProfileSchema)` to create a new message.
|
||||
*/
|
||||
export const ProfileSchema: GenMessage<Profile> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_profile, 0);
|
||||
export const ProfileSchema: GenMessage<Profile> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_profile, 0);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.GetProfileRequest
|
||||
*/
|
||||
export type GetProfileRequest = Message<'mantrae.v1.GetProfileRequest'> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
export type GetProfileRequest = Message<"mantrae.v1.GetProfileRequest"> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.GetProfileRequest.
|
||||
* Use `create(GetProfileRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const GetProfileRequestSchema: GenMessage<GetProfileRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_profile, 1);
|
||||
export const GetProfileRequestSchema: GenMessage<GetProfileRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_profile, 1);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.GetProfileResponse
|
||||
*/
|
||||
export type GetProfileResponse = Message<'mantrae.v1.GetProfileResponse'> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Profile profile = 1;
|
||||
*/
|
||||
profile?: Profile;
|
||||
export type GetProfileResponse = Message<"mantrae.v1.GetProfileResponse"> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Profile profile = 1;
|
||||
*/
|
||||
profile?: Profile;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.GetProfileResponse.
|
||||
* Use `create(GetProfileResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const GetProfileResponseSchema: GenMessage<GetProfileResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_profile, 2);
|
||||
export const GetProfileResponseSchema: GenMessage<GetProfileResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_profile, 2);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.CreateProfileRequest
|
||||
*/
|
||||
export type CreateProfileRequest = Message<'mantrae.v1.CreateProfileRequest'> & {
|
||||
/**
|
||||
* @generated from field: string name = 1;
|
||||
*/
|
||||
name: string;
|
||||
export type CreateProfileRequest = Message<"mantrae.v1.CreateProfileRequest"> & {
|
||||
/**
|
||||
* @generated from field: string name = 1;
|
||||
*/
|
||||
name: string;
|
||||
|
||||
/**
|
||||
* @generated from field: optional string description = 2;
|
||||
*/
|
||||
description?: string;
|
||||
/**
|
||||
* @generated from field: optional string description = 2;
|
||||
*/
|
||||
description?: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.CreateProfileRequest.
|
||||
* Use `create(CreateProfileRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const CreateProfileRequestSchema: GenMessage<CreateProfileRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_profile, 3);
|
||||
export const CreateProfileRequestSchema: GenMessage<CreateProfileRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_profile, 3);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.CreateProfileResponse
|
||||
*/
|
||||
export type CreateProfileResponse = Message<'mantrae.v1.CreateProfileResponse'> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Profile profile = 1;
|
||||
*/
|
||||
profile?: Profile;
|
||||
export type CreateProfileResponse = Message<"mantrae.v1.CreateProfileResponse"> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Profile profile = 1;
|
||||
*/
|
||||
profile?: Profile;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.CreateProfileResponse.
|
||||
* Use `create(CreateProfileResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const CreateProfileResponseSchema: GenMessage<CreateProfileResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_profile, 4);
|
||||
export const CreateProfileResponseSchema: GenMessage<CreateProfileResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_profile, 4);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.UpdateProfileRequest
|
||||
*/
|
||||
export type UpdateProfileRequest = Message<'mantrae.v1.UpdateProfileRequest'> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
export type UpdateProfileRequest = Message<"mantrae.v1.UpdateProfileRequest"> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
|
||||
/**
|
||||
* @generated from field: string name = 2;
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* @generated from field: string name = 2;
|
||||
*/
|
||||
name: string;
|
||||
|
||||
/**
|
||||
* @generated from field: optional string description = 3;
|
||||
*/
|
||||
description?: string;
|
||||
/**
|
||||
* @generated from field: optional string description = 3;
|
||||
*/
|
||||
description?: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.UpdateProfileRequest.
|
||||
* Use `create(UpdateProfileRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const UpdateProfileRequestSchema: GenMessage<UpdateProfileRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_profile, 5);
|
||||
export const UpdateProfileRequestSchema: GenMessage<UpdateProfileRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_profile, 5);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.UpdateProfileResponse
|
||||
*/
|
||||
export type UpdateProfileResponse = Message<'mantrae.v1.UpdateProfileResponse'> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Profile profile = 1;
|
||||
*/
|
||||
profile?: Profile;
|
||||
export type UpdateProfileResponse = Message<"mantrae.v1.UpdateProfileResponse"> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Profile profile = 1;
|
||||
*/
|
||||
profile?: Profile;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.UpdateProfileResponse.
|
||||
* Use `create(UpdateProfileResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const UpdateProfileResponseSchema: GenMessage<UpdateProfileResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_profile, 6);
|
||||
export const UpdateProfileResponseSchema: GenMessage<UpdateProfileResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_profile, 6);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.DeleteProfileRequest
|
||||
*/
|
||||
export type DeleteProfileRequest = Message<'mantrae.v1.DeleteProfileRequest'> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
export type DeleteProfileRequest = Message<"mantrae.v1.DeleteProfileRequest"> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.DeleteProfileRequest.
|
||||
* Use `create(DeleteProfileRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const DeleteProfileRequestSchema: GenMessage<DeleteProfileRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_profile, 7);
|
||||
export const DeleteProfileRequestSchema: GenMessage<DeleteProfileRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_profile, 7);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.DeleteProfileResponse
|
||||
*/
|
||||
export type DeleteProfileResponse = Message<'mantrae.v1.DeleteProfileResponse'> & {};
|
||||
export type DeleteProfileResponse = Message<"mantrae.v1.DeleteProfileResponse"> & {
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.DeleteProfileResponse.
|
||||
* Use `create(DeleteProfileResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const DeleteProfileResponseSchema: GenMessage<DeleteProfileResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_profile, 8);
|
||||
export const DeleteProfileResponseSchema: GenMessage<DeleteProfileResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_profile, 8);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.ListProfilesRequest
|
||||
*/
|
||||
export type ListProfilesRequest = Message<'mantrae.v1.ListProfilesRequest'> & {
|
||||
/**
|
||||
* @generated from field: optional int64 limit = 1;
|
||||
*/
|
||||
limit?: bigint;
|
||||
export type ListProfilesRequest = Message<"mantrae.v1.ListProfilesRequest"> & {
|
||||
/**
|
||||
* @generated from field: optional int64 limit = 1;
|
||||
*/
|
||||
limit?: bigint;
|
||||
|
||||
/**
|
||||
* @generated from field: optional int64 offset = 2;
|
||||
*/
|
||||
offset?: bigint;
|
||||
/**
|
||||
* @generated from field: optional int64 offset = 2;
|
||||
*/
|
||||
offset?: bigint;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.ListProfilesRequest.
|
||||
* Use `create(ListProfilesRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const ListProfilesRequestSchema: GenMessage<ListProfilesRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_profile, 9);
|
||||
export const ListProfilesRequestSchema: GenMessage<ListProfilesRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_profile, 9);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.ListProfilesResponse
|
||||
*/
|
||||
export type ListProfilesResponse = Message<'mantrae.v1.ListProfilesResponse'> & {
|
||||
/**
|
||||
* @generated from field: repeated mantrae.v1.Profile profiles = 1;
|
||||
*/
|
||||
profiles: Profile[];
|
||||
export type ListProfilesResponse = Message<"mantrae.v1.ListProfilesResponse"> & {
|
||||
/**
|
||||
* @generated from field: repeated mantrae.v1.Profile profiles = 1;
|
||||
*/
|
||||
profiles: Profile[];
|
||||
|
||||
/**
|
||||
* @generated from field: int64 total_count = 2;
|
||||
*/
|
||||
totalCount: bigint;
|
||||
/**
|
||||
* @generated from field: int64 total_count = 2;
|
||||
*/
|
||||
totalCount: bigint;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.ListProfilesResponse.
|
||||
* Use `create(ListProfilesResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const ListProfilesResponseSchema: GenMessage<ListProfilesResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_profile, 10);
|
||||
export const ListProfilesResponseSchema: GenMessage<ListProfilesResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_profile, 10);
|
||||
|
||||
/**
|
||||
* @generated from service mantrae.v1.ProfileService
|
||||
*/
|
||||
export const ProfileService: GenService<{
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.ProfileService.GetProfile
|
||||
*/
|
||||
getProfile: {
|
||||
methodKind: 'unary';
|
||||
input: typeof GetProfileRequestSchema;
|
||||
output: typeof GetProfileResponseSchema;
|
||||
};
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.ProfileService.CreateProfile
|
||||
*/
|
||||
createProfile: {
|
||||
methodKind: 'unary';
|
||||
input: typeof CreateProfileRequestSchema;
|
||||
output: typeof CreateProfileResponseSchema;
|
||||
};
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.ProfileService.UpdateProfile
|
||||
*/
|
||||
updateProfile: {
|
||||
methodKind: 'unary';
|
||||
input: typeof UpdateProfileRequestSchema;
|
||||
output: typeof UpdateProfileResponseSchema;
|
||||
};
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.ProfileService.DeleteProfile
|
||||
*/
|
||||
deleteProfile: {
|
||||
methodKind: 'unary';
|
||||
input: typeof DeleteProfileRequestSchema;
|
||||
output: typeof DeleteProfileResponseSchema;
|
||||
};
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.ProfileService.ListProfiles
|
||||
*/
|
||||
listProfiles: {
|
||||
methodKind: 'unary';
|
||||
input: typeof ListProfilesRequestSchema;
|
||||
output: typeof ListProfilesResponseSchema;
|
||||
};
|
||||
}> = /*@__PURE__*/ serviceDesc(file_mantrae_v1_profile, 0);
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.ProfileService.GetProfile
|
||||
*/
|
||||
getProfile: {
|
||||
methodKind: "unary";
|
||||
input: typeof GetProfileRequestSchema;
|
||||
output: typeof GetProfileResponseSchema;
|
||||
},
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.ProfileService.CreateProfile
|
||||
*/
|
||||
createProfile: {
|
||||
methodKind: "unary";
|
||||
input: typeof CreateProfileRequestSchema;
|
||||
output: typeof CreateProfileResponseSchema;
|
||||
},
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.ProfileService.UpdateProfile
|
||||
*/
|
||||
updateProfile: {
|
||||
methodKind: "unary";
|
||||
input: typeof UpdateProfileRequestSchema;
|
||||
output: typeof UpdateProfileResponseSchema;
|
||||
},
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.ProfileService.DeleteProfile
|
||||
*/
|
||||
deleteProfile: {
|
||||
methodKind: "unary";
|
||||
input: typeof DeleteProfileRequestSchema;
|
||||
output: typeof DeleteProfileResponseSchema;
|
||||
},
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.ProfileService.ListProfiles
|
||||
*/
|
||||
listProfiles: {
|
||||
methodKind: "unary";
|
||||
input: typeof ListProfilesRequestSchema;
|
||||
output: typeof ListProfilesResponseSchema;
|
||||
},
|
||||
}> = /*@__PURE__*/
|
||||
serviceDesc(file_mantrae_v1_profile, 0);
|
||||
|
||||
|
||||
@@ -2,430 +2,409 @@
|
||||
// @generated from file mantrae/v1/router.proto (package mantrae.v1, syntax proto3)
|
||||
/* eslint-disable */
|
||||
|
||||
import type { GenEnum, GenFile, GenMessage, GenService } from '@bufbuild/protobuf/codegenv2';
|
||||
import { enumDesc, fileDesc, messageDesc, serviceDesc } from '@bufbuild/protobuf/codegenv2';
|
||||
import { file_buf_validate_validate } from '../../buf/validate/validate_pb';
|
||||
import type { Timestamp } from '@bufbuild/protobuf/wkt';
|
||||
import {
|
||||
file_google_protobuf_struct,
|
||||
file_google_protobuf_timestamp
|
||||
} from '@bufbuild/protobuf/wkt';
|
||||
import type { DnsProvider } from './dns_provider_pb';
|
||||
import { file_mantrae_v1_dns_provider } from './dns_provider_pb';
|
||||
import type { JsonObject, Message } from '@bufbuild/protobuf';
|
||||
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
||||
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
||||
import { file_buf_validate_validate } from "../../buf/validate/validate_pb";
|
||||
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
||||
import { file_google_protobuf_struct, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
||||
import type { DnsProvider } from "./dns_provider_pb";
|
||||
import { file_mantrae_v1_dns_provider } from "./dns_provider_pb";
|
||||
import type { JsonObject, Message } from "@bufbuild/protobuf";
|
||||
|
||||
/**
|
||||
* Describes the file mantrae/v1/router.proto.
|
||||
*/
|
||||
export const file_mantrae_v1_router: GenFile =
|
||||
/*@__PURE__*/
|
||||
fileDesc(
|
||||
'ChdtYW50cmFlL3YxL3JvdXRlci5wcm90bxIKbWFudHJhZS52MSK4AgoGUm91dGVyEgoKAmlkGAEgASgDEhIKCnByb2ZpbGVfaWQYAiABKAMSEAoIYWdlbnRfaWQYAyABKAkSDAoEbmFtZRgEIAEoCRInCgZjb25maWcYBSABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0Eg8KB2VuYWJsZWQYBiABKAgSJAoEdHlwZRgHIAEoDjIWLm1hbnRyYWUudjEuUm91dGVyVHlwZRIuCg1kbnNfcHJvdmlkZXJzGAggAygLMhcubWFudHJhZS52MS5EbnNQcm92aWRlchIuCgpjcmVhdGVkX2F0GAkgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIuCgp1cGRhdGVkX2F0GAogASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcCJdChBHZXRSb3V0ZXJSZXF1ZXN0EhYKAmlkGAEgASgDQgq6SAfIAQEiAiAAEjEKBHR5cGUYAiABKA4yFi5tYW50cmFlLnYxLlJvdXRlclR5cGVCC7pICMgBAYIBAhABIjcKEUdldFJvdXRlclJlc3BvbnNlEiIKBnJvdXRlchgBIAEoCzISLm1hbnRyYWUudjEuUm91dGVyIs4BChNDcmVhdGVSb3V0ZXJSZXF1ZXN0Eh4KCnByb2ZpbGVfaWQYASABKANCCrpIB8gBASICIAASEAoIYWdlbnRfaWQYAiABKAkSGAoEbmFtZRgDIAEoCUIKukgHyAEBcgIQARInCgZjb25maWcYBCABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0Eg8KB2VuYWJsZWQYBSABKAgSMQoEdHlwZRgGIAEoDjIWLm1hbnRyYWUudjEuUm91dGVyVHlwZUILukgIyAEBggECEAEiOgoUQ3JlYXRlUm91dGVyUmVzcG9uc2USIgoGcm91dGVyGAEgASgLMhIubWFudHJhZS52MS5Sb3V0ZXIi5AEKE1VwZGF0ZVJvdXRlclJlcXVlc3QSFgoCaWQYASABKANCCrpIB8gBASICIAASGAoEbmFtZRgCIAEoCUIKukgHyAEBcgIQARIxCgR0eXBlGAMgASgOMhYubWFudHJhZS52MS5Sb3V0ZXJUeXBlQgu6SAjIAQGCAQIQARInCgZjb25maWcYBCABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0Eg8KB2VuYWJsZWQYBSABKAgSLgoNZG5zX3Byb3ZpZGVycxgGIAMoCzIXLm1hbnRyYWUudjEuRG5zUHJvdmlkZXIiOgoUVXBkYXRlUm91dGVyUmVzcG9uc2USIgoGcm91dGVyGAEgASgLMhIubWFudHJhZS52MS5Sb3V0ZXIiYAoTRGVsZXRlUm91dGVyUmVxdWVzdBIWCgJpZBgBIAEoA0IKukgHyAEBIgIgABIxCgR0eXBlGAIgASgOMhYubWFudHJhZS52MS5Sb3V0ZXJUeXBlQgu6SAjIAQGCAQIQASIWChREZWxldGVSb3V0ZXJSZXNwb25zZSK+AgoSTGlzdFJvdXRlcnNSZXF1ZXN0Eh4KCnByb2ZpbGVfaWQYASABKANCCrpIB8gBASICIAASHgoIYWdlbnRfaWQYAiABKAlCB7pIBHICEAFIAIgBARIzCgR0eXBlGAMgASgOMhYubWFudHJhZS52MS5Sb3V0ZXJUeXBlQgi6SAWCAQIQAUgBiAEBEmoKBWxpbWl0GAQgASgDQla6SFO6AVAKC2xpbWl0LnZhbGlkEilsaW1pdCBtdXN0IGJlIGVpdGhlciAtMSBvciBncmVhdGVyIHRoYW4gMBoWdGhpcyA9PSAtMSB8fCB0aGlzID4gMEgCiAEBEhwKBm9mZnNldBgFIAEoA0IHukgEIgIoAEgDiAEBQgsKCV9hZ2VudF9pZEIHCgVfdHlwZUIICgZfbGltaXRCCQoHX29mZnNldCJPChNMaXN0Um91dGVyc1Jlc3BvbnNlEiMKB3JvdXRlcnMYASADKAsyEi5tYW50cmFlLnYxLlJvdXRlchITCgt0b3RhbF9jb3VudBgCIAEoAyppCgpSb3V0ZXJUeXBlEhsKF1JPVVRFUl9UWVBFX1VOU1BFQ0lGSUVEEAASFAoQUk9VVEVSX1RZUEVfSFRUUBABEhMKD1JPVVRFUl9UWVBFX1RDUBACEhMKD1JPVVRFUl9UWVBFX1VEUBADMqwDCg1Sb3V0ZXJTZXJ2aWNlEk0KCUdldFJvdXRlchIcLm1hbnRyYWUudjEuR2V0Um91dGVyUmVxdWVzdBodLm1hbnRyYWUudjEuR2V0Um91dGVyUmVzcG9uc2UiA5ACARJRCgxDcmVhdGVSb3V0ZXISHy5tYW50cmFlLnYxLkNyZWF0ZVJvdXRlclJlcXVlc3QaIC5tYW50cmFlLnYxLkNyZWF0ZVJvdXRlclJlc3BvbnNlElEKDFVwZGF0ZVJvdXRlchIfLm1hbnRyYWUudjEuVXBkYXRlUm91dGVyUmVxdWVzdBogLm1hbnRyYWUudjEuVXBkYXRlUm91dGVyUmVzcG9uc2USUQoMRGVsZXRlUm91dGVyEh8ubWFudHJhZS52MS5EZWxldGVSb3V0ZXJSZXF1ZXN0GiAubWFudHJhZS52MS5EZWxldGVSb3V0ZXJSZXNwb25zZRJTCgtMaXN0Um91dGVycxIeLm1hbnRyYWUudjEuTGlzdFJvdXRlcnNSZXF1ZXN0Gh8ubWFudHJhZS52MS5MaXN0Um91dGVyc1Jlc3BvbnNlIgOQAgFCpQEKDmNvbS5tYW50cmFlLnYxQgtSb3V0ZXJQcm90b1ABWj1naXRodWIuY29tL21penVjaGlsYWJzL21hbnRyYWUvcHJvdG8vZ2VuL21hbnRyYWUvdjE7bWFudHJhZXYxogIDTVhYqgIKTWFudHJhZS5WMcoCCk1hbnRyYWVcVjHiAhZNYW50cmFlXFYxXEdQQk1ldGFkYXRh6gILTWFudHJhZTo6VjFiBnByb3RvMw',
|
||||
[
|
||||
file_buf_validate_validate,
|
||||
file_google_protobuf_struct,
|
||||
file_google_protobuf_timestamp,
|
||||
file_mantrae_v1_dns_provider
|
||||
]
|
||||
);
|
||||
export const file_mantrae_v1_router: GenFile = /*@__PURE__*/
|
||||
fileDesc("ChdtYW50cmFlL3YxL3JvdXRlci5wcm90bxIKbWFudHJhZS52MSK4AgoGUm91dGVyEgoKAmlkGAEgASgDEhIKCnByb2ZpbGVfaWQYAiABKAMSEAoIYWdlbnRfaWQYAyABKAkSDAoEbmFtZRgEIAEoCRInCgZjb25maWcYBSABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0Eg8KB2VuYWJsZWQYBiABKAgSJAoEdHlwZRgHIAEoDjIWLm1hbnRyYWUudjEuUm91dGVyVHlwZRIuCg1kbnNfcHJvdmlkZXJzGAggAygLMhcubWFudHJhZS52MS5EbnNQcm92aWRlchIuCgpjcmVhdGVkX2F0GAkgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIuCgp1cGRhdGVkX2F0GAogASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcCJXChBHZXRSb3V0ZXJSZXF1ZXN0EhMKAmlkGAEgASgDQge6SAQiAiAAEi4KBHR5cGUYAiABKA4yFi5tYW50cmFlLnYxLlJvdXRlclR5cGVCCLpIBYIBAhABIjcKEUdldFJvdXRlclJlc3BvbnNlEiIKBnJvdXRlchgBIAEoCzISLm1hbnRyYWUudjEuUm91dGVyIsgBChNDcmVhdGVSb3V0ZXJSZXF1ZXN0EhsKCnByb2ZpbGVfaWQYASABKANCB7pIBCICIAASEAoIYWdlbnRfaWQYAiABKAkSFQoEbmFtZRgDIAEoCUIHukgEcgIQARInCgZjb25maWcYBCABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0Eg8KB2VuYWJsZWQYBSABKAgSMQoEdHlwZRgGIAEoDjIWLm1hbnRyYWUudjEuUm91dGVyVHlwZUILukgIyAEBggECEAEiOgoUQ3JlYXRlUm91dGVyUmVzcG9uc2USIgoGcm91dGVyGAEgASgLMhIubWFudHJhZS52MS5Sb3V0ZXIi2wEKE1VwZGF0ZVJvdXRlclJlcXVlc3QSEwoCaWQYASABKANCB7pIBCICIAASFQoEbmFtZRgCIAEoCUIHukgEcgIQARIuCgR0eXBlGAMgASgOMhYubWFudHJhZS52MS5Sb3V0ZXJUeXBlQgi6SAWCAQIQARInCgZjb25maWcYBCABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0Eg8KB2VuYWJsZWQYBSABKAgSLgoNZG5zX3Byb3ZpZGVycxgGIAMoCzIXLm1hbnRyYWUudjEuRG5zUHJvdmlkZXIiOgoUVXBkYXRlUm91dGVyUmVzcG9uc2USIgoGcm91dGVyGAEgASgLMhIubWFudHJhZS52MS5Sb3V0ZXIiWgoTRGVsZXRlUm91dGVyUmVxdWVzdBITCgJpZBgBIAEoA0IHukgEIgIgABIuCgR0eXBlGAIgASgOMhYubWFudHJhZS52MS5Sb3V0ZXJUeXBlQgi6SAWCAQIQASIWChREZWxldGVSb3V0ZXJSZXNwb25zZSK7AgoSTGlzdFJvdXRlcnNSZXF1ZXN0EhsKCnByb2ZpbGVfaWQYASABKANCB7pIBCICIAASHgoIYWdlbnRfaWQYAiABKAlCB7pIBHICEAFIAIgBARIzCgR0eXBlGAMgASgOMhYubWFudHJhZS52MS5Sb3V0ZXJUeXBlQgi6SAWCAQIQAUgBiAEBEmoKBWxpbWl0GAQgASgDQla6SFO6AVAKC2xpbWl0LnZhbGlkEilsaW1pdCBtdXN0IGJlIGVpdGhlciAtMSBvciBncmVhdGVyIHRoYW4gMBoWdGhpcyA9PSAtMSB8fCB0aGlzID4gMEgCiAEBEhwKBm9mZnNldBgFIAEoA0IHukgEIgIoAEgDiAEBQgsKCV9hZ2VudF9pZEIHCgVfdHlwZUIICgZfbGltaXRCCQoHX29mZnNldCJPChNMaXN0Um91dGVyc1Jlc3BvbnNlEiMKB3JvdXRlcnMYASADKAsyEi5tYW50cmFlLnYxLlJvdXRlchITCgt0b3RhbF9jb3VudBgCIAEoAyppCgpSb3V0ZXJUeXBlEhsKF1JPVVRFUl9UWVBFX1VOU1BFQ0lGSUVEEAASFAoQUk9VVEVSX1RZUEVfSFRUUBABEhMKD1JPVVRFUl9UWVBFX1RDUBACEhMKD1JPVVRFUl9UWVBFX1VEUBADMqwDCg1Sb3V0ZXJTZXJ2aWNlEk0KCUdldFJvdXRlchIcLm1hbnRyYWUudjEuR2V0Um91dGVyUmVxdWVzdBodLm1hbnRyYWUudjEuR2V0Um91dGVyUmVzcG9uc2UiA5ACARJRCgxDcmVhdGVSb3V0ZXISHy5tYW50cmFlLnYxLkNyZWF0ZVJvdXRlclJlcXVlc3QaIC5tYW50cmFlLnYxLkNyZWF0ZVJvdXRlclJlc3BvbnNlElEKDFVwZGF0ZVJvdXRlchIfLm1hbnRyYWUudjEuVXBkYXRlUm91dGVyUmVxdWVzdBogLm1hbnRyYWUudjEuVXBkYXRlUm91dGVyUmVzcG9uc2USUQoMRGVsZXRlUm91dGVyEh8ubWFudHJhZS52MS5EZWxldGVSb3V0ZXJSZXF1ZXN0GiAubWFudHJhZS52MS5EZWxldGVSb3V0ZXJSZXNwb25zZRJTCgtMaXN0Um91dGVycxIeLm1hbnRyYWUudjEuTGlzdFJvdXRlcnNSZXF1ZXN0Gh8ubWFudHJhZS52MS5MaXN0Um91dGVyc1Jlc3BvbnNlIgOQAgFCpQEKDmNvbS5tYW50cmFlLnYxQgtSb3V0ZXJQcm90b1ABWj1naXRodWIuY29tL21penVjaGlsYWJzL21hbnRyYWUvcHJvdG8vZ2VuL21hbnRyYWUvdjE7bWFudHJhZXYxogIDTVhYqgIKTWFudHJhZS5WMcoCCk1hbnRyYWVcVjHiAhZNYW50cmFlXFYxXEdQQk1ldGFkYXRh6gILTWFudHJhZTo6VjFiBnByb3RvMw", [file_buf_validate_validate, file_google_protobuf_struct, file_google_protobuf_timestamp, file_mantrae_v1_dns_provider]);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.Router
|
||||
*/
|
||||
export type Router = Message<'mantrae.v1.Router'> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
export type Router = Message<"mantrae.v1.Router"> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
|
||||
/**
|
||||
* @generated from field: int64 profile_id = 2;
|
||||
*/
|
||||
profileId: bigint;
|
||||
/**
|
||||
* @generated from field: int64 profile_id = 2;
|
||||
*/
|
||||
profileId: bigint;
|
||||
|
||||
/**
|
||||
* @generated from field: string agent_id = 3;
|
||||
*/
|
||||
agentId: string;
|
||||
/**
|
||||
* @generated from field: string agent_id = 3;
|
||||
*/
|
||||
agentId: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string name = 4;
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* @generated from field: string name = 4;
|
||||
*/
|
||||
name: string;
|
||||
|
||||
/**
|
||||
* @generated from field: google.protobuf.Struct config = 5;
|
||||
*/
|
||||
config?: JsonObject;
|
||||
/**
|
||||
* @generated from field: google.protobuf.Struct config = 5;
|
||||
*/
|
||||
config?: JsonObject;
|
||||
|
||||
/**
|
||||
* @generated from field: bool enabled = 6;
|
||||
*/
|
||||
enabled: boolean;
|
||||
/**
|
||||
* @generated from field: bool enabled = 6;
|
||||
*/
|
||||
enabled: boolean;
|
||||
|
||||
/**
|
||||
* @generated from field: mantrae.v1.RouterType type = 7;
|
||||
*/
|
||||
type: RouterType;
|
||||
/**
|
||||
* @generated from field: mantrae.v1.RouterType type = 7;
|
||||
*/
|
||||
type: RouterType;
|
||||
|
||||
/**
|
||||
* @generated from field: repeated mantrae.v1.DnsProvider dns_providers = 8;
|
||||
*/
|
||||
dnsProviders: DnsProvider[];
|
||||
/**
|
||||
* @generated from field: repeated mantrae.v1.DnsProvider dns_providers = 8;
|
||||
*/
|
||||
dnsProviders: DnsProvider[];
|
||||
|
||||
/**
|
||||
* @generated from field: google.protobuf.Timestamp created_at = 9;
|
||||
*/
|
||||
createdAt?: Timestamp;
|
||||
/**
|
||||
* @generated from field: google.protobuf.Timestamp created_at = 9;
|
||||
*/
|
||||
createdAt?: Timestamp;
|
||||
|
||||
/**
|
||||
* @generated from field: google.protobuf.Timestamp updated_at = 10;
|
||||
*/
|
||||
updatedAt?: Timestamp;
|
||||
/**
|
||||
* @generated from field: google.protobuf.Timestamp updated_at = 10;
|
||||
*/
|
||||
updatedAt?: Timestamp;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.Router.
|
||||
* Use `create(RouterSchema)` to create a new message.
|
||||
*/
|
||||
export const RouterSchema: GenMessage<Router> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_router, 0);
|
||||
export const RouterSchema: GenMessage<Router> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_router, 0);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.GetRouterRequest
|
||||
*/
|
||||
export type GetRouterRequest = Message<'mantrae.v1.GetRouterRequest'> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
export type GetRouterRequest = Message<"mantrae.v1.GetRouterRequest"> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
|
||||
/**
|
||||
* @generated from field: mantrae.v1.RouterType type = 2;
|
||||
*/
|
||||
type: RouterType;
|
||||
/**
|
||||
* @generated from field: mantrae.v1.RouterType type = 2;
|
||||
*/
|
||||
type: RouterType;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.GetRouterRequest.
|
||||
* Use `create(GetRouterRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const GetRouterRequestSchema: GenMessage<GetRouterRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_router, 1);
|
||||
export const GetRouterRequestSchema: GenMessage<GetRouterRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_router, 1);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.GetRouterResponse
|
||||
*/
|
||||
export type GetRouterResponse = Message<'mantrae.v1.GetRouterResponse'> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Router router = 1;
|
||||
*/
|
||||
router?: Router;
|
||||
export type GetRouterResponse = Message<"mantrae.v1.GetRouterResponse"> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Router router = 1;
|
||||
*/
|
||||
router?: Router;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.GetRouterResponse.
|
||||
* Use `create(GetRouterResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const GetRouterResponseSchema: GenMessage<GetRouterResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_router, 2);
|
||||
export const GetRouterResponseSchema: GenMessage<GetRouterResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_router, 2);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.CreateRouterRequest
|
||||
*/
|
||||
export type CreateRouterRequest = Message<'mantrae.v1.CreateRouterRequest'> & {
|
||||
/**
|
||||
* @generated from field: int64 profile_id = 1;
|
||||
*/
|
||||
profileId: bigint;
|
||||
export type CreateRouterRequest = Message<"mantrae.v1.CreateRouterRequest"> & {
|
||||
/**
|
||||
* @generated from field: int64 profile_id = 1;
|
||||
*/
|
||||
profileId: bigint;
|
||||
|
||||
/**
|
||||
* @generated from field: string agent_id = 2;
|
||||
*/
|
||||
agentId: string;
|
||||
/**
|
||||
* @generated from field: string agent_id = 2;
|
||||
*/
|
||||
agentId: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string name = 3;
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* @generated from field: string name = 3;
|
||||
*/
|
||||
name: string;
|
||||
|
||||
/**
|
||||
* @generated from field: google.protobuf.Struct config = 4;
|
||||
*/
|
||||
config?: JsonObject;
|
||||
/**
|
||||
* @generated from field: google.protobuf.Struct config = 4;
|
||||
*/
|
||||
config?: JsonObject;
|
||||
|
||||
/**
|
||||
* @generated from field: bool enabled = 5;
|
||||
*/
|
||||
enabled: boolean;
|
||||
/**
|
||||
* @generated from field: bool enabled = 5;
|
||||
*/
|
||||
enabled: boolean;
|
||||
|
||||
/**
|
||||
* @generated from field: mantrae.v1.RouterType type = 6;
|
||||
*/
|
||||
type: RouterType;
|
||||
/**
|
||||
* @generated from field: mantrae.v1.RouterType type = 6;
|
||||
*/
|
||||
type: RouterType;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.CreateRouterRequest.
|
||||
* Use `create(CreateRouterRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const CreateRouterRequestSchema: GenMessage<CreateRouterRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_router, 3);
|
||||
export const CreateRouterRequestSchema: GenMessage<CreateRouterRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_router, 3);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.CreateRouterResponse
|
||||
*/
|
||||
export type CreateRouterResponse = Message<'mantrae.v1.CreateRouterResponse'> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Router router = 1;
|
||||
*/
|
||||
router?: Router;
|
||||
export type CreateRouterResponse = Message<"mantrae.v1.CreateRouterResponse"> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Router router = 1;
|
||||
*/
|
||||
router?: Router;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.CreateRouterResponse.
|
||||
* Use `create(CreateRouterResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const CreateRouterResponseSchema: GenMessage<CreateRouterResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_router, 4);
|
||||
export const CreateRouterResponseSchema: GenMessage<CreateRouterResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_router, 4);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.UpdateRouterRequest
|
||||
*/
|
||||
export type UpdateRouterRequest = Message<'mantrae.v1.UpdateRouterRequest'> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
export type UpdateRouterRequest = Message<"mantrae.v1.UpdateRouterRequest"> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
|
||||
/**
|
||||
* @generated from field: string name = 2;
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* @generated from field: string name = 2;
|
||||
*/
|
||||
name: string;
|
||||
|
||||
/**
|
||||
* @generated from field: mantrae.v1.RouterType type = 3;
|
||||
*/
|
||||
type: RouterType;
|
||||
/**
|
||||
* @generated from field: mantrae.v1.RouterType type = 3;
|
||||
*/
|
||||
type: RouterType;
|
||||
|
||||
/**
|
||||
* @generated from field: google.protobuf.Struct config = 4;
|
||||
*/
|
||||
config?: JsonObject;
|
||||
/**
|
||||
* @generated from field: google.protobuf.Struct config = 4;
|
||||
*/
|
||||
config?: JsonObject;
|
||||
|
||||
/**
|
||||
* @generated from field: bool enabled = 5;
|
||||
*/
|
||||
enabled: boolean;
|
||||
/**
|
||||
* @generated from field: bool enabled = 5;
|
||||
*/
|
||||
enabled: boolean;
|
||||
|
||||
/**
|
||||
* @generated from field: repeated mantrae.v1.DnsProvider dns_providers = 6;
|
||||
*/
|
||||
dnsProviders: DnsProvider[];
|
||||
/**
|
||||
* @generated from field: repeated mantrae.v1.DnsProvider dns_providers = 6;
|
||||
*/
|
||||
dnsProviders: DnsProvider[];
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.UpdateRouterRequest.
|
||||
* Use `create(UpdateRouterRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const UpdateRouterRequestSchema: GenMessage<UpdateRouterRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_router, 5);
|
||||
export const UpdateRouterRequestSchema: GenMessage<UpdateRouterRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_router, 5);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.UpdateRouterResponse
|
||||
*/
|
||||
export type UpdateRouterResponse = Message<'mantrae.v1.UpdateRouterResponse'> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Router router = 1;
|
||||
*/
|
||||
router?: Router;
|
||||
export type UpdateRouterResponse = Message<"mantrae.v1.UpdateRouterResponse"> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Router router = 1;
|
||||
*/
|
||||
router?: Router;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.UpdateRouterResponse.
|
||||
* Use `create(UpdateRouterResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const UpdateRouterResponseSchema: GenMessage<UpdateRouterResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_router, 6);
|
||||
export const UpdateRouterResponseSchema: GenMessage<UpdateRouterResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_router, 6);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.DeleteRouterRequest
|
||||
*/
|
||||
export type DeleteRouterRequest = Message<'mantrae.v1.DeleteRouterRequest'> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
export type DeleteRouterRequest = Message<"mantrae.v1.DeleteRouterRequest"> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
|
||||
/**
|
||||
* @generated from field: mantrae.v1.RouterType type = 2;
|
||||
*/
|
||||
type: RouterType;
|
||||
/**
|
||||
* @generated from field: mantrae.v1.RouterType type = 2;
|
||||
*/
|
||||
type: RouterType;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.DeleteRouterRequest.
|
||||
* Use `create(DeleteRouterRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const DeleteRouterRequestSchema: GenMessage<DeleteRouterRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_router, 7);
|
||||
export const DeleteRouterRequestSchema: GenMessage<DeleteRouterRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_router, 7);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.DeleteRouterResponse
|
||||
*/
|
||||
export type DeleteRouterResponse = Message<'mantrae.v1.DeleteRouterResponse'> & {};
|
||||
export type DeleteRouterResponse = Message<"mantrae.v1.DeleteRouterResponse"> & {
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.DeleteRouterResponse.
|
||||
* Use `create(DeleteRouterResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const DeleteRouterResponseSchema: GenMessage<DeleteRouterResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_router, 8);
|
||||
export const DeleteRouterResponseSchema: GenMessage<DeleteRouterResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_router, 8);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.ListRoutersRequest
|
||||
*/
|
||||
export type ListRoutersRequest = Message<'mantrae.v1.ListRoutersRequest'> & {
|
||||
/**
|
||||
* @generated from field: int64 profile_id = 1;
|
||||
*/
|
||||
profileId: bigint;
|
||||
export type ListRoutersRequest = Message<"mantrae.v1.ListRoutersRequest"> & {
|
||||
/**
|
||||
* @generated from field: int64 profile_id = 1;
|
||||
*/
|
||||
profileId: bigint;
|
||||
|
||||
/**
|
||||
* @generated from field: optional string agent_id = 2;
|
||||
*/
|
||||
agentId?: string;
|
||||
/**
|
||||
* @generated from field: optional string agent_id = 2;
|
||||
*/
|
||||
agentId?: string;
|
||||
|
||||
/**
|
||||
* @generated from field: optional mantrae.v1.RouterType type = 3;
|
||||
*/
|
||||
type?: RouterType;
|
||||
/**
|
||||
* @generated from field: optional mantrae.v1.RouterType type = 3;
|
||||
*/
|
||||
type?: RouterType;
|
||||
|
||||
/**
|
||||
* @generated from field: optional int64 limit = 4;
|
||||
*/
|
||||
limit?: bigint;
|
||||
/**
|
||||
* @generated from field: optional int64 limit = 4;
|
||||
*/
|
||||
limit?: bigint;
|
||||
|
||||
/**
|
||||
* @generated from field: optional int64 offset = 5;
|
||||
*/
|
||||
offset?: bigint;
|
||||
/**
|
||||
* @generated from field: optional int64 offset = 5;
|
||||
*/
|
||||
offset?: bigint;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.ListRoutersRequest.
|
||||
* Use `create(ListRoutersRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const ListRoutersRequestSchema: GenMessage<ListRoutersRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_router, 9);
|
||||
export const ListRoutersRequestSchema: GenMessage<ListRoutersRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_router, 9);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.ListRoutersResponse
|
||||
*/
|
||||
export type ListRoutersResponse = Message<'mantrae.v1.ListRoutersResponse'> & {
|
||||
/**
|
||||
* @generated from field: repeated mantrae.v1.Router routers = 1;
|
||||
*/
|
||||
routers: Router[];
|
||||
export type ListRoutersResponse = Message<"mantrae.v1.ListRoutersResponse"> & {
|
||||
/**
|
||||
* @generated from field: repeated mantrae.v1.Router routers = 1;
|
||||
*/
|
||||
routers: Router[];
|
||||
|
||||
/**
|
||||
* @generated from field: int64 total_count = 2;
|
||||
*/
|
||||
totalCount: bigint;
|
||||
/**
|
||||
* @generated from field: int64 total_count = 2;
|
||||
*/
|
||||
totalCount: bigint;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.ListRoutersResponse.
|
||||
* Use `create(ListRoutersResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const ListRoutersResponseSchema: GenMessage<ListRoutersResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_router, 10);
|
||||
export const ListRoutersResponseSchema: GenMessage<ListRoutersResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_router, 10);
|
||||
|
||||
/**
|
||||
* @generated from enum mantrae.v1.RouterType
|
||||
*/
|
||||
export enum RouterType {
|
||||
/**
|
||||
* @generated from enum value: ROUTER_TYPE_UNSPECIFIED = 0;
|
||||
*/
|
||||
UNSPECIFIED = 0,
|
||||
/**
|
||||
* @generated from enum value: ROUTER_TYPE_UNSPECIFIED = 0;
|
||||
*/
|
||||
UNSPECIFIED = 0,
|
||||
|
||||
/**
|
||||
* @generated from enum value: ROUTER_TYPE_HTTP = 1;
|
||||
*/
|
||||
HTTP = 1,
|
||||
/**
|
||||
* @generated from enum value: ROUTER_TYPE_HTTP = 1;
|
||||
*/
|
||||
HTTP = 1,
|
||||
|
||||
/**
|
||||
* @generated from enum value: ROUTER_TYPE_TCP = 2;
|
||||
*/
|
||||
TCP = 2,
|
||||
/**
|
||||
* @generated from enum value: ROUTER_TYPE_TCP = 2;
|
||||
*/
|
||||
TCP = 2,
|
||||
|
||||
/**
|
||||
* @generated from enum value: ROUTER_TYPE_UDP = 3;
|
||||
*/
|
||||
UDP = 3
|
||||
/**
|
||||
* @generated from enum value: ROUTER_TYPE_UDP = 3;
|
||||
*/
|
||||
UDP = 3,
|
||||
}
|
||||
|
||||
/**
|
||||
* Describes the enum mantrae.v1.RouterType.
|
||||
*/
|
||||
export const RouterTypeSchema: GenEnum<RouterType> =
|
||||
/*@__PURE__*/
|
||||
enumDesc(file_mantrae_v1_router, 0);
|
||||
export const RouterTypeSchema: GenEnum<RouterType> = /*@__PURE__*/
|
||||
enumDesc(file_mantrae_v1_router, 0);
|
||||
|
||||
/**
|
||||
* @generated from service mantrae.v1.RouterService
|
||||
*/
|
||||
export const RouterService: GenService<{
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.RouterService.GetRouter
|
||||
*/
|
||||
getRouter: {
|
||||
methodKind: 'unary';
|
||||
input: typeof GetRouterRequestSchema;
|
||||
output: typeof GetRouterResponseSchema;
|
||||
};
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.RouterService.CreateRouter
|
||||
*/
|
||||
createRouter: {
|
||||
methodKind: 'unary';
|
||||
input: typeof CreateRouterRequestSchema;
|
||||
output: typeof CreateRouterResponseSchema;
|
||||
};
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.RouterService.UpdateRouter
|
||||
*/
|
||||
updateRouter: {
|
||||
methodKind: 'unary';
|
||||
input: typeof UpdateRouterRequestSchema;
|
||||
output: typeof UpdateRouterResponseSchema;
|
||||
};
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.RouterService.DeleteRouter
|
||||
*/
|
||||
deleteRouter: {
|
||||
methodKind: 'unary';
|
||||
input: typeof DeleteRouterRequestSchema;
|
||||
output: typeof DeleteRouterResponseSchema;
|
||||
};
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.RouterService.ListRouters
|
||||
*/
|
||||
listRouters: {
|
||||
methodKind: 'unary';
|
||||
input: typeof ListRoutersRequestSchema;
|
||||
output: typeof ListRoutersResponseSchema;
|
||||
};
|
||||
}> = /*@__PURE__*/ serviceDesc(file_mantrae_v1_router, 0);
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.RouterService.GetRouter
|
||||
*/
|
||||
getRouter: {
|
||||
methodKind: "unary";
|
||||
input: typeof GetRouterRequestSchema;
|
||||
output: typeof GetRouterResponseSchema;
|
||||
},
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.RouterService.CreateRouter
|
||||
*/
|
||||
createRouter: {
|
||||
methodKind: "unary";
|
||||
input: typeof CreateRouterRequestSchema;
|
||||
output: typeof CreateRouterResponseSchema;
|
||||
},
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.RouterService.UpdateRouter
|
||||
*/
|
||||
updateRouter: {
|
||||
methodKind: "unary";
|
||||
input: typeof UpdateRouterRequestSchema;
|
||||
output: typeof UpdateRouterResponseSchema;
|
||||
},
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.RouterService.DeleteRouter
|
||||
*/
|
||||
deleteRouter: {
|
||||
methodKind: "unary";
|
||||
input: typeof DeleteRouterRequestSchema;
|
||||
output: typeof DeleteRouterResponseSchema;
|
||||
},
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.RouterService.ListRouters
|
||||
*/
|
||||
listRouters: {
|
||||
methodKind: "unary";
|
||||
input: typeof ListRoutersRequestSchema;
|
||||
output: typeof ListRoutersResponseSchema;
|
||||
},
|
||||
}> = /*@__PURE__*/
|
||||
serviceDesc(file_mantrae_v1_router, 0);
|
||||
|
||||
|
||||
@@ -2,454 +2,431 @@
|
||||
// @generated from file mantrae/v1/service.proto (package mantrae.v1, syntax proto3)
|
||||
/* eslint-disable */
|
||||
|
||||
import type { GenEnum, GenFile, GenMessage, GenService } from '@bufbuild/protobuf/codegenv2';
|
||||
import { enumDesc, fileDesc, messageDesc, serviceDesc } from '@bufbuild/protobuf/codegenv2';
|
||||
import { file_buf_validate_validate } from '../../buf/validate/validate_pb';
|
||||
import type { Timestamp } from '@bufbuild/protobuf/wkt';
|
||||
import {
|
||||
file_google_protobuf_struct,
|
||||
file_google_protobuf_timestamp
|
||||
} from '@bufbuild/protobuf/wkt';
|
||||
import type { RouterType } from './router_pb';
|
||||
import { file_mantrae_v1_router } from './router_pb';
|
||||
import type { JsonObject, Message } from '@bufbuild/protobuf';
|
||||
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
||||
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
||||
import { file_buf_validate_validate } from "../../buf/validate/validate_pb";
|
||||
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
||||
import { file_google_protobuf_struct, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
||||
import type { RouterType } from "./router_pb";
|
||||
import { file_mantrae_v1_router } from "./router_pb";
|
||||
import type { JsonObject, Message } from "@bufbuild/protobuf";
|
||||
|
||||
/**
|
||||
* Describes the file mantrae/v1/service.proto.
|
||||
*/
|
||||
export const file_mantrae_v1_service: GenFile =
|
||||
/*@__PURE__*/
|
||||
fileDesc(
|
||||
'ChhtYW50cmFlL3YxL3NlcnZpY2UucHJvdG8SCm1hbnRyYWUudjEi+QEKB1NlcnZpY2USCgoCaWQYASABKAMSEgoKcHJvZmlsZV9pZBgCIAEoAxIQCghhZ2VudF9pZBgDIAEoCRIMCgRuYW1lGAQgASgJEicKBmNvbmZpZxgFIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3QSJQoEdHlwZRgGIAEoDjIXLm1hbnRyYWUudjEuU2VydmljZVR5cGUSLgoKY3JlYXRlZF9hdBgHIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASLgoKdXBkYXRlZF9hdBgIIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAiXwoRR2V0U2VydmljZVJlcXVlc3QSFgoCaWQYASABKANCCrpIB8gBASICIAASMgoEdHlwZRgCIAEoDjIXLm1hbnRyYWUudjEuU2VydmljZVR5cGVCC7pICMgBAYIBAhABIjoKEkdldFNlcnZpY2VSZXNwb25zZRIkCgdzZXJ2aWNlGAEgASgLMhMubWFudHJhZS52MS5TZXJ2aWNlIr8BChRDcmVhdGVTZXJ2aWNlUmVxdWVzdBIeCgpwcm9maWxlX2lkGAEgASgDQgq6SAfIAQEiAiAAEhAKCGFnZW50X2lkGAIgASgJEhgKBG5hbWUYAyABKAlCCrpIB8gBAXICEAESJwoGY29uZmlnGAQgASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdBIyCgR0eXBlGAUgASgOMhcubWFudHJhZS52MS5TZXJ2aWNlVHlwZUILukgIyAEBggECEAEiPQoVQ3JlYXRlU2VydmljZVJlc3BvbnNlEiQKB3NlcnZpY2UYASABKAsyEy5tYW50cmFlLnYxLlNlcnZpY2UipQEKFFVwZGF0ZVNlcnZpY2VSZXF1ZXN0EhYKAmlkGAEgASgDQgq6SAfIAQEiAiAAEhgKBG5hbWUYAiABKAlCCrpIB8gBAXICEAESJwoGY29uZmlnGAMgASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdBIyCgR0eXBlGAQgASgOMhcubWFudHJhZS52MS5TZXJ2aWNlVHlwZUILukgIyAEBggECEAEiPQoVVXBkYXRlU2VydmljZVJlc3BvbnNlEiQKB3NlcnZpY2UYASABKAsyEy5tYW50cmFlLnYxLlNlcnZpY2UiYgoURGVsZXRlU2VydmljZVJlcXVlc3QSFgoCaWQYASABKANCCrpIB8gBASICIAASMgoEdHlwZRgCIAEoDjIXLm1hbnRyYWUudjEuU2VydmljZVR5cGVCC7pICMgBAYIBAhABIhcKFURlbGV0ZVNlcnZpY2VSZXNwb25zZSLAAgoTTGlzdFNlcnZpY2VzUmVxdWVzdBIeCgpwcm9maWxlX2lkGAEgASgDQgq6SAfIAQEiAiAAEh4KCGFnZW50X2lkGAIgASgJQge6SARyAhABSACIAQESNAoEdHlwZRgDIAEoDjIXLm1hbnRyYWUudjEuU2VydmljZVR5cGVCCLpIBYIBAhABSAGIAQESagoFbGltaXQYBCABKANCVrpIU7oBUAoLbGltaXQudmFsaWQSKWxpbWl0IG11c3QgYmUgZWl0aGVyIC0xIG9yIGdyZWF0ZXIgdGhhbiAwGhZ0aGlzID09IC0xIHx8IHRoaXMgPiAwSAKIAQESHAoGb2Zmc2V0GAUgASgDQge6SAQiAigASAOIAQFCCwoJX2FnZW50X2lkQgcKBV90eXBlQggKBl9saW1pdEIJCgdfb2Zmc2V0IlIKFExpc3RTZXJ2aWNlc1Jlc3BvbnNlEiUKCHNlcnZpY2VzGAEgAygLMhMubWFudHJhZS52MS5TZXJ2aWNlEhMKC3RvdGFsX2NvdW50GAIgASgDImgKGUdldFNlcnZpY2VCeVJvdXRlclJlcXVlc3QSGAoEbmFtZRgBIAEoCUIKukgHyAEBcgIQARIxCgR0eXBlGAIgASgOMhYubWFudHJhZS52MS5Sb3V0ZXJUeXBlQgu6SAjIAQGCAQIQASJCChpHZXRTZXJ2aWNlQnlSb3V0ZXJSZXNwb25zZRIkCgdzZXJ2aWNlGAEgASgLMhMubWFudHJhZS52MS5TZXJ2aWNlKm4KC1NlcnZpY2VUeXBlEhwKGFNFUlZJQ0VfVFlQRV9VTlNQRUNJRklFRBAAEhUKEVNFUlZJQ0VfVFlQRV9IVFRQEAESFAoQU0VSVklDRV9UWVBFX1RDUBACEhQKEFNFUlZJQ0VfVFlQRV9VRFAQAzKmBAoOU2VydmljZVNlcnZpY2USUAoKR2V0U2VydmljZRIdLm1hbnRyYWUudjEuR2V0U2VydmljZVJlcXVlc3QaHi5tYW50cmFlLnYxLkdldFNlcnZpY2VSZXNwb25zZSIDkAIBElQKDUNyZWF0ZVNlcnZpY2USIC5tYW50cmFlLnYxLkNyZWF0ZVNlcnZpY2VSZXF1ZXN0GiEubWFudHJhZS52MS5DcmVhdGVTZXJ2aWNlUmVzcG9uc2USVAoNVXBkYXRlU2VydmljZRIgLm1hbnRyYWUudjEuVXBkYXRlU2VydmljZVJlcXVlc3QaIS5tYW50cmFlLnYxLlVwZGF0ZVNlcnZpY2VSZXNwb25zZRJUCg1EZWxldGVTZXJ2aWNlEiAubWFudHJhZS52MS5EZWxldGVTZXJ2aWNlUmVxdWVzdBohLm1hbnRyYWUudjEuRGVsZXRlU2VydmljZVJlc3BvbnNlElYKDExpc3RTZXJ2aWNlcxIfLm1hbnRyYWUudjEuTGlzdFNlcnZpY2VzUmVxdWVzdBogLm1hbnRyYWUudjEuTGlzdFNlcnZpY2VzUmVzcG9uc2UiA5ACARJoChJHZXRTZXJ2aWNlQnlSb3V0ZXISJS5tYW50cmFlLnYxLkdldFNlcnZpY2VCeVJvdXRlclJlcXVlc3QaJi5tYW50cmFlLnYxLkdldFNlcnZpY2VCeVJvdXRlclJlc3BvbnNlIgOQAgFCpgEKDmNvbS5tYW50cmFlLnYxQgxTZXJ2aWNlUHJvdG9QAVo9Z2l0aHViLmNvbS9taXp1Y2hpbGFicy9tYW50cmFlL3Byb3RvL2dlbi9tYW50cmFlL3YxO21hbnRyYWV2MaICA01YWKoCCk1hbnRyYWUuVjHKAgpNYW50cmFlXFYx4gIWTWFudHJhZVxWMVxHUEJNZXRhZGF0YeoCC01hbnRyYWU6OlYxYgZwcm90bzM',
|
||||
[
|
||||
file_buf_validate_validate,
|
||||
file_google_protobuf_struct,
|
||||
file_google_protobuf_timestamp,
|
||||
file_mantrae_v1_router
|
||||
]
|
||||
);
|
||||
export const file_mantrae_v1_service: GenFile = /*@__PURE__*/
|
||||
fileDesc("ChhtYW50cmFlL3YxL3NlcnZpY2UucHJvdG8SCm1hbnRyYWUudjEi+QEKB1NlcnZpY2USCgoCaWQYASABKAMSEgoKcHJvZmlsZV9pZBgCIAEoAxIQCghhZ2VudF9pZBgDIAEoCRIMCgRuYW1lGAQgASgJEicKBmNvbmZpZxgFIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3QSJQoEdHlwZRgGIAEoDjIXLm1hbnRyYWUudjEuU2VydmljZVR5cGUSLgoKY3JlYXRlZF9hdBgHIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASLgoKdXBkYXRlZF9hdBgIIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAiWQoRR2V0U2VydmljZVJlcXVlc3QSEwoCaWQYASABKANCB7pIBCICIAASLwoEdHlwZRgCIAEoDjIXLm1hbnRyYWUudjEuU2VydmljZVR5cGVCCLpIBYIBAhABIjoKEkdldFNlcnZpY2VSZXNwb25zZRIkCgdzZXJ2aWNlGAEgASgLMhMubWFudHJhZS52MS5TZXJ2aWNlIrYBChRDcmVhdGVTZXJ2aWNlUmVxdWVzdBIbCgpwcm9maWxlX2lkGAEgASgDQge6SAQiAiAAEhAKCGFnZW50X2lkGAIgASgJEhUKBG5hbWUYAyABKAlCB7pIBHICEAESJwoGY29uZmlnGAQgASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdBIvCgR0eXBlGAUgASgOMhcubWFudHJhZS52MS5TZXJ2aWNlVHlwZUIIukgFggECEAEiPQoVQ3JlYXRlU2VydmljZVJlc3BvbnNlEiQKB3NlcnZpY2UYASABKAsyEy5tYW50cmFlLnYxLlNlcnZpY2UinAEKFFVwZGF0ZVNlcnZpY2VSZXF1ZXN0EhMKAmlkGAEgASgDQge6SAQiAiAAEhUKBG5hbWUYAiABKAlCB7pIBHICEAESJwoGY29uZmlnGAMgASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdBIvCgR0eXBlGAQgASgOMhcubWFudHJhZS52MS5TZXJ2aWNlVHlwZUIIukgFggECEAEiPQoVVXBkYXRlU2VydmljZVJlc3BvbnNlEiQKB3NlcnZpY2UYASABKAsyEy5tYW50cmFlLnYxLlNlcnZpY2UiXAoURGVsZXRlU2VydmljZVJlcXVlc3QSEwoCaWQYASABKANCB7pIBCICIAASLwoEdHlwZRgCIAEoDjIXLm1hbnRyYWUudjEuU2VydmljZVR5cGVCCLpIBYIBAhABIhcKFURlbGV0ZVNlcnZpY2VSZXNwb25zZSK9AgoTTGlzdFNlcnZpY2VzUmVxdWVzdBIbCgpwcm9maWxlX2lkGAEgASgDQge6SAQiAiAAEh4KCGFnZW50X2lkGAIgASgJQge6SARyAhABSACIAQESNAoEdHlwZRgDIAEoDjIXLm1hbnRyYWUudjEuU2VydmljZVR5cGVCCLpIBYIBAhABSAGIAQESagoFbGltaXQYBCABKANCVrpIU7oBUAoLbGltaXQudmFsaWQSKWxpbWl0IG11c3QgYmUgZWl0aGVyIC0xIG9yIGdyZWF0ZXIgdGhhbiAwGhZ0aGlzID09IC0xIHx8IHRoaXMgPiAwSAKIAQESHAoGb2Zmc2V0GAUgASgDQge6SAQiAigASAOIAQFCCwoJX2FnZW50X2lkQgcKBV90eXBlQggKBl9saW1pdEIJCgdfb2Zmc2V0IlIKFExpc3RTZXJ2aWNlc1Jlc3BvbnNlEiUKCHNlcnZpY2VzGAEgAygLMhMubWFudHJhZS52MS5TZXJ2aWNlEhMKC3RvdGFsX2NvdW50GAIgASgDImgKGUdldFNlcnZpY2VCeVJvdXRlclJlcXVlc3QSGAoEbmFtZRgBIAEoCUIKukgHyAEBcgIQARIxCgR0eXBlGAIgASgOMhYubWFudHJhZS52MS5Sb3V0ZXJUeXBlQgu6SAjIAQGCAQIQASJCChpHZXRTZXJ2aWNlQnlSb3V0ZXJSZXNwb25zZRIkCgdzZXJ2aWNlGAEgASgLMhMubWFudHJhZS52MS5TZXJ2aWNlKm4KC1NlcnZpY2VUeXBlEhwKGFNFUlZJQ0VfVFlQRV9VTlNQRUNJRklFRBAAEhUKEVNFUlZJQ0VfVFlQRV9IVFRQEAESFAoQU0VSVklDRV9UWVBFX1RDUBACEhQKEFNFUlZJQ0VfVFlQRV9VRFAQAzKmBAoOU2VydmljZVNlcnZpY2USUAoKR2V0U2VydmljZRIdLm1hbnRyYWUudjEuR2V0U2VydmljZVJlcXVlc3QaHi5tYW50cmFlLnYxLkdldFNlcnZpY2VSZXNwb25zZSIDkAIBElQKDUNyZWF0ZVNlcnZpY2USIC5tYW50cmFlLnYxLkNyZWF0ZVNlcnZpY2VSZXF1ZXN0GiEubWFudHJhZS52MS5DcmVhdGVTZXJ2aWNlUmVzcG9uc2USVAoNVXBkYXRlU2VydmljZRIgLm1hbnRyYWUudjEuVXBkYXRlU2VydmljZVJlcXVlc3QaIS5tYW50cmFlLnYxLlVwZGF0ZVNlcnZpY2VSZXNwb25zZRJUCg1EZWxldGVTZXJ2aWNlEiAubWFudHJhZS52MS5EZWxldGVTZXJ2aWNlUmVxdWVzdBohLm1hbnRyYWUudjEuRGVsZXRlU2VydmljZVJlc3BvbnNlElYKDExpc3RTZXJ2aWNlcxIfLm1hbnRyYWUudjEuTGlzdFNlcnZpY2VzUmVxdWVzdBogLm1hbnRyYWUudjEuTGlzdFNlcnZpY2VzUmVzcG9uc2UiA5ACARJoChJHZXRTZXJ2aWNlQnlSb3V0ZXISJS5tYW50cmFlLnYxLkdldFNlcnZpY2VCeVJvdXRlclJlcXVlc3QaJi5tYW50cmFlLnYxLkdldFNlcnZpY2VCeVJvdXRlclJlc3BvbnNlIgOQAgFCpgEKDmNvbS5tYW50cmFlLnYxQgxTZXJ2aWNlUHJvdG9QAVo9Z2l0aHViLmNvbS9taXp1Y2hpbGFicy9tYW50cmFlL3Byb3RvL2dlbi9tYW50cmFlL3YxO21hbnRyYWV2MaICA01YWKoCCk1hbnRyYWUuVjHKAgpNYW50cmFlXFYx4gIWTWFudHJhZVxWMVxHUEJNZXRhZGF0YeoCC01hbnRyYWU6OlYxYgZwcm90bzM", [file_buf_validate_validate, file_google_protobuf_struct, file_google_protobuf_timestamp, file_mantrae_v1_router]);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.Service
|
||||
*/
|
||||
export type Service = Message<'mantrae.v1.Service'> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
export type Service = Message<"mantrae.v1.Service"> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
|
||||
/**
|
||||
* @generated from field: int64 profile_id = 2;
|
||||
*/
|
||||
profileId: bigint;
|
||||
/**
|
||||
* @generated from field: int64 profile_id = 2;
|
||||
*/
|
||||
profileId: bigint;
|
||||
|
||||
/**
|
||||
* @generated from field: string agent_id = 3;
|
||||
*/
|
||||
agentId: string;
|
||||
/**
|
||||
* @generated from field: string agent_id = 3;
|
||||
*/
|
||||
agentId: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string name = 4;
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* @generated from field: string name = 4;
|
||||
*/
|
||||
name: string;
|
||||
|
||||
/**
|
||||
* @generated from field: google.protobuf.Struct config = 5;
|
||||
*/
|
||||
config?: JsonObject;
|
||||
/**
|
||||
* @generated from field: google.protobuf.Struct config = 5;
|
||||
*/
|
||||
config?: JsonObject;
|
||||
|
||||
/**
|
||||
* @generated from field: mantrae.v1.ServiceType type = 6;
|
||||
*/
|
||||
type: ServiceType;
|
||||
/**
|
||||
* @generated from field: mantrae.v1.ServiceType type = 6;
|
||||
*/
|
||||
type: ServiceType;
|
||||
|
||||
/**
|
||||
* @generated from field: google.protobuf.Timestamp created_at = 7;
|
||||
*/
|
||||
createdAt?: Timestamp;
|
||||
/**
|
||||
* @generated from field: google.protobuf.Timestamp created_at = 7;
|
||||
*/
|
||||
createdAt?: Timestamp;
|
||||
|
||||
/**
|
||||
* @generated from field: google.protobuf.Timestamp updated_at = 8;
|
||||
*/
|
||||
updatedAt?: Timestamp;
|
||||
/**
|
||||
* @generated from field: google.protobuf.Timestamp updated_at = 8;
|
||||
*/
|
||||
updatedAt?: Timestamp;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.Service.
|
||||
* Use `create(ServiceSchema)` to create a new message.
|
||||
*/
|
||||
export const ServiceSchema: GenMessage<Service> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_service, 0);
|
||||
export const ServiceSchema: GenMessage<Service> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_service, 0);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.GetServiceRequest
|
||||
*/
|
||||
export type GetServiceRequest = Message<'mantrae.v1.GetServiceRequest'> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
export type GetServiceRequest = Message<"mantrae.v1.GetServiceRequest"> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
|
||||
/**
|
||||
* @generated from field: mantrae.v1.ServiceType type = 2;
|
||||
*/
|
||||
type: ServiceType;
|
||||
/**
|
||||
* @generated from field: mantrae.v1.ServiceType type = 2;
|
||||
*/
|
||||
type: ServiceType;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.GetServiceRequest.
|
||||
* Use `create(GetServiceRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const GetServiceRequestSchema: GenMessage<GetServiceRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_service, 1);
|
||||
export const GetServiceRequestSchema: GenMessage<GetServiceRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_service, 1);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.GetServiceResponse
|
||||
*/
|
||||
export type GetServiceResponse = Message<'mantrae.v1.GetServiceResponse'> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Service service = 1;
|
||||
*/
|
||||
service?: Service;
|
||||
export type GetServiceResponse = Message<"mantrae.v1.GetServiceResponse"> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Service service = 1;
|
||||
*/
|
||||
service?: Service;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.GetServiceResponse.
|
||||
* Use `create(GetServiceResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const GetServiceResponseSchema: GenMessage<GetServiceResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_service, 2);
|
||||
export const GetServiceResponseSchema: GenMessage<GetServiceResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_service, 2);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.CreateServiceRequest
|
||||
*/
|
||||
export type CreateServiceRequest = Message<'mantrae.v1.CreateServiceRequest'> & {
|
||||
/**
|
||||
* @generated from field: int64 profile_id = 1;
|
||||
*/
|
||||
profileId: bigint;
|
||||
export type CreateServiceRequest = Message<"mantrae.v1.CreateServiceRequest"> & {
|
||||
/**
|
||||
* @generated from field: int64 profile_id = 1;
|
||||
*/
|
||||
profileId: bigint;
|
||||
|
||||
/**
|
||||
* @generated from field: string agent_id = 2;
|
||||
*/
|
||||
agentId: string;
|
||||
/**
|
||||
* @generated from field: string agent_id = 2;
|
||||
*/
|
||||
agentId: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string name = 3;
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* @generated from field: string name = 3;
|
||||
*/
|
||||
name: string;
|
||||
|
||||
/**
|
||||
* @generated from field: google.protobuf.Struct config = 4;
|
||||
*/
|
||||
config?: JsonObject;
|
||||
/**
|
||||
* @generated from field: google.protobuf.Struct config = 4;
|
||||
*/
|
||||
config?: JsonObject;
|
||||
|
||||
/**
|
||||
* @generated from field: mantrae.v1.ServiceType type = 5;
|
||||
*/
|
||||
type: ServiceType;
|
||||
/**
|
||||
* @generated from field: mantrae.v1.ServiceType type = 5;
|
||||
*/
|
||||
type: ServiceType;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.CreateServiceRequest.
|
||||
* Use `create(CreateServiceRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const CreateServiceRequestSchema: GenMessage<CreateServiceRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_service, 3);
|
||||
export const CreateServiceRequestSchema: GenMessage<CreateServiceRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_service, 3);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.CreateServiceResponse
|
||||
*/
|
||||
export type CreateServiceResponse = Message<'mantrae.v1.CreateServiceResponse'> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Service service = 1;
|
||||
*/
|
||||
service?: Service;
|
||||
export type CreateServiceResponse = Message<"mantrae.v1.CreateServiceResponse"> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Service service = 1;
|
||||
*/
|
||||
service?: Service;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.CreateServiceResponse.
|
||||
* Use `create(CreateServiceResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const CreateServiceResponseSchema: GenMessage<CreateServiceResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_service, 4);
|
||||
export const CreateServiceResponseSchema: GenMessage<CreateServiceResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_service, 4);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.UpdateServiceRequest
|
||||
*/
|
||||
export type UpdateServiceRequest = Message<'mantrae.v1.UpdateServiceRequest'> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
export type UpdateServiceRequest = Message<"mantrae.v1.UpdateServiceRequest"> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
|
||||
/**
|
||||
* @generated from field: string name = 2;
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* @generated from field: string name = 2;
|
||||
*/
|
||||
name: string;
|
||||
|
||||
/**
|
||||
* @generated from field: google.protobuf.Struct config = 3;
|
||||
*/
|
||||
config?: JsonObject;
|
||||
/**
|
||||
* @generated from field: google.protobuf.Struct config = 3;
|
||||
*/
|
||||
config?: JsonObject;
|
||||
|
||||
/**
|
||||
* @generated from field: mantrae.v1.ServiceType type = 4;
|
||||
*/
|
||||
type: ServiceType;
|
||||
/**
|
||||
* @generated from field: mantrae.v1.ServiceType type = 4;
|
||||
*/
|
||||
type: ServiceType;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.UpdateServiceRequest.
|
||||
* Use `create(UpdateServiceRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const UpdateServiceRequestSchema: GenMessage<UpdateServiceRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_service, 5);
|
||||
export const UpdateServiceRequestSchema: GenMessage<UpdateServiceRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_service, 5);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.UpdateServiceResponse
|
||||
*/
|
||||
export type UpdateServiceResponse = Message<'mantrae.v1.UpdateServiceResponse'> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Service service = 1;
|
||||
*/
|
||||
service?: Service;
|
||||
export type UpdateServiceResponse = Message<"mantrae.v1.UpdateServiceResponse"> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Service service = 1;
|
||||
*/
|
||||
service?: Service;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.UpdateServiceResponse.
|
||||
* Use `create(UpdateServiceResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const UpdateServiceResponseSchema: GenMessage<UpdateServiceResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_service, 6);
|
||||
export const UpdateServiceResponseSchema: GenMessage<UpdateServiceResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_service, 6);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.DeleteServiceRequest
|
||||
*/
|
||||
export type DeleteServiceRequest = Message<'mantrae.v1.DeleteServiceRequest'> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
export type DeleteServiceRequest = Message<"mantrae.v1.DeleteServiceRequest"> & {
|
||||
/**
|
||||
* @generated from field: int64 id = 1;
|
||||
*/
|
||||
id: bigint;
|
||||
|
||||
/**
|
||||
* @generated from field: mantrae.v1.ServiceType type = 2;
|
||||
*/
|
||||
type: ServiceType;
|
||||
/**
|
||||
* @generated from field: mantrae.v1.ServiceType type = 2;
|
||||
*/
|
||||
type: ServiceType;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.DeleteServiceRequest.
|
||||
* Use `create(DeleteServiceRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const DeleteServiceRequestSchema: GenMessage<DeleteServiceRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_service, 7);
|
||||
export const DeleteServiceRequestSchema: GenMessage<DeleteServiceRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_service, 7);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.DeleteServiceResponse
|
||||
*/
|
||||
export type DeleteServiceResponse = Message<'mantrae.v1.DeleteServiceResponse'> & {};
|
||||
export type DeleteServiceResponse = Message<"mantrae.v1.DeleteServiceResponse"> & {
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.DeleteServiceResponse.
|
||||
* Use `create(DeleteServiceResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const DeleteServiceResponseSchema: GenMessage<DeleteServiceResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_service, 8);
|
||||
export const DeleteServiceResponseSchema: GenMessage<DeleteServiceResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_service, 8);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.ListServicesRequest
|
||||
*/
|
||||
export type ListServicesRequest = Message<'mantrae.v1.ListServicesRequest'> & {
|
||||
/**
|
||||
* @generated from field: int64 profile_id = 1;
|
||||
*/
|
||||
profileId: bigint;
|
||||
export type ListServicesRequest = Message<"mantrae.v1.ListServicesRequest"> & {
|
||||
/**
|
||||
* @generated from field: int64 profile_id = 1;
|
||||
*/
|
||||
profileId: bigint;
|
||||
|
||||
/**
|
||||
* @generated from field: optional string agent_id = 2;
|
||||
*/
|
||||
agentId?: string;
|
||||
/**
|
||||
* @generated from field: optional string agent_id = 2;
|
||||
*/
|
||||
agentId?: string;
|
||||
|
||||
/**
|
||||
* @generated from field: optional mantrae.v1.ServiceType type = 3;
|
||||
*/
|
||||
type?: ServiceType;
|
||||
/**
|
||||
* @generated from field: optional mantrae.v1.ServiceType type = 3;
|
||||
*/
|
||||
type?: ServiceType;
|
||||
|
||||
/**
|
||||
* @generated from field: optional int64 limit = 4;
|
||||
*/
|
||||
limit?: bigint;
|
||||
/**
|
||||
* @generated from field: optional int64 limit = 4;
|
||||
*/
|
||||
limit?: bigint;
|
||||
|
||||
/**
|
||||
* @generated from field: optional int64 offset = 5;
|
||||
*/
|
||||
offset?: bigint;
|
||||
/**
|
||||
* @generated from field: optional int64 offset = 5;
|
||||
*/
|
||||
offset?: bigint;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.ListServicesRequest.
|
||||
* Use `create(ListServicesRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const ListServicesRequestSchema: GenMessage<ListServicesRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_service, 9);
|
||||
export const ListServicesRequestSchema: GenMessage<ListServicesRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_service, 9);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.ListServicesResponse
|
||||
*/
|
||||
export type ListServicesResponse = Message<'mantrae.v1.ListServicesResponse'> & {
|
||||
/**
|
||||
* @generated from field: repeated mantrae.v1.Service services = 1;
|
||||
*/
|
||||
services: Service[];
|
||||
export type ListServicesResponse = Message<"mantrae.v1.ListServicesResponse"> & {
|
||||
/**
|
||||
* @generated from field: repeated mantrae.v1.Service services = 1;
|
||||
*/
|
||||
services: Service[];
|
||||
|
||||
/**
|
||||
* @generated from field: int64 total_count = 2;
|
||||
*/
|
||||
totalCount: bigint;
|
||||
/**
|
||||
* @generated from field: int64 total_count = 2;
|
||||
*/
|
||||
totalCount: bigint;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.ListServicesResponse.
|
||||
* Use `create(ListServicesResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const ListServicesResponseSchema: GenMessage<ListServicesResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_service, 10);
|
||||
export const ListServicesResponseSchema: GenMessage<ListServicesResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_service, 10);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.GetServiceByRouterRequest
|
||||
*/
|
||||
export type GetServiceByRouterRequest = Message<'mantrae.v1.GetServiceByRouterRequest'> & {
|
||||
/**
|
||||
* @generated from field: string name = 1;
|
||||
*/
|
||||
name: string;
|
||||
export type GetServiceByRouterRequest = Message<"mantrae.v1.GetServiceByRouterRequest"> & {
|
||||
/**
|
||||
* @generated from field: string name = 1;
|
||||
*/
|
||||
name: string;
|
||||
|
||||
/**
|
||||
* @generated from field: mantrae.v1.RouterType type = 2;
|
||||
*/
|
||||
type: RouterType;
|
||||
/**
|
||||
* @generated from field: mantrae.v1.RouterType type = 2;
|
||||
*/
|
||||
type: RouterType;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.GetServiceByRouterRequest.
|
||||
* Use `create(GetServiceByRouterRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const GetServiceByRouterRequestSchema: GenMessage<GetServiceByRouterRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_service, 11);
|
||||
export const GetServiceByRouterRequestSchema: GenMessage<GetServiceByRouterRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_service, 11);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.GetServiceByRouterResponse
|
||||
*/
|
||||
export type GetServiceByRouterResponse = Message<'mantrae.v1.GetServiceByRouterResponse'> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Service service = 1;
|
||||
*/
|
||||
service?: Service;
|
||||
export type GetServiceByRouterResponse = Message<"mantrae.v1.GetServiceByRouterResponse"> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Service service = 1;
|
||||
*/
|
||||
service?: Service;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.GetServiceByRouterResponse.
|
||||
* Use `create(GetServiceByRouterResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const GetServiceByRouterResponseSchema: GenMessage<GetServiceByRouterResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_service, 12);
|
||||
export const GetServiceByRouterResponseSchema: GenMessage<GetServiceByRouterResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_service, 12);
|
||||
|
||||
/**
|
||||
* @generated from enum mantrae.v1.ServiceType
|
||||
*/
|
||||
export enum ServiceType {
|
||||
/**
|
||||
* @generated from enum value: SERVICE_TYPE_UNSPECIFIED = 0;
|
||||
*/
|
||||
UNSPECIFIED = 0,
|
||||
/**
|
||||
* @generated from enum value: SERVICE_TYPE_UNSPECIFIED = 0;
|
||||
*/
|
||||
UNSPECIFIED = 0,
|
||||
|
||||
/**
|
||||
* @generated from enum value: SERVICE_TYPE_HTTP = 1;
|
||||
*/
|
||||
HTTP = 1,
|
||||
/**
|
||||
* @generated from enum value: SERVICE_TYPE_HTTP = 1;
|
||||
*/
|
||||
HTTP = 1,
|
||||
|
||||
/**
|
||||
* @generated from enum value: SERVICE_TYPE_TCP = 2;
|
||||
*/
|
||||
TCP = 2,
|
||||
/**
|
||||
* @generated from enum value: SERVICE_TYPE_TCP = 2;
|
||||
*/
|
||||
TCP = 2,
|
||||
|
||||
/**
|
||||
* @generated from enum value: SERVICE_TYPE_UDP = 3;
|
||||
*/
|
||||
UDP = 3
|
||||
/**
|
||||
* @generated from enum value: SERVICE_TYPE_UDP = 3;
|
||||
*/
|
||||
UDP = 3,
|
||||
}
|
||||
|
||||
/**
|
||||
* Describes the enum mantrae.v1.ServiceType.
|
||||
*/
|
||||
export const ServiceTypeSchema: GenEnum<ServiceType> =
|
||||
/*@__PURE__*/
|
||||
enumDesc(file_mantrae_v1_service, 0);
|
||||
export const ServiceTypeSchema: GenEnum<ServiceType> = /*@__PURE__*/
|
||||
enumDesc(file_mantrae_v1_service, 0);
|
||||
|
||||
/**
|
||||
* @generated from service mantrae.v1.ServiceService
|
||||
*/
|
||||
export const ServiceService: GenService<{
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.ServiceService.GetService
|
||||
*/
|
||||
getService: {
|
||||
methodKind: 'unary';
|
||||
input: typeof GetServiceRequestSchema;
|
||||
output: typeof GetServiceResponseSchema;
|
||||
};
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.ServiceService.CreateService
|
||||
*/
|
||||
createService: {
|
||||
methodKind: 'unary';
|
||||
input: typeof CreateServiceRequestSchema;
|
||||
output: typeof CreateServiceResponseSchema;
|
||||
};
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.ServiceService.UpdateService
|
||||
*/
|
||||
updateService: {
|
||||
methodKind: 'unary';
|
||||
input: typeof UpdateServiceRequestSchema;
|
||||
output: typeof UpdateServiceResponseSchema;
|
||||
};
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.ServiceService.DeleteService
|
||||
*/
|
||||
deleteService: {
|
||||
methodKind: 'unary';
|
||||
input: typeof DeleteServiceRequestSchema;
|
||||
output: typeof DeleteServiceResponseSchema;
|
||||
};
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.ServiceService.ListServices
|
||||
*/
|
||||
listServices: {
|
||||
methodKind: 'unary';
|
||||
input: typeof ListServicesRequestSchema;
|
||||
output: typeof ListServicesResponseSchema;
|
||||
};
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.ServiceService.GetServiceByRouter
|
||||
*/
|
||||
getServiceByRouter: {
|
||||
methodKind: 'unary';
|
||||
input: typeof GetServiceByRouterRequestSchema;
|
||||
output: typeof GetServiceByRouterResponseSchema;
|
||||
};
|
||||
}> = /*@__PURE__*/ serviceDesc(file_mantrae_v1_service, 0);
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.ServiceService.GetService
|
||||
*/
|
||||
getService: {
|
||||
methodKind: "unary";
|
||||
input: typeof GetServiceRequestSchema;
|
||||
output: typeof GetServiceResponseSchema;
|
||||
},
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.ServiceService.CreateService
|
||||
*/
|
||||
createService: {
|
||||
methodKind: "unary";
|
||||
input: typeof CreateServiceRequestSchema;
|
||||
output: typeof CreateServiceResponseSchema;
|
||||
},
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.ServiceService.UpdateService
|
||||
*/
|
||||
updateService: {
|
||||
methodKind: "unary";
|
||||
input: typeof UpdateServiceRequestSchema;
|
||||
output: typeof UpdateServiceResponseSchema;
|
||||
},
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.ServiceService.DeleteService
|
||||
*/
|
||||
deleteService: {
|
||||
methodKind: "unary";
|
||||
input: typeof DeleteServiceRequestSchema;
|
||||
output: typeof DeleteServiceResponseSchema;
|
||||
},
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.ServiceService.ListServices
|
||||
*/
|
||||
listServices: {
|
||||
methodKind: "unary";
|
||||
input: typeof ListServicesRequestSchema;
|
||||
output: typeof ListServicesResponseSchema;
|
||||
},
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.ServiceService.GetServiceByRouter
|
||||
*/
|
||||
getServiceByRouter: {
|
||||
methodKind: "unary";
|
||||
input: typeof GetServiceByRouterRequestSchema;
|
||||
output: typeof GetServiceByRouterResponseSchema;
|
||||
},
|
||||
}> = /*@__PURE__*/
|
||||
serviceDesc(file_mantrae_v1_service, 0);
|
||||
|
||||
|
||||
@@ -2,185 +2,177 @@
|
||||
// @generated from file mantrae/v1/setting.proto (package mantrae.v1, syntax proto3)
|
||||
/* eslint-disable */
|
||||
|
||||
import type { GenFile, GenMessage, GenService } from '@bufbuild/protobuf/codegenv2';
|
||||
import { fileDesc, messageDesc, serviceDesc } from '@bufbuild/protobuf/codegenv2';
|
||||
import { file_buf_validate_validate } from '../../buf/validate/validate_pb';
|
||||
import type { Timestamp } from '@bufbuild/protobuf/wkt';
|
||||
import { file_google_protobuf_timestamp } from '@bufbuild/protobuf/wkt';
|
||||
import type { Message } from '@bufbuild/protobuf';
|
||||
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
||||
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
||||
import { file_buf_validate_validate } from "../../buf/validate/validate_pb";
|
||||
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
||||
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
||||
import type { Message } from "@bufbuild/protobuf";
|
||||
|
||||
/**
|
||||
* Describes the file mantrae/v1/setting.proto.
|
||||
*/
|
||||
export const file_mantrae_v1_setting: GenFile =
|
||||
/*@__PURE__*/
|
||||
fileDesc(
|
||||
'ChhtYW50cmFlL3YxL3NldHRpbmcucHJvdG8SCm1hbnRyYWUudjEiVQoHU2V0dGluZxILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAkSLgoKdXBkYXRlZF9hdBgDIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAiLAoRR2V0U2V0dGluZ1JlcXVlc3QSFwoDa2V5GAEgASgJQgq6SAfIAQFyAhABIiMKEkdldFNldHRpbmdSZXNwb25zZRINCgV2YWx1ZRgBIAEoCSI+ChRVcGRhdGVTZXR0aW5nUmVxdWVzdBIXCgNrZXkYASABKAlCCrpIB8gBAXICEAESDQoFdmFsdWUYAiABKAkiPQoVVXBkYXRlU2V0dGluZ1Jlc3BvbnNlEiQKB3NldHRpbmcYASABKAsyEy5tYW50cmFlLnYxLlNldHRpbmciFQoTTGlzdFNldHRpbmdzUmVxdWVzdCI9ChRMaXN0U2V0dGluZ3NSZXNwb25zZRIlCghzZXR0aW5ncxgBIAMoCzITLm1hbnRyYWUudjEuU2V0dGluZzKQAgoOU2V0dGluZ1NlcnZpY2USUAoKR2V0U2V0dGluZxIdLm1hbnRyYWUudjEuR2V0U2V0dGluZ1JlcXVlc3QaHi5tYW50cmFlLnYxLkdldFNldHRpbmdSZXNwb25zZSIDkAIBElQKDVVwZGF0ZVNldHRpbmcSIC5tYW50cmFlLnYxLlVwZGF0ZVNldHRpbmdSZXF1ZXN0GiEubWFudHJhZS52MS5VcGRhdGVTZXR0aW5nUmVzcG9uc2USVgoMTGlzdFNldHRpbmdzEh8ubWFudHJhZS52MS5MaXN0U2V0dGluZ3NSZXF1ZXN0GiAubWFudHJhZS52MS5MaXN0U2V0dGluZ3NSZXNwb25zZSIDkAIBQqYBCg5jb20ubWFudHJhZS52MUIMU2V0dGluZ1Byb3RvUAFaPWdpdGh1Yi5jb20vbWl6dWNoaWxhYnMvbWFudHJhZS9wcm90by9nZW4vbWFudHJhZS92MTttYW50cmFldjGiAgNNWFiqAgpNYW50cmFlLlYxygIKTWFudHJhZVxWMeICFk1hbnRyYWVcVjFcR1BCTWV0YWRhdGHqAgtNYW50cmFlOjpWMWIGcHJvdG8z',
|
||||
[file_buf_validate_validate, file_google_protobuf_timestamp]
|
||||
);
|
||||
export const file_mantrae_v1_setting: GenFile = /*@__PURE__*/
|
||||
fileDesc("ChhtYW50cmFlL3YxL3NldHRpbmcucHJvdG8SCm1hbnRyYWUudjEiVQoHU2V0dGluZxILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAkSLgoKdXBkYXRlZF9hdBgDIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAiKQoRR2V0U2V0dGluZ1JlcXVlc3QSFAoDa2V5GAEgASgJQge6SARyAhABIiMKEkdldFNldHRpbmdSZXNwb25zZRINCgV2YWx1ZRgBIAEoCSI7ChRVcGRhdGVTZXR0aW5nUmVxdWVzdBIUCgNrZXkYASABKAlCB7pIBHICEAESDQoFdmFsdWUYAiABKAkiPQoVVXBkYXRlU2V0dGluZ1Jlc3BvbnNlEiQKB3NldHRpbmcYASABKAsyEy5tYW50cmFlLnYxLlNldHRpbmciFQoTTGlzdFNldHRpbmdzUmVxdWVzdCI9ChRMaXN0U2V0dGluZ3NSZXNwb25zZRIlCghzZXR0aW5ncxgBIAMoCzITLm1hbnRyYWUudjEuU2V0dGluZzKQAgoOU2V0dGluZ1NlcnZpY2USUAoKR2V0U2V0dGluZxIdLm1hbnRyYWUudjEuR2V0U2V0dGluZ1JlcXVlc3QaHi5tYW50cmFlLnYxLkdldFNldHRpbmdSZXNwb25zZSIDkAIBElQKDVVwZGF0ZVNldHRpbmcSIC5tYW50cmFlLnYxLlVwZGF0ZVNldHRpbmdSZXF1ZXN0GiEubWFudHJhZS52MS5VcGRhdGVTZXR0aW5nUmVzcG9uc2USVgoMTGlzdFNldHRpbmdzEh8ubWFudHJhZS52MS5MaXN0U2V0dGluZ3NSZXF1ZXN0GiAubWFudHJhZS52MS5MaXN0U2V0dGluZ3NSZXNwb25zZSIDkAIBQqYBCg5jb20ubWFudHJhZS52MUIMU2V0dGluZ1Byb3RvUAFaPWdpdGh1Yi5jb20vbWl6dWNoaWxhYnMvbWFudHJhZS9wcm90by9nZW4vbWFudHJhZS92MTttYW50cmFldjGiAgNNWFiqAgpNYW50cmFlLlYxygIKTWFudHJhZVxWMeICFk1hbnRyYWVcVjFcR1BCTWV0YWRhdGHqAgtNYW50cmFlOjpWMWIGcHJvdG8z", [file_buf_validate_validate, file_google_protobuf_timestamp]);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.Setting
|
||||
*/
|
||||
export type Setting = Message<'mantrae.v1.Setting'> & {
|
||||
/**
|
||||
* @generated from field: string key = 1;
|
||||
*/
|
||||
key: string;
|
||||
export type Setting = Message<"mantrae.v1.Setting"> & {
|
||||
/**
|
||||
* @generated from field: string key = 1;
|
||||
*/
|
||||
key: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string value = 2;
|
||||
*/
|
||||
value: string;
|
||||
/**
|
||||
* @generated from field: string value = 2;
|
||||
*/
|
||||
value: string;
|
||||
|
||||
/**
|
||||
* @generated from field: google.protobuf.Timestamp updated_at = 3;
|
||||
*/
|
||||
updatedAt?: Timestamp;
|
||||
/**
|
||||
* @generated from field: google.protobuf.Timestamp updated_at = 3;
|
||||
*/
|
||||
updatedAt?: Timestamp;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.Setting.
|
||||
* Use `create(SettingSchema)` to create a new message.
|
||||
*/
|
||||
export const SettingSchema: GenMessage<Setting> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_setting, 0);
|
||||
export const SettingSchema: GenMessage<Setting> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_setting, 0);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.GetSettingRequest
|
||||
*/
|
||||
export type GetSettingRequest = Message<'mantrae.v1.GetSettingRequest'> & {
|
||||
/**
|
||||
* @generated from field: string key = 1;
|
||||
*/
|
||||
key: string;
|
||||
export type GetSettingRequest = Message<"mantrae.v1.GetSettingRequest"> & {
|
||||
/**
|
||||
* @generated from field: string key = 1;
|
||||
*/
|
||||
key: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.GetSettingRequest.
|
||||
* Use `create(GetSettingRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const GetSettingRequestSchema: GenMessage<GetSettingRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_setting, 1);
|
||||
export const GetSettingRequestSchema: GenMessage<GetSettingRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_setting, 1);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.GetSettingResponse
|
||||
*/
|
||||
export type GetSettingResponse = Message<'mantrae.v1.GetSettingResponse'> & {
|
||||
/**
|
||||
* @generated from field: string value = 1;
|
||||
*/
|
||||
value: string;
|
||||
export type GetSettingResponse = Message<"mantrae.v1.GetSettingResponse"> & {
|
||||
/**
|
||||
* @generated from field: string value = 1;
|
||||
*/
|
||||
value: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.GetSettingResponse.
|
||||
* Use `create(GetSettingResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const GetSettingResponseSchema: GenMessage<GetSettingResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_setting, 2);
|
||||
export const GetSettingResponseSchema: GenMessage<GetSettingResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_setting, 2);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.UpdateSettingRequest
|
||||
*/
|
||||
export type UpdateSettingRequest = Message<'mantrae.v1.UpdateSettingRequest'> & {
|
||||
/**
|
||||
* @generated from field: string key = 1;
|
||||
*/
|
||||
key: string;
|
||||
export type UpdateSettingRequest = Message<"mantrae.v1.UpdateSettingRequest"> & {
|
||||
/**
|
||||
* @generated from field: string key = 1;
|
||||
*/
|
||||
key: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string value = 2;
|
||||
*/
|
||||
value: string;
|
||||
/**
|
||||
* @generated from field: string value = 2;
|
||||
*/
|
||||
value: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.UpdateSettingRequest.
|
||||
* Use `create(UpdateSettingRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const UpdateSettingRequestSchema: GenMessage<UpdateSettingRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_setting, 3);
|
||||
export const UpdateSettingRequestSchema: GenMessage<UpdateSettingRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_setting, 3);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.UpdateSettingResponse
|
||||
*/
|
||||
export type UpdateSettingResponse = Message<'mantrae.v1.UpdateSettingResponse'> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Setting setting = 1;
|
||||
*/
|
||||
setting?: Setting;
|
||||
export type UpdateSettingResponse = Message<"mantrae.v1.UpdateSettingResponse"> & {
|
||||
/**
|
||||
* @generated from field: mantrae.v1.Setting setting = 1;
|
||||
*/
|
||||
setting?: Setting;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.UpdateSettingResponse.
|
||||
* Use `create(UpdateSettingResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const UpdateSettingResponseSchema: GenMessage<UpdateSettingResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_setting, 4);
|
||||
export const UpdateSettingResponseSchema: GenMessage<UpdateSettingResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_setting, 4);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.ListSettingsRequest
|
||||
*/
|
||||
export type ListSettingsRequest = Message<'mantrae.v1.ListSettingsRequest'> & {};
|
||||
export type ListSettingsRequest = Message<"mantrae.v1.ListSettingsRequest"> & {
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.ListSettingsRequest.
|
||||
* Use `create(ListSettingsRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const ListSettingsRequestSchema: GenMessage<ListSettingsRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_setting, 5);
|
||||
export const ListSettingsRequestSchema: GenMessage<ListSettingsRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_setting, 5);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.ListSettingsResponse
|
||||
*/
|
||||
export type ListSettingsResponse = Message<'mantrae.v1.ListSettingsResponse'> & {
|
||||
/**
|
||||
* @generated from field: repeated mantrae.v1.Setting settings = 1;
|
||||
*/
|
||||
settings: Setting[];
|
||||
export type ListSettingsResponse = Message<"mantrae.v1.ListSettingsResponse"> & {
|
||||
/**
|
||||
* @generated from field: repeated mantrae.v1.Setting settings = 1;
|
||||
*/
|
||||
settings: Setting[];
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.ListSettingsResponse.
|
||||
* Use `create(ListSettingsResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const ListSettingsResponseSchema: GenMessage<ListSettingsResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_setting, 6);
|
||||
export const ListSettingsResponseSchema: GenMessage<ListSettingsResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_setting, 6);
|
||||
|
||||
/**
|
||||
* @generated from service mantrae.v1.SettingService
|
||||
*/
|
||||
export const SettingService: GenService<{
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.SettingService.GetSetting
|
||||
*/
|
||||
getSetting: {
|
||||
methodKind: 'unary';
|
||||
input: typeof GetSettingRequestSchema;
|
||||
output: typeof GetSettingResponseSchema;
|
||||
};
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.SettingService.UpdateSetting
|
||||
*/
|
||||
updateSetting: {
|
||||
methodKind: 'unary';
|
||||
input: typeof UpdateSettingRequestSchema;
|
||||
output: typeof UpdateSettingResponseSchema;
|
||||
};
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.SettingService.ListSettings
|
||||
*/
|
||||
listSettings: {
|
||||
methodKind: 'unary';
|
||||
input: typeof ListSettingsRequestSchema;
|
||||
output: typeof ListSettingsResponseSchema;
|
||||
};
|
||||
}> = /*@__PURE__*/ serviceDesc(file_mantrae_v1_setting, 0);
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.SettingService.GetSetting
|
||||
*/
|
||||
getSetting: {
|
||||
methodKind: "unary";
|
||||
input: typeof GetSettingRequestSchema;
|
||||
output: typeof GetSettingResponseSchema;
|
||||
},
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.SettingService.UpdateSetting
|
||||
*/
|
||||
updateSetting: {
|
||||
methodKind: "unary";
|
||||
input: typeof UpdateSettingRequestSchema;
|
||||
output: typeof UpdateSettingResponseSchema;
|
||||
},
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.SettingService.ListSettings
|
||||
*/
|
||||
listSettings: {
|
||||
methodKind: "unary";
|
||||
input: typeof ListSettingsRequestSchema;
|
||||
output: typeof ListSettingsResponseSchema;
|
||||
},
|
||||
}> = /*@__PURE__*/
|
||||
serviceDesc(file_mantrae_v1_setting, 0);
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -2,104 +2,101 @@
|
||||
// @generated from file mantrae/v1/util.proto (package mantrae.v1, syntax proto3)
|
||||
/* eslint-disable */
|
||||
|
||||
import type { GenFile, GenMessage, GenService } from '@bufbuild/protobuf/codegenv2';
|
||||
import { fileDesc, messageDesc, serviceDesc } from '@bufbuild/protobuf/codegenv2';
|
||||
import type { Message } from '@bufbuild/protobuf';
|
||||
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
||||
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
||||
import type { Message } from "@bufbuild/protobuf";
|
||||
|
||||
/**
|
||||
* Describes the file mantrae/v1/util.proto.
|
||||
*/
|
||||
export const file_mantrae_v1_util: GenFile =
|
||||
/*@__PURE__*/
|
||||
fileDesc(
|
||||
'ChVtYW50cmFlL3YxL3V0aWwucHJvdG8SCm1hbnRyYWUudjEiEwoRR2V0VmVyc2lvblJlcXVlc3QiJQoSR2V0VmVyc2lvblJlc3BvbnNlEg8KB3ZlcnNpb24YASABKAkiFAoSR2V0UHVibGljSVBSZXF1ZXN0IjEKE0dldFB1YmxpY0lQUmVzcG9uc2USDAoEaXB2NBgBIAEoCRIMCgRpcHY2GAIgASgJMqoBCgtVdGlsU2VydmljZRJLCgpHZXRWZXJzaW9uEh0ubWFudHJhZS52MS5HZXRWZXJzaW9uUmVxdWVzdBoeLm1hbnRyYWUudjEuR2V0VmVyc2lvblJlc3BvbnNlEk4KC0dldFB1YmxpY0lQEh4ubWFudHJhZS52MS5HZXRQdWJsaWNJUFJlcXVlc3QaHy5tYW50cmFlLnYxLkdldFB1YmxpY0lQUmVzcG9uc2VCowEKDmNvbS5tYW50cmFlLnYxQglVdGlsUHJvdG9QAVo9Z2l0aHViLmNvbS9taXp1Y2hpbGFicy9tYW50cmFlL3Byb3RvL2dlbi9tYW50cmFlL3YxO21hbnRyYWV2MaICA01YWKoCCk1hbnRyYWUuVjHKAgpNYW50cmFlXFYx4gIWTWFudHJhZVxWMVxHUEJNZXRhZGF0YeoCC01hbnRyYWU6OlYxYgZwcm90bzM'
|
||||
);
|
||||
export const file_mantrae_v1_util: GenFile = /*@__PURE__*/
|
||||
fileDesc("ChVtYW50cmFlL3YxL3V0aWwucHJvdG8SCm1hbnRyYWUudjEiEwoRR2V0VmVyc2lvblJlcXVlc3QiJQoSR2V0VmVyc2lvblJlc3BvbnNlEg8KB3ZlcnNpb24YASABKAkiFAoSR2V0UHVibGljSVBSZXF1ZXN0IjEKE0dldFB1YmxpY0lQUmVzcG9uc2USDAoEaXB2NBgBIAEoCRIMCgRpcHY2GAIgASgJMqoBCgtVdGlsU2VydmljZRJLCgpHZXRWZXJzaW9uEh0ubWFudHJhZS52MS5HZXRWZXJzaW9uUmVxdWVzdBoeLm1hbnRyYWUudjEuR2V0VmVyc2lvblJlc3BvbnNlEk4KC0dldFB1YmxpY0lQEh4ubWFudHJhZS52MS5HZXRQdWJsaWNJUFJlcXVlc3QaHy5tYW50cmFlLnYxLkdldFB1YmxpY0lQUmVzcG9uc2VCowEKDmNvbS5tYW50cmFlLnYxQglVdGlsUHJvdG9QAVo9Z2l0aHViLmNvbS9taXp1Y2hpbGFicy9tYW50cmFlL3Byb3RvL2dlbi9tYW50cmFlL3YxO21hbnRyYWV2MaICA01YWKoCCk1hbnRyYWUuVjHKAgpNYW50cmFlXFYx4gIWTWFudHJhZVxWMVxHUEJNZXRhZGF0YeoCC01hbnRyYWU6OlYxYgZwcm90bzM");
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.GetVersionRequest
|
||||
*/
|
||||
export type GetVersionRequest = Message<'mantrae.v1.GetVersionRequest'> & {};
|
||||
export type GetVersionRequest = Message<"mantrae.v1.GetVersionRequest"> & {
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.GetVersionRequest.
|
||||
* Use `create(GetVersionRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const GetVersionRequestSchema: GenMessage<GetVersionRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_util, 0);
|
||||
export const GetVersionRequestSchema: GenMessage<GetVersionRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_util, 0);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.GetVersionResponse
|
||||
*/
|
||||
export type GetVersionResponse = Message<'mantrae.v1.GetVersionResponse'> & {
|
||||
/**
|
||||
* @generated from field: string version = 1;
|
||||
*/
|
||||
version: string;
|
||||
export type GetVersionResponse = Message<"mantrae.v1.GetVersionResponse"> & {
|
||||
/**
|
||||
* @generated from field: string version = 1;
|
||||
*/
|
||||
version: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.GetVersionResponse.
|
||||
* Use `create(GetVersionResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const GetVersionResponseSchema: GenMessage<GetVersionResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_util, 1);
|
||||
export const GetVersionResponseSchema: GenMessage<GetVersionResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_util, 1);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.GetPublicIPRequest
|
||||
*/
|
||||
export type GetPublicIPRequest = Message<'mantrae.v1.GetPublicIPRequest'> & {};
|
||||
export type GetPublicIPRequest = Message<"mantrae.v1.GetPublicIPRequest"> & {
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.GetPublicIPRequest.
|
||||
* Use `create(GetPublicIPRequestSchema)` to create a new message.
|
||||
*/
|
||||
export const GetPublicIPRequestSchema: GenMessage<GetPublicIPRequest> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_util, 2);
|
||||
export const GetPublicIPRequestSchema: GenMessage<GetPublicIPRequest> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_util, 2);
|
||||
|
||||
/**
|
||||
* @generated from message mantrae.v1.GetPublicIPResponse
|
||||
*/
|
||||
export type GetPublicIPResponse = Message<'mantrae.v1.GetPublicIPResponse'> & {
|
||||
/**
|
||||
* @generated from field: string ipv4 = 1;
|
||||
*/
|
||||
ipv4: string;
|
||||
export type GetPublicIPResponse = Message<"mantrae.v1.GetPublicIPResponse"> & {
|
||||
/**
|
||||
* @generated from field: string ipv4 = 1;
|
||||
*/
|
||||
ipv4: string;
|
||||
|
||||
/**
|
||||
* @generated from field: string ipv6 = 2;
|
||||
*/
|
||||
ipv6: string;
|
||||
/**
|
||||
* @generated from field: string ipv6 = 2;
|
||||
*/
|
||||
ipv6: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* Describes the message mantrae.v1.GetPublicIPResponse.
|
||||
* Use `create(GetPublicIPResponseSchema)` to create a new message.
|
||||
*/
|
||||
export const GetPublicIPResponseSchema: GenMessage<GetPublicIPResponse> =
|
||||
/*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_util, 3);
|
||||
export const GetPublicIPResponseSchema: GenMessage<GetPublicIPResponse> = /*@__PURE__*/
|
||||
messageDesc(file_mantrae_v1_util, 3);
|
||||
|
||||
/**
|
||||
* @generated from service mantrae.v1.UtilService
|
||||
*/
|
||||
export const UtilService: GenService<{
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.UtilService.GetVersion
|
||||
*/
|
||||
getVersion: {
|
||||
methodKind: 'unary';
|
||||
input: typeof GetVersionRequestSchema;
|
||||
output: typeof GetVersionResponseSchema;
|
||||
};
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.UtilService.GetPublicIP
|
||||
*/
|
||||
getPublicIP: {
|
||||
methodKind: 'unary';
|
||||
input: typeof GetPublicIPRequestSchema;
|
||||
output: typeof GetPublicIPResponseSchema;
|
||||
};
|
||||
}> = /*@__PURE__*/ serviceDesc(file_mantrae_v1_util, 0);
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.UtilService.GetVersion
|
||||
*/
|
||||
getVersion: {
|
||||
methodKind: "unary";
|
||||
input: typeof GetVersionRequestSchema;
|
||||
output: typeof GetVersionResponseSchema;
|
||||
},
|
||||
/**
|
||||
* @generated from rpc mantrae.v1.UtilService.GetPublicIP
|
||||
*/
|
||||
getPublicIP: {
|
||||
methodKind: "unary";
|
||||
input: typeof GetPublicIPRequestSchema;
|
||||
output: typeof GetPublicIPResponseSchema;
|
||||
},
|
||||
}> = /*@__PURE__*/
|
||||
serviceDesc(file_mantrae_v1_util, 0);
|
||||
|
||||
|
||||
+20
-37
@@ -1,51 +1,34 @@
|
||||
import type { LayoutLoad } from './$types';
|
||||
import { goto } from '$app/navigation';
|
||||
import { useClient } from '$lib/api';
|
||||
import { profile } from '$lib/stores/profile';
|
||||
import { user } from '$lib/stores/user';
|
||||
import { UserService } from '$lib/gen/mantrae/v1/user_pb';
|
||||
import { ProfileService } from '$lib/gen/mantrae/v1/profile_pb';
|
||||
import type { LayoutLoad } from "./$types";
|
||||
import { goto } from "$app/navigation";
|
||||
import { useClient } from "$lib/api";
|
||||
import { profile } from "$lib/stores/profile";
|
||||
import { user } from "$lib/stores/user";
|
||||
import { UserService } from "$lib/gen/mantrae/v1/user_pb";
|
||||
import { ProfileService } from "$lib/gen/mantrae/v1/profile_pb";
|
||||
|
||||
export const ssr = false;
|
||||
export const prerender = false;
|
||||
export const trailingSlash = 'always';
|
||||
|
||||
const isPublicRoute = (path: string) => {
|
||||
return path.startsWith('/login') || path === '/login';
|
||||
};
|
||||
export const prerender = true;
|
||||
export const trailingSlash = "always";
|
||||
|
||||
export const load: LayoutLoad = async ({ url, fetch }) => {
|
||||
const currentPath = url.pathname;
|
||||
const isPublic = isPublicRoute(currentPath);
|
||||
// Check if cookie is set
|
||||
const isPublic = currentPath.startsWith("/login");
|
||||
|
||||
try {
|
||||
const userClient = useClient(UserService, fetch);
|
||||
const resUser = await userClient.verifyJWT({});
|
||||
const resUser = await userClient.getUser({});
|
||||
if (!resUser.user) throw new Error("Authentication failed");
|
||||
user.value = resUser.user;
|
||||
|
||||
if (resUser.user) {
|
||||
user.value = resUser.user;
|
||||
|
||||
// Update profile if not set
|
||||
if (!profile.id) {
|
||||
const profileClient = useClient(ProfileService, fetch);
|
||||
const resProfile = await profileClient.listProfiles({});
|
||||
profile.value = resProfile.profiles[0];
|
||||
}
|
||||
if (isPublic) {
|
||||
// Authenticated user trying to access login page - redirect to home
|
||||
await goto('/');
|
||||
return;
|
||||
}
|
||||
return;
|
||||
} else {
|
||||
throw new Error('Authentication failed');
|
||||
if (!profile.id) {
|
||||
const profileClient = useClient(ProfileService, fetch);
|
||||
const resProfile = await profileClient.listProfiles({});
|
||||
profile.value = resProfile.profiles[0];
|
||||
}
|
||||
|
||||
if (isPublic) await goto("/");
|
||||
} catch (_) {
|
||||
user.clear();
|
||||
if (!isPublic) {
|
||||
await goto('/login');
|
||||
}
|
||||
return;
|
||||
if (!isPublic) await goto("/login");
|
||||
}
|
||||
};
|
||||
|
||||
@@ -41,23 +41,21 @@
|
||||
const isEmail = username.includes('@');
|
||||
|
||||
try {
|
||||
await userClient.loginUser({
|
||||
const response = await userClient.loginUser({
|
||||
identifier: {
|
||||
case: isEmail ? 'email' : 'username',
|
||||
value: username
|
||||
},
|
||||
password: password
|
||||
});
|
||||
if (!response.user) throw new Error('Authentication failed');
|
||||
user.value = response.user;
|
||||
|
||||
const verified = await userClient.verifyJWT({});
|
||||
if (verified.user) {
|
||||
user.value = verified.user;
|
||||
if (!profile.id) {
|
||||
const response = await profileClient.listProfiles({});
|
||||
profile.value = response.profiles[0];
|
||||
}
|
||||
await goto('/');
|
||||
if (!profile.id) {
|
||||
const response = await profileClient.listProfiles({});
|
||||
profile.value = response.profiles[0];
|
||||
}
|
||||
await goto('/');
|
||||
toast.success('Logged in successfully!');
|
||||
} catch (err) {
|
||||
const e = ConnectError.from(err);
|
||||
@@ -73,7 +71,7 @@
|
||||
<Card.Description>Login to your account</Card.Description>
|
||||
</Card.Header>
|
||||
<Card.Content>
|
||||
<form onsubmit={handleSubmit} class="p-4">
|
||||
<form onsubmit={handleSubmit} class="px-4">
|
||||
{#await userClient.getOIDCStatus({}) then value}
|
||||
{#if value.loginEnabled}
|
||||
<div class="flex flex-col gap-4">
|
||||
|
||||
@@ -33,6 +33,34 @@
|
||||
let originalSettings: Record<string, string> = {};
|
||||
let changedSettings = $state<Record<string, string>>({});
|
||||
|
||||
// Helper function to check if an entire group should be visible
|
||||
function shouldShowGroup(groupKey: string): boolean {
|
||||
// Hide S3 group when storage is local
|
||||
if (groupKey === 's3' && settingsMap['storage_select'] === 'local') {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
// Helper function to check if a setting should be visible
|
||||
function shouldShowSetting(settingKey: string): boolean {
|
||||
// Hide client secret when PKCE is enabled
|
||||
if (settingKey === 'oidc_client_secret' && settingsMap['oidc_pkce'] === 'true') {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Hide OIDC-related settings when OIDC is disabled (except the enable toggle itself)
|
||||
if (
|
||||
(settingKey.startsWith('oidc_') || settingKey === 'password_login_enabled') &&
|
||||
settingKey !== 'oidc_enabled' &&
|
||||
settingsMap['oidc_enabled'] === 'false'
|
||||
) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
function handleKeydown(e: KeyboardEvent, key: string) {
|
||||
if (e.key === 'Enter') {
|
||||
let input = e.currentTarget as HTMLInputElement;
|
||||
@@ -145,6 +173,7 @@
|
||||
onMount(async () => {
|
||||
const response = await settingClient.listSettings({});
|
||||
settingsMap = Object.fromEntries(response.settings.map((s) => [s.key, s.value]));
|
||||
console.log(settingsMap);
|
||||
originalSettings = { ...settingsMap };
|
||||
changedSettings = {};
|
||||
|
||||
@@ -304,99 +333,105 @@
|
||||
<Card.Content class="flex flex-col gap-6">
|
||||
<!-- Loop through each settings group -->
|
||||
{#each Object.entries(settingGroups) as [groupKey, group] (groupKey)}
|
||||
<div class="mt-4 first:mt-0">
|
||||
<h2 class="mb-0.5 text-xl font-semibold" id={groupKey}>{group.title}</h2>
|
||||
<p class="text-muted-foreground mb-2 text-sm">{group.description}</p>
|
||||
<Separator class="mb-4" />
|
||||
|
||||
<!-- Loop through settings in this group -->
|
||||
{#each group.keys as setting (setting.key)}
|
||||
<div class="mb-4 flex flex-col justify-start gap-4 sm:flex-row sm:justify-between">
|
||||
<div class="border-muted-foreground border-l-2 pl-4">
|
||||
<Label class="flex flex-col items-start gap-1">
|
||||
<span class="text-sm font-medium">{setting.label}</span>
|
||||
<p class="text-muted-foreground text-xs">{setting.description}</p>
|
||||
</Label>
|
||||
</div>
|
||||
|
||||
<div class="flex w-full items-center justify-end gap-4 sm:w-auto md:w-[380px]">
|
||||
{#if setting.type === 'text'}
|
||||
<Input
|
||||
type="text"
|
||||
value={settingsMap[setting.key]}
|
||||
autocomplete="off"
|
||||
onchange={(e) => updateSetting(setting.key, e.currentTarget.value)}
|
||||
onblur={saveSettings}
|
||||
onkeydown={(e) => handleKeydown(e, setting.key)}
|
||||
/>
|
||||
{/if}
|
||||
{#if setting.type === 'number'}
|
||||
<Input
|
||||
type="number"
|
||||
value={settingsMap[setting.key]}
|
||||
autocomplete="off"
|
||||
onchange={(e) => updateSetting(setting.key, e.currentTarget.value)}
|
||||
onblur={saveSettings}
|
||||
onkeydown={(e) => handleKeydown(e, setting.key)}
|
||||
/>
|
||||
{/if}
|
||||
{#if setting.type === 'boolean'}
|
||||
<Switch
|
||||
id={setting.key}
|
||||
checked={settingsMap[setting.key] === 'true'}
|
||||
onCheckedChange={(checked) => {
|
||||
updateSetting(setting.key, checked ? 'true' : 'false');
|
||||
saveSettings();
|
||||
}}
|
||||
/>
|
||||
{/if}
|
||||
{#if setting.type === 'password'}
|
||||
<PasswordInput
|
||||
class="sm:w-auto md:w-[380px]"
|
||||
value={settingsMap[setting.key]}
|
||||
autocomplete="new-password"
|
||||
onblur={saveSettings}
|
||||
onchange={(e) => updateSetting(setting.key, e.currentTarget.value)}
|
||||
onkeydown={(e) => handleKeydown(e, setting.key)}
|
||||
/>
|
||||
{/if}
|
||||
{#if setting.type === 'duration'}
|
||||
<Input
|
||||
type="text"
|
||||
value={settingsMap[setting.key]}
|
||||
autocomplete="off"
|
||||
onblur={saveSettings}
|
||||
onchange={(e) =>
|
||||
updateSetting(setting.key, parseDuration(e.currentTarget.value))}
|
||||
onkeydown={(e) => handleKeydown(e, setting.key)}
|
||||
/>
|
||||
{/if}
|
||||
{#if setting.type === 'select'}
|
||||
<Select.Root
|
||||
type="single"
|
||||
value={settingsMap[setting.key]}
|
||||
onValueChange={(value) => {
|
||||
updateSetting(setting.key, value);
|
||||
saveSettings();
|
||||
}}
|
||||
>
|
||||
<Select.Trigger class="w-full">
|
||||
{settingsMap[setting.key] || 'Select...'}
|
||||
</Select.Trigger>
|
||||
<Select.Content>
|
||||
{#if setting.key === 'storage_select'}
|
||||
{#each storageTypes as option (option.value)}
|
||||
<Select.Item value={option.value}>{option.label}</Select.Item>
|
||||
{/each}
|
||||
{/if}
|
||||
</Select.Content>
|
||||
</Select.Root>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
{#if shouldShowGroup(groupKey)}
|
||||
<div class="mt-4 first:mt-0">
|
||||
<h2 class="mb-0.5 text-xl font-semibold" id={groupKey}>{group.title}</h2>
|
||||
<p class="text-muted-foreground mb-2 text-sm">{group.description}</p>
|
||||
<Separator class="mb-4" />
|
||||
{/each}
|
||||
</div>
|
||||
|
||||
<!-- Loop through settings in this group -->
|
||||
{#each group.keys as setting (setting.key)}
|
||||
{#if shouldShowSetting(setting.key)}
|
||||
<div
|
||||
class="mb-4 flex flex-col justify-start gap-4 sm:flex-row sm:justify-between"
|
||||
>
|
||||
<div class="border-muted-foreground border-l-2 pl-4">
|
||||
<Label class="flex flex-col items-start gap-1">
|
||||
<span class="text-sm font-medium">{setting.label}</span>
|
||||
<p class="text-muted-foreground text-xs">{setting.description}</p>
|
||||
</Label>
|
||||
</div>
|
||||
|
||||
<div class="flex w-full items-center justify-end gap-4 sm:w-auto md:w-[380px]">
|
||||
{#if setting.type === 'text'}
|
||||
<Input
|
||||
type="text"
|
||||
value={settingsMap[setting.key]}
|
||||
autocomplete="off"
|
||||
onchange={(e) => updateSetting(setting.key, e.currentTarget.value)}
|
||||
onblur={saveSettings}
|
||||
onkeydown={(e) => handleKeydown(e, setting.key)}
|
||||
/>
|
||||
{/if}
|
||||
{#if setting.type === 'number'}
|
||||
<Input
|
||||
type="number"
|
||||
value={settingsMap[setting.key]}
|
||||
autocomplete="off"
|
||||
onchange={(e) => updateSetting(setting.key, e.currentTarget.value)}
|
||||
onblur={saveSettings}
|
||||
onkeydown={(e) => handleKeydown(e, setting.key)}
|
||||
/>
|
||||
{/if}
|
||||
{#if setting.type === 'boolean'}
|
||||
<Switch
|
||||
id={setting.key}
|
||||
checked={settingsMap[setting.key] === 'true'}
|
||||
onCheckedChange={(checked) => {
|
||||
updateSetting(setting.key, checked ? 'true' : 'false');
|
||||
saveSettings();
|
||||
}}
|
||||
/>
|
||||
{/if}
|
||||
{#if setting.type === 'password'}
|
||||
<PasswordInput
|
||||
class="sm:w-auto md:w-[380px]"
|
||||
value={settingsMap[setting.key]}
|
||||
autocomplete="new-password"
|
||||
onblur={saveSettings}
|
||||
onchange={(e) => updateSetting(setting.key, e.currentTarget.value)}
|
||||
onkeydown={(e) => handleKeydown(e, setting.key)}
|
||||
/>
|
||||
{/if}
|
||||
{#if setting.type === 'duration'}
|
||||
<Input
|
||||
type="text"
|
||||
value={settingsMap[setting.key]}
|
||||
autocomplete="off"
|
||||
onblur={saveSettings}
|
||||
onchange={(e) =>
|
||||
updateSetting(setting.key, parseDuration(e.currentTarget.value))}
|
||||
onkeydown={(e) => handleKeydown(e, setting.key)}
|
||||
/>
|
||||
{/if}
|
||||
{#if setting.type === 'select'}
|
||||
<Select.Root
|
||||
type="single"
|
||||
value={settingsMap[setting.key]}
|
||||
onValueChange={(value) => {
|
||||
updateSetting(setting.key, value);
|
||||
saveSettings();
|
||||
}}
|
||||
>
|
||||
<Select.Trigger class="w-full">
|
||||
{settingsMap[setting.key] || 'Select...'}
|
||||
</Select.Trigger>
|
||||
<Select.Content>
|
||||
{#if setting.key === 'storage_select'}
|
||||
{#each storageTypes as option (option.value)}
|
||||
<Select.Item value={option.value}>{option.label}</Select.Item>
|
||||
{/each}
|
||||
{/if}
|
||||
</Select.Content>
|
||||
</Select.Root>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
<Separator class="mb-4" />
|
||||
{/if}
|
||||
{/each}
|
||||
</div>
|
||||
{/if}
|
||||
{/each}
|
||||
|
||||
<div class="flex justify-end">
|
||||
|
||||
Reference in New Issue
Block a user