def team_solved(): call = call_module.ZendeskCall() handle = handler_module.Handler() raw = call.team_solved (handle.tickets, handle.view_ticket_count) = (raw, raw) ludzie = handle.tickets_per_agent() return ludzie
def team_taken(): call = call_module.ZendeskCall() handle = handler_module.Handler() raw = call.team_taken (handle.tickets, handle.view_ticket_count) = (raw, raw) lista = handle.tickets_per_agent() return lista
def not_answered(): not_answered_call = call_module.ZendeskCall() not_answered_handle = handler_module.Handler() not_answered_raw = not_answered_call.not_answered (not_answered_handle.tickets, not_answered_handle.view_ticket_count) = (not_answered_raw, not_answered_raw) not_answered_view = not_answered_handle.get_view('NotAnswered') return not_answered_view
def unassigned(): unassigned_call = call_module.ZendeskCall() unassigned_handle = handler_module.Handler() unassigned_raw = unassigned_call.unassigned_queue (unassigned_handle.tickets, unassigned_handle.ticket_count, unassigned_handle.platinum_count, unassigned_handle.premium_count) = (unassigned_raw, unassigned_raw, unassigned_raw, unassigned_raw) unassigned_view = unassigned_handle.get_view('Unassigned') return unassigned_handle.ticket_count, unassigned_handle.platinum_count, unassigned_handle.premium_count, unassigned_view
def unassigned(): unassigned_call = call_module.ZendeskCall() unassigned_handle = handler_module.Handler() unassigned_raw = unassigned_call.unassigned_queue (unassigned_handle.tickets, unassigned_handle.view_ticket_count, \ unassigned_handle.platinum_ticket_count, unassigned_handle.premium_ticket_count, \ unassigned_handle.divide_ticket_count) = (unassigned_raw, unassigned_raw, \ unassigned_raw, unassigned_raw, unassigned_raw) transfer_tickets, unassigned_tickets = unassigned_handle.divide_ticket_count unassigned_view = unassigned_handle.get_view('Unassigned') return unassigned_handle.platinum_ticket_count, unassigned_handle.premium_ticket_count, unassigned_view, unassigned_tickets, transfer_tickets