Documentation
¶
Index ¶
- Variables
- func RegisterNotificationServiceServer(s *grpc.Server, srv NotificationServiceServer)
- type Action
- func (*Action) Descriptor() ([]byte, []int)deprecated
- func (x *Action) GetAction() string
- func (x *Action) GetIsPrimary() bool
- func (x *Action) GetName() string
- func (*Action) ProtoMessage()
- func (x *Action) ProtoReflect() protoreflect.Message
- func (x *Action) Reset()
- func (x *Action) String() string
- type GetNotificationsRequest
- func (*GetNotificationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetNotificationsRequest) GetNotificationIds() []string
- func (*GetNotificationsRequest) ProtoMessage()
- func (x *GetNotificationsRequest) ProtoReflect() protoreflect.Message
- func (x *GetNotificationsRequest) Reset()
- func (x *GetNotificationsRequest) String() string
- type GetNotificationsResponse
- func (*GetNotificationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetNotificationsResponse) GetNotifications() []*Notification
- func (*GetNotificationsResponse) ProtoMessage()
- func (x *GetNotificationsResponse) ProtoReflect() protoreflect.Message
- func (x *GetNotificationsResponse) Reset()
- func (x *GetNotificationsResponse) String() string
- type GetUserNotificationRequest
- func (*GetUserNotificationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserNotificationRequest) GetCategory() string
- func (x *GetUserNotificationRequest) GetPagination() *generalpb.Pagination
- func (x *GetUserNotificationRequest) GetUserId() string
- func (*GetUserNotificationRequest) ProtoMessage()
- func (x *GetUserNotificationRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserNotificationRequest) Reset()
- func (x *GetUserNotificationRequest) String() string
- type GetUserNotificationResponse
- func (*GetUserNotificationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserNotificationResponse) GetConnection() []*UserNotificationConnection
- func (*GetUserNotificationResponse) ProtoMessage()
- func (x *GetUserNotificationResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserNotificationResponse) Reset()
- func (x *GetUserNotificationResponse) String() string
- type MarNotificationAsActedRequest
- func (*MarNotificationAsActedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MarNotificationAsActedRequest) GetAction() string
- func (x *MarNotificationAsActedRequest) GetNotificationId() string
- func (x *MarNotificationAsActedRequest) GetUserId() string
- func (*MarNotificationAsActedRequest) ProtoMessage()
- func (x *MarNotificationAsActedRequest) ProtoReflect() protoreflect.Message
- func (x *MarNotificationAsActedRequest) Reset()
- func (x *MarNotificationAsActedRequest) String() string
- type MarNotificationAsReadRequest
- func (*MarNotificationAsReadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MarNotificationAsReadRequest) GetNotificationId() string
- func (x *MarNotificationAsReadRequest) GetUserId() string
- func (*MarNotificationAsReadRequest) ProtoMessage()
- func (x *MarNotificationAsReadRequest) ProtoReflect() protoreflect.Message
- func (x *MarNotificationAsReadRequest) Reset()
- func (x *MarNotificationAsReadRequest) String() string
- type Notification
- func (*Notification) Descriptor() ([]byte, []int)deprecated
- func (x *Notification) GetActions() []*Action
- func (x *Notification) GetAvatar() string
- func (x *Notification) GetAvatarType() string
- func (x *Notification) GetBody() string
- func (x *Notification) GetCreated() *timestamp.Timestamp
- func (x *Notification) GetData() []byte
- func (x *Notification) GetId() string
- func (x *Notification) GetTitle() string
- func (x *Notification) GetTopic() string
- func (*Notification) ProtoMessage()
- func (x *Notification) ProtoReflect() protoreflect.Message
- func (x *Notification) Reset()
- func (x *Notification) String() string
- type NotificationServiceClient
- type NotificationServiceServer
- type ResetNotificationCounterRequest
- func (*ResetNotificationCounterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResetNotificationCounterRequest) GetUserId() string
- func (*ResetNotificationCounterRequest) ProtoMessage()
- func (x *ResetNotificationCounterRequest) ProtoReflect() protoreflect.Message
- func (x *ResetNotificationCounterRequest) Reset()
- func (x *ResetNotificationCounterRequest) String() string
- type SendEmailVerificationRequest
- func (*SendEmailVerificationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendEmailVerificationRequest) GetCode() string
- func (x *SendEmailVerificationRequest) GetEmail() string
- func (*SendEmailVerificationRequest) ProtoMessage()
- func (x *SendEmailVerificationRequest) ProtoReflect() protoreflect.Message
- func (x *SendEmailVerificationRequest) Reset()
- func (x *SendEmailVerificationRequest) String() string
- type SendPasswordForgotEmailRequest
- func (*SendPasswordForgotEmailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendPasswordForgotEmailRequest) GetEmail() string
- func (x *SendPasswordForgotEmailRequest) GetFirstName() string
- func (x *SendPasswordForgotEmailRequest) GetToken() string
- func (*SendPasswordForgotEmailRequest) ProtoMessage()
- func (x *SendPasswordForgotEmailRequest) ProtoReflect() protoreflect.Message
- func (x *SendPasswordForgotEmailRequest) Reset()
- func (x *SendPasswordForgotEmailRequest) String() string
- type SendSMSVerificationRequest
- func (*SendSMSVerificationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendSMSVerificationRequest) GetCode() string
- func (x *SendSMSVerificationRequest) GetPhoneNumber() string
- func (*SendSMSVerificationRequest) ProtoMessage()
- func (x *SendSMSVerificationRequest) ProtoReflect() protoreflect.Message
- func (x *SendSMSVerificationRequest) Reset()
- func (x *SendSMSVerificationRequest) String() string
- type UnimplementedNotificationServiceServer
- func (*UnimplementedNotificationServiceServer) GetNotifications(context.Context, *GetNotificationsRequest) (*GetNotificationsResponse, error)
- func (*UnimplementedNotificationServiceServer) GetUserNotifications(context.Context, *GetUserNotificationRequest) (*GetUserNotificationResponse, error)
- func (*UnimplementedNotificationServiceServer) MarNotificationAsRead(context.Context, *MarNotificationAsReadRequest) (*empty.Empty, error)
- func (*UnimplementedNotificationServiceServer) ResetNotificationCounter(context.Context, *ResetNotificationCounterRequest) (*empty.Empty, error)
- func (*UnimplementedNotificationServiceServer) RunNotificationAction(context.Context, *MarNotificationAsActedRequest) (*empty.Empty, error)
- func (*UnimplementedNotificationServiceServer) SendEmailVerification(context.Context, *SendEmailVerificationRequest) (*empty.Empty, error)
- func (*UnimplementedNotificationServiceServer) SendPasswordForgotEmail(context.Context, *SendPasswordForgotEmailRequest) (*empty.Empty, error)
- func (*UnimplementedNotificationServiceServer) SendSMSVerification(context.Context, *SendSMSVerificationRequest) (*empty.Empty, error)
- func (*UnimplementedNotificationServiceServer) UpdateFirebaseToken(context.Context, *UpdateFirebaseTokenRequest) (*empty.Empty, error)
- type UpdateFirebaseTokenRequest
- func (*UpdateFirebaseTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateFirebaseTokenRequest) GetToken() string
- func (x *UpdateFirebaseTokenRequest) GetUserId() string
- func (*UpdateFirebaseTokenRequest) ProtoMessage()
- func (x *UpdateFirebaseTokenRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateFirebaseTokenRequest) Reset()
- func (x *UpdateFirebaseTokenRequest) String() string
- type UserNotificationConnection
- func (*UserNotificationConnection) Descriptor() ([]byte, []int)deprecated
- func (x *UserNotificationConnection) GetCursor() string
- func (x *UserNotificationConnection) GetNotificationId() string
- func (x *UserNotificationConnection) GetRead() bool
- func (*UserNotificationConnection) ProtoMessage()
- func (x *UserNotificationConnection) ProtoReflect() protoreflect.Message
- func (x *UserNotificationConnection) Reset()
- func (x *UserNotificationConnection) String() string
Constants ¶
This section is empty.
Variables ¶
var File_api_protobuf_spec_notification_notification_v1_proto protoreflect.FileDescriptor
Functions ¶
func RegisterNotificationServiceServer ¶
func RegisterNotificationServiceServer(s *grpc.Server, srv NotificationServiceServer)
Types ¶
type Action ¶ added in v0.16.4
type Action struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"` IsPrimary bool `protobuf:"varint,3,opt,name=isPrimary,proto3" json:"isPrimary,omitempty"` // contains filtered or unexported fields }
func (*Action) Descriptor
deprecated
added in
v0.16.4
func (*Action) GetIsPrimary ¶ added in v1.6.1
func (*Action) ProtoMessage ¶ added in v0.16.4
func (*Action) ProtoMessage()
func (*Action) ProtoReflect ¶ added in v0.16.4
func (x *Action) ProtoReflect() protoreflect.Message
type GetNotificationsRequest ¶ added in v0.16.1
type GetNotificationsRequest struct { NotificationIds []string `protobuf:"bytes,1,rep,name=notification_ids,json=notificationIds,proto3" json:"notification_ids,omitempty"` // contains filtered or unexported fields }
func (*GetNotificationsRequest) Descriptor
deprecated
added in
v0.16.1
func (*GetNotificationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNotificationsRequest.ProtoReflect.Descriptor instead.
func (*GetNotificationsRequest) GetNotificationIds ¶ added in v0.16.1
func (x *GetNotificationsRequest) GetNotificationIds() []string
func (*GetNotificationsRequest) ProtoMessage ¶ added in v0.16.1
func (*GetNotificationsRequest) ProtoMessage()
func (*GetNotificationsRequest) ProtoReflect ¶ added in v0.16.1
func (x *GetNotificationsRequest) ProtoReflect() protoreflect.Message
func (*GetNotificationsRequest) Reset ¶ added in v0.16.1
func (x *GetNotificationsRequest) Reset()
func (*GetNotificationsRequest) String ¶ added in v0.16.1
func (x *GetNotificationsRequest) String() string
type GetNotificationsResponse ¶ added in v0.16.1
type GetNotificationsResponse struct { Notifications []*Notification `protobuf:"bytes,1,rep,name=notifications,proto3" json:"notifications,omitempty"` // contains filtered or unexported fields }
func (*GetNotificationsResponse) Descriptor
deprecated
added in
v0.16.1
func (*GetNotificationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetNotificationsResponse.ProtoReflect.Descriptor instead.
func (*GetNotificationsResponse) GetNotifications ¶ added in v0.16.1
func (x *GetNotificationsResponse) GetNotifications() []*Notification
func (*GetNotificationsResponse) ProtoMessage ¶ added in v0.16.1
func (*GetNotificationsResponse) ProtoMessage()
func (*GetNotificationsResponse) ProtoReflect ¶ added in v0.16.1
func (x *GetNotificationsResponse) ProtoReflect() protoreflect.Message
func (*GetNotificationsResponse) Reset ¶ added in v0.16.1
func (x *GetNotificationsResponse) Reset()
func (*GetNotificationsResponse) String ¶ added in v0.16.1
func (x *GetNotificationsResponse) String() string
type GetUserNotificationRequest ¶ added in v0.16.1
type GetUserNotificationRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Category string `protobuf:"bytes,2,opt,name=category,proto3" json:"category,omitempty"` Pagination *generalpb.Pagination `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
func (*GetUserNotificationRequest) Descriptor
deprecated
added in
v0.16.1
func (*GetUserNotificationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserNotificationRequest.ProtoReflect.Descriptor instead.
func (*GetUserNotificationRequest) GetCategory ¶ added in v1.31.1
func (x *GetUserNotificationRequest) GetCategory() string
func (*GetUserNotificationRequest) GetPagination ¶ added in v1.32.0
func (x *GetUserNotificationRequest) GetPagination() *generalpb.Pagination
func (*GetUserNotificationRequest) GetUserId ¶ added in v0.16.1
func (x *GetUserNotificationRequest) GetUserId() string
func (*GetUserNotificationRequest) ProtoMessage ¶ added in v0.16.1
func (*GetUserNotificationRequest) ProtoMessage()
func (*GetUserNotificationRequest) ProtoReflect ¶ added in v0.16.1
func (x *GetUserNotificationRequest) ProtoReflect() protoreflect.Message
func (*GetUserNotificationRequest) Reset ¶ added in v0.16.1
func (x *GetUserNotificationRequest) Reset()
func (*GetUserNotificationRequest) String ¶ added in v0.16.1
func (x *GetUserNotificationRequest) String() string
type GetUserNotificationResponse ¶ added in v0.16.1
type GetUserNotificationResponse struct { Connection []*UserNotificationConnection `protobuf:"bytes,1,rep,name=connection,proto3" json:"connection,omitempty"` // contains filtered or unexported fields }
func (*GetUserNotificationResponse) Descriptor
deprecated
added in
v0.16.1
func (*GetUserNotificationResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserNotificationResponse.ProtoReflect.Descriptor instead.
func (*GetUserNotificationResponse) GetConnection ¶ added in v0.17.0
func (x *GetUserNotificationResponse) GetConnection() []*UserNotificationConnection
func (*GetUserNotificationResponse) ProtoMessage ¶ added in v0.16.1
func (*GetUserNotificationResponse) ProtoMessage()
func (*GetUserNotificationResponse) ProtoReflect ¶ added in v0.16.1
func (x *GetUserNotificationResponse) ProtoReflect() protoreflect.Message
func (*GetUserNotificationResponse) Reset ¶ added in v0.16.1
func (x *GetUserNotificationResponse) Reset()
func (*GetUserNotificationResponse) String ¶ added in v0.16.1
func (x *GetUserNotificationResponse) String() string
type MarNotificationAsActedRequest ¶ added in v0.16.1
type MarNotificationAsActedRequest struct { NotificationId string `protobuf:"bytes,1,opt,name=notification_id,json=notificationId,proto3" json:"notification_id,omitempty"` Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"` UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*MarNotificationAsActedRequest) Descriptor
deprecated
added in
v0.16.1
func (*MarNotificationAsActedRequest) Descriptor() ([]byte, []int)
Deprecated: Use MarNotificationAsActedRequest.ProtoReflect.Descriptor instead.
func (*MarNotificationAsActedRequest) GetAction ¶ added in v0.16.2
func (x *MarNotificationAsActedRequest) GetAction() string
func (*MarNotificationAsActedRequest) GetNotificationId ¶ added in v0.16.1
func (x *MarNotificationAsActedRequest) GetNotificationId() string
func (*MarNotificationAsActedRequest) GetUserId ¶ added in v0.17.0
func (x *MarNotificationAsActedRequest) GetUserId() string
func (*MarNotificationAsActedRequest) ProtoMessage ¶ added in v0.16.1
func (*MarNotificationAsActedRequest) ProtoMessage()
func (*MarNotificationAsActedRequest) ProtoReflect ¶ added in v0.16.1
func (x *MarNotificationAsActedRequest) ProtoReflect() protoreflect.Message
func (*MarNotificationAsActedRequest) Reset ¶ added in v0.16.1
func (x *MarNotificationAsActedRequest) Reset()
func (*MarNotificationAsActedRequest) String ¶ added in v0.16.1
func (x *MarNotificationAsActedRequest) String() string
type MarNotificationAsReadRequest ¶ added in v0.16.1
type MarNotificationAsReadRequest struct { NotificationId string `protobuf:"bytes,1,opt,name=notification_id,json=notificationId,proto3" json:"notification_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*MarNotificationAsReadRequest) Descriptor
deprecated
added in
v0.16.1
func (*MarNotificationAsReadRequest) Descriptor() ([]byte, []int)
Deprecated: Use MarNotificationAsReadRequest.ProtoReflect.Descriptor instead.
func (*MarNotificationAsReadRequest) GetNotificationId ¶ added in v0.16.1
func (x *MarNotificationAsReadRequest) GetNotificationId() string
func (*MarNotificationAsReadRequest) GetUserId ¶ added in v0.17.0
func (x *MarNotificationAsReadRequest) GetUserId() string
func (*MarNotificationAsReadRequest) ProtoMessage ¶ added in v0.16.1
func (*MarNotificationAsReadRequest) ProtoMessage()
func (*MarNotificationAsReadRequest) ProtoReflect ¶ added in v0.16.1
func (x *MarNotificationAsReadRequest) ProtoReflect() protoreflect.Message
func (*MarNotificationAsReadRequest) Reset ¶ added in v0.16.1
func (x *MarNotificationAsReadRequest) Reset()
func (*MarNotificationAsReadRequest) String ¶ added in v0.16.1
func (x *MarNotificationAsReadRequest) String() string
type Notification ¶ added in v0.16.1
type Notification struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Avatar string `protobuf:"bytes,2,opt,name=avatar,proto3" json:"avatar,omitempty"` AvatarType string `protobuf:"bytes,3,opt,name=avatar_type,json=avatarType,proto3" json:"avatar_type,omitempty"` Body string `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"` Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"` Data []byte `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"` Topic string `protobuf:"bytes,7,opt,name=topic,proto3" json:"topic,omitempty"` Actions []*Action `protobuf:"bytes,9,rep,name=actions,proto3" json:"actions,omitempty"` Created *timestamp.Timestamp `protobuf:"bytes,10,opt,name=created,proto3" json:"created,omitempty"` // contains filtered or unexported fields }
func (*Notification) Descriptor
deprecated
added in
v0.16.1
func (*Notification) Descriptor() ([]byte, []int)
Deprecated: Use Notification.ProtoReflect.Descriptor instead.
func (*Notification) GetActions ¶ added in v0.16.4
func (x *Notification) GetActions() []*Action
func (*Notification) GetAvatar ¶ added in v0.16.1
func (x *Notification) GetAvatar() string
func (*Notification) GetAvatarType ¶ added in v0.16.1
func (x *Notification) GetAvatarType() string
func (*Notification) GetBody ¶ added in v0.16.1
func (x *Notification) GetBody() string
func (*Notification) GetCreated ¶ added in v0.17.0
func (x *Notification) GetCreated() *timestamp.Timestamp
func (*Notification) GetData ¶ added in v0.16.1
func (x *Notification) GetData() []byte
func (*Notification) GetId ¶ added in v0.16.1
func (x *Notification) GetId() string
func (*Notification) GetTitle ¶ added in v0.16.1
func (x *Notification) GetTitle() string
func (*Notification) GetTopic ¶ added in v0.16.1
func (x *Notification) GetTopic() string
func (*Notification) ProtoMessage ¶ added in v0.16.1
func (*Notification) ProtoMessage()
func (*Notification) ProtoReflect ¶ added in v0.16.1
func (x *Notification) ProtoReflect() protoreflect.Message
func (*Notification) Reset ¶ added in v0.16.1
func (x *Notification) Reset()
func (*Notification) String ¶ added in v0.16.1
func (x *Notification) String() string
type NotificationServiceClient ¶
type NotificationServiceClient interface { ResetNotificationCounter(ctx context.Context, in *ResetNotificationCounterRequest, opts ...grpc.CallOption) (*empty.Empty, error) SendPasswordForgotEmail(ctx context.Context, in *SendPasswordForgotEmailRequest, opts ...grpc.CallOption) (*empty.Empty, error) SendEmailVerification(ctx context.Context, in *SendEmailVerificationRequest, opts ...grpc.CallOption) (*empty.Empty, error) SendSMSVerification(ctx context.Context, in *SendSMSVerificationRequest, opts ...grpc.CallOption) (*empty.Empty, error) UpdateFirebaseToken(ctx context.Context, in *UpdateFirebaseTokenRequest, opts ...grpc.CallOption) (*empty.Empty, error) GetUserNotifications(ctx context.Context, in *GetUserNotificationRequest, opts ...grpc.CallOption) (*GetUserNotificationResponse, error) GetNotifications(ctx context.Context, in *GetNotificationsRequest, opts ...grpc.CallOption) (*GetNotificationsResponse, error) MarNotificationAsRead(ctx context.Context, in *MarNotificationAsReadRequest, opts ...grpc.CallOption) (*empty.Empty, error) RunNotificationAction(ctx context.Context, in *MarNotificationAsActedRequest, opts ...grpc.CallOption) (*empty.Empty, error) }
NotificationServiceClient is the client API for NotificationService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewNotificationServiceClient ¶
func NewNotificationServiceClient(cc grpc.ClientConnInterface) NotificationServiceClient
type NotificationServiceServer ¶
type NotificationServiceServer interface { ResetNotificationCounter(context.Context, *ResetNotificationCounterRequest) (*empty.Empty, error) SendPasswordForgotEmail(context.Context, *SendPasswordForgotEmailRequest) (*empty.Empty, error) SendEmailVerification(context.Context, *SendEmailVerificationRequest) (*empty.Empty, error) SendSMSVerification(context.Context, *SendSMSVerificationRequest) (*empty.Empty, error) UpdateFirebaseToken(context.Context, *UpdateFirebaseTokenRequest) (*empty.Empty, error) GetUserNotifications(context.Context, *GetUserNotificationRequest) (*GetUserNotificationResponse, error) GetNotifications(context.Context, *GetNotificationsRequest) (*GetNotificationsResponse, error) MarNotificationAsRead(context.Context, *MarNotificationAsReadRequest) (*empty.Empty, error) RunNotificationAction(context.Context, *MarNotificationAsActedRequest) (*empty.Empty, error) }
NotificationServiceServer is the server API for NotificationService service.
type ResetNotificationCounterRequest ¶ added in v1.35.0
type ResetNotificationCounterRequest struct { UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*ResetNotificationCounterRequest) Descriptor
deprecated
added in
v1.35.0
func (*ResetNotificationCounterRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResetNotificationCounterRequest.ProtoReflect.Descriptor instead.
func (*ResetNotificationCounterRequest) GetUserId ¶ added in v1.35.0
func (x *ResetNotificationCounterRequest) GetUserId() string
func (*ResetNotificationCounterRequest) ProtoMessage ¶ added in v1.35.0
func (*ResetNotificationCounterRequest) ProtoMessage()
func (*ResetNotificationCounterRequest) ProtoReflect ¶ added in v1.35.0
func (x *ResetNotificationCounterRequest) ProtoReflect() protoreflect.Message
func (*ResetNotificationCounterRequest) Reset ¶ added in v1.35.0
func (x *ResetNotificationCounterRequest) Reset()
func (*ResetNotificationCounterRequest) String ¶ added in v1.35.0
func (x *ResetNotificationCounterRequest) String() string
type SendEmailVerificationRequest ¶
type SendEmailVerificationRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` // contains filtered or unexported fields }
func (*SendEmailVerificationRequest) Descriptor
deprecated
func (*SendEmailVerificationRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendEmailVerificationRequest.ProtoReflect.Descriptor instead.
func (*SendEmailVerificationRequest) GetCode ¶
func (x *SendEmailVerificationRequest) GetCode() string
func (*SendEmailVerificationRequest) GetEmail ¶
func (x *SendEmailVerificationRequest) GetEmail() string
func (*SendEmailVerificationRequest) ProtoMessage ¶
func (*SendEmailVerificationRequest) ProtoMessage()
func (*SendEmailVerificationRequest) ProtoReflect ¶
func (x *SendEmailVerificationRequest) ProtoReflect() protoreflect.Message
func (*SendEmailVerificationRequest) Reset ¶
func (x *SendEmailVerificationRequest) Reset()
func (*SendEmailVerificationRequest) String ¶
func (x *SendEmailVerificationRequest) String() string
type SendPasswordForgotEmailRequest ¶ added in v1.43.0
type SendPasswordForgotEmailRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` FirstName string `protobuf:"bytes,3,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"` // contains filtered or unexported fields }
func (*SendPasswordForgotEmailRequest) Descriptor
deprecated
added in
v1.43.0
func (*SendPasswordForgotEmailRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendPasswordForgotEmailRequest.ProtoReflect.Descriptor instead.
func (*SendPasswordForgotEmailRequest) GetEmail ¶ added in v1.43.0
func (x *SendPasswordForgotEmailRequest) GetEmail() string
func (*SendPasswordForgotEmailRequest) GetFirstName ¶ added in v1.46.0
func (x *SendPasswordForgotEmailRequest) GetFirstName() string
func (*SendPasswordForgotEmailRequest) GetToken ¶ added in v1.43.0
func (x *SendPasswordForgotEmailRequest) GetToken() string
func (*SendPasswordForgotEmailRequest) ProtoMessage ¶ added in v1.43.0
func (*SendPasswordForgotEmailRequest) ProtoMessage()
func (*SendPasswordForgotEmailRequest) ProtoReflect ¶ added in v1.43.0
func (x *SendPasswordForgotEmailRequest) ProtoReflect() protoreflect.Message
func (*SendPasswordForgotEmailRequest) Reset ¶ added in v1.43.0
func (x *SendPasswordForgotEmailRequest) Reset()
func (*SendPasswordForgotEmailRequest) String ¶ added in v1.43.0
func (x *SendPasswordForgotEmailRequest) String() string
type SendSMSVerificationRequest ¶
type SendSMSVerificationRequest struct { PhoneNumber string `protobuf:"bytes,1,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` // contains filtered or unexported fields }
func (*SendSMSVerificationRequest) Descriptor
deprecated
func (*SendSMSVerificationRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendSMSVerificationRequest.ProtoReflect.Descriptor instead.
func (*SendSMSVerificationRequest) GetCode ¶
func (x *SendSMSVerificationRequest) GetCode() string
func (*SendSMSVerificationRequest) GetPhoneNumber ¶
func (x *SendSMSVerificationRequest) GetPhoneNumber() string
func (*SendSMSVerificationRequest) ProtoMessage ¶
func (*SendSMSVerificationRequest) ProtoMessage()
func (*SendSMSVerificationRequest) ProtoReflect ¶
func (x *SendSMSVerificationRequest) ProtoReflect() protoreflect.Message
func (*SendSMSVerificationRequest) Reset ¶
func (x *SendSMSVerificationRequest) Reset()
func (*SendSMSVerificationRequest) String ¶
func (x *SendSMSVerificationRequest) String() string
type UnimplementedNotificationServiceServer ¶
type UnimplementedNotificationServiceServer struct { }
UnimplementedNotificationServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedNotificationServiceServer) GetNotifications ¶ added in v0.16.1
func (*UnimplementedNotificationServiceServer) GetNotifications(context.Context, *GetNotificationsRequest) (*GetNotificationsResponse, error)
func (*UnimplementedNotificationServiceServer) GetUserNotifications ¶ added in v0.16.1
func (*UnimplementedNotificationServiceServer) GetUserNotifications(context.Context, *GetUserNotificationRequest) (*GetUserNotificationResponse, error)
func (*UnimplementedNotificationServiceServer) MarNotificationAsRead ¶ added in v0.16.1
func (*UnimplementedNotificationServiceServer) MarNotificationAsRead(context.Context, *MarNotificationAsReadRequest) (*empty.Empty, error)
func (*UnimplementedNotificationServiceServer) ResetNotificationCounter ¶ added in v1.35.0
func (*UnimplementedNotificationServiceServer) ResetNotificationCounter(context.Context, *ResetNotificationCounterRequest) (*empty.Empty, error)
func (*UnimplementedNotificationServiceServer) RunNotificationAction ¶ added in v0.16.2
func (*UnimplementedNotificationServiceServer) RunNotificationAction(context.Context, *MarNotificationAsActedRequest) (*empty.Empty, error)
func (*UnimplementedNotificationServiceServer) SendEmailVerification ¶
func (*UnimplementedNotificationServiceServer) SendEmailVerification(context.Context, *SendEmailVerificationRequest) (*empty.Empty, error)
func (*UnimplementedNotificationServiceServer) SendPasswordForgotEmail ¶ added in v1.43.0
func (*UnimplementedNotificationServiceServer) SendPasswordForgotEmail(context.Context, *SendPasswordForgotEmailRequest) (*empty.Empty, error)
func (*UnimplementedNotificationServiceServer) SendSMSVerification ¶
func (*UnimplementedNotificationServiceServer) SendSMSVerification(context.Context, *SendSMSVerificationRequest) (*empty.Empty, error)
func (*UnimplementedNotificationServiceServer) UpdateFirebaseToken ¶ added in v0.13.0
func (*UnimplementedNotificationServiceServer) UpdateFirebaseToken(context.Context, *UpdateFirebaseTokenRequest) (*empty.Empty, error)
type UpdateFirebaseTokenRequest ¶ added in v0.13.0
type UpdateFirebaseTokenRequest struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*UpdateFirebaseTokenRequest) Descriptor
deprecated
added in
v0.13.0
func (*UpdateFirebaseTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateFirebaseTokenRequest.ProtoReflect.Descriptor instead.
func (*UpdateFirebaseTokenRequest) GetToken ¶ added in v0.13.0
func (x *UpdateFirebaseTokenRequest) GetToken() string
func (*UpdateFirebaseTokenRequest) GetUserId ¶ added in v0.13.0
func (x *UpdateFirebaseTokenRequest) GetUserId() string
func (*UpdateFirebaseTokenRequest) ProtoMessage ¶ added in v0.13.0
func (*UpdateFirebaseTokenRequest) ProtoMessage()
func (*UpdateFirebaseTokenRequest) ProtoReflect ¶ added in v0.13.0
func (x *UpdateFirebaseTokenRequest) ProtoReflect() protoreflect.Message
func (*UpdateFirebaseTokenRequest) Reset ¶ added in v0.13.0
func (x *UpdateFirebaseTokenRequest) Reset()
func (*UpdateFirebaseTokenRequest) String ¶ added in v0.13.0
func (x *UpdateFirebaseTokenRequest) String() string
type UserNotificationConnection ¶ added in v0.17.0
type UserNotificationConnection struct { Read bool `protobuf:"varint,1,opt,name=read,proto3" json:"read,omitempty"` NotificationId string `protobuf:"bytes,2,opt,name=notification_id,json=notificationId,proto3" json:"notification_id,omitempty"` Cursor string `protobuf:"bytes,3,opt,name=cursor,proto3" json:"cursor,omitempty"` // contains filtered or unexported fields }
func (*UserNotificationConnection) Descriptor
deprecated
added in
v0.17.0
func (*UserNotificationConnection) Descriptor() ([]byte, []int)
Deprecated: Use UserNotificationConnection.ProtoReflect.Descriptor instead.
func (*UserNotificationConnection) GetCursor ¶ added in v1.32.1
func (x *UserNotificationConnection) GetCursor() string
func (*UserNotificationConnection) GetNotificationId ¶ added in v0.17.0
func (x *UserNotificationConnection) GetNotificationId() string
func (*UserNotificationConnection) GetRead ¶ added in v0.17.0
func (x *UserNotificationConnection) GetRead() bool
func (*UserNotificationConnection) ProtoMessage ¶ added in v0.17.0
func (*UserNotificationConnection) ProtoMessage()
func (*UserNotificationConnection) ProtoReflect ¶ added in v0.17.0
func (x *UserNotificationConnection) ProtoReflect() protoreflect.Message
func (*UserNotificationConnection) Reset ¶ added in v0.17.0
func (x *UserNotificationConnection) Reset()
func (*UserNotificationConnection) String ¶ added in v0.17.0
func (x *UserNotificationConnection) String() string