2024-08-24 15:14:35 +00:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
// versions:
|
2025-03-02 13:45:50 +00:00
|
|
|
// protoc-gen-go v1.36.1
|
2024-08-24 15:14:35 +00:00
|
|
|
// protoc v3.19.4
|
2024-08-25 14:03:49 +00:00
|
|
|
// source: generate/protobuf/notification.proto
|
2024-08-24 15:14:35 +00:00
|
|
|
|
|
|
|
package notification
|
|
|
|
|
|
|
|
import (
|
|
|
|
reflect "reflect"
|
|
|
|
sync "sync"
|
2025-03-02 13:45:50 +00:00
|
|
|
|
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
2024-08-24 15:14:35 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
const (
|
|
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
|
|
)
|
|
|
|
|
|
|
|
// OKResp
|
|
|
|
type OKResp struct {
|
2025-03-02 13:45:50 +00:00
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
2024-08-24 15:14:35 +00:00
|
|
|
unknownFields protoimpl.UnknownFields
|
2025-03-02 13:45:50 +00:00
|
|
|
sizeCache protoimpl.SizeCache
|
2024-08-24 15:14:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *OKResp) Reset() {
|
|
|
|
*x = OKResp{}
|
2025-03-02 13:45:50 +00:00
|
|
|
mi := &file_generate_protobuf_notification_proto_msgTypes[0]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
2024-08-24 15:14:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *OKResp) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*OKResp) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *OKResp) ProtoReflect() protoreflect.Message {
|
2024-08-26 01:46:17 +00:00
|
|
|
mi := &file_generate_protobuf_notification_proto_msgTypes[0]
|
2025-03-02 13:45:50 +00:00
|
|
|
if x != nil {
|
2024-08-24 15:14:35 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use OKResp.ProtoReflect.Descriptor instead.
|
|
|
|
func (*OKResp) Descriptor() ([]byte, []int) {
|
2024-08-26 01:46:17 +00:00
|
|
|
return file_generate_protobuf_notification_proto_rawDescGZIP(), []int{0}
|
2024-08-24 15:14:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// NoneReq
|
|
|
|
type NoneReq struct {
|
2025-03-02 13:45:50 +00:00
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
2024-08-24 15:14:35 +00:00
|
|
|
unknownFields protoimpl.UnknownFields
|
2025-03-02 13:45:50 +00:00
|
|
|
sizeCache protoimpl.SizeCache
|
2024-08-24 15:14:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *NoneReq) Reset() {
|
|
|
|
*x = NoneReq{}
|
2025-03-02 13:45:50 +00:00
|
|
|
mi := &file_generate_protobuf_notification_proto_msgTypes[1]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
2024-08-24 15:14:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *NoneReq) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*NoneReq) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *NoneReq) ProtoReflect() protoreflect.Message {
|
2024-08-26 01:46:17 +00:00
|
|
|
mi := &file_generate_protobuf_notification_proto_msgTypes[1]
|
2025-03-02 13:45:50 +00:00
|
|
|
if x != nil {
|
2024-08-24 15:14:35 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use NoneReq.ProtoReflect.Descriptor instead.
|
|
|
|
func (*NoneReq) Descriptor() ([]byte, []int) {
|
2024-08-26 01:46:17 +00:00
|
|
|
return file_generate_protobuf_notification_proto_rawDescGZIP(), []int{1}
|
2024-08-24 15:14:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type SendMailReq struct {
|
2025-03-02 13:45:50 +00:00
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
To string `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"`
|
|
|
|
Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
|
|
|
|
Body string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
|
|
|
|
From string `protobuf:"bytes,4,opt,name=from,proto3" json:"from,omitempty"`
|
2024-08-24 15:14:35 +00:00
|
|
|
unknownFields protoimpl.UnknownFields
|
2025-03-02 13:45:50 +00:00
|
|
|
sizeCache protoimpl.SizeCache
|
2024-08-24 15:14:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SendMailReq) Reset() {
|
|
|
|
*x = SendMailReq{}
|
2025-03-02 13:45:50 +00:00
|
|
|
mi := &file_generate_protobuf_notification_proto_msgTypes[2]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
2024-08-24 15:14:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SendMailReq) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*SendMailReq) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *SendMailReq) ProtoReflect() protoreflect.Message {
|
2024-08-26 01:46:17 +00:00
|
|
|
mi := &file_generate_protobuf_notification_proto_msgTypes[2]
|
2025-03-02 13:45:50 +00:00
|
|
|
if x != nil {
|
2024-08-24 15:14:35 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use SendMailReq.ProtoReflect.Descriptor instead.
|
|
|
|
func (*SendMailReq) Descriptor() ([]byte, []int) {
|
2024-08-26 01:46:17 +00:00
|
|
|
return file_generate_protobuf_notification_proto_rawDescGZIP(), []int{2}
|
2024-08-24 15:14:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SendMailReq) GetTo() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.To
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SendMailReq) GetSubject() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Subject
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SendMailReq) GetBody() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Body
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SendMailReq) GetFrom() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.From
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type SendSMSReq struct {
|
2025-03-02 13:45:50 +00:00
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
To string `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"`
|
|
|
|
Body string `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
|
|
|
|
RecipientName string `protobuf:"bytes,3,opt,name=recipient_name,json=recipientName,proto3" json:"recipient_name,omitempty"`
|
2024-08-24 15:14:35 +00:00
|
|
|
unknownFields protoimpl.UnknownFields
|
2025-03-02 13:45:50 +00:00
|
|
|
sizeCache protoimpl.SizeCache
|
2024-08-24 15:14:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SendSMSReq) Reset() {
|
|
|
|
*x = SendSMSReq{}
|
2025-03-02 13:45:50 +00:00
|
|
|
mi := &file_generate_protobuf_notification_proto_msgTypes[3]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
2024-08-24 15:14:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SendSMSReq) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*SendSMSReq) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *SendSMSReq) ProtoReflect() protoreflect.Message {
|
2024-08-26 01:46:17 +00:00
|
|
|
mi := &file_generate_protobuf_notification_proto_msgTypes[3]
|
2025-03-02 13:45:50 +00:00
|
|
|
if x != nil {
|
2024-08-24 15:14:35 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use SendSMSReq.ProtoReflect.Descriptor instead.
|
|
|
|
func (*SendSMSReq) Descriptor() ([]byte, []int) {
|
2024-08-26 01:46:17 +00:00
|
|
|
return file_generate_protobuf_notification_proto_rawDescGZIP(), []int{3}
|
2024-08-24 15:14:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SendSMSReq) GetTo() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.To
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SendSMSReq) GetBody() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Body
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SendSMSReq) GetRecipientName() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.RecipientName
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2025-03-02 13:45:50 +00:00
|
|
|
type TemplateReq struct {
|
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
Language string `protobuf:"bytes,1,opt,name=language,proto3" json:"language,omitempty"`
|
|
|
|
TemplateId string `protobuf:"bytes,2,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"`
|
2024-08-24 15:14:35 +00:00
|
|
|
unknownFields protoimpl.UnknownFields
|
2025-03-02 13:45:50 +00:00
|
|
|
sizeCache protoimpl.SizeCache
|
2024-08-24 15:14:35 +00:00
|
|
|
}
|
|
|
|
|
2025-03-02 13:45:50 +00:00
|
|
|
func (x *TemplateReq) Reset() {
|
|
|
|
*x = TemplateReq{}
|
|
|
|
mi := &file_generate_protobuf_notification_proto_msgTypes[4]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
2024-08-24 15:14:35 +00:00
|
|
|
}
|
|
|
|
|
2025-03-02 13:45:50 +00:00
|
|
|
func (x *TemplateReq) String() string {
|
2024-08-24 15:14:35 +00:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2025-03-02 13:45:50 +00:00
|
|
|
func (*TemplateReq) ProtoMessage() {}
|
2024-08-24 15:14:35 +00:00
|
|
|
|
2025-03-02 13:45:50 +00:00
|
|
|
func (x *TemplateReq) ProtoReflect() protoreflect.Message {
|
2024-08-26 01:46:17 +00:00
|
|
|
mi := &file_generate_protobuf_notification_proto_msgTypes[4]
|
2025-03-02 13:45:50 +00:00
|
|
|
if x != nil {
|
2024-08-24 15:14:35 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
2025-03-02 13:45:50 +00:00
|
|
|
// Deprecated: Use TemplateReq.ProtoReflect.Descriptor instead.
|
|
|
|
func (*TemplateReq) Descriptor() ([]byte, []int) {
|
2024-08-26 01:46:17 +00:00
|
|
|
return file_generate_protobuf_notification_proto_rawDescGZIP(), []int{4}
|
2024-08-24 15:14:35 +00:00
|
|
|
}
|
|
|
|
|
2025-03-02 13:45:50 +00:00
|
|
|
func (x *TemplateReq) GetLanguage() string {
|
2024-08-24 15:14:35 +00:00
|
|
|
if x != nil {
|
2025-03-02 13:45:50 +00:00
|
|
|
return x.Language
|
2024-08-24 15:14:35 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2025-03-02 13:45:50 +00:00
|
|
|
func (x *TemplateReq) GetTemplateId() string {
|
2024-08-24 15:14:35 +00:00
|
|
|
if x != nil {
|
|
|
|
return x.TemplateId
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2025-03-02 13:45:50 +00:00
|
|
|
type TemplateResp struct {
|
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
|
|
|
|
Body string `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *TemplateResp) Reset() {
|
|
|
|
*x = TemplateResp{}
|
|
|
|
mi := &file_generate_protobuf_notification_proto_msgTypes[5]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *TemplateResp) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*TemplateResp) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *TemplateResp) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_generate_protobuf_notification_proto_msgTypes[5]
|
|
|
|
if x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use TemplateResp.ProtoReflect.Descriptor instead.
|
|
|
|
func (*TemplateResp) Descriptor() ([]byte, []int) {
|
|
|
|
return file_generate_protobuf_notification_proto_rawDescGZIP(), []int{5}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *TemplateResp) GetTitle() string {
|
2024-08-24 15:14:35 +00:00
|
|
|
if x != nil {
|
2025-03-02 13:45:50 +00:00
|
|
|
return x.Title
|
2024-08-24 15:14:35 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2025-03-02 13:45:50 +00:00
|
|
|
func (x *TemplateResp) GetBody() string {
|
2024-08-24 15:14:35 +00:00
|
|
|
if x != nil {
|
2025-03-02 13:45:50 +00:00
|
|
|
return x.Body
|
2024-08-24 15:14:35 +00:00
|
|
|
}
|
2025-03-02 13:45:50 +00:00
|
|
|
return ""
|
2024-08-24 15:14:35 +00:00
|
|
|
}
|
|
|
|
|
2024-08-26 01:46:17 +00:00
|
|
|
var File_generate_protobuf_notification_proto protoreflect.FileDescriptor
|
|
|
|
|
|
|
|
var file_generate_protobuf_notification_proto_rawDesc = []byte{
|
|
|
|
0x0a, 0x24, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
|
|
0x62, 0x75, 0x66, 0x2f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
|
|
|
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61,
|
|
|
|
0x74, 0x69, 0x6f, 0x6e, 0x22, 0x08, 0x0a, 0x06, 0x4f, 0x4b, 0x52, 0x65, 0x73, 0x70, 0x22, 0x09,
|
|
|
|
0x0a, 0x07, 0x4e, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x22, 0x5f, 0x0a, 0x0b, 0x53, 0x65, 0x6e,
|
|
|
|
0x64, 0x4d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x01,
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x74, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x6a,
|
|
|
|
0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65,
|
|
|
|
0x63, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x04,
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x22, 0x57, 0x0a, 0x0a, 0x53, 0x65,
|
|
|
|
0x6e, 0x64, 0x53, 0x4d, 0x53, 0x52, 0x65, 0x71, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x01,
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79,
|
|
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x25, 0x0a, 0x0e,
|
|
|
|
0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03,
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x4e,
|
2025-03-02 13:45:50 +00:00
|
|
|
0x61, 0x6d, 0x65, 0x22, 0x4a, 0x0a, 0x0b, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52,
|
|
|
|
0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x18, 0x01,
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x12, 0x1f,
|
|
|
|
0x0a, 0x0b, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20,
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x49, 0x64, 0x22,
|
|
|
|
0x38, 0x0a, 0x0c, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12,
|
|
|
|
0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
|
|
|
|
0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x02, 0x20,
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x32, 0xd3, 0x01, 0x0a, 0x0d, 0x53, 0x65,
|
|
|
|
0x6e, 0x64, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x3b, 0x0a, 0x08, 0x53,
|
|
|
|
0x65, 0x6e, 0x64, 0x4d, 0x61, 0x69, 0x6c, 0x12, 0x19, 0x2e, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69,
|
|
|
|
0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x61, 0x69, 0x6c, 0x52,
|
|
|
|
0x65, 0x71, 0x1a, 0x14, 0x2e, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,
|
|
|
|
0x6e, 0x2e, 0x4f, 0x4b, 0x52, 0x65, 0x73, 0x70, 0x12, 0x39, 0x0a, 0x07, 0x53, 0x65, 0x6e, 0x64,
|
|
|
|
0x53, 0x6d, 0x73, 0x12, 0x18, 0x2e, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69,
|
|
|
|
0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x53, 0x4d, 0x53, 0x52, 0x65, 0x71, 0x1a, 0x14, 0x2e,
|
|
|
|
0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4f, 0x4b, 0x52,
|
|
|
|
0x65, 0x73, 0x70, 0x12, 0x4a, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63,
|
|
|
|
0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x19, 0x2e, 0x6e, 0x6f, 0x74, 0x69, 0x66,
|
|
|
|
0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65,
|
|
|
|
0x52, 0x65, 0x71, 0x1a, 0x1a, 0x2e, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69,
|
|
|
|
0x6f, 0x6e, 0x2e, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x42,
|
|
|
|
0x10, 0x5a, 0x0e, 0x2e, 0x2f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,
|
|
|
|
0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
2024-08-24 15:14:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
var (
|
2024-08-26 01:46:17 +00:00
|
|
|
file_generate_protobuf_notification_proto_rawDescOnce sync.Once
|
|
|
|
file_generate_protobuf_notification_proto_rawDescData = file_generate_protobuf_notification_proto_rawDesc
|
2024-08-24 15:14:35 +00:00
|
|
|
)
|
|
|
|
|
2024-08-26 01:46:17 +00:00
|
|
|
func file_generate_protobuf_notification_proto_rawDescGZIP() []byte {
|
|
|
|
file_generate_protobuf_notification_proto_rawDescOnce.Do(func() {
|
|
|
|
file_generate_protobuf_notification_proto_rawDescData = protoimpl.X.CompressGZIP(file_generate_protobuf_notification_proto_rawDescData)
|
2024-08-24 15:14:35 +00:00
|
|
|
})
|
2024-08-26 01:46:17 +00:00
|
|
|
return file_generate_protobuf_notification_proto_rawDescData
|
2024-08-24 15:14:35 +00:00
|
|
|
}
|
|
|
|
|
2024-08-26 01:46:17 +00:00
|
|
|
var file_generate_protobuf_notification_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
|
|
|
var file_generate_protobuf_notification_proto_goTypes = []any{
|
2025-03-02 13:45:50 +00:00
|
|
|
(*OKResp)(nil), // 0: notification.OKResp
|
|
|
|
(*NoneReq)(nil), // 1: notification.NoneReq
|
|
|
|
(*SendMailReq)(nil), // 2: notification.SendMailReq
|
|
|
|
(*SendSMSReq)(nil), // 3: notification.SendSMSReq
|
|
|
|
(*TemplateReq)(nil), // 4: notification.TemplateReq
|
|
|
|
(*TemplateResp)(nil), // 5: notification.TemplateResp
|
2024-08-24 15:14:35 +00:00
|
|
|
}
|
2024-08-26 01:46:17 +00:00
|
|
|
var file_generate_protobuf_notification_proto_depIdxs = []int32{
|
2025-03-02 13:45:50 +00:00
|
|
|
2, // 0: notification.SenderService.SendMail:input_type -> notification.SendMailReq
|
|
|
|
3, // 1: notification.SenderService.SendSms:input_type -> notification.SendSMSReq
|
|
|
|
4, // 2: notification.SenderService.GetStaticTemplate:input_type -> notification.TemplateReq
|
|
|
|
0, // 3: notification.SenderService.SendMail:output_type -> notification.OKResp
|
|
|
|
0, // 4: notification.SenderService.SendSms:output_type -> notification.OKResp
|
|
|
|
5, // 5: notification.SenderService.GetStaticTemplate:output_type -> notification.TemplateResp
|
|
|
|
3, // [3:6] is the sub-list for method output_type
|
|
|
|
0, // [0:3] is the sub-list for method input_type
|
|
|
|
0, // [0:0] is the sub-list for extension type_name
|
|
|
|
0, // [0:0] is the sub-list for extension extendee
|
|
|
|
0, // [0:0] is the sub-list for field type_name
|
2024-08-24 15:14:35 +00:00
|
|
|
}
|
|
|
|
|
2024-08-26 01:46:17 +00:00
|
|
|
func init() { file_generate_protobuf_notification_proto_init() }
|
|
|
|
func file_generate_protobuf_notification_proto_init() {
|
|
|
|
if File_generate_protobuf_notification_proto != nil {
|
2024-08-24 15:14:35 +00:00
|
|
|
return
|
|
|
|
}
|
|
|
|
type x struct{}
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
File: protoimpl.DescBuilder{
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
2024-08-26 01:46:17 +00:00
|
|
|
RawDescriptor: file_generate_protobuf_notification_proto_rawDesc,
|
2024-08-24 15:14:35 +00:00
|
|
|
NumEnums: 0,
|
|
|
|
NumMessages: 6,
|
|
|
|
NumExtensions: 0,
|
|
|
|
NumServices: 1,
|
|
|
|
},
|
2024-08-26 01:46:17 +00:00
|
|
|
GoTypes: file_generate_protobuf_notification_proto_goTypes,
|
|
|
|
DependencyIndexes: file_generate_protobuf_notification_proto_depIdxs,
|
|
|
|
MessageInfos: file_generate_protobuf_notification_proto_msgTypes,
|
2024-08-24 15:14:35 +00:00
|
|
|
}.Build()
|
2024-08-26 01:46:17 +00:00
|
|
|
File_generate_protobuf_notification_proto = out.File
|
|
|
|
file_generate_protobuf_notification_proto_rawDesc = nil
|
|
|
|
file_generate_protobuf_notification_proto_goTypes = nil
|
|
|
|
file_generate_protobuf_notification_proto_depIdxs = nil
|
2024-08-24 15:14:35 +00:00
|
|
|
}
|