Subversion Repositories SmartDukaan

Rev

Rev 3339 | Rev 3390 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3339 Rev 3374
Line 1... Line 1...
1
namespace java in.shop2020.crm
1
namespace java in.shop2020.crm
2
namespace py shop2020.thriftpy.crm
2
namespace py shop2020.thriftpy.crm
3
 
3
 
-
 
4
include "GenericService.thrift"
-
 
5
 
4
enum TicketPriority {
6
enum TicketPriority {
5
    LOW = 0,
7
    LOW = 0,
6
    HIGH = 1,
8
    HIGH = 1,
7
    MEDIUM = 2
9
    MEDIUM = 2
8
}
10
}
Line 77... Line 79...
77
    3:string emailId,
79
    3:string emailId,
78
    4:optional i64 managerId,
80
    4:optional i64 managerId,
79
    5:string password
81
    5:string password
80
}
82
}
81
 
83
 
82
service CRMService {
84
service CRMService extends GenericService.GenericService{
83
    // Methods to read/write tickets from/in database
85
    // Methods to read/write tickets from/in database
84
    list<Ticket> getTickets(1:i64 customerId);
86
    list<Ticket> getTickets(1:i64 customerId);
85
    list<Ticket> getAssignedTickets(1:i64 agentId);
87
    list<Ticket> getAssignedTickets(1:i64 agentId);
86
    list<Ticket> getUnassignedTickets();
88
    list<Ticket> getUnassignedTickets();
87
    // Retrieves all tickets assigned to an agent or its reportee.
89
    // Retrieves all tickets assigned to an agent or its reportee.