mirror of
https://github.com/mattermost/mattermost.git
synced 2026-02-03 20:40:00 -05:00
Go side: - Log hooks returned by Implemented() - Log each hook name -> ID mapping - Log OnActivate implementation status - Log OnActivate call flow Python side: - Log Implemented() return value - Log OnActivate gRPC receipt and handler invocation This is temporary debug logging to diagnose why OnActivate isn't being called for Python plugins. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
10311 lines
432 KiB
Python
10311 lines
432 KiB
Python
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
"""Client and server classes corresponding to protobuf-defined services."""
|
|
import grpc
|
|
import warnings
|
|
|
|
from . import api_channel_post_pb2 as api__channel__post__pb2
|
|
from . import api_file_bot_pb2 as api__file__bot__pb2
|
|
from . import api_kv_config_pb2 as api__kv__config__pb2
|
|
from . import api_remaining_pb2 as api__remaining__pb2
|
|
from . import api_user_team_pb2 as api__user__team__pb2
|
|
|
|
GRPC_GENERATED_VERSION = '1.76.0'
|
|
GRPC_VERSION = grpc.__version__
|
|
_version_not_supported = False
|
|
|
|
try:
|
|
from grpc._utilities import first_version_is_lower
|
|
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
except ImportError:
|
|
_version_not_supported = True
|
|
|
|
if _version_not_supported:
|
|
raise RuntimeError(
|
|
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
+ ' but the generated code in api_pb2_grpc.py depends on'
|
|
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
)
|
|
|
|
|
|
class PluginAPIStub(object):
|
|
"""==============================================================================
|
|
PLUGIN API SERVICE
|
|
==============================================================================
|
|
|
|
PluginAPI is the gRPC service that wraps the Mattermost Plugin API interface.
|
|
Each RPC corresponds to exactly one method in server/public/plugin/api.go.
|
|
|
|
This service is mechanically complete - the apiverify tool ensures parity
|
|
between this service definition and the Go API interface.
|
|
|
|
Error handling: All responses embed AppError as field 1. A nil/empty error
|
|
indicates success; a populated error indicates failure with full error details.
|
|
|
|
==============================================================================
|
|
|
|
"""
|
|
|
|
def __init__(self, channel):
|
|
"""Constructor.
|
|
|
|
Args:
|
|
channel: A grpc.Channel.
|
|
"""
|
|
self.CreateUser = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/CreateUser',
|
|
request_serializer=api__user__team__pb2.CreateUserRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.CreateUserResponse.FromString,
|
|
_registered_method=True)
|
|
self.DeleteUser = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/DeleteUser',
|
|
request_serializer=api__user__team__pb2.DeleteUserRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.DeleteUserResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetUsers = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetUsers',
|
|
request_serializer=api__user__team__pb2.GetUsersRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.GetUsersResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetUsersByIds = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetUsersByIds',
|
|
request_serializer=api__user__team__pb2.GetUsersByIdsRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.GetUsersByIdsResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetUser = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetUser',
|
|
request_serializer=api__user__team__pb2.GetUserRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.GetUserResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetUserByEmail = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetUserByEmail',
|
|
request_serializer=api__user__team__pb2.GetUserByEmailRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.GetUserByEmailResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetUserByUsername = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetUserByUsername',
|
|
request_serializer=api__user__team__pb2.GetUserByUsernameRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.GetUserByUsernameResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetUsersByUsernames = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetUsersByUsernames',
|
|
request_serializer=api__user__team__pb2.GetUsersByUsernamesRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.GetUsersByUsernamesResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetUsersInTeam = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetUsersInTeam',
|
|
request_serializer=api__user__team__pb2.GetUsersInTeamRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.GetUsersInTeamResponse.FromString,
|
|
_registered_method=True)
|
|
self.UpdateUser = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdateUser',
|
|
request_serializer=api__user__team__pb2.UpdateUserRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.UpdateUserResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetUserStatus = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetUserStatus',
|
|
request_serializer=api__user__team__pb2.GetUserStatusRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.GetUserStatusResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetUserStatusesByIds = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetUserStatusesByIds',
|
|
request_serializer=api__user__team__pb2.GetUserStatusesByIdsRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.GetUserStatusesByIdsResponse.FromString,
|
|
_registered_method=True)
|
|
self.UpdateUserStatus = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdateUserStatus',
|
|
request_serializer=api__user__team__pb2.UpdateUserStatusRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.UpdateUserStatusResponse.FromString,
|
|
_registered_method=True)
|
|
self.SetUserStatusTimedDND = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/SetUserStatusTimedDND',
|
|
request_serializer=api__user__team__pb2.SetUserStatusTimedDNDRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.SetUserStatusTimedDNDResponse.FromString,
|
|
_registered_method=True)
|
|
self.UpdateUserActive = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdateUserActive',
|
|
request_serializer=api__user__team__pb2.UpdateUserActiveRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.UpdateUserActiveResponse.FromString,
|
|
_registered_method=True)
|
|
self.UpdateUserCustomStatus = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdateUserCustomStatus',
|
|
request_serializer=api__user__team__pb2.UpdateUserCustomStatusRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.UpdateUserCustomStatusResponse.FromString,
|
|
_registered_method=True)
|
|
self.RemoveUserCustomStatus = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/RemoveUserCustomStatus',
|
|
request_serializer=api__user__team__pb2.RemoveUserCustomStatusRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.RemoveUserCustomStatusResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetUsersInChannel = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetUsersInChannel',
|
|
request_serializer=api__user__team__pb2.GetUsersInChannelRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.GetUsersInChannelResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetLDAPUserAttributes = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetLDAPUserAttributes',
|
|
request_serializer=api__user__team__pb2.GetLDAPUserAttributesRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.GetLDAPUserAttributesResponse.FromString,
|
|
_registered_method=True)
|
|
self.SearchUsers = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/SearchUsers',
|
|
request_serializer=api__user__team__pb2.SearchUsersRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.SearchUsersResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetProfileImage = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetProfileImage',
|
|
request_serializer=api__user__team__pb2.GetProfileImageRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.GetProfileImageResponse.FromString,
|
|
_registered_method=True)
|
|
self.SetProfileImage = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/SetProfileImage',
|
|
request_serializer=api__user__team__pb2.SetProfileImageRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.SetProfileImageResponse.FromString,
|
|
_registered_method=True)
|
|
self.HasPermissionTo = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/HasPermissionTo',
|
|
request_serializer=api__user__team__pb2.HasPermissionToRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.HasPermissionToResponse.FromString,
|
|
_registered_method=True)
|
|
self.HasPermissionToTeam = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/HasPermissionToTeam',
|
|
request_serializer=api__user__team__pb2.HasPermissionToTeamRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.HasPermissionToTeamResponse.FromString,
|
|
_registered_method=True)
|
|
self.HasPermissionToChannel = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/HasPermissionToChannel',
|
|
request_serializer=api__user__team__pb2.HasPermissionToChannelRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.HasPermissionToChannelResponse.FromString,
|
|
_registered_method=True)
|
|
self.PublishUserTyping = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/PublishUserTyping',
|
|
request_serializer=api__user__team__pb2.PublishUserTypingRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.PublishUserTypingResponse.FromString,
|
|
_registered_method=True)
|
|
self.UpdateUserAuth = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdateUserAuth',
|
|
request_serializer=api__user__team__pb2.UpdateUserAuthRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.UpdateUserAuthResponse.FromString,
|
|
_registered_method=True)
|
|
self.UpdateUserRoles = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdateUserRoles',
|
|
request_serializer=api__user__team__pb2.UpdateUserRolesRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.UpdateUserRolesResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetSession = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetSession',
|
|
request_serializer=api__user__team__pb2.GetSessionRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.GetSessionResponse.FromString,
|
|
_registered_method=True)
|
|
self.CreateSession = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/CreateSession',
|
|
request_serializer=api__user__team__pb2.CreateSessionRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.CreateSessionResponse.FromString,
|
|
_registered_method=True)
|
|
self.ExtendSessionExpiry = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/ExtendSessionExpiry',
|
|
request_serializer=api__user__team__pb2.ExtendSessionExpiryRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.ExtendSessionExpiryResponse.FromString,
|
|
_registered_method=True)
|
|
self.RevokeSession = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/RevokeSession',
|
|
request_serializer=api__user__team__pb2.RevokeSessionRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.RevokeSessionResponse.FromString,
|
|
_registered_method=True)
|
|
self.CreateUserAccessToken = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/CreateUserAccessToken',
|
|
request_serializer=api__user__team__pb2.CreateUserAccessTokenRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.CreateUserAccessTokenResponse.FromString,
|
|
_registered_method=True)
|
|
self.RevokeUserAccessToken = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/RevokeUserAccessToken',
|
|
request_serializer=api__user__team__pb2.RevokeUserAccessTokenRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.RevokeUserAccessTokenResponse.FromString,
|
|
_registered_method=True)
|
|
self.CreateTeam = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/CreateTeam',
|
|
request_serializer=api__user__team__pb2.CreateTeamRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.CreateTeamResponse.FromString,
|
|
_registered_method=True)
|
|
self.DeleteTeam = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/DeleteTeam',
|
|
request_serializer=api__user__team__pb2.DeleteTeamRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.DeleteTeamResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetTeams = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetTeams',
|
|
request_serializer=api__user__team__pb2.GetTeamsRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.GetTeamsResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetTeam = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetTeam',
|
|
request_serializer=api__user__team__pb2.GetTeamRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.GetTeamResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetTeamByName = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetTeamByName',
|
|
request_serializer=api__user__team__pb2.GetTeamByNameRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.GetTeamByNameResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetTeamsUnreadForUser = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetTeamsUnreadForUser',
|
|
request_serializer=api__user__team__pb2.GetTeamsUnreadForUserRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.GetTeamsUnreadForUserResponse.FromString,
|
|
_registered_method=True)
|
|
self.UpdateTeam = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdateTeam',
|
|
request_serializer=api__user__team__pb2.UpdateTeamRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.UpdateTeamResponse.FromString,
|
|
_registered_method=True)
|
|
self.SearchTeams = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/SearchTeams',
|
|
request_serializer=api__user__team__pb2.SearchTeamsRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.SearchTeamsResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetTeamsForUser = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetTeamsForUser',
|
|
request_serializer=api__user__team__pb2.GetTeamsForUserRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.GetTeamsForUserResponse.FromString,
|
|
_registered_method=True)
|
|
self.CreateTeamMember = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/CreateTeamMember',
|
|
request_serializer=api__user__team__pb2.CreateTeamMemberRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.CreateTeamMemberResponse.FromString,
|
|
_registered_method=True)
|
|
self.CreateTeamMembers = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/CreateTeamMembers',
|
|
request_serializer=api__user__team__pb2.CreateTeamMembersRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.CreateTeamMembersResponse.FromString,
|
|
_registered_method=True)
|
|
self.CreateTeamMembersGracefully = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/CreateTeamMembersGracefully',
|
|
request_serializer=api__user__team__pb2.CreateTeamMembersGracefullyRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.CreateTeamMembersGracefullyResponse.FromString,
|
|
_registered_method=True)
|
|
self.DeleteTeamMember = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/DeleteTeamMember',
|
|
request_serializer=api__user__team__pb2.DeleteTeamMemberRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.DeleteTeamMemberResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetTeamMembers = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetTeamMembers',
|
|
request_serializer=api__user__team__pb2.GetTeamMembersRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.GetTeamMembersResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetTeamMember = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetTeamMember',
|
|
request_serializer=api__user__team__pb2.GetTeamMemberRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.GetTeamMemberResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetTeamMembersForUser = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetTeamMembersForUser',
|
|
request_serializer=api__user__team__pb2.GetTeamMembersForUserRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.GetTeamMembersForUserResponse.FromString,
|
|
_registered_method=True)
|
|
self.UpdateTeamMemberRoles = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdateTeamMemberRoles',
|
|
request_serializer=api__user__team__pb2.UpdateTeamMemberRolesRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.UpdateTeamMemberRolesResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetTeamIcon = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetTeamIcon',
|
|
request_serializer=api__user__team__pb2.GetTeamIconRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.GetTeamIconResponse.FromString,
|
|
_registered_method=True)
|
|
self.SetTeamIcon = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/SetTeamIcon',
|
|
request_serializer=api__user__team__pb2.SetTeamIconRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.SetTeamIconResponse.FromString,
|
|
_registered_method=True)
|
|
self.RemoveTeamIcon = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/RemoveTeamIcon',
|
|
request_serializer=api__user__team__pb2.RemoveTeamIconRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.RemoveTeamIconResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetTeamStats = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetTeamStats',
|
|
request_serializer=api__user__team__pb2.GetTeamStatsRequest.SerializeToString,
|
|
response_deserializer=api__user__team__pb2.GetTeamStatsResponse.FromString,
|
|
_registered_method=True)
|
|
self.CreateChannel = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/CreateChannel',
|
|
request_serializer=api__channel__post__pb2.CreateChannelRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.CreateChannelResponse.FromString,
|
|
_registered_method=True)
|
|
self.DeleteChannel = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/DeleteChannel',
|
|
request_serializer=api__channel__post__pb2.DeleteChannelRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.DeleteChannelResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetPublicChannelsForTeam = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetPublicChannelsForTeam',
|
|
request_serializer=api__channel__post__pb2.GetPublicChannelsForTeamRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.GetPublicChannelsForTeamResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetChannel = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetChannel',
|
|
request_serializer=api__channel__post__pb2.GetChannelRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.GetChannelResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetChannelByName = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetChannelByName',
|
|
request_serializer=api__channel__post__pb2.GetChannelByNameRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.GetChannelByNameResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetChannelByNameForTeamName = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetChannelByNameForTeamName',
|
|
request_serializer=api__channel__post__pb2.GetChannelByNameForTeamNameRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.GetChannelByNameForTeamNameResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetChannelsForTeamForUser = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetChannelsForTeamForUser',
|
|
request_serializer=api__channel__post__pb2.GetChannelsForTeamForUserRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.GetChannelsForTeamForUserResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetChannelStats = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetChannelStats',
|
|
request_serializer=api__channel__post__pb2.GetChannelStatsRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.GetChannelStatsResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetDirectChannel = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetDirectChannel',
|
|
request_serializer=api__channel__post__pb2.GetDirectChannelRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.GetDirectChannelResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetGroupChannel = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetGroupChannel',
|
|
request_serializer=api__channel__post__pb2.GetGroupChannelRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.GetGroupChannelResponse.FromString,
|
|
_registered_method=True)
|
|
self.UpdateChannel = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdateChannel',
|
|
request_serializer=api__channel__post__pb2.UpdateChannelRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.UpdateChannelResponse.FromString,
|
|
_registered_method=True)
|
|
self.SearchChannels = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/SearchChannels',
|
|
request_serializer=api__channel__post__pb2.SearchChannelsRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.SearchChannelsResponse.FromString,
|
|
_registered_method=True)
|
|
self.AddChannelMember = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/AddChannelMember',
|
|
request_serializer=api__channel__post__pb2.AddChannelMemberRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.AddChannelMemberResponse.FromString,
|
|
_registered_method=True)
|
|
self.AddUserToChannel = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/AddUserToChannel',
|
|
request_serializer=api__channel__post__pb2.AddUserToChannelRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.AddUserToChannelResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetChannelMember = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetChannelMember',
|
|
request_serializer=api__channel__post__pb2.GetChannelMemberRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.GetChannelMemberResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetChannelMembers = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetChannelMembers',
|
|
request_serializer=api__channel__post__pb2.GetChannelMembersRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.GetChannelMembersResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetChannelMembersByIds = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetChannelMembersByIds',
|
|
request_serializer=api__channel__post__pb2.GetChannelMembersByIdsRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.GetChannelMembersByIdsResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetChannelMembersForUser = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetChannelMembersForUser',
|
|
request_serializer=api__channel__post__pb2.GetChannelMembersForUserRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.GetChannelMembersForUserResponse.FromString,
|
|
_registered_method=True)
|
|
self.UpdateChannelMemberRoles = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdateChannelMemberRoles',
|
|
request_serializer=api__channel__post__pb2.UpdateChannelMemberRolesRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.UpdateChannelMemberRolesResponse.FromString,
|
|
_registered_method=True)
|
|
self.UpdateChannelMemberNotifications = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdateChannelMemberNotifications',
|
|
request_serializer=api__channel__post__pb2.UpdateChannelMemberNotificationsRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.UpdateChannelMemberNotificationsResponse.FromString,
|
|
_registered_method=True)
|
|
self.PatchChannelMembersNotifications = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/PatchChannelMembersNotifications',
|
|
request_serializer=api__channel__post__pb2.PatchChannelMembersNotificationsRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.PatchChannelMembersNotificationsResponse.FromString,
|
|
_registered_method=True)
|
|
self.DeleteChannelMember = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/DeleteChannelMember',
|
|
request_serializer=api__channel__post__pb2.DeleteChannelMemberRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.DeleteChannelMemberResponse.FromString,
|
|
_registered_method=True)
|
|
self.CreateChannelSidebarCategory = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/CreateChannelSidebarCategory',
|
|
request_serializer=api__channel__post__pb2.CreateChannelSidebarCategoryRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.CreateChannelSidebarCategoryResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetChannelSidebarCategories = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetChannelSidebarCategories',
|
|
request_serializer=api__channel__post__pb2.GetChannelSidebarCategoriesRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.GetChannelSidebarCategoriesResponse.FromString,
|
|
_registered_method=True)
|
|
self.UpdateChannelSidebarCategories = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdateChannelSidebarCategories',
|
|
request_serializer=api__channel__post__pb2.UpdateChannelSidebarCategoriesRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.UpdateChannelSidebarCategoriesResponse.FromString,
|
|
_registered_method=True)
|
|
self.CreatePost = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/CreatePost',
|
|
request_serializer=api__channel__post__pb2.CreatePostRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.CreatePostResponse.FromString,
|
|
_registered_method=True)
|
|
self.AddReaction = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/AddReaction',
|
|
request_serializer=api__channel__post__pb2.AddReactionRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.AddReactionResponse.FromString,
|
|
_registered_method=True)
|
|
self.RemoveReaction = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/RemoveReaction',
|
|
request_serializer=api__channel__post__pb2.RemoveReactionRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.RemoveReactionResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetReactions = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetReactions',
|
|
request_serializer=api__channel__post__pb2.GetReactionsRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.GetReactionsResponse.FromString,
|
|
_registered_method=True)
|
|
self.SendEphemeralPost = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/SendEphemeralPost',
|
|
request_serializer=api__channel__post__pb2.SendEphemeralPostRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.SendEphemeralPostResponse.FromString,
|
|
_registered_method=True)
|
|
self.UpdateEphemeralPost = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdateEphemeralPost',
|
|
request_serializer=api__channel__post__pb2.UpdateEphemeralPostRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.UpdateEphemeralPostResponse.FromString,
|
|
_registered_method=True)
|
|
self.DeleteEphemeralPost = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/DeleteEphemeralPost',
|
|
request_serializer=api__channel__post__pb2.DeleteEphemeralPostRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.DeleteEphemeralPostResponse.FromString,
|
|
_registered_method=True)
|
|
self.DeletePost = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/DeletePost',
|
|
request_serializer=api__channel__post__pb2.DeletePostRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.DeletePostResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetPostThread = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetPostThread',
|
|
request_serializer=api__channel__post__pb2.GetPostThreadRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.GetPostThreadResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetPost = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetPost',
|
|
request_serializer=api__channel__post__pb2.GetPostRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.GetPostResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetPostsSince = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetPostsSince',
|
|
request_serializer=api__channel__post__pb2.GetPostsSinceRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.GetPostsSinceResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetPostsAfter = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetPostsAfter',
|
|
request_serializer=api__channel__post__pb2.GetPostsAfterRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.GetPostsAfterResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetPostsBefore = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetPostsBefore',
|
|
request_serializer=api__channel__post__pb2.GetPostsBeforeRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.GetPostsBeforeResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetPostsForChannel = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetPostsForChannel',
|
|
request_serializer=api__channel__post__pb2.GetPostsForChannelRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.GetPostsForChannelResponse.FromString,
|
|
_registered_method=True)
|
|
self.UpdatePost = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdatePost',
|
|
request_serializer=api__channel__post__pb2.UpdatePostRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.UpdatePostResponse.FromString,
|
|
_registered_method=True)
|
|
self.SearchPostsInTeam = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/SearchPostsInTeam',
|
|
request_serializer=api__channel__post__pb2.SearchPostsInTeamRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.SearchPostsInTeamResponse.FromString,
|
|
_registered_method=True)
|
|
self.SearchPostsInTeamForUser = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/SearchPostsInTeamForUser',
|
|
request_serializer=api__channel__post__pb2.SearchPostsInTeamForUserRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.SearchPostsInTeamForUserResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetEmojiList = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetEmojiList',
|
|
request_serializer=api__channel__post__pb2.GetEmojiListRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.GetEmojiListResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetEmojiByName = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetEmojiByName',
|
|
request_serializer=api__channel__post__pb2.GetEmojiByNameRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.GetEmojiByNameResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetEmoji = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetEmoji',
|
|
request_serializer=api__channel__post__pb2.GetEmojiRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.GetEmojiResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetEmojiImage = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetEmojiImage',
|
|
request_serializer=api__channel__post__pb2.GetEmojiImageRequest.SerializeToString,
|
|
response_deserializer=api__channel__post__pb2.GetEmojiImageResponse.FromString,
|
|
_registered_method=True)
|
|
self.KVSet = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/KVSet',
|
|
request_serializer=api__kv__config__pb2.KVSetRequest.SerializeToString,
|
|
response_deserializer=api__kv__config__pb2.KVSetResponse.FromString,
|
|
_registered_method=True)
|
|
self.KVCompareAndSet = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/KVCompareAndSet',
|
|
request_serializer=api__kv__config__pb2.KVCompareAndSetRequest.SerializeToString,
|
|
response_deserializer=api__kv__config__pb2.KVCompareAndSetResponse.FromString,
|
|
_registered_method=True)
|
|
self.KVCompareAndDelete = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/KVCompareAndDelete',
|
|
request_serializer=api__kv__config__pb2.KVCompareAndDeleteRequest.SerializeToString,
|
|
response_deserializer=api__kv__config__pb2.KVCompareAndDeleteResponse.FromString,
|
|
_registered_method=True)
|
|
self.KVSetWithOptions = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/KVSetWithOptions',
|
|
request_serializer=api__kv__config__pb2.KVSetWithOptionsRequest.SerializeToString,
|
|
response_deserializer=api__kv__config__pb2.KVSetWithOptionsResponse.FromString,
|
|
_registered_method=True)
|
|
self.KVSetWithExpiry = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/KVSetWithExpiry',
|
|
request_serializer=api__kv__config__pb2.KVSetWithExpiryRequest.SerializeToString,
|
|
response_deserializer=api__kv__config__pb2.KVSetWithExpiryResponse.FromString,
|
|
_registered_method=True)
|
|
self.KVGet = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/KVGet',
|
|
request_serializer=api__kv__config__pb2.KVGetRequest.SerializeToString,
|
|
response_deserializer=api__kv__config__pb2.KVGetResponse.FromString,
|
|
_registered_method=True)
|
|
self.KVDelete = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/KVDelete',
|
|
request_serializer=api__kv__config__pb2.KVDeleteRequest.SerializeToString,
|
|
response_deserializer=api__kv__config__pb2.KVDeleteResponse.FromString,
|
|
_registered_method=True)
|
|
self.KVDeleteAll = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/KVDeleteAll',
|
|
request_serializer=api__kv__config__pb2.KVDeleteAllRequest.SerializeToString,
|
|
response_deserializer=api__kv__config__pb2.KVDeleteAllResponse.FromString,
|
|
_registered_method=True)
|
|
self.KVList = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/KVList',
|
|
request_serializer=api__kv__config__pb2.KVListRequest.SerializeToString,
|
|
response_deserializer=api__kv__config__pb2.KVListResponse.FromString,
|
|
_registered_method=True)
|
|
self.PublishWebSocketEvent = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/PublishWebSocketEvent',
|
|
request_serializer=api__kv__config__pb2.PublishWebSocketEventRequest.SerializeToString,
|
|
response_deserializer=api__kv__config__pb2.PublishWebSocketEventResponse.FromString,
|
|
_registered_method=True)
|
|
self.LoadPluginConfiguration = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/LoadPluginConfiguration',
|
|
request_serializer=api__kv__config__pb2.LoadPluginConfigurationRequest.SerializeToString,
|
|
response_deserializer=api__kv__config__pb2.LoadPluginConfigurationResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetConfig = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetConfig',
|
|
request_serializer=api__kv__config__pb2.GetConfigRequest.SerializeToString,
|
|
response_deserializer=api__kv__config__pb2.GetConfigResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetUnsanitizedConfig = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetUnsanitizedConfig',
|
|
request_serializer=api__kv__config__pb2.GetUnsanitizedConfigRequest.SerializeToString,
|
|
response_deserializer=api__kv__config__pb2.GetUnsanitizedConfigResponse.FromString,
|
|
_registered_method=True)
|
|
self.SaveConfig = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/SaveConfig',
|
|
request_serializer=api__kv__config__pb2.SaveConfigRequest.SerializeToString,
|
|
response_deserializer=api__kv__config__pb2.SaveConfigResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetPluginConfig = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetPluginConfig',
|
|
request_serializer=api__kv__config__pb2.GetPluginConfigRequest.SerializeToString,
|
|
response_deserializer=api__kv__config__pb2.GetPluginConfigResponse.FromString,
|
|
_registered_method=True)
|
|
self.SavePluginConfig = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/SavePluginConfig',
|
|
request_serializer=api__kv__config__pb2.SavePluginConfigRequest.SerializeToString,
|
|
response_deserializer=api__kv__config__pb2.SavePluginConfigResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetBundlePath = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetBundlePath',
|
|
request_serializer=api__kv__config__pb2.GetBundlePathRequest.SerializeToString,
|
|
response_deserializer=api__kv__config__pb2.GetBundlePathResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetPlugins = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetPlugins',
|
|
request_serializer=api__kv__config__pb2.GetPluginsRequest.SerializeToString,
|
|
response_deserializer=api__kv__config__pb2.GetPluginsResponse.FromString,
|
|
_registered_method=True)
|
|
self.EnablePlugin = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/EnablePlugin',
|
|
request_serializer=api__kv__config__pb2.EnablePluginRequest.SerializeToString,
|
|
response_deserializer=api__kv__config__pb2.EnablePluginResponse.FromString,
|
|
_registered_method=True)
|
|
self.DisablePlugin = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/DisablePlugin',
|
|
request_serializer=api__kv__config__pb2.DisablePluginRequest.SerializeToString,
|
|
response_deserializer=api__kv__config__pb2.DisablePluginResponse.FromString,
|
|
_registered_method=True)
|
|
self.RemovePlugin = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/RemovePlugin',
|
|
request_serializer=api__kv__config__pb2.RemovePluginRequest.SerializeToString,
|
|
response_deserializer=api__kv__config__pb2.RemovePluginResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetPluginStatus = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetPluginStatus',
|
|
request_serializer=api__kv__config__pb2.GetPluginStatusRequest.SerializeToString,
|
|
response_deserializer=api__kv__config__pb2.GetPluginStatusResponse.FromString,
|
|
_registered_method=True)
|
|
self.InstallPlugin = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/InstallPlugin',
|
|
request_serializer=api__kv__config__pb2.InstallPluginRequest.SerializeToString,
|
|
response_deserializer=api__kv__config__pb2.InstallPluginResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetPluginID = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetPluginID',
|
|
request_serializer=api__kv__config__pb2.GetPluginIDRequest.SerializeToString,
|
|
response_deserializer=api__kv__config__pb2.GetPluginIDResponse.FromString,
|
|
_registered_method=True)
|
|
self.LogDebug = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/LogDebug',
|
|
request_serializer=api__kv__config__pb2.LogDebugRequest.SerializeToString,
|
|
response_deserializer=api__kv__config__pb2.LogDebugResponse.FromString,
|
|
_registered_method=True)
|
|
self.LogInfo = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/LogInfo',
|
|
request_serializer=api__kv__config__pb2.LogInfoRequest.SerializeToString,
|
|
response_deserializer=api__kv__config__pb2.LogInfoResponse.FromString,
|
|
_registered_method=True)
|
|
self.LogError = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/LogError',
|
|
request_serializer=api__kv__config__pb2.LogErrorRequest.SerializeToString,
|
|
response_deserializer=api__kv__config__pb2.LogErrorResponse.FromString,
|
|
_registered_method=True)
|
|
self.LogWarn = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/LogWarn',
|
|
request_serializer=api__kv__config__pb2.LogWarnRequest.SerializeToString,
|
|
response_deserializer=api__kv__config__pb2.LogWarnResponse.FromString,
|
|
_registered_method=True)
|
|
self.CopyFileInfos = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/CopyFileInfos',
|
|
request_serializer=api__file__bot__pb2.CopyFileInfosRequest.SerializeToString,
|
|
response_deserializer=api__file__bot__pb2.CopyFileInfosResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetFileInfo = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetFileInfo',
|
|
request_serializer=api__file__bot__pb2.GetFileInfoRequest.SerializeToString,
|
|
response_deserializer=api__file__bot__pb2.GetFileInfoResponse.FromString,
|
|
_registered_method=True)
|
|
self.SetFileSearchableContent = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/SetFileSearchableContent',
|
|
request_serializer=api__file__bot__pb2.SetFileSearchableContentRequest.SerializeToString,
|
|
response_deserializer=api__file__bot__pb2.SetFileSearchableContentResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetFileInfos = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetFileInfos',
|
|
request_serializer=api__file__bot__pb2.GetFileInfosRequest.SerializeToString,
|
|
response_deserializer=api__file__bot__pb2.GetFileInfosResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetFile = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetFile',
|
|
request_serializer=api__file__bot__pb2.GetFileRequest.SerializeToString,
|
|
response_deserializer=api__file__bot__pb2.GetFileResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetFileLink = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetFileLink',
|
|
request_serializer=api__file__bot__pb2.GetFileLinkRequest.SerializeToString,
|
|
response_deserializer=api__file__bot__pb2.GetFileLinkResponse.FromString,
|
|
_registered_method=True)
|
|
self.ReadFile = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/ReadFile',
|
|
request_serializer=api__file__bot__pb2.ReadFileRequest.SerializeToString,
|
|
response_deserializer=api__file__bot__pb2.ReadFileResponse.FromString,
|
|
_registered_method=True)
|
|
self.UploadFile = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/UploadFile',
|
|
request_serializer=api__file__bot__pb2.UploadFileRequest.SerializeToString,
|
|
response_deserializer=api__file__bot__pb2.UploadFileResponse.FromString,
|
|
_registered_method=True)
|
|
self.CreateUploadSession = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/CreateUploadSession',
|
|
request_serializer=api__file__bot__pb2.CreateUploadSessionRequest.SerializeToString,
|
|
response_deserializer=api__file__bot__pb2.CreateUploadSessionResponse.FromString,
|
|
_registered_method=True)
|
|
self.UploadData = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/UploadData',
|
|
request_serializer=api__file__bot__pb2.UploadDataRequest.SerializeToString,
|
|
response_deserializer=api__file__bot__pb2.UploadDataResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetUploadSession = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetUploadSession',
|
|
request_serializer=api__file__bot__pb2.GetUploadSessionRequest.SerializeToString,
|
|
response_deserializer=api__file__bot__pb2.GetUploadSessionResponse.FromString,
|
|
_registered_method=True)
|
|
self.CreateBot = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/CreateBot',
|
|
request_serializer=api__file__bot__pb2.CreateBotRequest.SerializeToString,
|
|
response_deserializer=api__file__bot__pb2.CreateBotResponse.FromString,
|
|
_registered_method=True)
|
|
self.PatchBot = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/PatchBot',
|
|
request_serializer=api__file__bot__pb2.PatchBotRequest.SerializeToString,
|
|
response_deserializer=api__file__bot__pb2.PatchBotResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetBot = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetBot',
|
|
request_serializer=api__file__bot__pb2.GetBotRequest.SerializeToString,
|
|
response_deserializer=api__file__bot__pb2.GetBotResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetBots = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetBots',
|
|
request_serializer=api__file__bot__pb2.GetBotsRequest.SerializeToString,
|
|
response_deserializer=api__file__bot__pb2.GetBotsResponse.FromString,
|
|
_registered_method=True)
|
|
self.UpdateBotActive = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdateBotActive',
|
|
request_serializer=api__file__bot__pb2.UpdateBotActiveRequest.SerializeToString,
|
|
response_deserializer=api__file__bot__pb2.UpdateBotActiveResponse.FromString,
|
|
_registered_method=True)
|
|
self.PermanentDeleteBot = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/PermanentDeleteBot',
|
|
request_serializer=api__file__bot__pb2.PermanentDeleteBotRequest.SerializeToString,
|
|
response_deserializer=api__file__bot__pb2.PermanentDeleteBotResponse.FromString,
|
|
_registered_method=True)
|
|
self.EnsureBotUser = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/EnsureBotUser',
|
|
request_serializer=api__file__bot__pb2.EnsureBotUserRequest.SerializeToString,
|
|
response_deserializer=api__file__bot__pb2.EnsureBotUserResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetLicense = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetLicense',
|
|
request_serializer=api__remaining__pb2.GetLicenseRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.GetLicenseResponse.FromString,
|
|
_registered_method=True)
|
|
self.IsEnterpriseReady = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/IsEnterpriseReady',
|
|
request_serializer=api__remaining__pb2.IsEnterpriseReadyRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.IsEnterpriseReadyResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetServerVersion = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetServerVersion',
|
|
request_serializer=api__remaining__pb2.GetServerVersionRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.GetServerVersionResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetSystemInstallDate = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetSystemInstallDate',
|
|
request_serializer=api__remaining__pb2.GetSystemInstallDateRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.GetSystemInstallDateResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetDiagnosticId = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetDiagnosticId',
|
|
request_serializer=api__remaining__pb2.GetDiagnosticIdRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.GetDiagnosticIdResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetTelemetryId = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetTelemetryId',
|
|
request_serializer=api__remaining__pb2.GetTelemetryIdRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.GetTelemetryIdResponse.FromString,
|
|
_registered_method=True)
|
|
self.RegisterCommand = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/RegisterCommand',
|
|
request_serializer=api__remaining__pb2.RegisterCommandRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.RegisterCommandResponse.FromString,
|
|
_registered_method=True)
|
|
self.UnregisterCommand = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/UnregisterCommand',
|
|
request_serializer=api__remaining__pb2.UnregisterCommandRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.UnregisterCommandResponse.FromString,
|
|
_registered_method=True)
|
|
self.ExecuteSlashCommand = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/ExecuteSlashCommand',
|
|
request_serializer=api__remaining__pb2.ExecuteSlashCommandRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.ExecuteSlashCommandResponse.FromString,
|
|
_registered_method=True)
|
|
self.CreateCommand = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/CreateCommand',
|
|
request_serializer=api__remaining__pb2.CreateCommandRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.CreateCommandResponse.FromString,
|
|
_registered_method=True)
|
|
self.ListCommands = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/ListCommands',
|
|
request_serializer=api__remaining__pb2.ListCommandsRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.ListCommandsResponse.FromString,
|
|
_registered_method=True)
|
|
self.ListCustomCommands = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/ListCustomCommands',
|
|
request_serializer=api__remaining__pb2.ListCustomCommandsRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.ListCustomCommandsResponse.FromString,
|
|
_registered_method=True)
|
|
self.ListPluginCommands = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/ListPluginCommands',
|
|
request_serializer=api__remaining__pb2.ListPluginCommandsRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.ListPluginCommandsResponse.FromString,
|
|
_registered_method=True)
|
|
self.ListBuiltInCommands = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/ListBuiltInCommands',
|
|
request_serializer=api__remaining__pb2.ListBuiltInCommandsRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.ListBuiltInCommandsResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetCommand = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetCommand',
|
|
request_serializer=api__remaining__pb2.GetCommandRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.GetCommandResponse.FromString,
|
|
_registered_method=True)
|
|
self.UpdateCommand = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdateCommand',
|
|
request_serializer=api__remaining__pb2.UpdateCommandRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.UpdateCommandResponse.FromString,
|
|
_registered_method=True)
|
|
self.DeleteCommand = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/DeleteCommand',
|
|
request_serializer=api__remaining__pb2.DeleteCommandRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.DeleteCommandResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetPreferenceForUser = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetPreferenceForUser',
|
|
request_serializer=api__remaining__pb2.GetPreferenceForUserRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.GetPreferenceForUserResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetPreferencesForUser = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetPreferencesForUser',
|
|
request_serializer=api__remaining__pb2.GetPreferencesForUserRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.GetPreferencesForUserResponse.FromString,
|
|
_registered_method=True)
|
|
self.UpdatePreferencesForUser = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdatePreferencesForUser',
|
|
request_serializer=api__remaining__pb2.UpdatePreferencesForUserRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.UpdatePreferencesForUserResponse.FromString,
|
|
_registered_method=True)
|
|
self.DeletePreferencesForUser = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/DeletePreferencesForUser',
|
|
request_serializer=api__remaining__pb2.DeletePreferencesForUserRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.DeletePreferencesForUserResponse.FromString,
|
|
_registered_method=True)
|
|
self.CreateOAuthApp = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/CreateOAuthApp',
|
|
request_serializer=api__remaining__pb2.CreateOAuthAppRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.CreateOAuthAppResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetOAuthApp = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetOAuthApp',
|
|
request_serializer=api__remaining__pb2.GetOAuthAppRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.GetOAuthAppResponse.FromString,
|
|
_registered_method=True)
|
|
self.UpdateOAuthApp = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdateOAuthApp',
|
|
request_serializer=api__remaining__pb2.UpdateOAuthAppRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.UpdateOAuthAppResponse.FromString,
|
|
_registered_method=True)
|
|
self.DeleteOAuthApp = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/DeleteOAuthApp',
|
|
request_serializer=api__remaining__pb2.DeleteOAuthAppRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.DeleteOAuthAppResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetGroup = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetGroup',
|
|
request_serializer=api__remaining__pb2.GetGroupRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.GetGroupResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetGroupByName = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetGroupByName',
|
|
request_serializer=api__remaining__pb2.GetGroupByNameRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.GetGroupByNameResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetGroupMemberUsers = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetGroupMemberUsers',
|
|
request_serializer=api__remaining__pb2.GetGroupMemberUsersRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.GetGroupMemberUsersResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetGroupsBySource = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetGroupsBySource',
|
|
request_serializer=api__remaining__pb2.GetGroupsBySourceRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.GetGroupsBySourceResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetGroupsForUser = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetGroupsForUser',
|
|
request_serializer=api__remaining__pb2.GetGroupsForUserRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.GetGroupsForUserResponse.FromString,
|
|
_registered_method=True)
|
|
self.UpsertGroupMember = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpsertGroupMember',
|
|
request_serializer=api__remaining__pb2.UpsertGroupMemberRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.UpsertGroupMemberResponse.FromString,
|
|
_registered_method=True)
|
|
self.UpsertGroupMembers = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpsertGroupMembers',
|
|
request_serializer=api__remaining__pb2.UpsertGroupMembersRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.UpsertGroupMembersResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetGroupByRemoteID = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetGroupByRemoteID',
|
|
request_serializer=api__remaining__pb2.GetGroupByRemoteIDRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.GetGroupByRemoteIDResponse.FromString,
|
|
_registered_method=True)
|
|
self.CreateGroup = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/CreateGroup',
|
|
request_serializer=api__remaining__pb2.CreateGroupRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.CreateGroupResponse.FromString,
|
|
_registered_method=True)
|
|
self.UpdateGroup = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdateGroup',
|
|
request_serializer=api__remaining__pb2.UpdateGroupRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.UpdateGroupResponse.FromString,
|
|
_registered_method=True)
|
|
self.DeleteGroup = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/DeleteGroup',
|
|
request_serializer=api__remaining__pb2.DeleteGroupRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.DeleteGroupResponse.FromString,
|
|
_registered_method=True)
|
|
self.RestoreGroup = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/RestoreGroup',
|
|
request_serializer=api__remaining__pb2.RestoreGroupRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.RestoreGroupResponse.FromString,
|
|
_registered_method=True)
|
|
self.DeleteGroupMember = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/DeleteGroupMember',
|
|
request_serializer=api__remaining__pb2.DeleteGroupMemberRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.DeleteGroupMemberResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetGroupSyncable = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetGroupSyncable',
|
|
request_serializer=api__remaining__pb2.GetGroupSyncableRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.GetGroupSyncableResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetGroupSyncables = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetGroupSyncables',
|
|
request_serializer=api__remaining__pb2.GetGroupSyncablesRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.GetGroupSyncablesResponse.FromString,
|
|
_registered_method=True)
|
|
self.UpsertGroupSyncable = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpsertGroupSyncable',
|
|
request_serializer=api__remaining__pb2.UpsertGroupSyncableRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.UpsertGroupSyncableResponse.FromString,
|
|
_registered_method=True)
|
|
self.UpdateGroupSyncable = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdateGroupSyncable',
|
|
request_serializer=api__remaining__pb2.UpdateGroupSyncableRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.UpdateGroupSyncableResponse.FromString,
|
|
_registered_method=True)
|
|
self.DeleteGroupSyncable = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/DeleteGroupSyncable',
|
|
request_serializer=api__remaining__pb2.DeleteGroupSyncableRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.DeleteGroupSyncableResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetGroups = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetGroups',
|
|
request_serializer=api__remaining__pb2.GetGroupsRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.GetGroupsResponse.FromString,
|
|
_registered_method=True)
|
|
self.CreateDefaultSyncableMemberships = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/CreateDefaultSyncableMemberships',
|
|
request_serializer=api__remaining__pb2.CreateDefaultSyncableMembershipsRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.CreateDefaultSyncableMembershipsResponse.FromString,
|
|
_registered_method=True)
|
|
self.DeleteGroupConstrainedMemberships = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/DeleteGroupConstrainedMemberships',
|
|
request_serializer=api__remaining__pb2.DeleteGroupConstrainedMembershipsRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.DeleteGroupConstrainedMembershipsResponse.FromString,
|
|
_registered_method=True)
|
|
self.RegisterPluginForSharedChannels = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/RegisterPluginForSharedChannels',
|
|
request_serializer=api__remaining__pb2.RegisterPluginForSharedChannelsRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.RegisterPluginForSharedChannelsResponse.FromString,
|
|
_registered_method=True)
|
|
self.UnregisterPluginForSharedChannels = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/UnregisterPluginForSharedChannels',
|
|
request_serializer=api__remaining__pb2.UnregisterPluginForSharedChannelsRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.UnregisterPluginForSharedChannelsResponse.FromString,
|
|
_registered_method=True)
|
|
self.ShareChannel = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/ShareChannel',
|
|
request_serializer=api__remaining__pb2.ShareChannelRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.ShareChannelResponse.FromString,
|
|
_registered_method=True)
|
|
self.UpdateSharedChannel = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdateSharedChannel',
|
|
request_serializer=api__remaining__pb2.UpdateSharedChannelRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.UpdateSharedChannelResponse.FromString,
|
|
_registered_method=True)
|
|
self.UnshareChannel = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/UnshareChannel',
|
|
request_serializer=api__remaining__pb2.UnshareChannelRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.UnshareChannelResponse.FromString,
|
|
_registered_method=True)
|
|
self.UpdateSharedChannelCursor = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdateSharedChannelCursor',
|
|
request_serializer=api__remaining__pb2.UpdateSharedChannelCursorRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.UpdateSharedChannelCursorResponse.FromString,
|
|
_registered_method=True)
|
|
self.SyncSharedChannel = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/SyncSharedChannel',
|
|
request_serializer=api__remaining__pb2.SyncSharedChannelRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.SyncSharedChannelResponse.FromString,
|
|
_registered_method=True)
|
|
self.InviteRemoteToChannel = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/InviteRemoteToChannel',
|
|
request_serializer=api__remaining__pb2.InviteRemoteToChannelRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.InviteRemoteToChannelResponse.FromString,
|
|
_registered_method=True)
|
|
self.UninviteRemoteFromChannel = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/UninviteRemoteFromChannel',
|
|
request_serializer=api__remaining__pb2.UninviteRemoteFromChannelRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.UninviteRemoteFromChannelResponse.FromString,
|
|
_registered_method=True)
|
|
self.CreatePropertyField = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/CreatePropertyField',
|
|
request_serializer=api__remaining__pb2.CreatePropertyFieldRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.CreatePropertyFieldResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetPropertyField = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetPropertyField',
|
|
request_serializer=api__remaining__pb2.GetPropertyFieldRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.GetPropertyFieldResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetPropertyFields = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetPropertyFields',
|
|
request_serializer=api__remaining__pb2.GetPropertyFieldsRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.GetPropertyFieldsResponse.FromString,
|
|
_registered_method=True)
|
|
self.UpdatePropertyField = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdatePropertyField',
|
|
request_serializer=api__remaining__pb2.UpdatePropertyFieldRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.UpdatePropertyFieldResponse.FromString,
|
|
_registered_method=True)
|
|
self.DeletePropertyField = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/DeletePropertyField',
|
|
request_serializer=api__remaining__pb2.DeletePropertyFieldRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.DeletePropertyFieldResponse.FromString,
|
|
_registered_method=True)
|
|
self.SearchPropertyFields = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/SearchPropertyFields',
|
|
request_serializer=api__remaining__pb2.SearchPropertyFieldsRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.SearchPropertyFieldsResponse.FromString,
|
|
_registered_method=True)
|
|
self.CountPropertyFields = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/CountPropertyFields',
|
|
request_serializer=api__remaining__pb2.CountPropertyFieldsRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.CountPropertyFieldsResponse.FromString,
|
|
_registered_method=True)
|
|
self.CountPropertyFieldsForTarget = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/CountPropertyFieldsForTarget',
|
|
request_serializer=api__remaining__pb2.CountPropertyFieldsForTargetRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.CountPropertyFieldsForTargetResponse.FromString,
|
|
_registered_method=True)
|
|
self.CreatePropertyValue = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/CreatePropertyValue',
|
|
request_serializer=api__remaining__pb2.CreatePropertyValueRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.CreatePropertyValueResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetPropertyValue = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetPropertyValue',
|
|
request_serializer=api__remaining__pb2.GetPropertyValueRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.GetPropertyValueResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetPropertyValues = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetPropertyValues',
|
|
request_serializer=api__remaining__pb2.GetPropertyValuesRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.GetPropertyValuesResponse.FromString,
|
|
_registered_method=True)
|
|
self.UpdatePropertyValue = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdatePropertyValue',
|
|
request_serializer=api__remaining__pb2.UpdatePropertyValueRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.UpdatePropertyValueResponse.FromString,
|
|
_registered_method=True)
|
|
self.UpsertPropertyValue = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpsertPropertyValue',
|
|
request_serializer=api__remaining__pb2.UpsertPropertyValueRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.UpsertPropertyValueResponse.FromString,
|
|
_registered_method=True)
|
|
self.DeletePropertyValue = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/DeletePropertyValue',
|
|
request_serializer=api__remaining__pb2.DeletePropertyValueRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.DeletePropertyValueResponse.FromString,
|
|
_registered_method=True)
|
|
self.SearchPropertyValues = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/SearchPropertyValues',
|
|
request_serializer=api__remaining__pb2.SearchPropertyValuesRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.SearchPropertyValuesResponse.FromString,
|
|
_registered_method=True)
|
|
self.RegisterPropertyGroup = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/RegisterPropertyGroup',
|
|
request_serializer=api__remaining__pb2.RegisterPropertyGroupRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.RegisterPropertyGroupResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetPropertyGroup = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetPropertyGroup',
|
|
request_serializer=api__remaining__pb2.GetPropertyGroupRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.GetPropertyGroupResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetPropertyFieldByName = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetPropertyFieldByName',
|
|
request_serializer=api__remaining__pb2.GetPropertyFieldByNameRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.GetPropertyFieldByNameResponse.FromString,
|
|
_registered_method=True)
|
|
self.UpdatePropertyFields = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdatePropertyFields',
|
|
request_serializer=api__remaining__pb2.UpdatePropertyFieldsRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.UpdatePropertyFieldsResponse.FromString,
|
|
_registered_method=True)
|
|
self.UpdatePropertyValues = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdatePropertyValues',
|
|
request_serializer=api__remaining__pb2.UpdatePropertyValuesRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.UpdatePropertyValuesResponse.FromString,
|
|
_registered_method=True)
|
|
self.UpsertPropertyValues = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpsertPropertyValues',
|
|
request_serializer=api__remaining__pb2.UpsertPropertyValuesRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.UpsertPropertyValuesResponse.FromString,
|
|
_registered_method=True)
|
|
self.DeletePropertyValuesForTarget = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/DeletePropertyValuesForTarget',
|
|
request_serializer=api__remaining__pb2.DeletePropertyValuesForTargetRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.DeletePropertyValuesForTargetResponse.FromString,
|
|
_registered_method=True)
|
|
self.DeletePropertyValuesForField = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/DeletePropertyValuesForField',
|
|
request_serializer=api__remaining__pb2.DeletePropertyValuesForFieldRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.DeletePropertyValuesForFieldResponse.FromString,
|
|
_registered_method=True)
|
|
self.LogAuditRec = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/LogAuditRec',
|
|
request_serializer=api__remaining__pb2.LogAuditRecRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.LogAuditRecResponse.FromString,
|
|
_registered_method=True)
|
|
self.LogAuditRecWithLevel = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/LogAuditRecWithLevel',
|
|
request_serializer=api__remaining__pb2.LogAuditRecWithLevelRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.LogAuditRecWithLevelResponse.FromString,
|
|
_registered_method=True)
|
|
self.PluginHTTP = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/PluginHTTP',
|
|
request_serializer=api__remaining__pb2.PluginHTTPRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.PluginHTTPResponse.FromString,
|
|
_registered_method=True)
|
|
self.GetCloudLimits = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetCloudLimits',
|
|
request_serializer=api__remaining__pb2.GetCloudLimitsRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.GetCloudLimitsResponse.FromString,
|
|
_registered_method=True)
|
|
self.OpenInteractiveDialog = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/OpenInteractiveDialog',
|
|
request_serializer=api__remaining__pb2.OpenInteractiveDialogRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.OpenInteractiveDialogResponse.FromString,
|
|
_registered_method=True)
|
|
self.PublishPluginClusterEvent = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/PublishPluginClusterEvent',
|
|
request_serializer=api__remaining__pb2.PublishPluginClusterEventRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.PublishPluginClusterEventResponse.FromString,
|
|
_registered_method=True)
|
|
self.RegisterCollectionAndTopic = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/RegisterCollectionAndTopic',
|
|
request_serializer=api__remaining__pb2.RegisterCollectionAndTopicRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.RegisterCollectionAndTopicResponse.FromString,
|
|
_registered_method=True)
|
|
self.RequestTrialLicense = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/RequestTrialLicense',
|
|
request_serializer=api__remaining__pb2.RequestTrialLicenseRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.RequestTrialLicenseResponse.FromString,
|
|
_registered_method=True)
|
|
self.RolesGrantPermission = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/RolesGrantPermission',
|
|
request_serializer=api__remaining__pb2.RolesGrantPermissionRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.RolesGrantPermissionResponse.FromString,
|
|
_registered_method=True)
|
|
self.SendMail = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/SendMail',
|
|
request_serializer=api__remaining__pb2.SendMailRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.SendMailResponse.FromString,
|
|
_registered_method=True)
|
|
self.SendPushNotification = channel.unary_unary(
|
|
'/mattermost.pluginapi.v1.PluginAPI/SendPushNotification',
|
|
request_serializer=api__remaining__pb2.SendPushNotificationRequest.SerializeToString,
|
|
response_deserializer=api__remaining__pb2.SendPushNotificationResponse.FromString,
|
|
_registered_method=True)
|
|
|
|
|
|
class PluginAPIServicer(object):
|
|
"""==============================================================================
|
|
PLUGIN API SERVICE
|
|
==============================================================================
|
|
|
|
PluginAPI is the gRPC service that wraps the Mattermost Plugin API interface.
|
|
Each RPC corresponds to exactly one method in server/public/plugin/api.go.
|
|
|
|
This service is mechanically complete - the apiverify tool ensures parity
|
|
between this service definition and the Go API interface.
|
|
|
|
Error handling: All responses embed AppError as field 1. A nil/empty error
|
|
indicates success; a populated error indicates failure with full error details.
|
|
|
|
==============================================================================
|
|
|
|
"""
|
|
|
|
def CreateUser(self, request, context):
|
|
"""===========================================================================
|
|
User Methods (api_user_team.proto)
|
|
===========================================================================
|
|
"""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def DeleteUser(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetUsers(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetUsersByIds(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetUser(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetUserByEmail(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetUserByUsername(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetUsersByUsernames(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetUsersInTeam(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def UpdateUser(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetUserStatus(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetUserStatusesByIds(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def UpdateUserStatus(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def SetUserStatusTimedDND(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def UpdateUserActive(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def UpdateUserCustomStatus(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def RemoveUserCustomStatus(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetUsersInChannel(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetLDAPUserAttributes(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def SearchUsers(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetProfileImage(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def SetProfileImage(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def HasPermissionTo(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def HasPermissionToTeam(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def HasPermissionToChannel(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def PublishUserTyping(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def UpdateUserAuth(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def UpdateUserRoles(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetSession(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def CreateSession(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def ExtendSessionExpiry(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def RevokeSession(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def CreateUserAccessToken(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def RevokeUserAccessToken(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def CreateTeam(self, request, context):
|
|
"""===========================================================================
|
|
Team Methods (api_user_team.proto)
|
|
===========================================================================
|
|
"""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def DeleteTeam(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetTeams(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetTeam(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetTeamByName(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetTeamsUnreadForUser(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def UpdateTeam(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def SearchTeams(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetTeamsForUser(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def CreateTeamMember(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def CreateTeamMembers(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def CreateTeamMembersGracefully(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def DeleteTeamMember(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetTeamMembers(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetTeamMember(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetTeamMembersForUser(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def UpdateTeamMemberRoles(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetTeamIcon(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def SetTeamIcon(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def RemoveTeamIcon(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetTeamStats(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def CreateChannel(self, request, context):
|
|
"""===========================================================================
|
|
Channel Methods (api_channel_post.proto)
|
|
===========================================================================
|
|
"""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def DeleteChannel(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetPublicChannelsForTeam(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetChannel(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetChannelByName(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetChannelByNameForTeamName(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetChannelsForTeamForUser(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetChannelStats(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetDirectChannel(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetGroupChannel(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def UpdateChannel(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def SearchChannels(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def AddChannelMember(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def AddUserToChannel(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetChannelMember(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetChannelMembers(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetChannelMembersByIds(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetChannelMembersForUser(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def UpdateChannelMemberRoles(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def UpdateChannelMemberNotifications(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def PatchChannelMembersNotifications(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def DeleteChannelMember(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def CreateChannelSidebarCategory(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetChannelSidebarCategories(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def UpdateChannelSidebarCategories(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def CreatePost(self, request, context):
|
|
"""===========================================================================
|
|
Post Methods (api_channel_post.proto)
|
|
===========================================================================
|
|
"""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def AddReaction(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def RemoveReaction(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetReactions(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def SendEphemeralPost(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def UpdateEphemeralPost(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def DeleteEphemeralPost(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def DeletePost(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetPostThread(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetPost(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetPostsSince(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetPostsAfter(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetPostsBefore(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetPostsForChannel(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def UpdatePost(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def SearchPostsInTeam(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def SearchPostsInTeamForUser(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetEmojiList(self, request, context):
|
|
"""===========================================================================
|
|
Emoji Methods (api_channel_post.proto)
|
|
===========================================================================
|
|
"""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetEmojiByName(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetEmoji(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetEmojiImage(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def KVSet(self, request, context):
|
|
"""===========================================================================
|
|
KV Store Methods (api_kv_config.proto)
|
|
===========================================================================
|
|
"""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def KVCompareAndSet(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def KVCompareAndDelete(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def KVSetWithOptions(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def KVSetWithExpiry(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def KVGet(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def KVDelete(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def KVDeleteAll(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def KVList(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def PublishWebSocketEvent(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def LoadPluginConfiguration(self, request, context):
|
|
"""===========================================================================
|
|
Configuration Methods (api_kv_config.proto)
|
|
===========================================================================
|
|
"""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetConfig(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetUnsanitizedConfig(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def SaveConfig(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetPluginConfig(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def SavePluginConfig(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetBundlePath(self, request, context):
|
|
"""===========================================================================
|
|
Plugin Methods (api_kv_config.proto)
|
|
===========================================================================
|
|
"""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetPlugins(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def EnablePlugin(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def DisablePlugin(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def RemovePlugin(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetPluginStatus(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def InstallPlugin(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetPluginID(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def LogDebug(self, request, context):
|
|
"""===========================================================================
|
|
Logging Methods (api_kv_config.proto)
|
|
===========================================================================
|
|
"""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def LogInfo(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def LogError(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def LogWarn(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def CopyFileInfos(self, request, context):
|
|
"""===========================================================================
|
|
File Methods (api_file_bot.proto)
|
|
===========================================================================
|
|
"""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetFileInfo(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def SetFileSearchableContent(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetFileInfos(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetFile(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetFileLink(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def ReadFile(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def UploadFile(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def CreateUploadSession(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def UploadData(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetUploadSession(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def CreateBot(self, request, context):
|
|
"""===========================================================================
|
|
Bot Methods (api_file_bot.proto)
|
|
===========================================================================
|
|
"""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def PatchBot(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetBot(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetBots(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def UpdateBotActive(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def PermanentDeleteBot(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def EnsureBotUser(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetLicense(self, request, context):
|
|
"""===========================================================================
|
|
Server Methods (api_remaining.proto)
|
|
===========================================================================
|
|
"""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def IsEnterpriseReady(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetServerVersion(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetSystemInstallDate(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetDiagnosticId(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetTelemetryId(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def RegisterCommand(self, request, context):
|
|
"""===========================================================================
|
|
Command Methods (api_remaining.proto)
|
|
===========================================================================
|
|
"""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def UnregisterCommand(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def ExecuteSlashCommand(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def CreateCommand(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def ListCommands(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def ListCustomCommands(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def ListPluginCommands(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def ListBuiltInCommands(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetCommand(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def UpdateCommand(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def DeleteCommand(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetPreferenceForUser(self, request, context):
|
|
"""===========================================================================
|
|
Preference Methods (api_remaining.proto)
|
|
===========================================================================
|
|
"""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetPreferencesForUser(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def UpdatePreferencesForUser(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def DeletePreferencesForUser(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def CreateOAuthApp(self, request, context):
|
|
"""===========================================================================
|
|
OAuth Methods (api_remaining.proto)
|
|
===========================================================================
|
|
"""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetOAuthApp(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def UpdateOAuthApp(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def DeleteOAuthApp(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetGroup(self, request, context):
|
|
"""===========================================================================
|
|
Group Methods (api_remaining.proto)
|
|
===========================================================================
|
|
"""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetGroupByName(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetGroupMemberUsers(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetGroupsBySource(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetGroupsForUser(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def UpsertGroupMember(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def UpsertGroupMembers(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetGroupByRemoteID(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def CreateGroup(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def UpdateGroup(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def DeleteGroup(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def RestoreGroup(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def DeleteGroupMember(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetGroupSyncable(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetGroupSyncables(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def UpsertGroupSyncable(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def UpdateGroupSyncable(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def DeleteGroupSyncable(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetGroups(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def CreateDefaultSyncableMemberships(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def DeleteGroupConstrainedMemberships(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def RegisterPluginForSharedChannels(self, request, context):
|
|
"""===========================================================================
|
|
Shared Channels Methods (api_remaining.proto)
|
|
===========================================================================
|
|
"""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def UnregisterPluginForSharedChannels(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def ShareChannel(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def UpdateSharedChannel(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def UnshareChannel(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def UpdateSharedChannelCursor(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def SyncSharedChannel(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def InviteRemoteToChannel(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def UninviteRemoteFromChannel(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def CreatePropertyField(self, request, context):
|
|
"""===========================================================================
|
|
Property Field/Value/Group Methods (api_remaining.proto)
|
|
===========================================================================
|
|
"""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetPropertyField(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetPropertyFields(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def UpdatePropertyField(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def DeletePropertyField(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def SearchPropertyFields(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def CountPropertyFields(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def CountPropertyFieldsForTarget(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def CreatePropertyValue(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetPropertyValue(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetPropertyValues(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def UpdatePropertyValue(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def UpsertPropertyValue(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def DeletePropertyValue(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def SearchPropertyValues(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def RegisterPropertyGroup(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetPropertyGroup(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetPropertyFieldByName(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def UpdatePropertyFields(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def UpdatePropertyValues(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def UpsertPropertyValues(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def DeletePropertyValuesForTarget(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def DeletePropertyValuesForField(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def LogAuditRec(self, request, context):
|
|
"""===========================================================================
|
|
Audit Methods (api_remaining.proto)
|
|
===========================================================================
|
|
"""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def LogAuditRecWithLevel(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def PluginHTTP(self, request, context):
|
|
"""===========================================================================
|
|
Miscellaneous Methods (api_remaining.proto)
|
|
===========================================================================
|
|
"""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def GetCloudLimits(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def OpenInteractiveDialog(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def PublishPluginClusterEvent(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def RegisterCollectionAndTopic(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def RequestTrialLicense(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def RolesGrantPermission(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def SendMail(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
def SendPushNotification(self, request, context):
|
|
"""Missing associated documentation comment in .proto file."""
|
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
context.set_details('Method not implemented!')
|
|
raise NotImplementedError('Method not implemented!')
|
|
|
|
|
|
def add_PluginAPIServicer_to_server(servicer, server):
|
|
rpc_method_handlers = {
|
|
'CreateUser': grpc.unary_unary_rpc_method_handler(
|
|
servicer.CreateUser,
|
|
request_deserializer=api__user__team__pb2.CreateUserRequest.FromString,
|
|
response_serializer=api__user__team__pb2.CreateUserResponse.SerializeToString,
|
|
),
|
|
'DeleteUser': grpc.unary_unary_rpc_method_handler(
|
|
servicer.DeleteUser,
|
|
request_deserializer=api__user__team__pb2.DeleteUserRequest.FromString,
|
|
response_serializer=api__user__team__pb2.DeleteUserResponse.SerializeToString,
|
|
),
|
|
'GetUsers': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetUsers,
|
|
request_deserializer=api__user__team__pb2.GetUsersRequest.FromString,
|
|
response_serializer=api__user__team__pb2.GetUsersResponse.SerializeToString,
|
|
),
|
|
'GetUsersByIds': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetUsersByIds,
|
|
request_deserializer=api__user__team__pb2.GetUsersByIdsRequest.FromString,
|
|
response_serializer=api__user__team__pb2.GetUsersByIdsResponse.SerializeToString,
|
|
),
|
|
'GetUser': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetUser,
|
|
request_deserializer=api__user__team__pb2.GetUserRequest.FromString,
|
|
response_serializer=api__user__team__pb2.GetUserResponse.SerializeToString,
|
|
),
|
|
'GetUserByEmail': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetUserByEmail,
|
|
request_deserializer=api__user__team__pb2.GetUserByEmailRequest.FromString,
|
|
response_serializer=api__user__team__pb2.GetUserByEmailResponse.SerializeToString,
|
|
),
|
|
'GetUserByUsername': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetUserByUsername,
|
|
request_deserializer=api__user__team__pb2.GetUserByUsernameRequest.FromString,
|
|
response_serializer=api__user__team__pb2.GetUserByUsernameResponse.SerializeToString,
|
|
),
|
|
'GetUsersByUsernames': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetUsersByUsernames,
|
|
request_deserializer=api__user__team__pb2.GetUsersByUsernamesRequest.FromString,
|
|
response_serializer=api__user__team__pb2.GetUsersByUsernamesResponse.SerializeToString,
|
|
),
|
|
'GetUsersInTeam': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetUsersInTeam,
|
|
request_deserializer=api__user__team__pb2.GetUsersInTeamRequest.FromString,
|
|
response_serializer=api__user__team__pb2.GetUsersInTeamResponse.SerializeToString,
|
|
),
|
|
'UpdateUser': grpc.unary_unary_rpc_method_handler(
|
|
servicer.UpdateUser,
|
|
request_deserializer=api__user__team__pb2.UpdateUserRequest.FromString,
|
|
response_serializer=api__user__team__pb2.UpdateUserResponse.SerializeToString,
|
|
),
|
|
'GetUserStatus': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetUserStatus,
|
|
request_deserializer=api__user__team__pb2.GetUserStatusRequest.FromString,
|
|
response_serializer=api__user__team__pb2.GetUserStatusResponse.SerializeToString,
|
|
),
|
|
'GetUserStatusesByIds': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetUserStatusesByIds,
|
|
request_deserializer=api__user__team__pb2.GetUserStatusesByIdsRequest.FromString,
|
|
response_serializer=api__user__team__pb2.GetUserStatusesByIdsResponse.SerializeToString,
|
|
),
|
|
'UpdateUserStatus': grpc.unary_unary_rpc_method_handler(
|
|
servicer.UpdateUserStatus,
|
|
request_deserializer=api__user__team__pb2.UpdateUserStatusRequest.FromString,
|
|
response_serializer=api__user__team__pb2.UpdateUserStatusResponse.SerializeToString,
|
|
),
|
|
'SetUserStatusTimedDND': grpc.unary_unary_rpc_method_handler(
|
|
servicer.SetUserStatusTimedDND,
|
|
request_deserializer=api__user__team__pb2.SetUserStatusTimedDNDRequest.FromString,
|
|
response_serializer=api__user__team__pb2.SetUserStatusTimedDNDResponse.SerializeToString,
|
|
),
|
|
'UpdateUserActive': grpc.unary_unary_rpc_method_handler(
|
|
servicer.UpdateUserActive,
|
|
request_deserializer=api__user__team__pb2.UpdateUserActiveRequest.FromString,
|
|
response_serializer=api__user__team__pb2.UpdateUserActiveResponse.SerializeToString,
|
|
),
|
|
'UpdateUserCustomStatus': grpc.unary_unary_rpc_method_handler(
|
|
servicer.UpdateUserCustomStatus,
|
|
request_deserializer=api__user__team__pb2.UpdateUserCustomStatusRequest.FromString,
|
|
response_serializer=api__user__team__pb2.UpdateUserCustomStatusResponse.SerializeToString,
|
|
),
|
|
'RemoveUserCustomStatus': grpc.unary_unary_rpc_method_handler(
|
|
servicer.RemoveUserCustomStatus,
|
|
request_deserializer=api__user__team__pb2.RemoveUserCustomStatusRequest.FromString,
|
|
response_serializer=api__user__team__pb2.RemoveUserCustomStatusResponse.SerializeToString,
|
|
),
|
|
'GetUsersInChannel': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetUsersInChannel,
|
|
request_deserializer=api__user__team__pb2.GetUsersInChannelRequest.FromString,
|
|
response_serializer=api__user__team__pb2.GetUsersInChannelResponse.SerializeToString,
|
|
),
|
|
'GetLDAPUserAttributes': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetLDAPUserAttributes,
|
|
request_deserializer=api__user__team__pb2.GetLDAPUserAttributesRequest.FromString,
|
|
response_serializer=api__user__team__pb2.GetLDAPUserAttributesResponse.SerializeToString,
|
|
),
|
|
'SearchUsers': grpc.unary_unary_rpc_method_handler(
|
|
servicer.SearchUsers,
|
|
request_deserializer=api__user__team__pb2.SearchUsersRequest.FromString,
|
|
response_serializer=api__user__team__pb2.SearchUsersResponse.SerializeToString,
|
|
),
|
|
'GetProfileImage': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetProfileImage,
|
|
request_deserializer=api__user__team__pb2.GetProfileImageRequest.FromString,
|
|
response_serializer=api__user__team__pb2.GetProfileImageResponse.SerializeToString,
|
|
),
|
|
'SetProfileImage': grpc.unary_unary_rpc_method_handler(
|
|
servicer.SetProfileImage,
|
|
request_deserializer=api__user__team__pb2.SetProfileImageRequest.FromString,
|
|
response_serializer=api__user__team__pb2.SetProfileImageResponse.SerializeToString,
|
|
),
|
|
'HasPermissionTo': grpc.unary_unary_rpc_method_handler(
|
|
servicer.HasPermissionTo,
|
|
request_deserializer=api__user__team__pb2.HasPermissionToRequest.FromString,
|
|
response_serializer=api__user__team__pb2.HasPermissionToResponse.SerializeToString,
|
|
),
|
|
'HasPermissionToTeam': grpc.unary_unary_rpc_method_handler(
|
|
servicer.HasPermissionToTeam,
|
|
request_deserializer=api__user__team__pb2.HasPermissionToTeamRequest.FromString,
|
|
response_serializer=api__user__team__pb2.HasPermissionToTeamResponse.SerializeToString,
|
|
),
|
|
'HasPermissionToChannel': grpc.unary_unary_rpc_method_handler(
|
|
servicer.HasPermissionToChannel,
|
|
request_deserializer=api__user__team__pb2.HasPermissionToChannelRequest.FromString,
|
|
response_serializer=api__user__team__pb2.HasPermissionToChannelResponse.SerializeToString,
|
|
),
|
|
'PublishUserTyping': grpc.unary_unary_rpc_method_handler(
|
|
servicer.PublishUserTyping,
|
|
request_deserializer=api__user__team__pb2.PublishUserTypingRequest.FromString,
|
|
response_serializer=api__user__team__pb2.PublishUserTypingResponse.SerializeToString,
|
|
),
|
|
'UpdateUserAuth': grpc.unary_unary_rpc_method_handler(
|
|
servicer.UpdateUserAuth,
|
|
request_deserializer=api__user__team__pb2.UpdateUserAuthRequest.FromString,
|
|
response_serializer=api__user__team__pb2.UpdateUserAuthResponse.SerializeToString,
|
|
),
|
|
'UpdateUserRoles': grpc.unary_unary_rpc_method_handler(
|
|
servicer.UpdateUserRoles,
|
|
request_deserializer=api__user__team__pb2.UpdateUserRolesRequest.FromString,
|
|
response_serializer=api__user__team__pb2.UpdateUserRolesResponse.SerializeToString,
|
|
),
|
|
'GetSession': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetSession,
|
|
request_deserializer=api__user__team__pb2.GetSessionRequest.FromString,
|
|
response_serializer=api__user__team__pb2.GetSessionResponse.SerializeToString,
|
|
),
|
|
'CreateSession': grpc.unary_unary_rpc_method_handler(
|
|
servicer.CreateSession,
|
|
request_deserializer=api__user__team__pb2.CreateSessionRequest.FromString,
|
|
response_serializer=api__user__team__pb2.CreateSessionResponse.SerializeToString,
|
|
),
|
|
'ExtendSessionExpiry': grpc.unary_unary_rpc_method_handler(
|
|
servicer.ExtendSessionExpiry,
|
|
request_deserializer=api__user__team__pb2.ExtendSessionExpiryRequest.FromString,
|
|
response_serializer=api__user__team__pb2.ExtendSessionExpiryResponse.SerializeToString,
|
|
),
|
|
'RevokeSession': grpc.unary_unary_rpc_method_handler(
|
|
servicer.RevokeSession,
|
|
request_deserializer=api__user__team__pb2.RevokeSessionRequest.FromString,
|
|
response_serializer=api__user__team__pb2.RevokeSessionResponse.SerializeToString,
|
|
),
|
|
'CreateUserAccessToken': grpc.unary_unary_rpc_method_handler(
|
|
servicer.CreateUserAccessToken,
|
|
request_deserializer=api__user__team__pb2.CreateUserAccessTokenRequest.FromString,
|
|
response_serializer=api__user__team__pb2.CreateUserAccessTokenResponse.SerializeToString,
|
|
),
|
|
'RevokeUserAccessToken': grpc.unary_unary_rpc_method_handler(
|
|
servicer.RevokeUserAccessToken,
|
|
request_deserializer=api__user__team__pb2.RevokeUserAccessTokenRequest.FromString,
|
|
response_serializer=api__user__team__pb2.RevokeUserAccessTokenResponse.SerializeToString,
|
|
),
|
|
'CreateTeam': grpc.unary_unary_rpc_method_handler(
|
|
servicer.CreateTeam,
|
|
request_deserializer=api__user__team__pb2.CreateTeamRequest.FromString,
|
|
response_serializer=api__user__team__pb2.CreateTeamResponse.SerializeToString,
|
|
),
|
|
'DeleteTeam': grpc.unary_unary_rpc_method_handler(
|
|
servicer.DeleteTeam,
|
|
request_deserializer=api__user__team__pb2.DeleteTeamRequest.FromString,
|
|
response_serializer=api__user__team__pb2.DeleteTeamResponse.SerializeToString,
|
|
),
|
|
'GetTeams': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetTeams,
|
|
request_deserializer=api__user__team__pb2.GetTeamsRequest.FromString,
|
|
response_serializer=api__user__team__pb2.GetTeamsResponse.SerializeToString,
|
|
),
|
|
'GetTeam': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetTeam,
|
|
request_deserializer=api__user__team__pb2.GetTeamRequest.FromString,
|
|
response_serializer=api__user__team__pb2.GetTeamResponse.SerializeToString,
|
|
),
|
|
'GetTeamByName': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetTeamByName,
|
|
request_deserializer=api__user__team__pb2.GetTeamByNameRequest.FromString,
|
|
response_serializer=api__user__team__pb2.GetTeamByNameResponse.SerializeToString,
|
|
),
|
|
'GetTeamsUnreadForUser': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetTeamsUnreadForUser,
|
|
request_deserializer=api__user__team__pb2.GetTeamsUnreadForUserRequest.FromString,
|
|
response_serializer=api__user__team__pb2.GetTeamsUnreadForUserResponse.SerializeToString,
|
|
),
|
|
'UpdateTeam': grpc.unary_unary_rpc_method_handler(
|
|
servicer.UpdateTeam,
|
|
request_deserializer=api__user__team__pb2.UpdateTeamRequest.FromString,
|
|
response_serializer=api__user__team__pb2.UpdateTeamResponse.SerializeToString,
|
|
),
|
|
'SearchTeams': grpc.unary_unary_rpc_method_handler(
|
|
servicer.SearchTeams,
|
|
request_deserializer=api__user__team__pb2.SearchTeamsRequest.FromString,
|
|
response_serializer=api__user__team__pb2.SearchTeamsResponse.SerializeToString,
|
|
),
|
|
'GetTeamsForUser': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetTeamsForUser,
|
|
request_deserializer=api__user__team__pb2.GetTeamsForUserRequest.FromString,
|
|
response_serializer=api__user__team__pb2.GetTeamsForUserResponse.SerializeToString,
|
|
),
|
|
'CreateTeamMember': grpc.unary_unary_rpc_method_handler(
|
|
servicer.CreateTeamMember,
|
|
request_deserializer=api__user__team__pb2.CreateTeamMemberRequest.FromString,
|
|
response_serializer=api__user__team__pb2.CreateTeamMemberResponse.SerializeToString,
|
|
),
|
|
'CreateTeamMembers': grpc.unary_unary_rpc_method_handler(
|
|
servicer.CreateTeamMembers,
|
|
request_deserializer=api__user__team__pb2.CreateTeamMembersRequest.FromString,
|
|
response_serializer=api__user__team__pb2.CreateTeamMembersResponse.SerializeToString,
|
|
),
|
|
'CreateTeamMembersGracefully': grpc.unary_unary_rpc_method_handler(
|
|
servicer.CreateTeamMembersGracefully,
|
|
request_deserializer=api__user__team__pb2.CreateTeamMembersGracefullyRequest.FromString,
|
|
response_serializer=api__user__team__pb2.CreateTeamMembersGracefullyResponse.SerializeToString,
|
|
),
|
|
'DeleteTeamMember': grpc.unary_unary_rpc_method_handler(
|
|
servicer.DeleteTeamMember,
|
|
request_deserializer=api__user__team__pb2.DeleteTeamMemberRequest.FromString,
|
|
response_serializer=api__user__team__pb2.DeleteTeamMemberResponse.SerializeToString,
|
|
),
|
|
'GetTeamMembers': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetTeamMembers,
|
|
request_deserializer=api__user__team__pb2.GetTeamMembersRequest.FromString,
|
|
response_serializer=api__user__team__pb2.GetTeamMembersResponse.SerializeToString,
|
|
),
|
|
'GetTeamMember': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetTeamMember,
|
|
request_deserializer=api__user__team__pb2.GetTeamMemberRequest.FromString,
|
|
response_serializer=api__user__team__pb2.GetTeamMemberResponse.SerializeToString,
|
|
),
|
|
'GetTeamMembersForUser': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetTeamMembersForUser,
|
|
request_deserializer=api__user__team__pb2.GetTeamMembersForUserRequest.FromString,
|
|
response_serializer=api__user__team__pb2.GetTeamMembersForUserResponse.SerializeToString,
|
|
),
|
|
'UpdateTeamMemberRoles': grpc.unary_unary_rpc_method_handler(
|
|
servicer.UpdateTeamMemberRoles,
|
|
request_deserializer=api__user__team__pb2.UpdateTeamMemberRolesRequest.FromString,
|
|
response_serializer=api__user__team__pb2.UpdateTeamMemberRolesResponse.SerializeToString,
|
|
),
|
|
'GetTeamIcon': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetTeamIcon,
|
|
request_deserializer=api__user__team__pb2.GetTeamIconRequest.FromString,
|
|
response_serializer=api__user__team__pb2.GetTeamIconResponse.SerializeToString,
|
|
),
|
|
'SetTeamIcon': grpc.unary_unary_rpc_method_handler(
|
|
servicer.SetTeamIcon,
|
|
request_deserializer=api__user__team__pb2.SetTeamIconRequest.FromString,
|
|
response_serializer=api__user__team__pb2.SetTeamIconResponse.SerializeToString,
|
|
),
|
|
'RemoveTeamIcon': grpc.unary_unary_rpc_method_handler(
|
|
servicer.RemoveTeamIcon,
|
|
request_deserializer=api__user__team__pb2.RemoveTeamIconRequest.FromString,
|
|
response_serializer=api__user__team__pb2.RemoveTeamIconResponse.SerializeToString,
|
|
),
|
|
'GetTeamStats': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetTeamStats,
|
|
request_deserializer=api__user__team__pb2.GetTeamStatsRequest.FromString,
|
|
response_serializer=api__user__team__pb2.GetTeamStatsResponse.SerializeToString,
|
|
),
|
|
'CreateChannel': grpc.unary_unary_rpc_method_handler(
|
|
servicer.CreateChannel,
|
|
request_deserializer=api__channel__post__pb2.CreateChannelRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.CreateChannelResponse.SerializeToString,
|
|
),
|
|
'DeleteChannel': grpc.unary_unary_rpc_method_handler(
|
|
servicer.DeleteChannel,
|
|
request_deserializer=api__channel__post__pb2.DeleteChannelRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.DeleteChannelResponse.SerializeToString,
|
|
),
|
|
'GetPublicChannelsForTeam': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetPublicChannelsForTeam,
|
|
request_deserializer=api__channel__post__pb2.GetPublicChannelsForTeamRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.GetPublicChannelsForTeamResponse.SerializeToString,
|
|
),
|
|
'GetChannel': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetChannel,
|
|
request_deserializer=api__channel__post__pb2.GetChannelRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.GetChannelResponse.SerializeToString,
|
|
),
|
|
'GetChannelByName': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetChannelByName,
|
|
request_deserializer=api__channel__post__pb2.GetChannelByNameRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.GetChannelByNameResponse.SerializeToString,
|
|
),
|
|
'GetChannelByNameForTeamName': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetChannelByNameForTeamName,
|
|
request_deserializer=api__channel__post__pb2.GetChannelByNameForTeamNameRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.GetChannelByNameForTeamNameResponse.SerializeToString,
|
|
),
|
|
'GetChannelsForTeamForUser': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetChannelsForTeamForUser,
|
|
request_deserializer=api__channel__post__pb2.GetChannelsForTeamForUserRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.GetChannelsForTeamForUserResponse.SerializeToString,
|
|
),
|
|
'GetChannelStats': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetChannelStats,
|
|
request_deserializer=api__channel__post__pb2.GetChannelStatsRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.GetChannelStatsResponse.SerializeToString,
|
|
),
|
|
'GetDirectChannel': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetDirectChannel,
|
|
request_deserializer=api__channel__post__pb2.GetDirectChannelRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.GetDirectChannelResponse.SerializeToString,
|
|
),
|
|
'GetGroupChannel': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetGroupChannel,
|
|
request_deserializer=api__channel__post__pb2.GetGroupChannelRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.GetGroupChannelResponse.SerializeToString,
|
|
),
|
|
'UpdateChannel': grpc.unary_unary_rpc_method_handler(
|
|
servicer.UpdateChannel,
|
|
request_deserializer=api__channel__post__pb2.UpdateChannelRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.UpdateChannelResponse.SerializeToString,
|
|
),
|
|
'SearchChannels': grpc.unary_unary_rpc_method_handler(
|
|
servicer.SearchChannels,
|
|
request_deserializer=api__channel__post__pb2.SearchChannelsRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.SearchChannelsResponse.SerializeToString,
|
|
),
|
|
'AddChannelMember': grpc.unary_unary_rpc_method_handler(
|
|
servicer.AddChannelMember,
|
|
request_deserializer=api__channel__post__pb2.AddChannelMemberRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.AddChannelMemberResponse.SerializeToString,
|
|
),
|
|
'AddUserToChannel': grpc.unary_unary_rpc_method_handler(
|
|
servicer.AddUserToChannel,
|
|
request_deserializer=api__channel__post__pb2.AddUserToChannelRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.AddUserToChannelResponse.SerializeToString,
|
|
),
|
|
'GetChannelMember': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetChannelMember,
|
|
request_deserializer=api__channel__post__pb2.GetChannelMemberRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.GetChannelMemberResponse.SerializeToString,
|
|
),
|
|
'GetChannelMembers': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetChannelMembers,
|
|
request_deserializer=api__channel__post__pb2.GetChannelMembersRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.GetChannelMembersResponse.SerializeToString,
|
|
),
|
|
'GetChannelMembersByIds': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetChannelMembersByIds,
|
|
request_deserializer=api__channel__post__pb2.GetChannelMembersByIdsRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.GetChannelMembersByIdsResponse.SerializeToString,
|
|
),
|
|
'GetChannelMembersForUser': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetChannelMembersForUser,
|
|
request_deserializer=api__channel__post__pb2.GetChannelMembersForUserRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.GetChannelMembersForUserResponse.SerializeToString,
|
|
),
|
|
'UpdateChannelMemberRoles': grpc.unary_unary_rpc_method_handler(
|
|
servicer.UpdateChannelMemberRoles,
|
|
request_deserializer=api__channel__post__pb2.UpdateChannelMemberRolesRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.UpdateChannelMemberRolesResponse.SerializeToString,
|
|
),
|
|
'UpdateChannelMemberNotifications': grpc.unary_unary_rpc_method_handler(
|
|
servicer.UpdateChannelMemberNotifications,
|
|
request_deserializer=api__channel__post__pb2.UpdateChannelMemberNotificationsRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.UpdateChannelMemberNotificationsResponse.SerializeToString,
|
|
),
|
|
'PatchChannelMembersNotifications': grpc.unary_unary_rpc_method_handler(
|
|
servicer.PatchChannelMembersNotifications,
|
|
request_deserializer=api__channel__post__pb2.PatchChannelMembersNotificationsRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.PatchChannelMembersNotificationsResponse.SerializeToString,
|
|
),
|
|
'DeleteChannelMember': grpc.unary_unary_rpc_method_handler(
|
|
servicer.DeleteChannelMember,
|
|
request_deserializer=api__channel__post__pb2.DeleteChannelMemberRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.DeleteChannelMemberResponse.SerializeToString,
|
|
),
|
|
'CreateChannelSidebarCategory': grpc.unary_unary_rpc_method_handler(
|
|
servicer.CreateChannelSidebarCategory,
|
|
request_deserializer=api__channel__post__pb2.CreateChannelSidebarCategoryRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.CreateChannelSidebarCategoryResponse.SerializeToString,
|
|
),
|
|
'GetChannelSidebarCategories': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetChannelSidebarCategories,
|
|
request_deserializer=api__channel__post__pb2.GetChannelSidebarCategoriesRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.GetChannelSidebarCategoriesResponse.SerializeToString,
|
|
),
|
|
'UpdateChannelSidebarCategories': grpc.unary_unary_rpc_method_handler(
|
|
servicer.UpdateChannelSidebarCategories,
|
|
request_deserializer=api__channel__post__pb2.UpdateChannelSidebarCategoriesRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.UpdateChannelSidebarCategoriesResponse.SerializeToString,
|
|
),
|
|
'CreatePost': grpc.unary_unary_rpc_method_handler(
|
|
servicer.CreatePost,
|
|
request_deserializer=api__channel__post__pb2.CreatePostRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.CreatePostResponse.SerializeToString,
|
|
),
|
|
'AddReaction': grpc.unary_unary_rpc_method_handler(
|
|
servicer.AddReaction,
|
|
request_deserializer=api__channel__post__pb2.AddReactionRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.AddReactionResponse.SerializeToString,
|
|
),
|
|
'RemoveReaction': grpc.unary_unary_rpc_method_handler(
|
|
servicer.RemoveReaction,
|
|
request_deserializer=api__channel__post__pb2.RemoveReactionRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.RemoveReactionResponse.SerializeToString,
|
|
),
|
|
'GetReactions': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetReactions,
|
|
request_deserializer=api__channel__post__pb2.GetReactionsRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.GetReactionsResponse.SerializeToString,
|
|
),
|
|
'SendEphemeralPost': grpc.unary_unary_rpc_method_handler(
|
|
servicer.SendEphemeralPost,
|
|
request_deserializer=api__channel__post__pb2.SendEphemeralPostRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.SendEphemeralPostResponse.SerializeToString,
|
|
),
|
|
'UpdateEphemeralPost': grpc.unary_unary_rpc_method_handler(
|
|
servicer.UpdateEphemeralPost,
|
|
request_deserializer=api__channel__post__pb2.UpdateEphemeralPostRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.UpdateEphemeralPostResponse.SerializeToString,
|
|
),
|
|
'DeleteEphemeralPost': grpc.unary_unary_rpc_method_handler(
|
|
servicer.DeleteEphemeralPost,
|
|
request_deserializer=api__channel__post__pb2.DeleteEphemeralPostRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.DeleteEphemeralPostResponse.SerializeToString,
|
|
),
|
|
'DeletePost': grpc.unary_unary_rpc_method_handler(
|
|
servicer.DeletePost,
|
|
request_deserializer=api__channel__post__pb2.DeletePostRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.DeletePostResponse.SerializeToString,
|
|
),
|
|
'GetPostThread': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetPostThread,
|
|
request_deserializer=api__channel__post__pb2.GetPostThreadRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.GetPostThreadResponse.SerializeToString,
|
|
),
|
|
'GetPost': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetPost,
|
|
request_deserializer=api__channel__post__pb2.GetPostRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.GetPostResponse.SerializeToString,
|
|
),
|
|
'GetPostsSince': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetPostsSince,
|
|
request_deserializer=api__channel__post__pb2.GetPostsSinceRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.GetPostsSinceResponse.SerializeToString,
|
|
),
|
|
'GetPostsAfter': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetPostsAfter,
|
|
request_deserializer=api__channel__post__pb2.GetPostsAfterRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.GetPostsAfterResponse.SerializeToString,
|
|
),
|
|
'GetPostsBefore': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetPostsBefore,
|
|
request_deserializer=api__channel__post__pb2.GetPostsBeforeRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.GetPostsBeforeResponse.SerializeToString,
|
|
),
|
|
'GetPostsForChannel': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetPostsForChannel,
|
|
request_deserializer=api__channel__post__pb2.GetPostsForChannelRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.GetPostsForChannelResponse.SerializeToString,
|
|
),
|
|
'UpdatePost': grpc.unary_unary_rpc_method_handler(
|
|
servicer.UpdatePost,
|
|
request_deserializer=api__channel__post__pb2.UpdatePostRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.UpdatePostResponse.SerializeToString,
|
|
),
|
|
'SearchPostsInTeam': grpc.unary_unary_rpc_method_handler(
|
|
servicer.SearchPostsInTeam,
|
|
request_deserializer=api__channel__post__pb2.SearchPostsInTeamRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.SearchPostsInTeamResponse.SerializeToString,
|
|
),
|
|
'SearchPostsInTeamForUser': grpc.unary_unary_rpc_method_handler(
|
|
servicer.SearchPostsInTeamForUser,
|
|
request_deserializer=api__channel__post__pb2.SearchPostsInTeamForUserRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.SearchPostsInTeamForUserResponse.SerializeToString,
|
|
),
|
|
'GetEmojiList': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetEmojiList,
|
|
request_deserializer=api__channel__post__pb2.GetEmojiListRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.GetEmojiListResponse.SerializeToString,
|
|
),
|
|
'GetEmojiByName': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetEmojiByName,
|
|
request_deserializer=api__channel__post__pb2.GetEmojiByNameRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.GetEmojiByNameResponse.SerializeToString,
|
|
),
|
|
'GetEmoji': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetEmoji,
|
|
request_deserializer=api__channel__post__pb2.GetEmojiRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.GetEmojiResponse.SerializeToString,
|
|
),
|
|
'GetEmojiImage': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetEmojiImage,
|
|
request_deserializer=api__channel__post__pb2.GetEmojiImageRequest.FromString,
|
|
response_serializer=api__channel__post__pb2.GetEmojiImageResponse.SerializeToString,
|
|
),
|
|
'KVSet': grpc.unary_unary_rpc_method_handler(
|
|
servicer.KVSet,
|
|
request_deserializer=api__kv__config__pb2.KVSetRequest.FromString,
|
|
response_serializer=api__kv__config__pb2.KVSetResponse.SerializeToString,
|
|
),
|
|
'KVCompareAndSet': grpc.unary_unary_rpc_method_handler(
|
|
servicer.KVCompareAndSet,
|
|
request_deserializer=api__kv__config__pb2.KVCompareAndSetRequest.FromString,
|
|
response_serializer=api__kv__config__pb2.KVCompareAndSetResponse.SerializeToString,
|
|
),
|
|
'KVCompareAndDelete': grpc.unary_unary_rpc_method_handler(
|
|
servicer.KVCompareAndDelete,
|
|
request_deserializer=api__kv__config__pb2.KVCompareAndDeleteRequest.FromString,
|
|
response_serializer=api__kv__config__pb2.KVCompareAndDeleteResponse.SerializeToString,
|
|
),
|
|
'KVSetWithOptions': grpc.unary_unary_rpc_method_handler(
|
|
servicer.KVSetWithOptions,
|
|
request_deserializer=api__kv__config__pb2.KVSetWithOptionsRequest.FromString,
|
|
response_serializer=api__kv__config__pb2.KVSetWithOptionsResponse.SerializeToString,
|
|
),
|
|
'KVSetWithExpiry': grpc.unary_unary_rpc_method_handler(
|
|
servicer.KVSetWithExpiry,
|
|
request_deserializer=api__kv__config__pb2.KVSetWithExpiryRequest.FromString,
|
|
response_serializer=api__kv__config__pb2.KVSetWithExpiryResponse.SerializeToString,
|
|
),
|
|
'KVGet': grpc.unary_unary_rpc_method_handler(
|
|
servicer.KVGet,
|
|
request_deserializer=api__kv__config__pb2.KVGetRequest.FromString,
|
|
response_serializer=api__kv__config__pb2.KVGetResponse.SerializeToString,
|
|
),
|
|
'KVDelete': grpc.unary_unary_rpc_method_handler(
|
|
servicer.KVDelete,
|
|
request_deserializer=api__kv__config__pb2.KVDeleteRequest.FromString,
|
|
response_serializer=api__kv__config__pb2.KVDeleteResponse.SerializeToString,
|
|
),
|
|
'KVDeleteAll': grpc.unary_unary_rpc_method_handler(
|
|
servicer.KVDeleteAll,
|
|
request_deserializer=api__kv__config__pb2.KVDeleteAllRequest.FromString,
|
|
response_serializer=api__kv__config__pb2.KVDeleteAllResponse.SerializeToString,
|
|
),
|
|
'KVList': grpc.unary_unary_rpc_method_handler(
|
|
servicer.KVList,
|
|
request_deserializer=api__kv__config__pb2.KVListRequest.FromString,
|
|
response_serializer=api__kv__config__pb2.KVListResponse.SerializeToString,
|
|
),
|
|
'PublishWebSocketEvent': grpc.unary_unary_rpc_method_handler(
|
|
servicer.PublishWebSocketEvent,
|
|
request_deserializer=api__kv__config__pb2.PublishWebSocketEventRequest.FromString,
|
|
response_serializer=api__kv__config__pb2.PublishWebSocketEventResponse.SerializeToString,
|
|
),
|
|
'LoadPluginConfiguration': grpc.unary_unary_rpc_method_handler(
|
|
servicer.LoadPluginConfiguration,
|
|
request_deserializer=api__kv__config__pb2.LoadPluginConfigurationRequest.FromString,
|
|
response_serializer=api__kv__config__pb2.LoadPluginConfigurationResponse.SerializeToString,
|
|
),
|
|
'GetConfig': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetConfig,
|
|
request_deserializer=api__kv__config__pb2.GetConfigRequest.FromString,
|
|
response_serializer=api__kv__config__pb2.GetConfigResponse.SerializeToString,
|
|
),
|
|
'GetUnsanitizedConfig': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetUnsanitizedConfig,
|
|
request_deserializer=api__kv__config__pb2.GetUnsanitizedConfigRequest.FromString,
|
|
response_serializer=api__kv__config__pb2.GetUnsanitizedConfigResponse.SerializeToString,
|
|
),
|
|
'SaveConfig': grpc.unary_unary_rpc_method_handler(
|
|
servicer.SaveConfig,
|
|
request_deserializer=api__kv__config__pb2.SaveConfigRequest.FromString,
|
|
response_serializer=api__kv__config__pb2.SaveConfigResponse.SerializeToString,
|
|
),
|
|
'GetPluginConfig': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetPluginConfig,
|
|
request_deserializer=api__kv__config__pb2.GetPluginConfigRequest.FromString,
|
|
response_serializer=api__kv__config__pb2.GetPluginConfigResponse.SerializeToString,
|
|
),
|
|
'SavePluginConfig': grpc.unary_unary_rpc_method_handler(
|
|
servicer.SavePluginConfig,
|
|
request_deserializer=api__kv__config__pb2.SavePluginConfigRequest.FromString,
|
|
response_serializer=api__kv__config__pb2.SavePluginConfigResponse.SerializeToString,
|
|
),
|
|
'GetBundlePath': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetBundlePath,
|
|
request_deserializer=api__kv__config__pb2.GetBundlePathRequest.FromString,
|
|
response_serializer=api__kv__config__pb2.GetBundlePathResponse.SerializeToString,
|
|
),
|
|
'GetPlugins': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetPlugins,
|
|
request_deserializer=api__kv__config__pb2.GetPluginsRequest.FromString,
|
|
response_serializer=api__kv__config__pb2.GetPluginsResponse.SerializeToString,
|
|
),
|
|
'EnablePlugin': grpc.unary_unary_rpc_method_handler(
|
|
servicer.EnablePlugin,
|
|
request_deserializer=api__kv__config__pb2.EnablePluginRequest.FromString,
|
|
response_serializer=api__kv__config__pb2.EnablePluginResponse.SerializeToString,
|
|
),
|
|
'DisablePlugin': grpc.unary_unary_rpc_method_handler(
|
|
servicer.DisablePlugin,
|
|
request_deserializer=api__kv__config__pb2.DisablePluginRequest.FromString,
|
|
response_serializer=api__kv__config__pb2.DisablePluginResponse.SerializeToString,
|
|
),
|
|
'RemovePlugin': grpc.unary_unary_rpc_method_handler(
|
|
servicer.RemovePlugin,
|
|
request_deserializer=api__kv__config__pb2.RemovePluginRequest.FromString,
|
|
response_serializer=api__kv__config__pb2.RemovePluginResponse.SerializeToString,
|
|
),
|
|
'GetPluginStatus': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetPluginStatus,
|
|
request_deserializer=api__kv__config__pb2.GetPluginStatusRequest.FromString,
|
|
response_serializer=api__kv__config__pb2.GetPluginStatusResponse.SerializeToString,
|
|
),
|
|
'InstallPlugin': grpc.unary_unary_rpc_method_handler(
|
|
servicer.InstallPlugin,
|
|
request_deserializer=api__kv__config__pb2.InstallPluginRequest.FromString,
|
|
response_serializer=api__kv__config__pb2.InstallPluginResponse.SerializeToString,
|
|
),
|
|
'GetPluginID': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetPluginID,
|
|
request_deserializer=api__kv__config__pb2.GetPluginIDRequest.FromString,
|
|
response_serializer=api__kv__config__pb2.GetPluginIDResponse.SerializeToString,
|
|
),
|
|
'LogDebug': grpc.unary_unary_rpc_method_handler(
|
|
servicer.LogDebug,
|
|
request_deserializer=api__kv__config__pb2.LogDebugRequest.FromString,
|
|
response_serializer=api__kv__config__pb2.LogDebugResponse.SerializeToString,
|
|
),
|
|
'LogInfo': grpc.unary_unary_rpc_method_handler(
|
|
servicer.LogInfo,
|
|
request_deserializer=api__kv__config__pb2.LogInfoRequest.FromString,
|
|
response_serializer=api__kv__config__pb2.LogInfoResponse.SerializeToString,
|
|
),
|
|
'LogError': grpc.unary_unary_rpc_method_handler(
|
|
servicer.LogError,
|
|
request_deserializer=api__kv__config__pb2.LogErrorRequest.FromString,
|
|
response_serializer=api__kv__config__pb2.LogErrorResponse.SerializeToString,
|
|
),
|
|
'LogWarn': grpc.unary_unary_rpc_method_handler(
|
|
servicer.LogWarn,
|
|
request_deserializer=api__kv__config__pb2.LogWarnRequest.FromString,
|
|
response_serializer=api__kv__config__pb2.LogWarnResponse.SerializeToString,
|
|
),
|
|
'CopyFileInfos': grpc.unary_unary_rpc_method_handler(
|
|
servicer.CopyFileInfos,
|
|
request_deserializer=api__file__bot__pb2.CopyFileInfosRequest.FromString,
|
|
response_serializer=api__file__bot__pb2.CopyFileInfosResponse.SerializeToString,
|
|
),
|
|
'GetFileInfo': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetFileInfo,
|
|
request_deserializer=api__file__bot__pb2.GetFileInfoRequest.FromString,
|
|
response_serializer=api__file__bot__pb2.GetFileInfoResponse.SerializeToString,
|
|
),
|
|
'SetFileSearchableContent': grpc.unary_unary_rpc_method_handler(
|
|
servicer.SetFileSearchableContent,
|
|
request_deserializer=api__file__bot__pb2.SetFileSearchableContentRequest.FromString,
|
|
response_serializer=api__file__bot__pb2.SetFileSearchableContentResponse.SerializeToString,
|
|
),
|
|
'GetFileInfos': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetFileInfos,
|
|
request_deserializer=api__file__bot__pb2.GetFileInfosRequest.FromString,
|
|
response_serializer=api__file__bot__pb2.GetFileInfosResponse.SerializeToString,
|
|
),
|
|
'GetFile': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetFile,
|
|
request_deserializer=api__file__bot__pb2.GetFileRequest.FromString,
|
|
response_serializer=api__file__bot__pb2.GetFileResponse.SerializeToString,
|
|
),
|
|
'GetFileLink': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetFileLink,
|
|
request_deserializer=api__file__bot__pb2.GetFileLinkRequest.FromString,
|
|
response_serializer=api__file__bot__pb2.GetFileLinkResponse.SerializeToString,
|
|
),
|
|
'ReadFile': grpc.unary_unary_rpc_method_handler(
|
|
servicer.ReadFile,
|
|
request_deserializer=api__file__bot__pb2.ReadFileRequest.FromString,
|
|
response_serializer=api__file__bot__pb2.ReadFileResponse.SerializeToString,
|
|
),
|
|
'UploadFile': grpc.unary_unary_rpc_method_handler(
|
|
servicer.UploadFile,
|
|
request_deserializer=api__file__bot__pb2.UploadFileRequest.FromString,
|
|
response_serializer=api__file__bot__pb2.UploadFileResponse.SerializeToString,
|
|
),
|
|
'CreateUploadSession': grpc.unary_unary_rpc_method_handler(
|
|
servicer.CreateUploadSession,
|
|
request_deserializer=api__file__bot__pb2.CreateUploadSessionRequest.FromString,
|
|
response_serializer=api__file__bot__pb2.CreateUploadSessionResponse.SerializeToString,
|
|
),
|
|
'UploadData': grpc.unary_unary_rpc_method_handler(
|
|
servicer.UploadData,
|
|
request_deserializer=api__file__bot__pb2.UploadDataRequest.FromString,
|
|
response_serializer=api__file__bot__pb2.UploadDataResponse.SerializeToString,
|
|
),
|
|
'GetUploadSession': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetUploadSession,
|
|
request_deserializer=api__file__bot__pb2.GetUploadSessionRequest.FromString,
|
|
response_serializer=api__file__bot__pb2.GetUploadSessionResponse.SerializeToString,
|
|
),
|
|
'CreateBot': grpc.unary_unary_rpc_method_handler(
|
|
servicer.CreateBot,
|
|
request_deserializer=api__file__bot__pb2.CreateBotRequest.FromString,
|
|
response_serializer=api__file__bot__pb2.CreateBotResponse.SerializeToString,
|
|
),
|
|
'PatchBot': grpc.unary_unary_rpc_method_handler(
|
|
servicer.PatchBot,
|
|
request_deserializer=api__file__bot__pb2.PatchBotRequest.FromString,
|
|
response_serializer=api__file__bot__pb2.PatchBotResponse.SerializeToString,
|
|
),
|
|
'GetBot': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetBot,
|
|
request_deserializer=api__file__bot__pb2.GetBotRequest.FromString,
|
|
response_serializer=api__file__bot__pb2.GetBotResponse.SerializeToString,
|
|
),
|
|
'GetBots': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetBots,
|
|
request_deserializer=api__file__bot__pb2.GetBotsRequest.FromString,
|
|
response_serializer=api__file__bot__pb2.GetBotsResponse.SerializeToString,
|
|
),
|
|
'UpdateBotActive': grpc.unary_unary_rpc_method_handler(
|
|
servicer.UpdateBotActive,
|
|
request_deserializer=api__file__bot__pb2.UpdateBotActiveRequest.FromString,
|
|
response_serializer=api__file__bot__pb2.UpdateBotActiveResponse.SerializeToString,
|
|
),
|
|
'PermanentDeleteBot': grpc.unary_unary_rpc_method_handler(
|
|
servicer.PermanentDeleteBot,
|
|
request_deserializer=api__file__bot__pb2.PermanentDeleteBotRequest.FromString,
|
|
response_serializer=api__file__bot__pb2.PermanentDeleteBotResponse.SerializeToString,
|
|
),
|
|
'EnsureBotUser': grpc.unary_unary_rpc_method_handler(
|
|
servicer.EnsureBotUser,
|
|
request_deserializer=api__file__bot__pb2.EnsureBotUserRequest.FromString,
|
|
response_serializer=api__file__bot__pb2.EnsureBotUserResponse.SerializeToString,
|
|
),
|
|
'GetLicense': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetLicense,
|
|
request_deserializer=api__remaining__pb2.GetLicenseRequest.FromString,
|
|
response_serializer=api__remaining__pb2.GetLicenseResponse.SerializeToString,
|
|
),
|
|
'IsEnterpriseReady': grpc.unary_unary_rpc_method_handler(
|
|
servicer.IsEnterpriseReady,
|
|
request_deserializer=api__remaining__pb2.IsEnterpriseReadyRequest.FromString,
|
|
response_serializer=api__remaining__pb2.IsEnterpriseReadyResponse.SerializeToString,
|
|
),
|
|
'GetServerVersion': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetServerVersion,
|
|
request_deserializer=api__remaining__pb2.GetServerVersionRequest.FromString,
|
|
response_serializer=api__remaining__pb2.GetServerVersionResponse.SerializeToString,
|
|
),
|
|
'GetSystemInstallDate': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetSystemInstallDate,
|
|
request_deserializer=api__remaining__pb2.GetSystemInstallDateRequest.FromString,
|
|
response_serializer=api__remaining__pb2.GetSystemInstallDateResponse.SerializeToString,
|
|
),
|
|
'GetDiagnosticId': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetDiagnosticId,
|
|
request_deserializer=api__remaining__pb2.GetDiagnosticIdRequest.FromString,
|
|
response_serializer=api__remaining__pb2.GetDiagnosticIdResponse.SerializeToString,
|
|
),
|
|
'GetTelemetryId': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetTelemetryId,
|
|
request_deserializer=api__remaining__pb2.GetTelemetryIdRequest.FromString,
|
|
response_serializer=api__remaining__pb2.GetTelemetryIdResponse.SerializeToString,
|
|
),
|
|
'RegisterCommand': grpc.unary_unary_rpc_method_handler(
|
|
servicer.RegisterCommand,
|
|
request_deserializer=api__remaining__pb2.RegisterCommandRequest.FromString,
|
|
response_serializer=api__remaining__pb2.RegisterCommandResponse.SerializeToString,
|
|
),
|
|
'UnregisterCommand': grpc.unary_unary_rpc_method_handler(
|
|
servicer.UnregisterCommand,
|
|
request_deserializer=api__remaining__pb2.UnregisterCommandRequest.FromString,
|
|
response_serializer=api__remaining__pb2.UnregisterCommandResponse.SerializeToString,
|
|
),
|
|
'ExecuteSlashCommand': grpc.unary_unary_rpc_method_handler(
|
|
servicer.ExecuteSlashCommand,
|
|
request_deserializer=api__remaining__pb2.ExecuteSlashCommandRequest.FromString,
|
|
response_serializer=api__remaining__pb2.ExecuteSlashCommandResponse.SerializeToString,
|
|
),
|
|
'CreateCommand': grpc.unary_unary_rpc_method_handler(
|
|
servicer.CreateCommand,
|
|
request_deserializer=api__remaining__pb2.CreateCommandRequest.FromString,
|
|
response_serializer=api__remaining__pb2.CreateCommandResponse.SerializeToString,
|
|
),
|
|
'ListCommands': grpc.unary_unary_rpc_method_handler(
|
|
servicer.ListCommands,
|
|
request_deserializer=api__remaining__pb2.ListCommandsRequest.FromString,
|
|
response_serializer=api__remaining__pb2.ListCommandsResponse.SerializeToString,
|
|
),
|
|
'ListCustomCommands': grpc.unary_unary_rpc_method_handler(
|
|
servicer.ListCustomCommands,
|
|
request_deserializer=api__remaining__pb2.ListCustomCommandsRequest.FromString,
|
|
response_serializer=api__remaining__pb2.ListCustomCommandsResponse.SerializeToString,
|
|
),
|
|
'ListPluginCommands': grpc.unary_unary_rpc_method_handler(
|
|
servicer.ListPluginCommands,
|
|
request_deserializer=api__remaining__pb2.ListPluginCommandsRequest.FromString,
|
|
response_serializer=api__remaining__pb2.ListPluginCommandsResponse.SerializeToString,
|
|
),
|
|
'ListBuiltInCommands': grpc.unary_unary_rpc_method_handler(
|
|
servicer.ListBuiltInCommands,
|
|
request_deserializer=api__remaining__pb2.ListBuiltInCommandsRequest.FromString,
|
|
response_serializer=api__remaining__pb2.ListBuiltInCommandsResponse.SerializeToString,
|
|
),
|
|
'GetCommand': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetCommand,
|
|
request_deserializer=api__remaining__pb2.GetCommandRequest.FromString,
|
|
response_serializer=api__remaining__pb2.GetCommandResponse.SerializeToString,
|
|
),
|
|
'UpdateCommand': grpc.unary_unary_rpc_method_handler(
|
|
servicer.UpdateCommand,
|
|
request_deserializer=api__remaining__pb2.UpdateCommandRequest.FromString,
|
|
response_serializer=api__remaining__pb2.UpdateCommandResponse.SerializeToString,
|
|
),
|
|
'DeleteCommand': grpc.unary_unary_rpc_method_handler(
|
|
servicer.DeleteCommand,
|
|
request_deserializer=api__remaining__pb2.DeleteCommandRequest.FromString,
|
|
response_serializer=api__remaining__pb2.DeleteCommandResponse.SerializeToString,
|
|
),
|
|
'GetPreferenceForUser': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetPreferenceForUser,
|
|
request_deserializer=api__remaining__pb2.GetPreferenceForUserRequest.FromString,
|
|
response_serializer=api__remaining__pb2.GetPreferenceForUserResponse.SerializeToString,
|
|
),
|
|
'GetPreferencesForUser': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetPreferencesForUser,
|
|
request_deserializer=api__remaining__pb2.GetPreferencesForUserRequest.FromString,
|
|
response_serializer=api__remaining__pb2.GetPreferencesForUserResponse.SerializeToString,
|
|
),
|
|
'UpdatePreferencesForUser': grpc.unary_unary_rpc_method_handler(
|
|
servicer.UpdatePreferencesForUser,
|
|
request_deserializer=api__remaining__pb2.UpdatePreferencesForUserRequest.FromString,
|
|
response_serializer=api__remaining__pb2.UpdatePreferencesForUserResponse.SerializeToString,
|
|
),
|
|
'DeletePreferencesForUser': grpc.unary_unary_rpc_method_handler(
|
|
servicer.DeletePreferencesForUser,
|
|
request_deserializer=api__remaining__pb2.DeletePreferencesForUserRequest.FromString,
|
|
response_serializer=api__remaining__pb2.DeletePreferencesForUserResponse.SerializeToString,
|
|
),
|
|
'CreateOAuthApp': grpc.unary_unary_rpc_method_handler(
|
|
servicer.CreateOAuthApp,
|
|
request_deserializer=api__remaining__pb2.CreateOAuthAppRequest.FromString,
|
|
response_serializer=api__remaining__pb2.CreateOAuthAppResponse.SerializeToString,
|
|
),
|
|
'GetOAuthApp': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetOAuthApp,
|
|
request_deserializer=api__remaining__pb2.GetOAuthAppRequest.FromString,
|
|
response_serializer=api__remaining__pb2.GetOAuthAppResponse.SerializeToString,
|
|
),
|
|
'UpdateOAuthApp': grpc.unary_unary_rpc_method_handler(
|
|
servicer.UpdateOAuthApp,
|
|
request_deserializer=api__remaining__pb2.UpdateOAuthAppRequest.FromString,
|
|
response_serializer=api__remaining__pb2.UpdateOAuthAppResponse.SerializeToString,
|
|
),
|
|
'DeleteOAuthApp': grpc.unary_unary_rpc_method_handler(
|
|
servicer.DeleteOAuthApp,
|
|
request_deserializer=api__remaining__pb2.DeleteOAuthAppRequest.FromString,
|
|
response_serializer=api__remaining__pb2.DeleteOAuthAppResponse.SerializeToString,
|
|
),
|
|
'GetGroup': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetGroup,
|
|
request_deserializer=api__remaining__pb2.GetGroupRequest.FromString,
|
|
response_serializer=api__remaining__pb2.GetGroupResponse.SerializeToString,
|
|
),
|
|
'GetGroupByName': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetGroupByName,
|
|
request_deserializer=api__remaining__pb2.GetGroupByNameRequest.FromString,
|
|
response_serializer=api__remaining__pb2.GetGroupByNameResponse.SerializeToString,
|
|
),
|
|
'GetGroupMemberUsers': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetGroupMemberUsers,
|
|
request_deserializer=api__remaining__pb2.GetGroupMemberUsersRequest.FromString,
|
|
response_serializer=api__remaining__pb2.GetGroupMemberUsersResponse.SerializeToString,
|
|
),
|
|
'GetGroupsBySource': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetGroupsBySource,
|
|
request_deserializer=api__remaining__pb2.GetGroupsBySourceRequest.FromString,
|
|
response_serializer=api__remaining__pb2.GetGroupsBySourceResponse.SerializeToString,
|
|
),
|
|
'GetGroupsForUser': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetGroupsForUser,
|
|
request_deserializer=api__remaining__pb2.GetGroupsForUserRequest.FromString,
|
|
response_serializer=api__remaining__pb2.GetGroupsForUserResponse.SerializeToString,
|
|
),
|
|
'UpsertGroupMember': grpc.unary_unary_rpc_method_handler(
|
|
servicer.UpsertGroupMember,
|
|
request_deserializer=api__remaining__pb2.UpsertGroupMemberRequest.FromString,
|
|
response_serializer=api__remaining__pb2.UpsertGroupMemberResponse.SerializeToString,
|
|
),
|
|
'UpsertGroupMembers': grpc.unary_unary_rpc_method_handler(
|
|
servicer.UpsertGroupMembers,
|
|
request_deserializer=api__remaining__pb2.UpsertGroupMembersRequest.FromString,
|
|
response_serializer=api__remaining__pb2.UpsertGroupMembersResponse.SerializeToString,
|
|
),
|
|
'GetGroupByRemoteID': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetGroupByRemoteID,
|
|
request_deserializer=api__remaining__pb2.GetGroupByRemoteIDRequest.FromString,
|
|
response_serializer=api__remaining__pb2.GetGroupByRemoteIDResponse.SerializeToString,
|
|
),
|
|
'CreateGroup': grpc.unary_unary_rpc_method_handler(
|
|
servicer.CreateGroup,
|
|
request_deserializer=api__remaining__pb2.CreateGroupRequest.FromString,
|
|
response_serializer=api__remaining__pb2.CreateGroupResponse.SerializeToString,
|
|
),
|
|
'UpdateGroup': grpc.unary_unary_rpc_method_handler(
|
|
servicer.UpdateGroup,
|
|
request_deserializer=api__remaining__pb2.UpdateGroupRequest.FromString,
|
|
response_serializer=api__remaining__pb2.UpdateGroupResponse.SerializeToString,
|
|
),
|
|
'DeleteGroup': grpc.unary_unary_rpc_method_handler(
|
|
servicer.DeleteGroup,
|
|
request_deserializer=api__remaining__pb2.DeleteGroupRequest.FromString,
|
|
response_serializer=api__remaining__pb2.DeleteGroupResponse.SerializeToString,
|
|
),
|
|
'RestoreGroup': grpc.unary_unary_rpc_method_handler(
|
|
servicer.RestoreGroup,
|
|
request_deserializer=api__remaining__pb2.RestoreGroupRequest.FromString,
|
|
response_serializer=api__remaining__pb2.RestoreGroupResponse.SerializeToString,
|
|
),
|
|
'DeleteGroupMember': grpc.unary_unary_rpc_method_handler(
|
|
servicer.DeleteGroupMember,
|
|
request_deserializer=api__remaining__pb2.DeleteGroupMemberRequest.FromString,
|
|
response_serializer=api__remaining__pb2.DeleteGroupMemberResponse.SerializeToString,
|
|
),
|
|
'GetGroupSyncable': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetGroupSyncable,
|
|
request_deserializer=api__remaining__pb2.GetGroupSyncableRequest.FromString,
|
|
response_serializer=api__remaining__pb2.GetGroupSyncableResponse.SerializeToString,
|
|
),
|
|
'GetGroupSyncables': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetGroupSyncables,
|
|
request_deserializer=api__remaining__pb2.GetGroupSyncablesRequest.FromString,
|
|
response_serializer=api__remaining__pb2.GetGroupSyncablesResponse.SerializeToString,
|
|
),
|
|
'UpsertGroupSyncable': grpc.unary_unary_rpc_method_handler(
|
|
servicer.UpsertGroupSyncable,
|
|
request_deserializer=api__remaining__pb2.UpsertGroupSyncableRequest.FromString,
|
|
response_serializer=api__remaining__pb2.UpsertGroupSyncableResponse.SerializeToString,
|
|
),
|
|
'UpdateGroupSyncable': grpc.unary_unary_rpc_method_handler(
|
|
servicer.UpdateGroupSyncable,
|
|
request_deserializer=api__remaining__pb2.UpdateGroupSyncableRequest.FromString,
|
|
response_serializer=api__remaining__pb2.UpdateGroupSyncableResponse.SerializeToString,
|
|
),
|
|
'DeleteGroupSyncable': grpc.unary_unary_rpc_method_handler(
|
|
servicer.DeleteGroupSyncable,
|
|
request_deserializer=api__remaining__pb2.DeleteGroupSyncableRequest.FromString,
|
|
response_serializer=api__remaining__pb2.DeleteGroupSyncableResponse.SerializeToString,
|
|
),
|
|
'GetGroups': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetGroups,
|
|
request_deserializer=api__remaining__pb2.GetGroupsRequest.FromString,
|
|
response_serializer=api__remaining__pb2.GetGroupsResponse.SerializeToString,
|
|
),
|
|
'CreateDefaultSyncableMemberships': grpc.unary_unary_rpc_method_handler(
|
|
servicer.CreateDefaultSyncableMemberships,
|
|
request_deserializer=api__remaining__pb2.CreateDefaultSyncableMembershipsRequest.FromString,
|
|
response_serializer=api__remaining__pb2.CreateDefaultSyncableMembershipsResponse.SerializeToString,
|
|
),
|
|
'DeleteGroupConstrainedMemberships': grpc.unary_unary_rpc_method_handler(
|
|
servicer.DeleteGroupConstrainedMemberships,
|
|
request_deserializer=api__remaining__pb2.DeleteGroupConstrainedMembershipsRequest.FromString,
|
|
response_serializer=api__remaining__pb2.DeleteGroupConstrainedMembershipsResponse.SerializeToString,
|
|
),
|
|
'RegisterPluginForSharedChannels': grpc.unary_unary_rpc_method_handler(
|
|
servicer.RegisterPluginForSharedChannels,
|
|
request_deserializer=api__remaining__pb2.RegisterPluginForSharedChannelsRequest.FromString,
|
|
response_serializer=api__remaining__pb2.RegisterPluginForSharedChannelsResponse.SerializeToString,
|
|
),
|
|
'UnregisterPluginForSharedChannels': grpc.unary_unary_rpc_method_handler(
|
|
servicer.UnregisterPluginForSharedChannels,
|
|
request_deserializer=api__remaining__pb2.UnregisterPluginForSharedChannelsRequest.FromString,
|
|
response_serializer=api__remaining__pb2.UnregisterPluginForSharedChannelsResponse.SerializeToString,
|
|
),
|
|
'ShareChannel': grpc.unary_unary_rpc_method_handler(
|
|
servicer.ShareChannel,
|
|
request_deserializer=api__remaining__pb2.ShareChannelRequest.FromString,
|
|
response_serializer=api__remaining__pb2.ShareChannelResponse.SerializeToString,
|
|
),
|
|
'UpdateSharedChannel': grpc.unary_unary_rpc_method_handler(
|
|
servicer.UpdateSharedChannel,
|
|
request_deserializer=api__remaining__pb2.UpdateSharedChannelRequest.FromString,
|
|
response_serializer=api__remaining__pb2.UpdateSharedChannelResponse.SerializeToString,
|
|
),
|
|
'UnshareChannel': grpc.unary_unary_rpc_method_handler(
|
|
servicer.UnshareChannel,
|
|
request_deserializer=api__remaining__pb2.UnshareChannelRequest.FromString,
|
|
response_serializer=api__remaining__pb2.UnshareChannelResponse.SerializeToString,
|
|
),
|
|
'UpdateSharedChannelCursor': grpc.unary_unary_rpc_method_handler(
|
|
servicer.UpdateSharedChannelCursor,
|
|
request_deserializer=api__remaining__pb2.UpdateSharedChannelCursorRequest.FromString,
|
|
response_serializer=api__remaining__pb2.UpdateSharedChannelCursorResponse.SerializeToString,
|
|
),
|
|
'SyncSharedChannel': grpc.unary_unary_rpc_method_handler(
|
|
servicer.SyncSharedChannel,
|
|
request_deserializer=api__remaining__pb2.SyncSharedChannelRequest.FromString,
|
|
response_serializer=api__remaining__pb2.SyncSharedChannelResponse.SerializeToString,
|
|
),
|
|
'InviteRemoteToChannel': grpc.unary_unary_rpc_method_handler(
|
|
servicer.InviteRemoteToChannel,
|
|
request_deserializer=api__remaining__pb2.InviteRemoteToChannelRequest.FromString,
|
|
response_serializer=api__remaining__pb2.InviteRemoteToChannelResponse.SerializeToString,
|
|
),
|
|
'UninviteRemoteFromChannel': grpc.unary_unary_rpc_method_handler(
|
|
servicer.UninviteRemoteFromChannel,
|
|
request_deserializer=api__remaining__pb2.UninviteRemoteFromChannelRequest.FromString,
|
|
response_serializer=api__remaining__pb2.UninviteRemoteFromChannelResponse.SerializeToString,
|
|
),
|
|
'CreatePropertyField': grpc.unary_unary_rpc_method_handler(
|
|
servicer.CreatePropertyField,
|
|
request_deserializer=api__remaining__pb2.CreatePropertyFieldRequest.FromString,
|
|
response_serializer=api__remaining__pb2.CreatePropertyFieldResponse.SerializeToString,
|
|
),
|
|
'GetPropertyField': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetPropertyField,
|
|
request_deserializer=api__remaining__pb2.GetPropertyFieldRequest.FromString,
|
|
response_serializer=api__remaining__pb2.GetPropertyFieldResponse.SerializeToString,
|
|
),
|
|
'GetPropertyFields': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetPropertyFields,
|
|
request_deserializer=api__remaining__pb2.GetPropertyFieldsRequest.FromString,
|
|
response_serializer=api__remaining__pb2.GetPropertyFieldsResponse.SerializeToString,
|
|
),
|
|
'UpdatePropertyField': grpc.unary_unary_rpc_method_handler(
|
|
servicer.UpdatePropertyField,
|
|
request_deserializer=api__remaining__pb2.UpdatePropertyFieldRequest.FromString,
|
|
response_serializer=api__remaining__pb2.UpdatePropertyFieldResponse.SerializeToString,
|
|
),
|
|
'DeletePropertyField': grpc.unary_unary_rpc_method_handler(
|
|
servicer.DeletePropertyField,
|
|
request_deserializer=api__remaining__pb2.DeletePropertyFieldRequest.FromString,
|
|
response_serializer=api__remaining__pb2.DeletePropertyFieldResponse.SerializeToString,
|
|
),
|
|
'SearchPropertyFields': grpc.unary_unary_rpc_method_handler(
|
|
servicer.SearchPropertyFields,
|
|
request_deserializer=api__remaining__pb2.SearchPropertyFieldsRequest.FromString,
|
|
response_serializer=api__remaining__pb2.SearchPropertyFieldsResponse.SerializeToString,
|
|
),
|
|
'CountPropertyFields': grpc.unary_unary_rpc_method_handler(
|
|
servicer.CountPropertyFields,
|
|
request_deserializer=api__remaining__pb2.CountPropertyFieldsRequest.FromString,
|
|
response_serializer=api__remaining__pb2.CountPropertyFieldsResponse.SerializeToString,
|
|
),
|
|
'CountPropertyFieldsForTarget': grpc.unary_unary_rpc_method_handler(
|
|
servicer.CountPropertyFieldsForTarget,
|
|
request_deserializer=api__remaining__pb2.CountPropertyFieldsForTargetRequest.FromString,
|
|
response_serializer=api__remaining__pb2.CountPropertyFieldsForTargetResponse.SerializeToString,
|
|
),
|
|
'CreatePropertyValue': grpc.unary_unary_rpc_method_handler(
|
|
servicer.CreatePropertyValue,
|
|
request_deserializer=api__remaining__pb2.CreatePropertyValueRequest.FromString,
|
|
response_serializer=api__remaining__pb2.CreatePropertyValueResponse.SerializeToString,
|
|
),
|
|
'GetPropertyValue': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetPropertyValue,
|
|
request_deserializer=api__remaining__pb2.GetPropertyValueRequest.FromString,
|
|
response_serializer=api__remaining__pb2.GetPropertyValueResponse.SerializeToString,
|
|
),
|
|
'GetPropertyValues': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetPropertyValues,
|
|
request_deserializer=api__remaining__pb2.GetPropertyValuesRequest.FromString,
|
|
response_serializer=api__remaining__pb2.GetPropertyValuesResponse.SerializeToString,
|
|
),
|
|
'UpdatePropertyValue': grpc.unary_unary_rpc_method_handler(
|
|
servicer.UpdatePropertyValue,
|
|
request_deserializer=api__remaining__pb2.UpdatePropertyValueRequest.FromString,
|
|
response_serializer=api__remaining__pb2.UpdatePropertyValueResponse.SerializeToString,
|
|
),
|
|
'UpsertPropertyValue': grpc.unary_unary_rpc_method_handler(
|
|
servicer.UpsertPropertyValue,
|
|
request_deserializer=api__remaining__pb2.UpsertPropertyValueRequest.FromString,
|
|
response_serializer=api__remaining__pb2.UpsertPropertyValueResponse.SerializeToString,
|
|
),
|
|
'DeletePropertyValue': grpc.unary_unary_rpc_method_handler(
|
|
servicer.DeletePropertyValue,
|
|
request_deserializer=api__remaining__pb2.DeletePropertyValueRequest.FromString,
|
|
response_serializer=api__remaining__pb2.DeletePropertyValueResponse.SerializeToString,
|
|
),
|
|
'SearchPropertyValues': grpc.unary_unary_rpc_method_handler(
|
|
servicer.SearchPropertyValues,
|
|
request_deserializer=api__remaining__pb2.SearchPropertyValuesRequest.FromString,
|
|
response_serializer=api__remaining__pb2.SearchPropertyValuesResponse.SerializeToString,
|
|
),
|
|
'RegisterPropertyGroup': grpc.unary_unary_rpc_method_handler(
|
|
servicer.RegisterPropertyGroup,
|
|
request_deserializer=api__remaining__pb2.RegisterPropertyGroupRequest.FromString,
|
|
response_serializer=api__remaining__pb2.RegisterPropertyGroupResponse.SerializeToString,
|
|
),
|
|
'GetPropertyGroup': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetPropertyGroup,
|
|
request_deserializer=api__remaining__pb2.GetPropertyGroupRequest.FromString,
|
|
response_serializer=api__remaining__pb2.GetPropertyGroupResponse.SerializeToString,
|
|
),
|
|
'GetPropertyFieldByName': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetPropertyFieldByName,
|
|
request_deserializer=api__remaining__pb2.GetPropertyFieldByNameRequest.FromString,
|
|
response_serializer=api__remaining__pb2.GetPropertyFieldByNameResponse.SerializeToString,
|
|
),
|
|
'UpdatePropertyFields': grpc.unary_unary_rpc_method_handler(
|
|
servicer.UpdatePropertyFields,
|
|
request_deserializer=api__remaining__pb2.UpdatePropertyFieldsRequest.FromString,
|
|
response_serializer=api__remaining__pb2.UpdatePropertyFieldsResponse.SerializeToString,
|
|
),
|
|
'UpdatePropertyValues': grpc.unary_unary_rpc_method_handler(
|
|
servicer.UpdatePropertyValues,
|
|
request_deserializer=api__remaining__pb2.UpdatePropertyValuesRequest.FromString,
|
|
response_serializer=api__remaining__pb2.UpdatePropertyValuesResponse.SerializeToString,
|
|
),
|
|
'UpsertPropertyValues': grpc.unary_unary_rpc_method_handler(
|
|
servicer.UpsertPropertyValues,
|
|
request_deserializer=api__remaining__pb2.UpsertPropertyValuesRequest.FromString,
|
|
response_serializer=api__remaining__pb2.UpsertPropertyValuesResponse.SerializeToString,
|
|
),
|
|
'DeletePropertyValuesForTarget': grpc.unary_unary_rpc_method_handler(
|
|
servicer.DeletePropertyValuesForTarget,
|
|
request_deserializer=api__remaining__pb2.DeletePropertyValuesForTargetRequest.FromString,
|
|
response_serializer=api__remaining__pb2.DeletePropertyValuesForTargetResponse.SerializeToString,
|
|
),
|
|
'DeletePropertyValuesForField': grpc.unary_unary_rpc_method_handler(
|
|
servicer.DeletePropertyValuesForField,
|
|
request_deserializer=api__remaining__pb2.DeletePropertyValuesForFieldRequest.FromString,
|
|
response_serializer=api__remaining__pb2.DeletePropertyValuesForFieldResponse.SerializeToString,
|
|
),
|
|
'LogAuditRec': grpc.unary_unary_rpc_method_handler(
|
|
servicer.LogAuditRec,
|
|
request_deserializer=api__remaining__pb2.LogAuditRecRequest.FromString,
|
|
response_serializer=api__remaining__pb2.LogAuditRecResponse.SerializeToString,
|
|
),
|
|
'LogAuditRecWithLevel': grpc.unary_unary_rpc_method_handler(
|
|
servicer.LogAuditRecWithLevel,
|
|
request_deserializer=api__remaining__pb2.LogAuditRecWithLevelRequest.FromString,
|
|
response_serializer=api__remaining__pb2.LogAuditRecWithLevelResponse.SerializeToString,
|
|
),
|
|
'PluginHTTP': grpc.unary_unary_rpc_method_handler(
|
|
servicer.PluginHTTP,
|
|
request_deserializer=api__remaining__pb2.PluginHTTPRequest.FromString,
|
|
response_serializer=api__remaining__pb2.PluginHTTPResponse.SerializeToString,
|
|
),
|
|
'GetCloudLimits': grpc.unary_unary_rpc_method_handler(
|
|
servicer.GetCloudLimits,
|
|
request_deserializer=api__remaining__pb2.GetCloudLimitsRequest.FromString,
|
|
response_serializer=api__remaining__pb2.GetCloudLimitsResponse.SerializeToString,
|
|
),
|
|
'OpenInteractiveDialog': grpc.unary_unary_rpc_method_handler(
|
|
servicer.OpenInteractiveDialog,
|
|
request_deserializer=api__remaining__pb2.OpenInteractiveDialogRequest.FromString,
|
|
response_serializer=api__remaining__pb2.OpenInteractiveDialogResponse.SerializeToString,
|
|
),
|
|
'PublishPluginClusterEvent': grpc.unary_unary_rpc_method_handler(
|
|
servicer.PublishPluginClusterEvent,
|
|
request_deserializer=api__remaining__pb2.PublishPluginClusterEventRequest.FromString,
|
|
response_serializer=api__remaining__pb2.PublishPluginClusterEventResponse.SerializeToString,
|
|
),
|
|
'RegisterCollectionAndTopic': grpc.unary_unary_rpc_method_handler(
|
|
servicer.RegisterCollectionAndTopic,
|
|
request_deserializer=api__remaining__pb2.RegisterCollectionAndTopicRequest.FromString,
|
|
response_serializer=api__remaining__pb2.RegisterCollectionAndTopicResponse.SerializeToString,
|
|
),
|
|
'RequestTrialLicense': grpc.unary_unary_rpc_method_handler(
|
|
servicer.RequestTrialLicense,
|
|
request_deserializer=api__remaining__pb2.RequestTrialLicenseRequest.FromString,
|
|
response_serializer=api__remaining__pb2.RequestTrialLicenseResponse.SerializeToString,
|
|
),
|
|
'RolesGrantPermission': grpc.unary_unary_rpc_method_handler(
|
|
servicer.RolesGrantPermission,
|
|
request_deserializer=api__remaining__pb2.RolesGrantPermissionRequest.FromString,
|
|
response_serializer=api__remaining__pb2.RolesGrantPermissionResponse.SerializeToString,
|
|
),
|
|
'SendMail': grpc.unary_unary_rpc_method_handler(
|
|
servicer.SendMail,
|
|
request_deserializer=api__remaining__pb2.SendMailRequest.FromString,
|
|
response_serializer=api__remaining__pb2.SendMailResponse.SerializeToString,
|
|
),
|
|
'SendPushNotification': grpc.unary_unary_rpc_method_handler(
|
|
servicer.SendPushNotification,
|
|
request_deserializer=api__remaining__pb2.SendPushNotificationRequest.FromString,
|
|
response_serializer=api__remaining__pb2.SendPushNotificationResponse.SerializeToString,
|
|
),
|
|
}
|
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
'mattermost.pluginapi.v1.PluginAPI', rpc_method_handlers)
|
|
server.add_generic_rpc_handlers((generic_handler,))
|
|
server.add_registered_method_handlers('mattermost.pluginapi.v1.PluginAPI', rpc_method_handlers)
|
|
|
|
|
|
# This class is part of an EXPERIMENTAL API.
|
|
class PluginAPI(object):
|
|
"""==============================================================================
|
|
PLUGIN API SERVICE
|
|
==============================================================================
|
|
|
|
PluginAPI is the gRPC service that wraps the Mattermost Plugin API interface.
|
|
Each RPC corresponds to exactly one method in server/public/plugin/api.go.
|
|
|
|
This service is mechanically complete - the apiverify tool ensures parity
|
|
between this service definition and the Go API interface.
|
|
|
|
Error handling: All responses embed AppError as field 1. A nil/empty error
|
|
indicates success; a populated error indicates failure with full error details.
|
|
|
|
==============================================================================
|
|
|
|
"""
|
|
|
|
@staticmethod
|
|
def CreateUser(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/CreateUser',
|
|
api__user__team__pb2.CreateUserRequest.SerializeToString,
|
|
api__user__team__pb2.CreateUserResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def DeleteUser(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/DeleteUser',
|
|
api__user__team__pb2.DeleteUserRequest.SerializeToString,
|
|
api__user__team__pb2.DeleteUserResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetUsers(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetUsers',
|
|
api__user__team__pb2.GetUsersRequest.SerializeToString,
|
|
api__user__team__pb2.GetUsersResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetUsersByIds(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetUsersByIds',
|
|
api__user__team__pb2.GetUsersByIdsRequest.SerializeToString,
|
|
api__user__team__pb2.GetUsersByIdsResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetUser(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetUser',
|
|
api__user__team__pb2.GetUserRequest.SerializeToString,
|
|
api__user__team__pb2.GetUserResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetUserByEmail(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetUserByEmail',
|
|
api__user__team__pb2.GetUserByEmailRequest.SerializeToString,
|
|
api__user__team__pb2.GetUserByEmailResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetUserByUsername(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetUserByUsername',
|
|
api__user__team__pb2.GetUserByUsernameRequest.SerializeToString,
|
|
api__user__team__pb2.GetUserByUsernameResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetUsersByUsernames(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetUsersByUsernames',
|
|
api__user__team__pb2.GetUsersByUsernamesRequest.SerializeToString,
|
|
api__user__team__pb2.GetUsersByUsernamesResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetUsersInTeam(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetUsersInTeam',
|
|
api__user__team__pb2.GetUsersInTeamRequest.SerializeToString,
|
|
api__user__team__pb2.GetUsersInTeamResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def UpdateUser(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdateUser',
|
|
api__user__team__pb2.UpdateUserRequest.SerializeToString,
|
|
api__user__team__pb2.UpdateUserResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetUserStatus(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetUserStatus',
|
|
api__user__team__pb2.GetUserStatusRequest.SerializeToString,
|
|
api__user__team__pb2.GetUserStatusResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetUserStatusesByIds(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetUserStatusesByIds',
|
|
api__user__team__pb2.GetUserStatusesByIdsRequest.SerializeToString,
|
|
api__user__team__pb2.GetUserStatusesByIdsResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def UpdateUserStatus(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdateUserStatus',
|
|
api__user__team__pb2.UpdateUserStatusRequest.SerializeToString,
|
|
api__user__team__pb2.UpdateUserStatusResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def SetUserStatusTimedDND(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/SetUserStatusTimedDND',
|
|
api__user__team__pb2.SetUserStatusTimedDNDRequest.SerializeToString,
|
|
api__user__team__pb2.SetUserStatusTimedDNDResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def UpdateUserActive(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdateUserActive',
|
|
api__user__team__pb2.UpdateUserActiveRequest.SerializeToString,
|
|
api__user__team__pb2.UpdateUserActiveResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def UpdateUserCustomStatus(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdateUserCustomStatus',
|
|
api__user__team__pb2.UpdateUserCustomStatusRequest.SerializeToString,
|
|
api__user__team__pb2.UpdateUserCustomStatusResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def RemoveUserCustomStatus(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/RemoveUserCustomStatus',
|
|
api__user__team__pb2.RemoveUserCustomStatusRequest.SerializeToString,
|
|
api__user__team__pb2.RemoveUserCustomStatusResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetUsersInChannel(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetUsersInChannel',
|
|
api__user__team__pb2.GetUsersInChannelRequest.SerializeToString,
|
|
api__user__team__pb2.GetUsersInChannelResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetLDAPUserAttributes(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetLDAPUserAttributes',
|
|
api__user__team__pb2.GetLDAPUserAttributesRequest.SerializeToString,
|
|
api__user__team__pb2.GetLDAPUserAttributesResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def SearchUsers(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/SearchUsers',
|
|
api__user__team__pb2.SearchUsersRequest.SerializeToString,
|
|
api__user__team__pb2.SearchUsersResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetProfileImage(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetProfileImage',
|
|
api__user__team__pb2.GetProfileImageRequest.SerializeToString,
|
|
api__user__team__pb2.GetProfileImageResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def SetProfileImage(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/SetProfileImage',
|
|
api__user__team__pb2.SetProfileImageRequest.SerializeToString,
|
|
api__user__team__pb2.SetProfileImageResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def HasPermissionTo(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/HasPermissionTo',
|
|
api__user__team__pb2.HasPermissionToRequest.SerializeToString,
|
|
api__user__team__pb2.HasPermissionToResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def HasPermissionToTeam(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/HasPermissionToTeam',
|
|
api__user__team__pb2.HasPermissionToTeamRequest.SerializeToString,
|
|
api__user__team__pb2.HasPermissionToTeamResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def HasPermissionToChannel(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/HasPermissionToChannel',
|
|
api__user__team__pb2.HasPermissionToChannelRequest.SerializeToString,
|
|
api__user__team__pb2.HasPermissionToChannelResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def PublishUserTyping(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/PublishUserTyping',
|
|
api__user__team__pb2.PublishUserTypingRequest.SerializeToString,
|
|
api__user__team__pb2.PublishUserTypingResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def UpdateUserAuth(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdateUserAuth',
|
|
api__user__team__pb2.UpdateUserAuthRequest.SerializeToString,
|
|
api__user__team__pb2.UpdateUserAuthResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def UpdateUserRoles(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdateUserRoles',
|
|
api__user__team__pb2.UpdateUserRolesRequest.SerializeToString,
|
|
api__user__team__pb2.UpdateUserRolesResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetSession(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetSession',
|
|
api__user__team__pb2.GetSessionRequest.SerializeToString,
|
|
api__user__team__pb2.GetSessionResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def CreateSession(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/CreateSession',
|
|
api__user__team__pb2.CreateSessionRequest.SerializeToString,
|
|
api__user__team__pb2.CreateSessionResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def ExtendSessionExpiry(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/ExtendSessionExpiry',
|
|
api__user__team__pb2.ExtendSessionExpiryRequest.SerializeToString,
|
|
api__user__team__pb2.ExtendSessionExpiryResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def RevokeSession(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/RevokeSession',
|
|
api__user__team__pb2.RevokeSessionRequest.SerializeToString,
|
|
api__user__team__pb2.RevokeSessionResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def CreateUserAccessToken(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/CreateUserAccessToken',
|
|
api__user__team__pb2.CreateUserAccessTokenRequest.SerializeToString,
|
|
api__user__team__pb2.CreateUserAccessTokenResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def RevokeUserAccessToken(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/RevokeUserAccessToken',
|
|
api__user__team__pb2.RevokeUserAccessTokenRequest.SerializeToString,
|
|
api__user__team__pb2.RevokeUserAccessTokenResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def CreateTeam(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/CreateTeam',
|
|
api__user__team__pb2.CreateTeamRequest.SerializeToString,
|
|
api__user__team__pb2.CreateTeamResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def DeleteTeam(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/DeleteTeam',
|
|
api__user__team__pb2.DeleteTeamRequest.SerializeToString,
|
|
api__user__team__pb2.DeleteTeamResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetTeams(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetTeams',
|
|
api__user__team__pb2.GetTeamsRequest.SerializeToString,
|
|
api__user__team__pb2.GetTeamsResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetTeam(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetTeam',
|
|
api__user__team__pb2.GetTeamRequest.SerializeToString,
|
|
api__user__team__pb2.GetTeamResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetTeamByName(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetTeamByName',
|
|
api__user__team__pb2.GetTeamByNameRequest.SerializeToString,
|
|
api__user__team__pb2.GetTeamByNameResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetTeamsUnreadForUser(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetTeamsUnreadForUser',
|
|
api__user__team__pb2.GetTeamsUnreadForUserRequest.SerializeToString,
|
|
api__user__team__pb2.GetTeamsUnreadForUserResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def UpdateTeam(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdateTeam',
|
|
api__user__team__pb2.UpdateTeamRequest.SerializeToString,
|
|
api__user__team__pb2.UpdateTeamResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def SearchTeams(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/SearchTeams',
|
|
api__user__team__pb2.SearchTeamsRequest.SerializeToString,
|
|
api__user__team__pb2.SearchTeamsResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetTeamsForUser(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetTeamsForUser',
|
|
api__user__team__pb2.GetTeamsForUserRequest.SerializeToString,
|
|
api__user__team__pb2.GetTeamsForUserResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def CreateTeamMember(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/CreateTeamMember',
|
|
api__user__team__pb2.CreateTeamMemberRequest.SerializeToString,
|
|
api__user__team__pb2.CreateTeamMemberResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def CreateTeamMembers(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/CreateTeamMembers',
|
|
api__user__team__pb2.CreateTeamMembersRequest.SerializeToString,
|
|
api__user__team__pb2.CreateTeamMembersResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def CreateTeamMembersGracefully(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/CreateTeamMembersGracefully',
|
|
api__user__team__pb2.CreateTeamMembersGracefullyRequest.SerializeToString,
|
|
api__user__team__pb2.CreateTeamMembersGracefullyResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def DeleteTeamMember(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/DeleteTeamMember',
|
|
api__user__team__pb2.DeleteTeamMemberRequest.SerializeToString,
|
|
api__user__team__pb2.DeleteTeamMemberResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetTeamMembers(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetTeamMembers',
|
|
api__user__team__pb2.GetTeamMembersRequest.SerializeToString,
|
|
api__user__team__pb2.GetTeamMembersResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetTeamMember(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetTeamMember',
|
|
api__user__team__pb2.GetTeamMemberRequest.SerializeToString,
|
|
api__user__team__pb2.GetTeamMemberResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetTeamMembersForUser(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetTeamMembersForUser',
|
|
api__user__team__pb2.GetTeamMembersForUserRequest.SerializeToString,
|
|
api__user__team__pb2.GetTeamMembersForUserResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def UpdateTeamMemberRoles(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdateTeamMemberRoles',
|
|
api__user__team__pb2.UpdateTeamMemberRolesRequest.SerializeToString,
|
|
api__user__team__pb2.UpdateTeamMemberRolesResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetTeamIcon(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetTeamIcon',
|
|
api__user__team__pb2.GetTeamIconRequest.SerializeToString,
|
|
api__user__team__pb2.GetTeamIconResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def SetTeamIcon(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/SetTeamIcon',
|
|
api__user__team__pb2.SetTeamIconRequest.SerializeToString,
|
|
api__user__team__pb2.SetTeamIconResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def RemoveTeamIcon(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/RemoveTeamIcon',
|
|
api__user__team__pb2.RemoveTeamIconRequest.SerializeToString,
|
|
api__user__team__pb2.RemoveTeamIconResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetTeamStats(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetTeamStats',
|
|
api__user__team__pb2.GetTeamStatsRequest.SerializeToString,
|
|
api__user__team__pb2.GetTeamStatsResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def CreateChannel(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/CreateChannel',
|
|
api__channel__post__pb2.CreateChannelRequest.SerializeToString,
|
|
api__channel__post__pb2.CreateChannelResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def DeleteChannel(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/DeleteChannel',
|
|
api__channel__post__pb2.DeleteChannelRequest.SerializeToString,
|
|
api__channel__post__pb2.DeleteChannelResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetPublicChannelsForTeam(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetPublicChannelsForTeam',
|
|
api__channel__post__pb2.GetPublicChannelsForTeamRequest.SerializeToString,
|
|
api__channel__post__pb2.GetPublicChannelsForTeamResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetChannel(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetChannel',
|
|
api__channel__post__pb2.GetChannelRequest.SerializeToString,
|
|
api__channel__post__pb2.GetChannelResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetChannelByName(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetChannelByName',
|
|
api__channel__post__pb2.GetChannelByNameRequest.SerializeToString,
|
|
api__channel__post__pb2.GetChannelByNameResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetChannelByNameForTeamName(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetChannelByNameForTeamName',
|
|
api__channel__post__pb2.GetChannelByNameForTeamNameRequest.SerializeToString,
|
|
api__channel__post__pb2.GetChannelByNameForTeamNameResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetChannelsForTeamForUser(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetChannelsForTeamForUser',
|
|
api__channel__post__pb2.GetChannelsForTeamForUserRequest.SerializeToString,
|
|
api__channel__post__pb2.GetChannelsForTeamForUserResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetChannelStats(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetChannelStats',
|
|
api__channel__post__pb2.GetChannelStatsRequest.SerializeToString,
|
|
api__channel__post__pb2.GetChannelStatsResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetDirectChannel(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetDirectChannel',
|
|
api__channel__post__pb2.GetDirectChannelRequest.SerializeToString,
|
|
api__channel__post__pb2.GetDirectChannelResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetGroupChannel(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetGroupChannel',
|
|
api__channel__post__pb2.GetGroupChannelRequest.SerializeToString,
|
|
api__channel__post__pb2.GetGroupChannelResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def UpdateChannel(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdateChannel',
|
|
api__channel__post__pb2.UpdateChannelRequest.SerializeToString,
|
|
api__channel__post__pb2.UpdateChannelResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def SearchChannels(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/SearchChannels',
|
|
api__channel__post__pb2.SearchChannelsRequest.SerializeToString,
|
|
api__channel__post__pb2.SearchChannelsResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def AddChannelMember(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/AddChannelMember',
|
|
api__channel__post__pb2.AddChannelMemberRequest.SerializeToString,
|
|
api__channel__post__pb2.AddChannelMemberResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def AddUserToChannel(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/AddUserToChannel',
|
|
api__channel__post__pb2.AddUserToChannelRequest.SerializeToString,
|
|
api__channel__post__pb2.AddUserToChannelResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetChannelMember(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetChannelMember',
|
|
api__channel__post__pb2.GetChannelMemberRequest.SerializeToString,
|
|
api__channel__post__pb2.GetChannelMemberResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetChannelMembers(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetChannelMembers',
|
|
api__channel__post__pb2.GetChannelMembersRequest.SerializeToString,
|
|
api__channel__post__pb2.GetChannelMembersResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetChannelMembersByIds(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetChannelMembersByIds',
|
|
api__channel__post__pb2.GetChannelMembersByIdsRequest.SerializeToString,
|
|
api__channel__post__pb2.GetChannelMembersByIdsResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetChannelMembersForUser(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetChannelMembersForUser',
|
|
api__channel__post__pb2.GetChannelMembersForUserRequest.SerializeToString,
|
|
api__channel__post__pb2.GetChannelMembersForUserResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def UpdateChannelMemberRoles(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdateChannelMemberRoles',
|
|
api__channel__post__pb2.UpdateChannelMemberRolesRequest.SerializeToString,
|
|
api__channel__post__pb2.UpdateChannelMemberRolesResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def UpdateChannelMemberNotifications(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdateChannelMemberNotifications',
|
|
api__channel__post__pb2.UpdateChannelMemberNotificationsRequest.SerializeToString,
|
|
api__channel__post__pb2.UpdateChannelMemberNotificationsResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def PatchChannelMembersNotifications(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/PatchChannelMembersNotifications',
|
|
api__channel__post__pb2.PatchChannelMembersNotificationsRequest.SerializeToString,
|
|
api__channel__post__pb2.PatchChannelMembersNotificationsResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def DeleteChannelMember(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/DeleteChannelMember',
|
|
api__channel__post__pb2.DeleteChannelMemberRequest.SerializeToString,
|
|
api__channel__post__pb2.DeleteChannelMemberResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def CreateChannelSidebarCategory(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/CreateChannelSidebarCategory',
|
|
api__channel__post__pb2.CreateChannelSidebarCategoryRequest.SerializeToString,
|
|
api__channel__post__pb2.CreateChannelSidebarCategoryResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetChannelSidebarCategories(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetChannelSidebarCategories',
|
|
api__channel__post__pb2.GetChannelSidebarCategoriesRequest.SerializeToString,
|
|
api__channel__post__pb2.GetChannelSidebarCategoriesResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def UpdateChannelSidebarCategories(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdateChannelSidebarCategories',
|
|
api__channel__post__pb2.UpdateChannelSidebarCategoriesRequest.SerializeToString,
|
|
api__channel__post__pb2.UpdateChannelSidebarCategoriesResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def CreatePost(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/CreatePost',
|
|
api__channel__post__pb2.CreatePostRequest.SerializeToString,
|
|
api__channel__post__pb2.CreatePostResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def AddReaction(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/AddReaction',
|
|
api__channel__post__pb2.AddReactionRequest.SerializeToString,
|
|
api__channel__post__pb2.AddReactionResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def RemoveReaction(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/RemoveReaction',
|
|
api__channel__post__pb2.RemoveReactionRequest.SerializeToString,
|
|
api__channel__post__pb2.RemoveReactionResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetReactions(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetReactions',
|
|
api__channel__post__pb2.GetReactionsRequest.SerializeToString,
|
|
api__channel__post__pb2.GetReactionsResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def SendEphemeralPost(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/SendEphemeralPost',
|
|
api__channel__post__pb2.SendEphemeralPostRequest.SerializeToString,
|
|
api__channel__post__pb2.SendEphemeralPostResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def UpdateEphemeralPost(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdateEphemeralPost',
|
|
api__channel__post__pb2.UpdateEphemeralPostRequest.SerializeToString,
|
|
api__channel__post__pb2.UpdateEphemeralPostResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def DeleteEphemeralPost(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/DeleteEphemeralPost',
|
|
api__channel__post__pb2.DeleteEphemeralPostRequest.SerializeToString,
|
|
api__channel__post__pb2.DeleteEphemeralPostResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def DeletePost(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/DeletePost',
|
|
api__channel__post__pb2.DeletePostRequest.SerializeToString,
|
|
api__channel__post__pb2.DeletePostResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetPostThread(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetPostThread',
|
|
api__channel__post__pb2.GetPostThreadRequest.SerializeToString,
|
|
api__channel__post__pb2.GetPostThreadResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetPost(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetPost',
|
|
api__channel__post__pb2.GetPostRequest.SerializeToString,
|
|
api__channel__post__pb2.GetPostResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetPostsSince(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetPostsSince',
|
|
api__channel__post__pb2.GetPostsSinceRequest.SerializeToString,
|
|
api__channel__post__pb2.GetPostsSinceResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetPostsAfter(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetPostsAfter',
|
|
api__channel__post__pb2.GetPostsAfterRequest.SerializeToString,
|
|
api__channel__post__pb2.GetPostsAfterResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetPostsBefore(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetPostsBefore',
|
|
api__channel__post__pb2.GetPostsBeforeRequest.SerializeToString,
|
|
api__channel__post__pb2.GetPostsBeforeResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetPostsForChannel(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetPostsForChannel',
|
|
api__channel__post__pb2.GetPostsForChannelRequest.SerializeToString,
|
|
api__channel__post__pb2.GetPostsForChannelResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def UpdatePost(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdatePost',
|
|
api__channel__post__pb2.UpdatePostRequest.SerializeToString,
|
|
api__channel__post__pb2.UpdatePostResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def SearchPostsInTeam(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/SearchPostsInTeam',
|
|
api__channel__post__pb2.SearchPostsInTeamRequest.SerializeToString,
|
|
api__channel__post__pb2.SearchPostsInTeamResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def SearchPostsInTeamForUser(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/SearchPostsInTeamForUser',
|
|
api__channel__post__pb2.SearchPostsInTeamForUserRequest.SerializeToString,
|
|
api__channel__post__pb2.SearchPostsInTeamForUserResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetEmojiList(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetEmojiList',
|
|
api__channel__post__pb2.GetEmojiListRequest.SerializeToString,
|
|
api__channel__post__pb2.GetEmojiListResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetEmojiByName(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetEmojiByName',
|
|
api__channel__post__pb2.GetEmojiByNameRequest.SerializeToString,
|
|
api__channel__post__pb2.GetEmojiByNameResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetEmoji(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetEmoji',
|
|
api__channel__post__pb2.GetEmojiRequest.SerializeToString,
|
|
api__channel__post__pb2.GetEmojiResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetEmojiImage(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetEmojiImage',
|
|
api__channel__post__pb2.GetEmojiImageRequest.SerializeToString,
|
|
api__channel__post__pb2.GetEmojiImageResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def KVSet(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/KVSet',
|
|
api__kv__config__pb2.KVSetRequest.SerializeToString,
|
|
api__kv__config__pb2.KVSetResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def KVCompareAndSet(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/KVCompareAndSet',
|
|
api__kv__config__pb2.KVCompareAndSetRequest.SerializeToString,
|
|
api__kv__config__pb2.KVCompareAndSetResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def KVCompareAndDelete(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/KVCompareAndDelete',
|
|
api__kv__config__pb2.KVCompareAndDeleteRequest.SerializeToString,
|
|
api__kv__config__pb2.KVCompareAndDeleteResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def KVSetWithOptions(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/KVSetWithOptions',
|
|
api__kv__config__pb2.KVSetWithOptionsRequest.SerializeToString,
|
|
api__kv__config__pb2.KVSetWithOptionsResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def KVSetWithExpiry(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/KVSetWithExpiry',
|
|
api__kv__config__pb2.KVSetWithExpiryRequest.SerializeToString,
|
|
api__kv__config__pb2.KVSetWithExpiryResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def KVGet(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/KVGet',
|
|
api__kv__config__pb2.KVGetRequest.SerializeToString,
|
|
api__kv__config__pb2.KVGetResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def KVDelete(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/KVDelete',
|
|
api__kv__config__pb2.KVDeleteRequest.SerializeToString,
|
|
api__kv__config__pb2.KVDeleteResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def KVDeleteAll(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/KVDeleteAll',
|
|
api__kv__config__pb2.KVDeleteAllRequest.SerializeToString,
|
|
api__kv__config__pb2.KVDeleteAllResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def KVList(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/KVList',
|
|
api__kv__config__pb2.KVListRequest.SerializeToString,
|
|
api__kv__config__pb2.KVListResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def PublishWebSocketEvent(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/PublishWebSocketEvent',
|
|
api__kv__config__pb2.PublishWebSocketEventRequest.SerializeToString,
|
|
api__kv__config__pb2.PublishWebSocketEventResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def LoadPluginConfiguration(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/LoadPluginConfiguration',
|
|
api__kv__config__pb2.LoadPluginConfigurationRequest.SerializeToString,
|
|
api__kv__config__pb2.LoadPluginConfigurationResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetConfig(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetConfig',
|
|
api__kv__config__pb2.GetConfigRequest.SerializeToString,
|
|
api__kv__config__pb2.GetConfigResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetUnsanitizedConfig(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetUnsanitizedConfig',
|
|
api__kv__config__pb2.GetUnsanitizedConfigRequest.SerializeToString,
|
|
api__kv__config__pb2.GetUnsanitizedConfigResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def SaveConfig(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/SaveConfig',
|
|
api__kv__config__pb2.SaveConfigRequest.SerializeToString,
|
|
api__kv__config__pb2.SaveConfigResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetPluginConfig(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetPluginConfig',
|
|
api__kv__config__pb2.GetPluginConfigRequest.SerializeToString,
|
|
api__kv__config__pb2.GetPluginConfigResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def SavePluginConfig(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/SavePluginConfig',
|
|
api__kv__config__pb2.SavePluginConfigRequest.SerializeToString,
|
|
api__kv__config__pb2.SavePluginConfigResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetBundlePath(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetBundlePath',
|
|
api__kv__config__pb2.GetBundlePathRequest.SerializeToString,
|
|
api__kv__config__pb2.GetBundlePathResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetPlugins(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetPlugins',
|
|
api__kv__config__pb2.GetPluginsRequest.SerializeToString,
|
|
api__kv__config__pb2.GetPluginsResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def EnablePlugin(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/EnablePlugin',
|
|
api__kv__config__pb2.EnablePluginRequest.SerializeToString,
|
|
api__kv__config__pb2.EnablePluginResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def DisablePlugin(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/DisablePlugin',
|
|
api__kv__config__pb2.DisablePluginRequest.SerializeToString,
|
|
api__kv__config__pb2.DisablePluginResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def RemovePlugin(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/RemovePlugin',
|
|
api__kv__config__pb2.RemovePluginRequest.SerializeToString,
|
|
api__kv__config__pb2.RemovePluginResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetPluginStatus(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetPluginStatus',
|
|
api__kv__config__pb2.GetPluginStatusRequest.SerializeToString,
|
|
api__kv__config__pb2.GetPluginStatusResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def InstallPlugin(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/InstallPlugin',
|
|
api__kv__config__pb2.InstallPluginRequest.SerializeToString,
|
|
api__kv__config__pb2.InstallPluginResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetPluginID(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetPluginID',
|
|
api__kv__config__pb2.GetPluginIDRequest.SerializeToString,
|
|
api__kv__config__pb2.GetPluginIDResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def LogDebug(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/LogDebug',
|
|
api__kv__config__pb2.LogDebugRequest.SerializeToString,
|
|
api__kv__config__pb2.LogDebugResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def LogInfo(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/LogInfo',
|
|
api__kv__config__pb2.LogInfoRequest.SerializeToString,
|
|
api__kv__config__pb2.LogInfoResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def LogError(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/LogError',
|
|
api__kv__config__pb2.LogErrorRequest.SerializeToString,
|
|
api__kv__config__pb2.LogErrorResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def LogWarn(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/LogWarn',
|
|
api__kv__config__pb2.LogWarnRequest.SerializeToString,
|
|
api__kv__config__pb2.LogWarnResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def CopyFileInfos(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/CopyFileInfos',
|
|
api__file__bot__pb2.CopyFileInfosRequest.SerializeToString,
|
|
api__file__bot__pb2.CopyFileInfosResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetFileInfo(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetFileInfo',
|
|
api__file__bot__pb2.GetFileInfoRequest.SerializeToString,
|
|
api__file__bot__pb2.GetFileInfoResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def SetFileSearchableContent(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/SetFileSearchableContent',
|
|
api__file__bot__pb2.SetFileSearchableContentRequest.SerializeToString,
|
|
api__file__bot__pb2.SetFileSearchableContentResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetFileInfos(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetFileInfos',
|
|
api__file__bot__pb2.GetFileInfosRequest.SerializeToString,
|
|
api__file__bot__pb2.GetFileInfosResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetFile(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetFile',
|
|
api__file__bot__pb2.GetFileRequest.SerializeToString,
|
|
api__file__bot__pb2.GetFileResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetFileLink(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetFileLink',
|
|
api__file__bot__pb2.GetFileLinkRequest.SerializeToString,
|
|
api__file__bot__pb2.GetFileLinkResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def ReadFile(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/ReadFile',
|
|
api__file__bot__pb2.ReadFileRequest.SerializeToString,
|
|
api__file__bot__pb2.ReadFileResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def UploadFile(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/UploadFile',
|
|
api__file__bot__pb2.UploadFileRequest.SerializeToString,
|
|
api__file__bot__pb2.UploadFileResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def CreateUploadSession(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/CreateUploadSession',
|
|
api__file__bot__pb2.CreateUploadSessionRequest.SerializeToString,
|
|
api__file__bot__pb2.CreateUploadSessionResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def UploadData(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/UploadData',
|
|
api__file__bot__pb2.UploadDataRequest.SerializeToString,
|
|
api__file__bot__pb2.UploadDataResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetUploadSession(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetUploadSession',
|
|
api__file__bot__pb2.GetUploadSessionRequest.SerializeToString,
|
|
api__file__bot__pb2.GetUploadSessionResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def CreateBot(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/CreateBot',
|
|
api__file__bot__pb2.CreateBotRequest.SerializeToString,
|
|
api__file__bot__pb2.CreateBotResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def PatchBot(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/PatchBot',
|
|
api__file__bot__pb2.PatchBotRequest.SerializeToString,
|
|
api__file__bot__pb2.PatchBotResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetBot(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetBot',
|
|
api__file__bot__pb2.GetBotRequest.SerializeToString,
|
|
api__file__bot__pb2.GetBotResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetBots(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetBots',
|
|
api__file__bot__pb2.GetBotsRequest.SerializeToString,
|
|
api__file__bot__pb2.GetBotsResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def UpdateBotActive(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdateBotActive',
|
|
api__file__bot__pb2.UpdateBotActiveRequest.SerializeToString,
|
|
api__file__bot__pb2.UpdateBotActiveResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def PermanentDeleteBot(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/PermanentDeleteBot',
|
|
api__file__bot__pb2.PermanentDeleteBotRequest.SerializeToString,
|
|
api__file__bot__pb2.PermanentDeleteBotResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def EnsureBotUser(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/EnsureBotUser',
|
|
api__file__bot__pb2.EnsureBotUserRequest.SerializeToString,
|
|
api__file__bot__pb2.EnsureBotUserResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetLicense(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetLicense',
|
|
api__remaining__pb2.GetLicenseRequest.SerializeToString,
|
|
api__remaining__pb2.GetLicenseResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def IsEnterpriseReady(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/IsEnterpriseReady',
|
|
api__remaining__pb2.IsEnterpriseReadyRequest.SerializeToString,
|
|
api__remaining__pb2.IsEnterpriseReadyResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetServerVersion(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetServerVersion',
|
|
api__remaining__pb2.GetServerVersionRequest.SerializeToString,
|
|
api__remaining__pb2.GetServerVersionResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetSystemInstallDate(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetSystemInstallDate',
|
|
api__remaining__pb2.GetSystemInstallDateRequest.SerializeToString,
|
|
api__remaining__pb2.GetSystemInstallDateResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetDiagnosticId(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetDiagnosticId',
|
|
api__remaining__pb2.GetDiagnosticIdRequest.SerializeToString,
|
|
api__remaining__pb2.GetDiagnosticIdResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetTelemetryId(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetTelemetryId',
|
|
api__remaining__pb2.GetTelemetryIdRequest.SerializeToString,
|
|
api__remaining__pb2.GetTelemetryIdResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def RegisterCommand(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/RegisterCommand',
|
|
api__remaining__pb2.RegisterCommandRequest.SerializeToString,
|
|
api__remaining__pb2.RegisterCommandResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def UnregisterCommand(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/UnregisterCommand',
|
|
api__remaining__pb2.UnregisterCommandRequest.SerializeToString,
|
|
api__remaining__pb2.UnregisterCommandResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def ExecuteSlashCommand(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/ExecuteSlashCommand',
|
|
api__remaining__pb2.ExecuteSlashCommandRequest.SerializeToString,
|
|
api__remaining__pb2.ExecuteSlashCommandResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def CreateCommand(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/CreateCommand',
|
|
api__remaining__pb2.CreateCommandRequest.SerializeToString,
|
|
api__remaining__pb2.CreateCommandResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def ListCommands(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/ListCommands',
|
|
api__remaining__pb2.ListCommandsRequest.SerializeToString,
|
|
api__remaining__pb2.ListCommandsResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def ListCustomCommands(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/ListCustomCommands',
|
|
api__remaining__pb2.ListCustomCommandsRequest.SerializeToString,
|
|
api__remaining__pb2.ListCustomCommandsResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def ListPluginCommands(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/ListPluginCommands',
|
|
api__remaining__pb2.ListPluginCommandsRequest.SerializeToString,
|
|
api__remaining__pb2.ListPluginCommandsResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def ListBuiltInCommands(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/ListBuiltInCommands',
|
|
api__remaining__pb2.ListBuiltInCommandsRequest.SerializeToString,
|
|
api__remaining__pb2.ListBuiltInCommandsResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetCommand(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetCommand',
|
|
api__remaining__pb2.GetCommandRequest.SerializeToString,
|
|
api__remaining__pb2.GetCommandResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def UpdateCommand(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdateCommand',
|
|
api__remaining__pb2.UpdateCommandRequest.SerializeToString,
|
|
api__remaining__pb2.UpdateCommandResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def DeleteCommand(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/DeleteCommand',
|
|
api__remaining__pb2.DeleteCommandRequest.SerializeToString,
|
|
api__remaining__pb2.DeleteCommandResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetPreferenceForUser(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetPreferenceForUser',
|
|
api__remaining__pb2.GetPreferenceForUserRequest.SerializeToString,
|
|
api__remaining__pb2.GetPreferenceForUserResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetPreferencesForUser(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetPreferencesForUser',
|
|
api__remaining__pb2.GetPreferencesForUserRequest.SerializeToString,
|
|
api__remaining__pb2.GetPreferencesForUserResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def UpdatePreferencesForUser(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdatePreferencesForUser',
|
|
api__remaining__pb2.UpdatePreferencesForUserRequest.SerializeToString,
|
|
api__remaining__pb2.UpdatePreferencesForUserResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def DeletePreferencesForUser(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/DeletePreferencesForUser',
|
|
api__remaining__pb2.DeletePreferencesForUserRequest.SerializeToString,
|
|
api__remaining__pb2.DeletePreferencesForUserResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def CreateOAuthApp(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/CreateOAuthApp',
|
|
api__remaining__pb2.CreateOAuthAppRequest.SerializeToString,
|
|
api__remaining__pb2.CreateOAuthAppResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetOAuthApp(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetOAuthApp',
|
|
api__remaining__pb2.GetOAuthAppRequest.SerializeToString,
|
|
api__remaining__pb2.GetOAuthAppResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def UpdateOAuthApp(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdateOAuthApp',
|
|
api__remaining__pb2.UpdateOAuthAppRequest.SerializeToString,
|
|
api__remaining__pb2.UpdateOAuthAppResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def DeleteOAuthApp(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/DeleteOAuthApp',
|
|
api__remaining__pb2.DeleteOAuthAppRequest.SerializeToString,
|
|
api__remaining__pb2.DeleteOAuthAppResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetGroup(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetGroup',
|
|
api__remaining__pb2.GetGroupRequest.SerializeToString,
|
|
api__remaining__pb2.GetGroupResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetGroupByName(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetGroupByName',
|
|
api__remaining__pb2.GetGroupByNameRequest.SerializeToString,
|
|
api__remaining__pb2.GetGroupByNameResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetGroupMemberUsers(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetGroupMemberUsers',
|
|
api__remaining__pb2.GetGroupMemberUsersRequest.SerializeToString,
|
|
api__remaining__pb2.GetGroupMemberUsersResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetGroupsBySource(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetGroupsBySource',
|
|
api__remaining__pb2.GetGroupsBySourceRequest.SerializeToString,
|
|
api__remaining__pb2.GetGroupsBySourceResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetGroupsForUser(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetGroupsForUser',
|
|
api__remaining__pb2.GetGroupsForUserRequest.SerializeToString,
|
|
api__remaining__pb2.GetGroupsForUserResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def UpsertGroupMember(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpsertGroupMember',
|
|
api__remaining__pb2.UpsertGroupMemberRequest.SerializeToString,
|
|
api__remaining__pb2.UpsertGroupMemberResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def UpsertGroupMembers(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpsertGroupMembers',
|
|
api__remaining__pb2.UpsertGroupMembersRequest.SerializeToString,
|
|
api__remaining__pb2.UpsertGroupMembersResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetGroupByRemoteID(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetGroupByRemoteID',
|
|
api__remaining__pb2.GetGroupByRemoteIDRequest.SerializeToString,
|
|
api__remaining__pb2.GetGroupByRemoteIDResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def CreateGroup(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/CreateGroup',
|
|
api__remaining__pb2.CreateGroupRequest.SerializeToString,
|
|
api__remaining__pb2.CreateGroupResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def UpdateGroup(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdateGroup',
|
|
api__remaining__pb2.UpdateGroupRequest.SerializeToString,
|
|
api__remaining__pb2.UpdateGroupResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def DeleteGroup(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/DeleteGroup',
|
|
api__remaining__pb2.DeleteGroupRequest.SerializeToString,
|
|
api__remaining__pb2.DeleteGroupResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def RestoreGroup(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/RestoreGroup',
|
|
api__remaining__pb2.RestoreGroupRequest.SerializeToString,
|
|
api__remaining__pb2.RestoreGroupResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def DeleteGroupMember(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/DeleteGroupMember',
|
|
api__remaining__pb2.DeleteGroupMemberRequest.SerializeToString,
|
|
api__remaining__pb2.DeleteGroupMemberResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetGroupSyncable(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetGroupSyncable',
|
|
api__remaining__pb2.GetGroupSyncableRequest.SerializeToString,
|
|
api__remaining__pb2.GetGroupSyncableResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetGroupSyncables(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetGroupSyncables',
|
|
api__remaining__pb2.GetGroupSyncablesRequest.SerializeToString,
|
|
api__remaining__pb2.GetGroupSyncablesResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def UpsertGroupSyncable(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpsertGroupSyncable',
|
|
api__remaining__pb2.UpsertGroupSyncableRequest.SerializeToString,
|
|
api__remaining__pb2.UpsertGroupSyncableResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def UpdateGroupSyncable(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdateGroupSyncable',
|
|
api__remaining__pb2.UpdateGroupSyncableRequest.SerializeToString,
|
|
api__remaining__pb2.UpdateGroupSyncableResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def DeleteGroupSyncable(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/DeleteGroupSyncable',
|
|
api__remaining__pb2.DeleteGroupSyncableRequest.SerializeToString,
|
|
api__remaining__pb2.DeleteGroupSyncableResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetGroups(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetGroups',
|
|
api__remaining__pb2.GetGroupsRequest.SerializeToString,
|
|
api__remaining__pb2.GetGroupsResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def CreateDefaultSyncableMemberships(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/CreateDefaultSyncableMemberships',
|
|
api__remaining__pb2.CreateDefaultSyncableMembershipsRequest.SerializeToString,
|
|
api__remaining__pb2.CreateDefaultSyncableMembershipsResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def DeleteGroupConstrainedMemberships(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/DeleteGroupConstrainedMemberships',
|
|
api__remaining__pb2.DeleteGroupConstrainedMembershipsRequest.SerializeToString,
|
|
api__remaining__pb2.DeleteGroupConstrainedMembershipsResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def RegisterPluginForSharedChannels(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/RegisterPluginForSharedChannels',
|
|
api__remaining__pb2.RegisterPluginForSharedChannelsRequest.SerializeToString,
|
|
api__remaining__pb2.RegisterPluginForSharedChannelsResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def UnregisterPluginForSharedChannels(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/UnregisterPluginForSharedChannels',
|
|
api__remaining__pb2.UnregisterPluginForSharedChannelsRequest.SerializeToString,
|
|
api__remaining__pb2.UnregisterPluginForSharedChannelsResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def ShareChannel(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/ShareChannel',
|
|
api__remaining__pb2.ShareChannelRequest.SerializeToString,
|
|
api__remaining__pb2.ShareChannelResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def UpdateSharedChannel(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdateSharedChannel',
|
|
api__remaining__pb2.UpdateSharedChannelRequest.SerializeToString,
|
|
api__remaining__pb2.UpdateSharedChannelResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def UnshareChannel(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/UnshareChannel',
|
|
api__remaining__pb2.UnshareChannelRequest.SerializeToString,
|
|
api__remaining__pb2.UnshareChannelResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def UpdateSharedChannelCursor(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdateSharedChannelCursor',
|
|
api__remaining__pb2.UpdateSharedChannelCursorRequest.SerializeToString,
|
|
api__remaining__pb2.UpdateSharedChannelCursorResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def SyncSharedChannel(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/SyncSharedChannel',
|
|
api__remaining__pb2.SyncSharedChannelRequest.SerializeToString,
|
|
api__remaining__pb2.SyncSharedChannelResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def InviteRemoteToChannel(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/InviteRemoteToChannel',
|
|
api__remaining__pb2.InviteRemoteToChannelRequest.SerializeToString,
|
|
api__remaining__pb2.InviteRemoteToChannelResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def UninviteRemoteFromChannel(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/UninviteRemoteFromChannel',
|
|
api__remaining__pb2.UninviteRemoteFromChannelRequest.SerializeToString,
|
|
api__remaining__pb2.UninviteRemoteFromChannelResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def CreatePropertyField(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/CreatePropertyField',
|
|
api__remaining__pb2.CreatePropertyFieldRequest.SerializeToString,
|
|
api__remaining__pb2.CreatePropertyFieldResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetPropertyField(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetPropertyField',
|
|
api__remaining__pb2.GetPropertyFieldRequest.SerializeToString,
|
|
api__remaining__pb2.GetPropertyFieldResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetPropertyFields(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetPropertyFields',
|
|
api__remaining__pb2.GetPropertyFieldsRequest.SerializeToString,
|
|
api__remaining__pb2.GetPropertyFieldsResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def UpdatePropertyField(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdatePropertyField',
|
|
api__remaining__pb2.UpdatePropertyFieldRequest.SerializeToString,
|
|
api__remaining__pb2.UpdatePropertyFieldResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def DeletePropertyField(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/DeletePropertyField',
|
|
api__remaining__pb2.DeletePropertyFieldRequest.SerializeToString,
|
|
api__remaining__pb2.DeletePropertyFieldResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def SearchPropertyFields(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/SearchPropertyFields',
|
|
api__remaining__pb2.SearchPropertyFieldsRequest.SerializeToString,
|
|
api__remaining__pb2.SearchPropertyFieldsResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def CountPropertyFields(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/CountPropertyFields',
|
|
api__remaining__pb2.CountPropertyFieldsRequest.SerializeToString,
|
|
api__remaining__pb2.CountPropertyFieldsResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def CountPropertyFieldsForTarget(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/CountPropertyFieldsForTarget',
|
|
api__remaining__pb2.CountPropertyFieldsForTargetRequest.SerializeToString,
|
|
api__remaining__pb2.CountPropertyFieldsForTargetResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def CreatePropertyValue(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/CreatePropertyValue',
|
|
api__remaining__pb2.CreatePropertyValueRequest.SerializeToString,
|
|
api__remaining__pb2.CreatePropertyValueResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetPropertyValue(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetPropertyValue',
|
|
api__remaining__pb2.GetPropertyValueRequest.SerializeToString,
|
|
api__remaining__pb2.GetPropertyValueResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetPropertyValues(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetPropertyValues',
|
|
api__remaining__pb2.GetPropertyValuesRequest.SerializeToString,
|
|
api__remaining__pb2.GetPropertyValuesResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def UpdatePropertyValue(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdatePropertyValue',
|
|
api__remaining__pb2.UpdatePropertyValueRequest.SerializeToString,
|
|
api__remaining__pb2.UpdatePropertyValueResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def UpsertPropertyValue(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpsertPropertyValue',
|
|
api__remaining__pb2.UpsertPropertyValueRequest.SerializeToString,
|
|
api__remaining__pb2.UpsertPropertyValueResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def DeletePropertyValue(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/DeletePropertyValue',
|
|
api__remaining__pb2.DeletePropertyValueRequest.SerializeToString,
|
|
api__remaining__pb2.DeletePropertyValueResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def SearchPropertyValues(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/SearchPropertyValues',
|
|
api__remaining__pb2.SearchPropertyValuesRequest.SerializeToString,
|
|
api__remaining__pb2.SearchPropertyValuesResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def RegisterPropertyGroup(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/RegisterPropertyGroup',
|
|
api__remaining__pb2.RegisterPropertyGroupRequest.SerializeToString,
|
|
api__remaining__pb2.RegisterPropertyGroupResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetPropertyGroup(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetPropertyGroup',
|
|
api__remaining__pb2.GetPropertyGroupRequest.SerializeToString,
|
|
api__remaining__pb2.GetPropertyGroupResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetPropertyFieldByName(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetPropertyFieldByName',
|
|
api__remaining__pb2.GetPropertyFieldByNameRequest.SerializeToString,
|
|
api__remaining__pb2.GetPropertyFieldByNameResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def UpdatePropertyFields(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdatePropertyFields',
|
|
api__remaining__pb2.UpdatePropertyFieldsRequest.SerializeToString,
|
|
api__remaining__pb2.UpdatePropertyFieldsResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def UpdatePropertyValues(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpdatePropertyValues',
|
|
api__remaining__pb2.UpdatePropertyValuesRequest.SerializeToString,
|
|
api__remaining__pb2.UpdatePropertyValuesResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def UpsertPropertyValues(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/UpsertPropertyValues',
|
|
api__remaining__pb2.UpsertPropertyValuesRequest.SerializeToString,
|
|
api__remaining__pb2.UpsertPropertyValuesResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def DeletePropertyValuesForTarget(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/DeletePropertyValuesForTarget',
|
|
api__remaining__pb2.DeletePropertyValuesForTargetRequest.SerializeToString,
|
|
api__remaining__pb2.DeletePropertyValuesForTargetResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def DeletePropertyValuesForField(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/DeletePropertyValuesForField',
|
|
api__remaining__pb2.DeletePropertyValuesForFieldRequest.SerializeToString,
|
|
api__remaining__pb2.DeletePropertyValuesForFieldResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def LogAuditRec(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/LogAuditRec',
|
|
api__remaining__pb2.LogAuditRecRequest.SerializeToString,
|
|
api__remaining__pb2.LogAuditRecResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def LogAuditRecWithLevel(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/LogAuditRecWithLevel',
|
|
api__remaining__pb2.LogAuditRecWithLevelRequest.SerializeToString,
|
|
api__remaining__pb2.LogAuditRecWithLevelResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def PluginHTTP(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/PluginHTTP',
|
|
api__remaining__pb2.PluginHTTPRequest.SerializeToString,
|
|
api__remaining__pb2.PluginHTTPResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def GetCloudLimits(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/GetCloudLimits',
|
|
api__remaining__pb2.GetCloudLimitsRequest.SerializeToString,
|
|
api__remaining__pb2.GetCloudLimitsResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def OpenInteractiveDialog(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/OpenInteractiveDialog',
|
|
api__remaining__pb2.OpenInteractiveDialogRequest.SerializeToString,
|
|
api__remaining__pb2.OpenInteractiveDialogResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def PublishPluginClusterEvent(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/PublishPluginClusterEvent',
|
|
api__remaining__pb2.PublishPluginClusterEventRequest.SerializeToString,
|
|
api__remaining__pb2.PublishPluginClusterEventResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def RegisterCollectionAndTopic(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/RegisterCollectionAndTopic',
|
|
api__remaining__pb2.RegisterCollectionAndTopicRequest.SerializeToString,
|
|
api__remaining__pb2.RegisterCollectionAndTopicResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def RequestTrialLicense(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/RequestTrialLicense',
|
|
api__remaining__pb2.RequestTrialLicenseRequest.SerializeToString,
|
|
api__remaining__pb2.RequestTrialLicenseResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def RolesGrantPermission(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/RolesGrantPermission',
|
|
api__remaining__pb2.RolesGrantPermissionRequest.SerializeToString,
|
|
api__remaining__pb2.RolesGrantPermissionResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def SendMail(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/SendMail',
|
|
api__remaining__pb2.SendMailRequest.SerializeToString,
|
|
api__remaining__pb2.SendMailResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|
|
|
|
@staticmethod
|
|
def SendPushNotification(request,
|
|
target,
|
|
options=(),
|
|
channel_credentials=None,
|
|
call_credentials=None,
|
|
insecure=False,
|
|
compression=None,
|
|
wait_for_ready=None,
|
|
timeout=None,
|
|
metadata=None):
|
|
return grpc.experimental.unary_unary(
|
|
request,
|
|
target,
|
|
'/mattermost.pluginapi.v1.PluginAPI/SendPushNotification',
|
|
api__remaining__pb2.SendPushNotificationRequest.SerializeToString,
|
|
api__remaining__pb2.SendPushNotificationResponse.FromString,
|
|
options,
|
|
channel_credentials,
|
|
insecure,
|
|
call_credentials,
|
|
compression,
|
|
wait_for_ready,
|
|
timeout,
|
|
metadata,
|
|
_registered_method=True)
|