Subversion Repositories SmartDukaan

Rev

Rev 6104 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6104 Rev 14882
Line 39... Line 39...
39
  print '  void changeAgentStatus(bool status, string emailId)'
39
  print '  void changeAgentStatus(bool status, string emailId)'
40
  print '  void insertAgent(Agent agent,  role)'
40
  print '  void insertAgent(Agent agent,  role)'
41
  print '  void changeAgentRole(i64 id,  role)'
41
  print '  void changeAgentRole(i64 id,  role)'
42
  print '  i32 getOpenTicketCountForAgent(i64 agentId)'
42
  print '  i32 getOpenTicketCountForAgent(i64 agentId)'
43
  print '   getOpenTicketsMap()'
43
  print '   getOpenTicketsMap()'
-
 
44
  print '   getFedexReconciliationDataMap( order_ids, string method_key)'
44
  print ''
45
  print ''
45
  sys.exit(0)
46
  sys.exit(0)
46
 
47
 
47
pp = pprint.PrettyPrinter(indent = 2)
48
pp = pprint.PrettyPrinter(indent = 2)
48
host = 'localhost'
49
host = 'localhost'
Line 209... Line 210...
209
  if len(args) != 0:
210
  if len(args) != 0:
210
    print 'getOpenTicketsMap requires 0 args'
211
    print 'getOpenTicketsMap requires 0 args'
211
    sys.exit(1)
212
    sys.exit(1)
212
  pp.pprint(client.getOpenTicketsMap())
213
  pp.pprint(client.getOpenTicketsMap())
213
 
214
 
-
 
215
elif cmd == 'getFedexReconciliationDataMap':
-
 
216
  if len(args) != 2:
-
 
217
    print 'getFedexReconciliationDataMap requires 2 args'
-
 
218
    sys.exit(1)
-
 
219
  pp.pprint(client.getFedexReconciliationDataMap(eval(args[0]),args[1],))
-
 
220
 
214
else:
221
else:
215
  print 'Unrecognized method %s' % cmd
222
  print 'Unrecognized method %s' % cmd
216
  sys.exit(1)
223
  sys.exit(1)
217
 
224
 
218
transport.close()
225
transport.close()