Documentation ¶
Index ¶
- Constants
- func NewTicketsHandler(svc TicketsHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
- type TicketsClient
- type TicketsHandler
- type UnimplementedTicketsHandler
- func (UnimplementedTicketsHandler) AddEntityRef(context.Context, *connect_go.Request[tickets.AddEntityRefRequest]) (*connect_go.Response[tickets.AddEntityRefResponse], error)
- func (UnimplementedTicketsHandler) AssignSelf(context.Context, *connect_go.Request[tickets.CreateSelfAssignReq]) (*connect_go.Response[tickets.CreateSelfAssignRes], error)
- func (UnimplementedTicketsHandler) AssignTicket(context.Context, *connect_go.Request[tickets.AssignTicketReq]) (*connect_go.Response[tickets.AssignTicketRes], error)
- func (UnimplementedTicketsHandler) AssignTicketAction(context.Context, *connect_go.Request[tickets.AssignTicketActionRequest]) (*connect_go.Response[tickets.AssignTicketActionResponse], error)
- func (UnimplementedTicketsHandler) AssignTicketTemplate(context.Context, *connect_go.Request[tickets.AssignProjectTemplateRequest]) (*connect_go.Response[tickets.AssignProjectTemplateResponse], error)
- func (UnimplementedTicketsHandler) ChangeTicketStatus(context.Context, *connect_go.Request[tickets.ChangeTicketStatusRequest]) (*connect_go.Response[tickets.ChangeTicketStatusResponse], error)
- func (UnimplementedTicketsHandler) CloseTicket(context.Context, *connect_go.Request[tickets.CloseTicketReq]) (*connect_go.Response[tickets.CloseTicketRes], error)
- func (UnimplementedTicketsHandler) CloseTicketAction(context.Context, *connect_go.Request[tickets.CloseTicketActionRequest]) (*connect_go.Response[tickets.CloseTicketActionResponse], error)
- func (UnimplementedTicketsHandler) CreateComment(context.Context, *connect_go.Request[tickets.CreateCommentReq]) (*connect_go.Response[tickets.CreateCommentRes], error)
- func (UnimplementedTicketsHandler) CreateSLA(context.Context, *connect_go.Request[tickets.CreateSlaReq]) (*connect_go.Response[tickets.CreateSlaRes], error)
- func (UnimplementedTicketsHandler) CreateTicket(context.Context, *connect_go.Request[tickets.CreateTicketReq]) (*connect_go.Response[tickets.CreateTicketRes], error)
- func (UnimplementedTicketsHandler) CreateTicketAction(context.Context, *connect_go.Request[tickets.CreateTicketActionRequest]) (*connect_go.Response[tickets.CreateTicketActionResponse], error)
- func (UnimplementedTicketsHandler) CreateTicketTemplate(context.Context, *connect_go.Request[tickets.CreateTicketTemplateRequest]) (*connect_go.Response[tickets.CreateTicketTemplateResponse], error)
- func (UnimplementedTicketsHandler) EditMaskTicket(context.Context, *connect_go.Request[tickets.EditMaskTicketReq]) (*connect_go.Response[tickets.EditMaskTicketRes], error)
- func (UnimplementedTicketsHandler) EditTicket(context.Context, *connect_go.Request[tickets.EditTicketReq]) (*connect_go.Response[tickets.EditTicketRes], error)
- func (UnimplementedTicketsHandler) EditTicketTemplate(context.Context, *connect_go.Request[tickets.EditTicketTemplateRequest]) (*connect_go.Response[tickets.EditTicketTemplateResponse], error)
- func (UnimplementedTicketsHandler) EnableProject(context.Context, *connect_go.Request[tickets.EnableProjectReq]) (*connect_go.Response[tickets.EnableProjectRes], error)
- func (UnimplementedTicketsHandler) GetAllActionType(context.Context, *connect_go.Request[tickets.GetActionTypeRequest]) (*connect_go.Response[tickets.GetActionTypeResponse], error)
- func (UnimplementedTicketsHandler) GetPhoneNumberType(context.Context, *connect_go.Request[tickets.GetPhoneNumberTypeRequest]) (*connect_go.Response[tickets.GetPhoneNumberTypeResponse], error)
- func (UnimplementedTicketsHandler) ListAgentTickets(context.Context, *connect_go.Request[tickets.ListAgentTicketsRequest]) (*connect_go.Response[tickets.ListAgentTicketsResponse], error)
- func (UnimplementedTicketsHandler) ListAllocatedTickets(context.Context, *connect_go.Request[tickets.ListAllocatedTicketReq]) (*connect_go.Response[tickets.ListAllocatedTicketRes], error)
- func (UnimplementedTicketsHandler) ListAvailableAgentTickets(context.Context, *connect_go.Request[tickets.ListAvailableAgentTicketsRequest]) (*connect_go.Response[tickets.ListAvailableAgentTicketsResponse], error)
- func (UnimplementedTicketsHandler) ListEnabledProjects(context.Context, *connect_go.Request[tickets.ListEnabledProjectsReq]) (*connect_go.Response[tickets.ListEnabledProjectsRes], error)
- func (UnimplementedTicketsHandler) ListEntityRefsByTicket(context.Context, *connect_go.Request[tickets.ListEntityRefsByTicketRequest]) (*connect_go.Response[tickets.ListEntityRefsByTicketResponse], error)
- func (UnimplementedTicketsHandler) ListSLA(context.Context, *connect_go.Request[tickets.ListSlaReq]) (*connect_go.Response[tickets.ListSlaRes], error)
- func (UnimplementedTicketsHandler) ListSLACondition(context.Context, *connect_go.Request[tickets.ListSlaConditionReq]) (*connect_go.Response[tickets.ListSlaConditionRes], error)
- func (UnimplementedTicketsHandler) ListSkills(context.Context, *connect_go.Request[tickets.ListSkillsRequest]) (*connect_go.Response[tickets.ListSkillsResponse], error)
- func (UnimplementedTicketsHandler) ListTicketAuditLog(context.Context, *connect_go.Request[tickets.ListTicketAuditLogReq]) (*connect_go.Response[tickets.ListTicketAuditLogRes], error)
- func (UnimplementedTicketsHandler) ListTicketTemplate(context.Context, *connect_go.Request[tickets.ListTicketTemplateRequest]) (*connect_go.Response[tickets.ListTicketTemplateResponse], error)
- func (UnimplementedTicketsHandler) ListTickets(context.Context, *connect_go.Request[tickets.ListTicketsReq]) (*connect_go.Response[tickets.ListTicketsRes], error)
- func (UnimplementedTicketsHandler) ListTicketsByEntityRef(context.Context, *connect_go.Request[tickets.ListTicketsByEntityRefRequest]) (*connect_go.Response[tickets.ListTicketsByEntityRefResponse], error)
- func (UnimplementedTicketsHandler) ListUsers(context.Context, *connect_go.Request[tickets.ListUsersRequest]) (*connect_go.Response[tickets.ListUsersResponse], error)
- func (UnimplementedTicketsHandler) ReplyComment(context.Context, *connect_go.Request[tickets.ReplyCommentReq]) (*connect_go.Response[tickets.ReplyCommentRes], error)
- func (UnimplementedTicketsHandler) UpdateSLA(context.Context, *connect_go.Request[tickets.UpdateSlaReq]) (*connect_go.Response[tickets.UpdateSlaRes], error)
- func (UnimplementedTicketsHandler) ViewTicket(context.Context, *connect_go.Request[tickets.ViewTicketReq]) (*connect_go.Response[tickets.ViewTicketRes], error)
Constants ¶
const ( // TicketsCreateTicketProcedure is the fully-qualified name of the Tickets's CreateTicket RPC. TicketsCreateTicketProcedure = "/api.v1alpha1.tickets.Tickets/CreateTicket" // TicketsEditTicketProcedure is the fully-qualified name of the Tickets's EditTicket RPC. TicketsEditTicketProcedure = "/api.v1alpha1.tickets.Tickets/EditTicket" // TicketsListTicketsProcedure is the fully-qualified name of the Tickets's ListTickets RPC. TicketsListTicketsProcedure = "/api.v1alpha1.tickets.Tickets/ListTickets" // TicketsAssignTicketProcedure is the fully-qualified name of the Tickets's AssignTicket RPC. TicketsAssignTicketProcedure = "/api.v1alpha1.tickets.Tickets/AssignTicket" // TicketsCloseTicketProcedure is the fully-qualified name of the Tickets's CloseTicket RPC. TicketsCloseTicketProcedure = "/api.v1alpha1.tickets.Tickets/CloseTicket" // TicketsViewTicketProcedure is the fully-qualified name of the Tickets's ViewTicket RPC. TicketsViewTicketProcedure = "/api.v1alpha1.tickets.Tickets/ViewTicket" // TicketsCreateCommentProcedure is the fully-qualified name of the Tickets's CreateComment RPC. TicketsCreateCommentProcedure = "/api.v1alpha1.tickets.Tickets/CreateComment" // TicketsEnableProjectProcedure is the fully-qualified name of the Tickets's EnableProject RPC. TicketsEnableProjectProcedure = "/api.v1alpha1.tickets.Tickets/EnableProject" // TicketsListEnabledProjectsProcedure is the fully-qualified name of the Tickets's // ListEnabledProjects RPC. TicketsListEnabledProjectsProcedure = "/api.v1alpha1.tickets.Tickets/ListEnabledProjects" // TicketsCreateSLAProcedure is the fully-qualified name of the Tickets's CreateSLA RPC. TicketsCreateSLAProcedure = "/api.v1alpha1.tickets.Tickets/CreateSLA" // TicketsListSLAProcedure is the fully-qualified name of the Tickets's ListSLA RPC. TicketsListSLAProcedure = "/api.v1alpha1.tickets.Tickets/ListSLA" // TicketsUpdateSLAProcedure is the fully-qualified name of the Tickets's UpdateSLA RPC. TicketsUpdateSLAProcedure = "/api.v1alpha1.tickets.Tickets/UpdateSLA" // TicketsListSLAConditionProcedure is the fully-qualified name of the Tickets's ListSLACondition // RPC. TicketsListSLAConditionProcedure = "/api.v1alpha1.tickets.Tickets/ListSLACondition" // TicketsReplyCommentProcedure is the fully-qualified name of the Tickets's ReplyComment RPC. TicketsReplyCommentProcedure = "/api.v1alpha1.tickets.Tickets/ReplyComment" // TicketsListTicketAuditLogProcedure is the fully-qualified name of the Tickets's // ListTicketAuditLog RPC. TicketsListTicketAuditLogProcedure = "/api.v1alpha1.tickets.Tickets/ListTicketAuditLog" // TicketsAssignSelfProcedure is the fully-qualified name of the Tickets's AssignSelf RPC. TicketsAssignSelfProcedure = "/api.v1alpha1.tickets.Tickets/AssignSelf" // TicketsEditMaskTicketProcedure is the fully-qualified name of the Tickets's EditMaskTicket RPC. TicketsEditMaskTicketProcedure = "/api.v1alpha1.tickets.Tickets/EditMaskTicket" // TicketsListAllocatedTicketsProcedure is the fully-qualified name of the Tickets's // ListAllocatedTickets RPC. TicketsListAllocatedTicketsProcedure = "/api.v1alpha1.tickets.Tickets/ListAllocatedTickets" // TicketsListAvailableAgentTicketsProcedure is the fully-qualified name of the Tickets's // ListAvailableAgentTickets RPC. TicketsListAvailableAgentTicketsProcedure = "/api.v1alpha1.tickets.Tickets/ListAvailableAgentTickets" // TicketsListAgentTicketsProcedure is the fully-qualified name of the Tickets's ListAgentTickets // RPC. TicketsListAgentTicketsProcedure = "/api.v1alpha1.tickets.Tickets/ListAgentTickets" // TicketsListSkillsProcedure is the fully-qualified name of the Tickets's ListSkills RPC. TicketsListSkillsProcedure = "/api.v1alpha1.tickets.Tickets/ListSkills" // TicketsListUsersProcedure is the fully-qualified name of the Tickets's ListUsers RPC. TicketsListUsersProcedure = "/api.v1alpha1.tickets.Tickets/ListUsers" // TicketsCloseTicketActionProcedure is the fully-qualified name of the Tickets's CloseTicketAction // RPC. TicketsCloseTicketActionProcedure = "/api.v1alpha1.tickets.Tickets/CloseTicketAction" // TicketsAssignTicketActionProcedure is the fully-qualified name of the Tickets's // AssignTicketAction RPC. TicketsAssignTicketActionProcedure = "/api.v1alpha1.tickets.Tickets/AssignTicketAction" // TicketsCreateTicketActionProcedure is the fully-qualified name of the Tickets's // CreateTicketAction RPC. TicketsCreateTicketActionProcedure = "/api.v1alpha1.tickets.Tickets/CreateTicketAction" // TicketsChangeTicketStatusProcedure is the fully-qualified name of the Tickets's // ChangeTicketStatus RPC. TicketsChangeTicketStatusProcedure = "/api.v1alpha1.tickets.Tickets/ChangeTicketStatus" // TicketsCreateTicketTemplateProcedure is the fully-qualified name of the Tickets's // CreateTicketTemplate RPC. TicketsCreateTicketTemplateProcedure = "/api.v1alpha1.tickets.Tickets/CreateTicketTemplate" // TicketsEditTicketTemplateProcedure is the fully-qualified name of the Tickets's // EditTicketTemplate RPC. TicketsEditTicketTemplateProcedure = "/api.v1alpha1.tickets.Tickets/EditTicketTemplate" // TicketsListTicketTemplateProcedure is the fully-qualified name of the Tickets's // ListTicketTemplate RPC. TicketsListTicketTemplateProcedure = "/api.v1alpha1.tickets.Tickets/ListTicketTemplate" // TicketsAssignTicketTemplateProcedure is the fully-qualified name of the Tickets's // AssignTicketTemplate RPC. TicketsAssignTicketTemplateProcedure = "/api.v1alpha1.tickets.Tickets/AssignTicketTemplate" // TicketsGetAllActionTypeProcedure is the fully-qualified name of the Tickets's GetAllActionType // RPC. TicketsGetAllActionTypeProcedure = "/api.v1alpha1.tickets.Tickets/GetAllActionType" // TicketsGetPhoneNumberTypeProcedure is the fully-qualified name of the Tickets's // GetPhoneNumberType RPC. TicketsGetPhoneNumberTypeProcedure = "/api.v1alpha1.tickets.Tickets/GetPhoneNumberType" // TicketsAddEntityRefProcedure is the fully-qualified name of the Tickets's AddEntityRef RPC. TicketsAddEntityRefProcedure = "/api.v1alpha1.tickets.Tickets/AddEntityRef" // TicketsListTicketsByEntityRefProcedure is the fully-qualified name of the Tickets's // ListTicketsByEntityRef RPC. TicketsListTicketsByEntityRefProcedure = "/api.v1alpha1.tickets.Tickets/ListTicketsByEntityRef" // TicketsListEntityRefsByTicketProcedure is the fully-qualified name of the Tickets's // ListEntityRefsByTicket RPC. TicketsListEntityRefsByTicketProcedure = "/api.v1alpha1.tickets.Tickets/ListEntityRefsByTicket" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const (
// TicketsName is the fully-qualified name of the Tickets service.
TicketsName = "api.v1alpha1.tickets.Tickets"
)
Variables ¶
This section is empty.
Functions ¶
func NewTicketsHandler ¶
func NewTicketsHandler(svc TicketsHandler, opts ...connect_go.HandlerOption) (string, http.Handler)
NewTicketsHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
Types ¶
type TicketsClient ¶
type TicketsClient interface { // Public Method to create a ticket. CreateTicket(context.Context, *connect_go.Request[tickets.CreateTicketReq]) (*connect_go.Response[tickets.CreateTicketRes], error) // Public Method to edit a ticket. // // Deprecated: do not use. EditTicket(context.Context, *connect_go.Request[tickets.EditTicketReq]) (*connect_go.Response[tickets.EditTicketRes], error) // Public method to list tickets ListTickets(context.Context, *connect_go.Request[tickets.ListTicketsReq]) (*connect_go.Response[tickets.ListTicketsRes], error) // Public method to assign ticket // Would be deprecated // // Deprecated: do not use. AssignTicket(context.Context, *connect_go.Request[tickets.AssignTicketReq]) (*connect_go.Response[tickets.AssignTicketRes], error) // Public Method to Close a ticket // Any agent can close the ticket. No BE validation required CloseTicket(context.Context, *connect_go.Request[tickets.CloseTicketReq]) (*connect_go.Response[tickets.CloseTicketRes], error) // Public method to view ticket ViewTicket(context.Context, *connect_go.Request[tickets.ViewTicketReq]) (*connect_go.Response[tickets.ViewTicketRes], error) // Public Method to create a Comment. CreateComment(context.Context, *connect_go.Request[tickets.CreateCommentReq]) (*connect_go.Response[tickets.CreateCommentRes], error) // Public method to Enable Project for Ticketing system EnableProject(context.Context, *connect_go.Request[tickets.EnableProjectReq]) (*connect_go.Response[tickets.EnableProjectRes], error) // Public method to List projects enabled for Ticketing system ListEnabledProjects(context.Context, *connect_go.Request[tickets.ListEnabledProjectsReq]) (*connect_go.Response[tickets.ListEnabledProjectsRes], error) // Public Method to create a sla. CreateSLA(context.Context, *connect_go.Request[tickets.CreateSlaReq]) (*connect_go.Response[tickets.CreateSlaRes], error) // Public method to list sla ListSLA(context.Context, *connect_go.Request[tickets.ListSlaReq]) (*connect_go.Response[tickets.ListSlaRes], error) // Public method to update sla UpdateSLA(context.Context, *connect_go.Request[tickets.UpdateSlaReq]) (*connect_go.Response[tickets.UpdateSlaRes], error) // Public method to list sla_condition ListSLACondition(context.Context, *connect_go.Request[tickets.ListSlaConditionReq]) (*connect_go.Response[tickets.ListSlaConditionRes], error) // Public method to list sla_condition ReplyComment(context.Context, *connect_go.Request[tickets.ReplyCommentReq]) (*connect_go.Response[tickets.ReplyCommentRes], error) // Public method to List audit log for Ticketing system ListTicketAuditLog(context.Context, *connect_go.Request[tickets.ListTicketAuditLogReq]) (*connect_go.Response[tickets.ListTicketAuditLogRes], error) // Public method to assign a ticket // // Deprecated: do not use. AssignSelf(context.Context, *connect_go.Request[tickets.CreateSelfAssignReq]) (*connect_go.Response[tickets.CreateSelfAssignRes], error) // Public Method to edit a ticket. // EditTicket would be deprecated EditMaskTicket(context.Context, *connect_go.Request[tickets.EditMaskTicketReq]) (*connect_go.Response[tickets.EditMaskTicketRes], error) // Deprecated: do not use. ListAllocatedTickets(context.Context, *connect_go.Request[tickets.ListAllocatedTicketReq]) (*connect_go.Response[tickets.ListAllocatedTicketRes], error) // public method - to return list of available tickets to pick for an Agent ListAvailableAgentTickets(context.Context, *connect_go.Request[tickets.ListAvailableAgentTicketsRequest]) (*connect_go.Response[tickets.ListAvailableAgentTicketsResponse], error) // public method - to return list of available tickets to pick for an Agent ListAgentTickets(context.Context, *connect_go.Request[tickets.ListAgentTicketsRequest]) (*connect_go.Response[tickets.ListAgentTicketsResponse], error) // public method to fetch list of skills for a tickets user ListSkills(context.Context, *connect_go.Request[tickets.ListSkillsRequest]) (*connect_go.Response[tickets.ListSkillsResponse], error) // public method to fetch list of users for a tickets user ListUsers(context.Context, *connect_go.Request[tickets.ListUsersRequest]) (*connect_go.Response[tickets.ListUsersResponse], error) // Any agent can close the ticket. No BE validation required CloseTicketAction(context.Context, *connect_go.Request[tickets.CloseTicketActionRequest]) (*connect_go.Response[tickets.CloseTicketActionResponse], error) // Public method to assign a ticket action // // Deprecated: do not use. AssignTicketAction(context.Context, *connect_go.Request[tickets.AssignTicketActionRequest]) (*connect_go.Response[tickets.AssignTicketActionResponse], error) // Public method to assign a ticket CreateTicketAction(context.Context, *connect_go.Request[tickets.CreateTicketActionRequest]) (*connect_go.Response[tickets.CreateTicketActionResponse], error) // Public method to change the Status of a ticket // // Deprecated: do not use. ChangeTicketStatus(context.Context, *connect_go.Request[tickets.ChangeTicketStatusRequest]) (*connect_go.Response[tickets.ChangeTicketStatusResponse], error) // Public method to create a Ticket Template CreateTicketTemplate(context.Context, *connect_go.Request[tickets.CreateTicketTemplateRequest]) (*connect_go.Response[tickets.CreateTicketTemplateResponse], error) // Public method to Edit a Ticket Template EditTicketTemplate(context.Context, *connect_go.Request[tickets.EditTicketTemplateRequest]) (*connect_go.Response[tickets.EditTicketTemplateResponse], error) // Public method to all Ticket Templates ListTicketTemplate(context.Context, *connect_go.Request[tickets.ListTicketTemplateRequest]) (*connect_go.Response[tickets.ListTicketTemplateResponse], error) // Public method to assign a Template To a Project AssignTicketTemplate(context.Context, *connect_go.Request[tickets.AssignProjectTemplateRequest]) (*connect_go.Response[tickets.AssignProjectTemplateResponse], error) // Public method to list all Action Types GetAllActionType(context.Context, *connect_go.Request[tickets.GetActionTypeRequest]) (*connect_go.Response[tickets.GetActionTypeResponse], error) // Public method to list all Action Types // // Deprecated: do not use. GetPhoneNumberType(context.Context, *connect_go.Request[tickets.GetPhoneNumberTypeRequest]) (*connect_go.Response[tickets.GetPhoneNumberTypeResponse], error) // Public method to addEntityRef AddEntityRef(context.Context, *connect_go.Request[tickets.AddEntityRefRequest]) (*connect_go.Response[tickets.AddEntityRefResponse], error) // Public method to listTicketsByEntityRef ListTicketsByEntityRef(context.Context, *connect_go.Request[tickets.ListTicketsByEntityRefRequest]) (*connect_go.Response[tickets.ListTicketsByEntityRefResponse], error) // Public method to listEntityRefsByTicket ListEntityRefsByTicket(context.Context, *connect_go.Request[tickets.ListEntityRefsByTicketRequest]) (*connect_go.Response[tickets.ListEntityRefsByTicketResponse], error) }
TicketsClient is a client for the api.v1alpha1.tickets.Tickets service.
func NewTicketsClient ¶
func NewTicketsClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) TicketsClient
NewTicketsClient constructs a client for the api.v1alpha1.tickets.Tickets service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type TicketsHandler ¶
type TicketsHandler interface { // Public Method to create a ticket. CreateTicket(context.Context, *connect_go.Request[tickets.CreateTicketReq]) (*connect_go.Response[tickets.CreateTicketRes], error) // Public Method to edit a ticket. // // Deprecated: do not use. EditTicket(context.Context, *connect_go.Request[tickets.EditTicketReq]) (*connect_go.Response[tickets.EditTicketRes], error) // Public method to list tickets ListTickets(context.Context, *connect_go.Request[tickets.ListTicketsReq]) (*connect_go.Response[tickets.ListTicketsRes], error) // Public method to assign ticket // Would be deprecated // // Deprecated: do not use. AssignTicket(context.Context, *connect_go.Request[tickets.AssignTicketReq]) (*connect_go.Response[tickets.AssignTicketRes], error) // Public Method to Close a ticket // Any agent can close the ticket. No BE validation required CloseTicket(context.Context, *connect_go.Request[tickets.CloseTicketReq]) (*connect_go.Response[tickets.CloseTicketRes], error) // Public method to view ticket ViewTicket(context.Context, *connect_go.Request[tickets.ViewTicketReq]) (*connect_go.Response[tickets.ViewTicketRes], error) // Public Method to create a Comment. CreateComment(context.Context, *connect_go.Request[tickets.CreateCommentReq]) (*connect_go.Response[tickets.CreateCommentRes], error) // Public method to Enable Project for Ticketing system EnableProject(context.Context, *connect_go.Request[tickets.EnableProjectReq]) (*connect_go.Response[tickets.EnableProjectRes], error) // Public method to List projects enabled for Ticketing system ListEnabledProjects(context.Context, *connect_go.Request[tickets.ListEnabledProjectsReq]) (*connect_go.Response[tickets.ListEnabledProjectsRes], error) // Public Method to create a sla. CreateSLA(context.Context, *connect_go.Request[tickets.CreateSlaReq]) (*connect_go.Response[tickets.CreateSlaRes], error) // Public method to list sla ListSLA(context.Context, *connect_go.Request[tickets.ListSlaReq]) (*connect_go.Response[tickets.ListSlaRes], error) // Public method to update sla UpdateSLA(context.Context, *connect_go.Request[tickets.UpdateSlaReq]) (*connect_go.Response[tickets.UpdateSlaRes], error) // Public method to list sla_condition ListSLACondition(context.Context, *connect_go.Request[tickets.ListSlaConditionReq]) (*connect_go.Response[tickets.ListSlaConditionRes], error) // Public method to list sla_condition ReplyComment(context.Context, *connect_go.Request[tickets.ReplyCommentReq]) (*connect_go.Response[tickets.ReplyCommentRes], error) // Public method to List audit log for Ticketing system ListTicketAuditLog(context.Context, *connect_go.Request[tickets.ListTicketAuditLogReq]) (*connect_go.Response[tickets.ListTicketAuditLogRes], error) // Public method to assign a ticket // // Deprecated: do not use. AssignSelf(context.Context, *connect_go.Request[tickets.CreateSelfAssignReq]) (*connect_go.Response[tickets.CreateSelfAssignRes], error) // Public Method to edit a ticket. // EditTicket would be deprecated EditMaskTicket(context.Context, *connect_go.Request[tickets.EditMaskTicketReq]) (*connect_go.Response[tickets.EditMaskTicketRes], error) // Deprecated: do not use. ListAllocatedTickets(context.Context, *connect_go.Request[tickets.ListAllocatedTicketReq]) (*connect_go.Response[tickets.ListAllocatedTicketRes], error) // public method - to return list of available tickets to pick for an Agent ListAvailableAgentTickets(context.Context, *connect_go.Request[tickets.ListAvailableAgentTicketsRequest]) (*connect_go.Response[tickets.ListAvailableAgentTicketsResponse], error) // public method - to return list of available tickets to pick for an Agent ListAgentTickets(context.Context, *connect_go.Request[tickets.ListAgentTicketsRequest]) (*connect_go.Response[tickets.ListAgentTicketsResponse], error) // public method to fetch list of skills for a tickets user ListSkills(context.Context, *connect_go.Request[tickets.ListSkillsRequest]) (*connect_go.Response[tickets.ListSkillsResponse], error) // public method to fetch list of users for a tickets user ListUsers(context.Context, *connect_go.Request[tickets.ListUsersRequest]) (*connect_go.Response[tickets.ListUsersResponse], error) // Any agent can close the ticket. No BE validation required CloseTicketAction(context.Context, *connect_go.Request[tickets.CloseTicketActionRequest]) (*connect_go.Response[tickets.CloseTicketActionResponse], error) // Public method to assign a ticket action // // Deprecated: do not use. AssignTicketAction(context.Context, *connect_go.Request[tickets.AssignTicketActionRequest]) (*connect_go.Response[tickets.AssignTicketActionResponse], error) // Public method to assign a ticket CreateTicketAction(context.Context, *connect_go.Request[tickets.CreateTicketActionRequest]) (*connect_go.Response[tickets.CreateTicketActionResponse], error) // Public method to change the Status of a ticket // // Deprecated: do not use. ChangeTicketStatus(context.Context, *connect_go.Request[tickets.ChangeTicketStatusRequest]) (*connect_go.Response[tickets.ChangeTicketStatusResponse], error) // Public method to create a Ticket Template CreateTicketTemplate(context.Context, *connect_go.Request[tickets.CreateTicketTemplateRequest]) (*connect_go.Response[tickets.CreateTicketTemplateResponse], error) // Public method to Edit a Ticket Template EditTicketTemplate(context.Context, *connect_go.Request[tickets.EditTicketTemplateRequest]) (*connect_go.Response[tickets.EditTicketTemplateResponse], error) // Public method to all Ticket Templates ListTicketTemplate(context.Context, *connect_go.Request[tickets.ListTicketTemplateRequest]) (*connect_go.Response[tickets.ListTicketTemplateResponse], error) // Public method to assign a Template To a Project AssignTicketTemplate(context.Context, *connect_go.Request[tickets.AssignProjectTemplateRequest]) (*connect_go.Response[tickets.AssignProjectTemplateResponse], error) // Public method to list all Action Types GetAllActionType(context.Context, *connect_go.Request[tickets.GetActionTypeRequest]) (*connect_go.Response[tickets.GetActionTypeResponse], error) // Public method to list all Action Types // // Deprecated: do not use. GetPhoneNumberType(context.Context, *connect_go.Request[tickets.GetPhoneNumberTypeRequest]) (*connect_go.Response[tickets.GetPhoneNumberTypeResponse], error) // Public method to addEntityRef AddEntityRef(context.Context, *connect_go.Request[tickets.AddEntityRefRequest]) (*connect_go.Response[tickets.AddEntityRefResponse], error) // Public method to listTicketsByEntityRef ListTicketsByEntityRef(context.Context, *connect_go.Request[tickets.ListTicketsByEntityRefRequest]) (*connect_go.Response[tickets.ListTicketsByEntityRefResponse], error) // Public method to listEntityRefsByTicket ListEntityRefsByTicket(context.Context, *connect_go.Request[tickets.ListEntityRefsByTicketRequest]) (*connect_go.Response[tickets.ListEntityRefsByTicketResponse], error) }
TicketsHandler is an implementation of the api.v1alpha1.tickets.Tickets service.
type UnimplementedTicketsHandler ¶
type UnimplementedTicketsHandler struct{}
UnimplementedTicketsHandler returns CodeUnimplemented from all methods.
func (UnimplementedTicketsHandler) AddEntityRef ¶ added in v1.7.72
func (UnimplementedTicketsHandler) AddEntityRef(context.Context, *connect_go.Request[tickets.AddEntityRefRequest]) (*connect_go.Response[tickets.AddEntityRefResponse], error)
func (UnimplementedTicketsHandler) AssignSelf ¶ added in v1.7.11
func (UnimplementedTicketsHandler) AssignSelf(context.Context, *connect_go.Request[tickets.CreateSelfAssignReq]) (*connect_go.Response[tickets.CreateSelfAssignRes], error)
func (UnimplementedTicketsHandler) AssignTicket ¶
func (UnimplementedTicketsHandler) AssignTicket(context.Context, *connect_go.Request[tickets.AssignTicketReq]) (*connect_go.Response[tickets.AssignTicketRes], error)
func (UnimplementedTicketsHandler) AssignTicketAction ¶ added in v1.7.33
func (UnimplementedTicketsHandler) AssignTicketAction(context.Context, *connect_go.Request[tickets.AssignTicketActionRequest]) (*connect_go.Response[tickets.AssignTicketActionResponse], error)
func (UnimplementedTicketsHandler) AssignTicketTemplate ¶ added in v1.7.45
func (UnimplementedTicketsHandler) AssignTicketTemplate(context.Context, *connect_go.Request[tickets.AssignProjectTemplateRequest]) (*connect_go.Response[tickets.AssignProjectTemplateResponse], error)
func (UnimplementedTicketsHandler) ChangeTicketStatus ¶ added in v1.7.33
func (UnimplementedTicketsHandler) ChangeTicketStatus(context.Context, *connect_go.Request[tickets.ChangeTicketStatusRequest]) (*connect_go.Response[tickets.ChangeTicketStatusResponse], error)
func (UnimplementedTicketsHandler) CloseTicket ¶
func (UnimplementedTicketsHandler) CloseTicket(context.Context, *connect_go.Request[tickets.CloseTicketReq]) (*connect_go.Response[tickets.CloseTicketRes], error)
func (UnimplementedTicketsHandler) CloseTicketAction ¶ added in v1.7.33
func (UnimplementedTicketsHandler) CloseTicketAction(context.Context, *connect_go.Request[tickets.CloseTicketActionRequest]) (*connect_go.Response[tickets.CloseTicketActionResponse], error)
func (UnimplementedTicketsHandler) CreateComment ¶
func (UnimplementedTicketsHandler) CreateComment(context.Context, *connect_go.Request[tickets.CreateCommentReq]) (*connect_go.Response[tickets.CreateCommentRes], error)
func (UnimplementedTicketsHandler) CreateSLA ¶
func (UnimplementedTicketsHandler) CreateSLA(context.Context, *connect_go.Request[tickets.CreateSlaReq]) (*connect_go.Response[tickets.CreateSlaRes], error)
func (UnimplementedTicketsHandler) CreateTicket ¶
func (UnimplementedTicketsHandler) CreateTicket(context.Context, *connect_go.Request[tickets.CreateTicketReq]) (*connect_go.Response[tickets.CreateTicketRes], error)
func (UnimplementedTicketsHandler) CreateTicketAction ¶ added in v1.7.33
func (UnimplementedTicketsHandler) CreateTicketAction(context.Context, *connect_go.Request[tickets.CreateTicketActionRequest]) (*connect_go.Response[tickets.CreateTicketActionResponse], error)
func (UnimplementedTicketsHandler) CreateTicketTemplate ¶ added in v1.7.45
func (UnimplementedTicketsHandler) CreateTicketTemplate(context.Context, *connect_go.Request[tickets.CreateTicketTemplateRequest]) (*connect_go.Response[tickets.CreateTicketTemplateResponse], error)
func (UnimplementedTicketsHandler) EditMaskTicket ¶ added in v1.7.21
func (UnimplementedTicketsHandler) EditMaskTicket(context.Context, *connect_go.Request[tickets.EditMaskTicketReq]) (*connect_go.Response[tickets.EditMaskTicketRes], error)
func (UnimplementedTicketsHandler) EditTicket ¶
func (UnimplementedTicketsHandler) EditTicket(context.Context, *connect_go.Request[tickets.EditTicketReq]) (*connect_go.Response[tickets.EditTicketRes], error)
func (UnimplementedTicketsHandler) EditTicketTemplate ¶ added in v1.7.45
func (UnimplementedTicketsHandler) EditTicketTemplate(context.Context, *connect_go.Request[tickets.EditTicketTemplateRequest]) (*connect_go.Response[tickets.EditTicketTemplateResponse], error)
func (UnimplementedTicketsHandler) EnableProject ¶
func (UnimplementedTicketsHandler) EnableProject(context.Context, *connect_go.Request[tickets.EnableProjectReq]) (*connect_go.Response[tickets.EnableProjectRes], error)
func (UnimplementedTicketsHandler) GetAllActionType ¶ added in v1.7.53
func (UnimplementedTicketsHandler) GetAllActionType(context.Context, *connect_go.Request[tickets.GetActionTypeRequest]) (*connect_go.Response[tickets.GetActionTypeResponse], error)
func (UnimplementedTicketsHandler) GetPhoneNumberType ¶ added in v1.7.55
func (UnimplementedTicketsHandler) GetPhoneNumberType(context.Context, *connect_go.Request[tickets.GetPhoneNumberTypeRequest]) (*connect_go.Response[tickets.GetPhoneNumberTypeResponse], error)
func (UnimplementedTicketsHandler) ListAgentTickets ¶ added in v1.7.81
func (UnimplementedTicketsHandler) ListAgentTickets(context.Context, *connect_go.Request[tickets.ListAgentTicketsRequest]) (*connect_go.Response[tickets.ListAgentTicketsResponse], error)
func (UnimplementedTicketsHandler) ListAllocatedTickets ¶ added in v1.7.21
func (UnimplementedTicketsHandler) ListAllocatedTickets(context.Context, *connect_go.Request[tickets.ListAllocatedTicketReq]) (*connect_go.Response[tickets.ListAllocatedTicketRes], error)
func (UnimplementedTicketsHandler) ListAvailableAgentTickets ¶ added in v1.7.25
func (UnimplementedTicketsHandler) ListAvailableAgentTickets(context.Context, *connect_go.Request[tickets.ListAvailableAgentTicketsRequest]) (*connect_go.Response[tickets.ListAvailableAgentTicketsResponse], error)
func (UnimplementedTicketsHandler) ListEnabledProjects ¶
func (UnimplementedTicketsHandler) ListEnabledProjects(context.Context, *connect_go.Request[tickets.ListEnabledProjectsReq]) (*connect_go.Response[tickets.ListEnabledProjectsRes], error)
func (UnimplementedTicketsHandler) ListEntityRefsByTicket ¶ added in v1.7.72
func (UnimplementedTicketsHandler) ListEntityRefsByTicket(context.Context, *connect_go.Request[tickets.ListEntityRefsByTicketRequest]) (*connect_go.Response[tickets.ListEntityRefsByTicketResponse], error)
func (UnimplementedTicketsHandler) ListSLA ¶
func (UnimplementedTicketsHandler) ListSLA(context.Context, *connect_go.Request[tickets.ListSlaReq]) (*connect_go.Response[tickets.ListSlaRes], error)
func (UnimplementedTicketsHandler) ListSLACondition ¶
func (UnimplementedTicketsHandler) ListSLACondition(context.Context, *connect_go.Request[tickets.ListSlaConditionReq]) (*connect_go.Response[tickets.ListSlaConditionRes], error)
func (UnimplementedTicketsHandler) ListSkills ¶ added in v1.7.25
func (UnimplementedTicketsHandler) ListSkills(context.Context, *connect_go.Request[tickets.ListSkillsRequest]) (*connect_go.Response[tickets.ListSkillsResponse], error)
func (UnimplementedTicketsHandler) ListTicketAuditLog ¶
func (UnimplementedTicketsHandler) ListTicketAuditLog(context.Context, *connect_go.Request[tickets.ListTicketAuditLogReq]) (*connect_go.Response[tickets.ListTicketAuditLogRes], error)
func (UnimplementedTicketsHandler) ListTicketTemplate ¶ added in v1.7.45
func (UnimplementedTicketsHandler) ListTicketTemplate(context.Context, *connect_go.Request[tickets.ListTicketTemplateRequest]) (*connect_go.Response[tickets.ListTicketTemplateResponse], error)
func (UnimplementedTicketsHandler) ListTickets ¶
func (UnimplementedTicketsHandler) ListTickets(context.Context, *connect_go.Request[tickets.ListTicketsReq]) (*connect_go.Response[tickets.ListTicketsRes], error)
func (UnimplementedTicketsHandler) ListTicketsByEntityRef ¶ added in v1.7.72
func (UnimplementedTicketsHandler) ListTicketsByEntityRef(context.Context, *connect_go.Request[tickets.ListTicketsByEntityRefRequest]) (*connect_go.Response[tickets.ListTicketsByEntityRefResponse], error)
func (UnimplementedTicketsHandler) ListUsers ¶ added in v1.7.25
func (UnimplementedTicketsHandler) ListUsers(context.Context, *connect_go.Request[tickets.ListUsersRequest]) (*connect_go.Response[tickets.ListUsersResponse], error)
func (UnimplementedTicketsHandler) ReplyComment ¶
func (UnimplementedTicketsHandler) ReplyComment(context.Context, *connect_go.Request[tickets.ReplyCommentReq]) (*connect_go.Response[tickets.ReplyCommentRes], error)
func (UnimplementedTicketsHandler) UpdateSLA ¶
func (UnimplementedTicketsHandler) UpdateSLA(context.Context, *connect_go.Request[tickets.UpdateSlaReq]) (*connect_go.Response[tickets.UpdateSlaRes], error)
func (UnimplementedTicketsHandler) ViewTicket ¶
func (UnimplementedTicketsHandler) ViewTicket(context.Context, *connect_go.Request[tickets.ViewTicketReq]) (*connect_go.Response[tickets.ViewTicketRes], error)