|
@@ -1,1040 +0,0 @@
|
|
|
-// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
-// versions:
|
|
|
-// protoc-gen-go v1.32.0
|
|
|
-// protoc v4.25.1
|
|
|
-// source: ticket.proto
|
|
|
-
|
|
|
-package ticket
|
|
|
-
|
|
|
-import (
|
|
|
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
- timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
|
|
- reflect "reflect"
|
|
|
- sync "sync"
|
|
|
-)
|
|
|
-
|
|
|
-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)
|
|
|
-)
|
|
|
-
|
|
|
-type MessageFlag int32
|
|
|
-
|
|
|
-const (
|
|
|
- // Deprecated: Marked as deprecated in ticket.proto.
|
|
|
- MessageFlag_unknown_message_flag MessageFlag = 0
|
|
|
- MessageFlag_SENT MessageFlag = 1
|
|
|
- MessageFlag_MODIFIED MessageFlag = 2
|
|
|
-)
|
|
|
-
|
|
|
-// Enum value maps for MessageFlag.
|
|
|
-var (
|
|
|
- MessageFlag_name = map[int32]string{
|
|
|
- 0: "unknown_message_flag",
|
|
|
- 1: "SENT",
|
|
|
- 2: "MODIFIED",
|
|
|
- }
|
|
|
- MessageFlag_value = map[string]int32{
|
|
|
- "unknown_message_flag": 0,
|
|
|
- "SENT": 1,
|
|
|
- "MODIFIED": 2,
|
|
|
- }
|
|
|
-)
|
|
|
-
|
|
|
-func (x MessageFlag) Enum() *MessageFlag {
|
|
|
- p := new(MessageFlag)
|
|
|
- *p = x
|
|
|
- return p
|
|
|
-}
|
|
|
-
|
|
|
-func (x MessageFlag) String() string {
|
|
|
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
|
-}
|
|
|
-
|
|
|
-func (MessageFlag) Descriptor() protoreflect.EnumDescriptor {
|
|
|
- return file_ticket_proto_enumTypes[0].Descriptor()
|
|
|
-}
|
|
|
-
|
|
|
-func (MessageFlag) Type() protoreflect.EnumType {
|
|
|
- return &file_ticket_proto_enumTypes[0]
|
|
|
-}
|
|
|
-
|
|
|
-func (x MessageFlag) Number() protoreflect.EnumNumber {
|
|
|
- return protoreflect.EnumNumber(x)
|
|
|
-}
|
|
|
-
|
|
|
-// Deprecated: Use MessageFlag.Descriptor instead.
|
|
|
-func (MessageFlag) EnumDescriptor() ([]byte, []int) {
|
|
|
- return file_ticket_proto_rawDescGZIP(), []int{0}
|
|
|
-}
|
|
|
-
|
|
|
-type TicketFlag int32
|
|
|
-
|
|
|
-const (
|
|
|
- // Deprecated: Marked as deprecated in ticket.proto.
|
|
|
- TicketFlag_unknown_ticket_flag TicketFlag = 0
|
|
|
- TicketFlag_READ TicketFlag = 1
|
|
|
- TicketFlag_REPLIED TicketFlag = 2
|
|
|
- TicketFlag_HAS_MODIFIED_MESSAGE TicketFlag = 3
|
|
|
- TicketFlag_PROCESSING TicketFlag = 4
|
|
|
-)
|
|
|
-
|
|
|
-// Enum value maps for TicketFlag.
|
|
|
-var (
|
|
|
- TicketFlag_name = map[int32]string{
|
|
|
- 0: "unknown_ticket_flag",
|
|
|
- 1: "READ",
|
|
|
- 2: "REPLIED",
|
|
|
- 3: "HAS_MODIFIED_MESSAGE",
|
|
|
- 4: "PROCESSING",
|
|
|
- }
|
|
|
- TicketFlag_value = map[string]int32{
|
|
|
- "unknown_ticket_flag": 0,
|
|
|
- "READ": 1,
|
|
|
- "REPLIED": 2,
|
|
|
- "HAS_MODIFIED_MESSAGE": 3,
|
|
|
- "PROCESSING": 4,
|
|
|
- }
|
|
|
-)
|
|
|
-
|
|
|
-func (x TicketFlag) Enum() *TicketFlag {
|
|
|
- p := new(TicketFlag)
|
|
|
- *p = x
|
|
|
- return p
|
|
|
-}
|
|
|
-
|
|
|
-func (x TicketFlag) String() string {
|
|
|
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
|
-}
|
|
|
-
|
|
|
-func (TicketFlag) Descriptor() protoreflect.EnumDescriptor {
|
|
|
- return file_ticket_proto_enumTypes[1].Descriptor()
|
|
|
-}
|
|
|
-
|
|
|
-func (TicketFlag) Type() protoreflect.EnumType {
|
|
|
- return &file_ticket_proto_enumTypes[1]
|
|
|
-}
|
|
|
-
|
|
|
-func (x TicketFlag) Number() protoreflect.EnumNumber {
|
|
|
- return protoreflect.EnumNumber(x)
|
|
|
-}
|
|
|
-
|
|
|
-// Deprecated: Use TicketFlag.Descriptor instead.
|
|
|
-func (TicketFlag) EnumDescriptor() ([]byte, []int) {
|
|
|
- return file_ticket_proto_rawDescGZIP(), []int{1}
|
|
|
-}
|
|
|
-
|
|
|
-type Message_Type int32
|
|
|
-
|
|
|
-const (
|
|
|
- // Deprecated: Marked as deprecated in ticket.proto.
|
|
|
- Message_unknown Message_Type = 0
|
|
|
- Message_TEXT Message_Type = 1
|
|
|
- Message_EMAIL Message_Type = 2
|
|
|
- Message_ASSISTANT_CALLBACK Message_Type = 3
|
|
|
- Message_TICKET_WITH_REASON Message_Type = 4
|
|
|
-)
|
|
|
-
|
|
|
-// Enum value maps for Message_Type.
|
|
|
-var (
|
|
|
- Message_Type_name = map[int32]string{
|
|
|
- 0: "unknown",
|
|
|
- 1: "TEXT",
|
|
|
- 2: "EMAIL",
|
|
|
- 3: "ASSISTANT_CALLBACK",
|
|
|
- 4: "TICKET_WITH_REASON",
|
|
|
- }
|
|
|
- Message_Type_value = map[string]int32{
|
|
|
- "unknown": 0,
|
|
|
- "TEXT": 1,
|
|
|
- "EMAIL": 2,
|
|
|
- "ASSISTANT_CALLBACK": 3,
|
|
|
- "TICKET_WITH_REASON": 4,
|
|
|
- }
|
|
|
-)
|
|
|
-
|
|
|
-func (x Message_Type) Enum() *Message_Type {
|
|
|
- p := new(Message_Type)
|
|
|
- *p = x
|
|
|
- return p
|
|
|
-}
|
|
|
-
|
|
|
-func (x Message_Type) String() string {
|
|
|
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
|
-}
|
|
|
-
|
|
|
-func (Message_Type) Descriptor() protoreflect.EnumDescriptor {
|
|
|
- return file_ticket_proto_enumTypes[2].Descriptor()
|
|
|
-}
|
|
|
-
|
|
|
-func (Message_Type) Type() protoreflect.EnumType {
|
|
|
- return &file_ticket_proto_enumTypes[2]
|
|
|
-}
|
|
|
-
|
|
|
-func (x Message_Type) Number() protoreflect.EnumNumber {
|
|
|
- return protoreflect.EnumNumber(x)
|
|
|
-}
|
|
|
-
|
|
|
-// Deprecated: Use Message_Type.Descriptor instead.
|
|
|
-func (Message_Type) EnumDescriptor() ([]byte, []int) {
|
|
|
- return file_ticket_proto_rawDescGZIP(), []int{4, 0}
|
|
|
-}
|
|
|
-
|
|
|
-type EmailAddress struct {
|
|
|
- state protoimpl.MessageState
|
|
|
- sizeCache protoimpl.SizeCache
|
|
|
- unknownFields protoimpl.UnknownFields
|
|
|
-
|
|
|
- Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
|
|
|
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
|
-}
|
|
|
-
|
|
|
-func (x *EmailAddress) Reset() {
|
|
|
- *x = EmailAddress{}
|
|
|
- if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_ticket_proto_msgTypes[0]
|
|
|
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
- ms.StoreMessageInfo(mi)
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-func (x *EmailAddress) String() string {
|
|
|
- return protoimpl.X.MessageStringOf(x)
|
|
|
-}
|
|
|
-
|
|
|
-func (*EmailAddress) ProtoMessage() {}
|
|
|
-
|
|
|
-func (x *EmailAddress) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_ticket_proto_msgTypes[0]
|
|
|
- if protoimpl.UnsafeEnabled && x != nil {
|
|
|
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
- if ms.LoadMessageInfo() == nil {
|
|
|
- ms.StoreMessageInfo(mi)
|
|
|
- }
|
|
|
- return ms
|
|
|
- }
|
|
|
- return mi.MessageOf(x)
|
|
|
-}
|
|
|
-
|
|
|
-// Deprecated: Use EmailAddress.ProtoReflect.Descriptor instead.
|
|
|
-func (*EmailAddress) Descriptor() ([]byte, []int) {
|
|
|
- return file_ticket_proto_rawDescGZIP(), []int{0}
|
|
|
-}
|
|
|
-
|
|
|
-func (x *EmailAddress) GetAddress() string {
|
|
|
- if x != nil {
|
|
|
- return x.Address
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-func (x *EmailAddress) GetName() string {
|
|
|
- if x != nil {
|
|
|
- return x.Name
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-type Attachment struct {
|
|
|
- state protoimpl.MessageState
|
|
|
- sizeCache protoimpl.SizeCache
|
|
|
- unknownFields protoimpl.UnknownFields
|
|
|
-
|
|
|
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
- Filename string `protobuf:"bytes,2,opt,name=filename,proto3" json:"filename,omitempty"`
|
|
|
- ContentType string `protobuf:"bytes,3,opt,name=content_type,proto3" json:"content_type,omitempty"`
|
|
|
- ContentEncoding string `protobuf:"bytes,4,opt,name=content_encoding,proto3" json:"content_encoding,omitempty"`
|
|
|
- Bucket string `protobuf:"bytes,5,opt,name=bucket,proto3" json:"bucket,omitempty"`
|
|
|
- Key string `protobuf:"bytes,6,opt,name=key,proto3" json:"key,omitempty"`
|
|
|
-}
|
|
|
-
|
|
|
-func (x *Attachment) Reset() {
|
|
|
- *x = Attachment{}
|
|
|
- if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_ticket_proto_msgTypes[1]
|
|
|
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
- ms.StoreMessageInfo(mi)
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-func (x *Attachment) String() string {
|
|
|
- return protoimpl.X.MessageStringOf(x)
|
|
|
-}
|
|
|
-
|
|
|
-func (*Attachment) ProtoMessage() {}
|
|
|
-
|
|
|
-func (x *Attachment) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_ticket_proto_msgTypes[1]
|
|
|
- if protoimpl.UnsafeEnabled && x != nil {
|
|
|
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
- if ms.LoadMessageInfo() == nil {
|
|
|
- ms.StoreMessageInfo(mi)
|
|
|
- }
|
|
|
- return ms
|
|
|
- }
|
|
|
- return mi.MessageOf(x)
|
|
|
-}
|
|
|
-
|
|
|
-// Deprecated: Use Attachment.ProtoReflect.Descriptor instead.
|
|
|
-func (*Attachment) Descriptor() ([]byte, []int) {
|
|
|
- return file_ticket_proto_rawDescGZIP(), []int{1}
|
|
|
-}
|
|
|
-
|
|
|
-func (x *Attachment) GetId() string {
|
|
|
- if x != nil {
|
|
|
- return x.Id
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-func (x *Attachment) GetFilename() string {
|
|
|
- if x != nil {
|
|
|
- return x.Filename
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-func (x *Attachment) GetContentType() string {
|
|
|
- if x != nil {
|
|
|
- return x.ContentType
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-func (x *Attachment) GetContentEncoding() string {
|
|
|
- if x != nil {
|
|
|
- return x.ContentEncoding
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-func (x *Attachment) GetBucket() string {
|
|
|
- if x != nil {
|
|
|
- return x.Bucket
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-func (x *Attachment) GetKey() string {
|
|
|
- if x != nil {
|
|
|
- return x.Key
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-type AssistantRequest struct {
|
|
|
- state protoimpl.MessageState
|
|
|
- sizeCache protoimpl.SizeCache
|
|
|
- unknownFields protoimpl.UnknownFields
|
|
|
-
|
|
|
- To string `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"`
|
|
|
- From *EmailAddress `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
|
|
|
- Subject string `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"`
|
|
|
- Date *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=date,proto3" json:"date,omitempty"`
|
|
|
- Body string `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"`
|
|
|
- Attachments []*Attachment `protobuf:"bytes,10,rep,name=attachments,proto3" json:"attachments,omitempty"`
|
|
|
-}
|
|
|
-
|
|
|
-func (x *AssistantRequest) Reset() {
|
|
|
- *x = AssistantRequest{}
|
|
|
- if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_ticket_proto_msgTypes[2]
|
|
|
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
- ms.StoreMessageInfo(mi)
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-func (x *AssistantRequest) String() string {
|
|
|
- return protoimpl.X.MessageStringOf(x)
|
|
|
-}
|
|
|
-
|
|
|
-func (*AssistantRequest) ProtoMessage() {}
|
|
|
-
|
|
|
-func (x *AssistantRequest) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_ticket_proto_msgTypes[2]
|
|
|
- if protoimpl.UnsafeEnabled && x != nil {
|
|
|
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
- if ms.LoadMessageInfo() == nil {
|
|
|
- ms.StoreMessageInfo(mi)
|
|
|
- }
|
|
|
- return ms
|
|
|
- }
|
|
|
- return mi.MessageOf(x)
|
|
|
-}
|
|
|
-
|
|
|
-// Deprecated: Use AssistantRequest.ProtoReflect.Descriptor instead.
|
|
|
-func (*AssistantRequest) Descriptor() ([]byte, []int) {
|
|
|
- return file_ticket_proto_rawDescGZIP(), []int{2}
|
|
|
-}
|
|
|
-
|
|
|
-func (x *AssistantRequest) GetTo() string {
|
|
|
- if x != nil {
|
|
|
- return x.To
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-func (x *AssistantRequest) GetFrom() *EmailAddress {
|
|
|
- if x != nil {
|
|
|
- return x.From
|
|
|
- }
|
|
|
- return nil
|
|
|
-}
|
|
|
-
|
|
|
-func (x *AssistantRequest) GetSubject() string {
|
|
|
- if x != nil {
|
|
|
- return x.Subject
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-func (x *AssistantRequest) GetDate() *timestamppb.Timestamp {
|
|
|
- if x != nil {
|
|
|
- return x.Date
|
|
|
- }
|
|
|
- return nil
|
|
|
-}
|
|
|
-
|
|
|
-func (x *AssistantRequest) GetBody() string {
|
|
|
- if x != nil {
|
|
|
- return x.Body
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-func (x *AssistantRequest) GetAttachments() []*Attachment {
|
|
|
- if x != nil {
|
|
|
- return x.Attachments
|
|
|
- }
|
|
|
- return nil
|
|
|
-}
|
|
|
-
|
|
|
-type AssistantCallback struct {
|
|
|
- state protoimpl.MessageState
|
|
|
- sizeCache protoimpl.SizeCache
|
|
|
- unknownFields protoimpl.UnknownFields
|
|
|
-
|
|
|
- To *EmailAddress `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"`
|
|
|
- Attachments []*Attachment `protobuf:"bytes,10,rep,name=attachments,proto3" json:"attachments,omitempty"`
|
|
|
-}
|
|
|
-
|
|
|
-func (x *AssistantCallback) Reset() {
|
|
|
- *x = AssistantCallback{}
|
|
|
- if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_ticket_proto_msgTypes[3]
|
|
|
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
- ms.StoreMessageInfo(mi)
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-func (x *AssistantCallback) String() string {
|
|
|
- return protoimpl.X.MessageStringOf(x)
|
|
|
-}
|
|
|
-
|
|
|
-func (*AssistantCallback) ProtoMessage() {}
|
|
|
-
|
|
|
-func (x *AssistantCallback) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_ticket_proto_msgTypes[3]
|
|
|
- if protoimpl.UnsafeEnabled && x != nil {
|
|
|
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
- if ms.LoadMessageInfo() == nil {
|
|
|
- ms.StoreMessageInfo(mi)
|
|
|
- }
|
|
|
- return ms
|
|
|
- }
|
|
|
- return mi.MessageOf(x)
|
|
|
-}
|
|
|
-
|
|
|
-// Deprecated: Use AssistantCallback.ProtoReflect.Descriptor instead.
|
|
|
-func (*AssistantCallback) Descriptor() ([]byte, []int) {
|
|
|
- return file_ticket_proto_rawDescGZIP(), []int{3}
|
|
|
-}
|
|
|
-
|
|
|
-func (x *AssistantCallback) GetTo() *EmailAddress {
|
|
|
- if x != nil {
|
|
|
- return x.To
|
|
|
- }
|
|
|
- return nil
|
|
|
-}
|
|
|
-
|
|
|
-func (x *AssistantCallback) GetSubject() string {
|
|
|
- if x != nil {
|
|
|
- return x.Subject
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-func (x *AssistantCallback) GetBody() string {
|
|
|
- if x != nil {
|
|
|
- return x.Body
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-func (x *AssistantCallback) GetAttachments() []*Attachment {
|
|
|
- if x != nil {
|
|
|
- return x.Attachments
|
|
|
- }
|
|
|
- return nil
|
|
|
-}
|
|
|
-
|
|
|
-type Message struct {
|
|
|
- state protoimpl.MessageState
|
|
|
- sizeCache protoimpl.SizeCache
|
|
|
- unknownFields protoimpl.UnknownFields
|
|
|
-
|
|
|
- MessageId string `protobuf:"bytes,1,opt,name=message_id,proto3" json:"message_id,omitempty"`
|
|
|
- TicketId string `protobuf:"bytes,2,opt,name=ticket_id,proto3" json:"ticket_id,omitempty"`
|
|
|
- Role string `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"`
|
|
|
- Type Message_Type `protobuf:"varint,4,opt,name=type,proto3,enum=ticket.Message_Type" json:"type,omitempty"`
|
|
|
- Content string `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"`
|
|
|
- Date *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=date,proto3" json:"date,omitempty"`
|
|
|
- Raw []byte `protobuf:"bytes,7,opt,name=raw,proto3" json:"raw,omitempty"`
|
|
|
- Flags []byte `protobuf:"bytes,8,opt,name=flags,proto3" json:"flags,omitempty"`
|
|
|
- Headers map[string]string `protobuf:"bytes,10,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
|
- Meta map[string]string `protobuf:"bytes,11,rep,name=meta,proto3" json:"meta,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
|
- Attachments []*Attachment `protobuf:"bytes,12,rep,name=attachments,proto3" json:"attachments,omitempty"`
|
|
|
-}
|
|
|
-
|
|
|
-func (x *Message) Reset() {
|
|
|
- *x = Message{}
|
|
|
- if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_ticket_proto_msgTypes[4]
|
|
|
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
- ms.StoreMessageInfo(mi)
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-func (x *Message) String() string {
|
|
|
- return protoimpl.X.MessageStringOf(x)
|
|
|
-}
|
|
|
-
|
|
|
-func (*Message) ProtoMessage() {}
|
|
|
-
|
|
|
-func (x *Message) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_ticket_proto_msgTypes[4]
|
|
|
- if protoimpl.UnsafeEnabled && x != nil {
|
|
|
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
- if ms.LoadMessageInfo() == nil {
|
|
|
- ms.StoreMessageInfo(mi)
|
|
|
- }
|
|
|
- return ms
|
|
|
- }
|
|
|
- return mi.MessageOf(x)
|
|
|
-}
|
|
|
-
|
|
|
-// Deprecated: Use Message.ProtoReflect.Descriptor instead.
|
|
|
-func (*Message) Descriptor() ([]byte, []int) {
|
|
|
- return file_ticket_proto_rawDescGZIP(), []int{4}
|
|
|
-}
|
|
|
-
|
|
|
-func (x *Message) GetMessageId() string {
|
|
|
- if x != nil {
|
|
|
- return x.MessageId
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-func (x *Message) GetTicketId() string {
|
|
|
- if x != nil {
|
|
|
- return x.TicketId
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-func (x *Message) GetRole() string {
|
|
|
- if x != nil {
|
|
|
- return x.Role
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-func (x *Message) GetType() Message_Type {
|
|
|
- if x != nil {
|
|
|
- return x.Type
|
|
|
- }
|
|
|
- return Message_unknown
|
|
|
-}
|
|
|
-
|
|
|
-func (x *Message) GetContent() string {
|
|
|
- if x != nil {
|
|
|
- return x.Content
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-func (x *Message) GetDate() *timestamppb.Timestamp {
|
|
|
- if x != nil {
|
|
|
- return x.Date
|
|
|
- }
|
|
|
- return nil
|
|
|
-}
|
|
|
-
|
|
|
-func (x *Message) GetRaw() []byte {
|
|
|
- if x != nil {
|
|
|
- return x.Raw
|
|
|
- }
|
|
|
- return nil
|
|
|
-}
|
|
|
-
|
|
|
-func (x *Message) GetFlags() []byte {
|
|
|
- if x != nil {
|
|
|
- return x.Flags
|
|
|
- }
|
|
|
- return nil
|
|
|
-}
|
|
|
-
|
|
|
-func (x *Message) GetHeaders() map[string]string {
|
|
|
- if x != nil {
|
|
|
- return x.Headers
|
|
|
- }
|
|
|
- return nil
|
|
|
-}
|
|
|
-
|
|
|
-func (x *Message) GetMeta() map[string]string {
|
|
|
- if x != nil {
|
|
|
- return x.Meta
|
|
|
- }
|
|
|
- return nil
|
|
|
-}
|
|
|
-
|
|
|
-func (x *Message) GetAttachments() []*Attachment {
|
|
|
- if x != nil {
|
|
|
- return x.Attachments
|
|
|
- }
|
|
|
- return nil
|
|
|
-}
|
|
|
-
|
|
|
-type Ticket struct {
|
|
|
- state protoimpl.MessageState
|
|
|
- sizeCache protoimpl.SizeCache
|
|
|
- unknownFields protoimpl.UnknownFields
|
|
|
-
|
|
|
- TicketId string `protobuf:"bytes,1,opt,name=ticket_id,proto3" json:"ticket_id,omitempty"`
|
|
|
- ThreadId string `protobuf:"bytes,2,opt,name=thread_id,proto3" json:"thread_id,omitempty"`
|
|
|
- To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`
|
|
|
- From *EmailAddress `protobuf:"bytes,4,opt,name=from,proto3" json:"from,omitempty"`
|
|
|
- Flags []byte `protobuf:"bytes,5,opt,name=flags,proto3" json:"flags,omitempty"`
|
|
|
- CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,proto3" json:"created_at,omitempty"`
|
|
|
- UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=updated_at,proto3" json:"updated_at,omitempty"`
|
|
|
- Version uint32 `protobuf:"varint,8,opt,name=version,proto3" json:"version,omitempty"`
|
|
|
- Messages []*Message `protobuf:"bytes,10,rep,name=messages,proto3" json:"messages,omitempty"`
|
|
|
- Meta map[string]string `protobuf:"bytes,11,rep,name=meta,proto3" json:"meta,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
|
- Tags []string `protobuf:"bytes,12,rep,name=tags,proto3" json:"tags,omitempty"`
|
|
|
- MessageIds []string `protobuf:"bytes,100,rep,name=message_ids,proto3" json:"message_ids,omitempty"`
|
|
|
- Subjects []string `protobuf:"bytes,101,rep,name=subjects,proto3" json:"subjects,omitempty"`
|
|
|
-}
|
|
|
-
|
|
|
-func (x *Ticket) Reset() {
|
|
|
- *x = Ticket{}
|
|
|
- if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_ticket_proto_msgTypes[5]
|
|
|
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
- ms.StoreMessageInfo(mi)
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-func (x *Ticket) String() string {
|
|
|
- return protoimpl.X.MessageStringOf(x)
|
|
|
-}
|
|
|
-
|
|
|
-func (*Ticket) ProtoMessage() {}
|
|
|
-
|
|
|
-func (x *Ticket) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_ticket_proto_msgTypes[5]
|
|
|
- if protoimpl.UnsafeEnabled && x != nil {
|
|
|
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
- if ms.LoadMessageInfo() == nil {
|
|
|
- ms.StoreMessageInfo(mi)
|
|
|
- }
|
|
|
- return ms
|
|
|
- }
|
|
|
- return mi.MessageOf(x)
|
|
|
-}
|
|
|
-
|
|
|
-// Deprecated: Use Ticket.ProtoReflect.Descriptor instead.
|
|
|
-func (*Ticket) Descriptor() ([]byte, []int) {
|
|
|
- return file_ticket_proto_rawDescGZIP(), []int{5}
|
|
|
-}
|
|
|
-
|
|
|
-func (x *Ticket) GetTicketId() string {
|
|
|
- if x != nil {
|
|
|
- return x.TicketId
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-func (x *Ticket) GetThreadId() string {
|
|
|
- if x != nil {
|
|
|
- return x.ThreadId
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-func (x *Ticket) GetTo() string {
|
|
|
- if x != nil {
|
|
|
- return x.To
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-func (x *Ticket) GetFrom() *EmailAddress {
|
|
|
- if x != nil {
|
|
|
- return x.From
|
|
|
- }
|
|
|
- return nil
|
|
|
-}
|
|
|
-
|
|
|
-func (x *Ticket) GetFlags() []byte {
|
|
|
- if x != nil {
|
|
|
- return x.Flags
|
|
|
- }
|
|
|
- return nil
|
|
|
-}
|
|
|
-
|
|
|
-func (x *Ticket) GetCreatedAt() *timestamppb.Timestamp {
|
|
|
- if x != nil {
|
|
|
- return x.CreatedAt
|
|
|
- }
|
|
|
- return nil
|
|
|
-}
|
|
|
-
|
|
|
-func (x *Ticket) GetUpdatedAt() *timestamppb.Timestamp {
|
|
|
- if x != nil {
|
|
|
- return x.UpdatedAt
|
|
|
- }
|
|
|
- return nil
|
|
|
-}
|
|
|
-
|
|
|
-func (x *Ticket) GetVersion() uint32 {
|
|
|
- if x != nil {
|
|
|
- return x.Version
|
|
|
- }
|
|
|
- return 0
|
|
|
-}
|
|
|
-
|
|
|
-func (x *Ticket) GetMessages() []*Message {
|
|
|
- if x != nil {
|
|
|
- return x.Messages
|
|
|
- }
|
|
|
- return nil
|
|
|
-}
|
|
|
-
|
|
|
-func (x *Ticket) GetMeta() map[string]string {
|
|
|
- if x != nil {
|
|
|
- return x.Meta
|
|
|
- }
|
|
|
- return nil
|
|
|
-}
|
|
|
-
|
|
|
-func (x *Ticket) GetTags() []string {
|
|
|
- if x != nil {
|
|
|
- return x.Tags
|
|
|
- }
|
|
|
- return nil
|
|
|
-}
|
|
|
-
|
|
|
-func (x *Ticket) GetMessageIds() []string {
|
|
|
- if x != nil {
|
|
|
- return x.MessageIds
|
|
|
- }
|
|
|
- return nil
|
|
|
-}
|
|
|
-
|
|
|
-func (x *Ticket) GetSubjects() []string {
|
|
|
- if x != nil {
|
|
|
- return x.Subjects
|
|
|
- }
|
|
|
- return nil
|
|
|
-}
|
|
|
-
|
|
|
-var File_ticket_proto protoreflect.FileDescriptor
|
|
|
-
|
|
|
-var file_ticket_proto_rawDesc = []byte{
|
|
|
- 0x0a, 0x0c, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06,
|
|
|
- 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
|
|
|
- 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
|
|
|
- 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3c, 0x0a, 0x0c, 0x45, 0x6d, 0x61, 0x69, 0x6c,
|
|
|
- 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65,
|
|
|
- 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73,
|
|
|
- 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
- 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xb2, 0x01, 0x0a, 0x0a, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68,
|
|
|
- 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
|
- 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65,
|
|
|
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65,
|
|
|
- 0x12, 0x22, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65,
|
|
|
- 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f,
|
|
|
- 0x74, 0x79, 0x70, 0x65, 0x12, 0x2a, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f,
|
|
|
- 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10,
|
|
|
- 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67,
|
|
|
- 0x12, 0x16, 0x0a, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,
|
|
|
- 0x52, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
|
|
|
- 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0xe0, 0x01, 0x0a, 0x10, 0x41,
|
|
|
- 0x73, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
|
|
- 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x74, 0x6f, 0x12,
|
|
|
- 0x28, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e,
|
|
|
- 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x41, 0x64, 0x64, 0x72,
|
|
|
- 0x65, 0x73, 0x73, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x62,
|
|
|
- 0x6a, 0x65, 0x63, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x62, 0x6a,
|
|
|
- 0x65, 0x63, 0x74, 0x12, 0x2e, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
|
|
|
- 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
|
- 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x64,
|
|
|
- 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28,
|
|
|
- 0x09, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x34, 0x0a, 0x0b, 0x61, 0x74, 0x74, 0x61, 0x63,
|
|
|
- 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x74,
|
|
|
- 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74,
|
|
|
- 0x52, 0x0b, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x9d, 0x01,
|
|
|
- 0x0a, 0x11, 0x41, 0x73, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x62,
|
|
|
- 0x61, 0x63, 0x6b, 0x12, 0x24, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
|
- 0x14, 0x2e, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x41, 0x64,
|
|
|
- 0x64, 0x72, 0x65, 0x73, 0x73, 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, 0x34, 0x0a, 0x0b, 0x61, 0x74, 0x74, 0x61, 0x63,
|
|
|
- 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x74,
|
|
|
- 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74,
|
|
|
- 0x52, 0x0b, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xe7, 0x04,
|
|
|
- 0x0a, 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x65, 0x73,
|
|
|
- 0x73, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d,
|
|
|
- 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x63,
|
|
|
- 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x69,
|
|
|
- 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18,
|
|
|
- 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x28, 0x0a, 0x04, 0x74,
|
|
|
- 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x74, 0x69, 0x63, 0x6b,
|
|
|
- 0x65, 0x74, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52,
|
|
|
- 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
|
|
|
- 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12,
|
|
|
- 0x2e, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
|
|
|
- 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
|
|
|
- 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x64, 0x61, 0x74, 0x65, 0x12,
|
|
|
- 0x10, 0x0a, 0x03, 0x72, 0x61, 0x77, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x72, 0x61,
|
|
|
- 0x77, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c,
|
|
|
- 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x36, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65,
|
|
|
- 0x72, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x74, 0x69, 0x63, 0x6b, 0x65,
|
|
|
- 0x74, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72,
|
|
|
- 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12,
|
|
|
- 0x2d, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e,
|
|
|
- 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4d,
|
|
|
- 0x65, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x12, 0x34,
|
|
|
- 0x0a, 0x0b, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x0c, 0x20,
|
|
|
- 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x41, 0x74, 0x74,
|
|
|
- 0x61, 0x63, 0x68, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0b, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x6d,
|
|
|
- 0x65, 0x6e, 0x74, 0x73, 0x1a, 0x3a, 0x0a, 0x0c, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45,
|
|
|
- 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
- 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
|
|
|
- 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,
|
|
|
- 0x1a, 0x37, 0x0a, 0x09, 0x4d, 0x65, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
|
|
|
- 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
|
|
|
- 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
|
|
|
- 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x5c, 0x0a, 0x04, 0x54, 0x79, 0x70,
|
|
|
- 0x65, 0x12, 0x0f, 0x0a, 0x07, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x10, 0x00, 0x1a, 0x02,
|
|
|
- 0x08, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x45, 0x58, 0x54, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05,
|
|
|
- 0x45, 0x4d, 0x41, 0x49, 0x4c, 0x10, 0x02, 0x12, 0x16, 0x0a, 0x12, 0x41, 0x53, 0x53, 0x49, 0x53,
|
|
|
- 0x54, 0x41, 0x4e, 0x54, 0x5f, 0x43, 0x41, 0x4c, 0x4c, 0x42, 0x41, 0x43, 0x4b, 0x10, 0x03, 0x12,
|
|
|
- 0x16, 0x0a, 0x12, 0x54, 0x49, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x57, 0x49, 0x54, 0x48, 0x5f, 0x52,
|
|
|
- 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x10, 0x04, 0x22, 0x8c, 0x04, 0x0a, 0x06, 0x54, 0x69, 0x63, 0x6b,
|
|
|
- 0x65, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18,
|
|
|
- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64,
|
|
|
- 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20,
|
|
|
- 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x69, 0x64, 0x12, 0x0e,
|
|
|
- 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x74, 0x6f, 0x12, 0x28,
|
|
|
- 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74,
|
|
|
- 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65,
|
|
|
- 0x73, 0x73, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67,
|
|
|
- 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x3a,
|
|
|
- 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01,
|
|
|
- 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
|
|
- 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a,
|
|
|
- 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x12, 0x3a, 0x0a, 0x0a, 0x75, 0x70,
|
|
|
- 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
|
|
|
- 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
|
|
|
- 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61,
|
|
|
- 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
|
|
|
- 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
|
|
|
- 0x12, 0x2b, 0x0a, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03,
|
|
|
- 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x4d, 0x65, 0x73, 0x73,
|
|
|
- 0x61, 0x67, 0x65, 0x52, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x12, 0x2c, 0x0a,
|
|
|
- 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x74, 0x69,
|
|
|
- 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x54, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x61,
|
|
|
- 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x74,
|
|
|
- 0x61, 0x67, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12,
|
|
|
- 0x20, 0x0a, 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x64,
|
|
|
- 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x64,
|
|
|
- 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x18, 0x65, 0x20,
|
|
|
- 0x03, 0x28, 0x09, 0x52, 0x08, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x1a, 0x37, 0x0a,
|
|
|
- 0x09, 0x4d, 0x65, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
|
|
|
- 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05,
|
|
|
- 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c,
|
|
|
- 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0x43, 0x0a, 0x0b, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
|
- 0x65, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x1c, 0x0a, 0x14, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e,
|
|
|
- 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x10, 0x00, 0x1a,
|
|
|
- 0x02, 0x08, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x45, 0x4e, 0x54, 0x10, 0x01, 0x12, 0x0c, 0x0a,
|
|
|
- 0x08, 0x4d, 0x4f, 0x44, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x02, 0x2a, 0x6a, 0x0a, 0x0a, 0x54,
|
|
|
- 0x69, 0x63, 0x6b, 0x65, 0x74, 0x46, 0x6c, 0x61, 0x67, 0x12, 0x1b, 0x0a, 0x13, 0x75, 0x6e, 0x6b,
|
|
|
- 0x6e, 0x6f, 0x77, 0x6e, 0x5f, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x66, 0x6c, 0x61, 0x67,
|
|
|
- 0x10, 0x00, 0x1a, 0x02, 0x08, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x52, 0x45, 0x41, 0x44, 0x10, 0x01,
|
|
|
- 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x45, 0x50, 0x4c, 0x49, 0x45, 0x44, 0x10, 0x02, 0x12, 0x18, 0x0a,
|
|
|
- 0x14, 0x48, 0x41, 0x53, 0x5f, 0x4d, 0x4f, 0x44, 0x49, 0x46, 0x49, 0x45, 0x44, 0x5f, 0x4d, 0x45,
|
|
|
- 0x53, 0x53, 0x41, 0x47, 0x45, 0x10, 0x03, 0x12, 0x0e, 0x0a, 0x0a, 0x50, 0x52, 0x4f, 0x43, 0x45,
|
|
|
- 0x53, 0x53, 0x49, 0x4e, 0x47, 0x10, 0x04, 0x42, 0x2d, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x67,
|
|
|
- 0x73, 0x68, 0x6f, 0x70, 0x70, 0x65, 0x72, 0x2e, 0x63, 0x72, 0x6d, 0x2e, 0x74, 0x69, 0x63, 0x6b,
|
|
|
- 0x65, 0x74, 0x2e, 0x76, 0x32, 0x42, 0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x08, 0x2e, 0x2f,
|
|
|
- 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
-}
|
|
|
-
|
|
|
-var (
|
|
|
- file_ticket_proto_rawDescOnce sync.Once
|
|
|
- file_ticket_proto_rawDescData = file_ticket_proto_rawDesc
|
|
|
-)
|
|
|
-
|
|
|
-func file_ticket_proto_rawDescGZIP() []byte {
|
|
|
- file_ticket_proto_rawDescOnce.Do(func() {
|
|
|
- file_ticket_proto_rawDescData = protoimpl.X.CompressGZIP(file_ticket_proto_rawDescData)
|
|
|
- })
|
|
|
- return file_ticket_proto_rawDescData
|
|
|
-}
|
|
|
-
|
|
|
-var file_ticket_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
|
|
|
-var file_ticket_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
|
|
|
-var file_ticket_proto_goTypes = []interface{}{
|
|
|
- (MessageFlag)(0), // 0: ticket.MessageFlag
|
|
|
- (TicketFlag)(0), // 1: ticket.TicketFlag
|
|
|
- (Message_Type)(0), // 2: ticket.Message.Type
|
|
|
- (*EmailAddress)(nil), // 3: ticket.EmailAddress
|
|
|
- (*Attachment)(nil), // 4: ticket.Attachment
|
|
|
- (*AssistantRequest)(nil), // 5: ticket.AssistantRequest
|
|
|
- (*AssistantCallback)(nil), // 6: ticket.AssistantCallback
|
|
|
- (*Message)(nil), // 7: ticket.Message
|
|
|
- (*Ticket)(nil), // 8: ticket.Ticket
|
|
|
- nil, // 9: ticket.Message.HeadersEntry
|
|
|
- nil, // 10: ticket.Message.MetaEntry
|
|
|
- nil, // 11: ticket.Ticket.MetaEntry
|
|
|
- (*timestamppb.Timestamp)(nil), // 12: google.protobuf.Timestamp
|
|
|
-}
|
|
|
-var file_ticket_proto_depIdxs = []int32{
|
|
|
- 3, // 0: ticket.AssistantRequest.from:type_name -> ticket.EmailAddress
|
|
|
- 12, // 1: ticket.AssistantRequest.date:type_name -> google.protobuf.Timestamp
|
|
|
- 4, // 2: ticket.AssistantRequest.attachments:type_name -> ticket.Attachment
|
|
|
- 3, // 3: ticket.AssistantCallback.to:type_name -> ticket.EmailAddress
|
|
|
- 4, // 4: ticket.AssistantCallback.attachments:type_name -> ticket.Attachment
|
|
|
- 2, // 5: ticket.Message.type:type_name -> ticket.Message.Type
|
|
|
- 12, // 6: ticket.Message.date:type_name -> google.protobuf.Timestamp
|
|
|
- 9, // 7: ticket.Message.headers:type_name -> ticket.Message.HeadersEntry
|
|
|
- 10, // 8: ticket.Message.meta:type_name -> ticket.Message.MetaEntry
|
|
|
- 4, // 9: ticket.Message.attachments:type_name -> ticket.Attachment
|
|
|
- 3, // 10: ticket.Ticket.from:type_name -> ticket.EmailAddress
|
|
|
- 12, // 11: ticket.Ticket.created_at:type_name -> google.protobuf.Timestamp
|
|
|
- 12, // 12: ticket.Ticket.updated_at:type_name -> google.protobuf.Timestamp
|
|
|
- 7, // 13: ticket.Ticket.messages:type_name -> ticket.Message
|
|
|
- 11, // 14: ticket.Ticket.meta:type_name -> ticket.Ticket.MetaEntry
|
|
|
- 15, // [15:15] is the sub-list for method output_type
|
|
|
- 15, // [15:15] is the sub-list for method input_type
|
|
|
- 15, // [15:15] is the sub-list for extension type_name
|
|
|
- 15, // [15:15] is the sub-list for extension extendee
|
|
|
- 0, // [0:15] is the sub-list for field type_name
|
|
|
-}
|
|
|
-
|
|
|
-func init() { file_ticket_proto_init() }
|
|
|
-func file_ticket_proto_init() {
|
|
|
- if File_ticket_proto != nil {
|
|
|
- return
|
|
|
- }
|
|
|
- if !protoimpl.UnsafeEnabled {
|
|
|
- file_ticket_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*EmailAddress); i {
|
|
|
- case 0:
|
|
|
- return &v.state
|
|
|
- case 1:
|
|
|
- return &v.sizeCache
|
|
|
- case 2:
|
|
|
- return &v.unknownFields
|
|
|
- default:
|
|
|
- return nil
|
|
|
- }
|
|
|
- }
|
|
|
- file_ticket_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*Attachment); i {
|
|
|
- case 0:
|
|
|
- return &v.state
|
|
|
- case 1:
|
|
|
- return &v.sizeCache
|
|
|
- case 2:
|
|
|
- return &v.unknownFields
|
|
|
- default:
|
|
|
- return nil
|
|
|
- }
|
|
|
- }
|
|
|
- file_ticket_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*AssistantRequest); i {
|
|
|
- case 0:
|
|
|
- return &v.state
|
|
|
- case 1:
|
|
|
- return &v.sizeCache
|
|
|
- case 2:
|
|
|
- return &v.unknownFields
|
|
|
- default:
|
|
|
- return nil
|
|
|
- }
|
|
|
- }
|
|
|
- file_ticket_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*AssistantCallback); i {
|
|
|
- case 0:
|
|
|
- return &v.state
|
|
|
- case 1:
|
|
|
- return &v.sizeCache
|
|
|
- case 2:
|
|
|
- return &v.unknownFields
|
|
|
- default:
|
|
|
- return nil
|
|
|
- }
|
|
|
- }
|
|
|
- file_ticket_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*Message); i {
|
|
|
- case 0:
|
|
|
- return &v.state
|
|
|
- case 1:
|
|
|
- return &v.sizeCache
|
|
|
- case 2:
|
|
|
- return &v.unknownFields
|
|
|
- default:
|
|
|
- return nil
|
|
|
- }
|
|
|
- }
|
|
|
- file_ticket_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*Ticket); i {
|
|
|
- case 0:
|
|
|
- return &v.state
|
|
|
- case 1:
|
|
|
- return &v.sizeCache
|
|
|
- case 2:
|
|
|
- return &v.unknownFields
|
|
|
- default:
|
|
|
- return nil
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- type x struct{}
|
|
|
- out := protoimpl.TypeBuilder{
|
|
|
- File: protoimpl.DescBuilder{
|
|
|
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
- RawDescriptor: file_ticket_proto_rawDesc,
|
|
|
- NumEnums: 3,
|
|
|
- NumMessages: 9,
|
|
|
- NumExtensions: 0,
|
|
|
- NumServices: 0,
|
|
|
- },
|
|
|
- GoTypes: file_ticket_proto_goTypes,
|
|
|
- DependencyIndexes: file_ticket_proto_depIdxs,
|
|
|
- EnumInfos: file_ticket_proto_enumTypes,
|
|
|
- MessageInfos: file_ticket_proto_msgTypes,
|
|
|
- }.Build()
|
|
|
- File_ticket_proto = out.File
|
|
|
- file_ticket_proto_rawDesc = nil
|
|
|
- file_ticket_proto_goTypes = nil
|
|
|
- file_ticket_proto_depIdxs = nil
|
|
|
-}
|