| Line 43... |
Line 43... |
| 43 |
print ' string getDefaultPincode(i64 userId)'
|
43 |
print ' string getDefaultPincode(i64 userId)'
|
| 44 |
print ' bool saveUserCommunication(i64 userId, string replyTo, i64 communicationType, i64 orderId, string airwaybillNo, string productName, string subject, string message)'
|
44 |
print ' bool saveUserCommunication(i64 userId, string replyTo, i64 communicationType, i64 orderId, string airwaybillNo, string productName, string subject, string message)'
|
| 45 |
print ' UserCommunication getUserCommunicationById(i64 id)'
|
45 |
print ' UserCommunication getUserCommunicationById(i64 id)'
|
| 46 |
print ' getUserCommunicationByUser(i64 userId)'
|
46 |
print ' getUserCommunicationByUser(i64 userId)'
|
| 47 |
print ' getAllUserCommunications()'
|
47 |
print ' getAllUserCommunications()'
|
| 48 |
print ' MasterAffiliate createMasterAffiliate(string name)'
|
48 |
print ' MasterAffiliate createMasterAffiliate(string name, i64 addedOn)'
|
| 49 |
print ' MasterAffiliate getMasterAffiliateById(i64 id)'
|
49 |
print ' MasterAffiliate getMasterAffiliateById(i64 id)'
|
| 50 |
print ' MasterAffiliate getMasterAffiliateByName(string name)'
|
50 |
print ' MasterAffiliate getMasterAffiliateByName(string name)'
|
| 51 |
print ' Affiliate createAffiliate(string name, string url, i64 masterAffiliateId)'
|
51 |
print ' Affiliate createAffiliate(string name, string url, i64 masterAffiliateId, i64 addedOn)'
|
| 52 |
print ' Affiliate getAffiliateById(i64 id)'
|
52 |
print ' Affiliate getAffiliateById(i64 id)'
|
| 53 |
print ' Affiliate getAffiliateByName(string name)'
|
53 |
print ' Affiliate getAffiliateByName(string name)'
|
| 54 |
print ' getAffiliatesByMasterAffiliate(i64 id)'
|
54 |
print ' getAffiliatesByMasterAffiliate(i64 id)'
|
| 55 |
print ' Tracker createTracker(i64 affiliateId)'
|
55 |
print ' Tracker createTracker(i64 affiliateId, i64 addedOn)'
|
| 56 |
print ' Tracker getTrackerById(i64 trackerId)'
|
56 |
print ' Tracker getTrackerById(i64 trackerId)'
|
| 57 |
print ' getTrackersByAffiliate(i64 affiliateId)'
|
57 |
print ' getTrackersByAffiliate(i64 affiliateId)'
|
| 58 |
print ' i64 addTrackLog(i64 trackerId, i64 userId, string event, string url, string data)'
|
58 |
print ' i64 addTrackLog(i64 trackerId, i64 userId, string event, string url, string data, i64 addedOn)'
|
| 59 |
print ' TrackLog getTrackLogById(i64 id)'
|
59 |
print ' TrackLog getTrackLogById(i64 id)'
|
| 60 |
print ' getTrackLogsByTracker(i64 trackerId)'
|
60 |
print ' getTrackLogsByTracker(i64 trackerId)'
|
| 61 |
print ' getTrackLogsByUser(i64 userId)'
|
61 |
print ' getTrackLogsByUser(i64 userId)'
|
| 62 |
print ' getTrackLogs(i64 trackerId, i64 userId, string event, string url)'
|
62 |
print ' getTrackLogs(i64 trackerId, i64 userId, string event, string url)'
|
| 63 |
print ' i64 createCart(i64 userId)'
|
63 |
print ' i64 createCart(i64 userId)'
|
| Line 276... |
Line 276... |
| 276 |
print 'getAllUserCommunications requires 0 args'
|
276 |
print 'getAllUserCommunications requires 0 args'
|
| 277 |
sys.exit(1)
|
277 |
sys.exit(1)
|
| 278 |
pp.pprint(client.getAllUserCommunications())
|
278 |
pp.pprint(client.getAllUserCommunications())
|
| 279 |
|
279 |
|
| 280 |
elif cmd == 'createMasterAffiliate':
|
280 |
elif cmd == 'createMasterAffiliate':
|
| 281 |
if len(args) != 1:
|
281 |
if len(args) != 2:
|
| 282 |
print 'createMasterAffiliate requires 1 args'
|
282 |
print 'createMasterAffiliate requires 2 args'
|
| 283 |
sys.exit(1)
|
283 |
sys.exit(1)
|
| 284 |
pp.pprint(client.createMasterAffiliate(args[0],))
|
284 |
pp.pprint(client.createMasterAffiliate(args[0],eval(args[1]),))
|
| 285 |
|
285 |
|
| 286 |
elif cmd == 'getMasterAffiliateById':
|
286 |
elif cmd == 'getMasterAffiliateById':
|
| 287 |
if len(args) != 1:
|
287 |
if len(args) != 1:
|
| 288 |
print 'getMasterAffiliateById requires 1 args'
|
288 |
print 'getMasterAffiliateById requires 1 args'
|
| 289 |
sys.exit(1)
|
289 |
sys.exit(1)
|
| Line 294... |
Line 294... |
| 294 |
print 'getMasterAffiliateByName requires 1 args'
|
294 |
print 'getMasterAffiliateByName requires 1 args'
|
| 295 |
sys.exit(1)
|
295 |
sys.exit(1)
|
| 296 |
pp.pprint(client.getMasterAffiliateByName(args[0],))
|
296 |
pp.pprint(client.getMasterAffiliateByName(args[0],))
|
| 297 |
|
297 |
|
| 298 |
elif cmd == 'createAffiliate':
|
298 |
elif cmd == 'createAffiliate':
|
| 299 |
if len(args) != 3:
|
299 |
if len(args) != 4:
|
| 300 |
print 'createAffiliate requires 3 args'
|
300 |
print 'createAffiliate requires 4 args'
|
| 301 |
sys.exit(1)
|
301 |
sys.exit(1)
|
| 302 |
pp.pprint(client.createAffiliate(args[0],args[1],eval(args[2]),))
|
302 |
pp.pprint(client.createAffiliate(args[0],args[1],eval(args[2]),eval(args[3]),))
|
| 303 |
|
303 |
|
| 304 |
elif cmd == 'getAffiliateById':
|
304 |
elif cmd == 'getAffiliateById':
|
| 305 |
if len(args) != 1:
|
305 |
if len(args) != 1:
|
| 306 |
print 'getAffiliateById requires 1 args'
|
306 |
print 'getAffiliateById requires 1 args'
|
| 307 |
sys.exit(1)
|
307 |
sys.exit(1)
|
| Line 318... |
Line 318... |
| 318 |
print 'getAffiliatesByMasterAffiliate requires 1 args'
|
318 |
print 'getAffiliatesByMasterAffiliate requires 1 args'
|
| 319 |
sys.exit(1)
|
319 |
sys.exit(1)
|
| 320 |
pp.pprint(client.getAffiliatesByMasterAffiliate(eval(args[0]),))
|
320 |
pp.pprint(client.getAffiliatesByMasterAffiliate(eval(args[0]),))
|
| 321 |
|
321 |
|
| 322 |
elif cmd == 'createTracker':
|
322 |
elif cmd == 'createTracker':
|
| 323 |
if len(args) != 1:
|
323 |
if len(args) != 2:
|
| 324 |
print 'createTracker requires 1 args'
|
324 |
print 'createTracker requires 2 args'
|
| 325 |
sys.exit(1)
|
325 |
sys.exit(1)
|
| 326 |
pp.pprint(client.createTracker(eval(args[0]),))
|
326 |
pp.pprint(client.createTracker(eval(args[0]),eval(args[1]),))
|
| 327 |
|
327 |
|
| 328 |
elif cmd == 'getTrackerById':
|
328 |
elif cmd == 'getTrackerById':
|
| 329 |
if len(args) != 1:
|
329 |
if len(args) != 1:
|
| 330 |
print 'getTrackerById requires 1 args'
|
330 |
print 'getTrackerById requires 1 args'
|
| 331 |
sys.exit(1)
|
331 |
sys.exit(1)
|
| Line 336... |
Line 336... |
| 336 |
print 'getTrackersByAffiliate requires 1 args'
|
336 |
print 'getTrackersByAffiliate requires 1 args'
|
| 337 |
sys.exit(1)
|
337 |
sys.exit(1)
|
| 338 |
pp.pprint(client.getTrackersByAffiliate(eval(args[0]),))
|
338 |
pp.pprint(client.getTrackersByAffiliate(eval(args[0]),))
|
| 339 |
|
339 |
|
| 340 |
elif cmd == 'addTrackLog':
|
340 |
elif cmd == 'addTrackLog':
|
| 341 |
if len(args) != 5:
|
341 |
if len(args) != 6:
|
| 342 |
print 'addTrackLog requires 5 args'
|
342 |
print 'addTrackLog requires 6 args'
|
| 343 |
sys.exit(1)
|
343 |
sys.exit(1)
|
| 344 |
pp.pprint(client.addTrackLog(eval(args[0]),eval(args[1]),args[2],args[3],args[4],))
|
344 |
pp.pprint(client.addTrackLog(eval(args[0]),eval(args[1]),args[2],args[3],args[4],eval(args[5]),))
|
| 345 |
|
345 |
|
| 346 |
elif cmd == 'getTrackLogById':
|
346 |
elif cmd == 'getTrackLogById':
|
| 347 |
if len(args) != 1:
|
347 |
if len(args) != 1:
|
| 348 |
print 'getTrackLogById requires 1 args'
|
348 |
print 'getTrackLogById requires 1 args'
|
| 349 |
sys.exit(1)
|
349 |
sys.exit(1)
|