Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterAutoReplyServiceHttpHandlers(router *mux.Router, prefix string, cli AutoReplyServiceClient)
- func RegisterAutoReplyServiceServer(s grpc.ServiceRegistrar, srv AutoReplyServiceServer)
- func RegisterSupportHttpHandlers(router *mux.Router, prefix string, cli SupportClient)
- func RegisterSupportServer(s grpc.ServiceRegistrar, srv SupportServer)
- func RegisterTicketServiceHttpHandlers(router *mux.Router, prefix string, cli TicketServiceClient)
- func RegisterTicketServiceServer(s grpc.ServiceRegistrar, srv TicketServiceServer)
- type AddCommentInput
- func (*AddCommentInput) Descriptor() ([]byte, []int)deprecated
- func (x *AddCommentInput) GetComment() *Ticket_Comment
- func (x *AddCommentInput) GetTicketId() string
- func (*AddCommentInput) ProtoMessage()
- func (x *AddCommentInput) ProtoReflect() protoreflect.Message
- func (x *AddCommentInput) Reset()
- func (x *AddCommentInput) String() string
- type AddCommentOutput
- type ApproveTicketInput
- func (*ApproveTicketInput) Descriptor() ([]byte, []int)deprecated
- func (x *ApproveTicketInput) GetComment() string
- func (x *ApproveTicketInput) GetTicketId() string
- func (*ApproveTicketInput) ProtoMessage()
- func (x *ApproveTicketInput) ProtoReflect() protoreflect.Message
- func (x *ApproveTicketInput) Reset()
- func (x *ApproveTicketInput) String() string
- type ApproveTicketOutput
- type AutoReply
- func (*AutoReply) Descriptor() ([]byte, []int)deprecated
- func (x *AutoReply) GetId() string
- func (x *AutoReply) GetLabels() []string
- func (x *AutoReply) GetLocale() string
- func (x *AutoReply) GetMessage() *ecm.Content
- func (x *AutoReply) GetName() string
- func (*AutoReply) ProtoMessage()
- func (x *AutoReply) ProtoReflect() protoreflect.Message
- func (x *AutoReply) Reset()
- func (x *AutoReply) String() string
- type AutoReplyServiceClient
- type AutoReplyServiceInterceptor
- func (i *AutoReplyServiceInterceptor) CreateAutoReply(ctx context.Context, in *CreateAutoReplyInput, opts ...grpc.CallOption) (*CreateAutoReplyOutput, error)
- func (i *AutoReplyServiceInterceptor) DeleteAutoReply(ctx context.Context, in *DeleteAutoReplyInput, opts ...grpc.CallOption) (*DeleteAutoReplyOutput, error)
- func (i *AutoReplyServiceInterceptor) DescribeAutoReply(ctx context.Context, in *DescribeAutoReplyInput, opts ...grpc.CallOption) (*DescribeAutoReplyOutput, error)
- func (i *AutoReplyServiceInterceptor) ListAutoReplies(ctx context.Context, in *ListAutoRepliesInput, opts ...grpc.CallOption) (*ListAutoRepliesOutput, error)
- func (i *AutoReplyServiceInterceptor) UpdateAutoReply(ctx context.Context, in *UpdateAutoReplyInput, opts ...grpc.CallOption) (*UpdateAutoReplyOutput, error)
- type AutoReplyServiceServer
- type AutoReplyServiceService
- func (s *AutoReplyServiceService) CreateAutoReply(ctx context.Context, in *CreateAutoReplyInput) (*CreateAutoReplyOutput, error)
- func (s *AutoReplyServiceService) DeleteAutoReply(ctx context.Context, in *DeleteAutoReplyInput) (*DeleteAutoReplyOutput, error)
- func (s *AutoReplyServiceService) DescribeAutoReply(ctx context.Context, in *DescribeAutoReplyInput) (*DescribeAutoReplyOutput, error)
- func (s *AutoReplyServiceService) ListAutoReplies(ctx context.Context, in *ListAutoRepliesInput) (*ListAutoRepliesOutput, error)
- func (s *AutoReplyServiceService) UpdateAutoReply(ctx context.Context, in *UpdateAutoReplyInput) (*UpdateAutoReplyOutput, error)
- type CloseTicketInput
- func (*CloseTicketInput) Descriptor() ([]byte, []int)deprecated
- func (x *CloseTicketInput) GetComment() string
- func (x *CloseTicketInput) GetTicketId() string
- func (*CloseTicketInput) ProtoMessage()
- func (x *CloseTicketInput) ProtoReflect() protoreflect.Message
- func (x *CloseTicketInput) Reset()
- func (x *CloseTicketInput) String() string
- type CloseTicketOutput
- type CommentChangedEvent
- func (*CommentChangedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *CommentChangedEvent) GetAfter() *Ticket_Comment
- func (x *CommentChangedEvent) GetBefore() *Ticket_Comment
- func (x *CommentChangedEvent) GetTicketId() string
- func (*CommentChangedEvent) ProtoMessage()
- func (x *CommentChangedEvent) ProtoReflect() protoreflect.Message
- func (x *CommentChangedEvent) Reset()
- func (x *CommentChangedEvent) String() string
- type CreateAutoReplyInput
- func (*CreateAutoReplyInput) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAutoReplyInput) GetReply() *AutoReply
- func (*CreateAutoReplyInput) ProtoMessage()
- func (x *CreateAutoReplyInput) ProtoReflect() protoreflect.Message
- func (x *CreateAutoReplyInput) Reset()
- func (x *CreateAutoReplyInput) String() string
- type CreateAutoReplyOutput
- func (*CreateAutoReplyOutput) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAutoReplyOutput) GetReplyId() string
- func (*CreateAutoReplyOutput) ProtoMessage()
- func (x *CreateAutoReplyOutput) ProtoReflect() protoreflect.Message
- func (x *CreateAutoReplyOutput) Reset()
- func (x *CreateAutoReplyOutput) String() string
- type CreateTicketInput
- func (*CreateTicketInput) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTicketInput) GetCaptcha() string
- func (x *CreateTicketInput) GetTicket() *Ticket
- func (*CreateTicketInput) ProtoMessage()
- func (x *CreateTicketInput) ProtoReflect() protoreflect.Message
- func (x *CreateTicketInput) Reset()
- func (x *CreateTicketInput) String() string
- type CreateTicketOutput
- func (*CreateTicketOutput) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTicketOutput) GetTicketId() string
- func (*CreateTicketOutput) ProtoMessage()
- func (x *CreateTicketOutput) ProtoReflect() protoreflect.Message
- func (x *CreateTicketOutput) Reset()
- func (x *CreateTicketOutput) String() string
- type DeleteAutoReplyInput
- func (*DeleteAutoReplyInput) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAutoReplyInput) GetReplyId() string
- func (*DeleteAutoReplyInput) ProtoMessage()
- func (x *DeleteAutoReplyInput) ProtoReflect() protoreflect.Message
- func (x *DeleteAutoReplyInput) Reset()
- func (x *DeleteAutoReplyInput) String() string
- type DeleteAutoReplyOutput
- type DeleteCommentInput
- func (*DeleteCommentInput) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCommentInput) GetCommentId() string
- func (x *DeleteCommentInput) GetTicketId() string
- func (*DeleteCommentInput) ProtoMessage()
- func (x *DeleteCommentInput) ProtoReflect() protoreflect.Message
- func (x *DeleteCommentInput) Reset()
- func (x *DeleteCommentInput) String() string
- type DeleteCommentOutput
- type DeleteTicketInput
- type DeleteTicketOutput
- type DescribeAutoReplyInput
- func (*DescribeAutoReplyInput) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeAutoReplyInput) GetRender() bool
- func (x *DescribeAutoReplyInput) GetReplyId() string
- func (*DescribeAutoReplyInput) ProtoMessage()
- func (x *DescribeAutoReplyInput) ProtoReflect() protoreflect.Message
- func (x *DescribeAutoReplyInput) Reset()
- func (x *DescribeAutoReplyInput) String() string
- type DescribeAutoReplyOutput
- func (*DescribeAutoReplyOutput) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeAutoReplyOutput) GetReply() *AutoReply
- func (*DescribeAutoReplyOutput) ProtoMessage()
- func (x *DescribeAutoReplyOutput) ProtoReflect() protoreflect.Message
- func (x *DescribeAutoReplyOutput) Reset()
- func (x *DescribeAutoReplyOutput) String() string
- type DescribeCommentInput
- func (*DescribeCommentInput) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeCommentInput) GetCommentId() string
- func (x *DescribeCommentInput) GetRender() bool
- func (x *DescribeCommentInput) GetTicketId() string
- func (*DescribeCommentInput) ProtoMessage()
- func (x *DescribeCommentInput) ProtoReflect() protoreflect.Message
- func (x *DescribeCommentInput) Reset()
- func (x *DescribeCommentInput) String() string
- type DescribeCommentOutput
- func (*DescribeCommentOutput) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeCommentOutput) GetComment() *Ticket_Comment
- func (*DescribeCommentOutput) ProtoMessage()
- func (x *DescribeCommentOutput) ProtoReflect() protoreflect.Message
- func (x *DescribeCommentOutput) Reset()
- func (x *DescribeCommentOutput) String() string
- type DescribeTicketInput
- func (*DescribeTicketInput) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeTicketInput) GetRender() bool
- func (x *DescribeTicketInput) GetTicketId() string
- func (*DescribeTicketInput) ProtoMessage()
- func (x *DescribeTicketInput) ProtoReflect() protoreflect.Message
- func (x *DescribeTicketInput) Reset()
- func (x *DescribeTicketInput) String() string
- type DescribeTicketOutput
- func (*DescribeTicketOutput) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeTicketOutput) GetTicket() *Ticket
- func (*DescribeTicketOutput) ProtoMessage()
- func (x *DescribeTicketOutput) ProtoReflect() protoreflect.Message
- func (x *DescribeTicketOutput) Reset()
- func (x *DescribeTicketOutput) String() string
- type ListAutoRepliesInput
- func (*ListAutoRepliesInput) Descriptor() ([]byte, []int)deprecated
- func (x *ListAutoRepliesInput) GetFilters() *ListAutoRepliesInput_Filter
- func (x *ListAutoRepliesInput) GetOffset() int32
- func (x *ListAutoRepliesInput) GetRender() bool
- func (x *ListAutoRepliesInput) GetSize() int32
- func (*ListAutoRepliesInput) ProtoMessage()
- func (x *ListAutoRepliesInput) ProtoReflect() protoreflect.Message
- func (x *ListAutoRepliesInput) Reset()
- func (x *ListAutoRepliesInput) String() string
- type ListAutoRepliesInput_Filter
- func (*ListAutoRepliesInput_Filter) Descriptor() ([]byte, []int)deprecated
- func (x *ListAutoRepliesInput_Filter) GetId() []*wellknown.ExpressionID
- func (x *ListAutoRepliesInput_Filter) GetLocale() []*wellknown.ExpressionEnum
- func (x *ListAutoRepliesInput_Filter) GetQuery() string
- func (*ListAutoRepliesInput_Filter) ProtoMessage()
- func (x *ListAutoRepliesInput_Filter) ProtoReflect() protoreflect.Message
- func (x *ListAutoRepliesInput_Filter) Reset()
- func (x *ListAutoRepliesInput_Filter) String() string
- type ListAutoRepliesOutput
- func (*ListAutoRepliesOutput) Descriptor() ([]byte, []int)deprecated
- func (x *ListAutoRepliesOutput) GetItems() []*AutoReply
- func (x *ListAutoRepliesOutput) GetTotal() int32
- func (*ListAutoRepliesOutput) ProtoMessage()
- func (x *ListAutoRepliesOutput) ProtoReflect() protoreflect.Message
- func (x *ListAutoRepliesOutput) Reset()
- func (x *ListAutoRepliesOutput) String() string
- type ListCommentsInput
- func (*ListCommentsInput) Descriptor() ([]byte, []int)deprecated
- func (x *ListCommentsInput) GetOffset() int32
- func (x *ListCommentsInput) GetRender() bool
- func (x *ListCommentsInput) GetSize() int32
- func (x *ListCommentsInput) GetTicketId() string
- func (*ListCommentsInput) ProtoMessage()
- func (x *ListCommentsInput) ProtoReflect() protoreflect.Message
- func (x *ListCommentsInput) Reset()
- func (x *ListCommentsInput) String() string
- type ListCommentsOutput
- func (*ListCommentsOutput) Descriptor() ([]byte, []int)deprecated
- func (x *ListCommentsOutput) GetItems() []*Ticket_Comment
- func (x *ListCommentsOutput) GetTotal() int32
- func (*ListCommentsOutput) ProtoMessage()
- func (x *ListCommentsOutput) ProtoReflect() protoreflect.Message
- func (x *ListCommentsOutput) Reset()
- func (x *ListCommentsOutput) String() string
- type ListTicketsInput
- func (*ListTicketsInput) Descriptor() ([]byte, []int)deprecated
- func (x *ListTicketsInput) GetFilters() *ListTicketsInput_Filter
- func (x *ListTicketsInput) GetOffset() int32
- func (x *ListTicketsInput) GetRender() bool
- func (x *ListTicketsInput) GetSize() int32
- func (*ListTicketsInput) ProtoMessage()
- func (x *ListTicketsInput) ProtoReflect() protoreflect.Message
- func (x *ListTicketsInput) Reset()
- func (x *ListTicketsInput) String() string
- type ListTicketsInput_Filter
- func (*ListTicketsInput_Filter) Descriptor() ([]byte, []int)deprecated
- func (x *ListTicketsInput_Filter) GetCreatedAt() []*wellknown.ExpressionTimestamp
- func (x *ListTicketsInput_Filter) GetId() []*wellknown.ExpressionID
- func (x *ListTicketsInput_Filter) GetLocale() []*wellknown.ExpressionEnum
- func (x *ListTicketsInput_Filter) GetQuery() string
- func (x *ListTicketsInput_Filter) GetStatus() []*wellknown.ExpressionEnum
- func (x *ListTicketsInput_Filter) GetType() []*wellknown.ExpressionEnum
- func (x *ListTicketsInput_Filter) GetUpdatedAt() []*wellknown.ExpressionTimestamp
- func (x *ListTicketsInput_Filter) GetUserEmail() []*wellknown.ExpressionEnum
- func (x *ListTicketsInput_Filter) GetUserId() []*wellknown.ExpressionID
- func (*ListTicketsInput_Filter) ProtoMessage()
- func (x *ListTicketsInput_Filter) ProtoReflect() protoreflect.Message
- func (x *ListTicketsInput_Filter) Reset()
- func (x *ListTicketsInput_Filter) String() string
- type ListTicketsOutput
- func (*ListTicketsOutput) Descriptor() ([]byte, []int)deprecated
- func (x *ListTicketsOutput) GetItems() []*Ticket
- func (x *ListTicketsOutput) GetTotal() int32
- func (*ListTicketsOutput) ProtoMessage()
- func (x *ListTicketsOutput) ProtoReflect() protoreflect.Message
- func (x *ListTicketsOutput) Reset()
- func (x *ListTicketsOutput) String() string
- type RejectTicketInput
- func (*RejectTicketInput) Descriptor() ([]byte, []int)deprecated
- func (x *RejectTicketInput) GetComment() string
- func (x *RejectTicketInput) GetTicketId() string
- func (*RejectTicketInput) ProtoMessage()
- func (x *RejectTicketInput) ProtoReflect() protoreflect.Message
- func (x *RejectTicketInput) Reset()
- func (x *RejectTicketInput) String() string
- type RejectTicketOutput
- type SupportClient
- type SupportInterceptor
- func (i *SupportInterceptor) AddComment(ctx context.Context, in *AddCommentInput, opts ...grpc.CallOption) (*AddCommentOutput, error)
- func (i *SupportInterceptor) ApproveTicket(ctx context.Context, in *ApproveTicketInput, opts ...grpc.CallOption) (*ApproveTicketOutput, error)
- func (i *SupportInterceptor) CloseTicket(ctx context.Context, in *CloseTicketInput, opts ...grpc.CallOption) (*CloseTicketOutput, error)
- func (i *SupportInterceptor) CreateAutoReply(ctx context.Context, in *CreateAutoReplyInput, opts ...grpc.CallOption) (*CreateAutoReplyOutput, error)
- func (i *SupportInterceptor) CreateTicket(ctx context.Context, in *CreateTicketInput, opts ...grpc.CallOption) (*CreateTicketOutput, error)
- func (i *SupportInterceptor) DeleteAutoReply(ctx context.Context, in *DeleteAutoReplyInput, opts ...grpc.CallOption) (*DeleteAutoReplyOutput, error)
- func (i *SupportInterceptor) DeleteComment(ctx context.Context, in *DeleteCommentInput, opts ...grpc.CallOption) (*DeleteCommentOutput, error)
- func (i *SupportInterceptor) DeleteTicket(ctx context.Context, in *DeleteTicketInput, opts ...grpc.CallOption) (*DeleteTicketOutput, error)
- func (i *SupportInterceptor) DescribeAutoReply(ctx context.Context, in *DescribeAutoReplyInput, opts ...grpc.CallOption) (*DescribeAutoReplyOutput, error)
- func (i *SupportInterceptor) DescribeComment(ctx context.Context, in *DescribeCommentInput, opts ...grpc.CallOption) (*DescribeCommentOutput, error)
- func (i *SupportInterceptor) DescribeTicket(ctx context.Context, in *DescribeTicketInput, opts ...grpc.CallOption) (*DescribeTicketOutput, error)
- func (i *SupportInterceptor) ListAutoReplies(ctx context.Context, in *ListAutoRepliesInput, opts ...grpc.CallOption) (*ListAutoRepliesOutput, error)
- func (i *SupportInterceptor) ListComments(ctx context.Context, in *ListCommentsInput, opts ...grpc.CallOption) (*ListCommentsOutput, error)
- func (i *SupportInterceptor) ListTickets(ctx context.Context, in *ListTicketsInput, opts ...grpc.CallOption) (*ListTicketsOutput, error)
- func (i *SupportInterceptor) RejectTicket(ctx context.Context, in *RejectTicketInput, opts ...grpc.CallOption) (*RejectTicketOutput, error)
- func (i *SupportInterceptor) UpdateAutoReply(ctx context.Context, in *UpdateAutoReplyInput, opts ...grpc.CallOption) (*UpdateAutoReplyOutput, error)
- func (i *SupportInterceptor) UpdateComment(ctx context.Context, in *UpdateCommentInput, opts ...grpc.CallOption) (*UpdateCommentOutput, error)
- func (i *SupportInterceptor) UpdateTicket(ctx context.Context, in *UpdateTicketInput, opts ...grpc.CallOption) (*UpdateTicketOutput, error)
- func (i *SupportInterceptor) UploadAttachment(ctx context.Context, in *UploadAttachmentInput, opts ...grpc.CallOption) (*UploadAttachmentOutput, error)
- type SupportServer
- type SupportService
- func (s *SupportService) AddComment(ctx context.Context, in *AddCommentInput) (*AddCommentOutput, error)
- func (s *SupportService) ApproveTicket(ctx context.Context, in *ApproveTicketInput) (*ApproveTicketOutput, error)
- func (s *SupportService) CloseTicket(ctx context.Context, in *CloseTicketInput) (*CloseTicketOutput, error)
- func (s *SupportService) CreateAutoReply(ctx context.Context, in *CreateAutoReplyInput) (*CreateAutoReplyOutput, error)
- func (s *SupportService) CreateTicket(ctx context.Context, in *CreateTicketInput) (*CreateTicketOutput, error)
- func (s *SupportService) DeleteAutoReply(ctx context.Context, in *DeleteAutoReplyInput) (*DeleteAutoReplyOutput, error)
- func (s *SupportService) DeleteComment(ctx context.Context, in *DeleteCommentInput) (*DeleteCommentOutput, error)
- func (s *SupportService) DeleteTicket(ctx context.Context, in *DeleteTicketInput) (*DeleteTicketOutput, error)
- func (s *SupportService) DescribeAutoReply(ctx context.Context, in *DescribeAutoReplyInput) (*DescribeAutoReplyOutput, error)
- func (s *SupportService) DescribeComment(ctx context.Context, in *DescribeCommentInput) (*DescribeCommentOutput, error)
- func (s *SupportService) DescribeTicket(ctx context.Context, in *DescribeTicketInput) (*DescribeTicketOutput, error)
- func (s *SupportService) ListAutoReplies(ctx context.Context, in *ListAutoRepliesInput) (*ListAutoRepliesOutput, error)
- func (s *SupportService) ListComments(ctx context.Context, in *ListCommentsInput) (*ListCommentsOutput, error)
- func (s *SupportService) ListTickets(ctx context.Context, in *ListTicketsInput) (*ListTicketsOutput, error)
- func (s *SupportService) RejectTicket(ctx context.Context, in *RejectTicketInput) (*RejectTicketOutput, error)
- func (s *SupportService) UpdateAutoReply(ctx context.Context, in *UpdateAutoReplyInput) (*UpdateAutoReplyOutput, error)
- func (s *SupportService) UpdateComment(ctx context.Context, in *UpdateCommentInput) (*UpdateCommentOutput, error)
- func (s *SupportService) UpdateTicket(ctx context.Context, in *UpdateTicketInput) (*UpdateTicketOutput, error)
- func (s *SupportService) UploadAttachment(ctx context.Context, in *UploadAttachmentInput) (*UploadAttachmentOutput, error)
- type Ticket
- func (*Ticket) Descriptor() ([]byte, []int)deprecated
- func (x *Ticket) GetCreatedAt() *timestamppb.Timestamp
- func (x *Ticket) GetId() string
- func (x *Ticket) GetLocale() string
- func (x *Ticket) GetMessage() *ecm.Content
- func (x *Ticket) GetMetadata() map[string]string
- func (x *Ticket) GetSecret() string
- func (x *Ticket) GetStatus() Ticket_Status
- func (x *Ticket) GetSubject() string
- func (x *Ticket) GetType() Ticket_Type
- func (x *Ticket) GetUpdatedAt() *timestamppb.Timestamp
- func (x *Ticket) GetUserEmail() string
- func (x *Ticket) GetUserId() string
- func (*Ticket) ProtoMessage()
- func (x *Ticket) ProtoReflect() protoreflect.Message
- func (x *Ticket) Reset()
- func (x *Ticket) String() string
- type TicketChangedEvent
- func (*TicketChangedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *TicketChangedEvent) GetAfter() *Ticket
- func (x *TicketChangedEvent) GetBefore() *Ticket
- func (*TicketChangedEvent) ProtoMessage()
- func (x *TicketChangedEvent) ProtoReflect() protoreflect.Message
- func (x *TicketChangedEvent) Reset()
- func (x *TicketChangedEvent) String() string
- type TicketServiceClient
- type TicketServiceInterceptor
- func (i *TicketServiceInterceptor) AddComment(ctx context.Context, in *AddCommentInput, opts ...grpc.CallOption) (*AddCommentOutput, error)
- func (i *TicketServiceInterceptor) ApproveTicket(ctx context.Context, in *ApproveTicketInput, opts ...grpc.CallOption) (*ApproveTicketOutput, error)
- func (i *TicketServiceInterceptor) CloseTicket(ctx context.Context, in *CloseTicketInput, opts ...grpc.CallOption) (*CloseTicketOutput, error)
- func (i *TicketServiceInterceptor) CreateTicket(ctx context.Context, in *CreateTicketInput, opts ...grpc.CallOption) (*CreateTicketOutput, error)
- func (i *TicketServiceInterceptor) DeleteComment(ctx context.Context, in *DeleteCommentInput, opts ...grpc.CallOption) (*DeleteCommentOutput, error)
- func (i *TicketServiceInterceptor) DeleteTicket(ctx context.Context, in *DeleteTicketInput, opts ...grpc.CallOption) (*DeleteTicketOutput, error)
- func (i *TicketServiceInterceptor) DescribeComment(ctx context.Context, in *DescribeCommentInput, opts ...grpc.CallOption) (*DescribeCommentOutput, error)
- func (i *TicketServiceInterceptor) DescribeTicket(ctx context.Context, in *DescribeTicketInput, opts ...grpc.CallOption) (*DescribeTicketOutput, error)
- func (i *TicketServiceInterceptor) ListComments(ctx context.Context, in *ListCommentsInput, opts ...grpc.CallOption) (*ListCommentsOutput, error)
- func (i *TicketServiceInterceptor) ListTickets(ctx context.Context, in *ListTicketsInput, opts ...grpc.CallOption) (*ListTicketsOutput, error)
- func (i *TicketServiceInterceptor) RejectTicket(ctx context.Context, in *RejectTicketInput, opts ...grpc.CallOption) (*RejectTicketOutput, error)
- func (i *TicketServiceInterceptor) UpdateComment(ctx context.Context, in *UpdateCommentInput, opts ...grpc.CallOption) (*UpdateCommentOutput, error)
- func (i *TicketServiceInterceptor) UpdateTicket(ctx context.Context, in *UpdateTicketInput, opts ...grpc.CallOption) (*UpdateTicketOutput, error)
- func (i *TicketServiceInterceptor) UploadAttachment(ctx context.Context, in *UploadAttachmentInput, opts ...grpc.CallOption) (*UploadAttachmentOutput, error)
- type TicketServiceServer
- type TicketServiceService
- func (s *TicketServiceService) AddComment(ctx context.Context, in *AddCommentInput) (*AddCommentOutput, error)
- func (s *TicketServiceService) ApproveTicket(ctx context.Context, in *ApproveTicketInput) (*ApproveTicketOutput, error)
- func (s *TicketServiceService) CloseTicket(ctx context.Context, in *CloseTicketInput) (*CloseTicketOutput, error)
- func (s *TicketServiceService) CreateTicket(ctx context.Context, in *CreateTicketInput) (*CreateTicketOutput, error)
- func (s *TicketServiceService) DeleteComment(ctx context.Context, in *DeleteCommentInput) (*DeleteCommentOutput, error)
- func (s *TicketServiceService) DeleteTicket(ctx context.Context, in *DeleteTicketInput) (*DeleteTicketOutput, error)
- func (s *TicketServiceService) DescribeComment(ctx context.Context, in *DescribeCommentInput) (*DescribeCommentOutput, error)
- func (s *TicketServiceService) DescribeTicket(ctx context.Context, in *DescribeTicketInput) (*DescribeTicketOutput, error)
- func (s *TicketServiceService) ListComments(ctx context.Context, in *ListCommentsInput) (*ListCommentsOutput, error)
- func (s *TicketServiceService) ListTickets(ctx context.Context, in *ListTicketsInput) (*ListTicketsOutput, error)
- func (s *TicketServiceService) RejectTicket(ctx context.Context, in *RejectTicketInput) (*RejectTicketOutput, error)
- func (s *TicketServiceService) UpdateComment(ctx context.Context, in *UpdateCommentInput) (*UpdateCommentOutput, error)
- func (s *TicketServiceService) UpdateTicket(ctx context.Context, in *UpdateTicketInput) (*UpdateTicketOutput, error)
- func (s *TicketServiceService) UploadAttachment(ctx context.Context, in *UploadAttachmentInput) (*UploadAttachmentOutput, error)
- type Ticket_Comment
- func (*Ticket_Comment) Descriptor() ([]byte, []int)deprecated
- func (x *Ticket_Comment) GetCreatedAt() *timestamppb.Timestamp
- func (x *Ticket_Comment) GetId() string
- func (x *Ticket_Comment) GetMessage() *ecm.Content
- func (x *Ticket_Comment) GetMetadata() map[string]string
- func (x *Ticket_Comment) GetUpdatedAt() *timestamppb.Timestamp
- func (x *Ticket_Comment) GetUserEmail() string
- func (x *Ticket_Comment) GetUserId() string
- func (*Ticket_Comment) ProtoMessage()
- func (x *Ticket_Comment) ProtoReflect() protoreflect.Message
- func (x *Ticket_Comment) Reset()
- func (x *Ticket_Comment) String() string
- type Ticket_Status
- func (Ticket_Status) Descriptor() protoreflect.EnumDescriptor
- func (x Ticket_Status) Enum() *Ticket_Status
- func (Ticket_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x Ticket_Status) Number() protoreflect.EnumNumber
- func (x Ticket_Status) String() string
- func (Ticket_Status) Type() protoreflect.EnumType
- type Ticket_Type
- func (Ticket_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Ticket_Type) Enum() *Ticket_Type
- func (Ticket_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Ticket_Type) Number() protoreflect.EnumNumber
- func (x Ticket_Type) String() string
- func (Ticket_Type) Type() protoreflect.EnumType
- type UnimplementedAutoReplyServiceServer
- func (UnimplementedAutoReplyServiceServer) CreateAutoReply(context.Context, *CreateAutoReplyInput) (*CreateAutoReplyOutput, error)
- func (UnimplementedAutoReplyServiceServer) DeleteAutoReply(context.Context, *DeleteAutoReplyInput) (*DeleteAutoReplyOutput, error)
- func (UnimplementedAutoReplyServiceServer) DescribeAutoReply(context.Context, *DescribeAutoReplyInput) (*DescribeAutoReplyOutput, error)
- func (UnimplementedAutoReplyServiceServer) ListAutoReplies(context.Context, *ListAutoRepliesInput) (*ListAutoRepliesOutput, error)
- func (UnimplementedAutoReplyServiceServer) UpdateAutoReply(context.Context, *UpdateAutoReplyInput) (*UpdateAutoReplyOutput, error)
- type UnimplementedSupportServer
- func (UnimplementedSupportServer) AddComment(context.Context, *AddCommentInput) (*AddCommentOutput, error)
- func (UnimplementedSupportServer) ApproveTicket(context.Context, *ApproveTicketInput) (*ApproveTicketOutput, error)
- func (UnimplementedSupportServer) CloseTicket(context.Context, *CloseTicketInput) (*CloseTicketOutput, error)
- func (UnimplementedSupportServer) CreateAutoReply(context.Context, *CreateAutoReplyInput) (*CreateAutoReplyOutput, error)
- func (UnimplementedSupportServer) CreateTicket(context.Context, *CreateTicketInput) (*CreateTicketOutput, error)
- func (UnimplementedSupportServer) DeleteAutoReply(context.Context, *DeleteAutoReplyInput) (*DeleteAutoReplyOutput, error)
- func (UnimplementedSupportServer) DeleteComment(context.Context, *DeleteCommentInput) (*DeleteCommentOutput, error)
- func (UnimplementedSupportServer) DeleteTicket(context.Context, *DeleteTicketInput) (*DeleteTicketOutput, error)
- func (UnimplementedSupportServer) DescribeAutoReply(context.Context, *DescribeAutoReplyInput) (*DescribeAutoReplyOutput, error)
- func (UnimplementedSupportServer) DescribeComment(context.Context, *DescribeCommentInput) (*DescribeCommentOutput, error)
- func (UnimplementedSupportServer) DescribeTicket(context.Context, *DescribeTicketInput) (*DescribeTicketOutput, error)
- func (UnimplementedSupportServer) ListAutoReplies(context.Context, *ListAutoRepliesInput) (*ListAutoRepliesOutput, error)
- func (UnimplementedSupportServer) ListComments(context.Context, *ListCommentsInput) (*ListCommentsOutput, error)
- func (UnimplementedSupportServer) ListTickets(context.Context, *ListTicketsInput) (*ListTicketsOutput, error)
- func (UnimplementedSupportServer) RejectTicket(context.Context, *RejectTicketInput) (*RejectTicketOutput, error)
- func (UnimplementedSupportServer) UpdateAutoReply(context.Context, *UpdateAutoReplyInput) (*UpdateAutoReplyOutput, error)
- func (UnimplementedSupportServer) UpdateComment(context.Context, *UpdateCommentInput) (*UpdateCommentOutput, error)
- func (UnimplementedSupportServer) UpdateTicket(context.Context, *UpdateTicketInput) (*UpdateTicketOutput, error)
- func (UnimplementedSupportServer) UploadAttachment(context.Context, *UploadAttachmentInput) (*UploadAttachmentOutput, error)
- type UnimplementedTicketServiceServer
- func (UnimplementedTicketServiceServer) AddComment(context.Context, *AddCommentInput) (*AddCommentOutput, error)
- func (UnimplementedTicketServiceServer) ApproveTicket(context.Context, *ApproveTicketInput) (*ApproveTicketOutput, error)
- func (UnimplementedTicketServiceServer) CloseTicket(context.Context, *CloseTicketInput) (*CloseTicketOutput, error)
- func (UnimplementedTicketServiceServer) CreateTicket(context.Context, *CreateTicketInput) (*CreateTicketOutput, error)
- func (UnimplementedTicketServiceServer) DeleteComment(context.Context, *DeleteCommentInput) (*DeleteCommentOutput, error)
- func (UnimplementedTicketServiceServer) DeleteTicket(context.Context, *DeleteTicketInput) (*DeleteTicketOutput, error)
- func (UnimplementedTicketServiceServer) DescribeComment(context.Context, *DescribeCommentInput) (*DescribeCommentOutput, error)
- func (UnimplementedTicketServiceServer) DescribeTicket(context.Context, *DescribeTicketInput) (*DescribeTicketOutput, error)
- func (UnimplementedTicketServiceServer) ListComments(context.Context, *ListCommentsInput) (*ListCommentsOutput, error)
- func (UnimplementedTicketServiceServer) ListTickets(context.Context, *ListTicketsInput) (*ListTicketsOutput, error)
- func (UnimplementedTicketServiceServer) RejectTicket(context.Context, *RejectTicketInput) (*RejectTicketOutput, error)
- func (UnimplementedTicketServiceServer) UpdateComment(context.Context, *UpdateCommentInput) (*UpdateCommentOutput, error)
- func (UnimplementedTicketServiceServer) UpdateTicket(context.Context, *UpdateTicketInput) (*UpdateTicketOutput, error)
- func (UnimplementedTicketServiceServer) UploadAttachment(context.Context, *UploadAttachmentInput) (*UploadAttachmentOutput, error)
- type UnsafeAutoReplyServiceServer
- type UnsafeSupportServer
- type UnsafeTicketServiceServer
- type UpdateAutoReplyInput
- func (*UpdateAutoReplyInput) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAutoReplyInput) GetReply() *AutoReply
- func (x *UpdateAutoReplyInput) GetReplyId() string
- func (*UpdateAutoReplyInput) ProtoMessage()
- func (x *UpdateAutoReplyInput) ProtoReflect() protoreflect.Message
- func (x *UpdateAutoReplyInput) Reset()
- func (x *UpdateAutoReplyInput) String() string
- type UpdateAutoReplyOutput
- type UpdateCommentInput
- func (*UpdateCommentInput) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCommentInput) GetComment() *Ticket_Comment
- func (x *UpdateCommentInput) GetCommentId() string
- func (x *UpdateCommentInput) GetTicketId() string
- func (*UpdateCommentInput) ProtoMessage()
- func (x *UpdateCommentInput) ProtoReflect() protoreflect.Message
- func (x *UpdateCommentInput) Reset()
- func (x *UpdateCommentInput) String() string
- type UpdateCommentOutput
- type UpdateTicketInput
- func (*UpdateTicketInput) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTicketInput) GetTicket() *Ticket
- func (x *UpdateTicketInput) GetTicketId() string
- func (*UpdateTicketInput) ProtoMessage()
- func (x *UpdateTicketInput) ProtoReflect() protoreflect.Message
- func (x *UpdateTicketInput) Reset()
- func (x *UpdateTicketInput) String() string
- type UpdateTicketOutput
- type UploadAttachmentInput
- func (*UploadAttachmentInput) Descriptor() ([]byte, []int)deprecated
- func (x *UploadAttachmentInput) GetData() []byte
- func (x *UploadAttachmentInput) GetName() string
- func (x *UploadAttachmentInput) GetType() string
- func (*UploadAttachmentInput) ProtoMessage()
- func (x *UploadAttachmentInput) ProtoReflect() protoreflect.Message
- func (x *UploadAttachmentInput) Reset()
- func (x *UploadAttachmentInput) String() string
- type UploadAttachmentOutput
- func (*UploadAttachmentOutput) Descriptor() ([]byte, []int)deprecated
- func (x *UploadAttachmentOutput) GetAttachmentUrl() string
- func (*UploadAttachmentOutput) ProtoMessage()
- func (x *UploadAttachmentOutput) ProtoReflect() protoreflect.Message
- func (x *UploadAttachmentOutput) Reset()
- func (x *UploadAttachmentOutput) String() string
Constants ¶
const ( AutoReplyService_CreateAutoReply_FullMethodName = "/eolymp.helpdesk.AutoReplyService/CreateAutoReply" AutoReplyService_UpdateAutoReply_FullMethodName = "/eolymp.helpdesk.AutoReplyService/UpdateAutoReply" AutoReplyService_DeleteAutoReply_FullMethodName = "/eolymp.helpdesk.AutoReplyService/DeleteAutoReply" AutoReplyService_ListAutoReplies_FullMethodName = "/eolymp.helpdesk.AutoReplyService/ListAutoReplies" AutoReplyService_DescribeAutoReply_FullMethodName = "/eolymp.helpdesk.AutoReplyService/DescribeAutoReply" )
const ( Support_CreateTicket_FullMethodName = "/eolymp.helpdesk.Support/CreateTicket" Support_UpdateTicket_FullMethodName = "/eolymp.helpdesk.Support/UpdateTicket" Support_DeleteTicket_FullMethodName = "/eolymp.helpdesk.Support/DeleteTicket" Support_DescribeTicket_FullMethodName = "/eolymp.helpdesk.Support/DescribeTicket" Support_ListTickets_FullMethodName = "/eolymp.helpdesk.Support/ListTickets" Support_ApproveTicket_FullMethodName = "/eolymp.helpdesk.Support/ApproveTicket" Support_RejectTicket_FullMethodName = "/eolymp.helpdesk.Support/RejectTicket" Support_CloseTicket_FullMethodName = "/eolymp.helpdesk.Support/CloseTicket" Support_AddComment_FullMethodName = "/eolymp.helpdesk.Support/AddComment" Support_UpdateComment_FullMethodName = "/eolymp.helpdesk.Support/UpdateComment" Support_DeleteComment_FullMethodName = "/eolymp.helpdesk.Support/DeleteComment" Support_ListComments_FullMethodName = "/eolymp.helpdesk.Support/ListComments" Support_DescribeComment_FullMethodName = "/eolymp.helpdesk.Support/DescribeComment" Support_CreateAutoReply_FullMethodName = "/eolymp.helpdesk.Support/CreateAutoReply" Support_UpdateAutoReply_FullMethodName = "/eolymp.helpdesk.Support/UpdateAutoReply" Support_DeleteAutoReply_FullMethodName = "/eolymp.helpdesk.Support/DeleteAutoReply" Support_ListAutoReplies_FullMethodName = "/eolymp.helpdesk.Support/ListAutoReplies" Support_DescribeAutoReply_FullMethodName = "/eolymp.helpdesk.Support/DescribeAutoReply" Support_UploadAttachment_FullMethodName = "/eolymp.helpdesk.Support/UploadAttachment" )
const ( TicketService_CreateTicket_FullMethodName = "/eolymp.helpdesk.TicketService/CreateTicket" TicketService_UpdateTicket_FullMethodName = "/eolymp.helpdesk.TicketService/UpdateTicket" TicketService_DeleteTicket_FullMethodName = "/eolymp.helpdesk.TicketService/DeleteTicket" TicketService_DescribeTicket_FullMethodName = "/eolymp.helpdesk.TicketService/DescribeTicket" TicketService_ListTickets_FullMethodName = "/eolymp.helpdesk.TicketService/ListTickets" TicketService_ApproveTicket_FullMethodName = "/eolymp.helpdesk.TicketService/ApproveTicket" TicketService_RejectTicket_FullMethodName = "/eolymp.helpdesk.TicketService/RejectTicket" TicketService_CloseTicket_FullMethodName = "/eolymp.helpdesk.TicketService/CloseTicket" TicketService_AddComment_FullMethodName = "/eolymp.helpdesk.TicketService/AddComment" TicketService_UpdateComment_FullMethodName = "/eolymp.helpdesk.TicketService/UpdateComment" TicketService_DeleteComment_FullMethodName = "/eolymp.helpdesk.TicketService/DeleteComment" TicketService_ListComments_FullMethodName = "/eolymp.helpdesk.TicketService/ListComments" TicketService_DescribeComment_FullMethodName = "/eolymp.helpdesk.TicketService/DescribeComment" TicketService_UploadAttachment_FullMethodName = "/eolymp.helpdesk.TicketService/UploadAttachment" )
Variables ¶
var ( Ticket_Type_name = map[int32]string{ 0: "NONE", 1: "QUESTION", 2: "QUOTA_INCREASE", 3: "FEEDBACK", 4: "ACADEMIC_PLAN_REQUEST", 5: "SALES_REQUEST", } Ticket_Type_value = map[string]int32{ "NONE": 0, "QUESTION": 1, "QUOTA_INCREASE": 2, "FEEDBACK": 3, "ACADEMIC_PLAN_REQUEST": 4, "SALES_REQUEST": 5, } )
Enum value maps for Ticket_Type.
var ( Ticket_Status_name = map[int32]string{ 0: "UNKNOWN", 1: "PENDING", 2: "AWAITING", 3: "CLOSED", 4: "APPROVED", 5: "REJECTED", } Ticket_Status_value = map[string]int32{ "UNKNOWN": 0, "PENDING": 1, "AWAITING": 2, "CLOSED": 3, "APPROVED": 4, "REJECTED": 5, } )
Enum value maps for Ticket_Status.
var AutoReplyService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "eolymp.helpdesk.AutoReplyService", HandlerType: (*AutoReplyServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateAutoReply", Handler: _AutoReplyService_CreateAutoReply_Handler, }, { MethodName: "UpdateAutoReply", Handler: _AutoReplyService_UpdateAutoReply_Handler, }, { MethodName: "DeleteAutoReply", Handler: _AutoReplyService_DeleteAutoReply_Handler, }, { MethodName: "ListAutoReplies", Handler: _AutoReplyService_ListAutoReplies_Handler, }, { MethodName: "DescribeAutoReply", Handler: _AutoReplyService_DescribeAutoReply_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "eolymp/helpdesk/auto_reply_service.proto", }
AutoReplyService_ServiceDesc is the grpc.ServiceDesc for AutoReplyService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_eolymp_helpdesk_auto_reply_proto protoreflect.FileDescriptor
var File_eolymp_helpdesk_auto_reply_service_proto protoreflect.FileDescriptor
var File_eolymp_helpdesk_events_proto protoreflect.FileDescriptor
var File_eolymp_helpdesk_support_proto protoreflect.FileDescriptor
var File_eolymp_helpdesk_ticket_proto protoreflect.FileDescriptor
var File_eolymp_helpdesk_ticket_service_proto protoreflect.FileDescriptor
var Support_ServiceDesc = grpc.ServiceDesc{ ServiceName: "eolymp.helpdesk.Support", HandlerType: (*SupportServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateTicket", Handler: _Support_CreateTicket_Handler, }, { MethodName: "UpdateTicket", Handler: _Support_UpdateTicket_Handler, }, { MethodName: "DeleteTicket", Handler: _Support_DeleteTicket_Handler, }, { MethodName: "DescribeTicket", Handler: _Support_DescribeTicket_Handler, }, { MethodName: "ListTickets", Handler: _Support_ListTickets_Handler, }, { MethodName: "ApproveTicket", Handler: _Support_ApproveTicket_Handler, }, { MethodName: "RejectTicket", Handler: _Support_RejectTicket_Handler, }, { MethodName: "CloseTicket", Handler: _Support_CloseTicket_Handler, }, { MethodName: "AddComment", Handler: _Support_AddComment_Handler, }, { MethodName: "UpdateComment", Handler: _Support_UpdateComment_Handler, }, { MethodName: "DeleteComment", Handler: _Support_DeleteComment_Handler, }, { MethodName: "ListComments", Handler: _Support_ListComments_Handler, }, { MethodName: "DescribeComment", Handler: _Support_DescribeComment_Handler, }, { MethodName: "CreateAutoReply", Handler: _Support_CreateAutoReply_Handler, }, { MethodName: "UpdateAutoReply", Handler: _Support_UpdateAutoReply_Handler, }, { MethodName: "DeleteAutoReply", Handler: _Support_DeleteAutoReply_Handler, }, { MethodName: "ListAutoReplies", Handler: _Support_ListAutoReplies_Handler, }, { MethodName: "DescribeAutoReply", Handler: _Support_DescribeAutoReply_Handler, }, { MethodName: "UploadAttachment", Handler: _Support_UploadAttachment_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "eolymp/helpdesk/support.proto", }
Support_ServiceDesc is the grpc.ServiceDesc for Support service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var TicketService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "eolymp.helpdesk.TicketService", HandlerType: (*TicketServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateTicket", Handler: _TicketService_CreateTicket_Handler, }, { MethodName: "UpdateTicket", Handler: _TicketService_UpdateTicket_Handler, }, { MethodName: "DeleteTicket", Handler: _TicketService_DeleteTicket_Handler, }, { MethodName: "DescribeTicket", Handler: _TicketService_DescribeTicket_Handler, }, { MethodName: "ListTickets", Handler: _TicketService_ListTickets_Handler, }, { MethodName: "ApproveTicket", Handler: _TicketService_ApproveTicket_Handler, }, { MethodName: "RejectTicket", Handler: _TicketService_RejectTicket_Handler, }, { MethodName: "CloseTicket", Handler: _TicketService_CloseTicket_Handler, }, { MethodName: "AddComment", Handler: _TicketService_AddComment_Handler, }, { MethodName: "UpdateComment", Handler: _TicketService_UpdateComment_Handler, }, { MethodName: "DeleteComment", Handler: _TicketService_DeleteComment_Handler, }, { MethodName: "ListComments", Handler: _TicketService_ListComments_Handler, }, { MethodName: "DescribeComment", Handler: _TicketService_DescribeComment_Handler, }, { MethodName: "UploadAttachment", Handler: _TicketService_UploadAttachment_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "eolymp/helpdesk/ticket_service.proto", }
TicketService_ServiceDesc is the grpc.ServiceDesc for TicketService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterAutoReplyServiceHttpHandlers ¶
func RegisterAutoReplyServiceHttpHandlers(router *mux.Router, prefix string, cli AutoReplyServiceClient)
RegisterAutoReplyServiceHttpHandlers adds handlers for for AutoReplyServiceClient This constructor creates http.Handler, the actual implementation might change at any moment
func RegisterAutoReplyServiceServer ¶
func RegisterAutoReplyServiceServer(s grpc.ServiceRegistrar, srv AutoReplyServiceServer)
func RegisterSupportHttpHandlers ¶
func RegisterSupportHttpHandlers(router *mux.Router, prefix string, cli SupportClient)
RegisterSupportHttpHandlers adds handlers for for SupportClient This constructor creates http.Handler, the actual implementation might change at any moment
func RegisterSupportServer ¶
func RegisterSupportServer(s grpc.ServiceRegistrar, srv SupportServer)
func RegisterTicketServiceHttpHandlers ¶
func RegisterTicketServiceHttpHandlers(router *mux.Router, prefix string, cli TicketServiceClient)
RegisterTicketServiceHttpHandlers adds handlers for for TicketServiceClient This constructor creates http.Handler, the actual implementation might change at any moment
func RegisterTicketServiceServer ¶
func RegisterTicketServiceServer(s grpc.ServiceRegistrar, srv TicketServiceServer)
Types ¶
type AddCommentInput ¶
type AddCommentInput struct { TicketId string `protobuf:"bytes,1,opt,name=ticket_id,json=ticketId,proto3" json:"ticket_id,omitempty"` Comment *Ticket_Comment `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"` // contains filtered or unexported fields }
func (*AddCommentInput) Descriptor
deprecated
func (*AddCommentInput) Descriptor() ([]byte, []int)
Deprecated: Use AddCommentInput.ProtoReflect.Descriptor instead.
func (*AddCommentInput) GetComment ¶
func (x *AddCommentInput) GetComment() *Ticket_Comment
func (*AddCommentInput) GetTicketId ¶
func (x *AddCommentInput) GetTicketId() string
func (*AddCommentInput) ProtoMessage ¶
func (*AddCommentInput) ProtoMessage()
func (*AddCommentInput) ProtoReflect ¶
func (x *AddCommentInput) ProtoReflect() protoreflect.Message
func (*AddCommentInput) Reset ¶
func (x *AddCommentInput) Reset()
func (*AddCommentInput) String ¶
func (x *AddCommentInput) String() string
type AddCommentOutput ¶
type AddCommentOutput struct { CommentId string `protobuf:"bytes,1,opt,name=comment_id,json=commentId,proto3" json:"comment_id,omitempty"` // contains filtered or unexported fields }
func (*AddCommentOutput) Descriptor
deprecated
func (*AddCommentOutput) Descriptor() ([]byte, []int)
Deprecated: Use AddCommentOutput.ProtoReflect.Descriptor instead.
func (*AddCommentOutput) GetCommentId ¶
func (x *AddCommentOutput) GetCommentId() string
func (*AddCommentOutput) ProtoMessage ¶
func (*AddCommentOutput) ProtoMessage()
func (*AddCommentOutput) ProtoReflect ¶
func (x *AddCommentOutput) ProtoReflect() protoreflect.Message
func (*AddCommentOutput) Reset ¶
func (x *AddCommentOutput) Reset()
func (*AddCommentOutput) String ¶
func (x *AddCommentOutput) String() string
type ApproveTicketInput ¶
type ApproveTicketInput struct { TicketId string `protobuf:"bytes,1,opt,name=ticket_id,json=ticketId,proto3" json:"ticket_id,omitempty"` Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"` // contains filtered or unexported fields }
func (*ApproveTicketInput) Descriptor
deprecated
func (*ApproveTicketInput) Descriptor() ([]byte, []int)
Deprecated: Use ApproveTicketInput.ProtoReflect.Descriptor instead.
func (*ApproveTicketInput) GetComment ¶
func (x *ApproveTicketInput) GetComment() string
func (*ApproveTicketInput) GetTicketId ¶
func (x *ApproveTicketInput) GetTicketId() string
func (*ApproveTicketInput) ProtoMessage ¶
func (*ApproveTicketInput) ProtoMessage()
func (*ApproveTicketInput) ProtoReflect ¶
func (x *ApproveTicketInput) ProtoReflect() protoreflect.Message
func (*ApproveTicketInput) Reset ¶
func (x *ApproveTicketInput) Reset()
func (*ApproveTicketInput) String ¶
func (x *ApproveTicketInput) String() string
type ApproveTicketOutput ¶
type ApproveTicketOutput struct {
// contains filtered or unexported fields
}
func (*ApproveTicketOutput) Descriptor
deprecated
func (*ApproveTicketOutput) Descriptor() ([]byte, []int)
Deprecated: Use ApproveTicketOutput.ProtoReflect.Descriptor instead.
func (*ApproveTicketOutput) ProtoMessage ¶
func (*ApproveTicketOutput) ProtoMessage()
func (*ApproveTicketOutput) ProtoReflect ¶
func (x *ApproveTicketOutput) ProtoReflect() protoreflect.Message
func (*ApproveTicketOutput) Reset ¶
func (x *ApproveTicketOutput) Reset()
func (*ApproveTicketOutput) String ¶
func (x *ApproveTicketOutput) String() string
type AutoReply ¶
type AutoReply struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Locale string `protobuf:"bytes,2,opt,name=locale,proto3" json:"locale,omitempty"` Name string `protobuf:"bytes,20,opt,name=name,proto3" json:"name,omitempty"` Message *ecm.Content `protobuf:"bytes,21,opt,name=message,proto3" json:"message,omitempty"` Labels []string `protobuf:"bytes,22,rep,name=labels,proto3" json:"labels,omitempty"` // contains filtered or unexported fields }
func (*AutoReply) Descriptor
deprecated
func (*AutoReply) GetMessage ¶
func (*AutoReply) ProtoMessage ¶
func (*AutoReply) ProtoMessage()
func (*AutoReply) ProtoReflect ¶
func (x *AutoReply) ProtoReflect() protoreflect.Message
type AutoReplyServiceClient ¶
type AutoReplyServiceClient interface { CreateAutoReply(ctx context.Context, in *CreateAutoReplyInput, opts ...grpc.CallOption) (*CreateAutoReplyOutput, error) UpdateAutoReply(ctx context.Context, in *UpdateAutoReplyInput, opts ...grpc.CallOption) (*UpdateAutoReplyOutput, error) DeleteAutoReply(ctx context.Context, in *DeleteAutoReplyInput, opts ...grpc.CallOption) (*DeleteAutoReplyOutput, error) ListAutoReplies(ctx context.Context, in *ListAutoRepliesInput, opts ...grpc.CallOption) (*ListAutoRepliesOutput, error) DescribeAutoReply(ctx context.Context, in *DescribeAutoReplyInput, opts ...grpc.CallOption) (*DescribeAutoReplyOutput, error) }
AutoReplyServiceClient is the client API for AutoReplyService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.golang.ir/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAutoReplyServiceClient ¶
func NewAutoReplyServiceClient(cc grpc.ClientConnInterface) AutoReplyServiceClient
type AutoReplyServiceInterceptor ¶
type AutoReplyServiceInterceptor struct {
// contains filtered or unexported fields
}
func NewAutoReplyServiceInterceptor ¶
func NewAutoReplyServiceInterceptor(cli AutoReplyServiceClient, middleware ..._AutoReplyServiceMiddleware) *AutoReplyServiceInterceptor
NewAutoReplyServiceInterceptor constructs additional middleware for a server based on annotations in proto files
func (*AutoReplyServiceInterceptor) CreateAutoReply ¶
func (i *AutoReplyServiceInterceptor) CreateAutoReply(ctx context.Context, in *CreateAutoReplyInput, opts ...grpc.CallOption) (*CreateAutoReplyOutput, error)
func (*AutoReplyServiceInterceptor) DeleteAutoReply ¶
func (i *AutoReplyServiceInterceptor) DeleteAutoReply(ctx context.Context, in *DeleteAutoReplyInput, opts ...grpc.CallOption) (*DeleteAutoReplyOutput, error)
func (*AutoReplyServiceInterceptor) DescribeAutoReply ¶
func (i *AutoReplyServiceInterceptor) DescribeAutoReply(ctx context.Context, in *DescribeAutoReplyInput, opts ...grpc.CallOption) (*DescribeAutoReplyOutput, error)
func (*AutoReplyServiceInterceptor) ListAutoReplies ¶
func (i *AutoReplyServiceInterceptor) ListAutoReplies(ctx context.Context, in *ListAutoRepliesInput, opts ...grpc.CallOption) (*ListAutoRepliesOutput, error)
func (*AutoReplyServiceInterceptor) UpdateAutoReply ¶
func (i *AutoReplyServiceInterceptor) UpdateAutoReply(ctx context.Context, in *UpdateAutoReplyInput, opts ...grpc.CallOption) (*UpdateAutoReplyOutput, error)
type AutoReplyServiceServer ¶
type AutoReplyServiceServer interface { CreateAutoReply(context.Context, *CreateAutoReplyInput) (*CreateAutoReplyOutput, error) UpdateAutoReply(context.Context, *UpdateAutoReplyInput) (*UpdateAutoReplyOutput, error) DeleteAutoReply(context.Context, *DeleteAutoReplyInput) (*DeleteAutoReplyOutput, error) ListAutoReplies(context.Context, *ListAutoRepliesInput) (*ListAutoRepliesOutput, error) DescribeAutoReply(context.Context, *DescribeAutoReplyInput) (*DescribeAutoReplyOutput, error) }
AutoReplyServiceServer is the server API for AutoReplyService service. All implementations should embed UnimplementedAutoReplyServiceServer for forward compatibility
type AutoReplyServiceService ¶
type AutoReplyServiceService struct {
// contains filtered or unexported fields
}
func NewAutoReplyServiceHttpClient ¶
func NewAutoReplyServiceHttpClient(url string, cli _AutoReplyServiceHttpClient) *AutoReplyServiceService
NewAutoReplyServiceHttpClient constructs client for AutoReplyService
func (*AutoReplyServiceService) CreateAutoReply ¶
func (s *AutoReplyServiceService) CreateAutoReply(ctx context.Context, in *CreateAutoReplyInput) (*CreateAutoReplyOutput, error)
func (*AutoReplyServiceService) DeleteAutoReply ¶
func (s *AutoReplyServiceService) DeleteAutoReply(ctx context.Context, in *DeleteAutoReplyInput) (*DeleteAutoReplyOutput, error)
func (*AutoReplyServiceService) DescribeAutoReply ¶
func (s *AutoReplyServiceService) DescribeAutoReply(ctx context.Context, in *DescribeAutoReplyInput) (*DescribeAutoReplyOutput, error)
func (*AutoReplyServiceService) ListAutoReplies ¶
func (s *AutoReplyServiceService) ListAutoReplies(ctx context.Context, in *ListAutoRepliesInput) (*ListAutoRepliesOutput, error)
func (*AutoReplyServiceService) UpdateAutoReply ¶
func (s *AutoReplyServiceService) UpdateAutoReply(ctx context.Context, in *UpdateAutoReplyInput) (*UpdateAutoReplyOutput, error)
type CloseTicketInput ¶
type CloseTicketInput struct { TicketId string `protobuf:"bytes,1,opt,name=ticket_id,json=ticketId,proto3" json:"ticket_id,omitempty"` Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"` // contains filtered or unexported fields }
func (*CloseTicketInput) Descriptor
deprecated
func (*CloseTicketInput) Descriptor() ([]byte, []int)
Deprecated: Use CloseTicketInput.ProtoReflect.Descriptor instead.
func (*CloseTicketInput) GetComment ¶
func (x *CloseTicketInput) GetComment() string
func (*CloseTicketInput) GetTicketId ¶
func (x *CloseTicketInput) GetTicketId() string
func (*CloseTicketInput) ProtoMessage ¶
func (*CloseTicketInput) ProtoMessage()
func (*CloseTicketInput) ProtoReflect ¶
func (x *CloseTicketInput) ProtoReflect() protoreflect.Message
func (*CloseTicketInput) Reset ¶
func (x *CloseTicketInput) Reset()
func (*CloseTicketInput) String ¶
func (x *CloseTicketInput) String() string
type CloseTicketOutput ¶
type CloseTicketOutput struct {
// contains filtered or unexported fields
}
func (*CloseTicketOutput) Descriptor
deprecated
func (*CloseTicketOutput) Descriptor() ([]byte, []int)
Deprecated: Use CloseTicketOutput.ProtoReflect.Descriptor instead.
func (*CloseTicketOutput) ProtoMessage ¶
func (*CloseTicketOutput) ProtoMessage()
func (*CloseTicketOutput) ProtoReflect ¶
func (x *CloseTicketOutput) ProtoReflect() protoreflect.Message
func (*CloseTicketOutput) Reset ¶
func (x *CloseTicketOutput) Reset()
func (*CloseTicketOutput) String ¶
func (x *CloseTicketOutput) String() string
type CommentChangedEvent ¶
type CommentChangedEvent struct { TicketId string `protobuf:"bytes,1,opt,name=ticket_id,json=ticketId,proto3" json:"ticket_id,omitempty"` Before *Ticket_Comment `protobuf:"bytes,2,opt,name=before,proto3" json:"before,omitempty"` After *Ticket_Comment `protobuf:"bytes,3,opt,name=after,proto3" json:"after,omitempty"` // contains filtered or unexported fields }
func (*CommentChangedEvent) Descriptor
deprecated
func (*CommentChangedEvent) Descriptor() ([]byte, []int)
Deprecated: Use CommentChangedEvent.ProtoReflect.Descriptor instead.
func (*CommentChangedEvent) GetAfter ¶
func (x *CommentChangedEvent) GetAfter() *Ticket_Comment
func (*CommentChangedEvent) GetBefore ¶
func (x *CommentChangedEvent) GetBefore() *Ticket_Comment
func (*CommentChangedEvent) GetTicketId ¶
func (x *CommentChangedEvent) GetTicketId() string
func (*CommentChangedEvent) ProtoMessage ¶
func (*CommentChangedEvent) ProtoMessage()
func (*CommentChangedEvent) ProtoReflect ¶
func (x *CommentChangedEvent) ProtoReflect() protoreflect.Message
func (*CommentChangedEvent) Reset ¶
func (x *CommentChangedEvent) Reset()
func (*CommentChangedEvent) String ¶
func (x *CommentChangedEvent) String() string
type CreateAutoReplyInput ¶
type CreateAutoReplyInput struct { Reply *AutoReply `protobuf:"bytes,1,opt,name=reply,proto3" json:"reply,omitempty"` // contains filtered or unexported fields }
func (*CreateAutoReplyInput) Descriptor
deprecated
func (*CreateAutoReplyInput) Descriptor() ([]byte, []int)
Deprecated: Use CreateAutoReplyInput.ProtoReflect.Descriptor instead.
func (*CreateAutoReplyInput) GetReply ¶
func (x *CreateAutoReplyInput) GetReply() *AutoReply
func (*CreateAutoReplyInput) ProtoMessage ¶
func (*CreateAutoReplyInput) ProtoMessage()
func (*CreateAutoReplyInput) ProtoReflect ¶
func (x *CreateAutoReplyInput) ProtoReflect() protoreflect.Message
func (*CreateAutoReplyInput) Reset ¶
func (x *CreateAutoReplyInput) Reset()
func (*CreateAutoReplyInput) String ¶
func (x *CreateAutoReplyInput) String() string
type CreateAutoReplyOutput ¶
type CreateAutoReplyOutput struct { ReplyId string `protobuf:"bytes,1,opt,name=reply_id,json=replyId,proto3" json:"reply_id,omitempty"` // contains filtered or unexported fields }
func (*CreateAutoReplyOutput) Descriptor
deprecated
func (*CreateAutoReplyOutput) Descriptor() ([]byte, []int)
Deprecated: Use CreateAutoReplyOutput.ProtoReflect.Descriptor instead.
func (*CreateAutoReplyOutput) GetReplyId ¶
func (x *CreateAutoReplyOutput) GetReplyId() string
func (*CreateAutoReplyOutput) ProtoMessage ¶
func (*CreateAutoReplyOutput) ProtoMessage()
func (*CreateAutoReplyOutput) ProtoReflect ¶
func (x *CreateAutoReplyOutput) ProtoReflect() protoreflect.Message
func (*CreateAutoReplyOutput) Reset ¶
func (x *CreateAutoReplyOutput) Reset()
func (*CreateAutoReplyOutput) String ¶
func (x *CreateAutoReplyOutput) String() string
type CreateTicketInput ¶
type CreateTicketInput struct { Ticket *Ticket `protobuf:"bytes,1,opt,name=ticket,proto3" json:"ticket,omitempty"` Captcha string `protobuf:"bytes,2,opt,name=captcha,proto3" json:"captcha,omitempty"` // contains filtered or unexported fields }
func (*CreateTicketInput) Descriptor
deprecated
func (*CreateTicketInput) Descriptor() ([]byte, []int)
Deprecated: Use CreateTicketInput.ProtoReflect.Descriptor instead.
func (*CreateTicketInput) GetCaptcha ¶
func (x *CreateTicketInput) GetCaptcha() string
func (*CreateTicketInput) GetTicket ¶
func (x *CreateTicketInput) GetTicket() *Ticket
func (*CreateTicketInput) ProtoMessage ¶
func (*CreateTicketInput) ProtoMessage()
func (*CreateTicketInput) ProtoReflect ¶
func (x *CreateTicketInput) ProtoReflect() protoreflect.Message
func (*CreateTicketInput) Reset ¶
func (x *CreateTicketInput) Reset()
func (*CreateTicketInput) String ¶
func (x *CreateTicketInput) String() string
type CreateTicketOutput ¶
type CreateTicketOutput struct { TicketId string `protobuf:"bytes,1,opt,name=ticket_id,json=ticketId,proto3" json:"ticket_id,omitempty"` // contains filtered or unexported fields }
func (*CreateTicketOutput) Descriptor
deprecated
func (*CreateTicketOutput) Descriptor() ([]byte, []int)
Deprecated: Use CreateTicketOutput.ProtoReflect.Descriptor instead.
func (*CreateTicketOutput) GetTicketId ¶
func (x *CreateTicketOutput) GetTicketId() string
func (*CreateTicketOutput) ProtoMessage ¶
func (*CreateTicketOutput) ProtoMessage()
func (*CreateTicketOutput) ProtoReflect ¶
func (x *CreateTicketOutput) ProtoReflect() protoreflect.Message
func (*CreateTicketOutput) Reset ¶
func (x *CreateTicketOutput) Reset()
func (*CreateTicketOutput) String ¶
func (x *CreateTicketOutput) String() string
type DeleteAutoReplyInput ¶
type DeleteAutoReplyInput struct { ReplyId string `protobuf:"bytes,1,opt,name=reply_id,json=replyId,proto3" json:"reply_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteAutoReplyInput) Descriptor
deprecated
func (*DeleteAutoReplyInput) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAutoReplyInput.ProtoReflect.Descriptor instead.
func (*DeleteAutoReplyInput) GetReplyId ¶
func (x *DeleteAutoReplyInput) GetReplyId() string
func (*DeleteAutoReplyInput) ProtoMessage ¶
func (*DeleteAutoReplyInput) ProtoMessage()
func (*DeleteAutoReplyInput) ProtoReflect ¶
func (x *DeleteAutoReplyInput) ProtoReflect() protoreflect.Message
func (*DeleteAutoReplyInput) Reset ¶
func (x *DeleteAutoReplyInput) Reset()
func (*DeleteAutoReplyInput) String ¶
func (x *DeleteAutoReplyInput) String() string
type DeleteAutoReplyOutput ¶
type DeleteAutoReplyOutput struct {
// contains filtered or unexported fields
}
func (*DeleteAutoReplyOutput) Descriptor
deprecated
func (*DeleteAutoReplyOutput) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAutoReplyOutput.ProtoReflect.Descriptor instead.
func (*DeleteAutoReplyOutput) ProtoMessage ¶
func (*DeleteAutoReplyOutput) ProtoMessage()
func (*DeleteAutoReplyOutput) ProtoReflect ¶
func (x *DeleteAutoReplyOutput) ProtoReflect() protoreflect.Message
func (*DeleteAutoReplyOutput) Reset ¶
func (x *DeleteAutoReplyOutput) Reset()
func (*DeleteAutoReplyOutput) String ¶
func (x *DeleteAutoReplyOutput) String() string
type DeleteCommentInput ¶
type DeleteCommentInput struct { TicketId string `protobuf:"bytes,1,opt,name=ticket_id,json=ticketId,proto3" json:"ticket_id,omitempty"` CommentId string `protobuf:"bytes,2,opt,name=comment_id,json=commentId,proto3" json:"comment_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteCommentInput) Descriptor
deprecated
func (*DeleteCommentInput) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCommentInput.ProtoReflect.Descriptor instead.
func (*DeleteCommentInput) GetCommentId ¶
func (x *DeleteCommentInput) GetCommentId() string
func (*DeleteCommentInput) GetTicketId ¶
func (x *DeleteCommentInput) GetTicketId() string
func (*DeleteCommentInput) ProtoMessage ¶
func (*DeleteCommentInput) ProtoMessage()
func (*DeleteCommentInput) ProtoReflect ¶
func (x *DeleteCommentInput) ProtoReflect() protoreflect.Message
func (*DeleteCommentInput) Reset ¶
func (x *DeleteCommentInput) Reset()
func (*DeleteCommentInput) String ¶
func (x *DeleteCommentInput) String() string
type DeleteCommentOutput ¶
type DeleteCommentOutput struct {
// contains filtered or unexported fields
}
func (*DeleteCommentOutput) Descriptor
deprecated
func (*DeleteCommentOutput) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCommentOutput.ProtoReflect.Descriptor instead.
func (*DeleteCommentOutput) ProtoMessage ¶
func (*DeleteCommentOutput) ProtoMessage()
func (*DeleteCommentOutput) ProtoReflect ¶
func (x *DeleteCommentOutput) ProtoReflect() protoreflect.Message
func (*DeleteCommentOutput) Reset ¶
func (x *DeleteCommentOutput) Reset()
func (*DeleteCommentOutput) String ¶
func (x *DeleteCommentOutput) String() string
type DeleteTicketInput ¶
type DeleteTicketInput struct { TicketId string `protobuf:"bytes,1,opt,name=ticket_id,json=ticketId,proto3" json:"ticket_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteTicketInput) Descriptor
deprecated
func (*DeleteTicketInput) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTicketInput.ProtoReflect.Descriptor instead.
func (*DeleteTicketInput) GetTicketId ¶
func (x *DeleteTicketInput) GetTicketId() string
func (*DeleteTicketInput) ProtoMessage ¶
func (*DeleteTicketInput) ProtoMessage()
func (*DeleteTicketInput) ProtoReflect ¶
func (x *DeleteTicketInput) ProtoReflect() protoreflect.Message
func (*DeleteTicketInput) Reset ¶
func (x *DeleteTicketInput) Reset()
func (*DeleteTicketInput) String ¶
func (x *DeleteTicketInput) String() string
type DeleteTicketOutput ¶
type DeleteTicketOutput struct {
// contains filtered or unexported fields
}
func (*DeleteTicketOutput) Descriptor
deprecated
func (*DeleteTicketOutput) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTicketOutput.ProtoReflect.Descriptor instead.
func (*DeleteTicketOutput) ProtoMessage ¶
func (*DeleteTicketOutput) ProtoMessage()
func (*DeleteTicketOutput) ProtoReflect ¶
func (x *DeleteTicketOutput) ProtoReflect() protoreflect.Message
func (*DeleteTicketOutput) Reset ¶
func (x *DeleteTicketOutput) Reset()
func (*DeleteTicketOutput) String ¶
func (x *DeleteTicketOutput) String() string
type DescribeAutoReplyInput ¶
type DescribeAutoReplyInput struct { ReplyId string `protobuf:"bytes,1,opt,name=reply_id,json=replyId,proto3" json:"reply_id,omitempty"` Render bool `protobuf:"varint,2,opt,name=render,proto3" json:"render,omitempty"` // contains filtered or unexported fields }
func (*DescribeAutoReplyInput) Descriptor
deprecated
func (*DescribeAutoReplyInput) Descriptor() ([]byte, []int)
Deprecated: Use DescribeAutoReplyInput.ProtoReflect.Descriptor instead.
func (*DescribeAutoReplyInput) GetRender ¶
func (x *DescribeAutoReplyInput) GetRender() bool
func (*DescribeAutoReplyInput) GetReplyId ¶
func (x *DescribeAutoReplyInput) GetReplyId() string
func (*DescribeAutoReplyInput) ProtoMessage ¶
func (*DescribeAutoReplyInput) ProtoMessage()
func (*DescribeAutoReplyInput) ProtoReflect ¶
func (x *DescribeAutoReplyInput) ProtoReflect() protoreflect.Message
func (*DescribeAutoReplyInput) Reset ¶
func (x *DescribeAutoReplyInput) Reset()
func (*DescribeAutoReplyInput) String ¶
func (x *DescribeAutoReplyInput) String() string
type DescribeAutoReplyOutput ¶
type DescribeAutoReplyOutput struct { Reply *AutoReply `protobuf:"bytes,1,opt,name=reply,proto3" json:"reply,omitempty"` // contains filtered or unexported fields }
func (*DescribeAutoReplyOutput) Descriptor
deprecated
func (*DescribeAutoReplyOutput) Descriptor() ([]byte, []int)
Deprecated: Use DescribeAutoReplyOutput.ProtoReflect.Descriptor instead.
func (*DescribeAutoReplyOutput) GetReply ¶
func (x *DescribeAutoReplyOutput) GetReply() *AutoReply
func (*DescribeAutoReplyOutput) ProtoMessage ¶
func (*DescribeAutoReplyOutput) ProtoMessage()
func (*DescribeAutoReplyOutput) ProtoReflect ¶
func (x *DescribeAutoReplyOutput) ProtoReflect() protoreflect.Message
func (*DescribeAutoReplyOutput) Reset ¶
func (x *DescribeAutoReplyOutput) Reset()
func (*DescribeAutoReplyOutput) String ¶
func (x *DescribeAutoReplyOutput) String() string
type DescribeCommentInput ¶
type DescribeCommentInput struct { TicketId string `protobuf:"bytes,1,opt,name=ticket_id,json=ticketId,proto3" json:"ticket_id,omitempty"` CommentId string `protobuf:"bytes,2,opt,name=comment_id,json=commentId,proto3" json:"comment_id,omitempty"` Render bool `protobuf:"varint,3,opt,name=render,proto3" json:"render,omitempty"` // contains filtered or unexported fields }
func (*DescribeCommentInput) Descriptor
deprecated
func (*DescribeCommentInput) Descriptor() ([]byte, []int)
Deprecated: Use DescribeCommentInput.ProtoReflect.Descriptor instead.
func (*DescribeCommentInput) GetCommentId ¶
func (x *DescribeCommentInput) GetCommentId() string
func (*DescribeCommentInput) GetRender ¶
func (x *DescribeCommentInput) GetRender() bool
func (*DescribeCommentInput) GetTicketId ¶
func (x *DescribeCommentInput) GetTicketId() string
func (*DescribeCommentInput) ProtoMessage ¶
func (*DescribeCommentInput) ProtoMessage()
func (*DescribeCommentInput) ProtoReflect ¶
func (x *DescribeCommentInput) ProtoReflect() protoreflect.Message
func (*DescribeCommentInput) Reset ¶
func (x *DescribeCommentInput) Reset()
func (*DescribeCommentInput) String ¶
func (x *DescribeCommentInput) String() string
type DescribeCommentOutput ¶
type DescribeCommentOutput struct { Comment *Ticket_Comment `protobuf:"bytes,1,opt,name=comment,proto3" json:"comment,omitempty"` // contains filtered or unexported fields }
func (*DescribeCommentOutput) Descriptor
deprecated
func (*DescribeCommentOutput) Descriptor() ([]byte, []int)
Deprecated: Use DescribeCommentOutput.ProtoReflect.Descriptor instead.
func (*DescribeCommentOutput) GetComment ¶
func (x *DescribeCommentOutput) GetComment() *Ticket_Comment
func (*DescribeCommentOutput) ProtoMessage ¶
func (*DescribeCommentOutput) ProtoMessage()
func (*DescribeCommentOutput) ProtoReflect ¶
func (x *DescribeCommentOutput) ProtoReflect() protoreflect.Message
func (*DescribeCommentOutput) Reset ¶
func (x *DescribeCommentOutput) Reset()
func (*DescribeCommentOutput) String ¶
func (x *DescribeCommentOutput) String() string
type DescribeTicketInput ¶
type DescribeTicketInput struct { TicketId string `protobuf:"bytes,1,opt,name=ticket_id,json=ticketId,proto3" json:"ticket_id,omitempty"` Render bool `protobuf:"varint,2,opt,name=render,proto3" json:"render,omitempty"` // contains filtered or unexported fields }
func (*DescribeTicketInput) Descriptor
deprecated
func (*DescribeTicketInput) Descriptor() ([]byte, []int)
Deprecated: Use DescribeTicketInput.ProtoReflect.Descriptor instead.
func (*DescribeTicketInput) GetRender ¶
func (x *DescribeTicketInput) GetRender() bool
func (*DescribeTicketInput) GetTicketId ¶
func (x *DescribeTicketInput) GetTicketId() string
func (*DescribeTicketInput) ProtoMessage ¶
func (*DescribeTicketInput) ProtoMessage()
func (*DescribeTicketInput) ProtoReflect ¶
func (x *DescribeTicketInput) ProtoReflect() protoreflect.Message
func (*DescribeTicketInput) Reset ¶
func (x *DescribeTicketInput) Reset()
func (*DescribeTicketInput) String ¶
func (x *DescribeTicketInput) String() string
type DescribeTicketOutput ¶
type DescribeTicketOutput struct { Ticket *Ticket `protobuf:"bytes,1,opt,name=ticket,proto3" json:"ticket,omitempty"` // contains filtered or unexported fields }
func (*DescribeTicketOutput) Descriptor
deprecated
func (*DescribeTicketOutput) Descriptor() ([]byte, []int)
Deprecated: Use DescribeTicketOutput.ProtoReflect.Descriptor instead.
func (*DescribeTicketOutput) GetTicket ¶
func (x *DescribeTicketOutput) GetTicket() *Ticket
func (*DescribeTicketOutput) ProtoMessage ¶
func (*DescribeTicketOutput) ProtoMessage()
func (*DescribeTicketOutput) ProtoReflect ¶
func (x *DescribeTicketOutput) ProtoReflect() protoreflect.Message
func (*DescribeTicketOutput) Reset ¶
func (x *DescribeTicketOutput) Reset()
func (*DescribeTicketOutput) String ¶
func (x *DescribeTicketOutput) String() string
type ListAutoRepliesInput ¶
type ListAutoRepliesInput struct { Render bool `protobuf:"varint,1,opt,name=render,proto3" json:"render,omitempty"` // pagination Offset int32 `protobuf:"varint,10,opt,name=offset,proto3" json:"offset,omitempty"` Size int32 `protobuf:"varint,11,opt,name=size,proto3" json:"size,omitempty"` // data filters Filters *ListAutoRepliesInput_Filter `protobuf:"bytes,40,opt,name=filters,proto3" json:"filters,omitempty"` // contains filtered or unexported fields }
func (*ListAutoRepliesInput) Descriptor
deprecated
func (*ListAutoRepliesInput) Descriptor() ([]byte, []int)
Deprecated: Use ListAutoRepliesInput.ProtoReflect.Descriptor instead.
func (*ListAutoRepliesInput) GetFilters ¶
func (x *ListAutoRepliesInput) GetFilters() *ListAutoRepliesInput_Filter
func (*ListAutoRepliesInput) GetOffset ¶
func (x *ListAutoRepliesInput) GetOffset() int32
func (*ListAutoRepliesInput) GetRender ¶
func (x *ListAutoRepliesInput) GetRender() bool
func (*ListAutoRepliesInput) GetSize ¶
func (x *ListAutoRepliesInput) GetSize() int32
func (*ListAutoRepliesInput) ProtoMessage ¶
func (*ListAutoRepliesInput) ProtoMessage()
func (*ListAutoRepliesInput) ProtoReflect ¶
func (x *ListAutoRepliesInput) ProtoReflect() protoreflect.Message
func (*ListAutoRepliesInput) Reset ¶
func (x *ListAutoRepliesInput) Reset()
func (*ListAutoRepliesInput) String ¶
func (x *ListAutoRepliesInput) String() string
type ListAutoRepliesInput_Filter ¶
type ListAutoRepliesInput_Filter struct { Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` Id []*wellknown.ExpressionID `protobuf:"bytes,2,rep,name=id,proto3" json:"id,omitempty"` Locale []*wellknown.ExpressionEnum `protobuf:"bytes,3,rep,name=locale,proto3" json:"locale,omitempty"` // contains filtered or unexported fields }
func (*ListAutoRepliesInput_Filter) Descriptor
deprecated
func (*ListAutoRepliesInput_Filter) Descriptor() ([]byte, []int)
Deprecated: Use ListAutoRepliesInput_Filter.ProtoReflect.Descriptor instead.
func (*ListAutoRepliesInput_Filter) GetId ¶
func (x *ListAutoRepliesInput_Filter) GetId() []*wellknown.ExpressionID
func (*ListAutoRepliesInput_Filter) GetLocale ¶
func (x *ListAutoRepliesInput_Filter) GetLocale() []*wellknown.ExpressionEnum
func (*ListAutoRepliesInput_Filter) GetQuery ¶
func (x *ListAutoRepliesInput_Filter) GetQuery() string
func (*ListAutoRepliesInput_Filter) ProtoMessage ¶
func (*ListAutoRepliesInput_Filter) ProtoMessage()
func (*ListAutoRepliesInput_Filter) ProtoReflect ¶
func (x *ListAutoRepliesInput_Filter) ProtoReflect() protoreflect.Message
func (*ListAutoRepliesInput_Filter) Reset ¶
func (x *ListAutoRepliesInput_Filter) Reset()
func (*ListAutoRepliesInput_Filter) String ¶
func (x *ListAutoRepliesInput_Filter) String() string
type ListAutoRepliesOutput ¶
type ListAutoRepliesOutput struct { Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Items []*AutoReply `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*ListAutoRepliesOutput) Descriptor
deprecated
func (*ListAutoRepliesOutput) Descriptor() ([]byte, []int)
Deprecated: Use ListAutoRepliesOutput.ProtoReflect.Descriptor instead.
func (*ListAutoRepliesOutput) GetItems ¶
func (x *ListAutoRepliesOutput) GetItems() []*AutoReply
func (*ListAutoRepliesOutput) GetTotal ¶
func (x *ListAutoRepliesOutput) GetTotal() int32
func (*ListAutoRepliesOutput) ProtoMessage ¶
func (*ListAutoRepliesOutput) ProtoMessage()
func (*ListAutoRepliesOutput) ProtoReflect ¶
func (x *ListAutoRepliesOutput) ProtoReflect() protoreflect.Message
func (*ListAutoRepliesOutput) Reset ¶
func (x *ListAutoRepliesOutput) Reset()
func (*ListAutoRepliesOutput) String ¶
func (x *ListAutoRepliesOutput) String() string
type ListCommentsInput ¶
type ListCommentsInput struct { TicketId string `protobuf:"bytes,1,opt,name=ticket_id,json=ticketId,proto3" json:"ticket_id,omitempty"` Render bool `protobuf:"varint,2,opt,name=render,proto3" json:"render,omitempty"` // pagination Offset int32 `protobuf:"varint,10,opt,name=offset,proto3" json:"offset,omitempty"` Size int32 `protobuf:"varint,11,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
func (*ListCommentsInput) Descriptor
deprecated
func (*ListCommentsInput) Descriptor() ([]byte, []int)
Deprecated: Use ListCommentsInput.ProtoReflect.Descriptor instead.
func (*ListCommentsInput) GetOffset ¶
func (x *ListCommentsInput) GetOffset() int32
func (*ListCommentsInput) GetRender ¶
func (x *ListCommentsInput) GetRender() bool
func (*ListCommentsInput) GetSize ¶
func (x *ListCommentsInput) GetSize() int32
func (*ListCommentsInput) GetTicketId ¶
func (x *ListCommentsInput) GetTicketId() string
func (*ListCommentsInput) ProtoMessage ¶
func (*ListCommentsInput) ProtoMessage()
func (*ListCommentsInput) ProtoReflect ¶
func (x *ListCommentsInput) ProtoReflect() protoreflect.Message
func (*ListCommentsInput) Reset ¶
func (x *ListCommentsInput) Reset()
func (*ListCommentsInput) String ¶
func (x *ListCommentsInput) String() string
type ListCommentsOutput ¶
type ListCommentsOutput struct { Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Items []*Ticket_Comment `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*ListCommentsOutput) Descriptor
deprecated
func (*ListCommentsOutput) Descriptor() ([]byte, []int)
Deprecated: Use ListCommentsOutput.ProtoReflect.Descriptor instead.
func (*ListCommentsOutput) GetItems ¶
func (x *ListCommentsOutput) GetItems() []*Ticket_Comment
func (*ListCommentsOutput) GetTotal ¶
func (x *ListCommentsOutput) GetTotal() int32
func (*ListCommentsOutput) ProtoMessage ¶
func (*ListCommentsOutput) ProtoMessage()
func (*ListCommentsOutput) ProtoReflect ¶
func (x *ListCommentsOutput) ProtoReflect() protoreflect.Message
func (*ListCommentsOutput) Reset ¶
func (x *ListCommentsOutput) Reset()
func (*ListCommentsOutput) String ¶
func (x *ListCommentsOutput) String() string
type ListTicketsInput ¶
type ListTicketsInput struct { Render bool `protobuf:"varint,1,opt,name=render,proto3" json:"render,omitempty"` // pagination Offset int32 `protobuf:"varint,10,opt,name=offset,proto3" json:"offset,omitempty"` Size int32 `protobuf:"varint,11,opt,name=size,proto3" json:"size,omitempty"` // data filters Filters *ListTicketsInput_Filter `protobuf:"bytes,40,opt,name=filters,proto3" json:"filters,omitempty"` // contains filtered or unexported fields }
func (*ListTicketsInput) Descriptor
deprecated
func (*ListTicketsInput) Descriptor() ([]byte, []int)
Deprecated: Use ListTicketsInput.ProtoReflect.Descriptor instead.
func (*ListTicketsInput) GetFilters ¶
func (x *ListTicketsInput) GetFilters() *ListTicketsInput_Filter
func (*ListTicketsInput) GetOffset ¶
func (x *ListTicketsInput) GetOffset() int32
func (*ListTicketsInput) GetRender ¶
func (x *ListTicketsInput) GetRender() bool
func (*ListTicketsInput) GetSize ¶
func (x *ListTicketsInput) GetSize() int32
func (*ListTicketsInput) ProtoMessage ¶
func (*ListTicketsInput) ProtoMessage()
func (*ListTicketsInput) ProtoReflect ¶
func (x *ListTicketsInput) ProtoReflect() protoreflect.Message
func (*ListTicketsInput) Reset ¶
func (x *ListTicketsInput) Reset()
func (*ListTicketsInput) String ¶
func (x *ListTicketsInput) String() string
type ListTicketsInput_Filter ¶
type ListTicketsInput_Filter struct { Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` Id []*wellknown.ExpressionID `protobuf:"bytes,2,rep,name=id,proto3" json:"id,omitempty"` UserId []*wellknown.ExpressionID `protobuf:"bytes,3,rep,name=user_id,json=userId,proto3" json:"user_id,omitempty"` UserEmail []*wellknown.ExpressionEnum `protobuf:"bytes,4,rep,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"` Status []*wellknown.ExpressionEnum `protobuf:"bytes,5,rep,name=status,proto3" json:"status,omitempty"` Type []*wellknown.ExpressionEnum `protobuf:"bytes,6,rep,name=type,proto3" json:"type,omitempty"` CreatedAt []*wellknown.ExpressionTimestamp `protobuf:"bytes,7,rep,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt []*wellknown.ExpressionTimestamp `protobuf:"bytes,8,rep,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` Locale []*wellknown.ExpressionEnum `protobuf:"bytes,9,rep,name=locale,proto3" json:"locale,omitempty"` // contains filtered or unexported fields }
func (*ListTicketsInput_Filter) Descriptor
deprecated
func (*ListTicketsInput_Filter) Descriptor() ([]byte, []int)
Deprecated: Use ListTicketsInput_Filter.ProtoReflect.Descriptor instead.
func (*ListTicketsInput_Filter) GetCreatedAt ¶
func (x *ListTicketsInput_Filter) GetCreatedAt() []*wellknown.ExpressionTimestamp
func (*ListTicketsInput_Filter) GetId ¶
func (x *ListTicketsInput_Filter) GetId() []*wellknown.ExpressionID
func (*ListTicketsInput_Filter) GetLocale ¶
func (x *ListTicketsInput_Filter) GetLocale() []*wellknown.ExpressionEnum
func (*ListTicketsInput_Filter) GetQuery ¶
func (x *ListTicketsInput_Filter) GetQuery() string
func (*ListTicketsInput_Filter) GetStatus ¶
func (x *ListTicketsInput_Filter) GetStatus() []*wellknown.ExpressionEnum
func (*ListTicketsInput_Filter) GetType ¶
func (x *ListTicketsInput_Filter) GetType() []*wellknown.ExpressionEnum
func (*ListTicketsInput_Filter) GetUpdatedAt ¶
func (x *ListTicketsInput_Filter) GetUpdatedAt() []*wellknown.ExpressionTimestamp
func (*ListTicketsInput_Filter) GetUserEmail ¶
func (x *ListTicketsInput_Filter) GetUserEmail() []*wellknown.ExpressionEnum
func (*ListTicketsInput_Filter) GetUserId ¶
func (x *ListTicketsInput_Filter) GetUserId() []*wellknown.ExpressionID
func (*ListTicketsInput_Filter) ProtoMessage ¶
func (*ListTicketsInput_Filter) ProtoMessage()
func (*ListTicketsInput_Filter) ProtoReflect ¶
func (x *ListTicketsInput_Filter) ProtoReflect() protoreflect.Message
func (*ListTicketsInput_Filter) Reset ¶
func (x *ListTicketsInput_Filter) Reset()
func (*ListTicketsInput_Filter) String ¶
func (x *ListTicketsInput_Filter) String() string
type ListTicketsOutput ¶
type ListTicketsOutput struct { Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Items []*Ticket `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*ListTicketsOutput) Descriptor
deprecated
func (*ListTicketsOutput) Descriptor() ([]byte, []int)
Deprecated: Use ListTicketsOutput.ProtoReflect.Descriptor instead.
func (*ListTicketsOutput) GetItems ¶
func (x *ListTicketsOutput) GetItems() []*Ticket
func (*ListTicketsOutput) GetTotal ¶
func (x *ListTicketsOutput) GetTotal() int32
func (*ListTicketsOutput) ProtoMessage ¶
func (*ListTicketsOutput) ProtoMessage()
func (*ListTicketsOutput) ProtoReflect ¶
func (x *ListTicketsOutput) ProtoReflect() protoreflect.Message
func (*ListTicketsOutput) Reset ¶
func (x *ListTicketsOutput) Reset()
func (*ListTicketsOutput) String ¶
func (x *ListTicketsOutput) String() string
type RejectTicketInput ¶
type RejectTicketInput struct { TicketId string `protobuf:"bytes,1,opt,name=ticket_id,json=ticketId,proto3" json:"ticket_id,omitempty"` Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"` // contains filtered or unexported fields }
func (*RejectTicketInput) Descriptor
deprecated
func (*RejectTicketInput) Descriptor() ([]byte, []int)
Deprecated: Use RejectTicketInput.ProtoReflect.Descriptor instead.
func (*RejectTicketInput) GetComment ¶
func (x *RejectTicketInput) GetComment() string
func (*RejectTicketInput) GetTicketId ¶
func (x *RejectTicketInput) GetTicketId() string
func (*RejectTicketInput) ProtoMessage ¶
func (*RejectTicketInput) ProtoMessage()
func (*RejectTicketInput) ProtoReflect ¶
func (x *RejectTicketInput) ProtoReflect() protoreflect.Message
func (*RejectTicketInput) Reset ¶
func (x *RejectTicketInput) Reset()
func (*RejectTicketInput) String ¶
func (x *RejectTicketInput) String() string
type RejectTicketOutput ¶
type RejectTicketOutput struct {
// contains filtered or unexported fields
}
func (*RejectTicketOutput) Descriptor
deprecated
func (*RejectTicketOutput) Descriptor() ([]byte, []int)
Deprecated: Use RejectTicketOutput.ProtoReflect.Descriptor instead.
func (*RejectTicketOutput) ProtoMessage ¶
func (*RejectTicketOutput) ProtoMessage()
func (*RejectTicketOutput) ProtoReflect ¶
func (x *RejectTicketOutput) ProtoReflect() protoreflect.Message
func (*RejectTicketOutput) Reset ¶
func (x *RejectTicketOutput) Reset()
func (*RejectTicketOutput) String ¶
func (x *RejectTicketOutput) String() string
type SupportClient ¶
type SupportClient interface { CreateTicket(ctx context.Context, in *CreateTicketInput, opts ...grpc.CallOption) (*CreateTicketOutput, error) UpdateTicket(ctx context.Context, in *UpdateTicketInput, opts ...grpc.CallOption) (*UpdateTicketOutput, error) DeleteTicket(ctx context.Context, in *DeleteTicketInput, opts ...grpc.CallOption) (*DeleteTicketOutput, error) DescribeTicket(ctx context.Context, in *DescribeTicketInput, opts ...grpc.CallOption) (*DescribeTicketOutput, error) ListTickets(ctx context.Context, in *ListTicketsInput, opts ...grpc.CallOption) (*ListTicketsOutput, error) ApproveTicket(ctx context.Context, in *ApproveTicketInput, opts ...grpc.CallOption) (*ApproveTicketOutput, error) RejectTicket(ctx context.Context, in *RejectTicketInput, opts ...grpc.CallOption) (*RejectTicketOutput, error) CloseTicket(ctx context.Context, in *CloseTicketInput, opts ...grpc.CallOption) (*CloseTicketOutput, error) AddComment(ctx context.Context, in *AddCommentInput, opts ...grpc.CallOption) (*AddCommentOutput, error) UpdateComment(ctx context.Context, in *UpdateCommentInput, opts ...grpc.CallOption) (*UpdateCommentOutput, error) DeleteComment(ctx context.Context, in *DeleteCommentInput, opts ...grpc.CallOption) (*DeleteCommentOutput, error) ListComments(ctx context.Context, in *ListCommentsInput, opts ...grpc.CallOption) (*ListCommentsOutput, error) DescribeComment(ctx context.Context, in *DescribeCommentInput, opts ...grpc.CallOption) (*DescribeCommentOutput, error) CreateAutoReply(ctx context.Context, in *CreateAutoReplyInput, opts ...grpc.CallOption) (*CreateAutoReplyOutput, error) UpdateAutoReply(ctx context.Context, in *UpdateAutoReplyInput, opts ...grpc.CallOption) (*UpdateAutoReplyOutput, error) DeleteAutoReply(ctx context.Context, in *DeleteAutoReplyInput, opts ...grpc.CallOption) (*DeleteAutoReplyOutput, error) ListAutoReplies(ctx context.Context, in *ListAutoRepliesInput, opts ...grpc.CallOption) (*ListAutoRepliesOutput, error) DescribeAutoReply(ctx context.Context, in *DescribeAutoReplyInput, opts ...grpc.CallOption) (*DescribeAutoReplyOutput, error) UploadAttachment(ctx context.Context, in *UploadAttachmentInput, opts ...grpc.CallOption) (*UploadAttachmentOutput, error) }
SupportClient is the client API for Support service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.golang.ir/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewSupportClient ¶
func NewSupportClient(cc grpc.ClientConnInterface) SupportClient
type SupportInterceptor ¶
type SupportInterceptor struct {
// contains filtered or unexported fields
}
func NewSupportInterceptor ¶
func NewSupportInterceptor(cli SupportClient, middleware ..._SupportMiddleware) *SupportInterceptor
NewSupportInterceptor constructs additional middleware for a server based on annotations in proto files
func (*SupportInterceptor) AddComment ¶
func (i *SupportInterceptor) AddComment(ctx context.Context, in *AddCommentInput, opts ...grpc.CallOption) (*AddCommentOutput, error)
func (*SupportInterceptor) ApproveTicket ¶
func (i *SupportInterceptor) ApproveTicket(ctx context.Context, in *ApproveTicketInput, opts ...grpc.CallOption) (*ApproveTicketOutput, error)
func (*SupportInterceptor) CloseTicket ¶
func (i *SupportInterceptor) CloseTicket(ctx context.Context, in *CloseTicketInput, opts ...grpc.CallOption) (*CloseTicketOutput, error)
func (*SupportInterceptor) CreateAutoReply ¶
func (i *SupportInterceptor) CreateAutoReply(ctx context.Context, in *CreateAutoReplyInput, opts ...grpc.CallOption) (*CreateAutoReplyOutput, error)
func (*SupportInterceptor) CreateTicket ¶
func (i *SupportInterceptor) CreateTicket(ctx context.Context, in *CreateTicketInput, opts ...grpc.CallOption) (*CreateTicketOutput, error)
func (*SupportInterceptor) DeleteAutoReply ¶
func (i *SupportInterceptor) DeleteAutoReply(ctx context.Context, in *DeleteAutoReplyInput, opts ...grpc.CallOption) (*DeleteAutoReplyOutput, error)
func (*SupportInterceptor) DeleteComment ¶
func (i *SupportInterceptor) DeleteComment(ctx context.Context, in *DeleteCommentInput, opts ...grpc.CallOption) (*DeleteCommentOutput, error)
func (*SupportInterceptor) DeleteTicket ¶
func (i *SupportInterceptor) DeleteTicket(ctx context.Context, in *DeleteTicketInput, opts ...grpc.CallOption) (*DeleteTicketOutput, error)
func (*SupportInterceptor) DescribeAutoReply ¶
func (i *SupportInterceptor) DescribeAutoReply(ctx context.Context, in *DescribeAutoReplyInput, opts ...grpc.CallOption) (*DescribeAutoReplyOutput, error)
func (*SupportInterceptor) DescribeComment ¶
func (i *SupportInterceptor) DescribeComment(ctx context.Context, in *DescribeCommentInput, opts ...grpc.CallOption) (*DescribeCommentOutput, error)
func (*SupportInterceptor) DescribeTicket ¶
func (i *SupportInterceptor) DescribeTicket(ctx context.Context, in *DescribeTicketInput, opts ...grpc.CallOption) (*DescribeTicketOutput, error)
func (*SupportInterceptor) ListAutoReplies ¶
func (i *SupportInterceptor) ListAutoReplies(ctx context.Context, in *ListAutoRepliesInput, opts ...grpc.CallOption) (*ListAutoRepliesOutput, error)
func (*SupportInterceptor) ListComments ¶
func (i *SupportInterceptor) ListComments(ctx context.Context, in *ListCommentsInput, opts ...grpc.CallOption) (*ListCommentsOutput, error)
func (*SupportInterceptor) ListTickets ¶
func (i *SupportInterceptor) ListTickets(ctx context.Context, in *ListTicketsInput, opts ...grpc.CallOption) (*ListTicketsOutput, error)
func (*SupportInterceptor) RejectTicket ¶
func (i *SupportInterceptor) RejectTicket(ctx context.Context, in *RejectTicketInput, opts ...grpc.CallOption) (*RejectTicketOutput, error)
func (*SupportInterceptor) UpdateAutoReply ¶
func (i *SupportInterceptor) UpdateAutoReply(ctx context.Context, in *UpdateAutoReplyInput, opts ...grpc.CallOption) (*UpdateAutoReplyOutput, error)
func (*SupportInterceptor) UpdateComment ¶
func (i *SupportInterceptor) UpdateComment(ctx context.Context, in *UpdateCommentInput, opts ...grpc.CallOption) (*UpdateCommentOutput, error)
func (*SupportInterceptor) UpdateTicket ¶
func (i *SupportInterceptor) UpdateTicket(ctx context.Context, in *UpdateTicketInput, opts ...grpc.CallOption) (*UpdateTicketOutput, error)
func (*SupportInterceptor) UploadAttachment ¶
func (i *SupportInterceptor) UploadAttachment(ctx context.Context, in *UploadAttachmentInput, opts ...grpc.CallOption) (*UploadAttachmentOutput, error)
type SupportServer ¶
type SupportServer interface { CreateTicket(context.Context, *CreateTicketInput) (*CreateTicketOutput, error) UpdateTicket(context.Context, *UpdateTicketInput) (*UpdateTicketOutput, error) DeleteTicket(context.Context, *DeleteTicketInput) (*DeleteTicketOutput, error) DescribeTicket(context.Context, *DescribeTicketInput) (*DescribeTicketOutput, error) ListTickets(context.Context, *ListTicketsInput) (*ListTicketsOutput, error) ApproveTicket(context.Context, *ApproveTicketInput) (*ApproveTicketOutput, error) RejectTicket(context.Context, *RejectTicketInput) (*RejectTicketOutput, error) CloseTicket(context.Context, *CloseTicketInput) (*CloseTicketOutput, error) AddComment(context.Context, *AddCommentInput) (*AddCommentOutput, error) UpdateComment(context.Context, *UpdateCommentInput) (*UpdateCommentOutput, error) DeleteComment(context.Context, *DeleteCommentInput) (*DeleteCommentOutput, error) ListComments(context.Context, *ListCommentsInput) (*ListCommentsOutput, error) DescribeComment(context.Context, *DescribeCommentInput) (*DescribeCommentOutput, error) CreateAutoReply(context.Context, *CreateAutoReplyInput) (*CreateAutoReplyOutput, error) UpdateAutoReply(context.Context, *UpdateAutoReplyInput) (*UpdateAutoReplyOutput, error) DeleteAutoReply(context.Context, *DeleteAutoReplyInput) (*DeleteAutoReplyOutput, error) ListAutoReplies(context.Context, *ListAutoRepliesInput) (*ListAutoRepliesOutput, error) DescribeAutoReply(context.Context, *DescribeAutoReplyInput) (*DescribeAutoReplyOutput, error) UploadAttachment(context.Context, *UploadAttachmentInput) (*UploadAttachmentOutput, error) }
SupportServer is the server API for Support service. All implementations should embed UnimplementedSupportServer for forward compatibility
type SupportService ¶
type SupportService struct {
// contains filtered or unexported fields
}
func NewSupportHttpClient ¶
func NewSupportHttpClient(url string, cli _SupportHttpClient) *SupportService
NewSupportHttpClient constructs client for Support
func (*SupportService) AddComment ¶
func (s *SupportService) AddComment(ctx context.Context, in *AddCommentInput) (*AddCommentOutput, error)
func (*SupportService) ApproveTicket ¶
func (s *SupportService) ApproveTicket(ctx context.Context, in *ApproveTicketInput) (*ApproveTicketOutput, error)
func (*SupportService) CloseTicket ¶
func (s *SupportService) CloseTicket(ctx context.Context, in *CloseTicketInput) (*CloseTicketOutput, error)
func (*SupportService) CreateAutoReply ¶
func (s *SupportService) CreateAutoReply(ctx context.Context, in *CreateAutoReplyInput) (*CreateAutoReplyOutput, error)
func (*SupportService) CreateTicket ¶
func (s *SupportService) CreateTicket(ctx context.Context, in *CreateTicketInput) (*CreateTicketOutput, error)
func (*SupportService) DeleteAutoReply ¶
func (s *SupportService) DeleteAutoReply(ctx context.Context, in *DeleteAutoReplyInput) (*DeleteAutoReplyOutput, error)
func (*SupportService) DeleteComment ¶
func (s *SupportService) DeleteComment(ctx context.Context, in *DeleteCommentInput) (*DeleteCommentOutput, error)
func (*SupportService) DeleteTicket ¶
func (s *SupportService) DeleteTicket(ctx context.Context, in *DeleteTicketInput) (*DeleteTicketOutput, error)
func (*SupportService) DescribeAutoReply ¶
func (s *SupportService) DescribeAutoReply(ctx context.Context, in *DescribeAutoReplyInput) (*DescribeAutoReplyOutput, error)
func (*SupportService) DescribeComment ¶
func (s *SupportService) DescribeComment(ctx context.Context, in *DescribeCommentInput) (*DescribeCommentOutput, error)
func (*SupportService) DescribeTicket ¶
func (s *SupportService) DescribeTicket(ctx context.Context, in *DescribeTicketInput) (*DescribeTicketOutput, error)
func (*SupportService) ListAutoReplies ¶
func (s *SupportService) ListAutoReplies(ctx context.Context, in *ListAutoRepliesInput) (*ListAutoRepliesOutput, error)
func (*SupportService) ListComments ¶
func (s *SupportService) ListComments(ctx context.Context, in *ListCommentsInput) (*ListCommentsOutput, error)
func (*SupportService) ListTickets ¶
func (s *SupportService) ListTickets(ctx context.Context, in *ListTicketsInput) (*ListTicketsOutput, error)
func (*SupportService) RejectTicket ¶
func (s *SupportService) RejectTicket(ctx context.Context, in *RejectTicketInput) (*RejectTicketOutput, error)
func (*SupportService) UpdateAutoReply ¶
func (s *SupportService) UpdateAutoReply(ctx context.Context, in *UpdateAutoReplyInput) (*UpdateAutoReplyOutput, error)
func (*SupportService) UpdateComment ¶
func (s *SupportService) UpdateComment(ctx context.Context, in *UpdateCommentInput) (*UpdateCommentOutput, error)
func (*SupportService) UpdateTicket ¶
func (s *SupportService) UpdateTicket(ctx context.Context, in *UpdateTicketInput) (*UpdateTicketOutput, error)
func (*SupportService) UploadAttachment ¶
func (s *SupportService) UploadAttachment(ctx context.Context, in *UploadAttachmentInput) (*UploadAttachmentOutput, error)
type Ticket ¶
type Ticket struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Type Ticket_Type `protobuf:"varint,2,opt,name=type,proto3,enum=eolymp.helpdesk.Ticket_Type" json:"type,omitempty"` UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` UserEmail string `protobuf:"bytes,4,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"` Metadata map[string]string `` /* 157-byte string literal not displayed */ Status Ticket_Status `protobuf:"varint,6,opt,name=status,proto3,enum=eolymp.helpdesk.Ticket_Status" json:"status,omitempty"` Locale string `protobuf:"bytes,9,opt,name=locale,proto3" json:"locale,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` Secret string `protobuf:"bytes,12,opt,name=secret,proto3" json:"secret,omitempty"` Subject string `protobuf:"bytes,20,opt,name=subject,proto3" json:"subject,omitempty"` Message *ecm.Content `protobuf:"bytes,50,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*Ticket) Descriptor
deprecated
func (*Ticket) GetCreatedAt ¶
func (x *Ticket) GetCreatedAt() *timestamppb.Timestamp
func (*Ticket) GetMessage ¶
func (*Ticket) GetMetadata ¶
func (*Ticket) GetStatus ¶
func (x *Ticket) GetStatus() Ticket_Status
func (*Ticket) GetSubject ¶
func (*Ticket) GetType ¶
func (x *Ticket) GetType() Ticket_Type
func (*Ticket) GetUpdatedAt ¶
func (x *Ticket) GetUpdatedAt() *timestamppb.Timestamp
func (*Ticket) GetUserEmail ¶
func (*Ticket) ProtoMessage ¶
func (*Ticket) ProtoMessage()
func (*Ticket) ProtoReflect ¶
func (x *Ticket) ProtoReflect() protoreflect.Message
type TicketChangedEvent ¶
type TicketChangedEvent struct { Before *Ticket `protobuf:"bytes,1,opt,name=before,proto3" json:"before,omitempty"` After *Ticket `protobuf:"bytes,2,opt,name=after,proto3" json:"after,omitempty"` // contains filtered or unexported fields }
func (*TicketChangedEvent) Descriptor
deprecated
func (*TicketChangedEvent) Descriptor() ([]byte, []int)
Deprecated: Use TicketChangedEvent.ProtoReflect.Descriptor instead.
func (*TicketChangedEvent) GetAfter ¶
func (x *TicketChangedEvent) GetAfter() *Ticket
func (*TicketChangedEvent) GetBefore ¶
func (x *TicketChangedEvent) GetBefore() *Ticket
func (*TicketChangedEvent) ProtoMessage ¶
func (*TicketChangedEvent) ProtoMessage()
func (*TicketChangedEvent) ProtoReflect ¶
func (x *TicketChangedEvent) ProtoReflect() protoreflect.Message
func (*TicketChangedEvent) Reset ¶
func (x *TicketChangedEvent) Reset()
func (*TicketChangedEvent) String ¶
func (x *TicketChangedEvent) String() string
type TicketServiceClient ¶
type TicketServiceClient interface { CreateTicket(ctx context.Context, in *CreateTicketInput, opts ...grpc.CallOption) (*CreateTicketOutput, error) UpdateTicket(ctx context.Context, in *UpdateTicketInput, opts ...grpc.CallOption) (*UpdateTicketOutput, error) DeleteTicket(ctx context.Context, in *DeleteTicketInput, opts ...grpc.CallOption) (*DeleteTicketOutput, error) DescribeTicket(ctx context.Context, in *DescribeTicketInput, opts ...grpc.CallOption) (*DescribeTicketOutput, error) ListTickets(ctx context.Context, in *ListTicketsInput, opts ...grpc.CallOption) (*ListTicketsOutput, error) ApproveTicket(ctx context.Context, in *ApproveTicketInput, opts ...grpc.CallOption) (*ApproveTicketOutput, error) RejectTicket(ctx context.Context, in *RejectTicketInput, opts ...grpc.CallOption) (*RejectTicketOutput, error) CloseTicket(ctx context.Context, in *CloseTicketInput, opts ...grpc.CallOption) (*CloseTicketOutput, error) AddComment(ctx context.Context, in *AddCommentInput, opts ...grpc.CallOption) (*AddCommentOutput, error) UpdateComment(ctx context.Context, in *UpdateCommentInput, opts ...grpc.CallOption) (*UpdateCommentOutput, error) DeleteComment(ctx context.Context, in *DeleteCommentInput, opts ...grpc.CallOption) (*DeleteCommentOutput, error) ListComments(ctx context.Context, in *ListCommentsInput, opts ...grpc.CallOption) (*ListCommentsOutput, error) DescribeComment(ctx context.Context, in *DescribeCommentInput, opts ...grpc.CallOption) (*DescribeCommentOutput, error) UploadAttachment(ctx context.Context, in *UploadAttachmentInput, opts ...grpc.CallOption) (*UploadAttachmentOutput, error) }
TicketServiceClient is the client API for TicketService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.golang.ir/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewTicketServiceClient ¶
func NewTicketServiceClient(cc grpc.ClientConnInterface) TicketServiceClient
type TicketServiceInterceptor ¶
type TicketServiceInterceptor struct {
// contains filtered or unexported fields
}
func NewTicketServiceInterceptor ¶
func NewTicketServiceInterceptor(cli TicketServiceClient, middleware ..._TicketServiceMiddleware) *TicketServiceInterceptor
NewTicketServiceInterceptor constructs additional middleware for a server based on annotations in proto files
func (*TicketServiceInterceptor) AddComment ¶
func (i *TicketServiceInterceptor) AddComment(ctx context.Context, in *AddCommentInput, opts ...grpc.CallOption) (*AddCommentOutput, error)
func (*TicketServiceInterceptor) ApproveTicket ¶
func (i *TicketServiceInterceptor) ApproveTicket(ctx context.Context, in *ApproveTicketInput, opts ...grpc.CallOption) (*ApproveTicketOutput, error)
func (*TicketServiceInterceptor) CloseTicket ¶
func (i *TicketServiceInterceptor) CloseTicket(ctx context.Context, in *CloseTicketInput, opts ...grpc.CallOption) (*CloseTicketOutput, error)
func (*TicketServiceInterceptor) CreateTicket ¶
func (i *TicketServiceInterceptor) CreateTicket(ctx context.Context, in *CreateTicketInput, opts ...grpc.CallOption) (*CreateTicketOutput, error)
func (*TicketServiceInterceptor) DeleteComment ¶
func (i *TicketServiceInterceptor) DeleteComment(ctx context.Context, in *DeleteCommentInput, opts ...grpc.CallOption) (*DeleteCommentOutput, error)
func (*TicketServiceInterceptor) DeleteTicket ¶
func (i *TicketServiceInterceptor) DeleteTicket(ctx context.Context, in *DeleteTicketInput, opts ...grpc.CallOption) (*DeleteTicketOutput, error)
func (*TicketServiceInterceptor) DescribeComment ¶
func (i *TicketServiceInterceptor) DescribeComment(ctx context.Context, in *DescribeCommentInput, opts ...grpc.CallOption) (*DescribeCommentOutput, error)
func (*TicketServiceInterceptor) DescribeTicket ¶
func (i *TicketServiceInterceptor) DescribeTicket(ctx context.Context, in *DescribeTicketInput, opts ...grpc.CallOption) (*DescribeTicketOutput, error)
func (*TicketServiceInterceptor) ListComments ¶
func (i *TicketServiceInterceptor) ListComments(ctx context.Context, in *ListCommentsInput, opts ...grpc.CallOption) (*ListCommentsOutput, error)
func (*TicketServiceInterceptor) ListTickets ¶
func (i *TicketServiceInterceptor) ListTickets(ctx context.Context, in *ListTicketsInput, opts ...grpc.CallOption) (*ListTicketsOutput, error)
func (*TicketServiceInterceptor) RejectTicket ¶
func (i *TicketServiceInterceptor) RejectTicket(ctx context.Context, in *RejectTicketInput, opts ...grpc.CallOption) (*RejectTicketOutput, error)
func (*TicketServiceInterceptor) UpdateComment ¶
func (i *TicketServiceInterceptor) UpdateComment(ctx context.Context, in *UpdateCommentInput, opts ...grpc.CallOption) (*UpdateCommentOutput, error)
func (*TicketServiceInterceptor) UpdateTicket ¶
func (i *TicketServiceInterceptor) UpdateTicket(ctx context.Context, in *UpdateTicketInput, opts ...grpc.CallOption) (*UpdateTicketOutput, error)
func (*TicketServiceInterceptor) UploadAttachment ¶
func (i *TicketServiceInterceptor) UploadAttachment(ctx context.Context, in *UploadAttachmentInput, opts ...grpc.CallOption) (*UploadAttachmentOutput, error)
type TicketServiceServer ¶
type TicketServiceServer interface { CreateTicket(context.Context, *CreateTicketInput) (*CreateTicketOutput, error) UpdateTicket(context.Context, *UpdateTicketInput) (*UpdateTicketOutput, error) DeleteTicket(context.Context, *DeleteTicketInput) (*DeleteTicketOutput, error) DescribeTicket(context.Context, *DescribeTicketInput) (*DescribeTicketOutput, error) ListTickets(context.Context, *ListTicketsInput) (*ListTicketsOutput, error) ApproveTicket(context.Context, *ApproveTicketInput) (*ApproveTicketOutput, error) RejectTicket(context.Context, *RejectTicketInput) (*RejectTicketOutput, error) CloseTicket(context.Context, *CloseTicketInput) (*CloseTicketOutput, error) AddComment(context.Context, *AddCommentInput) (*AddCommentOutput, error) UpdateComment(context.Context, *UpdateCommentInput) (*UpdateCommentOutput, error) DeleteComment(context.Context, *DeleteCommentInput) (*DeleteCommentOutput, error) ListComments(context.Context, *ListCommentsInput) (*ListCommentsOutput, error) DescribeComment(context.Context, *DescribeCommentInput) (*DescribeCommentOutput, error) UploadAttachment(context.Context, *UploadAttachmentInput) (*UploadAttachmentOutput, error) }
TicketServiceServer is the server API for TicketService service. All implementations should embed UnimplementedTicketServiceServer for forward compatibility
type TicketServiceService ¶
type TicketServiceService struct {
// contains filtered or unexported fields
}
func NewTicketServiceHttpClient ¶
func NewTicketServiceHttpClient(url string, cli _TicketServiceHttpClient) *TicketServiceService
NewTicketServiceHttpClient constructs client for TicketService
func (*TicketServiceService) AddComment ¶
func (s *TicketServiceService) AddComment(ctx context.Context, in *AddCommentInput) (*AddCommentOutput, error)
func (*TicketServiceService) ApproveTicket ¶
func (s *TicketServiceService) ApproveTicket(ctx context.Context, in *ApproveTicketInput) (*ApproveTicketOutput, error)
func (*TicketServiceService) CloseTicket ¶
func (s *TicketServiceService) CloseTicket(ctx context.Context, in *CloseTicketInput) (*CloseTicketOutput, error)
func (*TicketServiceService) CreateTicket ¶
func (s *TicketServiceService) CreateTicket(ctx context.Context, in *CreateTicketInput) (*CreateTicketOutput, error)
func (*TicketServiceService) DeleteComment ¶
func (s *TicketServiceService) DeleteComment(ctx context.Context, in *DeleteCommentInput) (*DeleteCommentOutput, error)
func (*TicketServiceService) DeleteTicket ¶
func (s *TicketServiceService) DeleteTicket(ctx context.Context, in *DeleteTicketInput) (*DeleteTicketOutput, error)
func (*TicketServiceService) DescribeComment ¶
func (s *TicketServiceService) DescribeComment(ctx context.Context, in *DescribeCommentInput) (*DescribeCommentOutput, error)
func (*TicketServiceService) DescribeTicket ¶
func (s *TicketServiceService) DescribeTicket(ctx context.Context, in *DescribeTicketInput) (*DescribeTicketOutput, error)
func (*TicketServiceService) ListComments ¶
func (s *TicketServiceService) ListComments(ctx context.Context, in *ListCommentsInput) (*ListCommentsOutput, error)
func (*TicketServiceService) ListTickets ¶
func (s *TicketServiceService) ListTickets(ctx context.Context, in *ListTicketsInput) (*ListTicketsOutput, error)
func (*TicketServiceService) RejectTicket ¶
func (s *TicketServiceService) RejectTicket(ctx context.Context, in *RejectTicketInput) (*RejectTicketOutput, error)
func (*TicketServiceService) UpdateComment ¶
func (s *TicketServiceService) UpdateComment(ctx context.Context, in *UpdateCommentInput) (*UpdateCommentOutput, error)
func (*TicketServiceService) UpdateTicket ¶
func (s *TicketServiceService) UpdateTicket(ctx context.Context, in *UpdateTicketInput) (*UpdateTicketOutput, error)
func (*TicketServiceService) UploadAttachment ¶
func (s *TicketServiceService) UploadAttachment(ctx context.Context, in *UploadAttachmentInput) (*UploadAttachmentOutput, error)
type Ticket_Comment ¶
type Ticket_Comment struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` UserEmail string `protobuf:"bytes,4,opt,name=user_email,json=userEmail,proto3" json:"user_email,omitempty"` Metadata map[string]string `` /* 157-byte string literal not displayed */ CreatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` Message *ecm.Content `protobuf:"bytes,50,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*Ticket_Comment) Descriptor
deprecated
func (*Ticket_Comment) Descriptor() ([]byte, []int)
Deprecated: Use Ticket_Comment.ProtoReflect.Descriptor instead.
func (*Ticket_Comment) GetCreatedAt ¶
func (x *Ticket_Comment) GetCreatedAt() *timestamppb.Timestamp
func (*Ticket_Comment) GetId ¶
func (x *Ticket_Comment) GetId() string
func (*Ticket_Comment) GetMessage ¶
func (x *Ticket_Comment) GetMessage() *ecm.Content
func (*Ticket_Comment) GetMetadata ¶
func (x *Ticket_Comment) GetMetadata() map[string]string
func (*Ticket_Comment) GetUpdatedAt ¶
func (x *Ticket_Comment) GetUpdatedAt() *timestamppb.Timestamp
func (*Ticket_Comment) GetUserEmail ¶
func (x *Ticket_Comment) GetUserEmail() string
func (*Ticket_Comment) GetUserId ¶
func (x *Ticket_Comment) GetUserId() string
func (*Ticket_Comment) ProtoMessage ¶
func (*Ticket_Comment) ProtoMessage()
func (*Ticket_Comment) ProtoReflect ¶
func (x *Ticket_Comment) ProtoReflect() protoreflect.Message
func (*Ticket_Comment) Reset ¶
func (x *Ticket_Comment) Reset()
func (*Ticket_Comment) String ¶
func (x *Ticket_Comment) String() string
type Ticket_Status ¶
type Ticket_Status int32
const ( Ticket_UNKNOWN Ticket_Status = 0 Ticket_PENDING Ticket_Status = 1 // pending review by agent Ticket_AWAITING Ticket_Status = 2 // pending action from customer Ticket_CLOSED Ticket_Status = 3 // ticket is resolved Ticket_APPROVED Ticket_Status = 4 // request is approved Ticket_REJECTED Ticket_Status = 5 // request is rejected )
func (Ticket_Status) Descriptor ¶
func (Ticket_Status) Descriptor() protoreflect.EnumDescriptor
func (Ticket_Status) Enum ¶
func (x Ticket_Status) Enum() *Ticket_Status
func (Ticket_Status) EnumDescriptor
deprecated
func (Ticket_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use Ticket_Status.Descriptor instead.
func (Ticket_Status) Number ¶
func (x Ticket_Status) Number() protoreflect.EnumNumber
func (Ticket_Status) String ¶
func (x Ticket_Status) String() string
func (Ticket_Status) Type ¶
func (Ticket_Status) Type() protoreflect.EnumType
type Ticket_Type ¶
type Ticket_Type int32
const ( Ticket_NONE Ticket_Type = 0 Ticket_QUESTION Ticket_Type = 1 Ticket_QUOTA_INCREASE Ticket_Type = 2 Ticket_FEEDBACK Ticket_Type = 3 Ticket_ACADEMIC_PLAN_REQUEST Ticket_Type = 4 Ticket_SALES_REQUEST Ticket_Type = 5 )
func (Ticket_Type) Descriptor ¶
func (Ticket_Type) Descriptor() protoreflect.EnumDescriptor
func (Ticket_Type) Enum ¶
func (x Ticket_Type) Enum() *Ticket_Type
func (Ticket_Type) EnumDescriptor
deprecated
func (Ticket_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Ticket_Type.Descriptor instead.
func (Ticket_Type) Number ¶
func (x Ticket_Type) Number() protoreflect.EnumNumber
func (Ticket_Type) String ¶
func (x Ticket_Type) String() string
func (Ticket_Type) Type ¶
func (Ticket_Type) Type() protoreflect.EnumType
type UnimplementedAutoReplyServiceServer ¶
type UnimplementedAutoReplyServiceServer struct { }
UnimplementedAutoReplyServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedAutoReplyServiceServer) CreateAutoReply ¶
func (UnimplementedAutoReplyServiceServer) CreateAutoReply(context.Context, *CreateAutoReplyInput) (*CreateAutoReplyOutput, error)
func (UnimplementedAutoReplyServiceServer) DeleteAutoReply ¶
func (UnimplementedAutoReplyServiceServer) DeleteAutoReply(context.Context, *DeleteAutoReplyInput) (*DeleteAutoReplyOutput, error)
func (UnimplementedAutoReplyServiceServer) DescribeAutoReply ¶
func (UnimplementedAutoReplyServiceServer) DescribeAutoReply(context.Context, *DescribeAutoReplyInput) (*DescribeAutoReplyOutput, error)
func (UnimplementedAutoReplyServiceServer) ListAutoReplies ¶
func (UnimplementedAutoReplyServiceServer) ListAutoReplies(context.Context, *ListAutoRepliesInput) (*ListAutoRepliesOutput, error)
func (UnimplementedAutoReplyServiceServer) UpdateAutoReply ¶
func (UnimplementedAutoReplyServiceServer) UpdateAutoReply(context.Context, *UpdateAutoReplyInput) (*UpdateAutoReplyOutput, error)
type UnimplementedSupportServer ¶
type UnimplementedSupportServer struct { }
UnimplementedSupportServer should be embedded to have forward compatible implementations.
func (UnimplementedSupportServer) AddComment ¶
func (UnimplementedSupportServer) AddComment(context.Context, *AddCommentInput) (*AddCommentOutput, error)
func (UnimplementedSupportServer) ApproveTicket ¶
func (UnimplementedSupportServer) ApproveTicket(context.Context, *ApproveTicketInput) (*ApproveTicketOutput, error)
func (UnimplementedSupportServer) CloseTicket ¶
func (UnimplementedSupportServer) CloseTicket(context.Context, *CloseTicketInput) (*CloseTicketOutput, error)
func (UnimplementedSupportServer) CreateAutoReply ¶
func (UnimplementedSupportServer) CreateAutoReply(context.Context, *CreateAutoReplyInput) (*CreateAutoReplyOutput, error)
func (UnimplementedSupportServer) CreateTicket ¶
func (UnimplementedSupportServer) CreateTicket(context.Context, *CreateTicketInput) (*CreateTicketOutput, error)
func (UnimplementedSupportServer) DeleteAutoReply ¶
func (UnimplementedSupportServer) DeleteAutoReply(context.Context, *DeleteAutoReplyInput) (*DeleteAutoReplyOutput, error)
func (UnimplementedSupportServer) DeleteComment ¶
func (UnimplementedSupportServer) DeleteComment(context.Context, *DeleteCommentInput) (*DeleteCommentOutput, error)
func (UnimplementedSupportServer) DeleteTicket ¶
func (UnimplementedSupportServer) DeleteTicket(context.Context, *DeleteTicketInput) (*DeleteTicketOutput, error)
func (UnimplementedSupportServer) DescribeAutoReply ¶
func (UnimplementedSupportServer) DescribeAutoReply(context.Context, *DescribeAutoReplyInput) (*DescribeAutoReplyOutput, error)
func (UnimplementedSupportServer) DescribeComment ¶
func (UnimplementedSupportServer) DescribeComment(context.Context, *DescribeCommentInput) (*DescribeCommentOutput, error)
func (UnimplementedSupportServer) DescribeTicket ¶
func (UnimplementedSupportServer) DescribeTicket(context.Context, *DescribeTicketInput) (*DescribeTicketOutput, error)
func (UnimplementedSupportServer) ListAutoReplies ¶
func (UnimplementedSupportServer) ListAutoReplies(context.Context, *ListAutoRepliesInput) (*ListAutoRepliesOutput, error)
func (UnimplementedSupportServer) ListComments ¶
func (UnimplementedSupportServer) ListComments(context.Context, *ListCommentsInput) (*ListCommentsOutput, error)
func (UnimplementedSupportServer) ListTickets ¶
func (UnimplementedSupportServer) ListTickets(context.Context, *ListTicketsInput) (*ListTicketsOutput, error)
func (UnimplementedSupportServer) RejectTicket ¶
func (UnimplementedSupportServer) RejectTicket(context.Context, *RejectTicketInput) (*RejectTicketOutput, error)
func (UnimplementedSupportServer) UpdateAutoReply ¶
func (UnimplementedSupportServer) UpdateAutoReply(context.Context, *UpdateAutoReplyInput) (*UpdateAutoReplyOutput, error)
func (UnimplementedSupportServer) UpdateComment ¶
func (UnimplementedSupportServer) UpdateComment(context.Context, *UpdateCommentInput) (*UpdateCommentOutput, error)
func (UnimplementedSupportServer) UpdateTicket ¶
func (UnimplementedSupportServer) UpdateTicket(context.Context, *UpdateTicketInput) (*UpdateTicketOutput, error)
func (UnimplementedSupportServer) UploadAttachment ¶
func (UnimplementedSupportServer) UploadAttachment(context.Context, *UploadAttachmentInput) (*UploadAttachmentOutput, error)
type UnimplementedTicketServiceServer ¶
type UnimplementedTicketServiceServer struct { }
UnimplementedTicketServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedTicketServiceServer) AddComment ¶
func (UnimplementedTicketServiceServer) AddComment(context.Context, *AddCommentInput) (*AddCommentOutput, error)
func (UnimplementedTicketServiceServer) ApproveTicket ¶
func (UnimplementedTicketServiceServer) ApproveTicket(context.Context, *ApproveTicketInput) (*ApproveTicketOutput, error)
func (UnimplementedTicketServiceServer) CloseTicket ¶
func (UnimplementedTicketServiceServer) CloseTicket(context.Context, *CloseTicketInput) (*CloseTicketOutput, error)
func (UnimplementedTicketServiceServer) CreateTicket ¶
func (UnimplementedTicketServiceServer) CreateTicket(context.Context, *CreateTicketInput) (*CreateTicketOutput, error)
func (UnimplementedTicketServiceServer) DeleteComment ¶
func (UnimplementedTicketServiceServer) DeleteComment(context.Context, *DeleteCommentInput) (*DeleteCommentOutput, error)
func (UnimplementedTicketServiceServer) DeleteTicket ¶
func (UnimplementedTicketServiceServer) DeleteTicket(context.Context, *DeleteTicketInput) (*DeleteTicketOutput, error)
func (UnimplementedTicketServiceServer) DescribeComment ¶
func (UnimplementedTicketServiceServer) DescribeComment(context.Context, *DescribeCommentInput) (*DescribeCommentOutput, error)
func (UnimplementedTicketServiceServer) DescribeTicket ¶
func (UnimplementedTicketServiceServer) DescribeTicket(context.Context, *DescribeTicketInput) (*DescribeTicketOutput, error)
func (UnimplementedTicketServiceServer) ListComments ¶
func (UnimplementedTicketServiceServer) ListComments(context.Context, *ListCommentsInput) (*ListCommentsOutput, error)
func (UnimplementedTicketServiceServer) ListTickets ¶
func (UnimplementedTicketServiceServer) ListTickets(context.Context, *ListTicketsInput) (*ListTicketsOutput, error)
func (UnimplementedTicketServiceServer) RejectTicket ¶
func (UnimplementedTicketServiceServer) RejectTicket(context.Context, *RejectTicketInput) (*RejectTicketOutput, error)
func (UnimplementedTicketServiceServer) UpdateComment ¶
func (UnimplementedTicketServiceServer) UpdateComment(context.Context, *UpdateCommentInput) (*UpdateCommentOutput, error)
func (UnimplementedTicketServiceServer) UpdateTicket ¶
func (UnimplementedTicketServiceServer) UpdateTicket(context.Context, *UpdateTicketInput) (*UpdateTicketOutput, error)
func (UnimplementedTicketServiceServer) UploadAttachment ¶
func (UnimplementedTicketServiceServer) UploadAttachment(context.Context, *UploadAttachmentInput) (*UploadAttachmentOutput, error)
type UnsafeAutoReplyServiceServer ¶
type UnsafeAutoReplyServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAutoReplyServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AutoReplyServiceServer will result in compilation errors.
type UnsafeSupportServer ¶
type UnsafeSupportServer interface {
// contains filtered or unexported methods
}
UnsafeSupportServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SupportServer will result in compilation errors.
type UnsafeTicketServiceServer ¶
type UnsafeTicketServiceServer interface {
// contains filtered or unexported methods
}
UnsafeTicketServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TicketServiceServer will result in compilation errors.
type UpdateAutoReplyInput ¶
type UpdateAutoReplyInput struct { ReplyId string `protobuf:"bytes,1,opt,name=reply_id,json=replyId,proto3" json:"reply_id,omitempty"` Reply *AutoReply `protobuf:"bytes,2,opt,name=reply,proto3" json:"reply,omitempty"` // contains filtered or unexported fields }
func (*UpdateAutoReplyInput) Descriptor
deprecated
func (*UpdateAutoReplyInput) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAutoReplyInput.ProtoReflect.Descriptor instead.
func (*UpdateAutoReplyInput) GetReply ¶
func (x *UpdateAutoReplyInput) GetReply() *AutoReply
func (*UpdateAutoReplyInput) GetReplyId ¶
func (x *UpdateAutoReplyInput) GetReplyId() string
func (*UpdateAutoReplyInput) ProtoMessage ¶
func (*UpdateAutoReplyInput) ProtoMessage()
func (*UpdateAutoReplyInput) ProtoReflect ¶
func (x *UpdateAutoReplyInput) ProtoReflect() protoreflect.Message
func (*UpdateAutoReplyInput) Reset ¶
func (x *UpdateAutoReplyInput) Reset()
func (*UpdateAutoReplyInput) String ¶
func (x *UpdateAutoReplyInput) String() string
type UpdateAutoReplyOutput ¶
type UpdateAutoReplyOutput struct {
// contains filtered or unexported fields
}
func (*UpdateAutoReplyOutput) Descriptor
deprecated
func (*UpdateAutoReplyOutput) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAutoReplyOutput.ProtoReflect.Descriptor instead.
func (*UpdateAutoReplyOutput) ProtoMessage ¶
func (*UpdateAutoReplyOutput) ProtoMessage()
func (*UpdateAutoReplyOutput) ProtoReflect ¶
func (x *UpdateAutoReplyOutput) ProtoReflect() protoreflect.Message
func (*UpdateAutoReplyOutput) Reset ¶
func (x *UpdateAutoReplyOutput) Reset()
func (*UpdateAutoReplyOutput) String ¶
func (x *UpdateAutoReplyOutput) String() string
type UpdateCommentInput ¶
type UpdateCommentInput struct { TicketId string `protobuf:"bytes,1,opt,name=ticket_id,json=ticketId,proto3" json:"ticket_id,omitempty"` CommentId string `protobuf:"bytes,2,opt,name=comment_id,json=commentId,proto3" json:"comment_id,omitempty"` Comment *Ticket_Comment `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"` // contains filtered or unexported fields }
func (*UpdateCommentInput) Descriptor
deprecated
func (*UpdateCommentInput) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCommentInput.ProtoReflect.Descriptor instead.
func (*UpdateCommentInput) GetComment ¶
func (x *UpdateCommentInput) GetComment() *Ticket_Comment
func (*UpdateCommentInput) GetCommentId ¶
func (x *UpdateCommentInput) GetCommentId() string
func (*UpdateCommentInput) GetTicketId ¶
func (x *UpdateCommentInput) GetTicketId() string
func (*UpdateCommentInput) ProtoMessage ¶
func (*UpdateCommentInput) ProtoMessage()
func (*UpdateCommentInput) ProtoReflect ¶
func (x *UpdateCommentInput) ProtoReflect() protoreflect.Message
func (*UpdateCommentInput) Reset ¶
func (x *UpdateCommentInput) Reset()
func (*UpdateCommentInput) String ¶
func (x *UpdateCommentInput) String() string
type UpdateCommentOutput ¶
type UpdateCommentOutput struct {
// contains filtered or unexported fields
}
func (*UpdateCommentOutput) Descriptor
deprecated
func (*UpdateCommentOutput) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCommentOutput.ProtoReflect.Descriptor instead.
func (*UpdateCommentOutput) ProtoMessage ¶
func (*UpdateCommentOutput) ProtoMessage()
func (*UpdateCommentOutput) ProtoReflect ¶
func (x *UpdateCommentOutput) ProtoReflect() protoreflect.Message
func (*UpdateCommentOutput) Reset ¶
func (x *UpdateCommentOutput) Reset()
func (*UpdateCommentOutput) String ¶
func (x *UpdateCommentOutput) String() string
type UpdateTicketInput ¶
type UpdateTicketInput struct { TicketId string `protobuf:"bytes,1,opt,name=ticket_id,json=ticketId,proto3" json:"ticket_id,omitempty"` Ticket *Ticket `protobuf:"bytes,2,opt,name=ticket,proto3" json:"ticket,omitempty"` // contains filtered or unexported fields }
func (*UpdateTicketInput) Descriptor
deprecated
func (*UpdateTicketInput) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTicketInput.ProtoReflect.Descriptor instead.
func (*UpdateTicketInput) GetTicket ¶
func (x *UpdateTicketInput) GetTicket() *Ticket
func (*UpdateTicketInput) GetTicketId ¶
func (x *UpdateTicketInput) GetTicketId() string
func (*UpdateTicketInput) ProtoMessage ¶
func (*UpdateTicketInput) ProtoMessage()
func (*UpdateTicketInput) ProtoReflect ¶
func (x *UpdateTicketInput) ProtoReflect() protoreflect.Message
func (*UpdateTicketInput) Reset ¶
func (x *UpdateTicketInput) Reset()
func (*UpdateTicketInput) String ¶
func (x *UpdateTicketInput) String() string
type UpdateTicketOutput ¶
type UpdateTicketOutput struct {
// contains filtered or unexported fields
}
func (*UpdateTicketOutput) Descriptor
deprecated
func (*UpdateTicketOutput) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTicketOutput.ProtoReflect.Descriptor instead.
func (*UpdateTicketOutput) ProtoMessage ¶
func (*UpdateTicketOutput) ProtoMessage()
func (*UpdateTicketOutput) ProtoReflect ¶
func (x *UpdateTicketOutput) ProtoReflect() protoreflect.Message
func (*UpdateTicketOutput) Reset ¶
func (x *UpdateTicketOutput) Reset()
func (*UpdateTicketOutput) String ¶
func (x *UpdateTicketOutput) String() string
type UploadAttachmentInput ¶
type UploadAttachmentInput struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*UploadAttachmentInput) Descriptor
deprecated
func (*UploadAttachmentInput) Descriptor() ([]byte, []int)
Deprecated: Use UploadAttachmentInput.ProtoReflect.Descriptor instead.
func (*UploadAttachmentInput) GetData ¶
func (x *UploadAttachmentInput) GetData() []byte
func (*UploadAttachmentInput) GetName ¶
func (x *UploadAttachmentInput) GetName() string
func (*UploadAttachmentInput) GetType ¶
func (x *UploadAttachmentInput) GetType() string
func (*UploadAttachmentInput) ProtoMessage ¶
func (*UploadAttachmentInput) ProtoMessage()
func (*UploadAttachmentInput) ProtoReflect ¶
func (x *UploadAttachmentInput) ProtoReflect() protoreflect.Message
func (*UploadAttachmentInput) Reset ¶
func (x *UploadAttachmentInput) Reset()
func (*UploadAttachmentInput) String ¶
func (x *UploadAttachmentInput) String() string
type UploadAttachmentOutput ¶
type UploadAttachmentOutput struct { AttachmentUrl string `protobuf:"bytes,1,opt,name=attachment_url,json=attachmentUrl,proto3" json:"attachment_url,omitempty"` // contains filtered or unexported fields }
func (*UploadAttachmentOutput) Descriptor
deprecated
func (*UploadAttachmentOutput) Descriptor() ([]byte, []int)
Deprecated: Use UploadAttachmentOutput.ProtoReflect.Descriptor instead.
func (*UploadAttachmentOutput) GetAttachmentUrl ¶
func (x *UploadAttachmentOutput) GetAttachmentUrl() string
func (*UploadAttachmentOutput) ProtoMessage ¶
func (*UploadAttachmentOutput) ProtoMessage()
func (*UploadAttachmentOutput) ProtoReflect ¶
func (x *UploadAttachmentOutput) ProtoReflect() protoreflect.Message
func (*UploadAttachmentOutput) Reset ¶
func (x *UploadAttachmentOutput) Reset()
func (*UploadAttachmentOutput) String ¶
func (x *UploadAttachmentOutput) String() string
Source Files ¶
- auto_reply.pb.go
- auto_reply_service.pb.go
- auto_reply_service_esdk.pb.go
- auto_reply_service_grpc.pb.go
- auto_reply_service_http.pb.go
- events.pb.go
- support.pb.go
- support_esdk.pb.go
- support_grpc.pb.go
- support_http.pb.go
- ticket.pb.go
- ticket_service.pb.go
- ticket_service_esdk.pb.go
- ticket_service_grpc.pb.go
- ticket_service_http.pb.go