Documentation ¶
Index ¶
- Constants
- func CreateMemberIdArray(params ClientListParams) []string
- type ApiClient
- func (c *ApiClient) GetClientList(ctx Context, params ClientListParams) (ClientList, error)
- func (c *ApiClient) GetClosedClientList(ctx Context, params ClientListParams) (ClientList, error)
- func (c *ApiClient) GetCurrentUserDetails(ctx Context) (model.Assignee, error)
- func (c *ApiClient) GetDeputyList(ctx Context, params DeputyListParams) (DeputyList, error)
- func (c *ApiClient) GetTaskList(ctx Context, params TaskListParams) (TaskList, error)
- func (c *ApiClient) GetTaskTypes(ctx Context, params TaskTypesParams) ([]model.TaskType, error)
- func (c *ApiClient) GetTeams(ctx Context) ([]model.Team, error)
- func (c *ApiClient) ReassignClients(ctx Context, params ReassignClientsParams) (string, error)
- func (c *ApiClient) ReassignDeputies(ctx Context, params ReassignDeputiesParams) (string, error)
- func (c *ApiClient) ReassignTasks(ctx Context, params ReassignTasksParams) (string, error)
- type ClientError
- type ClientList
- type ClientListParams
- type ClientMetaData
- type ClosedClientsParams
- type Context
- type DeputyList
- type DeputyListParams
- type DeputyMetaData
- type ExpandedError
- type HTTPClient
- type ReassignClientsParams
- type ReassignDeputiesParams
- type ReassignResponse
- type ReassignTasksParams
- type StatusError
- type TaskList
- type TaskListParams
- type TaskMetaData
- type TaskTypesList
- type TaskTypesParams
- type TeamCollection
- type TypeAndCount
- type ValidationError
- type ValidationErrors
Constants ¶
View Source
const TaskTypeCategoryDeputy = "deputy"
View Source
const TaskTypeCategorySupervision = "supervision"
View Source
const TaskTypeEcmHandle = "ECM_TASKS"
View Source
const TaskTypeEcmLabel = "ECM Tasks"
Variables ¶
This section is empty.
Functions ¶
func CreateMemberIdArray ¶ added in v1.162.0
func CreateMemberIdArray(params ClientListParams) []string
Types ¶
type ApiClient ¶
type ApiClient struct {
// contains filtered or unexported fields
}
func NewApiClient ¶
func (*ApiClient) GetClientList ¶
func (c *ApiClient) GetClientList(ctx Context, params ClientListParams) (ClientList, error)
func (*ApiClient) GetClosedClientList ¶ added in v1.162.0
func (c *ApiClient) GetClosedClientList(ctx Context, params ClientListParams) (ClientList, error)
func (*ApiClient) GetCurrentUserDetails ¶
func (*ApiClient) GetDeputyList ¶
func (c *ApiClient) GetDeputyList(ctx Context, params DeputyListParams) (DeputyList, error)
func (*ApiClient) GetTaskList ¶
func (c *ApiClient) GetTaskList(ctx Context, params TaskListParams) (TaskList, error)
func (*ApiClient) GetTaskTypes ¶
func (*ApiClient) ReassignClients ¶
func (c *ApiClient) ReassignClients(ctx Context, params ReassignClientsParams) (string, error)
func (*ApiClient) ReassignDeputies ¶
func (c *ApiClient) ReassignDeputies(ctx Context, params ReassignDeputiesParams) (string, error)
func (*ApiClient) ReassignTasks ¶
func (c *ApiClient) ReassignTasks(ctx Context, params ReassignTasksParams) (string, error)
type ClientError ¶
type ClientError string
func (ClientError) Error ¶
func (e ClientError) Error() string
type ClientList ¶
type ClientList struct { Clients []model.Client `json:"clients"` Pages model.PageInformation `json:"pages"` TotalClients int `json:"total"` MetaData ClientMetaData `json:"metadata"` }
type ClientListParams ¶
type ClientListParams struct { Team model.Team Page int PerPage int CaseOwners []string OrderStatuses []string SubType string DeputyTypes []string CaseTypes []string SupervisionLevels []string }
func (ClientListParams) CreateFilter ¶
func (p ClientListParams) CreateFilter() string
type ClientMetaData ¶ added in v1.198.0
type ClientMetaData struct {
AssigneeCount []model.AssigneeAndCount `json:"assigneeClientCount"`
}
type ClosedClientsParams ¶ added in v1.162.0
type ClosedClientsParams struct {
TeamIds []string `json:"teamIds"`
}
type DeputyList ¶
type DeputyList struct { Deputies []model.Deputy `json:"persons"` Pages model.PageInformation `json:"pages"` TotalDeputies int `json:"total"` PaProTeamSelection []model.Team MetaData DeputyMetaData `json:"metadata"` }
type DeputyListParams ¶
type DeputyListParams struct { Team model.Team Page int PerPage int Sort string SelectedECMs []string }
func (DeputyListParams) CreateFilter ¶
func (d DeputyListParams) CreateFilter() string
type DeputyMetaData ¶ added in v1.206.0
type DeputyMetaData struct {
DeputyMetaData []model.AssigneeAndCount `json:"ecmCount"`
}
type ExpandedError ¶ added in v1.194.2
type ExpandedError interface { Title() string Data() interface{} }
type ReassignClientsParams ¶
type ReassignDeputiesParams ¶
type ReassignResponse ¶
type ReassignResponse struct {
ReassignName string `json:"reassignName"`
}
type ReassignTasksParams ¶
type StatusError ¶
type StatusError struct { Code int `json:"code"` URL string `json:"url"` Method string `json:"method"` }
func (StatusError) Data ¶
func (e StatusError) Data() interface{}
func (StatusError) Error ¶
func (e StatusError) Error() string
func (StatusError) Title ¶
func (e StatusError) Title() string
type TaskList ¶
type TaskList struct { Tasks []model.Task `json:"tasks"` Pages model.PageInformation `json:"pages"` TotalTasks int `json:"total"` MetaData TaskMetaData `json:"metadata"` }
type TaskListParams ¶
type TaskListParams struct { Team model.Team Page int PerPage int TaskTypes []model.TaskType TaskTypeCategory string SelectedTaskTypes []string Assignees []string DueDateFrom *time.Time DueDateTo *time.Time }
func (TaskListParams) CreateFilter ¶
func (p TaskListParams) CreateFilter() string
type TaskMetaData ¶ added in v1.198.0
type TaskMetaData struct { TaskTypeCount []TypeAndCount `json:"taskTypeCount"` AssigneeCount []model.AssigneeAndCount `json:"assigneeTaskCount"` }
type TaskTypesList ¶
type TaskTypesParams ¶
type TeamCollection ¶
type TypeAndCount ¶
type ValidationError ¶
type ValidationError struct { Message string Errors ValidationErrors }
func (ValidationError) Error ¶
func (ve ValidationError) Error() string
type ValidationErrors ¶
Click to show internal directories.
Click to hide internal directories.