| Line 45... |
Line 45... |
| 45 |
print ' bool saveUserCommunication(i64 userId, string replyTo, i64 communicationType, i64 orderId, string airwaybillNo, string productName, string subject, string message)'
|
45 |
print ' bool saveUserCommunication(i64 userId, string replyTo, i64 communicationType, i64 orderId, string airwaybillNo, string productName, string subject, string message)'
|
| 46 |
print ' UserCommunication getUserCommunicationById(i64 id)'
|
46 |
print ' UserCommunication getUserCommunicationById(i64 id)'
|
| 47 |
print ' getUserCommunicationByUser(i64 userId)'
|
47 |
print ' getUserCommunicationByUser(i64 userId)'
|
| 48 |
print ' getAllUserCommunications()'
|
48 |
print ' getAllUserCommunications()'
|
| 49 |
print ' MasterAffiliate createMasterAffiliate(string name, i64 addedOn)'
|
49 |
print ' MasterAffiliate createMasterAffiliate(string name, i64 addedOn)'
|
| - |
|
50 |
print ' getAllMasterAffiliates()'
|
| 50 |
print ' MasterAffiliate getMasterAffiliateById(i64 id)'
|
51 |
print ' MasterAffiliate getMasterAffiliateById(i64 id)'
|
| 51 |
print ' MasterAffiliate getMasterAffiliateByName(string name)'
|
52 |
print ' MasterAffiliate getMasterAffiliateByName(string name)'
|
| 52 |
print ' Affiliate createAffiliate(string name, string url, i64 masterAffiliateId, i64 addedOn)'
|
53 |
print ' Affiliate createAffiliate(string name, string url, i64 masterAffiliateId, i64 addedOn)'
|
| 53 |
print ' Affiliate getAffiliateById(i64 id)'
|
54 |
print ' Affiliate getAffiliateById(i64 id)'
|
| 54 |
print ' Affiliate getAffiliateByName(string name)'
|
55 |
print ' Affiliate getAffiliateByName(string name)'
|
| Line 288... |
Line 289... |
| 288 |
if len(args) != 2:
|
289 |
if len(args) != 2:
|
| 289 |
print 'createMasterAffiliate requires 2 args'
|
290 |
print 'createMasterAffiliate requires 2 args'
|
| 290 |
sys.exit(1)
|
291 |
sys.exit(1)
|
| 291 |
pp.pprint(client.createMasterAffiliate(args[0],eval(args[1]),))
|
292 |
pp.pprint(client.createMasterAffiliate(args[0],eval(args[1]),))
|
| 292 |
|
293 |
|
| - |
|
294 |
elif cmd == 'getAllMasterAffiliates':
|
| - |
|
295 |
if len(args) != 0:
|
| - |
|
296 |
print 'getAllMasterAffiliates requires 0 args'
|
| - |
|
297 |
sys.exit(1)
|
| - |
|
298 |
pp.pprint(client.getAllMasterAffiliates())
|
| - |
|
299 |
|
| 293 |
elif cmd == 'getMasterAffiliateById':
|
300 |
elif cmd == 'getMasterAffiliateById':
|
| 294 |
if len(args) != 1:
|
301 |
if len(args) != 1:
|
| 295 |
print 'getMasterAffiliateById requires 1 args'
|
302 |
print 'getMasterAffiliateById requires 1 args'
|
| 296 |
sys.exit(1)
|
303 |
sys.exit(1)
|
| 297 |
pp.pprint(client.getMasterAffiliateById(eval(args[0]),))
|
304 |
pp.pprint(client.getMasterAffiliateById(eval(args[0]),))
|