support_group

package
v1.32.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ListSupportGroupsEventName             event.EventName = "ListSupportGroups"
	GetSupportGroupEventName               event.EventName = "GetSupportGroup"
	CreateSupportGroupEventName            event.EventName = "CreateSupportGroup"
	UpdateSupportGroupEventName            event.EventName = "UpdateSupportGroup"
	DeleteSupportGroupEventName            event.EventName = "DeleteSupportGroup"
	AddServiceToSupportGroupEventName      event.EventName = "AddServiceToSupportGroup"
	RemoveServiceFromSupportGroupEventName event.EventName = "RemoveServiceFromSupportGroup"
	AddUserToSupportGroupEventName         event.EventName = "AddUserToSupportGroup"
	RemoveUserFromSupportGroupEventName    event.EventName = "RemoveUserFromSupportGroup"
	ListSupportGroupCcrnsEventName         event.EventName = "ListSupportGroupCcrns"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AddServiceToSupportGroupEvent

type AddServiceToSupportGroupEvent struct {
	SupportGroupID int64
	ServiceID      int64
}

func (*AddServiceToSupportGroupEvent) Name

type AddUserToSupportGroupEvent

type AddUserToSupportGroupEvent struct {
	SupportGroupID int64
	UserID         int64
}

func (*AddUserToSupportGroupEvent) Name

type CreateSupportGroupEvent

type CreateSupportGroupEvent struct {
	SupportGroup *entity.SupportGroup
}

func (*CreateSupportGroupEvent) Name

type DeleteSupportGroupEvent

type DeleteSupportGroupEvent struct {
	SupportGroupID int64
}

func (*DeleteSupportGroupEvent) Name

type GetSupportGroupEvent

type GetSupportGroupEvent struct {
	SupportGroupID int64
	SupportGroup   *entity.SupportGroup
}

func (*GetSupportGroupEvent) Name

type ListSupportGroupCcrnsEvent

type ListSupportGroupCcrnsEvent struct {
	Filter  *entity.SupportGroupFilter
	Options *entity.ListOptions
	Ccrns   []string
}

func (*ListSupportGroupCcrnsEvent) Name

type ListSupportGroupsEvent

type ListSupportGroupsEvent struct {
	Filter        *entity.SupportGroupFilter
	Options       *entity.ListOptions
	SupportGroups *entity.List[entity.SupportGroupResult]
}

func (*ListSupportGroupsEvent) Name

type RemoveServiceFromSupportGroupEvent

type RemoveServiceFromSupportGroupEvent struct {
	SupportGroupID int64
	ServiceID      int64
}

func (*RemoveServiceFromSupportGroupEvent) Name

type RemoveUserFromSupportGroupEvent

type RemoveUserFromSupportGroupEvent struct {
	SupportGroupID int64
	UserID         int64
}

func (*RemoveUserFromSupportGroupEvent) Name

type SupportGroupHandler

type SupportGroupHandler interface {
	ListSupportGroups(*entity.SupportGroupFilter, *entity.ListOptions) (*entity.List[entity.SupportGroupResult], error)
	GetSupportGroup(int64) (*entity.SupportGroup, error)
	CreateSupportGroup(context.Context, *entity.SupportGroup) (*entity.SupportGroup, error)
	UpdateSupportGroup(context.Context, *entity.SupportGroup) (*entity.SupportGroup, error)
	DeleteSupportGroup(context.Context, int64) error
	AddServiceToSupportGroup(int64, int64) (*entity.SupportGroup, error)
	RemoveServiceFromSupportGroup(int64, int64) (*entity.SupportGroup, error)
	AddUserToSupportGroup(int64, int64) (*entity.SupportGroup, error)
	RemoveUserFromSupportGroup(int64, int64) (*entity.SupportGroup, error)
	ListSupportGroupCcrns(*entity.SupportGroupFilter, *entity.ListOptions) ([]string, error)
}

func NewSupportGroupHandler

func NewSupportGroupHandler(handlerContext common.HandlerContext) SupportGroupHandler

type SupportGroupHandlerError

type SupportGroupHandlerError struct {
	// contains filtered or unexported fields
}

func NewSupportGroupHandlerError

func NewSupportGroupHandlerError(message string) *SupportGroupHandlerError

func (*SupportGroupHandlerError) Error

func (e *SupportGroupHandlerError) Error() string

type UpdateSupportGroupEvent

type UpdateSupportGroupEvent struct {
	SupportGroup *entity.SupportGroup
}

func (*UpdateSupportGroupEvent) Name

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL